From troglobit at gmail.com Fri Apr 1 07:42:05 2022 From: troglobit at gmail.com (Joachim Wiberg) Date: Fri, 01 Apr 2022 09:42:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: option for building with LWS_WITH_ZIP_FOPS In-Reply-To: <20220211081357.40439-1-jorgen.sigvardsson@gmail.com> References: <20220211081357.40439-1-jorgen.sigvardsson@gmail.com> Message-ID: <87a6d5dzci.fsf@gmail.com> On Fri, Feb 11, 2022 at 09:13, J?rgen Sigvardsson wrote: > Signed-off-by: J?rgen Sigvardsson Reviewed-by: Joachim Wiberg From David.Laight at ACULAB.COM Fri Apr 1 08:12:28 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Fri, 1 Apr 2022 08:12:28 +0000 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <87bkxm2gix.fsf@dell.be.48ers.dk> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <87bkxm2gix.fsf@dell.be.48ers.dk> Message-ID: <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> I used the following small program instead of dd to credit the entropy. +#include +#include +#include +#include + +/* Just writing to /dev/urandom doesn't credit any entropy + * so the crng remains uninitialised. + * So use the relevant ioctl instead. */ + +int main(int argc, char **argv) +{ + int fd; + int len; + struct { + struct rand_pool_info info; + int buf[4096]; + } rnd_info; + + if (!argv[1]) + return 1; + + fd = open(argv[1], O_RDONLY); + if (fd < 0) + return 1; + len = read(fd, rnd_info.buf, sizeof rnd_info.buf); + close(fd); + if (len <= 0) + return 1; + + fd = open("/dev/urandom", O_RDWR); + if (fd < 0) + return 1; + rnd_info.info.entropy_count = len * 8; + rnd_info.info.buf_size = len; + + len = ioctl(fd, RNDADDENTROPY, &rnd_info); + + return len ? 1 : 0; +} Seems to do the trick. Something that size is probably a candidate for busybox. Although it does really need to run before udev is initialised. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From marcus.folkesson at gmail.com Fri Apr 1 08:31:00 2022 From: marcus.folkesson at gmail.com (Marcus Folkesson) Date: Fri, 1 Apr 2022 10:31:00 +0200 Subject: [Buildroot] [PATCH] package/libostree: bump to version 2022.2 Message-ID: <20220401083100.64722-1-marcus.folkesson@gmail.com> Signed-off-by: Marcus Folkesson --- package/libostree/libostree.hash | 2 +- package/libostree/libostree.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libostree/libostree.hash b/package/libostree/libostree.hash index 3a06340575..4c8c2c4f10 100644 --- a/package/libostree/libostree.hash +++ b/package/libostree/libostree.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 43a00e7856842b8a34f6616fc2ce1ce238ef43210cca41f70e6b4b0d2a9fcad5 libostree-2022.1.tar.xz +sha256 76e2f5b5784d8cb686e90be32fcecbb56c6c6a824e0374a1a6820b577103676b libostree-2022.2.tar.xz sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk index 9cbf2848c9..07e0a2aaa4 100644 --- a/package/libostree/libostree.mk +++ b/package/libostree/libostree.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOSTREE_VERSION = 2022.1 +LIBOSTREE_VERSION = 2022.2 LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION) -- 2.35.1 From hrsourabh011 at gmail.com Fri Apr 1 09:10:24 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Fri, 1 Apr 2022 11:10:24 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hello, Any update on below request would be appreciated. Thanks in advance, Sourabh On Thu, Mar 31, 2022, 19:55 Sourabh Hegde wrote: > Hello All, > > While building casync using ninja build I am facing below errors related > to /usr/bin/ld: . . .error adding symbols: file in wrong format > > I am following "casync" build guideline from > https://github.com/systemd/casync#building-casync > , it uses "meson " along > with ninja build. > > If build failures persist, run "meson setup --wipe" to rebuild from scratch > using the same options as passed when configuring the build. > To change option values, run "meson configure" instead. > ninja: Entering directory build' > [1/31] Linking target casync-http > FAILED: casync-http > cc -o casync-http casync-http.p/src_casync-http.c.o -Wl,--as-needed > -Wl,--no-undefined -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm -Wl,--end-group > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [2/31] Linking target test-cachunk > FAILED: test-cachunk > cc -o test-cachunk test-cachunk.p/test_test-cachunk.c.o -Wl,--as-needed > -Wl,--no-undefined -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [3/31] Linking target test-cachunker > FAILED: test-cachunker > cc -o test-cachunker test-cachunker.p/test_test-cachunker.c.o > -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [4/31] Linking target test-caencoder > FAILED: test-caencoder > cc -o test-caencoder test-caencoder.p/test_test-caencoder.c.o > -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > . > . > [10/31] Compiling C object test-camatch.p/test_test-camatch.c.o > ninja: build stopped: subcommand failed. > > I am using Buildroot as build system and after following similar post in > https://stackoverflow.com/questions/27967802/libstdc-so-error-adding-symbols-file-in-wrong-format > I changed the PATH environment > like: > > > /root/raspcm4/sources/output/host/bin/:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/raspcm4/sources/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/bin > > But still, I end up getting the same errors > > Can anyone please let me know how to resolve this issue? Is there any ninja > build option to be selected in Buildroot? > > Your help will be much appreciated. > > Thanks in advance > > P.S: Please let me know if any info is missing here > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin.schulz at theobroma-systems.com Fri Apr 1 09:11:01 2022 From: quentin.schulz at theobroma-systems.com (Quentin Schulz) Date: Fri, 1 Apr 2022 11:11:01 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hi Sourabh Hegde, On 3/31/22 19:55, Sourabh Hegde wrote: > Hello All, > > While building casync using ninja build I am facing below errors > related to /usr/bin/ld: > . . .error adding symbols: file in wrong format > > I am following "casync" build guideline from > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_systemd_casync-23building-2Dcasync&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=0oAe2qUNmvkBsGYIiapGRQ5OQYDghVxojZm5QaWUwiQ&e= > , it uses "meson " along > with ninja build. > > If build failures persist, run "meson setup --wipe" to rebuild from scratch > using the same options as passed when configuring the build. > To change option values, run "meson configure" instead. > ninja: Entering directory build' > [1/31] Linking target casync-http > FAILED: casync-http > cc -o casync-http casync-http.p/src_casync-http.c.o -Wl,--as-needed > -Wl,--no-undefined > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm -Wl,--end-group > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [2/31] Linking target test-cachunk > FAILED: test-cachunk > cc -o test-cachunk test-cachunk.p/test_test-cachunk.c.o -Wl,--as-needed > -Wl,--no-undefined > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [3/31] Linking target test-cachunker > FAILED: test-cachunker > cc -o test-cachunker test-cachunker.p/test_test-cachunker.c.o > -Wl,--as-needed -Wl,--no-undefined > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [4/31] Linking target test-caencoder > FAILED: test-caencoder > cc -o test-caencoder test-caencoder.p/test_test-caencoder.c.o > -Wl,--as-needed -Wl,--no-undefined > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > . > . > [10/31] Compiling C object test-camatch.p/test_test-camatch.c.o > ninja: build stopped: subcommand failed. > > I am using Buildroot as build system and after following similar post in > https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_27967802_libstdc-2Dso-2Derror-2Dadding-2Dsymbols-2Dfile-2Din-2Dwrong-2Dformat&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=xHy7bTlAyWOY4-lBdA9bwycscXiZBIO-Wkz7PZC9vbs&e= > I changed the PATH > environment > like: > > /root/raspcm4/sources/output/host/bin/:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/raspcm4/sources/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/bin > > But still, I end up getting the same errors > > Can anyone please let me know how to resolve this issue? Is there any ninja > build option to be selected in Buildroot? > Seems like cc is being used instead of the cross-compiler/linker. Did you use the meson-package mechanism in Buildroot? c.f. https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_meson_based_packages This should have everything required to compile meson packages. Define only the variables that are required and add one by one optional variables until you get it to build. Having the actual package makefile for your casync package would help a lot if it still does not work. Cheers, Quentin From Jason at zx2c4.com Fri Apr 1 09:22:52 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 1 Apr 2022 11:22:52 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <87bkxm2gix.fsf@dell.be.48ers.dk> <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> Message-ID: On 4/1/22, David Laight wrote: > I used the following small program instead of dd to credit the entropy. Not a safe idea; will lead to problems and footguns. Doesn't handle safe fsync'd deletion of used seeds and safe sequencing. Doesn't handle hashing old seed with new seed. Ignores much of the discussion that lead to seedrng's design. From hrsourabh011 at gmail.com Fri Apr 1 09:42:42 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Fri, 1 Apr 2022 11:42:42 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hello Quentin, Thanks for the update. I am following this guideline https://github.com/systemd/casync#building-casync . It says to build casync run: meson build && ninja -C build && sudo ninja -C build install Actually, meson-build is successful but while running "ninja -C build" I am getting above errors. Having the actual package makefile for your casync package would help a > lot if it still does not work. > I found this in https://github.com/buildroot/buildroot/blob/master/package/casync/casync.mk But how to use this to compile casync? Can you please let me know what needs to be done? Thanks in advance. Actually, meson-build is successful On Fri, 1 Apr 2022 at 11:11, Quentin Schulz < quentin.schulz at theobroma-systems.com> wrote: > Hi Sourabh Hegde, > > On 3/31/22 19:55, Sourabh Hegde wrote: > > Hello All, > > > > While building casync using ninja build I am facing below errors > > related to /usr/bin/ld: > > . . .error adding symbols: file in wrong format > > > > I am following "casync" build guideline from > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_systemd_casync-23building-2Dcasync&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=0oAe2qUNmvkBsGYIiapGRQ5OQYDghVxojZm5QaWUwiQ&e= > > < > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ninja-2Dbuild_ninja_issues_url&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=7qFZDk5q2JFekiEteeOVNjQj50e86tte0akp-uMLm7k&e= > > , it uses "meson " along > > with ninja build. > > > > If build failures persist, run "meson setup --wipe" to rebuild from > scratch > > using the same options as passed when configuring the build. > > To change option values, run "meson configure" instead. > > ninja: Entering directory build' > > [1/31] Linking target casync-http > > FAILED: casync-http > > cc -o casync-http casync-http.p/src_casync-http.c.o -Wl,--as-needed > > -Wl,--no-undefined > > > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > -Wl,--start-group src/libshared.a > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > > -lm -Wl,--end-group > > /usr/bin/ld: > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so: > > error adding symbols: file in wrong format > > collect2: error: ld returned 1 exit status > > [2/31] Linking target test-cachunk > > FAILED: test-cachunk > > cc -o test-cachunk test-cachunk.p/test_test-cachunk.c.o -Wl,--as-needed > > -Wl,--no-undefined > > > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > -Wl,--start-group src/libshared.a -lacl > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > > -lm > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > -Wl,--end-group -pthread > > /usr/bin/ld: > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > > error adding symbols: file in wrong format > > collect2: error: ld returned 1 exit status > > [3/31] Linking target test-cachunker > > FAILED: test-cachunker > > cc -o test-cachunker test-cachunker.p/test_test-cachunker.c.o > > -Wl,--as-needed -Wl,--no-undefined > > > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > -Wl,--start-group src/libshared.a -lacl > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > > -lm > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > -Wl,--end-group -pthread > > /usr/bin/ld: > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > > error adding symbols: file in wrong format > > collect2: error: ld returned 1 exit status > > [4/31] Linking target test-caencoder > > FAILED: test-caencoder > > cc -o test-caencoder test-caencoder.p/test_test-caencoder.c.o > > -Wl,--as-needed -Wl,--no-undefined > > > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > -Wl,--start-group src/libshared.a -lacl > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > > -lm > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > -Wl,--end-group -pthread > > /usr/bin/ld: > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > > error adding symbols: file in wrong format > > collect2: error: ld returned 1 exit status > > . > > . > > [10/31] Compiling C object test-camatch.p/test_test-camatch.c.o > > ninja: build stopped: subcommand failed. > > > > I am using Buildroot as build system and after following similar post in > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_27967802_libstdc-2Dso-2Derror-2Dadding-2Dsymbols-2Dfile-2Din-2Dwrong-2Dformat&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=xHy7bTlAyWOY4-lBdA9bwycscXiZBIO-Wkz7PZC9vbs&e= > > < > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ninja-2Dbuild_ninja_issues_url&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=7qFZDk5q2JFekiEteeOVNjQj50e86tte0akp-uMLm7k&e= > > I changed the PATH > > environment > > like: > > > > > /root/raspcm4/sources/output/host/bin/:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/raspcm4/sources/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/bin > > > > But still, I end up getting the same errors > > > > Can anyone please let me know how to resolve this issue? Is there any > ninja > > build option to be selected in Buildroot? > > > > Seems like cc is being used instead of the cross-compiler/linker. > > Did you use the meson-package mechanism in Buildroot? c.f. > > https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_meson_based_packages > > This should have everything required to compile meson packages. Define > only the variables that are required and add one by one optional > variables until you get it to build. > > Having the actual package makefile for your casync package would help a > lot if it still does not work. > > Cheers, > Quentin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin.schulz at theobroma-systems.com Fri Apr 1 09:49:55 2022 From: quentin.schulz at theobroma-systems.com (Quentin Schulz) Date: Fri, 1 Apr 2022 11:49:55 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hi, On 4/1/22 11:42, Sourabh Hegde wrote: > Hello Quentin, > > Thanks for the update. > > I am following this guideline > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_systemd_casync-23building-2Dcasync&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=E7Vx6coYDXRY655Egik49UZpZDdQ2JWKiYWJBrFF9kw3yPPVRGS-GvW7LrRZTcZV&s=Rs7PUiLj89kkH7rFu4ocmrVT20cGAtkh-dF1BLw4Dns&e= . It says to build casync > run: > > meson build && ninja -C build && sudo ninja -C build install > > Actually, meson-build is successful but while running "ninja -C build" I am > getting above errors. > Upstream projects usually don't account for cross-compilation and some tricks might be needed for build systems to correctly compile some pieces of software. So just reuse whatever the build system is giving you first before trying without. That means using package makefiles/recipes if they already exist. > Having the actual package makefile for your casync package would help a >> lot if it still does not work. >> > > I found this in > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_buildroot_buildroot_blob_master_package_casync_casync.mk&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=E7Vx6coYDXRY655Egik49UZpZDdQ2JWKiYWJBrFF9kw3yPPVRGS-GvW7LrRZTcZV&s=qykqjQKn5qe2ldZRFFEFO8SkK7wArzNb80WRnjwPc3s&e= > > But how to use this to compile casync? > make casync if you want it in an image created by Buildroot, modify your config with make menuconfig and save your changes, then run make. Cheers, Quentin From David.Laight at ACULAB.COM Fri Apr 1 10:11:54 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Fri, 1 Apr 2022 10:11:54 +0000 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <87bkxm2gix.fsf@dell.be.48ers.dk> <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> Message-ID: From: Jason A. Donenfeld > Sent: 01 April 2022 10:23 > > On 4/1/22, David Laight wrote: > > I used the following small program instead of dd to credit the entropy. > > Not a safe idea; will lead to problems and footguns. Doesn't handle > safe fsync'd deletion of used seeds and safe sequencing. Doesn't > handle hashing old seed with new seed. Ignores much of the discussion > that lead to seedrng's design. But it does exactly what the old scripts thought they were doing and is far better that just using dd. I'm not even sure that trying to save a 'new seed' in the startup script is a good idea at all. The new seed is very likely to just be a permutation of the old seed - since little extra 'entropy' can have been added. So while it may stop complete reproducibility I'm not at all sure it is cryptographically sound at all. If you can't rely on saving entropy at shutdown, then using (the equivalent of) a cron job to save every hour (or so) is probably useful. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From Jason at zx2c4.com Fri Apr 1 10:17:51 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 1 Apr 2022 12:17:51 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <87bkxm2gix.fsf@dell.be.48ers.dk> <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> Message-ID: On 4/1/22, David Laight wrote: > But it does exactly what the old scripts thought they were doing > and is far better that just using dd. On the contrary, it's strictly worse, since the crediting becomes dangerous here. > I'm not even sure that trying to save a 'new seed' in the > startup script is a good idea at all. > The new seed is very likely to just be a permutation of the > old seed - since little extra 'entropy' can have been added. > So while it may stop complete reproducibility I'm not at > all sure it is cryptographically sound at all. ?? You could get away with hashing the old seed together with some constant public value and it would be sufficient here. What are you talking about? > If you can't rely on saving entropy at shutdown, then using > (the equivalent of) a cron job to save every hour (or so) > is probably useful. Android does it every 3. And as of http://r.android.com/2050961 they now use the SeedRNG construction. From james.hilliard1 at gmail.com Fri Apr 1 10:57:26 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 04:57:26 -0600 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> Message-ID: On Wed, Mar 30, 2022 at 11:13 AM Jason A. Donenfeld wrote: > > Hi Peter, > > On 3/30/22, Peter Korsgaard wrote: > >>>>>> "Jason" == Jason A Donenfeld writes: > > > > Hi, > > > > > The RNG can't actually be seeded from a shell script, due to the > > > reliance on ioctls. For this reason, the seedrng project provides a > > > basic script meant to be copy and pasted into projects like buildroot > > > and tweaked as needed: . > > > > > This commit imports it into buildroot and wires up the init scripts to > > > call it. This also is a significant improvement over the current init > > > script, which doesn't credit entropy and whose hashing in shell scripts > > > is sort of fragile. > > > > > As seedrng.c is a short tiny C program, we include this here in the > > > package, like a few other packages do. Later we'll investigate adding > > > this to busybox, but for now, this is a good start and a positive step > > > in the right direction. > > > > As discussed on IRC, I think it would be nicer to just add a normal > > seedrng package and depend on that from urandom-scripts, so the standard > > version/license info/.. stuff works. I can do that change if needed. > > > > You mentioned something on IRC about this containing differences from > > what it is seedrng.git. Those changes/fixes are presumably not specific > > to Buildroot, will you add those changes to the git repo as well? > > Absolutely not. This 100% does not work for me. I have made it > abundantly clear to you that seedrng is code that's meant to be copied > into individual distros and tweaked as needed, which I've done for > Buildroot. Do not attempt to package it from any repos I may have. If > you try to do that, I will intentionally interfere with those > operations server side, and take whatever other adversarial steps to > ensure my server is not misused for that purpose. I also will not > incorporate buildroot-specific tweaks into the sample code repo. > > That repo supplies sample code. After Yann's absence, I took the > necessary steps that a maintainer like him would have done to > customize it to Buildroot's needs, incorporating it into the project, > and taking into account James' comments. You now have the result of > that work here, and I think it'd be silly not to take it. I should add that I do also think this should be upstreamed to busybox, which will also reduce the amount of duplicate work as busybox is commonly used across many distros. Buildroot isn't a normal distro, we don't normally maintain application code in-tree like this at all. > > I am offering to maintain this code inside of Buildroot for you. I'm > generally very much on top of things in that regard. I'm not offering > to start and maintain an external project at your request, no matter > how much pressure and conditionalization you apply on this mailing > list or IRC. That's not work I'll do for you. However, again, I am > offering to maintain this for you inside the buildroot repo as this > patch does. > > That's my offer; take it or leave it. > > > > > > > > > +# The following knobs can be adjusted by placing uncommented modified > > lines > > > +# into /etc/default/urandom: > > > +# > > > +# Set these to change where the seed and runtime lock file are stored: > > > +# > > > +# export SEEDRNG_SEED_DIR=/var/lib/seedrng > > > +# export SEEDRNG_LOCK_FILE=/var/run/seedrng.lock > > > +# > > > > Will you add the logic for these features to seedrng.git? If not, then I > > don't think we should have them here either. A bunch of other code already > > expects "normal" locations, so people generally have to handle such > > customizations by symlinks in their rootfs(-overlay). > > > > If this customization is left in, then it should ideally use the > > existing (directory part of) URANDOM_SEED, which used to be how the > > location could be customized for backwards compatibility. > > As mentioned, no tweaks go up to seedrng.git. That's sample code. > > I'm inclined to agree with James' assessment about this, that > Buildroot needs it to be customizable. Happy to send a v4 of this > patch adjusting the defaults to have paths similar to what was there > before. > > > > > > > > case "$1" in > > > start|restart|reload) > > > # Carry a random seed from start-up to start-up > > > # Load and then save the whole entropy pool > > > - init_rng && save_random_seed;; > > > + # Never fail, as this isn't worth making a fuss > > > + # over if it doesn't go as planned. > > > + seedrng || true;; > > > stop) > > > # Carry a random seed from shut-down to start-up > > > # Save the whole entropy pool > > > - save_random_seed;; > > > + seedrng;; > > > > Nice and short! The comments above are not really correct any more, as > > the stop logic also loads. > > Ack, will get rid of those comments for v4. > > > > > > > > +++ b/package/urandom-scripts/seedrng.c > > .. > > > > > +#define le32_to_cpup(a) le32toh(*(a)) > > > +#define cpu_to_le32(a) htole32(a) > > > > What is the purpose of the to/from le32 stuff in this use case? > > So that blake2s passes its test vectors. We're not about to go messing > around with the internal encoding of a hash function. B2s specifies > little endian, so that's what we use. > > > > > > + > > > + fprintf(stdout, "Saving %zu bits of %s seed for next boot\n", > > new_seed_len * 8, new_seed_creditable ? "creditable" : "non-creditable"); > > > + fd = open(NON_CREDITABLE_SEED, O_WRONLY | O_CREAT | O_TRUNC, 0400); > > > > The 0400 confused me a bit, as that would normally cause the open to > > fail when the file exists, but it happens to work as you unlink above / > > use the lock file. > > > > > >> + if (fd < 0) { > > > + fprintf(stderr, "ERROR: Unable to open seed file for writing: %s\n", > > strerror(errno)); > > > + program_ret |= 1 << 4; > > > + goto out; > > > + } > > > + if (write(fd, new_seed, new_seed_len) != (ssize_t)new_seed_len || > > fsync(fd) < 0) { > > > + fprintf(stderr, "ERROR: Unable to write seed file: %s\n", > > strerror(errno)); > > > + program_ret |= 1 << 5; > > > + goto out; > > > + } > > > + if (new_seed_creditable && rename(NON_CREDITABLE_SEED, CREDITABLE_SEED) > > < 0) { > > > + fprintf(stderr, "WARNING: Unable to make new seed creditable: %s\n", > > strerror(errno)); > > > + program_ret |= 1 << 6; > > > + } > > > +out: > > > + if (fd >= 0) > > > + close(fd); > > > + if (lock >= 0) > > > + close(lock); > > > > No fsync of the directory like you do in seed_from_file_if_exists()? > > No, it's not necessary here, because this is a transition from > no-credit to credit, so if the power clicks off at the bad moment, it > fails closed instead of open. From Jason at zx2c4.com Fri Apr 1 11:04:44 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 1 Apr 2022 13:04:44 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> Message-ID: Hi James, On 4/1/22, James Hilliard wrote: > I should add that I do also think this should be upstreamed to busybox, > which > will also reduce the amount of duplicate work as busybox is commonly used > across many distros. I'll work on that. And hopefully David won't sabotage it with his "it's only 10 lines!" stuff. Jason From David.Laight at ACULAB.COM Fri Apr 1 11:34:51 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Fri, 1 Apr 2022 11:34:51 +0000 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> Message-ID: From: Jason A. Donenfeld > Sent: 01 April 2022 12:05 > > On 4/1/22, James Hilliard wrote: > > I should add that I do also think this should be upstreamed to busybox, > > which > > will also reduce the amount of duplicate work as busybox is commonly used > > across many distros. > > I'll work on that. And hopefully David won't sabotage it with his > "it's only 10 lines!" stuff. :-) Busybox tends to care about code size. You really want to roll-up the unrolled loop in blakes2. Performance really doesn't matter here. In any case, don't new kernels just 'stir' the new entropy into input pool? So feeding in non-random data doesn't really make the output any worse? So you could add the saved entropy, force a reseed of the output generator, and then save data from /dev/urandom - which now contains any entropy collected since boot and the saved seed. No need for any cryprographic code in userspace?? The old kernel code is just too horrid to think about. IIRC the output generator is just and xor of several LFSR and so is completely and trivially reversable. (One of the random number generators did that.) And the input pool tries to count bits in and out instead of 'stirring' input data into some data structure. So feed it non-random data and it discards the old random data it had. How much state does the blakes2 input pool have? I'd have thought you'd want the input pool to have much more state than the output generator? David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From hrsourabh011 at gmail.com Fri Apr 1 11:41:48 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Fri, 1 Apr 2022 13:41:48 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hello Quentin, make casync > > if you want it in an image created by Buildroot, modify your config with > make menuconfig and save your changes, then run make. > But will this create binary for host system also? Sorry, its bit confusing here. I need casync tool use with "rauc" as given in https://rauc.readthedocs.io/en/latest/advanced.html#creating-casync-bundles When I do "rauc convert --cert= --key= --keyring= conventional-bundle.raucb casync-bundle.raucb" I get: "Failed to create bundle: Failed to start casync: Failed to execute child process ?casync? (No such file or directory)" So, casync doesn't exist. My understanding is that Buildroot should be able to properly set up meson for cross-compilation. I ran make casync and now casync is part of rootfs image. But I need casync on host to use with rauc. Any advice on how to proceed will be helpful. Thanks in advance On Fri, 1 Apr 2022 at 11:50, Quentin Schulz < quentin.schulz at theobroma-systems.com> wrote: > Hi, > > On 4/1/22 11:42, Sourabh Hegde wrote: > > Hello Quentin, > > > > Thanks for the update. > > > > I am following this guideline > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_systemd_casync-23building-2Dcasync&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=E7Vx6coYDXRY655Egik49UZpZDdQ2JWKiYWJBrFF9kw3yPPVRGS-GvW7LrRZTcZV&s=Rs7PUiLj89kkH7rFu4ocmrVT20cGAtkh-dF1BLw4Dns&e= > . It says to build casync > > run: > > > > meson build && ninja -C build && sudo ninja -C build install > > > > Actually, meson-build is successful but while running "ninja -C build" I > am > > getting above errors. > > > > Upstream projects usually don't account for cross-compilation and some > tricks might be needed for build systems to correctly compile some > pieces of software. So just reuse whatever the build system is giving > you first before trying without. That means using package > makefiles/recipes if they already exist. > > > Having the actual package makefile for your casync package would help a > >> lot if it still does not work. > >> > > > > I found this in > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_buildroot_buildroot_blob_master_package_casync_casync.mk&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=E7Vx6coYDXRY655Egik49UZpZDdQ2JWKiYWJBrFF9kw3yPPVRGS-GvW7LrRZTcZV&s=qykqjQKn5qe2ldZRFFEFO8SkK7wArzNb80WRnjwPc3s&e= > > > > But how to use this to compile casync? > > > > make casync > > if you want it in an image created by Buildroot, modify your config with > make menuconfig and save your changes, then run make. > > Cheers, > Quentin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin.schulz at theobroma-systems.com Fri Apr 1 11:54:24 2022 From: quentin.schulz at theobroma-systems.com (Quentin Schulz) Date: Fri, 1 Apr 2022 13:54:24 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Hi Sourabh, On 4/1/22 13:41, Sourabh Hegde wrote: > Hello Quentin, > > make casync >> >> if you want it in an image created by Buildroot, modify your config with >> make menuconfig and save your changes, then run make. >> > > But will this create binary for host system also? Sorry, its bit confusing > here. > No, host packages and target packages are compiled with a different keyword. make casync is for target package make host-casync is for host package > I need casync tool use with "rauc" as given in > https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e= > > When I do "rauc convert --cert= --key= > --keyring= conventional-bundle.raucb casync-bundle.raucb" > I assume you need this at build time then since you are talking about binary for the host system. In that case, you need to add host-casync to your config. However, casync is currently a target-only package. To create a host package, you need at the very least to add: $(eval $(host-meson-package)) at the end of the package/casync/casync.mk file. This might not be enough and might require some additional tweaks to the package makefile. Cheers, Quentin From hrsourabh011 at gmail.com Fri Apr 1 12:29:28 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Fri, 1 Apr 2022 14:29:28 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> References: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Message-ID: Hello Quentin, I assume you need this at build time then since you are talking about > binary for the host system. In that case, you need to add host-casync to > your config. > > However, casync is currently a target-only package. > If I understand correctly, then as of now Buildroot can't be used to create casync host package. $(eval $(host-meson-package)) > > at the end of the package/casync/casync.mk file. > I will try this solution. But what could be the other alternative to work with casync? Thanks in advance On Fri, 1 Apr 2022 at 13:54, Quentin Schulz < quentin.schulz at theobroma-systems.com> wrote: > Hi Sourabh, > > On 4/1/22 13:41, Sourabh Hegde wrote: > > Hello Quentin, > > > > make casync > >> > >> if you want it in an image created by Buildroot, modify your config with > >> make menuconfig and save your changes, then run make. > >> > > > > But will this create binary for host system also? Sorry, its bit > confusing > > here. > > > > No, host packages and target packages are compiled with a different > keyword. > > make casync is for target package > make host-casync is for host package > > > I need casync tool use with "rauc" as given in > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e= > > > > When I do "rauc convert --cert= --key= > > --keyring= conventional-bundle.raucb casync-bundle.raucb" > > > > I assume you need this at build time then since you are talking about > binary for the host system. In that case, you need to add host-casync to > your config. > > However, casync is currently a target-only package. > > To create a host package, you need at the very least to add: > > $(eval $(host-meson-package)) > > at the end of the package/casync/casync.mk file. > > This might not be enough and might require some additional tweaks to the > package makefile. > > Cheers, > Quentin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefan at agner.ch Fri Apr 1 16:07:53 2022 From: stefan at agner.ch (Stefan Agner) Date: Fri, 1 Apr 2022 18:07:53 +0200 Subject: [Buildroot] [PATCH] package/linux-firmware: Add Intel WiFi 3945ABG/BG/4965AGN Message-ID: Add Intel WiFi 3945ABG/BG and 4965AGN firmware. This firmware is required for the iwl4965 and iwl3945 kernel driver. Signed-off-by: Stefan Agner --- package/linux-firmware/Config.in | 12 ++++++++++++ package/linux-firmware/linux-firmware.mk | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in index 4a44d4a2b6..a9a7e914cf 100644 --- a/package/linux-firmware/Config.in +++ b/package/linux-firmware/Config.in @@ -199,6 +199,18 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168 Firmware files for the Intel Wifi 3168 devices supported by the iwlwifi kernel driver. +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945 + bool "Intel iwlwifi 3945" + help + Firmware files for the Intel Wifi 3945 devices supported by + the iwl4965 kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965 + bool "Intel iwlwifi 4965" + help + Firmware files for the Intel Wifi 4965 devices supported by + the iwl3945 kernel driver. + config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 bool "Intel iwlwifi 5000" help diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 2eec8a291a..0c725737d0 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -457,6 +457,16 @@ LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware endif +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945),y) +LINUX_FIRMWARE_FILES += iwlwifi-3945-2.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965),y) +LINUX_FIRMWARE_FILES += iwlwifi-4965-2.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + # iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode, # iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to # different versions of the firmware API. For now, we only install the -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 16:57:22 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 18:57:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl Message-ID: <20220401165722.540239-1-fontaine.fabrice@gmail.com> Fix the following build failure with libdbi-drivers raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: configure: error: Package requirements (libpq) were not met: Package 'libssl', required by 'libpq', not found Package 'libcrypto', required by 'libpq', not found Fixes: - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e Signed-off-by: Fabrice Fontaine --- ...libpq-Fix-pkg-config-without-OpenSSL.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch new file mode 100644 index 0000000000..90b0577a20 --- /dev/null +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch @@ -0,0 +1,34 @@ +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 +From: Peter Eisentraut +Date: Fri, 1 Apr 2022 17:12:56 +0200 +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL + +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. + +Author: Fabrice Fontaine +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com +[Retrieved from: +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] +Signed-off-by: Fabrice Fontaine +--- + src/interfaces/libpq/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile +index 89bf5e0126..b5fd72a4ac 100644 +--- a/src/interfaces/libpq/Makefile ++++ b/src/interfaces/libpq/Makefile +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport + + SHLIB_EXPORTS = exports.txt + ++ifeq ($(with_ssl),openssl) + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto ++endif + + all: all-lib libpq-refs-stamp + +-- +2.30.2 + -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 17:02:55 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 19:02:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: fix build without pod2man Message-ID: <20220401170255.540939-1-fontaine.fabrice@gmail.com> udpcast unconditionally build manpages which will raise the following build failure without pod2man since at least bump to version 20200328 in commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: sh: line 1: pod2man: command not found To fix this issue, rework how udpcast is built and installed to always build and install the sender or the receiver and never build the manpages. As a side effect, this will also avoid to install the unneeded rateGovernor.h Fixes: - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 Signed-off-by: Fabrice Fontaine --- package/udpcast/Config.in | 2 ++ package/udpcast/udpcast.mk | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/package/udpcast/Config.in b/package/udpcast/Config.in index ef94b30a99..cc38c6e57c 100644 --- a/package/udpcast/Config.in +++ b/package/udpcast/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_UDPCAST bool "udpcast" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UDPCAST_SENDER \ + if !BR2_PACKAGE_UDPCAST_RECEIVER help A multicast protocol implementation which happens to be very handy for imaging drives over the network. diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 34ebddd2d5..4c151bb41f 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -9,23 +9,15 @@ UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ UDPCAST_LICENSE_FILES = COPYING +UDPCAST_TARGETS = \ + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) -define UDPCAST_REMOVE_UDP_SENDER - rm -f $(TARGET_DIR)/usr/sbin/udp-sender - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 +define UDPCAST_INSTALL_TARGET_CMDS + $(foreach f,$(UDPCAST_TARGETS),\ + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) + ) endef -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER -endif - -define UDPCAST_REMOVE_UDP_RECEIVER - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 -endef - -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER -endif - $(eval $(autotools-package)) -- 2.35.1 From ps.report at gmx.net Fri Apr 1 18:05:19 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Fri, 1 Apr 2022 20:05:19 +0200 Subject: [Buildroot] [PATCH v1 3/4] package/apr-util: change download url from http to https In-Reply-To: <20220401180520.15772-1-ps.report@gmx.net> References: <20220401180520.15772-1-ps.report@gmx.net> Message-ID: <20220401180520.15772-3-ps.report@gmx.net> - change download url from http to https Signed-off-by: Peter Seiderer --- package/apr-util/apr-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index cf8407ced0..fb0735f5e7 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -6,7 +6,7 @@ APR_UTIL_VERSION = 1.6.1 APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2 -APR_UTIL_SITE = http://archive.apache.org/dist/apr +APR_UTIL_SITE = https://archive.apache.org/dist/apr APR_UTIL_LICENSE = Apache-2.0 APR_UTIL_LICENSE_FILES = LICENSE APR_UTIL_CPE_ID_VENDOR = apache -- 2.35.1 From ps.report at gmx.net Fri Apr 1 18:05:18 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Fri, 1 Apr 2022 20:05:18 +0200 Subject: [Buildroot] [PATCH v1 2/4] package/apr: change project url from http to https In-Reply-To: <20220401180520.15772-1-ps.report@gmx.net> References: <20220401180520.15772-1-ps.report@gmx.net> Message-ID: <20220401180520.15772-2-ps.report@gmx.net> - change project url from http to https (and remove trailing slash) Signed-off-by: Peter Seiderer --- package/apr/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apr/Config.in b/package/apr/Config.in index 67de925474..4606fc5378 100644 --- a/package/apr/Config.in +++ b/package/apr/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_APR predictable and consistent interface to underlying platform-specific implementations - http://apr.apache.org/ + https://apr.apache.org comment "apr needs a toolchain w/ dynamic library" depends on BR2_USE_MMU -- 2.35.1 From ps.report at gmx.net Fri Apr 1 18:05:17 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Fri, 1 Apr 2022 20:05:17 +0200 Subject: [Buildroot] [PATCH v1 1/4] package/apr: change download url from http to https Message-ID: <20220401180520.15772-1-ps.report@gmx.net> - change download url from http to https Signed-off-by: Peter Seiderer --- package/apr/apr.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apr/apr.mk b/package/apr/apr.mk index c45829aacc..7ff2c007b4 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -6,7 +6,7 @@ APR_VERSION = 1.7.0 APR_SOURCE = apr-$(APR_VERSION).tar.bz2 -APR_SITE = http://archive.apache.org/dist/apr +APR_SITE = https://archive.apache.org/dist/apr APR_LICENSE = Apache-2.0 APR_LICENSE_FILES = LICENSE APR_CPE_ID_VENDOR = apache -- 2.35.1 From ps.report at gmx.net Fri Apr 1 18:05:20 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Fri, 1 Apr 2022 20:05:20 +0200 Subject: [Buildroot] [PATCH v1 4/4] package/apr-util: change project url from http to https In-Reply-To: <20220401180520.15772-1-ps.report@gmx.net> References: <20220401180520.15772-1-ps.report@gmx.net> Message-ID: <20220401180520.15772-4-ps.report@gmx.net> - change project url from http to https (and remove trailing slash) Signed-off-by: Peter Seiderer --- package/apr-util/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in index 6c5e3bbdf5..c1a967bdec 100644 --- a/package/apr-util/Config.in +++ b/package/apr-util/Config.in @@ -8,7 +8,7 @@ config BR2_PACKAGE_APR_UTIL help The utility library for the apache runtime project - http://apr.apache.org/ + https://apr.apache.org comment "apr-util needs a toolchain w/ dynamic library" depends on BR2_USE_MMU -- 2.35.1 From bugzilla at busybox.net Fri Apr 1 20:30:49 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Fri, 01 Apr 2022 20:30:49 +0000 Subject: [Buildroot] [Bug 14731] BR2_PACKAGE_IOSTAT In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14731 --- Comment #1 from Fabrice Fontaine --- iostat has been dropped since https://git.buildroot.net/buildroot/commit/?id=281e5af3481378c91e71506560f1556d9525450f because it is not maintained anymore (even upstream site is dead). I would advise to enable sysstat which also provides iostat. -- You are receiving this mail because: You are on the CC list for the bug. From fontaine.fabrice at gmail.com Fri Apr 1 20:44:11 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 22:44:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap-ng: bump to version 0.8.3 Message-ID: <20220401204411.942428-1-fontaine.fabrice@gmail.com> https://github.com/stevegrubb/libcap-ng/blob/v0.8.3/ChangeLog Signed-off-by: Fabrice Fontaine --- package/libcap-ng/libcap-ng.hash | 2 +- package/libcap-ng/libcap-ng.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap-ng/libcap-ng.hash b/package/libcap-ng/libcap-ng.hash index f775ae6fc9..d4590dd739 100644 --- a/package/libcap-ng/libcap-ng.hash +++ b/package/libcap-ng/libcap-ng.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 52c083b77c2b0d8449dee141f9c3eba76e6d4c5ad44ef05df25891126cb85ae9 libcap-ng-0.8.2.tar.gz +sha256 bed6f6848e22bb2f83b5f764b2aef0ed393054e803a8e3a8711cb2a39e6b492d libcap-ng-0.8.3.tar.gz sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk index 4fb0cf4777..46f72c702e 100644 --- a/package/libcap-ng/libcap-ng.mk +++ b/package/libcap-ng/libcap-ng.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_NG_VERSION = 0.8.2 +LIBCAP_NG_VERSION = 0.8.3 LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng LIBCAP_NG_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 21:00:55 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 23:00:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/liblinear: bump to version 2.44 Message-ID: <20220401210055.946614-1-fontaine.fabrice@gmail.com> - Update hash of COPYRIGHT (date updated: https://github.com/cjlin1/liblinear/commit/3d2fdc801ce45f470b1b5ed1945cb63126358485) - Update LIBLINEAR_INSTALL_SHARED due to https://github.com/cjlin1/liblinear/commit/42f423c023e45879c8750b468e0afe74931afe3f - Some minor bugs are fixed: https://github.com/cjlin1/liblinear/compare/v243...v244 Signed-off-by: Fabrice Fontaine --- package/liblinear/liblinear.hash | 4 ++-- package/liblinear/liblinear.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/liblinear/liblinear.hash b/package/liblinear/liblinear.hash index a714b8bc4e..27aa4e3e87 100644 --- a/package/liblinear/liblinear.hash +++ b/package/liblinear/liblinear.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 02bad43d745e2796f39a08ac9d117770e71939ef06b1ee7afc6ab7909e304807 liblinear-2.43.tar.gz -sha256 c5c91211a0edaa4c77e352f6b27a8f9c6768afe27d48176d6094905c534eacb3 COPYRIGHT +sha256 45572b99d4eeffc3e8ad7b72c27370be867edf3523c396d8b278a2c873bfbb5c liblinear-2.44.tar.gz +sha256 d49b7898fd9ea7c29f0478e8c409ee7c0f621533d5eca7b7912e80391dc564e3 COPYRIGHT diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk index 1ad734c756..c100ccc6c5 100644 --- a/package/liblinear/liblinear.mk +++ b/package/liblinear/liblinear.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBLINEAR_VERSION = 2.43 +LIBLINEAR_VERSION = 2.44 LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear LIBLINEAR_LICENSE = BSD-3-Clause LIBLINEAR_LICENSE_FILES = COPYRIGHT @@ -14,8 +14,8 @@ LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) # $1: destination directory define LIBLINEAR_INSTALL_SHARED - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.4 $(1)/usr/lib/liblinear.so.4 - ln -sf liblinear.so.4 $(1)/usr/lib/liblinear.so + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.5 $(1)/usr/lib/liblinear.so.5 + ln -sf liblinear.so.5 $(1)/usr/lib/liblinear.so endef LIBLINEAR_CFLAGS += -fPIC endif -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 21:10:05 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 23:10:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgeotiff: bump to version 1.7.1 Message-ID: <20220401211005.1052795-1-fontaine.fabrice@gmail.com> Update license, "X style license" means MIT: https://github.com/OSGeo/libgeotiff/commit/5d6619c1168845c5bd77686f01e197a82854cbf1) https://github.com/OSGeo/libgeotiff/releases/tag/1.7.1 Signed-off-by: Fabrice Fontaine --- package/libgeotiff/libgeotiff.hash | 4 ++-- package/libgeotiff/libgeotiff.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libgeotiff/libgeotiff.hash b/package/libgeotiff/libgeotiff.hash index ec9fccb492..883199501d 100644 --- a/package/libgeotiff/libgeotiff.hash +++ b/package/libgeotiff/libgeotiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e libgeotiff-1.7.0.tar.gz -sha256 6a22340b8293c50a34ce8e95589489bd3ec65bcb8b93e61cbda3daaafe498375 LICENSE +sha256 05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6 libgeotiff-1.7.1.tar.gz +sha256 a822a731a7ac4ba7d8f18fa0dc29db2e68a5dcfc315b46e4a4c8956720d55d93 LICENSE diff --git a/package/libgeotiff/libgeotiff.mk b/package/libgeotiff/libgeotiff.mk index c49528565d..6ab60c93fc 100644 --- a/package/libgeotiff/libgeotiff.mk +++ b/package/libgeotiff/libgeotiff.mk @@ -4,9 +4,9 @@ # ################################################################################ -LIBGEOTIFF_VERSION = 1.7.0 +LIBGEOTIFF_VERSION = 1.7.1 LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff -LIBGEOTIFF_LICENSE = X11-style, public domain +LIBGEOTIFF_LICENSE = MIT, public domain LIBGEOTIFF_LICENSE_FILES = LICENSE LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf LIBGEOTIFF_INSTALL_STAGING = YES -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 21:17:22 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 23:17:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap: bump to version 2.63 Message-ID: <20220401211722.1057825-1-fontaine.fabrice@gmail.com> https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.6tsfgutj5dhm Signed-off-by: Fabrice Fontaine --- package/libcap/libcap.hash | 2 +- package/libcap/libcap.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash index 396e592c5b..2cdf92bbc1 100644 --- a/package/libcap/libcap.hash +++ b/package/libcap/libcap.hash @@ -1,5 +1,5 @@ # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2 libcap-2.62.tar.xz +sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz # Hash for license file: sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index 1207995333..ed689ce503 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_VERSION = 2.62 +LIBCAP_VERSION = 2.63 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 21:26:06 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 23:26:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnids: drop $(LIBNIDS_VERSION).tar.gz Message-ID: <20220401212606.1059177-1-fontaine.fabrice@gmail.com> Drop unneeded $(LIBNIDS_VERSION).tar.gz added by commit f8aefa8807ecaf219b0dc7988e6bd14c70c9c761 Signed-off-by: Fabrice Fontaine --- package/libnids/libnids.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnids/libnids.mk b/package/libnids/libnids.mk index 57e68654dc..40620eca57 100644 --- a/package/libnids/libnids.mk +++ b/package/libnids/libnids.mk @@ -5,7 +5,7 @@ ################################################################################ LIBNIDS_VERSION = 1.26 -LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION),$(LIBNIDS_VERSION).tar.gz) +LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION)) LIBNIDS_LICENSE = GPL-2.0 LIBNIDS_LICENSE_FILES = COPYING LIBNIDS_CPE_ID_VENDOR = libnids_project -- 2.35.1 From mmayer at broadcom.com Fri Apr 1 21:56:53 2022 From: mmayer at broadcom.com (Markus Mayer) Date: Fri, 1 Apr 2022 14:56:53 -0700 Subject: [Buildroot] [PATCH] package: replace git:// URLs with https:// URLs where possible Message-ID: <20220401215653.1703616-1-mmayer@broadcom.com> Replace the remaining git:// URLs with their https:// equivalents as this is more secure and also more palatable to corporate firewalls. This leaves package/dahdi-linux as the sole package still using a git:// URL for cloning. Signed-off-by: Markus Mayer --- boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- package/aer-inject/aer-inject.mk | 3 ++- package/firmware-utils/firmware-utils.mk | 3 ++- package/flashbench/flashbench.mk | 3 ++- package/mmc-utils/mmc-utils.mk | 3 ++- package/mxsldr/mxsldr.mk | 3 ++- package/open62541/open62541.mk | 2 +- package/pahole/pahole.mk | 2 +- package/psplash/psplash.mk | 3 ++- package/rtc-tools/rtc-tools.mk | 3 ++- package/rtmpdump/rtmpdump.mk | 3 ++- package/sox/sox.mk | 2 +- package/tftpd/tftpd.mk | 3 ++- package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- 14 files changed, 24 insertions(+), 14 deletions(-) diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk index 3a1af9b02c7e..30b352f8e7df 100644 --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -5,7 +5,8 @@ ################################################################################ BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk index 72495bbea26a..6bc9cb44da74 100644 --- a/package/aer-inject/aer-inject.mk +++ b/package/aer-inject/aer-inject.mk @@ -5,7 +5,8 @@ ################################################################################ AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git AER_INJECT_LICENSE = GPL-2.0 AER_INJECT_LICENSE_FILES = README AER_INJECT_DEPENDENCIES = host-flex host-bison diff --git a/package/firmware-utils/firmware-utils.mk b/package/firmware-utils/firmware-utils.mk index 151a01882d71..d5b079e4f5a7 100644 --- a/package/firmware-utils/firmware-utils.mk +++ b/package/firmware-utils/firmware-utils.mk @@ -5,7 +5,8 @@ ################################################################################ FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 -FIRMWARE_UTILS_SITE = git://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE_METHOD = git FIRMWARE_UTILS_LICENSE = \ BSD-2-Clause (tplink-safeloader), \ BSD-3-Clause (seama), \ diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk index e89a250aa31a..f5791c3e95b6 100644 --- a/package/flashbench/flashbench.mk +++ b/package/flashbench/flashbench.mk @@ -5,7 +5,8 @@ ################################################################################ FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git FLASHBENCH_LICENSE = GPL-2.0 FLASHBENCH_LICENSE_FILES = COPYING diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 8c264a454a33..c84737869264 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -5,7 +5,8 @@ ################################################################################ MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk index 239b40ad29af..2375b9f42b59 100644 --- a/package/mxsldr/mxsldr.mk +++ b/package/mxsldr/mxsldr.mk @@ -5,7 +5,8 @@ ################################################################################ MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git MXSLDR_LICENSE = GPL-2.0+ MXSLDR_LICENSE_FILES = COPYING HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index fb28a614e2a7..627c29e95b6c 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -6,7 +6,7 @@ OPEN62541_VERSION = v1.2.2 OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git +OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index 1ad937062dfd..da6d67e6a293 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -5,7 +5,7 @@ ################################################################################ PAHOLE_VERSION = v1.23 -PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git PAHOLE_SITE_METHOD = git # pahole contains git submodule and relies on them to be built. PAHOLE_GIT_SUBMODULES = YES diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index 5e61f2392f78..69f9bf386da0 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -5,7 +5,8 @@ ################################################################################ PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d -PSPLASH_SITE = git://git.yoctoproject.org/psplash +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git PSPLASH_LICENSE = GPL-2.0+ PSPLASH_LICENSE_FILES = COPYING PSPLASH_AUTORECONF = YES diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk index 2ef850a81f60..2882c88575d3 100644 --- a/package/rtc-tools/rtc-tools.mk +++ b/package/rtc-tools/rtc-tools.mk @@ -5,7 +5,8 @@ ################################################################################ RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git RTC_TOOLS_LICENSE = GPL-2.0 RTC_TOOLS_LICENSE_FILES = COPYING diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index db79a796dcac..fb381d0e1048 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -5,7 +5,8 @@ ################################################################################ RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git RTMPDUMP_INSTALL_STAGING = YES # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only # care about librtmp, it's LGPL-2.1+ diff --git a/package/sox/sox.mk b/package/sox/sox.mk index 4b09b94bc3e3..1896437ad4c7 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -5,7 +5,7 @@ ################################################################################ SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code +SOX_SITE = https://git.code.sf.net/p/sox/code SOX_SITE_METHOD = git SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 42b5f17821ad..ceac24119eb4 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -5,7 +5,8 @@ ################################################################################ TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git TFTPD_CONF_OPTS = --without-tcpwrappers TFTPD_LICENSE = BSD-4-Clause TFTPD_LICENSE_FILES = tftpd/tftpd.c diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk index 722c4655cd75..a5f3a826090b 100644 --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -5,7 +5,7 @@ ################################################################################ WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git WILINK_BT_FIRMWARE_SITE_METHOD = git WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 01:05:59 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 19:05:59 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220402010559.410834-1-james.hilliard1@gmail.com> Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Signed-off-by: James Hilliard --- utils/genrandconfig | 52 ++++++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 17 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..1e72e14461 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +335,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,19 +416,22 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) if fixup_config(sysinfo, configfile): - break - - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "olddefconfig"]): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "savedefconfig"]): + continue - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "dependencies"]): + continue + break + return 0 if __name__ == '__main__': @@ -433,10 +443,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 02:07:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 20:07:56 -0600 Subject: [Buildroot] [PATCH 1/1] toolchain/toolchain-external: ensure BR2_TOOLCHAIN_EXTERNAL_PATH is set Message-ID: <20220402020756.415845-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- toolchain/toolchain-external/pkg-toolchain-external.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index 299b6008aa..8274ace980 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,6 +69,9 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) +endif endif ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 02:31:35 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 20:31:35 -0600 Subject: [Buildroot] [PATCH 1/1] toolchain-external-custom: ensure BR2_TOOLCHAIN_EXTERNAL_URL is set Message-ID: <20220402023135.428789-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- .../toolchain-external-custom/toolchain-external-custom.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk index c4ae6125ef..a5e42c09d7 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk +++ b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk @@ -10,6 +10,11 @@ TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERN ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) # We can't check hashes for custom downloaded toolchains BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) +ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),) +$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting) +endif +endif endif $(eval $(toolchain-external-package)) -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 03:29:12 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 21:29:12 -0600 Subject: [Buildroot] [PATCH 1/1] package/linux-headers: ensure tarball location is set Message-ID: <20220402032912.504809-1-james.hilliard1@gmail.com> Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when required. Fixes: http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105 Signed-off-by: James Hilliard --- package/linux-headers/linux-headers.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index a8d1c2ccaf..2a62dc2026 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -35,6 +35,9 @@ endif # BR2_KERNEL_HEADERS_AS_KERNEL # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) +ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION),) +$(error No kernel headers tarball location set, check your BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION setting) +endif LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))) else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y) -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 03:49:33 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 21:49:33 -0600 Subject: [Buildroot] [PATCH 1/1] package/linux-headers: ensure headers version is set Message-ID: <20220402034933.507692-1-james.hilliard1@gmail.com> Validate that BR2_DEFAULT_KERNEL_VERSION is set when required. Fixes: http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca Signed-off-by: James Hilliard --- package/linux-headers/linux-headers.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index a8d1c2ccaf..93007c8fb2 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -33,6 +33,12 @@ LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) LINUX_HEADERS_CIP = endif # BR2_KERNEL_HEADERS_AS_KERNEL +ifeq ($(BR2_KERNEL_HEADERS_VERSION),y) +ifeq ($(LINUX_HEADERS_VERSION),) +$(error No kernel headers version set, check your BR2_DEFAULT_KERNEL_VERSION setting) +endif +endif + # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) -- 2.25.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:19:53 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:19:53 +0200 Subject: [Buildroot] [PATCH 1/2] package/ipmiutil: drop dead code Message-ID: <20220402081954.1466025-1-fontaine.fabrice@gmail.com> ipmiutil depends on dynamic library since commit 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed anymore Signed-off-by: Fabrice Fontaine --- package/ipmiutil/ipmiutil.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 4c9de26583..fdafde24d1 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -17,15 +17,12 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN endef IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off # SKIP_MD2 can be used only if ALLOW_GNU is defined. IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2 -DSSL11" IPMIUTIL_DEPENDENCIES += openssl -else -IPMIUTIL_CONF_OPTS += --disable-lanplus endif $(eval $(autotools-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:19:54 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:19:54 +0200 Subject: [Buildroot] [PATCH 2/2] package/ipmiutil: bump to version 3.1.8 In-Reply-To: <20220402081954.1466025-1-fontaine.fabrice@gmail.com> References: <20220402081954.1466025-1-fontaine.fabrice@gmail.com> Message-ID: <20220402081954.1466025-2-fontaine.fabrice@gmail.com> Drop IPMIUTIL_TOUCH_CONFIG_H_IN as aclocal.m4 is not newer than config.h.in anymore https://sourceforge.net/p/ipmiutil/news/2021/11/ipmiutil-318-is-released Signed-off-by: Fabrice Fontaine --- package/ipmiutil/ipmiutil.hash | 6 +++--- package/ipmiutil/ipmiutil.mk | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/package/ipmiutil/ipmiutil.hash b/package/ipmiutil/ipmiutil.hash index f87c2762de..c1a813ad1f 100644 --- a/package/ipmiutil/ipmiutil.hash +++ b/package/ipmiutil/ipmiutil.hash @@ -1,6 +1,6 @@ # From https://sourceforge.net/projects/ipmiutil/files/ -md5 fab260bc834a0f3f9324a6365fc26eca ipmiutil-3.1.7.tar.gz -sha1 a0cd29820b15166120eb4a51e6239bfa6f9c65dd ipmiutil-3.1.7.tar.gz +md5 b38ef567b6bb8a24418e448f23115190 ipmiutil-3.1.8.tar.gz +sha1 0697fc2342c55ba4374e31dcd38e58a00d1287e8 ipmiutil-3.1.8.tar.gz # Locally computed -sha256 911fd6f8b33651b98863d57e678d2fc593bc43fcd2a21f5dc7d5db8f92128a9a ipmiutil-3.1.7.tar.gz +sha256 b14357b9723e38a19c24df2771cff63d5f15f8682cd8a5b47235044b767b1888 ipmiutil-3.1.8.tar.gz sha256 7e0ec8238aa1431e95a4950032a4483fe33fec3fac348eaade5856cdc5ae3e39 COPYING diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index fdafde24d1..a53129f956 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -4,19 +4,13 @@ # ################################################################################ -IPMIUTIL_VERSION = 3.1.7 +IPMIUTIL_VERSION = 3.1.8 IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files IPMIUTIL_LICENSE = BSD-3-Clause IPMIUTIL_LICENSE_FILES = COPYING IPMIUTIL_MAKE = $(MAKE1) -# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf -define IPMIUTIL_TOUCH_CONFIG_H_IN - touch $(@D)/config.h.in -endef -IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN - ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:27:14 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:27:14 +0200 Subject: [Buildroot] [PATCH v2,1/2] package/ipmiutil: drop dead code Message-ID: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> ipmiutil depends on dynamic library since commit 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed anymore Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2: - Keep disabling lanplus if openssl is unavailable package/ipmiutil/ipmiutil.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 4c9de26583..97a644e314 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN endef IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off # SKIP_MD2 can be used only if ALLOW_GNU is defined. -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:27:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:27:15 +0200 Subject: [Buildroot] [PATCH v2, 2/2] package/ipmiutil: bump to version 3.1.8 In-Reply-To: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> References: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> Message-ID: <20220402082715.1497098-2-fontaine.fabrice@gmail.com> Drop IPMIUTIL_TOUCH_CONFIG_H_IN as aclocal.m4 is not newer than config.h.in anymore https://sourceforge.net/p/ipmiutil/news/2021/11/ipmiutil-318-is-released Signed-off-by: Fabrice Fontaine --- package/ipmiutil/ipmiutil.hash | 6 +++--- package/ipmiutil/ipmiutil.mk | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/package/ipmiutil/ipmiutil.hash b/package/ipmiutil/ipmiutil.hash index f87c2762de..c1a813ad1f 100644 --- a/package/ipmiutil/ipmiutil.hash +++ b/package/ipmiutil/ipmiutil.hash @@ -1,6 +1,6 @@ # From https://sourceforge.net/projects/ipmiutil/files/ -md5 fab260bc834a0f3f9324a6365fc26eca ipmiutil-3.1.7.tar.gz -sha1 a0cd29820b15166120eb4a51e6239bfa6f9c65dd ipmiutil-3.1.7.tar.gz +md5 b38ef567b6bb8a24418e448f23115190 ipmiutil-3.1.8.tar.gz +sha1 0697fc2342c55ba4374e31dcd38e58a00d1287e8 ipmiutil-3.1.8.tar.gz # Locally computed -sha256 911fd6f8b33651b98863d57e678d2fc593bc43fcd2a21f5dc7d5db8f92128a9a ipmiutil-3.1.7.tar.gz +sha256 b14357b9723e38a19c24df2771cff63d5f15f8682cd8a5b47235044b767b1888 ipmiutil-3.1.8.tar.gz sha256 7e0ec8238aa1431e95a4950032a4483fe33fec3fac348eaade5856cdc5ae3e39 COPYING diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 97a644e314..ad9fbfc24c 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -4,19 +4,13 @@ # ################################################################################ -IPMIUTIL_VERSION = 3.1.7 +IPMIUTIL_VERSION = 3.1.8 IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files IPMIUTIL_LICENSE = BSD-3-Clause IPMIUTIL_LICENSE_FILES = COPYING IPMIUTIL_MAKE = $(MAKE1) -# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf -define IPMIUTIL_TOUCH_CONFIG_H_IN - touch $(@D)/config.h.in -endef -IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN - ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:51:36 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:51:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/quazip: bump to version 1.2 Message-ID: <20220402085136.1685563-1-fontaine.fabrice@gmail.com> Update hash of COPYING which has been "clearly marked" as the definitive license source: https://github.com/stachenov/quazip/commit/0d1aedb0fba343a196c124541b4d6938b16cf6ee https://github.com/stachenov/quazip/releases/tag/v1.2 Signed-off-by: Fabrice Fontaine --- package/quazip/quazip.hash | 4 ++-- package/quazip/quazip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/quazip/quazip.hash b/package/quazip/quazip.hash index 5eff5cfb3d..bcb16acdc0 100644 --- a/package/quazip/quazip.hash +++ b/package/quazip/quazip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 54edce9c11371762bd4f0003c2937b5d8806a2752dd9c0fd9085e90792612ad0 quazip-1.1.tar.gz -sha256 3aab586a5bdc8ffbbf033c7106550fd3e849fd8888e33cbc9bfd30a433c4b1cb COPYING +sha256 2dfb911d6b27545de0b98798d967c40430312377e6ade57096d6ec80c720cb61 quazip-1.2.tar.gz +sha256 b455b21b0d31d6e51993f1fb7e0694c75fa0eb0519a9ea62e4815fcf48b140b0 COPYING diff --git a/package/quazip/quazip.mk b/package/quazip/quazip.mk index 44645ec9b9..7731e59d94 100644 --- a/package/quazip/quazip.mk +++ b/package/quazip/quazip.mk @@ -4,7 +4,7 @@ # ################################################################################ -QUAZIP_VERSION = 1.1 +QUAZIP_VERSION = 1.2 QUAZIP_SITE = $(call github,stachenov,quazip,v$(QUAZIP_VERSION)) QUAZIP_INSTALL_STAGING = YES QUAZIP_DEPENDENCIES = \ -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 12:59:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 14:59:58 +0200 Subject: [Buildroot] [PATCH 2/2] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220402125958.453448-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since the addition of the package in commit 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b configure: error: --enable-static must be specified with --disable-shared Fixes: - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 Signed-off-by: Fabrice Fontaine --- package/libkrb5/libkrb5.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index d14c464b39..0553e9bdb4 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ --without-tcl \ --disable-rpath +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS = --disable-static +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) LIBKRB5_CONF_OPTS += --with-ldap LIBKRB5_DEPENDENCIES += openldap -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 13:00:49 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 15:00:49 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220402130049.453518-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since the addition of the package in commit 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b configure: error: --enable-static must be specified with --disable-shared Fixes: - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2: - Fix patch number package/libkrb5/libkrb5.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index d14c464b39..0553e9bdb4 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ --without-tcl \ --disable-rpath +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS = --disable-static +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) LIBKRB5_CONF_OPTS += --with-ldap LIBKRB5_DEPENDENCIES += openldap -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:15:29 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:15:29 +0200 Subject: [Buildroot] [PATCH 3/4] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <20220402141531.1320584-3-thomas.petazzoni@bootlin.com> Some upstream sites are very slow to respond, and the default timeout of 300 seconds of the aiohttp.ClientSession() is too long. Let's reduce it to 15 seconds. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 329b30a5ee..ae1a9aa5e4 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -451,7 +451,8 @@ async def check_url_status(session, pkg, npkgs, retry=True): async def check_package_urls(packages): tasks = [] connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: packages = [p for p in packages if p.status['url'][0] == 'ok'] for pkg in packages: tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:15:27 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:15:27 +0200 Subject: [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching Message-ID: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 8cc64a54d1..ef9482ed95 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1184,6 +1184,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages) -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:15:28 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:15:28 +0200 Subject: [Buildroot] [PATCH 2/4] support/scripts/pkg-stats: allow disabling package warnings retrieval In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <20220402141531.1320584-2-thomas.petazzoni@bootlin.com> This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ef9482ed95..329b30a5ee 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url, cpe)', + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1167,7 +1167,8 @@ def __main__(): pkg.set_license() pkg.set_hash_info() pkg.set_patch_count() - pkg.set_check_package_warnings() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() pkg.set_current_version() pkg.set_cpeid() pkg.set_url() -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:15:30 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:15:30 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> pkg-stats currently uses the services from support/scripts/cpedb.py to match the CPE identifiers of packages with the official CPE database. Unfortunately, the cpedb.py code uses regular ElementTree parsing, which involves loading the full XML tree into memory. This causes the pkg-stats process to consume a huge amount of memory: thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats process. This is causing the OOM killer to kick-in on machines with relatively low memory. This commit reimplements the XML parsing needed to do the CPE matching directly in pkg-stats, using the XmlParser functionality of ElementTree, also called "streaming parsing". Thanks to this, we never load the entire XML tree in RAM, but only stream it through the parser, and construct a very simple list of all CPE identifiers. The max memory consumption of pkg-stats is now: thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. Now, one will probably wonder why this isn't directly changed in cpedb.py. The reason is simple: cpedb.py is also used by support/scripts/missing-cpe, which (for now) heavily relies on having in memory the ElementTree objects, to re-generate a snippet of XML that allows us to submit to NIST new CPE entries. So, future work could include one of those two options: (1) Re-integrate cpedb.py into missing-cpe directly, and live with two different ways of processing the CPE database. (2) Rewrite the missing-cpe logic to also be compatible with a streaming parsing, which would allow this logic to be again shared between pkg-stats and missing-cpe. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ae1a9aa5e4..cc163ebb1a 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -27,12 +27,14 @@ import re import subprocess import json import sys +import time +import gzip +import xml.etree.ElementTree brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) sys.path.append(os.path.join(brpath, "utils")) from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") URL_RE = re.compile(r"\s*https?://\S*\s*$") @@ -42,6 +44,7 @@ RM_API_STATUS_FOUND_BY_DISTRO = 2 RM_API_STATUS_FOUND_BY_PATTERN = 3 RM_API_STATUS_NOT_FOUND = 4 +CPEDB_URL = "https://static.nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml.gz" class Defconfig: def __init__(self, name, path): @@ -624,12 +627,40 @@ def check_package_cves(nvd_path, packages): def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() + class CpeXmlParser: + cpes = [] + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + def close(self): + return self.cpes + + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + for p in packages: if not p.cpeid: continue - if cpedb.find(p.cpeid): + if p.cpeid in cpes: p.status['cpe'] = ("ok", "verified CPE identifier") else: p.status['cpe'] = ("error", "CPE version unknown in CPE database") -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:17:35 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:17:35 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> Message-ID: <20220402161735.3510233f@windsurf> Hello, On Sat, 2 Apr 2022 16:15:30 +0200 Thomas Petazzoni via buildroot wrote: > This commit reimplements the XML parsing needed to do the CPE matching > directly in pkg-stats, using the XmlParser functionality of > ElementTree, also called "streaming parsing". Thanks to this, we never > load the entire XML tree in RAM, but only stream it through the > parser, and construct a very simple list of all CPE identifiers. The > max memory consumption of pkg-stats is now: [...] I forgot to mention that the JSON output of pkg-stats for the full package set, before and after this commit, is exactly identical. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From bernd.kuhls at t-online.de Sat Apr 2 14:39:24 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Sat, 2 Apr 2022 16:39:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-mediadriver: bump version to 22.3.1 Message-ID: <20220402143924.46610-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/intel-mediadriver/intel-mediadriver.hash | 2 +- package/intel-mediadriver/intel-mediadriver.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash index 57499830b1..5c3d25eed8 100644 --- a/package/intel-mediadriver/intel-mediadriver.hash +++ b/package/intel-mediadriver/intel-mediadriver.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 89940ae2f7e5c7ec182f0d4d0ce8e149ae614876edd5bdad2b852e699a29b3f9 intel-media-22.3.0.tar.gz +sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk index c22aeecc77..4280f7fd29 100644 --- a/package/intel-mediadriver/intel-mediadriver.mk +++ b/package/intel-mediadriver/intel-mediadriver.mk @@ -6,7 +6,7 @@ # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack -INTEL_MEDIADRIVER_VERSION = 22.3.0 +INTEL_MEDIADRIVER_VERSION = 22.3.1 INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause -- 2.30.2 From yann.morin.1998 at free.fr Sat Apr 2 14:36:09 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 16:36:09 +0200 Subject: [Buildroot] [git commit] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs Message-ID: <20220402143246.82D4185D3C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=387c496b98895a3ad38d53554d45713a81d7a169 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Some upstream sites are very slow to respond, and the default timeout of 300 seconds of the aiohttp.ClientSession() is too long. Let's reduce it to 15 seconds. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- support/scripts/pkg-stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 329b30a5ee..ae1a9aa5e4 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -451,7 +451,8 @@ async def check_url_status(session, pkg, npkgs, retry=True): async def check_package_urls(packages): tasks = [] connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: packages = [p for p in packages if p.status['url'][0] == 'ok'] for pkg in packages: tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) From yann.morin.1998 at free.fr Sat Apr 2 14:34:37 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 16:34:37 +0200 Subject: [Buildroot] [git commit] support/scripts/pkg-stats: allow disabling package warnings retrieval Message-ID: <20220402143246.776A085AB3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1adcf5659804c17859b2799c0c3edb6b6ce68eb5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- support/scripts/pkg-stats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ef9482ed95..329b30a5ee 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url, cpe)', + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1167,7 +1167,8 @@ def __main__(): pkg.set_license() pkg.set_hash_info() pkg.set_patch_count() - pkg.set_check_package_warnings() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() pkg.set_current_version() pkg.set_cpeid() pkg.set_url() From yann.morin.1998 at free.fr Sat Apr 2 14:34:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 16:34:07 +0200 Subject: [Buildroot] [git commit] support/scripts/pkg-stats: allow disabling CPE matching Message-ID: <20220402143246.6B53685CC6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cd8a576c6d3fa65001a5d72ef9c0fae55a297c6c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- support/scripts/pkg-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 8cc64a54d1..ef9482ed95 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1184,6 +1184,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages) From yann.morin.1998 at free.fr Sat Apr 2 14:42:34 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 16:42:34 +0200 Subject: [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <20220402144234.GA1811301@scaer> Thomas, All, On 2022-04-02 16:15 +0200, Thomas Petazzoni via buildroot spake thusly: > This is useful when debugging/developing the pkg-stats script. > > Signed-off-by: Thomas Petazzoni Patches 1-3 applied to master, thanks. I'll resume looking at the 4th patch later. Regards, Yann E. MORIN. > --- > support/scripts/pkg-stats | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats > index 8cc64a54d1..ef9482ed95 100755 > --- a/support/scripts/pkg-stats > +++ b/support/scripts/pkg-stats > @@ -1125,7 +1125,7 @@ def parse_args(): > parser.add_argument('--nvd-path', dest='nvd_path', > help='Path to the local NVD database', type=resolvepath) > parser.add_argument('--disable', type=list_str, > - help='Features to disable, comma-separated (cve, upstream, url)', > + help='Features to disable, comma-separated (cve, upstream, url, cpe)', > default=[]) > args = parser.parse_args() > if not args.html and not args.json: > @@ -1184,6 +1184,8 @@ def __main__(): > if "cve" not in args.disable and args.nvd_path: > print("Checking packages CVEs") > check_package_cves(args.nvd_path, packages) > + if "cpe" not in args.disable and args.nvd_path: > + print("Checking packages CPEs") > check_package_cpes(args.nvd_path, packages) > print("Calculate stats") > stats = calculate_stats(packages) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From bugzilla at busybox.net Sat Apr 2 15:55:08 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 02 Apr 2022 15:55:08 +0000 Subject: [Buildroot] [Bug 14731] BR2_PACKAGE_IOSTAT In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14731 Arnout Vandecappelle changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX -- You are receiving this mail because: You are on the CC list for the bug. From fontaine.fabrice at gmail.com Sat Apr 2 16:07:18 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 18:07:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: needs C++ Message-ID: <20220402160718.750069-1-fontaine.fabrice@gmail.com> fluidsynth needs C++ since bump to version 2.2.0 in commit 7e02d2e762eb94fde1f222df1b960dbd263fa946 and https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 Signed-off-by: Fabrice Fontaine --- package/fluidsynth/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in index 5726e235e4..376419ce8f 100644 --- a/package/fluidsynth/Config.in +++ b/package/fluidsynth/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUIDSYNTH # the .pc file installed by fluidsynth does not mention its # indirect dependencies in Libs.private. depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBGLIB2 help FluidSynth is a real-time software synthesizer based on the @@ -128,7 +129,7 @@ config BR2_PACKAGE_FLUIDSYNTH_READLINE endif # BR2_PACKAGE_FLUIDSYNTH -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From arnout at mind.be Sat Apr 2 16:29:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 2 Apr 2022 18:29:41 +0200 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <20220402010559.410834-1-james.hilliard1@gmail.com> References: <20220402010559.410834-1-james.hilliard1@gmail.com> Message-ID: <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> Hi James, On 02/04/2022 03:05, James Hilliard wrote: > Currently we only test a limited set of toolchains that are mostly > prebuilt, add a flag to allow using randconfig for randomizing > additional toolchain settings instead of randpackageconfig. Oooh, it's been on my wishlist for a loooong time to use randconfig instead of randpackageconfig in the autobuilders... > > To avoid invalid configs we need to add additional config validation > filtering and fixups. I guess the following 4 patches are supposed to do that? Please keep them together in a series in the future. > > Signed-off-by: James Hilliard > --- > utils/genrandconfig | 52 ++++++++++++++++++++++++++++++--------------- > 1 file changed, 35 insertions(+), 17 deletions(-) > > diff --git a/utils/genrandconfig b/utils/genrandconfig > index 3483d55c14..1e72e14461 100755 > --- a/utils/genrandconfig > +++ b/utils/genrandconfig > @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): > configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > > + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') I don't understand why for this particular one you remove it explicitly, while for other cases you rely (I guess) on the dependency check to make sure we get a valid config (eventually). Also, I think the proper approach for dealing with required string options is to give them a default value in support/config-fragments/minimal.config. Unlike the toolchainfile, the configlines in minimal.config don't all need to be present in the final .config, so we can add stuff there that is only available if the appropriate boolean option gets selected randomly. > + > with open(configfile, "w+") as configf: > configf.writelines(configlines) > > @@ -331,11 +335,14 @@ def gen_config(args): > > sysinfo = SystemInfo() > > - # Select a random toolchain configuration > - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > + if args.toolchains_csv: > + # Select a random toolchain configuration > + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > - i = randint(0, len(configs) - 1) > - toolchainconfig = configs[i] > + i = randint(0, len(configs) - 1) > + toolchainconfig = configs[i] > + else: > + toolchainconfig = [] Wow, you lost me here. The commit message says "for randomizing *additional* toolchain settings", so I assumed that it would still use a toolchainfile but allow randomizing other options. And I don't see a problem with that. We just have to first run randconfig, and apply the toolchain config after that. And I think we can do that unconditionally, even. It would require a little bit of testing (basically iterating over all the toolchain configs and checking that a valid config can still be generated for each of them) but can be deployed pretty much as is I think. I agree though that it's more work to do that than the current patch, so perhaps this is a good first step. > > configlines = list(toolchainconfig) > > @@ -409,19 +416,22 @@ def gen_config(args): > bounded_loop -= 1 > subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > "KCONFIG_PROBABILITY=%d" % randint(1, 20), > - "randpackageconfig"]) > + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > > if fixup_config(sysinfo, configfile): I think the control flow is easier to follow if we change this into if not fixup_config: continue > - break > - > - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > - "olddefconfig"]) > + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > + "olddefconfig"]): > + continue > > - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > - "savedefconfig"]) > + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > + "savedefconfig"]): This one should simply never fail, so it should move outside of the loop, after checking dependencies. Regards, Arnout > + continue > > - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > - "dependencies"]) > + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > + "dependencies"]): > + continue > + break > + return 0 > > > if __name__ == '__main__': > @@ -433,10 +443,18 @@ if __name__ == '__main__': > parser.add_argument("--buildrootdir", "-b", > help="Buildroot directory (relative to current directory)", > type=str, default='.') > - parser.add_argument("--toolchains-csv", > - help="Path of the toolchain configuration file", > - type=str, > - default="support/config-fragments/autobuild/toolchain-configs.csv") > + > + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > + toolchains_csv.add_argument("--toolchains-csv", > + dest="toolchains_csv", > + help="Path of the toolchain configuration file", > + type=str) > + toolchains_csv.add_argument("--no-toolchains-csv", > + dest="toolchains_csv", > + help="Generate random toolchain configuration", > + action='store_false') > + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > + > args = parser.parse_args() > > # We need the absolute path to use with O=, because the relative From arnout at mind.be Sat Apr 2 17:08:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 2 Apr 2022 19:08:32 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> Message-ID: <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> On 01/04/2022 13:34, David Laight wrote: > From: Jason A. Donenfeld >> Sent: 01 April 2022 12:05 >> >> On 4/1/22, James Hilliard wrote: >>> I should add that I do also think this should be upstreamed to busybox, >>> which >>> will also reduce the amount of duplicate work as busybox is commonly used >>> across many distros. >> >> I'll work on that. +1 to have it in busybox. >> And hopefully David won't sabotage it with his >> "it's only 10 lines!" stuff. > > :-) > > Busybox tends to care about code size. Yes, but if it's not overly bloated, it's not going to be blocker for initial inclusion. > You really want to roll-up the unrolled loop in blakes2. > Performance really doesn't matter here. AFAIU (but neither the commit message nor the seedrng about page explain it) the Blake2 algorithm was simply chosen because it's small. Any hash function should be fine. There's sha1, sha2 and sha3 in libbb, so I guess one of them should have all the desired properties. > In any case, don't new kernels just 'stir' the new entropy into > input pool? > So feeding in non-random data doesn't really make the output > any worse? > So you could add the saved entropy, force a reseed of the output > generator, and then save data from /dev/urandom - which now > contains any entropy collected since boot and the saved seed. > No need for any cryprographic code in userspace?? This is explained in commit f0986de551f46e72268857fd817986e9be697cd0. TL;DR: the kernel actually does make the output worse if there's not much entropy available. Also, seedrng makes sure that it's powerfail safe. If power is interrupted at any point in time, we have not lost entropy. Regards, Arnout > The old kernel code is just too horrid to think about. > IIRC the output generator is just and xor of several LFSR > and so is completely and trivially reversable. > (One of the random number generators did that.) > And the input pool tries to count bits in and out instead > of 'stirring' input data into some data structure. > So feed it non-random data and it discards the old random > data it had. > > How much state does the blakes2 input pool have? > I'd have thought you'd want the input pool to have > much more state than the output generator? > > David > > - > Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK > Registration No: 1397386 (Wales) > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Sat Apr 2 17:11:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 2 Apr 2022 19:11:35 +0200 Subject: [Buildroot] [PATCH v12 06/11] package/libclc: bump version to 13.0.1 In-Reply-To: References: <20220322232224.2842266-1-james.hilliard1@gmail.com> <20220322232224.2842266-6-james.hilliard1@gmail.com> Message-ID: <4ac4b8c5-875c-5559-7042-d7a87b42aa60@mind.be> On 31/03/2022 23:38, James Hilliard wrote: > On Thu, Mar 31, 2022 at 2:50 PM Romain Naour wrote: >> >> Hi James, >> [snip] >> Ideally, llvm/clang should be updated to 13.0.1 first (or to the latest version >> if possible). > > There were some issues with lld in anything newer than 11.1.0, see: > https://lore.kernel.org/buildroot/20220131015937.4113728-1-james.hilliard1 at gmail.com/ > https://bugs.llvm.org/show_bug.cgi?id=49228 To me that looks trivial to solve: we need to package libunwind (call it llvm-libunwind because we already have a libunwind package) and make lld depend on it. The CMakeLists.txt adds an include path that doesn't exist, but I think that will get silently ignored. Regards, Arnout > > So I held off on going beyond 11.1.0 for now due to that. [snip] From fontaine.fabrice at gmail.com Sat Apr 2 17:10:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 19:10:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireshark: needs C++ Message-ID: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From yann.morin.1998 at free.fr Sat Apr 2 17:14:17 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:14:17 +0200 Subject: [Buildroot] [git commit] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats Message-ID: <20220402170813.D493E823A2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bd1798ad959a901ccf5009b0c199fa5470912cc2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master pkg-stats currently uses the services from support/scripts/cpedb.py to match the CPE identifiers of packages with the official CPE database. Unfortunately, the cpedb.py code uses regular ElementTree parsing, which involves loading the full XML tree into memory. This causes the pkg-stats process to consume a huge amount of memory: thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats process. This is causing the OOM killer to kick-in on machines with relatively low memory. This commit reimplements the XML parsing needed to do the CPE matching directly in pkg-stats, using the XmlParser functionality of ElementTree, also called "streaming parsing". Thanks to this, we never load the entire XML tree in RAM, but only stream it through the parser, and construct a very simple list of all CPE identifiers. The max memory consumption of pkg-stats is now: thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. The JSON output of pkg-stats for the full package set, before and after this commit, is exactly identical. Now, one will probably wonder why this isn't directly changed in cpedb.py. The reason is simple: cpedb.py is also used by support/scripts/missing-cpe, which (for now) heavily relies on having in memory the ElementTree objects, to re-generate a snippet of XML that allows us to submit to NIST new CPE entries. So, future work could include one of those two options: (1) Re-integrate cpedb.py into missing-cpe directly, and live with two different ways of processing the CPE database. (2) Rewrite the missing-cpe logic to also be compatible with a streaming parsing, which would allow this logic to be again shared between pkg-stats and missing-cpe. Signed-off-by: Thomas Petazzoni [yann.morin.1998 at free.fr: - add missing import of requests - import CPEDB_URL from cpedb, instead of duplicating it - fix flake8 errors ] Signed-off-by: Yann E. MORIN --- support/scripts/pkg-stats | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ae1a9aa5e4..f67be0063f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -27,12 +27,16 @@ import re import subprocess import json import sys +import time +import gzip +import xml.etree.ElementTree +import requests brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) sys.path.append(os.path.join(brpath, "utils")) from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 +from cpedb import CPEDB_URL # noqa: E402 INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") URL_RE = re.compile(r"\s*https?://\S*\s*$") @@ -624,12 +628,41 @@ def check_package_cves(nvd_path, packages): def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() + class CpeXmlParser: + cpes = [] + + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + + def close(self): + return self.cpes + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + for p in packages: if not p.cpeid: continue - if cpedb.find(p.cpeid): + if p.cpeid in cpes: p.status['cpe'] = ("ok", "verified CPE identifier") else: p.status['cpe'] = ("error", "CPE version unknown in CPE database") From yann.morin.1998 at free.fr Sat Apr 2 17:20:12 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:20:12 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> Message-ID: <20220402172012.GB1811301@scaer> Thomas, All, On 2022-04-02 16:15 +0200, Thomas Petazzoni via buildroot spake thusly: > pkg-stats currently uses the services from support/scripts/cpedb.py to > match the CPE identifiers of packages with the official CPE database. > > Unfortunately, the cpedb.py code uses regular ElementTree parsing, > which involves loading the full XML tree into memory. This causes the > pkg-stats process to consume a huge amount of memory: > > thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats > > So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats > process. This is causing the OOM killer to kick-in on machines with > relatively low memory. > > This commit reimplements the XML parsing needed to do the CPE matching > directly in pkg-stats, using the XmlParser functionality of > ElementTree, also called "streaming parsing". Thanks to this, we never > load the entire XML tree in RAM, but only stream it through the > parser, and construct a very simple list of all CPE identifiers. The > max memory consumption of pkg-stats is now: > > thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats > > So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. > > Now, one will probably wonder why this isn't directly changed in > cpedb.py. The reason is simple: cpedb.py is also used by > support/scripts/missing-cpe, which (for now) heavily relies on having > in memory the ElementTree objects, to re-generate a snippet of XML > that allows us to submit to NIST new CPE entries. > > So, future work could include one of those two options: > > (1) Re-integrate cpedb.py into missing-cpe directly, and live with > two different ways of processing the CPE database. > > (2) Rewrite the missing-cpe logic to also be compatible with a > streaming parsing, which would allow this logic to be again > shared between pkg-stats and missing-cpe. > > Signed-off-by: Thomas Petazzoni > --- > support/scripts/pkg-stats | 39 +++++++++++++++++++++++++++++++++++---- > 1 file changed, 35 insertions(+), 4 deletions(-) > > diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats > index ae1a9aa5e4..cc163ebb1a 100755 > --- a/support/scripts/pkg-stats > +++ b/support/scripts/pkg-stats > @@ -27,12 +27,14 @@ import re > import subprocess > import json > import sys > +import time > +import gzip > +import xml.etree.ElementTree You for to import requests, which is used later on. I also fixed a bunch of flake8 issues: support/scripts/pkg-stats:49:1: E302 expected 2 blank lines, found 1 support/scripts/pkg-stats:632:9: E306 expected 1 blank line before a nested definition, found 0 support/scripts/pkg-stats:635:9: E306 expected 1 blank line before a nested definition, found 0 support/scripts/pkg-stats:639:5: E303 too many blank lines (2) 1 E302 expected 2 blank lines, found 1 1 E303 too many blank lines (2) 2 E306 expected 1 blank line before a nested definition, found 0 > brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) > > sys.path.append(os.path.join(brpath, "utils")) > from getdeveloperlib import parse_developers # noqa: E402 > -from cpedb import CPEDB # noqa: E402 > > INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") > URL_RE = re.compile(r"\s*https?://\S*\s*$") > @@ -42,6 +44,7 @@ RM_API_STATUS_FOUND_BY_DISTRO = 2 > RM_API_STATUS_FOUND_BY_PATTERN = 3 > RM_API_STATUS_NOT_FOUND = 4 > > +CPEDB_URL = "https://static.nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml.gz" Instead of duplicating it here, I changed that to import it from cpedb. Applied to master with all the aboved fixed, thanks. Regards, Yann E. MORIN. > class Defconfig: > def __init__(self, name, path): > @@ -624,12 +627,40 @@ def check_package_cves(nvd_path, packages): > > > def check_package_cpes(nvd_path, packages): > - cpedb = CPEDB(nvd_path) > - cpedb.get_xml_dict() > + class CpeXmlParser: > + cpes = [] > + def start(self, tag, attrib): > + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": > + self.cpes.append(attrib['name']) > + def close(self): > + return self.cpes > + > + > + print("CPE: Setting up NIST dictionary") > + if not os.path.exists(os.path.join(nvd_path, "cpe")): > + os.makedirs(os.path.join(nvd_path, "cpe")) > + > + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) > + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: > + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") > + cpe_dict = requests.get(CPEDB_URL) > + open(cpe_dict_local, "wb").write(cpe_dict.content) > + > + print("CPE: Unzipping xml manifest...") > + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) > + > + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) > + while True: > + c = nist_cpe_file.read(1024*1024) > + if not c: > + break > + parser.feed(c) > + cpes = parser.close() > + > for p in packages: > if not p.cpeid: > continue > - if cpedb.find(p.cpeid): > + if p.cpeid in cpes: > p.status['cpe'] = ("ok", "verified CPE identifier") > else: > p.status['cpe'] = ("error", "CPE version unknown in CPE database") > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Apr 2 17:21:57 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:21:57 +0200 Subject: [Buildroot] [git commit] package: replace git:// URLs with https:// URLs where possible Message-ID: <20220402171308.A53B2838BF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6626bf7c5fc1f5f47fcade03090de212a6121db3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Replace the remaining git:// URLs with their https:// equivalents as this is more secure and also more palatable to corporate firewalls. Signed-off-by: Markus Mayer [yann.morin.1998 at free.fr: convert dahdi-linux too] Signed-off-by: Yann E. MORIN --- boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- package/aer-inject/aer-inject.mk | 3 ++- package/dahdi-linux/dahdi-linux.mk | 3 ++- package/firmware-utils/firmware-utils.mk | 3 ++- package/flashbench/flashbench.mk | 3 ++- package/mmc-utils/mmc-utils.mk | 3 ++- package/mxsldr/mxsldr.mk | 3 ++- package/open62541/open62541.mk | 2 +- package/pahole/pahole.mk | 2 +- package/psplash/psplash.mk | 3 ++- package/rtc-tools/rtc-tools.mk | 3 ++- package/rtmpdump/rtmpdump.mk | 3 ++- package/sox/sox.mk | 2 +- package/tftpd/tftpd.mk | 3 ++- package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- 15 files changed, 26 insertions(+), 15 deletions(-) diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk index 3a1af9b02c..30b352f8e7 100644 --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -5,7 +5,8 @@ ################################################################################ BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk index 72495bbea2..6bc9cb44da 100644 --- a/package/aer-inject/aer-inject.mk +++ b/package/aer-inject/aer-inject.mk @@ -5,7 +5,8 @@ ################################################################################ AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git AER_INJECT_LICENSE = GPL-2.0 AER_INJECT_LICENSE_FILES = README AER_INJECT_DEPENDENCIES = host-flex host-bison diff --git a/package/dahdi-linux/dahdi-linux.mk b/package/dahdi-linux/dahdi-linux.mk index b9d5911953..93124f0e02 100644 --- a/package/dahdi-linux/dahdi-linux.mk +++ b/package/dahdi-linux/dahdi-linux.mk @@ -5,7 +5,8 @@ ################################################################################ DAHDI_LINUX_VERSION = 5c840cf43838e0690873e73409491c392333b3b8 -DAHDI_LINUX_SITE = git://git.asterisk.org/dahdi/linux.git +DAHDI_LINUX_SITE = https://gerrit.asterisk.org/dahdi-linux +DAHDI_LINUX_SITE_METHOD = git # We need to download all those firmware blobs ourselves, otherwise # dahdi-linux will try to download them at install time. diff --git a/package/firmware-utils/firmware-utils.mk b/package/firmware-utils/firmware-utils.mk index 151a01882d..d5b079e4f5 100644 --- a/package/firmware-utils/firmware-utils.mk +++ b/package/firmware-utils/firmware-utils.mk @@ -5,7 +5,8 @@ ################################################################################ FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 -FIRMWARE_UTILS_SITE = git://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE_METHOD = git FIRMWARE_UTILS_LICENSE = \ BSD-2-Clause (tplink-safeloader), \ BSD-3-Clause (seama), \ diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk index e89a250aa3..f5791c3e95 100644 --- a/package/flashbench/flashbench.mk +++ b/package/flashbench/flashbench.mk @@ -5,7 +5,8 @@ ################################################################################ FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git FLASHBENCH_LICENSE = GPL-2.0 FLASHBENCH_LICENSE_FILES = COPYING diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 8c264a454a..c847378692 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -5,7 +5,8 @@ ################################################################################ MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk index 239b40ad29..2375b9f42b 100644 --- a/package/mxsldr/mxsldr.mk +++ b/package/mxsldr/mxsldr.mk @@ -5,7 +5,8 @@ ################################################################################ MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git MXSLDR_LICENSE = GPL-2.0+ MXSLDR_LICENSE_FILES = COPYING HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index fb28a614e2..627c29e95b 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -6,7 +6,7 @@ OPEN62541_VERSION = v1.2.2 OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git +OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index 1ad937062d..da6d67e6a2 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -5,7 +5,7 @@ ################################################################################ PAHOLE_VERSION = v1.23 -PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git PAHOLE_SITE_METHOD = git # pahole contains git submodule and relies on them to be built. PAHOLE_GIT_SUBMODULES = YES diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index 5e61f2392f..69f9bf386d 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -5,7 +5,8 @@ ################################################################################ PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d -PSPLASH_SITE = git://git.yoctoproject.org/psplash +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git PSPLASH_LICENSE = GPL-2.0+ PSPLASH_LICENSE_FILES = COPYING PSPLASH_AUTORECONF = YES diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk index 2ef850a81f..2882c88575 100644 --- a/package/rtc-tools/rtc-tools.mk +++ b/package/rtc-tools/rtc-tools.mk @@ -5,7 +5,8 @@ ################################################################################ RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git RTC_TOOLS_LICENSE = GPL-2.0 RTC_TOOLS_LICENSE_FILES = COPYING diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index db79a796dc..fb381d0e10 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -5,7 +5,8 @@ ################################################################################ RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git RTMPDUMP_INSTALL_STAGING = YES # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only # care about librtmp, it's LGPL-2.1+ diff --git a/package/sox/sox.mk b/package/sox/sox.mk index 4b09b94bc3..1896437ad4 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -5,7 +5,7 @@ ################################################################################ SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code +SOX_SITE = https://git.code.sf.net/p/sox/code SOX_SITE_METHOD = git SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 42b5f17821..ceac24119e 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -5,7 +5,8 @@ ################################################################################ TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git TFTPD_CONF_OPTS = --without-tcpwrappers TFTPD_LICENSE = BSD-4-Clause TFTPD_LICENSE_FILES = tftpd/tftpd.c diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk index 722c4655cd..a5f3a82609 100644 --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -5,7 +5,7 @@ ################################################################################ WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git WILINK_BT_FIRMWARE_SITE_METHOD = git WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Sat Apr 2 17:26:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:26:18 +0200 Subject: [Buildroot] [PATCH] package: replace git:// URLs with https:// URLs where possible In-Reply-To: <20220401215653.1703616-1-mmayer@broadcom.com> References: <20220401215653.1703616-1-mmayer@broadcom.com> Message-ID: <20220402172618.GC1811301@scaer> Markus, All, On 2022-04-01 14:56 -0700, Markus Mayer via buildroot spake thusly: > Replace the remaining git:// URLs with their https:// equivalents as > this is more secure and also more palatable to corporate firewalls. > > This leaves package/dahdi-linux as the sole package still using a > git:// URL for cloning. I was a bit sad to have that one be an outlier, so I checked... I went to the Asterisk gitweb: https://git.asterisk.org/gitweb/ Then I checked the main repository, asterisk: https://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=summary This is labelled as: Mirror of the Asterisk Project (https://gerrit.asterisk.org) So I went there, and noticed: BROWSE -> Repositories And surely there is an entry for dahdi-linux; https://gerrit.asterisk.org/admin/repos/dahdi-linux Which has instructions to download over https: https://gerrit.asterisk.org/dahdi-linux So I migrated that one too. We no longer have git:// downloads now. Woot-woot! \o/ Applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Markus Mayer > --- > boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- > package/aer-inject/aer-inject.mk | 3 ++- > package/firmware-utils/firmware-utils.mk | 3 ++- > package/flashbench/flashbench.mk | 3 ++- > package/mmc-utils/mmc-utils.mk | 3 ++- > package/mxsldr/mxsldr.mk | 3 ++- > package/open62541/open62541.mk | 2 +- > package/pahole/pahole.mk | 2 +- > package/psplash/psplash.mk | 3 ++- > package/rtc-tools/rtc-tools.mk | 3 ++- > package/rtmpdump/rtmpdump.mk | 3 ++- > package/sox/sox.mk | 2 +- > package/tftpd/tftpd.mk | 3 ++- > package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- > 14 files changed, 24 insertions(+), 14 deletions(-) > > diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk > index 3a1af9b02c7e..30b352f8e7df 100644 > --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk > +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a > -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git > +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git > +BOOT_WRAPPER_AARCH64_SITE_METHOD = git > BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause > BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt > BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux > diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk > index 72495bbea26a..6bc9cb44da74 100644 > --- a/package/aer-inject/aer-inject.mk > +++ b/package/aer-inject/aer-inject.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 > -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git > +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git > +AER_INJECT_SITE_METHOD = git > AER_INJECT_LICENSE = GPL-2.0 > AER_INJECT_LICENSE_FILES = README > AER_INJECT_DEPENDENCIES = host-flex host-bison > diff --git a/package/firmware-utils/firmware-utils.mk b/package/firmware-utils/firmware-utils.mk > index 151a01882d71..d5b079e4f5a7 100644 > --- a/package/firmware-utils/firmware-utils.mk > +++ b/package/firmware-utils/firmware-utils.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 > -FIRMWARE_UTILS_SITE = git://git.openwrt.org/project/firmware-utils.git > +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git > +FIRMWARE_UTILS_SITE_METHOD = git > FIRMWARE_UTILS_LICENSE = \ > BSD-2-Clause (tplink-safeloader), \ > BSD-3-Clause (seama), \ > diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk > index e89a250aa31a..f5791c3e95b6 100644 > --- a/package/flashbench/flashbench.mk > +++ b/package/flashbench/flashbench.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 > -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git > +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git > +FLASHBENCH_SITE_METHOD = git > FLASHBENCH_LICENSE = GPL-2.0 > FLASHBENCH_LICENSE_FILES = COPYING > > diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk > index 8c264a454a33..c84737869264 100644 > --- a/package/mmc-utils/mmc-utils.mk > +++ b/package/mmc-utils/mmc-utils.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 > -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git > +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git > +MMC_UTILS_SITE_METHOD = git > MMC_UTILS_LICENSE = GPL-2.0 > MMC_UTILS_LICENSE_FILES = mmc.h > > diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk > index 239b40ad29af..2375b9f42b59 100644 > --- a/package/mxsldr/mxsldr.mk > +++ b/package/mxsldr/mxsldr.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 > -MXSLDR_SITE = git://git.denx.de/mxsldr.git > +MXSLDR_SITE = https://git.denx.de/mxsldr.git > +MXSLDR_SITE_METHOD = git > MXSLDR_LICENSE = GPL-2.0+ > MXSLDR_LICENSE_FILES = COPYING > HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf > diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk > index fb28a614e2a7..627c29e95b6c 100644 > --- a/package/open62541/open62541.mk > +++ b/package/open62541/open62541.mk > @@ -6,7 +6,7 @@ > > OPEN62541_VERSION = v1.2.2 > OPEN62541_SITE_METHOD = git > -OPEN62541_SITE = git://github.com/open62541/open62541.git > +OPEN62541_SITE = https://github.com/open62541/open62541.git > OPEN62541_GIT_SUBMODULES = YES > OPEN62541_INSTALL_STAGING = YES > OPEN62541_LICENSE = MPL-2.0 > diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk > index 1ad937062dfd..da6d67e6a293 100644 > --- a/package/pahole/pahole.mk > +++ b/package/pahole/pahole.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > PAHOLE_VERSION = v1.23 > -PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git > +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git > PAHOLE_SITE_METHOD = git > # pahole contains git submodule and relies on them to be built. > PAHOLE_GIT_SUBMODULES = YES > diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk > index 5e61f2392f78..69f9bf386da0 100644 > --- a/package/psplash/psplash.mk > +++ b/package/psplash/psplash.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d > -PSPLASH_SITE = git://git.yoctoproject.org/psplash > +PSPLASH_SITE = https://git.yoctoproject.org/psplash > +PSPLASH_SITE_METHOD = git > PSPLASH_LICENSE = GPL-2.0+ > PSPLASH_LICENSE_FILES = COPYING > PSPLASH_AUTORECONF = YES > diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk > index 2ef850a81f60..2882c88575d3 100644 > --- a/package/rtc-tools/rtc-tools.mk > +++ b/package/rtc-tools/rtc-tools.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 > -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git > +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git > +RTC_TOOLS_SITE_METHOD = git > RTC_TOOLS_LICENSE = GPL-2.0 > RTC_TOOLS_LICENSE_FILES = COPYING > > diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk > index db79a796dcac..fb381d0e1048 100644 > --- a/package/rtmpdump/rtmpdump.mk > +++ b/package/rtmpdump/rtmpdump.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 > -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump > +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump > +RTMPDUMP_SITE_METHOD = git > RTMPDUMP_INSTALL_STAGING = YES > # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only > # care about librtmp, it's LGPL-2.1+ > diff --git a/package/sox/sox.mk b/package/sox/sox.mk > index 4b09b94bc3e3..1896437ad4c7 100644 > --- a/package/sox/sox.mk > +++ b/package/sox/sox.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e > -SOX_SITE = git://git.code.sf.net/p/sox/code > +SOX_SITE = https://git.code.sf.net/p/sox/code > SOX_SITE_METHOD = git > SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf > SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) > diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk > index 42b5f17821ad..ceac24119eb4 100644 > --- a/package/tftpd/tftpd.mk > +++ b/package/tftpd/tftpd.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 > -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git > +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git > +TFTPD_SITE_METHOD = git > TFTPD_CONF_OPTS = --without-tcpwrappers > TFTPD_LICENSE = BSD-4-Clause > TFTPD_LICENSE_FILES = tftpd/tftpd.c > diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk > index 722c4655cd75..a5f3a826090b 100644 > --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk > +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 > -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git > +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git > WILINK_BT_FIRMWARE_SITE_METHOD = git > WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY > WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Apr 2 17:28:56 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:28:56 +0200 Subject: [Buildroot] [git commit] package/apr-util: change URL from http to https Message-ID: <20220402172009.5B74C841D2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=15f76e16b30aa7555aa84c71b42bfda69c5ebda7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- package/apr-util/Config.in | 2 +- package/apr-util/apr-util.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in index 6c5e3bbdf5..c1a967bdec 100644 --- a/package/apr-util/Config.in +++ b/package/apr-util/Config.in @@ -8,7 +8,7 @@ config BR2_PACKAGE_APR_UTIL help The utility library for the apache runtime project - http://apr.apache.org/ + https://apr.apache.org comment "apr-util needs a toolchain w/ dynamic library" depends on BR2_USE_MMU diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index cf8407ced0..fb0735f5e7 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -6,7 +6,7 @@ APR_UTIL_VERSION = 1.6.1 APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2 -APR_UTIL_SITE = http://archive.apache.org/dist/apr +APR_UTIL_SITE = https://archive.apache.org/dist/apr APR_UTIL_LICENSE = Apache-2.0 APR_UTIL_LICENSE_FILES = LICENSE APR_UTIL_CPE_ID_VENDOR = apache From yann.morin.1998 at free.fr Sat Apr 2 17:28:20 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:28:20 +0200 Subject: [Buildroot] [git commit] package/apr: change URL from http to https Message-ID: <20220402172009.4D5328417C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=05f1a88f4979fda312264e0492d5892ddc9674d2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- package/apr/Config.in | 2 +- package/apr/apr.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apr/Config.in b/package/apr/Config.in index 67de925474..4606fc5378 100644 --- a/package/apr/Config.in +++ b/package/apr/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_APR predictable and consistent interface to underlying platform-specific implementations - http://apr.apache.org/ + https://apr.apache.org comment "apr needs a toolchain w/ dynamic library" depends on BR2_USE_MMU diff --git a/package/apr/apr.mk b/package/apr/apr.mk index c45829aacc..7ff2c007b4 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -6,7 +6,7 @@ APR_VERSION = 1.7.0 APR_SOURCE = apr-$(APR_VERSION).tar.bz2 -APR_SITE = http://archive.apache.org/dist/apr +APR_SITE = https://archive.apache.org/dist/apr APR_LICENSE = Apache-2.0 APR_LICENSE_FILES = LICENSE APR_CPE_ID_VENDOR = apache From yann.morin.1998 at free.fr Sat Apr 2 17:30:30 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:30:30 +0200 Subject: [Buildroot] [PATCH v1 1/4] package/apr: change download url from http to https In-Reply-To: <20220401180520.15772-1-ps.report@gmx.net> References: <20220401180520.15772-1-ps.report@gmx.net> Message-ID: <20220402173030.GD1811301@scaer> Peter, All, On 2022-04-01 20:05 +0200, Peter Seiderer spake thusly: > - change download url from http to https A commit log that jsut repeats the commit title is useless, so I dropped it. I also squashed together commits refering to the same package. Series applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Peter Seiderer > --- > package/apr/apr.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/apr/apr.mk b/package/apr/apr.mk > index c45829aacc..7ff2c007b4 100644 > --- a/package/apr/apr.mk > +++ b/package/apr/apr.mk > @@ -6,7 +6,7 @@ > > APR_VERSION = 1.7.0 > APR_SOURCE = apr-$(APR_VERSION).tar.bz2 > -APR_SITE = http://archive.apache.org/dist/apr > +APR_SITE = https://archive.apache.org/dist/apr > APR_LICENSE = Apache-2.0 > APR_LICENSE_FILES = LICENSE > APR_CPE_ID_VENDOR = apache > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From nealf at xilinx.com Sat Apr 2 18:11:01 2022 From: nealf at xilinx.com (Neal Frager) Date: Sat, 2 Apr 2022 18:11:01 +0000 Subject: [Buildroot] buildroot xilinx zynq_xxx_defconfigs In-Reply-To: <1e1b5ec1-6fce-a8b8-d2e8-db5cd5f923fd@lucaceresoli.net> References: <1e1b5ec1-6fce-a8b8-d2e8-db5cd5f923fd@lucaceresoli.net> Message-ID: <53FB2DCD-5FFD-4E9D-8868-2470FEFA9E90@xilinx.com> Hi Luca, Le 2 avr. 2022 ? 16:33, Luca Ceresoli a ?crit : ?CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Hi, I recommend to write this kind on question on the mailing list. You would probably get faster replies than I can do and also other people would benefit. On 31/03/22 18:03, Neal Frager wrote: Hi Luca, Peter, Now that the zynqmp defconfigs have been bumped to a newer version of our software, I am thinking we should probably bump the zynq defconfigs as well. As there is no PMU firmware, it is a much easier job. However, of the 4 boards in buildroot, I only have a zc706 for testing. The problem is I will need to touch the files in the board/zynq directory, so if I bump the zc706, I really need to bump all 4 board defconfigs to avoid build failures on the other boards. Do either of you have the zynq microzed, qmtech or zed boards for testing? If not, are you ok with updating all 4 defconfigs assuming 3 of them will only be build tested? What are your thoughts? Thanks for taking initiative to upgrade these defconfigs! I used to have access to a ZedBoard, but unfortunately I cannot access any of those boards anymore. However I would expect them to be extremely similar with respect to booting: they are [variants of] the same SoC and thus they have the same boot flow, and definitely they all are connected to allow SD boot. Thus I think it is absolutely reasonable if you update all of them, checking all details carefully, build-test all of them and runtime-test at least one on real hardware. At least it's what I have been doing in the past: you can have a look at 'git log -3 014e97032465', as you can see I did Run-time test one and Build-test the others. Regards, -- Luca Thank you for your positive feedback. I have submitted a first patch which will make updating the zynq defconfigs easier. I should have copied you on this, but since you are not responsible for the qmtech defconfig, the tool did not automatically add in your email address. Anyway, I have an issue with the qmtech board because the device tree is not in mainline. As I do not have a qmtech board to test, I would prefer to avoid touching the qmtech device tree, so it can work with a newer version of software. The following patch isolates the qmtech board, so that I can update the other 3 zynq defconfigs without touching the qmtech defconfig. Could you have a look and provide your feedback? https://patchwork.ozlabs.org/project/buildroot/patch/20220331192030.3871720-1-neal.frager at amd.com/ Best regards, Neal Frager AMD -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.hilliard1 at gmail.com Sat Apr 2 18:13:29 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 2 Apr 2022 12:13:29 -0600 Subject: [Buildroot] [PATCH v12 06/11] package/libclc: bump version to 13.0.1 In-Reply-To: <4ac4b8c5-875c-5559-7042-d7a87b42aa60@mind.be> References: <20220322232224.2842266-1-james.hilliard1@gmail.com> <20220322232224.2842266-6-james.hilliard1@gmail.com> <4ac4b8c5-875c-5559-7042-d7a87b42aa60@mind.be> Message-ID: On Sat, Apr 2, 2022 at 11:11 AM Arnout Vandecappelle wrote: > > > > On 31/03/2022 23:38, James Hilliard wrote: > > On Thu, Mar 31, 2022 at 2:50 PM Romain Naour wrote: > >> > >> Hi James, > >> > [snip] > >> Ideally, llvm/clang should be updated to 13.0.1 first (or to the latest version > >> if possible). > > > > There were some issues with lld in anything newer than 11.1.0, see: > > https://lore.kernel.org/buildroot/20220131015937.4113728-1-james.hilliard1 at gmail.com/ > > https://bugs.llvm.org/show_bug.cgi?id=49228 > > To me that looks trivial to solve: we need to package libunwind (call it > llvm-libunwind because we already have a libunwind package) and make lld depend > on it. The CMakeLists.txt adds an include path that doesn't exist, but I think > that will get silently ignored. I think fixing it was a bit tricky due to conflicting dependencies or something, since it works with 11.1.0 I'd say best just do this upgrade first and update to newer versions after. > > Regards, > Arnout > > > > > So I held off on going beyond 11.1.0 for now due to that. > [snip] From james.hilliard1 at gmail.com Sat Apr 2 18:42:51 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 2 Apr 2022 12:42:51 -0600 Subject: [Buildroot] [PATCH v2 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220402184251.532287-1-james.hilliard1@gmail.com> Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Signed-off-by: James Hilliard --- Changes v1 -> v2: - refactor fixup_config control flow --- utils/genrandconfig | 54 +++++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 17 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..d6b5e0be23 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +335,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,19 +416,24 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) - if fixup_config(sysinfo, configfile): - break + if not fixup_config(sysinfo, configfile): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "olddefconfig"]): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "savedefconfig"]): + continue - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "dependencies"]): + continue + break + return 0 if __name__ == '__main__': @@ -433,10 +445,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 18:58:33 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 2 Apr 2022 12:58:33 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> Message-ID: On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: > > Hi James, > > On 02/04/2022 03:05, James Hilliard wrote: > > Currently we only test a limited set of toolchains that are mostly > > prebuilt, add a flag to allow using randconfig for randomizing > > additional toolchain settings instead of randpackageconfig. > > Oooh, it's been on my wishlist for a loooong time to use randconfig instead of > randpackageconfig in the autobuilders... > > > > > To avoid invalid configs we need to add additional config validation > > filtering and fixups. > > I guess the following 4 patches are supposed to do that? Please keep them > together in a series in the future. I would say those are more bugs that this patch revealed, the config validation filtering+fixups I'm referring to are just the ones in this patch. > > > > > Signed-off-by: James Hilliard > > --- > > utils/genrandconfig | 52 ++++++++++++++++++++++++++++++--------------- > > 1 file changed, 35 insertions(+), 17 deletions(-) > > > > diff --git a/utils/genrandconfig b/utils/genrandconfig > > index 3483d55c14..1e72e14461 100755 > > --- a/utils/genrandconfig > > +++ b/utils/genrandconfig > > @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): > > configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > > configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > > > > + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > > + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > > I don't understand why for this particular one you remove it explicitly, while > for other cases you rely (I guess) on the dependency check to make sure we get a > valid config (eventually). Others were missing the empty string config for matching against so this approach didn't seem to work there. > > Also, I think the proper approach for dealing with required string options is > to give them a default value in support/config-fragments/minimal.config. Unlike > the toolchainfile, the configlines in minimal.config don't all need to be > present in the final .config, so we can add stuff there that is only available > if the appropriate boolean option gets selected randomly. Well most of these empty strings need to have a config option removed/filtered IMO. > > > + > > with open(configfile, "w+") as configf: > > configf.writelines(configlines) > > > > @@ -331,11 +335,14 @@ def gen_config(args): > > > > sysinfo = SystemInfo() > > > > - # Select a random toolchain configuration > > - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > + if args.toolchains_csv: > > + # Select a random toolchain configuration > > + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > > > - i = randint(0, len(configs) - 1) > > - toolchainconfig = configs[i] > > + i = randint(0, len(configs) - 1) > > + toolchainconfig = configs[i] > > + else: > > + toolchainconfig = [] > > Wow, you lost me here. The commit message says "for randomizing *additional* > toolchain settings", so I assumed that it would still use a toolchainfile but > allow randomizing other options. Well currently toolchains selection is randomized based on the toolchain csv, this randomizes additional toolchain settings beyond the toolchain csv. > > And I don't see a problem with that. We just have to first run randconfig, and > apply the toolchain config after that. This is deliberately not using the toolchain configs as I'm trying to test randomizing toolchains themselves here. > > And I think we can do that unconditionally, even. It would require a little > bit of testing (basically iterating over all the toolchain configs and checking > that a valid config can still be generated for each of them) but can be deployed > pretty much as is I think. I think this is more an alternative to the toolchain random selection, this random method is kinda experimental at the moment IMO so I've kept the codepaths separate. > > I agree though that it's more work to do that than the current patch, so > perhaps this is a good first step. Yeah, best to do this incrementally IMO, since this is revealing issues already in the autobuilder relating to config validation I'm running this on: http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 Note that this autobuilder is an aarch64(running https://asahilinux.org/) host so it doesn't use the prebuilt toolchains. > > > > > configlines = list(toolchainconfig) > > > > @@ -409,19 +416,22 @@ def gen_config(args): > > bounded_loop -= 1 > > subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > "KCONFIG_PROBABILITY=%d" % randint(1, 20), > > - "randpackageconfig"]) > > + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > > > > if fixup_config(sysinfo, configfile): > > I think the control flow is easier to follow if we change this into > > if not fixup_config: > continue Changed in v2: https://patchwork.ozlabs.org/project/buildroot/patch/20220402184251.532287-1-james.hilliard1 at gmail.com/ > > > - break > > - > > - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > - "olddefconfig"]) > > + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > + "olddefconfig"]): > > + continue > > > > - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > - "savedefconfig"]) > > + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > + "savedefconfig"]): > > This one should simply never fail, so it should move outside of the loop, > after checking dependencies. I just tested that this can fail so I've kept it in the loop for now. > > > Regards, > Arnout > > > > + continue > > > > - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > - "dependencies"]) > > + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > + "dependencies"]): > > + continue > > + break > > + return 0 > > > > > > if __name__ == '__main__': > > @@ -433,10 +443,18 @@ if __name__ == '__main__': > > parser.add_argument("--buildrootdir", "-b", > > help="Buildroot directory (relative to current directory)", > > type=str, default='.') > > - parser.add_argument("--toolchains-csv", > > - help="Path of the toolchain configuration file", > > - type=str, > > - default="support/config-fragments/autobuild/toolchain-configs.csv") > > + > > + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > > + toolchains_csv.add_argument("--toolchains-csv", > > + dest="toolchains_csv", > > + help="Path of the toolchain configuration file", > > + type=str) > > + toolchains_csv.add_argument("--no-toolchains-csv", > > + dest="toolchains_csv", > > + help="Generate random toolchain configuration", > > + action='store_false') > > + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > > + > > args = parser.parse_args() > > > > # We need the absolute path to use with O=, because the relative From fontaine.fabrice at gmail.com Sat Apr 2 20:01:18 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 22:01:18 +0200 Subject: [Buildroot] [PATCH 1/1] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS Message-ID: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid the following build failure when GO_GOARCH is empty (e.g. on mips32) raised since the addition of the package in commmit ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' Usage: sloci-image [options] ROOTFS NAME[:TAG] sloci-image [-h | -V] Create a single-layer OCI image with the given rootfs. Arguments: ROOTFS Directory or tar.gz archive with rootfs to pack into the image. Important: Archive will be *moved* to the image, so make a copy if you need it. Directory will be preserved. NAME Name of the image. TAG Tag for the image. Defaults to "latest". Options: -m --arch ARCH CPU architecture which the binaries in this image are built to run on. Defaults to $(uname -m). --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). -a --author NAME Name and/or email address of the person which created the image. -c --cmd CMD Default arguments to the entrypoint of the container. --debug Print debug messages (it can be also enabled with env. variable DEBUG). -C --entrypoint EP Arguments to use as the command to execute when the container starts. -e --env VAR=VAL Default environment variables for container. -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. If KEY starts with a dot, it will be prefixed with "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). --os OS Name of the OS which the image is built to run on. Defaults to "linux". -p --port PORT[/PROT] Default set of ports to expose from a container running this image in format: /tcp, /udp, or (same as /tcp). Aliases: --expose. -t --tar Pack image in a TAR archive. -u --user USER The username or UID of user the process run as. -v --volume PATH Default set of directories describing where the process is likely write data specific to a container instance. -w --working-dir DIR Sets the current working directory of the entrypoint process in the container. -V --version Print version and exit. -h --help Print this message and exit. Please report bugs at . make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 Fixes: - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 Signed-off-by: Fabrice Fontaine --- fs/oci/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/oci/Config.in b/fs/oci/Config.in index 176785810a..8f36c91c8f 100644 --- a/fs/oci/Config.in +++ b/fs/oci/Config.in @@ -1,5 +1,6 @@ config BR2_TARGET_ROOTFS_OCI bool "oci image" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS help Build an OCI (Open Container Initiative) image. -- 2.35.1 From mmayer at broadcom.com Sat Apr 2 20:25:44 2022 From: mmayer at broadcom.com (Markus Mayer) Date: Sat, 2 Apr 2022 13:25:44 -0700 Subject: [Buildroot] [PATCH] package: replace git:// URLs with https:// URLs where possible In-Reply-To: <20220402172618.GC1811301@scaer> References: <20220401215653.1703616-1-mmayer@broadcom.com> <20220402172618.GC1811301@scaer> Message-ID: On Sat, 2 Apr 2022 at 10:26, Yann E. MORIN wrote: > > Markus, All, > > On 2022-04-01 14:56 -0700, Markus Mayer via buildroot spake thusly: > > Replace the remaining git:// URLs with their https:// equivalents as > > this is more secure and also more palatable to corporate firewalls. > > > > This leaves package/dahdi-linux as the sole package still using a > > git:// URL for cloning. > > I was a bit sad to have that one be an outlier, so I checked... > > I went to the Asterisk gitweb: > https://git.asterisk.org/gitweb/ > > Then I checked the main repository, asterisk: > https://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=summary > > This is labelled as: > Mirror of the Asterisk Project (https://gerrit.asterisk.org) > > So I went there, and noticed: > BROWSE -> Repositories > > And surely there is an entry for dahdi-linux; > https://gerrit.asterisk.org/admin/repos/dahdi-linux > > Which has instructions to download over https: > https://gerrit.asterisk.org/dahdi-linux > > So I migrated that one too. We no longer have git:// downloads now. > Woot-woot! \o/ Awesome. Thanks for finding and adding the new URL for dahdi-linux. Regards, -Markus From fontaine.fabrice at gmail.com Sat Apr 2 21:24:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 23:24:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-greenlet: disable cpp test Message-ID: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> Disable cpp test to avoid the following build failure without C++ raised since the addition of the package in commit 826ef33bedc0f2f39a38622f066978cd9cc05226 and https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: powerpc64-buildroot-linux-gnu-gcc.br_real: error: src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb Signed-off-by: Fabrice Fontaine --- package/python-greenlet/python-greenlet.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk index 3b1ef7e314..72d2747970 100644 --- a/package/python-greenlet/python-greenlet.mk +++ b/package/python-greenlet/python-greenlet.mk @@ -10,6 +10,7 @@ PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea PYTHON_GREENLET_SETUP_TYPE = setuptools PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no $(eval $(python-package)) $(eval $(host-python-package)) -- 2.35.1 From f.fainelli at gmail.com Sun Apr 3 02:33:39 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Sat, 2 Apr 2022 19:33:39 -0700 Subject: [Buildroot] [PATCH 0/2] External GCC12 toolchain support In-Reply-To: <20220322222106.42347-1-f.fainelli@gmail.com> References: <20220322222106.42347-1-f.fainelli@gmail.com> Message-ID: <761200bc-18e1-e94f-ae2b-cc874ebbb857@gmail.com> Hi all, On 3/22/2022 3:21 PM, Florian Fainelli wrote: > This patch series allows us to use Linaro's GCC12 snapshot that can be > downloaded from here: > > https://snapshots.linaro.org/gnu-toolchain/12.0-2021.10-1/aarch64-linux-gnu/ Should I be resending this? > > Florian Fainelli (2): > toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option > toolchain/toolchain-external/toolchain-external-custom: add gcc 12 > version selection > > toolchain/Config.in | 11 +++++++++-- > .../toolchain-external-custom/Config.in.options | 4 ++++ > 2 files changed, 13 insertions(+), 2 deletions(-) > -- Florian From David.Laight at ACULAB.COM Sun Apr 3 07:30:23 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Sun, 3 Apr 2022 07:30:23 +0000 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> Message-ID: <2d5e8287df984f16b4b90e8a2921d399@AcuMS.aculab.com> From: Arnout Vandecappelle > Sent: 02 April 2022 18:09 ... > > Busybox tends to care about code size. > > Yes, but if it's not overly bloated, it's not going to be blocker for initial > inclusion. > > > You really want to roll-up the unrolled loop in blakes2. > > Performance really doesn't matter here. > > AFAIU (but neither the commit message nor the seedrng about page explain it) > the Blake2 algorithm was simply chosen because it's small. Any hash function > should be fine. There's sha1, sha2 and sha3 in libbb, so I guess one of them > should have all the desired properties. The unrolled blakes2 is typically 5kb of object code. The unrolled code is better for large buffers, but just fetching the code to the I-cache will significantly affect performance for small buffers. I really ought to sit and measure the cutoff. The code is: +#define G(r, i, a, b, c, d) do { \ + a += b + m[blake2s_sigma[r][2 * i + 0]]; \ + d = ror32(d ^ a, 16); \ + c += d; \ + b = ror32(b ^ c, 12); \ + a += b + m[blake2s_sigma[r][2 * i + 1]]; \ + d = ror32(d ^ a, 8); \ + c += d; \ + b = ror32(b ^ c, 7); \ +} while (0) + +#define ROUND(r) do { \ + G(r, 0, v[0], v[ 4], v[ 8], v[12]); \ + G(r, 1, v[1], v[ 5], v[ 9], v[13]); \ + G(r, 2, v[2], v[ 6], v[10], v[14]); \ + G(r, 3, v[3], v[ 7], v[11], v[15]); \ + G(r, 4, v[0], v[ 5], v[10], v[15]); \ + G(r, 5, v[1], v[ 6], v[11], v[12]); \ + G(r, 6, v[2], v[ 7], v[ 8], v[13]); \ + G(r, 7, v[3], v[ 4], v[ 9], v[14]); \ +} while (0) + ROUND(0); + ROUND(1); + ROUND(2); + ROUND(3); + ROUND(4); + ROUND(5); + ROUND(6); + ROUND(7); + ROUND(8); + ROUND(9); + +#undef G +#undef ROUND Now G() is a 14 instruction register dependency chain. But since each batch of 4 G() is independent the compiler can interleave them - significant on modern cpu. OTOH the 10 ROUND() just advance through blake2s_sigma[]. Unrolling these that is probably not that significant. Especially if the compiler manages to increment the pointer. While modern gcc manage to optimise the array away completely the code isn't constrained by memory accesses so loading from an actual array won't make much difference. On some architectures the constants either take multiple instructions to load, or load from memory anyway. But these bloat that code block by a factor of 10. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From thomas.petazzoni at bootlin.com Sun Apr 3 08:05:38 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 3 Apr 2022 10:05:38 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402172012.GB1811301@scaer> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> <20220402172012.GB1811301@scaer> Message-ID: <20220403100538.538f8a3c@windsurf> Hello Yann, On Sat, 2 Apr 2022 19:20:12 +0200 "Yann E. MORIN" wrote: > > diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats > > index ae1a9aa5e4..cc163ebb1a 100755 > > --- a/support/scripts/pkg-stats > > +++ b/support/scripts/pkg-stats > > @@ -27,12 +27,14 @@ import re > > import subprocess > > import json > > import sys > > +import time > > +import gzip > > +import xml.etree.ElementTree > > You for to import requests, which is used later on. I suppose s/for/forgot/ ? But then how it could have worked for me? Huh. > I also fixed a bunch of flake8 issues: Ah, gah, forgot once again to run flake8, sorry about that. > > +CPEDB_URL = "https://static.nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml.gz" > > Instead of duplicating it here, I changed that to import it from cpedb. ACK. > Applied to master with all the aboved fixed, thanks. Many thanks. Peter, could you backport those patches, or at least PATCH 3/4 and 4/4 to all stable branches still in activity? Indeed, thanks to this fix, the pkg-stats run of this morning on the master branch worked fine, but it failed miserably on the 2021.02.x branch. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Sun Apr 3 08:24:59 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 10:24:59 +0200 Subject: [Buildroot] [git commit] package/pkg-python.mk: fix PEP517 paths Message-ID: <20220403081607.4EA35847BA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5bea8c9521b3fbfdf40030635989064af55cc26c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Use /usr target/staging prefix and / host prefix. This allows the Python interpreter to find packages built via the new Flit infrastructure. Fixes: #14721 Signed-off-by: Emile Cormier Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/pkg-python.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 52ce402281..867341fc7b 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -127,16 +127,16 @@ PKG_PYTHON_PEP517_ENV = \ PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ --interpreter=/usr/bin/python \ --script-kind=posix \ - --purelib=$(TARGET_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(TARGET_DIR)/usr/bin \ --data=$(TARGET_DIR)/usr PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ --interpreter=/usr/bin/python \ --script-kind=posix \ - --purelib=$(STAGING_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(STAGING_DIR)/usr/bin \ --data=$(STAGING_DIR)/usr @@ -147,12 +147,12 @@ HOST_PKG_PYTHON_PEP517_ENV = \ $(HOST_CONFIGURE_OPTS) HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/usr/bin/python \ + --interpreter=/bin/python \ --script-kind=posix \ --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/usr/bin \ - --data=$(HOST_DIR)/usr + --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ + --scripts=$(HOST_DIR)/bin \ + --data=$(HOST_DIR) ################################################################################ # inner-python-package -- defines how the configuration, compilation From yann.morin.1998 at free.fr Sun Apr 3 08:33:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 10:33:18 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/pkg-python.mk: fix PEP517 paths In-Reply-To: <20220330224521.4142504-1-james.hilliard1@gmail.com> References: <20220330224521.4142504-1-james.hilliard1@gmail.com> Message-ID: <20220403083318.GE1811301@scaer> James, Emile, All, On 2022-03-30 16:45 -0600, James Hilliard spake thusly: > From: Emile Cormier > > Use /usr target/staging prefix and / host prefix. > > This allows the Python interpreter to find packages built via the new > Flit infrastructure and fixes bug #14721. Hint: if you reference bug fixes on their own line with: Fixes: #14721 then it automatically gets picked up when doing the release email, and helps closing the referenced bug. > Signed-off-by: Emile Cormier > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Yann E. MORIN. > --- > Changes v1 -> v2: > - fixup formatting > - fix all pep517 prefix paths > --- > package/pkg-python.mk | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 52ce402281..867341fc7b 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -127,16 +127,16 @@ PKG_PYTHON_PEP517_ENV = \ > PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ > --interpreter=/usr/bin/python \ > --script-kind=posix \ > - --purelib=$(TARGET_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > + --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > + --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --scripts=$(TARGET_DIR)/usr/bin \ > --data=$(TARGET_DIR)/usr > > PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ > --interpreter=/usr/bin/python \ > --script-kind=posix \ > - --purelib=$(STAGING_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > + --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > + --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --scripts=$(STAGING_DIR)/usr/bin \ > --data=$(STAGING_DIR)/usr > > @@ -147,12 +147,12 @@ HOST_PKG_PYTHON_PEP517_ENV = \ > $(HOST_CONFIGURE_OPTS) > > HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > - --interpreter=/usr/bin/python \ > + --interpreter=/bin/python \ > --script-kind=posix \ > --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(HOST_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --scripts=$(HOST_DIR)/usr/bin \ > - --data=$(HOST_DIR)/usr > + --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ > + --scripts=$(HOST_DIR)/bin \ > + --data=$(HOST_DIR) > > ################################################################################ > # inner-python-package -- defines how the configuration, compilation > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 3 09:03:40 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 11:03:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 Message-ID: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 9 (and -std=c++17): ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications 70 | bool file_exists(const std::string& file) throw (error); | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 Signed-off-by: Fabrice Fontaine --- package/cloop/cloop.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index f3c4954ead..6f6d5fe6a8 100644 --- a/package/cloop/cloop.mk +++ b/package/cloop/cloop.mk @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib define HOST_CLOOP_BUILD_CMDS $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" endef define HOST_CLOOP_INSTALL_CMDS -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 09:20:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 11:20:58 +0200 Subject: [Buildroot] [PATCH 1/2] package/python-brotli: add missing C++ comment Message-ID: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> python-brotli needs C++ since its addition in commit 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it Signed-off-by: Fabrice Fontaine --- package/python-brotli/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-brotli/Config.in b/package/python-brotli/Config.in index 1c09c26866..c31315392b 100644 --- a/package/python-brotli/Config.in +++ b/package/python-brotli/Config.in @@ -5,3 +5,6 @@ config BR2_PACKAGE_PYTHON_BROTLI Python bindings for the Brotli compression library. https://github.com/google/brotli + +comment "python-brotli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 09:20:59 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 11:20:59 +0200 Subject: [Buildroot] [PATCH 2/2] package/python-weasyprint: needs C++ In-Reply-To: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> References: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> Message-ID: <20220403092059.2320843-2-fontaine.fabrice@gmail.com> Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++ dependency from python-brotli Signed-off-by: Fabrice Fontaine --- package/python-weasyprint/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 4a7e5a513d..7fe99c3951 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" + depends on BR2_INSTALL_LIBSTDCPP # python-brotli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime @@ -14,3 +15,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT The Awesome Document Factory. https://www.courtbouillon.org/weasyprint + +comment "python-weasyprint needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From bugzilla at busybox.net Sun Apr 3 09:42:18 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 03 Apr 2022 09:42:18 +0000 Subject: [Buildroot] [Bug 14721] python-argon2_cffi no longer works In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14721 Yann E. MORIN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Yann E. MORIN --- Emile, All, Thans for your bug report. We believe this has now been fixed with commit 5bea8c9521b3 (package/pkg-python.mk: fix PEP517 paths). Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From yann.morin.1998 at free.fr Sun Apr 3 09:42:36 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 11:42:36 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> Message-ID: <20220403094236.GF1811301@scaer> All, On 2022-04-02 19:08 +0200, Arnout Vandecappelle spake thusly: > On 01/04/2022 13:34, David Laight wrote: > >From: Jason A. Donenfeld > >>Sent: 01 April 2022 12:05 > >>On 4/1/22, James Hilliard wrote: > >>>I should add that I do also think this should be upstreamed to busybox, > >>>which > >>>will also reduce the amount of duplicate work as busybox is commonly used > >>>across many distros. > >>I'll work on that. > +1 to have it in busybox. I still fail to understand why this can't be a standalone project. The reasoning offered by Jason is that the code should be included and duplicated into all and each init systems out there. However, this increases the maintenance burden, as each implementation has to be actively tracked (FTR: Jason said he would actively maintain the implementation in Buildroot, which is very nice of him, so I understand that he would also do so for all other projects where he'd have seedrng included). Instead of having one implementation suitable for every init systems that use shell scripts, we'd end up with many different and diverging implementations that each have their own warts and fixes (or worse, counter-productive fixes that actually decrease the robustness of that implementation). On the other hand, having a common project would alow to centralise the fixes. It would also allow to ensure that changes do not actually break security. Finally, any evolution, be it fixes or features, would be easily available to every init systems using the common project. Furthermore, the level of customisation is very low. All that we can expect to be customisable is the location where the seeds are stored. This is already accounted for in the existing seedrng git tree. Using another hash implementation could be another thing, but there's not much point here, Blake2 being already pretty strong and known. So there is probably not much more customisation left to do. Moving it into busybox might seem a good idea at first, but this would still make for an n-th implementation to track, and since busybox has a focus on code size, the implementation there would probably diverge substantially from the canonical code we saw so far, further increasing the maintenance burden. That would also not address distributions that do not use busybox (and do not use systemd either). Buildroot can even be configured in such a way, using a sys-v init system with coreutils et al,. and no busybox, in which case having seedrng only in busybox would still not solve the problem in such a case. And init systems are not limited to what we can see publicly; there are maybe hundreds or thousands of such custom init systems behind private doors. Buildroot even has an option to configure for such an init system (BR2_INIT_NONE, which really means 'custom'). On a final note: systemd has native support for this feature, and thus one may argue that the feature is indeed already duplicated there. However, this is different in two ways: first, systemd needs random numbers for itself already, very early in the boot, possibly in an initramfs, so it can't easily rely on an external tool to do that; second, systemd is already C, so it does not make sense for the feature to be implemented as an external tool either. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From peter at korsgaard.com Sun Apr 3 09:43:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 03 Apr 2022 11:43:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-twisted: security bump to version 22.2.0 In-Reply-To: <397c22c3-8ca6-2300-a049-b8f6fa716699@gmail.com> (Romain Naour's message of "Thu, 31 Mar 2022 22:04:04 +0200") References: <20220313114741.1127825-1-fontaine.fabrice@gmail.com> <87mthbb08q.fsf@dell.be.48ers.dk> <397c22c3-8ca6-2300-a049-b8f6fa716699@gmail.com> Message-ID: <87y20m1ozz.fsf@dell.be.48ers.dk> >>>>> "Romain" == Romain Naour writes: > Hello Peter, > Le 27/03/2022 ? 22:37, Peter Korsgaard a ?crit?: >>>>>>> "Fabrice" == Fabrice Fontaine writes: >> >> > Fix CVE-2022-21716: Twisted is an event-based framework for internet >> > applications, supporting Python 3.6+. Prior to 22.2.0, Twisted SSH >> > client and server implement is able to accept an infinite amount of data >> > for the peer's SSH version identifier. This ends up with a buffer using >> > all the available memory. The attach is a simple as `nc -rv localhost 22 >> > < /dev/zero`. A patch is available in version 22.2.0. There are >> > currently no known workarounds. >> >> > https://github.com/twisted/twisted/releases/tag/twisted-22.2.0 >> >> > Signed-off-by: Fabrice Fontaine >> >> Committed to 2021.02.x and 2022.02.x, thanks. >> > As reported recently, python-twisted and python-treq must use the same version: > http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html > But this backport requires to update python-treq package: > https://git.buildroot.net/buildroot/commit/?id=933447c27c41ebcdb5eb9fa2a374456699ae33f2 Thanks, backported the python-treq bump to 2021.02.x / 2022.02.x. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 3 09:32:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 3 Apr 2022 11:32:19 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-treq: fix dependencies Message-ID: <20220403093405.072E185ED7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cd7f1dcad51c1dc77bb1d8a285180c69b2b60f41 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x python-treq needs TLS support in twisted so select BR2_PACKAGE_PYTHON_TWISTED_TLS moreover it doesn't depend directly on service_identity and pyOpenSSL since version 17.3.0 and https://github.com/twisted/treq/commit/ef2ac7ea2b74774adb9fef7675facc6017bfda89 Finally, python-idna was never a direct dependency of python-treq Signed-off-by: Fabrice Fontaine Reviewed-by: Romain Naour Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit b5b4496c425576e4e444b65474d397aeb4a7cd42) Signed-off-by: Peter Korsgaard --- package/python-treq/Config.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in index 6ca8be8ab7..9fd0f8b0ed 100644 --- a/package/python-treq/Config.in +++ b/package/python-treq/Config.in @@ -3,13 +3,11 @@ config BR2_PACKAGE_PYTHON_TREQ depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl depends on BR2_PACKAGE_PYTHON3 # python-twisted select BR2_PACKAGE_PYTHON_ATTRS # runtime - select BR2_PACKAGE_PYTHON_IDNA # runtime select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime - select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_TWISTED # runtime + select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime help treq is an HTTP library inspired by requests but written on top of Twisted's Agents. It provides a simple, higher level From peter at korsgaard.com Sun Apr 3 09:32:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 3 Apr 2022 11:32:39 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-treq: bump to version 22.2.0 Message-ID: <20220403093405.108DD85ED9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3be390cbffea0d636f587a6199e7f8ce2fc536aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x - hyperlink is a dependency since version 20.4.0 and https://github.com/twisted/treq/commit/5475def96f3ec93075ff95709fec4acd154e6fed - six is not a dependency since version 21.5.0 and https://github.com/twisted/treq/commit/22bdb399a03b0eebaa93023b80d348f584f567d5 Signed-off-by: Fabrice Fontaine Reviewed-by: Romain Naour Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 933447c27c41ebcdb5eb9fa2a374456699ae33f2) Signed-off-by: Peter Korsgaard --- package/python-treq/Config.in | 2 +- package/python-treq/python-treq.hash | 4 ++-- package/python-treq/python-treq.mk | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in index 9fd0f8b0ed..9875313e1e 100644 --- a/package/python-treq/Config.in +++ b/package/python-treq/Config.in @@ -3,9 +3,9 @@ config BR2_PACKAGE_PYTHON_TREQ depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl depends on BR2_PACKAGE_PYTHON3 # python-twisted select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_HYPERLINK # runtime select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_TWISTED # runtime select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime help diff --git a/package/python-treq/python-treq.hash b/package/python-treq/python-treq.hash index 288279cbd8..aecf71aad8 100644 --- a/package/python-treq/python-treq.hash +++ b/package/python-treq/python-treq.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/treq/json -md5 b75f6c89fd481989a9cfdec8d61a6d84 treq-20.3.0.tar.gz -sha256 a72d7587d6f81c7a32620b00175825b4334bafbde73d37098d139ac7b11dca98 treq-20.3.0.tar.gz +md5 43892086d556e7596392134f1e10bdef treq-22.2.0.tar.gz +sha256 df757e3f141fc782ede076a604521194ffcb40fa2645cf48e5a37060307f52ec treq-22.2.0.tar.gz # Locally computed sha256 checksums sha256 7cc1b65e1937b1cc07052bb864ec96d8e5fd413400c0842e5b89a8201a600293 LICENSE diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 320f57b6f2..57dc50ee74 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TREQ_VERSION = 20.3.0 +PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz -PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/98/09/25064d7224efde9fd51e8865353d516c53306e476eab27ab21fb258cf7d4 +PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 PYTHON_TREQ_LICENSE = MIT PYTHON_TREQ_LICENSE_FILES = LICENSE PYTHON_TREQ_SETUP_TYPE = setuptools From peter at korsgaard.com Sun Apr 3 07:02:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 3 Apr 2022 09:02:33 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-treq: bump to version 22.2.0 Message-ID: <20220403093412.3E05685F3F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99cf9381a0f114994dd068e084108d1d5335a8fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x - hyperlink is a dependency since version 20.4.0 and https://github.com/twisted/treq/commit/5475def96f3ec93075ff95709fec4acd154e6fed - six is not a dependency since version 21.5.0 and https://github.com/twisted/treq/commit/22bdb399a03b0eebaa93023b80d348f584f567d5 Signed-off-by: Fabrice Fontaine Reviewed-by: Romain Naour Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 933447c27c41ebcdb5eb9fa2a374456699ae33f2) Signed-off-by: Peter Korsgaard --- package/python-treq/Config.in | 2 +- package/python-treq/python-treq.hash | 4 ++-- package/python-treq/python-treq.mk | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in index 7c02a35638..5d76a5cdd6 100644 --- a/package/python-treq/Config.in +++ b/package/python-treq/Config.in @@ -3,9 +3,9 @@ config BR2_PACKAGE_PYTHON_TREQ # twisted TLS -> python-{pyopenssl,service-identity} depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_HYPERLINK # runtime select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_TWISTED # runtime select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime help diff --git a/package/python-treq/python-treq.hash b/package/python-treq/python-treq.hash index 288279cbd8..aecf71aad8 100644 --- a/package/python-treq/python-treq.hash +++ b/package/python-treq/python-treq.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/treq/json -md5 b75f6c89fd481989a9cfdec8d61a6d84 treq-20.3.0.tar.gz -sha256 a72d7587d6f81c7a32620b00175825b4334bafbde73d37098d139ac7b11dca98 treq-20.3.0.tar.gz +md5 43892086d556e7596392134f1e10bdef treq-22.2.0.tar.gz +sha256 df757e3f141fc782ede076a604521194ffcb40fa2645cf48e5a37060307f52ec treq-22.2.0.tar.gz # Locally computed sha256 checksums sha256 7cc1b65e1937b1cc07052bb864ec96d8e5fd413400c0842e5b89a8201a600293 LICENSE diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 320f57b6f2..57dc50ee74 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TREQ_VERSION = 20.3.0 +PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz -PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/98/09/25064d7224efde9fd51e8865353d516c53306e476eab27ab21fb258cf7d4 +PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 PYTHON_TREQ_LICENSE = MIT PYTHON_TREQ_LICENSE_FILES = LICENSE PYTHON_TREQ_SETUP_TYPE = setuptools From peter at korsgaard.com Sun Apr 3 09:43:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 03 Apr 2022 11:43:56 +0200 Subject: [Buildroot] [PATCH 2/2] package/python-treq: bump to version 22.2.0 In-Reply-To: (Arnout Vandecappelle's message of "Thu, 10 Mar 2022 21:45:06 +0100") References: <20220221230815.2203955-1-fontaine.fabrice@gmail.com> Message-ID: <87tuba1oyr.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: > On 22/02/2022 00:08, Fabrice Fontaine wrote: >> - hyperlink is a dependency since version 20.4.0 and >> https://github.com/twisted/treq/commit/5475def96f3ec93075ff95709fec4acd154e6fed >> - six is not a dependency since version 21.5.0 and >> https://github.com/twisted/treq/commit/22bdb399a03b0eebaa93023b80d348f584f567d5 >> Signed-off-by: Fabrice Fontaine Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 3 09:44:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 3 Apr 2022 11:44:06 +0200 Subject: [Buildroot] [git commit] package/python-{treq, twisted}: add a comment to use the same version Message-ID: <20220403093454.4C1E385F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5140d10bf6b9f01e7e1ecb2b357885e03e9d5fb4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master As reported by [1], python-twisted and python-treq must use the same version because its the same project: https://github.com/twisted/twisted https://github.com/twisted/treq We have to update python-treq to version 22.2.0 [2] otherwise we have a runtime issue: Traceback (most recent call last): File "/root/sample_python_treq.py", line 2, in import treq File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location) The comment should avoid forgeting one of them while upgrading or backporting version bump. [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 Signed-off-by: Romain Naour Cc: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/python-treq/python-treq.mk | 3 +++ package/python-twisted/python-twisted.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 57dc50ee74..8995bf2cfe 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-twisted package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 diff --git a/package/python-twisted/python-twisted.mk b/package/python-twisted/python-twisted.mk index e5d643ec05..8a89d3dc82 100644 --- a/package/python-twisted/python-twisted.mk +++ b/package/python-twisted/python-twisted.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-treq package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TWISTED_VERSION = 22.2.0 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46 From peter at korsgaard.com Sun Apr 3 09:44:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 03 Apr 2022 11:44:46 +0200 Subject: [Buildroot] [PATCH] package/python-{treq, twisted}: add a comment to use the same version In-Reply-To: <20220331201718.728570-1-romain.naour@gmail.com> (Romain Naour's message of "Thu, 31 Mar 2022 22:17:18 +0200") References: <20220331201718.728570-1-romain.naour@gmail.com> Message-ID: <87pmly1oxd.fsf@dell.be.48ers.dk> >>>>> "Romain" == Romain Naour writes: > As reported by [1], python-twisted and python-treq must use the same > version because its the same project: > https://github.com/twisted/twisted > https://github.com/twisted/treq > We have to update python-treq to version 22.2.0 [2] otherwise we have > a runtime issue: > Traceback (most recent call last): > File "/root/sample_python_treq.py", line 2, in > import treq > File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in > File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in > File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in > ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown > location) > The comment should avoid forgeting one of them while upgrading or > backporting version bump. > [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html > [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 > [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 > Signed-off-by: Romain Naour > Cc: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Apr 3 10:03:18 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 12:03:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind Message-ID: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Use internal bind as dhcp doesn't build since bump of bind to version 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream doesn't plan to fix it any time soon: https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 In file included from ../includes/dhcpd.h:91, from ctrace.c:29: ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 Signed-off-by: Fabrice Fontaine --- package/dhcp/Config.in | 1 - package/dhcp/dhcp.mk | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index 515040c612..e0706efafb 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP # fork() depends on BR2_USE_MMU depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_BIND help DHCP relay agent from the ISC DHCP distribution. diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 18765a3639..f1e3c22f1c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE -DHCP_DEPENDENCIES = bind host-gawk +DHCP_DEPENDENCIES = host-gawk DHCP_CPE_ID_VENDOR = isc +# internal bind does not support parallel builds. +DHCP_MAKE = $(MAKE1) # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk DHCP_CONF_OPTS = \ - --with-libbind=$(STAGING_DIR)/usr \ + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ --with-randomdev=/dev/random \ --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-relay6-pid-file=/var/run/dhcrelay6.pid +ifeq ($(BR2_PACKAGE_ZLIB),y) +DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_DEPENDENCIES += zlib +else +DHCP_BIND_EXTRA_CONFIG += --without-zlib +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DHCP_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_STATIC_LIBS),y) -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" DHCP_CONF_OPTS += --disable-libtool else DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 10:31:46 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 12:31:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/flac: fix build on ppc64 Message-ID: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> Disable vsx to avoid the following build failure on ppc64 raised since bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af and https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: In file included from lpc_intrin_vsx.c:46: /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support | ^~~~~ lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': lpc_intrin_vsx.c:94:7: warning: implicit declaration of function 'vec_vsx_ld'; did you mean 'vec_vslh'? [-Wimplicit-function-declaration] 94 | d0 = vec_vsx_ld(0, base); | ^~~~~~~~~~ | vec_vslh Fixes: - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 Signed-off-by: Fabrice Fontaine --- package/flac/flac.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/flac/flac.mk b/package/flac/flac.mk index 2ff048b6e6..3a18d81591 100644 --- a/package/flac/flac.mk +++ b/package/flac/flac.mk @@ -20,7 +20,8 @@ FLAC_CONF_OPTS = \ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ --disable-xmms-plugin \ --disable-altivec \ - --disable-stack-smash-protection + --disable-stack-smash-protection \ + --disable-vsx ifeq ($(BR2_PACKAGE_LIBOGG),y) FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 11:04:53 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 13:04:53 +0200 Subject: [Buildroot] [PATCH 1/3] package/htop: fix sensors option Message-ID: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used --{with,without}-sensors instead of --{dis,en}able-sensors Signed-off-by: Fabrice Fontaine --- package/htop/htop.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 7caa47ce13..210518da2f 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities endif ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -HTOP_CONF_OPTS += --with-sensors +HTOP_CONF_OPTS += --enable-sensors HTOP_DEPENDENCIES += lm-sensors else -HTOP_CONF_OPTS += --without-sensors +HTOP_CONF_OPTS += --disable-sensors endif ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 11:04:54 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 13:04:54 +0200 Subject: [Buildroot] [PATCH 2/3] package/htop: use official tarball In-Reply-To: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Message-ID: <20220403110455.2875846-2-fontaine.fabrice@gmail.com> Signed-off-by: Fabrice Fontaine --- package/htop/htop.hash | 4 +++- package/htop/htop.mk | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.hash b/package/htop/htop.hash index dffe5ca1ad..d7c39be4d0 100644 --- a/package/htop/htop.hash +++ b/package/htop/htop.hash @@ -1,3 +1,5 @@ +# From https://github.com/htop-dev/htop/releases/download/3.1.2/htop-3.1.2.tar.xz.sha256 +sha256 884bce5b58cb113127860b9e368609019e92416a81550fdf0752052f3a64b388 htop-3.1.2.tar.xz + # Locally calculated -sha256 fe9559637c8f21f5fd531a4c072048a404173806acbdad1359c6b82fd87aa001 htop-3.1.2.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 210518da2f..1e7b171a17 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -5,7 +5,8 @@ ################################################################################ HTOP_VERSION = 3.1.2 -HTOP_SITE = $(call github,htop-dev,htop,$(HTOP_VERSION)) +HTOP_SOURCE = htop-$(HTOP_VERSION).tar.xz +HTOP_SITE = https://github.com/htop-dev/htop/releases/download/$(HTOP_VERSION) HTOP_DEPENDENCIES = ncurses HTOP_AUTORECONF = YES # Prevent htop build system from searching the host paths -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 11:04:55 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 13:04:55 +0200 Subject: [Buildroot] [PATCH 3/3] package/htop: fix hwloc static build In-Reply-To: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Message-ID: <20220403110455.2875846-3-fontaine.fabrice@gmail.com> Fix the following static build failure with hwloc raised since commit c83bf9720632bcd4d438094a9fc30feff69fc555: checking for hwloc_get_proc_cpubind in -lhwloc... no configure: error: can not find required library libhwloc Fixes: - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 Signed-off-by: Fabrice Fontaine --- ...igure.ac-fix-static-build-with-hwloc.patch | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch diff --git a/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch new file mode 100644 index 0000000000..0ac79766c5 --- /dev/null +++ b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch @@ -0,0 +1,54 @@ +From 4ccad4604586c921b4ad831b254496c2cdece9fc Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 17:27:01 +0200 +Subject: [PATCH] configure.ac: fix static build with hwloc + +Retrieve hwloc dependencies through pkg-config to avoid the following +static build failure: + +checking for hwloc_get_proc_cpubind in -lhwloc... no +configure: error: can not find required library libhwloc + +This build failure is raised because without pkg-config, hwloc +dependencies such as libxml2 are not retrieved: + +configure:8999: checking for hwloc_get_proc_cpubind in -lhwloc +configure:9022: /home/autobuild/autobuild/instance-0/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o conftest -D_GNU_SOURCE -I/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lhwloc -llzma -L/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lncurses -lm >&5 +/home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib/libhwloc.a(topology-xml-libxml.o): in function `hwloc_libxml_free_buffer': +topology-xml-libxml.c:(.text+0x6a): undefined reference to `xmlFree' + +Fixes: + - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/htop-dev/htop/commit/4ccad4604586c921b4ad831b254496c2cdece9fc] +--- + configure.ac | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4ecac1ecf..6bb7eb69f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -456,8 +456,18 @@ case "$enable_hwloc" in + no) + ;; + yes) +- AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) +- AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ m4_ifdef([PKG_PROG_PKG_CONFIG], [ ++ PKG_PROG_PKG_CONFIG() ++ PKG_CHECK_MODULES(HWLOC, hwloc, [ ++ CFLAGS="$CFLAGS $HWLOC_CFLAGS" LIBS="$LIBS $HWLOC_LIBS" ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) + ;; + *) + AC_MSG_ERROR([bad value '$enable_hwloc' for --enable-hwloc]) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 12:13:27 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 14:13:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpsl: fix build with libiconv Message-ID: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since the addition of the package in commit 47acda3a95bd4310f884e741f20785d374af7b22: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': psl.c:(.text+0x1584): undefined reference to `libiconv_open' Fixes: - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 Signed-off-by: Fabrice Fontaine --- ...dd-libiconv-dep-to-meson-build-again.patch | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch diff --git a/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch new file mode 100644 index 0000000000..72f50aa593 --- /dev/null +++ b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch @@ -0,0 +1,60 @@ +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 +From: Zhao Zhili +Date: Thu, 7 Jan 2021 20:59:17 +0800 +Subject: [PATCH] Add libiconv dep to meson build again + +Build success on macOS and ubuntu. + +[Retrieved from: +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 14 ++++++++++++++ + src/meson.build | 2 +- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f248171..fb2de31 100644 +--- a/meson.build ++++ b/meson.build +@@ -20,6 +20,7 @@ libicu_dep = notfound + libidn_dep = notfound + libunistring = notfound + networking_deps = notfound ++libiconv_dep = notfound + + # FIXME: Cleanup this when Meson gets 'feature-combo': + # https://github.com/mesonbuild/meson/issues/4566 +@@ -86,6 +87,19 @@ endif + if libidn2_dep.found() or libidn_dep.found() + # Check for libunistring, we need it for psl_str_to_utf8lower() + libunistring = cc.find_library('unistring') ++ found_iconv = false ++ if cc.has_function('iconv_open') ++ libiconv_dep = [] ++ found_iconv = true ++ endif ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') ++ libiconv_dep = [cc.find_library('iconv')] ++ found_iconv = true ++ endif ++ ++ if not found_iconv ++ error('iconv implementation not found') ++ endif + endif + + if host_machine.system() == 'windows' +diff --git a/src/meson.build b/src/meson.build +index 0d1dcdf..746bf44 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -19,7 +19,7 @@ cargs = [ + libpsl = library('psl', sources, suffixes_dafsa_h, + include_directories : [configinc, includedir], + c_args : cargs, +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], + version: lt_version, + install: true, + ) -- 2.35.1 From arnout at mind.be Sun Apr 3 13:58:29 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 15:58:29 +0200 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> Message-ID: <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> On 02/04/2022 20:58, James Hilliard wrote: > On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: >> >> Hi James, >> >> On 02/04/2022 03:05, James Hilliard wrote: [snip] >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') >> >> I don't understand why for this particular one you remove it explicitly, while >> for other cases you rely (I guess) on the dependency check to make sure we get a >> valid config (eventually). > > Others were missing the empty string config for matching against so > this approach > didn't seem to work there. I still don't understand... If I have the time, I'll try to cook up a patch that does the check the same way as all the other checks are done, and you an tell me if you're happy with that. [snip] >> I agree though that it's more work to do that than the current patch, so >> perhaps this is a good first step. > > Yeah, best to do this incrementally IMO, since this is revealing issues already > in the autobuilder relating to config validation I'm running this on: > http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 So this is running a modified buildroot-test that passes the --no-toolchains-csv option? > Note that this autobuilder is an aarch64(running > https://asahilinux.org/) host so > it doesn't use the prebuilt toolchains. [snip] >>> - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> - "savedefconfig"]) >>> + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> + "savedefconfig"]): >> >> This one should simply never fail, so it should move outside of the loop, >> after checking dependencies. > > I just tested that this can fail so I've kept it in the loop for now. Okay, let me rephrase: if 'make dependencies' passes, then 'make savedefconfig' should never fail. If you had a situation where make savedefconfig fails, I'd be interested to know about it and debug it. Regards, Arnout >>> + continue >>> >>> - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> - "dependencies"]) >>> + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> + "dependencies"]): >>> + continue >>> + break >>> + return 0 >>> >>> >>> if __name__ == '__main__': >>> @@ -433,10 +443,18 @@ if __name__ == '__main__': >>> parser.add_argument("--buildrootdir", "-b", >>> help="Buildroot directory (relative to current directory)", >>> type=str, default='.') >>> - parser.add_argument("--toolchains-csv", >>> - help="Path of the toolchain configuration file", >>> - type=str, >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") >>> + >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) >>> + toolchains_csv.add_argument("--toolchains-csv", >>> + dest="toolchains_csv", >>> + help="Path of the toolchain configuration file", >>> + type=str) >>> + toolchains_csv.add_argument("--no-toolchains-csv", >>> + dest="toolchains_csv", >>> + help="Generate random toolchain configuration", >>> + action='store_false') >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") >>> + >>> args = parser.parse_args() >>> >>> # We need the absolute path to use with O=, because the relative From fontaine.fabrice at gmail.com Sun Apr 3 14:00:24 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 16:00:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/glib-networking: fix build with libressl Message-ID: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> glib-networking raises the following build failure with libressl: ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) | ^~~~~~~~~~~~~~ | TLS1_2_VERSION ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c Signed-off-by: Fabrice Fontaine --- package/glib-networking/Config.in | 1 + package/glib-networking/glib-networking.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in index 38cded5e6b..9c5d36af16 100644 --- a/package/glib-networking/Config.in +++ b/package/glib-networking/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS help Network-related GIO modules for glib. diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index f74e520d31..e8905dfff4 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -31,7 +31,7 @@ else GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) GLIB_NETWORKING_DEPENDENCIES += openssl GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled else -- 2.35.1 From arnout at mind.be Sun Apr 3 14:07:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 16:07:17 +0200 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> Message-ID: On 03/04/2022 15:58, Arnout Vandecappelle wrote: > > > On 02/04/2022 20:58, James Hilliard wrote: >> On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: >>> >>> ?? Hi James, >>> >>> On 02/04/2022 03:05, James Hilliard wrote: > [snip] >>>> +??? if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ >>>> +?????? 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: >>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') >>> >>> ?? I don't understand why for this particular one you remove it explicitly, >>> while >>> for other cases you rely (I guess) on the dependency check to make sure we >>> get a >>> valid config (eventually). >> >> Others were missing the empty string config for matching against so >> this approach >> didn't seem to work there. > > ?I still don't understand... If I have the time, I'll try to cook up a patch > that does the check the same way as all the other checks are done, and you an > tell me if you're happy with that. ?Looks like the check is already there in skeleton-custom.mk: ifeq ($(BR2_PACKAGE_SKELETON_CUSTOM)$(BR_BUILDING),yy) ifeq ($(SKELETON_CUSTOM_PATH),) $(error No path specified for the custom skeleton) endif endif So I don't understand why this fixup is needed... ?Regards, ?Arnout > > [snip] >>> ?? I agree though that it's more work to do that than the current patch, so >>> perhaps this is a good first step. >> >> Yeah, best to do this incrementally IMO, since this is revealing issues already >> in the autobuilder relating to config validation I'm running this on: >> http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 > > ?So this is running a modified buildroot-test that passes the > --no-toolchains-csv option? > >> Note that this autobuilder is an aarch64(running >> https://asahilinux.org/) host so >> it doesn't use the prebuilt toolchains. > > [snip] >>>> -??? subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", >>>> args.buildrootdir, >>>> -?????????????????????????? "savedefconfig"]) >>>> +??????????? if subprocess.check_call(["make", "O=%s" % args.outputdir, >>>> "-C", args.buildrootdir, >>>> +????????????????????????????????????? "savedefconfig"]): >>> >>> ?? This one should simply never fail, so it should move outside of the loop, >>> after checking dependencies. >> >> I just tested that this can fail so I've kept it in the loop for now. > > ?Okay, let me rephrase: if 'make dependencies' passes, then 'make > savedefconfig' should never fail. If you had a situation where make > savedefconfig fails, I'd be interested to know about it and debug it. > > > ?Regards, > ?Arnout > >>>> +??????????????? continue >>>> >>>> -??? return subprocess.call(["make", "O=%s" % args.outputdir, "-C", >>>> args.buildrootdir, >>>> -??????????????????????????? "dependencies"]) >>>> +??????????? if subprocess.call(["make", "O=%s" % args.outputdir, "-C", >>>> args.buildrootdir, >>>> +??????????????????????????????? "dependencies"]): >>>> +??????????????? continue >>>> +??????????? break >>>> +??? return 0 >>>> >>>> >>>> ?? if __name__ == '__main__': >>>> @@ -433,10 +443,18 @@ if __name__ == '__main__': >>>> ?????? parser.add_argument("--buildrootdir", "-b", >>>> ?????????????????????????? help="Buildroot directory (relative to current >>>> directory)", >>>> ?????????????????????????? type=str, default='.') >>>> -??? parser.add_argument("--toolchains-csv", >>>> -??????????????????????? help="Path of the toolchain configuration file", >>>> -??????????????????????? type=str, >>>> - default="support/config-fragments/autobuild/toolchain-configs.csv") >>>> + >>>> +??? toolchains_csv = parser.add_mutually_exclusive_group(required=False) >>>> +??? toolchains_csv.add_argument("--toolchains-csv", >>>> +??????????????????????????????? dest="toolchains_csv", >>>> +??????????????????????????????? help="Path of the toolchain configuration >>>> file", >>>> +??????????????????????????????? type=str) >>>> +??? toolchains_csv.add_argument("--no-toolchains-csv", >>>> +??????????????????????????????? dest="toolchains_csv", >>>> +??????????????????????????????? help="Generate random toolchain >>>> configuration", >>>> +??????????????????????????????? action='store_false') >>>> + >>>> parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") >>>> + >>>> ?????? args = parser.parse_args() >>>> >>>> ?????? # We need the absolute path to use with O=, because the relative From arnout at mind.be Sun Apr 3 15:02:29 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:02:29 +0200 Subject: [Buildroot] [PATCH 1/1] Revert "package/tpm2-tss: bump version to 3.2.0" In-Reply-To: <20220328201521.4084-1-fontaine.fabrice@gmail.com> References: <20220328201521.4084-1-fontaine.fabrice@gmail.com> Message-ID: <916c0cf8-a0d5-d6db-fbf3-61601a39bf99@mind.be> On 28/03/2022 22:15, Fabrice Fontaine wrote: > This reverts commit ed13a65a08cfe315aed9344abc609f5f2b92c782 as it > has the following non trivial issues: > - pkgconfig files have no version number if we run autoreconf > (https://github.com/tpm2-software/tpm2-tss/issues/2329) resulting in > the following build failures with tpm2-{abrmd,pkcs11} or libsecret: > > configure: error: Package requirements (tss2-esys >= 2.0) were not met: > > Package dependency requirement 'tss2-esys >= 2.0' could not be satisfied. > Package 'tss2-esys' has version '', required version is '>= 2.0' > > - addgroup/groupadd and adduser/useradd are mandatory since > https://github.com/tpm2-software/tpm2-tss/commit/7fde604383c62fc764a1e060dff48fc06f79860b: > > configure: error: addgroup or groupadd are needed. > > It seems better to find an upstreamable solution to both issues before > bumping. > > Fixes: > - http://autobuild.buildroot.org/results/d4d6807af3493deb47951c6f11f427040e5c5e11 > - http://autobuild.buildroot.org/results/a304e45bacb8cd7e7ea9bc49e4a8ec9359ca0a3a > - http://autobuild.buildroot.org/results/be0befa81e955ac8cf16f9d20723f9b9b174e012 > - http://autobuild.buildroot.org/results/d4ebee400423f6df51613193c86db3c58c94ff88 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/tpm2-tss/tpm2-tss.hash | 2 +- > package/tpm2-tss/tpm2-tss.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/tpm2-tss/tpm2-tss.hash b/package/tpm2-tss/tpm2-tss.hash > index db6b3b7ad0..b6eb3c1f97 100644 > --- a/package/tpm2-tss/tpm2-tss.hash > +++ b/package/tpm2-tss/tpm2-tss.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 48305e4144dcf6d10f3b25b7bccf0189fd2d1186feafd8cd68c6b17ecf0d7912 tpm2-tss-3.2.0.tar.gz > +sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz > sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE > diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk > index 2bb1235177..f475697e40 100644 > --- a/package/tpm2-tss/tpm2-tss.mk > +++ b/package/tpm2-tss/tpm2-tss.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TPM2_TSS_VERSION = 3.2.0 > +TPM2_TSS_VERSION = 3.1.0 > TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) > TPM2_TSS_LICENSE = BSD-2-Clause > TPM2_TSS_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 3 15:02:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:02:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/paho-mqtt-c: bump to version 1.3.10 In-Reply-To: <20220328202136.7182-1-fontaine.fabrice@gmail.com> References: <20220328202136.7182-1-fontaine.fabrice@gmail.com> Message-ID: On 28/03/2022 22:21, Fabrice Fontaine wrote: > Service release. Issues resolved: > https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1 > > https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.10 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- > package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash > index 4cdedfbf9a..931bf5b9c8 100644 > --- a/package/paho-mqtt-c/paho-mqtt-c.hash > +++ b/package/paho-mqtt-c/paho-mqtt-c.hash > @@ -1,5 +1,5 @@ > # Locally computed: > -sha256 386c9b5fa1cf6d0d516db12d57fd8f6a410dd0fdc5e9a2da870aae437a2535ed paho-mqtt-c-1.3.9.tar.gz > +sha256 c70db96e66adacae411d5d875fbb08bca6ff9945de3d215b3af93cbd22792db5 paho-mqtt-c-1.3.10.tar.gz > sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 > sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 > sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE > diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk > index 68b58f2e02..d6356a7ccc 100644 > --- a/package/paho-mqtt-c/paho-mqtt-c.mk > +++ b/package/paho-mqtt-c/paho-mqtt-c.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PAHO_MQTT_C_VERSION = 1.3.9 > +PAHO_MQTT_C_VERSION = 1.3.10 > PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) > PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause > PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From arnout at mind.be Sun Apr 3 15:03:02 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:03:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/nbd: needs host-bison In-Reply-To: <20220329184458.289902-1-fontaine.fabrice@gmail.com> References: <20220329184458.289902-1-fontaine.fabrice@gmail.com> Message-ID: <6bc40b55-9462-041f-ca77-29a58dbfe225@mind.be> On 29/03/2022 20:44, Fabrice Fontaine wrote: > host-bison is mandatory to avoid the following build failure since bump > to version 3.24 in commit bf2e459bb9fc9fe57147313cda35f7022172e6e8 and > https://github.com/NetworkBlockDevice/nbd/commit/cd099ee7d0602104506bdd5063c0a3db2ec9b550: > > configure: error: bison is required > > Fixes: > - http://autobuild.buildroot.org/results/05872813c9e9b9f39f960fa9a33ad82dc124c808 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/nbd/nbd.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk > index f0fb23910e..50f698dd24 100644 > --- a/package/nbd/nbd.mk > +++ b/package/nbd/nbd.mk > @@ -8,7 +8,7 @@ NBD_VERSION = 3.24 > NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz > NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) > NBD_CONF_OPTS = --enable-lfs > -NBD_DEPENDENCIES = host-pkgconf libglib2 > +NBD_DEPENDENCIES = host-bison host-pkgconf libglib2 > NBD_LICENSE = GPL-2.0 > NBD_LICENSE_FILES = COPYING > NBD_CPE_ID_VENDOR = network_block_device_project From arnout at mind.be Sun Apr 3 15:03:18 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:03:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/cog: bump to version 0.12.4 In-Reply-To: <20220330071449.4060342-1-james.hilliard1@gmail.com> References: <20220330071449.4060342-1-james.hilliard1@gmail.com> Message-ID: <48a1ca74-1427-c1b0-c2af-7a9ba97dc7c3@mind.be> On 30/03/2022 09:14, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/cog/cog.hash | 8 ++++---- > package/cog/cog.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/cog/cog.hash b/package/cog/cog.hash > index 839b12e619..00d3a4e191 100644 > --- a/package/cog/cog.hash > +++ b/package/cog/cog.hash > @@ -1,7 +1,7 @@ > -# From https://wpewebkit.org/releases/cog-0.12.1.tar.xz.sums > -md5 25a80a5a8a52b8873933a128151b8928 cog-0.12.1.tar.xz > -sha1 3b9f67bc23cd9e3db2221366d6cde4ca0b06b811 cog-0.12.1.tar.xz > -sha256 23caaafa2ef5c2f6a97d467fcce908ea71087ad03b72deb9280225c0dd561c91 cog-0.12.1.tar.xz > +# From https://wpewebkit.org/releases/cog-0.12.4.tar.xz.sums > +md5 cdb8acdc3acc9b5082e7db9c279155c3 cog-0.12.4.tar.xz > +sha1 600b30efadf55bf94ea5062a0a1b2ea0b74053e5 cog-0.12.4.tar.xz > +sha256 9983c621c8e14fca3792ff566cb6b86d6a1f17446eb4c083af4a5a749112982f cog-0.12.4.tar.xz > > # Hashes for license files: > sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING > diff --git a/package/cog/cog.mk b/package/cog/cog.mk > index 2f6ef402fb..f2ca0af93d 100644 > --- a/package/cog/cog.mk > +++ b/package/cog/cog.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -COG_VERSION = 0.12.1 > +COG_VERSION = 0.12.4 > COG_SITE = https://wpewebkit.org/releases > COG_SOURCE = cog-$(COG_VERSION).tar.xz > COG_INSTALL_STAGING = YES From arnout at mind.be Sun Apr 3 15:03:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:03:48 +0200 Subject: [Buildroot] [PATCH] package/luaexpt: bump to version 1.4.0 In-Reply-To: <20220330073152.1804932-1-francois.perrad@gadz.org> References: <20220330073152.1804932-1-francois.perrad@gadz.org> Message-ID: <5e890c81-6982-120e-5fbc-a201f3483411@mind.be> On 30/03/2022 09:31, Francois Perrad wrote: > moved under the hat of https://github.com/lunarmodules > > remove upstream patch > > diff LICENSE: > -The MIT License (MIT) > -Copyright (c) 2013 Tom?s Guisasola > +Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild > > Signed-off-by: Francois Perrad Applied to master after fixing the typo in the subject, thanks. Regards, Arnout > --- > .../0001-restore-getcurrentbytecount.patch | 40 ------------------- > package/luaexpat/Config.in | 2 +- > package/luaexpat/luaexpat.hash | 4 +- > package/luaexpat/luaexpat.mk | 3 +- > 4 files changed, 5 insertions(+), 44 deletions(-) > delete mode 100644 package/luaexpat/0001-restore-getcurrentbytecount.patch > > diff --git a/package/luaexpat/0001-restore-getcurrentbytecount.patch b/package/luaexpat/0001-restore-getcurrentbytecount.patch > deleted file mode 100644 > index 6cf219267..000000000 > --- a/package/luaexpat/0001-restore-getcurrentbytecount.patch > +++ /dev/null > @@ -1,40 +0,0 @@ > -From 77cb691f781918908dfe34785f00a5ff75d5cc20 Mon Sep 17 00:00:00 2001 > -From: Francois Perrad > -Date: Sat, 16 Feb 2019 15:56:00 +0100 > -Subject: [PATCH] restore getcurrentbytecount > - > -see https://github.com/tomasguisasola/luaexpat/issues/3 > - > -Fetch from: https://github.com/tomasguisasola/luaexpat/commit/0926f2d705109b7d35b721344264b39c1169e0de > - > -Signed-off-by: Francois Perrad > ---- > - src/lxplib.c | 7 +++++++ > - 1 file changed, 7 insertions(+) > - > -diff --git a/luaexpat-1.3.3/src/lxplib.c b/luaexpat-1.3.3/src/lxplib.c > -index 7726913..35bec3c 100644 > ---- a/luaexpat-1.3.3/src/lxplib.c > -+++ b/luaexpat-1.3.3/src/lxplib.c > -@@ -538,11 +538,18 @@ static int lxp_stop (lua_State *L) { > - return 1; > - } > - > -+static int lxp_getcurrentbytecount (lua_State* L) { > -+ lxp_userdata *xpu = checkparser(L, 1); > -+ lua_pushinteger(L, XML_GetCurrentByteCount(xpu->parser)); > -+ return 1; > -+} > -+ > - static const luaL_Reg lxp_meths[] = { > - {"parse", lxp_parse}, > - {"close", lxp_close}, > - {"__gc", parser_gc}, > - {"pos", lxp_pos}, > -+ {"getcurrentbytecount", lxp_getcurrentbytecount}, > - {"setencoding", lxp_setencoding}, > - {"getcallbacks", getcallbacks}, > - {"getbase", getbase}, > --- > -2.17.1 > - > diff --git a/package/luaexpat/Config.in b/package/luaexpat/Config.in > index 2322dc430..25b067460 100644 > --- a/package/luaexpat/Config.in > +++ b/package/luaexpat/Config.in > @@ -4,4 +4,4 @@ config BR2_PACKAGE_LUAEXPAT > help > LuaExpat is a SAX XML parser based on the Expat library. > > - http://www.keplerproject.org/luaexpat/ > + https://lunarmodules.github.io/luaexpat > diff --git a/package/luaexpat/luaexpat.hash b/package/luaexpat/luaexpat.hash > index dd1cf40e5..fbfb623fc 100644 > --- a/package/luaexpat/luaexpat.hash > +++ b/package/luaexpat/luaexpat.hash > @@ -1,3 +1,3 @@ > # computed by luarocks/buildroot > -sha256 b55908fcd7df490a59aab25284460add8283f1c6b94ab584900fe3e49775172a luaexpat-1.3.3-1.src.rock > -sha256 7f5cb0c1750babcbb09637b7f0ff34972d51cf23b7f413bef902b47aa65febcd luaexpat-1.3.3/LICENSE > +sha256 bee88ddc1063f49c5685b75b6696e8df0607a388432cbcb189cd0b8291d956aa luaexpat-1.4.0-1.src.rock > +sha256 7e6a727e5b57cca713a2f2633f05d7e0cc1e261cc6a7613bbe266e625b2f14da luaexpat/LICENSE > diff --git a/package/luaexpat/luaexpat.mk b/package/luaexpat/luaexpat.mk > index 8c86b24f2..c176fb8c1 100644 > --- a/package/luaexpat/luaexpat.mk > +++ b/package/luaexpat/luaexpat.mk > @@ -4,7 +4,8 @@ > # > ################################################################################ > > -LUAEXPAT_VERSION = 1.3.3-1 > +LUAEXPAT_VERSION = 1.4.0-1 > +LUAEXPAT_SUBDIR = luaexpat > LUAEXPAT_LICENSE = MIT > LUAEXPAT_LICENSE_FILES = $(LUAEXPAT_SUBDIR)/LICENSE > LUAEXPAT_DEPENDENCIES = expat From arnout at mind.be Sun Apr 3 15:04:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:04:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: needs C++ In-Reply-To: <20220402160718.750069-1-fontaine.fabrice@gmail.com> References: <20220402160718.750069-1-fontaine.fabrice@gmail.com> Message-ID: On 02/04/2022 18:07, Fabrice Fontaine wrote: > fluidsynth needs C++ since bump to version 2.2.0 in commit > 7e02d2e762eb94fde1f222df1b960dbd263fa946 and > https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: > > CMake Error at CMakeLists.txt:32 (project): > No CMAKE_CXX_COMPILER could be found. > > Fixes: > - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/fluidsynth/Config.in | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in > index 5726e235e4..376419ce8f 100644 > --- a/package/fluidsynth/Config.in > +++ b/package/fluidsynth/Config.in > @@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUIDSYNTH > # the .pc file installed by fluidsynth does not mention its > # indirect dependencies in Libs.private. > depends on !BR2_STATIC_LIBS > + depends on BR2_INSTALL_LIBSTDCPP > select BR2_PACKAGE_LIBGLIB2 > help > FluidSynth is a real-time software synthesizer based on the > @@ -128,7 +129,7 @@ config BR2_PACKAGE_FLUIDSYNTH_READLINE > > endif # BR2_PACKAGE_FLUIDSYNTH > > -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" > +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" > depends on BR2_USE_MMU > depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ > - BR2_STATIC_LIBS > + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 3 15:05:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:05:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireshark: needs C++ In-Reply-To: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> References: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> Message-ID: On 02/04/2022 19:10, Fabrice Fontaine wrote: > wireshark needs C++ since switch to cmake-package in commit > 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: > > CMake Error at CMakeLists.txt:32 (project): > No CMAKE_CXX_COMPILER could be found. It's actually only needed for the Qt GUI, but it would be really hard to change the CMakeLists.txt to make that possible. So let's just go with this. Note that it also needs C++11, which means it has minimal GCC version 4.7. But that's kind of our implicit minimum anyway. Applied to master, thanks. Regards, Arnout > > Fixes: > - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae > > Signed-off-by: Fabrice Fontaine > --- > package/wireshark/Config.in | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in > index 95fc9b38f3..fdeb9da259 100644 > --- a/package/wireshark/Config.in > +++ b/package/wireshark/Config.in > @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK > depends on BR2_USE_MMU # fork(), glib2 > depends on BR2_USE_WCHAR # glib2 > depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 > + depends on BR2_INSTALL_LIBSTDCPP > select BR2_PACKAGE_C_ARES > select BR2_PACKAGE_LIBPCAP > select BR2_PACKAGE_LIBGCRYPT > @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host > > endif # BR2_PACKAGE_WIRESHARK > > -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" > +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" > depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS > depends on BR2_USE_MMU > depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ > - BR2_STATIC_LIBS > + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 3 15:07:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:07:48 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <20220329205136.32435-1-vincent.stehle@laposte.net> References: <20220329205136.32435-1-vincent.stehle@laposte.net> Message-ID: <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> On 29/03/2022 22:51, Vincent Stehl? via buildroot wrote: > Update the qemu_xtensa_lx60_nommu_defconfig to use the > busybox-minimal.config, to make it more consistent with the other no-MMU > defconfigs. That's not a valid reason IMHO. We use the minimal busybox for boards that are extremely tight on memory - which is often the case for noMMU boards. But if we can spare the size, full busybox is a lot more useable. I've marked this patch as Rejected in patchwork, but if there's a good reason to do this, we can always recover it. Regards, Arnout > > After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal > config"), this has the benefit of fixing the following network > initialization failure: > > udhcpc: invalid option -- b > > Signed-off-by: Vincent Stehl? > Cc: Romain Naour > Cc: Gerome Burlats > --- > configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig > index c4473fb32a..44fb81bd74 100644 > --- a/configs/qemu_xtensa_lx60_nommu_defconfig > +++ b/configs/qemu_xtensa_lx60_nommu_defconfig > @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ > BR2_PACKAGE_HOST_ELF2FLT=y > # BR2_USE_MMU is not set > > +# Use minimal busybox with hush and networking tools > +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" > + > # System > BR2_SYSTEM_DHCP="eth0" > BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From fontaine.fabrice at gmail.com Sun Apr 3 15:46:09 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 17:46:09 +0200 Subject: [Buildroot] [PATCH 1/4] package/cppcms: zlib is optional, not mandatory Message-ID: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> zlib is not mandatory since at least version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/fc1c25f9c7af440f2fc579b150025addfa5421a5 Signed-off-by: Fabrice Fontaine --- package/cppcms/Config.in | 1 - package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 1d7635a83e..25fd93a7d0 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_CPPCMS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR - select BR2_PACKAGE_ZLIB select BR2_PACKAGE_PCRE select BR2_PACKAGE_LIBGCRYPT help diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index b289617bbc..530b44427b 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = zlib pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre libgcrypt ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF +CPPCMS_DEPENDENCIES += zlib +else +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=ON +endif + ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) # posix backend needs monetary.h which isn't available on uClibc CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 15:46:10 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 17:46:10 +0200 Subject: [Buildroot] [PATCH 2/4] package/cppcms: libgcrypt is optional, not mandatory In-Reply-To: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> Message-ID: <20220403154612.4158174-2-fontaine.fabrice@gmail.com> If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled Signed-off-by: Fabrice Fontaine --- package/cppcms/Config.in | 2 -- package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 25fd93a7d0..6c0bff934c 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -1,12 +1,10 @@ config BR2_PACKAGE_CPPCMS bool "cppcms" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR select BR2_PACKAGE_PCRE - select BR2_PACKAGE_LIBGCRYPT help CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed for Rapid Web Application Development. It diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 530b44427b..357909f31d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=OFF +CPPCMS_DEPENDENCIES += libgcrypt +else +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 15:46:11 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 17:46:11 +0200 Subject: [Buildroot] [PATCH 3/4] package/cppcms: add openssl optional dependency In-Reply-To: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> Message-ID: <20220403154612.4158174-3-fontaine.fabrice@gmail.com> openssl is an optional dependency since version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/7cfdc9f703a35c42f7168573ffcc92eaa37e4ab6 Signed-off-by: Fabrice Fontaine --- package/cppcms/cppcms.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 357909f31d..c560b5d0fa 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -35,6 +35,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=OFF +CPPCMS_DEPENDENCIES += openssl +else +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 15:46:12 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 17:46:12 +0200 Subject: [Buildroot] [PATCH 4/4] package/cppcms: bump to version 2.0.0-beta2 In-Reply-To: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> Message-ID: <20220403154612.4158174-4-fontaine.fabrice@gmail.com> - Update indentation in hash file (two spaces) - This bump will fix the following build failure if python2 is not available on host (while at it, add host-python3 dependency): Traceback (most recent call last): File "/home/autobuild/autobuild/instance-4/output-1/build/cppcms-1.2.1/bin/cppcms_tmpl_cc", line 14, in import StringIO ModuleNotFoundError: No module named 'StringIO' http://cppcms.com/wikipp/en/page/cppcms_2_0_whats_new Fixes: - http://autobuild.buildroot.org/results/00482ee24deae95a91f8499f499b18e15f14b51a Signed-off-by: Fabrice Fontaine --- package/cppcms/cppcms.hash | 14 +++++++------- package/cppcms/cppcms.mk | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package/cppcms/cppcms.hash b/package/cppcms/cppcms.hash index 86f86d94af..a8d04ff36f 100644 --- a/package/cppcms/cppcms.hash +++ b/package/cppcms/cppcms.hash @@ -1,8 +1,8 @@ -# From http://sourceforge.net/projects/cppcms/files/cppcms/1.2.1/ -sha1 9cb25cc5d507d2f4235326ba3815eba252b4ac77 cppcms-1.2.1.tar.bz2 -md5 2bb259fefb86532e404207c71c094a0c cppcms-1.2.1.tar.bz2 +# From http://sourceforge.net/projects/cppcms/files/cppcms/2.0.0-beta2/ +sha1 746cc5e3f58565d91d9ded6e2616399d60e9d01d cppcms-2.0.0.beta2.tar.bz2 +md5 ef561d13ee92d2053151cab073feba10 cppcms-2.0.0.beta2.tar.bz2 # Locally computed: -sha256 10fec7710409c949a229b9019ea065e25ff5687103037551b6f05716bf6cac52 cppcms-1.2.1.tar.bz2 -sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT -sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT -sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT +sha256 697031c7d141fdd215c6be5090b66e2106a63bb3e52f09ee8120e8efc6c08a21 cppcms-2.0.0.beta2.tar.bz2 +sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT +sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT +sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index c560b5d0fa..8a59990a8d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -4,8 +4,8 @@ # ################################################################################ -CPPCMS_VERSION = 1.2.1 -CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 +CPPCMS_VERSION = 2.0.0-beta2 +CPPCMS_SOURCE = cppcms-$(subst -,.,$(CPPCMS_VERSION)).tar.bz2 CPPCMS_LICENSE = MIT, BSL-1.0 (boost), Public Domain (json2.js), Zlib (md5) CPPCMS_LICENSE_FILES = COPYING.TXT MIT.TXT THIRD_PARTY_SOFTWARE.TXT CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre +CPPCMS_DEPENDENCIES = host-python3 pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 16:17:51 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 18:17:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: needs C++ Message-ID: <20220403161751.204523-1-fontaine.fabrice@gmail.com> xmrig needs C++ since its addition in commit 6f70990ccf6cb993fc31519337390e436d15493b: CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 Signed-off-by: Fabrice Fontaine --- package/xmrig/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in index 7024241017..c5c6b3e37b 100644 --- a/package/xmrig/Config.in +++ b/package/xmrig/Config.in @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG # xmrig needs fenv.h which is not provided by uclibc depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on !BR2_STATIC_LIBS # libuv + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBUV help RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. https://xmrig.com -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library" +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From james.hilliard1 at gmail.com Sun Apr 3 16:22:19 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 10:22:19 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> Message-ID: On Sun, Apr 3, 2022 at 7:58 AM Arnout Vandecappelle wrote: > > > > On 02/04/2022 20:58, James Hilliard wrote: > > On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: > >> > >> Hi James, > >> > >> On 02/04/2022 03:05, James Hilliard wrote: > [snip] > >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > >> > >> I don't understand why for this particular one you remove it explicitly, while > >> for other cases you rely (I guess) on the dependency check to make sure we get a > >> valid config (eventually). > > > > Others were missing the empty string config for matching against so > > this approach > > didn't seem to work there. > > I still don't understand... If I have the time, I'll try to cook up a patch > that does the check the same way as all the other checks are done, and you an > tell me if you're happy with that. Using a fixup avoids extra randconfig regenerations mostly, it's not strictly needed. > > [snip] > >> I agree though that it's more work to do that than the current patch, so > >> perhaps this is a good first step. > > > > Yeah, best to do this incrementally IMO, since this is revealing issues already > > in the autobuilder relating to config validation I'm running this on: > > http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 > > So this is running a modified buildroot-test that passes the > --no-toolchains-csv option? Yes, plus I'm using an out of tree utils/genrandconfig override to add the option. > > > Note that this autobuilder is an aarch64(running > > https://asahilinux.org/) host so > > it doesn't use the prebuilt toolchains. > > [snip] > >>> - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> - "savedefconfig"]) > >>> + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> + "savedefconfig"]): > >> > >> This one should simply never fail, so it should move outside of the loop, > >> after checking dependencies. > > > > I just tested that this can fail so I've kept it in the loop for now. > > Okay, let me rephrase: if 'make dependencies' passes, then 'make > savedefconfig' should never fail. If you had a situation where make > savedefconfig fails, I'd be interested to know about it and debug it. The make dependencies call is after savedefconfig so I think it would need to be checked due to that. > > > Regards, > Arnout > > >>> + continue > >>> > >>> - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> - "dependencies"]) > >>> + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> + "dependencies"]): > >>> + continue > >>> + break > >>> + return 0 > >>> > >>> > >>> if __name__ == '__main__': > >>> @@ -433,10 +443,18 @@ if __name__ == '__main__': > >>> parser.add_argument("--buildrootdir", "-b", > >>> help="Buildroot directory (relative to current directory)", > >>> type=str, default='.') > >>> - parser.add_argument("--toolchains-csv", > >>> - help="Path of the toolchain configuration file", > >>> - type=str, > >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > >>> + toolchains_csv.add_argument("--toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Path of the toolchain configuration file", > >>> + type=str) > >>> + toolchains_csv.add_argument("--no-toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Generate random toolchain configuration", > >>> + action='store_false') > >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> args = parser.parse_args() > >>> > >>> # We need the absolute path to use with O=, because the relative From fontaine.fabrice at gmail.com Sun Apr 3 16:37:36 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 18:37:36 +0200 Subject: [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Message-ID: <20220403163737.223577-1-fontaine.fabrice@gmail.com> Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized anymore Signed-off-by: Fabrice Fontaine --- package/libyang/libyang.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 7de9531bff..832adcb627 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF \ - -DENABLE_LYD_PRIV=ON + -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF + -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 16:37:37 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 18:37:37 +0200 Subject: [Buildroot] [PATCH 2/2] package/libyang: disable tests In-Reply-To: <20220403163737.223577-1-fontaine.fabrice@gmail.com> References: <20220403163737.223577-1-fontaine.fabrice@gmail.com> Message-ID: <20220403163737.223577-2-fontaine.fabrice@gmail.com> Disable tests which are enabled by default in debug mode since bump to version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0 as they will raise the following build failure if cmocka is built before libyang: In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t' 53 | typedef unsigned _Addr uintptr_t; | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026 Signed-off-by: Fabrice Fontaine --- package/libyang/libyang.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 832adcb627..a097b3ee95 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,9 +15,11 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 18:35:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 20:35:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/minizip: bump to version 3.0.5 Message-ID: <20220403183503.736373-1-fontaine.fabrice@gmail.com> This bump will fix the following build failure with zlib-ng thanks to https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory 19 | # include "zlib-ng.h" | ^~~~~~~~~~~ https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 Fixes: - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 Signed-off-by: Fabrice Fontaine --- package/minizip/minizip.hash | 2 +- package/minizip/minizip.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash index 3e87e64dae..e73637670c 100644 --- a/package/minizip/minizip.hash +++ b/package/minizip/minizip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c minizip-3.0.4.tar.gz +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk index 07f67c1354..b9259f0c54 100644 --- a/package/minizip/minizip.mk +++ b/package/minizip/minizip.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_VERSION = 3.0.4 +MINIZIP_VERSION = 3.0.5 MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) MINIZIP_DEPENDENCIES = host-pkgconf MINIZIP_INSTALL_STAGING = YES -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 18:53:06 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 20:53:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl Message-ID: <20220403185306.928833-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING. Fixes: - http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76 Signed-off-by: Fabrice Fontaine --- package/fetchmail/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in index a4bf5a7c20..1017df34b2 100644 --- a/package/fetchmail/Config.in +++ b/package/fetchmail/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL depends on BR2_USE_MMU # fork() select BR2_PACKAGE_CA_CERTIFICATES select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help Fetchmail - the mail-retrieval daemon Client daemon to move mail from POP and IMAP to your local -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 3 18:58:01 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 20:58:01 +0200 Subject: [Buildroot] [PATCH 1/3] package/htop: fix sensors option In-Reply-To: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Message-ID: <20220403185801.GH1811301@scaer> Fabrice, All, On 2022-04-03 13:04 +0200, Fabrice Fontaine spake thusly: > Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used > --{with,without}-sensors instead of --{dis,en}able-sensors > > Signed-off-by: Fabrice Fontaine Series of three patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/htop/htop.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/htop/htop.mk b/package/htop/htop.mk > index 7caa47ce13..210518da2f 100644 > --- a/package/htop/htop.mk > +++ b/package/htop/htop.mk > @@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities > endif > > ifeq ($(BR2_PACKAGE_LM_SENSORS),y) > -HTOP_CONF_OPTS += --with-sensors > +HTOP_CONF_OPTS += --enable-sensors > HTOP_DEPENDENCIES += lm-sensors > else > -HTOP_CONF_OPTS += --without-sensors > +HTOP_CONF_OPTS += --disable-sensors > endif > > ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 18:57:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 20:57:18 +0200 Subject: [Buildroot] [git commit] package/htop: use official tarball Message-ID: <20220403184853.729D485FF7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c49b46e9cc90e4c974225413bde15fdeb5de446c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/htop/htop.hash | 4 +++- package/htop/htop.mk | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.hash b/package/htop/htop.hash index dffe5ca1ad..d7c39be4d0 100644 --- a/package/htop/htop.hash +++ b/package/htop/htop.hash @@ -1,3 +1,5 @@ +# From https://github.com/htop-dev/htop/releases/download/3.1.2/htop-3.1.2.tar.xz.sha256 +sha256 884bce5b58cb113127860b9e368609019e92416a81550fdf0752052f3a64b388 htop-3.1.2.tar.xz + # Locally calculated -sha256 fe9559637c8f21f5fd531a4c072048a404173806acbdad1359c6b82fd87aa001 htop-3.1.2.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 210518da2f..1e7b171a17 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -5,7 +5,8 @@ ################################################################################ HTOP_VERSION = 3.1.2 -HTOP_SITE = $(call github,htop-dev,htop,$(HTOP_VERSION)) +HTOP_SOURCE = htop-$(HTOP_VERSION).tar.xz +HTOP_SITE = https://github.com/htop-dev/htop/releases/download/$(HTOP_VERSION) HTOP_DEPENDENCIES = ncurses HTOP_AUTORECONF = YES # Prevent htop build system from searching the host paths From yann.morin.1998 at free.fr Sun Apr 3 18:56:39 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 20:56:39 +0200 Subject: [Buildroot] [git commit] package/htop: fix sensors option Message-ID: <20220403184853.5762585FF7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8289875b69e6377218ca1ab7712b932c24302c5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used --{with,without}-sensors instead of --{dis,en}able-sensors Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/htop/htop.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 7caa47ce13..210518da2f 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities endif ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -HTOP_CONF_OPTS += --with-sensors +HTOP_CONF_OPTS += --enable-sensors HTOP_DEPENDENCIES += lm-sensors else -HTOP_CONF_OPTS += --without-sensors +HTOP_CONF_OPTS += --disable-sensors endif ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) From yann.morin.1998 at free.fr Sun Apr 3 18:56:42 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 20:56:42 +0200 Subject: [Buildroot] [git commit] package/htop: fix hwloc static build Message-ID: <20220403184853.6480385FF8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dd6c4a9929b4980b4a3b4dc3232cd23882dd3789 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following static build failure with hwloc raised since commit c83bf9720632bcd4d438094a9fc30feff69fc555: checking for hwloc_get_proc_cpubind in -lhwloc... no configure: error: can not find required library libhwloc Fixes: - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...-configure.ac-fix-static-build-with-hwloc.patch | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch new file mode 100644 index 0000000000..0ac79766c5 --- /dev/null +++ b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch @@ -0,0 +1,54 @@ +From 4ccad4604586c921b4ad831b254496c2cdece9fc Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 17:27:01 +0200 +Subject: [PATCH] configure.ac: fix static build with hwloc + +Retrieve hwloc dependencies through pkg-config to avoid the following +static build failure: + +checking for hwloc_get_proc_cpubind in -lhwloc... no +configure: error: can not find required library libhwloc + +This build failure is raised because without pkg-config, hwloc +dependencies such as libxml2 are not retrieved: + +configure:8999: checking for hwloc_get_proc_cpubind in -lhwloc +configure:9022: /home/autobuild/autobuild/instance-0/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o conftest -D_GNU_SOURCE -I/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lhwloc -llzma -L/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lncurses -lm >&5 +/home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib/libhwloc.a(topology-xml-libxml.o): in function `hwloc_libxml_free_buffer': +topology-xml-libxml.c:(.text+0x6a): undefined reference to `xmlFree' + +Fixes: + - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/htop-dev/htop/commit/4ccad4604586c921b4ad831b254496c2cdece9fc] +--- + configure.ac | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4ecac1ecf..6bb7eb69f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -456,8 +456,18 @@ case "$enable_hwloc" in + no) + ;; + yes) +- AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) +- AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ m4_ifdef([PKG_PROG_PKG_CONFIG], [ ++ PKG_PROG_PKG_CONFIG() ++ PKG_CHECK_MODULES(HWLOC, hwloc, [ ++ CFLAGS="$CFLAGS $HWLOC_CFLAGS" LIBS="$LIBS $HWLOC_LIBS" ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) + ;; + *) + AC_MSG_ERROR([bad value '$enable_hwloc' for --enable-hwloc]) From yann.morin.1998 at free.fr Sun Apr 3 19:03:11 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:03:11 +0200 Subject: [Buildroot] [git commit] package/cppcms: add openssl optional dependency Message-ID: <20220403185526.1DB8D86082@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9fb9c1e8df655a8ba86f38145486d5412e44b84b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master openssl is an optional dependency since version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/7cfdc9f703a35c42f7168573ffcc92eaa37e4ab6 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppcms/cppcms.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 357909f31d..c560b5d0fa 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -35,6 +35,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=OFF +CPPCMS_DEPENDENCIES += openssl +else +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib From yann.morin.1998 at free.fr Sun Apr 3 19:03:06 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:03:06 +0200 Subject: [Buildroot] [git commit] package/cppcms: zlib is optional, not mandatory Message-ID: <20220403185526.09CAA8607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f413bf2c641954d2202287c3858a007a24e02a6a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master zlib is not mandatory since at least version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/fc1c25f9c7af440f2fc579b150025addfa5421a5 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppcms/Config.in | 1 - package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 1d7635a83e..25fd93a7d0 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_CPPCMS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR - select BR2_PACKAGE_ZLIB select BR2_PACKAGE_PCRE select BR2_PACKAGE_LIBGCRYPT help diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index b289617bbc..530b44427b 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = zlib pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre libgcrypt ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF +CPPCMS_DEPENDENCIES += zlib +else +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=ON +endif + ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) # posix backend needs monetary.h which isn't available on uClibc CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on From yann.morin.1998 at free.fr Sun Apr 3 19:03:13 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:03:13 +0200 Subject: [Buildroot] [git commit] package/cppcms: bump to version 2.0.0-beta2 Message-ID: <20220403185526.278F08607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fccc96f6aa673bacec62b9ec82f8c888cb0b5a31 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Update indentation in hash file (two spaces) - This bump will fix the following build failure if python2 is not available on host (while at it, add host-python3 dependency): Traceback (most recent call last): File "/home/autobuild/autobuild/instance-4/output-1/build/cppcms-1.2.1/bin/cppcms_tmpl_cc", line 14, in import StringIO ModuleNotFoundError: No module named 'StringIO' http://cppcms.com/wikipp/en/page/cppcms_2_0_whats_new Fixes: - http://autobuild.buildroot.org/results/00482ee24deae95a91f8499f499b18e15f14b51a Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppcms/cppcms.hash | 14 +++++++------- package/cppcms/cppcms.mk | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package/cppcms/cppcms.hash b/package/cppcms/cppcms.hash index 86f86d94af..a8d04ff36f 100644 --- a/package/cppcms/cppcms.hash +++ b/package/cppcms/cppcms.hash @@ -1,8 +1,8 @@ -# From http://sourceforge.net/projects/cppcms/files/cppcms/1.2.1/ -sha1 9cb25cc5d507d2f4235326ba3815eba252b4ac77 cppcms-1.2.1.tar.bz2 -md5 2bb259fefb86532e404207c71c094a0c cppcms-1.2.1.tar.bz2 +# From http://sourceforge.net/projects/cppcms/files/cppcms/2.0.0-beta2/ +sha1 746cc5e3f58565d91d9ded6e2616399d60e9d01d cppcms-2.0.0.beta2.tar.bz2 +md5 ef561d13ee92d2053151cab073feba10 cppcms-2.0.0.beta2.tar.bz2 # Locally computed: -sha256 10fec7710409c949a229b9019ea065e25ff5687103037551b6f05716bf6cac52 cppcms-1.2.1.tar.bz2 -sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT -sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT -sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT +sha256 697031c7d141fdd215c6be5090b66e2106a63bb3e52f09ee8120e8efc6c08a21 cppcms-2.0.0.beta2.tar.bz2 +sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT +sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT +sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index c560b5d0fa..8a59990a8d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -4,8 +4,8 @@ # ################################################################################ -CPPCMS_VERSION = 1.2.1 -CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 +CPPCMS_VERSION = 2.0.0-beta2 +CPPCMS_SOURCE = cppcms-$(subst -,.,$(CPPCMS_VERSION)).tar.bz2 CPPCMS_LICENSE = MIT, BSL-1.0 (boost), Public Domain (json2.js), Zlib (md5) CPPCMS_LICENSE_FILES = COPYING.TXT MIT.TXT THIRD_PARTY_SOFTWARE.TXT CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre +CPPCMS_DEPENDENCIES = host-python3 pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF From yann.morin.1998 at free.fr Sun Apr 3 19:03:09 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:03:09 +0200 Subject: [Buildroot] [git commit] package/cppcms: libgcrypt is optional, not mandatory Message-ID: <20220403185526.141A28607F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=32045a73a39904617a3c281e02ccf93ad953b5d5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppcms/Config.in | 2 -- package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 25fd93a7d0..6c0bff934c 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -1,12 +1,10 @@ config BR2_PACKAGE_CPPCMS bool "cppcms" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR select BR2_PACKAGE_PCRE - select BR2_PACKAGE_LIBGCRYPT help CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed for Rapid Web Application Development. It diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 530b44427b..357909f31d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=OFF +CPPCMS_DEPENDENCIES += libgcrypt +else +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib From yann.morin.1998 at free.fr Sun Apr 3 19:05:20 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:05:20 +0200 Subject: [Buildroot] [PATCH 4/4] package/cppcms: bump to version 2.0.0-beta2 In-Reply-To: <20220403154612.4158174-4-fontaine.fabrice@gmail.com> References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> <20220403154612.4158174-4-fontaine.fabrice@gmail.com> Message-ID: <20220403190520.GI1811301@scaer> Fabrice, All, On 2022-04-03 17:46 +0200, Fabrice Fontaine spake thusly: > - Update indentation in hash file (two spaces) > - This bump will fix the following build failure if python2 is not > available on host (while at it, add host-python3 dependency): > > Traceback (most recent call last): > File "/home/autobuild/autobuild/instance-4/output-1/build/cppcms-1.2.1/bin/cppcms_tmpl_cc", line 14, in > import StringIO > ModuleNotFoundError: No module named 'StringIO' > > http://cppcms.com/wikipp/en/page/cppcms_2_0_whats_new > > Fixes: > - http://autobuild.buildroot.org/results/00482ee24deae95a91f8499f499b18e15f14b51a > > Signed-off-by: Fabrice Fontaine Series of 4 patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/cppcms/cppcms.hash | 14 +++++++------- > package/cppcms/cppcms.mk | 6 +++--- > 2 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/package/cppcms/cppcms.hash b/package/cppcms/cppcms.hash > index 86f86d94af..a8d04ff36f 100644 > --- a/package/cppcms/cppcms.hash > +++ b/package/cppcms/cppcms.hash > @@ -1,8 +1,8 @@ > -# From http://sourceforge.net/projects/cppcms/files/cppcms/1.2.1/ > -sha1 9cb25cc5d507d2f4235326ba3815eba252b4ac77 cppcms-1.2.1.tar.bz2 > -md5 2bb259fefb86532e404207c71c094a0c cppcms-1.2.1.tar.bz2 > +# From http://sourceforge.net/projects/cppcms/files/cppcms/2.0.0-beta2/ > +sha1 746cc5e3f58565d91d9ded6e2616399d60e9d01d cppcms-2.0.0.beta2.tar.bz2 > +md5 ef561d13ee92d2053151cab073feba10 cppcms-2.0.0.beta2.tar.bz2 > # Locally computed: > -sha256 10fec7710409c949a229b9019ea065e25ff5687103037551b6f05716bf6cac52 cppcms-1.2.1.tar.bz2 > -sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT > -sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT > -sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT > +sha256 697031c7d141fdd215c6be5090b66e2106a63bb3e52f09ee8120e8efc6c08a21 cppcms-2.0.0.beta2.tar.bz2 > +sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT > +sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT > +sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT > diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk > index c560b5d0fa..8a59990a8d 100644 > --- a/package/cppcms/cppcms.mk > +++ b/package/cppcms/cppcms.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -CPPCMS_VERSION = 1.2.1 > -CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 > +CPPCMS_VERSION = 2.0.0-beta2 > +CPPCMS_SOURCE = cppcms-$(subst -,.,$(CPPCMS_VERSION)).tar.bz2 > CPPCMS_LICENSE = MIT, BSL-1.0 (boost), Public Domain (json2.js), Zlib (md5) > CPPCMS_LICENSE_FILES = COPYING.TXT MIT.TXT THIRD_PARTY_SOFTWARE.TXT > CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) > @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ > -DCMAKE_SKIP_RPATH=ON \ > -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" > > -CPPCMS_DEPENDENCIES = pcre > +CPPCMS_DEPENDENCIES = host-python3 pcre > > ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) > CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 19:08:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:08:08 +0200 Subject: [Buildroot] [git commit] package/linux-firmware: Add Intel WiFi 3945ABG/BG/4965AGN Message-ID: <20220403185907.C954786089@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7130bcb44c4c5cd9fd83dba6da28617f6c77a615 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add Intel WiFi 3945ABG/BG and 4965AGN firmware. This firmware is required for the iwl4965 and iwl3945 kernel driver. Signed-off-by: Stefan Agner [yann.morin.1998 at free.fr: fix driver names in help texts] Signed-off-by: Yann E. MORIN --- package/linux-firmware/Config.in | 12 ++++++++++++ package/linux-firmware/linux-firmware.mk | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in index 4a44d4a2b6..a0dda5fb6f 100644 --- a/package/linux-firmware/Config.in +++ b/package/linux-firmware/Config.in @@ -199,6 +199,18 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168 Firmware files for the Intel Wifi 3168 devices supported by the iwlwifi kernel driver. +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945 + bool "Intel iwlwifi 3945" + help + Firmware files for the Intel Wifi 3945 devices supported by + the iwl3965 kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965 + bool "Intel iwlwifi 4965" + help + Firmware files for the Intel Wifi 4965 devices supported by + the iwl4945 kernel driver. + config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 bool "Intel iwlwifi 5000" help diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 2eec8a291a..0c725737d0 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -457,6 +457,16 @@ LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware endif +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945),y) +LINUX_FIRMWARE_FILES += iwlwifi-3945-2.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965),y) +LINUX_FIRMWARE_FILES += iwlwifi-4965-2.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + # iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode, # iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to # different versions of the firmware API. For now, we only install the From yann.morin.1998 at free.fr Sun Apr 3 19:10:59 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:10:59 +0200 Subject: [Buildroot] [git commit] package/linux-firmware: properly fix drivers names for iwl3945/iwl4965 Message-ID: <20220403190312.C7A49860AE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=158b062a42c393e9084bde9691f663ee0ef59b18 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In 7130bcb44c4c (package/linux-firmware: Add Intel WiFi 3945ABG/BG/4965AGN), I improperly fixed the two drivers names... Signed-off-by: Yann E. MORIN --- package/linux-firmware/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in index a0dda5fb6f..8ce71140da 100644 --- a/package/linux-firmware/Config.in +++ b/package/linux-firmware/Config.in @@ -203,13 +203,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945 bool "Intel iwlwifi 3945" help Firmware files for the Intel Wifi 3945 devices supported by - the iwl3965 kernel driver. + the iwl3945 kernel driver. config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965 bool "Intel iwlwifi 4965" help Firmware files for the Intel Wifi 4965 devices supported by - the iwl4945 kernel driver. + the iwl4965 kernel driver. config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 bool "Intel iwlwifi 5000" From fontaine.fabrice at gmail.com Sun Apr 3 19:11:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 21:11:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/zlib-ng: fix build on powerpc Message-ID: <20220403191103.1019544-1-fontaine.fabrice@gmail.com> Disable POWER8 optimisations to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine --- package/zlib-ng/zlib-ng.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11..09edfe1faf 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -15,6 +15,7 @@ ZLIB_NG_PROVIDES = zlib ZLIB_NG_CONF_OPTS += \ -DWITH_GZFILEOP=1 \ -DWITH_OPTIM=1 \ + -DWITH_POWER8=OFF \ -DZLIB_COMPAT=1 \ -DZLIB_ENABLE_TESTS=OFF -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 3 19:12:43 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:12:43 +0200 Subject: [Buildroot] [PATCH] package/linux-firmware: Add Intel WiFi 3945ABG/BG/4965AGN In-Reply-To: References: Message-ID: <20220403191243.GJ1811301@scaer> Stefan, All, On 2022-04-01 18:07 +0200, Stefan Agner spake thusly: > Add Intel WiFi 3945ABG/BG and 4965AGN firmware. This firmware is > required for the iwl4965 and iwl3945 kernel driver. > > Signed-off-by: Stefan Agner > --- > package/linux-firmware/Config.in | 12 ++++++++++++ > package/linux-firmware/linux-firmware.mk | 10 ++++++++++ > 2 files changed, 22 insertions(+) > > diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in > index 4a44d4a2b6..a9a7e914cf 100644 > --- a/package/linux-firmware/Config.in > +++ b/package/linux-firmware/Config.in > @@ -199,6 +199,18 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168 > Firmware files for the Intel Wifi 3168 devices supported by > the iwlwifi kernel driver. > > +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945 > + bool "Intel iwlwifi 3945" > + help > + Firmware files for the Intel Wifi 3945 devices supported by > + the iwl4965 kernel driver. ^^^^ Here... > +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965 > + bool "Intel iwlwifi 4965" > + help > + Firmware files for the Intel Wifi 4965 devices supported by > + the iwl3945 kernel driver. ^^^^ ... and here, I guess there is an issue with the drivers names. I've switched the two, and applied to master, thanks. And I had to do a follow-up commit because I improperly fixed them... Regards, Yann E. MORIN. > + > config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 > bool "Intel iwlwifi 5000" > help > diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk > index 2eec8a291a..0c725737d0 100644 > --- a/package/linux-firmware/linux-firmware.mk > +++ b/package/linux-firmware/linux-firmware.mk > @@ -457,6 +457,16 @@ LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode > LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware > endif > > +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945),y) > +LINUX_FIRMWARE_FILES += iwlwifi-3945-2.ucode > +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware > +endif > + > +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965),y) > +LINUX_FIRMWARE_FILES += iwlwifi-4965-2.ucode > +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware > +endif > + > # iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode, > # iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to > # different versions of the firmware API. For now, we only install the > -- > 2.35.1 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From emile.cormier.jr at gmail.com Sun Apr 3 19:13:56 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 16:13:56 -0300 Subject: [Buildroot] [PATCH v2 1/1] package/pkg-python.mk: fix PEP517 paths In-Reply-To: <20220403083318.GE1811301@scaer> References: <20220330224521.4142504-1-james.hilliard1@gmail.com> <20220403083318.GE1811301@scaer> Message-ID: On Sun, Apr 3, 2022 at 5:33 AM Yann E. MORIN wrote: > Applied to master, thanks. > > Regards, > Yann E. MORIN. > I confirm that the PasswordHasher test works for me with the latest master. Thanks Yann and James! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla at busybox.net Sun Apr 3 19:15:05 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 03 Apr 2022 19:15:05 +0000 Subject: [Buildroot] [Bug 14721] python-argon2_cffi no longer works In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14721 --- Comment #4 from Emile Cormier --- I confirm that the PasswordHasher test works for me with the latest master. -- You are receiving this mail because: You are on the CC list for the bug. From yann.morin.1998 at free.fr Sun Apr 3 19:17:54 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:17:54 +0200 Subject: [Buildroot] [git commit] package/openocd: Allow to build BCM2835 on aarch64 Message-ID: <20220403190943.5847A860CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=342631bed10f987351a83c9378c94447584a1515 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Allow to build the BCM2835 bitbang interface on aarch64. Signed-off-by: Stefan Agner Signed-off-by: Yann E. MORIN --- package/openocd/Config.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/openocd/Config.in b/package/openocd/Config.in index b14f940b27..cef109b511 100644 --- a/package/openocd/Config.in +++ b/package/openocd/Config.in @@ -190,13 +190,17 @@ config BR2_PACKAGE_OPENOCD_AT91RM help Enable building support for AT91RM9200 based SBCs +endif # BR2_arm + +if BR2_arm || BR2_aarch64 + config BR2_PACKAGE_OPENOCD_BCM2835 bool "bitbanging on BCM2835" help Enable building support for bitbanging on BCM2835 (as found in Raspberry Pi) -endif # BR2_arm +endif # BR2_arm || BR2_aarch64 config BR2_PACKAGE_OPENOCD_GW16012 bool "Gateworks GW16012 JTAG Programmer" From yann.morin.1998 at free.fr Sun Apr 3 19:19:19 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:19:19 +0200 Subject: [Buildroot] [PATCH] package/openocd: Allow to build BCM2835 on aarch64 In-Reply-To: References: Message-ID: <20220403191919.GK1811301@scaer> Stefan, All, On 2022-03-31 10:53 +0200, Stefan Agner spake thusly: > Allow to build the BCM2835 bitbang interface on aarch64. > > Signed-off-by: Stefan Agner Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/openocd/Config.in | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/package/openocd/Config.in b/package/openocd/Config.in > index b14f940b27..cef109b511 100644 > --- a/package/openocd/Config.in > +++ b/package/openocd/Config.in > @@ -190,13 +190,17 @@ config BR2_PACKAGE_OPENOCD_AT91RM > help > Enable building support for AT91RM9200 based SBCs > > +endif # BR2_arm > + > +if BR2_arm || BR2_aarch64 > + > config BR2_PACKAGE_OPENOCD_BCM2835 > bool "bitbanging on BCM2835" > help > Enable building support for bitbanging on BCM2835 > (as found in Raspberry Pi) > > -endif # BR2_arm > +endif # BR2_arm || BR2_aarch64 > > config BR2_PACKAGE_OPENOCD_GW16012 > bool "Gateworks GW16012 JTAG Programmer" > -- > 2.35.1 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 19:59:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:59:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/zlib-ng: fix build on powerpc In-Reply-To: <20220403191103.1019544-1-fontaine.fabrice@gmail.com> References: <20220403191103.1019544-1-fontaine.fabrice@gmail.com> Message-ID: <20220403195905.GA2354230@scaer> Fabrice, All, On 2022-04-03 21:11 +0200, Fabrice Fontaine spake thusly: > Disable POWER8 optimisations to fix the following build failure with > powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit > 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and > https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: > > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': > /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' > > Fixes: > - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 > > Signed-off-by: Fabrice Fontaine > --- > package/zlib-ng/zlib-ng.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > index fb497b8c11..09edfe1faf 100644 > --- a/package/zlib-ng/zlib-ng.mk > +++ b/package/zlib-ng/zlib-ng.mk > @@ -15,6 +15,7 @@ ZLIB_NG_PROVIDES = zlib > ZLIB_NG_CONF_OPTS += \ > -DWITH_GZFILEOP=1 \ > -DWITH_OPTIM=1 \ > + -DWITH_POWER8=OFF \ Why can't that be conditional on BR2_powerpc_power8 ? Regards, Yann E. MORIN. > -DZLIB_COMPAT=1 \ > -DZLIB_ENABLE_TESTS=OFF > > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 20:12:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:12:05 +0200 Subject: [Buildroot] [git commit] package/fetchmail: fix build with libressl Message-ID: <20220403200249.23688860D1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f6b6e0b68bd2d84a245981583c492c009678c7b0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING. Fixes: - http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/fetchmail/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in index a4bf5a7c20..1017df34b2 100644 --- a/package/fetchmail/Config.in +++ b/package/fetchmail/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL depends on BR2_USE_MMU # fork() select BR2_PACKAGE_CA_CERTIFICATES select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help Fetchmail - the mail-retrieval daemon Client daemon to move mail from POP and IMAP to your local From fontaine.fabrice at gmail.com Sun Apr 3 20:13:06 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 22:13:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/zlib-ng: fix build on powerpc In-Reply-To: <20220403195905.GA2354230@scaer> References: <20220403191103.1019544-1-fontaine.fabrice@gmail.com> <20220403195905.GA2354230@scaer> Message-ID: Le dim. 3 avr. 2022 ? 21:59, Yann E. MORIN a ?crit : > > Fabrice, All, > > On 2022-04-03 21:11 +0200, Fabrice Fontaine spake thusly: > > Disable POWER8 optimisations to fix the following build failure with > > powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit > > 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and > > https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: > > > > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': > > /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' > > > > Fixes: > > - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/zlib-ng/zlib-ng.mk | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > > index fb497b8c11..09edfe1faf 100644 > > --- a/package/zlib-ng/zlib-ng.mk > > +++ b/package/zlib-ng/zlib-ng.mk > > @@ -15,6 +15,7 @@ ZLIB_NG_PROVIDES = zlib > > ZLIB_NG_CONF_OPTS += \ > > -DWITH_GZFILEOP=1 \ > > -DWITH_OPTIM=1 \ > > + -DWITH_POWER8=OFF \ > > Why can't that be conditional on BR2_powerpc_power8 ? It can, I'll send a v2. However, it should be noted that power8 is unconditionally disabled on mesa3d though. > > Regards, > Yann E. MORIN. > > > -DZLIB_COMPAT=1 \ > > -DZLIB_ENABLE_TESTS=OFF > > > > -- > > 2.35.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' Best Regards, Fabrice From yann.morin.1998 at free.fr Sun Apr 3 20:15:30 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:15:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl In-Reply-To: <20220403185306.928833-1-fontaine.fabrice@gmail.com> References: <20220403185306.928833-1-fontaine.fabrice@gmail.com> Message-ID: <20220403201530.GB2354230@scaer> Fabrice, All, On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly: > Fix the following build failure with libressl raised since bump to > version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and > https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: > > configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING. This sentence is incorrect. It is legally not possible to *distribute* fetchmail when linked against LibreSSL, as the GPL conditions in that case only trigger at the moment of distribution. So, there should be no issue with linking fetchmail to LibreSSL for private use without redistribution. But: IANAL, TINLA, TTYL... > Fixes: > - http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/fetchmail/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in > index a4bf5a7c20..1017df34b2 100644 > --- a/package/fetchmail/Config.in > +++ b/package/fetchmail/Config.in > @@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL > depends on BR2_USE_MMU # fork() > select BR2_PACKAGE_CA_CERTIFICATES > select BR2_PACKAGE_OPENSSL > + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL > help > Fetchmail - the mail-retrieval daemon > Client daemon to move mail from POP and IMAP to your local > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 3 20:22:02 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 22:22:02 +0200 Subject: [Buildroot] [PATCH v2,1/1] package/zlib-ng: fix build on powerpc Message-ID: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> Handle WITH_POWER8 to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Yann E. Morin): - Don't unconditionally disable power8 package/zlib-ng/zlib-ng.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11..938acd4181 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + $(eval $(cmake-package)) -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 3 20:24:48 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:24:48 +0200 Subject: [Buildroot] [git commit] package/libyang: drop unrecognized options Message-ID: <20220403201537.0DCB5860FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=58ab72bb8313aa9be90736c088fe04b199eeaea8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized anymore Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libyang/libyang.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 7de9531bff..832adcb627 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF \ - -DENABLE_LYD_PRIV=ON + -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF + -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package)) From yann.morin.1998 at free.fr Sun Apr 3 20:24:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:24:50 +0200 Subject: [Buildroot] [git commit] package/libyang: disable tests Message-ID: <20220403201537.1AD2F860FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ea6cc91be4db390f03c81539a9ae44979fd162ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable tests which are enabled by default in debug mode since bump to version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0 as they will raise the following build failure if cmocka is built before libyang: In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t' 53 | typedef unsigned _Addr uintptr_t; | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libyang/libyang.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 832adcb627..a097b3ee95 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,9 +15,11 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) From yann.morin.1998 at free.fr Sun Apr 3 20:23:27 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:23:27 +0200 Subject: [Buildroot] [git commit] package/minizip: bump to version 3.0.5 Message-ID: <20220403201537.0036A860F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b1d80083781f844cc70229c4a592253c9a34cbaa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This bump will fix the following build failure with zlib-ng thanks to https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory 19 | # include "zlib-ng.h" | ^~~~~~~~~~~ https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 Fixes: - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/minizip/minizip.hash | 2 +- package/minizip/minizip.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash index 3e87e64dae..e73637670c 100644 --- a/package/minizip/minizip.hash +++ b/package/minizip/minizip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c minizip-3.0.4.tar.gz +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk index 07f67c1354..b9259f0c54 100644 --- a/package/minizip/minizip.mk +++ b/package/minizip/minizip.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_VERSION = 3.0.4 +MINIZIP_VERSION = 3.0.5 MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) MINIZIP_DEPENDENCIES = host-pkgconf MINIZIP_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Sun Apr 3 20:25:15 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:25:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/minizip: bump to version 3.0.5 In-Reply-To: <20220403183503.736373-1-fontaine.fabrice@gmail.com> References: <20220403183503.736373-1-fontaine.fabrice@gmail.com> Message-ID: <20220403202515.GC2354230@scaer> Fabrice, All, On 2022-04-03 20:35 +0200, Fabrice Fontaine spake thusly: > This bump will fix the following build failure with zlib-ng thanks to > https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: > > /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory > 19 | # include "zlib-ng.h" > | ^~~~~~~~~~~ > > https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 > > Fixes: > - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/minizip/minizip.hash | 2 +- > package/minizip/minizip.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash > index 3e87e64dae..e73637670c 100644 > --- a/package/minizip/minizip.hash > +++ b/package/minizip/minizip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c minizip-3.0.4.tar.gz > +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz > sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE > diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk > index 07f67c1354..b9259f0c54 100644 > --- a/package/minizip/minizip.mk > +++ b/package/minizip/minizip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MINIZIP_VERSION = 3.0.4 > +MINIZIP_VERSION = 3.0.5 > MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) > MINIZIP_DEPENDENCIES = host-pkgconf > MINIZIP_INSTALL_STAGING = YES > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 20:25:42 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:25:42 +0200 Subject: [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options In-Reply-To: <20220403163737.223577-1-fontaine.fabrice@gmail.com> References: <20220403163737.223577-1-fontaine.fabrice@gmail.com> Message-ID: <20220403202542.GD2354230@scaer> Fabrice, All, On 2022-04-03 18:37 +0200, Fabrice Fontaine spake thusly: > Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop > ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized > anymore > > Signed-off-by: Fabrice Fontaine Those two patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libyang/libyang.mk | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk > index 7de9531bff..832adcb627 100644 > --- a/package/libyang/libyang.mk > +++ b/package/libyang/libyang.mk > @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2 > HOST_LIBYANG_DEPENDENCIES = host-pcre2 > > LIBYANG_CONF_OPTS = \ > - -DENABLE_VALGRIND_TESTS=OFF \ > - -DGEN_PYTHON_BINDINGS=OFF \ > - -DENABLE_LYD_PRIV=ON > + -DENABLE_VALGRIND_TESTS=OFF > > HOST_LIBYANG_CONF_OPTS = \ > - -DENABLE_VALGRIND_TESTS=OFF \ > - -DGEN_PYTHON_BINDINGS=OFF > + -DENABLE_VALGRIND_TESTS=OFF > > $(eval $(cmake-package)) > $(eval $(host-cmake-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 20:28:35 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:28:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: needs C++ In-Reply-To: <20220403161751.204523-1-fontaine.fabrice@gmail.com> References: <20220403161751.204523-1-fontaine.fabrice@gmail.com> Message-ID: <20220403202835.GE2354230@scaer> Fabrice, All, On 2022-04-03 18:17 +0200, Fabrice Fontaine spake thusly: > xmrig needs C++ since its addition in commit > 6f70990ccf6cb993fc31519337390e436d15493b: > > CMake Error at CMakeLists.txt:2 (project): > No CMAKE_CXX_COMPILER could be found. > > Fixes: > - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/xmrig/Config.in | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in > index 7024241017..c5c6b3e37b 100644 > --- a/package/xmrig/Config.in > +++ b/package/xmrig/Config.in > @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG > # xmrig needs fenv.h which is not provided by uclibc > depends on !BR2_TOOLCHAIN_USES_UCLIBC > depends on !BR2_STATIC_LIBS # libuv > + depends on BR2_INSTALL_LIBSTDCPP > select BR2_PACKAGE_LIBUV > help > RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. > > https://xmrig.com > > -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library" > +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" > depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 > depends on BR2_USE_MMU > depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ > - BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS > + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ > + !BR2_INSTALL_LIBSTDCPP > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 20:28:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:28:18 +0200 Subject: [Buildroot] [git commit] package/xmrig: needs C++ Message-ID: <20220403201923.57CC5860FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2d806891cb0dc0fd2d30171d14bc9e911abbe76e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master xmrig needs C++ since its addition in commit 6f70990ccf6cb993fc31519337390e436d15493b: CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/xmrig/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in index 7024241017..c5c6b3e37b 100644 --- a/package/xmrig/Config.in +++ b/package/xmrig/Config.in @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG # xmrig needs fenv.h which is not provided by uclibc depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on !BR2_STATIC_LIBS # libuv + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBUV help RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. https://xmrig.com -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library" +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_INSTALL_LIBSTDCPP From fontaine.fabrice at gmail.com Sun Apr 3 20:56:00 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 22:56:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/dieharder: drop rgb_operm Message-ID: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> Fix the following build failure: /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to `rgb_operm' Fixes: - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 Signed-off-by: Fabrice Fontaine --- .../0005-Remove-defunct-rgb_operm.patch | 732 ++++++++++++++++++ 1 file changed, 732 insertions(+) create mode 100644 package/dieharder/0005-Remove-defunct-rgb_operm.patch diff --git a/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/package/dieharder/0005-Remove-defunct-rgb_operm.patch new file mode 100644 index 0000000000..efc311dbaa --- /dev/null +++ b/package/dieharder/0005-Remove-defunct-rgb_operm.patch @@ -0,0 +1,732 @@ +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marcus=20M=C3=BCller?= +Date: Mon, 12 Oct 2020 21:30:12 +0200 +Subject: [PATCH] Remove defunct rgb_operm + +[Retrieved from: +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] +Signed-off-by: Fabrice Fontaine +--- + include/Makefile.am | 1 - + include/dieharder/rgb_operm.h | 38 -- + include/dieharder/tests.h | 2 - + libdieharder/rgb_operm.c | 633 ---------------------------------- + 4 files changed, 674 deletions(-) + delete mode 100644 include/dieharder/rgb_operm.h + delete mode 100644 libdieharder/rgb_operm.c + +diff --git a/include/Makefile.am b/include/Makefile.am +index f80b4ff..e4659cd 100644 +--- a/include/Makefile.am ++++ b/include/Makefile.am +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ + dieharder/rgb_lagged_sums.h \ + dieharder/rgb_lmn.h \ + dieharder/rgb_minimum_distance.h \ +- dieharder/rgb_operm.h \ + dieharder/rgb_persist.h \ + dieharder/rgb_permutations.h \ + dieharder/rgb_timing.h \ +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +deleted file mode 100644 +index c48fa37..0000000 +--- a/include/dieharder/rgb_operm.h ++++ /dev/null +@@ -1,38 +0,0 @@ +-/* +- * rgb_operm test header. +- */ +- +-/* +- * function prototype +- */ +-int rgb_operm(Test **test,int irun); +- +-static Dtest rgb_operm_dtest __attribute__((unused)) = { +- "RGB Overlapping Permuations Test", +- "rgb_operm", +- "\n\ +-#========================================================================\n\ +-# RGB Overlapping Permutations Test\n\ +-# Forms both the exact (expected) covariance matrix for overlapping\n\ +-# permutations of random integer and an empirical covariance matrix\n\ +-# formed from a long string of samples. The difference is expected\n\ +-# to have a chisq distribution and hence can be transformed into a\n\ +-# sample p-value. Note that this is one possible functional replacement\n\ +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ +-# number of numbers in the overlapping permutation window) to be varied\n\ +-# from 2 to perhaps 8.\n\ +-#\n", +- 100, /* Default psamples */ +- 100000, /* Default tsamples */ +- 1, /* We magically make all the bit tests return a single histogram */ +- rgb_operm, +- 0 +-}; +- +-/* +- * Global variables. +- * +- * rgb_operm_k is the size of the overlapping window that is slid along +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. +- */ +-unsigned int rgb_operm_k; +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h +index 1674aed..b50dbe3 100644 +--- a/include/dieharder/tests.h ++++ b/include/dieharder/tests.h +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -80,7 +79,6 @@ + RGB_PERMUTATIONS, + RGB_LAGGED_SUMS, + RGB_LMN, +- RGB_OPERM, + DAB_BYTEDISTRIB, + DAB_DCT, + DAB_FILLTREE, +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c +deleted file mode 100644 +index 15f8e9a..0000000 +--- a/libdieharder/rgb_operm.c ++++ /dev/null +@@ -1,633 +0,0 @@ +-/* +- * ======================================================================== +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ +- * +- * See copyright in copyright.h and the accompanying file COPYING +- * ======================================================================== +- */ +- +-/* +- * ======================================================================== +- * This is the revised Overlapping Permutations test. It directly +- * simulates the covariance matrix of overlapping permutations. The way +- * this works below (tentatively) is: +- * +- * For a bit ntuple of length N, slide a window of length N to the +- * right one bit at a time. Compute the permutation index of the +- * original ntuple, the permutation index of the window ntuple, and +- * accumulate the covariance matrix of the two positions. This +- * can be directly and precisely computed as well. The simulated +- * result should be distributed according to the chisq distribution, +- * so we subtract the two and feed it into the chisq program as a +- * vector to compute p. +- * +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited +- * documentation (in a program that doesn't do ANYTHING like what the +- * documentation says it does) and from Nilpotent Markov Processes. +- * But I confess to not quite understand how to actually perform the +- * test in the latter -- it is very good at describing the construction +- * of the target matrix, not so good at describing how to transform +- * this into a chisq and p. +- * +- * FWIW, as I get something that actually works here, I'm going to +- * THOROUGHLY document it in the book that will accompany the test. +- *======================================================================== +- */ +- +-#include +-#define RGB_OPERM_KMAX 10 +- +-/* +- * Some globals that will eventually go in the test include where they +- * arguably belong. +- */ +-double fpipi(int pi1,int pi2,int nkp); +-uint piperm(size_t *data,int len); +-void make_cexact(); +-void make_cexpt(); +-int nperms,noperms; +-double **cexact,**ceinv,**cexpt,**idty; +-double *cvexact,*cvein,*cvexpt,*vidty; +- +-int rgb_operm(Test **test,int irun) +-{ +- +- int i,j,n,nb,iv,s; +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ +- uint *count,ctotal; /* counters */ +- uint size; +- double pvalue,ntuple_prob,pbin; /* probabilities */ +- Vtest *vtest; /* Chisq entry vector */ +- +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; +- +- /* +- * For a given n = ntuple size in bits, there are n! bit orderings +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("#==================================================================\n"); +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); +- printf("# rgb_operm: ======================================================\n"); +- } +- +- /* +- * Sanity check first +- */ +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); +- exit(0); +- } +- +- nperms = gsl_sf_fact(rgb_operm_k); +- noperms = gsl_sf_fact(3*rgb_operm_k-2); +- csamples = rgb_operm_k*rgb_operm_k; +- gsl_permutation * p = gsl_permutation_alloc(nperms); +- +- /* +- * Allocate memory for value_max vector of Vtest structs and counts, +- * PER TEST. Note that we must free both of these when we are done +- * or leak. +- */ +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); +- count = (uint *)malloc(csamples*sizeof(uint)); +- Vtest_create(vtest,csamples+1); +- +- /* +- * We have to allocate and free the cexact and cexpt matrices here +- * or they'll be forgotten when these routines return. +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); +- } +- cexact = (double **)malloc(nperms*sizeof(double*)); +- ceinv = (double **)malloc(nperms*sizeof(double*)); +- cexpt = (double **)malloc(nperms*sizeof(double*)); +- idty = (double **)malloc(nperms*sizeof(double*)); +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); +- for(i=0;idata[k]; +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("#------------------------------------------------------------------\n"); +- printf("# Generating offset sample permutation pi's\n"); +- } +- */ +- for(k=0;k<2*rgb_operm_k - 1;k++){ +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); +- pi[k] = piperm((size_t *) ps,rgb_operm_k); +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("# %u: ",k); +- for(ip=k;ipdata[ip]); +- } +- printf(" = %u\n",pi[k]); +- } +- */ +- } +- +- /* +- * This is the business end of things. The covariance matrix is the +- * the sum of a central function of the permutation indices that yields +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the +- * possible permutations, for the FIRST permutation in a sample (fi) +- * times the sum of the same function over all the overlapping permutations +- * drawn from the same sample. Quite simple, really. +- */ +- for(i=0;idata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } else { +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); +- gsl_permutation_next(lookup[i]); +- for(j=0;jdata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } +- } +- */ +- MYDEBUG(D_RGB_OPERM){ +- for(i=0;i ",i); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf("\n"); +- } +- } +- +- } +- +- for(i=0;idata,len*sizeof(uint))==0){ +- /* Not cruft, but off: +- MYDEBUG(D_RGB_OPERM){ +- printf("# piperm(): "); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf(" = %u\n",i); +- } +- */ +- return(i); +- } +- } +- printf("We'd better not get here...\n"); +- +- return(0); +- +-} +- +-double fpipi(int pi1,int pi2,int nkp) +-{ +- +- int i; +- double fret; +- +- /* +- * compute the k-permutation index from iperm for the window +- * at data[offset] of length len. If it matches pind, return +- * the first quantity, otherwise return the second. +- */ +- if(pi1 == pi2){ +- +- fret = (double) (nkp - 1.0)/nkp; +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } else { +- +- fret = (double) (-1.0/nkp); +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } +- +- +-} +- +- +- +- -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 21:17:54 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 23:17:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gstd: fix build with gcc 4.8 Message-ID: <20220403211754.2037013-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc 4.8 raised since bump to version 0.14.0 in commit a334b9a7668ba412cb2da79b75a019cd89985145 and https://github.com/RidgeRun/gstd-1.x/commit/e83c94920bb33846ff0642dcf070fc5fd124e4f6: ../libgstd/libgstd.c: In function 'gstd_set_ipc': ../libgstd/libgstd.c:119:5: error: 'for' loop initial declarations are only allowed in C99 mode for (gint ipc_idx = 0; ipc_idx < num_ipcs; ipc_idx++) { ^ Fixes: - http://autobuild.buildroot.org/results/00ad1b8979000aa10a20228c998389bc913cbbd4 Signed-off-by: Fabrice Fontaine --- package/gstreamer1/gstd/gstd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gstreamer1/gstd/gstd.mk b/package/gstreamer1/gstd/gstd.mk index 08a29f26ff..817e9143ae 100644 --- a/package/gstreamer1/gstd/gstd.mk +++ b/package/gstreamer1/gstd/gstd.mk @@ -28,6 +28,8 @@ GSTD_CONF_OPTS = \ -Dwith-gstd-logstatedir=/var/log/gstd \ -Dwith-gstd-systemddir=/usr/lib/systemd/system +GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 + ifeq ($(BR2_PACKAGE_SYSTEMD),y) GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled GSTD_DEPENDENCIES += systemd -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 3 20:36:42 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:36:42 +0200 Subject: [Buildroot] [git commit] package/zlib-ng: fix build on powerpc Message-ID: <20220403213840.2532F86109@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=192dfc68c0e43d0865beb16250582b3b4e5ed178 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Handle WITH_POWER8 to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/zlib-ng/zlib-ng.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11..938acd4181 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + $(eval $(cmake-package)) From yann.morin.1998 at free.fr Sun Apr 3 21:48:00 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 23:48:00 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/zlib-ng: fix build on powerpc In-Reply-To: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> References: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> Message-ID: <20220403214800.GF2354230@scaer> Fabrice, All, On 2022-04-03 22:22 +0200, Fabrice Fontaine spake thusly: > Handle WITH_POWER8 to fix the following build failure with powerpc and > libglib2 raised since bump to version 1.9.9-b1 in commit > 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and > https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: > > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': > /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' > > Fixes: > - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > Changes v1 -> v2 (after review of Yann E. Morin): > - Don't unconditionally disable power8 > > package/zlib-ng/zlib-ng.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > index fb497b8c11..938acd4181 100644 > --- a/package/zlib-ng/zlib-ng.mk > +++ b/package/zlib-ng/zlib-ng.mk > @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) > ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 > endif > > +ifeq ($(BR2_powerpc_power8),y) > +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON > +else > +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF > +endif > + > $(eval $(cmake-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From tms320c5x at naver.com Sun Apr 3 21:49:24 2022 From: tms320c5x at naver.com (=?utf-8?B?6ri464+Z6reg?=) Date: Mon, 04 Apr 2022 06:49:24 +0900 Subject: [Buildroot] =?utf-8?q?buildroot-2022=2E02_installation_problems?= Message-ID: <9f86a73c94e6966cc7eb603fa7122@cweb006.nm.nfra.io> Hello I am trying to learn Linux late, but nothing is easy. It takes a lot of effort and time to compile individually, such as binutils, gcc, glibc, and kernel, etc which are required to build a Linux environment. and then have discovered buildroot and i thought that the buildroot could be a little easier to reach my original purpose. I am an engineer, so far I have developed non-linux fields such as avr, stm32f4... I'm a beginner and I don't have an embedded board. First, I will create a virtual target using qemu on my laptop (ubuntu 20.04.3), and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, the toolchain and glibc, compiler will be created through buildroot. The first time I did it without knowing anything, it was successful, but I can't remember which option I chose. Maybe when it first succeeded, i think the gdb option was not checked . Afterwards, if I build with the gdb option selected for the target, an error occurs like below: .... [Makefile:9230: all-gdb] Error 2 My current purpose is to remotely debug a virtual target program through gdbserver installed on the target based on qemu. To do this, gdbserver must be installed on the target, but this does not work. Attached is the .config file when the error occurs. I look forward to your reply. host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc target: kernel 5.11.22(boot by qemu), arch: x86_64, x86_64-buildroot-linux-gnu-gcc =>The command to run qemu will: qemu-system-x86_64 -kernel /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M -smp 1 -boot c -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 -append "root=/dev/sda rw acpi=off" -s -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220403_buildroot-nfs-gdbserver-but No success.config Type: application/octet-stream Size: 112956 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220404_nfs-gdbserver.No success.config Type: application/octet-stream Size: 119806 bytes Desc: not available URL: From tms320c5x at naver.com Sun Apr 3 21:57:05 2022 From: tms320c5x at naver.com (=?utf-8?B?6ri464+Z6reg?=) Date: Mon, 04 Apr 2022 06:57:05 +0900 Subject: [Buildroot] =?utf-8?q?buildroot-2022=2E02_installation_problems?= Message-ID: Hello I am trying to learn Linux late, but nothing is easy. It takes a lot of effort and time to compile individually, such as binutils, gcc, glibc, and kernel, etc which are required to build a Linux environment. and then have discovered buildroot and i thought that the buildroot could be a little easier to reach my original purpose. I am an engineer, so far I have developed non-linux fields such as avr, stm32f4... I'm a beginner and I don't have an embedded board. First, I will create a virtual target using qemu on my laptop (ubuntu 20.04.3), and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, the toolchain and glibc, compiler will be created through buildroot. The first time I did it without knowing anything, it was successful, but I can't remember which option I chose. Maybe when it first succeeded, i think the gdb option was not checked . Afterwards, if I build with the gdb option selected for the target, an error occurs like below: .... [Makefile:9230: all-gdb] Error 2 My current purpose is to remotely debug a virtual target program through gdbserver installed on the target based on qemu. To do this, gdbserver must be installed on the target, but this does not work. Attached is the .config file when the error occurs. I look forward to your reply. host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc target: kernel 5.11.22(boot by qemu), arch: x86_64, x86_64-buildroot-linux-gnu-gcc =>The command to run qemu will: qemu-system-x86_64 -kernel /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M -smp 1 -boot c -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 -append "root=/dev/sda rw acpi=off" -s -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220403_buildroot-nfs-gdbserver-but No success.config Type: application/octet-stream Size: 112956 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220404_nfs-gdbserver.No success.config Type: application/octet-stream Size: 119806 bytes Desc: not available URL: From emile.cormier.jr at gmail.com Sun Apr 3 22:19:48 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:48 -0300 Subject: [Buildroot] [PATCH 1/6] package/python-snappy: bump version to 0.6.1 Message-ID: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> From: ecorm Required by python-crossbar and python-autobahn[compress]. Signed-off-by: Emile Cormier --- package/python-snappy/python-snappy.hash | 4 ++-- package/python-snappy/python-snappy.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-snappy/python-snappy.hash b/package/python-snappy/python-snappy.hash index 1e0f96054f..32df2bea48 100644 --- a/package/python-snappy/python-snappy.hash +++ b/package/python-snappy/python-snappy.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/python-snappy/json -md5 82e09ffd44204096fc70d6de14d0ea2f python-snappy-0.5.4.tar.gz -sha256 d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2 python-snappy-0.5.4.tar.gz +md5 fc84cfa3526fba06d66f0d0b2e764300 python-snappy-0.6.1.tar.gz +sha256 b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a python-snappy-0.6.1.tar.gz # Locally computed sha256 checksums sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE diff --git a/package/python-snappy/python-snappy.mk b/package/python-snappy/python-snappy.mk index d087c83b10..e80aa861df 100644 --- a/package/python-snappy/python-snappy.mk +++ b/package/python-snappy/python-snappy.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_SNAPPY_VERSION = 0.5.4 -PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be +PYTHON_SNAPPY_VERSION = 0.6.1 +PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/98/7a/44a24bad98335b2c72e4cadcdecf79f50197d1bab9f22f863a274f104b96 PYTHON_SNAPPY_SETUP_TYPE = setuptools PYTHON_SNAPPY_LICENSE = BSD-3-Clause PYTHON_SNAPPY_LICENSE_FILES = LICENSE -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:49 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:49 -0300 Subject: [Buildroot] [PATCH 2/6] package/python-appdirs: add new package In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-2-emile.cormier.jr@gmail.com> From: ecorm Required by python-twisted[conch], which is required by python-crossbar. Signed-off-by: Emile Cormier --- package/Config.in | 1 + package/python-appdirs/Config.in | 7 +++++++ package/python-appdirs/python-appdirs.hash | 5 +++++ package/python-appdirs/python-appdirs.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-appdirs/Config.in create mode 100644 package/python-appdirs/python-appdirs.hash create mode 100644 package/python-appdirs/python-appdirs.mk diff --git a/package/Config.in b/package/Config.in index 0d5d763180..a1964df5f1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -929,6 +929,7 @@ menu "External python modules" source "package/python-aiozipkin/Config.in" source "package/python-alsaaudio/Config.in" source "package/python-ansicolors/Config.in" + source "package/python-appdirs/Config.in" source "package/python-argh/Config.in" source "package/python-argon2-cffi/Config.in" source "package/python-argon2-cffi-bindings/Config.in" diff --git a/package/python-appdirs/Config.in b/package/python-appdirs/Config.in new file mode 100644 index 0000000000..5585759aa6 --- /dev/null +++ b/package/python-appdirs/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_APPDIRS + bool "python-appdirs" + help + A small Python module for determining appropriate platform- + specific dirs, e.g. a "user data dir". + + http://github.com/ActiveState/appdirs diff --git a/package/python-appdirs/python-appdirs.hash b/package/python-appdirs/python-appdirs.hash new file mode 100644 index 0000000000..52689b8b2c --- /dev/null +++ b/package/python-appdirs/python-appdirs.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/appdirs/json +md5 d6bca12613174185dd9abc8a29f4f012 appdirs-1.4.4.tar.gz +sha256 7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 appdirs-1.4.4.tar.gz +# Locally computed sha256 checksums +sha256 36ddb4d0a745a93ab203203d7190814b1b89727d254caff48c7a7afbbd47000b LICENSE.txt diff --git a/package/python-appdirs/python-appdirs.mk b/package/python-appdirs/python-appdirs.mk new file mode 100644 index 0000000000..222aadbb29 --- /dev/null +++ b/package/python-appdirs/python-appdirs.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-appdirs +# +################################################################################ + +PYTHON_APPDIRS_VERSION = 1.4.4 +PYTHON_APPDIRS_SOURCE = appdirs-$(PYTHON_APPDIRS_VERSION).tar.gz +PYTHON_APPDIRS_SITE = https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c316d7b95f46c669dd9c15aaeecbb48c7d0aeb88c40 +PYTHON_APPDIRS_SETUP_TYPE = setuptools +PYTHON_APPDIRS_LICENSE = MIT +PYTHON_APPDIRS_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:50 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:50 -0300 Subject: [Buildroot] [PATCH 3/6] package/python-zlmdb: add new package In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-3-emile.cormier.jr@gmail.com> From: ecorm Required by python-crossbar. Signed-off-by: Emile Cormier --- DEVELOPERS | 5 +++++ package/Config.in | 1 + package/python-zlmdb/Config.in | 16 ++++++++++++++++ package/python-zlmdb/python-zlmdb.hash | 5 +++++ package/python-zlmdb/python-zlmdb.mk | 14 ++++++++++++++ 5 files changed, 41 insertions(+) create mode 100644 package/python-zlmdb/Config.in create mode 100644 package/python-zlmdb/python-zlmdb.hash create mode 100644 package/python-zlmdb/python-zlmdb.mk diff --git a/DEVELOPERS b/DEVELOPERS index a66b9d7eee..7f04663077 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -746,6 +746,11 @@ N: Eloi Bail F: package/bayer2rgb-neon/ F: package/gstreamer1/gst1-plugins-bayer2rgb-neon/ +N: Emile Cormier +F: package/python-autobahn/ +F: package/python-crossbar/ +F: package/python-zlmdb/ + N: Eric Le Bihan F: docs/manual/adding-packages-meson.txt F: package/adwaita-icon-theme/ diff --git a/package/Config.in b/package/Config.in index a1964df5f1..4330659431 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1300,6 +1300,7 @@ menu "External python modules" source "package/python-yatl/Config.in" source "package/python-zc-lockfile/Config.in" source "package/python-zeroconf/Config.in" + source "package/python-zlmdb/Config.in" source "package/python-zope-interface/Config.in" source "package/python-zopfli/Config.in" endmenu diff --git a/package/python-zlmdb/Config.in b/package/python-zlmdb/Config.in new file mode 100644 index 0000000000..9eaab3a7a7 --- /dev/null +++ b/package/python-zlmdb/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_PYTHON_ZLMDB + bool "python-zlmdb" + select BR2_PACKAGE_PYTHON_CBOR2 # runtime + select BR2_PACKAGE_PYTHON_CFFI # runtime + select BR2_PACKAGE_PYTHON_CLICK # runtime + select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime + select BR2_PACKAGE_PYTHON_LMDB # runtime + select BR2_PACKAGE_PYTHON_NUMPY # runtime + select BR2_PACKAGE_PYTHON_PYNACL # runtime + select BR2_PACKAGE_PYTHON_PYYAML # runtime + select BR2_PACKAGE_PYTHON_TXAIO # runtime + help + Object-relational zero-copy in-memory database layer for + LMDB. + + https://github.com/crossbario/zlmdb diff --git a/package/python-zlmdb/python-zlmdb.hash b/package/python-zlmdb/python-zlmdb.hash new file mode 100644 index 0000000000..d98dc7d12a --- /dev/null +++ b/package/python-zlmdb/python-zlmdb.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/zlmdb/json +md5 d730a394b74108933a65c9fbe76aba36 zlmdb-22.3.1.tar.gz +sha256 0d416a47b1ee627186af8e5c99e5246f6b277df44ba5c6bb67e947eabf948e5a zlmdb-22.3.1.tar.gz +# Locally computed sha256 checksums +sha256 8a139bf325dcca11e0e476ce537bf791a6cfbeed8899a9b6ddc55238e180d230 LICENSE diff --git a/package/python-zlmdb/python-zlmdb.mk b/package/python-zlmdb/python-zlmdb.mk new file mode 100644 index 0000000000..a040622d9d --- /dev/null +++ b/package/python-zlmdb/python-zlmdb.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-zlmdb +# +################################################################################ + +PYTHON_ZLMDB_VERSION = 22.3.1 +PYTHON_ZLMDB_SOURCE = zlmdb-$(PYTHON_ZLMDB_VERSION).tar.gz +PYTHON_ZLMDB_SITE = https://files.pythonhosted.org/packages/71/87/bb3cebd5312e670e33551317c7fc5e4b6a4a9af39075a71cd541b32cc0bf +PYTHON_ZLMDB_SETUP_TYPE = setuptools +PYTHON_ZLMDB_LICENSE = MIT +PYTHON_ZLMDB_LICENSE_FILES = LICENSE + +$(eval $(python-package)) -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:51 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:51 -0300 Subject: [Buildroot] [PATCH 4/6] package/python-twised: added conch and serial support In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-4-emile.cormier.jr@gmail.com> From: ecorm The conch subpackage is required by python-crossbar. Added the serial subpackage while I was at it (not required by Crossbar). Signed-off-by: Emile Cormier --- package/python-twisted/Config.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/python-twisted/Config.in b/package/python-twisted/Config.in index 8596025e9c..c0acf35560 100644 --- a/package/python-twisted/Config.in +++ b/package/python-twisted/Config.in @@ -29,4 +29,16 @@ config BR2_PACKAGE_PYTHON_TWISTED_TLS select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime +config BR2_PACKAGE_PYTHON_TWISTED_CONCH + bool "Conch support" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + select BR2_PACKAGE_PYTHON_APPDIRS # runtime + select BR2_PACKAGE_PYTHON_BCRYPT # runtime + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime + select BR2_PACKAGE_PYTHON_PYASN1 # runtime + +config BR2_PACKAGE_PYTHON_TWISTED_SERIAL + bool "Serial support" + select BR2_PACKAGE_PYTHON_SERIAL # runtime + endif -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:52 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:52 -0300 Subject: [Buildroot] [PATCH 5/6] package/python-autobahn: add missing subpackages In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-5-emile.cormier.jr@gmail.com> From: ecorm Added missing python-autobahn subpackages required by python-crossbar. Signed-off-by: Emile Cormier --- package/python-autobahn/Config.in | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/python-autobahn/Config.in b/package/python-autobahn/Config.in index 627bcd73e5..20b1779b95 100644 --- a/package/python-autobahn/Config.in +++ b/package/python-autobahn/Config.in @@ -10,3 +10,43 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN framework. https://pypi.python.org/pypi/autobahn + +if BR2_PACKAGE_PYTHON_AUTOBAHN + +config BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED + bool "Twisted support" + select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_TWISTED # runtime + select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE + bool "C-based WebSocket acceleration" + select BR2_PACKAGE_PYTHON_WSACCEL # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS + bool "Non-standard WebSocket compression support" + select BR2_PACKAGE_PYTHON_SNAPPY # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION + bool "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization support" + select BR2_PACKAGE_PYTHON_CBOR # runtime + select BR2_PACKAGE_PYTHON_CBOR2 # runtime + select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime + select BR2_PACKAGE_PYTHON_MSGPACK # runtime + select BR2_PACKAGE_PYTHON_UBJSON # runtime + select BR2_PACKAGE_PYTHON_UJSON # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION + bool "TLS and WAMP-cryptosign encryption/authentication support" + select BR2_PACKAGE_PYTHON_PYNACL # runtime + select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime + select BR2_PACKAGE_PYTHON_PYQRCODE # runtime + select BR2_PACKAGE_PYTHON_PYTRIE # runtime + select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM + bool "WAMP-SCRAM authentication support" + select BR2_PACKAGE_PYTHON_ARGON2_CFFI # runtime + select BR2_PACKAGE_PYTHON_PASSLIB # runtime + +endif -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:53 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:53 -0300 Subject: [Buildroot] [PATCH 6/6] package/python-crossbar: fix configuration In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-6-emile.cormier.jr@gmail.com> From: ecorm Fixes configuration and patches setup requirements so that python-crossbar can build and run. See https://github.com/crossbario/crossbar/issues/1936 for discussion with Crossbar author. Fixes: #14556 Signed-off-by: Emile Cormier --- .../0002-Remove-idna-requirement.patch | 29 ---------- ...002-Resolve-conflicting-requirements.patch | 57 +++++++++++++++++++ package/python-crossbar/Config.in | 21 +++---- 3 files changed, 68 insertions(+), 39 deletions(-) delete mode 100644 package/python-crossbar/0002-Remove-idna-requirement.patch create mode 100644 package/python-crossbar/0002-Resolve-conflicting-requirements.patch diff --git a/package/python-crossbar/0002-Remove-idna-requirement.patch b/package/python-crossbar/0002-Remove-idna-requirement.patch deleted file mode 100644 index 5e19a467c2..0000000000 --- a/package/python-crossbar/0002-Remove-idna-requirement.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 9164d21cc66c1f78de37c9383528c5d528cbdbeb Mon Sep 17 00:00:00 2001 -From: Asaf Kahlon -Date: Wed, 26 Sep 2018 15:33:43 +0300 -Subject: [PATCH] Remove idna requirement. - -The latest version of idna is 2.7, but it seems like idna is not a direct -dependency anymore (a short "git grep" shows it's only written in requirement -and readme files). - -Signed-off-by: Asaf Kahlon ---- - requirements-min.txt | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/requirements-min.txt b/requirements-min.txt -index 92fb0f8f..13cdac87 100644 ---- a/requirements-min.txt -+++ b/requirements-min.txt -@@ -8,7 +8,6 @@ click>=6.7 - constantly>=15.1.0 - cryptography>=2.6.1 - h2>=3.2.0 --idna<2.6,>=2.5 - importlib-resources>=4.1.1 - incremental>=17.5.0 - jinja2>=2.10.1 --- -2.17.1 - diff --git a/package/python-crossbar/0002-Resolve-conflicting-requirements.patch b/package/python-crossbar/0002-Resolve-conflicting-requirements.patch new file mode 100644 index 0000000000..afb182cab1 --- /dev/null +++ b/package/python-crossbar/0002-Resolve-conflicting-requirements.patch @@ -0,0 +1,57 @@ +Remove the upper limit for idna, which is an indirect dependency via +twisted[tls] and treq->requests. This upper limit conflicts with the +python-idna v3.3 package bundled with buildroot. The idna requirement for +twisted v20.3.0 is idna>=0.6,!=2.3 , and for requests it's +idna>=2.5,<4;python_version>="3" . + +Remove the upper limit for urllib3, which is an indirect dependency via +treq->requests. This upper limit conflicts with the python-urllib3 v1.26.8 +package bundled with buildroot. The urllib3 requirements for requests v2.27.1 +is urllib3>=1.21.1,<1.27 . + +Set the lower limit for urllib3 to >1.24.2 to satisfy the comment regarding +CVE-2019-11324. + +Remove the importlib-resources>=4.1.1 requirement. The features of +importlib-resources v5.0 (and thus v4.1.1) have been merged into the +CPython 3.10 bundled with buildroot. + +Remove the u-msgpack-python requirement, which is an indirect dependency via +autobahn[serialization] that is not needed due to the python-msgpack package +being chosen instead on CPython. + +Remove the netaddr requirement, which is an indirect dependency via +autobahn[xbr]->web3. buildroot's python-autobahn package currently does not +support the autobahn[xbr] extras. + +Signed-off-by: Emile Cormier + +--- a/requirements-min.txt ++++ b/requirements-min.txt +@@ -8,13 +8,11 @@ colorama>=0.4.4 + constantly>=15.1.0 + cryptography>=2.6.1 + h2>=3.2.0 +-idna<2.6,>=2.5 +-importlib-resources>=4.1.1 ++idna>=2.5 + incremental>=17.5.0 + jinja2>=2.10.1 + lmdb>=0.92 + mistune>=0.7.4 +-netaddr>=0.7.19 + passlib>=1.7.1 + priority>=1.3.0 + psutil>=5.2.2 +@@ -37,10 +35,9 @@ twisted[tls,conch,http2,osx_platform]>=2 + twisted[tls,conch,http2,windows_platform]>=20.3.0; sys_platform == 'win32' + txaio>=21.2.1 + txtorcon>=20.0.0 +-u-msgpack-python>=2.4.1 + # urllib3 is an indirect dependency, but we force a recent version because of https://nvd.nist.gov/vuln/detail/CVE-2019-11324 + # workaround for version conflict in requests vs sth else: +-urllib3<1.25,>=1.21.1 ++urllib3>1.24.2 + vmprof>=0.4.12; platform_machine=='x86_64' or platform_machine=='i386' or platform_machine=='arm' + watchdog>=0.8.3 + werkzeug>=0.14.1 diff --git a/package/python-crossbar/Config.in b/package/python-crossbar/Config.in index 9625d9ce8e..ef02dd54f9 100644 --- a/package/python-crossbar/Config.in +++ b/package/python-crossbar/Config.in @@ -2,21 +2,21 @@ config BR2_PACKAGE_PYTHON_CROSSBAR bool "python-crossbar" depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography # All the following dependencies are runtime dependencies - select BR2_PACKAGE_PYTHON_ATTRS select BR2_PACKAGE_PYTHON_AUTOBAHN + select BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE + select BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS + select BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION + select BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM + select BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION + select BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED select BR2_PACKAGE_PYTHON_BITSTRING select BR2_PACKAGE_PYTHON_CBOR - select BR2_PACKAGE_PYTHON_CBOR2 select BR2_PACKAGE_PYTHON_CLICK - select BR2_PACKAGE_PYTHON_CONSTANTLY + select BR2_PACKAGE_PYTHON_COLORAMA select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY - select BR2_PACKAGE_PYTHON_H2 - select BR2_PACKAGE_PYTHON_IDNA - select BR2_PACKAGE_PYTHON_INCREMENTAL select BR2_PACKAGE_PYTHON_JINJA2 select BR2_PACKAGE_PYTHON_LMDB select BR2_PACKAGE_PYTHON_MISTUNE - select BR2_PACKAGE_PYTHON_NETADDR select BR2_PACKAGE_PYTHON_PASSLIB select BR2_PACKAGE_PYTHON_PRIORITY select BR2_PACKAGE_PYTHON_PSUTIL @@ -29,17 +29,18 @@ config BR2_PACKAGE_PYTHON_CROSSBAR select BR2_PACKAGE_PYTHON_PYTRIE select BR2_PACKAGE_PYTHON_PYYAML select BR2_PACKAGE_PYTHON_SDNOTIFY - select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY select BR2_PACKAGE_PYTHON_SETPROCTITLE select BR2_PACKAGE_PYTHON_SETUPTOOLS select BR2_PACKAGE_PYTHON_TREQ select BR2_PACKAGE_PYTHON_TWISTED + select BR2_PACKAGE_PYTHON_TWISTED_CONCH + select BR2_PACKAGE_PYTHON_TWISTED_HTTP2 + select BR2_PACKAGE_PYTHON_TWISTED_TLS select BR2_PACKAGE_PYTHON_TXAIO select BR2_PACKAGE_PYTHON_TXTORCON - select BR2_PACKAGE_PYTHON_U_MSGPACK - select BR2_PACKAGE_PYTHON_UBJSON select BR2_PACKAGE_PYTHON_WATCHDOG select BR2_PACKAGE_PYTHON_WERKZEUG + select BR2_PACKAGE_PYTHON_ZLMDB select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE help Crossbar.io is an open-source WAMP application router that -- 2.25.1 From bugzilla at busybox.net Sun Apr 3 22:25:34 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 03 Apr 2022 22:25:34 +0000 Subject: [Buildroot] [Bug 14556] python-crossbar fails to build In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14556 --- Comment #2 from Emile Cormier --- Submitted patch set starting with: https://lists.buildroot.org/pipermail/buildroot/2022-April/640097.html -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sun Apr 3 22:38:03 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 03 Apr 2022 22:38:03 +0000 Subject: [Buildroot] [Bug 14556] python-crossbar fails to build In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14556 --- Comment #3 from Emile Cormier --- Submitted patch originated from my more recent fork on GitHub: https://github.com/ecorm/buildroot/tree/bump-crossbar Due to some Python packages having been bumped since I first starting working on this bug, the submitted patch does not correspond directly to the steps described in my original post in this bug report. -- You are receiving this mail because: You are on the CC list for the bug. From james.hilliard1 at gmail.com Sun Apr 3 23:13:06 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 17:13:06 -0600 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <20220403094236.GF1811301@scaer> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> <20220403094236.GF1811301@scaer> Message-ID: On Sun, Apr 3, 2022 at 3:42 AM Yann E. MORIN wrote: > > All, > > On 2022-04-02 19:08 +0200, Arnout Vandecappelle spake thusly: > > On 01/04/2022 13:34, David Laight wrote: > > >From: Jason A. Donenfeld > > >>Sent: 01 April 2022 12:05 > > >>On 4/1/22, James Hilliard wrote: > > >>>I should add that I do also think this should be upstreamed to busybox, > > >>>which > > >>>will also reduce the amount of duplicate work as busybox is commonly used > > >>>across many distros. > > >>I'll work on that. > > +1 to have it in busybox. > > I still fail to understand why this can't be a standalone project. > > The reasoning offered by Jason is that the code should be included > and duplicated into all and each init systems out there. > > However, this increases the maintenance burden, as each implementation > has to be actively tracked (FTR: Jason said he would actively maintain > the implementation in Buildroot, which is very nice of him, so I > understand that he would also do so for all other projects where he'd > have seedrng included). > > Instead of having one implementation suitable for every init systems > that use shell scripts, we'd end up with many different and diverging > implementations that each have their own warts and fixes (or worse, > counter-productive fixes that actually decrease the robustness of that > implementation). > > On the other hand, having a common project would alow to centralise the > fixes. It would also allow to ensure that changes do not actually break > security. Finally, any evolution, be it fixes or features, would be > easily available to every init systems using the common project. > > Furthermore, the level of customisation is very low. All that we can > expect to be customisable is the location where the seeds are stored. > This is already accounted for in the existing seedrng git tree. Using > another hash implementation could be another thing, but there's not > much point here, Blake2 being already pretty strong and known. So there > is probably not much more customisation left to do. > > Moving it into busybox might seem a good idea at first, but this would > still make for an n-th implementation to track, and since busybox has a > focus on code size, the implementation there would probably diverge > substantially from the canonical code we saw so far, further increasing > the maintenance burden. > > That would also not address distributions that do not use busybox (and > do not use systemd either). Buildroot can even be configured in such a > way, using a sys-v init system with coreutils et al,. and no busybox, in > which case having seedrng only in busybox would still not solve the > problem in such a case. And init systems are not limited to what we can > see publicly; there are maybe hundreds or thousands of such custom init > systems behind private doors. Buildroot even has an option to configure > for such an init system (BR2_INIT_NONE, which really means 'custom'). Maybe it should also be upstreamed to util-linux? > > On a final note: systemd has native support for this feature, and thus > one may argue that the feature is indeed already duplicated there. > However, this is different in two ways: first, systemd needs random > numbers for itself already, very early in the boot, possibly in an > initramfs, so it can't easily rely on an external tool to do that; > second, systemd is already C, so it does not make sense for the feature > to be implemented as an external tool either. > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' From james.hilliard1 at gmail.com Sun Apr 3 23:27:47 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 17:27:47 -0600 Subject: [Buildroot] [PATCH v4 1/1] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220403232747.560562-1-james.hilliard1@gmail.com> There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. We need to special case dependency exclusions for host-python-flit-core and host-python-installer to avoid circular dependencies in the flit-bootstrap SETUP_TYPE. We also need to special case the installation command for host-python-flit-core since it can not depend on host-python-installer due to host-python-installer requiring host-python-flit-core. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle --- Changes v3 -> v4: - rebase Changes v2 -> v3: - add special flit-bootstrap SETUP_TYPE - don't change package SETUP_TYPE's yet Changes v1 -> v2: - formatting/cleanup - add comments --- package/pkg-python.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..2e7704a0a9 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +# Use flit built in wheel builder for packages that are flit-bootstrap packages. +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. +# +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +ifeq ($(1),host-python-flit-core) +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) +else +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif +else $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) +else +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. -- 2.25.1 From james.hilliard1 at gmail.com Mon Apr 4 00:41:38 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 18:41:38 -0600 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: support additional host architectures Message-ID: <20220404004138.563732-1-james.hilliard1@gmail.com> There are host toolchains available for non-x86/x86_64 architectures, add them as supported along with their toolchain hashes. Note that the gcc riscv64-unknown-linux-gnu arch needs to be mapped to the rust riscv64gc-unknown-linux-gnu arch. Signed-off-by: James Hilliard --- package/rust-bin/rust-bin.hash | 24 ++++++++++++++++++++++++ package/rustc/Config.in.host | 11 ++++++++++- package/rustc/rustc.mk | 4 +++- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index 9f8788a295..bac2f21c5c 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -1,6 +1,30 @@ +# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc +sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc +sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index 80d1d1a3d8..4ea66c2d2d 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -1,7 +1,16 @@ # All host rust packages should depend on this option config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS bool - default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "mips" + default y if BR2_HOSTARCH = "mipsel" + default y if BR2_HOSTARCH = "powerpc" + default y if BR2_HOSTARCH = "powerpc64" + default y if BR2_HOSTARCH = "powerpc64le" + default y if BR2_HOSTARCH = "riscv64" + default y if BR2_HOSTARCH = "s390x" + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" # The pre-built Rust standard library is only available for a number # of architectures/C libraries combinations, with different levels of diff --git a/package/rustc/rustc.mk b/package/rustc/rustc.mk index 0513dd0b40..b2cc131ee9 100644 --- a/package/rustc/rustc.mk +++ b/package/rustc/rustc.mk @@ -11,7 +11,9 @@ ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-$(LIBC)$(RUSTC_ABI) endif -ifeq ($(HOSTARCH),x86) +ifeq ($(HOSTARCH),riscv64) +RUSTC_HOST_ARCH = riscv64gc +else ifeq ($(HOSTARCH),x86) RUSTC_HOST_ARCH = i686 else RUSTC_HOST_ARCH = $(HOSTARCH) -- 2.25.1 From james.hilliard1 at gmail.com Mon Apr 4 00:57:25 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 18:57:25 -0600 Subject: [Buildroot] [PATCH 1/1] package/{rustc, rust-bin}: add s390x target arch support Message-ID: <20220404005725.564691-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/rust-bin/rust-bin.hash | 3 +++ package/rustc/Config.in.host | 2 ++ 2 files changed, 5 insertions(+) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index 9f8788a295..ec1c09b7ea 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -88,6 +88,9 @@ sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-s # From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc +sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index 80d1d1a3d8..d38b57386c 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -53,6 +53,8 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS BR2_RISCV_ISA_RVA && BR2_RISCV_ISA_RVF && \ BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC && \ BR2_TOOLCHAIN_USES_GLIBC + # s390x-unknown-linux-gnu + default y if BR2_s390x && BR2_TOOLCHAIN_USES_GLIBC # x86_64-unknown-linux-musl default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_MUSL -- 2.25.1 From bugzilla at busybox.net Mon Apr 4 01:06:52 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 01:06:52 +0000 Subject: [Buildroot] [Bug 14556] python-crossbar fails to build In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14556 --- Comment #4 from Emile Cormier --- Created attachment 9266 --> https://bugs.busybox.net/attachment.cgi?id=9266&action=edit Simple tests Python commands issued via the command line, as well as their outputs. Not exhaustive, but at least demonstrates that the affected Python modules can still be imported and used. -- You are receiving this mail because: You are on the CC list for the bug. From tms320c5x at naver.com Mon Apr 4 01:23:55 2022 From: tms320c5x at naver.com (=?utf-8?B?6ri464+Z6reg?=) Date: Mon, 04 Apr 2022 10:23:55 +0900 Subject: [Buildroot] =?utf-8?q?buildroot-2022=2E02_installation_problems?= In-Reply-To: References: Message-ID: Hello I am trying to learn Linux late, but nothing is easy. It takes a lot of effort and time to compile individually, such as binutils, gcc, glibc, and kernel, etc which are required to build a Linux environment. and then have discovered buildroot and i thought that the buildroot could be a little easier to reach my original purpose. I am an engineer, so far I have developed non-linux fields such as avr, stm32f4... I'm a beginner and I don't have an embedded board. First, I will create a virtual target using qemu on my laptop (ubuntu 20.04.3), and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, the toolchain and glibc, compiler will be created through buildroot. The first time I did it without knowing anything, it was successful, but I can't remember which option I chose. Maybe when it first succeeded, i think the gdb option was not checked . Afterwards, if I build with the gdb option selected for the target, an error occurs like below: .... [Makefile:9230: all-gdb] Error 2 My current purpose is to remotely debug a virtual target program through gdbserver installed on the target based on qemu. To do this, gdbserver must be installed on the target, but this does not work. Attached is the .config file when the error occurs. I look forward to your reply. My original job is to control the motor. But before that, I'm already exhausted. host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc target: kernel 5.11.22(boot by qemu), arch: x86_64, x86_64-buildroot-linux-gnu-gcc =>The command to run qemu will: qemu-system-x86_64 -kernel /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M -smp 1 -boot c -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 -append "root=/dev/sda rw acpi=off" -s -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220403_buildroot-nfs-gdbserver-but No success.config Type: application/octet-stream Size: 112956 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220404_nfs-gdbserver.No success.config Type: application/octet-stream Size: 119806 bytes Desc: not available URL: From james.hilliard1 at gmail.com Mon Apr 4 01:42:52 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 19:42:52 -0600 Subject: [Buildroot] [PATCH 1/1] package/protobuf: add additional supported host architectures Message-ID: <20220404014252.566711-1-james.hilliard1@gmail.com> Move supported host architectures under BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS and propagate the reverse dependency. Add additional supported host architectures based on current src/google/protobuf/stubs/platform_macros.h Signed-off-by: James Hilliard --- package/collectd/Config.in | 6 +++--- package/kismet/Config.in | 4 ++-- package/protobuf-c/Config.in | 4 ++-- package/protobuf/Config.in | 16 +++++++++++++++- package/python-protobuf/Config.in | 2 +- package/riemann-c-client/Config.in | 4 ++-- 6 files changed, 25 insertions(+), 11 deletions(-) diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 67413ffde0..43eef3bf66 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -725,7 +725,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN bool "riemann" # riemann-c-client -> protobuf-c depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS select BR2_PACKAGE_RIEMANN_C_CLIENT select BR2_PACKAGE_LIBTOOL help @@ -759,7 +759,7 @@ config BR2_PACKAGE_COLLECTD_WRITELOG config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS bool "write_prometheus" depends on BR2_INSTALL_LIBSTDCPP # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c select BR2_PACKAGE_LIBMICROHTTPD select BR2_PACKAGE_PROTOBUF_C help @@ -768,7 +768,7 @@ config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS comment "write_prometheus needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_COLLECTD_WRITEREDIS bool "write_redis" diff --git a/package/kismet/Config.in b/package/kismet/Config.in index 961d5f230e..7bde6c92af 100644 --- a/package/kismet/Config.in +++ b/package/kismet/Config.in @@ -3,14 +3,14 @@ comment "kismet needs a toolchain w/ threads, C++, gcc >= 5" depends on !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_KISMET bool "kismet" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_PROTOBUF_C diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in index a32e6cd9e8..d96cd7b382 100644 --- a/package/protobuf-c/Config.in +++ b/package/protobuf-c/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_PROTOBUF_C depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # host-protobuf only builds on certain architectures - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS help Code generator and runtime libraries to use Protocol Buffers from pure C (not C++). @@ -12,4 +12,4 @@ config BR2_PACKAGE_PROTOBUF_C comment "protobuf-c needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in index 46c820b9cf..47e987fa2b 100644 --- a/package/protobuf/Config.in +++ b/package/protobuf/Config.in @@ -14,6 +14,20 @@ # and we can live with requiring gcc 4.8 on PowerPC to build protobuf. # # host-protobuf only builds on certain architectures +config BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "arm" + default y if BR2_HOSTARCH = "mips" + default y if BR2_HOSTARCH = "mipsel" + default y if BR2_HOSTARCH = "powerpc" + default y if BR2_HOSTARCH = "powerpc64" + default y if BR2_HOSTARCH = "powerpc64le" + default y if BR2_HOSTARCH = "sparc" + default y if BR2_HOSTARCH = "sparc64" + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" + config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS bool default y if BR2_arm @@ -22,7 +36,7 @@ config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS default y if BR2_x86_64 default y if BR2_sparc64 default y if BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS depends on BR2_USE_MMU # fork() config BR2_PACKAGE_PROTOBUF diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in index 1af82112b4..7de463520d 100644 --- a/package/python-protobuf/Config.in +++ b/package/python-protobuf/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PYTHON_PROTOBUF bool "python-protobuf" # host-protobuf only builds on certain architectures - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON_SIX # runtime help Python implementation of the Google Protocol Buffers. diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in index e9982b2fb0..6c3c35caf8 100644 --- a/package/riemann-c-client/Config.in +++ b/package/riemann-c-client/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT bool "riemann-c-client" depends on BR2_INSTALL_LIBSTDCPP # protobuf-c depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c select BR2_PACKAGE_PROTOBUF_C help Riemann-c-client is a C client library for the Riemann @@ -14,4 +14,4 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT comment "riemann-c-client needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS -- 2.25.1 From james.hilliard1 at gmail.com Mon Apr 4 06:19:04 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 4 Apr 2022 00:19:04 -0600 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Message-ID: On Sun, Apr 3, 2022 at 4:05 AM Fabrice Fontaine wrote: > > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 Also fixes a different issue caused by the bind depends not being propagated to dhcp: http://autobuild.buildroot.net/results/c06/c06d57b57c9d7867e3fb7fedd8b5ab39872af285 > > Signed-off-by: Fabrice Fontaine Reviewed-by: James Hilliard > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From bugzilla at busybox.net Mon Apr 4 06:25:56 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 06:25:56 +0000 Subject: [Buildroot] [Bug 14741] New: e2fsck is failing during cronjob build where fail to create .tar image Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 Bug ID: 14741 Summary: e2fsck is failing during cronjob build where fail to create .tar image Product: buildroot Version: unspecified Hardware: All OS: Linux Status: NEW Severity: blocker Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: sujithkumar0903 at gmail.com CC: buildroot at uclibc.org Target Milestone: --- tune2fs 1.42.12 (29-Aug-2014) tune2fs 1.42.12 (29-Aug-2014) Please run e2fsck on the filesystem. Creating journal inode: Journal size too big for filesystem. -- You are receiving this mail because: You are on the CC list for the bug. From scritchlow at bioshall.co.uk Mon Apr 4 06:27:42 2022 From: scritchlow at bioshall.co.uk (scritchlow at bioshall.co.uk) Date: Mon, 4 Apr 2022 07:27:42 +0100 Subject: [Buildroot] [PATCH 1/1] configs/licheepi_zero: bump uboot custom version to 2022.01 Message-ID: <20220404062743.9199-1-scritchlow@bioshall.co.uk> From: Steve Critchlow This also removes the dependency to have Python2 installed. Signed-off-by: Steve Critchlow --- configs/licheepi_zero_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig index 2e1a413988..d7a281a0a0 100644 --- a/configs/licheepi_zero_defconfig +++ b/configs/licheepi_zero_defconfig @@ -36,7 +36,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="LicheePi_Zero" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -- 2.25.1 From bugzilla at busybox.net Mon Apr 4 06:37:13 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 06:37:13 +0000 Subject: [Buildroot] [Bug 14741] e2fsck is failing during cronjob build where fail to create .tar image In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 Yann E. MORIN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yann.morin.1998 at free.fr Resolution|--- |INVALID --- Comment #1 from Yann E. MORIN --- Sujithkumar, Thanks for your report. You reported on a failure of tune2fs 1.42.12. Buildroot last used that version of e2fsprogs in Buildroot 2015.05; that version is long unmaintained. Please, update your Buildroot to one of the curently supported maintenance branches: the latest 2022.02 LTS, the previous 2021.02.11 LTS, or the previous maintenance branch, 2021.11.3. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Mon Apr 4 07:03:18 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 07:03:18 +0000 Subject: [Buildroot] [Bug 14741] e2fsck is failing during cronjob build where fail to create .tar image In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 --- Comment #2 from SUJITHKUMAR J P --- (In reply to Yann E. MORIN from comment #1) Hi Yann, Thanks for your reply.Could you please share me steps for upgrade. thanks sujith -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Mon Apr 4 07:09:11 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 07:09:11 +0000 Subject: [Buildroot] [Bug 14741] e2fsck is failing during cronjob build where fail to create .tar image In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 --- Comment #3 from SUJITHKUMAR J P --- (In reply to Yann E. MORIN from comment #1) Hi Yann, Thanks for your reply.Could you please share me steps for upgrade. thanks sujith -- You are receiving this mail because: You are on the CC list for the bug. From ps.report at gmx.net Mon Apr 4 07:12:29 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Mon, 4 Apr 2022 09:12:29 +0200 Subject: [Buildroot] [PATCH v1] package/util-linux: bump version to 2.38 Message-ID: <20220404071229.18768-1-ps.report@gmx.net> - remove 0001-libuuid-include-c-h-to-cover-restrict-keyword.patch (from upstream [3]) - remove 0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch (from upstream [4]) - handle new lsfd option - handle new ipcmk option For details see [1] and [2]. [1] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ChangeLog [2] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes [3] https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c [4] https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6 Signed-off-by: Peter Seiderer --- ...nclude-c-h-to-cover-restrict-keyword.patch | 30 ---- ...cache-as-probed-if-sys-not-available.patch | 141 ------------------ package/util-linux/Config.in | 12 ++ ...nclude-c-h-to-cover-restrict-keyword.patch | 1 - ...cache-as-probed-if-sys-not-available.patch | 1 - package/util-linux/util-linux.hash | 4 +- package/util-linux/util-linux.mk | 8 +- 7 files changed, 20 insertions(+), 177 deletions(-) delete mode 100644 package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch delete mode 100644 package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch delete mode 120000 package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch delete mode 120000 package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch diff --git a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch deleted file mode 100644 index 3b4f510920..0000000000 --- a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Thu, 5 Aug 2021 09:46:21 +0200 -Subject: libuuid: include c.h to cover restrict keyword - -References: https://github.com/karelzak/util-linux/issues/1405 -Signed-off-by: Karel Zak - -[Retrieved from: -https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c] -Signed-off-by: Fabrice Fontaine ---- - libuuid/src/unparse.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libuuid/src/unparse.c b/libuuid/src/unparse.c -index f9a5e4315..ffeed2ed6 100644 ---- a/libuuid/src/unparse.c -+++ b/libuuid/src/unparse.c -@@ -33,6 +33,7 @@ - */ - - #include -+#include "c.h" - - #include "uuidP.h" - --- -cgit 1.2.3-1.el7 - diff --git a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch deleted file mode 100644 index bfc8f60834..0000000000 --- a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch +++ /dev/null @@ -1,141 +0,0 @@ -From 84d38ae3eca523ef990cb848563cc63de25266e6 Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Fri, 19 Nov 2021 14:19:03 +0100 -Subject: [PATCH] libblkid: don't mark cache as "probed" if /sys not available - -For "mount --all" we need to read the cache more than once in a short -time. The library checks the delay between probes, and if the delay is -too short, it does not read devices. This is a problem on boot when there -are no /sys, and the cache is empty. In this case, we need to check -for /sys until it's available constantly. - -https://github.com/util-linux/util-linux/issues/1492 -Signed-off-by: Karel Zak - -[Retrieved from: -https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6] -Signed-off-by: Fabrice Fontaine ---- - libblkid/src/devname.c | 26 +++++++++++++++++--------- - libblkid/src/resolve.c | 2 +- - libblkid/src/tag.c | 8 +++++--- - 3 files changed, 23 insertions(+), 13 deletions(-) - -diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c -index 90a8245fc9..9a173e3489 100644 ---- a/libblkid/src/devname.c -+++ b/libblkid/src/devname.c -@@ -429,6 +429,8 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) - if (!sysfs) - return -BLKID_ERR_SYSFS; - -+ DBG(DEVNAME, ul_debug(" probe /sys/block")); -+ - /* scan /sys/block */ - while ((dev = xreaddir(sysfs))) { - DIR *dir = NULL; -@@ -533,14 +535,18 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) - /* - * Read the device data for all available block devices in the system. - */ --static int probe_all(blkid_cache cache, int only_if_new) -+static int probe_all(blkid_cache cache, int only_if_new, int update_interval) - { -+ int rc; -+ - if (!cache) - return -BLKID_ERR_PARAM; - - if (cache->bic_flags & BLKID_BIC_FL_PROBED && -- time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) -+ time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) { -+ DBG(PROBE, ul_debug("don't re-probe [delay < %d]", BLKID_PROBE_INTERVAL)); - return 0; -+ } - - blkid_read_cache(cache); - #ifdef VG_DIR -@@ -548,7 +554,13 @@ static int probe_all(blkid_cache cache, int only_if_new) - #endif - ubi_probe_all(cache, only_if_new); - -- sysfs_probe_all(cache, only_if_new, 0); -+ rc = sysfs_probe_all(cache, only_if_new, 0); -+ -+ /* Don't mark the change as "probed" if /sys not avalable */ -+ if (update_interval && rc == 0) { -+ cache->bic_time = time(NULL); -+ cache->bic_flags |= BLKID_BIC_FL_PROBED; -+ } - - blkid_flush_cache(cache); - return 0; -@@ -567,11 +579,7 @@ int blkid_probe_all(blkid_cache cache) - int ret; - - DBG(PROBE, ul_debug("Begin blkid_probe_all()")); -- ret = probe_all(cache, 0); -- if (ret == 0) { -- cache->bic_time = time(NULL); -- cache->bic_flags |= BLKID_BIC_FL_PROBED; -- } -+ ret = probe_all(cache, 0, 1); - DBG(PROBE, ul_debug("End blkid_probe_all() [rc=%d]", ret)); - return ret; - } -@@ -589,7 +597,7 @@ int blkid_probe_all_new(blkid_cache cache) - int ret; - - DBG(PROBE, ul_debug("Begin blkid_probe_all_new()")); -- ret = probe_all(cache, 1); -+ ret = probe_all(cache, 1, 0); - DBG(PROBE, ul_debug("End blkid_probe_all_new() [rc=%d]", ret)); - return ret; - } -diff --git a/libblkid/src/resolve.c b/libblkid/src/resolve.c -index 641b022860..16653fa8e1 100644 ---- a/libblkid/src/resolve.c -+++ b/libblkid/src/resolve.c -@@ -32,7 +32,7 @@ char *blkid_get_tag_value(blkid_cache cache, const char *tagname, - blkid_cache c = cache; - char *ret = NULL; - -- DBG(TAG, ul_debug("looking for %s on %s", tagname, devname)); -+ DBG(TAG, ul_debug("looking for tag %s on %s device", tagname, devname)); - - if (!devname) - return NULL; -diff --git a/libblkid/src/tag.c b/libblkid/src/tag.c -index 390a648648..178336505f 100644 ---- a/libblkid/src/tag.c -+++ b/libblkid/src/tag.c -@@ -326,14 +326,14 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, - blkid_dev dev; - int pri; - struct list_head *p; -- int probe_new = 0; -+ int probe_new = 0, probe_all = 0; - - if (!cache || !type || !value) - return NULL; - - blkid_read_cache(cache); - -- DBG(TAG, ul_debug("looking for %s=%s in cache", type, value)); -+ DBG(TAG, ul_debug("looking for tag %s=%s in cache", type, value)); - - try_again: - pri = -1; -@@ -366,9 +366,11 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, - goto try_again; - } - -- if (!dev && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { -+ if (!dev && !probe_all -+ && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { - if (blkid_probe_all(cache) < 0) - return NULL; -+ probe_all++; - goto try_again; - } - return dev; diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 9e9b8933e5..d3c0070160 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -146,6 +146,11 @@ config BR2_PACKAGE_UTIL_LINUX_HWCLOCK help Query or set the hardware clock (RTC) +config BR2_PACKAGE_UTIL_LINUX_IPCMK + bool "ipcmk" + help + Make various IPC resources + config BR2_PACKAGE_UTIL_LINUX_IPCRM bool "ipcrm" help @@ -198,6 +203,13 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP help Set up and control loop devices +config BR2_PACKAGE_UTIL_LINUX_LSFD + bool "lsfd" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + List file descriptors (modern replacement for lsof) + config BR2_PACKAGE_UTIL_LINUX_LSLOGINS bool "lslogins" depends on BR2_USE_MMU # libsmartcols diff --git a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch deleted file mode 120000 index beecc3a48f..0000000000 --- a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch +++ /dev/null @@ -1 +0,0 @@ -../0001-libuuid-include-c-h-to-cover-restrict-keyword.patch \ No newline at end of file diff --git a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch deleted file mode 120000 index 2f3c482144..0000000000 --- a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch +++ /dev/null @@ -1 +0,0 @@ -../0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch \ No newline at end of file diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash index 748a36e0be..6f1bb74ecb 100644 --- a/package/util-linux/util-linux.hash +++ b/package/util-linux/util-linux.hash @@ -1,5 +1,5 @@ -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc -sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz +# From https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/sha256sums.asc +sha256 6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64 util-linux-2.38.tar.xz # License files, locally calculated sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 891c17d1d9..9d9b61d8f5 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -7,8 +7,8 @@ # When making changes to this file, please check if # util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. -UTIL_LINUX_VERSION_MAJOR = 2.37 -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4 +UTIL_LINUX_VERSION_MAJOR = 2.38 +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR) UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) @@ -140,6 +140,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \ $(if $(BR2_PACKAGE_UTIL_LINUX_HARDLINK),--enable-hardlink,--disable-hardlink) \ $(if $(BR2_PACKAGE_UTIL_LINUX_HWCLOCK),--enable-hwclock --disable-hwclock-gplv3,--disable-hwclock) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_IPCMK),--enable-ipcmk,--disable-ipcmk) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ @@ -153,6 +154,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGGER),--enable-logger,--disable-logger) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN),--enable-login,--disable-login) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LSFD),--enable-lsfd,--disable-lsfd) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LSLOGINS),--enable-lslogins,--disable-lslogins) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LSMEM),--enable-lsmem,--disable-lsmem) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ @@ -214,7 +216,9 @@ HOST_UTIL_LINUX_CONF_OPTS += \ --disable-agetty \ --disable-chfn-chsh \ --disable-chmem \ + --disable-ipcmk \ --disable-login \ + --disable-lsfd \ --disable-lslogins \ --disable-mesg \ --disable-more \ -- 2.35.1 From br015 at umbiko.net Mon Apr 4 07:19:28 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Mon, 04 Apr 2022 07:19:28 +0000 Subject: [Buildroot] buildroot-2022.02 installation problems In-Reply-To: References: Message-ID: <4d616ed27f13e3460003ddbf54a0222c@umbiko.net> Hi, On 2022-04-03 21:59, ??? wrote: > Hello > I am trying to learn Linux late, but nothing is easy. > It takes a lot of effort and time to compile individually, such as > binutils, gcc, glibc, and kernel, etc which are required to build a > Linux environment. > and then have discovered buildroot and i thought that the buildroot > could be a little easier to reach my original purpose. > I am an engineer, so far I have developed non-linux fields such as > avr, stm32f4... > > I'm a beginner and I don't have an embedded board. First, I will > create a virtual target using qemu on my laptop (ubuntu 20.04.3), > and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, > the toolchain and glibc, compiler will be created through buildroot. > The first time I did it without knowing anything, it was successful, > but I can't remember which option I chose. Did you use the predefined qemu_x86_defconfig? > Maybe when it first succeeded, i think the gdb option was not checked . > > Afterwards, if I build with the gdb option selected for the target, an > error occurs like below: > .... > [Makefile:9230: all-gdb] Error 2 > > My current purpose is to remotely debug a virtual target program > through gdbserver installed on the target based on qemu. > To do this, gdbserver must be installed on the target, but this does > not work. > Attached is the .config file when the error occurs. File attachments rather don't work in this environment. Please enclose the content of your defconfig - the file that gets created by 'make savedefconfig'. Kind regards, Andreas > I look forward to your reply. > > host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc > target: kernel 5.11.22(boot by qemu), arch: x86_64, > x86_64-buildroot-linux-gnu-gcc > =>The command to run qemu will: > qemu-system-x86_64 -kernel > /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M -smp 1 -boot c > -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 -append > "root=/dev/sda rw acpi=off" -s From bugzilla at busybox.net Mon Apr 4 07:25:26 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 07:25:26 +0000 Subject: [Buildroot] [Bug 14741] e2fsck is failing during cronjob build where fail to create .tar image In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 SUJITHKUMAR J P changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- Version|unspecified |2013.11 Priority|P5 |P1 -- You are receiving this mail because: You are on the CC list for the bug. From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/wireshark: needs C++ Message-ID: <20220404071821.5F0F886150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3763c30214d6c16c744c1e03a9ae7fe6fd061165 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/nbd: needs host-bison Message-ID: <20220404071821.3908886152@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8290f99a7a2f75a8668d4e4f6c42f59862396a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master host-bison is mandatory to avoid the following build failure since bump to version 3.24 in commit bf2e459bb9fc9fe57147313cda35f7022172e6e8 and https://github.com/NetworkBlockDevice/nbd/commit/cd099ee7d0602104506bdd5063c0a3db2ec9b550: configure: error: bison is required Fixes: - http://autobuild.buildroot.org/results/05872813c9e9b9f39f960fa9a33ad82dc124c808 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/nbd/nbd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index f0fb23910e..50f698dd24 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -8,7 +8,7 @@ NBD_VERSION = 3.24 NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) NBD_CONF_OPTS = --enable-lfs -NBD_DEPENDENCIES = host-pkgconf libglib2 +NBD_DEPENDENCIES = host-bison host-pkgconf libglib2 NBD_LICENSE = GPL-2.0 NBD_LICENSE_FILES = COPYING NBD_CPE_ID_VENDOR = network_block_device_project From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/paho-mqtt-c: bump to version 1.3.10 Message-ID: <20220404071821.2F5E486108@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0af793816dca4094ea6e917a1754ca5dbbce9894 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Service release. Issues resolved: https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1 https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.10 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash index 4cdedfbf9a..931bf5b9c8 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.hash +++ b/package/paho-mqtt-c/paho-mqtt-c.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 386c9b5fa1cf6d0d516db12d57fd8f6a410dd0fdc5e9a2da870aae437a2535ed paho-mqtt-c-1.3.9.tar.gz +sha256 c70db96e66adacae411d5d875fbb08bca6ff9945de3d215b3af93cbd22792db5 paho-mqtt-c-1.3.10.tar.gz sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk index 68b58f2e02..d6356a7ccc 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.mk +++ b/package/paho-mqtt-c/paho-mqtt-c.mk @@ -4,7 +4,7 @@ # ################################################################################ -PAHO_MQTT_C_VERSION = 1.3.9 +PAHO_MQTT_C_VERSION = 1.3.10 PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/cog: bump to version 0.12.4 Message-ID: <20220404071821.4306586150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2490cc30525f2249f319b73176d13305be152b86 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Acked-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/cog/cog.hash | 8 ++++---- package/cog/cog.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/cog/cog.hash b/package/cog/cog.hash index 839b12e619..00d3a4e191 100644 --- a/package/cog/cog.hash +++ b/package/cog/cog.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/cog-0.12.1.tar.xz.sums -md5 25a80a5a8a52b8873933a128151b8928 cog-0.12.1.tar.xz -sha1 3b9f67bc23cd9e3db2221366d6cde4ca0b06b811 cog-0.12.1.tar.xz -sha256 23caaafa2ef5c2f6a97d467fcce908ea71087ad03b72deb9280225c0dd561c91 cog-0.12.1.tar.xz +# From https://wpewebkit.org/releases/cog-0.12.4.tar.xz.sums +md5 cdb8acdc3acc9b5082e7db9c279155c3 cog-0.12.4.tar.xz +sha1 600b30efadf55bf94ea5062a0a1b2ea0b74053e5 cog-0.12.4.tar.xz +sha256 9983c621c8e14fca3792ff566cb6b86d6a1f17446eb4c083af4a5a749112982f cog-0.12.4.tar.xz # Hashes for license files: sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING diff --git a/package/cog/cog.mk b/package/cog/cog.mk index 2f6ef402fb..f2ca0af93d 100644 --- a/package/cog/cog.mk +++ b/package/cog/cog.mk @@ -4,7 +4,7 @@ # ################################################################################ -COG_VERSION = 0.12.1 +COG_VERSION = 0.12.4 COG_SITE = https://wpewebkit.org/releases COG_SOURCE = cog-$(COG_VERSION).tar.xz COG_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] Revert "package/tpm2-tss: bump version to 3.2.0" Message-ID: <20220404071821.26CBD86150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d1fc278f6d7bbb86be5f9b13d6ab9302ade5c12b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This reverts commit ed13a65a08cfe315aed9344abc609f5f2b92c782 as it has the following non trivial issues: - pkgconfig files have no version number if we run autoreconf (https://github.com/tpm2-software/tpm2-tss/issues/2329) resulting in the following build failures with tpm2-{abrmd,pkcs11} or libsecret: configure: error: Package requirements (tss2-esys >= 2.0) were not met: Package dependency requirement 'tss2-esys >= 2.0' could not be satisfied. Package 'tss2-esys' has version '', required version is '>= 2.0' - addgroup/groupadd and adduser/useradd are mandatory since https://github.com/tpm2-software/tpm2-tss/commit/7fde604383c62fc764a1e060dff48fc06f79860b: configure: error: addgroup or groupadd are needed. It seems better to find an upstreamable solution to both issues before bumping. Fixes: - http://autobuild.buildroot.org/results/d4d6807af3493deb47951c6f11f427040e5c5e11 - http://autobuild.buildroot.org/results/a304e45bacb8cd7e7ea9bc49e4a8ec9359ca0a3a - http://autobuild.buildroot.org/results/be0befa81e955ac8cf16f9d20723f9b9b174e012 - http://autobuild.buildroot.org/results/d4ebee400423f6df51613193c86db3c58c94ff88 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tpm2-tss/tpm2-tss.hash | 2 +- package/tpm2-tss/tpm2-tss.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tpm2-tss/tpm2-tss.hash b/package/tpm2-tss/tpm2-tss.hash index db6b3b7ad0..b6eb3c1f97 100644 --- a/package/tpm2-tss/tpm2-tss.hash +++ b/package/tpm2-tss/tpm2-tss.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 48305e4144dcf6d10f3b25b7bccf0189fd2d1186feafd8cd68c6b17ecf0d7912 tpm2-tss-3.2.0.tar.gz +sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk index 568ac35c8f..060883c377 100644 --- a/package/tpm2-tss/tpm2-tss.mk +++ b/package/tpm2-tss/tpm2-tss.mk @@ -4,7 +4,7 @@ # ################################################################################ -TPM2_TSS_VERSION = 3.2.0 +TPM2_TSS_VERSION = 3.1.0 TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) TPM2_TSS_LICENSE = BSD-2-Clause TPM2_TSS_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/luaexpat: bump to version 1.4.0 Message-ID: <20220404071821.4CD3786151@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3852f88c9a895051b66177b32074c2f2aaafef04 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master moved under the hat of https://github.com/lunarmodules remove upstream patch diff LICENSE: -The MIT License (MIT) -Copyright (c) 2013 Tom??s Guisasola +Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-restore-getcurrentbytecount.patch | 40 ---------------------- package/luaexpat/Config.in | 2 +- package/luaexpat/luaexpat.hash | 4 +-- package/luaexpat/luaexpat.mk | 3 +- 4 files changed, 5 insertions(+), 44 deletions(-) diff --git a/package/luaexpat/0001-restore-getcurrentbytecount.patch b/package/luaexpat/0001-restore-getcurrentbytecount.patch deleted file mode 100644 index 6cf2192678..0000000000 --- a/package/luaexpat/0001-restore-getcurrentbytecount.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 77cb691f781918908dfe34785f00a5ff75d5cc20 Mon Sep 17 00:00:00 2001 -From: Francois Perrad -Date: Sat, 16 Feb 2019 15:56:00 +0100 -Subject: [PATCH] restore getcurrentbytecount - -see https://github.com/tomasguisasola/luaexpat/issues/3 - -Fetch from: https://github.com/tomasguisasola/luaexpat/commit/0926f2d705109b7d35b721344264b39c1169e0de - -Signed-off-by: Francois Perrad ---- - src/lxplib.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/luaexpat-1.3.3/src/lxplib.c b/luaexpat-1.3.3/src/lxplib.c -index 7726913..35bec3c 100644 ---- a/luaexpat-1.3.3/src/lxplib.c -+++ b/luaexpat-1.3.3/src/lxplib.c -@@ -538,11 +538,18 @@ static int lxp_stop (lua_State *L) { - return 1; - } - -+static int lxp_getcurrentbytecount (lua_State* L) { -+ lxp_userdata *xpu = checkparser(L, 1); -+ lua_pushinteger(L, XML_GetCurrentByteCount(xpu->parser)); -+ return 1; -+} -+ - static const luaL_Reg lxp_meths[] = { - {"parse", lxp_parse}, - {"close", lxp_close}, - {"__gc", parser_gc}, - {"pos", lxp_pos}, -+ {"getcurrentbytecount", lxp_getcurrentbytecount}, - {"setencoding", lxp_setencoding}, - {"getcallbacks", getcallbacks}, - {"getbase", getbase}, --- -2.17.1 - diff --git a/package/luaexpat/Config.in b/package/luaexpat/Config.in index 2322dc430c..25b067460a 100644 --- a/package/luaexpat/Config.in +++ b/package/luaexpat/Config.in @@ -4,4 +4,4 @@ config BR2_PACKAGE_LUAEXPAT help LuaExpat is a SAX XML parser based on the Expat library. - http://www.keplerproject.org/luaexpat/ + https://lunarmodules.github.io/luaexpat diff --git a/package/luaexpat/luaexpat.hash b/package/luaexpat/luaexpat.hash index dd1cf40e5f..fbfb623fcc 100644 --- a/package/luaexpat/luaexpat.hash +++ b/package/luaexpat/luaexpat.hash @@ -1,3 +1,3 @@ # computed by luarocks/buildroot -sha256 b55908fcd7df490a59aab25284460add8283f1c6b94ab584900fe3e49775172a luaexpat-1.3.3-1.src.rock -sha256 7f5cb0c1750babcbb09637b7f0ff34972d51cf23b7f413bef902b47aa65febcd luaexpat-1.3.3/LICENSE +sha256 bee88ddc1063f49c5685b75b6696e8df0607a388432cbcb189cd0b8291d956aa luaexpat-1.4.0-1.src.rock +sha256 7e6a727e5b57cca713a2f2633f05d7e0cc1e261cc6a7613bbe266e625b2f14da luaexpat/LICENSE diff --git a/package/luaexpat/luaexpat.mk b/package/luaexpat/luaexpat.mk index 8c86b24f26..c176fb8c17 100644 --- a/package/luaexpat/luaexpat.mk +++ b/package/luaexpat/luaexpat.mk @@ -4,7 +4,8 @@ # ################################################################################ -LUAEXPAT_VERSION = 1.3.3-1 +LUAEXPAT_VERSION = 1.4.0-1 +LUAEXPAT_SUBDIR = luaexpat LUAEXPAT_LICENSE = MIT LUAEXPAT_LICENSE_FILES = $(LUAEXPAT_SUBDIR)/LICENSE LUAEXPAT_DEPENDENCIES = expat From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/fluidsynth: needs C++ Message-ID: <20220404071821.56BC286152@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2eeb66a82b2dc5696cb1b9b9e9a1f0df1e7b1647 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master fluidsynth needs C++ since bump to version 2.2.0 in commit 7e02d2e762eb94fde1f222df1b960dbd263fa946 and https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/fluidsynth/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in index 5726e235e4..376419ce8f 100644 --- a/package/fluidsynth/Config.in +++ b/package/fluidsynth/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUIDSYNTH # the .pc file installed by fluidsynth does not mention its # indirect dependencies in Libs.private. depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBGLIB2 help FluidSynth is a real-time software synthesizer based on the @@ -128,7 +129,7 @@ config BR2_PACKAGE_FLUIDSYNTH_READLINE endif # BR2_PACKAGE_FLUIDSYNTH -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 4 07:34:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 09:34:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl In-Reply-To: <20220403201530.GB2354230@scaer> References: <20220403185306.928833-1-fontaine.fabrice@gmail.com> <20220403201530.GB2354230@scaer> Message-ID: <01a5ba2d-a511-5322-5406-d1bc9bc95347@mind.be> On 03/04/2022 22:15, Yann E. MORIN wrote: > Fabrice, All, > > On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly: >> Fix the following build failure with libressl raised since bump to >> version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and >> https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: >> >> configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING. > > This sentence is incorrect. It is legally not possible to *distribute* > fetchmail when linked against LibreSSL, as the GPL conditions in that > case only trigger at the moment of distribution. > > So, there should be no issue with linking fetchmail to LibreSSL for > private use without redistribution. It would be nice though if this could be mentioned in legal-info. Regards, Arnout > > But: IANAL, TINLA, TTYL... > >> Fixes: >> - http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76 >> >> Signed-off-by: Fabrice Fontaine > > Applied to master, thanks. > > Regards, > Yann E. MORIN. > >> --- >> package/fetchmail/Config.in | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in >> index a4bf5a7c20..1017df34b2 100644 >> --- a/package/fetchmail/Config.in >> +++ b/package/fetchmail/Config.in >> @@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL >> depends on BR2_USE_MMU # fork() >> select BR2_PACKAGE_CA_CERTIFICATES >> select BR2_PACKAGE_OPENSSL >> + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL >> help >> Fetchmail - the mail-retrieval daemon >> Client daemon to move mail from POP and IMAP to your local >> -- >> 2.35.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > From hrsourabh011 at gmail.com Mon Apr 4 08:36:12 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Mon, 4 Apr 2022 10:36:12 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Message-ID: Hello Quentin, I made some progress to build casync as host-casync. I modified casync.mk file to include "HOST_CASYNC_DEPENDENCIES = host-acl host-libcurl host-openssl" below "CASYNC_DEPENDENCIES = acl libcurl openssl". And also added BR2_PACKAGE_HOST_CASYNC=YES to config. Then if I run make host-casync it results in make[1]: * No rule to make target 'host-libfuse' I think this is related to below DEPENDENCY in casync.mk file: ifeq ($(BR2_PACKAGE_LIBFUSE),y) CASYNC_DEPENDENCIES += libfuse CASYNC_CONF_OPTS += -Dfuse=true else CASYNC_CONF_OPTS += -Dfuse=false endif But I have selected BR2_PACKAGE_LIBFUSE=y in menuconfig. What else should be selected for "fuse"? Can you please let me know how to set up buildroot to use build machine libs? Thanks in advance. On Fri, 1 Apr 2022 at 14:29, Sourabh Hegde wrote: > Hello Quentin, > > I assume you need this at build time then since you are talking about >> binary for the host system. In that case, you need to add host-casync to >> your config. >> >> However, casync is currently a target-only package. >> > > If I understand correctly, then as of now Buildroot can't be used to > create casync host package. > > $(eval $(host-meson-package)) >> >> at the end of the package/casync/casync.mk file. >> > > I will try this solution. > > But what could be the other alternative to work with casync? > > Thanks in advance > > On Fri, 1 Apr 2022 at 13:54, Quentin Schulz < > quentin.schulz at theobroma-systems.com> wrote: > >> Hi Sourabh, >> >> On 4/1/22 13:41, Sourabh Hegde wrote: >> > Hello Quentin, >> > >> > make casync >> >> >> >> if you want it in an image created by Buildroot, modify your config >> with >> >> make menuconfig and save your changes, then run make. >> >> >> > >> > But will this create binary for host system also? Sorry, its bit >> confusing >> > here. >> > >> >> No, host packages and target packages are compiled with a different >> keyword. >> >> make casync is for target package >> make host-casync is for host package >> >> > I need casync tool use with "rauc" as given in >> > >> https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e= >> > >> > When I do "rauc convert --cert= --key= >> > --keyring= conventional-bundle.raucb casync-bundle.raucb" >> > >> >> I assume you need this at build time then since you are talking about >> binary for the host system. In that case, you need to add host-casync to >> your config. >> >> However, casync is currently a target-only package. >> >> To create a host package, you need at the very least to add: >> >> $(eval $(host-meson-package)) >> >> at the end of the package/casync/casync.mk file. >> >> This might not be enough and might require some additional tweaks to the >> package makefile. >> >> Cheers, >> Quentin >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Laight at ACULAB.COM Mon Apr 4 08:41:45 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Mon, 4 Apr 2022 08:41:45 +0000 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl In-Reply-To: <01a5ba2d-a511-5322-5406-d1bc9bc95347@mind.be> References: <20220403185306.928833-1-fontaine.fabrice@gmail.com> <20220403201530.GB2354230@scaer> <01a5ba2d-a511-5322-5406-d1bc9bc95347@mind.be> Message-ID: <5771e60200854118a380e4b47b540f68@AcuMS.aculab.com> From: Arnout Vandecappelle > Sent: 04 April 2022 08:35 > > On 03/04/2022 22:15, Yann E. MORIN wrote: > > Fabrice, All, > > > > On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly: > >> Fix the following build failure with libressl raised since bump to > >> version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and > >> https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: > >> > >> configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b > exception. See COPYING. > > > > This sentence is incorrect. It is legally not possible to *distribute* > > fetchmail when linked against LibreSSL, as the GPL conditions in that > > case only trigger at the moment of distribution. > > > > So, there should be no issue with linking fetchmail to LibreSSL for > > private use without redistribution. > > It would be nice though if this could be mentioned in legal-info. ISTM that the default needs to be to disable the build. Requiring 'hoops be gone through' for a private build. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From joel at jms.id.au Mon Apr 4 09:12:56 2022 From: joel at jms.id.au (Joel Stanley) Date: Mon, 4 Apr 2022 18:42:56 +0930 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc Message-ID: <20220404091256.683581-1-joel@jms.id.au> Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the Power8 optimisations off to fix a build issue. Instead apply a patch from the develop branch upstream to fix the issue. This patch is not yet in a released version of zlib-ng. Signed-off-by: Joel Stanley --- ...rd-for-vec_sumsu-to-prevent-undefine.patch | 27 +++++++++++++++++++ package/zlib-ng/zlib-ng.mk | 6 ----- 2 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch diff --git a/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch new file mode 100644 index 000000000000..cc103215de3c --- /dev/null +++ b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch @@ -0,0 +1,27 @@ +From 677f56825f7080403e18e57ffe8177f3df290f20 Mon Sep 17 00:00:00 2001 +From: Nathan Moinvaziri +Date: Sun, 23 Jan 2022 12:59:01 -0800 +Subject: [PATCH] Use static keyword for vec_sumsu to prevent undefined + reference error when g++ linking. + +Signed-off-by: Joel Stanley +--- + arch/power/adler32_power8.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/power/adler32_power8.c b/arch/power/adler32_power8.c +index 029aa3a84c57..fc4086322efc 100644 +--- a/arch/power/adler32_power8.c ++++ b/arch/power/adler32_power8.c +@@ -44,7 +44,7 @@ + #include "adler32_p.h" + + /* Vector across sum unsigned int (saturate). */ +-inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { ++static inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { + __b = vec_sld(__a, __a, 8); + __b = vec_add(__b, __a); + __a = vec_sld(__b, __b, 4); +-- +2.35.1 + diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index 938acd4181a6..fb497b8c11d0 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,10 +23,4 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif -ifeq ($(BR2_powerpc_power8),y) -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON -else -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF -endif - $(eval $(cmake-package)) -- 2.35.1 From quentin.schulz at theobroma-systems.com Mon Apr 4 09:41:52 2022 From: quentin.schulz at theobroma-systems.com (Quentin Schulz) Date: Mon, 4 Apr 2022 11:41:52 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Message-ID: <0b7b806d-7325-9891-27ec-3a6394a328d0@theobroma-systems.com> Hi Sourabh, On 4/4/22 10:36, Sourabh Hegde wrote: > Hello Quentin, > > I made some progress to build casync as host-casync. I modified casync.mk > file to include "HOST_CASYNC_DEPENDENCIES = host-acl host-libcurl > host-openssl" below "CASYNC_DEPENDENCIES = acl libcurl openssl". And also > added BR2_PACKAGE_HOST_CASYNC=YES to config. Then if I run make host-casync > it results in > > make[1]: * No rule to make target 'host-libfuse' > Same as for casync, there's no host package for libfuse right now. You could add: $(eval $(host-autotools-package)) to the bottom of package/libfuse/libfuse.mk and see where it leads you. > I think this is related to below DEPENDENCY in casync.mk file: > ifeq ($(BR2_PACKAGE_LIBFUSE),y) > CASYNC_DEPENDENCIES += libfuse > CASYNC_CONF_OPTS += -Dfuse=true > else > CASYNC_CONF_OPTS += -Dfuse=false > endif > > But I have selected BR2_PACKAGE_LIBFUSE=y in menuconfig. What else should > be selected for "fuse"? > I'm surprised CASYNC_DEPENDENCIES += would add to HOST_CASYNC_DEPENENCIES but I don't know enough about Buildroot makefiles to help with that. I'm puzzled by the error message basically, I don't know where Buildroot got the information it needs to pull libfuse too. I'm pretty sure this will be an issue anyways since the presence of libfuse target package shouldn't influence the configuration options of the host package, only BR2_PACKAGE_HOST_LIBFUSE presence should be taken into account for the host casync package. I'm afraid I won't be of any help in this quest as this is a bit too far into Buildroot system for me and I would just dig into the documentation, same way you would do :) Maybe someone else can chime in. In any case, let us know when you find out what was needed to make it work (and send patches to Buildroot so other people don't have to go through the same pain as you :) ). Cheers, Quentin From peter at korsgaard.com Mon Apr 4 12:30:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:30:10 +0200 Subject: [Buildroot] [PATCH 1/2] package/qt5base: fix race with libxkbcommon In-Reply-To: <20220328111413.1618964-1-foss+buildroot@0leil.net> (Quentin Schulz's message of "Mon, 28 Mar 2022 13:14:12 +0200") References: <20220328111413.1618964-1-foss+buildroot@0leil.net> Message-ID: <87lewl1165.fsf@dell.be.48ers.dk> >>>>> "Quentin" == Quentin Schulz writes: > From: Quentin Schulz > qt5wayland package currently has a bug if the xkbcommon Qt config is not > enabled which highlighted a race issues between qt5base, libxkbcommon > and qt5wayland. > qt5wayland has a dependency on libxkbcommon package if it's enabled. > qt5base only has a dependency on libxkbcommon if xcb support is to be > enabled. > If libxkbcommon package is built before qt5base, qt5base will detect it > during its configure step and enable the Qt config accordingly. This > will make it available to qt5wayland afterwards, even if xcb support is > not enabled in Buildroot Kconfig. > However, if qt5base is built before libxkbcommon is, qt5base will not > advertise support of xbcommon feature to qt5wayland (which will fail its > build because of a bug in the source code). > Since the package build order should not impact the outcome of the > build, let's explicit the dependency if and only if libxkbcommon package > is to be compiled at some point in time so that at least this feature is > not susceptible to races. > Cc: Quentin Schulz > Signed-off-by: Quentin Schulz Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:30:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:30:20 +0200 Subject: [Buildroot] [PATCH 2/2] package/qt5wayland: fix compilation when libxkbcommon is disabled In-Reply-To: <20220328111413.1618964-2-foss+buildroot@0leil.net> (Quentin Schulz's message of "Mon, 28 Mar 2022 13:14:13 +0200") References: <20220328111413.1618964-1-foss+buildroot@0leil.net> <20220328111413.1618964-2-foss+buildroot@0leil.net> Message-ID: <87h779115v.fsf@dell.be.48ers.dk> >>>>> "Quentin" == Quentin Schulz writes: > From: Quentin Schulz > When libxkbcommon is disabled, QT_CONFIG(xkbcommon) is not defined which > means the variable and function pointer in this patch are compiled out > from the header, but the cpp code actually still made use of it. This > patch fixes the build issue when libxkbcommon package is not to be > built. > This patch was taken from (merged): > https://codereview.qt-project.org/c/qt/qtwayland/+/344916 > Cc: Quentin Schulz > Signed-off-by: Quentin Schulz Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:27:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:27:13 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/qt5wayland: fix compilation when libxkbcommon is disabled Message-ID: <20220404122121.ECA4686162@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=143097f780ddbe860d0a06e430d7c3253ecd6250 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x When libxkbcommon is disabled, QT_CONFIG(xkbcommon) is not defined which means the variable and function pointer in this patch are compiled out from the header, but the cpp code actually still made use of it. This patch fixes the build issue when libxkbcommon package is not to be built. This patch was taken from (merged): https://codereview.qt-project.org/c/qt/qtwayland/+/344916 Cc: Quentin Schulz Signed-off-by: Quentin Schulz Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 1da911cbde3d744ff70211cf3ea714f55888adc5) Signed-off-by: Peter Korsgaard --- .../0001-Add-missing-define-guards.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch b/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch new file mode 100644 index 0000000000..adad3768b2 --- /dev/null +++ b/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch @@ -0,0 +1,35 @@ +From 05658e127dedfff65789860415537c6920ec574d Mon Sep 17 00:00:00 2001 +From: Samuli Piippo +Date: Thu, 22 Apr 2021 15:29:56 +0300 +Subject: [PATCH] Add missing define guards + +Ammend cca1b94190a094b5d1d7ce492b6533e2d330c5e8 to use m_composeState +only if xcbcommon is available. + +Pick-to: 5.15 +Change-Id: I48332b15def3282c5bda3e1c7c393ea7e9849cbe +Reviewed-by: Aleix Pol Gonzalez +[Backported from: 05658e127dedfff65789860415537c6920ec574d] +Signed-off-by: Quentin Schulz +--- + src/client/qwaylandinputcontext.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/client/qwaylandinputcontext.cpp b/src/client/qwaylandinputcontext.cpp +index 16e03ea1..cbf63cde 100644 +--- a/src/client/qwaylandinputcontext.cpp ++++ b/src/client/qwaylandinputcontext.cpp +@@ -408,8 +408,10 @@ bool QWaylandInputContext::isValid() const + void QWaylandInputContext::reset() + { + qCDebug(qLcQpaInputMethods) << Q_FUNC_INFO; ++#if QT_CONFIG(xkbcommon) + if (m_composeState) + xkb_compose_state_reset(m_composeState); ++#endif + + QPlatformInputContext::reset(); + +-- +2.35.1 + From peter at korsgaard.com Mon Apr 4 12:26:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:26:59 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/qt5base: fix race with libxkbcommon Message-ID: <20220404122121.E2CDE86161@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b27f378ff71380b0dbcbfa5f90764e7c9ae4ccc6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x qt5wayland package currently has a bug if the xkbcommon Qt config is not enabled which highlighted a race issues between qt5base, libxkbcommon and qt5wayland. qt5wayland has a dependency on libxkbcommon package if it's enabled. qt5base only has a dependency on libxkbcommon if xcb support is to be enabled. If libxkbcommon package is built before qt5base, qt5base will detect it during its configure step and enable the Qt config accordingly. This will make it available to qt5wayland afterwards, even if xcb support is not enabled in Buildroot Kconfig. However, if qt5base is built before libxkbcommon is, qt5base will not advertise support of xbcommon feature to qt5wayland (which will fail its build because of a bug in the source code). Since the package build order should not impact the outcome of the build, let's explicit the dependency if and only if libxkbcommon package is to be compiled at some point in time so that at least this feature is not susceptible to races. Move the xkbcommon entries out of the BR2_PACKAGE_QT5BASE_XCB condition, instead make them depend on BR2_PACKAGE_LIBXKBCOMMON. Since BR2_PACKAGE_QT5BASE_XCB selects BR2_PACKAGE_LIBXKBCOMMON they are still included if xcb is selected. Cc: Quentin Schulz Signed-off-by: Quentin Schulz [Arnout: remove the already existing xkbcommon entries] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit ba8f35eda65d3623967e35547d6bec38f5ebc66a) Signed-off-by: Peter Korsgaard --- package/qt5/qt5base/qt5base.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index 14b58ba384..f880f806cc 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -174,9 +174,13 @@ QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_LINUXFB),--enable-linuxfb,- QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),-directfb,-no-directfb) QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),directfb) +ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) +QT5BASE_CONFIGURE_OPTS += -xkbcommon +QT5BASE_DEPENDENCIES += libxkbcommon +endif + ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) QT5BASE_CONFIGURE_OPTS += -xcb -QT5BASE_CONFIGURE_OPTS += -xkbcommon QT5BASE_DEPENDENCIES += \ libxcb \ @@ -184,8 +188,7 @@ QT5BASE_DEPENDENCIES += \ xcb-util-image \ xcb-util-keysyms \ xcb-util-renderutil \ - xlib_libX11 \ - libxkbcommon + xlib_libX11 ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) QT5BASE_DEPENDENCIES += xlib_libXext endif From peter at korsgaard.com Mon Apr 4 12:31:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:31:55 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/libzlib: security bump version to 1.2.12 In-Reply-To: <20220330180605.557933-1-bernd.kuhls@t-online.de> (Bernd Kuhls's message of "Wed, 30 Mar 2022 20:06:05 +0200") References: <20220330180605.557933-1-bernd.kuhls@t-online.de> Message-ID: <87czhx1138.fsf@dell.be.48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2018-25032. > Release notes: > http://madler.net/pipermail/zlib-announce_madler.net/2022/000012.html > Changelog: https://github.com/madler/zlib/blob/master/ChangeLog > Added upstream patch to fix build error. > Updated license hash due to version bump, reformatted hashes: > https://github.com/madler/zlib/commit/21767c654d31d2dccdde4330529775c6c5fd5389 > Signed-off-by: Bernd Kuhls > --- > v2: added upstream patch to fix build error Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:31:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:31:11 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/libzlib: security bump version to 1.2.12 Message-ID: <20220404122242.EDE7B86164@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5473efe73d3d4ce56b5fcca45d38ad191624181a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Fixes CVE-2018-25032. Release notes: http://madler.net/pipermail/zlib-announce_madler.net/2022/000012.html Changelog: https://github.com/madler/zlib/blob/master/ChangeLog Added upstream patch to fix build error. Updated license hash due to version bump, reformatted hashes: https://github.com/madler/zlib/commit/21767c654d31d2dccdde4330529775c6c5fd5389 Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit a7fa40a9c1e93c063bbc5c5d4cac0c67493087a7) Signed-off-by: Peter Korsgaard --- ...sue-that-discarded-provided-CC-definition.patch | 28 ++++++++++++++++++++++ package/libzlib/libzlib.hash | 4 ++-- package/libzlib/libzlib.mk | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch b/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch new file mode 100644 index 0000000000..398e1c9481 --- /dev/null +++ b/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch @@ -0,0 +1,28 @@ +From 05796d3d8d5546cf1b4dfe2cd72ab746afae505d Mon Sep 17 00:00:00 2001 +From: Mark Adler +Date: Mon, 28 Mar 2022 18:34:10 -0700 +Subject: [PATCH] Fix configure issue that discarded provided CC definition. + +Downloaded from upstream commit: +https://github.com/madler/zlib/commit/05796d3d8d5546cf1b4dfe2cd72ab746afae505d + +Signed-off-by: Bernd Kuhls +--- + configure | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure b/configure +index 52ff4a04e..3fa3e8618 100755 +--- a/configure ++++ b/configure +@@ -174,7 +174,10 @@ if test -z "$CC"; then + else + cc=${CROSS_PREFIX}cc + fi ++else ++ cc=${CC} + fi ++ + cflags=${CFLAGS-"-O3"} + # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure + case "$cc" in diff --git a/package/libzlib/libzlib.hash b/package/libzlib/libzlib.hash index e3736b1011..e6ca974e2f 100644 --- a/package/libzlib/libzlib.hash +++ b/package/libzlib/libzlib.hash @@ -1,4 +1,4 @@ # From http://www.zlib.net/ -sha256 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz +sha256 7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18 zlib-1.2.12.tar.xz # License files, locally calculated -sha256 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15 README +sha256 fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd README diff --git a/package/libzlib/libzlib.mk b/package/libzlib/libzlib.mk index a10fc748d1..933732d6ba 100644 --- a/package/libzlib/libzlib.mk +++ b/package/libzlib/libzlib.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBZLIB_VERSION = 1.2.11 +LIBZLIB_VERSION = 1.2.12 LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz LIBZLIB_SITE = http://www.zlib.net LIBZLIB_LICENSE = Zlib From peter at korsgaard.com Mon Apr 4 12:31:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:31:06 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libzlib: security bump version to 1.2.12 Message-ID: <20220404122247.5517A86168@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0612a2231fa3b7de6356afd22436892d9d620461 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes CVE-2018-25032. Release notes: http://madler.net/pipermail/zlib-announce_madler.net/2022/000012.html Changelog: https://github.com/madler/zlib/blob/master/ChangeLog Added upstream patch to fix build error. Updated license hash due to version bump, reformatted hashes: https://github.com/madler/zlib/commit/21767c654d31d2dccdde4330529775c6c5fd5389 Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit a7fa40a9c1e93c063bbc5c5d4cac0c67493087a7) Signed-off-by: Peter Korsgaard --- ...sue-that-discarded-provided-CC-definition.patch | 28 ++++++++++++++++++++++ package/libzlib/libzlib.hash | 4 ++-- package/libzlib/libzlib.mk | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch b/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch new file mode 100644 index 0000000000..398e1c9481 --- /dev/null +++ b/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch @@ -0,0 +1,28 @@ +From 05796d3d8d5546cf1b4dfe2cd72ab746afae505d Mon Sep 17 00:00:00 2001 +From: Mark Adler +Date: Mon, 28 Mar 2022 18:34:10 -0700 +Subject: [PATCH] Fix configure issue that discarded provided CC definition. + +Downloaded from upstream commit: +https://github.com/madler/zlib/commit/05796d3d8d5546cf1b4dfe2cd72ab746afae505d + +Signed-off-by: Bernd Kuhls +--- + configure | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure b/configure +index 52ff4a04e..3fa3e8618 100755 +--- a/configure ++++ b/configure +@@ -174,7 +174,10 @@ if test -z "$CC"; then + else + cc=${CROSS_PREFIX}cc + fi ++else ++ cc=${CC} + fi ++ + cflags=${CFLAGS-"-O3"} + # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure + case "$cc" in diff --git a/package/libzlib/libzlib.hash b/package/libzlib/libzlib.hash index e3736b1011..e6ca974e2f 100644 --- a/package/libzlib/libzlib.hash +++ b/package/libzlib/libzlib.hash @@ -1,4 +1,4 @@ # From http://www.zlib.net/ -sha256 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz +sha256 7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18 zlib-1.2.12.tar.xz # License files, locally calculated -sha256 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15 README +sha256 fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd README diff --git a/package/libzlib/libzlib.mk b/package/libzlib/libzlib.mk index a10fc748d1..933732d6ba 100644 --- a/package/libzlib/libzlib.mk +++ b/package/libzlib/libzlib.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBZLIB_VERSION = 1.2.11 +LIBZLIB_VERSION = 1.2.12 LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz LIBZLIB_SITE = http://www.zlib.net LIBZLIB_LICENSE = Zlib From peter at korsgaard.com Mon Apr 4 12:38:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:38:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-paramiko: security bump to version 2.10.3 In-Reply-To: <20220330205829.1380283-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 30 Mar 2022 22:58:29 +0200") References: <20220330205829.1380283-1-fontaine.fabrice@gmail.com> Message-ID: <878rsl10si.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-24302: Creation of new private key files using PKey > subclasses was subject to a race condition between file creation & mode > modification, which could be exploited by an attacker with knowledge of > where the Paramiko-using code would write out such files. > https://github.com/paramiko/paramiko/blob/2.10.3/sites/www/changelog.rst > Signed-off-by: Fabrice Fontaine Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:40:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:40:08 +0200 Subject: [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 2 Apr 2022 16:15:27 +0200") References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <874k3910pj.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > This is useful when debugging/developing the pkg-stats script. > Signed-off-by: Thomas Petazzoni Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:40:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:40:13 +0200 Subject: [Buildroot] [PATCH 3/4] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs In-Reply-To: <20220402141531.1320584-3-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 2 Apr 2022 16:15:29 +0200") References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-3-thomas.petazzoni@bootlin.com> Message-ID: <87zgl1yqc2.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > Some upstream sites are very slow to respond, and the default timeout > of 300 seconds of the aiohttp.ClientSession() is too long. Let's > reduce it to 15 seconds. > Signed-off-by: Thomas Petazzoni Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:40:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:40:17 +0200 Subject: [Buildroot] [PATCH 2/4] support/scripts/pkg-stats: allow disabling package warnings retrieval In-Reply-To: <20220402141531.1320584-2-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 2 Apr 2022 16:15:28 +0200") References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-2-thomas.petazzoni@bootlin.com> Message-ID: <87v8vpyqby.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > This is useful when debugging/developing the pkg-stats script. > Signed-off-by: Thomas Petazzoni Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:40:30 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:40:30 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 2 Apr 2022 16:15:30 +0200") References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> Message-ID: <87r16dyqbl.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > pkg-stats currently uses the services from support/scripts/cpedb.py to > match the CPE identifiers of packages with the official CPE database. > Unfortunately, the cpedb.py code uses regular ElementTree parsing, > which involves loading the full XML tree into memory. This causes the > pkg-stats process to consume a huge amount of memory: > thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats > So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats > process. This is causing the OOM killer to kick-in on machines with > relatively low memory. > This commit reimplements the XML parsing needed to do the CPE matching > directly in pkg-stats, using the XmlParser functionality of > ElementTree, also called "streaming parsing". Thanks to this, we never > load the entire XML tree in RAM, but only stream it through the > parser, and construct a very simple list of all CPE identifiers. The > max memory consumption of pkg-stats is now: > thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats > So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. > Now, one will probably wonder why this isn't directly changed in > cpedb.py. The reason is simple: cpedb.py is also used by > support/scripts/missing-cpe, which (for now) heavily relies on having > in memory the ElementTree objects, to re-generate a snippet of XML > that allows us to submit to NIST new CPE entries. > So, future work could include one of those two options: > (1) Re-integrate cpedb.py into missing-cpe directly, and live with > two different ways of processing the CPE database. > (2) Rewrite the missing-cpe logic to also be compatible with a > streaming parsing, which would allow this logic to be again > shared between pkg-stats and missing-cpe. > Signed-off-by: Thomas Petazzoni Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:33:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:33:21 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-paramiko: bump to version 2.7.2 Message-ID: <20220404123124.CAE438619D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=856ffaf41cc68f787a130a6e481c7fc3ed7e629b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Update indentation in hash file (two spaces) https://github.com/paramiko/paramiko/blob/2.7.2/sites/www/changelog.rst Signed-off-by: Fabrice Fontaine [Peter: fix LICENSE hash] Signed-off-by: Peter Korsgaard (cherry picked from commit fcba0aec7b840c6e6e68ba8b5b04c3b093d0f372) Signed-off-by: Peter Korsgaard --- package/python-paramiko/python-paramiko.hash | 6 +++--- package/python-paramiko/python-paramiko.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-paramiko/python-paramiko.hash b/package/python-paramiko/python-paramiko.hash index 6054e8d492..b11acf1dbc 100644 --- a/package/python-paramiko/python-paramiko.hash +++ b/package/python-paramiko/python-paramiko.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/paramiko/json -md5 bf8239dc820ca86dd3c3226f4281c35f paramiko-2.7.1.tar.gz -sha256 920492895db8013f6cc0179293147f830b8c7b21fdfc839b6bad760c27459d9f paramiko-2.7.1.tar.gz +md5 44136d79da4cd7619e368018ad022619 paramiko-2.7.2.tar.gz +sha256 7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035 paramiko-2.7.2.tar.gz # Locally computed sha256 checksums -sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE +sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE diff --git a/package/python-paramiko/python-paramiko.mk b/package/python-paramiko/python-paramiko.mk index 6dc473d34e..3c135cf9b1 100644 --- a/package/python-paramiko/python-paramiko.mk +++ b/package/python-paramiko/python-paramiko.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PARAMIKO_VERSION = 2.7.1 +PYTHON_PARAMIKO_VERSION = 2.7.2 PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz -PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/ac/15/4351003352e11300b9f44a13576bff52dcdc6e4a911129c07447bda0a358 +PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/cf/a1/20d00ce559a692911f11cadb7f94737aca3ede1c51de16e002c7d3a888e0 PYTHON_PARAMIKO_SETUP_TYPE = setuptools PYTHON_PARAMIKO_LICENSE = LGPL-2.1+ PYTHON_PARAMIKO_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:39:23 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:23 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] support/scripts/pkg-stats: allow disabling CPE matching Message-ID: <20220404123124.E34CC8619D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=05e714b0e496c5e2519def8fd239e970bd0479dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit cd8a576c6d3fa65001a5d72ef9c0fae55a297c6c) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 2a3d8a78a8..d9ecb45c3f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1087,7 +1087,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1146,6 +1146,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages) From peter at korsgaard.com Mon Apr 4 12:39:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:40 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats Message-ID: <20220404123125.092C78619D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b8d6d7c3d317e5b52686857b7d08ffe2533e8ff2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x pkg-stats currently uses the services from support/scripts/cpedb.py to match the CPE identifiers of packages with the official CPE database. Unfortunately, the cpedb.py code uses regular ElementTree parsing, which involves loading the full XML tree into memory. This causes the pkg-stats process to consume a huge amount of memory: thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats process. This is causing the OOM killer to kick-in on machines with relatively low memory. This commit reimplements the XML parsing needed to do the CPE matching directly in pkg-stats, using the XmlParser functionality of ElementTree, also called "streaming parsing". Thanks to this, we never load the entire XML tree in RAM, but only stream it through the parser, and construct a very simple list of all CPE identifiers. The max memory consumption of pkg-stats is now: thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. The JSON output of pkg-stats for the full package set, before and after this commit, is exactly identical. Now, one will probably wonder why this isn't directly changed in cpedb.py. The reason is simple: cpedb.py is also used by support/scripts/missing-cpe, which (for now) heavily relies on having in memory the ElementTree objects, to re-generate a snippet of XML that allows us to submit to NIST new CPE entries. So, future work could include one of those two options: (1) Re-integrate cpedb.py into missing-cpe directly, and live with two different ways of processing the CPE database. (2) Rewrite the missing-cpe logic to also be compatible with a streaming parsing, which would allow this logic to be again shared between pkg-stats and missing-cpe. Signed-off-by: Thomas Petazzoni [yann.morin.1998 at free.fr: - add missing import of requests - import CPEDB_URL from cpedb, instead of duplicating it - fix flake8 errors ] Signed-off-by: Yann E. MORIN (cherry picked from commit bd1798ad959a901ccf5009b0c199fa5470912cc2) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 491faa984f..1928c9950c 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -27,12 +27,16 @@ import re import subprocess import json import sys +import time +import gzip +import xml.etree.ElementTree +import requests brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) sys.path.append(os.path.join(brpath, "utils")) from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 +from cpedb import CPEDB_URL # noqa: E402 INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") URL_RE = re.compile(r"\s*https?://\S*\s*$") @@ -613,12 +617,41 @@ def check_package_cves(nvd_path, packages): def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() + class CpeXmlParser: + cpes = [] + + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + + def close(self): + return self.cpes + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + for p in packages: if not p.cpeid: continue - if cpedb.find(p.cpeid): + if p.cpeid in cpes: p.status['cpe'] = ("ok", "verified CPE identifier") else: p.status['cpe'] = ("error", "CPE identifier unknown in CPE database") From peter at korsgaard.com Mon Apr 4 12:39:28 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:28 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] support/scripts/pkg-stats: allow disabling package warnings retrieval Message-ID: <20220404123124.EC4448619F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=676d2e8d5b0534432e9e086dc5967d0f9e149373 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 1adcf5659804c17859b2799c0c3edb6b6ce68eb5) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index d9ecb45c3f..0eca2fb10f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1087,7 +1087,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url, cpe)', + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1129,7 +1129,8 @@ def __main__(): pkg.set_license() pkg.set_hash_info() pkg.set_patch_count() - pkg.set_check_package_warnings() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() pkg.set_current_version() pkg.set_cpeid() pkg.set_url() From peter at korsgaard.com Mon Apr 4 12:37:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:37:20 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-paramiko: security bump to version 2.10.3 Message-ID: <20220404123124.D79F78619E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=da78e1e1e6b42772e4a5e9e09db2c15110e64400 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Fix CVE-2022-24302: Creation of new private key files using PKey subclasses was subject to a race condition between file creation & mode modification, which could be exploited by an attacker with knowledge of where the Paramiko-using code would write out such files. https://github.com/paramiko/paramiko/blob/2.10.3/sites/www/changelog.rst Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit ae699d7f9ad3caebe1fb338303f1b7c6ad42f6ac) Signed-off-by: Peter Korsgaard --- package/python-paramiko/python-paramiko.hash | 4 ++-- package/python-paramiko/python-paramiko.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-paramiko/python-paramiko.hash b/package/python-paramiko/python-paramiko.hash index b11acf1dbc..951bd8e114 100644 --- a/package/python-paramiko/python-paramiko.hash +++ b/package/python-paramiko/python-paramiko.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/paramiko/json -md5 44136d79da4cd7619e368018ad022619 paramiko-2.7.2.tar.gz -sha256 7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035 paramiko-2.7.2.tar.gz +md5 6e47947882e2c1b81f35b4133e8e62b9 paramiko-2.10.3.tar.gz +sha256 ddb1977853aef82804b35d72a0e597b244fa326c404c350bd00c5b01dbfee71a paramiko-2.10.3.tar.gz # Locally computed sha256 checksums sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE diff --git a/package/python-paramiko/python-paramiko.mk b/package/python-paramiko/python-paramiko.mk index 3c135cf9b1..46209f5823 100644 --- a/package/python-paramiko/python-paramiko.mk +++ b/package/python-paramiko/python-paramiko.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PARAMIKO_VERSION = 2.7.2 +PYTHON_PARAMIKO_VERSION = 2.10.3 PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz -PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/cf/a1/20d00ce559a692911f11cadb7f94737aca3ede1c51de16e002c7d3a888e0 +PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/d4/93/1a1eb7f214e6774099d56153db9e612f93cb8ffcdfd2eca243fcd5bb3a78 PYTHON_PARAMIKO_SETUP_TYPE = setuptools PYTHON_PARAMIKO_LICENSE = LGPL-2.1+ PYTHON_PARAMIKO_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:39:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:33 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs Message-ID: <20220404123125.0116E8619E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=303082083504bba5b2fc67123675e4aa77a61bfc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Some upstream sites are very slow to respond, and the default timeout of 300 seconds of the aiohttp.ClientSession() is too long. Let's reduce it to 15 seconds. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 387c496b98895a3ad38d53554d45713a81d7a169) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 0eca2fb10f..491faa984f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -440,7 +440,8 @@ async def check_url_status(session, pkg, npkgs, retry=True): async def check_package_urls(packages): tasks = [] connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: packages = [p for p in packages if p.status['url'][0] == 'ok'] for pkg in packages: tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) From peter at korsgaard.com Mon Apr 4 12:38:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:38:39 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] support/scripts/pkg-stats: allow disabling CPE matching Message-ID: <20220404123210.BACB0861AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8f53218b70d87ca76a4f5c1beb3f8c412469f66d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit cd8a576c6d3fa65001a5d72ef9c0fae55a297c6c) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 8cc64a54d1..ef9482ed95 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1184,6 +1184,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages) From peter at korsgaard.com Mon Apr 4 12:32:29 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:32:29 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-paramiko: security bump to version 2.10.3 Message-ID: <20220404123210.B2FE2861AB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6a826c6d2370da1ce45d0d72f0351c7e73e63110 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix CVE-2022-24302: Creation of new private key files using PKey subclasses was subject to a race condition between file creation & mode modification, which could be exploited by an attacker with knowledge of where the Paramiko-using code would write out such files. https://github.com/paramiko/paramiko/blob/2.10.3/sites/www/changelog.rst Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit ae699d7f9ad3caebe1fb338303f1b7c6ad42f6ac) Signed-off-by: Peter Korsgaard --- package/python-paramiko/python-paramiko.hash | 4 ++-- package/python-paramiko/python-paramiko.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-paramiko/python-paramiko.hash b/package/python-paramiko/python-paramiko.hash index b11acf1dbc..951bd8e114 100644 --- a/package/python-paramiko/python-paramiko.hash +++ b/package/python-paramiko/python-paramiko.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/paramiko/json -md5 44136d79da4cd7619e368018ad022619 paramiko-2.7.2.tar.gz -sha256 7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035 paramiko-2.7.2.tar.gz +md5 6e47947882e2c1b81f35b4133e8e62b9 paramiko-2.10.3.tar.gz +sha256 ddb1977853aef82804b35d72a0e597b244fa326c404c350bd00c5b01dbfee71a paramiko-2.10.3.tar.gz # Locally computed sha256 checksums sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE diff --git a/package/python-paramiko/python-paramiko.mk b/package/python-paramiko/python-paramiko.mk index 3c135cf9b1..46209f5823 100644 --- a/package/python-paramiko/python-paramiko.mk +++ b/package/python-paramiko/python-paramiko.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PARAMIKO_VERSION = 2.7.2 +PYTHON_PARAMIKO_VERSION = 2.10.3 PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz -PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/cf/a1/20d00ce559a692911f11cadb7f94737aca3ede1c51de16e002c7d3a888e0 +PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/d4/93/1a1eb7f214e6774099d56153db9e612f93cb8ffcdfd2eca243fcd5bb3a78 PYTHON_PARAMIKO_SETUP_TYPE = setuptools PYTHON_PARAMIKO_LICENSE = LGPL-2.1+ PYTHON_PARAMIKO_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:38:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:38:44 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] support/scripts/pkg-stats: allow disabling package warnings retrieval Message-ID: <20220404123210.C258C861B4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1fe0e5d21d6b3f98aaecf0211c08e4457ed3ccdd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 1adcf5659804c17859b2799c0c3edb6b6ce68eb5) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ef9482ed95..329b30a5ee 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url, cpe)', + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1167,7 +1167,8 @@ def __main__(): pkg.set_license() pkg.set_hash_info() pkg.set_patch_count() - pkg.set_check_package_warnings() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() pkg.set_current_version() pkg.set_cpeid() pkg.set_url() From peter at korsgaard.com Mon Apr 4 12:38:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:38:50 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs Message-ID: <20220404123210.CA98A861AB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=745e02154582fe5b60739214c2bfa9c531e30101 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Some upstream sites are very slow to respond, and the default timeout of 300 seconds of the aiohttp.ClientSession() is too long. Let's reduce it to 15 seconds. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 387c496b98895a3ad38d53554d45713a81d7a169) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 329b30a5ee..ae1a9aa5e4 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -451,7 +451,8 @@ async def check_url_status(session, pkg, npkgs, retry=True): async def check_package_urls(packages): tasks = [] connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: packages = [p for p in packages if p.status['url'][0] == 'ok'] for pkg in packages: tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) From peter at korsgaard.com Mon Apr 4 12:39:01 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:01 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats Message-ID: <20220404123210.D3090861AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=eae86599ca81c943821bac33f424669520a3fa8c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x pkg-stats currently uses the services from support/scripts/cpedb.py to match the CPE identifiers of packages with the official CPE database. Unfortunately, the cpedb.py code uses regular ElementTree parsing, which involves loading the full XML tree into memory. This causes the pkg-stats process to consume a huge amount of memory: thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats process. This is causing the OOM killer to kick-in on machines with relatively low memory. This commit reimplements the XML parsing needed to do the CPE matching directly in pkg-stats, using the XmlParser functionality of ElementTree, also called "streaming parsing". Thanks to this, we never load the entire XML tree in RAM, but only stream it through the parser, and construct a very simple list of all CPE identifiers. The max memory consumption of pkg-stats is now: thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. The JSON output of pkg-stats for the full package set, before and after this commit, is exactly identical. Now, one will probably wonder why this isn't directly changed in cpedb.py. The reason is simple: cpedb.py is also used by support/scripts/missing-cpe, which (for now) heavily relies on having in memory the ElementTree objects, to re-generate a snippet of XML that allows us to submit to NIST new CPE entries. So, future work could include one of those two options: (1) Re-integrate cpedb.py into missing-cpe directly, and live with two different ways of processing the CPE database. (2) Rewrite the missing-cpe logic to also be compatible with a streaming parsing, which would allow this logic to be again shared between pkg-stats and missing-cpe. Signed-off-by: Thomas Petazzoni [yann.morin.1998 at free.fr: - add missing import of requests - import CPEDB_URL from cpedb, instead of duplicating it - fix flake8 errors ] Signed-off-by: Yann E. MORIN (cherry picked from commit bd1798ad959a901ccf5009b0c199fa5470912cc2) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ae1a9aa5e4..f67be0063f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -27,12 +27,16 @@ import re import subprocess import json import sys +import time +import gzip +import xml.etree.ElementTree +import requests brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) sys.path.append(os.path.join(brpath, "utils")) from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 +from cpedb import CPEDB_URL # noqa: E402 INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") URL_RE = re.compile(r"\s*https?://\S*\s*$") @@ -624,12 +628,41 @@ def check_package_cves(nvd_path, packages): def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() + class CpeXmlParser: + cpes = [] + + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + + def close(self): + return self.cpes + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + for p in packages: if not p.cpeid: continue - if cpedb.find(p.cpeid): + if p.cpeid in cpes: p.status['cpe'] = ("ok", "verified CPE identifier") else: p.status['cpe'] = ("error", "CPE version unknown in CPE database") From peter at korsgaard.com Mon Apr 4 12:44:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:44:53 +0200 Subject: [Buildroot] [PATCH] package: replace git:// URLs with https:// URLs where possible In-Reply-To: <20220401215653.1703616-1-mmayer@broadcom.com> (Markus Mayer via buildroot's message of "Fri, 1 Apr 2022 14:56:53 -0700") References: <20220401215653.1703616-1-mmayer@broadcom.com> Message-ID: <87mth1yq4a.fsf@dell.be.48ers.dk> >>>>> "Markus" == Markus Mayer via buildroot writes: > Replace the remaining git:// URLs with their https:// equivalents as > this is more secure and also more palatable to corporate firewalls. > This leaves package/dahdi-linux as the sole package still using a > git:// URL for cloning. > Signed-off-by: Markus Mayer Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:44:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:44:17 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package: replace git:// URLs with https:// URLs where possible Message-ID: <20220404123535.00E1C861B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=626226eccb9ac3dcef5b660d9d8ca8950d8bf021 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Replace the remaining git:// URLs with their https:// equivalents as this is more secure and also more palatable to corporate firewalls. Signed-off-by: Markus Mayer [yann.morin.1998 at free.fr: convert dahdi-linux too] Signed-off-by: Yann E. MORIN (cherry picked from commit 6626bf7c5fc1f5f47fcade03090de212a6121db3) Signed-off-by: Peter Korsgaard --- boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- package/aer-inject/aer-inject.mk | 3 ++- package/dahdi-linux/dahdi-linux.mk | 3 ++- package/flashbench/flashbench.mk | 3 ++- package/mmc-utils/mmc-utils.mk | 3 ++- package/mxsldr/mxsldr.mk | 3 ++- package/open62541/open62541.mk | 2 +- package/psplash/psplash.mk | 3 ++- package/rtc-tools/rtc-tools.mk | 3 ++- package/rtmpdump/rtmpdump.mk | 3 ++- package/sox/sox.mk | 2 +- package/tftpd/tftpd.mk | 3 ++- package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- 13 files changed, 23 insertions(+), 13 deletions(-) diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk index 3a1af9b02c..30b352f8e7 100644 --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -5,7 +5,8 @@ ################################################################################ BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk index 72495bbea2..6bc9cb44da 100644 --- a/package/aer-inject/aer-inject.mk +++ b/package/aer-inject/aer-inject.mk @@ -5,7 +5,8 @@ ################################################################################ AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git AER_INJECT_LICENSE = GPL-2.0 AER_INJECT_LICENSE_FILES = README AER_INJECT_DEPENDENCIES = host-flex host-bison diff --git a/package/dahdi-linux/dahdi-linux.mk b/package/dahdi-linux/dahdi-linux.mk index b9d5911953..93124f0e02 100644 --- a/package/dahdi-linux/dahdi-linux.mk +++ b/package/dahdi-linux/dahdi-linux.mk @@ -5,7 +5,8 @@ ################################################################################ DAHDI_LINUX_VERSION = 5c840cf43838e0690873e73409491c392333b3b8 -DAHDI_LINUX_SITE = git://git.asterisk.org/dahdi/linux.git +DAHDI_LINUX_SITE = https://gerrit.asterisk.org/dahdi-linux +DAHDI_LINUX_SITE_METHOD = git # We need to download all those firmware blobs ourselves, otherwise # dahdi-linux will try to download them at install time. diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk index e89a250aa3..f5791c3e95 100644 --- a/package/flashbench/flashbench.mk +++ b/package/flashbench/flashbench.mk @@ -5,7 +5,8 @@ ################################################################################ FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git FLASHBENCH_LICENSE = GPL-2.0 FLASHBENCH_LICENSE_FILES = COPYING diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 8c264a454a..c847378692 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -5,7 +5,8 @@ ################################################################################ MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk index 239b40ad29..2375b9f42b 100644 --- a/package/mxsldr/mxsldr.mk +++ b/package/mxsldr/mxsldr.mk @@ -5,7 +5,8 @@ ################################################################################ MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git MXSLDR_LICENSE = GPL-2.0+ MXSLDR_LICENSE_FILES = COPYING HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index 8adf09a79d..74aa2b10b9 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -7,7 +7,7 @@ OPEN62541_VERSION = 1.0 OPEN62541_DL_VERSION = v$(OPEN62541_VERSION) OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git +OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index a0f01869b4..2f1138b3f8 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -5,7 +5,8 @@ ################################################################################ PSPLASH_VERSION = fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c -PSPLASH_SITE = git://git.yoctoproject.org/psplash +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git PSPLASH_LICENSE = GPL-2.0+ PSPLASH_LICENSE_FILES = COPYING PSPLASH_AUTORECONF = YES diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk index 2ef850a81f..2882c88575 100644 --- a/package/rtc-tools/rtc-tools.mk +++ b/package/rtc-tools/rtc-tools.mk @@ -5,7 +5,8 @@ ################################################################################ RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git RTC_TOOLS_LICENSE = GPL-2.0 RTC_TOOLS_LICENSE_FILES = COPYING diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index db79a796dc..fb381d0e10 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -5,7 +5,8 @@ ################################################################################ RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git RTMPDUMP_INSTALL_STAGING = YES # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only # care about librtmp, it's LGPL-2.1+ diff --git a/package/sox/sox.mk b/package/sox/sox.mk index 4b09b94bc3..1896437ad4 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -5,7 +5,7 @@ ################################################################################ SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code +SOX_SITE = https://git.code.sf.net/p/sox/code SOX_SITE_METHOD = git SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index ffd52ce0d0..b8602442fb 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -5,7 +5,8 @@ ################################################################################ TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git TFTPD_CONF_OPTS = --without-tcpwrappers TFTPD_LICENSE = BSD-4-Clause TFTPD_LICENSE_FILES = tftpd/tftpd.c diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk index 722c4655cd..a5f3a82609 100644 --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -5,7 +5,7 @@ ################################################################################ WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git WILINK_BT_FIRMWARE_SITE_METHOD = git WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:41:58 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:41:58 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package: replace git:// URLs with https:// URLs where possible Message-ID: <20220404123543.60468861C0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=15d4f341ae48ffa4eb6cdea61b5b361b7b6e0ce1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Replace the remaining git:// URLs with their https:// equivalents as this is more secure and also more palatable to corporate firewalls. Signed-off-by: Markus Mayer [yann.morin.1998 at free.fr: convert dahdi-linux too] Signed-off-by: Yann E. MORIN (cherry picked from commit 6626bf7c5fc1f5f47fcade03090de212a6121db3) Signed-off-by: Peter Korsgaard --- boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- package/aer-inject/aer-inject.mk | 3 ++- package/dahdi-linux/dahdi-linux.mk | 3 ++- package/firmware-utils/firmware-utils.mk | 3 ++- package/flashbench/flashbench.mk | 3 ++- package/mmc-utils/mmc-utils.mk | 3 ++- package/mxsldr/mxsldr.mk | 3 ++- package/open62541/open62541.mk | 2 +- package/pahole/pahole.mk | 2 +- package/psplash/psplash.mk | 3 ++- package/rtc-tools/rtc-tools.mk | 3 ++- package/rtmpdump/rtmpdump.mk | 3 ++- package/sox/sox.mk | 2 +- package/tftpd/tftpd.mk | 3 ++- package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- 15 files changed, 26 insertions(+), 15 deletions(-) diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk index 3a1af9b02c..30b352f8e7 100644 --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -5,7 +5,8 @@ ################################################################################ BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk index 72495bbea2..6bc9cb44da 100644 --- a/package/aer-inject/aer-inject.mk +++ b/package/aer-inject/aer-inject.mk @@ -5,7 +5,8 @@ ################################################################################ AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git AER_INJECT_LICENSE = GPL-2.0 AER_INJECT_LICENSE_FILES = README AER_INJECT_DEPENDENCIES = host-flex host-bison diff --git a/package/dahdi-linux/dahdi-linux.mk b/package/dahdi-linux/dahdi-linux.mk index b9d5911953..93124f0e02 100644 --- a/package/dahdi-linux/dahdi-linux.mk +++ b/package/dahdi-linux/dahdi-linux.mk @@ -5,7 +5,8 @@ ################################################################################ DAHDI_LINUX_VERSION = 5c840cf43838e0690873e73409491c392333b3b8 -DAHDI_LINUX_SITE = git://git.asterisk.org/dahdi/linux.git +DAHDI_LINUX_SITE = https://gerrit.asterisk.org/dahdi-linux +DAHDI_LINUX_SITE_METHOD = git # We need to download all those firmware blobs ourselves, otherwise # dahdi-linux will try to download them at install time. diff --git a/package/firmware-utils/firmware-utils.mk b/package/firmware-utils/firmware-utils.mk index 151a01882d..d5b079e4f5 100644 --- a/package/firmware-utils/firmware-utils.mk +++ b/package/firmware-utils/firmware-utils.mk @@ -5,7 +5,8 @@ ################################################################################ FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 -FIRMWARE_UTILS_SITE = git://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE_METHOD = git FIRMWARE_UTILS_LICENSE = \ BSD-2-Clause (tplink-safeloader), \ BSD-3-Clause (seama), \ diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk index e89a250aa3..f5791c3e95 100644 --- a/package/flashbench/flashbench.mk +++ b/package/flashbench/flashbench.mk @@ -5,7 +5,8 @@ ################################################################################ FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git FLASHBENCH_LICENSE = GPL-2.0 FLASHBENCH_LICENSE_FILES = COPYING diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 8c264a454a..c847378692 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -5,7 +5,8 @@ ################################################################################ MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk index 239b40ad29..2375b9f42b 100644 --- a/package/mxsldr/mxsldr.mk +++ b/package/mxsldr/mxsldr.mk @@ -5,7 +5,8 @@ ################################################################################ MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git MXSLDR_LICENSE = GPL-2.0+ MXSLDR_LICENSE_FILES = COPYING HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index fb28a614e2..627c29e95b 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -6,7 +6,7 @@ OPEN62541_VERSION = v1.2.2 OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git +OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index 1ad937062d..da6d67e6a2 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -5,7 +5,7 @@ ################################################################################ PAHOLE_VERSION = v1.23 -PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git PAHOLE_SITE_METHOD = git # pahole contains git submodule and relies on them to be built. PAHOLE_GIT_SUBMODULES = YES diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index 5e61f2392f..69f9bf386d 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -5,7 +5,8 @@ ################################################################################ PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d -PSPLASH_SITE = git://git.yoctoproject.org/psplash +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git PSPLASH_LICENSE = GPL-2.0+ PSPLASH_LICENSE_FILES = COPYING PSPLASH_AUTORECONF = YES diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk index 2ef850a81f..2882c88575 100644 --- a/package/rtc-tools/rtc-tools.mk +++ b/package/rtc-tools/rtc-tools.mk @@ -5,7 +5,8 @@ ################################################################################ RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git RTC_TOOLS_LICENSE = GPL-2.0 RTC_TOOLS_LICENSE_FILES = COPYING diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index db79a796dc..fb381d0e10 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -5,7 +5,8 @@ ################################################################################ RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git RTMPDUMP_INSTALL_STAGING = YES # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only # care about librtmp, it's LGPL-2.1+ diff --git a/package/sox/sox.mk b/package/sox/sox.mk index 4b09b94bc3..1896437ad4 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -5,7 +5,7 @@ ################################################################################ SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code +SOX_SITE = https://git.code.sf.net/p/sox/code SOX_SITE_METHOD = git SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 42b5f17821..ceac24119e 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -5,7 +5,8 @@ ################################################################################ TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git TFTPD_CONF_OPTS = --without-tcpwrappers TFTPD_LICENSE = BSD-4-Clause TFTPD_LICENSE_FILES = tftpd/tftpd.c diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk index 722c4655cd..a5f3a82609 100644 --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -5,7 +5,7 @@ ################################################################################ WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git WILINK_BT_FIRMWARE_SITE_METHOD = git WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:46:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:46:00 +0200 Subject: [Buildroot] [PATCH v1 1/4] package/apr: change download url from http to https In-Reply-To: <20220402173030.GD1811301@scaer> (Yann E. MORIN's message of "Sat, 2 Apr 2022 19:30:30 +0200") References: <20220401180520.15772-1-ps.report@gmx.net> <20220402173030.GD1811301@scaer> Message-ID: <87ilrpyq2f.fsf@dell.be.48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > Peter, All, > On 2022-04-01 20:05 +0200, Peter Seiderer spake thusly: >> - change download url from http to https > A commit log that jsut repeats the commit title is useless, so I dropped > it. > I also squashed together commits refering to the same package. > Series applied to master, thanks. And to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:48:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:48:20 +0200 Subject: [Buildroot] [PATCH] package/python-{treq, twisted}: add a comment to use the same version In-Reply-To: <20220331201718.728570-1-romain.naour@gmail.com> (Romain Naour's message of "Thu, 31 Mar 2022 22:17:18 +0200") References: <20220331201718.728570-1-romain.naour@gmail.com> Message-ID: <87ee2dypyj.fsf@dell.be.48ers.dk> >>>>> "Romain" == Romain Naour writes: > As reported by [1], python-twisted and python-treq must use the same > version because its the same project: > https://github.com/twisted/twisted > https://github.com/twisted/treq > We have to update python-treq to version 22.2.0 [2] otherwise we have > a runtime issue: > Traceback (most recent call last): > File "/root/sample_python_treq.py", line 2, in > import treq > File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in > File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in > File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in > ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown > location) > The comment should avoid forgeting one of them while upgrading or > backporting version bump. > [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html > [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 > [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 > Signed-off-by: Romain Naour > Cc: Fabrice Fontaine Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:48:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:48:08 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-{treq, twisted}: add a comment to use the same version Message-ID: <20220404123943.89EEE861CB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5558c8c866aaf3ca85deccf9bee6b0747d16d75f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x As reported by [1], python-twisted and python-treq must use the same version because its the same project: https://github.com/twisted/twisted https://github.com/twisted/treq We have to update python-treq to version 22.2.0 [2] otherwise we have a runtime issue: Traceback (most recent call last): File "/root/sample_python_treq.py", line 2, in import treq File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location) The comment should avoid forgeting one of them while upgrading or backporting version bump. [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 Signed-off-by: Romain Naour Cc: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5140d10bf6b9f01e7e1ecb2b357885e03e9d5fb4) Signed-off-by: Peter Korsgaard --- package/python-treq/python-treq.mk | 3 +++ package/python-twisted/python-twisted.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 57dc50ee74..8995bf2cfe 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-twisted package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 diff --git a/package/python-twisted/python-twisted.mk b/package/python-twisted/python-twisted.mk index e5d643ec05..8a89d3dc82 100644 --- a/package/python-twisted/python-twisted.mk +++ b/package/python-twisted/python-twisted.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-treq package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TWISTED_VERSION = 22.2.0 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46 From peter at korsgaard.com Mon Apr 4 12:45:29 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:45:29 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/apr-util: change URL from http to https Message-ID: <20220404123950.AB6AA861DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cea4406680c2072ea1dd4ece359458b67c1a41ec branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN (cherry picked from commit 15f76e16b30aa7555aa84c71b42bfda69c5ebda7) Signed-off-by: Peter Korsgaard --- package/apr-util/Config.in | 2 +- package/apr-util/apr-util.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in index 6c5e3bbdf5..c1a967bdec 100644 --- a/package/apr-util/Config.in +++ b/package/apr-util/Config.in @@ -8,7 +8,7 @@ config BR2_PACKAGE_APR_UTIL help The utility library for the apache runtime project - http://apr.apache.org/ + https://apr.apache.org comment "apr-util needs a toolchain w/ dynamic library" depends on BR2_USE_MMU diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index cf8407ced0..fb0735f5e7 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -6,7 +6,7 @@ APR_UTIL_VERSION = 1.6.1 APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2 -APR_UTIL_SITE = http://archive.apache.org/dist/apr +APR_UTIL_SITE = https://archive.apache.org/dist/apr APR_UTIL_LICENSE = Apache-2.0 APR_UTIL_LICENSE_FILES = LICENSE APR_UTIL_CPE_ID_VENDOR = apache From peter at korsgaard.com Mon Apr 4 12:45:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:45:20 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/apr: change URL from http to https Message-ID: <20220404123950.A20FA861DC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1d8411cf91d3a9ddee320fe3f8f4dd3bf9cbb441 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN (cherry picked from commit 05f1a88f4979fda312264e0492d5892ddc9674d2) Signed-off-by: Peter Korsgaard --- package/apr/Config.in | 2 +- package/apr/apr.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apr/Config.in b/package/apr/Config.in index 67de925474..4606fc5378 100644 --- a/package/apr/Config.in +++ b/package/apr/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_APR predictable and consistent interface to underlying platform-specific implementations - http://apr.apache.org/ + https://apr.apache.org comment "apr needs a toolchain w/ dynamic library" depends on BR2_USE_MMU diff --git a/package/apr/apr.mk b/package/apr/apr.mk index c45829aacc..7ff2c007b4 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -6,7 +6,7 @@ APR_VERSION = 1.7.0 APR_SOURCE = apr-$(APR_VERSION).tar.bz2 -APR_SITE = http://archive.apache.org/dist/apr +APR_SITE = https://archive.apache.org/dist/apr APR_LICENSE = Apache-2.0 APR_LICENSE_FILES = LICENSE APR_CPE_ID_VENDOR = apache From peter at korsgaard.com Mon Apr 4 12:48:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:48:03 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-{treq, twisted}: add a comment to use the same version Message-ID: <20220404123950.B5166861E2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8153c3620a436e5eca948aacb6a214424dbf834f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x As reported by [1], python-twisted and python-treq must use the same version because its the same project: https://github.com/twisted/twisted https://github.com/twisted/treq We have to update python-treq to version 22.2.0 [2] otherwise we have a runtime issue: Traceback (most recent call last): File "/root/sample_python_treq.py", line 2, in import treq File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location) The comment should avoid forgeting one of them while upgrading or backporting version bump. [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 Signed-off-by: Romain Naour Cc: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5140d10bf6b9f01e7e1ecb2b357885e03e9d5fb4) Signed-off-by: Peter Korsgaard --- package/python-treq/python-treq.mk | 3 +++ package/python-twisted/python-twisted.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 57dc50ee74..8995bf2cfe 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-twisted package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 diff --git a/package/python-twisted/python-twisted.mk b/package/python-twisted/python-twisted.mk index e5d643ec05..8a89d3dc82 100644 --- a/package/python-twisted/python-twisted.mk +++ b/package/python-twisted/python-twisted.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-treq package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TWISTED_VERSION = 22.2.0 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46 From fc.edmundo at gmail.com Mon Apr 4 13:03:09 2022 From: fc.edmundo at gmail.com (Edmundo Ferreira) Date: Mon, 4 Apr 2022 15:03:09 +0200 Subject: [Buildroot] (no subject) Message-ID: On Sun, 2022-04-03 at 12:03 +0200, Fabrice Fontaine wrote: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and > upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No > such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - > http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > Signed-off-by: Fabrice Fontaine > Reviewed-by: James Hilliard > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = > https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs > bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF I can confirm that this issue is also present in 2022.02.x branch. A backport to that branch would be nice. From fc.edmundo at gmail.com Mon Apr 4 13:07:07 2022 From: fc.edmundo at gmail.com (Edmundo Ferreira) Date: Mon, 4 Apr 2022 15:07:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind Message-ID: On Sun, 2022-04-03 at 12:03 +0200, Fabrice Fontaine wrote: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and > upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No > such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - > http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > Signed-off-by: Fabrice Fontaine > Reviewed-by: James Hilliard > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = > https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs > bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF I can confirm that this issue is also present in 2022.02.x branch. A backport to that branch would be nice. From Jason at zx2c4.com Mon Apr 4 14:32:31 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Mon, 4 Apr 2022 16:32:31 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <2d5e8287df984f16b4b90e8a2921d399@AcuMS.aculab.com> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> <2d5e8287df984f16b4b90e8a2921d399@AcuMS.aculab.com> Message-ID: Hi David, On Sun, Apr 03, 2022 at 07:30:23AM +0000, David Laight wrote: > > AFAIU (but neither the commit message nor the seedrng about page explain it) > > the Blake2 algorithm was simply chosen because it's small. Any hash function > > should be fine. There's sha1, sha2 and sha3 in libbb, so I guess one of them > > should have all the desired properties. > > The unrolled blakes2 is typically 5kb of object code. > The unrolled code is better for large buffers, > but just fetching the code to the I-cache will > significantly affect performance for small buffers. > I really ought to sit and measure the cutoff. > > The code is: > [...] Yes, yes, I know: you've been peppering my inbox about BLAKE2s for a few months now. :-) By the way, for the kernel, you still haven't sent me any real patches yet. Happy to look at whatever code with benchmarks you have available. Anyway, for busybox, I'll likely be using something already in libbb, so no worries here. Jason From Jason at zx2c4.com Mon Apr 4 14:38:34 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Mon, 4 Apr 2022 16:38:34 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <20220403094236.GF1811301@scaer> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> <20220403094236.GF1811301@scaer> Message-ID: Hi Yann, On Sun, Apr 03, 2022 at 11:42:36AM +0200, Yann E. MORIN wrote: > I still fail to understand why this can't be a standalone project. Please stop whining about this. I'm offering to maintain and support this as part of projects where the code is relevant to have adhering to the various customs and conventions of each project. Unless you want to open your checkbook, I am not offering to start and maintain an external project. Stop badgering me about this; at this point, I find it quite obnoxious. I'm not going to spend my time doing that work. I will, however, as stated numerous times, maintain it diligently inside projects where it makes sense. Peter made the case that Buildroot isn't one such project where it makes sense, a decision which I'll respect, and so I'll look into it elsewhere, and maybe that'll circle back around to a Buildroot package again. Either way, for the time being and at least until that happens, your involvement here is done, and I'd appreciate it if you would cease your pressure campaign on me to take on volunteer work that I do not agree to do. Thank you, Jason From Jason at zx2c4.com Mon Apr 4 14:40:07 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Mon, 4 Apr 2022 16:40:07 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> <20220403094236.GF1811301@scaer> Message-ID: Hi James, On Sun, Apr 03, 2022 at 05:13:06PM -0600, James Hilliard wrote: > Maybe it should also be upstreamed to util-linux? Yea it might make sense there indeed; it's something I'm looking into. I'll let this list know the results of all this in ${TIME_INTERVAL} when things land various places, and I'll CC you on submissions I make. Jason From arnout at mind.be Mon Apr 4 15:12:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 17:12:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl In-Reply-To: <5771e60200854118a380e4b47b540f68@AcuMS.aculab.com> References: <20220403185306.928833-1-fontaine.fabrice@gmail.com> <20220403201530.GB2354230@scaer> <01a5ba2d-a511-5322-5406-d1bc9bc95347@mind.be> <5771e60200854118a380e4b47b540f68@AcuMS.aculab.com> Message-ID: <13ee969c-e0cd-7029-5853-cc3cbd5baa06@mind.be> On 04/04/2022 10:41, David Laight wrote: > From: Arnout Vandecappelle >> Sent: 04 April 2022 08:35 >> >> On 03/04/2022 22:15, Yann E. MORIN wrote: >>> Fabrice, All, >>> >>> On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly: >>>> Fix the following build failure with libressl raised since bump to >>>> version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and >>>> https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: >>>> >>>> configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b >> exception. See COPYING. >>> >>> This sentence is incorrect. It is legally not possible to *distribute* >>> fetchmail when linked against LibreSSL, as the GPL conditions in that >>> case only trigger at the moment of distribution. >>> >>> So, there should be no issue with linking fetchmail to LibreSSL for >>> private use without redistribution. >> >> It would be nice though if this could be mentioned in legal-info. > > ISTM that the default needs to be to disable the build. > Requiring 'hoops be gone through' for a private build. The "hoop" is to use openssl rather than libressl. Doesn't sound too complicated. Regards, Arnout > > David > > - > Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK > Registration No: 1397386 (Wales) > From arnout at mind.be Mon Apr 4 15:17:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 17:17:49 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Message-ID: Hi Sourabh, Please don't top-post, but reply inline like I do below. Note that this requires configuring your mailer to quote replies properly. On 04/04/2022 10:36, Sourabh Hegde wrote: > Hello?Quentin, > > I made some progress to build casync as host-casync. I modified casync.mk > file to include "HOST_CASYNC_DEPENDENCIES = host-acl > host-libcurl host-openssl" below "CASYNC_DEPENDENCIES = acl libcurl openssl". > And also added BR2_PACKAGE_HOST_CASYNC=YES to config. You don't necessarily need a Config.in option for a host package. Normally, it can simply be added to the dependencies of another package and no more. > Then if I run make > host-casync it results in > > make[1]:?*?No rule to make target 'host-libfuse' You said that you added only host-acl, host-libcurl and host-openssl so HOST_CASYNC_DEPENDENCIES, so there should be no reason for host-libfuse to be built. Are you sure you also didn't accidentally add HOST_CASYNC_DEPENDENCIES += host-libfuse ? > > I think this is related to below DEPENDENCY in casync.mk file: > ifeq ($(BR2_PACKAGE_LIBFUSE),y) > CASYNC_DEPENDENCIES += libfuse This only adds the dependency for the target package, not for the host package. There should be no reason at all to enable fuse for host-casync. So it's best to also set (unconditionally) HOST_CASYNC_CONF_OPTS += -Dfuse=false Regards, Arnout > CASYNC_CONF_OPTS += -Dfuse=true > else > CASYNC_CONF_OPTS += -Dfuse=false > endif > > But I have selected?BR2_PACKAGE_LIBFUSE=y in menuconfig. What else should be > selected?for "fuse"? > > Can you please let me know?how to set up buildroot to use build machine libs? > > Thanks in advance. > > On Fri, 1 Apr 2022 at 14:29, Sourabh Hegde > wrote: > > Hello?Quentin, > > I assume you need this at build time then since you are talking about > binary for the host system. In that case, you need to add host-casync to > your config. > > However, casync is currently a target-only package. > > > If I understand correctly, then as of now Buildroot can't be used to create > casync host package. > > $(eval $(host-meson-package)) > > at the end of the package/casync/casync.mk ?file. > > > I will try this solution. > > But what could be the other?alternative to work with casync? > > Thanks in advance > > On Fri, 1 Apr 2022 at 13:54, Quentin Schulz > > wrote: > > Hi Sourabh, > > On 4/1/22 13:41, Sourabh Hegde wrote: > > Hello Quentin, > > > > make casync > >> > >> if you want it in an image created by Buildroot, modify your config with > >> make menuconfig and save your changes, then run make. > >> > > > > But will this create binary for host system also? Sorry, its bit > confusing > > here. > > > > No, host packages and target packages are compiled with a different keyword. > > make casync is for target package > make host-casync is for host package > > > I need casync tool use with "rauc" as given in > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e= > > > > > When I do "rauc convert --cert= --key= > > --keyring= conventional-bundle.raucb casync-bundle.raucb" > > > > I assume you need this at build time then since you are talking about > binary for the host system. In that case, you need to add host-casync to > your config. > > However, casync is currently a target-only package. > > To create a host package, you need at the very least to add: > > $(eval $(host-meson-package)) > > at the end of the package/casync/casync.mk file. > > This might not be enough and might require some additional tweaks to the > package makefile. > > Cheers, > Quentin > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Mon Apr 4 16:22:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 18:22:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libp11: fix build with libressl Message-ID: <20220404162248.325842-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl: p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) | ^~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b Signed-off-by: Fabrice Fontaine --- package/libp11/0001-Update-wp11_rsa.c.patch | 26 +++++++++++++++++++++ package/libp11/libp11.mk | 8 ++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 package/libp11/0001-Update-wp11_rsa.c.patch diff --git a/package/libp11/0001-Update-wp11_rsa.c.patch b/package/libp11/0001-Update-wp11_rsa.c.patch new file mode 100644 index 0000000000..0a2d6e65ce --- /dev/null +++ b/package/libp11/0001-Update-wp11_rsa.c.patch @@ -0,0 +1,26 @@ +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 +From: patchMonkey156 +Date: Mon, 19 Oct 2020 17:12:15 -0400 +Subject: [PATCH] Update p11_rsa.c + +Bugfix for new LibreSSL version 3.2.2 +[Retrieved from: +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] +Signed-off-by: Fabrice Fontaine +--- + src/p11_rsa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/p11_rsa.c b/src/p11_rsa.c +index b6beef0..ff12ed7 100644 +--- a/src/p11_rsa.c ++++ b/src/p11_rsa.c +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) + return RSA_size(rsa); + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) + + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) + (int flen, const unsigned char *from, diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk index 45a718ee99..c1873a920c 100644 --- a/package/libp11/libp11.mk +++ b/package/libp11/libp11.mk @@ -11,10 +11,16 @@ LIBP11_INSTALL_STAGING = YES LIBP11_LICENSE = LGPL-2.1+ LIBP11_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBP11_ENGINESDIR = enginesdir +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) +LIBP11_ENGINESDIR = libdir +endif + # pkg-config returns a libcrypto enginesdir prefixed with the sysroot, # so let's rip it out. LIBP11_CONF_OPTS = \ - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` ifeq ($(BR2_PACKAGE_P11_KIT),y) LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 4 16:25:45 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 18:25:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/ace: fix build with libressl Message-ID: <20220404162545.326240-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since the addition of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) | ^~~~~~~~~~~~ | BIO_set_init Fixes: - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 Signed-off-by: Fabrice Fontaine --- ...Asynch_BIO.cpp-fix-build-with-libres.patch | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch new file mode 100644 index 0000000000..ad82c10172 --- /dev/null +++ b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch @@ -0,0 +1,52 @@ +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 15:25:49 +0200 +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl + +Fix the following build failure with libressl: + +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) + | ^~~~~~~~~~~~ + | BIO_set_init + +Fixes: + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] +--- + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp +index a657d8a14e6f7..64aa14c6ab9a7 100644 +--- a/ace/SSL/SSL_Asynch_BIO.cpp ++++ b/ace/SSL/SSL_Asynch_BIO.cpp +@@ -41,7 +41,7 @@ extern "C" + + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static BIO_METHOD methods_ACE = + { + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = + #else + static BIO_METHOD* methods_ACE; + # define BIO_set_num(b, val) +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ + + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + + BIO * + ACE_SSL_make_BIO (void * ssl_asynch_stream) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + BIO * const pBIO = BIO_new (&methods_ACE); + #else + if (!methods_ACE) -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 4 16:33:20 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 18:33:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcoap: fix build with libressl Message-ID: <20220404163320.337038-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since commit 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: src/coap_openssl.c:107:3: erreur: nom de type ??BIO_ADDR?? inconnu 107 | BIO_ADDR *bio_addr; | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 Signed-off-by: Fabrice Fontaine --- package/libcoap/libcoap.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk index 8a85ff3a2e..edcc1bbef8 100644 --- a/package/libcoap/libcoap.mk +++ b/package/libcoap/libcoap.mk @@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y) LIBCOAP_DEPENDENCIES += gnutls LIBCOAP_CONF_OPTS += \ --enable-dtls --with-gnutls --without-mbedtls --without-openssl -else ifeq ($(BR2_PACKAGE_OPENSSL),y) +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBCOAP_DEPENDENCIES += openssl LIBCOAP_CONF_OPTS += \ --enable-dtls --without-gnutls --without-mbedtls --with-openssl -- 2.35.1 From bernd.kuhls at t-online.de Mon Apr 4 16:39:26 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Mon, 4 Apr 2022 18:39:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-waipu: bump version to 19.2.1-Matrix Message-ID: <20220404163926.2601842-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index d40a068cb5..1f290b9331 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 4c5ad45ba869c8064a0d64d7fc5c0a2e0c9f47f51184823872d6cd888ab7b2a0 kodi-pvr-waipu-19.2.0-Matrix.tar.gz +sha256 61779eaac29930cfd7f2c23da44a27fdecb695252fbab9598c49c57ce8be7291 kodi-pvr-waipu-19.2.1-Matrix.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 61c5bd67ae..19c750945e 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 19.2.0-Matrix +KODI_PVR_WAIPU_VERSION = 19.2.1-Matrix KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt -- 2.30.2 From fontaine.fabrice at gmail.com Mon Apr 4 16:52:20 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 18:52:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: needs NPTL Message-ID: <20220404165220.338388-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump to version 0.3.26 in commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde Signed-off-by: Fabrice Fontaine --- package/pipewire/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index dd13f31a73..3bfcf42a81 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PIPEWIRE bool "pipewire" depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime @@ -46,7 +46,8 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + depends on BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 -- 2.35.1 From arnout at mind.be Mon Apr 4 17:20:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:20:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/stellarium: bump version to 0.22.0 In-Reply-To: <20220330201009.1459182-1-bernd.kuhls@t-online.de> References: <20220330201009.1459182-1-bernd.kuhls@t-online.de> Message-ID: <3f55f9b9-ea95-4b25-a9fc-c4c1c12dc792@mind.be> On 30/03/2022 22:10, Bernd Kuhls wrote: > Release notes: > http://stellarium.org/release/2022/03/27/stellarium-0.22.0.html > > Added upstream patch to fix build error. > > Added dependency to qt5charts following upstream commit: > https://github.com/Stellarium/stellarium/commit/5b8fece8d03c64f27f37469f0604efd88d54393d#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR487 > > Added configure option to disable qt5webengine support, the package is > broken: https://bugs.busybox.net/show_bug.cgi?id=14681 > > Signed-off-by: Bernd Kuhls > --- [snip] > diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash > index c3f2e0e8d4..f8185869be 100644 > --- a/package/stellarium/stellarium.hash > +++ b/package/stellarium/stellarium.hash > @@ -1,5 +1,5 @@ > # From https://github.com/Stellarium/stellarium/releases > -sha1 a3396c403050e073c592da695faeb048c1d5e19b stellarium-0.21.3.tar.gz > -sha256 8ac6c054d12f136fe0d5c0deaaa8d7b69dd2a462be1711a187364574aef97e7f stellarium-0.21.3.tar.gz > +sha1 c4a00fd756c66fb7df633f496dd3be4300bf1d2b stellarium-0.22.0.tar.gz ^^^ Separate with two spaces, as reported by check-package. Applied to master with that fixed, thanks. Regards, Arnout > +sha256 0b4dc23cf9054b5e76cd9bc5ad68e172eb221999e90af37e93667d04fe78c885 stellarium-0.22.0.tar.gz > # Locally computed > sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING > diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk > index ca5c07b2a7..1226b1190d 100644 > --- a/package/stellarium/stellarium.mk > +++ b/package/stellarium/stellarium.mk > @@ -4,18 +4,20 @@ > # > ################################################################################ > > -STELLARIUM_VERSION = 0.21.3 > +STELLARIUM_VERSION = 0.22.0 > STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) > STELLARIUM_LICENSE = GPL-2.0+ > STELLARIUM_LICENSE_FILES = COPYING > STELLARIUM_DEPENDENCIES = \ > qt5base \ > + qt5charts \ > qt5location \ > qt5multimedia \ > zlib > STELLARIUM_CONF_OPTS = \ > -DENABLE_MEDIA=ON \ > -DENABLE_NLS=OFF \ > + -DENABLE_QTWEBENGINE=OFF \ > -DUSE_SYSTEM_ZLIB=ON > > ifeq ($(BR2_PACKAGE_QT5SCRIPT),y) From arnout at mind.be Mon Apr 4 17:25:54 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:25:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: bump to version 2.2.6 In-Reply-To: <20220328203139.1115402-1-ju.o@free.fr> References: <20220328203139.1115402-1-ju.o@free.fr> Message-ID: <0658ea2e-ec83-aaf5-f432-26e1b1475073@mind.be> On 28/03/2022 22:31, Julien Olivain wrote: > For change log since v2.2.5, see: > - https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.6 > > Signed-off-by: Julien Olivain > --- > Tested with: > > make check-package > ... > 0 warnings generated > > ./utils/test-pkg -p fluidsynth > ... > 6 builds, 2 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed Applied to master, thanks. Regards, Arnout > --- > package/fluidsynth/fluidsynth.hash | 2 +- > package/fluidsynth/fluidsynth.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/fluidsynth/fluidsynth.hash b/package/fluidsynth/fluidsynth.hash > index 0d41c16d8d..20eb9ec49f 100644 > --- a/package/fluidsynth/fluidsynth.hash > +++ b/package/fluidsynth/fluidsynth.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 9037e703617f91c4c36039a5059e0f624164799d856af715bcd8a23c07ba03b8 fluidsynth-2.2.5.tar.gz > +sha256 ca90fe675cacd9a7b442662783c4e7fa0e1fd638b28d64105a4e3fe0f618d20f fluidsynth-2.2.6.tar.gz > sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE > diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk > index b500944c16..d7c72ed059 100644 > --- a/package/fluidsynth/fluidsynth.mk > +++ b/package/fluidsynth/fluidsynth.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FLUIDSYNTH_VERSION = 2.2.5 > +FLUIDSYNTH_VERSION = 2.2.6 > FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION)) > FLUIDSYNTH_LICENSE = LGPL-2.1+ > FLUIDSYNTH_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 4 17:26:27 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:26:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/upower: add gobject-introspection optional dependency In-Reply-To: <20220330173237.1377195-1-fontaine.fabrice@gmail.com> References: <20220330173237.1377195-1-fontaine.fabrice@gmail.com> Message-ID: <2f6d7a1c-2166-52f1-5ee6-18dea30049ed@mind.be> On 30/03/2022 19:32, Fabrice Fontaine wrote: > gobject-introspection is an optional dependency which is enabled by > default since > https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/upower/upower.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/upower/upower.mk b/package/upower/upower.mk > index 8989ca9f5d..a6f39d2f46 100644 > --- a/package/upower/upower.mk > +++ b/package/upower/upower.mk > @@ -22,4 +22,11 @@ UPOWER_DEPENDENCIES = \ > > UPOWER_CONF_OPTS = --disable-man-pages --disable-tests > > +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) > +UPOWER_CONF_OPTS += --enable-introspection > +UPOWER_DEPENDENCIES += gobject-introspection > +else > +UPOWER_CONF_OPTS += --disable-introspection > +endif > + > $(eval $(autotools-package)) From arnout at mind.be Mon Apr 4 17:26:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:26:45 +0200 Subject: [Buildroot] [PATCH v2,1/1] package/pango: fix empty-body In-Reply-To: <20220330165702.1018014-1-fontaine.fabrice@gmail.com> References: <20220330165702.1018014-1-fontaine.fabrice@gmail.com> Message-ID: <6ca6b182-c66d-3509-bb58-862188da3e93@mind.be> On 30/03/2022 18:57, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 1.50.5 in > commit 68b0efbae49a42d0e14d6040e5e7e573d382ff75: > > ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': > ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] > ; > ^ > > Fixes: > - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2 (after review of Arnout Vandecappelle): > - Fix error instead of dropping -Werror > > ...-utils-viewer-cairo-c-fix-empty-body.patch | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch > > diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch > new file mode 100644 > index 0000000000..4b7b5f9b19 > --- /dev/null > +++ b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch > @@ -0,0 +1,40 @@ > +From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 29 Mar 2022 21:39:03 +0000 > +Subject: [PATCH] utils/viewer-cairo.c: fix empty-body > + > +Fix the following build failure raised > +since version 1.50.5 and > +https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: > + > +../utils/viewer-cairo.c: In function 'cairo_vector_view_create': > +../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] > + ; > + ^ > + > +Fixes: > + - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] > +--- > + utils/viewer-cairo.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c > +index ca98c1cd..f15b3fb9 100644 > +--- a/utils/viewer-cairo.c > ++++ b/utils/viewer-cairo.c > +@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) > + return NULL; > + > + if (0) > +- ; > ++ {} > + #ifdef CAIRO_HAS_SVG_SURFACE > + else if (0 == g_ascii_strcasecmp (extension, "svg")) > + constructor = cairo_svg_surface_create; > +-- > +GitLab > + From arnout at mind.be Mon Apr 4 17:15:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:15:21 +0200 Subject: [Buildroot] [git commit] package/upower: add gobject-introspection optional dependency Message-ID: <20220404171729.64D5786230@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8bcae68f37d2c608e9e151fb983f16c09c11f85e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master gobject-introspection is an optional dependency which is enabled by default since https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/upower/upower.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/upower/upower.mk b/package/upower/upower.mk index 8989ca9f5d..a6f39d2f46 100644 --- a/package/upower/upower.mk +++ b/package/upower/upower.mk @@ -22,4 +22,11 @@ UPOWER_DEPENDENCIES = \ UPOWER_CONF_OPTS = --disable-man-pages --disable-tests +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +UPOWER_CONF_OPTS += --enable-introspection +UPOWER_DEPENDENCIES += gobject-introspection +else +UPOWER_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package)) From arnout at mind.be Mon Apr 4 17:15:18 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:15:18 +0200 Subject: [Buildroot] [git commit] package/pango: fix empty-body Message-ID: <20220404171729.5C0198622F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43991ac5e0e6cdb4aa03ed7011243aa0f473fd56 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 1.50.5 in commit 68b0efbae49a42d0e14d6040e5e7e573d382ff75: ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] ; ^ Fixes: - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-utils-viewer-cairo-c-fix-empty-body.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch new file mode 100644 index 0000000000..4b7b5f9b19 --- /dev/null +++ b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch @@ -0,0 +1,40 @@ +From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 29 Mar 2022 21:39:03 +0000 +Subject: [PATCH] utils/viewer-cairo.c: fix empty-body + +Fix the following build failure raised +since version 1.50.5 and +https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: + +../utils/viewer-cairo.c: In function 'cairo_vector_view_create': +../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] + ; + ^ + +Fixes: + - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] +--- + utils/viewer-cairo.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c +index ca98c1cd..f15b3fb9 100644 +--- a/utils/viewer-cairo.c ++++ b/utils/viewer-cairo.c +@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) + return NULL; + + if (0) +- ; ++ {} + #ifdef CAIRO_HAS_SVG_SURFACE + else if (0 == g_ascii_strcasecmp (extension, "svg")) + constructor = cairo_svg_surface_create; +-- +GitLab + From arnout at mind.be Mon Apr 4 17:15:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:15:16 +0200 Subject: [Buildroot] [git commit] package/fluidsynth: bump to version 2.2.6 Message-ID: <20220404171729.5339B8622B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d2fc098faa5b8b8608b4c3d56dc526374c3319aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master For change log since v2.2.5, see: - https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.6 Signed-off-by: Julien Olivain Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/fluidsynth/fluidsynth.hash | 2 +- package/fluidsynth/fluidsynth.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/fluidsynth.hash b/package/fluidsynth/fluidsynth.hash index 0d41c16d8d..20eb9ec49f 100644 --- a/package/fluidsynth/fluidsynth.hash +++ b/package/fluidsynth/fluidsynth.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 9037e703617f91c4c36039a5059e0f624164799d856af715bcd8a23c07ba03b8 fluidsynth-2.2.5.tar.gz +sha256 ca90fe675cacd9a7b442662783c4e7fa0e1fd638b28d64105a4e3fe0f618d20f fluidsynth-2.2.6.tar.gz sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk index b500944c16..d7c72ed059 100644 --- a/package/fluidsynth/fluidsynth.mk +++ b/package/fluidsynth/fluidsynth.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLUIDSYNTH_VERSION = 2.2.5 +FLUIDSYNTH_VERSION = 2.2.6 FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION)) FLUIDSYNTH_LICENSE = LGPL-2.1+ FLUIDSYNTH_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 4 17:16:42 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:16:42 +0200 Subject: [Buildroot] [git commit] package/stellarium: bump version to 0.22.0 Message-ID: <20220404171729.6F5328622B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=af457e6da30b78b53bd020a09c8487185e7316dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: http://stellarium.org/release/2022/03/27/stellarium-0.22.0.html Added upstream patch to fix build error. Added dependency to qt5charts following upstream commit: https://github.com/Stellarium/stellarium/commit/5b8fece8d03c64f27f37469f0604efd88d54393d#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR487 Added configure option to disable qt5webengine support, the package is broken: https://bugs.busybox.net/show_bug.cgi?id=14681 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...xed-building-Stellarium-without-scripting.patch | 49 ++++++++++++++++++++++ package/stellarium/Config.in | 1 + package/stellarium/stellarium.hash | 4 +- package/stellarium/stellarium.mk | 4 +- 4 files changed, 55 insertions(+), 3 deletions(-) diff --git a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch b/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch new file mode 100644 index 0000000000..57f15a8eff --- /dev/null +++ b/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch @@ -0,0 +1,49 @@ +From 710d1c5acd9e962260ce395474819ded2eb6ce12 Mon Sep 17 00:00:00 2001 +From: "Alexander V. Wolf" +Date: Tue, 29 Mar 2022 18:57:06 +0700 +Subject: [PATCH] Fixed building Stellarium without scripting + +Downloaded from upstream commit: +https://github.com/Stellarium/stellarium/commit/710d1c5acd9e962260ce395474819ded2eb6ce12 + +Signed-off-by: Bernd Kuhls +--- + plugins/Calendars/src/Calendars.cpp | 2 ++ + plugins/Calendars/src/Calendars.hpp | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/plugins/Calendars/src/Calendars.cpp b/plugins/Calendars/src/Calendars.cpp +index e5d89a4c063..4df6caee42e 100644 +--- a/plugins/Calendars/src/Calendars.cpp ++++ b/plugins/Calendars/src/Calendars.cpp +@@ -251,6 +251,7 @@ void Calendars::init() + } + } + ++#ifdef ENABLE_SCRIPTING + // Add calendar as scriptable object! Some scripting functions won't work though, as they use object types unknown to the scripting engine. + void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) + { +@@ -260,6 +261,7 @@ void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) + ssm->addObject(cal); + } + } ++#endif + + void Calendars::loadSettings() + { +diff --git a/plugins/Calendars/src/Calendars.hpp b/plugins/Calendars/src/Calendars.hpp +index 461ae1bd9ba..4696183d9d2 100644 +--- a/plugins/Calendars/src/Calendars.hpp ++++ b/plugins/Calendars/src/Calendars.hpp +@@ -145,8 +145,10 @@ class Calendars : public StelModule + //! TODO: ADD HERE: Chinese, NewHinduSolar, NewHinduLunar, ... + Calendar* getCal(QString name); + ++ #ifdef ENABLE_SCRIPTING + //! to be called after program startup, when StelScriptMgr has been set up. + void makeCalendarsScriptable(StelScriptMgr *ssm); ++ #endif + + signals: + //void jdChanged(double jd); diff --git a/package/stellarium/Config.in b/package/stellarium/Config.in index 5922162d44..566f8edc83 100644 --- a/package/stellarium/Config.in +++ b/package/stellarium/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_STELLARIUM select BR2_PACKAGE_QT5BASE_OPENGL select BR2_PACKAGE_QT5BASE_PRINTSUPPORT select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5CHARTS select BR2_PACKAGE_QT5LOCATION select BR2_PACKAGE_QT5MULTIMEDIA select BR2_PACKAGE_ZLIB diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash index c3f2e0e8d4..2c2427bf0e 100644 --- a/package/stellarium/stellarium.hash +++ b/package/stellarium/stellarium.hash @@ -1,5 +1,5 @@ # From https://github.com/Stellarium/stellarium/releases -sha1 a3396c403050e073c592da695faeb048c1d5e19b stellarium-0.21.3.tar.gz -sha256 8ac6c054d12f136fe0d5c0deaaa8d7b69dd2a462be1711a187364574aef97e7f stellarium-0.21.3.tar.gz +sha1 c4a00fd756c66fb7df633f496dd3be4300bf1d2b stellarium-0.22.0.tar.gz +sha256 0b4dc23cf9054b5e76cd9bc5ad68e172eb221999e90af37e93667d04fe78c885 stellarium-0.22.0.tar.gz # Locally computed sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index ca5c07b2a7..1226b1190d 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -4,18 +4,20 @@ # ################################################################################ -STELLARIUM_VERSION = 0.21.3 +STELLARIUM_VERSION = 0.22.0 STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) STELLARIUM_LICENSE = GPL-2.0+ STELLARIUM_LICENSE_FILES = COPYING STELLARIUM_DEPENDENCIES = \ qt5base \ + qt5charts \ qt5location \ qt5multimedia \ zlib STELLARIUM_CONF_OPTS = \ -DENABLE_MEDIA=ON \ -DENABLE_NLS=OFF \ + -DENABLE_QTWEBENGINE=OFF \ -DUSE_SYSTEM_ZLIB=ON ifeq ($(BR2_PACKAGE_QT5SCRIPT),y) From arnout at mind.be Mon Apr 4 17:38:54 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:38:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages In-Reply-To: <20220331132230.227424-1-br015@umbiko.net> References: <20220331132230.227424-1-br015@umbiko.net> Message-ID: On 31/03/2022 15:22, Andreas Ziegler wrote: > Background > During configuration, the meson build system tries to determine the > availability of optional dependencies using (host) pkgconfig and cmake in that > order. If a library does not exist on the target, pkg-config will fail, but > cmake sometimes finds and reports libraries that exist as host packages. This > has been observed for host-expat (cmake dependency) and host-zlib. The link > step subsequently fails, because necessary files are not present in the target > architecture. > > Unconditionally disable optional features often found in host binaries and > modify the menu selection processing in mpd.mk to re-enable them where > necessary. Currently this concerns expat and zlib only. > > This fixes the following build errors: > > [expat] > /home/data/buildroot.x86_64/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.2.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: warning: libc.so.6, needed by /home/data/buildroot.x86_64/host/lib/libexpat.so.1.8.7, not found (try using -rpath or -rpath-link) > /home/data/buildroot.x86_64/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.2.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: /home/data/buildroot.x86_64/host/lib/libexpat.so.1.8.7: undefined reference to `__errno_location at GLIBC_2.2.5' > > [zlib] > http://autobuild.buildroot.net/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ > > Signed-off-by: Andreas Ziegler > --- > package/mpd/mpd.mk | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk > index 12da36098f..4e67c9428c 100644 > --- a/package/mpd/mpd.mk > +++ b/package/mpd/mpd.mk > @@ -14,6 +14,7 @@ MPD_LICENSE_FILES = COPYING > # these refer to the FreeBSD PPP daemon > MPD_IGNORE_CVES = CVE-2020-7465 CVE-2020-7466 > MPD_SELINUX_MODULES = mpd > +# These features are either unwanted or not selectable via the Buildroot menu > MPD_CONF_OPTS = \ > -Daudiofile=disabled \ > -Ddocumentation=disabled \ > @@ -21,6 +22,12 @@ MPD_CONF_OPTS = \ > -Dpipewire=disabled \ > -Dsnapcast=false > > +# Explicitly disable features where meson's dependency detection picks up host > +# libraries. These settings can be overridden through menu options later > +MPD_CONF_OPTS += \ > + -Dexpat=disabled \ > + -Dzlib=disabled It would be better to make these automatic conditional dependencies, like it's done for ICU. > + > # Zeroconf support depends on libdns_sd from avahi. > ifeq ($(BR2_PACKAGE_MPD_AVAHI_SUPPORT),y) > MPD_DEPENDENCIES += avahi > @@ -300,11 +307,11 @@ ifeq ($(BR2_PACKAGE_MPD_UPNP_PUPNP),y) > MPD_DEPENDENCIES += \ > expat \ That would also allow to remove this (it will be done implicitly since expat is selected in Config.in and the automatic dependency will add it). > libupnp > -MPD_CONF_OPTS += -Dupnp=pupnp > +MPD_CONF_OPTS += -Dupnp=pupnp -Dexpat=enabled > else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y) > MPD_DEPENDENCIES += \ > libnpupnp > -MPD_CONF_OPTS += -Dupnp=npupnp > +MPD_CONF_OPTS += -Dupnp=npupnp -Dexpat=enabled This is wrong: no dependency on expat is added so expat may not even be selected or built at this point. Marked as Changes Requested. Regards, Arnout > else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y) > MPD_CONF_OPTS += -Dupnp=disabled > endif From arnout at mind.be Mon Apr 4 17:39:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:39:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libabseil-cpp: fix uclibc-ng build In-Reply-To: <20220330205112.1378968-1-fontaine.fabrice@gmail.com> References: <20220330205112.1378968-1-fontaine.fabrice@gmail.com> Message-ID: <0f8aba9b-9c42-07e0-d524-1096b9675b3c@mind.be> On 30/03/2022 22:51, Fabrice Fontaine wrote: > Fix the following build failure with uclibc-ng and grpc raised on arm > and ppc: > > /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' > > Strangely enough it seems there is only one autobuilder failure despite > the fact that libabseil-cpp is unconditionally using getauxval since its > addition in commit 93568440eda120b12bcbfe267af8f0182484c3b6: > https://github.com/abseil/abseil-cpp/blob/20200225/absl/random/internal/randen_detect.cc > > Perhaps this build failure is an unexpected side effect of commit > 8251d8c2559b25f11684776fc343059cf100657d > > Fixes: > - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0002-fix-build-with-uclibc-ng.patch | 62 +++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch > > diff --git a/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch > new file mode 100644 > index 0000000000..0797d8e51b > --- /dev/null > +++ b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch > @@ -0,0 +1,62 @@ > +From b9ad9bbfed92199a1a58504306d026cd2597539e Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Wed, 30 Mar 2022 21:56:20 +0200 > +Subject: [PATCH] Fix build with uclibc-ng (#1145) > + > +uclibc-ng doesn't provide getauxval which results in the following build > +failure on arm or ppc with any user of abseil-cpp such as grpc: > + > +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' > + > +To fix this build failure, check that __UCLIBC__ is not defined before > +using getauxval (as Babel is not able to check function availability) > + > +Fixes: > + - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/abseil/abseil-cpp/commit/b9ad9bbfed92199a1a58504306d026cd2597539e] > +--- > + absl/debugging/internal/vdso_support.cc | 2 +- > + absl/random/internal/randen_detect.cc | 7 ++++++- > + 2 files changed, 7 insertions(+), 2 deletions(-) > + > +diff --git a/absl/debugging/internal/vdso_support.cc b/absl/debugging/internal/vdso_support.cc > +index c655cf452..e63ac4a3b 100644 > +--- a/absl/debugging/internal/vdso_support.cc > ++++ b/absl/debugging/internal/vdso_support.cc > +@@ -33,7 +33,7 @@ > + #endif > + #include > + > +-#if defined(__GLIBC__) && \ > ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ > + (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) > + #define ABSL_HAVE_GETAUXVAL > + #endif > +diff --git a/absl/random/internal/randen_detect.cc b/absl/random/internal/randen_detect.cc > +index 9bb58fc68..6dababa35 100644 > +--- a/absl/random/internal/randen_detect.cc > ++++ b/absl/random/internal/randen_detect.cc > +@@ -24,6 +24,11 @@ > + > + #include "absl/random/internal/platform.h" > + > ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ > ++ (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) > ++#define ABSL_HAVE_GETAUXVAL > ++#endif > ++ > + #if defined(ABSL_ARCH_X86_64) > + #define ABSL_INTERNAL_USE_X86_CPUID > + #elif defined(ABSL_ARCH_PPC) || defined(ABSL_ARCH_ARM) || \ > +@@ -31,7 +36,7 @@ > + #if defined(__ANDROID__) > + #define ABSL_INTERNAL_USE_ANDROID_GETAUXVAL > + #define ABSL_INTERNAL_USE_GETAUXVAL > +-#elif defined(__linux__) > ++#elif defined(__linux__) && defined(ABSL_HAVE_GETAUXVAL) > + #define ABSL_INTERNAL_USE_LINUX_GETAUXVAL > + #define ABSL_INTERNAL_USE_GETAUXVAL > + #endif From arnout at mind.be Mon Apr 4 17:39:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:39:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/dav1d: bump version to 1.0.0 In-Reply-To: <20220331152816.245852-1-bernd.kuhls@t-online.de> References: <20220331152816.245852-1-bernd.kuhls@t-online.de> Message-ID: <91d95b30-2cf5-10c9-2987-b3412c60d06a@mind.be> On 31/03/2022 17:28, Bernd Kuhls wrote: > Release notes: > https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/dav1d/dav1d.hash | 4 ++-- > package/dav1d/dav1d.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/dav1d/dav1d.hash b/package/dav1d/dav1d.hash > index 5e838b0951..35d753fc27 100644 > --- a/package/dav1d/dav1d.hash > +++ b/package/dav1d/dav1d.hash > @@ -1,4 +1,4 @@ > -# From http://download.videolan.org/pub/videolan/dav1d/0.9.2/dav1d-0.9.2.tar.xz.sha256 > -sha256 e3235ab6c43c0135b0db1d131e1923fad4c84db9d85683e30b91b33a52d61c71 dav1d-0.9.2.tar.xz > +# From http://download.videolan.org/pub/videolan/dav1d/1.0.0/dav1d-1.0.0.tar.xz.sha256 > +sha256 51737db7e4897e599684f873a4725176dd3c779e639411d7c4fce134bb5ebb82 dav1d-1.0.0.tar.xz > # Locally computed > sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING > diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk > index ecc4cc55c3..2d42cdcb67 100644 > --- a/package/dav1d/dav1d.mk > +++ b/package/dav1d/dav1d.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DAV1D_VERSION = 0.9.2 > +DAV1D_VERSION = 1.0.0 > DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz > DAV1D_SITE = http://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) > DAV1D_LICENSE = BSD-2-Clause From arnout at mind.be Mon Apr 4 17:39:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:39:53 +0200 Subject: [Buildroot] [PATCH v2] package/libcamera-apps: fix X11 preview compile (conversion from Window to EGLNativeWindowType) In-Reply-To: <20220331201231.26526-1-ps.report@gmx.net> References: <20220331201231.26526-1-ps.report@gmx.net> Message-ID: On 31/03/2022 22:12, Peter Seiderer wrote: > - add 002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > > Fixes: > > .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ?Window? {aka ?long unsigned int?} to ?EGLNativeWindowType? {aka ?fbdev_window*?} [-fpermissive] > 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); > | ^~~~~~~ > | | > | Window {aka long unsigned int} > > Signed-off-by: Peter Seiderer > --- > Changes v1 -> v2: > - add patch with proper type cast instead of '-fpermissive' compiler > command line option (suggested by Arnout Vandecappelle) Thanks for the work! Applied to master, thanks. Regards, Arnout > --- > ...preview-compile-conversion-from-Wind.patch | 39 +++++++++++++++++++ > 1 file changed, 39 insertions(+) > create mode 100644 package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > > diff --git a/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > new file mode 100644 > index 0000000000..cc9069aa86 > --- /dev/null > +++ b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > @@ -0,0 +1,39 @@ > +From 60715769cd5368a63b2bdc2e6d6bb6df0030a54d Mon Sep 17 00:00:00 2001 > +From: Peter Seiderer > +Date: Thu, 31 Mar 2022 21:44:22 +0200 > +Subject: [PATCH] preview: fix egl_preview compile (conversion from Window to > + EGLNativeWindowType) > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +Fixes: > + > + .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ?Window? {aka ?long unsigned int?} to ?EGLNativeWindowType? {aka ?fbdev_window*?} [-fpermissive] > + 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); > + | ^~~~~~~ > + | | > + | Window {aka long unsigned int} > + > +[Upstream: https://github.com/raspberrypi/libcamera-apps/pull/283] > +Signed-off-by: Peter Seiderer > +--- > + preview/egl_preview.cpp | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/preview/egl_preview.cpp b/preview/egl_preview.cpp > +index b936e57..593583d 100644 > +--- a/preview/egl_preview.cpp > ++++ b/preview/egl_preview.cpp > +@@ -326,7 +326,7 @@ void EglPreview::makeWindow(char const *name) > + wm_delete_window_ = XInternAtom(display_, "WM_DELETE_WINDOW", False); > + XSetWMProtocols(display_, window_, &wm_delete_window_, 1); > + > +- egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); > ++ egl_surface_ = eglCreateWindowSurface(egl_display_, config, reinterpret_cast(window_), NULL); > + if (!egl_surface_) > + throw std::runtime_error("eglCreateWindowSurface failed"); > + > +-- > +2.35.1 > + From arnout at mind.be Mon Apr 4 17:40:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:40:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/apr: fix CVE-2021-35940 In-Reply-To: <20220331210046.35887-1-fontaine.fabrice@gmail.com> References: <20220331210046.35887-1-fontaine.fabrice@gmail.com> Message-ID: On 31/03/2022 23:00, Fabrice Fontaine wrote: > An out-of-bounds array read in the apr_time_exp*() functions was fixed > in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix > for this issue was not carried forward to the APR 1.7.x branch, and > hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the > same issue. > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../apr/0004-apr-1.7.0-CVE-2021-35940.patch | 57 +++++++++++++++++++ > package/apr/apr.mk | 3 + > 2 files changed, 60 insertions(+) > create mode 100644 package/apr/0004-apr-1.7.0-CVE-2021-35940.patch > > diff --git a/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch > new file mode 100644 > index 0000000000..b065a3330a > --- /dev/null > +++ b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch > @@ -0,0 +1,57 @@ > + > +SECURITY: CVE-2021-35940 (cve.mitre.org) > + > +Restore fix for CVE-2017-12613 which was missing in 1.7.x branch, though > +was addressed in 1.6.x in 1.6.3 and later via r1807976. > + > +The fix was merged back to 1.7.x in r1891198. > + > +Since this was a regression in 1.7.0, a new CVE name has been assigned > +to track this, CVE-2021-35940. > + > +Thanks to Iveta Cesalova for reporting this issue. > + > +https://svn.apache.org/viewvc?view=revision&revision=1891198 > + > +[Retrieved from: > +https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch] > +Signed-off-by: Fabrice Fontaine > + > +Index: ./time/unix/time.c > +=================================================================== > +--- ./time/unix/time.c (revision 1891197) > ++++ ./time/unix/time.c (revision 1891198) > +@@ -142,6 +142,9 @@ > + static const int dayoffset[12] = > + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; > + > ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) > ++ return APR_EBADDATE; > ++ > + /* shift new year to 1st March in order to make leap year calc easy */ > + > + if (xt->tm_mon < 2) > +Index: ./time/win32/time.c > +=================================================================== > +--- ./time/win32/time.c (revision 1891197) > ++++ ./time/win32/time.c (revision 1891198) > +@@ -54,6 +54,9 @@ > + static const int dayoffset[12] = > + {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; > + > ++ if (tm->wMonth < 1 || tm->wMonth > 12) > ++ return APR_EBADDATE; > ++ > + /* Note; the caller is responsible for filling in detailed tm_usec, > + * tm_gmtoff and tm_isdst data when applicable. > + */ > +@@ -228,6 +231,9 @@ > + static const int dayoffset[12] = > + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; > + > ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) > ++ return APR_EBADDATE; > ++ > + /* shift new year to 1st March in order to make leap year calc easy */ > + > + if (xt->tm_mon < 2) > diff --git a/package/apr/apr.mk b/package/apr/apr.mk > index c45829aacc..74129ed77e 100644 > --- a/package/apr/apr.mk > +++ b/package/apr/apr.mk > @@ -16,6 +16,9 @@ APR_INSTALL_STAGING = YES > # so we need to autoreconf: > APR_AUTORECONF = YES > > +# 0004-apr-1.7.0-CVE-2021-35940.patch > +APR_IGNORE_CVES += CVE-2021-35940 > + > # avoid apr_hints.m4 by setting apr_preload_done=yes and set > # the needed CFLAGS on our own (avoids '-D_REENTRANT' in case > # not supported by toolchain and subsequent configure failure) From arnout at mind.be Mon Apr 4 17:40:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:40:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/ed: bump to version 1.18 In-Reply-To: <20220331212925.39676-1-fontaine.fabrice@gmail.com> References: <20220331212925.39676-1-fontaine.fabrice@gmail.com> Message-ID: <07bc503d-9fb5-19a9-bf1a-7ee26b6ada0c@mind.be> On 31/03/2022 23:29, Fabrice Fontaine wrote: > license has been switched back to GPL-2.0+: > https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00002.html > > https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00000.html > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/ed/ed.hash | 6 +++--- > package/ed/ed.mk | 4 ++-- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/ed/ed.hash b/package/ed/ed.hash > index 90d467d1f3..36f9b9c1e4 100644 > --- a/package/ed/ed.hash > +++ b/package/ed/ed.hash > @@ -1,4 +1,4 @@ > -# From https://lists.gnu.org/archive/html/bug-ed/2021-01/msg00000.html > -sha256 71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54 ed-1.17.tar.lz > +# From https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00000.html > +sha256 aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f ed-1.18.tar.lz > # Locally calculated > -sha256 f03a12bef9dfb7281864a0dd965166d4f4ec7a66633df2bc72fa4363e57de02c COPYING > +sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING > diff --git a/package/ed/ed.mk b/package/ed/ed.mk > index 975cf3be10..645cfb7696 100644 > --- a/package/ed/ed.mk > +++ b/package/ed/ed.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -ED_VERSION = 1.17 > +ED_VERSION = 1.18 > ED_SITE = $(BR2_GNU_MIRROR)/ed > ED_SOURCE = ed-$(ED_VERSION).tar.lz > -ED_LICENSE = GPL-3.0+ > +ED_LICENSE = GPL-2.0+ > ED_LICENSE_FILES = COPYING > ED_CPE_ID_VENDOR = gnu > From arnout at mind.be Mon Apr 4 17:35:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:35:40 +0200 Subject: [Buildroot] [git commit] package/libcamera-apps: fix X11 preview compile (conversion from Window to EGLNativeWindowType) Message-ID: <20220404173129.4FCAA803E2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=94b5778c82e4fdaa43ab40102648257330cbda0c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - add 002-preview-fix-egl_preview-compile-conversion-from-Wind.patch Fixes: .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ???Window??? {aka ???long unsigned int???} to ???EGLNativeWindowType??? {aka ???fbdev_window*???} [-fpermissive] 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); | ^~~~~~~ | | | Window {aka long unsigned int} Signed-off-by: Peter Seiderer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-egl_preview-compile-conversion-from-Wind.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch new file mode 100644 index 0000000000..cc9069aa86 --- /dev/null +++ b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch @@ -0,0 +1,39 @@ +From 60715769cd5368a63b2bdc2e6d6bb6df0030a54d Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 31 Mar 2022 21:44:22 +0200 +Subject: [PATCH] preview: fix egl_preview compile (conversion from Window to + EGLNativeWindowType) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ???Window??? {aka ???long unsigned int???} to ???EGLNativeWindowType??? {aka ???fbdev_window*???} [-fpermissive] + 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); + | ^~~~~~~ + | | + | Window {aka long unsigned int} + +[Upstream: https://github.com/raspberrypi/libcamera-apps/pull/283] +Signed-off-by: Peter Seiderer +--- + preview/egl_preview.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/preview/egl_preview.cpp b/preview/egl_preview.cpp +index b936e57..593583d 100644 +--- a/preview/egl_preview.cpp ++++ b/preview/egl_preview.cpp +@@ -326,7 +326,7 @@ void EglPreview::makeWindow(char const *name) + wm_delete_window_ = XInternAtom(display_, "WM_DELETE_WINDOW", False); + XSetWMProtocols(display_, window_, &wm_delete_window_, 1); + +- egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); ++ egl_surface_ = eglCreateWindowSurface(egl_display_, config, reinterpret_cast(window_), NULL); + if (!egl_surface_) + throw std::runtime_error("eglCreateWindowSurface failed"); + +-- +2.35.1 + From arnout at mind.be Mon Apr 4 17:35:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:35:40 +0200 Subject: [Buildroot] [git commit] package/dav1d: bump version to 1.0.0 Message-ID: <20220404173129.4623E803CB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=373f32947648240225dec58b55658f47461377b9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dav1d/dav1d.hash | 4 ++-- package/dav1d/dav1d.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/dav1d/dav1d.hash b/package/dav1d/dav1d.hash index 5e838b0951..35d753fc27 100644 --- a/package/dav1d/dav1d.hash +++ b/package/dav1d/dav1d.hash @@ -1,4 +1,4 @@ -# From http://download.videolan.org/pub/videolan/dav1d/0.9.2/dav1d-0.9.2.tar.xz.sha256 -sha256 e3235ab6c43c0135b0db1d131e1923fad4c84db9d85683e30b91b33a52d61c71 dav1d-0.9.2.tar.xz +# From http://download.videolan.org/pub/videolan/dav1d/1.0.0/dav1d-1.0.0.tar.xz.sha256 +sha256 51737db7e4897e599684f873a4725176dd3c779e639411d7c4fce134bb5ebb82 dav1d-1.0.0.tar.xz # Locally computed sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk index ecc4cc55c3..2d42cdcb67 100644 --- a/package/dav1d/dav1d.mk +++ b/package/dav1d/dav1d.mk @@ -4,7 +4,7 @@ # ################################################################################ -DAV1D_VERSION = 0.9.2 +DAV1D_VERSION = 1.0.0 DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz DAV1D_SITE = http://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) DAV1D_LICENSE = BSD-2-Clause From arnout at mind.be Mon Apr 4 17:35:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:35:40 +0200 Subject: [Buildroot] [git commit] package/ed: bump to version 1.18 Message-ID: <20220404173129.65192803CB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4e4739ca5a9315ae3be20bb11c75d6d88e32b2ff branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master license has been switched back to GPL-2.0+: https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00002.html https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00000.html Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ed/ed.hash | 6 +++--- package/ed/ed.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/ed/ed.hash b/package/ed/ed.hash index 90d467d1f3..36f9b9c1e4 100644 --- a/package/ed/ed.hash +++ b/package/ed/ed.hash @@ -1,4 +1,4 @@ -# From https://lists.gnu.org/archive/html/bug-ed/2021-01/msg00000.html -sha256 71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54 ed-1.17.tar.lz +# From https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00000.html +sha256 aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f ed-1.18.tar.lz # Locally calculated -sha256 f03a12bef9dfb7281864a0dd965166d4f4ec7a66633df2bc72fa4363e57de02c COPYING +sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING diff --git a/package/ed/ed.mk b/package/ed/ed.mk index 975cf3be10..645cfb7696 100644 --- a/package/ed/ed.mk +++ b/package/ed/ed.mk @@ -4,10 +4,10 @@ # ################################################################################ -ED_VERSION = 1.17 +ED_VERSION = 1.18 ED_SITE = $(BR2_GNU_MIRROR)/ed ED_SOURCE = ed-$(ED_VERSION).tar.lz -ED_LICENSE = GPL-3.0+ +ED_LICENSE = GPL-2.0+ ED_LICENSE_FILES = COPYING ED_CPE_ID_VENDOR = gnu From arnout at mind.be Mon Apr 4 17:35:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:35:40 +0200 Subject: [Buildroot] [git commit] package/apr: fix CVE-2021-35940 Message-ID: <20220404173129.5B156803B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=10d80eb39aed471b6c47400e1b155c94a61d8e61 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/apr/0004-apr-1.7.0-CVE-2021-35940.patch | 57 +++++++++++++++++++++++++ package/apr/apr.mk | 3 ++ 2 files changed, 60 insertions(+) diff --git a/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch new file mode 100644 index 0000000000..b065a3330a --- /dev/null +++ b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch @@ -0,0 +1,57 @@ + +SECURITY: CVE-2021-35940 (cve.mitre.org) + +Restore fix for CVE-2017-12613 which was missing in 1.7.x branch, though +was addressed in 1.6.x in 1.6.3 and later via r1807976. + +The fix was merged back to 1.7.x in r1891198. + +Since this was a regression in 1.7.0, a new CVE name has been assigned +to track this, CVE-2021-35940. + +Thanks to Iveta Cesalova for reporting this issue. + +https://svn.apache.org/viewvc?view=revision&revision=1891198 + +[Retrieved from: +https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch] +Signed-off-by: Fabrice Fontaine + +Index: ./time/unix/time.c +=================================================================== +--- ./time/unix/time.c (revision 1891197) ++++ ./time/unix/time.c (revision 1891198) +@@ -142,6 +142,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) +Index: ./time/win32/time.c +=================================================================== +--- ./time/win32/time.c (revision 1891197) ++++ ./time/win32/time.c (revision 1891198) +@@ -54,6 +54,9 @@ + static const int dayoffset[12] = + {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; + ++ if (tm->wMonth < 1 || tm->wMonth > 12) ++ return APR_EBADDATE; ++ + /* Note; the caller is responsible for filling in detailed tm_usec, + * tm_gmtoff and tm_isdst data when applicable. + */ +@@ -228,6 +231,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) diff --git a/package/apr/apr.mk b/package/apr/apr.mk index 7ff2c007b4..77217ccbb3 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -16,6 +16,9 @@ APR_INSTALL_STAGING = YES # so we need to autoreconf: APR_AUTORECONF = YES +# 0004-apr-1.7.0-CVE-2021-35940.patch +APR_IGNORE_CVES += CVE-2021-35940 + # avoid apr_hints.m4 by setting apr_preload_done=yes and set # the needed CFLAGS on our own (avoids '-D_REENTRANT' in case # not supported by toolchain and subsequent configure failure) From arnout at mind.be Mon Apr 4 17:27:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:27:00 +0200 Subject: [Buildroot] [git commit] package/libabseil-cpp: fix uclibc-ng build Message-ID: <20220404173129.3C601803B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1a3de362aea62db32d02533d84fcf61cf0389152 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with uclibc-ng and grpc raised on arm and ppc: /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' Strangely enough it seems there is only one autobuilder failure despite the fact that libabseil-cpp is unconditionally using getauxval since its addition in commit 93568440eda120b12bcbfe267af8f0182484c3b6: https://github.com/abseil/abseil-cpp/blob/20200225/absl/random/internal/randen_detect.cc Perhaps this build failure is an unexpected side effect of commit 8251d8c2559b25f11684776fc343059cf100657d Fixes: - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0002-fix-build-with-uclibc-ng.patch | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch new file mode 100644 index 0000000000..0797d8e51b --- /dev/null +++ b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch @@ -0,0 +1,62 @@ +From b9ad9bbfed92199a1a58504306d026cd2597539e Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 30 Mar 2022 21:56:20 +0200 +Subject: [PATCH] Fix build with uclibc-ng (#1145) + +uclibc-ng doesn't provide getauxval which results in the following build +failure on arm or ppc with any user of abseil-cpp such as grpc: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' + +To fix this build failure, check that __UCLIBC__ is not defined before +using getauxval (as Babel is not able to check function availability) + +Fixes: + - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/abseil/abseil-cpp/commit/b9ad9bbfed92199a1a58504306d026cd2597539e] +--- + absl/debugging/internal/vdso_support.cc | 2 +- + absl/random/internal/randen_detect.cc | 7 ++++++- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/absl/debugging/internal/vdso_support.cc b/absl/debugging/internal/vdso_support.cc +index c655cf452..e63ac4a3b 100644 +--- a/absl/debugging/internal/vdso_support.cc ++++ b/absl/debugging/internal/vdso_support.cc +@@ -33,7 +33,7 @@ + #endif + #include + +-#if defined(__GLIBC__) && \ ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ + (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) + #define ABSL_HAVE_GETAUXVAL + #endif +diff --git a/absl/random/internal/randen_detect.cc b/absl/random/internal/randen_detect.cc +index 9bb58fc68..6dababa35 100644 +--- a/absl/random/internal/randen_detect.cc ++++ b/absl/random/internal/randen_detect.cc +@@ -24,6 +24,11 @@ + + #include "absl/random/internal/platform.h" + ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ ++ (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) ++#define ABSL_HAVE_GETAUXVAL ++#endif ++ + #if defined(ABSL_ARCH_X86_64) + #define ABSL_INTERNAL_USE_X86_CPUID + #elif defined(ABSL_ARCH_PPC) || defined(ABSL_ARCH_ARM) || \ +@@ -31,7 +36,7 @@ + #if defined(__ANDROID__) + #define ABSL_INTERNAL_USE_ANDROID_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL +-#elif defined(__linux__) ++#elif defined(__linux__) && defined(ABSL_HAVE_GETAUXVAL) + #define ABSL_INTERNAL_USE_LINUX_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL + #endif From peter at korsgaard.com Mon Apr 4 17:48:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 19:48:06 +0200 Subject: [Buildroot] [PATCH 1/3] package/htop: fix sensors option In-Reply-To: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 13:04:53 +0200") References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Message-ID: <874k38zqnd.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used > --{with,without}-sensors instead of --{dis,en}able-sensors > Signed-off-by: Fabrice Fontaine This is in fact because htop upstream has changed the option name in 3.1.x, so it was correct back in 811846. Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 17:47:09 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 19:47:09 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/htop: fix sensors option Message-ID: <20220404173850.9E22C8079C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e67eaafd6fa96a6f1e8fe32edd8580613cbdf1cb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used --{with,without}-sensors instead of --{dis,en}able-sensors Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit a8289875b69e6377218ca1ab7712b932c24302c5) Signed-off-by: Peter Korsgaard --- package/htop/htop.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 7caa47ce13..210518da2f 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities endif ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -HTOP_CONF_OPTS += --with-sensors +HTOP_CONF_OPTS += --enable-sensors HTOP_DEPENDENCIES += lm-sensors else -HTOP_CONF_OPTS += --without-sensors +HTOP_CONF_OPTS += --disable-sensors endif ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) From peter at korsgaard.com Mon Apr 4 17:48:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 19:48:44 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/htop: fix hwloc static build Message-ID: <20220404173947.93055807CF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4bba8d0b64d5dc70aa3e5bb6eec7a6b87d4930b4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following static build failure with hwloc raised since commit c83bf9720632bcd4d438094a9fc30feff69fc555: checking for hwloc_get_proc_cpubind in -lhwloc... no configure: error: can not find required library libhwloc Fixes: - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit dd6c4a9929b4980b4a3b4dc3232cd23882dd3789) Signed-off-by: Peter Korsgaard --- ...-configure.ac-fix-static-build-with-hwloc.patch | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch new file mode 100644 index 0000000000..0ac79766c5 --- /dev/null +++ b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch @@ -0,0 +1,54 @@ +From 4ccad4604586c921b4ad831b254496c2cdece9fc Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 17:27:01 +0200 +Subject: [PATCH] configure.ac: fix static build with hwloc + +Retrieve hwloc dependencies through pkg-config to avoid the following +static build failure: + +checking for hwloc_get_proc_cpubind in -lhwloc... no +configure: error: can not find required library libhwloc + +This build failure is raised because without pkg-config, hwloc +dependencies such as libxml2 are not retrieved: + +configure:8999: checking for hwloc_get_proc_cpubind in -lhwloc +configure:9022: /home/autobuild/autobuild/instance-0/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o conftest -D_GNU_SOURCE -I/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lhwloc -llzma -L/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lncurses -lm >&5 +/home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib/libhwloc.a(topology-xml-libxml.o): in function `hwloc_libxml_free_buffer': +topology-xml-libxml.c:(.text+0x6a): undefined reference to `xmlFree' + +Fixes: + - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/htop-dev/htop/commit/4ccad4604586c921b4ad831b254496c2cdece9fc] +--- + configure.ac | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4ecac1ecf..6bb7eb69f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -456,8 +456,18 @@ case "$enable_hwloc" in + no) + ;; + yes) +- AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) +- AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ m4_ifdef([PKG_PROG_PKG_CONFIG], [ ++ PKG_PROG_PKG_CONFIG() ++ PKG_CHECK_MODULES(HWLOC, hwloc, [ ++ CFLAGS="$CFLAGS $HWLOC_CFLAGS" LIBS="$LIBS $HWLOC_LIBS" ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) + ;; + *) + AC_MSG_ERROR([bad value '$enable_hwloc' for --enable-hwloc]) From peter at korsgaard.com Mon Apr 4 17:49:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 19:49:18 +0200 Subject: [Buildroot] [PATCH 3/3] package/htop: fix hwloc static build In-Reply-To: <20220403110455.2875846-3-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 13:04:55 +0200") References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> <20220403110455.2875846-3-fontaine.fabrice@gmail.com> Message-ID: <87zgl0yc0x.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following static build failure with hwloc raised since commit > c83bf9720632bcd4d438094a9fc30feff69fc555: > checking for hwloc_get_proc_cpubind in -lhwloc... no > configure: error: can not find required library libhwloc > Fixes: > - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 17:51:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 19:51:11 +0200 Subject: [Buildroot] [PATCH 2/3] package/htop: use official tarball In-Reply-To: <20220403110455.2875846-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 13:04:54 +0200") References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> <20220403110455.2875846-2-fontaine.fabrice@gmail.com> Message-ID: <87v8voybxs.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 17:50:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 19:50:59 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/htop: use official tarball Message-ID: <20220404174212.1309C80E61@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2e088c7aca10578157fd175f216319c286541dea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c49b46e9cc90e4c974225413bde15fdeb5de446c) Signed-off-by: Peter Korsgaard --- package/htop/htop.hash | 4 +++- package/htop/htop.mk | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.hash b/package/htop/htop.hash index dffe5ca1ad..d7c39be4d0 100644 --- a/package/htop/htop.hash +++ b/package/htop/htop.hash @@ -1,3 +1,5 @@ +# From https://github.com/htop-dev/htop/releases/download/3.1.2/htop-3.1.2.tar.xz.sha256 +sha256 884bce5b58cb113127860b9e368609019e92416a81550fdf0752052f3a64b388 htop-3.1.2.tar.xz + # Locally calculated -sha256 fe9559637c8f21f5fd531a4c072048a404173806acbdad1359c6b82fd87aa001 htop-3.1.2.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 210518da2f..1e7b171a17 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -5,7 +5,8 @@ ################################################################################ HTOP_VERSION = 3.1.2 -HTOP_SITE = $(call github,htop-dev,htop,$(HTOP_VERSION)) +HTOP_SOURCE = htop-$(HTOP_VERSION).tar.xz +HTOP_SITE = https://github.com/htop-dev/htop/releases/download/$(HTOP_VERSION) HTOP_DEPENDENCIES = ncurses HTOP_AUTORECONF = YES # Prevent htop build system from searching the host paths From arnout at mind.be Mon Apr 4 17:58:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:58:36 +0200 Subject: [Buildroot] [PATCH v1 1/1] configs/zynq_qmtech_defconfig: move post-image.sh to board/qmtech/zynq In-Reply-To: <20220331192030.3871720-1-neal.frager@amd.com> References: <20220331192030.3871720-1-neal.frager@amd.com> Message-ID: <18ef2499-bc59-7403-84d9-2cee63998ef7@mind.be> On 31/03/2022 21:20, Neal Frager via buildroot wrote: > This patch creates a post-image.sh in the board/qmtech/zynq > directory, so that the zynq_qmtech_defconfig can be updated > independently from the other zynq defconfigs. Since you're not actually making any change that makes a difference between the qmtech and other zynq boards, I don't see the point. In the other mail you mention something like "because the device tree is not in mainline", but that doesn't really change anything, does it? Other then maybe the device tree having a different name, but that's already handled by the script. Instead of forking, it would be preferable to still use the same script and genimage but just make it configurable. That said, making things configurable may also unnecessarily complicate things. It's a difficult balance to make. And impossible for me to evaluate without seeing what changes need to be made to the other zynq scripts. So, for now I've marked it as Rejected. Feel free to re-post as part of a series that also updates the zynq defconfigs, or replace it with a patch that makes board/zynq/genimage.cfg configurable in the way it needs to be. Regards, Arnout > > Signed-off-by: Neal Frager > --- > board/qmtech/zynq/genimage.cfg | 27 +++++++++++++++++++++++++++ > board/qmtech/zynq/post-image.sh | 13 +++++++++++++ > configs/zynq_qmtech_defconfig | 2 +- > 3 files changed, 41 insertions(+), 1 deletion(-) > create mode 100644 board/qmtech/zynq/genimage.cfg > create mode 100755 board/qmtech/zynq/post-image.sh > > diff --git a/board/qmtech/zynq/genimage.cfg b/board/qmtech/zynq/genimage.cfg > new file mode 100644 > index 0000000000..67baca795e > --- /dev/null > +++ b/board/qmtech/zynq/genimage.cfg > @@ -0,0 +1,27 @@ > +image boot.vfat { > + vfat { > + files = { > + "boot.bin", > + "u-boot.img", > + "devicetree.dtb", > + "uImage" > + } > + > + file uramdisk.image.gz { > + image = "rootfs.cpio.uboot" > + } > + } > + > + size = 32M > +} > + > +image sdcard.img { > + hdimage { > + } > + > + partition boot { > + partition-type = 0xC > + bootable = "true" > + image = "boot.vfat" > + } > +} > diff --git a/board/qmtech/zynq/post-image.sh b/board/qmtech/zynq/post-image.sh > new file mode 100755 > index 0000000000..54c5493b4e > --- /dev/null > +++ b/board/qmtech/zynq/post-image.sh > @@ -0,0 +1,13 @@ > +#!/bin/sh > + > +# By default U-Boot loads DTB from a file named "devicetree.dtb", so > +# let's use a symlink with that name that points to the *first* > +# devicetree listed in the config. > + > +FIRST_DT=$(sed -n \ > + 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \ > + ${BR2_CONFIG}) > + > +[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/devicetree.dtb > + > +support/scripts/genimage.sh -c board/qmtech/zynq/genimage.cfg > diff --git a/configs/zynq_qmtech_defconfig b/configs/zynq_qmtech_defconfig > index 4db3f68b1f..dc3b22c876 100644 > --- a/configs/zynq_qmtech_defconfig > +++ b/configs/zynq_qmtech_defconfig > @@ -5,7 +5,7 @@ BR2_ARM_ENABLE_VFP=y > BR2_GLOBAL_PATCH_DIR="board/qmtech/zynq/patches" > BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y > BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" > -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qmtech/zynq/post-image.sh" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xilinx-v2019.2.01)/linux-xilinx-v2019.2.01.tar.gz" From arnout at mind.be Mon Apr 4 18:02:01 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:02:01 +0200 Subject: [Buildroot] [PATCH] package/libostree: bump to version 2022.2 In-Reply-To: <20220401083100.64722-1-marcus.folkesson@gmail.com> References: <20220401083100.64722-1-marcus.folkesson@gmail.com> Message-ID: <94227ab6-9e4a-f728-adb8-ca75eca8975a@mind.be> On 01/04/2022 10:31, Marcus Folkesson wrote: > Signed-off-by: Marcus Folkesson Applied to master, thanks. Regards, Arnout > --- > package/libostree/libostree.hash | 2 +- > package/libostree/libostree.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libostree/libostree.hash b/package/libostree/libostree.hash > index 3a06340575..4c8c2c4f10 100644 > --- a/package/libostree/libostree.hash > +++ b/package/libostree/libostree.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 43a00e7856842b8a34f6616fc2ce1ce238ef43210cca41f70e6b4b0d2a9fcad5 libostree-2022.1.tar.xz > +sha256 76e2f5b5784d8cb686e90be32fcecbb56c6c6a824e0374a1a6820b577103676b libostree-2022.2.tar.xz > sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING > diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk > index 9cbf2848c9..07e0a2aaa4 100644 > --- a/package/libostree/libostree.mk > +++ b/package/libostree/libostree.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBOSTREE_VERSION = 2022.1 > +LIBOSTREE_VERSION = 2022.2 > LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz > LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION) > From arnout at mind.be Mon Apr 4 18:02:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:02:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl In-Reply-To: <20220401165722.540239-1-fontaine.fabrice@gmail.com> References: <20220401165722.540239-1-fontaine.fabrice@gmail.com> Message-ID: <68302099-f74f-4ba0-0db4-92102f2cce94@mind.be> On 01/04/2022 18:57, Fabrice Fontaine wrote: > Fix the following build failure with libdbi-drivers raised since bump to > version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: > > configure: error: Package requirements (libpq) were not met: > > Package 'libssl', required by 'libpq', not found > Package 'libcrypto', required by 'libpq', not found > > Fixes: > - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...libpq-Fix-pkg-config-without-OpenSSL.patch | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch > > diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch > new file mode 100644 > index 0000000000..90b0577a20 > --- /dev/null > +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch > @@ -0,0 +1,34 @@ > +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 > +From: Peter Eisentraut > +Date: Fri, 1 Apr 2022 17:12:56 +0200 > +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL > + > +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is > +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. > + > +Author: Fabrice Fontaine > +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com > +[Retrieved from: > +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] > +Signed-off-by: Fabrice Fontaine > +--- > + src/interfaces/libpq/Makefile | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile > +index 89bf5e0126..b5fd72a4ac 100644 > +--- a/src/interfaces/libpq/Makefile > ++++ b/src/interfaces/libpq/Makefile > +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport > + > + SHLIB_EXPORTS = exports.txt > + > ++ifeq ($(with_ssl),openssl) > + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto > ++endif > + > + all: all-lib libpq-refs-stamp > + > +-- > +2.30.2 > + From arnout at mind.be Mon Apr 4 18:02:52 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:02:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: fix build without pod2man In-Reply-To: <20220401170255.540939-1-fontaine.fabrice@gmail.com> References: <20220401170255.540939-1-fontaine.fabrice@gmail.com> Message-ID: <7ea28df0-42ef-18f5-cc66-de0e9c31f5f8@mind.be> On 01/04/2022 19:02, Fabrice Fontaine wrote: > udpcast unconditionally build manpages which will raise the following > build failure without pod2man since at least bump to version 20200328 in > commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: > > sh: line 1: pod2man: command not found > > To fix this issue, rework how udpcast is built and installed to always > build and install the sender or the receiver and never build the > manpages. As a side effect, this will also avoid to install the unneeded > rateGovernor.h > > Fixes: > - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/udpcast/Config.in | 2 ++ > package/udpcast/udpcast.mk | 24 ++++++++---------------- > 2 files changed, 10 insertions(+), 16 deletions(-) > > diff --git a/package/udpcast/Config.in b/package/udpcast/Config.in > index ef94b30a99..cc38c6e57c 100644 > --- a/package/udpcast/Config.in > +++ b/package/udpcast/Config.in > @@ -6,6 +6,8 @@ config BR2_PACKAGE_UDPCAST > bool "udpcast" > depends on BR2_TOOLCHAIN_HAS_THREADS > depends on BR2_USE_MMU # fork() > + select BR2_PACKAGE_UDPCAST_SENDER \ > + if !BR2_PACKAGE_UDPCAST_RECEIVER > help > A multicast protocol implementation which happens to > be very handy for imaging drives over the network. > diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk > index 34ebddd2d5..4c151bb41f 100644 > --- a/package/udpcast/udpcast.mk > +++ b/package/udpcast/udpcast.mk > @@ -9,23 +9,15 @@ UDPCAST_SITE = http://www.udpcast.linux.lu/download > UDPCAST_DEPENDENCIES = host-m4 > UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ > UDPCAST_LICENSE_FILES = COPYING > +UDPCAST_TARGETS = \ > + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ > + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) > +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) > > -define UDPCAST_REMOVE_UDP_SENDER > - rm -f $(TARGET_DIR)/usr/sbin/udp-sender > - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 > +define UDPCAST_INSTALL_TARGET_CMDS > + $(foreach f,$(UDPCAST_TARGETS),\ > + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) > + ) > endef > > -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) > -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER > -endif > - > -define UDPCAST_REMOVE_UDP_RECEIVER > - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver > - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 > -endef > - > -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) > -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER > -endif > - > $(eval $(autotools-package)) From arnout at mind.be Mon Apr 4 18:03:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:03:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap-ng: bump to version 0.8.3 In-Reply-To: <20220401204411.942428-1-fontaine.fabrice@gmail.com> References: <20220401204411.942428-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 22:44, Fabrice Fontaine wrote: > https://github.com/stevegrubb/libcap-ng/blob/v0.8.3/ChangeLog > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libcap-ng/libcap-ng.hash | 2 +- > package/libcap-ng/libcap-ng.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libcap-ng/libcap-ng.hash b/package/libcap-ng/libcap-ng.hash > index f775ae6fc9..d4590dd739 100644 > --- a/package/libcap-ng/libcap-ng.hash > +++ b/package/libcap-ng/libcap-ng.hash > @@ -1,4 +1,4 @@ > # Locally calculated > -sha256 52c083b77c2b0d8449dee141f9c3eba76e6d4c5ad44ef05df25891126cb85ae9 libcap-ng-0.8.2.tar.gz > +sha256 bed6f6848e22bb2f83b5f764b2aef0ed393054e803a8e3a8711cb2a39e6b492d libcap-ng-0.8.3.tar.gz > sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING > sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB > diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk > index 4fb0cf4777..46f72c702e 100644 > --- a/package/libcap-ng/libcap-ng.mk > +++ b/package/libcap-ng/libcap-ng.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBCAP_NG_VERSION = 0.8.2 > +LIBCAP_NG_VERSION = 0.8.3 > LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng > LIBCAP_NG_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) > LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB From arnout at mind.be Mon Apr 4 17:51:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:51:19 +0200 Subject: [Buildroot] [git commit] package/libcap-ng: bump to version 0.8.3 Message-ID: <20220404175353.7A81D8123D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3d5cb653f58041dddb8063251c00d0c57c9ab50d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/stevegrubb/libcap-ng/blob/v0.8.3/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcap-ng/libcap-ng.hash | 2 +- package/libcap-ng/libcap-ng.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap-ng/libcap-ng.hash b/package/libcap-ng/libcap-ng.hash index f775ae6fc9..d4590dd739 100644 --- a/package/libcap-ng/libcap-ng.hash +++ b/package/libcap-ng/libcap-ng.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 52c083b77c2b0d8449dee141f9c3eba76e6d4c5ad44ef05df25891126cb85ae9 libcap-ng-0.8.2.tar.gz +sha256 bed6f6848e22bb2f83b5f764b2aef0ed393054e803a8e3a8711cb2a39e6b492d libcap-ng-0.8.3.tar.gz sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk index 4fb0cf4777..46f72c702e 100644 --- a/package/libcap-ng/libcap-ng.mk +++ b/package/libcap-ng/libcap-ng.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_NG_VERSION = 0.8.2 +LIBCAP_NG_VERSION = 0.8.3 LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng LIBCAP_NG_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB From arnout at mind.be Mon Apr 4 17:51:18 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:51:18 +0200 Subject: [Buildroot] [git commit] package/libostree: bump to version 2022.2 Message-ID: <20220404175353.5618E8123D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e4b62f63084907b5dd6079b2c5360016a4eb6d3c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Marcus Folkesson Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libostree/libostree.hash | 2 +- package/libostree/libostree.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libostree/libostree.hash b/package/libostree/libostree.hash index 3a06340575..4c8c2c4f10 100644 --- a/package/libostree/libostree.hash +++ b/package/libostree/libostree.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 43a00e7856842b8a34f6616fc2ce1ce238ef43210cca41f70e6b4b0d2a9fcad5 libostree-2022.1.tar.xz +sha256 76e2f5b5784d8cb686e90be32fcecbb56c6c6a824e0374a1a6820b577103676b libostree-2022.2.tar.xz sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk index 9cbf2848c9..07e0a2aaa4 100644 --- a/package/libostree/libostree.mk +++ b/package/libostree/libostree.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOSTREE_VERSION = 2022.1 +LIBOSTREE_VERSION = 2022.2 LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION) From arnout at mind.be Mon Apr 4 17:51:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:51:19 +0200 Subject: [Buildroot] [git commit] package/udpcast: fix build without pod2man Message-ID: <20220404175353.6E26B81250@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b49e3da1abf3a6c8affac08089311fc6590f54d0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master udpcast unconditionally build manpages which will raise the following build failure without pod2man since at least bump to version 20200328 in commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: sh: line 1: pod2man: command not found To fix this issue, rework how udpcast is built and installed to always build and install the sender or the receiver and never build the manpages. As a side effect, this will also avoid to install the unneeded rateGovernor.h Fixes: - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/udpcast/Config.in | 2 ++ package/udpcast/udpcast.mk | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/package/udpcast/Config.in b/package/udpcast/Config.in index ef94b30a99..cc38c6e57c 100644 --- a/package/udpcast/Config.in +++ b/package/udpcast/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_UDPCAST bool "udpcast" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UDPCAST_SENDER \ + if !BR2_PACKAGE_UDPCAST_RECEIVER help A multicast protocol implementation which happens to be very handy for imaging drives over the network. diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 34ebddd2d5..4c151bb41f 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -9,23 +9,15 @@ UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ UDPCAST_LICENSE_FILES = COPYING +UDPCAST_TARGETS = \ + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) -define UDPCAST_REMOVE_UDP_SENDER - rm -f $(TARGET_DIR)/usr/sbin/udp-sender - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 +define UDPCAST_INSTALL_TARGET_CMDS + $(foreach f,$(UDPCAST_TARGETS),\ + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) + ) endef -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER -endif - -define UDPCAST_REMOVE_UDP_RECEIVER - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 -endef - -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER -endif - $(eval $(autotools-package)) From arnout at mind.be Mon Apr 4 17:51:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:51:19 +0200 Subject: [Buildroot] [git commit] package/postgresql: fix pkg-config without openssl Message-ID: <20220404175353.62E508124D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e3b8d098e4809f4cf20d88cce3d00479da25bfa6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libdbi-drivers raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: configure: error: Package requirements (libpq) were not met: Package 'libssl', required by 'libpq', not found Package 'libcrypto', required by 'libpq', not found Fixes: - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...0001-libpq-Fix-pkg-config-without-OpenSSL.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch new file mode 100644 index 0000000000..90b0577a20 --- /dev/null +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch @@ -0,0 +1,34 @@ +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 +From: Peter Eisentraut +Date: Fri, 1 Apr 2022 17:12:56 +0200 +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL + +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. + +Author: Fabrice Fontaine +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com +[Retrieved from: +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] +Signed-off-by: Fabrice Fontaine +--- + src/interfaces/libpq/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile +index 89bf5e0126..b5fd72a4ac 100644 +--- a/src/interfaces/libpq/Makefile ++++ b/src/interfaces/libpq/Makefile +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport + + SHLIB_EXPORTS = exports.txt + ++ifeq ($(with_ssl),openssl) + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto ++endif + + all: all-lib libpq-refs-stamp + +-- +2.30.2 + From arnout at mind.be Mon Apr 4 18:12:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:12:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/liblinear: bump to version 2.44 In-Reply-To: <20220401210055.946614-1-fontaine.fabrice@gmail.com> References: <20220401210055.946614-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 23:00, Fabrice Fontaine wrote: > - Update hash of COPYRIGHT (date updated: > https://github.com/cjlin1/liblinear/commit/3d2fdc801ce45f470b1b5ed1945cb63126358485) > - Update LIBLINEAR_INSTALL_SHARED due to > https://github.com/cjlin1/liblinear/commit/42f423c023e45879c8750b468e0afe74931afe3f > - Some minor bugs are fixed: > https://github.com/cjlin1/liblinear/compare/v243...v244 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/liblinear/liblinear.hash | 4 ++-- > package/liblinear/liblinear.mk | 6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/liblinear/liblinear.hash b/package/liblinear/liblinear.hash > index a714b8bc4e..27aa4e3e87 100644 > --- a/package/liblinear/liblinear.hash > +++ b/package/liblinear/liblinear.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 02bad43d745e2796f39a08ac9d117770e71939ef06b1ee7afc6ab7909e304807 liblinear-2.43.tar.gz > -sha256 c5c91211a0edaa4c77e352f6b27a8f9c6768afe27d48176d6094905c534eacb3 COPYRIGHT > +sha256 45572b99d4eeffc3e8ad7b72c27370be867edf3523c396d8b278a2c873bfbb5c liblinear-2.44.tar.gz > +sha256 d49b7898fd9ea7c29f0478e8c409ee7c0f621533d5eca7b7912e80391dc564e3 COPYRIGHT > diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk > index 1ad734c756..c100ccc6c5 100644 > --- a/package/liblinear/liblinear.mk > +++ b/package/liblinear/liblinear.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBLINEAR_VERSION = 2.43 > +LIBLINEAR_VERSION = 2.44 > LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear > LIBLINEAR_LICENSE = BSD-3-Clause > LIBLINEAR_LICENSE_FILES = COPYRIGHT > @@ -14,8 +14,8 @@ LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) > ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) > # $1: destination directory > define LIBLINEAR_INSTALL_SHARED > - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.4 $(1)/usr/lib/liblinear.so.4 > - ln -sf liblinear.so.4 $(1)/usr/lib/liblinear.so > + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.5 $(1)/usr/lib/liblinear.so.5 > + ln -sf liblinear.so.5 $(1)/usr/lib/liblinear.so > endef > LIBLINEAR_CFLAGS += -fPIC > endif From arnout at mind.be Mon Apr 4 18:13:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:13:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgeotiff: bump to version 1.7.1 In-Reply-To: <20220401211005.1052795-1-fontaine.fabrice@gmail.com> References: <20220401211005.1052795-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 23:10, Fabrice Fontaine wrote: > Update license, "X style license" means MIT: > https://github.com/OSGeo/libgeotiff/commit/5d6619c1168845c5bd77686f01e197a82854cbf1) > > https://github.com/OSGeo/libgeotiff/releases/tag/1.7.1 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libgeotiff/libgeotiff.hash | 4 ++-- > package/libgeotiff/libgeotiff.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/libgeotiff/libgeotiff.hash b/package/libgeotiff/libgeotiff.hash > index ec9fccb492..883199501d 100644 > --- a/package/libgeotiff/libgeotiff.hash > +++ b/package/libgeotiff/libgeotiff.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e libgeotiff-1.7.0.tar.gz > -sha256 6a22340b8293c50a34ce8e95589489bd3ec65bcb8b93e61cbda3daaafe498375 LICENSE > +sha256 05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6 libgeotiff-1.7.1.tar.gz > +sha256 a822a731a7ac4ba7d8f18fa0dc29db2e68a5dcfc315b46e4a4c8956720d55d93 LICENSE > diff --git a/package/libgeotiff/libgeotiff.mk b/package/libgeotiff/libgeotiff.mk > index c49528565d..6ab60c93fc 100644 > --- a/package/libgeotiff/libgeotiff.mk > +++ b/package/libgeotiff/libgeotiff.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -LIBGEOTIFF_VERSION = 1.7.0 > +LIBGEOTIFF_VERSION = 1.7.1 > LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff > -LIBGEOTIFF_LICENSE = X11-style, public domain > +LIBGEOTIFF_LICENSE = MIT, public domain > LIBGEOTIFF_LICENSE_FILES = LICENSE > LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf > LIBGEOTIFF_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 4 18:13:24 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:13:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap: bump to version 2.63 In-Reply-To: <20220401211722.1057825-1-fontaine.fabrice@gmail.com> References: <20220401211722.1057825-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 23:17, Fabrice Fontaine wrote: > https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.6tsfgutj5dhm > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libcap/libcap.hash | 2 +- > package/libcap/libcap.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash > index 396e592c5b..2cdf92bbc1 100644 > --- a/package/libcap/libcap.hash > +++ b/package/libcap/libcap.hash > @@ -1,5 +1,5 @@ > # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc > -sha256 190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2 libcap-2.62.tar.xz > +sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz > > # Hash for license file: > sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License > diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk > index 1207995333..ed689ce503 100644 > --- a/package/libcap/libcap.mk > +++ b/package/libcap/libcap.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBCAP_VERSION = 2.62 > +LIBCAP_VERSION = 2.63 > LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 > LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz > LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause From arnout at mind.be Mon Apr 4 18:13:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:13:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnids: drop $(LIBNIDS_VERSION).tar.gz In-Reply-To: <20220401212606.1059177-1-fontaine.fabrice@gmail.com> References: <20220401212606.1059177-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 23:26, Fabrice Fontaine wrote: > Drop unneeded $(LIBNIDS_VERSION).tar.gz added by commit > f8aefa8807ecaf219b0dc7988e6bd14c70c9c761 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libnids/libnids.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libnids/libnids.mk b/package/libnids/libnids.mk > index 57e68654dc..40620eca57 100644 > --- a/package/libnids/libnids.mk > +++ b/package/libnids/libnids.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > LIBNIDS_VERSION = 1.26 > -LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION),$(LIBNIDS_VERSION).tar.gz) > +LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION)) > LIBNIDS_LICENSE = GPL-2.0 > LIBNIDS_LICENSE_FILES = COPYING > LIBNIDS_CPE_ID_VENDOR = libnids_project From arnout at mind.be Mon Apr 4 18:03:28 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:03:28 +0200 Subject: [Buildroot] [git commit] package/libgeotiff: bump to version 1.7.1 Message-ID: <20220404180428.8541881238@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a456a7d898977366ce48974ea0c312f1dd8ac748 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update license, "X style license" means MIT: https://github.com/OSGeo/libgeotiff/commit/5d6619c1168845c5bd77686f01e197a82854cbf1) https://github.com/OSGeo/libgeotiff/releases/tag/1.7.1 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libgeotiff/libgeotiff.hash | 4 ++-- package/libgeotiff/libgeotiff.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libgeotiff/libgeotiff.hash b/package/libgeotiff/libgeotiff.hash index ec9fccb492..883199501d 100644 --- a/package/libgeotiff/libgeotiff.hash +++ b/package/libgeotiff/libgeotiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e libgeotiff-1.7.0.tar.gz -sha256 6a22340b8293c50a34ce8e95589489bd3ec65bcb8b93e61cbda3daaafe498375 LICENSE +sha256 05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6 libgeotiff-1.7.1.tar.gz +sha256 a822a731a7ac4ba7d8f18fa0dc29db2e68a5dcfc315b46e4a4c8956720d55d93 LICENSE diff --git a/package/libgeotiff/libgeotiff.mk b/package/libgeotiff/libgeotiff.mk index c49528565d..6ab60c93fc 100644 --- a/package/libgeotiff/libgeotiff.mk +++ b/package/libgeotiff/libgeotiff.mk @@ -4,9 +4,9 @@ # ################################################################################ -LIBGEOTIFF_VERSION = 1.7.0 +LIBGEOTIFF_VERSION = 1.7.1 LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff -LIBGEOTIFF_LICENSE = X11-style, public domain +LIBGEOTIFF_LICENSE = MIT, public domain LIBGEOTIFF_LICENSE_FILES = LICENSE LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf LIBGEOTIFF_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 4 18:03:27 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:03:27 +0200 Subject: [Buildroot] [git commit] package/liblinear: bump to version 2.44 Message-ID: <20220404180428.792F28139D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d7b921e59ada62bee0f3c960dd50ac0838b96a70 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Update hash of COPYRIGHT (date updated: https://github.com/cjlin1/liblinear/commit/3d2fdc801ce45f470b1b5ed1945cb63126358485) - Update LIBLINEAR_INSTALL_SHARED due to https://github.com/cjlin1/liblinear/commit/42f423c023e45879c8750b468e0afe74931afe3f - Some minor bugs are fixed: https://github.com/cjlin1/liblinear/compare/v243...v244 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/liblinear/liblinear.hash | 4 ++-- package/liblinear/liblinear.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/liblinear/liblinear.hash b/package/liblinear/liblinear.hash index a714b8bc4e..27aa4e3e87 100644 --- a/package/liblinear/liblinear.hash +++ b/package/liblinear/liblinear.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 02bad43d745e2796f39a08ac9d117770e71939ef06b1ee7afc6ab7909e304807 liblinear-2.43.tar.gz -sha256 c5c91211a0edaa4c77e352f6b27a8f9c6768afe27d48176d6094905c534eacb3 COPYRIGHT +sha256 45572b99d4eeffc3e8ad7b72c27370be867edf3523c396d8b278a2c873bfbb5c liblinear-2.44.tar.gz +sha256 d49b7898fd9ea7c29f0478e8c409ee7c0f621533d5eca7b7912e80391dc564e3 COPYRIGHT diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk index 1ad734c756..c100ccc6c5 100644 --- a/package/liblinear/liblinear.mk +++ b/package/liblinear/liblinear.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBLINEAR_VERSION = 2.43 +LIBLINEAR_VERSION = 2.44 LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear LIBLINEAR_LICENSE = BSD-3-Clause LIBLINEAR_LICENSE_FILES = COPYRIGHT @@ -14,8 +14,8 @@ LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) # $1: destination directory define LIBLINEAR_INSTALL_SHARED - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.4 $(1)/usr/lib/liblinear.so.4 - ln -sf liblinear.so.4 $(1)/usr/lib/liblinear.so + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.5 $(1)/usr/lib/liblinear.so.5 + ln -sf liblinear.so.5 $(1)/usr/lib/liblinear.so endef LIBLINEAR_CFLAGS += -fPIC endif From arnout at mind.be Mon Apr 4 18:03:30 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:03:30 +0200 Subject: [Buildroot] [git commit] package/libnids: drop $(LIBNIDS_VERSION).tar.gz Message-ID: <20220404180428.9A01C813A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e67d335f0e46cf58e4040684208a1373683d8339 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop unneeded $(LIBNIDS_VERSION).tar.gz added by commit f8aefa8807ecaf219b0dc7988e6bd14c70c9c761 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libnids/libnids.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnids/libnids.mk b/package/libnids/libnids.mk index 57e68654dc..40620eca57 100644 --- a/package/libnids/libnids.mk +++ b/package/libnids/libnids.mk @@ -5,7 +5,7 @@ ################################################################################ LIBNIDS_VERSION = 1.26 -LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION),$(LIBNIDS_VERSION).tar.gz) +LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION)) LIBNIDS_LICENSE = GPL-2.0 LIBNIDS_LICENSE_FILES = COPYING LIBNIDS_CPE_ID_VENDOR = libnids_project From arnout at mind.be Mon Apr 4 18:03:29 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:03:29 +0200 Subject: [Buildroot] [git commit] package/libcap: bump to version 2.63 Message-ID: <20220404180428.8F671813A8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f982ef0b8919a15dfc5a948a86ff47bb08cb5ef branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.6tsfgutj5dhm Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcap/libcap.hash | 2 +- package/libcap/libcap.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash index 396e592c5b..2cdf92bbc1 100644 --- a/package/libcap/libcap.hash +++ b/package/libcap/libcap.hash @@ -1,5 +1,5 @@ # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2 libcap-2.62.tar.xz +sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz # Hash for license file: sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index 1207995333..ed689ce503 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_VERSION = 2.62 +LIBCAP_VERSION = 2.63 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause From arnout at mind.be Mon Apr 4 18:41:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:41:04 +0200 Subject: [Buildroot] [PATCH 1/1] toolchain/toolchain-external: ensure BR2_TOOLCHAIN_EXTERNAL_PATH is set In-Reply-To: <20220402020756.415845-1-james.hilliard1@gmail.com> References: <20220402020756.415845-1-james.hilliard1@gmail.com> Message-ID: On 02/04/2022 04:07, James Hilliard wrote: > Signed-off-by: James Hilliard > --- > toolchain/toolchain-external/pkg-toolchain-external.mk | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk > index 299b6008aa..8274ace980 100644 > --- a/toolchain/toolchain-external/pkg-toolchain-external.mk > +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk > @@ -69,6 +69,9 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) > else > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) > +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) You also need a condition on BR2_TOOLCHAIN_EXTERNAL, otherwise it will always fail with an internal toolchain. You also need a condition on BR_BUILDING, otherwise the error is printed even in situations where an invalid configuration is allowed (e.g. 'make help'). I added both to all 4 patches and applied to master, thanks. Regards, Arnout > +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) > +endif > endif > > ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) From arnout at mind.be Mon Apr 4 18:37:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:37:38 +0200 Subject: [Buildroot] [git commit] package/linux-headers: ensure tarball location is set Message-ID: <20220404183149.BD17781530@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6c5f78f8906d8b36e099ca13c257bbaba4b49374 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when required. Fixes: http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105 Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/linux-headers/linux-headers.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index a8d1c2ccaf..1102e76f0f 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -35,6 +35,11 @@ endif # BR2_KERNEL_HEADERS_AS_KERNEL # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) +ifeq ($(BR_BUILDING),y) +ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION),) +$(error No kernel headers tarball location set, check your BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION setting) +endif +endif LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))) else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y) From arnout at mind.be Mon Apr 4 18:23:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:23:16 +0200 Subject: [Buildroot] [git commit] toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set Message-ID: <20220404183149.A6BE581518@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8e91385a2cb81c5f8114354f4494230e2aebb93a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index 299b6008aa..c7f4175c9e 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,7 +69,12 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) +endif endif +endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) From arnout at mind.be Mon Apr 4 18:35:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:35:45 +0200 Subject: [Buildroot] [git commit] toolchain-external-custom: error if BR2_TOOLCHAIN_EXTERNAL_URL is not set Message-ID: <20220404183149.B22118152C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d9a9d4df2b84350f7014b33b50af120c3915f4b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../toolchain-external-custom/toolchain-external-custom.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk index c4ae6125ef..f2ec01f88c 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk +++ b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk @@ -10,6 +10,11 @@ TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERN ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) # We can't check hashes for custom downloaded toolchains BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) +ifeq ($(BR_BUILDING)$(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),) +$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting) +endif +endif endif $(eval $(toolchain-external-package)) From arnout at mind.be Mon Apr 4 18:38:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:38:48 +0200 Subject: [Buildroot] [git commit] package/linux-headers: error if headers version is not set Message-ID: <20220404183149.C907D81518@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4ff6a0587fa733ef6ebf131c095226a606c09420 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Validate that BR2_DEFAULT_KERNEL_VERSION is set when required. Fixes: http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/linux-headers/linux-headers.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index 1102e76f0f..e2a0b7a7c9 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -33,6 +33,12 @@ LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) LINUX_HEADERS_CIP = endif # BR2_KERNEL_HEADERS_AS_KERNEL +ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR_BUILDING),yy) +ifeq ($(LINUX_HEADERS_VERSION),) +$(error No kernel headers version set, check your BR2_DEFAULT_KERNEL_VERSION setting) +endif +endif + # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) ifeq ($(BR_BUILDING),y) From arnout at mind.be Mon Apr 4 18:46:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:46:39 +0200 Subject: [Buildroot] [PATCH v2,1/2] package/ipmiutil: drop dead code In-Reply-To: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> References: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> Message-ID: <6e4caa2c-f86c-8a4b-5b40-f9942e6b89de@mind.be> On 02/04/2022 10:27, Fabrice Fontaine wrote: > ipmiutil depends on dynamic library since commit > 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS > added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed > anymore > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - Keep disabling lanplus if openssl is unavailable > > package/ipmiutil/ipmiutil.mk | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk > index 4c9de26583..97a644e314 100644 > --- a/package/ipmiutil/ipmiutil.mk > +++ b/package/ipmiutil/ipmiutil.mk > @@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN > endef > IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN > > -# forgets to link against libcrypto dependencies breaking static link > -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) > +ifeq ($(BR2_PACKAGE_OPENSSL),y) > # tests against distro libcrypto so it might get a false positive when > # the openssl version is old, so force it off > # SKIP_MD2 can be used only if ALLOW_GNU is defined. From arnout at mind.be Mon Apr 4 18:46:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:46:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/quazip: bump to version 1.2 In-Reply-To: <20220402085136.1685563-1-fontaine.fabrice@gmail.com> References: <20220402085136.1685563-1-fontaine.fabrice@gmail.com> Message-ID: On 02/04/2022 10:51, Fabrice Fontaine wrote: > Update hash of COPYING which has been "clearly marked" as the definitive > license source: > https://github.com/stachenov/quazip/commit/0d1aedb0fba343a196c124541b4d6938b16cf6ee > > https://github.com/stachenov/quazip/releases/tag/v1.2 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/quazip/quazip.hash | 4 ++-- > package/quazip/quazip.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/quazip/quazip.hash b/package/quazip/quazip.hash > index 5eff5cfb3d..bcb16acdc0 100644 > --- a/package/quazip/quazip.hash > +++ b/package/quazip/quazip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 54edce9c11371762bd4f0003c2937b5d8806a2752dd9c0fd9085e90792612ad0 quazip-1.1.tar.gz > -sha256 3aab586a5bdc8ffbbf033c7106550fd3e849fd8888e33cbc9bfd30a433c4b1cb COPYING > +sha256 2dfb911d6b27545de0b98798d967c40430312377e6ade57096d6ec80c720cb61 quazip-1.2.tar.gz > +sha256 b455b21b0d31d6e51993f1fb7e0694c75fa0eb0519a9ea62e4815fcf48b140b0 COPYING > diff --git a/package/quazip/quazip.mk b/package/quazip/quazip.mk > index 44645ec9b9..7731e59d94 100644 > --- a/package/quazip/quazip.mk > +++ b/package/quazip/quazip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -QUAZIP_VERSION = 1.1 > +QUAZIP_VERSION = 1.2 > QUAZIP_SITE = $(call github,stachenov,quazip,v$(QUAZIP_VERSION)) > QUAZIP_INSTALL_STAGING = YES > QUAZIP_DEPENDENCIES = \ From arnout at mind.be Mon Apr 4 18:47:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:47:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-mediadriver: bump version to 22.3.1 In-Reply-To: <20220402143924.46610-1-bernd.kuhls@t-online.de> References: <20220402143924.46610-1-bernd.kuhls@t-online.de> Message-ID: <5453983a-0c21-d2ad-ab11-c09c27322905@mind.be> On 02/04/2022 16:39, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Are we really going to bump this package every week? :-/ Regards, Arnout > --- > package/intel-mediadriver/intel-mediadriver.hash | 2 +- > package/intel-mediadriver/intel-mediadriver.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash > index 57499830b1..5c3d25eed8 100644 > --- a/package/intel-mediadriver/intel-mediadriver.hash > +++ b/package/intel-mediadriver/intel-mediadriver.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 89940ae2f7e5c7ec182f0d4d0ce8e149ae614876edd5bdad2b852e699a29b3f9 intel-media-22.3.0.tar.gz > +sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz > sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md > diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk > index c22aeecc77..4280f7fd29 100644 > --- a/package/intel-mediadriver/intel-mediadriver.mk > +++ b/package/intel-mediadriver/intel-mediadriver.mk > @@ -6,7 +6,7 @@ > > # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack > > -INTEL_MEDIADRIVER_VERSION = 22.3.0 > +INTEL_MEDIADRIVER_VERSION = 22.3.1 > INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive > INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz > INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause From arnout at mind.be Mon Apr 4 18:48:51 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:48:51 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220402130049.453518-1-fontaine.fabrice@gmail.com> References: <20220402130049.453518-1-fontaine.fabrice@gmail.com> Message-ID: <1ea289c4-8f58-8a61-1d1f-116ab6a117ef@mind.be> On 02/04/2022 15:00, Fabrice Fontaine wrote: > Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since > the addition of the package in commit > 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and > https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b > > configure: error: --enable-static must be specified with --disable-shared > > Fixes: > - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 > > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2: > - Fix patch number Not really necessary to respin just for that... > > package/libkrb5/libkrb5.mk | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk > index d14c464b39..0553e9bdb4 100644 > --- a/package/libkrb5/libkrb5.mk > +++ b/package/libkrb5/libkrb5.mk > @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ > --without-tcl \ > --disable-rpath > > +# Enabling static and shared at the same time is not supported > +ifeq ($(BR2_SHARED_STATIC_LIBS),y) > +LIBKRB5_CONF_OPTS = --disable-static += Caught by check-package, fortunately! Regards, Arnout > +endif > + > ifeq ($(BR2_PACKAGE_OPENLDAP),y) > LIBKRB5_CONF_OPTS += --with-ldap > LIBKRB5_DEPENDENCIES += openldap From arnout at mind.be Mon Apr 4 18:41:31 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:41:31 +0200 Subject: [Buildroot] [git commit] package/ipmiutil: drop dead code Message-ID: <20220404183937.0CE35818A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cdc2a52a0fd619ee9762656c2ff8f84418a85ea1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master ipmiutil depends on dynamic library since commit 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed anymore Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ipmiutil/ipmiutil.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 4c9de26583..97a644e314 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN endef IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off # SKIP_MD2 can be used only if ALLOW_GNU is defined. From arnout at mind.be Mon Apr 4 18:41:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:41:32 +0200 Subject: [Buildroot] [git commit] package/quazip: bump to version 1.2 Message-ID: <20220404183937.212DA818C0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3204fe4b4e0e60e6b9b9f1e63559c374544f2db4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update hash of COPYING which has been "clearly marked" as the definitive license source: https://github.com/stachenov/quazip/commit/0d1aedb0fba343a196c124541b4d6938b16cf6ee https://github.com/stachenov/quazip/releases/tag/v1.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/quazip/quazip.hash | 4 ++-- package/quazip/quazip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/quazip/quazip.hash b/package/quazip/quazip.hash index 5eff5cfb3d..bcb16acdc0 100644 --- a/package/quazip/quazip.hash +++ b/package/quazip/quazip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 54edce9c11371762bd4f0003c2937b5d8806a2752dd9c0fd9085e90792612ad0 quazip-1.1.tar.gz -sha256 3aab586a5bdc8ffbbf033c7106550fd3e849fd8888e33cbc9bfd30a433c4b1cb COPYING +sha256 2dfb911d6b27545de0b98798d967c40430312377e6ade57096d6ec80c720cb61 quazip-1.2.tar.gz +sha256 b455b21b0d31d6e51993f1fb7e0694c75fa0eb0519a9ea62e4815fcf48b140b0 COPYING diff --git a/package/quazip/quazip.mk b/package/quazip/quazip.mk index 44645ec9b9..7731e59d94 100644 --- a/package/quazip/quazip.mk +++ b/package/quazip/quazip.mk @@ -4,7 +4,7 @@ # ################################################################################ -QUAZIP_VERSION = 1.1 +QUAZIP_VERSION = 1.2 QUAZIP_SITE = $(call github,stachenov,quazip,v$(QUAZIP_VERSION)) QUAZIP_INSTALL_STAGING = YES QUAZIP_DEPENDENCIES = \ From arnout at mind.be Mon Apr 4 18:41:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:41:32 +0200 Subject: [Buildroot] [git commit] package/ipmiutil: bump to version 3.1.8 Message-ID: <20220404183937.16DCE818AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6a11646968011c7209cfadb17d0714949e174f21 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop IPMIUTIL_TOUCH_CONFIG_H_IN as aclocal.m4 is not newer than config.h.in anymore https://sourceforge.net/p/ipmiutil/news/2021/11/ipmiutil-318-is-released Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ipmiutil/ipmiutil.hash | 6 +++--- package/ipmiutil/ipmiutil.mk | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/package/ipmiutil/ipmiutil.hash b/package/ipmiutil/ipmiutil.hash index f87c2762de..c1a813ad1f 100644 --- a/package/ipmiutil/ipmiutil.hash +++ b/package/ipmiutil/ipmiutil.hash @@ -1,6 +1,6 @@ # From https://sourceforge.net/projects/ipmiutil/files/ -md5 fab260bc834a0f3f9324a6365fc26eca ipmiutil-3.1.7.tar.gz -sha1 a0cd29820b15166120eb4a51e6239bfa6f9c65dd ipmiutil-3.1.7.tar.gz +md5 b38ef567b6bb8a24418e448f23115190 ipmiutil-3.1.8.tar.gz +sha1 0697fc2342c55ba4374e31dcd38e58a00d1287e8 ipmiutil-3.1.8.tar.gz # Locally computed -sha256 911fd6f8b33651b98863d57e678d2fc593bc43fcd2a21f5dc7d5db8f92128a9a ipmiutil-3.1.7.tar.gz +sha256 b14357b9723e38a19c24df2771cff63d5f15f8682cd8a5b47235044b767b1888 ipmiutil-3.1.8.tar.gz sha256 7e0ec8238aa1431e95a4950032a4483fe33fec3fac348eaade5856cdc5ae3e39 COPYING diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 97a644e314..ad9fbfc24c 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -4,19 +4,13 @@ # ################################################################################ -IPMIUTIL_VERSION = 3.1.7 +IPMIUTIL_VERSION = 3.1.8 IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files IPMIUTIL_LICENSE = BSD-3-Clause IPMIUTIL_LICENSE_FILES = COPYING IPMIUTIL_MAKE = $(MAKE1) -# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf -define IPMIUTIL_TOUCH_CONFIG_H_IN - touch $(@D)/config.h.in -endef -IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN - ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off From arnout at mind.be Mon Apr 4 18:43:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:43:45 +0200 Subject: [Buildroot] [git commit] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220404183937.2B8DF818A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d0d70761131d0f2c029e95db4c97827944684aaa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since the addition of the package in commit 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b configure: error: --enable-static must be specified with --disable-shared Fixes: - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libkrb5/libkrb5.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index d41e7559a5..f406cd9e49 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ --without-tcl \ --disable-rpath +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS += --disable-static +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) LIBKRB5_CONF_OPTS += --with-ldap LIBKRB5_DEPENDENCIES += openldap From arnout at mind.be Mon Apr 4 18:43:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:43:45 +0200 Subject: [Buildroot] [git commit] package/intel-mediadriver: bump version to 22.3.1 Message-ID: <20220404183937.34C69818AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6619214d46ea41d8f8a60b67a6737becfe1b95c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/intel-mediadriver/intel-mediadriver.hash | 2 +- package/intel-mediadriver/intel-mediadriver.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash index 57499830b1..5c3d25eed8 100644 --- a/package/intel-mediadriver/intel-mediadriver.hash +++ b/package/intel-mediadriver/intel-mediadriver.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 89940ae2f7e5c7ec182f0d4d0ce8e149ae614876edd5bdad2b852e699a29b3f9 intel-media-22.3.0.tar.gz +sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk index 3e53bc0a3d..1536e60e96 100644 --- a/package/intel-mediadriver/intel-mediadriver.mk +++ b/package/intel-mediadriver/intel-mediadriver.mk @@ -6,7 +6,7 @@ # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack -INTEL_MEDIADRIVER_VERSION = 22.3.0 +INTEL_MEDIADRIVER_VERSION = 22.3.1 INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause From peter at korsgaard.com Mon Apr 4 19:21:27 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:21:27 +0200 Subject: [Buildroot] [PATCH 1/4] package/cppcms: zlib is optional, not mandatory In-Reply-To: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 17:46:09 +0200") References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> Message-ID: <87r16cy7rc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > zlib is not mandatory since at least version 1.0.5 and > https://github.com/artyom-beilis/cppcms/commit/fc1c25f9c7af440f2fc579b150025addfa5421a5 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:21:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:21:40 +0200 Subject: [Buildroot] [PATCH 2/4] package/cppcms: libgcrypt is optional, not mandatory In-Reply-To: <20220403154612.4158174-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 17:46:10 +0200") References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> <20220403154612.4158174-2-fontaine.fabrice@gmail.com> Message-ID: <87mth0y7qz.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:22:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:22:00 +0200 Subject: [Buildroot] [PATCH 3/4] package/cppcms: add openssl optional dependency In-Reply-To: <20220403154612.4158174-3-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 17:46:11 +0200") References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> <20220403154612.4158174-3-fontaine.fabrice@gmail.com> Message-ID: <87ilroy7qf.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > openssl is an optional dependency since version 1.0.5 and > https://github.com/artyom-beilis/cppcms/commit/7cfdc9f703a35c42f7168573ffcc92eaa37e4ab6 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:16:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:16:45 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cppcms: zlib is optional, not mandatory Message-ID: <20220404191458.F153081E71@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4b191c4e8b076aee532daf6674ac10dd9390eade branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x zlib is not mandatory since at least version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/fc1c25f9c7af440f2fc579b150025addfa5421a5 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit f413bf2c641954d2202287c3858a007a24e02a6a) Signed-off-by: Peter Korsgaard --- package/cppcms/Config.in | 1 - package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 1d7635a83e..25fd93a7d0 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_CPPCMS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR - select BR2_PACKAGE_ZLIB select BR2_PACKAGE_PCRE select BR2_PACKAGE_LIBGCRYPT help diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index b289617bbc..530b44427b 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = zlib pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre libgcrypt ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF +CPPCMS_DEPENDENCIES += zlib +else +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=ON +endif + ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) # posix backend needs monetary.h which isn't available on uClibc CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on From peter at korsgaard.com Mon Apr 4 19:17:04 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:17:04 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cppcms: add openssl optional dependency Message-ID: <20220404191459.13B9881E71@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fc9c97f0026191f3bab0cc1f37675de8e826a564 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x openssl is an optional dependency since version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/7cfdc9f703a35c42f7168573ffcc92eaa37e4ab6 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 9fb9c1e8df655a8ba86f38145486d5412e44b84b) Signed-off-by: Peter Korsgaard --- package/cppcms/cppcms.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 357909f31d..c560b5d0fa 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -35,6 +35,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=OFF +CPPCMS_DEPENDENCIES += openssl +else +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib From peter at korsgaard.com Mon Apr 4 19:16:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:16:53 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cppcms: libgcrypt is optional, not mandatory Message-ID: <20220404191459.078CA81E7F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=defafdf3f80a1311d0ba0c735624497a549ec0a4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 32045a73a39904617a3c281e02ccf93ad953b5d5) Signed-off-by: Peter Korsgaard --- package/cppcms/Config.in | 2 -- package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 25fd93a7d0..6c0bff934c 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -1,12 +1,10 @@ config BR2_PACKAGE_CPPCMS bool "cppcms" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR select BR2_PACKAGE_PCRE - select BR2_PACKAGE_LIBGCRYPT help CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed for Rapid Web Application Development. It diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 530b44427b..357909f31d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=OFF +CPPCMS_DEPENDENCIES += libgcrypt +else +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib From arnout at mind.be Mon Apr 4 19:27:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:27:43 +0200 Subject: [Buildroot] [PATCH 1/1] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS In-Reply-To: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> References: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> Message-ID: <5130f261-7f5a-0b2c-d277-8028b37ce1bd@mind.be> On 02/04/2022 22:01, Fabrice Fontaine wrote: > Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid > the following build failure when GO_GOARCH is empty (e.g. on mips32) > raised since the addition of the package in commmit > ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: > > printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target > table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' > Usage: > sloci-image [options] ROOTFS NAME[:TAG] > sloci-image [-h | -V] > > Create a single-layer OCI image with the given rootfs. > > Arguments: > ROOTFS Directory or tar.gz archive with rootfs to pack into the image. > Important: Archive will be *moved* to the image, so make a copy if you > need it. Directory will be preserved. > > NAME Name of the image. > > TAG Tag for the image. Defaults to "latest". > > Options: > -m --arch ARCH CPU architecture which the binaries in this image are built to run on. > Defaults to $(uname -m). > > --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). > > -a --author NAME Name and/or email address of the person which created the image. > > -c --cmd CMD Default arguments to the entrypoint of the container. > > --debug Print debug messages (it can be also enabled with env. variable DEBUG). > > -C --entrypoint EP Arguments to use as the command to execute when the container starts. > > -e --env VAR=VAL Default environment variables for container. > > -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. > If KEY starts with a dot, it will be prefixed with > "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). > > --os OS Name of the OS which the image is built to run on. Defaults to "linux". > > -p --port PORT[/PROT] Default set of ports to expose from a container running this image in > format: /tcp, /udp, or (same as /tcp). > Aliases: --expose. > > -t --tar Pack image in a TAR archive. > > -u --user USER The username or UID of user the process run as. > > -v --volume PATH Default set of directories describing where the process is likely write > data specific to a container instance. > > -w --working-dir DIR Sets the current working directory of the entrypoint process in the > container. > > -V --version Print version and exit. > > -h --help Print this message and exit. > > Please report bugs at . > make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 > > Fixes: > - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > fs/oci/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/oci/Config.in b/fs/oci/Config.in > index 176785810a..8f36c91c8f 100644 > --- a/fs/oci/Config.in > +++ b/fs/oci/Config.in > @@ -1,5 +1,6 @@ > config BR2_TARGET_ROOTFS_OCI > bool "oci image" > + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > help > Build an OCI (Open Container Initiative) image. > From arnout at mind.be Mon Apr 4 19:28:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:28:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-greenlet: disable cpp test In-Reply-To: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> References: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> Message-ID: On 02/04/2022 23:24, Fabrice Fontaine wrote: > Disable cpp test to avoid the following build failure without C++ raised > since the addition of the package in commit > 826ef33bedc0f2f39a38622f066978cd9cc05226 and > https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: > > powerpc64-buildroot-linux-gnu-gcc.br_real: error: src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed on this system > > Fixes: > - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/python-greenlet/python-greenlet.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk > index 3b1ef7e314..72d2747970 100644 > --- a/package/python-greenlet/python-greenlet.mk > +++ b/package/python-greenlet/python-greenlet.mk > @@ -10,6 +10,7 @@ PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea > PYTHON_GREENLET_SETUP_TYPE = setuptools > PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 > PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF > +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no > > $(eval $(python-package)) > $(eval $(host-python-package)) From arnout at mind.be Mon Apr 4 19:29:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:29:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 In-Reply-To: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> References: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> Message-ID: <6f698442-f6c6-69ef-81a9-5904a258db4a@mind.be> On 03/04/2022 11:03, Fabrice Fontaine wrote: > Fix the following build failure with gcc >= 9 (and -std=c++17): > > ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications > 70 | bool file_exists(const std::string& file) throw (error); > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/cloop/cloop.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk > index f3c4954ead..6f6d5fe6a8 100644 > --- a/package/cloop/cloop.mk > +++ b/package/cloop/cloop.mk > @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib > > define HOST_CLOOP_BUILD_CMDS > $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ > - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" > + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" > endef > > define HOST_CLOOP_INSTALL_CMDS From arnout at mind.be Mon Apr 4 19:29:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:29:44 +0200 Subject: [Buildroot] [PATCH 1/2] package/python-brotli: add missing C++ comment In-Reply-To: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> References: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> Message-ID: On 03/04/2022 11:20, Fabrice Fontaine wrote: > python-brotli needs C++ since its addition in commit > 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > package/python-brotli/Config.in | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/package/python-brotli/Config.in b/package/python-brotli/Config.in > index 1c09c26866..c31315392b 100644 > --- a/package/python-brotli/Config.in > +++ b/package/python-brotli/Config.in > @@ -5,3 +5,6 @@ config BR2_PACKAGE_PYTHON_BROTLI > Python bindings for the Brotli compression library. > > https://github.com/google/brotli > + > +comment "python-brotli needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Mon Apr 4 19:30:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:30:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/minizip: bump to version 3.0.5 In-Reply-To: <20220403183503.736373-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 20:35:03 +0200") References: <20220403183503.736373-1-fontaine.fabrice@gmail.com> Message-ID: <87ee2cy7c7.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > This bump will fix the following build failure with zlib-ng thanks to > https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: > /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory > 19 | # include "zlib-ng.h" > | ^~~~~~~~~~~ > https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 > Fixes: > - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:29:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:29:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/minizip: bump to version 3.0.5 Message-ID: <20220404192116.BDDB2821B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3e36fa4c2200c63d7cae2239b5e9b82f008509b7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x This bump will fix the following build failure with zlib-ng thanks to https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory 19 | # include "zlib-ng.h" | ^~~~~~~~~~~ https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 Fixes: - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit b1d80083781f844cc70229c4a592253c9a34cbaa) Signed-off-by: Peter Korsgaard --- package/minizip/minizip.hash | 2 +- package/minizip/minizip.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash index 3e87e64dae..e73637670c 100644 --- a/package/minizip/minizip.hash +++ b/package/minizip/minizip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c minizip-3.0.4.tar.gz +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk index 07f67c1354..b9259f0c54 100644 --- a/package/minizip/minizip.mk +++ b/package/minizip/minizip.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_VERSION = 3.0.4 +MINIZIP_VERSION = 3.0.5 MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) MINIZIP_DEPENDENCIES = host-pkgconf MINIZIP_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 4 19:31:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:31:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Message-ID: <763d35af-8d12-947d-eb92-053c9f214783@mind.be> On 03/04/2022 12:03, Fabrice Fontaine wrote: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. If dhcp is not developed anymore, maybe we should say that in the help text or something. Regards, Arnout > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF From arnout at mind.be Mon Apr 4 19:32:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:32:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/flac: fix build on ppc64 In-Reply-To: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> References: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> Message-ID: <769a2f4b-6ae0-f411-599b-ce1d193531bc@mind.be> On 03/04/2022 12:31, Fabrice Fontaine wrote: > Disable vsx to avoid the following build failure on ppc64 raised since > bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af > and > https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: > > In file included from lpc_intrin_vsx.c:46: > /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support > 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support > | ^~~~~ > lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': > lpc_intrin_vsx.c:94:7: warning: implicit declaration of function 'vec_vsx_ld'; did you mean 'vec_vslh'? [-Wimplicit-function-declaration] > 94 | d0 = vec_vsx_ld(0, base); > | ^~~~~~~~~~ > | vec_vslh > > Fixes: > - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/flac/flac.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/flac/flac.mk b/package/flac/flac.mk > index 2ff048b6e6..3a18d81591 100644 > --- a/package/flac/flac.mk > +++ b/package/flac/flac.mk > @@ -20,7 +20,8 @@ FLAC_CONF_OPTS = \ > $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ > --disable-xmms-plugin \ > --disable-altivec \ > - --disable-stack-smash-protection > + --disable-stack-smash-protection \ > + --disable-vsx > > ifeq ($(BR2_PACKAGE_LIBOGG),y) > FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr From arnout at mind.be Mon Apr 4 19:20:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:43 +0200 Subject: [Buildroot] [git commit] package/cloop: fix build with gcc >= 9 Message-ID: <20220404192257.F1927825B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e147e778fc3397cd2a069c8127fa4d2cc6c0355 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc >= 9 (and -std=c++17): ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications 70 | bool file_exists(const std::string& file) throw (error); | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/cloop/cloop.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index f3c4954ead..6f6d5fe6a8 100644 --- a/package/cloop/cloop.mk +++ b/package/cloop/cloop.mk @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib define HOST_CLOOP_BUILD_CMDS $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" endef define HOST_CLOOP_INSTALL_CMDS From arnout at mind.be Mon Apr 4 19:20:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:43 +0200 Subject: [Buildroot] [git commit] package/python-brotli: add missing C++ comment Message-ID: <20220404192258.0AF458259A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dbf34f5c117c87be58e485605bbe8dec07762897 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-brotli needs C++ since its addition in commit 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-brotli/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-brotli/Config.in b/package/python-brotli/Config.in index 1c09c26866..c31315392b 100644 --- a/package/python-brotli/Config.in +++ b/package/python-brotli/Config.in @@ -5,3 +5,6 @@ config BR2_PACKAGE_PYTHON_BROTLI Python bindings for the Brotli compression library. https://github.com/google/brotli + +comment "python-brotli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 4 19:19:37 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:19:37 +0200 Subject: [Buildroot] [git commit] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS Message-ID: <20220404192257.DBA1B8259A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=efe832dbc3c8d0d2caa1e8ba0ccba8254292de6c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid the following build failure when GO_GOARCH is empty (e.g. on mips32) which leads to an empty --arch argument in the sloci-image call, raised since the addition of the package in commmit ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' Usage: sloci-image [options] ROOTFS NAME[:TAG] sloci-image [-h | -V] Create a single-layer OCI image with the given rootfs. Arguments: ROOTFS Directory or tar.gz archive with rootfs to pack into the image. Important: Archive will be *moved* to the image, so make a copy if you need it. Directory will be preserved. NAME Name of the image. TAG Tag for the image. Defaults to "latest". Options: -m --arch ARCH CPU architecture which the binaries in this image are built to run on. Defaults to $(uname -m). --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). -a --author NAME Name and/or email address of the person which created the image. -c --cmd CMD Default arguments to the entrypoint of the container. --debug Print debug messages (it can be also enabled with env. variable DEBUG). -C --entrypoint EP Arguments to use as the command to execute when the container starts. -e --env VAR=VAL Default environment variables for container. -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. If KEY starts with a dot, it will be prefixed with "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). --os OS Name of the OS which the image is built to run on. Defaults to "linux". -p --port PORT[/PROT] Default set of ports to expose from a container running this image in format: /tcp, /udp, or (same as /tcp). Aliases: --expose. -t --tar Pack image in a TAR archive. -u --user USER The username or UID of user the process run as. -v --volume PATH Default set of directories describing where the process is likely write data specific to a container instance. -w --working-dir DIR Sets the current working directory of the entrypoint process in the container. -V --version Print version and exit. -h --help Print this message and exit. Please report bugs at . make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 Fixes: - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- fs/oci/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/oci/Config.in b/fs/oci/Config.in index 176785810a..8f36c91c8f 100644 --- a/fs/oci/Config.in +++ b/fs/oci/Config.in @@ -1,5 +1,6 @@ config BR2_TARGET_ROOTFS_OCI bool "oci image" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS help Build an OCI (Open Container Initiative) image. From arnout at mind.be Mon Apr 4 19:20:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:43 +0200 Subject: [Buildroot] [git commit] package/python-greenlet: disable cpp test Message-ID: <20220404192257.E55B5825AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b91bf2dbe6dc57ca85598730617b4eaccbe7433b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable cpp test to avoid the following build failure without C++ raised since the addition of the package in commit 826ef33bedc0f2f39a38622f066978cd9cc05226 and https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: powerpc64-buildroot-linux-gnu-gcc.br_real: error: src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-greenlet/python-greenlet.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk index 3b1ef7e314..72d2747970 100644 --- a/package/python-greenlet/python-greenlet.mk +++ b/package/python-greenlet/python-greenlet.mk @@ -10,6 +10,7 @@ PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea PYTHON_GREENLET_SETUP_TYPE = setuptools PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no $(eval $(python-package)) $(eval $(host-python-package)) From arnout at mind.be Mon Apr 4 19:20:44 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:44 +0200 Subject: [Buildroot] [git commit] package/flac: fix build on ppc64 Message-ID: <20220404192258.284A6825AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5197ce5ff30d1a23b811ddddca8030f13658d7da branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable vsx to avoid the following build failure on ppc64 raised since bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af and https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: In file included from lpc_intrin_vsx.c:46: /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support | ^~~~~ lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': lpc_intrin_vsx.c:94:7: warning: implicit declaration of function 'vec_vsx_ld'; did you mean 'vec_vslh'? [-Wimplicit-function-declaration] 94 | d0 = vec_vsx_ld(0, base); | ^~~~~~~~~~ | vec_vslh Fixes: - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/flac/flac.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/flac/flac.mk b/package/flac/flac.mk index 2ff048b6e6..3a18d81591 100644 --- a/package/flac/flac.mk +++ b/package/flac/flac.mk @@ -20,7 +20,8 @@ FLAC_CONF_OPTS = \ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ --disable-xmms-plugin \ --disable-altivec \ - --disable-stack-smash-protection + --disable-stack-smash-protection \ + --disable-vsx ifeq ($(BR2_PACKAGE_LIBOGG),y) FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr From arnout at mind.be Mon Apr 4 19:20:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:43 +0200 Subject: [Buildroot] [git commit] package/python-weasyprint: needs C++ Message-ID: <20220404192258.154AB825AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fef53b2e53c0e1ee958702f7a7f2cb097d54e74f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++ dependency from python-brotli Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-weasyprint/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 4a7e5a513d..7fe99c3951 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" + depends on BR2_INSTALL_LIBSTDCPP # python-brotli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime @@ -14,3 +15,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT The Awesome Document Factory. https://www.courtbouillon.org/weasyprint + +comment "python-weasyprint needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 4 19:20:44 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:44 +0200 Subject: [Buildroot] [git commit] package/dhcp: use internal bind Message-ID: <20220404192258.1EE0D8259A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0c8dd6ebd656e06cf99a63eb93343715f4853503 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Use internal bind as dhcp doesn't build since bump of bind to version 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream doesn't plan to fix it any time soon: https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 In file included from ../includes/dhcpd.h:91, from ctrace.c:29: ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 Signed-off-by: Fabrice Fontaine Reviewed-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dhcp/Config.in | 1 - package/dhcp/dhcp.mk | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index 515040c612..e0706efafb 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP # fork() depends on BR2_USE_MMU depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_BIND help DHCP relay agent from the ISC DHCP distribution. diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 18765a3639..f1e3c22f1c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE -DHCP_DEPENDENCIES = bind host-gawk +DHCP_DEPENDENCIES = host-gawk DHCP_CPE_ID_VENDOR = isc +# internal bind does not support parallel builds. +DHCP_MAKE = $(MAKE1) # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk DHCP_CONF_OPTS = \ - --with-libbind=$(STAGING_DIR)/usr \ + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ --with-randomdev=/dev/random \ --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-relay6-pid-file=/var/run/dhcrelay6.pid +ifeq ($(BR2_PACKAGE_ZLIB),y) +DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_DEPENDENCIES += zlib +else +DHCP_BIND_EXTRA_CONFIG += --without-zlib +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DHCP_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_STATIC_LIBS),y) -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" DHCP_CONF_OPTS += --disable-libtool else DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF From peter at korsgaard.com Mon Apr 4 19:33:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:33:53 +0200 Subject: [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options In-Reply-To: <20220403163737.223577-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 18:37:36 +0200") References: <20220403163737.223577-1-fontaine.fabrice@gmail.com> Message-ID: <87a6d0y76m.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop > ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized > anymore > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:34:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:34:00 +0200 Subject: [Buildroot] [PATCH 2/2] package/libyang: disable tests In-Reply-To: <20220403163737.223577-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 18:37:37 +0200") References: <20220403163737.223577-1-fontaine.fabrice@gmail.com> <20220403163737.223577-2-fontaine.fabrice@gmail.com> Message-ID: <875ynoy76f.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Disable tests which are enabled by default in debug mode since bump to > version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and > https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0 > as they will raise the following build failure if cmocka is built before > libyang: > In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, > from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9, > from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18, > from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30, > from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15: > /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t' > 53 | typedef unsigned _Addr uintptr_t; > | ^~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:33:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:33:02 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libyang: disable tests Message-ID: <20220404192529.57E2C82195@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e86a176c9bc9621fa51dd7ad080e89720f74f161 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Disable tests which are enabled by default in debug mode since bump to version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0 as they will raise the following build failure if cmocka is built before libyang: In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t' 53 | typedef unsigned _Addr uintptr_t; | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit ea6cc91be4db390f03c81539a9ae44979fd162ea) Signed-off-by: Peter Korsgaard --- package/libyang/libyang.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 832adcb627..a097b3ee95 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,9 +15,11 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) From peter at korsgaard.com Mon Apr 4 19:32:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:32:00 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libyang: drop unrecognized options Message-ID: <20220404192529.4DECC825FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=371e42df5e3dfd87640f75f5505149e45ed28f78 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized anymore Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 58ab72bb8313aa9be90736c088fe04b199eeaea8) Signed-off-by: Peter Korsgaard --- package/libyang/libyang.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 7de9531bff..832adcb627 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF \ - -DENABLE_LYD_PRIV=ON + -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF + -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package)) From peter at korsgaard.com Mon Apr 4 19:35:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:35:44 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/xmrig: needs C++ Message-ID: <20220404192711.929AC82626@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3002bbcc4cf998179737a3e353c015e54a1dde08 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x xmrig needs C++ since its addition in commit 6f70990ccf6cb993fc31519337390e436d15493b: CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 2d806891cb0dc0fd2d30171d14bc9e911abbe76e) Signed-off-by: Peter Korsgaard --- package/xmrig/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in index 7024241017..c5c6b3e37b 100644 --- a/package/xmrig/Config.in +++ b/package/xmrig/Config.in @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG # xmrig needs fenv.h which is not provided by uclibc depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on !BR2_STATIC_LIBS # libuv + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBUV help RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. https://xmrig.com -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library" +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Mon Apr 4 19:36:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:36:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: needs C++ In-Reply-To: <20220403161751.204523-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 18:17:51 +0200") References: <20220403161751.204523-1-fontaine.fabrice@gmail.com> Message-ID: <871qycy71p.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > xmrig needs C++ since its addition in commit > 6f70990ccf6cb993fc31519337390e436d15493b: > CMake Error at CMakeLists.txt:2 (project): > No CMAKE_CXX_COMPILER could be found. > Fixes: > - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From vincent.stehle at laposte.net Mon Apr 4 19:38:20 2022 From: vincent.stehle at laposte.net (Vincent =?iso-8859-1?Q?Stehl=E9?=) Date: Mon, 4 Apr 2022 21:38:20 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> References: <20220329205136.32435-1-vincent.stehle@laposte.net> <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> Message-ID: On Sun, Apr 03, 2022 at 05:07:48PM +0200, Arnout Vandecappelle wrote: > > > On 29/03/2022 22:51, Vincent Stehl? via buildroot wrote: > > Update the qemu_xtensa_lx60_nommu_defconfig to use the > > busybox-minimal.config, to make it more consistent with the other no-MMU > > defconfigs. > > That's not a valid reason IMHO. We use the minimal busybox for boards that > are extremely tight on memory - which is often the case for noMMU boards. > But if we can spare the size, full busybox is a lot more useable. Hi Arnout, Thanks for reviewing this patch. > I've marked this patch as Rejected in patchwork, but if there's a good > reason to do this, we can always recover it. There is another incentive to using the minimal config on no-MMU platforms: it fixes the udhcpc error and repairs the network initialization. Just let me know if you want me to reword the commit message to insist more on this aspect and submit a v2. Or we can abandon it for good if you prefer. Best regards, Vincent. > > Regards, > Arnout > > > > > After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal > > config"), this has the benefit of fixing the following network > > initialization failure: > > > > udhcpc: invalid option -- b > > > > Signed-off-by: Vincent Stehl? > > Cc: Romain Naour > > Cc: Gerome Burlats > > --- > > configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig > > index c4473fb32a..44fb81bd74 100644 > > --- a/configs/qemu_xtensa_lx60_nommu_defconfig > > +++ b/configs/qemu_xtensa_lx60_nommu_defconfig > > @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ > > BR2_PACKAGE_HOST_ELF2FLT=y > > # BR2_USE_MMU is not set > > +# Use minimal busybox with hush and networking tools > > +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" > > + > > # System > > BR2_SYSTEM_DHCP="eth0" > > BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From peter at korsgaard.com Mon Apr 4 19:42:01 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:42:01 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/zlib-ng: fix build on powerpc In-Reply-To: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 22:22:02 +0200") References: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> Message-ID: <87wng4ws8m.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Handle WITH_POWER8 to fix the following build failure with powerpc and > libglib2 raised since bump to version 1.9.9-b1 in commit > 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and > https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: > /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): > in function `adler32_power8': > /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: > undefined reference to `vec_sumsu' > Fixes: > - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2 (after review of Yann E. Morin): > - Don't unconditionally disable power8 Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:40:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:40:43 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/zlib-ng: fix build on powerpc Message-ID: <20220404193241.971EA8267E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6de440a5c533b68d45614e13bba5fc296ca5d483 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Handle WITH_POWER8 to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 192dfc68c0e43d0865beb16250582b3b4e5ed178) Signed-off-by: Peter Korsgaard --- package/zlib-ng/zlib-ng.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index c56fa72d6f..19bb9a9b5e 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + $(eval $(cmake-package)) From peter at korsgaard.com Mon Apr 4 19:37:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:37:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/zlib-ng: fix build on powerpc Message-ID: <20220404193248.61BA4826C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3e490dc836ad61f46c86376a711637154065407e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Handle WITH_POWER8 to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 192dfc68c0e43d0865beb16250582b3b4e5ed178) Signed-off-by: Peter Korsgaard --- package/zlib-ng/zlib-ng.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11..938acd4181 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + $(eval $(cmake-package)) From peter at korsgaard.com Mon Apr 4 19:44:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:44:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/paho-mqtt-c: bump to version 1.3.10 In-Reply-To: <20220328202136.7182-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 28 Mar 2022 22:21:36 +0200") References: <20220328202136.7182-1-fontaine.fabrice@gmail.com> Message-ID: <87sfqsws50.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Service release. Issues resolved: > https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1 > https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.10 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Mon Apr 4 19:44:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:44:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpsl: fix build with libiconv In-Reply-To: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> References: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> Message-ID: On 03/04/2022 14:13, Fabrice Fontaine wrote: > Fix the following build failure raised since the addition of the package > in commit 47acda3a95bd4310f884e741f20785d374af7b22: > > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': > psl.c:(.text+0x1584): undefined reference to `libiconv_open' > > Fixes: > - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...dd-libiconv-dep-to-meson-build-again.patch | 60 +++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch > > diff --git a/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch > new file mode 100644 > index 0000000000..72f50aa593 > --- /dev/null > +++ b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch > @@ -0,0 +1,60 @@ > +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 > +From: Zhao Zhili > +Date: Thu, 7 Jan 2021 20:59:17 +0800 > +Subject: [PATCH] Add libiconv dep to meson build again > + > +Build success on macOS and ubuntu. > + > +[Retrieved from: > +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] > +Signed-off-by: Fabrice Fontaine > +--- > + meson.build | 14 ++++++++++++++ > + src/meson.build | 2 +- > + 2 files changed, 15 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index f248171..fb2de31 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -20,6 +20,7 @@ libicu_dep = notfound > + libidn_dep = notfound > + libunistring = notfound > + networking_deps = notfound > ++libiconv_dep = notfound > + > + # FIXME: Cleanup this when Meson gets 'feature-combo': > + # https://github.com/mesonbuild/meson/issues/4566 > +@@ -86,6 +87,19 @@ endif > + if libidn2_dep.found() or libidn_dep.found() > + # Check for libunistring, we need it for psl_str_to_utf8lower() > + libunistring = cc.find_library('unistring') > ++ found_iconv = false > ++ if cc.has_function('iconv_open') > ++ libiconv_dep = [] > ++ found_iconv = true > ++ endif > ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') > ++ libiconv_dep = [cc.find_library('iconv')] > ++ found_iconv = true > ++ endif > ++ > ++ if not found_iconv > ++ error('iconv implementation not found') > ++ endif > + endif > + > + if host_machine.system() == 'windows' > +diff --git a/src/meson.build b/src/meson.build > +index 0d1dcdf..746bf44 100644 > +--- a/src/meson.build > ++++ b/src/meson.build > +@@ -19,7 +19,7 @@ cargs = [ > + libpsl = library('psl', sources, suffixes_dafsa_h, > + include_directories : [configinc, includedir], > + c_args : cargs, > +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], > ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], > + version: lt_version, > + install: true, > + ) From arnout at mind.be Mon Apr 4 19:44:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:44:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/glib-networking: fix build with libressl In-Reply-To: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> References: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> Message-ID: <25fabd64-4752-3b3b-bfab-2d1904267f3a@mind.be> On 03/04/2022 16:00, Fabrice Fontaine wrote: > glib-networking raises the following build failure with libressl: > > ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': > ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? > 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) > | ^~~~~~~~~~~~~~ > | TLS1_2_VERSION > ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in > ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] > 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); > | ^~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/glib-networking/Config.in | 1 + > package/glib-networking/glib-networking.mk | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in > index 38cded5e6b..9c5d36af16 100644 > --- a/package/glib-networking/Config.in > +++ b/package/glib-networking/Config.in > @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING > depends on !BR2_STATIC_LIBS > select BR2_PACKAGE_LIBGLIB2 > select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS > + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS > select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS > help > Network-related GIO modules for glib. > diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk > index f74e520d31..e8905dfff4 100644 > --- a/package/glib-networking/glib-networking.mk > +++ b/package/glib-networking/glib-networking.mk > @@ -31,7 +31,7 @@ else > GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled > endif > > -ifeq ($(BR2_PACKAGE_OPENSSL),y) > +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > GLIB_NETWORKING_DEPENDENCIES += openssl > GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled > else From arnout at mind.be Mon Apr 4 19:44:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:44:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/dieharder: drop rgb_operm In-Reply-To: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> References: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> Message-ID: <3f2449ec-a032-4b2e-71ff-457808bc696e@mind.be> On 03/04/2022 22:56, Fabrice Fontaine wrote: > Fix the following build failure: > > /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to `rgb_operm' > > Fixes: > - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 > > Signed-off-by: Fabrice Fontaine > --- > .../0005-Remove-defunct-rgb_operm.patch | 732 ++++++++++++++++++ > 1 file changed, 732 insertions(+) > create mode 100644 package/dieharder/0005-Remove-defunct-rgb_operm.patch > > diff --git a/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/package/dieharder/0005-Remove-defunct-rgb_operm.patch > new file mode 100644 > index 0000000000..efc311dbaa > --- /dev/null > +++ b/package/dieharder/0005-Remove-defunct-rgb_operm.patch > @@ -0,0 +1,732 @@ > +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 > +From: =?UTF-8?q?Marcus=20M=C3=BCller?= > +Date: Mon, 12 Oct 2020 21:30:12 +0200 > +Subject: [PATCH] Remove defunct rgb_operm > + > +[Retrieved from: > +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] > +Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > +--- > + include/Makefile.am | 1 - > + include/dieharder/rgb_operm.h | 38 -- > + include/dieharder/tests.h | 2 - > + libdieharder/rgb_operm.c | 633 ---------------------------------- > + 4 files changed, 674 deletions(-) > + delete mode 100644 include/dieharder/rgb_operm.h > + delete mode 100644 libdieharder/rgb_operm.c > + > +diff --git a/include/Makefile.am b/include/Makefile.am > +index f80b4ff..e4659cd 100644 > +--- a/include/Makefile.am > ++++ b/include/Makefile.am > +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ > + dieharder/rgb_lagged_sums.h \ > + dieharder/rgb_lmn.h \ > + dieharder/rgb_minimum_distance.h \ > +- dieharder/rgb_operm.h \ > + dieharder/rgb_persist.h \ > + dieharder/rgb_permutations.h \ > + dieharder/rgb_timing.h \ > +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h > +deleted file mode 100644 > +index c48fa37..0000000 > +--- a/include/dieharder/rgb_operm.h > ++++ /dev/null > +@@ -1,38 +0,0 @@ > +-/* > +- * rgb_operm test header. > +- */ > +- > +-/* > +- * function prototype > +- */ > +-int rgb_operm(Test **test,int irun); > +- > +-static Dtest rgb_operm_dtest __attribute__((unused)) = { > +- "RGB Overlapping Permuations Test", > +- "rgb_operm", > +- "\n\ > +-#========================================================================\n\ > +-# RGB Overlapping Permutations Test\n\ > +-# Forms both the exact (expected) covariance matrix for overlapping\n\ > +-# permutations of random integer and an empirical covariance matrix\n\ > +-# formed from a long string of samples. The difference is expected\n\ > +-# to have a chisq distribution and hence can be transformed into a\n\ > +-# sample p-value. Note that this is one possible functional replacement\n\ > +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ > +-# number of numbers in the overlapping permutation window) to be varied\n\ > +-# from 2 to perhaps 8.\n\ > +-#\n", > +- 100, /* Default psamples */ > +- 100000, /* Default tsamples */ > +- 1, /* We magically make all the bit tests return a single histogram */ > +- rgb_operm, > +- 0 > +-}; > +- > +-/* > +- * Global variables. > +- * > +- * rgb_operm_k is the size of the overlapping window that is slid along > +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. > +- */ > +-unsigned int rgb_operm_k; > +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h > +index 1674aed..b50dbe3 100644 > +--- a/include/dieharder/tests.h > ++++ b/include/dieharder/tests.h > +@@ -11,7 +11,6 @@ > + #include > + #include > + #include > +-#include > + #include > + #include > + #include > +@@ -80,7 +79,6 @@ > + RGB_PERMUTATIONS, > + RGB_LAGGED_SUMS, > + RGB_LMN, > +- RGB_OPERM, > + DAB_BYTEDISTRIB, > + DAB_DCT, > + DAB_FILLTREE, > +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c > +deleted file mode 100644 > +index 15f8e9a..0000000 > +--- a/libdieharder/rgb_operm.c > ++++ /dev/null > +@@ -1,633 +0,0 @@ > +-/* > +- * ======================================================================== > +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ > +- * > +- * See copyright in copyright.h and the accompanying file COPYING > +- * ======================================================================== > +- */ > +- > +-/* > +- * ======================================================================== > +- * This is the revised Overlapping Permutations test. It directly > +- * simulates the covariance matrix of overlapping permutations. The way > +- * this works below (tentatively) is: > +- * > +- * For a bit ntuple of length N, slide a window of length N to the > +- * right one bit at a time. Compute the permutation index of the > +- * original ntuple, the permutation index of the window ntuple, and > +- * accumulate the covariance matrix of the two positions. This > +- * can be directly and precisely computed as well. The simulated > +- * result should be distributed according to the chisq distribution, > +- * so we subtract the two and feed it into the chisq program as a > +- * vector to compute p. > +- * > +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited > +- * documentation (in a program that doesn't do ANYTHING like what the > +- * documentation says it does) and from Nilpotent Markov Processes. > +- * But I confess to not quite understand how to actually perform the > +- * test in the latter -- it is very good at describing the construction > +- * of the target matrix, not so good at describing how to transform > +- * this into a chisq and p. > +- * > +- * FWIW, as I get something that actually works here, I'm going to > +- * THOROUGHLY document it in the book that will accompany the test. > +- *======================================================================== > +- */ > +- > +-#include > +-#define RGB_OPERM_KMAX 10 > +- > +-/* > +- * Some globals that will eventually go in the test include where they > +- * arguably belong. > +- */ > +-double fpipi(int pi1,int pi2,int nkp); > +-uint piperm(size_t *data,int len); > +-void make_cexact(); > +-void make_cexpt(); > +-int nperms,noperms; > +-double **cexact,**ceinv,**cexpt,**idty; > +-double *cvexact,*cvein,*cvexpt,*vidty; > +- > +-int rgb_operm(Test **test,int irun) > +-{ > +- > +- int i,j,n,nb,iv,s; > +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ > +- uint *count,ctotal; /* counters */ > +- uint size; > +- double pvalue,ntuple_prob,pbin; /* probabilities */ > +- Vtest *vtest; /* Chisq entry vector */ > +- > +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; > +- > +- /* > +- * For a given n = ntuple size in bits, there are n! bit orderings > +- */ > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#==================================================================\n"); > +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); > +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); > +- printf("# rgb_operm: ======================================================\n"); > +- } > +- > +- /* > +- * Sanity check first > +- */ > +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ > +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); > +- exit(0); > +- } > +- > +- nperms = gsl_sf_fact(rgb_operm_k); > +- noperms = gsl_sf_fact(3*rgb_operm_k-2); > +- csamples = rgb_operm_k*rgb_operm_k; > +- gsl_permutation * p = gsl_permutation_alloc(nperms); > +- > +- /* > +- * Allocate memory for value_max vector of Vtest structs and counts, > +- * PER TEST. Note that we must free both of these when we are done > +- * or leak. > +- */ > +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); > +- count = (uint *)malloc(csamples*sizeof(uint)); > +- Vtest_create(vtest,csamples+1); > +- > +- /* > +- * We have to allocate and free the cexact and cexpt matrices here > +- * or they'll be forgotten when these routines return. > +- */ > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); > +- } > +- cexact = (double **)malloc(nperms*sizeof(double*)); > +- ceinv = (double **)malloc(nperms*sizeof(double*)); > +- cexpt = (double **)malloc(nperms*sizeof(double*)); > +- idty = (double **)malloc(nperms*sizeof(double*)); > +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); > +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); > +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); > +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); > +- for(i=0;i +- /* Here we pack addresses to map the matrix addressing onto the vector */ > +- cexact[i] = &cvexact[i*nperms]; > +- ceinv[i] = &cvein[i*nperms]; > +- cexpt[i] = &cvexpt[i*nperms]; > +- idty[i] = &vidty[i*nperms]; > +- for(j = 0;j +- cexact[i][j] = 0.0; > +- ceinv[i][j] = 0.0; > +- cexpt[i][j] = 0.0; > +- idty[i][j] = 0.0; > +- } > +- } > +- > +- make_cexact(); > +- make_cexpt(); > +- > +- iv=0; > +- for(i=0;i +- for(j=0;j +- cvexact[iv] = cexact[i][j]; > +- cvexpt[iv] = cexpt[i][j]; > +- vidty[iv] = 0.0; > +- } > +- } > +- > +- CEXACT = gsl_matrix_view_array(cvexact, nperms, nperms); > +- CEINV = gsl_matrix_view_array(cvein , nperms, nperms); > +- CEXPT = gsl_matrix_view_array(cvexpt , nperms, nperms); > +- IDTY = gsl_matrix_view_array(vidty , nperms, nperms); > +- > +- /* > +- * Hmmm, looks like cexact isn't invertible. Duh. So it has eigenvalues. > +- * This seems to be important (how, I do not know) so let's find out. > +- * Here is the gsl ritual for evaluating eigenvalues etc. > +- */ > +- > +- gsl_vector *eval = gsl_vector_alloc (nperms); > +- gsl_matrix *evec = gsl_matrix_alloc (nperms,nperms); > +- /* > +- gsl_eigen_nonsymm_workspace* w = gsl_eigen_nonsymmv_alloc(nperms); > +- gsl_eigen_nonsymm_params (1,0,w); > +- gsl_eigen_nonsymmv(&CEXACT.matrix, eval, evec, w); > +- gsl_eigen_nonsymmv_free (w); > +- */ > +- gsl_eigen_symmv_workspace* w = gsl_eigen_symmv_alloc(nperms); > +- gsl_eigen_symmv(&CEXACT.matrix, eval, evec, w); > +- gsl_eigen_symmv_free (w); > +- gsl_eigen_symmv_sort (eval, evec, GSL_EIGEN_SORT_ABS_ASC); > +- > +- { > +- int i; > +- > +- printf("#==================================================================\n"); > +- for (i = 0; i < nperms; i++) { > +- double eval_i = gsl_vector_get (eval, i); > +- gsl_vector_view evec_i = gsl_matrix_column (evec, i); > +- printf ("eigenvalue[%u] = %g\n", i, eval_i); > +- printf ("eigenvector[%u] = \n",i); > +- gsl_vector_fprintf (stdout,&evec_i.vector, "%10.5f"); > +- } > +- printf("#==================================================================\n"); > +- } > +- > +- gsl_vector_free (eval); > +- gsl_matrix_free (evec); > +- > +-/* > +- gsl_linalg_LU_decomp(&CEXACT.matrix, p, &s); > +- gsl_linalg_LU_invert(&CEXACT, p, &CEINV); > +- gsl_permutation_free(p); > +- gsl_blas_dgemm(CblasNoTrans, CblasNoTrans, 1.0, &CEINV.matrix, &CEXPT.matrix, 0.0, &IDTY.matrix); > +- printf("#==================================================================\n"); > +- printf("# Should be inverse of C, assuming it is invertible:\n"); > +- for(i=0;i +- printf("# "); > +- for(j = 0;j +- printf("%8.3f ",idty[i][j]); > +- } > +- printf("\n"); > +- } > +- printf("#==================================================================\n"); > +- printf("#==================================================================\n"); > +- printf("# Should be normal on identity:\n"); > +- for(i=0;i +- printf("# "); > +- for(j = 0;j +- printf("%8.3f ",idty[i][j]); > +- } > +- printf("\n"); > +- } > +- printf("#==================================================================\n"); > +- */ > +- > +- > +- > +- /* > +- * OK, at this point we have two matrices: cexact[][] is filled with > +- * the exact covariance matrix expected for the overlapping permutations. > +- * cexpt[][] has been filled numerically by generating strings of random > +- * uints or floats, generating sort index permutations, and > +- * using them to IDENTICALLY generate an "experimental" version of c[][]. > +- * The two should correspond, in the limit of large tsamples. IF I > +- * understand Alhakim, Kawczak and Molchanov, then the way to implement > +- * the simplest possible chisq test is to evaluate: > +- * cexact^-1 cexpt \approx I > +- * where the diagonal terms should form a vector that is chisq distributed? > +- * Let's try this... > +- */ > +- > +- > +- > +- /* > +- * Free cexact[][] and cexpt[][] > +- * Fix this when we're done so we don't leak; for now to much trouble. > +- for(i=0;i +- free(cexact[i]); > +- free(cexpt[i]); > +- } > +- free(cexact); > +- free(cexpt); > +- */ > +- > +- return(0); > +- > +-} > +- > +-void make_cexact() > +-{ > +- > +- int i,j,k,ip,t,nop; > +- double fi,fj; > +- /* > +- * This is the test vector. > +- */ > +- double testv[RGB_OPERM_KMAX*2]; /* easier than malloc etc, but beware length */ > +- /* > +- * pi[] is the permutation index of a sample. ps[] holds the > +- * actual sample. > +- */ > +- size_t pi[4096],ps[4096]; > +- /* > +- * We seem to have made a mistake of sorts. We actually have to sum > +- * BOTH the forward AND the backward directions. That means that the > +- * permutation vector has to be of length 3k-1, with the pi=1 term > +- * corresponding to the middle. So for k=2, instead of 0,1,2 we need > +- * 0 1 2 3 4 and we'll have to do 23, 34 in the leading direction and > +- * 21, 10 in the trailing direction. > +- */ > +- gsl_permutation **operms; > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#==================================================================\n"); > +- printf("# rgb_operm: Running cexact()\n"); > +- } > +- > +- /* > +- * Test fpipi(). This is probably cruft, actually. > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm: Testing fpipi()\n"); > +- for(i=0;i +- for(j = 0;j +- printf("# rgb_operm: fpipi(%u,%u,%u) = %f\n",i,j,nperms,fpipi(i,j,nperms)); > +- } > +- } > +- } > +- */ > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#==================================================================\n"); > +- printf("# rgb_operm: Forming set of %u overlapping permutations\n",noperms); > +- printf("# rgb_operm: Permutations\n"); > +- printf("# rgb_operm:==============================\n"); > +- } > +- operms = (gsl_permutation**) malloc(noperms*sizeof(gsl_permutation*)); > +- for(i=0;i +- operms[i] = gsl_permutation_alloc(3*rgb_operm_k - 2); > +- /* Must quiet down > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm: "); > +- } > +- */ > +- if(i == 0){ > +- gsl_permutation_init(operms[i]); > +- } else { > +- gsl_permutation_memcpy(operms[i],operms[i-1]); > +- gsl_permutation_next(operms[i]); > +- } > +- /* > +- MYDEBUG(D_RGB_OPERM){ > +- gsl_permutation_fprintf(stdout,operms[i]," %u"); > +- printf("\n"); > +- } > +- */ > +- } > +- > +- /* > +- * We now form c_exact PRECISELY the same way that we do c_expt[][] > +- * below, except that instead of pulling random samples of integers > +- * or floats and averaging over the permutations thus represented, > +- * we iterate over the complete set of equally weighted permutations > +- * to get an exact answer. Note that we have to center on 2k-1 and > +- * go both forwards and backwards. > +- */ > +- for(t=0;t +- /* > +- * To sort into a perm, test vector needs to be double. > +- */ > +- for(k=0;k<3*rgb_operm_k - 2;k++) testv[k] = (double) operms[t]->data[k]; > +- > +- /* Not cruft, but quiet... > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#------------------------------------------------------------------\n"); > +- printf("# Generating offset sample permutation pi's\n"); > +- } > +- */ > +- for(k=0;k<2*rgb_operm_k - 1;k++){ > +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); > +- pi[k] = piperm((size_t *) ps,rgb_operm_k); > +- > +- /* Not cruft, but quiet... > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# %u: ",k); > +- for(ip=k;ip +- printf("%.1f ",testv[ip]); > +- } > +- printf("\n# "); > +- for(ip=0;ip +- printf("%u ",ps[ip]); > +- } > +- printf(" = %u\n",pi[k]); > +- } > +- */ > +- > +- } > +- > +- /* > +- * This is the business end of things. The covariance matrix is the > +- * the sum of a central function of the permutation indices that yields > +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the > +- * possible permutations, for the FIRST permutation in a sample (fi) > +- * times the sum of the same function over all the overlapping permutations > +- * drawn from the same sample. Quite simple, really. > +- */ > +- for(i=0;i +- fi = fpipi(i,pi[rgb_operm_k-1],nperms); > +- for(j=0;j +- fj = 0.0; > +- for(k=0;k +- fj += fpipi(j,pi[rgb_operm_k - 1 + k],nperms); > +- if(k != 0){ > +- fj += fpipi(j,pi[rgb_operm_k - 1 - k],nperms); > +- } > +- } > +- cexact[i][j] += fi*fj; > +- } > +- } > +- > +- } > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm:==============================\n"); > +- printf("# rgb_operm: cexact[][] = \n"); > +- } > +- for(i=0;i +- MYDEBUG(D_RGB_OPERM){ > +- printf("# "); > +- } > +- for(j=0;j +- cexact[i][j] /= noperms; > +- MYDEBUG(D_RGB_OPERM){ > +- printf("%10.6f ",cexact[i][j]); > +- } > +- } > +- MYDEBUG(D_RGB_OPERM){ > +- printf("\n"); > +- } > +- } > +- > +- /* > +- * Free operms[] > +- */ > +- for(i=0;i +- gsl_permutation_free(operms[i]); > +- } > +- free(operms); > +- > +-} > +- > +-void make_cexpt() > +-{ > +- > +- int i,j,k,ip,t; > +- double fi,fj; > +- /* > +- * This is the test vector. > +- */ > +- double testv[RGB_OPERM_KMAX*2]; /* easier than malloc etc, but beware length */ > +- /* > +- * pi[] is the permutation index of a sample. ps[] holds the > +- * actual sample. > +- */ > +- int pi[4096],ps[4096]; > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#==================================================================\n"); > +- printf("# rgb_operm: Running cexpt()\n"); > +- } > +- > +- /* > +- * We evaluate cexpt[][] by sampling. In a nutshell, this involves > +- * a) Filling testv[] with 2*rgb_operm_k - 1 random uints or doubles > +- * It clearly cannot matter which we use, as long as the probability of > +- * exact duplicates in a sample is very low. > +- * b) Using gsl_sort_index the exact same way it was used in make_cexact() > +- * to generate the pi[] index, using ps[] as scratch space for the sort > +- * indices. > +- * c) Evaluating fi and fj from the SAMPLED result, tsamples times. > +- * d) Normalizing. > +- * Note that this is pretty much identical to the way we formed c_exact[][] > +- * except that we are determining the relative frequency of each sort order > +- * permutation 2*rgb_operm_k-1 long. > +- * > +- * NOTE WELL! I honestly think that it is borderline silly to view > +- * this as a matrix and to go through all of this nonsense. The theoretical > +- * c_exact[][] is computed from the observation that all the permutations > +- * of n objects have equal weight = 1/n!. Consequently, they should > +- * individually be binomially distributed, tending to normal with many > +- * samples. Collectively they should be distributed like a vector of > +- * equal binomial probabilities and a p-value should follow either from > +- * chisq on n!-1 DoF or for that matter a KS test. I see no way that > +- * making it into a matrix can increase the sensitivity of the test -- if > +- * the p-values are well defined in the two cases they can only be equal > +- * by their very definition. > +- * > +- * If you are a statistician reading these words and disagree, please > +- * communicate with me and explain why I'm wrong. I'm still very much > +- * learning statistics and would cherish gentle correction. > +- */ > +- for(t=0;t +- /* > +- * To sort into a perm, test vector needs to be double. > +- */ > +- for(k=0;k<3*rgb_operm_k - 2;k++) testv[k] = (double) gsl_rng_get(rng); > +- > +- /* Not cruft, but quiet... > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#------------------------------------------------------------------\n"); > +- printf("# Generating offset sample permutation pi's\n"); > +- } > +- */ > +- for(k=0;k<2*rgb_operm_k-1;k++){ > +- gsl_sort_index(ps,&testv[k],1,rgb_operm_k); > +- pi[k] = piperm(ps,rgb_operm_k); > +- > +- /* Not cruft, but quiet... > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# %u: ",k); > +- for(ip=k;ip +- printf("%.1f ",testv[ip]); > +- } > +- printf("\n# "); > +- for(ip=0;ip +- printf("%u ",permsample->data[ip]); > +- } > +- printf(" = %u\n",pi[k]); > +- } > +- */ > +- } > +- > +- /* > +- * This is the business end of things. The covariance matrix is the > +- * the sum of a central function of the permutation indices that yields > +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the > +- * possible permutations, for the FIRST permutation in a sample (fi) > +- * times the sum of the same function over all the overlapping permutations > +- * drawn from the same sample. Quite simple, really. > +- */ > +- for(i=0;i +- fi = fpipi(i,pi[rgb_operm_k-1],nperms); > +- for(j=0;j +- fj = 0.0; > +- for(k=0;k +- fj += fpipi(j,pi[rgb_operm_k - 1 + k],nperms); > +- if(k != 0){ > +- fj += fpipi(j,pi[rgb_operm_k - 1 - k],nperms); > +- } > +- } > +- cexpt[i][j] += fi*fj; > +- } > +- } > +- > +- } > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm:==============================\n"); > +- printf("# rgb_operm: cexpt[][] = \n"); > +- } > +- for(i=0;i +- MYDEBUG(D_RGB_OPERM){ > +- printf("# "); > +- } > +- for(j=0;j +- cexpt[i][j] /= tsamples; > +- MYDEBUG(D_RGB_OPERM){ > +- printf("%10.6f ",cexpt[i][j]); > +- } > +- } > +- MYDEBUG(D_RGB_OPERM){ > +- printf("\n"); > +- } > +- } > +- > +-} > +- > +-uint piperm(size_t *data,int len) > +-{ > +- > +- uint i,j,k,max,min; > +- uint pindex,uret,tmp; > +- static gsl_permutation** lookup = 0; > +- > +- /* > +- * Allocate space for lookup table and fill it. > +- */ > +- if(lookup == 0){ > +- lookup = (gsl_permutation**) malloc(nperms*sizeof(gsl_permutation*)); > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm: Allocating piperm lookup table of perms.\n"); > +- } > +- for(i=0;i +- lookup[i] = gsl_permutation_alloc(rgb_operm_k); > +- } > +- for(i=0;i +- if(i == 0){ > +- gsl_permutation_init(lookup[i]); > +- } else { > +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); > +- gsl_permutation_next(lookup[i]); > +- } > +- } > +- > +- /* > +- * This method yields a mirror symmetry in the permutations top to > +- * bottom. > +- for(i=0;i +- if(i == 0){ > +- gsl_permutation_init(lookup[i]); > +- for(j=0;j +- lookup[nperms-i-1]->data[rgb_operm_k-j-1] = lookup[i]->data[j]; > +- } > +- } else { > +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); > +- gsl_permutation_next(lookup[i]); > +- for(j=0;j +- lookup[nperms-i-1]->data[rgb_operm_k-j-1] = lookup[i]->data[j]; > +- } > +- } > +- } > +- */ > +- MYDEBUG(D_RGB_OPERM){ > +- for(i=0;i +- printf("# rgb_operm: %u => ",i); > +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); > +- printf("\n"); > +- } > +- } > +- > +- } > +- > +- for(i=0;i +- if(memcmp(data,lookup[i]->data,len*sizeof(uint))==0){ > +- /* Not cruft, but off: > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# piperm(): "); > +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); > +- printf(" = %u\n",i); > +- } > +- */ > +- return(i); > +- } > +- } > +- printf("We'd better not get here...\n"); > +- > +- return(0); > +- > +-} > +- > +-double fpipi(int pi1,int pi2,int nkp) > +-{ > +- > +- int i; > +- double fret; > +- > +- /* > +- * compute the k-permutation index from iperm for the window > +- * at data[offset] of length len. If it matches pind, return > +- * the first quantity, otherwise return the second. > +- */ > +- if(pi1 == pi2){ > +- > +- fret = (double) (nkp - 1.0)/nkp; > +- if(verbose < 0){ > +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); > +- } > +- return(fret); > +- > +- } else { > +- > +- fret = (double) (-1.0/nkp); > +- if(verbose < 0){ > +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); > +- } > +- return(fret); > +- > +- } > +- > +- > +-} > +- > +- > +- > +- From peter at korsgaard.com Mon Apr 4 19:44:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:44:00 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/paho-mqtt-c: bump to version 1.3.10 Message-ID: <20220404193540.48EBC82772@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f74be7b432843d2da0ba6dc2ceea2c5dc15d60ed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Service release. Issues resolved: https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1 https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.10 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 0af793816dca4094ea6e917a1754ca5dbbce9894) Signed-off-by: Peter Korsgaard --- package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash index 4cdedfbf9a..931bf5b9c8 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.hash +++ b/package/paho-mqtt-c/paho-mqtt-c.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 386c9b5fa1cf6d0d516db12d57fd8f6a410dd0fdc5e9a2da870aae437a2535ed paho-mqtt-c-1.3.9.tar.gz +sha256 c70db96e66adacae411d5d875fbb08bca6ff9945de3d215b3af93cbd22792db5 paho-mqtt-c-1.3.10.tar.gz sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk index 68b58f2e02..d6356a7ccc 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.mk +++ b/package/paho-mqtt-c/paho-mqtt-c.mk @@ -4,7 +4,7 @@ # ################################################################################ -PAHO_MQTT_C_VERSION = 1.3.9 +PAHO_MQTT_C_VERSION = 1.3.10 PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From arnout at mind.be Mon Apr 4 19:45:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:45:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gstd: fix build with gcc 4.8 In-Reply-To: <20220403211754.2037013-1-fontaine.fabrice@gmail.com> References: <20220403211754.2037013-1-fontaine.fabrice@gmail.com> Message-ID: On 03/04/2022 23:17, Fabrice Fontaine wrote: > Fix the following build failure with gcc 4.8 raised since bump to > version 0.14.0 in commit a334b9a7668ba412cb2da79b75a019cd89985145 and > https://github.com/RidgeRun/gstd-1.x/commit/e83c94920bb33846ff0642dcf070fc5fd124e4f6: > > ../libgstd/libgstd.c: In function 'gstd_set_ipc': > ../libgstd/libgstd.c:119:5: error: 'for' loop initial declarations are only allowed in C99 mode > for (gint ipc_idx = 0; ipc_idx < num_ipcs; ipc_idx++) { > ^ > > Fixes: > - http://autobuild.buildroot.org/results/00ad1b8979000aa10a20228c998389bc913cbbd4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/gstreamer1/gstd/gstd.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/gstreamer1/gstd/gstd.mk b/package/gstreamer1/gstd/gstd.mk > index 08a29f26ff..817e9143ae 100644 > --- a/package/gstreamer1/gstd/gstd.mk > +++ b/package/gstreamer1/gstd/gstd.mk > @@ -28,6 +28,8 @@ GSTD_CONF_OPTS = \ > -Dwith-gstd-logstatedir=/var/log/gstd \ > -Dwith-gstd-systemddir=/usr/lib/systemd/system > > +GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 > + > ifeq ($(BR2_PACKAGE_SYSTEMD),y) > GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled > GSTD_DEPENDENCIES += systemd From peter at korsgaard.com Mon Apr 4 19:46:54 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:46:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: needs C++ In-Reply-To: <20220402160718.750069-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 18:07:18 +0200") References: <20220402160718.750069-1-fontaine.fabrice@gmail.com> Message-ID: <87o81gws0h.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > fluidsynth needs C++ since bump to version 2.2.0 in commit > 7e02d2e762eb94fde1f222df1b960dbd263fa946 and > https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: > CMake Error at CMakeLists.txt:32 (project): > No CMAKE_CXX_COMPILER could be found. > Fixes: > - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Mon Apr 4 19:32:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:32:35 +0200 Subject: [Buildroot] [git commit] package/libpsl: fix build with libiconv Message-ID: <20220404193732.C99F282965@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3239fb5b179d043ecfc854dd2f4962444d8b36a6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since the addition of the package in commit 47acda3a95bd4310f884e741f20785d374af7b22: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': psl.c:(.text+0x1584): undefined reference to `libiconv_open' Fixes: - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...001-Add-libiconv-dep-to-meson-build-again.patch | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch new file mode 100644 index 0000000000..72f50aa593 --- /dev/null +++ b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch @@ -0,0 +1,60 @@ +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 +From: Zhao Zhili +Date: Thu, 7 Jan 2021 20:59:17 +0800 +Subject: [PATCH] Add libiconv dep to meson build again + +Build success on macOS and ubuntu. + +[Retrieved from: +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 14 ++++++++++++++ + src/meson.build | 2 +- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f248171..fb2de31 100644 +--- a/meson.build ++++ b/meson.build +@@ -20,6 +20,7 @@ libicu_dep = notfound + libidn_dep = notfound + libunistring = notfound + networking_deps = notfound ++libiconv_dep = notfound + + # FIXME: Cleanup this when Meson gets 'feature-combo': + # https://github.com/mesonbuild/meson/issues/4566 +@@ -86,6 +87,19 @@ endif + if libidn2_dep.found() or libidn_dep.found() + # Check for libunistring, we need it for psl_str_to_utf8lower() + libunistring = cc.find_library('unistring') ++ found_iconv = false ++ if cc.has_function('iconv_open') ++ libiconv_dep = [] ++ found_iconv = true ++ endif ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') ++ libiconv_dep = [cc.find_library('iconv')] ++ found_iconv = true ++ endif ++ ++ if not found_iconv ++ error('iconv implementation not found') ++ endif + endif + + if host_machine.system() == 'windows' +diff --git a/src/meson.build b/src/meson.build +index 0d1dcdf..746bf44 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -19,7 +19,7 @@ cargs = [ + libpsl = library('psl', sources, suffixes_dafsa_h, + include_directories : [configinc, includedir], + c_args : cargs, +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], + version: lt_version, + install: true, + ) From arnout at mind.be Mon Apr 4 19:43:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:43:52 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gstd: fix build with gcc 4.8 Message-ID: <20220404193732.EADD082970@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=441bd6c4691bb514e157a1416ce926432086b1ab branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc 4.8 raised since bump to version 0.14.0 in commit a334b9a7668ba412cb2da79b75a019cd89985145 and https://github.com/RidgeRun/gstd-1.x/commit/e83c94920bb33846ff0642dcf070fc5fd124e4f6: ../libgstd/libgstd.c: In function 'gstd_set_ipc': ../libgstd/libgstd.c:119:5: error: 'for' loop initial declarations are only allowed in C99 mode for (gint ipc_idx = 0; ipc_idx < num_ipcs; ipc_idx++) { ^ Fixes: - http://autobuild.buildroot.org/results/00ad1b8979000aa10a20228c998389bc913cbbd4 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gstreamer1/gstd/gstd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gstreamer1/gstd/gstd.mk b/package/gstreamer1/gstd/gstd.mk index 08a29f26ff..817e9143ae 100644 --- a/package/gstreamer1/gstd/gstd.mk +++ b/package/gstreamer1/gstd/gstd.mk @@ -28,6 +28,8 @@ GSTD_CONF_OPTS = \ -Dwith-gstd-logstatedir=/var/log/gstd \ -Dwith-gstd-systemddir=/usr/lib/systemd/system +GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 + ifeq ($(BR2_PACKAGE_SYSTEMD),y) GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled GSTD_DEPENDENCIES += systemd From arnout at mind.be Mon Apr 4 19:42:44 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:42:44 +0200 Subject: [Buildroot] [git commit] package/glib-networking: doesn't support libressl Message-ID: <20220404193732.D3A1F82970@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e02514ad7a11c24b8fbd7a4bd57c7b4419a61505 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master glib-networking raises the following build failure with libressl: ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) | ^~~~~~~~~~~~~~ | TLS1_2_VERSION ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~ Since libressl doesn't (intend to) support post-1.0.2 openssl compatibility, this is only going to get worse. Therefore, require libopenssl. Fixes: - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/glib-networking/Config.in | 1 + package/glib-networking/glib-networking.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in index 38cded5e6b..9c5d36af16 100644 --- a/package/glib-networking/Config.in +++ b/package/glib-networking/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS help Network-related GIO modules for glib. diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index f74e520d31..e8905dfff4 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -31,7 +31,7 @@ else GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) GLIB_NETWORKING_DEPENDENCIES += openssl GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled else From arnout at mind.be Mon Apr 4 19:43:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:43:52 +0200 Subject: [Buildroot] [git commit] package/python-snappy: bump version to 0.6.1 Message-ID: <20220404193733.0096182980@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=968450adfdf1042ddcd8a0ab157dd9747ec6ee8b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Required by python-crossbar and python-autobahn[compress]. Signed-off-by: Emile Cormier Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-snappy/python-snappy.hash | 6 +++--- package/python-snappy/python-snappy.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-snappy/python-snappy.hash b/package/python-snappy/python-snappy.hash index 1e0f96054f..c4dbc72077 100644 --- a/package/python-snappy/python-snappy.hash +++ b/package/python-snappy/python-snappy.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/python-snappy/json -md5 82e09ffd44204096fc70d6de14d0ea2f python-snappy-0.5.4.tar.gz -sha256 d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2 python-snappy-0.5.4.tar.gz +md5 fc84cfa3526fba06d66f0d0b2e764300 python-snappy-0.6.1.tar.gz +sha256 b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a python-snappy-0.6.1.tar.gz # Locally computed sha256 checksums -sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE +sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE diff --git a/package/python-snappy/python-snappy.mk b/package/python-snappy/python-snappy.mk index d087c83b10..e80aa861df 100644 --- a/package/python-snappy/python-snappy.mk +++ b/package/python-snappy/python-snappy.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_SNAPPY_VERSION = 0.5.4 -PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be +PYTHON_SNAPPY_VERSION = 0.6.1 +PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/98/7a/44a24bad98335b2c72e4cadcdecf79f50197d1bab9f22f863a274f104b96 PYTHON_SNAPPY_SETUP_TYPE = setuptools PYTHON_SNAPPY_LICENSE = BSD-3-Clause PYTHON_SNAPPY_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 4 19:43:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:43:52 +0200 Subject: [Buildroot] [git commit] package/dieharder: drop rgb_operm Message-ID: <20220404193732.E0B2482965@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d0ffdb2bdd22432f6f269a43ceaf7f1e51d535b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure: /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to `rgb_operm' Fixes: - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../dieharder/0005-Remove-defunct-rgb_operm.patch | 732 +++++++++++++++++++++ 1 file changed, 732 insertions(+) diff --git a/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/package/dieharder/0005-Remove-defunct-rgb_operm.patch new file mode 100644 index 0000000000..efc311dbaa --- /dev/null +++ b/package/dieharder/0005-Remove-defunct-rgb_operm.patch @@ -0,0 +1,732 @@ +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marcus=20M=C3=BCller?= +Date: Mon, 12 Oct 2020 21:30:12 +0200 +Subject: [PATCH] Remove defunct rgb_operm + +[Retrieved from: +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] +Signed-off-by: Fabrice Fontaine +--- + include/Makefile.am | 1 - + include/dieharder/rgb_operm.h | 38 -- + include/dieharder/tests.h | 2 - + libdieharder/rgb_operm.c | 633 ---------------------------------- + 4 files changed, 674 deletions(-) + delete mode 100644 include/dieharder/rgb_operm.h + delete mode 100644 libdieharder/rgb_operm.c + +diff --git a/include/Makefile.am b/include/Makefile.am +index f80b4ff..e4659cd 100644 +--- a/include/Makefile.am ++++ b/include/Makefile.am +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ + dieharder/rgb_lagged_sums.h \ + dieharder/rgb_lmn.h \ + dieharder/rgb_minimum_distance.h \ +- dieharder/rgb_operm.h \ + dieharder/rgb_persist.h \ + dieharder/rgb_permutations.h \ + dieharder/rgb_timing.h \ +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +deleted file mode 100644 +index c48fa37..0000000 +--- a/include/dieharder/rgb_operm.h ++++ /dev/null +@@ -1,38 +0,0 @@ +-/* +- * rgb_operm test header. +- */ +- +-/* +- * function prototype +- */ +-int rgb_operm(Test **test,int irun); +- +-static Dtest rgb_operm_dtest __attribute__((unused)) = { +- "RGB Overlapping Permuations Test", +- "rgb_operm", +- "\n\ +-#========================================================================\n\ +-# RGB Overlapping Permutations Test\n\ +-# Forms both the exact (expected) covariance matrix for overlapping\n\ +-# permutations of random integer and an empirical covariance matrix\n\ +-# formed from a long string of samples. The difference is expected\n\ +-# to have a chisq distribution and hence can be transformed into a\n\ +-# sample p-value. Note that this is one possible functional replacement\n\ +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ +-# number of numbers in the overlapping permutation window) to be varied\n\ +-# from 2 to perhaps 8.\n\ +-#\n", +- 100, /* Default psamples */ +- 100000, /* Default tsamples */ +- 1, /* We magically make all the bit tests return a single histogram */ +- rgb_operm, +- 0 +-}; +- +-/* +- * Global variables. +- * +- * rgb_operm_k is the size of the overlapping window that is slid along +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. +- */ +-unsigned int rgb_operm_k; +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h +index 1674aed..b50dbe3 100644 +--- a/include/dieharder/tests.h ++++ b/include/dieharder/tests.h +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -80,7 +79,6 @@ + RGB_PERMUTATIONS, + RGB_LAGGED_SUMS, + RGB_LMN, +- RGB_OPERM, + DAB_BYTEDISTRIB, + DAB_DCT, + DAB_FILLTREE, +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c +deleted file mode 100644 +index 15f8e9a..0000000 +--- a/libdieharder/rgb_operm.c ++++ /dev/null +@@ -1,633 +0,0 @@ +-/* +- * ======================================================================== +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ +- * +- * See copyright in copyright.h and the accompanying file COPYING +- * ======================================================================== +- */ +- +-/* +- * ======================================================================== +- * This is the revised Overlapping Permutations test. It directly +- * simulates the covariance matrix of overlapping permutations. The way +- * this works below (tentatively) is: +- * +- * For a bit ntuple of length N, slide a window of length N to the +- * right one bit at a time. Compute the permutation index of the +- * original ntuple, the permutation index of the window ntuple, and +- * accumulate the covariance matrix of the two positions. This +- * can be directly and precisely computed as well. The simulated +- * result should be distributed according to the chisq distribution, +- * so we subtract the two and feed it into the chisq program as a +- * vector to compute p. +- * +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited +- * documentation (in a program that doesn't do ANYTHING like what the +- * documentation says it does) and from Nilpotent Markov Processes. +- * But I confess to not quite understand how to actually perform the +- * test in the latter -- it is very good at describing the construction +- * of the target matrix, not so good at describing how to transform +- * this into a chisq and p. +- * +- * FWIW, as I get something that actually works here, I'm going to +- * THOROUGHLY document it in the book that will accompany the test. +- *======================================================================== +- */ +- +-#include +-#define RGB_OPERM_KMAX 10 +- +-/* +- * Some globals that will eventually go in the test include where they +- * arguably belong. +- */ +-double fpipi(int pi1,int pi2,int nkp); +-uint piperm(size_t *data,int len); +-void make_cexact(); +-void make_cexpt(); +-int nperms,noperms; +-double **cexact,**ceinv,**cexpt,**idty; +-double *cvexact,*cvein,*cvexpt,*vidty; +- +-int rgb_operm(Test **test,int irun) +-{ +- +- int i,j,n,nb,iv,s; +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ +- uint *count,ctotal; /* counters */ +- uint size; +- double pvalue,ntuple_prob,pbin; /* probabilities */ +- Vtest *vtest; /* Chisq entry vector */ +- +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; +- +- /* +- * For a given n = ntuple size in bits, there are n! bit orderings +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("#==================================================================\n"); +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); +- printf("# rgb_operm: ======================================================\n"); +- } +- +- /* +- * Sanity check first +- */ +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); +- exit(0); +- } +- +- nperms = gsl_sf_fact(rgb_operm_k); +- noperms = gsl_sf_fact(3*rgb_operm_k-2); +- csamples = rgb_operm_k*rgb_operm_k; +- gsl_permutation * p = gsl_permutation_alloc(nperms); +- +- /* +- * Allocate memory for value_max vector of Vtest structs and counts, +- * PER TEST. Note that we must free both of these when we are done +- * or leak. +- */ +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); +- count = (uint *)malloc(csamples*sizeof(uint)); +- Vtest_create(vtest,csamples+1); +- +- /* +- * We have to allocate and free the cexact and cexpt matrices here +- * or they'll be forgotten when these routines return. +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); +- } +- cexact = (double **)malloc(nperms*sizeof(double*)); +- ceinv = (double **)malloc(nperms*sizeof(double*)); +- cexpt = (double **)malloc(nperms*sizeof(double*)); +- idty = (double **)malloc(nperms*sizeof(double*)); +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); +- for(i=0;idata[k]; +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("#------------------------------------------------------------------\n"); +- printf("# Generating offset sample permutation pi's\n"); +- } +- */ +- for(k=0;k<2*rgb_operm_k - 1;k++){ +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); +- pi[k] = piperm((size_t *) ps,rgb_operm_k); +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("# %u: ",k); +- for(ip=k;ipdata[ip]); +- } +- printf(" = %u\n",pi[k]); +- } +- */ +- } +- +- /* +- * This is the business end of things. The covariance matrix is the +- * the sum of a central function of the permutation indices that yields +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the +- * possible permutations, for the FIRST permutation in a sample (fi) +- * times the sum of the same function over all the overlapping permutations +- * drawn from the same sample. Quite simple, really. +- */ +- for(i=0;idata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } else { +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); +- gsl_permutation_next(lookup[i]); +- for(j=0;jdata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } +- } +- */ +- MYDEBUG(D_RGB_OPERM){ +- for(i=0;i ",i); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf("\n"); +- } +- } +- +- } +- +- for(i=0;idata,len*sizeof(uint))==0){ +- /* Not cruft, but off: +- MYDEBUG(D_RGB_OPERM){ +- printf("# piperm(): "); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf(" = %u\n",i); +- } +- */ +- return(i); +- } +- } +- printf("We'd better not get here...\n"); +- +- return(0); +- +-} +- +-double fpipi(int pi1,int pi2,int nkp) +-{ +- +- int i; +- double fret; +- +- /* +- * compute the k-permutation index from iperm for the window +- * at data[offset] of length len. If it matches pind, return +- * the first quantity, otherwise return the second. +- */ +- if(pi1 == pi2){ +- +- fret = (double) (nkp - 1.0)/nkp; +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } else { +- +- fret = (double) (-1.0/nkp); +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } +- +- +-} +- +- +- +- From arnout at mind.be Mon Apr 4 19:47:22 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:47:22 +0200 Subject: [Buildroot] [PATCH 1/6] package/python-snappy: bump version to 0.6.1 In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: On 04/04/2022 00:19, Emile Cormier wrote: > From: ecorm Meh, annoying that github does this. > > Required by python-crossbar and python-autobahn[compress]. > Signed-off-by: Emile Cormier Please make sure there's an empty line before your Signed-off-by. > --- > package/python-snappy/python-snappy.hash | 4 ++-- > package/python-snappy/python-snappy.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/python-snappy/python-snappy.hash b/package/python-snappy/python-snappy.hash > index 1e0f96054f..32df2bea48 100644 > --- a/package/python-snappy/python-snappy.hash > +++ b/package/python-snappy/python-snappy.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/python-snappy/json > -md5 82e09ffd44204096fc70d6de14d0ea2f python-snappy-0.5.4.tar.gz > -sha256 d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2 python-snappy-0.5.4.tar.gz > +md5 fc84cfa3526fba06d66f0d0b2e764300 python-snappy-0.6.1.tar.gz > +sha256 b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a python-snappy-0.6.1.tar.gz When updating a hash file, please also update the spacing to two spaces (as reported by check-package). Applied to master with all of the above fixed, thanks. Regards, Arnout > # Locally computed sha256 checksums > sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE > diff --git a/package/python-snappy/python-snappy.mk b/package/python-snappy/python-snappy.mk > index d087c83b10..e80aa861df 100644 > --- a/package/python-snappy/python-snappy.mk > +++ b/package/python-snappy/python-snappy.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -PYTHON_SNAPPY_VERSION = 0.5.4 > -PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be > +PYTHON_SNAPPY_VERSION = 0.6.1 > +PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/98/7a/44a24bad98335b2c72e4cadcdecf79f50197d1bab9f22f863a274f104b96 > PYTHON_SNAPPY_SETUP_TYPE = setuptools > PYTHON_SNAPPY_LICENSE = BSD-3-Clause > PYTHON_SNAPPY_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 19:46:41 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:46:41 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/fluidsynth: needs C++ Message-ID: <20220404193844.95069829FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=81317c9ee54bf464b89765afa9808f7ecb4db6b2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x fluidsynth needs C++ since bump to version 2.2.0 in commit 7e02d2e762eb94fde1f222df1b960dbd263fa946 and https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 2eeb66a82b2dc5696cb1b9b9e9a1f0df1e7b1647) Signed-off-by: Peter Korsgaard --- package/fluidsynth/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in index 5726e235e4..376419ce8f 100644 --- a/package/fluidsynth/Config.in +++ b/package/fluidsynth/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUIDSYNTH # the .pc file installed by fluidsynth does not mention its # indirect dependencies in Libs.private. depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBGLIB2 help FluidSynth is a real-time software synthesizer based on the @@ -128,7 +129,7 @@ config BR2_PACKAGE_FLUIDSYNTH_READLINE endif # BR2_PACKAGE_FLUIDSYNTH -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From yann.morin.1998 at free.fr Mon Apr 4 19:55:03 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 4 Apr 2022 21:55:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Message-ID: <20220404195503.GG2354230@scaer> Fabrice, All, On 2022-04-03 12:03 +0200, Fabrice Fontaine spake thusly: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 That config still does not build for me even with this patch: >>> dhcp 4.4.2-P1 Building PATH="/home/ymorin/dev/buildroot/O/host/bin:/home/ymorin/dev/buildroot/O/host/sbin:/home/ymorin/bin:/home/ymorin/bin:/opt/mutt/bin:/opt/containerd/bin:/home/ymorin/bin:/home/ymorin/bin:/opt/mutt/bin:/opt/containerd/bin:/home/ymorin/bin:/home/ymorin/bin:/opt/mutt/bin:/opt/containerd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j1 -C /home/ymorin/dev/buildroot/O/build/dhcp-4.4.2-P1/ Making all in ./bind Configuring BIND libraries for DHCP. configure: WARNING: using cross tools not prefixed with host triplet configure: error: include/zlib.h not found. make[3]: *** [Makefile:42: bind1] Error 1 make[2]: *** [Makefile:495: all-recursive] Error 1 make[1]: *** [package/pkg-generic.mk:292: /home/ymorin/dev/buildroot/O/build/dhcp-4.4.2-P1/.stamp_built] Error 2 make: *** [Makefile:23: _all] Error 2 Regards, Yann E. MORIN. > Signed-off-by: Fabrice Fontaine > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Mon Apr 4 20:13:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:13:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/protobuf: add additional supported host architectures In-Reply-To: <20220404014252.566711-1-james.hilliard1@gmail.com> References: <20220404014252.566711-1-james.hilliard1@gmail.com> Message-ID: <018d65ff-6857-ec13-1f14-bb99a0b86371@mind.be> On 04/04/2022 03:42, James Hilliard wrote: > Move supported host architectures under > BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS and propagate the reverse > dependency. > > Add additional supported host architectures based on current > src/google/protobuf/stubs/platform_macros.h > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/collectd/Config.in | 6 +++--- > package/kismet/Config.in | 4 ++-- > package/protobuf-c/Config.in | 4 ++-- > package/protobuf/Config.in | 16 +++++++++++++++- > package/python-protobuf/Config.in | 2 +- > package/riemann-c-client/Config.in | 4 ++-- > 6 files changed, 25 insertions(+), 11 deletions(-) > > diff --git a/package/collectd/Config.in b/package/collectd/Config.in > index 67413ffde0..43eef3bf66 100644 > --- a/package/collectd/Config.in > +++ b/package/collectd/Config.in > @@ -725,7 +725,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN > bool "riemann" > # riemann-c-client -> protobuf-c > depends on BR2_INSTALL_LIBSTDCPP > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > select BR2_PACKAGE_RIEMANN_C_CLIENT > select BR2_PACKAGE_LIBTOOL > help > @@ -759,7 +759,7 @@ config BR2_PACKAGE_COLLECTD_WRITELOG > config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS > bool "write_prometheus" > depends on BR2_INSTALL_LIBSTDCPP # protobuf-c > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > select BR2_PACKAGE_LIBMICROHTTPD > select BR2_PACKAGE_PROTOBUF_C > help > @@ -768,7 +768,7 @@ config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS > > comment "write_prometheus needs a toolchain w/ C++" > depends on !BR2_INSTALL_LIBSTDCPP > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > > config BR2_PACKAGE_COLLECTD_WRITEREDIS > bool "write_redis" > diff --git a/package/kismet/Config.in b/package/kismet/Config.in > index 961d5f230e..7bde6c92af 100644 > --- a/package/kismet/Config.in > +++ b/package/kismet/Config.in > @@ -3,14 +3,14 @@ comment "kismet needs a toolchain w/ threads, C++, gcc >= 5" > depends on !BR2_INSTALL_LIBSTDCPP || \ > !BR2_TOOLCHAIN_HAS_THREADS || \ > !BR2_TOOLCHAIN_GCC_AT_LEAST_5 > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > > config BR2_PACKAGE_KISMET > bool "kismet" > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_TOOLCHAIN_HAS_THREADS > depends on BR2_USE_MMU # fork() > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 > select BR2_PACKAGE_LIBPCAP > select BR2_PACKAGE_PROTOBUF_C > diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in > index a32e6cd9e8..d96cd7b382 100644 > --- a/package/protobuf-c/Config.in > +++ b/package/protobuf-c/Config.in > @@ -3,7 +3,7 @@ config BR2_PACKAGE_PROTOBUF_C > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_TOOLCHAIN_HAS_THREADS > # host-protobuf only builds on certain architectures > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > help > Code generator and runtime libraries to use Protocol Buffers > from pure C (not C++). > @@ -12,4 +12,4 @@ config BR2_PACKAGE_PROTOBUF_C > > comment "protobuf-c needs a toolchain w/ C++, threads" > depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in > index 46c820b9cf..47e987fa2b 100644 > --- a/package/protobuf/Config.in > +++ b/package/protobuf/Config.in > @@ -14,6 +14,20 @@ > # and we can live with requiring gcc 4.8 on PowerPC to build protobuf. > # > # host-protobuf only builds on certain architectures > +config BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > + bool > + default y if BR2_HOSTARCH = "aarch64" > + default y if BR2_HOSTARCH = "arm" > + default y if BR2_HOSTARCH = "mips" > + default y if BR2_HOSTARCH = "mipsel" > + default y if BR2_HOSTARCH = "powerpc" > + default y if BR2_HOSTARCH = "powerpc64" > + default y if BR2_HOSTARCH = "powerpc64le" > + default y if BR2_HOSTARCH = "sparc" > + default y if BR2_HOSTARCH = "sparc64" > + default y if BR2_HOSTARCH = "x86" > + default y if BR2_HOSTARCH = "x86_64" > + > config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > bool > default y if BR2_arm > @@ -22,7 +36,7 @@ config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > default y if BR2_x86_64 > default y if BR2_sparc64 > default y if BR2_TOOLCHAIN_HAS_ATOMIC > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > depends on BR2_USE_MMU # fork() > > config BR2_PACKAGE_PROTOBUF > diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in > index 1af82112b4..7de463520d 100644 > --- a/package/python-protobuf/Config.in > +++ b/package/python-protobuf/Config.in > @@ -1,7 +1,7 @@ > config BR2_PACKAGE_PYTHON_PROTOBUF > bool "python-protobuf" > # host-protobuf only builds on certain architectures > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > select BR2_PACKAGE_PYTHON_SIX # runtime > help > Python implementation of the Google Protocol Buffers. > diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in > index e9982b2fb0..6c3c35caf8 100644 > --- a/package/riemann-c-client/Config.in > +++ b/package/riemann-c-client/Config.in > @@ -2,7 +2,7 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT > bool "riemann-c-client" > depends on BR2_INSTALL_LIBSTDCPP # protobuf-c > depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > select BR2_PACKAGE_PROTOBUF_C > help > Riemann-c-client is a C client library for the Riemann > @@ -14,4 +14,4 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT > > comment "riemann-c-client needs a toolchain w/ C++, threads" > depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS From arnout at mind.be Mon Apr 4 20:15:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:15:58 +0200 Subject: [Buildroot] [PATCH 1/1] configs/licheepi_zero: bump uboot custom version to 2022.01 In-Reply-To: <20220404062743.9199-1-scritchlow@bioshall.co.uk> References: <20220404062743.9199-1-scritchlow@bioshall.co.uk> Message-ID: <16ed1f4b-54e8-9048-13a9-f265c599dfcb@mind.be> On 04/04/2022 08:27, scritchlow at bioshall.co.uk wrote: > From: Steve Critchlow > > This also removes the dependency to have Python2 installed. > > Signed-off-by: Steve Critchlow Applied to master, thanks. Regards, Arnout > --- > configs/licheepi_zero_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig > index 2e1a413988..d7a281a0a0 100644 > --- a/configs/licheepi_zero_defconfig > +++ b/configs/licheepi_zero_defconfig > @@ -36,7 +36,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="LicheePi_Zero" > BR2_TARGET_UBOOT_NEEDS_DTC=y > BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y From arnout at mind.be Mon Apr 4 20:16:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:16:16 +0200 Subject: [Buildroot] [PATCH v1] package/util-linux: bump version to 2.38 In-Reply-To: <20220404071229.18768-1-ps.report@gmx.net> References: <20220404071229.18768-1-ps.report@gmx.net> Message-ID: On 04/04/2022 09:12, Peter Seiderer wrote: > - remove 0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > (from upstream [3]) > > - remove 0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > (from upstream [4]) > > - handle new lsfd option > - handle new ipcmk option > > For details see [1] and [2]. > > [1] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ChangeLog > [2] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes > [3] https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c > [4] https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6 > > Signed-off-by: Peter Seiderer Applied to master, thanks. Regards, Arnout > --- > ...nclude-c-h-to-cover-restrict-keyword.patch | 30 ---- > ...cache-as-probed-if-sys-not-available.patch | 141 ------------------ > package/util-linux/Config.in | 12 ++ > ...nclude-c-h-to-cover-restrict-keyword.patch | 1 - > ...cache-as-probed-if-sys-not-available.patch | 1 - > package/util-linux/util-linux.hash | 4 +- > package/util-linux/util-linux.mk | 8 +- > 7 files changed, 20 insertions(+), 177 deletions(-) > delete mode 100644 package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > delete mode 100644 package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > delete mode 120000 package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > delete mode 120000 package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > > diff --git a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > deleted file mode 100644 > index 3b4f510920..0000000000 > --- a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > +++ /dev/null > @@ -1,30 +0,0 @@ > -From 5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c Mon Sep 17 00:00:00 2001 > -From: Karel Zak > -Date: Thu, 5 Aug 2021 09:46:21 +0200 > -Subject: libuuid: include c.h to cover restrict keyword > - > -References: https://github.com/karelzak/util-linux/issues/1405 > -Signed-off-by: Karel Zak > - > -[Retrieved from: > -https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c] > -Signed-off-by: Fabrice Fontaine > ---- > - libuuid/src/unparse.c | 1 + > - 1 file changed, 1 insertion(+) > - > -diff --git a/libuuid/src/unparse.c b/libuuid/src/unparse.c > -index f9a5e4315..ffeed2ed6 100644 > ---- a/libuuid/src/unparse.c > -+++ b/libuuid/src/unparse.c > -@@ -33,6 +33,7 @@ > - */ > - > - #include > -+#include "c.h" > - > - #include "uuidP.h" > - > --- > -cgit 1.2.3-1.el7 > - > diff --git a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > deleted file mode 100644 > index bfc8f60834..0000000000 > --- a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > +++ /dev/null > @@ -1,141 +0,0 @@ > -From 84d38ae3eca523ef990cb848563cc63de25266e6 Mon Sep 17 00:00:00 2001 > -From: Karel Zak > -Date: Fri, 19 Nov 2021 14:19:03 +0100 > -Subject: [PATCH] libblkid: don't mark cache as "probed" if /sys not available > - > -For "mount --all" we need to read the cache more than once in a short > -time. The library checks the delay between probes, and if the delay is > -too short, it does not read devices. This is a problem on boot when there > -are no /sys, and the cache is empty. In this case, we need to check > -for /sys until it's available constantly. > - > -https://github.com/util-linux/util-linux/issues/1492 > -Signed-off-by: Karel Zak > - > -[Retrieved from: > -https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6] > -Signed-off-by: Fabrice Fontaine > ---- > - libblkid/src/devname.c | 26 +++++++++++++++++--------- > - libblkid/src/resolve.c | 2 +- > - libblkid/src/tag.c | 8 +++++--- > - 3 files changed, 23 insertions(+), 13 deletions(-) > - > -diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c > -index 90a8245fc9..9a173e3489 100644 > ---- a/libblkid/src/devname.c > -+++ b/libblkid/src/devname.c > -@@ -429,6 +429,8 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) > - if (!sysfs) > - return -BLKID_ERR_SYSFS; > - > -+ DBG(DEVNAME, ul_debug(" probe /sys/block")); > -+ > - /* scan /sys/block */ > - while ((dev = xreaddir(sysfs))) { > - DIR *dir = NULL; > -@@ -533,14 +535,18 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) > - /* > - * Read the device data for all available block devices in the system. > - */ > --static int probe_all(blkid_cache cache, int only_if_new) > -+static int probe_all(blkid_cache cache, int only_if_new, int update_interval) > - { > -+ int rc; > -+ > - if (!cache) > - return -BLKID_ERR_PARAM; > - > - if (cache->bic_flags & BLKID_BIC_FL_PROBED && > -- time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) > -+ time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) { > -+ DBG(PROBE, ul_debug("don't re-probe [delay < %d]", BLKID_PROBE_INTERVAL)); > - return 0; > -+ } > - > - blkid_read_cache(cache); > - #ifdef VG_DIR > -@@ -548,7 +554,13 @@ static int probe_all(blkid_cache cache, int only_if_new) > - #endif > - ubi_probe_all(cache, only_if_new); > - > -- sysfs_probe_all(cache, only_if_new, 0); > -+ rc = sysfs_probe_all(cache, only_if_new, 0); > -+ > -+ /* Don't mark the change as "probed" if /sys not avalable */ > -+ if (update_interval && rc == 0) { > -+ cache->bic_time = time(NULL); > -+ cache->bic_flags |= BLKID_BIC_FL_PROBED; > -+ } > - > - blkid_flush_cache(cache); > - return 0; > -@@ -567,11 +579,7 @@ int blkid_probe_all(blkid_cache cache) > - int ret; > - > - DBG(PROBE, ul_debug("Begin blkid_probe_all()")); > -- ret = probe_all(cache, 0); > -- if (ret == 0) { > -- cache->bic_time = time(NULL); > -- cache->bic_flags |= BLKID_BIC_FL_PROBED; > -- } > -+ ret = probe_all(cache, 0, 1); > - DBG(PROBE, ul_debug("End blkid_probe_all() [rc=%d]", ret)); > - return ret; > - } > -@@ -589,7 +597,7 @@ int blkid_probe_all_new(blkid_cache cache) > - int ret; > - > - DBG(PROBE, ul_debug("Begin blkid_probe_all_new()")); > -- ret = probe_all(cache, 1); > -+ ret = probe_all(cache, 1, 0); > - DBG(PROBE, ul_debug("End blkid_probe_all_new() [rc=%d]", ret)); > - return ret; > - } > -diff --git a/libblkid/src/resolve.c b/libblkid/src/resolve.c > -index 641b022860..16653fa8e1 100644 > ---- a/libblkid/src/resolve.c > -+++ b/libblkid/src/resolve.c > -@@ -32,7 +32,7 @@ char *blkid_get_tag_value(blkid_cache cache, const char *tagname, > - blkid_cache c = cache; > - char *ret = NULL; > - > -- DBG(TAG, ul_debug("looking for %s on %s", tagname, devname)); > -+ DBG(TAG, ul_debug("looking for tag %s on %s device", tagname, devname)); > - > - if (!devname) > - return NULL; > -diff --git a/libblkid/src/tag.c b/libblkid/src/tag.c > -index 390a648648..178336505f 100644 > ---- a/libblkid/src/tag.c > -+++ b/libblkid/src/tag.c > -@@ -326,14 +326,14 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, > - blkid_dev dev; > - int pri; > - struct list_head *p; > -- int probe_new = 0; > -+ int probe_new = 0, probe_all = 0; > - > - if (!cache || !type || !value) > - return NULL; > - > - blkid_read_cache(cache); > - > -- DBG(TAG, ul_debug("looking for %s=%s in cache", type, value)); > -+ DBG(TAG, ul_debug("looking for tag %s=%s in cache", type, value)); > - > - try_again: > - pri = -1; > -@@ -366,9 +366,11 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, > - goto try_again; > - } > - > -- if (!dev && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { > -+ if (!dev && !probe_all > -+ && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { > - if (blkid_probe_all(cache) < 0) > - return NULL; > -+ probe_all++; > - goto try_again; > - } > - return dev; > diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in > index 9e9b8933e5..d3c0070160 100644 > --- a/package/util-linux/Config.in > +++ b/package/util-linux/Config.in > @@ -146,6 +146,11 @@ config BR2_PACKAGE_UTIL_LINUX_HWCLOCK > help > Query or set the hardware clock (RTC) > > +config BR2_PACKAGE_UTIL_LINUX_IPCMK > + bool "ipcmk" > + help > + Make various IPC resources > + > config BR2_PACKAGE_UTIL_LINUX_IPCRM > bool "ipcrm" > help > @@ -198,6 +203,13 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP > help > Set up and control loop devices > > +config BR2_PACKAGE_UTIL_LINUX_LSFD > + bool "lsfd" > + depends on BR2_USE_MMU # libsmartcols > + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS > + help > + List file descriptors (modern replacement for lsof) > + > config BR2_PACKAGE_UTIL_LINUX_LSLOGINS > bool "lslogins" > depends on BR2_USE_MMU # libsmartcols > diff --git a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > deleted file mode 120000 > index beecc3a48f..0000000000 > --- a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > +++ /dev/null > @@ -1 +0,0 @@ > -../0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > \ No newline at end of file > diff --git a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > deleted file mode 120000 > index 2f3c482144..0000000000 > --- a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > +++ /dev/null > @@ -1 +0,0 @@ > -../0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > \ No newline at end of file > diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash > index 748a36e0be..6f1bb74ecb 100644 > --- a/package/util-linux/util-linux.hash > +++ b/package/util-linux/util-linux.hash > @@ -1,5 +1,5 @@ > -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc > -sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz > +# From https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/sha256sums.asc > +sha256 6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64 util-linux-2.38.tar.xz > # License files, locally calculated > sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing > sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause > diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk > index 891c17d1d9..9d9b61d8f5 100644 > --- a/package/util-linux/util-linux.mk > +++ b/package/util-linux/util-linux.mk > @@ -7,8 +7,8 @@ > # When making changes to this file, please check if > # util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. > > -UTIL_LINUX_VERSION_MAJOR = 2.37 > -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4 > +UTIL_LINUX_VERSION_MAJOR = 2.38 > +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR) > UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz > UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) > > @@ -140,6 +140,7 @@ UTIL_LINUX_CONF_OPTS += \ > $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_HARDLINK),--enable-hardlink,--disable-hardlink) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_HWCLOCK),--enable-hwclock --disable-hwclock-gplv3,--disable-hwclock) \ > + $(if $(BR2_PACKAGE_UTIL_LINUX_IPCMK),--enable-ipcmk,--disable-ipcmk) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ > @@ -153,6 +154,7 @@ UTIL_LINUX_CONF_OPTS += \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LOGGER),--enable-logger,--disable-logger) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN),--enable-login,--disable-login) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ > + $(if $(BR2_PACKAGE_UTIL_LINUX_LSFD),--enable-lsfd,--disable-lsfd) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LSLOGINS),--enable-lslogins,--disable-lslogins) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LSMEM),--enable-lsmem,--disable-lsmem) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ > @@ -214,7 +216,9 @@ HOST_UTIL_LINUX_CONF_OPTS += \ > --disable-agetty \ > --disable-chfn-chsh \ > --disable-chmem \ > + --disable-ipcmk \ > --disable-login \ > + --disable-lsfd \ > --disable-lslogins \ > --disable-mesg \ > --disable-more \ From arnout at mind.be Mon Apr 4 20:17:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:17:14 +0200 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc In-Reply-To: <20220404091256.683581-1-joel@jms.id.au> References: <20220404091256.683581-1-joel@jms.id.au> Message-ID: <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> On 04/04/2022 11:12, Joel Stanley wrote: > Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the Peter just backported this one to 2022.02.x... > Power8 optimisations off to fix a build issue. Instead apply a patch > from the develop branch upstream to fix the issue. > > This patch is not yet in a released version of zlib-ng. > > Signed-off-by: Joel Stanley Applied to master, thanks. Regards, Arnout > --- > ...rd-for-vec_sumsu-to-prevent-undefine.patch | 27 +++++++++++++++++++ > package/zlib-ng/zlib-ng.mk | 6 ----- > 2 files changed, 27 insertions(+), 6 deletions(-) > create mode 100644 package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > > diff --git a/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > new file mode 100644 > index 000000000000..cc103215de3c > --- /dev/null > +++ b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > @@ -0,0 +1,27 @@ > +From 677f56825f7080403e18e57ffe8177f3df290f20 Mon Sep 17 00:00:00 2001 > +From: Nathan Moinvaziri > +Date: Sun, 23 Jan 2022 12:59:01 -0800 > +Subject: [PATCH] Use static keyword for vec_sumsu to prevent undefined > + reference error when g++ linking. > + > +Signed-off-by: Joel Stanley > +--- > + arch/power/adler32_power8.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/arch/power/adler32_power8.c b/arch/power/adler32_power8.c > +index 029aa3a84c57..fc4086322efc 100644 > +--- a/arch/power/adler32_power8.c > ++++ b/arch/power/adler32_power8.c > +@@ -44,7 +44,7 @@ > + #include "adler32_p.h" > + > + /* Vector across sum unsigned int (saturate). */ > +-inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { > ++static inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { > + __b = vec_sld(__a, __a, 8); > + __b = vec_add(__b, __a); > + __a = vec_sld(__b, __b, 4); > +-- > +2.35.1 > + > diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > index 938acd4181a6..fb497b8c11d0 100644 > --- a/package/zlib-ng/zlib-ng.mk > +++ b/package/zlib-ng/zlib-ng.mk > @@ -23,10 +23,4 @@ ifeq ($(BR2_arm),y) > ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 > endif > > -ifeq ($(BR2_powerpc_power8),y) > -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON > -else > -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF > -endif > - > $(eval $(cmake-package)) From arnout at mind.be Mon Apr 4 20:17:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:17:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/libp11: fix build with libressl In-Reply-To: <20220404162248.325842-1-fontaine.fabrice@gmail.com> References: <20220404162248.325842-1-fontaine.fabrice@gmail.com> Message-ID: On 04/04/2022 18:22, Fabrice Fontaine wrote: > Fix the following build failure with libressl: > > p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration > 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) > | ^~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libp11/0001-Update-wp11_rsa.c.patch | 26 +++++++++++++++++++++ > package/libp11/libp11.mk | 8 ++++++- > 2 files changed, 33 insertions(+), 1 deletion(-) > create mode 100644 package/libp11/0001-Update-wp11_rsa.c.patch > > diff --git a/package/libp11/0001-Update-wp11_rsa.c.patch b/package/libp11/0001-Update-wp11_rsa.c.patch > new file mode 100644 > index 0000000000..0a2d6e65ce > --- /dev/null > +++ b/package/libp11/0001-Update-wp11_rsa.c.patch > @@ -0,0 +1,26 @@ > +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 > +From: patchMonkey156 > +Date: Mon, 19 Oct 2020 17:12:15 -0400 > +Subject: [PATCH] Update p11_rsa.c > + > +Bugfix for new LibreSSL version 3.2.2 > +[Retrieved from: > +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] > +Signed-off-by: Fabrice Fontaine > +--- > + src/p11_rsa.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/p11_rsa.c b/src/p11_rsa.c > +index b6beef0..ff12ed7 100644 > +--- a/src/p11_rsa.c > ++++ b/src/p11_rsa.c > +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) > + return RSA_size(rsa); > + } > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) > ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) > + > + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) > + (int flen, const unsigned char *from, > diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk > index 45a718ee99..c1873a920c 100644 > --- a/package/libp11/libp11.mk > +++ b/package/libp11/libp11.mk > @@ -11,10 +11,16 @@ LIBP11_INSTALL_STAGING = YES > LIBP11_LICENSE = LGPL-2.1+ > LIBP11_LICENSE_FILES = COPYING > > +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > +LIBP11_ENGINESDIR = enginesdir > +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) > +LIBP11_ENGINESDIR = libdir > +endif > + > # pkg-config returns a libcrypto enginesdir prefixed with the sysroot, > # so let's rip it out. > LIBP11_CONF_OPTS = \ > - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` > + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` > > ifeq ($(BR2_PACKAGE_P11_KIT),y) > LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so From arnout at mind.be Mon Apr 4 20:17:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:17:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/ace: fix build with libressl In-Reply-To: <20220404162545.326240-1-fontaine.fabrice@gmail.com> References: <20220404162545.326240-1-fontaine.fabrice@gmail.com> Message-ID: On 04/04/2022 18:25, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since the addition > of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: > > /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? > 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) > | ^~~~~~~~~~~~ > | BIO_set_init > > Fixes: > - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...Asynch_BIO.cpp-fix-build-with-libres.patch | 52 +++++++++++++++++++ > 1 file changed, 52 insertions(+) > create mode 100644 package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch > > diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch > new file mode 100644 > index 0000000000..ad82c10172 > --- /dev/null > +++ b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch > @@ -0,0 +1,52 @@ > +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 3 Apr 2022 15:25:49 +0200 > +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl > + > +Fix the following build failure with libressl: > + > +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? > + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) > + | ^~~~~~~~~~~~ > + | BIO_set_init > + > +Fixes: > + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] > +--- > + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- > + 1 file changed, 3 insertions(+), 3 deletions(-) > + > +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp > +index a657d8a14e6f7..64aa14c6ab9a7 100644 > +--- a/ace/SSL/SSL_Asynch_BIO.cpp > ++++ b/ace/SSL/SSL_Asynch_BIO.cpp > +@@ -41,7 +41,7 @@ extern "C" > + > + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > + static BIO_METHOD methods_ACE = > + { > + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, > +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = > + #else > + static BIO_METHOD* methods_ACE; > + # define BIO_set_num(b, val) > +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ > ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ > + > + ACE_BEGIN_VERSIONED_NAMESPACE_DECL > + > + BIO * > + ACE_SSL_make_BIO (void * ssl_asynch_stream) > + { > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > + BIO * const pBIO = BIO_new (&methods_ACE); > + #else > + if (!methods_ACE) From arnout at mind.be Mon Apr 4 20:18:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:18:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcoap: fix build with libressl In-Reply-To: <20220404163320.337038-1-fontaine.fabrice@gmail.com> References: <20220404163320.337038-1-fontaine.fabrice@gmail.com> Message-ID: <5c018422-c775-95a8-8766-6381b55b97e4@mind.be> On 04/04/2022 18:33, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since commit > 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: > > src/coap_openssl.c:107:3: erreur: nom de type ??BIO_ADDR?? inconnu > 107 | BIO_ADDR *bio_addr; > | ^~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libcoap/libcoap.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk > index 8a85ff3a2e..edcc1bbef8 100644 > --- a/package/libcoap/libcoap.mk > +++ b/package/libcoap/libcoap.mk > @@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y) > LIBCOAP_DEPENDENCIES += gnutls > LIBCOAP_CONF_OPTS += \ > --enable-dtls --with-gnutls --without-mbedtls --without-openssl > -else ifeq ($(BR2_PACKAGE_OPENSSL),y) > +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > LIBCOAP_DEPENDENCIES += openssl > LIBCOAP_CONF_OPTS += \ > --enable-dtls --without-gnutls --without-mbedtls --with-openssl From arnout at mind.be Mon Apr 4 20:18:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:18:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-waipu: bump version to 19.2.1-Matrix In-Reply-To: <20220404163926.2601842-1-bernd.kuhls@t-online.de> References: <20220404163926.2601842-1-bernd.kuhls@t-online.de> Message-ID: On 04/04/2022 18:39, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- > package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > index d40a068cb5..1f290b9331 100644 > --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 4c5ad45ba869c8064a0d64d7fc5c0a2e0c9f47f51184823872d6cd888ab7b2a0 kodi-pvr-waipu-19.2.0-Matrix.tar.gz > +sha256 61779eaac29930cfd7f2c23da44a27fdecb695252fbab9598c49c57ce8be7291 kodi-pvr-waipu-19.2.1-Matrix.tar.gz > sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt > diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > index 61c5bd67ae..19c750945e 100644 > --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_PVR_WAIPU_VERSION = 19.2.0-Matrix > +KODI_PVR_WAIPU_VERSION = 19.2.1-Matrix > KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) > KODI_PVR_WAIPU_LICENSE = GPL-2.0+ > KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt From arnout at mind.be Mon Apr 4 20:18:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:18:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: needs NPTL In-Reply-To: <20220404165220.338388-1-fontaine.fabrice@gmail.com> References: <20220404165220.338388-1-fontaine.fabrice@gmail.com> Message-ID: On 04/04/2022 18:52, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 0.3.26 in > commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and > https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de > > thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' > > Fixes: > - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/pipewire/Config.in | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in > index dd13f31a73..3bfcf42a81 100644 > --- a/package/pipewire/Config.in > +++ b/package/pipewire/Config.in > @@ -1,7 +1,7 @@ > config BR2_PACKAGE_PIPEWIRE > bool "pipewire" > depends on !BR2_STATIC_LIBS > - depends on BR2_TOOLCHAIN_HAS_THREADS > + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() > depends on BR2_USE_MMU # fork() > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 > select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime > @@ -46,7 +46,8 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" > > endif > > -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" > +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" > depends on BR2_USE_MMU > - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ > + depends on BR2_STATIC_LIBS || \ > + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ > !BR2_TOOLCHAIN_GCC_AT_LEAST_5 From arnout at mind.be Mon Apr 4 19:47:50 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:50 +0200 Subject: [Buildroot] [git commit] configs/licheepi_zero: bump uboot custom version to 2022.01 Message-ID: <20220404200948.1C5C282DFB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a3cbdf8bf0192868be3c9958281fa08bd52556ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This also removes the dependency to have Python2 installed. Signed-off-by: Steve Critchlow Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/licheepi_zero_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig index 2e1a413988..d7a281a0a0 100644 --- a/configs/licheepi_zero_defconfig +++ b/configs/licheepi_zero_defconfig @@ -36,7 +36,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="LicheePi_Zero" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y From arnout at mind.be Mon Apr 4 20:12:08 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 22:12:08 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-waipu: bump version to 19.2.1-Matrix Message-ID: <20220404200948.5386682DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5ad3082fed22fc5a145f5c7f37ed9b109d29ff83 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index d40a068cb5..1f290b9331 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 4c5ad45ba869c8064a0d64d7fc5c0a2e0c9f47f51184823872d6cd888ab7b2a0 kodi-pvr-waipu-19.2.0-Matrix.tar.gz +sha256 61779eaac29930cfd7f2c23da44a27fdecb695252fbab9598c49c57ce8be7291 kodi-pvr-waipu-19.2.1-Matrix.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 61c5bd67ae..19c750945e 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 19.2.0-Matrix +KODI_PVR_WAIPU_VERSION = 19.2.1-Matrix KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt From arnout at mind.be Mon Apr 4 19:47:55 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:55 +0200 Subject: [Buildroot] [git commit] package/libp11: fix build with libressl Message-ID: <20220404200948.39B4A82DFB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=581d397ec0c437aac06a9eaeca01de4ed9249faf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) | ^~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libp11/0001-Update-wp11_rsa.c.patch | 26 ++++++++++++++++++++++++++ package/libp11/libp11.mk | 8 +++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/package/libp11/0001-Update-wp11_rsa.c.patch b/package/libp11/0001-Update-wp11_rsa.c.patch new file mode 100644 index 0000000000..0a2d6e65ce --- /dev/null +++ b/package/libp11/0001-Update-wp11_rsa.c.patch @@ -0,0 +1,26 @@ +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 +From: patchMonkey156 +Date: Mon, 19 Oct 2020 17:12:15 -0400 +Subject: [PATCH] Update p11_rsa.c + +Bugfix for new LibreSSL version 3.2.2 +[Retrieved from: +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] +Signed-off-by: Fabrice Fontaine +--- + src/p11_rsa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/p11_rsa.c b/src/p11_rsa.c +index b6beef0..ff12ed7 100644 +--- a/src/p11_rsa.c ++++ b/src/p11_rsa.c +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) + return RSA_size(rsa); + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) + + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) + (int flen, const unsigned char *from, diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk index 45a718ee99..c1873a920c 100644 --- a/package/libp11/libp11.mk +++ b/package/libp11/libp11.mk @@ -11,10 +11,16 @@ LIBP11_INSTALL_STAGING = YES LIBP11_LICENSE = LGPL-2.1+ LIBP11_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBP11_ENGINESDIR = enginesdir +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) +LIBP11_ENGINESDIR = libdir +endif + # pkg-config returns a libcrypto enginesdir prefixed with the sysroot, # so let's rip it out. LIBP11_CONF_OPTS = \ - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` ifeq ($(BR2_PACKAGE_P11_KIT),y) LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so From arnout at mind.be Mon Apr 4 19:47:53 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:53 +0200 Subject: [Buildroot] [git commit] package/zlib-ng: Backport patch to fix linking on powerpc Message-ID: <20220404200948.308AC82DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=04e26cb7feb8681a07e72c96550972e9d938d1b2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the Power8 optimisations off to fix a build issue. Instead apply a patch from the develop branch upstream to fix the issue. This patch is not yet in a released version of zlib-ng. Signed-off-by: Joel Stanley Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...keyword-for-vec_sumsu-to-prevent-undefine.patch | 27 ++++++++++++++++++++++ package/zlib-ng/zlib-ng.mk | 6 ----- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch new file mode 100644 index 0000000000..cc103215de --- /dev/null +++ b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch @@ -0,0 +1,27 @@ +From 677f56825f7080403e18e57ffe8177f3df290f20 Mon Sep 17 00:00:00 2001 +From: Nathan Moinvaziri +Date: Sun, 23 Jan 2022 12:59:01 -0800 +Subject: [PATCH] Use static keyword for vec_sumsu to prevent undefined + reference error when g++ linking. + +Signed-off-by: Joel Stanley +--- + arch/power/adler32_power8.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/power/adler32_power8.c b/arch/power/adler32_power8.c +index 029aa3a84c57..fc4086322efc 100644 +--- a/arch/power/adler32_power8.c ++++ b/arch/power/adler32_power8.c +@@ -44,7 +44,7 @@ + #include "adler32_p.h" + + /* Vector across sum unsigned int (saturate). */ +-inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { ++static inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { + __b = vec_sld(__a, __a, 8); + __b = vec_add(__b, __a); + __a = vec_sld(__b, __b, 4); +-- +2.35.1 + diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index 938acd4181..fb497b8c11 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,10 +23,4 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif -ifeq ($(BR2_powerpc_power8),y) -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON -else -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF -endif - $(eval $(cmake-package)) From arnout at mind.be Mon Apr 4 19:47:49 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:49 +0200 Subject: [Buildroot] [git commit] package/protobuf: add additional supported host architectures Message-ID: <20220404200948.14EF882DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d949b4e26bc318f5f68f12e5e1634642ad08ba63 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Move supported host architectures under BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS and propagate the reverse dependency. Add additional supported host architectures based on current src/google/protobuf/stubs/platform_macros.h Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/collectd/Config.in | 6 +++--- package/kismet/Config.in | 4 ++-- package/protobuf-c/Config.in | 4 ++-- package/protobuf/Config.in | 16 +++++++++++++++- package/python-protobuf/Config.in | 2 +- package/riemann-c-client/Config.in | 4 ++-- 6 files changed, 25 insertions(+), 11 deletions(-) diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 67413ffde0..43eef3bf66 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -725,7 +725,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN bool "riemann" # riemann-c-client -> protobuf-c depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS select BR2_PACKAGE_RIEMANN_C_CLIENT select BR2_PACKAGE_LIBTOOL help @@ -759,7 +759,7 @@ config BR2_PACKAGE_COLLECTD_WRITELOG config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS bool "write_prometheus" depends on BR2_INSTALL_LIBSTDCPP # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c select BR2_PACKAGE_LIBMICROHTTPD select BR2_PACKAGE_PROTOBUF_C help @@ -768,7 +768,7 @@ config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS comment "write_prometheus needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_COLLECTD_WRITEREDIS bool "write_redis" diff --git a/package/kismet/Config.in b/package/kismet/Config.in index 961d5f230e..7bde6c92af 100644 --- a/package/kismet/Config.in +++ b/package/kismet/Config.in @@ -3,14 +3,14 @@ comment "kismet needs a toolchain w/ threads, C++, gcc >= 5" depends on !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_KISMET bool "kismet" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_PROTOBUF_C diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in index a32e6cd9e8..d96cd7b382 100644 --- a/package/protobuf-c/Config.in +++ b/package/protobuf-c/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_PROTOBUF_C depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # host-protobuf only builds on certain architectures - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS help Code generator and runtime libraries to use Protocol Buffers from pure C (not C++). @@ -12,4 +12,4 @@ config BR2_PACKAGE_PROTOBUF_C comment "protobuf-c needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in index 46c820b9cf..47e987fa2b 100644 --- a/package/protobuf/Config.in +++ b/package/protobuf/Config.in @@ -14,6 +14,20 @@ # and we can live with requiring gcc 4.8 on PowerPC to build protobuf. # # host-protobuf only builds on certain architectures +config BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "arm" + default y if BR2_HOSTARCH = "mips" + default y if BR2_HOSTARCH = "mipsel" + default y if BR2_HOSTARCH = "powerpc" + default y if BR2_HOSTARCH = "powerpc64" + default y if BR2_HOSTARCH = "powerpc64le" + default y if BR2_HOSTARCH = "sparc" + default y if BR2_HOSTARCH = "sparc64" + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" + config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS bool default y if BR2_arm @@ -22,7 +36,7 @@ config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS default y if BR2_x86_64 default y if BR2_sparc64 default y if BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS depends on BR2_USE_MMU # fork() config BR2_PACKAGE_PROTOBUF diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in index 1af82112b4..7de463520d 100644 --- a/package/python-protobuf/Config.in +++ b/package/python-protobuf/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PYTHON_PROTOBUF bool "python-protobuf" # host-protobuf only builds on certain architectures - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON_SIX # runtime help Python implementation of the Google Protocol Buffers. diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in index e9982b2fb0..6c3c35caf8 100644 --- a/package/riemann-c-client/Config.in +++ b/package/riemann-c-client/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT bool "riemann-c-client" depends on BR2_INSTALL_LIBSTDCPP # protobuf-c depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c select BR2_PACKAGE_PROTOBUF_C help Riemann-c-client is a C client library for the Riemann @@ -14,4 +14,4 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT comment "riemann-c-client needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS From arnout at mind.be Mon Apr 4 19:47:57 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:57 +0200 Subject: [Buildroot] [git commit] package/ace: fix build with libressl Message-ID: <20220404200948.422A182DFC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7da45d9b635d93cc7c0339796462a8e401407402 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since the addition of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) | ^~~~~~~~~~~~ | BIO_set_init Fixes: - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch new file mode 100644 index 0000000000..ad82c10172 --- /dev/null +++ b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch @@ -0,0 +1,52 @@ +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 15:25:49 +0200 +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl + +Fix the following build failure with libressl: + +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) + | ^~~~~~~~~~~~ + | BIO_set_init + +Fixes: + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] +--- + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp +index a657d8a14e6f7..64aa14c6ab9a7 100644 +--- a/ace/SSL/SSL_Asynch_BIO.cpp ++++ b/ace/SSL/SSL_Asynch_BIO.cpp +@@ -41,7 +41,7 @@ extern "C" + + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static BIO_METHOD methods_ACE = + { + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = + #else + static BIO_METHOD* methods_ACE; + # define BIO_set_num(b, val) +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ + + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + + BIO * + ACE_SSL_make_BIO (void * ssl_asynch_stream) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + BIO * const pBIO = BIO_new (&methods_ACE); + #else + if (!methods_ACE) From arnout at mind.be Mon Apr 4 20:12:08 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 22:12:08 +0200 Subject: [Buildroot] [git commit] package/pipewire: needs NPTL Message-ID: <20220404200948.5BECE82DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f54b5a64f2f51c7e30b291dfa177f855bd88d6f2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 0.3.26 in commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pipewire/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index dd13f31a73..3bfcf42a81 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PIPEWIRE bool "pipewire" depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime @@ -46,7 +46,8 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + depends on BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 From arnout at mind.be Mon Apr 4 19:47:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:52 +0200 Subject: [Buildroot] [git commit] package/util-linux: bump version to 2.38 Message-ID: <20220404200948.2671582DFC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ee978e853a6a4c9bb5ed661c1ae704e79f155a35 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - remove 0001-libuuid-include-c-h-to-cover-restrict-keyword.patch (from upstream [3]) - remove 0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch (from upstream [4]) - handle new lsfd option - handle new ipcmk option For details see [1] and [2]. [1] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ChangeLog [2] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes [3] https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c [4] https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6 Signed-off-by: Peter Seiderer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...uid-include-c-h-to-cover-restrict-keyword.patch | 30 ----- ...mark-cache-as-probed-if-sys-not-available.patch | 141 --------------------- package/util-linux/Config.in | 12 ++ ...uid-include-c-h-to-cover-restrict-keyword.patch | 1 - ...mark-cache-as-probed-if-sys-not-available.patch | 1 - package/util-linux/util-linux.hash | 4 +- package/util-linux/util-linux.mk | 8 +- 7 files changed, 20 insertions(+), 177 deletions(-) diff --git a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch deleted file mode 100644 index 3b4f510920..0000000000 --- a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Thu, 5 Aug 2021 09:46:21 +0200 -Subject: libuuid: include c.h to cover restrict keyword - -References: https://github.com/karelzak/util-linux/issues/1405 -Signed-off-by: Karel Zak - -[Retrieved from: -https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c] -Signed-off-by: Fabrice Fontaine ---- - libuuid/src/unparse.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libuuid/src/unparse.c b/libuuid/src/unparse.c -index f9a5e4315..ffeed2ed6 100644 ---- a/libuuid/src/unparse.c -+++ b/libuuid/src/unparse.c -@@ -33,6 +33,7 @@ - */ - - #include -+#include "c.h" - - #include "uuidP.h" - --- -cgit 1.2.3-1.el7 - diff --git a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch deleted file mode 100644 index bfc8f60834..0000000000 --- a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch +++ /dev/null @@ -1,141 +0,0 @@ -From 84d38ae3eca523ef990cb848563cc63de25266e6 Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Fri, 19 Nov 2021 14:19:03 +0100 -Subject: [PATCH] libblkid: don't mark cache as "probed" if /sys not available - -For "mount --all" we need to read the cache more than once in a short -time. The library checks the delay between probes, and if the delay is -too short, it does not read devices. This is a problem on boot when there -are no /sys, and the cache is empty. In this case, we need to check -for /sys until it's available constantly. - -https://github.com/util-linux/util-linux/issues/1492 -Signed-off-by: Karel Zak - -[Retrieved from: -https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6] -Signed-off-by: Fabrice Fontaine ---- - libblkid/src/devname.c | 26 +++++++++++++++++--------- - libblkid/src/resolve.c | 2 +- - libblkid/src/tag.c | 8 +++++--- - 3 files changed, 23 insertions(+), 13 deletions(-) - -diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c -index 90a8245fc9..9a173e3489 100644 ---- a/libblkid/src/devname.c -+++ b/libblkid/src/devname.c -@@ -429,6 +429,8 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) - if (!sysfs) - return -BLKID_ERR_SYSFS; - -+ DBG(DEVNAME, ul_debug(" probe /sys/block")); -+ - /* scan /sys/block */ - while ((dev = xreaddir(sysfs))) { - DIR *dir = NULL; -@@ -533,14 +535,18 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) - /* - * Read the device data for all available block devices in the system. - */ --static int probe_all(blkid_cache cache, int only_if_new) -+static int probe_all(blkid_cache cache, int only_if_new, int update_interval) - { -+ int rc; -+ - if (!cache) - return -BLKID_ERR_PARAM; - - if (cache->bic_flags & BLKID_BIC_FL_PROBED && -- time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) -+ time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) { -+ DBG(PROBE, ul_debug("don't re-probe [delay < %d]", BLKID_PROBE_INTERVAL)); - return 0; -+ } - - blkid_read_cache(cache); - #ifdef VG_DIR -@@ -548,7 +554,13 @@ static int probe_all(blkid_cache cache, int only_if_new) - #endif - ubi_probe_all(cache, only_if_new); - -- sysfs_probe_all(cache, only_if_new, 0); -+ rc = sysfs_probe_all(cache, only_if_new, 0); -+ -+ /* Don't mark the change as "probed" if /sys not avalable */ -+ if (update_interval && rc == 0) { -+ cache->bic_time = time(NULL); -+ cache->bic_flags |= BLKID_BIC_FL_PROBED; -+ } - - blkid_flush_cache(cache); - return 0; -@@ -567,11 +579,7 @@ int blkid_probe_all(blkid_cache cache) - int ret; - - DBG(PROBE, ul_debug("Begin blkid_probe_all()")); -- ret = probe_all(cache, 0); -- if (ret == 0) { -- cache->bic_time = time(NULL); -- cache->bic_flags |= BLKID_BIC_FL_PROBED; -- } -+ ret = probe_all(cache, 0, 1); - DBG(PROBE, ul_debug("End blkid_probe_all() [rc=%d]", ret)); - return ret; - } -@@ -589,7 +597,7 @@ int blkid_probe_all_new(blkid_cache cache) - int ret; - - DBG(PROBE, ul_debug("Begin blkid_probe_all_new()")); -- ret = probe_all(cache, 1); -+ ret = probe_all(cache, 1, 0); - DBG(PROBE, ul_debug("End blkid_probe_all_new() [rc=%d]", ret)); - return ret; - } -diff --git a/libblkid/src/resolve.c b/libblkid/src/resolve.c -index 641b022860..16653fa8e1 100644 ---- a/libblkid/src/resolve.c -+++ b/libblkid/src/resolve.c -@@ -32,7 +32,7 @@ char *blkid_get_tag_value(blkid_cache cache, const char *tagname, - blkid_cache c = cache; - char *ret = NULL; - -- DBG(TAG, ul_debug("looking for %s on %s", tagname, devname)); -+ DBG(TAG, ul_debug("looking for tag %s on %s device", tagname, devname)); - - if (!devname) - return NULL; -diff --git a/libblkid/src/tag.c b/libblkid/src/tag.c -index 390a648648..178336505f 100644 ---- a/libblkid/src/tag.c -+++ b/libblkid/src/tag.c -@@ -326,14 +326,14 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, - blkid_dev dev; - int pri; - struct list_head *p; -- int probe_new = 0; -+ int probe_new = 0, probe_all = 0; - - if (!cache || !type || !value) - return NULL; - - blkid_read_cache(cache); - -- DBG(TAG, ul_debug("looking for %s=%s in cache", type, value)); -+ DBG(TAG, ul_debug("looking for tag %s=%s in cache", type, value)); - - try_again: - pri = -1; -@@ -366,9 +366,11 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, - goto try_again; - } - -- if (!dev && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { -+ if (!dev && !probe_all -+ && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { - if (blkid_probe_all(cache) < 0) - return NULL; -+ probe_all++; - goto try_again; - } - return dev; diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 9e9b8933e5..d3c0070160 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -146,6 +146,11 @@ config BR2_PACKAGE_UTIL_LINUX_HWCLOCK help Query or set the hardware clock (RTC) +config BR2_PACKAGE_UTIL_LINUX_IPCMK + bool "ipcmk" + help + Make various IPC resources + config BR2_PACKAGE_UTIL_LINUX_IPCRM bool "ipcrm" help @@ -198,6 +203,13 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP help Set up and control loop devices +config BR2_PACKAGE_UTIL_LINUX_LSFD + bool "lsfd" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + List file descriptors (modern replacement for lsof) + config BR2_PACKAGE_UTIL_LINUX_LSLOGINS bool "lslogins" depends on BR2_USE_MMU # libsmartcols diff --git a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch deleted file mode 120000 index beecc3a48f..0000000000 --- a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch +++ /dev/null @@ -1 +0,0 @@ -../0001-libuuid-include-c-h-to-cover-restrict-keyword.patch \ No newline at end of file diff --git a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch deleted file mode 120000 index 2f3c482144..0000000000 --- a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch +++ /dev/null @@ -1 +0,0 @@ -../0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch \ No newline at end of file diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash index 748a36e0be..6f1bb74ecb 100644 --- a/package/util-linux/util-linux.hash +++ b/package/util-linux/util-linux.hash @@ -1,5 +1,5 @@ -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc -sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz +# From https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/sha256sums.asc +sha256 6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64 util-linux-2.38.tar.xz # License files, locally calculated sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 891c17d1d9..9d9b61d8f5 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -7,8 +7,8 @@ # When making changes to this file, please check if # util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. -UTIL_LINUX_VERSION_MAJOR = 2.37 -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4 +UTIL_LINUX_VERSION_MAJOR = 2.38 +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR) UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) @@ -140,6 +140,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \ $(if $(BR2_PACKAGE_UTIL_LINUX_HARDLINK),--enable-hardlink,--disable-hardlink) \ $(if $(BR2_PACKAGE_UTIL_LINUX_HWCLOCK),--enable-hwclock --disable-hwclock-gplv3,--disable-hwclock) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_IPCMK),--enable-ipcmk,--disable-ipcmk) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ @@ -153,6 +154,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGGER),--enable-logger,--disable-logger) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN),--enable-login,--disable-login) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LSFD),--enable-lsfd,--disable-lsfd) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LSLOGINS),--enable-lslogins,--disable-lslogins) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LSMEM),--enable-lsmem,--disable-lsmem) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ @@ -214,7 +216,9 @@ HOST_UTIL_LINUX_CONF_OPTS += \ --disable-agetty \ --disable-chfn-chsh \ --disable-chmem \ + --disable-ipcmk \ --disable-login \ + --disable-lsfd \ --disable-lslogins \ --disable-mesg \ --disable-more \ From arnout at mind.be Mon Apr 4 20:12:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 22:12:00 +0200 Subject: [Buildroot] [git commit] package/libcoap: doesn't build with libressl Message-ID: <20220404200948.4B63582DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0796c878f4c9ad786a6c4c4716e4239fa070cd73 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since commit 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: src/coap_openssl.c:107:3: erreur: nom de type ????BIO_ADDR???? inconnu 107 | BIO_ADDR *bio_addr; | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcoap/libcoap.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk index 8a85ff3a2e..edcc1bbef8 100644 --- a/package/libcoap/libcoap.mk +++ b/package/libcoap/libcoap.mk @@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y) LIBCOAP_DEPENDENCIES += gnutls LIBCOAP_CONF_OPTS += \ --enable-dtls --with-gnutls --without-mbedtls --without-openssl -else ifeq ($(BR2_PACKAGE_OPENSSL),y) +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBCOAP_DEPENDENCIES += openssl LIBCOAP_CONF_OPTS += \ --enable-dtls --without-gnutls --without-mbedtls --with-openssl From arnout at mind.be Mon Apr 4 20:28:12 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:28:12 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: References: <20220329205136.32435-1-vincent.stehle@laposte.net> <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> Message-ID: <2646beec-15db-f2e9-5490-0f7fd551857f@mind.be> On 04/04/2022 21:38, Vincent Stehl? wrote: > On Sun, Apr 03, 2022 at 05:07:48PM +0200, Arnout Vandecappelle wrote: >> >> >> On 29/03/2022 22:51, Vincent Stehl? via buildroot wrote: >>> Update the qemu_xtensa_lx60_nommu_defconfig to use the >>> busybox-minimal.config, to make it more consistent with the other no-MMU >>> defconfigs. >> >> That's not a valid reason IMHO. We use the minimal busybox for boards that >> are extremely tight on memory - which is often the case for noMMU boards. >> But if we can spare the size, full busybox is a lot more useable. > > Hi Arnout, > > Thanks for reviewing this patch. > >> I've marked this patch as Rejected in patchwork, but if there's a good >> reason to do this, we can always recover it. > > There is another incentive to using the minimal config on no-MMU platforms: it > fixes the udhcpc error and repairs the network initialization. Ooh, now I understand what that commit does... But that actually causes a problem: if udhcpc doesn't keep running the background any more, it's not going to refresh its lease, but will keep on using its IP address indefinitely. Although this seems to work at first hand, it's going to cause some problem somewhere down the line... So we should find a different solution, and we should probably use that in the MMU case as well (just to keep things consistent. Regards, Arnout > > Just let me know if you want me to reword the commit message to insist more on > this aspect and submit a v2. Or we can abandon it for good if you prefer. > > Best regards, > Vincent. > >> >> Regards, >> Arnout >> >>> >>> After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal >>> config"), this has the benefit of fixing the following network >>> initialization failure: >>> >>> udhcpc: invalid option -- b >>> >>> Signed-off-by: Vincent Stehl? >>> Cc: Romain Naour >>> Cc: Gerome Burlats >>> --- >>> configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig >>> index c4473fb32a..44fb81bd74 100644 >>> --- a/configs/qemu_xtensa_lx60_nommu_defconfig >>> +++ b/configs/qemu_xtensa_lx60_nommu_defconfig >>> @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ >>> BR2_PACKAGE_HOST_ELF2FLT=y >>> # BR2_USE_MMU is not set >>> +# Use minimal busybox with hush and networking tools >>> +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" >>> + >>> # System >>> BR2_SYSTEM_DHCP="eth0" >>> BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From fontaine.fabrice at gmail.com Mon Apr 4 20:31:35 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 22:31:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: needs C++ Message-ID: <20220404203135.340172-1-fontaine.fabrice@gmail.com> python-ujson needs C++ since bump to version 4.1.0 in commit a47f332a20bf3f79ef4903c8ddd2b7917217e354 and https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: powerpc-buildroot-linux-gnu-gcc.br_real: error: ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f Signed-off-by: Fabrice Fontaine --- package/python-ujson/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in index 81d1bc457c..7af03e6497 100644 --- a/package/python-ujson/Config.in +++ b/package/python-ujson/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_PYTHON_UJSON bool "python-ujson" + depends on BR2_INSTALL_LIBSTDCPP help UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3. https://pypi.python.org/pypi/ujson + +comment "python-ujson needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 4 20:50:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 22:50:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/trace-cmd: needs NPTL Message-ID: <20220404205015.341053-1-fontaine.fabrice@gmail.com> trace-cmd needs NPTL since bump to version 2.9.1 in commit 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): in function `tracecmd_tsync_with_host': trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' Fixes: - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 Signed-off-by: Fabrice Fontaine --- package/trace-cmd/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 574541c571..2d0accd7ae 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TRACE_CMD bool "trace-cmd" - depends on BR2_TOOLCHAIN_HAS_THREADS + # pthread_setaffinity_np + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() help @@ -13,6 +14,6 @@ config BR2_PACKAGE_TRACE_CMD http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git -comment "trace-cmd needs a toolchain w/ threads, dynamic library" +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 4 21:19:41 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 23:19:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/libest: fix build with libressl Message-ID: <20220404211941.721192-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since the addition of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: In file included from est.c:28: est.h:27:10: fatal error: openssl/srp.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc Signed-off-by: Fabrice Fontaine --- package/libest/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libest/Config.in b/package/libest/Config.in index d8271ad69e..6abe9d2848 100644 --- a/package/libest/Config.in +++ b/package/libest/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBEST depends on !BR2_STATIC_LIBS # libexecinfo or glibc select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help libest is a C implementation of RFC 7030 (Enrollment over Secure Transport). -- 2.35.1 From christian at paral.in Mon Apr 4 21:47:16 2022 From: christian at paral.in (Christian Stewart) Date: Mon, 4 Apr 2022 14:47:16 -0700 Subject: [Buildroot] [PATCH 1/2] package/docker-cli: bump to version v20.10.14 Message-ID: <20220404214717.587193-1-christian@paral.in> https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index f2fe316540..9a07acf89f 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d86e3e6e10669634ee02b5e071e5ee504457a9d03941bbc5b7f2bd3683ebdb19 docker-cli-20.10.12.tar.gz +sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index d5cca34efc..c7458f85dd 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.12 +DOCKER_CLI_VERSION = 20.10.14 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 -- 2.35.1 From christian at paral.in Mon Apr 4 21:47:17 2022 From: christian at paral.in (Christian Stewart) Date: Mon, 4 Apr 2022 14:47:17 -0700 Subject: [Buildroot] [PATCH 2/2] package/docker-engine: bump to version v20.10.14 In-Reply-To: <20220404214717.587193-1-christian@paral.in> References: <20220404214717.587193-1-christian@paral.in> Message-ID: <20220404214717.587193-2-christian@paral.in> https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index ec3a242629..d4fe83a806 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a8ee80d31c7b74f687a837cd2a8570578f118179fba0844c5ee88f90fe180155 docker-engine-20.10.12.tar.gz +sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 2a1239b676..3aef31599f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.12 +DOCKER_ENGINE_VERSION = 20.10.14 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 -- 2.35.1 From christian at paral.in Mon Apr 4 21:59:30 2022 From: christian at paral.in (Christian Stewart) Date: Mon, 4 Apr 2022 14:59:30 -0700 Subject: [Buildroot] [PATCH 1/1] package/runc: bump to version v1.1.1 Message-ID: <20220404215930.601909-1-christian@paral.in> Signed-off-by: Christian Stewart --- package/runc/runc.hash | 2 +- package/runc/runc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/runc/runc.hash b/package/runc/runc.hash index 38d9f52510..fe3c4cc488 100644 --- a/package/runc/runc.hash +++ b/package/runc/runc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a8de57edbf0ff741ea798ccdd99ac0e1b79914f552871bd7cd92b0569f200964 runc-1.1.0.tar.gz +sha256 11a34535c108b36fd59de58e7bef3a130444c9ea41e4b8bb8f8d4654c8ad654c runc-1.1.1.tar.gz sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE diff --git a/package/runc/runc.mk b/package/runc/runc.mk index a40075544e..2618b71f63 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUNC_VERSION = 1.1.0 +RUNC_VERSION = 1.1.1 RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0, LGPL-2.1 (libseccomp) RUNC_LICENSE_FILES = LICENSE -- 2.35.1 From christian at paral.in Mon Apr 4 22:14:51 2022 From: christian at paral.in (Christian Stewart) Date: Mon, 4 Apr 2022 15:14:51 -0700 Subject: [Buildroot] [PATCH 1/1] package/containerd: bump to version v1.6.2 Message-ID: <20220404221451.610628-1-christian@paral.in> Note: this version adds compatibility for Go 1.18. Signed-off-by: Christian Stewart --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5aafe2e70..eb9f2894a9 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz +sha256 4ea21a6b4649512366e7c31ae547ad89c6a69c6586a6d8565cff07898de344b0 containerd-1.6.2.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 8976e12f1a..36f2db4125 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.9 +CONTAINERD_VERSION = 1.6.2 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE -- 2.35.1 From giulio.benetti at benettiengineering.com Tue Apr 5 00:22:02 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 5 Apr 2022 02:22:02 +0200 Subject: [Buildroot] [PATCH] package/libnss: bump to version 3.77 Message-ID: <20220405002202.1772332-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/libnss/libnss.hash | 4 ++-- package/libnss/libnss.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash index b4b8be11f6..04e81e6b84 100644 --- a/package/libnss/libnss.hash +++ b/package/libnss/libnss.hash @@ -1,4 +1,4 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_76_RTM/src/SHA256SUMS -sha256 1b8e0310add364d2ade40620cde0f1c37f4f00a6999b2d3e7ea8dacda4aa1630 nss-3.76.tar.gz +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_77_RTM/src/SHA256SUMS +sha256 825edf5a2fd35b788a23ff80face591f82919ae3ad2b8f77d424a450d618dedd nss-3.77.tar.gz # Locally calculated sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index 2f7a265136..57df104d6c 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNSS_VERSION = 3.76 +LIBNSS_VERSION = 3.77 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src LIBNSS_DISTDIR = dist -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 5 01:20:59 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 4 Apr 2022 19:20:59 -0600 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set Message-ID: <20220405012059.2680327-1-james.hilliard1@gmail.com> Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required. Fixes: http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 Signed-off-by: James Hilliard --- linux/linux.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 102b7a15d4..7ff7b05042 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -566,6 +566,12 @@ endif ifeq ($(BR_BUILDING),y) +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) +ifeq ($(LINUX_VERSION),) +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) +endif +endif + ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) # We must use the user-supplied kconfig value, because # LINUX_KCONFIG_DEFCONFIG will at least contain the -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 5 02:50:54 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 4 Apr 2022 20:50:54 -0600 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset Message-ID: <20220405025054.966064-1-james.hilliard1@gmail.com> Fixes: package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. make: *** [Makefile:84: _all] Error 2 Signed-off-by: James Hilliard --- package/aufs/aufs.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk index 4e95a350a0..b2dda771d9 100644 --- a/package/aufs/aufs.mk +++ b/package/aufs/aufs.mk @@ -8,6 +8,7 @@ AUFS_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_VERSION)) AUFS_LICENSE = GPL-2.0 AUFS_LICENSE_FILES = COPYING +ifneq ($(AUFS_VERSION),) ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone AUFS_SITE_METHOD = git @@ -16,6 +17,7 @@ AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) else ifeq ($(BR2_PACKAGE_AUFS_SERIES),5) AUFS_SITE = $(call github,sfjro,aufs5-standalone,$(AUFS_VERSION)) endif +endif ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:) $(error No aufs version specified) -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 5 03:16:41 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 4 Apr 2022 21:16:41 -0600 Subject: [Buildroot] [PATCH v3 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220405031641.685678-1-james.hilliard1@gmail.com> Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Signed-off-by: James Hilliard --- Changes v2 -> v3: - properly check exit codes Changes v1 -> v2: - refactor fixup_config control flow --- utils/genrandconfig | 54 +++++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 17 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..c2919e5798 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +335,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,19 +416,24 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) - if fixup_config(sysinfo, configfile): - break + if not fixup_config(sysinfo, configfile): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "olddefconfig"]): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "savedefconfig"]): + continue - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "dependencies"]): + continue + break + return 0 if __name__ == '__main__': @@ -433,10 +445,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative -- 2.25.1 From Tim.Hammer at orolia.com Tue Apr 5 03:54:39 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Tue, 5 Apr 2022 03:54:39 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind Message-ID: On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > Signed-off-by: Fabrice Fontaine > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. So this should be the host compiler, not the target. I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... .Tim Tim D. Hammer tim.hammer at orolia.com > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From thomas.petazzoni at bootlin.com Tue Apr 5 05:25:32 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 05 Apr 2022 05:25:32 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-04 Message-ID: <20220405052538.D9B0E82668@smtp1.osuosl.org> Hello, Autobuild statistics for 2022-04-04 =================================== branch | OK | NOK | TIM | TOT | 2021.02.x | 77 | 69 | 1 | 147 | 2022.02.x | 31 | 76 | 1 | 108 | master | 143 | 401 | 4 | 548 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 49 linux-headers | 32 host-gcc-final-10.3.0 | 31 linux-headers-custom | 27 host-elf2flt-7e33f28df198c4... | 15 libressl-3.4.3 | 14 dhcp-4.4.2-P1 | 9 host-cloop-3.14.1.3 | 8 host-gcc-final-9.4.0 | 8 libkrb5-1.18.4 | 8 python3-3.10.2 | 8 argp-standalone-1.3 | 7 fetchmail-6.4.29 | 7 git-2.31.1 | 7 opus-1.3.1 | 7 pango-1.50.5 | 7 unknown | 7 glibc-2.34-109-gd64b08d5ba7... | 6 libopenssl-1.1.1n | 6 dieharder-3.31.1 | 5 libcap-ng-0.8.3 | 5 tpm2-tss-3.2.0 | 5 uclibc-1.0.40 | 5 host-gcc-final-11.2.0 | 4 zlib-ng-2.0.6 | 4 arptables-0.0.5 | 3 belr-4.4.8 | 3 frr-8.2.2 | 3 gobject-introspection-1.70.0 | 3 host-nodejs | 3 libcoap-4.3.0 | 3 refpolicy | 3 tpm2-pkcs11-1.7.0 | 3 brltty-6.4 | 2 bubblewrap-0.6.1 | 2 fluidsynth-2.2.5 | 2 fs/oci/oci.mk:99: /nvmedata... | 2 host-gcc-initial-10.3.0 | 2 host-gcc-initial-9.4.0 | 2 host-util-linux-2.38 | 2 libgcrypt-1.10.0 | 2 libnspr-4.33 | 2 netsurf-3.10 | 2 perl-5.34.1 | 2 polkit-a2bf5c9c83b6ae46cbd5... | 2 tpm2-tools-5.2 | 2 wavemon-0.9.4 | 2 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 bind-9.16.26 | 1 botan-2.19.1 | 1 brotli-1.0.9 | 1 cfm-0.3 | 1 cppcms-1.2.1 | 1 dash-0.5.11.5 | 1 dawgdic-16ac537ba9883ff01b6... | 1 exempi-2.6.1 | 1 expat-2.4.7 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/oci/oci.mk:99: /home/aut... | 1 fs/oci/oci.mk:99: /home/aut... | 1 fs/oci/oci.mk:99: /nvmedata... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gdbm-1.22 | 1 glib-networking-2.70.1 | 1 gobject-introspection | 1 google-breakpad-7515ab13768... | 1 gst1-libav-1.20.1 | 1 gstd-0.14.0 | 1 guile-3.0.8 | 1 host-gcc-final-8.4.0 | 1 host-pango-1.50.5 | 1 libcap-ng-0.8.2 | 1 libeXosip2-5.3.0 | 1 libkcapi-1.1.5 | 1 libp11-0.4.11 | 1 libpsl-0.21.1 | 1 libsecret-0.20.5 | 1 libvorbis-1.3.7 | 1 linux-5.15.30 | 1 liquid-dsp-1.4.0 | 1 lua-cqueues-20200726 | 1 mesa3d-21.3.8 | 1 minizip-3.0.5 | 1 mongodb-4.2.18 | 1 mpd-0.23.6 | 1 nbd-3.24 | 1 pipewire-0.3.48 | 1 pixman-0.40.0 | 1 pure-ftpd-1.0.50 | 1 python-brotli-1.0.9 | 1 python-ujson-4.2.0 | 1 reaver-1.6.6 | 1 safeclib-3.7.1 | 1 shadowsocks-libev-3.3.5 | 1 spice-0.15.0 | 1 spidev_test-5.8 | 1 startup-notification-0.9 | 1 stress-ng-0.13.05 | 1 stunnel-5.60 | 1 sudo-1.9.8p2 | 1 tpm2-abrmd-2.3.3 | 1 trace-cmd-2.9.7 | 1 uacme-1.7.1 | 1 vlc-3.0.16 | 1 wireshark-3.4.12 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64le | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/523a13a29b0673ee0e60385b05bf975a40e5c688 | or1k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/a329d361aafd1ebb4f039c0a12bec45bce8bda8e | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/6e2cff70aafa3ce4dd1239c9050279209f8e03e9 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b8276e9e111a709651a7e9a0892fcc75c8bbca36 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/40f7d1f98e6e5f69eeb946a3fcd891d18b41affa | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8377b3b680c212e15503c5380756421ff4724d6f | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/48a9df6ab5b79128824673a553d232cee5aba83f | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d61e274b037a55e3bb070ce2d9e191cbdbd4234b | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/58dba13ba433ab5b49cfdd17434a15fb4c1ee6ad | or1k | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/be3dd8e5531369e7d66bdb6ea97d9734d762e5bf | ORPH microblazeel | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/20fc88f297abfda0018985c2949de6c7f1926755 | ORPH sparc64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/da28190fcfbef23ed4a25b1632a5ac7eca259dd6 | ORPH powerpc64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/41f05966b556a344deea6b9400d051bc2b7e3234 | sparc64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/c54e7f1e9a846f34d8827a54355bc39cbb83964d | sparc | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/002674acabe8d962bca4b9b95b8ce62d2a219c6c | sh4eb | bind-9.16.26 | NOK | http://autobuild.buildroot.net/results/4f7bf62ad6e00a435c1190b1cb9ef1a748371f8c | ORPH powerpc64 | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/f800854b903076279692359b1d723814dc27bf9a | ORPH microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/552ff2471698a34a4d9bc5326b43cf102914f24a | microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/76990b107ed8cb01efba656e4f459edc45d84a86 | m68k | brotli-1.0.9 | NOK | http://autobuild.buildroot.net/results/239dfbb0b269ff2311373f7934d98706896498c7 | mips64 | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/08b7e137ead5d0f0d38831cd1fe6b295749e7fec | mips | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/793be17affa393774fe3e7295360fff73056a3fd | arm | cfm-0.3 | NOK | http://autobuild.buildroot.net/results/20749d7b5553e95946f530fa746213feb21f3ae1 | powerpc64le | cppcms-1.2.1 | NOK | http://autobuild.buildroot.net/results/367a34a74b37cb51896679448b00cb48723605e8 | ORPH nios2 | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/23f5770aa3b8b47ea4502bf72e3cbbc778665a73 | ORPH riscv64 | dawgdic-16ac537ba9883ff01b6... | NOK | http://autobuild.buildroot.net/results/08cee5ab6904e2dfe34b106d7055461a459efbf5 | microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/c36233bbb1bfd3cd5ea8f144dcf29bff3545d355 | ORPH riscv32 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/9750710f786abe93fb9c9e29ec9f927f7da74d43 | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/5fe1e2bd0c9669aef09752c971d1be24cea093af | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/b40faf078b08fcb8da4ad82062602974582a8454 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ac68bddd7c1eda7ed1868043295532731e390cc4 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/337e8446915758ee1affacfff758f81a4b1624c1 | ORPH mips64el | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/80bfdc173ab415481a0b77198fdbae520751d795 | ORPH riscv64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/d1f602a78c870e4ee517364f942e0cc034cefe08 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/8a52e3e24d5bf58e37306ddd39383928a63a4b59 | ORPH arceb | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/28a672bfcba7313be4e459b802570eacc28ee8ce | riscv32 | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/959a119349d2556584d550bea1a9ff2bad7aaec6 | mips64 | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/66c9cba8304ff250dc9975aba2ca4c0719f5064e | nios2 | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/bfe5df72036842d083fc791bd7c53d835c9ba992 | or1k | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/4b7f807047714926b00b97df89b79a3a5d0a4d71 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/909c3b24d7834103078f1cc555b476f7a0a6164c | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/96c61c6d6cb41d31cba28931ae1a64b96db55612 | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/317bdef970e860419487826c83257406e58b6c68 | mips64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/9e01b809bc2d974e7ec695c9d226a5a645ceab95 | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/d82539949a6eb37ce23bd9392b86d3ef72ef00ff | microblaze | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/c67a838306fd2c0bf536b093f81b53bb6473aeae | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/43206f1020f28e6db0d50197422f9f686b5b6c20 | mips64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/a24705f3022dd948b8c4c5b6649380a78005df1b | m68k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/a1b640e37058e24db3e117a3fc6e10d1c3b56c9e | xtensa | fluidsynth-2.2.5 | NOK | http://autobuild.buildroot.net/results/178b944ab89ed8a811e3cefc8572c415025e7847 | riscv32 | fluidsynth-2.2.5 | NOK | http://autobuild.buildroot.net/results/8e3b9025a7797a659f5a1d85628f0f2a642e1ff0 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/2f5925f35b38996f47142f0e716730c6db174d38 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/50a95fa08dfe2552cce6f95b498885af738d210c | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/3b86046e284edbf22dcb28953f53a4ea3a87ee39 | microblaze | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/8255f55ad3f404dd577b854234108723322e1018 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/1c4a5a99cbed16af92500cf16c615ee2135784f5 | aarch64_be | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/ad28da19e91fabf356bd7d647991b163c6f29e94 | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/be39afab805ad0416a5cd6b14907eeb2817ffb1d | arm | fs/oci/oci.mk:99: /home/aut... | NOK | http://autobuild.buildroot.net/results/8a156a662478b5cd45a0890a819b00db6ca13b2b | xtensa | fs/oci/oci.mk:99: /home/aut... | NOK | http://autobuild.buildroot.net/results/296654514ffafb5e2c50554e287f5a818d15e2fa | mipsel | fs/oci/oci.mk:99: /nvmedata... | NOK | http://autobuild.buildroot.net/results/0ab2c6b276d63a90f8a6291e031a037c561cb446 | mips | fs/oci/oci.mk:99: /nvmedata... | NOK | http://autobuild.buildroot.net/results/6fe401b1801a7fecad9e15175b17c7c296793213 | arm | fs/oci/oci.mk:99: /nvmedata... | NOK | http://autobuild.buildroot.net/results/79f4ceb41f6cd2926d041e58466314838f784d04 | sparc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/9a6e185e22c11388f50a61dd6fb4fa6c4e7ef4bf | or1k | gdbm-1.22 | NOK | http://autobuild.buildroot.net/results/8f7c041c945b006b7b188978775eb379a65f18df | ORPH mipsel | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/6f7ed28f34c8b7820a96438c03f3607955c9dfff | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/e9e9f4aca285ab90d2b2ac50573122966803943b | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/e75d082332c78f4e5dfffb45373fba0b05474c1a | m68k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/5484be815c0684bada527dde52af15805be7ce25 | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/dc0b6b12ec31423826f4047bed8c6d6a5b3c9f98 | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/a5be65d6c8aa821da4ca7a0fc7e4a260bf4724b9 | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/0a64c17eef885c7cca64b7d52b4a7b218bd19f25 | or1k | glib-networking-2.70.1 | NOK | http://autobuild.buildroot.net/results/6dc9c1c214a76968596054f809f75e2a04ea3764 | ORPH riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/c0729bc3e24fed3307494d44f40701eb2497f598 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0dae755a29426819f793bf34c18a5d83b87d4b14 | arceb | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/b53c3bbc3d16f9236531f995670efce2593f0b3b | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/905775dd7dc9b4912dc722b3eb5dcc231c102725 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/402af2b3c47eb3cf1ac0d382137572fc35d0c903 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/5ccc985ee43d51bceb552b74edd079c6e314b089 | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/0ed1cf35b577dc5b6fc8bb48da2cb6b9da29c251 | powerpc | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/be253e409890e9b954b04eeb07108fb5c3b1d415 | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/4507dc391dc39e1303a1f04e17685ebc4d4a4450 | ORPH microblazeel | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/7c46e0d35b9aeb57508346c34b98cc1efa7e1564 | ORPH mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/192ebfab38b962163eac3223b88f78bae68e2afd | or1k | gst1-libav-1.20.1 | NOK | http://autobuild.buildroot.net/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a | ORPH arm | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/5709acf2760a86e4a64137ea7bb9cd99752cc4a9 | ORPH mips | guile-3.0.8 | NOK | http://autobuild.buildroot.net/results/d14760e28d65db12dc56b5b5acc2fa6543d841e5 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/652a658beadb030a3ff80dbac0f6cc906f211b04 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fb0bf33d83483c9b60f3537967aaa0084cf56ed1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/79373606e708cd47837bb52ef5e1afc8eb58e285 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0af7eab572c898b5611ed97c7feed8eaf60f35f1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/68cf5e0737933d368b5beb7b02b1bf71ebdb7a1f | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/49d70541d7252a973f6941e2a4027fed2e4fb395 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/006df6858263875292c4d9cd110fbe9dfedfa727 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1368303975d6fcf91ea99d0f39e76dda7a9df57a | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6c8c826ff5a521fe3771d31207e37d200818dbe9 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/408e948d097a6691acd5b82e88c2572bbf5d6ba2 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a543f4ad42505d121a7d18ed9f21a101aa1b6471 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1a17352cf75373b63846dad51d4ff94d6029aedb | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/139450b6c8d37af57229cea8623e77d2a4012e5d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/104313f3d79978dff755cfc49d52887c8c1b93c0 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3369151d43e2745cfebd7f31cb59e3db5ed98165 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8cece26547d3fe11be143cdf1df6c2ed38edd672 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/767e5267e800663ece9f5f0e2b78db61e388a466 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fac5da65c48ad69287d12bd4fb9279aa30d76e3c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5f6635e0c2bca640fa4cae85d8111ff207e511c0 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/33ef4c39bec33ade8e835bbb30d1baaf51802470 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/44a5c04358f1b9a4e2b5c6227ccfbcb0bb1080a3 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fda4b668340691e37cd219394fde8470cb1ae823 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cd425d5710722c6c83a39cb8735d3ff9d9a51172 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4c7f20bcfc2e8652a370f4860c30ee5bf381b58b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f556836d6774770cbec172c54f50b998d037ae19 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/403cf787c7b21f356163a2c81ef424a93332abbb | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/69c427bc2ab2cfcb8ffbb37fc79e2a5819869454 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8a21d8f8cd31a3020f7bcb75eebfde0941b858c8 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bc111cdfd6be4d13410efaee5058f45634e0414d | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b7c49f9bc2092abdf825775bb6f578af4c40f7df | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d2772aef7bebba5af89588bd4f5a66e226b054f8 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3795f9d29512c84cde7b086244f7bcf6c6e26a57 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/48d921c382bd2e560aaca8f691a8ccfc42a8c8f5 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f76c4f3f78c346973c6fe5388b967b1f74bfa108 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c28611a43b17665c158e128c81a395026b253814 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bfe27e81365738e25236ce84cbf0448469f6c6eb | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5976790f5fc4d68cf3b059cd693be5dffeb2d53d | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2bacc3349fee5e7a49eb153d6271df3e43711274 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/704d4306ed1ab829bba3588096e70fb1664d96f9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/860f43326498b6b649c394a124db4dd223329c03 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5a0ae7075b87fcd38f3de3eedbd489581235569e | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9020901c74977df9c1084b842cea3464b4589b4e | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/07a2585687ac16672b74ac10329e96a892fc1c04 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/42afeaac69fe1ee71201c5fc82cbcd0e5460afb4 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e3205d5229c57d017419e758aa34aea6f20624c9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3845519561292e797f7586c6ad9614458953da6c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d44cc0335c43f1783edba345bb1bed228c12b3d1 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/660cc72c0bf1de64cb8e8df20846afd1888b7124 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5c80923e5a23ce079fdc008a502c31d0f37c18fa | xtensa | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/1cf6617a198c5821bdf0486d03d7a35f4f1f3d6d | xtensa | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/dc5bf70235b6b4ef92ef1beb995c773037173920 | aarch64_be | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/fa55b41231d156a5bc56360fe72138d249e0d1ee | armeb | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/3a03c6bfcebfd18df971ef739070428436548884 | or1k | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/a151e8e61b50f006ca5006bafca4271f4841a3a7 | mipsel | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/a21bbd96d66148b70fdd5b027e21e5b2016dd367 | mips64el | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/c19785169c34e372724aeb975c9e319fc016e159 | aarch64 | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/c03095255a3680ae58160e0844d350e5867c8c74 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/602559268e44af696e716cf252e922b840f14c37 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5e4fb09096ddcbe641cce2799ceb1bf880b67665 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/671b66cf1ad809a272a58eae693b8b7efaebe61e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/308005a546285be6e9561b9ffe225db6464b37b7 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ca7eee7b94b52cec65fb4674bbd30d0b8baf28bf | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2833acead90bd1fb61d4eb701d88455dc0401508 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/0f282f4617a746255fda3b679155c5d29e699ee4 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/61ab82bab53f6c0618eaf0b21001fcc6c84e94d1 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/053f5173b39a17bd5bb5041ef4a096a977e5584c | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e67f82e36d56ca84339c94291fa94b62b3d8a050 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/d2394ee0cbb9a6f74bbacb5b28a4fafb18cbd38c | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1d512401165be19bcae6c535deca5fc4b1adfd67 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2d75bcc1f5d205148184bfb79b6e2b7c9465a07a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/d16269768f8a4df17d61694495f7ac30399aed33 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1447e1970606f05bddab37b949036baa21a7f81b | ORPH riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b8132b762a289a94c92d4b12055eb25afd20186e | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2406c0da7c6d4bb67f4da6f575bad49b95699abf | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d8eec955b0b32a3583b1e7f59a5a80d1ab937b30 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/91bd86bcfdfd03c93be11eeeb1d2e61eb36fb4bf | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5d4b6aea91be6712a6996a8992a0ae9c5199c43d | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c803eae1579ab6d648077aa76b93b43c18bf7b19 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dc109c0f84e432c624543df9f4ce1d963c0f23ea | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/298b97082a7c6c5fb1b7949285fdb92ea116dcd0 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1e0e48c23aa531b9456027dd5e66d49b593535d8 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b08ed81c4b4687d781fafe9eea14ffddb2e75546 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/aa8fcb8fb61ee1bb9c3d32032cd8dd2a515f5480 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/660e801b5a3a2fd358d9c9171548006c772ed1ba | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/985f85f47c994b43c6fae4651197bade73414217 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9f6adcd613cf8724e9731ee10ebaa9120ba2cb88 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f69493e64c03ab2d367a7f79d05e4483450236df | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b3a89908d9f968b1e9cfa0817c2ba1a663c72782 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/414dc627f6fd057fa9633dc05dee27616327cccf | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/292e0e46cc397a8995f7a4a86178f04ae2606e19 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a202a8a1c4221d9dbf29b2945d651f07fe9e176b | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6a2837ae595998d32dcc5a9c90ce19bb8674a2f0 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5aab33ecefeac462fd5f68a8d1afbcbac7210b9a | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ebb2cbfb673cca2e1034e88aa5a7aaad9f03f9a8 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bd7923f16e64f7641b21a565859303dc9d02f6c6 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e71f5fc61a5b317e368716613cddc05ba677131b | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3c3caf75d4166608e66aae0b57fd8056938724ad | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/25904bb640aab2d709b4f066eb3a5a236d8f8e6f | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4eec5545493e2469990314fb2fd1f6df8f6d84b3 | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6a24223fb7b3f47096e2dc22dbcc35464b2e9e89 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d8266427e859a578cad6011b306bb125353a7c23 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/05f19b5ca20beded6d49fd3b9de03c9dc4759b46 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8759543cb6ac8e310c6d33e4874ac6325a9741a7 | powerpc | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/b158e78f5318fafd7069f32cd142ee4df2c501a1 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/90f43fe969fdd52e8696fd4232b2181b1b233094 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/6679fdfc9329c97f1be2ac12cd5623d0cb22ac00 | i686 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/f80f7ff2fa32e0e09712db6aee0268daf833af71 | powerpc | host-gcc-final-8.4.0 | NOK | http://autobuild.buildroot.net/results/968e70b3df9d41fcadf7435417d6b5e53f89957c | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/cb120fc480036b5fe7c1e3d5627d0c33d7f117b1 | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/51f8dac7a0a430f96082564bfcc75f468c2d76f7 | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/1aa26d9ac79e66b6d089f6df20462eccff7baffb | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/f61bcc0b4b18eebdc2f48f55de4617928579bfd0 | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/bcaecf3b7bdeffb412fbcd57eadb91791144d662 | microblazeel | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/90cf12c95494f87eebf2cb103c3ea7076dcf46a0 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/1e1c3eef45e6f826ebbfbb61538b2f03a31b4747 | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/a33bae47ed0a6f4fd76e6934f5d9c2e33f9820b9 | arceb | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/1a814c652fdda02a7a8388f44acedb61ecacf693 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/deeedf985ed62e2cfdbc91fcbb1eb143dfa81f1b | arm | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/d36fb2fe9591e8daf1b5a0449a829ff4bcaae5e9 | arceb | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/2f0584c487a72b8cf4284101e9e569778bea8933 | nios2 | host-nodejs | TIM | http://autobuild.buildroot.net/results/b9e7f5c0e6756ae2cc0c7521cbd258d16eb9e809 | s390x | host-nodejs | TIM | http://autobuild.buildroot.net/results/0098787e531a7e2d62e6d0b66a9f122200abffc5 | mipsel | host-nodejs | TIM | http://autobuild.buildroot.net/results/d2ee28bcaecd4391a82b8107e0aa2d6fb224c154 | powerpc64le | host-pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/aa42be64826876fc1bff21f3f596870d7a405afd | ORPH i586 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/38fbdbc8c6a69d9e47938898f34ace8d02438500 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/299ea0c125444b6fb17a6942d6d1726a38a9cf99 | ORPH or1k | libcap-ng-0.8.2 | NOK | http://autobuild.buildroot.net/results/9f647c1e142afc98e8a99a012bf37c44782e5b41 | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a6c5f847349ea6abd17a9bac28622e73c68a806e | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/09ebe27b7fd08c312eeb3018a8f1a78299084a2c | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/4692bd47ed2d3e0c8bce9cc3b4bdad814a93d910 | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/32e3e8c6cdb1a08b7497a1d6e49def9e4744aa44 | mipsel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7e14c942d9a47a787e61db0d94e425b33e159b3c | i686 | libcoap-4.3.0 | NOK | http://autobuild.buildroot.net/results/ecb51283d7bfa052d8b8271efb0a5621450672da | nios2 | libcoap-4.3.0 | NOK | http://autobuild.buildroot.net/results/30022e437f349459994dccfb612773d529d97a20 | sparc | libcoap-4.3.0 | NOK | http://autobuild.buildroot.net/results/9745b0610e70b5636a1dd80e93df20dd0f69ed39 | xtensa | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/a45b07aaeff896ba6fe6d6dfa9883107e1aa4216 | powerpc | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/8f5d9edc8a9ee87561d11a136b55717b4882c282 | ORPH powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/324d1557d81b055e573ee86ce62977dd4ec8b510 | ORPH i686 | libkcapi-1.1.5 | NOK | http://autobuild.buildroot.net/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 | ORPH riscv32 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/86e9f9126669b70f22c41ae96a7cc6f0e010f2ee | microblazeel | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/fc57efb1cf5b95a274bc10e4d68641f10c553f78 | mipsel | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/078957b0c24fde17227ae03543a986bc9a583b7a | sparc64 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/94e063c288212da3dea0ddb36a50efeab21d8c38 | mipsel | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/0d042d0be233e6995b566425012f62e4d85d61c1 | riscv64 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/e2a2a8ce2148ef7a31897d54de90861b2d7aa90a | nios2 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/9b542894f4f6060f53c9defd017d3be86d5f1c11 | mipsel | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/965cff6e1dcf1f7f1444b178c9e92431b2327f4c | mipsel | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/28938c2bd6a4783db131a43ce1c79b71669eaac6 | mips | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/ac0f4564d9bd3121cccd36649ed27c00fe984951 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/8975fe0d10cd15024ff0e4897d0632dd1dd1fe5e | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4cf3a920404dedc729ded202f203c1086412881a | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/f73f1a8e8fd0b6e053a66de3a6364804d682f8c8 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c45ae79d291f562ad96ffa25f6fcc12e040e5bd2 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/5da390a1c5cdd44fda576cd8a79e067844648fec | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/18b6a81bb3c5e85a4a2e62023e8e5df361a9a257 | sparc64 | libp11-0.4.11 | NOK | http://autobuild.buildroot.net/results/de3b1e97796f717eac47d291911e3e1517cb557b | ORPH xtensa | libpsl-0.21.1 | NOK | http://autobuild.buildroot.net/results/32d1f8dc1c8d1c81deecf645bc0455b14b694ef6 | sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/57f13f14f3b8590af9d9529c14d3344dc129a2f5 | ORPH sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/5a1a8a5dcce92567cbc8c943f46637f1acd68b14 | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/83ff578f515086fa5cce9acaefd479b6714b34c5 | ORPH x86_64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/6a7e90f8e8936f65f8c7b40afac67da2ad9db918 | ORPH mips64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/bec994c06ef5648118936097e9a1045ee4ebdd45 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/b96719be7ef33b6e67c132c6e13f2272ec5cd18a | ORPH i686 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ea50ae7ec1530bc247c298f167b06b28226087d9 | ORPH xtensa | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/793dd3f837343a27f2950f6ba169505fe3482147 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/f2da690a0bc5bcefa6e93e3ab636b493e2b7572e | ORPH microblaze | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/bd3433a2fa80b5a0916f357e0fa6159d6422a639 | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/2442e4692392aa35035e1469e3acb3a87de3c378 | ORPH m68k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/3c134754c4dc24a33c04fc0b0eed3adba2e9610a | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/4cd27f2d03173e4944dcc9d4723999053dbcd4c2 | ORPH m68k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/dae63f519bcdce46fb5edf9575b88d4dcd1277b8 | ORPH mipsel | libsecret-0.20.5 | NOK | http://autobuild.buildroot.net/results/890a67a0e0ee59f107b2ac14918614da65ecc8f7 | ORPH powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/392f595dcb0b0b4cde7051b3c2da0c51d9ce5971 | arm | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/a2d9241cf54ca80a373f1e961c2a9d840aafc72b | ORPH powerpc64le | linux-headers | NOK | http://autobuild.buildroot.net/results/79da95f2d3737f166bea615f0ef986a756bca1ef | ORPH mips64el | linux-headers | NOK | http://autobuild.buildroot.net/results/539243a3c69342e50a94b7ec321c1cde765b64a4 | ORPH arm | linux-headers | NOK | http://autobuild.buildroot.net/results/673e3ac3ee3629d8ed815c1e8a982e2081b2e7e5 | ORPH m68k | linux-headers | NOK | http://autobuild.buildroot.net/results/e05da1da5088bb6bbb9990b1f93b0aaa7f5e614b | ORPH mips | linux-headers | NOK | http://autobuild.buildroot.net/results/3f567a25d254b0191bd77e3f3a28d703bb64dc3e | ORPH or1k | linux-headers | NOK | http://autobuild.buildroot.net/results/2982d85eee6a6c30924d80190a7e3c0b3be5113f | ORPH xtensa | linux-headers | NOK | http://autobuild.buildroot.net/results/be6e30e17c17c7b2effd1493b234fdcb75c603e7 | ORPH arc | linux-headers | NOK | http://autobuild.buildroot.net/results/080202036ecb1a98e3c35b368949c10e277e64f8 | ORPH mipsel | linux-headers | NOK | http://autobuild.buildroot.net/results/464f12fc3421a9fb17edc55edd419ec86d175fd4 | ORPH x86_64 | linux-headers | NOK | http://autobuild.buildroot.net/results/31186b77ba8d779d0ca00af255075b011027ee23 | ORPH mips | linux-headers | NOK | http://autobuild.buildroot.net/results/70d79037b71aa5a0175a1e45a5c0762438c61231 | ORPH microblazeel | linux-headers | NOK | http://autobuild.buildroot.net/results/f037d34b4a7c2dda8d5120722517ba0f016f9284 | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/b3196af1fd3436b942de8c16663669b8d73d29d7 | ORPH mips64 | linux-headers | NOK | http://autobuild.buildroot.net/results/838661da6622b36ae254748ae021c9e6da15ebf0 | ORPH powerpc | linux-headers | NOK | http://autobuild.buildroot.net/results/f3a60de0c55eb2424a6372d4d22a3019118583ce | ORPH or1k | linux-headers | NOK | http://autobuild.buildroot.net/results/7d9b0ab594e98405458a1c17be922a76c510b5b7 | ORPH arceb | linux-headers | NOK | http://autobuild.buildroot.net/results/cab88c81f438bafcecf7e8ca5c4832db4c3b90d8 | ORPH x86_64 | linux-headers | NOK | http://autobuild.buildroot.net/results/ed1dcad2c20d0aa5ad2be3b3829132969c8f0113 | ORPH or1k | linux-headers | NOK | http://autobuild.buildroot.net/results/dd15777c03cdc4a0154bd85049af2609962e8195 | ORPH arm | linux-headers | NOK | http://autobuild.buildroot.net/results/f5c36377360740eb8a1ff6c8c011ba64713f9e55 | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/2cf3e9c5983402f21b4afbc0374116c263cfd91a | ORPH m68k | linux-headers | NOK | http://autobuild.buildroot.net/results/69ba6720fe32ca4290cffb6700a783f9092c7ac2 | ORPH mips64 | linux-headers | NOK | http://autobuild.buildroot.net/results/a34b52645155786a02f3bd9fd67ce5394380a4f7 | ORPH xtensa | linux-headers | NOK | http://autobuild.buildroot.net/results/35c35ec7f63f2ea9748645bc96459b70da04aae1 | ORPH i586 | linux-headers | NOK | http://autobuild.buildroot.net/results/7c00e45517083a65d1c4fdf75dafbdd63770a347 | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/e2175b1672540668bd8a008dda5577042231ac67 | ORPH s390x | linux-headers | NOK | http://autobuild.buildroot.net/results/70390475c4073c56e4cde051eff0474cc433203d | ORPH x86_64 | linux-headers | NOK | http://autobuild.buildroot.net/results/e5d4318c7ccccfa94fd916788a611ac56e21c792 | ORPH arc | linux-headers | NOK | http://autobuild.buildroot.net/results/8bde93d2d2d160fa1a0ef724dc6d99ba454a8c6d | ORPH sparc64 | linux-headers | NOK | http://autobuild.buildroot.net/results/0167300f5e55acce1d55661b91c765020f4bc455 | ORPH m68k | linux-headers | NOK | http://autobuild.buildroot.net/results/6d065a32fd3a8c30f744b3e16b6e0cee09264fe5 | ORPH powerpc | linux-headers | NOK | http://autobuild.buildroot.net/results/117c08e414776202446a9fdb96d084aa3c16af48 | ORPH nios2 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/07982405be231fff697de67d50470a121bf0408d | ORPH aarch64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/898ddaddeeb443bcd82751c9c357be66cd75da90 | ORPH mipsel | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/9e2b54b3c3c324e78556c348cda8b167f7152410 | ORPH arm | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/d37920e88ae64a9b20e6fcbb5409857a16716834 | ORPH m68k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/663e661f1271b2cf7e71165b3e455b6a973622ec | ORPH arceb | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/add383aa8c568e40c066fb827b2bf88dc157007c | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/103b3defe0ceaaee05bb7e66b5d49c75b2adaca5 | ORPH sparc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/bdeee9e005ee5a033656e28105ebefd9d15d1224 | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/e802d96f24fc023b2ce0ed720b681a8ba93b047f | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/6ddf674c54942243d2f415f2639bf1aa0d3b2d09 | ORPH sparc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/c5b7a96d62ead11751ceeaf011111a9be868ffbb | ORPH or1k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/cf29526cd3fa20a00738f9aefccbce3eb73ad7a0 | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/04fc1209ca69b080ff534f0c6e921ffc1f196a07 | ORPH mips | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/3bb26d656a639e65e18ff6a44ec1fec43215d147 | ORPH riscv32 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/29822f351289c59bcfb2b9ec2125e589996b543e | ORPH arceb | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/d100677bd2ecc99f06728b1326364ca72fe66247 | ORPH s390x | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/77404453d35031c872e9823ede2063966c4435ea | ORPH xtensa | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/34ac8b06e765ec6534c10390bca956a06fd53fbf | ORPH sparc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/123299c24298f433233575699e23527d0920082a | ORPH microblazeel | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/dd8a760df103c770aa5ac08b76b2ce4eb373d928 | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/72ca69cf8388b979ab7b90194bedf8bfa80c7e7a | ORPH powerpc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/91ffe4a6e15c5db295a28a8f81dd2dcb493582a3 | ORPH mips | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/a1d548c7962b09ddbaadd0407be4803103c48175 | ORPH sparc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/ab25569956ff205c21a0be9d6a319833ed014f7c | ORPH sparc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/046699580b10bd45f7838d1348c1866c4c200bd2 | ORPH sparc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/3760a7503056152fb60d86b096d2bd02aa3c0925 | ORPH or1k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/abbad243e94dfbf947a56f5626f2d5a62c627092 | ORPH arm | liquid-dsp-1.4.0 | NOK | http://autobuild.buildroot.net/results/e6280e300c3d0c529bd3837878ac3e5a17df5543 | sparc | lua-cqueues-20200726 | NOK | http://autobuild.buildroot.net/results/c20286be4d75d77ee5ec6a4031a6b4b636ef10e2 | x86_64 | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/673fe08821cc7289524193e0a0caabf42757ae64 | microblaze | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/2002004505f6447d1cb89246c211a1042d46132a | arm | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/ea438067973a1743ab72e3d5968115b58ad5ce58 | aarch64 | mpd-0.23.6 | NOK | http://autobuild.buildroot.net/results/527ee199813abbacd61c3fa32b517ea60af60659 | xtensa | nbd-3.24 | NOK | http://autobuild.buildroot.net/results/3264ea563a178765f09ec774a02973839ff063cd | microblazeel | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/b9b764caed95375957c684df54c882af964d1fac | aarch64_be | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/47157a7a1e48f9d52df423e232267e736e158424 | s390x | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/cde158600d70d208517a4f05a9424979f2778b1c | ORPH microblazeel | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/45d762bc423d6d50baa2cfe31269011af3fb8d70 | ORPH sparc64 | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/83f75ce9fa190e31b1719d95733e7bcbf0f038df | ORPH xtensa | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/641a501b67fc15a59bfb7d8a0214371e86e9c2f7 | ORPH powerpc64le | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/219e624fb935ad6bed44c6a92a63b519307927fa | ORPH nios2 | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/93c15e8ea8409844ebdb27c5228fbe31e2f66dbd | ORPH microblazeel | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/e541b8aaaa9814f794aa7595c2ebbd286a37d0cb | ORPH xtensa | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/f8bbb9249268a070093f3176b9bd4b643fc837ac | ORPH arm | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/1c32be0775fab73c78620278d9c522203569b99a | ORPH xtensa | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/d9c248a7487fd487c72f2d2fb498adc0d508c9af | ORPH m68k | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/31048466a486bc6d8d15884b5d4b998606ab2c32 | ORPH arm | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/79363526ad787cfa829d5071969b86d03c6ea634 | ORPH x86_64 | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/d7f486a213b35f1535e016974ab5a811d34d3240 | ORPH sh4 | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/f3a3a094034b5506dd607d7c8f4e372db6be646d | ORPH microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/37d84ffdac86ee45f0a2ac8413b9a15b76e4a94f | sparc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/3d9e736a3c2f3eea5138e737759dda0266f88228 | arceb | pipewire-0.3.48 | NOK | http://autobuild.buildroot.net/results/6019f4e9676743685e8af81d60ef198c1eba1fde | sh4aeb | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/9e9ba93320749292f743b7581af4a73bafc906a1 | s390x | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/722d83d5d98b38f2a154f94a28403cb5664a16bb | riscv32 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/59f4125a5f9e7adbe73adf95536f8e5e6532a764 | s390x | pure-ftpd-1.0.50 | NOK | http://autobuild.buildroot.net/results/cb807663510a3c658e70f1a4c24784ec40a0e552 | riscv32 | python-brotli-1.0.9 | NOK | http://autobuild.buildroot.net/results/dc17eb4c447353bb4c21f22f2d562e9ef3f16aa5 | powerpc | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/b11600bdba42be9b211163e92afa3173276c3f8f | mips64el | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d068fa60982e8903565a3d9e99a486d0c36c88c6 | powerpc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/377a3c32f1272c8f1bba30b15a1608cd1d413f00 | powerpc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/c457a79fd764e152cc209064569592dda4d19e58 | microblaze | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/95c8e7d1656a0256213a3b7fda4ffd2a0f6f401c | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/8310138563c1ad3ad52cb6b33c1cc6acd7766252 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/1b270dd3dbf62fd989a02a2fbe0bc3b234ef2b2e | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/dfe47fdd594bad248eecf16ed7075563ca049815 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/7db854c40b1fd4b69480fe0927b217d3dcefa995 | arceb | reaver-1.6.6 | NOK | http://autobuild.buildroot.net/results/d1d2ca05f97ebafcad4d8e9e0e56642527d69b13 | i686 | refpolicy | NOK | http://autobuild.buildroot.net/results/696100891ece88b54a2a281817245384052743a7 | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/8e3e46b8d5b163a1b736e36a5458f74bb2f82f3f | armeb | refpolicy | NOK | http://autobuild.buildroot.net/results/c34c1a0e37f2e40a7ab67fc8de3d9152c158b74c | arm | safeclib-3.7.1 | NOK | http://autobuild.buildroot.net/results/3f26840b27ca666f963833919fbf08c8c5041cac | mips64el | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/4524430db6503a0117911ecab5ab520b6b4e2e1a | x86_64 | spice-0.15.0 | NOK | http://autobuild.buildroot.net/results/3db7a9887ddae8a0ad6aaabd8dd54ea96c8f9385 | microblaze | spidev_test-5.8 | NOK | http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842 | ORPH nios2 | startup-notification-0.9 | NOK | http://autobuild.buildroot.net/results/9ca13e761ec591c7cdca82add560879e38677f2b | ORPH microblazeel | stress-ng-0.13.05 | NOK | http://autobuild.buildroot.net/results/e3293fb1106ad5ddc6ca77ada78bc65298888a4e | microblaze | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/939e1e5f4be7dbfb48a84d7b8373c93e93abf251 | mips64 | sudo-1.9.8p2 | NOK | http://autobuild.buildroot.net/results/e84c8494149da42acb5d149ee3d06319836010bb | ORPH sparc64 | tpm2-abrmd-2.3.3 | NOK | http://autobuild.buildroot.net/results/b56725abd8652103b7a0a2b146899308391708e7 | ORPH i586 | tpm2-pkcs11-1.7.0 | NOK | http://autobuild.buildroot.net/results/752509ecd0497984cd44bfe3cea5a1c1276417ed | microblaze | tpm2-pkcs11-1.7.0 | NOK | http://autobuild.buildroot.net/results/aaedb264a68918428ad805e748188c0073fbfac1 | powerpc64 | tpm2-pkcs11-1.7.0 | NOK | http://autobuild.buildroot.net/results/dd4e7a0e048104d7d968f3d4b053f707530c198a | aarch64 | tpm2-tools-5.2 | NOK | http://autobuild.buildroot.net/results/fa77515df1986882dbb96dd37a7b9045bd4e4ada | ORPH aarch64 | tpm2-tools-5.2 | NOK | http://autobuild.buildroot.net/results/799413a002ed1241bc95b88e9275e9dfbf89774a | ORPH arm | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/9dbd3f6282d5681e9fe51843b010b786bcae9140 | ORPH or1k | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/cae6cb9b88aa35de80394f5d9f97380a3016fdd5 | ORPH powerpc | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/d232b584f93837509b36fc29e1526240305d0dbd | ORPH or1k | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/52d19da5e157f3eb24557d9f64118c7dcd5f07ea | ORPH arc | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/2d43f0b90a808ab54196ba0bfc11f37d60c75043 | ORPH i586 | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 | arc | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/3589c08d56f22785ab5d0891ddb21996b1d50adb | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/e8306c4577d216bb1b13df483bc6bafb872d5ab4 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9366f61105bb208327b752e1939e07bce817e67a | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/4d66e80f4ca74fc2905ec92fd91aef804e682def | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/8b63ae3640920ad8303ab2b0f78f3a2a76618212 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/609373d42602c33200a61a9c303d8477adeb2832 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/a90b0bb9c7966ea290a2aa9b53e3fe4cf444bd6b | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/caa403ad1feb20731e55ec4262d18d8ff206836f | arc | unknown | NOK | http://autobuild.buildroot.net/results/02ddb8ab91419f37c8eceb27173463b21f1a21c9 | i686 | unknown | NOK | http://autobuild.buildroot.net/results/67f51bfe12f672e296fb9ad46c7538fa98a1abc8 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/8d6d5ae2fcecddd62fa2c22159b37153b62e13df | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/00e8786140baf96a4f7fdcbad9bce7767cdda7bf | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/2859bf712214baec0175deb1e1c4ca10156d6f85 | s390x | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/f51b0e7eafd0c21ce09a9faddd3e996233246ad3 | xtensa | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/795117fca796d4cc1d0dd14dd55b11e87cce2852 | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/fae4a9755093aa97ccf5662a917e6aa46b8023f0 | nios2 | wireshark-3.4.12 | NOK | http://autobuild.buildroot.net/results/de91f080966851e82a20fe0842a25bad934e9b92 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/d57cdffc28201948d85b54ac789776f58cb6b0db | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/9234be48d389ed74ad0db2f4ec594b0b9f39e34e | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/35d4ca3881c3db42de9f73a2f0a92f7d43c62839 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0460845d361472b44cb27459977be7ea47d3aadf | ORPH Classification of failures by reason for 2021.02.x -------------------------------------------------- linux-headers | 6 host-binutils-2.32 | 5 host-elf2flt-7e33f28df198c4... | 5 linux-headers-custom | 4 git-2.30.2 | 3 host-gcc-final-9.4.0 | 3 host-cloop-3.14.1.2 | 2 host-gcc-final-10.3.0 | 2 libopenssl-1.1.1n | 2 minizip-2.10.6 | 2 python-pybind-2.6.1 | 2 argp-standalone-1.3 | 1 bind-9.11.36 | 1 bubblewrap-0.4.1 | 1 fs/f2fs/f2fs.mk:62: /nvmeda... | 1 fs/ubifs/ubifs.mk:47: /nvme... | 1 gensio-2.2.3 | 1 glibc-2.32-50-g737efa27fca5... | 1 gmp-6.2.1 | 1 gvfs-1.44.1 | 1 host-audit-2.8.5 | 1 host-diffutils-3.7 | 1 host-gcc-final-48152afb96c5... | 1 host-gcc-initial-48152afb96... | 1 host-go-1.16.15 | 1 host-llvm | 1 host-sentry-cli-1.57.0 | 1 libgcrypt-1.9.4 | 1 libkrb5-1.18.4 | 1 libnss-3.68.1 | 1 libp11-0.4.11 | 1 libudfread-1.1.1 | 1 lmbench-3.0-a9 | 1 monkey-f54856ce250c4e257354... | 1 netsurf-3.10 | 1 numactl-2.0.14 | 1 openal-1.20.1 | 1 openvpn-2.5.6 | 1 pixman-0.40.0 | 1 rocksdb-6.13.3 | 1 uclibc-1.0.39 | 1 xenomai | 1 xenomai-custom | 1 zeromq-4.3.4 | 1 zlib-ng-1.9.9-b1 | 1 Detail of failures for 2021.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2b18c128d9954d1d82c70819a3b00dcc28507d6d | or1k | bind-9.11.36 | NOK | http://autobuild.buildroot.net/results/f66c92557cb4f379e1dd7cb7e1d880badc65c935 | ORPH s390x | bubblewrap-0.4.1 | NOK | http://autobuild.buildroot.net/results/29da2544789fe3a2743befd298cc7e0dd2c38e3e | s390x | fs/f2fs/f2fs.mk:62: /nvmeda... | NOK | http://autobuild.buildroot.net/results/4ed55024b225ea7f86aead221301659314bf5ef5 | powerpc64 | fs/ubifs/ubifs.mk:47: /nvme... | NOK | http://autobuild.buildroot.net/results/fd5968312772ce3e5564d9f513456de27c4df962 | riscv32 | gensio-2.2.3 | NOK | http://autobuild.buildroot.net/results/19b24b842ee7f592c00ffe7163690eb80f283ff9 | m68k | git-2.30.2 | NOK | http://autobuild.buildroot.net/results/73705c4b7926600c4cc7cd4e3b7dc7a75d3438ac | xtensa | git-2.30.2 | NOK | http://autobuild.buildroot.net/results/82b97fb707c468e311c8ec222aa6ed2daa459f9e | sparc | git-2.30.2 | NOK | http://autobuild.buildroot.net/results/3c5b32717cc177231b656e3c2b52f9bf50e4d7fc | powerpc | glibc-2.32-50-g737efa27fca5... | NOK | http://autobuild.buildroot.net/results/6616772dd54922fbc325a463c60aec3af01268da | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/2dbe5cf13eabaf22500c6cf9d0206375526ee651 | ORPH aarch64 | gvfs-1.44.1 | NOK | http://autobuild.buildroot.net/results/47acf225cdb19b9d6191c3f452d0c3b8feb7ccbc | ORPH microblazeel | host-audit-2.8.5 | NOK | http://autobuild.buildroot.net/results/04dc08ed661b5531cf23f1ec6c0e91064b9532e8 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a1a2e42c7c00280ea0387de51e9bc840929bef8c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/43276dbe70729a999a0550e728b47570272e9e1d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7c43259ae77e8c6e44d414b79b83b13080ba38e1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/93f8ac5f80fd835066a9fc99df33bca97b6e95fa | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0ce10d424fbb98bd7efb1e8efcc846d1fd5e31fb | mips64 | host-cloop-3.14.1.2 | NOK | http://autobuild.buildroot.net/results/b4d0b7d1bb00324617eccf8d6981e3cfd9e8eaa6 | x86_64 | host-cloop-3.14.1.2 | NOK | http://autobuild.buildroot.net/results/af65fdc6b351cb17ea8d7b6b46629df143859568 | nios2 | host-diffutils-3.7 | NOK | http://autobuild.buildroot.net/results/b3ce5cec5f4017d4c0c8033490f1b62ca7beaf83 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/70133cc6c059b0a7ecef366e44b317b77e172a46 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ab9cf22c24408c958ba75047ca52fd7c6cc7557c | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ba23050aa1c87616adee627b066fa660773c567a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/092922705a62c19d78bf5225ab6f99ce7791255f | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/dae70416f4490cd518327d701696df30ce25eb8f | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2b6bfda1ee977eaadf2c8e5eb5c45dc2bceaa811 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/35033cc0903c2be76a5ce91a80904d41366b482a | csky | host-gcc-final-48152afb96c5... | NOK | http://autobuild.buildroot.net/results/6cc9ae6785e6ec47cc7ec40b8ac3aab34856e877 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/2267e7e7e60ab57d993316c9baa69c75d1b58f94 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/18685773dc0fce741cc83fc697a3240e73341360 | powerpc | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/3f5d9a484a01820f787c7e4ab5ea5c10c2474930 | csky | host-gcc-initial-48152afb96... | NOK | http://autobuild.buildroot.net/results/46846aa855c5b951ecddcf24c0676eec8288ed8c | mips64 | host-go-1.16.15 | NOK | http://autobuild.buildroot.net/results/4e7650f6f0f08cd8e02095bcf69019fbc871ebb8 | x86_64 | host-llvm | TIM | http://autobuild.buildroot.net/results/92e47e7ece9a65a67511af51478d785b77173dac | or1k | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/62bea34f5651e69c07791e82209931ea8b9c0865 | powerpc64 | libgcrypt-1.9.4 | NOK | http://autobuild.buildroot.net/results/29b6ebe052eefa1593bfd856589b8a37f9b2e7e0 | ORPH mips64el | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/619de194848fe5e61aed80fed93e5e83da1dde6d | powerpc | libnss-3.68.1 | NOK | http://autobuild.buildroot.net/results/01f01654e284025a94140800d045a3a3e3416b52 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9f57328258006e51f4e12f5681288d92b0ac30ac | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2e18899bfe12fd2565af6666222e11b5c8517991 | or1k | libp11-0.4.11 | NOK | http://autobuild.buildroot.net/results/066175e725e16ca2e050a7f2e3200bc58caff227 | ORPH m68k | libudfread-1.1.1 | NOK | http://autobuild.buildroot.net/results/8cda24ca0edaaab048fabb1675fe4fd788fed370 | riscv64 | linux-headers | NOK | http://autobuild.buildroot.net/results/fe5159e0261974ea1afea74f0884582ed4f7c58b | ORPH or1k | linux-headers | NOK | http://autobuild.buildroot.net/results/33267aaa41ddaa2b9c3a2beea986afae33f82563 | ORPH nios2 | linux-headers | NOK | http://autobuild.buildroot.net/results/e378145cbeb4599f62a36b1a67a57aaf0975f2fc | ORPH m68k | linux-headers | NOK | http://autobuild.buildroot.net/results/879c0158e529ded628f28d181be2bd1fd21aaf28 | ORPH s390x | linux-headers | NOK | http://autobuild.buildroot.net/results/d4da389299ffc3ee850b568a3696a39b76777a9c | ORPH powerpc64le | linux-headers | NOK | http://autobuild.buildroot.net/results/cd5c460aecf44052f23b2407f3fe265065eaef89 | ORPH xtensa | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/a534c1e32ecbbdfa5ecb0f06a0c9290ca0a1a291 | ORPH arm | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/d2d49b653625e3d2f1ef32883cb0b81029721b8e | ORPH mips64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/2b65c00fa4dffdd15d8eaabe5a2c89233e792a0d | ORPH microblaze | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/7d90510e54b5093d142ad9be21d7770714c15762 | ORPH microblaze | lmbench-3.0-a9 | NOK | http://autobuild.buildroot.net/results/78746e0b1ee5cac07d3863164f293f0d1b93fc36 | ORPH mips | minizip-2.10.6 | NOK | http://autobuild.buildroot.net/results/81abedc0ee0897910c3f44231c22cde54098831a | riscv64 | minizip-2.10.6 | NOK | http://autobuild.buildroot.net/results/c3fcb936e406eaa0cb857c16b506d437d1250f70 | xtensa | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/3402d37c08bf8ac19db4f2fc75eaeb6a99e36587 | sh4 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/03b8024481bb241cbe7e86eb2dc23abe362ebbc4 | microblazeel | numactl-2.0.14 | NOK | http://autobuild.buildroot.net/results/42a4923b131e2ae37596e8a72710f01d80ae918b | or1k | openal-1.20.1 | NOK | http://autobuild.buildroot.net/results/f84ba3280227d143a0d933a83e9a1e4d86c57c48 | nios2 | openvpn-2.5.6 | NOK | http://autobuild.buildroot.net/results/12fa3921ccbecefc83a0c1401385685d41c6b851 | ORPH mips64 | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/437a689ed8f4814d70cf0d92c765dcb3f9ccb13f | i586 | python-pybind-2.6.1 | NOK | http://autobuild.buildroot.net/results/0e06830273bd90e04c30aaff3ae9377cf4d19359 | mipsel | python-pybind-2.6.1 | NOK | http://autobuild.buildroot.net/results/d46684b015e49a27f1cdd3d9fd6a0abdf87b66a3 | powerpc | rocksdb-6.13.3 | NOK | http://autobuild.buildroot.net/results/9ce7ad945f6105a318067a095805848565674c65 | xtensa | uclibc-1.0.39 | NOK | http://autobuild.buildroot.net/results/653585de6107dfb48b19893a71364ccc6ff64ce0 | sparc64 | xenomai | NOK | http://autobuild.buildroot.net/results/b35d7dd398459e27ed67cd03a04c96382834e76c | microblaze | xenomai-custom | NOK | http://autobuild.buildroot.net/results/b7fa664773af9318087989f0ab6e2efe7cb6ea09 | or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/2ed64df556f440131dc8432f2576d95c199614cc | arm | zlib-ng-1.9.9-b1 | NOK | http://autobuild.buildroot.net/results/f07367eca47dc41ce098382c27f5de05b8453e58 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- host-binutils-2.32 | 8 host-gcc-final-10.3.0 | 6 linux-headers | 5 linux-headers-custom | 5 argp-standalone-1.3 | 3 glibc-2.34-109-gd64b08d5ba7... | 3 host-gcc-final-11.2.0 | 3 uclibc-1.0.40 | 3 unknown | 3 git-2.31.1 | 2 host-cloop-3.14.1.3 | 2 libopenssl-1.1.1n | 2 belr-4.4.8 | 1 dhcp-4.4.2-P1 | 1 exempi-2.6.1 | 1 flac-1.3.4 | 1 frr-8.1 | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 google-breakpad-7515ab13768... | 1 host-elf2flt-7e33f28df198c4... | 1 host-nodejs | 1 host-pango-1.50.5 | 1 intel-gmmlib-22.0.2 | 1 libcap-ng-0.8.2 | 1 libest-3.2.0 | 1 libeXosip2-5.3.0 | 1 libostree-2022.1 | 1 libressl-3.4.3 | 1 lz4-1.9.3 | 1 mender-3.1.0 | 1 minizip-3.0.4 | 1 nodejs-14.18.3 | 1 opencv4-4.5.5 | 1 openpgm-5-3-128 | 1 openvmtools-10.3.5-10430147 | 1 opus-1.3.1 | 1 pcsc-lite-1.9.5 | 1 python3-3.10.2 | 1 shim-15.4 | 1 thrift-0.14.1 | 1 uclibc-ng-test-0844445e7358... | 1 vde2-2.3.2 | 1 vlc-3.0.16 | 1 zlib-ng-2.0.6 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/c4d09054f9599a0375629666fabf6b8ad0c7221c | x86_64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/df94dd30e9b9bdb4b90b9339435ec281bef7c247 | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b1e0c6b118ef6938c2a180ed464396027b003c1f | x86_64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/81abd166bf80940f0ed2dceab356ab0d48901960 | powerpc64le | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f45f6f779b6403d863f7e6915ce5147dca87711c | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/42ed726b3eceac412cb7cb5e600f73f3191346dd | powerpc64 | flac-1.3.4 | NOK | http://autobuild.buildroot.net/results/646bf1d56eccff9ff8a3a4d1a608a43afca3679a | xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/5b4040c196c7095a04e25384527cc15543a78380 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/77c0c343e32e2d6b2dc5f745a538b730ba751ac7 | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/afc76eb7c1f8b3851e1bd18de58b53052f0860f3 | arceb | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/f27d2666e3a41d43be3591bcd4540d3011a61379 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/f42b6dd21dd223acd46bfb57647277992d8c2eb6 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/30abaca223ad9ed7a274cf80c7f6aa5e1b742901 | powerpc64 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/ed084af3a7e9e6c5e93c69d31896586bb7ce3456 | mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/d14a14df8c9bfdb5fe06c902fc4c0a865d830a74 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8d7b7676170cad0d3df4b048bb4bcc69ee0dd6bc | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f1ffb09f327910519d841f79dd00a9e8ce772153 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c57985ba4f310ecd9a151af834d47bb2e0b0bd36 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/11e85e60b5eb617237598fd2ba97f288fed2e5a2 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/14e4a8d7f09d1f47d997b86ae38e3ba83459ee53 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/77003e3a8702f6ab03f375424f8416f0a0803ee9 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1fa663fb89551422a6346aabae154ab6cdc543d8 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/849cba46ef37ddcedb41b774b8f7ba79c2094712 | s390x | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/b1b8bb3b8db82c8c2bbdc6364f63c39346b59f8e | powerpc64 | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/651a74f54a12d8dac98ef97d03cdfb6e9e965248 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/7f68c31b1639753c2060e50dd465316a1e79bc6e | ORPH powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b7bdbf5fae218e6648c475d59f4706f4c56219c7 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/25754ebf46b7f6fc1be6e1e8ec24505b737047b4 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bbb4fd38b7eac62fd3fa8ec41a4339cc9e3ee495 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7617ca3bfe8e92998b93767b6f3db4cdb08f0d99 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a417519405e0e6259472aa0fd2e229f0142c2ca4 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fe8ddea122ade6c9cde0dc786e4faf922a861857 | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/a538c82fe73d1c68b1de0b8082c9a100bc6a3902 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/0fb443fd8bba8894286f4355267096c79e3fc6d1 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/c277f3a1ea9aba6c5b61afdbde75d82ee5f23d4c | xtensa | host-nodejs | TIM | http://autobuild.buildroot.net/results/0005524d40b9a9e9a00ace6c6e97b806ac20acf9 | microblazeel | host-pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/f743959847f91593de84ef240e27a42a1204de22 | ORPH x86_64 | intel-gmmlib-22.0.2 | NOK | http://autobuild.buildroot.net/results/5c4508f06d51f5f7b850974978df036e8688ebfc | riscv64 | libcap-ng-0.8.2 | NOK | http://autobuild.buildroot.net/results/c4dc80a5be8df4b51c5f8cf2ba90c1617f26c633 | powerpc64le | libest-3.2.0 | NOK | http://autobuild.buildroot.net/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/543acfb20a7a64c946be83963b6a60d29510a06f | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4ec21460a032c2a7cf929566a36974707a1f7d45 | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9f431d2cc1a7567a05b158860c76db5ecf5f4e6b | nios2 | libostree-2022.1 | NOK | http://autobuild.buildroot.net/results/393441490bca0979d609815dba03d2f2110fac60 | mips64el | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/dd568fd2ad1cf3899ac52ec223c7305be8864306 | ORPH powerpc64le | linux-headers | NOK | http://autobuild.buildroot.net/results/2055a4453d9a78925578d0a315740e4378fb176f | ORPH sparc64 | linux-headers | NOK | http://autobuild.buildroot.net/results/623b79fa31ccf63c6e8d6d0fc8178633feeb7c86 | ORPH mips | linux-headers | NOK | http://autobuild.buildroot.net/results/52ff9310979dbfa7439615c7026e3978632bf231 | ORPH i586 | linux-headers | NOK | http://autobuild.buildroot.net/results/f229979a99415d7c2f4f696b2631b1c40f656299 | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/d0923bdddcde2b2b1945a3a85a52b083ae3eaa4d | ORPH microblazeel | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/582241bfdff2eeb0825ac198806942448cbdbc4d | ORPH mips64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/a9421068ef06caf5ec27f431c6e73e80b539c9bc | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/da83525615441cc52fe8577674867eaf3e52cd25 | ORPH mipsel | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/9207fbdb61ebe7a2f71c90e051f9d01782e19bf3 | ORPH microblaze | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/b86c66e53eecfb5f70a02dd5f1a51fce2dd38f46 | ORPH microblaze | lz4-1.9.3 | NOK | http://autobuild.buildroot.net/results/e33b35e19256353d08ba989708ff842b724ab0f0 | ORPH x86_64 | mender-3.1.0 | NOK | http://autobuild.buildroot.net/results/621c057c0b8b627c8140456a2b0af4f95d239dcc | microblazeel | minizip-3.0.4 | NOK | http://autobuild.buildroot.net/results/b9cf0e57553bba93245dff9117869efb159f57d4 | mipsel | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/a1fad2cd4427f501008a7e98f2a616bb31fac46a | xtensa | opencv4-4.5.5 | NOK | http://autobuild.buildroot.net/results/58b4ba4c8b6b4e127763f7f6fd4d87a60131419a | mips64el | openpgm-5-3-128 | NOK | http://autobuild.buildroot.net/results/c363d49bb01b33164058b013bbb390379d26e619 | x86_64 | openvmtools-10.3.5-10430147 | NOK | http://autobuild.buildroot.net/results/738e75edafb4da159847d30d736132837cf7f6bc | mips | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/28fa52672b84a2e5e7eb073e56bea41156bc08b3 | ORPH or1k | pcsc-lite-1.9.5 | NOK | http://autobuild.buildroot.net/results/ceb8f41b9dcef35329ab221365233404de4d2348 | ORPH microblazeel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/f6c0c7fd345f919cc3c41019b255f11d78c8756c | mips64el | shim-15.4 | NOK | http://autobuild.buildroot.net/results/3f71fd1919f5ce7972c1f3ff85a7930074b4f9d4 | nios2 | thrift-0.14.1 | NOK | http://autobuild.buildroot.net/results/9aa5d9ccd92cb8073b91107f5f917e9440dac374 | ORPH arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b018b52a7748c010ee900977a64d42e171843ff5 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1280a884e5922b022950905e40b00ebb32e443f5 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/5fa3a9691d63aa6ee0bfdf4e27a0dd3620cc3ddc | mips64 | uclibc-ng-test-0844445e7358... | NOK | http://autobuild.buildroot.net/results/9a10496be1a9d4e1e68f313cb3058f040a11f819 | m68k | unknown | NOK | http://autobuild.buildroot.net/results/89b207e2c1bc8924e27d6f27b3ae670e65c0a182 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/c06d57b57c9d7867e3fb7fedd8b5ab39872af285 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/3d3fc40d1298672da1d1877aaf55aefa92c46218 | microblazeel | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/360aeae32b874cbdc009864e9d7a4cf998eb2151 | arc | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/22290f70a45fc69b5bfdd2a9f78785b9b76e72ef | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0c36503a49ff237b59adc48ea6d230746b0f5d16 | ORPH Gitlab CI results for 2022-04-04 ================================ Detail of runtime-test failures for master ------------------------------------------ runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestLuaLuaLyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618413 | ORPH TestLxc | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618451 | ORPH TestPerlHTMLParser | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618473 | ORPH TestPerlMailDKIM | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618483 | ORPH TestPython3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618506 | ORPH TestPythonAvro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618513 | ORPH TestPythonPy3Can | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618517 | ORPH -- http://autobuild.buildroot.net From fontaine.fabrice at gmail.com Tue Apr 5 06:19:08 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 08:19:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: Message-ID: Dear Tim, Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > Use internal bind as dhcp doesn't build since bump of bind to version > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > doesn't plan to fix it any time soon: > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > In file included from ../includes/dhcpd.h:91, > > from ctrace.c:29: > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > 51 | #include > > | ^~~~~~~~~~~~~~~ > > > > Fixes: > > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/dhcp/Config.in | 1 - > > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > > 2 files changed, 16 insertions(+), 4 deletions(-) > > > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > > index 515040c612..e0706efafb 100644 > > --- a/package/dhcp/Config.in > > +++ b/package/dhcp/Config.in > > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > > # fork() > > depends on BR2_USE_MMU > > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > > - select BR2_PACKAGE_BIND > > help > > DHCP relay agent from the ISC DHCP distribution. > > > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > > index 18765a3639..f1e3c22f1c 100644 > > --- a/package/dhcp/dhcp.mk > > +++ b/package/dhcp/dhcp.mk > > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > > DHCP_INSTALL_STAGING = YES > > DHCP_LICENSE = MPL-2.0 > > DHCP_LICENSE_FILES = LICENSE > > -DHCP_DEPENDENCIES = bind host-gawk > > +DHCP_DEPENDENCIES = host-gawk > > DHCP_CPE_ID_VENDOR = isc > > +# internal bind does not support parallel builds. > > +DHCP_MAKE = $(MAKE1) > > > > # use libtool-enabled configure.ac > > define DHCP_LIBTOOL_AUTORECONF > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > So this should be the host compiler, not the target. > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... Thanks for spotting this, I basically copy/pasted what was done in bind.mk. The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should also be updated? Could you send those two patches (dhcp and bind) to the buildroot mailing or do you prefer that I send them? > > .Tim > Tim D. Hammer > tim.hammer at orolia.com > > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > > > DHCP_CONF_OPTS = \ > > - --with-libbind=$(STAGING_DIR)/usr \ > > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > > --with-randomdev=/dev/random \ > > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > > --with-relay-pid-file=/var/run/dhcrelay.pid \ > > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > > +DHCP_DEPENDENCIES += zlib > > +else > > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > > +endif > > + > > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > > +DHCP_CONF_ENV += LIBS=-latomic > > +endif > > + > > ifeq ($(BR2_STATIC_LIBS),y) > > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > > DHCP_CONF_OPTS += --disable-libtool > > else > > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF > > -- > > 2.35.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > Best Regards, Fabrice From buildroot at heine.tech Tue Apr 5 07:35:52 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Tue, 5 Apr 2022 09:35:52 +0200 Subject: [Buildroot] [PATCH] package/spdlog: bump to version 1.10.0 Message-ID: <20220405073603.496103-1-buildroot@heine.tech> Signed-off-by: Michael Nosthoff --- package/spdlog/spdlog.hash | 2 +- package/spdlog/spdlog.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/spdlog/spdlog.hash b/package/spdlog/spdlog.hash index 02756fc98c..866d1d6d02 100644 --- a/package/spdlog/spdlog.hash +++ b/package/spdlog/spdlog.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 6fff9215f5cb81760be4cc16d033526d1080427d236e86d70bb02994f85e3d38 spdlog-1.9.2.tar.gz +sha256 697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224 spdlog-1.10.0.tar.gz sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE diff --git a/package/spdlog/spdlog.mk b/package/spdlog/spdlog.mk index b5dfc0c7b4..9c5e76a9e8 100644 --- a/package/spdlog/spdlog.mk +++ b/package/spdlog/spdlog.mk @@ -4,7 +4,7 @@ # ################################################################################ -SPDLOG_VERSION = 1.9.2 +SPDLOG_VERSION = 1.10.0 SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION)) SPDLOG_LICENSE = MIT SPDLOG_LICENSE_FILES = LICENSE -- 2.25.1 From bugzilla at busybox.net Tue Apr 5 08:07:19 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 05 Apr 2022 08:07:19 +0000 Subject: [Buildroot] [Bug 14746] New: Lack of management after loading Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14746 Bug ID: 14746 Summary: Lack of management after loading Product: buildroot Version: 2022.02 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: azhirov1991 at gmail.com CC: buildroot at uclibc.org Target Milestone: --- After loading on real hardware, there is no mouse cursor display. The mouse itself is working (lit), but no visible actions occur after clicking on it. The keyboard does not work (Logitech Keyboard K120). Everything is connected via USB 2.0. The screen is black. The last thing I see in front of the black screen is the launch of the X-server. By pressing the off button, the screen is replaced by a terminal and the computer turns off. I don't understand what I missed in the configs. I can't see the logs, because the keyboard doesn't work to switch to another session. I attach the configs and what I managed to photograph when I turned off the PC. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Tue Apr 5 08:12:53 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 05 Apr 2022 08:12:53 +0000 Subject: [Buildroot] [Bug 14746] Lack of management after loading In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14746 --- Comment #1 from Alexander Zhirov --- Created attachment 9271 --> https://bugs.busybox.net/attachment.cgi?id=9271&action=edit Configs buildroot https://i.stack.imgur.com/Hx94l.jpg -- You are receiving this mail because: You are on the CC list for the bug. From yegorslists at googlemail.com Tue Apr 5 08:49:28 2022 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Tue, 5 Apr 2022 10:49:28 +0200 Subject: [Buildroot] [PATCH 1/2] package/wpa_supplicant: enable SAE-PK option for WPA3 Message-ID: <20220405084929.2755-1-yegorslists@googlemail.com> From: Yegor Yefremov This enables a new security feature "SAE Public Key". Signed-off-by: Yegor Yefremov --- package/wpa_supplicant/wpa_supplicant.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index f0eb36e083..a2ca8a0b30 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -112,11 +112,13 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE else WPA_SUPPLICANT_CONFIG_DISABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE endif -- 2.17.0 From yegorslists at googlemail.com Tue Apr 5 08:49:29 2022 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Tue, 5 Apr 2022 10:49:29 +0200 Subject: [Buildroot] [PATCH 2/2] package/hostapd: enable SAE-PK option for WPA3 In-Reply-To: <20220405084929.2755-1-yegorslists@googlemail.com> References: <20220405084929.2755-1-yegorslists@googlemail.com> Message-ID: <20220405084929.2755-2-yegorslists@googlemail.com> From: Yegor Yefremov This enables a new security feature "SAE Public Key". Signed-off-by: Yegor Yefremov --- package/hostapd/hostapd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 99f0cdf1b8..4420142fbd 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -85,11 +85,13 @@ ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y) HOSTAPD_CONFIG_ENABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE else HOSTAPD_CONFIG_DISABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE endif -- 2.17.0 From peter at korsgaard.com Tue Apr 5 09:39:01 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 11:39:01 +0200 Subject: [Buildroot] [PATCH] package/opus: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220405093902.2038437-1-peter@korsgaard.com> Fixes: http://autobuild.buildroot.net/results/194/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6/ opus requires that it is configured with --enable-float-approx when -ffast-math (BR2_OPTIMIZE_FAST) is used, otherwise it errors out at build time: celt/arch.h:198:2: error: #error Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input Signed-off-by: Peter Korsgaard --- package/opus/opus.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/opus/opus.mk b/package/opus/opus.mk index 4f816df477..2fa929c7df 100644 --- a/package/opus/opus.mk +++ b/package/opus/opus.mk @@ -23,6 +23,10 @@ ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y) OPUS_CONF_OPTS += --enable-fixed-point endif +ifeq ($(BR2_OPTIMIZE_FAST),y) +OPUS_CONF_OPTS += --enable-float-approx +endif + # When we're on ARM, but we don't have ARM instructions (only # Thumb-2), disable the usage of assembly as it is not Thumb-ready. ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) -- 2.30.2 From fperrad at gmail.com Mon Apr 4 18:35:04 2022 From: fperrad at gmail.com (Francois Perrad) Date: Mon, 4 Apr 2022 20:35:04 +0200 Subject: [Buildroot] [PATCH] configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot Message-ID: <20220404183504.2392930-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/olimex_a20_olinuxino_lime2_defconfig | 8 ++++---- configs/olimex_a20_olinuxino_lime_defconfig | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig index b46cf3743..2f9594921 100644 --- a/configs/olimex_a20_olinuxino_lime2_defconfig +++ b/configs/olimex_a20_olinuxino_lime2_defconfig @@ -4,8 +4,8 @@ BR2_cortex_a7=y BR2_ARM_EABIHF=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +# Linux headers same as kernel, a 5.15 LTS series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Toolchain # glibc is needed for sunxi-mali-utgard package. @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig index 698137e46..e24857e0c 100644 --- a/configs/olimex_a20_olinuxino_lime_defconfig +++ b/configs/olimex_a20_olinuxino_lime_defconfig @@ -4,8 +4,8 @@ BR2_cortex_a7=y BR2_ARM_EABIHF=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +# Linux headers same as kernel, a 5.15 LTS series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Toolchain # glibc is needed for sunxi-mali-utgard package. @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -- 2.32.0 From fperrad at gmail.com Mon Apr 4 18:35:35 2022 From: fperrad at gmail.com (Francois Perrad) Date: Mon, 4 Apr 2022 20:35:35 +0200 Subject: [Buildroot] [PATCH] configs/mx6cubox: bump Linux and U-Boot versions Message-ID: <20220404183535.2392985-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/mx6cubox_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig index 6ea4f6e41..a9cea73fb 100644 --- a/configs/mx6cubox_defconfig +++ b/configs/mx6cubox_defconfig @@ -17,7 +17,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" BR2_TARGET_UBOOT_NEEDS_PYTHON3=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -- 2.32.0 From james.hilliard1 at gmail.com Tue Apr 5 11:50:40 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 5 Apr 2022 05:50:40 -0600 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220405115040.3779242-1-james.hilliard1@gmail.com> Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Signed-off-by: James Hilliard --- Changes v3 -> v4: - use fixup_config instead of other retries to filter bad configs Changes v2 -> v3: - properly check exit codes Changes v1 -> v2: - refactor fixup_config control flow --- utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 206 insertions(+), 9 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..59fe34e58d 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') + + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') + + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') + + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') + + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') + + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') + + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') + + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_TARGET_BAREBOX=y\n') + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_BAREBOX=y\n') + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') + + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') + + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') + + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: + return False + + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: + return False + + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +517,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,7 +598,7 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) if fixup_config(sysinfo, configfile): break @@ -433,10 +622,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 5 11:56:01 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 5 Apr 2022 05:56:01 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> Message-ID: On Sun, Apr 3, 2022 at 7:58 AM Arnout Vandecappelle wrote: > > > > On 02/04/2022 20:58, James Hilliard wrote: > > On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: > >> > >> Hi James, > >> > >> On 02/04/2022 03:05, James Hilliard wrote: > [snip] > >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > >> > >> I don't understand why for this particular one you remove it explicitly, while > >> for other cases you rely (I guess) on the dependency check to make sure we get a > >> valid config (eventually). > > > > Others were missing the empty string config for matching against so > > this approach > > didn't seem to work there. > > I still don't understand... If I have the time, I'll try to cook up a patch > that does the check the same way as all the other checks are done, and you an > tell me if you're happy with that. I was looking at the defconfig actually instead of the config for that, I think we don't need the retry saving loop with this anymore, I ran randomizations in a loop for a while and I'm not seeing any failures anymore due to invalid configs getting past fixup_config: https://patchwork.ozlabs.org/project/buildroot/patch/20220405115040.3779242-1-james.hilliard1 at gmail.com/ > > [snip] > >> I agree though that it's more work to do that than the current patch, so > >> perhaps this is a good first step. > > > > Yeah, best to do this incrementally IMO, since this is revealing issues already > > in the autobuilder relating to config validation I'm running this on: > > http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 > > So this is running a modified buildroot-test that passes the > --no-toolchains-csv option? > > > Note that this autobuilder is an aarch64(running > > https://asahilinux.org/) host so > > it doesn't use the prebuilt toolchains. > > [snip] > >>> - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> - "savedefconfig"]) > >>> + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> + "savedefconfig"]): > >> > >> This one should simply never fail, so it should move outside of the loop, > >> after checking dependencies. > > > > I just tested that this can fail so I've kept it in the loop for now. > > Okay, let me rephrase: if 'make dependencies' passes, then 'make > savedefconfig' should never fail. If you had a situation where make > savedefconfig fails, I'd be interested to know about it and debug it. I think it was this issue probably: https://patchwork.ozlabs.org/project/buildroot/patch/20220405025054.966064-1-james.hilliard1 at gmail.com/ > > > Regards, > Arnout > > >>> + continue > >>> > >>> - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> - "dependencies"]) > >>> + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> + "dependencies"]): > >>> + continue > >>> + break > >>> + return 0 > >>> > >>> > >>> if __name__ == '__main__': > >>> @@ -433,10 +443,18 @@ if __name__ == '__main__': > >>> parser.add_argument("--buildrootdir", "-b", > >>> help="Buildroot directory (relative to current directory)", > >>> type=str, default='.') > >>> - parser.add_argument("--toolchains-csv", > >>> - help="Path of the toolchain configuration file", > >>> - type=str, > >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > >>> + toolchains_csv.add_argument("--toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Path of the toolchain configuration file", > >>> + type=str) > >>> + toolchains_csv.add_argument("--no-toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Generate random toolchain configuration", > >>> + action='store_false') > >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> args = parser.parse_args() > >>> > >>> # We need the absolute path to use with O=, because the relative From Tim.Hammer at orolia.com Tue Apr 5 12:15:14 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Tue, 5 Apr 2022 12:15:14 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: Message-ID: On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > Dear Tim, > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > doesn't plan to fix it any time soon: > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > In file included from ../includes/dhcpd.h:91, > > > from ctrace.c:29: > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > 51 | #include > > > | ^~~~~~~~~~~~~~~ > > > > > > ... > > > > > > # use libtool-enabled configure.ac > > > define DHCP_LIBTOOL_AUTORECONF > > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > > So this should be the host compiler, not the target. > > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... > > Thanks for spotting this, I basically copy/pasted what was done in bind.mk. > The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). > This is why I said I do not know the correct way- when I use $(HOST_CC), I get >>> dhcp 4.4.2-P1 Building PATH="/home/thammer/Public/buildroot/TEST/host/bin:/home/thammer/Public/buildroot/TEST/host/sbin:/home/thammer/.local/bin:/home/thammer/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/altera/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/opt/altera/nios2eds/sdk2/bin:/opt/altera/nios2eds/bin:/opt/altera/quartus/bin:/opt/altera/quartus/sopc_builder/bin" /usr/bin/make -j1 -C /home/thammer/Public/buildroot/TEST/build/dhcp-4.4.2-P1/ Making all in ./bind Configuring BIND libraries for DHCP. configure: WARNING: using cross tools not prefixed with host triplet configure: error: BUILD_CC not set make[3]: *** [Makefile:42: bind1] Error 1 > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > also be updated? I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: gen: gen.c ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c Perhaps we should be patching that file instead of the config? > > Could you send those two patches (dhcp and bind) to the buildroot > mailing or do you prefer that I send them? > I can try out my other thought and send that in a while (if it seems to work). > > ... > > > > Best Regards, > Fabrice .Tim Tim D. Hammer tim.hammer at orolia.com From bugzilla at busybox.net Tue Apr 5 13:17:16 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 05 Apr 2022 13:17:16 +0000 Subject: [Buildroot] [Bug 14746] Lack of management after loading In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14746 --- Comment #2 from Alexander Zhirov --- Created attachment 9276 --> https://bugs.busybox.net/attachment.cgi?id=9276&action=edit Xorg.0.0.log I was able to configure SSH and see what errors Xorg throws after startup. For some reason, the modules are not loaded. -- You are receiving this mail because: You are on the CC list for the bug. From aperez at igalia.com Tue Apr 5 13:29:29 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Tue, 5 Apr 2022 16:29:29 +0300 Subject: [Buildroot] [PATCH 2/2] package/webkitgtk: use the WPE renderer if available In-Reply-To: <20220405132929.823106-1-aperez@igalia.com> References: <20220405132929.823106-1-aperez@igalia.com> Message-ID: <20220405132929.823106-2-aperez@igalia.com> If enabled at build time, WebKit's internal nested compositor can work more efficiently when targeting Wayland, by avoiding one unneeded buffer copy. The build option has been available for a few years in WebKitGTK releases. Signed-off-by: Adrian Perez de Castro --- package/webkitgtk/webkitgtk.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 8d8f083ea2..eca175d1bd 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -28,8 +28,7 @@ WEBKITGTK_CONF_OPTS = \ -DUSE_LIBHYPHEN=OFF \ -DUSE_OPENJPEG=ON \ -DUSE_SOUP2=ON \ - -DUSE_WOFF2=ON \ - -DUSE_WPE_RENDERER=OFF + -DUSE_WOFF2=ON ifeq ($(BR2_PACKAGE_WEBKITGTK_SANDBOX),y) WEBKITGTK_CONF_OPTS += \ @@ -101,6 +100,13 @@ WEBKITGTK_CONF_OPTS += -DENABLE_WAYLAND_TARGET=ON endif endif +ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) +WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON +WEBKITGTK_DEPENDENCIES += wpebackend-fdo +else +WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=OFF +endif + ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y) WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON else -- 2.35.1 From aperez at igalia.com Tue Apr 5 13:29:28 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Tue, 5 Apr 2022 16:29:28 +0300 Subject: [Buildroot] [PATCH 1/2] package/webkitgtk: bump to version 2.36.0 Message-ID: <20220405132929.823106-1-aperez@igalia.com> Update to a new major release which brings in improvements and a few new features. Release notes: https://webkitgtk.org/2022/03/21/webkitgtk2.36.0-released.html None of the new features need additional dependencies. The build option USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. While at it, remove setting the ENABLE_PLUGIN_PROCESS_GTK2 option. Support for NPAPI plug-ins has been dropped already in 2.32.x and the option has been a no-op for a long time, see: https://perezdecastro.org/2020/webkitgtk-npapi-sunsetting.html https://webkitgtk.org/2021/03/26/webkitgtk2.32.0-released.html Signed-off-by: Adrian Perez de Castro --- package/webkitgtk/webkitgtk.hash | 8 ++++---- package/webkitgtk/webkitgtk.mk | 13 +++---------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 82c210c8f9..38068745ee 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.34.6.tar.xz.sums -md5 a5eeedd02f5b4bba8bd891b92dc743d4 webkitgtk-2.34.6.tar.xz -sha1 bb82517289baf9c858fa406d1d845274f81e25cb webkitgtk-2.34.6.tar.xz -sha256 6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 webkitgtk-2.34.6.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums +md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz +sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz +sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 36e4b8943b..8d8f083ea2 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.34.6 +WEBKITGTK_VERSION = 2.36.0 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES @@ -84,13 +84,6 @@ WEBKITGTK_CONF_OPTS += \ -DENABLE_X11_TARGET=ON WEBKITGTK_DEPENDENCIES += libgl \ xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt -# It can use libgtk2 for npapi plugins -ifeq ($(BR2_PACKAGE_LIBGTK2),y) -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON -WEBKITGTK_DEPENDENCIES += libgtk2 -else -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF -endif else # !X11 # GTK3-BROADWAY/WAYLAND needs at least EGL WEBKITGTK_DEPENDENCIES += libegl @@ -115,10 +108,10 @@ WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF endif ifeq ($(BR2_INIT_SYSTEMD),y) -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=ON +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON WEBKITGTK_DEPENDENCIES += systemd else -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=OFF +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif # JIT is not supported for MIPS r6, but the WebKit build system does not -- 2.35.1 From aperez at igalia.com Tue Apr 5 13:51:11 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Tue, 5 Apr 2022 16:51:11 +0300 Subject: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.0 Message-ID: <20220405135111.827101-1-aperez@igalia.com> Update to a new major release which brings in improvements and a few new features. Release notes: https://wpewebkit.org/release/wpewebkit-2.36.0.html None of the new features need additional dependencies. The build option USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. Signed-off-by: Adrian Perez de Castro --- package/wpewebkit/wpewebkit.hash | 8 ++++---- package/wpewebkit/wpewebkit.mk | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash index 231bbc447d..1e1aa62117 100644 --- a/package/wpewebkit/wpewebkit.hash +++ b/package/wpewebkit/wpewebkit.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.34.6.tar.xz.sums -md5 c9705270b342474cca28cf51632ccbbe wpewebkit-2.34.6.tar.xz -sha1 44ae95de1b5ebf0a2b0ea3630b3677153c597402 wpewebkit-2.34.6.tar.xz -sha256 301e895c8ed08ce7dccef3192b972f2ccfc2020463244c64069a636f2b05265f wpewebkit-2.34.6.tar.xz +# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums +md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz +sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz +sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index aa04e78623..3ce38d8c27 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEWEBKIT_VERSION = 2.34.6 +WPEWEBKIT_VERSION = 2.36.0 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz WPEWEBKIT_INSTALL_STAGING = YES @@ -81,10 +81,10 @@ WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF endif ifeq ($(BR2_INIT_SYSTEMD),y) -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=ON +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON WPEWEBKIT_DEPENDENCIES += systemd else -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=OFF +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif # JIT is not supported for MIPS r6, but the WebKit build system does not -- 2.35.1 From ps.report at gmx.net Tue Apr 5 16:18:15 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Tue, 5 Apr 2022 18:18:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: Message-ID: <20220405181815.5dd6d85e@gmx.net> Hello Tim, On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > Dear Tim, > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > doesn't plan to fix it any time soon: > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > In file included from ../includes/dhcpd.h:91, > > > > from ctrace.c:29: > > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > > 51 | #include > > > > | ^~~~~~~~~~~~~~~ > > > > > > > > ... > > > > > > > > # use libtool-enabled configure.ac > > > > define DHCP_LIBTOOL_AUTORECONF > > > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > > > > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > > > So this should be the host compiler, not the target. > > > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... > > > > Thanks for spotting this, I basically copy/pasted what was done in bind.mk. > > The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). > > > > This is why I said I do not know the correct way- when I use $(HOST_CC), I get > >>> dhcp 4.4.2-P1 Building > PATH="/home/thammer/Public/buildroot/TEST/host/bin:/home/thammer/Public/buildroot/TEST/host/sbin:/home/thammer/.local/bin:/home/thammer/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/altera/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/opt/altera/nios2eds/sdk2/bin:/opt/altera/nios2eds/bin:/opt/altera/quartus/bin:/opt/altera/quartus/sopc_builder/bin" /usr/bin/make -j1 -C /home/thammer/Public/buildroot/TEST/build/dhcp-4.4.2-P1/ > Making all in ./bind > Configuring BIND libraries for DHCP. > configure: WARNING: using cross tools not prefixed with host triplet > configure: error: BUILD_CC not set > make[3]: *** [Makefile:42: bind1] Error 1 > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > also be updated? > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > gen: gen.c > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > Perhaps we should be patching that file instead of the config? See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch Regards, Peter > > > > > Could you send those two patches (dhcp and bind) to the buildroot > > mailing or do you prefer that I send them? > > > > I can try out my other thought and send that in a while (if it seems to work). > > > > ... > > > > > > > Best Regards, > > Fabrice > > .Tim > Tim D. Hammer > tim.hammer at orolia.com > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Tue Apr 5 16:35:40 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 18:35:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 Message-ID: <20220405163540.9277-1-fontaine.fabrice@gmail.com> Override COMMON_CPPFLAGS to fix the following build failure with BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit cd707a9112e38b4ce98326b96c0ed12054ca1cca and https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] It should be noted that upstream already rejected a PR to remove -Werror: https://github.com/smuellerDD/libkcapi/pull/132 Fixes: - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 Signed-off-by: Fabrice Fontaine --- package/libkcapi/libkcapi.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk index 71dfbd9eff..353939bb31 100644 --- a/package/libkcapi/libkcapi.mk +++ b/package/libkcapi/libkcapi.mk @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ ac_cv_path_DB2PDF="" \ ac_cv_path_DB2PS="" \ ac_cv_path_XMLTO="" +LIBKCAPI_MAKE_OPTS = COMMON_CPPFLAGS="" ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp -- 2.35.1 From peter at korsgaard.com Tue Apr 5 17:12:38 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:12:38 +0200 Subject: [Buildroot] [PATCH] package/opus: fix build with BR2_OPTIMIZE_FAST In-Reply-To: <20220405093902.2038437-1-peter@korsgaard.com> (Peter Korsgaard's message of "Tue, 5 Apr 2022 11:39:01 +0200") References: <20220405093902.2038437-1-peter@korsgaard.com> Message-ID: <87h777wj21.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes: > http://autobuild.buildroot.net/results/194/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6/ > opus requires that it is configured with --enable-float-approx when > -ffast-math (BR2_OPTIMIZE_FAST) is used, otherwise it errors out at build > time: > celt/arch.h:198:2: error: #error Cannot build libopus with -ffast-math > unless FLOAT_APPROX is defined. This could result in crashes on extreme > (e.g. NaN) input > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 17:18:48 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:18:48 +0200 Subject: [Buildroot] [PATCH 1/2] package/docker-cli: bump to version v20.10.14 In-Reply-To: <20220404214717.587193-1-christian@paral.in> (Christian Stewart's message of "Mon, 4 Apr 2022 14:47:16 -0700") References: <20220404214717.587193-1-christian@paral.in> Message-ID: <87czhvwirr.fsf@dell.be.48ers.dk> >>>>> "Christian" == Christian Stewart writes: > https://github.com/moby/moby/releases/tag/v20.10.14 > Signed-off-by: Christian Stewart Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 17:18:52 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:18:52 +0200 Subject: [Buildroot] [PATCH 2/2] package/docker-engine: bump to version v20.10.14 In-Reply-To: <20220404214717.587193-2-christian@paral.in> (Christian Stewart's message of "Mon, 4 Apr 2022 14:47:17 -0700") References: <20220404214717.587193-1-christian@paral.in> <20220404214717.587193-2-christian@paral.in> Message-ID: <878rsjwirn.fsf@dell.be.48ers.dk> >>>>> "Christian" == Christian Stewart writes: > https://github.com/moby/moby/releases/tag/v20.10.14 > Signed-off-by: Christian Stewart Committed, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Tue Apr 5 17:19:11 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 5 Apr 2022 19:19:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: <20220405025054.966064-1-james.hilliard1@gmail.com> References: <20220405025054.966064-1-james.hilliard1@gmail.com> Message-ID: <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> On 05/04/2022 04:50, James Hilliard wrote: > Fixes: > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > make: *** [Makefile:84: _all] Error 2 How do you get this? I've tried a number of configurations, but I always get package/aufs/aufs.mk:21: *** No aufs version specified. Stop. make: *** [Makefile:84: _all] Error 2 I could only reproduce with `make source`, but that's a bit a special case. Regards, Arnout > > Signed-off-by: James Hilliard > --- > package/aufs/aufs.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk > index 4e95a350a0..b2dda771d9 100644 > --- a/package/aufs/aufs.mk > +++ b/package/aufs/aufs.mk > @@ -8,6 +8,7 @@ AUFS_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_VERSION)) > AUFS_LICENSE = GPL-2.0 > AUFS_LICENSE_FILES = COPYING > > +ifneq ($(AUFS_VERSION),) > ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) > AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone > AUFS_SITE_METHOD = git > @@ -16,6 +17,7 @@ AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) > else ifeq ($(BR2_PACKAGE_AUFS_SERIES),5) > AUFS_SITE = $(call github,sfjro,aufs5-standalone,$(AUFS_VERSION)) > endif > +endif > > ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:) > $(error No aufs version specified) From peter at korsgaard.com Tue Apr 5 17:19:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:19:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/runc: bump to version v1.1.1 In-Reply-To: <20220404215930.601909-1-christian@paral.in> (Christian Stewart's message of "Mon, 4 Apr 2022 14:59:30 -0700") References: <20220404215930.601909-1-christian@paral.in> Message-ID: <874k37wipw.fsf@dell.be.48ers.dk> >>>>> "Christian" == Christian Stewart writes: > Signed-off-by: Christian Stewart Committed after adding a notice that this is a bugfix release (and hence should be backported tot 2022.02.x), thanks. -- Bye, Peter Korsgaard From arnout at mind.be Tue Apr 5 17:23:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 5 Apr 2022 19:23:25 +0200 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <20220405115040.3779242-1-james.hilliard1@gmail.com> References: <20220405115040.3779242-1-james.hilliard1@gmail.com> Message-ID: <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> On 05/04/2022 13:50, James Hilliard wrote: > Currently we only test a limited set of toolchains that are mostly > prebuilt, add a flag to allow using randconfig for randomizing > additional toolchain settings instead of randpackageconfig. > > To avoid invalid configs we need to add additional config validation > filtering and fixups. > > Signed-off-by: James Hilliard > --- > Changes v3 -> v4: > - use fixup_config instead of other retries to filter bad configs Well, I don't like this. It means we have to duplicate the logic for checking the bad configs in two places: in the mk file and in genrandconfig. If the problem is that you sometimes don't end up with a valid config even after 100 iterations, then I think a better solution is to feed valid values for the string options. That way, we still do a build test of e.g. BR2_ROOTFS_SKELETON_CUSTOM. [Others may disagree with me of course.] Regards, Arnout > Changes v2 -> v3: > - properly check exit codes > Changes v1 -> v2: > - refactor fixup_config control flow > --- > utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 206 insertions(+), 9 deletions(-) > > diff --git a/utils/genrandconfig b/utils/genrandconfig > index 3483d55c14..59fe34e58d 100755 > --- a/utils/genrandconfig > +++ b/utils/genrandconfig > @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): > configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > > + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') > + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') > + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') > + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') > + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') > + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') > + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') > + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') > + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') > + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') > + > + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') > + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') > + > + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') > + > + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ > + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') > + > + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ > + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: > + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') > + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') > + > + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ > + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') > + > + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ > + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') > + > + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ > + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') > + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') > + > + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_TARGET_BAREBOX=y\n') > + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') > + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') > + > + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ > + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_TARGET_BAREBOX=y\n') > + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') > + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') > + > + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ > + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: > + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > + > + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') > + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') > + > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_TARGET_UBOOT=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') > + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') > + > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_TARGET_UBOOT=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') > + > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: > + configlines.remove('BR2_TARGET_UBOOT=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') > + > + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') > + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > + return False > + > + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') > + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > + return False > + > + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ > + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') > + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') > + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') > + > with open(configfile, "w+") as configf: > configf.writelines(configlines) > > @@ -331,11 +517,14 @@ def gen_config(args): > > sysinfo = SystemInfo() > > - # Select a random toolchain configuration > - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > + if args.toolchains_csv: > + # Select a random toolchain configuration > + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > - i = randint(0, len(configs) - 1) > - toolchainconfig = configs[i] > + i = randint(0, len(configs) - 1) > + toolchainconfig = configs[i] > + else: > + toolchainconfig = [] > > configlines = list(toolchainconfig) > > @@ -409,7 +598,7 @@ def gen_config(args): > bounded_loop -= 1 > subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > "KCONFIG_PROBABILITY=%d" % randint(1, 20), > - "randpackageconfig"]) > + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > > if fixup_config(sysinfo, configfile): > break > @@ -433,10 +622,18 @@ if __name__ == '__main__': > parser.add_argument("--buildrootdir", "-b", > help="Buildroot directory (relative to current directory)", > type=str, default='.') > - parser.add_argument("--toolchains-csv", > - help="Path of the toolchain configuration file", > - type=str, > - default="support/config-fragments/autobuild/toolchain-configs.csv") > + > + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > + toolchains_csv.add_argument("--toolchains-csv", > + dest="toolchains_csv", > + help="Path of the toolchain configuration file", > + type=str) > + toolchains_csv.add_argument("--no-toolchains-csv", > + dest="toolchains_csv", > + help="Generate random toolchain configuration", > + action='store_false') > + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > + > args = parser.parse_args() > > # We need the absolute path to use with O=, because the relative From peter at korsgaard.com Tue Apr 5 17:27:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:27:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/containerd: bump to version v1.6.2 In-Reply-To: <20220404221451.610628-1-christian@paral.in> (Christian Stewart's message of "Mon, 4 Apr 2022 15:14:51 -0700") References: <20220404221451.610628-1-christian@paral.in> Message-ID: <87zgkzv3se.fsf@dell.be.48ers.dk> >>>>> "Christian" == Christian Stewart writes: > Note: this version adds compatibility for Go 1.18. > Signed-off-by: Christian Stewart This fixes CVE-2022-23648 and CVE-2022-24769, so it should be listed as a security bump. The 1.5.x series is still supported so I instead bumped to 1.5.11 for easier backporting to 2022.02.x -- Bye, Peter Korsgaard From arnout at mind.be Tue Apr 5 17:27:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 5 Apr 2022 19:27:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 In-Reply-To: <20220405163540.9277-1-fontaine.fabrice@gmail.com> References: <20220405163540.9277-1-fontaine.fabrice@gmail.com> Message-ID: On 05/04/2022 18:35, Fabrice Fontaine wrote: > Override COMMON_CPPFLAGS to fix the following build failure with > BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit > cd707a9112e38b4ce98326b96c0ed12054ca1cca and > https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: > > /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] I haven't looked at the details, but in this case it seems to me the proper solution is to make sure _FORTIFY_SOURCE is not enabled. But perhaps that is exactly what this patch does? Regards, Arnout > > It should be noted that upstream already rejected a PR to remove > -Werror: https://github.com/smuellerDD/libkcapi/pull/132 > > Fixes: > - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 > > Signed-off-by: Fabrice Fontaine > --- > package/libkcapi/libkcapi.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk > index 71dfbd9eff..353939bb31 100644 > --- a/package/libkcapi/libkcapi.mk > +++ b/package/libkcapi/libkcapi.mk > @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ > ac_cv_path_DB2PDF="" \ > ac_cv_path_DB2PS="" \ > ac_cv_path_XMLTO="" > +LIBKCAPI_MAKE_OPTS = COMMON_CPPFLAGS="" > > ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) > LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp From fontaine.fabrice at gmail.com Tue Apr 5 18:09:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 20:09:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-libav: fix build without C++ Message-ID: <20220405180944.946684-1-fontaine.fabrice@gmail.com> Fix the following build failure without C++ raised since bump to version 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: The following exception(s) were encountered: Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a Signed-off-by: Fabrice Fontaine --- ...-build-on-systems-without-C-compiler.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch diff --git a/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..6b275220f8 --- /dev/null +++ b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 4 Apr 2022 23:32:56 +0200 +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-libav/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index fbfa3049afe..7da94b80d59 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-libav', 'c', 'cpp', ++project('gst-libav', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 5 18:50:28 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 20:50:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 In-Reply-To: References: <20220405163540.9277-1-fontaine.fabrice@gmail.com> Message-ID: Le mar. 5 avr. 2022 ? 19:28, Arnout Vandecappelle a ?crit : > > > > On 05/04/2022 18:35, Fabrice Fontaine wrote: > > Override COMMON_CPPFLAGS to fix the following build failure with > > BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit > > cd707a9112e38b4ce98326b96c0ed12054ca1cca and > > https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: > > > > /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] > > I haven't looked at the details, but in this case it seems to me the proper > solution is to make sure _FORTIFY_SOURCE is not enabled. > > But perhaps that is exactly what this patch does? This patch was removing the following flags (including -Werror): COMMON_CPPFLAGS = -Wextra -Wall -pedantic -fwrapv --param ssp-buffer-size=4 -O2 -Werror -std=gnu99 -Wconversion However, -D_FORTIFY_SOURCE=2 was still set (in CPPFLAGS) I can send a v2 to set CPPFLAGS to $(TARGET_CPPFLAGS) if you prefer this solution. > > Regards, > Arnout > > > > > It should be noted that upstream already rejected a PR to remove > > -Werror: https://github.com/smuellerDD/libkcapi/pull/132 > > > > Fixes: > > - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/libkcapi/libkcapi.mk | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk > > index 71dfbd9eff..353939bb31 100644 > > --- a/package/libkcapi/libkcapi.mk > > +++ b/package/libkcapi/libkcapi.mk > > @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ > > ac_cv_path_DB2PDF="" \ > > ac_cv_path_DB2PS="" \ > > ac_cv_path_XMLTO="" > > +LIBKCAPI_MAKE_OPTS = COMMON_CPPFLAGS="" > > > > ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) > > LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp Best Regards, Fabrice From fontaine.fabrice at gmail.com Tue Apr 5 18:54:26 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 20:54:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE Message-ID: <20220405185426.1250850-1-fontaine.fabrice@gmail.com> Drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE which is not needed since bump to version 2.37.4 in commit a586f0a283cd69f436bc6d0cff484460b412a1ce Signed-off-by: Fabrice Fontaine --- package/util-linux/util-linux.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 7c153a6804..243e7dac8d 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -37,13 +37,6 @@ UTIL_LINUX_CONF_OPTS += \ UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS) -# workaround missing disk-utils/raw.8 file in util-linux-2.37.3 -# release download package -define UTIL_LINUX_FIX_DISK_UTILS_COMPILE - touch $(@D)/disk-utils/raw.8 -endef -UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE - HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf # We also don't want the host-python dependency -- 2.35.1 From peter at korsgaard.com Tue Apr 5 17:16:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:16:18 +0200 Subject: [Buildroot] [git commit] package/docker-engine: bump to version v20.10.14 Message-ID: <20220405185320.1B0798361C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=db9707d0c06939a573d5da26423fac6e5aaa65ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index ec3a242629..d4fe83a806 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a8ee80d31c7b74f687a837cd2a8570578f118179fba0844c5ee88f90fe180155 docker-engine-20.10.12.tar.gz +sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 2a1239b676..3aef31599f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.12 +DOCKER_ENGINE_VERSION = 20.10.14 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From peter at korsgaard.com Tue Apr 5 17:17:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:17:45 +0200 Subject: [Buildroot] [git commit] package/runc: bump to version v1.1.1 Message-ID: <20220405185320.23C0A8361A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=91c056f0d598ed0d5b94ec4d4cebb9bd203efb50 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release, fixing a number of issues: https://github.com/opencontainers/runc/releases/tag/v1.1.1 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/runc/runc.hash | 2 +- package/runc/runc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/runc/runc.hash b/package/runc/runc.hash index 38d9f52510..fe3c4cc488 100644 --- a/package/runc/runc.hash +++ b/package/runc/runc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a8de57edbf0ff741ea798ccdd99ac0e1b79914f552871bd7cd92b0569f200964 runc-1.1.0.tar.gz +sha256 11a34535c108b36fd59de58e7bef3a130444c9ea41e4b8bb8f8d4654c8ad654c runc-1.1.1.tar.gz sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE diff --git a/package/runc/runc.mk b/package/runc/runc.mk index a40075544e..2618b71f63 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUNC_VERSION = 1.1.0 +RUNC_VERSION = 1.1.1 RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0, LGPL-2.1 (libseccomp) RUNC_LICENSE_FILES = LICENSE From peter at korsgaard.com Tue Apr 5 17:14:38 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:14:38 +0200 Subject: [Buildroot] [git commit] package/docker-cli: bump to version v20.10.14 Message-ID: <20220405185320.124D58361B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8111f5c27ca4757786b2f5faf30f7d96881314e6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index f2fe316540..9a07acf89f 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d86e3e6e10669634ee02b5e071e5ee504457a9d03941bbc5b7f2bd3683ebdb19 docker-cli-20.10.12.tar.gz +sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index d5cca34efc..c7458f85dd 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.12 +DOCKER_CLI_VERSION = 20.10.14 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From peter at korsgaard.com Tue Apr 5 17:28:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:28:14 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 Message-ID: <20220405185320.319C18361B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 - CVE-2022-24769: Default inheritable capabilities for linux container should be empty https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5aafe2e70..23dacded88 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz +sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 8976e12f1a..c405b75e81 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.9 +CONTAINERD_VERSION = 1.5.11 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From peter at korsgaard.com Tue Apr 5 17:12:30 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:12:30 +0200 Subject: [Buildroot] [git commit] package/opus: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220405185320.09F348361A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43e859d47a5474d8acdaf81a0ea63aa9a909985f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: http://autobuild.buildroot.net/results/194/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6/ opus requires that it is configured with --enable-float-approx when -ffast-math (BR2_OPTIMIZE_FAST) is used, otherwise it errors out at build time: celt/arch.h:198:2: error: #error Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input Signed-off-by: Peter Korsgaard --- package/opus/opus.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/opus/opus.mk b/package/opus/opus.mk index 4f816df477..2fa929c7df 100644 --- a/package/opus/opus.mk +++ b/package/opus/opus.mk @@ -23,6 +23,10 @@ ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y) OPUS_CONF_OPTS += --enable-fixed-point endif +ifeq ($(BR2_OPTIMIZE_FAST),y) +OPUS_CONF_OPTS += --enable-float-approx +endif + # When we're on ARM, but we don't have ARM instructions (only # Thumb-2), disable the usage of assembly as it is not Thumb-ready. ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) From james.hilliard1 at gmail.com Tue Apr 5 19:38:52 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 5 Apr 2022 13:38:52 -0600 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> Message-ID: On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: > > > > On 05/04/2022 13:50, James Hilliard wrote: > > Currently we only test a limited set of toolchains that are mostly > > prebuilt, add a flag to allow using randconfig for randomizing > > additional toolchain settings instead of randpackageconfig. > > > > To avoid invalid configs we need to add additional config validation > > filtering and fixups. > > > > Signed-off-by: James Hilliard > > --- > > Changes v3 -> v4: > > - use fixup_config instead of other retries to filter bad configs > > Well, I don't like this. It means we have to duplicate the logic for checking > the bad configs in two places: in the mk file and in genrandconfig. Well it seems to work better since instead of regenerating it tries to fixup the config. I think this gives better statistical coverage of some config options. > > If the problem is that you sometimes don't end up with a valid config even > after 100 iterations, then I think a better solution is to feed valid values for > the string options. That way, we still do a build test of e.g. > BR2_ROOTFS_SKELETON_CUSTOM. That looks a bit tricky, although we could probably add it for some cases that we want test coverage for. > > [Others may disagree with me of course.] > > Regards, > Arnout > > > > Changes v2 -> v3: > > - properly check exit codes > > Changes v1 -> v2: > > - refactor fixup_config control flow > > --- > > utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- > > 1 file changed, 206 insertions(+), 9 deletions(-) > > > > diff --git a/utils/genrandconfig b/utils/genrandconfig > > index 3483d55c14..59fe34e58d 100755 > > --- a/utils/genrandconfig > > +++ b/utils/genrandconfig > > @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): > > configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > > configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > > > > + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > > + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') > > + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') > > + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') > > + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') > > + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') > > + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') > > + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') > > + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') > > + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') > > + > > + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') > > + > > + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > > + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') > > + > > + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > > + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ > > + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') > > + > > + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ > > + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: > > + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') > > + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') > > + > > + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ > > + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': > > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') > > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') > > + > > + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ > > + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') > > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') > > + > > + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ > > + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') > > + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') > > + > > + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > > + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_TARGET_BAREBOX=y\n') > > + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') > > + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') > > + > > + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > > + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_TARGET_BAREBOX=y\n') > > + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') > > + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') > > + > > + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ > > + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: > > + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > > + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > > + > > + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > > + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > > + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') > > + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') > > + > > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_TARGET_UBOOT=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') > > + > > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_TARGET_UBOOT=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') > > + > > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: > > + configlines.remove('BR2_TARGET_UBOOT=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') > > + > > + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') > > + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > > + return False > > + > > + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') > > + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > > + return False > > + > > + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ > > + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') > > + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') > > + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') > > + > > with open(configfile, "w+") as configf: > > configf.writelines(configlines) > > > > @@ -331,11 +517,14 @@ def gen_config(args): > > > > sysinfo = SystemInfo() > > > > - # Select a random toolchain configuration > > - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > + if args.toolchains_csv: > > + # Select a random toolchain configuration > > + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > > > - i = randint(0, len(configs) - 1) > > - toolchainconfig = configs[i] > > + i = randint(0, len(configs) - 1) > > + toolchainconfig = configs[i] > > + else: > > + toolchainconfig = [] > > > > configlines = list(toolchainconfig) > > > > @@ -409,7 +598,7 @@ def gen_config(args): > > bounded_loop -= 1 > > subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > "KCONFIG_PROBABILITY=%d" % randint(1, 20), > > - "randpackageconfig"]) > > + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > > > > if fixup_config(sysinfo, configfile): > > break > > @@ -433,10 +622,18 @@ if __name__ == '__main__': > > parser.add_argument("--buildrootdir", "-b", > > help="Buildroot directory (relative to current directory)", > > type=str, default='.') > > - parser.add_argument("--toolchains-csv", > > - help="Path of the toolchain configuration file", > > - type=str, > > - default="support/config-fragments/autobuild/toolchain-configs.csv") > > + > > + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > > + toolchains_csv.add_argument("--toolchains-csv", > > + dest="toolchains_csv", > > + help="Path of the toolchain configuration file", > > + type=str) > > + toolchains_csv.add_argument("--no-toolchains-csv", > > + dest="toolchains_csv", > > + help="Generate random toolchain configuration", > > + action='store_false') > > + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > > + > > args = parser.parse_args() > > > > # We need the absolute path to use with O=, because the relative From peter at korsgaard.com Tue Apr 5 19:49:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 21:49:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireshark: needs C++ In-Reply-To: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 19:10:15 +0200") References: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> Message-ID: <87v8vnux8o.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > wireshark needs C++ since switch to cmake-package in commit > 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: > CMake Error at CMakeLists.txt:32 (project): > No CMAKE_CXX_COMPILER could be found. > Fixes: > - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae > Signed-off-by: Fabrice Fontaine Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 19:48:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 21:48:14 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/wireshark: needs C++ Message-ID: <20220405193949.417C183621@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b927353cb6606c415566c3a83b12b4d14ae0bbed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 3763c30214d6c16c744c1e03a9ae7fe6fd061165) Signed-off-by: Peter Korsgaard --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Tue Apr 5 19:47:57 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 21:47:57 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/wireshark: needs C++ Message-ID: <20220405193953.7048383625@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d76f1433721b813661d1f3fb916590f8fd404b3b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 3763c30214d6c16c744c1e03a9ae7fe6fd061165) Signed-off-by: Peter Korsgaard --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From fontaine.fabrice at gmail.com Tue Apr 5 19:49:16 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 21:49:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ Message-ID: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> gst1-plugins-bad needs C++ since switch to meson-package in commit 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e Signed-off-by: Fabrice Fontaine --- package/gstreamer1/gst1-imx/Config.in | 6 ++++-- package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ package/gstreamer1/gst1-vaapi/Config.in | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in index 7b46233b53..41ef8548c5 100644 --- a/package/gstreamer1/gst1-imx/Config.in +++ b/package/gstreamer1/gst1-imx/Config.in @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK bool "imxv4l2videosink" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad select BR2_PACKAGE_GST1_PLUGINS_BAD help Elements for V4L2 output -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ + !BR2_INSTALL_LIBSTDCPP endif diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 234d57636b..669360adb1 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -1,5 +1,6 @@ menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD bool "gst1-plugins-bad" + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_GST1_PLUGINS_BASE help A set of plug-ins for GStreamer that may be of poor quality @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 endif + +comment "gst1-plugins-bad needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in index 91bd4f85dd..ade8b83a5f 100644 --- a/package/gstreamer1/gst1-vaapi/Config.in +++ b/package/gstreamer1/gst1-vaapi/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI bool "gst1-vaapi" depends on !BR2_STATIC_LIBS # dlopen(), libva depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBVA select BR2_PACKAGE_LIBDRM @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS endif -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_PACKAGE_HAS_UDEV + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From peter at korsgaard.com Tue Apr 5 19:51:15 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 21:51:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: bump to version 2.2.6 In-Reply-To: <20220328203139.1115402-1-ju.o@free.fr> (Julien Olivain's message of "Mon, 28 Mar 2022 22:31:39 +0200") References: <20220328203139.1115402-1-ju.o@free.fr> Message-ID: <87r16bux58.fsf@dell.be.48ers.dk> >>>>> "Julien" == Julien Olivain writes: > For change log since v2.2.5, see: > - https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.6 > Signed-off-by: Julien Olivain Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 19:50:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 21:50:53 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/fluidsynth: bump to version 2.2.6 Message-ID: <20220405194155.5E1A88362C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b82afb7f10d8561efa5651f452acf79824efc3fb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x For change log since v2.2.5, see: - https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.6 Signed-off-by: Julien Olivain Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit d2fc098faa5b8b8608b4c3d56dc526374c3319aa) Signed-off-by: Peter Korsgaard --- package/fluidsynth/fluidsynth.hash | 2 +- package/fluidsynth/fluidsynth.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/fluidsynth.hash b/package/fluidsynth/fluidsynth.hash index 0d41c16d8d..20eb9ec49f 100644 --- a/package/fluidsynth/fluidsynth.hash +++ b/package/fluidsynth/fluidsynth.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 9037e703617f91c4c36039a5059e0f624164799d856af715bcd8a23c07ba03b8 fluidsynth-2.2.5.tar.gz +sha256 ca90fe675cacd9a7b442662783c4e7fa0e1fd638b28d64105a4e3fe0f618d20f fluidsynth-2.2.6.tar.gz sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk index b500944c16..d7c72ed059 100644 --- a/package/fluidsynth/fluidsynth.mk +++ b/package/fluidsynth/fluidsynth.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLUIDSYNTH_VERSION = 2.2.5 +FLUIDSYNTH_VERSION = 2.2.6 FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION)) FLUIDSYNTH_LICENSE = LGPL-2.1+ FLUIDSYNTH_LICENSE_FILES = LICENSE From peter at korsgaard.com Tue Apr 5 19:52:36 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 21:52:36 +0200 Subject: [Buildroot] [PATCH v2,1/1] package/pango: fix empty-body In-Reply-To: <20220330165702.1018014-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 30 Mar 2022 18:57:02 +0200") References: <20220330165702.1018014-1-fontaine.fabrice@gmail.com> Message-ID: <87mtgzux2z.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure raised since bump to version 1.50.5 in > commit 68b0efbae49a42d0e14d6040e5e7e573d382ff75: > ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': > ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] > ; > ^ > Fixes: > - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2 (after review of Arnout Vandecappelle): > - Fix error instead of dropping -Werror Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From yann.morin.1998 at free.fr Tue Apr 5 19:55:45 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 21:55:45 +0200 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc In-Reply-To: <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> References: <20220404091256.683581-1-joel@jms.id.au> <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> Message-ID: <20220405195545.GH2354230@scaer> Arnout, All, On 2022-04-04 22:17 +0200, Arnout Vandecappelle spake thusly: > On 04/04/2022 11:12, Joel Stanley wrote: > >Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the > Peter just backported this one to 2022.02.x... > >Power8 optimisations off to fix a build issue. Instead apply a patch > >from the develop branch upstream to fix the issue. > > > >This patch is not yet in a released version of zlib-ng. > > > >Signed-off-by: Joel Stanley > Applied to master, thanks. Err... Why would we enable the POWER8 optimisations when the target is not a POWER8 ? Backporting the patch seems correct, but the enabling/disabling the optinisations should have stayed, I believe... Regards, Yann E. MORIN. > >--- > > ...rd-for-vec_sumsu-to-prevent-undefine.patch | 27 +++++++++++++++++++ > > package/zlib-ng/zlib-ng.mk | 6 ----- > > 2 files changed, 27 insertions(+), 6 deletions(-) > > create mode 100644 package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > > > >diff --git a/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > >new file mode 100644 > >index 000000000000..cc103215de3c > >--- /dev/null > >+++ b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > >@@ -0,0 +1,27 @@ > >+From 677f56825f7080403e18e57ffe8177f3df290f20 Mon Sep 17 00:00:00 2001 > >+From: Nathan Moinvaziri > >+Date: Sun, 23 Jan 2022 12:59:01 -0800 > >+Subject: [PATCH] Use static keyword for vec_sumsu to prevent undefined > >+ reference error when g++ linking. > >+ > >+Signed-off-by: Joel Stanley > >+--- > >+ arch/power/adler32_power8.c | 2 +- > >+ 1 file changed, 1 insertion(+), 1 deletion(-) > >+ > >+diff --git a/arch/power/adler32_power8.c b/arch/power/adler32_power8.c > >+index 029aa3a84c57..fc4086322efc 100644 > >+--- a/arch/power/adler32_power8.c > >++++ b/arch/power/adler32_power8.c > >+@@ -44,7 +44,7 @@ > >+ #include "adler32_p.h" > >+ > >+ /* Vector across sum unsigned int (saturate). */ > >+-inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { > >++static inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { > >+ __b = vec_sld(__a, __a, 8); > >+ __b = vec_add(__b, __a); > >+ __a = vec_sld(__b, __b, 4); > >+-- > >+2.35.1 > >+ > >diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > >index 938acd4181a6..fb497b8c11d0 100644 > >--- a/package/zlib-ng/zlib-ng.mk > >+++ b/package/zlib-ng/zlib-ng.mk > >@@ -23,10 +23,4 @@ ifeq ($(BR2_arm),y) > > ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 > > endif > >-ifeq ($(BR2_powerpc_power8),y) > >-ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON > >-else > >-ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF > >-endif > >- > > $(eval $(cmake-package)) > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From peter at korsgaard.com Tue Apr 5 20:06:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 22:06:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/upower: add gobject-introspection optional dependency In-Reply-To: <20220330173237.1377195-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 30 Mar 2022 19:32:37 +0200") References: <20220330173237.1377195-1-fontaine.fabrice@gmail.com> Message-ID: <87ilrnuwgk.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > gobject-introspection is an optional dependency which is enabled by > default since > https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 20:05:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 22:05:50 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/upower: add gobject-introspection optional dependency Message-ID: <20220405195717.0CDBD8363F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2dc7323ad083df69550e50461835f960d662cb42 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x gobject-introspection is an optional dependency which is enabled by default since https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 8bcae68f37d2c608e9e151fb983f16c09c11f85e) Signed-off-by: Peter Korsgaard --- package/upower/upower.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/upower/upower.mk b/package/upower/upower.mk index 8989ca9f5d..a6f39d2f46 100644 --- a/package/upower/upower.mk +++ b/package/upower/upower.mk @@ -22,4 +22,11 @@ UPOWER_DEPENDENCIES = \ UPOWER_CONF_OPTS = --disable-man-pages --disable-tests +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +UPOWER_CONF_OPTS += --enable-introspection +UPOWER_DEPENDENCIES += gobject-introspection +else +UPOWER_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package)) From peter at korsgaard.com Tue Apr 5 19:52:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 21:52:13 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/pango: fix empty-body Message-ID: <20220405195717.045DF8363E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99d31b4da16d22a715e3be5183c42a50deec92d6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure raised since bump to version 1.50.5 in commit 68b0efbae49a42d0e14d6040e5e7e573d382ff75: ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] ; ^ Fixes: - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 43991ac5e0e6cdb4aa03ed7011243aa0f473fd56) Signed-off-by: Peter Korsgaard --- .../0001-utils-viewer-cairo-c-fix-empty-body.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch new file mode 100644 index 0000000000..4b7b5f9b19 --- /dev/null +++ b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch @@ -0,0 +1,40 @@ +From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 29 Mar 2022 21:39:03 +0000 +Subject: [PATCH] utils/viewer-cairo.c: fix empty-body + +Fix the following build failure raised +since version 1.50.5 and +https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: + +../utils/viewer-cairo.c: In function 'cairo_vector_view_create': +../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] + ; + ^ + +Fixes: + - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] +--- + utils/viewer-cairo.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c +index ca98c1cd..f15b3fb9 100644 +--- a/utils/viewer-cairo.c ++++ b/utils/viewer-cairo.c +@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) + return NULL; + + if (0) +- ; ++ {} + #ifdef CAIRO_HAS_SVG_SURFACE + else if (0 == g_ascii_strcasecmp (extension, "svg")) + constructor = cairo_svg_surface_create; +-- +GitLab + From fontaine.fabrice at gmail.com Tue Apr 5 20:06:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 22:06:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/igh-ethercat: needs kernel < 3.5 Message-ID: <20220405200615.1755287-1-fontaine.fabrice@gmail.com> igh-ethercat needs kernel < 3.5 since bump to version 1.5.2 in commit 88cd215169d6875a5ed0543b15254b98f9f83104: checking for kernel for 8139too driver... configure: error: kernel 5.15 not available for 8139too driver! Fixes: - http://autobuild.buildroot.org/results/e8122e9d7c13d07a6ddc7d9a2d3a078c21521ecd Signed-off-by: Fabrice Fontaine --- package/igh-ethercat/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/igh-ethercat/Config.in b/package/igh-ethercat/Config.in index e600ef5fcd..51b8584f78 100644 --- a/package/igh-ethercat/Config.in +++ b/package/igh-ethercat/Config.in @@ -1,9 +1,14 @@ comment "igh-ethercat needs a Linux kernel to be built" depends on !BR2_LINUX_KERNEL +comment "igh-ethercat needs a toolchain w/ headers < 3.5" + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 + config BR2_PACKAGE_IGH_ETHERCAT bool "igh-ethercat" depends on BR2_LINUX_KERNEL + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 help IgH EtherCAT Master for Linux. -- 2.35.1 From james.hilliard1 at gmail.com Tue Apr 5 20:09:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 5 Apr 2022 14:09:56 -0600 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> References: <20220405025054.966064-1-james.hilliard1@gmail.com> <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> Message-ID: On Tue, Apr 5, 2022 at 11:19 AM Arnout Vandecappelle wrote: > > > > On 05/04/2022 04:50, James Hilliard wrote: > > Fixes: > > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > > make: *** [Makefile:84: _all] Error 2 > > How do you get this? I've tried a number of configurations, but I always get > > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > make: *** [Makefile:84: _all] Error 2 > > I could only reproduce with `make source`, but that's a bit a special case. Something like this seems to hit it: BR2_LINUX_KERNEL_EXT_AUFS=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" BR2_PACKAGE_AUFS=y BR2_PACKAGE_AUFS_SERIES=4 BR2_PACKAGE_AUFS_VERSION="" # BR2_PACKAGE_AUFS_UTIL is not set > > Regards, > Arnout > > > > > Signed-off-by: James Hilliard > > --- > > package/aufs/aufs.mk | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk > > index 4e95a350a0..b2dda771d9 100644 > > --- a/package/aufs/aufs.mk > > +++ b/package/aufs/aufs.mk > > @@ -8,6 +8,7 @@ AUFS_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_VERSION)) > > AUFS_LICENSE = GPL-2.0 > > AUFS_LICENSE_FILES = COPYING > > > > +ifneq ($(AUFS_VERSION),) > > ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) > > AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone > > AUFS_SITE_METHOD = git > > @@ -16,6 +17,7 @@ AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) > > else ifeq ($(BR2_PACKAGE_AUFS_SERIES),5) > > AUFS_SITE = $(call github,sfjro,aufs5-standalone,$(AUFS_VERSION)) > > endif > > +endif > > > > ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:) > > $(error No aufs version specified) From yann.morin.1998 at free.fr Tue Apr 5 20:10:35 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 22:10:35 +0200 Subject: [Buildroot] [git commit] package/util-linux: drop workaround for previously missing file Message-ID: <20220405200159.3122683649@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ab85fc137faa46bd1feb5d95b14ba9bedb1513e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE which is not needed since bump to version 2.37.4 in commit a586f0a283cd69f436bc6d0cff484460b412a1ce Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/util-linux/util-linux.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 9d9b61d8f5..b53b94ec31 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -35,13 +35,6 @@ UTIL_LINUX_CONF_OPTS += \ UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS) -# workaround missing disk-utils/raw.8 file in util-linux-2.37.3 -# release download package -define UTIL_LINUX_FIX_DISK_UTILS_COMPILE - touch $(@D)/disk-utils/raw.8 -endef -UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE - HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf # We also don't want the host-python dependency From giulio.benetti at benettiengineering.com Tue Apr 5 20:30:30 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 5 Apr 2022 22:30:30 +0200 Subject: [Buildroot] [PATCH] package/harfbuzz: bump to version 4.2.0 Message-ID: <20220405203030.3418304-1-giulio.benetti@benettiengineering.com> Since the major release changed I've built successfully all packages that have direct dependency to harfbuzz: - efl - libass - mupdf - pango - qt5base - sdl2_ttf - supertuxkart - vlc - webkitgtk - wpewebkit Signed-off-by: Giulio Benetti --- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash index e4674afa87..1576824a5a 100644 --- a/package/harfbuzz/harfbuzz.hash +++ b/package/harfbuzz/harfbuzz.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 7158a87c4db82521fc506711f0c8864115f0292d95f7136c8812c11811cdf952 harfbuzz-3.4.0.tar.xz +sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 331b35c530..551277a788 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 3.4.0 +HARFBUZZ_VERSION = 4.2.0 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library) -- 2.25.1 From fontaine.fabrice at gmail.com Tue Apr 5 20:40:04 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 22:40:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/liburing: needs MMU Message-ID: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> liburing needs MMU since its addition in commit 03ca6f4e39874583060317e7e15e9e360220877e: setup.c: In function 'io_uring_ring_dontfork': setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); | ^~~~~~~ | raise Fixes: - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 Signed-off-by: Fabrice Fontaine --- package/liburing/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/liburing/Config.in b/package/liburing/Config.in index d65a3f1322..fc13f1c17c 100644 --- a/package/liburing/Config.in +++ b/package/liburing/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBURING bool "liburing" + depends on BR2_USE_MMU # madvise() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 help @@ -11,5 +12,6 @@ config BR2_PACKAGE_LIBURING https://git.kernel.dk/cgit/liburing comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 -- 2.35.1 From ps.report at gmx.net Tue Apr 5 20:42:54 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Tue, 5 Apr 2022 22:42:54 +0200 Subject: [Buildroot] [PATCH v1] package/spidev_test: fix version determination (SPI_TX_OCTAL support needs linux headers >= 5.8) Message-ID: <20220405204254.11147-1-ps.report@gmx.net> Fixes: - http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842 .../build/spidev_test-5.8/spidev_test.c:132:13: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'? 132 | if (mode & SPI_TX_OCTAL) | ^~~~~~~~~~~~ | SPI_TX_DUAL Signed-off-by: Peter Seiderer --- package/spidev_test/Config.in | 2 +- package/spidev_test/spidev_test.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/spidev_test/Config.in b/package/spidev_test/Config.in index 81386adf7a..abfa885b73 100644 --- a/package/spidev_test/Config.in +++ b/package/spidev_test/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_SPIDEV_TEST proper operation of 'spidev_test'. The version used is based on your toolchain headers version, - if it's older than 3.15 then 3.0 is used, up to headers 4.20 + if it's older than 3.15 then 3.0 is used, up to headers 5.7 version 4.10 is used and otherwise version 5.8. This means you won't have quad-pumped SPI support if your toolchain is too old. diff --git a/package/spidev_test/spidev_test.mk b/package/spidev_test/spidev_test.mk index 6c5a9495a4..bd138b0142 100644 --- a/package/spidev_test/spidev_test.mk +++ b/package/spidev_test/spidev_test.mk @@ -10,7 +10,7 @@ # If you need quad-pumped spi support you need to upgrade your toolchain. # Note that the location of spidev_test.c changes from v4.5 onwards. -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0),y) +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8),y) SPIDEV_TEST_VERSION = 5.8 SPIDEV_TEST_PATH = tools/spi else ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 5 20:55:21 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 22:55:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/lsof: drop first and second patches Message-ID: <20220405205521.2117028-1-fontaine.fabrice@gmail.com> Set LSOF_AR and LSOF_CC to be able to drop first patch which is not upstreamable: https://github.com/lsof-org/lsof/issues/197 $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it is already set in LSOF_CONFIGURE_CMDS Signed-off-by: Fabrice Fontaine --- package/lsof/0001-makefile.patch | 14 -------------- ...cs.patch => 0001-remove-susvlegacy-funcs.patch} | 0 package/lsof/0003-override-cflags.patch | 13 ------------- package/lsof/lsof.mk | 5 +++-- 4 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 package/lsof/0001-makefile.patch rename package/lsof/{0002-remove-susvlegacy-funcs.patch => 0001-remove-susvlegacy-funcs.patch} (100%) delete mode 100644 package/lsof/0003-override-cflags.patch diff --git a/package/lsof/0001-makefile.patch b/package/lsof/0001-makefile.patch deleted file mode 100644 index 65b1b2e2a7..0000000000 --- a/package/lsof/0001-makefile.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel ---- a/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100 -+++ b/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100 -@@ -21,8 +21,8 @@ - all: ${LIB} - - ${LIB}: ${OBJ} -- ${AR} -- ${RANLIB} -+ ${AR} cr ${LIB} ${OBJ} -+ ${RANLIB} ${LIB} - - clean: FRC - rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core diff --git a/package/lsof/0002-remove-susvlegacy-funcs.patch b/package/lsof/0001-remove-susvlegacy-funcs.patch similarity index 100% rename from package/lsof/0002-remove-susvlegacy-funcs.patch rename to package/lsof/0001-remove-susvlegacy-funcs.patch diff --git a/package/lsof/0003-override-cflags.patch b/package/lsof/0003-override-cflags.patch deleted file mode 100644 index 135e599ac9..0000000000 --- a/package/lsof/0003-override-cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- lsof_4.84/Configure 2008-10-21 18:21:45.000000000 +0200 -+++ lsof_4.84/Configure 2010-11-03 14:00:00.000000000 +0100 -@@ -5206,6 +5206,10 @@ - cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF - fi # } - cat ./dialects/$LSOF_DIALECT_DIR/$LSOF_REST >> $LSOF_MKFC -+if test "X$LSOF_CFLAGS_OVERRIDE" != "X" # { -+then -+ sed -i -e 's/^CFLAGS=/override CFLAGS=/' $LSOF_MKFC -+fi # } - if test "X$LSOF_LIB_NO" = "X" # { - then - diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk index ff09d64345..e4e339349a 100644 --- a/package/lsof/lsof.mk +++ b/package/lsof/lsof.mk @@ -33,7 +33,8 @@ endif define LSOF_CONFIGURE_CMDS (cd $(@D) ; \ echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ - LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ + LSOF_AR="$(TARGET_AR) cr" LSOF_CC=$(TARGET_CC) \ + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" \ LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ ./Configure linux) $(LSOF_CONFIGURE_WCHAR_FIXUPS) @@ -41,7 +42,7 @@ define LSOF_CONFIGURE_CMDS endef define LSOF_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) endef define LSOF_INSTALL_TARGET_CMDS -- 2.35.1 From yann.morin.1998 at free.fr Tue Apr 5 21:06:04 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 23:06:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE In-Reply-To: <20220405185426.1250850-1-fontaine.fabrice@gmail.com> References: <20220405185426.1250850-1-fontaine.fabrice@gmail.com> Message-ID: <20220405210604.GI2354230@scaer> Fabrice, All, On 2022-04-05 20:54 +0200, Fabrice Fontaine spake thusly: > Drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE which is not needed since bump to > version 2.37.4 in commit a586f0a283cd69f436bc6d0cff484460b412a1ce > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/util-linux/util-linux.mk | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk > index 7c153a6804..243e7dac8d 100644 > --- a/package/util-linux/util-linux.mk > +++ b/package/util-linux/util-linux.mk > @@ -37,13 +37,6 @@ UTIL_LINUX_CONF_OPTS += \ > > UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS) > > -# workaround missing disk-utils/raw.8 file in util-linux-2.37.3 > -# release download package > -define UTIL_LINUX_FIX_DISK_UTILS_COMPILE > - touch $(@D)/disk-utils/raw.8 > -endef > -UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE > - > HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf > > # We also don't want the host-python dependency > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 5 21:12:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 23:12:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: References: <20220405025054.966064-1-james.hilliard1@gmail.com> <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> Message-ID: <20220405211250.GJ2354230@scaer> James, All, On 2022-04-05 14:09 -0600, James Hilliard spake thusly: > On Tue, Apr 5, 2022 at 11:19 AM Arnout Vandecappelle wrote: > > On 05/04/2022 04:50, James Hilliard wrote: > > > Fixes: > > > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > > > make: *** [Makefile:84: _all] Error 2 > > How do you get this? I've tried a number of configurations, but I always get > > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > > make: *** [Makefile:84: _all] Error 2 > > I could only reproduce with `make source`, but that's a bit a special case. > > Something like this seems to hit it: > BR2_LINUX_KERNEL_EXT_AUFS=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > BR2_PACKAGE_AUFS=y > BR2_PACKAGE_AUFS_SERIES=4 > BR2_PACKAGE_AUFS_VERSION="" > # BR2_PACKAGE_AUFS_UTIL is not set This still produces the expected error that Arnout reported: $ make qemu_m68k_q800_defconfig # just for a config with a kernel $ cat <<_EOF_ >>.config BR2_LINUX_KERNEL_EXT_AUFS=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" BR2_PACKAGE_AUFS=y BR2_PACKAGE_AUFS_SERIES=4 BR2_PACKAGE_AUFS_VERSION="" # BR2_PACKAGE_AUFS_UTIL is not set _EOF_ $ make olddefconfig $ grep AUFS .config BR2_LINUX_KERNEL_EXT_AUFS=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" BR2_PACKAGE_AUFS=y BR2_PACKAGE_AUFS_SERIES=4 BR2_PACKAGE_AUFS_VERSION="" # BR2_PACKAGE_AUFS_UTIL is not set $ make package/aufs/aufs.mk:21: *** No aufs version specified. Stop. make: *** [Makefile:23: _all] Error 2 Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 5 21:16:47 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 23:16:47 +0200 Subject: [Buildroot] [git commit] package/spidev_test: fix version depending on kernel headers version Message-ID: <20220405211029.7074B83657@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ac91235797fe9b234fb820c0112f21c26be1349f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: - http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842 .../build/spidev_test-5.8/spidev_test.c:132:13: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'? 132 | if (mode & SPI_TX_OCTAL) | ^~~~~~~~~~~~ | SPI_TX_DUAL Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- package/spidev_test/Config.in | 2 +- package/spidev_test/spidev_test.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/spidev_test/Config.in b/package/spidev_test/Config.in index 81386adf7a..abfa885b73 100644 --- a/package/spidev_test/Config.in +++ b/package/spidev_test/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_SPIDEV_TEST proper operation of 'spidev_test'. The version used is based on your toolchain headers version, - if it's older than 3.15 then 3.0 is used, up to headers 4.20 + if it's older than 3.15 then 3.0 is used, up to headers 5.7 version 4.10 is used and otherwise version 5.8. This means you won't have quad-pumped SPI support if your toolchain is too old. diff --git a/package/spidev_test/spidev_test.mk b/package/spidev_test/spidev_test.mk index 6c5a9495a4..bd138b0142 100644 --- a/package/spidev_test/spidev_test.mk +++ b/package/spidev_test/spidev_test.mk @@ -10,7 +10,7 @@ # If you need quad-pumped spi support you need to upgrade your toolchain. # Note that the location of spidev_test.c changes from v4.5 onwards. -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0),y) +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8),y) SPIDEV_TEST_VERSION = 5.8 SPIDEV_TEST_PATH = tools/spi else ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) From yann.morin.1998 at free.fr Tue Apr 5 21:20:19 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 23:20:19 +0200 Subject: [Buildroot] [PATCH v1] package/spidev_test: fix version determination (SPI_TX_OCTAL support needs linux headers >= 5.8) In-Reply-To: <20220405204254.11147-1-ps.report@gmx.net> References: <20220405204254.11147-1-ps.report@gmx.net> Message-ID: <20220405212019.GK2354230@scaer> Peter, All, On 2022-04-05 22:42 +0200, Peter Seiderer spake thusly: > Fixes: > > - http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842 > > .../build/spidev_test-5.8/spidev_test.c:132:13: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'? > 132 | if (mode & SPI_TX_OCTAL) > | ^~~~~~~~~~~~ > | SPI_TX_DUAL > > Signed-off-by: Peter Seiderer Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/spidev_test/Config.in | 2 +- > package/spidev_test/spidev_test.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/spidev_test/Config.in b/package/spidev_test/Config.in > index 81386adf7a..abfa885b73 100644 > --- a/package/spidev_test/Config.in > +++ b/package/spidev_test/Config.in > @@ -9,7 +9,7 @@ config BR2_PACKAGE_SPIDEV_TEST > proper operation of 'spidev_test'. > > The version used is based on your toolchain headers version, > - if it's older than 3.15 then 3.0 is used, up to headers 4.20 > + if it's older than 3.15 then 3.0 is used, up to headers 5.7 > version 4.10 is used and otherwise version 5.8. > This means you won't have quad-pumped SPI support if your > toolchain is too old. > diff --git a/package/spidev_test/spidev_test.mk b/package/spidev_test/spidev_test.mk > index 6c5a9495a4..bd138b0142 100644 > --- a/package/spidev_test/spidev_test.mk > +++ b/package/spidev_test/spidev_test.mk > @@ -10,7 +10,7 @@ > # If you need quad-pumped spi support you need to upgrade your toolchain. > # Note that the location of spidev_test.c changes from v4.5 onwards. > > -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0),y) > +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8),y) > SPIDEV_TEST_VERSION = 5.8 > SPIDEV_TEST_PATH = tools/spi > else ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Tue Apr 5 21:33:51 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 23:33:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnss: fix build on powerpc Message-ID: <20220405213351.2487658-1-fontaine.fabrice@gmail.com> Set NSS_DISABLE_CRYPTO_VSX which is available since version 3.64 and https://github.com/nss-dev/nss/commit/9dab43371d4d924419523e18ba84f02804880533 to avoid the following build failure on powerpc: cc1: warning: '-mvsx' requires hardware floating point cc1: error: '-mno-vsx' turns off '-mcrypto' Fixes: - http://autobuild.buildroot.org/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 Signed-off-by: Fabrice Fontaine --- package/libnss/libnss.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index 2f7a265136..4582c55ada 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -51,6 +51,7 @@ LIBNSS_BUILD_VARS = \ NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \ NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \ NS_USE_GCC=1 \ + NSS_DISABLE_CRYPTO_VSX=1 \ NSS_DISABLE_GTESTS=1 \ NSS_USE_SYSTEM_SQLITE=1 \ NATIVE_CC="$(HOSTCC)" \ -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 5 21:52:07 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 23:52:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/rt-tests: needs __sync_*_4 intrisics Message-ID: <20220405215207.2696390-1-fontaine.fabrice@gmail.com> rt-tests needs __sync_*_4 intrisics since bump to version 1.9 in commit 32be34427956a590d07d12e965f97fa9d2110ae9 and https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/commit/?id=c86dec5765e1ad0bd1d0c429ca7c138c11da2c80: oslat.c:(.text+0x1034): undefined reference to `__sync_add_and_fetch_4' Fixes: - http://autobuild.buildroot.org/results/9b065ee7611db3a404863b85161f46a2e9e8ddad Signed-off-by: Fabrice Fontaine --- package/rt-tests/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in index 47fa7cd840..8efa3d194e 100644 --- a/package/rt-tests/Config.in +++ b/package/rt-tests/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_RT_TESTS bool "rt-tests" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU # fork(), numactl @@ -30,6 +31,7 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain" depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 5 21:57:52 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 23:57:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix build without NPTL Message-ID: <20220405215752.2803676-1-fontaine.fabrice@gmail.com> Fix the following build failure without NPTL raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://github.com/postgres/postgres/commit/44bf3d5083e151d772c5d6f656e3e162f573dced: In file included from pthread_barrier_wait.c:16: ../../src/include/port/pg_pthread.h:31:3: error: conflicting types for 'pthread_barrier_t' 31 | } pthread_barrier_t; | ^~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:114, from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:71, from ../../src/include/c.h:59, from pthread_barrier_wait.c:14: /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:135:3: note: previous declaration of 'pthread_barrier_t' was here 135 | } pthread_barrier_t; | ^~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/70acbe121236ef0905c4466d4f7a0839723d2c49 Signed-off-by: Fabrice Fontaine --- package/postgresql/postgresql.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index c389246f80..1dfb20b58d 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -38,7 +38,7 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) POSTGRESQL_CONF_ENV += pgac_cv_type_locale_t=no endif -ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) POSTGRESQL_CONF_OPTS += --disable-thread-safety endif -- 2.35.1 From dpb at corrigendum.ru Tue Apr 5 23:34:11 2022 From: dpb at corrigendum.ru (=?UTF-8?q?=D0=A0=D0=BE=D0=BC=D0=B0=D0=BD=20=D0=94=D0=BE=D0=BD=D1=87=D0=B5=D0=BD=D0=BA=D0=BE?=) Date: Wed, 6 Apr 2022 02:34:11 +0300 Subject: [Buildroot] [PATCH 1/1] package/pkg-python.mk: remove hardcoded paths for host Python Message-ID: <20220405233412.4701-1-dpb@corrigendum.ru> When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ????? ???????? --- package/pkg-python.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..acd5628f3b 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -212,7 +204,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") -- 2.25.1 From Tim.Hammer at orolia.com Wed Apr 6 01:58:11 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Wed, 6 Apr 2022 01:58:11 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220405181815.5dd6d85e@gmx.net> References: <20220405181815.5dd6d85e@gmx.net> Message-ID: On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > Hello Tim, > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > Dear Tim, > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > doesn't plan to fix it any time soon: > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > > > In file included from ../includes/dhcpd.h:91, > > > > > from ctrace.c:29: > > > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > > > 51 | #include > > > > > | ^~~~~~~~~~~~~~~ > > > > > > > > > > ... > > > > > > > > > > # use libtool-enabled configure.ac > > > > > define DHCP_LIBTOOL_AUTORECONF > > > > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > > > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > > > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > > > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > > > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > > > > > > > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > > > > So this should be the host compiler, not the target. > > > > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... > > > > > > Thanks for spotting this, I basically copy/pasted what was done in bind.mk. > > > The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). > > > > > > > This is why I said I do not know the correct way- when I use $(HOST_CC), I get > > >>> dhcp 4.4.2-P1 Building > > PATH="/home/thammer/Public/buildroot/TEST/host/bin:/home/thammer/Public/buildroot/TEST/host/sbin:/home/thammer/.local/bin:/home/thammer/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/altera/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/opt/altera/nios2eds/sdk2/bin:/opt/altera/nios2eds/bin:/opt/altera/quartus/bin:/opt/altera/quartus/sopc_builder/bin" /usr/bin/make -j1 -C /home/thammer/Public/buildroot/TEST/build/dhcp-4.4.2-P1/ > > Making all in ./bind > > Configuring BIND libraries for DHCP. > > configure: WARNING: using cross tools not prefixed with host triplet > > configure: error: BUILD_CC not set > > make[3]: *** [Makefile:42: bind1] Error 1 > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > also be updated? > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > gen: gen.c > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > Perhaps we should be patching that file instead of the config? > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > Regards, > Peter > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step and I have not figured out a good way to get this diff in place. Perhaps someone with more experience can see the solution that is eluding me? .Tim Tim D. Hammer tim.hammer at orolia.com > > > > > > > > > Could you send those two patches (dhcp and bind) to the buildroot > > > mailing or do you prefer that I send them? > > > > > > > I can try out my other thought and send that in a while (if it seems to work). > > > > > > ... > > > > > > > > > > Best Regards, > > > Fabrice > > > > .Tim > > Tim D. Hammer > > tim.hammer at orolia.com > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From joel at jms.id.au Wed Apr 6 02:05:17 2022 From: joel at jms.id.au (Joel Stanley) Date: Wed, 6 Apr 2022 02:05:17 +0000 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc In-Reply-To: <20220405195545.GH2354230@scaer> References: <20220404091256.683581-1-joel@jms.id.au> <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> <20220405195545.GH2354230@scaer> Message-ID: On Tue, 5 Apr 2022 at 19:55, Yann E. MORIN wrote: > > Arnout, All, > > On 2022-04-04 22:17 +0200, Arnout Vandecappelle spake thusly: > > On 04/04/2022 11:12, Joel Stanley wrote: > > >Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the > > Peter just backported this one to 2022.02.x... > > >Power8 optimisations off to fix a build issue. Instead apply a patch > > >from the develop branch upstream to fix the issue. > > > > > >This patch is not yet in a released version of zlib-ng. > > > > > >Signed-off-by: Joel Stanley > > Applied to master, thanks. > > Err... Why would we enable the POWER8 optimisations when the target is > not a POWER8 ? > > Backporting the patch seems correct, but the enabling/disabling the > optinisations should have stayed, I believe... Taking a look at the cmake configuration, there's dozens of options that provide optimisations. It looks like it does detection of features: elseif(BASEARCH_PPC_FOUND) # Common arch detection code if(WITH_ALTIVEC) check_ppc_intrinsics() endif() if(WITH_POWER8) check_power8_intrinsics() endif() if(HAVE_VMX OR HAVE_POWER8_INTRIN) list(APPEND ZLIB_ARCH_HDRS ${ARCHDIR}/power_features.h) list(APPEND ZLIB_ARCH_SRCS ${ARCHDIR}/power_features.c) ... if(WITH_POWER8) if(HAVE_POWER8_INTRIN) add_definitions(-DPOWER8) add_definitions(-DPOWER_FEATURES) add_definitions(-DPOWER8_VSX_ADLER32) add_definitions(-DPOWER8_VSX_CHUNKSET) add_definitions(-DPOWER8_VSX_SLIDEHASH) set(POWER8_SRCS ${ARCHDIR}/adler32_power8.c ${ARCHDIR}/chunkset_power8.c ${ARCHDIR}/slide_hash_power8.c) if("${ARCH}" MATCHES "powerpc64(le)?") add_definitions(-DPOWER8_VSX_CRC32) list(APPEND POWER8_SRCS ${ARCHDIR}/crc32_power8.c) endif() list(APPEND ZLIB_ARCH_SRCS ${POWER8_SRCS}) set_property(SOURCE ${POWER8_SRCS} PROPERTY COMPILE_FLAGS "${POWER8FLAG} ${NOLTOFLAG}") else() set(WITH_POWER8 OFF) endif() The check looks like this. check_power8_intrinsics() { # Check whether features needed by POWER optimisations are available cat > $test.c << EOF #include int main() { return (getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_2_07); } EOF if test $buildpower8 -eq 1 && try $CC -c $CFLAGS -mcpu=power8 $test.c; then HAVE_POWER8_INTRIN=1 echo "Check whether POWER8 instructions are available ... Yes." | tee -a configure.log else HAVE_POWER8_INTRIN=0 echo "Check whether POWER8 instructions are available ... No." | tee -a configure.log fi } So as long as your compiler defines the PPC_FEATURE2_ARCH_2_07 in auxv.h, and supports -mcpu=power8, it will build the code. The application then does runtime checking of auxv to decide if the optimisations should be used. Setting WITH_POWER8=OFF on the command line will skip the checks, and not build in the optimisations. WITH_POWER8=ON has no effect as it's the default and the cmake logic will turn it off if it detects the platform isn't capable. >From what I can see, there's a small binary size reduction to be had by forcing Power8 off if your toolchain is power8 capable but you know your platform isn't. I think this is the case for GCC built for ppc64(le) but targeting a different CPU. I suggest we let the zlib-ng build system do its thing to ease the maintenance burden of keeping the flags up to date. I also welcome someone double checking my analysis, as I may have misunderstood something. Cheers, Joel From emile.cormier.jr at gmail.com Wed Apr 6 02:06:02 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Tue, 5 Apr 2022 23:06:02 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option Message-ID: When using cmake while running a post-build script, the ExternalProject_add command fails when the URL option is used to download a source tarball via https. This is because the host cmake is not built using the --system-curl option (https://github.com/Kitware/CMake/blob/master/bootstrap#L660). Without the system-curl option, the cmake build will use its own bundled libcurl without OpenSSL support, and thus downloading tarballs via https fails. Adding the --system-curl option would entail that libcurl also be built as a host library. I don't think it currently is. I use CMake's ExternalProject_add in our project to download and build the static library dependencies that our embedded application needs. I know that buildroot provides various packages for cross-compiled libraries, but I have no control over the versions (and compile-time options) of these packages. Cheers, Emile Cormier -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.petazzoni at bootlin.com Wed Apr 6 05:29:15 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 06 Apr 2022 05:29:15 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-05 Message-ID: <20220406052921.EA8D8408C5@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-05 =================================== branch | OK | NOK | TIM | TOT | 2021.02.x | 61 | 36 | 0 | 97 | 2022.02.x | 31 | 49 | 2 | 82 | master | 161 | 464 | 4 | 629 | Classification of failures by reason for master ----------------------------------------------- libcap-ng-0.8.3 | 54 host-binutils-2.32 | 53 host-gcc-final-10.3.0 | 34 host-util-linux-2.38 | 29 dhcp-4.4.2-P1 | 18 argp-standalone-1.3 | 17 libopenssl-1.1.1n | 16 host-elf2flt-7e33f28df198c4... | 14 uclibc-1.0.40 | 13 host-gcc-final-11.2.0 | 11 util-linux-2.38 | 8 fetchmail-6.4.29 | 7 glibc-2.34-109-gd64b08d5ba7... | 7 python3-3.10.2 | 7 toolchain-external-bootlin-... | 7 arptables-0.0.5 | 6 refpolicy | 6 host-gcc-final-9.4.0 | 5 libressl-3.4.3 | 5 minizip-3.0.5 | 5 bubblewrap-0.6.1 | 4 git-2.31.1 | 4 linux-headers-5.10.104-cip3 | 4 acpid-2.0.33 | 3 host-nodejs | 3 linux-5.15.30 | 3 linux-headers-5.10.104-cip3... | 3 perl-5.34.1 | 3 polkit-a2bf5c9c83b6ae46cbd5... | 3 toolchain-external-bootlin | 3 unknown | 3 wavemon-0.9.4 | 3 bitcoin-0.21.2 | 2 edk2-edk2-stable202102 | 2 frr-8.2.2 | 2 host-gcc-initial-11.2.0 | 2 libeXosip2-5.3.0 | 2 libgcrypt-1.10.0 | 2 libglib2-2.70.4 | 2 libnspr-4.33 | 2 libnss-3.76 | 2 libsigsegv-2.13 | 2 linux-headers-5.15.30 | 2 ntp-4.2.8p15 | 2 qpid-proton-0.35.0 | 2 shadowsocks-libev-3.3.5 | 2 toolchain-external-codescap... | 2 uacme-1.7.1 | 2 vlc-3.0.16 | 2 zlib-ng-2.0.6 | 2 arp-scan-1.9.7 | 1 aufs-util | 1 azmq-1.0.3 | 1 boost-1.78.0 | 1 dash-0.5.11.5 | 1 elfutils-0.186 | 1 expat-2.4.7 | 1 fluidsynth-2.2.6 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 gmp-6.2.1 | 1 gnu-efi-3.0.10 | 1 gobject-introspection-1.70.0 | 1 gst1-libav-1.20.1 | 1 gst1-plugins-bad-1.20.1 | 1 host-binutils-2.36.1 | 1 host-gdb-arc-2020.09-releas... | 1 host-go-1.17.8 | 1 host-llvm | 1 i2pd-2.40.0 | 1 igh-ethercat-1.5.2 | 1 jack2-1.9.20 | 1 jpeg-turbo-2.1.3 | 1 json-c-0.15 | 1 kexec-2.0.23 | 1 libkcapi-1.1.5 | 1 libsepol-3.3 | 1 libuhttpd-3.14.1 | 1 liburing-2.1 | 1 linux | 1 linux-pam-1.5.2 | 1 linux-tools | 1 ltp-testsuite-20220121 | 1 lua-cqueues-20200726 | 1 mariadb-10.3.34 | 1 mesa3d-21.3.8 | 1 musl-1.2.2 | 1 netatalk-3.1.13 | 1 netsurf-3.10 | 1 nodejs-14.18.3 | 1 opensbi | 1 opus-1.3.1 | 1 pigz-2.6 | 1 pixman-0.40.0 | 1 poppler-21.12.0 | 1 postgresql-14.2 | 1 python-ujson-4.2.0 | 1 quickjs-2021-03-27 | 1 rt-tests-2.3 | 1 stunnel-5.60 | 1 tcf-agent-1.7.0 | 1 tinifier-3.4.0 | 1 toolchain-external-bootlin-... | 1 transmission-3.00 | 1 trousers-0.3.15 | 1 vde2-2.3.2 | 1 xenomai | 1 xenomai-custom | 1 xfsprogs-5.14.2 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/daca163055a0ebadd1429c8ebe7ce417fe6d044f | ORPH mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/fc45b7452ccba73824c891c85df9a51e2808073c | ORPH mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/3a8143a9dbeaaf54d7bb31fa3302c797a34c7de4 | ORPH powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4c4902c10c461edccd9d19dbd707f5d1a54b553c | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/de643c272959bdb2abf492dc6355b3f070700dc3 | aarch64_be | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/62627d4caf26ea779a83015f84de32eb9f933c8f | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/abd285457025014c9edd188c896d047a9c6036cd | mips64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/993d4ff30ea1307139f1d61a87774a6fe93ca5cb | powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/98b0460badfb25d61f2ded4bd8d514343f8c11e5 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/56bd4a08daf594b077cdb711338ec661d62b2d4c | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4688b1c928926559df95b999fc46a1364b00d4f0 | mips64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2e7521e0ef558c311c9f5d816e40a4fbaf4d5403 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2bc37b6d39515f3e55ebc1e5de039ff00423088f | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/ec06546ddad277efee9574ec3cfab9d214ce26ca | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/bc711e2306ee163a466e1266e0680f310a8acd7a | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/3a3119c75874c54f4fe716d6b76a68f178fec26c | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8c12a8d961bd85c35faa87a21373c22d5f0de707 | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/bb22ff237173d4bf823462d5c3be5d14830b502e | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/53edf33d3f92e1eba634b1c7f4e3a006053026a2 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/1bd7fa7bdeeb46dafa93d74d619dedf0782efe39 | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/81a1769cd171dc6a0222a5d2815722fb54fdb5bf | mips | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/58fe75adc3fd7a03f89a20fd7770067868d395bd | ORPH m68k | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/08e1934491e2bfaf4dbb88563cb0cd0b59c57350 | ORPH xtensa | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/cce400da857bdc879d4d08722b58af03bb1d8b91 | ORPH x86_64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/d34b19dfc85fe14aa48aa2587f47806d7325f7fc | ORPH powerpc64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/eedddc7837b6f82ae227291110324b4952e985cc | ORPH powerpc | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/36d4a0cd44996e604a48968eb83a6cee5391d237 | ORPH microblaze | aufs-util | NOK | http://autobuild.buildroot.net/results/045de2159128efa04c569eb33e2cdea635e614f8 | mips64el | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/ea35c7ba2dc55c2abb9ce80475d582a84a5c1857 | i686 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/aefc9671012be95185fa11287cc34dddbcb0164c | microblazeel | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/18d5fceb06dc5e0c548e21406247e4f7dba93702 | arceb | boost-1.78.0 | NOK | http://autobuild.buildroot.net/results/e7d1211f56e19eaac90b736acc9890860edbbcf6 | mips64el | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/0a061b99e76334564275d7c72a1f75bb92680bae | mips64el | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/ed6387873de4f83104fe0d292bbe9d1acb864a40 | mips64 | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/6eb391de2739adbf9f682f33665e40c4d7b73af4 | mips64el | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/1a2c7ef066e917905d253ed1132453f2858373f6 | powerpc | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/b44312c180f176e1dc820f854b5de16afd14495d | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/517513461b1d72e9a913eeff358dae50fd322f31 | ORPH arceb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/54fc7a34cf11c82d4095e30587840653202657e5 | ORPH m68k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/71b713d02993fb7576f8dae0e632cdc589a9d8d0 | ORPH arceb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/13ff97aca0265c51945e85ff86bffb59cf86d304 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/6d8df3d0746cd837609118a0142a20dbf9dbaa91 | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/e75c4781d9830df3bce8259b826f5a0a05511c0a | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2833756fc0ad9d44fbe234ede709bedf43919c90 | ORPH i686 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/edf5d63d780ad76799258e38307fc43d29b98e8e | ORPH microblaze | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2ce6a327249930dc69ec51ce5913da3e998a7b80 | ORPH microblaze | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/e6170fa98d51671c95317ea10c250a08f9027fe0 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4d04d0b3eee050ed547b445116d5930d68e5dbfc | ORPH arceb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f83f22667592c1371d91f6ae2fc0d8e2700749d0 | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7b5b4ccf52b0b414631163315b51108ab4e31675 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/b3e68143a3131b711a7a931ffbf8cf3c768d1068 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ac46880aff9ce3b98200d313af9e08a7fadd46d0 | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4d38e28bdd2b2089809a20a617323073e943dead | ORPH riscv64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/75867ce4a1c9c85d8fb2c371aaaa558b1f31485c | ORPH powerpc64le | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/92f7505b91aa3a0aa048ccbf77dcf1645f86882d | ORPH x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/c4ba2eb6e189c60eba3a9145178d55a3a9f3257f | x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/61cbc98b394dfbf2bc43086ea7c08d4d8e4fa473 | microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/9a9fb889d9ebcc77f291b75df6799d0a73b3c430 | ORPH riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/50d4d8ca7998a17242554b7dd6b28792af0cb7f8 | sh4a | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/91cd6965175b8f045e5b19c7f9ed7dec8e07b20e | aarch64_be | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/685d2382b83703b6ff52b7166a32592f8d264d1c | mips64el | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/e85ca363583dac22ef714a0c64ed65b93fa6252d | powerpc64le | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/361aa495b367e10eee8eb2dd5605ff45e1442aba | microblazeel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/2389efc4178533a051a077f5cdc3663a1cd45553 | or1k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/b5e017a0bd744aaa93966e94c0aa3295fcdf5c78 | mips64el | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/402ac2ceec34ba110ac7736078bcb2f2d57f3b7f | powerpc64 | fluidsynth-2.2.6 | NOK | http://autobuild.buildroot.net/results/7397ed790848bba92b576e4d1c4d3c3bc109de20 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/74fc23820f34477fbbb6191fc9de0325d492e3ea | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/e23db63ffff8560b990b1bf34db236b2b7a1ad88 | powerpc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/b1847deb59c58b9f454cef1e6c3379da132cf82e | arc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/6c8271198d4887482a2596dcb8a99d1edd7d6987 | mips64el | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/e0ef9e5e299a257ad5ce6da90d2154d6a7d90199 | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/e8f616075432d7ce16cb093b0ecdc358c813a3bd | mips64el | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/58a7ef0a54f55a6e2264a8e625063186b44b5ca5 | mipsel | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/fdf3fd8987338ffd382d9df7a13b36f6288ea169 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/9a439099deb63a7cea61b82a44c6e9115e5cc9cb | sparc64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/34ba772505b6229b060c1e6bea5c5455306587ac | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/223b369cc3ecdbe62c1a63b96fab1bea835b44a2 | or1k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/f3aa44d70c2b61ee5dd4afa5c85aba89ddb0d281 | arm | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e287a1169a1ed7d4c9d90f835ecaee8cdabbf183 | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/37bd129a59cd2d55acd578ea4cb8ae8897021799 | powerpc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/9cd61b5c8dcd009511c3de3716a2f9f2ea5169a2 | or1k | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/465d37e771bbdd53899e77a7816ddba37bb479de | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/ff7441526eca6fdb6fe2d853e6b1df6ace3d4fc6 | xtensa | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/834a03303dd73abec964e39ee130909dbd34dece | mips64el | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/152831fa2a11e4df0dc72b7a7f05d08921d059cd | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/6bd0f1dc3681a37f433a549784dc74ba2032a74f | mips | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/d106e211494bd3fa9c4dbf3e48af605e77bacba0 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0aebe8992e1754a24fb88c034183334256f7fc42 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/5ef49d11d7a30c2a641341f9ab0a0841d2ae5aae | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/506dad3ce843f7ba2c0865ab9c480801d54b3697 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/ddf9ab8e3f0d08a4d8a273896243a8260474da2a | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/638d08c7855ffacf254d5c30065f0aee4967a8f8 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/2fbb7a7c42d47143d6c3b79f67faaa5fa79b5107 | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/2267b98f3bb5d003c6fd2e539e44f38039f05be1 | ORPH mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/15b27c22cfc6b3425a4b848b299ad50affd7850c | mips | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/3a3a612815af8f752c2dee7c8272813b2fe8bc3d | ORPH powerpc64le | gst1-libav-1.20.1 | NOK | http://autobuild.buildroot.net/results/ac246245351d473ad1d297efbbab99195e104862 | ORPH powerpc64 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/4e0f02ee8d4a5223cea5ea9981c3e530e0fb8bcf | ORPH sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/067c86b9d8716d99e3cd12b134f03b69df87a65d | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4cb1c4855ffa85ccb30d575ee186645dd516c90e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/193d5d952f85b8dd51b8886222c8aea07a24045d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8c4c535768a55a4079f33e6198a6a8fbc505e91e | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/89fee98c04ec86463491eb559d395800ea5faa05 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2a2fbef243a9e2cd801d86c48bbb555dfcb0c511 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/75fe8dd263a01f780babdd114bad6cfa0f0556a4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b97d0a5b4956b8af6ee8313a6f1497b29b87266b | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fd21a5139ac835aa3c56fc021a5db0fc04097fd1 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c0671c1c0b2d2c030a53186eecd11fb84db62f92 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f2a4059a371430fad0b04491acefb2078ff551d1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/754b237038f2bc296cbb45afb1446243259e7934 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3b3652b2cce75e0f5ec0452abf3276df5d925096 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f695f0fa3b841131a57b290ba3ec3a8de2b0b126 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/16c4d058a4d6510518636e6850893a53620ce80b | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5158e7e54c218a6de9bee87edfc1ac8952a1bd12 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cd7945196c549110373837b978454388a0b35660 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f48cd77ead2ec9a6e86a9cdac211d7263dc866c7 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/13ecc66dc6ef95631bb1c342950a2336849e1e68 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/79b59f88b11eb6e8467915976412c2f6ecd46f1f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1ce6a71d75cc30b91149f4d042ba808ee97a0f6f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fd202773c5ec64484d9b054b61ac2b4f040a9dea | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b9d3c84f74f6ffb3b1fb214ce2d66a5163280e0c | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d4da98c214801af51fecf26a15fcbec3b71cb053 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d4370720b5cfcd5ad7410f006034a497a6cc89f4 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fade1fc34ac4c09a81e8502e8fbaf87d58d08658 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/903da6a6c6ee19d9731a239bccaf2aa8d2278a85 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b3fbe0ff1192ba49bde134f3830dfc6195c0c68a | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d05fc87a191419ae2ac77d35142a3e07e600a9a0 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9b5d3ddb79aa101e741b9afd029df24375b50bd1 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3cd2e95be6590af001e067c46ee69b7ca73dccc0 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8f72566d9dedef90446bf51379b765d81a043e88 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/577b46468816c102d051a573b987b71959abb3d1 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e90db70167afef4ef4e0e3192c5921beabd05ea8 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a86d8a0708be02d605796a9fdabf9593eb5e0903 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/90707cbaeafb5aabc5aaebf0aed6ca01f8b97349 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/13edeeb6956f9cef1c2800089230b4c789185eb0 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ac4bb9bf8ba2b408ef51301d36126175d6704dc4 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f4a4c41acba692677f5de979defc69e651130b34 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2615a3e11ab80a74c06793fd9311d96e4ec60547 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ee04afc8f1b21519a6d5bef5832d009f26cdddda | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b5d7f84e33a5b2e9bde4b11dfa0c82249ac462a6 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ce52fd397cd7caca4e3db146f3d4c1e22b9450ed | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1dd5b318fb1adf547309fdf4cc9c1ac40daa69e3 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/56ad075417d7cb4b879c63d294c46f20c4f6d7ad | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/773f7a76e1f95de4247624dea6d009e3442017bd | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/eb795ebdd210da07fb5758a22290a112d65cc766 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a4b4b99b254c10939224a458dcd78ddb55aa48d9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8cab41346f8a477500af08840725d84bdd0c0697 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7b1a3d8d40010b7ee32e6986bfd4976d35fe8036 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b349cf899b753909c443b1116ceafdabb519ba0f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/13d980f7e1040dba4d07057dee9b3acb523d8210 | riscv32 | host-binutils-2.36.1 | NOK | http://autobuild.buildroot.net/results/9095f133cac009ce312885c8601fc058ebfb791e | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1517c536453a4b052cb1cc29cddd8e1a96973fb5 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/a2f444e8e562497a72d63954372faa9efeaf7dfa | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/032253a9f76c09757b0e9e6c05dacf62e44bf8e9 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/4e52f6eb4a56b89bcb1d82a9af2328ec520d3b21 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/851274a79e961918d67bed11e2042eb479e7801e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2d6bdd4c73361e60342dfa0c5f2de0b81ff700bb | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5cbf7ce8d26249a40f7f0cf04e975a913b9b7e00 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/42eddebe4fdbad03aa09462a3e96c3d22661eaa9 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/790eed236d78a1f43d8f9cdae55d0e0d09538036 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c054b7b3d36b1afc6d38708089dca186a516d0fd | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/be2abb408396bd04a0f451ebbd477fa515ae7f16 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8cb2979b75a0cd546075218d13f3f40360a0e39a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f7f9b14218b8369a668811b5e1467c21905e8635 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/acd47cdb66d942e873c2e4c10331298734d0ef67 | ORPH microblaze | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/289c09db42de8f3734daec7107eaa11c540173bb | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e90abffc373ec5c7ac6f496dd3809ed825c224df | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/217637a9fc930ae933255fa3223438e027e177db | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c0b922bbcbd646eccc9f7b071494136a26d8e016 | microblaze | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b5a19ac799f765e50a255c94252b1d6500c84522 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/89014a9ff4f783b6b25fed452403b2c9bb012612 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7791655d27ec12a2309d4abc164ef3f6e1bd4ac2 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/766421760835097977f9b56cefd479804db4c9be | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd8e25439c51d52c89118a455f6aac6c35e76899 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/de7c724ff99c3a6fcc4d310864e3e4922f77a955 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ebe07b12d0bab2e433a11d6ddd38f2155f410d1a | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a514deae3251e5afc5e97946290add26ab3d036a | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c892cb0641cfb37dc8a0c46ea4db8a4fc34b4654 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bff6660353e735cad5580d39b8b0057cd4af2204 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c032f4d8ac1d35ec7b37a801af735a9aad70f05c | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/eb224f5e4f927fcbf730999627250a0023a23843 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b1ffbddde5f68e767fa5754e1acc5dea2f175544 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b9f81a9bccf23ffe831c266d40a712ed879b2983 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2bc548ff68a6cf5b0bfe6c57a85d2ec825f3f132 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/59188be9f3d8c5b142e03134ee7c0ae9fe8657b5 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/277e1df7bf5e4b7539ea0b1b83a707fca35f879f | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/94ce2b27615012dcf46f237860dfa1d5277e89c1 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0a9ec42ac9f1ef1fc6187db63063083a65a254a9 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c031a9c1e7e1deca427c2718ae83995f94c6ae4c | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cc43c2810ea92676e2bc85ac620cb66b562a8324 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a97f62bd8635b6c957c038a4a1e4ef0f3c331044 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/990ba75b2ba4c799ce9645e73704bc3b5160da5e | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4d9b759de7254dcb13d480777fb3e615adf07100 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/21694d985d79e91224dc70fa2193fec02dd0c2ed | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/df3b25b5d7c9292b6b7a88c2cbe42d69420e269a | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/453381d1c313a1b8186fbcf42fcb27715f6365f1 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8e314bd590ecdb3de894a8d62f9bf408adb72dae | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2839a646964fb19c5c2ba1ba40cd7f8c9d45e3fe | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/196c15d79133b036b71472caae2489029138b637 | i586 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5f9e1d18dcd475c49001fe8edb8a42f7bb2176c2 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/56b8256883794b20352c99da324f50b2b8769527 | riscv32 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/daa9fcaeef34640b2b11de46464a06fb68074071 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/50a7a78dc25a1acbb49d1edb8c85a14049da7818 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/14479e43874df14f0ae5a272114b7f77baffb475 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/35afb5b94506708bb4cf36b442bbd0a6a826561e | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5b01505ab62e166284b8a50fe949ddd2ad5f5ef8 | i686 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/efb1f95a90704fd69774cc0e6843cc136a58243a | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/8977b98702c5be377c355a9ac4988aca69c5aed9 | i686 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/2bc55e7e2ea4bf6e284edfd72e12ce59c4bbe638 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/cce5378dc4742658231ed427bcbc32c4fa78d1b4 | riscv32 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b9352a8e80fe4aeb964599fa475bbbb1911a17c6 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/38ae790c2baa8a9bf2d14e51750c14d2dbf2fd82 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/17eebf9e5fd0f7048fdf6f59e7bdd566f148cfba | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/538b01b03efa96a34a63a6e6ae2ff138de5ff81d | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/fd134be4bf39c3fd8f58c13123d6ca76a38c986b | arc | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/6703c8b3b9bc6c0ce89a2aa2af18dd7adbd251fb | arceb | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/88a047aacb7706f6a5b11ca59af6aae8485b45ea | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/1c1f5fa2c6fc87b98884041ca27c675913a1cb2b | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/b14eb160e1692fe57140fd98265b777bd59b771c | arm | host-llvm | TIM | http://autobuild.buildroot.net/results/27f871838fa68890d71b67dfe1db84257817b111 | powerpc64 | host-nodejs | TIM | http://autobuild.buildroot.net/results/765f5df367564d8d9e5f7b043611b984246c7fab | powerpc64 | host-nodejs | TIM | http://autobuild.buildroot.net/results/5ca9f753214363e81b3670149378a15178551f15 | or1k | host-nodejs | TIM | http://autobuild.buildroot.net/results/c21486ed11eee702262fafab70469b56223250b2 | riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/83eaefc2d54bf99d2a255cedc28be47b75091e4c | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/163c0523b214b832cf35f9de570c1646b47c012a | ORPH i586 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b91fc8024dfa1c9ddcc5fcfabff8e1b8dcbf4076 | ORPH powerpc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/199b0c876b57162b49980beafe81d7bd02ed05d1 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a5009454993edb53ece124bd28423380a1064a0d | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/614b29ba10f813bbb12542a4192d4e4b04ace8c3 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e373a3e23345d5ebee613be49f4f6c00d604bf3d | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/9843eedcab294f1e2a59ca35c780b0815cf48871 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/78a4599d54e614cb860daf11dff65facabd96d76 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/760011649b1accd13c3e158f4cd535c6b0bf270d | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/64f8e7274f99035eeabeeffa0d8a98de5207ca18 | ORPH mips | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b16d5961fde3b89acede85f8cc0361dc2f9511c8 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ac9391894f40cef931e2a5a2ae0708da9b7dedd0 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3bb2416436847906c8a5a300d5de853eb31f80f9 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e82c3527455e16802447db01eaac9bb52a66d2dc | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/acd85a165e668da1dfb6261bbfea68f1325f58c9 | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/05da8176fbd69635778502c106c4f225d3a688f4 | ORPH sparc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d03efb31fb0704b02d788e0c838fa5db9795816 | ORPH i686 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/01c28d06e549d7634914314cbab7f21a3911396d | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/20829b670ea844c00e7abe283b71643450480e3c | ORPH sparc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d48d395b8c43457a7146020bc6ca86e0d0b6dd6 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/5ead2baee8ee6fbcb87b9eeefb9f47d58dd56139 | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/1f21f3441ac25db0a10a641f386e050dbea9f351 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/738602b9c6e813d57143637ce5cf36aa972b2e6b | ORPH sparc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/02eb9a4bedea848b6641499a711e845c3c5a57a8 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ccbde436f31ae38d87572cb3fe3e1dd0e442391d | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e258c368bd99acd5058d8d377c4e00a887d295da | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a357baa17d8cff2768b478d2b352bc2332a5f757 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6081f7e2a89bb3d62e4fb725c1c3966a4afd75ad | ORPH microblazeel | i2pd-2.40.0 | NOK | http://autobuild.buildroot.net/results/02d35c45571078e45d65421f028a64a02a09d29e | microblazeel | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/e8122e9d7c13d07a6ddc7d9a2d3a078c21521ecd | m68k | jack2-1.9.20 | NOK | http://autobuild.buildroot.net/results/d5a09b2e9cc9cabcae1d9a1b18a6b3195b495b35 | or1k | jpeg-turbo-2.1.3 | NOK | http://autobuild.buildroot.net/results/a9ff5d03f9e777dadeb733eaffaf9a0ad2ae4c77 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/b000f078fc5d63695a124ca02061dc3386da36d5 | powerpc64 | kexec-2.0.23 | NOK | http://autobuild.buildroot.net/results/9b00a09608920e0a042851f16e18589164e7f9cf | ORPH i686 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7e1da7c0ce68bf035470e392f6b3553f962fa84c | microblaze | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/834ddd3ed704a5f8ac4b4414096c9350426e26e5 | microblaze | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/3e41e87d76f0177778b6a09655f046eca0dfe839 | sparc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/14ff4dac7baa5812fd2601953412265d030edd8b | powerpc64le | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/229ee476709c3ac9605ec96ed909654222445e23 | powerpc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/56b42dc70b76a9c55db8fbbc7f40d62ef36e68ec | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/6cb7b88eebcdc9dff22857f65db1e6874ba867ef | arc | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/e343c07ca04e37f3430966d6934b2a7671a7f864 | nios2 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/03f9e7cd3ad9bc60feb1f931a93a7c4d31be4190 | powerpc | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/fa5f638bc76f1aabe313d1e132d9280f120fd68d | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d653572182d0ddcdc169f0c048edfe662719a3a7 | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d8e9da07b0bfa1a56825a5e5163fcb8ba6a48b3d | mipsel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/985cedc2ce8c57a331f23638e1bfa9eeeb61391e | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/06a9dcaaf6ce9dd3920123cc9adb53cf3968ead0 | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7d2b4949840e793ee37c4af2742b2237a928b2dd | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/225dcc419ee37da0e8bb792634584688491a54fd | xtensa | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a88f1c9ecc8c7583cd144907ca38ee6f78610094 | powerpc | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d0b4f0b29dc1383f9bcc45e4afc19b18a5a1b2f7 | i686 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/c992454185d223ecec636848e52854e3752265e6 | mips64el | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/cf6776a8dbbf53fea22f9e2a7fad0ebb53d98953 | mips64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/0f885011a64229c55813bf720f5f94ce5a1e84eb | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/1561b5d4f35264acad563417ccc49db19a74b316 | mips64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/99752a541b7e2d5edf04c7e817b9cbc642c8074c | s390x | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/25f6b9c85b9791dc91085d78a1c368dbb2341607 | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/4f1846832b99bfddf6b1ffab3a56da3700e98d07 | arceb | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/e9da11b3a5738937cbf9483c3bb5b3902f9f30f9 | riscv32 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a349d9b3348e45739709a0c2c2946352b646437d | mips64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/72e475d5421a3b1ec94909cfee6f563a4d48754a | nios2 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/4a30b2e8a3186969ab8df7d69181c005d66b514f | microblaze | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/5bf1b8e34ee9456e2642b08ee121266040c2a87f | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/900a3fd2e755d4de1e467f878a9d416d58e63d03 | xtensa | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a25dcfc737da349323ccad100d6eabb14e4eeded | microblazeel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/8ff55c32413edc15fcf19ecb1cb6240d976e8429 | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/c864a52e8ae38365eef70a96a00c54399cdd3cb9 | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/2d260fc03933d826d1c30cecba8d15e085d67ede | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a3ffd6f3cc3f3e4296fa5fb6be4124394489a98c | powerpc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/b67c5d3107cbc491819c6845ef79d6d6f2f3820c | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/c5bd925c53325af9eeebef4429a687ca51f50640 | microblazeel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/b59a29e50d82221cddec7797ddec72e726a3929d | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/3cc54b67f9fa08da2cbad90c64653a12d7e21ef2 | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7f5ece5c42e2093b5e6e3f855369668785de3ab6 | mipsel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/c8854917015f614c98edcad3cce3ab456511d4dc | arceb | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/fe46549a452655f75ddcce37120bac7268f5ece7 | sparc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/ae10b7a9bf1da3a1c970f86f5477eb8d9e236974 | powerpc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/8a620cc4ed9bba411ef776e531aacca594464e9c | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/dc2a4ceba220b5b75432c0f513be964737cd1ba0 | powerpc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d5de62fbe05eef4a8159a06640f10f440a2a32e8 | sparc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/87e5a81bd6acf0e5cb9cb3b42ae58e88a5108d62 | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/1de31128f6023a965345bc77551ad36aa63cdaff | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/ad1e91b04186ef9def9c829667b02a696b423e27 | mipsel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/de221606fff83e638adb4136d545a7a8180d924d | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/759a42e9dd2583dae9a7e864bff7ffae7cabaa69 | microblazeel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/94c57d57e9631263e80a9e66f4b6a0bef3622f34 | sparc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/2e76bb60b29f4713d58fc6a09781114da541d332 | microblazeel | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/a655356ffa8f9ad96a8b958b2d58a534e3a2ad3e | x86_64 | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/2076e83e50fed120fc478b82bc3525d864644cc1 | ORPH powerpc | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/c44741ac569c0702de5f16768020ac2fa0fc6f5c | ORPH arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/2d22b34f17ae834e8371266efb03ef295d486e7b | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/86025a4f08ab310877e27745e9d95132e1ba4f2b | aarch64 | libkcapi-1.1.5 | NOK | http://autobuild.buildroot.net/results/f202e0dbe0420070da133cb558c97d205c2f69a6 | ORPH mips64 | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/26d6898b54d79f220c6d69e31a0702953812f595 | mipsel | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/a8cfc55f40edf600eebffbc2b896fee593555a90 | microblaze | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/d394272a04d8a05f67e40bf98584691618123f66 | powerpc | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/eb0006f5e55ffaf46525a7ef8625f84af215dfba | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/97d8bbd3708255deb3052ef80685f53d9882ff79 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4854523af57d2e784e6393378027ee100b6c2d66 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/63681881b4735a12d473db6cdc9f178ac39e4f74 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/299ed49ecd3ba6abd5a8ff72489b99340af71386 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6f4a3ab634da0893e00a6d7633db15dcdbd661c8 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/341ec05640fe36056b8db205d0c044b9e23ca9a6 | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c72840011cf2b0125f36a5e092e6fee4f918be74 | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3b73fc535ffce2bf8a342087dde3af64ba878b6d | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/243b9c5b1c48d1073af66ff04fc4584487a50554 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/39c799334e88c2e214497f059837860e44e76083 | riscv64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/311e407fb1b120fb531bed3fa9e69bb7208cb819 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9577d62225015ac9cd583dc1147c196a5dd04fee | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3516524c7219c4d33a5650178496220a0816c9c4 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/11f685990dccb2e3a010a2f19509fab77674af13 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/49112190d3cc88ad34e6a4f9a5fb6c3d909f4c0e | arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/91c8e1c2cdada3e5c21546d1c8565e016fd6e3df | ORPH mipsel | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/7bac96d1f98d1656d007163cde423090c642bd82 | ORPH sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/73062d2461765edf726c67f8576cdf6bb0e78dd2 | ORPH mips | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/03a2f646a0a410ca2d413f58c0885db2ae32eed4 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/09ba0aacdac1b133795f0665c057a1e22c8777d2 | ORPH mips64 | libsepol-3.3 | NOK | http://autobuild.buildroot.net/results/dcfc36d5e3958092fdddadd28b8bf9f13ef6341d | or1k | libsigsegv-2.13 | NOK | http://autobuild.buildroot.net/results/f830c8ba332b7d5bd44b40ccd694f25fb7b4e39e | microblazeel | libsigsegv-2.13 | NOK | http://autobuild.buildroot.net/results/36d44e4126dc7f5de47bc1d5b56169b5ac6c4c61 | mips64el | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/4b2327762e55a61c9cd638806ff82b2e2261c1af | riscv64 | liburing-2.1 | NOK | http://autobuild.buildroot.net/results/33f3c58e98daab07139b4f400b85f87c0e314240 | sparc64 | linux | NOK | http://autobuild.buildroot.net/results/b2edb56a295a4a79ffba489a5833ab65a24cf595 | powerpc64le | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/feaef79ad27d0c983393986337f6cfa64bfc32ff | ORPH powerpc64le | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/98d5cc52b99ffd61bee6f97aa8e3e8b10a16b9a5 | ORPH nios2 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/c37c30d7c9172ee88b09ac9dbab5f5f9373cf06e | ORPH arc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/b4fc56e48125c862135a06c17f76ac82b8797b2e | ORPH mipsel | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/ea269b766c47ce9b4b786f5c5545f226cae713a2 | ORPH nios2 | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/6234e2a07e1d39f9e35b2af3e790abc6bddf1336 | ORPH powerpc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/bab1068e07ab02150f533eebbc1135149cef5b1b | ORPH or1k | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/aefbdf2bef98e271fbd3d5abf9484b4de5f57ecb | ORPH m68k | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/682c2f6b12ab3565ca27a6cecf966266e155dac2 | ORPH x86_64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/1a770a67a9e6f7fa39fef33cebfda851220ff9e1 | ORPH riscv64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/b2e465c351478faa92f4e5b893041f34b194a19c | ORPH mips64el | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/7643839d0d1191c37510358dfcbf88aeaf320dca | ORPH or1k | linux-pam-1.5.2 | NOK | http://autobuild.buildroot.net/results/2f1fe98997d83c2d106bf9f5646a60d71cd195ab | ORPH m68k | linux-tools | NOK | http://autobuild.buildroot.net/results/fe3094623062d283d28cad188bb27f49116fa6c2 | ORPH mips64 | ltp-testsuite-20220121 | NOK | http://autobuild.buildroot.net/results/33539520b8bbba6d5644d467663c61b8ce5f92f5 | or1k | lua-cqueues-20200726 | NOK | http://autobuild.buildroot.net/results/6b8784b29a395d16124a60275778a23951b074fa | sparc | mariadb-10.3.34 | NOK | http://autobuild.buildroot.net/results/dd09214e9ad85e1529bb9005a554eca723a622d8 | ORPH x86_64 | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/927c5918ecb4772d2cecb93b09e5c7d91370f179 | microblazeel | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/1c565e2ab6c5e2af1ef3097f1cef8a38462291c1 | or1k | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 | mips64el | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/f18827b57e2620042862aee39b5ad15771c8b6b6 | arceb | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/c66f96d4ad8e1136c4a828e2b69ee213717f2640 | sparc64 | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/ebd66dec0f055e3e32a323e47e9b41e1fc4bdc9d | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/6397e40d4afd138cb58c3c6181f52d53fb58d80e | mips64 | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/fc6e308f346570f8198542602bc8c1bdd0a4869e | ORPH sparc | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/d1b13fb687870cff5df7d3a896895e0481241661 | mipsel | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/62ccbac40b2f204a0a054af2b2ffc145484ea7fa | riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/15e5906f4d82f3a9c9b0e39de9d1a13bd139cdd7 | ORPH riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/7bdc48044397d4972e00945e6f92324874a7c191 | ORPH riscv32 | opensbi | NOK | http://autobuild.buildroot.net/results/268bae4d0e6a85257fd943c2100520ac0e926bf8 | mips64 | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6 | ORPH arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/ed53011b7d8bc0070ed516522f7b02e0daad96c2 | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/afe36cf1e1f0591e0db184df686d92c93ab537f2 | arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/29c8313959da19748dc7aa74f401e1e20dcd6208 | microblazeel | pigz-2.6 | NOK | http://autobuild.buildroot.net/results/505586d05e5f482167031700ef4007713a7a883c | mipsel | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/457381e0737e02915f62e63ecf4c94d3c2d9ab7a | x86_64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/edd1d38cbffa7854d6114266b98bad71445a008e | sparc64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/9fbffaadae44fef750b0a8c55f43a5963527bd85 | arc | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/657c2fba2bf7b1e09d314e844c6dba4acdada6f5 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/ab0c3c7b1e3f711e6c57f9213b9ff6e0917edd14 | arc | postgresql-14.2 | NOK | http://autobuild.buildroot.net/results/70acbe121236ef0905c4466d4f7a0839723d2c49 | s390x | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/2783680f7b879adb4f5a7ce6eef1b76d7d37221c | mips | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/4aca4b9a4d2fa28dd1ab42fb17f3186cc9c049b4 | powerpc64le | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/ce21b651333b6928d24eb7df6a3ddef624fe3726 | or1k | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/a60b201ab5649456eefd507e1b89956f610dda7b | powerpc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/67ceb89760abf6c2f94ca7dd0c98570c47e9d1a1 | riscv32 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/0c4160ae0bddad82040ef91f3d456b5f7c9a1e3b | i686 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3cdcb9b3679c83208146beebf4e32a07db28fea1 | mips64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/6096b55f3855f8a29b399042b56ae7550ce32a05 | sparc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/35b5e5ba2fad0a6749cb84fa13533ce2acba98d2 | arceb | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/3725dd843efd0ac4c8594a808b0632144ea9999b | or1k | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/12dedb1d95f7d43b73a7f2bc8997b0341c783f82 | or1k | refpolicy | NOK | http://autobuild.buildroot.net/results/21521364196d28b85601722c4102e1cd91c2d558 | microblazeel | refpolicy | NOK | http://autobuild.buildroot.net/results/a57689a7d648c2e8b8617839375b46e8a360ac73 | i686 | refpolicy | NOK | http://autobuild.buildroot.net/results/26be1d7839f1a75da77b971068884217860f087f | riscv32 | refpolicy | NOK | http://autobuild.buildroot.net/results/99cf7744a5d5cd9457df79ce70ec3d18a925196e | m68k | refpolicy | NOK | http://autobuild.buildroot.net/results/5e96e25de59d1f3047cbace5298a54802465f955 | arc | refpolicy | NOK | http://autobuild.buildroot.net/results/389ef1133d16157156f7c9d4cf1b4edb6a20e15e | sparc | rt-tests-2.3 | NOK | http://autobuild.buildroot.net/results/9b065ee7611db3a404863b85161f46a2e9e8ddad | x86_64 | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/25dc0b1a55430e5cdcfc754ac23bd9643e98b3d7 | microblazeel | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/3faebf5518b06f33fcbf953f06096db2b9864d25 | arceb | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/c48ba8e71dc917b2e11051088dd252be81b3609f | microblaze | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/ba942099b7b1c1951bcb0ffc94393da96ecf3c5a | x86_64 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/67411ca3db917dc5a3afd2a996930e1c83e65d1c | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/d1701d3cd579805429491ed00c5ebb8d27eed7c3 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/0c54e3304802212ffcdc9b2256eada5772cc93ab | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/e98239b08bec776e1886d7e56587fd62755a2b88 | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/24e134e6fc92b77c6c7ba6a562e6d04d8b60616a | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/2bbf4782f833e543c607cb40d1137baf3b7ffc56 | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ec56b3d7e8d4011f5ff60d885bc0401b3ee60634 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/61ecb8ef67345b78ef89364b2fc543ed225e3927 | ORPH sh4 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/3263d0bceed9149df419cd9b2f512ce3fb7808a1 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ac0a74d9d853f69756c768fad16bd182ea5c563f | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/1bfdf2e5ad328de3ba44b27918f024ccc4a32785 | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/b6dc01e0f45ea76299e790d14e6aac2ab0098b32 | ORPH mips64el | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/af76ae4510eb4df0053d1cdacf8a1ca7dc967308 | ORPH mips64el | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/701e8a5f713f7bdd1f32a4c549cdaac580e2522a | ORPH powerpc | transmission-3.00 | NOK | http://autobuild.buildroot.net/results/ece7cc1960ed8d359b0255e54f33c47bc074b5dc | microblaze | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/e10467180259a04eecb7796977d0c8e4c9ab6d03 | sparc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/71724e0787b4d8d5a385dfe066e81905cc14e4c2 | mips64el | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/2223e6c8f5daeb398cc1d537cbd65b2e5cc38612 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ea9c8d7e92229ab588d4f03d986f5b4d694c5e4a | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7acc79b9cfea53ea5666eb34f1d6ea04b1e52c04 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/fcf18381f646bf82f95d2002e8b87a6533dcb7cb | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9063360f7c1a292e9c564e2a973a7c8cbf2f0c20 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/d81392433011e7d4d3648153f763de90380151df | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f9eebb7651da17741ed169f8795fe4b2da08ae3c | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7fa1ff7f232a0c13282e958d0adffcea9a969aea | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/e1078a170a6bb18d84525debaee18b1b83ce8d11 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/839fea87623396716ddf84ef778114a02069fec6 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/808278bd95457ab765d2311e5dd9ce825c9c048b | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/76ffe8f861aea6073f7f8597febd5421f706332d | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/45a8607a726e96ad5d835e227c92713fbb0221b6 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/78f397e9254183cb2de6ee8f76cf10ced999d8a0 | mips | unknown | NOK | http://autobuild.buildroot.net/results/1d16866c76e16e05b76f35d4c1656f5e92253af5 | arm | unknown | NOK | http://autobuild.buildroot.net/results/30df848eef3606d3741f77e3e32273cb31232123 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/83e4866f61506c4ef3e44a1df79d24b6e0a01cc6 | mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/09ee68b90de34074b891a740d4d61dde1c09234a | ORPH powerpc64le | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/572ecf8e37ac733a4e4265f4f78f35230337278e | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/aa6265a9708a3a0802f11254580d25fb6e14523b | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/268ffce1f3eecdd276a839ceb4983846e119bf53 | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/5b8ec91bb359353258642d7638377e7eee4f0ec8 | ORPH or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fe45244d9aa5ca4337fdc82695c2bd2b94be19ea | ORPH or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/74864d6ae381fb4ae51ee74dd4bd2afe107bb21d | ORPH xtensa | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3206198f6b30015245d002392b439840187b0efa | ORPH microblaze | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/2208d46f5beb3a24503777c330f5fc5af7410906 | powerpc64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/1eef5e40ef5000562eb85ae6cb781485414d12e3 | mips | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/046f767178b18eb19185390a117400f6d7392c9b | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/c56a8f657783fb9c193c77fb09ca2b8fc1146231 | sh4 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/075db7ce9716a475e9e88adaadde19a1a0a65beb | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/b4b28837fb65bb1a2190ec9c7a9b73c20e2c392e | mips64el | xenomai | NOK | http://autobuild.buildroot.net/results/f844a862c94f912377973af1fca7a72c01a7422d | riscv32 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/e73d775ba208aaaa13c60abccd949ebe97c3a207 | mips64el | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/09d1fb0dcdfdf890b98523ca74fb8bacae555534 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/da6ffe5d42bcea90b06a96680373c457b58b312c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a02b9a21f0c01a765d059b04a6824430b0e94ff7 | ORPH Classification of failures by reason for 2021.02.x -------------------------------------------------- host-binutils-2.32 | 4 monkey-f54856ce250c4e257354... | 4 linux-headers | 3 host-gcc-final-9.4.0 | 2 libkrb5-1.18.4 | 2 opus-1.3.1 | 2 aircrack-ng-1.6 | 1 argp-standalone-1.3 | 1 cppcms-1.2.1 | 1 docker-containerd-1.4.12 | 1 exempi-2.6.1 | 1 gensio-2.2.3 | 1 glibc-2.32-50-g737efa27fca5... | 1 host-cloop-3.14.1.2 | 1 host-elf2flt-7e33f28df198c4... | 1 host-gcc-final-10.3.0 | 1 host-sentry-cli-1.57.0 | 1 kexec-2.0.20 | 1 libgcrypt-1.9.4 | 1 linux-headers-custom | 1 rocksdb-6.13.3 | 1 uclibc-1.0.39 | 1 unknown | 1 wireshark-3.4.12 | 1 zeromq-4.3.4 | 1 Detail of failures for 2021.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- s390x | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/ecb7150e448d7abd5062ee81487812b31074686e | aarch64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9a6db716447d3d89cb215f85fd9b8cf2fed08bc7 | mips64el | cppcms-1.2.1 | NOK | http://autobuild.buildroot.net/results/b9903ddb357b68e439a12c65e1975cb9a18cc17d | ORPH s390x | docker-containerd-1.4.12 | NOK | http://autobuild.buildroot.net/results/d557b3c2fe1617d38601f20b9745040770587389 | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/19955e5ec732d7a70868cdfd11fbb25ce73bc3f1 | m68k | gensio-2.2.3 | NOK | http://autobuild.buildroot.net/results/a7545ffbd43ef8b87559563d3bd9f2e42236909b | powerpc | glibc-2.32-50-g737efa27fca5... | NOK | http://autobuild.buildroot.net/results/7d3e6728b4621fde50e4bfe45578f3f77c9e1044 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f8553452759e8360e82fda3b9b3cebb08cbdaa41 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f241f9a10a498c904f4979c633661cb169d825b6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/836441ba335ff2391fbb581f69ff52923c12cd8b | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/44a5d99999c174caeaefe7db1deec89f9d4fb9d4 | nios2 | host-cloop-3.14.1.2 | NOK | http://autobuild.buildroot.net/results/d4dcfa703d32ebac01af9207c4ea4d1085b04501 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2d83b3ed0c205fbaee3acb820449bf94a16fd7c1 | ORPH x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/262b79b0dc5156c45eda6dca176cc071bb4bc27c | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/7a008e2a775f86f6aaa113fecb83cc5280ea52f9 | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/45dbc548b0b4fb788d8f1aea2e004dd2708cc1a1 | mips64el | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/eedaa13d3b05ed027c69325730b62fd1a6527ab6 | powerpc64 | kexec-2.0.20 | NOK | http://autobuild.buildroot.net/results/4e95d9a276f581a5819e6817a1ab13f616e0fb13 | ORPH powerpc64 | libgcrypt-1.9.4 | NOK | http://autobuild.buildroot.net/results/8f10e80a60a9bb58ae5e0e497a3ccd6f394aa51e | ORPH sparc | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/1536e65e3142080821af45c743e8b58e5c858895 | riscv32 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/63affc0a07c69f6ebcf3d95dc565dafc97c853f7 | microblazeel | linux-headers | NOK | http://autobuild.buildroot.net/results/d162670d5af3da6170e9fd3c4dca4da426322cee | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/c7da6541832c03e1c60c0a28ca76c29a8c991c15 | ORPH arc | linux-headers | NOK | http://autobuild.buildroot.net/results/0f64d278bf3472d294d6d9d15acd9bcbeacfbcc7 | ORPH sparc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/5f5046d45cc62ad5d735ffe23de9d30ffd027845 | ORPH arc | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/d01a453f767e6212cddb2024ce41bbcb2afb507e | microblazeel | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/5b3acf834a35f64a5a4fe51af2eb4247b1c7d2d7 | mips64el | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/6cbefeed9c8343b144f2424a1eddda2d99cc1fcb | mips64el | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/fdc5e94ce5ce8a4f87f0f77dc989d2cfb7a0499a | arc | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/9eaf7ba2e975271c12f5dfff2aec08011b452c00 | ORPH i686 | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/ccd287c5bcf549e6ecca5d45d03bc3de7a099f58 | ORPH arm | rocksdb-6.13.3 | NOK | http://autobuild.buildroot.net/results/a0e9b2f65e45c706e75b2f225b865c6b8814e4e2 | powerpc | uclibc-1.0.39 | NOK | http://autobuild.buildroot.net/results/9fd699bead50695d6bb80cf47e2beae6068fd63b | arm | unknown | NOK | http://autobuild.buildroot.net/results/06c5a340db4458025d944defd02ff826a3aba584 | s390x | wireshark-3.4.12 | NOK | http://autobuild.buildroot.net/results/563059d3205fd4f490bed88842f50b659b16e698 | ORPH or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/5f58a86e86208dde33ae426d0f4118a40b4853fa | Classification of failures by reason for 2022.02.x -------------------------------------------------- host-binutils-2.32 | 5 host-gcc-final-10.3.0 | 5 linux-headers-custom | 4 argp-standalone-1.3 | 2 glibc-2.34-109-gd64b08d5ba7... | 2 host-cloop-3.14.1.3 | 2 host-elf2flt-7e33f28df198c4... | 2 linux-headers | 2 zlib-ng-2.0.6 | 2 alsa-lib-1.2.6 | 1 dhcp-4.4.2-P1 | 1 dieharder-3.31.1 | 1 frr-8.1 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 glib-networking-2.70.1 | 1 host-gcc-final-9.4.0 | 1 host-go-1.17.8 | 1 host-llvm | 1 host-nodejs | 1 libkrb5-1.18.4 | 1 libnss-3.75 | 1 libostree-2022.1 | 1 libressl-3.4.3 | 1 linux | 1 netsurf-3.10 | 1 opencv4-4.5.5 | 1 opus-1.3.1 | 1 pango-1.50.5 | 1 refpolicy | 1 strongswan-5.9.5 | 1 unknown | 1 wavemon-0.9.4 | 1 xdriver_xf86-video-tga-1.2.2 | 1 xvisor-0.3.1 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- or1k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/693fdbc36bb93d1ccae14ad7598f5646baa973db | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9c49b4d8fecd9d9bbe58b001616d2450c38fac98 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b6e03d72758636a916e69b79d23503c6fa17e966 | powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/cc0ea5bbdfb6cfb055480267455de58aa2baa5aa | ORPH powerpc64le | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/47c5f257ec39843089c4f70e1cfa76be422034db | mips64el | frr-8.1 | NOK | http://autobuild.buildroot.net/results/7665ffc63c22e9f00082de2fade66cf28f6f6663 | powerpc | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/57db91278234a5c836fc1957a3ef92436cb88d91 | i686 | glib-networking-2.70.1 | NOK | http://autobuild.buildroot.net/results/f99e48e9f5b48f853d33d2bfc05b0149be3817c5 | ORPH microblaze | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/298d84f747040079a475f13eba0e6687518dcda6 | mipsel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/6f300ad8bcc61c25d61039a75f6a6893826fabb1 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/091945d0ae6b60cbbe362c11a519fe29e506f1d6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ab9c0a4a62ceb16f4fc9bd9de6c7df8ff1b69d30 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/aa0f3d626dd72db6adb635a53cd7bbd71f652fd7 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a3c5866adadc4e30f25ee700b5f1efbf880c7a2a | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/29ce8893c81267fda7f137ef6d66fb7cfd48fdfd | arceb | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/9abe764cc0844cc976ffd6b5ece622352956fdc8 | microblazeel | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/66a057aeab77484760d0abcc718ecc5817371028 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c2a670cdeb504f1bfae4413967668db2cb47afd0 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e3c1d9d8437e032c9ce825bcecf5282c49adc4e0 | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ef9bcbc4a10e58dd0584fb58a78a238a2befaaad | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2be08c9907887f44accb9bc167a8ec0895456ae9 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/84d29673fcbfee1a73c53c7d2789a9c0c5c84db6 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dfea4198cd4a1f8587c2f52e46279605d67c5100 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/934ed8f22c5e1e2cf5cf82cd95b172b7260f2c02 | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/3c98ae127311c01180b9702919ee4cdecc11449c | mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/2502d123e4ea2c3ebeb4a0c13f09309e34db1005 | i686 | host-llvm | TIM | http://autobuild.buildroot.net/results/09bf32cba1369df101e5f2fb72e40c47ee380fc5 | nios2 | host-nodejs | TIM | http://autobuild.buildroot.net/results/b8e6849e336bcd96e38f88ad49aa514e37f3d127 | arc | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/0043ce8b498a35aff017a140710400c5cf694d53 | microblazeel | libnss-3.75 | NOK | http://autobuild.buildroot.net/results/fa9f76bdd2739c7181ad95124d68e4dd3fbda909 | arm | libostree-2022.1 | NOK | http://autobuild.buildroot.net/results/052ee97dba9e320a3e25aa13385bc6e0451839d1 | sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ea1a39e2049d3822807abfe5d6f6df751833d020 | ORPH mips64el | linux | NOK | http://autobuild.buildroot.net/results/b7009c753ee312607996e1ad63778f5854cf867e | armeb | linux-headers | NOK | http://autobuild.buildroot.net/results/3b0eca443d8092c053443eafc9e2ffa1105bfef2 | ORPH powerpc64 | linux-headers | NOK | http://autobuild.buildroot.net/results/b2f7980fa13d1ad3e0879f9f3fa1cfdb7bcc4521 | ORPH m68k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/82dd33479c085b601fefe314fa8ad590d0b3a2b4 | ORPH m68k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/cdbbc808b563e9fd92a7f7a80ce97c7feddbb1bc | ORPH mips64el | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/029a9ac4173dbb73d4d27d900eb48a0ca6e772f5 | ORPH powerpc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/e3624282e0aeaf03b75b1d8a07bab80d07b4b89c | ORPH powerpc64 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/ba59d1a9809e2d6900ebc8c02a753e1a9bd7b76f | arc | opencv4-4.5.5 | NOK | http://autobuild.buildroot.net/results/ea3ca20d32f46b85482c7a5a9ca2734e86eddd94 | arc | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/5a5246aa200b4b0f93ad8787376140cd9a1b3936 | ORPH arm | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/8d045e5f6499466ee6712f291bf9288a800d2eee | ORPH arceb | refpolicy | NOK | http://autobuild.buildroot.net/results/21e9606e969604adadaaf384c5dc7b62d15da898 | sparc | strongswan-5.9.5 | NOK | http://autobuild.buildroot.net/results/b2a1dbb3b0587a6f298a32a9137ea9092317ea5a | sparc | unknown | NOK | http://autobuild.buildroot.net/results/5b2131b17fb4a109b2a6bb15f5dbfa3ca9551978 | mipsel | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/273db1b7fc0c2a82313ceae50299e5f39e1e380f | arm | xdriver_xf86-video-tga-1.2.2 | NOK | http://autobuild.buildroot.net/results/191c5d2acfe128785acd9651ebb670ec849d25a6 | riscv32 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/d6d652814e72d1b71bd1726a3559ba07fc8fcf22 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f1bc3f095f0d3f1a4871ead19ac47511136b7040 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c390c7954b22a78218cd69c5266d2ddbf12b65cd | ORPH -- http://autobuild.buildroot.net From fontaine.fabrice at gmail.com Wed Apr 6 07:08:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 09:08:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220405181815.5dd6d85e@gmx.net> Message-ID: Le mer. 6 avr. 2022 ? 03:58, Tim Hammer a ?crit : > > On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > > Hello Tim, > > > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > > Dear Tim, > > > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > > doesn't plan to fix it any time soon: > > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > > > > > In file included from ../includes/dhcpd.h:91, > > > > > > from ctrace.c:29: > > > > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > > > > 51 | #include > > > > > > | ^~~~~~~~~~~~~~~ > > > > > > > > > > > > ... > > > > > > > > > > > > # use libtool-enabled configure.ac > > > > > > define DHCP_LIBTOOL_AUTORECONF > > > > > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > > > > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > > > > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > > > > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > > > > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > > > > > > > > > > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > > > > > So this should be the host compiler, not the target. > > > > > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... > > > > > > > > Thanks for spotting this, I basically copy/pasted what was done in bind.mk. > > > > The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). > > > > > > > > > > This is why I said I do not know the correct way- when I use $(HOST_CC), I get > > > >>> dhcp 4.4.2-P1 Building > > > PATH="/home/thammer/Public/buildroot/TEST/host/bin:/home/thammer/Public/buildroot/TEST/host/sbin:/home/thammer/.local/bin:/home/thammer/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/altera/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/opt/altera/nios2eds/sdk2/bin:/opt/altera/nios2eds/bin:/opt/altera/quartus/bin:/opt/altera/quartus/sopc_builder/bin" /usr/bin/make -j1 -C /home/thammer/Public/buildroot/TEST/build/dhcp-4.4.2-P1/ > > > Making all in ./bind > > > Configuring BIND libraries for DHCP. > > > configure: WARNING: using cross tools not prefixed with host triplet > > > configure: error: BUILD_CC not set > > > make[3]: *** [Makefile:42: bind1] Error 1 > > > > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > > also be updated? > > > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > > > gen: gen.c > > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > > > Perhaps we should be patching that file instead of the config? > > > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > > > Regards, > > Peter > > > > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step > and I have not figured out a good way to get this diff in place. > Perhaps someone with more experience can see the solution that is eluding me? My bad, I made a typo in my first mail, you should use $(HOSTCC) and not $(HOST_CC). Patching bind is not needed. I can send the patch or let you handle it. > > .Tim > Tim D. Hammer > tim.hammer at orolia.com > > > > > > > > > > > > > > Could you send those two patches (dhcp and bind) to the buildroot > > > > mailing or do you prefer that I send them? > > > > > > > > > > I can try out my other thought and send that in a while (if it seems to work). > > > > > > > > ... > > > > > > > > > > > > > Best Regards, > > > > Fabrice > > > > > > .Tim > > > Tim D. Hammer > > > tim.hammer at orolia.com > > > _______________________________________________ > > > buildroot mailing list > > > buildroot at buildroot.org > > > https://lists.buildroot.org/mailman/listinfo/buildroot > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot Best Regards, Fabrice From joel at jms.id.au Wed Apr 6 09:57:35 2022 From: joel at jms.id.au (Joel Stanley) Date: Wed, 6 Apr 2022 09:57:35 +0000 Subject: [Buildroot] [PATCH 1/1] package/libnss: fix build on powerpc In-Reply-To: <20220405213351.2487658-1-fontaine.fabrice@gmail.com> References: <20220405213351.2487658-1-fontaine.fabrice@gmail.com> Message-ID: Hi Fabrice, On Tue, 5 Apr 2022 at 21:35, Fabrice Fontaine wrote: > > Set NSS_DISABLE_CRYPTO_VSX which is available since version 3.64 and > https://github.com/nss-dev/nss/commit/9dab43371d4d924419523e18ba84f02804880533 > to avoid the following build failure on powerpc: > > cc1: warning: '-mvsx' requires hardware floating point > cc1: error: '-mno-vsx' turns off '-mcrypto' > > Fixes: > - http://autobuild.buildroot.org/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 > > Signed-off-by: Fabrice Fontaine > --- > package/libnss/libnss.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk > index 2f7a265136..4582c55ada 100644 > --- a/package/libnss/libnss.mk > +++ b/package/libnss/libnss.mk > @@ -51,6 +51,7 @@ LIBNSS_BUILD_VARS = \ > NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \ > NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \ > NS_USE_GCC=1 \ > + NSS_DISABLE_CRYPTO_VSX=1 \ How about we introduce a BR2_POWERPC_CPU_HAS_VSX, in a similar fashion to BR2_POWERPC_CPU_HAS_ALITIVEC? I've prepared a patch to do that, and rebased your change to use it: https://github.com/shenki/buildroot/commits/powerpc-vsx I did a build test of the autobuilder config you linked to and it succeeded. I'll send them out tomorrow unless you have an alternative proposal. Cheers, Joel > NSS_DISABLE_GTESTS=1 \ > NSS_USE_SYSTEM_SQLITE=1 \ > NATIVE_CC="$(HOSTCC)" \ > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Wed Apr 6 10:07:16 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 12:07:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnss: fix build on powerpc In-Reply-To: References: <20220405213351.2487658-1-fontaine.fabrice@gmail.com> Message-ID: Hi Joel, Le mer. 6 avr. 2022 ? 11:57, Joel Stanley a ?crit : > > Hi Fabrice, > > On Tue, 5 Apr 2022 at 21:35, Fabrice Fontaine > wrote: > > > > Set NSS_DISABLE_CRYPTO_VSX which is available since version 3.64 and > > https://github.com/nss-dev/nss/commit/9dab43371d4d924419523e18ba84f02804880533 > > to avoid the following build failure on powerpc: > > > > cc1: warning: '-mvsx' requires hardware floating point > > cc1: error: '-mno-vsx' turns off '-mcrypto' > > > > Fixes: > > - http://autobuild.buildroot.org/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/libnss/libnss.mk | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk > > index 2f7a265136..4582c55ada 100644 > > --- a/package/libnss/libnss.mk > > +++ b/package/libnss/libnss.mk > > @@ -51,6 +51,7 @@ LIBNSS_BUILD_VARS = \ > > NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \ > > NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \ > > NS_USE_GCC=1 \ > > + NSS_DISABLE_CRYPTO_VSX=1 \ > > How about we introduce a BR2_POWERPC_CPU_HAS_VSX, in a similar fashion > to BR2_POWERPC_CPU_HAS_ALITIVEC? > > I've prepared a patch to do that, and rebased your change to use it: > > https://github.com/shenki/buildroot/commits/powerpc-vsx > > I did a build test of the autobuilder config you linked to and it succeeded. > > I'll send them out tomorrow unless you have an alternative proposal. Sure, I'll set my patch as superseded in patchwork. I would advise to add support for this new option to flac as vsx was unconditonally disabled with https://git.buildroot.net/buildroot/commit/package/flac?id=5197ce5ff30d1a23b811ddddca8030f13658d7da > > Cheers, > > Joel > > > NSS_DISABLE_GTESTS=1 \ > > NSS_USE_SYSTEM_SQLITE=1 \ > > NATIVE_CC="$(HOSTCC)" \ > > -- > > 2.35.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot Best Regards, Fabrice From Tim.Hammer at orolia.com Wed Apr 6 12:58:57 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Wed, 6 Apr 2022 12:58:57 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220405181815.5dd6d85e@gmx.net> Message-ID: On Wed, Apr 06, 2022 at 09:08:58AM +0200, Fabrice Fontaine wrote: > Le mer. 6 avr. 2022 ? 03:58, Tim Hammer a ?crit : > > > > On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > > > Hello Tim, > > > > > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > > > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > > > Dear Tim, > > > > > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > > > doesn't plan to fix it any time soon: > > > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > ... > > > > > > > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > > > also be updated? > > > > > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > > > > > gen: gen.c > > > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > > > > > Perhaps we should be patching that file instead of the config? > > > > > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > > > > > Regards, > > > Peter > > > > > > > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step > > and I have not figured out a good way to get this diff in place. > > Perhaps someone with more experience can see the solution that is eluding me? > > My bad, I made a typo in my first mail, you should use $(HOSTCC) and > not $(HOST_CC). Wow, how many times did I look at those lines and not see the difference! ;-( Thanks for catching that! > Patching bind is not needed. > I can send the patch or let you handle it. I am still concerned about my ability to verify- I added "corrections" for BUILD_CFLAGS & BUILD_LDFLAGS so those match the changes in bind.mk, -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' + +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' but I am unsure about the others used (BUILD_CPPFLAGS, BUILD_LIBS, LFS_*)... ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ ${LFS_CFLAGS} ${LFS_LDFLAGS} \ ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \ ${BUILD_LIBS} ${LFS_LIBS} Should those be set to empty strings? Or is it safe to assume they are undefined by default? > ... > > Best Regards, > > Fabrice .Tim Tim D. Hammer tim.hammer at orolia.com From fontaine.fabrice at gmail.com Wed Apr 6 13:30:20 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 15:30:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220405181815.5dd6d85e@gmx.net> Message-ID: Le mer. 6 avr. 2022 ? 14:58, Tim Hammer a ?crit : > > On Wed, Apr 06, 2022 at 09:08:58AM +0200, Fabrice Fontaine wrote: > > Le mer. 6 avr. 2022 ? 03:58, Tim Hammer a ?crit : > > > > > > On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > > > > Hello Tim, > > > > > > > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > > > > > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > > > > Dear Tim, > > > > > > > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > > > > doesn't plan to fix it any time soon: > > > > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > > ... > > > > > > > > > > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > > > > also be updated? > > > > > > > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > > > > > > > gen: gen.c > > > > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > > > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > > > > > > > Perhaps we should be patching that file instead of the config? > > > > > > > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > > > > > > > Regards, > > > > Peter > > > > > > > > > > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step > > > and I have not figured out a good way to get this diff in place. > > > Perhaps someone with more experience can see the solution that is eluding me? > > > > My bad, I made a typo in my first mail, you should use $(HOSTCC) and > > not $(HOST_CC). > > Wow, how many times did I look at those lines and not see the difference! ;-( > Thanks for catching that! > > > Patching bind is not needed. > > I can send the patch or let you handle it. > > I am still concerned about my ability to verify- > I added "corrections" for BUILD_CFLAGS & BUILD_LDFLAGS so those match the changes in bind.mk, > -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > + > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' > but I am unsure about the others used (BUILD_CPPFLAGS, BUILD_LIBS, LFS_*)... > ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ > ${LFS_CFLAGS} ${LFS_LDFLAGS} \ > ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \ > ${BUILD_LIBS} ${LFS_LIBS} > Should those be set to empty strings? Or is it safe to assume they are undefined by default? BUILD_CPPFLAGS should be set to HOST_CPPFLAGS. IMHO it is safe to assume that BUILD_LIBS and LFS_* are empty. Feel free to send your patch with a link to the autobuilder failure such as: Fixes: - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 Arnout or the others will make a second review and spot any remaining issues. > > > > ... > > > > Best Regards, > > > > Fabrice > > .Tim > Tim D. Hammer > tim.hammer at orolia.com > > Best Regards, Fabrice From fontaine.fabrice at gmail.com Wed Apr 6 14:06:06 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 16:06:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220405181815.5dd6d85e@gmx.net> Message-ID: Le mer. 6 avr. 2022 ? 15:30, Fabrice Fontaine a ?crit : > > Le mer. 6 avr. 2022 ? 14:58, Tim Hammer a ?crit : > > > > On Wed, Apr 06, 2022 at 09:08:58AM +0200, Fabrice Fontaine wrote: > > > Le mer. 6 avr. 2022 ? 03:58, Tim Hammer a ?crit : > > > > > > > > On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > > > > > Hello Tim, > > > > > > > > > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > > > > > > > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > > > > > Dear Tim, > > > > > > > > > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > > > > > doesn't plan to fix it any time soon: > > > > > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > > > > ... > > > > > > > > > > > > > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > > > > > also be updated? > > > > > > > > > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > > > > > > > > > gen: gen.c > > > > > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > > > > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > > > > > > > > > Perhaps we should be patching that file instead of the config? > > > > > > > > > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > > > > > > > > > Regards, > > > > > Peter > > > > > > > > > > > > > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step > > > > and I have not figured out a good way to get this diff in place. > > > > Perhaps someone with more experience can see the solution that is eluding me? > > > > > > My bad, I made a typo in my first mail, you should use $(HOSTCC) and > > > not $(HOST_CC). > > > > Wow, how many times did I look at those lines and not see the difference! ;-( > > Thanks for catching that! > > > > > Patching bind is not needed. > > > I can send the patch or let you handle it. > > > > I am still concerned about my ability to verify- > > I added "corrections" for BUILD_CFLAGS & BUILD_LDFLAGS so those match the changes in bind.mk, > > -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > + > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' > > +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' > > +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' > > but I am unsure about the others used (BUILD_CPPFLAGS, BUILD_LIBS, LFS_*)... > > ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > ${LFS_CFLAGS} ${LFS_LDFLAGS} \ > > ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \ > > ${BUILD_LIBS} ${LFS_LIBS} > > Should those be set to empty strings? Or is it safe to assume they are undefined by default? > > BUILD_CPPFLAGS should be set to HOST_CPPFLAGS. > IMHO it is safe to assume that BUILD_LIBS and LFS_* are empty. > > Feel free to send your patch with a link to the autobuilder failure such as: > > Fixes: > - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 The correct link is http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7 The previous one is about zlib, I'll investigate it. > > Arnout or the others will make a second review and spot any remaining issues. > > > > > > > > ... > > > > > > Best Regards, > > > > > > Fabrice > > > > .Tim > > Tim D. Hammer > > tim.hammer at orolia.com > > > > > > Best Regards, > > Fabrice Best Regards, Fabrice From arnout at mind.be Wed Apr 6 14:10:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 6 Apr 2022 16:10:30 +0200 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> Message-ID: <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> On 05/04/2022 21:38, James Hilliard wrote: > On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: >> >> >> >> On 05/04/2022 13:50, James Hilliard wrote: >>> Currently we only test a limited set of toolchains that are mostly >>> prebuilt, add a flag to allow using randconfig for randomizing >>> additional toolchain settings instead of randpackageconfig. >>> >>> To avoid invalid configs we need to add additional config validation >>> filtering and fixups. >>> >>> Signed-off-by: James Hilliard >>> --- >>> Changes v3 -> v4: >>> - use fixup_config instead of other retries to filter bad configs >> >> Well, I don't like this. It means we have to duplicate the logic for checking >> the bad configs in two places: in the mk file and in genrandconfig. > > Well it seems to work better since instead of regenerating it tries to > fixup the config. I think this gives better statistical coverage of some > config options. It will create a bias towards the default option for the options you exclude. See below. > >> >> If the problem is that you sometimes don't end up with a valid config even >> after 100 iterations, then I think a better solution is to feed valid values for >> the string options. That way, we still do a build test of e.g. >> BR2_ROOTFS_SKELETON_CUSTOM. > > That looks a bit tricky, although we could probably add it for some cases > that we want test coverage for. > >> >> [Others may disagree with me of course.] >> >> Regards, >> Arnout >> >> >>> Changes v2 -> v3: >>> - properly check exit codes >>> Changes v1 -> v2: >>> - refactor fixup_config control flow >>> --- >>> utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- >>> 1 file changed, 206 insertions(+), 9 deletions(-) >>> >>> diff --git a/utils/genrandconfig b/utils/genrandconfig >>> index 3483d55c14..59fe34e58d 100755 >>> --- a/utils/genrandconfig >>> +++ b/utils/genrandconfig >>> @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): >>> configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') >>> configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) >>> >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: Here, the BR2_ROOTFS_SKELETON_CUSTOM_PATH check is basically redundant: randconfig will never fill something in for the string, so it is always empty. >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') Thus, the result is that if a config is generated with BR2_ROOTFS_SKELETON_CUSTOM=y, it will be removed again and revert to its default. In this case, there are just two choices so it doesn't make a difference. But if there are more than two choices, removing one of them creates a bias towards the default option. I wouldn't call this "better statistical coverage". Statistically, taking a completely random sampling and then discarding samples that are somehow not appropriate is considered "better" than fudging inappropriate samples in a certain direction. Regards, Arnout >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') >>> + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') >>> + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') >>> + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') >>> + >>> + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') >>> + >>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') >>> + >>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') >>> + >>> + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ >>> + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: >>> + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') >>> + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') >>> + >>> + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ >>> + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') >>> + >>> + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ >>> + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') >>> + >>> + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ >>> + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') >>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') >>> + >>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ >>> + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') >>> + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') >>> + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') >>> + >>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ >>> + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') >>> + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') >>> + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') >>> + >>> + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ >>> + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') >>> + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') >>> + >>> + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ >>> + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') >>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') >>> + >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') >>> + >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') >>> + >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') >>> + >>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') >>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: >>> + return False >>> + >>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') >>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: >>> + return False >>> + >>> + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ >>> + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') >>> + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') >>> + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') >>> + >>> with open(configfile, "w+") as configf: >>> configf.writelines(configlines) >>> >>> @@ -331,11 +517,14 @@ def gen_config(args): >>> >>> sysinfo = SystemInfo() >>> >>> - # Select a random toolchain configuration >>> - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) >>> + if args.toolchains_csv: >>> + # Select a random toolchain configuration >>> + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) >>> >>> - i = randint(0, len(configs) - 1) >>> - toolchainconfig = configs[i] >>> + i = randint(0, len(configs) - 1) >>> + toolchainconfig = configs[i] >>> + else: >>> + toolchainconfig = [] >>> >>> configlines = list(toolchainconfig) >>> >>> @@ -409,7 +598,7 @@ def gen_config(args): >>> bounded_loop -= 1 >>> subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> "KCONFIG_PROBABILITY=%d" % randint(1, 20), >>> - "randpackageconfig"]) >>> + "randpackageconfig" if args.toolchains_csv else "randconfig"]) >>> >>> if fixup_config(sysinfo, configfile): >>> break >>> @@ -433,10 +622,18 @@ if __name__ == '__main__': >>> parser.add_argument("--buildrootdir", "-b", >>> help="Buildroot directory (relative to current directory)", >>> type=str, default='.') >>> - parser.add_argument("--toolchains-csv", >>> - help="Path of the toolchain configuration file", >>> - type=str, >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") >>> + >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) >>> + toolchains_csv.add_argument("--toolchains-csv", >>> + dest="toolchains_csv", >>> + help="Path of the toolchain configuration file", >>> + type=str) >>> + toolchains_csv.add_argument("--no-toolchains-csv", >>> + dest="toolchains_csv", >>> + help="Generate random toolchain configuration", >>> + action='store_false') >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") >>> + >>> args = parser.parse_args() >>> >>> # We need the absolute path to use with O=, because the relative From fperrad at gmail.com Wed Apr 6 14:05:35 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 6 Apr 2022 16:05:35 +0200 Subject: [Buildroot] [PATCH] configs/olimex_stmp157: bump kernel version Message-ID: <20220406140535.2569899-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/olimex_stmp157_olinuxino_lime_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig index 74e7f9ba6..f9b31bbdc 100644 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20210821-v5.10.60 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="081be4c4c634cf9345b8bf59fe141a0236383ae4" +# branch release-20220321-v5.10.105 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y -- 2.32.0 From arnout at mind.be Wed Apr 6 14:24:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 6 Apr 2022 16:24:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220405233412.4701-1-dpb@corrigendum.ru> References: <20220405233412.4701-1-dpb@corrigendum.ru> Message-ID: <08affbae-a2c5-7e17-a9ee-a1f7842c2259@mind.be> On 06/04/2022 01:34, ????? ???????? wrote: > When installer is used to install packages for host Python, it can figure > out by itself which paths to use. We just need to use the installer CLI > instead of our wrapper script. James, could you have a look at this and add it to your series that reworks the pep517 infra? Because I think it'll create conflicts. Also, can the installer be used for target install as well? Regards, Arnout > > Signed-off-by: ????? ???????? > --- > package/pkg-python.mk | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 867341fc7b..acd5628f3b 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ > PYTHONNOUSERSITE=1 \ > $(HOST_CONFIGURE_OPTS) > > -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > - --interpreter=/bin/python \ > - --script-kind=posix \ > - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ > - --scripts=$(HOST_DIR)/bin \ > - --data=$(HOST_DIR) > - > ################################################################################ > # inner-python-package -- defines how the configuration, compilation > # and installation of a Python package should be done, implements a > @@ -212,7 +204,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* > else > $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) > $(2)_BASE_BUILD_CMD = -m build -n -w > -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > +$(2)_BASE_INSTALL_CMD = -m installer dist/* > endif > else > $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") From arnout at mind.be Wed Apr 6 14:29:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 6 Apr 2022 16:29:03 +0200 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On 06/04/2022 04:06, Emile Cormier wrote: > When using cmake while running a post-build script, the ExternalProject_add > command fails when the URL option is used to download a source tarball via > https. This is because the host cmake is not built using the --system-curl > option (https://github.com/Kitware/CMake/blob/master/bootstrap#L660 > ). > > Without the system-curl option, the cmake build will use its own bundled libcurl > without OpenSSL support, and thus downloading tarballs via https fails. > > Adding the --system-curl option would entail that libcurl also be built as a > host library. I don't think it currently is. Not only that, we'd need to configure host-curl to pull in host-openssl as well. That is not really great. It means that cmake (which in many configurations is a very basic dependency) would pull in two more packages, which significantly increases build time. And the only added value is that it allows you to build something outside of buildroot. If you need to do that, simply install cmake on your build system and use that instead of the buildroot-built cmake. Regards, Arnout > > I use CMake's ExternalProject_add in our project to download and build the > static library dependencies that our embedded application needs. I know that > buildroot provides various packages for cross-compiled libraries, but I have no > control over the versions (and compile-time options) of these packages. > > Cheers, > Emile Cormier > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From Tim.Hammer at orolia.com Wed Apr 6 14:52:25 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Wed, 6 Apr 2022 14:52:25 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: build internal bind tool gen for host (not target) Message-ID: Building gen tool of the internal (bundled) bind needs to be for host, not target Switch to use internal build in commit 0c8dd6ebd656e06cf99a63eb93343715f4853503 overlooked this. Building dns library in /home/autobuild/autobuild/instance-13/output-1/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns /bin/sh: line 1: ./gen: cannot execute binary file: Exec format error Fixes: - http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7/ --- package/dhcp/dhcp.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f1e3c22f1c..2faea48c46 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -23,7 +23,11 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' + +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' +DHCP_BIND_EXTRA_CONFIG += BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk -- 2.25.1 From Tim.Hammer at orolia.com Wed Apr 6 15:01:47 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Wed, 6 Apr 2022 15:01:47 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: build internal bind tool gen for host (not target) In-Reply-To: References: Message-ID: On Wed, Apr 06, 2022 at 02:52:25PM +0000, Tim Hammer wrote: > Building gen tool of the internal (bundled) bind needs to be for host, not target > Switch to use internal build in commit 0c8dd6ebd656e06cf99a63eb93343715f4853503 > overlooked this. > Much gratitude to Fabrice Fontaine for all the help (and patience) getting me and this patch to this point. After this is processed and merged to master, can we get both Fabrice's initial patch (commit 0c8dd6ebd656e06cf99a63eb93343715f4853503) and this one merged to 2022.02.x? Thanks! .Tim Tim D. Hammer tim.hammer at orolia.com > Building dns library in /home/autobuild/autobuild/instance-13/output-1/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns > /bin/sh: line 1: ./gen: cannot execute binary file: Exec format error > > Fixes: > - http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7/ > --- > package/dhcp/dhcp.mk | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index f1e3c22f1c..2faea48c46 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -23,7 +23,11 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > + > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > -- > 2.25.1 > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From peter at korsgaard.com Wed Apr 6 15:51:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 6 Apr 2022 17:51:40 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] Update for 2021.02.12 Message-ID: <20220406154347.D929C83658@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ef68ba43d965528bd5c622407dfb9a5e3b343493 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Signed-off-by: Peter Korsgaard --- CHANGES | 11 +++++++++++ Makefile | 4 ++-- support/misc/Vagrantfile | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index c9822cdf80..a9973a9076 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,14 @@ +2021.02.12, released April 6th, 2022 + + Important / security related fixes. + + pkg-stats: Limit memory use for CPE matching + + Updated/fixed packages: gdk-pixbuf, jack2, libzlib, matio, + nbd, netatalk, opus, python-paramiko, python-treq, + python-twisted, spidev_test, unbound, urandom-scripts, vim, + wireshark, zlib-ng, zziplib + 2021.02.11, released March 25th, 2022 Important / security related fixes. diff --git a/Makefile b/Makefile index a3c5802d55..731d784ffb 100644 --- a/Makefile +++ b/Makefile @@ -92,9 +92,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2021.02.11 +export BR2_VERSION := 2021.02.12 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1648206000 +BR2_VERSION_EPOCH = 1649260000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index 7e97a277ea..cfbe7a1cf8 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2021.02.11' +RELEASE='2021.02.12' ### Change here for more memory/cores ### VM_MEMORY=2048 From peter at korsgaard.com Wed Apr 6 16:02:16 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 06 Apr 2022 18:02:16 +0200 Subject: [Buildroot] Buildroot 2021.02.12 released; 2021.02.x EOL Message-ID: <87a6cyurnb.fsf@dell.be.48ers.dk> Hi, Buildroot is a simple tool for creating complete embedded Linux systems (http://buildroot.org). Buildroot 2021.02.12 is released - Go download it at: http://buildroot.org/downloads/buildroot-2021.02.12.tar.gz or http://buildroot.org/downloads/buildroot-2021.02.12.tar.bz2 Or get it from Git: git://git.buildroot.org/buildroot Buildroot 2021.02.12 is a bugfix release on the previous long term release, fixing a number of important / security related issues discovered since the 2021.02.11 release. Notice that the 2021.02.x series is now end of life unless somebody steps up to take over maintenance. Please migrate to the 2022.02 series instead which will be supported until April 2023. - pkg-stats: Limit memory use for CPE matching - Security fixes for libzlib, matio, nbd, netatalk, python-paramiko, python-twisted, urandom-scripts, vim - Fixes for download/compilation/runtime/license issues in gdk-pixbuf, jack2, opus, python-treq, unbound, wireshark, zlib-ng, zziplib For more details, see the CHANGES file: https://git.buildroot.net/buildroot/plain/CHANGES?id=2021.02.12 Users of the affected packages are strongly encouraged to upgrade. Many thanks to all the people contributing to this release: git shortlog -sn 2021.02.11.. 15 Fabrice Fontaine 4 Thomas Petazzoni 2 Peter Korsgaard 2 Peter Seiderer 1 Andreas Ziegler 1 Bernd Kuhls 1 Gwenhael Goavec-Merou 1 Jason A. Donenfeld 1 Kyle Harding 1 Markus Mayer 1 Romain Naour 1 Thomas Huth -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Wed Apr 6 16:23:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 18:23:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-gmmlib: needs C++ Message-ID: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> intel-gmmlib needs C++ since its addition in commit 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d Signed-off-by: Fabrice Fontaine --- package/intel-gmmlib/Config.in | 5 +++-- package/intel-mediadriver/Config.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/intel-gmmlib/Config.in b/package/intel-gmmlib/Config.in index 9d5fbd9cae..b6f93f7416 100644 --- a/package/intel-gmmlib/Config.in +++ b/package/intel-gmmlib/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_INTEL_GMMLIB bool "intel-gmmlib" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP help The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) @@ -10,5 +11,5 @@ config BR2_PACKAGE_INTEL_GMMLIB https://github.com/intel/gmmlib -comment "intel-gmmlib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "intel-gmmlib needs a toolchain w/ dynamic library, C++" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/intel-mediadriver/Config.in b/package/intel-mediadriver/Config.in index c29c2fb6ab..ad56590008 100644 --- a/package/intel-mediadriver/Config.in +++ b/package/intel-mediadriver/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER bool "intel-mediadriver" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS # mesa3d, libva - depends on BR2_INSTALL_LIBSTDCPP # mesa3d + depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d depends on BR2_TOOLCHAIN_HAS_THREADS # libva depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 16:28:28 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 18:28:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix build with zlib Message-ID: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> internal bind is in version 9.11 and so doesn't support pkg-config like bind 9.16 resulting in the following build failure since commit 0c8dd6ebd656e06cf99a63eb93343715f4853503: configure: error: include/zlib.h not found. Fixes: - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 Signed-off-by: Fabrice Fontaine --- package/dhcp/dhcp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f1e3c22f1c..460e62a81c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -42,7 +42,7 @@ DHCP_CONF_OPTS = \ --with-relay6-pid-file=/var/run/dhcrelay6.pid ifeq ($(BR2_PACKAGE_ZLIB),y) -DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_BIND_EXTRA_CONFIG += --with-zlib=$(STAGING_DIR)/usr DHCP_DEPENDENCIES += zlib else DHCP_BIND_EXTRA_CONFIG += --without-zlib -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 16:33:00 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 18:33:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/polkit: fix build without C++ Message-ID: <20220406163300.4006892-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since switch to meson-package in commit 1db13226394ff7e6f5e7ca643e275f35d6c633bb and https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a Signed-off-by: Fabrice Fontaine --- package/polkit/0003-fix-build-without-C.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 package/polkit/0003-fix-build-without-C.patch diff --git a/package/polkit/0003-fix-build-without-C.patch b/package/polkit/0003-fix-build-without-C.patch new file mode 100644 index 0000000000..8e16de256c --- /dev/null +++ b/package/polkit/0003-fix-build-without-C.patch @@ -0,0 +1,50 @@ +From abbc04f6f3acfc2dfa34b1c07decaa658786e142 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 18:33:08 +0200 +Subject: [PATCH] fix build without C++ + +Fix the following build failure without C++ raised since +https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: + +The following exception(s) were encountered: +Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Indeed, C++ is only required with mozjs engine + +Fixes: + - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.freedesktop.org/polkit/polkit/-/commit/abbc04f6f3acfc2dfa34b1c07decaa658786e142] +--- + meson.build | 2 +- + src/polkitbackend/meson.build | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index c6765fd..da60930 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,5 +1,5 @@ + project( +- 'polkit', ['c', 'cpp'], ++ 'polkit', ['c'], + version: '0.120', + license: 'LGPL2+', + default_options: [ +diff --git a/src/polkitbackend/meson.build b/src/polkitbackend/meson.build +index 266f280..7c5d443 100644 +--- a/src/polkitbackend/meson.build ++++ b/src/polkitbackend/meson.build +@@ -38,6 +38,7 @@ if js_engine == 'duktape' + deps += libm_dep + deps += thread_dep + elif js_engine == 'mozjs' ++ add_languages('cpp') + sources += files('polkitbackendjsauthority.cpp') + endif + +-- +GitLab + -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 16:37:29 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 18:37:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: fix build on kernel < 4.11 Message-ID: <20220406163729.4007517-1-fontaine.fabrice@gmail.com> lsns unconditionally uses NS_GET_NSTYPE since version 2.38 and https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=de72df79d72fa906e71e2ac922d8745ff22deee5 which is only available since kernel 4.11 and https://github.com/torvalds/linux/commit/e5ff5ce6e20ee22511398bb31fb912466cf82a36 resulting in the following build failure: sys-utils/lsns.c: In function 'add_namespace_for_nsfd': sys-utils/lsns.c:719:25: error: 'NS_GET_NSTYPE' undeclared (first use in this function) 719 | clone_type = ioctl(fd, NS_GET_NSTYPE); | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/572ecf8e37ac733a4e4265f4f78f35230337278e Signed-off-by: Fabrice Fontaine --- ...improve-dependence-on-NS_GET_-ioctls.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/util-linux/0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch diff --git a/package/util-linux/0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch b/package/util-linux/0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch new file mode 100644 index 0000000000..8e79b8d4d3 --- /dev/null +++ b/package/util-linux/0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch @@ -0,0 +1,34 @@ +From fc686823b008bc95e2ebe904c706a117a03e2754 Mon Sep 17 00:00:00 2001 +From: Karel Zak +Date: Wed, 6 Apr 2022 10:38:43 +0200 +Subject: lsns: improve dependence on NS_GET_ ioctls + +Fixes: http://autobuild.buildroot.org/results/572ecf8e37ac733a4e4265f4f78f35230337278e +Reported-by: Fabrice Fontaine +Signed-off-by: Karel Zak + +[Retrieved from: +https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=fc686823b008bc95e2ebe904c706a117a03e2754] +Signed-off-by: Fabrice Fontaine +--- + sys-utils/lsns.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/sys-utils/lsns.c b/sys-utils/lsns.c +index 1a7e9f333..75625b3a6 100644 +--- a/sys-utils/lsns.c ++++ b/sys-utils/lsns.c +@@ -40,7 +40,9 @@ + + #ifdef HAVE_LINUX_NSFS_H + # include +-# define USE_NS_GET_API 1 ++# if defined(NS_GET_NSTYPE) && defined(NS_GET_OWNER_UID) ++# define USE_NS_GET_API 1 ++# endif + #endif + + #include "pathnames.h" +-- +cgit + -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 17:25:37 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 19:25:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/stunnel: doesn't build with libressl Message-ID: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl: In file included from tls.c:39: prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f Signed-off-by: Fabrice Fontaine --- package/stunnel/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/stunnel/Config.in b/package/stunnel/Config.in index 087fecd930..a46e2f0316 100644 --- a/package/stunnel/Config.in +++ b/package/stunnel/Config.in @@ -2,7 +2,8 @@ config BR2_PACKAGE_STUNNEL bool "stunnel" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES help Stunnel is a program that wraps any TCP connection with an SSL connection. -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 17:29:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 19:29:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop versioned layout Message-ID: <20220406172934.4009018-1-fontaine.fabrice@gmail.com> boost.m4 embedded by cc-tool is not able to find boost libraries when they are versionned (e.g. libboost_program_options-gcc9-mt-sd-1_78.a): configure: error: cannot find the flags to link with Boost program_options azmq and i2pd also have the same issue: CMake Error at /nvmedata/autobuild/instance-8/output-1/host/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time thread chrono random) (Required is at least version "1.48") So drop versioned layout option Fixes: - http://autobuild.buildroot.org/results/4ae98aed925fbb1d54023075deda9a864f52cee6 - http://autobuild.buildroot.org/results/de35ca0156d4b6f465e440ed9a3effd471f657fa - http://autobuild.buildroot.org/results/c3d2a066429d5f2889c2232d62e5950eb6a89311 Signed-off-by: Fabrice Fontaine --- Config.in.legacy | 9 +++++++++ package/boost/Config.in | 7 ------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 48c5ebb81e..27f19f14e7 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -144,6 +144,15 @@ endif ############################################################################### +comment "Legacy options removed in 2022.05" + +config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED + bool "boost versioned layout removed" + select BR2_LEGACY + help + Boost versioned layout isn't handled by a number of autotools + and cmake packages (e.g. azmq, cc-tool, i2pd). + comment "Legacy options removed in 2022.02" config BR2_PACKAGE_LIBCURL_LIBNSS diff --git a/package/boost/Config.in b/package/boost/Config.in index 16c3ef8465..f039d68b1e 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -36,19 +36,12 @@ config BR2_PACKAGE_BOOST_LAYOUT_TAGGED and version, or Boost version. This option is useful if you build several variants of Boost, using the same compiler. -config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED - bool "versioned" - help - Boost binary names include the Boost version number, name - and version of the compiler and encoded build properties. - endchoice config BR2_PACKAGE_BOOST_LAYOUT string default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED - default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED config BR2_PACKAGE_BOOST_ATOMIC bool "boost-atomic" -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 18:55:52 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 20:55:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/woff2: use github helper Message-ID: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> Signed-off-by: Fabrice Fontaine --- package/woff2/woff2.hash | 2 +- package/woff2/woff2.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash index 469071e3c2..0812dabcf1 100644 --- a/package/woff2/woff2.hash +++ b/package/woff2/woff2.hash @@ -1,5 +1,5 @@ # Locally generated: -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz # Hash for license files: sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk index b2ff33fe98..937e8cf736 100644 --- a/package/woff2/woff2.mk +++ b/package/woff2/woff2.mk @@ -5,8 +5,7 @@ ################################################################################ WOFF2_VERSION = 1.0.2 -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz -WOFF2_SITE = https://github.com/google/woff2/archive +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) WOFF2_LICENSE = MIT WOFF2_LICENSE_FILES = LICENSE WOFF2_INSTALL_STAGING = YES -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 19:14:38 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 21:14:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/spice: needs C++ Message-ID: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> spice needs C++ since bump to version 0.15.0 in commit b784f1bc0fc3ac33a20549069a81ff98260b58e9 and https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: configure: error: *** A compiler with support for C++11 language features is required. Fixes: - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 Signed-off-by: Fabrice Fontaine --- package/spice/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index 2241b55b3d..ca5c562ca1 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -1,12 +1,14 @@ -comment "spice server needs a toolchain w/ wchar, threads" +comment "spice server needs a toolchain w/ wchar, threads, C++" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_SPICE bool "spice server" depends on BR2_i386 || BR2_x86_64 depends on BR2_USE_WCHAR # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_JPEG select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 19:41:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 21:41:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libressl: bump to version 3.5.1 Message-ID: <20220406194148.39490-1-fontaine.fabrice@gmail.com> This bump will fix the following build failure with pure-ftpd thanks to https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8: tls.c: In function 'tls_init_options': tls.c:329:5: warning: implicit declaration of function 'SSL_CTX_set_num_tickets'; did you mean 'SSL_CTX_set_options'? [-Wimplicit-function-declaration] SSL_CTX_set_num_tickets(tls_ctx, 0); ^~~~~~~~~~~~~~~~~~~~~~~ SSL_CTX_set_options https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.1-relnotes.txt Fixes: - http://autobuild.buildroot.org/results/f5d36180949278510199aa499e253780558c6ffe Signed-off-by: Fabrice Fontaine --- package/libressl/libressl.hash | 2 +- package/libressl/libressl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libressl/libressl.hash b/package/libressl/libressl.hash index e923998713..5474d8e537 100644 --- a/package/libressl/libressl.hash +++ b/package/libressl/libressl.hash @@ -1,4 +1,4 @@ # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz +sha256 a7d0026f67622275ec8f8239ded422a653d5ccc84df55dea2acd406017185608 libressl-3.5.1.tar.gz # Locally computed sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk index 0bb468cedb..81b0163b93 100644 --- a/package/libressl/libressl.mk +++ b/package/libressl/libressl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRESSL_VERSION = 3.4.3 +LIBRESSL_VERSION = 3.5.1 LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) LIBRESSL_LICENSE_FILES = COPYING -- 2.35.1 From vincent.stehle at laposte.net Wed Apr 6 20:00:45 2022 From: vincent.stehle at laposte.net (Vincent =?iso-8859-1?Q?Stehl=E9?=) Date: Wed, 6 Apr 2022 22:00:45 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <2646beec-15db-f2e9-5490-0f7fd551857f@mind.be> References: <20220329205136.32435-1-vincent.stehle@laposte.net> <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> <2646beec-15db-f2e9-5490-0f7fd551857f@mind.be> Message-ID: On Mon, Apr 04, 2022 at 10:28:12PM +0200, Arnout Vandecappelle wrote: .. > But that actually causes a problem: if udhcpc doesn't keep running the > background any more, it's not going to refresh its lease, but will keep on > using its IP address indefinitely. Although this seems to work at first > hand, it's going to cause some problem somewhere down the line... Hi Arnout, After your comment at first I thought all the no-MMU buildroot defconfigs were subtly broken :-S I did some investigations and now my understanding is that udhcpc does indeed daemonize by default in the no-MMU case. See [1]: #if !BB_MMU /* on NOMMU reexec (i.e., background) early */ if (!(opt & OPT_f)) { bb_daemonize_or_rexec(0 /* flags */, argv); logmode = LOGMODE_NONE; } #endif That behaviour was added in busybox udhcpc while removing the -b option (in commit [2]). Also, this is confirmed on qemu where we can see the udhcpc process running in the background: ~ # ps PID USER VSZ STAT COMMAND 1 root 616 S init ... 62 root 612 S udhcpc -R -p /var/run/udhcpc.eth0.pid -i eth0 -x hos > So we should find a different solution, and we should probably use that in > the MMU case as well (just to keep things consistent. Now I think that we are safe. What is your opinion on this, please? Best regards, Vincent. [1]: https://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c#n1352 [2]: https://git.busybox.net/busybox/commit/?id=21765fa063830923d13426ec6989c16da9210e49 From dpb at corrigendum.ru Wed Apr 6 19:57:26 2022 From: dpb at corrigendum.ru (=?UTF-8?B?0KDQvtC80LDQvSDQlNC+0L3Rh9C10L3QutC+?=) Date: Wed, 6 Apr 2022 22:57:26 +0300 Subject: [Buildroot] [PATCH 1/1] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <08affbae-a2c5-7e17-a9ee-a1f7842c2259@mind.be> References: <20220405233412.4701-1-dpb@corrigendum.ru> <08affbae-a2c5-7e17-a9ee-a1f7842c2259@mind.be> Message-ID: <6f2c2047-1c19-dc6f-1d77-26f6a7f2615a@corrigendum.ru> 06.04.2022 17:24, Arnout Vandecappelle ?????: > On 06/04/2022 01:34, ????? ???????? wrote: >> When installer is used to install packages for host Python, it can figure >> out by itself which paths to use. We just need to use the installer CLI >> instead of our wrapper script. > > ?James, could you have a look at this and add it to your series that > reworks the pep517 infra? Because I think it'll create conflicts. > > ?Also, can the installer be used for target install as well? No, installer doesn't know the settings for the target Python, and the installer CLI isn't flexible enough to configure these settings. So a custom script is required. > > ?Regards, > ?Arnout > >> >> Signed-off-by: ????? ???????? >> --- >> ? package/pkg-python.mk | 10 +--------- >> ? 1 file changed, 1 insertion(+), 9 deletions(-) >> >> diff --git a/package/pkg-python.mk b/package/pkg-python.mk >> index 867341fc7b..acd5628f3b 100644 >> --- a/package/pkg-python.mk >> +++ b/package/pkg-python.mk >> @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ >> ????? PYTHONNOUSERSITE=1 \ >> ????? $(HOST_CONFIGURE_OPTS) >> -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ >> -??? --interpreter=/bin/python \ >> -??? --script-kind=posix \ >> - >> --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ >> -??? --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ >> -??? --scripts=$(HOST_DIR)/bin \ >> -??? --data=$(HOST_DIR) >> - >> >> ################################################################################ >> >> ? # inner-python-package -- defines how the configuration, compilation >> ? # and installation of a Python package should be done, implements a >> @@ -212,7 +204,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = >> $(TOPDIR)/support/scripts/pyinstaller.py dist/* >> ? else >> ? $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) >> ? $(2)_BASE_BUILD_CMD = -m build -n -w >> -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py >> dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) >> +$(2)_BASE_INSTALL_CMD = -m installer dist/* >> ? endif >> ? else >> ? $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', >> 'setuptools', 'pep517' or 'flit'.") From emile.cormier.jr at gmail.com Wed Apr 6 20:13:05 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Wed, 6 Apr 2022 17:13:05 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: Thank you for your feedback on this request, Arnout. Buildroot's cmake is being executed in my post-build script instead of my system's cmake. How do I make my system's cmake take precedence? On Wed, Apr 6, 2022 at 11:29 AM Arnout Vandecappelle wrote: > > > On 06/04/2022 04:06, Emile Cormier wrote: > > When using cmake while running a post-build script, the > ExternalProject_add > > command fails when the URL option is used to download a source tarball > via > > https. This is because the host cmake is not built using the > --system-curl > > option (https://github.com/Kitware/CMake/blob/master/bootstrap#L660 > > ). > > > > Without the system-curl option, the cmake build will use its own bundled > libcurl > > without OpenSSL support, and thus downloading tarballs via https fails. > > > > Adding the --system-curl option would entail that libcurl also be built > as a > > host library. I don't think it currently is. > > Not only that, we'd need to configure host-curl to pull in host-openssl > as well. > > That is not really great. It means that cmake (which in many > configurations is > a very basic dependency) would pull in two more packages, which > significantly > increases build time. > > And the only added value is that it allows you to build something > outside of > buildroot. If you need to do that, simply install cmake on your build > system and > use that instead of the buildroot-built cmake. > > Regards, > Arnout > > > > > > I use CMake's ExternalProject_add in our project to download and build > the > > static library dependencies that our embedded application needs. I know > that > > buildroot provides various packages for cross-compiled libraries, but I > have no > > control over the versions (and compile-time options) of these packages. > > > > Cheers, > > Emile Cormier > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperez at igalia.com Wed Apr 6 20:58:27 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Wed, 6 Apr 2022 23:58:27 +0300 Subject: [Buildroot] [PATCH 1/1] package/woff2: use github helper In-Reply-To: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> References: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> Message-ID: <20220406235827.GB2664461@momiji> On Wed, 06 Apr 2022 20:55:52 +0200 Fabrice Fontaine wrote: > Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro > --- > package/woff2/woff2.hash | 2 +- > package/woff2/woff2.mk | 3 +-- > 2 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash > index 469071e3c2..0812dabcf1 100644 > --- a/package/woff2/woff2.hash > +++ b/package/woff2/woff2.hash > @@ -1,5 +1,5 @@ > # Locally generated: > -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz > +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz > > # Hash for license files: > sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE > diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk > index b2ff33fe98..937e8cf736 100644 > --- a/package/woff2/woff2.mk > +++ b/package/woff2/woff2.mk > @@ -5,8 +5,7 @@ > ################################################################################ > > WOFF2_VERSION = 1.0.2 > -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz > -WOFF2_SITE = https://github.com/google/woff2/archive > +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) > WOFF2_LICENSE = MIT > WOFF2_LICENSE_FILES = LICENSE > WOFF2_INSTALL_STAGING = YES > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot Cheers, ?Adri?n -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From dariobin at libero.it Wed Apr 6 21:10:34 2022 From: dariobin at libero.it (Dario Binacchi) Date: Wed, 6 Apr 2022 23:10:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/qemu: fix host-qemu compilation with recent GCC Message-ID: <20220406211034.3672-1-dariobin@libero.it> Fixes: cc1: error: ?-fcf-protection? is not compatible with this target The new Ubuntu GCC packages (e.g. Ubuntu 11.2.0-7ubuntu2, 11.2.0) turn on ?-fcf-protection? globally, which causes a build failure in the x86 realmode code. Turn it off explicitly on compilers that understand this option. Signed-off-by: Dario Binacchi Signed-off-by: Dario Binacchi --- ...able-fcf-protection-on-march-486-m16.patch | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch diff --git a/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch b/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch new file mode 100644 index 0000000000..7a841fcb60 --- /dev/null +++ b/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch @@ -0,0 +1,49 @@ +From 9584d3d00a454f47b0341465142bcf0735d734ae Mon Sep 17 00:00:00 2001 +From: Christian Ehrhardt +Date: Wed, 23 Mar 2022 10:07:13 +0100 +Subject: [PATCH] build: disable fcf-protection on -march=486 -m16 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Some of the roms build with -march=i486 -m16 which is incompatible +with -fcf-protection. That in turn is can be set by default, for +example in Ubuntu [1]. +That causes: + cc1: error: ?-fcf-protection? is not compatible with this target + +This won't work on -march=i486 -m16 and no matter if set or not we can +override it to "none" if the option is known to the compiler to be +able to build reliably. + +Fixes: https://gitlab.com/qemu-project/qemu/-/issues/889 + +[1]: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection + +Signed-off-by: Christian Ehrhardt +Reviewed-by: Philippe Mathieu-Daud? +Reviewed-by: Thomas Huth +Message-Id: <20220323090713.1002588-1-christian.ehrhardt at canonical.com> +Signed-off-by: Paolo Bonzini +--- + pc-bios/optionrom/Makefile | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile +index 5d55d25acca2..f1ef89807355 100644 +--- a/pc-bios/optionrom/Makefile ++++ b/pc-bios/optionrom/Makefile +@@ -14,6 +14,10 @@ cc-option = $(if $(shell $(CC) $1 -c -o /dev/null -xc /dev/null >/dev/null 2>&1 + + override CFLAGS += -march=i486 -Wall + ++# If -fcf-protection is enabled in flags or compiler defaults that will ++# conflict with -march=i486 ++override CFLAGS += $(call cc-option, -fcf-protection=none) ++ + # Flags for dependency generation + override CPPFLAGS += -MMD -MP -MT $@ -MF $(@D)/$(*F).d + +-- +2.32.0 + -- 2.17.1 From james.hilliard1 at gmail.com Wed Apr 6 21:41:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 15:41:43 -0600 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> Message-ID: On Wed, Apr 6, 2022 at 8:12 AM Arnout Vandecappelle wrote: > > > > On 05/04/2022 21:38, James Hilliard wrote: > > On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: > >> > >> > >> > >> On 05/04/2022 13:50, James Hilliard wrote: > >>> Currently we only test a limited set of toolchains that are mostly > >>> prebuilt, add a flag to allow using randconfig for randomizing > >>> additional toolchain settings instead of randpackageconfig. > >>> > >>> To avoid invalid configs we need to add additional config validation > >>> filtering and fixups. > >>> > >>> Signed-off-by: James Hilliard > >>> --- > >>> Changes v3 -> v4: > >>> - use fixup_config instead of other retries to filter bad configs > >> > >> Well, I don't like this. It means we have to duplicate the logic for checking > >> the bad configs in two places: in the mk file and in genrandconfig. > > > > Well it seems to work better since instead of regenerating it tries to > > fixup the config. I think this gives better statistical coverage of some > > config options. > > It will create a bias towards the default option for the options you exclude. > See below. Yes, I'm aware of that, however this improves coverage as certain options like enabling the kernel build result in a high percentage of invalid configs otherwise which creates a bias towards builds with the kernel build disabled entirely, at least by fixing up invalid kernel configs instead of triggering a full re-randomization we get more builds with kernels enabled as the invalid configs should no longer create a bias towards kernel builds being disabled for example. Having a bias towards the common defaults seems to be a net improvement here. > > > > >> > >> If the problem is that you sometimes don't end up with a valid config even > >> after 100 iterations, then I think a better solution is to feed valid values for > >> the string options. That way, we still do a build test of e.g. > >> BR2_ROOTFS_SKELETON_CUSTOM. > > > > That looks a bit tricky, although we could probably add it for some cases > > that we want test coverage for. > > > >> > >> [Others may disagree with me of course.] > >> > >> Regards, > >> Arnout > >> > >> > >>> Changes v2 -> v3: > >>> - properly check exit codes > >>> Changes v1 -> v2: > >>> - refactor fixup_config control flow > >>> --- > >>> utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- > >>> 1 file changed, 206 insertions(+), 9 deletions(-) > >>> > >>> diff --git a/utils/genrandconfig b/utils/genrandconfig > >>> index 3483d55c14..59fe34e58d 100755 > >>> --- a/utils/genrandconfig > >>> +++ b/utils/genrandconfig > >>> @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): > >>> configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > >>> configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > >>> > >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > > Here, the BR2_ROOTFS_SKELETON_CUSTOM_PATH check is basically redundant: > randconfig will never fill something in for the string, so it is always empty. The fixup_config function is used for configs based on the toolchains csv's as well so this is necessary to prevent accidentally fixing up a valid BR2_ROOTFS_SKELETON_CUSTOM_PATH provided in a toolchain csv file. > > >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') > > Thus, the result is that if a config is generated with > BR2_ROOTFS_SKELETON_CUSTOM=y, it will be removed again and revert to its default. > > In this case, there are just two choices so it doesn't make a difference. But > if there are more than two choices, removing one of them creates a bias towards > the default option. I wouldn't call this "better statistical coverage". > Statistically, taking a completely random sampling and then discarding samples > that are somehow not appropriate is considered "better" than fudging > inappropriate samples in a certain direction. The main issue is that throwing out invalids creates a heavy bias towards disabling the configs dependencies entirely which is not desirable. Having a bias towards kernel builds with default options is better than having a very strong bias towards the kernel not being built at all. > > > Regards, > Arnout > > > > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') > >>> + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') > >>> + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') > >>> + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') > >>> + > >>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ > >>> + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: > >>> + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') > >>> + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') > >>> + > >>> + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ > >>> + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': > >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') > >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') > >>> + > >>> + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ > >>> + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') > >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') > >>> + > >>> + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ > >>> + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') > >>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > >>> + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') > >>> + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > >>> + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') > >>> + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ > >>> + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > >>> + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > >>> + > >>> + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > >>> + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') > >>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') > >>> + > >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') > >>> + > >>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') > >>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > >>> + return False > >>> + > >>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') > >>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > >>> + return False > >>> + > >>> + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') > >>> + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> with open(configfile, "w+") as configf: > >>> configf.writelines(configlines) > >>> > >>> @@ -331,11 +517,14 @@ def gen_config(args): > >>> > >>> sysinfo = SystemInfo() > >>> > >>> - # Select a random toolchain configuration > >>> - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > >>> + if args.toolchains_csv: > >>> + # Select a random toolchain configuration > >>> + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > >>> > >>> - i = randint(0, len(configs) - 1) > >>> - toolchainconfig = configs[i] > >>> + i = randint(0, len(configs) - 1) > >>> + toolchainconfig = configs[i] > >>> + else: > >>> + toolchainconfig = [] > >>> > >>> configlines = list(toolchainconfig) > >>> > >>> @@ -409,7 +598,7 @@ def gen_config(args): > >>> bounded_loop -= 1 > >>> subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> "KCONFIG_PROBABILITY=%d" % randint(1, 20), > >>> - "randpackageconfig"]) > >>> + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > >>> > >>> if fixup_config(sysinfo, configfile): > >>> break > >>> @@ -433,10 +622,18 @@ if __name__ == '__main__': > >>> parser.add_argument("--buildrootdir", "-b", > >>> help="Buildroot directory (relative to current directory)", > >>> type=str, default='.') > >>> - parser.add_argument("--toolchains-csv", > >>> - help="Path of the toolchain configuration file", > >>> - type=str, > >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > >>> + toolchains_csv.add_argument("--toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Path of the toolchain configuration file", > >>> + type=str) > >>> + toolchains_csv.add_argument("--no-toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Generate random toolchain configuration", > >>> + action='store_false') > >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> args = parser.parse_args() > >>> > >>> # We need the absolute path to use with O=, because the relative From james.hilliard1 at gmail.com Wed Apr 6 21:49:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 15:49:56 -0600 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 2:13 PM Emile Cormier wrote: > > Thank you for your feedback on this request, Arnout. > > Buildroot's cmake is being executed in my post-build script instead of my system's cmake. How do I make my system's cmake take precedence? I think you just need to update your system's cmake to something that meets the required minimum version: https://github.com/buildroot/buildroot/blob/ac91235797fe9b234fb820c0112f21c26be1349f/support/dependencies/check-host-cmake.mk#L6 > > On Wed, Apr 6, 2022 at 11:29 AM Arnout Vandecappelle wrote: >> >> >> >> On 06/04/2022 04:06, Emile Cormier wrote: >> > When using cmake while running a post-build script, the ExternalProject_add >> > command fails when the URL option is used to download a source tarball via >> > https. This is because the host cmake is not built using the --system-curl >> > option (https://github.com/Kitware/CMake/blob/master/bootstrap#L660 >> > ). >> > >> > Without the system-curl option, the cmake build will use its own bundled libcurl >> > without OpenSSL support, and thus downloading tarballs via https fails. >> > >> > Adding the --system-curl option would entail that libcurl also be built as a >> > host library. I don't think it currently is. >> >> Not only that, we'd need to configure host-curl to pull in host-openssl as well. >> >> That is not really great. It means that cmake (which in many configurations is >> a very basic dependency) would pull in two more packages, which significantly >> increases build time. >> >> And the only added value is that it allows you to build something outside of >> buildroot. If you need to do that, simply install cmake on your build system and >> use that instead of the buildroot-built cmake. >> >> Regards, >> Arnout >> >> >> > >> > I use CMake's ExternalProject_add in our project to download and build the >> > static library dependencies that our embedded application needs. I know that >> > buildroot provides various packages for cross-compiled libraries, but I have no >> > control over the versions (and compile-time options) of these packages. >> > >> > Cheers, >> > Emile Cormier >> > >> > _______________________________________________ >> > buildroot mailing list >> > buildroot at buildroot.org >> > https://lists.buildroot.org/mailman/listinfo/buildroot > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From emile.cormier.jr at gmail.com Wed Apr 6 22:15:25 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Wed, 6 Apr 2022 19:15:25 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 6:50 PM James Hilliard wrote: > On Wed, Apr 6, 2022 at 2:13 PM Emile Cormier > wrote: > > Buildroot's cmake is being executed in my post-build script instead of > my system's cmake. How do I make my system's cmake take precedence? > > I think you just need to update your system's cmake to something that > meets the > required minimum version: > > https://github.com/buildroot/buildroot/blob/ac91235797fe9b234fb820c0112f21c26be1349f/support/dependencies/check-host-cmake.mk#L6 > Ah, that explains why I started getting CMake https download failures _after_ the buildroot cmake version was bumped. My system's cmake version was in between buildroot's versions for cmake. However, I think having to rely on the system's CMake version goes against the buildroot philosophy of an image build not relying on the tools and libraries available on the build system. What I have done as a workaround in my post-build script is pre-download the needed source tarballs via wget. Later, when ExternalProject_add attempts to download the same source tarball, it sees that it's already downloaded and matches the expected hash. It then skips the https download, thus preventing the error. This way, whatever version of wget is installed on the build system makes little difference. -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.hilliard1 at gmail.com Wed Apr 6 22:26:59 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 16:26:59 -0600 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 4:15 PM Emile Cormier wrote: > > On Wed, Apr 6, 2022 at 6:50 PM James Hilliard wrote: >> >> On Wed, Apr 6, 2022 at 2:13 PM Emile Cormier wrote: >> > Buildroot's cmake is being executed in my post-build script instead of my system's cmake. How do I make my system's cmake take precedence? Why are you executing cmake in a post-build script? You should probably create a proper cmake package in your BR2_EXTERNAL: https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_cmake_based_packages https://buildroot.org/downloads/manual/manual.html#outside-br-custom >> >> I think you just need to update your system's cmake to something that meets the >> required minimum version: >> https://github.com/buildroot/buildroot/blob/ac91235797fe9b234fb820c0112f21c26be1349f/support/dependencies/check-host-cmake.mk#L6 > > > Ah, that explains why I started getting CMake https download failures _after_ the buildroot cmake version was bumped. My system's cmake version was in between buildroot's versions for cmake. > > However, I think having to rely on the system's CMake version goes against the buildroot philosophy of an image build not relying on the tools and libraries available on the build system. Yes, however the issue here is that you are bypassing buildroot's package download infrastructure. > > What I have done as a workaround in my post-build script is pre-download the needed source tarballs via wget. Later, when ExternalProject_add attempts to download the same source tarball, it sees that it's already downloaded and matches the expected hash. It then skips the https download, thus preventing the error. This way, whatever version of wget is installed on the build system makes little difference. So create a separate buildroot package for those dependencies that your main package selects. Use the cmake package infrastructure instead of trying to use cmake to download the dependency. From james.hilliard1 at gmail.com Wed Apr 6 22:29:03 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 16:29:03 -0600 Subject: [Buildroot] [PATCH v5 1/2] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220406222904.421610-1-james.hilliard1@gmail.com> There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. We need to special case dependency exclusions for host-python-flit-core and host-python-installer to avoid circular dependencies in the flit-bootstrap SETUP_TYPE. We also need to special case the installation command for host-python-flit-core since it can not depend on host-python-installer due to host-python-installer requiring host-python-flit-core. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle --- Changes v3 -> v4: - rebase Changes v2 -> v3: - add special flit-bootstrap SETUP_TYPE - don't change package SETUP_TYPE's yet Changes v1 -> v2: - formatting/cleanup - add comments --- package/pkg-python.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..2e7704a0a9 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +# Use flit built in wheel builder for packages that are flit-bootstrap packages. +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. +# +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +ifeq ($(1),host-python-flit-core) +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) +else +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif +else $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) +else +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 6 22:29:04 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 16:29:04 -0600 Subject: [Buildroot] [PATCH v5 2/2] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220406222904.421610-1-james.hilliard1@gmail.com> References: <20220406222904.421610-1-james.hilliard1@gmail.com> Message-ID: <20220406222904.421610-2-james.hilliard1@gmail.com> From: ????? ???????? When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ????? ???????? Signed-off-by: James Hilliard --- Changes v4 -> v5: - add rebased remove hardcoded paths patch --- package/pkg-python.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 2e7704a0a9..154810e1cc 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages @@ -225,11 +217,11 @@ ifeq ($(1),host-python-flit-core) # $(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) else -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif endif else -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 6 22:32:22 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 16:32:22 -0600 Subject: [Buildroot] [PATCH 1/1] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <6f2c2047-1c19-dc6f-1d77-26f6a7f2615a@corrigendum.ru> References: <20220405233412.4701-1-dpb@corrigendum.ru> <08affbae-a2c5-7e17-a9ee-a1f7842c2259@mind.be> <6f2c2047-1c19-dc6f-1d77-26f6a7f2615a@corrigendum.ru> Message-ID: On Wed, Apr 6, 2022 at 1:57 PM ????? ???????? wrote: > > 06.04.2022 17:24, Arnout Vandecappelle ?????: > > On 06/04/2022 01:34, ????? ???????? wrote: > >> When installer is used to install packages for host Python, it can figure > >> out by itself which paths to use. We just need to use the installer CLI > >> instead of our wrapper script. > > > > James, could you have a look at this and add it to your series that > > reworks the pep517 infra? Because I think it'll create conflicts. Rebased it on my flit bootstrap migration patch: https://patchwork.ozlabs.org/project/buildroot/patch/20220406222904.421610-2-james.hilliard1 at gmail.com/ > > > > Also, can the installer be used for target install as well? > > No, installer doesn't know the settings for the target Python, and the > installer CLI isn't flexible enough to configure these settings. So a > custom script is required. Yeah, unfortunately upstream installer has been somewhat resistant to adding this sort of customization functionality to the CLI. > > > > > Regards, > > Arnout > > > >> > >> Signed-off-by: ????? ???????? > >> --- > >> package/pkg-python.mk | 10 +--------- > >> 1 file changed, 1 insertion(+), 9 deletions(-) > >> > >> diff --git a/package/pkg-python.mk b/package/pkg-python.mk > >> index 867341fc7b..acd5628f3b 100644 > >> --- a/package/pkg-python.mk > >> +++ b/package/pkg-python.mk > >> @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ > >> PYTHONNOUSERSITE=1 \ > >> $(HOST_CONFIGURE_OPTS) > >> -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > >> - --interpreter=/bin/python \ > >> - --script-kind=posix \ > >> - > >> --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > >> - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ > >> - --scripts=$(HOST_DIR)/bin \ > >> - --data=$(HOST_DIR) > >> - > >> > >> ################################################################################ > >> > >> # inner-python-package -- defines how the configuration, compilation > >> # and installation of a Python package should be done, implements a > >> @@ -212,7 +204,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = > >> $(TOPDIR)/support/scripts/pyinstaller.py dist/* > >> else > >> $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) > >> $(2)_BASE_BUILD_CMD = -m build -n -w > >> -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py > >> dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > >> +$(2)_BASE_INSTALL_CMD = -m installer dist/* > >> endif > >> else > >> $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', > >> 'setuptools', 'pep517' or 'flit'.") From emile.cormier.jr at gmail.com Wed Apr 6 23:02:16 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Wed, 6 Apr 2022 20:02:16 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 7:27 PM James Hilliard wrote: > Why are you executing cmake in a post-build script? > > You should probably create a proper cmake package in your BR2_EXTERNAL: > > https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_cmake_based_packages > https://buildroot.org/downloads/manual/manual.html#outside-br-custom > I should have clarified that the same CMake-based superbuild project is used to compile desktop versions of the same app for development purposes. All the (permissive-licenced) dependencies are statically linked to avoid headaches where the desktop's dynamic libraries are used instead of the ones intended for the app. As I'm sure you know, the edit/run/debug cycle is much faster when it doesn't have to be uploaded and remotely debugged on an embedded device. Nonetheless, I'll consider your advice and will check if the CMake superbuild of our app can be hooked into a BR2_EXTERNAL cmake package instead of a post-build script. Thank you. So create a separate buildroot package for those dependencies that your main > package selects. > > Use the cmake package infrastructure instead of trying to use cmake to > download > the dependency. > Again, the same CMake superbuild is used for desktop builds and I don't want to duplicate all that effort into equivalent buildroot cmake packages. Sorry for not making clearer the dual purpose of our CMake superbuild. -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.hilliard1 at gmail.com Wed Apr 6 23:11:31 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 17:11:31 -0600 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 5:02 PM Emile Cormier wrote: > > On Wed, Apr 6, 2022 at 7:27 PM James Hilliard wrote: >> >> Why are you executing cmake in a post-build script? >> >> You should probably create a proper cmake package in your BR2_EXTERNAL: >> https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_cmake_based_packages >> https://buildroot.org/downloads/manual/manual.html#outside-br-custom > > > I should have clarified that the same CMake-based superbuild project is used to compile desktop versions of the same app for development purposes. All the (permissive-licenced) dependencies are statically linked to avoid headaches where the desktop's dynamic libraries are used instead of the ones intended for the app. As I'm sure you know, the edit/run/debug cycle is much faster when it doesn't have to be uploaded and remotely debugged on an embedded device. > > Nonetheless, I'll consider your advice and will check if the CMake superbuild of our app can be hooked into a BR2_EXTERNAL cmake package instead of a post-build script. Thank you. > >> So create a separate buildroot package for those dependencies that your main >> package selects. >> >> Use the cmake package infrastructure instead of trying to use cmake to download >> the dependency. > > > Again, the same CMake superbuild is used for desktop builds and I don't want to duplicate all that effort into equivalent buildroot cmake packages. Sorry for not making clearer the dual purpose of our CMake superbuild. You might still be able to share it for desktop builds for development by creating packages and then overriding them using the OVERRIDE_SRCDIR feature: https://buildroot.org/downloads/manual/manual.html#_using_buildroot_during_development From joel at jms.id.au Thu Apr 7 00:31:59 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 00:31:59 +0000 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc In-Reply-To: References: <20220404091256.683581-1-joel@jms.id.au> <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> <20220405195545.GH2354230@scaer> Message-ID: On Wed, 6 Apr 2022 at 02:05, Joel Stanley wrote: > > On Tue, 5 Apr 2022 at 19:55, Yann E. MORIN wrote: > > > > Arnout, All, > > > > On 2022-04-04 22:17 +0200, Arnout Vandecappelle spake thusly: > > > On 04/04/2022 11:12, Joel Stanley wrote: > > > >Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the > > > Peter just backported this one to 2022.02.x... > > > >Power8 optimisations off to fix a build issue. Instead apply a patch > > > >from the develop branch upstream to fix the issue. > > > > > > > >This patch is not yet in a released version of zlib-ng. > > > > > > > >Signed-off-by: Joel Stanley > > > Applied to master, thanks. > > > > Err... Why would we enable the POWER8 optimisations when the target is > > not a POWER8 ? > > > > Backporting the patch seems correct, but the enabling/disabling the > > optinisations should have stayed, I believe... > > Taking a look at the cmake configuration, there's dozens of options > that provide optimisations. It looks like it does detection of > features: > I suggest we let the zlib-ng build system do its thing to ease the > maintenance burden of keeping the flags up to date. > > I also welcome someone double checking my analysis, as I may have > misunderstood something. We can ignore my ramblings, because I was looking at the latest 'develop' branch. The cmake configuration in the 2.0.6 release is quite different. I'll send a patch to reinstate the settings we had. Cheers, Joel From emile.cormier.jr at gmail.com Thu Apr 7 00:36:26 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Wed, 6 Apr 2022 21:36:26 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 8:11 PM James Hilliard wrote: > You might still be able to share it for desktop builds for development > by creating > packages and then overriding them using the OVERRIDE_SRCDIR feature: > > https://buildroot.org/downloads/manual/manual.html#_using_buildroot_during_development > We use Qt Creator as an IDE, and it integrates very well with CMake-based projects, especially for debugging. I'm afraid that introducing buildroot into the mix would wreck our productivity for development. The way I have it set up now with buildroot being exclusively used to produce "release" images for our embedded device is working well. Before buildroot, release images were assembled manually using a Debian ARM image provided by the board vendor, and then tailored to suit our needs. It goes without saying this was very tedious and error-prone. Using buildroot to generate device images is way easier and more consistent, plus we can tailor the operating system exactly as we need it. It turns out that the problem with buildroot's cmake not supporting https downloads is a minor one that I can solve it two ways: 1. Pre-download the tarballs using wget via build scripts 2. Install a more recent cmake on the build system that meets buildroot's requirements If this feature request is declined (as perhaps it should be), then it's no big deal, really. Thanks again for the advice. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at jms.id.au Thu Apr 7 00:51:07 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:21:07 +0930 Subject: [Buildroot] [PATCH] package/zlib-ng: Conditionally enable Power8 option Message-ID: <20220407005107.202695-1-joel@jms.id.au> zlib-ng's build system does not correctly detect if it supports the Power8 feature. Force it off to fix building for configurations that don't support the vector builtin functions. For example, building for BR2_powerpc_601: warning: implicit declaration of function ?vec_xl?; did you mean ?vec_rl?? [-Wimplicit-function-declaration] 93 | vbuf = vec_xl(0, (unsigned char *) buf); Signed-off-by: Joel Stanley --- [ 3%] Building C object CMakeFiles/zlib.dir/arch/power/adler32_power8.c.o build_ppc601_glibc/host/bin/powerpc-buildroot-linux-gnu-gcc --sysroot=/home/joel/dev/buildroot/build_ppc601_glibc/host/powerpc-buildroot-linux-gnu/sysroot -DHAVE_BUILTIN_CTZ -DHAVE_BUILTIN_CTZLL -DHAVE_POSIX_MEMALIGN -DHAVE_VISIBILITY_HIDDEN -DHAVE_VISIBILITY_INTERNAL -DPOWER8 -DPOWER8_VSX_ADLER32 -DPOWER8_VSX_SLIDEHASH -DPOWER_FEATURES -DWITH_GZFILEOP -DZLIB_COMPAT -DZLIB_DLL -D_LARGEFILE64_SOURCE=1 -D__USE_LARGEFILE64 -I/home/joel/dev/buildroot/build_ppc601_glibc/build/zlib-ng-2.0.6 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wno-implicit-fallthrough -DNDEBUG -fPIC -fno-semantic-interposition -std=c99 -mcpu=power8 -fno-lto -o CMakeFiles/zlib.dir/arch/power/adler32_power8.c.o -c build_ppc601_glibc/build/zlib-ng-2.0.6/arch/power/adler32_power8.c build_ppc601_glibc/build/zlib-ng-2.0.6/arch/power/adler32_power8.c: In function ?adler32_power8?: build_ppc601_glibc/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:93:20: warning: implicit declaration of function ?vec_xl?; did you mean ?vec_rl?? [-Wimplicit-function-declaration] 93 | vbuf = vec_xl(0, (unsigned char *) buf); | ^~~~~~ | vec_rl Signed-off-by: Joel Stanley --- package/zlib-ng/zlib-ng.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11d0..dd1723ac8672 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,11 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + + $(eval $(cmake-package)) -- 2.35.1 From joel at jms.id.au Thu Apr 7 00:56:05 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:26:05 +0930 Subject: [Buildroot] [PATCH v2 0/3] powerpc: Add flag to control VSX Message-ID: <20220407005608.203359-1-joel@jms.id.au> Fabrice has been fixing powerpc build errors relating to VSX. Instead of disabling the feature outright, add a BR2 flag so we only turn off VSX where it's not supported. Use this for flac and libnss. Build tested with the ppc 602 configuration, with glibc and uclibc, and with the power8 powernv defconfig. This is v2 as Fabrice's libnss patch was v1: https://lore.kernel.org/buildroot/20220405213351.2487658-1-fontaine.fabrice at gmail.com/ Fabrice Fontaine (1): package/libnss: fix build on powerpc Joel Stanley (2): arch/Config.in.powerpc: Add BR2_POWERPC_CPU_HAS_VSX package/flac: Configure powerpc vector extensions arch/Config.in.powerpc | 5 +++++ package/flac/flac.mk | 12 +++++++++--- package/libnss/libnss.mk | 5 +++++ 3 files changed, 19 insertions(+), 3 deletions(-) -- 2.35.1 From joel at jms.id.au Thu Apr 7 00:56:06 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:26:06 +0930 Subject: [Buildroot] [PATCH v2 1/3] arch/Config.in.powerpc: Add BR2_POWERPC_CPU_HAS_VSX In-Reply-To: <20220407005608.203359-1-joel@jms.id.au> References: <20220407005608.203359-1-joel@jms.id.au> Message-ID: <20220407005608.203359-2-joel@jms.id.au> Introduced to allow VSX to be selectively enabled for packages that support it. Initially used by libnss. Signed-off-by: Joel Stanley --- arch/Config.in.powerpc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc index 4a39cfee70d4..272f66f4e7ea 100644 --- a/arch/Config.in.powerpc +++ b/arch/Config.in.powerpc @@ -1,6 +1,9 @@ config BR2_POWERPC_CPU_HAS_ALTIVEC bool +config BR2_POWERPC_CPU_HAS_VSX + bool + config BR2_POWERPC_CPU_HAS_SPE bool @@ -123,9 +126,11 @@ config BR2_powerpc_power6 config BR2_powerpc_power7 bool "power7" select BR2_POWERPC_CPU_HAS_ALTIVEC + select BR2_POWERPC_CPU_HAS_VSX config BR2_powerpc_power8 bool "power8" select BR2_POWERPC_CPU_HAS_ALTIVEC + select BR2_POWERPC_CPU_HAS_VSX endchoice choice -- 2.35.1 From joel at jms.id.au Thu Apr 7 00:56:07 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:26:07 +0930 Subject: [Buildroot] [PATCH v2 2/3] package/libnss: fix build on powerpc In-Reply-To: <20220407005608.203359-1-joel@jms.id.au> References: <20220407005608.203359-1-joel@jms.id.au> Message-ID: <20220407005608.203359-3-joel@jms.id.au> From: Fabrice Fontaine Set NSS_DISABLE_CRYPTO_VSX which is available since version 3.64 and https://github.com/nss-dev/nss/commit/9dab43371d4d924419523e18ba84f02804880533 to avoid the following build failure on powerpc: cc1: warning: '-mvsx' requires hardware floating point cc1: error: '-mno-vsx' turns off '-mcrypto' Fixes: - http://autobuild.buildroot.org/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 Signed-off-by: Fabrice Fontaine Signed-off-by: Joel Stanley --- v2: rework to use BR2_POWERPC_CPU_HAS_VSX --- package/libnss/libnss.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index 2f7a2651363e..318b6e305724 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -64,6 +64,11 @@ ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),) LIBNSS_BUILD_VARS += NSS_DISABLE_ALTIVEC=1 endif +ifeq ($(BR2_POWERPC_CPU_HAS_VSX),) +# Disable VSX if not supported +LIBNSS_BUILD_VARS += NSS_DISABLE_CRYPTO_VSX=1 +endif + ifeq ($(BR2_ARM_CPU_HAS_NEON),) # Disable arm32-neon if neon is not supported LIBNSS_BUILD_VARS += NSS_DISABLE_ARM32_NEON=1 -- 2.35.1 From joel at jms.id.au Thu Apr 7 00:56:08 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:26:08 +0930 Subject: [Buildroot] [PATCH v2 3/3] package/flac: Configure powerpc vector extensions In-Reply-To: <20220407005608.203359-1-joel@jms.id.au> References: <20220407005608.203359-1-joel@jms.id.au> Message-ID: <20220407005608.203359-4-joel@jms.id.au> Remove the hard coded disabling of altivec and vsx, and instead use the BR2_POWERPC_CPU_HAS_VSX and BR2_POWERPC_CPU_HAS_ALTIVEC variables to control the flags. Signed-off-by: Joel Stanley --- package/flac/flac.mk | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package/flac/flac.mk b/package/flac/flac.mk index 3a18d81591e6..d1cc42f352f2 100644 --- a/package/flac/flac.mk +++ b/package/flac/flac.mk @@ -19,9 +19,15 @@ FLAC_AUTORECONF = YES FLAC_CONF_OPTS = \ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ --disable-xmms-plugin \ - --disable-altivec \ - --disable-stack-smash-protection \ - --disable-vsx + --disable-stack-smash-protection + +ifeq ($(BR2_POWERPC_CPU_HAS_VSX),) +FLAC_CONF_OPTS += --disable-vsx +endif + +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),) +FLAC_CONF_OPTS += --disable-altivec +endif ifeq ($(BR2_PACKAGE_LIBOGG),y) FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr -- 2.35.1 From james.hilliard1 at gmail.com Thu Apr 7 01:50:45 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 19:50:45 -0600 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 6:36 PM Emile Cormier wrote: > > On Wed, Apr 6, 2022 at 8:11 PM James Hilliard wrote: >> >> You might still be able to share it for desktop builds for development >> by creating >> packages and then overriding them using the OVERRIDE_SRCDIR feature: >> https://buildroot.org/downloads/manual/manual.html#_using_buildroot_during_development > > > We use Qt Creator as an IDE, and it integrates very well with CMake-based projects, especially for debugging. I'm afraid that introducing buildroot into the mix would wreck our productivity for development. > > The way I have it set up now with buildroot being exclusively used to produce "release" images for our embedded device is working well. Before buildroot, release images were assembled manually using a Debian ARM image provided by the board vendor, and then tailored to suit our needs. It goes without saying this was very tedious and error-prone. Using buildroot to generate device images is way easier and more consistent, plus we can tailor the operating system exactly as we need it. Using OVERRIDE_SRCDIR would just allow you to easily generate release images from your cmake projects working tree using buildroot infrastructure which shouldn't conflict with Qt Creator if that's only being used for developing the cmake project. The idea is that you use your existing debugging setup pretty much as is but redirect the buildroot package infrastructure to source your cmake package from your local development folder when you want to build a test release image. This way your release process would properly use buildroot package infrastructure for dependency handling while still allowing debugging to be done separately most of the time using existing workflows. > > It turns out that the problem with buildroot's cmake not supporting https downloads is a minor one that I can solve it two ways: > 1. Pre-download the tarballs using wget via build scripts > 2. Install a more recent cmake on the build system that meets buildroot's requirements > > If this feature request is declined (as perhaps it should be), then it's no big deal, really. > > Thanks again for the advice. From bugzilla at busybox.net Thu Apr 7 05:02:15 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Thu, 07 Apr 2022 05:02:15 +0000 Subject: [Buildroot] [Bug 14746] Lack of management after loading In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14746 --- Comment #3 from Alexander Zhirov --- Buildroot don't even build a Qemu image going with X11 -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Thu Apr 7 05:18:13 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Thu, 07 Apr 2022 05:18:13 +0000 Subject: [Buildroot] [Bug 14701] Multiple unresolved symbols while building kernel module package In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14701 Jos? Pekkarinen changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #5 from Jos? Pekkarinen --- Kernel was trimminig unused symbols, removing the config to trim them makes the module build properly. Sorry! -- You are receiving this mail because: You are on the CC list for the bug. From thomas.petazzoni at bootlin.com Thu Apr 7 05:29:18 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 07 Apr 2022 05:29:18 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-06 Message-ID: <20220407052923.A25F84046D@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-06 =================================== branch | OK | NOK | TIM | TOT | 2021.02.x | 61 | 10 | 1 | 72 | 2022.02.x | 19 | 8 | 2 | 29 | master | 217 | 482 | 0 | 699 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 53 host-util-linux-2.38 | 34 host-gcc-final-10.3.0 | 33 uclibc-1.0.40 | 30 dhcp-4.4.2-P1 | 20 git-2.31.1 | 18 host-elf2flt-7e33f28df198c4... | 18 libopenssl-1.1.1n | 15 argp-standalone-1.3 | 14 fetchmail-6.4.29 | 12 toolchain-external-bootlin-... | 11 linux-5.15.30 | 10 python3-3.10.2 | 8 polkit-a2bf5c9c83b6ae46cbd5... | 7 util-linux-2.38 | 7 glibc-2.34-109-gd64b08d5ba7... | 6 host-gcc-final-9.4.0 | 6 linux-headers-5.15.30 | 6 refpolicy | 6 toolchain-external-bootlin | 6 zlib-ng-2.0.6 | 6 arptables-0.0.5 | 5 libressl-3.4.3 | 5 linux-headers-5.10.104-cip3 | 5 azmq-1.0.3 | 4 gobject-introspection-1.70.0 | 4 perl-5.34.1 | 4 host-gcc-final-11.2.0 | 3 host-go-1.17.8 | 3 linux-headers-5.10.104-cip3... | 3 musl-1.2.2 | 3 netsurf-3.10 | 3 unknown | 3 wavemon-0.9.4 | 3 ace-7.0.6 | 2 acpid-2.0.33 | 2 atest-895b0183a89c15f5e2305... | 2 bitcoin-0.21.2 | 2 brltty-6.4 | 2 fs/ext2/ext2.mk:65: /nvmeda... | 2 i2pd-2.40.0 | 2 libglib2-2.70.4 | 2 linux-5.10.104-cip3-rt3 | 2 minizip-3.0.5 | 2 qpid-proton-0.35.0 | 2 rtl8189es-2c8d44ae26485052f... | 2 uacme-1.7.1 | 2 alsa-lib-1.2.6 | 1 arp-scan-1.9.7 | 1 at-3.2.5 | 1 bat-0.19.0 | 1 belr-4.4.8 | 1 bird-2.0.8 | 1 cairo-1.16.0 | 1 cfm-0.3 | 1 clamav-0.103.5 | 1 dash-0.5.11.5 | 1 dieharder-3.31.1 | 1 docker-proxy-55685ba49593e6... | 1 e2fsprogs-1.46.5 | 1 exempi-2.6.1 | 1 expat-2.4.7 | 1 freeradius-client-1.1.7 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubi/ubi.mk:51: /nvmedata... | 1 fs/ubi/ubi.mk:51: /nvmedata... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 gmp-6.2.1 | 1 gnu-efi-3.0.10 | 1 gnuradio-3.8.2.0 | 1 grep-3.7 | 1 gst1-libav-1.20.1 | 1 host-gcc-initial-10.3.0 | 1 host-gcc-initial-11.2.0 | 1 host-gdb-arc-2020.09-releas... | 1 igh-ethercat-1.5.2 | 1 intel-gmmlib-22.1.2 | 1 json-c-0.15 | 1 lftp-4.9.2 | 1 libcap-ng-0.8.3 | 1 libcpprestsdk-2.10.18 | 1 libeastl-45469730d641868ce0... | 1 libeXosip2-5.3.0 | 1 libgcrypt-1.10.0 | 1 libkcapi-1.1.5 | 1 libkrb5-1.18.4 | 1 libnspr-4.33 | 1 libnss-3.76 | 1 libsigsegv-2.13 | 1 libtorrent-rasterbar-1.2.15 | 1 libuhttpd-3.14.1 | 1 liburing-2.1 | 1 libvorbis-1.3.7 | 1 lttng-babeltrace-1.5.7 | 1 mongodb-4.2.18 | 1 netdata-1.21.1 | 1 ocf-linux-20120127 | 1 opensbi | 1 opensbi-0.9 | 1 opus-1.3.1 | 1 pixman-0.40.0 | 1 pppd-2.4.9 | 1 pure-ftpd-1.0.50 | 1 python-ujson-4.2.0 | 1 quickjs-2021-03-27 | 1 reaver-1.6.6 | 1 rtl8723bs-11ab92d8ccd71c80f... | 1 rtl8723bu-19b4bdc05483a1e79... | 1 snort-2.9.19 | 1 spice-0.15.0 | 1 stunnel-5.60 | 1 systemd-250.4 | 1 tinifier-3.4.0 | 1 toolchain-external-bootlin-... | 1 toolchain-external-codescap... | 1 tvheadend-1295dd2be863f5beb... | 1 vlc-3.0.16 | 1 xenomai-custom | 1 zstd-1.5.2 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblazeel | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/7d7aa594759d3402f02403fbac9937c86e96b75d | microblaze | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/a7ff2cb2833f3b342a8f976e8f9af5d7d8d8598a | mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/aeffd254618b715e7d42b50278af6cf6d4047d8a | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/70b28d50bd72446865870d151f98d7986b41b1cd | ORPH or1k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/f05cc1b0674a4fab6243868041b0eb7592ce6c03 | i486 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/851540c179300bca7d9dfc17371a76f708564062 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/f14a38addf1eaa060fa8a54f64e4b98a981eba48 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/3e70cd20487049a012f350b87d8809ba9b79eec9 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/bc57f7cb1bb2cd9e1d1c513dddcb98140261ac6e | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/dd2eee6dac00c7d1f070ab47186cb94092b1e52e | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/0f7b37960ff09bd59833b6c25d91c4f98fdff467 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/675c954429c18845df2ede2e743441f636b53922 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/6ad1d2199c2d36c2fdd29b8a95d010b751003a6b | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/18a64f87fdaf8d83a4ef768afcdd2bab2b9818db | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/c67d0ae422b1e0309e1837872c761fcb2de80eef | riscv64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/f0bb8a0faaaeffd88422cabf4a85e70ccee3e117 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/473e389212efdc06deb83044205c2dc42c79182b | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/677a0c4388e7d03dd5633d88b0bea07b52e843ae | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/efb2b6d91a632420fa53e5371eb75d6c29e8e370 | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/5fd4d9637bb026b8a741907847ac9a6ad0dc5da5 | riscv32 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/d6e0efef96d1453fff3346d94fbbcc1471ed89df | ORPH i686 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/7957b49734de1c3fbba93efed5bdfbe0ece50181 | ORPH armeb | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/cbd95a0f1b9eacedf54a77dda397fcac743d5a59 | ORPH i686 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/92a80b889c64778f1c3d58159a5947b244b38d83 | ORPH sparc | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/4f73f16e0cd0f8a1d3f8402983a8c269b506be58 | ORPH mips | at-3.2.5 | NOK | http://autobuild.buildroot.net/results/81adf78fc9f07907db1f80b1be16455cf79ab06c | arm | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/8295b4440d18de2952d2a9c7e10c5116384e27f1 | mips64 | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/258c7fcb5c48bd5f8ab9cd9ccffea58956a53157 | sparc64 | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/de35ca0156d4b6f465e440ed9a3effd471f657fa | i686 | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/90defa39c0320860d9ef2985feff1ca6f5215c12 | microblaze | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/6699bcc60e9a06653b729daed090093bd86240e8 | s390x | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/68b013454c4133304553be825366233c8e4e62c0 | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/c780f58012d37e538836fdb6ed796dec6d03d1ad | or1k | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/2410de2f5ba067f36b733bf88cb5b15ec8a0ea67 | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/ef5b1c52402f4384bc556fa7069b25488b9317c6 | mips64 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/3089127f8ddfd252c754044c3acfe2d7c725203d | mips64el | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/80bccd1b4abc9a72fa1fe6dcfefdffdf72cc856b | microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/55a26a58abae06234d1621ffffb0287da29e27fd | mipsel | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/eaf7c9f9d5f363b7d12f5f10262b21cfdac5cd1c | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/6269bf4424d8f3512aca93cf1af1f8272f3cef02 | i686 | cfm-0.3 | NOK | http://autobuild.buildroot.net/results/75401e47fde9f9757576b6268191e456b49b4fac | i686 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/a666b4e2cdc7c1526ee3e06edddddcfc7ab65222 | sparc64 | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/d6600cf1a3a7bc1211c2b67eeb7f73a9e0d2207d | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/9454a29f715cb74b3524edc27bca6c9a5f3ac453 | ORPH mips64el | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/484f95f7573565de60105b484957ae21474df9e8 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/b9d8ce82f18fe9aceb573f237e2639060ccd0329 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/63499ae4b64d8be93e53948b4f1630546d024b16 | ORPH arceb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/99075603eb01220ee028d24705e2eb49e3c134c2 | ORPH armeb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/fc1d69fb323679e864940ee43489853ad57fff40 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3a2cac9c5ef6c5aa3ea8370f5d1390f9829467f5 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/00d8e2eedad1834b909cb0ef55b8a3969b43dcc3 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4d5a34447451766fe209a653359e97895ceb2240 | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/94b82a5ab53d45a2d5bb775b9fd4de09aa72783f | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/41015d952790098c6bfbda04057d2e379e0a497d | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/50e2242988af1bd99444894a20c585d5305a83a8 | ORPH i686 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7a5cdf30881d208807976cf98960c5fe2abfed50 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ca9df1e86bbe923e6d766825bbe5a0d0f80bd75d | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/e4b01a6c35785a9fb3a622b05a5225a5fa452235 | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/0cc04fed5bd6bffe4ff8168551546e80b5ccb460 | ORPH m68k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7ba6364fc3234e7f04a3fe02d6e74aba9625cdd6 | ORPH or1k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2a404d738d1f40199442d570fec9fb455a250686 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/24c41890bf10f9b2c7b7e818961f061ce2a21d8f | ORPH microblazeel | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/7156def493dab11964e215cda090ea3ef90bfc0b | x86_64 | docker-proxy-55685ba49593e6... | NOK | http://autobuild.buildroot.net/results/eb9ac03c47bf9a2f9bb048d6375467ecd517d77a | or1k | e2fsprogs-1.46.5 | NOK | http://autobuild.buildroot.net/results/cc1ed086225d05be50dc759a46bd77087751e22d | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/119227f1843dff416c6ad77411d87e7b491bb4c0 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/303bc312d757a52ce1613da9c73125db4ab6c1dd | x86_64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/8e439aacb6d4f0305f19451672b22a6ac2fb97dd | mipsel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/e7edc5ecf0b0d3f647aa7ac3cd0d22dbe7487747 | powerpc64le | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/fa538d9a38e5eda660dd5b03849ad6faa38b8b43 | nios2 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/2904e82779e46acd3da47639b3c2a32f61502a64 | powerpc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/af51add19aed6f53a6a440cf3025489b67aebf6f | mipsel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/02edf59a4a82f5fe633523b5311aecbdc426f7c0 | sparc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/762954f76601397b40c5e43e4398a2834377142d | powerpc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/6a946fefa27c827015363d8b659eef612e4abbc7 | powerpc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/713819f8a8cac543e8075339e5a2cdf64761758d | xtensa | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7bfdd9223d3f8a3a9cac059713c209a32844af1b | i486 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/1b41f0ce4f3c0b5de3261fbd1c89eb246ee82808 | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/916328156fd0c269f1b099ca2b46fa147e90f60c | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/ccb450040047c72407f5aa109ebe1f88e38a42d8 | mipsel | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/cb4ea03f490f22f87b5e3a1af7682858306d79ad | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/aaaadb21d8886fd8701896908113cc9fc2236bdc | microblazeel | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/58bbd2de9b5bf670902d82209fc70bab61cdc56f | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/6f31484bf46d7eec9ca81d9a5c4906ae19ec8be6 | or1k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/fe090a6eb92306bede1fd9ffe48b35ccf11b3c58 | mips64el | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/6dee312a575517a0d7efc9ea434fe8052c090dc6 | powerpc64le | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/8f061dc9ff8d27c51287c3af86891c2f6d70bb53 | s390x | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/3bdcdeae90cd0780c34ec94ec295a3f1ebb32e39 | powerpc64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/2e6a19c4d719334ef9d5484998406bdf7b637d94 | microblazeel | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/43e162b7ae22c4e415a1bdf96eeb9d9312fdaf26 | m68k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2afa8f3778d12c4ed0ad3d7b00c9a4f0e62f4dcc | m68k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/c263ba53bb458767f594d96dc42f7bf05d374459 | riscv32 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/005078b0f0e40f02ae9af7490d8085037724b3ff | mipsel | fs/ubi/ubi.mk:51: /nvmedata... | NOK | http://autobuild.buildroot.net/results/c5f3cc19db5aaf29b24f0631622b071d63b65371 | microblaze | fs/ubi/ubi.mk:51: /nvmedata... | NOK | http://autobuild.buildroot.net/results/d5c1b3116fa4f81de24e3dde61ebb1ac8fad6541 | sparc64 | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/bd50c2306958b1c4f0460b63974b4d75c1716ad4 | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/25b06d31c2c5137eadf31e96adbce246d2b449f3 | mipsel | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/697ce3ffa58e9770145b140ec46ac1b96ef2560e | mips64el | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/4760e1a2a245bfcd5c4875a90e417397b7146105 | armeb | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/5166a0c68887e2b5d71da1328720bc339d7d4f2d | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/d7cd24d34c10a3b5b5f4bf98b961f3ab3fc23982 | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/bb26ed1e5a9f5e3ad21a47f5de160056eaab0582 | i686 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/f1f7eefc06cbc318055da2012b254b4d52e6a60f | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/9166facb176db36272d858b2ac18311635162bff | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/a5d8dfab1bfa85efee8a7c69f411c9de814a080a | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/7524b7793fe3616840a4d3d281c0a4b958797acd | mips | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/96c141e4db34459cee58cfbf911837f0605415da | riscv64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/f7171b3181ae2ab7fc0833fd4811826af90d7b6a | i686 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/691e6faa5f34e38bfba543ce02569035e395106c | mips | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/de41769e043cc2f4d5feb2bb4bf11584270d60b9 | arceb | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/9db6a7e5899cf8e601575b3fd3177b4f984f647d | microblazeel | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/001958a34ff50c20a03131f14597134fff9f14c0 | microblazeel | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/c78f6fc8380b86f934892e8086f402515bc55e72 | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/38df40bd7934beee5b5ea253c788d3dfb1831581 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0b07904d24db7af7c6e0722c9d469cd4c46bd509 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/9e8abfe61393131735c47fa2232579bd2486ff07 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/be8aa474e1dc3615fe88789bcfc80634ad9c20de | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0238bc78d3d3a900125cb7aa78256d3891274f76 | mips | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/c4eead5382cb9452644c7d1992cffac0f2dbc102 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/9c5a7adff58c1cec39ddaef977d382643a0f3d26 | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/8f5c95bd25236aac20bba383232ebd349f13ae5e | ORPH mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/2a724f2bd2a861e34c08cc21ef2be19887f63f5f | mips64el | gnuradio-3.8.2.0 | NOK | http://autobuild.buildroot.net/results/5da049585d9fe7d72b3ff6106d49c7e36843172f | s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/c541a8564f77fac287e8f27e804669b64e08a194 | ORPH microblaze | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/5b4f4fd1f47ca5bf4d9dfde2305bee9367bb7322 | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/78e225e92d90b52e11f577933d582863daf900a4 | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/5d80cc469ae6365bc66c4d00232e07e436d8cf56 | ORPH powerpc | grep-3.7 | NOK | http://autobuild.buildroot.net/results/bf5b86e4c9783dabb724d8b4929633bc5a53e304 | sparc64 | gst1-libav-1.20.1 | NOK | http://autobuild.buildroot.net/results/e050bb456e3e1df1629e8647361ec4e77686c9e7 | ORPH aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/210c88280956722e474d4e6c14b2a98b93bafd67 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8b1ebcb30dbb113b0f1751aa03ed7453e1e44057 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9ab46170e1d4dfb93dbde57ea02afbc298649e7c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1cc624daa2668354bec45659e1259e9e5f92022d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3ef29455afab8b835a4f3e4d9dbc30c0acf6a973 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/349c936eeac7f06a8e408d742a500afa160d7fdf | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9b5d6c90ca9998a5f8c2a99638a21600a108e7f9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/27f7ff5fcffdd0da41e30457e5e89eb655f748c4 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1cfd8fb7343b4419159e4dd2e1ba747fb6dc74aa | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6bd0b6d9102767ca0f9e2bae74fb4f8ca2239995 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/90eddb20e78565d83160f6a51f1a2fac5847a6bf | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3e8ec76cbfd6c1985ee746be0f258e085bd5d465 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/60b542ad2aa3498aaf948415873652e81f377328 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5a63bc6ac4bda69ea0961ed156ca4c2d684b8979 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/50c544a3702b8af9ec9167e92ae1c7f50777ecbf | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1cd58e80366275e744eb05af6185c0e2359ad321 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e7997cf9ebe493c12d14a58a80975f984c5e66d9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d971b14ec6bfbfa71dc97795de0521e90c51654b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/84a4b2b437ced6fb82560caeb77049f079ece399 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/420791d5cca86daa405e53baafdf6cce1d7e8117 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fae4fa853412148bfa3127682b9ef196dc26863e | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/73a4155915e5b5775511369b74c23879c6747309 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5efd0dfdd8581792acd34509f1bdf4ace7ccc564 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c8d8e220fd109429ecd4a9d9b61c86fefef2ab8e | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0bbcb4f013e5171a424c1dc43fbc86b84dad0d3c | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/791dcd289f5086761ddb03cdfc377ff384fe57d6 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f749ed64a248c850f81eb6e0864728c323ec1b1a | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7a9c52eca1c4426371b27498fed5e4450087eea6 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6ee574c921cc5dc545d5bb84ca1f09a798aa8251 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/00c93226f030030e113a8e7706ad6a68ed0eef5f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/03d287f34e9c59c74c308a19662442f274fa2577 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c694a4c80eba6c594762537af9ffa00031b11b92 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9d881a8c949b714284d15808b4e0caf3ec55fc14 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/da1e7fe7359a02add7602b520ab69f03b6b6e5d3 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/618119001cf8e935834ea6dcccbd1ca92598586b | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/529f8d2712606266f83ff2426822890ec39ab430 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0179b2dc0086a5ff743722101652bf9dd4a8382b | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a3eb1ff6bf6357242ec7993db63e57d4afeccc7b | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a966dfd529d142cba69e6c9d44582cfabb8da97a | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/55b645f7c45cb3420d887539b63762d04234a411 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/698e27a7687787f782829044ff8eb2ab3a56b7f0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/dd94182b55772853da70a630d58d010eb35d188c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2cc3461adc924c3c52c4e124685fc0b32b43c11b | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9514d7fe091e0e6f456117470df32615824e9598 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ed24bad39fb21a264b147cb122ed9c04b6babd8a | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/af47a32403a5ec459c146ec5a7506679bd82bd7f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/84aa18734eeed7629ea219b6b14b5493a613a1a2 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7b2db2198cfde256e67488099c5752cc244c90a9 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/33277d4687ca9a04dbfb02c50e5755ff9e55b0b4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b9f71efdd8a012ad91a01c9f74a0407beaa70ee4 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b57e36fba364b94bc0a0d6061a968dcf54ca1377 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c6eeafb71693645f027f17089a22e4bebc22f7bf | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/56dcb95c1985501807c641e9050a3f65350fdced | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ad6c7f7db7567cbb17b5ca3ac0271b04144a45ba | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/611fb2f6466e7a47331f74d72ea95d3abfe44ea3 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/556eeedf751624b96b375ae1248888c5f9f594dd | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/bb24806298c253d7ca545115baa1ff86b1a71f8b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/b4b5dc8bf87608767a5bad24a90d5bddd0483ff8 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/3433734670f11185b6ed205883941efb3ce67799 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/21c9a866613cfa3eb14eeb10d934d05b5e4d9a36 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/109728ab260ea199b32682a3f2fd762a78e75482 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/3884d291a9860a24d88ca576efc26ea0d8ab0d71 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/654b17831723207ab54a67b773b90d9381db0092 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/288c0231abec556d77f088041d02d9c01ea11709 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c749b6f26a2602b70b07ccc1ae5718a8269476ae | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/fbe4fc86c16c0d25bc4d588b8fe044da9e9c0f0e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/daa609233600e8fb17c9cbbfa59a832ed8f50863 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/7964b2b1666bf8c92ff6bdb0237f99392e51f61a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2f02cd854a61b08873138dc123208d82922e4c8e | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fcf5b279d732d85bb6390e736b5a6d084f54ce7a | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/26cabe81cf46d914407a48357d2575563540991b | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5e79ca906f3025ec5f4e6337a8d0c3b617596c76 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0cae7bd06a5a5538e54bff66acc73d2f1d097c7c | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ae13bb91e93c73ea66a599919fe35c60c22476fe | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d5fb9d841e950bde5f04404b690644c1828bd3a6 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bae245a41d5035efe01305182d46ca318c27178c | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/40be2e07bc540582812be7ee84880d6cb9610a8d | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f419c24b3be54532c33df91f825b390d997d62fc | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f0d011269342c0e0a48dec531edf82088547ca11 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/71f87d2e924db6ead3309209fa60fed355be3042 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a4d0930bc53fdb745ccb7c4df9e2fe0be0a09f80 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/917592bfdd19d05fba247bacf243f3268cec0af3 | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5194292ed257cd42ae824967166f64891d86d8dc | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/704df976316c03bcb09bde9f04d57c909c0775b2 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/193114418860655d76caca51ff64d2c1b79a29a9 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7982c49d8932695fa8e821728ba231e9569b1a7d | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/36c8392ae02e4b35c07bd304a05f8dde11cd9e37 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3bf10e0d4cb452fe8f9294846839176730c66e23 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/487ce80a1e4956f9f090104c18bb0a9bea4675ec | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bf16198083820becee63676352d64cea1f1cb5e9 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/12f46f2b6dcb50d6716a60b7f10b0ebc042d68ea | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8b8fa231c375f2b18995d7bb0e0568e8535ac090 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/030b5adcde34b74c91e0ccc7322b27d88e80c278 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/579f200e2f35e7558fc5f36a4932b96a31b368a1 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ae92120ca14e6824336b65a9359844926d623c59 | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9b36a0706f08830cb34fba60c12b8ae641430b0b | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ba941a830c02c3fd774d9d10a2f559cbae8cce46 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a60a7703802736ba0ff9c85f462fe8245380b2c5 | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2bc65da4394103b0470896c94babf2cf1f2a2c83 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5bc049260b4f7c4c3fbe48f59ccbf114c24b98c2 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/923646f44d0545635039bc940ae21ec895d33211 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/de2404ff00c0d54d790f726e9ebfda2e62cce5f8 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/6f02166da79bccc4d1e665c52ff956e4b8460f35 | i686 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/50956ef45303077fdde261201567d2b3e15bbda4 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/518d62a68cef5860f4f3a616202f387dddd4f32b | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/28380991621d02fabd1183a5c1b57a955d0aa946 | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/8333836856729655844661c01bc3f39fe7a448a6 | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/1c4d52ddd6c4414a86975e3f41c26bf51c8a115b | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/a22735fe533148409354bf332a0c92db646edcce | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/243cfa9ed036ec1d8d5f9924fe24498f7cf00d05 | arceb | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/6ec9937a54c134bbda8d4286f57861932286342a | i686 | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/63af7ce4e05c9ee580c73d548b28e381d0931e49 | i686 | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/3870c99b794d8bbc724176d4ed1608bb0fc22f51 | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/077f9684806c36ebbbb52a359f6010acb3eedcfc | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/5b0ed35eb393e1ad2de38cc91a706e9ce32b5812 | mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/d818999e9533ccde44acdfcb43cc5fac42325d37 | mips64 | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/f5497008847eb1de8c426bf72775a9d5fb6c7653 | arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/bafbb3daeb89800c171c622f92e8ed41fdcb3d3e | ORPH powerpc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2c927a009275128bf40d34ed8e0d38c6f635ed8b | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/208fb340da4ef6cf89c756bb5e0254da7d14e9fa | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a96c1ccfab64e18ba091e668d3764d72997be938 | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e467e967c7ccd1b352f8a95ce0d60b056325d77b | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a49c7ace1b522f4a3e48c7b64061ca61ba4b2485 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7031a6967694007af490e556926ce1192d943a0f | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e696bb0dc0f1b70d330ceb1ecddac578efdf01af | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/677255c4838f8f9c33b07e519660c51e0f6da644 | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8c266ae6472993ee068c00476422deda2c53f3e9 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/22e7d4ff4bbd69e5a4033de43908a3ce610ed44a | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a19cf858256b8be8c86b1012776102debb700846 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b0dcf40b1aa45210bf910ded614a0bd3a8da86f3 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/03234b78f965e3911301e3a109e2da17ed992716 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/cc7bbd44aab4ce0a88f8289d5dacc69a43da4d63 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3c998c83c8215e2a80ea9675055d10742f8871cf | ORPH i686 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/cd70a14bff375ae90638f661cdb5f2c95fa86c30 | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/4d73240f7760fdfce2c520111890d1431a9e76f9 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2f9621bcc84e15f0fc3e30fa7c8011589e0d614c | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c48f459a9746ea5380f2eb4f600f94349ad5f3de | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c42047633312dc36918e99ff77af3293d1d2a97a | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2bd81ffc0576265104cd4de2d9d6f1c80df33721 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/128acca75d2736cff4ab372ce6ca201b4eb6e825 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/87d5c4a77d212d13193667f7023b7c7a836bddcc | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d0956d758cee49e88a39c3189f46f5117250f6a | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/99d808044ff20735bfea94ca73c0d4a9fc6fc8d0 | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/bc66195507a1796c22078115a4627ca5cd30ef65 | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e6d55ba1e6ba5df9ea070035415df6485f3c692d | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6331b175b5bf8a87e7f3e18f39986914351d9f38 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3d06d7fceaa78b18d0f77be4a3b3afd9c5cd96d2 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/263eba0f80e1a5ac74cc27d9e453aaaddc76d49c | ORPH nds32le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3dd5ef63a6f5276c2004d452c394ce00c594d823 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/de110fa5c288c2e549a2ee1d7b939653b3214684 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a65a61758b5443b43d3c6e8cf5175e82c2a12776 | ORPH x86_64 | i2pd-2.40.0 | NOK | http://autobuild.buildroot.net/results/9e9ee9b3ed4cff7f029e7c5f7ad6633fb96834c9 | microblazeel | i2pd-2.40.0 | NOK | http://autobuild.buildroot.net/results/c3d2a066429d5f2889c2232d62e5950eb6a89311 | sparc | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/09a327ff843693ce416754b5461c353720a7baa7 | x86_64 | intel-gmmlib-22.1.2 | NOK | http://autobuild.buildroot.net/results/8cadfee0288a05676868e05d56243d866cbf051d | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/bcabecb18c476c79d554200cc86d6bf34753c8d2 | microblaze | lftp-4.9.2 | NOK | http://autobuild.buildroot.net/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/6423ecc462088b4bfd8433e43912610eee035a4d | mips64el | libcpprestsdk-2.10.18 | NOK | http://autobuild.buildroot.net/results/974641a8a63a8ae5ccb294510f16470243e0b380 | ORPH powerpc | libeastl-45469730d641868ce0... | NOK | http://autobuild.buildroot.net/results/d8d64cd1e8dc7534813699094e70c1315af961d3 | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/a422468c9f7af049279090cfc3ff72908dde9701 | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/e105210b21d2a711c42160e06d23c57502be48bb | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/de8b33cff78f26f0ef47f44e63c24cafa22626e1 | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/e6239bfa9a990f46bcae1fa6504bee11ae861aa9 | s390x | libkcapi-1.1.5 | NOK | http://autobuild.buildroot.net/results/f845aa6edde3a19dac6f098082c5286c96b57d04 | ORPH sparc | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/336e19c798ac6c59813caa1177ba2a2712ede4b3 | mips | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/ed5320fddda88ff5e20d1f68e35101897b4bc351 | powerpc64 | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/62000289ecfb9c6f26339dd82e1fc6102c1600e9 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/95ad3d07ea9f0bb3d631c7a2ff9e12c03fd94eca | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3953b8955baa9d73fbb59c0a159b8ecd790bfa21 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9a5e2dc0de7e381dea9b26fb7c686da1e8297bfa | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/d8475273b22a754078fc7545d4bcec4bb3b7f35e | riscv64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/58f895b4c881084cef14b7a6bc86c47104c5d980 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/323595a62e7c00378fdfd8990219b82f00300019 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/f6d97a4a9334edd37c86e78fcea86c377360a035 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/ae634eb05950fd0331f2f290e0a5774147c53cec | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/8799124595cf1d437218d717a0e8ca7f25350442 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e05957eb42ddbdc164bafe9017a3df087e8c26d2 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/580cecdc5bbfcb3d32fa66dd36792748c5524c5c | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/679a3ebdb47255bc2ed318ffce383eff6948374b | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cb869b8b26bad5cb4efc3d3740d8cb010bb94a5d | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/68e148c42433999945e6c77b1ef2d5326cd5851c | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6ec74e38208fc1ae3a06ddb76a072ea2eaf13298 | microblaze | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/9de1ffb8d0425c36b282318ddb5ed86d5c45846e | ORPH powerpc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/7b345a725003a7658e2cd97d62ace1ac2dd9f178 | ORPH i686 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/7beecd42792e0ede4fc219da43864231c1e62c58 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/8ded544d2025abcf2abc206118ddd309340c6a12 | ORPH sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/8ad8ff75208a4fe0bfd2cc6e53323ad89adffb17 | ORPH powerpc | libsigsegv-2.13 | NOK | http://autobuild.buildroot.net/results/deb030023688166ea8fec4627f42537e39e09868 | m68k | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/15b908b6012360173b11b2e53fd106bdaa8554c1 | mips64 | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/5999bf0d4aec8485976e6418d9992c31d54c8622 | m68k | liburing-2.1 | NOK | http://autobuild.buildroot.net/results/7623b1b771d4a80dbb43ccf33b4f3191f6b1fdcf | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/277e23cfcc8898abd7222f5e4a2b94087f31cf95 | powerpc64 | linux-5.10.104-cip3-rt3 | NOK | http://autobuild.buildroot.net/results/118c5820aac3f655e99ecf453affa19991c96521 | ORPH m68k | linux-5.10.104-cip3-rt3 | NOK | http://autobuild.buildroot.net/results/6212ebbfa8a6e584163cb26c6ff01673360c0aa7 | ORPH mips64el | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/b0027bf993d50330058235fff97e7e4a6f9511f3 | ORPH mipsel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/d93ec18a5dde5aa2e991b8f5d9f6e5048cd76b07 | ORPH mips64 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/1b28a5a5895d1a50b87fa0379b2152e9b1d8aba5 | ORPH mipsel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/ebc3344922eee382b7af8a847d44d22e3d9a475f | ORPH mips64el | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/5713c53edd13d779dd90f7f47e4787b11431bca6 | ORPH arceb | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/f512b1a1f0c38a4425af1ea84b32321ce6bb4c42 | ORPH powerpc64le | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/169073983f632f41ae59ecdc8fb19ee401d03a6e | ORPH mips64el | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/795ad413abc3ab1bc91301dbacba19190a02451b | ORPH mipsel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/f72198a7a859659d1e8ed91c1639ddc20668a9a3 | ORPH m68k | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/002699b7065704f46f220d89c9f93a53fe41f47e | ORPH or1k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/12a90789a4b1895091d542bc74ae7415a74e843b | ORPH xtensa | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/e1f3b8f904453b8cdd3d71de9e40a5f4bf1fc554 | ORPH m68k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/51c66c2b921bf3c675b0e4a0ce49908b9517369f | ORPH sh4a | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/c163d05fc396bd266fa364f51e50a484ab3f82ef | ORPH arceb | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/9af8a8d58e4c8620426ac69a8b8fc30483fb99e7 | ORPH sparc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/809ff9fb16e6c4f0a51657e8a72600c790f44c10 | ORPH x86_64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/9ce97eb10a6a5f8bc52a9d7fe6072d00f7de0a3f | ORPH microblaze | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/11673456dca26fb192d65b765d349afdf588bced | ORPH riscv64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/898982b56c96fe55d7996668f0c4f1a3d1322896 | ORPH mipsel | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/d0a67650718ebc6d04c1f0d5d672395d30f38c4f | ORPH mipsel | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/e6a3f15f7b49cfa3e2e47d4edebceb6aac58add9 | ORPH arceb | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/07d13ddedca2faea0fcf92bf08fa8cc84b8d7211 | ORPH sparc | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/02b8d746653dcd6a8989a06b65860e6cc28a3417 | ORPH mipsel | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/130cf8fb1d48b574eb537c29cda338e8fb679019 | ORPH i686 | lttng-babeltrace-1.5.7 | NOK | http://autobuild.buildroot.net/results/1cb7463e8940842a566d18a9d7666a07a9c910ba | s390x | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/306a264bad4996eaf2cac1011caa31752a3f04bf | mips | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/decc72155d93ae686740ef762d34bc371320e934 | x86_64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/6631b5807b78321b8c747a5f3b1f2a2ef3f54088 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/1197576ed49fe67717e9d1b808dffbf2b4becfdd | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/56a6e8c4694424c0520ee18b4889ce43419d1f62 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/04893bbdf920bd91c174ffa7c73a2f76fcb3d027 | mips | netdata-1.21.1 | NOK | http://autobuild.buildroot.net/results/2340f62a08dd45cd263df402504ba45f677f7b62 | mipsel | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/030138f6f7cdd67e4fb3e5da06147e62e1fde4d0 | mips | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/4fac1f499cd6aae46687c1dd97781f41ab9067af | sparc | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/e4b55c5cd9ab5f0554e2d82802b4d690b8d27310 | sparc64 | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/0bbb2cc4485318c04c8715bf6e534e60a0fec7b0 | ORPH riscv64 | opensbi | NOK | http://autobuild.buildroot.net/results/49557dbb9a99293f02f00536542e005692045e88 | riscv64 | opensbi-0.9 | NOK | http://autobuild.buildroot.net/results/259ddfda957c9c88f51166fe1c829d06fae6c20a | armeb | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/3c08775308182799829a3cbe1d0670dc8e595584 | ORPH xtensa | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/2586afca0490314c68dff6bb4944a8e59f7605b7 | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/02d71b06ecb8fbf8a884e5a1903f1c1103f10a38 | arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/caaa60c405bf01ef17961ef739353d58b0b37fed | mips | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/50657f78230d2fc7d0093107a76fbef193cab240 | mips64el | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/06abd3387e7c2581006f420433297b9a8b7a8063 | mipsel | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/82775c5efc964b8a232169d3f908b76e30c33345 | or1k | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/d3a64d7b9ceb0165d7f372fb488b76fb179f88d7 | i686 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/200052b1c7546fc78de308c8619b515a1c0b9399 | mipsel | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/5c8eb91a16bcf65630489203145d206e8152af97 | powerpc64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/9c8872fdfea8c81d394b04c641f9195b192e921c | sparc64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/5301f2f9ad11dc6221e371bf56b09b2cff88e1c8 | arm | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/982f233c46768a43f7454bbb7edf570c7ef5a824 | microblazeel | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/9823f9e8db9ed8a47d5a1ffb777c2fe3050ce3f6 | ORPH powerpc | pure-ftpd-1.0.50 | NOK | http://autobuild.buildroot.net/results/f5d36180949278510199aa499e253780558c6ffe | sparc | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/d19c98f6a0ef6573e015e66c27cc1682a290e62e | riscv32 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/259e9f2a96453577af97a46e2d4d7f052fb53a18 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/5bd06867929f89ca07c60cf80ce26e47918f967d | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/b9bc4d8075480f837ef5bbc60e35f39fc3e21c95 | s390x | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/a4fae4a947c7f51edeb3a2ee0e0ae6468804e84e | mips64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d4060ced883760c245ab5e75dcb960c518ffdac7 | mipsel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/cb4bc421ee175da059ebae149cce146245a4b964 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/f95aaa85e419b8b87444022b6ed57f25df689a40 | mips64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/2a390c9de45c7a33bc37454bb81fbf317b23969b | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/e9637da4e50404ff7d894a8702e74b78bb899b09 | sparc | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/ca818df04342395eabc0654b70fa7a6c9d045733 | microblaze | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/7bb1f4c1a0d2c09ac0946d7c0df7574781add20d | arceb | reaver-1.6.6 | NOK | http://autobuild.buildroot.net/results/fbb5c53f0c780a2a57dc5a7a8160d458e5cabef1 | m68k | refpolicy | NOK | http://autobuild.buildroot.net/results/947a89667c537ee4c30df2d21d47d25471329e14 | aarch64 | refpolicy | NOK | http://autobuild.buildroot.net/results/a107a560b5dcb26b159b9cfdd3502a208d0c680b | microblazeel | refpolicy | NOK | http://autobuild.buildroot.net/results/9b9e4a8c23791042dc7e4e672db3d52493edff78 | powerpc64 | refpolicy | NOK | http://autobuild.buildroot.net/results/38fe6a4689df0bf3287355fbbca272ed84f855d7 | microblazeel | refpolicy | NOK | http://autobuild.buildroot.net/results/3f97e9fb0795ea9113597e60d01f426e281308eb | mips64el | refpolicy | NOK | http://autobuild.buildroot.net/results/c28b679745cb3c7b45da74d0539b4d44c0c0d4de | mipsel | rtl8189es-2c8d44ae26485052f... | NOK | http://autobuild.buildroot.net/results/3ce8f96e7e83812f137fb96daac399070467edef | riscv32 | rtl8189es-2c8d44ae26485052f... | NOK | http://autobuild.buildroot.net/results/8c0cb4d79dc10cb67b976834b481d2e0457c1b7a | sparc | rtl8723bs-11ab92d8ccd71c80f... | NOK | http://autobuild.buildroot.net/results/79714e561b3bec8e15997a7170a427211efb1b87 | s390x | rtl8723bu-19b4bdc05483a1e79... | NOK | http://autobuild.buildroot.net/results/74a6fa2346d599db7a3edde97785038cefc0b10d | sparc64 | snort-2.9.19 | NOK | http://autobuild.buildroot.net/results/47c0c8aabd81c5862b9ee6f2c8426ccf7f64f5c5 | x86_64 | spice-0.15.0 | NOK | http://autobuild.buildroot.net/results/4e0dc43c28d45176cccf573fb56ea9690192f754 | microblaze | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/b11a989b1d52bef0028745734dee9e32bd0d5425 | mips64 | systemd-250.4 | NOK | http://autobuild.buildroot.net/results/47f31b36f123c4be4661f4fde2d1f7385c5d0ed5 | i586 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/feccb2c4954b6271546fdd77804b2db46d57d09c | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/359e6733f5f82661136b9b50c2854ff184547f02 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/bc837b16b43abdd7fe76f09fad985adc40d76c62 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/e714eed164701e7b524fb5fcf78f22181114ba2d | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/b3052706ecb6363c0a6507dae74673e8e77b4011 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/b3294cf8cb0933d5119149868f041902dac74e7d | s390x | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/4816bd6f5673197dbaa067bf89d0ddeb6e0fa837 | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/f45d15633725426ba5a0f96e6d09969a739ea2e6 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/fcd7480eae9eb4c10a38b276ab24288ee1ab754c | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/b000f1c604e3b7f9da0040013be983bd935bcbf1 | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d5bd689052920f4c84a4efa16e43b1b86714e0e8 | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d61167e7b91741cd368f8479103eda0624f7a8e7 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/b9a5d8efb33829103123bc88f833cf86af49442f | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/16422e720911c8f6b5c60ca18e022a5d0e4df8d5 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/567f4cd00d30d8b1a06596ff3b2d974ca9e3ca47 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/7a7bfc995512c54d43bf8fd023190c0fb4eced56 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/bc86754ff5f2306d0601fe376b9002a3a2d6755d | ORPH microblaze | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/95663b63061cec4834061bd0e9ae11886ffddf76 | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/31f012ea82a4265ed9e8bf4f58e6f6dedc9e7b13 | ORPH mips | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/fe84e7c663df8476739956e2ef2031a66f4e4eb6 | ORPH nds32le | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/cb18f6533806f3729f9718bdcc719384be375b66 | mips | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/10a855c441b8d5b37879036c6bc1c77b6c2cfd9b | microblazeel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/e0eaef44d81bfd9451ecece50f29090a876886a3 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7888d68e0795c9e7ac8881b5bc1ad3f7a985ff57 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/480b95fd3f1e8a8089635b8f33d4ab6f3ba31f28 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/2558985915188fa074942e8784bfd47df17d5556 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ddb370c413f1544e3f1a23b9a3ed29029bf81bd5 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/d03f1c76a97b05599788c15f83e883468161e509 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7e164cf2eb93658bcb5bc33abfc72cd5ebc19522 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cdca62d2a2d096ec79c25ac5792575a77de09806 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/15715d4977f4bd78f6d702dae4f83a9494d9d393 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0a19afe5dfa48682d7984f62a11611a191ff7128 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/49209398871ef7578816a5d2193992367e3e14d1 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a70907fb62ad8a4b4ecd2ee418eab2598d70c595 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/47af6e548a222ce4053fa50bf05d634040462bb4 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c5df50639167f1996cad4488a78732870fea12fd | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f7f34fb9135dd1c176a5582b0db30554cebce765 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/13b3db1da451a98a3cf5a66936b531db3eb7cee0 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b83efdd5b9de644941af1cd3a618186afe7472ed | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/4c9cb8b40faff26350f3897f85c8e85a21c404ab | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/239e9d2e3036b44f4086a2eacf90ae8c0a262afe | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/962033cd50f34752b63179651346770968d968e3 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c51bab11c28e40645798a90f78ece35c0be06d48 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/31c6f41ab4aa6d4adebf791459aee1c3f6eb598d | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b5a3a45213a1af20d1370cb4e934068757eb2b24 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a1c50ea7fe96141bd1ace4f8841faaacf2e7bc49 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/53cc2afc3b60c033f3162aa319c3ec4ebb97e5b0 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0dc7574362b9d50a7e717f63af9a453d80b60b87 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1614ad4291f02e8c28e7acabc6dea2763672f0d4 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/78ddb225fab10c7a5814b6b8ec44088f4aac8ce5 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ae0b660aa480626abe1b6370ea25934b959ac015 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/02ce10be87ec96570f0e05a2deed83663bf29c0b | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/65ffa8d02cc1f7670086f753e10a967ac09d8e6f | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/7d1b0f003a92ebc1ef2d44aa6e417d38dc2eebde | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/8eda5ffb99670bbb2bcd1ee33d782e4171734d39 | arc | unknown | NOK | http://autobuild.buildroot.net/results/f204b722de2d389ce610aa8c6a6376e688c171b8 | powerpc64le | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d8369104e539789ce28b571ceba9a00839dd396 | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d02865333e2e35c32ca924b3b03cafa29694b4d3 | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/86c506d496980e0bd293f80ebc77301c81af3224 | ORPH sparc | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/480030468be1c70d8b5fd333632efe6bace508fd | ORPH powerpc64le | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/044a2ddba2ac9b3570df19a121c50345ffc5e9b1 | ORPH microblazeel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6e7b650db8ee5306ee4ff985b7cb783d5359dccb | ORPH arm | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/63e6c30e8eedac32ed5964a7035874a2565f2364 | ORPH sparc64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/19ea83cec987c6fcb86f36b540e07e0290e44c9c | nios2 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/d00da0cbeff8cb8468344d1401be7ecc6a2578ef | aarch64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/24f5e749eab63683eecd6df8cabaabb72548868b | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/ad4710acb762d65bd3c7fc03e43d07f76c64718e | microblaze | xenomai-custom | NOK | http://autobuild.buildroot.net/results/e2d8742df0f1968039728adcd16c347cae1c0509 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/5354257265e108d061d6738d9623b7df7250918b | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1290cdd87ba860f63497142f90486d5c470b625c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/3598d054519ce794c05ca8c7318af903498f49d9 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/226c3ecf28413fd187a5b076a881ec27bf10e7fa | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/45499dcfcdaaf5832b98726d67996b181bc3ff6f | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e1bfef473004cb7ad42fc9fec15da13c19ff342b | ORPH microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/ae129206a20d14d427bed0b5fbf344919d2336b4 | Classification of failures by reason for 2021.02.x -------------------------------------------------- monkey-f54856ce250c4e257354... | 3 host-sentry-cli-1.57.0 | 2 binutils-arc-2020.09-release | 1 mesa3d-20.3.5 | 1 trousers-0.3.15 | 1 unknown | 1 xvisor-0.3.0 | 1 zeromq-4.3.4 | 1 Detail of failures for 2021.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/2691b5b5bd1debea985890e130a85f5aec62933b | nios2 | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/68603ee7cef2ce4cf9c44e549ce46ba8e144e26d | aarch64 | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/cf6a258608ca4d43bc61e775af7450f60eae6ac3 | mips | mesa3d-20.3.5 | NOK | http://autobuild.buildroot.net/results/99802e54540dff932ce893b6eb8c2207fe32d490 | powerpc | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/00294fbfb5d408fe1b4ba5f05247cc2b46993d3e | x86_64 | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/106421ea13612acc3bdc5ac0a99b8e2c7539354d | aarch64 | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/a34c9b6ec71d1817aca346dc3a1d470db3114aa7 | riscv32 | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/b1626119cd3aea413802380edcec045223b6a17a | riscv32 | unknown | TIM | http://autobuild.buildroot.net/results/dce7be02b848c29f6d1ac769fa2abbdf33be01c5 | x86_64 | xvisor-0.3.0 | NOK | http://autobuild.buildroot.net/results/c0b86dd4deba394ab973ea68bcb3998c8b7ab9dd | or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/b0c815b615c45481538e7a5638686b12b5e7dffa | Classification of failures by reason for 2022.02.x -------------------------------------------------- dhcp-4.4.2-P1 | 2 mongodb | 2 wavemon-0.9.4 | 2 bat-0.19.0 | 1 exempi-2.6.1 | 1 nginx-1.20.1 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/451ed4ab22be21be767223dc2c0abb57228751ac | x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/028cb42cfba28e7979d2b685fc6b57df7cb1d055 | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4d51589f57fc59969ad0c694b889f8ac2de3b82e | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/822fa3536fc152a2c4b60d826af5503a0e97714a | aarch64 | mongodb | TIM | http://autobuild.buildroot.net/results/b6258178abc00a9f7fdfd85d41267a670bf22854 | aarch64 | mongodb | TIM | http://autobuild.buildroot.net/results/7151095b1102ec75bd0100afcd25716ed3441384 | riscv32 | nginx-1.20.1 | NOK | http://autobuild.buildroot.net/results/58d7c80a20e8d7318a7347b95124610740fbed8d | aarch64 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/5850566469bd1e99c01fd984dc0742650fd9e7f8 | arc | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/e5ffa0a39f654a98dda55fedb77ca4b82e4eadbb | arc | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/1ea9c2e43dd3a73ce11cdef3665d4693f2377d73 | -- http://autobuild.buildroot.net From francois.perrad at gadz.org Thu Apr 7 05:43:48 2022 From: francois.perrad at gadz.org (=?UTF-8?Q?Fran=C3=A7ois_Perrad?=) Date: Thu, 7 Apr 2022 07:43:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libressl: bump to version 3.5.1 In-Reply-To: <20220406194148.39490-1-fontaine.fabrice@gmail.com> References: <20220406194148.39490-1-fontaine.fabrice@gmail.com> Message-ID: This version 3.5.1 (like 3.5.0, 3.4.0) is a development release, not a stable release. Fran?ois Le mer. 6 avr. 2022 ? 21:43, Fabrice Fontaine a ?crit : > This bump will fix the following build failure with pure-ftpd thanks to > > https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8 > : > > tls.c: In function 'tls_init_options': > tls.c:329:5: warning: implicit declaration of function > 'SSL_CTX_set_num_tickets'; did you mean 'SSL_CTX_set_options'? > [-Wimplicit-function-declaration] > SSL_CTX_set_num_tickets(tls_ctx, 0); > ^~~~~~~~~~~~~~~~~~~~~~~ > SSL_CTX_set_options > > https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt > https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.1-relnotes.txt > > Fixes: > - > http://autobuild.buildroot.org/results/f5d36180949278510199aa499e253780558c6ffe > > Signed-off-by: Fabrice Fontaine > --- > package/libressl/libressl.hash | 2 +- > package/libressl/libressl.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libressl/libressl.hash > b/package/libressl/libressl.hash > index e923998713..5474d8e537 100644 > --- a/package/libressl/libressl.hash > +++ b/package/libressl/libressl.hash > @@ -1,4 +1,4 @@ > # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 > -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d > libressl-3.4.3.tar.gz > +sha256 a7d0026f67622275ec8f8239ded422a653d5ccc84df55dea2acd406017185608 > libressl-3.5.1.tar.gz > # Locally computed > sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 > COPYING > diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk > index 0bb468cedb..81b0163b93 100644 > --- a/package/libressl/libressl.mk > +++ b/package/libressl/libressl.mk > @@ -4,7 +4,7 @@ > # > > ################################################################################ > > -LIBRESSL_VERSION = 3.4.3 > +LIBRESSL_VERSION = 3.5.1 > LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL > LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original > OpenSSL code) > LIBRESSL_LICENSE_FILES = COPYING > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at korsgaard.com Thu Apr 7 08:33:31 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 10:33:31 +0200 Subject: [Buildroot] [git commit] Update for 2021.02.12 Message-ID: <20220407082723.7A6BF836B9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=19e12a006470c41b8ea9d67642fd17f26373c4a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard (cherry picked from commit ef68ba43d965528bd5c622407dfb9a5e3b343493) [Peter: drop Makefile/Vagrantfile change] Signed-off-by: Peter Korsgaard --- CHANGES | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGES b/CHANGES index 370f89aa6f..e37c6d0fe7 100644 --- a/CHANGES +++ b/CHANGES @@ -803,6 +803,17 @@ #13751: libopenssl (static): huge drop in performance in newer .. #13771: package htop has undeclared dependency on host python +2021.02.12, released April 6th, 2022 + + Important / security related fixes. + + pkg-stats: Limit memory use for CPE matching + + Updated/fixed packages: gdk-pixbuf, jack2, libzlib, matio, + nbd, netatalk, opus, python-paramiko, python-treq, + python-twisted, spidev_test, unbound, urandom-scripts, vim, + wireshark, zlib-ng, zziplib + 2021.02.11, released March 25th, 2022 Important / security related fixes. From peter at korsgaard.com Thu Apr 7 08:36:27 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 10:36:27 +0200 Subject: [Buildroot] [git commit] docs/website: update for 2021.02.12 Message-ID: <20220407082723.85DAB836E3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e2eb6ed72c54ae88028add934d19d9139ce0ed1e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- docs/website/news.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/website/news.html b/docs/website/news.html index 4e153aebb0..8f9f7d7fb3 100644 --- a/docs/website/news.html +++ b/docs/website/news.html @@ -9,6 +9,28 @@

News

    +
  • +
    +
    +
    +

    2021.02.12 released, 2021.02.x series EOL

    +

    6 April 2022

    +
    +
    +

    The 2021.02.12 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.12 release.

    + +

    Notice that the 2021.02.x series is now end of life. Please migrate to + the 2022.02 series instead which will be supported until April 2023.

    +
    +
    +
  • +
  • From nicolas.tran at smile.fr Thu Apr 7 11:59:51 2022 From: nicolas.tran at smile.fr (Nicolas Tran) Date: Thu, 7 Apr 2022 13:59:51 +0200 Subject: [Buildroot] [PATCH 0/1] First contribution to Buildroot Message-ID: <20220407115952.56219-1-nicolas.tran@smile.fr> Link to Rust 1.59.0: https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html We modified packages implying rustc 1.59.0: package/rust-bin package/rust We have retrieved the source archives and replaced the hash value of each file after having verified the signature of the .asc files as follows: $ curl -fsSL https://static.rust-lang.org/rust-key.gpg.ascii | gpg --import $ gpg --verify The signatures were recognized but we cannot ensure their ownership. Therefore, we considered trusting the corresponding key by blindly signing it: $ gpg --lsign-key 85AB96E6FA1BE5FE We verified typos in the packages thanks to the check-pakage utility: $ ./utils/check-package package/rust-bin/* $ ./utils/check-package package/rust/* The testsuite was successfully run to test the Rust toolchain with the new version of the packages in version 1.59.0: $ ./support/testing/run-tests -k -d dl/ -o testsuite/tests.package.test_rust.TestRustBin Nicolas Tran (1): package/{rust, rust-bin}: bump to version 1.59.0 package/rust-bin/rust-bin.hash | 198 ++++++++++++++++----------------- package/rust-bin/rust-bin.mk | 2 +- package/rust/rust.hash | 6 +- package/rust/rust.mk | 2 +- 4 files changed, 104 insertions(+), 104 deletions(-) -- 2.32.0 From nicolas.tran at smile.fr Thu Apr 7 11:59:52 2022 From: nicolas.tran at smile.fr (Nicolas Tran) Date: Thu, 7 Apr 2022 13:59:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: bump to version 1.59.0 In-Reply-To: <20220407115952.56219-1-nicolas.tran@smile.fr> References: <20220407115952.56219-1-nicolas.tran@smile.fr> Message-ID: <20220407115952.56219-2-nicolas.tran@smile.fr> Link to Rust version 1.59.0: https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html Signed-off-by: Nicolas Tran --- package/rust-bin/rust-bin.hash | 198 ++++++++++++++++----------------- package/rust-bin/rust-bin.mk | 2 +- package/rust/rust.hash | 6 +- package/rust/rust.mk | 2 +- 4 files changed, 104 insertions(+), 104 deletions(-) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index 9f8788a295..1aa166c45e 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -1,102 +1,102 @@ -# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc -sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc -sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc -sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc -sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc -sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc -sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc -sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc -sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc -sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc -sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc -sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc -sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc -sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc -sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc -sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc -sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc -sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc -sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc -sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc -sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc -sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc -sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc -sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc -sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc -sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc -sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc -sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc -sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc -sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc -sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc -sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.asc +sha256 b4144c89f9482f3e76ccad09d0a3072c935b7c0abdb9a52edbd641f2e27bb4f0 rust-1.59.0-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 a10c4abcba4891c463612c161246706cd0e8d3ddb1ae75f514d3f02bed235af6 rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 68e50dee4f6dddeab7330906e46022f57f2c004c847eae3f5b1bc82c59e43fc0 rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.asc +sha256 6b8424e9b99da7df3b842b47476fbff4c371414186ae50ca0aff050a532c1d52 rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.asc +sha256 b65ffcf5a4b4e4df3893b6da7182e2f91cd174e59fd26a69110809015635708a rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.asc +sha256 382051a04047463430bfb4d16fe2998fcd00f0945cb99b622e94a7564796846a rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.asc +sha256 f072103ccbd967ccf06c3e4366a56af1f53af89834f02d0151afc144318d9040 rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.asc +sha256 e2f4944fb135c508b0c8dff46caf04eca065e5ee5f5de32494b084c667fd20eb rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.asc +sha256 2b9042ae8d24f5d8ada3d1903e24c2cdcc464e74a506cb72054a680b1e0433bb rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.asc +sha256 1f0726d6b06b7b35de32af45b9f8ac597c89cc5e7236ac6a6dcb91f0412b0e1a rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.asc +sha256 310ce12c01fa15f46b8f9eee4a086c818118dbd56cd8400aee04432ba96061df rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.asc +sha256 3695a3bee47cfe0624f7822243000a4ee552bf920b403b16cc633513e95498bd rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.asc +sha256 6c00582c159524a87b8934a5e4cb513d6032474f9a017bf91697e72885bf70fb rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.asc +sha256 dcf0f1ddc6dc5e32a07789408d0a2637d639e00cf214c349921d06d3f73c7b2c rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.asc +sha256 415a93bc55da0879335a18e55552a111a23bd9d5e70598080071f6346a9b4a0d rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.asc +sha256 a0a644cb14eec96760b870b585b08a3bf2965844754f8b965b39aded5635ab77 rust-std-1.59.0-i586-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.asc +sha256 26e91818a36184998039aeaabbf0972a8610d0d250e4bc03de6f27a7843971b5 rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.asc +sha256 5821c1655adc81bc2a347329eab08b651f3312f2eeb972b0a30d93a5c49502f5 rust-std-1.59.0-i686-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.asc +sha256 05bf10c11ff845f006331ddfdd109e12b1377c156e37eb1bb3bc0402e4219d31 rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.asc +sha256 af5ee07f5d98296435867ef5859ec207c57413bb61b0d656c39b1f451aaeeb38 rust-std-1.59.0-mips-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.asc +sha256 88c6b0dbadfc7bcc2a2eba0f3328ad1ff1714a5a13f07bffe007aecae59fc9b8 rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.asc +sha256 a0533694ed62c9c3f497d94ee51bc9ba08e5f3fb24588e02cf1f1c2efbdb9b43 rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc +sha256 6a3462a10da953546412912d04228a63c5d4086a4768163f1bd5ccf81950090d rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.asc +sha256 606d037a01cc7666594b7973c6a727c69426d85adaf94128dc9914e893ef8ed9 rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 fd747f4ef4cee6fe88692dd6e3c7b986870ce8a24eab8920adacc7ab73fb482d rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.asc +sha256 4622aa633ad2d0decca59aa65b24195431e40162804352f5bdd9bafd92ee7b9d rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 5ead471b53d290960d49a7cec0ba01a082f5e6cfa18825366990d46797dc7161 rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 1217290e951ae84998d2d04a88d154b1da205e2638a3449c02c8e9256bff589c rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 15dee7705967e3351aff11c64ada30c4957b54066c7ee49b87be4b8155bd0a7d rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 74c1f9c94ff4993948c05df2c9c58f76708e6adbacb9b2caca368558dde9590a rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.asc +sha256 6bc109f7ff1f501153cc18eebed9a0cc468eebbfed2cc728047d59456e356f9a rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 c854a9ee3dd8e5be9522c1581f75838c1cbae6dece3934b0004f138c4a5024a3 rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.asc +sha256 473b6ddf598418db49efc21c3d2702cdaf9c78ee4ae00611c7d9e384a2d4dad7 rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz # Locally generated sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk index d4cb8f50ea..b50465f7a6 100644 --- a/package/rust-bin/rust-bin.mk +++ b/package/rust-bin/rust-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUST_BIN_VERSION = 1.58.1 +RUST_BIN_VERSION = 1.59.0 RUST_BIN_SITE = https://static.rust-lang.org/dist RUST_BIN_LICENSE = Apache-2.0 or MIT RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT diff --git a/package/rust/rust.hash b/package/rust/rust.hash index 7eb8f59603..63a5644176 100644 --- a/package/rust/rust.hash +++ b/package/rust/rust.hash @@ -1,6 +1,6 @@ -# From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc -sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz +# From https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.asc +sha256 375996ead731cab2203ec10a66a3c4568ab6997d7e5d3ae597658164fe27be3d rustc-1.59.0-src.tar.xz # Locally generated sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/rust/rust.mk b/package/rust/rust.mk index cd8c87b68d..fd02686082 100644 --- a/package/rust/rust.mk +++ b/package/rust/rust.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUST_VERSION = 1.58.1 +RUST_VERSION = 1.59.0 RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz RUST_SITE = https://static.rust-lang.org/dist RUST_LICENSE = Apache-2.0 or MIT -- 2.32.0 From arnout at mind.be Thu Apr 7 16:39:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 7 Apr 2022 18:39:53 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: References: <20220329205136.32435-1-vincent.stehle@laposte.net> <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> <2646beec-15db-f2e9-5490-0f7fd551857f@mind.be> Message-ID: <06e4e2da-419c-5c33-b086-ad07263e14a4@mind.be> On 06/04/2022 22:00, Vincent Stehl? wrote: > On Mon, Apr 04, 2022 at 10:28:12PM +0200, Arnout Vandecappelle wrote: > .. >> But that actually causes a problem: if udhcpc doesn't keep running the >> background any more, it's not going to refresh its lease, but will keep on >> using its IP address indefinitely. Although this seems to work at first >> hand, it's going to cause some problem somewhere down the line... > > Hi Arnout, > > After your comment at first I thought all the no-MMU buildroot defconfigs were > subtly broken :-S > > I did some investigations and now my understanding is that udhcpc does indeed > daemonize by default in the no-MMU case. See [1]: > > #if !BB_MMU > /* on NOMMU reexec (i.e., background) early */ > if (!(opt & OPT_f)) { > bb_daemonize_or_rexec(0 /* flags */, argv); > logmode = LOGMODE_NONE; > } > #endif > > That behaviour was added in busybox udhcpc while removing the -b option (in > commit [2]). > > Also, this is confirmed on qemu where we can see the udhcpc process running in > the background: > > ~ # ps > PID USER VSZ STAT COMMAND > 1 root 616 S init > ... > 62 root 612 S udhcpc -R -p /var/run/udhcpc.eth0.pid -i eth0 -x hos > >> So we should find a different solution, and we should probably use that in >> the MMU case as well (just to keep things consistent. > > Now I think that we are safe. What is your opinion on this, please? I'll add a summary of this entire explanation and commit it. Regards, Arnout > > Best regards, > Vincent. > > [1]: https://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c#n1352 > [2]: https://git.busybox.net/busybox/commit/?id=21765fa063830923d13426ec6989c16da9210e49 From fontaine.fabrice at gmail.com Thu Apr 7 16:39:47 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 7 Apr 2022 18:39:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: doesn't build with libressl Message-ID: <20220407163947.1024467-1-fontaine.fabrice@gmail.com> systemd doesn't plan to fix the following build failure with libressl (https://github.com/systemd/systemd/issues/14928) and ED25519 support is still not available in libressl (https://github.com/libressl-portable/portable/issues/393 opened for more than 3 years): ../src/home/homed-manager.c: In function ?manager_generate_key_pair?: ../src/home/homed-manager.c:1393:35: error: ?EVP_PKEY_ED25519? undeclared (first use in this function); did you mean ?EVP_PKEY_DSA1?? 1393 | ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_ED25519, NULL); | ^~~~~~~~~~~~~~~~ | EVP_PKEY_DSA1 Fixes: - http://autobuild.buildroot.org/results/47f31b36f123c4be4661f4fde2d1f7385c5d0ed5 Signed-off-by: Fabrice Fontaine --- package/systemd/Config.in | 2 ++ package/systemd/systemd.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index cc0736561e..00c817172d 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -234,6 +234,7 @@ config BR2_PACKAGE_SYSTEMD_HOMED depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # fscrypt_key select BR2_PACKAGE_CRYPTSETUP select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_UTIL_LINUX_LIBFDISK help systemd-homed is a system service that may be used to create, @@ -412,6 +413,7 @@ config BR2_PACKAGE_SYSTEMD_RANDOMSEED config BR2_PACKAGE_SYSTEMD_REPART bool "enable repart support" select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_UTIL_LINUX_LIBFDISK help systemd-repart grows and adds partitions to a partition table, diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 9feed9c084..58a1376b51 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -498,7 +498,7 @@ else SYSTEMD_CONF_OPTS += -Dnss-resolve=false -Dresolve=false endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) SYSTEMD_CONF_OPTS += \ -Dgnutls=false \ -Dopenssl=true \ -- 2.35.1 From fontaine.fabrice at gmail.com Thu Apr 7 16:41:14 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 7 Apr 2022 18:41:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix build with libressl Message-ID: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl: utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' Fixes: - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 Signed-off-by: Fabrice Fontaine --- .../0002-fix-build-with-libressl.patch | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 package/tvheadend/0002-fix-build-with-libressl.patch diff --git a/package/tvheadend/0002-fix-build-with-libressl.patch b/package/tvheadend/0002-fix-build-with-libressl.patch new file mode 100644 index 0000000000..c99dacdbeb --- /dev/null +++ b/package/tvheadend/0002-fix-build-with-libressl.patch @@ -0,0 +1,47 @@ +From ea65f8025a9124cd7353b21f167968bdb897306f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 21:54:25 +0200 +Subject: [PATCH] fix build with libressl + +Fix the following build failure with libressl raised since +https://github.com/tvheadend/tvheadend/commit/e61acb8ad4a3411f4e7acfd8133d222299f6d47e: + +utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' + +Fixes: + - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/ea65f8025a9124cd7353b21f167968bdb897306f] +--- + src/http.c | 2 +- + src/utils.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/http.c b/src/http.c +index 06d5e76172..72a498317c 100644 +--- a/src/http.c ++++ b/src/http.c +@@ -412,7 +412,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content, + http_auth_header(&hdrs, realm, + config.http_auth_algo == HTTP_AUTH_ALGO_SHA256 ? + "SHA-256" : +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + "SHA-512-256", + #else + "SHA-256", +diff --git a/src/utils.c b/src/utils.c +index d8ffe4ad5c..eecb10e116 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&?!defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; -- 2.35.1 From flaniel at linux.microsoft.com Thu Apr 7 18:24:24 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 7 Apr 2022 19:24:24 +0100 Subject: [Buildroot] [RFC PATCH v1 1/2] tbb: new package In-Reply-To: <20220407182425.194001-1-flaniel@linux.microsoft.com> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> Message-ID: <20220407182425.194001-2-flaniel@linux.microsoft.com> From: bradford barr Intel Threading Building Blocks (TBB), is a C++ library to help developers write highly parallelized applications. OpenCV uses it to accelerate some of it's more heavy weight procedures. Signed-off-by: bradford barr Signed-off-by: Francis Laniel --- DEVELOPERS | 1 + package/Config.in | 1 + .../0001-tbb-Enable-cross-compilation.patch | 55 +++++++++++++++++++ package/tbb/Config.in | 16 ++++++ package/tbb/tbb.hash | 2 + package/tbb/tbb.mk | 39 +++++++++++++ 6 files changed, 114 insertions(+) create mode 100644 package/tbb/0001-tbb-Enable-cross-compilation.patch create mode 100644 package/tbb/Config.in create mode 100644 package/tbb/tbb.hash create mode 100644 package/tbb/tbb.mk diff --git a/DEVELOPERS b/DEVELOPERS index a66b9d7eee..ef4ddcab50 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -970,6 +970,7 @@ F: package/odhcploc/ N: Francis Laniel F: package/pahole/ +F: package/tbb/ N: Francisco Gonzalez F: package/ser2net/ diff --git a/package/Config.in b/package/Config.in index 0d5d763180..24f7af5ea8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2044,6 +2044,7 @@ endif source "package/skalibs/Config.in" source "package/sphinxbase/Config.in" source "package/startup-notification/Config.in" + source "package/tbb/Config.in" source "package/tinycbor/Config.in" source "package/tz/Config.in" source "package/tzdata/Config.in" diff --git a/package/tbb/0001-tbb-Enable-cross-compilation.patch b/package/tbb/0001-tbb-Enable-cross-compilation.patch new file mode 100644 index 0000000000..652d59c47b --- /dev/null +++ b/package/tbb/0001-tbb-Enable-cross-compilation.patch @@ -0,0 +1,55 @@ +From 42c3faff14917f687aab405d8f571e352ffdf3f5 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 6 Apr 2022 15:58:02 +0100 +Subject: [PATCH] tbb: Enable cross-compilation. + +This patch replaces hardcoded value for CPLUS and CONLY with $(CXX) and $(CC). +So, by defining CC= it is possible to cross compile this library using a +cross-compiler. + +This patch was originally written by: +Marcin Juszkiewicz +and taken from: +https://github.com/intel/luv-yocto/blob/3b0688bc9a5e8d52b6ca461b15fb4abd3eaaf7a8/meta-oe/recipes-support/tbb/tbb/cross-compile.patch + +Signed-off-by: Francis Laniel +--- + build/linux.clang.inc | 5 +++-- + build/linux.gcc.inc | 5 +++-- + 2 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/build/linux.clang.inc b/build/linux.clang.inc +index 5a459ef5..a0777db5 100644 +--- a/build/linux.clang.inc ++++ b/build/linux.clang.inc +@@ -31,8 +31,9 @@ DYLIB_KEY = -shared + EXPORT_KEY = -Wl,--version-script, + LIBDL = -ldl + +-CPLUS = clang++ +-CONLY = clang ++CPLUS = $(CXX) ++CONLY = $(CC) ++CPLUS_FLAGS = $(CXXFLAGS) + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) + LIBS += -lpthread -lrt + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic +diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc +index 786c4153..30242a82 100644 +--- a/build/linux.gcc.inc ++++ b/build/linux.gcc.inc +@@ -32,8 +32,9 @@ DYLIB_KEY = -shared + EXPORT_KEY = -Wl,--version-script, + LIBDL = -ldl + +-CPLUS = g++ +-CONLY = gcc ++CPLUS = $(CXX) ++CONLY = $(CC) ++CPLUS_FLAGS = $(CXXFLAGS) + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) + LIBS += -lpthread -lrt + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic +-- +2.25.1 + diff --git a/package/tbb/Config.in b/package/tbb/Config.in new file mode 100644 index 0000000000..0f40b74d31 --- /dev/null +++ b/package/tbb/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_TBB + bool "tbb" + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + help + Intel(R) Threading Building Blocks (Intel(R) TBB) lets you + easily write parallel C++ programs that take full advantage + of multicore performance, that are portable, composable and + have future-proof scalability. + + https://www.threadingbuildingblocks.org/ + +comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash new file mode 100644 index 0000000000..e9fb7511b8 --- /dev/null +++ b/package/tbb/tbb.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 tbb-2018_U5.tar.gz diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk new file mode 100644 index 0000000000..cf06579b98 --- /dev/null +++ b/package/tbb/tbb.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# tbb +# +################################################################################ + +TBB_VERSION = 2018_U5 +TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) +TBB_INSTALL_STAGING = YES +TBB_LICENSE = Apache-2.0 +TBB_LICENSE_FILES = LICENSE + +TBB_SO_VERSION = 2 +TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy +TBB_BIN_PATH = $(@D)/build/linux_* + +define TBB_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) arch=$(BR2_ARCH) -C $(@D) +endef + +define TBB_INSTALL_LIBS + $(foreach lib,$(TBB_LIBS), + $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$(TBB_SO_VERSION) \ + $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; + ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so + ) +endef + +define TBB_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/ + cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ + $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) +endef + +define TBB_INSTALL_TARGET_CMDS + $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) +endef + +$(eval $(generic-package)) -- 2.25.1 From flaniel at linux.microsoft.com Thu Apr 7 18:24:23 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 7 Apr 2022 19:24:23 +0100 Subject: [Buildroot] [RFC PATCH v1 0/2] Fix sysdig build errors Message-ID: <20220407182425.194001-1-flaniel@linux.microsoft.com> Hi. First of all, I hope you are fine and the same for your relatives. When building a system with recent kernel with BR2_PACKAGE_SYSDIG, I got some compilation errors when building sysdig libsinsp: .../sysdig-0.23.1/userspace/libsinsp/chisel.cpp:99:30: error: elements of array ?const luaL_reg ll_sysdig []? have incomplete type 99 | const static struct luaL_reg ll_sysdig [] = After that, an error when building modules occurs: .../sysdig-0.23.1/driver/ppm.h:62:18: error: field ?last_print_time? has incomplete type 62 | struct timespec last_print_time; And finally an error during link time occurs: .../sysdig-0.23.1/userspace/libsinsp.a(cri.grpc.pb.cc.o): undefined reference to symbol '_ZN4absl12lts_202103245MutexD1Ev' Concerning the error in libsinsp, a patch was added to sysdig recipe. This patch is based on Minikube patch, which is in turn based on sysdig CMakeLists.txt PATCH_COMMAND [1, 2]. The modules errors were fixed upstream, so I bumped sysdig version to 0.27.1 [3, 4]. For the linking one, a patch already exist to fix this buggy behavior [5]. Sysdig 0.27.1 relies on tbb, so a recipe for this library was added. Note that, this recipe was originally written by Bradford Barr and I just bumped its version to suit sysdig case [6]. With the two patches applied, I was able to build and boot an image within qemu: $ make qemu_x86_64_defconfig $ make menuconfig # Set glibc as library, enable c++, enable luajit and enable sysdig. $ make linux-menuconfig # Enable FTRACE $ make -j$(nproc) ... $ bash start-qemu.sh ... Welcome to Buildroot buildroot login: root # insmod /lib/modules/5.15.18/extra/sysdig-probe.ko sysdig_probe: loading out-of-tree module taints kernel. sysdig_probe: driver loading, sysdig-probe 0.1.1dev # sysdig --version sysdig version 0.1.1dev If you see any way to improve this contribution, feel free to share it! Francis Laniel (1): package/sysdig: bump version to 0.27.1. bradford barr (1): tbb: new package DEVELOPERS | 1 + package/Config.in | 1 + ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 +++++++++++++++++++ ...gainst-libabseil-cpp-which-grpc-uses.patch | 45 ++++++++++ package/sysdig/Config.in | 5 ++ package/sysdig/sysdig.hash | 1 + package/sysdig/sysdig.mk | 7 +- .../0001-tbb-Enable-cross-compilation.patch | 55 +++++++++++++ package/tbb/Config.in | 16 ++++ package/tbb/tbb.hash | 2 + package/tbb/tbb.mk | 39 +++++++++ 11 files changed, 253 insertions(+), 1 deletion(-) create mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch create mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch create mode 100644 package/tbb/0001-tbb-Enable-cross-compilation.patch create mode 100644 package/tbb/Config.in create mode 100644 package/tbb/tbb.hash create mode 100644 package/tbb/tbb.mk Best regards and thank you in advance for your reviews. P.S.: If you are interested, this bug was spotted while trying to bump Minikube kernel to 5.10.57 [7]. --- [1] https://github.com/kubernetes/minikube/commit/f036c279bc598cf59affb0fc538c017d83afb7ab [2] https://github.com/draios/sysdig/commit/a064440394c93a7579dc6e1db13c8378d5eecd6f [3] https://github.com/draios/sysdig/commit/938986890291c126f9b8f3a050bc3edc95fb6f5a [4] https://github.com/draios/sysdig/commit/2691cbc66c7faa973333d65a69909be06be21c18 [5] https://github.com/hhoffstaette/portage/blob/8d047247719a15c5a63001f65ba348514706277d/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch [6] https://patchwork.ozlabs.org/project/buildroot/patch/20170928235043.31891-2-bradford at density.io/ [7] https://github.com/kubernetes/minikube/pull/12707 -- 2.25.1 From flaniel at linux.microsoft.com Thu Apr 7 18:24:25 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 7 Apr 2022 19:24:25 +0100 Subject: [Buildroot] [RFC PATCH v1 2/2] package/sysdig: bump version to 0.27.1. In-Reply-To: <20220407182425.194001-1-flaniel@linux.microsoft.com> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> Message-ID: <20220407182425.194001-3-flaniel@linux.microsoft.com> 0.23.1 has compilation errors with recent kernels. Signed-off-by: Francis Laniel --- ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 +++++++++++++++++++ ...gainst-libabseil-cpp-which-grpc-uses.patch | 45 ++++++++++ package/sysdig/Config.in | 5 ++ package/sysdig/sysdig.hash | 1 + package/sysdig/sysdig.mk | 7 +- 5 files changed, 139 insertions(+), 1 deletion(-) create mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch create mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch new file mode 100644 index 0000000000..7873210281 --- /dev/null +++ b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch @@ -0,0 +1,82 @@ +From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 6 Apr 2022 16:54:37 +0100 +Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. + +Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and +luaL_Reg. +So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function +call as well. +Note that, this PATCH_COMMAND was added in sysdig in: +a064440394c9 ("Adding power support to Travis builds (#1566)") + +This patch is also present in kubernetes/minikube in: +f036c279bc59 ("Add patch for compiling sysdig with system luajit") + +Signed-off-by: Francis Laniel +--- + userspace/libsinsp/chisel.cpp | 6 +++--- + userspace/libsinsp/lua_parser.cpp | 2 +- + userspace/libsinsp/lua_parser_api.cpp | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp +index 0a6e3cf8..0c2e255a 100644 +--- a/userspace/libsinsp/chisel.cpp ++++ b/userspace/libsinsp/chisel.cpp +@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) + // Lua callbacks + /////////////////////////////////////////////////////////////////////////////// + #ifdef HAS_LUA_CHISELS +-const static struct luaL_reg ll_sysdig [] = ++const static struct luaL_Reg ll_sysdig [] = + { + {"set_filter", &lua_cbacks::set_global_filter}, + {"set_snaplen", &lua_cbacks::set_snaplen}, +@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = + {NULL,NULL} + }; + +-const static struct luaL_reg ll_chisel [] = ++const static struct luaL_Reg ll_chisel [] = + { + {"request_field", &lua_cbacks::request_field}, + {"set_filter", &lua_cbacks::set_filter}, +@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = + {NULL,NULL} + }; + +-const static struct luaL_reg ll_evt [] = ++const static struct luaL_Reg ll_evt [] = + { + {"field", &lua_cbacks::field}, + {"get_num", &lua_cbacks::get_num}, +diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp +index 0e26617d..78810d96 100644 +--- a/userspace/libsinsp/lua_parser.cpp ++++ b/userspace/libsinsp/lua_parser.cpp +@@ -32,7 +32,7 @@ extern "C" { + #include "lauxlib.h" + } + +-const static struct luaL_reg ll_filter [] = ++const static struct luaL_Reg ll_filter [] = + { + {"rel_expr", &lua_parser_cbacks::rel_expr}, + {"bool_op", &lua_parser_cbacks::bool_op}, +diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp +index c89e9126..c3d8008a 100644 +--- a/userspace/libsinsp/lua_parser_api.cpp ++++ b/userspace/libsinsp/lua_parser_api.cpp +@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) + string err = "Got non-table as in-expression operand\n"; + throw sinsp_exception("parser API error"); + } +- int n = luaL_getn(ls, 4); /* get size of table */ ++ int n = lua_objlen (ls, 4); /* get size of table */ + for (i=1; i<=n; i++) + { + lua_rawgeti(ls, 4, i); +-- +2.25.1 + diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch new file mode 100644 index 0000000000..60c3d31a3e --- /dev/null +++ b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch @@ -0,0 +1,45 @@ +From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Thu, 7 Apr 2022 18:30:23 +0100 +Subject: [PATCH 2/2] Link against libabseil-cpp which grpc uses. + +This patch was taken from: +55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") +from hhoffstaette/portage. + +Signed-off-by: Francis Laniel +--- + CMakeLists.txt | 1 + + userspace/libsinsp/CMakeLists.txt | 4 ++++ + 2 files changed, 5 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1f34f1d6..c0354b29 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) + else() + message(FATAL_ERROR "Couldn't find system grpc") + endif() ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) + find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) + if(NOT GRPC_CPP_PLUGIN) + message(FATAL_ERROR "System grpc_cpp_plugin not found") +diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt +index d72f9115..d1b7ea02 100644 +--- a/userspace/libsinsp/CMakeLists.txt ++++ b/userspace/libsinsp/CMakeLists.txt +@@ -214,6 +214,10 @@ if(NOT WIN32) + "${JQ_LIB}" + "${B64_LIB}") + ++ if(ABSL_SYNC_LIB) ++ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") ++ endif() ++ + if(NOT MUSL_OPTIMIZED_BUILD) + target_link_libraries(sinsp + rt +-- +2.25.1 + diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index 06d20c7f7b..5a7fbb50e0 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -8,13 +8,18 @@ config BR2_PACKAGE_SYSDIG depends on BR2_USE_WCHAR # elfutils depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC + select BR2_PACKAGE_GTEST select BR2_PACKAGE_JQ select BR2_PACKAGE_JSONCPP select BR2_PACKAGE_LIBB64 select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_NCURSES select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB select BR2_PACKAGE_ZLIB help Sysdig is open source, system-level exploration: diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 565b1e9828..4bce674f3e 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,3 +1,4 @@ # sha256 locally computed +sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz sha256 57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa sysdig-0.23.1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 08d93750ae..d497c7c381 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,7 +4,7 @@ # ################################################################################ -SYSDIG_VERSION = 0.23.1 +SYSDIG_VERSION = 0.27.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) SYSDIG_LICENSE = GPL-2.0 SYSDIG_LICENSE_FILES = COPYING @@ -13,7 +13,10 @@ SYSDIG_CONF_OPTS = -DENABLE_DKMS=OFF -DUSE_BUNDLED_DEPS=OFF SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ + c-ares \ elfutils \ + gtest \ + grpc \ jq \ jsoncpp \ libb64 \ @@ -21,6 +24,8 @@ SYSDIG_DEPENDENCIES = \ luainterpreter \ ncurses \ openssl \ + protobuf \ + tbb \ zlib # sysdig creates the module Makefile from a template, which contains a -- 2.25.1 From arnout at mind.be Thu Apr 7 18:49:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 7 Apr 2022 20:49:45 +0200 Subject: [Buildroot] [git commit] configs/qemu_xtensa_lx60_nommu: use busybox minimal config Message-ID: <20220407185604.8544E836EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8f3cfe41961d83a9c01630f241bf045e3aa59b40 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update the qemu_xtensa_lx60_nommu_defconfig to use the busybox-minimal.config. After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal config"), this has the benefit of fixing the following network initialization failure: udhcpc: invalid option -- b With the full busybox config, the -b option would still be passed and udhcpc would fail to start for the reason above. Note that on NOMMU, udhcpc backgrounds unconditionally (unless the -f option is given), so it still behaves properly. The -b option in fact only backgrounds after the lease is obtained; on NOMMU, backgrounding is done before the lease is even requested. So the behaviour is more or less the same, except that on MMU systems, networking can be considered either up or not available after S20network, but on NOMMU there is no such guarantee. Signed-off-by: Vincent Stehl?? Cc: Romain Naour Cc: Gerome Burlats Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig index c4473fb32a..44fb81bd74 100644 --- a/configs/qemu_xtensa_lx60_nommu_defconfig +++ b/configs/qemu_xtensa_lx60_nommu_defconfig @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ BR2_PACKAGE_HOST_ELF2FLT=y # BR2_USE_MMU is not set +# Use minimal busybox with hush and networking tools +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + # System BR2_SYSTEM_DHCP="eth0" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From arnout at mind.be Thu Apr 7 19:07:22 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 7 Apr 2022 21:07:22 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <20220329205136.32435-1-vincent.stehle@laposte.net> References: <20220329205136.32435-1-vincent.stehle@laposte.net> Message-ID: On 29/03/2022 22:51, Vincent Stehl? via buildroot wrote: > Update the qemu_xtensa_lx60_nommu_defconfig to use the > busybox-minimal.config, to make it more consistent with the other no-MMU > defconfigs. > > After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal > config"), this has the benefit of fixing the following network > initialization failure: > > udhcpc: invalid option -- b > > Signed-off-by: Vincent Stehl? > Cc: Romain Naour > Cc: Gerome Burlats As promised: applied to master with an extended commit message. However, the proper approach would be to revert both this and 3de486f8b052, and instead add a config fixup to busybox.mk that removes the -b option from CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS on NOMMU. The regex to match it is going to be tricky to write though... (/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-b\b/ works for our config, but we also want to remove it from a user-supplied config where -b may not be the first option). So in order to get this fixed expediently, I applied this patch. Regards, Arnout > --- > configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig > index c4473fb32a..44fb81bd74 100644 > --- a/configs/qemu_xtensa_lx60_nommu_defconfig > +++ b/configs/qemu_xtensa_lx60_nommu_defconfig > @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ > BR2_PACKAGE_HOST_ELF2FLT=y > # BR2_USE_MMU is not set > > +# Use minimal busybox with hush and networking tools > +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" > + > # System > BR2_SYSTEM_DHCP="eth0" > BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From peter at korsgaard.com Thu Apr 7 19:52:35 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 07 Apr 2022 21:52:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/libabseil-cpp: fix uclibc-ng build In-Reply-To: <20220330205112.1378968-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 30 Mar 2022 22:51:12 +0200") References: <20220330205112.1378968-1-fontaine.fabrice@gmail.com> Message-ID: <871qy8vfgc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with uclibc-ng and grpc raised on arm > and ppc: > /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: > /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: > undefined reference to `getauxval' > Strangely enough it seems there is only one autobuilder failure despite > the fact that libabseil-cpp is unconditionally using getauxval since its > addition in commit 93568440eda120b12bcbfe267af8f0182484c3b6: > https://github.com/abseil/abseil-cpp/blob/20200225/absl/random/internal/randen_detect.cc > Perhaps this build failure is an unexpected side effect of commit > 8251d8c2559b25f11684776fc343059cf100657d > Fixes: > - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Apr 7 19:54:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 07 Apr 2022 21:54:32 +0200 Subject: [Buildroot] [PATCH v2] package/libcamera-apps: fix X11 preview compile (conversion from Window to EGLNativeWindowType) In-Reply-To: <20220331201231.26526-1-ps.report@gmx.net> (Peter Seiderer's message of "Thu, 31 Mar 2022 22:12:31 +0200") References: <20220331201231.26526-1-ps.report@gmx.net> Message-ID: <87wng0u0sn.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Seiderer writes: > - add 002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > Fixes: > .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ?Window? {aka ?long unsigned int?} to ?EGLNativeWindowType? {aka ?fbdev_window*?} [-fpermissive] > 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); > | ^~~~~~~ > | | > | Window > | {aka long unsigned int} > Signed-off-by: Peter Seiderer > --- > Changes v1 -> v2: > - add patch with proper type cast instead of '-fpermissive' compiler > command line option (suggested by Arnout Vandecappelle) Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Apr 7 19:56:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 07 Apr 2022 21:56:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/apr: fix CVE-2021-35940 In-Reply-To: <20220331210046.35887-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 31 Mar 2022 23:00:46 +0200") References: <20220331210046.35887-1-fontaine.fabrice@gmail.com> Message-ID: <87sfqou0pt.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > An out-of-bounds array read in the apr_time_exp*() functions was fixed > in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix > for this issue was not carried forward to the APR 1.7.x branch, and > hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the > same issue. > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Apr 7 19:52:01 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 21:52:01 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libabseil-cpp: fix uclibc-ng build Message-ID: <20220407194802.DB350836F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ab52b73a66de60c0adc007a032d814c390592799 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with uclibc-ng and grpc raised on arm and ppc: /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' Strangely enough it seems there is only one autobuilder failure despite the fact that libabseil-cpp is unconditionally using getauxval since its addition in commit 93568440eda120b12bcbfe267af8f0182484c3b6: https://github.com/abseil/abseil-cpp/blob/20200225/absl/random/internal/randen_detect.cc Perhaps this build failure is an unexpected side effect of commit 8251d8c2559b25f11684776fc343059cf100657d Fixes: - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 1a3de362aea62db32d02533d84fcf61cf0389152) Signed-off-by: Peter Korsgaard --- .../0002-fix-build-with-uclibc-ng.patch | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch new file mode 100644 index 0000000000..0797d8e51b --- /dev/null +++ b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch @@ -0,0 +1,62 @@ +From b9ad9bbfed92199a1a58504306d026cd2597539e Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 30 Mar 2022 21:56:20 +0200 +Subject: [PATCH] Fix build with uclibc-ng (#1145) + +uclibc-ng doesn't provide getauxval which results in the following build +failure on arm or ppc with any user of abseil-cpp such as grpc: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' + +To fix this build failure, check that __UCLIBC__ is not defined before +using getauxval (as Babel is not able to check function availability) + +Fixes: + - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/abseil/abseil-cpp/commit/b9ad9bbfed92199a1a58504306d026cd2597539e] +--- + absl/debugging/internal/vdso_support.cc | 2 +- + absl/random/internal/randen_detect.cc | 7 ++++++- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/absl/debugging/internal/vdso_support.cc b/absl/debugging/internal/vdso_support.cc +index c655cf452..e63ac4a3b 100644 +--- a/absl/debugging/internal/vdso_support.cc ++++ b/absl/debugging/internal/vdso_support.cc +@@ -33,7 +33,7 @@ + #endif + #include + +-#if defined(__GLIBC__) && \ ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ + (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) + #define ABSL_HAVE_GETAUXVAL + #endif +diff --git a/absl/random/internal/randen_detect.cc b/absl/random/internal/randen_detect.cc +index 9bb58fc68..6dababa35 100644 +--- a/absl/random/internal/randen_detect.cc ++++ b/absl/random/internal/randen_detect.cc +@@ -24,6 +24,11 @@ + + #include "absl/random/internal/platform.h" + ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ ++ (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) ++#define ABSL_HAVE_GETAUXVAL ++#endif ++ + #if defined(ABSL_ARCH_X86_64) + #define ABSL_INTERNAL_USE_X86_CPUID + #elif defined(ABSL_ARCH_PPC) || defined(ABSL_ARCH_ARM) || \ +@@ -31,7 +36,7 @@ + #if defined(__ANDROID__) + #define ABSL_INTERNAL_USE_ANDROID_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL +-#elif defined(__linux__) ++#elif defined(__linux__) && defined(ABSL_HAVE_GETAUXVAL) + #define ABSL_INTERNAL_USE_LINUX_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL + #endif From peter at korsgaard.com Thu Apr 7 19:54:16 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 21:54:16 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libcamera-apps: fix X11 preview compile (conversion from Window to EGLNativeWindowType) Message-ID: <20220407194802.E54ED83700@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf458ccc3864f975e56a719e01f18d3caf8c2d8d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x - add 002-preview-fix-egl_preview-compile-conversion-from-Wind.patch Fixes: .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ???Window??? {aka ???long unsigned int???} to ???EGLNativeWindowType??? {aka ???fbdev_window*???} [-fpermissive] 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); | ^~~~~~~ | | | Window {aka long unsigned int} Signed-off-by: Peter Seiderer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 94b5778c82e4fdaa43ab40102648257330cbda0c) Signed-off-by: Peter Korsgaard --- ...-egl_preview-compile-conversion-from-Wind.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch new file mode 100644 index 0000000000..cc9069aa86 --- /dev/null +++ b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch @@ -0,0 +1,39 @@ +From 60715769cd5368a63b2bdc2e6d6bb6df0030a54d Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 31 Mar 2022 21:44:22 +0200 +Subject: [PATCH] preview: fix egl_preview compile (conversion from Window to + EGLNativeWindowType) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ???Window??? {aka ???long unsigned int???} to ???EGLNativeWindowType??? {aka ???fbdev_window*???} [-fpermissive] + 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); + | ^~~~~~~ + | | + | Window {aka long unsigned int} + +[Upstream: https://github.com/raspberrypi/libcamera-apps/pull/283] +Signed-off-by: Peter Seiderer +--- + preview/egl_preview.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/preview/egl_preview.cpp b/preview/egl_preview.cpp +index b936e57..593583d 100644 +--- a/preview/egl_preview.cpp ++++ b/preview/egl_preview.cpp +@@ -326,7 +326,7 @@ void EglPreview::makeWindow(char const *name) + wm_delete_window_ = XInternAtom(display_, "WM_DELETE_WINDOW", False); + XSetWMProtocols(display_, window_, &wm_delete_window_, 1); + +- egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); ++ egl_surface_ = eglCreateWindowSurface(egl_display_, config, reinterpret_cast(window_), NULL); + if (!egl_surface_) + throw std::runtime_error("eglCreateWindowSurface failed"); + +-- +2.35.1 + From peter at korsgaard.com Thu Apr 7 19:55:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 21:55:18 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/apr: fix CVE-2021-35940 Message-ID: <20220407194802.F10B183701@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a2e374f3b9fcde71bb363cb70d9ccb3aeb7ef3ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 10d80eb39aed471b6c47400e1b155c94a61d8e61) Signed-off-by: Peter Korsgaard --- package/apr/0004-apr-1.7.0-CVE-2021-35940.patch | 57 +++++++++++++++++++++++++ package/apr/apr.mk | 3 ++ 2 files changed, 60 insertions(+) diff --git a/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch new file mode 100644 index 0000000000..b065a3330a --- /dev/null +++ b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch @@ -0,0 +1,57 @@ + +SECURITY: CVE-2021-35940 (cve.mitre.org) + +Restore fix for CVE-2017-12613 which was missing in 1.7.x branch, though +was addressed in 1.6.x in 1.6.3 and later via r1807976. + +The fix was merged back to 1.7.x in r1891198. + +Since this was a regression in 1.7.0, a new CVE name has been assigned +to track this, CVE-2021-35940. + +Thanks to Iveta Cesalova for reporting this issue. + +https://svn.apache.org/viewvc?view=revision&revision=1891198 + +[Retrieved from: +https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch] +Signed-off-by: Fabrice Fontaine + +Index: ./time/unix/time.c +=================================================================== +--- ./time/unix/time.c (revision 1891197) ++++ ./time/unix/time.c (revision 1891198) +@@ -142,6 +142,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) +Index: ./time/win32/time.c +=================================================================== +--- ./time/win32/time.c (revision 1891197) ++++ ./time/win32/time.c (revision 1891198) +@@ -54,6 +54,9 @@ + static const int dayoffset[12] = + {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; + ++ if (tm->wMonth < 1 || tm->wMonth > 12) ++ return APR_EBADDATE; ++ + /* Note; the caller is responsible for filling in detailed tm_usec, + * tm_gmtoff and tm_isdst data when applicable. + */ +@@ -228,6 +231,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) diff --git a/package/apr/apr.mk b/package/apr/apr.mk index 7ff2c007b4..77217ccbb3 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -16,6 +16,9 @@ APR_INSTALL_STAGING = YES # so we need to autoreconf: APR_AUTORECONF = YES +# 0004-apr-1.7.0-CVE-2021-35940.patch +APR_IGNORE_CVES += CVE-2021-35940 + # avoid apr_hints.m4 by setting apr_preload_done=yes and set # the needed CFLAGS on our own (avoids '-D_REENTRANT' in case # not supported by toolchain and subsequent configure failure) From fontaine.fabrice at gmail.com Thu Apr 7 21:20:19 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 7 Apr 2022 23:20:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/netdata: bump to version 1.33.1 Message-ID: <20220407212019.1540473-1-fontaine.fabrice@gmail.com> - Use official tarball (and so drop autoreconf) - Disable ebpf, enabled by default since its addition in version 1.25.0: https://github.com/netdata/netdata/commit/c857c880f31a89b7857bf01f1f48227c41bf8a93 - disable ml, enabled by default since its addition in version 1.32.1: https://github.com/netdata/netdata/commit/9ed4cea59042aa5e5053c4b4b3529e9d70ab83f9 - lz4 is an optional dependency (enabled by default) since version 1.33.0 and https://github.com/netdata/netdata/commit/b003e5fd40c3b42dfacc87db5a7730b76eff0e92 - This bump will fix a build failure with libressl thanks to https://github.com/netdata/netdata/commit/6b091fafd9c3b0197325b3ef751dbdb317048e2b - Update indentation in hash file (two spaces) https://github.com/netdata/netdata/blob/v1.33.1/CHANGELOG.md Fixes: - http://autobuild.buildroot.org/results/897d6f1425a645667b884739b2ee6f588fd06972 Signed-off-by: Fabrice Fontaine --- package/netdata/netdata.hash | 6 ++++-- package/netdata/netdata.mk | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/package/netdata/netdata.hash b/package/netdata/netdata.hash index 8d5ce51fca..bc33a8b8a1 100644 --- a/package/netdata/netdata.hash +++ b/package/netdata/netdata.hash @@ -1,3 +1,5 @@ +# From https://github.com/netdata/netdata/releases/download/v1.33.1/sha256sums.txt +sha256 20ba8695d87187787b27128ac3aab9b09aa29ca6b508c48542e0f7d50ec9322b netdata-v1.33.1.tar.gz + # Locally calculated -sha256 60cdde3f1f8bd9035fef6a566053c0a7195d1714b5da6814473263e85382b4a8 netdata-1.21.1.tar.gz -sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6 LICENSE +sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6 LICENSE diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index 6def59764a..da6f8eb18b 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -4,15 +4,17 @@ # ################################################################################ -NETDATA_VERSION = 1.21.1 -NETDATA_SITE = $(call github,netdata,netdata,v$(NETDATA_VERSION)) +NETDATA_VERSION = 1.33.1 +NETDATA_SOURCE = netdata-v$(NETDATA_VERSION).tar.gz +NETDATA_SITE = \ + https://github.com/netdata/netdata/releases/download/v$(NETDATA_VERSION) NETDATA_LICENSE = GPL-3.0+ NETDATA_LICENSE_FILES = LICENSE NETDATA_CPE_ID_VENDOR = netdata -# netdata's source code is released without a generated configure script -NETDATA_AUTORECONF = YES NETDATA_CONF_OPTS = \ --disable-dbengine \ + --disable-ebpf \ + --disable-ml \ --disable-unit-tests NETDATA_DEPENDENCIES = libuv util-linux zlib @@ -43,6 +45,13 @@ else NETDATA_CONF_OPTS += --without-libcap endif +ifeq ($(BR2_PACKAGE_LZ4),y) +NETDATA_CONF_OPTS += --enable-compression +NETDATA_DEPENDENCIES += lz4 +else +NETDATA_CONF_OPTS += --disable-compression +endif + ifeq ($(BR2_PACKAGE_NFACCT),y) NETDATA_CONF_OPTS += --enable-plugin-nfacct NETDATA_DEPENDENCIES += nfacct -- 2.35.1 From thomas.petazzoni at bootlin.com Fri Apr 8 05:29:10 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 08 Apr 2022 05:29:10 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-07 Message-ID: <20220408052916.C95FF84005@smtp1.osuosl.org> Hello, Autobuild statistics for 2022-04-07 =================================== branch | OK | NOK | TIM | TOT | 2021.02.x | 52 | 9 | 0 | 61 | 2022.02.x | 14 | 2 | 0 | 16 | master | 177 | 406 | 0 | 583 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 62 host-gcc-final-10.3.0 | 31 host-util-linux-2.38 | 30 dhcp-4.4.2-P1 | 21 fetchmail-6.4.29 | 13 uclibc-1.0.40 | 12 argp-standalone-1.3 | 11 libopenssl-1.1.1n | 11 host-elf2flt-7e33f28df198c4... | 10 glibc-2.34-109-gd64b08d5ba7... | 8 toolchain-external-bootlin-... | 8 libressl-3.4.3 | 7 polkit-a2bf5c9c83b6ae46cbd5... | 7 python3-3.10.2 | 7 git-2.31.1 | 6 host-gcc-final-9.4.0 | 6 linux-5.15.30 | 6 util-linux-2.38 | 6 qpid-proton-0.35.0 | 5 unknown | 5 host-gcc-final-11.2.0 | 4 libgcrypt-1.10.0 | 4 linux-headers-5.15.30 | 4 perl-5.34.1 | 4 zlib-ng-2.0.6 | 4 expat-2.4.7 | 3 host-gcc-initial-10.3.0 | 3 pixman-0.40.0 | 3 refpolicy | 3 dash-0.5.11.5 | 2 erofs-utils-1.4 | 2 frr-8.2.2 | 2 fs/ext2/ext2.mk:65: /home/a... | 2 gocryptfs-2.2.1 | 2 host-rust-1.58.1 | 2 libcap-ng-0.8.3 | 2 libgpg-error-1.42 | 2 libkrb5-1.18.4 | 2 libnss-3.76 | 2 netdata-1.21.1 | 2 netsniff-ng-0.6.8 | 2 stunnel-5.60 | 2 uacme-1.7.1 | 2 wavemon-0.9.4 | 2 a10disp-0.6.1 | 1 ace-7.0.6 | 1 acpid-2.0.33 | 1 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 apparmor-3.0.4 | 1 arptables-0.0.5 | 1 belr-4.4.8 | 1 bird-2.0.8 | 1 botan-2.19.1 | 1 brltty-6.4 | 1 cairo-1.16.0 | 1 clamav-0.103.5 | 1 dieharder-3.31.1 | 1 diffutils-3.8 | 1 dmalloc-5.6.5 | 1 docker-cli-20.10.14 | 1 emlog-0.70 | 1 file-5.41 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gobject-introspection-1.70.0 | 1 gst1-plugins-bad-1.20.1 | 1 gst1-python-1.20.1 | 1 host-gcc-initial-11.2.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-go-1.17.8 | 1 host-m4-1.4.19 | 1 igh-ethercat-1.5.2 | 1 intel-gmmlib-22.1.2 | 1 kexec-2.0.23 | 1 ktap-23bc7a4a94bd9e4e1b8b7c... | 1 lftp-4.9.2 | 1 libndp-1.8 | 1 libnspr-4.33 | 1 linux-headers-5.10.104-cip3 | 1 linux-headers-5.10.104-cip3... | 1 linux-tools | 1 lttng-babeltrace-1.5.7 | 1 lua-cqueues-20200726 | 1 minizip-3.0.5 | 1 monit-5.26.0 | 1 netsurf-3.10 | 1 nodejs-14.18.3 | 1 ntp-4.2.8p15 | 1 openblas-0.3.20 | 1 owfs-3.2p4 | 1 python-ujson-4.2.0 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 qt5webchannel-fa8b07105b5e2... | 1 qt5webkit-5.212.0-alpha4 | 1 shadowsocks-libev-3.3.5 | 1 shim-15.4 | 1 strace-5.16 | 1 tcf-agent-1.7.0 | 1 toolchain-external-bootlin | 1 toolchain-external-codescap... | 1 trousers-0.3.15 | 1 xdriver_xf86-video-nouveau-... | 1 xenomai-custom | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | a10disp-0.6.1 | NOK | http://autobuild.buildroot.net/results/94bef48fe209ce1b46d26f1f7b7cb7bffa91d940 | microblazeel | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/303158983f9c6ce9e697a11ea7807623e6f9c8a0 | mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/fd17acb56a7b00e0888f8f2ce9dbb4b7e9f9d882 | ORPH microblaze | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/a998ca19dcdf5b73777a29a6bc71e0b94cc366b9 | mips64 | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/ab7fc3ba760f3921484c40a5a044bb81077702ab | x86_64 | apparmor-3.0.4 | NOK | http://autobuild.buildroot.net/results/2ff3ebee647d7bbd5934e2b37b6e3c6f42e9ded9 | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/c2e0f121149c6185cecbf9f6ea987a357894b705 | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/295469b4f2748ab708ae9033a776d89838bea49e | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/588c99fdc2f4fe47af1acf5250880979aa3ab8f8 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/666d56d687f175d298fae78f0fb12de9af7e05c3 | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/90ad2f78a927ee3475f3c8fc3e0e349c6941a780 | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d20761ca01cef378ab2ed7877831f605dc6d27d6 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2993f677e41bf5494f5c9a7a71652860f3150234 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/05331c5c130ae267ad7d59cd75664baa7bf04c99 | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2def514de20dad9748458be6a0efb9d149f8698d | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/11feaefe0d9b259362734be9d87817ecd4ea6b53 | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/beb39b4977eeff40c649330b6e20943f700e1664 | i686 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/94b280d20a27c52cfbfc6836ddd0fc41b3175750 | ORPH sparc64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/e7c87803637902ceba65e64041aedab4d0ac1b47 | powerpc | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/4e2482c25029ec5b7c35968bd05a4c48b97d1216 | mipsel | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/019fd7977869c3ca6778769dc19addd4df3d5a82 | ORPH microblazeel | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/a24ee32170c55c2d36cee226a997ced2a44b7382 | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/b1ff1542dd04da21670b1111b1029d162ee93045 | mips64 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/d2c3d4348a81bc96e706c70990d546ce9724afcf | mips | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/82fcf2a0e0686bfbb1b7ab4651ffc3f6a017c19d | ORPH mips64el | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/9f8dd347bd64b55c872ea8442fe5d94421676007 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/b6153a8a1b2e142fec8d2d8013d3576276c3d3d6 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/85049d1b4d9c76fa77d4f6cc8f3ec6a3f543b467 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4dadcf9497a21856326c990d10784d593e8ace78 | ORPH or1k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/00dc2cd689020a021d4fc21708eea803cd23ae09 | ORPH or1k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2f0975b3d18a9654634233fcfab5ec6a5885cfb2 | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/bc02f2233af52fbdf99d81402f5af9e9dfc095b0 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/1203f960b7b0bc470f14acb713a611f17ad614f5 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/d2ccdef4ff5adeee5379d6a0f999be11e9e27bac | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/39722e9d8d9a14d47a96709e82540c18b9ec778d | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2c21c2e66ad7bfdc96170fb1b70a23a53b399de3 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/8865067a6367b2e38d186c544e73855d06a54317 | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ee3a43a38093ece7820bbc90ea9f0e949b28479b | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/160b05545e30eae1eba32b87aed53d305cae369d | ORPH m68k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/55a9306a6d8adcec088979b6ef23b9cede79bcfe | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/5152ed2bd3ddd0af998fee1af6764eab250e5fee | ORPH armeb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/c4a55d8e052788599a681fc72f84ec4aa5a1be19 | ORPH mips64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/a691fa8cff9d5dc796da5d7ea255f344846d49f3 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/67a692c48a4b2c301ea0d339c10be76009dacb1e | ORPH nios2 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/6e35f116d24e9ddd9df6717a5aa2c1a56bfc984e | ORPH m68k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/d37add9bb8e37f294963d350586863b07044eec3 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/71e393f3069f43eb745fc74257fb6424ceec0d6e | ORPH microblaze | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/1682927952083bbb4060ed9b07773e388fc662cd | powerpc | diffutils-3.8 | NOK | http://autobuild.buildroot.net/results/c4783a45b73adb91ef3df9ed6959ce0becf52b51 | ORPH mips | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/3d93a80a5d43bf7a03bb072ec5efb4bcd5a6247e | ORPH x86_64 | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/2d4e811b119503f27b9fc9fe2f9ceb66247f44bc | mips64 | emlog-0.70 | NOK | http://autobuild.buildroot.net/results/cd4baf0d42846a81b7f1027236a564f711f5c6fb | or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/f29f70bcdd4894e041211b8eedcdaf16e324ee73 | or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/eda924476a48a85527e1ca5acabc3dc21d4d4ae3 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/ac6227f9cd0f4a07c334f27d161e414b64505462 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/767435e7b0dc1b4fde0e22c52fa2d88c6aa788a5 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/c7b00a5489d4137e32be54686e891be630962a22 | mipsel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/f97722fc4afa7dd05c77858959f4205c1c6ce8b5 | sparc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/3fb4771260274074c66640f8630fadc1e065239c | m68k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/337f0ed42004555d88dca8f59f30771193554558 | aarch64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/4d1461f74e50c10926629782ae4fb3833923b5ac | powerpc64le | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/44958e10a7f94c81662ac204184c70f5debcc217 | s390x | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/d571aa23ffd90ecda5a71a0114609fd91de58dde | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/551ba44afec615e88f661c1f6f8a5ef9fa9ac0f0 | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/c65608e1cd284512ee6ac7527c04454ea01545fc | s390x | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7776f7828b3d5d91e60f90577593a08823a374e6 | arc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/6331e893125c7e92da14187e24980f1bd5983244 | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/cd0d3425ede45b8dc2334e0a35f01eb40b091b81 | riscv32 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/fd88bded737d6374851f054129abc7bddcaaf65b | sparc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/417dd8079206f885595883cb765500129fe3b5ea | mips | file-5.41 | NOK | http://autobuild.buildroot.net/results/b966bf8bec50c58874d9d8e331529f87b2b67ebd | ORPH mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/b2a3cfd8dcaa390388ad3921344640b24281d045 | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/7e9a5f2d7addb77f65783b65e5dba8a3791253a1 | microblazeel | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/4c5cd43781ccc77857f8b8c649bc4b930ef17987 | microblazeel | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/ffc2a3bd53a696a053b9cf3763e2d753c95d7e86 | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/766e113023b265f01ad0dd38713a706a78df362a | sparc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/cce6f7f878052c7381ac8f34b230006baca866dd | m68k | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/e64c6b343280114abd455d04465658fe80b9cdfc | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/1f19fac30ac59198a62a6f4bc79f4abb5708926a | x86_64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/c99705dbd7b3a10a657c8ddfab6464cff650a359 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/96c026dd2f8cbb8cc41ca28fd242343a996392d3 | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/bf031ec55b9e116a191a6bc8f995233944f2be0f | i686 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/b3d095b882daf2c87fee3ed6a1703ea71481be71 | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e0480df14f84e8831834898d3a1fe7a566cdd0ba | powerpc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/be1ec7e1a5de521130f7e53538fc79d227ad321b | m68k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0db593309ccdf2eb96a08184e26d6f16136045bd | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/884ef1471e8bb1a1d47ad0bdef4872980cf4c9bf | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/ca8ce016d192c15b92ebe67d30e9bbc3dd8c35b5 | x86_64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/81ee7769f967fab873f98b71a2d0ace9042933a7 | xtensa | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/776be4217cc2c3baeeabc033122f21cd4dcf2143 | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/73aa8608cf7c7c7a0b462d373916f19e68553284 | m68k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/882e75f1f19d7387533fc985c23d6f32d98816e2 | arm | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/0246ca602633eacb9defef257f68e03aebcf70a0 | mips | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b3f37b4d75e7a6f9f74de4cc617cb114f1b0d83b | xtensa | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/60bbfe3155f4fa30b68c5ab3c44c9cd0682a1d26 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/c90d34d2455093ddbab5cb34c400e465b2764a60 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/489921445e5434abc63e204ff3a035055ab36d2f | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/655851e5e6660780d089b93c1758792c327fe3a5 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/bed0fa2850bc4af8b360d2479ea9ce6c57c71ac0 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/73d3b165c48c12a4e79d9239f029f9817e6b81e5 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0f7222479a31e309ca647df408d65b1fd3543eef | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/33baab987acea3f8b6e51a28b9652a04d2031bb5 | microblaze | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/2240d5f614e4c0f01ab13b27fdcb18d26b129898 | powerpc64 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/975dc7fa31b1b8364079f6007f8b5287b71e0f3f | ORPH x86_64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/cfff450447fab3ea0a95af3259a8833a20035714 | x86_64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/3700d15d218d82754ea41ae97e5d8f4a42ed9d49 | sparc64 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/b08ef6d3d6ad123f28e1bc5a6910062864d706e7 | ORPH powerpc64 | gst1-python-1.20.1 | NOK | http://autobuild.buildroot.net/results/33848075028560e52444e485107b2aeac3b7c472 | ORPH sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/63d01d33ae30f86b63b9f42a9fea116f2f3e9005 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5e34d11393e14fc36fd6e72b69679bc4fd1e3798 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f1eeee4b0fc17f7da799651d187b2e5d6d471cac | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6a084dde18adc35468e43ece29f631fd0a6661cd | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/db002cc90d4832507cc059d9cb9d2ab21b206bb7 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/88b27f01b086d185cc143198d5e29353bbd7d7a8 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/760dc66df3d38d3b4e8e8d713bd75a816c8b53c9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7219284bdcd09c1a180976bfe868a7ecf205ecd2 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/73185d6e0cc48ddfd4e2ce321d413e1ce06ed3d9 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/38f678f9bcbd62bac38a137f60eaacb176d89112 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f5be4c6967f3ca8d96ce0157e12fa035c8213e67 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/22f43ecbebc38753530102901b1e1ccef628f0ea | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/622915cca68f8006c93f28c43fb8e2ae3d372d97 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c11471a424e99e8baf161ebcdd53f5d6093b8c88 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8f4b0ac41d33d92fc9cb06b297835a169fe744c0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/389d7d4f676819916963d9cc08d6bc245c30d3e2 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/37782a151a26dda8ba53f99c59d435e0c2803378 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6f36a142f36d621830733573d77ca2546bad5300 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/63d3af7c99ec207b7d08a87cfb18af7c26891729 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0f102b6b0449dcd8601b1d72682e822b1dc595ea | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ff6d13f2ab87f157d3ee0f3be6debc2eb3943951 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/225ff60845594dc6561408829ebd06b61cc01872 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8960fa352f5320e87654127ca96165220868ac1c | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b0c68e7fdd84c94e2a5166b3ad33c880ebe4eb96 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/adbbab40df30e62d28138eb055375016580f1292 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bb68f13d1794dbb20ab2f40ebaaf9d0408af6eb2 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5f36319e99ccb94967587b43922f790b9db89467 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c05bd35e5335aa763967c320b170b377137acd86 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/67264f525acbe55b9eea74a225ae58ea04633209 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2954415fd192822856388fc8b3626860f5efc231 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0f6e2b4621b284bf9d62314549bf253429931e89 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/74acad079e18041ae4cac1aa94ce74f604dd879f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1af434e6e7d2ee014fd5544a5bccd964e840cddd | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3698d83294f9d04824fe4468f0f3b260c6410599 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0d6f0d4d6713d7b15c27a59c568e713f721bedb8 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4077d0e60ef3a1b29638a5a7810ae29622eb6cf2 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4c2b08a8835c6c5911d414e435f376afeee80606 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2eeb9fba5f71e0383148cb919a8e18baf485713a | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3cb2de05ba6c6cb670837f1b90b80093a2fb71cb | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7f6743c89298ee7cb26159b196d863fb644a2316 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/59a0d24eaff42cb13db68aa5c4da7d2282403dac | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f073dd684186306d920ccdd7424c5b6a00721b27 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a57107a9c757b108712e5268359749a83987e586 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9df22e9333336eaadbd9ad206a988472bea50787 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bfc1ac350b959afc828d4b3eedc4444b8e25634e | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7b5dbe6c8c5d894e33ea4b3a30252d56794d6dbc | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2bef37301ad3eb6dc85e2c755086f9e6c702936e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/665b49f94e500551f20e3a87ea24ad7fd235046f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9506a8e3b11543601d65a71a5a96ae8cd88d5290 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2e258b21e8b0d3cbebf2583d71824af1a20730c1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/81b5a92c810fd420a39951c0ae330e9d04098135 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fa43042957dc46409b9b7407485af0db59373695 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/addd4aca4c4f6ab8d678fbb17b4aa7b39cc40534 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/89148b5bff91b39286903201a2d2c2d1edb3864b | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/883fe1d90d47548ee3b67be0b7fac45539533336 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ab56927bedd2e1f14c716ed70792c66e0d63dd06 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ecf7e8b0faa1e100e969826e297c46a2827f9e80 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5f4fdf01628d60107a65d72ea481ef66b663802c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/98039f803fe86bda0c2323c1aa79a2fa181df0ee | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0facee0a56884277f995ccf4ca3b7262a78eca9c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ec9d0c3189853e27b36e4884d4cea15cf4a77379 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e4ed2685799cb8a2524f7b620b5b96ae0ed9b004 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/20441a1f4559ce53a457b3995cfec5c91dec72a8 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f27cca3241a237d7be96e104a9eeb90340b2ea6f | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e3066b4be70b0595cbf8ac6eca419d2e333e9dee | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5e9500ddb431766a158abf14deb448a33b20b6e8 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/117cd569a19143f92a1410aba71c086bcebff683 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ecc0c0a495585dda9dd89ff4da5a3433b0e4969e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/42d8cd62f538036494669a40a177c0f134e378fa | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/6b6fa3b4b222263a926d01bb18228485626f6041 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/b2fd4bbec546894dff9d51f34fa0fbd57206ae37 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/21ba978b9b908ff442dadbccc2f619327bfbdf58 | ORPH i686 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/60d55a0c8e7e1c60419b9a3d87a05989cca83a3d | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0c1ed40d9b0756933b9837dd638d35533928004a | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8c867da942155b832ccb17cd4a2f9fe7f36e0e9b | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/86f7e890107cc686e5a19349252a37ec5a698984 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1e66c0eeed4d5c1714b6051e5aecf4f041f1ad9a | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/09677c0ddecd7a698a9ffd500d0b6d4bd94858e9 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/30c2ed49fb94b99551d212b2d4309ab046da920c | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c6ee7699e03abb9dc3fc95eb49e4240224897031 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ba05a6cab63a1a321533968b8009a7eb3e12c5b7 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/afe71dac2a6021e3646363bb8e357cc17ab86b45 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e5064e3d1547fe65905e0ca8666d533815fd11ee | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bbbb111f78943b6bcf3a4baf320bce738c218840 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8471826c26755ccfc43106ebd5684a53292f4857 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/329d7448574f772d442d0b33967cf5108c67dd56 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b32f336672641c0e13ea99c0dce4968c26082cf9 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b4bf58186620f44b8b01eb4aab1c4d5d1b2d2754 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/443c97eb2d057413ddeb2df3e833c325cdf3a59b | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/66d2c520aa8902d55cd4bc3e468af86fab551370 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/078e94c84666f2a721d51c04e8b0447db740b3ec | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a9261f6b55f4818504744774a49eecb99215e983 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd3e568d7bb5ba716a27a49960a5487fe614deac | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/902e32482bf9354aa685b795554711b0ccd7ffae | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/378cec90fc22ab8744a0f34fc84469718a945b1e | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/124750a289989297b12a7bff21a9b1dd3903f037 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6ffb59ab22a581c9b5d01b31ae44303cc86d3a99 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dabf8013bb067083c5e2c7ba8fe743d122b1c3c1 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/65cb69e1c80f0eab26534bb3a1381a1d67ef6ef7 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fd33b8ac7a569dc100eacf7444bb2fcbd4aad00f | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b02f34c9a9a95f16995f81f1cce7e11499b0af65 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0f40acb6874707d94f1d9d9241b5b47ba4cf2e97 | microblaze | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f5f25fcc1f0fd7815e16d682fa2c61b093e1626c | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/1a17ac25ad155400af67f048bff2741f4df27f13 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/a2dd03897da4bc819cae436afa6a06b45efa8a34 | riscv32 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/4f25ba563e33c4f14fe43352ca54a188ac8d2321 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5be69add741e8247779ecbd74c1f2d95d8de9671 | powerpc | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/11a175b3ade4327853fc75dc317d79fb13f3de3b | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/d6bd6220a177c3e3e04219d24b29a1a3151fcf2b | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/729cd7874a2c73b14143a47a95626a8520124c79 | i586 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/ae091c7c285d0e46bcd550a5877805d11894ffea | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/7b2e44c3ecd3f1f815f1ac893c0c7b3dd95d7321 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/85008cfeca460e9090bea8c729a690360d27d297 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/7973126760ebe8f5fd95ef588718c22cff0d4f83 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/fdc8c28a5543c00f1b44c4cb8f799d33bcc2f017 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/758c134c6bc5f0c45aa240ec2545e0eaeb707e82 | arceb | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/931255b9c1f56e84eb2898ac13d83049f4de145c | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/ca35e49506b7b7dc391185a8be96dea4c2a6b9a7 | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/381950e4f692eb3e99091b37540dbe020a26613e | riscv64 | host-m4-1.4.19 | NOK | http://autobuild.buildroot.net/results/4a574697bb112229db7ebe1051499ee720233a9f | ORPH x86_64 | host-rust-1.58.1 | NOK | http://autobuild.buildroot.net/results/d4ed3d3d8cee7c113cfd9ab6fad532d238f6a4f0 | x86_64 | host-rust-1.58.1 | NOK | http://autobuild.buildroot.net/results/92a17f1671ce51e5fc8cd23c5993e356891d3076 | powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/f2f31c7ce227e53fee05f5a01c271a63e742bc94 | ORPH s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/be6acede6bcbfb03f1e5fe4020c333f8db668b8f | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/145bed85d1a68e1f69525f401d04956ce001e80e | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b46385593f7f6454d70bc809aca29518d7c6f8a0 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d9804b30f039560755fd64821dd6478818ed9450 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/95bb78ff8b4ab771076f68249f7a84ce7e873f86 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/1e3a3b5fd851acee5dbd9d7ae588b57b304c9a25 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8e2a5981f405b761ad86d777aa9dcf7d7baa7cfc | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/de77d9ddceff4e31bbc59717908e3dec9eb0eb07 | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ec0098888f29c69931ef92d818374f7d94d149ff | ORPH s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3f2521046b2cfaff48ca62e9967bcb60652701fc | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2ffefb910774010a468aca87d2faef527d08cbcd | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fb52d22d4c2295080097ca726ef0655e75237a29 | ORPH mips | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d54301bb924cc8ce137c1528f8ce6e87f0378877 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7a524f05cf6545ff24c3564ef18431bc6cb2e373 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/4c585425fb2f2db4be171ccda4db340fd11a401a | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8b1eb3ae7055cd8efb4bd9d5b3cb77168c652fca | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/4f434f94f7a598c348f3410a604e92a5338f6bd4 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b91d95fad9720cfeecbb3761e7918460affac4f3 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/089d73af84f2b21f30f085356e0c24026fab39b9 | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/334564e858fa8befccb6068da106837f8c69d635 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c3f5611722f805eaeef8ccd655cbd569262b4faa | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/49222159bddd025d4749fb004630d703d9c02684 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a448d5fff04bb6535d39341af4927cbff8d843a5 | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/eed81ef3ec169ee6eb5ae46417ccabf669cdfae7 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/9a1ea47a95e09a2b0ec4fb6005f6c6628500c13a | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b973e77c92f44bb301e9d8f2358ff4c56625de40 | ORPH s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6514d147ce56b8ef773a32a1dae2b23900b642ae | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fea184f042c67e5b883d88af0a93b2d0131abe06 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6b5ad743f202d5c9e23b9a97e28c19424eda59b1 | ORPH i686 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/1807004c4a3a5ba2bf8c12569b25c86d490e97ab | x86_64 | intel-gmmlib-22.1.2 | NOK | http://autobuild.buildroot.net/results/4e7f6cc999281f9620eb0b31a0a0840c49979ba0 | powerpc64 | kexec-2.0.23 | NOK | http://autobuild.buildroot.net/results/9a7a9a96f28239f62839a4c0194411b9254cb058 | ORPH sparc64 | ktap-23bc7a4a94bd9e4e1b8b7c... | NOK | http://autobuild.buildroot.net/results/501cfcb1439741632c34681a3c351192abf3cb77 | microblazeel | lftp-4.9.2 | NOK | http://autobuild.buildroot.net/results/c7dcb37548dd95ed4ef686b07f4ba356c1e366c0 | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/83c1595f76b0990b2acd592db9f6f3809875f8e6 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/1593a44b07893373ebefe4ff5722e0789882f525 | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/e59b4204b1f0d69311d00bfdc14ab3999110e5fd | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/4ae0b32647adb7d5364da486c7ab3aeb4882688e | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/03ef48dfb3724154f991f12066991824f62d5583 | ORPH powerpc64le | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/e7da0826a4b1013bfa2bac15d103e3269a94e41e | ORPH aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/61288dfff48a1f8af2cd52eb1df50ce6e17d286b | ORPH aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/02fbd3ce7c45e5926bb080c8cbf102269c156126 | ORPH sparc | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/2cd1fb97efffd0458b669a533bb03a8e389b9c2d | or1k | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/bf7fc1e62f157c094db048c9aa73dd78e27840fd | riscv64 | libndp-1.8 | NOK | http://autobuild.buildroot.net/results/27891ae7a772d5d2639529dfb108e496815c9812 | mips64 | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/e27008fd25d81230f696487f7a4c6c9bd255ea7b | powerpc64le | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/828ff032a70adc0917bb808268bc5e246b2a1d7e | x86_64 | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/32ffa119c4c9e2ad3d5c302bfc41eb1d655f7b0a | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c98bf8ed1316d0ecf8f87330d594d4b96d0bebe5 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4ff5c701b186ce4a7486757b09bd808e74b1f973 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/f17f15e4292d3e41c48dd77f263e28d08b6a2ca1 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a3d08830e3e1b58613e58de451a494174dfbe43d | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9d53c2e93e61dced74f8d4564bba6759ca502b38 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9f42c0a3fd27234c4b095b9d20eef259d080de9c | riscv64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2577ebec2040733c29256caf9a1ed4a540f362a3 | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/675f472a2b9f2abcd4f7b0c2a493e8932f9dc17b | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3a9e287f70a0db26760a6af36aabc6ed671d0ada | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3dacf750379a4b1e931373eb74d2f548acee6e63 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/1e816f326311385dd462036680e4248f17315902 | mips64el | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/c9aa2900bc62b0381be6a7175056e76f16d92592 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/1a2d20b06f28cd86008b1762dff7fbd3a44f87ac | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/aa06aba8b1044ef783abafed599f4ed2c6f1f9f0 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/1875c1efb5aca1d746a0a1008b4e0b2306777ac4 | ORPH xtensa | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/37d6a6845d23c47f828f8c296b258a44b79e4ee6 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/27d57b1dca85835830a0ccb16fa1c77cbfb8e5ab | ORPH sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/5ea94ecaccfc19c7cc6847dddcfe701ffde3715e | ORPH powerpc64le | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/16092f4dbd43e8bd7ae27abd627ae8684c81312e | ORPH m68k | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/6f08c26d64fe0b470187a959d1dd9e8de5fcf4ff | ORPH nios2 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/a7dd32eb3f79387b348bcb0c2e5916e9fcea0176 | ORPH sparc64 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/32648be0642c784ba6af68d57dbab718baa284dc | ORPH xtensa | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/c686c6a59bbeb599043f297bea684d074dfb13cd | ORPH mips | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/c66a4ea79545827c864128420b6bf50d60c52216 | ORPH or1k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/e588473ed237074c497d7435a3aa5b743d36a868 | ORPH i686 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/72c37f9d918daaa59746452d632af3b03d1dd400 | ORPH xtensa | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/95b58bc80e8bddedf3a0e5d2e86eb5987fa9d71f | ORPH x86_64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/438113bbef78e072e5d5e2ba9c62c4e5b66289b9 | ORPH or1k | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/6f8801e40829ea97641ebe7251ff96f043a42072 | ORPH m68k | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/8de7b0e611e92958b5db2c9d8570a8895b28b988 | ORPH mips | linux-tools | NOK | http://autobuild.buildroot.net/results/1ffc04692e6876ba03b366b1d8aa880324202236 | ORPH microblazeel | lttng-babeltrace-1.5.7 | NOK | http://autobuild.buildroot.net/results/88d4fa34323ead702518540dfad6cbcf8c7080bf | sparc | lua-cqueues-20200726 | NOK | http://autobuild.buildroot.net/results/725dc3908f3f974864943a6ef3ae2d9c5a24ccf9 | or1k | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/3904bd6bad405370f27576103f7b59c5d7387656 | aarch64 | monit-5.26.0 | NOK | http://autobuild.buildroot.net/results/c2e706c00eb1ccc86fcf306e723eca03706e17ab | sparc64 | netdata-1.21.1 | NOK | http://autobuild.buildroot.net/results/1d597bd9b6a6a7ee82fb9d75fd4fbed5d947cdbc | riscv32 | netdata-1.21.1 | NOK | http://autobuild.buildroot.net/results/897d6f1425a645667b884739b2ee6f588fd06972 | mips | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/b27a2a884c36666f29c0b863db10059b6359e786 | mips | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/06db28ac6f8eb2011899fc473866f312b1149651 | nios2 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/964d1f9f05093843403c8383fd1902d84299e5bc | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/1fdf6d0e64e3354419b58d64387d84c1fd922725 | riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/471907944d0b0966bf91067748a634cde05e7297 | ORPH mips64 | openblas-0.3.20 | NOK | http://autobuild.buildroot.net/results/f90cd8b506dad53e32db711bc9ae84db8e4577ab | ORPH arm | owfs-3.2p4 | NOK | http://autobuild.buildroot.net/results/9adceef5daab3607f9103af996d7ab22956c8bc1 | x86_64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b775662679b94bc3b66dcd1b5093065d5c014257 | xtensa | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/f61cfeeb6d20a980411ed701300d8674b9b0afbd | microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/731358b2f9969368f3b94804a22efd0919b77d7d | mips64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/43696eda9e22886c87c1dd47a5d46bcadc1846b4 | mips | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/641eeaf88cd9ae1e463be0283845147f697a9a2a | mipsel | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/fb70a9166440e227e5d3bcf4313fa7f72e600cb2 | mips64el | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/595adcd925837d461e91ffcc6a84dc67c5621465 | nios2 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/e1d4f2721aba4cb9148a9706db75798299ee0014 | mipsel | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/d40e3b82bf4871ea75eeebb5db6ef025bd699da4 | x86_64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/e80793c125acfa03cb8ac53654a993ef339cf8d8 | nios2 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/29dea406b0d58225d9b9fce9ade6377aeb411be8 | powerpc64le | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/aae56c25d2947070b0008d7bc6786ed1620bb425 | nios2 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/c17b6cf0105b38f3cc307bd4ba82e34615486a1b | s390x | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/64419b464bff29d5bd8af4bca44f3f4b5b516ce0 | nios2 | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/e8b23fcf06c7d7b8220026fb77f331c39ae3a50f | arceb | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/ab3f6971fa09d5e3ac8467406a93bd71e2e5acbb | mips | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/f7dfb1e5af8fd7805f6721fc5917f1efd5b00568 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/19e8c5955cc137930e3b01b91fc055b688436856 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/7379ac855f82aad82a9993fd00698e62b5d861aa | mips64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/ef2d20804b1aea5e77096bdaecc497022bc29a0e | powerpc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/30abc4983c060623f2e4b9631205be99e521e7eb | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/7ae24367012d9ce702b8a99fe20636d7d834bf9a | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/135b364873042a953a667210c68318bd26212c6e | xtensa | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/76ab44a373072f9feec8c6a01ade2ab877093cbd | s390x | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/3cda255885ab5f9073bd0873e2ff443e1d070e49 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/1a56d6224d0c224e561bf598efe00ea03ad06206 | arc | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/7bf05fb0208fa09543f841ec6e7adc6e4d984b0c | aarch64 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/b096ada6f27a8bd4962cf0ddb2d19973a9ce6861 | mips | qt5webchannel-fa8b07105b5e2... | NOK | http://autobuild.buildroot.net/results/4a9a9b9702380e4fde76897cbbaebfb722b93506 | arc | qt5webkit-5.212.0-alpha4 | NOK | http://autobuild.buildroot.net/results/b1d11e8dc1f646c0d766cbc20e18f7de9d794411 | arm | refpolicy | NOK | http://autobuild.buildroot.net/results/18ba6882362f39f8b0e9b73965eaecd7c038a321 | i686 | refpolicy | NOK | http://autobuild.buildroot.net/results/e2dd0f4df65a40fea59f870fa5926eb97c30b6a6 | m68k | refpolicy | NOK | http://autobuild.buildroot.net/results/48ba7c9b9183ae6ae4add1f54494f939faf2305a | nios2 | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/27471a878ff52a972ac087d534e44fb0c50808f6 | mips64el | shim-15.4 | NOK | http://autobuild.buildroot.net/results/2ce02ccd130816a27cc00bf9406e0596ad52af47 | mips | strace-5.16 | NOK | http://autobuild.buildroot.net/results/0760546595f7334235ab029384658447fa8ca427 | s390x | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/1216dd279742bd568d1e90ab23617a421ffe12c6 | microblaze | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/94d3e999dad5bbea2fcbeb80c980126a2fcc4592 | microblazeel | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/5a83f80b5f3a65d462dd0ada0563bd03fe5a59a6 | sh4aeb | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/cb0647b495f3ab226fd89eb1f275337f53ac37eb | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/2a236985834ed604016e3af26d90cef909a490bb | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/934c057abf8c160f5bf1a9e620c5fda3b2a10039 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/24f1c113c08eb6a850d298dc284f8360c2a5ee32 | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/0a445f0e41deae5124c4aa6b199906f018876ab4 | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/fe080a6ac4e4b11e9d3f8ad596896c2d1214be16 | ORPH i586 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/6d8b777ccd64b77fc27168afa9fbf3ee34a9531f | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/406f927e0ec5c883fadbaf5d99a5999a0d15cf42 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ff2771f4a6e2ad9fdb123010663a71fd2e8cddc2 | ORPH mips64el | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/d0f4614450e3332bf5e9362b93cb224591baf664 | ORPH arceb | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/607131255453da2dc0dab20a24264b3e74001525 | mips | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/f922a4ae0052788e5714eb7701d24d7d09c7ebcc | i686 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/a1c494a619dc1e6252aa3d6a664362a079cb23fa | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f6cb187c6943f20c4d5e59378c8bcfe0f4471daf | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cb2a9b9f62077caa9c0b3173a841109cf0f41924 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/5e4a8d4d93365fa9a6a4feb86e0b632b7d912c96 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a43dea877b37b1dd9a22ee9c23bc0b41a58ca826 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a81568949187976dcddb53fe2c97d3a2d71f6f1c | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f4cd866db6cdb5564cbe59a4f5d16b3d9069d491 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/554788c1c6fc1c77fc91b325c191a1fccb2cb2a7 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/432ef119d9f1167ef9cc8e2d27ae104b0e71b2f8 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/141b10811d7f2ca7869858872bb7532fa667f0b8 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/28cbda3ecede075edc691696bf6f841cc72ee0a8 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f3d7c4baa75b684b35998271372b877a65794b76 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/86122f17c5dc307736d3d9a18e6972901d4eefb6 | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/3964e1d8e5a7ff32cd01928be2e7c1f47afa20a5 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/ce68892e950bc8a02dcbee0b4379962a9f479efb | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/98e0fd0d2a2f1a1526ca90257d1aa4a3ac43aa65 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/323a4cfd00afcfb9c253d45ff54d8dfc5c03d98f | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/a5e1ce60c0e96e149c388ee9530a8a2f90b0adb4 | m68k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/9307aa8e5c7cd878e20958f6ff6a24855d2f3aba | ORPH arm | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ef57c61270bc887bf3cf8338a89b9342dbfc9c09 | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/1cf9de7521ceaa1fb67e70867c10c5acc449028b | ORPH mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/769a4b13c24414502f5efcea4aa6fb4f7f2f613e | ORPH mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3af1dcb75d028fa72d9f35b361300274450998ef | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/f6cf93562b58f789bc77271f15b8270abdd2bbe5 | ORPH sparc | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/af341f3b8f8183a396afc2210c7ebcf84cde99a8 | x86_64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/63ea8f53a1e3a342a8dc37314db8b1c93c79dfbc | x86_64 | xdriver_xf86-video-nouveau-... | NOK | http://autobuild.buildroot.net/results/325d4c0fa7e2cb41e4a8865b0b973373613da8fd | sparc64 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/7b5097debe6a774a5a1fdb4b8c2a9595883ed09c | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/050b157188bb821ab8c8998d5b636066d4c2873a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/98fa23efb1f9c8ecb41cf1bd233a62ff71d2ec15 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4b134036c5a244f465e697f7d1c23f90e20f92e9 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f4f31ac6624315ab4a8584aa064445b5de55473e | ORPH Classification of failures by reason for 2021.02.x -------------------------------------------------- zeromq-4.3.4 | 2 boost-1.75.0 | 1 exempi-2.6.1 | 1 host-sentry-cli-1.57.0 | 1 libcurl-7.79.1 | 1 openal-1.20.1 | 1 perl-net-ssleay-1.85 | 1 unknown | 1 Detail of failures for 2021.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- aarch64 | boost-1.75.0 | NOK | http://autobuild.buildroot.net/results/d8569d41cbfa52a99902b6f9392f9481d31fd940 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/5b5b1a2d70547c4159124c058704952c1428b247 | microblazeel | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/819844ea312f13981ac78a469bf527c0c5080a94 | i586 | libcurl-7.79.1 | NOK | http://autobuild.buildroot.net/results/3c0ef203d0720e35802ff6cefaa17c17a6f2bcac | or1k | openal-1.20.1 | NOK | http://autobuild.buildroot.net/results/d230fca18b26d4db5830fbf21de25211326e6c14 | riscv32 | perl-net-ssleay-1.85 | NOK | http://autobuild.buildroot.net/results/83d60f0c38c4797c409a7ea0187b8cdb66855807 | arm | unknown | NOK | http://autobuild.buildroot.net/results/1c480cab3775d86bf7dba2f2155ebb719244c898 | or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/a29e793401263bd0f785ed28f60ac1e21230c821 | or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/3e0827be57af38889631639b7a7f10b31bc2065c | Classification of failures by reason for 2022.02.x -------------------------------------------------- dhcp-4.4.2-P1 | 2 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/959275e5328ee7a586d2daa868df260fffb817e8 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/038c5a7b9776d9c2b532d9600cfdc4f5b1a070b6 | ORPH Gitlab CI results for 2022-04-07 ================================ Detail of runtime-test failures for 2021.02.12 ---------------------------------------------- runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestInitSystemBusyboxRw | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514578 | ORPH TestLuajitLuaPosix | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514672 | ORPH TestLxc | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514685 | ORPH TestPythonPy3Django | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514776 | ORPH TestRust | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514906 | ORPH -- http://autobuild.buildroot.net From ambi at samba.org Fri Apr 8 07:09:21 2022 From: ambi at samba.org (ambi at samba.org) Date: Fri, 8 Apr 2022 09:09:21 +0200 Subject: [Buildroot] [PATCH 2/2] package/openjdk: enable for host architecture aarch64 In-Reply-To: <20220408070921.1786-1-ambi@samba.org> References: <20220408070921.1786-1-ambi@samba.org> Message-ID: <20220408070921.1786-2-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in index 8b7fd4653e..8fbe51a27f 100644 --- a/package/openjdk/Config.in +++ b/package/openjdk/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS bool default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "aarch64" # Taken from make/autoconf/platform.m4 config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS -- 2.27.0.windows.1 From ambi at samba.org Fri Apr 8 07:09:20 2022 From: ambi at samba.org (ambi at samba.org) Date: Fri, 8 Apr 2022 09:09:20 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 Message-ID: <20220408070921.1786-1-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index bbc939d4e8..58bb646b45 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz +sha256 f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz +sha256 a77013bff10a5e9c59159231dd5c4bd071fc4c24beed42bd49b82803ba9506ef OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.13_8.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 266c93d363..efe90f6e97 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,17 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 endif + +HOST_OPENJDK_BIN_HOST_ARCH := $(shell uname -m) +ifeq ($(HOST_OPENJDK_BIN_HOST_ARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOST_OPENJDK_BIN_HOST_ARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -- 2.27.0.windows.1 From peter at korsgaard.com Fri Apr 8 12:40:34 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 08 Apr 2022 14:40:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: fix build without pod2man In-Reply-To: <20220401170255.540939-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 1 Apr 2022 19:02:55 +0200") References: <20220401170255.540939-1-fontaine.fabrice@gmail.com> Message-ID: <87o81bu4sd.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > udpcast unconditionally build manpages which will raise the following > build failure without pod2man since at least bump to version 20200328 in > commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: > sh: line 1: pod2man: command not found > To fix this issue, rework how udpcast is built and installed to always > build and install the sender or the receiver and never build the > manpages. As a side effect, this will also avoid to install the unneeded > rateGovernor.h > Fixes: > - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Apr 8 12:40:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 08 Apr 2022 14:40:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl In-Reply-To: <20220401165722.540239-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 1 Apr 2022 18:57:22 +0200") References: <20220401165722.540239-1-fontaine.fabrice@gmail.com> Message-ID: <87k0bzu4rx.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libdbi-drivers raised since bump to > version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: > configure: error: Package requirements (libpq) were not met: > Package 'libssl', required by 'libpq', not found > Package 'libcrypto', required by 'libpq', not found > Fixes: > - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Apr 8 12:39:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 8 Apr 2022 14:39:14 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/postgresql: fix pkg-config without openssl Message-ID: <20220408123554.164148371A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ef40ad9e3c22b7ff5d42d4c1583b4a6c15870e81 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libdbi-drivers raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: configure: error: Package requirements (libpq) were not met: Package 'libssl', required by 'libpq', not found Package 'libcrypto', required by 'libpq', not found Fixes: - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit e3b8d098e4809f4cf20d88cce3d00479da25bfa6) Signed-off-by: Peter Korsgaard --- ...0001-libpq-Fix-pkg-config-without-OpenSSL.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch new file mode 100644 index 0000000000..90b0577a20 --- /dev/null +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch @@ -0,0 +1,34 @@ +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 +From: Peter Eisentraut +Date: Fri, 1 Apr 2022 17:12:56 +0200 +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL + +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. + +Author: Fabrice Fontaine +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com +[Retrieved from: +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] +Signed-off-by: Fabrice Fontaine +--- + src/interfaces/libpq/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile +index 89bf5e0126..b5fd72a4ac 100644 +--- a/src/interfaces/libpq/Makefile ++++ b/src/interfaces/libpq/Makefile +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport + + SHLIB_EXPORTS = exports.txt + ++ifeq ($(with_ssl),openssl) + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto ++endif + + all: all-lib libpq-refs-stamp + +-- +2.30.2 + From peter at korsgaard.com Fri Apr 8 12:39:35 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 8 Apr 2022 14:39:35 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/udpcast: fix build without pod2man Message-ID: <20220408123554.23E70836F7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ac463b65f3e57fcdd0340be47e97bb7d4838643 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x udpcast unconditionally build manpages which will raise the following build failure without pod2man since at least bump to version 20200328 in commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: sh: line 1: pod2man: command not found To fix this issue, rework how udpcast is built and installed to always build and install the sender or the receiver and never build the manpages. As a side effect, this will also avoid to install the unneeded rateGovernor.h Fixes: - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit b49e3da1abf3a6c8affac08089311fc6590f54d0) Signed-off-by: Peter Korsgaard --- package/udpcast/Config.in | 2 ++ package/udpcast/udpcast.mk | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/package/udpcast/Config.in b/package/udpcast/Config.in index ef94b30a99..cc38c6e57c 100644 --- a/package/udpcast/Config.in +++ b/package/udpcast/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_UDPCAST bool "udpcast" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UDPCAST_SENDER \ + if !BR2_PACKAGE_UDPCAST_RECEIVER help A multicast protocol implementation which happens to be very handy for imaging drives over the network. diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 34ebddd2d5..4c151bb41f 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -9,23 +9,15 @@ UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ UDPCAST_LICENSE_FILES = COPYING +UDPCAST_TARGETS = \ + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) -define UDPCAST_REMOVE_UDP_SENDER - rm -f $(TARGET_DIR)/usr/sbin/udp-sender - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 +define UDPCAST_INSTALL_TARGET_CMDS + $(foreach f,$(UDPCAST_TARGETS),\ + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) + ) endef -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER -endif - -define UDPCAST_REMOVE_UDP_RECEIVER - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 -endef - -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER -endif - $(eval $(autotools-package)) From br015 at umbiko.net Fri Apr 8 13:22:59 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Fri, 08 Apr 2022 13:22:59 +0000 Subject: [Buildroot] [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages In-Reply-To: References: <20220331132230.227424-1-br015@umbiko.net> Message-ID: <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> Hi Arnout, Thank you for taking a look. On 2022-04-04 17:38, Arnout Vandecappelle wrote: > On 31/03/2022 15:22, Andreas Ziegler wrote: >> Background >> During configuration, the meson build system tries to determine the >> availability of optional dependencies using (host) pkgconfig and cmake >> in that >> order. If a library does not exist on the target, pkg-config will >> fail, but >> cmake sometimes finds and reports libraries that exist as host >> packages. This >> has been observed for host-expat (cmake dependency) and host-zlib. The >> link >> step subsequently fails, because necessary files are not present in >> the target >> architecture. >> >> Unconditionally disable optional features often found in host binaries >> and >> modify the menu selection processing in mpd.mk to re-enable them where >> necessary. Currently this concerns expat and zlib only. >> >> This fixes the following build errors: >> >> [expat] >> /home/data/buildroot.x86_64/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.2.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: >> warning: libc.so.6, needed by >> /home/data/buildroot.x86_64/host/lib/libexpat.so.1.8.7, not found (try >> using -rpath or -rpath-link) >> /home/data/buildroot.x86_64/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.2.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: >> /home/data/buildroot.x86_64/host/lib/libexpat.so.1.8.7: undefined >> reference to `__errno_location at GLIBC_2.2.5' >> >> [zlib] >> http://autobuild.buildroot.net/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ >> >> Signed-off-by: Andreas Ziegler >> --- >> package/mpd/mpd.mk | 11 +++++++++-- >> 1 file changed, 9 insertions(+), 2 deletions(-) >> >> diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk >> index 12da36098f..4e67c9428c 100644 >> --- a/package/mpd/mpd.mk >> +++ b/package/mpd/mpd.mk >> @@ -14,6 +14,7 @@ MPD_LICENSE_FILES = COPYING >> # these refer to the FreeBSD PPP daemon >> MPD_IGNORE_CVES = CVE-2020-7465 CVE-2020-7466 >> MPD_SELINUX_MODULES = mpd >> +# These features are either unwanted or not selectable via the >> Buildroot menu >> MPD_CONF_OPTS = \ >> -Daudiofile=disabled \ >> -Ddocumentation=disabled \ >> @@ -21,6 +22,12 @@ MPD_CONF_OPTS = \ >> -Dpipewire=disabled \ >> -Dsnapcast=false >> +# Explicitly disable features where meson's dependency detection >> picks up host >> +# libraries. These settings can be overridden through menu options >> later >> +MPD_CONF_OPTS += \ >> + -Dexpat=disabled \ >> + -Dzlib=disabled > > It would be better to make these automatic conditional dependencies, > like it's done for ICU. Good idea, but inclusion of ICU should be initiated by Config.in, like every other feature. >> + >> # Zeroconf support depends on libdns_sd from avahi. >> ifeq ($(BR2_PACKAGE_MPD_AVAHI_SUPPORT),y) >> MPD_DEPENDENCIES += avahi >> @@ -300,11 +307,11 @@ ifeq ($(BR2_PACKAGE_MPD_UPNP_PUPNP),y) >> MPD_DEPENDENCIES += \ >> expat \ > > That would also allow to remove this (it will be done implicitly > since expat is selected in Config.in and the automatic dependency will > add it). > >> libupnp >> -MPD_CONF_OPTS += -Dupnp=pupnp >> +MPD_CONF_OPTS += -Dupnp=pupnp -Dexpat=enabled >> else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y) >> MPD_DEPENDENCIES += \ >> libnpupnp >> -MPD_CONF_OPTS += -Dupnp=npupnp >> +MPD_CONF_OPTS += -Dupnp=npupnp -Dexpat=enabled > > This is wrong: no dependency on expat is added so expat may not even > be selected or built at this point. Actually, the dependency is inherited from libnpupnp, but you are right, this handling is not intuitive. > Marked as Changes Requested. Outline of the proposed next version of this change: [I did not want to make so many changes, but you are right, it makes sense.] Separate logic from implementation: Remove feature dependencies from mpd.mk and put selection logic into Config.in exclusively. In the makefile, a feature is responsible only to select or deselect its configure option and, if this feature relies on a library, add a dependency on this. Duplicated selection logic in mpd.mk will be eliminated. A build dependency will only be added if it is present in the mpd configuration, and not be inherited accidentally from concurrent packages. This impacts the following features: expat, id3tag, yajl. id3tag already is half implemented, but not used consistently (has an option entry in Config.in, but does not select this, but handles dependencies individually). expat and yajl would be created as hidden options without visibility (no user interaction necessary). Separate vorbis decoder and encoder options; currently the decoder feature BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis encoding, which is probably not intended. Create entry 'unicode' for ICU in Config.in. Set zlib to disabled (not used currently). Thoughts? Kind regards, Andreas > Regards, > Arnout > >> else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y) >> MPD_CONF_OPTS += -Dupnp=disabled >> endif From nealf at xilinx.com Fri Apr 8 13:49:23 2022 From: nealf at xilinx.com (Neal Frager) Date: Fri, 8 Apr 2022 13:49:23 +0000 Subject: [Buildroot] [PATCH v1 1/1] configs/zynq_qmtech_defconfig: move post-image.sh to board/qmtech/zynq In-Reply-To: <18ef2499-bc59-7403-84d9-2cee63998ef7@mind.be> References: <20220331192030.3871720-1-neal.frager@amd.com> <18ef2499-bc59-7403-84d9-2cee63998ef7@mind.be> Message-ID: Hi Arnout, > Since you're not actually making any change that makes a difference between the qmtech and other zynq boards, I don't see the point. In the other mail you mention something like "because the device tree is not in mainline", but that doesn't really > change anything, does it? Other then maybe the device tree having a different name, but that's already handled by the script. > Instead of forking, it would be preferable to still use the same script and genimage but just make it configurable. > That said, making things configurable may also unnecessarily complicate things. It's a difficult balance to make. And impossible for me to evaluate without seeing what changes need to be made to the other zynq scripts. > So, for now I've marked it as Rejected. Feel free to re-post as part of a series that also updates the zynq defconfigs, or replace it with a patch that makes board/zynq/genimage.cfg configurable in the way it needs to be. I have found a better solution for this where we no longer need to fork the qmtech board to a separate post-image.sh. My new patch set updating all 4 zynq boards is coming shortly as soon as I finish my test and verification. Best regards, Neal Frager AMD > > Signed-off-by: Neal Frager > --- > board/qmtech/zynq/genimage.cfg | 27 +++++++++++++++++++++++++++ > board/qmtech/zynq/post-image.sh | 13 +++++++++++++ > configs/zynq_qmtech_defconfig | 2 +- > 3 files changed, 41 insertions(+), 1 deletion(-) > create mode 100644 board/qmtech/zynq/genimage.cfg > create mode 100755 board/qmtech/zynq/post-image.sh > > diff --git a/board/qmtech/zynq/genimage.cfg > b/board/qmtech/zynq/genimage.cfg new file mode 100644 index > 0000000000..67baca795e > --- /dev/null > +++ b/board/qmtech/zynq/genimage.cfg > @@ -0,0 +1,27 @@ > +image boot.vfat { > + vfat { > + files = { > + "boot.bin", > + "u-boot.img", > + "devicetree.dtb", > + "uImage" > + } > + > + file uramdisk.image.gz { > + image = "rootfs.cpio.uboot" > + } > + } > + > + size = 32M > +} > + > +image sdcard.img { > + hdimage { > + } > + > + partition boot { > + partition-type = 0xC > + bootable = "true" > + image = "boot.vfat" > + } > +} > diff --git a/board/qmtech/zynq/post-image.sh > b/board/qmtech/zynq/post-image.sh new file mode 100755 index > 0000000000..54c5493b4e > --- /dev/null > +++ b/board/qmtech/zynq/post-image.sh > @@ -0,0 +1,13 @@ > +#!/bin/sh > + > +# By default U-Boot loads DTB from a file named "devicetree.dtb", so > +# let's use a symlink with that name that points to the *first* # > +devicetree listed in the config. > + > +FIRST_DT=$(sed -n \ > + 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \ > + ${BR2_CONFIG}) > + > +[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb > +${BINARIES_DIR}/devicetree.dtb > + > +support/scripts/genimage.sh -c board/qmtech/zynq/genimage.cfg > diff --git a/configs/zynq_qmtech_defconfig > b/configs/zynq_qmtech_defconfig index 4db3f68b1f..dc3b22c876 100644 > --- a/configs/zynq_qmtech_defconfig > +++ b/configs/zynq_qmtech_defconfig > @@ -5,7 +5,7 @@ BR2_ARM_ENABLE_VFP=y > BR2_GLOBAL_PATCH_DIR="board/qmtech/zynq/patches" > BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y > BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" > -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qmtech/zynq/post-image.sh" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xilinx-v2019.2.01)/linux-xilinx-v2019.2.01.tar.gz" From neal.frager at amd.com Fri Apr 8 14:55:30 2022 From: neal.frager at amd.com (Neal Frager) Date: Fri, 8 Apr 2022 08:55:30 -0600 Subject: [Buildroot] [PATCH v1 3/4] configs/zynq_microzed_defconfig: bump to Xilinx 2021.2 In-Reply-To: <20220408145531.1641356-1-neal.frager@amd.com> References: <20220408145531.1641356-1-neal.frager@amd.com> Message-ID: <20220408145531.1641356-3-neal.frager@amd.com> This patch bumps configs/zynq_microzed_defconfig to Xilinx software release 2021.2 which includes the following updates: - U-Boot bumped to 2021.01 - Linux bumped to 5.10 - rootfs changed from CPIO to EXT4 - extlinux.conf for distro boot support This patch has been build tested only. This patch is dependent on the configs/zynq_zc706_defconfig patch. Signed-off-by: Neal Frager --- board/zynq/microzed/uboot.fragment | 1 + configs/zynq_microzed_defconfig | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 board/zynq/microzed/uboot.fragment diff --git a/board/zynq/microzed/uboot.fragment b/board/zynq/microzed/uboot.fragment new file mode 100644 index 0000000000..bc4dffaffa --- /dev/null +++ b/board/zynq/microzed/uboot.fragment @@ -0,0 +1 @@ +CONFIG_DEFAULT_DEVICE_TREE="zynq-microzed" diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig index 1bb11fee7e..f1f98086a8 100644 --- a/configs/zynq_microzed_defconfig +++ b/configs/zynq_microzed_defconfig @@ -2,26 +2,28 @@ BR2_arm=y BR2_cortex_a9=y BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xilinx-v2017.3)/linux-xilinx-v2017.3.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xlnx_rebase_v5.10_2021.2" BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed" -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-microzed" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_microzed" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xlnx_rebase_v2021.01_2021.2" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynq/microzed/uboot.fragment" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_FORMAT_IMG=y -- 2.17.1 From havran.jan at email.cz Fri Apr 8 17:39:11 2022 From: havran.jan at email.cz (Jan Havran) Date: Fri, 8 Apr 2022 19:39:11 +0200 Subject: [Buildroot] [PATCH 1/1] board/pine64/pinecube: new board Message-ID: Add support for PineCube with: - U-Boot 2022.01 - Linux 5.15 Signed-off-by: Jan Havran --- DEVELOPERS | 4 +++ board/pine64/pinecube/boot.cmd | 6 ++++ board/pine64/pinecube/genimage.cfg | 34 +++++++++++++++++++++ board/pine64/pinecube/readme.txt | 31 ++++++++++++++++++++ configs/pinecube_defconfig | 47 ++++++++++++++++++++++++++++++ 5 files changed, 122 insertions(+) create mode 100644 board/pine64/pinecube/boot.cmd create mode 100644 board/pine64/pinecube/genimage.cfg create mode 100644 board/pine64/pinecube/readme.txt create mode 100644 configs/pinecube_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index a66b9d7eee..d418a1af99 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1356,6 +1356,10 @@ F: package/pangomm/ F: package/rpm/ F: package/yad/ +N: Jan Havran +F: board/pine64/pinecube/ +F: configs/pinecube_defconfig + N: Jan Heylen F: package/opentracing-cpp/ diff --git a/board/pine64/pinecube/boot.cmd b/board/pine64/pinecube/boot.cmd new file mode 100644 index 0000000000..d8b62e0b4a --- /dev/null +++ b/board/pine64/pinecube/boot.cmd @@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait rw + +fatload mmc 0 $kernel_addr_r zImage +fatload mmc 0 $fdt_addr_r sun8i-s3-pinecube.dtb + +bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/pine64/pinecube/genimage.cfg b/board/pine64/pinecube/genimage.cfg new file mode 100644 index 0000000000..af175811ad --- /dev/null +++ b/board/pine64/pinecube/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-s3-pinecube.dtb", + "boot.scr" + } + } + + size = 8M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 504K # 512KB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/board/pine64/pinecube/readme.txt b/board/pine64/pinecube/readme.txt new file mode 100644 index 0000000000..7770bbfe42 --- /dev/null +++ b/board/pine64/pinecube/readme.txt @@ -0,0 +1,31 @@ +Intro +===== + +This directory contains a Buildroot configuration for building a +Pine64 PineCube. + +Board homepage: https://www.pine64.org/cube/ +Board wiki: https://wiki.pine64.org/wiki/PineCube + +How to build it +=============== + + $ make pinecube_defconfig + $ make + +Note: you will need access to the internet to download the required +sources. + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sudo sync + +Insert the micro SDcard in your PineCube and power it up. The console +is on the serial port 2, 115200 8N1 (check Wiki for board pinout). diff --git a/configs/pinecube_defconfig b/configs/pinecube_defconfig new file mode 100644 index 0000000000..1064167d8e --- /dev/null +++ b/configs/pinecube_defconfig @@ -0,0 +1,47 @@ +# Target options +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Toolchain options +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="pinecube" +BR2_TARGET_GENERIC_ISSUE="Welcome to PINECUBE" +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/pinecube/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-s3-pinecube" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pinecube" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/pine64/pinecube/boot.cmd" + +# Required host utilities for building an SDCard image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y -- 2.35.1 From james.hilliard1 at gmail.com Fri Apr 8 21:18:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 8 Apr 2022 15:18:43 -0600 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 In-Reply-To: <20220408070921.1786-1-ambi@samba.org> References: <20220408070921.1786-1-ambi@samba.org> Message-ID: On Fri, Apr 8, 2022 at 1:10 AM Christian Ambach via buildroot wrote: > > From: Christian Ambach > > Signed-off-by: Christian Ambach > --- > package/openjdk-bin/openjdk-bin.hash | 2 ++ > package/openjdk-bin/openjdk-bin.mk | 11 ++++++++++- > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash > index bbc939d4e8..58bb646b45 100644 > --- a/package/openjdk-bin/openjdk-bin.hash > +++ b/package/openjdk-bin/openjdk-bin.hash > @@ -1,8 +1,10 @@ > # https://github.com/adoptium/temurin17-binaries/releases > sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz > +sha256 f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz > > # From https://github.com/adoptium/temurin11-binaries/releases > sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz > +sha256 a77013bff10a5e9c59159231dd5c4bd071fc4c24beed42bd49b82803ba9506ef OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.13_8.tar.gz > > # Locally calculated > sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE > diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk > index 266c93d363..efe90f6e97 100644 > --- a/package/openjdk-bin/openjdk-bin.mk > +++ b/package/openjdk-bin/openjdk-bin.mk > @@ -11,8 +11,17 @@ else > HOST_OPENJDK_BIN_VERSION_MAJOR = 11 > HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 > endif > + > +HOST_OPENJDK_BIN_HOST_ARCH := $(shell uname -m) Just use HOSTARCH instead like this: https://github.com/buildroot/buildroot/blob/8f3cfe41961d83a9c01630f241bf045e3aa59b40/package/rustc/rustc.mk#L14 > +ifeq ($(HOST_OPENJDK_BIN_HOST_ARCH),x86_64) > +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 > +endif > +ifeq ($(HOST_OPENJDK_BIN_HOST_ARCH),aarch64) > +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 > +endif > + > HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) > -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) > > HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception > -- > 2.27.0.windows.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From james.hilliard1 at gmail.com Fri Apr 8 21:20:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 8 Apr 2022 15:20:43 -0600 Subject: [Buildroot] [PATCH 1/1] package/wayland: bump to version 1.20.0 Message-ID: <20220408212043.3856376-1-james.hilliard1@gmail.com> Drop patches that are now upstream. Signed-off-by: James Hilliard --- ...01-build-add-option-to-disable-tests.patch | 58 ------------------ ...002-meson-only-require-cpp-for-tests.patch | 59 ------------------- package/wayland/wayland.hash | 6 +- package/wayland/wayland.mk | 2 +- 4 files changed, 4 insertions(+), 121 deletions(-) delete mode 100644 package/wayland/0001-build-add-option-to-disable-tests.patch delete mode 100644 package/wayland/0002-meson-only-require-cpp-for-tests.patch diff --git a/package/wayland/0001-build-add-option-to-disable-tests.patch b/package/wayland/0001-build-add-option-to-disable-tests.patch deleted file mode 100644 index 5ecf100d64..0000000000 --- a/package/wayland/0001-build-add-option-to-disable-tests.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 88f1605a826ca0c2ff02be6f4cf9ecabf68e8341 Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Tue, 3 Mar 2020 15:27:51 -0700 -Subject: [PATCH] build: add option to disable tests - -When building for a product, tests are not needed. - -Besides, one test requires a C++ compiler, which is not always -available. - -So, add an option to configure to disable building tests altogether. - -Signed-off-by: "Yann E. MORIN" -Signed-off-by: Alexey Brodkin -Signed-off-by: James Hilliard -[Upstream status: -https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66] -Signed-off-by: Adrian Perez de Castro -[yann.morin.1998 at free.fr: backport from upstream] -Signed-off-by: Yann E. MORIN ---- - meson.build | 4 +++- - meson_options.txt | 4 ++++ - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index cdb66bc..714a86d 100644 ---- a/meson.build -+++ b/meson.build -@@ -84,7 +84,9 @@ subdir('src') - if get_option('libraries') - subdir('cursor') - subdir('egl') -- subdir('tests') -+ if get_option('tests') -+ subdir('tests') -+ endif - if get_option('documentation') - subdir('doc') - endif -diff --git a/meson_options.txt b/meson_options.txt -index de588d1..4433fa0 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -6,6 +6,10 @@ option('scanner', - description: 'Compile wayland-scanner binary', - type: 'boolean', - value: 'true') -+option('tests', -+ description: 'Compile Wayland tests', -+ type: 'boolean', -+ value: 'true') - option('documentation', - description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)', - type: 'boolean', --- -2.25.1 - diff --git a/package/wayland/0002-meson-only-require-cpp-for-tests.patch b/package/wayland/0002-meson-only-require-cpp-for-tests.patch deleted file mode 100644 index 84d0e4cf6f..0000000000 --- a/package/wayland/0002-meson-only-require-cpp-for-tests.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 4c2105312379b62dc84f6eaaf26e2ab293d51b92 Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Fri, 16 Apr 2021 02:32:38 -0600 -Subject: [PATCH] meson: only require cpp for tests - -Signed-off-by: James Hilliard -[Upstream status: -https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/130] -Signed-off-by: Adrian Perez de Castro -[yann.morin.1998 at free.fr: backport from upstream] -Signed-off-by: Yann E. MORIN ---- - meson.build | 2 +- - tests/meson.build | 16 +++++++++------- - 2 files changed, 10 insertions(+), 8 deletions(-) - -diff --git a/meson.build b/meson.build -index 12b4641..cdb66bc 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,5 +1,5 @@ - project( -- 'wayland', 'c', 'cpp', -+ 'wayland', 'c', - version: '1.19.0', - license: 'MIT', - meson_version: '>= 0.52.1', -diff --git a/tests/meson.build b/tests/meson.build -index a32ac50..2e11af4 100644 ---- a/tests/meson.build -+++ b/tests/meson.build -@@ -64,15 +64,17 @@ executable( - dependencies: test_runner_dep - ) - --test( -- 'cpp-compile-test', -- executable( -+if add_languages('cpp') -+ test( - 'cpp-compile-test', -- 'cpp-compile-test.cpp', -- wayland_server_protocol_h, -- include_directories: src_inc -+ executable( -+ 'cpp-compile-test', -+ 'cpp-compile-test.cpp', -+ wayland_server_protocol_h, -+ include_directories: src_inc -+ ) - ) --) -+endif - - sed_path = find_program('sed').path() - --- -2.31.1 - diff --git a/package/wayland/wayland.hash b/package/wayland/wayland.hash index e9dcb63a90..cd4cb1a474 100644 --- a/package/wayland/wayland.hash +++ b/package/wayland/wayland.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2021-January/041692.html -sha256 baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15 wayland-1.19.0.tar.xz -sha512 d8a86f5e23e4a88e7c84b82fdb51eb350419086afe462ecb2f4d5c3ba9290ede310cbbcffd60215219ddccf5bad4adec21a5ebfbef6577200f66ac7a1b64a5ef wayland-1.19.0.tar.xz +# From https://lists.freedesktop.org/archives/wayland-devel/2021-December/042064.html +sha256 b8a034154c7059772e0fdbd27dbfcda6c732df29cae56a82274f6ec5d7cd8725 wayland-1.20.0.tar.xz +sha512 e8a1f410994b947f850799bdd0d95a2429d8467f853e62a0ab3915a4e9fe130f8aa977e03715114ab740c6ec546edea63d275ce7f927d4f3029ea126e6a7d215 wayland-1.20.0.tar.xz # Locally calculated sha256 6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061 COPYING diff --git a/package/wayland/wayland.mk b/package/wayland/wayland.mk index ecfe95d68a..4c19875bba 100644 --- a/package/wayland/wayland.mk +++ b/package/wayland/wayland.mk @@ -4,7 +4,7 @@ # ################################################################################ -WAYLAND_VERSION = 1.19.0 +WAYLAND_VERSION = 1.20.0 WAYLAND_SITE = https://wayland.freedesktop.org/releases WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz WAYLAND_LICENSE = MIT -- 2.25.1 From james.hilliard1 at gmail.com Fri Apr 8 23:56:05 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 8 Apr 2022 17:56:05 -0600 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: <20220405211250.GJ2354230@scaer> References: <20220405025054.966064-1-james.hilliard1@gmail.com> <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> <20220405211250.GJ2354230@scaer> Message-ID: On Tue, Apr 5, 2022 at 3:12 PM Yann E. MORIN wrote: > > James, All, > > On 2022-04-05 14:09 -0600, James Hilliard spake thusly: > > On Tue, Apr 5, 2022 at 11:19 AM Arnout Vandecappelle wrote: > > > On 05/04/2022 04:50, James Hilliard wrote: > > > > Fixes: > > > > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > > > > make: *** [Makefile:84: _all] Error 2 > > > How do you get this? I've tried a number of configurations, but I always get > > > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > > > make: *** [Makefile:84: _all] Error 2 > > > I could only reproduce with `make source`, but that's a bit a special case. > > > > Something like this seems to hit it: > > BR2_LINUX_KERNEL_EXT_AUFS=y > > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > > BR2_PACKAGE_AUFS=y > > BR2_PACKAGE_AUFS_SERIES=4 > > BR2_PACKAGE_AUFS_VERSION="" > > # BR2_PACKAGE_AUFS_UTIL is not set > > This still produces the expected error that Arnout reported: > > $ make qemu_m68k_q800_defconfig # just for a config with a kernel > > $ cat <<_EOF_ >>.config > BR2_LINUX_KERNEL_EXT_AUFS=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > BR2_PACKAGE_AUFS=y > BR2_PACKAGE_AUFS_SERIES=4 > BR2_PACKAGE_AUFS_VERSION="" > # BR2_PACKAGE_AUFS_UTIL is not set > _EOF_ > > $ make olddefconfig > > $ grep AUFS .config > BR2_LINUX_KERNEL_EXT_AUFS=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > BR2_PACKAGE_AUFS=y > BR2_PACKAGE_AUFS_SERIES=4 > BR2_PACKAGE_AUFS_VERSION="" > # BR2_PACKAGE_AUFS_UTIL is not set > > $ make You need to do make savedefconfig here for it to reproduce: $ make savedefconfig package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. make: *** [Makefile:84: _all] Error 2 > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > make: *** [Makefile:23: _all] Error 2 > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' From neal.frager at amd.com Fri Apr 8 14:55:31 2022 From: neal.frager at amd.com (Neal Frager) Date: Fri, 8 Apr 2022 08:55:31 -0600 Subject: [Buildroot] [PATCH v1 4/4] configs/zynq_qmtech_defconfig: bump to ext4 and distro boot In-Reply-To: <20220408145531.1641356-1-neal.frager@amd.com> References: <20220408145531.1641356-1-neal.frager@amd.com> Message-ID: <20220408145531.1641356-4-neal.frager@amd.com> This patch includes the following updates for configs/zynq_qmtech_defconfig: - rootfs changed from CPIO to EXT4 - extlinux.conf for distro boot support - enables support for host machines without OpenSSL required by U-Boot and Linux This patch is necessary to support the new board/zynq/post-image.sh. This patch has been build tested only. This patch is dependent on the configs/zynq_zc706_defconfig patch. Signed-off-by: Neal Frager --- configs/zynq_qmtech_defconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configs/zynq_qmtech_defconfig b/configs/zynq_qmtech_defconfig index 4db3f68b1f..f536b80f57 100644 --- a/configs/zynq_qmtech_defconfig +++ b/configs/zynq_qmtech_defconfig @@ -5,6 +5,7 @@ BR2_ARM_ENABLE_VFP=y BR2_GLOBAL_PATCH_DIR="board/qmtech/zynq/patches" BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y @@ -14,9 +15,9 @@ BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-qmtech" -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -- 2.17.1 From james.hilliard1 at gmail.com Sat Apr 9 02:07:19 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 8 Apr 2022 20:07:19 -0600 Subject: [Buildroot] [PATCH 1/1] package/binutils: disable 2.32 on unuspported FLAT platforms Message-ID: <20220409020719.3126086-1-james.hilliard1@gmail.com> These architectures are unsupported in config.bfd: https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/config.bfd;h=0e1ddb659c3ab7160aab0a7c173b85052f870e65;hb=a9d9a104dde6a749f40ce5c4576a0042a7d52d1f Fixes: - http://autobuild.buildroot.net/results/332/33277d4687ca9a04dbfb02c50e5755ff9e55b0b4 - http://autobuild.buildroot.net/results/5e3/5e34d11393e14fc36fd6e72b69679bc4fd1e3798 - http://autobuild.buildroot.net/results/63d/63d01d33ae30f86b63b9f42a9fea116f2f3e9005 - http://autobuild.buildroot.net/results/45b/45bc90fd2dde7bb201d7f999db1a8024cf889a06 - http://autobuild.buildroot.net/results/d1b/d1b1dfe449f82944bd48215da3cdffd05797e2e9 - http://autobuild.buildroot.net/results/a3e/a3eb1ff6bf6357242ec7993db63e57d4afeccc7b - http://autobuild.buildroot.net/results/f4d/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20 Signed-off-by: James Hilliard --- package/binutils/Config.in.host | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index ea1f020989..e1c59bfbd0 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -15,6 +15,13 @@ choice config BR2_BINUTILS_VERSION_2_32_X bool "binutils 2.32" depends on !BR2_csky + depends on !(BR2_aarch64 && BR2_BINFMT_FLAT) + depends on !(BR2_aarch64_be && BR2_BINFMT_FLAT) + depends on !(BR2_sh2a && BR2_BINFMT_FLAT) + depends on !(BR2_sh4 && BR2_BINFMT_FLAT) + depends on !(BR2_sh4a && BR2_BINFMT_FLAT) + depends on !(BR2_sh4aeb && BR2_BINFMT_FLAT) + depends on !(BR2_sh4eb && BR2_BINFMT_FLAT) config BR2_BINUTILS_VERSION_2_35_X bool "binutils 2.35.2" -- 2.25.1 From neal.frager at amd.com Fri Apr 8 14:55:29 2022 From: neal.frager at amd.com (Neal Frager) Date: Fri, 8 Apr 2022 08:55:29 -0600 Subject: [Buildroot] [PATCH v1 2/4] configs/zynq_zed_defconfig: bump to Xilinx 2021.2 In-Reply-To: <20220408145531.1641356-1-neal.frager@amd.com> References: <20220408145531.1641356-1-neal.frager@amd.com> Message-ID: <20220408145531.1641356-2-neal.frager@amd.com> This patch bumps configs/zynq_zed_defconfig to Xilinx software release 2021.2 which includes the following updates: - U-Boot bumped to 2021.01 - Linux bumped to 5.10 - rootfs changed from CPIO to EXT4 - extlinux.conf for distro boot support This patch has been build tested only. This patch is dependent on the configs/zynq_zc706_defconfig patch. Signed-off-by: Neal Frager --- board/zynq/zed/uboot.fragment | 1 + configs/zynq_zed_defconfig | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 board/zynq/zed/uboot.fragment diff --git a/board/zynq/zed/uboot.fragment b/board/zynq/zed/uboot.fragment new file mode 100644 index 0000000000..d58fcd5439 --- /dev/null +++ b/board/zynq/zed/uboot.fragment @@ -0,0 +1 @@ +CONFIG_DEFAULT_DEVICE_TREE="zynq-zed" diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig index a215695b54..c4d95f20b7 100644 --- a/configs/zynq_zed_defconfig +++ b/configs/zynq_zed_defconfig @@ -2,26 +2,28 @@ BR2_arm=y BR2_cortex_a9=y BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xlnx_rebase_v5.10_2021.2" +BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed" -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zed" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xlnx_rebase_v2021.01_2021.2" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynq/zed/uboot.fragment" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_FORMAT_IMG=y -- 2.17.1 From thomas.petazzoni at bootlin.com Sat Apr 9 04:39:40 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 09 Apr 2022 04:39:40 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-08 Message-ID: <20220409043947.32E5B84307@smtp1.osuosl.org> Hello, Autobuild statistics for 2022-04-08 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 17 | 4 | 0 | 21 | master | 224 | 470 | 1 | 695 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 35 host-util-linux-2.38 | 34 dhcp-4.4.2-P1 | 24 host-gcc-final-10.3.0 | 22 libopenssl-1.1.1n | 18 uclibc-1.0.40 | 17 argp-standalone-1.3 | 16 host-elf2flt-7e33f28df198c4... | 14 fetchmail-6.4.29 | 12 git-2.31.1 | 12 zlib-ng-2.0.6 | 11 libressl-3.4.3 | 10 host-gcc-final-9.4.0 | 7 linux-5.15.30 | 7 elfutils-0.186 | 5 glibc-2.34-109-gd64b08d5ba7... | 5 perl-5.34.1 | 5 python3-3.10.2 | 5 refpolicy | 5 unknown | 5 host-gcc-initial-10.3.0 | 4 linux-headers-5.15.30 | 4 qpid-proton-0.35.0 | 4 toolchain-external-bootlin-... | 4 util-linux-2.38 | 4 aircrack-ng-1.6 | 3 azmq-1.0.3 | 3 belr-4.4.8 | 3 cairo-1.16.0 | 3 dash-0.5.11.5 | 3 host-gdb-arc-2020.09-releas... | 3 libeXosip2-5.3.0 | 3 libgcrypt-1.10.0 | 3 libglib2-2.70.4 | 3 libuhttpd-3.14.1 | 3 linux-headers-5.10.104-cip3 | 3 linux-headers-5.10.104-cip3... | 3 toolchain-external-bootlin | 3 uacme-1.7.1 | 3 vde2-2.3.2 | 3 acpid-2.0.33 | 2 arptables-0.0.5 | 2 atest-895b0183a89c15f5e2305... | 2 aufs-util | 2 bat-0.19.0 | 2 expat-2.4.7 | 2 freeradius-client-1.1.7 | 2 frr-8.2.2 | 2 fs/ext2/ext2.mk:65: /nvmeda... | 2 gst1-plugins-bad-1.20.1 | 2 host-gcc-final-11.2.0 | 2 host-go-1.17.8 | 2 libcap-ng-0.8.3 | 2 libgpg-error-1.42 | 2 libnspr-4.33 | 2 linux-tools | 2 minizip-3.0.5 | 2 mpd-0.23.6 | 2 nodejs-14.18.3 | 2 rtl8723bs-11ab92d8ccd71c80f... | 2 toolchain-external-codescap... | 2 valgrind-3.18.1 | 2 vlc-3.0.16 | 2 4th-3.64.0 | 1 acpitool-0.5.1 | 1 apcupsd-3.14.14 | 1 arp-scan-1.9.7 | 1 assimp-5.2.1 | 1 batman-adv-2021.4 | 1 bitcoin-0.21.2 | 1 boinc-7.18.1 | 1 brltty-6.4 | 1 btrfs-progs-5.16.2 | 1 bubblewrap-0.6.1 | 1 cc-tool-0.27 | 1 clamav-0.103.5 | 1 dhcpdump-1.8 | 1 diffutils-3.8 | 1 dmalloc-5.6.5 | 1 docker-cli-20.10.14 | 1 dropbear-2020.81 | 1 duktape-2.7.0 | 1 e2fsprogs-1.46.5 | 1 erofs-utils-1.4 | 1 flannel-0.14.0 | 1 fluidsynth-2.2.6 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubi/ubi.mk:51: /nvmedata... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gnu-efi-3.0.10 | 1 gobject-introspection | 1 google-breakpad-7515ab13768... | 1 host-gcc-initial-11.2.0 | 1 host-gcc-initial-9.4.0 | 1 host-rust-1.58.1 | 1 host-wine-6.0 | 1 hostapd-2.10 | 1 hwloc-2.7.0 | 1 igh-ethercat-1.5.2 | 1 janet-1.19.2 | 1 libdcadec-0.2.0 | 1 libdvdread-6.1.2 | 1 libest-3.2.0 | 1 libgpgme-1.16.0 | 1 libiscsi-1.19.0 | 1 libnfc-1.8.0 | 1 libnl-3.5.0 | 1 libnss-3.76 | 1 liboping-1.10.0 | 1 libosmium-2.17.3 | 1 libsepol-3.3 | 1 liburing-2.1 | 1 libvorbis-1.3.7 | 1 musl-1.2.2 | 1 netdata-1.21.1 | 1 numactl-2.0.14 | 1 ocf-linux-20120127 | 1 openpgm-5-3-128 | 1 php-apcu-5.1.20 | 1 pixman-0.40.0 | 1 polkit-a2bf5c9c83b6ae46cbd5... | 1 python-ujson-4.2.0 | 1 quickjs-2021-03-27 | 1 rauc-1.6 | 1 rsync-3.2.3 | 1 rtl8188eu-60cb0b5a3cfc95e3f... | 1 rtl8812au-aircrack-ng-3a640... | 1 sdl2_ttf-2.0.18 | 1 skalibs-2.10.0.3 | 1 stunnel-5.60 | 1 systemd-250.4 | 1 toolchain-external-codescap... | 1 trousers-0.3.15 | 1 ulog-0389d243352255f6182326... | 1 wavemon-0.9.4 | 1 wpa_supplicant-2.10 | 1 xenomai | 1 xenomai-3.0.10 | 1 xenomai-custom | 1 xfsprogs-5.14.2 | 1 zynaddsubfx-3.0.6 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | 4th-3.64.0 | NOK | http://autobuild.buildroot.net/results/a12c47f0935d9ba647fcf4fb816a863088ee47f9 | mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/b71a57f60b74c0229ffbb26b1112bf866157b269 | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/9de51b06766ba337acbf7b8d45bfcbbb3c7cb9da | ORPH mips64 | acpitool-0.5.1 | NOK | http://autobuild.buildroot.net/results/bc97a2c008c2fbd56a95d426bdf44525b7ef8848 | mipsel | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/eb28edda2847830b9760eaa9cc62f79cf6171cd7 | or1k | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/9f280e34cbc0711cbb24f167a5fd2bd6a7ce20f8 | sparc | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/12539fc9215cf01faa0c6438ccf2f045cf0ae55a | arceb | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/07cf98bf49396d54d9e4716baf3d01396e32f0f7 | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/fdb49d399959582ec63d9d8deb695f1174b1f5da | mipsel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/e1b9c8abef7a61346716fdcd24922ef4659360fe | x86_64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d10c06109332456ffd22f2d1831c8699f6cf270c | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2a7622b4c7ccc221696000c9d6c997463d6fd831 | i586 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/fa69a4464314491993b81422e0aa0ac2b8e6bcb6 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/aa564043284becc3dd28b56b4032cccc59b81e1d | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9fbe2d58e73a4a8b4fa5c95dd03f185f979b27d1 | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/5d7e6fce0f8084585b1a045f438c3824a1361b00 | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/956ce334952c84e12002c0ac8c5ee7dcad8aa8fe | powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/5f7b274422cc01aa7beeed716f0cbdb6b2081eec | x86_64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/28f53cc86873e0ea8e13439efd5ecea7dfe3ac54 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9b116551408945d43f249e315edad8733012c035 | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b9b663e5f68c07a8a103948ac2ff51e2e23e8d39 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/53a120343a9b00b8748ede5a032f44507b8bccf8 | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/29481a6ffb389c0d1a16dd593bd1b7d3a4a7bfc3 | powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d637843b715ff416b262c1ff0a50ca227dc9406b | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/5cb910e6be356fd11c6158ecd19a40268473dea8 | powerpc64le | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/240ea895e070334fbfdccbcd8034e2e05a044c02 | ORPH mips64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/5f1d70bf1844f1e8a66fcb7b5e55be64b0f7a7e2 | ORPH mips | assimp-5.2.1 | NOK | http://autobuild.buildroot.net/results/92d5e010f0f149ff8686c2749a08c51b41f12fd6 | arm | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/f9fc6bbc7460e200361a58ad3faa321f54e74628 | arm | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/df71adf668db841b4530489bf20f0ecee31fc2ab | sparc64 | aufs-util | NOK | http://autobuild.buildroot.net/results/3dd49380d53a29c101e91618de50f47a65e53c92 | microblaze | aufs-util | NOK | http://autobuild.buildroot.net/results/b4a1695ad7e42669d56a5e937c5a37d1f6e7d83f | microblaze | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/9693a68b7571b044b5c3c8f786870539a615804f | microblaze | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/357da25a9aa6853e43c4cd2f6c34d15dbf011918 | x86_64 | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/b2cfeb4ca9df054437467df2810086c0d90f5335 | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/6f774aa104e938e63395787cd529ee71133fd06e | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/be37796d7161daa2e32d454d6da5613b24f6d544 | nios2 | batman-adv-2021.4 | NOK | http://autobuild.buildroot.net/results/d83b256d366ef88822d21bb73607ef7be69239ac | x86_64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/70dd49c36d30e85fb5f48e543fcd9095b082e02c | i686 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/85235fd30dd3d18279222789a5a63a79f24c4238 | riscv64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/90e8145cfd006410dad9365db5b0941cda68a2af | mipsel | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/2ad7896c2169fbecaa86ac9128a0912306eb5254 | sh4 | boinc-7.18.1 | NOK | http://autobuild.buildroot.net/results/e3d8224c3b8367e4eefbe2a0447594c378409dff | powerpc | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/255a646287b8b5c0f76b5bfa503f1e8eda1f8ce7 | or1k | btrfs-progs-5.16.2 | NOK | http://autobuild.buildroot.net/results/2c3968bc8a3bf1c8fa0390aee06ccf041bfd2880 | ORPH mipsel | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/5a1cc83a9ed58811766f048386f3e2e6a288bb79 | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/512bf431d4bd5d230d25387c076a978627e0f649 | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/a4eaac6ed52b058f216ecc595e6f593d7428f231 | or1k | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/fe2d6afa7a42affd46d9d8893bfa0d121d654f6f | i686 | cc-tool-0.27 | NOK | http://autobuild.buildroot.net/results/908349be16cbc051735357a45a0d5a1167b923f4 | riscv32 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/fbc0786d95c9400bc2161aa6c26f3bf7e66cd2ac | s390x | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/26f6393ffc1f45149312e37329363c6764f77e2e | ORPH or1k | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/0508c4f3a3d3caaacef21abf318f80549848f6f0 | ORPH microblazeel | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/d30375d72ffdd2de8aec4fee3aab7c450e40cb96 | ORPH mips64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ae92ae04c5f8691ce46804469a586513a9f5ec1a | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/1dbdfe5a8452851a803dd3c731eb78bdc4502414 | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/d885e7f5da90190444006f598687e41173186d35 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/26bcf29503a9d6638d8f0013de690943ee6b2f54 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/168bf3cc3492e3683145bcc48afe108ade6464a3 | ORPH s390x | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/8a222ef9accbdc2b89a35c5f95508d27d5273f45 | ORPH aarch64_be | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/770a2ec1878201d254c5c1bd460781d8009d2c73 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/158a860430a0ba5dacd023fbb80c684fddde4388 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ad1ba8e0effe88754c2bd467261f7f1c5d563015 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f77c8620fe7733c2b490b73c18c506193faee332 | ORPH s390x | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/176f2d2607e5fc7a9895c12c1a3dc0f75579b4e0 | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/5bdd1ea08f74f8d3e47b3117147c92b6f0f6fd09 | ORPH mips64el | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4b584f2ade4fc2768bc1885da557455593a2a8d7 | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3856365e2ac71f619031f9c8d857cd0f96116b63 | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/88f8ffa5b9affa80f4a30a43a7ddd27c02c73b71 | ORPH powerpc64le | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3037b6d593200313783e11699c39abe4e73e7f97 | ORPH s390x | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/69cf857fee40e05cb8a5ca930546ea0220101f9f | ORPH riscv64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/fc312fa8dd62c1cda860a663d907b84955bb98fd | ORPH microblaze | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/dff876dcb77112652894ae5cf43a218d923318f5 | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/a65421ffc1f096b17e4969ad6d6dac340e74033e | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3bb94ba1487c4d34906486ecc9c036c124ac1c83 | ORPH i686 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4ff642c66b2e8fbfd6a5690d1baaf9b252083ecf | ORPH microblaze | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/c53bcae9c3a5ced8bace4e84674c44062e4008ae | ORPH aarch64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/1d3285226f5d4de658418e84ab137dad9e652a24 | ORPH arm | dhcpdump-1.8 | NOK | http://autobuild.buildroot.net/results/c29a91b9b5e322c717c7964b9323afca3104d271 | ORPH arceb | diffutils-3.8 | NOK | http://autobuild.buildroot.net/results/c128d89ca1fad116628f687a854432a5cd0cc98a | ORPH i686 | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/f808885dcbbe4322631fa57f72af23009babcb26 | ORPH x86_64 | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/24ca5c8cbcf0a561b0f49b66ffa4420d399930d6 | riscv64 | dropbear-2020.81 | NOK | http://autobuild.buildroot.net/results/d5587c155db3cf94f3e45a094dc4b93d8d8ef72d | nios2 | duktape-2.7.0 | NOK | http://autobuild.buildroot.net/results/547a140c82c8f7a3a82467d13b36f36f644dc8ad | or1k | e2fsprogs-1.46.5 | NOK | http://autobuild.buildroot.net/results/c08ad7d8c7e96f31d5c2eb16fc7810e739ea4904 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/eb436c26b8de1a67c5650022d69c25c9666cff9d | ORPH microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/79574484d4b13fb2d6ccdd3ca243dda08ae2cdf4 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/d96aab8aec857155ca16daa3d2ccc5ad493705ee | ORPH arc | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/f02001a74ee982582deb0e4e9a5fc5755ab7361a | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/683494a3e31f0ce23c40cb300caad3a0da1f2a81 | ORPH or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/2c9b023a83aa0e8b0836104f80e3382a23bdc94f | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/3056192474d8662eee039493c2a8648baedcf618 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/142d580f99dc5500d2bace8d750e9a89f019f67f | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/1aa210fa50f4cdb450c93b5611b78106ca72bdf3 | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/5cf05b3547c7772c259330c2af12c97e59a4419a | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/b11496a86108f5badef848a31ea07066af912c99 | mips64el | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/151bc888ce885176b88b6c6a7ee5d5023149032e | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/4f77030fd00f81160055233322d1b9604dfef1a4 | powerpc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7fbf9b6b61086bc74102e6d9bd398ff2cdcf3636 | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/1edc52c3a62f22de92c16bd071c7c06fe63b270f | or1k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7773c112453f5cb3f6b685566932a6fa61084df1 | or1k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/ae87db382c1d5860acb1fadd1bde9e8981e2a7ef | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/b8a6a61b5fb8b265a646ef1bd52855c298ada0eb | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/99e8e5566809fb65d8ff73326ee6e24cc7f56883 | sparc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/3b85cae210e335bbf73a4e60a598c47080b57718 | s390x | flannel-0.14.0 | NOK | http://autobuild.buildroot.net/results/45695b3e74abb3c026b376dbbc070617bf8ed1ec | mips | fluidsynth-2.2.6 | NOK | http://autobuild.buildroot.net/results/5581b88cb9598b3fd45d77cf6f47159ec52762bb | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/634c48c9971219c764511b790139f274c88af811 | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/3657809edc17b83764d18fac0265e17aa923b725 | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/490538cffd51b6ce1b1f703518f7d58725b5d54e | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/73a90a4f8f9181875d87668c72326efb57af8b84 | arc | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/1be6653249dbfc204f009a3b49bdd36b03f3812e | powerpc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/cd283f3c62a44585a97526e7d22b958f1109049b | xtensa | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/e5c3c26971b73617573b0563552546be2af79919 | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/606edc9d2ef2441842cf01348ba81fcc10d405b9 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/41bd98ca0bbbbd4845c3d95775c5e55c2527ef38 | or1k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/8dc81be6640643cb989ca34e0aaf1b693d6939c9 | arc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/54d8f0340fdd787f3fb4fa08d1325ac8d1fc7b03 | arc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/e4c023fc7e47c523f0bbb70705f6d7a6c3d0571c | microblaze | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/aeea6b800f477c59511c2253e50c992135d11e74 | sparc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/784174c1dafead8e747902e5ae1e7627e6fde76c | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/f918db0d0268855419242eb5194e0f38930e4531 | mips64el | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0ccc3253a3561effbb9ce3dede792d249c3b0608 | powerpc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/7c02a832d1dd393106fc6fdae04936f5ae6f6059 | m68k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/6ce6e30f7e8996b23036b77eddb45a2bbc5bd9f1 | s390x | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/63c62e7e107761edbccd7f6ae1eed7d25498b481 | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2247130db96f26f6ed94bdb3aab6f6bca796354e | arc | fs/ubi/ubi.mk:51: /nvmedata... | NOK | http://autobuild.buildroot.net/results/eec90c0d70c7efe4a47a9473503b6860eb832aa6 | xtensa | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/9c5161b04cb9d075cbdfe0f91484e17c7ec31c35 | powerpc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/ea958e7960b872e75ddeb52313b29d9e27507164 | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/073e164dbbc81441ddeabfdfba96f2ac5ebcf4e2 | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b863eea2b40919acc99be8e89f0d4ebe4ed55938 | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/7a235515f0b5b2a5b7dcf2900a1391b60cc6002d | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/e0b4ae579f1a8fdbd784aebd88e7c76c64f89220 | mips | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/945e6ee0d1a278cc38ba82f454bfa50fc117ff93 | i586 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/4a04c49de248bc705f81bfd801dd6d792a37ebc0 | m68k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b2fe20d214773be5790a8f2e052be7b42fa00dfd | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b7b030bcdd6284fea48f65ad67f6755eb2097dac | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/dd0373be49d0da9348b2696476bcb1fa74209591 | mips64el | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b672538390f11c98ff9c262f4c6cd277fef8e488 | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/5e4e3027297050f32844f6582c3fb5f5464e24f9 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/91ffd259d1d13764778dab51dc0a520ab8aeec27 | mipsel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/367bf47bbfa3fdf0034b8b35803e1d10a3614001 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a23ea83e74fc86878ea946558860f76e27c1db9d | microblazeel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/05e4ca8d7896d42490240fe73b662d26c235ac30 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/b89bef6d2a81c9e7f788e0df3cede90ef8cc3d42 | mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/bf8a2dedd9c0d46153cbd3c14c1af9596f10a2be | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/2cc1a0840ed6366c567d3ba063512ffc36f1b1ca | mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/2587e0bd0a9c82da1e16207fac23cda5331caf0d | sparc64 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/6a9006d879341bd671adefb5d29dab353a8b1ef9 | ORPH powerpc64 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/b8c4272e2dd748bb39317e6af2857b31e9c72b75 | ORPH aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/18ff8892bf06760d10bca47672ba79c1878254f5 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/522f3e88f23a51aaee31cee71b968982e61a2143 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f0f2c5a203e76cde05b094253ebdfd5ee2c96229 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a514600406f4c774f0684292ea82800a43172852 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c53fca648afe07046eebfbfac42ac34a8a0ee627 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1fb627734a1b286dde2093e3c23f5fc3d4173c3e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cc65c8f39990f4a08bc98b6563f2e3109b1a4895 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9e1ef4a46cb4739ae31639475ede71b8833d939d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ee1d142ff5278351f63427cbc1e2899c3842beba | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2b92cd95900cd3cd92645d41a4415777be087b9e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/81faa40015d19ecc8e88be2c7a0dbbeaa1efea30 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/64b571c8b8abfb682b3b6677ce656ead32bf2b3b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8e8c63ede8badfc951836aef9f602b9c7a995048 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d4083ec035838dffe74060f9d0ebd86847898326 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0bc600fc998af4777e3d99e0e26deb9589cce834 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/67ebc8518d388e7f73a54c18ea43c9bc14135ea4 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2569b9eee4a08e96f6269b32d7c31e5c8b10da3f | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/56e4f2f08d0eaf98c4217bd2ec498bb42cd3fbc1 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d14ce4d0dcfcd79dbf53b952057416f7bcf23af3 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/62ffca2f0d7a53e47542f98e1c39ce685c76d44a | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a4e7498dbdcc306f896ac7a59b8c223d87b4743c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d479b6c5f3ea6166a795a1312a529d5395fa39d6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8790c1904fd80b6457b95e5746e4ebeb9c815c90 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a206d3d4f6b23e7e9fba7d4792328bf1681116d0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f0fd59b581c57f9eaea896d9cc088eb53a560821 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/87f6affaf51e23cfedd23c2e8984057e94509201 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/579b5ccf18a478903f10c1e181c7e4d9a9760961 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ef3e46347fe9426edec6a16b0a9d04bc8b26c797 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c1bca2f8c2f0f58a61099708be75cc9997b2acee | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/19dc993560c34ebab035516b296fdb7b656eb76e | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/743fb0ccdc953276d1477543f437a9ad1c058140 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0875cb8a7ff8f3d70d826f8b54e8f5f41bd027f7 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ba4056ce948e7772f6bfdac9305c883414331749 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/74331bc2eeaf938d14aacfa10f2db08076321c74 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/12a5e8f9aac09587093e3ee0d8f7406b2b0b9b91 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/4811da7c46ecf6ae74e2ad3196a47efc3e5ae29b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/a32e135e73cfb9f04be48cd3a8fc017e29cf88b1 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/76077179663ac98e4948f4d6d0cddeae82849ca3 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e8b3722cf486687593b866b0ad4cf3186580a6c2 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/342c78c77f8ac8bb187096955b594a16492ad63b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/290b9ac74c104cc648bf257e56813aa6d5146df5 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/49f0b9fbab4160ab6ff17ea55099012b883c90c8 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/bf5b11c457bad3c4ddc5e55ad829c8fa25e051e9 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/7d9d43dc4f481592e6a54c76840b2317394c366a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/6d99ff453f25a7fdf993c34bcb40c652cc2d9a2f | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/95c9b60d6cb48516e021845c168446f53cf49b13 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/39d7ba0f13e0c9d4df502ded490f91eea03e8296 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2007a34833d139fc0bd0d56c0052afa4d3f8494f | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/25839099505f3dccea96cfc5a8da13f618cd529b | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/942630620a87ce6e2ad6681a31011be6a8589efa | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/962b42067a09264a482111332b9b03d1c2513eac | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bd46f4d92de60a5441b6464c72a7048e14fddfa4 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1916e68a10f63f335d158b6716977d7904df32f5 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8900f0b00a5ff19a6c4b6daa6ce40b8ba0afdbeb | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5a4ced96aa6300979748960dd41cf8f03e7128ab | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a7e9725e727482eede69c96a1df33deb1bfeed3a | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f1e51a21890b2db32cd9a054b72434fa7ce02494 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/78840a1930adabe7f1bac147705af46f196dc063 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fc05669d96a9c3abb522c2a1b84563618e693b01 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/833da410af22e6e5285bb6b577f864ee182dca67 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d8b2d86185a84104dbe967d73f61a57806cf65e6 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/313659ca76aef184f97e9931274c5c7a6aa71087 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2fe2820f37ffafef8f47ed8df3060ea44c1f4b01 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/40203f9a170fb3ef75ee0cc1a1bfc3596e957597 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cb2ae9be3b17246be37143cacfcecb6a33ec7c37 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/719323f06418e0d777d1af98387d9ce94cd4b7a9 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7889247bc1a11077ea28e87f2f7d231000b64e35 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b95285f8547b06f3f0c3882dbc948013bbc04146 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0d0097417452c05049be0b45a89de04bfae50286 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ac9b637c604d392817f1f91fa8e00c73b03fd543 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/33d708fc22f8d90709041135155c9a3d3bde29ec | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5f50111fc4c4e53b4bc76eec748f63eb3a32cc4d | microblaze | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/8e6c56b37020481580139f3ac59d2363342596db | i686 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/3ce698fd1bee5813277e71f3db0c5cde17d76cf3 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/920b2ad0e54d842677a170c81faf13f6c0717b2a | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/8cddd9dfb6e51edd7b34b6aeccb7d771c7881989 | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/3832c28c1a623cd3546f025a9bd4abd0188e01df | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/4bde4e41884f67d7a2f201399eb7d55268ad629d | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/4cab7569236d120bf3fb18923d8ec78c6f6b9f1a | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/7361e870a39a39ed7c642a12da0f2163857a1f77 | arc | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/8bdc26fcb7727f0b3106183bd897bf30fc3261ba | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/c1bbb0a48f3b7b96eb685c45bcd50d9af6394184 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/8745b988296733b7b71a78596577d549594e2122 | arc | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/26eef4794baf9ababb7508ddde69aceb3336c12e | arceb | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/421d979a491ac89671d888e4a4176de71c0504d3 | arceb | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/ed9e07db072847f64ee63aaf49374fb8b3dc6e4d | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/82e4afa031128dd9050c1db060a34da7a7d261fb | ORPH arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/39570a9fb5fca4d91d6a18590c33bf4350b0a127 | ORPH arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/478085eac777f9b903f28166cd9cbd57567c842a | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/92abf7fee96562ce944fc1b3a6d6891a648b3758 | mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/f70b2bc40845074c4c992b689258f0d207edc0f8 | x86_64 | host-rust-1.58.1 | NOK | http://autobuild.buildroot.net/results/de23800fcc85eebe4f94c296a4b56b4015859f93 | s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/28e25f8ae4e2ef8fcb5bd0237f6a8e0a8f536245 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/bcc94406f378c5e13d73fd2bd30df82a0b0777b7 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/5315bfd0b94d425cb723fba63c247f3b5de3711e | ORPH mips | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e908f07afe7f7eab5402a60dbe479f396aca780b | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ff4be6327dfa7ad2abb28d5f90170ceb26e536d6 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7b3b304c94996846a771be83ca2091eb478a6390 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/0677051b4abca12764c5a77edc9037fa00c8c817 | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c4c708060cc17c7a098ba369214858d7e8ba7816 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8267308aafd410d8ff9950b786bf97015bd44693 | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/4fcc4d87a3efdc39b221e59e46ee563e73466a94 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/47d7cd63a655c7f6a56a787ecf0944efd7eddffb | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/205f30bcf2067ce26e997f65bfbb708c47d21fac | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/06a46531673a7bee529454debff528e163a388b2 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/92f18baa09a69777ff72219e6d80f08d803965a1 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/f4a701b3b52dda0e000beb5e8e2418065e29644e | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7243a05ef88e0af57769fa69562dde7c185df32f | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/1c89cd282cca8ec9779c7ef1b6834a621fb05390 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/65866521d3978242bee70e24c65ae29f22652662 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b014701bf780bb77139582885382f91643fd79c6 | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fe9e2f3af4065cfdc19533e110ff2ccf09eb61eb | ORPH sparc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/5f629395f0b289e5ddeafacce5e44168bfb4a7e7 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/964aa9f16856e53ce9c96014a74240144cc7e33d | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/169e46cab9a5c4741c0ce8916de5183b9f6b36ac | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/823bfa4a662f925e67a43ea79ef45546e20b26a2 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e1134760ac461f1bc1224a90a75d25309d3b632c | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/74eb61fb633cca38a269111bc81a7a6bbac2f7c4 | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/dbf9db288e0431709b8cbabfe7856ed9754f5428 | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/40fd4e8169e5ad726f174fdfb125b34092437243 | ORPH sh4 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/56bb82aa014ac62826f9de64f8aa5871619f6836 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/39516b983ba16563970f1d8826fe52421de580b3 | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/0145e7eeddab9187d330d7c71c8728c76e2c9857 | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c917986918ec618e0f1953c1763d1e5ce3f0020a | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e8e8a672acc4794f7a97e5dc2c5af98b039a396c | ORPH sparc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/67096e0a791dfd137168c53d8756abcd5cbc72af | ORPH i686 | host-wine-6.0 | NOK | http://autobuild.buildroot.net/results/2e3ed92a6a09c4fdc5baf5cd043eeb501355887d | powerpc | hostapd-2.10 | NOK | http://autobuild.buildroot.net/results/55016cf7e2bf99935b77073f84b2df5b05516c20 | x86_64 | hwloc-2.7.0 | NOK | http://autobuild.buildroot.net/results/6e8426a7e6a3c7451de3a0d7fb99df5fe9910f17 | microblazeel | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/cbf2ac5eb9bc68637916db34fdbd55d554b2478e | microblaze | janet-1.19.2 | NOK | http://autobuild.buildroot.net/results/7f9fca5ca1eb1283813fdb4ae7aaeb08aafb41e1 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/ccd573b147e8c6074c79a5beebb0a81a00d434f0 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d9b400e9a79c25419a7d753bd9ea7f75d39a4a38 | arm | libdcadec-0.2.0 | NOK | http://autobuild.buildroot.net/results/1cc23955fd08e0c30e90139969ab92e640d3d609 | m68k | libdvdread-6.1.2 | NOK | http://autobuild.buildroot.net/results/12dbdb5ab7c8492f14c3b666924f5c78b2007569 | x86_64 | libest-3.2.0 | NOK | http://autobuild.buildroot.net/results/8550043b735f0ce95ad8e6773863fabc8ba4650f | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/5cb00af9ecd5daa6f0382df85d32cc12449cc1fc | or1k | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/5d3cecec12587761b019f70d0a5ed8dc46aa0e1e | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/3e8cd93ea7663b02525e8a3ff42846e4df67ff5b | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/fa05f89053300781dec082ad96a0449461a9571a | ORPH powerpc | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/5498041d300e6d21afe05ef4e85eca0c02945eee | ORPH powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/9db3ade4e299d54fc130d7d366c9ba73f31805d6 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/9de3386050e2319ff42d03f8d82fc588996660d5 | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/6c34d29ad7925ac0044b9912da430b11c1865a6c | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/90dc31b0b0b2fa1ad77621d31428b4557980638c | aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/e2bee94ce05a0415958e4bd8c0b02c1d98070964 | ORPH aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/7456a040f0da7edff2f038bd1594b574d3f90e70 | ORPH or1k | libgpgme-1.16.0 | NOK | http://autobuild.buildroot.net/results/ae124205834f510a1337cccb97b98347ff064568 | ORPH mipsel | libiscsi-1.19.0 | NOK | http://autobuild.buildroot.net/results/2072eb041dfd4f12ebe906f73c2f65e94be4d0ee | arm | libnfc-1.8.0 | NOK | http://autobuild.buildroot.net/results/89ad5809d002313e52baa4a2f60f7a0a9a295104 | aarch64_be | libnl-3.5.0 | NOK | http://autobuild.buildroot.net/results/e95536cc3f5254bae3650638907e361eb5e4aa48 | ORPH mips | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/2804139073f107717eff57403a82bed2daa3cd7e | mips | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/c596a757a426d0be95a9c3314f3b996015ca2ae3 | powerpc64le | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/572f73ada0669f5c8d7d0af1d65aaa9e3892bdd0 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/181abe6364ef91ade151640c1cc871f4d8216014 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4f7d4a8ee43833629ac5d1d781e33c82b921cad1 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/bcad113f48ee49819ff42bb92c1066dbc2e81ddc | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/d3a6aaaac3b7bfd3c3e5d44b01d335746bf83a21 | aarch64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c49607642b5efe6ea44bfd5b792de12ab78ed2d3 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/8d92a134cdefe25dadb2d84a78b691734a6ff6d5 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3d72d9bb9df0936dffc897950fb8fe430f5b2000 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/7935f5ccbe5185857ae03825e503536bbdfc2f3f | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c2cb2d8291e2560f31f6761d469cb59b60944665 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/831188e8d32265fa629fd3d5f75acf9b77c3bb9b | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/0e2119b208e6d5e399db5c630a10a934faa00daf | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/60b45238449a9ee7934a41ccf9d8c41bdfcf0cbb | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a4a6b54e965b30c304114113b4aded743cd98e50 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/7f978026d45721d16e73c53bbd24353f409e3c3c | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/94b41e7f665fc7cd293912b29cca1aa029f3f5c5 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/37f8220e0297dd9f2aa62f68a652d0ea59c3839b | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/90f6073962285234f45b8804b1fe6a421cf88f56 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6aa37a31dabe7fd6288e825ba4183b3e04ebd449 | mips64 | liboping-1.10.0 | NOK | http://autobuild.buildroot.net/results/3f0d3d59aa1031e6fc924b027a6742297dabdcac | i686 | libosmium-2.17.3 | NOK | http://autobuild.buildroot.net/results/769769c6279fb448f9cb3059459e763ce42c0918 | microblaze | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/33c37c21fdbac54542c89b220d8bc8bb5caef5b3 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/896dc1d8d2621da3e9ade4ec45d064cd5ba00bbe | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/3d08069eccb7b5fef398a5e50905abef384ac710 | ORPH mips64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/f5a052eeb7f1d0ad16b5011fd6a022ff7f1f5733 | ORPH x86_64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/d70592e331d2708b59b74255f4e85a28e4782cc8 | ORPH microblazeel | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ed4090a317fa81051ff6c168c0a5aff5fcff07f4 | ORPH powerpc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/6bf4d96a2a3f0db3d7f6ad5dc140690203cf1033 | ORPH xtensa | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/e5c3323aadf41f59ed87acab837821c04679c8e3 | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/5ae5be6af21c54e4015e51fe82a085521713358b | ORPH mipsel | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ebd27a93ed660f32a98be8e023f5577f94b1abc7 | ORPH mips64 | libsepol-3.3 | NOK | http://autobuild.buildroot.net/results/9e02bbe34ca65eb7bf40c3f3550b49558d9f9276 | mips64 | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/06ba26b096e6b30f8eed67e56c9b890560faf5f0 | mips64el | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/697362bd7711610a60836c9722e86423ea330256 | mips64 | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/f4a44b93ebdd835c11a9c842e636974f09c9ece6 | m68k | liburing-2.1 | NOK | http://autobuild.buildroot.net/results/672f340bfcb80e84be91f668417379d31f12ef1e | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/bc2b8300892bca013f37024275cfd1c6b83065a1 | mips64 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/d6f83048a7f4b69d78364ff1ca80d7b3591457c4 | ORPH arceb | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/9bf097e3f0047e04403c25bae059e7e1093304b0 | ORPH microblazeel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/aa5f8bf39a388c23bdc3bb2665a421e621ebf6b7 | ORPH mips | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/85fa893bd10437b5b1cf74c56d6a71eec71f785c | ORPH sparc | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/c251c6111522890e5c5e2ca623e858b2f489ecd0 | ORPH powerpc | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/955341ce8baba8c6a7a20a369f99dc3afa0a6651 | ORPH microblaze | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/5881a2e57a0b54f21357bafbedadb709d86166b8 | ORPH xtensa | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/76bb10d4b3ee2f2dd706d9fc0eba592a8ab49151 | ORPH mips64el | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/80269eb8a7f4039c62a933c0f71af1d9d6ea1b48 | ORPH powerpc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/6a36294d1b4b73f285ce8a6079a38f969e7f256d | ORPH sparc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/457f6aa01bd1b27a284e9c7d697419e2a5c06fb9 | ORPH mips64el | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/c4e87b87c49f308b371e71149997e4cd147a7769 | ORPH mips | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/5a526008538b007ef9e02c7a5ae430c483b16cb0 | ORPH sparc64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/8e293497e24b5549e5a0b73f6bf58c5b8ace0b98 | ORPH x86_64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/d35784903c53baffd97bac07d5b595685771dc9a | ORPH arceb | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/a66b4f0516cfac90c60e56340acede9fc336afd2 | ORPH mips64el | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/27ff0498f9c097f44151738ebcbc84344fb13d56 | ORPH arceb | linux-tools | NOK | http://autobuild.buildroot.net/results/5f02b0fa31730ca9a6c4f1d52f8a983ee2c95fe8 | ORPH i686 | linux-tools | NOK | http://autobuild.buildroot.net/results/1ff6df0a574226717dfd08719273e491afae7420 | ORPH nios2 | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/77152ea0b8e3ec3745db5b24194b137086663e6d | mips | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/5dfc853ffe538be4044d95e186574d3ceb38cac5 | m68k | mpd-0.23.6 | NOK | http://autobuild.buildroot.net/results/bcf72b4c372445b3ef918958ee95c1785efa59e8 | mips | mpd-0.23.6 | NOK | http://autobuild.buildroot.net/results/a8754431aad8808ae2d67e32d4a7973b00eda1c1 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/6f49403d2b7680fea9bfd6629ab03ddbfe4049ed | powerpc64le | netdata-1.21.1 | NOK | http://autobuild.buildroot.net/results/5e7dae5ec0dd2e7c610ebe734c27b130a240725e | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/533df95f7ac701384915fa2940e53ecd946988cc | mipsel | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/558c31222fe2c86f685aed5a39aa43faf711b7cb | microblazeel | numactl-2.0.14 | NOK | http://autobuild.buildroot.net/results/db387b0f03738a1ad7e3fe2ecc95cc212446a25a | x86_64 | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/b260eff00490ae6cfbf790fba755162fa09b8d1a | ORPH sparc64 | openpgm-5-3-128 | NOK | http://autobuild.buildroot.net/results/f420f46fe7c6761b3c26ceb766ccc29c46b99746 | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/0950e59b3efe3d48ce2b68e73b35198437804352 | sparc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/0684a0b83a044eb3b7dd57b98553abaec7e294fa | m68k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/def203839a2459babf7e0b1f66459dbbb9876958 | arceb | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/a38392260f5116b9a27dec749a89bfc8df2b814f | arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/7f0bfce784f7af768d53bf6ca768be4d9cae4bec | arm | php-apcu-5.1.20 | NOK | http://autobuild.buildroot.net/results/00879c5060b79ff2d1c2c9bf71580f2c175c8d3e | mips | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/210cef4c7083807558d0a8d6d14ae2ff9a3d0aaa | microblazeel | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/62a2393da02138ed2701564b1d69a54f0e6d49cc | i686 | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/4d97a7531009be0ba06b84c33e1e29d780ef7522 | arc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d1c46e7c09c818bf57b4c2aca235f1615af45c62 | powerpc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/6f891f76709b69ecc7c643a5ebce620a5e286956 | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/9bd6033fd063894a986f104f98b1be915c407208 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/e10e0dc7948b6d72b7f60263bbe45204fcf98517 | microblaze | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/275a760a3323e34e1f7b1d128b572e4e7add60e8 | xtensa | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/f541449da85663b73a1dd735552e63c4d4c061a5 | mipsel | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a1adf38555d26da2cb98bf1a2a3ecb19a8e18896 | i686 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/19e4f38499426814e18c392cfa0128a55fc839a4 | powerpc | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/60876da99c712d0fb13ccc6d05a6c0e35428c303 | microblazeel | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/6a727ca55fae29f0df39e75cb098c024fae745f3 | sparc64 | rauc-1.6 | NOK | http://autobuild.buildroot.net/results/f5e390d96b8e3d7ea480cc3792e82207c3d074d4 | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/6ba78f4ef9ae5ca7c4bdf4a7cf339376b438fef6 | riscv32 | refpolicy | NOK | http://autobuild.buildroot.net/results/0027177d7d6f007769e4dd0501ae4050167e81e7 | m68k | refpolicy | NOK | http://autobuild.buildroot.net/results/37c67e5384e47d0b06995929022be55f222a5c94 | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/efb1818c1696e1d7fa16fb71f942aefb635ce5bb | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/199da862bfd5cb312858ac297d5d9b3e47eadc75 | i586 | rsync-3.2.3 | NOK | http://autobuild.buildroot.net/results/c6c1a4636357682034b2bbfacde61df58771f95a | ORPH powerpc64 | rtl8188eu-60cb0b5a3cfc95e3f... | NOK | http://autobuild.buildroot.net/results/d6658408464bbaca9b04c600a80b38c6643d3aef | mipsel | rtl8723bs-11ab92d8ccd71c80f... | NOK | http://autobuild.buildroot.net/results/bfaac0c6c91e32d918ce3bd35a97f518dccc3c15 | sparc | rtl8723bs-11ab92d8ccd71c80f... | NOK | http://autobuild.buildroot.net/results/ec14df025600314c13cbab2b54faa8480e0e0725 | powerpc64 | rtl8812au-aircrack-ng-3a640... | NOK | http://autobuild.buildroot.net/results/b2a71dc442b9a45a8f63121b76c731749322f243 | or1k | sdl2_ttf-2.0.18 | NOK | http://autobuild.buildroot.net/results/3716f3779f70834fdf315e6d2c6bf5b364b22186 | or1k | skalibs-2.10.0.3 | NOK | http://autobuild.buildroot.net/results/caf9242115823d2e1b31ff173080ad5d9b3ebdd3 | riscv32 | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/6fbb5d7e4049e6f7b4c81fde421de845df057115 | s390x | systemd-250.4 | NOK | http://autobuild.buildroot.net/results/b209fe065f86a4046cecaba237892f88f3137e23 | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/2b71aa48e51fafc97a0a293e218e36b0a14c2067 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/746347de80a19954453d1b1762932271b3116b26 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/1ea124ff7ed55cb9fa44f4cc4ebbaa6f2e253f81 | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/da00dc18f48c5dd579ce03bf9630087682a40c6e | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/04523162bc62d693190f4f4a0b37fed471e43f55 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/f6bd4e43928f428dce2f23df7e99615380a39df0 | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/72c7305f9464a1cbfdf692a9505c3e040e962871 | ORPH mipsel | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/bffdd1bbb5f1025d9a0c209f7f72f56290c7c3d6 | ORPH mips64el | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/dd0ea835a8c6387bf9a9425a47e0dcb110dc4780 | ORPH mips | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/2d12a9a771ec51ac767120a9996b3e4dc85bb2d0 | ORPH xtensa | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/09acf74117dba66bb95a6c9569a2dae610402305 | x86_64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/223f5a2b92442d21b4a3bad09ce4fde8da167af3 | powerpc64le | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/07d50132818b757c3f67b4c31fd90898bff151b9 | arceb | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/f53c145a70b8927ada2967939cc8d08537a43deb | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0f62bb4c15d5080a7990a9653e8afc6a7b2d23b0 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/72121ad14d914d9a524f364de4b99182185d50a5 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/38b2697d9f8f3af95ec50d16a657f4aef84b90fa | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/8eabddb07fe4c2d89ac4e5b9ac4f555f0dcd59c4 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/5ceb335c29a6456ee684f2ed08ffba5e08cb6db4 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/85013da86ac524c1c20523bea3493bf30cc5220c | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/d2e27c5e978f7e841c932e2423a1881787f619a4 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/23de3dc5c58951cb90d319f34dad7ac28b6c61b3 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0c47bcb4913dbc9159095bb32e11af0cdef4ba05 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/90976dee399ac9da3eadb2a45e2fbbc12ad368e0 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/05c4000a01a3a9d54b877e6d7c0c9beb9a50e232 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7e22c76698c2696330c1adc6ea7f5ac1dd2eda2e | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/83bf56cdf0091963b4af465337b19c24bd325328 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/fae93a1136b7cd8ce21d2d08e720086fe4777657 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/518c9dec427049e7d5aa61c8a66abffe67cc6962 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c5356d0fe53e4b335b6f57b1592bdf039a931256 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7bf06eb5c95486c7e56b8735ddfe7ff784f44ad7 | sparc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/b5b65c59ae5d51755219caac16456cd645d22fe8 | arm | unknown | NOK | http://autobuild.buildroot.net/results/e40760c4f4e5cf2421d786cdb975293f04f5b97c | sparc | unknown | NOK | http://autobuild.buildroot.net/results/3babb456ebcca06f39fb6ff822e13b28e8ccbb4b | or1k | unknown | NOK | http://autobuild.buildroot.net/results/8fd0184e5539ad43868f251c7059f9749129522d | m68k | unknown | NOK | http://autobuild.buildroot.net/results/0c76d37d6fd6952cb6b1b6a7c95fe17481fe9001 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/c4c3b68e5d95dbb1ec4d2f74079b40adbe57ac86 | x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/21e088d8eede616ef51cabeca20dcf6e11945945 | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/83e8744a1183f6e19204d7a2824fef99f304d99f | ORPH or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/956ea633dcb2e914bfb86fe94ede01d6fe1cd4b2 | ORPH mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/041eeacdf379280a4a4ac64e856a40d9eddbcb17 | ORPH mips | valgrind-3.18.1 | NOK | http://autobuild.buildroot.net/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 | ORPH i586 | valgrind-3.18.1 | NOK | http://autobuild.buildroot.net/results/78f04ef8d38e35a79c338faa33eb0de3863ff04b | ORPH mips | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/9a3227c506878e1f9d5e607f5f711f52ad9e1d87 | powerpc64le | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/4c630b932e619be995c0279fbbca4e3c6fa98760 | s390x | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/5afcb93d8a29541137deab9efbe240a77107d7b0 | riscv64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/e0a97a2e72f4a7d63fb8ebf64d28c2dd6149135a | mipsel | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/54ea8802bf49c093be02707c7643f3f4e37e2b77 | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/1c95400f28658c8a8be372279ebc4fdbb1136da9 | i686 | wpa_supplicant-2.10 | NOK | http://autobuild.buildroot.net/results/962ea00c72f7dffd2d17f660c417879d795d0de9 | nios2 | xenomai | NOK | http://autobuild.buildroot.net/results/6f8af07430cddce2915fa100cb6ba51fba95426b | s390x | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/d924564bf73716fd32f707a11e6a63a97ccfae58 | nios2 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/e476b72f58dcc78684998b9d1fbb513b2e02addc | mips | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/d392421876ba645204cc23b0ea7878febe2f188c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/fa57044fab9ddd37cfa6ab4f8c5b93d751741d81 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a108e4f7821a3474c6082b048a7e2db343049140 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/ed92b4dade2164ebfdb48c0e9e3fe8774c138d56 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/ae7c4ff1f64294167dfaf31205b384c2271e1c84 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e83cb428f40418d89e15f871c0f494dca6061239 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1ba6e79efb7d4f00d203260098c8ca7567fdc329 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c438aa3867768aaa7a680419981135f4a8d8a482 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/088ef8af823c90762d057b885064a8a405defb94 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/3a900c6cbc5e32c5970cdab5ef24efe2136f697a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e44bb9415160e330a0f6b75e4eb462a870c9d4e9 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/6d33eab4b504c28669dad865dc0485c8fcfe6b14 | ORPH xtensa | zynaddsubfx-3.0.6 | NOK | http://autobuild.buildroot.net/results/4d0298ba518e2ef091ab75ad7a4aba262645086f | Classification of failures by reason for 2022.02.x -------------------------------------------------- dhcp-4.4.2-P1 | 2 unknown | 1 vlc-3.0.16 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- i586 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/29cc4eafa994913c069fac374415bda8e60cbc22 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f89488229cb691e6fcc73bd43b6257d6874aac46 | ORPH arm | unknown | NOK | http://autobuild.buildroot.net/results/c4d7fd15d254f426b61e349216fd3b1875fe7e24 | arm | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/124e8bdcdf3a6edec9ea6a97333d376f575df876 | Gitlab CI results for 2022-04-08 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ amarula_a64_relic | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805241 | bananapi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805337 | bananapi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805338 | bananapi_m2_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805339 | bananapro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805346 | csky_gx6605s | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805363 | freescale_imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805388 | freescale_imx8qxpmek | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805391 | friendlyarm_nanopi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805400 | ORPH friendlyarm_nanopi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805401 | ORPH friendlyarm_nanopi_neo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805408 | friendlyarm_nanopi_neo_plus2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805410 | friendlyarm_nanopi_r1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805412 | galileo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805416 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805443 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805444 | licheepi_zero | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805453 | microchip_sama7g5ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805465 | minnowboard_max-graphical | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805466 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805532 | orangepi_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805541 | ORPH orangepi_win | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805549 | qemu_ppc64_pseries | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805597 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805630 | -- http://autobuild.buildroot.net From neal.frager at amd.com Fri Apr 8 14:55:28 2022 From: neal.frager at amd.com (Neal Frager) Date: Fri, 8 Apr 2022 08:55:28 -0600 Subject: [Buildroot] [PATCH v1 1/4] configs/zynq_zc706_defconfig: bump to Xilinx 2021.2 Message-ID: <20220408145531.1641356-1-neal.frager@amd.com> This patch bumps configs/zynq_zc706_defconfig to Xilinx software release 2021.2 which includes the following updates: - U-Boot bumped to 2021.01 - Linux bumped to 5.10 - rootfs changed from CPIO to EXT4 - extlinux.conf for distro boot support This patch has been build and run tested on a ZC706 evaluation board. Signed-off-by: Neal Frager --- board/zynq/extlinux.conf | 4 ++++ board/zynq/genimage.cfg | 11 ++++++++--- board/zynq/post-build.sh | 8 ++++++++ board/zynq/post-image.sh | 14 ++++++++------ board/zynq/zc706/uboot.fragment | 1 + configs/zynq_zc706_defconfig | 20 +++++++++++--------- 6 files changed, 41 insertions(+), 18 deletions(-) create mode 100644 board/zynq/extlinux.conf create mode 100755 board/zynq/post-build.sh create mode 100644 board/zynq/zc706/uboot.fragment diff --git a/board/zynq/extlinux.conf b/board/zynq/extlinux.conf new file mode 100644 index 0000000000..b9345906e6 --- /dev/null +++ b/board/zynq/extlinux.conf @@ -0,0 +1,4 @@ +label linux + kernel /uImage + devicetree /system.dtb + append console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait diff --git a/board/zynq/genimage.cfg b/board/zynq/genimage.cfg index 67baca795e..78eb9275dd 100644 --- a/board/zynq/genimage.cfg +++ b/board/zynq/genimage.cfg @@ -3,12 +3,12 @@ image boot.vfat { files = { "boot.bin", "u-boot.img", - "devicetree.dtb", + "system.dtb", "uImage" } - file uramdisk.image.gz { - image = "rootfs.cpio.uboot" + file extlinux/extlinux.conf { + image = extlinux.conf } } @@ -24,4 +24,9 @@ image sdcard.img { bootable = "true" image = "boot.vfat" } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } } diff --git a/board/zynq/post-build.sh b/board/zynq/post-build.sh new file mode 100755 index 0000000000..9fd8bbf2c8 --- /dev/null +++ b/board/zynq/post-build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# genimage will need to find the extlinux.conf +# in the binaries directory + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux.conf diff --git a/board/zynq/post-image.sh b/board/zynq/post-image.sh index 0cf92e0aa9..bf88aa7cd1 100755 --- a/board/zynq/post-image.sh +++ b/board/zynq/post-image.sh @@ -1,13 +1,15 @@ #!/bin/sh -# By default U-Boot loads DTB from a file named "devicetree.dtb", so +# By default U-Boot loads DTB from a file named "system.dtb", so # let's use a symlink with that name that points to the *first* # devicetree listed in the config. -FIRST_DT=$(sed -n \ - 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \ - ${BR2_CONFIG}) +FIRST_DT=$(sed -nr \ + -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="([-_/[:alnum:]\\.]*).*"$|\1|p' \ + ${BR2_CONFIG}) -[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/devicetree.dtb +[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/system.dtb -support/scripts/genimage.sh -c board/zynq/genimage.cfg +BOARD_DIR="$(dirname $0)" + +support/scripts/genimage.sh -c $BOARD_DIR/genimage.cfg diff --git a/board/zynq/zc706/uboot.fragment b/board/zynq/zc706/uboot.fragment new file mode 100644 index 0000000000..ad5efa6204 --- /dev/null +++ b/board/zynq/zc706/uboot.fragment @@ -0,0 +1 @@ +CONFIG_DEFAULT_DEVICE_TREE="zynq-zc706" diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig index e8019177d2..6c2a858f14 100644 --- a/configs/zynq_zc706_defconfig +++ b/configs/zynq_zc706_defconfig @@ -2,26 +2,28 @@ BR2_arm=y BR2_cortex_a9=y BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xilinx-v2017.3)/linux-xilinx-v2017.3.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xlnx_rebase_v5.10_2021.2" BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc706" -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zc706" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xlnx_rebase_v2021.01_2021.2" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynq/zc706/uboot.fragment" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_FORMAT_IMG=y -- 2.17.1 From yann.morin.1998 at free.fr Sat Apr 9 08:40:15 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 9 Apr 2022 10:40:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: References: <20220405025054.966064-1-james.hilliard1@gmail.com> <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> <20220405211250.GJ2354230@scaer> Message-ID: <20220409084015.GA3378418@scaer> James, All, On 2022-04-08 17:56 -0600, James Hilliard spake thusly: > On Tue, Apr 5, 2022 at 3:12 PM Yann E. MORIN wrote: > > On 2022-04-05 14:09 -0600, James Hilliard spake thusly: > > > On Tue, Apr 5, 2022 at 11:19 AM Arnout Vandecappelle wrote: > > > > On 05/04/2022 04:50, James Hilliard wrote: > > > > > Fixes: > > > > > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > > > > > make: *** [Makefile:84: _all] Error 2 > > > > How do you get this? I've tried a number of configurations, but I always get > > > > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > > > > make: *** [Makefile:84: _all] Error 2 > > > > I could only reproduce with `make source`, but that's a bit a special case. > > > Something like this seems to hit it: > > > BR2_LINUX_KERNEL_EXT_AUFS=y > > > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > > > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > > > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > > > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > > > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > > > BR2_PACKAGE_AUFS=y > > > BR2_PACKAGE_AUFS_SERIES=4 > > > BR2_PACKAGE_AUFS_VERSION="" > > > # BR2_PACKAGE_AUFS_UTIL is not set > > This still produces the expected error that Arnout reported: [--SNIP--] > You need to do make savedefconfig here for it to reproduce: [--SNIP--] Indeed, I could reproduce. However, I think the fix is still incorrect. Indeed, if we were to do what you suggest, them it would be possible to call savedefconfig on a broken configuration; this does not make sense. Instead, I believe that savedefconfig and update-defconfig (an alias for the former) should not be declared as nobuild_targets: diff --git a/Makefile b/Makefile index 05b790d770..69994a58da 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ nobuild_targets := source %-source \ clean distclean help show-targets graph-depends \ %-graph-depends %-show-depends %-show-version \ graph-build graph-size list-defconfigs \ - savedefconfig update-defconfig printvars show-vars + printvars show-vars ifeq ($(MAKECMDGOALS),) BR_BUILDING = y else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),) There are a bout ~35 places where we use $(BR_BUILDING). I've look at all the instances in boot/ and linux/,i in toolchain/ and package/aufs/ of course, and a few others, and they all seem to be fine if we remove savedefconfig and update-defconfig from nobuild_targets. Care to have a further look, please, and send a patch? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From peter at korsgaard.com Sat Apr 9 10:28:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:28:11 +0200 Subject: [Buildroot] [PATCH 1/1] toolchain/toolchain-external: ensure BR2_TOOLCHAIN_EXTERNAL_PATH is set In-Reply-To: <20220402020756.415845-1-james.hilliard1@gmail.com> (James Hilliard's message of "Fri, 1 Apr 2022 20:07:56 -0600") References: <20220402020756.415845-1-james.hilliard1@gmail.com> Message-ID: <87ee26tutg.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:28:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:28:17 +0200 Subject: [Buildroot] [PATCH 1/1] toolchain-external-custom: ensure BR2_TOOLCHAIN_EXTERNAL_URL is set In-Reply-To: <20220402023135.428789-1-james.hilliard1@gmail.com> (James Hilliard's message of "Fri, 1 Apr 2022 20:31:35 -0600") References: <20220402023135.428789-1-james.hilliard1@gmail.com> Message-ID: <87a6cututa.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:28:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:28:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-headers: ensure tarball location is set In-Reply-To: <20220402032912.504809-1-james.hilliard1@gmail.com> (James Hilliard's message of "Fri, 1 Apr 2022 21:29:12 -0600") References: <20220402032912.504809-1-james.hilliard1@gmail.com> Message-ID: <875ynitut6.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when > required. > Fixes: > http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105 > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:28:26 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:28:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-headers: ensure headers version is set In-Reply-To: <20220402034933.507692-1-james.hilliard1@gmail.com> (James Hilliard's message of "Fri, 1 Apr 2022 21:49:33 -0600") References: <20220402034933.507692-1-james.hilliard1@gmail.com> Message-ID: <871qy6tut1.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Validate that BR2_DEFAULT_KERNEL_VERSION is set when required. > Fixes: > http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:30:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:30:20 +0200 Subject: [Buildroot] [PATCH v2,1/2] package/ipmiutil: drop dead code In-Reply-To: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 10:27:14 +0200") References: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> Message-ID: <87wnfysg5f.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > ipmiutil depends on dynamic library since commit > 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS > added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed > anymore > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2: > - Keep disabling lanplus if openssl is unavailable Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:31:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:31:50 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220402130049.453518-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 15:00:49 +0200") References: <20220402130049.453518-1-fontaine.fabrice@gmail.com> Message-ID: <87sfqmsg2x.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since > the addition of the package in commit > 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and > https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b > configure: error: --enable-static must be specified with --disable-shared > Fixes: > - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2: > - Fix patch number Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:26:57 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:26:57 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] toolchain-external-custom: error if BR2_TOOLCHAIN_EXTERNAL_URL is not set Message-ID: <20220409102238.F3BA283515@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ae4ec7cde64c77ecb27cd7e7d67d6052ae435509 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit d9a9d4df2b84350f7014b33b50af120c3915f4b5) Signed-off-by: Peter Korsgaard --- .../toolchain-external-custom/toolchain-external-custom.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk index c4ae6125ef..f2ec01f88c 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk +++ b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk @@ -10,6 +10,11 @@ TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERN ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) # We can't check hashes for custom downloaded toolchains BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) +ifeq ($(BR_BUILDING)$(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),) +$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting) +endif +endif endif $(eval $(toolchain-external-package)) From peter at korsgaard.com Sat Apr 9 10:26:31 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:26:31 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set Message-ID: <20220409102238.E95018350E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8945ba49480a7885d104445ca855ef7681a374ff branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 8e91385a2cb81c5f8114354f4494230e2aebb93a) Signed-off-by: Peter Korsgaard --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index 299b6008aa..c7f4175c9e 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,7 +69,12 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) +endif endif +endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) From peter at korsgaard.com Sat Apr 9 10:29:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:29:14 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/ipmiutil: drop dead code Message-ID: <20220409102239.210B083515@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=422d263a71d943944f469db3c2ae8827337cd0bf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x ipmiutil depends on dynamic library since commit 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed anymore Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit cdc2a52a0fd619ee9762656c2ff8f84418a85ea1) Signed-off-by: Peter Korsgaard --- package/ipmiutil/ipmiutil.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 4c9de26583..97a644e314 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN endef IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off # SKIP_MD2 can be used only if ALLOW_GNU is defined. From peter at korsgaard.com Sat Apr 9 10:27:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:27:44 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/linux-headers: error if headers version is not set Message-ID: <20220409102239.169088350E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=12e33273561b27543c0c3d5d06d28c001dae3c15 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Validate that BR2_DEFAULT_KERNEL_VERSION is set when required. Fixes: http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 4ff6a0587fa733ef6ebf131c095226a606c09420) Signed-off-by: Peter Korsgaard --- package/linux-headers/linux-headers.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index 1102e76f0f..e2a0b7a7c9 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -33,6 +33,12 @@ LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) LINUX_HEADERS_CIP = endif # BR2_KERNEL_HEADERS_AS_KERNEL +ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR_BUILDING),yy) +ifeq ($(LINUX_HEADERS_VERSION),) +$(error No kernel headers version set, check your BR2_DEFAULT_KERNEL_VERSION setting) +endif +endif + # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) ifeq ($(BR_BUILDING),y) From peter at korsgaard.com Sat Apr 9 10:31:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:31:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220409102239.2BF8F8350E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c522be0d509292b983b99f06c367da3e627e3c48 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since the addition of the package in commit 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b configure: error: --enable-static must be specified with --disable-shared Fixes: - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit d0d70761131d0f2c029e95db4c97827944684aaa) Signed-off-by: Peter Korsgaard --- package/libkrb5/libkrb5.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index d41e7559a5..f406cd9e49 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ --without-tcl \ --disable-rpath +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS += --disable-static +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) LIBKRB5_CONF_OPTS += --with-ldap LIBKRB5_DEPENDENCIES += openldap From peter at korsgaard.com Sat Apr 9 10:27:37 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:27:37 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/linux-headers: ensure tarball location is set Message-ID: <20220409102239.0BF0B83518@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fabeb698adc3c4006cfa15d439c8a58f0032d548 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when required. Fixes: http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105 Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 6c5f78f8906d8b36e099ca13c257bbaba4b49374) Signed-off-by: Peter Korsgaard --- package/linux-headers/linux-headers.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index a8d1c2ccaf..1102e76f0f 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -35,6 +35,11 @@ endif # BR2_KERNEL_HEADERS_AS_KERNEL # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) +ifeq ($(BR_BUILDING),y) +ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION),) +$(error No kernel headers tarball location set, check your BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION setting) +endif +endif LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))) else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y) From peter at korsgaard.com Sat Apr 9 10:48:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:48:21 +0200 Subject: [Buildroot] [PATCH 1/1] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS In-Reply-To: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 22:01:18 +0200") References: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> Message-ID: <87o81asfbe.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid > the following build failure when GO_GOARCH is empty (e.g. on mips32) > raised since the addition of the package in commmit > ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: > printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target > table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' > Usage: > sloci-image [options] ROOTFS NAME[:TAG] > sloci-image [-h | -V] > Create a single-layer OCI image with the given rootfs. > Arguments: > ROOTFS Directory or tar.gz archive with rootfs to pack into the image. > Important: Archive will be *moved* to the image, so make a copy if you > need it. Directory will be preserved. > NAME Name of the image. > TAG Tag for the image. Defaults to "latest". > Options: > -m --arch ARCH CPU architecture which the binaries in this image are built to run on. > Defaults to $(uname -m). > --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). > -a --author NAME Name and/or email address of the person which created the image. > -c --cmd CMD Default arguments to the entrypoint of the container. > --debug Print debug messages (it can be also enabled with env. variable DEBUG). > -C --entrypoint EP Arguments to use as the command to execute when the container starts. > -e --env VAR=VAL Default environment variables for container. > -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. > If KEY starts with a dot, it will be prefixed with > "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). > --os OS Name of the OS which the image is built to run on. Defaults to "linux". > -p --port PORT[/PROT] Default set of ports to expose from a container running this image in > format: /tcp, /udp, or (same as /tcp). > Aliases: --expose. > -t --tar Pack image in a TAR archive. > -u --user USER The username or UID of user the process run as. > -v --volume PATH Default set of directories describing where the process is likely write > data specific to a container instance. > -w --working-dir DIR Sets the current working directory of the entrypoint process in the > container. > -V --version Print version and exit. > -h --help Print this message and exit. > Please report bugs at . > make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 > Fixes: > - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:49:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:49:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-greenlet: disable cpp test In-Reply-To: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 23:24:44 +0200") References: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> Message-ID: <87k0bysfa5.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Disable cpp test to avoid the following build failure without C++ raised > since the addition of the package in commit > 826ef33bedc0f2f39a38622f066978cd9cc05226 and > https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: > powerpc64-buildroot-linux-gnu-gcc.br_real: error: > src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed > on this system > Fixes: > - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:49:48 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:49:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 In-Reply-To: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 11:03:40 +0200") References: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> Message-ID: <87fsmmsf8z.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with gcc >= 9 (and -std=c++17): > ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications > 70 | bool file_exists(const std::string& file) throw (error); > | ^~~~~ > Fixes: > - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Sat Apr 9 13:42:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 15:42:59 +0200 Subject: [Buildroot] [RFC PATCH v1 1/2] tbb: new package In-Reply-To: <20220407182425.194001-2-flaniel@linux.microsoft.com> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> <20220407182425.194001-2-flaniel@linux.microsoft.com> Message-ID: Hi Francis, Thank you for this patch. I applied to master but with quite a few changes. On 07/04/2022 20:24, Francis Laniel wrote: > From: bradford barr > > Intel Threading Building Blocks (TBB), is a C++ library to help developers > write highly parallelized applications. OpenCV uses it to accelerate some of > it's more heavy weight procedures. > > Signed-off-by: bradford barr > Signed-off-by: Francis Laniel > --- > DEVELOPERS | 1 + > package/Config.in | 1 + > .../0001-tbb-Enable-cross-compilation.patch | 55 +++++++++++++++++++ > package/tbb/Config.in | 16 ++++++ > package/tbb/tbb.hash | 2 + > package/tbb/tbb.mk | 39 +++++++++++++ > 6 files changed, 114 insertions(+) > create mode 100644 package/tbb/0001-tbb-Enable-cross-compilation.patch > create mode 100644 package/tbb/Config.in > create mode 100644 package/tbb/tbb.hash > create mode 100644 package/tbb/tbb.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index a66b9d7eee..ef4ddcab50 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -970,6 +970,7 @@ F: package/odhcploc/ > > N: Francis Laniel > F: package/pahole/ > +F: package/tbb/ > > N: Francisco Gonzalez > F: package/ser2net/ > diff --git a/package/Config.in b/package/Config.in > index 0d5d763180..24f7af5ea8 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2044,6 +2044,7 @@ endif > source "package/skalibs/Config.in" > source "package/sphinxbase/Config.in" > source "package/startup-notification/Config.in" > + source "package/tbb/Config.in" > source "package/tinycbor/Config.in" > source "package/tz/Config.in" > source "package/tzdata/Config.in" > diff --git a/package/tbb/0001-tbb-Enable-cross-compilation.patch b/package/tbb/0001-tbb-Enable-cross-compilation.patch > new file mode 100644 > index 0000000000..652d59c47b > --- /dev/null > +++ b/package/tbb/0001-tbb-Enable-cross-compilation.patch > @@ -0,0 +1,55 @@ > +From 42c3faff14917f687aab405d8f571e352ffdf3f5 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Wed, 6 Apr 2022 15:58:02 +0100 > +Subject: [PATCH] tbb: Enable cross-compilation. > + > +This patch replaces hardcoded value for CPLUS and CONLY with $(CXX) and $(CC). > +So, by defining CC= it is possible to cross compile this library using a > +cross-compiler. > + > +This patch was originally written by: > +Marcin Juszkiewicz > +and taken from: > +https://github.com/intel/luv-yocto/blob/3b0688bc9a5e8d52b6ca461b15fb4abd3eaaf7a8/meta-oe/recipes-support/tbb/tbb/cross-compile.patch > + > +Signed-off-by: Francis Laniel > +--- > + build/linux.clang.inc | 5 +++-- > + build/linux.gcc.inc | 5 +++-- > + 2 files changed, 6 insertions(+), 4 deletions(-) > + > +diff --git a/build/linux.clang.inc b/build/linux.clang.inc > +index 5a459ef5..a0777db5 100644 > +--- a/build/linux.clang.inc > ++++ b/build/linux.clang.inc > +@@ -31,8 +31,9 @@ DYLIB_KEY = -shared > + EXPORT_KEY = -Wl,--version-script, > + LIBDL = -ldl > + > +-CPLUS = clang++ > +-CONLY = clang > ++CPLUS = $(CXX) > ++CONLY = $(CC) > ++CPLUS_FLAGS = $(CXXFLAGS) I dropped this patch. Instead, I simply passed CPLUS, CONLY and CPLUS_FLAGS in the $(MAKE) call. > + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) > + LIBS += -lpthread -lrt > + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic > +diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc > +index 786c4153..30242a82 100644 > +--- a/build/linux.gcc.inc > ++++ b/build/linux.gcc.inc > +@@ -32,8 +32,9 @@ DYLIB_KEY = -shared > + EXPORT_KEY = -Wl,--version-script, > + LIBDL = -ldl > + > +-CPLUS = g++ > +-CONLY = gcc > ++CPLUS = $(CXX) > ++CONLY = $(CC) > ++CPLUS_FLAGS = $(CXXFLAGS) > + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) > + LIBS += -lpthread -lrt > + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic > +-- > +2.25.1 > + > diff --git a/package/tbb/Config.in b/package/tbb/Config.in > new file mode 100644 > index 0000000000..0f40b74d31 > --- /dev/null > +++ b/package/tbb/Config.in > @@ -0,0 +1,16 @@ > +config BR2_PACKAGE_TBB > + bool "tbb" > + depends on BR2_TOOLCHAIN_USES_GLIBC > + depends on !BR2_STATIC_LIBS > + depends on BR2_TOOLCHAIN_HAS_THREADS > + depends on BR2_INSTALL_LIBSTDCPP > + help > + Intel(R) Threading Building Blocks (Intel(R) TBB) lets you > + easily write parallel C++ programs that take full advantage > + of multicore performance, that are portable, composable and > + have future-proof scalability. > + > + https://www.threadingbuildingblocks.org/ > + > +comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" > + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > new file mode 100644 > index 0000000000..e9fb7511b8 > --- /dev/null > +++ b/package/tbb/tbb.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 tbb-2018_U5.tar.gz You also need to include a hash for the license file. > diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > new file mode 100644 > index 0000000000..cf06579b98 > --- /dev/null > +++ b/package/tbb/tbb.mk > @@ -0,0 +1,39 @@ > +################################################################################ > +# > +# tbb > +# > +################################################################################ > + > +TBB_VERSION = 2018_U5 > +TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) > +TBB_INSTALL_STAGING = YES > +TBB_LICENSE = Apache-2.0 > +TBB_LICENSE_FILES = LICENSE > + > +TBB_SO_VERSION = 2 > +TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy > +TBB_BIN_PATH = $(@D)/build/linux_* > + > +define TBB_BUILD_CMDS > + $(MAKE) $(TARGET_CONFIGURE_OPTS) arch=$(BR2_ARCH) -C $(@D) The values for arch that are used by tbb are different from the values that BR2_ARCH has. I studied this in more detail: # arch is normally set based on uname -m with some conversions. However, # it is not really used for much: # - to decide between 32 or 64-bit files (based on '64' in the name) # - to decide on some arch-specific CFLAGS like -m32, which we don't actually want # - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) # - to include assembler source, but it only exists for ia64 # The only thing we actually want from the above is the 32/64-bit, and # DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to # the tbb build system, and set DO_ITT_NOTIFY explicitly. Regards, Arnout > +endef > + > +define TBB_INSTALL_LIBS > + $(foreach lib,$(TBB_LIBS), > + $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$(TBB_SO_VERSION) \ > + $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; > + ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so > + ) > +endef > + > +define TBB_INSTALL_STAGING_CMDS > + mkdir -p $(STAGING_DIR)/usr/include/ > + cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ > + $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) > +endef > + > +define TBB_INSTALL_TARGET_CMDS > + $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) > +endef > + > +$(eval $(generic-package)) From arnout at mind.be Fri Apr 8 19:06:34 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Fri, 8 Apr 2022 21:06:34 +0200 Subject: [Buildroot] [git commit] package/tbb: new package Message-ID: <20220409134230.059958365C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c114c9e8ce3cca598babe77dca0d2137fa404a4b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Intel Threading Building Blocks (TBB), is a C++ library to help developers write highly parallelized applications. OpenCV uses it to accelerate some of it's more heavy weight procedures. Signed-off-by: bradford barr Signed-off-by: Francis Laniel [Arnout: - add LICENSE hash; - replace patch with explicit passing of CPLUS, CONLY, CXXFLAGS; - rework handling of arch and add comment about it.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + package/Config.in | 1 + package/tbb/Config.in | 16 ++++++++++++++++ package/tbb/tbb.hash | 3 +++ package/tbb/tbb.mk | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index a66b9d7eee..ef4ddcab50 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -970,6 +970,7 @@ F: package/odhcploc/ N: Francis Laniel F: package/pahole/ +F: package/tbb/ N: Francisco Gonzalez F: package/ser2net/ diff --git a/package/Config.in b/package/Config.in index 0d5d763180..24f7af5ea8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2044,6 +2044,7 @@ endif source "package/skalibs/Config.in" source "package/sphinxbase/Config.in" source "package/startup-notification/Config.in" + source "package/tbb/Config.in" source "package/tinycbor/Config.in" source "package/tz/Config.in" source "package/tzdata/Config.in" diff --git a/package/tbb/Config.in b/package/tbb/Config.in new file mode 100644 index 0000000000..0f40b74d31 --- /dev/null +++ b/package/tbb/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_TBB + bool "tbb" + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + help + Intel(R) Threading Building Blocks (Intel(R) TBB) lets you + easily write parallel C++ programs that take full advantage + of multicore performance, that are portable, composable and + have future-proof scalability. + + https://www.threadingbuildingblocks.org/ + +comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash new file mode 100644 index 0000000000..81d224b3ca --- /dev/null +++ b/package/tbb/tbb.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 tbb-2018_U5.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk new file mode 100644 index 0000000000..e5929388a2 --- /dev/null +++ b/package/tbb/tbb.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# tbb +# +################################################################################ + +TBB_VERSION = 2018_U5 +TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) +TBB_INSTALL_STAGING = YES +TBB_LICENSE = Apache-2.0 +TBB_LICENSE_FILES = LICENSE + +TBB_SO_VERSION = 2 +TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy +TBB_BIN_PATH = $(@D)/build/linux_* + +# arch is normally set based on uname -m with some conversions. However, +# it is not really used for much: +# - to decide between 32 or 64-bit files (based on '64' in the name) +# - to decide on some arch-specific CFLAGS like -m32, which we don't actually want +# - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) +# - to include assembler source, but it only exists for ia64 +# The only thing we actually want from the above is the 32/64-bit, and +# DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to +# the tbb build system, and set DO_ITT_NOTIFY explicitly. +TBB_ARCH = $(if $(BR2_ARCH_IS_64),buildroot64,buildroot32) +TBB_ITT_NOTIFY = $(if $(BR2_i386)$(BR2_x86_64),-DDO_ITT_NOTIFY) +TBB_CXXFLAGS = $(TARGET_CXXFLAGS) $(TBB_ITT_NOTIFY) + +define TBB_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) arch=$(TBB_ARCH) \ + CPLUS="$(TARGET_CXX)" CONLY="$(TARGET_CC)" CXXFLAGS="$(TBB_CXXFLAGS)" +endef + +define TBB_INSTALL_LIBS + $(foreach lib,$(TBB_LIBS), + $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$(TBB_SO_VERSION) \ + $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; + ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so + ) +endef + +define TBB_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/ + cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ + $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) +endef + +define TBB_INSTALL_TARGET_CMDS + $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) +endef + +$(eval $(generic-package)) From peter at korsgaard.com Sat Apr 9 14:02:51 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:02:51 +0200 Subject: [Buildroot] [PATCH 1/2] package/python-brotli: add missing C++ comment In-Reply-To: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 11:20:58 +0200") References: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> Message-ID: <87bkxas6b8.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > python-brotli needs C++ since its addition in commit > 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:02:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:02:56 +0200 Subject: [Buildroot] [PATCH 2/2] package/python-weasyprint: needs C++ In-Reply-To: <20220403092059.2320843-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 11:20:59 +0200") References: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> <20220403092059.2320843-2-fontaine.fabrice@gmail.com> Message-ID: <877d7ys6b3.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++ > dependency from python-brotli > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:02:26 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:02:26 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-weasyprint: needs C++ Message-ID: <20220409135355.3503B8368C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c5bcb7a201b9b4ea5f7e6816061485cb0ffce9c9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++ dependency from python-brotli Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit fef53b2e53c0e1ee958702f7a7f2cb097d54e74f) Signed-off-by: Peter Korsgaard --- package/python-weasyprint/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 4a7e5a513d..7fe99c3951 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" + depends on BR2_INSTALL_LIBSTDCPP # python-brotli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime @@ -14,3 +15,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT The Awesome Document Factory. https://www.courtbouillon.org/weasyprint + +comment "python-weasyprint needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Sat Apr 9 10:49:24 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:49:24 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cloop: fix build with gcc >= 9 Message-ID: <20220409135355.20A6D83695@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3ae9a618b8634b0093890e12a1326910e7bef941 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with gcc >= 9 (and -std=c++17): ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications 70 | bool file_exists(const std::string& file) throw (error); | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 7e147e778fc3397cd2a069c8127fa4d2cc6c0355) Signed-off-by: Peter Korsgaard --- package/cloop/cloop.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index f3c4954ead..6f6d5fe6a8 100644 --- a/package/cloop/cloop.mk +++ b/package/cloop/cloop.mk @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib define HOST_CLOOP_BUILD_CMDS $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" endef define HOST_CLOOP_INSTALL_CMDS From peter at korsgaard.com Sat Apr 9 14:02:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:02:11 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-brotli: add missing C++ comment Message-ID: <20220409135355.29DB88368B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=20246952dda1bd81792bf8cc8cb60a87cd7dbe64 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x python-brotli needs C++ since its addition in commit 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit dbf34f5c117c87be58e485605bbe8dec07762897) Signed-off-by: Peter Korsgaard --- package/python-brotli/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-brotli/Config.in b/package/python-brotli/Config.in index 1c09c26866..c31315392b 100644 --- a/package/python-brotli/Config.in +++ b/package/python-brotli/Config.in @@ -5,3 +5,6 @@ config BR2_PACKAGE_PYTHON_BROTLI Python bindings for the Brotli compression library. https://github.com/google/brotli + +comment "python-brotli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Sat Apr 9 10:48:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:48:55 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-greenlet: disable cpp test Message-ID: <20220409135355.1657B8344D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a591dafceaba29d1bd1771e50ed7dfa9265ad73d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Disable cpp test to avoid the following build failure without C++ raised since the addition of the package in commit 826ef33bedc0f2f39a38622f066978cd9cc05226 and https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: powerpc64-buildroot-linux-gnu-gcc.br_real: error: src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit b91bf2dbe6dc57ca85598730617b4eaccbe7433b) Signed-off-by: Peter Korsgaard --- package/python-greenlet/python-greenlet.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk index 3b1ef7e314..72d2747970 100644 --- a/package/python-greenlet/python-greenlet.mk +++ b/package/python-greenlet/python-greenlet.mk @@ -10,6 +10,7 @@ PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea PYTHON_GREENLET_SETUP_TYPE = setuptools PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no $(eval $(python-package)) $(eval $(host-python-package)) From peter at korsgaard.com Sat Apr 9 10:48:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:48:32 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS Message-ID: <20220409135355.0EDB48368B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0e8dd13bf892cbcec21d6845a9fa9c9a49fab24b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid the following build failure when GO_GOARCH is empty (e.g. on mips32) which leads to an empty --arch argument in the sloci-image call, raised since the addition of the package in commmit ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' Usage: sloci-image [options] ROOTFS NAME[:TAG] sloci-image [-h | -V] Create a single-layer OCI image with the given rootfs. Arguments: ROOTFS Directory or tar.gz archive with rootfs to pack into the image. Important: Archive will be *moved* to the image, so make a copy if you need it. Directory will be preserved. NAME Name of the image. TAG Tag for the image. Defaults to "latest". Options: -m --arch ARCH CPU architecture which the binaries in this image are built to run on. Defaults to $(uname -m). --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). -a --author NAME Name and/or email address of the person which created the image. -c --cmd CMD Default arguments to the entrypoint of the container. --debug Print debug messages (it can be also enabled with env. variable DEBUG). -C --entrypoint EP Arguments to use as the command to execute when the container starts. -e --env VAR=VAL Default environment variables for container. -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. If KEY starts with a dot, it will be prefixed with "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). --os OS Name of the OS which the image is built to run on. Defaults to "linux". -p --port PORT[/PROT] Default set of ports to expose from a container running this image in format: /tcp, /udp, or (same as /tcp). Aliases: --expose. -t --tar Pack image in a TAR archive. -u --user USER The username or UID of user the process run as. -v --volume PATH Default set of directories describing where the process is likely write data specific to a container instance. -w --working-dir DIR Sets the current working directory of the entrypoint process in the container. -V --version Print version and exit. -h --help Print this message and exit. Please report bugs at . make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 Fixes: - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit efe832dbc3c8d0d2caa1e8ba0ccba8254292de6c) Signed-off-by: Peter Korsgaard --- fs/oci/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/oci/Config.in b/fs/oci/Config.in index 176785810a..8f36c91c8f 100644 --- a/fs/oci/Config.in +++ b/fs/oci/Config.in @@ -1,5 +1,6 @@ config BR2_TARGET_ROOTFS_OCI bool "oci image" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS help Build an OCI (Open Container Initiative) image. From peter at korsgaard.com Sat Apr 9 14:09:24 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:09:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 12:03:18 +0200") References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Message-ID: <8735ims60b.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:07:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:07:25 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/dhcp: use internal bind Message-ID: <20220409135952.56D9D83695@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=47f14d9a0f34bd9f596465c14b31a4bf9ce6b2cc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Use internal bind as dhcp doesn't build since bump of bind to version 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream doesn't plan to fix it any time soon: https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 In file included from ../includes/dhcpd.h:91, from ctrace.c:29: ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 Signed-off-by: Fabrice Fontaine Reviewed-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 0c8dd6ebd656e06cf99a63eb93343715f4853503) Signed-off-by: Peter Korsgaard --- package/dhcp/Config.in | 1 - package/dhcp/dhcp.mk | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index 515040c612..e0706efafb 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP # fork() depends on BR2_USE_MMU depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_BIND help DHCP relay agent from the ISC DHCP distribution. diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 18765a3639..f1e3c22f1c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE -DHCP_DEPENDENCIES = bind host-gawk +DHCP_DEPENDENCIES = host-gawk DHCP_CPE_ID_VENDOR = isc +# internal bind does not support parallel builds. +DHCP_MAKE = $(MAKE1) # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk DHCP_CONF_OPTS = \ - --with-libbind=$(STAGING_DIR)/usr \ + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ --with-randomdev=/dev/random \ --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-relay6-pid-file=/var/run/dhcrelay6.pid +ifeq ($(BR2_PACKAGE_ZLIB),y) +DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_DEPENDENCIES += zlib +else +DHCP_BIND_EXTRA_CONFIG += --without-zlib +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DHCP_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_STATIC_LIBS),y) -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" DHCP_CONF_OPTS += --disable-libtool else DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF From peter at korsgaard.com Sat Apr 9 14:10:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:10:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/flac: fix build on ppc64 In-Reply-To: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 12:31:46 +0200") References: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> Message-ID: <87y20eqret.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Disable vsx to avoid the following build failure on ppc64 raised since > bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af > and > https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: > In file included from lpc_intrin_vsx.c:46: > /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: > error: #error Use the "-maltivec" flag to enable PowerPC AltiVec > support > 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support > | ^~~~~ > lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': > lpc_intrin_vsx.c:94:7: warning: implicit declaration of function > 'vec_vsx_ld'; did you mean 'vec_vslh'? > [-Wimplicit-function-declaration] > 94 | d0 = vec_vsx_ld(0, base); > | ^~~~~~~~~~ > | vec_vslh > Fixes: > - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:10:35 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:10:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpsl: fix build with libiconv In-Reply-To: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 14:13:27 +0200") References: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> Message-ID: <87tub2qrdw.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure raised since the addition of the package > in commit 47acda3a95bd4310f884e741f20785d374af7b22: > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: > src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': > psl.c:(.text+0x1584): undefined reference to `libiconv_open' > Fixes: > - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:11:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:11:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/glib-networking: fix build with libressl In-Reply-To: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 16:00:24 +0200") References: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> Message-ID: <87pmlqqrco.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > glib-networking raises the following build failure with libressl: > ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': > ../tls/openssl/gtlsconnection-openssl.c:419:27: error: > 'TLS1_3_VERSION' undeclared (first use in this function); did you mean > 'TLS1_2_VERSION'? > 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) > | ^~~~~~~~~~~~~~ > | TLS1_2_VERSION > ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared > identifier is reported only once for each function it appears in > ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit > declaration of function 'SSL_key_update' > [-Werror=implicit-function-declaration] > 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); > | ^~~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:12:07 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:12:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/dieharder: drop rgb_operm In-Reply-To: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 22:56:00 +0200") References: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> Message-ID: <87leweqrbc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure: > /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: > dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to > `rgb_operm' > Fixes: > - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:09:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:09:45 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/flac: fix build on ppc64 Message-ID: <20220409140344.6E0BD83701@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=446d7c537109a1a7de7c947d59c77dc04e247f4a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Disable vsx to avoid the following build failure on ppc64 raised since bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af and https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: In file included from lpc_intrin_vsx.c:46: /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support | ^~~~~ lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': lpc_intrin_vsx.c:94:7: warning: implicit declaration of function 'vec_vsx_ld'; did you mean 'vec_vslh'? [-Wimplicit-function-declaration] 94 | d0 = vec_vsx_ld(0, base); | ^~~~~~~~~~ | vec_vslh Fixes: - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 5197ce5ff30d1a23b811ddddca8030f13658d7da) Signed-off-by: Peter Korsgaard --- package/flac/flac.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/flac/flac.mk b/package/flac/flac.mk index 2ff048b6e6..3a18d81591 100644 --- a/package/flac/flac.mk +++ b/package/flac/flac.mk @@ -20,7 +20,8 @@ FLAC_CONF_OPTS = \ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ --disable-xmms-plugin \ --disable-altivec \ - --disable-stack-smash-protection + --disable-stack-smash-protection \ + --disable-vsx ifeq ($(BR2_PACKAGE_LIBOGG),y) FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr From peter at korsgaard.com Sat Apr 9 14:10:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:10:22 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libpsl: fix build with libiconv Message-ID: <20220409140344.77AE08368C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33e173f2098c33dcd8b3bd3bbf4f2f644f96b192 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure raised since the addition of the package in commit 47acda3a95bd4310f884e741f20785d374af7b22: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': psl.c:(.text+0x1584): undefined reference to `libiconv_open' Fixes: - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 3239fb5b179d043ecfc854dd2f4962444d8b36a6) Signed-off-by: Peter Korsgaard --- ...001-Add-libiconv-dep-to-meson-build-again.patch | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch new file mode 100644 index 0000000000..72f50aa593 --- /dev/null +++ b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch @@ -0,0 +1,60 @@ +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 +From: Zhao Zhili +Date: Thu, 7 Jan 2021 20:59:17 +0800 +Subject: [PATCH] Add libiconv dep to meson build again + +Build success on macOS and ubuntu. + +[Retrieved from: +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 14 ++++++++++++++ + src/meson.build | 2 +- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f248171..fb2de31 100644 +--- a/meson.build ++++ b/meson.build +@@ -20,6 +20,7 @@ libicu_dep = notfound + libidn_dep = notfound + libunistring = notfound + networking_deps = notfound ++libiconv_dep = notfound + + # FIXME: Cleanup this when Meson gets 'feature-combo': + # https://github.com/mesonbuild/meson/issues/4566 +@@ -86,6 +87,19 @@ endif + if libidn2_dep.found() or libidn_dep.found() + # Check for libunistring, we need it for psl_str_to_utf8lower() + libunistring = cc.find_library('unistring') ++ found_iconv = false ++ if cc.has_function('iconv_open') ++ libiconv_dep = [] ++ found_iconv = true ++ endif ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') ++ libiconv_dep = [cc.find_library('iconv')] ++ found_iconv = true ++ endif ++ ++ if not found_iconv ++ error('iconv implementation not found') ++ endif + endif + + if host_machine.system() == 'windows' +diff --git a/src/meson.build b/src/meson.build +index 0d1dcdf..746bf44 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -19,7 +19,7 @@ cargs = [ + libpsl = library('psl', sources, suffixes_dafsa_h, + include_directories : [configinc, includedir], + c_args : cargs, +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], + version: lt_version, + install: true, + ) From peter at korsgaard.com Sat Apr 9 14:11:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:11:45 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/dieharder: drop rgb_operm Message-ID: <20220409140344.8B51D83701@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=314074e743133043674a1558d6819dfa047f0ea9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure: /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to `rgb_operm' Fixes: - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit d0ffdb2bdd22432f6f269a43ceaf7f1e51d535b5) Signed-off-by: Peter Korsgaard --- .../dieharder/0005-Remove-defunct-rgb_operm.patch | 732 +++++++++++++++++++++ 1 file changed, 732 insertions(+) diff --git a/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/package/dieharder/0005-Remove-defunct-rgb_operm.patch new file mode 100644 index 0000000000..efc311dbaa --- /dev/null +++ b/package/dieharder/0005-Remove-defunct-rgb_operm.patch @@ -0,0 +1,732 @@ +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marcus=20M=C3=BCller?= +Date: Mon, 12 Oct 2020 21:30:12 +0200 +Subject: [PATCH] Remove defunct rgb_operm + +[Retrieved from: +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] +Signed-off-by: Fabrice Fontaine +--- + include/Makefile.am | 1 - + include/dieharder/rgb_operm.h | 38 -- + include/dieharder/tests.h | 2 - + libdieharder/rgb_operm.c | 633 ---------------------------------- + 4 files changed, 674 deletions(-) + delete mode 100644 include/dieharder/rgb_operm.h + delete mode 100644 libdieharder/rgb_operm.c + +diff --git a/include/Makefile.am b/include/Makefile.am +index f80b4ff..e4659cd 100644 +--- a/include/Makefile.am ++++ b/include/Makefile.am +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ + dieharder/rgb_lagged_sums.h \ + dieharder/rgb_lmn.h \ + dieharder/rgb_minimum_distance.h \ +- dieharder/rgb_operm.h \ + dieharder/rgb_persist.h \ + dieharder/rgb_permutations.h \ + dieharder/rgb_timing.h \ +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +deleted file mode 100644 +index c48fa37..0000000 +--- a/include/dieharder/rgb_operm.h ++++ /dev/null +@@ -1,38 +0,0 @@ +-/* +- * rgb_operm test header. +- */ +- +-/* +- * function prototype +- */ +-int rgb_operm(Test **test,int irun); +- +-static Dtest rgb_operm_dtest __attribute__((unused)) = { +- "RGB Overlapping Permuations Test", +- "rgb_operm", +- "\n\ +-#========================================================================\n\ +-# RGB Overlapping Permutations Test\n\ +-# Forms both the exact (expected) covariance matrix for overlapping\n\ +-# permutations of random integer and an empirical covariance matrix\n\ +-# formed from a long string of samples. The difference is expected\n\ +-# to have a chisq distribution and hence can be transformed into a\n\ +-# sample p-value. Note that this is one possible functional replacement\n\ +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ +-# number of numbers in the overlapping permutation window) to be varied\n\ +-# from 2 to perhaps 8.\n\ +-#\n", +- 100, /* Default psamples */ +- 100000, /* Default tsamples */ +- 1, /* We magically make all the bit tests return a single histogram */ +- rgb_operm, +- 0 +-}; +- +-/* +- * Global variables. +- * +- * rgb_operm_k is the size of the overlapping window that is slid along +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. +- */ +-unsigned int rgb_operm_k; +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h +index 1674aed..b50dbe3 100644 +--- a/include/dieharder/tests.h ++++ b/include/dieharder/tests.h +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -80,7 +79,6 @@ + RGB_PERMUTATIONS, + RGB_LAGGED_SUMS, + RGB_LMN, +- RGB_OPERM, + DAB_BYTEDISTRIB, + DAB_DCT, + DAB_FILLTREE, +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c +deleted file mode 100644 +index 15f8e9a..0000000 +--- a/libdieharder/rgb_operm.c ++++ /dev/null +@@ -1,633 +0,0 @@ +-/* +- * ======================================================================== +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ +- * +- * See copyright in copyright.h and the accompanying file COPYING +- * ======================================================================== +- */ +- +-/* +- * ======================================================================== +- * This is the revised Overlapping Permutations test. It directly +- * simulates the covariance matrix of overlapping permutations. The way +- * this works below (tentatively) is: +- * +- * For a bit ntuple of length N, slide a window of length N to the +- * right one bit at a time. Compute the permutation index of the +- * original ntuple, the permutation index of the window ntuple, and +- * accumulate the covariance matrix of the two positions. This +- * can be directly and precisely computed as well. The simulated +- * result should be distributed according to the chisq distribution, +- * so we subtract the two and feed it into the chisq program as a +- * vector to compute p. +- * +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited +- * documentation (in a program that doesn't do ANYTHING like what the +- * documentation says it does) and from Nilpotent Markov Processes. +- * But I confess to not quite understand how to actually perform the +- * test in the latter -- it is very good at describing the construction +- * of the target matrix, not so good at describing how to transform +- * this into a chisq and p. +- * +- * FWIW, as I get something that actually works here, I'm going to +- * THOROUGHLY document it in the book that will accompany the test. +- *======================================================================== +- */ +- +-#include +-#define RGB_OPERM_KMAX 10 +- +-/* +- * Some globals that will eventually go in the test include where they +- * arguably belong. +- */ +-double fpipi(int pi1,int pi2,int nkp); +-uint piperm(size_t *data,int len); +-void make_cexact(); +-void make_cexpt(); +-int nperms,noperms; +-double **cexact,**ceinv,**cexpt,**idty; +-double *cvexact,*cvein,*cvexpt,*vidty; +- +-int rgb_operm(Test **test,int irun) +-{ +- +- int i,j,n,nb,iv,s; +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ +- uint *count,ctotal; /* counters */ +- uint size; +- double pvalue,ntuple_prob,pbin; /* probabilities */ +- Vtest *vtest; /* Chisq entry vector */ +- +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; +- +- /* +- * For a given n = ntuple size in bits, there are n! bit orderings +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("#==================================================================\n"); +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); +- printf("# rgb_operm: ======================================================\n"); +- } +- +- /* +- * Sanity check first +- */ +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); +- exit(0); +- } +- +- nperms = gsl_sf_fact(rgb_operm_k); +- noperms = gsl_sf_fact(3*rgb_operm_k-2); +- csamples = rgb_operm_k*rgb_operm_k; +- gsl_permutation * p = gsl_permutation_alloc(nperms); +- +- /* +- * Allocate memory for value_max vector of Vtest structs and counts, +- * PER TEST. Note that we must free both of these when we are done +- * or leak. +- */ +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); +- count = (uint *)malloc(csamples*sizeof(uint)); +- Vtest_create(vtest,csamples+1); +- +- /* +- * We have to allocate and free the cexact and cexpt matrices here +- * or they'll be forgotten when these routines return. +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); +- } +- cexact = (double **)malloc(nperms*sizeof(double*)); +- ceinv = (double **)malloc(nperms*sizeof(double*)); +- cexpt = (double **)malloc(nperms*sizeof(double*)); +- idty = (double **)malloc(nperms*sizeof(double*)); +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); +- for(i=0;idata[k]; +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("#------------------------------------------------------------------\n"); +- printf("# Generating offset sample permutation pi's\n"); +- } +- */ +- for(k=0;k<2*rgb_operm_k - 1;k++){ +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); +- pi[k] = piperm((size_t *) ps,rgb_operm_k); +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("# %u: ",k); +- for(ip=k;ipdata[ip]); +- } +- printf(" = %u\n",pi[k]); +- } +- */ +- } +- +- /* +- * This is the business end of things. The covariance matrix is the +- * the sum of a central function of the permutation indices that yields +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the +- * possible permutations, for the FIRST permutation in a sample (fi) +- * times the sum of the same function over all the overlapping permutations +- * drawn from the same sample. Quite simple, really. +- */ +- for(i=0;idata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } else { +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); +- gsl_permutation_next(lookup[i]); +- for(j=0;jdata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } +- } +- */ +- MYDEBUG(D_RGB_OPERM){ +- for(i=0;i ",i); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf("\n"); +- } +- } +- +- } +- +- for(i=0;idata,len*sizeof(uint))==0){ +- /* Not cruft, but off: +- MYDEBUG(D_RGB_OPERM){ +- printf("# piperm(): "); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf(" = %u\n",i); +- } +- */ +- return(i); +- } +- } +- printf("We'd better not get here...\n"); +- +- return(0); +- +-} +- +-double fpipi(int pi1,int pi2,int nkp) +-{ +- +- int i; +- double fret; +- +- /* +- * compute the k-permutation index from iperm for the window +- * at data[offset] of length len. If it matches pind, return +- * the first quantity, otherwise return the second. +- */ +- if(pi1 == pi2){ +- +- fret = (double) (nkp - 1.0)/nkp; +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } else { +- +- fret = (double) (-1.0/nkp); +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } +- +- +-} +- +- +- +- From peter at korsgaard.com Sat Apr 9 14:11:04 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:11:04 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/glib-networking: doesn't support libressl Message-ID: <20220409140344.80E0A8371A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dea83528efedb5e6f2d8236198f1da5fc8d1a045 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x glib-networking raises the following build failure with libressl: ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) | ^~~~~~~~~~~~~~ | TLS1_2_VERSION ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~ Since libressl doesn't (intend to) support post-1.0.2 openssl compatibility, this is only going to get worse. Therefore, require libopenssl. Fixes: - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit e02514ad7a11c24b8fbd7a4bd57c7b4419a61505) Signed-off-by: Peter Korsgaard --- package/glib-networking/Config.in | 1 + package/glib-networking/glib-networking.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in index 38cded5e6b..9c5d36af16 100644 --- a/package/glib-networking/Config.in +++ b/package/glib-networking/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS help Network-related GIO modules for glib. diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index f74e520d31..e8905dfff4 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -31,7 +31,7 @@ else GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) GLIB_NETWORKING_DEPENDENCIES += openssl GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled else From arnout at mind.be Sat Apr 9 14:40:20 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 16:40:20 +0200 Subject: [Buildroot] [RFC PATCH v1 2/2] package/sysdig: bump version to 0.27.1. In-Reply-To: <20220407182425.194001-3-flaniel@linux.microsoft.com> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> <20220407182425.194001-3-flaniel@linux.microsoft.com> Message-ID: <2b54dc64-98da-5de3-e94e-0fb7bbaaca8b@mind.be> Hi Francis, On 07/04/2022 20:24, Francis Laniel wrote: > 0.23.1 has compilation errors with recent kernels. > > Signed-off-by: Francis Laniel I've applied to master, with a number of changes. I've noticed that it doesn't build on e.g. aarch64, because it uses syscalls like open(2) that simply don't exist on aarch64. Fixing that would be quite a big undertaking, and upstream has simply removed the syscall-handling code. So a better solution would be to update to 0.29.1. However, *that* is a fairly big change again because they also got rid of the kernel driver. It's easy enough to remove the kernel-module part on the buildroot side, but I wouldn't know if it still behaves correctly at runtime. So, Francis, would you care to look into updating to 0.29.1? If you do that, please also check if it requires a minimum kernel version. I think it uses all kinds of tracepoint or other kernel features which may not exist in older kernels. If it does have a minimum kernel version, please add a BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y dependency (with explanation in the commit message how you got to that conclusion). Also, I added you to DEVELOPERS for this package. It won't have much effect other than being Cc'ed on patches, because sysdig isn't built in the autobuilders (since it depends on a kernel to be built and we don't do that in autobuilders). > --- > ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 +++++++++++++++++++ > ...gainst-libabseil-cpp-which-grpc-uses.patch | 45 ++++++++++ > package/sysdig/Config.in | 5 ++ > package/sysdig/sysdig.hash | 1 + > package/sysdig/sysdig.mk | 7 +- > 5 files changed, 139 insertions(+), 1 deletion(-) > create mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > create mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > new file mode 100644 > index 0000000000..7873210281 > --- /dev/null > +++ b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > @@ -0,0 +1,82 @@ > +From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Wed, 6 Apr 2022 16:54:37 +0100 > +Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. > + > +Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and > +luaL_Reg. > +So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function > +call as well. > +Note that, this PATCH_COMMAND was added in sysdig in: > +a064440394c9 ("Adding power support to Travis builds (#1566)") > + > +This patch is also present in kubernetes/minikube in: > +f036c279bc59 ("Add patch for compiling sysdig with system luajit") > + > +Signed-off-by: Francis Laniel Would it be possible to send this patch upstream, so we don't need to maintain it going forward? Obviously, it's best to first bump to the latest version (and check if the patch is still needed). [snip] > diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > new file mode 100644 > index 0000000000..60c3d31a3e > --- /dev/null > +++ b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > @@ -0,0 +1,45 @@ > +From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Thu, 7 Apr 2022 18:30:23 +0100 > +Subject: [PATCH 2/2] Link against libabseil-cpp which grpc uses. Don't include the 2/2 part (use git format-patch -N). check-package reports this. > + > +This patch was taken from: > +55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") > +from hhoffstaette/portage. I've changed this to include the full URL of where you've taken it from. I should have done that for th other patch as well, but I forgot. Also please send this patch upstream. > + > +Signed-off-by: Francis Laniel > +--- > + CMakeLists.txt | 1 + > + userspace/libsinsp/CMakeLists.txt | 4 ++++ > + 2 files changed, 5 insertions(+) > + > +diff --git a/CMakeLists.txt b/CMakeLists.txt > +index 1f34f1d6..c0354b29 100644 > +--- a/CMakeLists.txt > ++++ b/CMakeLists.txt > +@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) > + else() > + message(FATAL_ERROR "Couldn't find system grpc") > + endif() > ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) > + find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) > + if(NOT GRPC_CPP_PLUGIN) > + message(FATAL_ERROR "System grpc_cpp_plugin not found") > +diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt > +index d72f9115..d1b7ea02 100644 > +--- a/userspace/libsinsp/CMakeLists.txt > ++++ b/userspace/libsinsp/CMakeLists.txt > +@@ -214,6 +214,10 @@ if(NOT WIN32) > + "${JQ_LIB}" > + "${B64_LIB}") > + > ++ if(ABSL_SYNC_LIB) > ++ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") > ++ endif() > ++ > + if(NOT MUSL_OPTIMIZED_BUILD) > + target_link_libraries(sinsp > + rt > +-- > +2.25.1 > + > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > index 06d20c7f7b..5a7fbb50e0 100644 > --- a/package/sysdig/Config.in > +++ b/package/sysdig/Config.in > @@ -8,13 +8,18 @@ config BR2_PACKAGE_SYSDIG > depends on BR2_USE_WCHAR # elfutils > depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils > depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > + select BR2_PACKAGE_C_ARES > select BR2_PACKAGE_ELFUTILS > + select BR2_PACKAGE_GRPC You also need to propagate the dependencies of grpc. For grpc, that's just a matter of adding grpc to the comments above, but some other packages have stricter dependencies. > + select BR2_PACKAGE_GTEST gtest is only required if tests are enabled, so I added the conf opt to disable tests instead. > select BR2_PACKAGE_JQ > select BR2_PACKAGE_JSONCPP > select BR2_PACKAGE_LIBB64 > select BR2_PACKAGE_LIBCURL > select BR2_PACKAGE_NCURSES > select BR2_PACKAGE_OPENSSL > + select BR2_PACKAGE_PROTOBUF > + select BR2_PACKAGE_TBB > select BR2_PACKAGE_ZLIB > help > Sysdig is open source, system-level exploration: > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > index 565b1e9828..4bce674f3e 100644 > --- a/package/sysdig/sysdig.hash > +++ b/package/sysdig/sysdig.hash > @@ -1,3 +1,4 @@ > # sha256 locally computed > +sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz > sha256 57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa sysdig-0.23.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING The COPYING file has changed, as shown by 'make legal-info'. Turns out that the license changed to Apache-2.0, except for the driver which is GPLv2 or MIT. So I updated the license hash and added the new license files. > diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk > index 08d93750ae..d497c7c381 100644 > --- a/package/sysdig/sysdig.mk > +++ b/package/sysdig/sysdig.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SYSDIG_VERSION = 0.23.1 > +SYSDIG_VERSION = 0.27.1 > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > SYSDIG_LICENSE = GPL-2.0 > SYSDIG_LICENSE_FILES = COPYING This needed to be updated as well for the license change, of course. Regards, Arnout > @@ -13,7 +13,10 @@ SYSDIG_CONF_OPTS = -DENABLE_DKMS=OFF -DUSE_BUNDLED_DEPS=OFF > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > SYSDIG_DEPENDENCIES = \ > + c-ares \ > elfutils \ > + gtest \ > + grpc \ > jq \ > jsoncpp \ > libb64 \ > @@ -21,6 +24,8 @@ SYSDIG_DEPENDENCIES = \ > luainterpreter \ > ncurses \ > openssl \ > + protobuf \ > + tbb \ > zlib > > # sysdig creates the module Makefile from a template, which contains a From arnout at mind.be Sat Apr 9 14:00:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 9 Apr 2022 16:00:43 +0200 Subject: [Buildroot] [git commit] package/sysdig: bump version to 0.27.1. Message-ID: <20220409143154.0046D83761@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7818cef78bfaf8eab8ec86d715ca76b0dbfa46e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master 0.23.1 has compilation errors with recent kernels. 0.27.1 changed license for userspace from GPLv2 to Apache and added MIT option for driver. New dependencies: c-ares, grpc, protobuf, tbb. There's also a dependency on gtest, but only if tests are enabled. Therefore, add conf opt to disable tests. Signed-off-by: Francis Laniel [Arnout: - Add Francis to DEVELOPERS for sysdig. - Add link to source of patch 2. - Remove N/M from patch 2 (check-package). - Correct license info and hashes. - Remove gtest dependency. - Add -DCREATE_TEST_TARGETS=OFF conf opt. - Propagate Config.in dependencies of reverse dependencies.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + ...ply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ++++++++++++++++++++++ ...ink-against-libabseil-cpp-which-grpc-uses.patch | 47 +++++++++++++ package/sysdig/Config.in | 20 ++++-- package/sysdig/sysdig.hash | 6 +- package/sysdig/sysdig.mk | 15 ++-- 6 files changed, 158 insertions(+), 13 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index ef4ddcab50..d5035b3239 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -970,6 +970,7 @@ F: package/odhcploc/ N: Francis Laniel F: package/pahole/ +F: package/sysdig/ F: package/tbb/ N: Francisco Gonzalez diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch new file mode 100644 index 0000000000..7873210281 --- /dev/null +++ b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch @@ -0,0 +1,82 @@ +From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 6 Apr 2022 16:54:37 +0100 +Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. + +Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and +luaL_Reg. +So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function +call as well. +Note that, this PATCH_COMMAND was added in sysdig in: +a064440394c9 ("Adding power support to Travis builds (#1566)") + +This patch is also present in kubernetes/minikube in: +f036c279bc59 ("Add patch for compiling sysdig with system luajit") + +Signed-off-by: Francis Laniel +--- + userspace/libsinsp/chisel.cpp | 6 +++--- + userspace/libsinsp/lua_parser.cpp | 2 +- + userspace/libsinsp/lua_parser_api.cpp | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp +index 0a6e3cf8..0c2e255a 100644 +--- a/userspace/libsinsp/chisel.cpp ++++ b/userspace/libsinsp/chisel.cpp +@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) + // Lua callbacks + /////////////////////////////////////////////////////////////////////////////// + #ifdef HAS_LUA_CHISELS +-const static struct luaL_reg ll_sysdig [] = ++const static struct luaL_Reg ll_sysdig [] = + { + {"set_filter", &lua_cbacks::set_global_filter}, + {"set_snaplen", &lua_cbacks::set_snaplen}, +@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = + {NULL,NULL} + }; + +-const static struct luaL_reg ll_chisel [] = ++const static struct luaL_Reg ll_chisel [] = + { + {"request_field", &lua_cbacks::request_field}, + {"set_filter", &lua_cbacks::set_filter}, +@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = + {NULL,NULL} + }; + +-const static struct luaL_reg ll_evt [] = ++const static struct luaL_Reg ll_evt [] = + { + {"field", &lua_cbacks::field}, + {"get_num", &lua_cbacks::get_num}, +diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp +index 0e26617d..78810d96 100644 +--- a/userspace/libsinsp/lua_parser.cpp ++++ b/userspace/libsinsp/lua_parser.cpp +@@ -32,7 +32,7 @@ extern "C" { + #include "lauxlib.h" + } + +-const static struct luaL_reg ll_filter [] = ++const static struct luaL_Reg ll_filter [] = + { + {"rel_expr", &lua_parser_cbacks::rel_expr}, + {"bool_op", &lua_parser_cbacks::bool_op}, +diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp +index c89e9126..c3d8008a 100644 +--- a/userspace/libsinsp/lua_parser_api.cpp ++++ b/userspace/libsinsp/lua_parser_api.cpp +@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) + string err = "Got non-table as in-expression operand\n"; + throw sinsp_exception("parser API error"); + } +- int n = luaL_getn(ls, 4); /* get size of table */ ++ int n = lua_objlen (ls, 4); /* get size of table */ + for (i=1; i<=n; i++) + { + lua_rawgeti(ls, 4, i); +-- +2.25.1 + diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch new file mode 100644 index 0000000000..a9155fbb4a --- /dev/null +++ b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch @@ -0,0 +1,47 @@ +From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Thu, 7 Apr 2022 18:30:23 +0100 +Subject: [PATCH] Link against libabseil-cpp which grpc uses. + +This patch was taken from: +55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") [1] +from hhoffstaette/portage. + +[1] https://github.com/hhoffstaette/portage/blob/55c96b61f7b91e4d91bed6723e86c00dd91f8d16/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch + +Signed-off-by: Francis Laniel +--- + CMakeLists.txt | 1 + + userspace/libsinsp/CMakeLists.txt | 4 ++++ + 2 files changed, 5 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1f34f1d6..c0354b29 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) + else() + message(FATAL_ERROR "Couldn't find system grpc") + endif() ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) + find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) + if(NOT GRPC_CPP_PLUGIN) + message(FATAL_ERROR "System grpc_cpp_plugin not found") +diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt +index d72f9115..d1b7ea02 100644 +--- a/userspace/libsinsp/CMakeLists.txt ++++ b/userspace/libsinsp/CMakeLists.txt +@@ -214,6 +214,10 @@ if(NOT WIN32) + "${JQ_LIB}" + "${B64_LIB}") + ++ if(ABSL_SYNC_LIB) ++ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") ++ endif() ++ + if(NOT MUSL_OPTIMIZED_BUILD) + target_link_libraries(sinsp + rt +-- +2.25.1 + diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index 06d20c7f7b..3a4c033b2b 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -1,20 +1,25 @@ config BR2_PACKAGE_SYSDIG bool "sysdig" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq - depends on !BR2_STATIC_LIBS # elfutils + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb + depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils + depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils, tbb depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC select BR2_PACKAGE_JQ select BR2_PACKAGE_JSONCPP select BR2_PACKAGE_LIBB64 select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_NCURSES select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB select BR2_PACKAGE_ZLIB help Sysdig is open source, system-level exploration: @@ -25,9 +30,10 @@ config BR2_PACKAGE_SYSDIG https://github.com/draios/sysdig/wiki -comment "sysdig needs a glibc or uclibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" +comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ - || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) \ + || !BR2_TOOLCHAIN_USES_GLIBC \ || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 565b1e9828..4ec46abfc3 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,3 +1,5 @@ # sha256 locally computed -sha256 57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa sysdig-0.23.1.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz +sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt +sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 08d93750ae..9a9aaa35c3 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,16 +4,21 @@ # ################################################################################ -SYSDIG_VERSION = 0.23.1 +SYSDIG_VERSION = 0.27.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) -SYSDIG_LICENSE = GPL-2.0 -SYSDIG_LICENSE_FILES = COPYING +SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) +SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt SYSDIG_CPE_ID_VENDOR = sysdig -SYSDIG_CONF_OPTS = -DENABLE_DKMS=OFF -DUSE_BUNDLED_DEPS=OFF +SYSDIG_CONF_OPTS = \ + -DENABLE_DKMS=OFF \ + -DUSE_BUNDLED_DEPS=OFF \ + -DCREATE_TEST_TARGETS=OFF SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ + c-ares \ elfutils \ + grpc \ jq \ jsoncpp \ libb64 \ @@ -21,6 +26,8 @@ SYSDIG_DEPENDENCIES = \ luainterpreter \ ncurses \ openssl \ + protobuf \ + tbb \ zlib # sysdig creates the module Makefile from a template, which contains a From arnout at mind.be Sat Apr 9 15:41:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 17:41:42 +0200 Subject: [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] In-Reply-To: <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> References: <20220331132230.227424-1-br015@umbiko.net> <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> Message-ID: <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> [Putting the other maintainers in Cc here because there's a bit of a policy/philosophy decision.] On 08/04/2022 15:22, Andreas Ziegler wrote: > Hi Arnout, > > [snip] > Outline of the proposed next version of this change: > > [I did not want to make so many changes, but you are right, it makes sense.] > > Separate logic from implementation: Remove feature dependencies from mpd.mk and > put selection logic into Config.in exclusively. As you can see from the description above: this is making things quite complicated. And one of the tenets of Buildroot is to keep things simple. That is the reason why we generally want to avoid sub-options in Config.in. Basically we only want sub-options in the following cases: - It makes a big difference in the final target installed size if the option is kept disabled. E.g. BR2_PACKAGE_AVAHI_DAEMON. - There are multiple possibilities and depending on the circumstances, one can be more appropriate than the other. E.g. libcurl SSL/TLS library to use. - It is not obvious which other package needs to be enabled to enable a feature. E.g. BR2_PACKAGE_BLUEZ_ALSA_HCITOP. - The package has many sub-features with various dependencies, it is typically a major top-level package (i.e. something that the user wants explicitly and is not pulled in by something else), and the sub-features are user visible. The mpd sub-options fall in the latter category. It's the most tricky one to evaluate because it pulls in complexity with a difficult trade-off. It's also the one I dislike most, because it's very subjective. A way to make it more objective is to make a user-visible option for each config option that the package provides. However, I think that easily leads to an unnecessary explosion of Config.in options with no benefit for the user and possibly causing confusion. And it's not necessarily that simple either, cfr. mesa3d (though in that case it's going to be complicated however it's approached). We don't have a consistent policy for this case, but I believe the policy should be: - Add Config.in options only for features that are important, meaningful for the user (e.g. codec support). - Add Config.in options only for features that have a size impact (usually due to the dependencies they pull in). - In the .mk file, don't use the Config.in options but instead use automatic dependencies only. That way, the .mk file is kept simple (no problematic cases like the libupnp/expat interaction in this patch). The Config.in is a bit complicated, but it doesn't explode. Bottom line: I think it's actually the reverse that needs to be done. > In the makefile, a feature is responsible only to select or deselect its > configure option and, if this feature relies on a library, add a dependency on > this. So I think the .mk file should simply contain things like: ifeq ($(BR2_PACKAGE_LIBVORBIS),y) MPD_DEPENDENCIES += libvorbis MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled else MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled endif and BR2_PACKAGE_MPD_VORBIS only has an indirect effect, by selecting BR2_PACKAGE_LIBVORBIS. > Duplicated selection logic in mpd.mk will be eliminated. A build dependency will > only be added if it is present in the mpd configuration, and not be inherited > accidentally from concurrent packages. So this is exactly the reverse of what I'd want. I think it makes the .mk file harder to maintain for no practical gain. > This impacts the following features: expat, id3tag, yajl. id3tag already is half > implemented, but not used consistently (has an option entry in Config.in, but > does not select this, but handles dependencies individually). expat and yajl > would be created as hidden options without visibility (no user interaction > necessary). Yes, that would indeed be an alternative to keep the .mk file simpler. I take it you mean to add a blind option BR2_PACKAGE_MPD_EXPAT that gets selected by the other MPD options that rely on expat. This indeed simplifies things, but it is still a bit more complicated than what I propose. > Separate vorbis decoder and encoder options; currently the decoder feature > BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis encoding, > which is probably not intended. I don't see a reason why you would want only one or the other. It has virtually no impact on size. In summary, I think we have the following three options for packages where we decide we want user-visible sub-options. - 1-to-1 mapping with the package configure options. Interaction between the options is expressed with select/depends in Config.in. The .mk file simply maps the Config.in options. If it's really not relevant for the user, a Config.in option can be made blind. This is what Andreas proposes. - Only automatic dependencies in the .mk file, except in cases where it has an important size or behaviour impact. Add Config.in options only in case it is relevant. This is what I propose. - Add Config.in options for important features. Express interdependencies between package configure options in the .mk file. This is the current situation for mpd. Thinking more about it, Andreas' proposal does have an attractive kind of elegance about it, which gives it simplicity even though it is more lines of code. So let's see what the other maintainers think. If you (or the other maintainers) don't agree, we can compromise and go back to the original patch (with just the npupnp/expat situation resolved). Ideally I'd like the maintainers (and anybody else, really) to come to a decision here and eventually formalize it in the manual. Because it's not the first time this discussion crops up. Regards, Arnout > Create entry 'unicode' for ICU in Config.in. > > Set zlib to disabled (not used currently). > > Thoughts? > > Kind regards, > Andreas > >> ?Regards, >> ?Arnout >> >>> ? else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y) >>> ? MPD_CONF_OPTS += -Dupnp=disabled >>> ? endif From arnout at mind.be Sat Apr 9 15:50:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 17:50:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 In-Reply-To: References: <20220405163540.9277-1-fontaine.fabrice@gmail.com> Message-ID: <8857e367-45d4-12b9-ec87-7c9e918c772c@mind.be> On 05/04/2022 20:50, Fabrice Fontaine wrote: > Le mar. 5 avr. 2022 ? 19:28, Arnout Vandecappelle a ?crit : >> >> >> >> On 05/04/2022 18:35, Fabrice Fontaine wrote: >>> Override COMMON_CPPFLAGS to fix the following build failure with >>> BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit >>> cd707a9112e38b4ce98326b96c0ed12054ca1cca and >>> https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: >>> >>> /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] >> >> I haven't looked at the details, but in this case it seems to me the proper >> solution is to make sure _FORTIFY_SOURCE is not enabled. >> >> But perhaps that is exactly what this patch does? > > This patch was removing the following flags (including -Werror): > COMMON_CPPFLAGS = -Wextra -Wall -pedantic -fwrapv --param > ssp-buffer-size=4 -O2 -Werror -std=gnu99 -Wconversion -fwrapv is something that certainly should *not* be removed. -std=gnu99 as well. --param ssp-buffer-size=4 is a bit dubious (I *think* it only has an effect if SSP is enabled with another option). -O2 is something that we really do want to override, but if CFLAGS is added after it, it's fine. And I guess that's what happens, otherwise the error you're trying to fix wouldn't occur. > > However, -D_FORTIFY_SOURCE=2 was still set (in CPPFLAGS) We really only want FORTIFY if it's enabled by Buildroot, because of BR2_FORTIFY_SOURCE_ARCH_SUPPORTS (and because optimisations must be enabled before it can be used, obviously). > I can send a v2 to set CPPFLAGS to $(TARGET_CPPFLAGS) if you prefer > this solution. Yeah, I think that's the way to go. BTW is it really CPPFLAGS? -O2 and -fwrapv really belong to CFLAGS, not CPPFLAGS. Not that it matters much I guess. Regards, Arnout > >> >> Regards, >> Arnout >> >>> >>> It should be noted that upstream already rejected a PR to remove >>> -Werror: https://github.com/smuellerDD/libkcapi/pull/132 >>> >>> Fixes: >>> - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 >>> >>> Signed-off-by: Fabrice Fontaine >>> --- >>> package/libkcapi/libkcapi.mk | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk >>> index 71dfbd9eff..353939bb31 100644 >>> --- a/package/libkcapi/libkcapi.mk >>> +++ b/package/libkcapi/libkcapi.mk >>> @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ >>> ac_cv_path_DB2PDF="" \ >>> ac_cv_path_DB2PS="" \ >>> ac_cv_path_XMLTO="" >>> +LIBKCAPI_MAKE_OPTS = COMMON_CPPFLAGS="" >>> >>> ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) >>> LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp > > Best Regards, > > Fabrice From yann.morin.1998 at free.fr Sat Apr 9 16:09:21 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 9 Apr 2022 18:09:21 +0200 Subject: [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] In-Reply-To: <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> References: <20220331132230.227424-1-br015@umbiko.net> <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> Message-ID: <20220409160921.GA3547512@scaer> Arnout, Andreas, All, On 2022-04-09 17:41 +0200, Arnout Vandecappelle spake thusly: > On 08/04/2022 15:22, Andreas Ziegler wrote: > >Outline of the proposed next version of this change: > >[I did not want to make so many changes, but you are right, it makes sense.] > >Separate logic from implementation: Remove feature dependencies from > >mpd.mk and put selection logic into Config.in exclusively. > As you can see from the description above: this is making things quite > complicated. And one of the tenets of Buildroot is to keep things simple. [--SNIP--] > We don't have a consistent policy for this case, but I believe the policy > should be: > > - Add Config.in options only for features that are important, meaningful for > the user (e.g. codec support). > > - Add Config.in options only for features that have a size impact (usually > due to the dependencies they pull in). > > - In the .mk file, don't use the Config.in options but instead use automatic > dependencies only. That would be very confusign from a user perspective: they would not enable a feature of a package, yet the package would have that feature enabled if th3e depedency is enabled. Besides the technical surprise, this could also lead to licensing issues if the combination of the two packages require special handling (e.g. because the library license propagates top the package). So, the settings from Config.in must be abode by. > That way, the .mk file is kept simple (no problematic cases like the > libupnp/expat interaction in this patch). The Config.in is a bit > complicated, but it doesn't explode. > > Bottom line: I think it's actually the reverse that needs to be done. Err. I don;'t understand what you meant here... :-( > >In the makefile, a feature is responsible only to select or deselect its > >configure option and, if this feature relies on a library, add a > >dependency on this. > > So I think the .mk file should simply contain things like: > > ifeq ($(BR2_PACKAGE_LIBVORBIS),y) > MPD_DEPENDENCIES += libvorbis > MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled > else > MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled > endif > > and BR2_PACKAGE_MPD_VORBIS only has an indirect effect, by selecting > BR2_PACKAGE_LIBVORBIS. I highly disagree; the conditional should be on the package setting, not the dependency. > >Duplicated selection logic in mpd.mk will be eliminated. A build > >dependency will only be added if it is present in the mpd configuration, > >and not be inherited accidentally from concurrent packages. > So this is exactly the reverse of what I'd want. I think it makes the .mk > file harder to maintain for no practical gain. Yet, the proposal by Andreas is I believe the correct way to handle the situation. > >This impacts the following features: expat, id3tag, yajl. id3tag already > >is half implemented, but not used consistently (has an option entry in > >Config.in, but does not select this, but handles dependencies > >individually). expat and yajl would be created as hidden options without > >visibility (no user interaction necessary). > Yes, that would indeed be an alternative to keep the .mk file simpler. I > take it you mean to add a blind option BR2_PACKAGE_MPD_EXPAT that gets > selected by the other MPD options that rely on expat. This indeed simplifies > things, but it is still a bit more complicated than what I propose. But more correct. > >Separate vorbis decoder and encoder options; currently the decoder feature > >BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis > >encoding, which is probably not intended. > I don't see a reason why you would want only one or the other. It has > virtually no impact on size. Indeed here, vorbis support should just enable both the encoder/decoder. The only reason that we might want to be able to chose, is if enabling one or the other have different requirements: extra size requirements, extra dependencies, legal issues in your jurisdiction, etc... > In summary, I think we have the following three options for packages where > we decide we want user-visible sub-options. > > - 1-to-1 mapping with the package configure options. Interaction between the > options is expressed with select/depends in Config.in. The .mk file simply > maps the Config.in options. If it's really not relevant for the user, a > Config.in option can be made blind. This is what Andreas proposes. I am OK with that. > - Only automatic dependencies in the .mk file, except in cases where it has > an important size or behaviour impact. Add Config.in options only in case it > is relevant. This is what I propose. I am OK with the principle, but this does not look like what you proposed above, as the build-dependencies would be on the dependency being enabled, not the package option (e.g. BR2_PACKAGE_MPD_VORBIS vs. BR2_PACKAGE_LIBVORBIS as you showed above). > - Add Config.in options for important features. Express interdependencies > between package configure options in the .mk file. This is the current > situation for mpd. I don;t see a difference here: "Add Config.in options only in case it is relevant" and "Add Config.in options for important features" are exactly the same in mny eyes... > So let's see what the other maintainers think. If you (or the other > maintainers) don't agree, we can compromise and go back to the original > patch (with just the npupnp/expat situation resolved). So, I'll summariser my position: - add Config.in options when it makes sense: - important size delta - legal issues those options select the appropriate packages - in the .mk: - add conditional blocks based on those options, add build dependencies as appropriate; - add conditoinal dependencies on package for automatic dependencies > Ideally I'd like the maintainers (and anybody else, really) to come to a > decision here and eventually formalize it in the manual. Because it's not > the first time this discussion crops up. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Sat Apr 9 16:45:03 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 9 Apr 2022 18:45:03 +0200 Subject: [Buildroot] [git commit] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220409163610.CA8918376A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aeee90ec109b83c42779e6a2617f7d57e25a2b65 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Although the loop around 'make randconfig' attempts does make sure we eventually end up with a valid configuration, there is a bias towards e.g. disabling the kernel. It would be possible to e.g. always force BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y, but that removes the possibility for a toolchains-csv config to add a valid custom defconfig. (Note that currently this isn't possible anyway since 'make randpackageconfig' is used if a toolchains-csv is provided, but eventually we want to use 'make randconfig' also if a toolchains-csv is provided.) Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- utils/genrandconfig | 215 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 206 insertions(+), 9 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..59fe34e58d 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') + + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') + + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') + + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') + + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') + + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') + + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') + + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_TARGET_BAREBOX=y\n') + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_BAREBOX=y\n') + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') + + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') + + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') + + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: + return False + + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: + return False + + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +517,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,7 +598,7 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) if fixup_config(sysinfo, configfile): break @@ -433,10 +622,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative From arnout at mind.be Sat Apr 9 16:57:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 18:57:37 +0200 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> Message-ID: <36f3e482-dce6-db0d-08e0-b062f16ca69e@mind.be> On 06/04/2022 23:41, James Hilliard wrote: > On Wed, Apr 6, 2022 at 8:12 AM Arnout Vandecappelle wrote: >> >> >> >> On 05/04/2022 21:38, James Hilliard wrote: >>> On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: >>>> >>>> >>>> >>>> On 05/04/2022 13:50, James Hilliard wrote: >>>>> Currently we only test a limited set of toolchains that are mostly >>>>> prebuilt, add a flag to allow using randconfig for randomizing >>>>> additional toolchain settings instead of randpackageconfig. >>>>> >>>>> To avoid invalid configs we need to add additional config validation >>>>> filtering and fixups. >>>>> >>>>> Signed-off-by: James Hilliard >>>>> --- >>>>> Changes v3 -> v4: >>>>> - use fixup_config instead of other retries to filter bad configs >>>> >>>> Well, I don't like this. It means we have to duplicate the logic for checking >>>> the bad configs in two places: in the mk file and in genrandconfig. >>> >>> Well it seems to work better since instead of regenerating it tries to >>> fixup the config. I think this gives better statistical coverage of some >>> config options. >> >> It will create a bias towards the default option for the options you exclude. >> See below. > > Yes, I'm aware of that, however this improves coverage as certain options > like enabling the kernel build result in a high percentage of invalid configs > otherwise which creates a bias towards builds with the kernel build disabled > entirely, at least by fixing up invalid kernel configs instead of > triggering a full > re-randomization we get more builds with kernels enabled as the invalid > configs should no longer create a bias towards kernel builds being disabled > for example. Having a bias towards the common defaults seems to be a net > improvement here. Excellent point, indeed. I hadn't thought so far. >>>> If the problem is that you sometimes don't end up with a valid config even >>>> after 100 iterations, then I think a better solution is to feed valid values for >>>> the string options. That way, we still do a build test of e.g. >>>> BR2_ROOTFS_SKELETON_CUSTOM. >>> >>> That looks a bit tricky, although we could probably add it for some cases >>> that we want test coverage for. >>> >>>> >>>> [Others may disagree with me of course.] >>>> >>>> Regards, >>>> Arnout >>>> >>>> >>>>> Changes v2 -> v3: >>>>> - properly check exit codes >>>>> Changes v1 -> v2: >>>>> - refactor fixup_config control flow >>>>> --- >>>>> utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- >>>>> 1 file changed, 206 insertions(+), 9 deletions(-) >>>>> >>>>> diff --git a/utils/genrandconfig b/utils/genrandconfig >>>>> index 3483d55c14..59fe34e58d 100755 >>>>> --- a/utils/genrandconfig >>>>> +++ b/utils/genrandconfig >>>>> @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): >>>>> configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') >>>>> configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) >>>>> >>>>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ >>>>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: >> >> Here, the BR2_ROOTFS_SKELETON_CUSTOM_PATH check is basically redundant: >> randconfig will never fill something in for the string, so it is always empty. > > The fixup_config function is used for configs based on the toolchains csv's > as well so this is necessary to prevent accidentally fixing up a valid > BR2_ROOTFS_SKELETON_CUSTOM_PATH provided in a toolchain csv > file. Oh, right, I didn't think of that either! At the moment the point is moot because randpackageconfig is used. Oh hang on, I'm wrong again, it actually *would* work specifically for ROOTFS_SKELETON_CUSTOM_PATH, if ROOTFS_SKELETON_CUSTOM is also set in the toolchain config. So I expressed it incorrectly in the commit message. Unfortunately, I already applied and pushed, so I can't fix the commit message any more... Anyway, thanks for the patch! I think the next steps are: - move 'make dependencies' inside the loop (not strictly necessary but I think it woudl be an improvement); - add the toolchain config *after* running randconfig, so we can use full randconfig even if toolchains-csv is set; - add a mechanism to be able to specify additional defaults together with the toolchain config; - add options to the toolchain configs to give default values for some string options. A mechanism is needed for adding defaults because currently we can only force options in the toolchain config - if it's removed by 'make olddefconfig', is_toolchain_usable will return false. But we also don't want to *always* build a kernel in a toolchain config - and this is particularly true for uboot and barebox, where there's no arch default config to fall back to, so even with randconfig they essentially will never be built. Regards, Arnout > >> >>>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') >>>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') >> >> Thus, the result is that if a config is generated with >> BR2_ROOTFS_SKELETON_CUSTOM=y, it will be removed again and revert to its default. >> >> In this case, there are just two choices so it doesn't make a difference. But >> if there are more than two choices, removing one of them creates a bias towards >> the default option. I wouldn't call this "better statistical coverage". >> Statistically, taking a completely random sampling and then discarding samples >> that are somehow not appropriate is considered "better" than fudging >> inappropriate samples in a certain direction. > > The main issue is that throwing out invalids creates a heavy bias towards > disabling the configs dependencies entirely which is not desirable. > > Having a bias towards kernel builds with default options is better than having > a very strong bias towards the kernel not being built at all. > >> >> >> Regards, >> Arnout >> >> >> >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') >>>>> + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') >>>>> + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') >>>>> + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') >>>>> + >>>>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ >>>>> + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: >>>>> + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') >>>>> + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') >>>>> + >>>>> + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ >>>>> + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') >>>>> + >>>>> + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ >>>>> + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') >>>>> + >>>>> + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ >>>>> + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') >>>>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ >>>>> + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') >>>>> + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ >>>>> + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') >>>>> + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ >>>>> + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') >>>>> + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') >>>>> + >>>>> + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ >>>>> + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') >>>>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') >>>>> + >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') >>>>> + >>>>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') >>>>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: >>>>> + return False >>>>> + >>>>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') >>>>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: >>>>> + return False >>>>> + >>>>> + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') >>>>> + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> with open(configfile, "w+") as configf: >>>>> configf.writelines(configlines) >>>>> >>>>> @@ -331,11 +517,14 @@ def gen_config(args): >>>>> >>>>> sysinfo = SystemInfo() >>>>> >>>>> - # Select a random toolchain configuration >>>>> - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) >>>>> + if args.toolchains_csv: >>>>> + # Select a random toolchain configuration >>>>> + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) >>>>> >>>>> - i = randint(0, len(configs) - 1) >>>>> - toolchainconfig = configs[i] >>>>> + i = randint(0, len(configs) - 1) >>>>> + toolchainconfig = configs[i] >>>>> + else: >>>>> + toolchainconfig = [] >>>>> >>>>> configlines = list(toolchainconfig) >>>>> >>>>> @@ -409,7 +598,7 @@ def gen_config(args): >>>>> bounded_loop -= 1 >>>>> subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>>>> "KCONFIG_PROBABILITY=%d" % randint(1, 20), >>>>> - "randpackageconfig"]) >>>>> + "randpackageconfig" if args.toolchains_csv else "randconfig"]) >>>>> >>>>> if fixup_config(sysinfo, configfile): >>>>> break >>>>> @@ -433,10 +622,18 @@ if __name__ == '__main__': >>>>> parser.add_argument("--buildrootdir", "-b", >>>>> help="Buildroot directory (relative to current directory)", >>>>> type=str, default='.') >>>>> - parser.add_argument("--toolchains-csv", >>>>> - help="Path of the toolchain configuration file", >>>>> - type=str, >>>>> - default="support/config-fragments/autobuild/toolchain-configs.csv") >>>>> + >>>>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) >>>>> + toolchains_csv.add_argument("--toolchains-csv", >>>>> + dest="toolchains_csv", >>>>> + help="Path of the toolchain configuration file", >>>>> + type=str) >>>>> + toolchains_csv.add_argument("--no-toolchains-csv", >>>>> + dest="toolchains_csv", >>>>> + help="Generate random toolchain configuration", >>>>> + action='store_false') >>>>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") >>>>> + >>>>> args = parser.parse_args() >>>>> >>>>> # We need the absolute path to use with O=, because the relative From bugzilla at busybox.net Sat Apr 9 17:02:31 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 09 Apr 2022 17:02:31 +0000 Subject: [Buildroot] [Bug 14711] nodjs build problem missing bzip In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14711 Arnout Vandecappelle changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #7 from Arnout Vandecappelle --- > Problem solved by adding BR2_PACKAGE_HOST_PYTHON3=y and BR2_PACKAGE_HOST_PYTHON3_BZIP2=y in the config file and did a full rebuild. These should be enabled automatically when BR2_PACKAGE_HOST_NODEJS is enabled. So I'm going to assume that you did 'make host-nodejs' without selecting BR2_PACKAGE_HOST_NODEJS, and close this bug as invalid. If, however, you somehow did run into this problem without running 'make host-nodejs' (and without an external package that depends on host-nodejs without selecting it), please reopen. -- You are receiving this mail because: You are on the CC list for the bug. From mail at dbrgn.ch Sat Apr 9 23:06:39 2022 From: mail at dbrgn.ch (Danilo) Date: Sun, 10 Apr 2022 01:06:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/janus-gateway: Add systemd service file Message-ID: <20220410010640.1fdc8ada@c3po> Signed-off-by: Danilo Bargen --- package/janus-gateway/janus-gateway.mk | 5 +++++ package/janus-gateway/janus-gateway.service | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 package/janus-gateway/janus-gateway.service diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk index 84ca0bc116..381843a0af 100644 --- a/package/janus-gateway/janus-gateway.mk +++ b/package/janus-gateway/janus-gateway.mk @@ -131,4 +131,9 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-systemd-sockets endif +define JANUS_GATEWAY_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/janus-gateway/janus-gateway.service \ + $(TARGET_DIR)/usr/lib/systemd/system/janus-gateway.service +endef + $(eval $(autotools-package)) diff --git a/package/janus-gateway/janus-gateway.service b/package/janus-gateway/janus-gateway.service new file mode 100644 index 0000000000..6e6bc7f017 --- /dev/null +++ b/package/janus-gateway/janus-gateway.service @@ -0,0 +1,13 @@ +[Unit] +Description=Janus WebRTC Gateway +Wants=network.target +StartLimitIntervalSec=0 + +[Service] +Type=simple +ExecStart=/usr/bin/janus +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target -- 2.35.1 From james.hilliard1 at gmail.com Sun Apr 10 03:17:12 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 21:17:12 -0600 Subject: [Buildroot] [PATCH 1/2] scripts/autobuild-run: fix and default to python3 Message-ID: <20220410031713.3662393-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- scripts/autobuild-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 346928f..9219134 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2014 by Thomas Petazzoni # @@ -794,7 +794,7 @@ class Builder: while True: try: self.run_one_build() - except URLError, e: + except URLError as e: sleep(30) # args / config file merging inspired by: -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 10 03:17:13 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 21:17:13 -0600 Subject: [Buildroot] [PATCH 2/2] scripts/autobuild-run: add --no-toolchains-csv option and drop docopt In-Reply-To: <20220410031713.3662393-1-james.hilliard1@gmail.com> References: <20220410031713.3662393-1-james.hilliard1@gmail.com> Message-ID: <20220410031713.3662393-2-james.hilliard1@gmail.com> Since docopt is unmaintained and less flexible than argparse lets drop it and migrate to argparse. Signed-off-by: James Hilliard --- scripts/autobuild-run | 202 ++++++------- scripts/docopt.LICENSE-MIT | 23 -- scripts/docopt.py | 581 ------------------------------------- 3 files changed, 96 insertions(+), 710 deletions(-) delete mode 100644 scripts/docopt.LICENSE-MIT delete mode 100644 scripts/docopt.py diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 9219134..4978872 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -57,56 +57,7 @@ from __future__ import print_function -# Don't tell docopt about the defaults, as it would not allow the following -# priority hierarchy for arguments: command-line > config file > defaults -defaults = { - '--ninstances': '1', - '--njobs': '1', - '--submitter': 'N/A', - '--make-opts': '', - '--nice': 0, - '--pid-file': '/tmp/buildroot-autobuild.pid', - '--http-url': 'http://autobuild.buildroot.org/', - '--toolchains-csv': 'support/config-fragments/autobuild/toolchain-configs.csv', - '--repo': 'https://github.com/buildroot/buildroot.git', -} - -doc = """autobuild-run - run Buildroot autobuilder - -Usage: autobuild-run [options] - -Options: - -h, --help show this help message and exit - -V, --version show version - -n, --ninstances NINSTANCES number of parallel instances - Defaults to %(--ninstances)s. - -j, --njobs NJOBS number of parallel jobs - Defaults to %(--njobs)s. - --nice N Niceness, positive number - Defaults to %(--nice)s. - -s, --submitter SUBMITTER name/machine of submitter - Defaults to %(--submitter)s. - --http-url URL URL of resource to submit your results. - Defaults to %(--http-url)s. - --http-login LOGIN username to send results with - Not set by default. - --http-password PASSWORD password to send results with (for security - reasons it is recommended to define this in the - config file instead, with user-read permissions - only) - Not set by default. - --make-opts OPTSTRING string of extra options to pass to Buildroot - make, such as specific command wrappers - Empty by default. - --pid-file PATH path to a file where to store the PID - Defaults to %(--pid-file)s. - -c, --config CONFIG path to configuration file - Not set by default. - -d, --debug Send log output to stdout instead of log file - --toolchains-csv CSVFILE Toolchain configuration file - -r, --repo URL URL of Buildroot repository to clone - Defaults to %(--repo)s - +epilog = """ Format of the configuration file: All arguments can also be specified in the configuration file specified with @@ -120,20 +71,18 @@ Format of the configuration file: http-login = http-password = submitter = - - -""" % defaults - -__doc__ = doc + no-toolchains-csv +""" import contextlib import csv -import docopt +import argparse import errno import hashlib import mmap import multiprocessing import os +import pathlib from random import randint import re import shutil @@ -423,6 +372,8 @@ class Builder: if not os.path.isabs(toolchains_csv): toolchains_csv = os.path.join(self.srcdir, toolchains_csv) args.extend(["--toolchains-csv", toolchains_csv]) + else: + args.extend(["--no-toolchains-csv"]) ret = subprocess.call(args, stdout=devnull, stderr=self.log) return ret @@ -797,35 +748,27 @@ class Builder: except URLError as e: sleep(30) -# args / config file merging inspired by: -# https://github.com/docopt/docopt/blob/master/examples/config_file_example.py - -def load_ini_config(configfile): - """Load configuration from file, returning a docopt-like dictionary""" +class Formatter(argparse.ArgumentDefaultsHelpFormatter, argparse.RawDescriptionHelpFormatter): + pass - if not os.path.exists(configfile): - print("ERROR: configuration file %s does not exist" % configfile) - sys.exit(1) +class LoadConfigFile(argparse.Action): + def __call__(self, parser, namespace, values, option_string=None): + config = configparser.RawConfigParser(allow_no_value=True) + config.read_file(values) - config = configparser.RawConfigParser() - if not config.read(configfile): - print("ERROR: cannot parse configuration file %s" % configfile) - sys.exit(1) + # Prepend '--' to options specified in the config file, so they can be + # merged with those given on the command-line + config_args = [] + for key, value in config.items('main'): + config_args.extend(['--%s' % key]) + if value is not None: + config_args.extend([value]) - # Prepend '--' to options specified in the config file, so they can be - # merged with those given on the command-line - return dict(('--%s' % key, value) for key, value in config.items('main')) - - -def merge(dict_1, dict_2): - """Merge two dictionaries. - - Values that evaluate to true take priority over falsy values. - `dict_1` takes priority over `dict_2`. - - """ - return dict((str(key), dict_1.get(key) or dict_2.get(key)) - for key in set(dict_2) | set(dict_1)) + data = parser.parse_args(config_args, namespace=None) + for k, v in vars(data).items(): + # set arguments in the target namespace if they haven?t been set yet + if getattr(namespace, k, None) is not None: + setattr(namespace, k, v) def main(): @@ -835,24 +778,71 @@ def main(): sysinfo = SystemInfo() - args = docopt.docopt(doc, version=VERSION) - - if args['--config']: - ini_config = load_ini_config(args['--config']) - # merge config/args, priority given to args - args = merge(args, ini_config) - - # load in defaults at lowest priority - args = merge(args, defaults) + parser = argparse.ArgumentParser(description="Buildroot autobuilder", + epilog=epilog, + formatter_class=Formatter) + parser.add_argument("--ninstances", "-n", + help="number of parallel instances", + type=int, default=1) + parser.add_argument("--njobs", "-j", + help="number of parallel jobs", + type=int, default=1) + parser.add_argument("--nice", + help="Niceness, positive number", + type=int, default=0) + parser.add_argument("--submitter", "-s", + help="name/machine of submitter", + type=str, default='N/A') + parser.add_argument("--http-url", + help="URL of resource to submit your results.", + type=str, default='http://autobuild.buildroot.org/') + parser.add_argument("--http-login", + help="username to send results with", + type=str) + parser.add_argument("--http-password", + help="password to send results with (for security " + "reasons it is recommended to define this in the " + "config file instead, with user-read permissions " + "only)", + type=str) + parser.add_argument("--make-opts", + help="string of extra options to pass to Buildroot " + "make, such as specific command wrappers", + type=str) + parser.add_argument("--pid-file", + help="path to a file where to store the PID", + type=pathlib.Path, default=pathlib.Path("/tmp/buildroot-autobuild.pid")) + parser.add_argument("--config", "-c", + help="path to configuration file", + type=open, action=LoadConfigFile) + parser.add_argument("--debug", "-d", + help="Send log output to stdout instead of log file", + type=str) + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Toolchain configuration file", + type=pathlib.Path) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv=pathlib.Path("support/config-fragments/autobuild/toolchain-configs.csv")) + parser.add_argument("--repo", "-r", + help="URL of Buildroot repository to clone", + type=str, + default="https://github.com/buildroot/buildroot.git") + + args = parser.parse_args() # Save our PID very early, so we can be stopped - with open(args['--pid-file'], "w+") as pidf: + with args.pid_file.open("w+") as pidf: pidf.write("%d" % os.getpid()) # http_login/password could theoretically be allowed as empty, so check # explicitly on None. - upload = (args['--http-login'] is not None) \ - and (args['--http-password'] is not None) + upload = (args.http_login is not None) \ + and (args.http_password is not None) if upload: sysinfo.needed_progs.append("curl") else: @@ -894,24 +884,24 @@ def main(): sys.exit(1) - buildpid = multiprocessing.Array('i', int(args['--ninstances'])) + buildpid = multiprocessing.Array('i', int(args.ninstances)) processes = [] - for i in range(0, int(args['--ninstances'])): + for i in range(0, int(args.ninstances)): builder = Builder( instance = i, - njobs = args['--njobs'], + njobs = args.njobs, sysinfo = sysinfo, - http_url = args['--http-url'], - http_login = args['--http-login'], - http_password = args['--http-password'], - submitter = args['--submitter'], - make_opts = (args['--make-opts'] or ''), - nice = (args['--nice'] or 0), - toolchains_csv = args['--toolchains-csv'], - repo = args['--repo'], + http_url = args.http_url, + http_login = args.http_login, + http_password = args.http_password, + submitter = args.submitter, + make_opts = (args.make_opts or ''), + nice = (args.nice or 0), + toolchains_csv = args.toolchains_csv, + repo = args.repo, upload = upload, buildpid = buildpid, - debug = args['--debug']) + debug = args.debug) p = multiprocessing.Process(target=builder.run_instance) p.start() processes.append(p) diff --git a/scripts/docopt.LICENSE-MIT b/scripts/docopt.LICENSE-MIT deleted file mode 100644 index 58ff1bc..0000000 --- a/scripts/docopt.LICENSE-MIT +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) 2012 Vladimir Keleshev, - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to -whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall -be included in all copies or substantial portions of the -Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY -KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/scripts/docopt.py b/scripts/docopt.py deleted file mode 100644 index 2e43f7c..0000000 --- a/scripts/docopt.py +++ /dev/null @@ -1,581 +0,0 @@ -"""Pythonic command-line interface parser that will make you smile. - - * http://docopt.org - * Repository and issue-tracker: https://github.com/docopt/docopt - * Licensed under terms of MIT license (see LICENSE-MIT) - * Copyright (c) 2013 Vladimir Keleshev, vladimir at keleshev.com - -""" -import sys -import re - - -__all__ = ['docopt'] -__version__ = '0.6.1' - - -class DocoptLanguageError(Exception): - - """Error in construction of usage-message by developer.""" - - -class DocoptExit(SystemExit): - - """Exit in case user invoked program with incorrect arguments.""" - - usage = '' - - def __init__(self, message=''): - SystemExit.__init__(self, (message + '\n' + self.usage).strip()) - - -class Pattern(object): - - def __eq__(self, other): - return repr(self) == repr(other) - - def __hash__(self): - return hash(repr(self)) - - def fix(self): - self.fix_identities() - self.fix_repeating_arguments() - return self - - def fix_identities(self, uniq=None): - """Make pattern-tree tips point to same object if they are equal.""" - if not hasattr(self, 'children'): - return self - uniq = list(set(self.flat())) if uniq is None else uniq - for i, child in enumerate(self.children): - if not hasattr(child, 'children'): - assert child in uniq - self.children[i] = uniq[uniq.index(child)] - else: - child.fix_identities(uniq) - - def fix_repeating_arguments(self): - """Fix elements that should accumulate/increment values.""" - either = [list(child.children) for child in transform(self).children] - for case in either: - for e in [child for child in case if case.count(child) > 1]: - if type(e) is Argument or type(e) is Option and e.argcount: - if e.value is None: - e.value = [] - elif type(e.value) is not list: - e.value = e.value.split() - if type(e) is Command or type(e) is Option and e.argcount == 0: - e.value = 0 - return self - - -def transform(pattern): - """Expand pattern into an (almost) equivalent one, but with single Either. - - Example: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d) - Quirks: [-a] => (-a), (-a...) => (-a -a) - - """ - result = [] - groups = [[pattern]] - while groups: - children = groups.pop(0) - parents = [Required, Optional, OptionsShortcut, Either, OneOrMore] - if any(t in map(type, children) for t in parents): - child = [c for c in children if type(c) in parents][0] - children.remove(child) - if type(child) is Either: - for c in child.children: - groups.append([c] + children) - elif type(child) is OneOrMore: - groups.append(child.children * 2 + children) - else: - groups.append(child.children + children) - else: - result.append(children) - return Either(*[Required(*e) for e in result]) - - -class LeafPattern(Pattern): - - """Leaf/terminal node of a pattern tree.""" - - def __init__(self, name, value=None): - self.name, self.value = name, value - - def __repr__(self): - return '%s(%r, %r)' % (self.__class__.__name__, self.name, self.value) - - def flat(self, *types): - return [self] if not types or type(self) in types else [] - - def match(self, left, collected=None): - collected = [] if collected is None else collected - pos, match = self.single_match(left) - if match is None: - return False, left, collected - left_ = left[:pos] + left[pos + 1:] - same_name = [a for a in collected if a.name == self.name] - if type(self.value) in (int, list): - if type(self.value) is int: - increment = 1 - else: - increment = ([match.value] if type(match.value) is str - else match.value) - if not same_name: - match.value = increment - return True, left_, collected + [match] - same_name[0].value += increment - return True, left_, collected - return True, left_, collected + [match] - - -class BranchPattern(Pattern): - - """Branch/inner node of a pattern tree.""" - - def __init__(self, *children): - self.children = list(children) - - def __repr__(self): - return '%s(%s)' % (self.__class__.__name__, - ', '.join(repr(a) for a in self.children)) - - def flat(self, *types): - if type(self) in types: - return [self] - return sum([child.flat(*types) for child in self.children], []) - - -class Argument(LeafPattern): - - def single_match(self, left): - for n, pattern in enumerate(left): - if type(pattern) is Argument: - return n, Argument(self.name, pattern.value) - return None, None - - @classmethod - def parse(class_, source): - name = re.findall('(<\S*?>)', source)[0] - value = re.findall('\[default: (.*)\]', source, flags=re.I) - return class_(name, value[0] if value else None) - - -class Command(Argument): - - def __init__(self, name, value=False): - self.name, self.value = name, value - - def single_match(self, left): - for n, pattern in enumerate(left): - if type(pattern) is Argument: - if pattern.value == self.name: - return n, Command(self.name, True) - else: - break - return None, None - - -class Option(LeafPattern): - - def __init__(self, short=None, long=None, argcount=0, value=False): - assert argcount in (0, 1) - self.short, self.long, self.argcount = short, long, argcount - self.value = None if value is False and argcount else value - - @classmethod - def parse(class_, option_description): - short, long, argcount, value = None, None, 0, False - options, _, description = option_description.strip().partition(' ') - options = options.replace(',', ' ').replace('=', ' ') - for s in options.split(): - if s.startswith('--'): - long = s - elif s.startswith('-'): - short = s - else: - argcount = 1 - if argcount: - matched = re.findall('\[default: (.*)\]', description, flags=re.I) - value = matched[0] if matched else None - return class_(short, long, argcount, value) - - def single_match(self, left): - for n, pattern in enumerate(left): - if self.name == pattern.name: - return n, pattern - return None, None - - @property - def name(self): - return self.long or self.short - - def __repr__(self): - return 'Option(%r, %r, %r, %r)' % (self.short, self.long, - self.argcount, self.value) - - -class Required(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - l = left - c = collected - for pattern in self.children: - matched, l, c = pattern.match(l, c) - if not matched: - return False, left, collected - return True, l, c - - -class Optional(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - for pattern in self.children: - m, left, collected = pattern.match(left, collected) - return True, left, collected - - -class OptionsShortcut(Optional): - - """Marker/placeholder for [options] shortcut.""" - - -class OneOrMore(BranchPattern): - - def match(self, left, collected=None): - assert len(self.children) == 1 - collected = [] if collected is None else collected - l = left - c = collected - l_ = None - matched = True - times = 0 - while matched: - # could it be that something didn't match but changed l or c? - matched, l, c = self.children[0].match(l, c) - times += 1 if matched else 0 - if l_ == l: - break - l_ = l - if times >= 1: - return True, l, c - return False, left, collected - - -class Either(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - outcomes = [] - for pattern in self.children: - matched, _, _ = outcome = pattern.match(left, collected) - if matched: - outcomes.append(outcome) - if outcomes: - return min(outcomes, key=lambda outcome: len(outcome[1])) - return False, left, collected - - -class Tokens(list): - - def __init__(self, source, error=DocoptExit): - self += source.split() if hasattr(source, 'split') else source - self.error = error - - @staticmethod - def from_pattern(source): - source = re.sub(r'([\[\]\(\)\|]|\.\.\.)', r' \1 ', source) - source = [s for s in re.split('\s+|(\S*<.*?>)', source) if s] - return Tokens(source, error=DocoptLanguageError) - - def move(self): - return self.pop(0) if len(self) else None - - def current(self): - return self[0] if len(self) else None - - -def parse_long(tokens, options): - """long ::= '--' chars [ ( ' ' | '=' ) chars ] ;""" - long, eq, value = tokens.move().partition('=') - assert long.startswith('--') - value = None if eq == value == '' else value - similar = [o for o in options if o.long == long] - if tokens.error is DocoptExit and similar == []: # if no exact match - similar = [o for o in options if o.long and o.long.startswith(long)] - if len(similar) > 1: # might be simply specified ambiguously 2+ times? - raise tokens.error('%s is not a unique prefix: %s?' % - (long, ', '.join(o.long for o in similar))) - elif len(similar) < 1: - argcount = 1 if eq == '=' else 0 - o = Option(None, long, argcount) - options.append(o) - if tokens.error is DocoptExit: - o = Option(None, long, argcount, value if argcount else True) - else: - o = Option(similar[0].short, similar[0].long, - similar[0].argcount, similar[0].value) - if o.argcount == 0: - if value is not None: - raise tokens.error('%s must not have an argument' % o.long) - else: - if value is None: - if tokens.current() in [None, '--']: - raise tokens.error('%s requires argument' % o.long) - value = tokens.move() - if tokens.error is DocoptExit: - o.value = value if value is not None else True - return [o] - - -def parse_shorts(tokens, options): - """shorts ::= '-' ( chars )* [ [ ' ' ] chars ] ;""" - token = tokens.move() - assert token.startswith('-') and not token.startswith('--') - left = token.lstrip('-') - parsed = [] - while left != '': - short, left = '-' + left[0], left[1:] - similar = [o for o in options if o.short == short] - if len(similar) > 1: - raise tokens.error('%s is specified ambiguously %d times' % - (short, len(similar))) - elif len(similar) < 1: - o = Option(short, None, 0) - options.append(o) - if tokens.error is DocoptExit: - o = Option(short, None, 0, True) - else: # why copying is necessary here? - o = Option(short, similar[0].long, - similar[0].argcount, similar[0].value) - value = None - if o.argcount != 0: - if left == '': - if tokens.current() in [None, '--']: - raise tokens.error('%s requires argument' % short) - value = tokens.move() - else: - value = left - left = '' - if tokens.error is DocoptExit: - o.value = value if value is not None else True - parsed.append(o) - return parsed - - -def parse_pattern(source, options): - tokens = Tokens.from_pattern(source) - result = parse_expr(tokens, options) - if tokens.current() is not None: - raise tokens.error('unexpected ending: %r' % ' '.join(tokens)) - return Required(*result) - - -def parse_expr(tokens, options): - """expr ::= seq ( '|' seq )* ;""" - seq = parse_seq(tokens, options) - if tokens.current() != '|': - return seq - result = [Required(*seq)] if len(seq) > 1 else seq - while tokens.current() == '|': - tokens.move() - seq = parse_seq(tokens, options) - result += [Required(*seq)] if len(seq) > 1 else seq - return [Either(*result)] if len(result) > 1 else result - - -def parse_seq(tokens, options): - """seq ::= ( atom [ '...' ] )* ;""" - result = [] - while tokens.current() not in [None, ']', ')', '|']: - atom = parse_atom(tokens, options) - if tokens.current() == '...': - atom = [OneOrMore(*atom)] - tokens.move() - result += atom - return result - - -def parse_atom(tokens, options): - """atom ::= '(' expr ')' | '[' expr ']' | 'options' - | long | shorts | argument | command ; - """ - token = tokens.current() - result = [] - if token in '([': - tokens.move() - matching, pattern = {'(': [')', Required], '[': [']', Optional]}[token] - result = pattern(*parse_expr(tokens, options)) - if tokens.move() != matching: - raise tokens.error("unmatched '%s'" % token) - return [result] - elif token == 'options': - tokens.move() - return [OptionsShortcut()] - elif token.startswith('--') and token != '--': - return parse_long(tokens, options) - elif token.startswith('-') and token not in ('-', '--'): - return parse_shorts(tokens, options) - elif token.startswith('<') and token.endswith('>') or token.isupper(): - return [Argument(tokens.move())] - else: - return [Command(tokens.move())] - - -def parse_argv(tokens, options, options_first=False): - """Parse command-line argument vector. - - If options_first: - argv ::= [ long | shorts ]* [ argument ]* [ '--' [ argument ]* ] ; - else: - argv ::= [ long | shorts | argument ]* [ '--' [ argument ]* ] ; - - """ - parsed = [] - while tokens.current() is not None: - if tokens.current() == '--': - return parsed + [Argument(None, v) for v in tokens] - elif tokens.current().startswith('--'): - parsed += parse_long(tokens, options) - elif tokens.current().startswith('-') and tokens.current() != '-': - parsed += parse_shorts(tokens, options) - elif options_first: - return parsed + [Argument(None, v) for v in tokens] - else: - parsed.append(Argument(None, tokens.move())) - return parsed - - -def parse_defaults(doc): - defaults = [] - for s in parse_section('options:', doc): - # FIXME corner case "bla: options: --foo" - _, _, s = s.partition(':') # get rid of "options:" - split = re.split('\n[ \t]*(-\S+?)', '\n' + s)[1:] - split = [s1 + s2 for s1, s2 in zip(split[::2], split[1::2])] - options = [Option.parse(s) for s in split if s.startswith('-')] - defaults += options - return defaults - - -def parse_section(name, source): - pattern = re.compile('^([^\n]*' + name + '[^\n]*\n?(?:[ \t].*?(?:\n|$))*)', - re.IGNORECASE | re.MULTILINE) - return [s.strip() for s in pattern.findall(source)] - - -def formal_usage(section): - _, _, section = section.partition(':') # drop "usage:" - pu = section.split() - return '( ' + ' '.join(') | (' if s == pu[0] else s for s in pu[1:]) + ' )' - - -def extras(help, version, options, doc): - if help and any((o.name in ('-h', '--help')) and o.value for o in options): - print(doc.strip("\n")) - sys.exit() - if version and any(o.name == '--version' and o.value for o in options): - print(version) - sys.exit() - - -class Dict(dict): - def __repr__(self): - return '{%s}' % ',\n '.join('%r: %r' % i for i in sorted(self.items())) - - -def docopt(doc, argv=None, help=True, version=None, options_first=False): - """Parse `argv` based on command-line interface described in `doc`. - - `docopt` creates your command-line interface based on its - description that you pass as `doc`. Such description can contain - --options, , commands, which could be - [optional], (required), (mutually | exclusive) or repeated... - - Parameters - ---------- - doc : str - Description of your command-line interface. - argv : list of str, optional - Argument vector to be parsed. sys.argv[1:] is used if not - provided. - help : bool (default: True) - Set to False to disable automatic help on -h or --help - options. - version : any object - If passed, the object will be printed if --version is in - `argv`. - options_first : bool (default: False) - Set to True to require options precede positional arguments, - i.e. to forbid options and positional arguments intermix. - - Returns - ------- - args : dict - A dictionary, where keys are names of command-line elements - such as e.g. "--verbose" and "", and values are the - parsed values of those elements. - - Example - ------- - >>> from docopt import docopt - >>> doc = ''' - ... Usage: - ... my_program tcp [--timeout=] - ... my_program serial [--baud=] [--timeout=] - ... my_program (-h | --help | --version) - ... - ... Options: - ... -h, --help Show this screen and exit. - ... --baud= Baudrate [default: 9600] - ... ''' - >>> argv = ['tcp', '127.0.0.1', '80', '--timeout', '30'] - >>> docopt(doc, argv) - {'--baud': '9600', - '--help': False, - '--timeout': '30', - '--version': False, - '': '127.0.0.1', - '': '80', - 'serial': False, - 'tcp': True} - - See also - -------- - * For video introduction see http://docopt.org - * Full documentation is available in README.rst as well as online - at https://github.com/docopt/docopt#readme - - """ - argv = sys.argv[1:] if argv is None else argv - - usage_sections = parse_section('usage:', doc) - if len(usage_sections) == 0: - raise DocoptLanguageError('"usage:" (case-insensitive) not found.') - if len(usage_sections) > 1: - raise DocoptLanguageError('More than one "usage:" (case-insensitive).') - DocoptExit.usage = usage_sections[0] - - options = parse_defaults(doc) - pattern = parse_pattern(formal_usage(DocoptExit.usage), options) - # [default] syntax for argument is disabled - #for a in pattern.flat(Argument): - # same_name = [d for d in arguments if d.name == a.name] - # if same_name: - # a.value = same_name[0].value - argv = parse_argv(Tokens(argv), list(options), options_first) - pattern_options = set(pattern.flat(Option)) - for options_shortcut in pattern.flat(OptionsShortcut): - doc_options = parse_defaults(doc) - options_shortcut.children = list(set(doc_options) - pattern_options) - #if any_options: - # options_shortcut.children += [Option(o.short, o.long, o.argcount) - # for o in argv if type(o) is Option] - extras(help, version, argv, doc) - matched, left, collected = pattern.fix().match(argv) - if matched and left == []: # better error message if left? - return Dict((a.name, a.value) for a in (pattern.flat() + collected)) - raise DocoptExit() -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 10 03:29:49 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 21:29:49 -0600 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <36f3e482-dce6-db0d-08e0-b062f16ca69e@mind.be> References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> <36f3e482-dce6-db0d-08e0-b062f16ca69e@mind.be> Message-ID: On Sat, Apr 9, 2022 at 10:57 AM Arnout Vandecappelle wrote: > > > > On 06/04/2022 23:41, James Hilliard wrote: > > On Wed, Apr 6, 2022 at 8:12 AM Arnout Vandecappelle wrote: > >> > >> > >> > >> On 05/04/2022 21:38, James Hilliard wrote: > >>> On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: > >>>> > >>>> > >>>> > >>>> On 05/04/2022 13:50, James Hilliard wrote: > >>>>> Currently we only test a limited set of toolchains that are mostly > >>>>> prebuilt, add a flag to allow using randconfig for randomizing > >>>>> additional toolchain settings instead of randpackageconfig. > >>>>> > >>>>> To avoid invalid configs we need to add additional config validation > >>>>> filtering and fixups. > >>>>> > >>>>> Signed-off-by: James Hilliard > >>>>> --- > >>>>> Changes v3 -> v4: > >>>>> - use fixup_config instead of other retries to filter bad configs > >>>> > >>>> Well, I don't like this. It means we have to duplicate the logic for checking > >>>> the bad configs in two places: in the mk file and in genrandconfig. > >>> > >>> Well it seems to work better since instead of regenerating it tries to > >>> fixup the config. I think this gives better statistical coverage of some > >>> config options. > >> > >> It will create a bias towards the default option for the options you exclude. > >> See below. > > > > Yes, I'm aware of that, however this improves coverage as certain options > > like enabling the kernel build result in a high percentage of invalid configs > > otherwise which creates a bias towards builds with the kernel build disabled > > entirely, at least by fixing up invalid kernel configs instead of > > triggering a full > > re-randomization we get more builds with kernels enabled as the invalid > > configs should no longer create a bias towards kernel builds being disabled > > for example. Having a bias towards the common defaults seems to be a net > > improvement here. > > Excellent point, indeed. I hadn't thought so far. > > >>>> If the problem is that you sometimes don't end up with a valid config even > >>>> after 100 iterations, then I think a better solution is to feed valid values for > >>>> the string options. That way, we still do a build test of e.g. > >>>> BR2_ROOTFS_SKELETON_CUSTOM. > >>> > >>> That looks a bit tricky, although we could probably add it for some cases > >>> that we want test coverage for. > >>> > >>>> > >>>> [Others may disagree with me of course.] > >>>> > >>>> Regards, > >>>> Arnout > >>>> > >>>> > >>>>> Changes v2 -> v3: > >>>>> - properly check exit codes > >>>>> Changes v1 -> v2: > >>>>> - refactor fixup_config control flow > >>>>> --- > >>>>> utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- > >>>>> 1 file changed, 206 insertions(+), 9 deletions(-) > >>>>> > >>>>> diff --git a/utils/genrandconfig b/utils/genrandconfig > >>>>> index 3483d55c14..59fe34e58d 100755 > >>>>> --- a/utils/genrandconfig > >>>>> +++ b/utils/genrandconfig > >>>>> @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): > >>>>> configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > >>>>> configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > >>>>> > >>>>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > >>>>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > >> > >> Here, the BR2_ROOTFS_SKELETON_CUSTOM_PATH check is basically redundant: > >> randconfig will never fill something in for the string, so it is always empty. > > > > The fixup_config function is used for configs based on the toolchains csv's > > as well so this is necessary to prevent accidentally fixing up a valid > > BR2_ROOTFS_SKELETON_CUSTOM_PATH provided in a toolchain csv > > file. > > Oh, right, I didn't think of that either! At the moment the point is moot > because randpackageconfig is used. Oh hang on, I'm wrong again, it actually > *would* work specifically for ROOTFS_SKELETON_CUSTOM_PATH, if > ROOTFS_SKELETON_CUSTOM is also set in the toolchain config. So I expressed it > incorrectly in the commit message. > > Unfortunately, I already applied and pushed, so I can't fix the commit message > any more... > > Anyway, thanks for the patch! > > I think the next steps are: Well first we need a few fixes in buildroot-test so we can enable the new option: https://patchwork.ozlabs.org/project/buildroot/patch/20220410031713.3662393-1-james.hilliard1 at gmail.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20220410031713.3662393-2-james.hilliard1 at gmail.com/ I ended up getting rid of docopts since it's unmaintained and makes it tricky to add the --no-toolchains-csv properly. > > - move 'make dependencies' inside the loop (not strictly necessary but I think > it woudl be an improvement); Maybe, although probably need to have failures reported somewhere so that config fixups can be added. > > - add the toolchain config *after* running randconfig, so we can use full > randconfig even if toolchains-csv is set; > > - add a mechanism to be able to specify additional defaults together with the > toolchain config; > > - add options to the toolchain configs to give default values for some string > options. > > A mechanism is needed for adding defaults because currently we can only force > options in the toolchain config - if it's removed by 'make olddefconfig', > is_toolchain_usable will return false. But we also don't want to *always* build > a kernel in a toolchain config - and this is particularly true for uboot and > barebox, where there's no arch default config to fall back to, so even with > randconfig they essentially will never be built. Yeah, there's a bit of cleanup needed in general, although we're getting high failure rates just from this improved randomization so maybe best to focus on fixing those issues that this change revealed first so that we can get a better idea of what combinations need more test coverage. > > > Regards, > Arnout > > > > > >> > >>>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > >>>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') > >> > >> Thus, the result is that if a config is generated with > >> BR2_ROOTFS_SKELETON_CUSTOM=y, it will be removed again and revert to its default. > >> > >> In this case, there are just two choices so it doesn't make a difference. But > >> if there are more than two choices, removing one of them creates a bias towards > >> the default option. I wouldn't call this "better statistical coverage". > >> Statistically, taking a completely random sampling and then discarding samples > >> that are somehow not appropriate is considered "better" than fudging > >> inappropriate samples in a certain direction. > > > > The main issue is that throwing out invalids creates a heavy bias towards > > disabling the configs dependencies entirely which is not desirable. > > > > Having a bias towards kernel builds with default options is better than having > > a very strong bias towards the kernel not being built at all. > > > >> > >> > >> Regards, > >> Arnout > >> > >> > >> > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') > >>>>> + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') > >>>>> + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') > >>>>> + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') > >>>>> + > >>>>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ > >>>>> + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') > >>>>> + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') > >>>>> + > >>>>> + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ > >>>>> + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') > >>>>> + > >>>>> + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ > >>>>> + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') > >>>>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') > >>>>> + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') > >>>>> + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > >>>>> + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') > >>>>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') > >>>>> + > >>>>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') > >>>>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > >>>>> + return False > >>>>> + > >>>>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') > >>>>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > >>>>> + return False > >>>>> + > >>>>> + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> with open(configfile, "w+") as configf: > >>>>> configf.writelines(configlines) > >>>>> > >>>>> @@ -331,11 +517,14 @@ def gen_config(args): > >>>>> > >>>>> sysinfo = SystemInfo() > >>>>> > >>>>> - # Select a random toolchain configuration > >>>>> - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > >>>>> + if args.toolchains_csv: > >>>>> + # Select a random toolchain configuration > >>>>> + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > >>>>> > >>>>> - i = randint(0, len(configs) - 1) > >>>>> - toolchainconfig = configs[i] > >>>>> + i = randint(0, len(configs) - 1) > >>>>> + toolchainconfig = configs[i] > >>>>> + else: > >>>>> + toolchainconfig = [] > >>>>> > >>>>> configlines = list(toolchainconfig) > >>>>> > >>>>> @@ -409,7 +598,7 @@ def gen_config(args): > >>>>> bounded_loop -= 1 > >>>>> subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>>>> "KCONFIG_PROBABILITY=%d" % randint(1, 20), > >>>>> - "randpackageconfig"]) > >>>>> + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > >>>>> > >>>>> if fixup_config(sysinfo, configfile): > >>>>> break > >>>>> @@ -433,10 +622,18 @@ if __name__ == '__main__': > >>>>> parser.add_argument("--buildrootdir", "-b", > >>>>> help="Buildroot directory (relative to current directory)", > >>>>> type=str, default='.') > >>>>> - parser.add_argument("--toolchains-csv", > >>>>> - help="Path of the toolchain configuration file", > >>>>> - type=str, > >>>>> - default="support/config-fragments/autobuild/toolchain-configs.csv") > >>>>> + > >>>>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > >>>>> + toolchains_csv.add_argument("--toolchains-csv", > >>>>> + dest="toolchains_csv", > >>>>> + help="Path of the toolchain configuration file", > >>>>> + type=str) > >>>>> + toolchains_csv.add_argument("--no-toolchains-csv", > >>>>> + dest="toolchains_csv", > >>>>> + help="Generate random toolchain configuration", > >>>>> + action='store_false') > >>>>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > >>>>> + > >>>>> args = parser.parse_args() > >>>>> > >>>>> # We need the absolute path to use with O=, because the relative From james.hilliard1 at gmail.com Sun Apr 10 04:32:26 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 22:32:26 -0600 Subject: [Buildroot] [PATCH v2 1/2] scripts/autobuild-run: fix and default to python3 Message-ID: <20220410043227.602485-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- scripts/autobuild-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 346928f..9219134 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2014 by Thomas Petazzoni # @@ -794,7 +794,7 @@ class Builder: while True: try: self.run_one_build() - except URLError, e: + except URLError as e: sleep(30) # args / config file merging inspired by: -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 10 04:32:27 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 22:32:27 -0600 Subject: [Buildroot] [PATCH v2 2/2] scripts/autobuild-run: add --no-toolchains-csv option and drop docopt In-Reply-To: <20220410043227.602485-1-james.hilliard1@gmail.com> References: <20220410043227.602485-1-james.hilliard1@gmail.com> Message-ID: <20220410043227.602485-2-james.hilliard1@gmail.com> Since docopt is unmaintained and less flexible than argparse lets drop it and migrate to argparse. Signed-off-by: James Hilliard --- Changes v1 -> v2: - fix configparser --- scripts/autobuild-run | 201 ++++++------- scripts/docopt.LICENSE-MIT | 23 -- scripts/docopt.py | 581 ------------------------------------- 3 files changed, 92 insertions(+), 713 deletions(-) delete mode 100644 scripts/docopt.LICENSE-MIT delete mode 100644 scripts/docopt.py diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 9219134..daee059 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -57,56 +57,7 @@ from __future__ import print_function -# Don't tell docopt about the defaults, as it would not allow the following -# priority hierarchy for arguments: command-line > config file > defaults -defaults = { - '--ninstances': '1', - '--njobs': '1', - '--submitter': 'N/A', - '--make-opts': '', - '--nice': 0, - '--pid-file': '/tmp/buildroot-autobuild.pid', - '--http-url': 'http://autobuild.buildroot.org/', - '--toolchains-csv': 'support/config-fragments/autobuild/toolchain-configs.csv', - '--repo': 'https://github.com/buildroot/buildroot.git', -} - -doc = """autobuild-run - run Buildroot autobuilder - -Usage: autobuild-run [options] - -Options: - -h, --help show this help message and exit - -V, --version show version - -n, --ninstances NINSTANCES number of parallel instances - Defaults to %(--ninstances)s. - -j, --njobs NJOBS number of parallel jobs - Defaults to %(--njobs)s. - --nice N Niceness, positive number - Defaults to %(--nice)s. - -s, --submitter SUBMITTER name/machine of submitter - Defaults to %(--submitter)s. - --http-url URL URL of resource to submit your results. - Defaults to %(--http-url)s. - --http-login LOGIN username to send results with - Not set by default. - --http-password PASSWORD password to send results with (for security - reasons it is recommended to define this in the - config file instead, with user-read permissions - only) - Not set by default. - --make-opts OPTSTRING string of extra options to pass to Buildroot - make, such as specific command wrappers - Empty by default. - --pid-file PATH path to a file where to store the PID - Defaults to %(--pid-file)s. - -c, --config CONFIG path to configuration file - Not set by default. - -d, --debug Send log output to stdout instead of log file - --toolchains-csv CSVFILE Toolchain configuration file - -r, --repo URL URL of Buildroot repository to clone - Defaults to %(--repo)s - +epilog = """ Format of the configuration file: All arguments can also be specified in the configuration file specified with @@ -120,20 +71,18 @@ Format of the configuration file: http-login = http-password = submitter = - - -""" % defaults - -__doc__ = doc + no-toolchains-csv +""" import contextlib import csv -import docopt +import argparse import errno import hashlib import mmap import multiprocessing import os +import pathlib from random import randint import re import shutil @@ -423,6 +372,8 @@ class Builder: if not os.path.isabs(toolchains_csv): toolchains_csv = os.path.join(self.srcdir, toolchains_csv) args.extend(["--toolchains-csv", toolchains_csv]) + else: + args.extend(["--no-toolchains-csv"]) ret = subprocess.call(args, stdout=devnull, stderr=self.log) return ret @@ -797,35 +748,20 @@ class Builder: except URLError as e: sleep(30) -# args / config file merging inspired by: -# https://github.com/docopt/docopt/blob/master/examples/config_file_example.py - -def load_ini_config(configfile): - """Load configuration from file, returning a docopt-like dictionary""" - - if not os.path.exists(configfile): - print("ERROR: configuration file %s does not exist" % configfile) - sys.exit(1) - - config = configparser.RawConfigParser() - if not config.read(configfile): - print("ERROR: cannot parse configuration file %s" % configfile) - sys.exit(1) - - # Prepend '--' to options specified in the config file, so they can be - # merged with those given on the command-line - return dict(('--%s' % key, value) for key, value in config.items('main')) - - -def merge(dict_1, dict_2): - """Merge two dictionaries. - - Values that evaluate to true take priority over falsy values. - `dict_1` takes priority over `dict_2`. - - """ - return dict((str(key), dict_1.get(key) or dict_2.get(key)) - for key in set(dict_2) | set(dict_1)) +class Formatter(argparse.ArgumentDefaultsHelpFormatter, argparse.RawDescriptionHelpFormatter): + pass + +class LoadConfigFile(argparse.Action): + def __call__(self, parser, namespace, values, option_string=None): + config = configparser.RawConfigParser(allow_no_value=True) + config.read_file(values) + for k, v in config.items('main'): + key = k.replace("-", "_") + value = v + if key.startswith("no_") and value is None: + key = key[3:] + value = False + setattr(namespace, key, value) def main(): @@ -835,24 +771,71 @@ def main(): sysinfo = SystemInfo() - args = docopt.docopt(doc, version=VERSION) - - if args['--config']: - ini_config = load_ini_config(args['--config']) - # merge config/args, priority given to args - args = merge(args, ini_config) - - # load in defaults at lowest priority - args = merge(args, defaults) + parser = argparse.ArgumentParser(description="Buildroot autobuilder", + epilog=epilog, + formatter_class=Formatter) + parser.add_argument("--ninstances", "-n", + help="number of parallel instances", + type=int, default=1) + parser.add_argument("--njobs", "-j", + help="number of parallel jobs", + type=int, default=1) + parser.add_argument("--nice", + help="Niceness, positive number", + type=int, default=0) + parser.add_argument("--submitter", "-s", + help="name/machine of submitter", + type=str, default='N/A') + parser.add_argument("--http-url", + help="URL of resource to submit your results.", + type=str, default='http://autobuild.buildroot.org/') + parser.add_argument("--http-login", + help="username to send results with", + type=str) + parser.add_argument("--http-password", + help="password to send results with (for security " + "reasons it is recommended to define this in the " + "config file instead, with user-read permissions " + "only)", + type=str) + parser.add_argument("--make-opts", + help="string of extra options to pass to Buildroot " + "make, such as specific command wrappers", + type=str) + parser.add_argument("--pid-file", + help="path to a file where to store the PID", + type=pathlib.Path, default=pathlib.Path("/tmp/buildroot-autobuild.pid")) + parser.add_argument("--config", "-c", + help="path to configuration file", + type=open, action=LoadConfigFile) + parser.add_argument("--debug", "-d", + help="Send log output to stdout instead of log file", + type=str) + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Toolchain configuration file", + type=pathlib.Path) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv=pathlib.Path("support/config-fragments/autobuild/toolchain-configs.csv")) + parser.add_argument("--repo", "-r", + help="URL of Buildroot repository to clone", + type=str, + default="https://github.com/buildroot/buildroot.git") + + args = parser.parse_args() # Save our PID very early, so we can be stopped - with open(args['--pid-file'], "w+") as pidf: + with args.pid_file.open("w+") as pidf: pidf.write("%d" % os.getpid()) # http_login/password could theoretically be allowed as empty, so check # explicitly on None. - upload = (args['--http-login'] is not None) \ - and (args['--http-password'] is not None) + upload = (args.http_login is not None) \ + and (args.http_password is not None) if upload: sysinfo.needed_progs.append("curl") else: @@ -894,24 +877,24 @@ def main(): sys.exit(1) - buildpid = multiprocessing.Array('i', int(args['--ninstances'])) + buildpid = multiprocessing.Array('i', int(args.ninstances)) processes = [] - for i in range(0, int(args['--ninstances'])): + for i in range(0, int(args.ninstances)): builder = Builder( instance = i, - njobs = args['--njobs'], + njobs = args.njobs, sysinfo = sysinfo, - http_url = args['--http-url'], - http_login = args['--http-login'], - http_password = args['--http-password'], - submitter = args['--submitter'], - make_opts = (args['--make-opts'] or ''), - nice = (args['--nice'] or 0), - toolchains_csv = args['--toolchains-csv'], - repo = args['--repo'], + http_url = args.http_url, + http_login = args.http_login, + http_password = args.http_password, + submitter = args.submitter, + make_opts = (args.make_opts or ''), + nice = (args.nice or 0), + toolchains_csv = args.toolchains_csv, + repo = args.repo, upload = upload, buildpid = buildpid, - debug = args['--debug']) + debug = args.debug) p = multiprocessing.Process(target=builder.run_instance) p.start() processes.append(p) diff --git a/scripts/docopt.LICENSE-MIT b/scripts/docopt.LICENSE-MIT deleted file mode 100644 index 58ff1bc..0000000 --- a/scripts/docopt.LICENSE-MIT +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) 2012 Vladimir Keleshev, - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to -whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall -be included in all copies or substantial portions of the -Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY -KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/scripts/docopt.py b/scripts/docopt.py deleted file mode 100644 index 2e43f7c..0000000 --- a/scripts/docopt.py +++ /dev/null @@ -1,581 +0,0 @@ -"""Pythonic command-line interface parser that will make you smile. - - * http://docopt.org - * Repository and issue-tracker: https://github.com/docopt/docopt - * Licensed under terms of MIT license (see LICENSE-MIT) - * Copyright (c) 2013 Vladimir Keleshev, vladimir at keleshev.com - -""" -import sys -import re - - -__all__ = ['docopt'] -__version__ = '0.6.1' - - -class DocoptLanguageError(Exception): - - """Error in construction of usage-message by developer.""" - - -class DocoptExit(SystemExit): - - """Exit in case user invoked program with incorrect arguments.""" - - usage = '' - - def __init__(self, message=''): - SystemExit.__init__(self, (message + '\n' + self.usage).strip()) - - -class Pattern(object): - - def __eq__(self, other): - return repr(self) == repr(other) - - def __hash__(self): - return hash(repr(self)) - - def fix(self): - self.fix_identities() - self.fix_repeating_arguments() - return self - - def fix_identities(self, uniq=None): - """Make pattern-tree tips point to same object if they are equal.""" - if not hasattr(self, 'children'): - return self - uniq = list(set(self.flat())) if uniq is None else uniq - for i, child in enumerate(self.children): - if not hasattr(child, 'children'): - assert child in uniq - self.children[i] = uniq[uniq.index(child)] - else: - child.fix_identities(uniq) - - def fix_repeating_arguments(self): - """Fix elements that should accumulate/increment values.""" - either = [list(child.children) for child in transform(self).children] - for case in either: - for e in [child for child in case if case.count(child) > 1]: - if type(e) is Argument or type(e) is Option and e.argcount: - if e.value is None: - e.value = [] - elif type(e.value) is not list: - e.value = e.value.split() - if type(e) is Command or type(e) is Option and e.argcount == 0: - e.value = 0 - return self - - -def transform(pattern): - """Expand pattern into an (almost) equivalent one, but with single Either. - - Example: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d) - Quirks: [-a] => (-a), (-a...) => (-a -a) - - """ - result = [] - groups = [[pattern]] - while groups: - children = groups.pop(0) - parents = [Required, Optional, OptionsShortcut, Either, OneOrMore] - if any(t in map(type, children) for t in parents): - child = [c for c in children if type(c) in parents][0] - children.remove(child) - if type(child) is Either: - for c in child.children: - groups.append([c] + children) - elif type(child) is OneOrMore: - groups.append(child.children * 2 + children) - else: - groups.append(child.children + children) - else: - result.append(children) - return Either(*[Required(*e) for e in result]) - - -class LeafPattern(Pattern): - - """Leaf/terminal node of a pattern tree.""" - - def __init__(self, name, value=None): - self.name, self.value = name, value - - def __repr__(self): - return '%s(%r, %r)' % (self.__class__.__name__, self.name, self.value) - - def flat(self, *types): - return [self] if not types or type(self) in types else [] - - def match(self, left, collected=None): - collected = [] if collected is None else collected - pos, match = self.single_match(left) - if match is None: - return False, left, collected - left_ = left[:pos] + left[pos + 1:] - same_name = [a for a in collected if a.name == self.name] - if type(self.value) in (int, list): - if type(self.value) is int: - increment = 1 - else: - increment = ([match.value] if type(match.value) is str - else match.value) - if not same_name: - match.value = increment - return True, left_, collected + [match] - same_name[0].value += increment - return True, left_, collected - return True, left_, collected + [match] - - -class BranchPattern(Pattern): - - """Branch/inner node of a pattern tree.""" - - def __init__(self, *children): - self.children = list(children) - - def __repr__(self): - return '%s(%s)' % (self.__class__.__name__, - ', '.join(repr(a) for a in self.children)) - - def flat(self, *types): - if type(self) in types: - return [self] - return sum([child.flat(*types) for child in self.children], []) - - -class Argument(LeafPattern): - - def single_match(self, left): - for n, pattern in enumerate(left): - if type(pattern) is Argument: - return n, Argument(self.name, pattern.value) - return None, None - - @classmethod - def parse(class_, source): - name = re.findall('(<\S*?>)', source)[0] - value = re.findall('\[default: (.*)\]', source, flags=re.I) - return class_(name, value[0] if value else None) - - -class Command(Argument): - - def __init__(self, name, value=False): - self.name, self.value = name, value - - def single_match(self, left): - for n, pattern in enumerate(left): - if type(pattern) is Argument: - if pattern.value == self.name: - return n, Command(self.name, True) - else: - break - return None, None - - -class Option(LeafPattern): - - def __init__(self, short=None, long=None, argcount=0, value=False): - assert argcount in (0, 1) - self.short, self.long, self.argcount = short, long, argcount - self.value = None if value is False and argcount else value - - @classmethod - def parse(class_, option_description): - short, long, argcount, value = None, None, 0, False - options, _, description = option_description.strip().partition(' ') - options = options.replace(',', ' ').replace('=', ' ') - for s in options.split(): - if s.startswith('--'): - long = s - elif s.startswith('-'): - short = s - else: - argcount = 1 - if argcount: - matched = re.findall('\[default: (.*)\]', description, flags=re.I) - value = matched[0] if matched else None - return class_(short, long, argcount, value) - - def single_match(self, left): - for n, pattern in enumerate(left): - if self.name == pattern.name: - return n, pattern - return None, None - - @property - def name(self): - return self.long or self.short - - def __repr__(self): - return 'Option(%r, %r, %r, %r)' % (self.short, self.long, - self.argcount, self.value) - - -class Required(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - l = left - c = collected - for pattern in self.children: - matched, l, c = pattern.match(l, c) - if not matched: - return False, left, collected - return True, l, c - - -class Optional(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - for pattern in self.children: - m, left, collected = pattern.match(left, collected) - return True, left, collected - - -class OptionsShortcut(Optional): - - """Marker/placeholder for [options] shortcut.""" - - -class OneOrMore(BranchPattern): - - def match(self, left, collected=None): - assert len(self.children) == 1 - collected = [] if collected is None else collected - l = left - c = collected - l_ = None - matched = True - times = 0 - while matched: - # could it be that something didn't match but changed l or c? - matched, l, c = self.children[0].match(l, c) - times += 1 if matched else 0 - if l_ == l: - break - l_ = l - if times >= 1: - return True, l, c - return False, left, collected - - -class Either(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - outcomes = [] - for pattern in self.children: - matched, _, _ = outcome = pattern.match(left, collected) - if matched: - outcomes.append(outcome) - if outcomes: - return min(outcomes, key=lambda outcome: len(outcome[1])) - return False, left, collected - - -class Tokens(list): - - def __init__(self, source, error=DocoptExit): - self += source.split() if hasattr(source, 'split') else source - self.error = error - - @staticmethod - def from_pattern(source): - source = re.sub(r'([\[\]\(\)\|]|\.\.\.)', r' \1 ', source) - source = [s for s in re.split('\s+|(\S*<.*?>)', source) if s] - return Tokens(source, error=DocoptLanguageError) - - def move(self): - return self.pop(0) if len(self) else None - - def current(self): - return self[0] if len(self) else None - - -def parse_long(tokens, options): - """long ::= '--' chars [ ( ' ' | '=' ) chars ] ;""" - long, eq, value = tokens.move().partition('=') - assert long.startswith('--') - value = None if eq == value == '' else value - similar = [o for o in options if o.long == long] - if tokens.error is DocoptExit and similar == []: # if no exact match - similar = [o for o in options if o.long and o.long.startswith(long)] - if len(similar) > 1: # might be simply specified ambiguously 2+ times? - raise tokens.error('%s is not a unique prefix: %s?' % - (long, ', '.join(o.long for o in similar))) - elif len(similar) < 1: - argcount = 1 if eq == '=' else 0 - o = Option(None, long, argcount) - options.append(o) - if tokens.error is DocoptExit: - o = Option(None, long, argcount, value if argcount else True) - else: - o = Option(similar[0].short, similar[0].long, - similar[0].argcount, similar[0].value) - if o.argcount == 0: - if value is not None: - raise tokens.error('%s must not have an argument' % o.long) - else: - if value is None: - if tokens.current() in [None, '--']: - raise tokens.error('%s requires argument' % o.long) - value = tokens.move() - if tokens.error is DocoptExit: - o.value = value if value is not None else True - return [o] - - -def parse_shorts(tokens, options): - """shorts ::= '-' ( chars )* [ [ ' ' ] chars ] ;""" - token = tokens.move() - assert token.startswith('-') and not token.startswith('--') - left = token.lstrip('-') - parsed = [] - while left != '': - short, left = '-' + left[0], left[1:] - similar = [o for o in options if o.short == short] - if len(similar) > 1: - raise tokens.error('%s is specified ambiguously %d times' % - (short, len(similar))) - elif len(similar) < 1: - o = Option(short, None, 0) - options.append(o) - if tokens.error is DocoptExit: - o = Option(short, None, 0, True) - else: # why copying is necessary here? - o = Option(short, similar[0].long, - similar[0].argcount, similar[0].value) - value = None - if o.argcount != 0: - if left == '': - if tokens.current() in [None, '--']: - raise tokens.error('%s requires argument' % short) - value = tokens.move() - else: - value = left - left = '' - if tokens.error is DocoptExit: - o.value = value if value is not None else True - parsed.append(o) - return parsed - - -def parse_pattern(source, options): - tokens = Tokens.from_pattern(source) - result = parse_expr(tokens, options) - if tokens.current() is not None: - raise tokens.error('unexpected ending: %r' % ' '.join(tokens)) - return Required(*result) - - -def parse_expr(tokens, options): - """expr ::= seq ( '|' seq )* ;""" - seq = parse_seq(tokens, options) - if tokens.current() != '|': - return seq - result = [Required(*seq)] if len(seq) > 1 else seq - while tokens.current() == '|': - tokens.move() - seq = parse_seq(tokens, options) - result += [Required(*seq)] if len(seq) > 1 else seq - return [Either(*result)] if len(result) > 1 else result - - -def parse_seq(tokens, options): - """seq ::= ( atom [ '...' ] )* ;""" - result = [] - while tokens.current() not in [None, ']', ')', '|']: - atom = parse_atom(tokens, options) - if tokens.current() == '...': - atom = [OneOrMore(*atom)] - tokens.move() - result += atom - return result - - -def parse_atom(tokens, options): - """atom ::= '(' expr ')' | '[' expr ']' | 'options' - | long | shorts | argument | command ; - """ - token = tokens.current() - result = [] - if token in '([': - tokens.move() - matching, pattern = {'(': [')', Required], '[': [']', Optional]}[token] - result = pattern(*parse_expr(tokens, options)) - if tokens.move() != matching: - raise tokens.error("unmatched '%s'" % token) - return [result] - elif token == 'options': - tokens.move() - return [OptionsShortcut()] - elif token.startswith('--') and token != '--': - return parse_long(tokens, options) - elif token.startswith('-') and token not in ('-', '--'): - return parse_shorts(tokens, options) - elif token.startswith('<') and token.endswith('>') or token.isupper(): - return [Argument(tokens.move())] - else: - return [Command(tokens.move())] - - -def parse_argv(tokens, options, options_first=False): - """Parse command-line argument vector. - - If options_first: - argv ::= [ long | shorts ]* [ argument ]* [ '--' [ argument ]* ] ; - else: - argv ::= [ long | shorts | argument ]* [ '--' [ argument ]* ] ; - - """ - parsed = [] - while tokens.current() is not None: - if tokens.current() == '--': - return parsed + [Argument(None, v) for v in tokens] - elif tokens.current().startswith('--'): - parsed += parse_long(tokens, options) - elif tokens.current().startswith('-') and tokens.current() != '-': - parsed += parse_shorts(tokens, options) - elif options_first: - return parsed + [Argument(None, v) for v in tokens] - else: - parsed.append(Argument(None, tokens.move())) - return parsed - - -def parse_defaults(doc): - defaults = [] - for s in parse_section('options:', doc): - # FIXME corner case "bla: options: --foo" - _, _, s = s.partition(':') # get rid of "options:" - split = re.split('\n[ \t]*(-\S+?)', '\n' + s)[1:] - split = [s1 + s2 for s1, s2 in zip(split[::2], split[1::2])] - options = [Option.parse(s) for s in split if s.startswith('-')] - defaults += options - return defaults - - -def parse_section(name, source): - pattern = re.compile('^([^\n]*' + name + '[^\n]*\n?(?:[ \t].*?(?:\n|$))*)', - re.IGNORECASE | re.MULTILINE) - return [s.strip() for s in pattern.findall(source)] - - -def formal_usage(section): - _, _, section = section.partition(':') # drop "usage:" - pu = section.split() - return '( ' + ' '.join(') | (' if s == pu[0] else s for s in pu[1:]) + ' )' - - -def extras(help, version, options, doc): - if help and any((o.name in ('-h', '--help')) and o.value for o in options): - print(doc.strip("\n")) - sys.exit() - if version and any(o.name == '--version' and o.value for o in options): - print(version) - sys.exit() - - -class Dict(dict): - def __repr__(self): - return '{%s}' % ',\n '.join('%r: %r' % i for i in sorted(self.items())) - - -def docopt(doc, argv=None, help=True, version=None, options_first=False): - """Parse `argv` based on command-line interface described in `doc`. - - `docopt` creates your command-line interface based on its - description that you pass as `doc`. Such description can contain - --options, , commands, which could be - [optional], (required), (mutually | exclusive) or repeated... - - Parameters - ---------- - doc : str - Description of your command-line interface. - argv : list of str, optional - Argument vector to be parsed. sys.argv[1:] is used if not - provided. - help : bool (default: True) - Set to False to disable automatic help on -h or --help - options. - version : any object - If passed, the object will be printed if --version is in - `argv`. - options_first : bool (default: False) - Set to True to require options precede positional arguments, - i.e. to forbid options and positional arguments intermix. - - Returns - ------- - args : dict - A dictionary, where keys are names of command-line elements - such as e.g. "--verbose" and "", and values are the - parsed values of those elements. - - Example - ------- - >>> from docopt import docopt - >>> doc = ''' - ... Usage: - ... my_program tcp [--timeout=] - ... my_program serial [--baud=] [--timeout=] - ... my_program (-h | --help | --version) - ... - ... Options: - ... -h, --help Show this screen and exit. - ... --baud= Baudrate [default: 9600] - ... ''' - >>> argv = ['tcp', '127.0.0.1', '80', '--timeout', '30'] - >>> docopt(doc, argv) - {'--baud': '9600', - '--help': False, - '--timeout': '30', - '--version': False, - '': '127.0.0.1', - '': '80', - 'serial': False, - 'tcp': True} - - See also - -------- - * For video introduction see http://docopt.org - * Full documentation is available in README.rst as well as online - at https://github.com/docopt/docopt#readme - - """ - argv = sys.argv[1:] if argv is None else argv - - usage_sections = parse_section('usage:', doc) - if len(usage_sections) == 0: - raise DocoptLanguageError('"usage:" (case-insensitive) not found.') - if len(usage_sections) > 1: - raise DocoptLanguageError('More than one "usage:" (case-insensitive).') - DocoptExit.usage = usage_sections[0] - - options = parse_defaults(doc) - pattern = parse_pattern(formal_usage(DocoptExit.usage), options) - # [default] syntax for argument is disabled - #for a in pattern.flat(Argument): - # same_name = [d for d in arguments if d.name == a.name] - # if same_name: - # a.value = same_name[0].value - argv = parse_argv(Tokens(argv), list(options), options_first) - pattern_options = set(pattern.flat(Option)) - for options_shortcut in pattern.flat(OptionsShortcut): - doc_options = parse_defaults(doc) - options_shortcut.children = list(set(doc_options) - pattern_options) - #if any_options: - # options_shortcut.children += [Option(o.short, o.long, o.argcount) - # for o in argv if type(o) is Option] - extras(help, version, argv, doc) - matched, left, collected = pattern.fix().match(argv) - if matched and left == []: # better error message if left? - return Dict((a.name, a.value) for a in (pattern.flat() + collected)) - raise DocoptExit() -- 2.25.1 From thomas.petazzoni at bootlin.com Sun Apr 10 04:41:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 10 Apr 2022 04:41:44 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-09 Message-ID: <20220410044151.60A9E418AC@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-09 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 31 | 5 | 0 | 36 | master | 169 | 278 | 2 | 449 | Classification of failures by reason for master ----------------------------------------------- host-util-linux-2.38 | 46 host-binutils-2.32 | 38 host-gcc-final-10.3.0 | 20 dhcp-4.4.2-P1 | 14 util-linux-2.38 | 14 fetchmail-6.4.29 | 11 host-elf2flt-7e33f28df198c4... | 8 uclibc-1.0.40 | 8 argp-standalone-1.3 | 6 libopenssl-1.1.1n | 5 host-gcc-final-11.2.0 | 4 libnss-3.76 | 4 libressl-3.4.3 | 4 linux-5.15.30 | 4 bat-0.19.0 | 3 fs/f2fs/f2fs.mk:64: /home/a... | 3 fs/f2fs/f2fs.mk:64: /home/a... | 3 zlib-ng-2.0.6 | 3 arp-scan-1.9.7 | 2 arptables-0.0.5 | 2 dash-0.5.11.5 | 2 fs/ext2/ext2.mk:65: /home/a... | 2 glibc-2.34-109-gd64b08d5ba7... | 2 gobject-introspection-1.70.0 | 2 libcap-ng-0.8.3 | 2 libkrb5-1.18.4 | 2 libnspr-4.33 | 2 linux-5.10.104-cip3 | 2 linux-headers-5.10.104-cip3... | 2 linux-headers-5.15.30 | 2 netsurf-3.10 | 2 refpolicy | 2 shadowsocks-libev-3.3.5 | 2 unknown | 2 wavemon-0.9.4 | 2 xenomai | 2 acpid-2.0.33 | 1 belle-sip-4.4.8 | 1 bird-2.0.8 | 1 botan-2.19.1 | 1 bubblewrap-0.6.1 | 1 cryptodev-linux-1.12 | 1 edk2-edk2-stable202102 | 1 elfutils-0.186 | 1 expat-2.4.7 | 1 freeradius-client-1.1.7 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 glorytun-0.3.4 | 1 gobject-introspection | 1 google-breakpad-7515ab13768... | 1 gst1-plugins-bad-1.20.1 | 1 gummiboot-2bcd919c681c952eb... | 1 host-gcc-final-9.4.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-go-1.17.8 | 1 jpeg-turbo-2.1.3 | 1 json-c-0.15 | 1 libeXosip2-5.3.0 | 1 libgcrypt-1.10.0 | 1 libkcapi-1.1.5 | 1 libsigrok-0.5.2 | 1 Makefile:17392: lib/libfrrz... | 1 musl-1.2.2 | 1 ndisc6-1.0.5 | 1 ne10-1.2.1 | 1 openobex-1.7.2 | 1 pixman-0.40.0 | 1 pure-ftpd-1.0.50 | 1 python3-3.10.2 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 qt5webchannel-fa8b07105b5e2... | 1 rsync-3.2.3 | 1 trousers-0.3.15 | 1 uacme-1.7.1 | 1 wpa_supplicant-2.10 | 1 xfsprogs-5.14.2 | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/49face85d7f793e6e0fa3f614da952a199659dca | ORPH m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/a682dfd1446460f4cc4e674d5197e1a5bebd4849 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/29110dab6ff7e3e9821895209e028eca0a91abad | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/f7e53ec7dd210ab620733c64ec49a0c831ca1850 | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/afc8077e94cea15baa9e1628eec430a3f9e26396 | powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9c698ec1e35495011bf4561ebbb1f7628c48889b | arm | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/ce580166f415feaf02d8c5fdb3934ac20d98e4fb | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/a6f024842f1d5a1bba6efcb67f83a215f41b0bea | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/ef0c3de2ca528e62234627a44cf7af1865ea3d69 | sparc | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/de0a542a6444e412e6276fd984208f4b99a23942 | ORPH sparc64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/ac268cf55d6257fd651d0b2e4ba28ee62c255594 | ORPH arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/157202f1da32a49edf2f2820f76214f26f281b46 | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/466ea6b0078b487c6e62f00238027a0b99bd26fc | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/380bc63841ea85ebac68062d162368329d5cfa3d | xtensa | belle-sip-4.4.8 | NOK | http://autobuild.buildroot.net/results/cc7ddc3331708311bfa1a9b46e247accd20717ea | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/b71dd843891b43e271b33fcf75eaf5081c274448 | sh4 | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/8afa8a59bf1bc32d8de1a8b0f38d13e930281bc0 | ORPH mipsel | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/23a3061cb7a50bd246a03084e02117f286e46920 | or1k | cryptodev-linux-1.12 | NOK | http://autobuild.buildroot.net/results/a06708369c233f6e60a1a3ffd7a77a4edd932c9a | ORPH arceb | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/f1b2bb81c277e3091145b13c9052203772671ebc | ORPH powerpc | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/35f2d319f0250f9b77208acd8629955f7e8d2804 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2e45e39d737005816772f350ae064d2fb1015c5f | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/73adeb5200573362e0dbf6fc72b0c2844614ca26 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/a997ace20af4556b67f95408a588f3c14ed16423 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/186224316d567b47ae8c4dfe6c217e3ecec5cf15 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/794757ee3c06a0fa9b31f5f21be2b2060937d78c | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/42a70179c8a40dc9edc1e203f33d0a5e14765764 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/411da26b679b4e993f32793abc3d585cad2793a1 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3313fe683aa03ccaf1d31aaa2d2b30ef54580631 | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/accf4e0e01b49711659f1f8ae27ec1474d4adb8a | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f48032e8f8af5ee6875d7b470920fd1ff542707c | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/8ba49c1f66e36f764f8b7a7247a906a48008ed03 | ORPH riscv64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/09aa7ff67654e0665e907f9ba236823d5ac65cb4 | ORPH mips64el | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7caa1ce1888d531211da6bfb801b2d619997ee90 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7e009cb8e0a1fb253d4ac79c7bb703382c46ac62 | ORPH i586 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/f2fe7c36f33fd4712605bbf37e886eaa508791c2 | arceb | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/a49e113a51f3018254a6583206d982a5221625c2 | ORPH riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/f535b7ae272bd81afdf76e7742f665dece5412fd | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/a31e7cf560c366b7ff436fca31448f57944694c2 | microblaze | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/c270b01aa96f0cd2d92edba6873f4cdfad0ce0a0 | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7515c0a5a3438ebd10d99fb9e865d5ec25ab479f | nios2 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/ea00ea274dd55c6f4d3b31ad73d3ad4fd92f4b6c | microblazeel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/ce6c40db415abd6ac9d5e353f68fbb5db58e9b8d | mips64el | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/5bdb8aa04d9cf3c3ff008419104317326d23f1af | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/3385b17e431d9d14f7a9172afbe0a04dbb3ecebf | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/3f8639e66909b8a9adebea00ed508ea62a24d999 | powerpc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/4b03e4ff7a7344c7eb1ce054f4009225846d95b0 | microblazeel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/cbee770c9fb0479632b6069c0d5b4f98e983685f | mips | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/be989aa10509aa9c9c6277d982289263e4f5c83a | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/8043c5b8c941ad1ca01027ea9cfae83815abc1a1 | arc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/f3b90aa0ce60ddc87f06b30178c59fb0b95b0447 | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/367ae96087d302e45019f4101c4d5f7d26198d30 | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/455d6452a9b82a1d1703ca0c105083cd56291bf3 | riscv32 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/d2b6278726f68e796784215e874a54378f5346d8 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/d70c2d4dede3697c1594272a4665ed1c796ad58f | arc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/90cb55c7d331cd348fbbf4f57a243709c689303d | nios2 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/3b448898f35192e1a8a84126ace7193dd61f8bea | arceb | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/6888fd8ca70f375f6cc439f731602e199977da23 | powerpc64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/264fea78057c62c6b3edc43b55aef754d6553a7d | microblazeel | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/ad0cc9365bb3ab570e3d333b574631c5aea682db | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/9befc3f6672ed64ad83013449be5253e57758606 | riscv32 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/cd13cc17ea8c413cee40782d592649f641fdb943 | mips64el | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/b72efff457ab53f738774b5372d493798c0fda50 | sparc64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/b47e294374612975a44e8ca40630273eb9168b8b | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/70fc86d7053199d58bdf083de215a17d119af62e | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a75b93739e1e1cd586b3a81a9ed701cce9204b59 | aarch64_be | glorytun-0.3.4 | NOK | http://autobuild.buildroot.net/results/a81fbfb10d9f4fed08ae94e1348aa2419ef6119e | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/c50e4292b0378e8ff60c18dd22e8ae9d14972a4f | i686 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/47e7e82d74f16966b960e28b45d270ff5df16ef9 | ORPH powerpc64 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/a110c7c3886d4e09e8c88cf147ea9db655a0732f | ORPH mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/fadc3352c74fa37e95209c38d3de6a4f3e1017cd | i586 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/3150d50f63c680a2add492c8124e549168b1da1b | ORPH x86_64 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/b80d2d95e11afe05b26b5db04f4811f9dd432f9e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/04fc45bfbbd7a885b5401cb54be72644a1dd8cd4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5f3de9a8bfe614ae5d39667adfc7c2b73d7ab507 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c89c0f152bfca7ecdf4ea0c653e555b0769ae0f9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bcabe396566dfe8732ee43d1c0b78aa425b9faa0 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/02e6abcab31d43172e5170912d0f270a7cd760ca | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/22a753117aab4533fb6234a80ef6501b05cae75d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/05b9aede3d96a0f3a81439d86a063d7767e33ae2 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ba6c926050d66ff77521f63e0f7f68474f5c1597 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cb456a45f7aef8e6434f88c8b5e84780dc6d69a6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ce7cf8368b2294de6f80feec5c77dac65273dcee | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/36345fe5618bca8648c35e74be71b53ef8b1eee5 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cd23ce4712a826e92375428e72eff84eeef145b9 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/de501e18029447738aecae43a1c845b881500043 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/aab04debb0ddefed5e052011690149d1bffc478f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/687e354c4e61bf2b9c24e50f0cb5ca61e9ca2232 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/11fd91cac86549bea6f52cc816783c9d30c85c74 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2400c9d13b9e4cafcfd17d1bc847fd9c30408168 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0d0a78710f78009bae8dba361847d50d6fd33107 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ada94071e7a9e89d81285ae6c1cb73a46b656cf0 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/34df45d31948a8be62c15391967937b6c90be6df | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4b7bd722431864c762297c016e62445c58f24f2f | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8d8262fc57d6f1dd5f419bdb1c4dca14053426a1 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/401a11f63457171c84c99b485a67c933dae046ad | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8e4022c6cfa4dabdf372d3c1d41d11290293fd7c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9453d5bfad0d1a1ca1b18a42cdeed503c0443c21 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/32e12ad3e22e35ec0867051081dafebce24cbe75 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e175ad7e9ede6f640d4649fa3a7bbe125508e720 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9a4c78d6efec26a687adc2326208c1d3112b5bd5 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d53eea6c496d6d871574f2835076551791f031c2 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e19886b44cbc414e67632068ee19cea640efbb74 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/29928f16b3922f0e3308c0af65641484db176512 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bd4b5d94d836e45f5c4d10895f57ba94d42c7742 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bd80f704528a2547304b759d1ac1a3bd53fafd3c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/dcf88acc6a3b39cc6269aaf32ce06f70746901ef | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d2c402499cafeb300032c0bfd869319ba0e8495c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cb3ca287f98719283d9f6f8a2a5a1d9f0bb13da6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f1fb6d1291c7dc2757c5ca95c882d4232bb3a3c7 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/81856a77afab084abe3dbbfb4b801d62fd7c377b | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/a66bd9cd04bc86c77e42a3854dd81fa67c152a8e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c4ddad66146b927f68b84567bb548882640a57ee | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c3110eb55b37b6dbcfb8aa90b811f6cf84e689a0 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/217022a239f782d6fbfe33c270aeb772d3db8a76 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e75063d03fc267f63058a735988d56d2d0b69037 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f926fba1e482373d6c388b9fa2f38cd28100b2d4 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5bc407c4a9244f977733f76257e69c18603ebb23 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8d6363eb4a0636f7968d59fcd51cd6a9271497bb | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ff13c795da2c01f07fdf91f06a88746f3eba44c7 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/76dc44413b1d05045695a1312e80d5eb1281bda0 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9863650daae25874169701877d0e5efcf09edd07 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/55c6dac02818da391d4ac9b7f4d6cf8cdbb8a79a | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e94252213264012b8f63bc4b3ffefd8049d48f01 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e96a089f6ff3c5819e6c231a9c71875074bef1de | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/39561a5c004c58dc282e53d6c4ca4732f04c4598 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/df6fcbc22c12aa0cf00dbb8d7f8ebb87c07d6bbf | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a1838a1a4e2e8abd435e6b30d5358889856007d8 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/10a9b36ad61e84c2ccf3470916520f8eab8daa01 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/eaea3b94572bf1fdc7d73eaa790771c070763cef | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/eeff832d6be1b9c284a84b2d3d98e3c935f1751e | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/159a12c391c7c29dda362071b564dd396a8153d3 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1662d55949edbd21a64006c3ad21f2141642156c | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/517a764212e250beda85dedd4fc42c3c76e01f0c | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d55e7a89d208832590b466ad9175dca1197fa500 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/993552a47504fc87ed526b887ec8dc67cff2c510 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b37e793dade5e004efc3d7855aa2a724986cf574 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3cb535cd43713512eaff84bda16dc8952eb07cfb | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5bcc9ce89e4f076ad6ddb153955077073315cc26 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/ab7ee8e538287dee5e6e5a6f1530dd283a97f61f | riscv32 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/1c0ff78f921355b82357f410bab2b4a49220596e | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/8ca69a4e2f97d231fb7ecc972697a7e7da777248 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/099c076870813ef3f322a66ae345750351cb734a | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/9c7fb4a723313b4ad1a9ee8bfede56cae25ee3a1 | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/aa2fa43084dccda075537f1a53ca563a2762d976 | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/b542c8644bc9ea70be558524caeca7b475300d77 | powerpc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b629f44c988dc2debc45cfb7f39e65d1bf0b24c6 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b3189ce98e00976a516a32de50a0a06353dc4496 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/48bb7cf6d7b737aaa2ed6fb6806c72c152bd264d | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8a5b631c948972f5b435014dd1012a8dc4c77706 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b4d1ef3a5395040717f2d222cb700602383814d5 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3a06f1e535b25983cd2daa6f9188b9081d36e623 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/72fd6838e856d8a1fd51d0c8b08b53ac9d8b1171 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d465ca07d76c029b3156e96dd8d1037f2b4e5a69 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/45007925d4fb155521d84bc475dc56eb6f9c6f57 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/89bb5ccf2f5464acb5f2f2a86511e823eacc4aa0 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/743aa0c52275fb8a4e45db8674734973858f5961 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8a79dd209ffde9cedef3adeccc5929a8dcedd5e5 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d38f29e16bbb6ea3e532094300e66098589e29b | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ede5a536f366621ae1b6968fd1627c1133c2b1a2 | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ae5c4bfef52764769c268014cbd6180e8658b6ae | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/f8c4a9bcdfaa524401417b6ccaf75f9cf28e1b42 | ORPH i586 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/11af93d20d8a184f6711250a27b2f57384a80cd9 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8a96b9f462bb3de94609a817774f737fc30c2cfa | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c0915a8adf81c050e612f892c27f01568f9a3e4d | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/491773d90dc2fa50a884cb6d3bcf4254e651375f | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/559f28e780631bc26a662148b51ae595726448f9 | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/dbae890608c2e45746130f66806e662707670070 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/358b6aed4eaec4b60550d212ba5563a2f601d832 | ORPH or1k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/823960451606ab53360c73e57e84ceba1927cbd5 | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e7012ad67b6bb5358ea5e6cc2e872c64ab22590c | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b87714871a80abf55ce3823d63854bef5b6c5fc4 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/dc473a63b8f663933f9de75061394f5cb083019e | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/9a326379d854031f6ce4a1b2bf3386d5945d122f | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b4d2520067be446bbf719fec0e5a5374d07b45b6 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2b086b23beba9829f3cef274cd110c5e1707e21e | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a0fb3629d9fb3e90b07e949a9ba534433313c6d5 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8b9a100a231cb41ac351922297ac8a9d151d2118 | ORPH s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ae58900c55f0f5bf05333d0fe422de9c46f77190 | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c0f4c1dcbcd3a8c5e8b63d606c3b138543ff9e58 | ORPH powerpc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/059e698f5bba9cf890cfdbbb2199a069e3cac112 | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/78995439e9781a3e5c86a83334b98d076d693919 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fa8eda0b27a42772fa642c987490dd1cf87b4048 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/743de1218426beb26d5cc8ba0c41ccc2a82d03c2 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8138d76a43ce7a0aa583fc07880cd9ac689d6c6e | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/de34bffbf462f7d8ce046792eb3679a53dba6b22 | ORPH i586 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7e1347effff3208bf4554a28cd3b99a8e2ff0de4 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d470a83e027c8b29877182bdea88430e706d0718 | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ed1be76b0bb4af0ce9491cd87f634344c22fed35 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ab8a35c8c4d9752d2b486e27886f0dd30c1cdec7 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c09cbd48acb90e779157f12d3192fc90f9e9beb0 | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/194ef447269bdf348ae622c1f8d1460ebdfa6f07 | ORPH or1k | jpeg-turbo-2.1.3 | NOK | http://autobuild.buildroot.net/results/b819b0ef3bf4fc620051e4b736bef5de2954ba52 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/006332add9c23689c51985453890fa8805a6d861 | arm | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/99ab4278ac8e75738b29a418fabf9213e43dc00f | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a58b1fa362cb48b6d2203a9ab16543e0e6784e53 | mips | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/2f1b97aec267f4ccd4a69f9abdc5e1f9a6181579 | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/d0ecab6c2e181324dcbf2ebf996fbfe38901698f | ORPH s390x | libkcapi-1.1.5 | NOK | http://autobuild.buildroot.net/results/2668865d97f1c098c5ac63729abc878bcacbf8ac | ORPH xtensa | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/e19cb68e03eb464395414b6b6b809d3768ccbb3c | i686 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/b5fd5169d844051f138b2e023d366f798f0c1fc2 | mips64el | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/61743bf5ad9ddc69786ae854ed4ab58c59f64dd0 | mips64el | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/5c3d85587efe980098a150593799ebe0d8859435 | microblaze | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/dcfa8e979821a74aada3296c83dd81c524c6a08d | powerpc64le | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/c16bbc94e6dc23891ab68f78b616f349e1a1384e | powerpc64 | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/0f1d70d4e971eba109db4a56383e05629f7475f9 | powerpc64 | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/ac84d3516bebbc10af45b53e303f1699f7854f82 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/480fe3835d792bf9092c5d88c9dad888a3f85281 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cfb62f156f3f71ecf13bb0f83941ea9682108b3d | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2705339d727ba2d6909eb72b7662a3da6c0fc2da | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6cb582cabc7540b182d33b5e198539b29390c560 | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/b78c1fe536c84dead78ae754b715b67a8c39d122 | arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/6f882e845d2a131230b02efd1a507640a5fa5c52 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/95282921cf481f03cd1cb987bc69315490f0a65a | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/e7ce3517d1947b7e1e638b60fbf25dcfda8543a7 | ORPH i686 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/83fe37963dacdd6b5c33ed9a38eec99351585ee0 | ORPH mipsel | libsigrok-0.5.2 | NOK | http://autobuild.buildroot.net/results/cd4a2c847e77204913aa9b2b7cf43a2a7e2d69f6 | arm | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/d284b55b409a7b3a31a8eb6cb6dcb1c54996c6b9 | ORPH m68k | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/6ac17600f73f20eb56959da4880841606773f9a8 | ORPH mipsel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/f90f071728a0abd975c21bbccce0f3b88ebc1573 | ORPH mips64el | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/8087d5638522065474617bdd6404f5175e91de4c | ORPH sparc64 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/630dc607a2d2ca77173409b37f311b178496e424 | ORPH m68k | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/406320cf446bc71df88a5fd6680490af17568151 | ORPH sparc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/685bd1dff4decb2fd12f707e29f3a1196269279a | ORPH x86_64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/49b027ef523a712ff48c389a088d87b15f7acf97 | ORPH nios2 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/304b5d53a5bb16acebc8eacbedee7a73919b03d3 | ORPH powerpc | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/66bc563fc149442ec0ad720e02fae99beeac57c7 | ORPH xtensa | Makefile:17392: lib/libfrrz... | TIM | http://autobuild.buildroot.net/results/d34fd28e2e716d9ebcad9f4cc7cb89613e3a956f | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/95c700147a2dbb077c7111d8d32271ab3982f566 | arm | ndisc6-1.0.5 | NOK | http://autobuild.buildroot.net/results/1046736e59542a5091a1811ad07e17c1cd13ca3e | ORPH aarch64 | ne10-1.2.1 | NOK | http://autobuild.buildroot.net/results/ecde6e3b88c45cdf5118a7ccb0291147eeaf5d78 | sparc | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/3d620b56d8bd0d0de254b549fbcb6e36c55f9fbb | arceb | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/2690b732df00562262459745451abf0aad69b25b | sparc | openobex-1.7.2 | NOK | http://autobuild.buildroot.net/results/a10ea992c1837114a43c050fb78bc9e9704f9181 | mips64 | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/7e906174fb2236e4e6a5bcb905dc23a2761d75dd | microblazeel | pure-ftpd-1.0.50 | NOK | http://autobuild.buildroot.net/results/67aaca4e10135a5444db963b429d1ac5c41db536 | riscv32 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/54706bc6e907904c567e68d837f6c1e2ff51c516 | i586 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/55295d2ea8fe15d0a915111a8a3de05155e84716 | mips64el | qt5webchannel-fa8b07105b5e2... | NOK | http://autobuild.buildroot.net/results/9069620ee1cfbc6b30ad7d0b8cda64370dc1001c | mipsel | refpolicy | NOK | http://autobuild.buildroot.net/results/2c6bdb187c4c8155c728d6feea131c3a1f62677e | sparc | refpolicy | NOK | http://autobuild.buildroot.net/results/85390ce61855dc34e4b05381acd758a0bc492513 | i686 | rsync-3.2.3 | NOK | http://autobuild.buildroot.net/results/f54a9f4e04276ba492a15ab689881c6e4a304d6c | ORPH mips64el | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/1cb5a66a6de283d79bc3b71fc5536a9c9488eae8 | mipsel | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/c463fe21a8f37ac74218dcf27968218cec028a03 | i486 | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/d71af3912882c95b0a23e81cd23fb663d6f35c53 | microblazeel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/251345912b3ce52859e61030b64ab1cb5599b560 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b16fa4dabd4e6d9e5f26b2f382e294dcee22a696 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f06b0631dca4c56c478a5b016f5cabed8a0f2760 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/8407c8303c5c2d989815ef15912bd9c21eed91dd | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/51af28d16f58b3a0b9b7f5dbcfbf270c1c93b4d9 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/392e1b7b7f9680b0505717ed9abca85b2479f298 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cc1bdcf5645cb2e1d984f4ae53607b9bb153fb97 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bf0964bf333dafe0f28c0388926ffb1770fc29b4 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/2d98827bedcae9638f0824cd0ad48352c82fa9f9 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/92d998f8c2fe76a67dcb1693f681cda56e8c488d | arm | unknown | NOK | http://autobuild.buildroot.net/results/f30b8ef68b71ad7f6107a8ce1083973d34be0096 | or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/30fd221d87125490d5fb251b8d1670349b982b4c | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/467181e53ec4c535d0311d3ce40acf89e06e628e | ORPH arm | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6b60b3a29e4dd5b977ac16e9be1100532f36b47e | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fd599f7c272d8f01db7bca3211ff47cadae8a7f4 | ORPH powerpc | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/41993caa532ed7b0e52e9dd32321c8fdfe1a5e8a | ORPH microblaze | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/cdb6964958f342f67a2f715789fd540ecbfc3e2a | ORPH powerpc | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b2007457003b0ac4720c577b62e832bea43f4efb | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/906407545ed951399e3b921bdc7983cb022bd451 | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/643d43a5c8af1023ab1821bd1752e8bcaea14d3e | ORPH mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/86d6e48d6213e6987827b450ea94444ce174733f | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/810dddbf20dba34a680148c4e6507bcdf26b52b4 | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fbf3664db13aa65bf7a8c51f877109be02ae2def | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c23856f2bec4fab690e102249b90f7924ef78399 | ORPH or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a97fde58d13b536a6ebba176d78ad50526a59689 | ORPH mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/c6e3e919d774617133effc94004136dd503eb73c | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/0ba3d78d46f941316d6dfecc159817e468dab961 | xtensa | wpa_supplicant-2.10 | NOK | http://autobuild.buildroot.net/results/cf1b665ca46c21c4d0ca4a401674ffc31b569280 | mipsel | xenomai | NOK | http://autobuild.buildroot.net/results/ee3400671967f31cc397b65b8eca0915639f016a | nios2 | xenomai | NOK | http://autobuild.buildroot.net/results/875aa21698c5fa6951d2a563def1c8161565dcbe | mipsel | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/815e6d6af26a264b4b3e82a03bf6e117a92aa297 | ORPH powerpc64 | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/74dc27e0fed4a361a9df7f2b046615831a340ad1 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f86809391cc8741d818f207c16363becbe36059e | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a641e05596b747c6b5737f794afca1333f67c5f5 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/bc29e973900fd9486fbf97479db8828ddb79a665 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- dhcp-4.4.2-P1 | 2 ffmpeg-4.4.1 | 1 libtorrent-rasterbar-1.2.15 | 1 vlc-3.0.16 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/1ab5ce09ecb074a9943add6f1b5d2d32c82becd7 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/88356dc95f305e49c5a3a5fd23de9e106253c7a5 | ORPH arm | ffmpeg-4.4.1 | NOK | http://autobuild.buildroot.net/results/bd7fffbf9708c5f911bb573522a3a52d438a36b6 | arm | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/05084f8081c08418cc2bd86f146516b98d56cb74 | xtensa | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/1f7db27cd90f478d96c4c2af84f68897dcd7e32f | -- http://autobuild.buildroot.net From br015 at umbiko.net Sun Apr 10 05:44:12 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Sun, 10 Apr 2022 05:44:12 +0000 Subject: [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] In-Reply-To: <20220409160921.GA3547512@scaer> References: <20220331132230.227424-1-br015@umbiko.net> <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> <20220409160921.GA3547512@scaer> Message-ID: Hi Yann, Arnout, and whoever else is interested, two additional thoughts from my side below: On 2022-04-09 16:09, Yann E. MORIN wrote: > Arnout, Andreas, All, > > On 2022-04-09 17:41 +0200, Arnout Vandecappelle spake thusly: >> On 08/04/2022 15:22, Andreas Ziegler wrote: >> >Outline of the proposed next version of this change: >> >[I did not want to make so many changes, but you are right, it makes sense.] >> >Separate logic from implementation: Remove feature dependencies from >> >mpd.mk and put selection logic into Config.in exclusively. >> As you can see from the description above: this is making things >> quite >> complicated. And one of the tenets of Buildroot is to keep things >> simple. > [--SNIP--] >> We don't have a consistent policy for this case, but I believe the >> policy >> should be: >> >> - Add Config.in options only for features that are important, >> meaningful for >> the user (e.g. codec support). >> >> - Add Config.in options only for features that have a size impact >> (usually >> due to the dependencies they pull in). >> >> - In the .mk file, don't use the Config.in options but instead use >> automatic >> dependencies only. > > That would be very confusign from a user perspective: they would not > enable a feature of a package, yet the package would have that feature > enabled if th3e depedency is enabled. > > Besides the technical surprise, this could also lead to licensing > issues > if the combination of the two packages require special handling (e.g. > because the library license propagates top the package). The security aspect increasingly becomes more important: every line of unused code is a potential attack vector. Better disable what you do not need. > So, the settings from Config.in must be abode by. > >> That way, the .mk file is kept simple (no problematic cases like the >> libupnp/expat interaction in this patch). The Config.in is a bit >> complicated, but it doesn't explode. >> >> Bottom line: I think it's actually the reverse that needs to be done. > > Err. I don;'t understand what you meant here... :-( > >> >In the makefile, a feature is responsible only to select or deselect its >> >configure option and, if this feature relies on a library, add a >> >dependency on this. >> >> So I think the .mk file should simply contain things like: >> >> ifeq ($(BR2_PACKAGE_LIBVORBIS),y) >> MPD_DEPENDENCIES += libvorbis >> MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled >> else >> MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled >> endif >> >> and BR2_PACKAGE_MPD_VORBIS only has an indirect effect, by selecting >> BR2_PACKAGE_LIBVORBIS. > > I highly disagree; the conditional should be on the package setting, > not > the dependency. > >> >Duplicated selection logic in mpd.mk will be eliminated. A build >> >dependency will only be added if it is present in the mpd configuration, >> >and not be inherited accidentally from concurrent packages. >> So this is exactly the reverse of what I'd want. I think it makes the >> .mk >> file harder to maintain for no practical gain. > > Yet, the proposal by Andreas is I believe the correct way to handle the > situation. > >> >This impacts the following features: expat, id3tag, yajl. id3tag already >> >is half implemented, but not used consistently (has an option entry in >> >Config.in, but does not select this, but handles dependencies >> >individually). expat and yajl would be created as hidden options without >> >visibility (no user interaction necessary). >> Yes, that would indeed be an alternative to keep the .mk file >> simpler. I >> take it you mean to add a blind option BR2_PACKAGE_MPD_EXPAT that gets >> selected by the other MPD options that rely on expat. This indeed >> simplifies >> things, but it is still a bit more complicated than what I propose. > > But more correct. > >> >Separate vorbis decoder and encoder options; currently the decoder feature >> >BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis >> >encoding, which is probably not intended. >> I don't see a reason why you would want only one or the other. It has >> virtually no impact on size. > > Indeed here, vorbis support should just enable both the > encoder/decoder. > > The only reason that we might want to be able to chose, is if enabling > one or the other have different requirements: extra size requirements, > extra dependencies, legal issues in your jurisdiction, etc... This behavior is not evident from the menu. Here you just have an option to enable the decoder; the encoder is not mentioned anywhere. If the configuration stays, at least grouping and help message of the current item need an update. >> In summary, I think we have the following three options for packages >> where >> we decide we want user-visible sub-options. >> >> - 1-to-1 mapping with the package configure options. Interaction >> between the >> options is expressed with select/depends in Config.in. The .mk file >> simply >> maps the Config.in options. If it's really not relevant for the user, >> a >> Config.in option can be made blind. This is what Andreas proposes. > > I am OK with that. > >> - Only automatic dependencies in the .mk file, except in cases where >> it has >> an important size or behaviour impact. Add Config.in options only in >> case it >> is relevant. This is what I propose. > > I am OK with the principle, but this does not look like what you > proposed above, as the build-dependencies would be on the dependency > being enabled, not the package option (e.g. BR2_PACKAGE_MPD_VORBIS vs. > BR2_PACKAGE_LIBVORBIS as you showed above). > >> - Add Config.in options for important features. Express >> interdependencies >> between package configure options in the .mk file. This is the current >> situation for mpd. > > I don;t see a difference here: "Add Config.in options only in case it > is > relevant" and "Add Config.in options for important features" are > exactly > the same in mny eyes... > >> So let's see what the other maintainers think. If you (or the other >> maintainers) don't agree, we can compromise and go back to the >> original >> patch (with just the npupnp/expat situation resolved). > > So, I'll summariser my position: > > - add Config.in options when it makes sense: > - important size delta > - legal issues > those options select the appropriate packages > > - in the .mk: > - add conditional blocks based on those options, add build > dependencies as appropriate; > - add conditoinal dependencies on package for automatic > dependencies > >> Ideally I'd like the maintainers (and anybody else, really) to come >> to a >> decision here and eventually formalize it in the manual. Because it's >> not >> the first time this discussion crops up. Kind regards, Andreas > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' > conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ > | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There > is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v > conspiracy. | > '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 10 10:30:14 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 12:30:14 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 Message-ID: <20220410103014.115744-1-fontaine.fabrice@gmail.com> Override CPPFLAGS to fix the following build failure with BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit cd707a9112e38b4ce98326b96c0ed12054ca1cca and https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] It should be noted that upstream already rejected a PR to remove -Werror: https://github.com/smuellerDD/libkcapi/pull/132 Fixes: - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Arnout Vandecappelle): - Override CPPFLAGS instead of COMMON_CPPFLAGS as -D_FORTIFY_SOURCE=2 is added to CPPFLAGS by ax_add_fortify_source.m4 package/libkcapi/libkcapi.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk index 71dfbd9eff..30d500696b 100644 --- a/package/libkcapi/libkcapi.mk +++ b/package/libkcapi/libkcapi.mk @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ ac_cv_path_DB2PDF="" \ ac_cv_path_DB2PS="" \ ac_cv_path_XMLTO="" +LIBKCAPI_MAKE_OPTS = CPPFLAGS="$(TARGET_CPPFLAGS)" ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 10 13:44:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 15:44:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: add CPE variables Message-ID: <20220410134415.137573-1-fontaine.fabrice@gmail.com> cpe:2.3:a:intel:threading_building_blocks is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aintel%3Athreading_building_blocks Signed-off-by: Fabrice Fontaine --- package/tbb/tbb.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index e5929388a2..87e83551fe 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -9,6 +9,8 @@ TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 TBB_LICENSE_FILES = LICENSE +TBB_CPE_ID_VENDOR = intel +TBB_CPE_ID_PRODUCT = threading_building_blocks TBB_SO_VERSION = 2 TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy -- 2.35.1 From arnout at mind.be Sun Apr 10 13:55:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 15:55:17 +0200 Subject: [Buildroot] buildroot-2022.02 installation problems In-Reply-To: References: Message-ID: Hi, On 04/04/2022 03:23, ??? wrote: > Hello > > I am trying to learn Linux late, but nothing is easy. > > It takes a lot of effort and time to compile individually, such as binutils, > gcc, glibc, and kernel, etc which are required to build a Linux environment. > > and then have discovered buildroot and i thought that the buildroot could be a > little easier to reach my original purpose. > > I am an engineer, so far I have developed non-linux fields such as avr, stm32f4... > > I'm a beginner and I don't have an embedded board. First, I will create a > virtual target using qemu on my laptop (ubuntu 20.04.3), > > and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, the Note that Buildroot can build the kernel for you as well. > toolchain and glibc, compiler will be created through buildroot. > > The first time I did it without knowing anything, it was successful, but I can't > remember which option I chose. > > Maybe when it first succeeded, i think the gdb option was not checked . > > Afterwards, if I build with the gdb option selected for the target, an error > occurs like below: > > .... > > [Makefile:9230: all-gdb] Error 2 This is not sufficient to debug the issue, you'd have to post a larger part of the output. That's probably going to be too big for an email, so put it in a pastebin instead and just post the link. That said, I could reproduce the issue with GDB 9 (the first config you attached), it's a known issue with glibc-2.34 [1] which was fixed in GDB 10.2 but the patch wasn't backported to GDB 9. So changing the GDB version to 10 should fix it. The second config you included does have GDB 10, but I couldn't reproduce a GDB issue there. I haven't attempted to build the full config however, I took a shortcut by using the external toolchain. So if you want to debug further, please include a more extensive log in addition to the configuration. Also, it's better if you attach a defconfig (= the result of 'make savedefconfig') instead of all full config, because it's a lot smaller. BTW I noticed that you have a lot of weird packages selected, like CVS. Do you really need all that? Regards, Arnout [1] https://sourceware.org/bugzilla/show_bug.cgi?id=27535 > > My current purpose is to remotely debug a virtual target program through > gdbserver installed on the target based on qemu. > > To do this, gdbserver must be installed on the target, but this does not work. > > Attached is the .config file when the error occurs. > > I look forward to your reply. > > My original job is to control the motor. But before that, I'm already exhausted. > > > host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc > > target: kernel 5.11.22(boot by qemu), arch: x86_64, x86_64-buildroot-linux-gnu-gcc > > =>The command to run qemu will: > > qemu-system-x86_64 -kernel /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M > -smp 1 -boot c -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 > -append "root=/dev/sda rw acpi=off" -s > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Sun Apr 10 14:10:43 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 16:10:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/lftp: fix build with libressl Message-ID: <20220410141043.144288-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl > 2.7.0: /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here Fixes: - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 Signed-off-by: Fabrice Fontaine --- ..._ssl.c-fix-build-with-libressl-2.7.0.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch diff --git a/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch new file mode 100644 index 0000000000..4251a5e176 --- /dev/null +++ b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch @@ -0,0 +1,36 @@ +From 3ffa0132987bdde986c82c924bc51b13b37f8b54 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 22:56:21 +0200 +Subject: [PATCH] src/lftp_ssl.c: fix build with libressl >= 2.7.0 + +X509_OBJECT_get0_X509_CRL is provided by libressl since version 2.7.0 +and +https://github.com/libressl-portable/openbsd/commit/9866ae34c0af718973475296bd9ef036d3aaa94e +resulting in the following build failure: + +/nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': +(.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here + +Fixes: + - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54] +--- + src/lftp_ssl.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 26e91e4b..a814543d 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -664,7 +664,7 @@ int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int* cert_max + #elif USE_OPENSSL + //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + // for compatibility with older versions + X509_OBJECT *X509_OBJECT_new() + { -- 2.35.1 From arnout at mind.be Sun Apr 10 14:13:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:13:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/igh-ethercat: needs kernel < 3.5 In-Reply-To: <20220405200615.1755287-1-fontaine.fabrice@gmail.com> References: <20220405200615.1755287-1-fontaine.fabrice@gmail.com> Message-ID: <0548ce7b-225b-1520-61ea-ddd2a7bf76f9@mind.be> On 05/04/2022 22:06, Fabrice Fontaine wrote: > igh-ethercat needs kernel < 3.5 since bump to version 1.5.2 in commit > 88cd215169d6875a5ed0543b15254b98f9f83104: Sorry, but no. If this is really true, we should just remove the package. It makes no sense to try to maintain packages that rely on such ancient kernels. IMHO, of course ;-) However, there seems to be a new upstream [1] that (based on the git history) at least supports kernel 4.19. So switching to that would be a good idea. There's another concern however, for which I included James in Cc. Quite a lot of external kernel modules and other extensions (e.g. rtai) will only work with specific kernel versions. I don't know if we can afford to really encode that in the Config.in, especially because we don't have a good idea of the kernel version that is being built (the headers version is just a strong hint, but e.g. in case you build with an external toolchain it can be completely wrong). Up until recently, this wasn't really a problem because we don't build them in the autobuilders anyway. However, now James has added support for building kernels in his autobuilder, we do get failures like this. How will we handle that? Regards, Arnout [1] https://gitlab.com/etherlab.org/ethercat > > checking for kernel for 8139too driver... configure: error: kernel 5.15 not available for 8139too driver! > > Fixes: > - http://autobuild.buildroot.org/results/e8122e9d7c13d07a6ddc7d9a2d3a078c21521ecd > > Signed-off-by: Fabrice Fontaine > --- > package/igh-ethercat/Config.in | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/igh-ethercat/Config.in b/package/igh-ethercat/Config.in > index e600ef5fcd..51b8584f78 100644 > --- a/package/igh-ethercat/Config.in > +++ b/package/igh-ethercat/Config.in > @@ -1,9 +1,14 @@ > comment "igh-ethercat needs a Linux kernel to be built" > depends on !BR2_LINUX_KERNEL > > +comment "igh-ethercat needs a toolchain w/ headers < 3.5" > + depends on BR2_LINUX_KERNEL > + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 > + > config BR2_PACKAGE_IGH_ETHERCAT > bool "igh-ethercat" > depends on BR2_LINUX_KERNEL > + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 > help > IgH EtherCAT Master for Linux. > From fontaine.fabrice at gmail.com Sun Apr 10 14:34:13 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 16:34:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/kompexsqlite: security bump to version 1.12.15 Message-ID: <20220410143413.146915-1-fontaine.fabrice@gmail.com> - Update site to get latest version - Switch to generic-package and drop patches as upstream doesn't provide autotools support - License is MIT since version 1.12.15 - This bump will fix the following build failure with BR2_OPTIMIZE_FAST: src/sqlite3.c: In function 'sqlite3IsNaN': src/sqlite3.c:21797:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC. 21797 | # error SQLite will not work correctly with the -ffast-math option of GCC. | ^~~~~ - This bump will also fix security issues by bumping sqlite to 3.36.0 - Update indentation in hash file (two spaces) http://sqlitewrapper.kompex-online.com/index.php?content=changelog Fixes: - http://autobuild.buildroot.org/results/63e07345b97faa6d6239933f1790c6f2e02da77f Signed-off-by: Fabrice Fontaine --- ...e-use-autoconf-CXX-for-proper-builds.patch | 27 ---------- .../0002-append-to-cflags-and-cxxflags.patch | 49 ------------------- package/kompexsqlite/kompexsqlite.hash | 5 +- package/kompexsqlite/kompexsqlite.mk | 45 ++++++++++++++--- 4 files changed, 42 insertions(+), 84 deletions(-) delete mode 100644 package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch delete mode 100644 package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch diff --git a/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch b/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch deleted file mode 100644 index 408c100d71..0000000000 --- a/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 769693d9ddf63b04dd4aad6cad080f3cee3f997e Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Thu, 11 Jun 2015 14:08:38 -0300 -Subject: [PATCH] Makefile: use autoconf CXX for proper builds - -Status: applied upstream. - -Signed-off-by: Gustavo Zacarias ---- - Makefile.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Makefile.in b/Makefile.in -index 91fb8b2..fe862cd 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -23,6 +23,7 @@ mandir = $(prefix)/share/man/man3 - headerdir = $(prefix)/include/kompex - - CC = @CC@ -+CXX = @CXX@ - CFLAGS = @CFLAGS@ - CPPFLAGS = $(CFLAGS) @CPPFLAGS@ - LDFLAGS = @LDFLAGS@ --- -2.3.6 - diff --git a/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch b/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch deleted file mode 100644 index abd0dc0fdd..0000000000 --- a/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 3eb064ffa9b43fb5f245b8abda48a1c152a6f2d7 Mon Sep 17 00:00:00 2001 -From: me -Date: Thu, 20 Nov 2014 14:37:34 -0700 -Subject: [PATCH] Append to CFLAGS and CXXFLAGS as setup by ./configure. This - can allow users to Customize the SQLite build process with compile time - #defines rather than altering the sources. - -Signed-off-by: Max Filippov ---- -Backported from: 3eb064ffa9b43fb5f245b8abda48a1c152a6f2d7 - - Makefile-shared.mk | 4 ++-- - Makefile-static.mk | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile-shared.mk b/Makefile-shared.mk -index b2a4920..d15ce3c 100644 ---- a/Makefile-shared.mk -+++ b/Makefile-shared.mk -@@ -12,10 +12,10 @@ OBJS= \ - ${objsdir}/sqlite3.o - - # C Compiler Flags --CFLAGS= -fPIC -MMD -MP -+CFLAGS+= -fPIC -MMD -MP - - # CC Compiler Flags --CPPFLAGS= -DKOMPEX_SQLITEWRAPPER_EXPORT -DKOMPEX_SQLITEWRAPPER_DYN -fPIC -MMD -MP -I${includedir} -+CPPFLAGS+= -DKOMPEX_SQLITEWRAPPER_EXPORT -DKOMPEX_SQLITEWRAPPER_DYN -fPIC -MMD -MP -I${includedir} - - # Link Libraries and Options - LDLIBSOPTIONS= -shared -fPIC -diff --git a/Makefile-static.mk b/Makefile-static.mk -index 429a4ff..0678681 100644 ---- a/Makefile-static.mk -+++ b/Makefile-static.mk -@@ -12,10 +12,10 @@ OBJS= \ - ${objsdir}/sqlite3.o - - # C Compiler Flags --CFLAGS= -MMD -MP -+CFLAGS+= -MMD -MP - - # CC Compiler Flags --CPPFLAGS= -I${includedir} -MMD -MP -+CPPFLAGS+= -I${includedir} -MMD -MP - - # Link Libraries and Options - LDLIBSOPTIONS= diff --git a/package/kompexsqlite/kompexsqlite.hash b/package/kompexsqlite/kompexsqlite.hash index 8869e9b7d9..aa0f269570 100644 --- a/package/kompexsqlite/kompexsqlite.hash +++ b/package/kompexsqlite/kompexsqlite.hash @@ -1,3 +1,4 @@ # Locally calculated -sha256 73bec94fe5dd3a24bd8668b3a131a84dbe39a992579eebab1236aa0e73b2c9cc kompexsqlite-1.10.12-1.tar.gz -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.txt +sha256 81773ddb156fed51ef43a5f562e3b47761c4c33de9197bf0c3e7099b08579e2a download.php?dl=KompexSQLiteWrapper-Source_1.12.15.tar.gz +sha256 65fd20aeb67892740a710a09d788acfda8747741e746395739412919f84b5f9f inc/KompexSQLiteDatabase.h +sha256 001f26c0b2ca407a9a5d3f5e0690d7e576687b23110e18d2a08014dd774eb71c inc/sqlite3.h diff --git a/package/kompexsqlite/kompexsqlite.mk b/package/kompexsqlite/kompexsqlite.mk index a40088fa2d..6a619de0ef 100644 --- a/package/kompexsqlite/kompexsqlite.mk +++ b/package/kompexsqlite/kompexsqlite.mk @@ -4,11 +4,44 @@ # ################################################################################ -KOMPEXSQLITE_VERSION = 1.10.12-1 -KOMPEXSQLITE_SITE = \ - $(call github,Aethelflaed,kompex-sqlite-wrapper,v$(KOMPEXSQLITE_VERSION)) +KOMPEXSQLITE_VERSION = 1.12.15 +KOMPEXSQLITE_SOURCE = download.php?dl=KompexSQLiteWrapper-Source_$(KOMPEXSQLITE_VERSION).tar.gz +KOMPEXSQLITE_SITE = http://sqlitewrapper.kompex-online.com/counter KOMPEXSQLITE_INSTALL_STAGING = YES -KOMPEXSQLITE_LICENSE = LGPL-3.0+ (wrapper), Public Domain (bundled sqlite) -KOMPEXSQLITE_LICENSE_FILES = LICENSE.txt +KOMPEXSQLITE_LICENSE = MIT (wrapper), Public Domain (bundled sqlite) +KOMPEXSQLITE_LICENSE_FILES = inc/KompexSQLiteDatabase.h inc/sqlite3.h -$(eval $(autotools-package)) +ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +KOMPEXSQLITE_CONFS += ReleaseStaticLib +define KOMPEXSQLITE_INSTALL_STATIC_LIB + $(INSTALL) -D -m 0644 $(@D)/lib/release/KompexSQLiteWrapper_Static.a \ + $(STAGING_DIR)/usr/lib/libkompex-sqlite-wrapper.a +endef +endif + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +KOMPEXSQLITE_CONFS += ReleaseDynamicLib +define KOMPEXSQLITE_INSTALL_SHARED_LIB + $(INSTALL) -D -m 0755 $(@D)/lib/release/KompexSQLiteWrapper.so \ + $(1)/usr/lib/libkompex-sqlite-wrapper.so +endef +endif + +define KOMPEXSQLITE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + ALLCONFS="$(KOMPEXSQLITE_CONFS)" \ + -C "$(@D)/Kompex SQLite Wrapper" all +endef + +define KOMPEXSQLITE_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/kompex + $(INSTALL) -m 644 $(@D)/inc/* $(STAGING_DIR)/usr/include/kompex + $(KOMPEXSQLITE_INSTALL_STATIC_LIB) + $(call KOMPEXSQLITE_INSTALL_SHARED_LIB,$(STAGING_DIR)) +endef + +define KOMPEXSQLITE_INSTALL_TARGET_CMDS + $(call KOMPEXSQLITE_INSTALL_SHARED_LIB,$(TARGET_DIR)) +endef + +$(eval $(generic-package)) -- 2.35.1 From arnout at mind.be Sun Apr 10 14:38:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:38:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: support additional host architectures In-Reply-To: <20220404004138.563732-1-james.hilliard1@gmail.com> References: <20220404004138.563732-1-james.hilliard1@gmail.com> Message-ID: On 04/04/2022 02:41, James Hilliard wrote: > There are host toolchains available for non-x86/x86_64 architectures, > add them as supported along with their toolchain hashes. > > Note that the gcc riscv64-unknown-linux-gnu arch needs to be mapped > to the rust riscv64gc-unknown-linux-gnu arch. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/rust-bin/rust-bin.hash | 24 ++++++++++++++++++++++++ > package/rustc/Config.in.host | 11 ++++++++++- > package/rustc/rustc.mk | 4 +++- > 3 files changed, 37 insertions(+), 2 deletions(-) > > diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash > index 9f8788a295..bac2f21c5c 100644 > --- a/package/rust-bin/rust-bin.hash > +++ b/package/rust-bin/rust-bin.hash > @@ -1,6 +1,30 @@ > +# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > +sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz > # From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > +sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > +sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > +sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > +sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > +sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > +sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc > +sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz > # From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz > diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host > index 80d1d1a3d8..4ea66c2d2d 100644 > --- a/package/rustc/Config.in.host > +++ b/package/rustc/Config.in.host > @@ -1,7 +1,16 @@ > # All host rust packages should depend on this option > config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS > bool > - default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + default y if BR2_HOSTARCH = "aarch64" > + default y if BR2_HOSTARCH = "mips" > + default y if BR2_HOSTARCH = "mipsel" > + default y if BR2_HOSTARCH = "powerpc" > + default y if BR2_HOSTARCH = "powerpc64" > + default y if BR2_HOSTARCH = "powerpc64le" > + default y if BR2_HOSTARCH = "riscv64" > + default y if BR2_HOSTARCH = "s390x" > + default y if BR2_HOSTARCH = "x86" > + default y if BR2_HOSTARCH = "x86_64" > > # The pre-built Rust standard library is only available for a number > # of architectures/C libraries combinations, with different levels of > diff --git a/package/rustc/rustc.mk b/package/rustc/rustc.mk > index 0513dd0b40..b2cc131ee9 100644 > --- a/package/rustc/rustc.mk > +++ b/package/rustc/rustc.mk > @@ -11,7 +11,9 @@ ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) > RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-$(LIBC)$(RUSTC_ABI) > endif > > -ifeq ($(HOSTARCH),x86) > +ifeq ($(HOSTARCH),riscv64) > +RUSTC_HOST_ARCH = riscv64gc > +else ifeq ($(HOSTARCH),x86) > RUSTC_HOST_ARCH = i686 > else > RUSTC_HOST_ARCH = $(HOSTARCH) From arnout at mind.be Sun Apr 10 14:39:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:39:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rustc, rust-bin}: add s390x target arch support In-Reply-To: <20220404005725.564691-1-james.hilliard1@gmail.com> References: <20220404005725.564691-1-james.hilliard1@gmail.com> Message-ID: <92b4b36f-f59c-40b7-6f8d-2ef2cea82305@mind.be> On 04/04/2022 02:57, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/rust-bin/rust-bin.hash | 3 +++ > package/rustc/Config.in.host | 2 ++ > 2 files changed, 5 insertions(+) > > diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash > index 9f8788a295..ec1c09b7ea 100644 > --- a/package/rust-bin/rust-bin.hash > +++ b/package/rust-bin/rust-bin.hash > @@ -88,6 +88,9 @@ sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-s > # From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc > +sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz > # From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc > sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz > diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host > index 80d1d1a3d8..d38b57386c 100644 > --- a/package/rustc/Config.in.host > +++ b/package/rustc/Config.in.host > @@ -53,6 +53,8 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS > BR2_RISCV_ISA_RVA && BR2_RISCV_ISA_RVF && \ > BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC && \ > BR2_TOOLCHAIN_USES_GLIBC > + # s390x-unknown-linux-gnu > + default y if BR2_s390x && BR2_TOOLCHAIN_USES_GLIBC > # x86_64-unknown-linux-musl > default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_MUSL > From arnout at mind.be Sun Apr 10 14:45:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:45:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: bump to version 1.59.0 In-Reply-To: <20220407115952.56219-2-nicolas.tran@smile.fr> References: <20220407115952.56219-1-nicolas.tran@smile.fr> <20220407115952.56219-2-nicolas.tran@smile.fr> Message-ID: <18863202-0ccb-1714-3d05-6f0e119b613d@mind.be> Hi Nicolas, On 07/04/2022 13:59, Nicolas Tran wrote: > Link to Rust version 1.59.0: https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html Excellent, thanks! Unfortunately, I just applied two patches that add a bunch of other tarballs, so these will have to be updated as well now. Also, the very day that you posted this patch, rust 1.60 was released. So maybe you can update to that? Finally, when updating rust, it's a good idea to do a build test (using the test-pkg script) of a few packages that rely on rust: rsvg, python-cryptography, ripgrep, suricata. Oh, also: everything you put in the cover letter would actually be useful in the commit message. We just prefer if it's written in passive sense rather than first person, i.e. "Source archives were retrieved and ...". But that's really a minor thing. Regards, Arnout > > Signed-off-by: Nicolas Tran > --- > package/rust-bin/rust-bin.hash | 198 ++++++++++++++++----------------- > package/rust-bin/rust-bin.mk | 2 +- > package/rust/rust.hash | 6 +- > package/rust/rust.mk | 2 +- > 4 files changed, 104 insertions(+), 104 deletions(-) > > diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash > index 9f8788a295..1aa166c45e 100644 > --- a/package/rust-bin/rust-bin.hash > +++ b/package/rust-bin/rust-bin.hash > @@ -1,102 +1,102 @@ > -# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > -sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > -sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > -sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc > -sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc > -sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc > -sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc > -sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc > -sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc > -sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc > -sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc > -sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc > -sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc > -sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc > -sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc > -sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc > -sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > -sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc > -sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > -sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc > -sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc > -sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc > -sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc > -sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc > -sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > -sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc > -sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > -sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > -sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > -sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > -sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc > -sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > -sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc > -sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.asc > +sha256 b4144c89f9482f3e76ccad09d0a3072c935b7c0abdb9a52edbd641f2e27bb4f0 rust-1.59.0-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc > +sha256 a10c4abcba4891c463612c161246706cd0e8d3ddb1ae75f514d3f02bed235af6 rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.asc > +sha256 68e50dee4f6dddeab7330906e46022f57f2c004c847eae3f5b1bc82c59e43fc0 rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.asc > +sha256 6b8424e9b99da7df3b842b47476fbff4c371414186ae50ca0aff050a532c1d52 rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.asc > +sha256 b65ffcf5a4b4e4df3893b6da7182e2f91cd174e59fd26a69110809015635708a rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.asc > +sha256 382051a04047463430bfb4d16fe2998fcd00f0945cb99b622e94a7564796846a rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.asc > +sha256 f072103ccbd967ccf06c3e4366a56af1f53af89834f02d0151afc144318d9040 rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.asc > +sha256 e2f4944fb135c508b0c8dff46caf04eca065e5ee5f5de32494b084c667fd20eb rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.asc > +sha256 2b9042ae8d24f5d8ada3d1903e24c2cdcc464e74a506cb72054a680b1e0433bb rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.asc > +sha256 1f0726d6b06b7b35de32af45b9f8ac597c89cc5e7236ac6a6dcb91f0412b0e1a rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.asc > +sha256 310ce12c01fa15f46b8f9eee4a086c818118dbd56cd8400aee04432ba96061df rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.asc > +sha256 3695a3bee47cfe0624f7822243000a4ee552bf920b403b16cc633513e95498bd rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.asc > +sha256 6c00582c159524a87b8934a5e4cb513d6032474f9a017bf91697e72885bf70fb rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.asc > +sha256 dcf0f1ddc6dc5e32a07789408d0a2637d639e00cf214c349921d06d3f73c7b2c rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.asc > +sha256 415a93bc55da0879335a18e55552a111a23bd9d5e70598080071f6346a9b4a0d rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.asc > +sha256 a0a644cb14eec96760b870b585b08a3bf2965844754f8b965b39aded5635ab77 rust-std-1.59.0-i586-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.asc > +sha256 26e91818a36184998039aeaabbf0972a8610d0d250e4bc03de6f27a7843971b5 rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.asc > +sha256 5821c1655adc81bc2a347329eab08b651f3312f2eeb972b0a30d93a5c49502f5 rust-std-1.59.0-i686-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.asc > +sha256 05bf10c11ff845f006331ddfdd109e12b1377c156e37eb1bb3bc0402e4219d31 rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.asc > +sha256 af5ee07f5d98296435867ef5859ec207c57413bb61b0d656c39b1f451aaeeb38 rust-std-1.59.0-mips-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.asc > +sha256 88c6b0dbadfc7bcc2a2eba0f3328ad1ff1714a5a13f07bffe007aecae59fc9b8 rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.asc > +sha256 a0533694ed62c9c3f497d94ee51bc9ba08e5f3fb24588e02cf1f1c2efbdb9b43 rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc > +sha256 6a3462a10da953546412912d04228a63c5d4086a4768163f1bd5ccf81950090d rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.asc > +sha256 606d037a01cc7666594b7973c6a727c69426d85adaf94128dc9914e893ef8ed9 rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.asc > +sha256 fd747f4ef4cee6fe88692dd6e3c7b986870ce8a24eab8920adacc7ab73fb482d rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.asc > +sha256 4622aa633ad2d0decca59aa65b24195431e40162804352f5bdd9bafd92ee7b9d rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.asc > +sha256 5ead471b53d290960d49a7cec0ba01a082f5e6cfa18825366990d46797dc7161 rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.asc > +sha256 1217290e951ae84998d2d04a88d154b1da205e2638a3449c02c8e9256bff589c rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.asc > +sha256 15dee7705967e3351aff11c64ada30c4957b54066c7ee49b87be4b8155bd0a7d rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.asc > +sha256 74c1f9c94ff4993948c05df2c9c58f76708e6adbacb9b2caca368558dde9590a rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.asc > +sha256 6bc109f7ff1f501153cc18eebed9a0cc468eebbfed2cc728047d59456e356f9a rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc > +sha256 c854a9ee3dd8e5be9522c1581f75838c1cbae6dece3934b0004f138c4a5024a3 rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.asc > +sha256 473b6ddf598418db49efc21c3d2702cdaf9c78ee4ae00611c7d9e384a2d4dad7 rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz > # Locally generated > sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE > sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk > index d4cb8f50ea..b50465f7a6 100644 > --- a/package/rust-bin/rust-bin.mk > +++ b/package/rust-bin/rust-bin.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RUST_BIN_VERSION = 1.58.1 > +RUST_BIN_VERSION = 1.59.0 > RUST_BIN_SITE = https://static.rust-lang.org/dist > RUST_BIN_LICENSE = Apache-2.0 or MIT > RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > diff --git a/package/rust/rust.hash b/package/rust/rust.hash > index 7eb8f59603..63a5644176 100644 > --- a/package/rust/rust.hash > +++ b/package/rust/rust.hash > @@ -1,6 +1,6 @@ > -# From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc > -sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz > +# From https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.asc > +sha256 375996ead731cab2203ec10a66a3c4568ab6997d7e5d3ae597658164fe27be3d rustc-1.59.0-src.tar.xz > # Locally generated > sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE > sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/rust/rust.mk b/package/rust/rust.mk > index cd8c87b68d..fd02686082 100644 > --- a/package/rust/rust.mk > +++ b/package/rust/rust.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RUST_VERSION = 1.58.1 > +RUST_VERSION = 1.59.0 > RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz > RUST_SITE = https://static.rust-lang.org/dist > RUST_LICENSE = Apache-2.0 or MIT From arnout at mind.be Sun Apr 10 14:46:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:46:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: needs C++ In-Reply-To: <20220404203135.340172-1-fontaine.fabrice@gmail.com> References: <20220404203135.340172-1-fontaine.fabrice@gmail.com> Message-ID: On 04/04/2022 22:31, Fabrice Fontaine wrote: > python-ujson needs C++ since bump to version 4.1.0 in commit > a47f332a20bf3f79ef4903c8ddd2b7917217e354 and > https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: > > powerpc-buildroot-linux-gnu-gcc.br_real: error: ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ compiler not installed on this system > > Fixes: > - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/python-ujson/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in > index 81d1bc457c..7af03e6497 100644 > --- a/package/python-ujson/Config.in > +++ b/package/python-ujson/Config.in > @@ -1,7 +1,11 @@ > config BR2_PACKAGE_PYTHON_UJSON > bool "python-ujson" > + depends on BR2_INSTALL_LIBSTDCPP > help > UltraJSON is an ultra fast JSON encoder and decoder written > in pure C with bindings for Python 3. > > https://pypi.python.org/pypi/ujson > + > +comment "python-ujson needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 10 14:46:33 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:46:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/trace-cmd: needs NPTL In-Reply-To: <20220404205015.341053-1-fontaine.fabrice@gmail.com> References: <20220404205015.341053-1-fontaine.fabrice@gmail.com> Message-ID: <633b44ef-123c-d0e0-51d4-ae3ab9af36b3@mind.be> On 04/04/2022 22:50, Fabrice Fontaine wrote: > trace-cmd needs NPTL since bump to version 2.9.1 in commit > 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: > > /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): in function `tracecmd_tsync_with_host': > trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' > > Fixes: > - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/trace-cmd/Config.in | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in > index 574541c571..2d0accd7ae 100644 > --- a/package/trace-cmd/Config.in > +++ b/package/trace-cmd/Config.in > @@ -1,6 +1,7 @@ > config BR2_PACKAGE_TRACE_CMD > bool "trace-cmd" > - depends on BR2_TOOLCHAIN_HAS_THREADS > + # pthread_setaffinity_np > + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL > depends on BR2_USE_MMU # fork() > depends on !BR2_STATIC_LIBS # dlopen() > help > @@ -13,6 +14,6 @@ config BR2_PACKAGE_TRACE_CMD > > http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git > > -comment "trace-cmd needs a toolchain w/ threads, dynamic library" > +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" > depends on BR2_USE_MMU > - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS > + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From arnout at mind.be Sun Apr 10 14:46:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:46:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/libest: fix build with libressl In-Reply-To: <20220404211941.721192-1-fontaine.fabrice@gmail.com> References: <20220404211941.721192-1-fontaine.fabrice@gmail.com> Message-ID: <31c48db8-f8b2-23fb-f3a0-ce67e4e5243d@mind.be> On 04/04/2022 23:19, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since the addition > of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: > > In file included from est.c:28: > est.h:27:10: fatal error: openssl/srp.h: No such file or directory > 27 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libest/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/libest/Config.in b/package/libest/Config.in > index d8271ad69e..6abe9d2848 100644 > --- a/package/libest/Config.in > +++ b/package/libest/Config.in > @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBEST > depends on !BR2_STATIC_LIBS # libexecinfo or glibc > select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC > select BR2_PACKAGE_OPENSSL > + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL > help > libest is a C implementation of RFC 7030 (Enrollment over > Secure Transport). From arnout at mind.be Sun Apr 10 14:47:18 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:47:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/containerd: bump to version v1.6.2 In-Reply-To: <20220404221451.610628-1-christian@paral.in> References: <20220404221451.610628-1-christian@paral.in> Message-ID: On 05/04/2022 00:14, Christian Stewart via buildroot wrote: > Note: this version adds compatibility for Go 1.18. > > Signed-off-by: Christian Stewart Applied to master, thanks. Regards, Arnout > --- > package/containerd/containerd.hash | 2 +- > package/containerd/containerd.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash > index d5aafe2e70..eb9f2894a9 100644 > --- a/package/containerd/containerd.hash > +++ b/package/containerd/containerd.hash > @@ -1,3 +1,3 @@ > # Computed locally > -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz > +sha256 4ea21a6b4649512366e7c31ae547ad89c6a69c6586a6d8565cff07898de344b0 containerd-1.6.2.tar.gz > sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE > diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk > index 8976e12f1a..36f2db4125 100644 > --- a/package/containerd/containerd.mk > +++ b/package/containerd/containerd.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -CONTAINERD_VERSION = 1.5.9 > +CONTAINERD_VERSION = 1.6.2 > CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) > CONTAINERD_LICENSE = Apache-2.0 > CONTAINERD_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 10 14:15:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:15:06 +0200 Subject: [Buildroot] [git commit] package/python-ujson: needs C++ Message-ID: <20220410143837.8BB8D837CC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9f83216ff1f86c625023bee3037773997fc2987d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-ujson needs C++ since bump to version 4.1.0 in commit a47f332a20bf3f79ef4903c8ddd2b7917217e354 and https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: powerpc-buildroot-linux-gnu-gcc.br_real: error: ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-ujson/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in index 81d1bc457c..7af03e6497 100644 --- a/package/python-ujson/Config.in +++ b/package/python-ujson/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_PYTHON_UJSON bool "python-ujson" + depends on BR2_INSTALL_LIBSTDCPP help UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3. https://pypi.python.org/pypi/ujson + +comment "python-ujson needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 10 14:15:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:15:09 +0200 Subject: [Buildroot] [git commit] package/trace-cmd: needs NPTL Message-ID: <20220410143837.9496C837C4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=df3cc4bb1c91114d29e48d8bc8206adcc35e9b9c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master trace-cmd needs NPTL since bump to version 2.9.1 in commit 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): in function `tracecmd_tsync_with_host': trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' Fixes: - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/trace-cmd/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 574541c571..2d0accd7ae 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TRACE_CMD bool "trace-cmd" - depends on BR2_TOOLCHAIN_HAS_THREADS + # pthread_setaffinity_np + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() help @@ -13,6 +14,6 @@ config BR2_PACKAGE_TRACE_CMD http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git -comment "trace-cmd needs a toolchain w/ threads, dynamic library" +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From arnout at mind.be Sun Apr 10 14:47:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:47:48 +0200 Subject: [Buildroot] [git commit] package/containerd: bump to version v1.6.2 Message-ID: <20220410143837.A678B837CC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2b1c7ebc9b2c4a8bea5967860a425625ce2f45e5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Note: this version adds compatibility for Go 1.18. Signed-off-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 23dacded88..eb9f2894a9 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz +sha256 4ea21a6b4649512366e7c31ae547ad89c6a69c6586a6d8565cff07898de344b0 containerd-1.6.2.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index c405b75e81..36f2db4125 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.11 +CONTAINERD_VERSION = 1.6.2 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 10 14:38:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:38:00 +0200 Subject: [Buildroot] [git commit] package/libest: doesn't support libressl Message-ID: <20220410143837.9D418837C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c4872446c8c5cd34b2f8e0ed66932cb3ba62556a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since the addition of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: In file included from est.c:28: est.h:27:10: fatal error: openssl/srp.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libest/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libest/Config.in b/package/libest/Config.in index d8271ad69e..6abe9d2848 100644 --- a/package/libest/Config.in +++ b/package/libest/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBEST depends on !BR2_STATIC_LIBS # libexecinfo or glibc select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help libest is a C implementation of RFC 7030 (Enrollment over Secure Transport). From arnout at mind.be Sun Apr 10 14:15:03 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:15:03 +0200 Subject: [Buildroot] [git commit] package/{rustc, rust-bin}: add s390x target arch support Message-ID: <20220410143837.82ACB837C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=718574186190e23c45c6f3e92000f1e36dfe6c95 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rust-bin/rust-bin.hash | 3 +++ package/rustc/Config.in.host | 2 ++ 2 files changed, 5 insertions(+) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index bac2f21c5c..b2a4502cd9 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -112,6 +112,9 @@ sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-s # From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc +sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index 4ea66c2d2d..a86d95236d 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -62,6 +62,8 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS BR2_RISCV_ISA_RVA && BR2_RISCV_ISA_RVF && \ BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC && \ BR2_TOOLCHAIN_USES_GLIBC + # s390x-unknown-linux-gnu + default y if BR2_s390x && BR2_TOOLCHAIN_USES_GLIBC # x86_64-unknown-linux-musl default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_MUSL From arnout at mind.be Sun Apr 10 14:15:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:15:00 +0200 Subject: [Buildroot] [git commit] package/{rust, rust-bin}: support additional host architectures Message-ID: <20220410143837.78D00837C4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f986b265511e6f4748595c8b7ea83f1f616ddd64 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master There are host toolchains available for non-x86/x86_64 architectures, add them as supported along with their toolchain hashes. Note that the gcc riscv64-unknown-linux-gnu arch needs to be mapped to the rust riscv64gc-unknown-linux-gnu arch. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rust-bin/rust-bin.hash | 24 ++++++++++++++++++++++++ package/rustc/Config.in.host | 11 ++++++++++- package/rustc/rustc.mk | 4 +++- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index 9f8788a295..bac2f21c5c 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -1,6 +1,30 @@ +# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc +sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc +sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index 80d1d1a3d8..4ea66c2d2d 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -1,7 +1,16 @@ # All host rust packages should depend on this option config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS bool - default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "mips" + default y if BR2_HOSTARCH = "mipsel" + default y if BR2_HOSTARCH = "powerpc" + default y if BR2_HOSTARCH = "powerpc64" + default y if BR2_HOSTARCH = "powerpc64le" + default y if BR2_HOSTARCH = "riscv64" + default y if BR2_HOSTARCH = "s390x" + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" # The pre-built Rust standard library is only available for a number # of architectures/C libraries combinations, with different levels of diff --git a/package/rustc/rustc.mk b/package/rustc/rustc.mk index 0513dd0b40..b2cc131ee9 100644 --- a/package/rustc/rustc.mk +++ b/package/rustc/rustc.mk @@ -11,7 +11,9 @@ ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-$(LIBC)$(RUSTC_ABI) endif -ifeq ($(HOSTARCH),x86) +ifeq ($(HOSTARCH),riscv64) +RUSTC_HOST_ARCH = riscv64gc +else ifeq ($(HOSTARCH),x86) RUSTC_HOST_ARCH = i686 else RUSTC_HOST_ARCH = $(HOSTARCH) From arnout at mind.be Sun Apr 10 14:50:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:50:41 +0200 Subject: [Buildroot] [PATCH] package/spdlog: bump to version 1.10.0 In-Reply-To: <20220405073603.496103-1-buildroot@heine.tech> References: <20220405073603.496103-1-buildroot@heine.tech> Message-ID: On 05/04/2022 09:35, Michael Nosthoff via buildroot wrote: > Signed-off-by: Michael Nosthoff Applied to master, thanks. Regards, Arnout > --- > package/spdlog/spdlog.hash | 2 +- > package/spdlog/spdlog.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/spdlog/spdlog.hash b/package/spdlog/spdlog.hash > index 02756fc98c..866d1d6d02 100644 > --- a/package/spdlog/spdlog.hash > +++ b/package/spdlog/spdlog.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 6fff9215f5cb81760be4cc16d033526d1080427d236e86d70bb02994f85e3d38 spdlog-1.9.2.tar.gz > +sha256 697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224 spdlog-1.10.0.tar.gz > sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE > diff --git a/package/spdlog/spdlog.mk b/package/spdlog/spdlog.mk > index b5dfc0c7b4..9c5e76a9e8 100644 > --- a/package/spdlog/spdlog.mk > +++ b/package/spdlog/spdlog.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SPDLOG_VERSION = 1.9.2 > +SPDLOG_VERSION = 1.10.0 > SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION)) > SPDLOG_LICENSE = MIT > SPDLOG_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 10 14:50:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:50:57 +0200 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set In-Reply-To: <20220405012059.2680327-1-james.hilliard1@gmail.com> References: <20220405012059.2680327-1-james.hilliard1@gmail.com> Message-ID: On 05/04/2022 03:20, James Hilliard wrote: > Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when > required. > > Fixes: > http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > linux/linux.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/linux/linux.mk b/linux/linux.mk > index 102b7a15d4..7ff7b05042 100644 > --- a/linux/linux.mk > +++ b/linux/linux.mk > @@ -566,6 +566,12 @@ endif > > ifeq ($(BR_BUILDING),y) > > +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) > +ifeq ($(LINUX_VERSION),) > +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) > +endif > +endif > + > ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) > # We must use the user-supplied kconfig value, because > # LINUX_KCONFIG_DEFCONFIG will at least contain the From arnout at mind.be Sun Apr 10 14:51:20 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:51:20 +0200 Subject: [Buildroot] [PATCH] package/libnss: bump to version 3.77 In-Reply-To: <20220405002202.1772332-1-giulio.benetti@benettiengineering.com> References: <20220405002202.1772332-1-giulio.benetti@benettiengineering.com> Message-ID: <4b756b29-78ac-a731-4b3b-fc78875d8314@mind.be> On 05/04/2022 02:22, Giulio Benetti wrote: > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Arnout > --- > package/libnss/libnss.hash | 4 ++-- > package/libnss/libnss.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash > index b4b8be11f6..04e81e6b84 100644 > --- a/package/libnss/libnss.hash > +++ b/package/libnss/libnss.hash > @@ -1,4 +1,4 @@ > -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_76_RTM/src/SHA256SUMS > -sha256 1b8e0310add364d2ade40620cde0f1c37f4f00a6999b2d3e7ea8dacda4aa1630 nss-3.76.tar.gz > +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_77_RTM/src/SHA256SUMS > +sha256 825edf5a2fd35b788a23ff80face591f82919ae3ad2b8f77d424a450d618dedd nss-3.77.tar.gz > # Locally calculated > sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk > index 2f7a265136..57df104d6c 100644 > --- a/package/libnss/libnss.mk > +++ b/package/libnss/libnss.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBNSS_VERSION = 3.76 > +LIBNSS_VERSION = 3.77 > LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz > LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src > LIBNSS_DISTDIR = dist From arnout at mind.be Sun Apr 10 14:51:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:51:42 +0200 Subject: [Buildroot] [PATCH 1/2] package/wpa_supplicant: enable SAE-PK option for WPA3 In-Reply-To: <20220405084929.2755-1-yegorslists@googlemail.com> References: <20220405084929.2755-1-yegorslists@googlemail.com> Message-ID: <85a9a09f-7df2-e409-0ce3-486beaa65022@mind.be> On 05/04/2022 10:49, yegorslists--- via buildroot wrote: > From: Yegor Yefremov > > This enables a new security feature "SAE Public Key". > > Signed-off-by: Yegor Yefremov Applied to master, thanks. Regards, Arnout > --- > package/wpa_supplicant/wpa_supplicant.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk > index f0eb36e083..a2ca8a0b30 100644 > --- a/package/wpa_supplicant/wpa_supplicant.mk > +++ b/package/wpa_supplicant/wpa_supplicant.mk > @@ -112,11 +112,13 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) > WPA_SUPPLICANT_CONFIG_ENABLE += \ > CONFIG_DPP \ > CONFIG_SAE \ > + CONFIG_SAE_PK \ > CONFIG_OWE > else > WPA_SUPPLICANT_CONFIG_DISABLE += \ > CONFIG_DPP \ > CONFIG_SAE \ > + CONFIG_SAE_PK \ > CONFIG_OWE > endif > From arnout at mind.be Sun Apr 10 14:52:23 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:52:23 +0200 Subject: [Buildroot] [PATCH] configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot In-Reply-To: <20220404183504.2392930-1-francois.perrad@gadz.org> References: <20220404183504.2392930-1-francois.perrad@gadz.org> Message-ID: On 04/04/2022 20:35, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. > --- > configs/olimex_a20_olinuxino_lime2_defconfig | 8 ++++---- > configs/olimex_a20_olinuxino_lime_defconfig | 8 ++++---- > 2 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig > index b46cf3743..2f9594921 100644 > --- a/configs/olimex_a20_olinuxino_lime2_defconfig > +++ b/configs/olimex_a20_olinuxino_lime2_defconfig > @@ -4,8 +4,8 @@ BR2_cortex_a7=y > BR2_ARM_EABIHF=y > BR2_ARM_FPU_NEON_VFPV4=y > > -# Linux headers same as kernel, a 5.14 series > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y > +# Linux headers same as kernel, a 5.15 LTS series Nice touch, adding this LTS bit. Regards, Arnout > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y > > # Toolchain > # glibc is needed for sunxi-mali-utgard package. > @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" > # Kernel > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" > BR2_LINUX_KERNEL_USE_DEFCONFIG=y > BR2_LINUX_KERNEL_DEFCONFIG="sunxi" > BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" > @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" > BR2_TARGET_UBOOT_NEEDS_DTC=y > BR2_TARGET_UBOOT_NEEDS_PYTHON3=y > diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig > index 698137e46..e24857e0c 100644 > --- a/configs/olimex_a20_olinuxino_lime_defconfig > +++ b/configs/olimex_a20_olinuxino_lime_defconfig > @@ -4,8 +4,8 @@ BR2_cortex_a7=y > BR2_ARM_EABIHF=y > BR2_ARM_FPU_NEON_VFPV4=y > > -# Linux headers same as kernel, a 5.14 series > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y > +# Linux headers same as kernel, a 5.15 LTS series > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y > > # Toolchain > # glibc is needed for sunxi-mali-utgard package. > @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" > # Kernel > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" > BR2_LINUX_KERNEL_USE_DEFCONFIG=y > BR2_LINUX_KERNEL_DEFCONFIG="sunxi" > BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" > @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" > BR2_TARGET_UBOOT_NEEDS_DTC=y > BR2_TARGET_UBOOT_NEEDS_PYTHON3=y From arnout at mind.be Sun Apr 10 14:52:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:52:39 +0200 Subject: [Buildroot] [PATCH] configs/mx6cubox: bump Linux and U-Boot versions In-Reply-To: <20220404183535.2392985-1-francois.perrad@gadz.org> References: <20220404183535.2392985-1-francois.perrad@gadz.org> Message-ID: <072f11d2-9996-086c-276e-c3e5629c2c3b@mind.be> On 04/04/2022 20:35, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > configs/mx6cubox_defconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig > index 6ea4f6e41..a9cea73fb 100644 > --- a/configs/mx6cubox_defconfig > +++ b/configs/mx6cubox_defconfig > @@ -17,7 +17,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" > # Kernel > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" > BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" > BR2_LINUX_KERNEL_DTS_SUPPORT=y > BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" > @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" > BR2_TARGET_UBOOT_NEEDS_PYTHON3=y > BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y From arnout at mind.be Sun Apr 10 14:48:34 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:34 +0200 Subject: [Buildroot] [git commit] linux/linux.mk: ensure custom kernel version is set Message-ID: <20220410144321.21C3C83829@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=84b1eacc328baad3ceb63505ac588022620a05f6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required. Fixes: http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- linux/linux.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 102b7a15d4..7ff7b05042 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -566,6 +566,12 @@ endif ifeq ($(BR_BUILDING),y) +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) +ifeq ($(LINUX_VERSION),) +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) +endif +endif + ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) # We must use the user-supplied kconfig value, because # LINUX_KCONFIG_DEFCONFIG will at least contain the From arnout at mind.be Sun Apr 10 14:48:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:36 +0200 Subject: [Buildroot] [git commit] package/wpa_supplicant: enable SAE-PK option for WPA3 Message-ID: <20220410144321.351C283828@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9f47a9480b9b168e00f0d564db362b95306af95b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This enables a new security feature "SAE Public Key". Signed-off-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpa_supplicant/wpa_supplicant.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index f0eb36e083..a2ca8a0b30 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -112,11 +112,13 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE else WPA_SUPPLICANT_CONFIG_DISABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE endif From arnout at mind.be Sun Apr 10 14:48:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:38 +0200 Subject: [Buildroot] [git commit] configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot Message-ID: <20220410144321.459A78382A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=582e932ea8fef7a8e2c83ba44bcb23fde9764053 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/olimex_a20_olinuxino_lime2_defconfig | 8 ++++---- configs/olimex_a20_olinuxino_lime_defconfig | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig index b46cf37433..2f95949214 100644 --- a/configs/olimex_a20_olinuxino_lime2_defconfig +++ b/configs/olimex_a20_olinuxino_lime2_defconfig @@ -4,8 +4,8 @@ BR2_cortex_a7=y BR2_ARM_EABIHF=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +# Linux headers same as kernel, a 5.15 LTS series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Toolchain # glibc is needed for sunxi-mali-utgard package. @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig index 698137e46c..e24857e0c1 100644 --- a/configs/olimex_a20_olinuxino_lime_defconfig +++ b/configs/olimex_a20_olinuxino_lime_defconfig @@ -4,8 +4,8 @@ BR2_cortex_a7=y BR2_ARM_EABIHF=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +# Linux headers same as kernel, a 5.15 LTS series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Toolchain # glibc is needed for sunxi-mali-utgard package. @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y From arnout at mind.be Sun Apr 10 14:48:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:39 +0200 Subject: [Buildroot] [git commit] configs/mx6cubox: bump Linux and U-Boot versions Message-ID: <20220410144321.4D47883828@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=00a9d2d45f23b4a88bc083fe35bd9209e4c527c4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/mx6cubox_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig index 6ea4f6e416..a9cea73fbe 100644 --- a/configs/mx6cubox_defconfig +++ b/configs/mx6cubox_defconfig @@ -17,7 +17,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" BR2_TARGET_UBOOT_NEEDS_PYTHON3=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y From arnout at mind.be Sun Apr 10 14:48:37 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:37 +0200 Subject: [Buildroot] [git commit] package/hostapd: enable SAE-PK option for WPA3 Message-ID: <20220410144321.3D67E83829@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c2a2f81e01e0a877c038a642eba6a9c8e7c88c15 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This enables a new security feature "SAE Public Key". Signed-off-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/hostapd/hostapd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 99f0cdf1b8..4420142fbd 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -85,11 +85,13 @@ ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y) HOSTAPD_CONFIG_ENABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE else HOSTAPD_CONFIG_DISABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE endif From arnout at mind.be Sun Apr 10 14:48:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:35 +0200 Subject: [Buildroot] [git commit] package/spdlog: bump to version 1.10.0 Message-ID: <20220410144321.2BAA38382A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3ecac95be4e815dabbd5abf163f2917ec2770c28 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Michael Nosthoff Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/spdlog/spdlog.hash | 2 +- package/spdlog/spdlog.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/spdlog/spdlog.hash b/package/spdlog/spdlog.hash index 02756fc98c..866d1d6d02 100644 --- a/package/spdlog/spdlog.hash +++ b/package/spdlog/spdlog.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 6fff9215f5cb81760be4cc16d033526d1080427d236e86d70bb02994f85e3d38 spdlog-1.9.2.tar.gz +sha256 697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224 spdlog-1.10.0.tar.gz sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE diff --git a/package/spdlog/spdlog.mk b/package/spdlog/spdlog.mk index b5dfc0c7b4..9c5e76a9e8 100644 --- a/package/spdlog/spdlog.mk +++ b/package/spdlog/spdlog.mk @@ -4,7 +4,7 @@ # ################################################################################ -SPDLOG_VERSION = 1.9.2 +SPDLOG_VERSION = 1.10.0 SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION)) SPDLOG_LICENSE = MIT SPDLOG_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 10 14:48:33 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:33 +0200 Subject: [Buildroot] [git commit] package/libnss: bump to version 3.77 Message-ID: <20220410144321.1950083828@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b9e533d0326c340d1a5504350c93d0b071c3d70e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libnss/libnss.hash | 4 ++-- package/libnss/libnss.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash index b4b8be11f6..04e81e6b84 100644 --- a/package/libnss/libnss.hash +++ b/package/libnss/libnss.hash @@ -1,4 +1,4 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_76_RTM/src/SHA256SUMS -sha256 1b8e0310add364d2ade40620cde0f1c37f4f00a6999b2d3e7ea8dacda4aa1630 nss-3.76.tar.gz +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_77_RTM/src/SHA256SUMS +sha256 825edf5a2fd35b788a23ff80face591f82919ae3ad2b8f77d424a450d618dedd nss-3.77.tar.gz # Locally calculated sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index 2f7a265136..57df104d6c 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNSS_VERSION = 3.76 +LIBNSS_VERSION = 3.77 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src LIBNSS_DISTDIR = dist From arnout at mind.be Sun Apr 10 15:06:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:06:21 +0200 Subject: [Buildroot] [PATCH 1/2] package/webkitgtk: bump to version 2.36.0 In-Reply-To: <20220405132929.823106-1-aperez@igalia.com> References: <20220405132929.823106-1-aperez@igalia.com> Message-ID: On 05/04/2022 15:29, Adrian Perez de Castro wrote: > Update to a new major release which brings in improvements and a few new > features. Release notes: > > https://webkitgtk.org/2022/03/21/webkitgtk2.36.0-released.html > > None of the new features need additional dependencies. The build option > USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. > > While at it, remove setting the ENABLE_PLUGIN_PROCESS_GTK2 option. > Support for NPAPI plug-ins has been dropped already in 2.32.x and the > option has been a no-op for a long time, see: > > https://perezdecastro.org/2020/webkitgtk-npapi-sunsetting.html > https://webkitgtk.org/2021/03/26/webkitgtk2.32.0-released.html > > Signed-off-by: Adrian Perez de Castro Applied both to master, thanks. Regards, Arnout > --- > package/webkitgtk/webkitgtk.hash | 8 ++++---- > package/webkitgtk/webkitgtk.mk | 13 +++---------- > 2 files changed, 7 insertions(+), 14 deletions(-) > > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 82c210c8f9..38068745ee 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,7 +1,7 @@ > -# From https://webkitgtk.org/releases/webkitgtk-2.34.6.tar.xz.sums > -md5 a5eeedd02f5b4bba8bd891b92dc743d4 webkitgtk-2.34.6.tar.xz > -sha1 bb82517289baf9c858fa406d1d845274f81e25cb webkitgtk-2.34.6.tar.xz > -sha256 6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 webkitgtk-2.34.6.tar.xz > +# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums > +md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz > +sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz > +sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 36e4b8943b..8d8f083ea2 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.34.6 > +WEBKITGTK_VERSION = 2.36.0 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES > @@ -84,13 +84,6 @@ WEBKITGTK_CONF_OPTS += \ > -DENABLE_X11_TARGET=ON > WEBKITGTK_DEPENDENCIES += libgl \ > xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt > -# It can use libgtk2 for npapi plugins > -ifeq ($(BR2_PACKAGE_LIBGTK2),y) > -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON > -WEBKITGTK_DEPENDENCIES += libgtk2 > -else > -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF > -endif > else # !X11 > # GTK3-BROADWAY/WAYLAND needs at least EGL > WEBKITGTK_DEPENDENCIES += libegl > @@ -115,10 +108,10 @@ WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF > endif > > ifeq ($(BR2_INIT_SYSTEMD),y) > -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=ON > +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON > WEBKITGTK_DEPENDENCIES += systemd > else > -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=OFF > +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF > endif > > # JIT is not supported for MIPS r6, but the WebKit build system does not From arnout at mind.be Sun Apr 10 15:06:38 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:06:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.0 In-Reply-To: <20220405135111.827101-1-aperez@igalia.com> References: <20220405135111.827101-1-aperez@igalia.com> Message-ID: On 05/04/2022 15:51, Adrian Perez de Castro wrote: > Update to a new major release which brings in improvements and a few new > features. Release notes: > > https://wpewebkit.org/release/wpewebkit-2.36.0.html > > None of the new features need additional dependencies. The build option > USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. > > Signed-off-by: Adrian Perez de Castro Applied to master, thanks. Regards, Arnout > --- > package/wpewebkit/wpewebkit.hash | 8 ++++---- > package/wpewebkit/wpewebkit.mk | 6 +++--- > 2 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash > index 231bbc447d..1e1aa62117 100644 > --- a/package/wpewebkit/wpewebkit.hash > +++ b/package/wpewebkit/wpewebkit.hash > @@ -1,7 +1,7 @@ > -# From https://wpewebkit.org/releases/wpewebkit-2.34.6.tar.xz.sums > -md5 c9705270b342474cca28cf51632ccbbe wpewebkit-2.34.6.tar.xz > -sha1 44ae95de1b5ebf0a2b0ea3630b3677153c597402 wpewebkit-2.34.6.tar.xz > -sha256 301e895c8ed08ce7dccef3192b972f2ccfc2020463244c64069a636f2b05265f wpewebkit-2.34.6.tar.xz > +# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums > +md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz > +sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz > +sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk > index aa04e78623..3ce38d8c27 100644 > --- a/package/wpewebkit/wpewebkit.mk > +++ b/package/wpewebkit/wpewebkit.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WPEWEBKIT_VERSION = 2.34.6 > +WPEWEBKIT_VERSION = 2.36.0 > WPEWEBKIT_SITE = http://www.wpewebkit.org/releases > WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz > WPEWEBKIT_INSTALL_STAGING = YES > @@ -81,10 +81,10 @@ WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF > endif > > ifeq ($(BR2_INIT_SYSTEMD),y) > -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=ON > +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON > WPEWEBKIT_DEPENDENCIES += systemd > else > -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=OFF > +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF > endif > > # JIT is not supported for MIPS r6, but the WebKit build system does not From arnout at mind.be Sun Apr 10 15:07:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:07:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-libav: fix build without C++ In-Reply-To: <20220405180944.946684-1-fontaine.fabrice@gmail.com> References: <20220405180944.946684-1-fontaine.fabrice@gmail.com> Message-ID: <1c6ee9b3-d940-4d2d-470e-e294ea8e53c3@mind.be> On 05/04/2022 20:09, Fabrice Fontaine wrote: > Fix the following build failure without C++ raised since bump to version > 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: > > The following exception(s) were encountered: > Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" > > Fixes: > - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...-build-on-systems-without-C-compiler.patch | 35 +++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch > > diff --git a/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch > new file mode 100644 > index 0000000000..6b275220f8 > --- /dev/null > +++ b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch > @@ -0,0 +1,35 @@ > +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Mon, 4 Apr 2022 23:32:56 +0200 > +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler > + > +Fix the following build failure on systems without C++ compiler: > + > +The following exception(s) were encountered: > +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" > + > +Fixes: > + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a > + > +Part-of: > + > +[Retrieved (and backported) from: > +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] > +Signed-off-by: Fabrice Fontaine > +--- > + subprojects/gst-libav/meson.build | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index fbfa3049afe..7da94b80d59 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -1,4 +1,4 @@ > +-project('gst-libav', 'c', 'cpp', > ++project('gst-libav', 'c', > + version : '1.20.1', > + meson_version : '>= 0.60', > + default_options : [ 'warning_level=1', > +-- > +GitLab > + From arnout at mind.be Sun Apr 10 15:07:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:07:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ In-Reply-To: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> References: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> Message-ID: <835e1fb4-8e41-4402-fdbc-17032be4cd6d@mind.be> On 05/04/2022 21:49, Fabrice Fontaine wrote: > gst1-plugins-bad needs C++ since switch to meson-package in commit > 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: > > The following exception(s) were encountered: > Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" Again, I looked at instead fixing the meson.build so C++ is only required for the modules that really use C++, but it doesn't look to be that simple. So applied to master, thanks. Regards, Arnout > > Fixes: > - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e > > Signed-off-by: Fabrice Fontaine > --- > package/gstreamer1/gst1-imx/Config.in | 6 ++++-- > package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ > package/gstreamer1/gst1-vaapi/Config.in | 5 +++-- > 3 files changed, 11 insertions(+), 4 deletions(-) > > diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in > index 7b46233b53..41ef8548c5 100644 > --- a/package/gstreamer1/gst1-imx/Config.in > +++ b/package/gstreamer1/gst1-imx/Config.in > @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC > config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK > bool "imxv4l2videosink" > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT > + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad > select BR2_PACKAGE_GST1_PLUGINS_BAD > help > Elements for V4L2 output > > -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" > - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 > +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" > + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ > + !BR2_INSTALL_LIBSTDCPP > > endif > diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in > index 234d57636b..669360adb1 100644 > --- a/package/gstreamer1/gst1-plugins-bad/Config.in > +++ b/package/gstreamer1/gst1-plugins-bad/Config.in > @@ -1,5 +1,6 @@ > menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD > bool "gst1-plugins-bad" > + depends on BR2_INSTALL_LIBSTDCPP > select BR2_PACKAGE_GST1_PLUGINS_BASE > help > A set of plug-ins for GStreamer that may be of poor quality > @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" > || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 > > endif > + > +comment "gst1-plugins-bad needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP > diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in > index 91bd4f85dd..ade8b83a5f 100644 > --- a/package/gstreamer1/gst1-vaapi/Config.in > +++ b/package/gstreamer1/gst1-vaapi/Config.in > @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI > bool "gst1-vaapi" > depends on !BR2_STATIC_LIBS # dlopen(), libva > depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm > + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad > depends on BR2_PACKAGE_HAS_UDEV > select BR2_PACKAGE_LIBVA > select BR2_PACKAGE_LIBDRM > @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS > > endif > > -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" > +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" > depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ > - !BR2_PACKAGE_HAS_UDEV > + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 10 15:08:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:08:16 +0200 Subject: [Buildroot] [PATCH] package/harfbuzz: bump to version 4.2.0 In-Reply-To: <20220405203030.3418304-1-giulio.benetti@benettiengineering.com> References: <20220405203030.3418304-1-giulio.benetti@benettiengineering.com> Message-ID: <63ca4150-fb74-c0c8-32bb-1287e3d4a4f7@mind.be> On 05/04/2022 22:30, Giulio Benetti wrote: > Since the major release changed I've built successfully all packages that > have direct dependency to harfbuzz: > - efl > - libass > - mupdf > - pango > - qt5base > - sdl2_ttf > - supertuxkart > - vlc > - webkitgtk > - wpewebkit > > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Arnout > --- > package/harfbuzz/harfbuzz.hash | 2 +- > package/harfbuzz/harfbuzz.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash > index e4674afa87..1576824a5a 100644 > --- a/package/harfbuzz/harfbuzz.hash > +++ b/package/harfbuzz/harfbuzz.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 7158a87c4db82521fc506711f0c8864115f0292d95f7136c8812c11811cdf952 harfbuzz-3.4.0.tar.xz > +sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz > sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING > diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk > index 331b35c530..551277a788 100644 > --- a/package/harfbuzz/harfbuzz.mk > +++ b/package/harfbuzz/harfbuzz.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -HARFBUZZ_VERSION = 3.4.0 > +HARFBUZZ_VERSION = 4.2.0 > HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) > HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz > HARFBUZZ_LICENSE = MIT, ISC (ucdn library) From arnout at mind.be Sun Apr 10 14:53:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:53:47 +0200 Subject: [Buildroot] [git commit] package/webkitgtk: use the WPE renderer if available Message-ID: <20220410145854.1F87783875@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e8f0d95a0243cf413ec18903c1cf990b17b4beb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master If enabled at build time, WebKit's internal nested compositor can work more efficiently when targeting Wayland, by avoiding one unneeded buffer copy. The build option has been available for a few years in WebKitGTK releases. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/webkitgtk/webkitgtk.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 8d8f083ea2..eca175d1bd 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -28,8 +28,7 @@ WEBKITGTK_CONF_OPTS = \ -DUSE_LIBHYPHEN=OFF \ -DUSE_OPENJPEG=ON \ -DUSE_SOUP2=ON \ - -DUSE_WOFF2=ON \ - -DUSE_WPE_RENDERER=OFF + -DUSE_WOFF2=ON ifeq ($(BR2_PACKAGE_WEBKITGTK_SANDBOX),y) WEBKITGTK_CONF_OPTS += \ @@ -101,6 +100,13 @@ WEBKITGTK_CONF_OPTS += -DENABLE_WAYLAND_TARGET=ON endif endif +ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) +WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON +WEBKITGTK_DEPENDENCIES += wpebackend-fdo +else +WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=OFF +endif + ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y) WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON else From arnout at mind.be Sun Apr 10 14:53:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:53:46 +0200 Subject: [Buildroot] [git commit] package/webkitgtk: bump to version 2.36.0 Message-ID: <20220410145854.0D64E83874@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d9ac22b7e2565ec678b244701b92009701856583 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update to a new major release which brings in improvements and a few new features. Release notes: https://webkitgtk.org/2022/03/21/webkitgtk2.36.0-released.html None of the new features need additional dependencies. The build option USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. While at it, remove setting the ENABLE_PLUGIN_PROCESS_GTK2 option. Support for NPAPI plug-ins has been dropped already in 2.32.x and the option has been a no-op for a long time, see: https://perezdecastro.org/2020/webkitgtk-npapi-sunsetting.html https://webkitgtk.org/2021/03/26/webkitgtk2.32.0-released.html Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/webkitgtk/webkitgtk.hash | 8 ++++---- package/webkitgtk/webkitgtk.mk | 13 +++---------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 82c210c8f9..38068745ee 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.34.6.tar.xz.sums -md5 a5eeedd02f5b4bba8bd891b92dc743d4 webkitgtk-2.34.6.tar.xz -sha1 bb82517289baf9c858fa406d1d845274f81e25cb webkitgtk-2.34.6.tar.xz -sha256 6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 webkitgtk-2.34.6.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums +md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz +sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz +sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 36e4b8943b..8d8f083ea2 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.34.6 +WEBKITGTK_VERSION = 2.36.0 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES @@ -84,13 +84,6 @@ WEBKITGTK_CONF_OPTS += \ -DENABLE_X11_TARGET=ON WEBKITGTK_DEPENDENCIES += libgl \ xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt -# It can use libgtk2 for npapi plugins -ifeq ($(BR2_PACKAGE_LIBGTK2),y) -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON -WEBKITGTK_DEPENDENCIES += libgtk2 -else -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF -endif else # !X11 # GTK3-BROADWAY/WAYLAND needs at least EGL WEBKITGTK_DEPENDENCIES += libegl @@ -115,10 +108,10 @@ WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF endif ifeq ($(BR2_INIT_SYSTEMD),y) -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=ON +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON WEBKITGTK_DEPENDENCIES += systemd else -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=OFF +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif # JIT is not supported for MIPS r6, but the WebKit build system does not From arnout at mind.be Sun Apr 10 14:53:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:53:48 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gst1-libav: fix build without C++ Message-ID: <20220410145854.3A9D083875@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=80a9e9057daf587242548aa23f8cd7a8d88bfa1f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without C++ raised since bump to version 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: The following exception(s) were encountered: Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...v-fix-build-on-systems-without-C-compiler.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..6b275220f8 --- /dev/null +++ b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 4 Apr 2022 23:32:56 +0200 +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-libav/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index fbfa3049afe..7da94b80d59 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-libav', 'c', 'cpp', ++project('gst-libav', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + From arnout at mind.be Sun Apr 10 15:04:31 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 17:04:31 +0200 Subject: [Buildroot] [git commit] package/harfbuzz: bump to version 4.2.0 Message-ID: <20220410145854.517E883874@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d485482b697f6af7ce4c33a33408c9ac82f9423d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Since the major release changed I've built successfully all packages that have direct dependency to harfbuzz: - efl - libass - mupdf - pango - qt5base - sdl2_ttf - supertuxkart - vlc - webkitgtk - wpewebkit Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash index e4674afa87..1576824a5a 100644 --- a/package/harfbuzz/harfbuzz.hash +++ b/package/harfbuzz/harfbuzz.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 7158a87c4db82521fc506711f0c8864115f0292d95f7136c8812c11811cdf952 harfbuzz-3.4.0.tar.xz +sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 331b35c530..551277a788 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 3.4.0 +HARFBUZZ_VERSION = 4.2.0 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library) From arnout at mind.be Sun Apr 10 14:53:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:53:48 +0200 Subject: [Buildroot] [git commit] package/wpewebkit: bump to version 2.36.0 Message-ID: <20220410145854.2AF2183874@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7d258f81cd95cf34888565504e6f82717e5e3407 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update to a new major release which brings in improvements and a few new features. Release notes: https://wpewebkit.org/release/wpewebkit-2.36.0.html None of the new features need additional dependencies. The build option USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpewebkit/wpewebkit.hash | 8 ++++---- package/wpewebkit/wpewebkit.mk | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash index 231bbc447d..1e1aa62117 100644 --- a/package/wpewebkit/wpewebkit.hash +++ b/package/wpewebkit/wpewebkit.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.34.6.tar.xz.sums -md5 c9705270b342474cca28cf51632ccbbe wpewebkit-2.34.6.tar.xz -sha1 44ae95de1b5ebf0a2b0ea3630b3677153c597402 wpewebkit-2.34.6.tar.xz -sha256 301e895c8ed08ce7dccef3192b972f2ccfc2020463244c64069a636f2b05265f wpewebkit-2.34.6.tar.xz +# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums +md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz +sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz +sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index aa04e78623..3ce38d8c27 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEWEBKIT_VERSION = 2.34.6 +WPEWEBKIT_VERSION = 2.36.0 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz WPEWEBKIT_INSTALL_STAGING = YES @@ -81,10 +81,10 @@ WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF endif ifeq ($(BR2_INIT_SYSTEMD),y) -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=ON +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON WPEWEBKIT_DEPENDENCIES += systemd else -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=OFF +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif # JIT is not supported for MIPS r6, but the WebKit build system does not From arnout at mind.be Sun Apr 10 15:02:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 17:02:48 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gst1-plugins-bad: needs C++ Message-ID: <20220410145854.45BA283874@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=129922140ed7ed03458398b5ec3bad1423f7e6cf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master gst1-plugins-bad needs C++ since switch to meson-package in commit 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" Rewriting the meson.build so it only requires C++ for the modules that are actually written in C++ is quite complicated, so just let the whole package depend on C++. Hopefully however this is going to be fixed in some future release. Therefore, the dependencies for individual modules are kept as well (even though they're redundant now). Fixes: - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gstreamer1/gst1-imx/Config.in | 6 ++++-- package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ package/gstreamer1/gst1-vaapi/Config.in | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in index 7b46233b53..41ef8548c5 100644 --- a/package/gstreamer1/gst1-imx/Config.in +++ b/package/gstreamer1/gst1-imx/Config.in @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK bool "imxv4l2videosink" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad select BR2_PACKAGE_GST1_PLUGINS_BAD help Elements for V4L2 output -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ + !BR2_INSTALL_LIBSTDCPP endif diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 234d57636b..669360adb1 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -1,5 +1,6 @@ menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD bool "gst1-plugins-bad" + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_GST1_PLUGINS_BASE help A set of plug-ins for GStreamer that may be of poor quality @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 endif + +comment "gst1-plugins-bad needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in index 91bd4f85dd..ade8b83a5f 100644 --- a/package/gstreamer1/gst1-vaapi/Config.in +++ b/package/gstreamer1/gst1-vaapi/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI bool "gst1-vaapi" depends on !BR2_STATIC_LIBS # dlopen(), libva depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBVA select BR2_PACKAGE_LIBDRM @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS endif -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_PACKAGE_HAS_UDEV + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Sun Apr 10 15:33:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:33:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/libp11: fix build with libressl In-Reply-To: <20220404162248.325842-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 18:22:48 +0200") References: <20220404162248.325842-1-fontaine.fabrice@gmail.com> Message-ID: <87h771q7fs.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration > 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) > | ^~~~~~~~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:34:47 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:34:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/ace: fix build with libressl In-Reply-To: <20220404162545.326240-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 18:25:45 +0200") References: <20220404162545.326240-1-fontaine.fabrice@gmail.com> Message-ID: <87czhpq7e0.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl raised since the addition > of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: > /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: > error: 'BIO_get_init' was not declared in this scope; did you mean > 'BIO_set_init'? > 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) > | ^~~~~~~~~~~~ > | BIO_set_init > Fixes: > - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:35:29 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:35:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcoap: fix build with libressl In-Reply-To: <20220404163320.337038-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 18:33:20 +0200") References: <20220404163320.337038-1-fontaine.fabrice@gmail.com> Message-ID: <878rsdq7cu.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl raised since commit > 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: > src/coap_openssl.c:107:3: erreur: nom de type ??BIO_ADDR?? inconnu > 107 | BIO_ADDR *bio_addr; > | ^~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:36:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: needs NPTL In-Reply-To: <20220404165220.338388-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 18:52:20 +0200") References: <20220404165220.338388-1-fontaine.fabrice@gmail.com> Message-ID: <874k31q7bd.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure raised since bump to version 0.3.26 in > commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and > https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de > thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' > Fixes: > - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:37:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:37:22 +0200 Subject: [Buildroot] [PATCH 1/2] package/docker-cli: bump to version v20.10.14 In-Reply-To: <87czhvwirr.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Tue, 05 Apr 2022 19:18:48 +0200") References: <20220404214717.587193-1-christian@paral.in> <87czhvwirr.fsf@dell.be.48ers.dk> Message-ID: <87zgktosp9.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Christian" == Christian Stewart writes: >> https://github.com/moby/moby/releases/tag/v20.10.14 >> Signed-off-by: Christian Stewart > Committed, thanks. Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:37:27 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:37:27 +0200 Subject: [Buildroot] [PATCH 2/2] package/docker-engine: bump to version v20.10.14 In-Reply-To: <878rsjwirn.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Tue, 05 Apr 2022 19:18:52 +0200") References: <20220404214717.587193-1-christian@paral.in> <20220404214717.587193-2-christian@paral.in> <878rsjwirn.fsf@dell.be.48ers.dk> Message-ID: <87v8vhosp4.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Christian" == Christian Stewart writes: >> https://github.com/moby/moby/releases/tag/v20.10.14 >> Signed-off-by: Christian Stewart > Committed, thanks. Committed to 2022.02.x, thanks. > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:37:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:37:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/runc: bump to version v1.1.1 In-Reply-To: <874k37wipw.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Tue, 05 Apr 2022 19:19:55 +0200") References: <20220404215930.601909-1-christian@paral.in> <874k37wipw.fsf@dell.be.48ers.dk> Message-ID: <87r165osor.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Christian" == Christian Stewart writes: >> Signed-off-by: Christian Stewart > Committed after adding a notice that this is a bugfix release (and hence > should be backported tot 2022.02.x), thanks. Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:38:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:38:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/containerd: bump to version v1.6.2 In-Reply-To: <87zgkzv3se.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Tue, 05 Apr 2022 19:27:45 +0200") References: <20220404221451.610628-1-christian@paral.in> <87zgkzv3se.fsf@dell.be.48ers.dk> Message-ID: <87mtgtoso4.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Christian" == Christian Stewart writes: >> Note: this version adds compatibility for Go 1.18. >> Signed-off-by: Christian Stewart > This fixes CVE-2022-23648 and CVE-2022-24769, so it should be listed as > a security bump. > The 1.5.x series is still supported so I instead bumped to 1.5.11 for > easier backporting to 2022.02.x Committed to 2022.02.x (the 1.5.11 bump), thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:34:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:34:19 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/ace: bump to version 7.0.6 Message-ID: <20220410152900.88768836D1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=92da1d43290f88f8067580b985b44531a984f6a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 539d915e44ae3b9a826966f106a3cfb3ced1801e) Signed-off-by: Peter Korsgaard --- package/ace/ace.hash | 5 ++++- package/ace/ace.mk | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package/ace/ace.hash b/package/ace/ace.hash index 92fd42e131..2387927879 100644 --- a/package/ace/ace.hash +++ b/package/ace/ace.hash @@ -1,3 +1,6 @@ +# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.0.6.tar.bz2.md5: +md5 d1656851619aff15365270ccf2d56c6e ACE-7.0.6.tar.bz2 + # Locally Computed: -sha256 a28339750620c70cd29a8a7088a4bc6ebaf1ff7ba667498a0279ac97f0e32e01 ACE-7.0.1.tar.gz +sha256 4a0cd7da4851f769fddfcf33f663eba4afad824efeff9f59f134c4640ee80216 ACE-7.0.6.tar.bz2 sha256 687bf9d16119e0caf6fb5c18214928fd6ea0da10df91e906255b7613af8061d8 COPYING diff --git a/package/ace/ace.mk b/package/ace/ace.mk index 8df89d8c6f..7299f0d40c 100644 --- a/package/ace/ace.mk +++ b/package/ace/ace.mk @@ -4,8 +4,8 @@ # ################################################################################ -ACE_VERSION = 7.0.1 -ACE_SOURCE = ACE-$(ACE_VERSION).tar.gz +ACE_VERSION = 7.0.6 +ACE_SOURCE = ACE-$(ACE_VERSION).tar.bz2 ACE_SITE = http://download.dre.vanderbilt.edu/previous_versions ACE_LICENSE = DOC ACE_LICENSE_FILES = COPYING From peter at korsgaard.com Sun Apr 10 15:36:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:43 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/docker-cli: bump to version v20.10.14 Message-ID: <20220410152900.B4B528388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b545fc33da3cd42aa41fd3b02b263d68c8ce9d0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard (cherry picked from commit 8111f5c27ca4757786b2f5faf30f7d96881314e6) Signed-off-by: Peter Korsgaard --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index f2fe316540..9a07acf89f 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d86e3e6e10669634ee02b5e071e5ee504457a9d03941bbc5b7f2bd3683ebdb19 docker-cli-20.10.12.tar.gz +sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index d5cca34efc..c7458f85dd 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.12 +DOCKER_CLI_VERSION = 20.10.14 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From peter at korsgaard.com Sun Apr 10 15:35:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:35:59 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/pipewire: needs NPTL Message-ID: <20220410152900.A4EEB8388E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e05dbffa0770353fb32f44ec7b045258a9e1bfac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure raised since bump to version 0.3.26 in commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit f54b5a64f2f51c7e30b291dfa177f855bd88d6f2) Signed-off-by: Peter Korsgaard --- package/pipewire/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index dd13f31a73..3bfcf42a81 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PIPEWIRE bool "pipewire" depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime @@ -46,7 +46,8 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + depends on BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 From peter at korsgaard.com Sun Apr 10 15:32:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:32:50 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libp11: fix build with libressl Message-ID: <20220410152900.7C49D8388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=97fcc6ef0e07337dd419128663f4c0e95d1150ee branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl: p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) | ^~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 581d397ec0c437aac06a9eaeca01de4ed9249faf) Signed-off-by: Peter Korsgaard --- package/libp11/0001-Update-wp11_rsa.c.patch | 26 ++++++++++++++++++++++++++ package/libp11/libp11.mk | 8 +++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/package/libp11/0001-Update-wp11_rsa.c.patch b/package/libp11/0001-Update-wp11_rsa.c.patch new file mode 100644 index 0000000000..0a2d6e65ce --- /dev/null +++ b/package/libp11/0001-Update-wp11_rsa.c.patch @@ -0,0 +1,26 @@ +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 +From: patchMonkey156 +Date: Mon, 19 Oct 2020 17:12:15 -0400 +Subject: [PATCH] Update p11_rsa.c + +Bugfix for new LibreSSL version 3.2.2 +[Retrieved from: +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] +Signed-off-by: Fabrice Fontaine +--- + src/p11_rsa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/p11_rsa.c b/src/p11_rsa.c +index b6beef0..ff12ed7 100644 +--- a/src/p11_rsa.c ++++ b/src/p11_rsa.c +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) + return RSA_size(rsa); + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) + + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) + (int flen, const unsigned char *from, diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk index 45a718ee99..c1873a920c 100644 --- a/package/libp11/libp11.mk +++ b/package/libp11/libp11.mk @@ -11,10 +11,16 @@ LIBP11_INSTALL_STAGING = YES LIBP11_LICENSE = LGPL-2.1+ LIBP11_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBP11_ENGINESDIR = enginesdir +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) +LIBP11_ENGINESDIR = libdir +endif + # pkg-config returns a libcrypto enginesdir prefixed with the sysroot, # so let's rip it out. LIBP11_CONF_OPTS = \ - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` ifeq ($(BR2_PACKAGE_P11_KIT),y) LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so From peter at korsgaard.com Sun Apr 10 15:37:07 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:37:07 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/containerd: security bump to version 1.5.11 Message-ID: <20220410152900.D1E8B8388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=389fc65931fb296c2779cf7486e4a3000ba53cb9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes the following security issues: - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 - CVE-2022-24769: Default inheritable capabilities for linux container should be empty https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c Signed-off-by: Peter Korsgaard (cherry picked from commit 2642edb0af08f04fb98f4cb5f88895faded4b325) Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5aafe2e70..23dacded88 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz +sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 8976e12f1a..c405b75e81 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.9 +CONTAINERD_VERSION = 1.5.11 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From peter at korsgaard.com Sun Apr 10 15:36:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:06 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/opus: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220410152900.ACD3783893@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2134fee900e0644895144cb19aa84c0dacd2b328 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes: http://autobuild.buildroot.net/results/194/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6/ opus requires that it is configured with --enable-float-approx when -ffast-math (BR2_OPTIMIZE_FAST) is used, otherwise it errors out at build time: celt/arch.h:198:2: error: #error Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input Signed-off-by: Peter Korsgaard (cherry picked from commit 43e859d47a5474d8acdaf81a0ea63aa9a909985f) Signed-off-by: Peter Korsgaard --- package/opus/opus.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/opus/opus.mk b/package/opus/opus.mk index 4f816df477..2fa929c7df 100644 --- a/package/opus/opus.mk +++ b/package/opus/opus.mk @@ -23,6 +23,10 @@ ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y) OPUS_CONF_OPTS += --enable-fixed-point endif +ifeq ($(BR2_OPTIMIZE_FAST),y) +OPUS_CONF_OPTS += --enable-float-approx +endif + # When we're on ARM, but we don't have ARM instructions (only # Thumb-2), disable the usage of assembly as it is not Thumb-ready. ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) From peter at korsgaard.com Sun Apr 10 15:34:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:34:32 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/ace: fix build with libressl Message-ID: <20220410152900.92EBD83893@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=195e1f1383808571aae7541e76419cdaab32e853 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl raised since the addition of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) | ^~~~~~~~~~~~ | BIO_set_init Fixes: - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 7da45d9b635d93cc7c0339796462a8e401407402) Signed-off-by: Peter Korsgaard --- ...-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch new file mode 100644 index 0000000000..ad82c10172 --- /dev/null +++ b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch @@ -0,0 +1,52 @@ +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 15:25:49 +0200 +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl + +Fix the following build failure with libressl: + +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) + | ^~~~~~~~~~~~ + | BIO_set_init + +Fixes: + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] +--- + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp +index a657d8a14e6f7..64aa14c6ab9a7 100644 +--- a/ace/SSL/SSL_Asynch_BIO.cpp ++++ b/ace/SSL/SSL_Asynch_BIO.cpp +@@ -41,7 +41,7 @@ extern "C" + + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static BIO_METHOD methods_ACE = + { + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = + #else + static BIO_METHOD* methods_ACE; + # define BIO_set_num(b, val) +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ + + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + + BIO * + ACE_SSL_make_BIO (void * ssl_asynch_stream) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + BIO * const pBIO = BIO_new (&methods_ACE); + #else + if (!methods_ACE) From peter at korsgaard.com Sun Apr 10 15:36:47 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:47 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/docker-engine: bump to version v20.10.14 Message-ID: <20220410152900.BD1CF8388E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f7706bb9ee1d8dc59148cddcc69c92a3a264eb23 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard (cherry picked from commit db9707d0c06939a573d5da26423fac6e5aaa65ea) Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index ec3a242629..d4fe83a806 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a8ee80d31c7b74f687a837cd2a8570578f118179fba0844c5ee88f90fe180155 docker-engine-20.10.12.tar.gz +sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 2a1239b676..3aef31599f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.12 +DOCKER_ENGINE_VERSION = 20.10.14 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From peter at korsgaard.com Sun Apr 10 15:35:16 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:35:16 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libcoap: doesn't build with libressl Message-ID: <20220410152900.9BB148388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e0121e94771e264c21ec1ea2dac908f79ee2af6c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl raised since commit 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: src/coap_openssl.c:107:3: erreur: nom de type ????BIO_ADDR???? inconnu 107 | BIO_ADDR *bio_addr; | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 0796c878f4c9ad786a6c4c4716e4239fa070cd73) Signed-off-by: Peter Korsgaard --- package/libcoap/libcoap.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk index 8a85ff3a2e..edcc1bbef8 100644 --- a/package/libcoap/libcoap.mk +++ b/package/libcoap/libcoap.mk @@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y) LIBCOAP_DEPENDENCIES += gnutls LIBCOAP_CONF_OPTS += \ --enable-dtls --with-gnutls --without-mbedtls --without-openssl -else ifeq ($(BR2_PACKAGE_OPENSSL),y) +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBCOAP_DEPENDENCIES += openssl LIBCOAP_CONF_OPTS += \ --enable-dtls --without-gnutls --without-mbedtls --with-openssl From peter at korsgaard.com Sun Apr 10 15:36:52 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:52 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/runc: bump to version v1.1.1 Message-ID: <20220410152900.C61A78388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a2876878c4f26ddd5c9f8303ddb91bd5358ab9df branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Bugfix release, fixing a number of issues: https://github.com/opencontainers/runc/releases/tag/v1.1.1 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard (cherry picked from commit 91c056f0d598ed0d5b94ec4d4cebb9bd203efb50) Signed-off-by: Peter Korsgaard --- package/runc/runc.hash | 2 +- package/runc/runc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/runc/runc.hash b/package/runc/runc.hash index 38d9f52510..fe3c4cc488 100644 --- a/package/runc/runc.hash +++ b/package/runc/runc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a8de57edbf0ff741ea798ccdd99ac0e1b79914f552871bd7cd92b0569f200964 runc-1.1.0.tar.gz +sha256 11a34535c108b36fd59de58e7bef3a130444c9ea41e4b8bb8f8d4654c8ad654c runc-1.1.1.tar.gz sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE diff --git a/package/runc/runc.mk b/package/runc/runc.mk index a40075544e..2618b71f63 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUNC_VERSION = 1.1.0 +RUNC_VERSION = 1.1.1 RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0, LGPL-2.1 (libseccomp) RUNC_LICENSE_FILES = LICENSE From fontaine.fabrice at gmail.com Sun Apr 10 15:43:29 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 17:43:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/trousers: fix build with libressl >= 2.7.0 Message-ID: <20220410154329.294878-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl >= 2.7.0: crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 Signed-off-by: Fabrice Fontaine --- .../0003-Fix-build-with-LibreSSL-2-7.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch diff --git a/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch new file mode 100644 index 0000000000..65da979f22 --- /dev/null +++ b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch @@ -0,0 +1,24 @@ +Fix build with LibreSSL 2.7 + +LibreSSL 2.7 implemented OpenSSL 1.1 API + +See also: https://reviews.freebsd.org/D14849#change-KhYbRXBMIBod + +Cheers, +Bernard Spil (brnrd at FreeBSD.org) + +[Retrieved (and backported) from: +https://sourceforge.net/p/trousers/bugs/234] +Signed-off-by: Fabrice Fontaine + +--- ./src/trspi/crypto/openssl/rsa.c.orig 2016-11-23 12:26:19 UTC ++++ ./src/trspi/crypto/openssl/rsa.c +@@ -38,7 +38,7 @@ + #define DEBUG_print_openssl_errors() + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + static int + RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { -- 2.35.1 From peter at korsgaard.com Sun Apr 10 17:02:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 19:02:12 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <20220329205136.32435-1-vincent.stehle@laposte.net> ("Vincent =?utf-8?Q?Stehl=C3=A9?= via buildroot"'s message of "Tue, 29 Mar 2022 22:51:36 +0200") References: <20220329205136.32435-1-vincent.stehle@laposte.net> Message-ID: <87fsmkq3cb.fsf@dell.be.48ers.dk> >>>>> "Vincent" == Vincent Stehl? via buildroot writes: > Update the qemu_xtensa_lx60_nommu_defconfig to use the > busybox-minimal.config, to make it more consistent with the other no-MMU > defconfigs. > After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal > config"), this has the benefit of fixing the following network > initialization failure: > udhcpc: invalid option -- b > Signed-off-by: Vincent Stehl? > Cc: Romain Naour > Cc: Gerome Burlats Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 17:00:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 19:00:13 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] configs/qemu_xtensa_lx60_nommu: use busybox minimal config Message-ID: <20220410165242.B415983897@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e0819662eab8db5f2fdc4999011945d840df7081 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Update the qemu_xtensa_lx60_nommu_defconfig to use the busybox-minimal.config. After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal config"), this has the benefit of fixing the following network initialization failure: udhcpc: invalid option -- b With the full busybox config, the -b option would still be passed and udhcpc would fail to start for the reason above. Note that on NOMMU, udhcpc backgrounds unconditionally (unless the -f option is given), so it still behaves properly. The -b option in fact only backgrounds after the lease is obtained; on NOMMU, backgrounding is done before the lease is even requested. So the behaviour is more or less the same, except that on MMU systems, networking can be considered either up or not available after S20network, but on NOMMU there is no such guarantee. Signed-off-by: Vincent Stehl?? Cc: Romain Naour Cc: Gerome Burlats Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 8f3cfe41961d83a9c01630f241bf045e3aa59b40) Signed-off-by: Peter Korsgaard --- configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig index c4473fb32a..44fb81bd74 100644 --- a/configs/qemu_xtensa_lx60_nommu_defconfig +++ b/configs/qemu_xtensa_lx60_nommu_defconfig @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ BR2_PACKAGE_HOST_ELF2FLT=y # BR2_USE_MMU is not set +# Use minimal busybox with hush and networking tools +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + # System BR2_SYSTEM_DHCP="eth0" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From fontaine.fabrice at gmail.com Sun Apr 10 17:24:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 19:24:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/belr: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220410172403.590419-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_SHARED_STATIC_LIBS: CMake Error at src/CMakeLists.txt:56 (add_library): add_library cannot create target "belr" because another target with the same name already exists. The existing target is a static library created in source directory Fixes: - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb Signed-off-by: Fabrice Fontaine --- package/belr/belr.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/belr/belr.mk b/package/belr/belr.mk index f243830a85..1a849328ec 100644 --- a/package/belr/belr.mk +++ b/package/belr/belr.mk @@ -18,7 +18,7 @@ BELR_CONF_OPTS = \ ifeq ($(BR2_STATIC_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON +BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF else ifeq ($(BR2_SHARED_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF endif -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 10 17:32:59 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 19:32:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/haproxy: security bump to version 2.4.15 Message-ID: <20220410173259.604817-1-fontaine.fabrice@gmail.com> Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP responses containing the "Set-Cookie2" header. This flaw could allow an attacker to send crafted HTTP response packets which lead to an infinite loop, eventually resulting in a denial of service condition. The highest threat from this vulnerability is availability. https://www.mail-archive.com/haproxy at formilux.org/msg41963.html https://www.mail-archive.com/haproxy at formilux.org/msg41873.html Signed-off-by: Fabrice Fontaine --- package/haproxy/haproxy.hash | 4 ++-- package/haproxy/haproxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/haproxy/haproxy.hash b/package/haproxy/haproxy.hash index e3120b521f..18834c29b1 100644 --- a/package/haproxy/haproxy.hash +++ b/package/haproxy/haproxy.hash @@ -1,5 +1,5 @@ -# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.13.tar.gz.sha256 -sha256 4788fe975fe7e521746f826c25e80bc95cd15983e2bafa33e43bff23a3fe5ba1 haproxy-2.4.13.tar.gz +# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.15.tar.gz.sha256 +sha256 3958b17b7ee80eb79712aaf24f0d83e753683104b36e282a8b3dcd2418e30082 haproxy-2.4.15.tar.gz # Locally computed: sha256 0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28 LICENSE sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a doc/lgpl.txt diff --git a/package/haproxy/haproxy.mk b/package/haproxy/haproxy.mk index c162a4c3f4..d50821d8c9 100644 --- a/package/haproxy/haproxy.mk +++ b/package/haproxy/haproxy.mk @@ -5,7 +5,7 @@ ################################################################################ HAPROXY_VERSION_MAJOR = 2.4 -HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).13 +HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).15 HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 10 17:39:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 19:39:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4732 Message-ID: <20220410173903.624901-1-fontaine.fabrice@gmail.com> Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646. Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647. Signed-off-by: Fabrice Fontaine --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d2c91dcfa5..d55b1ea355 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 acca7330e41d01b53d4455ff98fafbf13282ba6461cd92eb1188836f6b03ec0f vim-8.2.4632.tar.gz +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 71aa735eff..4eb659fd6e 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4632 +VIM_VERSION = 8.2.4732 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src -- 2.35.1 From peter at korsgaard.com Sun Apr 10 19:54:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:54:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: needs C++ In-Reply-To: <20220404203135.340172-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 22:31:35 +0200") References: <20220404203135.340172-1-fontaine.fabrice@gmail.com> Message-ID: <87mtgsogsm.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > python-ujson needs C++ since bump to version 4.1.0 in commit > a47f332a20bf3f79ef4903c8ddd2b7917217e354 and > https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: > powerpc-buildroot-linux-gnu-gcc.br_real: error: > ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ > compiler not installed on this system > Fixes: > - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 19:56:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:56:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/trace-cmd: needs NPTL In-Reply-To: <20220404205015.341053-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 22:50:15 +0200") References: <20220404205015.341053-1-fontaine.fabrice@gmail.com> Message-ID: <87ilrgogq1.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > trace-cmd needs NPTL since bump to version 2.9.1 in commit > 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: > /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: > /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): > in function `tracecmd_tsync_with_host': > trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' > Fixes: > - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 19:57:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:57:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/libest: fix build with libressl In-Reply-To: <20220404211941.721192-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 23:19:41 +0200") References: <20220404211941.721192-1-fontaine.fabrice@gmail.com> Message-ID: <87ee24ogo6.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl raised since the addition > of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: > In file included from est.c:28: > est.h:27:10: fatal error: openssl/srp.h: No such file or directory > 27 | #include > | ^~~~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 19:58:30 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:58:30 +0200 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set In-Reply-To: <20220405012059.2680327-1-james.hilliard1@gmail.com> (James Hilliard's message of "Mon, 4 Apr 2022 19:20:59 -0600") References: <20220405012059.2680327-1-james.hilliard1@gmail.com> Message-ID: <877d7wogm1.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when > required. > Fixes: > http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 19:54:16 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:54:16 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-ujson: needs C++ Message-ID: <20220410194900.4C741838C2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3d399c990533f87f6e39cb33715f5cdbffbf25b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x python-ujson needs C++ since bump to version 4.1.0 in commit a47f332a20bf3f79ef4903c8ddd2b7917217e354 and https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: powerpc-buildroot-linux-gnu-gcc.br_real: error: ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 9f83216ff1f86c625023bee3037773997fc2987d) Signed-off-by: Peter Korsgaard --- package/python-ujson/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in index 81d1bc457c..7af03e6497 100644 --- a/package/python-ujson/Config.in +++ b/package/python-ujson/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_PYTHON_UJSON bool "python-ujson" + depends on BR2_INSTALL_LIBSTDCPP help UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3. https://pypi.python.org/pypi/ujson + +comment "python-ujson needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Sun Apr 10 19:55:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:55:43 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/trace-cmd: needs NPTL Message-ID: <20220410194900.57634838C4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=15c6374a56691addbf718078143a7ff16ecf3e23 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x trace-cmd needs NPTL since bump to version 2.9.1 in commit 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): in function `tracecmd_tsync_with_host': trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' Fixes: - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit df3cc4bb1c91114d29e48d8bc8206adcc35e9b9c) Signed-off-by: Peter Korsgaard --- package/trace-cmd/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 574541c571..2d0accd7ae 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TRACE_CMD bool "trace-cmd" - depends on BR2_TOOLCHAIN_HAS_THREADS + # pthread_setaffinity_np + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() help @@ -13,6 +14,6 @@ config BR2_PACKAGE_TRACE_CMD http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git -comment "trace-cmd needs a toolchain w/ threads, dynamic library" +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From peter at korsgaard.com Sun Apr 10 19:57:07 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:57:07 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libest: doesn't support libressl Message-ID: <20220410194900.60D32838C5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7fb40b1468867d158b7aa497abaad5592f267c5c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl raised since the addition of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: In file included from est.c:28: est.h:27:10: fatal error: openssl/srp.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit c4872446c8c5cd34b2f8e0ed66932cb3ba62556a) Signed-off-by: Peter Korsgaard --- package/libest/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libest/Config.in b/package/libest/Config.in index d8271ad69e..6abe9d2848 100644 --- a/package/libest/Config.in +++ b/package/libest/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBEST depends on !BR2_STATIC_LIBS # libexecinfo or glibc select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help libest is a C implementation of RFC 7030 (Enrollment over Secure Transport). From peter at korsgaard.com Sun Apr 10 20:01:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:01:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-libav: fix build without C++ In-Reply-To: <20220405180944.946684-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 5 Apr 2022 20:09:44 +0200") References: <20220405180944.946684-1-fontaine.fabrice@gmail.com> Message-ID: <8735ikogh6.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure without C++ raised since bump to version > 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: > The following exception(s) were encountered: > Running > "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ > --version" gave "[Errno 2] No such file or directory: > '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" > Fixes: > - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:02:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:02:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ In-Reply-To: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 5 Apr 2022 21:49:16 +0200") References: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> Message-ID: <87y20cn1v5.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > gst1-plugins-bad needs C++ since switch to meson-package in commit > 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: > The following exception(s) were encountered: > Running > "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ > --version" gave "[Errno 2] No such file or directory: > '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" > Fixes: > - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:00:54 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:00:54 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/gstreamer1/gst1-libav: fix build without C++ Message-ID: <20220410195315.AF02C838CE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dadf1635779577d23a7d6b0b754605febc8beafc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure without C++ raised since bump to version 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: The following exception(s) were encountered: Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 80a9e9057daf587242548aa23f8cd7a8d88bfa1f) Signed-off-by: Peter Korsgaard --- ...v-fix-build-on-systems-without-C-compiler.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..6b275220f8 --- /dev/null +++ b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 4 Apr 2022 23:32:56 +0200 +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-libav/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index fbfa3049afe..7da94b80d59 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-libav', 'c', 'cpp', ++project('gst-libav', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + From peter at korsgaard.com Sun Apr 10 20:02:15 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:02:15 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/gstreamer1/gst1-plugins-bad: needs C++ Message-ID: <20220410195315.BAA43838D3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1e0fb274cde401417fbade86add3651da1eab1c8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x gst1-plugins-bad needs C++ since switch to meson-package in commit 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" Rewriting the meson.build so it only requires C++ for the modules that are actually written in C++ is quite complicated, so just let the whole package depend on C++. Hopefully however this is going to be fixed in some future release. Therefore, the dependencies for individual modules are kept as well (even though they're redundant now). Fixes: - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 129922140ed7ed03458398b5ec3bad1423f7e6cf) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-imx/Config.in | 6 ++++-- package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ package/gstreamer1/gst1-vaapi/Config.in | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in index 7b46233b53..41ef8548c5 100644 --- a/package/gstreamer1/gst1-imx/Config.in +++ b/package/gstreamer1/gst1-imx/Config.in @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK bool "imxv4l2videosink" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad select BR2_PACKAGE_GST1_PLUGINS_BAD help Elements for V4L2 output -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ + !BR2_INSTALL_LIBSTDCPP endif diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 234d57636b..669360adb1 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -1,5 +1,6 @@ menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD bool "gst1-plugins-bad" + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_GST1_PLUGINS_BASE help A set of plug-ins for GStreamer that may be of poor quality @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 endif + +comment "gst1-plugins-bad needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in index 91bd4f85dd..ade8b83a5f 100644 --- a/package/gstreamer1/gst1-vaapi/Config.in +++ b/package/gstreamer1/gst1-vaapi/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI bool "gst1-vaapi" depends on !BR2_STATIC_LIBS # dlopen(), libva depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBVA select BR2_PACKAGE_LIBDRM @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS endif -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_PACKAGE_HAS_UDEV + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP From fontaine.fabrice at gmail.com Sun Apr 10 20:02:09 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 22:02:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: fix BR2_OPTIMIZE_FAST build Message-ID: <20220410200209.865391-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_OPTIMIZE_FAST: In file included from crypto/async/arch/../async_local.h:30, from crypto/async/arch/async_null.c:11: crypto/async/arch/../arch/async_posix.h:32:5: error: unknown type name 'ucontext_t' 32 | ucontext_t fibre; | ^~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/3ce202f11a821940ff55eafa1dc7cea54b8c0da2 Signed-off-by: Fabrice Fontaine --- package/libopenssl/libopenssl.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index a22f2714f2..824b10bbb6 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -63,7 +63,7 @@ define HOST_LIBOPENSSL_CONFIGURE_CMDS shared \ zlib-dynamic \ ) - $(SED) "s#-O[0-9sg]#$(HOST_CFLAGS)#" $(@D)/Makefile + $(SED) "s#-O[0-9sg]\|-Ofast#$(HOST_CFLAGS)#" $(@D)/Makefile endef define LIBOPENSSL_CONFIGURE_CMDS @@ -111,7 +111,7 @@ define LIBOPENSSL_CONFIGURE_CMDS $(if $(BR2_STATIC_LIBS),no-dso) \ ) $(SED) "s#-march=[-a-z0-9] ##" -e "s#-mcpu=[-a-z0-9] ##g" $(@D)/Makefile - $(SED) "s#-O[0-9sg]#$(LIBOPENSSL_CFLAGS)#" $(@D)/Makefile + $(SED) "s#-O[0-9sg]\|-Ofast#$(LIBOPENSSL_CFLAGS)#" $(@D)/Makefile $(SED) "s# build_tests##" $(@D)/Makefile endef -- 2.35.1 From peter at korsgaard.com Sun Apr 10 20:04:34 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:04:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/haproxy: security bump to version 2.4.15 In-Reply-To: <20220410173259.604817-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:32:59 +0200") References: <20220410173259.604817-1-fontaine.fabrice@gmail.com> Message-ID: <87tub0n1rh.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP > responses containing the "Set-Cookie2" header. This flaw could allow an > attacker to send crafted HTTP response packets which lead to an infinite > loop, eventually resulting in a denial of service condition. The highest > threat from this vulnerability is availability. > https://www.mail-archive.com/haproxy at formilux.org/msg41963.html > https://www.mail-archive.com/haproxy at formilux.org/msg41873.html > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:04:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:04:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4732 In-Reply-To: <20220410173903.624901-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:39:03 +0200") References: <20220410173903.624901-1-fontaine.fabrice@gmail.com> Message-ID: <87pmlon1rc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository > vim/vim prior to 8.2.4646. > Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub > repository vim/vim prior to 8.2.4647. > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. > --- > package/vim/vim.hash | 2 +- > package/vim/vim.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > diff --git a/package/vim/vim.hash b/package/vim/vim.hash > index d2c91dcfa5..d55b1ea355 100644 > --- a/package/vim/vim.hash > +++ b/package/vim/vim.hash > @@ -1,4 +1,4 @@ > # Locally computed > -sha256 acca7330e41d01b53d4455ff98fafbf13282ba6461cd92eb1188836f6b03ec0f vim-8.2.4632.tar.gz > +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz > sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE > sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt > diff --git a/package/vim/vim.mk b/package/vim/vim.mk > index 71aa735eff..4eb659fd6e 100644 > --- a/package/vim/vim.mk > +++ b/package/vim/vim.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > -VIM_VERSION = 8.2.4632 > +VIM_VERSION = 8.2.4732 > VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) > VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) > VIM_SUBDIR = src > -- > 2.35.1 > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:05:36 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:05:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: add CPE variables In-Reply-To: <20220410134415.137573-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 15:44:15 +0200") References: <20220410134415.137573-1-fontaine.fabrice@gmail.com> Message-ID: <87lewcn1pr.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:intel:threading_building_blocks is a valid CPE identifier for > this package: > https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aintel%3Athreading_building_blocks > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:05:23 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:05:23 +0200 Subject: [Buildroot] [git commit] package/tbb: add CPE variables Message-ID: <20220410195609.AFF84838FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2759c40df782ca4f936c3dc995a27bf6cb9020b4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:intel:threading_building_blocks is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aintel%3Athreading_building_blocks Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/tbb/tbb.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index e5929388a2..87e83551fe 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -9,6 +9,8 @@ TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 TBB_LICENSE_FILES = LICENSE +TBB_CPE_ID_VENDOR = intel +TBB_CPE_ID_PRODUCT = threading_building_blocks TBB_SO_VERSION = 2 TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy From peter at korsgaard.com Sun Apr 10 20:04:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:04:14 +0200 Subject: [Buildroot] [git commit] package/vim: security bump to version 8.2.4732 Message-ID: <20220410195609.A61AE8386F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c96d6925f2e810bddbc8d4a1a98a7d42c66ad339 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646. Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647. Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d2c91dcfa5..d55b1ea355 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 acca7330e41d01b53d4455ff98fafbf13282ba6461cd92eb1188836f6b03ec0f vim-8.2.4632.tar.gz +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 71aa735eff..4eb659fd6e 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4632 +VIM_VERSION = 8.2.4732 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src From peter at korsgaard.com Sun Apr 10 20:04:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:04:08 +0200 Subject: [Buildroot] [git commit] package/haproxy: security bump to version 2.4.15 Message-ID: <20220410195609.9BC26838F5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f09fc6f958bebc742b0b0c2774eafe988807ad50 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP responses containing the "Set-Cookie2" header. This flaw could allow an attacker to send crafted HTTP response packets which lead to an infinite loop, eventually resulting in a denial of service condition. The highest threat from this vulnerability is availability. https://www.mail-archive.com/haproxy at formilux.org/msg41963.html https://www.mail-archive.com/haproxy at formilux.org/msg41873.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/haproxy/haproxy.hash | 4 ++-- package/haproxy/haproxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/haproxy/haproxy.hash b/package/haproxy/haproxy.hash index e3120b521f..18834c29b1 100644 --- a/package/haproxy/haproxy.hash +++ b/package/haproxy/haproxy.hash @@ -1,5 +1,5 @@ -# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.13.tar.gz.sha256 -sha256 4788fe975fe7e521746f826c25e80bc95cd15983e2bafa33e43bff23a3fe5ba1 haproxy-2.4.13.tar.gz +# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.15.tar.gz.sha256 +sha256 3958b17b7ee80eb79712aaf24f0d83e753683104b36e282a8b3dcd2418e30082 haproxy-2.4.15.tar.gz # Locally computed: sha256 0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28 LICENSE sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a doc/lgpl.txt diff --git a/package/haproxy/haproxy.mk b/package/haproxy/haproxy.mk index 83d9cfee37..b498549e20 100644 --- a/package/haproxy/haproxy.mk +++ b/package/haproxy/haproxy.mk @@ -5,7 +5,7 @@ ################################################################################ HAPROXY_VERSION_MAJOR = 2.4 -HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).13 +HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).15 HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt From peter at korsgaard.com Sun Apr 10 20:07:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:07:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/lftp: fix build with libressl In-Reply-To: <20220410141043.144288-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 16:10:43 +0200") References: <20220410141043.144288-1-fontaine.fabrice@gmail.com> Message-ID: <87h770n1mj.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl > 2.7.0: > /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: > /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): > in function `X509_OBJECT_get0_X509_CRL': > (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; > /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): > first defined here > Fixes: > - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:07:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:07:12 +0200 Subject: [Buildroot] [git commit] package/lftp: fix build with libressl Message-ID: <20220410195834.D7317838FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e8394943e80c847793f13555697e0b4c76483322 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl > 2.7.0: /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here Fixes: - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch new file mode 100644 index 0000000000..4251a5e176 --- /dev/null +++ b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch @@ -0,0 +1,36 @@ +From 3ffa0132987bdde986c82c924bc51b13b37f8b54 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 22:56:21 +0200 +Subject: [PATCH] src/lftp_ssl.c: fix build with libressl >= 2.7.0 + +X509_OBJECT_get0_X509_CRL is provided by libressl since version 2.7.0 +and +https://github.com/libressl-portable/openbsd/commit/9866ae34c0af718973475296bd9ef036d3aaa94e +resulting in the following build failure: + +/nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': +(.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here + +Fixes: + - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54] +--- + src/lftp_ssl.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 26e91e4b..a814543d 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -664,7 +664,7 @@ int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int* cert_max + #elif USE_OPENSSL + //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + // for compatibility with older versions + X509_OBJECT *X509_OBJECT_new() + { From fontaine.fabrice at gmail.com Sun Apr 10 20:21:12 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 22:21:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: needs threads Message-ID: <20220410202112.866702-1-fontaine.fabrice@gmail.com> valgrind needs threads since the addition of vgdb in https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: vgdb.c:37:10: fatal error: pthread.h: No such file or directory 37 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 Signed-off-by: Fabrice Fontaine --- package/valgrind/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 56e4af21fa..700849130f 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -7,14 +7,15 @@ config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le depends on !BR2_MIPS_SOFT_FLOAT -comment "valgrind needs a toolchain w/ dynamic library" +comment "valgrind needs a toolchain w/ dynamic library, threads" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_VALGRIND bool "valgrind" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS help Tool for debugging and profiling Linux programs. -- 2.35.1 From peter at korsgaard.com Sun Apr 10 20:24:42 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:24:42 +0200 Subject: [Buildroot] [PATCH] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series Message-ID: <20220410202442.1249348-1-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index f25b662aa5..4b4ea8d92b 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -125,7 +125,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "5.15.30" if BR2_LINUX_KERNEL_LATEST_VERSION + default "5.15.33" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.104-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.104-cip3-rt3" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 87a0f0465b..cf7ccc5cc5 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 cca7d6e053e33f44af1b39f7becec73a387911d81ede5a84ecf671692533138f linux-5.16.16.tar.xz -sha256 254ea2fe08f0aa07e4f7fffe95d12463df7fa6ff8a9ba72f321da15e50fa7132 linux-5.15.30.tar.xz -sha256 c467c3077946370fb26c9277313b601d6c48bb557abc889f4892caf627fcdfea linux-5.10.107.tar.xz -sha256 61f7cd24cb8a38d41891d9066c1dfd14a688a9dff7f485922e385654ea8b39b9 linux-5.4.186.tar.xz +sha256 da6d2cfa8b5b82d8a17b032a627fc1c7885097523c32cc8a4294745697d59b7e linux-5.16.19.tar.xz +sha256 c30a17e6090f9ebf2d8ff58cd6c92c7324b1f4a8b3aa6a7f68850310af05a9c4 linux-5.15.33.tar.xz +sha256 dbef6a06325433481551cb8cfca9254d908d0ae950bc809f3da8ade00c485693 linux-5.10.110.tar.xz +sha256 9fbc8bfdc28c9fce2307bdf7cf1172c9819df673397a411c40a5c3d0a570fdbc linux-5.4.188.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz -sha256 47470f83aa64e0098830a53176c959740742973663fead7ca7cc7b84e1f9d0f7 linux-4.9.307.tar.xz -sha256 9b6178099cf33c534c971f3f065c0debe92788f0f504d54badb2f8c2ee089d69 linux-4.14.272.tar.xz -sha256 530c5ac848111bbf7d1ad407a4ce8173ef8f9a4554477a32c695c5a4eaf02598 linux-4.19.235.tar.xz +sha256 e86a55a89e1e28756b890b2b78f8b582d05cecb3509ff5c353e9534866468614 linux-4.9.309.tar.xz +sha256 100a9960fb2d8e079c9feeef640715a7fb749ed728a57e427f9e2443212e58f9 linux-4.14.275.tar.xz +sha256 bafff35102cc486ec2bf94c6d908be8e24017b2e4a1873f52f24c855eb220cd8 linux-4.19.237.tar.xz # Locally computed sha256 63e6df81c4a747c60eed535ffc2f6f1ddb0c17ec349e860316d9a700c69ab38e linux-cip-5.10.104-cip3.tar.gz sha256 9a45929d91ebaddbf6a0ef29750775e33d3c3f56f42f0a9e95e77e5b4eba3c6e linux-cip-5.10.104-cip3-rt3.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 479f64b72e..decf02d175 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -381,13 +381,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string default "4.4.302" if BR2_KERNEL_HEADERS_4_4 - default "4.9.307" if BR2_KERNEL_HEADERS_4_9 - default "4.14.272" if BR2_KERNEL_HEADERS_4_14 - default "4.19.235" if BR2_KERNEL_HEADERS_4_19 - default "5.4.186" if BR2_KERNEL_HEADERS_5_4 - default "5.10.107" if BR2_KERNEL_HEADERS_5_10 - default "5.15.30" if BR2_KERNEL_HEADERS_5_15 - default "5.16.16" if BR2_KERNEL_HEADERS_5_16 + default "4.9.309" if BR2_KERNEL_HEADERS_4_9 + default "4.14.275" if BR2_KERNEL_HEADERS_4_14 + default "4.19.237" if BR2_KERNEL_HEADERS_4_19 + default "5.4.188" if BR2_KERNEL_HEADERS_5_4 + default "5.10.110" if BR2_KERNEL_HEADERS_5_10 + default "5.15.33" if BR2_KERNEL_HEADERS_5_15 + default "5.16.19" if BR2_KERNEL_HEADERS_5_16 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ -- 2.30.2 From peter at korsgaard.com Sun Apr 10 20:36:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:36:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/netdata: bump to version 1.33.1 In-Reply-To: <20220407212019.1540473-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 7 Apr 2022 23:20:19 +0200") References: <20220407212019.1540473-1-fontaine.fabrice@gmail.com> Message-ID: <87czhon0al.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Use official tarball (and so drop autoreconf) > - Disable ebpf, enabled by default since its addition in version 1.25.0: > https://github.com/netdata/netdata/commit/c857c880f31a89b7857bf01f1f48227c41bf8a93 > - disable ml, enabled by default since its addition in version 1.32.1: > https://github.com/netdata/netdata/commit/9ed4cea59042aa5e5053c4b4b3529e9d70ab83f9 > - lz4 is an optional dependency (enabled by default) since version > 1.33.0 and > https://github.com/netdata/netdata/commit/b003e5fd40c3b42dfacc87db5a7730b76eff0e92 > - This bump will fix a build failure with libressl thanks to > https://github.com/netdata/netdata/commit/6b091fafd9c3b0197325b3ef751dbdb317048e2b > - Update indentation in hash file (two spaces) > https://github.com/netdata/netdata/blob/v1.33.1/CHANGELOG.md > Fixes: > - http://autobuild.buildroot.org/results/897d6f1425a645667b884739b2ee6f588fd06972 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:35:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:35:39 +0200 Subject: [Buildroot] [git commit] package/netdata: bump to version 1.33.1 Message-ID: <20220410202754.4555B83906@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=73dc2eef2dc40b78e732872b26eee0bcea1087d1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Use official tarball (and so drop autoreconf) - Disable ebpf, enabled by default since its addition in version 1.25.0: https://github.com/netdata/netdata/commit/c857c880f31a89b7857bf01f1f48227c41bf8a93 - disable ml, enabled by default since its addition in version 1.32.1: https://github.com/netdata/netdata/commit/9ed4cea59042aa5e5053c4b4b3529e9d70ab83f9 - lz4 is an optional dependency (enabled by default) since version 1.33.0 and https://github.com/netdata/netdata/commit/b003e5fd40c3b42dfacc87db5a7730b76eff0e92 - This bump will fix a build failure with libressl thanks to https://github.com/netdata/netdata/commit/6b091fafd9c3b0197325b3ef751dbdb317048e2b - Update indentation in hash file (two spaces) https://github.com/netdata/netdata/blob/v1.33.1/CHANGELOG.md Fixes: - http://autobuild.buildroot.org/results/897d6f1425a645667b884739b2ee6f588fd06972 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/netdata/netdata.hash | 6 ++++-- package/netdata/netdata.mk | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/package/netdata/netdata.hash b/package/netdata/netdata.hash index 8d5ce51fca..bc33a8b8a1 100644 --- a/package/netdata/netdata.hash +++ b/package/netdata/netdata.hash @@ -1,3 +1,5 @@ +# From https://github.com/netdata/netdata/releases/download/v1.33.1/sha256sums.txt +sha256 20ba8695d87187787b27128ac3aab9b09aa29ca6b508c48542e0f7d50ec9322b netdata-v1.33.1.tar.gz + # Locally calculated -sha256 60cdde3f1f8bd9035fef6a566053c0a7195d1714b5da6814473263e85382b4a8 netdata-1.21.1.tar.gz -sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6 LICENSE +sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6 LICENSE diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index 6def59764a..da6f8eb18b 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -4,15 +4,17 @@ # ################################################################################ -NETDATA_VERSION = 1.21.1 -NETDATA_SITE = $(call github,netdata,netdata,v$(NETDATA_VERSION)) +NETDATA_VERSION = 1.33.1 +NETDATA_SOURCE = netdata-v$(NETDATA_VERSION).tar.gz +NETDATA_SITE = \ + https://github.com/netdata/netdata/releases/download/v$(NETDATA_VERSION) NETDATA_LICENSE = GPL-3.0+ NETDATA_LICENSE_FILES = LICENSE NETDATA_CPE_ID_VENDOR = netdata -# netdata's source code is released without a generated configure script -NETDATA_AUTORECONF = YES NETDATA_CONF_OPTS = \ --disable-dbengine \ + --disable-ebpf \ + --disable-ml \ --disable-unit-tests NETDATA_DEPENDENCIES = libuv util-linux zlib @@ -43,6 +45,13 @@ else NETDATA_CONF_OPTS += --without-libcap endif +ifeq ($(BR2_PACKAGE_LZ4),y) +NETDATA_CONF_OPTS += --enable-compression +NETDATA_DEPENDENCIES += lz4 +else +NETDATA_CONF_OPTS += --disable-compression +endif + ifeq ($(BR2_PACKAGE_NFACCT),y) NETDATA_CONF_OPTS += --enable-plugin-nfacct NETDATA_DEPENDENCIES += nfacct From peter at korsgaard.com Sun Apr 10 20:51:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:51:10 +0200 Subject: [Buildroot] [PATCH] package/bind: security bump to version 9.16.27 Message-ID: <20220410205111.1336415-1-peter@korsgaard.com> Fixes the following security issues: - The rules for acceptance of records into the cache have been tightened to prevent the possibility of poisoning if forwarders send records outside the configured bailiwick. (CVE-2021-25220) - TCP connections with keep-response-order enabled could leave the TCP sockets in the CLOSE_WAIT state when the client did not properly shut down the connection. (CVE-2022-0396) Signed-off-by: Peter Korsgaard --- package/bind/bind.hash | 4 ++-- package/bind/bind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/bind/bind.hash b/package/bind/bind.hash index 401e389e49..2c10a0429b 100644 --- a/package/bind/bind.hash +++ b/package/bind/bind.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc +# Verified from https://ftp.isc.org/isc/bind9/9.16.27/bind-9.16.27.tar.xz.asc # with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD -sha256 70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45 bind-9.16.26.tar.xz +sha256 90902aaf104c81019d75d6f8b2f7ec40fcd249406f894b44e4a9c6b5e08bf566 bind-9.16.27.tar.xz sha256 daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155 COPYRIGHT diff --git a/package/bind/bind.mk b/package/bind/bind.mk index a595baabc5..5164001ab5 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -4,7 +4,7 @@ # ################################################################################ -BIND_VERSION = 9.16.26 +BIND_VERSION = 9.16.27 BIND_SOURCE= bind-$(BIND_VERSION).tar.xz BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION) # bind does not support parallel builds. -- 2.30.2 From peter at korsgaard.com Sun Apr 10 20:52:31 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:52:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix build with libressl In-Reply-To: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 7 Apr 2022 18:41:14 +0200") References: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> Message-ID: <877d7wmzjk.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' > Fixes: > - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:51:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:51:56 +0200 Subject: [Buildroot] [git commit] package/tvheadend: fix build with libressl Message-ID: <20220410204351.72B0283914@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=04164b81e76e29fb9482245e808b46af2aa67bc6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' Fixes: - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- .../tvheadend/0002-fix-build-with-libressl.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/package/tvheadend/0002-fix-build-with-libressl.patch b/package/tvheadend/0002-fix-build-with-libressl.patch new file mode 100644 index 0000000000..c99dacdbeb --- /dev/null +++ b/package/tvheadend/0002-fix-build-with-libressl.patch @@ -0,0 +1,47 @@ +From ea65f8025a9124cd7353b21f167968bdb897306f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 21:54:25 +0200 +Subject: [PATCH] fix build with libressl + +Fix the following build failure with libressl raised since +https://github.com/tvheadend/tvheadend/commit/e61acb8ad4a3411f4e7acfd8133d222299f6d47e: + +utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' + +Fixes: + - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/ea65f8025a9124cd7353b21f167968bdb897306f] +--- + src/http.c | 2 +- + src/utils.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/http.c b/src/http.c +index 06d5e76172..72a498317c 100644 +--- a/src/http.c ++++ b/src/http.c +@@ -412,7 +412,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content, + http_auth_header(&hdrs, realm, + config.http_auth_algo == HTTP_AUTH_ALGO_SHA256 ? + "SHA-256" : +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + "SHA-512-256", + #else + "SHA-256", +diff --git a/src/utils.c b/src/utils.c +index d8ffe4ad5c..eecb10e116 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&??!defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; From peter at korsgaard.com Sun Apr 10 21:00:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:00:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/libressl: bump to version 3.5.1 In-Reply-To: (=?utf-8?Q?=22Fran=C3=A7ois?= Perrad"'s message of "Thu, 7 Apr 2022 07:43:48 +0200") References: <20220406194148.39490-1-fontaine.fabrice@gmail.com> Message-ID: <8735ikmz6h.fsf@dell.be.48ers.dk> >>>>> "Fran?ois" == Fran?ois Perrad writes: > This version 3.5.1 (like 3.5.0, 3.4.0) is a development release, not a > stable release. Correct. Maybe we should instead let pure-ftpd select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL? -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:03:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:03:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/nbd: needs host-bison In-Reply-To: <20220329184458.289902-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 29 Mar 2022 20:44:58 +0200") References: <20220329184458.289902-1-fontaine.fabrice@gmail.com> Message-ID: <87y20clkgr.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > host-bison is mandatory to avoid the following build failure since bump > to version 3.24 in commit bf2e459bb9fc9fe57147313cda35f7022172e6e8 and > https://github.com/NetworkBlockDevice/nbd/commit/cd099ee7d0602104506bdd5063c0a3db2ec9b550: > configure: error: bison is required > Fixes: > - http://autobuild.buildroot.org/results/05872813c9e9b9f39f960fa9a33ad82dc124c808 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:04:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:04:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/cog: bump to version 0.12.4 In-Reply-To: <20220330071449.4060342-1-james.hilliard1@gmail.com> (James Hilliard's message of "Wed, 30 Mar 2022 01:14:49 -0600") References: <20220330071449.4060342-1-james.hilliard1@gmail.com> Message-ID: <87tub0lkfd.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:03:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:03:43 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cog: bump to version 0.12.4 Message-ID: <20220410205517.EE0A6838CD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=38a9dd649f0f559c0f438becb1e506950bc7a99a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: James Hilliard Acked-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 2490cc30525f2249f319b73176d13305be152b86) Signed-off-by: Peter Korsgaard --- package/cog/cog.hash | 8 ++++---- package/cog/cog.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/cog/cog.hash b/package/cog/cog.hash index 839b12e619..00d3a4e191 100644 --- a/package/cog/cog.hash +++ b/package/cog/cog.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/cog-0.12.1.tar.xz.sums -md5 25a80a5a8a52b8873933a128151b8928 cog-0.12.1.tar.xz -sha1 3b9f67bc23cd9e3db2221366d6cde4ca0b06b811 cog-0.12.1.tar.xz -sha256 23caaafa2ef5c2f6a97d467fcce908ea71087ad03b72deb9280225c0dd561c91 cog-0.12.1.tar.xz +# From https://wpewebkit.org/releases/cog-0.12.4.tar.xz.sums +md5 cdb8acdc3acc9b5082e7db9c279155c3 cog-0.12.4.tar.xz +sha1 600b30efadf55bf94ea5062a0a1b2ea0b74053e5 cog-0.12.4.tar.xz +sha256 9983c621c8e14fca3792ff566cb6b86d6a1f17446eb4c083af4a5a749112982f cog-0.12.4.tar.xz # Hashes for license files: sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING diff --git a/package/cog/cog.mk b/package/cog/cog.mk index 2f6ef402fb..f2ca0af93d 100644 --- a/package/cog/cog.mk +++ b/package/cog/cog.mk @@ -4,7 +4,7 @@ # ################################################################################ -COG_VERSION = 0.12.1 +COG_VERSION = 0.12.4 COG_SITE = https://wpewebkit.org/releases COG_SOURCE = cog-$(COG_VERSION).tar.xz COG_INSTALL_STAGING = YES From peter at korsgaard.com Sun Apr 10 21:02:09 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:02:09 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/nbd: needs host-bison Message-ID: <20220410205517.E451D83931@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=892d6562d6ac6d53d29b7719d5bfc2f1687ffa8d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x host-bison is mandatory to avoid the following build failure since bump to version 3.24 in commit bf2e459bb9fc9fe57147313cda35f7022172e6e8 and https://github.com/NetworkBlockDevice/nbd/commit/cd099ee7d0602104506bdd5063c0a3db2ec9b550: configure: error: bison is required Fixes: - http://autobuild.buildroot.org/results/05872813c9e9b9f39f960fa9a33ad82dc124c808 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit a8290f99a7a2f75a8668d4e4f6c42f59862396a2) Signed-off-by: Peter Korsgaard --- package/nbd/nbd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index f0fb23910e..50f698dd24 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -8,7 +8,7 @@ NBD_VERSION = 3.24 NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) NBD_CONF_OPTS = --enable-lfs -NBD_DEPENDENCIES = host-pkgconf libglib2 +NBD_DEPENDENCIES = host-bison host-pkgconf libglib2 NBD_LICENSE = GPL-2.0 NBD_LICENSE_FILES = COPYING NBD_CPE_ID_VENDOR = network_block_device_project From peter at korsgaard.com Sun Apr 10 21:07:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:07:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/woff2: use github helper In-Reply-To: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 20:55:52 +0200") References: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> Message-ID: <87o818lkai.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:08:04 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:08:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/spice: needs C++ In-Reply-To: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 21:14:38 +0200") References: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> Message-ID: <87k0bwlk97.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > spice needs C++ since bump to version 0.15.0 in commit > b784f1bc0fc3ac33a20549069a81ff98260b58e9 and > https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: > configure: error: *** A compiler with support for C++11 language features is required. > Fixes: > - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:09:04 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:09:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/stunnel: doesn't build with libressl In-Reply-To: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 19:25:37 +0200") References: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> Message-ID: <87fsmklk7j.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > In file included from tls.c:39: > prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' > 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; > | ^~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Apr 10 21:07:00 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 23:07:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix openssl build Message-ID: <20220410210700.1175518-1-fontaine.fabrice@gmail.com> Fix the following openssl build failure raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31: /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libssl.so: file not recognized: file format not recognized Fixes: - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a Signed-off-by: Fabrice Fontaine --- ...c-fix-cross-compilation-with-openssl.patch | 56 +++++++++++++++++++ package/fetchmail/fetchmail.mk | 2 + 2 files changed, 58 insertions(+) create mode 100644 package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch diff --git a/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch new file mode 100644 index 0000000000..fff848196a --- /dev/null +++ b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch @@ -0,0 +1,56 @@ +From 262aa59c1a7a7100e1dd4e73a6d0112d9becc701 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 1 Apr 2022 19:23:06 +0200 +Subject: [PATCH] configure.ac: fix cross-compilation with openssl + +Don't call AC_LIB_LINKFLAGS when the libraries are retrieved through +pkg-config to avoid the following build failure when cross-compiling +raised since commit 77503f545d2806d07ab83c59ed9a96f435d281da: + +/home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so +/usr/lib/libssl.so: file not recognized: file format not recognized + +This build failure is raised because AC_LIB_LINKFLAGS will override the +pkg-config target libraries by the host openssl libraries: + +configure: Enabling OpenSSL support in /home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr. +configure: SSL-check: trying pkg-config for openssl +checking for SSL... yes +checking how to link with libssl... /usr/lib/libssl.so /usr/lib/libcrypto.so +configure: From pkg-config: Adding /usr/lib/libssl.so /usr/lib/libcrypto.so to LIBS. LDFLAGS= -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib + +Fixes: + - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.com/fetchmail/fetchmail/-/merge_requests/42] +--- + configure.ac | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index bd042d51..80e5bf91 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -838,15 +838,13 @@ else + PKG_CHECK_MODULES([SSL],[$i],[ + set -- $SSL_LIBS + while test $# -ge 1 ; do +- case $1 in -l*|lib*) : ;; ++ case $1 in -l*|lib*) LIBS="$LIBS $1" ;; + *) LDFLAGS="$LDFLAGS $1" ;; + esac + shift + done + CPPFLAGS="$SSL_CFLAGS $CPPFLAGS" +- AC_LIB_LINKFLAGS([ssl], [crypto]) +- AS_MESSAGE([From pkg-config: Adding $LIBSSL to LIBS. LDFLAGS=$LDFLAGS]) +- LIBS="$LIBS $LIBSSL" ++ AS_MESSAGE([From pkg-config: $SSL_LIBS]) + found=1 + break],[: ignore-error]) + done +-- +2.35.1 + diff --git a/package/fetchmail/fetchmail.mk b/package/fetchmail/fetchmail.mk index b97f01a423..25dfcae87b 100644 --- a/package/fetchmail/fetchmail.mk +++ b/package/fetchmail/fetchmail.mk @@ -12,6 +12,8 @@ FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING FETCHMAIL_LICENSE_FILES = COPYING FETCHMAIL_CPE_ID_VENDOR = fetchmail FETCHMAIL_SELINUX_MODULES = fetchmail mta +# We're patching configure.ac +FETCHMAIL_AUTORECONF = YES FETCHMAIL_CONF_OPTS = \ --with-ssl=$(STAGING_DIR)/usr -- 2.35.1 From peter at korsgaard.com Sun Apr 10 21:10:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:10:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-gmmlib: needs C++ In-Reply-To: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:23:44 +0200") References: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> Message-ID: <87bkx8lk5e.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > intel-gmmlib needs C++ since its addition in commit > 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and > https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: > CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > "/usr/bin/clang++" > is not able to compile a simple test program. > Fixes: > - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:11:05 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:11:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/liburing: needs MMU In-Reply-To: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 5 Apr 2022 22:40:04 +0200") References: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> Message-ID: <877d7wlk46.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > liburing needs MMU since its addition in commit > 03ca6f4e39874583060317e7e15e9e360220877e: > setup.c: In function 'io_uring_ring_dontfork': > setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] > 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); > | ^~~~~~~ > | raise > Fixes: > - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:08:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:08:53 +0200 Subject: [Buildroot] [git commit] package/stunnel: doesn't build with libressl Message-ID: <20220410210202.07CC98396D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e4032672736614397c803584ba7bb8a20ae1896e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: In file included from tls.c:39: prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/stunnel/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/stunnel/Config.in b/package/stunnel/Config.in index 087fecd930..a46e2f0316 100644 --- a/package/stunnel/Config.in +++ b/package/stunnel/Config.in @@ -2,7 +2,8 @@ config BR2_PACKAGE_STUNNEL bool "stunnel" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES help Stunnel is a program that wraps any TCP connection with an SSL connection. From peter at korsgaard.com Sun Apr 10 21:09:27 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:09:27 +0200 Subject: [Buildroot] [git commit] package/intel-gmmlib: needs C++ Message-ID: <20220410210202.123AD8396B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c0aaf9cc9e85f63ab4334db8c6deca25e6f8e878 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master intel-gmmlib needs C++ since its addition in commit 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/intel-gmmlib/Config.in | 5 +++-- package/intel-mediadriver/Config.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/intel-gmmlib/Config.in b/package/intel-gmmlib/Config.in index 9d5fbd9cae..b6f93f7416 100644 --- a/package/intel-gmmlib/Config.in +++ b/package/intel-gmmlib/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_INTEL_GMMLIB bool "intel-gmmlib" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP help The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) @@ -10,5 +11,5 @@ config BR2_PACKAGE_INTEL_GMMLIB https://github.com/intel/gmmlib -comment "intel-gmmlib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "intel-gmmlib needs a toolchain w/ dynamic library, C++" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/intel-mediadriver/Config.in b/package/intel-mediadriver/Config.in index c29c2fb6ab..ad56590008 100644 --- a/package/intel-mediadriver/Config.in +++ b/package/intel-mediadriver/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER bool "intel-mediadriver" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS # mesa3d, libva - depends on BR2_INSTALL_LIBSTDCPP # mesa3d + depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d depends on BR2_TOOLCHAIN_HAS_THREADS # libva depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d From peter at korsgaard.com Sun Apr 10 21:10:54 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:10:54 +0200 Subject: [Buildroot] [git commit] package/liburing: needs MMU Message-ID: <20220410210202.1C1E88396C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b5f07f62eb0392c3bddd63ac16d12adec7e98812 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master liburing needs MMU since its addition in commit 03ca6f4e39874583060317e7e15e9e360220877e: setup.c: In function 'io_uring_ring_dontfork': setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); | ^~~~~~~ | raise Fixes: - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/liburing/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/liburing/Config.in b/package/liburing/Config.in index d65a3f1322..fc13f1c17c 100644 --- a/package/liburing/Config.in +++ b/package/liburing/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBURING bool "liburing" + depends on BR2_USE_MMU # madvise() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 help @@ -11,5 +12,6 @@ config BR2_PACKAGE_LIBURING https://git.kernel.dk/cgit/liburing comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 From peter at korsgaard.com Sun Apr 10 21:07:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:07:59 +0200 Subject: [Buildroot] [git commit] package/spice: needs C++ Message-ID: <20220410210201.F2D0B83912@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=35be926c97836989d6cecbc7ecb49f9c9bd46eba branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master spice needs C++ since bump to version 0.15.0 in commit b784f1bc0fc3ac33a20549069a81ff98260b58e9 and https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: configure: error: *** A compiler with support for C++11 language features is required. Fixes: - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/spice/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index 2241b55b3d..ca5c562ca1 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -1,12 +1,14 @@ -comment "spice server needs a toolchain w/ wchar, threads" +comment "spice server needs a toolchain w/ wchar, threads, C++" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_SPICE bool "spice server" depends on BR2_i386 || BR2_x86_64 depends on BR2_USE_WCHAR # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_JPEG select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL From peter at korsgaard.com Sun Apr 10 21:06:57 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:06:57 +0200 Subject: [Buildroot] [git commit] package/woff2: use github helper Message-ID: <20220410210201.E91FE8396B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4b1080d57ae642bd5d4b5783c49d4ba49f13dfe8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro Signed-off-by: Peter Korsgaard --- package/woff2/woff2.hash | 2 +- package/woff2/woff2.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash index 469071e3c2..0812dabcf1 100644 --- a/package/woff2/woff2.hash +++ b/package/woff2/woff2.hash @@ -1,5 +1,5 @@ # Locally generated: -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz # Hash for license files: sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk index b2ff33fe98..937e8cf736 100644 --- a/package/woff2/woff2.mk +++ b/package/woff2/woff2.mk @@ -5,8 +5,7 @@ ################################################################################ WOFF2_VERSION = 1.0.2 -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz -WOFF2_SITE = https://github.com/google/woff2/archive +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) WOFF2_LICENSE = MIT WOFF2_LICENSE_FILES = LICENSE WOFF2_INSTALL_STAGING = YES From havran.jan at email.cz Sun Apr 10 21:22:09 2022 From: havran.jan at email.cz (Jan Havran) Date: Sun, 10 Apr 2022 23:22:09 +0200 Subject: [Buildroot] [PATCH] package/rtl8189es: bump revision to 39c17661 Message-ID: Update out-of-tree driver to make it work with Linux kernel v5.17 (and older kernels not compatible with previous driver version, like v5.15 etc). Signed-off-by: Jan Havran --- package/rtl8189es/rtl8189es.hash | 2 +- package/rtl8189es/rtl8189es.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtl8189es/rtl8189es.hash b/package/rtl8189es/rtl8189es.hash index 624c51ac0d..d897e5e6c2 100644 --- a/package/rtl8189es/rtl8189es.hash +++ b/package/rtl8189es/rtl8189es.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 bf972b6494844c66885dc6846228994fac6075477cf9a7122ffd521e25ac791c rtl8189es-2c8d44ae26485052f39d933a3a132b3ff395803a.tar.gz +sha256 74325014c1a8503b3a7e48ad06997baddad8c1dae86bb79f4368532cc3e75fb2 rtl8189es-39c17661136da48f8e9c644194dce6a7f5076896.tar.gz diff --git a/package/rtl8189es/rtl8189es.mk b/package/rtl8189es/rtl8189es.mk index 9e4053ae83..51477ccc97 100644 --- a/package/rtl8189es/rtl8189es.mk +++ b/package/rtl8189es/rtl8189es.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8189ES_VERSION = 2c8d44ae26485052f39d933a3a132b3ff395803a +RTL8189ES_VERSION = 39c17661136da48f8e9c644194dce6a7f5076896 RTL8189ES_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189ES_VERSION)) RTL8189ES_LICENSE = GPL-2.0 -- 2.35.1 From havran.jan at email.cz Sun Apr 10 21:28:23 2022 From: havran.jan at email.cz (Jan Havran) Date: Sun, 10 Apr 2022 23:28:23 +0200 Subject: [Buildroot] [PATCH] package/rtl8189fs: bump revision to 73f826f0 Message-ID: Update out-of-tree driver to make it work with Linux kernel v5.17. Signed-off-by: Jan Havran --- package/rtl8189fs/rtl8189fs.hash | 2 +- package/rtl8189fs/rtl8189fs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtl8189fs/rtl8189fs.hash b/package/rtl8189fs/rtl8189fs.hash index a7c3641841..f9772f2a89 100644 --- a/package/rtl8189fs/rtl8189fs.hash +++ b/package/rtl8189fs/rtl8189fs.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 2350a15f866ac82a33c11f9505f2deb0f4aa819b9ac1f4809f8d6893412e73fd rtl8189fs-e10294d2ded27586149fedee1f834d75477b8b40.tar.gz +sha256 fd74248b8cc62e54a954502228be221ace6051832a972b8b3005cc05e9c87761 rtl8189fs-73f826f0fa74b2fc1ad67eaf92bf9787947ae673.tar.gz diff --git a/package/rtl8189fs/rtl8189fs.mk b/package/rtl8189fs/rtl8189fs.mk index 83c7f3ee0d..40b735c21b 100644 --- a/package/rtl8189fs/rtl8189fs.mk +++ b/package/rtl8189fs/rtl8189fs.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8189FS_VERSION = e10294d2ded27586149fedee1f834d75477b8b40 +RTL8189FS_VERSION = 73f826f0fa74b2fc1ad67eaf92bf9787947ae673 RTL8189FS_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189FS_VERSION)) RTL8189FS_LICENSE = GPL-2.0 -- 2.35.1 From peter at korsgaard.com Sun Apr 10 21:48:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:48:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/haproxy: security bump to version 2.4.15 In-Reply-To: <20220410173259.604817-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:32:59 +0200") References: <20220410173259.604817-1-fontaine.fabrice@gmail.com> Message-ID: <871qy4lidq.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP > responses containing the "Set-Cookie2" header. This flaw could allow an > attacker to send crafted HTTP response packets which lead to an infinite > loop, eventually resulting in a denial of service condition. The highest > threat from this vulnerability is availability. > https://www.mail-archive.com/haproxy at formilux.org/msg41963.html > https://www.mail-archive.com/haproxy at formilux.org/msg41873.html > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:48:38 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:48:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4732 In-Reply-To: <20220410173903.624901-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:39:03 +0200") References: <20220410173903.624901-1-fontaine.fabrice@gmail.com> Message-ID: <87wnfwk3t5.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository > vim/vim prior to 8.2.4646. > Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub > repository vim/vim prior to 8.2.4647. > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:48:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:48:12 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/haproxy: security bump to version 2.4.15 Message-ID: <20220410213903.147138397D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=42706456fc912f76a2ec9842f52e7836a69ea0f3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP responses containing the "Set-Cookie2" header. This flaw could allow an attacker to send crafted HTTP response packets which lead to an infinite loop, eventually resulting in a denial of service condition. The highest threat from this vulnerability is availability. https://www.mail-archive.com/haproxy at formilux.org/msg41963.html https://www.mail-archive.com/haproxy at formilux.org/msg41873.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit f09fc6f958bebc742b0b0c2774eafe988807ad50) Signed-off-by: Peter Korsgaard --- package/haproxy/haproxy.hash | 4 ++-- package/haproxy/haproxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/haproxy/haproxy.hash b/package/haproxy/haproxy.hash index e3120b521f..18834c29b1 100644 --- a/package/haproxy/haproxy.hash +++ b/package/haproxy/haproxy.hash @@ -1,5 +1,5 @@ -# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.13.tar.gz.sha256 -sha256 4788fe975fe7e521746f826c25e80bc95cd15983e2bafa33e43bff23a3fe5ba1 haproxy-2.4.13.tar.gz +# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.15.tar.gz.sha256 +sha256 3958b17b7ee80eb79712aaf24f0d83e753683104b36e282a8b3dcd2418e30082 haproxy-2.4.15.tar.gz # Locally computed: sha256 0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28 LICENSE sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a doc/lgpl.txt diff --git a/package/haproxy/haproxy.mk b/package/haproxy/haproxy.mk index 83d9cfee37..b498549e20 100644 --- a/package/haproxy/haproxy.mk +++ b/package/haproxy/haproxy.mk @@ -5,7 +5,7 @@ ################################################################################ HAPROXY_VERSION_MAJOR = 2.4 -HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).13 +HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).15 HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt From peter at korsgaard.com Sun Apr 10 21:48:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:48:18 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/vim: security bump to version 8.2.4732 Message-ID: <20220410213903.22B808392C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=989c7c8f7b6ed5c845628ba46099591539c302d7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646. Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647. Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c96d6925f2e810bddbc8d4a1a98a7d42c66ad339) Signed-off-by: Peter Korsgaard --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d2c91dcfa5..d55b1ea355 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 acca7330e41d01b53d4455ff98fafbf13282ba6461cd92eb1188836f6b03ec0f vim-8.2.4632.tar.gz +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 71aa735eff..4eb659fd6e 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4632 +VIM_VERSION = 8.2.4732 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src From james.hilliard1 at gmail.com Sun Apr 10 23:29:30 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 10 Apr 2022 17:29:30 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: migrate to asyncio subprocess calls Message-ID: <20220410232930.153300-1-james.hilliard1@gmail.com> Since genrandconfig no longer appears to support python2 we can migrate the subprocess calls to use asyncio variants. This has the advantage of allowing for runners like autobuild-run to integrate directly into genrandconfig by calling the asyncio gen_config using importlib instead of having to run genrandconfig as a subprocess. Using asyncio is advantageous here as it eliminates the requirement for the runner to deal with blocking subprocess calls(by having to use threading for example). Also cleanup some unused functions/python2 compatibility shims. Signed-off-by: James Hilliard --- utils/genrandconfig | 88 +++++++++++++++++++++++++-------------------- 1 file changed, 49 insertions(+), 39 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 59fe34e58d..94bf2c158c 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -18,24 +18,14 @@ # This script generates a random configuration for testing Buildroot. -import contextlib +import asyncio import csv import os from random import randint -import subprocess import sys from distutils.version import StrictVersion import platform -if sys.hexversion >= 0x3000000: - import urllib.request as _urllib -else: - import urllib2 as _urllib - - -def urlopen_closing(uri): - return contextlib.closing(_urllib.urlopen(uri)) - class SystemInfo: DEFAULT_NEEDED_PROGS = ["make", "git", "gcc", "timeout"] @@ -63,7 +53,7 @@ class SystemInfo: # -- return None - def has(self, prog): + async def has(self, prog): """Checks whether a program is available. Lazily evaluates missing entries. @@ -78,11 +68,13 @@ class SystemInfo: have_it = self.find_prog(prog) # java[c] needs special care if have_it and prog in ('java', 'javac'): - with open(os.devnull, "w") as devnull: - if subprocess.call("%s -version | grep gcj" % prog, - shell=True, - stdout=devnull, stderr=devnull) != 1: - have_it = False + proc = await asyncio.create_subprocess_shell( + "%s -version | grep gcj" % prog, + stdout=asyncio.subprocess.DEVNULL, + stderr=asyncio.subprocess.DEVNULL) + ret = await proc.wait() + if ret != 1: + have_it = False # -- self.progs[prog] = have_it return have_it @@ -159,7 +151,7 @@ def get_toolchain_configs(toolchains_csv, buildrootdir): return configs -def is_toolchain_usable(configfile, config): +async def is_toolchain_usable(configfile, config): """Check if the toolchain is actually usable.""" with open(configfile) as configf: @@ -179,8 +171,12 @@ def is_toolchain_usable(configfile, config): 'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y\n' in configlines or \ 'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_BE=y\n' in configlines or \ 'BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB=y\n' in configlines: - ldd_version_output = subprocess.check_output(['ldd', '--version']) - glibc_version = ldd_version_output.splitlines()[0].split()[-1] + proc = await asyncio.create_subprocess_exec( + 'ldd', '--version', stdout=asyncio.subprocess.PIPE) + ldd_version_output, _ = await proc.communicate() + if proc.returncode: + return False + glibc_version = ldd_version_output.splitlines()[0].split()[-1].decode('utf-8') if StrictVersion('2.14') > StrictVersion(glibc_version): print("WARN: ignoring the Linaro ARM toolchains because too old host glibc", file=sys.stderr) return False @@ -188,7 +184,7 @@ def is_toolchain_usable(configfile, config): return True -def fixup_config(sysinfo, configfile): +async def fixup_config(sysinfo, configfile): """Finalize the configuration and reject any problematic combinations This function returns 'True' when the configuration has been @@ -202,7 +198,7 @@ def fixup_config(sysinfo, configfile): BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' - if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): + if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not await sysinfo.has("java"): return False # The ctng toolchain is affected by PR58854 if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \ @@ -507,7 +503,7 @@ def fixup_config(sysinfo, configfile): return True -def gen_config(args): +async def gen_config(args): """Generate a new random configuration This function generates the configuration, by choosing a random @@ -565,7 +561,7 @@ def gen_config(args): # Randomly enable BR2_REPRODUCIBLE 10% of times # also enable tar filesystem images for testing - if sysinfo.has("diffoscope") and randint(0, 10) == 0: + if await sysinfo.has("diffoscope") and randint(0, 10) == 0: configlines.append("BR2_REPRODUCIBLE=y\n") configlines.append("BR2_TARGET_ROOTFS_TAR=y\n") @@ -579,10 +575,13 @@ def gen_config(args): with open(configfile, "w+") as configf: configf.writelines(configlines) - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "olddefconfig") + ret = await proc.wait() + if ret: + return ret - if not is_toolchain_usable(configfile, toolchainconfig): + if not await is_toolchain_usable(configfile, toolchainconfig): return 2 # Now, generate the random selection of packages, and fixup @@ -596,21 +595,32 @@ def gen_config(args): file=sys.stderr) return 1 bounded_loop -= 1 - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig" if args.toolchains_csv else "randconfig"]) - - if fixup_config(sysinfo, configfile): + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "KCONFIG_PROBABILITY=%d" % randint(1, 20), + "randpackageconfig" if args.toolchains_csv else "randconfig") + ret = await proc.wait() + if ret: + return ret + + if await fixup_config(sysinfo, configfile): break - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "olddefconfig") + ret = await proc.wait() + if ret: + return ret - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "savedefconfig") + ret = await proc.wait() + if ret: + return ret - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "dependencies") + return await proc.wait() if __name__ == '__main__': @@ -642,7 +652,7 @@ if __name__ == '__main__': args.outputdir = os.path.abspath(args.outputdir) try: - ret = gen_config(args) + ret = asyncio.run(gen_config(args)) except Exception as e: print(str(e), file=sys.stderr) parser.exit(1) -- 2.25.1 From baruch at tkos.co.il Mon Apr 11 04:08:53 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Mon, 11 Apr 2022 07:08:53 +0300 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set In-Reply-To: <877d7wogm1.fsf@dell.be.48ers.dk> References: <20220405012059.2680327-1-james.hilliard1@gmail.com> <877d7wogm1.fsf@dell.be.48ers.dk> Message-ID: <87pmlodzw4.fsf@tarshish> Hi Peter, On Sun, Apr 10 2022, Peter Korsgaard wrote: >>>>>> "James" == James Hilliard writes: > > > Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when > > required. > > > Fixes: > > http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 > > > Signed-off-by: James Hilliard > > Committed to 2022.02.x, thanks. Not in 2022.02.x as of commit 989c7c8f7b6e ("package/vim: security bump to version 8.2.4732"). baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From peter at korsgaard.com Mon Apr 11 06:29:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 08:29:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] linux/linux.mk: ensure custom kernel version is set Message-ID: <20220411062028.A5CEF8386F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2abfc4ac716578d1584d670988ba66174762b1fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required. Fixes: http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 84b1eacc328baad3ceb63505ac588022620a05f6) Signed-off-by: Peter Korsgaard --- linux/linux.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 102b7a15d4..7ff7b05042 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -566,6 +566,12 @@ endif ifeq ($(BR_BUILDING),y) +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) +ifeq ($(LINUX_VERSION),) +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) +endif +endif + ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) # We must use the user-supplied kconfig value, because # LINUX_KCONFIG_DEFCONFIG will at least contain the From peter at korsgaard.com Mon Apr 11 06:30:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 08:30:03 +0200 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set In-Reply-To: <87pmlodzw4.fsf@tarshish> (Baruch Siach's message of "Mon, 11 Apr 2022 07:08:53 +0300") References: <20220405012059.2680327-1-james.hilliard1@gmail.com> <877d7wogm1.fsf@dell.be.48ers.dk> <87pmlodzw4.fsf@tarshish> Message-ID: <87r164jfo4.fsf@dell.be.48ers.dk> >>>>> "Baruch" == Baruch Siach writes: > Hi Peter, > On Sun, Apr 10 2022, Peter Korsgaard wrote: >>>>>>> "James" == James Hilliard writes: >> >> > Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when >> > required. >> >> > Fixes: >> > http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 >> >> > Signed-off-by: James Hilliard >> >> Committed to 2022.02.x, thanks. > Not in 2022.02.x as of commit 989c7c8f7b6e ("package/vim: security bump > to version 8.2.4732"). Ups, fixed now - Thanks! -- Bye, Peter Korsgaard From ambi at samba.org Mon Apr 11 06:31:39 2022 From: ambi at samba.org (Christian Ambach) Date: Mon, 11 Apr 2022 08:31:39 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 In-Reply-To: References: <20220408070921.1786-1-ambi@samba.org> Message-ID: <296339a6-e188-9549-12c5-c5983eb6a5ef@samba.org> Am 08.04.2022 um 23:18 schrieb James Hilliard: >> --- a/package/openjdk-bin/openjdk-bin.mk >> +++ b/package/openjdk-bin/openjdk-bin.mk >> @@ -11,8 +11,17 @@ else >> HOST_OPENJDK_BIN_VERSION_MAJOR = 11 >> HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 >> endif >> + >> +HOST_OPENJDK_BIN_HOST_ARCH := $(shell uname -m) > Just use HOSTARCH instead like this: > https://github.com/buildroot/buildroot/blob/8f3cfe41961d83a9c01630f241bf045e3aa59b40/package/rustc/rustc.mk#L14 > Thanks for the hint... I am new to buildroot and tried to use BR2_HOSTARCH, but that didn't work. I looked in other Makefiles but couldn't find HOSTARCH, so I went with my own solution. Patch to follow. Cheers Christian From peter at korsgaard.com Mon Apr 11 06:55:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 08:55:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix build with zlib In-Reply-To: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:28:28 +0200") References: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> Message-ID: <87mtgsjei0.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > internal bind is in version 9.11 and so doesn't support pkg-config > like bind 9.16 resulting in the following build failure since commit > 0c8dd6ebd656e06cf99a63eb93343715f4853503: > configure: error: include/zlib.h not found. > Fixes: > - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 06:55:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 08:55:03 +0200 Subject: [Buildroot] [git commit] package/dhcp: fix build with zlib Message-ID: <20220411064551.72DFE83912@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master internal bind is in version 9.11 and so doesn't support pkg-config like bind 9.16 resulting in the following build failure since commit 0c8dd6ebd656e06cf99a63eb93343715f4853503: configure: error: include/zlib.h not found. Fixes: - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/dhcp/dhcp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f1e3c22f1c..460e62a81c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -42,7 +42,7 @@ DHCP_CONF_OPTS = \ --with-relay6-pid-file=/var/run/dhcrelay6.pid ifeq ($(BR2_PACKAGE_ZLIB),y) -DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_BIND_EXTRA_CONFIG += --with-zlib=$(STAGING_DIR)/usr DHCP_DEPENDENCIES += zlib else DHCP_BIND_EXTRA_CONFIG += --without-zlib From ambi at samba.org Mon Apr 11 07:01:25 2022 From: ambi at samba.org (ambi at samba.org) Date: Mon, 11 Apr 2022 09:01:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 In-Reply-To: <296339a6-e188-9549-12c5-c5983eb6a5ef@samba.org> References: <296339a6-e188-9549-12c5-c5983eb6a5ef@samba.org> Message-ID: <20220411070125.77424-1-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index bbc939d4e8..58bb646b45 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz +sha256 f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz +sha256 a77013bff10a5e9c59159231dd5c4bd071fc4c24beed42bd49b82803ba9506ef OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.13_8.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 266c93d363..b731058ca1 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,16 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 endif + +ifeq ($(HOSTARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOSTARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -- 2.25.1 From ambi at samba.org Mon Apr 11 07:04:54 2022 From: ambi at samba.org (ambi at samba.org) Date: Mon, 11 Apr 2022 09:04:54 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 In-Reply-To: <20220411070125.77424-1-ambi@samba.org> References: <20220411070125.77424-1-ambi@samba.org> Message-ID: <20220411070454.77482-1-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- New version with removed duplicate Signed-off-by. package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index bbc939d4e8..58bb646b45 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz +sha256 f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz +sha256 a77013bff10a5e9c59159231dd5c4bd071fc4c24beed42bd49b82803ba9506ef OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.13_8.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 266c93d363..b731058ca1 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,16 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 endif + +ifeq ($(HOSTARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOSTARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -- 2.25.1 From peter at korsgaard.com Mon Apr 11 07:09:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:09:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: needs threads In-Reply-To: <20220410202112.866702-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 22:21:12 +0200") References: <20220410202112.866702-1-fontaine.fabrice@gmail.com> Message-ID: <87ilrgjdux.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > valgrind needs threads since the addition of vgdb in > https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: > vgdb.c:37:10: fatal error: pthread.h: No such file or directory > 37 | #include > | ^~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:10:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:10:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/trousers: fix build with libressl >= 2.7.0 In-Reply-To: <20220410154329.294878-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 17:43:29 +0200") References: <20220410154329.294878-1-fontaine.fabrice@gmail.com> Message-ID: <87ee24jdsg.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl >= 2.7.0: > crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration > 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) > | ^~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:09:05 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:09:05 +0200 Subject: [Buildroot] [git commit] package/valgrind: needs threads Message-ID: <20220411070158.2975781400@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2364dafa70245a838f6bfbb95dfc2992e0750a01 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master valgrind needs threads since the addition of vgdb in https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: vgdb.c:37:10: fatal error: pthread.h: No such file or directory 37 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/valgrind/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 56e4af21fa..700849130f 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -7,14 +7,15 @@ config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le depends on !BR2_MIPS_SOFT_FLOAT -comment "valgrind needs a toolchain w/ dynamic library" +comment "valgrind needs a toolchain w/ dynamic library, threads" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_VALGRIND bool "valgrind" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS help Tool for debugging and profiling Linux programs. From peter at korsgaard.com Mon Apr 11 07:10:23 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:10:23 +0200 Subject: [Buildroot] [git commit] package/trousers: fix build with libressl >= 2.7.0 Message-ID: <20220411070158.35B7A83931@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2d4a9308d7b16e4fd613a9070a97c9effa055b4b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl >= 2.7.0: crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- .../0003-Fix-build-with-LibreSSL-2-7.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch new file mode 100644 index 0000000000..65da979f22 --- /dev/null +++ b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch @@ -0,0 +1,24 @@ +Fix build with LibreSSL 2.7 + +LibreSSL 2.7 implemented OpenSSL 1.1 API + +See also: https://reviews.freebsd.org/D14849#change-KhYbRXBMIBod + +Cheers, +Bernard Spil (brnrd at FreeBSD.org) + +[Retrieved (and backported) from: +https://sourceforge.net/p/trousers/bugs/234] +Signed-off-by: Fabrice Fontaine + +--- ./src/trspi/crypto/openssl/rsa.c.orig 2016-11-23 12:26:19 UTC ++++ ./src/trspi/crypto/openssl/rsa.c +@@ -38,7 +38,7 @@ + #define DEBUG_print_openssl_errors() + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + static int + RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { From peter at korsgaard.com Mon Apr 11 07:16:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:16:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/belr: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220410172403.590419-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:24:03 +0200") References: <20220410172403.590419-1-fontaine.fabrice@gmail.com> Message-ID: <87a6csjdjh.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with BR2_SHARED_STATIC_LIBS: > CMake Error at src/CMakeLists.txt:56 (add_library): > add_library cannot create target "belr" because another target with the > same name already exists. The existing target is a static library created > in source directory > Fixes: > - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb > Signed-off-by: Fabrice Fontaine > --- > package/belr/belr.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > diff --git a/package/belr/belr.mk b/package/belr/belr.mk > index f243830a85..1a849328ec 100644 > --- a/package/belr/belr.mk > +++ b/package/belr/belr.mk > @@ -18,7 +18,7 @@ BELR_CONF_OPTS = \ > ifeq ($(BR2_STATIC_LIBS),y) > BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON > else ifeq ($(BR2_SHARED_STATIC_LIBS),y) > -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON > +BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF > else ifeq ($(BR2_SHARED_LIBS),y) > BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF > endif This makes the BR2_SHARED_STATIC_LIBS and BR2_SHARED_LIBS conditionals the same, so I just changed it to: ifeq ($(BR2_STATIC_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON else # cannot build static and shared together BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF endif And committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:16:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:16:14 +0200 Subject: [Buildroot] [PATCH] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series In-Reply-To: <20220410202442.1249348-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 10 Apr 2022 22:24:42 +0200") References: <20220410202442.1249348-1-peter@korsgaard.com> Message-ID: <875yngjdj5.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:16:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:16:22 +0200 Subject: [Buildroot] [PATCH] package/bind: security bump to version 9.16.27 In-Reply-To: <20220410205111.1336415-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 10 Apr 2022 22:51:10 +0200") References: <20220410205111.1336415-1-peter@korsgaard.com> Message-ID: <871qy4jdix.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issues: > - The rules for acceptance of records into the cache have been tightened to > prevent the possibility of poisoning if forwarders send records outside > the configured bailiwick. (CVE-2021-25220) > - TCP connections with keep-response-order enabled could leave the TCP > sockets in the CLOSE_WAIT state when the client did not properly shut down > the connection. (CVE-2022-0396) > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:15:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:15:19 +0200 Subject: [Buildroot] [git commit] package/belr: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220411070652.14DFB8377B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c9bee083e0baea16eb91af117033d0ff3fd290b1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with BR2_SHARED_STATIC_LIBS: CMake Error at src/CMakeLists.txt:56 (add_library): add_library cannot create target "belr" because another target with the same name already exists. The existing target is a static library created in source directory Fixes: - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb Signed-off-by: Fabrice Fontaine [Peter: simplify/add comment explaining why] Signed-off-by: Peter Korsgaard --- package/belr/belr.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/belr/belr.mk b/package/belr/belr.mk index f243830a85..26b949734f 100644 --- a/package/belr/belr.mk +++ b/package/belr/belr.mk @@ -17,9 +17,8 @@ BELR_CONF_OPTS = \ ifeq ($(BR2_STATIC_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_LIBS),y) +else +# cannot build static and shared together BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF endif From peter at korsgaard.com Mon Apr 11 07:15:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:15:50 +0200 Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series Message-ID: <20220411070652.1FA8883912@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c3ac7eb13346789f9a48e8a302fe92181ff5dde3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index f25b662aa5..4b4ea8d92b 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -125,7 +125,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "5.15.30" if BR2_LINUX_KERNEL_LATEST_VERSION + default "5.15.33" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.104-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.104-cip3-rt3" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 87a0f0465b..cf7ccc5cc5 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 cca7d6e053e33f44af1b39f7becec73a387911d81ede5a84ecf671692533138f linux-5.16.16.tar.xz -sha256 254ea2fe08f0aa07e4f7fffe95d12463df7fa6ff8a9ba72f321da15e50fa7132 linux-5.15.30.tar.xz -sha256 c467c3077946370fb26c9277313b601d6c48bb557abc889f4892caf627fcdfea linux-5.10.107.tar.xz -sha256 61f7cd24cb8a38d41891d9066c1dfd14a688a9dff7f485922e385654ea8b39b9 linux-5.4.186.tar.xz +sha256 da6d2cfa8b5b82d8a17b032a627fc1c7885097523c32cc8a4294745697d59b7e linux-5.16.19.tar.xz +sha256 c30a17e6090f9ebf2d8ff58cd6c92c7324b1f4a8b3aa6a7f68850310af05a9c4 linux-5.15.33.tar.xz +sha256 dbef6a06325433481551cb8cfca9254d908d0ae950bc809f3da8ade00c485693 linux-5.10.110.tar.xz +sha256 9fbc8bfdc28c9fce2307bdf7cf1172c9819df673397a411c40a5c3d0a570fdbc linux-5.4.188.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz -sha256 47470f83aa64e0098830a53176c959740742973663fead7ca7cc7b84e1f9d0f7 linux-4.9.307.tar.xz -sha256 9b6178099cf33c534c971f3f065c0debe92788f0f504d54badb2f8c2ee089d69 linux-4.14.272.tar.xz -sha256 530c5ac848111bbf7d1ad407a4ce8173ef8f9a4554477a32c695c5a4eaf02598 linux-4.19.235.tar.xz +sha256 e86a55a89e1e28756b890b2b78f8b582d05cecb3509ff5c353e9534866468614 linux-4.9.309.tar.xz +sha256 100a9960fb2d8e079c9feeef640715a7fb749ed728a57e427f9e2443212e58f9 linux-4.14.275.tar.xz +sha256 bafff35102cc486ec2bf94c6d908be8e24017b2e4a1873f52f24c855eb220cd8 linux-4.19.237.tar.xz # Locally computed sha256 63e6df81c4a747c60eed535ffc2f6f1ddb0c17ec349e860316d9a700c69ab38e linux-cip-5.10.104-cip3.tar.gz sha256 9a45929d91ebaddbf6a0ef29750775e33d3c3f56f42f0a9e95e77e5b4eba3c6e linux-cip-5.10.104-cip3-rt3.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 479f64b72e..decf02d175 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -381,13 +381,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string default "4.4.302" if BR2_KERNEL_HEADERS_4_4 - default "4.9.307" if BR2_KERNEL_HEADERS_4_9 - default "4.14.272" if BR2_KERNEL_HEADERS_4_14 - default "4.19.235" if BR2_KERNEL_HEADERS_4_19 - default "5.4.186" if BR2_KERNEL_HEADERS_5_4 - default "5.10.107" if BR2_KERNEL_HEADERS_5_10 - default "5.15.30" if BR2_KERNEL_HEADERS_5_15 - default "5.16.16" if BR2_KERNEL_HEADERS_5_16 + default "4.9.309" if BR2_KERNEL_HEADERS_4_9 + default "4.14.275" if BR2_KERNEL_HEADERS_4_14 + default "4.19.237" if BR2_KERNEL_HEADERS_4_19 + default "5.4.188" if BR2_KERNEL_HEADERS_5_4 + default "5.10.110" if BR2_KERNEL_HEADERS_5_10 + default "5.15.33" if BR2_KERNEL_HEADERS_5_15 + default "5.16.19" if BR2_KERNEL_HEADERS_5_16 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Mon Apr 11 07:15:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:15:59 +0200 Subject: [Buildroot] [git commit] package/bind: security bump to version 9.16.27 Message-ID: <20220411070652.29DAA8396A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1fe5029122c8d6aba0194d6b9b0ddcd1fde2ee8d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - The rules for acceptance of records into the cache have been tightened to prevent the possibility of poisoning if forwarders send records outside the configured bailiwick. (CVE-2021-25220) - TCP connections with keep-response-order enabled could leave the TCP sockets in the CLOSE_WAIT state when the client did not properly shut down the connection. (CVE-2022-0396) Signed-off-by: Peter Korsgaard --- package/bind/bind.hash | 4 ++-- package/bind/bind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/bind/bind.hash b/package/bind/bind.hash index 401e389e49..2c10a0429b 100644 --- a/package/bind/bind.hash +++ b/package/bind/bind.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc +# Verified from https://ftp.isc.org/isc/bind9/9.16.27/bind-9.16.27.tar.xz.asc # with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD -sha256 70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45 bind-9.16.26.tar.xz +sha256 90902aaf104c81019d75d6f8b2f7ec40fcd249406f894b44e4a9c6b5e08bf566 bind-9.16.27.tar.xz sha256 daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155 COPYRIGHT diff --git a/package/bind/bind.mk b/package/bind/bind.mk index a595baabc5..5164001ab5 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -4,7 +4,7 @@ # ################################################################################ -BIND_VERSION = 9.16.26 +BIND_VERSION = 9.16.27 BIND_SOURCE= bind-$(BIND_VERSION).tar.xz BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION) # bind does not support parallel builds. From peter at korsgaard.com Mon Apr 11 07:46:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:46:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/lftp: fix build with libressl In-Reply-To: <20220410141043.144288-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 16:10:43 +0200") References: <20220410141043.144288-1-fontaine.fabrice@gmail.com> Message-ID: <87wnfwhxkp.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl > 2.7.0: > /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: > /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): > in function `X509_OBJECT_get0_X509_CRL': > (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; > /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): > first defined here > Fixes: > - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 08:02:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 10:02:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix build with libressl In-Reply-To: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 7 Apr 2022 18:41:14 +0200") References: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> Message-ID: <87sfqkhwt8.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' > Fixes: > - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:45:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:45:56 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/lftp: fix build with libressl Message-ID: <20220411075311.03A6F82A38@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e666b0d743cf55d233e4da04c05f084e8ee59b95 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl > 2.7.0: /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here Fixes: - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit e8394943e80c847793f13555697e0b4c76483322) Signed-off-by: Peter Korsgaard --- ...-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch new file mode 100644 index 0000000000..4251a5e176 --- /dev/null +++ b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch @@ -0,0 +1,36 @@ +From 3ffa0132987bdde986c82c924bc51b13b37f8b54 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 22:56:21 +0200 +Subject: [PATCH] src/lftp_ssl.c: fix build with libressl >= 2.7.0 + +X509_OBJECT_get0_X509_CRL is provided by libressl since version 2.7.0 +and +https://github.com/libressl-portable/openbsd/commit/9866ae34c0af718973475296bd9ef036d3aaa94e +resulting in the following build failure: + +/nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': +(.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here + +Fixes: + - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54] +--- + src/lftp_ssl.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 26e91e4b..a814543d 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -664,7 +664,7 @@ int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int* cert_max + #elif USE_OPENSSL + //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + // for compatibility with older versions + X509_OBJECT *X509_OBJECT_new() + { From peter at korsgaard.com Mon Apr 11 07:46:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:46:59 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/tvheadend: bump version Message-ID: <20220411075311.0D26F8397D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a52018aba6e9c2f201ababcbefdc1b178aebb608 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Removed patch which was applied upstream: https://github.com/tvheadend/tvheadend/commit/fb7b24114685a7e38d842168dce4c613360cd330 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 0846221426b1cefa9e569f1927bc6fed102acb36) Signed-off-by: Peter Korsgaard --- .../0002-configure-add-execinfo-option.patch | 55 ---------------------- package/tvheadend/tvheadend.hash | 2 +- package/tvheadend/tvheadend.mk | 2 +- 3 files changed, 2 insertions(+), 57 deletions(-) diff --git a/package/tvheadend/0002-configure-add-execinfo-option.patch b/package/tvheadend/0002-configure-add-execinfo-option.patch deleted file mode 100644 index c55d127d58..0000000000 --- a/package/tvheadend/0002-configure-add-execinfo-option.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 04c01e631cb1bf47dd50b1ef92a086308e380eff Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 1 Jan 2022 16:53:29 +0100 -Subject: [PATCH] configure: add execinfo option - -Add execinfo option to allow the user to disable the feature even if -execinfo.h is found on the system - -Signed-off-by: Fabrice Fontaine -[Upsteam status: https://github.com/tvheadend/tvheadend/pull/1431] ---- - configure | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 4dad024c4..c087502bf 100755 ---- a/configure -+++ b/configure -@@ -75,6 +75,7 @@ OPTIONS=( - "ddci:yes" - "cclang_threadsan:no" - "gperftools:no" -+ "execinfo:auto" - ) - - # -@@ -150,11 +151,23 @@ if [ ${PLATFORM} = "freebsd" ]; then - # If we don't have libunwind then fallback to execinfo. - if ! enabled libunwind - then -- check_cc_header execinfo -+ if enabled_or_auto execinfo; then -+ if check_cc_header execinfo; then -+ enable execinfo -+ else -+ die "execinfo.h not found (use --disable-execinfo)" -+ fi -+ fi - fi - - else -- check_cc_header execinfo -+ if enabled_or_auto execinfo; then -+ if check_cc_header execinfo; then -+ enable execinfo -+ else -+ die "execinfo.h not found (use --disable-execinfo)" -+ fi -+ fi - fi - check_cc_option mmx - check_cc_option sse2 --- -2.33.0 - diff --git a/package/tvheadend/tvheadend.hash b/package/tvheadend/tvheadend.hash index db06af53b7..44ff745221 100644 --- a/package/tvheadend/tvheadend.hash +++ b/package/tvheadend/tvheadend.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 11eeca461e74fbe8306916933cab96d35a99fa89d81e26126e194875c41b6fad tvheadend-b8710206eb073c72b142bce95846b77a0ffa34a6.tar.gz +sha256 10b8e8387cf341a8c639b3ecbab17dd245dc109afd6c99ca6b7fc3f2b5efc50e tvheadend-1295dd2be863f5beb764290fce9317b24193dfc0.tar.gz sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index 58ebdcb054..d2547b8746 100644 --- a/package/tvheadend/tvheadend.mk +++ b/package/tvheadend/tvheadend.mk @@ -4,7 +4,7 @@ # ################################################################################ -TVHEADEND_VERSION = b8710206eb073c72b142bce95846b77a0ffa34a6 +TVHEADEND_VERSION = 1295dd2be863f5beb764290fce9317b24193dfc0 TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) TVHEADEND_LICENSE = GPL-3.0+ TVHEADEND_LICENSE_FILES = LICENSE.md From johannes.agricola at work-microwave.com Mon Apr 11 08:23:09 2022 From: johannes.agricola at work-microwave.com (Johannes Agricola) Date: Mon, 11 Apr 2022 10:23:09 +0200 Subject: [Buildroot] [PATCH v2] package/libwebsockets: bump to version 4.3.1 Message-ID: <20220411082308.1528455-1-johannes.agricola@work-microwave.com> This is quite a version jump, so there are a lot of individual changes, see: https://github.com/warmcat/libwebsockets/blob/v4.3.1/changelog LICENSE has also changed: - More items with license "MIT" were added: - lib/misc/base64-decode.c - lib/plat/windows/windows-resolv.c - One more item with a 2-Clause BSD license was added: - lib/misc/ieeehalfprecision.c - Sublicense texts were copied into LICENSE These should still be compatible with "MIT with exceptions" stated in `libwebsockets.mk`. Signed-off-by: Johannes Agricola --- Changes v1 -> v2: - Update LICENSE hash - Add changelog and LICENSE changes to commit message --- package/libwebsockets/libwebsockets.hash | 4 ++-- package/libwebsockets/libwebsockets.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash index 1761a7658a..e39d6e1853 100644 --- a/package/libwebsockets/libwebsockets.hash +++ b/package/libwebsockets/libwebsockets.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 6ece1f422c6d38aabedec2476f2ac12e9aede8691b08137068ad85545ce3ff78 libwebsockets-4.0.21.tar.gz -sha256 5756db345eb9c21cb06dd7cb69c38ec234657a233f9a186b4f5fa453681bd394 LICENSE +sha256 8fdb1454a1b34cd9a6351beaab237a485e6853806101de7e62bd2bc250bb50af libwebsockets-4.3.1.tar.gz +sha256 2b5dd8030691f3d1870a040f085c37e45d9ab9c684a7f1284f5f379c1e829b28 LICENSE diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index c25686d385..152659cee6 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBWEBSOCKETS_VERSION = 4.0.21 +LIBWEBSOCKETS_VERSION = 4.3.1 LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION)) LIBWEBSOCKETS_LICENSE = MIT with exceptions LIBWEBSOCKETS_LICENSE_FILES = LICENSE -- 2.25.1 From yegorslists at googlemail.com Mon Apr 11 09:07:23 2022 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Mon, 11 Apr 2022 11:07:23 +0200 Subject: [Buildroot] [PATCH] package/wpa_supplicant: enable libnl for the WIRED driver Message-ID: <20220411090723.13504-1-yegorslists@googlemail.com> From: Yegor Yefremov BR2_PACKAGE_WPA_SUPPLICANT_WIRED also enables the MACSEC_LINUX driver. This driver requires libnl. Also fix CONFIG_DRIVER_MACSEC option to enable only the generic Linux driver and not QCA extensions. Fixes: http://autobuild.buildroot.net/results/2dea7dee521794b306cc610601fda322987e6cd0 Signed-off-by: Yegor Yefremov --- package/wpa_supplicant/Config.in | 2 ++ package/wpa_supplicant/wpa_supplicant.mk | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index 8f095cdf2d..0094531548 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -41,6 +41,8 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WEXT config BR2_PACKAGE_WPA_SUPPLICANT_WIRED bool "Enable wired support" + depends on BR2_TOOLCHAIN_HAS_THREADS # libnl + select BR2_PACKAGE_LIBNL select BR2_PACKAGE_WPA_SUPPLICANT_EAP help Include the "wired" driver, so the internal IEEE 802.1x diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index a2ca8a0b30..ac66d1f7e0 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -63,11 +63,18 @@ WPA_SUPPLICANT_CONFIG_DISABLE += \ CONFIG_FILS endif -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIRED),) +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIRED),y) +WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf libnl +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_LIBNL32 +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_DRIVER_WIRED \ + CONFIG_MACSEC \ + CONFIG_DRIVER_MACSEC_LINUX +else WPA_SUPPLICANT_CONFIG_DISABLE += \ CONFIG_DRIVER_WIRED \ CONFIG_MACSEC \ - CONFIG_DRIVER_MACSEC + CONFIG_DRIVER_MACSEC_LINUX endif ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT),) -- 2.17.0 From peter at korsgaard.com Mon Apr 11 09:42:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:42:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/woff2: use github helper In-Reply-To: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 20:55:52 +0200") References: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> Message-ID: <87o818hs6j.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:42:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:42:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/spice: needs C++ In-Reply-To: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 21:14:38 +0200") References: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> Message-ID: <87k0bwhs67.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > spice needs C++ since bump to version 0.15.0 in commit > b784f1bc0fc3ac33a20549069a81ff98260b58e9 and > https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: > configure: error: *** A compiler with support for C++11 language features is required. > Fixes: > - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:43:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:43:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/stunnel: doesn't build with libressl In-Reply-To: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 19:25:37 +0200") References: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> Message-ID: <87fsmkhs5r.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > In file included from tls.c:39: > prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' > 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; > | ^~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:43:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:43:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-gmmlib: needs C++ In-Reply-To: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:23:44 +0200") References: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> Message-ID: <87bkx8hs4w.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > intel-gmmlib needs C++ since its addition in commit > 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and > https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: > CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > "/usr/bin/clang++" > is not able to compile a simple test program. > Fixes: > - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:44:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:44:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/liburing: needs MMU In-Reply-To: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 5 Apr 2022 22:40:04 +0200") References: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> Message-ID: <877d7whs49.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > liburing needs MMU since its addition in commit > 03ca6f4e39874583060317e7e15e9e360220877e: > setup.c: In function 'io_uring_ring_dontfork': > setup.c:119:8: warning: implicit declaration of function 'madvise'; > did you mean 'raise'? [-Wimplicit-function-declaration] > 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); > | ^~~~~~~ > | raise > Fixes: > - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:44:48 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:44:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix build with zlib In-Reply-To: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:28:28 +0200") References: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> Message-ID: <8735ikhs33.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > internal bind is in version 9.11 and so doesn't support pkg-config > like bind 9.16 resulting in the following build failure since commit > 0c8dd6ebd656e06cf99a63eb93343715f4853503: > configure: error: include/zlib.h not found. > Fixes: > - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:45:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:45:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: needs threads In-Reply-To: <20220410202112.866702-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 22:21:12 +0200") References: <20220410202112.866702-1-fontaine.fabrice@gmail.com> Message-ID: <87y20cgdi3.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > valgrind needs threads since the addition of vgdb in > https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: > vgdb.c:37:10: fatal error: pthread.h: No such file or directory > 37 | #include > | ^~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:45:34 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:45:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/trousers: fix build with libressl >= 2.7.0 In-Reply-To: <20220410154329.294878-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 17:43:29 +0200") References: <20220410154329.294878-1-fontaine.fabrice@gmail.com> Message-ID: <87tub0gdhd.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl >= 2.7.0: > crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration > 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) > | ^~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:46:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:46:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/belr: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220410172403.590419-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:24:03 +0200") References: <20220410172403.590419-1-fontaine.fabrice@gmail.com> Message-ID: <87pmlogdgc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with BR2_SHARED_STATIC_LIBS: > CMake Error at src/CMakeLists.txt:56 (add_library): > add_library cannot create target "belr" because another target with the > same name already exists. The existing target is a static library created > in source directory > Fixes: > - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:41:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:41:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/woff2: use github helper Message-ID: <20220411093636.DBB2D838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=74399277a5a077973b3b86e5f9dde4b93f056f86 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro Signed-off-by: Peter Korsgaard (cherry picked from commit 4b1080d57ae642bd5d4b5783c49d4ba49f13dfe8) Signed-off-by: Peter Korsgaard --- package/woff2/woff2.hash | 2 +- package/woff2/woff2.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash index 469071e3c2..0812dabcf1 100644 --- a/package/woff2/woff2.hash +++ b/package/woff2/woff2.hash @@ -1,5 +1,5 @@ # Locally generated: -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz # Hash for license files: sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk index b2ff33fe98..937e8cf736 100644 --- a/package/woff2/woff2.mk +++ b/package/woff2/woff2.mk @@ -5,8 +5,7 @@ ################################################################################ WOFF2_VERSION = 1.0.2 -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz -WOFF2_SITE = https://github.com/google/woff2/archive +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) WOFF2_LICENSE = MIT WOFF2_LICENSE_FILES = LICENSE WOFF2_INSTALL_STAGING = YES From peter at korsgaard.com Mon Apr 11 09:42:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:42:02 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/spice: needs C++ Message-ID: <20220411093636.E994883984@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1424a67d0a8279a126f4bd87accbd5de8718be2b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x spice needs C++ since bump to version 0.15.0 in commit b784f1bc0fc3ac33a20549069a81ff98260b58e9 and https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: configure: error: *** A compiler with support for C++11 language features is required. Fixes: - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 35be926c97836989d6cecbc7ecb49f9c9bd46eba) Signed-off-by: Peter Korsgaard --- package/spice/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index 2241b55b3d..ca5c562ca1 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -1,12 +1,14 @@ -comment "spice server needs a toolchain w/ wchar, threads" +comment "spice server needs a toolchain w/ wchar, threads, C++" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_SPICE bool "spice server" depends on BR2_i386 || BR2_x86_64 depends on BR2_USE_WCHAR # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_JPEG select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL From peter at korsgaard.com Mon Apr 11 09:43:24 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:43:24 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/intel-gmmlib: needs C++ Message-ID: <20220411093637.1579883984@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5f5d54f0cf7c0619923b853a2009d68c07fbe1cc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x intel-gmmlib needs C++ since its addition in commit 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c0aaf9cc9e85f63ab4334db8c6deca25e6f8e878) Signed-off-by: Peter Korsgaard --- package/intel-gmmlib/Config.in | 5 +++-- package/intel-mediadriver/Config.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/intel-gmmlib/Config.in b/package/intel-gmmlib/Config.in index 9d5fbd9cae..b6f93f7416 100644 --- a/package/intel-gmmlib/Config.in +++ b/package/intel-gmmlib/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_INTEL_GMMLIB bool "intel-gmmlib" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP help The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) @@ -10,5 +11,5 @@ config BR2_PACKAGE_INTEL_GMMLIB https://github.com/intel/gmmlib -comment "intel-gmmlib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "intel-gmmlib needs a toolchain w/ dynamic library, C++" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/intel-mediadriver/Config.in b/package/intel-mediadriver/Config.in index c29c2fb6ab..ad56590008 100644 --- a/package/intel-mediadriver/Config.in +++ b/package/intel-mediadriver/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER bool "intel-mediadriver" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS # mesa3d, libva - depends on BR2_INSTALL_LIBSTDCPP # mesa3d + depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d depends on BR2_TOOLCHAIN_HAS_THREADS # libva depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d From peter at korsgaard.com Mon Apr 11 09:44:58 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:44:58 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/valgrind: needs threads Message-ID: <20220411093637.3F8E5838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=117b6c1161ffff1574691bf0ff8b9e79e397c080 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x valgrind needs threads since the addition of vgdb in https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: vgdb.c:37:10: fatal error: pthread.h: No such file or directory 37 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 2364dafa70245a838f6bfbb95dfc2992e0750a01) Signed-off-by: Peter Korsgaard --- package/valgrind/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 56e4af21fa..700849130f 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -7,14 +7,15 @@ config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le depends on !BR2_MIPS_SOFT_FLOAT -comment "valgrind needs a toolchain w/ dynamic library" +comment "valgrind needs a toolchain w/ dynamic library, threads" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_VALGRIND bool "valgrind" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS help Tool for debugging and profiling Linux programs. From peter at korsgaard.com Mon Apr 11 09:43:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:43:55 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/liburing: needs MMU Message-ID: <20220411093637.2562A8026C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=74ebf870111f0f3ea95c7daa13637866de8f59a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x liburing needs MMU since its addition in commit 03ca6f4e39874583060317e7e15e9e360220877e: setup.c: In function 'io_uring_ring_dontfork': setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); | ^~~~~~~ | raise Fixes: - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit b5f07f62eb0392c3bddd63ac16d12adec7e98812) Signed-off-by: Peter Korsgaard --- package/liburing/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/liburing/Config.in b/package/liburing/Config.in index d65a3f1322..fc13f1c17c 100644 --- a/package/liburing/Config.in +++ b/package/liburing/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBURING bool "liburing" + depends on BR2_USE_MMU # madvise() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 help @@ -11,5 +12,6 @@ config BR2_PACKAGE_LIBURING https://git.kernel.dk/cgit/liburing comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 From peter at korsgaard.com Mon Apr 11 09:42:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:42:19 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/stunnel: doesn't build with libressl Message-ID: <20220411093637.03A11838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=26564c4427e3d27cb31f751b3a1b5c7f58e5cbf0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl: In file included from tls.c:39: prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit e4032672736614397c803584ba7bb8a20ae1896e) Signed-off-by: Peter Korsgaard --- package/stunnel/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/stunnel/Config.in b/package/stunnel/Config.in index 087fecd930..a46e2f0316 100644 --- a/package/stunnel/Config.in +++ b/package/stunnel/Config.in @@ -2,7 +2,8 @@ config BR2_PACKAGE_STUNNEL bool "stunnel" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES help Stunnel is a program that wraps any TCP connection with an SSL connection. From peter at korsgaard.com Mon Apr 11 09:46:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:46:02 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/belr: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220411093637.55DD0838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fd87c506cb44dcd9d38800ba5712f2d45ae8069f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with BR2_SHARED_STATIC_LIBS: CMake Error at src/CMakeLists.txt:56 (add_library): add_library cannot create target "belr" because another target with the same name already exists. The existing target is a static library created in source directory Fixes: - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb Signed-off-by: Fabrice Fontaine [Peter: simplify/add comment explaining why] Signed-off-by: Peter Korsgaard (cherry picked from commit c9bee083e0baea16eb91af117033d0ff3fd290b1) Signed-off-by: Peter Korsgaard --- package/belr/belr.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/belr/belr.mk b/package/belr/belr.mk index f243830a85..26b949734f 100644 --- a/package/belr/belr.mk +++ b/package/belr/belr.mk @@ -17,9 +17,8 @@ BELR_CONF_OPTS = \ ifeq ($(BR2_STATIC_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_LIBS),y) +else +# cannot build static and shared together BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF endif From peter at korsgaard.com Mon Apr 11 09:44:34 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:44:34 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/dhcp: fix build with zlib Message-ID: <20220411093637.3234483984@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0397064a9a147903e9e0c16b2506319ea4a246fb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x internal bind is in version 9.11 and so doesn't support pkg-config like bind 9.16 resulting in the following build failure since commit 0c8dd6ebd656e06cf99a63eb93343715f4853503: configure: error: include/zlib.h not found. Fixes: - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 789a08dac5808401629d6fc586b7377f54ebb316) Signed-off-by: Peter Korsgaard --- package/dhcp/dhcp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f1e3c22f1c..460e62a81c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -42,7 +42,7 @@ DHCP_CONF_OPTS = \ --with-relay6-pid-file=/var/run/dhcrelay6.pid ifeq ($(BR2_PACKAGE_ZLIB),y) -DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_BIND_EXTRA_CONFIG += --with-zlib=$(STAGING_DIR)/usr DHCP_DEPENDENCIES += zlib else DHCP_BIND_EXTRA_CONFIG += --without-zlib From peter at korsgaard.com Mon Apr 11 09:45:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:45:25 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/trousers: fix build with libressl >= 2.7.0 Message-ID: <20220411093637.4AB4A83984@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c60a3579855b31718e6bd2717754d4aa869ae009 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl >= 2.7.0: crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 2d4a9308d7b16e4fd613a9070a97c9effa055b4b) Signed-off-by: Peter Korsgaard --- .../0003-Fix-build-with-LibreSSL-2-7.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch new file mode 100644 index 0000000000..65da979f22 --- /dev/null +++ b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch @@ -0,0 +1,24 @@ +Fix build with LibreSSL 2.7 + +LibreSSL 2.7 implemented OpenSSL 1.1 API + +See also: https://reviews.freebsd.org/D14849#change-KhYbRXBMIBod + +Cheers, +Bernard Spil (brnrd at FreeBSD.org) + +[Retrieved (and backported) from: +https://sourceforge.net/p/trousers/bugs/234] +Signed-off-by: Fabrice Fontaine + +--- ./src/trspi/crypto/openssl/rsa.c.orig 2016-11-23 12:26:19 UTC ++++ ./src/trspi/crypto/openssl/rsa.c +@@ -38,7 +38,7 @@ + #define DEBUG_print_openssl_errors() + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + static int + RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { From marcus.hoffmann at othermo.de Mon Apr 11 12:28:51 2022 From: marcus.hoffmann at othermo.de (Marcus Hoffmann) Date: Mon, 11 Apr 2022 14:28:51 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <20220405185320.319C18361B@busybox.osuosl.org> References: <20220405185320.319C18361B@busybox.osuosl.org> Message-ID: <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> Hi Peter, On 05.04.22 19:28, Peter Korsgaard wrote: > commit: https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > > Fixes the following security issues: > > - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes > https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 > > - CVE-2022-24769: Default inheritable capabilities for linux container > should be empty > https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c > > Signed-off-by: Peter Korsgaard > --- > package/containerd/containerd.hash | 2 +- > package/containerd/containerd.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash > index d5aafe2e70..23dacded88 100644 > --- a/package/containerd/containerd.hash > +++ b/package/containerd/containerd.hash > @@ -1,3 +1,3 @@ > # Computed locally > -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz > +sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz I get a different hash for this download, both within buildroot as well as downloading the file manually from github: ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 ERROR: got : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 ERROR: Incomplete download, or man-in-the-middle (MITM) attack Did the file change in the meantime or did something else go wrong here? Should send a patch changing the hash to 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? > [...] Best, Marcus From theo.lebrun at bootlin.com Mon Apr 11 13:01:06 2022 From: theo.lebrun at bootlin.com (=?UTF-8?q?Th=C3=A9o=20Lebrun?=) Date: Mon, 11 Apr 2022 15:01:06 +0200 Subject: [Buildroot] [PATCH] package/wireplumber: make dbus optional Message-ID: <20220411130106.468304-1-theo.lebrun@bootlin.com> Signed-off-by: Th?o Lebrun --- package/wireplumber/wireplumber.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/wireplumber/wireplumber.mk b/package/wireplumber/wireplumber.mk index 327138391d..763e3d7639 100644 --- a/package/wireplumber/wireplumber.mk +++ b/package/wireplumber/wireplumber.mk @@ -9,13 +9,17 @@ WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2 WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION) WIREPLUMBER_LICENSE = MIT WIREPLUMBER_LICENSE_FILES = LICENSE -WIREPLUMBER_DEPENDENCIES = host-pkgconf dbus pipewire libglib2 lua +WIREPLUMBER_DEPENDENCIES = host-pkgconf pipewire libglib2 lua WIREPLUMBER_CONF_OPTS = \ -Ddoc=disabled \ -Dsystem-lua=true \ -Dsystem-lua-version= +ifeq ($(BR2_PACKAGE_DBUS),y) +WIREPLUMBER_DEPENDENCIES += dbus +endif + ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) WIREPLUMBER_DEPENDENCIES += host-doxygen host-python-lxml gobject-introspection WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled -- 2.35.1 From peter at korsgaard.com Mon Apr 11 13:32:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 15:32:40 +0200 Subject: [Buildroot] [PATCH] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series In-Reply-To: <20220410202442.1249348-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 10 Apr 2022 22:24:42 +0200") References: <20220410202442.1249348-1-peter@korsgaard.com> Message-ID: <87lewbhhjb.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Signed-off-by: Peter Korsgaard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 13:32:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 15:32:10 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series Message-ID: <20220411132308.494E38349B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2084453706fe5c95117d0acd251dc36c1da3a57a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit c3ac7eb13346789f9a48e8a302fe92181ff5dde3) Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index f25b662aa5..4b4ea8d92b 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -125,7 +125,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "5.15.30" if BR2_LINUX_KERNEL_LATEST_VERSION + default "5.15.33" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.104-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.104-cip3-rt3" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 87a0f0465b..cf7ccc5cc5 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 cca7d6e053e33f44af1b39f7becec73a387911d81ede5a84ecf671692533138f linux-5.16.16.tar.xz -sha256 254ea2fe08f0aa07e4f7fffe95d12463df7fa6ff8a9ba72f321da15e50fa7132 linux-5.15.30.tar.xz -sha256 c467c3077946370fb26c9277313b601d6c48bb557abc889f4892caf627fcdfea linux-5.10.107.tar.xz -sha256 61f7cd24cb8a38d41891d9066c1dfd14a688a9dff7f485922e385654ea8b39b9 linux-5.4.186.tar.xz +sha256 da6d2cfa8b5b82d8a17b032a627fc1c7885097523c32cc8a4294745697d59b7e linux-5.16.19.tar.xz +sha256 c30a17e6090f9ebf2d8ff58cd6c92c7324b1f4a8b3aa6a7f68850310af05a9c4 linux-5.15.33.tar.xz +sha256 dbef6a06325433481551cb8cfca9254d908d0ae950bc809f3da8ade00c485693 linux-5.10.110.tar.xz +sha256 9fbc8bfdc28c9fce2307bdf7cf1172c9819df673397a411c40a5c3d0a570fdbc linux-5.4.188.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz -sha256 47470f83aa64e0098830a53176c959740742973663fead7ca7cc7b84e1f9d0f7 linux-4.9.307.tar.xz -sha256 9b6178099cf33c534c971f3f065c0debe92788f0f504d54badb2f8c2ee089d69 linux-4.14.272.tar.xz -sha256 530c5ac848111bbf7d1ad407a4ce8173ef8f9a4554477a32c695c5a4eaf02598 linux-4.19.235.tar.xz +sha256 e86a55a89e1e28756b890b2b78f8b582d05cecb3509ff5c353e9534866468614 linux-4.9.309.tar.xz +sha256 100a9960fb2d8e079c9feeef640715a7fb749ed728a57e427f9e2443212e58f9 linux-4.14.275.tar.xz +sha256 bafff35102cc486ec2bf94c6d908be8e24017b2e4a1873f52f24c855eb220cd8 linux-4.19.237.tar.xz # Locally computed sha256 63e6df81c4a747c60eed535ffc2f6f1ddb0c17ec349e860316d9a700c69ab38e linux-cip-5.10.104-cip3.tar.gz sha256 9a45929d91ebaddbf6a0ef29750775e33d3c3f56f42f0a9e95e77e5b4eba3c6e linux-cip-5.10.104-cip3-rt3.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 479f64b72e..decf02d175 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -381,13 +381,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string default "4.4.302" if BR2_KERNEL_HEADERS_4_4 - default "4.9.307" if BR2_KERNEL_HEADERS_4_9 - default "4.14.272" if BR2_KERNEL_HEADERS_4_14 - default "4.19.235" if BR2_KERNEL_HEADERS_4_19 - default "5.4.186" if BR2_KERNEL_HEADERS_5_4 - default "5.10.107" if BR2_KERNEL_HEADERS_5_10 - default "5.15.30" if BR2_KERNEL_HEADERS_5_15 - default "5.16.16" if BR2_KERNEL_HEADERS_5_16 + default "4.9.309" if BR2_KERNEL_HEADERS_4_9 + default "4.14.275" if BR2_KERNEL_HEADERS_4_14 + default "4.19.237" if BR2_KERNEL_HEADERS_4_19 + default "5.4.188" if BR2_KERNEL_HEADERS_5_4 + default "5.10.110" if BR2_KERNEL_HEADERS_5_10 + default "5.15.33" if BR2_KERNEL_HEADERS_5_15 + default "5.16.19" if BR2_KERNEL_HEADERS_5_16 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Mon Apr 11 13:32:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 15:32:45 +0200 Subject: [Buildroot] [PATCH] package/bind: security bump to version 9.16.27 In-Reply-To: <20220410205111.1336415-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 10 Apr 2022 22:51:10 +0200") References: <20220410205111.1336415-1-peter@korsgaard.com> Message-ID: <87h76zhhj6.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issues: > - The rules for acceptance of records into the cache have been tightened to > prevent the possibility of poisoning if forwarders send records outside > the configured bailiwick. (CVE-2021-25220) > - TCP connections with keep-response-order enabled could leave the TCP > sockets in the CLOSE_WAIT state when the client did not properly shut down > the connection. (CVE-2022-0396) > Signed-off-by: Peter Korsgaard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 13:32:28 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 15:32:28 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/bind: security bump to version 9.16.27 Message-ID: <20220411132308.58CF581121@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ffe31cfec703c12e3d7c5840a5b63040e374a873 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes the following security issues: - The rules for acceptance of records into the cache have been tightened to prevent the possibility of poisoning if forwarders send records outside the configured bailiwick. (CVE-2021-25220) - TCP connections with keep-response-order enabled could leave the TCP sockets in the CLOSE_WAIT state when the client did not properly shut down the connection. (CVE-2022-0396) Signed-off-by: Peter Korsgaard (cherry picked from commit 1fe5029122c8d6aba0194d6b9b0ddcd1fde2ee8d) Signed-off-by: Peter Korsgaard --- package/bind/bind.hash | 4 ++-- package/bind/bind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/bind/bind.hash b/package/bind/bind.hash index 401e389e49..2c10a0429b 100644 --- a/package/bind/bind.hash +++ b/package/bind/bind.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc +# Verified from https://ftp.isc.org/isc/bind9/9.16.27/bind-9.16.27.tar.xz.asc # with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD -sha256 70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45 bind-9.16.26.tar.xz +sha256 90902aaf104c81019d75d6f8b2f7ec40fcd249406f894b44e4a9c6b5e08bf566 bind-9.16.27.tar.xz sha256 daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155 COPYRIGHT diff --git a/package/bind/bind.mk b/package/bind/bind.mk index a595baabc5..5164001ab5 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -4,7 +4,7 @@ # ################################################################################ -BIND_VERSION = 9.16.26 +BIND_VERSION = 9.16.27 BIND_SOURCE= bind-$(BIND_VERSION).tar.xz BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION) # bind does not support parallel builds. From fontaine.fabrice at gmail.com Mon Apr 11 16:21:07 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 18:21:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/shadowsocks-libev: fix maybe-uninitialized errors Message-ID: <20220411162107.8704-1-fontaine.fabrice@gmail.com> Fix the following build failure: local.c: In function 'create_and_bind': local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] 218 | return listen_sock; | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 Signed-off-by: Fabrice Fontaine --- .../0002-fix-maybe-uninitialized-errors.patch | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch diff --git a/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch new file mode 100644 index 0000000000..5275323e65 --- /dev/null +++ b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch @@ -0,0 +1,93 @@ +From 0c23224e926463b1097414979367655a27fa6d60 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 7 Apr 2022 18:27:58 +0200 +Subject: [PATCH] fix maybe-uninitialized errors + +Set {listen,server}_sock to -1 when needed as already done in +src/manager.c by commit ecf1fcc84594b09ed2d61e3677cd8e62bd897ccb to +avoid the following build failure: + +local.c: In function 'create_and_bind': +local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] + 218 | return listen_sock; + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/shadowsocks/shadowsocks-libev/commit/0c23224e926463b1097414979367655a27fa6d60] +--- + src/local.c | 2 +- + src/redir.c | 2 +- + src/server.c | 2 +- + src/tunnel.c | 2 +- + src/udprelay.c | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/local.c b/src/local.c +index b1ab040bb..47d634ce5 100644 +--- a/src/local.c ++++ b/src/local.c +@@ -168,7 +168,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/redir.c b/src/redir.c +index 4a5a489f0..e60bd4870 100644 +--- a/src/redir.c ++++ b/src/redir.c +@@ -147,7 +147,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/server.c b/src/server.c +index e9cdc2619..073e38b22 100644 +--- a/src/server.c ++++ b/src/server.c +@@ -550,7 +550,7 @@ create_and_bind(const char *host, const char *port, int mptcp) + { + struct addrinfo hints; + struct addrinfo *result, *rp, *ipv4v6bindall; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/tunnel.c b/src/tunnel.c +index e0886bdb9..6641fe62a 100644 +--- a/src/tunnel.c ++++ b/src/tunnel.c +@@ -129,7 +129,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/udprelay.c b/src/udprelay.c +index 23a042497..580ad4bd8 100644 +--- a/src/udprelay.c ++++ b/src/udprelay.c +@@ -446,7 +446,7 @@ create_server_socket(const char *host, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp, *ipv4v6bindall; +- int s, server_sock; ++ int s, server_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ -- 2.35.1 From bugzilla at busybox.net Mon Apr 11 17:02:33 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 11 Apr 2022 17:02:33 +0000 Subject: [Buildroot] [Bug 14751] New: LVM2 Outdated Link Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14751 Bug ID: 14751 Summary: LVM2 Outdated Link Product: buildroot Version: 2022.02 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Outdated package Assignee: unassigned at buildroot.uclibc.org Reporter: olliesharratt34 at gmail.com CC: buildroot at uclibc.org Target Milestone: --- Attempting to build LVM2 fails as http://sources.redhat.com/ is completely down. In my environment, I updated the LVM link to https://sourceware.org/ftp/lvm2/ and updated the hash which fixed the problem and allowed my filesystem to build. -- You are receiving this mail because: You are on the CC list for the bug. From arnout at mind.be Mon Apr 11 17:03:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 11 Apr 2022 19:03:37 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> Message-ID: <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> On 11/04/2022 14:28, Marcus Hoffmann wrote: > Hi Peter, > > On 05.04.22 19:28, Peter Korsgaard wrote: >> commit: >> https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 >> >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master >> >> Fixes the following security issues: >> >> - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes >> >> https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 >> >> - CVE-2022-24769: Default inheritable capabilities for linux container >> ?? should be empty >> >> https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c >> >> Signed-off-by: Peter Korsgaard >> --- >> ? package/containerd/containerd.hash | 2 +- >> ? package/containerd/containerd.mk?? | 2 +- >> ? 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/package/containerd/containerd.hash >> b/package/containerd/containerd.hash >> index d5aafe2e70..23dacded88 100644 >> --- a/package/containerd/containerd.hash >> +++ b/package/containerd/containerd.hash >> @@ -1,3 +1,3 @@ >> ? # Computed locally >> -sha256? 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 >> containerd-1.5.9.tar.gz >> +sha256? 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 >> containerd-1.5.11.tar.gz > > I get a different hash for this download, both within buildroot as well as > downloading the file manually from github: > > ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: > ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > ERROR: got???? : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 > ERROR: Incomplete download, or man-in-the-middle (MITM) attack > > > Did the file change in the meantime or did something else go wrong here? It also goes wrong in the autobuilders (this one on master, before I merged the bump to 1.6.2) [1] > Should send a patch changing the hash to > 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? Let's first allow Peter to check what exactly went wrong. He should have a local download with the hash he pushed so he can compare what changed. I looked at the github repo, and it says that it was tagged on March 24, i.e. before Peter did the bump to 1.5.11. So it doesn't look like they updated the tag. Regards, Arnout 1] http://autobuild.buildroot.net/results/b5d/b5dcd56490e807db9e92e3bbbd6753738132db57/build-end.log > > > [...] > > Best, > Marcus > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From flaniel at linux.microsoft.com Mon Apr 11 18:06:52 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 11 Apr 2022 19:06:52 +0100 Subject: [Buildroot] [RFC PATCH v1 1/2] tbb: new package In-Reply-To: References: <20220407182425.194001-1-flaniel@linux.microsoft.com> <20220407182425.194001-2-flaniel@linux.microsoft.com> Message-ID: <2625093.mvXUDI8C0e@pwmachine> Le samedi 9 avril 2022, 14:42:59 BST Arnout Vandecappelle a ?crit : > Hi Francis, Hi > Thank you for this patch. I applied to master but with quite a few > changes. You are welcome and thank you for the modifications, they made the contribution better and I learnt some few tricks to make better buildroot contribution! > On 07/04/2022 20:24, Francis Laniel wrote: > > From: bradford barr > > > > Intel Threading Building Blocks (TBB), is a C++ library to help developers > > write highly parallelized applications. OpenCV uses it to accelerate some > > of it's more heavy weight procedures. > > > > Signed-off-by: bradford barr > > Signed-off-by: Francis Laniel > > --- > > > > DEVELOPERS | 1 + > > package/Config.in | 1 + > > .../0001-tbb-Enable-cross-compilation.patch | 55 +++++++++++++++++++ > > package/tbb/Config.in | 16 ++++++ > > package/tbb/tbb.hash | 2 + > > package/tbb/tbb.mk | 39 +++++++++++++ > > 6 files changed, 114 insertions(+) > > create mode 100644 package/tbb/0001-tbb-Enable-cross-compilation.patch > > create mode 100644 package/tbb/Config.in > > create mode 100644 package/tbb/tbb.hash > > create mode 100644 package/tbb/tbb.mk > > > > diff --git a/DEVELOPERS b/DEVELOPERS > > index a66b9d7eee..ef4ddcab50 100644 > > --- a/DEVELOPERS > > +++ b/DEVELOPERS > > @@ -970,6 +970,7 @@ F: package/odhcploc/ > > > > N: Francis Laniel > > F: package/pahole/ > > > > +F: package/tbb/ > > > > N: Francisco Gonzalez > > F: package/ser2net/ > > > > diff --git a/package/Config.in b/package/Config.in > > index 0d5d763180..24f7af5ea8 100644 > > --- a/package/Config.in > > +++ b/package/Config.in > > @@ -2044,6 +2044,7 @@ endif > > > > source "package/skalibs/Config.in" > > source "package/sphinxbase/Config.in" > > source "package/startup-notification/Config.in" > > > > + source "package/tbb/Config.in" > > > > source "package/tinycbor/Config.in" > > source "package/tz/Config.in" > > source "package/tzdata/Config.in" > > > > diff --git a/package/tbb/0001-tbb-Enable-cross-compilation.patch > > b/package/tbb/0001-tbb-Enable-cross-compilation.patch new file mode > > 100644 > > index 0000000000..652d59c47b > > --- /dev/null > > +++ b/package/tbb/0001-tbb-Enable-cross-compilation.patch > > @@ -0,0 +1,55 @@ > > +From 42c3faff14917f687aab405d8f571e352ffdf3f5 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Wed, 6 Apr 2022 15:58:02 +0100 > > +Subject: [PATCH] tbb: Enable cross-compilation. > > + > > +This patch replaces hardcoded value for CPLUS and CONLY with $(CXX) and > > $(CC). +So, by defining CC= it is possible to cross compile this library > > using a +cross-compiler. > > + > > +This patch was originally written by: > > +Marcin Juszkiewicz > > +and taken from: > > +https://github.com/intel/luv-yocto/blob/3b0688bc9a5e8d52b6ca461b15fb4abd3 > > eaaf7a8/meta-oe/recipes-support/tbb/tbb/cross-compile.patch + > > +Signed-off-by: Francis Laniel > > +--- > > + build/linux.clang.inc | 5 +++-- > > + build/linux.gcc.inc | 5 +++-- > > + 2 files changed, 6 insertions(+), 4 deletions(-) > > + > > +diff --git a/build/linux.clang.inc b/build/linux.clang.inc > > +index 5a459ef5..a0777db5 100644 > > +--- a/build/linux.clang.inc > > ++++ b/build/linux.clang.inc > > +@@ -31,8 +31,9 @@ DYLIB_KEY = -shared > > + EXPORT_KEY = -Wl,--version-script, > > + LIBDL = -ldl > > + > > +-CPLUS = clang++ > > +-CONLY = clang > > ++CPLUS = $(CXX) > > ++CONLY = $(CC) > > ++CPLUS_FLAGS = $(CXXFLAGS) > > I dropped this patch. Instead, I simply passed CPLUS, CONLY and > CPLUS_FLAGS in the $(MAKE) call. > > > + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) > > + LIBS += -lpthread -lrt > > + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic > > +diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc > > +index 786c4153..30242a82 100644 > > +--- a/build/linux.gcc.inc > > ++++ b/build/linux.gcc.inc > > +@@ -32,8 +32,9 @@ DYLIB_KEY = -shared > > + EXPORT_KEY = -Wl,--version-script, > > + LIBDL = -ldl > > + > > +-CPLUS = g++ > > +-CONLY = gcc > > ++CPLUS = $(CXX) > > ++CONLY = $(CC) > > ++CPLUS_FLAGS = $(CXXFLAGS) > > + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) > > + LIBS += -lpthread -lrt > > + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic > > +-- > > +2.25.1 > > + > > diff --git a/package/tbb/Config.in b/package/tbb/Config.in > > new file mode 100644 > > index 0000000000..0f40b74d31 > > --- /dev/null > > +++ b/package/tbb/Config.in > > @@ -0,0 +1,16 @@ > > +config BR2_PACKAGE_TBB > > + bool "tbb" > > + depends on BR2_TOOLCHAIN_USES_GLIBC > > + depends on !BR2_STATIC_LIBS > > + depends on BR2_TOOLCHAIN_HAS_THREADS > > + depends on BR2_INSTALL_LIBSTDCPP > > + help > > + Intel(R) Threading Building Blocks (Intel(R) TBB) lets you > > + easily write parallel C++ programs that take full advantage > > + of multicore performance, that are portable, composable and > > + have future-proof scalability. > > + > > + https://www.threadingbuildingblocks.org/ > > + > > +comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" > > + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || > > !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git > > a/package/tbb/tbb.hash b/package/tbb/tbb.hash > > new file mode 100644 > > index 0000000000..e9fb7511b8 > > --- /dev/null > > +++ b/package/tbb/tbb.hash > > @@ -0,0 +1,2 @@ > > +# Locally calculated > > +sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 > > tbb-2018_U5.tar.gz > You also need to include a hash for the license file. > > > diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > > new file mode 100644 > > index 0000000000..cf06579b98 > > --- /dev/null > > +++ b/package/tbb/tbb.mk > > @@ -0,0 +1,39 @@ > > +######################################################################### > > ####### +# > > +# tbb > > +# > > +######################################################################### > > ####### + > > +TBB_VERSION = 2018_U5 > > +TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) > > +TBB_INSTALL_STAGING = YES > > +TBB_LICENSE = Apache-2.0 > > +TBB_LICENSE_FILES = LICENSE > > + > > +TBB_SO_VERSION = 2 > > +TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy > > +TBB_BIN_PATH = $(@D)/build/linux_* > > + > > +define TBB_BUILD_CMDS > > + $(MAKE) $(TARGET_CONFIGURE_OPTS) arch=$(BR2_ARCH) -C $(@D) > > The values for arch that are used by tbb are different from the values > that BR2_ARCH has. I studied this in more detail: > > # arch is normally set based on uname -m with some conversions. However, > # it is not really used for much: > # - to decide between 32 or 64-bit files (based on '64' in the name) > # - to decide on some arch-specific CFLAGS like -m32, which we don't > actually want # - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) > # - to include assembler source, but it only exists for ia64 > # The only thing we actually want from the above is the 32/64-bit, and > # DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to > # the tbb build system, and set DO_ITT_NOTIFY explicitly. > > Regards, > Arnout > > > +endef > > + > > +define TBB_INSTALL_LIBS > > + $(foreach lib,$(TBB_LIBS), > > + $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$ (TBB_SO_VERSION) \ > > + $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; > > + ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so > > + ) > > +endef > > + > > +define TBB_INSTALL_STAGING_CMDS > > + mkdir -p $(STAGING_DIR)/usr/include/ > > + cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ > > + $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) > > +endef > > + > > +define TBB_INSTALL_TARGET_CMDS > > + $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) > > +endef > > + > > +$(eval $(generic-package)) From flaniel at linux.microsoft.com Mon Apr 11 18:11:05 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 11 Apr 2022 19:11:05 +0100 Subject: [Buildroot] [RFC PATCH v1 2/2] package/sysdig: bump version to 0.27.1. In-Reply-To: <2b54dc64-98da-5de3-e94e-0fb7bbaaca8b@mind.be> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> <20220407182425.194001-3-flaniel@linux.microsoft.com> <2b54dc64-98da-5de3-e94e-0fb7bbaaca8b@mind.be> Message-ID: <4729294.31r3eYUQgx@pwmachine> Le samedi 9 avril 2022, 15:40:20 BST Arnout Vandecappelle a ?crit : > Hi Francis, Hi. > On 07/04/2022 20:24, Francis Laniel wrote: > > 0.23.1 has compilation errors with recent kernels. > > > > Signed-off-by: Francis Laniel > > I've applied to master, with a number of changes. Thank you for it. > I've noticed that it doesn't build on e.g. aarch64, because it uses > syscalls like open(2) that simply don't exist on aarch64. Fixing that would > be quite a big undertaking, and upstream has simply removed the > syscall-handling code. So a better solution would be to update to 0.29.1. > However, *that* is a fairly big change again because they also got rid of > the kernel driver. It's easy enough to remove the kernel-module part on the > buildroot side, but I wouldn't know if it still behaves correctly at > runtime. So, Francis, would you care to look into updating to 0.29.1? I will try to update sysdig to this version but I sadly cannot give any date of delivery. Indeed, I am bit worried is that after 0.27.1 sysdig depends of falco/libs and I do not really know how to handle this. > If you do that, please also check if it requires a minimum kernel version. > I think it uses all kinds of tracepoint or other kernel features which may > not exist in older kernels. If it does have a minimum kernel version, > please add a BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y dependency (with > explanation in the commit message how you got to that conclusion). > > Also, I added you to DEVELOPERS for this package. It won't have much > effect other than being Cc'ed on patches, because sysdig isn't built in the > autobuilders (since it depends on a kernel to be built and we don't do that > in autobuilders). > > > --- > > > > ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 +++++++++++++++++++ > > ...gainst-libabseil-cpp-which-grpc-uses.patch | 45 ++++++++++ > > package/sysdig/Config.in | 5 ++ > > package/sysdig/sysdig.hash | 1 + > > package/sysdig/sysdig.mk | 7 +- > > 5 files changed, 139 insertions(+), 1 deletion(-) > > create mode 100644 > > package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch create mode 100644 > > package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch> > > diff --git > > a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch > > b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch new file mode 100644 > > index 0000000000..7873210281 > > --- /dev/null > > +++ > > b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch @@ -0,0 +1,82 @@ > > +From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Wed, 6 Apr 2022 16:54:37 +0100 > > +Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and > > function. + > > +Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and > > +luaL_Reg. > > +So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua > > function +call as well. > > +Note that, this PATCH_COMMAND was added in sysdig in: > > +a064440394c9 ("Adding power support to Travis builds (#1566)") > > + > > +This patch is also present in kubernetes/minikube in: > > +f036c279bc59 ("Add patch for compiling sysdig with system luajit") > > + > > +Signed-off-by: Francis Laniel > > Would it be possible to send this patch upstream, so we don't need to > maintain it going forward? Obviously, it's best to first bump to the latest > version (and check if the patch is still needed). > > [snip] > > > diff --git > > a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > new file mode 100644 > > index 0000000000..60c3d31a3e > > --- /dev/null > > +++ b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > @@ -0,0 +1,45 @@ > > +From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Thu, 7 Apr 2022 18:30:23 +0100 > > +Subject: [PATCH 2/2] Link against libabseil-cpp which grpc uses. > > Don't include the 2/2 part (use git format-patch -N). check-package > reports this. > > + > > +This patch was taken from: > > +55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") > > +from hhoffstaette/portage. > > I've changed this to include the full URL of where you've taken it from. I > should have done that for th other patch as well, but I forgot. > > Also please send this patch upstream. For the luajit and abseil patch, I will first check if 0.29.1 still needs them. If so, I will for sure send these patches upstream! > > + > > +Signed-off-by: Francis Laniel > > +--- > > + CMakeLists.txt | 1 + > > + userspace/libsinsp/CMakeLists.txt | 4 ++++ > > + 2 files changed, 5 insertions(+) > > + > > +diff --git a/CMakeLists.txt b/CMakeLists.txt > > +index 1f34f1d6..c0354b29 100644 > > +--- a/CMakeLists.txt > > ++++ b/CMakeLists.txt > > +@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) > > + else() > > + message(FATAL_ERROR "Couldn't find system grpc") > > + endif() > > ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) > > + find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) > > + if(NOT GRPC_CPP_PLUGIN) > > + message(FATAL_ERROR "System grpc_cpp_plugin not found") > > +diff --git a/userspace/libsinsp/CMakeLists.txt > > b/userspace/libsinsp/CMakeLists.txt +index d72f9115..d1b7ea02 100644 > > +--- a/userspace/libsinsp/CMakeLists.txt > > ++++ b/userspace/libsinsp/CMakeLists.txt > > +@@ -214,6 +214,10 @@ if(NOT WIN32) > > + "${JQ_LIB}" > > + "${B64_LIB}") > > + > > ++ if(ABSL_SYNC_LIB) > > ++ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") > > ++ endif() > > ++ > > + if(NOT MUSL_OPTIMIZED_BUILD) > > + target_link_libraries(sinsp > > + rt > > +-- > > +2.25.1 > > + > > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > > index 06d20c7f7b..5a7fbb50e0 100644 > > --- a/package/sysdig/Config.in > > +++ b/package/sysdig/Config.in > > @@ -8,13 +8,18 @@ config BR2_PACKAGE_SYSDIG > > > > depends on BR2_USE_WCHAR # elfutils > > depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # > > elfutils > > depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > > > > + select BR2_PACKAGE_C_ARES > > > > select BR2_PACKAGE_ELFUTILS > > > > + select BR2_PACKAGE_GRPC > > You also need to propagate the dependencies of grpc. For grpc, that's just > a matter of adding grpc to the comments above, but some other packages have > stricter dependencies. > > > + select BR2_PACKAGE_GTEST > > gtest is only required if tests are enabled, so I added the conf opt to > disable tests instead. > > > select BR2_PACKAGE_JQ > > select BR2_PACKAGE_JSONCPP > > select BR2_PACKAGE_LIBB64 > > select BR2_PACKAGE_LIBCURL > > select BR2_PACKAGE_NCURSES > > select BR2_PACKAGE_OPENSSL > > > > + select BR2_PACKAGE_PROTOBUF > > + select BR2_PACKAGE_TBB > > > > select BR2_PACKAGE_ZLIB > > help > > > > Sysdig is open source, system-level exploration: > > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > > index 565b1e9828..4bce674f3e 100644 > > --- a/package/sysdig/sysdig.hash > > +++ b/package/sysdig/sysdig.hash > > @@ -1,3 +1,4 @@ > > > > # sha256 locally computed > > > > +sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda > > sysdig-0.27.1.tar.gz> > > sha256 57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa > > sysdig-0.23.1.tar.gz sha256 > > 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 > > COPYING > The COPYING file has changed, as shown by 'make legal-info'. Turns out > that the license changed to Apache-2.0, except for the driver which is > GPLv2 or MIT. So I updated the license hash and added the new license > files. > > > diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk > > index 08d93750ae..d497c7c381 100644 > > --- a/package/sysdig/sysdig.mk > > +++ b/package/sysdig/sysdig.mk > > @@ -4,7 +4,7 @@ > > > > # > > ######################################################################## > > ########> > > -SYSDIG_VERSION = 0.23.1 > > +SYSDIG_VERSION = 0.27.1 > > > > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > > SYSDIG_LICENSE = GPL-2.0 > > SYSDIG_LICENSE_FILES = COPYING > > This needed to be updated as well for the license change, of course. > > Regards, > Arnout > > > @@ -13,7 +13,10 @@ SYSDIG_CONF_OPTS = -DENABLE_DKMS=OFF > > -DUSE_BUNDLED_DEPS=OFF> > > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > > > SYSDIG_DEPENDENCIES = \ > > > > + c-ares \ > > > > elfutils \ > > > > + gtest \ > > + grpc \ > > > > jq \ > > jsoncpp \ > > libb64 \ > > > > @@ -21,6 +24,8 @@ SYSDIG_DEPENDENCIES = \ > > > > luainterpreter \ > > ncurses \ > > openssl \ > > > > + protobuf \ > > + tbb \ > > > > zlib > > > > # sysdig creates the module Makefile from a template, which contains a From yann.morin.1998 at free.fr Mon Apr 11 18:33:16 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 11 Apr 2022 20:33:16 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> Message-ID: <20220411183316.GB4029883@scaer> Arnout, Marcus, All, On 2022-04-11 19:03 +0200, Arnout Vandecappelle spake thusly: > On 11/04/2022 14:28, Marcus Hoffmann wrote: > >On 05.04.22 19:28, Peter Korsgaard wrote: > >>commit: https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 > >> > >>branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > >> > >>Fixes the following security issues: > >> > >>- CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes > >>https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 > >> > >>- CVE-2022-24769: Default inheritable capabilities for linux container > >>?? should be empty > >>https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c > >> > >>Signed-off-by: Peter Korsgaard > >>--- > >>? package/containerd/containerd.hash | 2 +- > >>? package/containerd/containerd.mk?? | 2 +- > >>? 2 files changed, 2 insertions(+), 2 deletions(-) > >> > >>diff --git a/package/containerd/containerd.hash > >>b/package/containerd/containerd.hash > >>index d5aafe2e70..23dacded88 100644 > >>--- a/package/containerd/containerd.hash > >>+++ b/package/containerd/containerd.hash > >>@@ -1,3 +1,3 @@ > >>? # Computed locally > >>-sha256? > >>40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 > >>containerd-1.5.9.tar.gz > >>+sha256? > >>6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > >>containerd-1.5.11.tar.gz > >I get a different hash for this download, both within buildroot as well as > >downloading the file manually from github: > >ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: > >ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > >ERROR: got???? : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 > >ERROR: Incomplete download, or man-in-the-middle (MITM) attack > >Did the file change in the meantime or did something else go wrong here? > It also goes wrong in the autobuilders (this one on master, before I merged > the bump to 1.6.2) [1] Note that golang packages are susceptible to hash changes ifone of their dependencies is chagned. For example, if a go package depends, directly or transitively, on a package foo at some-tag, but foo got re-tagged, or the repository has moved, then the vendoring will get a different content than previously. For example, docker's "distribution" repository has moved from under "docker" out to its own "distribution" namespace: https://github.com/docker/distribution now redirects to: https://github.com/distribution/distribution > >Should send a patch changing the hash to > >02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? > Let's first allow Peter to check what exactly went wrong. He should have a > local download with the hash he pushed so he can compare what changed. > I looked at the github repo, and it says that it was tagged on March 24, > i.e. before Peter did the bump to 1.5.11. So it doesn't look like they > updated the tag. > > 1] http://autobuild.buildroot.net/results/b5d/b5dcd56490e807db9e92e3bbbd6753738132db57/build-end.log I think the error is soemhing else in this case: tar: stdout: write error Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From peter at korsgaard.com Mon Apr 11 19:02:42 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 21:02:42 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> (Arnout Vandecappelle's message of "Mon, 11 Apr 2022 19:03:37 +0200") References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> Message-ID: <87bkx7h299.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: Hi, > On 11/04/2022 14:28, Marcus Hoffmann wrote: >> Hi Peter, >> On 05.04.22 19:28, Peter Korsgaard wrote: >>> commit: >>> https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 >>> >>> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master >>> >>> Fixes the following security issues: >>> >>> - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes >>> https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 >>> >>> - CVE-2022-24769: Default inheritable capabilities for linux container >>> ?? should be empty >>> https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c >>> >>> Signed-off-by: Peter Korsgaard >>> --- >>> ? package/containerd/containerd.hash | 2 +- >>> ? package/containerd/containerd.mk?? | 2 +- >>> ? 2 files changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/package/containerd/containerd.hash >>> b/package/containerd/containerd.hash >>> index d5aafe2e70..23dacded88 100644 >>> --- a/package/containerd/containerd.hash >>> +++ b/package/containerd/containerd.hash >>> @@ -1,3 +1,3 @@ >>> ? # Computed locally >>> -sha256? >>> 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 >>> containerd-1.5.9.tar.gz >>> +sha256? >>> 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 >>> containerd-1.5.11.tar.gz >> I get a different hash for this download, both within buildroot as >> well as downloading the file manually from github: >> ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: >> ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 >> ERROR: got???? : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 >> ERROR: Incomplete download, or man-in-the-middle (MITM) attack >> >> Did the file change in the meantime or did something else go wrong here? > It also goes wrong in the autobuilders (this one on master, before I > merged the bump to 1.6.2) [1] >> Should send a patch changing the hash to >> 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? > Let's first allow Peter to check what exactly went wrong. He should > have a local download with the hash he pushed so he can compare what > changed. > I looked at the github repo, and it says that it was tagged on March > 24, i.e. before Peter did the bump to 1.5.11. So it doesn't look like > they updated the tag. Funky, I do indeed have the old hash here: sha256sum ~download/containerd/containerd-1.5.11.tar.gz containerd-1.5.11.tar.gz 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 /var/lib/downloads/containerd/containerd-1.5.11.tar.gz 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 containerd-1.5.11.tar.gz Extracting the tarballs, I see the following diff: diff -urpN a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go --- a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 +++ b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 @@ -55,7 +55,7 @@ var ( // NOTE: The $Format strings are replaced during 'git archive' thanks to the // companion .gitattributes file containing 'export-subst' in this same // directory. See also https://git-scm.com/docs/gitattributes - gitVersion string = "v0.0.0-master+3df54a85234" + gitVersion string = "v0.0.0-master+3df54a8523" gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" // sha1 from git, output of $(git rev-parse HEAD) gitTreeState string = "" // state of git tree, either "clean" or "dirty" So the gitVersion field lost a digit. No idea how this could happen. Looking at the file in the git repo I see that this is listed as: gitVersion string = "v0.0.0-master+$Format:%H$" gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go So I guess something in github is wrongly expanding this $Format? -- Bye, Peter Korsgaard From arnout at mind.be Mon Apr 11 20:27:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 11 Apr 2022 22:27:42 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <87bkx7h299.fsf@dell.be.48ers.dk> References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> <87bkx7h299.fsf@dell.be.48ers.dk> Message-ID: On 11/04/2022 21:02, Peter Korsgaard wrote: >>>>>> "Arnout" == Arnout Vandecappelle writes: > > Hi, > > > On 11/04/2022 14:28, Marcus Hoffmann wrote: > >> Hi Peter, > >> On 05.04.22 19:28, Peter Korsgaard wrote: > >>> commit: > >>> https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 > >>> > >>> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > >>> > >>> Fixes the following security issues: > >>> > >>> - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes > >>> https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 > >>> > >>> - CVE-2022-24769: Default inheritable capabilities for linux container > >>> ?? should be empty > >>> https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c > >>> > >>> Signed-off-by: Peter Korsgaard > >>> --- > >>> ? package/containerd/containerd.hash | 2 +- > >>> ? package/containerd/containerd.mk?? | 2 +- > >>> ? 2 files changed, 2 insertions(+), 2 deletions(-) > >>> > >>> diff --git a/package/containerd/containerd.hash > >>> b/package/containerd/containerd.hash > >>> index d5aafe2e70..23dacded88 100644 > >>> --- a/package/containerd/containerd.hash > >>> +++ b/package/containerd/containerd.hash > >>> @@ -1,3 +1,3 @@ > >>> ? # Computed locally > >>> -sha256 > >>> 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 > >>> containerd-1.5.9.tar.gz > >>> +sha256 > >>> 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > >>> containerd-1.5.11.tar.gz > >> I get a different hash for this download, both within buildroot as > >> well as downloading the file manually from github: > >> ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: > >> ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > >> ERROR: got???? : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 > >> ERROR: Incomplete download, or man-in-the-middle (MITM) attack > >> > >> Did the file change in the meantime or did something else go wrong here? > > > It also goes wrong in the autobuilders (this one on master, before I > > merged the bump to 1.6.2) [1] > > >> Should send a patch changing the hash to > >> 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? > > > Let's first allow Peter to check what exactly went wrong. He should > > have a local download with the hash he pushed so he can compare what > > changed. > > > I looked at the github repo, and it says that it was tagged on March > > 24, i.e. before Peter did the bump to 1.5.11. So it doesn't look like > > they updated the tag. > > Funky, I do indeed have the old hash here: > > sha256sum ~download/containerd/containerd-1.5.11.tar.gz containerd-1.5.11.tar.gz > 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 /var/lib/downloads/containerd/containerd-1.5.11.tar.gz > 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 containerd-1.5.11.tar.gz > > Extracting the tarballs, I see the following diff: > > diff -urpN a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go > --- a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 > +++ b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 > @@ -55,7 +55,7 @@ var ( > // NOTE: The $Format strings are replaced during 'git archive' thanks to the > // companion .gitattributes file containing 'export-subst' in this same > // directory. See also https://git-scm.com/docs/gitattributes > - gitVersion string = "v0.0.0-master+3df54a85234" > + gitVersion string = "v0.0.0-master+3df54a8523" > gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" // sha1 from git, output of $(git rev-parse HEAD) > gitTreeState string = "" // state of git tree, either "clean" or "dirty" > > So the gitVersion field lost a digit. No idea how this could > happen. Looking at the file in the git repo I see that this is listed > as: > > gitVersion string = "v0.0.0-master+$Format:%H$" > gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) Weird, %H should expand to the full commit hash - like on the gitCommit line... How the hell does git archive expand %H differently in one line and the other? Aah, it was changed from %h to %H in [1]. But that easily explains the issue: the length of the abbreviated commit hash depends on the state of the repo. Thus, some gc on github may have dropped a conflicting ref (somewhere else) so the length of the abbreviated hash is reduced again. There's not much we can do about this I'm afraid, other than using git download instead of tarball download. Or updating to a version that contains [1] of course. Regards, Arnout [1] https://github.com/containerd/containerd/commit/e634f04d8cdb6c2f96eea2e4e66d0e4500a46282 > > https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go > > So I guess something in github is wrongly expanding this $Format? > From peter at korsgaard.com Mon Apr 11 20:21:38 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 22:21:38 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/containerd: correct download hash Message-ID: <20220411202317.90BC3839FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=46a92832cf57fb7fdb5bb67471bc80b1a10d4a99 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Something happened to the tarball logic on github, changing the hash of the 1.5.11 release: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 old/containerd-1.5.11.tar.gz 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 new/containerd-1.5.11.tar.gz -rw-r--r-- 1 peko peko 7494478 Apr 11 20:53 old/containerd-1.5.11.tar.gz -rw-r--r-- 1 peko peko 7494477 Apr 5 20:39 new/containerd-1.5.11.tar.gz Extracting and comparing them gives: --- a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 +++ b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 @@ -55,7 +55,7 @@ var ( // NOTE: The $Format strings are replaced during 'git archive' thanks to the // companion .gitattributes file containing 'export-subst' in this same // directory. See also https://git-scm.com/docs/gitattributes - gitVersion string = "v0.0.0-master+3df54a85234" + gitVersion string = "v0.0.0-master+3df54a8523" gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" // sha1 from git, output of $(git rev-parse HEAD) gitTreeState string = "" // state of git tree, either "clean" or "dirty" The file in the repo uses $Format:%H$ and set the export-subst git attribute: gitVersion string = "v0.0.0-master+$Format:%H$" gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go So presumably it is related to that. In any case, update the hash to match what Github is now serving to fix the build. Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 23dacded88..3f5c9865e6 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz +sha256 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 containerd-1.5.11.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE From peter at korsgaard.com Mon Apr 11 20:34:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 22:34:55 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <87bkx7h299.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Mon, 11 Apr 2022 21:02:42 +0200") References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> <87bkx7h299.fsf@dell.be.48ers.dk> Message-ID: <874k2zgxzk.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: Hi, > @@ -55,7 +55,7 @@ var ( > // NOTE: The $Format strings are replaced during 'git archive' thanks to the > // companion .gitattributes file containing 'export-subst' in this same > // directory. See also https://git-scm.com/docs/gitattributes > - gitVersion string = "v0.0.0-master+3df54a85234" > + gitVersion string = "v0.0.0-master+3df54a8523" > gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" > // sha1 from git, output of $(git rev-parse HEAD) > gitTreeState string = "" // state of git tree, either "clean" or "dirty" > So the gitVersion field lost a digit. No idea how this could > happen. Looking at the file in the git repo I see that this is listed > as: > gitVersion string = "v0.0.0-master+$Format:%H$" > gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) > https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go > So I guess something in github is wrongly expanding this $Format? The format logic itself is part of git, as the export-subst attibute has been set for base.go: https://git-scm.com/docs/gitattributes But why the two $Format:%H$ lines expand to different things and why it has changed over time is unclear to me. In any case, I've pushed a commit to 2022.02.x to adjust the hash to what Github is now serving. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Mon Apr 11 21:19:56 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 23:19:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/rsync: fix static build Message-ID: <20220411211956.257449-1-fontaine.fabrice@gmail.com> Fix the following static build failure when using an external zlib: /home/autobuild/autobuild/instance-11/output-1/host/bin/i686-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -static -o rsync flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o util2.o main.o checksum.o match.o syscall.o log.o backup.o delete.o options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o -lz -lpopt -liconv /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/i686-buildroot-linux-uclibc/9.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libz.a(deflate.c.o): in function `read_buf': deflate.c:(.text+0xb93): multiple definition of `read_buf'; io.o:io.c:(.text+0x2bf4): first defined here Fixes: - http://autobuild.buildroot.org/results/488453197da880dda8f47b71ff302192bcbb6679 Signed-off-by: Fabrice Fontaine --- ...g-with-a-zlib-with-external-read_buf.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch diff --git a/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch new file mode 100644 index 0000000000..0af090732c --- /dev/null +++ b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch @@ -0,0 +1,27 @@ +From 60dd42be603a79cd57cec076fe1680e9037be774 Mon Sep 17 00:00:00 2001 +From: Wayne Davison +Date: Mon, 11 Apr 2022 08:29:54 -0700 +Subject: [PATCH] Handle linking with a zlib with external read_buf. + +[Retrieved from: +https://github.com/WayneD/rsync/commit/60dd42be603a79cd57cec076fe1680e9037be774] +Signed-off-by: Fabrice Fontaine +--- + rsync.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/rsync.h b/rsync.h +index 4b30570b..e5aacd25 100644 +--- a/rsync.h ++++ b/rsync.h +@@ -1172,6 +1172,10 @@ struct name_num_obj { + struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */ + }; + ++#ifdef EXTERNAL_ZLIB ++#define read_buf read_buf_ ++#endif ++ + #ifndef __cplusplus + #include "proto.h" + #endif -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 11 21:22:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 23:22:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/startup-notification: bump to version 0.12 Message-ID: <20220411212234.257672-1-fontaine.fabrice@gmail.com> xcb-util is mandatory since https://cgit.freedesktop.org/startup-notification/commit/?id=15c0bae76e0bcd5d2839a791cf51c8b22e615fe2 https://cgit.freedesktop.org/startup-notification/commit/?id=57816a46aa32d0bd667661ce6aaaa187f84ec889 https://cgit.freedesktop.org/startup-notification/tree/NEWS?h=STARTUP_NOTIFICATION_0_12 Signed-off-by: Fabrice Fontaine --- package/startup-notification/Config.in | 1 + package/startup-notification/startup-notification.hash | 2 +- package/startup-notification/startup-notification.mk | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/startup-notification/Config.in b/package/startup-notification/Config.in index 88d18174bc..606276e484 100644 --- a/package/startup-notification/Config.in +++ b/package/startup-notification/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_STARTUP_NOTIFICATION bool "startup-notification" depends on BR2_PACKAGE_XORG7 depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_XCB_UTIL select BR2_PACKAGE_XLIB_LIBX11 help Startup-notification is a library used to monitor diff --git a/package/startup-notification/startup-notification.hash b/package/startup-notification/startup-notification.hash index 474c8bd92c..9c5713213b 100644 --- a/package/startup-notification/startup-notification.hash +++ b/package/startup-notification/startup-notification.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c2fa09f9a49d8b319e79638e49e967c682df8726006e03059b1ffca5ab82099c startup-notification-0.9.tar.gz +sha256 3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a startup-notification-0.12.tar.gz sha256 29935974beae046f50da806b5f4e54532401dd7bcfbc696a0b645f4cbcce9dbb COPYING diff --git a/package/startup-notification/startup-notification.mk b/package/startup-notification/startup-notification.mk index b3314087f5..4a9e33e5ed 100644 --- a/package/startup-notification/startup-notification.mk +++ b/package/startup-notification/startup-notification.mk @@ -4,10 +4,10 @@ # ################################################################################ -STARTUP_NOTIFICATION_VERSION = 0.9 +STARTUP_NOTIFICATION_VERSION = 0.12 STARTUP_NOTIFICATION_SITE = http://freedesktop.org/software/startup-notification/releases STARTUP_NOTIFICATION_INSTALL_STAGING = YES -STARTUP_NOTIFICATION_DEPENDENCIES = xlib_libX11 +STARTUP_NOTIFICATION_DEPENDENCIES = xcb-util xlib_libX11 STARTUP_NOTIFICATION_CONF_ENV = lf_cv_sane_realloc=yes STARTUP_NOTIFICATION_CONF_OPTS = --with-x \ --x-includes="$(STAGING_DIR)/usr/include/X11" \ -- 2.35.1 From peter at korsgaard.com Mon Apr 11 21:39:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 23:39:25 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/tvheadend: fix build with libressl Message-ID: <20220411214018.DC05383A53@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a4c060c95680b7e7f56c2dba8b0442836ed9d08d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl: utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' Fixes: - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 04164b81e76e29fb9482245e808b46af2aa67bc6) Signed-off-by: Peter Korsgaard --- .../tvheadend/0002-fix-build-with-libressl.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/package/tvheadend/0002-fix-build-with-libressl.patch b/package/tvheadend/0002-fix-build-with-libressl.patch new file mode 100644 index 0000000000..c99dacdbeb --- /dev/null +++ b/package/tvheadend/0002-fix-build-with-libressl.patch @@ -0,0 +1,47 @@ +From ea65f8025a9124cd7353b21f167968bdb897306f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 21:54:25 +0200 +Subject: [PATCH] fix build with libressl + +Fix the following build failure with libressl raised since +https://github.com/tvheadend/tvheadend/commit/e61acb8ad4a3411f4e7acfd8133d222299f6d47e: + +utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' + +Fixes: + - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/ea65f8025a9124cd7353b21f167968bdb897306f] +--- + src/http.c | 2 +- + src/utils.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/http.c b/src/http.c +index 06d5e76172..72a498317c 100644 +--- a/src/http.c ++++ b/src/http.c +@@ -412,7 +412,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content, + http_auth_header(&hdrs, realm, + config.http_auth_algo == HTTP_AUTH_ALGO_SHA256 ? + "SHA-256" : +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + "SHA-512-256", + #else + "SHA-256", +diff --git a/src/utils.c b/src/utils.c +index d8ffe4ad5c..eecb10e116 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&??!defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; From peter at korsgaard.com Mon Apr 11 21:49:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 23:49:53 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] Update for 2022.02.1 Message-ID: <20220411214018.EA42383A55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9da87c52934842026918b9eb8511b35cd935c552 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Peter Korsgaard --- CHANGES | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ Makefile | 4 ++-- support/misc/Vagrantfile | 2 +- 3 files changed, 57 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 59ae8f15ce..da18142246 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,57 @@ +2022.02.1, released April 11th, 2022 + + Important / security related fixes. + + Graphs: Also generate a build time timeline graph (for top + level parallel builds). + + scripts/pkg-stats: Optimize memory consumption for CPE parsing + + Fix compatibility issue with the fakeroot script logic and + modern versions of dash. + + Change git:// URLs pointing to Github to https://, now that + Github has turned off support for git:// + + Updated/fixed packages: ace, apache, apr, apr-util, belr, + bind, bluez5_utils, boinc, bpftool, busybox, cloop, cog, + containerd, cppcms, dav1d, dhcp, dieharder, dnsmasq, + docker-cli, docker-engine, efl, ell, fakeroot, flac, + fluidsynth, gdk-pixbuf, glib-networking, gnutls, gst-omx, + gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, haproxym htop, intel-gmmlib, + ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, + libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, + libgtk3, libiec61850, libkrb5, libminiupnpc, libodb, + libodb-boost, libopenssl, libp11, libpsl, libressl, librstp, + librtlsdr, liburing, libyang, libzlib, luasec, lxc, matio, + meson, minidlna, minizip, mpd, mtools, netatalk, nbd, odb, + openblas, openssh, openvpn, optee-os, opus, paho-mqtt-c, + pango, php, pipewire, pkcs11-helper, postgresql, ppp, + protozero, python-aioconsole, python-avro, python-brotli, + python-greenlet, python-paramiko, python-pillow, + python-rpi-gpio, python-treq, python-twisted, python-ujson, + python-weasyprint, qt5base, qt5wayland, raptor, rpi-firmware, + rpi-userland, rtl_433, runc, rust, rygel, samba4, + shairport-sync, spice, spidev_test, stunnel, systemd, + timescaledb, trace-cmd, trousers, ts4900-fpga, tvheadend, + udpcast, unbound, upower, urandom-scripts, usbguard, valgrind, + valijson, vim, wavpack, wget, wireplumber, wireshark, woff2, + xmrig, zabbix, zlib-ng, zynaddsubfx, zziplib + + Issues resolved (http://bugs.uclibc.org): + + #13971: ip6tables-nft build does not include MASQUERADE target.. + #14651: OpenSSH 8.9p1 compiler error under ARM + #14656: Adding dependencies from an external tree does not work + #14661: Fakeroot script relies on bash-isms, does not work .. + #14686: genimage.cfg have a hard-coded .ext4 extension which.. + #14701: Multiple unresolved symbols while building kernel .. + #14711: nodjs build problem missing bzip + #14731: BR2_PACKAGE_IOSTAT + 2022.02, released March 8th, 2022 Various fixes. diff --git a/Makefile b/Makefile index db2ac30b10..ee7aedf71c 100644 --- a/Makefile +++ b/Makefile @@ -92,9 +92,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2022.02 +export BR2_VERSION := 2022.02.1 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1646777000 +BR2_VERSION_EPOCH = 1649713000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index a5a0e3f41a..6cf44d9216 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2022.02' +RELEASE='2022.02.1' ### Change here for more memory/cores ### VM_MEMORY=2048 From fontaine.fabrice at gmail.com Mon Apr 11 21:50:02 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 23:50:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix FTBFS Message-ID: <20220411215002.518739-1-fontaine.fabrice@gmail.com> Fix the folloing build failure raised since commit 04164b81e76e29fb9482245e808b46af2aa67bc6: src/utils.c: In function 'sha512sum256': src/utils.c:619:45: error: token " " is not valid in preprocessor expressions 619 | #if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) | ^ Fixes: - http://autobuild.buildroot.org/results/caf0f5e4c6ad0f2764f07d33f594b6121cea87bc Signed-off-by: Fabrice Fontaine --- .../tvheadend/0003-Fix-FTBFS-in-utils-c.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch diff --git a/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch new file mode 100644 index 0000000000..2caa281490 --- /dev/null +++ b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch @@ -0,0 +1,28 @@ +From fd01737270d98c28465c86a688bd7d1c640486c5 Mon Sep 17 00:00:00 2001 +From: Michael Marley +Date: Wed, 6 Apr 2022 21:47:49 -0400 +Subject: [PATCH] Fix FTBFS in utils.c + +U+0020 SPACE and U+00A0 NO-BREAK SPACE look the same, but they +aren't the same. + +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/fd01737270d98c28465c86a688bd7d1c640486c5] +Signed-off-by: Fabrice Fontaine +--- + src/utils.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/utils.c b/src/utils.c +index eecb10e116..bc6401d22f 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&?!defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 11 21:57:40 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 23:57:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/lvm2: update site Message-ID: <20220411215740.521106-1-fontaine.fabrice@gmail.com> Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=14751 Signed-off-by: Fabrice Fontaine --- package/lvm2/lvm2.hash | 2 +- package/lvm2/lvm2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/lvm2/lvm2.hash b/package/lvm2/lvm2.hash index c52eaee1e1..126748d339 100644 --- a/package/lvm2/lvm2.hash +++ b/package/lvm2/lvm2.hash @@ -1,4 +1,4 @@ -# From http://sources.redhat.com/pub/lvm2/sha512.sum +# From https://sourceware.org/ftp/lvm2/sha512.sum sha512 6a93bed1d5cf36f0f48d4d413d028b0e480cd4fc20e25d173770a892f265d2a0cc68d01a720b1513469953649e989532cd0c45f9538f92a4190eb3dc4555857d LVM2.2.03.14.tgz # Locally computed sha256 checksums sha256 e76fbcd2fb97cf202da330301327754d2db5c58b5b4bebd3a8a749393e7603d1 COPYING diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index f875b292f3..781b0c9f3f 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -6,7 +6,7 @@ LVM2_VERSION = 2.03.14 LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz -LVM2_SITE = http://sources.redhat.com/pub/lvm2 +LVM2_SITE = https://sourceware.org/ftp/lvm2 LVM2_INSTALL_STAGING = YES LVM2_LICENSE = GPL-2.0, LGPL-2.1 LVM2_LICENSE_FILES = COPYING COPYING.LIB -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 11 22:12:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 00:12:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/avrdude: spi needs headers >= 4.8 Message-ID: <20220411221248.609465-1-fontaine.fabrice@gmail.com> SPI unconditionally uses GPIOHANDLE_SET_LINE_VALUES_IOCTL which is only available since kernel 4.8 and https://github.com/torvalds/linux/commit/d7c51b47ac11e66f547b55640405c1c474642d72 resulting in the following build failure since switch to upstream in commit 03fa36df7e6aca0f4a1c8ae2fe691c0cda6ddc7a: linuxspi.c: In function 'linuxspi_reset_mcu': linuxspi.c:102:28: error: storage size of 'data' isn't known struct gpiohandle_data data; ^~~~ linuxspi.c:110:32: error: 'GPIOHANDLE_SET_LINE_VALUES_IOCTL' undeclared (first use in this function) ret = ioctl(fd_linehandle, GPIOHANDLE_SET_LINE_VALUES_IOCTL, &data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/769021040e5e9293584734e4f461baeaa6dd91cd Signed-off-by: Fabrice Fontaine --- package/avrdude/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/avrdude/Config.in b/package/avrdude/Config.in index 89558a5ff5..cbbd076667 100644 --- a/package/avrdude/Config.in +++ b/package/avrdude/Config.in @@ -20,10 +20,10 @@ if BR2_PACKAGE_AVRDUDE config BR2_PACKAGE_AVRDUDE_SPI bool "SPI support" default y # Backward compatibility - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 -comment "SPI support needs a toolchain w/ linux headers >= 4.6" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 +comment "SPI support needs a toolchain w/ linux headers >= 4.8" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 endif -- 2.35.1 From geomatsi at gmail.com Tue Apr 12 05:58:44 2022 From: geomatsi at gmail.com (Sergey Matyukevich) Date: Tue, 12 Apr 2022 08:58:44 +0300 Subject: [Buildroot] [PATCH] package/wpa_supplicant: enable libnl for the WIRED driver In-Reply-To: <20220411090723.13504-1-yegorslists@googlemail.com> References: <20220411090723.13504-1-yegorslists@googlemail.com> Message-ID: Hi Yegor, > From: Yegor Yefremov > > BR2_PACKAGE_WPA_SUPPLICANT_WIRED also enables the MACSEC_LINUX > driver. This driver requires libnl. > > Also fix CONFIG_DRIVER_MACSEC option to enable only the generic > Linux driver and not QCA extensions. > > Fixes: > http://autobuild.buildroot.net/results/2dea7dee521794b306cc610601fda322987e6cd0 > > Signed-off-by: Yegor Yefremov Thanks for looking into this issue. Reviewed-by: Sergey Matyukevich Regards, Sergey From yegorslists at googlemail.com Tue Apr 12 06:06:24 2022 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Tue, 12 Apr 2022 08:06:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/avrdude: spi needs headers >= 4.8 In-Reply-To: <20220411221248.609465-1-fontaine.fabrice@gmail.com> References: <20220411221248.609465-1-fontaine.fabrice@gmail.com> Message-ID: On Tue, Apr 12, 2022 at 12:14 AM Fabrice Fontaine wrote: > > SPI unconditionally uses GPIOHANDLE_SET_LINE_VALUES_IOCTL which is only > available since kernel 4.8 and > https://github.com/torvalds/linux/commit/d7c51b47ac11e66f547b55640405c1c474642d72 > resulting in the following build failure since switch to upstream in > commit 03fa36df7e6aca0f4a1c8ae2fe691c0cda6ddc7a: > > linuxspi.c: In function 'linuxspi_reset_mcu': > linuxspi.c:102:28: error: storage size of 'data' isn't known > struct gpiohandle_data data; > ^~~~ > linuxspi.c:110:32: error: 'GPIOHANDLE_SET_LINE_VALUES_IOCTL' undeclared (first use in this function) > ret = ioctl(fd_linehandle, GPIOHANDLE_SET_LINE_VALUES_IOCTL, &data); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/769021040e5e9293584734e4f461baeaa6dd91cd > > Signed-off-by: Fabrice Fontaine Reviewed-by: Yegor Yefremov > package/avrdude/Config.in | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/avrdude/Config.in b/package/avrdude/Config.in > index 89558a5ff5..cbbd076667 100644 > --- a/package/avrdude/Config.in > +++ b/package/avrdude/Config.in > @@ -20,10 +20,10 @@ if BR2_PACKAGE_AVRDUDE > config BR2_PACKAGE_AVRDUDE_SPI > bool "SPI support" > default y # Backward compatibility > - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 > + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 > > -comment "SPI support needs a toolchain w/ linux headers >= 4.6" > - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 > +comment "SPI support needs a toolchain w/ linux headers >= 4.8" > + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 > > endif > > -- > 2.35.1 > From jose.pekkarinen at unikie.com Tue Apr 12 06:28:10 2022 From: jose.pekkarinen at unikie.com (=?UTF-8?q?Jos=C3=A9=20Pekkarinen?=) Date: Tue, 12 Apr 2022 09:28:10 +0300 Subject: [Buildroot] [PATCH] Add overrides configuration option Message-ID: <20220412062810.8567-1-jose.pekkarinen@unikie.com> From: Mika Joenpera Overrides configration option enabled through wpa_supplicant configuration file. Signed-off-by: Mika Joenpera Signed-off-by: Jos? Pekkarinen --- package/wpa_supplicant/Config.in | 7 +++++++ package/wpa_supplicant/wpa_supplicant.mk | 10 ++++++++++ 2 files changed, 17 insertions(+) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index 8f095cdf2d..bb4b78433e 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -84,6 +84,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING Enable support for open and secured mesh networking (IEEE 802.11s) +config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES + bool "Enable HT/VHT overrides" + help + Enable wpa_supplicant overrides for HT and VHT (disable + HT/HT40, mask MCS rates, etc.) in wpa_supplicant + configuration file. + config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN bool "Enable autoscan" help diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 3c0b0c1dfc..b9da6c0c6d 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -110,6 +110,16 @@ else WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y) +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_HT_OVERRIDES \ + CONFIG_VHT_OVERRIDES +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_HT_OVERRIDES \ + CONFIG_VHT_OVERRIDES +endif + ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_AUTOSCAN_EXPONENTIAL \ -- 2.25.1 From arnout at mind.be Tue Apr 12 08:28:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 10:28:10 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <874k2zgxzk.fsf@dell.be.48ers.dk> References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> <87bkx7h299.fsf@dell.be.48ers.dk> <874k2zgxzk.fsf@dell.be.48ers.dk> Message-ID: <4fead5f8-95e6-6f88-6a8c-f62a32fcec9f@mind.be> On 11/04/2022 22:34, Peter Korsgaard wrote: >>>>>> "Peter" == Peter Korsgaard writes: > > Hi, > > > @@ -55,7 +55,7 @@ var ( > > // NOTE: The $Format strings are replaced during 'git archive' thanks to the > > // companion .gitattributes file containing 'export-subst' in this same > > // directory. See also https://git-scm.com/docs/gitattributes > > - gitVersion string = "v0.0.0-master+3df54a85234" > > + gitVersion string = "v0.0.0-master+3df54a8523" > > gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" > > // sha1 from git, output of $(git rev-parse HEAD) > > gitTreeState string = "" // state of git tree, either "clean" or "dirty" > > > So the gitVersion field lost a digit. No idea how this could > > happen. Looking at the file in the git repo I see that this is listed > > as: > > > gitVersion string = "v0.0.0-master+$Format:%H$" > > gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) > > > https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go > > > So I guess something in github is wrongly expanding this $Format? > > The format logic itself is part of git, as the export-subst attibute has > been set for base.go: > > https://git-scm.com/docs/gitattributes > > But why the two $Format:%H$ lines expand to different things and why it > has changed over time is unclear to me. > > In any case, I've pushed a commit to 2022.02.x to adjust the hash to > what Github is now serving. As I've written in the mail that went concurrently with yours, this may change again at any time. Therefore, please make sure that you update the tarball on sources.buildroot.org so there's a fallback when the hash changes again. Regards, Arnout From peter at korsgaard.com Tue Apr 12 09:26:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 12 Apr 2022 11:26:40 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <4fead5f8-95e6-6f88-6a8c-f62a32fcec9f@mind.be> (Arnout Vandecappelle's message of "Tue, 12 Apr 2022 10:28:10 +0200") References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> <87bkx7h299.fsf@dell.be.48ers.dk> <874k2zgxzk.fsf@dell.be.48ers.dk> <4fead5f8-95e6-6f88-6a8c-f62a32fcec9f@mind.be> Message-ID: <87ilrefy9b.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: Hi, >> In any case, I've pushed a commit to 2022.02.x to adjust the hash to >> what Github is now serving. > As I've written in the mail that went concurrently with yours, this > may change again at any time. Therefore, please make sure that you > update the tarball on sources.buildroot.org so there's a fallback when > the hash changes again. It should happen automatically now that the hash matches, but I have triggered a manual sync for containerd and cleared the negative cache in cloudflare. On a related note, the go/rust vendoring stuff isn't great for the source mirror, where we basically run make foo-source for all packages - And which now builds an internal toolchain and host-go / host-rust before doing the download :/ I guess I'll need to rework the mirroring logic a bit. -- Bye, Peter Korsgaard From nealf at xilinx.com Tue Apr 12 09:44:36 2022 From: nealf at xilinx.com (Neal Frager) Date: Tue, 12 Apr 2022 09:44:36 +0000 Subject: [Buildroot] Xilinx KV260 Support Message-ID: Dear buildroot community, I am working on adding a defconfig for the Xilinx KV260 Starter Kit. It is a low cost zynqmp development kit showcasing the first Xilinx Kria K26 SOM module. https://www.xilinx.com/products/som/kria/kv260-vision-starter-kit.html I have managed to get buildroot up and running on the hardware, but I currently need to implement some manual steps. Here are the issues I need to solve. Both are related to a device tree overlay. 1. Install the zynqmp-sck-kv-g-revB.dtbo to the output/images directory: BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-sm-k26-revA xilinx/zynqmp-sck-kv-g-revB" BR2_LINUX_KERNEL_DTB_OVERLAYS_SUPPORT=y I need the build system to install the zynqmp-sm-k26-revA.dtb and the zynqmp-sck-kv-g-revB.dtbo files to the output/images directory. I have tried the BR2_LINUX_KERNEL_DTB_OVERLAYS_SUPPORT option above, but I do not see how to get the zynqmp-sck-kv-g-revB.dtbo Instead of the zynqmp-sck-kv-g-revB.dtb. 2. Apply the overlay to generate a system.dtb in the post-image.sh: I am currently using the following command to generate the system.dtb that I need for booting: fdtoverlay -o output/images/system.dtb -i output/images/zynqmp-sm-k26-revA.dtb output/images/zynqmp-sck-kv-g-revB.dtbo Does anyone have a good idea for how I could implement this in a generic way in the post-image.sh script? Perhaps someone can help me with a nice way to automate this, so that I can create a proper buildroot defconfig for the KV260? Please let me know if you have any ideas or feedback. Thanks for any support! Best regards, Neal Frager AMD From mf at go-sys.de Tue Apr 12 10:19:19 2022 From: mf at go-sys.de (Michael Fischer) Date: Tue, 12 Apr 2022 12:19:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/openssh: bump to version 9.0p1 Message-ID: <20220412101919.7454-1-mf@go-sys.de> patch 0001: already applied upstream patch 0002: already applied upstream https://www.openssh.com/txt/release-9.0 Signed-off-by: Michael Fischer --- ...llow-ppoll_time64-in-seccomp-sandbox.patch | 32 ---------------- ...n-of-fzero-call-used-regs-all-suppor.patch | 38 ------------------- package/openssh/openssh.hash | 4 +- package/openssh/openssh.mk | 2 +- 4 files changed, 3 insertions(+), 73 deletions(-) delete mode 100644 package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch delete mode 100644 package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch diff --git a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch b/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch deleted file mode 100644 index 16eb6eaba2..0000000000 --- a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 284b6e5394652d519e31782e3b3cdfd7b21d1a81 Mon Sep 17 00:00:00 2001 -From: Darren Tucker -Date: Sat, 26 Feb 2022 14:06:14 +1100 -Subject: [PATCH] Allow ppoll_time64 in seccomp sandbox. - -Should fix sandbox violations on (some? at least i386 and armhf) 32bit -Linux platforms. Patch from chutzpahu at gentoo.org and cjwatson at -debian.org via bz#3396. - -[Upstream: https://github.com/openssh/openssh-portable/commit/284b6e5394652d519e31782e3b3cdfd7b21d1a81.patch] -Signed-off-by: John Keeping ---- - sandbox-seccomp-filter.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c -index 2e065ba3..4ce80cb2 100644 ---- a/sandbox-seccomp-filter.c -+++ b/sandbox-seccomp-filter.c -@@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = { - #ifdef __NR_ppoll - SC_ALLOW(__NR_ppoll), - #endif -+#ifdef __NR_ppoll_time64 -+ SC_ALLOW(__NR_ppoll_time64), -+#endif - #ifdef __NR_poll - SC_ALLOW(__NR_poll), - #endif --- -2.35.1 - diff --git a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch b/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch deleted file mode 100644 index ce5c5539ff..0000000000 --- a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch +++ /dev/null @@ -1,38 +0,0 @@ -From b5fee5fe98f708c1dc61a1564db35eacadbfe8b3 Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Thu, 24 Feb 2022 16:04:18 +0000 -Subject: [PATCH] Improve detection of -fzero-call-used-regs=all support - -GCC doesn't tell us whether this option is supported unless it runs into -the situation where it would need to emit corresponding code. - -[Upstream: https://github.com/openssh/openssh-portable/commit/f107467179428a0e3ea9e4aa9738ac12ff02822d.patch] -Signed-off-by: Peter Seiderer ---- - m4/openssh.m4 | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/m4/openssh.m4 b/m4/openssh.m4 -index 4f9c379..8c33c70 100644 ---- a/m4/openssh.m4 -+++ b/m4/openssh.m4 -@@ -14,6 +14,8 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{ - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - #include - #include -+/* Trivial function to help test for -fzero-call-used-regs */ -+void f(int n) {} - int main(int argc, char **argv) { - (void)argv; - /* Some math to catch -ftrapv problems in the toolchain */ -@@ -21,6 +23,7 @@ int main(int argc, char **argv) { - float l = i * 2.1; - double m = l / 0.5; - long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; -+ f(0); - printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); - /* - * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does --- -2.35.1 - diff --git a/package/openssh/openssh.hash b/package/openssh/openssh.hash index dd123c1bb6..4cfdb91484 100644 --- a/package/openssh/openssh.hash +++ b/package/openssh/openssh.hash @@ -1,4 +1,4 @@ -# From https://www.openssh.com/txt/release-8.9 (base64 encoded) -sha256 fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7 openssh-8.9p1.tar.gz +# From https://www.openssh.com/txt/release-9.0 (base64 encoded) +sha256 03974302161e9ecce32153cfa10012f1e65c8f3750f573a73ab1befd5972a28a openssh-9.0p1.tar.gz # Locally calculated sha256 d6807e99f3d159145c659060f57c3fa74e109faa39326dbfc38674cb550fd104 LICENCE diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index 84add9563d..63a28f3af5 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENSSH_VERSION_MAJOR = 8.9 +OPENSSH_VERSION_MAJOR = 9.0 OPENSSH_VERSION_MINOR = p1 OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR) OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR) -- 2.20.1 From nicolas.tran at smile.fr Tue Apr 12 10:42:48 2022 From: nicolas.tran at smile.fr (Nicolas TRAN) Date: Tue, 12 Apr 2022 12:42:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: bump to version 1.59.0 In-Reply-To: <18863202-0ccb-1714-3d05-6f0e119b613d@mind.be> References: <20220407115952.56219-1-nicolas.tran@smile.fr> <20220407115952.56219-2-nicolas.tran@smile.fr> <18863202-0ccb-1714-3d05-6f0e119b613d@mind.be> Message-ID: Hello Arnout, Thank you for the feedback! The patch implementing Rust 1.60.0 is almost ready and I'm currently trying to figure out how to test the packages relying on Rust you mentioned. Although following the manual section for `utils/test-pkg`, I don't quite understand how to make a toolchain consider the package I'm testing. For example, with a `librsvg.config` containing "BR2_PACKAGE_LIBRSVG=y", I tried the following command to test `package/librsvg`: $ ./utils/test-pkg -c librsvg.config -p librsvg It turns out all the selected toolchains are SKIPPED. Does each toolchain I want to test need to have its config file modified to include the line specified in the output missing.config file? I've tried writing those lines into the `librsvg.config` I created but it does not seem to be taken into consideration and the `missing.config` remains the same... Another question: In the previous command found in the Buildroot manual, `-p` is an option to be able to "test-build" the package afterhand, by typing `make librsvg` in my case. What is the output I am supposed to witness in case of a successful test? Is it intended that running the test-build on the package named libcurl (just like in the manual) it seems to be built then removed, with no success comment? Best regards, Nicolas On Sun, Apr 10, 2022 at 4:45 PM Arnout Vandecappelle wrote: > Hi Nicolas, > > On 07/04/2022 13:59, Nicolas Tran wrote: > > Link to Rust version 1.59.0: > https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html > > Excellent, thanks! Unfortunately, I just applied two patches that add a > bunch > of other tarballs, so these will have to be updated as well now. > > Also, the very day that you posted this patch, rust 1.60 was released. > So > maybe you can update to that? > > Finally, when updating rust, it's a good idea to do a build test (using > the > test-pkg script) of a few packages that rely on rust: rsvg, > python-cryptography, > ripgrep, suricata. > > Oh, also: everything you put in the cover letter would actually be > useful in > the commit message. We just prefer if it's written in passive sense rather > than > first person, i.e. "Source archives were retrieved and ...". But that's > really a > minor thing. > > Regards, > Arnout > > > > > Signed-off-by: Nicolas Tran > > --- > > package/rust-bin/rust-bin.hash | 198 ++++++++++++++++----------------- > > package/rust-bin/rust-bin.mk | 2 +- > > package/rust/rust.hash | 6 +- > > package/rust/rust.mk | 2 +- > > 4 files changed, 104 insertions(+), 104 deletions(-) > > > > diff --git a/package/rust-bin/rust-bin.hash > b/package/rust-bin/rust-bin.hash > > index 9f8788a295..1aa166c45e 100644 > > --- a/package/rust-bin/rust-bin.hash > > +++ b/package/rust-bin/rust-bin.hash > > @@ -1,102 +1,102 @@ > > -# From > https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > > -sha256 > 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e > rust-1.58.1-i686-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > > -sha256 > f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 > rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > > -sha256 > c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 > rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc > > -sha256 > 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 > rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc > > -sha256 > eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d > rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc > > -sha256 > 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 > rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc > > -sha256 > b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff > rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc > > -sha256 > 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 > rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc > > -sha256 > 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 > rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc > > -sha256 > 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 > rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc > > -sha256 > 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 > rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc > > -sha256 > 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f > rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc > > -sha256 > 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc > rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc > > -sha256 > db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 > rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc > > -sha256 > 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 > rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc > > -sha256 > e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa > rust-std-1.58.1-i586-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > > -sha256 > d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 > rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc > > -sha256 > c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 > rust-std-1.58.1-i686-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > > -sha256 > b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 > rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc > > -sha256 > 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 > rust-std-1.58.1-mips-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc > > -sha256 > 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 > rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc > > -sha256 > 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 > rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc > > -sha256 > 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 > rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc > > -sha256 > 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 > rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > > -sha256 > fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 > rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc > > -sha256 > c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e > rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > > -sha256 > 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 > rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > > -sha256 > c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b > rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > > -sha256 > a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 > rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > > -sha256 > 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 > rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc > > -sha256 > 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 > rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > > -sha256 > e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 > rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc > > -sha256 > b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 > rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.asc > > +sha256 > b4144c89f9482f3e76ccad09d0a3072c935b7c0abdb9a52edbd641f2e27bb4f0 > rust-1.59.0-i686-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc > > +sha256 > a10c4abcba4891c463612c161246706cd0e8d3ddb1ae75f514d3f02bed235af6 > rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.asc > > +sha256 > 68e50dee4f6dddeab7330906e46022f57f2c004c847eae3f5b1bc82c59e43fc0 > rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.asc > > +sha256 > 6b8424e9b99da7df3b842b47476fbff4c371414186ae50ca0aff050a532c1d52 > rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.asc > > +sha256 > b65ffcf5a4b4e4df3893b6da7182e2f91cd174e59fd26a69110809015635708a > rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.asc > > +sha256 > 382051a04047463430bfb4d16fe2998fcd00f0945cb99b622e94a7564796846a > rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.asc > > +sha256 > f072103ccbd967ccf06c3e4366a56af1f53af89834f02d0151afc144318d9040 > rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.asc > > +sha256 > e2f4944fb135c508b0c8dff46caf04eca065e5ee5f5de32494b084c667fd20eb > rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.asc > > +sha256 > 2b9042ae8d24f5d8ada3d1903e24c2cdcc464e74a506cb72054a680b1e0433bb > rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.asc > > +sha256 > 1f0726d6b06b7b35de32af45b9f8ac597c89cc5e7236ac6a6dcb91f0412b0e1a > rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.asc > > +sha256 > 310ce12c01fa15f46b8f9eee4a086c818118dbd56cd8400aee04432ba96061df > rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.asc > > +sha256 > 3695a3bee47cfe0624f7822243000a4ee552bf920b403b16cc633513e95498bd > rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.asc > > +sha256 > 6c00582c159524a87b8934a5e4cb513d6032474f9a017bf91697e72885bf70fb > rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.asc > > +sha256 > dcf0f1ddc6dc5e32a07789408d0a2637d639e00cf214c349921d06d3f73c7b2c > rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.asc > > +sha256 > 415a93bc55da0879335a18e55552a111a23bd9d5e70598080071f6346a9b4a0d > rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.asc > > +sha256 > a0a644cb14eec96760b870b585b08a3bf2965844754f8b965b39aded5635ab77 > rust-std-1.59.0-i586-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.asc > > +sha256 > 26e91818a36184998039aeaabbf0972a8610d0d250e4bc03de6f27a7843971b5 > rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.asc > > +sha256 > 5821c1655adc81bc2a347329eab08b651f3312f2eeb972b0a30d93a5c49502f5 > rust-std-1.59.0-i686-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.asc > > +sha256 > 05bf10c11ff845f006331ddfdd109e12b1377c156e37eb1bb3bc0402e4219d31 > rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.asc > > +sha256 > af5ee07f5d98296435867ef5859ec207c57413bb61b0d656c39b1f451aaeeb38 > rust-std-1.59.0-mips-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.asc > > +sha256 > 88c6b0dbadfc7bcc2a2eba0f3328ad1ff1714a5a13f07bffe007aecae59fc9b8 > rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.asc > > +sha256 > a0533694ed62c9c3f497d94ee51bc9ba08e5f3fb24588e02cf1f1c2efbdb9b43 > rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc > > +sha256 > 6a3462a10da953546412912d04228a63c5d4086a4768163f1bd5ccf81950090d > rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.asc > > +sha256 > 606d037a01cc7666594b7973c6a727c69426d85adaf94128dc9914e893ef8ed9 > rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.asc > > +sha256 > fd747f4ef4cee6fe88692dd6e3c7b986870ce8a24eab8920adacc7ab73fb482d > rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.asc > > +sha256 > 4622aa633ad2d0decca59aa65b24195431e40162804352f5bdd9bafd92ee7b9d > rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.asc > > +sha256 > 5ead471b53d290960d49a7cec0ba01a082f5e6cfa18825366990d46797dc7161 > rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.asc > > +sha256 > 1217290e951ae84998d2d04a88d154b1da205e2638a3449c02c8e9256bff589c > rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.asc > > +sha256 > 15dee7705967e3351aff11c64ada30c4957b54066c7ee49b87be4b8155bd0a7d > rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.asc > > +sha256 > 74c1f9c94ff4993948c05df2c9c58f76708e6adbacb9b2caca368558dde9590a > rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.asc > > +sha256 > 6bc109f7ff1f501153cc18eebed9a0cc468eebbfed2cc728047d59456e356f9a > rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc > > +sha256 > c854a9ee3dd8e5be9522c1581f75838c1cbae6dece3934b0004f138c4a5024a3 > rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.asc > > +sha256 > 473b6ddf598418db49efc21c3d2702cdaf9c78ee4ae00611c7d9e384a2d4dad7 > rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz > > # Locally generated > > sha256 > 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a > LICENSE-APACHE > > sha256 > 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 > LICENSE-MIT > > diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk > > index d4cb8f50ea..b50465f7a6 100644 > > --- a/package/rust-bin/rust-bin.mk > > +++ b/package/rust-bin/rust-bin.mk > > @@ -4,7 +4,7 @@ > > # > > > ################################################################################ > > > > -RUST_BIN_VERSION = 1.58.1 > > +RUST_BIN_VERSION = 1.59.0 > > RUST_BIN_SITE = https://static.rust-lang.org/dist > > RUST_BIN_LICENSE = Apache-2.0 or MIT > > RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > > diff --git a/package/rust/rust.hash b/package/rust/rust.hash > > index 7eb8f59603..63a5644176 100644 > > --- a/package/rust/rust.hash > > +++ b/package/rust/rust.hash > > @@ -1,6 +1,6 @@ > > -# From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc > > -sha256 > 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 > rustc-1.58.1-src.tar.xz > > +# From https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.asc > > +sha256 > 375996ead731cab2203ec10a66a3c4568ab6997d7e5d3ae597658164fe27be3d > rustc-1.59.0-src.tar.xz > > # Locally generated > > sha256 > 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a > LICENSE-APACHE > > sha256 > 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 > LICENSE-MIT > > diff --git a/package/rust/rust.mk b/package/rust/rust.mk > > index cd8c87b68d..fd02686082 100644 > > --- a/package/rust/rust.mk > > +++ b/package/rust/rust.mk > > @@ -4,7 +4,7 @@ > > # > > > ################################################################################ > > > > -RUST_VERSION = 1.58.1 > > +RUST_VERSION = 1.59.0 > > RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz > > RUST_SITE = https://static.rust-lang.org/dist > > RUST_LICENSE = Apache-2.0 or MIT > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Eugen.Hristev at microchip.com Tue Apr 12 11:15:01 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Tue, 12 Apr 2022 11:15:01 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <8735ims60b.fsf@dell.be.48ers.dk> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> Message-ID: On 4/9/22 5:09 PM, Peter Korsgaard wrote: >>>>>> "Fabrice" == Fabrice Fontaine writes: > > > Use internal bind as dhcp doesn't build since bump of bind to version > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > doesn't plan to fix it any time soon: > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > In file included from ../includes/dhcpd.h:91, > > from ctrace.c:29: > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > 51 | #include > > | ^~~~~~~~~~~~~~~ > > > Fixes: > > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > > Signed-off-by: Fabrice Fontaine > > Committed to 2022.02.x, thanks. > > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > Hello Peter, Fabrice, While your patch solves the isc/boolean.h problem, now I get several other problems when building an arm926 platform with this package : (sam9x60ek) Could you help please? 2022.01.1 is broken for me atm. Thanks, Eugen >>> dhcp 4.4.2-P1 Building PATH="/home/eugen/buildroot-2022.02/buildroot/output/host/bin:/home/eugen/buildroot-2022.02/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j1 -C /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/ Making all in ./bind /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14 already unpacked... Bind libraries already configured Building BIND libraries - this takes some time. Building isc library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc stats.c: In function ?setcounter?: stats.c:300:29: error: ?val? undeclared (first use in this function); did you mean ?value?? 300 | stats->counters[counter] = val; | ^~~ | value stats.c:300:29: note: each undeclared identifier is reported only once for each function it appears in stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] 286 | const uint64_t value) | ~~~~~~~~~~~~~~~^~~~~ make[4]: *** [Makefile:290: stats.lo] Error 1 Building dns library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns /lib/ld-linux.so.3: No such file or directory make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 make[4]: *** [Makefile:599: include] Error 2 Building isccfg library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg In file included from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24, from aclconf.c:24: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: fatal error: dns/enumtype.h: No such file or directory 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:241: aclconf.lo] Error 1 Building irs library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/irs In file included from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28, from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45, from context.c:28: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: fatal error: dns/enumtype.h: No such file or directory 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:239: context.lo] Error 1 Installing BIND libraries to /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind. stats.c: In function ?setcounter?: stats.c:300:29: error: ?val? undeclared (first use in this function); did you mean ?value?? 300 | stats->counters[counter] = val; | ^~~ | value stats.c:300:29: note: each undeclared identifier is reported only once for each function it appears in stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] 286 | const uint64_t value) | ~~~~~~~~~~~~~~~^~~~~ make[4]: *** [Makefile:290: stats.lo] Error 1 /lib/ld-linux.so.3: No such file or directory make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 make[4]: *** [Makefile:599: include] Error 2 In file included from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24, from aclconf.c:24: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: fatal error: dns/enumtype.h: No such file or directory 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:241: aclconf.lo] Error 1 In file included from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28, from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45, from context.c:28: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: fatal error: dns/enumtype.h: No such file or directory 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:239: context.lo] Error 1 make[3]: *** [Makefile:76: bind2] Error 2 From fontaine.fabrice at gmail.com Tue Apr 12 11:22:40 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 13:22:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> Message-ID: Hello Eugen, Le mar. 12 avr. 2022 ? 13:15, a ?crit : > > On 4/9/22 5:09 PM, Peter Korsgaard wrote: > >>>>>> "Fabrice" == Fabrice Fontaine writes: > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > doesn't plan to fix it any time soon: > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > In file included from ../includes/dhcpd.h:91, > > > from ctrace.c:29: > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > 51 | #include > > > | ^~~~~~~~~~~~~~~ > > > > > Fixes: > > > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > > > > Signed-off-by: Fabrice Fontaine > > > > Committed to 2022.02.x, thanks. > > > > -- > > Bye, Peter Korsgaard > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > > > > Hello Peter, Fabrice, > > While your patch solves the isc/boolean.h problem, now I get several > other problems when building an arm926 platform with this package : > (sam9x60ek) > > Could you help please? 2022.01.1 is broken for me atm. You should apply: https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 as well as https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ Having said that, I fear that dhcp will have to be removed soon due to security concerns: https://gitlab.isc.org/isc-projects/dhcp/-/issues/233 > > Thanks, > Eugen > > > >>> dhcp 4.4.2-P1 Building > PATH="/home/eugen/buildroot-2022.02/buildroot/output/host/bin:/home/eugen/buildroot-2022.02/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" > /usr/bin/make -j1 -C > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/ > Making all in ./bind > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14 > already unpacked... > Bind libraries already configured > Building BIND libraries - this takes some time. > Building isc library in > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc > stats.c: In function ?setcounter?: > stats.c:300:29: error: ?val? undeclared (first use in this function); > did you mean ?value?? > 300 | stats->counters[counter] = val; > | ^~~ > | value > stats.c:300:29: note: each undeclared identifier is reported only once > for each function it appears in > stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] > 286 | const uint64_t value) > | ~~~~~~~~~~~~~~~^~~~~ > make[4]: *** [Makefile:290: stats.lo] Error 1 > > > Building dns library in > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns > > /lib/ld-linux.so.3: No such file or directory > > > make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 > > > make[4]: *** [Makefile:599: include] Error 2 > > > Building isccfg library in > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg > In file included from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24, > from aclconf.c:24: > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: > fatal error: dns/enumtype.h: No such file or directory > 230 | #include /* Provides dns_rdatatype_t. */ > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:241: aclconf.lo] Error 1 > Building irs library in > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/irs > In file included from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28, > from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45, > from context.c:28: > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: > fatal error: dns/enumtype.h: No such file or directory > 230 | #include /* Provides dns_rdatatype_t. */ > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:239: context.lo] Error 1 > Installing BIND libraries to > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind. > stats.c: In function ?setcounter?: > stats.c:300:29: error: ?val? undeclared (first use in this function); > did you mean ?value?? > 300 | stats->counters[counter] = val; > | ^~~ > | value > stats.c:300:29: note: each undeclared identifier is reported only once > for each function it appears in > stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] > 286 | const uint64_t value) > | ~~~~~~~~~~~~~~~^~~~~ > make[4]: *** [Makefile:290: stats.lo] Error 1 > /lib/ld-linux.so.3: No such file or directory > make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 > make[4]: *** [Makefile:599: include] Error 2 > In file included from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24, > from aclconf.c:24: > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: > fatal error: dns/enumtype.h: No such file or directory > 230 | #include /* Provides dns_rdatatype_t. */ > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:241: aclconf.lo] Error 1 > In file included from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28, > from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45, > from context.c:28: > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: > fatal error: dns/enumtype.h: No such file or directory > 230 | #include /* Provides dns_rdatatype_t. */ > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:239: context.lo] Error 1 > make[3]: *** [Makefile:76: bind2] Error 2 Best Regards, Fabrice From peter at korsgaard.com Tue Apr 12 11:33:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 12 Apr 2022 13:33:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: (Fabrice Fontaine's message of "Tue, 12 Apr 2022 13:22:40 +0200") References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> Message-ID: <8735iifser.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: Hi, >> Hello Peter, Fabrice, >> >> While your patch solves the isc/boolean.h problem, now I get several >> other problems when building an arm926 platform with this package : >> (sam9x60ek) >> >> Could you help please? 2022.01.1 is broken for me atm. > You should apply: > https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 That is already in 202.02.1: https://git.buildroot.net/buildroot/commit/?h=2022.02.x&id=0397064a9a147903e9e0c16b2506319ea4a246fb > as well as > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ Is that an ack? ;) > Having said that, I fear that dhcp will have to be removed soon due to > security concerns: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233 Yeah. Eugen, is there any specific reason why you use the dhcp package over the other DHCP clients we provide? -- Bye, Peter Korsgaard From Eugen.Hristev at microchip.com Tue Apr 12 11:43:10 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Tue, 12 Apr 2022 11:43:10 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <8735iifser.fsf@dell.be.48ers.dk> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> Message-ID: <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> On 4/12/22 2:33 PM, Peter Korsgaard wrote: >>>>>> "Fabrice" == Fabrice Fontaine writes: > > Hi, > >>> Hello Peter, Fabrice, > >> > >> While your patch solves the isc/boolean.h problem, now I get several > >> other problems when building an arm926 platform with this package : > >> (sam9x60ek) > >> > >> Could you help please? 2022.01.1 is broken for me atm. > > > You should apply: > > https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 > > That is already in 202.02.1: > > https://git.buildroot.net/buildroot/commit/?h=2022.02.x&id=0397064a9a147903e9e0c16b2506319ea4a246fb > >> as well as > > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ > > Is that an ack? ;) I am testing that patch to see if it improves anything, but as you said Peter, the commit above is already in my tree. > > > Having said that, I fear that dhcp will have to be removed soon due to > > security concerns: > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233 > > Yeah. Eugen, is there any specific reason why you use the dhcp package > over the other DHCP clients we provide? Historical reasons, and the fact that people have working configurations using this package... I was unaware that it was due to be removed. We will try to switch to a different package in the future. Thanks for letting me know. However, if the package is still in this buildroot release, it has to work right ? > > -- > Bye, Peter Korsgaard > From Eugen.Hristev at microchip.com Tue Apr 12 12:32:05 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Tue, 12 Apr 2022 12:32:05 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> Message-ID: <1fe3cf8d-3db1-23ea-8fc6-66b1e5ca043c@microchip.com> On 4/12/22 2:43 PM, Eugen Hristev - M18282 wrote: > On 4/12/22 2:33 PM, Peter Korsgaard wrote: >>>>>>> "Fabrice" == Fabrice Fontaine writes: >> >> Hi, >> >>>> Hello Peter, Fabrice, >> >> >> >> While your patch solves the isc/boolean.h problem, now I get several >> >> other problems when building an arm926 platform with this package : >> >> (sam9x60ek) >> >> >> >> Could you help please? 2022.01.1 is broken for me atm. >> >> > You should apply: >> > https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 >> >> That is already in 202.02.1: >> >> https://git.buildroot.net/buildroot/commit/?h=2022.02.x&id=0397064a9a147903e9e0c16b2506319ea4a246fb >> >>> as well as >> > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ >> >> Is that an ack? ;) > > I am testing that patch to see if it improves anything, but as you said > Peter, the commit above is already in my tree. It appears that with this patch, I am getting both errors : >>> dhcp 4.4.2-P1 Building PATH="/home/eugen/buildroot-2022.02/buildroot/output/host/bin:/home/eugen/buildroot-2022.02/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j1 -C /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/ Making all in ./bind Configuring BIND libraries for DHCP. configure: WARNING: using cross tools not prefixed with host triplet Building BIND libraries - this takes some time. Building isc library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc In file included from /home/eugen/buildroot-2022.02/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/libc-header-start.h:33, from /home/eugen/buildroot-2022.02/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/limits.h:26, from /home/eugen/buildroot-2022.02/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/include-fixed/limits.h:195, from /home/eugen/buildroot-2022.02/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/include-fixed/syslimits.h:7, from /home/eugen/buildroot-2022.02/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/include-fixed/limits.h:34, from ./include/isc/platform.h:218, from ./include/isc/bind9.h:18, from ./include/isc/types.h:19, from ./include/isc/safe.h:20, from ./safe.c:18: /home/eugen/buildroot-2022.02/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ stats.c: In function ?setcounter?: stats.c:300:29: error: ?val? undeclared (first use in this function); did you mean ?value?? 300 | stats->counters[counter] = val; | ^~~ | value stats.c:300:29: note: each undeclared identifier is reported only once for each function it appears in stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] 286 | const uint64_t value) | ~~~~~~~~~~~~~~~^~~~~ make[4]: *** [Makefile:290: stats.lo] Error 1 Building dns library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns libtool: error: cannot find the library '../../lib/isc/libisc.la' or unhandled argument '../../lib/isc/libisc.la' make[4]: *** [Makefile:593: libdns.la] Error 1 Building isccfg library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg libtool: error: cannot find the library '../../lib/dns/libdns.la' or unhandled argument '../../lib/dns/libdns.la' make[4]: *** [Makefile:482: libisccfg.la] Error 1 Building irs library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/irs /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') Installing BIND libraries to /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind. stats.c: In function ?setcounter?: stats.c:300:29: error: ?val? undeclared (first use in this function); did you mean ?value?? 300 | stats->counters[counter] = val; | ^~~ | value stats.c:300:29: note: each undeclared identifier is reported only once for each function it appears in stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] 286 | const uint64_t value) | ~~~~~~~~~~~~~~~^~~~~ make[4]: *** [Makefile:290: stats.lo] Error 1 libtool: error: cannot find the library '../../lib/isc/libisc.la' or unhandled argument '../../lib/isc/libisc.la' make[4]: *** [Makefile:593: libdns.la] Error 1 libtool: error: cannot find the library '../../lib/dns/libdns.la' or unhandled argument '../../lib/dns/libdns.la' make[4]: *** [Makefile:482: libisccfg.la] Error 1 mkdir /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/include mkdir /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/include/irs mkdir /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/lib Making all in includes /usr/bin/make all-am Making all in tests make[3]: Nothing to be done for 'all'. Making all in common Making all in . /bin/bash ../libtool --tag=CC --mode=compile /home/eugen/buildroot-2022.02/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -DISC_CHECK_NONE=1 -I../includes -I/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/include -c -o alloc.lo alloc.c libtool: compile: /home/eugen/buildroot-2022.02/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR=\"/var\" -D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -DISC_CHECK_NONE=1 -I../includes -I/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/include -c alloc.c -fPIC -DPIC -o .libs/alloc.o In file included from ../includes/dhcpd.h:91, from alloc.c:29: ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:561: alloc.lo] Error 1 make[3]: *** [Makefile:619: all-recursive] Error 1 make[2]: *** [Makefile:495: all-recursive] Error 1 make[1]: *** [package/pkg-generic.mk:292: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/.stamp_built] Error 2 make: *** [Makefile:84: _all] Error 2 >> >> > Having said that, I fear that dhcp will have to be removed soon due to >> > security concerns: >> > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233 >> >> Yeah. Eugen, is there any specific reason why you use the dhcp package >> over the other DHCP clients we provide? > > Historical reasons, and the fact that people have working configurations > using this package... I was unaware that it was due to be removed. > We will try to switch to a different package in the future. Thanks for > letting me know. > However, if the package is still in this buildroot release, it has to > work right ? >> >> -- >> Bye, Peter Korsgaard >> > From peter at korsgaard.com Tue Apr 12 12:34:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 12 Apr 2022 14:34:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> (Eugen Hristev's message of "Tue, 12 Apr 2022 11:43:10 +0000") References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> Message-ID: <87y20aeb04.fsf@dell.be.48ers.dk> >>>>> writes: Hi, >> Yeah. Eugen, is there any specific reason why you use the dhcp package >> over the other DHCP clients we provide? > Historical reasons, and the fact that people have working configurations > using this package... I was unaware that it was due to be removed. > We will try to switch to a different package in the future. Thanks for > letting me know. > However, if the package is still in this buildroot release, it has to > work right ? Yes, that is the idea. If it is dead upstream and hard to fix then that naturally makes it harder to do, but the intention is to fix it. -- Bye, Peter Korsgaard From giulio.benetti at benettiengineering.com Tue Apr 12 13:27:52 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 12 Apr 2022 15:27:52 +0200 Subject: [Buildroot] =?utf-8?q?=5BPATCH=5D_DEVELOPERS=3A_add_missing_Miqu?= =?utf-8?q?=C3=A8l_Raynal_e-mail?= Message-ID: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- DEVELOPERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEVELOPERS b/DEVELOPERS index d5035b3239..7a87cceaef 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2067,7 +2067,7 @@ F: package/libfribidi/ N: Min Xu F: package/shadowsocks-libev/ -N: Miqu?l Raynal +N: Miqu?l Raynal F: package/mali-driver/ F: package/rockchip-mali/ -- 2.25.1 From giulio.benetti at benettiengineering.com Tue Apr 12 13:27:53 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 12 Apr 2022 15:27:53 +0200 Subject: [Buildroot] [PATCH] package/mali-driver: fix build failure with archs different from aarch64 and arm In-Reply-To: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> References: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> Message-ID: <20220412132753.89827-2-giulio.benetti@benettiengineering.com> Actually this kernel module can be built by any architecture and this leads to many failures. Sintce it's very unlikely that Mali will be part of architectures other than aarch64 and arm let's depend on BR2_aarch64 and BR2_arm only. Fixes: http://autobuild.buildroot.net/results/f94885ef76865c3888d6cc52b35c93a742f92f3a Signed-off-by: Giulio Benetti --- package/mali-driver/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mali-driver/Config.in b/package/mali-driver/Config.in index fee67096c8..4c1a96d05c 100644 --- a/package/mali-driver/Config.in +++ b/package/mali-driver/Config.in @@ -3,6 +3,7 @@ comment "mali-driver needs a Linux kernel to be built" config BR2_PACKAGE_MALI_DRIVER bool "mali-driver" + depends on BR2_aarch64 || BR2_arm depends on BR2_LINUX_KERNEL help This package builds and installs the Linux kernel driver for -- 2.25.1 From peter at korsgaard.com Tue Apr 12 15:02:36 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 12 Apr 2022 17:02:36 +0200 Subject: [Buildroot] Buildroot 2022.02.1 released Message-ID: <87pmlme44z.fsf@dell.be.48ers.dk> Hi, Buildroot is a simple tool for creating complete embedded Linux systems (http://buildroot.org). Buildroot 2022.02.1 is released - Go download it at: http://buildroot.org/downloads/buildroot-2022.02.1.tar.gz or http://buildroot.org/downloads/buildroot-2022.02.1.tar.xz Or get it from Git: git://git.buildroot.org/buildroot Buildroot 2022.02.1 is a bugfix release on the current long term release, fixing a number of important / security related issues discovered since the 2022.02 release. - Graphs: Also generate a build time timeline graph (for top level parallel builds). - scripts/pkg-stats: Optimize memory consumption for CPE parsing - Fix compatibility issue with the fakeroot script logic and modern versions of dash. - Change git:// URLs pointing to Github to https://, now that Github has turned off support for git:// - Security fixes for apache, apr, bind, containerd, haproxy, libiec61850, libopenssl, libressl, libzlib, matio, minidlna, nbd, netatalk, openvpn, python-paramiko, python-pillow, python-twisted, qt5base, raptor, rtl_433, timescaledb, urandom-scripts, vim, wavpack - Fixes for download/compilation/runtime/license issues in ace, belr, bluez5_utils, boinc, bpftool, busybox, cloop, cog, cppcms, dav1d, dhcp, dieharder, dnsmasq, docker-cli, docker-engine, efl, ell, fakeroot, flac, fluidsynth, gdk-pixbuf, glib-networking, gnutls, gst-omx, gst1-devtools, gst1-libav, gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, gstreamer1-editing-services, htop, intel-gmmlib, ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, libgtk3, libkrb5, libminiupnpc, libodb, libodb-boost, libp11, libpsl, librstp, librtlsdr, liburing, libyang, luasec, lxc, meson, minizip, mpd, mtools, odb, openblas, openssh, optee-os, opus, paho-mqtt-c, pango, php, pipewire, pkcs11-helper, postgresql, pppd, protozero, python-aioconsole, python-brotli, python-greenlet, python-rpi-gpio, python-treq, python-ujson, python-weasyprint, qt5base, qt5wayland, rpi-firmware, rpi-userland, runc, rust, rygel, samba4, shairport-sync, spice, spidev_test, stunnel, systemd, trace-cmd, trousers, ts4900-fpga, tvheadend, udpcast, unbound, upower, usbguard, valgrind, valijson, wget, wireplumber, wireshark, xmrig, zabbix, zlib-ng, zynaddsfx, zziplib For more details, see the CHANGES file: https://git.buildroot.net/buildroot/plain/CHANGES?id=2022.02.1 Users of the affected packages are strongly encouraged to upgrade. Many thanks to all the people contributing to this release: git shortlog -sn 2022.02.. 110 Fabrice Fontaine 28 Peter Seiderer 12 James Hilliard 9 Thomas Petazzoni 8 Bernd Kuhls 8 Peter Korsgaard 5 Francois Perrad 5 Quentin Schulz 5 Romain Naour 3 Angelo Compagnucci 3 Christian Stewart 2 Andreas Ziegler 2 Arnout Vandecappelle (Essensium/Mind) 2 Julien Olivain 2 Kris Bahnsen 2 Neal Frager 2 Vincent Stehl? 1 Cl?ment L?ger 1 Jan Havran 1 Jason A. Donenfeld 1 Joel Stanley 1 John Keeping 1 Kamel Bouhara 1 Kyle Harding 1 Markus Mayer 1 Mathieu Mirmont 1 Mirza Kapetanovic 1 Petr Vorel 1 R?mi Duraffort 1 Sassen, Rutger 1 Thomas Huth 1 Yann E. MORIN 1 Yannick Brosseau 1 Yunhao Tian -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Tue Apr 12 16:36:24 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 18:36:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/netdata: fix uclibc build without wchar Message-ID: <20220412163624.1143941-1-fontaine.fabrice@gmail.com> Fix the following uclibc build failure without wchar raised since bump to version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1: configure: error: Netdata requires a compiler that supports C99 to build Fixes: - http://autobuild.buildroot.org/results/bca4d370ed0553d5f99f1277d0a1e3b49f62b95f Signed-off-by: Fabrice Fontaine --- package/netdata/netdata.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index d29733d8f6..dade6c625b 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -18,6 +18,10 @@ NETDATA_CONF_OPTS = \ --disable-unit-tests NETDATA_DEPENDENCIES = libuv util-linux zlib +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +NETDATA_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 + ifeq ($(BR2_GCC_ENABLE_LTO),y) NETDATA_CONF_OPTS += --enable-lto else -- 2.35.1 From yegorslists at googlemail.com Tue Apr 12 17:02:43 2022 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Tue, 12 Apr 2022 19:02:43 +0200 Subject: [Buildroot] [PATCH] Add overrides configuration option In-Reply-To: <20220412062810.8567-1-jose.pekkarinen@unikie.com> References: <20220412062810.8567-1-jose.pekkarinen@unikie.com> Message-ID: Hi Jos?, please change the patch title to something like this: package/wpa_supplicant: add overrides configuration option On Tue, Apr 12, 2022 at 8:28 AM Jos? Pekkarinen wrote: > > From: Mika Joenpera > > Overrides configration option enabled through s/configration/configuration > wpa_supplicant configuration file. > > Signed-off-by: Mika Joenpera > Signed-off-by: Jos? Pekkarinen > --- > package/wpa_supplicant/Config.in | 7 +++++++ > package/wpa_supplicant/wpa_supplicant.mk | 10 ++++++++++ > 2 files changed, 17 insertions(+) > > diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in > index 8f095cdf2d..bb4b78433e 100644 > --- a/package/wpa_supplicant/Config.in > +++ b/package/wpa_supplicant/Config.in > @@ -84,6 +84,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING > Enable support for open and secured mesh networking > (IEEE 802.11s) > > +config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES > + bool "Enable HT/VHT overrides" > + help > + Enable wpa_supplicant overrides for HT and VHT (disable > + HT/HT40, mask MCS rates, etc.) in wpa_supplicant > + configuration file. > + > config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN > bool "Enable autoscan" > help > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk > index 3c0b0c1dfc..b9da6c0c6d 100644 > --- a/package/wpa_supplicant/wpa_supplicant.mk > +++ b/package/wpa_supplicant/wpa_supplicant.mk > @@ -110,6 +110,16 @@ else > WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH > endif > > +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y) > +WPA_SUPPLICANT_CONFIG_ENABLE += \ > + CONFIG_HT_OVERRIDES \ > + CONFIG_VHT_OVERRIDES Does it make sense to also enable CONFIG_HE_OVERRIDES? Regards, Yegor > +else > +WPA_SUPPLICANT_CONFIG_DISABLE += \ > + CONFIG_HT_OVERRIDES \ > + CONFIG_VHT_OVERRIDES > +endif > + > ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) > WPA_SUPPLICANT_CONFIG_ENABLE += \ > CONFIG_AUTOSCAN_EXPONENTIAL \ > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fperrad at gmail.com Tue Apr 12 18:00:57 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:00:57 +0200 Subject: [Buildroot] [PATCH] package/freetype: bump to version 2.12.0 Message-ID: <20220412180057.2709514-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/freetype/freetype.hash | 6 +++--- package/freetype/freetype.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/freetype/freetype.hash b/package/freetype/freetype.hash index 7abc3d96d..78d0ba20d 100644 --- a/package/freetype/freetype.hash +++ b/package/freetype/freetype.hash @@ -1,8 +1,8 @@ -# From https://sourceforge.net/projects/freetype/files/freetype2/2.11.1/ -sha1 86bdc98b37efe447cf53420bf2c18402ff905112 freetype-2.11.1.tar.xz +# From https://sourceforge.net/projects/freetype/files/freetype2/2.12.0/ +sha1 fd1eb1a27f178808e1d8ccd82c71abfa5d0ebe13 freetype-2.12.0.tar.xz +sha256 ef5c336aacc1a079ff9262d6308d6c2a066dd4d2a905301c4adda9b354399033 freetype-2.12.0.tar.xz # Locally calculated -sha256 3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8 freetype-2.11.1.tar.xz sha256 c85e842b7ff04d95dab7d68e812773de0f8b67940e5449d35b42c66eb0f619fe LICENSE.TXT sha256 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1 docs/FTL.TXT sha256 c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18 docs/GPLv2.TXT diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 912e6c4da..5c6b8c73b 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -4,7 +4,7 @@ # ################################################################################ -FREETYPE_VERSION = 2.11.1 +FREETYPE_VERSION = 2.12.0 FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype FREETYPE_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:01:17 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:01:17 +0200 Subject: [Buildroot] [PATCH] package/gnutls: bump to version 3.7.4 Message-ID: <20220412180117.2709569-1-francois.perrad@gadz.org> remove merged patch Signed-off-by: Francois Perrad --- ...cks-define-lock-functions-as-a-macro.patch | 179 ------------------ package/gnutls/gnutls.hash | 4 +- package/gnutls/gnutls.mk | 2 +- 3 files changed, 3 insertions(+), 182 deletions(-) delete mode 100644 package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch diff --git a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch b/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch deleted file mode 100644 index 52965c051..000000000 --- a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch +++ /dev/null @@ -1,179 +0,0 @@ -From 5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd Mon Sep 17 00:00:00 2001 -From: Daiki Ueno -Date: Wed, 9 Mar 2022 08:07:58 +0100 -Subject: [PATCH] locks: define lock functions as a macro - -When threads are not supported, glthread_* functions are defined as -no-op and thus dereferencing lock variables in inline functions will -cause compilation error. This change fixes it by redefining our lock -functions as a macro so it will also be compiled out. - -Reported by Fabrice Fontaine in: -https://gitlab.com/gnutls/gnutls/-/issues/1330 - -Signed-off-by: Daiki Ueno - -[Retrieved from: -https://gitlab.com/gnutls/gnutls/-/commit/5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd] -Signed-off-by: Fabrice Fontaine ---- - lib/locks.c | 54 ----------------------------------------------- - lib/locks.h | 28 ++++++++++++++++++------ - lib/pkcs11.c | 2 +- - lib/priority.c | 2 +- - lib/verify-tofu.c | 2 +- - 5 files changed, 25 insertions(+), 63 deletions(-) - -diff --git a/lib/locks.c b/lib/locks.c -index d61504e077..8888ed6b12 100644 ---- a/lib/locks.c -+++ b/lib/locks.c -@@ -63,57 +63,3 @@ gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit, - gnutls_mutex_lock = lock; - gnutls_mutex_unlock = unlock; - } -- --int --gnutls_static_mutex_lock(gnutls_static_mutex_t lock) --{ -- if (unlikely(glthread_lock_lock(lock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_static_mutex_unlock(gnutls_static_mutex_t lock) --{ -- if (unlikely(glthread_lock_unlock(lock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_rdlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_wrlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_unlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_unlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_once(gnutls_once_t once, void (*init_func) (void)) --{ -- if (unlikely(glthread_once(once, init_func))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -diff --git a/lib/locks.h b/lib/locks.h -index a1ff0fa9d7..907adfc134 100644 ---- a/lib/locks.h -+++ b/lib/locks.h -@@ -40,8 +40,14 @@ extern mutex_unlock_func gnutls_mutex_unlock; - */ - #define GNUTLS_STATIC_MUTEX(lock) gl_lock_define_initialized(static, lock) - typedef gl_lock_t *gnutls_static_mutex_t; --int gnutls_static_mutex_lock(gnutls_static_mutex_t lock); --int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); -+ -+#define gnutls_static_mutex_lock(LOCK) \ -+ (unlikely(glthread_lock_lock(LOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_static_mutex_unlock(LOCK) \ -+ (unlikely(glthread_lock_unlock(LOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - /* Unlike static mutexes, static rwlocks can be locked/unlocked with - * the functions defined below, because there is no way to replace -@@ -50,13 +56,23 @@ int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); - #define GNUTLS_RWLOCK(rwlock) gl_rwlock_define_initialized(static, rwlock) - typedef gl_rwlock_t *gnutls_rwlock_t; - --int gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock); --int gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock); --int gnutls_rwlock_unlock(gnutls_rwlock_t rwlock); -+#define gnutls_rwlock_rdlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_rdlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_rwlock_wrlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_wrlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_rwlock_unlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_unlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - #define GNUTLS_ONCE(once) gl_once_define(static, once) - typedef gl_once_t *gnutls_once_t; - --int gnutls_once(gnutls_once_t once, void (*init_func) (void)); -+#define gnutls_once(ONCE, INIT_FUNC) \ -+ (unlikely(glthread_once(ONCE, INIT_FUNC)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - #endif /* GNUTLS_LIB_LOCKS_H */ -diff --git a/lib/pkcs11.c b/lib/pkcs11.c -index 8dda0f07c9..ba8ac0c375 100644 ---- a/lib/pkcs11.c -+++ b/lib/pkcs11.c -@@ -351,7 +351,7 @@ int _gnutls_pkcs11_check_init(init_level_t req_level, void *priv, pkcs11_reinit_ - ret = sret; - - cleanup: -- gnutls_static_mutex_unlock(&pkcs11_mutex); -+ (void)gnutls_static_mutex_unlock(&pkcs11_mutex); - - return ret; - } -diff --git a/lib/priority.c b/lib/priority.c -index d17a923318..55ae185c1f 100644 ---- a/lib/priority.c -+++ b/lib/priority.c -@@ -2505,7 +2505,7 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache) - } - - out: -- gnutls_rwlock_unlock(&system_wide_config_rwlock); -+ (void)gnutls_rwlock_unlock(&system_wide_config_rwlock); - return ret; - } - -diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c -index 40b7acdc8a..97f47385e6 100644 ---- a/lib/verify-tofu.c -+++ b/lib/verify-tofu.c -@@ -434,7 +434,7 @@ int store_pubkey(const char *db_name, const char *host, - if (fp != NULL) - fclose(fp); - -- gnutls_static_mutex_unlock(&file_mutex); -+ (void)gnutls_static_mutex_unlock(&file_mutex); - gnutls_free(b64key.data); - - return ret; --- -GitLab - diff --git a/package/gnutls/gnutls.hash b/package/gnutls/gnutls.hash index 2ffc6c1b4..c09e4665e 100644 --- a/package/gnutls/gnutls.hash +++ b/package/gnutls/gnutls.hash @@ -1,6 +1,6 @@ # Locally calculated after checking pgp signature -# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.3.tar.xz.sig -sha256 fc59c43bc31ab20a6977ff083029277a31935b8355ce387b634fa433f8f6c49a gnutls-3.7.3.tar.xz +# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.4.tar.xz.sig +sha256 e6adbebcfbc95867de01060d93c789938cf89cc1d1f6ef9ef661890f6217451f gnutls-3.7.4.tar.xz # Locally calculated sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b doc/COPYING sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 doc/COPYING.LESSER diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk index 7317a3bb1..0e461cd44 100644 --- a/package/gnutls/gnutls.mk +++ b/package/gnutls/gnutls.mk @@ -5,7 +5,7 @@ ################################################################################ GNUTLS_VERSION_MAJOR = 3.7 -GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).3 +GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).4 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) GNUTLS_LICENSE = LGPL-2.1+ (core library) -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:01:39 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:01:39 +0200 Subject: [Buildroot] [PATCH] package/libepoxy: bump to version 1.5.10 Message-ID: <20220412180139.2709625-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libepoxy/libepoxy.hash | 4 ++-- package/libepoxy/libepoxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libepoxy/libepoxy.hash b/package/libepoxy/libepoxy.hash index 376920c3c..bf6c52f99 100644 --- a/package/libepoxy/libepoxy.hash +++ b/package/libepoxy/libepoxy.hash @@ -1,5 +1,5 @@ -# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.9.sha256sum -sha256 d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4 libepoxy-1.5.9.tar.xz +# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.10.sha256sum +sha256 072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623 libepoxy-1.5.10.tar.xz # Hashes for license files: sha256 8d5144666f9c4df9bbd69b8900086d5979259152a1060421cdcc0fb9061a1c12 COPYING diff --git a/package/libepoxy/libepoxy.mk b/package/libepoxy/libepoxy.mk index 5a71fe599..2af2e2f6e 100644 --- a/package/libepoxy/libepoxy.mk +++ b/package/libepoxy/libepoxy.mk @@ -5,7 +5,7 @@ ################################################################################ LIBEPOXY_VERSION_MAJOR = 1.5 -LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).9 +LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).10 LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR) LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz LIBEPOXY_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:01:57 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:01:57 +0200 Subject: [Buildroot] [PATCH] package/libevdev: bump to version 1.12.1 Message-ID: <20220412180157.2709680-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libevdev/libevdev.hash | 6 +++--- package/libevdev/libevdev.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libevdev/libevdev.hash b/package/libevdev/libevdev.hash index 68a5ebdcb..dd76e158e 100644 --- a/package/libevdev/libevdev.hash +++ b/package/libevdev/libevdev.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/input-tools/2021-November/001573.html -sha256 2f729e3480695791f9482e8388bd723402b89f0eaf118057bbdea3cecee9b237 libevdev-1.12.0.tar.xz -sha512 6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c libevdev-1.12.0.tar.xz +# From https://lists.freedesktop.org/archives/input-tools/2022-March/001574.html +sha256 1dbba41bc516d3ca7abc0da5b862efe3ea8a7018fa6e9b97ce9d39401b22426c libevdev-1.12.1.tar.xz +sha512 eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4 libevdev-1.12.1.tar.xz # Hash for license files: sha256 6f13de7ce28e4948ba95170e0723ee1254c1978ce1f127af82aeca597b567cb9 COPYING diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk index cd80154be..726a5afce 100644 --- a/package/libevdev/libevdev.mk +++ b/package/libevdev/libevdev.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBEVDEV_VERSION = 1.12.0 +LIBEVDEV_VERSION = 1.12.1 LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz LIBEVDEV_LICENSE = MIT -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:02:13 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:02:13 +0200 Subject: [Buildroot] [PATCH] package/mc: bump to version 4.8.28 Message-ID: <20220412180213.2709733-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/mc/mc.hash | 4 ++-- package/mc/mc.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mc/mc.hash b/package/mc/mc.hash index 6400f64b9..b0381474f 100644 --- a/package/mc/mc.hash +++ b/package/mc/mc.hash @@ -1,4 +1,4 @@ -# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256 -sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz +# Hash from http://ftp.midnight-commander.org/mc-4.8.28.sha256 +sha256 e994d9be9a7172e9ac4a4ad62107921f6aa312e668b056dfe5b8bcebbaf53803 mc-4.8.28.tar.xz # sha256 locally computed: sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING diff --git a/package/mc/mc.mk b/package/mc/mc.mk index 678d687bc..ac12c2173 100644 --- a/package/mc/mc.mk +++ b/package/mc/mc.mk @@ -4,7 +4,7 @@ # ################################################################################ -MC_VERSION = 4.8.27 +MC_VERSION = 4.8.28 MC_SOURCE = mc-$(MC_VERSION).tar.xz MC_SITE = http://ftp.midnight-commander.org MC_LICENSE = GPL-3.0+ -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:02:33 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:02:33 +0200 Subject: [Buildroot] [PATCH] package/pango: bump to version 1.50.6 Message-ID: <20220412180233.2709789-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/pango/pango.hash | 4 ++-- package/pango/pango.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/pango/pango.hash b/package/pango/pango.hash index 319d9778c..fecf36853 100644 --- a/package/pango/pango.hash +++ b/package/pango/pango.hash @@ -1,5 +1,5 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.5.sha256sum -sha256 6d136872da6207fe88c5cd2c95c36bcaf4ed29402b854663a86cd7efe99b0cf5 pango-1.50.5.tar.xz +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum +sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz # Locally computed sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/package/pango/pango.mk b/package/pango/pango.mk index 69ec5bb49..c264e7674 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -5,7 +5,7 @@ ################################################################################ PANGO_VERSION_MAJOR = 1.50 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).5 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:02:48 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:02:48 +0200 Subject: [Buildroot] [PATCH] package/sqlite: bump to version 3.38.2 Message-ID: <20220412180248.2709842-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/sqlite/sqlite.hash | 2 +- package/sqlite/sqlite.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/sqlite/sqlite.hash b/package/sqlite/sqlite.hash index 1b3dc35cc..882cf8564 100644 --- a/package/sqlite/sqlite.hash +++ b/package/sqlite/sqlite.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8e3a8ceb9794d968399590d2ddf9d5c044a97dd83d38b9613364a245ec8a2fc4 sqlite-autoconf-3380100.tar.gz +sha256 e7974aa1430bad690a5e9f79a6ee5c8492ada8269dc675875ad0fb747d7cada4 sqlite-autoconf-3380200.tar.gz sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk index a0c90b7f6..9f88af7ae 100644 --- a/package/sqlite/sqlite.mk +++ b/package/sqlite/sqlite.mk @@ -4,8 +4,8 @@ # ################################################################################ -SQLITE_VERSION = 3.38.1 -SQLITE_TAR_VERSION = 3380100 +SQLITE_VERSION = 3.38.2 +SQLITE_TAR_VERSION = 3380200 SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_TAR_VERSION).tar.gz SQLITE_SITE = https://www.sqlite.org/2022 SQLITE_LICENSE = Public domain -- 2.32.0 From fontaine.fabrice at gmail.com Tue Apr 12 18:16:07 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 20:16:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: security bump to version 4.4.3 Message-ID: <20220412181607.1451580-1-fontaine.fabrice@gmail.com> - Security vulnerabilies will be fixed by bumping internal bind from 9.11.14 to 9.11.36 - Drop patch (already in version) - This bump will also fix the following build failure on platforms without stdatomic lock free thanks to https://gitlab.isc.org/isc-projects/bind9/-/commit/261c84d91d1b4581df9f7f0ec031908299de7726 stats.c: In function 'setcounter': stats.c:300:29: error: 'val' undeclared (first use in this function); did you mean 'value'? 300 | stats->counters[counter] = val; | ^~~ | value - Update hash of license file (ISC address updated and preamble removed: https://gitlab.isc.org/isc-projects/dhcp/-/commit/429a56d73c0f9f2edf400fd6313850a3ce4fd809 https://gitlab.isc.org/isc-projects/dhcp/-/commit/ee868403d0df934442a438aa6b5832bacabb7b23) https://gitlab.isc.org/isc-projects/dhcp/-/blob/v4_4_3/RELNOTES Fixes: - http://autobuild.buildroot.org/results/e4d027b5bcda852d0b5a54035de5ed37499a4ef0 Signed-off-by: Fabrice Fontaine --- ...e-ISC-DHCP-does-not-build-with-gcc10.patch | 121 ------------------ package/dhcp/dhcp.hash | 6 +- package/dhcp/dhcp.mk | 2 +- 3 files changed, 4 insertions(+), 125 deletions(-) delete mode 100644 package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch diff --git a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch b/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch deleted file mode 100644 index ad244267fe..0000000000 --- a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch +++ /dev/null @@ -1,121 +0,0 @@ -From 129b7e402bd6e7278854e5a8935fce460552b5f4 Mon Sep 17 00:00:00 2001 -From: Thomas Markwalder -Date: Thu, 30 Jul 2020 10:01:36 -0400 -Subject: [PATCH] [#117] Fixed gcc 10 compilation issues - -client/dhclient.c -relay/dhcrelay.c - extern'ed local_port,remote_port - -common/discover.c - init local_port,remote_port to 0 - -server/mdb.c - extern'ed dhcp_type_host - -server/mdb6.c - create_prefix6() - eliminated memcpy string overflow error - -[Retrieved from: -https://gitlab.isc.org/isc-projects/dhcp/-/merge_requests/60/diffs?commit_id=129b7e402bd6e7278854e5a8935fce460552b5f4] -Signed-off-by: Fabrice Fontaine ---- - RELNOTES | 5 +++++ - client/dhclient.c | 5 +++-- - common/discover.c | 4 ++-- - relay/dhcrelay.c | 4 ++-- - server/mdb.c | 2 +- - server/mdb6.c | 2 +- - 6 files changed, 14 insertions(+), 8 deletions(-) - -diff --git a/RELNOTES b/RELNOTES -index 9d0a0414..6919dba7 100644 ---- a/RELNOTES -+++ b/RELNOTES -@@ -103,6 +103,11 @@ ISC DHCP is open source software maintained by Internet Systems - Consortium. This product includes cryptographic software written - by Eric Young (eay at cryptsoft.com). - -+ Changes since 4.4.2 (Bug Fixes) -+ -+- Minor corrections to allow compilation under gcc 10. -+ [Gitlab #117] -+ - Changes since 4.4.2b1 (Bug Fixes) - - - Added a clarification on DHCPINFORMs and server authority to -diff --git a/client/dhclient.c b/client/dhclient.c -index 189e5270..7a7837cb 100644 ---- a/client/dhclient.c -+++ b/client/dhclient.c -@@ -83,8 +83,9 @@ static const char message [] = "Internet Systems Consortium DHCP Client"; - static const char url [] = "For info, please visit https://www.isc.org/software/dhcp/"; - #endif /* UNIT_TEST */ - --u_int16_t local_port = 0; --u_int16_t remote_port = 0; -+extern u_int16_t local_port; -+extern u_int16_t remote_port; -+ - #if defined(DHCPv6) && defined(DHCP4o6) - int dhcp4o6_state = -1; /* -1 = stopped, 0 = polling, 1 = started */ - #endif -diff --git a/common/discover.c b/common/discover.c -index ca4f4d55..22f09767 100644 ---- a/common/discover.c -+++ b/common/discover.c -@@ -45,8 +45,8 @@ struct interface_info *fallback_interface = 0; - - int interfaces_invalidated; - int quiet_interface_discovery; --u_int16_t local_port; --u_int16_t remote_port; -+u_int16_t local_port = 0; -+u_int16_t remote_port = 0; - u_int16_t relay_port = 0; - int dhcpv4_over_dhcpv6 = 0; - int (*dhcp_interface_setup_hook) (struct interface_info *, struct iaddr *); -diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c -index 883d5058..7211e3bb 100644 ---- a/relay/dhcrelay.c -+++ b/relay/dhcrelay.c -@@ -95,8 +95,8 @@ enum { forward_and_append, /* Forward and append our own relay option. */ - forward_untouched, /* Forward without changes. */ - discard } agent_relay_mode = forward_and_replace; - --u_int16_t local_port; --u_int16_t remote_port; -+extern u_int16_t local_port; -+extern u_int16_t remote_port; - - /* Relay agent server list. */ - struct server_list { -diff --git a/server/mdb.c b/server/mdb.c -index ff8a707f..8266d764 100644 ---- a/server/mdb.c -+++ b/server/mdb.c -@@ -67,7 +67,7 @@ static host_id_info_t *host_id_info = NULL; - - int numclasseswritten; - --omapi_object_type_t *dhcp_type_host; -+extern omapi_object_type_t *dhcp_type_host; - - isc_result_t enter_class(cd, dynamicp, commit) - struct class *cd; -diff --git a/server/mdb6.c b/server/mdb6.c -index da7baf6e..ebe01e56 100644 ---- a/server/mdb6.c -+++ b/server/mdb6.c -@@ -1945,7 +1945,7 @@ create_prefix6(struct ipv6_pool *pool, struct iasubopt **pref, - } - new_ds.data = new_ds.buffer->data; - memcpy(new_ds.buffer->data, ds.data, ds.len); -- memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp)); -+ memcpy(&new_ds.buffer->data[0] + ds.len, &tmp, sizeof(tmp)); - data_string_forget(&ds, MDL); - data_string_copy(&ds, &new_ds, MDL); - data_string_forget(&new_ds, MDL); --- -GitLab - diff --git a/package/dhcp/dhcp.hash b/package/dhcp/dhcp.hash index ec7c4fe58d..be03423db8 100644 --- a/package/dhcp/dhcp.hash +++ b/package/dhcp/dhcp.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz.sha256.asc -sha256 b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a dhcp-4.4.2-P1.tar.gz +# Verified from https://ftp.isc.org/isc/dhcp/4.4.3/dhcp-4.4.3.tar.gz.sha256.asc +sha256 0e3ec6b4c2a05ec0148874bcd999a66d05518378d77421f607fb0bc9d0135818 dhcp-4.4.3.tar.gz # Locally calculated -sha256 9961fce0d83a6229b9084cdadedfa723a53274c63af610c9adb61b607e0f5a76 LICENSE +sha256 45a39c430be0920cb9570f34b32d2378fe6048c034f2f3265b9326d64ada73df LICENSE diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 460e62a81c..e2690300c1 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -4,7 +4,7 @@ # ################################################################################ -DHCP_VERSION = 4.4.2-P1 +DHCP_VERSION = 4.4.3 DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 12 18:17:18 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 20:17:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <87y20aeb04.fsf@dell.be.48ers.dk> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> <87y20aeb04.fsf@dell.be.48ers.dk> Message-ID: Le mar. 12 avr. 2022 ? 14:34, Peter Korsgaard a ?crit : > > >>>>> writes: > > Hi, > > >> Yeah. Eugen, is there any specific reason why you use the dhcp package > >> over the other DHCP clients we provide? > > > Historical reasons, and the fact that people have working configurations > > using this package... I was unaware that it was due to be removed. > > We will try to switch to a different package in the future. Thanks for > > letting me know. > > However, if the package is still in this buildroot release, it has to > > work right ? > > Yes, that is the idea. If it is dead upstream and hard to fix then that > naturally makes it harder to do, but the intention is to fix it. The following patch should fix the issue: https://patchwork.ozlabs.org/project/buildroot/patch/20220412181607.1451580-1-fontaine.fabrice at gmail.com/ > > -- > Bye, Peter Korsgaard Best Regards, Fabrice From fontaine.fabrice at gmail.com Tue Apr 12 18:22:42 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 20:22:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/azure-iot-sdk-c: fix build with libressl >= 2.8.0 Message-ID: <20220412182242.1452070-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl >= 2.8.0 raised since https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 961 | bio_method = BIO_s_mem(); | ^ cc1: all warnings being treated as errors Fixes: - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc Signed-off-by: Fabrice Fontaine --- ...apters-fix-build-with-libressl-2.8.0.patch | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch diff --git a/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch new file mode 100644 index 0000000000..e2a241bffe --- /dev/null +++ b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch @@ -0,0 +1,85 @@ +From 43b313988d66de144a528e4cf57827df1e8c692d Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 12 Apr 2022 20:00:36 +0200 +Subject: [PATCH] adapters: fix build with libressl >= 2.8.0 (#589) + +Fix the following build failure with libressl >= 2.8.0 raised since +https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: + +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] + 961 | bio_method = BIO_s_mem(); + | ^ +cc1: all warnings being treated as errors + +Fix #585 + +Fixes: + - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/Azure/azure-c-shared-utility/commit/43b313988d66de144a528e4cf57827df1e8c692d] +--- + adapters/tlsio_openssl.c | 2 +- + adapters/x509_openssl.c | 4 ++-- + tests/x509_openssl_ut/x509_openssl_ut.c | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/c-utility/adapters/tlsio_openssl.c b/c-utility/adapters/tlsio_openssl.c +index 4a3df8496..aa48ce52d 100644 +--- a/c-utility/adapters/tlsio_openssl.c ++++ b/c-utility/adapters/tlsio_openssl.c +@@ -953,7 +953,7 @@ static int add_certificate_to_store(TLS_IO_INSTANCE* tls_io_instance, const char + } + else + { +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + const BIO_METHOD* bio_method; + #else + BIO_METHOD* bio_method; +diff --git a/c-utility/adapters/x509_openssl.c b/c-utility/adapters/x509_openssl.c +index 5a9e5ac29..46195b403 100644 +--- a/c-utility/adapters/x509_openssl.c ++++ b/c-utility/adapters/x509_openssl.c +@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate) + // certificates. + + /* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */ +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + SSL_CTX_clear_extra_chain_certs(ssl_ctx); + #else + if (ssl_ctx->extra_certs != NULL) +@@ -345,7 +345,7 @@ int x509_openssl_add_certificates(SSL_CTX* ssl_ctx, const char* certificates) + else + { + /*Codes_SRS_X509_OPENSSL_02_012: [ x509_openssl_add_certificates shall get the memory BIO method function by calling BIO_s_mem. ]*/ +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + const BIO_METHOD* bio_method; + #else + BIO_METHOD* bio_method; +diff --git a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c +index b3349f6b0..f73191e3f 100644 +--- a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c ++++ b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c +@@ -348,7 +348,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) + STRICT_EXPECTED_CALL(BIO_new_mem_buf((void*)TEST_PUBLIC_CERTIFICATE, -1)); + STRICT_EXPECTED_CALL(PEM_read_bio_X509_AUX(IGNORED_PTR_ARG, NULL, NULL, NULL)); + STRICT_EXPECTED_CALL(SSL_CTX_use_certificate(IGNORED_PTR_ARG, IGNORED_PTR_ARG)); +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + // Actual macro name: SSL_CTX_clear_extra_chain_certs: + STRICT_EXPECTED_CALL(SSL_CTX_ctrl(TEST_SSL_CTX_STRUCTURE, SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS, 0, NULL)); + #endif +@@ -537,7 +537,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) + + umock_c_negative_tests_snapshot(); + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + #ifdef __APPLE__ + size_t calls_cannot_fail_rsa[] = { 4, 5, 6, 10, 12, 13, 14 }; + size_t calls_cannot_fail_ecc[] = { 3, 4, 8, 10, 11, 12} ; -- 2.35.1 From petr.vorel at gmail.com Tue Apr 12 18:29:27 2022 From: petr.vorel at gmail.com (Petr Vorel) Date: Tue, 12 Apr 2022 20:29:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/iproute2: bump version to 5.17.0 Message-ID: <20220412182927.142740-1-petr.vorel@gmail.com> Remove patch from this release. Signed-off-by: Petr Vorel --- Tested: bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK ...0001-lib-fix-ax25-h-include-for-musl.patch | 37 ------------------- package/iproute2/iproute2.hash | 2 +- package/iproute2/iproute2.mk | 2 +- 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch diff --git a/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch b/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch deleted file mode 100644 index 1f8860c5d8..0000000000 --- a/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Thu, 13 Jan 2022 08:14:13 +0000 -Subject: [PATCH] lib: fix ax25.h include for musl - -ax25.h isn't guaranteed to be avilable in netax25/*; -it's dependent on our choice of libc (it's not available -on musl at least) [0]. - -Let's use the version from linux-headers. - -[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers -Bug: https://bugs.gentoo.org/831102 - -Signed-off-by: Sam James -Signed-off-by: Stephen Hemminger - -[Retrieved from: -https://github.com/shemminger/iproute2/commit/8bced38a941a181f1468fa39541e872e51b6022f] -Signed-off-by: Fabrice Fontaine ---- - lib/ax25_ntop.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/ax25_ntop.c b/lib/ax25_ntop.c -index cfd0e04b0..3a72a43e9 100644 ---- a/lib/ax25_ntop.c -+++ b/lib/ax25_ntop.c -@@ -2,7 +2,7 @@ - - #include - #include --#include -+#include - - #include "utils.h" - diff --git a/package/iproute2/iproute2.hash b/package/iproute2/iproute2.hash index f7e7f682a9..eafe7a6c9a 100644 --- a/package/iproute2/iproute2.hash +++ b/package/iproute2/iproute2.hash @@ -1,3 +1,3 @@ # From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc -sha256 c064b66f6b001c2a35aa5224b5b1ac8aa4bee104d7dce30d6f10a84cb8b01e2f iproute2-5.16.0.tar.xz +sha256 6e384f1b42c75e1a9daac57866da37dcff909090ba86eb25a6e764da7893660e iproute2-5.17.0.tar.xz sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index a51b5b2996..8ecde069f5 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -4,7 +4,7 @@ # ################################################################################ -IPROUTE2_VERSION = 5.16.0 +IPROUTE2_VERSION = 5.17.0 IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2 IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf \ -- 2.35.1 From petr.vorel at gmail.com Tue Apr 12 18:30:53 2022 From: petr.vorel at gmail.com (Petr Vorel) Date: Tue, 12 Apr 2022 20:30:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/links: bump version to 2.26 Message-ID: <20220412183053.142926-1-petr.vorel@gmail.com> Signed-off-by: Petr Vorel --- Tested: bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK package/links/links.hash | 2 +- package/links/links.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/links/links.hash b/package/links/links.hash index 0f8cd32937..83b27aeb9d 100644 --- a/package/links/links.hash +++ b/package/links/links.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 2dd78508698e8279ef4f09a3a2a21e9595040113402da6c553974414fb49dd2c links-2.25.tar.bz2 +sha256 f05b3577f25dbe63e491c424f0ecb31f7bfadce9b2bc2f111dfed049c004c9cb links-2.26.tar.bz2 sha256 92deeb70791366630095d4e0714fe37d6e2bd5db0e6ef498ebb8de328f45b253 COPYING diff --git a/package/links/links.mk b/package/links/links.mk index 1f1a7a9189..a861fd657a 100644 --- a/package/links/links.mk +++ b/package/links/links.mk @@ -4,7 +4,7 @@ # ################################################################################ -LINKS_VERSION = 2.25 +LINKS_VERSION = 2.26 LINKS_SOURCE = links-$(LINKS_VERSION).tar.bz2 LINKS_SITE = http://links.twibright.com/download LINKS_DEPENDENCIES = host-pkgconf -- 2.35.1 From arnout at mind.be Tue Apr 12 18:31:24 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:31:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: build internal bind tool gen for host (not target) In-Reply-To: References: Message-ID: On 06/04/2022 16:52, Tim Hammer wrote: > Building gen tool of the internal (bundled) bind needs to be for host, not target > Switch to use internal build in commit 0c8dd6ebd656e06cf99a63eb93343715f4853503 > overlooked this. > > Building dns library in /home/autobuild/autobuild/instance-13/output-1/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns > /bin/sh: line 1: ./gen: cannot execute binary file: Exec format error > > Fixes: > - http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7/ Your signed-off-by is missing here. I took the liberty of adding it and applied to master, thanks. Regards, Arnout > --- > package/dhcp/dhcp.mk | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index f1e3c22f1c..2faea48c46 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -23,7 +23,11 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > + > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > From arnout at mind.be Tue Apr 12 18:31:46 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:31:46 +0200 Subject: [Buildroot] [PATCH] configs/olimex_stmp157: bump kernel version In-Reply-To: <20220406140535.2569899-1-francois.perrad@gadz.org> References: <20220406140535.2569899-1-francois.perrad@gadz.org> Message-ID: <67711ace-1c16-238a-0297-fb236153f474@mind.be> On 06/04/2022 16:05, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > configs/olimex_stmp157_olinuxino_lime_defconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig > index 74e7f9ba6..f9b31bbdc 100644 > --- a/configs/olimex_stmp157_olinuxino_lime_defconfig > +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig > @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_GIT=y > BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" > -# branch release-20210821-v5.10.60 > -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="081be4c4c634cf9345b8bf59fe141a0236383ae4" > +# branch release-20220321-v5.10.105 > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" > BR2_LINUX_KERNEL_DTS_SUPPORT=y From arnout at mind.be Tue Apr 12 18:32:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:32:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix build without NPTL In-Reply-To: <20220405215752.2803676-1-fontaine.fabrice@gmail.com> References: <20220405215752.2803676-1-fontaine.fabrice@gmail.com> Message-ID: <7d261d6c-dec0-b8a9-0d98-9d4c2b3bf752@mind.be> On 05/04/2022 23:57, Fabrice Fontaine wrote: > Fix the following build failure without NPTL raised since bump to > version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and > https://github.com/postgres/postgres/commit/44bf3d5083e151d772c5d6f656e3e162f573dced: > > In file included from pthread_barrier_wait.c:16: > ../../src/include/port/pg_pthread.h:31:3: error: conflicting types for 'pthread_barrier_t' > 31 | } pthread_barrier_t; > | ^~~~~~~~~~~~~~~~~ > In file included from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:114, > from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:71, > from ../../src/include/c.h:59, > from pthread_barrier_wait.c:14: > /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:135:3: note: previous declaration of 'pthread_barrier_t' was here > 135 | } pthread_barrier_t; > | ^~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/70acbe121236ef0905c4466d4f7a0839723d2c49 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/postgresql/postgresql.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk > index c389246f80..1dfb20b58d 100644 > --- a/package/postgresql/postgresql.mk > +++ b/package/postgresql/postgresql.mk > @@ -38,7 +38,7 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) > POSTGRESQL_CONF_ENV += pgac_cv_type_locale_t=no > endif > > -ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) > +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) > POSTGRESQL_CONF_OPTS += --disable-thread-safety > endif > From arnout at mind.be Tue Apr 12 18:32:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:32:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/rt-tests: needs __sync_*_4 intrisics In-Reply-To: <20220405215207.2696390-1-fontaine.fabrice@gmail.com> References: <20220405215207.2696390-1-fontaine.fabrice@gmail.com> Message-ID: On 05/04/2022 23:52, Fabrice Fontaine wrote: > rt-tests needs __sync_*_4 intrisics since bump to version 1.9 in commit > 32be34427956a590d07d12e965f97fa9d2110ae9 and > https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/commit/?id=c86dec5765e1ad0bd1d0c429ca7c138c11da2c80: > > oslat.c:(.text+0x1034): undefined reference to `__sync_add_and_fetch_4' > > Fixes: > - http://autobuild.buildroot.org/results/9b065ee7611db3a404863b85161f46a2e9e8ddad > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/rt-tests/Config.in | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in > index 47fa7cd840..8efa3d194e 100644 > --- a/package/rt-tests/Config.in > +++ b/package/rt-tests/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_RT_TESTS > bool "rt-tests" > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics > depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 > depends on BR2_USE_MMU # fork(), numactl > @@ -30,6 +31,7 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain" > depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el > > comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ > || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 > depends on BR2_USE_MMU From arnout at mind.be Tue Apr 12 18:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:32:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/lsof: drop first and second patches In-Reply-To: <20220405205521.2117028-1-fontaine.fabrice@gmail.com> References: <20220405205521.2117028-1-fontaine.fabrice@gmail.com> Message-ID: On 05/04/2022 22:55, Fabrice Fontaine wrote: > Set LSOF_AR and LSOF_CC to be able to drop first patch which is not > upstreamable: https://github.com/lsof-org/lsof/issues/197 > > $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR > and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch > > DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it > is already set in LSOF_CONFIGURE_CMDS > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/lsof/0001-makefile.patch | 14 -------------- > ...cs.patch => 0001-remove-susvlegacy-funcs.patch} | 0 > package/lsof/0003-override-cflags.patch | 13 ------------- > package/lsof/lsof.mk | 5 +++-- > 4 files changed, 3 insertions(+), 29 deletions(-) > delete mode 100644 package/lsof/0001-makefile.patch > rename package/lsof/{0002-remove-susvlegacy-funcs.patch => 0001-remove-susvlegacy-funcs.patch} (100%) > delete mode 100644 package/lsof/0003-override-cflags.patch > > diff --git a/package/lsof/0001-makefile.patch b/package/lsof/0001-makefile.patch > deleted file mode 100644 > index 65b1b2e2a7..0000000000 > --- a/package/lsof/0001-makefile.patch > +++ /dev/null > @@ -1,14 +0,0 @@ > -diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel > ---- a/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100 > -+++ b/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100 > -@@ -21,8 +21,8 @@ > - all: ${LIB} > - > - ${LIB}: ${OBJ} > -- ${AR} > -- ${RANLIB} > -+ ${AR} cr ${LIB} ${OBJ} > -+ ${RANLIB} ${LIB} > - > - clean: FRC > - rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core > diff --git a/package/lsof/0002-remove-susvlegacy-funcs.patch b/package/lsof/0001-remove-susvlegacy-funcs.patch > similarity index 100% > rename from package/lsof/0002-remove-susvlegacy-funcs.patch > rename to package/lsof/0001-remove-susvlegacy-funcs.patch > diff --git a/package/lsof/0003-override-cflags.patch b/package/lsof/0003-override-cflags.patch > deleted file mode 100644 > index 135e599ac9..0000000000 > --- a/package/lsof/0003-override-cflags.patch > +++ /dev/null > @@ -1,13 +0,0 @@ > ---- lsof_4.84/Configure 2008-10-21 18:21:45.000000000 +0200 > -+++ lsof_4.84/Configure 2010-11-03 14:00:00.000000000 +0100 > -@@ -5206,6 +5206,10 @@ > - cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF > - fi # } > - cat ./dialects/$LSOF_DIALECT_DIR/$LSOF_REST >> $LSOF_MKFC > -+if test "X$LSOF_CFLAGS_OVERRIDE" != "X" # { > -+then > -+ sed -i -e 's/^CFLAGS=/override CFLAGS=/' $LSOF_MKFC > -+fi # } > - if test "X$LSOF_LIB_NO" = "X" # { > - then > - > diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk > index ff09d64345..e4e339349a 100644 > --- a/package/lsof/lsof.mk > +++ b/package/lsof/lsof.mk > @@ -33,7 +33,8 @@ endif > define LSOF_CONFIGURE_CMDS > (cd $(@D) ; \ > echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ > - LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ > + LSOF_AR="$(TARGET_AR) cr" LSOF_CC=$(TARGET_CC) \ > + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" \ > LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ > ./Configure linux) > $(LSOF_CONFIGURE_WCHAR_FIXUPS) > @@ -41,7 +42,7 @@ define LSOF_CONFIGURE_CMDS > endef > > define LSOF_BUILD_CMDS > - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D) > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) > endef > > define LSOF_INSTALL_TARGET_CMDS From arnout at mind.be Tue Apr 12 18:16:29 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:16:29 +0200 Subject: [Buildroot] [git commit] package/lsof: drop first and third patches Message-ID: <20220412182311.7613F83AFC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9e9d9b22797de25e5f6e1249a46258544ae6279f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Set LSOF_AR and LSOF_CC to be able to drop first patch which is not upstreamable: https://github.com/lsof-org/lsof/issues/197 $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it is already set in LSOF_CONFIGURE_CMDS Signed-off-by: Fabrice Fontaine [Arnout: add quotes around TARGET_CC] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/lsof/0001-makefile.patch | 14 -------------- ...gacy-funcs.patch => 0001-remove-susvlegacy-funcs.patch} | 0 package/lsof/0003-override-cflags.patch | 13 ------------- package/lsof/lsof.mk | 5 +++-- 4 files changed, 3 insertions(+), 29 deletions(-) diff --git a/package/lsof/0001-makefile.patch b/package/lsof/0001-makefile.patch deleted file mode 100644 index 65b1b2e2a7..0000000000 --- a/package/lsof/0001-makefile.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel ---- a/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100 -+++ b/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100 -@@ -21,8 +21,8 @@ - all: ${LIB} - - ${LIB}: ${OBJ} -- ${AR} -- ${RANLIB} -+ ${AR} cr ${LIB} ${OBJ} -+ ${RANLIB} ${LIB} - - clean: FRC - rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core diff --git a/package/lsof/0002-remove-susvlegacy-funcs.patch b/package/lsof/0001-remove-susvlegacy-funcs.patch similarity index 100% rename from package/lsof/0002-remove-susvlegacy-funcs.patch rename to package/lsof/0001-remove-susvlegacy-funcs.patch diff --git a/package/lsof/0003-override-cflags.patch b/package/lsof/0003-override-cflags.patch deleted file mode 100644 index 135e599ac9..0000000000 --- a/package/lsof/0003-override-cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- lsof_4.84/Configure 2008-10-21 18:21:45.000000000 +0200 -+++ lsof_4.84/Configure 2010-11-03 14:00:00.000000000 +0100 -@@ -5206,6 +5206,10 @@ - cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF - fi # } - cat ./dialects/$LSOF_DIALECT_DIR/$LSOF_REST >> $LSOF_MKFC -+if test "X$LSOF_CFLAGS_OVERRIDE" != "X" # { -+then -+ sed -i -e 's/^CFLAGS=/override CFLAGS=/' $LSOF_MKFC -+fi # } - if test "X$LSOF_LIB_NO" = "X" # { - then - diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk index ff09d64345..feb6a744e0 100644 --- a/package/lsof/lsof.mk +++ b/package/lsof/lsof.mk @@ -33,7 +33,8 @@ endif define LSOF_CONFIGURE_CMDS (cd $(@D) ; \ echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ - LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ + LSOF_AR="$(TARGET_AR) cr" LSOF_CC="$(TARGET_CC)" \ + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" \ LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ ./Configure linux) $(LSOF_CONFIGURE_WCHAR_FIXUPS) @@ -41,7 +42,7 @@ define LSOF_CONFIGURE_CMDS endef define LSOF_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) endef define LSOF_INSTALL_TARGET_CMDS From arnout at mind.be Tue Apr 12 18:17:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:17:11 +0200 Subject: [Buildroot] [git commit] configs/olimex_stmp157: bump kernel version Message-ID: <20220412182311.9619F83B13@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9e4b7386f06b56c15d3c20d30a6c9dacf6ad41d9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/olimex_stmp157_olinuxino_lime_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig index 74e7f9ba67..f9b31bbdc4 100644 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20210821-v5.10.60 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="081be4c4c634cf9345b8bf59fe141a0236383ae4" +# branch release-20220321-v5.10.105 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y From arnout at mind.be Tue Apr 12 18:17:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:17:11 +0200 Subject: [Buildroot] [git commit] package/postgresql: fix build without NPTL Message-ID: <20220412182311.8B67183B14@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6bc346173514c1e1f3c373990c1f48260e66e1a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without NPTL raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://github.com/postgres/postgres/commit/44bf3d5083e151d772c5d6f656e3e162f573dced: In file included from pthread_barrier_wait.c:16: ../../src/include/port/pg_pthread.h:31:3: error: conflicting types for 'pthread_barrier_t' 31 | } pthread_barrier_t; | ^~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:114, from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:71, from ../../src/include/c.h:59, from pthread_barrier_wait.c:14: /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:135:3: note: previous declaration of 'pthread_barrier_t' was here 135 | } pthread_barrier_t; | ^~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/70acbe121236ef0905c4466d4f7a0839723d2c49 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/postgresql/postgresql.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index c389246f80..1dfb20b58d 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -38,7 +38,7 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) POSTGRESQL_CONF_ENV += pgac_cv_type_locale_t=no endif -ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) POSTGRESQL_CONF_OPTS += --disable-thread-safety endif From arnout at mind.be Tue Apr 12 18:17:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:17:11 +0200 Subject: [Buildroot] [git commit] package/rt-tests: needs __sync_*_4 intrisics Message-ID: <20220412182311.80BF2822ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=24d2bc3b1c747fbeb100fa79dfcd9f3645b98dd3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master rt-tests needs __sync_*_4 intrisics since bump to version 1.9 in commit 32be34427956a590d07d12e965f97fa9d2110ae9 and https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/commit/?id=c86dec5765e1ad0bd1d0c429ca7c138c11da2c80: oslat.c:(.text+0x1034): undefined reference to `__sync_add_and_fetch_4' Fixes: - http://autobuild.buildroot.org/results/9b065ee7611db3a404863b85161f46a2e9e8ddad Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rt-tests/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in index 47fa7cd840..8efa3d194e 100644 --- a/package/rt-tests/Config.in +++ b/package/rt-tests/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_RT_TESTS bool "rt-tests" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU # fork(), numactl @@ -30,6 +31,7 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain" depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU From arnout at mind.be Tue Apr 12 18:30:42 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:30:42 +0200 Subject: [Buildroot] [git commit] package/dhcp: build internal bind tool gen for host (not target) Message-ID: <20220412182311.A0F8183B14@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7c814fe9b2fe84d7e294d511c3d62319bcae3281 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Building gen tool of the internal (bundled) bind needs to be for host, not target Switch to use internal build in commit 0c8dd6ebd656e06cf99a63eb93343715f4853503 overlooked this. Building dns library in /home/autobuild/autobuild/instance-13/output-1/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns /bin/sh: line 1: ./gen: cannot execute binary file: Exec format error Thus, we need to set not just CC, but also CFLAGS etc. otherwise the target CFLAGS etc. will be inherited from top-level configure. Fixes: - http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7/ Signed-off-by: Tim Hammer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dhcp/dhcp.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 460e62a81c..b52bf3a579 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -23,7 +23,12 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' + +DHCP_BIND_EXTRA_CONFIG = \ + BUILD_CC='$(HOSTCC)' \ + BUILD_CFLAGS='$(HOST_CFLAGS)' \ + BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ + BUILD_LDFLAGS='$(HOST_LDFLAGS)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk From arnout at mind.be Tue Apr 12 18:34:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:34:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/lsof: drop first and second patches In-Reply-To: References: <20220405205521.2117028-1-fontaine.fabrice@gmail.com> Message-ID: <19f9d8ec-e34b-b0d5-051d-9568ffc6ec5f@mind.be> ?Pressed send too soon... ?Subject was wrong: it's first and third patches. On 12/04/2022 20:32, Arnout Vandecappelle wrote: > > > On 05/04/2022 22:55, Fabrice Fontaine wrote: >> Set LSOF_AR and LSOF_CC to be able to drop first patch which is not >> upstreamable: https://github.com/lsof-org/lsof/issues/197 >> >> $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR >> and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch >> >> DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it >> is already set in LSOF_CONFIGURE_CMDS >> >> Signed-off-by: Fabrice Fontaine [snip] >> diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk >> index ff09d64345..e4e339349a 100644 >> --- a/package/lsof/lsof.mk >> +++ b/package/lsof/lsof.mk >> @@ -33,7 +33,8 @@ endif >> ? define LSOF_CONFIGURE_CMDS >> ????? (cd $(@D) ; \ >> ????????? echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ >> -??????? LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ >> +??????? LSOF_AR="$(TARGET_AR) cr" LSOF_CC=$(TARGET_CC) \ ?You need to put quotes around TARGET_CC, because it may contain ccache. ?Both fixes were applied before pushing. ?Regards, ?Arnout >> + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" \ >> ????????? LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ >> ????????? ./Configure linux) >> ????? $(LSOF_CONFIGURE_WCHAR_FIXUPS) >> @@ -41,7 +42,7 @@ define LSOF_CONFIGURE_CMDS >> ? endef >> ? ? define LSOF_BUILD_CMDS >> -??? $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) >> DEBUG="$(TARGET_CFLAGS)" -C $(@D) >> +??? $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) >> ? endef >> ? ? define LSOF_INSTALL_TARGET_CMDS From yann.morin.1998 at free.fr Tue Apr 12 19:40:09 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:09 +0200 Subject: [Buildroot] [git commit] package/sqlite: bump to version 3.38.2 Message-ID: <20220412193953.A854F83B91@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f239f506cdac9bbe7a1d3395b4dc7544b6cd4367 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/sqlite/sqlite.hash | 2 +- package/sqlite/sqlite.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/sqlite/sqlite.hash b/package/sqlite/sqlite.hash index 1b3dc35ccb..882cf8564b 100644 --- a/package/sqlite/sqlite.hash +++ b/package/sqlite/sqlite.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8e3a8ceb9794d968399590d2ddf9d5c044a97dd83d38b9613364a245ec8a2fc4 sqlite-autoconf-3380100.tar.gz +sha256 e7974aa1430bad690a5e9f79a6ee5c8492ada8269dc675875ad0fb747d7cada4 sqlite-autoconf-3380200.tar.gz sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk index a0c90b7f62..9f88af7ae7 100644 --- a/package/sqlite/sqlite.mk +++ b/package/sqlite/sqlite.mk @@ -4,8 +4,8 @@ # ################################################################################ -SQLITE_VERSION = 3.38.1 -SQLITE_TAR_VERSION = 3380100 +SQLITE_VERSION = 3.38.2 +SQLITE_TAR_VERSION = 3380200 SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_TAR_VERSION).tar.gz SQLITE_SITE = https://www.sqlite.org/2022 SQLITE_LICENSE = Public domain From yann.morin.1998 at free.fr Tue Apr 12 19:39:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:39:53 +0200 Subject: [Buildroot] [git commit] package/libwebsockets: bump to version 4.3.1 Message-ID: <20220412193953.69FDE83B8E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is quite a version jump, so there are a lot of individual changes, see: https://github.com/warmcat/libwebsockets/blob/v4.3.1/changelog LICENSE has also changed: - More items with license "MIT" were added: - lib/misc/base64-decode.c - lib/plat/windows/windows-resolv.c - One more item with a 2-Clause BSD license was added: - lib/misc/ieeehalfprecision.c - Sublicense texts were copied into LICENSE These should still be compatible with "MIT with exceptions" stated in `libwebsockets.mk`. Signed-off-by: Johannes Agricola Signed-off-by: Yann E. MORIN --- package/libwebsockets/libwebsockets.hash | 4 ++-- package/libwebsockets/libwebsockets.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash index 1761a7658a..e39d6e1853 100644 --- a/package/libwebsockets/libwebsockets.hash +++ b/package/libwebsockets/libwebsockets.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 6ece1f422c6d38aabedec2476f2ac12e9aede8691b08137068ad85545ce3ff78 libwebsockets-4.0.21.tar.gz -sha256 5756db345eb9c21cb06dd7cb69c38ec234657a233f9a186b4f5fa453681bd394 LICENSE +sha256 8fdb1454a1b34cd9a6351beaab237a485e6853806101de7e62bd2bc250bb50af libwebsockets-4.3.1.tar.gz +sha256 2b5dd8030691f3d1870a040f085c37e45d9ab9c684a7f1284f5f379c1e829b28 LICENSE diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index c25686d385..152659cee6 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBWEBSOCKETS_VERSION = 4.0.21 +LIBWEBSOCKETS_VERSION = 4.3.1 LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION)) LIBWEBSOCKETS_LICENSE = MIT with exceptions LIBWEBSOCKETS_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Tue Apr 12 19:39:55 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:39:55 +0200 Subject: [Buildroot] [git commit] package/freetype: bump to version 2.12.0 Message-ID: <20220412193953.735F483B91@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99ea9343f2e4ee7f5b7dcccaef8320a9273bc28e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/freetype/freetype.hash | 6 +++--- package/freetype/freetype.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/freetype/freetype.hash b/package/freetype/freetype.hash index 7abc3d96da..78d0ba20d7 100644 --- a/package/freetype/freetype.hash +++ b/package/freetype/freetype.hash @@ -1,8 +1,8 @@ -# From https://sourceforge.net/projects/freetype/files/freetype2/2.11.1/ -sha1 86bdc98b37efe447cf53420bf2c18402ff905112 freetype-2.11.1.tar.xz +# From https://sourceforge.net/projects/freetype/files/freetype2/2.12.0/ +sha1 fd1eb1a27f178808e1d8ccd82c71abfa5d0ebe13 freetype-2.12.0.tar.xz +sha256 ef5c336aacc1a079ff9262d6308d6c2a066dd4d2a905301c4adda9b354399033 freetype-2.12.0.tar.xz # Locally calculated -sha256 3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8 freetype-2.11.1.tar.xz sha256 c85e842b7ff04d95dab7d68e812773de0f8b67940e5449d35b42c66eb0f619fe LICENSE.TXT sha256 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1 docs/FTL.TXT sha256 c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18 docs/GPLv2.TXT diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 912e6c4daa..5c6b8c73be 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -4,7 +4,7 @@ # ################################################################################ -FREETYPE_VERSION = 2.11.1 +FREETYPE_VERSION = 2.12.0 FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype FREETYPE_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Tue Apr 12 19:39:58 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:39:58 +0200 Subject: [Buildroot] [git commit] package/gnutls: bump to version 3.7.4 Message-ID: <20220412193953.7C30E83B93@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c809fa2d0fd8229f2712747f114eb802ed64d780 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master remove merged patch Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- ...01-locks-define-lock-functions-as-a-macro.patch | 179 --------------------- package/gnutls/gnutls.hash | 4 +- package/gnutls/gnutls.mk | 2 +- 3 files changed, 3 insertions(+), 182 deletions(-) diff --git a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch b/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch deleted file mode 100644 index 52965c051d..0000000000 --- a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch +++ /dev/null @@ -1,179 +0,0 @@ -From 5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd Mon Sep 17 00:00:00 2001 -From: Daiki Ueno -Date: Wed, 9 Mar 2022 08:07:58 +0100 -Subject: [PATCH] locks: define lock functions as a macro - -When threads are not supported, glthread_* functions are defined as -no-op and thus dereferencing lock variables in inline functions will -cause compilation error. This change fixes it by redefining our lock -functions as a macro so it will also be compiled out. - -Reported by Fabrice Fontaine in: -https://gitlab.com/gnutls/gnutls/-/issues/1330 - -Signed-off-by: Daiki Ueno - -[Retrieved from: -https://gitlab.com/gnutls/gnutls/-/commit/5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd] -Signed-off-by: Fabrice Fontaine ---- - lib/locks.c | 54 ----------------------------------------------- - lib/locks.h | 28 ++++++++++++++++++------ - lib/pkcs11.c | 2 +- - lib/priority.c | 2 +- - lib/verify-tofu.c | 2 +- - 5 files changed, 25 insertions(+), 63 deletions(-) - -diff --git a/lib/locks.c b/lib/locks.c -index d61504e077..8888ed6b12 100644 ---- a/lib/locks.c -+++ b/lib/locks.c -@@ -63,57 +63,3 @@ gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit, - gnutls_mutex_lock = lock; - gnutls_mutex_unlock = unlock; - } -- --int --gnutls_static_mutex_lock(gnutls_static_mutex_t lock) --{ -- if (unlikely(glthread_lock_lock(lock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_static_mutex_unlock(gnutls_static_mutex_t lock) --{ -- if (unlikely(glthread_lock_unlock(lock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_rdlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_wrlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_unlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_unlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_once(gnutls_once_t once, void (*init_func) (void)) --{ -- if (unlikely(glthread_once(once, init_func))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -diff --git a/lib/locks.h b/lib/locks.h -index a1ff0fa9d7..907adfc134 100644 ---- a/lib/locks.h -+++ b/lib/locks.h -@@ -40,8 +40,14 @@ extern mutex_unlock_func gnutls_mutex_unlock; - */ - #define GNUTLS_STATIC_MUTEX(lock) gl_lock_define_initialized(static, lock) - typedef gl_lock_t *gnutls_static_mutex_t; --int gnutls_static_mutex_lock(gnutls_static_mutex_t lock); --int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); -+ -+#define gnutls_static_mutex_lock(LOCK) \ -+ (unlikely(glthread_lock_lock(LOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_static_mutex_unlock(LOCK) \ -+ (unlikely(glthread_lock_unlock(LOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - /* Unlike static mutexes, static rwlocks can be locked/unlocked with - * the functions defined below, because there is no way to replace -@@ -50,13 +56,23 @@ int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); - #define GNUTLS_RWLOCK(rwlock) gl_rwlock_define_initialized(static, rwlock) - typedef gl_rwlock_t *gnutls_rwlock_t; - --int gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock); --int gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock); --int gnutls_rwlock_unlock(gnutls_rwlock_t rwlock); -+#define gnutls_rwlock_rdlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_rdlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_rwlock_wrlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_wrlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_rwlock_unlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_unlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - #define GNUTLS_ONCE(once) gl_once_define(static, once) - typedef gl_once_t *gnutls_once_t; - --int gnutls_once(gnutls_once_t once, void (*init_func) (void)); -+#define gnutls_once(ONCE, INIT_FUNC) \ -+ (unlikely(glthread_once(ONCE, INIT_FUNC)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - #endif /* GNUTLS_LIB_LOCKS_H */ -diff --git a/lib/pkcs11.c b/lib/pkcs11.c -index 8dda0f07c9..ba8ac0c375 100644 ---- a/lib/pkcs11.c -+++ b/lib/pkcs11.c -@@ -351,7 +351,7 @@ int _gnutls_pkcs11_check_init(init_level_t req_level, void *priv, pkcs11_reinit_ - ret = sret; - - cleanup: -- gnutls_static_mutex_unlock(&pkcs11_mutex); -+ (void)gnutls_static_mutex_unlock(&pkcs11_mutex); - - return ret; - } -diff --git a/lib/priority.c b/lib/priority.c -index d17a923318..55ae185c1f 100644 ---- a/lib/priority.c -+++ b/lib/priority.c -@@ -2505,7 +2505,7 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache) - } - - out: -- gnutls_rwlock_unlock(&system_wide_config_rwlock); -+ (void)gnutls_rwlock_unlock(&system_wide_config_rwlock); - return ret; - } - -diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c -index 40b7acdc8a..97f47385e6 100644 ---- a/lib/verify-tofu.c -+++ b/lib/verify-tofu.c -@@ -434,7 +434,7 @@ int store_pubkey(const char *db_name, const char *host, - if (fp != NULL) - fclose(fp); - -- gnutls_static_mutex_unlock(&file_mutex); -+ (void)gnutls_static_mutex_unlock(&file_mutex); - gnutls_free(b64key.data); - - return ret; --- -GitLab - diff --git a/package/gnutls/gnutls.hash b/package/gnutls/gnutls.hash index 2ffc6c1b4e..c09e4665e5 100644 --- a/package/gnutls/gnutls.hash +++ b/package/gnutls/gnutls.hash @@ -1,6 +1,6 @@ # Locally calculated after checking pgp signature -# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.3.tar.xz.sig -sha256 fc59c43bc31ab20a6977ff083029277a31935b8355ce387b634fa433f8f6c49a gnutls-3.7.3.tar.xz +# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.4.tar.xz.sig +sha256 e6adbebcfbc95867de01060d93c789938cf89cc1d1f6ef9ef661890f6217451f gnutls-3.7.4.tar.xz # Locally calculated sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b doc/COPYING sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 doc/COPYING.LESSER diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk index 7317a3bb1e..0e461cd44c 100644 --- a/package/gnutls/gnutls.mk +++ b/package/gnutls/gnutls.mk @@ -5,7 +5,7 @@ ################################################################################ GNUTLS_VERSION_MAJOR = 3.7 -GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).3 +GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).4 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) GNUTLS_LICENSE = LGPL-2.1+ (core library) From yann.morin.1998 at free.fr Tue Apr 12 19:40:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:05 +0200 Subject: [Buildroot] [git commit] package/mc: bump to version 4.8.28 Message-ID: <20220412193953.96FB883B93@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f17b71d3a8c7971d0f24f4832815f3e77cb7e1d9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/mc/mc.hash | 4 ++-- package/mc/mc.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mc/mc.hash b/package/mc/mc.hash index 6400f64b99..b0381474ff 100644 --- a/package/mc/mc.hash +++ b/package/mc/mc.hash @@ -1,4 +1,4 @@ -# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256 -sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz +# Hash from http://ftp.midnight-commander.org/mc-4.8.28.sha256 +sha256 e994d9be9a7172e9ac4a4ad62107921f6aa312e668b056dfe5b8bcebbaf53803 mc-4.8.28.tar.xz # sha256 locally computed: sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING diff --git a/package/mc/mc.mk b/package/mc/mc.mk index 678d687bcf..ac12c2173a 100644 --- a/package/mc/mc.mk +++ b/package/mc/mc.mk @@ -4,7 +4,7 @@ # ################################################################################ -MC_VERSION = 4.8.27 +MC_VERSION = 4.8.28 MC_SOURCE = mc-$(MC_VERSION).tar.xz MC_SITE = http://ftp.midnight-commander.org MC_LICENSE = GPL-3.0+ From yann.morin.1998 at free.fr Tue Apr 12 19:40:00 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:00 +0200 Subject: [Buildroot] [git commit] package/libepoxy: bump to version 1.5.10 Message-ID: <20220412193953.856B483B8E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0ab10ae245f0ad9d22592e8086132795f3c44600 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/libepoxy/libepoxy.hash | 4 ++-- package/libepoxy/libepoxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libepoxy/libepoxy.hash b/package/libepoxy/libepoxy.hash index 376920c3cc..bf6c52f99e 100644 --- a/package/libepoxy/libepoxy.hash +++ b/package/libepoxy/libepoxy.hash @@ -1,5 +1,5 @@ -# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.9.sha256sum -sha256 d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4 libepoxy-1.5.9.tar.xz +# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.10.sha256sum +sha256 072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623 libepoxy-1.5.10.tar.xz # Hashes for license files: sha256 8d5144666f9c4df9bbd69b8900086d5979259152a1060421cdcc0fb9061a1c12 COPYING diff --git a/package/libepoxy/libepoxy.mk b/package/libepoxy/libepoxy.mk index 5a71fe5998..2af2e2f6e8 100644 --- a/package/libepoxy/libepoxy.mk +++ b/package/libepoxy/libepoxy.mk @@ -5,7 +5,7 @@ ################################################################################ LIBEPOXY_VERSION_MAJOR = 1.5 -LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).9 +LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).10 LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR) LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz LIBEPOXY_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Tue Apr 12 19:40:02 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:02 +0200 Subject: [Buildroot] [git commit] package/libevdev: bump to version 1.12.1 Message-ID: <20220412193953.8E3DD83B91@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2d9b33e61c9b450f12bc64e5ac18ec44cfb70668 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/libevdev/libevdev.hash | 6 +++--- package/libevdev/libevdev.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libevdev/libevdev.hash b/package/libevdev/libevdev.hash index 68a5ebdcba..dd76e158ef 100644 --- a/package/libevdev/libevdev.hash +++ b/package/libevdev/libevdev.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/input-tools/2021-November/001573.html -sha256 2f729e3480695791f9482e8388bd723402b89f0eaf118057bbdea3cecee9b237 libevdev-1.12.0.tar.xz -sha512 6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c libevdev-1.12.0.tar.xz +# From https://lists.freedesktop.org/archives/input-tools/2022-March/001574.html +sha256 1dbba41bc516d3ca7abc0da5b862efe3ea8a7018fa6e9b97ce9d39401b22426c libevdev-1.12.1.tar.xz +sha512 eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4 libevdev-1.12.1.tar.xz # Hash for license files: sha256 6f13de7ce28e4948ba95170e0723ee1254c1978ce1f127af82aeca597b567cb9 COPYING diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk index cd80154be2..726a5afcee 100644 --- a/package/libevdev/libevdev.mk +++ b/package/libevdev/libevdev.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBEVDEV_VERSION = 1.12.0 +LIBEVDEV_VERSION = 1.12.1 LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz LIBEVDEV_LICENSE = MIT From yann.morin.1998 at free.fr Tue Apr 12 19:40:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:07 +0200 Subject: [Buildroot] [git commit] package/pango: bump to version 1.50.6 Message-ID: <20220412193953.A003683B8E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=69836fbf9cd64a758ca60a55742400f23027b6d6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/pango/pango.hash | 4 ++-- package/pango/pango.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/pango/pango.hash b/package/pango/pango.hash index 319d9778c1..fecf368535 100644 --- a/package/pango/pango.hash +++ b/package/pango/pango.hash @@ -1,5 +1,5 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.5.sha256sum -sha256 6d136872da6207fe88c5cd2c95c36bcaf4ed29402b854663a86cd7efe99b0cf5 pango-1.50.5.tar.xz +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum +sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz # Locally computed sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/package/pango/pango.mk b/package/pango/pango.mk index 69ec5bb490..c264e76741 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -5,7 +5,7 @@ ################################################################################ PANGO_VERSION_MAJOR = 1.50 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).5 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Tue Apr 12 19:51:01 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:51:01 +0200 Subject: [Buildroot] [PATCH v2] package/libwebsockets: bump to version 4.3.1 In-Reply-To: <20220411082308.1528455-1-johannes.agricola@work-microwave.com> References: <20220411082308.1528455-1-johannes.agricola@work-microwave.com> Message-ID: <20220412195101.GC4029883@scaer> Johannes, All, On 2022-04-11 10:23 +0200, Johannes Agricola spake thusly: > This is quite a version jump, so there are a lot of individual changes, > see: https://github.com/warmcat/libwebsockets/blob/v4.3.1/changelog > > LICENSE has also changed: > > - More items with license "MIT" were added: > - lib/misc/base64-decode.c > - lib/plat/windows/windows-resolv.c > - One more item with a 2-Clause BSD license was added: > - lib/misc/ieeehalfprecision.c > - Sublicense texts were copied into LICENSE > > These should still be compatible with "MIT with exceptions" stated in > `libwebsockets.mk`. > > Signed-off-by: Johannes Agricola Thanks for the detailed analysis of the licensing changes. Applied to master, thanks. Regards, Yann E. MORIN. > --- > Changes v1 -> v2: > - Update LICENSE hash > - Add changelog and LICENSE changes to commit message > --- > package/libwebsockets/libwebsockets.hash | 4 ++-- > package/libwebsockets/libwebsockets.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash > index 1761a7658a..e39d6e1853 100644 > --- a/package/libwebsockets/libwebsockets.hash > +++ b/package/libwebsockets/libwebsockets.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 6ece1f422c6d38aabedec2476f2ac12e9aede8691b08137068ad85545ce3ff78 libwebsockets-4.0.21.tar.gz > -sha256 5756db345eb9c21cb06dd7cb69c38ec234657a233f9a186b4f5fa453681bd394 LICENSE > +sha256 8fdb1454a1b34cd9a6351beaab237a485e6853806101de7e62bd2bc250bb50af libwebsockets-4.3.1.tar.gz > +sha256 2b5dd8030691f3d1870a040f085c37e45d9ab9c684a7f1284f5f379c1e829b28 LICENSE > diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk > index c25686d385..152659cee6 100644 > --- a/package/libwebsockets/libwebsockets.mk > +++ b/package/libwebsockets/libwebsockets.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBWEBSOCKETS_VERSION = 4.0.21 > +LIBWEBSOCKETS_VERSION = 4.3.1 > LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION)) > LIBWEBSOCKETS_LICENSE = MIT with exceptions > LIBWEBSOCKETS_LICENSE_FILES = LICENSE > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:53:54 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:53:54 +0200 Subject: [Buildroot] [PATCH] package/freetype: bump to version 2.12.0 In-Reply-To: <20220412180057.2709514-1-francois.perrad@gadz.org> References: <20220412180057.2709514-1-francois.perrad@gadz.org> Message-ID: <20220412195354.GD4029883@scaer> Fran?ois, All, On 2022-04-12 20:00 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad I just noticed that your From (git commit author) does not match your SoB. Can you please check that they match for future contributions, please? Anyway; applied to master, thanks. Regards, Yann E. MORIN. > --- > package/freetype/freetype.hash | 6 +++--- > package/freetype/freetype.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/freetype/freetype.hash b/package/freetype/freetype.hash > index 7abc3d96d..78d0ba20d 100644 > --- a/package/freetype/freetype.hash > +++ b/package/freetype/freetype.hash > @@ -1,8 +1,8 @@ > -# From https://sourceforge.net/projects/freetype/files/freetype2/2.11.1/ > -sha1 86bdc98b37efe447cf53420bf2c18402ff905112 freetype-2.11.1.tar.xz > +# From https://sourceforge.net/projects/freetype/files/freetype2/2.12.0/ > +sha1 fd1eb1a27f178808e1d8ccd82c71abfa5d0ebe13 freetype-2.12.0.tar.xz > +sha256 ef5c336aacc1a079ff9262d6308d6c2a066dd4d2a905301c4adda9b354399033 freetype-2.12.0.tar.xz > > # Locally calculated > -sha256 3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8 freetype-2.11.1.tar.xz > sha256 c85e842b7ff04d95dab7d68e812773de0f8b67940e5449d35b42c66eb0f619fe LICENSE.TXT > sha256 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1 docs/FTL.TXT > sha256 c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18 docs/GPLv2.TXT > diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk > index 912e6c4da..5c6b8c73b 100644 > --- a/package/freetype/freetype.mk > +++ b/package/freetype/freetype.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FREETYPE_VERSION = 2.11.1 > +FREETYPE_VERSION = 2.12.0 > FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz > FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype > FREETYPE_INSTALL_STAGING = YES > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:54:16 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:54:16 +0200 Subject: [Buildroot] [PATCH] package/gnutls: bump to version 3.7.4 In-Reply-To: <20220412180117.2709569-1-francois.perrad@gadz.org> References: <20220412180117.2709569-1-francois.perrad@gadz.org> Message-ID: <20220412195416.GE4029883@scaer> Fran?ois, All, On 2022-04-12 20:01 +0200, Francois Perrad spake thusly: > remove merged patch > > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > ...cks-define-lock-functions-as-a-macro.patch | 179 ------------------ > package/gnutls/gnutls.hash | 4 +- > package/gnutls/gnutls.mk | 2 +- > 3 files changed, 3 insertions(+), 182 deletions(-) > delete mode 100644 package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch > > diff --git a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch b/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch > deleted file mode 100644 > index 52965c051..000000000 > --- a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch > +++ /dev/null > @@ -1,179 +0,0 @@ > -From 5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd Mon Sep 17 00:00:00 2001 > -From: Daiki Ueno > -Date: Wed, 9 Mar 2022 08:07:58 +0100 > -Subject: [PATCH] locks: define lock functions as a macro > - > -When threads are not supported, glthread_* functions are defined as > -no-op and thus dereferencing lock variables in inline functions will > -cause compilation error. This change fixes it by redefining our lock > -functions as a macro so it will also be compiled out. > - > -Reported by Fabrice Fontaine in: > -https://gitlab.com/gnutls/gnutls/-/issues/1330 > - > -Signed-off-by: Daiki Ueno > - > -[Retrieved from: > -https://gitlab.com/gnutls/gnutls/-/commit/5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd] > -Signed-off-by: Fabrice Fontaine > ---- > - lib/locks.c | 54 ----------------------------------------------- > - lib/locks.h | 28 ++++++++++++++++++------ > - lib/pkcs11.c | 2 +- > - lib/priority.c | 2 +- > - lib/verify-tofu.c | 2 +- > - 5 files changed, 25 insertions(+), 63 deletions(-) > - > -diff --git a/lib/locks.c b/lib/locks.c > -index d61504e077..8888ed6b12 100644 > ---- a/lib/locks.c > -+++ b/lib/locks.c > -@@ -63,57 +63,3 @@ gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit, > - gnutls_mutex_lock = lock; > - gnutls_mutex_unlock = unlock; > - } > -- > --int > --gnutls_static_mutex_lock(gnutls_static_mutex_t lock) > --{ > -- if (unlikely(glthread_lock_lock(lock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_static_mutex_unlock(gnutls_static_mutex_t lock) > --{ > -- if (unlikely(glthread_lock_unlock(lock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock) > --{ > -- if (unlikely(glthread_rwlock_rdlock(rwlock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock) > --{ > -- if (unlikely(glthread_rwlock_wrlock(rwlock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_rwlock_unlock(gnutls_rwlock_t rwlock) > --{ > -- if (unlikely(glthread_rwlock_unlock(rwlock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_once(gnutls_once_t once, void (*init_func) (void)) > --{ > -- if (unlikely(glthread_once(once, init_func))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -diff --git a/lib/locks.h b/lib/locks.h > -index a1ff0fa9d7..907adfc134 100644 > ---- a/lib/locks.h > -+++ b/lib/locks.h > -@@ -40,8 +40,14 @@ extern mutex_unlock_func gnutls_mutex_unlock; > - */ > - #define GNUTLS_STATIC_MUTEX(lock) gl_lock_define_initialized(static, lock) > - typedef gl_lock_t *gnutls_static_mutex_t; > --int gnutls_static_mutex_lock(gnutls_static_mutex_t lock); > --int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); > -+ > -+#define gnutls_static_mutex_lock(LOCK) \ > -+ (unlikely(glthread_lock_lock(LOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > -+ > -+#define gnutls_static_mutex_unlock(LOCK) \ > -+ (unlikely(glthread_lock_unlock(LOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > - > - /* Unlike static mutexes, static rwlocks can be locked/unlocked with > - * the functions defined below, because there is no way to replace > -@@ -50,13 +56,23 @@ int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); > - #define GNUTLS_RWLOCK(rwlock) gl_rwlock_define_initialized(static, rwlock) > - typedef gl_rwlock_t *gnutls_rwlock_t; > - > --int gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock); > --int gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock); > --int gnutls_rwlock_unlock(gnutls_rwlock_t rwlock); > -+#define gnutls_rwlock_rdlock(RWLOCK) \ > -+ (unlikely(glthread_rwlock_rdlock(RWLOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > -+ > -+#define gnutls_rwlock_wrlock(RWLOCK) \ > -+ (unlikely(glthread_rwlock_wrlock(RWLOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > -+ > -+#define gnutls_rwlock_unlock(RWLOCK) \ > -+ (unlikely(glthread_rwlock_unlock(RWLOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > - > - #define GNUTLS_ONCE(once) gl_once_define(static, once) > - typedef gl_once_t *gnutls_once_t; > - > --int gnutls_once(gnutls_once_t once, void (*init_func) (void)); > -+#define gnutls_once(ONCE, INIT_FUNC) \ > -+ (unlikely(glthread_once(ONCE, INIT_FUNC)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > - > - #endif /* GNUTLS_LIB_LOCKS_H */ > -diff --git a/lib/pkcs11.c b/lib/pkcs11.c > -index 8dda0f07c9..ba8ac0c375 100644 > ---- a/lib/pkcs11.c > -+++ b/lib/pkcs11.c > -@@ -351,7 +351,7 @@ int _gnutls_pkcs11_check_init(init_level_t req_level, void *priv, pkcs11_reinit_ > - ret = sret; > - > - cleanup: > -- gnutls_static_mutex_unlock(&pkcs11_mutex); > -+ (void)gnutls_static_mutex_unlock(&pkcs11_mutex); > - > - return ret; > - } > -diff --git a/lib/priority.c b/lib/priority.c > -index d17a923318..55ae185c1f 100644 > ---- a/lib/priority.c > -+++ b/lib/priority.c > -@@ -2505,7 +2505,7 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache) > - } > - > - out: > -- gnutls_rwlock_unlock(&system_wide_config_rwlock); > -+ (void)gnutls_rwlock_unlock(&system_wide_config_rwlock); > - return ret; > - } > - > -diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c > -index 40b7acdc8a..97f47385e6 100644 > ---- a/lib/verify-tofu.c > -+++ b/lib/verify-tofu.c > -@@ -434,7 +434,7 @@ int store_pubkey(const char *db_name, const char *host, > - if (fp != NULL) > - fclose(fp); > - > -- gnutls_static_mutex_unlock(&file_mutex); > -+ (void)gnutls_static_mutex_unlock(&file_mutex); > - gnutls_free(b64key.data); > - > - return ret; > --- > -GitLab > - > diff --git a/package/gnutls/gnutls.hash b/package/gnutls/gnutls.hash > index 2ffc6c1b4..c09e4665e 100644 > --- a/package/gnutls/gnutls.hash > +++ b/package/gnutls/gnutls.hash > @@ -1,6 +1,6 @@ > # Locally calculated after checking pgp signature > -# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.3.tar.xz.sig > -sha256 fc59c43bc31ab20a6977ff083029277a31935b8355ce387b634fa433f8f6c49a gnutls-3.7.3.tar.xz > +# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.4.tar.xz.sig > +sha256 e6adbebcfbc95867de01060d93c789938cf89cc1d1f6ef9ef661890f6217451f gnutls-3.7.4.tar.xz > # Locally calculated > sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b doc/COPYING > sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 doc/COPYING.LESSER > diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk > index 7317a3bb1..0e461cd44 100644 > --- a/package/gnutls/gnutls.mk > +++ b/package/gnutls/gnutls.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > GNUTLS_VERSION_MAJOR = 3.7 > -GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).3 > +GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).4 > GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz > GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) > GNUTLS_LICENSE = LGPL-2.1+ (core library) > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:54:30 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:54:30 +0200 Subject: [Buildroot] [PATCH] package/libepoxy: bump to version 1.5.10 In-Reply-To: <20220412180139.2709625-1-francois.perrad@gadz.org> References: <20220412180139.2709625-1-francois.perrad@gadz.org> Message-ID: <20220412195430.GF4029883@scaer> Fran?ois, All, On 2022-04-12 20:01 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libepoxy/libepoxy.hash | 4 ++-- > package/libepoxy/libepoxy.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libepoxy/libepoxy.hash b/package/libepoxy/libepoxy.hash > index 376920c3c..bf6c52f99 100644 > --- a/package/libepoxy/libepoxy.hash > +++ b/package/libepoxy/libepoxy.hash > @@ -1,5 +1,5 @@ > -# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.9.sha256sum > -sha256 d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4 libepoxy-1.5.9.tar.xz > +# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.10.sha256sum > +sha256 072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623 libepoxy-1.5.10.tar.xz > > # Hashes for license files: > sha256 8d5144666f9c4df9bbd69b8900086d5979259152a1060421cdcc0fb9061a1c12 COPYING > diff --git a/package/libepoxy/libepoxy.mk b/package/libepoxy/libepoxy.mk > index 5a71fe599..2af2e2f6e 100644 > --- a/package/libepoxy/libepoxy.mk > +++ b/package/libepoxy/libepoxy.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > LIBEPOXY_VERSION_MAJOR = 1.5 > -LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).9 > +LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).10 > LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR) > LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz > LIBEPOXY_INSTALL_STAGING = YES > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:54:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:54:53 +0200 Subject: [Buildroot] [PATCH] package/libevdev: bump to version 1.12.1 In-Reply-To: <20220412180157.2709680-1-francois.perrad@gadz.org> References: <20220412180157.2709680-1-francois.perrad@gadz.org> Message-ID: <20220412195453.GG4029883@scaer> Fran?ois, All, On 2022-04-12 20:01 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libevdev/libevdev.hash | 6 +++--- > package/libevdev/libevdev.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/libevdev/libevdev.hash b/package/libevdev/libevdev.hash > index 68a5ebdcb..dd76e158e 100644 > --- a/package/libevdev/libevdev.hash > +++ b/package/libevdev/libevdev.hash > @@ -1,6 +1,6 @@ > -# From https://lists.freedesktop.org/archives/input-tools/2021-November/001573.html > -sha256 2f729e3480695791f9482e8388bd723402b89f0eaf118057bbdea3cecee9b237 libevdev-1.12.0.tar.xz > -sha512 6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c libevdev-1.12.0.tar.xz > +# From https://lists.freedesktop.org/archives/input-tools/2022-March/001574.html > +sha256 1dbba41bc516d3ca7abc0da5b862efe3ea8a7018fa6e9b97ce9d39401b22426c libevdev-1.12.1.tar.xz > +sha512 eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4 libevdev-1.12.1.tar.xz > > # Hash for license files: > sha256 6f13de7ce28e4948ba95170e0723ee1254c1978ce1f127af82aeca597b567cb9 COPYING > diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk > index cd80154be..726a5afce 100644 > --- a/package/libevdev/libevdev.mk > +++ b/package/libevdev/libevdev.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBEVDEV_VERSION = 1.12.0 > +LIBEVDEV_VERSION = 1.12.1 > LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev > LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz > LIBEVDEV_LICENSE = MIT > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:55:10 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:55:10 +0200 Subject: [Buildroot] [PATCH] package/mc: bump to version 4.8.28 In-Reply-To: <20220412180213.2709733-1-francois.perrad@gadz.org> References: <20220412180213.2709733-1-francois.perrad@gadz.org> Message-ID: <20220412195510.GH4029883@scaer> Fran?ois, All, On 2022-04-12 20:02 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/mc/mc.hash | 4 ++-- > package/mc/mc.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/mc/mc.hash b/package/mc/mc.hash > index 6400f64b9..b0381474f 100644 > --- a/package/mc/mc.hash > +++ b/package/mc/mc.hash > @@ -1,4 +1,4 @@ > -# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256 > -sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz > +# Hash from http://ftp.midnight-commander.org/mc-4.8.28.sha256 > +sha256 e994d9be9a7172e9ac4a4ad62107921f6aa312e668b056dfe5b8bcebbaf53803 mc-4.8.28.tar.xz > # sha256 locally computed: > sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING > diff --git a/package/mc/mc.mk b/package/mc/mc.mk > index 678d687bc..ac12c2173 100644 > --- a/package/mc/mc.mk > +++ b/package/mc/mc.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MC_VERSION = 4.8.27 > +MC_VERSION = 4.8.28 > MC_SOURCE = mc-$(MC_VERSION).tar.xz > MC_SITE = http://ftp.midnight-commander.org > MC_LICENSE = GPL-3.0+ > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:55:25 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:55:25 +0200 Subject: [Buildroot] [PATCH] package/pango: bump to version 1.50.6 In-Reply-To: <20220412180233.2709789-1-francois.perrad@gadz.org> References: <20220412180233.2709789-1-francois.perrad@gadz.org> Message-ID: <20220412195525.GI4029883@scaer> Fran?ois, All, On 2022-04-12 20:02 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/pango/pango.hash | 4 ++-- > package/pango/pango.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/pango/pango.hash b/package/pango/pango.hash > index 319d9778c..fecf36853 100644 > --- a/package/pango/pango.hash > +++ b/package/pango/pango.hash > @@ -1,5 +1,5 @@ > -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.5.sha256sum > -sha256 6d136872da6207fe88c5cd2c95c36bcaf4ed29402b854663a86cd7efe99b0cf5 pango-1.50.5.tar.xz > +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum > +sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz > > # Locally computed > sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING > diff --git a/package/pango/pango.mk b/package/pango/pango.mk > index 69ec5bb49..c264e7674 100644 > --- a/package/pango/pango.mk > +++ b/package/pango/pango.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > PANGO_VERSION_MAJOR = 1.50 > -PANGO_VERSION = $(PANGO_VERSION_MAJOR).5 > +PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 > PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz > PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) > PANGO_INSTALL_STAGING = YES > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:55:36 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:55:36 +0200 Subject: [Buildroot] [PATCH] package/sqlite: bump to version 3.38.2 In-Reply-To: <20220412180248.2709842-1-francois.perrad@gadz.org> References: <20220412180248.2709842-1-francois.perrad@gadz.org> Message-ID: <20220412195536.GJ4029883@scaer> Fran?ois, All, On 2022-04-12 20:02 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/sqlite/sqlite.hash | 2 +- > package/sqlite/sqlite.mk | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/sqlite/sqlite.hash b/package/sqlite/sqlite.hash > index 1b3dc35cc..882cf8564 100644 > --- a/package/sqlite/sqlite.hash > +++ b/package/sqlite/sqlite.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 8e3a8ceb9794d968399590d2ddf9d5c044a97dd83d38b9613364a245ec8a2fc4 sqlite-autoconf-3380100.tar.gz > +sha256 e7974aa1430bad690a5e9f79a6ee5c8492ada8269dc675875ad0fb747d7cada4 sqlite-autoconf-3380200.tar.gz > sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms > diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk > index a0c90b7f6..9f88af7ae 100644 > --- a/package/sqlite/sqlite.mk > +++ b/package/sqlite/sqlite.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -SQLITE_VERSION = 3.38.1 > -SQLITE_TAR_VERSION = 3380100 > +SQLITE_VERSION = 3.38.2 > +SQLITE_TAR_VERSION = 3380200 > SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_TAR_VERSION).tar.gz > SQLITE_SITE = https://www.sqlite.org/2022 > SQLITE_LICENSE = Public domain > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:55:52 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:55:52 +0200 Subject: [Buildroot] [git commit] package/dhcp: security bump to version 4.4.3 Message-ID: <20220412194832.EC58583B9F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9d2fc046ed078630b40350dd33e87b7594938534 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Security vulnerabilies will be fixed by bumping internal bind from 9.11.14 to 9.11.36 - Drop patch (already in version) - This bump will also fix the following build failure on platforms without stdatomic lock free thanks to https://gitlab.isc.org/isc-projects/bind9/-/commit/261c84d91d1b4581df9f7f0ec031908299de7726 stats.c: In function 'setcounter': stats.c:300:29: error: 'val' undeclared (first use in this function); did you mean 'value'? 300 | stats->counters[counter] = val; | ^~~ | value - Update hash of license file (ISC address updated and preamble removed: https://gitlab.isc.org/isc-projects/dhcp/-/commit/429a56d73c0f9f2edf400fd6313850a3ce4fd809 https://gitlab.isc.org/isc-projects/dhcp/-/commit/ee868403d0df934442a438aa6b5832bacabb7b23) https://gitlab.isc.org/isc-projects/dhcp/-/blob/v4_4_3/RELNOTES Fixes: - http://autobuild.buildroot.org/results/e4d027b5bcda852d0b5a54035de5ed37499a4ef0 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...esolve-ISC-DHCP-does-not-build-with-gcc10.patch | 121 --------------------- package/dhcp/dhcp.hash | 6 +- package/dhcp/dhcp.mk | 2 +- 3 files changed, 4 insertions(+), 125 deletions(-) diff --git a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch b/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch deleted file mode 100644 index ad244267fe..0000000000 --- a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch +++ /dev/null @@ -1,121 +0,0 @@ -From 129b7e402bd6e7278854e5a8935fce460552b5f4 Mon Sep 17 00:00:00 2001 -From: Thomas Markwalder -Date: Thu, 30 Jul 2020 10:01:36 -0400 -Subject: [PATCH] [#117] Fixed gcc 10 compilation issues - -client/dhclient.c -relay/dhcrelay.c - extern'ed local_port,remote_port - -common/discover.c - init local_port,remote_port to 0 - -server/mdb.c - extern'ed dhcp_type_host - -server/mdb6.c - create_prefix6() - eliminated memcpy string overflow error - -[Retrieved from: -https://gitlab.isc.org/isc-projects/dhcp/-/merge_requests/60/diffs?commit_id=129b7e402bd6e7278854e5a8935fce460552b5f4] -Signed-off-by: Fabrice Fontaine ---- - RELNOTES | 5 +++++ - client/dhclient.c | 5 +++-- - common/discover.c | 4 ++-- - relay/dhcrelay.c | 4 ++-- - server/mdb.c | 2 +- - server/mdb6.c | 2 +- - 6 files changed, 14 insertions(+), 8 deletions(-) - -diff --git a/RELNOTES b/RELNOTES -index 9d0a0414..6919dba7 100644 ---- a/RELNOTES -+++ b/RELNOTES -@@ -103,6 +103,11 @@ ISC DHCP is open source software maintained by Internet Systems - Consortium. This product includes cryptographic software written - by Eric Young (eay at cryptsoft.com). - -+ Changes since 4.4.2 (Bug Fixes) -+ -+- Minor corrections to allow compilation under gcc 10. -+ [Gitlab #117] -+ - Changes since 4.4.2b1 (Bug Fixes) - - - Added a clarification on DHCPINFORMs and server authority to -diff --git a/client/dhclient.c b/client/dhclient.c -index 189e5270..7a7837cb 100644 ---- a/client/dhclient.c -+++ b/client/dhclient.c -@@ -83,8 +83,9 @@ static const char message [] = "Internet Systems Consortium DHCP Client"; - static const char url [] = "For info, please visit https://www.isc.org/software/dhcp/"; - #endif /* UNIT_TEST */ - --u_int16_t local_port = 0; --u_int16_t remote_port = 0; -+extern u_int16_t local_port; -+extern u_int16_t remote_port; -+ - #if defined(DHCPv6) && defined(DHCP4o6) - int dhcp4o6_state = -1; /* -1 = stopped, 0 = polling, 1 = started */ - #endif -diff --git a/common/discover.c b/common/discover.c -index ca4f4d55..22f09767 100644 ---- a/common/discover.c -+++ b/common/discover.c -@@ -45,8 +45,8 @@ struct interface_info *fallback_interface = 0; - - int interfaces_invalidated; - int quiet_interface_discovery; --u_int16_t local_port; --u_int16_t remote_port; -+u_int16_t local_port = 0; -+u_int16_t remote_port = 0; - u_int16_t relay_port = 0; - int dhcpv4_over_dhcpv6 = 0; - int (*dhcp_interface_setup_hook) (struct interface_info *, struct iaddr *); -diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c -index 883d5058..7211e3bb 100644 ---- a/relay/dhcrelay.c -+++ b/relay/dhcrelay.c -@@ -95,8 +95,8 @@ enum { forward_and_append, /* Forward and append our own relay option. */ - forward_untouched, /* Forward without changes. */ - discard } agent_relay_mode = forward_and_replace; - --u_int16_t local_port; --u_int16_t remote_port; -+extern u_int16_t local_port; -+extern u_int16_t remote_port; - - /* Relay agent server list. */ - struct server_list { -diff --git a/server/mdb.c b/server/mdb.c -index ff8a707f..8266d764 100644 ---- a/server/mdb.c -+++ b/server/mdb.c -@@ -67,7 +67,7 @@ static host_id_info_t *host_id_info = NULL; - - int numclasseswritten; - --omapi_object_type_t *dhcp_type_host; -+extern omapi_object_type_t *dhcp_type_host; - - isc_result_t enter_class(cd, dynamicp, commit) - struct class *cd; -diff --git a/server/mdb6.c b/server/mdb6.c -index da7baf6e..ebe01e56 100644 ---- a/server/mdb6.c -+++ b/server/mdb6.c -@@ -1945,7 +1945,7 @@ create_prefix6(struct ipv6_pool *pool, struct iasubopt **pref, - } - new_ds.data = new_ds.buffer->data; - memcpy(new_ds.buffer->data, ds.data, ds.len); -- memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp)); -+ memcpy(&new_ds.buffer->data[0] + ds.len, &tmp, sizeof(tmp)); - data_string_forget(&ds, MDL); - data_string_copy(&ds, &new_ds, MDL); - data_string_forget(&new_ds, MDL); --- -GitLab - diff --git a/package/dhcp/dhcp.hash b/package/dhcp/dhcp.hash index ec7c4fe58d..be03423db8 100644 --- a/package/dhcp/dhcp.hash +++ b/package/dhcp/dhcp.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz.sha256.asc -sha256 b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a dhcp-4.4.2-P1.tar.gz +# Verified from https://ftp.isc.org/isc/dhcp/4.4.3/dhcp-4.4.3.tar.gz.sha256.asc +sha256 0e3ec6b4c2a05ec0148874bcd999a66d05518378d77421f607fb0bc9d0135818 dhcp-4.4.3.tar.gz # Locally calculated -sha256 9961fce0d83a6229b9084cdadedfa723a53274c63af610c9adb61b607e0f5a76 LICENSE +sha256 45a39c430be0920cb9570f34b32d2378fe6048c034f2f3265b9326d64ada73df LICENSE diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index b52bf3a579..c58592cc45 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -4,7 +4,7 @@ # ################################################################################ -DHCP_VERSION = 4.4.2-P1 +DHCP_VERSION = 4.4.3 DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 From yann.morin.1998 at free.fr Tue Apr 12 19:59:06 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:59:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: security bump to version 4.4.3 In-Reply-To: <20220412181607.1451580-1-fontaine.fabrice@gmail.com> References: <20220412181607.1451580-1-fontaine.fabrice@gmail.com> Message-ID: <20220412195906.GK4029883@scaer> Fabrice, All, +Peter: candidate for backporting On 2022-04-12 20:16 +0200, Fabrice Fontaine spake thusly: > - Security vulnerabilies will be fixed by bumping internal bind from > 9.11.14 to 9.11.36 > - Drop patch (already in version) > - This bump will also fix the following build failure on platforms > without stdatomic lock free thanks to > https://gitlab.isc.org/isc-projects/bind9/-/commit/261c84d91d1b4581df9f7f0ec031908299de7726 > > stats.c: In function 'setcounter': > stats.c:300:29: error: 'val' undeclared (first use in this function); did you mean 'value'? > 300 | stats->counters[counter] = val; > | ^~~ > | value > - Update hash of license file (ISC address updated and preamble removed: > https://gitlab.isc.org/isc-projects/dhcp/-/commit/429a56d73c0f9f2edf400fd6313850a3ce4fd809 > https://gitlab.isc.org/isc-projects/dhcp/-/commit/ee868403d0df934442a438aa6b5832bacabb7b23) > > https://gitlab.isc.org/isc-projects/dhcp/-/blob/v4_4_3/RELNOTES > > Fixes: > - http://autobuild.buildroot.org/results/e4d027b5bcda852d0b5a54035de5ed37499a4ef0 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > ...e-ISC-DHCP-does-not-build-with-gcc10.patch | 121 ------------------ > package/dhcp/dhcp.hash | 6 +- > package/dhcp/dhcp.mk | 2 +- > 3 files changed, 4 insertions(+), 125 deletions(-) > delete mode 100644 package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch > > diff --git a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch b/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch > deleted file mode 100644 > index ad244267fe..0000000000 > --- a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch > +++ /dev/null > @@ -1,121 +0,0 @@ > -From 129b7e402bd6e7278854e5a8935fce460552b5f4 Mon Sep 17 00:00:00 2001 > -From: Thomas Markwalder > -Date: Thu, 30 Jul 2020 10:01:36 -0400 > -Subject: [PATCH] [#117] Fixed gcc 10 compilation issues > - > -client/dhclient.c > -relay/dhcrelay.c > - extern'ed local_port,remote_port > - > -common/discover.c > - init local_port,remote_port to 0 > - > -server/mdb.c > - extern'ed dhcp_type_host > - > -server/mdb6.c > - create_prefix6() - eliminated memcpy string overflow error > - > -[Retrieved from: > -https://gitlab.isc.org/isc-projects/dhcp/-/merge_requests/60/diffs?commit_id=129b7e402bd6e7278854e5a8935fce460552b5f4] > -Signed-off-by: Fabrice Fontaine > ---- > - RELNOTES | 5 +++++ > - client/dhclient.c | 5 +++-- > - common/discover.c | 4 ++-- > - relay/dhcrelay.c | 4 ++-- > - server/mdb.c | 2 +- > - server/mdb6.c | 2 +- > - 6 files changed, 14 insertions(+), 8 deletions(-) > - > -diff --git a/RELNOTES b/RELNOTES > -index 9d0a0414..6919dba7 100644 > ---- a/RELNOTES > -+++ b/RELNOTES > -@@ -103,6 +103,11 @@ ISC DHCP is open source software maintained by Internet Systems > - Consortium. This product includes cryptographic software written > - by Eric Young (eay at cryptsoft.com). > - > -+ Changes since 4.4.2 (Bug Fixes) > -+ > -+- Minor corrections to allow compilation under gcc 10. > -+ [Gitlab #117] > -+ > - Changes since 4.4.2b1 (Bug Fixes) > - > - - Added a clarification on DHCPINFORMs and server authority to > -diff --git a/client/dhclient.c b/client/dhclient.c > -index 189e5270..7a7837cb 100644 > ---- a/client/dhclient.c > -+++ b/client/dhclient.c > -@@ -83,8 +83,9 @@ static const char message [] = "Internet Systems Consortium DHCP Client"; > - static const char url [] = "For info, please visit https://www.isc.org/software/dhcp/"; > - #endif /* UNIT_TEST */ > - > --u_int16_t local_port = 0; > --u_int16_t remote_port = 0; > -+extern u_int16_t local_port; > -+extern u_int16_t remote_port; > -+ > - #if defined(DHCPv6) && defined(DHCP4o6) > - int dhcp4o6_state = -1; /* -1 = stopped, 0 = polling, 1 = started */ > - #endif > -diff --git a/common/discover.c b/common/discover.c > -index ca4f4d55..22f09767 100644 > ---- a/common/discover.c > -+++ b/common/discover.c > -@@ -45,8 +45,8 @@ struct interface_info *fallback_interface = 0; > - > - int interfaces_invalidated; > - int quiet_interface_discovery; > --u_int16_t local_port; > --u_int16_t remote_port; > -+u_int16_t local_port = 0; > -+u_int16_t remote_port = 0; > - u_int16_t relay_port = 0; > - int dhcpv4_over_dhcpv6 = 0; > - int (*dhcp_interface_setup_hook) (struct interface_info *, struct iaddr *); > -diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c > -index 883d5058..7211e3bb 100644 > ---- a/relay/dhcrelay.c > -+++ b/relay/dhcrelay.c > -@@ -95,8 +95,8 @@ enum { forward_and_append, /* Forward and append our own relay option. */ > - forward_untouched, /* Forward without changes. */ > - discard } agent_relay_mode = forward_and_replace; > - > --u_int16_t local_port; > --u_int16_t remote_port; > -+extern u_int16_t local_port; > -+extern u_int16_t remote_port; > - > - /* Relay agent server list. */ > - struct server_list { > -diff --git a/server/mdb.c b/server/mdb.c > -index ff8a707f..8266d764 100644 > ---- a/server/mdb.c > -+++ b/server/mdb.c > -@@ -67,7 +67,7 @@ static host_id_info_t *host_id_info = NULL; > - > - int numclasseswritten; > - > --omapi_object_type_t *dhcp_type_host; > -+extern omapi_object_type_t *dhcp_type_host; > - > - isc_result_t enter_class(cd, dynamicp, commit) > - struct class *cd; > -diff --git a/server/mdb6.c b/server/mdb6.c > -index da7baf6e..ebe01e56 100644 > ---- a/server/mdb6.c > -+++ b/server/mdb6.c > -@@ -1945,7 +1945,7 @@ create_prefix6(struct ipv6_pool *pool, struct iasubopt **pref, > - } > - new_ds.data = new_ds.buffer->data; > - memcpy(new_ds.buffer->data, ds.data, ds.len); > -- memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp)); > -+ memcpy(&new_ds.buffer->data[0] + ds.len, &tmp, sizeof(tmp)); > - data_string_forget(&ds, MDL); > - data_string_copy(&ds, &new_ds, MDL); > - data_string_forget(&new_ds, MDL); > --- > -GitLab > - > diff --git a/package/dhcp/dhcp.hash b/package/dhcp/dhcp.hash > index ec7c4fe58d..be03423db8 100644 > --- a/package/dhcp/dhcp.hash > +++ b/package/dhcp/dhcp.hash > @@ -1,4 +1,4 @@ > -# Verified from https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz.sha256.asc > -sha256 b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a dhcp-4.4.2-P1.tar.gz > +# Verified from https://ftp.isc.org/isc/dhcp/4.4.3/dhcp-4.4.3.tar.gz.sha256.asc > +sha256 0e3ec6b4c2a05ec0148874bcd999a66d05518378d77421f607fb0bc9d0135818 dhcp-4.4.3.tar.gz > # Locally calculated > -sha256 9961fce0d83a6229b9084cdadedfa723a53274c63af610c9adb61b607e0f5a76 LICENSE > +sha256 45a39c430be0920cb9570f34b32d2378fe6048c034f2f3265b9326d64ada73df LICENSE > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 460e62a81c..e2690300c1 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DHCP_VERSION = 4.4.2-P1 > +DHCP_VERSION = 4.4.3 > DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:59:28 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:59:28 +0200 Subject: [git commit] DEVELOPERS: add missing Miquèl Raynal e-mail Message-ID: <20220412194950.2171C83BA7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cc384b9734139a0654718c33f8e67546336750dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- DEVELOPERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEVELOPERS b/DEVELOPERS index d5035b3239..7a87cceaef 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2067,7 +2067,7 @@ F: package/libfribidi/ N: Min Xu F: package/shadowsocks-libev/ -N: Miqu??l Raynal +N: Miqu??l Raynal F: package/mali-driver/ F: package/rockchip-mali/ From yann.morin.1998 at free.fr Tue Apr 12 19:59:52 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:59:52 +0200 Subject: [Buildroot] =?utf-8?q?=5BPATCH=5D_DEVELOPERS=3A_add_missing_Miqu?= =?utf-8?q?=C3=A8l_Raynal_e-mail?= In-Reply-To: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> References: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> Message-ID: <20220412195952.GL4029883@scaer> Giulio, All, On 2022-04-12 15:27 +0200, Giulio Benetti spake thusly: > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Yann E. MORIN. > --- > DEVELOPERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/DEVELOPERS b/DEVELOPERS > index d5035b3239..7a87cceaef 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2067,7 +2067,7 @@ F: package/libfribidi/ > N: Min Xu > F: package/shadowsocks-libev/ > > -N: Miqu?l Raynal > +N: Miqu?l Raynal > F: package/mali-driver/ > F: package/rockchip-mali/ > > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 20:01:12 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 22:01:12 +0200 Subject: [Buildroot] [git commit] package/mali-driver: only available for arm or AArch64 Message-ID: <20220412195243.CBEEF83BB0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3872457e50ba98dbeea0dc44277a671b7923d03d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Currentlym this kernel module can be built by any architecture and this leads to many failures. Since it's very unlikely that Mali will be part of architectures other than AArch64 and arm let's depend on BR2_aarch64 and BR2_arm only. Fixes: http://autobuild.buildroot.net/results/f94885ef76865c3888d6cc52b35c93a742f92f3a Signed-off-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- package/mali-driver/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mali-driver/Config.in b/package/mali-driver/Config.in index fee67096c8..4c1a96d05c 100644 --- a/package/mali-driver/Config.in +++ b/package/mali-driver/Config.in @@ -3,6 +3,7 @@ comment "mali-driver needs a Linux kernel to be built" config BR2_PACKAGE_MALI_DRIVER bool "mali-driver" + depends on BR2_aarch64 || BR2_arm depends on BR2_LINUX_KERNEL help This package builds and installs the Linux kernel driver for From yann.morin.1998 at free.fr Tue Apr 12 20:02:49 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 22:02:49 +0200 Subject: [Buildroot] [PATCH] package/mali-driver: fix build failure with archs different from aarch64 and arm In-Reply-To: <20220412132753.89827-2-giulio.benetti@benettiengineering.com> References: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> <20220412132753.89827-2-giulio.benetti@benettiengineering.com> Message-ID: <20220412200249.GM4029883@scaer> Giulio, All, On 2022-04-12 15:27 +0200, Giulio Benetti spake thusly: > Actually this kernel module can be built by any architecture and this > leads to many failures. Sintce it's very unlikely that Mali will be part > of architectures other than aarch64 and arm let's depend on BR2_aarch64 > and BR2_arm only. > > Fixes: > http://autobuild.buildroot.net/results/f94885ef76865c3888d6cc52b35c93a742f92f3a > > Signed-off-by: Giulio Benetti Applied to master, after slightly rewording the commit log thanks. Regards, Yann E. MORIN. > --- > package/mali-driver/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/mali-driver/Config.in b/package/mali-driver/Config.in > index fee67096c8..4c1a96d05c 100644 > --- a/package/mali-driver/Config.in > +++ b/package/mali-driver/Config.in > @@ -3,6 +3,7 @@ comment "mali-driver needs a Linux kernel to be built" > > config BR2_PACKAGE_MALI_DRIVER > bool "mali-driver" > + depends on BR2_aarch64 || BR2_arm > depends on BR2_LINUX_KERNEL > help > This package builds and installs the Linux kernel driver for > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Tue Apr 12 20:30:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 22:30:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libudfread: needs __sync_*_4 or threads Message-ID: <20220412203048.23203-1-fontaine.fabrice@gmail.com> libudfread needs __sync_*_4 or threads since its addition in commit c477885e3f3c31d3922af1fc0e47e6f5f35b1645 and https://code.videolan.org/videolan/libudfread/-/commit/06c3cb9223a3cb5ab048e42ab353958f422a8f57 to avoid the following build failure: src/udfread.c:108:3: error: #error no atomic operation support 108 | # error no atomic operation support | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/f76d475f49d525095ac0054224b50b9e612691d6 Signed-off-by: Fabrice Fontaine --- package/libudfread/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libudfread/Config.in b/package/libudfread/Config.in index 8d42570500..c1f3f23af9 100644 --- a/package/libudfread/Config.in +++ b/package/libudfread/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_LIBUDFREAD bool "libudfread" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS help UDF reader https://code.videolan.org/videolan/libudfread + +comment "libudfread needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 12 20:48:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 22:48:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/bpftool: needs __sync_*_4 intrisics Message-ID: <20220412204844.24228-1-fontaine.fabrice@gmail.com> bpftool needs __sync_*_4 intrisics since its addition in commit 3675131e6c654d7536a184db0184fde7a97040e0 and https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97: /nvmedata/autobuild/instance-26/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-26/output-1/build/bpftool-v6.7.0/src/libbpf/libbpf.a(libbpf.o): in function `bpf_program__attach_kprobe_opts': libbpf.c:(.text+0xff88): undefined reference to `__sync_fetch_and_add_4' Fixes: - http://autobuild.buildroot.org/results/919b8351d3783ca30a860df87ae814d5c4b9fd41 Signed-off-by: Fabrice Fontaine --- package/bpftool/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in index a1ef3843e6..461be9e5b4 100644 --- a/package/bpftool/Config.in +++ b/package/bpftool/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS config BR2_PACKAGE_BPFTOOL bool "bpftool" depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_nios2 # binutils depends on BR2_USE_WCHAR # binutils, elfutils depends on !BR2_STATIC_LIBS # elfutils @@ -24,6 +25,7 @@ config BR2_PACKAGE_BPFTOOL comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12" depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_nios2 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS \ -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 12 20:49:26 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 22:49:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/libbpf: needs __sync_*_4 intrisics Message-ID: <20220412204926.24281-1-fontaine.fabrice@gmail.com> libbpf needs __sync_*_4 intrisics since bump to version 0.7.0 in commit 4b1003855b02f6d9c77de634c9d0f636470e7388 and https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97 Fixes: - No autobuilder failures (yet) Signed-off-by: Fabrice Fontaine --- package/libbpf/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libbpf/Config.in b/package/libbpf/Config.in index 3aa6679b3a..b3d6e44c6a 100644 --- a/package/libbpf/Config.in +++ b/package/libbpf/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS config BR2_PACKAGE_LIBBPF bool "libbpf" depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_USE_WCHAR # elfutils depends on !BR2_STATIC_LIBS # elfutils depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils @@ -27,6 +28,7 @@ config BR2_PACKAGE_LIBBPF comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13" depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \ -- 2.35.1 From peter at korsgaard.com Tue Apr 12 22:09:28 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 13 Apr 2022 00:09:28 +0200 Subject: [Buildroot] [git commit] Update for 2022.02.1 Message-ID: <20220412220343.EDA4583BD3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=11b6b65d509c24e41af5ce0da941556fb10354fc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard (cherry picked from commit 9da87c52934842026918b9eb8511b35cd935c552) [Peter: skip Makefile bump] Signed-off-by: Peter Korsgaard --- CHANGES | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ support/misc/Vagrantfile | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index e37c6d0fe7..12df66916c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,57 @@ +2022.02.1, released April 11th, 2022 + + Important / security related fixes. + + Graphs: Also generate a build time timeline graph (for top + level parallel builds). + + scripts/pkg-stats: Optimize memory consumption for CPE parsing + + Fix compatibility issue with the fakeroot script logic and + modern versions of dash. + + Change git:// URLs pointing to Github to https://, now that + Github has turned off support for git:// + + Updated/fixed packages: ace, apache, apr, apr-util, belr, + bind, bluez5_utils, boinc, bpftool, busybox, cloop, cog, + containerd, cppcms, dav1d, dhcp, dieharder, dnsmasq, + docker-cli, docker-engine, efl, ell, fakeroot, flac, + fluidsynth, gdk-pixbuf, glib-networking, gnutls, gst-omx, + gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, haproxym htop, intel-gmmlib, + ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, + libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, + libgtk3, libiec61850, libkrb5, libminiupnpc, libodb, + libodb-boost, libopenssl, libp11, libpsl, libressl, librstp, + librtlsdr, liburing, libyang, libzlib, luasec, lxc, matio, + meson, minidlna, minizip, mpd, mtools, netatalk, nbd, odb, + openblas, openssh, openvpn, optee-os, opus, paho-mqtt-c, + pango, php, pipewire, pkcs11-helper, postgresql, ppp, + protozero, python-aioconsole, python-avro, python-brotli, + python-greenlet, python-paramiko, python-pillow, + python-rpi-gpio, python-treq, python-twisted, python-ujson, + python-weasyprint, qt5base, qt5wayland, raptor, rpi-firmware, + rpi-userland, rtl_433, runc, rust, rygel, samba4, + shairport-sync, spice, spidev_test, stunnel, systemd, + timescaledb, trace-cmd, trousers, ts4900-fpga, tvheadend, + udpcast, unbound, upower, urandom-scripts, usbguard, valgrind, + valijson, vim, wavpack, wget, wireplumber, wireshark, woff2, + xmrig, zabbix, zlib-ng, zynaddsubfx, zziplib + + Issues resolved (http://bugs.uclibc.org): + + #13971: ip6tables-nft build does not include MASQUERADE target.. + #14651: OpenSSH 8.9p1 compiler error under ARM + #14656: Adding dependencies from an external tree does not work + #14661: Fakeroot script relies on bash-isms, does not work .. + #14686: genimage.cfg have a hard-coded .ext4 extension which.. + #14701: Multiple unresolved symbols while building kernel .. + #14711: nodjs build problem missing bzip + #14731: BR2_PACKAGE_IOSTAT + 2022.02, released March 8th, 2022 Various fixes. diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index a5a0e3f41a..6cf44d9216 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2022.02' +RELEASE='2022.02.1' ### Change here for more memory/cores ### VM_MEMORY=2048 From peter at korsgaard.com Tue Apr 12 22:13:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 13 Apr 2022 00:13:08 +0200 Subject: [Buildroot] [git commit] docs/website: update for 2022.02.1 Message-ID: <20220412220344.0AD1583BD5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b718adee4bea908a5d810e74e6e3a83379d2ee4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- CHANGES | 2 +- docs/website/download.html | 18 +++++++++--------- docs/website/news.html | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/CHANGES b/CHANGES index 12df66916c..1658db4cce 100644 --- a/CHANGES +++ b/CHANGES @@ -21,7 +21,7 @@ gst1-devtools, gst1-libav, gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, - gstreamer1-editing-services, haproxym htop, intel-gmmlib, + gstreamer1-editing-services, haproxy, htop, intel-gmmlib, ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, libgtk3, libiec61850, libkrb5, libminiupnpc, libodb, diff --git a/docs/website/download.html b/docs/website/download.html index 18a9254cbf..7cbf882f96 100644 --- a/docs/website/download.html +++ b/docs/website/download.html @@ -8,37 +8,37 @@
    Download
    -

    Latest stable / long term support release: 2022.02

    +

    Latest stable / long term support release: 2022.02.1

    https://bugs.busybox.net/attachment.cgi?id=9291&action=edit buildlog dhcp the package dhcp cannot build for buildroot 2022.02.1 the target is a aarch64 processor (NXP LS1046A) /home/Public/BuildRoot/Machine/mdp-ls1046s510/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: schwerwiegender Fehler: dns/enumtype.h: Datei oder Verzeichnis nicht gefunden 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ Kompilierung beendet. make[4]: *** [Makefile:241: aclconf.lo] Fehler 1 for details see dhcpfailed.txt the buildroot host is Linux 05-johe-pc 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux the config is here BR2_aarch64=y BR2_cortex_a72=y BR2_OPTIMIZE_2=y BR2_SSP_REGULAR=y BR2_RELRO_PARTIAL=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TARGET_GENERIC_HOSTNAME="MDP-LS1046" BR2_TARGET_GENERIC_ISSUE="Welcome to Maritime Data Processor ..." BR2_TARGET_GENERIC_PASSWD_SHA512=y BR2_INIT_SYSTEMD=y BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES=y BR2_TARGET_GENERIC_ROOT_PASSWD="1234" BR2_SYSTEM_BIN_SH_BASH=y BR2_TARGET_GENERIC_GETTY_PORT="tty0" BR2_SYSTEM_DHCP="eth1" BR2_ROOTFS_USERS_TABLES="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/users.txt" BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/ofsd" BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/post_build_s.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/post_image_s.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Freescale/linux-fslc" BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5.10-2.1.x-imx" BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_ISM_PATH)/patches/linux/0001-linux-up510.patch" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/linux-up510.config" BR2_LINUX_KERNEL_IMAGEGZ=y BR2_LINUX_KERNEL_XZ=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1046a-mdp-sdk" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_PACKAGE_LINUX_TOOLS_GPIO=y BR2_PACKAGE_LINUX_TOOLS_PCI=y BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/busybox.config" BR2_PACKAGE_XZ=y BR2_PACKAGE_LSOF=y BR2_PACKAGE_JQ=y BR2_PACKAGE_E2FSPROGS=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_DBUS_TRIGGERD=y BR2_PACKAGE_GPSD=y BR2_PACKAGE_GPSD_DEVICES="/dev/ttyUSB1" BR2_PACKAGE_GPSD_SQUELCH=y BR2_PACKAGE_HWDATA=y BR2_PACKAGE_HWDATA_IAB_OUI_TXT=y BR2_PACKAGE_HWDATA_PNP_IDS=y BR2_PACKAGE_LM_SENSORS=y BR2_PACKAGE_LM_SENSORS_FANCONTROL=y BR2_PACKAGE_LM_SENSORS_PWMCONFIG=y BR2_PACKAGE_PARTED=y BR2_PACKAGE_PCIUTILS=y BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_SMARTMONTOOLS=y BR2_PACKAGE_UBOOT_TOOLS=y BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON3_SQLITE=y BR2_PACKAGE_PYTHON_GOBJECT=y BR2_PACKAGE_PYTHON_PIP=y BR2_PACKAGE_PYTHON_PYTEST=y BR2_PACKAGE_BEECRYPT=y BR2_PACKAGE_LIBSSH=y BR2_PACKAGE_LIBSSH2=y BR2_PACKAGE_LIBOPENSSL_BIN=y BR2_PACKAGE_LIBOPENSSL_ENGINES=y BR2_PACKAGE_CAIRO_PS=y BR2_PACKAGE_CAIRO_SVG=y BR2_PACKAGE_PANGO=y BR2_PACKAGE_LIBAIO=y BR2_PACKAGE_LIBSERIALPORT=y BR2_PACKAGE_LIBUSB=y BR2_PACKAGE_LIBNETFILTER_ACCT=y BR2_PACKAGE_LIBNETFILTER_LOG=y BR2_PACKAGE_LIBURIPARSER=y BR2_PACKAGE_LIBATOMIC_OPS=y BR2_PACKAGE_LIBDAEMON=y BR2_PACKAGE_LIBICAL=y BR2_PACKAGE_LIBEDIT=y BR2_PACKAGE_NEWT=y BR2_PACKAGE_ONIGURUMA=y BR2_PACKAGE_PCRE2=y BR2_PACKAGE_TCLAP=y BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO=y BR2_PACKAGE_CONNTRACK_TOOLS=y BR2_PACKAGE_DHCP=y BR2_PACKAGE_DHCP_SERVER=y BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK=y BR2_PACKAGE_DHCP_RELAY=y BR2_PACKAGE_DHCP_CLIENT=y # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set BR2_PACKAGE_IPROUTE2=y BR2_PACKAGE_IPSET=y BR2_PACKAGE_MODEM_MANAGER_LIBMBIM=y BR2_PACKAGE_MODEM_MANAGER_LIBQMI=y BR2_PACKAGE_NETWORK_MANAGER=y BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER=y BR2_PACKAGE_NFTABLES=y BR2_PACKAGE_NTP=y # BR2_PACKAGE_NTP_NTPD is not set BR2_PACKAGE_OPENSSH=y BR2_PACKAGE_OPENVPN=y BR2_PACKAGE_OPENVPN_SMALL=y BR2_PACKAGE_PPPD=y BR2_PACKAGE_RPCBIND=y BR2_PACKAGE_TCPDUMP=y BR2_PACKAGE_POLICYCOREUTILS=y BR2_PACKAGE_REFPOLICY=y BR2_PACKAGE_REFPOLICY_POLICY_STATE_DISABLED=y BR2_PACKAGE_AT=y BR2_PACKAGE_BASH_COMPLETION=y BR2_PACKAGE_FILE=y BR2_PACKAGE_SUDO=y BR2_PACKAGE_ACL=y BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE=y BR2_PACKAGE_SYSTEMD_FIRSTBOOT=y # BR2_PACKAGE_SYSTEMD_HWDB is not set BR2_PACKAGE_SYSTEMD_LOGIND=y # BR2_PACKAGE_SYSTEMD_MYHOSTNAME is not set # BR2_PACKAGE_SYSTEMD_NETWORKD is not set BR2_PACKAGE_SYSTEMD_POLKIT=y BR2_PACKAGE_SYSTEMD_RANDOMSEED=y BR2_PACKAGE_SYSTEMD_RFKILL=y BR2_PACKAGE_SYSTEMD_SYSUSERS=y # BR2_PACKAGE_SYSTEMD_VCONSOLE is not set BR2_PACKAGE_UTIL_LINUX_LIBFDISK=y BR2_PACKAGE_UTIL_LINUX_UUIDD=y BR2_PACKAGE_MC=y BR2_TARGET_ROOTFS_CPIO=y BR2_TARGET_ROOTFS_CPIO_XZ=y BR2_TARGET_ROOTFS_CPIO_UIMAGE=y # BR2_TARGET_ROOTFS_TAR is not set BR2_PACKAGE_HOST_E2FSPROGS=y BR2_PACKAGE_HOST_GENEXT2FS=y BR2_PACKAGE_HOST_QORIQ_RCW=y BR2_GENERIC_HW_MDP1046=y BR2_PACKAGE_INTERSCHALT=y BR2_PACKAGE_IS_PLATFORMD=y BR2_PACKAGE_IS_NVRAM=y BR2_PACKAGE_PYADDITIONALS=y BR2_PACKAGE_PYTHON_MENDER=y BR2_PACKAGE_PYTHON_UFW=y BR2_PACKAGE_MCG=y BR2_PACKAGE_MCG_WEBCONFIG=y BR2_PACKAGE_MCG_WEB_BACKEND=y -- You are receiving this mail because: You are on the CC list for the bug. From peter at korsgaard.com Tue Apr 19 11:34:09 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 19 Apr 2022 13:34:09 +0200 Subject: [Buildroot] [PATCH] package/xz: add upstream security fix for CVE-2022-1271 / ZDI-CAN-16587 Message-ID: <20220419113409.1008586-1-peter@korsgaard.com> Fixes the following security issue: - CVE-2022-1271: Malicious filenames can make xzgrep to write to arbitrary files or (with a GNU sed extension) lead to arbitrary code execution. For more details, see the announcement and advisory: https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html https://www.zerodayinitiative.com/advisories/ZDI-22-619/ Signed-off-by: Peter Korsgaard --- package/xz/xz.hash | 1 + package/xz/xz.mk | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/package/xz/xz.hash b/package/xz/xz.hash index 3dd0cbe459..9577e98e80 100644 --- a/package/xz/xz.hash +++ b/package/xz/xz.hash @@ -1,5 +1,6 @@ # Locally calculated after checking pgp signature sha256 5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2 +sha256 98c6cb1042284fe704ec30083f3fc87364ce9ed2ea51f62bbb0ee9d3448717ec xzgrep-ZDI-CAN-16587.patch # Hash for license files sha256 bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c COPYING diff --git a/package/xz/xz.mk b/package/xz/xz.mk index af611975a0..cdb01e06a9 100644 --- a/package/xz/xz.mk +++ b/package/xz/xz.mk @@ -13,6 +13,10 @@ XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 XZ_CPE_ID_VENDOR = tukaani +XZ_PATCH = xzgrep-ZDI-CAN-16587.patch +# xzgrep-ZDI-CAN-16587.patch +XZ_IGNORE_CVES += CVE-2022-1271 + ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) XZ_CONF_OPTS += --enable-threads else -- 2.30.2 From peter at korsgaard.com Tue Apr 19 11:25:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 19 Apr 2022 13:25:44 +0200 Subject: [Buildroot] [PATCH] package/gzip: security bump to version 1.12 Message-ID: <20220419112544.993456-1-peter@korsgaard.com> Fixes the following security issues: - CVE-2022-1271: An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's chosen file name (for example, a crafted file name), this can overwrite an attacker's content to an arbitrary attacker-selected file. This flaw occurs due to insufficient validation when processing filenames with two or more newlines where selected content and the target file names are embedded in crafted multi-line file names. This flaw allows a remote, low privileged attacker to force zgrep to write arbitrary files on the system. https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html Signed-off-by: Peter Korsgaard --- package/gzip/gzip.hash | 4 ++-- package/gzip/gzip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gzip/gzip.hash b/package/gzip/gzip.hash index 1cf73ff912..80b86f4797 100644 --- a/package/gzip/gzip.hash +++ b/package/gzip/gzip.hash @@ -1,6 +1,6 @@ # Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig +# https://ftp.gnu.org/gnu/gzip/gzip-1.12.tar.xz.sig # using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE -sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz +sha256 ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956 gzip-1.12.tar.xz # Locally calculated sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index 92588fcdb8..2092df363c 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -4,7 +4,7 @@ # ################################################################################ -GZIP_VERSION = 1.11 +GZIP_VERSION = 1.12 GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz GZIP_SITE = $(BR2_GNU_MIRROR)/gzip # Some other tools expect it to be in /bin -- 2.30.2 From thomas.petazzoni at bootlin.com Tue Apr 19 12:12:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 14:12:44 +0200 Subject: [Buildroot] [PATCH 1/2] package/byacc: add new package In-Reply-To: <20220419092151.91638-2-thomas.perrot@bootlin.com> References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-2-thomas.perrot@bootlin.com> Message-ID: <20220419141244.1ef13dd4@windsurf> Hello Thomas, Thanks for your contribution. Commit title should be just: package/byacc: new package On Tue, 19 Apr 2022 11:21:50 +0200 Thomas Perrot wrote: > This package provides a Berkeley LALR Yacc parser generator that has been use > by i.MX Code Signing tool. > > Signed-off-by: Thomas Perrot > --- > DEVELOPERS | 3 +++ > package/byacc/Config.in.host | 10 ++++++++++ Config.in.host not needed, this package is merely a build dependency of another, so we don't need to see it in menuconfig. > +N: Thomas Perrot > +F: package/byacc Please add a trailing slash, like other entries in this file. > diff --git a/package/byacc/byacc.hash b/package/byacc/byacc.hash > new file mode 100644 > index 000000000000..d2ad441df39f > --- /dev/null > +++ b/package/byacc/byacc.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c byacc-20220128.tgz > +sha256 654a231fe9cd4d36e580214962fa777a1df0771d6889cfc74d19a3d414f14711 LICENSE > diff --git a/package/byacc/byacc.mk b/package/byacc/byacc.mk > new file mode 100644 > index 000000000000..103970aac9d2 > --- /dev/null > +++ b/package/byacc/byacc.mk > @@ -0,0 +1,15 @@ > +################################################################################ > +# > +# byacc > +# > +################################################################################ > + > +BYACC_SITE = https://invisible-mirror.net/archives/byacc > +BYACC_VERSION = 20220128 > +BYACC_SOURCE = byacc-$(BYACC_VERSION).tgz > +BYACC_LICENSE = Public Domain > +BYACC_LICENSE_FILES = LICENSE > + > +HOST_BYACC_CONF_OPTS = --program-transform-name='s,^,b,' Please add a comment above this that explains why this is needed, it looks strange. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Tue Apr 19 12:14:09 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 14:14:09 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: disable on mips64el Message-ID: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> Fix the following build failure on mips64el raised since commit 11b347c03ab0b38389ec11b48f63236a3b4d6547: In file included from shim.h:47, from shim.c:14: /nvmedata/autobuild/instance-17/output-1/build/shim-15.4/include/system/stdarg.h:72:2: error: #error what arch is this 72 | #error what arch is this | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/74f4f1d010cfde6978fd614195ef0006f0acb45a Signed-off-by: Fabrice Fontaine --- boot/shim/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/shim/Config.in b/boot/shim/Config.in index 2f74d6f332..b0e549a51b 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -2,6 +2,7 @@ config BR2_TARGET_SHIM bool "shim" # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS + depends on !BR2_mips64el help Boot loader to chain-load signed boot loaders under Secure Boot. -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 12:26:35 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 14:26:35 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: add new package In-Reply-To: <20220419092151.91638-3-thomas.perrot@bootlin.com> References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-3-thomas.perrot@bootlin.com> Message-ID: <20220419142635.008ac004@windsurf> Hello Thomas, On Tue, 19 Apr 2022 11:21:51 +0200 Thomas Perrot wrote: > N: Thomas Perrot > F: package/byacc > +F: package/imx-cst Trailing slash needed. > diff --git a/package/imx-cst/Config.in.host b/package/imx-cst/Config.in.host > new file mode 100644 > index 000000000000..84cb825e59cf > --- /dev/null > +++ b/package/imx-cst/Config.in.host > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_HOST_IMX_CST > + bool "host imx-cst" > + help > + I.MX code signing tool provides software code signing > + support designed that integrate the HABv4 and AHAB > + library. > + > + https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL When I go to this page, I need to agree to a "SOFTWARE LICENSE AGREEMENT i.MX CODE SIGNING TOOL", but then your .mk is pointing to a non-NXP Git repository, and you state the license is BSD-3-Clause. > +# debian/3.3.1+dfsg-2 > +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git What is this location? Just someone who put the NXP code online? Or a separate implementation? > +IMX_CST_SITE_METHOD = git > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > +IMX_CST_LICENSE = BSD-3-Clause > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 There are two other license files in this Git repo, the hidapi license and the OpenSSL license. You are confident they are not relevant? Would be worth explaining that. > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > + > +define HOST_IMX_CST_BUILD_CMDS > + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > + OSTYPE=linux64 \ Would be useful to explain why linux64 is fine even on 32-bit host platforms. Actually, when I look at https://gitlab.apertis.org/pkg/imx-code-signing-tool/-/blob/apertis/v2023dev2/code/cst/code/obj.linux64/Makefile I believe that using OSTYPE=linux64 on 32-bit host machines will not work, as it adds -m64 to the compiler flags. > + ENCRYPTION=yes \ > + COPTIONS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > + LDFLAGS="$(HOST_LDFLAGS) -lcrypto" \ > + PWD=$(@D)/code/cst \ > + CC="$(CC) -I../../code/common/hdr \ > + -I../../code/back_end/hdr \ > + -I../../code/srktool/hdr \ > + -I../../code/front_end/hdr \ > + -I../../code/convlb/hdr" \ This looks strange. Flags are normally passed using CFLAGS, and $(CC) in Buildroot doesn't exist, it's $(HOSTCC) that should be used. Also, I think the list of header paths is properly set with: CINCLUDES := $(SUBSYS:%=-I$(CST_CODE_PATH)/%/hdr) but it gets overridden by the fact that you override CFLAGS. I believe there's a better way, let me have a look. > + LD=$(CC) \ $(CC) doesn't exist, it should be $(HOSTCC). > + -C $(@D)/code/cst \ > + build Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From marcus.hoffmann at othermo.de Tue Apr 19 12:35:13 2022 From: marcus.hoffmann at othermo.de (Marcus Hoffmann) Date: Tue, 19 Apr 2022 14:35:13 +0200 Subject: [Buildroot] [PATCH] package/xz: add upstream security fix for CVE-2022-1271 / ZDI-CAN-16587 In-Reply-To: <20220419113409.1008586-1-peter@korsgaard.com> References: <20220419113409.1008586-1-peter@korsgaard.com> Message-ID: <8e960e59-65c7-22eb-eccf-7217ec6b09e8@othermo.de> On 19.04.22 13:34, Peter Korsgaard wrote: > Fixes the following security issue: > > - CVE-2022-1271: Malicious filenames can make xzgrep to write to arbitrary > files or (with a GNU sed extension) lead to arbitrary code execution. > > For more details, see the announcement and advisory: > > https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html > https://www.zerodayinitiative.com/advisories/ZDI-22-619/ > > Signed-off-by: Peter Korsgaard Ah, that's better than my attempt :-). Reviewed-by: Marcus Hoffmann > --- > package/xz/xz.hash | 1 + > package/xz/xz.mk | 4 ++++ > 2 files changed, 5 insertions(+) > > diff --git a/package/xz/xz.hash b/package/xz/xz.hash > index 3dd0cbe459..9577e98e80 100644 > --- a/package/xz/xz.hash > +++ b/package/xz/xz.hash > @@ -1,5 +1,6 @@ > # Locally calculated after checking pgp signature > sha256 5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2 > +sha256 98c6cb1042284fe704ec30083f3fc87364ce9ed2ea51f62bbb0ee9d3448717ec xzgrep-ZDI-CAN-16587.patch > > # Hash for license files > sha256 bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c COPYING > diff --git a/package/xz/xz.mk b/package/xz/xz.mk > index af611975a0..cdb01e06a9 100644 > --- a/package/xz/xz.mk > +++ b/package/xz/xz.mk > @@ -13,6 +13,10 @@ XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ > XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 > XZ_CPE_ID_VENDOR = tukaani > > +XZ_PATCH = xzgrep-ZDI-CAN-16587.patch > +# xzgrep-ZDI-CAN-16587.patch > +XZ_IGNORE_CVES += CVE-2022-1271 > + > ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) > XZ_CONF_OPTS += --enable-threads > else From bugzilla at busybox.net Tue Apr 19 13:11:39 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 19 Apr 2022 13:11:39 +0000 Subject: [Buildroot] [Bug 14766] package dhcp on buildroot 2022.02.1 failed In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14766 J?rg Hering changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker Target| |aarch64 processor (NXP | |LS1046A) CC| |joerg.hering at macgregor.com Host| |5.13.0-39-generic | |#44~20.04.1-Ubuntu SMP Thu | |Mar 24 16:43:35 UTC 2022 | |x86_64 x86_64 x86_64 | |GNU/Linux -- You are receiving this mail because: You are on the CC list for the bug. From fontaine.fabrice at gmail.com Tue Apr 19 13:28:04 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 15:28:04 +0200 Subject: [Buildroot] [PATCH 1/2] package/netsurf: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220419132805.2571073-1-fontaine.fabrice@gmail.com> Disable duktape with BR2_OPTIMIZE_FAST to fix the following build failure: In file included from content/handlers/javascript/duktape/duktape.h:195, from build/Linux-framebuffer/duktape/application_cache.c:21: content/handlers/javascript/duktape/duk_config.h:2861:2: error: #error __FAST_MATH__ defined, refusing to compile 2861 | #error __FAST_MATH__ defined, refusing to compile | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/2f1b42e2be3aa76cbacd84f3d0ad8b13edce6982 Signed-off-by: Fabrice Fontaine --- package/netsurf/netsurf.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 1064698c12..574c1423df 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -14,6 +14,17 @@ NETSURF_CPE_ID_VENDOR = netsurf-browser NETSURF_DEPENDENCIES = expat jpeg libpng \ host-bison host-flex host-gperf host-pkgconf host-vim +# internal duktape doesn't build with BR2_OPTIMIZE_FAST +ifeq ($(BR2_OPTIMIZE_FAST),y) +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := NO" >> $(@D)/netsurf/Makefile.config +endef +else +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := YES" >> $(@D)/netsurf/Makefile.config +endef +endif + ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) NETSURF_DEPENDENCIES += libgtk2 NETSURF_FRONTEND = gtk2 @@ -77,6 +88,7 @@ endef endif define NETSURF_CONFIGURE_CMDS + $(NETSURF_DUKTAPE_CONFIGURE_CMDS) $(NETSURF_ICONV_CONFIGURE_CMDS) $(NETSURF_SVG_CONFIGURE_CMDS) $(NETSURF_FONTLIB_CONFIGURE_CMDS) -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 19 13:28:05 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 15:28:05 +0200 Subject: [Buildroot] [PATCH 2/2] package/netsurf: use HOSTCC_NOCCACHE In-Reply-To: <20220419132805.2571073-1-fontaine.fabrice@gmail.com> References: <20220419132805.2571073-1-fontaine.fabrice@gmail.com> Message-ID: <20220419132805.2571073-2-fontaine.fabrice@gmail.com> Use HOSTCC_NOCCACHE instead of HOSTCC to fix the following build failure: /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. Fixes: - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d Signed-off-by: Fabrice Fontaine --- package/netsurf/netsurf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 574c1423df..b61372bb78 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -106,7 +106,7 @@ NETSURF_MAKE_OPTS = \ BISON="$(HOST_DIR)/bin/bison" \ FLEX="$(HOST_DIR)/bin/flex" \ PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - BUILD_CC="$(HOSTCC)" \ + BUILD_CC="$(HOSTCC_NOCCACHE)" \ CC="$(TARGET_CC)" \ AR="$(TARGET_AR)" \ TMP_PREFIX=$(@D)/tmpusr \ -- 2.35.1 From Tim.Hammer at orolia.com Tue Apr 19 15:33:10 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Tue, 19 Apr 2022 15:33:10 +0000 Subject: [Buildroot] [PATCH] system/skeleton: provide run/lock directory In-Reply-To: References: Message-ID: On Mon, Apr 18, 2022 at 10:47:46PM +0200, Norbert Lange wrote: > Am Montag, 18. April 2022 schrieb Tim Hammer : > > > On Wed, Jan 12, 2022 at 11:10:20AM +0100, Norbert Lange wrote: > > > We changed the skeletons in bf01e51f3c, so that var/lock > > > points to run/lock. This resulted in build failures as > > > some packages want to work with these paths. > > > > > > - Create run/lock, the run directory will be purged > > > later anyway (since 5e78e7e97d). > > > > Yes, run/lock is removed later (see > > https://lore.kernel.org/buildroot/20200605224858. > > 12870-2-nolange79 at gmail.com/ > > and > > https://lore.kernel.org/buildroot/20220319190531. > > 975B183CB8 at busybox.osuosl.org/). > > > > However, the soft link in var/ is not. It ends up in the rootfs for the > > target > > and can cause problems later. > > > > Is there a reason the link created by skeleton was not cleaned up? > > > > > Yeah, it's supposed to be there in the final roots. > The run/lock directory is just *in the skeleton* so you don't have a broken > symlink *during building with buildroot*. > > > I will be honest, I do not understand the full process and why the items > > created by > > the skeleton package are not just left in place... > > > The running system will mount a tmpfs onto /run (and most likely /tmp) and > will create /run/lock anew each bootup > Ah, now it makes sense. Our bootstrap environment is not running the "normal" startup so the lock directory needs to be created by us! Thank you very much for the help! .Tim Tim D. Hammer tim.hammer at orolia.com > Means all content on you image is > > - irrelevant > - prone to leaking info from the system where you built the rootfs. > > Norbert > > > > .Tim > > Tim D. Hammer > > tim.hammer at orolia.com > > > > > > > - for init == systemd, create the var/lock symlink early > > > to prevent packages creating this path as directory. > > > > > > Signed-off-by: Norbert Lange > > > --- > > > package/skeleton-init-systemd/skeleton-init-systemd.mk | 2 ++ > > > system/skeleton/run/{ => lock}/.empty | 0 > > > 2 files changed, 2 insertions(+) > > > rename system/skeleton/run/{ => lock}/.empty (100%) > > > > > > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk > > b/package/skeleton-init-systemd/skeleton-init-sys>> index > > 1e212cc2f7..795a171809 100644 > > > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > > > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > > > @@ -62,6 +62,8 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS > > > mkdir -p $(TARGET_DIR)/srv > > > mkdir -p $(TARGET_DIR)/var > > > ln -s ../run $(TARGET_DIR)/var/run > > > + # prevent install scripts to create var/lock as directory > > > + ln -s ../run/lock $(TARGET_DIR)/var/lock > > > install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf > > $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf > > > $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) > > > endef > > > diff --git a/system/skeleton/run/.empty b/system/skeleton/run/lock/. > > empty > > > similarity index 100% > > > rename from system/skeleton/run/.empty > > > rename to system/skeleton/run/lock/.empty > > > -- > > > 2.34.1 > > > > > > _______________________________________________ > > > buildroot mailing list > > > buildroot at buildroot.org > > > https://lists.buildroot.org/mailman/listinfo/buildroot > > > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Tue Apr 19 15:58:31 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 17:58:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: disable on riscv In-Reply-To: References: <20220413193216.891178-1-fontaine.fabrice@gmail.com> <20220413223407.7e71113f@windsurf> Message-ID: Le mer. 13 avr. 2022 ? 22:43, Fabrice Fontaine a ?crit : > > Le mer. 13 avr. 2022 ? 22:34, Thomas Petazzoni > a ?crit : > > > > On Wed, 13 Apr 2022 21:32:16 +0200 > > Fabrice Fontaine wrote: > > > > > riscv is not supported since switch to internal bind resulting in the > > > following build failure since commit > > > 0c8dd6ebd656e06cf99a63eb93343715f4853503: > > > > > > Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized > > > > This seems odd. What in dhcp is architecture-specific? > > Nothing to my knowledge, but bind-9.11.36/config.sub extracted from > bind.tar.gz doesn't contain any mention of riscv resulting in the > above failure. I found a better solution by untaring internal bind. I'll set this patch as superseded. > > > > > Thomas > > -- > > Thomas Petazzoni, co-owner and CEO, Bootlin > > Embedded Linux and Kernel engineering and training > > https://bootlin.com > > Best Regards, > > Fabrice Best Regards, Fabrice From fontaine.fabrice at gmail.com Tue Apr 19 16:11:30 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 18:11:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind Message-ID: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> Untar internal bind so libtool patches will be applied on bind's libtool. This will fix: - installation of some libraries such as libisccfg. Indeed, if libtool is not patched those libraries will be "relinked" and so not installed. - build failures with riscv and or1k: Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized Fixes: - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e Signed-off-by: Fabrice Fontaine --- package/dhcp/dhcp.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index e6f4c419f4..f815c6c802 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc # internal bind does not support parallel builds. DHCP_MAKE = $(MAKE1) +# untar internal bind so libtool patches will be applied on bind's libtool +define DHCP_UNTAR_INTERNAL_BIND + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ +endef + +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND + # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF cp $(@D)/configure.ac+lt $(@D)/configure.ac -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 19 16:12:23 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 18:12:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <2a14aebd-8213-0966-b0d4-392ca9ce36e6@microchip.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> <87y20aeb04.fsf@dell.be.48ers.dk> <8d53da79-2a90-8649-6f46-22b33b7bdbe5@microchip.com> <87bkx5crop.fsf@dell.be.48ers.dk> <2a14aebd-8213-0966-b0d4-392ca9ce36e6@microchip.com> Message-ID: Le mar. 19 avr. 2022 ? 12:19, a ?crit : > > On 4/19/22 12:08 PM, Fabrice Fontaine wrote: > > Hello Eugen, > > > > Le mar. 19 avr. 2022 ? 07:21, a ?crit : > >> > >> On 4/14/22 7:44 PM, Fabrice Fontaine wrote: > >>> Le jeu. 14 avr. 2022 ? 11:59, Fabrice Fontaine > >>> a ?crit : > >>>> > >>>> Hello Eugen, > >>>> > >>>> Le jeu. 14 avr. 2022 ? 11:10, a ?crit : > >>>>> > >>>>> On 4/13/22 11:29 AM, Peter Korsgaard wrote: > >>>>>>>>>>> writes: > >>>>>> > >>>>>> > On 4/12/22 9:17 PM, Fabrice Fontaine wrote: > >>>>>> >> Le mar. 12 avr. 2022 ? 14:34, Peter Korsgaard a ?crit : > >>>>>> >>> > >>>>>> >>>>>>>> writes: > >>>>>> >>> > >>>>>> >>> Hi, > >>>>>> >>> > >>>>>> >>> >> Yeah. Eugen, is there any specific reason why you use the dhcp package > >>>>>> >>> >> over the other DHCP clients we provide? > >>>>>> >>> > >>>>>> >>> > Historical reasons, and the fact that people have working configurations > >>>>>> >>> > using this package... I was unaware that it was due to be removed. > >>>>>> >>> > We will try to switch to a different package in the future. Thanks for > >>>>>> >>> > letting me know. > >>>>>> >>> > However, if the package is still in this buildroot release, it has to > >>>>>> >>> > work right ? > >>>>>> >>> > >>>>>> >>> Yes, that is the idea. If it is dead upstream and hard to fix then that > >>>>>> >>> naturally makes it harder to do, but the intention is to fix it. > >>>>>> >> > >>>>>> >> The following patch should fix the issue: > >>>>>> >> https://patchwork.ozlabs.org/project/buildroot/patch/20220412181607.1451580-1-fontaine.fabrice at gmail.com/ > >>>>>> > >>>>>> > Hi, > >>>>>> > >>>>>> > your patch together with the other one ( > >>>>>> > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ > >>>>>> > ), > >>>>>> > >>>>>> > solve the build problem for this package. > >>>>>> > >>>>>> They are now both added to the 2022.02.x branch, thanks. > >>>>>> > >>>>>> -- > >>>>>> Bye, Peter Korsgaard > >>>>>> > >>>>> > >>>>> Hello again Fabrice, > >>>>> > >>>>> After managing to successfully build all our defconfigs now, while > >>>>> testing on another board (sama7g5ek), I noticed this message at boot log : > >>>>> > >>>>> Starting DHCP server: /usr/sbin/dhcpd: error while loading shared > >>>>> libraries: libirs.so.161: cannot open shared object file: No such file > >>>>> or directory > >>>>> > >>>>> Digging yields that libirs is part of bind package. Do you know why this > >>>>> happens and what could be the cause? Could latest patches affect the dhcpd ? > >>>> > >>>> Indeed, the internal bind libraries (including libirs.so.161) are > >>>> correctly installed in staging directory but not in the target > >>>> directory because dhcp.mk is overriding DHCP_INSTALL_TARGET_CMDS. > >>>> I'll send a patch by the end of the day. > >>> > >>> The following patch should fix the issue: > >>> https://patchwork.ozlabs.org/project/buildroot/patch/20220414164109.1724873-1-fontaine.fabrice at gmail.com/ > >>> > >> > >> Hello Fabrice, > >> > >> The libirs problem is gone now, thanks. However, I get a new error: > >> > >> > >> Starting DHCP server: /usr/sbin/dhcpd: error while loading shared > >> libraries: libisccfg.so.163: cannot open shared object file: No such > >> file or directory > >> > >> Looks like there are still problems on my side > > > > libisccfg.so.163 is installed on target rootfs (in /usr/lib). Can you > > check that this is also the case on your side? > > # ls -la /usr/lib/libisc* > lrwxrwxrwx 1 root root 18 Apr 18 2022 > /usr/lib/libisc.so -> libisc.so.1107.0.7 > lrwxrwxrwx 1 root root 18 Apr 18 2022 > /usr/lib/libisc.so.1107 -> libisc.so.1107.0.7 > -rwxr-xr-x 1 root root 317960 Apr 18 2022 > /usr/lib/libisc.so.1107.0.7 > # > > > It looks like it's not. I was able to find and fix the issue: https://patchwork.ozlabs.org/project/buildroot/patch/20220419161130.3431492-1-fontaine.fabrice at gmail.com/ > > > > >> > >> Thanks, > >> Eugen > >> > >>>> > >>>>> > >>>>> Thanks ! > >>>>> Eugen > >>>> > >>>> Best Regards, > >>>> > >>>> Fabrice > >>> > >>> Best Regards, > >>> > >>> Fabrice > >>> > >> > > > > Best Regards, > > > > Fabrice > > > From flaniel at linux.microsoft.com Tue Apr 19 16:32:51 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Tue, 19 Apr 2022 17:32:51 +0100 Subject: [Buildroot] [PATCH 1/2] package/tbb: bump to version 2021.5.0 In-Reply-To: <20220416210750.3065016-1-fontaine.fabrice@gmail.com> References: <20220416210750.3065016-1-fontaine.fabrice@gmail.com> Message-ID: <4391488.LvFx2qVVIh@pwmachine> Hi. Le samedi 16 avril 2022, 22:07:49 BST Fabrice Fontaine a ?crit : > - Switch to cmake-package > - Drop DO_ITT_NOTIFY which is only used in example and test > - license file has been renamed to LICENSE.txt > - Add upstream patches to fix musl build > > https://www.intel.com/content/www/us/en/developer/articles/release-notes/int > el-oneapi-threading-building-blocks-release-notes.html > > Signed-off-by: Fabrice Fontaine > --- > package/sysdig/Config.in | 2 +- > ...Musl-linux-can-not-use-RTLD_DEEPBIND.patch | 33 ++++++++++++ > ...is-only-defined-on-glibc-and-android.patch | 42 ++++++++++++++++ > package/tbb/Config.in | 12 +++-- > package/tbb/tbb.hash | 4 +- > package/tbb/tbb.mk | 50 +++---------------- > 6 files changed, 94 insertions(+), 49 deletions(-) > create mode 100644 > package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch create mode > 100644 package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch > > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > index 3a4c033b2b..c124054105 100644 > --- a/package/sysdig/Config.in > +++ b/package/sysdig/Config.in > @@ -7,7 +7,7 @@ config BR2_PACKAGE_SYSDIG > depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb > depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb > depends on BR2_USE_WCHAR # elfutils > - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils, tbb > + depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils > depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > select BR2_PACKAGE_C_ARES > select BR2_PACKAGE_ELFUTILS > diff --git a/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch > b/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch new file mode > 100644 > index 0000000000..82182ce109 > --- /dev/null > +++ b/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch > @@ -0,0 +1,33 @@ > +From 883c2e5245c39624b3b5d6d56d5b203cf09eac38 Mon Sep 17 00:00:00 2001 > +From: Khem Raj > +Date: Wed, 15 Dec 2021 08:08:07 -0800 > +Subject: [PATCH] Musl/linux can not use RTLD_DEEPBIND (#684) > + > +Exclude non-glibc linux systems along with android > +Fixes > +src/tbb/dynamic_link.cpp:417:29: error: use > + of undeclared identifier 'RTLD_DEEPBIND' > | flags = > flags | RTLD_DEEPBIND; +| ^ > + > +Signed-off-by: Khem Raj > + > +[Retrieved from: > +https://github.com/oneapi-src/oneTBB/commit/883c2e5245c39624b3b5d6d56d5b203 > cf09eac38] +Signed-off-by: Fabrice Fontaine > +--- > + src/tbb/dynamic_link.cpp | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/tbb/dynamic_link.cpp b/src/tbb/dynamic_link.cpp > +index 3f1342503..5330d7107 100644 > +--- a/src/tbb/dynamic_link.cpp > ++++ b/src/tbb/dynamic_link.cpp > +@@ -413,7 +413,7 @@ namespace r1 { > + int flags = RTLD_NOW; > + if (local_binding) { > + flags = flags | RTLD_LOCAL; > +-#if __linux__ && !__ANDROID__ && !__TBB_USE_SANITIZERS > ++#if (__linux__ && __GLIBC__) && !__TBB_USE_SANITIZERS > + flags = flags | RTLD_DEEPBIND; > + #endif > + } else { > diff --git > a/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch > b/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch new > file mode 100644 > index 0000000000..9b397cac41 > --- /dev/null > +++ b/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch > @@ -0,0 +1,42 @@ > +From 3a7f96db56cc9821055cbc769d3065db86b8b4c9 Mon Sep 17 00:00:00 2001 > +From: Julien Voisin > +Date: Mon, 7 Feb 2022 07:56:15 +0100 > +Subject: [PATCH] mallinfo is only defined on glibc and android (#764) > + > +It currently prevents compilation under musl: > + > +``` > +[ 90%] Building CXX object > src/tbbmalloc_proxy/CMakeFiles/tbbmalloc_proxy.dir/proxy.cpp.o > +/__w/mimalloc-bench/mimalloc-bench/extern/tbb/src/tbbmalloc_proxy/proxy.cp > p:263:26: error: return type 'struct mallinfo' is incomplete + 263 | struct > mallinfo mallinfo() __THROW > + | ^ > +compilation terminated due to -Wfatal-errors. > +`` > + > +[Retrieved from: > +https://github.com/oneapi-src/oneTBB/commit/3a7f96db56cc9821055cbc769d3065d > b86b8b4c9] +Signed-off-by: Fabrice Fontaine > +--- > + src/tbbmalloc_proxy/proxy.cpp | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/src/tbbmalloc_proxy/proxy.cpp b/src/tbbmalloc_proxy/proxy.cpp > +index e58e55e0b..23b9c19c1 100644 > +--- a/src/tbbmalloc_proxy/proxy.cpp > ++++ b/src/tbbmalloc_proxy/proxy.cpp > +@@ -260,6 +260,7 @@ int mallopt(int /*param*/, int /*value*/) __THROW > + return 1; > + } > + > ++#if defined(__GLIBC__) || defined(__ANDROID__) > + struct mallinfo mallinfo() __THROW > + { > + struct mallinfo m; > +@@ -267,6 +268,7 @@ struct mallinfo mallinfo() __THROW > + > + return m; > + } > ++#endif > + > + #if __ANDROID__ > + // Android doesn't have malloc_usable_size, provide it to be compatible > diff --git a/package/tbb/Config.in b/package/tbb/Config.in > index 0f40b74d31..b2e97829b5 100644 > --- a/package/tbb/Config.in > +++ b/package/tbb/Config.in > @@ -1,9 +1,11 @@ > config BR2_PACKAGE_TBB > bool "tbb" > - depends on BR2_TOOLCHAIN_USES_GLIBC > + # tbb needs fenv.h which is not provided by uclibc > + depends on !BR2_TOOLCHAIN_USES_UCLIBC > depends on !BR2_STATIC_LIBS > depends on BR2_TOOLCHAIN_HAS_THREADS > depends on BR2_INSTALL_LIBSTDCPP > + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr > help > Intel(R) Threading Building Blocks (Intel(R) TBB) lets you > easily write parallel C++ programs that take full advantage > @@ -12,5 +14,9 @@ config BR2_PACKAGE_TBB > > https://www.threadingbuildingblocks.org/ > > -comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" > - depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || > !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP +comment "tbb needs a > glibc or musl toolchain w/ dynamic library, threads, C++" + depends on > BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ > + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP > + > +comment "tbb needs exception_ptr" > + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > index 81d224b3ca..9992fb3c4f 100644 > --- a/package/tbb/tbb.hash > +++ b/package/tbb/tbb.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 > tbb-2018_U5.tar.gz -sha256 > c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE > +sha256 e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a > tbb-2021.5.0.tar.gz +sha256 > c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 > LICENSE.txt diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > index 87e83551fe..afe756a85a 100644 > --- a/package/tbb/tbb.mk > +++ b/package/tbb/tbb.mk > @@ -4,52 +4,16 @@ > # > ########################################################################### > ##### > > -TBB_VERSION = 2018_U5 > -TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) > +TBB_VERSION = 2021.5.0 > +TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) > TBB_INSTALL_STAGING = YES > TBB_LICENSE = Apache-2.0 > -TBB_LICENSE_FILES = LICENSE > +TBB_LICENSE_FILES = LICENSE.txt > TBB_CPE_ID_VENDOR = intel > TBB_CPE_ID_PRODUCT = threading_building_blocks > > -TBB_SO_VERSION = 2 > -TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy > -TBB_BIN_PATH = $(@D)/build/linux_* > +TBB_CONF_OPTS = \ > + -DTBB_STRICT=OFF \ > + -DTBB_TEST=OFF > > -# arch is normally set based on uname -m with some conversions. However, > -# it is not really used for much: > -# - to decide between 32 or 64-bit files (based on '64' in the name) > -# - to decide on some arch-specific CFLAGS like -m32, which we don't > actually want -# - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) > -# - to include assembler source, but it only exists for ia64 > -# The only thing we actually want from the above is the 32/64-bit, and > -# DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to > -# the tbb build system, and set DO_ITT_NOTIFY explicitly. > -TBB_ARCH = $(if $(BR2_ARCH_IS_64),buildroot64,buildroot32) > -TBB_ITT_NOTIFY = $(if $(BR2_i386)$(BR2_x86_64),-DDO_ITT_NOTIFY) > -TBB_CXXFLAGS = $(TARGET_CXXFLAGS) $(TBB_ITT_NOTIFY) > - > -define TBB_BUILD_CMDS > - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) arch=$(TBB_ARCH) \ > - CPLUS="$(TARGET_CXX)" CONLY="$(TARGET_CC)" CXXFLAGS="$ (TBB_CXXFLAGS)" > -endef > - > -define TBB_INSTALL_LIBS > - $(foreach lib,$(TBB_LIBS), > - $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$ (TBB_SO_VERSION) \ > - $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; > - ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so > - ) > -endef > - > -define TBB_INSTALL_STAGING_CMDS > - mkdir -p $(STAGING_DIR)/usr/include/ > - cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ > - $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) > -endef > - > -define TBB_INSTALL_TARGET_CMDS > - $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) > -endef > - > -$(eval $(generic-package)) > +$(eval $(cmake-package)) I tested your patch and it builds succesfully and sysdig (0.27.1) is still running like a charm. So, thank you for the bumping (I should have do it...) and the simplification of tbb.mk. Best regards. From baruch at tkos.co.il Tue Apr 19 16:47:39 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 19 Apr 2022 19:47:39 +0300 Subject: [Buildroot] [PATCH 2/2] package/xz: backport CVE-2022-1271 security fix In-Reply-To: <20220419111714.1647112-2-marcus.hoffmann@othermo.de> References: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> <20220419111714.1647112-2-marcus.hoffmann@othermo.de> Message-ID: <87tuapqaqw.fsf@tarshish> Hi Marcus, On Tue, Apr 19 2022, Marcus Hoffmann wrote: > Fixes the following security issue: > > CVE-2022-1271/ZDI-22-619/ZDI-CAN-16587: arbitrary-file-write vulnerability > > Malicious filenames can make xzgrep to write to arbitrary files > or (with a GNU sed extension) lead to arbitrary code execution. > > xzgrep from XZ Utils versions up to and including 5.2.5 are > affected. 5.3.1alpha and 5.3.2alpha are affected as well. > This patch works for all of them. > > This bug was inherited from gzip's zgrep. gzip 1.12 includes > a fix for zgrep. > > This vulnerability was discovered by: > cleemy desu wayo working with Trend Micro Zero Day Initiative > > https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html > https://www.zerodayinitiative.com/advisories/ZDI-22-619/ > https://www.openwall.com/lists/oss-security/2022/04/07/8 > Signed-off-by: Marcus Hoffmann > --- > package/xz/0001-xzgrep-ZDI-CAN-16587.patch | 96 ++++++++++++++++++++++ > 1 file changed, 96 insertions(+) > create mode 100644 package/xz/0001-xzgrep-ZDI-CAN-16587.patch This patch should also add XZ_IGNORE_CVES in xz.mk. baruch > > diff --git a/package/xz/0001-xzgrep-ZDI-CAN-16587.patch b/package/xz/0001-xzgrep-ZDI-CAN-16587.patch > new file mode 100644 > index 0000000000..78ee9640f0 > --- /dev/null > +++ b/package/xz/0001-xzgrep-ZDI-CAN-16587.patch > @@ -0,0 +1,96 @@ > +From 69d1b3fc29677af8ade8dc15dba83f0589cb63d6 Mon Sep 17 00:00:00 2001 > +From: Lasse Collin > +Date: Tue, 29 Mar 2022 19:19:12 +0300 > +Subject: [PATCH] xzgrep: Fix escaping of malicious filenames (ZDI-CAN-16587). > + > +Malicious filenames can make xzgrep to write to arbitrary files > +or (with a GNU sed extension) lead to arbitrary code execution. > + > +xzgrep from XZ Utils versions up to and including 5.2.5 are > +affected. 5.3.1alpha and 5.3.2alpha are affected as well. > +This patch works for all of them. > + > +This bug was inherited from gzip's zgrep. gzip 1.12 includes > +a fix for zgrep. > + > +The issue with the old sed script is that with multiple newlines, > +the N-command will read the second line of input, then the > +s-commands will be skipped because it's not the end of the > +file yet, then a new sed cycle starts and the pattern space > +is printed and emptied. So only the last line or two get escaped. > + > +One way to fix this would be to read all lines into the pattern > +space first. However, the included fix is even simpler: All lines > +except the last line get a backslash appended at the end. To ensure > +that shell command substitution doesn't eat a possible trailing > +newline, a colon is appended to the filename before escaping. > +The colon is later used to separate the filename from the grep > +output so it is fine to add it here instead of a few lines later. > + > +The old code also wasn't POSIX compliant as it used \n in the > +replacement section of the s-command. Using \ is the > +POSIX compatible method. > + > +LC_ALL=C was added to the two critical sed commands. POSIX sed > +manual recommends it when using sed to manipulate pathnames > +because in other locales invalid multibyte sequences might > +cause issues with some sed implementations. In case of GNU sed, > +these particular sed scripts wouldn't have such problems but some > +other scripts could have, see: > + > + info '(sed)Locale Considerations' > + > +This vulnerability was discovered by: > +cleemy desu wayo working with Trend Micro Zero Day Initiative > + > +Thanks to Jim Meyering and Paul Eggert discussing the different > +ways to fix this and for coordinating the patch release schedule > +with gzip. > + > +Signed-off-by: Marcus Hoffmann > +--- > + src/scripts/xzgrep.in | 20 ++++++++++++-------- > + 1 file changed, 12 insertions(+), 8 deletions(-) > + > +diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in > +index b180936..e5186ba 100644 > +--- a/src/scripts/xzgrep.in > ++++ b/src/scripts/xzgrep.in > +@@ -180,22 +180,26 @@ for i; do > + { test $# -eq 1 || test $no_filename -eq 1; }; then > + eval "$grep" > + else > ++ # Append a colon so that the last character will never be a newline > ++ # which would otherwise get lost in shell command substitution. > ++ i="$i:" > ++ > ++ # Escape & \ | and newlines only if such characters are present > ++ # (speed optimization). > + case $i in > + (*' > + '* | *'&'* | *'\'* | *'|'*) > +- i=$(printf '%s\n' "$i" | > +- sed ' > +- $!N > +- $s/[&\|]/\\&/g > +- $s/\n/\\n/g > +- ');; > ++ i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/');; > + esac > +- sed_script="s|^|$i:|" > ++ > ++ # $i already ends with a colon so don't add it here. > ++ sed_script="s|^|$i|" > + > + # Fail if grep or sed fails. > + r=$( > + exec 4>&1 > +- (eval "$grep" 4>&-; echo $? >&4) 3>&- | sed "$sed_script" >&3 4>&- > ++ (eval "$grep" 4>&-; echo $? >&4) 3>&- | > ++ LC_ALL=C sed "$sed_script" >&3 4>&- > + ) || r=2 > + exit $r > + fi >&3 5>&- > +-- > +2.35.1 > + -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From marcus.hoffmann at othermo.de Tue Apr 19 17:27:06 2022 From: marcus.hoffmann at othermo.de (Marcus Hoffmann) Date: Tue, 19 Apr 2022 19:27:06 +0200 Subject: [Buildroot] [PATCH 2/2] package/xz: backport CVE-2022-1271 security fix In-Reply-To: <87tuapqaqw.fsf@tarshish> References: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> <20220419111714.1647112-2-marcus.hoffmann@othermo.de> <87tuapqaqw.fsf@tarshish> Message-ID: <6b8513cd-399a-ddfe-2587-a933b6cf0fe6@othermo.de> Hi Baruch, On 19.04.22 18:47, Baruch Siach via buildroot wrote: > Hi Marcus, > > On Tue, Apr 19 2022, Marcus Hoffmann wrote: >> Fixes the following security issue: >> >> CVE-2022-1271/ZDI-22-619/ZDI-CAN-16587: arbitrary-file-write vulnerability >> >> Malicious filenames can make xzgrep to write to arbitrary files >> or (with a GNU sed extension) lead to arbitrary code execution. >> >> xzgrep from XZ Utils versions up to and including 5.2.5 are >> affected. 5.3.1alpha and 5.3.2alpha are affected as well. >> This patch works for all of them. >> >> This bug was inherited from gzip's zgrep. gzip 1.12 includes >> a fix for zgrep. >> >> This vulnerability was discovered by: >> cleemy desu wayo working with Trend Micro Zero Day Initiative >> >> https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html >> https://www.zerodayinitiative.com/advisories/ZDI-22-619/ >> https://www.openwall.com/lists/oss-security/2022/04/07/8 >> Signed-off-by: Marcus Hoffmann >> --- >> package/xz/0001-xzgrep-ZDI-CAN-16587.patch | 96 ++++++++++++++++++++++ >> 1 file changed, 96 insertions(+) >> create mode 100644 package/xz/0001-xzgrep-ZDI-CAN-16587.patch > > This patch should also add XZ_IGNORE_CVES in xz.mk. > > baruch Indeed! But Peter already send a better patch that does this: https://patchwork.ozlabs.org/project/buildroot/patch/20220419113409.1008586-1-peter at korsgaard.com/ Marcus > >> >> diff --git a/package/xz/0001-xzgrep-ZDI-CAN-16587.patch b/package/xz/0001-xzgrep-ZDI-CAN-16587.patch >> new file mode 100644 >> index 0000000000..78ee9640f0 >> --- /dev/null >> +++ b/package/xz/0001-xzgrep-ZDI-CAN-16587.patch >> @@ -0,0 +1,96 @@ >> +From 69d1b3fc29677af8ade8dc15dba83f0589cb63d6 Mon Sep 17 00:00:00 2001 >> +From: Lasse Collin >> +Date: Tue, 29 Mar 2022 19:19:12 +0300 >> +Subject: [PATCH] xzgrep: Fix escaping of malicious filenames (ZDI-CAN-16587). >> + >> +Malicious filenames can make xzgrep to write to arbitrary files >> +or (with a GNU sed extension) lead to arbitrary code execution. >> + >> +xzgrep from XZ Utils versions up to and including 5.2.5 are >> +affected. 5.3.1alpha and 5.3.2alpha are affected as well. >> +This patch works for all of them. >> + >> +This bug was inherited from gzip's zgrep. gzip 1.12 includes >> +a fix for zgrep. >> + >> +The issue with the old sed script is that with multiple newlines, >> +the N-command will read the second line of input, then the >> +s-commands will be skipped because it's not the end of the >> +file yet, then a new sed cycle starts and the pattern space >> +is printed and emptied. So only the last line or two get escaped. >> + >> +One way to fix this would be to read all lines into the pattern >> +space first. However, the included fix is even simpler: All lines >> +except the last line get a backslash appended at the end. To ensure >> +that shell command substitution doesn't eat a possible trailing >> +newline, a colon is appended to the filename before escaping. >> +The colon is later used to separate the filename from the grep >> +output so it is fine to add it here instead of a few lines later. >> + >> +The old code also wasn't POSIX compliant as it used \n in the >> +replacement section of the s-command. Using \ is the >> +POSIX compatible method. >> + >> +LC_ALL=C was added to the two critical sed commands. POSIX sed >> +manual recommends it when using sed to manipulate pathnames >> +because in other locales invalid multibyte sequences might >> +cause issues with some sed implementations. In case of GNU sed, >> +these particular sed scripts wouldn't have such problems but some >> +other scripts could have, see: >> + >> + info '(sed)Locale Considerations' >> + >> +This vulnerability was discovered by: >> +cleemy desu wayo working with Trend Micro Zero Day Initiative >> + >> +Thanks to Jim Meyering and Paul Eggert discussing the different >> +ways to fix this and for coordinating the patch release schedule >> +with gzip. >> + >> +Signed-off-by: Marcus Hoffmann >> +--- >> + src/scripts/xzgrep.in | 20 ++++++++++++-------- >> + 1 file changed, 12 insertions(+), 8 deletions(-) >> + >> +diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in >> +index b180936..e5186ba 100644 >> +--- a/src/scripts/xzgrep.in >> ++++ b/src/scripts/xzgrep.in >> +@@ -180,22 +180,26 @@ for i; do >> + { test $# -eq 1 || test $no_filename -eq 1; }; then >> + eval "$grep" >> + else >> ++ # Append a colon so that the last character will never be a newline >> ++ # which would otherwise get lost in shell command substitution. >> ++ i="$i:" >> ++ >> ++ # Escape & \ | and newlines only if such characters are present >> ++ # (speed optimization). >> + case $i in >> + (*' >> + '* | *'&'* | *'\'* | *'|'*) >> +- i=$(printf '%s\n' "$i" | >> +- sed ' >> +- $!N >> +- $s/[&\|]/\\&/g >> +- $s/\n/\\n/g >> +- ');; >> ++ i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/');; >> + esac >> +- sed_script="s|^|$i:|" >> ++ >> ++ # $i already ends with a colon so don't add it here. >> ++ sed_script="s|^|$i|" >> + >> + # Fail if grep or sed fails. >> + r=$( >> + exec 4>&1 >> +- (eval "$grep" 4>&-; echo $? >&4) 3>&- | sed "$sed_script" >&3 4>&- >> ++ (eval "$grep" 4>&-; echo $? >&4) 3>&- | >> ++ LC_ALL=C sed "$sed_script" >&3 4>&- >> + ) || r=2 >> + exit $r >> + fi >&3 5>&- >> +-- >> +2.35.1 >> + > > From marcus.hoffmann at othermo.de Tue Apr 19 17:37:16 2022 From: marcus.hoffmann at othermo.de (Marcus Hoffmann) Date: Tue, 19 Apr 2022 19:37:16 +0200 Subject: [Buildroot] [PATCH 2/2] package/xz: backport CVE-2022-1271 security fix In-Reply-To: <87tuapqaqw.fsf@tarshish> References: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> <20220419111714.1647112-2-marcus.hoffmann@othermo.de> <87tuapqaqw.fsf@tarshish> Message-ID: <22e0669c-6221-0ae8-e8ce-b884cd1726c6@othermo.de> Hi Baruch, On 19.04.22 18:47, Baruch Siach via buildroot wrote: > Hi Marcus, > > On Tue, Apr 19 2022, Marcus Hoffmann wrote: >> Fixes the following security issue: >> >> CVE-2022-1271/ZDI-22-619/ZDI-CAN-16587: arbitrary-file-write vulnerability >> >> Malicious filenames can make xzgrep to write to arbitrary files >> or (with a GNU sed extension) lead to arbitrary code execution. >> >> xzgrep from XZ Utils versions up to and including 5.2.5 are >> affected. 5.3.1alpha and 5.3.2alpha are affected as well. >> This patch works for all of them. >> >> This bug was inherited from gzip's zgrep. gzip 1.12 includes >> a fix for zgrep. >> >> This vulnerability was discovered by: >> cleemy desu wayo working with Trend Micro Zero Day Initiative >> >> https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html >> https://www.zerodayinitiative.com/advisories/ZDI-22-619/ >> https://www.openwall.com/lists/oss-security/2022/04/07/8 >> Signed-off-by: Marcus Hoffmann >> --- >> package/xz/0001-xzgrep-ZDI-CAN-16587.patch | 96 ++++++++++++++++++++++ >> 1 file changed, 96 insertions(+) >> create mode 100644 package/xz/0001-xzgrep-ZDI-CAN-16587.patch > > This patch should also add XZ_IGNORE_CVES in xz.mk. > > baruch Indeed! But Peter already send a better patch that does this: https://patchwork.ozlabs.org/project/buildroot/patch/20220419113409.1008586-1-peter at korsgaard.com/ Marcus From flaniel at linux.microsoft.com Tue Apr 19 17:41:44 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Tue, 19 Apr 2022 18:41:44 +0100 Subject: [Buildroot] [autobuild.buildroot.net] Your daily results for 2022-04-14 In-Reply-To: <20220417104244.6d681b10@windsurf> References: <2098999.irdbgypaU6@pwmachine> <20220417104244.6d681b10@windsurf> Message-ID: <12997361.uLZWGnKmhe@pwmachine> Hi. Le dimanche 17 avril 2022, 09:42:44 BST Thomas Petazzoni a ?crit : > On Fri, 15 Apr 2022 17:42:23 +0100 > > Francis Laniel wrote: > > > arch | reason | > > > > > > url > > > > > > -------------+--------------------------------+------------------------- > > > --- > > > ----------------------------------------------------- xtensa | > > > host-pahole-v1.23 | > > > http://autobuild.buildroot.net/results/fa4fb6ca383e058e89ff8796ac9ae68a0 > > > b16 > > > 81b5 m68k | host-pahole-v1.23 | > > > http://autobuild.buildroot.net/results/b584c57a72e4604112f4b12c0c7b21e1a > > > 4b4 > > > 1dd5 arm | host-pahole-v1.23 | > > > http://autobuild.buildroot.net/results/b43be30cb177066d1b49bf4822790ec0c > > > a01 > > > 9d03 > > > > > > > > > Thanks for your contribution to Buildroot! > > > > I suspect this problem occurs because Ubuntu 14.04 kernel does not know > > the > > problematic symbols. > > Indeed, PERF_COUNT_SW_BPF_OUTPUT was added in : > > a43eec304259 ("bpf: introduce bpf_perf_event_output() helper") > > which was released with kernel 4.4. > > So, can you please give me the uname -r of the host-distro? > > I can't because these build issues (or at least the last one) occurs on > Yann Morin's autobuilder, so I've added yann in Cc. > > > If my suspicion is good, I already wrote a patch to throw an error if host > > kernel is under 4.4 while building host-pahole. > > This is not going to be the solution. Why does host-pahole depend on > the version of the kernel? Why does it need the NR_bpf symbol? > > There is some logic in src/bpf.c to get __NR_bpf if not provided by > kernel headers: > > #ifndef __NR_bpf > # if defined(__i386__) > # define __NR_bpf 357 > # elif defined(__x86_64__) > # define __NR_bpf 321 > # elif defined(__aarch64__) > # define __NR_bpf 280 > # elif defined(__sparc__) > # define __NR_bpf 349 > # elif defined(__s390__) > # define __NR_bpf 351 > # elif defined(__arc__) > # define __NR_bpf 280 > # elif defined(__mips__) && defined(_ABIO32) > # define __NR_bpf 4355 > # elif defined(__mips__) && defined(_ABIN32) > # define __NR_bpf 6319 > # elif defined(__mips__) && defined(_ABI64) > # define __NR_bpf 5315 > # else > # error __NR_bpf not defined. libbpf does not support your arch. > # endif > #endif > > but this logic is only partially duplicated in src/skel_internal.h: > > #ifndef __NR_bpf > # if defined(__mips__) && defined(_ABIO32) > # define __NR_bpf 4355 > # elif defined(__mips__) && defined(_ABIN32) > # define __NR_bpf 6319 > # elif defined(__mips__) && defined(_ABI64) > # define __NR_bpf 5315 > # endif > #endif > > That doesn't make much sense. > > Do we need that BPF support in host-pahole in our use-case of host-pahole? > > BTW, I'm seeing that we can avoid using the internal libbpf, and > therefore avoid using git submodules: > > option(LIBBPF_EMBEDDED "Use the embedded version of libbpf instead of > searching it via pkg-config" ON) if (NOT LIBBPF_EMBEDDED) > find_package(PkgConfig REQUIRED) > if(PKGCONFIG_FOUND) > pkg_check_modules(LIBBPF REQUIRED libbpf>=0.4.0) > endif() > endif() > > So we should definitely do that, and have a separate Buildroot package > for libbpf. I think upstream code has actually a problem buildroot test infrastructure highlighted. So, from my understanding, the best solution would be to patch upstream libbpf. Indeed, I do not think adding a buildroot package will solve this problem. Were you suggesting than by adding a buildroot package we could add a local patch to fix this behavior? > Best regards, > > Thomas Best regards. From thomas.petazzoni at bootlin.com Tue Apr 19 18:43:41 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 20:43:41 +0200 Subject: [Buildroot] [autobuild.buildroot.net] Your daily results for 2022-04-14 In-Reply-To: <12997361.uLZWGnKmhe@pwmachine> References: <2098999.irdbgypaU6@pwmachine> <20220417104244.6d681b10@windsurf> <12997361.uLZWGnKmhe@pwmachine> Message-ID: <20220419204341.0adf3f55@windsurf> On Tue, 19 Apr 2022 18:41:44 +0100 Francis Laniel wrote: > I think upstream code has actually a problem buildroot test infrastructure > highlighted. > So, from my understanding, the best solution would be to patch upstream > libbpf. > Indeed, I do not think adding a buildroot package will solve this problem. > > Were you suggesting than by adding a buildroot package we could add a local > patch to fix this behavior? What I meant is that pahole bundles libbpf as a git submodule, but can also use an external libbpf. In the context of Buildroot, we would very much prefer to have a separate host-libbpf package, with host-pahole depending on it (and not using its own copy of libbpf). Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From b.bilas at grinn-global.com Tue Apr 19 18:47:56 2022 From: b.bilas at grinn-global.com (Bartosz Bilas) Date: Tue, 19 Apr 2022 20:47:56 +0200 Subject: [Buildroot] [PATCH] packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements Message-ID: <20220419184756.255846-1-b.bilas@grinn-global.com> Fixes: CMake Error at /home/buildroot/autobuild/run/instance-2/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/libwebsockets/libwebsockets-config.cmake:35 (include): include could not find load file: LwsCheckRequirements Call Stack (most recent call first): CMakeLists.txt:54 (find_package) Signed-off-by: Bartosz Bilas Signed-off-by: Bartosz Bilas --- ...emove-duplicate-LwsCheckRequirements.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch diff --git a/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch new file mode 100644 index 0000000000..fc76a2b610 --- /dev/null +++ b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch @@ -0,0 +1,26 @@ +From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001 +From: Andy Green +Date: Mon, 7 Feb 2022 14:48:55 +0000 +Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements + +Signed-off-by: Andy Green +Signed-off-by: Bartosz Bilas +Signed-off-by: Bartosz Bilas +--- + cmake/libwebsockets-config.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in +index 6247b2cb..8ba97e6f 100644 +--- a/cmake/libwebsockets-config.cmake.in ++++ b/cmake/libwebsockets-config.cmake.in +@@ -32,6 +32,5 @@ endforeach() + + include(CheckIncludeFile) + include(CheckCSourceCompiles) +-include(LwsCheckRequirements) + set(requirements 1) + +-- +2.35.3 + -- 2.35.3 From b.bilas at grinn-global.com Tue Apr 19 18:50:38 2022 From: b.bilas at grinn-global.com (Bartosz Bilas) Date: Tue, 19 Apr 2022 20:50:38 +0200 Subject: [Buildroot] [autobuild.buildroot.net] Your daily results for 2022-04-18 In-Reply-To: <20220419044315.DADA71BBEDC@server220076.nazwa.pl> References: <20220419044315.DADA71BBEDC@server220076.nazwa.pl> Message-ID: Hello Thomas, On 19.04.2022 06:43, Thomas Petazzoni wrote: > Hello, > > Autobuilder failures > ==================== > > Below is a list of build failures reported by the Buildroot autobuilders > in relation to packages or CPU architectures you are in charge of. > Please help us improving the quality of Buildroot by investigating those > build failures and sending patches to fix them. > > Results for the 'master' branch > ------------------------------- > > Build failures related to your packages: > > arch | reason | url > -------------+--------------------------------+--------------------------------------------------------------------------------- > arm | ttyd-1.6.3 | http://autobuild.buildroot.net/results/0f7952eee8e3dcdd3f5df1b18ce561cca78ba7e0 > arm | ttyd-1.6.3 | http://autobuild.buildroot.net/results/0b6a917b9572574ce8585a7978db86729a8ef8d3 > arc | ttyd-1.6.3 | http://autobuild.buildroot.net/results/e1636589992b8896477ed2229bc7ccfc18847e9a > sh4 | ttyd-1.6.3 | http://autobuild.buildroot.net/results/f28872352d28b1ce67a3c81d524feb0138fe0284 > i686 | ttyd-1.6.3 | http://autobuild.buildroot.net/results/e488a1035c2de3a5d58127c0363390dcb9a0c68f > m68k | ttyd-1.6.3 | http://autobuild.buildroot.net/results/66045099ba830c1527a75c0308bd55d4655df20d > mips64el | ttyd-1.6.3 | http://autobuild.buildroot.net/results/d198d6285847d570329c2d2e1ea86a2f423b2829 https://patchwork.ozlabs.org/project/buildroot/patch/20220419184756.255846-1-b.bilas at grinn-global.com/ Best Bartek > > > Thanks for your contribution to Buildroot! > From fontaine.fabrice at gmail.com Tue Apr 19 18:58:21 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 20:58:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/batman-adv: needs CONFIG_CRC16 Message-ID: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> CONFIG_CRC16 is needed to avoid the following build failure: ERROR: modpost: "crc16" [/nvmedata/autobuild/instance-6/output-1/build/batman-adv-2021.4/net/batman-adv/batman-adv.ko] undefined! Fixes: - http://autobuild.buildroot.org/results/64bf0f89ef444dda4d1277c0e46d189ad2515713 Signed-off-by: Fabrice Fontaine --- package/batman-adv/batman-adv.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk index 838f9b1851..6a1aaa699c 100644 --- a/package/batman-adv/batman-adv.mk +++ b/package/batman-adv/batman-adv.mk @@ -35,6 +35,7 @@ define BATMAN_ADV_CONFIGURE_CMDS endef define BATMAN_ADV_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC16) $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) endef -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 19:36:18 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 21:36:18 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: disable on mips64el In-Reply-To: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> References: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> Message-ID: <20220419213618.58920b81@windsurf> On Tue, 19 Apr 2022 14:14:09 +0200 Fabrice Fontaine wrote: > Fix the following build failure on mips64el raised since commit > 11b347c03ab0b38389ec11b48f63236a3b4d6547: > > In file included from shim.h:47, > from shim.c:14: > /nvmedata/autobuild/instance-17/output-1/build/shim-15.4/include/system/stdarg.h:72:2: error: #error what arch is this > 72 | #error what arch is this > | ^~~~~ As usual, I don't like this kind of fixes that consist in simply "let's disable in the specific case that causes problem". If you look at that include/system/stdarg.h, you see: #if defined(__aarch64__) || defined(__arm__) || defined(__i386__) || \ defined(__i486__) || defined(__i686__) ... #elif defined(__x86_64__) ... #else #error what arch is this #endif So basically, any architecture other than the ones listed above is going to raise this build issue, not just mips64el. Yes, BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS already disables on most CPU architectures, but shim also has its own list of CPU architectures it supports. So we probably want a BR2_TARGET_SHIM_ARCH_SUPPORTS, which depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS and then adds an explicit list of architectures that shim supports. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Tue Apr 19 19:32:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 21:32:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: can't be built with BR2_OPTIMIZE_FAST Message-ID: <20220419193215.4089204-1-fontaine.fabrice@gmail.com> postgresql can't be built with BR2_OPTIMIZE_FAST: configure: error: do not put -ffast-math in CFLAGS Fixes: - http://autobuild.buildroot.org/results/106bb61bcff5d03e44d3e2e9149c76e6705606a5 Signed-off-by: Fabrice Fontaine --- package/bandwidthd/Config.in | 4 ++++ package/collectd/Config.in | 4 ++++ package/lighttpd/Config.in | 4 ++++ package/php/Config.ext | 8 ++++++++ package/poco/Config.in | 4 ++++ package/postgresql/Config.in | 4 ++++ package/python-psycopg2/Config.in | 4 ++++ package/qt5/qt5base/Config.in | 4 ++++ package/zabbix/Config.in | 1 + 9 files changed, 37 insertions(+) diff --git a/package/bandwidthd/Config.in b/package/bandwidthd/Config.in index 5a3529e0c4..7537552390 100644 --- a/package/bandwidthd/Config.in +++ b/package/bandwidthd/Config.in @@ -36,6 +36,7 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL bool "enable postgresql log target support" depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Enable support for logging the bandwidthd data to a remote @@ -46,6 +47,9 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL comment "postgresql support needs a toolchain w/ dynamic library, wchar" depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "postgresql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_BANDWIDTHD_SQLITE3 bool "enable sqlite3 log storage" select BR2_PACKAGE_SQLITE diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 43eef3bf66..da8465beee 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -475,6 +475,7 @@ config BR2_PACKAGE_COLLECTD_PING config BR2_PACKAGE_COLLECTD_POSTGRESQL bool "postgresql" depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Connects to and executes SQL statements on a PostgreSQL @@ -485,6 +486,9 @@ config BR2_PACKAGE_COLLECTD_POSTGRESQL comment "postgresql support needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR +comment "postgresql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_COLLECTD_PROCESSES bool "processes" help diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in index 6f0c927319..9522b80426 100644 --- a/package/lighttpd/Config.in +++ b/package/lighttpd/Config.in @@ -93,6 +93,7 @@ config BR2_PACKAGE_LIGHTTPD_PGSQL bool "pgsql support" depends on BR2_USE_MMU # postgresql depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Enable postgres support for lighttpd mod_vhostdb_pgsql. @@ -101,6 +102,9 @@ comment "pgsql support needs a toolchain w/ wchar" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR +comment "pgsql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_LIGHTTPD_WEBDAV bool "webdav support" select BR2_PACKAGE_LIBXML2 diff --git a/package/php/Config.ext b/package/php/Config.ext index 5da5d8bed9..e4aced66df 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -141,6 +141,7 @@ config BR2_PACKAGE_PHP_EXT_PGSQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help PostgreSQL support @@ -149,6 +150,9 @@ comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL extension can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_PHP_EXT_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE @@ -172,6 +176,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help PDO driver for PostgreSQL @@ -180,6 +185,9 @@ comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL drivers can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_PHP_EXT_PDO_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE diff --git a/package/poco/Config.in b/package/poco/Config.in index 699495a241..d2852ba03e 100644 --- a/package/poco/Config.in +++ b/package/poco/Config.in @@ -52,9 +52,13 @@ config BR2_PACKAGE_POCO_DATA_MYSQL config BR2_PACKAGE_POCO_DATA_PGSQL bool "Data/PostgreSQL" depends on BR2_USE_MMU # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POCO_DATA select BR2_PACKAGE_POSTGRESQL +comment "Data/PostgreSQL can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_POCO_DATA_SQLITE bool "Data/SQLite" select BR2_PACKAGE_POCO_DATA diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in index b42b219558..476427d534 100644 --- a/package/postgresql/Config.in +++ b/package/postgresql/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_POSTGRESQL # postgresql is unlikely to be used in a pure statically # linked environment. depends on !BR2_STATIC_LIBS + depends on !BR2_OPTIMIZE_FAST select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL @@ -34,3 +35,6 @@ endif comment "postgresql needs a toolchain w/ dynamic library, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR + +comment "postgresql can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in index ec27d706de..361c40cfa9 100644 --- a/package/python-psycopg2/Config.in +++ b/package/python-psycopg2/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 bool "python-psycopg2" depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Psycopg is the most popular PostgreSQL database adapter for @@ -24,3 +25,6 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 comment "python-psycopg2 needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR + +comment "python-psycopg2 can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in index 601438d2fe..6f2309dffd 100644 --- a/package/qt5/qt5base/Config.in +++ b/package/qt5/qt5base/Config.in @@ -74,6 +74,7 @@ config BR2_PACKAGE_QT5BASE_PSQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Build PostgreSQL plugin @@ -83,6 +84,9 @@ comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL plugin can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + choice prompt "SQLite 3 support" default BR2_PACKAGE_QT5BASE_SQLITE_NONE diff --git a/package/zabbix/Config.in b/package/zabbix/Config.in index 6f8a952936..0f7a0b0003 100644 --- a/package/zabbix/Config.in +++ b/package/zabbix/Config.in @@ -45,6 +45,7 @@ config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL bool "postgresql" depends on BR2_USE_WCHAR # postgresql depends on !BR2_STATIC_LIBS # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL endchoice -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 19:38:13 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 21:38:13 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: add new package In-Reply-To: <20220419142635.008ac004@windsurf> References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-3-thomas.perrot@bootlin.com> <20220419142635.008ac004@windsurf> Message-ID: <20220419213813.018a7601@windsurf> On Tue, 19 Apr 2022 14:26:35 +0200 Thomas Petazzoni via buildroot wrote: > This looks strange. Flags are normally passed using CFLAGS, and $(CC) > in Buildroot doesn't exist, it's $(HOSTCC) that should be used. > > Also, I think the list of header paths is properly set with: > > CINCLUDES := $(SUBSYS:%=-I$(CST_CODE_PATH)/%/hdr) > > but it gets overridden by the fact that you override CFLAGS. > > I believe there's a better way, let me have a look. Here is what I could come up with: ifneq ($(filter %64,$(HOSTARCH)),) HOST_IMX_CST_OSTYPE = linux64 else HOST_IMX_CST_OSTYPE = linux32 endif # We don't use HOST_CONFIGURE_OPTS when building cst, because we need # to preserve the CFLAGS/LDFLAGS used by their Makefile. define HOST_IMX_CST_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE) \ OSTYPE=$(HOST_IMX_CST_OSTYPE) \ ENCRYPTION=yes \ AR="$(HOSTAR)" \ CC="$(HOSTCC)" \ LD="$(HOSTCC)" \ OBJCOPY="$(HOSTOBJCOPY)" \ RANLIB="$(HOSTRANLIB)" \ EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ EXTRALDFLAGS="$(HOST_LDFLAGS)" \ PWD=$(@D)/code/cst \ -C $(@D)/code/cst \ build $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ -C $(@D)/code/hab_csf_parser endef define HOST_IMX_CST_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.$(HOST_IMX_CST_OSTYPE)/cst $(HOST_DIR)/bin/cst $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.$(HOST_IMX_CST_OSTYPE)/srktool $(HOST_DIR)/bin/srktool $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser endef Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Apr 19 19:42:42 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 21:42:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/binutils: disable 2.32 on unuspported FLAT platforms In-Reply-To: References: <20220409020719.3126086-1-james.hilliard1@gmail.com> <20220413225147.48bd5442@windsurf> Message-ID: <20220419214242.44ee10dd@windsurf> Hello, On Sun, 17 Apr 2022 00:50:19 -0600 James Hilliard wrote: > > I'm not sure that how we want to handle this. Indeed, even with newer > > binutils versions, I really doubt supporting aarch64 with the FLAT > > binary format makes a lot of sense. > > Well our newer binutils versions do already have FLAT disabled > entirely by setting: > depends on !BR2_BINFMT_FLAT Right, but as I state below, this is incorrect: they are disabled because they introduce a regression on ARM noMMU. Other noMMU architectures are (as far as we know), not affected. > > As far as I'm aware, there's currently no practical use-case for Linux > > noMMU on aarch64 and SH4, so I would simply disallow that. So on ARM, I > > would only allow the MMU to be disabled on ARMv7-M, and on SuperH, for > > SH2A. I.e something like the below patch. > > > > Of course, that leaves the case of BR2_sh2a. But if binutils > > 2.35/2.36/2.37 are broken for the FLAT format (which is why they are > > disabled), and 2.32 is disabled for SH2A/FLAT, then there's nothing > > left available for SH2A/FLAT > > Hmm, my assumption was that even though FLAT may not be supported > by the buildroot toolchain it may be possible some external toolchains > could have support for them, so I figured best just disable known invalid > options here for buildroot toolchain binutils. Practically speaking, nobody is using/testing FLAT on aarch64, SH4 or other MMU-capable architectures. We should support reasonable use-cases only IMO. > > Except that > > package/binutils/Config.in.host is wrong in disabling 2.35/2.36/2.37 > > for all FLAT configs: the bug is only related to ARM. > > Hmm, so maybe this set of depends plus an arm exclusion is needed > for newer binutils? I'm not following you here. > > However, I feel strange that sh2a/FLAT was not supported back in > > binutils 2.32. sh2a/FLAT has been around for a very long time. In fact > > what happens is that we have a patch to allow sh2a as an architecture > > name: package/binutils/2.32/0001-sh-conf.patch. But that patch is > > probably no longer sufficient, and some adjustements are also needed in > > bfd/config.bfd. > > So, that patch doesn't seem to add uclinux as a supported target, No, it makes it support sh2a as an architecture name. > which seems to be required for BR2_BINFMT_FLAT builds based on: > https://github.com/buildroot/buildroot/blob/2022.02.1/package/Makefile.in#L44-L45 > https://github.com/buildroot/buildroot/blob/2022.02.1/package/Makefile.in#L40 > https://github.com/buildroot/buildroot/blob/2022.02.1/package/binutils/binutils.mk#L83 > https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/config.bfd;h=0e1ddb659c3ab7160aab0a7c173b85052f870e65;hb=a9d9a104dde6a749f40ce5c4576a0042a7d52d1f#l1243 > > The failures from what I can tell here are due to the lack of a uclinux > target for sh2a in bfd/config.bfd. I need to have a closer look it seems. > > Bottom line: there is more work than just this proposal, which simply > > papers over the problem without really fixing it. > > Yeah, that's probably a bit outside my area of expertise, I was just > adding these dependencies by tracing the configure failure conditions. > > I'm not really familiar with no-mmu builds in general so wouldn't really > know what's correct for the architecture mmu settings. Yeah, that's also why I'm advocating for a broader solution. I'll try to cook some patches. I don't think I'll fix all problems in one go, but we can progressively get there. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From peter at korsgaard.com Tue Apr 19 19:48:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 19 Apr 2022 21:48:10 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: disable on mips64el In-Reply-To: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 19 Apr 2022 14:14:09 +0200") References: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> Message-ID: <875yn46eit.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure on mips64el raised since commit > 11b347c03ab0b38389ec11b48f63236a3b4d6547: > In file included from shim.h:47, > from shim.c:14: > /nvmedata/autobuild/instance-17/output-1/build/shim-15.4/include/system/stdarg.h:72:2: error: #error what arch is this > 72 | #error what arch is this > | ^~~~~ > Fixes: > - http://autobuild.buildroot.org/results/74f4f1d010cfde6978fd614195ef0006f0acb45a > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 19 19:47:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 19 Apr 2022 21:47:45 +0200 Subject: [Buildroot] [git commit] boot/shim: disable on mips64el Message-ID: <20220419193846.CB6BF83DB0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2fd41e56e0e26fd3f3265f0e0015031211e441cf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure on mips64el raised since commit 11b347c03ab0b38389ec11b48f63236a3b4d6547: In file included from shim.h:47, from shim.c:14: /nvmedata/autobuild/instance-17/output-1/build/shim-15.4/include/system/stdarg.h:72:2: error: #error what arch is this 72 | #error what arch is this | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/74f4f1d010cfde6978fd614195ef0006f0acb45a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- boot/shim/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/shim/Config.in b/boot/shim/Config.in index 2f74d6f332..b0e549a51b 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -2,6 +2,7 @@ config BR2_TARGET_SHIM bool "shim" # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS + depends on !BR2_mips64el help Boot loader to chain-load signed boot loaders under Secure Boot. From fontaine.fabrice at gmail.com Tue Apr 19 20:01:22 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 22:01:22 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS Message-ID: <20220419200122.4095481-1-fontaine.fabrice@gmail.com> Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice at gmail.com Signed-off-by: Fabrice Fontaine --- boot/shim/Config.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/boot/shim/Config.in b/boot/shim/Config.in index b0e549a51b..a762ad9215 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -1,8 +1,15 @@ -config BR2_TARGET_SHIM - bool "shim" +config BR2_PACKAGE_SHIM_ARCH_SUPPORTS + bool # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS - depends on !BR2_mips64el + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_arm || BR2_armeb + default y if BR2_i386 + default y if BR2_x86_64 + +config BR2_TARGET_SHIM + bool "shim" + depends on BR2_PACKAGE_SHIM_ARCH_SUPPORTS help Boot loader to chain-load signed boot loaders under Secure Boot. -- 2.35.1 From arnout at mind.be Tue Apr 19 20:11:12 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:11:12 +0200 Subject: [Buildroot] BR2_TARGET_UBOOT_PATCH setting not working In-Reply-To: <29DC8FE4-8840-4235-B78A-AEA800924338@gmail.com> References: <90f6844e-4ba4-1910-ec2d-bc6606793a5e@mind.be> <29DC8FE4-8840-4235-B78A-AEA800924338@gmail.com> Message-ID: <3fabf76a-bf2c-a0f7-09ea-a78514401d95@mind.be> On 15/04/2022 19:57, Marko Stanisic wrote: > Thank you Arnout for your answer, > > Yes I use a git repository , but I have to build two uboot for different situations , > 1) one uboot with disabled console > (release build ) > 2) and another uboot debug build with enabled console. > 3) depending on which buildroot defconfig I use (release or build) > > I wanted to orchestrate the builds over different defconfigs (buildroot) and in consequence different uboot defconfigs(one enables console, another has silent console) feature enabled. > But it is also necessary to perform a patch on header and c file of a current uboot repo on the fly as preparation for a build. > ( environment setting for silent console ) > > There is another solution for sure , but a patch seems to me more elegant to solve this multi source problem cases: > Case A) console on (uboot defconfig A) > Case B) console off (uboot defconfig B with silent console feature)+changes in source code regarding uboot environment > > Maybe direct use of patches inside uboot would be more correct , but i saw no mechanisms for that. > (Nothing in Readme, no hint to uboot patch directories or using patches before uboot build) > > Is buildroot able to handle such situations? In short, no. However: - you can set BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES to a config fragment that enables or disables the console; - the change in the header you can handle with ifdef using the config symbol set by the above fragment. This is IMHO a much cleaner solution than patching the source - you get to keep one source of truth. Regards, Arnout > > Best regards, > Marko. > > Sent from my iPhone > >> On 14.04.2022, at 21:00, Arnout Vandecappelle wrote: >> >> ? >> >>> On 13/04/2022 12:58, Marko Stanisic wrote: >>> Hello, >>> With buildroot i try to build an uboot which should be patched before, Uboot ist build by buildroot, but there is no reaction on following setting >>> BR2_TARGET_UBOOT_PATCH="$(BR2_EXTERNAL_GINO_PATH)/patches/uboot" >>> Inside /patches/uboot there is a .patch file named according to https://buildroot.org/downloads/manual/manual.html#patch-policy with >>> |-uboot-.patch| >>> |Patches inside directories can be executed according documentation. >>> | >>> |Uboot is used insied a submodul of my repo and buidlroot hass acces to it over UBOOT_OVERRIDE_SRCDIR. >>> | >>> | >>> | >>> |I have no clue why patching is not performed:| >>> 1. |checked with make -s printvars VARS='BR2_TARGET_UBOOT_PATCH'| >>> 2. checked make -s printvars VARS='UBOOT_PATCHES' , UBOOT_PATCHES is set inside >>> boot.mk >>> 3. make -s printvars VARS='UBOOT_POST_PATCH_HOOKS' >>> UBOOT_POST_PATCH_HOOKS=UBOOT_APPLY_LOCAL_PATCHES UBOOT_FIXUP_LIBFDT_INCLUDE >>> 4. BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_GINO_PATH)/patches is also set >>> 5. It seems that everything fine, maybe one thin is not very clear to me >>> I use *UBOOT_OVERRIDE_SRCDIR*and maybe thats make troubles here? because of the comment >>> |When Buildroot finds that for a given package, an +_OVERRIDE_SRCDIR+ has been defined, it will no longer attempt to download, extract and patch the package. Instead, it will directly use the source code available in the specified directory and +make clean+ will not touch this directory.| >> >> Indeed, as this text says: if you use OVERRIDE_SRCDIR, you can't use patches. >> >> >>> 5.1 If Point (5) makes the problem how can i solve it to apply a proper patch over buildroot, or do i have to put it inside the submodul directly and how? >> >> If you have a local directory with the source, it's assumed that you are able to modify that source and apply the patches directly. >> >> If for whatever reason that's not an option, there are a few options: >> >> - make a tarball and point BR2_TARGET_UBOOT_CUSTOM_TARBALL to it; or >> - if it's a git repository, you can point BR2_TARGET_UBOOT_CUSTOM_GIT to it. >> >> >> Regards, >> Arnout >> >> >>> 6. I didn't use the deprecated setting BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR >>> 7. Tried to build uboot package >>> |make uboot-dirclean make uboot-extract make uboot-patch ## nothing worked make uboot-build make uboot-install | >>> Maybe i forgot something? >>> thank you >>> || >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Apr 19 20:31:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:31:19 +0200 Subject: [Buildroot] [PATCH 1/2] package/gzip: security bump to 1.12 In-Reply-To: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> References: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> Message-ID: <087b047b-348d-cd25-8f40-4a551851c38b@mind.be> On 19/04/2022 13:17, Marcus Hoffmann wrote: > Fixes the following security issues: > > CVE-2022-1271: arbitrary-file-write vulnerability > > zgrep applied to a crafted file name with two or more newlines > can no longer overwrite an arbitrary, attacker-selected file. > [bug introduced in gzip-1.3.10] > > https://www.openwall.com/lists/oss-security/2022/04/07/8 > > Other changes: > > ** Changes in behavior > > 'gzip -l' no longer misreports file lengths 4 GiB and larger. > Previously, 'gzip -l' output the 32-bit value stored in the gzip > header even though that is the uncompressed length modulo 2**32. > Now, 'gzip -l' calculates the uncompressed length by decompressing > the data and counting the resulting bytes. Although this can take > much more time, nowadays the correctness pros seem to outweigh the > performance cons. > > 'zless' is no longer installed on platforms lacking 'less'. > > ** Bug fixes > > zgrep now names input file on error instead of mislabeling it as > "(standard input)", if grep supports the GNU -H and --label options. > > 'zdiff -C 5' no longer misbehaves by treating '5' as a file name. > [bug present since the beginning] > > Configure-time options like --program-prefix now work. > > Release Announcement: > https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html > > Signed-off-by: Marcus Hoffmann Applied to master, thanks. Regards, Arnout > --- > package/gzip/gzip.hash | 4 ++-- > package/gzip/gzip.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/gzip/gzip.hash b/package/gzip/gzip.hash > index 1cf73ff912..80b86f4797 100644 > --- a/package/gzip/gzip.hash > +++ b/package/gzip/gzip.hash > @@ -1,6 +1,6 @@ > # Locally calculated after checking pgp signature > -# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig > +# https://ftp.gnu.org/gnu/gzip/gzip-1.12.tar.xz.sig > # using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE > -sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz > +sha256 ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956 gzip-1.12.tar.xz > # Locally calculated > sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk > index 92588fcdb8..2092df363c 100644 > --- a/package/gzip/gzip.mk > +++ b/package/gzip/gzip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GZIP_VERSION = 1.11 > +GZIP_VERSION = 1.12 > GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz > GZIP_SITE = $(BR2_GNU_MIRROR)/gzip > # Some other tools expect it to be in /bin From arnout at mind.be Tue Apr 19 20:30:30 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:30:30 +0200 Subject: [Buildroot] [git commit] package/gzip: security bump to 1.12 Message-ID: <20220419202147.2FF3B83DBE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4bfe7edc4b1b9074385edd03c3ac1e7e6df0889c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: CVE-2022-1271: arbitrary-file-write vulnerability zgrep applied to a crafted file name with two or more newlines can no longer overwrite an arbitrary, attacker-selected file. [bug introduced in gzip-1.3.10] https://www.openwall.com/lists/oss-security/2022/04/07/8 Other changes: ** Changes in behavior 'gzip -l' no longer misreports file lengths 4 GiB and larger. Previously, 'gzip -l' output the 32-bit value stored in the gzip header even though that is the uncompressed length modulo 2**32. Now, 'gzip -l' calculates the uncompressed length by decompressing the data and counting the resulting bytes. Although this can take much more time, nowadays the correctness pros seem to outweigh the performance cons. 'zless' is no longer installed on platforms lacking 'less'. ** Bug fixes zgrep now names input file on error instead of mislabeling it as "(standard input)", if grep supports the GNU -H and --label options. 'zdiff -C 5' no longer misbehaves by treating '5' as a file name. [bug present since the beginning] Configure-time options like --program-prefix now work. Release Announcement: https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html Signed-off-by: Marcus Hoffmann Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gzip/gzip.hash | 4 ++-- package/gzip/gzip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gzip/gzip.hash b/package/gzip/gzip.hash index 1cf73ff912..80b86f4797 100644 --- a/package/gzip/gzip.hash +++ b/package/gzip/gzip.hash @@ -1,6 +1,6 @@ # Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig +# https://ftp.gnu.org/gnu/gzip/gzip-1.12.tar.xz.sig # using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE -sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz +sha256 ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956 gzip-1.12.tar.xz # Locally calculated sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index 92588fcdb8..2092df363c 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -4,7 +4,7 @@ # ################################################################################ -GZIP_VERSION = 1.11 +GZIP_VERSION = 1.12 GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz GZIP_SITE = $(BR2_GNU_MIRROR)/gzip # Some other tools expect it to be in /bin From arnout at mind.be Tue Apr 19 20:29:37 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:29:37 +0200 Subject: [Buildroot] [git commit] package/xz: add upstream security fix for CVE-2022-1271 / ZDI-CAN-16587 Message-ID: <20220419202147.276E983DBC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c1324248d7855b35652ed367ec815429d559a7e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issue: - CVE-2022-1271: Malicious filenames can make xzgrep to write to arbitrary files or (with a GNU sed extension) lead to arbitrary code execution. For more details, see the announcement and advisory: https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html https://www.zerodayinitiative.com/advisories/ZDI-22-619/ Signed-off-by: Peter Korsgaard Reviewed-by: Marcus Hoffmann Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/xz/xz.hash | 1 + package/xz/xz.mk | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/package/xz/xz.hash b/package/xz/xz.hash index 3dd0cbe459..9577e98e80 100644 --- a/package/xz/xz.hash +++ b/package/xz/xz.hash @@ -1,5 +1,6 @@ # Locally calculated after checking pgp signature sha256 5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2 +sha256 98c6cb1042284fe704ec30083f3fc87364ce9ed2ea51f62bbb0ee9d3448717ec xzgrep-ZDI-CAN-16587.patch # Hash for license files sha256 bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c COPYING diff --git a/package/xz/xz.mk b/package/xz/xz.mk index af611975a0..cdb01e06a9 100644 --- a/package/xz/xz.mk +++ b/package/xz/xz.mk @@ -13,6 +13,10 @@ XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 XZ_CPE_ID_VENDOR = tukaani +XZ_PATCH = xzgrep-ZDI-CAN-16587.patch +# xzgrep-ZDI-CAN-16587.patch +XZ_IGNORE_CVES += CVE-2022-1271 + ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) XZ_CONF_OPTS += --enable-threads else From arnout at mind.be Tue Apr 19 20:32:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:32:15 +0200 Subject: [Buildroot] [PATCH] package/xz: add upstream security fix for CVE-2022-1271 / ZDI-CAN-16587 In-Reply-To: <20220419113409.1008586-1-peter@korsgaard.com> References: <20220419113409.1008586-1-peter@korsgaard.com> Message-ID: <50abe40e-e466-7e16-1f11-7b61d1bdfd3e@mind.be> On 19/04/2022 13:34, Peter Korsgaard wrote: > Fixes the following security issue: > > - CVE-2022-1271: Malicious filenames can make xzgrep to write to arbitrary > files or (with a GNU sed extension) lead to arbitrary code execution. > > For more details, see the announcement and advisory: > > https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html > https://www.zerodayinitiative.com/advisories/ZDI-22-619/ > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Arnout > --- > package/xz/xz.hash | 1 + > package/xz/xz.mk | 4 ++++ > 2 files changed, 5 insertions(+) > > diff --git a/package/xz/xz.hash b/package/xz/xz.hash > index 3dd0cbe459..9577e98e80 100644 > --- a/package/xz/xz.hash > +++ b/package/xz/xz.hash > @@ -1,5 +1,6 @@ > # Locally calculated after checking pgp signature > sha256 5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2 > +sha256 98c6cb1042284fe704ec30083f3fc87364ce9ed2ea51f62bbb0ee9d3448717ec xzgrep-ZDI-CAN-16587.patch > > # Hash for license files > sha256 bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c COPYING > diff --git a/package/xz/xz.mk b/package/xz/xz.mk > index af611975a0..cdb01e06a9 100644 > --- a/package/xz/xz.mk > +++ b/package/xz/xz.mk > @@ -13,6 +13,10 @@ XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ > XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 > XZ_CPE_ID_VENDOR = tukaani > > +XZ_PATCH = xzgrep-ZDI-CAN-16587.patch > +# xzgrep-ZDI-CAN-16587.patch > +XZ_IGNORE_CVES += CVE-2022-1271 > + > ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) > XZ_CONF_OPTS += --enable-threads > else From arnout at mind.be Tue Apr 19 20:32:50 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:32:50 +0200 Subject: [Buildroot] [PATCH] package/gzip: security bump to version 1.12 In-Reply-To: <20220419112544.993456-1-peter@korsgaard.com> References: <20220419112544.993456-1-peter@korsgaard.com> Message-ID: <711e2b71-6bdf-c6c5-8659-a78dc569b3ef@mind.be> On 19/04/2022 13:25, Peter Korsgaard wrote: > Fixes the following security issues: > > - CVE-2022-1271: An arbitrary file write vulnerability was found in GNU > gzip's zgrep utility. When zgrep is applied on the attacker's chosen file > name (for example, a crafted file name), this can overwrite an attacker's > content to an arbitrary attacker-selected file. This flaw occurs due to > insufficient validation when processing filenames with two or more > newlines where selected content and the target file names are embedded in > crafted multi-line file names. This flaw allows a remote, low privileged > attacker to force zgrep to write arbitrary files on the system. > > https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html > > Signed-off-by: Peter Korsgaard I applied the patch that Marcus sent 8 minutes earlier instad. Regards, Arnout > --- > package/gzip/gzip.hash | 4 ++-- > package/gzip/gzip.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/gzip/gzip.hash b/package/gzip/gzip.hash > index 1cf73ff912..80b86f4797 100644 > --- a/package/gzip/gzip.hash > +++ b/package/gzip/gzip.hash > @@ -1,6 +1,6 @@ > # Locally calculated after checking pgp signature > -# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig > +# https://ftp.gnu.org/gnu/gzip/gzip-1.12.tar.xz.sig > # using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE > -sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz > +sha256 ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956 gzip-1.12.tar.xz > # Locally calculated > sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk > index 92588fcdb8..2092df363c 100644 > --- a/package/gzip/gzip.mk > +++ b/package/gzip/gzip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GZIP_VERSION = 1.11 > +GZIP_VERSION = 1.12 > GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz > GZIP_SITE = $(BR2_GNU_MIRROR)/gzip > # Some other tools expect it to be in /bin From arnout at mind.be Tue Apr 19 20:34:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:34:45 +0200 Subject: [Buildroot] [PATCH v3] package/wpa_supplicant: add overrides configuration option In-Reply-To: <20220419043340.5848-1-jose.pekkarinen@unikie.com> References: <20220419043340.5848-1-jose.pekkarinen@unikie.com> Message-ID: On 19/04/2022 06:33, Jos? Pekkarinen wrote: > From: Mika Joenpera > > Overrides configuration possibility enabled through > wpa_supplicant configuration file. > > Signed-off-by: Mika Joenpera > Signed-off-by: Jos? Pekkarinen > Reviewed-by: Yegor Yefremov Applied to master, thanks. Regards, Arnout > --- > [ v1 -> v2 ] > - add HE overrides > - cosmetic changes > > [ v2 -> v3 ] > - add missing HE overrides in Config.in > > package/wpa_supplicant/Config.in | 7 +++++++ > package/wpa_supplicant/wpa_supplicant.mk | 12 ++++++++++++ > 2 files changed, 19 insertions(+) > > diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in > index 8f095cdf2d..ef2557b8b2 100644 > --- a/package/wpa_supplicant/Config.in > +++ b/package/wpa_supplicant/Config.in > @@ -84,6 +84,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING > Enable support for open and secured mesh networking > (IEEE 802.11s) > > +config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES > + bool "Enable HT/VHT/HE overrides" > + help > + Enable wpa_supplicant overrides for HT, VHT and HE (disable > + HT/HT40, mask MCS rates, etc.) in wpa_supplicant > + configuration file. > + > config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN > bool "Enable autoscan" > help > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk > index 3c0b0c1dfc..d857b32b19 100644 > --- a/package/wpa_supplicant/wpa_supplicant.mk > +++ b/package/wpa_supplicant/wpa_supplicant.mk > @@ -110,6 +110,18 @@ else > WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH > endif > > +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y) > +WPA_SUPPLICANT_CONFIG_ENABLE += \ > + CONFIG_HT_OVERRIDES \ > + CONFIG_VHT_OVERRIDES \ > + CONFIG_HE_OVERRIDES > +else > +WPA_SUPPLICANT_CONFIG_DISABLE += \ > + CONFIG_HT_OVERRIDES \ > + CONFIG_VHT_OVERRIDES \ > + CONFIG_HE_OVERRIDES > +endif > + > ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) > WPA_SUPPLICANT_CONFIG_ENABLE += \ > CONFIG_AUTOSCAN_EXPONENTIAL \ From arnout at mind.be Tue Apr 19 20:33:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:33:47 +0200 Subject: [Buildroot] [git commit] package/wpa_supplicant: add overrides configuration option Message-ID: <20220419202453.5441C83DDC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ec4824aa486c3b9fe91b68d224300099cdac0c1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Overrides configuration possibility enabled through wpa_supplicant configuration file. Signed-off-by: Mika Joenpera Signed-off-by: Jos?? Pekkarinen Reviewed-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpa_supplicant/Config.in | 7 +++++++ package/wpa_supplicant/wpa_supplicant.mk | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index f2b0754ee1..7e2432985c 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -89,6 +89,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING Enable support for open and secured mesh networking (IEEE 802.11s) +config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES + bool "Enable HT/VHT/HE overrides" + help + Enable wpa_supplicant overrides for HT, VHT and HE (disable + HT/HT40, mask MCS rates, etc.) in wpa_supplicant + configuration file. + config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN bool "Enable autoscan" help diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 8b807fdfbe..c4cfe03371 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -105,6 +105,18 @@ else WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y) +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_HT_OVERRIDES \ + CONFIG_VHT_OVERRIDES \ + CONFIG_HE_OVERRIDES +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_HT_OVERRIDES \ + CONFIG_VHT_OVERRIDES \ + CONFIG_HE_OVERRIDES +endif + ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_AUTOSCAN_EXPONENTIAL \ From arnout at mind.be Tue Apr 19 20:35:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:35:35 +0200 Subject: [Buildroot] [PATCH] package/rtl8188eu: bump to 903b6fc (v5.2.2.4 branch HEAD) In-Reply-To: <20220418142855.3489541-1-tianyuanhao3@163.com> References: <20220418142855.3489541-1-tianyuanhao3@163.com> Message-ID: On 18/04/2022 16:28, TIAN Yuanhao wrote: > This allows to build against newer kernels (up to 5.18). > Tested on kernel v5.15. > > Signed-off-by: TIAN Yuanhao Applied to master, thanks. Regards, Arnout > --- > package/rtl8188eu/rtl8188eu.hash | 2 +- > package/rtl8188eu/rtl8188eu.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/rtl8188eu/rtl8188eu.hash b/package/rtl8188eu/rtl8188eu.hash > index 37767f5d16..9c7f2de4b6 100644 > --- a/package/rtl8188eu/rtl8188eu.hash > +++ b/package/rtl8188eu/rtl8188eu.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 b2b06c842bccd730d68a26b1c1b5a24f18373401e907147bf5e775fa42a36bbb rtl8188eu-60cb0b5a3cfc95e3f2e6fc294a28d987096b0559.tar.gz > +sha256 6bc46a13b20a2ed121844e51fd690216b2ab3b1faa1af8d9501090026ca9bd22 rtl8188eu-903b6fcb821465fe9c63e83416080df70c1c3c90.tar.gz > sha256 af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7 COPYING > diff --git a/package/rtl8188eu/rtl8188eu.mk b/package/rtl8188eu/rtl8188eu.mk > index b2066080f3..fa420b0d57 100644 > --- a/package/rtl8188eu/rtl8188eu.mk > +++ b/package/rtl8188eu/rtl8188eu.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RTL8188EU_VERSION = 60cb0b5a3cfc95e3f2e6fc294a28d987096b0559 > +RTL8188EU_VERSION = 903b6fcb821465fe9c63e83416080df70c1c3c90 > RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION)) > RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob) > RTL8188EU_LICENSE_FILES = COPYING From arnout at mind.be Tue Apr 19 20:35:02 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:35:02 +0200 Subject: [Buildroot] [git commit] package/rtl8188eu: bump to 903b6fc (v5.2.2.4 branch HEAD) Message-ID: <20220419202542.469D283DEA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f868f7ba9308aeb0e4586d63557d9da253d0da0b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This allows to build against newer kernels (up to 5.18). Tested on kernel v5.15. Signed-off-by: TIAN Yuanhao Reviewed-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rtl8188eu/rtl8188eu.hash | 2 +- package/rtl8188eu/rtl8188eu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtl8188eu/rtl8188eu.hash b/package/rtl8188eu/rtl8188eu.hash index 37767f5d16..9c7f2de4b6 100644 --- a/package/rtl8188eu/rtl8188eu.hash +++ b/package/rtl8188eu/rtl8188eu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 b2b06c842bccd730d68a26b1c1b5a24f18373401e907147bf5e775fa42a36bbb rtl8188eu-60cb0b5a3cfc95e3f2e6fc294a28d987096b0559.tar.gz +sha256 6bc46a13b20a2ed121844e51fd690216b2ab3b1faa1af8d9501090026ca9bd22 rtl8188eu-903b6fcb821465fe9c63e83416080df70c1c3c90.tar.gz sha256 af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7 COPYING diff --git a/package/rtl8188eu/rtl8188eu.mk b/package/rtl8188eu/rtl8188eu.mk index b2066080f3..fa420b0d57 100644 --- a/package/rtl8188eu/rtl8188eu.mk +++ b/package/rtl8188eu/rtl8188eu.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8188EU_VERSION = 60cb0b5a3cfc95e3f2e6fc294a28d987096b0559 +RTL8188EU_VERSION = 903b6fcb821465fe9c63e83416080df70c1c3c90 RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION)) RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob) RTL8188EU_LICENSE_FILES = COPYING From arnout at mind.be Tue Apr 19 20:37:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:37:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkrb5: doesn't build with libressl In-Reply-To: <20220418114103.276282-1-fontaine.fabrice@gmail.com> References: <20220418114103.276282-1-fontaine.fabrice@gmail.com> Message-ID: <1cb26340-3d1a-4918-cc59-174b310583bc@mind.be> On 18/04/2022 13:41, Fabrice Fontaine wrote: > libkrb5 does not build with libressl since commit > b7a5b9d06d484700fc4fcbd354f2c15e0422688c and upstream is not interested > in fixing this issue as a PR is opened for more than 4 years > (https://github.com/krb5/krb5/pull/607): > > pkinit_crypto_openssl.c: In function 'cms_signeddata_verify': > pkinit_crypto_openssl.c:1700:22: error: implicit declaration of function 'OBJ_get0_data'; did you mean 'BIO_get_data'? [-Werror=implicit-function-declaration] > 1700 | print_buffer(OBJ_get0_data(etype), OBJ_length(etype)); > | ^~~~~~~~~~~~~ > | BIO_get_data > > Fixes: > - http://autobuild.buildroot.org/results/e623f4e1d6b6004e98815b8b7da3938238890bd8 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libkrb5/libkrb5.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk > index f406cd9e49..bd751d9c77 100644 > --- a/package/libkrb5/libkrb5.mk > +++ b/package/libkrb5/libkrb5.mk > @@ -49,7 +49,7 @@ else > LIBKRB5_CONF_OPTS += --without-ldap > endif > > -ifeq ($(BR2_PACKAGE_OPENSSL),y) > +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > LIBKRB5_CONF_OPTS += \ > --enable-pkinit \ > --with-crypto-impl=openssl \ From arnout at mind.be Tue Apr 19 20:35:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:35:46 +0200 Subject: [Buildroot] [git commit] package/libkrb5: doesn't build with libressl Message-ID: <20220419202742.2C1B183DF3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e77c6e9291ff235309489a3733219c5c32b9187c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libkrb5 does not build with libressl since commit b7a5b9d06d484700fc4fcbd354f2c15e0422688c and upstream is not interested in fixing this issue as a PR is opened for more than 4 years (https://github.com/krb5/krb5/pull/607): pkinit_crypto_openssl.c: In function 'cms_signeddata_verify': pkinit_crypto_openssl.c:1700:22: error: implicit declaration of function 'OBJ_get0_data'; did you mean 'BIO_get_data'? [-Werror=implicit-function-declaration] 1700 | print_buffer(OBJ_get0_data(etype), OBJ_length(etype)); | ^~~~~~~~~~~~~ | BIO_get_data Fixes: - http://autobuild.buildroot.org/results/e623f4e1d6b6004e98815b8b7da3938238890bd8 Signed-off-by: Fabrice Fontaine Reviewed-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libkrb5/libkrb5.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index f406cd9e49..bd751d9c77 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -49,7 +49,7 @@ else LIBKRB5_CONF_OPTS += --without-ldap endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBKRB5_CONF_OPTS += \ --enable-pkinit \ --with-crypto-impl=openssl \ From arnout at mind.be Tue Apr 19 20:39:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:39:57 +0200 Subject: [Buildroot] [PATCH] package/network-manager: remove invalid dependencies In-Reply-To: <20220415025224.1876125-1-tianyuanhao3@163.com> References: <20220415025224.1876125-1-tianyuanhao3@163.com> Message-ID: On 15/04/2022 04:52, TIAN Yuanhao wrote: > Dependency on libiw has been removed since 0.9.3.990 [1]. > Dependency on libgcrypt has been removed since 1.2-beta1 [2]. > Dependency on libuuid has been removed since 1.31.4-dev [3]. > > [1]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/7d0761588c2dde8816c109c38c1c94233fd74afe > [2]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/b6f5f030331cc680edbe19ae322e894494d63687 > [3]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/73b9883c6f30320b727a664ff2c84cc772aac94b > > Signed-off-by: TIAN Yuanhao Applied to master, thanks. Thank you for the detailed research on when/why they were removed. Regards, Arnout > --- > package/network-manager/Config.in | 6 ------ > package/network-manager/network-manager.mk | 2 +- > 2 files changed, 1 insertion(+), 7 deletions(-) > > diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in > index a48cb37b15..1370c81c9c 100644 > --- a/package/network-manager/Config.in > +++ b/package/network-manager/Config.in > @@ -1,6 +1,5 @@ > config BR2_PACKAGE_NETWORK_MANAGER > bool "network-manager" > - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt > depends on !BR2_STATIC_LIBS # gnutls > depends on BR2_USE_MMU # dbus > depends on BR2_PACKAGE_HAS_UDEV > @@ -13,11 +12,6 @@ config BR2_PACKAGE_NETWORK_MANAGER > select BR2_PACKAGE_DBUS > select BR2_PACKAGE_GNUTLS > select BR2_PACKAGE_LIBGLIB2 > - select BR2_PACKAGE_LIBGCRYPT > - select BR2_PACKAGE_UTIL_LINUX > - select BR2_PACKAGE_UTIL_LINUX_LIBUUID > - select BR2_PACKAGE_WIRELESS_TOOLS > - select BR2_PACKAGE_WIRELESS_TOOLS_LIB > select BR2_PACKAGE_LIBNDP > help > NetworkManager is a set of co-operative tools that make > diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk > index a90228992c..d979cfc0d7 100644 > --- a/package/network-manager/network-manager.mk > +++ b/package/network-manager/network-manager.mk > @@ -10,7 +10,7 @@ NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz > NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) > NETWORK_MANAGER_INSTALL_STAGING = YES > NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev gnutls libglib2 \ > - libgcrypt wireless_tools util-linux host-intltool libndp > + host-intltool libndp > NETWORK_MANAGER_LICENSE = GPL-2.0+ (app), LGPL-2.1+ (libnm) > NETWORK_MANAGER_LICENSE_FILES = COPYING COPYING.LGPL CONTRIBUTING.md > NETWORK_MANAGER_CPE_ID_VENDOR = gnome From arnout at mind.be Tue Apr 19 20:37:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:37:48 +0200 Subject: [Buildroot] [git commit] package/network-manager: remove invalid dependencies Message-ID: <20220419203004.30CA483E23@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8b47feff2ff8ac37355431cb0414822da2c87ea1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Dependency on libiw has been removed since 0.9.3.990 [1]. Dependency on libgcrypt has been removed since 1.2-beta1 [2]. Dependency on libuuid has been removed since 1.31.4-dev [3]. [1]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/7d0761588c2dde8816c109c38c1c94233fd74afe [2]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/b6f5f030331cc680edbe19ae322e894494d63687 [3]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/73b9883c6f30320b727a664ff2c84cc772aac94b Signed-off-by: TIAN Yuanhao Reviewed-by: Marcus Hoffmann Tested-by: Marcus Hoffmann Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/network-manager/Config.in | 6 ------ package/network-manager/network-manager.mk | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in index a48cb37b15..1370c81c9c 100644 --- a/package/network-manager/Config.in +++ b/package/network-manager/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_NETWORK_MANAGER bool "network-manager" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on !BR2_STATIC_LIBS # gnutls depends on BR2_USE_MMU # dbus depends on BR2_PACKAGE_HAS_UDEV @@ -13,11 +12,6 @@ config BR2_PACKAGE_NETWORK_MANAGER select BR2_PACKAGE_DBUS select BR2_PACKAGE_GNUTLS select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - select BR2_PACKAGE_WIRELESS_TOOLS - select BR2_PACKAGE_WIRELESS_TOOLS_LIB select BR2_PACKAGE_LIBNDP help NetworkManager is a set of co-operative tools that make diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 3479bb3794..81d6eedf0f 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -10,7 +10,7 @@ NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) NETWORK_MANAGER_INSTALL_STAGING = YES NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev gnutls libglib2 \ - libgcrypt wireless_tools util-linux host-intltool libndp + host-intltool libndp NETWORK_MANAGER_LICENSE = GPL-2.0+ (app), LGPL-2.1+ (libnm) NETWORK_MANAGER_LICENSE_FILES = COPYING COPYING.LGPL CONTRIBUTING.md NETWORK_MANAGER_CPE_ID_VENDOR = gnome From arnout at mind.be Tue Apr 19 20:40:13 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:40:13 +0200 Subject: [Buildroot] [git commit] package/php-apcu: needs threads Message-ID: <20220419203045.AD3567FF3B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4bd5fc000bec111820f6caea0c9dc02a3f068c94 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master php-apcu needs threads since its addition in commit 8ddeeffa186d8bce875ac713c1e71483c618842a: In file included from /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.c:20: /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.h:41:11: fatal error: pthread.h: No such file or directory 41 | # include "pthread.h" | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/314405423aeece5ee55d76ec5c4fa1919e7ee853 Signed-off-by: Fabrice Fontaine Acked-by: Herve Codina Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/php-apcu/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/php-apcu/Config.in b/package/php-apcu/Config.in index 6338980222..f8e1eb17bb 100644 --- a/package/php-apcu/Config.in +++ b/package/php-apcu/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_PHP_APCU bool "php-apcu" + depends on BR2_TOOLCHAIN_HAS_THREADS help APCu is an in-memory key-value store for PHP. https://pecl.php.net/package/APCu + +comment "php-apcu needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS From arnout at mind.be Tue Apr 19 20:40:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:40:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/php-apcu: needs threads In-Reply-To: <20220414203059.1818820-1-fontaine.fabrice@gmail.com> References: <20220414203059.1818820-1-fontaine.fabrice@gmail.com> Message-ID: On 14/04/2022 22:30, Fabrice Fontaine wrote: > php-apcu needs threads since its addition in commit > 8ddeeffa186d8bce875ac713c1e71483c618842a: > > In file included from /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.c:20: > /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.h:41:11: fatal error: pthread.h: No such file or directory > 41 | # include "pthread.h" > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/314405423aeece5ee55d76ec5c4fa1919e7ee853 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/php-apcu/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/php-apcu/Config.in b/package/php-apcu/Config.in > index 6338980222..f8e1eb17bb 100644 > --- a/package/php-apcu/Config.in > +++ b/package/php-apcu/Config.in > @@ -1,6 +1,10 @@ > config BR2_PACKAGE_PHP_APCU > bool "php-apcu" > + depends on BR2_TOOLCHAIN_HAS_THREADS > help > APCu is an in-memory key-value store for PHP. > > https://pecl.php.net/package/APCu > + > +comment "php-apcu needs a toolchain w/ threads" > + depends on !BR2_TOOLCHAIN_HAS_THREADS From arnout at mind.be Tue Apr 19 20:48:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:48:03 +0200 Subject: [Buildroot] [PATCH 1/2] package/tbb: bump to version 2021.5.0 In-Reply-To: <4391488.LvFx2qVVIh@pwmachine> References: <20220416210750.3065016-1-fontaine.fabrice@gmail.com> <4391488.LvFx2qVVIh@pwmachine> Message-ID: On 19/04/2022 18:32, Francis Laniel wrote: > Hi. > > Le samedi 16 avril 2022, 22:07:49 BST Fabrice Fontaine a ?crit : >> - Switch to cmake-package >> - Drop DO_ITT_NOTIFY which is only used in example and test >> - license file has been renamed to LICENSE.txt >> - Add upstream patches to fix musl build >> >> https://www.intel.com/content/www/us/en/developer/articles/release-notes/int >> el-oneapi-threading-building-blocks-release-notes.html >> >> Signed-off-by: Fabrice Fontaine Applied to master, thanks. [snip] > > I tested your patch and it builds succesfully and sysdig (0.27.1) is still > running like a charm. Please formally declare when you reviewed or tested a patch, e.g. Reviewed-by: Francis Laniel Tested-by: Francis Laniel This gets picked up by patchwork and tells us it's a patch we should prioritize (since someone else already looked at it, we don't need to review it in detail any more). (Also, if you put text below a very long piece of quoted text, it's nice to remove part of the quoted text so the reader doesn't need to scroll as much.) Regards, Arnout > So, thank you for the bumping (I should have do it...) and the simplification > of tbb.mk. > > > Best regards. > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Apr 19 20:42:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:42:06 +0200 Subject: [Buildroot] [git commit] package/tbb: bump to version 2021.5.0 Message-ID: <20220419203812.D13AC81423@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c66ac07a0783b21f95e699b3762edd15e27bdf9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Switch to cmake-package - Drop DO_ITT_NOTIFY which is only used in example and test - license file has been renamed to LICENSE.txt - Add upstream patches to fix musl build https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-threading-building-blocks-release-notes.html Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/sysdig/Config.in | 2 +- ...0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch | 33 ++++++++++++++ ...info-is-only-defined-on-glibc-and-android.patch | 42 ++++++++++++++++++ package/tbb/Config.in | 12 ++++-- package/tbb/tbb.hash | 4 +- package/tbb/tbb.mk | 50 +++------------------- 6 files changed, 94 insertions(+), 49 deletions(-) diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index 3a4c033b2b..c124054105 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -7,7 +7,7 @@ config BR2_PACKAGE_SYSDIG depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils, tbb + depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 select BR2_PACKAGE_C_ARES select BR2_PACKAGE_ELFUTILS diff --git a/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch b/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch new file mode 100644 index 0000000000..82182ce109 --- /dev/null +++ b/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch @@ -0,0 +1,33 @@ +From 883c2e5245c39624b3b5d6d56d5b203cf09eac38 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 15 Dec 2021 08:08:07 -0800 +Subject: [PATCH] Musl/linux can not use RTLD_DEEPBIND (#684) + +Exclude non-glibc linux systems along with android +Fixes +src/tbb/dynamic_link.cpp:417:29: error: use + of undeclared identifier 'RTLD_DEEPBIND' | flags = flags | RTLD_DEEPBIND; +| ^ + +Signed-off-by: Khem Raj + +[Retrieved from: +https://github.com/oneapi-src/oneTBB/commit/883c2e5245c39624b3b5d6d56d5b203cf09eac38] +Signed-off-by: Fabrice Fontaine +--- + src/tbb/dynamic_link.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/tbb/dynamic_link.cpp b/src/tbb/dynamic_link.cpp +index 3f1342503..5330d7107 100644 +--- a/src/tbb/dynamic_link.cpp ++++ b/src/tbb/dynamic_link.cpp +@@ -413,7 +413,7 @@ namespace r1 { + int flags = RTLD_NOW; + if (local_binding) { + flags = flags | RTLD_LOCAL; +-#if __linux__ && !__ANDROID__ && !__TBB_USE_SANITIZERS ++#if (__linux__ && __GLIBC__) && !__TBB_USE_SANITIZERS + flags = flags | RTLD_DEEPBIND; + #endif + } else { diff --git a/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch b/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch new file mode 100644 index 0000000000..9b397cac41 --- /dev/null +++ b/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch @@ -0,0 +1,42 @@ +From 3a7f96db56cc9821055cbc769d3065db86b8b4c9 Mon Sep 17 00:00:00 2001 +From: Julien Voisin +Date: Mon, 7 Feb 2022 07:56:15 +0100 +Subject: [PATCH] mallinfo is only defined on glibc and android (#764) + +It currently prevents compilation under musl: + +``` +[ 90%] Building CXX object src/tbbmalloc_proxy/CMakeFiles/tbbmalloc_proxy.dir/proxy.cpp.o +/__w/mimalloc-bench/mimalloc-bench/extern/tbb/src/tbbmalloc_proxy/proxy.cpp:263:26: error: return type 'struct mallinfo' is incomplete + 263 | struct mallinfo mallinfo() __THROW + | ^ +compilation terminated due to -Wfatal-errors. +`` + +[Retrieved from: +https://github.com/oneapi-src/oneTBB/commit/3a7f96db56cc9821055cbc769d3065db86b8b4c9] +Signed-off-by: Fabrice Fontaine +--- + src/tbbmalloc_proxy/proxy.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/tbbmalloc_proxy/proxy.cpp b/src/tbbmalloc_proxy/proxy.cpp +index e58e55e0b..23b9c19c1 100644 +--- a/src/tbbmalloc_proxy/proxy.cpp ++++ b/src/tbbmalloc_proxy/proxy.cpp +@@ -260,6 +260,7 @@ int mallopt(int /*param*/, int /*value*/) __THROW + return 1; + } + ++#if defined(__GLIBC__) || defined(__ANDROID__) + struct mallinfo mallinfo() __THROW + { + struct mallinfo m; +@@ -267,6 +268,7 @@ struct mallinfo mallinfo() __THROW + + return m; + } ++#endif + + #if __ANDROID__ + // Android doesn't have malloc_usable_size, provide it to be compatible diff --git a/package/tbb/Config.in b/package/tbb/Config.in index 0f40b74d31..b2e97829b5 100644 --- a/package/tbb/Config.in +++ b/package/tbb/Config.in @@ -1,9 +1,11 @@ config BR2_PACKAGE_TBB bool "tbb" - depends on BR2_TOOLCHAIN_USES_GLIBC + # tbb needs fenv.h which is not provided by uclibc + depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr help Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily write parallel C++ programs that take full advantage @@ -12,5 +14,9 @@ config BR2_PACKAGE_TBB https://www.threadingbuildingblocks.org/ -comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" - depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP +comment "tbb needs a glibc or musl toolchain w/ dynamic library, threads, C++" + depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP + +comment "tbb needs exception_ptr" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 81d224b3ca..9992fb3c4f 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 tbb-2018_U5.tar.gz -sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE +sha256 e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a tbb-2021.5.0.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index 87e83551fe..afe756a85a 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -4,52 +4,16 @@ # ################################################################################ -TBB_VERSION = 2018_U5 -TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) +TBB_VERSION = 2021.5.0 +TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 -TBB_LICENSE_FILES = LICENSE +TBB_LICENSE_FILES = LICENSE.txt TBB_CPE_ID_VENDOR = intel TBB_CPE_ID_PRODUCT = threading_building_blocks -TBB_SO_VERSION = 2 -TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy -TBB_BIN_PATH = $(@D)/build/linux_* +TBB_CONF_OPTS = \ + -DTBB_STRICT=OFF \ + -DTBB_TEST=OFF -# arch is normally set based on uname -m with some conversions. However, -# it is not really used for much: -# - to decide between 32 or 64-bit files (based on '64' in the name) -# - to decide on some arch-specific CFLAGS like -m32, which we don't actually want -# - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) -# - to include assembler source, but it only exists for ia64 -# The only thing we actually want from the above is the 32/64-bit, and -# DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to -# the tbb build system, and set DO_ITT_NOTIFY explicitly. -TBB_ARCH = $(if $(BR2_ARCH_IS_64),buildroot64,buildroot32) -TBB_ITT_NOTIFY = $(if $(BR2_i386)$(BR2_x86_64),-DDO_ITT_NOTIFY) -TBB_CXXFLAGS = $(TARGET_CXXFLAGS) $(TBB_ITT_NOTIFY) - -define TBB_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) arch=$(TBB_ARCH) \ - CPLUS="$(TARGET_CXX)" CONLY="$(TARGET_CC)" CXXFLAGS="$(TBB_CXXFLAGS)" -endef - -define TBB_INSTALL_LIBS - $(foreach lib,$(TBB_LIBS), - $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$(TBB_SO_VERSION) \ - $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; - ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so - ) -endef - -define TBB_INSTALL_STAGING_CMDS - mkdir -p $(STAGING_DIR)/usr/include/ - cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ - $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) -endef - -define TBB_INSTALL_TARGET_CMDS - $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) -endef - -$(eval $(generic-package)) +$(eval $(cmake-package)) From arnout at mind.be Tue Apr 19 20:54:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:54:41 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk{-bin}: security bump 11.x to version 11.0.14.1+1 In-Reply-To: <20220419073954.537319-1-peter@korsgaard.com> References: <20220419073954.537319-1-peter@korsgaard.com> Message-ID: On 19/04/2022 09:39, Peter Korsgaard wrote: > Fixes the following security issues: > > - JDK-8217375: jarsigner breaks old signature with long lines in manifest > - JDK-8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside > - JDK-8264934, CVE-2022-21248: Enhance cross VM serialization > - JDK-8268488: More valuable DerValues > - JDK-8268494: Better inlining of inlined interfaces > - JDK-8268512: More content for ContentInfo > - JDK-8268795: Enhance digests of Jar files > - JDK-8268801: Improve PKCS attribute handling > - JDK-8268813, CVE-2022-21283: Better String matching > - JDK-8269151: Better construction of EncryptedPrivateKeyInfo > - JDK-8269944: Better HTTP transport redux > - JDK-8270386, CVE-2022-21291: Better verification of scan methods > - JDK-8270392, CVE-2022-21293: Improve String constructions > - JDK-8270416, CVE-2022-21294: Enhance construction of Identity maps > - JDK-8270492, CVE-2022-21282: Better resolution of URIs > - JDK-8270498, CVE-2022-21296: Improve SAX Parser configuration management > - JDK-8270646, CVE-2022-21299: Improved scanning of XML entities > - JDK-8270952, CVE-2022-21277: Improve TIFF file handling > - JDK-8271962: Better TrueType font loading > - JDK-8271968: Better canonical naming > - JDK-8271987: Manifest improved manifest entries > - JDK-8272014, CVE-2022-21305: Better array indexing > - JDK-8272026, CVE-2022-21340: Verify Jar Verification > - JDK-8272236, CVE-2022-21341: Improve serial forms for transport > - JDK-8272272: Enhance jcmd communication > - JDK-8272462: Enhance image handling > - JDK-8273290: Enhance sound handling > - JDK-8273756, CVE-2022-21360: Enhance BMP image support > - JDK-8273838, CVE-2022-21365: Enhanced BMP processing > - JDK-8274096, CVE-2022-21366: Improve decoding of image files > - JDK-8279541: Improve HarfBuzz > > For more details, see the announcement: > > https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-January/011643.html > https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-February/012348.html > > Signed-off-by: Peter Korsgaard Applied to master, thanks. This also invalidates [1], care to send an update of it? Regards, Arnout [1] https://patchwork.ozlabs.org/project/buildroot/patch/20220411070454.77482-1-ambi at samba.org/ > --- > package/openjdk-bin/openjdk-bin.hash | 2 +- > package/openjdk-bin/openjdk-bin.mk | 2 +- > package/openjdk/openjdk.hash | 2 +- > package/openjdk/openjdk.mk | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash > index bbc939d4e8..082da7bf87 100644 > --- a/package/openjdk-bin/openjdk-bin.hash > +++ b/package/openjdk-bin/openjdk-bin.hash > @@ -2,7 +2,7 @@ > sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz > > # From https://github.com/adoptium/temurin11-binaries/releases > -sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz > +sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz > > # Locally calculated > sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE > diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk > index 266c93d363..c9ddc9f69f 100644 > --- a/package/openjdk-bin/openjdk-bin.mk > +++ b/package/openjdk-bin/openjdk-bin.mk > @@ -9,7 +9,7 @@ HOST_OPENJDK_BIN_VERSION_MAJOR = 17 > HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 > else > HOST_OPENJDK_BIN_VERSION_MAJOR = 11 > -HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 > +HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 > endif > HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) > HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > diff --git a/package/openjdk/openjdk.hash b/package/openjdk/openjdk.hash > index 2f46b044ad..f8a4f15260 100644 > --- a/package/openjdk/openjdk.hash > +++ b/package/openjdk/openjdk.hash > @@ -1,4 +1,4 @@ > # Locally computed > sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz > -sha256 119c6233fe7ff5670c590e2f9d6686ac4d80c97b17065506998b75c547b54f2c openjdk-11.0.13+8.tar.gz > +sha256 0e859cc03378439023e17ee82aecee5a52265fb38906a8bebf16027aa2b2bcf5 openjdk-11.0.14.1+1.tar.gz > sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE > diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk > index 5fccdaa7ac..94b8cba577 100644 > --- a/package/openjdk/openjdk.mk > +++ b/package/openjdk/openjdk.mk > @@ -9,7 +9,7 @@ OPENJDK_VERSION_MAJOR = 17 > OPENJDK_VERSION_MINOR = 0.1+12 > else > OPENJDK_VERSION_MAJOR = 11 > -OPENJDK_VERSION_MINOR = 0.13+8 > +OPENJDK_VERSION_MINOR = 0.14.1+1 > endif > OPENJDK_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR) > OPENJDK_SITE = $(call github,openjdk,jdk$(OPENJDK_VERSION_MAJOR)u,jdk-$(OPENJDK_VERSION)) From arnout at mind.be Tue Apr 19 20:50:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:50:15 +0200 Subject: [Buildroot] [git commit] package/openjdk{-bin}: security bump 17.x to version 17.0.2+8 Message-ID: <20220419204612.901D1813F1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bbc318be1721990784497821dc4ecc7aea8c848e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - JDK-8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside - JDK-8264934, CVE-2022-21248: Enhance cross VM serialization - JDK-8268488: More valuable DerValues - JDK-8268494: Better inlining of inlined interfaces - JDK-8268512: More content for ContentInfo - JDK-8268813, CVE-2022-21283: Better String matching - JDK-8269151: Better construction of EncryptedPrivateKeyInfo - JDK-8269944: Better HTTP transport redux - JDK-8270386, CVE-2022-21291: Better verification of scan methods - JDK-8270392, CVE-2022-21293: Improve String constructions - JDK-8270416, CVE-2022-21294: Enhance construction of Identity maps - JDK-8270492, CVE-2022-21282: Better resolution of URIs - JDK-8270498, CVE-2022-21296: Improve SAX Parser configuration management - JDK-8270646, CVE-2022-21299: Improved scanning of XML entities - JDK-8270952, CVE-2022-21277: Improve TIFF file handling - JDK-8271962: Better TrueType font loading - JDK-8271968: Better canonical naming - JDK-8271987: Manifest improved manifest entries - JDK-8272014, CVE-2022-21305: Better array indexing - JDK-8272026, CVE-2022-21340: Verify Jar Verification - JDK-8272236, CVE-2022-21341: Improve serial forms for transport - JDK-8272272: Enhance jcmd communication - JDK-8272462: Enhance image handling - JDK-8273290: Enhance sound handling - JDK-8273756, CVE-2022-21360: Enhance BMP image support - JDK-8273838, CVE-2022-21365: Enhanced BMP processing - JDK-8274096, CVE-2022-21366: Improve decoding of image files For more details, see the announcement: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-January/011709.html Signed-off-by: Peter Korsgaard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openjdk-bin/openjdk-bin.hash | 2 +- package/openjdk-bin/openjdk-bin.mk | 2 +- package/openjdk/openjdk.hash | 2 +- package/openjdk/openjdk.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index 082da7bf87..62691ed6f0 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,5 +1,5 @@ # https://github.com/adoptium/temurin17-binaries/releases -sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz +sha256 288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48 OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index c9ddc9f69f..3d1ebd7429 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -6,7 +6,7 @@ ifeq ($(BR2_PACKAGE_OPENJDK_VERSION_17),y) HOST_OPENJDK_BIN_VERSION_MAJOR = 17 -HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 +HOST_OPENJDK_BIN_VERSION_MINOR = 0.2_8 else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 diff --git a/package/openjdk/openjdk.hash b/package/openjdk/openjdk.hash index f8a4f15260..293787792d 100644 --- a/package/openjdk/openjdk.hash +++ b/package/openjdk/openjdk.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz +sha256 2fdd23261526362d4aaf58323441d4c31d29de2e374ba94bbf2727a00adc0ea7 openjdk-17.0.2+8.tar.gz sha256 0e859cc03378439023e17ee82aecee5a52265fb38906a8bebf16027aa2b2bcf5 openjdk-11.0.14.1+1.tar.gz sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk index 94b8cba577..42d52d57c4 100644 --- a/package/openjdk/openjdk.mk +++ b/package/openjdk/openjdk.mk @@ -6,7 +6,7 @@ ifeq ($(BR2_PACKAGE_OPENJDK_VERSION_17),y) OPENJDK_VERSION_MAJOR = 17 -OPENJDK_VERSION_MINOR = 0.1+12 +OPENJDK_VERSION_MINOR = 0.2+8 else OPENJDK_VERSION_MAJOR = 11 OPENJDK_VERSION_MINOR = 0.14.1+1 From arnout at mind.be Tue Apr 19 20:48:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:48:45 +0200 Subject: [Buildroot] [git commit] package/openjdk{-bin}: security bump 11.x to version 11.0.14.1+1 Message-ID: <20220419204612.8618D82830@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30be0473162ff801a38b0ccbe6d8f6c30a282c0c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - JDK-8217375: jarsigner breaks old signature with long lines in manifest - JDK-8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside - JDK-8264934, CVE-2022-21248: Enhance cross VM serialization - JDK-8268488: More valuable DerValues - JDK-8268494: Better inlining of inlined interfaces - JDK-8268512: More content for ContentInfo - JDK-8268795: Enhance digests of Jar files - JDK-8268801: Improve PKCS attribute handling - JDK-8268813, CVE-2022-21283: Better String matching - JDK-8269151: Better construction of EncryptedPrivateKeyInfo - JDK-8269944: Better HTTP transport redux - JDK-8270386, CVE-2022-21291: Better verification of scan methods - JDK-8270392, CVE-2022-21293: Improve String constructions - JDK-8270416, CVE-2022-21294: Enhance construction of Identity maps - JDK-8270492, CVE-2022-21282: Better resolution of URIs - JDK-8270498, CVE-2022-21296: Improve SAX Parser configuration management - JDK-8270646, CVE-2022-21299: Improved scanning of XML entities - JDK-8270952, CVE-2022-21277: Improve TIFF file handling - JDK-8271962: Better TrueType font loading - JDK-8271968: Better canonical naming - JDK-8271987: Manifest improved manifest entries - JDK-8272014, CVE-2022-21305: Better array indexing - JDK-8272026, CVE-2022-21340: Verify Jar Verification - JDK-8272236, CVE-2022-21341: Improve serial forms for transport - JDK-8272272: Enhance jcmd communication - JDK-8272462: Enhance image handling - JDK-8273290: Enhance sound handling - JDK-8273756, CVE-2022-21360: Enhance BMP image support - JDK-8273838, CVE-2022-21365: Enhanced BMP processing - JDK-8274096, CVE-2022-21366: Improve decoding of image files - JDK-8279541: Improve HarfBuzz For more details, see the announcement: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-January/011643.html https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-February/012348.html Signed-off-by: Peter Korsgaard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openjdk-bin/openjdk-bin.hash | 2 +- package/openjdk-bin/openjdk-bin.mk | 2 +- package/openjdk/openjdk.hash | 2 +- package/openjdk/openjdk.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index bbc939d4e8..082da7bf87 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -2,7 +2,7 @@ sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases -sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz +sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 266c93d363..c9ddc9f69f 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -9,7 +9,7 @@ HOST_OPENJDK_BIN_VERSION_MAJOR = 17 HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 -HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 +HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 endif HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz diff --git a/package/openjdk/openjdk.hash b/package/openjdk/openjdk.hash index 2f46b044ad..f8a4f15260 100644 --- a/package/openjdk/openjdk.hash +++ b/package/openjdk/openjdk.hash @@ -1,4 +1,4 @@ # Locally computed sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz -sha256 119c6233fe7ff5670c590e2f9d6686ac4d80c97b17065506998b75c547b54f2c openjdk-11.0.13+8.tar.gz +sha256 0e859cc03378439023e17ee82aecee5a52265fb38906a8bebf16027aa2b2bcf5 openjdk-11.0.14.1+1.tar.gz sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk index 5fccdaa7ac..94b8cba577 100644 --- a/package/openjdk/openjdk.mk +++ b/package/openjdk/openjdk.mk @@ -9,7 +9,7 @@ OPENJDK_VERSION_MAJOR = 17 OPENJDK_VERSION_MINOR = 0.1+12 else OPENJDK_VERSION_MAJOR = 11 -OPENJDK_VERSION_MINOR = 0.13+8 +OPENJDK_VERSION_MINOR = 0.14.1+1 endif OPENJDK_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR) OPENJDK_SITE = $(call github,openjdk,jdk$(OPENJDK_VERSION_MAJOR)u,jdk-$(OPENJDK_VERSION)) From arnout at mind.be Tue Apr 19 21:08:11 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 23:08:11 +0200 Subject: [Buildroot] [PATCH] Adds python-orjson support. In-Reply-To: <20220414194011.2044427-1-gsmecher@threespeedlogic.com> References: <20220414194011.2044427-1-gsmecher@threespeedlogic.com> Message-ID: Hi Graeme, I have a few fairly small remarks. Care to fix them up and resend? First of all, the subject line should be: package/python-orjson: new package Also, add a Signed-off-by line for yourself at the end of the commit message. This is a short way for you to assert that you are entitled to contribute the patch under buildroot's GPL license. See [1] for more details. On 14/04/2022 21:40, Graeme Smecher wrote: > --- > package/Config.in | 1 + > package/python-orjson/Config.in | 12 ++++++++++ > package/python-orjson/python-orjson.hash | 3 +++ > package/python-orjson/python-orjson.mk | 28 ++++++++++++++++++++++++ Please add yourself to the DEVELOPERS file [1] for this package. This way, you'll get an e-mail if the package fails in the autobuilders, or when a new version is released if the package is registered on release-monitoring.org. > 4 files changed, 44 insertions(+) > create mode 100644 package/python-orjson/Config.in > create mode 100644 package/python-orjson/python-orjson.hash > create mode 100644 package/python-orjson/python-orjson.mk > > diff --git a/package/Config.in b/package/Config.in > index 86a1c59696..db0e37b7f7 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -1122,6 +1122,7 @@ menu "External python modules" > source "package/python-numpy/Config.in" > source "package/python-oauthlib/Config.in" > source "package/python-opcua-asyncio/Config.in" > + source "package/python-orjson/Config.in" > source "package/python-packaging/Config.in" > source "package/python-paho-mqtt/Config.in" > source "package/python-pam/Config.in" > diff --git a/package/python-orjson/Config.in b/package/python-orjson/Config.in > new file mode 100644 > index 0000000000..fa96eee57d > --- /dev/null > +++ b/package/python-orjson/Config.in > @@ -0,0 +1,12 @@ > +config BR2_PACKAGE_PYTHON_ORJSON > + bool "python-orjson" > + depends on BR2_PACKAGE_PYTHON3 > + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS > + select BR2_PACKAGE_PYTHON_CFFI # runtime > + help > + orjson is a fast, correct JSON library for Python. It benchmarks as > + the fastest Python library for JSON and is more correct than the > + standard json library or other third-party libraries. It serializes > + dataclass, datetime, numpy, and UUID instances natively. > + > + https://github.com/ijl/orjson > diff --git a/package/python-orjson/python-orjson.hash b/package/python-orjson/python-orjson.hash > new file mode 100644 > index 0000000000..158099c174 > --- /dev/null > +++ b/package/python-orjson/python-orjson.hash > @@ -0,0 +1,3 @@ > +sha256 4713b120ad86b1b273f5952cbf9578c13d0f453064bd26d823e04a10c84824e6 3.6.7.tar.gz > +sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 LICENSE-APACHE > +sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/python-orjson/python-orjson.mk b/package/python-orjson/python-orjson.mk > new file mode 100644 > index 0000000000..91ead3b170 > --- /dev/null > +++ b/package/python-orjson/python-orjson.mk > @@ -0,0 +1,28 @@ > +################################################################################ > +# > +# python-orjson > +# > +################################################################################ > + > +PYTHON_ORJSON_VERSION = 3.6.7 > +PYTHON_ORJSON_SOURCE = $(PYTHON_ORJSON_VERSION).tar.gz > +PYTHON_ORJSON_SITE = https://github.com/ijl/orjson/archive/refs/tags Rather than the above two lines, keep the default tarball name (python-orjson-3.6.7.tar.gz) and use the github helper: PYTHON_ORJSON_SITE = $(call github,ijl,orjson,$(PYTHON_ORJSON_VERSION)) > +PYTHON_ORJSON_LICENSE = Apache-2.0 or MIT > +PYTHON_ORJSON_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > +PYTHON_ORJSON_DEPENDENCIES = host-python-cffi host-rustc host-rustc is already added by cargo-package. > +PYTHON_ORJSON_CARGO_ENV = \ > + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" > + > +# Vendor the Cargo crates at download time > +PYTHON_ORJSON_DOWNLOAD_POST_PROCESS = cargo > +PYTHON_ORJSON_DOWNLOAD_DEPENDENCIES = host-rustc These two are (or should be) added automatically already by the cargo infrastructure, so are unneeded. > +PYTHON_ORJSON_DL_ENV = BR_CARGO_MANIFEST_PATH=Cargo.toml This is the default, so unneeded. > + > +# orjson uses "maturin" to generate distribution packages - rather than teach > +# buildroot how to understand this, we reach in and install directly. > +define PYTHON_ORJSON_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 $(@D)/target/$(RUSTC_TARGET_NAME)/release/liborjson.so \ We normally add -D to the INSTALL arguments, so the target directory is created if it doesn't exist yet. > + $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/orjson.so > +endef > + > +$(eval $(cargo-package)) Regards, Arnout [1] http://elinux.org/Developer_Certificate_Of_Origin [2] https://buildroot.org/downloads/manual/manual.html#DEVELOPERS From arnout at mind.be Tue Apr 19 21:16:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 23:16:43 +0200 Subject: [Buildroot] [RFC PATCH v1 0/1] New "docker" ready qemu config In-Reply-To: <20220414172857.35100-1-flaniel@linux.microsoft.com> References: <20220414172857.35100-1-flaniel@linux.microsoft.com> Message-ID: <6813316c-23f9-3521-1eca-df43f9205d34@mind.be> On 14/04/2022 19:28, Francis Laniel wrote: > Hi. > > > First, I hope you are fine and the same for your relatives. > > In this contribution, I added a new qemu config for x86_64. > This configuration is mainly based on qemu_x86_64_defconfig but it adds kernel > CONFIG_ to be able to use docker. > It also adds package related to docker like DOCKER_CLI and CONTAINERD. We don't like adding "demo" defconfigs that are basically another defconfig with some packages enabled. It's true that there is some value to knowing which combination of packages can provide a certain super-feature, but the problem is that the basic config (in this case, qemu_x86_64) is not going to be useful for most people. In this particular case, there isn't even that much "combination". Just docker-engine and docker-cli. The kernel config options do have value, but these should instead be set by containerd (or docker-engine, or docker-proxy, as appropriate), using CONTAINERD_LINUX_CONFIG_FIXUPS. Regards, Arnout > > The CONFIG_ options added were checked with moby check-config script [1]. > > I was able to build and execute the image with start-qemu.sh: > Welcome to Buildroot > buildroot login: root > # docker run --rm hello-world > Unable to find image 'hello-world:latest' locally > latest: Pulling from library/hello-world > 2db29710123e: Pull complete > Digest: sha256:10d7d58d5ebd2a652f4d93fdd86da8f265f5318c6a73cc5b6a9798ff6d2b2e67 > Status: Downloaded newer image for hello-world:latest > > Hello from Docker! > This message shows that your installation appears to be working correctly. > > Sadly, the image has to a bit big (more than 300M) but I think it is fine since > this image will only be used for virtualization. > > If you say any way to improve this contribution, feel free to share it! > > Francis Laniel (1): > qemu_x86_64_docker: add new qemu defconfig > > DEVELOPERS | 2 + > board/qemu/x86_64_docker/linux.config | 112 +++++++++++++++++++++++++ > board/qemu/x86_64_docker/post-build.sh | 11 +++ > board/qemu/x86_64_docker/readme.txt | 7 ++ > configs/qemu_x86_64_docker_defconfig | 49 +++++++++++ > 5 files changed, 181 insertions(+) > create mode 100644 board/qemu/x86_64_docker/linux.config > create mode 100755 board/qemu/x86_64_docker/post-build.sh > create mode 100644 board/qemu/x86_64_docker/readme.txt > create mode 100644 configs/qemu_x86_64_docker_defconfig > > > Best regards and thank you in advance. > --- > [1] https://github.com/moby/moby/blob/master/contrib/check-config.sh From gsmecher at threespeedlogic.com Tue Apr 19 21:24:46 2022 From: gsmecher at threespeedlogic.com (Graeme Smecher) Date: Tue, 19 Apr 2022 14:24:46 -0700 Subject: [Buildroot] package/python-orjson: new package Message-ID: <20220419212447.2441888-1-gsmecher@threespeedlogic.com> The python-orjson package is: [1] "[...] a fast, correct JSON library for Python. It benchmarks as the fastest Python library for JSON and is more correct than the standard json library or other third-party libraries. It serializes dataclass, datetime, numpy, and UUID instances natively." For buildroot (at least for my purposes), the ability to efficiently serialize numpy arrays is the distinguishing feature from other Python JSON libraries (of which, simplejson, json, and ujson are already packaged here.) 1: https://pypi.org/project/orjson/ Signed-off-by: Graeme Smecher From gsmecher at threespeedlogic.com Tue Apr 19 21:24:47 2022 From: gsmecher at threespeedlogic.com (Graeme Smecher) Date: Tue, 19 Apr 2022 14:24:47 -0700 Subject: [Buildroot] [PATCH] Adds python-orjson support. In-Reply-To: <20220419212447.2441888-1-gsmecher@threespeedlogic.com> References: <20220419212447.2441888-1-gsmecher@threespeedlogic.com> Message-ID: <20220419212447.2441888-2-gsmecher@threespeedlogic.com> --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/python-orjson/Config.in | 12 ++++++++++++ package/python-orjson/python-orjson.hash | 3 +++ package/python-orjson/python-orjson.mk | 22 ++++++++++++++++++++++ 5 files changed, 41 insertions(+) create mode 100644 package/python-orjson/Config.in create mode 100644 package/python-orjson/python-orjson.hash create mode 100644 package/python-orjson/python-orjson.mk diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..0846aac835 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -3058,3 +3058,6 @@ F: package/quazip/ F: package/shapelib/ F: package/simple-mail/ F: package/tinc/ + +N: Graeme Smecher +F: package/python-orjson/ diff --git a/package/Config.in b/package/Config.in index c599271c65..1494387c2e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1111,6 +1111,7 @@ menu "External python modules" source "package/python-numpy/Config.in" source "package/python-oauthlib/Config.in" source "package/python-opcua-asyncio/Config.in" + source "package/python-orjson/Config.in" source "package/python-packaging/Config.in" source "package/python-paho-mqtt/Config.in" source "package/python-paramiko/Config.in" diff --git a/package/python-orjson/Config.in b/package/python-orjson/Config.in new file mode 100644 index 0000000000..fa96eee57d --- /dev/null +++ b/package/python-orjson/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_ORJSON + bool "python-orjson" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_CFFI # runtime + help + orjson is a fast, correct JSON library for Python. It benchmarks as + the fastest Python library for JSON and is more correct than the + standard json library or other third-party libraries. It serializes + dataclass, datetime, numpy, and UUID instances natively. + + https://github.com/ijl/orjson diff --git a/package/python-orjson/python-orjson.hash b/package/python-orjson/python-orjson.hash new file mode 100644 index 0000000000..8f9cc2a7c9 --- /dev/null +++ b/package/python-orjson/python-orjson.hash @@ -0,0 +1,3 @@ +sha256 4713b120ad86b1b273f5952cbf9578c13d0f453064bd26d823e04a10c84824e6 python-orjson-3.6.7.tar.gz +sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 LICENSE-APACHE +sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/python-orjson/python-orjson.mk b/package/python-orjson/python-orjson.mk new file mode 100644 index 0000000000..5de4b2c5fa --- /dev/null +++ b/package/python-orjson/python-orjson.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# python-orjson +# +################################################################################ + +PYTHON_ORJSON_VERSION = 3.6.7 +PYTHON_ORJSON_SITE = $(call github,ijl,orjson,$(PYTHON_ORJSON_VERSION)) +PYTHON_ORJSON_LICENSE = Apache-2.0 or MIT +PYTHON_ORJSON_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT +PYTHON_ORJSON_DEPENDENCIES = host-python-cffi +PYTHON_ORJSON_CARGO_ENV = \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +# orjson uses "maturin" to generate distribution packages - rather than teach +# buildroot how to understand this, we reach in and install directly. +define PYTHON_ORJSON_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/target/$(RUSTC_TARGET_NAME)/release/liborjson.so \ + $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/orjson.so +endef + +$(eval $(cargo-package)) -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:46 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:46 +0200 Subject: [Buildroot] [PATCH 2/5] arch/Config.in: remove BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64* In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220419213450.887728-2-thomas.petazzoni@bootlin.com> Selecting BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64 and BR2_aarch64_be doesn't make much sense, because the actual ARM cores described in arch/Config.in.arm then all select BR2_ARCH_HAS_MMU_OPTIONAL. So we end up with both BR2_ARCH_HAS_MMU_OPTIONAL and BR2_ARCH_HAS_MMU_MANDATORY, which doesn't make any sense. To prevent this, we remove the selection of BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64 and BR2_aarch64_be, and let arch/Config.in.arm do its job. What arch/Config.in.arm does is currently incorrect, but it will be fixed in a separate commit. Signed-off-by: Thomas Petazzoni --- arch/Config.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index e51ef60f40..d0d8854c2d 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -60,7 +60,6 @@ config BR2_armeb config BR2_aarch64 bool "AArch64 (little endian)" select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY help Aarch64 is a 64-bit architecture developed by ARM Holdings. http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php @@ -69,7 +68,6 @@ config BR2_aarch64 config BR2_aarch64_be bool "AArch64 (big endian)" select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY help Aarch64 is a 64-bit architecture developed by ARM Holdings. http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:45 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:45 +0200 Subject: [Buildroot] [PATCH 1/5] arch/Config.in.sh: fixup MMU selection Message-ID: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> BR2_sh selects BR2_ARCH_HAS_MMU_OPTIONAL, which means that it's up to the user to decide whether he wants to use MMU or not on SuperH platforms. However: - On SH2A, there is no MMU at all, so being to select "Use MMU" doesn't make any sense. - On SH4, there is no support for *not* using the MMU, so disabling "Use MMU" will cause the build to fail. In order to fix this, we move the MMU selection to arch/Config.in.sh: - BR2_sh2a selects nothing, so that it's always noMMU - BR2_sh4* select BR2_ARCH_HAS_MMU_MANDATORY so that the MMU is always used. Fixes: http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20/ (FLAT selected with sh4aeb) http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9/ (FLAT selected with sh4a) http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06/ (FLAT selected with sh4) Signed-off-by: Thomas Petazzoni --- arch/Config.in | 1 - arch/Config.in.sh | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/Config.in b/arch/Config.in index 98b0e40d51..e51ef60f40 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -228,7 +228,6 @@ config BR2_s390x config BR2_sh bool "SuperH" - select BR2_ARCH_HAS_MMU_OPTIONAL help SuperH (or SH) is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by diff --git a/arch/Config.in.sh b/arch/Config.in.sh index c1ba449dd5..a012cbf491 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -9,12 +9,16 @@ config BR2_sh2a bool "sh2a (SH2A big endian)" config BR2_sh4 bool "sh4 (SH4 little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4eb bool "sh4eb (SH4 big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4a bool "sh4a (SH4A little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY endchoice config BR2_ARCH -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:47 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:47 +0200 Subject: [Buildroot] [PATCH 3/5] arch/Config.in.arm: re-organize MMU selection In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220419213450.887728-3-thomas.petazzoni@bootlin.com> So far, all ARM cores were selecting BR2_ARCH_HAS_MMU_OPTIONAL, except no-MMU cores which were selecting nothing. In practice, MMU-capable ARM cores are always used with their MMU enabled, so it doesn't make sense to support the use case of not using the MMU on such cores. Consequently, to simplify things, we group the MMU handling in the BR2_ARM_CPU_ARM* options: BR2_ARM_CPU_ARMV4, BR2_ARM_CPU_ARMV5, BR2_ARM_CPU_ARMV6, BR2_ARM_CPU_ARMV7A, BR2_ARM_CPU_ARMV8A all select BR2_ARCH_HAS_MMU_MANDATORY, while BR2_ARM_CPU_ARMV7M continues to select nothing, indicating that there is no MMU available at all. Fixes: http://autobuild.buildroot.net/results/33277d4687ca9a04dbfb02c50e5755ff9e55b0b4/ (FLAT selected on AArch64) http://autobuild.buildroot.net/results/5e34d11393e14fc36fd6e72b69679bc4fd1e3798/ (FLAT selected on AArch64 big-endian) Signed-off-by: Thomas Petazzoni --- arch/Config.in.arm | 59 ++++------------------------------------------ 1 file changed, 5 insertions(+), 54 deletions(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 85040ac89f..fa2e882550 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -73,21 +73,26 @@ config BR2_ARM_CPU_HAS_THUMB2 config BR2_ARM_CPU_ARMV4 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV5 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV6 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV7A bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV7M bool config BR2_ARM_CPU_ARMV8A bool + select BR2_ARCH_HAS_MMU_MANDATORY choice prompt "Target Architecture Variant" @@ -103,23 +108,19 @@ config BR2_arm920t select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm922t bool "arm922t" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_fa526 bool "fa526/626" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_strongarm bool "strongarm sa110/sa1100" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv5 cores" config BR2_arm926t @@ -128,18 +129,15 @@ config BR2_arm926t select BR2_ARM_CPU_MAYBE_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_iwmmxt bool "iwmmxt" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_xscale bool "xscale" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv6 cores" config BR2_arm1136j_s @@ -147,34 +145,29 @@ config BR2_arm1136j_s select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1136jf_s bool "arm1136jf-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1176jz_s bool "arm1176jz-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1176jzf_s bool "arm1176jzf-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm11mpcore bool "mpcore" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_MAYBE_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv7a cores" config BR2_cortex_a5 @@ -184,7 +177,6 @@ config BR2_cortex_a5 select BR2_ARM_CPU_MAYBE_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a7 bool "cortex-A7" select BR2_ARM_CPU_HAS_ARM @@ -192,7 +184,6 @@ config BR2_cortex_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a8 bool "cortex-A8" select BR2_ARM_CPU_HAS_ARM @@ -200,7 +191,6 @@ config BR2_cortex_a8 select BR2_ARM_CPU_HAS_VFPV3 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a9 bool "cortex-A9" select BR2_ARM_CPU_HAS_ARM @@ -208,7 +198,6 @@ config BR2_cortex_a9 select BR2_ARM_CPU_MAYBE_HAS_VFPV3 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a12 bool "cortex-A12" select BR2_ARM_CPU_HAS_ARM @@ -216,7 +205,6 @@ config BR2_cortex_a12 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a15 bool "cortex-A15" select BR2_ARM_CPU_HAS_ARM @@ -224,7 +212,6 @@ config BR2_cortex_a15 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a15_a7 bool "cortex-A15/A7 big.LITTLE" select BR2_ARM_CPU_HAS_ARM @@ -232,7 +219,6 @@ config BR2_cortex_a15_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 config BR2_cortex_a17 bool "cortex-A17" @@ -241,7 +227,6 @@ config BR2_cortex_a17 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_cortex_a17_a7 bool "cortex-A17/A7 big.LITTLE" @@ -250,14 +235,12 @@ config BR2_cortex_a17_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_pj4 bool "pj4" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV3 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv7m cores" config BR2_cortex_m3 @@ -286,7 +269,6 @@ config BR2_cortex_a32 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a35 bool "cortex-A35" @@ -295,7 +277,6 @@ config BR2_cortex_a35 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a53 bool "cortex-A53" @@ -304,7 +285,6 @@ config BR2_cortex_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a57 bool "cortex-A57" select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 @@ -312,7 +292,6 @@ config BR2_cortex_a57 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a57_a53 bool "cortex-A57/A53 big.LITTLE" select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 @@ -320,7 +299,6 @@ config BR2_cortex_a57_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a72 bool "cortex-A72" @@ -329,7 +307,6 @@ config BR2_cortex_a72 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_cortex_a72_a53 bool "cortex-A72/A53 big.LITTLE" @@ -338,7 +315,6 @@ config BR2_cortex_a72_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a73 bool "cortex-A73" @@ -347,7 +323,6 @@ config BR2_cortex_a73 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_cortex_a73_a35 bool "cortex-A73/A35 big.LITTLE" @@ -356,7 +331,6 @@ config BR2_cortex_a73_a35 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_cortex_a73_a53 bool "cortex-A73/A53 big.LITTLE" @@ -365,14 +339,12 @@ config BR2_cortex_a73_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_emag bool "emag" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_exynos_m1 bool "exynos-m1" @@ -381,63 +353,54 @@ config BR2_exynos_m1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_falkor bool "falkor" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_phecda bool "phecda" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_qdf24xx bool "qdf24xx" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_thunderx bool "thunderx (aka octeontx)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_thunderxt81 bool "thunderxt81 (aka octeontx81)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt83 bool "thunderxt83 (aka octeontx83)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt88 bool "thunderxt88" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt88p1 bool "thunderxt88p1" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_xgene1 bool "xgene1" @@ -446,7 +409,6 @@ config BR2_xgene1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 comment "armv8.1a cores" @@ -455,21 +417,18 @@ config BR2_thunderx2t99 depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderx2t99p1 bool "thunderx2t99p1" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_vulcan bool "vulcan" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 comment "armv8.2a cores" @@ -478,21 +437,18 @@ config BR2_cortex_a55 depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a75 bool "cortex-A75" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a75_a55 bool "cortex-A75/A55 big.LITTLE" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a76 bool "cortex-A76" @@ -501,7 +457,6 @@ config BR2_cortex_a76 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_cortex_a76_a55 bool "cortex-A76/A55 big.LITTLE" @@ -510,7 +465,6 @@ config BR2_cortex_a76_a55 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_neoverse_n1 bool "neoverse-N1 (aka ares)" @@ -519,14 +473,12 @@ config BR2_neoverse_n1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_tsv110 bool "tsv110" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 comment "armv8.4a cores" @@ -535,7 +487,6 @@ config BR2_saphira depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 endchoice -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:49 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:49 +0200 Subject: [Buildroot] [PATCH 5/5] arch/Config.in.sh: move BR2_ARCH_HAS_MMU_MANDATORY one level up In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220419213450.887728-5-thomas.petazzoni@bootlin.com> Now that all SuperH cores have a MMU, and must use it, move back the select BR2_ARCH_HAS_MMU_MANDATORY one level up. Signed-off-by: Thomas Petazzoni --- arch/Config.in | 1 + arch/Config.in.sh | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index d0d8854c2d..49e16fce38 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -226,6 +226,7 @@ config BR2_s390x config BR2_sh bool "SuperH" + select BR2_ARCH_HAS_MMU_MANDATORY help SuperH (or SH) is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by diff --git a/arch/Config.in.sh b/arch/Config.in.sh index f00954bb5e..d3acc8ccf8 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -7,16 +7,12 @@ choice config BR2_sh4 bool "sh4 (SH4 little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4eb bool "sh4eb (SH4 big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4a bool "sh4a (SH4A little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY endchoice config BR2_ARCH -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:48 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:48 +0200 Subject: [Buildroot] [PATCH 4/5] arch: drop support for SH2A In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220419213450.887728-4-thomas.petazzoni@bootlin.com> Until commit "arch/Config.in.sh: fixup MMU selection" in this series, SH2A could either be used with BR2_USE_MMU disabled or BR2_USE_MMU enabled. The later made absolutely no sense, since SH2A does not have a MMU: MMU support was introduced starting from SH3 according to https://en.wikipedia.org/wiki/SuperH#SH-3 Also, since commit 22d5501e03b019218b718b5de7ca74824a8eaf42 ("arch: tidy up binary formats config"), which was merged in Buildroot 2015.05, the architecture tuple used when BR2_sh2a=y and BR2_USE_MMU disabled is sh2a-buildroot-uclinux-uclibc, and this was already unsupported back in the days of Buildroot 2015.08 and binutils 2.24, causing the build to fail with: *** BFD does not support target sh2a-buildroot-uclinux-uclibc. just like it fails to build today with recent version of binutils. So, this has been broken since 2015.08, and nobody complained. SH2A is seldomly used, so it's time to kill. It is worth mentioning that there has been an attempt at resurrecting SH2 support around 2015 (see https://lwn.net/Articles/647636/) as part of the J2 core. This effort led to the addition of FDPIC support for SH2A in the musl C library (and therefore proper ELF binaries, with shared libraries), but that was never supported in Buildroot. Now that the J2 project is essentially dead, there is no reason to bother with this. Fixes: http://autobuild.buildroot.net/results/63d01d33ae30f86b63b9f42a9fea116f2f3e9005/ Signed-off-by: Thomas Petazzoni --- Config.in.legacy | 7 +++++++ arch/Config.in.sh | 5 +---- package/uclibc/Config.in | 1 - toolchain/toolchain-buildroot/Config.in | 2 +- utils/genrandconfig | 9 +++------ 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27f19f14e7..1578ffd016 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2022.05" +config BR2_sh2a + bool "sh2a architecture support removed" + select BR2_LEGACY + help + The SuperH 2A (SH2A) architecture was not maintained, and + broken, so its support was dropped. + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/arch/Config.in.sh b/arch/Config.in.sh index a012cbf491..f00954bb5e 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -5,8 +5,6 @@ choice help Specific CPU variant to use -config BR2_sh2a - bool "sh2a (SH2A big endian)" config BR2_sh4 bool "sh4 (SH4 little endian)" select BR2_ARCH_HAS_MMU_MANDATORY @@ -22,7 +20,6 @@ config BR2_sh4aeb endchoice config BR2_ARCH - default "sh2a" if BR2_sh2a default "sh4" if BR2_sh4 default "sh4eb" if BR2_sh4eb default "sh4a" if BR2_sh4a @@ -33,7 +30,7 @@ config BR2_NORMALIZED_ARCH config BR2_ENDIAN default "LITTLE" if BR2_sh4 || BR2_sh4a - default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb + default "BIG" if BR2_sh4eb || BR2_sh4aeb config BR2_READELF_ARCH_NAME default "Renesas / SuperH SH" diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in index 2091166b62..310414bebc 100644 --- a/package/uclibc/Config.in +++ b/package/uclibc/Config.in @@ -124,7 +124,6 @@ config BR2_UCLIBC_MIPS_NAN config BR2_UCLIBC_SH_TYPE string - default "SH2A" if BR2_sh2a default "SH4" if BR2_sh4 || BR2_sh4eb depends on BR2_UCLIBC_TARGET_ARCH = "sh" diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in index 4004c0edf8..be89f68ab5 100644 --- a/toolchain/toolchain-buildroot/Config.in +++ b/toolchain/toolchain-buildroot/Config.in @@ -31,7 +31,7 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC BR2_arm || BR2_armeb || \ BR2_i386 || BR2_m68k || BR2_microblaze || \ BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ - BR2_or1k || BR2_powerpc || BR2_RISCV_64 || BR2_sh2a || \ + BR2_or1k || BR2_powerpc || BR2_RISCV_64 || \ BR2_sh4 || BR2_sh4eb || BR2_sparc || BR2_xtensa || \ BR2_x86_64 select BR2_TOOLCHAIN_USES_UCLIBC diff --git a/utils/genrandconfig b/utils/genrandconfig index 59fe34e58d..adefb8f502 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -237,12 +237,9 @@ def fixup_config(sysinfo, configfile): if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: return False - # libffi not available on sh2a and ARMv7-M, but propagating libffi - # arch dependencies in Buildroot is really too much work, so we - # handle this here. - if 'BR2_sh2a=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False + # libffi not available on ARMv7-M, but propagating libffi arch + # dependencies in Buildroot is really too much work, so we handle + # this here. if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ 'BR2_PACKAGE_LIBFFI=y\n' in configlines: return False -- 2.35.1 From fperrad at gmail.com Wed Apr 20 07:25:30 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:25:30 +0200 Subject: [Buildroot] [PATCH] package/enchant: bump to version 2.3.3 Message-ID: <20220420072530.3422018-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/enchant/enchant.hash | 2 +- package/enchant/enchant.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/enchant/enchant.hash b/package/enchant/enchant.hash index 9df5316aa..36ac4e07b 100644 --- a/package/enchant/enchant.hash +++ b/package/enchant/enchant.hash @@ -1,3 +1,3 @@ # locally computed -sha256 ce9ba47fd4d34031bd69445598a698a6611602b2b0e91d705e91a6f5099ead6e enchant-2.3.2.tar.gz +sha256 3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891 enchant-2.3.3.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/enchant/enchant.mk b/package/enchant/enchant.mk index e00fcb25e..ee6f06195 100644 --- a/package/enchant/enchant.mk +++ b/package/enchant/enchant.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENCHANT_VERSION = 2.3.2 +ENCHANT_VERSION = 2.3.3 ENCHANT_SITE = \ https://github.com/AbiWord/enchant/releases/download/v$(ENCHANT_VERSION) ENCHANT_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:25:48 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:25:48 +0200 Subject: [Buildroot] [PATCH] package/janet: bump to version 1.21.2 Message-ID: <20220420072548.3422167-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/janet/janet.hash | 2 +- package/janet/janet.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/janet/janet.hash b/package/janet/janet.hash index 50e6b1fef..aff8e95bb 100644 --- a/package/janet/janet.hash +++ b/package/janet/janet.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 02ff892f4bfc060a8a37f4a5c3e659bf34ba5f1f1c5eb07d60dc2642c5cf0476 janet-1.19.2.tar.gz +sha256 52db8d18f93351256d0731810e8bea95516db8142f51eeb31664f7884bf63088 janet-1.21.2.tar.gz # Locally calculated sha256 e2d2ae8360d95386af751ac7d1a3da36ea8ceb230e5f0eba7eb762547b1c58c9 LICENSE diff --git a/package/janet/janet.mk b/package/janet/janet.mk index 5b6a9a182..24a0f8603 100644 --- a/package/janet/janet.mk +++ b/package/janet/janet.mk @@ -4,7 +4,7 @@ # ################################################################################ -JANET_VERSION = 1.19.2 +JANET_VERSION = 1.21.2 JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION)) JANET_LICENSE = MIT JANET_LICENSE_FILES = LICENSE -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:26:09 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:26:09 +0200 Subject: [Buildroot] [PATCH] package/libarchive: bump to version 3.6.1 Message-ID: <20220420072609.3422227-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libarchive/libarchive.hash | 2 +- package/libarchive/libarchive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libarchive/libarchive.hash b/package/libarchive/libarchive.hash index 5dd8e5c16..ca580b497 100644 --- a/package/libarchive/libarchive.hash +++ b/package/libarchive/libarchive.hash @@ -1,4 +1,4 @@ # From https://www.libarchive.de/downloads/sha256sums -sha256 5cac725dd4be31c4a10b65d30f29dc957ea29ef3d758df6e46e8ae90a996a19a libarchive-3.5.3.tar.xz +sha256 5a411aceb978f43e626f0c2d1812ddd8807b645ed892453acabd532376c148e6 libarchive-3.6.1.tar.xz # Locally computed: sha256 b2cdf763345de2de34cebf54394df3c61a105c3b71288603c251f2fa638200ba COPYING diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index cf16c27e6..865f605e2 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBARCHIVE_VERSION = 3.5.3 +LIBARCHIVE_VERSION = 3.6.1 LIBARCHIVE_SOURCE = libarchive-$(LIBARCHIVE_VERSION).tar.xz LIBARCHIVE_SITE = https://www.libarchive.de/downloads LIBARCHIVE_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:26:24 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:26:24 +0200 Subject: [Buildroot] [PATCH] package/luajit: bump to version f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 Message-ID: <20220420072624.3422282-1-francois.perrad@gadz.org> diff COPYRIGHT: -Copyright (C) 2005-2021 Mike Pall. All rights reserved. +Copyright (C) 2005-2022 Mike Pall. All rights reserved. Signed-off-by: Francois Perrad --- package/luajit/luajit.hash | 4 ++-- package/luajit/luajit.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/luajit/luajit.hash b/package/luajit/luajit.hash index d92eefb39..cfc00e852 100644 --- a/package/luajit/luajit.hash +++ b/package/luajit/luajit.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 7ea92e2414b6405c7fb3974ab092707c400a5496e8d4936174b5bd3aa6e94477 luajit-a91d0d9d3bba1a936669cfac3244509a0f2ac0e3.tar.gz +sha256 e3f9c04e82d5c776335dfb4e53ec1532914ab010b60bffbb0176a8390f100666 luajit-f2b37f51f69ba7e9f8defd05e5aca648121f0fe6.tar.gz # Locally calculated -sha256 43fc251179d900f9948e51dd3cc93733d1219f2db060faaa0c8100ad054f54d8 COPYRIGHT +sha256 52fc5b15ac968ed81aabb4c1e23ab3bce50f57a5764e9cdca86b463a11072921 COPYRIGHT diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index cca806309..6155cbba8 100644 --- a/package/luajit/luajit.mk +++ b/package/luajit/luajit.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUAJIT_VERSION = a91d0d9d3bba1a936669cfac3244509a0f2ac0e3 +LUAJIT_VERSION = f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 LUAJIT_SITE = $(call github,LuaJIT,LuaJIT,$(LUAJIT_VERSION)) LUAJIT_LICENSE = MIT LUAJIT_LICENSE_FILES = COPYRIGHT -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:26:41 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:26:41 +0200 Subject: [Buildroot] [PATCH] package/pango: bump to version 1.50.7 Message-ID: <20220420072641.3422337-1-francois.perrad@gadz.org> remove merged patch Signed-off-by: Francois Perrad --- ...-utils-viewer-cairo-c-fix-empty-body.patch | 40 ------------------- package/pango/pango.hash | 4 +- package/pango/pango.mk | 2 +- 3 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch deleted file mode 100644 index 4b7b5f9b1..000000000 --- a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 29 Mar 2022 21:39:03 +0000 -Subject: [PATCH] utils/viewer-cairo.c: fix empty-body - -Fix the following build failure raised -since version 1.50.5 and -https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: - -../utils/viewer-cairo.c: In function 'cairo_vector_view_create': -../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] - ; - ^ - -Fixes: - - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] ---- - utils/viewer-cairo.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c -index ca98c1cd..f15b3fb9 100644 ---- a/utils/viewer-cairo.c -+++ b/utils/viewer-cairo.c -@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) - return NULL; - - if (0) -- ; -+ {} - #ifdef CAIRO_HAS_SVG_SURFACE - else if (0 == g_ascii_strcasecmp (extension, "svg")) - constructor = cairo_svg_surface_create; --- -GitLab - diff --git a/package/pango/pango.hash b/package/pango/pango.hash index fecf36853..7864df7a2 100644 --- a/package/pango/pango.hash +++ b/package/pango/pango.hash @@ -1,5 +1,5 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum -sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.7.sha256sum +sha256 0477f369a3d4c695df7299a6989dc004756a7f4de27eecac405c6790b7e3ad33 pango-1.50.7.tar.xz # Locally computed sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/package/pango/pango.mk b/package/pango/pango.mk index c264e7674..c1c7ceeed 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -5,7 +5,7 @@ ################################################################################ PANGO_VERSION_MAJOR = 1.50 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).7 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:26:55 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:26:55 +0200 Subject: [Buildroot] [PATCH] package/pcre2: bump to version 10.40 Message-ID: <20220420072655.3422392-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/pcre2/pcre2.hash | 4 ++-- package/pcre2/pcre2.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash index 3e6299f80..e4f798074 100644 --- a/package/pcre2/pcre2.hash +++ b/package/pcre2/pcre2.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature: -# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.bz2.sig -sha256 0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440 pcre2-10.39.tar.bz2 +# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2.sig +sha256 14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 pcre2-10.40.tar.bz2 # Locally computed sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE diff --git a/package/pcre2/pcre2.mk b/package/pcre2/pcre2.mk index adcfaf1ca..043f6d866 100644 --- a/package/pcre2/pcre2.mk +++ b/package/pcre2/pcre2.mk @@ -4,7 +4,7 @@ # ################################################################################ -PCRE2_VERSION = 10.39 +PCRE2_VERSION = 10.40 PCRE2_SITE = https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$(PCRE2_VERSION) PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2 PCRE2_LICENSE = BSD-3-Clause -- 2.32.0 From yegorslists at googlemail.com Wed Apr 20 08:17:09 2022 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Wed, 20 Apr 2022 10:17:09 +0200 Subject: [Buildroot] config.in: full stop at the end of the help text Message-ID: Hi all, should a full stop at the end of a help text in the Config.in [1] be a requirement? Which term is more preferable: "full stop" or "period"? [1] https://nightly.buildroot.org/manual.html#writing-rules-config-in Regards, Yegor From fontaine.fabrice at gmail.com Wed Apr 20 08:19:39 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 20 Apr 2022 10:19:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/wolfssl: all features needs dynamic library Message-ID: <20220420081939.295448-1-fontaine.fabrice@gmail.com> Add dynamic library dependency to BR2_PACKAGE_WOLFSSL_ALL to fix the following static build failure with ibrdtnd, a "wolfssl all"-enabled libcurl and openssl: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/opt/ext-toolchain/bin/../lib/gcc/sh4aeb-buildroot-linux-musl/11.2.0/../../../../sh4aeb-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/bin/../sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libssl.a(ssl_ciph.o): in function `SSL_COMP_get_compression_methods': ssl_ciph.c:(.text+0x25ac): multiple definition of `SSL_COMP_get_compression_methods'; /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libwolfssl.a(libwolfssl_la-ssl.o):ssl.c:(.text+0x1ca60): first defined here Fixes: - http://autobuild.buildroot.org/results/be1d327ed4c91a6280a88906a399dfe146f0b64e Signed-off-by: Fabrice Fontaine --- package/libcurl/Config.in | 5 +++++ package/libuhttpd/Config.in | 3 ++- package/libuhttpd/libuhttpd.mk | 2 +- package/wolfssl/Config.in | 4 ++++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index f2ddce6e81..84ad18211a 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -78,8 +78,13 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS config BR2_PACKAGE_LIBCURL_WOLFSSL bool "WolfSSL" depends on BR2_PACKAGE_WOLFSSL + depends on !BR2_STATIC_LIBS # wolfssl-all select BR2_PACKAGE_WOLFSSL_ALL +comment "WolfSSL needs a toolchain w/ dynamic library" + depends on BR2_PACKAGE_WOLFSSL + depends on BR2_STATIC_LIBS + endchoice comment "A TLS library is needed for SSL/TLS support" diff --git a/package/libuhttpd/Config.in b/package/libuhttpd/Config.in index 97fc984ea0..a552a88f0c 100644 --- a/package/libuhttpd/Config.in +++ b/package/libuhttpd/Config.in @@ -3,7 +3,8 @@ config BR2_PACKAGE_LIBUHTTPD depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 select BR2_PACKAGE_LIBEV - select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL + select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL && \ + !BR2_STATIC_LIBS help A lightweight and fully asynchronous HTTP server library based on libev diff --git a/package/libuhttpd/libuhttpd.mk b/package/libuhttpd/libuhttpd.mk index b8cf935d01..0d5306c6dd 100644 --- a/package/libuhttpd/libuhttpd.mk +++ b/package/libuhttpd/libuhttpd.mk @@ -18,7 +18,7 @@ LIBUHTTPD_CONF_OPTS += \ -DUSE_MBEDTLS=OFF \ -DUSE_OPENSSL=ON \ -DUSE_WOLFSSL=OFF -else ifeq ($(BR2_PACKAGE_WOLFSSL),y) +else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y) LIBUHTTPD_DEPENDENCIES += wolfssl LIBUHTTPD_CONF_OPTS += \ -DSSL_SUPPORT=ON \ diff --git a/package/wolfssl/Config.in b/package/wolfssl/Config.in index 3c6d68f592..3a97125e8d 100644 --- a/package/wolfssl/Config.in +++ b/package/wolfssl/Config.in @@ -13,9 +13,13 @@ if BR2_PACKAGE_WOLFSSL config BR2_PACKAGE_WOLFSSL_ALL bool "enable all features, except SSLv3" + depends on !BR2_STATIC_LIBS help Enable all wolfSSL features, except SSL version 3.0 support. +comment "all features, except SSLv3 needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_WOLFSSL_SSLV3 bool "enable SSLv3" help -- 2.35.1 From thomas.perrot at bootlin.com Wed Apr 20 08:39:16 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Wed, 20 Apr 2022 10:39:16 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: add new package In-Reply-To: <20220419142635.008ac004@windsurf> References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-3-thomas.perrot@bootlin.com> <20220419142635.008ac004@windsurf> Message-ID: Hello Thomas, On Tue, 2022-04-19 at 14:26 +0200, Thomas Petazzoni via buildroot wrote: > Hello Thomas, > > On Tue, 19 Apr 2022 11:21:51 +0200 > Thomas Perrot wrote: > > > ?N:?????Thomas Perrot > > ?F:?????package/byacc > > +F:?????package/imx-cst > > Trailing slash needed. > > > diff --git a/package/imx-cst/Config.in.host b/package/imx- > > cst/Config.in.host > > new file mode 100644 > > index 000000000000..84cb825e59cf > > --- /dev/null > > +++ b/package/imx-cst/Config.in.host > > @@ -0,0 +1,8 @@ > > +config BR2_PACKAGE_HOST_IMX_CST > > +???????bool "host imx-cst" > > +???????help > > +???????? I.MX code signing tool provides software code signing > > +???????? support designed that integrate the HABv4 and AHAB > > +???????? library. > > + > > +???????? > > https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL > > When I go to this page, I need to agree to a "SOFTWARE LICENSE > AGREEMENT i.MX CODE SIGNING TOOL", but then your .mk is pointing to a > non-NXP Git repository, and you state the license is BSD-3-Clause. > > > +# debian/3.3.1+dfsg-2 > > +IMX_CST_SITE = > > https://gitlab.apertis.org/pkg/imx-code-signing-tool.git > > What is this location? Just someone who put the NXP code online? Or a > separate implementation? NXP code has been put by Debian maintainers. > > > +IMX_CST_SITE_METHOD = git > > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > > +IMX_CST_LICENSE = BSD-3-Clause > > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 > > There are two other license files in this Git repo, the hidapi > license > and the OpenSSL license. You are confident they are not relevant? > Would > be worth explaining that. I think it is correct because from source the file "Software_Content_Register_CST.txt" indicates that the outgoing license is BSD-3-Clause, and Debian also use this BSD license. Kind regards, Thomas Perrot > > > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > > + > > +define HOST_IMX_CST_BUILD_CMDS > > +???????$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > > +???????????????OSTYPE=linux64 \ > > Would be useful to explain why linux64 is fine even on 32-bit host > platforms. Actually, when I look at > https://gitlab.apertis.org/pkg/imx-code-signing-tool/-/blob/apertis/v2023dev2/code/cst/code/obj.linux64/Makefile > I believe that using OSTYPE=linux64 on 32-bit host machines will not > work, as it adds -m64 to the compiler flags. > > > +???????????????ENCRYPTION=yes \ > > +???????????????COPTIONS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > > +???????????????LDFLAGS="$(HOST_LDFLAGS) -lcrypto" \ > > +???????????????PWD=$(@D)/code/cst \ > > +???????????????CC="$(CC) -I../../code/common/hdr \ > > +???????????????????????-I../../code/back_end/hdr \ > > +???????????????????????-I../../code/srktool/hdr \ > > +???????????????????????-I../../code/front_end/hdr \ > > +???????????????????????-I../../code/convlb/hdr" \ > > This looks strange. Flags are normally passed using CFLAGS, and $(CC) > in Buildroot doesn't exist, it's $(HOSTCC) that should be used. > > Also, I think the list of header paths is properly set with: > > CINCLUDES := $(SUBSYS:%=-I$(CST_CODE_PATH)/%/hdr) > > but it gets overridden by the fact that you override CFLAGS. > > I believe there's a better way, let me have a look. > > > +???????????????LD=$(CC) \ > > $(CC) doesn't exist, it should be $(HOSTCC). > > > +???????????????-C $(@D)/code/cst \ > > +???????????????build > > Best regards, > > Thomas -- Thomas Perrot, Bootlin Embedded Linux and kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: This is a digitally signed message part URL: From thomas.perrot at bootlin.com Wed Apr 20 08:39:22 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Wed, 20 Apr 2022 10:39:22 +0200 Subject: [Buildroot] [PATCH v2 1/2] package/byacc: new package Message-ID: <20220420083923.3875405-1-thomas.perrot@bootlin.com> This package provides a Berkeley LALR Yacc parser generator that has been use by i.MX Code Signing tool. Signed-off-by: Thomas Perrot --- Changes v2: - Remove Config.in.host - Add a trailing slash - Add a comment about HOST_BYACC_CONF_OPTS DEVELOPERS | 3 +++ package/byacc/byacc.hash | 3 +++ package/byacc/byacc.mk | 16 ++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/byacc/byacc.hash create mode 100644 package/byacc/byacc.mk diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58fec..6e49334dcc42 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2765,6 +2765,9 @@ F: package/frotz/ F: package/kvm-unit-tests/ F: package/xorcurses/ +N: Thomas Perrot +F: package/byacc/ + N: Thomas Petazzoni F: arch/Config.in.arm F: board/beaglev/ diff --git a/package/byacc/byacc.hash b/package/byacc/byacc.hash new file mode 100644 index 000000000000..d2ad441df39f --- /dev/null +++ b/package/byacc/byacc.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c byacc-20220128.tgz +sha256 654a231fe9cd4d36e580214962fa777a1df0771d6889cfc74d19a3d414f14711 LICENSE diff --git a/package/byacc/byacc.mk b/package/byacc/byacc.mk new file mode 100644 index 000000000000..648dc9a040ca --- /dev/null +++ b/package/byacc/byacc.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# byacc +# +################################################################################ + +BYACC_SITE = https://invisible-mirror.net/archives/byacc +BYACC_VERSION = 20220128 +BYACC_SOURCE = byacc-$(BYACC_VERSION).tgz +BYACC_LICENSE = Public Domain +BYACC_LICENSE_FILES = LICENSE + +# To name byacc instead of yacc the binary built. +HOST_BYACC_CONF_OPTS = --program-transform-name='s,^,b,' + +$(eval $(host-autotools-package)) -- 2.35.1 From thomas.perrot at bootlin.com Wed Apr 20 08:39:23 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Wed, 20 Apr 2022 10:39:23 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <20220420083923.3875405-1-thomas.perrot@bootlin.com> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> Message-ID: <20220420083923.3875405-2-thomas.perrot@bootlin.com> This package provides i.MX Code Signing Tools uses to sign i.MX bootloader to enable secure boot (HABv4 and AHAB). Signed-off-by: Thomas Perrot --- Changes v2: - - Add a trailing slash - Preserve CFLAGS and LDFLAGS DEVELOPERS | 1 + package/Config.in.host | 1 + package/imx-cst/Config.in.host | 8 ++++++ package/imx-cst/imx-cst.hash | 3 +++ package/imx-cst/imx-cst.mk | 49 ++++++++++++++++++++++++++++++++++ 5 files changed, 62 insertions(+) create mode 100644 package/imx-cst/Config.in.host create mode 100644 package/imx-cst/imx-cst.hash create mode 100644 package/imx-cst/imx-cst.mk diff --git a/DEVELOPERS b/DEVELOPERS index 6e49334dcc42..86cb04e54e5d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2767,6 +2767,7 @@ F: package/xorcurses/ N: Thomas Perrot F: package/byacc/ +F: package/imx-cst/ N: Thomas Petazzoni F: arch/Config.in.arm diff --git a/package/Config.in.host b/package/Config.in.host index cd1c34b5a3d9..282594b40b8d 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -40,6 +40,7 @@ menu "Host utilities" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" + source "package/imx-cst/Config.in.host" source "package/imx-mkimage/Config.in.host" source "package/imx-usb-loader/Config.in.host" source "package/jh71xx-tools/Config.in.host" diff --git a/package/imx-cst/Config.in.host b/package/imx-cst/Config.in.host new file mode 100644 index 000000000000..84cb825e59cf --- /dev/null +++ b/package/imx-cst/Config.in.host @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HOST_IMX_CST + bool "host imx-cst" + help + I.MX code signing tool provides software code signing + support designed that integrate the HABv4 and AHAB + library. + + https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL diff --git a/package/imx-cst/imx-cst.hash b/package/imx-cst/imx-cst.hash new file mode 100644 index 000000000000..9c27bfe82038 --- /dev/null +++ b/package/imx-cst/imx-cst.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2bcc03c7cedba58f7207a72a28e75cfe78007988d68c1095c793cce991c2936e imx-cst-e2c687a856e6670e753147aacef42d0a3c07891a-br1.tar.gz +sha256 5dee6f54c636a97b15d7e9dfc8075248c36764b3819828cbc94cbd17c1755fb9 LICENSE.bsd3 diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx-cst.mk new file mode 100644 index 000000000000..c91dfb602cbf --- /dev/null +++ b/package/imx-cst/imx-cst.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# imx-cst +# +################################################################################ + +# debian/3.3.1+dfsg-2 +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git +IMX_CST_SITE_METHOD = git +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a +IMX_CST_LICENSE = BSD-3-Clause +IMX_CST_LICENSE_FILES = LICENSE.bsd3 + +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl + +ifneq ($(filter %64,$(HOSTARCH)),) +HOST_IMX_CST_OSTYPE = linux64 +else +HOST_IMX_CST_OSTYPE = linux32 +endif + +# We don't use HOST_CONFIGURE_OPTS when building cst, because we need +# to preserve the CFLAGS/LDFLAGS used by their Makefile. +define HOST_IMX_CST_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) \ + OSTYPE=$(HOST_IMX_CST_OSTYPE) \ + ENCRYPTION=yes \ + AR="$(HOSTAR)" \ + CC="$(HOSTCC)" \ + LD="$(HOSTCC)" \ + OBJCOPY="$(HOSTOBJCOPY)" \ + RANLIB="$(HOSTRANLIB)" \ + EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ + EXTRALDFLAGS="$(HOST_LDFLAGS)" \ + PWD=$(@D)/code/cst \ + -C $(@D)/code/cst \ + build + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ + COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ + -C $(@D)/code/hab_csf_parser +endef + +define HOST_IMX_CST_INSTALL_CMDS + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst $(HOST_DIR)/bin/cst + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool + $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser +endef + +$(eval $(host-generic-package)) -- 2.35.1 From havran.jan at email.cz Wed Apr 20 09:13:45 2022 From: havran.jan at email.cz (Jan Havran) Date: Wed, 20 Apr 2022 11:13:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind In-Reply-To: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> References: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> Message-ID: V?Tue, Apr 19, 2022 at 06:11:30PM +0200,?Fabrice Fontaine napsal(a): > Untar internal bind so libtool patches will be applied on bind's > libtool. This will fix: > - installation of some libraries such as libisccfg. Indeed, if libtool > is not patched those libraries will be "relinked" and so not > installed. > - build failures with riscv and or1k: > > Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized > > Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized > > Fixes: > - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 > - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e > > Signed-off-by: Fabrice Fontaine With this patch I no longer get following error and dhcp works for me: dhclient: error while loading shared libraries: libisccfg.so.163: cannot open shared object file: No such file or directory Tested on ARM/PineCube. Tested-by: Jan Havran > --- > package/dhcp/dhcp.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index e6f4c419f4..f815c6c802 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc > # internal bind does not support parallel builds. > DHCP_MAKE = $(MAKE1) > > +# untar internal bind so libtool patches will be applied on bind's libtool > +define DHCP_UNTAR_INTERNAL_BIND > + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ > +endef > + > +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND > + > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > cp $(@D)/configure.ac+lt $(@D)/configure.ac > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From nunojpg at gmail.com Wed Apr 20 11:24:30 2022 From: nunojpg at gmail.com (=?UTF-8?Q?Nuno_Gon=C3=A7alves?=) Date: Wed, 20 Apr 2022 12:24:30 +0100 Subject: [Buildroot] [PATCH] package/gcc: don't install libstdc++.so.a.b.c-gdb.py Message-ID: libstdc++.so.a.b.c-gdb.py is not required and in any case it is currently using host paths and so not functional. Signed-off-by: Nuno Gon?alves --- package/gcc/gcc-final/gcc-final.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index aa883beb7b..5018f3a6c1 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -199,6 +199,7 @@ endef ifeq ($(BR2_STATIC_LIBS),) define HOST_GCC_FINAL_INSTALL_SHARED_LIBS + rm -f $(HOST_GCC_FINAL_GCC_LIB_DIR)/libstdc++.so*-gdb.py ; \ for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \ cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/$${i}.so* \ $(STAGING_DIR)/usr/lib/ ; \ -- 2.32.0 From thomas.petazzoni at bootlin.com Wed Apr 20 11:25:47 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 20 Apr 2022 13:25:47 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: add new package In-Reply-To: References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-3-thomas.perrot@bootlin.com> <20220419142635.008ac004@windsurf> Message-ID: <20220420132541.7aad1182@windsurf> Hello, On Wed, 20 Apr 2022 10:39:16 +0200 Thomas Perrot wrote: > > What is this location? Just someone who put the NXP code online? Or a > > separate implementation? > > NXP code has been put by Debian maintainers. OK. > I think it is correct because from source the file > "Software_Content_Register_CST.txt" indicates that the outgoing license > is BSD-3-Clause, and Debian also use this BSD license. Indeed, it seems OK. Maybe it would have been useful to have those details somewhere (in the commit log perhaps)? But it's probably not worth sending another iteration just for this. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Wed Apr 20 12:12:02 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 20 Apr 2022 14:12:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop tagged layout Message-ID: <20220420121202.1074548-1-fontaine.fabrice@gmail.com> Drop boost tagged layout which raises the following build failure with botan or libcpprestsdk: /nvmedata/autobuild/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: cannot find -lboost_system CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost (missing: random system thread filesystem chrono atomic date_time regex) (found version "1.78.0") While at it: - drop BR2_PACKAGE_BOOST_LAYOUT and BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - move --layout=system, --ignore-site-config, --user-config=$(@D)/user-config.jam, -j$(PARALLEL_JOBS), -q and --prefix=$(HOST_DIR) to BOOST_OPTS and HOST_BOOST_OPTS - drop parentheses to avoid spawning a useless sub-shell - use b2 everywhere instead of mixing b2 and tools/build/src/engine/bjam - drop uneeded 'echo "" >> $(@D)/user-config.jam' Fixes: - http://autobuild.buildroot.org/results/f237c9345faf8c28f3c73f7d8acb49271fe61780 - http://autobuild.buildroot.org/results/a73225e40fa29bc3b24f36a86719e80c8e469d1f Signed-off-by: Fabrice Fontaine --- Config.in.legacy | 13 ++++++++++ package/boost/Config.in | 27 --------------------- package/boost/boost.mk | 53 ++++++++++++++--------------------------- 3 files changed, 31 insertions(+), 62 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27f19f14e7..a4811831f3 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,19 @@ endif comment "Legacy options removed in 2022.05" +config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM + bool "boost system layout removed" + select BR2_LEGACY + help + Boost system layout is now the only supported layout. + +config BR2_PACKAGE_BOOST_LAYOUT_TAGGED + bool "boost tagged layout removed" + select BR2_LEGACY + help + Boost tagged layout isn't handled by some packages (e.g. botan + or libcpprestsdk). + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/package/boost/Config.in b/package/boost/Config.in index 9e96be7878..b99b01f22e 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -16,33 +16,6 @@ config BR2_PACKAGE_BOOST if BR2_PACKAGE_BOOST -choice - prompt "Layout" - default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - help - Selects the layout of Boost binary names - -config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - bool "system" - help - Boost binary names do not include the Boost version number - or the name and version number of the compiler. - -config BR2_PACKAGE_BOOST_LAYOUT_TAGGED - bool "tagged" - help - Boost binary names include the encoded build properties such - as variant and threading, but do not include compiler name - and version, or Boost version. This option is useful if you - build several variants of Boost, using the same compiler. - -endchoice - -config BR2_PACKAGE_BOOST_LAYOUT - string - default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED - config BR2_PACKAGE_BOOST_ATOMIC bool "boost-atomic" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 032ba5c820..346d309777 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -76,7 +76,9 @@ BOOST_DEPENDENCIES += python3 endif HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \ - variant=release link=shared runtime-link=shared + variant=release link=shared runtime-link=shared -j$(PARALLEL_JOBS) -q \ + --ignore-site-config --layout=system --prefix=$(HOST_DIR) \ + --user-config=$(@D)/user-config.jam ifeq ($(BR2_MIPS_OABI32),y) BOOST_ABI = o32 @@ -90,7 +92,12 @@ BOOST_OPTS += --no-cmake-config \ toolset=gcc \ threading=multi \ abi=$(BOOST_ABI) \ - variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) + variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) \ + -j$(PARALLEL_JOBS) \ + -q \ + --ignore-site-config \ + --layout=system \ + --user-config=$(@D)/user-config.jam ifeq ($(BR2_sparc64),y) BOOST_OPTS += architecture=sparc instruction-set=ultrasparc @@ -119,43 +126,29 @@ endif BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS))) BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) -BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) # how verbose should the build be? BOOST_OPTS += $(if $(QUIET),-d,-d+1) HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) define BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) + cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS) echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam sed -i "s/: -O.* ;/: $(TARGET_OPTIMIZATION) ;/" $(@D)/tools/build/src/tools/gcc.jam endef define BOOST_BUILD_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT)) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) endef define BOOST_INSTALL_TARGET_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(TARGET_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ + --prefix=$(TARGET_DIR)/usr install endef define BOOST_INSTALL_STAGING_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(STAGING_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ + --prefix=$(STAGING_DIR)/usr install endef # These hooks will help us to detect missing select in Config.in @@ -177,26 +170,16 @@ endef BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES define HOST_BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) + cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS) echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam endef define HOST_BOOST_BUILD_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --ignore-site-config \ - --prefix=$(HOST_DIR) ) + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) endef define HOST_BOOST_INSTALL_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --prefix=$(HOST_DIR) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) install endef $(eval $(generic-package)) -- 2.35.1 From nunojpg at gmail.com Wed Apr 20 12:24:45 2022 From: nunojpg at gmail.com (=?UTF-8?Q?Nuno_Gon=C3=A7alves?=) Date: Wed, 20 Apr 2022 13:24:45 +0100 Subject: [Buildroot] [PATCH] package/google-breakpad: bump to latest Message-ID: Fixes compatibility with GCC-11. Doesn't require any local patches. linux-syscall-support bumped to the verion in DEPS. Signed-off-by: Nuno Gon?alves --- .../0001-add-missing-asm-ptrace-include.patch | 31 --- ...g-references-to-struct-ucontext-with.patch | 257 ------------------ ...-handler-exception_handler.cc-rename.patch | 59 ---- .../0004-Fix-for-non-constant-SIGSTKSZ.patch | 34 --- package/google-breakpad/google-breakpad.hash | 2 +- package/google-breakpad/google-breakpad.mk | 2 +- .../linux-syscall-support.hash | 2 +- .../linux-syscall-support.mk | 2 +- 8 files changed, 4 insertions(+), 385 deletions(-) delete mode 100644 package/google-breakpad/0001-add-missing-asm-ptrace-include.patch delete mode 100644 package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch delete mode 100644 package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch delete mode 100644 package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch diff --git a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch b/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch deleted file mode 100644 index 281c7a042a..0000000000 --- a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch +++ /dev/null @@ -1,31 +0,0 @@ -Include to get necessary definitions on AArch64 - -In glibc commit -https://sourceware.org/git/?p=glibc.git;a=commit;h=7d05a8168b45c0580e1f9a79c2dd26c8f0d31fca, -including from on AArch64 has been -removed. So the Google Breakpad code, which used to build fine on -glibc 2.18 (CodeSourcery toolchain for example), no longer builds with -glibc 2.19 (Linaro toolchain for example). - -To fix this, this patch adds the missing include (for -AArch64 only, to be conservative). - -This patch has not been submitted upstream, since more recent versions -of Google Breakpad have completely changed this part of the code. - -Signed-off-by: Thomas Petazzoni - -Index: b/src/client/linux/minidump_writer/linux_dumper.h -=================================================================== ---- a/src/client/linux/minidump_writer/linux_dumper.h -+++ b/src/client/linux/minidump_writer/linux_dumper.h -@@ -43,6 +43,9 @@ - #include - #include - #include -+#if defined(__aarch64__) -+#include -+#endif - - #include "common/memory.h" - #include "google_breakpad/common/minidump_format.h" diff --git a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch b/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch deleted file mode 100644 index e02ae268b9..0000000000 --- a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch +++ /dev/null @@ -1,257 +0,0 @@ -From 7975a962e1d6dbad5a46792a54e647abd7caf5f1 Mon Sep 17 00:00:00 2001 -From: Mark Mentovai -Date: Tue, 19 Sep 2017 22:48:30 -0400 -Subject: [PATCH] Replace remaining references to 'struct ucontext' with - 'ucontext_t' - -This relands -https://chromium.googlesource.com/breakpad/breakpad/src/+/e3035bc406cee8a4d765e59ad46eb828705f17f4, -which was accidentally committed to breakpad/breakpad/src, the read-only -mirror of src in breakpad/breakpad. (Well, it should have been -read-only.) See https://crbug.com/766164. - -This fixes issues with glibc-2.26. - -See https://bugs.gentoo.org/show_bug.cgi?id=628782 , -https://sourceware.org/git/?p=glibc.git;h=251287734e89a52da3db682a8241eb6bccc050c9 , and -https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html for context. -Change-Id: Id66f474d636dd2afa450bab925c5514a800fdd6f -Reviewed-on: https://chromium-review.googlesource.com/674304 -Reviewed-by: Mark Mentovai - -(cherry picked from commit bddcc58860f522a0d4cbaa7e9d04058caee0db9d) -[Romain: backport from upstream] -Signed-off-by: Romain Naour ---- - .../linux/dump_writer_common/ucontext_reader.cc | 32 +++++++++++----------- - .../linux/dump_writer_common/ucontext_reader.h | 14 +++++----- - src/client/linux/handler/exception_handler.cc | 10 +++---- - src/client/linux/handler/exception_handler.h | 6 ++-- - .../linux/microdump_writer/microdump_writer.cc | 2 +- - .../linux/minidump_writer/minidump_writer.cc | 2 +- - 6 files changed, 33 insertions(+), 33 deletions(-) - -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.cc b/src/client/linux/dump_writer_common/ucontext_reader.cc -index c80724d..052ce37 100644 ---- a/src/client/linux/dump_writer_common/ucontext_reader.cc -+++ b/src/client/linux/dump_writer_common/ucontext_reader.cc -@@ -36,19 +36,19 @@ namespace google_breakpad { - - // Minidump defines register structures which are different from the raw - // structures which we get from the kernel. These are platform specific --// functions to juggle the ucontext and user structures into minidump format. -+// functions to juggle the ucontext_t and user structures into minidump format. - - #if defined(__i386__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_ESP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_EIP]; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fp) { - const greg_t* regs = uc->uc_mcontext.gregs; - -@@ -88,15 +88,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__x86_64) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_RSP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_RIP]; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fpregs) { - const greg_t* regs = uc->uc_mcontext.gregs; - -@@ -145,15 +145,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__ARM_EABI__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.arm_sp; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.arm_pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) { - out->context_flags = MD_CONTEXT_ARM_FULL; - - out->iregs[0] = uc->uc_mcontext.arm_r0; -@@ -184,15 +184,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { - - #elif defined(__aarch64__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.sp; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct fpsimd_context* fpregs) { - out->context_flags = MD_CONTEXT_ARM64_FULL; - -@@ -210,15 +210,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__mips__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) { - #if _MIPS_SIM == _ABI64 - out->context_flags = MD_CONTEXT_MIPS64_FULL; - #elif _MIPS_SIM == _ABIO32 -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.h b/src/client/linux/dump_writer_common/ucontext_reader.h -index b6e77b4..2de80b7 100644 ---- a/src/client/linux/dump_writer_common/ucontext_reader.h -+++ b/src/client/linux/dump_writer_common/ucontext_reader.h -@@ -39,23 +39,23 @@ - - namespace google_breakpad { - --// Wraps platform-dependent implementations of accessors to ucontext structs. -+// Wraps platform-dependent implementations of accessors to ucontext_t structs. - struct UContextReader { -- static uintptr_t GetStackPointer(const struct ucontext* uc); -+ static uintptr_t GetStackPointer(const ucontext_t* uc); - -- static uintptr_t GetInstructionPointer(const struct ucontext* uc); -+ static uintptr_t GetInstructionPointer(const ucontext_t* uc); - -- // Juggle a arch-specific ucontext into a minidump format -+ // Juggle a arch-specific ucontext_t into a minidump format - // out: the minidump structure - // info: the collection of register structures. - #if defined(__i386__) || defined(__x86_64) -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fp); - #elif defined(__aarch64__) -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct fpsimd_context* fpregs); - #else -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc); -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc); - #endif - }; - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index b63f973..3d809b8 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -439,9 +439,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { - // Fill in all the holes in the struct to make Valgrind happy. - memset(&g_crash_context_, 0, sizeof(g_crash_context_)); - memcpy(&g_crash_context_.siginfo, info, sizeof(siginfo_t)); -- memcpy(&g_crash_context_.context, uc, sizeof(struct ucontext)); -+ memcpy(&g_crash_context_.context, uc, sizeof(ucontext_t)); - #if defined(__aarch64__) -- struct ucontext* uc_ptr = (struct ucontext*)uc; -+ ucontext_t* uc_ptr = (ucontext_t*)uc; - struct fpsimd_context* fp_ptr = - (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved; - if (fp_ptr->head.magic == FPSIMD_MAGIC) { -@@ -450,9 +450,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { - } - #elif !defined(__ARM_EABI__) && !defined(__mips__) - // FP state is not part of user ABI on ARM Linux. -- // In case of MIPS Linux FP state is already part of struct ucontext -+ // In case of MIPS Linux FP state is already part of ucontext_t - // and 'float_state' is not a member of CrashContext. -- struct ucontext* uc_ptr = (struct ucontext*)uc; -+ ucontext_t* uc_ptr = (ucontext_t*)uc; - if (uc_ptr->uc_mcontext.fpregs) { - memcpy(&g_crash_context_.float_state, uc_ptr->uc_mcontext.fpregs, - sizeof(g_crash_context_.float_state)); -@@ -476,7 +476,7 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) { - // ExceptionHandler::HandleSignal(). - siginfo.si_code = SI_USER; - siginfo.si_pid = getpid(); -- struct ucontext context; -+ ucontext_t context; - getcontext(&context); - return HandleSignal(sig, &siginfo, &context); - } -diff --git a/src/client/linux/handler/exception_handler.h b/src/client/linux/handler/exception_handler.h -index 591c310..42f4055 100644 ---- a/src/client/linux/handler/exception_handler.h -+++ b/src/client/linux/handler/exception_handler.h -@@ -191,11 +191,11 @@ class ExceptionHandler { - struct CrashContext { - siginfo_t siginfo; - pid_t tid; // the crashing thread. -- struct ucontext context; -+ ucontext_t context; - #if !defined(__ARM_EABI__) && !defined(__mips__) - // #ifdef this out because FP state is not part of user ABI for Linux ARM. -- // In case of MIPS Linux FP state is already part of struct -- // ucontext so 'float_state' is not required. -+ // In case of MIPS Linux FP state is already part of ucontext_t so -+ // 'float_state' is not required. - fpstate_t float_state; - #endif - }; -diff --git a/src/client/linux/microdump_writer/microdump_writer.cc b/src/client/linux/microdump_writer/microdump_writer.cc -index 6f5b435..a508667 100644 ---- a/src/client/linux/microdump_writer/microdump_writer.cc -+++ b/src/client/linux/microdump_writer/microdump_writer.cc -@@ -571,7 +571,7 @@ class MicrodumpWriter { - - void* Alloc(unsigned bytes) { return dumper_->allocator()->Alloc(bytes); } - -- const struct ucontext* const ucontext_; -+ const ucontext_t* const ucontext_; - #if !defined(__ARM_EABI__) && !defined(__mips__) - const google_breakpad::fpstate_t* const float_state_; - #endif -diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc -index 86009b9..f2aec73 100644 ---- a/src/client/linux/minidump_writer/minidump_writer.cc -+++ b/src/client/linux/minidump_writer/minidump_writer.cc -@@ -1248,7 +1248,7 @@ class MinidumpWriter { - const int fd_; // File descriptor where the minidum should be written. - const char* path_; // Path to the file where the minidum should be written. - -- const struct ucontext* const ucontext_; // also from the signal handler -+ const ucontext_t* const ucontext_; // also from the signal handler - #if !defined(__ARM_EABI__) && !defined(__mips__) - const google_breakpad::fpstate_t* const float_state_; // ditto - #endif --- -2.9.5 - diff --git a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch b/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch deleted file mode 100644 index 579e7f3457..0000000000 --- a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 2fa414c8655c421e7eb0bb1719928babb0ecf7c6 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Thu, 26 Dec 2019 22:21:33 +0100 -Subject: [PATCH] src/client/linux/handler/exception_handler.cc: rename tgkill - to BreakpadTgkill() -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since glibc 2.30, a tgkill() function was added in the C library, and -its definition obviously conflicts with the internal definition of -google-breakpad, causing build failures: - -src/client/linux/handler/exception_handler.cc:109:12: error: ?int tgkill(pid_t, pid_t, int)? was declared ?extern? and later ?static? [-fpermissive] - 109 | static int tgkill(pid_t tgid, pid_t tid, int sig) { - | ^~~~~~ -In file included from /usr/include/signal.h:374, - from ./src/client/linux/handler/exception_handler.h:33, - from src/client/linux/handler/exception_handler.cc:66: -/usr/include/bits/signal_ext.h:29:12: note: previous declaration of ?int tgkill(__pid_t, __pid_t, int)? - 29 | extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); - | ^~~~~~ - -Upstream google-breakpad simply dropped the use of the internal -tgkill() in commit -https://chromium.googlesource.com/breakpad/breakpad/+/7e3c165000d44fa153a3270870ed500bc8bbb461. However, -this is not realistic for Buildroot, since we do support old systems -where the system C library will not necessarily provide tgkill(). - -Signed-off-by: Thomas Petazzoni ---- - src/client/linux/handler/exception_handler.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index b63f973b..b4c279b8 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -106,7 +106,7 @@ - #endif - - // A wrapper for the tgkill syscall: send a signal to a specific thread. --static int tgkill(pid_t tgid, pid_t tid, int sig) { -+static int BreakpadTgkill(pid_t tgid, pid_t tid, int sig) { - return syscall(__NR_tgkill, tgid, tid, sig); - return 0; - } -@@ -387,7 +387,7 @@ void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) { - // In order to retrigger it, we have to queue a new signal by calling - // kill() ourselves. The special case (si_pid == 0 && sig == SIGABRT) is - // due to the kernel sending a SIGABRT from a user request via SysRQ. -- if (tgkill(getpid(), syscall(__NR_gettid), sig) < 0) { -+ if (BreakpadTgkill(getpid(), syscall(__NR_gettid), sig) < 0) { - // If we failed to kill ourselves (e.g. because a sandbox disallows us - // to do so), we instead resort to terminating our process. This will - // result in an incorrect exit code. --- -2.24.1 - diff --git a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch b/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch deleted file mode 100644 index 4291216c61..0000000000 --- a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 4a332d01186b09a9d46390b845024d914d9149cb Mon Sep 17 00:00:00 2001 -From: Michel Alexandre Salim -Date: Sun, 21 Mar 2021 13:17:00 -0700 -Subject: [PATCH] Fix for non-constant SIGSTKSZ - -On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case -it expands to a call to `sysconf` which returns a `long int`); see -http://sourceware-org.1504.n7.nabble.com/PATCH-sysconf-Add-SC-MINSIGSTKSZ-SC-SIGSTKSZ-BZ-20305-td650948.html - -Cast the two arguments to `max` to `unsigned`, which is the type of the variable -we're storing the result in anyway, so that it works both with the old-style constant -`SIGSTKSZ` and the new configurable one. - -Signed-off-by: Michel Alexandre Salim -Change-Id: I3d87048561a87c6b9fcdbb14b3d53dd45b0a00f0 - -[Retrieved from: -https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2776379] -Signed-off-by: Fabrice Fontaine ---- - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index ca353c4..3788829 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -138,7 +138,7 @@ - // SIGSTKSZ may be too small to prevent the signal handlers from overrunning - // the alternative stack. Ensure that the size of the alternative stack is - // large enough. -- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); -+ static const unsigned kSigStackSize = std::max((unsigned) 16384, (unsigned) SIGSTKSZ); - - // Only set an alternative stack if there isn't already one, or if the current - // one is too small. diff --git a/package/google-breakpad/google-breakpad.hash b/package/google-breakpad/google-breakpad.hash index 09f9a0cf91..c184da1113 100644 --- a/package/google-breakpad/google-breakpad.hash +++ b/package/google-breakpad/google-breakpad.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3504639ee5d7536e7f7939b80520dfcb98863e9b50673dd577d0ab2a07105acb google-breakpad-7515ab13768c7edc09f0f2ec2354dc6c928239a6-br1.tar.gz +sha256 52716d140ba528d36b40591ae2c7485b18023f6610414bba0057f0cc13caf256 google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf-br1.tar.gz sha256 f9752a0a4ac5215eaa3a4f0ec29cd52563c883de5d7870525cc0bc3a21cb8e15 LICENSE diff --git a/package/google-breakpad/google-breakpad.mk b/package/google-breakpad/google-breakpad.mk index 8ae5f99bc7..20755a1c2a 100644 --- a/package/google-breakpad/google-breakpad.mk +++ b/package/google-breakpad/google-breakpad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GOOGLE_BREAKPAD_VERSION = 7515ab13768c7edc09f0f2ec2354dc6c928239a6 +GOOGLE_BREAKPAD_VERSION = c85eb4a59b618f3beaad5445ceb1f865ffa8efdf GOOGLE_BREAKPAD_SITE = https://chromium.googlesource.com/breakpad/breakpad GOOGLE_BREAKPAD_SITE_METHOD = git GOOGLE_BREAKPAD_CONF_OPTS = --disable-processor --disable-tools diff --git a/package/linux-syscall-support/linux-syscall-support.hash b/package/linux-syscall-support/linux-syscall-support.hash index 3445bf1398..f45f07ac56 100644 --- a/package/linux-syscall-support/linux-syscall-support.hash +++ b/package/linux-syscall-support/linux-syscall-support.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 498efb6915ac6e65c82c712fadd3c30f9472764114c835849e02f2c092bacd2d linux-syscall-support-3f6478ac95edf86cd3da300c2c0d34a438f5dbeb-br1.tar.gz +sha256 2a12703ce59773ec714b603e46c733b03f3fbf9b4763195fae40d0042e5da3f6 linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660-br1.tar.gz sha256 4c1fc9acc9f3867e5c81b5d5f57c52fb9a932662bd4e2e5e43b3fe95390035f5 linux_syscall_support.h diff --git a/package/linux-syscall-support/linux-syscall-support.mk b/package/linux-syscall-support/linux-syscall-support.mk index 050c5058ab..c0c7c4c3b2 100644 --- a/package/linux-syscall-support/linux-syscall-support.mk +++ b/package/linux-syscall-support/linux-syscall-support.mk @@ -5,7 +5,7 @@ ################################################################################ # Use the same version that the one used by Google-breakpad (see DEPS file) -LINUX_SYSCALL_SUPPORT_VERSION = 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb +LINUX_SYSCALL_SUPPORT_VERSION = e1e7b0ad8ee99a875b272c8e33e308472e897660 LINUX_SYSCALL_SUPPORT_SITE = https://chromium.googlesource.com/linux-syscall-support LINUX_SYSCALL_SUPPORT_SITE_METHOD = git LINUX_SYSCALL_SUPPORT_LICENSE = BSD-3-Clause -- 2.32.0 -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-package-google-breakpad-bump-to-latest.patch Type: text/x-patch Size: 23258 bytes Desc: not available URL: From tianyuanhao3 at 163.com Wed Apr 20 13:55:49 2022 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Wed, 20 Apr 2022 06:55:49 -0700 Subject: [Buildroot] [PATCH] package/systemd: add the missing sgx group Message-ID: <20220420135549.3536397-1-tianyuanhao3@163.com> systemd-udevd needs this group: /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring Signed-off-by: TIAN Yuanhao --- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index b07fac27d4..44185a35a0 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -603,6 +603,7 @@ endef define SYSTEMD_USERS # udev user groups + - - sgx -1 * - - - SGX device nodes # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) -- 2.25.1 From fontaine.fabrice at gmail.com Wed Apr 20 16:43:19 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 20 Apr 2022 18:43:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: fix nios2 build Message-ID: <20220420164319.1114520-1-fontaine.fabrice@gmail.com> Fix the following build failure on nios2 raised since bump to version 2021.5.0 in commit 3c66ac07a0783b21f95e699b3762edd15e27bdf9: In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_static.c:17, from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/itt_notify.cpp:43: /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h: In function 'long int __itt_interlocked_increment(volatile long int*)': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h:348:12: error: '__TBB_machine_fetchadd4' was not declared in this scope 348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L; | ^~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/2b55d1d171f21030be8312f984ea02ec8c8348a8 Signed-off-by: Fabrice Fontaine --- ...-Define-ITT_ARCH_IA64-when-undefiend.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch diff --git a/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch new file mode 100644 index 0000000000..5b7f002499 --- /dev/null +++ b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch @@ -0,0 +1,27 @@ +From 6fad69889da67bc4d4baff4afa94f77da45e006d Mon Sep 17 00:00:00 2001 +From: Felix Yan +Date: Thu, 7 Oct 2021 14:16:16 +0800 +Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550) + +[Retrieved from: +https://github.com/oneapi-src/oneTBB/commit/6fad69889da67bc4d4baff4afa94f77da45e006d] +Signed-off-by: Fabrice Fontaine +--- + src/tbb/tools_api/ittnotify_config.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h +index 8ecc23781..f904a8e9d 100644 +--- a/src/tbb/tools_api/ittnotify_config.h ++++ b/src/tbb/tools_api/ittnotify_config.h +@@ -147,6 +147,10 @@ + # define ITT_ARCH_IA32E 2 + #endif /* ITT_ARCH_IA32E */ + ++#ifndef ITT_ARCH_IA64 ++# define ITT_ARCH_IA64 3 ++#endif /* ITT_ARCH_IA64 */ ++ + #ifndef ITT_ARCH_ARM + # define ITT_ARCH_ARM 4 + #endif /* ITT_ARCH_ARM */ -- 2.35.1 From Jason at zx2c4.com Wed Apr 20 17:03:26 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Wed, 20 Apr 2022 19:03:26 +0200 Subject: [Buildroot] [PATCH v5] package/urandom-scripts: actually credit seed files via seedrng Message-ID: <20220420170326.1901572-1-Jason@zx2c4.com> The RNG can't actually be seeded from a shell script, due to the reliance on ioctls. For this reason, Busybox now contains SeedRNG, a tiny program meant to be called at startup and shutdown (and at arbitrary other points in between if desired). Since this is currently in Busybox's git tree, this commit adds it as a patch to the Busybox package. Then, it wires the init script up to call it. This is a significant improvement over the current init script, which doesn't credit entropy and whose hashing in shell scripts is sort of fragile. NOTE NOTE NOTE: While I've added the patch to the Busybox package directory, I don't really know how to wire this up and what to do about the various config entries. I was hoping that a Buildroot maintainer might have a better idea of the best way to do this, and could just take this patch as a starting point for whatever the real commit winds up being. Signed-off-by: Jason A. Donenfeld --- Changes v4->v5: - SeedRNG is now part of Busybox, so we don't need to carry the source in-tree here, which was the primary objection to earlier versions. ...eedRNG-utility-for-kernel-RNG-seed-f.patch | 309 ++++++++++++++++++ package/urandom-scripts/Config.in | 4 - package/urandom-scripts/S20urandom | 78 ++--- 3 files changed, 330 insertions(+), 61 deletions(-) create mode 100644 package/busybox/0003-seedrng-import-SeedRNG-utility-for-kernel-RNG-seed-f.patch diff --git a/package/busybox/0003-seedrng-import-SeedRNG-utility-for-kernel-RNG-seed-f.patch b/package/busybox/0003-seedrng-import-SeedRNG-utility-for-kernel-RNG-seed-f.patch new file mode 100644 index 0000000000..493c31b247 --- /dev/null +++ b/package/busybox/0003-seedrng-import-SeedRNG-utility-for-kernel-RNG-seed-f.patch @@ -0,0 +1,309 @@ +From 47660dc9581e251f555ca9b05b630276f1d487ee Mon Sep 17 00:00:00 2001 +From: "Jason A. Donenfeld" +Date: Mon, 4 Apr 2022 18:21:51 +0200 +Subject: [PATCH] seedrng: import SeedRNG utility for kernel RNG seed files + +The RNG can't actually be seeded from a shell script, due to the +reliance on ioctls and the fact that entropy written into the +unprivileged /dev/urandom device is not immediately mixed in, making +subsequent seed reads dangerous. For this reason, the seedrng project +provides a basic "C script" meant to be copy and pasted into projects +like Busybox and tweaked as needed: . + +The SeedRNG construction has been part of systemd's seeder since +January, and recently was added to Android, OpenRC, and Void's Runit, +with more integrations on their way depending on context. Virtually +every single Busybox-based distro I have seen seeds things in wrong, +incomplete, or otherwise dangerous way. For example, fixing this issue +in Buildroot requires first for Busybox to have this fix. + +This commit imports it into Busybox and wires up the basic config. The +utility itself is tiny, and unlike the example code from the SeedRNG +project, we can re-use libbb's existing hash functions, rather than +having to ship a standalone BLAKE2s, which makes this even smaller. + +Cherry picked from upstream commits: + - 4b407bacd4c1628782d24c3e044e43780bb057a4 + - 453857899616acf1c77d0d02a4c2989b2cf5f1eb + - 31ec481baf106cf9c6d8f34ae6a55ab1738dea6f + - 3c60711f836b151b8f361098475c3b0cd162dd17 + - 398bb3861aa39ae6d3ada7bb54698653b4de370b + - ce9a345632786d5585044ed71ed4c98c305b918f + - 3cb40f89de42aa694d44cb6e896b732fa062ee75 + - 57fea029cc3d6faf5a8b9ad4b17b543359fe7ccb + +Signed-off-by: Jason A. Donenfeld +Signed-off-by: Bernhard Reutner-Fischer +--- + util-linux/seedrng.c | 259 +++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 259 insertions(+) + create mode 100644 util-linux/seedrng.c + +diff --git a/util-linux/seedrng.c b/util-linux/seedrng.c +new file mode 100644 +index 000000000..5a41addf0 +--- /dev/null ++++ b/util-linux/seedrng.c +@@ -0,0 +1,259 @@ ++// SPDX-License-Identifier: GPL-2.0 OR MIT ++/* ++ * Copyright (C) 2022 Jason A. Donenfeld . All Rights Reserved. ++ * ++ * SeedRNG is a simple program made for seeding the Linux kernel random number ++ * generator from seed files. It is is useful in light of the fact that the ++ * Linux kernel RNG cannot be initialized from shell scripts, and new seeds ++ * cannot be safely generated from boot time shell scripts either. It should ++ * be run once at init time and once at shutdown time. It can be run at other ++ * times on a timer as well. Whenever it is run, it writes existing seed files ++ * into the RNG pool, and then creates a new seed file. If the RNG is ++ * initialized at the time of creating a new seed file, then that new seed file ++ * is marked as "creditable", which means it can be used to initialize the RNG. ++ * Otherwise, it is marked as "non-creditable", in which case it is still used ++ * to seed the RNG's pool, but will not initialize the RNG. In order to ensure ++ * that entropy only ever stays the same or increases from one seed file to the ++ * next, old seed values are hashed together with new seed values when writing ++ * new seed files. ++ * ++ * This is based on code from . ++ */ ++ ++//config:config SEEDRNG ++//config: bool "seedrng (2 kb)" ++//config: default y ++//config: help ++//config: Seed the kernel RNG from seed files, meant to be called ++//config: once during startup, once during shutdown, and optionally ++//config: at some periodic interval in between. ++ ++//applet:IF_SEEDRNG(APPLET(seedrng, BB_DIR_USR_SBIN, BB_SUID_DROP)) ++ ++//kbuild:lib-$(CONFIG_SEEDRNG) += seedrng.o ++ ++//usage:#define seedrng_trivial_usage ++//usage: "[-d SEED_DIRECTORY] [-n]" ++//usage:#define seedrng_full_usage "\n\n" ++//usage: "Seed the kernel RNG from seed files." ++//usage: "\n" ++//usage: "\n -d, --seed-dir DIR Use seed files from specified directory (default: /var/lib/seedrng)" ++//usage: "\n -n, --skip-credit Skip crediting seeds, even if creditable" ++ ++#include "libbb.h" ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#ifndef GRND_INSECURE ++#define GRND_INSECURE 0x0004 /* Apparently some headers don't ship with this yet. */ ++#endif ++ ++#define DEFAULT_SEED_DIR "/var/lib/seedrng" ++#define CREDITABLE_SEED_NAME "seed.credit" ++#define NON_CREDITABLE_SEED_NAME "seed.no-credit" ++ ++enum seedrng_lengths { ++ MIN_SEED_LEN = SHA256_OUTSIZE, ++ MAX_SEED_LEN = 512 ++}; ++ ++static size_t determine_optimal_seed_len(void) ++{ ++ char poolsize_str[11] = { 0 }; ++ unsigned long poolsize; ++ ++ if (open_read_close("/proc/sys/kernel/random/poolsize", poolsize_str, sizeof(poolsize_str) - 1) < 0) { ++ bb_perror_msg("unable to determine pool size, assuming %u bits", MIN_SEED_LEN * 8); ++ return MIN_SEED_LEN; ++ } ++ poolsize = (bb_strtoul(poolsize_str, NULL, 10) + 7) / 8; ++ return MAX(MIN(poolsize, MAX_SEED_LEN), MIN_SEED_LEN); ++} ++ ++static int read_new_seed(uint8_t *seed, size_t len, bool *is_creditable) ++{ ++ ssize_t ret; ++ ++ *is_creditable = false; ++ ret = getrandom(seed, len, GRND_NONBLOCK); ++ if (ret == (ssize_t)len) { ++ *is_creditable = true; ++ return 0; ++ } else if (ret < 0 && errno == ENOSYS) { ++ struct pollfd random_fd = { ++ .fd = open("/dev/random", O_RDONLY), ++ .events = POLLIN ++ }; ++ if (random_fd.fd < 0) ++ return -1; ++ *is_creditable = safe_poll(&random_fd, 1, 0) == 1; ++ close(random_fd.fd); ++ } else if (getrandom(seed, len, GRND_INSECURE) == (ssize_t)len) ++ return 0; ++ if (open_read_close("/dev/urandom", seed, len) == (ssize_t)len) ++ return 0; ++ return -1; ++} ++ ++static int seed_rng(uint8_t *seed, size_t len, bool credit) ++{ ++ struct { ++ int entropy_count; ++ int buf_size; ++ uint8_t buffer[MAX_SEED_LEN]; ++ } req = { ++ .entropy_count = credit ? len * 8 : 0, ++ .buf_size = len ++ }; ++ int random_fd, ret; ++ ++ if (len > sizeof(req.buffer)) { ++ errno = EFBIG; ++ return -1; ++ } ++ memcpy(req.buffer, seed, len); ++ ++ random_fd = open("/dev/urandom", O_RDONLY); ++ if (random_fd < 0) ++ return -1; ++ ret = ioctl(random_fd, RNDADDENTROPY, &req); ++ if (ret) ++ ret = -errno ? -errno : -EIO; ++ if (ENABLE_FEATURE_CLEAN_UP) ++ close(random_fd); ++ errno = -ret; ++ return ret ? -1 : 0; ++} ++ ++static int seed_from_file_if_exists(const char *filename, int dfd, bool credit, sha256_ctx_t *hash) ++{ ++ uint8_t seed[MAX_SEED_LEN]; ++ ssize_t seed_len; ++ ++ seed_len = open_read_close(filename, seed, sizeof(seed)); ++ if (seed_len < 0) { ++ if (errno == ENOENT) ++ return 0; ++ bb_perror_msg("unable to%s seed", " read"); ++ return -1; ++ } ++ if ((unlink(filename) < 0 || fsync(dfd) < 0) && seed_len) { ++ bb_perror_msg("unable to%s seed", " remove"); ++ return -1; ++ } else if (!seed_len) ++ return 0; ++ ++ sha256_hash(hash, &seed_len, sizeof(seed_len)); ++ sha256_hash(hash, seed, seed_len); ++ ++ printf("Seeding %zd bits %s crediting\n", seed_len * 8, credit ? "and" : "without"); ++ if (seed_rng(seed, seed_len, credit) < 0) { ++ bb_perror_msg("unable to%s seed", ""); ++ return -1; ++ } ++ return 0; ++} ++ ++int seedrng_main(int argc, char *argv[]) MAIN_EXTERNALLY_VISIBLE; ++int seedrng_main(int argc UNUSED_PARAM, char *argv[]) ++{ ++ const char *seed_dir = DEFAULT_SEED_DIR, *creditable_seed, *non_creditable_seed; ++ int ret, fd = -1, dfd = -1, program_ret = 0; ++ uint8_t new_seed[MAX_SEED_LEN]; ++ size_t new_seed_len; ++ bool new_seed_creditable; ++ bool skip_credit = false; ++ struct timespec timestamp = { 0 }; ++ sha256_ctx_t hash; ++ ++ int opt; ++ enum { ++ OPT_d = (1 << 0), ++ OPT_n = (1 << 1) ++ }; ++#if ENABLE_LONG_OPTS ++ static const char longopts[] ALIGN1 = ++ "seed-dir\0" Required_argument "d" ++ "skip-credit\0" No_argument "n" ++ ; ++#endif ++ ++ opt = getopt32long(argv, "d:n", longopts, &seed_dir); ++ skip_credit = opt & OPT_n; ++ creditable_seed = concat_path_file(seed_dir, CREDITABLE_SEED_NAME); ++ non_creditable_seed = concat_path_file(seed_dir, NON_CREDITABLE_SEED_NAME); ++ ++ umask(0077); ++ if (getuid()) ++ bb_simple_error_msg_and_die(bb_msg_you_must_be_root); ++ ++ if (mkdir(seed_dir, 0700) < 0 && errno != EEXIST) ++ bb_perror_msg_and_die("unable to %s seed directory", "create"); ++ ++ dfd = open(seed_dir, O_DIRECTORY | O_RDONLY); ++ if (dfd < 0 || flock(dfd, LOCK_EX) < 0) { ++ bb_perror_msg("unable to %s seed directory", "lock"); ++ program_ret = 1; ++ goto out; ++ } ++ ++ sha256_begin(&hash); ++ sha256_hash(&hash, "SeedRNG v1 Old+New Prefix", 25); ++ clock_gettime(CLOCK_REALTIME, ×tamp); ++ sha256_hash(&hash, ×tamp, sizeof(timestamp)); ++ clock_gettime(CLOCK_BOOTTIME, ×tamp); ++ sha256_hash(&hash, ×tamp, sizeof(timestamp)); ++ ++ ret = seed_from_file_if_exists(non_creditable_seed, dfd, false, &hash); ++ if (ret < 0) ++ program_ret |= 1 << 1; ++ ret = seed_from_file_if_exists(creditable_seed, dfd, !skip_credit, &hash); ++ if (ret < 0) ++ program_ret |= 1 << 2; ++ ++ new_seed_len = determine_optimal_seed_len(); ++ ret = read_new_seed(new_seed, new_seed_len, &new_seed_creditable); ++ if (ret < 0) { ++ bb_perror_msg("unable to%s seed", " read new"); ++ new_seed_len = SHA256_OUTSIZE; ++ memset(new_seed, 0, SHA256_OUTSIZE); ++ program_ret |= 1 << 3; ++ } ++ sha256_hash(&hash, &new_seed_len, sizeof(new_seed_len)); ++ sha256_hash(&hash, new_seed, new_seed_len); ++ sha256_end(&hash, new_seed + new_seed_len - SHA256_OUTSIZE); ++ ++ printf("Saving %zu bits of %screditable seed for next boot\n", new_seed_len * 8, new_seed_creditable ? "" : "non-"); ++ fd = open(non_creditable_seed, O_WRONLY | O_CREAT | O_TRUNC, 0400); ++ if (fd < 0 || full_write(fd, new_seed, new_seed_len) != (ssize_t)new_seed_len || fsync(fd) < 0) { ++ bb_perror_msg("unable to%s seed", " write"); ++ program_ret |= 1 << 4; ++ goto out; ++ } ++ if (new_seed_creditable && rename(non_creditable_seed, creditable_seed) < 0) { ++ bb_simple_perror_msg("unable to make new seed creditable"); ++ program_ret |= 1 << 5; ++ } ++out: ++ if (ENABLE_FEATURE_CLEAN_UP && fd >= 0) ++ close(fd); ++ if (ENABLE_FEATURE_CLEAN_UP && dfd >= 0) ++ close(dfd); ++ return program_ret; ++} +-- +2.35.1 + diff --git a/package/urandom-scripts/Config.in b/package/urandom-scripts/Config.in index 987e442e22..070ffa5e9a 100644 --- a/package/urandom-scripts/Config.in +++ b/package/urandom-scripts/Config.in @@ -4,7 +4,3 @@ config BR2_PACKAGE_URANDOM_SCRIPTS depends on !BR2_PACKAGE_SYSTEMD help Initscript to preserve the random seed between reboots. - - WARNING: this is a poor fit to try and get high-quality - entropy at boot. There are better ways, like haveged, or - rng-tools. diff --git a/package/urandom-scripts/S20urandom b/package/urandom-scripts/S20urandom index 6c6aea9eee..346bc5b11e 100644 --- a/package/urandom-scripts/S20urandom +++ b/package/urandom-scripts/S20urandom @@ -3,67 +3,31 @@ # Preserve the random seed between reboots. See urandom(4). # -# Quietly do nothing if /dev/urandom does not exist -[ -c /dev/urandom ] || exit 0 - -URANDOM_SEED="/var/lib/random-seed" +# The following knobs can be adjusted by placing uncommented modified lines +# into /etc/default/urandom: +# +# Set these to change where the seed and runtime lock file are stored: +# +# seed_dir=/var/lib/seedrng +# +# Set this to true only if you do not want seed files to actually credit the +# RNG, for example if you plan to replicate this file system image and do not +# have the wherewithal to first delete the contents of /var/lib/seedrng: +# +# skip_credit=false +# -# shellcheck source=/dev/null +unset seed_dir skip_credit [ -r "/etc/default/urandom" ] && . "/etc/default/urandom" -if pool_bits=$(cat /proc/sys/kernel/random/poolsize 2> /dev/null); then - pool_size=$((pool_bits/8)) -else - pool_size=512 -fi - -init_rng() { - [ -f "$URANDOM_SEED" ] || return 0 - printf 'Initializing random number generator: ' - dd if="$URANDOM_SEED" bs="$pool_size" of=/dev/urandom count=1 2> /dev/null - status=$? - if [ "$status" -eq 0 ]; then - echo "OK" - else - echo "FAIL" - fi - return "$status" -} - -save_random_seed() { - printf 'Saving random seed: ' - status=1 - if touch "$URANDOM_SEED.new" 2> /dev/null; then - old_umask=$(umask) - umask 077 - dd if=/dev/urandom of="$URANDOM_SEED.tmp" bs="$pool_size" count=1 2> /dev/null - cat "$URANDOM_SEED" "$URANDOM_SEED.tmp" 2>/dev/null \ - | sha256sum \ - | cut -d ' ' -f 1 > "$URANDOM_SEED.new" && \ - mv "$URANDOM_SEED.new" "$URANDOM_SEED" && status=0 - rm -f "$URANDOM_SEED.tmp" - umask "$old_umask" - if [ "$status" -eq 0 ]; then - echo "OK" - else - echo "FAIL" - fi - - else - echo "SKIP (read-only file system detected)" - fi - return "$status" -} - case "$1" in - start|restart|reload) - # Carry a random seed from start-up to start-up - # Load and then save the whole entropy pool - init_rng && save_random_seed;; - stop) - # Carry a random seed from shut-down to start-up - # Save the whole entropy pool - save_random_seed;; + start|stop|restart|reload) + # Never fail, as this isn't worth making a fuss + # over if it doesn't go as planned. + args="" + [ -n "$seed_dir" ] && args="$args --seed-dir=$seed_dir" + [ "$skip_credit" = "true" ] && args="$args --skip-credit" + seedrng $args || true;; *) echo "Usage: $0 {start|stop|restart|reload}" exit 1 -- 2.35.1 From Jason at zx2c4.com Wed Apr 20 17:11:29 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Wed, 20 Apr 2022 19:11:29 +0200 Subject: [Buildroot] [PATCH v5] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <20220420170326.1901572-1-Jason@zx2c4.com> References: <20220420170326.1901572-1-Jason@zx2c4.com> Message-ID: And if it's easier to read this not in patch form, Busybox's ittybitty seedrng implementation lives here: https://git.busybox.net/busybox/tree/util-linux/seedrng.c From fontaine.fabrice at gmail.com Wed Apr 20 17:28:16 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 20 Apr 2022 19:28:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/opencv4: fix uclibc build Message-ID: <20220420172816.1160081-1-fontaine.fabrice@gmail.com> Add BR2_PACKAGE_OPENCV4_LIB_DNN to fix the following uclibc build failure raised since bump to version 4.5.5 in commit b6922313937712a89841b58d3b355edd53754bca and https://github.com/opencv/opencv/commit/1feb3838b51c0b27b0f3e64f02358ff5ef3111b8: /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp: In member function 'float cv::dnn::RoundFunctor::calculate(float) const': /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1260:43: error: 'fegetround' is not a member of 'std' 1260 | int old_rounding_direction = std::fegetround(); | ^~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:14: error: 'fesetround' is not a member of 'std' 1261 | std::fesetround(FE_TONEAREST); | ^~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:25: error: 'FE_TONEAREST' was not declared in this scope 1261 | std::fesetround(FE_TONEAREST); | ^~~~~~~~~~~~ Indeed, uclibc pretends to implement fenv but it raises build failures on numerous architectures (or1k, sh4, xtensa, mipsel, arm, arc, riscv64, etc.) Fixes: - http://autobuild.buildroot.org/results/a6dd3c10acfbf6bc1af867d770cf0ce926c6ce84 Signed-off-by: Fabrice Fontaine --- package/opencv4/Config.in | 11 +++++++++++ package/opencv4/opencv4.mk | 1 + 2 files changed, 12 insertions(+) diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in index 23d34a9d22..a61a106952 100644 --- a/package/opencv4/Config.in +++ b/package/opencv4/Config.in @@ -30,6 +30,17 @@ config BR2_PACKAGE_OPENCV4_LIB_CALIB3D Include opencv_calib3d (camera calibration and 3d reconstruction) module into the OpenCV build. +config BR2_PACKAGE_OPENCV4_LIB_DNN + bool "dnn" + # dnn needs fenv.h which is not provided by uclibc + depends on !BR2_TOOLCHAIN_USES_UCLIBC + help + Include opencv_dnn (Deep Neural Networks) module into the + OpenCV build. + +comment "dnn needs a glibc or musl toolchain" + depends on BR2_TOOLCHAIN_USES_UCLIBC + config BR2_PACKAGE_OPENCV4_LIB_FEATURES2D bool "features2d" select BR2_PACKAGE_OPENCV4_LIB_FLANN diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index 0563026b18..84e0487dc4 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -92,6 +92,7 @@ OPENCV4_CONF_OPTS += \ -DBUILD_opencv_apps=OFF \ -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV4_LIB_CALIB3D),ON,OFF) \ -DBUILD_opencv_core=ON \ + -DBUILD_opencv_dnn=$(if $(BR2_PACKAGE_OPENCV4_LIB_DNN),ON,OFF) \ -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV4_LIB_FEATURES2D),ON,OFF) \ -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV4_LIB_FLANN),ON,OFF) \ -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV4_LIB_HIGHGUI),ON,OFF) \ -- 2.35.1 From baruch at tkos.co.il Wed Apr 20 17:28:06 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Wed, 20 Apr 2022 20:28:06 +0300 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <20220420083923.3875405-2-thomas.perrot@bootlin.com> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> <20220420083923.3875405-2-thomas.perrot@bootlin.com> Message-ID: <87pmlbr70w.fsf@tarshish> Hi Thomas, On Wed, Apr 20 2022, Thomas Perrot via buildroot wrote: > This package provides i.MX Code Signing Tools uses to sign i.MX bootloader > to enable secure boot (HABv4 and AHAB). > > Signed-off-by: Thomas Perrot > --- [...] > diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx-cst.mk > new file mode 100644 > index 000000000000..c91dfb602cbf > --- /dev/null > +++ b/package/imx-cst/imx-cst.mk > @@ -0,0 +1,49 @@ > +################################################################################ > +# > +# imx-cst > +# > +################################################################################ > + > +# debian/3.3.1+dfsg-2 > +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git > +IMX_CST_SITE_METHOD = git > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > +IMX_CST_LICENSE = BSD-3-Clause > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 > + > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > + > +ifneq ($(filter %64,$(HOSTARCH)),) > +HOST_IMX_CST_OSTYPE = linux64 > +else > +HOST_IMX_CST_OSTYPE = linux32 > +endif It looks like the only difference between 64 and 32 is in openssl build rule, and for x86 (host) targets only. We don't use this openssl rule since we build host-openssl with our own rules. So maybe we can just arbitrarily choose hard coded 'linux64'. It seems that debian/Makefile does that. baruch > + > +# We don't use HOST_CONFIGURE_OPTS when building cst, because we need > +# to preserve the CFLAGS/LDFLAGS used by their Makefile. > +define HOST_IMX_CST_BUILD_CMDS > + $(HOST_MAKE_ENV) $(MAKE) \ > + OSTYPE=$(HOST_IMX_CST_OSTYPE) \ > + ENCRYPTION=yes \ > + AR="$(HOSTAR)" \ > + CC="$(HOSTCC)" \ > + LD="$(HOSTCC)" \ > + OBJCOPY="$(HOSTOBJCOPY)" \ > + RANLIB="$(HOSTRANLIB)" \ > + EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > + EXTRALDFLAGS="$(HOST_LDFLAGS)" \ > + PWD=$(@D)/code/cst \ > + -C $(@D)/code/cst \ > + build > + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > + COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ > + -C $(@D)/code/hab_csf_parser > +endef > + > +define HOST_IMX_CST_INSTALL_CMDS > + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst $(HOST_DIR)/bin/cst > + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool > + $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser > +endef > + > +$(eval $(host-generic-package)) -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From james.hilliard1 at gmail.com Wed Apr 20 18:16:25 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:16:25 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-bidict: bump to version 0.22.0 Message-ID: <20220420181625.762383-1-james.hilliard1@gmail.com> License hash changed due to adding dates/author name: https://github.com/jab/bidict/commit/b5c9f346ce0e3450a9df41c8740c32ed8b62f7f3 Signed-off-by: James Hilliard --- package/python-bidict/python-bidict.hash | 6 +++--- package/python-bidict/python-bidict.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-bidict/python-bidict.hash b/package/python-bidict/python-bidict.hash index 59229f96d9..fe9a94af53 100644 --- a/package/python-bidict/python-bidict.hash +++ b/package/python-bidict/python-bidict.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/bidict/json -md5 d9342771969dd0d42092a669ed6f3241 bidict-0.21.3.tar.gz -sha256 d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d bidict-0.21.3.tar.gz +md5 da3d37ae93c740c191b5666918c3164f bidict-0.22.0.tar.gz +sha256 5c826b3e15e97cc6e615de295756847c282a79b79c5430d3bfc909b1ac9f5bd8 bidict-0.22.0.tar.gz # Locally computed sha256 checksums -sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE +sha256 be0487398bba08e7772b4077b637787b94973b53c44b3cbdd6c7dab10ed15035 LICENSE diff --git a/package/python-bidict/python-bidict.mk b/package/python-bidict/python-bidict.mk index c6b7b862ea..7ba15db605 100644 --- a/package/python-bidict/python-bidict.mk +++ b/package/python-bidict/python-bidict.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_BIDICT_VERSION = 0.21.3 +PYTHON_BIDICT_VERSION = 0.22.0 PYTHON_BIDICT_SOURCE = bidict-$(PYTHON_BIDICT_VERSION).tar.gz -PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/3f/81/7221b28d692af5c5fc180c4850b8e4a48c7db92b3d529b430488f67db74f +PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/2b/84/159749556b9c49ea4489dadeb94d44f05d6033d1db3af4c83120ecac5b15 PYTHON_BIDICT_SETUP_TYPE = setuptools PYTHON_BIDICT_LICENSE = MPL-2.0 PYTHON_BIDICT_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:20:13 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:20:13 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-charset-normalizer: bump to version 2.0.12 Message-ID: <20220420182013.763567-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- .../python-charset-normalizer/python-charset-normalizer.hash | 4 ++-- .../python-charset-normalizer/python-charset-normalizer.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-charset-normalizer/python-charset-normalizer.hash b/package/python-charset-normalizer/python-charset-normalizer.hash index 3c6e58a616..da540bbb8f 100644 --- a/package/python-charset-normalizer/python-charset-normalizer.hash +++ b/package/python-charset-normalizer/python-charset-normalizer.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/charset-normalizer/json -md5 2abe3754fef25c99799a518cb83a81ae charset-normalizer-2.0.11.tar.gz -sha256 98398a9d69ee80548c762ba991a4728bfc3836768ed226b3945908d1a688371c charset-normalizer-2.0.11.tar.gz +md5 f6664e0e90dbb3cc9cfc154a980f9864 charset-normalizer-2.0.12.tar.gz +sha256 2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 charset-normalizer-2.0.12.tar.gz # Locally computed sha256 checksums sha256 eb31a0c5a4fb09b8a4e32055d25c1e5f9c358a2752fef3cd720213d1ccfee241 LICENSE diff --git a/package/python-charset-normalizer/python-charset-normalizer.mk b/package/python-charset-normalizer/python-charset-normalizer.mk index c37b068b36..0742fac639 100644 --- a/package/python-charset-normalizer/python-charset-normalizer.mk +++ b/package/python-charset-normalizer/python-charset-normalizer.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.11 +PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.12 PYTHON_CHARSET_NORMALIZER_SOURCE = charset-normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz -PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/e8/e8/b6cfd28fb430b2ec9923ad0147025bf8bbdf304b1eb3039b69f1ce44ed6e +PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools PYTHON_CHARSET_NORMALIZER_LICENSE = MIT PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:25:03 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:25:03 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-cssselect2: bump to version 0.6.0 Message-ID: <20220420182503.768753-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-cssselect2/python-cssselect2.hash | 4 ++-- package/python-cssselect2/python-cssselect2.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-cssselect2/python-cssselect2.hash b/package/python-cssselect2/python-cssselect2.hash index fd892e297f..ffbafdfd40 100644 --- a/package/python-cssselect2/python-cssselect2.hash +++ b/package/python-cssselect2/python-cssselect2.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/cssselect2/json -md5 6206ebccfdd9fc02196f60e830fa7b1f cssselect2-0.5.0.tar.gz -sha256 d98a7bbdd8ebc46093279195d669a3359bd5a23f90c19e82c19d9eeef333e617 cssselect2-0.5.0.tar.gz +md5 cb5630e049172f431aeb82a3d504664a cssselect2-0.6.0.tar.gz +sha256 5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325 cssselect2-0.6.0.tar.gz # Locally computed sha256 checksums sha256 6fd97229a1d1b0f6a8b41e109f413426dbc0874b1e03746d66cc33282601c2c2 LICENSE diff --git a/package/python-cssselect2/python-cssselect2.mk b/package/python-cssselect2/python-cssselect2.mk index b3ddf41fef..0e34059e75 100644 --- a/package/python-cssselect2/python-cssselect2.mk +++ b/package/python-cssselect2/python-cssselect2.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CSSSELECT2_VERSION = 0.5.0 +PYTHON_CSSSELECT2_VERSION = 0.6.0 PYTHON_CSSSELECT2_SOURCE = cssselect2-$(PYTHON_CSSSELECT2_VERSION).tar.gz -PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/ce/e7/1333b9042beb33a9bb425900b6d9b59035b98c31c950a323d14ceca1275e +PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/68/62/b6a16d0c32bb088079f344202e3cd0936380a4d8cb23ef9b1f8079ff8612 PYTHON_CSSSELECT2_SETUP_TYPE = flit PYTHON_CSSSELECT2_LICENSE = BSD-3-Clause PYTHON_CSSSELECT2_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:30:09 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:30:09 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-fonttools: bump to version 4.32.0 Message-ID: <20220420183009.771346-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-fonttools/python-fonttools.hash | 4 ++-- package/python-fonttools/python-fonttools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-fonttools/python-fonttools.hash b/package/python-fonttools/python-fonttools.hash index df0bdf980d..077b60a8bd 100644 --- a/package/python-fonttools/python-fonttools.hash +++ b/package/python-fonttools/python-fonttools.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/fonttools/json -md5 7fc490291991da874911fed1e743362d fonttools-4.29.1.zip -sha256 2b18a172120e32128a80efee04cff487d5d140fe7d817deb648b2eee023a40e4 fonttools-4.29.1.zip +md5 be2db6ae923a9b369a3739ed5bdf0fcf fonttools-4.32.0.zip +sha256 59a90de72149893167e3d552ae2402c6874e006b9adc3feaf5f6d706fe20d392 fonttools-4.32.0.zip # Locally computed sha256 checksums sha256 6787208f83f659ccbc2223b2fde952ffa6f7e8aca62f1a8a2bf5bc51bb1b2383 LICENSE diff --git a/package/python-fonttools/python-fonttools.mk b/package/python-fonttools/python-fonttools.mk index c07011daa0..28d4f4b52f 100644 --- a/package/python-fonttools/python-fonttools.mk +++ b/package/python-fonttools/python-fonttools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_FONTTOOLS_VERSION = 4.29.1 +PYTHON_FONTTOOLS_VERSION = 4.32.0 PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip -PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/2d/4c/49ba863863502bb9fea19d8bd04a527da336b4a2698c8a0c7129e9cc2716 +PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/88/27/418ac6f1b85856608df81fe6e72fbb85929d7b904540056f3061e27bba04 PYTHON_FONTTOOLS_SETUP_TYPE = setuptools PYTHON_FONTTOOLS_LICENSE = MIT PYTHON_FONTTOOLS_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:32:41 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:32:41 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-logstash: bump to version 0.4.8 Message-ID: <20220420183241.772415-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-logstash/python-logstash.hash | 6 +++--- package/python-logstash/python-logstash.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-logstash/python-logstash.hash b/package/python-logstash/python-logstash.hash index ba11c7ffaa..297bb16bf2 100644 --- a/package/python-logstash/python-logstash.hash +++ b/package/python-logstash/python-logstash.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/python-logstash/json -md5 26fafa0ea306025fb7644d70cb38982a python-logstash-0.4.6.tar.gz -sha256 10943e5df83f592b4d61b63ad1afff855ccc8c9467f78718f0a59809ba1fe68c python-logstash-0.4.6.tar.gz +md5 e2cbc75dd5417cb55acaa3a12bf3afac python-logstash-0.4.8.tar.gz +sha256 d04e1ce11ecc107e4a4f3b807fc57d96811e964a554081b3bbb44732f74ef5f9 python-logstash-0.4.8.tar.gz # Locally computed sha256 checksums -sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff LICENSE +sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff LICENSE diff --git a/package/python-logstash/python-logstash.mk b/package/python-logstash/python-logstash.mk index 68930bb1f9..a78b6e6590 100644 --- a/package/python-logstash/python-logstash.mk +++ b/package/python-logstash/python-logstash.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_LOGSTASH_VERSION = 0.4.6 -PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/4e/8d/7ff2e8e8e2613e7bb7654790480bb4cf51a55721371adbb631b16cb16dce +PYTHON_LOGSTASH_VERSION = 0.4.8 +PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/f7/3b/c3a957bbdd23859f07905fc3d1adfe89957217a347478c58409f0315cf1d PYTHON_LOGSTASH_SETUP_TYPE = distutils PYTHON_LOGSTASH_LICENSE = MIT PYTHON_LOGSTASH_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:36:46 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:36:46 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-weasyprint: bump to version 54.3 Message-ID: <20220420183646.774923-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-weasyprint/python-weasyprint.hash | 4 ++-- package/python-weasyprint/python-weasyprint.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-weasyprint/python-weasyprint.hash b/package/python-weasyprint/python-weasyprint.hash index 90ccc1d057..3ad59b6abb 100644 --- a/package/python-weasyprint/python-weasyprint.hash +++ b/package/python-weasyprint/python-weasyprint.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/weasyprint/json -md5 3917447c277db6931b8370f1d725db49 weasyprint-54.2.tar.gz -sha256 d5e8aa82e3e2a2477a4543f0646d9fb14080c9ba34a0859751eb23757cc00466 weasyprint-54.2.tar.gz +md5 262af43e54ad89ecd0e304bad799c47c weasyprint-54.3.tar.gz +sha256 e04da040630566c44caa202033f07f858765f536709045a809739f3d048e89d6 weasyprint-54.3.tar.gz # Locally computed sha256 checksums sha256 bfd14eccfa6100575460e685556b183399d4bd335904e3c9521b0116d21c54da LICENSE diff --git a/package/python-weasyprint/python-weasyprint.mk b/package/python-weasyprint/python-weasyprint.mk index 925de855bc..f36e5b51d1 100644 --- a/package/python-weasyprint/python-weasyprint.mk +++ b/package/python-weasyprint/python-weasyprint.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_WEASYPRINT_VERSION = 54.2 +PYTHON_WEASYPRINT_VERSION = 54.3 PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz -PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/f3/dc/d3d6f1d87a0a0b09637a1f5076790e229cc803c3584ed4edb76553844001 +PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/e3/ba/d3453a6024e56a789ec9099a770c08b9998f8a60bf9b6375d9e76d67101a PYTHON_WEASYPRINT_SETUP_TYPE = flit PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:42:16 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:42:16 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-zopfli: bump to version 0.2.1 Message-ID: <20220420184216.777380-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-zopfli/python-zopfli.hash | 4 ++-- package/python-zopfli/python-zopfli.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-zopfli/python-zopfli.hash b/package/python-zopfli/python-zopfli.hash index 92b51bdf18..969ed97992 100644 --- a/package/python-zopfli/python-zopfli.hash +++ b/package/python-zopfli/python-zopfli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/zopfli/json -md5 f66b6f4132533b9b0ab8b0af757237bf zopfli-0.1.9.zip -sha256 78de3cc08a8efaa8013d61528907d91ac4d6cc014ffd8a41cc10ee75e9e60d7b zopfli-0.1.9.zip +md5 505ea595d86b8a7fec55620c839a4859 zopfli-0.2.1.zip +sha256 e5263d2806e2c1ccb23f52b2972a235d31d42f22f3fa3032cc9aded51e9bf2c6 zopfli-0.2.1.zip # Locally computed sha256 checksums sha256 018b1cb87efdf7a04c2fcc13d57ed63f62149113fb207b27ea13430d64f13513 COPYING diff --git a/package/python-zopfli/python-zopfli.mk b/package/python-zopfli/python-zopfli.mk index 95a0067b05..689634fefa 100644 --- a/package/python-zopfli/python-zopfli.mk +++ b/package/python-zopfli/python-zopfli.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ZOPFLI_VERSION = 0.1.9 +PYTHON_ZOPFLI_VERSION = 0.2.1 PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).zip -PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/10/7d/278fd896401b0ef76e06cd42c3ce1541572d83b1c713b6786795c60a1bbe +PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/91/25/ba6f370e18359292f05ca4df93642eb7d1c424721ef61f61b8610a63d0c5 PYTHON_ZOPFLI_SETUP_TYPE = setuptools PYTHON_ZOPFLI_LICENSE = Apache-2.0 PYTHON_ZOPFLI_LICENSE_FILES = COPYING -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:56:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:56:56 -0600 Subject: [Buildroot] [PATCH 1/1] package/zchunk: bump to version 1.2.2 Message-ID: <20220420185656.794855-1-james.hilliard1@gmail.com> Libcurl is now an optional dependency. Signed-off-by: James Hilliard --- package/zchunk/Config.in | 1 - package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 10 ++++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package/zchunk/Config.in b/package/zchunk/Config.in index 2d2a78a210..11463dd4bd 100644 --- a/package/zchunk/Config.in +++ b/package/zchunk/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_ZCHUNK bool "zchunk" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL - select BR2_PACKAGE_LIBCURL help A file format designed for highly efficient deltas while maintaining good compression. diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index d6b425dc70..fa097d4ae0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c zchunk-1.1.16.tar.gz +sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 6f7ac799a0..5582c21e77 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,15 +4,21 @@ # ################################################################################ -ZCHUNK_VERSION = 1.1.16 +ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_INSTALL_STAGING = YES ZCHUNK_DEPENDENCIES = \ - libcurl \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ZCHUNK_DEPENDENCIES += libcurl +ZCHUNK_CONF_OPTS += -Dwith-curl=enabled +else +ZCHUNK_CONF_OPTS += -Dwith-curl=disabled +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ZCHUNK_DEPENDENCIES += openssl ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 19:34:34 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 13:34:34 -0600 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump to version 0.3.50 Message-ID: <20220420193434.881088-1-james.hilliard1@gmail.com> Disable legacy-rtkit which we don't support. Signed-off-by: James Hilliard --- package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index e6fad56698..6f65a6b143 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 68bbf83b4c12bbcaef5d4bfb0dda86177583cf0abe0026efcfedd837b2e4926e pipewire-0.3.48.tar.bz2 +sha256 68592ab5852c46ee3d743f429f9d6b6c82171fa37b4b3854eb0da62b08b49d14 pipewire-0.3.50.tar.bz2 sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index 80246cc8d0..9d4dc45f02 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,7 +4,7 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.3.48 +PIPEWIRE_VERSION = 0.3.50 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) @@ -29,6 +29,7 @@ PIPEWIRE_CONF_OPTS += \ -Dvideotestsrc=enabled \ -Dvolume=enabled \ -Dsession-managers=[] \ + -Dlegacy-rtkit=false \ -Dlibcanberra=disabled \ -Dlv2=disabled -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 19:43:41 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 13:43:41 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-asn1crypto: bump to version 1.5.1 Message-ID: <20220420194341.882415-1-james.hilliard1@gmail.com> License hash changed due to date update: https://github.com/wbond/asn1crypto/commit/557a90012370d31eefccd92599dc1d9fa2fe99f2 Signed-off-by: James Hilliard --- package/python-asn1crypto/python-asn1crypto.hash | 6 +++--- package/python-asn1crypto/python-asn1crypto.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-asn1crypto/python-asn1crypto.hash b/package/python-asn1crypto/python-asn1crypto.hash index fb2da94ed5..4c9fda4618 100644 --- a/package/python-asn1crypto/python-asn1crypto.hash +++ b/package/python-asn1crypto/python-asn1crypto.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/asn1crypto/json -md5 00bf5b72d37778e62cc73b1d8909ae27 asn1crypto-1.4.0.tar.gz -sha256 f4f6e119474e58e04a2b1af817eb585b4fd72bdd89b998624712b5c99be7641c asn1crypto-1.4.0.tar.gz +md5 f7a5271af9b81246fbdf57d703afce2f asn1crypto-1.5.1.tar.gz +sha256 13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c asn1crypto-1.5.1.tar.gz # Locally computed sha256 checksums -sha256 a88480656ec98943fb04344f6a477ee74062896f3ddb1a6f99e5f05f0109a286 LICENSE +sha256 29c3425e5da53ab842273e5f2f2f068ce2e35df4260f7fa156aa1ac6bed02433 LICENSE diff --git a/package/python-asn1crypto/python-asn1crypto.mk b/package/python-asn1crypto/python-asn1crypto.mk index af4e43b3d0..480b70d17a 100644 --- a/package/python-asn1crypto/python-asn1crypto.mk +++ b/package/python-asn1crypto/python-asn1crypto.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ASN1CRYPTO_VERSION = 1.4.0 +PYTHON_ASN1CRYPTO_VERSION = 1.5.1 PYTHON_ASN1CRYPTO_SOURCE = asn1crypto-$(PYTHON_ASN1CRYPTO_VERSION).tar.gz -PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/6b/b4/42f0e52ac2184a8abb31f0a6f98111ceee1aac0b473cee063882436e0e09 +PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/de/cf/d547feed25b5244fcb9392e288ff9fdc3280b10260362fc45d37a798a6ee PYTHON_ASN1CRYPTO_SETUP_TYPE = setuptools PYTHON_ASN1CRYPTO_LICENSE = MIT PYTHON_ASN1CRYPTO_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 19:50:27 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 13:50:27 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-bsdiff4: bump to version 1.2.2 Message-ID: <20220420195027.883653-1-james.hilliard1@gmail.com> Migrate build system from distutils to setuptools. Signed-off-by: James Hilliard --- package/python-bsdiff4/python-bsdiff4.hash | 6 +++--- package/python-bsdiff4/python-bsdiff4.mk | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/python-bsdiff4/python-bsdiff4.hash b/package/python-bsdiff4/python-bsdiff4.hash index 4fddd137e6..bb84bb09a5 100644 --- a/package/python-bsdiff4/python-bsdiff4.hash +++ b/package/python-bsdiff4/python-bsdiff4.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/bsdiff4/json -md5 58889a1cd439c82c78aa2e4776b1ff38 bsdiff4-1.2.1.tar.gz -sha256 87cffc7522effdda03fd1564b212ad2279c0af50d16c3e65776f80acb6705d4b bsdiff4-1.2.1.tar.gz -# Locally computed sha256 +md5 fc5ea1adfe629a7c7ac6f4bb1a0dca93 bsdiff4-1.2.2.tar.gz +sha256 1880ac3f52a6c46ae6bcc6db117e4fb35f9b0ccd5af75fd4fee6907d00d6983c bsdiff4-1.2.2.tar.gz +# Locally computed sha256 checksums sha256 c6c921c90383f1c43beb53c49a652d28309a410a7c394c729fd8870271451cf0 LICENSE diff --git a/package/python-bsdiff4/python-bsdiff4.mk b/package/python-bsdiff4/python-bsdiff4.mk index e1c3f7765b..7a50e3379a 100644 --- a/package/python-bsdiff4/python-bsdiff4.mk +++ b/package/python-bsdiff4/python-bsdiff4.mk @@ -4,13 +4,13 @@ # ################################################################################ -PYTHON_BSDIFF4_VERSION = 1.2.1 +PYTHON_BSDIFF4_VERSION = 1.2.2 PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz -PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/d8/97/101315b0d8c8d6340ee310484a1af6a2ccf65d7bb4762c3a669cf9457c71 +PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/34/e2/e28dd282974f919a6b9adb3b7e64bb1fa4390046706c3e58a60b94aeb497 PYTHON_BSDIFF4_LICENSE = BSD-2-Clause, BSD-Protection (core.c) PYTHON_BSDIFF4_LICENSE_FILES = LICENSE PYTHON_BSDIFF4_CPE_ID_VENDOR = pypi PYTHON_BSDIFF4_CPE_ID_PRODUCT = bsdiff4 -PYTHON_BSDIFF4_SETUP_TYPE = distutils +PYTHON_BSDIFF4_SETUP_TYPE = setuptools $(eval $(python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 19:58:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 13:58:43 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-lxml: bump to version 4.8.0 Message-ID: <20220420195843.896993-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-lxml/python-lxml.hash | 2 +- package/python-lxml/python-lxml.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-lxml/python-lxml.hash b/package/python-lxml/python-lxml.hash index e33a8f8109..3600d7759a 100644 --- a/package/python-lxml/python-lxml.hash +++ b/package/python-lxml/python-lxml.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 6e84edecc3a82f90d44ddee2ee2a2630d4994b8471816e226d2b771cda7ac4ca lxml-4.6.5.tar.gz +sha256 f63f62fc60e6228a4ca9abae28228f35e1bd3ce675013d1dfb828688d50c6e23 lxml-4.8.0.tar.gz sha256 41d49dd406aa0e1548a6d5f21a30d6bf638b3cd96eb7289dd348d83ed2e40392 LICENSES.txt sha256 69edb445c1335a8312d4c09271847e9956d84f0d9f724d125340cc3fad767b2a doc/licenses/BSD.txt sha256 0497ae8138811ef4466ede653bab7a59feb3d3c14f9ed50fc33a00aeb5bec32e doc/licenses/elementtree.txt diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk index 8c2e965af6..90935a7ee1 100644 --- a/package/python-lxml/python-lxml.mk +++ b/package/python-lxml/python-lxml.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_LXML_VERSION = 4.6.5 -PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/e6/e1/34b3ab08553fe9a30e15b2bb9d1803a49d7d907dd9f245638839190042f0 +PYTHON_LXML_VERSION = 4.8.0 +PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/3b/94/e2b1b3bad91d15526c7e38918795883cee18b93f6785ea8ecf13f8ffa01e PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tar.gz # Not including the GPL, because it is used only for the test scripts. -- 2.25.1 From yann.morin.1998 at free.fr Wed Apr 20 20:01:02 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:01:02 +0200 Subject: [Buildroot] [PATCH] package/wtfutil: new package Message-ID: <20220420200102.2420626-1-yann.morin.1998@free.fr> Some of wtfutils modules (i.e. plugins) can call to external tools, so it needs to fork(), so needs an MMU. Signed-off-by: Yann E. MORIN --- $ ./utils/test-pkg -c wtf.cfg -d $(pwd)/test-pkg -k -p wtfutil -a andes-nds32 [ 1/45]: SKIPPED arm-aarch64 [ 2/45]: OK bootlin-aarch64-glibc [ 3/45]: OK bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED bootlin-armv5-uclibc [ 5/45]: OK bootlin-armv7-glibc [ 6/45]: OK bootlin-armv7m-uclibc [ 7/45]: SKIPPED bootlin-armv7-musl [ 8/45]: OK bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED bootlin-m68k-68040-uclibc [10/45]: SKIPPED bootlin-microblazeel-uclibc [11/45]: SKIPPED bootlin-mipsel32r6-glibc [12/45]: SKIPPED bootlin-mipsel-uclibc [13/45]: SKIPPED bootlin-nios2-glibc [14/45]: SKIPPED bootlin-openrisc-uclibc [15/45]: SKIPPED bootlin-powerpc64le-power8-glibc [16/45]: OK bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED bootlin-riscv32-glibc [18/45]: SKIPPED bootlin-riscv64-glibc [19/45]: SKIPPED bootlin-riscv64-musl [20/45]: SKIPPED bootlin-sh4-uclibc [21/45]: SKIPPED bootlin-sparc64-glibc [22/45]: SKIPPED bootlin-sparc-uclibc [23/45]: SKIPPED bootlin-x86-64-glibc [24/45]: OK bootlin-x86-64-musl [25/45]: OK bootlin-x86-64-uclibc [26/45]: OK bootlin-xtensa-uclibc [27/45]: SKIPPED br-arm-basic [28/45]: OK br-arm-full-nothread [29/45]: OK br-arm-full-static [30/45]: SKIPPED br-i386-pentium4-full [31/45]: OK br-i386-pentium-mmx-musl [32/45]: OK br-mips64-n64-full [33/45]: OK br-mips64r6-el-hf-glibc [34/45]: SKIPPED br-powerpc-603e-basic-cpp [35/45]: SKIPPED br-powerpc64-power7-glibc [36/45]: SKIPPED linaro-aarch64-be [37/45]: SKIPPED linaro-aarch64 [38/45]: OK linaro-arm [39/45]: OK sourcery-arm-armv4t [40/45]: SKIPPED sourcery-arm [41/45]: OK sourcery-arm-thumb2 [42/45]: OK sourcery-mips64 [43/45]: FAILED sourcery-mips [44/45]: SKIPPED sourcery-nios2 [45/45]: SKIPPED 45 builds, 26 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed The failing one is not even a build failure of wtfutil itself, but really just host-go that fails to build, because of some issues because of missing GOMIPS64 setting for soft-float, which when fixed opens another can of worms of itself... --- package/Config.in | 1 + package/wtfutil/Config.in | 8 ++++++++ package/wtfutil/wtfutil.hash | 2 ++ package/wtfutil/wtfutil.mk | 12 ++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 package/wtfutil/Config.in create mode 100644 package/wtfutil/wtfutil.hash create mode 100644 package/wtfutil/wtfutil.mk diff --git a/package/Config.in b/package/Config.in index 20d7156cea..f1e8b64e0d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2500,6 +2500,7 @@ comment "Utilities" source "package/tmux/Config.in" source "package/ttyd/Config.in" source "package/which/Config.in" + source "package/wtfutil/Config.in" source "package/xmlstarlet/Config.in" source "package/xxhash/Config.in" source "package/ytree/Config.in" diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in new file mode 100644 index 0000000000..8c3efcea5d --- /dev/null +++ b/package/wtfutil/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_WTFUTIL + bool "wtfutil" + depends on BR2_USE_MMU # fork() + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + help + WTF is the personal information dashboard for your terminal. + + https://wtfutil.com/ diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash new file mode 100644 index 0000000000..deb162794e --- /dev/null +++ b/package/wtfutil/wtfutil.hash @@ -0,0 +1,2 @@ +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk new file mode 100644 index 0000000000..6e841411a9 --- /dev/null +++ b/package/wtfutil/wtfutil.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# wtfutil +# +################################################################################ + +WTFUTIL_VERSION = 0.41.0 +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) +WTFUTIL_LICENSE = MPL-2.0 +WTFUTIL_LICENSE_FILES = LICENSE.md + +$(eval $(golang-package)) -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 20:05:08 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 14:05:08 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: bump to version 3.14.1 Message-ID: <20220420200508.900163-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-pycryptodomex/python-pycryptodomex.hash | 4 ++-- package/python-pycryptodomex/python-pycryptodomex.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-pycryptodomex/python-pycryptodomex.hash b/package/python-pycryptodomex/python-pycryptodomex.hash index 920cec2518..bb257499af 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.hash +++ b/package/python-pycryptodomex/python-pycryptodomex.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/pycryptodomex/json -md5 18f571832bbfbf0f4516ccef009f2dfb pycryptodomex-3.14.0.tar.gz -sha256 2d8bda8f949b79b78b293706aa7fc1e5c171c62661252bfdd5d12c70acd03282 pycryptodomex-3.14.0.tar.gz +md5 55f8c1121335891c7e972b73c15369ac pycryptodomex-3.14.1.tar.gz +sha256 2ce76ed0081fd6ac8c74edc75b9d14eca2064173af79843c24fa62573263c1f2 pycryptodomex-3.14.1.tar.gz # Locally computed sha256 checksums sha256 4e04660d77c1c64e89d79537919fb8240fa21484a7e3db29f358b2c7f84ea073 LICENSE.rst sha256 8e563c767164faa0831a333b57d23d4311cf566eb1b15d93250f4606be4eb549 Doc/LEGAL/COPYRIGHT.pycrypto diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index e3cc11afda..067516fc84 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYCRYPTODOMEX_VERSION = 3.14.0 +PYTHON_PYCRYPTODOMEX_VERSION = 3.14.1 PYTHON_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON_PYCRYPTODOMEX_VERSION).tar.gz -PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/a6/b3/a5e59cd3ad65d4dc470a3a63381d0495885cf1ac7659c83c6bc9e9e79df6 +PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/24/40/e249ac3845a2333ce50f1bb02299ffb766babdfe80ca9d31e0158ad06afd PYTHON_PYCRYPTODOMEX_SETUP_TYPE = setuptools PYTHON_PYCRYPTODOMEX_LICENSE = \ BSD-2-Clause, \ -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 20:37:20 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 14:37:20 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools-rust: bump to version 1.2.0 Message-ID: <20220420203720.1002314-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash index 6bb42d918c..ae3a3463a5 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.hash +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 479fcd267ff48929bec9a7270e1a96d7 setuptools-rust-1.1.2.tar.gz -sha256 a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1 setuptools-rust-1.1.2.tar.gz +md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz +sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz # Locally computed sha256 checksums sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk index 394789b056..c2d8c6d9a7 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.mk +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_RUST_VERSION = 1.1.2 +PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools PYTHON_SETUPTOOLS_RUST_LICENSE = MIT PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE -- 2.25.1 From yann.morin.1998 at free.fr Wed Apr 20 20:37:01 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:01 +0200 Subject: [Buildroot] [git commit] package/python-bidict: bump to version 0.22.0 Message-ID: <20220420203211.6AF4183F54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3f18f7f2d9e44d3d62582d9db32d909cb8074881 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master License hash changed due to adding dates/author name: https://github.com/jab/bidict/commit/b5c9f346ce0e3450a9df41c8740c32ed8b62f7f3 Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-bidict/python-bidict.hash | 6 +++--- package/python-bidict/python-bidict.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-bidict/python-bidict.hash b/package/python-bidict/python-bidict.hash index 59229f96d9..fe9a94af53 100644 --- a/package/python-bidict/python-bidict.hash +++ b/package/python-bidict/python-bidict.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/bidict/json -md5 d9342771969dd0d42092a669ed6f3241 bidict-0.21.3.tar.gz -sha256 d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d bidict-0.21.3.tar.gz +md5 da3d37ae93c740c191b5666918c3164f bidict-0.22.0.tar.gz +sha256 5c826b3e15e97cc6e615de295756847c282a79b79c5430d3bfc909b1ac9f5bd8 bidict-0.22.0.tar.gz # Locally computed sha256 checksums -sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE +sha256 be0487398bba08e7772b4077b637787b94973b53c44b3cbdd6c7dab10ed15035 LICENSE diff --git a/package/python-bidict/python-bidict.mk b/package/python-bidict/python-bidict.mk index c6b7b862ea..7ba15db605 100644 --- a/package/python-bidict/python-bidict.mk +++ b/package/python-bidict/python-bidict.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_BIDICT_VERSION = 0.21.3 +PYTHON_BIDICT_VERSION = 0.22.0 PYTHON_BIDICT_SOURCE = bidict-$(PYTHON_BIDICT_VERSION).tar.gz -PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/3f/81/7221b28d692af5c5fc180c4850b8e4a48c7db92b3d529b430488f67db74f +PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/2b/84/159749556b9c49ea4489dadeb94d44f05d6033d1db3af4c83120ecac5b15 PYTHON_BIDICT_SETUP_TYPE = setuptools PYTHON_BIDICT_LICENSE = MPL-2.0 PYTHON_BIDICT_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:03 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:03 +0200 Subject: [Buildroot] [git commit] package/python-charset-normalizer: bump to version 2.0.12 Message-ID: <20220420203211.757BB83F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4ce665083a2d81f3caf6d48dfc88c76c3fced06d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-charset-normalizer/python-charset-normalizer.hash | 4 ++-- package/python-charset-normalizer/python-charset-normalizer.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-charset-normalizer/python-charset-normalizer.hash b/package/python-charset-normalizer/python-charset-normalizer.hash index 3c6e58a616..da540bbb8f 100644 --- a/package/python-charset-normalizer/python-charset-normalizer.hash +++ b/package/python-charset-normalizer/python-charset-normalizer.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/charset-normalizer/json -md5 2abe3754fef25c99799a518cb83a81ae charset-normalizer-2.0.11.tar.gz -sha256 98398a9d69ee80548c762ba991a4728bfc3836768ed226b3945908d1a688371c charset-normalizer-2.0.11.tar.gz +md5 f6664e0e90dbb3cc9cfc154a980f9864 charset-normalizer-2.0.12.tar.gz +sha256 2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 charset-normalizer-2.0.12.tar.gz # Locally computed sha256 checksums sha256 eb31a0c5a4fb09b8a4e32055d25c1e5f9c358a2752fef3cd720213d1ccfee241 LICENSE diff --git a/package/python-charset-normalizer/python-charset-normalizer.mk b/package/python-charset-normalizer/python-charset-normalizer.mk index c37b068b36..0742fac639 100644 --- a/package/python-charset-normalizer/python-charset-normalizer.mk +++ b/package/python-charset-normalizer/python-charset-normalizer.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.11 +PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.12 PYTHON_CHARSET_NORMALIZER_SOURCE = charset-normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz -PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/e8/e8/b6cfd28fb430b2ec9923ad0147025bf8bbdf304b1eb3039b69f1ce44ed6e +PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools PYTHON_CHARSET_NORMALIZER_LICENSE = MIT PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:29 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:29 +0200 Subject: [Buildroot] [git commit] package/python-weasyprint: bump to version 54.3 Message-ID: <20220420203211.9B65283F5A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0f49ccd3949a2e8fba554e5b27e2b23376d973c0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-weasyprint/python-weasyprint.hash | 4 ++-- package/python-weasyprint/python-weasyprint.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-weasyprint/python-weasyprint.hash b/package/python-weasyprint/python-weasyprint.hash index 90ccc1d057..3ad59b6abb 100644 --- a/package/python-weasyprint/python-weasyprint.hash +++ b/package/python-weasyprint/python-weasyprint.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/weasyprint/json -md5 3917447c277db6931b8370f1d725db49 weasyprint-54.2.tar.gz -sha256 d5e8aa82e3e2a2477a4543f0646d9fb14080c9ba34a0859751eb23757cc00466 weasyprint-54.2.tar.gz +md5 262af43e54ad89ecd0e304bad799c47c weasyprint-54.3.tar.gz +sha256 e04da040630566c44caa202033f07f858765f536709045a809739f3d048e89d6 weasyprint-54.3.tar.gz # Locally computed sha256 checksums sha256 bfd14eccfa6100575460e685556b183399d4bd335904e3c9521b0116d21c54da LICENSE diff --git a/package/python-weasyprint/python-weasyprint.mk b/package/python-weasyprint/python-weasyprint.mk index 925de855bc..f36e5b51d1 100644 --- a/package/python-weasyprint/python-weasyprint.mk +++ b/package/python-weasyprint/python-weasyprint.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_WEASYPRINT_VERSION = 54.2 +PYTHON_WEASYPRINT_VERSION = 54.3 PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz -PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/f3/dc/d3d6f1d87a0a0b09637a1f5076790e229cc803c3584ed4edb76553844001 +PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/e3/ba/d3453a6024e56a789ec9099a770c08b9998f8a60bf9b6375d9e76d67101a PYTHON_WEASYPRINT_SETUP_TYPE = flit PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:24 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:24 +0200 Subject: [Buildroot] [git commit] package/python-fonttools: bump to version 4.32.0 Message-ID: <20220420203211.88DCC83F54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=63814cf5a4bf03dd230c392ef937132c1543a86f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-fonttools/python-fonttools.hash | 4 ++-- package/python-fonttools/python-fonttools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-fonttools/python-fonttools.hash b/package/python-fonttools/python-fonttools.hash index df0bdf980d..077b60a8bd 100644 --- a/package/python-fonttools/python-fonttools.hash +++ b/package/python-fonttools/python-fonttools.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/fonttools/json -md5 7fc490291991da874911fed1e743362d fonttools-4.29.1.zip -sha256 2b18a172120e32128a80efee04cff487d5d140fe7d817deb648b2eee023a40e4 fonttools-4.29.1.zip +md5 be2db6ae923a9b369a3739ed5bdf0fcf fonttools-4.32.0.zip +sha256 59a90de72149893167e3d552ae2402c6874e006b9adc3feaf5f6d706fe20d392 fonttools-4.32.0.zip # Locally computed sha256 checksums sha256 6787208f83f659ccbc2223b2fde952ffa6f7e8aca62f1a8a2bf5bc51bb1b2383 LICENSE diff --git a/package/python-fonttools/python-fonttools.mk b/package/python-fonttools/python-fonttools.mk index c07011daa0..28d4f4b52f 100644 --- a/package/python-fonttools/python-fonttools.mk +++ b/package/python-fonttools/python-fonttools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_FONTTOOLS_VERSION = 4.29.1 +PYTHON_FONTTOOLS_VERSION = 4.32.0 PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip -PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/2d/4c/49ba863863502bb9fea19d8bd04a527da336b4a2698c8a0c7129e9cc2716 +PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/88/27/418ac6f1b85856608df81fe6e72fbb85929d7b904540056f3061e27bba04 PYTHON_FONTTOOLS_SETUP_TYPE = setuptools PYTHON_FONTTOOLS_LICENSE = MIT PYTHON_FONTTOOLS_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:31 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:31 +0200 Subject: [Buildroot] [git commit] package/python-zopfli: bump to version 0.2.1 Message-ID: <20220420203211.A4E2D83F54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b4d9efb434555b7c7ed4fb1ec0ec0b4b23a3cf02 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-zopfli/python-zopfli.hash | 4 ++-- package/python-zopfli/python-zopfli.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-zopfli/python-zopfli.hash b/package/python-zopfli/python-zopfli.hash index 92b51bdf18..969ed97992 100644 --- a/package/python-zopfli/python-zopfli.hash +++ b/package/python-zopfli/python-zopfli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/zopfli/json -md5 f66b6f4132533b9b0ab8b0af757237bf zopfli-0.1.9.zip -sha256 78de3cc08a8efaa8013d61528907d91ac4d6cc014ffd8a41cc10ee75e9e60d7b zopfli-0.1.9.zip +md5 505ea595d86b8a7fec55620c839a4859 zopfli-0.2.1.zip +sha256 e5263d2806e2c1ccb23f52b2972a235d31d42f22f3fa3032cc9aded51e9bf2c6 zopfli-0.2.1.zip # Locally computed sha256 checksums sha256 018b1cb87efdf7a04c2fcc13d57ed63f62149113fb207b27ea13430d64f13513 COPYING diff --git a/package/python-zopfli/python-zopfli.mk b/package/python-zopfli/python-zopfli.mk index 95a0067b05..689634fefa 100644 --- a/package/python-zopfli/python-zopfli.mk +++ b/package/python-zopfli/python-zopfli.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ZOPFLI_VERSION = 0.1.9 +PYTHON_ZOPFLI_VERSION = 0.2.1 PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).zip -PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/10/7d/278fd896401b0ef76e06cd42c3ce1541572d83b1c713b6786795c60a1bbe +PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/91/25/ba6f370e18359292f05ca4df93642eb7d1c424721ef61f61b8610a63d0c5 PYTHON_ZOPFLI_SETUP_TYPE = setuptools PYTHON_ZOPFLI_LICENSE = Apache-2.0 PYTHON_ZOPFLI_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Wed Apr 20 20:37:27 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:27 +0200 Subject: [Buildroot] [git commit] package/python-logstash: bump to version 0.4.8 Message-ID: <20220420203211.9202E83F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=94e21a0d42f57fe34afd2f8e9effd872389cbc4a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-logstash/python-logstash.hash | 6 +++--- package/python-logstash/python-logstash.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-logstash/python-logstash.hash b/package/python-logstash/python-logstash.hash index ba11c7ffaa..297bb16bf2 100644 --- a/package/python-logstash/python-logstash.hash +++ b/package/python-logstash/python-logstash.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/python-logstash/json -md5 26fafa0ea306025fb7644d70cb38982a python-logstash-0.4.6.tar.gz -sha256 10943e5df83f592b4d61b63ad1afff855ccc8c9467f78718f0a59809ba1fe68c python-logstash-0.4.6.tar.gz +md5 e2cbc75dd5417cb55acaa3a12bf3afac python-logstash-0.4.8.tar.gz +sha256 d04e1ce11ecc107e4a4f3b807fc57d96811e964a554081b3bbb44732f74ef5f9 python-logstash-0.4.8.tar.gz # Locally computed sha256 checksums -sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff LICENSE +sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff LICENSE diff --git a/package/python-logstash/python-logstash.mk b/package/python-logstash/python-logstash.mk index 68930bb1f9..a78b6e6590 100644 --- a/package/python-logstash/python-logstash.mk +++ b/package/python-logstash/python-logstash.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_LOGSTASH_VERSION = 0.4.6 -PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/4e/8d/7ff2e8e8e2613e7bb7654790480bb4cf51a55721371adbb631b16cb16dce +PYTHON_LOGSTASH_VERSION = 0.4.8 +PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/f7/3b/c3a957bbdd23859f07905fc3d1adfe89957217a347478c58409f0315cf1d PYTHON_LOGSTASH_SETUP_TYPE = distutils PYTHON_LOGSTASH_LICENSE = MIT PYTHON_LOGSTASH_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:05 +0200 Subject: [Buildroot] [git commit] package/python-cssselect2: bump to version 0.6.0 Message-ID: <20220420203211.7FA9083F5A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c7acb13bc6f5bdf87c088d0504d6962e0c966c4e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-cssselect2/python-cssselect2.hash | 4 ++-- package/python-cssselect2/python-cssselect2.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-cssselect2/python-cssselect2.hash b/package/python-cssselect2/python-cssselect2.hash index fd892e297f..ffbafdfd40 100644 --- a/package/python-cssselect2/python-cssselect2.hash +++ b/package/python-cssselect2/python-cssselect2.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/cssselect2/json -md5 6206ebccfdd9fc02196f60e830fa7b1f cssselect2-0.5.0.tar.gz -sha256 d98a7bbdd8ebc46093279195d669a3359bd5a23f90c19e82c19d9eeef333e617 cssselect2-0.5.0.tar.gz +md5 cb5630e049172f431aeb82a3d504664a cssselect2-0.6.0.tar.gz +sha256 5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325 cssselect2-0.6.0.tar.gz # Locally computed sha256 checksums sha256 6fd97229a1d1b0f6a8b41e109f413426dbc0874b1e03746d66cc33282601c2c2 LICENSE diff --git a/package/python-cssselect2/python-cssselect2.mk b/package/python-cssselect2/python-cssselect2.mk index b3ddf41fef..0e34059e75 100644 --- a/package/python-cssselect2/python-cssselect2.mk +++ b/package/python-cssselect2/python-cssselect2.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CSSSELECT2_VERSION = 0.5.0 +PYTHON_CSSSELECT2_VERSION = 0.6.0 PYTHON_CSSSELECT2_SOURCE = cssselect2-$(PYTHON_CSSSELECT2_VERSION).tar.gz -PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/ce/e7/1333b9042beb33a9bb425900b6d9b59035b98c31c950a323d14ceca1275e +PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/68/62/b6a16d0c32bb088079f344202e3cd0936380a4d8cb23ef9b1f8079ff8612 PYTHON_CSSSELECT2_SETUP_TYPE = flit PYTHON_CSSSELECT2_LICENSE = BSD-3-Clause PYTHON_CSSSELECT2_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:40 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:40 +0200 Subject: [Buildroot] [git commit] package/python-pycryptodomex: bump to version 3.14.1 Message-ID: <20220420203211.C831883F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=adab02c5ac1fd78e7bdd7629ab7983124b24d3ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-pycryptodomex/python-pycryptodomex.hash | 4 ++-- package/python-pycryptodomex/python-pycryptodomex.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-pycryptodomex/python-pycryptodomex.hash b/package/python-pycryptodomex/python-pycryptodomex.hash index 920cec2518..bb257499af 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.hash +++ b/package/python-pycryptodomex/python-pycryptodomex.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/pycryptodomex/json -md5 18f571832bbfbf0f4516ccef009f2dfb pycryptodomex-3.14.0.tar.gz -sha256 2d8bda8f949b79b78b293706aa7fc1e5c171c62661252bfdd5d12c70acd03282 pycryptodomex-3.14.0.tar.gz +md5 55f8c1121335891c7e972b73c15369ac pycryptodomex-3.14.1.tar.gz +sha256 2ce76ed0081fd6ac8c74edc75b9d14eca2064173af79843c24fa62573263c1f2 pycryptodomex-3.14.1.tar.gz # Locally computed sha256 checksums sha256 4e04660d77c1c64e89d79537919fb8240fa21484a7e3db29f358b2c7f84ea073 LICENSE.rst sha256 8e563c767164faa0831a333b57d23d4311cf566eb1b15d93250f4606be4eb549 Doc/LEGAL/COPYRIGHT.pycrypto diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index e3cc11afda..067516fc84 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYCRYPTODOMEX_VERSION = 3.14.0 +PYTHON_PYCRYPTODOMEX_VERSION = 3.14.1 PYTHON_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON_PYCRYPTODOMEX_VERSION).tar.gz -PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/a6/b3/a5e59cd3ad65d4dc470a3a63381d0495885cf1ac7659c83c6bc9e9e79df6 +PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/24/40/e249ac3845a2333ce50f1bb02299ffb766babdfe80ca9d31e0158ad06afd PYTHON_PYCRYPTODOMEX_SETUP_TYPE = setuptools PYTHON_PYCRYPTODOMEX_LICENSE = \ BSD-2-Clause, \ From yann.morin.1998 at free.fr Wed Apr 20 20:37:34 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:34 +0200 Subject: [Buildroot] [git commit] package/python-asn1crypto: bump to version 1.5.1 Message-ID: <20220420203211.AD93383F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=daf331b3afac908e0d7949e55659182810dbbf1c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master License hash changed due to date update: https://github.com/wbond/asn1crypto/commit/557a90012370d31eefccd92599dc1d9fa2fe99f2 Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-asn1crypto/python-asn1crypto.hash | 6 +++--- package/python-asn1crypto/python-asn1crypto.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-asn1crypto/python-asn1crypto.hash b/package/python-asn1crypto/python-asn1crypto.hash index fb2da94ed5..4c9fda4618 100644 --- a/package/python-asn1crypto/python-asn1crypto.hash +++ b/package/python-asn1crypto/python-asn1crypto.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/asn1crypto/json -md5 00bf5b72d37778e62cc73b1d8909ae27 asn1crypto-1.4.0.tar.gz -sha256 f4f6e119474e58e04a2b1af817eb585b4fd72bdd89b998624712b5c99be7641c asn1crypto-1.4.0.tar.gz +md5 f7a5271af9b81246fbdf57d703afce2f asn1crypto-1.5.1.tar.gz +sha256 13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c asn1crypto-1.5.1.tar.gz # Locally computed sha256 checksums -sha256 a88480656ec98943fb04344f6a477ee74062896f3ddb1a6f99e5f05f0109a286 LICENSE +sha256 29c3425e5da53ab842273e5f2f2f068ce2e35df4260f7fa156aa1ac6bed02433 LICENSE diff --git a/package/python-asn1crypto/python-asn1crypto.mk b/package/python-asn1crypto/python-asn1crypto.mk index af4e43b3d0..480b70d17a 100644 --- a/package/python-asn1crypto/python-asn1crypto.mk +++ b/package/python-asn1crypto/python-asn1crypto.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ASN1CRYPTO_VERSION = 1.4.0 +PYTHON_ASN1CRYPTO_VERSION = 1.5.1 PYTHON_ASN1CRYPTO_SOURCE = asn1crypto-$(PYTHON_ASN1CRYPTO_VERSION).tar.gz -PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/6b/b4/42f0e52ac2184a8abb31f0a6f98111ceee1aac0b473cee063882436e0e09 +PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/de/cf/d547feed25b5244fcb9392e288ff9fdc3280b10260362fc45d37a798a6ee PYTHON_ASN1CRYPTO_SETUP_TYPE = setuptools PYTHON_ASN1CRYPTO_LICENSE = MIT PYTHON_ASN1CRYPTO_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:36 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:36 +0200 Subject: [Buildroot] [git commit] package/python-bsdiff4: bump to version 1.2.2 Message-ID: <20220420203211.B658683F5A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=19e0d88dca22c81fdbb08de405ce80f9e9f69ea0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Migrate build system from distutils to setuptools. Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-bsdiff4/python-bsdiff4.hash | 6 +++--- package/python-bsdiff4/python-bsdiff4.mk | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/python-bsdiff4/python-bsdiff4.hash b/package/python-bsdiff4/python-bsdiff4.hash index 4fddd137e6..bb84bb09a5 100644 --- a/package/python-bsdiff4/python-bsdiff4.hash +++ b/package/python-bsdiff4/python-bsdiff4.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/bsdiff4/json -md5 58889a1cd439c82c78aa2e4776b1ff38 bsdiff4-1.2.1.tar.gz -sha256 87cffc7522effdda03fd1564b212ad2279c0af50d16c3e65776f80acb6705d4b bsdiff4-1.2.1.tar.gz -# Locally computed sha256 +md5 fc5ea1adfe629a7c7ac6f4bb1a0dca93 bsdiff4-1.2.2.tar.gz +sha256 1880ac3f52a6c46ae6bcc6db117e4fb35f9b0ccd5af75fd4fee6907d00d6983c bsdiff4-1.2.2.tar.gz +# Locally computed sha256 checksums sha256 c6c921c90383f1c43beb53c49a652d28309a410a7c394c729fd8870271451cf0 LICENSE diff --git a/package/python-bsdiff4/python-bsdiff4.mk b/package/python-bsdiff4/python-bsdiff4.mk index e1c3f7765b..7a50e3379a 100644 --- a/package/python-bsdiff4/python-bsdiff4.mk +++ b/package/python-bsdiff4/python-bsdiff4.mk @@ -4,13 +4,13 @@ # ################################################################################ -PYTHON_BSDIFF4_VERSION = 1.2.1 +PYTHON_BSDIFF4_VERSION = 1.2.2 PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz -PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/d8/97/101315b0d8c8d6340ee310484a1af6a2ccf65d7bb4762c3a669cf9457c71 +PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/34/e2/e28dd282974f919a6b9adb3b7e64bb1fa4390046706c3e58a60b94aeb497 PYTHON_BSDIFF4_LICENSE = BSD-2-Clause, BSD-Protection (core.c) PYTHON_BSDIFF4_LICENSE_FILES = LICENSE PYTHON_BSDIFF4_CPE_ID_VENDOR = pypi PYTHON_BSDIFF4_CPE_ID_PRODUCT = bsdiff4 -PYTHON_BSDIFF4_SETUP_TYPE = distutils +PYTHON_BSDIFF4_SETUP_TYPE = setuptools $(eval $(python-package)) From yann.morin.1998 at free.fr Wed Apr 20 20:37:38 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:38 +0200 Subject: [Buildroot] [git commit] package/python-lxml: bump to version 4.8.0 Message-ID: <20220420203211.BF22B83F54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=94a4e96553b195f3b1c3ec9d047b9b08ccc00a07 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-lxml/python-lxml.hash | 2 +- package/python-lxml/python-lxml.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-lxml/python-lxml.hash b/package/python-lxml/python-lxml.hash index e33a8f8109..3600d7759a 100644 --- a/package/python-lxml/python-lxml.hash +++ b/package/python-lxml/python-lxml.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 6e84edecc3a82f90d44ddee2ee2a2630d4994b8471816e226d2b771cda7ac4ca lxml-4.6.5.tar.gz +sha256 f63f62fc60e6228a4ca9abae28228f35e1bd3ce675013d1dfb828688d50c6e23 lxml-4.8.0.tar.gz sha256 41d49dd406aa0e1548a6d5f21a30d6bf638b3cd96eb7289dd348d83ed2e40392 LICENSES.txt sha256 69edb445c1335a8312d4c09271847e9956d84f0d9f724d125340cc3fad767b2a doc/licenses/BSD.txt sha256 0497ae8138811ef4466ede653bab7a59feb3d3c14f9ed50fc33a00aeb5bec32e doc/licenses/elementtree.txt diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk index 8c2e965af6..90935a7ee1 100644 --- a/package/python-lxml/python-lxml.mk +++ b/package/python-lxml/python-lxml.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_LXML_VERSION = 4.6.5 -PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/e6/e1/34b3ab08553fe9a30e15b2bb9d1803a49d7d907dd9f245638839190042f0 +PYTHON_LXML_VERSION = 4.8.0 +PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/3b/94/e2b1b3bad91d15526c7e38918795883cee18b93f6785ea8ecf13f8ffa01e PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tar.gz # Not including the GPL, because it is used only for the test scripts. From yann.morin.1998 at free.fr Wed Apr 20 20:42:39 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:42:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-bidict: bump to version 0.22.0 In-Reply-To: <20220420181625.762383-1-james.hilliard1@gmail.com> References: <20220420181625.762383-1-james.hilliard1@gmail.com> Message-ID: <20220420204239.GG2730@scaer> James, All, On 2022-04-20 12:16 -0600, James Hilliard spake thusly: > License hash changed due to adding dates/author name: > https://github.com/jab/bidict/commit/b5c9f346ce0e3450a9df41c8740c32ed8b62f7f3 > > Signed-off-by: James Hilliard Applied to master, thanks, along with the next 10 bumps. Regards, Yann E. MORIN. > --- > package/python-bidict/python-bidict.hash | 6 +++--- > package/python-bidict/python-bidict.mk | 4 ++-- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/python-bidict/python-bidict.hash b/package/python-bidict/python-bidict.hash > index 59229f96d9..fe9a94af53 100644 > --- a/package/python-bidict/python-bidict.hash > +++ b/package/python-bidict/python-bidict.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/bidict/json > -md5 d9342771969dd0d42092a669ed6f3241 bidict-0.21.3.tar.gz > -sha256 d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d bidict-0.21.3.tar.gz > +md5 da3d37ae93c740c191b5666918c3164f bidict-0.22.0.tar.gz > +sha256 5c826b3e15e97cc6e615de295756847c282a79b79c5430d3bfc909b1ac9f5bd8 bidict-0.22.0.tar.gz > # Locally computed sha256 checksums > -sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE > +sha256 be0487398bba08e7772b4077b637787b94973b53c44b3cbdd6c7dab10ed15035 LICENSE > diff --git a/package/python-bidict/python-bidict.mk b/package/python-bidict/python-bidict.mk > index c6b7b862ea..7ba15db605 100644 > --- a/package/python-bidict/python-bidict.mk > +++ b/package/python-bidict/python-bidict.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -PYTHON_BIDICT_VERSION = 0.21.3 > +PYTHON_BIDICT_VERSION = 0.22.0 > PYTHON_BIDICT_SOURCE = bidict-$(PYTHON_BIDICT_VERSION).tar.gz > -PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/3f/81/7221b28d692af5c5fc180c4850b8e4a48c7db92b3d529b430488f67db74f > +PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/2b/84/159749556b9c49ea4489dadeb94d44f05d6033d1db3af4c83120ecac5b15 > PYTHON_BIDICT_SETUP_TYPE = setuptools > PYTHON_BIDICT_LICENSE = MPL-2.0 > PYTHON_BIDICT_LICENSE_FILES = LICENSE > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 20:43:04 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:43:04 +0200 Subject: [Buildroot] [git commit] package/zchunk: bump to version 1.2.2 Message-ID: <20220420203336.B19CC83F65@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f1130afcdac3c2fb54b7a3d95ca7b4073b9453b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Libcurl is now an optional dependency. Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/zchunk/Config.in | 1 - package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 10 ++++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package/zchunk/Config.in b/package/zchunk/Config.in index 2d2a78a210..11463dd4bd 100644 --- a/package/zchunk/Config.in +++ b/package/zchunk/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_ZCHUNK bool "zchunk" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL - select BR2_PACKAGE_LIBCURL help A file format designed for highly efficient deltas while maintaining good compression. diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index d6b425dc70..fa097d4ae0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c zchunk-1.1.16.tar.gz +sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 6f7ac799a0..5582c21e77 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,15 +4,21 @@ # ################################################################################ -ZCHUNK_VERSION = 1.1.16 +ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_INSTALL_STAGING = YES ZCHUNK_DEPENDENCIES = \ - libcurl \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ZCHUNK_DEPENDENCIES += libcurl +ZCHUNK_CONF_OPTS += -Dwith-curl=enabled +else +ZCHUNK_CONF_OPTS += -Dwith-curl=disabled +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ZCHUNK_DEPENDENCIES += openssl ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled From yann.morin.1998 at free.fr Wed Apr 20 20:43:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:43:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/zchunk: bump to version 1.2.2 In-Reply-To: <20220420185656.794855-1-james.hilliard1@gmail.com> References: <20220420185656.794855-1-james.hilliard1@gmail.com> Message-ID: <20220420204353.GH2730@scaer> James, All, On 2022-04-20 12:56 -0600, James Hilliard spake thusly: > Libcurl is now an optional dependency. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/zchunk/Config.in | 1 - > package/zchunk/zchunk.hash | 2 +- > package/zchunk/zchunk.mk | 10 ++++++++-- > 3 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/package/zchunk/Config.in b/package/zchunk/Config.in > index 2d2a78a210..11463dd4bd 100644 > --- a/package/zchunk/Config.in > +++ b/package/zchunk/Config.in > @@ -2,7 +2,6 @@ config BR2_PACKAGE_ZCHUNK > bool "zchunk" > depends on BR2_USE_MMU # fork() > select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL > - select BR2_PACKAGE_LIBCURL > help > A file format designed for highly efficient deltas while > maintaining good compression. > diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash > index d6b425dc70..fa097d4ae0 100644 > --- a/package/zchunk/zchunk.hash > +++ b/package/zchunk/zchunk.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c zchunk-1.1.16.tar.gz > +sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz > sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE > diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk > index 6f7ac799a0..5582c21e77 100644 > --- a/package/zchunk/zchunk.mk > +++ b/package/zchunk/zchunk.mk > @@ -4,15 +4,21 @@ > # > ################################################################################ > > -ZCHUNK_VERSION = 1.1.16 > +ZCHUNK_VERSION = 1.2.2 > ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) > ZCHUNK_LICENSE = BSD-2-Clause > ZCHUNK_LICENSE_FILES = LICENSE > ZCHUNK_INSTALL_STAGING = YES > ZCHUNK_DEPENDENCIES = \ > - libcurl \ > $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) > > +ifeq ($(BR2_PACKAGE_LIBCURL),y) > +ZCHUNK_DEPENDENCIES += libcurl > +ZCHUNK_CONF_OPTS += -Dwith-curl=enabled > +else > +ZCHUNK_CONF_OPTS += -Dwith-curl=disabled > +endif > + > ifeq ($(BR2_PACKAGE_OPENSSL),y) > ZCHUNK_DEPENDENCIES += openssl > ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 20:55:21 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:55:21 +0200 Subject: [Buildroot] [git commit] package/ragel: new package Message-ID: <20220420204555.EDD7283F6B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=db3e2e4da88a10e8125b8e343c0ece106613b5b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is an host-only package that does preprocessing to .rl files to turn them into .c or .cpp files. Initially added to support package/roc. See https://www.colm.net/open-source/ragel/ for the project's home page: Ragel compiles executable finite state machines from regular languages. Ragel targets C, C++ and ASM. Ragel state machines can not only recognize byte sequences as regular expression machines do, but can also execute code at arbitrary points in the recognition of a regular language. Code embedding is done using inline operators that do not disrupt the regular language syntax. Signed-off-by: Th??o Lebrun [yann.morin.1998 at free.fr: drop empty _DEPENDENCIES] Signed-off-by: Yann E. MORIN --- package/ragel/ragel.hash | 3 +++ package/ragel/ragel.mk | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/package/ragel/ragel.hash b/package/ragel/ragel.hash new file mode 100644 index 0000000000..332f587432 --- /dev/null +++ b/package/ragel/ragel.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f ragel-6.10.tar.gz +sha256 05a87975accb539399d0c8a4f4402ac27a6762fb1e4f31d04d455a8bee3e3693 COPYING diff --git a/package/ragel/ragel.mk b/package/ragel/ragel.mk new file mode 100644 index 0000000000..56afcd7236 --- /dev/null +++ b/package/ragel/ragel.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# ragel +# +################################################################################ + +RAGEL_VERSION = 6.10 +RAGEL_SITE = https://www.colm.net/files/ragel/ +RAGEL_LICENSE = GPL-2.0 +RAGEL_LICENSE_FILES = COPYING +RAGEL_CONF_OPTS = \ + --disable-silent-rules \ + --disable-manual \ + --disable-dependency-tracking + +$(eval $(host-autotools-package)) From yann.morin.1998 at free.fr Wed Apr 20 20:57:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:57:08 +0200 Subject: [Buildroot] [PATCH 1/3] package/ragel: new package In-Reply-To: <20220310152048.633340-1-theo.lebrun@bootlin.com> References: <20220310152048.633340-1-theo.lebrun@bootlin.com> Message-ID: <20220420205708.GI2730@scaer> Th?o, All, On 2022-03-10 16:20 +0100, Th?o Lebrun via buildroot spake thusly: > This is an host-only package that does preprocessing to .rl files to > turn them into .c or .cpp files. > > Initially added to support package/roc. > > See https://www.colm.net/open-source/ragel/ for the project's home page: > > Ragel compiles executable finite state machines from regular languages. > Ragel targets C, C++ and ASM. Ragel state machines can not only > recognize byte sequences as regular expression machines do, but can > also execute code at arbitrary points in the recognition of a regular > language. Code embedding is done using inline operators that do not > disrupt the regular language syntax. > > Signed-off-by: Th?o Lebrun > --- > package/ragel/ragel.hash | 3 +++ > package/ragel/ragel.mk | 18 ++++++++++++++++++ > 2 files changed, 21 insertions(+) > create mode 100644 package/ragel/ragel.hash > create mode 100644 package/ragel/ragel.mk > > diff --git a/package/ragel/ragel.hash b/package/ragel/ragel.hash > new file mode 100644 > index 0000000000..332f587432 > --- /dev/null > +++ b/package/ragel/ragel.hash > @@ -0,0 +1,3 @@ > +# Locally computed: > +sha256 5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f ragel-6.10.tar.gz > +sha256 05a87975accb539399d0c8a4f4402ac27a6762fb1e4f31d04d455a8bee3e3693 COPYING > diff --git a/package/ragel/ragel.mk b/package/ragel/ragel.mk > new file mode 100644 > index 0000000000..476aff5da4 > --- /dev/null > +++ b/package/ragel/ragel.mk > @@ -0,0 +1,18 @@ > +################################################################################ > +# > +# ragel > +# > +################################################################################ > + > +RAGEL_VERSION = 6.10 > +RAGEL_SITE = https://www.colm.net/files/ragel/ > +RAGEL_LICENSE = GPL-2.0 > +RAGEL_LICENSE_FILES = COPYING > +RAGEL_CONF_OPTS = \ > + --disable-silent-rules \ > + --disable-manual \ > + --disable-dependency-tracking > +RAGEL_DEPENDENCIES = > +HOST_RAGEL_DEPENDENCIES = Useless setting of empty variables. Besides, RAGEL_DEPENDENCIES is not even needed as this is a host-only package. Applied to master after dropping those two variables, thanks. Regards, Yann E. MORIN. > +$(eval $(host-autotools-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 21:07:14 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:07:14 +0200 Subject: [Buildroot] [PATCH 1/3] package/ragel: new package In-Reply-To: <20220420205708.GI2730@scaer> References: <20220310152048.633340-1-theo.lebrun@bootlin.com> <20220420205708.GI2730@scaer> Message-ID: <20220420210714.GJ2730@scaer> Th?o, All, On 2022-04-20 22:57 +0200, Yann E. MORIN spake thusly: > On 2022-03-10 16:20 +0100, Th?o Lebrun via buildroot spake thusly: > > This is an host-only package that does preprocessing to .rl files to > > turn them into .c or .cpp files. [--SNIP--] > > +RAGEL_VERSION = 6.10 > > +RAGEL_SITE = https://www.colm.net/files/ragel/ > > +RAGEL_LICENSE = GPL-2.0 > > +RAGEL_LICENSE_FILES = COPYING > > +RAGEL_CONF_OPTS = \ > > + --disable-silent-rules \ > > + --disable-manual \ > > + --disable-dependency-tracking Gah, I forgot to comment about those before pushing and sending the previous mail... So, why were --disable-silent-rules and --disable-dependency-tracking needed? Usually, they are not needed, and we do not even set them in our autotools-package infra. If they are really important, could you please send a followup that adds a comment above RAGEL_CONF_OPTS? And if they are not needed, can you send a followup patch that removes them? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 21:28:26 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:28:26 +0200 Subject: [Buildroot] [PATCH 2/3] package/roc: new package In-Reply-To: <20220310152048.633340-2-theo.lebrun@bootlin.com> References: <20220310152048.633340-1-theo.lebrun@bootlin.com> <20220310152048.633340-2-theo.lebrun@bootlin.com> Message-ID: <20220420212826.GK2730@scaer> Th?o, All, On 2022-03-10 16:20 +0100, Th?o Lebrun via buildroot spake thusly: > Roc is a toolkit for real-time audio streaming over the network. > https://roc-streaming.org/ > > Goal: optional dependency to PipeWire. > Requires host-ragel to build. > > Signed-off-by: Th?o Lebrun > --- [--SNIP--] > diff --git a/package/roc/0001-fix-build-that-used-removed-functionality.patch b/package/roc/0001-fix-build-that-used-removed-functionality.patch > new file mode 100644 > index 0000000000..50147905c8 > --- /dev/null > +++ b/package/roc/0001-fix-build-that-used-removed-functionality.patch > @@ -0,0 +1,28 @@ > +build: fix build that used removed functionality > + > +The SConstruct file used the "SourceCode()" method that was removed in > +SCons 4.0.0, after being deprecated in 2.0.0. > + > +This was fixed upstream but is not in the latest release yet. > +https://github.com/roc-streaming/roc-toolkit/commit/abdfbb94df98fe88be4dd92ca587500126558411 Then please just backport that upstream commit (git format-patch, then add your SoB line). [--SNIP--] > diff --git a/package/roc/Config.in b/package/roc/Config.in > new file mode 100644 > index 0000000000..3fd74cab3f > --- /dev/null > +++ b/package/roc/Config.in > @@ -0,0 +1,28 @@ > +comment "ROC needs a toolchain w/ shared libraries, C++, NPTL" > + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ > + !BR2_TOOLCHAIN_HAS_THREADS_NPTL > + depends on BR2_USE_MMU > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > + > +config BR2_PACKAGE_ROC > + bool "roc" > + # depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_1 Drop commented-out dependency. > + depends on !BR2_STATIC_LIBS > + depends on BR2_INSTALL_LIBSTDCPP > + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv > + depends on BR2_USE_MMU # libuv > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv Depenencies order are: - arch dependencies - toolchain dependencies - package dependencies https://buildroot.org/downloads/manual/manual.html#_config_files > + select BR2_PACKAGE_HOST_PYTHON3 > + select BR2_PACKAGE_HOST_PYTHON3_SSL > + select BR2_PACKAGE_LIBUV > + help > + Roc is a toolkit for real-time audio streaming over the > + network. > + > + https://roc-streaming.org/ > + > +if BR2_PACKAGE_ROC Empty line after an if (not a written rule, but it's more readable). > +config BR2_PACKAGE_ROC_TOOLS > + bool "build roc-{conv,recv,send} tools" > + default y We sually shy away from 'default y', unless there is a good reason, which thus needs to be explained in the commit log. Empty line before an endif (ditto). [--SNIP--] > diff --git a/package/roc/roc.mk b/package/roc/roc.mk > new file mode 100644 > index 0000000000..90d226ffbd > --- /dev/null > +++ b/package/roc/roc.mk > @@ -0,0 +1,75 @@ > +################################################################################ > +# > +# roc > +# > +################################################################################ > + > +ROC_VERSION = v0.1.5 > +ROC_SITE = $(call github,roc-streaming,roc-toolkit,$(ROC_VERSION)) > +ROC_LICENSE = MPL-2.0 > +ROC_LICENSE_FILES = LICENSE > +ROC_INSTALL_STAGING = YES > +ROC_DEPENDENCIES = \ > + host-gengetopt \ > + host-pkgconf \ > + host-ragel \ > + host-scons \ > + libuv > + > +ROC_SCONS_OPTS = \ > + --disable-tests \ > + --disable-examples \ > + --disable-doc \ > + --disable-libunwind \ > + --build-3rdparty=openfec > +# We are not building OpenFEC ourselves as they are using a forked version. See > +# the following note in the documentation: > +# https://github.com/roc-streaming/roc-toolkit/blob/c89687330bfce6f4dce79826f7a235b581f2b49d/docs/sphinx/building/dependencies.rst This must be explained in the commit log. But why can't we use openfec as a separate package, using the roc fork? The original OpenFEC has not been updated sine 2014: http://openfec.org/ The fork is not in a much better shape, not having been updated since 2019: https://github.com/roc-streaming/openfec So, I would think it would be OK to package the roc fork of OpenFEC, rather than use the bundled version. Also, using --build-3rdparty means the download is done at configure time (or even at build time), but we try to be able to build without network; the following is expected to work: $ make source [unplug network] $ make but --build-3rdparty will make that faile, AFAICS. > +# The shared library is enabled by default. --enable-lib does not exist. > +ifneq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) Why not use positive logic; ifeq ($(BR2_STATIC_LIBS),y) > +ROC_SCONS_OPTS += --disable-lib > +endif > + > +ifeq ($(BR2_PACKAGE_ROC_TOOLS),y) > + > +# Tools are enabled by default. --enable-tools does not exist. > + > +# SoX and Pulseaudio support is only used for tools or examples, which is why > +# their support is inside the TOOLS condition. Are examples built by default? If yes, can we disable them? If yes, should we do that unconditionally, or add an option (I'd vote against the option)? > +ifeq ($(BR2_PACKAGE_SOX),y) > +ROC_DEPENDENCIES += sox > +else > +ROC_SCONS_OPTS += --disable-sox > +endif > + > +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) > +ROC_DEPENDENCIES += pulseaudio > +else > +ROC_SCONS_OPTS += --disable-pulseaudio > +endif > + > +else > +ROC_SCONS_OPTS += --disable-tools > +endif > + > +define ROC_BUILD_CMDS > + (cd $(@D); \ Enclosing the build commands in parentheses is useless; it just spawns an extra shell for nothing. Ditto for all _CMDS below, of course. > + $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \ > + $(SCONS) $(ROC_SCONS_OPTS)) > +endef > + > +define ROC_INSTALL_STAGING_CMDS > + (cd $(@D); \ > + $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \ > + $(SCONS) $(ROC_SCONS_OPTS) --prefix="$(STAGING_DIR)/usr" install) > +endef > + > +define ROC_INSTALL_TARGET_CMDS > + (cd $(@D); \ > + $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \ > + $(SCONS) $(ROC_SCONS_OPTS) --prefix="$(TARGET_DIR)/usr" install) > +endef > + > +$(eval $(generic-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 21:29:43 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:29:43 +0200 Subject: [Buildroot] [git commit] package/pipewire: bump to version 0.3.50 Message-ID: <20220420212014.A3CAC83F77@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d1d289174eb1e4a34ca70a99e9a655a115b724a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable legacy-rtkit which we don't support. Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index e6fad56698..6f65a6b143 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 68bbf83b4c12bbcaef5d4bfb0dda86177583cf0abe0026efcfedd837b2e4926e pipewire-0.3.48.tar.bz2 +sha256 68592ab5852c46ee3d743f429f9d6b6c82171fa37b4b3854eb0da62b08b49d14 pipewire-0.3.50.tar.bz2 sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index 80246cc8d0..9d4dc45f02 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,7 +4,7 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.3.48 +PIPEWIRE_VERSION = 0.3.50 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) @@ -29,6 +29,7 @@ PIPEWIRE_CONF_OPTS += \ -Dvideotestsrc=enabled \ -Dvolume=enabled \ -Dsession-managers=[] \ + -Dlegacy-rtkit=false \ -Dlibcanberra=disabled \ -Dlv2=disabled From yann.morin.1998 at free.fr Wed Apr 20 21:30:45 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:30:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump to version 0.3.50 In-Reply-To: <20220420193434.881088-1-james.hilliard1@gmail.com> References: <20220420193434.881088-1-james.hilliard1@gmail.com> Message-ID: <20220420213045.GL2730@scaer> James, All, On 2022-04-20 13:34 -0600, James Hilliard spake thusly: > Disable legacy-rtkit which we don't support. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/pipewire/pipewire.hash | 2 +- > package/pipewire/pipewire.mk | 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash > index e6fad56698..6f65a6b143 100644 > --- a/package/pipewire/pipewire.hash > +++ b/package/pipewire/pipewire.hash > @@ -1,4 +1,4 @@ > # Locally calculated > -sha256 68bbf83b4c12bbcaef5d4bfb0dda86177583cf0abe0026efcfedd837b2e4926e pipewire-0.3.48.tar.bz2 > +sha256 68592ab5852c46ee3d743f429f9d6b6c82171fa37b4b3854eb0da62b08b49d14 pipewire-0.3.50.tar.bz2 > sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING > sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE > diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk > index 80246cc8d0..9d4dc45f02 100644 > --- a/package/pipewire/pipewire.mk > +++ b/package/pipewire/pipewire.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PIPEWIRE_VERSION = 0.3.48 > +PIPEWIRE_VERSION = 0.3.50 > PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 > PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) > PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) > @@ -29,6 +29,7 @@ PIPEWIRE_CONF_OPTS += \ > -Dvideotestsrc=enabled \ > -Dvolume=enabled \ > -Dsession-managers=[] \ > + -Dlegacy-rtkit=false \ > -Dlibcanberra=disabled \ > -Dlv2=disabled > > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 21:33:51 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:33:51 +0200 Subject: [Buildroot] [git commit] package/pipewire: add optional lv2 support Message-ID: <20220420212447.5CAD683F80@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b38894e348f261898c19985b1a1d2299fe74502 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Pipewire supports lv2 via the lilv dependency. https://github.com/PipeWire/pipewire/blob/0.3.45/meson.build#L451 Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/pipewire/pipewire.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index 9d4dc45f02..64f7d054c1 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -30,8 +30,7 @@ PIPEWIRE_CONF_OPTS += \ -Dvolume=enabled \ -Dsession-managers=[] \ -Dlegacy-rtkit=false \ - -Dlibcanberra=disabled \ - -Dlv2=disabled + -Dlibcanberra=disabled ifeq ($(BR2_PACKAGE_DBUS),y) PIPEWIRE_CONF_OPTS += -Ddbus=enabled @@ -130,6 +129,13 @@ else PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled endif +ifeq ($(BR2_PACKAGE_LILV),y) +PIPEWIRE_CONF_OPTS += -Dlv2=enabled +PIPEWIRE_DEPENDENCIES += lilv +else +PIPEWIRE_CONF_OPTS += -Dlv2=disabled +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) PIPEWIRE_CONF_OPTS += -Dx11=enabled PIPEWIRE_DEPENDENCIES += xlib_libX11 From yann.morin.1998 at free.fr Wed Apr 20 21:35:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:35:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: add optional lv2 support In-Reply-To: <20220213014024.1868278-1-james.hilliard1@gmail.com> References: <20220213014024.1868278-1-james.hilliard1@gmail.com> Message-ID: <20220420213550.GM2730@scaer> James, All, On 2022-02-12 18:40 -0700, James Hilliard spake thusly: > Pipewire supports lv2 via the lilv dependency. > https://github.com/PipeWire/pipewire/blob/0.3.45/meson.build#L451 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/pipewire/pipewire.mk | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk > index fc521c86ac..2a38db9977 100644 > --- a/package/pipewire/pipewire.mk > +++ b/package/pipewire/pipewire.mk > @@ -29,8 +29,7 @@ PIPEWIRE_CONF_OPTS += \ > -Dvideotestsrc=enabled \ > -Dvolume=enabled \ > -Dsession-managers=[] \ > - -Dlibcanberra=disabled \ > - -Dlv2=disabled > + -Dlibcanberra=disabled > > ifeq ($(BR2_PACKAGE_DBUS),y) > PIPEWIRE_CONF_OPTS += -Ddbus=enabled > @@ -129,6 +128,13 @@ else > PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled > endif > > +ifeq ($(BR2_PACKAGE_LILV),y) > +PIPEWIRE_CONF_OPTS += -Dlv2=enabled > +PIPEWIRE_DEPENDENCIES += lilv > +else > +PIPEWIRE_CONF_OPTS += -Dlv2=disabled > +endif > + > ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) > PIPEWIRE_CONF_OPTS += -Dx11=enabled > PIPEWIRE_DEPENDENCIES += xlib_libX11 > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From james.hilliard1 at gmail.com Thu Apr 21 06:30:28 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 21 Apr 2022 00:30:28 -0600 Subject: [Buildroot] [PATCH 1/1] package/gstd: fix init file installation Message-ID: <20220421063028.3647447-1-james.hilliard1@gmail.com> Fix a bug where the init subdir was accidentially removed from meson. Signed-off-by: James Hilliard --- ...-meson.build-add-missing-init-subdir.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch diff --git a/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch new file mode 100644 index 0000000000..ed3738e3d4 --- /dev/null +++ b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch @@ -0,0 +1,28 @@ +From 689265cd522c770ad3e0391cae80ee884a8c475c Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Thu, 21 Apr 2022 01:14:52 -0500 +Subject: [PATCH] meson.build: add missing init subdir + +Seems this got accidentially removed in: +9f4490138c8892b1c86008134438b2ab405c9b0f + +Restore it so that init files are properly installed. + +Signed-off-by: James Hilliard +[upstreeam: https://github.com/RidgeRun/gstd-1.x/pull/291] +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index a30f776..7a8690a 100644 +--- a/meson.build ++++ b/meson.build +@@ -300,3 +300,4 @@ subdir('gst_client') + subdir('tests') + subdir('examples') + subdir('docs') ++subdir('init') +-- +2.25.1 + -- 2.25.1 From arnout at mind.be Thu Apr 21 07:22:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 09:22:04 +0200 Subject: [Buildroot] [PATCH] package/wtfutil: new package In-Reply-To: <20220420200102.2420626-1-yann.morin.1998@free.fr> References: <20220420200102.2420626-1-yann.morin.1998@free.fr> Message-ID: <8b28d775-d65a-d6e2-2b50-6bfc6549df0b@mind.be> On 20/04/2022 22:01, Yann E. MORIN wrote: > Some of wtfutils modules (i.e. plugins) can call to external tools, so Modules are not optional? > it needs to fork(), so needs an MMU. > > Signed-off-by: Yann E. MORIN [snip] > diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in > new file mode 100644 > index 0000000000..8c3efcea5d > --- /dev/null > +++ b/package/wtfutil/Config.in > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_WTFUTIL > + bool "wtfutil" > + depends on BR2_USE_MMU # fork() > + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > + help > + WTF is the personal information dashboard for your terminal. > + > + https://wtfutil.com/ > diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash > new file mode 100644 > index 0000000000..deb162794e > --- /dev/null > +++ b/package/wtfutil/wtfutil.hash > @@ -0,0 +1,2 @@ > +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz > +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md > diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk > new file mode 100644 > index 0000000000..6e841411a9 > --- /dev/null > +++ b/package/wtfutil/wtfutil.mk > @@ -0,0 +1,12 @@ > +################################################################################ > +# > +# wtfutil > +# > +################################################################################ > + > +WTFUTIL_VERSION = 0.41.0 > +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) If the upstream repository is called wtf, and the help text says "WTF is ...", why do you call it wtfutil? Regards, Arnout > +WTFUTIL_LICENSE = MPL-2.0 > +WTFUTIL_LICENSE_FILES = LICENSE.md > + > +$(eval $(golang-package)) From fontaine.fabrice at gmail.com Thu Apr 21 07:27:39 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 09:27:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/erofs-utils: fix build with gcc 4.8 Message-ID: <20220421072739.1816817-1-fontaine.fabrice@gmail.com> Add upstream patch to disable -Werror and fix the following build failure with gcc 4.8 raised since bump to version 1.4 in commit c2e32e655802ad917eb240b8c2b7ac343ab55ec1 and https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a5df3b3acf545af289cb47faa6de0: In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, from ../include/erofs/internal.h:242, from ../include/erofs/inode.h:11, from main.c:12: In function 'memset', inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] __warn_memset_zero_len (); ^ Fixes: - http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 Signed-off-by: Fabrice Fontaine --- .../erofs-utils/0005-Add-disable-werror.patch | 136 ++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 package/erofs-utils/0005-Add-disable-werror.patch diff --git a/package/erofs-utils/0005-Add-disable-werror.patch b/package/erofs-utils/0005-Add-disable-werror.patch new file mode 100644 index 0000000000..8b286c3265 --- /dev/null +++ b/package/erofs-utils/0005-Add-disable-werror.patch @@ -0,0 +1,136 @@ +From eb79816f85db164af732a5bcbb42d09214845874 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 21 Apr 2022 00:10:18 +0200 +Subject: erofs-utils: add --disable-werror + +Add an option to disable -Werror to fix the following build failure [1] with +gcc 4.8 raised since version 1.4 and [2] + +In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, + from ../include/erofs/internal.h:242, + from ../include/erofs/inode.h:11, + from main.c:12: +In function 'memset', + inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: +/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] + __warn_memset_zero_len (); + +[1] http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 +[2] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a +Signed-off-by: Fabrice Fontaine +Link: https://lore.kernel.org/r/20220420221018.1396105-1-fontaine.fabrice at gmail.com +Signed-off-by: Gao Xiang +[Retrieved (and backported) from: +https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?h=dev&id=eb79816f85db164af732a5bcbb42d09214845874] +--- + configure.ac | 13 ++++++++++++- + dump/Makefile.am | 2 +- + fsck/Makefile.am | 2 +- + fuse/Makefile.am | 2 +- + lib/Makefile.am | 2 +- + mkfs/Makefile.am | 2 +- + 6 files changed, 17 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index fa917e6..53bf882 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([config.h.in]) + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_AUX_DIR(config) +-AM_INIT_AUTOMAKE([foreign -Wall -Werror]) ++AM_INIT_AUTOMAKE([foreign -Wall]) + + # Checks for programs. + AM_PROG_AR +@@ -65,6 +65,12 @@ AC_ARG_ENABLE([debug], + [enable_debug="$enableval"], + [enable_debug="no"]) + ++AC_ARG_ENABLE([werror], ++ [AS_HELP_STRING([--enable-werror], ++ [enable -Werror @<:@default=no@:>@])], ++ [enable_werror="$enableval"], ++ [enable_werror="no"]) ++ + AC_ARG_ENABLE(lz4, + [AS_HELP_STRING([--disable-lz4], [disable LZ4 compression support @<:@default=enabled@:>@])], + [enable_lz4="$enableval"], [enable_lz4="yes"]) +@@ -197,6 +203,11 @@ AS_IF([test "x$enable_debug" != "xno"], [], [ + CPPFLAGS="$CPPFLAGS -DNDEBUG" + ]) + ++# Configure -Werror ++AS_IF([test "x$enable_werror" != "xyes"], [], [ ++ CPPFLAGS="$CPPFLAGS -Werror" ++]) ++ + # Configure libuuid + AS_IF([test "x$with_uuid" != "xno"], [ + PKG_CHECK_MODULES([libuuid], [uuid]) +diff --git a/dump/Makefile.am b/dump/Makefile.am +index 9f0cd3f..c2bef6d 100644 +--- a/dump/Makefile.am ++++ b/dump/Makefile.am +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = dump.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} + dump_erofs_SOURCES = main.c +-dump_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++dump_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + dump_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} +diff --git a/fsck/Makefile.am b/fsck/Makefile.am +index 55b31ea..e6a1fb6 100644 +--- a/fsck/Makefile.am ++++ b/fsck/Makefile.am +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = fsck.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} + fsck_erofs_SOURCES = main.c +-fsck_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++fsck_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + fsck_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} +diff --git a/fuse/Makefile.am b/fuse/Makefile.am +index 5aa5ac0..3179a2b 100644 +--- a/fuse/Makefile.am ++++ b/fuse/Makefile.am +@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign + noinst_HEADERS = $(top_srcdir)/fuse/macosx.h + bin_PROGRAMS = erofsfuse + erofsfuse_SOURCES = dir.c main.c +-erofsfuse_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++erofsfuse_CFLAGS = -Wall -I$(top_srcdir)/include + erofsfuse_CFLAGS += -DFUSE_USE_VERSION=26 ${libfuse_CFLAGS} ${libselinux_CFLAGS} + erofsfuse_LDADD = $(top_builddir)/lib/liberofs.la ${libfuse_LIBS} ${liblz4_LIBS} \ + ${libselinux_LIBS} ${liblzma_LIBS} +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 4a25013..3fad357 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -28,7 +28,7 @@ noinst_HEADERS += compressor.h + liberofs_la_SOURCES = config.c io.c cache.c super.c inode.c xattr.c exclude.c \ + namei.c data.c compress.c compressor.c zmap.c decompress.c \ + compress_hints.c hashmap.c sha256.c blobchunk.c +-liberofs_la_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++liberofs_la_CFLAGS = -Wall -I$(top_srcdir)/include + if ENABLE_LZ4 + liberofs_la_CFLAGS += ${LZ4_CFLAGS} + liberofs_la_SOURCES += compressor_lz4.c +diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am +index 2a4bc1d..709d9bf 100644 +--- a/mkfs/Makefile.am ++++ b/mkfs/Makefile.am +@@ -4,6 +4,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = mkfs.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} ${libselinux_CFLAGS} + mkfs_erofs_SOURCES = main.c +-mkfs_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++mkfs_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + mkfs_erofs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${liblz4_LIBS} ${liblzma_LIBS} +-- +cgit + -- 2.35.1 From fontaine.fabrice at gmail.com Thu Apr 21 09:19:07 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 11:19:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/vde2: fix build with BR2_OPTIMIZE_0 Message-ID: <20220421091907.2774561-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_OPTIMIZE_0: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': vde_l3.c:(.text+0xb30): undefined reference to `iphead' Fixes: - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d Signed-off-by: Fabrice Fontaine --- ...de_l3-Add-static-to-inline-functions.patch | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch diff --git a/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch new file mode 100644 index 0000000000..7f771dfc7e --- /dev/null +++ b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch @@ -0,0 +1,37 @@ +vde_l3: Add static to inline functions + +Add static to inline functions to avoid the following build failure +with BR2_OPTIMIZE_0: + +/home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': +vde_l3.c:(.text+0xb30): undefined reference to `iphead' + +Fixes: + - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d + +Signed-off-by: Fabrice Fontaine + +diff -Nura vde2-2.3.2.orig/src/vde_l3/vde_l3.c vde2-2.3.2/src/vde_l3/vde_l3.c +--- vde2-2.3.2.orig/src/vde_l3/vde_l3.c 2022-04-21 11:05:17.393452698 +0200 ++++ vde2-2.3.2/src/vde_l3/vde_l3.c 2022-04-21 11:10:36.509804404 +0200 +@@ -100,17 +100,17 @@ + }; + + +-inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) ++static inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) + { + return (struct vde_ethernet_header*)(vdb->data); + } + +-inline struct iphdr *iphead(struct vde_buff *vdb) ++static inline struct iphdr *iphead(struct vde_buff *vdb) + { + return (struct iphdr*)(vdb->data + 14); + } + +-inline void *payload(struct vde_buff *vdb) ++static inline void *payload(struct vde_buff *vdb) + { + return (uint8_t*)(vdb->data + 14 + sizeof(struct iphdr)); + } -- 2.35.1 From Eugen.Hristev at microchip.com Thu Apr 21 09:24:51 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Thu, 21 Apr 2022 09:24:51 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind In-Reply-To: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> References: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> Message-ID: <2507ebbe-3dc4-e2a2-f3e8-f668603b52d8@microchip.com> On 4/19/22 7:11 PM, Fabrice Fontaine wrote: > Untar internal bind so libtool patches will be applied on bind's > libtool. This will fix: > - installation of some libraries such as libisccfg. Indeed, if libtool > is not patched those libraries will be "relinked" and so not > installed. > - build failures with riscv and or1k: > > Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized > > Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized > > Fixes: > - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 > - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e > > Signed-off-by: Fabrice Fontaine Tested-by: Eugen Hristev Tested on AT91 boards > --- > package/dhcp/dhcp.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index e6f4c419f4..f815c6c802 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc > # internal bind does not support parallel builds. > DHCP_MAKE = $(MAKE1) > > +# untar internal bind so libtool patches will be applied on bind's libtool > +define DHCP_UNTAR_INTERNAL_BIND > + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ > +endef > + > +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND > + > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > cp $(@D)/configure.ac+lt $(@D)/configure.ac > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > From Eugen.Hristev at microchip.com Thu Apr 21 09:25:37 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Thu, 21 Apr 2022 09:25:37 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> <87y20aeb04.fsf@dell.be.48ers.dk> <8d53da79-2a90-8649-6f46-22b33b7bdbe5@microchip.com> <87bkx5crop.fsf@dell.be.48ers.dk> <2a14aebd-8213-0966-b0d4-392ca9ce36e6@microchip.com> Message-ID: <65316bc2-f596-3b3e-71fc-ffafa87e2165@microchip.com> On 4/19/22 7:12 PM, Fabrice Fontaine wrote: > Le mar. 19 avr. 2022 ? 12:19, a ?crit : >> >> On 4/19/22 12:08 PM, Fabrice Fontaine wrote: >>> Hello Eugen, >>> >>> Le mar. 19 avr. 2022 ? 07:21, a ?crit : >>>> >>>> On 4/14/22 7:44 PM, Fabrice Fontaine wrote: >>>>> Le jeu. 14 avr. 2022 ? 11:59, Fabrice Fontaine >>>>> a ?crit : >>>>>> >>>>>> Hello Eugen, >>>>>> >>>>>> Le jeu. 14 avr. 2022 ? 11:10, a ?crit : >>>>>>> >>>>>>> On 4/13/22 11:29 AM, Peter Korsgaard wrote: >>>>>>>>>>>>> writes: >>>>>>>> >>>>>>>> > On 4/12/22 9:17 PM, Fabrice Fontaine wrote: >>>>>>>> >> Le mar. 12 avr. 2022 ? 14:34, Peter Korsgaard a ?crit : >>>>>>>> >>> >>>>>>>> >>>>>>>> writes: >>>>>>>> >>> >>>>>>>> >>> Hi, >>>>>>>> >>> >>>>>>>> >>> >> Yeah. Eugen, is there any specific reason why you use the dhcp package >>>>>>>> >>> >> over the other DHCP clients we provide? >>>>>>>> >>> >>>>>>>> >>> > Historical reasons, and the fact that people have working configurations >>>>>>>> >>> > using this package... I was unaware that it was due to be removed. >>>>>>>> >>> > We will try to switch to a different package in the future. Thanks for >>>>>>>> >>> > letting me know. >>>>>>>> >>> > However, if the package is still in this buildroot release, it has to >>>>>>>> >>> > work right ? >>>>>>>> >>> >>>>>>>> >>> Yes, that is the idea. If it is dead upstream and hard to fix then that >>>>>>>> >>> naturally makes it harder to do, but the intention is to fix it. >>>>>>>> >> >>>>>>>> >> The following patch should fix the issue: >>>>>>>> >> https://patchwork.ozlabs.org/project/buildroot/patch/20220412181607.1451580-1-fontaine.fabrice at gmail.com/ >>>>>>>> >>>>>>>> > Hi, >>>>>>>> >>>>>>>> > your patch together with the other one ( >>>>>>>> > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ >>>>>>>> > ), >>>>>>>> >>>>>>>> > solve the build problem for this package. >>>>>>>> >>>>>>>> They are now both added to the 2022.02.x branch, thanks. >>>>>>>> >>>>>>>> -- >>>>>>>> Bye, Peter Korsgaard >>>>>>>> >>>>>>> >>>>>>> Hello again Fabrice, >>>>>>> >>>>>>> After managing to successfully build all our defconfigs now, while >>>>>>> testing on another board (sama7g5ek), I noticed this message at boot log : >>>>>>> >>>>>>> Starting DHCP server: /usr/sbin/dhcpd: error while loading shared >>>>>>> libraries: libirs.so.161: cannot open shared object file: No such file >>>>>>> or directory >>>>>>> >>>>>>> Digging yields that libirs is part of bind package. Do you know why this >>>>>>> happens and what could be the cause? Could latest patches affect the dhcpd ? >>>>>> >>>>>> Indeed, the internal bind libraries (including libirs.so.161) are >>>>>> correctly installed in staging directory but not in the target >>>>>> directory because dhcp.mk is overriding DHCP_INSTALL_TARGET_CMDS. >>>>>> I'll send a patch by the end of the day. >>>>> >>>>> The following patch should fix the issue: >>>>> https://patchwork.ozlabs.org/project/buildroot/patch/20220414164109.1724873-1-fontaine.fabrice at gmail.com/ >>>>> >>>> >>>> Hello Fabrice, >>>> >>>> The libirs problem is gone now, thanks. However, I get a new error: >>>> >>>> >>>> Starting DHCP server: /usr/sbin/dhcpd: error while loading shared >>>> libraries: libisccfg.so.163: cannot open shared object file: No such >>>> file or directory >>>> >>>> Looks like there are still problems on my side >>> >>> libisccfg.so.163 is installed on target rootfs (in /usr/lib). Can you >>> check that this is also the case on your side? >> >> # ls -la /usr/lib/libisc* >> lrwxrwxrwx 1 root root 18 Apr 18 2022 >> /usr/lib/libisc.so -> libisc.so.1107.0.7 >> lrwxrwxrwx 1 root root 18 Apr 18 2022 >> /usr/lib/libisc.so.1107 -> libisc.so.1107.0.7 >> -rwxr-xr-x 1 root root 317960 Apr 18 2022 >> /usr/lib/libisc.so.1107.0.7 >> # >> >> >> It looks like it's not. > > I was able to find and fix the issue: > https://patchwork.ozlabs.org/project/buildroot/patch/20220419161130.3431492-1-fontaine.fabrice at gmail.com/ > Thank you for your patches ! It looks that it works fine now. Sent a reviewed-by tag on your patch. Eugen >> >>> >>>> >>>> Thanks, >>>> Eugen >>>> >>>>>> >>>>>>> >>>>>>> Thanks ! >>>>>>> Eugen >>>>>> >>>>>> Best Regards, >>>>>> >>>>>> Fabrice >>>>> >>>>> Best Regards, >>>>> >>>>> Fabrice >>>>> >>>> >>> >>> Best Regards, >>> >>> Fabrice >>> >> From fontaine.fabrice at gmail.com Thu Apr 21 10:02:33 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 12:02:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/argp-standalone: bump to version 1.4.1 Message-ID: <20220421100233.3845088-1-fontaine.fabrice@gmail.com> - Switch site to an up-to-date fork - Drop first and second patches (not needed since: https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b https://github.com/ericonr/argp-standalone/commit/80691135993109ec0c8a41327418195fc6d82694 - Drop third patch (not needed since: https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043) - License is LGPL-2.1+ since https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b - README.md can be used as the license file since https://github.com/ericonr/argp-standalone/commit/da0206414df4fe55f70b6dfba86ec232acf5d444 - This bump will also fix the following build failure with BR2_OPTIMIZE_0 thanks to https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: /nvmedata/autobuild/instance-27/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: libargp.a(argp-help.o): in function `indent_to': /nvmedata/autobuild/instance-27/output-1/build/argp-standalone-1.3/argp-help.c:930: undefined reference to `argp_fmtstream_point' Fixes: - http://autobuild.buildroot.org/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791 Signed-off-by: Fabrice Fontaine --- .../0001-throw-in-funcdef.patch | 79 ------------------- package/argp-standalone/0002-isprint.patch | 45 ----------- .../0003-fix_build_with_c99_compilers.patch | 68 ---------------- package/argp-standalone/Config.in | 2 +- package/argp-standalone/argp-standalone.hash | 4 +- package/argp-standalone/argp-standalone.mk | 11 ++- 6 files changed, 10 insertions(+), 199 deletions(-) delete mode 100644 package/argp-standalone/0001-throw-in-funcdef.patch delete mode 100644 package/argp-standalone/0002-isprint.patch delete mode 100644 package/argp-standalone/0003-fix_build_with_c99_compilers.patch diff --git a/package/argp-standalone/0001-throw-in-funcdef.patch b/package/argp-standalone/0001-throw-in-funcdef.patch deleted file mode 100644 index 4a90751e1e..0000000000 --- a/package/argp-standalone/0001-throw-in-funcdef.patch +++ /dev/null @@ -1,79 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone -# Copyright (C) 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - - -No __THROW in function implementation. - --jsaw - ---- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100 -+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100 -@@ -560,17 +560,17 @@ - # endif - - # ifndef ARGP_EI --# define ARGP_EI extern __inline__ -+# define ARGP_EI extern inline - # endif - - ARGP_EI void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - ARGP_EI int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -582,7 +582,7 @@ - } - - ARGP_EI int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } ---- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100 -+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100 -@@ -1290,13 +1290,13 @@ - /* Defined here, in case a user is not inlining the definitions in - * argp.h */ - void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -1310,7 +1310,7 @@ - } - - int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } diff --git a/package/argp-standalone/0002-isprint.patch b/package/argp-standalone/0002-isprint.patch deleted file mode 100644 index 9c08366f68..0000000000 --- a/package/argp-standalone/0002-isprint.patch +++ /dev/null @@ -1,45 +0,0 @@ -Subject: restrict value range passed to isprint function - -According to C standards isprint argument shall be representable as an -unsigned char or be equal to EOF, otherwise the behaviour is undefined. - -Passing arbitrary ints leads to segfault in nm program from elfutils. - -Restrict isprint argument range to values representable by unsigned char. - -Signed-off-by: Max Filippov ---- -Index: b/argp.h -=================================================================== ---- a/argp.h -+++ b/argp.h -@@ -23,6 +23,7 @@ - - #include - #include -+#include - - #define __need_error_t - #include -@@ -577,7 +578,7 @@ - else - { - int __key = __opt->key; -- return __key > 0 && isprint (__key); -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); - } - } - -Index: b/argp-parse.c -=================================================================== ---- a/argp-parse.c -+++ b/argp-parse.c -@@ -1292,7 +1292,7 @@ - int __key = __opt->key; - /* FIXME: whether or not a particular key implies a short option - * ought not to be locale dependent. */ -- return __key > 0 && isprint (__key); -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); - } - } - diff --git a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch b/package/argp-standalone/0003-fix_build_with_c99_compilers.patch deleted file mode 100644 index 56b753b607..0000000000 --- a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch +++ /dev/null @@ -1,68 +0,0 @@ -From b2dfa011a3fdcb7d22764d143517d0fbd1c2a201 Mon Sep 17 00:00:00 2001 -From: Emmanuel Dreyfus -Date: Wed, 22 Jan 2014 14:47:23 +0100 -Subject: [PATCH] Fix build with c99 compilers - -BUG: 764655 -Change-Id: If5dfdc9c7427bd3d39d8da8f79e33ae2da6a3137 -Signed-off-by: Emmanuel Dreyfus -Reviewed-on: http://review.gluster.org/6034 -Reviewed-by: Harshavardhana -Tested-by: Gluster Build System ---- - -diff --git a/argp-fmtstream.c b/argp-fmtstream.c -index 7f79285..494b6b3 100644 ---- a/argp-fmtstream.c -+++ b/argp-fmtstream.c -@@ -389,6 +389,7 @@ - weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf) - #endif - -+#if __STDC_VERSION__ - 199900L < 1 - /* Duplicate the inline definitions in argp-fmtstream.h, for compilers - * that don't do inlining. */ - size_t -@@ -471,5 +472,6 @@ - __argp_fmtstream_update (__fs); - return __fs->point_col >= 0 ? __fs->point_col : 0; - } -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - #endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ -diff --git a/argp-fmtstream.h b/argp-fmtstream.h -index e797b11..828f435 100644 ---- a/argp-fmtstream.h -+++ b/argp-fmtstream.h -@@ -153,6 +153,7 @@ - __const char *__fmt, ...) - PRINTF_STYLE(2,3); - -+#if __STDC_VERSION__ - 199900L < 1 - extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); - extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); - -@@ -163,6 +164,7 @@ - __const char *__str, size_t __len); - extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, - __const char *__str, size_t __len); -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - /* Access macros for various bits of state. */ - #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) -@@ -172,6 +174,7 @@ - #define __argp_fmtstream_rmargin argp_fmtstream_rmargin - #define __argp_fmtstream_wmargin argp_fmtstream_wmargin - -+#if __STDC_VERSION__ - 199900L < 1 - /* Set __FS's left margin to LMARGIN and return the old value. */ - extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, - size_t __lmargin); -@@ -193,6 +196,7 @@ - /* Return the column number of the current output point in __FS. */ - extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); - extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - /* Internal routines. */ - extern void _argp_fmtstream_update (argp_fmtstream_t __fs); diff --git a/package/argp-standalone/Config.in b/package/argp-standalone/Config.in index 3319dd945c..891d4aedaa 100644 --- a/package/argp-standalone/Config.in +++ b/package/argp-standalone/Config.in @@ -5,4 +5,4 @@ config BR2_PACKAGE_ARGP_STANDALONE help Glibc hierarchical argument parsing standalone library. - http://www.lysator.liu.se/~nisse/misc/ + https://github.com/ericonr/argp-standalone/ diff --git a/package/argp-standalone/argp-standalone.hash b/package/argp-standalone/argp-standalone.hash index c780f9e53f..1e56c663d4 100644 --- a/package/argp-standalone/argp-standalone.hash +++ b/package/argp-standalone/argp-standalone.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be argp-standalone-1.3.tar.gz +sha256 879d76374424dce051b812f16f43c6d16de8dbaddd76002f83fd1b6e57d39e0b argp-standalone-1.4.1.tar.gz # License file -sha256 bbb8919aa520069b0234faf5e83a94052d278419ffe97ca8e843ecc9b212d1ab argp.h +sha256 b5db0353a5b1902fc8a2e055d8899dd0c189ce73a31e67af9a0ffc24711b63f0 README.md diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk index 651bc400f4..80ca04046d 100644 --- a/package/argp-standalone/argp-standalone.mk +++ b/package/argp-standalone/argp-standalone.mk @@ -4,11 +4,14 @@ # ################################################################################ -ARGP_STANDALONE_VERSION = 1.3 -ARGP_STANDALONE_SITE = http://www.lysator.liu.se/~nisse/archive +ARGP_STANDALONE_VERSION = 1.4.1 +ARGP_STANDALONE_SITE = \ + $(call github,ericonr,argp-standalone,$(ARGP_STANDALONE_VERSION)) ARGP_STANDALONE_INSTALL_STAGING = YES -ARGP_STANDALONE_LICENSE = LGPL-2.0+ -ARGP_STANDALONE_LICENSE_FILES = argp.h +ARGP_STANDALONE_LICENSE = LGPL-2.1+ +ARGP_STANDALONE_LICENSE_FILES = README.md +# From git +ARGP_STANDALONE_AUTORECONF = YES ARGP_STANDALONE_CONF_ENV = \ CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" -- 2.35.1 From dariobin at libero.it Thu Apr 21 10:24:10 2022 From: dariobin at libero.it (Dario Binacchi) Date: Thu, 21 Apr 2022 12:24:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: fix compilation for uclibc Message-ID: <20220421102410.3794-1-dariobin@libero.it> - Add upstream patch ([1]) to fix compilation for uclibc - Add autoreconf as the patch touches configure.ac [1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=9c9fd9ae24b45f915f0759d32f662835c26d37c3 Signed-off-by: Dario Binacchi Signed-off-by: Dario Binacchi --- ...coregrind-fix-compilation-for-uclibc.patch | 65 +++++++++++++++++++ package/valgrind/valgrind.mk | 1 + 2 files changed, 66 insertions(+) create mode 100644 package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch diff --git a/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch b/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch new file mode 100644 index 0000000000..ff8dc974d8 --- /dev/null +++ b/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch @@ -0,0 +1,65 @@ +From 9c9fd9ae24b45f915f0759d32f662835c26d37c3 Mon Sep 17 00:00:00 2001 +From: Dario Binacchi +Date: Fri, 8 Apr 2022 12:36:33 +0200 +Subject: [PATCH] coregrind: fix compilation for uclibc + +It fixes a known iusse whose details are described at [1] and more +generally it guarantees that Valgrind is properly compiled for ulibc. + +[1] https://www.mail-archive.com/valgrind-users at lists.sourceforge.net/msg05295.html + +Suggested-by Michael Trimarchi +Co-developed-by: Michael Trimarchi +Signed-off-by: Dario Binacchi +--- + configure.ac | 2 ++ + coregrind/m_debuginfo/minilzo-inl.c | 4 ++++ + coregrind/vg_preloaded.c | 4 ++++ + 3 files changed, 10 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 6f51dfd9f8fb..c627a9c17a4a 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -1204,6 +1204,8 @@ AC_SUBST(DEFAULT_SUPP) + AC_CHECK_HEADER([features.h]) + + if test x$ac_cv_header_features_h = xyes; then ++ AC_DEFINE([HAVE_HEADER_FEATURES_H], 1, ++ [Define to 1 if you have the `features.h' header.]) + rm -f conftest.$ac_ext + cat <<_ACEOF >conftest.$ac_ext + #include +diff --git a/coregrind/m_debuginfo/minilzo-inl.c b/coregrind/m_debuginfo/minilzo-inl.c +index 153d008fd44f..b45ec92eaa85 100644 +--- a/coregrind/m_debuginfo/minilzo-inl.c ++++ b/coregrind/m_debuginfo/minilzo-inl.c +@@ -1875,6 +1875,10 @@ extern "C" { + + #endif + ++#ifdef HAVE_HEADER_FEATURES_H ++#include ++#endif ++ + #undef LZO_HAVE_CONFIG_H + #include "minilzo.h" + +diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c +index 5e2098390847..3809811aede7 100644 +--- a/coregrind/vg_preloaded.c ++++ b/coregrind/vg_preloaded.c +@@ -45,6 +45,10 @@ + #include "pub_core_debuginfo.h" // Needed for pub_core_redir.h + #include "pub_core_redir.h" // For VG_NOTIFY_ON_LOAD + ++#ifdef HAVE_HEADER_FEATURES_H ++#include ++#endif ++ + #if defined(VGO_linux) || defined(VGO_solaris) || defined(VGO_freebsd) + + /* --------------------------------------------------------------------- +-- +2.32.0 + diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 52f2a04ffa..a5600a81b8 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -14,6 +14,7 @@ VALGRIND_CONF_OPTS = \ --disable-ubsan \ --without-mpicc VALGRIND_INSTALL_STAGING = YES +VALGRIND_AUTORECONF=YES # Valgrind must be compiled with no stack protection, so forcefully # pass -fno-stack-protector to override what Buildroot may have in -- 2.17.1 From fontaine.fabrice at gmail.com Thu Apr 21 11:55:29 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 13:55:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/arptables: fix build with BR2_OPTIMIZE_0 Message-ID: <20220421115529.2625137-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_OPTIMIZE_0 raised since the addition of the package in commit efc10eb6b87884f1f7917462d78af6953fcd99e3 and https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' 48 | #define GET_TARGET arpt_get_target | ^~~~~~~~~~~~~~~ libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' 16 | GET_TARGET(STRUCT_ENTRY *e) | ^~~~~~~~~~ In file included from .//include/libarptc/libarptc.h:7, from libarptc/libarptc.c:26: .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 Signed-off-by: Fabrice Fontaine --- ...tc-libarptc_incl.c-fix-build-with-O0.patch | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch diff --git a/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch new file mode 100644 index 0000000000..29f2d714e2 --- /dev/null +++ b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch @@ -0,0 +1,49 @@ +From 7d8285ae92253017a15282dd25f76d76eed49518 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 21 Apr 2022 13:43:23 +0200 +Subject: [PATCH] libarptc/libarptc_incl.c: fix build with -O0 + +Fix the following build failure with -O0: + +libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' + 48 | #define GET_TARGET arpt_get_target + | ^~~~~~~~~~~~~~~ +libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' + 16 | GET_TARGET(STRUCT_ENTRY *e) + | ^~~~~~~~~~ +In file included from .//include/libarptc/libarptc.h:7, + from libarptc/libarptc.c:26: +.//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here + 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) + | ^~~~~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 + +Signed-off-by: Fabrice Fontaine +--- + libarptc/libarptc_incl.c | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c +index c4d5de3..441f2de 100644 +--- a/libarptc/libarptc_incl.c ++++ b/libarptc/libarptc_incl.c +@@ -11,14 +11,6 @@ + /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See + COPYING for details). */ + +-#ifndef __OPTIMIZE__ +-STRUCT_ENTRY_TARGET * +-GET_TARGET(STRUCT_ENTRY *e) +-{ +- return (void *)e + e->target_offset; +-} +-#endif +- + static int sockfd = -1; + static void *arptc_fn = NULL; + +-- +2.35.1 + -- 2.35.1 From br015 at umbiko.net Thu Apr 21 14:45:35 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Thu, 21 Apr 2022 14:45:35 +0000 Subject: [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] In-Reply-To: <20220409160921.GA3547512@scaer> References: <20220331132230.227424-1-br015@umbiko.net> <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> <20220409160921.GA3547512@scaer> Message-ID: <501822bdbd2742b7158a919346718827@umbiko.net> Hi Yann, Arnout, *, I would like to postpone this change for the moment; the root cause for the addressed build failures lies within the meson build system (patch coming) and fixing this will make some of the proposed modifications unnecessary. I would still like to implement the selection logic changes, because I started to notice some inconsistencies and also missing features. Kind regards, Andreas On 2022-04-09 16:09, Yann E. MORIN wrote: > Arnout, Andreas, All, > > On 2022-04-09 17:41 +0200, Arnout Vandecappelle spake thusly: >> On 08/04/2022 15:22, Andreas Ziegler wrote: >> >Outline of the proposed next version of this change: >> >[I did not want to make so many changes, but you are right, it makes sense.] >> >Separate logic from implementation: Remove feature dependencies from >> >mpd.mk and put selection logic into Config.in exclusively. >> As you can see from the description above: this is making things >> quite >> complicated. And one of the tenets of Buildroot is to keep things >> simple. > [--SNIP--] >> We don't have a consistent policy for this case, but I believe the >> policy >> should be: >> >> - Add Config.in options only for features that are important, >> meaningful for >> the user (e.g. codec support). >> >> - Add Config.in options only for features that have a size impact >> (usually >> due to the dependencies they pull in). >> >> - In the .mk file, don't use the Config.in options but instead use >> automatic >> dependencies only. > > That would be very confusign from a user perspective: they would not > enable a feature of a package, yet the package would have that feature > enabled if th3e depedency is enabled. > > Besides the technical surprise, this could also lead to licensing > issues > if the combination of the two packages require special handling (e.g. > because the library license propagates top the package). > > So, the settings from Config.in must be abode by. > >> That way, the .mk file is kept simple (no problematic cases like the >> libupnp/expat interaction in this patch). The Config.in is a bit >> complicated, but it doesn't explode. >> >> Bottom line: I think it's actually the reverse that needs to be done. > > Err. I don;'t understand what you meant here... :-( > >> >In the makefile, a feature is responsible only to select or deselect its >> >configure option and, if this feature relies on a library, add a >> >dependency on this. >> >> So I think the .mk file should simply contain things like: >> >> ifeq ($(BR2_PACKAGE_LIBVORBIS),y) >> MPD_DEPENDENCIES += libvorbis >> MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled >> else >> MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled >> endif >> >> and BR2_PACKAGE_MPD_VORBIS only has an indirect effect, by selecting >> BR2_PACKAGE_LIBVORBIS. > > I highly disagree; the conditional should be on the package setting, > not > the dependency. > >> >Duplicated selection logic in mpd.mk will be eliminated. A build >> >dependency will only be added if it is present in the mpd configuration, >> >and not be inherited accidentally from concurrent packages. >> So this is exactly the reverse of what I'd want. I think it makes the >> .mk >> file harder to maintain for no practical gain. > > Yet, the proposal by Andreas is I believe the correct way to handle the > situation. > >> >This impacts the following features: expat, id3tag, yajl. id3tag already >> >is half implemented, but not used consistently (has an option entry in >> >Config.in, but does not select this, but handles dependencies >> >individually). expat and yajl would be created as hidden options without >> >visibility (no user interaction necessary). >> Yes, that would indeed be an alternative to keep the .mk file >> simpler. I >> take it you mean to add a blind option BR2_PACKAGE_MPD_EXPAT that gets >> selected by the other MPD options that rely on expat. This indeed >> simplifies >> things, but it is still a bit more complicated than what I propose. > > But more correct. > >> >Separate vorbis decoder and encoder options; currently the decoder feature >> >BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis >> >encoding, which is probably not intended. >> I don't see a reason why you would want only one or the other. It has >> virtually no impact on size. > > Indeed here, vorbis support should just enable both the > encoder/decoder. > > The only reason that we might want to be able to chose, is if enabling > one or the other have different requirements: extra size requirements, > extra dependencies, legal issues in your jurisdiction, etc... > >> In summary, I think we have the following three options for packages >> where >> we decide we want user-visible sub-options. >> >> - 1-to-1 mapping with the package configure options. Interaction >> between the >> options is expressed with select/depends in Config.in. The .mk file >> simply >> maps the Config.in options. If it's really not relevant for the user, >> a >> Config.in option can be made blind. This is what Andreas proposes. > > I am OK with that. > >> - Only automatic dependencies in the .mk file, except in cases where >> it has >> an important size or behaviour impact. Add Config.in options only in >> case it >> is relevant. This is what I propose. > > I am OK with the principle, but this does not look like what you > proposed above, as the build-dependencies would be on the dependency > being enabled, not the package option (e.g. BR2_PACKAGE_MPD_VORBIS vs. > BR2_PACKAGE_LIBVORBIS as you showed above). > >> - Add Config.in options for important features. Express >> interdependencies >> between package configure options in the .mk file. This is the current >> situation for mpd. > > I don;t see a difference here: "Add Config.in options only in case it > is > relevant" and "Add Config.in options for important features" are > exactly > the same in mny eyes... > >> So let's see what the other maintainers think. If you (or the other >> maintainers) don't agree, we can compromise and go back to the >> original >> patch (with just the npupnp/expat situation resolved). > > So, I'll summariser my position: > > - add Config.in options when it makes sense: > - important size delta > - legal issues > those options select the appropriate packages > > - in the .mk: > - add conditional blocks based on those options, add build > dependencies as appropriate; > - add conditoinal dependencies on package for automatic > dependencies > >> Ideally I'd like the maintainers (and anybody else, really) to come >> to a >> decision here and eventually formalize it in the manual. Because it's >> not >> the first time this discussion crops up. > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' > conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ > | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There > is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v > conspiracy. | > '------------------------------^-------^------------------^--------------------' From br015 at umbiko.net Thu Apr 21 15:25:30 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Thu, 21 Apr 2022 17:25:30 +0200 Subject: [Buildroot] [PATCH 1/1] meson-package: prevent cmake find_package() picking up host libraries Message-ID: <20220421152530.3900282-1-br015@umbiko.net> The meson build system uses (1) pkg-config and (2) cmake find_package to locate dependencies and stops only if a package is found. Cmake uses a toolchain file that is generated by meson from the existing configuration [1]. The cmake toolchain file misses CMAKE_FIND_ROOT_PATH and CMAKE_FIND_ROOT_PATH_* settings, and find_package() falls back to the default behaviour and looks for dependencies on the build machine (the Buildroot HOST_DIR). Use a feature introduced in meson 0.56.0 [2] to pass the Buildroot toolchain file to cmake instead of using a meson-generated one. Fixes the following build failures: http://autobuild.buildroot.org/results/056/05673ed04c6f044f1b56b9d5342d61653be43a18/ http://autobuild.buildroot.org/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ http://autobuild.buildroot.org/results/527/527ee199813abbacd61c3fa32b517ea60af60659/ [1[ see mesonbuild/cmake/toolchain.py [2] see https://mesonbuild.com/CMake-module.html#cross-compilation Signed-off-by: Andreas Ziegler --- package/pkg-meson.mk | 1 + support/misc/cross-compilation.conf.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk index 9e70d49b60..f1390a18d0 100644 --- a/package/pkg-meson.mk +++ b/package/pkg-meson.mk @@ -81,6 +81,7 @@ define PKG_MESON_CROSSCONFIG_SED -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$($(strip $(2))))%g" \ -e "s%@BR2_CMAKE@%$(BR2_CMAKE)%g" \ -e "s%@PKGCONF_HOST_BINARY@%$(HOST_DIR)/bin/pkgconf%g" \ + -e "s%@HOST_DIR@%$(HOST_DIR)%g" \ -e "s%@STAGING_DIR@%$(STAGING_DIR)%g" \ -e "s%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g" \ $(TOPDIR)/support/misc/cross-compilation.conf.in diff --git a/support/misc/cross-compilation.conf.in b/support/misc/cross-compilation.conf.in index 1977a83501..235e5a8495 100644 --- a/support/misc/cross-compilation.conf.in +++ b/support/misc/cross-compilation.conf.in @@ -26,6 +26,9 @@ needs_exe_wrapper = true sys_root = '@STAGING_DIR@' pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' pkg_config_static = '@STATIC@' +# enable meson build to pass a toolchain file to cmake +cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake' +cmake_defaults = false [host_machine] system = 'linux' -- 2.34.1 From jagan at amarulasolutions.com Thu Apr 21 15:36:58 2022 From: jagan at amarulasolutions.com (Jagan Teki) Date: Thu, 21 Apr 2022 21:06:58 +0530 Subject: [Buildroot] How to connect to Wifi on start-up using Buildroot? In-Reply-To: References: Message-ID: Hi All, On Thu, Mar 10, 2022 at 11:33 PM Jan Havran wrote: > > Hi Sourabh, > > after enabling RPi firmware you must load the Wifi driver - since you are using > systemd, it should by handled by udev on start I think. > > So you probably just need to configure /etc/network/interfaces to start wpa_supplicant > on wlan0 with /etc/wpa_supplicant.conf file, where you can put your credentials. > Or at least that is what I have done, but I am not using systemd. > > I did something similar some time ago, you can check it here: > https://gitlab.com/sonicpp/gnss-pi/-/commit/caf0317c024e51fc7e322deacd09ec9346d47e26 > > (note that to make "my" credentials public in that commit was an intention). > > P.S.: if you want to have any modifications to be part of your image with filesystem, > you can do it by using rootfs overlays for example: > https://buildroot.org/downloads/manual/manual.html#rootfs-custom > > Regards, > > Jan Havran > > V Thu, Mar 10, 2022 at 05:43:27PM +0100, Sourabh Hegde napsal(a): > > Hello All, > > > > I am trying to connect my Raspberry Pi CM4 to Wifi automatically after > > start-up. I am using Buildroot based Linux distribution. I have worked with > > Yocto before and it provides systemd-networkd and wpa_supplicant feature to > > connect to wifi on boot. I am lloking something similar in Buildroot but > > couldn't find any notes online. > > > > So far, I think I have enabled the necessary config/driver using "make > > menuconfig" : > > [image: wpa_supplicant.png] > > [image: firmware.png] > > > > But now, how can I set-up wpa_supplicant.conf? Any link to notes or > > suggestion would be helpful. Did anyone find the fix for it? I did see master is failing still. # cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ap_scan=1 network={ key_mgmt=NONE } network={ ssid="ARJ" #psk="Ind123#" psk=8078b7e8da96488dcd3561466208348e028cafa46172882cbe3329d6c7caf4a7 } # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B Successfully initialized wpa_supplicant Line 1: unknown global field 'ctrl_interface=/var/run/wpa_supplicant'. Line 1: Invalid configuration line 'ctrl_interface=/var/run/wpa_supplicant'. Failed to read or parse configuration '/etc/wpa_supplicant.conf'. : CTRL-EVENT-DSCP-POLICY clear_all Jagan. From yann.morin.1998 at free.fr Thu Apr 21 15:39:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 17:39:08 +0200 Subject: [Buildroot] [PATCH] package/wtfutil: new package In-Reply-To: <8b28d775-d65a-d6e2-2b50-6bfc6549df0b@mind.be> References: <20220420200102.2420626-1-yann.morin.1998@free.fr> <8b28d775-d65a-d6e2-2b50-6bfc6549df0b@mind.be> Message-ID: <20220421153908.GN2730@scaer> On 2022-04-21 09:22 +0200, Arnout Vandecappelle spake thusly: > On 20/04/2022 22:01, Yann E. MORIN wrote: > >Some of wtfutils modules (i.e. plugins) can call to external tools, so > Modules are not optional? As far as I can see, no. All modules are builtin into the wtfutil executable, and there is no way to provide out-of-tree modules loaded at runtime. And indeed, using the word 'plugins' was wrong (well, they can only be plugged in at build time). Also this is go, everything is static in that world. Upstream would however like to go for an actual, real plugin mechanism, but it seems the go ecosystem is not making that easy: https://github.com/wtfutil/wtf/issues/1092#issuecomment-892312321 [--SNIP--] > >+WTFUTIL_VERSION = 0.41.0 > >+WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) > If the upstream repository is called wtf, and the help text says "WTF is > ...", why do you call it wtfutil? The website is wtfutil.com. The utility is named wtfutil. It is packaged as wtfutil in some distro repositories already (Homebrew, macports, Arch...). The README.md also states: WTF (aka 'wtfutil') is the personal information dashboard for your terminal, providing at-a-glance access to your very important but infrequently-needed stats and data. Finally, wtf on its own is a bit on the tendentious side; using the longer name tones the term down a bit. Yeah, that is not all entirely convincing, but I believe wtfutil to be a better name overall... Regards, Yann E. MORIN. > Regards, > Arnout > > >+WTFUTIL_LICENSE = MPL-2.0 > >+WTFUTIL_LICENSE_FILES = LICENSE.md > >+ > >+$(eval $(golang-package)) -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From flaniel at linux.microsoft.com Thu Apr 21 16:30:06 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 21 Apr 2022 17:30:06 +0100 Subject: [Buildroot] [RFC PATCH v1 0/1] New "docker" ready qemu config In-Reply-To: <6813316c-23f9-3521-1eca-df43f9205d34@mind.be> References: <20220414172857.35100-1-flaniel@linux.microsoft.com> <6813316c-23f9-3521-1eca-df43f9205d34@mind.be> Message-ID: <2626500.mvXUDI8C0e@pwmachine> Hi. Le mardi 19 avril 2022, 22:16:43 BST Arnout Vandecappelle a ?crit : > On 14/04/2022 19:28, Francis Laniel wrote: > > Hi. > > > > > > First, I hope you are fine and the same for your relatives. > > > > In this contribution, I added a new qemu config for x86_64. > > This configuration is mainly based on qemu_x86_64_defconfig but it adds > > kernel CONFIG_ to be able to use docker. > > It also adds package related to docker like DOCKER_CLI and CONTAINERD. > > We don't like adding "demo" defconfigs that are basically another > defconfig with some packages enabled. It's true that there is some value to > knowing which combination of packages can provide a certain super-feature, > but the problem is that the basic config (in this case, qemu_x86_64) is not > going to be useful for most people. > > In this particular case, there isn't even that much "combination". Just > docker-engine and docker-cli. > > The kernel config options do have value, but these should instead be set > by containerd (or docker-engine, or docker-proxy, as appropriate), using > CONTAINERD_LINUX_CONFIG_FIXUPS. Sorry, I did not check docker-engine.mk before writing this contribution. I was not aware of PACKAGE_NAME_LINUX_CONFIG_FIXUPS and will rework my sysdig 0.29.1 contribution to make use ot it! > > Regards, > Arnout > > > The CONFIG_ options added were checked with moby check-config script [1]. > > > > I was able to build and execute the image with start-qemu.sh: > > Welcome to Buildroot > > buildroot login: root > > # docker run --rm hello-world > > Unable to find image 'hello-world:latest' locally > > latest: Pulling from library/hello-world > > 2db29710123e: Pull complete > > Digest: > > sha256:10d7d58d5ebd2a652f4d93fdd86da8f265f5318c6a73cc5b6a9798ff6d2b2e67 > > Status: Downloaded newer image for hello-world:latest > > > > Hello from Docker! > > This message shows that your installation appears to be working correctly. > > > > Sadly, the image has to a bit big (more than 300M) but I think it is fine > > since this image will only be used for virtualization. > > > > If you say any way to improve this contribution, feel free to share it! > > > > Francis Laniel (1): > > qemu_x86_64_docker: add new qemu defconfig > > > > DEVELOPERS | 2 + > > board/qemu/x86_64_docker/linux.config | 112 +++++++++++++++++++++++++ > > board/qemu/x86_64_docker/post-build.sh | 11 +++ > > board/qemu/x86_64_docker/readme.txt | 7 ++ > > configs/qemu_x86_64_docker_defconfig | 49 +++++++++++ > > 5 files changed, 181 insertions(+) > > create mode 100644 board/qemu/x86_64_docker/linux.config > > create mode 100755 board/qemu/x86_64_docker/post-build.sh > > create mode 100644 board/qemu/x86_64_docker/readme.txt > > create mode 100644 configs/qemu_x86_64_docker_defconfig > > > > Best regards and thank you in advance. > > --- > > [1] https://github.com/moby/moby/blob/master/contrib/check-config.sh Best regards. From bernd.kuhls at t-online.de Thu Apr 21 17:12:57 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 21 Apr 2022 19:12:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-zattoo: bump version to 19.7.13-Matrix Message-ID: <20220421171257.2675041-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash index 0b88d5c747..4f9a60e942 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 07d96b1b0c3b464c0bf02279fa8cab9ccdf675344129f3a970b14bafce225fb4 kodi-pvr-zattoo-19.7.11-Matrix.tar.gz +sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk index 95c5de0925..f2badeaa05 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 19.7.11-Matrix +KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md -- 2.30.2 From bernd.kuhls at t-online.de Thu Apr 21 17:24:07 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 21 Apr 2022 19:24:07 +0200 Subject: [Buildroot] [PATCH 2/2] package/intel-mediasdk: bump version to 22.4.0 In-Reply-To: <20220421172407.2759939-1-bernd.kuhls@t-online.de> References: <20220421172407.2759939-1-bernd.kuhls@t-online.de> Message-ID: <20220421172407.2759939-2-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/intel-mediasdk/intel-mediasdk.hash | 2 +- package/intel-mediasdk/intel-mediasdk.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediasdk/intel-mediasdk.hash b/package/intel-mediasdk/intel-mediasdk.hash index 802131a772..3ca50d629e 100644 --- a/package/intel-mediasdk/intel-mediasdk.hash +++ b/package/intel-mediasdk/intel-mediasdk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 e1e74229f409e969b70c2b35b1955068de3d40db85ecc42bd6ff501468bc76d7 intel-mediasdk-22.3.0.tar.gz +sha256 c1ebabf4c9a32de4349d9a9c707116b230cbf8a9c4655eec9ee844fd67dab6e8 intel-mediasdk-22.4.0.tar.gz sha256 dfd67773578903698f9ff4a61eb8f2d84810cbecd56f3f3cee8c649f813b6ea6 LICENSE diff --git a/package/intel-mediasdk/intel-mediasdk.mk b/package/intel-mediasdk/intel-mediasdk.mk index b90d252b4f..06b7aa87d0 100644 --- a/package/intel-mediasdk/intel-mediasdk.mk +++ b/package/intel-mediasdk/intel-mediasdk.mk @@ -4,7 +4,7 @@ # ################################################################################ -INTEL_MEDIASDK_VERSION = 22.3.0 +INTEL_MEDIASDK_VERSION = 22.4.0 INTEL_MEDIASDK_SITE = https://github.com/Intel-Media-SDK/MediaSDK/archive INTEL_MEDIASDK_LICENSE = MIT INTEL_MEDIASDK_LICENSE_FILES = LICENSE -- 2.30.2 From bernd.kuhls at t-online.de Thu Apr 21 17:24:06 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 21 Apr 2022 19:24:06 +0200 Subject: [Buildroot] [PATCH 1/2] package/intel-mediadriver: bump version to 22.4.0 Message-ID: <20220421172407.2759939-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/intel-mediadriver/intel-mediadriver.hash | 2 +- package/intel-mediadriver/intel-mediadriver.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash index 5c3d25eed8..e6cd7a1cd3 100644 --- a/package/intel-mediadriver/intel-mediadriver.hash +++ b/package/intel-mediadriver/intel-mediadriver.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz +sha256 f070527b141174970a17195d0225ed43693c39fec83cd5e6d0effaa88e2a5553 intel-media-22.4.0.tar.gz sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk index 4280f7fd29..f3833fcc45 100644 --- a/package/intel-mediadriver/intel-mediadriver.mk +++ b/package/intel-mediadriver/intel-mediadriver.mk @@ -6,7 +6,7 @@ # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack -INTEL_MEDIADRIVER_VERSION = 22.3.1 +INTEL_MEDIADRIVER_VERSION = 22.4.0 INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause -- 2.30.2 From arnout at mind.be Thu Apr 21 17:54:52 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:54:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/shadowsocks-libev: fix maybe-uninitialized errors In-Reply-To: <20220411162107.8704-1-fontaine.fabrice@gmail.com> References: <20220411162107.8704-1-fontaine.fabrice@gmail.com> Message-ID: <4988200c-3844-33b7-642e-ec5b3a0f4ce0@mind.be> On 11/04/2022 18:21, Fabrice Fontaine wrote: > Fix the following build failure: > > local.c: In function 'create_and_bind': > local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] > 218 | return listen_sock; > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0002-fix-maybe-uninitialized-errors.patch | 93 +++++++++++++++++++ > 1 file changed, 93 insertions(+) > create mode 100644 package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch > > diff --git a/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch > new file mode 100644 > index 0000000000..5275323e65 > --- /dev/null > +++ b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch > @@ -0,0 +1,93 @@ > +From 0c23224e926463b1097414979367655a27fa6d60 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Thu, 7 Apr 2022 18:27:58 +0200 > +Subject: [PATCH] fix maybe-uninitialized errors > + > +Set {listen,server}_sock to -1 when needed as already done in > +src/manager.c by commit ecf1fcc84594b09ed2d61e3677cd8e62bd897ccb to > +avoid the following build failure: > + > +local.c: In function 'create_and_bind': > +local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] > + 218 | return listen_sock; > + | ^~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/shadowsocks/shadowsocks-libev/commit/0c23224e926463b1097414979367655a27fa6d60] > +--- > + src/local.c | 2 +- > + src/redir.c | 2 +- > + src/server.c | 2 +- > + src/tunnel.c | 2 +- > + src/udprelay.c | 2 +- > + 5 files changed, 5 insertions(+), 5 deletions(-) > + > +diff --git a/src/local.c b/src/local.c > +index b1ab040bb..47d634ce5 100644 > +--- a/src/local.c > ++++ b/src/local.c > +@@ -168,7 +168,7 @@ create_and_bind(const char *addr, const char *port) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp; > +- int s, listen_sock; > ++ int s, listen_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ > +diff --git a/src/redir.c b/src/redir.c > +index 4a5a489f0..e60bd4870 100644 > +--- a/src/redir.c > ++++ b/src/redir.c > +@@ -147,7 +147,7 @@ create_and_bind(const char *addr, const char *port) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp; > +- int s, listen_sock; > ++ int s, listen_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ > +diff --git a/src/server.c b/src/server.c > +index e9cdc2619..073e38b22 100644 > +--- a/src/server.c > ++++ b/src/server.c > +@@ -550,7 +550,7 @@ create_and_bind(const char *host, const char *port, int mptcp) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp, *ipv4v6bindall; > +- int s, listen_sock; > ++ int s, listen_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ > +diff --git a/src/tunnel.c b/src/tunnel.c > +index e0886bdb9..6641fe62a 100644 > +--- a/src/tunnel.c > ++++ b/src/tunnel.c > +@@ -129,7 +129,7 @@ create_and_bind(const char *addr, const char *port) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp; > +- int s, listen_sock; > ++ int s, listen_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ > +diff --git a/src/udprelay.c b/src/udprelay.c > +index 23a042497..580ad4bd8 100644 > +--- a/src/udprelay.c > ++++ b/src/udprelay.c > +@@ -446,7 +446,7 @@ create_server_socket(const char *host, const char *port) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp, *ipv4v6bindall; > +- int s, server_sock; > ++ int s, server_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ From arnout at mind.be Thu Apr 21 17:55:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:55:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/rsync: fix static build In-Reply-To: <20220411211956.257449-1-fontaine.fabrice@gmail.com> References: <20220411211956.257449-1-fontaine.fabrice@gmail.com> Message-ID: <7bdb1a8a-fea6-62be-9e64-c71ea23cdf67@mind.be> On 11/04/2022 23:19, Fabrice Fontaine wrote: > Fix the following static build failure when using an external zlib: > > /home/autobuild/autobuild/instance-11/output-1/host/bin/i686-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -static -o rsync flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o util2.o main.o checksum.o match.o syscall.o log.o backup.o delete.o options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o -lz -lpopt -liconv > /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/i686-buildroot-linux-uclibc/9.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libz.a(deflate.c.o): in function `read_buf': > deflate.c:(.text+0xb93): multiple definition of `read_buf'; io.o:io.c:(.text+0x2bf4): first defined here > > Fixes: > - http://autobuild.buildroot.org/results/488453197da880dda8f47b71ff302192bcbb6679 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...g-with-a-zlib-with-external-read_buf.patch | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch > > diff --git a/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch > new file mode 100644 > index 0000000000..0af090732c > --- /dev/null > +++ b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch > @@ -0,0 +1,27 @@ > +From 60dd42be603a79cd57cec076fe1680e9037be774 Mon Sep 17 00:00:00 2001 > +From: Wayne Davison > +Date: Mon, 11 Apr 2022 08:29:54 -0700 > +Subject: [PATCH] Handle linking with a zlib with external read_buf. > + > +[Retrieved from: > +https://github.com/WayneD/rsync/commit/60dd42be603a79cd57cec076fe1680e9037be774] > +Signed-off-by: Fabrice Fontaine > +--- > + rsync.h | 4 ++++ > + 1 file changed, 4 insertions(+) > + > +diff --git a/rsync.h b/rsync.h > +index 4b30570b..e5aacd25 100644 > +--- a/rsync.h > ++++ b/rsync.h > +@@ -1172,6 +1172,10 @@ struct name_num_obj { > + struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */ > + }; > + > ++#ifdef EXTERNAL_ZLIB > ++#define read_buf read_buf_ > ++#endif > ++ > + #ifndef __cplusplus > + #include "proto.h" > + #endif From arnout at mind.be Thu Apr 21 17:55:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:55:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/startup-notification: bump to version 0.12 In-Reply-To: <20220411212234.257672-1-fontaine.fabrice@gmail.com> References: <20220411212234.257672-1-fontaine.fabrice@gmail.com> Message-ID: <3eb4b64d-f59d-845a-ce26-f49d3fb9dd98@mind.be> On 11/04/2022 23:22, Fabrice Fontaine wrote: > xcb-util is mandatory since > https://cgit.freedesktop.org/startup-notification/commit/?id=15c0bae76e0bcd5d2839a791cf51c8b22e615fe2 > https://cgit.freedesktop.org/startup-notification/commit/?id=57816a46aa32d0bd667661ce6aaaa187f84ec889 > > https://cgit.freedesktop.org/startup-notification/tree/NEWS?h=STARTUP_NOTIFICATION_0_12 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/startup-notification/Config.in | 1 + > package/startup-notification/startup-notification.hash | 2 +- > package/startup-notification/startup-notification.mk | 4 ++-- > 3 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/package/startup-notification/Config.in b/package/startup-notification/Config.in > index 88d18174bc..606276e484 100644 > --- a/package/startup-notification/Config.in > +++ b/package/startup-notification/Config.in > @@ -2,6 +2,7 @@ config BR2_PACKAGE_STARTUP_NOTIFICATION > bool "startup-notification" > depends on BR2_PACKAGE_XORG7 > depends on BR2_USE_MMU # fork() > + select BR2_PACKAGE_XCB_UTIL > select BR2_PACKAGE_XLIB_LIBX11 > help > Startup-notification is a library used to monitor > diff --git a/package/startup-notification/startup-notification.hash b/package/startup-notification/startup-notification.hash > index 474c8bd92c..9c5713213b 100644 > --- a/package/startup-notification/startup-notification.hash > +++ b/package/startup-notification/startup-notification.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 c2fa09f9a49d8b319e79638e49e967c682df8726006e03059b1ffca5ab82099c startup-notification-0.9.tar.gz > +sha256 3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a startup-notification-0.12.tar.gz > sha256 29935974beae046f50da806b5f4e54532401dd7bcfbc696a0b645f4cbcce9dbb COPYING > diff --git a/package/startup-notification/startup-notification.mk b/package/startup-notification/startup-notification.mk > index b3314087f5..4a9e33e5ed 100644 > --- a/package/startup-notification/startup-notification.mk > +++ b/package/startup-notification/startup-notification.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -STARTUP_NOTIFICATION_VERSION = 0.9 > +STARTUP_NOTIFICATION_VERSION = 0.12 > STARTUP_NOTIFICATION_SITE = http://freedesktop.org/software/startup-notification/releases > STARTUP_NOTIFICATION_INSTALL_STAGING = YES > -STARTUP_NOTIFICATION_DEPENDENCIES = xlib_libX11 > +STARTUP_NOTIFICATION_DEPENDENCIES = xcb-util xlib_libX11 > STARTUP_NOTIFICATION_CONF_ENV = lf_cv_sane_realloc=yes > STARTUP_NOTIFICATION_CONF_OPTS = --with-x \ > --x-includes="$(STAGING_DIR)/usr/include/X11" \ From arnout at mind.be Thu Apr 21 17:56:01 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:56:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix FTBFS In-Reply-To: <20220411215002.518739-1-fontaine.fabrice@gmail.com> References: <20220411215002.518739-1-fontaine.fabrice@gmail.com> Message-ID: <2fbd9546-2b4c-f1f1-a71b-1880166d6096@mind.be> On 11/04/2022 23:50, Fabrice Fontaine wrote: > Fix the folloing build failure raised since commit > 04164b81e76e29fb9482245e808b46af2aa67bc6: > > src/utils.c: In function 'sha512sum256': > src/utils.c:619:45: error: token " " is not valid in preprocessor expressions > 619 | #if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) > | ^ > > Fixes: > - http://autobuild.buildroot.org/results/caf0f5e4c6ad0f2764f07d33f594b6121cea87bc > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../tvheadend/0003-Fix-FTBFS-in-utils-c.patch | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch > > diff --git a/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch > new file mode 100644 > index 0000000000..2caa281490 > --- /dev/null > +++ b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch > @@ -0,0 +1,28 @@ > +From fd01737270d98c28465c86a688bd7d1c640486c5 Mon Sep 17 00:00:00 2001 > +From: Michael Marley > +Date: Wed, 6 Apr 2022 21:47:49 -0400 > +Subject: [PATCH] Fix FTBFS in utils.c > + > +U+0020 SPACE and U+00A0 NO-BREAK SPACE look the same, but they > +aren't the same. > + > +[Retrieved from: > +https://github.com/tvheadend/tvheadend/commit/fd01737270d98c28465c86a688bd7d1c640486c5] > +Signed-off-by: Fabrice Fontaine > +--- > + src/utils.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/utils.c b/src/utils.c > +index eecb10e116..bc6401d22f 100644 > +--- a/src/utils.c > ++++ b/src/utils.c > +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) > + char * > + sha512sum256 ( const char *str, int lowercase ) > + { > +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&?!defined(LIBRESSL_VERSION_NUMBER) > ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) > + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); > + #else > + return NULL; From arnout at mind.be Thu Apr 21 17:56:27 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:56:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/openssh: bump to version 9.0p1 In-Reply-To: <20220412101919.7454-1-mf@go-sys.de> References: <20220412101919.7454-1-mf@go-sys.de> Message-ID: <31a7215a-b322-d640-436d-d177aaa6803f@mind.be> On 12/04/2022 12:19, Michael Fischer wrote: > patch 0001: already applied upstream > patch 0002: already applied upstream > > https://www.openssh.com/txt/release-9.0 > > Signed-off-by: Michael Fischer Applied to master, thanks. Regards, Arnout > --- > ...llow-ppoll_time64-in-seccomp-sandbox.patch | 32 ---------------- > ...n-of-fzero-call-used-regs-all-suppor.patch | 38 ------------------- > package/openssh/openssh.hash | 4 +- > package/openssh/openssh.mk | 2 +- > 4 files changed, 3 insertions(+), 73 deletions(-) > delete mode 100644 package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch > delete mode 100644 package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch > > diff --git a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch b/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch > deleted file mode 100644 > index 16eb6eaba2..0000000000 > --- a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch > +++ /dev/null > @@ -1,32 +0,0 @@ > -From 284b6e5394652d519e31782e3b3cdfd7b21d1a81 Mon Sep 17 00:00:00 2001 > -From: Darren Tucker > -Date: Sat, 26 Feb 2022 14:06:14 +1100 > -Subject: [PATCH] Allow ppoll_time64 in seccomp sandbox. > - > -Should fix sandbox violations on (some? at least i386 and armhf) 32bit > -Linux platforms. Patch from chutzpahu at gentoo.org and cjwatson at > -debian.org via bz#3396. > - > -[Upstream: https://github.com/openssh/openssh-portable/commit/284b6e5394652d519e31782e3b3cdfd7b21d1a81.patch] > -Signed-off-by: John Keeping > ---- > - sandbox-seccomp-filter.c | 3 +++ > - 1 file changed, 3 insertions(+) > - > -diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c > -index 2e065ba3..4ce80cb2 100644 > ---- a/sandbox-seccomp-filter.c > -+++ b/sandbox-seccomp-filter.c > -@@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = { > - #ifdef __NR_ppoll > - SC_ALLOW(__NR_ppoll), > - #endif > -+#ifdef __NR_ppoll_time64 > -+ SC_ALLOW(__NR_ppoll_time64), > -+#endif > - #ifdef __NR_poll > - SC_ALLOW(__NR_poll), > - #endif > --- > -2.35.1 > - > diff --git a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch b/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch > deleted file mode 100644 > index ce5c5539ff..0000000000 > --- a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch > +++ /dev/null > @@ -1,38 +0,0 @@ > -From b5fee5fe98f708c1dc61a1564db35eacadbfe8b3 Mon Sep 17 00:00:00 2001 > -From: Colin Watson > -Date: Thu, 24 Feb 2022 16:04:18 +0000 > -Subject: [PATCH] Improve detection of -fzero-call-used-regs=all support > - > -GCC doesn't tell us whether this option is supported unless it runs into > -the situation where it would need to emit corresponding code. > - > -[Upstream: https://github.com/openssh/openssh-portable/commit/f107467179428a0e3ea9e4aa9738ac12ff02822d.patch] > -Signed-off-by: Peter Seiderer > ---- > - m4/openssh.m4 | 3 +++ > - 1 file changed, 3 insertions(+) > - > -diff --git a/m4/openssh.m4 b/m4/openssh.m4 > -index 4f9c379..8c33c70 100644 > ---- a/m4/openssh.m4 > -+++ b/m4/openssh.m4 > -@@ -14,6 +14,8 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{ > - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ > - #include > - #include > -+/* Trivial function to help test for -fzero-call-used-regs */ > -+void f(int n) {} > - int main(int argc, char **argv) { > - (void)argv; > - /* Some math to catch -ftrapv problems in the toolchain */ > -@@ -21,6 +23,7 @@ int main(int argc, char **argv) { > - float l = i * 2.1; > - double m = l / 0.5; > - long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; > -+ f(0); > - printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); > - /* > - * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does > --- > -2.35.1 > - > diff --git a/package/openssh/openssh.hash b/package/openssh/openssh.hash > index dd123c1bb6..4cfdb91484 100644 > --- a/package/openssh/openssh.hash > +++ b/package/openssh/openssh.hash > @@ -1,4 +1,4 @@ > -# From https://www.openssh.com/txt/release-8.9 (base64 encoded) > -sha256 fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7 openssh-8.9p1.tar.gz > +# From https://www.openssh.com/txt/release-9.0 (base64 encoded) > +sha256 03974302161e9ecce32153cfa10012f1e65c8f3750f573a73ab1befd5972a28a openssh-9.0p1.tar.gz > # Locally calculated > sha256 d6807e99f3d159145c659060f57c3fa74e109faa39326dbfc38674cb550fd104 LICENCE > diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk > index 84add9563d..63a28f3af5 100644 > --- a/package/openssh/openssh.mk > +++ b/package/openssh/openssh.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -OPENSSH_VERSION_MAJOR = 8.9 > +OPENSSH_VERSION_MAJOR = 9.0 > OPENSSH_VERSION_MINOR = p1 > OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR) > OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR) From arnout at mind.be Thu Apr 21 17:56:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:56:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/netdata: fix uclibc build without wchar In-Reply-To: <20220412163624.1143941-1-fontaine.fabrice@gmail.com> References: <20220412163624.1143941-1-fontaine.fabrice@gmail.com> Message-ID: <5546c432-bdc0-944d-14c4-32c3648319fb@mind.be> On 12/04/2022 18:36, Fabrice Fontaine wrote: > Fix the following uclibc build failure without wchar raised since bump > to version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1: > > configure: error: Netdata requires a compiler that supports C99 to build > > Fixes: > - http://autobuild.buildroot.org/results/bca4d370ed0553d5f99f1277d0a1e3b49f62b95f > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/netdata/netdata.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk > index d29733d8f6..dade6c625b 100644 > --- a/package/netdata/netdata.mk > +++ b/package/netdata/netdata.mk > @@ -18,6 +18,10 @@ NETDATA_CONF_OPTS = \ > --disable-unit-tests > NETDATA_DEPENDENCIES = libuv util-linux zlib > > +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test > +# provided by autoconf relies on wchar_t. > +NETDATA_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 > + > ifeq ($(BR2_GCC_ENABLE_LTO),y) > NETDATA_CONF_OPTS += --enable-lto > else From arnout at mind.be Thu Apr 21 17:57:24 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:57:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/azure-iot-sdk-c: fix build with libressl >= 2.8.0 In-Reply-To: <20220412182242.1452070-1-fontaine.fabrice@gmail.com> References: <20220412182242.1452070-1-fontaine.fabrice@gmail.com> Message-ID: <7cba12b4-c45f-8c1c-3584-6eed95cd5522@mind.be> On 12/04/2022 20:22, Fabrice Fontaine wrote: > Fix the following build failure with libressl >= 2.8.0 raised since > https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: > > /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': > /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] > 961 | bio_method = BIO_s_mem(); > | ^ > cc1: all warnings being treated as errors > > Fixes: > - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...apters-fix-build-with-libressl-2.8.0.patch | 85 +++++++++++++++++++ > 1 file changed, 85 insertions(+) > create mode 100644 package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch > > diff --git a/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch > new file mode 100644 > index 0000000000..e2a241bffe > --- /dev/null > +++ b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch > @@ -0,0 +1,85 @@ > +From 43b313988d66de144a528e4cf57827df1e8c692d Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 12 Apr 2022 20:00:36 +0200 > +Subject: [PATCH] adapters: fix build with libressl >= 2.8.0 (#589) > + > +Fix the following build failure with libressl >= 2.8.0 raised since > +https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: > + > +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': > +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] > + 961 | bio_method = BIO_s_mem(); > + | ^ > +cc1: all warnings being treated as errors > + > +Fix #585 > + > +Fixes: > + - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/Azure/azure-c-shared-utility/commit/43b313988d66de144a528e4cf57827df1e8c692d] > +--- > + adapters/tlsio_openssl.c | 2 +- > + adapters/x509_openssl.c | 4 ++-- > + tests/x509_openssl_ut/x509_openssl_ut.c | 4 ++-- > + 3 files changed, 5 insertions(+), 5 deletions(-) > + > +diff --git a/c-utility/adapters/tlsio_openssl.c b/c-utility/adapters/tlsio_openssl.c > +index 4a3df8496..aa48ce52d 100644 > +--- a/c-utility/adapters/tlsio_openssl.c > ++++ b/c-utility/adapters/tlsio_openssl.c > +@@ -953,7 +953,7 @@ static int add_certificate_to_store(TLS_IO_INSTANCE* tls_io_instance, const char > + } > + else > + { > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + const BIO_METHOD* bio_method; > + #else > + BIO_METHOD* bio_method; > +diff --git a/c-utility/adapters/x509_openssl.c b/c-utility/adapters/x509_openssl.c > +index 5a9e5ac29..46195b403 100644 > +--- a/c-utility/adapters/x509_openssl.c > ++++ b/c-utility/adapters/x509_openssl.c > +@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate) > + // certificates. > + > + /* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */ > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + SSL_CTX_clear_extra_chain_certs(ssl_ctx); > + #else > + if (ssl_ctx->extra_certs != NULL) > +@@ -345,7 +345,7 @@ int x509_openssl_add_certificates(SSL_CTX* ssl_ctx, const char* certificates) > + else > + { > + /*Codes_SRS_X509_OPENSSL_02_012: [ x509_openssl_add_certificates shall get the memory BIO method function by calling BIO_s_mem. ]*/ > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + const BIO_METHOD* bio_method; > + #else > + BIO_METHOD* bio_method; > +diff --git a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c > +index b3349f6b0..f73191e3f 100644 > +--- a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c > ++++ b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c > +@@ -348,7 +348,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) > + STRICT_EXPECTED_CALL(BIO_new_mem_buf((void*)TEST_PUBLIC_CERTIFICATE, -1)); > + STRICT_EXPECTED_CALL(PEM_read_bio_X509_AUX(IGNORED_PTR_ARG, NULL, NULL, NULL)); > + STRICT_EXPECTED_CALL(SSL_CTX_use_certificate(IGNORED_PTR_ARG, IGNORED_PTR_ARG)); > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + // Actual macro name: SSL_CTX_clear_extra_chain_certs: > + STRICT_EXPECTED_CALL(SSL_CTX_ctrl(TEST_SSL_CTX_STRUCTURE, SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS, 0, NULL)); > + #endif > +@@ -537,7 +537,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) > + > + umock_c_negative_tests_snapshot(); > + > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + #ifdef __APPLE__ > + size_t calls_cannot_fail_rsa[] = { 4, 5, 6, 10, 12, 13, 14 }; > + size_t calls_cannot_fail_ecc[] = { 3, 4, 8, 10, 11, 12} ; From arnout at mind.be Thu Apr 21 17:57:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:57:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/libudfread: needs __sync_*_4 or threads In-Reply-To: <20220412203048.23203-1-fontaine.fabrice@gmail.com> References: <20220412203048.23203-1-fontaine.fabrice@gmail.com> Message-ID: <3df8464a-8780-bb42-0b9d-a0ba85fa2af6@mind.be> On 12/04/2022 22:30, Fabrice Fontaine wrote: > libudfread needs __sync_*_4 or threads since its addition in commit > c477885e3f3c31d3922af1fc0e47e6f5f35b1645 and > https://code.videolan.org/videolan/libudfread/-/commit/06c3cb9223a3cb5ab048e42ab353958f422a8f57 > to avoid the following build failure: > > src/udfread.c:108:3: error: #error no atomic operation support > 108 | # error no atomic operation support > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/f76d475f49d525095ac0054224b50b9e612691d6 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libudfread/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/libudfread/Config.in b/package/libudfread/Config.in > index 8d42570500..c1f3f23af9 100644 > --- a/package/libudfread/Config.in > +++ b/package/libudfread/Config.in > @@ -1,6 +1,10 @@ > config BR2_PACKAGE_LIBUDFREAD > bool "libudfread" > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS > help > UDF reader > > https://code.videolan.org/videolan/libudfread > + > +comment "libudfread needs a toolchain w/ threads" > + depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS From arnout at mind.be Thu Apr 21 17:58:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:58:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/bpftool: needs __sync_*_4 intrisics In-Reply-To: <20220412204844.24228-1-fontaine.fabrice@gmail.com> References: <20220412204844.24228-1-fontaine.fabrice@gmail.com> Message-ID: <021eaeb3-9524-4856-b334-29a01a131f47@mind.be> On 12/04/2022 22:48, Fabrice Fontaine wrote: > bpftool needs __sync_*_4 intrisics since its addition in commit > 3675131e6c654d7536a184db0184fde7a97040e0 and > https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97: > > /nvmedata/autobuild/instance-26/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-26/output-1/build/bpftool-v6.7.0/src/libbpf/libbpf.a(libbpf.o): in function `bpf_program__attach_kprobe_opts': > libbpf.c:(.text+0xff88): undefined reference to `__sync_fetch_and_add_4' > > Fixes: > - http://autobuild.buildroot.org/results/919b8351d3783ca30a860df87ae814d5c4b9fd41 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/bpftool/Config.in | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in > index a1ef3843e6..461be9e5b4 100644 > --- a/package/bpftool/Config.in > +++ b/package/bpftool/Config.in > @@ -10,6 +10,7 @@ config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS > config BR2_PACKAGE_BPFTOOL > bool "bpftool" > depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_nios2 # binutils > depends on BR2_USE_WCHAR # binutils, elfutils > depends on !BR2_STATIC_LIBS # elfutils > @@ -24,6 +25,7 @@ config BR2_PACKAGE_BPFTOOL > > comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12" > depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_nios2 > depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ > || !BR2_TOOLCHAIN_HAS_THREADS \ From arnout at mind.be Thu Apr 21 17:58:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:58:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/libbpf: needs __sync_*_4 intrisics In-Reply-To: <20220412204926.24281-1-fontaine.fabrice@gmail.com> References: <20220412204926.24281-1-fontaine.fabrice@gmail.com> Message-ID: <16a05482-8a31-5323-cc4b-13bdc66945ec@mind.be> On 12/04/2022 22:49, Fabrice Fontaine wrote: > libbpf needs __sync_*_4 intrisics since bump to version 0.7.0 in commit > 4b1003855b02f6d9c77de634c9d0f636470e7388 and > https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97 > > Fixes: > - No autobuilder failures (yet) > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libbpf/Config.in | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/libbpf/Config.in b/package/libbpf/Config.in > index 3aa6679b3a..b3d6e44c6a 100644 > --- a/package/libbpf/Config.in > +++ b/package/libbpf/Config.in > @@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS > config BR2_PACKAGE_LIBBPF > bool "libbpf" > depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on BR2_USE_WCHAR # elfutils > depends on !BR2_STATIC_LIBS # elfutils > depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils > @@ -27,6 +28,7 @@ config BR2_PACKAGE_LIBBPF > > comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13" > depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ > || !BR2_TOOLCHAIN_HAS_THREADS \ > || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \ From arnout at mind.be Thu Apr 21 17:59:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:59:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: bump to version 1.60.0 In-Reply-To: <20220413095038.1941918-1-nicolas.tran@smile.fr> References: <20220413095038.1941918-1-nicolas.tran@smile.fr> Message-ID: On 13/04/2022 11:50, Nicolas Tran wrote: > Link to Rust 1.60.0: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html > > Packages relying on Rust have been updated to support version 1.60.0: > package/rust > package/rust-bin > > Newest version of the source archives have been retrieved with their hash values, and the signature of the .asc files have been verified as follows: > $ curl -fsSL https://static.rust-lang.org/rust-key.gpg.ascii | gpg --import > $ gpg --verify > > The signatures were recognized but the ownership from https://static.rust-lang.org could not be verified. Because this URL can be trusted, it has been considered to blindly sign the corresponding key: > $ gpg --lsign-key 85AB96E6FA1BE5FE > > There is no typographical error in the packages according to the check-pakage utility: > $ ./utils/check-package package/rust-bin/* > $ ./utils/check-package package/rust/* > > The testsuites for the rust-bin and rust packages to test the Rust toolchain under 1.60.0 were successful: > $ ./support/testing/run-tests -k -d dl/ -o testsuite tests.package.test_rust.TestRustBin > $ ./support/testing/run-tests -k -d dl/ -o testsuite tests.package.test_rust.TestRust > > In order to verify the compatibility of Rust 1.60.0 with packages relying on it, tests using `./utils/test-pkg` were run. > For example, running the following command with `.conf` file enabling the corresponding BR2_PACKAGE: > $ ./utils/test-pkg -d test-pkg -c ripgrep.config -p ripgrep > > Results: > package/ripgrep: OK > package/librsvg : OK > package/suricata: OK > package/bat: OK > > Notes: > - For all the mentionned packages, the successful build was made on the toolchain bootlin-armv7-glibc (except package/bat, for which it was bootlin-x86-64-musl). > - A redundant build fail was witnessed for the bootlin-x86-64-musl toolchain for all the packages tested (except for package/bat). The same tests were redone in the master branch and it was already the case with Rust 1.58.1. > > Signed-off-by: Nicolas Tran Applied to master, thanks. Regards, Arnout > --- > package/rust-bin/rust-bin.hash | 252 ++++++++++++++++----------------- > package/rust-bin/rust-bin.mk | 2 +- > package/rust/rust.hash | 2 +- > package/rust/rust.mk | 2 +- > 4 files changed, 129 insertions(+), 129 deletions(-) > > diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash > index b2a4502cd9..5e1100c671 100644 > --- a/package/rust-bin/rust-bin.hash > +++ b/package/rust-bin/rust-bin.hash > @@ -1,129 +1,129 @@ > -# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > -sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > -sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > -sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > -sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > -sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > -sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > -sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > -sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc > -sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > -sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > -sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc > -sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc > -sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc > -sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc > -sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc > -sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc > -sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc > -sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc > -sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc > -sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc > -sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc > -sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc > -sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc > -sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > -sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc > -sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > -sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc > -sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc > -sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc > -sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc > -sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc > -sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > -sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc > -sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > -sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > -sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > -sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > -sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc > -sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc > -sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > -sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc > -sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz.asc > +sha256 5d18bc384273edbd8a4b6d18104685651fb42d5f07bdf518ef2ec3641269c95d rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-i686-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-i686-unknown-linux-gnu.tar.xz.asc > +sha256 94567ff691b46ef3dff64f3866445a278a17b20639e62cdc4b6fcd7aed86cec8 rust-1.60.0-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-mips-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-mips-unknown-linux-gnu.tar.xz.asc > +sha256 d7643bf1c46765600b7f12e95c68c7bf98c720c9483d79d5d54884ea9c7f97be rust-1.60.0-mips-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz.asc > +sha256 7ff0a817d040688235b69c54e42266d5267481900a621012e7f3a4b9f58d0570 rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz.asc > +sha256 9502d2ceff5d0f9963cdb5dea1e5f83f140132f84df1f588be588d5d151d6637 rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.asc > +sha256 3e2914c26a60297d3b08fc30eee4fe919bf0a1bc24abb28a4ceb67b9f580e063 rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.asc > +sha256 2fb5c3cba35f3c1815a24c4f0de1ae34ce6ccfb7fb63cb724070670e8bfceba2 rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.asc > +sha256 cc20c99079d69bd85e5ddb4990415bcc76293513e3b05e8a0ad1d2efa9b968a4 rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-s390x-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-s390x-unknown-linux-gnu.tar.xz.asc > +sha256 1af141aa6ea084f8333cca4973488395414a87c2bdd77c1d58994869cf3cde5d rust-1.60.0-s390x-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz.asc > +sha256 83c3fb8645379ec308192fa713df87044892639495722077e07aa779b310239e rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz.asc > +sha256 fbc39c2ba2eee9bad7305d73d02a63ada651961be8fd9e0dae520bda5d715c6e rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz.asc > +sha256 16e8f0e03e6a025ef1f96cb76890810d4212525de82340d8cbf2f627725f2ec7 rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz.asc > +sha256 0260245f927a38efccf36c7c652e263b7dd69b80383e09426204bd9592990f9f rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz.asc > +sha256 aa40798080243dcdb199a1b7ffd21c056cdc94a76b0a8a339d5a8ad7a64fdc5a rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz.asc > +sha256 4c0722a9fa5cafa3c720bec8ab110147a0ccbe6947a4b98284e61fa01c006045 rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz.asc > +sha256 1429378d662b3bd15b69f426b30678d032ad193d805d7931997943ce8ebe96df rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz.asc > +sha256 48df1c532e23bda5476d287d9280da5cdbd0ed52f4f2e2af5dc088e816a52123 rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz.asc > +sha256 84aaa30d90acd0e633c80d54c368d3fcda2b78cbe547e97aeae944765ad93481 rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz.asc > +sha256 b913c45d85fcc1caf7de684127cf00a51430e0096e7c470e18ec76a8eec0b6d7 rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz.asc > +sha256 3b28be7ae8f669d40fcb01c36e83d9e0107164815c26e080d7cbcf4185b20be2 rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz.asc > +sha256 5499545cb0799a56f9d974e513234acfddac4aa7c40703b4780022069a6b1a69 rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz.asc > +sha256 925db12e7103935e90264890afdafd93e8485893effbd3fcd526ee9404683db1 rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz.asc > +sha256 790288c7060c5dc4aaaf5cc4d2842feeb86a046ce4689023f7def3cf4a091126 rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-musl.tar.xz.asc > +sha256 d583a74a61c8df3e1fdfc0ce86d0275c6922b584205385e94440b4b16278b74e rust-std-1.60.0-i586-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz.asc > +sha256 04a7ed0ab0811e3d4dc86053af1d49a8654bfdd6a1a5c22419e8a2c42c33c382 rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-musl.tar.xz.asc > +sha256 c7f7f87b0c66e68dc939d4fe906ee61d6bf8f4836b6e54eb02eccc07e805e806 rust-std-1.60.0-i686-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz.asc > +sha256 0f5ad9aaf415314308b0c5400b4e8300abe0d31233708902dbed0c5ad5bb70cb rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-musl.tar.xz.asc > +sha256 7b8c08adf5c9c4eae38b8929c58916e15ab7ada2d4e3438c60d1d778ba1ba0d6 rust-std-1.60.0-mips-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz.asc > +sha256 8cfc02116e2c15d96696332b8260a217f30aa21e95fac0b241a6a1b4252787e4 rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz.asc > +sha256 ca6096a4a6366c1faed3b71052bff5a3722bf7a186218f05980c4291d48ef31b rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc > +sha256 636cff37d1fb5474b576d9772d9754aa2d936611363ce658f1b422f444aa1ad7 rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz.asc > +sha256 a7b9428705e1267a22ad778d75f6e9c4ffab31e7f82180585c2bb187548c8ab6 rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz.asc > +sha256 ff963e0a04a5ae8511f75a5e11f42fce4e14942487ce7b6a4615a3b2ef412407 rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz.asc > +sha256 75e0212990727dc31e11bc76ddee87c0a94628427c5f18e5c63a3365ca7bfb38 rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz.asc > +sha256 81138f4b9c8ec6f68fa81f10ec0da5962a7bb433a85009fe970ec3bb6596b1af rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.asc > +sha256 b390bec6ce697a6347fb6c5dd70bb23f562cc9945ed215f10fd08dbc1a38293f rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.asc > +sha256 3bfce36ef03027574f2f1e17d24b172bd086a0a3adbd8944955d18ad9919a78e rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.asc > +sha256 9a1d788ed9d0b456ea6974b6468199455d82e437e56025de2a1d4031e9f67174 rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz.asc > +sha256 3d44442c5dc02fbdc4f71dd4f76dac714fa69a8021a3350b3919439a7ac548ac rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz.asc > +sha256 83039cd55d4ab7606d81f0e199f042e011cbe55b07b252913543c339c6c2f434 rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz.asc > +sha256 6fb8ee3650beb10836ae48a9aaa535473e64eaca20695b88113267aea3c7557f rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz.asc > +sha256 0801252694e49eca069003f311e23e124a6dee3557e613133dc2e3cab7bed64d rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz > # Locally generated > sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE > sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk > index d4cb8f50ea..7cfe5cd6df 100644 > --- a/package/rust-bin/rust-bin.mk > +++ b/package/rust-bin/rust-bin.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RUST_BIN_VERSION = 1.58.1 > +RUST_BIN_VERSION = 1.60.0 > RUST_BIN_SITE = https://static.rust-lang.org/dist > RUST_BIN_LICENSE = Apache-2.0 or MIT > RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > diff --git a/package/rust/rust.hash b/package/rust/rust.hash > index 7eb8f59603..81f366e564 100644 > --- a/package/rust/rust.hash > +++ b/package/rust/rust.hash > @@ -1,6 +1,6 @@ > # From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc > -sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz > +sha256 a025876deccbcb3f288d8e02623ea321f94623f31305d3c5c6f17855bb9685db rustc-1.60.0-src.tar.xz > # Locally generated > sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE > sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/rust/rust.mk b/package/rust/rust.mk > index cd8c87b68d..6ac75f39c4 100644 > --- a/package/rust/rust.mk > +++ b/package/rust/rust.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RUST_VERSION = 1.58.1 > +RUST_VERSION = 1.60.0 > RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz > RUST_SITE = https://static.rust-lang.org/dist > RUST_LICENSE = Apache-2.0 or MIT From arnout at mind.be Thu Apr 21 18:00:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 20:00:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/liboping: fix build with gcc >= 7 In-Reply-To: <20220413162520.594048-1-fontaine.fabrice@gmail.com> References: <20220413162520.594048-1-fontaine.fabrice@gmail.com> Message-ID: <51c1fbc7-459d-c5c1-0e4a-87bc119b0d2e@mind.be> On 13/04/2022 18:25, Fabrice Fontaine wrote: > Replace first patch (which is not in master after nearly 4 years) with > a new set of pending patches to fix the following build failure with > gcc >= 7: > > liboping.c: In function 'ping_set_ttl': > liboping.c:207:9: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Werror=format-truncation=] > 207 | "%s: %s", function, message); > | ^~ > ...... > 829 | sstrerror (ret, errbuf, sizeof (errbuf))); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > liboping.c:206:2: note: 'snprintf' output between 15 and 270 bytes into a destination of size 256 > 206 | snprintf (obj->errmsg, sizeof (obj->errmsg), > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 207 | "%s: %s", function, message); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/31083354e9064b2deef86917d67e92a88af0fa46 > > Signed-off-by: Fabrice Fontaine > --- > ...port.patch => 0001-fix-utf8-support.patch} | 0 > ...to-make-GCC-s-truncation-check-happy.patch | 31 ------------------ > ...when-adding-hosts-not-when-doing-th.patch} | 0 > ...-GCC-7-buffer-overflow-with-snprintf.patch | 28 ++++++++++++++++ > .../0004-Fix-compile-error-on-GCC-7.patch | 32 +++++++++++++++++++ > 5 files changed, 60 insertions(+), 31 deletions(-) > rename package/liboping/{0002-fix-utf8-support.patch => 0001-fix-utf8-support.patch} (100%) > delete mode 100644 package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch > rename package/liboping/{0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch => 0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch} (100%) > create mode 100644 package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch > create mode 100644 package/liboping/0004-Fix-compile-error-on-GCC-7.patch > > diff --git a/package/liboping/0002-fix-utf8-support.patch b/package/liboping/0001-fix-utf8-support.patch > similarity index 100% > rename from package/liboping/0002-fix-utf8-support.patch > rename to package/liboping/0001-fix-utf8-support.patch > diff --git a/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch b/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch > deleted file mode 100644 > index b0aca8a715..0000000000 > --- a/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch > +++ /dev/null > @@ -1,31 +0,0 @@ > -From 18ca43507b351f339ff23062541ee8d58e813a53 Mon Sep 17 00:00:00 2001 > -From: Florian Forster > -Date: Sun, 29 Jul 2018 14:34:19 +0200 > -Subject: [PATCH] ping_host_add: Decrease buffer size to make GCC's truncation > - check happy. > - > -Fixes: #38 > -Signed-off-by: Fabrice Fontaine > -[Retrieved from: > -https://github.com/octo/liboping/commit/18ca43507b351f339ff23062541ee8d58e813a53] > ---- > - src/liboping.c | 6 ++---- > - 1 file changed, 2 insertions(+), 4 deletions(-) > - > -diff --git a/src/liboping.c b/src/liboping.c > -index 5253e8c..2470988 100644 > ---- a/src/liboping.c > -+++ b/src/liboping.c > -@@ -1636,10 +1636,8 @@ int ping_host_add (pingobj_t *obj, const char *host) > - } > - else > - { > -- char errmsg[PING_ERRMSG_LEN]; > -- > -- snprintf (errmsg, PING_ERRMSG_LEN, "Unknown `ai_family': %i", ai_ptr->ai_family); > -- errmsg[PING_ERRMSG_LEN - 1] = '\0'; > -+ char errmsg[64]; > -+ snprintf (errmsg, sizeof(errmsg), "Unknown `ai_family': %d", ai_ptr->ai_family); I don't understand how the new patches can fix this error. But OK, I trust you checked it with GCC 8 :-) Applied to master, thanks. Regards, Arnout > - > - dprintf ("%s", errmsg); > - ping_set_error (obj, "getaddrinfo", errmsg); > diff --git a/package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch b/package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch > similarity index 100% > rename from package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch > rename to package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch > diff --git a/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch b/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch > new file mode 100644 > index 0000000000..546f159187 > --- /dev/null > +++ b/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch > @@ -0,0 +1,28 @@ > +From 0ad9ee080a7cd8037c341067cc67a84e32e69fea Mon Sep 17 00:00:00 2001 > +From: Maurice Smulders > +Date: Thu, 30 Dec 2021 10:45:42 -0700 > +Subject: [PATCH] Fix compile break with GCC 7+ - buffer overflow with snprintf > + > +[Retrieved from: > +https://github.com/octo/liboping/pull/64/commits/0ad9ee080a7cd8037c341067cc67a84e32e69fea] > +Signed-off-by: Fabrice Fontaine > +--- > + src/liboping.c | 3 +++ > + 1 file changed, 3 insertions(+) > + > +diff --git a/src/liboping.c b/src/liboping.c > +index bf9e059..9fd8f53 100644 > +--- a/src/liboping.c > ++++ b/src/liboping.c > +@@ -203,8 +203,11 @@ static char *sstrerror (int errnum, char *buf, size_t buflen) > + static void ping_set_error (pingobj_t *obj, const char *function, > + const char *message) > + { > ++#pragma GCC diagnostic push > ++#pragma GCC diagnostic ignored "-Wformat-truncation" > + snprintf (obj->errmsg, sizeof (obj->errmsg), > + "%s: %s", function, message); > ++#pragma GCC diagnostic pop > + obj->errmsg[sizeof (obj->errmsg) - 1] = 0; > + } > + > diff --git a/package/liboping/0004-Fix-compile-error-on-GCC-7.patch b/package/liboping/0004-Fix-compile-error-on-GCC-7.patch > new file mode 100644 > index 0000000000..38355be40e > --- /dev/null > +++ b/package/liboping/0004-Fix-compile-error-on-GCC-7.patch > @@ -0,0 +1,32 @@ > +From 3d685bdb1a6c655bce6d36cfd96e084be07cd2b1 Mon Sep 17 00:00:00 2001 > +From: Maurice Smulders > +Date: Tue, 4 Jan 2022 12:49:36 -0700 > +Subject: [PATCH] Fix compile error on GCC < 7 > + > +[Retrieved from: > +https://github.com/octo/liboping/pull/64/commits/3d685bdb1a6c655bce6d36cfd96e084be07cd2b1] > +Signed-off-by: Fabrice Fontaine > +--- > + src/liboping.c | 4 ++++ > + 1 file changed, 4 insertions(+) > + > +diff --git a/src/liboping.c b/src/liboping.c > +index 9fd8f53..1ccf609 100644 > +--- a/src/liboping.c > ++++ b/src/liboping.c > +@@ -203,11 +203,15 @@ static char *sstrerror (int errnum, char *buf, size_t buflen) > + static void ping_set_error (pingobj_t *obj, const char *function, > + const char *message) > + { > ++#if __GNUC__ >= 7 > + #pragma GCC diagnostic push > + #pragma GCC diagnostic ignored "-Wformat-truncation" > ++#endif > + snprintf (obj->errmsg, sizeof (obj->errmsg), > + "%s: %s", function, message); > ++#if __GNUC__ >= 7 > + #pragma GCC diagnostic pop > ++#endif > + obj->errmsg[sizeof (obj->errmsg) - 1] = 0; > + } > + From arnout at mind.be Thu Apr 21 17:31:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:47 +0200 Subject: [Buildroot] [git commit] package/netdata: fix uclibc build without wchar Message-ID: <20220421175056.5077B83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=98c22550e208d79ae212d4481a24d355eb509d18 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following uclibc build failure without wchar raised since bump to version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1: configure: error: Netdata requires a compiler that supports C99 to build Fixes: - http://autobuild.buildroot.org/results/bca4d370ed0553d5f99f1277d0a1e3b49f62b95f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/netdata/netdata.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index da6f8eb18b..4287e8406b 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -18,6 +18,10 @@ NETDATA_CONF_OPTS = \ --disable-unit-tests NETDATA_DEPENDENCIES = libuv util-linux zlib +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +NETDATA_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 + ifeq ($(BR2_GCC_ENABLE_LTO),y) NETDATA_CONF_OPTS += --enable-lto else From arnout at mind.be Thu Apr 21 17:31:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:32 +0200 Subject: [Buildroot] [git commit] package/rsync: fix static build Message-ID: <20220421175056.2193483F7D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bd1dfdf69a9939039c0a45ed97fb96a600752db7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following static build failure when using an external zlib: /home/autobuild/autobuild/instance-11/output-1/host/bin/i686-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -static -o rsync flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o util2.o main.o checksum.o match.o syscall.o log.o backup.o delete.o options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o -lz -lpopt -liconv /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/i686-buildroot-linux-uclibc/9.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libz.a(deflate.c.o): in function `read_buf': deflate.c:(.text+0xb93): multiple definition of `read_buf'; io.o:io.c:(.text+0x2bf4): first defined here Fixes: - http://autobuild.buildroot.org/results/488453197da880dda8f47b71ff302192bcbb6679 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...inking-with-a-zlib-with-external-read_buf.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch new file mode 100644 index 0000000000..0af090732c --- /dev/null +++ b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch @@ -0,0 +1,27 @@ +From 60dd42be603a79cd57cec076fe1680e9037be774 Mon Sep 17 00:00:00 2001 +From: Wayne Davison +Date: Mon, 11 Apr 2022 08:29:54 -0700 +Subject: [PATCH] Handle linking with a zlib with external read_buf. + +[Retrieved from: +https://github.com/WayneD/rsync/commit/60dd42be603a79cd57cec076fe1680e9037be774] +Signed-off-by: Fabrice Fontaine +--- + rsync.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/rsync.h b/rsync.h +index 4b30570b..e5aacd25 100644 +--- a/rsync.h ++++ b/rsync.h +@@ -1172,6 +1172,10 @@ struct name_num_obj { + struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */ + }; + ++#ifdef EXTERNAL_ZLIB ++#define read_buf read_buf_ ++#endif ++ + #ifndef __cplusplus + #include "proto.h" + #endif From arnout at mind.be Thu Apr 21 17:31:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:40 +0200 Subject: [Buildroot] [git commit] package/tvheadend: fix FTBFS Message-ID: <20220421175056.3755683FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bbb3370efbe92132cf4a00fa7bb267f9f4d6bc8a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the folloing build failure raised since commit 04164b81e76e29fb9482245e808b46af2aa67bc6: src/utils.c: In function 'sha512sum256': src/utils.c:619:45: error: token " " is not valid in preprocessor expressions 619 | #if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) | ^ Fixes: - http://autobuild.buildroot.org/results/caf0f5e4c6ad0f2764f07d33f594b6121cea87bc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch new file mode 100644 index 0000000000..2caa281490 --- /dev/null +++ b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch @@ -0,0 +1,28 @@ +From fd01737270d98c28465c86a688bd7d1c640486c5 Mon Sep 17 00:00:00 2001 +From: Michael Marley +Date: Wed, 6 Apr 2022 21:47:49 -0400 +Subject: [PATCH] Fix FTBFS in utils.c + +U+0020 SPACE and U+00A0 NO-BREAK SPACE look the same, but they +aren't the same. + +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/fd01737270d98c28465c86a688bd7d1c640486c5] +Signed-off-by: Fabrice Fontaine +--- + src/utils.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/utils.c b/src/utils.c +index eecb10e116..bc6401d22f 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&??!defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; From arnout at mind.be Thu Apr 21 17:31:54 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:54 +0200 Subject: [Buildroot] [git commit] package/libudfread: needs __sync_*_4 or threads Message-ID: <20220421175056.6647D83FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=090a6ab0fcd24a20fd51882d8b4ce11c184d29aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libudfread needs __sync_*_4 or threads since its addition in commit c477885e3f3c31d3922af1fc0e47e6f5f35b1645 and https://code.videolan.org/videolan/libudfread/-/commit/06c3cb9223a3cb5ab048e42ab353958f422a8f57 to avoid the following build failure: src/udfread.c:108:3: error: #error no atomic operation support 108 | # error no atomic operation support | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/f76d475f49d525095ac0054224b50b9e612691d6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libudfread/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libudfread/Config.in b/package/libudfread/Config.in index 8d42570500..c1f3f23af9 100644 --- a/package/libudfread/Config.in +++ b/package/libudfread/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_LIBUDFREAD bool "libudfread" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS help UDF reader https://code.videolan.org/videolan/libudfread + +comment "libudfread needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS From arnout at mind.be Thu Apr 21 17:31:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:35 +0200 Subject: [Buildroot] [git commit] package/startup-notification: bump to version 0.12 Message-ID: <20220421175056.2C29183FE8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d1e207f976018e44c964cbe661d5fa315f529527 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master xcb-util is mandatory since https://cgit.freedesktop.org/startup-notification/commit/?id=15c0bae76e0bcd5d2839a791cf51c8b22e615fe2 https://cgit.freedesktop.org/startup-notification/commit/?id=57816a46aa32d0bd667661ce6aaaa187f84ec889 https://cgit.freedesktop.org/startup-notification/tree/NEWS?h=STARTUP_NOTIFICATION_0_12 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/startup-notification/Config.in | 1 + package/startup-notification/startup-notification.hash | 2 +- package/startup-notification/startup-notification.mk | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/startup-notification/Config.in b/package/startup-notification/Config.in index 88d18174bc..606276e484 100644 --- a/package/startup-notification/Config.in +++ b/package/startup-notification/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_STARTUP_NOTIFICATION bool "startup-notification" depends on BR2_PACKAGE_XORG7 depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_XCB_UTIL select BR2_PACKAGE_XLIB_LIBX11 help Startup-notification is a library used to monitor diff --git a/package/startup-notification/startup-notification.hash b/package/startup-notification/startup-notification.hash index 474c8bd92c..9c5713213b 100644 --- a/package/startup-notification/startup-notification.hash +++ b/package/startup-notification/startup-notification.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c2fa09f9a49d8b319e79638e49e967c682df8726006e03059b1ffca5ab82099c startup-notification-0.9.tar.gz +sha256 3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a startup-notification-0.12.tar.gz sha256 29935974beae046f50da806b5f4e54532401dd7bcfbc696a0b645f4cbcce9dbb COPYING diff --git a/package/startup-notification/startup-notification.mk b/package/startup-notification/startup-notification.mk index b3314087f5..4a9e33e5ed 100644 --- a/package/startup-notification/startup-notification.mk +++ b/package/startup-notification/startup-notification.mk @@ -4,10 +4,10 @@ # ################################################################################ -STARTUP_NOTIFICATION_VERSION = 0.9 +STARTUP_NOTIFICATION_VERSION = 0.12 STARTUP_NOTIFICATION_SITE = http://freedesktop.org/software/startup-notification/releases STARTUP_NOTIFICATION_INSTALL_STAGING = YES -STARTUP_NOTIFICATION_DEPENDENCIES = xlib_libX11 +STARTUP_NOTIFICATION_DEPENDENCIES = xcb-util xlib_libX11 STARTUP_NOTIFICATION_CONF_ENV = lf_cv_sane_realloc=yes STARTUP_NOTIFICATION_CONF_OPTS = --with-x \ --x-includes="$(STAGING_DIR)/usr/include/X11" \ From arnout at mind.be Thu Apr 21 17:31:44 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:44 +0200 Subject: [Buildroot] [git commit] package/openssh: bump to version 9.0p1 Message-ID: <20220421175056.443AF83FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b936a95d021d73ed27ddb7c856a2e113bf467670 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master patch 0001: already applied upstream patch 0002: already applied upstream https://www.openssh.com/txt/release-9.0 Signed-off-by: Michael Fischer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...001-Allow-ppoll_time64-in-seccomp-sandbox.patch | 32 ------------------ ...ection-of-fzero-call-used-regs-all-suppor.patch | 38 ---------------------- package/openssh/openssh.hash | 4 +-- package/openssh/openssh.mk | 2 +- 4 files changed, 3 insertions(+), 73 deletions(-) diff --git a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch b/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch deleted file mode 100644 index 16eb6eaba2..0000000000 --- a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 284b6e5394652d519e31782e3b3cdfd7b21d1a81 Mon Sep 17 00:00:00 2001 -From: Darren Tucker -Date: Sat, 26 Feb 2022 14:06:14 +1100 -Subject: [PATCH] Allow ppoll_time64 in seccomp sandbox. - -Should fix sandbox violations on (some? at least i386 and armhf) 32bit -Linux platforms. Patch from chutzpahu at gentoo.org and cjwatson at -debian.org via bz#3396. - -[Upstream: https://github.com/openssh/openssh-portable/commit/284b6e5394652d519e31782e3b3cdfd7b21d1a81.patch] -Signed-off-by: John Keeping ---- - sandbox-seccomp-filter.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c -index 2e065ba3..4ce80cb2 100644 ---- a/sandbox-seccomp-filter.c -+++ b/sandbox-seccomp-filter.c -@@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = { - #ifdef __NR_ppoll - SC_ALLOW(__NR_ppoll), - #endif -+#ifdef __NR_ppoll_time64 -+ SC_ALLOW(__NR_ppoll_time64), -+#endif - #ifdef __NR_poll - SC_ALLOW(__NR_poll), - #endif --- -2.35.1 - diff --git a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch b/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch deleted file mode 100644 index ce5c5539ff..0000000000 --- a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch +++ /dev/null @@ -1,38 +0,0 @@ -From b5fee5fe98f708c1dc61a1564db35eacadbfe8b3 Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Thu, 24 Feb 2022 16:04:18 +0000 -Subject: [PATCH] Improve detection of -fzero-call-used-regs=all support - -GCC doesn't tell us whether this option is supported unless it runs into -the situation where it would need to emit corresponding code. - -[Upstream: https://github.com/openssh/openssh-portable/commit/f107467179428a0e3ea9e4aa9738ac12ff02822d.patch] -Signed-off-by: Peter Seiderer ---- - m4/openssh.m4 | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/m4/openssh.m4 b/m4/openssh.m4 -index 4f9c379..8c33c70 100644 ---- a/m4/openssh.m4 -+++ b/m4/openssh.m4 -@@ -14,6 +14,8 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{ - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - #include - #include -+/* Trivial function to help test for -fzero-call-used-regs */ -+void f(int n) {} - int main(int argc, char **argv) { - (void)argv; - /* Some math to catch -ftrapv problems in the toolchain */ -@@ -21,6 +23,7 @@ int main(int argc, char **argv) { - float l = i * 2.1; - double m = l / 0.5; - long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; -+ f(0); - printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); - /* - * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does --- -2.35.1 - diff --git a/package/openssh/openssh.hash b/package/openssh/openssh.hash index dd123c1bb6..4cfdb91484 100644 --- a/package/openssh/openssh.hash +++ b/package/openssh/openssh.hash @@ -1,4 +1,4 @@ -# From https://www.openssh.com/txt/release-8.9 (base64 encoded) -sha256 fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7 openssh-8.9p1.tar.gz +# From https://www.openssh.com/txt/release-9.0 (base64 encoded) +sha256 03974302161e9ecce32153cfa10012f1e65c8f3750f573a73ab1befd5972a28a openssh-9.0p1.tar.gz # Locally calculated sha256 d6807e99f3d159145c659060f57c3fa74e109faa39326dbfc38674cb550fd104 LICENCE diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index 84add9563d..63a28f3af5 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENSSH_VERSION_MAJOR = 8.9 +OPENSSH_VERSION_MAJOR = 9.0 OPENSSH_VERSION_MINOR = p1 OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR) OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR) From arnout at mind.be Thu Apr 21 17:31:57 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:57 +0200 Subject: [Buildroot] [git commit] package/bpftool: needs __sync_*_4 intrisics Message-ID: <20220421175056.719DB83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30cbb1e21716b205d1bbd5fc23d53a3f83773f22 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master bpftool needs __sync_*_4 intrisics since its addition in commit 3675131e6c654d7536a184db0184fde7a97040e0 and https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97: /nvmedata/autobuild/instance-26/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-26/output-1/build/bpftool-v6.7.0/src/libbpf/libbpf.a(libbpf.o): in function `bpf_program__attach_kprobe_opts': libbpf.c:(.text+0xff88): undefined reference to `__sync_fetch_and_add_4' Fixes: - http://autobuild.buildroot.org/results/919b8351d3783ca30a860df87ae814d5c4b9fd41 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/bpftool/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in index a1ef3843e6..461be9e5b4 100644 --- a/package/bpftool/Config.in +++ b/package/bpftool/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS config BR2_PACKAGE_BPFTOOL bool "bpftool" depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_nios2 # binutils depends on BR2_USE_WCHAR # binutils, elfutils depends on !BR2_STATIC_LIBS # elfutils @@ -24,6 +25,7 @@ config BR2_PACKAGE_BPFTOOL comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12" depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_nios2 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS \ From arnout at mind.be Thu Apr 21 17:53:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:53:06 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gst1-python: fix build without C++ Message-ID: <20220421175056.D343183FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33a4b795b23a72a8517afc1ca5ceccaad66d426b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without C++ raised since the addition of the package in commit ba0d78b90705fa6f564e105437be4817caf2ca6c: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" Fixes: - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...n-fix-build-on-systems-without-C-compiler.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..7d3059d61a --- /dev/null +++ b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 26c2385faed0bb997368daabd4c64207b3fc01ca Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 15 Apr 2022 18:58:49 +0200 +Subject: [PATCH] gst-python: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/26c2385faed0bb997368daabd4c64207b3fc01ca] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-python/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 1462604b297..c28df16192a 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-python', 'c', 'cpp', ++project('gst-python', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + From arnout at mind.be Thu Apr 21 17:32:05 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:05 +0200 Subject: [Buildroot] [git commit] package/{rust, rust-bin}: bump to version 1.60.0 Message-ID: <20220421175056.86F2F83FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b77600f5082085fa5e223798510502416fbf8035 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Link to Rust 1.60.0: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html Packages relying on Rust have been updated to support version 1.60.0: package/rust package/rust-bin Newest version of the source archives have been retrieved with their hash values, and the signature of the .asc files have been verified as follows: $ curl -fsSL https://static.rust-lang.org/rust-key.gpg.ascii | gpg --import $ gpg --verify The signatures were recognized but the ownership from https://static.rust-lang.org could not be verified. Because this URL can be trusted, it has been considered to blindly sign the corresponding key: $ gpg --lsign-key 85AB96E6FA1BE5FE There is no typographical error in the packages according to the check-pakage utility: $ ./utils/check-package package/rust-bin/* $ ./utils/check-package package/rust/* The testsuites for the rust-bin and rust packages to test the Rust toolchain under 1.60.0 were successful: $ ./support/testing/run-tests -k -d dl/ -o testsuite tests.package.test_rust.TestRustBin $ ./support/testing/run-tests -k -d dl/ -o testsuite tests.package.test_rust.TestRust In order to verify the compatibility of Rust 1.60.0 with packages relying on it, tests using `./utils/test-pkg` were run. For example, running the following command with `.conf` file enabling the corresponding BR2_PACKAGE: $ ./utils/test-pkg -d test-pkg -c ripgrep.config -p ripgrep Results: package/ripgrep: OK package/librsvg : OK package/suricata: OK package/bat: OK Notes: - For all the mentionned packages, the successful build was made on the toolchain bootlin-armv7-glibc (except package/bat, for which it was bootlin-x86-64-musl). - A redundant build fail was witnessed for the bootlin-x86-64-musl toolchain for all the packages tested (except for package/bat). The same tests were redone in the master branch and it was already the case with Rust 1.58.1. Signed-off-by: Nicolas Tran Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rust-bin/rust-bin.hash | 252 ++++++++++++++++++++--------------------- package/rust-bin/rust-bin.mk | 2 +- package/rust/rust.hash | 2 +- package/rust/rust.mk | 2 +- 4 files changed, 129 insertions(+), 129 deletions(-) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index b2a4502cd9..5e1100c671 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -1,129 +1,129 @@ -# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc -sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc -sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc -sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc -sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc -sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc -sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc -sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc -sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc -sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc -sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc -sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc -sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc -sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc -sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc -sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc -sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc -sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc -sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc -sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc -sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc -sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc -sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc -sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc -sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc -sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc -sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc -sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc -sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc -sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc -sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc -sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc -sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc -sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc -sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc -sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc -sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc -sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc -sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc -sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc -sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 5d18bc384273edbd8a4b6d18104685651fb42d5f07bdf518ef2ec3641269c95d rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-i686-unknown-linux-gnu.tar.xz.asc +sha256 94567ff691b46ef3dff64f3866445a278a17b20639e62cdc4b6fcd7aed86cec8 rust-1.60.0-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-mips-unknown-linux-gnu.tar.xz.asc +sha256 d7643bf1c46765600b7f12e95c68c7bf98c720c9483d79d5d54884ea9c7f97be rust-1.60.0-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 7ff0a817d040688235b69c54e42266d5267481900a621012e7f3a4b9f58d0570 rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 9502d2ceff5d0f9963cdb5dea1e5f83f140132f84df1f588be588d5d151d6637 rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 3e2914c26a60297d3b08fc30eee4fe919bf0a1bc24abb28a4ceb67b9f580e063 rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 2fb5c3cba35f3c1815a24c4f0de1ae34ce6ccfb7fb63cb724070670e8bfceba2 rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 cc20c99079d69bd85e5ddb4990415bcc76293513e3b05e8a0ad1d2efa9b968a4 rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-s390x-unknown-linux-gnu.tar.xz.asc +sha256 1af141aa6ea084f8333cca4973488395414a87c2bdd77c1d58994869cf3cde5d rust-1.60.0-s390x-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 83c3fb8645379ec308192fa713df87044892639495722077e07aa779b310239e rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 fbc39c2ba2eee9bad7305d73d02a63ada651961be8fd9e0dae520bda5d715c6e rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz.asc +sha256 16e8f0e03e6a025ef1f96cb76890810d4212525de82340d8cbf2f627725f2ec7 rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz.asc +sha256 0260245f927a38efccf36c7c652e263b7dd69b80383e09426204bd9592990f9f rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz.asc +sha256 aa40798080243dcdb199a1b7ffd21c056cdc94a76b0a8a339d5a8ad7a64fdc5a rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz.asc +sha256 4c0722a9fa5cafa3c720bec8ab110147a0ccbe6947a4b98284e61fa01c006045 rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz.asc +sha256 1429378d662b3bd15b69f426b30678d032ad193d805d7931997943ce8ebe96df rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz.asc +sha256 48df1c532e23bda5476d287d9280da5cdbd0ed52f4f2e2af5dc088e816a52123 rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz.asc +sha256 84aaa30d90acd0e633c80d54c368d3fcda2b78cbe547e97aeae944765ad93481 rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz.asc +sha256 b913c45d85fcc1caf7de684127cf00a51430e0096e7c470e18ec76a8eec0b6d7 rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz.asc +sha256 3b28be7ae8f669d40fcb01c36e83d9e0107164815c26e080d7cbcf4185b20be2 rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz.asc +sha256 5499545cb0799a56f9d974e513234acfddac4aa7c40703b4780022069a6b1a69 rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz.asc +sha256 925db12e7103935e90264890afdafd93e8485893effbd3fcd526ee9404683db1 rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz.asc +sha256 790288c7060c5dc4aaaf5cc4d2842feeb86a046ce4689023f7def3cf4a091126 rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-musl.tar.xz.asc +sha256 d583a74a61c8df3e1fdfc0ce86d0275c6922b584205385e94440b4b16278b74e rust-std-1.60.0-i586-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz.asc +sha256 04a7ed0ab0811e3d4dc86053af1d49a8654bfdd6a1a5c22419e8a2c42c33c382 rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-musl.tar.xz.asc +sha256 c7f7f87b0c66e68dc939d4fe906ee61d6bf8f4836b6e54eb02eccc07e805e806 rust-std-1.60.0-i686-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz.asc +sha256 0f5ad9aaf415314308b0c5400b4e8300abe0d31233708902dbed0c5ad5bb70cb rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-musl.tar.xz.asc +sha256 7b8c08adf5c9c4eae38b8929c58916e15ab7ada2d4e3438c60d1d778ba1ba0d6 rust-std-1.60.0-mips-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz.asc +sha256 8cfc02116e2c15d96696332b8260a217f30aa21e95fac0b241a6a1b4252787e4 rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz.asc +sha256 ca6096a4a6366c1faed3b71052bff5a3722bf7a186218f05980c4291d48ef31b rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc +sha256 636cff37d1fb5474b576d9772d9754aa2d936611363ce658f1b422f444aa1ad7 rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz.asc +sha256 a7b9428705e1267a22ad778d75f6e9c4ffab31e7f82180585c2bb187548c8ab6 rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 ff963e0a04a5ae8511f75a5e11f42fce4e14942487ce7b6a4615a3b2ef412407 rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz.asc +sha256 75e0212990727dc31e11bc76ddee87c0a94628427c5f18e5c63a3365ca7bfb38 rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 81138f4b9c8ec6f68fa81f10ec0da5962a7bb433a85009fe970ec3bb6596b1af rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 b390bec6ce697a6347fb6c5dd70bb23f562cc9945ed215f10fd08dbc1a38293f rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 3bfce36ef03027574f2f1e17d24b172bd086a0a3adbd8944955d18ad9919a78e rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 9a1d788ed9d0b456ea6974b6468199455d82e437e56025de2a1d4031e9f67174 rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz.asc +sha256 3d44442c5dc02fbdc4f71dd4f76dac714fa69a8021a3350b3919439a7ac548ac rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz.asc +sha256 83039cd55d4ab7606d81f0e199f042e011cbe55b07b252913543c339c6c2f434 rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 6fb8ee3650beb10836ae48a9aaa535473e64eaca20695b88113267aea3c7557f rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz.asc +sha256 0801252694e49eca069003f311e23e124a6dee3557e613133dc2e3cab7bed64d rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz # Locally generated sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk index d4cb8f50ea..7cfe5cd6df 100644 --- a/package/rust-bin/rust-bin.mk +++ b/package/rust-bin/rust-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUST_BIN_VERSION = 1.58.1 +RUST_BIN_VERSION = 1.60.0 RUST_BIN_SITE = https://static.rust-lang.org/dist RUST_BIN_LICENSE = Apache-2.0 or MIT RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT diff --git a/package/rust/rust.hash b/package/rust/rust.hash index 7eb8f59603..81f366e564 100644 --- a/package/rust/rust.hash +++ b/package/rust/rust.hash @@ -1,6 +1,6 @@ # From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc -sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz +sha256 a025876deccbcb3f288d8e02623ea321f94623f31305d3c5c6f17855bb9685db rustc-1.60.0-src.tar.xz # Locally generated sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/rust/rust.mk b/package/rust/rust.mk index cd8c87b68d..6ac75f39c4 100644 --- a/package/rust/rust.mk +++ b/package/rust/rust.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUST_VERSION = 1.58.1 +RUST_VERSION = 1.60.0 RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz RUST_SITE = https://static.rust-lang.org/dist RUST_LICENSE = Apache-2.0 or MIT From arnout at mind.be Thu Apr 21 17:32:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:15 +0200 Subject: [Buildroot] [git commit] package/uftrace: needs NPTL Message-ID: <20220421175056.A9C8083FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a3475c5c69b371c4fe8f74b253d868869eee12c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master uftrace needs NPTL since its addition in commit 09c97972d9f90b69cfc36f9ffe9e22c13daf9307 and https://github.com/namhyung/uftrace/commit/543fe53c256ceaef2d4d7cc44925bf1ad5a068a8: buildroot/build/uftrace-0.10/buildroot/build/uftrace-0.10/cmds/record.c:670: undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/8f884efb9d45f9145a4799981157c9226390b423 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/uftrace/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/uftrace/Config.in b/package/uftrace/Config.in index 98ddb7cbfb..8f8c5d25fd 100644 --- a/package/uftrace/Config.in +++ b/package/uftrace/Config.in @@ -8,7 +8,7 @@ config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS config BR2_PACKAGE_UFTRACE bool "uftrace" depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() depends on !BR2_STATIC_LIBS select BR2_PACKAGE_ARGP_STANDALONE if \ BR2_TOOLCHAIN_USES_UCLIBC || \ @@ -23,6 +23,6 @@ config BR2_PACKAGE_UFTRACE https://github.com/namhyung/uftrace -comment "uftrace needs a toolchain w/ threads, dynamic library" +comment "uftrace needs a toolchain w/ NPTL, dynamic library" depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From arnout at mind.be Thu Apr 21 17:32:12 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:12 +0200 Subject: [Buildroot] [git commit] package/libwebsockets: fix build without C++ Message-ID: <20220421175056.9D2AE83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ef58ef062e5c65d28fd1551ec2ab4584a5856928 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without C++ raised since bump to version 4.3.1 in commit 3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 and https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d: CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-CMakeLists.txt-fix-build-without-C.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch new file mode 100644 index 0000000000..c6d6d07dcc --- /dev/null +++ b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch @@ -0,0 +1,44 @@ +From 726b36eca158063d8871c91ad99a29113ea35aea Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 13 Apr 2022 21:03:26 +0200 +Subject: [PATCH] CMakeLists.txt: fix build without C++ + +Fix the following build failure without C++ raised since version 4.2.0 +and +https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d: + +CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): + The C++ compiler + + "/usr/bin/clang++" + + is not able to compile a simple test program. + +Fixes: + - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/warmcat/libwebsockets/pull/2613] +--- + CMakeLists.txt | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 08aaf8c6..96e3ad18 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -71,7 +71,10 @@ if (ESP_PLATFORM) + endif() + + # it's at this point any toolchain file is brought in +-project(libwebsockets C CXX) ++project(libwebsockets C) ++if (LWS_WITH_SECURE_STREAMS_CPP) ++ enable_language(CXX) ++endif() + include(CTest) + + if (PICO_SDK_PATH) +-- +2.35.1 + From arnout at mind.be Thu Apr 21 17:53:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:53:06 +0200 Subject: [Buildroot] [git commit] package/linux-tools: cpupower needs dynamic library Message-ID: <20220421175056.C659883FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c173eb47bfc908be3d3fd204a49c71ce3290f5d5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpupower needs dynamic library since its addition in commit f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build failure: ld (ld-elf2flt): -shared used without passing a shared library ID Fixes: - http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/linux-tools/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in index f459b41762..791f2c085c 100644 --- a/package/linux-tools/Config.in +++ b/package/linux-tools/Config.in @@ -7,12 +7,16 @@ config BR2_PACKAGE_LINUX_TOOLS config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER bool "cpupower" + depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LINUX_TOOLS select BR2_PACKAGE_PCIUTILS help cpupower is a collection of tools to examine and tune power saving related features of your processor. +comment "cpupower needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_LINUX_TOOLS_GPIO bool "gpio" select BR2_PACKAGE_LINUX_TOOLS From arnout at mind.be Thu Apr 21 17:53:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:53:06 +0200 Subject: [Buildroot] [git commit] package/libwebsockets: fix build without threads Message-ID: <20220421175056.EC14483FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c435d4ec60432f96abbc58cd1daf190528fafaa3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without threads raised since bump to version 4.3.1 in commit 3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 and https://github.com/warmcat/libwebsockets/commit/8eca7e17f27c8588170c5fa5fa3e6b14eb90e35d: In file included from /nvmedata/autobuild/instance-1/output-1/build/libwebsockets-4.3.1/lib/plat/unix/unix-caps.c:28: /nvmedata/autobuild/instance-1/output-1/build/libwebsockets-4.3.1/lib/core/./private-lib-core.h:68:11: fatal error: pthread.h: No such file or directory 68 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/5d011b65e530339eb3f4d06a08caabc6a73b403b Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libwebsockets/libwebsockets.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index f8093b92fa..63d50999a5 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -20,9 +20,13 @@ LIBWEBSOCKETS_CONF_OPTS = \ # in the library. If unset, LWS_MAX_SMP defaults to 32 and a small # amount of pthread mutex code is built into the library. ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) -LIBWEBSOCKETS_CONF_OPTS += -DLWS_MAX_SMP=1 +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_MAX_SMP=1 \ + -DLWS_WITH_SYS_SMD=OFF else -LIBWEBSOCKETS_CONF_OPTS += -DLWS_MAX_SMP= +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_MAX_SMP= \ + -DLWS_WITH_SYS_SMD=ON endif ifeq ($(BR2_PACKAGE_OPENSSL),y) From arnout at mind.be Thu Apr 21 17:32:08 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:08 +0200 Subject: [Buildroot] [git commit] package/liboping: fix build with gcc >= 7 Message-ID: <20220421175056.9206B83FE8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b47bd987f9d549b3dc5d7127d1773275560196d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Replace first patch (which is not in master after nearly 4 years) with a new set of pending patches to fix the following build failure with gcc >= 7: liboping.c: In function 'ping_set_ttl': liboping.c:207:9: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Werror=format-truncation=] 207 | "%s: %s", function, message); | ^~ ...... 829 | sstrerror (ret, errbuf, sizeof (errbuf))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ liboping.c:206:2: note: 'snprintf' output between 15 and 270 bytes into a destination of size 256 206 | snprintf (obj->errmsg, sizeof (obj->errmsg), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | "%s: %s", function, message); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/31083354e9064b2deef86917d67e92a88af0fa46 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...8-support.patch => 0001-fix-utf8-support.patch} | 0 ...size-to-make-GCC-s-truncation-check-happy.patch | 31 --------------------- ...kets-when-adding-hosts-not-when-doing-th.patch} | 0 ...-with-GCC-7-buffer-overflow-with-snprintf.patch | 28 +++++++++++++++++++ .../liboping/0004-Fix-compile-error-on-GCC-7.patch | 32 ++++++++++++++++++++++ 5 files changed, 60 insertions(+), 31 deletions(-) diff --git a/package/liboping/0002-fix-utf8-support.patch b/package/liboping/0001-fix-utf8-support.patch similarity index 100% rename from package/liboping/0002-fix-utf8-support.patch rename to package/liboping/0001-fix-utf8-support.patch diff --git a/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch b/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch deleted file mode 100644 index b0aca8a715..0000000000 --- a/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 18ca43507b351f339ff23062541ee8d58e813a53 Mon Sep 17 00:00:00 2001 -From: Florian Forster -Date: Sun, 29 Jul 2018 14:34:19 +0200 -Subject: [PATCH] ping_host_add: Decrease buffer size to make GCC's truncation - check happy. - -Fixes: #38 -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/octo/liboping/commit/18ca43507b351f339ff23062541ee8d58e813a53] ---- - src/liboping.c | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/src/liboping.c b/src/liboping.c -index 5253e8c..2470988 100644 ---- a/src/liboping.c -+++ b/src/liboping.c -@@ -1636,10 +1636,8 @@ int ping_host_add (pingobj_t *obj, const char *host) - } - else - { -- char errmsg[PING_ERRMSG_LEN]; -- -- snprintf (errmsg, PING_ERRMSG_LEN, "Unknown `ai_family': %i", ai_ptr->ai_family); -- errmsg[PING_ERRMSG_LEN - 1] = '\0'; -+ char errmsg[64]; -+ snprintf (errmsg, sizeof(errmsg), "Unknown `ai_family': %d", ai_ptr->ai_family); - - dprintf ("%s", errmsg); - ping_set_error (obj, "getaddrinfo", errmsg); diff --git a/package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch b/package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch similarity index 100% rename from package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch rename to package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch diff --git a/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch b/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch new file mode 100644 index 0000000000..546f159187 --- /dev/null +++ b/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch @@ -0,0 +1,28 @@ +From 0ad9ee080a7cd8037c341067cc67a84e32e69fea Mon Sep 17 00:00:00 2001 +From: Maurice Smulders +Date: Thu, 30 Dec 2021 10:45:42 -0700 +Subject: [PATCH] Fix compile break with GCC 7+ - buffer overflow with snprintf + +[Retrieved from: +https://github.com/octo/liboping/pull/64/commits/0ad9ee080a7cd8037c341067cc67a84e32e69fea] +Signed-off-by: Fabrice Fontaine +--- + src/liboping.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/liboping.c b/src/liboping.c +index bf9e059..9fd8f53 100644 +--- a/src/liboping.c ++++ b/src/liboping.c +@@ -203,8 +203,11 @@ static char *sstrerror (int errnum, char *buf, size_t buflen) + static void ping_set_error (pingobj_t *obj, const char *function, + const char *message) + { ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wformat-truncation" + snprintf (obj->errmsg, sizeof (obj->errmsg), + "%s: %s", function, message); ++#pragma GCC diagnostic pop + obj->errmsg[sizeof (obj->errmsg) - 1] = 0; + } + diff --git a/package/liboping/0004-Fix-compile-error-on-GCC-7.patch b/package/liboping/0004-Fix-compile-error-on-GCC-7.patch new file mode 100644 index 0000000000..38355be40e --- /dev/null +++ b/package/liboping/0004-Fix-compile-error-on-GCC-7.patch @@ -0,0 +1,32 @@ +From 3d685bdb1a6c655bce6d36cfd96e084be07cd2b1 Mon Sep 17 00:00:00 2001 +From: Maurice Smulders +Date: Tue, 4 Jan 2022 12:49:36 -0700 +Subject: [PATCH] Fix compile error on GCC < 7 + +[Retrieved from: +https://github.com/octo/liboping/pull/64/commits/3d685bdb1a6c655bce6d36cfd96e084be07cd2b1] +Signed-off-by: Fabrice Fontaine +--- + src/liboping.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/liboping.c b/src/liboping.c +index 9fd8f53..1ccf609 100644 +--- a/src/liboping.c ++++ b/src/liboping.c +@@ -203,11 +203,15 @@ static char *sstrerror (int errnum, char *buf, size_t buflen) + static void ping_set_error (pingobj_t *obj, const char *function, + const char *message) + { ++#if __GNUC__ >= 7 + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wformat-truncation" ++#endif + snprintf (obj->errmsg, sizeof (obj->errmsg), + "%s: %s", function, message); ++#if __GNUC__ >= 7 + #pragma GCC diagnostic pop ++#endif + obj->errmsg[sizeof (obj->errmsg) - 1] = 0; + } + From arnout at mind.be Thu Apr 21 17:32:18 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:18 +0200 Subject: [Buildroot] [git commit] package/libwebsockets: add mbedtls optional dependency Message-ID: <20220421175056.B9A6A83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=702e7254f377501addfbb7c6d53ac6a2636eb076 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master mbedtls is an optional dependency since version 2.4.0 and https://github.com/warmcat/libwebsockets/commit/3aaf38d3d89d0436301fe66d9a5c097ea4fb1064 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libwebsockets/libwebsockets.mk | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index 152659cee6..f8093b92fa 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -27,9 +27,18 @@ endif ifeq ($(BR2_PACKAGE_OPENSSL),y) LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_WITH_SSL=ON \ + -DLWS_WITH_MBEDTLS=OFF +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBWEBSOCKETS_DEPENDENCIES += mbedtls +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_WITH_SSL=ON \ + -DLWS_WITH_MBEDTLS=ON else -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_WITH_SSL=OFF \ + -DLWS_WITH_MBEDTLS=OFF endif ifeq ($(BR2_PACKAGE_LIBEV),y) From arnout at mind.be Thu Apr 21 17:31:29 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:29 +0200 Subject: [Buildroot] [git commit] package/shadowsocks-libev: fix maybe-uninitialized errors Message-ID: <20220421175056.15D8D83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=eb952597c373ef11ea396df473c145a41adc742f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure: local.c: In function 'create_and_bind': local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] 218 | return listen_sock; | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0002-fix-maybe-uninitialized-errors.patch | 93 ++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch new file mode 100644 index 0000000000..5275323e65 --- /dev/null +++ b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch @@ -0,0 +1,93 @@ +From 0c23224e926463b1097414979367655a27fa6d60 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 7 Apr 2022 18:27:58 +0200 +Subject: [PATCH] fix maybe-uninitialized errors + +Set {listen,server}_sock to -1 when needed as already done in +src/manager.c by commit ecf1fcc84594b09ed2d61e3677cd8e62bd897ccb to +avoid the following build failure: + +local.c: In function 'create_and_bind': +local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] + 218 | return listen_sock; + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/shadowsocks/shadowsocks-libev/commit/0c23224e926463b1097414979367655a27fa6d60] +--- + src/local.c | 2 +- + src/redir.c | 2 +- + src/server.c | 2 +- + src/tunnel.c | 2 +- + src/udprelay.c | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/local.c b/src/local.c +index b1ab040bb..47d634ce5 100644 +--- a/src/local.c ++++ b/src/local.c +@@ -168,7 +168,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/redir.c b/src/redir.c +index 4a5a489f0..e60bd4870 100644 +--- a/src/redir.c ++++ b/src/redir.c +@@ -147,7 +147,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/server.c b/src/server.c +index e9cdc2619..073e38b22 100644 +--- a/src/server.c ++++ b/src/server.c +@@ -550,7 +550,7 @@ create_and_bind(const char *host, const char *port, int mptcp) + { + struct addrinfo hints; + struct addrinfo *result, *rp, *ipv4v6bindall; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/tunnel.c b/src/tunnel.c +index e0886bdb9..6641fe62a 100644 +--- a/src/tunnel.c ++++ b/src/tunnel.c +@@ -129,7 +129,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/udprelay.c b/src/udprelay.c +index 23a042497..580ad4bd8 100644 +--- a/src/udprelay.c ++++ b/src/udprelay.c +@@ -446,7 +446,7 @@ create_server_socket(const char *host, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp, *ipv4v6bindall; +- int s, server_sock; ++ int s, server_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ From arnout at mind.be Thu Apr 21 17:53:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:53:06 +0200 Subject: [Buildroot] [git commit] package/diffutils: fix build on arceb Message-ID: <20220421175056.E1C8F83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c44f745c8c2af821a00276141052a4e2e66128ed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 3.8 in commit 1f89c80417ad03127650b22c41ec4e30d42c549f: sigsegv.c: In function 'sigsegv_handler': sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' 979 | : vma.is_near_this (addr, &vma)) | ^ Fixes: - http://autobuild.buildroot.org/results/8c5b8b37eb3c2667c75666079b056df7e0023e05 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...gsegv-Fix-compilation-error-on-arceb-CPUs.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch b/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch new file mode 100644 index 0000000000..20db798f3a --- /dev/null +++ b/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch @@ -0,0 +1,41 @@ +From 1957bb5113a2bf02c7ecf0815125eec04b9476d2 Mon Sep 17 00:00:00 2001 +From: Bruno Haible +Date: Sat, 16 Apr 2022 03:01:51 +0200 +Subject: sigsegv: Fix compilation error on arceb CPUs. + +Reported by Fabrice Fontaine in +. + +* m4/stack-direction.m4 (SV_STACK_DIRECTION): Treat the 'arc' variants +like 'arc'. + +[Retrieved (and backported) from: +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=1957bb5113a2bf02c7ecf0815125eec04b9476d2] +Signed-off-by: Fabrice Fontaine +--- + ChangeLog | 8 ++++++++ + m4/stack-direction.m4 | 4 ++-- + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 +index 1df823e..924c5de 100644 +--- a/m4/stack-direction.m4 ++++ b/m4/stack-direction.m4 +@@ -1,4 +1,4 @@ +-# stack-direction.m4 serial 7 ++# stack-direction.m4 serial 11 + dnl Copyright (C) 2002-2021 Free Software Foundation, Inc. + dnl This file is free software, distributed under the terms of the GNU + dnl General Public License. As a special exception to the GNU General +@@ -18,7 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION], + a29k | \ + aarch64* | \ + alpha* | \ +- arc | \ ++ arc | arceb | arc32 | arc64 | \ + arm* | strongarm* | xscale* | \ + avr | avr32 | \ + bfin | \ +-- +cgit v1.1 + From arnout at mind.be Thu Apr 21 17:32:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:00 +0200 Subject: [Buildroot] [git commit] package/libbpf: needs __sync_*_4 intrisics Message-ID: <20220421175056.7C47983FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=84fe47d008d44cf0ec22885406d5644cdfbf072c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libbpf needs __sync_*_4 intrisics since bump to version 0.7.0 in commit 4b1003855b02f6d9c77de634c9d0f636470e7388 and https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97 Fixes: - No autobuilder failures (yet) Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libbpf/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libbpf/Config.in b/package/libbpf/Config.in index 3aa6679b3a..b3d6e44c6a 100644 --- a/package/libbpf/Config.in +++ b/package/libbpf/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS config BR2_PACKAGE_LIBBPF bool "libbpf" depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_USE_WCHAR # elfutils depends on !BR2_STATIC_LIBS # elfutils depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils @@ -27,6 +28,7 @@ config BR2_PACKAGE_LIBBPF comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13" depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \ From arnout at mind.be Thu Apr 21 17:31:50 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:50 +0200 Subject: [Buildroot] [git commit] package/azure-iot-sdk-c: fix build with libressl >= 2.8.0 Message-ID: <20220421175056.5B65F83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c2f829a71a728b689f8571187e1ff5b81f48a754 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl >= 2.8.0 raised since https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 961 | bio_method = BIO_s_mem(); | ^ cc1: all warnings being treated as errors Fixes: - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...01-adapters-fix-build-with-libressl-2.8.0.patch | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch new file mode 100644 index 0000000000..e2a241bffe --- /dev/null +++ b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch @@ -0,0 +1,85 @@ +From 43b313988d66de144a528e4cf57827df1e8c692d Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 12 Apr 2022 20:00:36 +0200 +Subject: [PATCH] adapters: fix build with libressl >= 2.8.0 (#589) + +Fix the following build failure with libressl >= 2.8.0 raised since +https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: + +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] + 961 | bio_method = BIO_s_mem(); + | ^ +cc1: all warnings being treated as errors + +Fix #585 + +Fixes: + - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/Azure/azure-c-shared-utility/commit/43b313988d66de144a528e4cf57827df1e8c692d] +--- + adapters/tlsio_openssl.c | 2 +- + adapters/x509_openssl.c | 4 ++-- + tests/x509_openssl_ut/x509_openssl_ut.c | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/c-utility/adapters/tlsio_openssl.c b/c-utility/adapters/tlsio_openssl.c +index 4a3df8496..aa48ce52d 100644 +--- a/c-utility/adapters/tlsio_openssl.c ++++ b/c-utility/adapters/tlsio_openssl.c +@@ -953,7 +953,7 @@ static int add_certificate_to_store(TLS_IO_INSTANCE* tls_io_instance, const char + } + else + { +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + const BIO_METHOD* bio_method; + #else + BIO_METHOD* bio_method; +diff --git a/c-utility/adapters/x509_openssl.c b/c-utility/adapters/x509_openssl.c +index 5a9e5ac29..46195b403 100644 +--- a/c-utility/adapters/x509_openssl.c ++++ b/c-utility/adapters/x509_openssl.c +@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate) + // certificates. + + /* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */ +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + SSL_CTX_clear_extra_chain_certs(ssl_ctx); + #else + if (ssl_ctx->extra_certs != NULL) +@@ -345,7 +345,7 @@ int x509_openssl_add_certificates(SSL_CTX* ssl_ctx, const char* certificates) + else + { + /*Codes_SRS_X509_OPENSSL_02_012: [ x509_openssl_add_certificates shall get the memory BIO method function by calling BIO_s_mem. ]*/ +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + const BIO_METHOD* bio_method; + #else + BIO_METHOD* bio_method; +diff --git a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c +index b3349f6b0..f73191e3f 100644 +--- a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c ++++ b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c +@@ -348,7 +348,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) + STRICT_EXPECTED_CALL(BIO_new_mem_buf((void*)TEST_PUBLIC_CERTIFICATE, -1)); + STRICT_EXPECTED_CALL(PEM_read_bio_X509_AUX(IGNORED_PTR_ARG, NULL, NULL, NULL)); + STRICT_EXPECTED_CALL(SSL_CTX_use_certificate(IGNORED_PTR_ARG, IGNORED_PTR_ARG)); +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + // Actual macro name: SSL_CTX_clear_extra_chain_certs: + STRICT_EXPECTED_CALL(SSL_CTX_ctrl(TEST_SSL_CTX_STRUCTURE, SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS, 0, NULL)); + #endif +@@ -537,7 +537,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) + + umock_c_negative_tests_snapshot(); + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + #ifdef __APPLE__ + size_t calls_cannot_fail_rsa[] = { 4, 5, 6, 10, 12, 13, 14 }; + size_t calls_cannot_fail_ecc[] = { 3, 4, 8, 10, 11, 12} ; From arnout at mind.be Thu Apr 21 19:09:33 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:09:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: fix build without C++ In-Reply-To: <20220413190815.888854-1-fontaine.fabrice@gmail.com> References: <20220413190815.888854-1-fontaine.fabrice@gmail.com> Message-ID: On 13/04/2022 21:08, Fabrice Fontaine wrote: > Fix the following build failure without C++ raised since bump to version > 4.3.1 in commit 3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 and > https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d: > > CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > > "/usr/bin/clang++" > > is not able to compile a simple test program. > > Fixes: > - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...1-CMakeLists.txt-fix-build-without-C.patch | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch > > diff --git a/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch > new file mode 100644 > index 0000000000..c6d6d07dcc > --- /dev/null > +++ b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch > @@ -0,0 +1,44 @@ > +From 726b36eca158063d8871c91ad99a29113ea35aea Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Wed, 13 Apr 2022 21:03:26 +0200 > +Subject: [PATCH] CMakeLists.txt: fix build without C++ > + > +Fix the following build failure without C++ raised since version 4.2.0 > +and > +https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d: > + > +CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > + The C++ compiler > + > + "/usr/bin/clang++" > + > + is not able to compile a simple test program. > + > +Fixes: > + - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: https://github.com/warmcat/libwebsockets/pull/2613] > +--- > + CMakeLists.txt | 5 ++++- > + 1 file changed, 4 insertions(+), 1 deletion(-) > + > +diff --git a/CMakeLists.txt b/CMakeLists.txt > +index 08aaf8c6..96e3ad18 100644 > +--- a/CMakeLists.txt > ++++ b/CMakeLists.txt > +@@ -71,7 +71,10 @@ if (ESP_PLATFORM) > + endif() > + > + # it's at this point any toolchain file is brought in > +-project(libwebsockets C CXX) > ++project(libwebsockets C) > ++if (LWS_WITH_SECURE_STREAMS_CPP) > ++ enable_language(CXX) > ++endif() > + include(CTest) > + > + if (PICO_SDK_PATH) > +-- > +2.35.1 > + From arnout at mind.be Thu Apr 21 19:09:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:09:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: add mbedtls optional dependency In-Reply-To: <20220413204838.1172927-1-fontaine.fabrice@gmail.com> References: <20220413204838.1172927-1-fontaine.fabrice@gmail.com> Message-ID: <3c32712a-a150-c4ca-4acf-e84d88bdd2d7@mind.be> On 13/04/2022 22:48, Fabrice Fontaine wrote: > mbedtls is an optional dependency since version 2.4.0 and > https://github.com/warmcat/libwebsockets/commit/3aaf38d3d89d0436301fe66d9a5c097ea4fb1064 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libwebsockets/libwebsockets.mk | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk > index 152659cee6..f8093b92fa 100644 > --- a/package/libwebsockets/libwebsockets.mk > +++ b/package/libwebsockets/libwebsockets.mk > @@ -27,9 +27,18 @@ endif > > ifeq ($(BR2_PACKAGE_OPENSSL),y) > LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl > -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_WITH_SSL=ON \ > + -DLWS_WITH_MBEDTLS=OFF > +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) > +LIBWEBSOCKETS_DEPENDENCIES += mbedtls > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_WITH_SSL=ON \ > + -DLWS_WITH_MBEDTLS=ON > else > -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_WITH_SSL=OFF \ > + -DLWS_WITH_MBEDTLS=OFF > endif > > ifeq ($(BR2_PACKAGE_LIBEV),y) From arnout at mind.be Thu Apr 21 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: fix build without threads In-Reply-To: <20220416145712.1956653-1-fontaine.fabrice@gmail.com> References: <20220416145712.1956653-1-fontaine.fabrice@gmail.com> Message-ID: <93748e61-33c1-20b1-2eb0-7d669962b752@mind.be> On 16/04/2022 16:57, Fabrice Fontaine wrote: > Fix the following build failure without threads raised since bump to > version 4.3.1 in commit 3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 and > https://github.com/warmcat/libwebsockets/commit/8eca7e17f27c8588170c5fa5fa3e6b14eb90e35d: > > In file included from /nvmedata/autobuild/instance-1/output-1/build/libwebsockets-4.3.1/lib/plat/unix/unix-caps.c:28: > /nvmedata/autobuild/instance-1/output-1/build/libwebsockets-4.3.1/lib/core/./private-lib-core.h:68:11: fatal error: pthread.h: No such file or directory > 68 | #include > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/5d011b65e530339eb3f4d06a08caabc6a73b403b > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libwebsockets/libwebsockets.mk | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk > index ea483bf58b..b05418e86d 100644 > --- a/package/libwebsockets/libwebsockets.mk > +++ b/package/libwebsockets/libwebsockets.mk > @@ -21,9 +21,13 @@ LIBWEBSOCKETS_CONF_OPTS = \ > # in the library. If unset, LWS_MAX_SMP defaults to 32 and a small > # amount of pthread mutex code is built into the library. > ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) > -LIBWEBSOCKETS_CONF_OPTS += -DLWS_MAX_SMP=1 > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_MAX_SMP=1 \ > + -DLWS_WITH_SYS_SMD=OFF > else > -LIBWEBSOCKETS_CONF_OPTS += -DLWS_MAX_SMP= > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_MAX_SMP= \ > + -DLWS_WITH_SYS_SMD=ON > endif > > ifeq ($(BR2_PACKAGE_OPENSSL),y) From arnout at mind.be Thu Apr 21 19:10:27 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:10:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/uftrace: needs NPTL In-Reply-To: <20220413192104.889800-1-fontaine.fabrice@gmail.com> References: <20220413192104.889800-1-fontaine.fabrice@gmail.com> Message-ID: On 13/04/2022 21:21, Fabrice Fontaine wrote: > uftrace needs NPTL since its addition in commit > 09c97972d9f90b69cfc36f9ffe9e22c13daf9307 and > https://github.com/namhyung/uftrace/commit/543fe53c256ceaef2d4d7cc44925bf1ad5a068a8: > > buildroot/build/uftrace-0.10/buildroot/build/uftrace-0.10/cmds/record.c:670: undefined reference to `pthread_setname_np' > > Fixes: > - http://autobuild.buildroot.org/results/8f884efb9d45f9145a4799981157c9226390b423 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/uftrace/Config.in | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/uftrace/Config.in b/package/uftrace/Config.in > index 98ddb7cbfb..8f8c5d25fd 100644 > --- a/package/uftrace/Config.in > +++ b/package/uftrace/Config.in > @@ -8,7 +8,7 @@ config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS > config BR2_PACKAGE_UFTRACE > bool "uftrace" > depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS > - depends on BR2_TOOLCHAIN_HAS_THREADS > + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() > depends on !BR2_STATIC_LIBS > select BR2_PACKAGE_ARGP_STANDALONE if \ > BR2_TOOLCHAIN_USES_UCLIBC || \ > @@ -23,6 +23,6 @@ config BR2_PACKAGE_UFTRACE > > https://github.com/namhyung/uftrace > > -comment "uftrace needs a toolchain w/ threads, dynamic library" > +comment "uftrace needs a toolchain w/ NPTL, dynamic library" > depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS > - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS > + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From arnout at mind.be Thu Apr 21 19:11:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:11:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-tools: cpupower needs dynamic library In-Reply-To: <20220415184942.575667-1-fontaine.fabrice@gmail.com> References: <20220415184942.575667-1-fontaine.fabrice@gmail.com> Message-ID: <3caf87e9-ec9d-02b0-c6a3-afefeb1a1763@mind.be> On 15/04/2022 20:49, Fabrice Fontaine wrote: > cpupower needs dynamic library since its addition in commit > f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build > failure: > > ld (ld-elf2flt): -shared used without passing a shared library ID > > Fixes: > - http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/linux-tools/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in > index f459b41762..791f2c085c 100644 > --- a/package/linux-tools/Config.in > +++ b/package/linux-tools/Config.in > @@ -7,12 +7,16 @@ config BR2_PACKAGE_LINUX_TOOLS > > config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER > bool "cpupower" > + depends on !BR2_STATIC_LIBS > select BR2_PACKAGE_LINUX_TOOLS > select BR2_PACKAGE_PCIUTILS > help > cpupower is a collection of tools to examine and tune power > saving related features of your processor. > > +comment "cpupower needs a toolchain w/ dynamic library" > + depends on BR2_STATIC_LIBS > + > config BR2_PACKAGE_LINUX_TOOLS_GPIO > bool "gpio" > select BR2_PACKAGE_LINUX_TOOLS From yann.morin.1998 at free.fr Thu Apr 21 19:11:00 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:11:00 +0200 Subject: [Buildroot] [git commit] package/udev: add the missing sgx group Message-ID: <20220421190206.883DE83FF5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=798a4983eae7217281d84b76057fe61401e0f71d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master systemd-udevd needs this group: /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring Signed-off-by: TIAN Yuanhao [yann.morin.1998 at free.fr: udev users/groups go to udev virtual package] Signed-off-by: Yann E. MORIN --- package/udev/udev.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index 05b35b21f0..ce93d98431 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -9,6 +9,7 @@ define UDEV_USERS - - input -1 * - - - Input device group - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes + - - sgx -1 * - - - SGX device nodes endef $(eval $(virtual-package)) From arnout at mind.be Thu Apr 21 19:12:12 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:12:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-python: fix build without C++ In-Reply-To: <20220416072006.1099281-1-fontaine.fabrice@gmail.com> References: <20220416072006.1099281-1-fontaine.fabrice@gmail.com> Message-ID: <746f43b3-af24-04b2-ae34-b03601d30964@mind.be> On 16/04/2022 09:20, Fabrice Fontaine wrote: > Fix the following build failure without C++ raised since the addition of > the package in commit ba0d78b90705fa6f564e105437be4817caf2ca6c: > > The following exception(s) were encountered: > Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" > > Fixes: > - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...-build-on-systems-without-C-compiler.patch | 35 +++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch > > diff --git a/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch > new file mode 100644 > index 0000000000..7d3059d61a > --- /dev/null > +++ b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch > @@ -0,0 +1,35 @@ > +From 26c2385faed0bb997368daabd4c64207b3fc01ca Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Fri, 15 Apr 2022 18:58:49 +0200 > +Subject: [PATCH] gst-python: fix build on systems without C++ compiler > + > +Fix the following build failure on systems without C++ compiler: > + > +The following exception(s) were encountered: > +Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" > + > +Fixes: > + - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 > + > +Part-of: > + > +[Retrieved (and backported) from: > +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/26c2385faed0bb997368daabd4c64207b3fc01ca] > +Signed-off-by: Fabrice Fontaine > +--- > + subprojects/gst-python/meson.build | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 1462604b297..c28df16192a 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -1,4 +1,4 @@ > +-project('gst-python', 'c', 'cpp', > ++project('gst-python', 'c', > + version : '1.20.1', > + meson_version : '>= 0.60', > + default_options : [ 'warning_level=1', > +-- > +GitLab > + From arnout at mind.be Thu Apr 21 19:12:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:12:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/diffutils: fix build on arceb In-Reply-To: <20220416074458.1361288-1-fontaine.fabrice@gmail.com> References: <20220416074458.1361288-1-fontaine.fabrice@gmail.com> Message-ID: <9edaacaa-4a3d-bf0a-893d-12dfcfe11614@mind.be> On 16/04/2022 09:44, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 3.8 in > commit 1f89c80417ad03127650b22c41ec4e30d42c549f: > > sigsegv.c: In function 'sigsegv_handler': > sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' > 979 | : vma.is_near_this (addr, &vma)) > | ^ > > Fixes: > - http://autobuild.buildroot.org/results/8c5b8b37eb3c2667c75666079b056df7e0023e05 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...-Fix-compilation-error-on-arceb-CPUs.patch | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch > > diff --git a/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch b/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch > new file mode 100644 > index 0000000000..20db798f3a > --- /dev/null > +++ b/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch > @@ -0,0 +1,41 @@ > +From 1957bb5113a2bf02c7ecf0815125eec04b9476d2 Mon Sep 17 00:00:00 2001 > +From: Bruno Haible > +Date: Sat, 16 Apr 2022 03:01:51 +0200 > +Subject: sigsegv: Fix compilation error on arceb CPUs. > + > +Reported by Fabrice Fontaine in > +. > + > +* m4/stack-direction.m4 (SV_STACK_DIRECTION): Treat the 'arc' variants > +like 'arc'. > + > +[Retrieved (and backported) from: > +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=1957bb5113a2bf02c7ecf0815125eec04b9476d2] > +Signed-off-by: Fabrice Fontaine > +--- > + ChangeLog | 8 ++++++++ > + m4/stack-direction.m4 | 4 ++-- > + 2 files changed, 10 insertions(+), 2 deletions(-) > + > +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 > +index 1df823e..924c5de 100644 > +--- a/m4/stack-direction.m4 > ++++ b/m4/stack-direction.m4 > +@@ -1,4 +1,4 @@ > +-# stack-direction.m4 serial 7 > ++# stack-direction.m4 serial 11 > + dnl Copyright (C) 2002-2021 Free Software Foundation, Inc. > + dnl This file is free software, distributed under the terms of the GNU > + dnl General Public License. As a special exception to the GNU General > +@@ -18,7 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION], > + a29k | \ > + aarch64* | \ > + alpha* | \ > +- arc | \ > ++ arc | arceb | arc32 | arc64 | \ > + arm* | strongarm* | xscale* | \ > + avr | avr32 | \ > + bfin | \ > +-- > +cgit v1.1 > + From yann.morin.1998 at free.fr Thu Apr 21 19:16:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:16:53 +0200 Subject: [Buildroot] [PATCH] package/systemd: add the missing sgx group In-Reply-To: <20220420135549.3536397-1-tianyuanhao3@163.com> References: <20220420135549.3536397-1-tianyuanhao3@163.com> Message-ID: <20220421191653.GO2730@scaer> Yuanhao, All, On 2022-04-20 06:55 -0700, TIAN Yuanhao spake thusly: > systemd-udevd needs this group: > /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring > > Signed-off-by: TIAN Yuanhao > --- > package/systemd/systemd.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index b07fac27d4..44185a35a0 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -603,6 +603,7 @@ endef > > define SYSTEMD_USERS > # udev user groups > + - - sgx -1 * - - - SGX device nodes This should have been in the udev virtual package, as all the udev-related users and groups have been moved there to be common between systemd-udevd and the stand-alone eudev, in commit d648d81dd581 (packages/{eudev, systemd}: move common users to package/udev). Applied to master with this fixed, thanks. Would you be kind enough to send a follow-up patch that removes the now misleading "# udev user groups" comment, and adds a comment, in systemd and eudev, that directs changes to the udev virtual package instead, please? Regards, Yann E. MORIN. > # systemd user groups > - - systemd-journal -1 * - - - Journal > $(SYSTEMD_REMOTE_USER) > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Apr 21 19:19:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:19:35 +0200 Subject: [Buildroot] [PATCH] package/gnu-efi: fix build on mips64el In-Reply-To: <20220415164947.13025-1-fontaine.fabrice@gmail.com> References: <20220415164947.13025-1-fontaine.fabrice@gmail.com> Message-ID: <414ce8aa-6d93-d64a-e605-7ec0a3e7b350@mind.be> On 15/04/2022 18:49, Fabrice Fontaine wrote: > Drop -Werror to fix the following build failure on mips64el raised since > commit 11b347c03ab0b38389ec11b48f63236a3b4d6547: > > /nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/dpath.c: In function 'FileDevicePath': > /nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/../inc/efilink.h:145:46: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] > 145 | #define EFI_FIELD_OFFSET(TYPE,Field) ((UINTN)(intptr_t)(&(((TYPE *) 0)->Field))) > | ^ > /nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/../inc/efidevp.h:404:38: note: in expansion of macro 'EFI_FIELD_OFFSET' > 404 | #define SIZE_OF_FILEPATH_DEVICE_PATH EFI_FIELD_OFFSET(FILEPATH_DEVICE_PATH,PathName) > | ^~~~~~~~~~~~~~~~ > /nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/dpath.c:250:41: note: in expansion of macro 'SIZE_OF_FILEPATH_DEVICE_PATH' > 250 | FilePath = AllocateZeroPool (Size + SIZE_OF_FILEPATH_DEVICE_PATH + sizeof(EFI_DEVICE_PATH)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d19e57004c36f2904c5eea988e0c38fbdb557c7e > > Signed-off-by: Fabrice Fontaine > --- > .../0002-Make.defaults-drop-Werror.patch | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 package/gnu-efi/0002-Make.defaults-drop-Werror.patch > > diff --git a/package/gnu-efi/0002-Make.defaults-drop-Werror.patch b/package/gnu-efi/0002-Make.defaults-drop-Werror.patch > new file mode 100644 > index 0000000000..79c847d178 > --- /dev/null > +++ b/package/gnu-efi/0002-Make.defaults-drop-Werror.patch > @@ -0,0 +1,48 @@ > +From 0e43bcb3876d4000790b0a6784453f333c1db701 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Fri, 15 Apr 2022 18:42:36 +0200 > +Subject: [PATCH] Make.defaults: drop -Werror > + > +Drop -Werror to avoid the following build failure on mips64el: > + > +/nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/dpath.c: In function 'FileDevicePath': > +/nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/../inc/efilink.h:145:46: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] > + 145 | #define EFI_FIELD_OFFSET(TYPE,Field) ((UINTN)(intptr_t)(&(((TYPE *) 0)->Field))) Ignoring this warning seems like a dangerous fix. I guess UINTN is 32 bits but intptr_t would be 64 bits on mips64, so the cast is possibly narrowing. My first reaction was: upstream seems pretty dead, let's just disable it on mips64. However, there seems to be a lot of active forks, and you just added mips64 a couple of months ago... So, I think it would be better to look for a better fix. Maybe one of the myriad forks has it. Regards, Arnout > + | ^ > +/nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/../inc/efidevp.h:404:38: note: in expansion of macro 'EFI_FIELD_OFFSET' > + 404 | #define SIZE_OF_FILEPATH_DEVICE_PATH EFI_FIELD_OFFSET(FILEPATH_DEVICE_PATH,PathName) > + | ^~~~~~~~~~~~~~~~ > +/nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/dpath.c:250:41: note: in expansion of macro 'SIZE_OF_FILEPATH_DEVICE_PATH' > + 250 | FilePath = AllocateZeroPool (Size + SIZE_OF_FILEPATH_DEVICE_PATH + sizeof(EFI_DEVICE_PATH)); > + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/d19e57004c36f2904c5eea988e0c38fbdb557c7e > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: not sent yet] > +--- > + Make.defaults | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/Make.defaults b/Make.defaults > +index 47ed361..d43c3ff 100755 > +--- a/Make.defaults > ++++ b/Make.defaults > +@@ -168,11 +168,11 @@ ifneq (mingw32,$(findstring mingw32, $(GCCMACHINE))) > + endif > + > + ifeq (FreeBSD, $(findstring FreeBSD, $(OS))) > +-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ > ++CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \ > + -fshort-wchar -fno-strict-aliasing \ > + -ffreestanding -fno-stack-protector > + else > +-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ > ++CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \ > + -fshort-wchar -fno-strict-aliasing \ > + -ffreestanding -fno-stack-protector -fno-stack-check \ > + -fno-stack-check \ > +-- > +2.35.1 > + From yann.morin.1998 at free.fr Thu Apr 21 19:26:28 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:26:28 +0200 Subject: [Buildroot] [git commit] package/dhcp: untar internal bind Message-ID: <20220421192014.45A4D83FFB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fde21979427ffeb4fe9c0068310be195f2dec5ec branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Untar internal bind so libtool patches will be applied on bind's libtool. This will fix: - installation of some libraries such as libisccfg. Indeed, if libtool is not patched those libraries will be "relinked" and so not installed. - build failures with riscv and or1k: Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized Fixes: - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e Signed-off-by: Fabrice Fontaine Tested-by: Jan Havran Tested-by: Eugen Hristev Signed-off-by: Yann E. MORIN --- package/dhcp/dhcp.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 6ac9ed0147..cf8608f15d 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc # internal bind does not support parallel builds. DHCP_MAKE = $(MAKE1) +# untar internal bind so libtool patches will be applied on bind's libtool +define DHCP_UNTAR_INTERNAL_BIND + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ +endef + +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND + # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF cp $(@D)/configure.ac+lt $(@D)/configure.ac From yann.morin.1998 at free.fr Thu Apr 21 19:32:22 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:32:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind In-Reply-To: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> References: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> Message-ID: <20220421193222.GP2730@scaer> Fabrice, All, On 2022-04-19 18:11 +0200, Fabrice Fontaine spake thusly: > Untar internal bind so libtool patches will be applied on bind's > libtool. This will fix: > - installation of some libraries such as libisccfg. Indeed, if libtool > is not patched those libraries will be "relinked" and so not > installed. > - build failures with riscv and or1k: > > Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized > > Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized dhcp, the package that keeps on giving... Jan, Eugen, what keeps you from switching away from dhcp? > Fixes: > - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 > - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/dhcp/dhcp.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index e6f4c419f4..f815c6c802 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc > # internal bind does not support parallel builds. > DHCP_MAKE = $(MAKE1) > > +# untar internal bind so libtool patches will be applied on bind's libtool > +define DHCP_UNTAR_INTERNAL_BIND > + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ > +endef > + > +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND > + > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > cp $(@D)/configure.ac+lt $(@D)/configure.ac > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Apr 21 19:32:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:32:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix openssl build In-Reply-To: <20220410210700.1175518-1-fontaine.fabrice@gmail.com> References: <20220410210700.1175518-1-fontaine.fabrice@gmail.com> Message-ID: On 10/04/2022 23:07, Fabrice Fontaine wrote: > Fix the following openssl build failure raised since bump to version > 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31: > > /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so > /usr/lib/libssl.so: file not recognized: file format not recognized > > Fixes: > - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...c-fix-cross-compilation-with-openssl.patch | 56 +++++++++++++++++++ > package/fetchmail/fetchmail.mk | 2 + > 2 files changed, 58 insertions(+) > create mode 100644 package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch > > diff --git a/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch > new file mode 100644 > index 0000000000..fff848196a > --- /dev/null > +++ b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch > @@ -0,0 +1,56 @@ > +From 262aa59c1a7a7100e1dd4e73a6d0112d9becc701 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Fri, 1 Apr 2022 19:23:06 +0200 > +Subject: [PATCH] configure.ac: fix cross-compilation with openssl > + > +Don't call AC_LIB_LINKFLAGS when the libraries are retrieved through > +pkg-config to avoid the following build failure when cross-compiling > +raised since commit 77503f545d2806d07ab83c59ed9a96f435d281da: > + > +/home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so > +/usr/lib/libssl.so: file not recognized: file format not recognized > + > +This build failure is raised because AC_LIB_LINKFLAGS will override the > +pkg-config target libraries by the host openssl libraries: > + > +configure: Enabling OpenSSL support in /home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr. > +configure: SSL-check: trying pkg-config for openssl > +checking for SSL... yes > +checking how to link with libssl... /usr/lib/libssl.so /usr/lib/libcrypto.so > +configure: From pkg-config: Adding /usr/lib/libssl.so /usr/lib/libcrypto.so to LIBS. LDFLAGS= -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib > + > +Fixes: > + - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: > +https://gitlab.com/fetchmail/fetchmail/-/merge_requests/42] > +--- > + configure.ac | 6 ++---- > + 1 file changed, 2 insertions(+), 4 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index bd042d51..80e5bf91 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -838,15 +838,13 @@ else > + PKG_CHECK_MODULES([SSL],[$i],[ > + set -- $SSL_LIBS > + while test $# -ge 1 ; do > +- case $1 in -l*|lib*) : ;; > ++ case $1 in -l*|lib*) LIBS="$LIBS $1" ;; > + *) LDFLAGS="$LDFLAGS $1" ;; > + esac > + shift > + done > + CPPFLAGS="$SSL_CFLAGS $CPPFLAGS" > +- AC_LIB_LINKFLAGS([ssl], [crypto]) > +- AS_MESSAGE([From pkg-config: Adding $LIBSSL to LIBS. LDFLAGS=$LDFLAGS]) > +- LIBS="$LIBS $LIBSSL" > ++ AS_MESSAGE([From pkg-config: $SSL_LIBS]) > + found=1 > + break],[: ignore-error]) > + done > +-- > +2.35.1 > + > diff --git a/package/fetchmail/fetchmail.mk b/package/fetchmail/fetchmail.mk > index b97f01a423..25dfcae87b 100644 > --- a/package/fetchmail/fetchmail.mk > +++ b/package/fetchmail/fetchmail.mk > @@ -12,6 +12,8 @@ FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING > FETCHMAIL_LICENSE_FILES = COPYING > FETCHMAIL_CPE_ID_VENDOR = fetchmail > FETCHMAIL_SELINUX_MODULES = fetchmail mta > +# We're patching configure.ac > +FETCHMAIL_AUTORECONF = YES > > FETCHMAIL_CONF_OPTS = \ > --with-ssl=$(STAGING_DIR)/usr From arnout at mind.be Thu Apr 21 19:33:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:33:42 +0200 Subject: [Buildroot] [PATCH v1 1/1] package/go: bump to version 1.18.1 In-Reply-To: <20220414194048.422920-1-christian@paral.in> References: <20220414194048.422920-1-christian@paral.in> Message-ID: <5a73b671-4ed6-38ab-19fc-5fcdb598df0b@mind.be> On 14/04/2022 21:40, Christian Stewart via buildroot wrote: > The latest Go release, version 1.18, is a significant release, including changes > to the language, implementation of the toolchain, runtime, and libraries. > > https://go.dev/doc/go1.18 > > Signed-off-by: Christian Stewart Applied to master, thanks. Regards, Arnout > --- > package/go/go.hash | 2 +- > package/go/go.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/go/go.hash b/package/go/go.hash > index 85e6adfb8c..37c34b8b64 100644 > --- a/package/go/go.hash > +++ b/package/go/go.hash > @@ -1,3 +1,3 @@ > # From https://golang.org/dl/ > -sha256 2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a go1.17.8.src.tar.gz > +sha256 efd43e0f1402e083b73a03d444b7b6576bb4c539ac46208b63a916b69aca4088 go1.18.1.src.tar.gz > sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE > diff --git a/package/go/go.mk b/package/go/go.mk > index 3df16c9a68..cf90ac8765 100644 > --- a/package/go/go.mk > +++ b/package/go/go.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GO_VERSION = 1.17.8 > +GO_VERSION = 1.18.1 > GO_SITE = https://storage.googleapis.com/golang > GO_SOURCE = go$(GO_VERSION).src.tar.gz > From Eugen.Hristev at microchip.com Thu Apr 21 19:34:52 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Thu, 21 Apr 2022 19:34:52 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind In-Reply-To: <20220421193222.GP2730@scaer> References: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> <20220421193222.GP2730@scaer> Message-ID: <5e18565f-206e-a704-8b88-2471096141d6@microchip.com> On 4/21/22 10:32 PM, Yann E. MORIN wrote: > Fabrice, All, > > On 2022-04-19 18:11 +0200, Fabrice Fontaine spake thusly: >> Untar internal bind so libtool patches will be applied on bind's >> libtool. This will fix: >> - installation of some libraries such as libisccfg. Indeed, if libtool >> is not patched those libraries will be "relinked" and so not >> installed. >> - build failures with riscv and or1k: >> >> Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized >> >> Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized > > dhcp, the package that keeps on giving... > > Jan, Eugen, what keeps you from switching away from dhcp? Actually this time it was the dhcpd that was failing .. not the client. It looks like they share some library. BTW, can you point some more different packets that we can use instead of the client and of the server that are due to be deprecated ? Thanks > >> Fixes: >> - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 >> - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e >> >> Signed-off-by: Fabrice Fontaine > > Applied to master, thanks. > > Regards, > Yann E. MORIN. > >> --- >> package/dhcp/dhcp.mk | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk >> index e6f4c419f4..f815c6c802 100644 >> --- a/package/dhcp/dhcp.mk >> +++ b/package/dhcp/dhcp.mk >> @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc >> # internal bind does not support parallel builds. >> DHCP_MAKE = $(MAKE1) >> >> +# untar internal bind so libtool patches will be applied on bind's libtool >> +define DHCP_UNTAR_INTERNAL_BIND >> + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ >> +endef >> + >> +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND >> + >> # use libtool-enabled configure.ac >> define DHCP_LIBTOOL_AUTORECONF >> cp $(@D)/configure.ac+lt $(@D)/configure.ac >> -- >> 2.35.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' > From yann.morin.1998 at free.fr Thu Apr 21 19:33:31 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:33:31 +0200 Subject: [Buildroot] [git commit] package/dhcp: disable backtrace on internal bind Message-ID: <20220421192511.64BFF84002@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=53efc185bbd8f777f80b46ba45077c0836844631 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Like was done in 700674b45c86 (package/bind: disable backtrace support) for the up-to-date, official, upstream bind, also disable backtrace on dhcp's internal bind to avoid the following build failure since commit 0c8dd6ebd656 (package/dhcp: use internal bind): /nvmedata/autobuild/instance-15/output-1/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/10.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: /nvmedata/autobuild/instance-15/output-1/build/dhcp-4.4.3/bind/bind-9.11.36/lib/isc/.libs/libisc.so: undefined reference to `_Unwind_GetIP' Fixes: - http://autobuild.buildroot.org/results/074786f3f1e7ffc858dcb1de1855ee138793869e Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/dhcp/dhcp.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index cf8608f15d..f815c6c802 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -36,7 +36,8 @@ DHCP_BIND_EXTRA_CONFIG = \ BUILD_CFLAGS='$(HOST_CFLAGS)' \ BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ BUILD_LDFLAGS='$(HOST_LDFLAGS)' \ - RANLIB='$(TARGET_RANLIB)' + RANLIB='$(TARGET_RANLIB)' \ + --disable-backtrace DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk From yann.morin.1998 at free.fr Thu Apr 21 19:36:04 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:36:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: disable backtrace on internal bind In-Reply-To: <20220418222033.1279730-1-fontaine.fabrice@gmail.com> References: <20220418222033.1279730-1-fontaine.fabrice@gmail.com> Message-ID: <20220421193604.GQ2730@scaer> Fabrice, All, On 2022-04-19 00:20 +0200, Fabrice Fontaine spake thusly: > Disable backtrace on internal bind to avoid the following build failure > since commit 0c8dd6ebd656e06cf99a63eb93343715f4853503: I've expanded that part to also reference commit 700674b45c86 (package/bind: disable backtrace support) where the same was done to the official bind. > /nvmedata/autobuild/instance-15/output-1/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/10.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: /nvmedata/autobuild/instance-15/output-1/build/dhcp-4.4.3/bind/bind-9.11.36/lib/isc/.libs/libisc.so: undefined reference to `_Unwind_GetIP' > > Fixes: > - http://autobuild.buildroot.org/results/074786f3f1e7ffc858dcb1de1855ee138793869e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/dhcp/dhcp.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 6ac9ed0147..e6f4c419f4 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -29,7 +29,8 @@ DHCP_BIND_EXTRA_CONFIG = \ > BUILD_CFLAGS='$(HOST_CFLAGS)' \ > BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ > BUILD_LDFLAGS='$(HOST_LDFLAGS)' \ > - RANLIB='$(TARGET_RANLIB)' > + RANLIB='$(TARGET_RANLIB)' \ > + --disable-backtrace > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Apr 21 19:41:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 21:41:16 +0200 Subject: [Buildroot] [git commit] package/go: bump to version 1.18.1 Message-ID: <20220421193211.DC83F84033@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=add69bdec274192ff571330a37e1549ac20db543 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The latest Go release, version 1.18, is a significant release, including changes to the language, implementation of the toolchain, runtime, and libraries. https://go.dev/doc/go1.18 Signed-off-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 507887eaaa..37c34b8b64 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 763ad4bafb80a9204458c5fa2b8e7327fa971aee454252c0e362c11236156813 go1.17.9.src.tar.gz +sha256 efd43e0f1402e083b73a03d444b7b6576bb4c539ac46208b63a916b69aca4088 go1.18.1.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 41c9a8648f..cf90ac8765 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.17.9 +GO_VERSION = 1.18.1 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From arnout at mind.be Thu Apr 21 19:41:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 21:41:16 +0200 Subject: [Buildroot] [git commit] package/fetchmail: fix openssl build Message-ID: <20220421193211.D052084031@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=786f96627cd6e4b4ee5297782e9abbed9453cfd9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following openssl build failure raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31: /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libssl.so: file not recognized: file format not recognized Fixes: - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ure.ac-fix-cross-compilation-with-openssl.patch | 56 ++++++++++++++++++++++ package/fetchmail/fetchmail.mk | 2 + 2 files changed, 58 insertions(+) diff --git a/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch new file mode 100644 index 0000000000..fff848196a --- /dev/null +++ b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch @@ -0,0 +1,56 @@ +From 262aa59c1a7a7100e1dd4e73a6d0112d9becc701 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 1 Apr 2022 19:23:06 +0200 +Subject: [PATCH] configure.ac: fix cross-compilation with openssl + +Don't call AC_LIB_LINKFLAGS when the libraries are retrieved through +pkg-config to avoid the following build failure when cross-compiling +raised since commit 77503f545d2806d07ab83c59ed9a96f435d281da: + +/home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so +/usr/lib/libssl.so: file not recognized: file format not recognized + +This build failure is raised because AC_LIB_LINKFLAGS will override the +pkg-config target libraries by the host openssl libraries: + +configure: Enabling OpenSSL support in /home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr. +configure: SSL-check: trying pkg-config for openssl +checking for SSL... yes +checking how to link with libssl... /usr/lib/libssl.so /usr/lib/libcrypto.so +configure: From pkg-config: Adding /usr/lib/libssl.so /usr/lib/libcrypto.so to LIBS. LDFLAGS= -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib + +Fixes: + - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.com/fetchmail/fetchmail/-/merge_requests/42] +--- + configure.ac | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index bd042d51..80e5bf91 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -838,15 +838,13 @@ else + PKG_CHECK_MODULES([SSL],[$i],[ + set -- $SSL_LIBS + while test $# -ge 1 ; do +- case $1 in -l*|lib*) : ;; ++ case $1 in -l*|lib*) LIBS="$LIBS $1" ;; + *) LDFLAGS="$LDFLAGS $1" ;; + esac + shift + done + CPPFLAGS="$SSL_CFLAGS $CPPFLAGS" +- AC_LIB_LINKFLAGS([ssl], [crypto]) +- AS_MESSAGE([From pkg-config: Adding $LIBSSL to LIBS. LDFLAGS=$LDFLAGS]) +- LIBS="$LIBS $LIBSSL" ++ AS_MESSAGE([From pkg-config: $SSL_LIBS]) + found=1 + break],[: ignore-error]) + done +-- +2.35.1 + diff --git a/package/fetchmail/fetchmail.mk b/package/fetchmail/fetchmail.mk index b97f01a423..25dfcae87b 100644 --- a/package/fetchmail/fetchmail.mk +++ b/package/fetchmail/fetchmail.mk @@ -12,6 +12,8 @@ FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING FETCHMAIL_LICENSE_FILES = COPYING FETCHMAIL_CPE_ID_VENDOR = fetchmail FETCHMAIL_SELINUX_MODULES = fetchmail mta +# We're patching configure.ac +FETCHMAIL_AUTORECONF = YES FETCHMAIL_CONF_OPTS = \ --with-ssl=$(STAGING_DIR)/usr From yann.morin.1998 at free.fr Thu Apr 21 19:42:49 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:42:49 +0200 Subject: [Buildroot] [git commit] meson-package: prevent cmake find_package() picking up host libraries Message-ID: <20220421193338.BAF6384044@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ab8b1e26386527659c27d9b194a0915e1ff6c34 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The meson build system uses (1) pkg-config and (2) cmake find_package to locate dependencies and stops only if a package is found. Cmake uses a toolchain file that is generated by meson from the existing configuration [1]. The cmake toolchain file misses CMAKE_FIND_ROOT_PATH and CMAKE_FIND_ROOT_PATH_* settings, and find_package() falls back to the default behaviour and looks for dependencies on the build machine (the Buildroot HOST_DIR). Use a feature introduced in meson 0.56.0 [2] to pass the Buildroot toolchain file to cmake instead of using a meson-generated one. Fixes the following build failures: http://autobuild.buildroot.org/results/056/05673ed04c6f044f1b56b9d5342d61653be43a18/ http://autobuild.buildroot.org/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ http://autobuild.buildroot.org/results/527/527ee199813abbacd61c3fa32b517ea60af60659/ [1[ see mesonbuild/cmake/toolchain.py [2] see https://mesonbuild.com/CMake-module.html#cross-compilation Signed-off-by: Andreas Ziegler Signed-off-by: Yann E. MORIN --- package/pkg-meson.mk | 1 + support/misc/cross-compilation.conf.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk index 9e70d49b60..f1390a18d0 100644 --- a/package/pkg-meson.mk +++ b/package/pkg-meson.mk @@ -81,6 +81,7 @@ define PKG_MESON_CROSSCONFIG_SED -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$($(strip $(2))))%g" \ -e "s%@BR2_CMAKE@%$(BR2_CMAKE)%g" \ -e "s%@PKGCONF_HOST_BINARY@%$(HOST_DIR)/bin/pkgconf%g" \ + -e "s%@HOST_DIR@%$(HOST_DIR)%g" \ -e "s%@STAGING_DIR@%$(STAGING_DIR)%g" \ -e "s%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g" \ $(TOPDIR)/support/misc/cross-compilation.conf.in diff --git a/support/misc/cross-compilation.conf.in b/support/misc/cross-compilation.conf.in index 1977a83501..235e5a8495 100644 --- a/support/misc/cross-compilation.conf.in +++ b/support/misc/cross-compilation.conf.in @@ -26,6 +26,9 @@ needs_exe_wrapper = true sys_root = '@STAGING_DIR@' pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' pkg_config_static = '@STATIC@' +# enable meson build to pass a toolchain file to cmake +cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake' +cmake_defaults = false [host_machine] system = 'linux' From yann.morin.1998 at free.fr Thu Apr 21 19:44:40 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:44:40 +0200 Subject: [Buildroot] [PATCH 1/1] meson-package: prevent cmake find_package() picking up host libraries In-Reply-To: <20220421152530.3900282-1-br015@umbiko.net> References: <20220421152530.3900282-1-br015@umbiko.net> Message-ID: <20220421194440.GR2730@scaer> Andreas, All, On 2022-04-21 17:25 +0200, Andreas Ziegler spake thusly: > The meson build system uses (1) pkg-config and (2) cmake find_package to locate > dependencies and stops only if a package is found. Cmake uses a toolchain file > that is generated by meson from the existing configuration [1]. > > The cmake toolchain file misses CMAKE_FIND_ROOT_PATH and CMAKE_FIND_ROOT_PATH_* > settings, and find_package() falls back to the default behaviour and looks for > dependencies on the build machine (the Buildroot HOST_DIR). > > Use a feature introduced in meson 0.56.0 [2] to pass the Buildroot toolchain > file to cmake instead of using a meson-generated one. > > Fixes the following build failures: > http://autobuild.buildroot.org/results/056/05673ed04c6f044f1b56b9d5342d61653be43a18/ > http://autobuild.buildroot.org/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ > http://autobuild.buildroot.org/results/527/527ee199813abbacd61c3fa32b517ea60af60659/ > > [1[ see mesonbuild/cmake/toolchain.py > [2] see https://mesonbuild.com/CMake-module.html#cross-compilation > > Signed-off-by: Andreas Ziegler Thanks for the detailed commit log. Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/pkg-meson.mk | 1 + > support/misc/cross-compilation.conf.in | 3 +++ > 2 files changed, 4 insertions(+) > > diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk > index 9e70d49b60..f1390a18d0 100644 > --- a/package/pkg-meson.mk > +++ b/package/pkg-meson.mk > @@ -81,6 +81,7 @@ define PKG_MESON_CROSSCONFIG_SED > -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$($(strip $(2))))%g" \ > -e "s%@BR2_CMAKE@%$(BR2_CMAKE)%g" \ > -e "s%@PKGCONF_HOST_BINARY@%$(HOST_DIR)/bin/pkgconf%g" \ > + -e "s%@HOST_DIR@%$(HOST_DIR)%g" \ > -e "s%@STAGING_DIR@%$(STAGING_DIR)%g" \ > -e "s%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g" \ > $(TOPDIR)/support/misc/cross-compilation.conf.in > diff --git a/support/misc/cross-compilation.conf.in b/support/misc/cross-compilation.conf.in > index 1977a83501..235e5a8495 100644 > --- a/support/misc/cross-compilation.conf.in > +++ b/support/misc/cross-compilation.conf.in > @@ -26,6 +26,9 @@ needs_exe_wrapper = true > sys_root = '@STAGING_DIR@' > pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' > pkg_config_static = '@STATIC@' > +# enable meson build to pass a toolchain file to cmake > +cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake' > +cmake_defaults = false > > [host_machine] > system = 'linux' > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Apr 21 19:54:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:54:36 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/go: add support for riscv64 architecture In-Reply-To: <20220414204922.866533-1-christian@paral.in> References: <20220414204922.866533-1-christian@paral.in> Message-ID: <55c0f7da-0907-b920-5a9b-33a82dcdb32b@mind.be> On 14/04/2022 22:49, Christian Stewart via buildroot wrote: > Enable the supported "riscv64" GOARCH. > > Add a patch to fix a build failure due to GOARCH leaking into the calls to the > go-bootstrap compiler. Unsets the GOARCH before calling go-bootstrap. > > PR: https://github.com/golang/go/pull/52362 > > Signed-off-by: Christian Stewart > > --- > > v1 -> v2: > > - fixed build error with go-bootstrap > > Signed-off-by: Christian Stewart > --- > ...explicit-option-for-crosscompilation.patch | 8 +- > ...set-environment-before-generating-bu.patch | 111 ++++++++++++++++++ > package/go/Config.in.host | 2 +- > package/go/go.mk | 2 + > 4 files changed, 118 insertions(+), 5 deletions(-) > create mode 100644 package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch > > diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch > index f76c5b1d03..a32a6ee355 100644 > --- a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch > +++ b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch > @@ -1,4 +1,4 @@ > -From e1382a731a726293e30901038c6870fa77ef6095 Mon Sep 17 00:00:00 2001 > +From 86fa3da18b5c73cc84dec91d92db4ae95f288bdc Mon Sep 17 00:00:00 2001 > From: Angelo Compagnucci > Date: Tue, 8 May 2018 16:08:44 +0200 > Subject: [PATCH] build.go: explicit option for crosscompilation > @@ -17,10 +17,10 @@ Signed-off-by: Anisse Astier > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go > -index 99d1db5..eb4097f 100644 > +index d37c3f83ef..d838485bd3 100644 > --- a/src/cmd/dist/build.go > +++ b/src/cmd/dist/build.go > -@@ -252,12 +252,13 @@ func xinit() { > +@@ -273,12 +273,13 @@ func xinit() { > // $CC_FOR_goos_goarch, if set, applies only to goos/goarch. > func compilerEnv(envName, def string) map[string]string { > m := map[string]string{"": def} > @@ -36,5 +36,5 @@ index 99d1db5..eb4097f 100644 > } > m[""] = env > -- > -2.7.4 > +2.35.1 > > diff --git a/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch b/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch > new file mode 100644 > index 0000000000..44b3fbecc2 > --- /dev/null > +++ b/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch > @@ -0,0 +1,111 @@ > +From 00f3f4ee0d477779c87e4e60b08708362670e122 Mon Sep 17 00:00:00 2001 > +From: Christian Stewart > +Date: Thu, 14 Apr 2022 13:34:26 -0700 > +Subject: [PATCH] build: bootstrap: set environment before generating buildcfg > + > +The GOOS and GOARCH environment variables should be unset before calling > +mkbuildcfg. This change fixes a build failure when GOARCH=riscv64. > + > +Building Go toolchain1 using go-1.4-bootstrap-20171003. > +src/cmd/compile/internal/ssa/rewriteRISCV64.go:4814 > +invalid operation: y << x (shift count type int64, must be unsigned integer) > + > +There is a build issue with go1.4 with the riscv64 code: however, why is the > +riscv64 code being compiled at all? > + > +GOARCH is set when calling mkbuildcfg, so go1.4 is trying to compile riscv64. You SoB is missing. Also, the reference to the upstream PR is missing. And you should probably refer to gerrit instead. [snip] > diff --git a/package/go/Config.in.host b/package/go/Config.in.host > index e82ab6e81a..8be86103ea 100644 > --- a/package/go/Config.in.host > +++ b/package/go/Config.in.host > @@ -5,7 +5,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS > depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ > || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ > - || BR2_mips64 || BR2_mips64el || BR2_s390x > + || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x Here you enable it both for riscv32 and riscv64, but below you always set GOARCH to riscv64. Also, are you sure it doesn't need any of the ISA extensions? I can imagine that Go would be using atomics, floating point and integer multiplication/division. Of course, there's almost no chance of finding a riscv64 without these extensions, but better be correct, right? Also, does Go support all three ABI types (integer, single precision and double precision)? Again, we only ever test lp64d in the autobuilders, but better be correct, right? Regards, Arnout > depends on !BR2_ARM_CPU_ARMV4 > # MIPS R6 support in Go has not yet been developed. > depends on !BR2_MIPS_CPU_MIPS64R6 > diff --git a/package/go/go.mk b/package/go/go.mk > index 3df16c9a68..ba0da74b86 100644 > --- a/package/go/go.mk > +++ b/package/go/go.mk > @@ -63,6 +63,8 @@ else ifeq ($(BR2_mips64),y) > GO_GOARCH = mips64 > else ifeq ($(BR2_mips64el),y) > GO_GOARCH = mips64le > +else ifeq ($(BR2_riscv),y) > +GO_GOARCH = riscv64 > else ifeq ($(BR2_s390x),y) > GO_GOARCH = s390x > endif From arnout at mind.be Thu Apr 21 20:17:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:17:59 +0200 Subject: [Buildroot] [PATCH 2/2] package/netsurf: use HOSTCC_NOCCACHE In-Reply-To: <20220419132805.2571073-2-fontaine.fabrice@gmail.com> References: <20220419132805.2571073-1-fontaine.fabrice@gmail.com> <20220419132805.2571073-2-fontaine.fabrice@gmail.com> Message-ID: <8bb8f809-cd50-32ae-f8e8-29ea40116288@mind.be> On 19/04/2022 15:28, Fabrice Fontaine wrote: > Use HOSTCC_NOCCACHE instead of HOSTCC to fix the following build Rather than this workaround, let's fix the real issue. The offending code is (I think, untested): $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) ... in top-level Makefile. Since BUILD_CC may contain spaces, this is going to be parsed incorrectly by the shell. Just adding quotes should be enough. Regards, Arnout > failure: > > /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. > > Fixes: > - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d > > Signed-off-by: Fabrice Fontaine > --- > package/netsurf/netsurf.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk > index 574c1423df..b61372bb78 100644 > --- a/package/netsurf/netsurf.mk > +++ b/package/netsurf/netsurf.mk > @@ -106,7 +106,7 @@ NETSURF_MAKE_OPTS = \ > BISON="$(HOST_DIR)/bin/bison" \ > FLEX="$(HOST_DIR)/bin/flex" \ > PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ > - BUILD_CC="$(HOSTCC)" \ > + BUILD_CC="$(HOSTCC_NOCCACHE)" \ > CC="$(TARGET_CC)" \ > AR="$(TARGET_AR)" \ > TMP_PREFIX=$(@D)/tmpusr \ From arnout at mind.be Thu Apr 21 20:52:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:52:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsigsegv: bump to version 2.14 In-Reply-To: <20220416150604.1965916-1-fontaine.fabrice@gmail.com> References: <20220416150604.1965916-1-fontaine.fabrice@gmail.com> Message-ID: <73382900-8d51-e3ef-483a-7d4390c950b7@mind.be> On 16/04/2022 17:06, Fabrice Fontaine wrote: > This bump will fix the following build failure on or1k and microblazeel: > > In file included from handler.c:20: > handler-unix.c: In function 'sigsegv_handler': > handler-unix.c:194:28: error: 'struct vma_struct' has no member named 'is_near_this' > 194 | : vma.is_near_this (addr, &vma)) > | ^ > > https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=NEWS;h=4d012f8b6cd9b2c1eccbf266a10aae56b0e79978;hb=9ad117adabd223b79e037575e071855c2b8b35c0 > https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=ChangeLog;h=c52b227aae190ba9b161282efaa5f33cb4a127f9;hb=9ad117adabd223b79e037575e071855c2b8b35c0 > > Fixes: > - http://autobuild.buildroot.org/results/c693fafb8f1f68be30a281313fb1f0890cc08b1e > - http://autobuild.buildroot.org/results/ecde11129d102e3321b2aaef407697c29311c705 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libsigsegv/libsigsegv.hash | 4 ++-- > package/libsigsegv/libsigsegv.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libsigsegv/libsigsegv.hash b/package/libsigsegv/libsigsegv.hash > index c827e6b866..13978da398 100644 > --- a/package/libsigsegv/libsigsegv.hash > +++ b/package/libsigsegv/libsigsegv.hash > @@ -1,5 +1,5 @@ > # Locally calculated after checking pgp signature > -# https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.13.tar.gz.sig > -sha256 be78ee4176b05f7c75ff03298d84874db90f4b6c9d5503f0da1226b3a3c48119 libsigsegv-2.13.tar.gz > +# https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.14.tar.gz.sig > +sha256 cdac3941803364cf81a908499beb79c200ead60b6b5b40cad124fd1e06caa295 libsigsegv-2.14.tar.gz > # Locally calculated > sha256 8f2983e9a940367f48999881c14775db725ee643bce1e2f1ba195eb629a33cde COPYING > diff --git a/package/libsigsegv/libsigsegv.mk b/package/libsigsegv/libsigsegv.mk > index 87a5d7a124..98bcd55c8c 100644 > --- a/package/libsigsegv/libsigsegv.mk > +++ b/package/libsigsegv/libsigsegv.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBSIGSEGV_VERSION = 2.13 > +LIBSIGSEGV_VERSION = 2.14 > LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv > LIBSIGSEGV_INSTALL_STAGING = YES > LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes From arnout at mind.be Thu Apr 21 20:53:01 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:53:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/mc: fix build with gcc 4.8 In-Reply-To: <20220416152632.2220173-1-fontaine.fabrice@gmail.com> References: <20220416152632.2220173-1-fontaine.fabrice@gmail.com> Message-ID: <5a45ffce-7ef4-73f9-4ffb-9703d4177154@mind.be> On 16/04/2022 17:26, Fabrice Fontaine wrote: > Fix the following build failure with gcc 4.8 raised since bump to > version 4.8.26 in commit e648dfa6f7078a6fbbc5feb83292c6a98300fe8f and > https://github.com/MidnightCommander/mc/commit/8b4386df83ab5a525f0568113fe1e53d362f433e: > > tty-ncurses.c: In function 'tty_colorize_area': > tty-ncurses.c:575:5: error: 'for' loop initial declarations are only allowed in C99 mode > for (int row = 0; row < rows; row++) > ^ > > Fixes: > - http://autobuild.buildroot.org/results/d9f0a11bde42fe6ae2e9449d3365609d59a6545d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/mc/mc.mk | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/mc/mc.mk b/package/mc/mc.mk > index ac12c2173a..3858d62886 100644 > --- a/package/mc/mc.mk > +++ b/package/mc/mc.mk > @@ -10,7 +10,9 @@ MC_SITE = http://ftp.midnight-commander.org > MC_LICENSE = GPL-3.0+ > MC_LICENSE_FILES = COPYING > MC_DEPENDENCIES = libglib2 host-pkgconf $(TARGET_NLS_DEPENDENCIES) > -MC_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) > +MC_CONF_ENV = \ > + CFLAGS="$(TARGET_CFLAGS) -std=c99" \ > + LIBS=$(TARGET_NLS_LIBS) > > ifeq ($(BR2_PACKAGE_GPM),y) > MC_CONF_OPTS += --with-gpm-mouse From arnout at mind.be Thu Apr 21 20:53:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:53:44 +0200 Subject: [Buildroot] [PATCH 2/2] package/opencv4: add tbb support In-Reply-To: <20220416210750.3065016-2-fontaine.fabrice@gmail.com> References: <20220416210750.3065016-1-fontaine.fabrice@gmail.com> <20220416210750.3065016-2-fontaine.fabrice@gmail.com> Message-ID: On 16/04/2022 23:07, Fabrice Fontaine wrote: > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/opencv4/Config.in | 14 ++++++++++++++ > package/opencv4/opencv4.mk | 10 ++++++++-- > 2 files changed, 22 insertions(+), 2 deletions(-) > > diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in > index 31c32385da..23d34a9d22 100644 > --- a/package/opencv4/Config.in > +++ b/package/opencv4/Config.in > @@ -309,6 +309,20 @@ config BR2_PACKAGE_OPENCV4_WITH_PROTOBUF > help > Use shared protobuf from the target system. > > +config BR2_PACKAGE_OPENCV4_WITH_TBB > + bool "tbb support" > + depends on !BR2_TOOLCHAIN_USES_UCLIBC # tbb > + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # tbb > + select BR2_PACKAGE_TBB > + help > + Use shared tbb from the target system. > + > +comment "tbb needs a glibc or musl toolchain" > + depends on BR2_TOOLCHAIN_USES_UCLIBC > + > +comment "tbb needs exception_ptr" > + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 > + > config BR2_PACKAGE_OPENCV4_WITH_TIFF > bool "tiff support" > select BR2_PACKAGE_TIFF > diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk > index e75f7144de..0563026b18 100644 > --- a/package/opencv4/opencv4.mk > +++ b/package/opencv4/opencv4.mk > @@ -155,8 +155,7 @@ OPENCV4_CONF_OPTS += \ > -DBUILD_WITH_DYNAMIC_IPP=OFF \ > -DWITH_INTELPERC=OFF \ > -DWITH_IPP=OFF \ > - -DWITH_IPP_A=OFF \ > - -DWITH_TBB=OFF > + -DWITH_IPP_A=OFF > > # Smartek stuff > OPENCV4_CONF_OPTS += -DWITH_GIGEAPI=OFF > @@ -313,6 +312,13 @@ else > OPENCV4_CONF_OPTS += -DWITH_QT=OFF > endif > > +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TBB),y) > +OPENCV4_CONF_OPTS += -DWITH_TBB=ON > +OPENCV4_DEPENDENCIES += tbb > +else > +OPENCV4_CONF_OPTS += -DWITH_TBB=OFF > +endif > + > ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TIFF),y) > OPENCV4_CONF_OPTS += -DWITH_TIFF=ON > OPENCV4_DEPENDENCIES += tiff From arnout at mind.be Thu Apr 21 20:54:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:54:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/aircrack-ng: fix sqlite3 build In-Reply-To: <20220416214528.3515227-1-fontaine.fabrice@gmail.com> References: <20220416214528.3515227-1-fontaine.fabrice@gmail.com> Message-ID: On 16/04/2022 23:45, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 1.2 in > commit 242227dd86efaaec7c785b32a14e8133f2e86dec: > > powerpc-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' > In file included from src/aircrack-ng/aircrack-ng.c:54: > /usr/include/math.h:476:21: error: '_Float128' is not supported on this target > 476 | # define _Mdouble_ _Float128 > | ^~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/83a114ce197fb6af53a26ed68184cf3bbb30c8a7 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/aircrack-ng/aircrack-ng.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk > index ff87766d6f..95cda7c5a6 100644 > --- a/package/aircrack-ng/aircrack-ng.mk > +++ b/package/aircrack-ng/aircrack-ng.mk > @@ -69,7 +69,7 @@ endif > > ifeq ($(BR2_PACKAGE_SQLITE),y) > AIRCRACK_NG_DEPENDENCIES += sqlite > -AIRCRACK_NG_CONF_OPTS += --with-sqlite3 > +AIRCRACK_NG_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr > else > AIRCRACK_NG_CONF_OPTS += --without-sqlite3 > endif From arnout at mind.be Thu Apr 21 20:54:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:54:30 +0200 Subject: [Buildroot] [PATCH] package/luarocks: bump to version 3.9.0 In-Reply-To: <20220417082800.2742525-1-francois.perrad@gadz.org> References: <20220417082800.2742525-1-francois.perrad@gadz.org> Message-ID: On 17/04/2022 10:28, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > package/luarocks/luarocks.hash | 2 +- > package/luarocks/luarocks.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/luarocks/luarocks.hash b/package/luarocks/luarocks.hash > index d80e08a20..14809402d 100644 > --- a/package/luarocks/luarocks.hash > +++ b/package/luarocks/luarocks.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923 luarocks-3.8.0.tar.gz > +sha256 5e840f0224891de96be4139e9475d3b1de7af3a32b95c1bdf05394563c60175f luarocks-3.9.0.tar.gz > sha256 542ad0ee9b8ba582437ca7b4d0959c9b9432f25d2067f144d017188a7a84dd2f COPYING > diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk > index 028e144e2..b28a1bd57 100644 > --- a/package/luarocks/luarocks.mk > +++ b/package/luarocks/luarocks.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LUAROCKS_VERSION = 3.8.0 > +LUAROCKS_VERSION = 3.9.0 > LUAROCKS_SITE = https://luarocks.org/releases > LUAROCKS_LICENSE = MIT > LUAROCKS_LICENSE_FILES = COPYING From arnout at mind.be Thu Apr 21 20:55:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:55:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/glorytun: fix aarch64 build with uclibc In-Reply-To: <20220417202746.110249-1-fontaine.fabrice@gmail.com> References: <20220417202746.110249-1-fontaine.fabrice@gmail.com> Message-ID: <3feeb6eb-412d-c7e2-1407-1bd2395491f9@mind.be> On 17/04/2022 22:27, Fabrice Fontaine wrote: > Fix the following aarch64 build failure with uclibc: > > mud/aegis256/aegis256.c:51:10: fatal error: sys/auxv.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/4e1bbd72b9b7e0f9963f6693c3d7bc9a1d24fab4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-Add-support-for-Apple-silicon.patch | 51 +++++++++++++++++++ > ...s256.c-fix-aarch64-build-with-uclibc.patch | 43 ++++++++++++++++ > 2 files changed, 94 insertions(+) > create mode 100644 package/glorytun/0001-Add-support-for-Apple-silicon.patch > create mode 100644 package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch > > diff --git a/package/glorytun/0001-Add-support-for-Apple-silicon.patch b/package/glorytun/0001-Add-support-for-Apple-silicon.patch > new file mode 100644 > index 0000000000..6d4b8273f3 > --- /dev/null > +++ b/package/glorytun/0001-Add-support-for-Apple-silicon.patch > @@ -0,0 +1,51 @@ > +From 577ae0352d191fa604f861ea2f0847e7c5eda617 Mon Sep 17 00:00:00 2001 > +From: Frank Denis > +Date: Wed, 1 Jul 2020 22:51:43 +0200 > +Subject: [PATCH] Add support for Apple silicon > + > +[Retrieved from: > +https://github.com/angt/aegis256/commit/577ae0352d191fa604f861ea2f0847e7c5eda617] > +Signed-off-by: Fabrice Fontaine > +--- > + aegis256.c | 8 +++++++- > + 1 file changed, 7 insertions(+), 1 deletion(-) > + > +diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c > +index 9a580bf..75a772c 100644 > +--- a/mud/aegis256/aegis256.c > ++++ b/mud/aegis256/aegis256.c > +@@ -36,7 +36,7 @@ typedef __m128i x128; > + #define store128(X,Y) _mm_storeu_si128((x128 *)(X), (Y)) > + #define set2x64(X,Y) _mm_set_epi64x((long long)(X), (long long)(Y)) > + > +-#elif defined(__linux__) && (defined(__ARM_NEON_FP) || defined(__aarch64__)) > ++#elif (defined(__APPLE__) || defined(__linux__)) && (defined(__ARM_NEON_FP) || defined(__aarch64__)) > + > + #ifdef __clang__ > + #pragma clang attribute push (__attribute__((target("crypto"))),apply_to=function) > +@@ -48,7 +48,9 @@ typedef __m128i x128; > + #endif > + > + #ifdef __ARM_FEATURE_CRYPTO > ++#ifdef __linux__ > + #include > ++#endif > + #include > + > + typedef uint8x16_t x128; > +@@ -62,11 +64,15 @@ typedef uint8x16_t x128; > + int > + aegis256_is_available(void) > + { > ++#ifdef __linux__ > + return (getauxval(AT_HWCAP) & HWCAP_AES) > + #ifdef HWCAP2_AES > + || (getauxval(AT_HWCAP2) & HWCAP2_AES) > + #endif > + ; > ++#else // __APPLE__ > ++ return 1; > ++#endif > + } > + > + #endif // __ARM_FEATURE_CRYPTO > diff --git a/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch b/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch > new file mode 100644 > index 0000000000..37ae8a3301 > --- /dev/null > +++ b/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch > @@ -0,0 +1,43 @@ > +From eb22e270a962d4a2da1972304fd8b1216211c9d1 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sat, 16 Apr 2022 23:32:55 +0200 > +Subject: [PATCH] aegis256.c: fix aarch64 build with uclibc > + > +Fix the following aarch64 build failure with uclibc: > + > +mud/aegis256/aegis256.c:51:10: fatal error: sys/auxv.h: No such file or directory > + 51 | #include > + | ^~~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/4e1bbd72b9b7e0f9963f6693c3d7bc9a1d24fab4 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/angt/aegis256/commit/eb22e270a962d4a2da1972304fd8b1216211c9d1] > +--- > + aegis256.c | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c > +index 75a772c..4e73fab 100644 > +--- a/mud/aegis256/aegis256.c > ++++ b/mud/aegis256/aegis256.c > +@@ -48,7 +48,7 @@ typedef __m128i x128; > + #endif > + > + #ifdef __ARM_FEATURE_CRYPTO > +-#ifdef __linux__ > ++#if defined(__linux__) && __has_include("sys/auxv.h") > + #include > + #endif > + #include > +@@ -64,7 +64,7 @@ typedef uint8x16_t x128; > + int > + aegis256_is_available(void) > + { > +-#ifdef __linux__ > ++#if defined(__linux__) && __has_include("sys/auxv.h") > + return (getauxval(AT_HWCAP) & HWCAP_AES) > + #ifdef HWCAP2_AES > + || (getauxval(AT_HWCAP2) & HWCAP2_AES) From arnout at mind.be Thu Apr 21 20:55:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:55:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/minizip: fix build without C++ In-Reply-To: <20220417205241.396289-1-fontaine.fabrice@gmail.com> References: <20220417205241.396289-1-fontaine.fabrice@gmail.com> Message-ID: <1270056e-42cc-268e-257a-b9c1e437fdc6@mind.be> On 17/04/2022 22:52, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 2.5.3 in > commit fd03e8192f1b4d5eae9a9458c5a06bebfa95fb7c and > https://github.com/zlib-ng/minizip-ng/commit/d383a5f2fca127d24407ff26adce579d63b85310: > > CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > > "/usr/bin/c++" > > is not able to compile a simple test program. > > Fixes: > - http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...1-CMakeLists.txt-fix-build-without-C.patch | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch > > diff --git a/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch b/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch > new file mode 100644 > index 0000000000..b0cb6a6c1e > --- /dev/null > +++ b/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch > @@ -0,0 +1,41 @@ > +From 4e7899f3d0533f83b7230ffa787087b65ddd45c0 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 5 Apr 2022 18:20:14 +0200 > +Subject: [PATCH] CMakeLists.txt: fix build without C++ > + > +Fix the following build failure without a working C++ compiler raised > +since version 2.0.0 and > +https://github.com/zlib-ng/minizip-ng/commit/d383a5f2fca127d24407ff26adce579d63b85310: > + > +CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > + The C++ compiler > + > + "/usr/bin/c++" > + > + is not able to compile a simple test program. > + > +Fixes: > + - http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: https://github.com/zlib-ng/minizip-ng/pull/621] > +--- > + CMakeLists.txt | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/CMakeLists.txt b/CMakeLists.txt > +index fef46c3..83adaf3 100644 > +--- a/CMakeLists.txt > ++++ b/CMakeLists.txt > +@@ -661,7 +661,7 @@ endif() > + list(APPEND MINIZIP_INC ${CMAKE_CURRENT_SOURCE_DIR}) > + > + # Create minizip library > +-project(minizip${MZ_PROJECT_SUFFIX} VERSION ${VERSION}) > ++project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) > + > + if(NOT ${MZ_PROJECT_SUFFIX} STREQUAL "") > + message(STATUS "Project configured as ${PROJECT_NAME}") > +-- > +2.35.1 > + From arnout at mind.be Thu Apr 21 20:56:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:56:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/quazip: doesn't build with zlib-ng In-Reply-To: <20220417213111.664923-1-fontaine.fabrice@gmail.com> References: <20220417213111.664923-1-fontaine.fabrice@gmail.com> Message-ID: On 17/04/2022 23:31, Fabrice Fontaine wrote: > quazip doesn't build with zlib-ng since bump to version 1.9.9-b1 in > commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of > z_crc_t and FAR: > https://github.com/zlib-ng/zlib-ng/commit/4db4cfdb5badc8860f7410732b12c45216d709b3 > https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: > > /nvmedata/autobuild/instance-16/output-1/build/quazip-1.2/quazip/unzip.c:196:11: error: unknown type name 'z_crc_t' > 196 | const z_crc_t FAR * pcrc_32_tab; > | ^~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/02272c154ce58bacf0518dab5fc1ef0084121e1a > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. > --- > package/quazip/Config.in | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/package/quazip/Config.in b/package/quazip/Config.in > index e980297558..a670ed458c 100644 > --- a/package/quazip/Config.in > +++ b/package/quazip/Config.in > @@ -1,10 +1,13 @@ > config BR2_PACKAGE_QUAZIP > bool "quazip" > + depends on BR2_PACKAGE_LIBZLIB > depends on BR2_PACKAGE_QT5 > - select BR2_PACKAGE_ZLIB > help > QuaZIP is a simple C++ wrapper over Gilles Vollant's > ZIP/UNZIP package that can be used to access ZIP > archives. It uses the Qt toolkit. > > http://quazip.sourceforge.net > + > +comment "quazip needs libzlib" > + depends on !BR2_PACKAGE_LIBZLIB Perhaps we should have something like with force-openssl, to be able to still select zlib. Yann, what do you think? Regards, Arnout From arnout at mind.be Thu Apr 21 20:57:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:57:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/espeak: fix pulseaudio build In-Reply-To: <20220417215822.1070695-1-fontaine.fabrice@gmail.com> References: <20220417215822.1070695-1-fontaine.fabrice@gmail.com> Message-ID: <721a1c20-0994-3ba5-68ed-de085fefeaf4@mind.be> On 17/04/2022 23:58, Fabrice Fontaine wrote: > Pass $(TARGET_CONFIGURE_OPTS) AUDIO="$(ESPEAK_AUDIO_BACKEND)" to > ESPEAK_INSTALL_TARGET_CMDS to avoid the following build failure with > pulseaudio raised since the addition of the package in commit > 10b6d10009c70262cfb492b2abaa3a091a8fb4aa: > >>>> espeak 1.48.04 Installing to target > PATH="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/bin:/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src DESTDIR="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/target" install > make[1]: Entering directory '/nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src' > g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fPIC -fvisibility=hidden -pedantic \ > -I. -D LIBRARY -c -fno-exceptions wave.cpp -o x_wave.o > g++ -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \ > x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o -lstdc++ -lportaudio -lpthread > /usr/bin/ld: cannot find -lportaudio > > Fixes: > - http://autobuild.buildroot.org/results/a4a6e3203ad70cd724da8130ee1648141ab39a6a > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/espeak/espeak.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/espeak/espeak.mk b/package/espeak/espeak.mk > index d592673ac5..44893ac9be 100644 > --- a/package/espeak/espeak.mk > +++ b/package/espeak/espeak.mk > @@ -37,7 +37,8 @@ define ESPEAK_BUILD_CMDS > endef > > define ESPEAK_INSTALL_TARGET_CMDS > - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \ > + AUDIO="$(ESPEAK_AUDIO_BACKEND)" DESTDIR="$(TARGET_DIR)" install > endef > > $(eval $(generic-package)) From arnout at mind.be Thu Apr 21 20:57:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:57:36 +0200 Subject: [Buildroot] [PATCH] package/libnspr: fix build failure on mips with musl libc In-Reply-To: <20220417223514.3080791-1-giulio.benetti@benettiengineering.com> References: <20220417223514.3080791-1-giulio.benetti@benettiengineering.com> Message-ID: On 18/04/2022 00:35, Giulio Benetti wrote: > Add patch that uses Linux instead of libc since > musl doesn't provide it. > > Patch is pending upstream here: > https://bugzilla.mozilla.org/show_bug.cgi?id=1765100 > > Fixes: > http://autobuild.buildroot.net/results/61743bf5ad9ddc69786ae854ed4ab58c59f64dd0/ > > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Arnout > --- > ...-1765100-fix-build-on-mips-musl-libc.patch | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch > > diff --git a/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch b/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch > new file mode 100644 > index 0000000000..10bf74130c > --- /dev/null > +++ b/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch > @@ -0,0 +1,33 @@ > +From 00e5b818f2d9f3264107801fc2fcff33a9355a78 Mon Sep 17 00:00:00 2001 > +From: Giulio Benetti > +Date: Sun, 17 Apr 2022 23:55:26 +0200 > +Subject: [PATCH] Bug 1765100 - fix build on mips+musl libc > + > +This patch fix build failure on mips with musl libc by using Linux > + instead of the one provided by libc since musl doesn't > +provide . > + > +Signed-off-by: Giulio Benetti > +--- > +This patch is pending upstream: > +https://bugzilla.mozilla.org/show_bug.cgi?id=1765100 > +--- > + nspr/pr/include/md/_linux.cfg | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/nspr/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg > +index 23b160fd..dbc0d40e 100644 > +--- a/nspr/pr/include/md/_linux.cfg > ++++ b/nspr/pr/include/md/_linux.cfg > +@@ -499,7 +499,7 @@ > + #elif defined(__mips__) > + > + /* For _ABI64 */ > +-#include > ++#include > + > + #ifdef __MIPSEB__ > + #define IS_BIG_ENDIAN 1 > +-- > +2.25.1 > + From arnout at mind.be Thu Apr 21 20:57:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:57:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/botan: fix mips64 build In-Reply-To: <20220418091909.7449-1-fontaine.fabrice@gmail.com> References: <20220418091909.7449-1-fontaine.fabrice@gmail.com> Message-ID: <0a93268b-16f7-cd7e-a048-89012cd8a2a9@mind.be> On 18/04/2022 11:19, Fabrice Fontaine wrote: > Disable cc-tests to avoid the following build failure on mips64: > > ERROR: Configured target is mips64 but compiler probe indicates mips32 > > Fixes: > - http://autobuild.buildroot.org/results/c44f44f36686268479563afd879db588e15ede7d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/botan/botan.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/botan/botan.mk b/package/botan/botan.mk > index f9ebcf8d0a..6095844b14 100644 > --- a/package/botan/botan.mk > +++ b/package/botan/botan.mk > @@ -15,6 +15,7 @@ BOTAN_INSTALL_STAGING = YES > > BOTAN_CONF_OPTS = \ > --cpu=$(BR2_ARCH) \ > + --disable-cc-tests \ > --os=linux \ > --cc=gcc \ > --cc-bin="$(TARGET_CXX)" \ From arnout at mind.be Thu Apr 21 20:58:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:58:17 +0200 Subject: [Buildroot] [PATCH] package/dropbear: bump to version 2022.82 In-Reply-To: <05c2ec866042ea7dd9a215c76c6382f2096199ab.1650274250.git.baruch@tkos.co.il> References: <05c2ec866042ea7dd9a215c76c6382f2096199ab.1650274250.git.baruch@tkos.co.il> Message-ID: On 18/04/2022 11:30, Baruch Siach via buildroot wrote: > Support for the Twofish algorithm is removed upstream. > > The dh_group1 algorithm is now disabled by default. Enable only when > BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO is enabled. > > Signed-off-by: Baruch Siach Applied to master, thanks. Regards, Arnout > --- > package/dropbear/dropbear.hash | 2 +- > package/dropbear/dropbear.mk | 6 ++---- > 2 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/package/dropbear/dropbear.hash b/package/dropbear/dropbear.hash > index 82ff454f0a56..ff6e312fde24 100644 > --- a/package/dropbear/dropbear.hash > +++ b/package/dropbear/dropbear.hash > @@ -1,5 +1,5 @@ > # From https://matt.ucc.asn.au/dropbear/releases/SHA256SUM.asc > -sha256 48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b dropbear-2020.81.tar.bz2 > +sha256 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1 dropbear-2022.82.tar.bz2 > > # License file, locally computed > sha256 a99ce657d790b761c132ee7e0de18edb437ae6361e536d991c6a12f36e770445 LICENSE > diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk > index 1cbe63682c5b..bfb80345ece7 100644 > --- a/package/dropbear/dropbear.mk > +++ b/package/dropbear/dropbear.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DROPBEAR_VERSION = 2020.81 > +DROPBEAR_VERSION = 2022.82 > DROPBEAR_SITE = https://matt.ucc.asn.au/dropbear/releases > DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.bz2 > DROPBEAR_LICENSE = MIT, BSD-2-Clause, Public domain > @@ -63,12 +63,12 @@ define DROPBEAR_ENABLE_LEGACY_CRYPTO > echo '#define DROPBEAR_3DES 1' >> $(@D)/localoptions.h > echo '#define DROPBEAR_ENABLE_CBC_MODE 1' >> $(@D)/localoptions.h > echo '#define DROPBEAR_SHA1_96_HMAC 1' >> $(@D)/localoptions.h > + echo '#define DROPBEAR_DH_GROUP1 1' >> $(@D)/localoptions.h > endef > DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_ENABLE_LEGACY_CRYPTO > else > define DROPBEAR_DISABLE_LEGACY_CRYPTO > echo '#define DROPBEAR_DSS 0' >> $(@D)/localoptions.h > - echo '#define DROPBEAR_DH_GROUP1 0' >> $(@D)/localoptions.h > endef > DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_LEGACY_CRYPTO > endif > @@ -87,8 +87,6 @@ DROPBEAR_CONF_OPTS += --disable-zlib --enable-bundled-libtom > else > define DROPBEAR_BUILD_FEATURED > echo '#define DROPBEAR_SMALL_CODE 0' >> $(@D)/localoptions.h > - echo '#define DROPBEAR_TWOFISH128 1' >> $(@D)/localoptions.h > - echo '#define DROPBEAR_TWOFISH256 1' >> $(@D)/localoptions.h > endef > DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_FEATURED > DROPBEAR_DEPENDENCIES += zlib libtomcrypt From arnout at mind.be Thu Apr 21 20:58:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:58:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/keepalived: fix build with libressl In-Reply-To: <20220418095919.13738-1-fontaine.fabrice@gmail.com> References: <20220418095919.13738-1-fontaine.fabrice@gmail.com> Message-ID: On 18/04/2022 11:59, Fabrice Fontaine wrote: > Fix the following build failure with libressl: > > /nvmedata/autobuild/instance-9/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/10.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: check/libcheck.a(check_ssl.o): in function `ssl_connect': > check_ssl.c:(.text+0x7da): undefined reference to `SSL_set0_wbio' > > Fixes: > - http://autobuild.buildroot.org/results/76f72a3c7350ea265e2277c89d68e5256410e94c > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0003-fix-build-with-libressl.patch | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 package/keepalived/0003-fix-build-with-libressl.patch > > diff --git a/package/keepalived/0003-fix-build-with-libressl.patch b/package/keepalived/0003-fix-build-with-libressl.patch > new file mode 100644 > index 0000000000..090d35511c > --- /dev/null > +++ b/package/keepalived/0003-fix-build-with-libressl.patch > @@ -0,0 +1,50 @@ > +From bbec15d4781670ac1be5e543cb04543f79200e69 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 12 Apr 2022 20:30:57 +0200 > +Subject: [PATCH] fix build with libressl > + > +SSL_set0_rbio is provided by libressl since version 3.4.0 and > +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc > +but SSL_set0_wbio is not provided resulting in the following build > +failure: > + > +/nvmedata/autobuild/instance-9/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/10.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: check/libcheck.a(check_ssl.o): in function `ssl_connect': > +check_ssl.c:(.text+0x7da): undefined reference to `SSL_set0_wbio' > + > +Fixes: > + - http://autobuild.buildroot.org/results/76f72a3c7350ea265e2277c89d68e5256410e94c > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/acassen/keepalived/commit/bbec15d4781670ac1be5e543cb04543f79200e69] > +--- > + configure.ac | 2 +- > + keepalived/check/check_ssl.c | 2 +- > + 2 files changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index 5a2ea76ec..e8b5ccc41 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -1327,7 +1327,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ > + AC_CHECK_FUNCS([SSL_CTX_set_verify_depth]) > + > + # SSL_set0_rbio(), SSL_set0_wbio() OPENSSL_init_crypto() and TLS_method() introduced OpenSSL v1.1.0 > +-AC_CHECK_FUNCS([SSL_set0_rbio OPENSSL_init_crypto TLS_method]) > ++AC_CHECK_FUNCS([SSL_set0_wbio OPENSSL_init_crypto TLS_method]) > + > + # In OpenSSL v1.1.1 the call to SSL_CTX_new() fails if OPENSSL_init_crypto() has been called with > + # OPENSSL_INIT_NO_LOAD_CONFIG. It does not fail in v1.1.0h and v1.1.1b. > +diff --git a/keepalived/check/check_ssl.c b/keepalived/check/check_ssl.c > +index 0155fce59..2cbedb8d3 100644 > +--- a/keepalived/check/check_ssl.c > ++++ b/keepalived/check/check_ssl.c > +@@ -234,7 +234,7 @@ ssl_connect(thread_ref_t thread, int new_req) > + BIO_get_fd(req->bio, &bio_fd); > + if (fcntl(bio_fd, F_SETFD, fcntl(bio_fd, F_GETFD) | FD_CLOEXEC) == -1) > + log_message(LOG_INFO, "Setting CLOEXEC failed on ssl socket - errno %d", errno); > +-#ifdef HAVE_SSL_SET0_RBIO > ++#ifdef HAVE_SSL_SET0_WBIO > + BIO_up_ref(req->bio); > + SSL_set0_rbio(req->ssl, req->bio); > + SSL_set0_wbio(req->ssl, req->bio); From arnout at mind.be Thu Apr 21 20:59:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:59:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/pixman: fix mips build In-Reply-To: <20220418103847.273865-1-fontaine.fabrice@gmail.com> References: <20220418103847.273865-1-fontaine.fabrice@gmail.com> Message-ID: On 18/04/2022 12:38, Fabrice Fontaine wrote: > Disable Loongson MMI fast paths to fix the following mips build failure: > > ./loongson-mmintrin.h:407:2: error: impossible constraint in 'asm' > 407 | asm("pinsrh_%3 %0, %1, %2\n\t" We could maybe find the arch options with which this actually works, but I don't expect this is really important. Applied to master, thanks. Regards, Arnout > | ^~~ > > Fixes: > - http://autobuild.buildroot.org/results/75267aa5b5a631f091d4c8cb6ad9baeb5f72ee11 > - http://autobuild.buildroot.org/results/55b7431a50b85c24406131af1932d6f3f6853de6 > > Signed-off-by: Fabrice Fontaine > --- > package/pixman/pixman.mk | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk > index 6fab539593..64302fa49a 100644 > --- a/package/pixman/pixman.mk > +++ b/package/pixman/pixman.mk > @@ -19,7 +19,9 @@ HOST_PIXMAN_DEPENDENCIES = host-pkgconf > PIXMAN_AUTORECONF = YES > > # don't build gtk based demos > -PIXMAN_CONF_OPTS = --disable-gtk > +PIXMAN_CONF_OPTS = \ > + --disable-gtk \ > + --disable-loongson-mmi > > # The ARM SIMD code from pixman requires a recent enough ARM core, but > # there is a runtime CPU check that makes sure it doesn't get used if From arnout at mind.be Thu Apr 21 21:01:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 23:01:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-pybind: needs C++ In-Reply-To: <20220418113248.275783-1-fontaine.fabrice@gmail.com> References: <20220418113248.275783-1-fontaine.fabrice@gmail.com> Message-ID: On 18/04/2022 13:32, Fabrice Fontaine wrote: > python-pybind needs C++ since its addition in commit > f42f2a63b3c5733dc56a58b18d6ba417a59d8342: > > -- Check for working CXX compiler: /usr/bin/c++ - broken > CMake Error at /nvmedata/autobuild/instance-24/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > > "/usr/bin/c++" > > is not able to compile a simple test program. > > Fixes: > - http://autobuild.buildroot.org/results/90364b752bef3f7b4b1fd9181e21030349e0e529 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/python-pybind/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/python-pybind/Config.in b/package/python-pybind/Config.in > index 604cb9ee67..6e03cc62fc 100644 > --- a/package/python-pybind/Config.in > +++ b/package/python-pybind/Config.in > @@ -1,8 +1,12 @@ > config BR2_PACKAGE_PYTHON_PYBIND > bool "python-pybind" > + depends on BR2_INSTALL_LIBSTDCPP > help > PyBind is a lightweight header-only library that exposes C++ > types in Python and vice versa, mainly to create Python > bindings of existing C++ code. > > http://pybind11.readthedocs.org/en/master > + > +comment "python-pybind needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Thu Apr 21 21:01:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 23:01:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/coreutils: bump version to 9.1 In-Reply-To: <20220418162045.3408-1-petr.vorel@gmail.com> References: <20220418162045.3408-1-petr.vorel@gmail.com> Message-ID: <2504049d-28e8-065d-c59a-87881825fe74@mind.be> On 18/04/2022 18:20, Petr Vorel wrote: > Signed-off-by: Petr Vorel Applied to master, thanks. I also updated the hash file to two spaces (check-package). Regards, Arnout > --- > Tested: > > bootlin-armv5-uclibc [1/6]: OK > bootlin-armv7-glibc [2/6]: OK > bootlin-armv7m-uclibc [3/6]: SKIPPED > bootlin-x86-64-musl [4/6]: OK > br-arm-full-static [5/6]: OK > sourcery-arm [6/6]: OK > > > package/coreutils/coreutils.hash | 2 +- > package/coreutils/coreutils.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/coreutils/coreutils.hash b/package/coreutils/coreutils.hash > index 758a6341a3..9f3434e58f 100644 > --- a/package/coreutils/coreutils.hash > +++ b/package/coreutils/coreutils.hash > @@ -1,4 +1,4 @@ > # Locally calculated after checking pgp signature > -sha256 ce30acdf4a41bc5bb30dd955e9eaa75fa216b4e3deb08889ed32433c7b3b97ce coreutils-9.0.tar.xz > +sha256 61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423 coreutils-9.1.tar.xz > # Locally computed > sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING > diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk > index 438b7910eb..931859b0ac 100644 > --- a/package/coreutils/coreutils.mk > +++ b/package/coreutils/coreutils.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -COREUTILS_VERSION = 9.0 > +COREUTILS_VERSION = 9.1 > COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils > COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz > COREUTILS_LICENSE = GPL-3.0+ From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/glorytun: fix aarch64 build with uclibc Message-ID: <20220421205206.6B10C840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ce6374f8cd8b99ff4dab680406420d0b23fe63b1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following aarch64 build failure with uclibc: mud/aegis256/aegis256.c:51:10: fatal error: sys/auxv.h: No such file or directory 51 | #include | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/4e1bbd72b9b7e0f9963f6693c3d7bc9a1d24fab4 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-Add-support-for-Apple-silicon.patch | 51 ++++++++++++++++++++++ ...-aegis256.c-fix-aarch64-build-with-uclibc.patch | 43 ++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/package/glorytun/0001-Add-support-for-Apple-silicon.patch b/package/glorytun/0001-Add-support-for-Apple-silicon.patch new file mode 100644 index 0000000000..6d4b8273f3 --- /dev/null +++ b/package/glorytun/0001-Add-support-for-Apple-silicon.patch @@ -0,0 +1,51 @@ +From 577ae0352d191fa604f861ea2f0847e7c5eda617 Mon Sep 17 00:00:00 2001 +From: Frank Denis +Date: Wed, 1 Jul 2020 22:51:43 +0200 +Subject: [PATCH] Add support for Apple silicon + +[Retrieved from: +https://github.com/angt/aegis256/commit/577ae0352d191fa604f861ea2f0847e7c5eda617] +Signed-off-by: Fabrice Fontaine +--- + aegis256.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c +index 9a580bf..75a772c 100644 +--- a/mud/aegis256/aegis256.c ++++ b/mud/aegis256/aegis256.c +@@ -36,7 +36,7 @@ typedef __m128i x128; + #define store128(X,Y) _mm_storeu_si128((x128 *)(X), (Y)) + #define set2x64(X,Y) _mm_set_epi64x((long long)(X), (long long)(Y)) + +-#elif defined(__linux__) && (defined(__ARM_NEON_FP) || defined(__aarch64__)) ++#elif (defined(__APPLE__) || defined(__linux__)) && (defined(__ARM_NEON_FP) || defined(__aarch64__)) + + #ifdef __clang__ + #pragma clang attribute push (__attribute__((target("crypto"))),apply_to=function) +@@ -48,7 +48,9 @@ typedef __m128i x128; + #endif + + #ifdef __ARM_FEATURE_CRYPTO ++#ifdef __linux__ + #include ++#endif + #include + + typedef uint8x16_t x128; +@@ -62,11 +64,15 @@ typedef uint8x16_t x128; + int + aegis256_is_available(void) + { ++#ifdef __linux__ + return (getauxval(AT_HWCAP) & HWCAP_AES) + #ifdef HWCAP2_AES + || (getauxval(AT_HWCAP2) & HWCAP2_AES) + #endif + ; ++#else // __APPLE__ ++ return 1; ++#endif + } + + #endif // __ARM_FEATURE_CRYPTO diff --git a/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch b/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch new file mode 100644 index 0000000000..37ae8a3301 --- /dev/null +++ b/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch @@ -0,0 +1,43 @@ +From eb22e270a962d4a2da1972304fd8b1216211c9d1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 16 Apr 2022 23:32:55 +0200 +Subject: [PATCH] aegis256.c: fix aarch64 build with uclibc + +Fix the following aarch64 build failure with uclibc: + +mud/aegis256/aegis256.c:51:10: fatal error: sys/auxv.h: No such file or directory + 51 | #include + | ^~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/4e1bbd72b9b7e0f9963f6693c3d7bc9a1d24fab4 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/angt/aegis256/commit/eb22e270a962d4a2da1972304fd8b1216211c9d1] +--- + aegis256.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c +index 75a772c..4e73fab 100644 +--- a/mud/aegis256/aegis256.c ++++ b/mud/aegis256/aegis256.c +@@ -48,7 +48,7 @@ typedef __m128i x128; + #endif + + #ifdef __ARM_FEATURE_CRYPTO +-#ifdef __linux__ ++#if defined(__linux__) && __has_include("sys/auxv.h") + #include + #endif + #include +@@ -64,7 +64,7 @@ typedef uint8x16_t x128; + int + aegis256_is_available(void) + { +-#ifdef __linux__ ++#if defined(__linux__) && __has_include("sys/auxv.h") + return (getauxval(AT_HWCAP) & HWCAP_AES) + #ifdef HWCAP2_AES + || (getauxval(AT_HWCAP2) & HWCAP2_AES) From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/libnspr: fix build failure on mips with musl libc Message-ID: <20220421205206.A081184104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=530c72ad7559e0bdafa86eb81dc1ff2444238e2c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add patch that uses Linux instead of libc since musl doesn't provide it. Patch is pending upstream here: https://bugzilla.mozilla.org/show_bug.cgi?id=1765100 Fixes: http://autobuild.buildroot.net/results/61743bf5ad9ddc69786ae854ed4ab58c59f64dd0/ Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...1-Bug-1765100-fix-build-on-mips-musl-libc.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch b/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch new file mode 100644 index 0000000000..10bf74130c --- /dev/null +++ b/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch @@ -0,0 +1,33 @@ +From 00e5b818f2d9f3264107801fc2fcff33a9355a78 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sun, 17 Apr 2022 23:55:26 +0200 +Subject: [PATCH] Bug 1765100 - fix build on mips+musl libc + +This patch fix build failure on mips with musl libc by using Linux + instead of the one provided by libc since musl doesn't +provide . + +Signed-off-by: Giulio Benetti +--- +This patch is pending upstream: +https://bugzilla.mozilla.org/show_bug.cgi?id=1765100 +--- + nspr/pr/include/md/_linux.cfg | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/nspr/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg +index 23b160fd..dbc0d40e 100644 +--- a/nspr/pr/include/md/_linux.cfg ++++ b/nspr/pr/include/md/_linux.cfg +@@ -499,7 +499,7 @@ + #elif defined(__mips__) + + /* For _ABI64 */ +-#include ++#include + + #ifdef __MIPSEB__ + #define IS_BIG_ENDIAN 1 +-- +2.25.1 + From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/luarocks: bump to version 3.9.0 Message-ID: <20220421205206.5D0A984104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9cd09d9d3763f977b086f15642471c135a76d717 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/luarocks/luarocks.hash | 2 +- package/luarocks/luarocks.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/luarocks/luarocks.hash b/package/luarocks/luarocks.hash index d80e08a200..14809402d2 100644 --- a/package/luarocks/luarocks.hash +++ b/package/luarocks/luarocks.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923 luarocks-3.8.0.tar.gz +sha256 5e840f0224891de96be4139e9475d3b1de7af3a32b95c1bdf05394563c60175f luarocks-3.9.0.tar.gz sha256 542ad0ee9b8ba582437ca7b4d0959c9b9432f25d2067f144d017188a7a84dd2f COPYING diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk index 028e144e25..b28a1bd577 100644 --- a/package/luarocks/luarocks.mk +++ b/package/luarocks/luarocks.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUAROCKS_VERSION = 3.8.0 +LUAROCKS_VERSION = 3.9.0 LUAROCKS_SITE = https://luarocks.org/releases LUAROCKS_LICENSE = MIT LUAROCKS_LICENSE_FILES = COPYING From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/aircrack-ng: fix sqlite3 build Message-ID: <20220421205206.534DA84105@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8e9b796c990d2aaaa17c711cefef2918b69bc9d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 1.2 in commit 242227dd86efaaec7c785b32a14e8133f2e86dec: powerpc-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from src/aircrack-ng/aircrack-ng.c:54: /usr/include/math.h:476:21: error: '_Float128' is not supported on this target 476 | # define _Mdouble_ _Float128 | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/83a114ce197fb6af53a26ed68184cf3bbb30c8a7 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/aircrack-ng/aircrack-ng.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk index ff87766d6f..95cda7c5a6 100644 --- a/package/aircrack-ng/aircrack-ng.mk +++ b/package/aircrack-ng/aircrack-ng.mk @@ -69,7 +69,7 @@ endif ifeq ($(BR2_PACKAGE_SQLITE),y) AIRCRACK_NG_DEPENDENCIES += sqlite -AIRCRACK_NG_CONF_OPTS += --with-sqlite3 +AIRCRACK_NG_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr else AIRCRACK_NG_CONF_OPTS += --without-sqlite3 endif From arnout at mind.be Thu Apr 21 20:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:39 +0200 Subject: [Buildroot] [git commit] package/pixman: fix mips build Message-ID: <20220421205206.CB511840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e0fbf4dcd4cd0cf17cfe89ebf6808fdace8f01f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable Loongson MMI fast paths to fix the following mips build failure: ./loongson-mmintrin.h:407:2: error: impossible constraint in 'asm' 407 | asm("pinsrh_%3 %0, %1, %2\n\t" | ^~~ Fixes: - http://autobuild.buildroot.org/results/75267aa5b5a631f091d4c8cb6ad9baeb5f72ee11 - http://autobuild.buildroot.org/results/55b7431a50b85c24406131af1932d6f3f6853de6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pixman/pixman.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk index 6fab539593..64302fa49a 100644 --- a/package/pixman/pixman.mk +++ b/package/pixman/pixman.mk @@ -19,7 +19,9 @@ HOST_PIXMAN_DEPENDENCIES = host-pkgconf PIXMAN_AUTORECONF = YES # don't build gtk based demos -PIXMAN_CONF_OPTS = --disable-gtk +PIXMAN_CONF_OPTS = \ + --disable-gtk \ + --disable-loongson-mmi # The ARM SIMD code from pixman requires a recent enough ARM core, but # there is a runtime CPU check that makes sure it doesn't get used if From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/botan: fix mips64 build Message-ID: <20220421205206.AAE1D84105@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fb9a422eba604cbdcd78826a6d520146c4fffad2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable cc-tests to avoid the following build failure on mips64: ERROR: Configured target is mips64 but compiler probe indicates mips32 Fixes: - http://autobuild.buildroot.org/results/c44f44f36686268479563afd879db588e15ede7d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/botan/botan.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/botan/botan.mk b/package/botan/botan.mk index f9ebcf8d0a..6095844b14 100644 --- a/package/botan/botan.mk +++ b/package/botan/botan.mk @@ -15,6 +15,7 @@ BOTAN_INSTALL_STAGING = YES BOTAN_CONF_OPTS = \ --cpu=$(BR2_ARCH) \ + --disable-cc-tests \ --os=linux \ --cc=gcc \ --cc-bin="$(TARGET_CXX)" \ From arnout at mind.be Thu Apr 21 20:05:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:05:38 +0200 Subject: [Buildroot] [git commit] package/mc: fix build with gcc 4.8 Message-ID: <20220421205206.3D11F84042@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c99d2d34298ddfed16581ae3405ed70b52640cb5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc 4.8 raised since bump to version 4.8.26 in commit e648dfa6f7078a6fbbc5feb83292c6a98300fe8f and https://github.com/MidnightCommander/mc/commit/8b4386df83ab5a525f0568113fe1e53d362f433e: tty-ncurses.c: In function 'tty_colorize_area': tty-ncurses.c:575:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int row = 0; row < rows; row++) ^ Fixes: - http://autobuild.buildroot.org/results/d9f0a11bde42fe6ae2e9449d3365609d59a6545d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/mc/mc.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/mc/mc.mk b/package/mc/mc.mk index ac12c2173a..3858d62886 100644 --- a/package/mc/mc.mk +++ b/package/mc/mc.mk @@ -10,7 +10,9 @@ MC_SITE = http://ftp.midnight-commander.org MC_LICENSE = GPL-3.0+ MC_LICENSE_FILES = COPYING MC_DEPENDENCIES = libglib2 host-pkgconf $(TARGET_NLS_DEPENDENCIES) -MC_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) +MC_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) -std=c99" \ + LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_GPM),y) MC_CONF_OPTS += --with-gpm-mouse From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/espeak: fix pulseaudio build Message-ID: <20220421205206.93949840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b87bc7d3ad82f637bb8c9a00a1c433ab9135555c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Pass $(TARGET_CONFIGURE_OPTS) AUDIO="$(ESPEAK_AUDIO_BACKEND)" to ESPEAK_INSTALL_TARGET_CMDS to avoid the following build failure with pulseaudio raised since the addition of the package in commit 10b6d10009c70262cfb492b2abaa3a091a8fb4aa: >>> espeak 1.48.04 Installing to target PATH="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/bin:/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src DESTDIR="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/target" install make[1]: Entering directory '/nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src' g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fPIC -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions wave.cpp -o x_wave.o g++ -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \ x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o -lstdc++ -lportaudio -lpthread /usr/bin/ld: cannot find -lportaudio Fixes: - http://autobuild.buildroot.org/results/a4a6e3203ad70cd724da8130ee1648141ab39a6a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/espeak/espeak.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/espeak/espeak.mk b/package/espeak/espeak.mk index d592673ac5..44893ac9be 100644 --- a/package/espeak/espeak.mk +++ b/package/espeak/espeak.mk @@ -37,7 +37,8 @@ define ESPEAK_BUILD_CMDS endef define ESPEAK_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \ + AUDIO="$(ESPEAK_AUDIO_BACKEND)" DESTDIR="$(TARGET_DIR)" install endef $(eval $(generic-package)) From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/dropbear: bump to version 2022.82 Message-ID: <20220421205206.B7B19840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=064ad45d35ba4fa8042d251c642c0f721ad0a2b2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Support for the Twofish algorithm is removed upstream. The dh_group1 algorithm is now disabled by default. Enable only when BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO is enabled. Signed-off-by: Baruch Siach Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dropbear/dropbear.hash | 2 +- package/dropbear/dropbear.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/dropbear/dropbear.hash b/package/dropbear/dropbear.hash index 82ff454f0a..ff6e312fde 100644 --- a/package/dropbear/dropbear.hash +++ b/package/dropbear/dropbear.hash @@ -1,5 +1,5 @@ # From https://matt.ucc.asn.au/dropbear/releases/SHA256SUM.asc -sha256 48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b dropbear-2020.81.tar.bz2 +sha256 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1 dropbear-2022.82.tar.bz2 # License file, locally computed sha256 a99ce657d790b761c132ee7e0de18edb437ae6361e536d991c6a12f36e770445 LICENSE diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index 1cbe63682c..bfb80345ec 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -4,7 +4,7 @@ # ################################################################################ -DROPBEAR_VERSION = 2020.81 +DROPBEAR_VERSION = 2022.82 DROPBEAR_SITE = https://matt.ucc.asn.au/dropbear/releases DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.bz2 DROPBEAR_LICENSE = MIT, BSD-2-Clause, Public domain @@ -63,12 +63,12 @@ define DROPBEAR_ENABLE_LEGACY_CRYPTO echo '#define DROPBEAR_3DES 1' >> $(@D)/localoptions.h echo '#define DROPBEAR_ENABLE_CBC_MODE 1' >> $(@D)/localoptions.h echo '#define DROPBEAR_SHA1_96_HMAC 1' >> $(@D)/localoptions.h + echo '#define DROPBEAR_DH_GROUP1 1' >> $(@D)/localoptions.h endef DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_ENABLE_LEGACY_CRYPTO else define DROPBEAR_DISABLE_LEGACY_CRYPTO echo '#define DROPBEAR_DSS 0' >> $(@D)/localoptions.h - echo '#define DROPBEAR_DH_GROUP1 0' >> $(@D)/localoptions.h endef DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_LEGACY_CRYPTO endif @@ -87,8 +87,6 @@ DROPBEAR_CONF_OPTS += --disable-zlib --enable-bundled-libtom else define DROPBEAR_BUILD_FEATURED echo '#define DROPBEAR_SMALL_CODE 0' >> $(@D)/localoptions.h - echo '#define DROPBEAR_TWOFISH128 1' >> $(@D)/localoptions.h - echo '#define DROPBEAR_TWOFISH256 1' >> $(@D)/localoptions.h endef DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_FEATURED DROPBEAR_DEPENDENCIES += zlib libtomcrypt From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/minizip: fix build without C++ Message-ID: <20220421205206.7810A840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=845f963842766019d3c83a6ab7ea592bc3017f75 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 2.5.3 in commit fd03e8192f1b4d5eae9a9458c5a06bebfa95fb7c and https://github.com/zlib-ng/minizip-ng/commit/d383a5f2fca127d24407ff26adce579d63b85310: CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-CMakeLists.txt-fix-build-without-C.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch b/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch new file mode 100644 index 0000000000..b0cb6a6c1e --- /dev/null +++ b/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch @@ -0,0 +1,41 @@ +From 4e7899f3d0533f83b7230ffa787087b65ddd45c0 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 18:20:14 +0200 +Subject: [PATCH] CMakeLists.txt: fix build without C++ + +Fix the following build failure without a working C++ compiler raised +since version 2.0.0 and +https://github.com/zlib-ng/minizip-ng/commit/d383a5f2fca127d24407ff26adce579d63b85310: + +CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): + The C++ compiler + + "/usr/bin/c++" + + is not able to compile a simple test program. + +Fixes: + - http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/zlib-ng/minizip-ng/pull/621] +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fef46c3..83adaf3 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -661,7 +661,7 @@ endif() + list(APPEND MINIZIP_INC ${CMAKE_CURRENT_SOURCE_DIR}) + + # Create minizip library +-project(minizip${MZ_PROJECT_SUFFIX} VERSION ${VERSION}) ++project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) + + if(NOT ${MZ_PROJECT_SUFFIX} STREQUAL "") + message(STATUS "Project configured as ${PROJECT_NAME}") +-- +2.35.1 + From arnout at mind.be Thu Apr 21 20:05:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:05:36 +0200 Subject: [Buildroot] [git commit] package/libsigsegv: bump to version 2.14 Message-ID: <20220421205206.2F7B3840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c6addf4606c3a41cdad5c6ac4c6508b298b6e92a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This bump will fix the following build failure on or1k and microblazeel: In file included from handler.c:20: handler-unix.c: In function 'sigsegv_handler': handler-unix.c:194:28: error: 'struct vma_struct' has no member named 'is_near_this' 194 | : vma.is_near_this (addr, &vma)) | ^ https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=NEWS;h=4d012f8b6cd9b2c1eccbf266a10aae56b0e79978;hb=9ad117adabd223b79e037575e071855c2b8b35c0 https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=ChangeLog;h=c52b227aae190ba9b161282efaa5f33cb4a127f9;hb=9ad117adabd223b79e037575e071855c2b8b35c0 Fixes: - http://autobuild.buildroot.org/results/c693fafb8f1f68be30a281313fb1f0890cc08b1e - http://autobuild.buildroot.org/results/ecde11129d102e3321b2aaef407697c29311c705 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libsigsegv/libsigsegv.hash | 4 ++-- package/libsigsegv/libsigsegv.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libsigsegv/libsigsegv.hash b/package/libsigsegv/libsigsegv.hash index c827e6b866..13978da398 100644 --- a/package/libsigsegv/libsigsegv.hash +++ b/package/libsigsegv/libsigsegv.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.13.tar.gz.sig -sha256 be78ee4176b05f7c75ff03298d84874db90f4b6c9d5503f0da1226b3a3c48119 libsigsegv-2.13.tar.gz +# https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.14.tar.gz.sig +sha256 cdac3941803364cf81a908499beb79c200ead60b6b5b40cad124fd1e06caa295 libsigsegv-2.14.tar.gz # Locally calculated sha256 8f2983e9a940367f48999881c14775db725ee643bce1e2f1ba195eb629a33cde COPYING diff --git a/package/libsigsegv/libsigsegv.mk b/package/libsigsegv/libsigsegv.mk index 87a5d7a124..98bcd55c8c 100644 --- a/package/libsigsegv/libsigsegv.mk +++ b/package/libsigsegv/libsigsegv.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSIGSEGV_VERSION = 2.13 +LIBSIGSEGV_VERSION = 2.14 LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv LIBSIGSEGV_INSTALL_STAGING = YES LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes From arnout at mind.be Thu Apr 21 20:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:39 +0200 Subject: [Buildroot] [git commit] package/coreutils: bump version to 9.1 Message-ID: <20220421205206.DE41784104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=908caefa91dbf70e7f40c61113f0f1ae2b83230d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/coreutils/coreutils.hash | 4 ++-- package/coreutils/coreutils.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/coreutils/coreutils.hash b/package/coreutils/coreutils.hash index 758a6341a3..eb9a5744c6 100644 --- a/package/coreutils/coreutils.hash +++ b/package/coreutils/coreutils.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -sha256 ce30acdf4a41bc5bb30dd955e9eaa75fa216b4e3deb08889ed32433c7b3b97ce coreutils-9.0.tar.xz +sha256 61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423 coreutils-9.1.tar.xz # Locally computed -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index 438b7910eb..931859b0ac 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -4,7 +4,7 @@ # ################################################################################ -COREUTILS_VERSION = 9.0 +COREUTILS_VERSION = 9.1 COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz COREUTILS_LICENSE = GPL-3.0+ From arnout at mind.be Thu Apr 21 20:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:39 +0200 Subject: [Buildroot] [git commit] package/python-pybind: needs C++ Message-ID: <20220421205206.D4B7E840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7d81d082aaaa105fa8ac8d06a4bc9d63cef6352c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-pybind needs C++ since its addition in commit f42f2a63b3c5733dc56a58b18d6ba417a59d8342: -- Check for working CXX compiler: /usr/bin/c++ - broken CMake Error at /nvmedata/autobuild/instance-24/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/90364b752bef3f7b4b1fd9181e21030349e0e529 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-pybind/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-pybind/Config.in b/package/python-pybind/Config.in index 604cb9ee67..6e03cc62fc 100644 --- a/package/python-pybind/Config.in +++ b/package/python-pybind/Config.in @@ -1,8 +1,12 @@ config BR2_PACKAGE_PYTHON_PYBIND bool "python-pybind" + depends on BR2_INSTALL_LIBSTDCPP help PyBind is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code. http://pybind11.readthedocs.org/en/master + +comment "python-pybind needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Thu Apr 21 20:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:39 +0200 Subject: [Buildroot] [git commit] package/keepalived: fix build with libressl Message-ID: <20220421205206.C258184104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=90bdef4f17d46929c2c0e19110a11dbcc4ba851d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: /nvmedata/autobuild/instance-9/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/10.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: check/libcheck.a(check_ssl.o): in function `ssl_connect': check_ssl.c:(.text+0x7da): undefined reference to `SSL_set0_wbio' Fixes: - http://autobuild.buildroot.org/results/76f72a3c7350ea265e2277c89d68e5256410e94c Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../keepalived/0003-fix-build-with-libressl.patch | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/package/keepalived/0003-fix-build-with-libressl.patch b/package/keepalived/0003-fix-build-with-libressl.patch new file mode 100644 index 0000000000..090d35511c --- /dev/null +++ b/package/keepalived/0003-fix-build-with-libressl.patch @@ -0,0 +1,50 @@ +From bbec15d4781670ac1be5e543cb04543f79200e69 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 12 Apr 2022 20:30:57 +0200 +Subject: [PATCH] fix build with libressl + +SSL_set0_rbio is provided by libressl since version 3.4.0 and +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc +but SSL_set0_wbio is not provided resulting in the following build +failure: + +/nvmedata/autobuild/instance-9/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/10.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: check/libcheck.a(check_ssl.o): in function `ssl_connect': +check_ssl.c:(.text+0x7da): undefined reference to `SSL_set0_wbio' + +Fixes: + - http://autobuild.buildroot.org/results/76f72a3c7350ea265e2277c89d68e5256410e94c + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/acassen/keepalived/commit/bbec15d4781670ac1be5e543cb04543f79200e69] +--- + configure.ac | 2 +- + keepalived/check/check_ssl.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 5a2ea76ec..e8b5ccc41 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1327,7 +1327,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ + AC_CHECK_FUNCS([SSL_CTX_set_verify_depth]) + + # SSL_set0_rbio(), SSL_set0_wbio() OPENSSL_init_crypto() and TLS_method() introduced OpenSSL v1.1.0 +-AC_CHECK_FUNCS([SSL_set0_rbio OPENSSL_init_crypto TLS_method]) ++AC_CHECK_FUNCS([SSL_set0_wbio OPENSSL_init_crypto TLS_method]) + + # In OpenSSL v1.1.1 the call to SSL_CTX_new() fails if OPENSSL_init_crypto() has been called with + # OPENSSL_INIT_NO_LOAD_CONFIG. It does not fail in v1.1.0h and v1.1.1b. +diff --git a/keepalived/check/check_ssl.c b/keepalived/check/check_ssl.c +index 0155fce59..2cbedb8d3 100644 +--- a/keepalived/check/check_ssl.c ++++ b/keepalived/check/check_ssl.c +@@ -234,7 +234,7 @@ ssl_connect(thread_ref_t thread, int new_req) + BIO_get_fd(req->bio, &bio_fd); + if (fcntl(bio_fd, F_SETFD, fcntl(bio_fd, F_GETFD) | FD_CLOEXEC) == -1) + log_message(LOG_INFO, "Setting CLOEXEC failed on ssl socket - errno %d", errno); +-#ifdef HAVE_SSL_SET0_RBIO ++#ifdef HAVE_SSL_SET0_WBIO + BIO_up_ref(req->bio); + SSL_set0_rbio(req->ssl, req->bio); + SSL_set0_wbio(req->ssl, req->bio); From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/quazip: doesn't build with zlib-ng Message-ID: <20220421205206.8375C84104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=338009c7ba33fb718d5d0256f6049d9e593f9464 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master quazip doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of z_crc_t and FAR: https://github.com/zlib-ng/zlib-ng/commit/4db4cfdb5badc8860f7410732b12c45216d709b3 https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: /nvmedata/autobuild/instance-16/output-1/build/quazip-1.2/quazip/unzip.c:196:11: error: unknown type name 'z_crc_t' 196 | const z_crc_t FAR * pcrc_32_tab; | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/02272c154ce58bacf0518dab5fc1ef0084121e1a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/quazip/Config.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/quazip/Config.in b/package/quazip/Config.in index e980297558..a670ed458c 100644 --- a/package/quazip/Config.in +++ b/package/quazip/Config.in @@ -1,10 +1,13 @@ config BR2_PACKAGE_QUAZIP bool "quazip" + depends on BR2_PACKAGE_LIBZLIB depends on BR2_PACKAGE_QT5 - select BR2_PACKAGE_ZLIB help QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit. http://quazip.sourceforge.net + +comment "quazip needs libzlib" + depends on !BR2_PACKAGE_LIBZLIB From arnout at mind.be Thu Apr 21 20:28:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:28:09 +0200 Subject: [Buildroot] [git commit] package/opencv4: add tbb support Message-ID: <20220421205206.4A6A8840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7a441e4cf967094f2e2429a37dd2107bb91d2a81 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/opencv4/Config.in | 14 ++++++++++++++ package/opencv4/opencv4.mk | 10 ++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in index 31c32385da..23d34a9d22 100644 --- a/package/opencv4/Config.in +++ b/package/opencv4/Config.in @@ -309,6 +309,20 @@ config BR2_PACKAGE_OPENCV4_WITH_PROTOBUF help Use shared protobuf from the target system. +config BR2_PACKAGE_OPENCV4_WITH_TBB + bool "tbb support" + depends on !BR2_TOOLCHAIN_USES_UCLIBC # tbb + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # tbb + select BR2_PACKAGE_TBB + help + Use shared tbb from the target system. + +comment "tbb needs a glibc or musl toolchain" + depends on BR2_TOOLCHAIN_USES_UCLIBC + +comment "tbb needs exception_ptr" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + config BR2_PACKAGE_OPENCV4_WITH_TIFF bool "tiff support" select BR2_PACKAGE_TIFF diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index e75f7144de..0563026b18 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -155,8 +155,7 @@ OPENCV4_CONF_OPTS += \ -DBUILD_WITH_DYNAMIC_IPP=OFF \ -DWITH_INTELPERC=OFF \ -DWITH_IPP=OFF \ - -DWITH_IPP_A=OFF \ - -DWITH_TBB=OFF + -DWITH_IPP_A=OFF # Smartek stuff OPENCV4_CONF_OPTS += -DWITH_GIGEAPI=OFF @@ -313,6 +312,13 @@ else OPENCV4_CONF_OPTS += -DWITH_QT=OFF endif +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TBB),y) +OPENCV4_CONF_OPTS += -DWITH_TBB=ON +OPENCV4_DEPENDENCIES += tbb +else +OPENCV4_CONF_OPTS += -DWITH_TBB=OFF +endif + ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TIFF),y) OPENCV4_CONF_OPTS += -DWITH_TIFF=ON OPENCV4_DEPENDENCIES += tiff From arnout at mind.be Thu Apr 21 21:09:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 23:09:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/zfs: bump version to 2.1.4 In-Reply-To: <20220416164850.1276963-1-salvador.joseluis@gmail.com> References: <20220416164850.1276963-1-salvador.joseluis@gmail.com> Message-ID: <24c989ad-5a35-f874-8629-71eac02ca046@mind.be> Hi Jose?, Thank you for your patch. I have a few comment, could you fix and send an updated patch? I also added a few more people in Cc because there's an issue with kernel dependency that comes up again. On 16/04/2022 18:48, Jos? Luis Salvador Rufo wrote: > Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > because is already merged. > > Added libcurl as required dependency, because zfs keylocation now > requires https support. https also requires openssl. But that's already selected by zfs, so OK. > > In order to support uClibc, we have added the patch > bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream. > > As this version brings support for kernel up to 5.17, we update the > test cases to use the 5.17 kernel. Is 5.17 really the minimum required kernel version? That's just a couple of weeks old... Our default kernel version is still 5.15, and it's going to stay like that for a bit since 5.15 is an LTS... > > Signed-off-by: Jos? Luis Salvador Rufo > --- [snip] > diff --git a/package/zfs/Config.in b/package/zfs/Config.in > index c766c370e4..c450a8b515 100644 > --- a/package/zfs/Config.in > +++ b/package/zfs/Config.in > @@ -5,10 +5,16 @@ comment "zfs needs udev /dev management" > depends on BR2_LINUX_KERNEL > depends on !BR2_PACKAGE_HAS_UDEV > > +comment "zfs needs libcurl" > + depends on BR2_LINUX_KERNEL > + depends on BR2_PACKAGE_HAS_UDEV > + depends on !BR2_PACKAGE_LIBCURL > + > config BR2_PACKAGE_ZFS > bool "zfs" > depends on BR2_LINUX_KERNEL > depends on BR2_PACKAGE_HAS_UDEV > + depends on BR2_PACKAGE_LIBCURL For such dependencies, we prefer to select it rather than depends on. depends on is only for architecture and toolchain dependencies, and in cases that select doesn't work for some other reason (usually circular dependencies). You need to propagate its dependencies then, but libcurl doesn't have any. > depends on BR2_USE_MMU # util-linux (libblkid) > depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc > select BR2_PACKAGE_UTIL_LINUX > diff --git a/package/zfs/zfs.hash b/package/zfs/zfs.hash > index 7f4f5a59f8..411af974c6 100644 > --- a/package/zfs/zfs.hash > +++ b/package/zfs/zfs.hash > @@ -1,5 +1,6 @@ > -# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc > -sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz > +# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc > +sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz > +sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch > > # Hash for license files: > sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE > diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk > index dbda8aceb4..07ce3295ec 100644 > --- a/package/zfs/zfs.mk > +++ b/package/zfs/zfs.mk > @@ -4,17 +4,17 @@ > # > ################################################################################ > > -ZFS_VERSION = 2.0.5 > +ZFS_VERSION = 2.1.4 > ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION) > +ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch > ZFS_LICENSE = CDDL > ZFS_LICENSE_FILES = LICENSE COPYRIGHT > ZFS_CPE_ID_VENDOR = openzfs > ZFS_CPE_ID_PRODUCT = openzfs > > -# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > ZFS_AUTORECONF = YES > > -ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib > +ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl > > # sysvinit installs only a commented-out modules-load.d/ config file > ZFS_CONF_OPTS = \ > diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py > index 772a66c1e4..8c1000e1ca 100644 > --- a/support/testing/tests/package/test_zfs.py > +++ b/support/testing/tests/package/test_zfs.py > @@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest): > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" > + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.3" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" > BR2_PACKAGE_ZFS=y > @@ -22,6 +22,7 @@ class TestZfsGlibc(infra.basetest.BRTest): > BR2_PACKAGE_PYTHON_SETUPTOOLS=y > BR2_PACKAGE_ZLIB_NG=y > BR2_PACKAGE_LIBRESSL=y > + BR2_PACKAGE_LIBCURL=y This won't be needed if you use select in Config.in. Regards, Arnout > BR2_TARGET_ROOTFS_CPIO=y > # BR2_TARGET_ROOTFS_TAR is not set > """ > @@ -70,7 +71,7 @@ class TestZfsUclibc(infra.basetest.BRTest): > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" > + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.3" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" > BR2_PACKAGE_ZFS=y > @@ -79,6 +80,7 @@ class TestZfsUclibc(infra.basetest.BRTest): > BR2_PACKAGE_PYTHON_SETUPTOOLS=y > BR2_PACKAGE_ZLIB_NG=y > BR2_PACKAGE_LIBRESSL=y > + BR2_PACKAGE_LIBCURL=y > BR2_TARGET_ROOTFS_CPIO=y > # BR2_TARGET_ROOTFS_TAR is not set > """ From fontaine.fabrice at gmail.com Thu Apr 21 21:40:30 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 23:40:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/coreutils: drop patch Message-ID: <20220421214030.2348966-1-fontaine.fabrice@gmail.com> Drop patch as it is not needed since bump to version 9.1 in commit 908caefa91dbf70e7f40c61113f0f1ae2b83230d because gnulib has been updated with https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4 Signed-off-by: Fabrice Fontaine --- ...andom.c-fix-build-with-uclibc-1.0.35.patch | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch diff --git a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch deleted file mode 100644 index 88390a1124..0000000000 --- a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch +++ /dev/null @@ -1,46 +0,0 @@ -From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 1 Apr 2021 07:49:46 +0200 -Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 - -Fix the following build failure with uclibc < 1.0.35 which is raised -since the addition of getrandom module in -https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: - -In file included from ./sys/random.h:40, - from getrandom.c:22: -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' - 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) - | ^~~~~~ -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? - 7 | #include - +++ |+#include - 8 | - -This patch is not upstreamable as it is only a workaround for -uclibc < 1.0.35, upstream uclibc has been patched with -https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 - -Fixes: - - http://autobuild.buildroot.org/results/c69f5c8b8e53ed3de753f0c6d2cdd99497504b49 - -Signed-off-by: Fabrice Fontaine ---- - lib/getrandom.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/getrandom.c b/lib/getrandom.c -index 41212fb32..0ad3f9648 100644 ---- a/lib/getrandom.c -+++ b/lib/getrandom.c -@@ -19,6 +19,7 @@ - - #include - -+#include - #include - - #include --- -2.30.2 - -- 2.35.1 From festevam at gmail.com Thu Apr 21 21:56:11 2022 From: festevam at gmail.com (Fabio Estevam) Date: Thu, 21 Apr 2022 18:56:11 -0300 Subject: [Buildroot] [PATCH] configs/kontron_bl_imx8mm_defconfig: Bump U-Boot Message-ID: <20220421215611.1362150-1-festevam@gmail.com> Bump U-Boot to version 2022.04 and remove the two patches that have already been upstreamed. Signed-off-by: Fabio Estevam --- Hi Heiko, This is not tested. Did it by inspection. ...m-kontron-n801x-s-convert-options-to.patch | 31 -- ...m-kontron-n801x-s-add-common-board-u.patch | 305 ------------------ configs/kontron_bl_imx8mm_defconfig | 4 +- 3 files changed, 1 insertion(+), 339 deletions(-) delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch diff --git a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch b/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch deleted file mode 100644 index 6d76282defb2..000000000000 --- a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 95a311af81cd47c44d3d6e3f717f06a06d8f3dfd Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Mon, 10 Jan 2022 14:13:02 +0100 -Subject: [PATCH 1/2] imx: imx8mm: imx8mm-kontron-n801x-s: convert options to Kconfig - -CONFIG_SPL_MMC and CONFIG_SPL_SERIAL - -Patch submitted upstream: -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-1-heiko.thiery at gmail.com/ - -Signed-off-by: Heiko Thiery ---- - configs/kontron-sl-mx8mm_defconfig | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig -index 35d12fca32..940bf07a92 100644 ---- a/configs/kontron-sl-mx8mm_defconfig -+++ b/configs/kontron-sl-mx8mm_defconfig -@@ -15,6 +15,8 @@ CONFIG_SPL_DM_SPI=y - CONFIG_DEFAULT_DEVICE_TREE="imx8mm-kontron-n801x-s" - CONFIG_SPL_TEXT_BASE=0x7E1000 - CONFIG_TARGET_KONTRON_MX8MM=y -+CONFIG_SPL_MMC=y -+CONFIG_SPL_SERIAL=y - CONFIG_BOOTCOUNT_BOOTLIMIT=3 - CONFIG_SPL=y - CONFIG_DISTRO_DEFAULTS=y --- -2.30.2 - diff --git a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch b/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch deleted file mode 100644 index a88d7aba870b..000000000000 --- a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch +++ /dev/null @@ -1,305 +0,0 @@ -From ef694c19c074333fd16589ec6ffef3e7ca895186 Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Wed, 12 Jan 2022 08:44:36 +0100 -Subject: [PATCH 2/2] imx: imx8mm: imx8mm-kontron-n801x-s: add common board - u-boot.dtsi - -When using a board variant that selects the lvds specific dtb the -*.u-boot.dtsi file will not be included. To have a lvds dtb specific -u-boot.dtsi file move this part to a common board u-boot.dtsi file and -include this in the board base u-boot.dtsi and create an additional one -for the lvds variant. - -Patch submitted upstream: -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-2-heiko.thiery at gmail.com/ - -Signed-off-by: Heiko Thiery ---- - .../imx8mm-kontron-n801x-s-lvds-u-boot.dtsi | 6 + - .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 124 +---------------- - arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi | 128 ++++++++++++++++++ - 3 files changed, 135 insertions(+), 123 deletions(-) - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi - -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi -new file mode 100644 -index 0000000000..4bf75722bf ---- /dev/null -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi -@@ -0,0 +1,6 @@ -+// SPDX-License-Identifier: GPL-2.0+ -+/* -+ * Copyright (C) 2019 Kontron Electronics GmbH -+ */ -+ -+#include "imx8mm-kontron-n801x-u-boot.dtsi" -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi -index 22d18e6f1c..4bf75722bf 100644 ---- a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi -@@ -3,126 +3,4 @@ - * Copyright (C) 2019 Kontron Electronics GmbH - */ - --#include "imx8mm-u-boot.dtsi" -- --/ { -- aliases { -- usb0 = &usbotg1; -- usb1 = &usbotg2; -- }; -- -- wdt-reboot { -- compatible = "wdt-reboot"; -- wdt = <&wdog1>; -- u-boot,dm-spl; -- }; -- -- firmware { -- optee { -- compatible = "linaro,optee-tz"; -- method = "smc"; -- }; -- }; --}; -- --&fec1 { -- phy-mode = "rgmii-rxid"; --}; -- --&i2c1 { -- u-boot,dm-spl; -- u-boot,dm-pre-reloc; --}; -- --&i2c2 { -- status = "okay"; -- u-boot,dm-spl; -- u-boot,dm-pre-reloc; --}; -- --&pinctrl_ecspi1 { -- u-boot,dm-spl; --}; -- --&pinctrl_i2c1 { -- u-boot,dm-spl; --}; -- --&pinctrl_pmic { -- u-boot,dm-spl; -- fsl,pins = < -- MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 -- /* Disable Pullup for SD_VSEL */ -- MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 -- >; --}; -- --&pinctrl_uart3 { -- u-boot,dm-spl; -- u-boot,dm-pre-reloc; --}; -- --&pinctrl_usdhc1 { -- u-boot,dm-spl; --}; -- --&pinctrl_usdhc1_100mhz { -- u-boot,dm-spl; --}; -- --&pinctrl_usdhc1_200mhz { -- u-boot,dm-spl; --}; -- --&pinctrl_usdhc2 { -- u-boot,dm-spl; --}; -- --&pca9450 { -- u-boot,dm-spl; --}; -- --&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { -- u-boot,dm-spl; --}; -- --&ecspi1 { -- u-boot,dm-spl; --}; -- --&gpio1 { -- u-boot,dm-spl; --}; -- --&gpio2 { -- u-boot,dm-spl; --}; -- --&gpio3 { -- u-boot,dm-spl; --}; -- --&gpio4 { -- u-boot,dm-spl; --}; -- --&gpio5 { -- u-boot,dm-spl; --}; -- --&uart3 { -- u-boot,dm-spl; -- u-boot,dm-pre-reloc; --}; -- --&usdhc1 { -- u-boot,dm-spl; --}; -- --&usdhc2 { -- u-boot,dm-spl; --}; -- --&wdog1 { -- u-boot,dm-spl; --}; -+#include "imx8mm-kontron-n801x-u-boot.dtsi" -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi -new file mode 100644 -index 0000000000..22d18e6f1c ---- /dev/null -+++ b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi -@@ -0,0 +1,128 @@ -+// SPDX-License-Identifier: GPL-2.0+ -+/* -+ * Copyright (C) 2019 Kontron Electronics GmbH -+ */ -+ -+#include "imx8mm-u-boot.dtsi" -+ -+/ { -+ aliases { -+ usb0 = &usbotg1; -+ usb1 = &usbotg2; -+ }; -+ -+ wdt-reboot { -+ compatible = "wdt-reboot"; -+ wdt = <&wdog1>; -+ u-boot,dm-spl; -+ }; -+ -+ firmware { -+ optee { -+ compatible = "linaro,optee-tz"; -+ method = "smc"; -+ }; -+ }; -+}; -+ -+&fec1 { -+ phy-mode = "rgmii-rxid"; -+}; -+ -+&i2c1 { -+ u-boot,dm-spl; -+ u-boot,dm-pre-reloc; -+}; -+ -+&i2c2 { -+ status = "okay"; -+ u-boot,dm-spl; -+ u-boot,dm-pre-reloc; -+}; -+ -+&pinctrl_ecspi1 { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_i2c1 { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_pmic { -+ u-boot,dm-spl; -+ fsl,pins = < -+ MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 -+ /* Disable Pullup for SD_VSEL */ -+ MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 -+ >; -+}; -+ -+&pinctrl_uart3 { -+ u-boot,dm-spl; -+ u-boot,dm-pre-reloc; -+}; -+ -+&pinctrl_usdhc1 { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_usdhc1_100mhz { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_usdhc1_200mhz { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_usdhc2 { -+ u-boot,dm-spl; -+}; -+ -+&pca9450 { -+ u-boot,dm-spl; -+}; -+ -+&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { -+ u-boot,dm-spl; -+}; -+ -+&ecspi1 { -+ u-boot,dm-spl; -+}; -+ -+&gpio1 { -+ u-boot,dm-spl; -+}; -+ -+&gpio2 { -+ u-boot,dm-spl; -+}; -+ -+&gpio3 { -+ u-boot,dm-spl; -+}; -+ -+&gpio4 { -+ u-boot,dm-spl; -+}; -+ -+&gpio5 { -+ u-boot,dm-spl; -+}; -+ -+&uart3 { -+ u-boot,dm-spl; -+ u-boot,dm-pre-reloc; -+}; -+ -+&usdhc1 { -+ u-boot,dm-spl; -+}; -+ -+&usdhc2 { -+ u-boot,dm-spl; -+}; -+ -+&wdog1 { -+ u-boot,dm-spl; -+}; --- -2.30.2 - diff --git a/configs/kontron_bl_imx8mm_defconfig b/configs/kontron_bl_imx8mm_defconfig index 2b7e121e252e..705222df2833 100644 --- a/configs/kontron_bl_imx8mm_defconfig +++ b/configs/kontron_bl_imx8mm_defconfig @@ -3,8 +3,6 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV3=y -BR2_GLOBAL_PATCH_DIR="board/kontron/bl-imx8mm/patches" - # System BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" @@ -40,7 +38,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30880 BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron-sl-mx8mm" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -- 2.25.1 From fontaine.fabrice at gmail.com Thu Apr 21 21:54:43 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 23:54:43 +0200 Subject: [Buildroot] [PATCH 1/2] package/zlog: add ZLOG_CPE_ID_VENDOR Message-ID: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> cpe:2.3:a:zlog_project:zlog is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azlog_project%3Azlog Signed-off-by: Fabrice Fontaine --- package/zlog/zlog.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk index e2410d3665..c7b7035c1f 100644 --- a/package/zlog/zlog.mk +++ b/package/zlog/zlog.mk @@ -8,6 +8,7 @@ ZLOG_VERSION = 1.2.15 ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION)) ZLOG_LICENSE = LGPL-2.1 ZLOG_LICENSE_FILES = COPYING +ZLOG_CPE_ID_VENDOR = zlog_project ZLOG_INSTALL_STAGING = YES define ZLOG_BUILD_CMDS -- 2.35.1 From fontaine.fabrice at gmail.com Thu Apr 21 21:54:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 23:54:44 +0200 Subject: [Buildroot] [PATCH 2/2] package/zlog: fix CVE-2021-43521 In-Reply-To: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> References: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> Message-ID: <20220421215444.3798671-2-fontaine.fabrice@gmail.com> A Buffer Overflow vulnerability exists in zlog 1.2.15 via zlog_conf_build_with_file in src/zlog/src/conf.c. Signed-off-by: Fabrice Fontaine --- ...verflow-at-zlog_conf_build_with_file.patch | 25 +++++++++++++++++++ package/zlog/zlog.mk | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch diff --git a/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch b/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch new file mode 100644 index 0000000000..d5f23e1b26 --- /dev/null +++ b/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch @@ -0,0 +1,25 @@ +From a5be8b3a8ddc498de4ad041757285136a55d97e3 Mon Sep 17 00:00:00 2001 +From: XiangfeiCH +Date: Tue, 12 Apr 2022 00:13:35 +0800 +Subject: [PATCH] Fix stack-buffer-overflow at zlog_conf_build_with_file + +[Retrieved from: +https://github.com/HardySimpson/zlog/commit/a5be8b3a8ddc498de4ad041757285136a55d97e3] +Signed-off-by: Fabrice Fontaine +--- + src/conf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/conf.c b/src/conf.c +index 0f862fa..9a4cb75 100644 +--- a/src/conf.c ++++ b/src/conf.c +@@ -305,7 +305,7 @@ static int zlog_conf_build_with_file(zlog_conf_t * a_conf) + /* Oops the buffer is full - what now? */ + pline = line; + } else { +- for (p--; isspace((int)*p); --p) ++ for (p--; p >= line && isspace((int)*p); --p) + /*EMPTY*/; + p++; + *p = 0; diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk index c7b7035c1f..1929a45a3e 100644 --- a/package/zlog/zlog.mk +++ b/package/zlog/zlog.mk @@ -11,6 +11,9 @@ ZLOG_LICENSE_FILES = COPYING ZLOG_CPE_ID_VENDOR = zlog_project ZLOG_INSTALL_STAGING = YES +# 0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch +ZLOG_IGNORE_CVES += CVE-2021-43521 + define ZLOG_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \ -C $(@D) all -- 2.35.1 From tianyuanhao3 at 163.com Thu Apr 21 23:55:47 2022 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Thu, 21 Apr 2022 16:55:47 -0700 Subject: [Buildroot] [PATCH] package/systemd: add the missing sgx group In-Reply-To: <20220421191653.GO2730@scaer> References: <20220420135549.3536397-1-tianyuanhao3@163.com> <20220421191653.GO2730@scaer> Message-ID: <0fd2d0f7-d067-0f65-23dd-68aff1e61d94@163.com> Hi Yann, On 4/21/22 12:16, Yann E. MORIN wrote: > Yuanhao, All, > > On 2022-04-20 06:55 -0700, TIAN Yuanhao spake thusly: >> systemd-udevd needs this group: >> /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring >> >> Signed-off-by: TIAN Yuanhao >> --- >> package/systemd/systemd.mk | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk >> index b07fac27d4..44185a35a0 100644 >> --- a/package/systemd/systemd.mk >> +++ b/package/systemd/systemd.mk >> @@ -603,6 +603,7 @@ endef >> >> define SYSTEMD_USERS >> # udev user groups >> + - - sgx -1 * - - - SGX device nodes > This should have been in the udev virtual package, as all the > udev-related users and groups have been moved there to be common between > systemd-udevd and the stand-alone eudev, in commit d648d81dd581 > (packages/{eudev, systemd}: move common users to package/udev). > > Applied to master with this fixed, thanks. > > Would you be kind enough to send a follow-up patch that removes the now > misleading "# udev user groups" comment, and adds a comment, in systemd > and eudev, that directs changes to the udev virtual package instead, > please? I did notice the common rules in the udev virtual package. However "sgx" only appears in systemd but not eudev. Besides, I found that the "render" group in systemd should be "video" in eudev. Regards, TIAN Yuanhao > > Regards, > Yann E. MORIN. > >> # systemd user groups >> - - systemd-journal -1 * - - - Journal >> $(SYSTEMD_REMOTE_USER) >> -- >> 2.25.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot From thomas.petazzoni at bootlin.com Fri Apr 22 04:43:23 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 22 Apr 2022 04:43:23 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-21 Message-ID: <20220422044330.5BD8D41B78@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-21 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 25 | 7 | 0 | 32 | master | 126 | 241 | 0 | 367 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 27 host-gcc-final-10.3.0 | 13 host-elf2flt-7e33f28df198c4... | 12 argp-standalone-1.3 | 10 zchunk-1.2.2 | 10 libwebsockets-4.3.1 | 8 toolchain-external-bootlin-... | 8 tvheadend-1295dd2be863f5beb... | 8 fetchmail-6.4.29 | 7 git-2.31.2 | 6 qpid-proton-0.35.0 | 6 uclibc-1.0.40 | 6 linux-headers-5.15.33 | 5 libopenssl-1.1.1n | 4 linux-5.15.33 | 4 ttyd-1.6.3 | 4 arptables-0.0.5 | 3 bat-0.19.0 | 3 host-go-1.17.9 | 3 perl-5.34.1 | 3 uacme-1.7.1 | 3 elfutils-0.186 | 2 freeradius-client-1.1.7 | 2 frr-8.2.2 | 2 host-erofs-utils-1.4 | 2 host-gcc-final-11.2.0 | 2 host-libcap-2.63 | 2 linux-headers-5.10.104-cip3 | 2 linux-headers-5.10.104-cip3... | 2 netdata-1.33.1 | 2 opencv4-4.5.5 | 2 poppler-21.12.0 | 2 pppd-2.4.9 | 2 python-pybind-2.9.0 | 2 unknown | 2 zlib-ng-2.0.6 | 2 acpid-2.0.33 | 1 aircrack-ng-1.6 | 1 apcupsd-3.14.14 | 1 bird-2.0.8 | 1 bitcoin-0.21.2 | 1 botan-2.19.1 | 1 btrfs-progs-5.16.2 | 1 bubblewrap-0.6.1 | 1 dash-0.5.11.5 | 1 dmalloc-5.6.5 | 1 exempi-2.6.1 | 1 expat-2.4.7 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 glibc-2.34-109-gd64b08d5ba7... | 1 gnuradio-3.8.2.0 | 1 gocryptfs-2.2.1 | 1 host-delve-1.8.0 | 1 host-gcc-final-9.4.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-pahole-v1.23 | 1 host-wayland-1.20.0 | 1 igh-ethercat-1.5.2 | 1 libcap-ng-0.8.3 | 1 libgcrypt-1.10.0 | 1 libglib2-2.70.4 | 1 libgpgme-1.16.0 | 1 libnspr-4.33 | 1 libressl-3.4.3 | 1 libuci-4b3db1179747b6a67790... | 1 minizip-3.0.5 | 1 musl-1.2.2 | 1 netsurf-3.10 | 1 ocf-linux-20120127 | 1 pipewire-0.3.50 | 1 pixman-0.40.0 | 1 postgresql-14.2 | 1 python3-3.10.2 | 1 rauc-1.6 | 1 reaver-1.6.6 | 1 refpolicy | 1 sofia-sip-1.13.6-4152840260 | 1 systemd-250.4 | 1 tbb-2021.5.0 | 1 toolchain-external-bootlin | 1 uhd-3.15.0.0 | 1 vde2-2.3.2 | 1 vlc-3.0.16 | 1 zstd-1.5.2 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/f6391c23c49f3074eeaae3c6936bbc8775c6e728 | ORPH microblaze | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/4b3dc55c793c3cc5c9d445df7bb4ba05560eb48b | sparc | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/325ca513aae23d2a0d4157831032a636973b21e4 | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/30428e7be173d6b5148c75585b75ecd2551cb7eb | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/50cfeb45c080daa80c657e2bbd63bcaad06f526b | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d6c2619f2de1d49430dd41a8dbaa3d0721a08227 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791 | aarch64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2126b09ef8f5ef55f3b1e799eff6355aa955eaf5 | mipsel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8d6d22d8807f765e00cc743c4358098a32d5299d | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/81b090d7790ac599cc93d8cf50d7599e7fa53cb5 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b745b984f931340cd45f1154304fd40431e9869e | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4a6bece7f8ed72938dc0a25023491197470df563 | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/620809efcb5588435697b43b29cd590a29193d87 | or1k | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/b242d4b15a4a78906306d99594b57515d35d7686 | ORPH or1k | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/730dce4101e7afcee233067e2870603cd64b8a48 | ORPH mips64el | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/24f4ba84a80cd656590a4b995276ecadd057367a | ORPH i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/1c802a78273e14437864d01dd413f51ffad859cd | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/7aaab0fb797725b91fdfd679831b14955b98bd1f | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/35e1cfd08d33be69d248b4e22dc18adcee61552e | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/3825f6298c0f2e0884666b8aabcf45a689c71499 | or1k | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/1234d2173ff28202541c96fe4b133f923b115836 | mipsel | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/b72ee940337f54cbd96030f8b43d1c8893d57533 | ORPH or1k | btrfs-progs-5.16.2 | NOK | http://autobuild.buildroot.net/results/e6aac002b498ebc44120c5f011b61ecd8d9588d9 | ORPH mips64 | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/eb2d9804bac8440949f5667f71c335a3495844d3 | mipsel | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/ab6b79926d95153ba4ff72d23c8415ec0f3615c8 | ORPH powerpc | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/ced05b3a0f6095cfe68b4cbc9e4a224afb886947 | ORPH arceb | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/0405d172bfdcb7a4a8611a98da9474c95260feef | ORPH arc | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/80b646481127dbd7874dae547f42127cb4ab850b | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/624be820d155823c8881f2fc5e977ae1c7c0426a | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/4e961291fdaa9c8980bb80896e371375b5fba105 | m68k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/749427cecc7d7018bea026b30dbb2af944d6fbc8 | riscv32 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/17ca31d83cb4fcb444506f498869a2c65b9cf4ef | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/78164c27b626be1e7efb550d3d9cbe865c6f2cdd | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/c0a1796ae6ccb42b1c809df4dc60dca83a31877c | powerpc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/ed37b9505a43193d76826ab2f7b8eba4194e40fd | mips | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/61effb47768764703037fa351646e789e80e3924 | microblazeel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/67c92ce9d94c65ea225d44a7949f513036f537e8 | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/17b2037df260b628c3bdb7e8c54f1ec361f0089a | or1k | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/39f28277ae19c5814493ea23d2d0a7be5964754e | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/51320b21adb05a5f93c9058b27212f57d66aaff5 | arceb | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/1d93f4d6155891532f811bfcffa60259b8dd7aef | aarch64_be | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/70fc0a96faf7160d73c29c300c20ea54cbf738d2 | xtensa | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/b97557325e17cf3f6a1efa5fbdb481c4cae4bf47 | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/d47da4777358b01e6df184134cadc192c9f79a8f | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/26f76bfe966b7f9d477dadd5bccde398bdebc05f | arceb | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/bf2f04b6df67722adeebd6ccc3d9ec724989747d | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/8276315091c226c0e417ceb588c935390e190c5e | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/5a54e53cee357644648de7a240950bcb9e773251 | or1k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/47bacfe0c19fe0a2264b8d40592d1745e41a07b4 | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2d2b5467e6d913fa85e842e69ef00aabb261ece5 | or1k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/cd6904ed58f24765a704cca7ddb1a58dd2c577f5 | powerpc64 | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/7e3e6686cd99fc6f1f1c59216bb905ac2c4c52a2 | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d57ef36b135a77069db6368c0b4f88796eb9048a | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/99427db87e04e91eb762f0f337f533ff81365441 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e75aa74260eb1873151a2fc0eef3607ab9833442 | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/dd7b2bce6d760b729bac43572347ad7bc7e0f982 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b27054b2299fb9fd92a1ef36fa3f27b9e5676de8 | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/fc6d09f5f8f821b84412eaba17b9d9fc86a7b5ed | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/d27e8978f09d19a5c6e4616526020484463a2044 | i686 | gnuradio-3.8.2.0 | NOK | http://autobuild.buildroot.net/results/75985fd17843f562f5f9731432d3a914b210fa04 | aarch64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/df849386446300305f37820415c135bac1be04d0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b7a5b9922272b3fbacaf7c835906b4b169828dfe | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3dd901a310b1ea0cd39bc5037ae382c755917faa | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0105dc0b8f4be961b89a45281a7a633b21f8bdb1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5a2299ce744ae2c0ce075ec5295d87ab7dcc7135 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/60c04100df1f8f5673f6afa8cc8aab6b000169a9 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f8557cd5e903ce67dafb38cfd7970383b7e6e2af | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/afc785a52cc7e434567b1cda35abf23fcfed59cb | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cc046c6862afc4ae1626f846359db47594a66ee6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5973912f0ef08a0da9b9d70523f38570a356d548 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6c2115003d1be6b546fbd26fed9ef4b9bdf10424 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c917dc28c156c8977d993a77bbd7d37fcd7ce0fc | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/811d4712033d92081fdb0552961eb222b81c8e44 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cd65dbec9dae1050f5d6fada86ed4291d92eee18 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7839c6b0064289225df3279081626f37718bb39f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3de7edd37a71c5c0566a8ecb4083a577c929e9b5 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/48bcbb4fa7765fedf184049b5a39d44a16b062fe | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9d5bb487193e303c3dd98054b96b87afa30c6cee | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bf7c4d5cc2c951b3936d70bf3d78a9163889215f | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/33cd0b8313f2b046528e81c471dd41b20d6cfc23 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6ed22afeffa022b32d330de9d1a0559f3f1cc6fe | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5a7212aef761add694bea6d756a8a7bcfe0acc4b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e143597fded1d09b0fa368ae7c4b42a8e19c4943 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d9a04e7d42d446a7fe74962b7c4a6e1aff553aa3 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0de2f02214fea96cc768bdbe97f536cb4a532da4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c72066d34836545831a02b7e6d9f28b711902a03 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/07beb248e0ee34bfb1922bd04d7ef9c3d5865538 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/415194128a980fc8a849719a87c52172ddf82881 | arm | host-delve-1.8.0 | NOK | http://autobuild.buildroot.net/results/9de3b989f6318aea28df67caae790578678b803a | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f84c538c3f931570a703be5bdc5ff58134384857 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8e6f50226bc0562dafde0b3f3248ba2d009600cc | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/a2d8a69da0869bc406f1fd594abea3f9d6424ea1 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/749e88000b8e3238aa91f8bd70fb215e1cfb1fb4 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/bbaf2f737f563473877d87ed96172d77808b59f1 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/6cabe4c606abc81e5a071cf588c9ebf97bae80a2 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/b348b97ad787895e05620aaf2b8256d09657aabf | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/19ac9fba743dfe12f2b76acd87a51d5c442e4fa0 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5911664e3ab29fd58b40a370b97b0fef990835ae | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e040e6cfb5685bb14126b1f87690f9147191e596 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5d16c8fd2f98a830dc9a75b14e5aa7f23d784258 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/de6cb19d059f76c0f2f2a92301b422641e6a6d3d | ORPH nios2 | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/a5a2604fa77e084ac01eff83fd8718992b9eb2f7 | aarch64 | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/bfe3d091c79e4ac755c6abe04a5b5d9fbc553f6b | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd72c7fe59ae0e88ffd5f62124288da3d1dc4bf1 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/63c98f6b311c4a3fa66f58a33fb4a05066f04364 | arm | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8a230a02d18ed9de639cffb1fff9cadf5c3aeaf9 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2fc3df243e1217da0ca645e49d5ef35e0a3ab837 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/46769cf520015c804f6a6e94367848baec6465ec | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5ca427a036dbc7db71d2406d0e4d73ae0c5ca125 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a1ad8b483db3f991a3b7e10bdab7277c17ab67f7 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0c75b3401173c1d9faeae669b4fda5ade87f9ab3 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cfdfff59afd49c174215bd77125f1c93fa928b22 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f0a6a206554b5985abfe7d4fefc0bb0a9d8c436c | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/af88a802e8e83c88e32484872a752473bbc2e792 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f3ef3a8f1cea3b0ad24928fd113e776f7b73a834 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/59f2893866609d18eb83285afae15f9367d407d2 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/ff630a49fd61053e3efec7cccbd4824166142bd4 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/f84c4582668582688c59bb3dc60444d226173ca1 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/6c173ab8fb74a8ae06e7f521bef95c3a3d8aa764 | arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/50e71c71ec7556946132d80d4324aa6583751d61 | ORPH mips64el | host-go-1.17.9 | NOK | http://autobuild.buildroot.net/results/ce18fe377eb32b936164cb6a5899461bec26e438 | i686 | host-go-1.17.9 | NOK | http://autobuild.buildroot.net/results/5a3650349808e9a63321fc4dd96a3a18bda91cad | mips64 | host-go-1.17.9 | NOK | http://autobuild.buildroot.net/results/cd3a59e9a4ff13d729feeb85721a81a8c88c5723 | nios2 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/4445860b22c0adbdcd7815c5aa7c4b75f196b4da | arc | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/91128268ab339509198c32943f78de4ec5991e68 | mips | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/0fce55ee9117f688fd796d111ea76c644e7c70cf | sh4 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/d487d4ec69a6eb1316ffb9311d388ec03d64cd9d | sparc64 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/8fabbdd79ecf2b06b2bf08cca77810a7b51365e8 | arm | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7e24191158617ed29f3a06f58ecedc99d2771aa3 | powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/acc61894f58b86e79388298afafd892ebcef93b7 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/d9daf55051778a32967ea0caa3bb22ea5fb8c562 | or1k | libgpgme-1.16.0 | NOK | http://autobuild.buildroot.net/results/6ca6d4e6272c8ccda0e45ecfe59f2c2a826fb78e | ORPH mips64el | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/c777f0c4ea54b559f010a0f4505f97b62a3b3dcd | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/efcaa565b3009f0803f66cb652fccebbf870bdf1 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/fcf8f4323d0afe6245689c0859a3b56f99cc67d3 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6e94890f2f9fcc079e973cfa9000e38e1dbb2a4e | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2c1324f02f155b3cf920692f2f1c9e5914b732cc | m68k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ff7609ce17a03b1872bc8001e515c785ba79530f | ORPH mips64 | libuci-4b3db1179747b6a67790... | NOK | http://autobuild.buildroot.net/results/df6a448830d589708927c25af475b5cb684882ee | arm | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/b0cb70cb0245f10233f744370fd1762daed3bc06 | mips64el | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/23af32a4e4c63612912b60f365ada30553d12c40 | x86_64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/154095562470bf5022e66cf38078366293719e10 | nios2 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/a2d23f6697e1d42f67e6d0ca60ba658f52724394 | sparc64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/0a743faa3911fe9cc6887ae060e13b904a81cee2 | or1k | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/35912d48d37b77df47aaa9876a523660b73ffa23 | mips | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/78becd69cfea323b9b8bbc77ce97a781f30f215a | m68k | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/3bfdb6d46173de4ea96b6fc1db00b1e7dd560125 | nios2 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/478e78db84dced03a546e5c99ab8db0eee44e7ec | ORPH or1k | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/77bf3d849c267ed3c31d083756aac028f323a912 | ORPH powerpc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/021e8b112b93fe91a22fbd33fadba7770ebe26f9 | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/9d11c31bee7804c642f4e27dbe764cd649cc2182 | ORPH or1k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/86649c6c576aa188f0b340cbf9634e074b8b580c | ORPH or1k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/0c76893b595ac8f63ec695d1019e19ef9bb17cf2 | ORPH powerpc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/0ace08dadc0e391b10b8fd2a7d6e97c4cbf9c7a8 | ORPH powerpc64le | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/2a935fc9f7907cd35d704d10d24610bada0fd293 | ORPH microblazeel | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/6ab693868b049b7800a6915840d15431690a5067 | ORPH m68k | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/db7ef5cefdf551b62692205196815ac94c27edd9 | ORPH s390x | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/57bf1b6bb665d2b1f786f0ac2bfc6bfe330b2c14 | ORPH x86_64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/ae666d4c28d29d589250d620fbc645d38201c469 | ORPH sparc | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/660343ef3044d2b29ce969f4007587787225bba6 | ORPH powerpc64le | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/bf78b16c2604b630bcc15034c7fa7d2aed2d6f84 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/ebcf4543f8bf8fc8eff58f1d9fc9f65bc461e21f | microblazeel | netdata-1.33.1 | NOK | http://autobuild.buildroot.net/results/cc35038535437676b077ea720b2e883c591b9222 | mipsel | netdata-1.33.1 | NOK | http://autobuild.buildroot.net/results/c1da901b71af4f700c27dff5af7b74a9539d29dc | mips64 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/370daa3420cb9188a3b20d9eb59865556fb69706 | or1k | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/5c9f773780083970c67e4312f5bcd602eee87834 | ORPH powerpc | opencv4-4.5.5 | NOK | http://autobuild.buildroot.net/results/b312d2f45eb717d334560c4cb76da8fd24ba1223 | xtensa | opencv4-4.5.5 | NOK | http://autobuild.buildroot.net/results/e2e140927c01fa071743988b305fff69f837d031 | i686 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/dfa82a0a0b9d2d52f69a4a042ee810281cda93a9 | mipsel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/7fb6377070fd3a68195b0d8003dddbdac2617846 | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/30814e55489207711f682921d277087f7dbd024b | x86_64 | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/389133072005829738d156530503a699a4ef1912 | mips64el | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/2d4852d56c3ac80b58cc5750139200d809b3817c | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/5213502a4d3fdf487978b4ededd19f1d805f8251 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/28ccd2c58ea6f33bfe8b68f04f4e9a84ae968bea | arceb | postgresql-14.2 | NOK | http://autobuild.buildroot.net/results/0f47a0201fa2f084308d7e2be797f6f054fd7efd | mips64 | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/6f18168a3ebc8aacab72852f1a17186b93ba7f1d | ORPH microblazeel | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/609684a715f37bdc6be55f08b658ef59bab0f6f5 | ORPH nios2 | python-pybind-2.9.0 | NOK | http://autobuild.buildroot.net/results/1869c2d7fecf58bab99af24305a9adc19f9049c3 | mipsel | python-pybind-2.9.0 | NOK | http://autobuild.buildroot.net/results/d0c34b49242f4ca3cafaa4c0137ec8a73c6b1a79 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/8bf990ead76358ca97816835816e03cd8e7dcaf7 | xtensa | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/0ae5372b87fdb2d83fd953d2ad49d0442b14c8ee | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/38273cbc4126fa277b82e617b9d901abb0bbad15 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/abb78942d0222db8b2bf4c1219adf1da71d5f1cb | powerpc64le | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/ef53b037bae080315b93ac850c2858048e607cc3 | powerpc64le | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/b5214696d45d332ac663440cf5ecc23651bd7a06 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/144d18ee1bbf707f13a982ff78df0f1b2a42db7a | powerpc64 | rauc-1.6 | NOK | http://autobuild.buildroot.net/results/9f018520a1c9372aa5b4a59bb1dac2eea48418d3 | arceb | reaver-1.6.6 | NOK | http://autobuild.buildroot.net/results/70a4323c7d91abcd5e2a3bdf4dc35db465d652ac | or1k | refpolicy | NOK | http://autobuild.buildroot.net/results/984dc1f02191324622fcd8c6e1500a5fcd4864eb | nios2 | sofia-sip-1.13.6-4152840260 | NOK | http://autobuild.buildroot.net/results/2bdc3d6828a7e3bbe8bd38b40c72143ca38007ed | s390x | systemd-250.4 | NOK | http://autobuild.buildroot.net/results/7a343cc8db256775bae8a201aaf382f020bcb359 | nios2 | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/4e1b14ec6bf48e631530d8e1faca899f00e31925 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/84fe861b8bcb401d4d1c9ffda2699d73d28255a2 | arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/469ce7e0af0a76e7addd45652a85da2fe2944e86 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/295b573c8f331222f748c72b78d4721b97c271ce | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/f4096660bd80ccd827d8ed84b8cee8160a80b890 | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/20f60d45a650c6f0e18bd8f07fd4041a1c2030cb | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/45972bcf0ae68979ddd71c2598cf8c6d581b6b2a | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/a3150dc86d5ccf97e1bbc57105d7f8bb9fe9a718 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/99ca5ef16e61df61a35b8e3a10324eaf57f14289 | ORPH sh4 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/6c955a0c47c42bd6da5190a10b1a67cc12b5de53 | ORPH nios2 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/5fe6ad01963ea224ac9eb79b1e6672e685389399 | microblazeel | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/ebf5acce4aa1c2ddd44b877b890a9929de14a78d | mips64el | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/6fe585b2c5b48655dc37778c4353675419a66c9b | arm | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/d6650693eb35e895585a44db9ec1066113b7d392 | arc | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/757db07fa7bae1cfbf91764a95dc811cf16b2f43 | mipsel | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/e77252c54e017b6bd80c135948656019d3c139cd | microblaze | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/b9eb73d09c9441d64448a7f0c59e9546b08ce268 | powerpc | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/3ac973e786705bbb72107d7cb66636c1b58aa501 | i686 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/f75d766ecf76560300e32ccece9cac86c4880a0b | sparc64 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/675e99b94232c0d173e65ea559d822f1879cc530 | xtensa | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/2613456458eb32ada0f7e0cd4d5a42ffa9ec9685 | xtensa | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/9ebede76629cc921e4f7c7b2fb60f020e4096fdd | mipsel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/504986a543136b4a555fa672b41c663549b27683 | or1k | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/a465acb15eca31533c50f2410603dc512886d13a | sparc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/614499c6fe282765a976b91954f2df72c9c88aec | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/348b1926a5f9d337889629b85a4e50b279ddf35f | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9b5ac67c1c689f5fd6981146163f7b5dc8f927c2 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/396e6399300be7caaf48a8ec70d5928cecd85dc4 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/634dddc3c9872d0814b412936c540e6e23aa90ca | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6d8e40cbb9e15776d87d5dd6bdf777633a928dab | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bfc34144529ccdad549fa60cf2466cc89e3d3f05 | microblazeel | uhd-3.15.0.0 | NOK | http://autobuild.buildroot.net/results/5a7e87a816589e2675d38986f34ad6ccd4939dfa | arm | unknown | NOK | http://autobuild.buildroot.net/results/277f1969c31c6b66537e0d0ec7edf1818900734b | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/4d78130c69c530ce858bbab004673aef1444e255 | mips64 | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d | i586 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/9a3b7231f02fe1d20b3f2751db66676afdcf83f7 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/d80a856d8fe103ca2abbe0b13dca636d2af2a0cb | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/45577db086d67dfb89970a7ad0783e9f1f832f06 | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1911a19e37c4d0be6f8c9738b0d242604ef99846 | m68k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/2c2a31288171981426cd9b674571184ccc873d74 | riscv64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/fa7f7b18db7a00d0dffb639ce3f4e70c1a732fe3 | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ce3536df2f39bfad1df6780d52cf564ca709fa1e | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9fcadf647d6b208f359d1aaec9d5236f3b0d00d8 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/426ce9fc61bdba844e80cf3b74d46ffe3af6f738 | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/edfc23dc6d81457d035531cc03db03ba59f81c01 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ca6464dcfb2d6b8bb8c33173584f966a14994b04 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/b12533e6ebcf56a5662c59b6f8051447eb3fb8aa | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c0a9c1fa3012b4b09d7f9a03555a66daab95e767 | ORPH microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/d5e5717f0be49bd3e598235e0b0215f1fd844363 | Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 3 dhcp-4.4.3 | 1 kvm-unit-tests-kvm-unit-tes... | 1 sg3_utils-1.47 | 1 vlc-3.0.16 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- riscv64 | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/8cb50af70355787920316c9671c84cca7da085e2 | ORPH powerpc64le | kvm-unit-tests-kvm-unit-tes... | NOK | http://autobuild.buildroot.net/results/2cb402b8494908a8dc69fc4f6a6ed9767a58d79c | m68k | sg3_utils-1.47 | NOK | http://autobuild.buildroot.net/results/d3b1aa5d811042ce1555cdeed02dd5c1f3797eb6 | nios2 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/810d36821f4b6554f2f4b1f9923af2b79234fdd1 | arm | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/6365649b6ab2bcd2fec5b49801f093c6b087eea3 | sh4 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/9ee21189efc00f18cc57e4bd6634b2d6ed73fece | nios2 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/53b64edf2e81f8790a22df762e946910c2e98501 | -- http://autobuild.buildroot.net From heiko.thiery at gmail.com Fri Apr 22 06:02:11 2022 From: heiko.thiery at gmail.com (Heiko Thiery) Date: Fri, 22 Apr 2022 08:02:11 +0200 Subject: [Buildroot] [PATCH] configs/kontron_bl_imx8mm_defconfig: Bump U-Boot In-Reply-To: <20220421215611.1362150-1-festevam@gmail.com> References: <20220421215611.1362150-1-festevam@gmail.com> Message-ID: Hi Fabio, Am Do., 21. Apr. 2022 um 23:56 Uhr schrieb Fabio Estevam : > > Bump U-Boot to version 2022.04 and remove the two patches > that have already been upstreamed. > > Signed-off-by: Fabio Estevam Thanks for doing this. Acked-By: Heiko Thiery > --- > Hi Heiko, > > This is not tested. > > Did it by inspection. > > ...m-kontron-n801x-s-convert-options-to.patch | 31 -- > ...m-kontron-n801x-s-add-common-board-u.patch | 305 ------------------ > configs/kontron_bl_imx8mm_defconfig | 4 +- > 3 files changed, 1 insertion(+), 339 deletions(-) > delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch > delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch > > diff --git a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch b/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch > deleted file mode 100644 > index 6d76282defb2..000000000000 > --- a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch > +++ /dev/null > @@ -1,31 +0,0 @@ > -From 95a311af81cd47c44d3d6e3f717f06a06d8f3dfd Mon Sep 17 00:00:00 2001 > -From: Heiko Thiery > -Date: Mon, 10 Jan 2022 14:13:02 +0100 > -Subject: [PATCH 1/2] imx: imx8mm: imx8mm-kontron-n801x-s: convert options to Kconfig > - > -CONFIG_SPL_MMC and CONFIG_SPL_SERIAL > - > -Patch submitted upstream: > -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-1-heiko.thiery at gmail.com/ > - > -Signed-off-by: Heiko Thiery > ---- > - configs/kontron-sl-mx8mm_defconfig | 2 ++ > - 1 file changed, 2 insertions(+) > - > -diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig > -index 35d12fca32..940bf07a92 100644 > ---- a/configs/kontron-sl-mx8mm_defconfig > -+++ b/configs/kontron-sl-mx8mm_defconfig > -@@ -15,6 +15,8 @@ CONFIG_SPL_DM_SPI=y > - CONFIG_DEFAULT_DEVICE_TREE="imx8mm-kontron-n801x-s" > - CONFIG_SPL_TEXT_BASE=0x7E1000 > - CONFIG_TARGET_KONTRON_MX8MM=y > -+CONFIG_SPL_MMC=y > -+CONFIG_SPL_SERIAL=y > - CONFIG_BOOTCOUNT_BOOTLIMIT=3 > - CONFIG_SPL=y > - CONFIG_DISTRO_DEFAULTS=y > --- > -2.30.2 > - > diff --git a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch b/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch > deleted file mode 100644 > index a88d7aba870b..000000000000 > --- a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch > +++ /dev/null > @@ -1,305 +0,0 @@ > -From ef694c19c074333fd16589ec6ffef3e7ca895186 Mon Sep 17 00:00:00 2001 > -From: Heiko Thiery > -Date: Wed, 12 Jan 2022 08:44:36 +0100 > -Subject: [PATCH 2/2] imx: imx8mm: imx8mm-kontron-n801x-s: add common board > - u-boot.dtsi > - > -When using a board variant that selects the lvds specific dtb the > -*.u-boot.dtsi file will not be included. To have a lvds dtb specific > -u-boot.dtsi file move this part to a common board u-boot.dtsi file and > -include this in the board base u-boot.dtsi and create an additional one > -for the lvds variant. > - > -Patch submitted upstream: > -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-2-heiko.thiery at gmail.com/ > - > -Signed-off-by: Heiko Thiery > ---- > - .../imx8mm-kontron-n801x-s-lvds-u-boot.dtsi | 6 + > - .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 124 +---------------- > - arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi | 128 ++++++++++++++++++ > - 3 files changed, 135 insertions(+), 123 deletions(-) > - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi > - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi > - > -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi > -new file mode 100644 > -index 0000000000..4bf75722bf > ---- /dev/null > -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi > -@@ -0,0 +1,6 @@ > -+// SPDX-License-Identifier: GPL-2.0+ > -+/* > -+ * Copyright (C) 2019 Kontron Electronics GmbH > -+ */ > -+ > -+#include "imx8mm-kontron-n801x-u-boot.dtsi" > -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi > -index 22d18e6f1c..4bf75722bf 100644 > ---- a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi > -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi > -@@ -3,126 +3,4 @@ > - * Copyright (C) 2019 Kontron Electronics GmbH > - */ > - > --#include "imx8mm-u-boot.dtsi" > -- > --/ { > -- aliases { > -- usb0 = &usbotg1; > -- usb1 = &usbotg2; > -- }; > -- > -- wdt-reboot { > -- compatible = "wdt-reboot"; > -- wdt = <&wdog1>; > -- u-boot,dm-spl; > -- }; > -- > -- firmware { > -- optee { > -- compatible = "linaro,optee-tz"; > -- method = "smc"; > -- }; > -- }; > --}; > -- > --&fec1 { > -- phy-mode = "rgmii-rxid"; > --}; > -- > --&i2c1 { > -- u-boot,dm-spl; > -- u-boot,dm-pre-reloc; > --}; > -- > --&i2c2 { > -- status = "okay"; > -- u-boot,dm-spl; > -- u-boot,dm-pre-reloc; > --}; > -- > --&pinctrl_ecspi1 { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_i2c1 { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_pmic { > -- u-boot,dm-spl; > -- fsl,pins = < > -- MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 > -- /* Disable Pullup for SD_VSEL */ > -- MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 > -- >; > --}; > -- > --&pinctrl_uart3 { > -- u-boot,dm-spl; > -- u-boot,dm-pre-reloc; > --}; > -- > --&pinctrl_usdhc1 { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_usdhc1_100mhz { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_usdhc1_200mhz { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_usdhc2 { > -- u-boot,dm-spl; > --}; > -- > --&pca9450 { > -- u-boot,dm-spl; > --}; > -- > --&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { > -- u-boot,dm-spl; > --}; > -- > --&ecspi1 { > -- u-boot,dm-spl; > --}; > -- > --&gpio1 { > -- u-boot,dm-spl; > --}; > -- > --&gpio2 { > -- u-boot,dm-spl; > --}; > -- > --&gpio3 { > -- u-boot,dm-spl; > --}; > -- > --&gpio4 { > -- u-boot,dm-spl; > --}; > -- > --&gpio5 { > -- u-boot,dm-spl; > --}; > -- > --&uart3 { > -- u-boot,dm-spl; > -- u-boot,dm-pre-reloc; > --}; > -- > --&usdhc1 { > -- u-boot,dm-spl; > --}; > -- > --&usdhc2 { > -- u-boot,dm-spl; > --}; > -- > --&wdog1 { > -- u-boot,dm-spl; > --}; > -+#include "imx8mm-kontron-n801x-u-boot.dtsi" > -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi > -new file mode 100644 > -index 0000000000..22d18e6f1c > ---- /dev/null > -+++ b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi > -@@ -0,0 +1,128 @@ > -+// SPDX-License-Identifier: GPL-2.0+ > -+/* > -+ * Copyright (C) 2019 Kontron Electronics GmbH > -+ */ > -+ > -+#include "imx8mm-u-boot.dtsi" > -+ > -+/ { > -+ aliases { > -+ usb0 = &usbotg1; > -+ usb1 = &usbotg2; > -+ }; > -+ > -+ wdt-reboot { > -+ compatible = "wdt-reboot"; > -+ wdt = <&wdog1>; > -+ u-boot,dm-spl; > -+ }; > -+ > -+ firmware { > -+ optee { > -+ compatible = "linaro,optee-tz"; > -+ method = "smc"; > -+ }; > -+ }; > -+}; > -+ > -+&fec1 { > -+ phy-mode = "rgmii-rxid"; > -+}; > -+ > -+&i2c1 { > -+ u-boot,dm-spl; > -+ u-boot,dm-pre-reloc; > -+}; > -+ > -+&i2c2 { > -+ status = "okay"; > -+ u-boot,dm-spl; > -+ u-boot,dm-pre-reloc; > -+}; > -+ > -+&pinctrl_ecspi1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_i2c1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_pmic { > -+ u-boot,dm-spl; > -+ fsl,pins = < > -+ MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 > -+ /* Disable Pullup for SD_VSEL */ > -+ MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 > -+ >; > -+}; > -+ > -+&pinctrl_uart3 { > -+ u-boot,dm-spl; > -+ u-boot,dm-pre-reloc; > -+}; > -+ > -+&pinctrl_usdhc1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_usdhc1_100mhz { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_usdhc1_200mhz { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_usdhc2 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pca9450 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { > -+ u-boot,dm-spl; > -+}; > -+ > -+&ecspi1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio2 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio3 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio4 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio5 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&uart3 { > -+ u-boot,dm-spl; > -+ u-boot,dm-pre-reloc; > -+}; > -+ > -+&usdhc1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&usdhc2 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&wdog1 { > -+ u-boot,dm-spl; > -+}; > --- > -2.30.2 > - > diff --git a/configs/kontron_bl_imx8mm_defconfig b/configs/kontron_bl_imx8mm_defconfig > index 2b7e121e252e..705222df2833 100644 > --- a/configs/kontron_bl_imx8mm_defconfig > +++ b/configs/kontron_bl_imx8mm_defconfig > @@ -3,8 +3,6 @@ BR2_aarch64=y > BR2_cortex_a53=y > BR2_ARM_FPU_VFPV3=y > > -BR2_GLOBAL_PATCH_DIR="board/kontron/bl-imx8mm/patches" > - > # System > BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" > > @@ -40,7 +38,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30880 > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron-sl-mx8mm" > BR2_TARGET_UBOOT_NEEDS_DTC=y > BR2_TARGET_UBOOT_NEEDS_PYTHON3=y > -- > 2.25.1 > From d.lang at abatec.at Fri Apr 22 07:06:48 2022 From: d.lang at abatec.at (Lang Daniel) Date: Fri, 22 Apr 2022 07:06:48 +0000 Subject: [Buildroot] [PATCH 1/1] package/sam-ba: update link Message-ID: The link to at91.com is outdated and redirects to linux4sam.org Signed-off-by: Daniel Lang --- package/sam-ba/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sam-ba/Config.in.host b/package/sam-ba/Config.in.host index b96e377e79..1967f33ab3 100644 --- a/package/sam-ba/Config.in.host +++ b/package/sam-ba/Config.in.host @@ -7,5 +7,5 @@ config BR2_PACKAGE_HOST_SAM_BA programming the Atmel SAM3, SAM7 and SAM9 ARM-based microcontrollers. - http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools + https://www.linux4sam.org/bin/view/Linux4SAM/SoftwareTools https://www.microchip.com/en-us/development-tool/SAM-BA-IN-SYSTEM-PROGRAMMER -- 2.25.1 From bernd.kuhls at t-online.de Fri Apr 22 07:16:43 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 22 Apr 2022 09:16:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: bump version to 6.17.0 Message-ID: <20220422071643.60273-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/xmrig/xmrig.hash | 2 +- package/xmrig/xmrig.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xmrig/xmrig.hash b/package/xmrig/xmrig.hash index ff5f80a67b..7863c0319d 100644 --- a/package/xmrig/xmrig.hash +++ b/package/xmrig/xmrig.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 245ba47a6b8ae8e9a9df1c055e90f22f944a7d1219416cb30268881d0c0d377b xmrig-6.16.4.tar.gz +sha256 748a989390202ba2d1ccbd9d9a6b8cbd6551149cbab63b347fd1ed6df0254faa xmrig-6.17.0.tar.gz sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE diff --git a/package/xmrig/xmrig.mk b/package/xmrig/xmrig.mk index 1feab499fc..6e21e550a4 100644 --- a/package/xmrig/xmrig.mk +++ b/package/xmrig/xmrig.mk @@ -4,7 +4,7 @@ # ################################################################################ -XMRIG_VERSION = 6.16.4 +XMRIG_VERSION = 6.17.0 XMRIG_SITE = $(call github,xmrig,xmrig,v$(XMRIG_VERSION)) XMRIG_LICENSE = GPL-3.0+ XMRIG_LICENSE_FILES = LICENSE -- 2.30.2 From bernd.kuhls at t-online.de Fri Apr 22 07:32:44 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 22 Apr 2022 09:32:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-skin-confluence: bump version Message-ID: <20220422073244.63829-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-skin-confluence/kodi-skin-confluence.hash | 2 +- package/kodi-skin-confluence/kodi-skin-confluence.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.hash b/package/kodi-skin-confluence/kodi-skin-confluence.hash index e3d1ff73f4..c840e5b161 100644 --- a/package/kodi-skin-confluence/kodi-skin-confluence.hash +++ b/package/kodi-skin-confluence/kodi-skin-confluence.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 49ba4dcf4b512ac0a97bd1a4ebf14685d294d89a7a07c26ddda0fe730c8aa047 kodi-skin-confluence-37a196cdb58c0da87b5b22b047a5d44dc447f1ae.tar.gz +sha256 c57b9a303ad1ebf14ad487901e5da15eba7b3a40304046974fad1d64fb7b8b57 kodi-skin-confluence-e6d31bc84eea73a04b2a23358929d5276be832b8.tar.gz sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.txt diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.mk b/package/kodi-skin-confluence/kodi-skin-confluence.mk index fcae506d1e..c32718fd10 100644 --- a/package/kodi-skin-confluence/kodi-skin-confluence.mk +++ b/package/kodi-skin-confluence/kodi-skin-confluence.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_SKIN_CONFLUENCE_VERSION = 37a196cdb58c0da87b5b22b047a5d44dc447f1ae +KODI_SKIN_CONFLUENCE_VERSION = e6d31bc84eea73a04b2a23358929d5276be832b8 KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION)) KODI_SKIN_CONFLUENCE_LICENSE = GPL-2.0 KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt -- 2.30.2 From fontaine.fabrice at gmail.com Fri Apr 22 07:44:56 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 09:44:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/adwaita-icon-theme: needs host gcc >= 4.9 Message-ID: <20220422074456.4104082-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump of harfbuzz to version 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: In file included from ../src/hb.hh:473:0, from ../src/hb-buffer-verify.cc:27: ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' hb_enable_if (std::is_trivially_copy_assignable::value)> ^ Fixes: - http://autobuild.buildroot.org/results/bbc48cb5232c617d4ff1d0bafd63bb3c9c72d556 Signed-off-by: Fabrice Fontaine --- package/adwaita-icon-theme/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/adwaita-icon-theme/Config.in b/package/adwaita-icon-theme/Config.in index d200570e76..71b839d996 100644 --- a/package/adwaita-icon-theme/Config.in +++ b/package/adwaita-icon-theme/Config.in @@ -1,5 +1,10 @@ config BR2_PACKAGE_ADWAITA_ICON_THEME bool "adwaita icon theme" depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 + # host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz + depends on BR2_HOST_GCC_AT_LEAST_4_9 help Adwaita icon theme + +comment "adwaita icon theme needs host gcc >= 4.9" + depends on !BR2_HOST_GCC_AT_LEAST_4_9 -- 2.35.1 From thomas.perrot at bootlin.com Fri Apr 22 10:09:00 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Fri, 22 Apr 2022 12:09:00 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <87pmlbr70w.fsf@tarshish> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> <20220420083923.3875405-2-thomas.perrot@bootlin.com> <87pmlbr70w.fsf@tarshish> Message-ID: <13e22a566019cfbb7f9a6de52a485dad687e1217.camel@bootlin.com> Hello Baruch, On Wed, 2022-04-20 at 20:28 +0300, Baruch Siach wrote: > Hi Thomas, > > On Wed, Apr 20 2022, Thomas Perrot via buildroot wrote: > > This package provides i.MX Code Signing Tools uses to sign i.MX > > bootloader > > to enable secure boot (HABv4 and AHAB). > > > > Signed-off-by: Thomas Perrot > > --- > > [...] > > > diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx- > > cst.mk > > new file mode 100644 > > index 000000000000..c91dfb602cbf > > --- /dev/null > > +++ b/package/imx-cst/imx-cst.mk > > @@ -0,0 +1,49 @@ > > +################################################################## > > ############## > > +# > > +# imx-cst > > +# > > +################################################################## > > ############## > > + > > +# debian/3.3.1+dfsg-2 > > +IMX_CST_SITE = > > https://gitlab.apertis.org/pkg/imx-code-signing-tool.git > > +IMX_CST_SITE_METHOD = git > > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > > +IMX_CST_LICENSE = BSD-3-Clause > > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 > > + > > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > > + > > +ifneq ($(filter %64,$(HOSTARCH)),) > > +HOST_IMX_CST_OSTYPE = linux64 > > +else > > +HOST_IMX_CST_OSTYPE = linux32 > > +endif > > It looks like the only difference between 64 and 32 is in openssl > build > rule, and for x86 (host) targets only. We don't use this openssl rule > since we build host-openssl with our own rules. So maybe we can just > arbitrarily choose hard coded 'linux64'. It seems that > debian/Makefile > does that. Thanks for your review, I?m submitting a v3 with the OSTYPE variable hardcoded to linux64. Kind regards, Thomas > > baruch > > > + > > +# We don't use HOST_CONFIGURE_OPTS when building cst, because we > > need > > +# to preserve the CFLAGS/LDFLAGS used by their Makefile. > > +define HOST_IMX_CST_BUILD_CMDS > > +???????$(HOST_MAKE_ENV) $(MAKE) \ > > +???????????????OSTYPE=$(HOST_IMX_CST_OSTYPE) \ > > +???????????????ENCRYPTION=yes \ > > +???????????????AR="$(HOSTAR)" \ > > +???????????????CC="$(HOSTCC)" \ > > +???????????????LD="$(HOSTCC)" \ > > +???????????????OBJCOPY="$(HOSTOBJCOPY)" \ > > +???????????????RANLIB="$(HOSTRANLIB)" \ > > +???????????????EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > > +???????????????EXTRALDFLAGS="$(HOST_LDFLAGS)" \ > > +???????????????PWD=$(@D)/code/cst \ > > +???????????????-C $(@D)/code/cst \ > > +???????????????build > > +???????$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > > +???????????????COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) > > $(HOST_LDFLAGS)" \ > > +???????????????-C $(@D)/code/hab_csf_parser > > +endef > > + > > +define HOST_IMX_CST_INSTALL_CMDS > > +???????$(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst > > $(HOST_DIR)/bin/cst > > +???????$(INSTALL) -D -m 755 > > $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool > > +???????$(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser > > $(HOST_DIR)/bin/csf_parser > > +endef > > + > > +$(eval $(host-generic-package)) > > -- Thomas Perrot, Bootlin Embedded Linux and kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: This is a digitally signed message part URL: From thomas.perrot at bootlin.com Fri Apr 22 10:09:18 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Fri, 22 Apr 2022 12:09:18 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/imx-cst: new package Message-ID: <20220422100918.2818811-1-thomas.perrot@bootlin.com> This package provides i.MX Code Signing Tools uses to sign i.MX bootloader to enable secure boot (HABv4 and AHAB). Signed-off-by: Thomas Perrot --- Changes v2: - Add a trailing slash - Preserve CFLAGS and LDFLAGS Changes v3: - Hard code the OSTYPE variable to linux64 DEVELOPERS | 1 + package/Config.in.host | 1 + package/imx-cst/Config.in.host | 8 +++++++ package/imx-cst/imx-cst.hash | 3 +++ package/imx-cst/imx-cst.mk | 43 ++++++++++++++++++++++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 package/imx-cst/Config.in.host create mode 100644 package/imx-cst/imx-cst.hash create mode 100644 package/imx-cst/imx-cst.mk diff --git a/DEVELOPERS b/DEVELOPERS index 6e49334dcc42..86cb04e54e5d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2767,6 +2767,7 @@ F: package/xorcurses/ N: Thomas Perrot F: package/byacc/ +F: package/imx-cst/ N: Thomas Petazzoni F: arch/Config.in.arm diff --git a/package/Config.in.host b/package/Config.in.host index cd1c34b5a3d9..282594b40b8d 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -40,6 +40,7 @@ menu "Host utilities" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" + source "package/imx-cst/Config.in.host" source "package/imx-mkimage/Config.in.host" source "package/imx-usb-loader/Config.in.host" source "package/jh71xx-tools/Config.in.host" diff --git a/package/imx-cst/Config.in.host b/package/imx-cst/Config.in.host new file mode 100644 index 000000000000..84cb825e59cf --- /dev/null +++ b/package/imx-cst/Config.in.host @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HOST_IMX_CST + bool "host imx-cst" + help + I.MX code signing tool provides software code signing + support designed that integrate the HABv4 and AHAB + library. + + https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL diff --git a/package/imx-cst/imx-cst.hash b/package/imx-cst/imx-cst.hash new file mode 100644 index 000000000000..9c27bfe82038 --- /dev/null +++ b/package/imx-cst/imx-cst.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2bcc03c7cedba58f7207a72a28e75cfe78007988d68c1095c793cce991c2936e imx-cst-e2c687a856e6670e753147aacef42d0a3c07891a-br1.tar.gz +sha256 5dee6f54c636a97b15d7e9dfc8075248c36764b3819828cbc94cbd17c1755fb9 LICENSE.bsd3 diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx-cst.mk new file mode 100644 index 000000000000..120f9c5575e1 --- /dev/null +++ b/package/imx-cst/imx-cst.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# imx-cst +# +################################################################################ + +# debian/3.3.1+dfsg-2 +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git +IMX_CST_SITE_METHOD = git +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a +IMX_CST_LICENSE = BSD-3-Clause +IMX_CST_LICENSE_FILES = LICENSE.bsd3 + +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl + +# We don't use HOST_CONFIGURE_OPTS when building cst, because we need +# to preserve the CFLAGS/LDFLAGS used by their Makefile. +define HOST_IMX_CST_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) \ + OSTYPE=linux64 \ + ENCRYPTION=yes \ + AR="$(HOSTAR)" \ + CC="$(HOSTCC)" \ + LD="$(HOSTCC)" \ + OBJCOPY="$(HOSTOBJCOPY)" \ + RANLIB="$(HOSTRANLIB)" \ + EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ + EXTRALDFLAGS="$(HOST_LDFLAGS)" \ + PWD=$(@D)/code/cst \ + -C $(@D)/code/cst \ + build + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ + COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ + -C $(@D)/code/hab_csf_parser +endef + +define HOST_IMX_CST_INSTALL_CMDS + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst $(HOST_DIR)/bin/cst + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool + $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser +endef + +$(eval $(host-generic-package)) -- 2.35.1 From thomas.petazzoni at bootlin.com Fri Apr 22 10:16:43 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 22 Apr 2022 12:16:43 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <13e22a566019cfbb7f9a6de52a485dad687e1217.camel@bootlin.com> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> <20220420083923.3875405-2-thomas.perrot@bootlin.com> <87pmlbr70w.fsf@tarshish> <13e22a566019cfbb7f9a6de52a485dad687e1217.camel@bootlin.com> Message-ID: <20220422121639.5118cd38@windsurf> Hello, On Fri, 22 Apr 2022 12:09:00 +0200 Thomas Perrot wrote: > > It looks like the only difference between 64 and 32 is in openssl > > build > > rule, and for x86 (host) targets only. We don't use this openssl rule > > since we build host-openssl with our own rules. So maybe we can just > > arbitrarily choose hard coded 'linux64'. It seems that > > debian/Makefile > > does that. > > Thanks for your review, I?m submitting a v3 with the OSTYPE variable > hardcoded to linux64. No, please don't. We're doing the build like this: build: $(MAKE) -C $(CST_CODE_PATH)/obj.$(OSTYPE) build And code/cst/code/obj.linux32/Makefile contains: COPTIONS += -m32 LDOPTIONS += -m32 while code/cst/code/obj.linux64/Makefile contains COPTIONS += -m64 LDOPTIONS += -m64 And I can definitely see the -m64 being added in the compiler flags when doing a build on a x86-64 host (run the build with VERBOSE=1, you will see). So if you use linux64 unconditionally, the CST binaries will be built with -m64, even on 32-bit host machines => bad. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From flaniel at linux.microsoft.com Fri Apr 22 14:31:32 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 15:31:32 +0100 Subject: [Buildroot] [RFC PATCH v3 0/2] Bump sysdig to 0.29.1 Message-ID: <20220422143134.28561-1-flaniel@linux.microsoft.com> Hi. In this contribution, I bumped sysdig version to 0.29.1. Indeed, following this discussion [1], Arnout Vandecappelle noted sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses the open() syscall. To fix this, I bumped sysdig to 0.29.1. Sadly, some components of sysdig, like libsinsp, libscap and the kernel modules, were moved to falcosecurity/libs. So, I added the falcosecurity-libs package. A new patch was added to sysdig recipe to avoid compiling again falcosecurity-libs. Nonetheless, this patch is a bit big, so I prefered to keep the RFC tag to gather your opinion about it. I was nonetheless able to build and run sysdig with start-qemu.sh: Welcome to Buildroot buildroot login: root # scap: loading out-of-tree module taints kernel. scap: driver loading, scap 0.1.1dev scap: adding new consumer (____ptrval____) scap: initializing ring buffer for CPU 0 scap: CPU buffer initialized, size=8388608 scap: starting capture 2 14:29:14.500045202 0 (113) > switch next=10 pgft_maj=212 pgft_min=1175 vm_size=45204 vm_rss=18256 vm_swap=0 ... 97 14:29:14.514272929 0 (113) > switch next=114 pgft_maj=213 pgft_min=1180 vm_size=45204 vm_rss=18256 vm_swap= scap: deallocating consumer (____ptrval____) scap: no more consumers, stopping capture So, if you see a particular way to fix the problem I described above or any problem with this contribution, feel free to share it! Changes since: v2: - Add linux CONFIG_ option to execute falcosecurity-libs kernel module. - falcosecurity-libs driver name was set so sysdig automatically loads it. Francis Laniel (2): falcosecurity-libs: add new package package/sysdig: bump to 0.29.1 DEVELOPERS | 1 + package/Config.in | 1 + ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 ++++++++ package/falcosecurity-libs/Config.in | 38 +++++++++ .../falcosecurity-libs.hash | 5 ++ .../falcosecurity-libs/falcosecurity-libs.mk | 75 +++++++++++++++++ ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ package/sysdig/Config.in | 31 ++----- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 55 ++++++------- 13 files changed, 295 insertions(+), 188 deletions(-) create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch create mode 100644 package/falcosecurity-libs/Config.in create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch create mode 100644 package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch Best regards and thank you in advance. --- [1] https://marc.info/?l=buildroot&m=164951521629400 -- 2.25.1 From flaniel at linux.microsoft.com Fri Apr 22 14:31:33 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 15:31:33 +0100 Subject: [Buildroot] [RFC PATCH v3 1/2] falcosecurity-libs: add new package In-Reply-To: <20220422143134.28561-1-flaniel@linux.microsoft.com> References: <20220422143134.28561-1-flaniel@linux.microsoft.com> Message-ID: <20220422143134.28561-2-flaniel@linux.microsoft.com> Signed-off-by: Francis Laniel --- DEVELOPERS | 1 + package/Config.in | 1 + ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 +++++++++ package/falcosecurity-libs/Config.in | 38 ++++++++++ .../falcosecurity-libs.hash | 5 ++ .../falcosecurity-libs/falcosecurity-libs.mk | 75 +++++++++++++++++++ 6 files changed, 154 insertions(+) create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch create mode 100644 package/falcosecurity-libs/Config.in create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..d45d3d2a7b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -969,6 +969,7 @@ F: package/ipmitool/ F: package/odhcploc/ N: Francis Laniel +F: package/falcosecurity-libs F: package/pahole/ F: package/sysdig/ F: package/tbb/ diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..3070094cc0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1935,6 +1935,7 @@ menu "Other" source "package/eigen/Config.in" source "package/elfutils/Config.in" source "package/ell/Config.in" + source "package/falcosecurity-libs/Config.in" source "package/fftw/Config.in" source "package/flann/Config.in" source "package/flatbuffers/Config.in" diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch new file mode 100644 index 0000000000..6141d8ef72 --- /dev/null +++ b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch @@ -0,0 +1,34 @@ +From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Tue, 12 Apr 2022 19:54:11 +0100 +Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN. + +This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with: +cmake -DGRPC_CPP_PLUGIN=/path + +Signed-off-by: Francis Laniel +--- + cmake/modules/grpc.cmake | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake +index e5fd16b8..9d8f5934 100644 +--- a/cmake/modules/grpc.cmake ++++ b/cmake/modules/grpc.cmake +@@ -12,9 +12,11 @@ elseif(NOT USE_BUNDLED_GRPC) + set(GRPCPP_LIB gRPC::grpc++) + + # gRPC C++ plugin +- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) + if(NOT GRPC_CPP_PLUGIN) +- message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) ++ if(NOT GRPC_CPP_PLUGIN) ++ message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ endif() + endif() + + # gRPC include dir + properly handle grpc{++,pp} +-- +2.25.1 + diff --git a/package/falcosecurity-libs/Config.in b/package/falcosecurity-libs/Config.in new file mode 100644 index 0000000000..9dd9221caa --- /dev/null +++ b/package/falcosecurity-libs/Config.in @@ -0,0 +1,38 @@ +config BR2_PACKAGE_FALCOSECURITY_LIBS + bool "sysdig" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_LINUX_KERNEL + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # jq, protobuf, tbb + depends on !BR2_STATIC_LIBS # protobuf, tbb + depends on BR2_TOOLCHAIN_USES_GLIBC # tbb + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC + select BR2_PACKAGE_GTEST + select BR2_PACKAGE_HOST_GRPC + select BR2_PACKAGE_HOST_PROTOBUF + select BR2_PACKAGE_JQ + select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_LIBB64 + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB + select BR2_PACKAGE_VALIJSON + select BR2_PACKAGE_ZLIB + help + falcosecurity/libs provides libsinsp, libscap, the kernel module driver + and the eBPF driver sources. + + https://github.com/falcosecurity/libs + +comment "falcosecurity-libs needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_USES_GLIBC \ + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/falcosecurity-libs/falcosecurity-libs.hash b/package/falcosecurity-libs/falcosecurity-libs.hash new file mode 100644 index 0000000000..7608c67590 --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.hash @@ -0,0 +1,5 @@ +# sha256 locally computed +sha256 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz +sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt +sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/falcosecurity-libs/falcosecurity-libs.mk b/package/falcosecurity-libs/falcosecurity-libs.mk new file mode 100644 index 0000000000..cd5007164c --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.mk @@ -0,0 +1,75 @@ +################################################################################ +# +# falcosecurity-libs +# +################################################################################ + +FALCOSECURITY_LIBS_VERSION = e5c53d648f3c4694385bbe488e7d47eaa36c229a +FALCOSECURITY_LIBS_SITE = $(call github,falcosecurity,libs,$(FALCOSECURITY_LIBS_VERSION)) +FALCOSECURITY_LIBS_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) +FALCOSECURITY_LIBS_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +FALCOSECURITY_LIBS_CPE_ID_VENDOR = falco +FALCOSECURITY_LIBS_CONF_OPTS = \ + -DENABLE_DKMS=OFF \ + -DUSE_BUNDLED_DEPS=OFF \ + -DWITH_CHISEL=ON \ + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson +FALCOSECURITY_LIBS_SUPPORTS_IN_SOURCE_BUILD = NO + +FALCOSECURITY_LIBS_DEPENDENCIES = \ + c-ares \ + elfutils \ + grpc \ + gtest \ + host-grpc \ + host-protobuf \ + jq \ + jsoncpp \ + libb64 \ + libcurl \ + luainterpreter \ + openssl \ + protobuf \ + tbb \ + valijson \ + zlib + +FALCOSECURITY_LIBS_DRIVER_NAME = scap + +# Don't build the driver as part of the 'standard' procedure, we'll +# build it on our own with the kernel-module infra. +# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host +# one there. +FALCOSECURITY_LIBS_CONF_OPTS += -DBUILD_DRIVER=OFF -DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin -DDRIVER_NAME=$(FALCOSECURITY_LIBS_DRIVER_NAME) + +FALCOSECURITY_LIBS_MODULE_SUBDIRS = driver +FALCOSECURITY_LIBS_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) + +# falcosecurity-libs needs these two kernel options to be set: +# CONFIG_TRACEPOINTS +# CONFIG_HAVE_SYSCALL_TRACEPOINTS +# https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-from-the-Source-Code#linux-and-osx +# CONFIG_FTRACE and CONFIG_SCHED_TRACER selects CONFIG_GENERIC_TRACER which in +# turns select CONFIG_TRACING which in turns select CONFIG_TRACEPOINTS +define FALCOSECURITY_LIBS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE) + $(call KCONFIG_ENABLE_OPT,CONFIG_SCHED_TRACER) + $(call KCONFIG_ENABLE_OPT,CONFIG_HAVE_SYSCALL_TRACEPOINTS) +endef + +# falcosecurity-libs creates the module Makefile from a template, which contains +# a single place-holder, KBUILD_FLAGS, wich is only replaced with debug flags, +# which we don't care about here. +# So, just replace the place-holder with the only meaningful value: nothing. +# For the DRIVER_NAME, we set it to FALCOSECURITY_LIBS_DRIVER_NAME. +# So, when sysdig will be run, it will automatically load +# FALCOSECURITY_LIBS_DRIVER_NAME.ko. +define FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile + $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile + $(SED) 's/@DRIVER_NAME@/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/Makefile +endef +FALCOSECURITY_LIBS_POST_PATCH_HOOKS += FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + +$(eval $(kernel-module)) +$(eval $(cmake-package)) -- 2.25.1 From flaniel at linux.microsoft.com Fri Apr 22 14:31:34 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 15:31:34 +0100 Subject: [Buildroot] [RFC PATCH v3 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: <20220422143134.28561-1-flaniel@linux.microsoft.com> References: <20220422143134.28561-1-flaniel@linux.microsoft.com> Message-ID: <20220422143134.28561-3-flaniel@linux.microsoft.com> sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() syscall [1]. This patch bumps its version to enable cross-compilation. By doing so, we can remove the previous patches. But this commit introduces new patches. Indeed, libsinsp (lib system inspection), libscap (lib system capture) and the kernel module were moved to falcosecurity/libs. Sadly, it is not possible to compile sysdig with pre-compiled libs (like we do in buildroot). So, this contribution introduces a new patch to build sysdig with already built falcosecurity/libs. [1] https://marc.info/?l=buildroot&m=164951521629400 Signed-off-by: Francis Laniel --- ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ package/sysdig/Config.in | 31 ++----- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 55 ++++++------- 7 files changed, 141 insertions(+), 188 deletions(-) create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch create mode 100644 package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch diff --git a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch new file mode 100644 index 0000000000..29f03b1b61 --- /dev/null +++ b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch @@ -0,0 +1,51 @@ +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 13 Apr 2022 18:01:11 +0100 +Subject: [PATCH 1/2] cmake: Check USE_BUNDLED_DEPS before getting + nlohmann-json. + +Signed-off-by: Francis Laniel +--- + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- + 1 file changed, 19 insertions(+), 10 deletions(-) + +diff --git a/cmake/modules/nlohmann-json.cmake b/cmake/modules/nlohmann-json.cmake +index bb1279d7..feb0f071 100644 +--- a/cmake/modules/nlohmann-json.cmake ++++ b/cmake/modules/nlohmann-json.cmake +@@ -16,13 +16,22 @@ + # limitations under the License. + # + +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") +-ExternalProject_Add( +- njson +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" +- URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" +- CONFIGURE_COMMAND "" +- BUILD_COMMAND "" +- INSTALL_COMMAND "") ++if(NOT USE_BUNDLED_DEPS) ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) ++ if(NJSON_INCLUDE_DIR) ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") ++ else() ++ message(FATAL_ERROR "Couldn't find system njson") ++ endif() ++else() ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") ++ ExternalProject_Add( ++ njson ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" ++ URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" ++ CONFIGURE_COMMAND "" ++ BUILD_COMMAND "" ++ INSTALL_COMMAND "") ++endif() +-- +2.25.1 + diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch deleted file mode 100644 index 7873210281..0000000000 --- a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch +++ /dev/null @@ -1,82 +0,0 @@ -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Wed, 6 Apr 2022 16:54:37 +0100 -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. - -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and -luaL_Reg. -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function -call as well. -Note that, this PATCH_COMMAND was added in sysdig in: -a064440394c9 ("Adding power support to Travis builds (#1566)") - -This patch is also present in kubernetes/minikube in: -f036c279bc59 ("Add patch for compiling sysdig with system luajit") - -Signed-off-by: Francis Laniel ---- - userspace/libsinsp/chisel.cpp | 6 +++--- - userspace/libsinsp/lua_parser.cpp | 2 +- - userspace/libsinsp/lua_parser_api.cpp | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp -index 0a6e3cf8..0c2e255a 100644 ---- a/userspace/libsinsp/chisel.cpp -+++ b/userspace/libsinsp/chisel.cpp -@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) - // Lua callbacks - /////////////////////////////////////////////////////////////////////////////// - #ifdef HAS_LUA_CHISELS --const static struct luaL_reg ll_sysdig [] = -+const static struct luaL_Reg ll_sysdig [] = - { - {"set_filter", &lua_cbacks::set_global_filter}, - {"set_snaplen", &lua_cbacks::set_snaplen}, -@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_chisel [] = -+const static struct luaL_Reg ll_chisel [] = - { - {"request_field", &lua_cbacks::request_field}, - {"set_filter", &lua_cbacks::set_filter}, -@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_evt [] = -+const static struct luaL_Reg ll_evt [] = - { - {"field", &lua_cbacks::field}, - {"get_num", &lua_cbacks::get_num}, -diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp -index 0e26617d..78810d96 100644 ---- a/userspace/libsinsp/lua_parser.cpp -+++ b/userspace/libsinsp/lua_parser.cpp -@@ -32,7 +32,7 @@ extern "C" { - #include "lauxlib.h" - } - --const static struct luaL_reg ll_filter [] = -+const static struct luaL_Reg ll_filter [] = - { - {"rel_expr", &lua_parser_cbacks::rel_expr}, - {"bool_op", &lua_parser_cbacks::bool_op}, -diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp -index c89e9126..c3d8008a 100644 ---- a/userspace/libsinsp/lua_parser_api.cpp -+++ b/userspace/libsinsp/lua_parser_api.cpp -@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) - string err = "Got non-table as in-expression operand\n"; - throw sinsp_exception("parser API error"); - } -- int n = luaL_getn(ls, 4); /* get size of table */ -+ int n = lua_objlen (ls, 4); /* get size of table */ - for (i=1; i<=n; i++) - { - lua_rawgeti(ls, 4, i); --- -2.25.1 - diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch deleted file mode 100644 index a9155fbb4a..0000000000 --- a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Thu, 7 Apr 2022 18:30:23 +0100 -Subject: [PATCH] Link against libabseil-cpp which grpc uses. - -This patch was taken from: -55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") [1] -from hhoffstaette/portage. - -[1] https://github.com/hhoffstaette/portage/blob/55c96b61f7b91e4d91bed6723e86c00dd91f8d16/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch - -Signed-off-by: Francis Laniel ---- - CMakeLists.txt | 1 + - userspace/libsinsp/CMakeLists.txt | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1f34f1d6..c0354b29 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) - else() - message(FATAL_ERROR "Couldn't find system grpc") - endif() -+ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) - find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) - if(NOT GRPC_CPP_PLUGIN) - message(FATAL_ERROR "System grpc_cpp_plugin not found") -diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt -index d72f9115..d1b7ea02 100644 ---- a/userspace/libsinsp/CMakeLists.txt -+++ b/userspace/libsinsp/CMakeLists.txt -@@ -214,6 +214,10 @@ if(NOT WIN32) - "${JQ_LIB}" - "${B64_LIB}") - -+ if(ABSL_SYNC_LIB) -+ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") -+ endif() -+ - if(NOT MUSL_OPTIMIZED_BUILD) - target_link_libraries(sinsp - rt --- -2.25.1 - diff --git a/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch new file mode 100644 index 0000000000..30601c2430 --- /dev/null +++ b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch @@ -0,0 +1,59 @@ +From e681028c5567582f9c66cf2b11234ab3a1cacc73 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Fri, 15 Apr 2022 14:17:48 +0100 +Subject: [PATCH 2/2] cmake: Add libsinsp.a as IMPORTED library. + +libsinsp.a is created by falcosecurity/libs which is downloaded while building +sysdig. + +In buildroot, we do not want to depend of external download. +This patch adds libsinsp.a as IMPORTER library and links all its dependencies +against it. + +Signed-off-by: Francis Laniel +--- + userspace/sysdig/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ + 1 file changed, 28 insertions(+) + +diff --git a/userspace/sysdig/CMakeLists.txt b/userspace/sysdig/CMakeLists.txt +index 401d65e3..ef339b71 100644 +--- a/userspace/sysdig/CMakeLists.txt ++++ b/userspace/sysdig/CMakeLists.txt +@@ -86,6 +86,34 @@ target_include_directories( + if(NOT WIN32) + include_directories(${PROJECT_BINARY_DIR}/driver/src) + ++ if(SCAP_STATIC_LIBRARY_PATH AND SINSP_STATIC_LIBRARY_PATH) ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) ++ find_library(B64_LIB NAMES b64) ++ find_library(CARES_LIB NAMES cares) ++ find_library(ELF_LIB NAMES elf) ++ find_library(GTEST_LIB NAMES gtest) ++ find_library(JQ_LIB NAMES jq) ++ find_library(JSONCPP_LIB NAMES jsoncpp) ++ find_library(LUAJIT_LIB NAMES luajit luajit-5.1) ++ find_library(PROTOBUF_LIB NAMES protobuf) ++ find_library(TBB_LIB NAMES tbb) ++ find_library(ZLIB_LIB NAMES z) ++ ++ find_package(CURL REQUIRED) ++ find_package(gRPC REQUIRED) ++ find_package(OpenSSL REQUIRED) ++ ++ set(GPR_LIB gRPC::gpr) ++ set(GRPC_LIB gRPC::grpc) ++ set(GRPCPP_LIB gRPC::grpc++) ++ ++ add_library(sinsp STATIC IMPORTED) ++ set_target_properties(sinsp PROPERTIES ++ IMPORTED_LOCATION "${SINSP_STATIC_LIBRARY_PATH}" ++ INTERFACE_LINK_LIBRARIES "${ABSL_SYNC_LIB};${B64_LIB};${CARES_LIB};${CURL_LIBRARIES};${ELF_LIB};${GPR_LIB};${GRPC_LIB};${GRPCPP_LIB};${GTEST_LIB};${JQ_LIB};${JSONCPP_LIB};${LUAJIT_LIB};${OPENSSL_LIBRARIES};${PROTOBUF_LIB};${TBB_LIB};${SCAP_STATIC_LIBRARY_PATH};${ZLIB_LIB}" ++ ) ++ endif() ++ + target_link_libraries(sysdig + sinsp + "${YAMLCPP_LIB}") +-- +2.25.1 + diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index c124054105..e00516a2b5 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -1,26 +1,11 @@ config BR2_PACKAGE_SYSDIG bool "sysdig" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb - depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb - depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_ELFUTILS - select BR2_PACKAGE_GRPC - select BR2_PACKAGE_JQ - select BR2_PACKAGE_JSONCPP - select BR2_PACKAGE_LIBB64 - select BR2_PACKAGE_LIBCURL + depends on BR2_INSTALL_LIBSTDCPP # yaml-cpp + select BR2_PACKAGE_FALCOSECURITY_LIBS select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PROTOBUF - select BR2_PACKAGE_TBB - select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_JSON_FOR_MODERN_CPP + select BR2_PACKAGE_YAML_CPP help Sysdig is open source, system-level exploration: capture system state and activity from a running Linux @@ -30,10 +15,6 @@ config BR2_PACKAGE_SYSDIG https://github.com/draios/sysdig/wiki -comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS +comment "sysdig needs a toolchain w/ C++, a Linux kernel and luajit or lua 5.1 to be built" depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_USES_GLIBC \ - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 4ec46abfc3..380c9dce1e 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,5 +1,3 @@ # sha256 locally computed -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 9a9aaa35c3..c6487c2337 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,10 +4,10 @@ # ################################################################################ -SYSDIG_VERSION = 0.27.1 +SYSDIG_VERSION = 0.29.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +SYSDIG_LICENSE = Apache-2.0 +SYSDIG_LICENSE_FILE = COPYING SYSDIG_CPE_ID_VENDOR = sysdig SYSDIG_CONF_OPTS = \ -DENABLE_DKMS=OFF \ @@ -16,39 +16,32 @@ SYSDIG_CONF_OPTS = \ SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ - c-ares \ - elfutils \ - grpc \ - jq \ - jsoncpp \ - libb64 \ - libcurl \ - luainterpreter \ + falcosecurity-libs \ ncurses \ - openssl \ - protobuf \ - tbb \ - zlib + json-for-modern-cpp \ + yaml-cpp -# sysdig creates the module Makefile from a template, which contains a -# single place-holder, KBUILD_FLAGS, wich is only replaced with two -# things: -# - debug flags, which we don't care about here, -# - 'sysdig-feature' flags, which are never set, so always empty -# So, just replace the place-holder with the only meaningful value: nothing. -define SYSDIG_MODULE_GEN_MAKEFILE - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile -endef -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE +# We need to set all these variables to avoid compiling falcosecurity-libs +# twice. +SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR=$(BUILD_DIR)/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a +SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/driver/src +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/libscap +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/libsinsp +SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/chisel +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/libscap/libscap.a +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/libsinsp/libsinsp.a -# Don't build the driver as part of the 'standard' procedure, we'll -# build it on our own with the kernel-module infra. -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF +# SCAP_STATIC_LIBRARY_PATH and SINSP_STATIC_LIBRARY_PATH were added by patch. +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR) \ + -DHAVE_LIBSCAP=On \ + -DLIBSCAP_INCLUDE_DIRS="$(SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR);$(SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR)" \ + -DHAVE_LIBSINSP=On \ + -DLIBSINSP_INCLUDE_DIRS="$(SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR);$(SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR)" \ + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson \ + -DSCAP_STATIC_LIBRARY_PATH=$(SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH) \ + -DSINSP_STATIC_LIBRARY_PATH=$(SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH) SYSDIG_MODULE_SUBDIRS = driver SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) -$(eval $(kernel-module)) $(eval $(cmake-package)) -- 2.25.1 From Jason at zx2c4.com Fri Apr 22 15:44:02 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 22 Apr 2022 17:44:02 +0200 Subject: [Buildroot] [PATCH v5] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220420170326.1901572-1-Jason@zx2c4.com> Message-ID: Another thought: I noticed the busybox package itself has various init scripts. We could just delete the now-obsolete urandom-scripts package, and simply add the init script to the busybox package. Would this be workable? Jason From fperrad at gmail.com Fri Apr 22 16:15:07 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:07 +0200 Subject: [Buildroot] [PATCH 1/8] package/perl-crypt-openssl-guess: bump to version 0.15 Message-ID: <20220422161514.3449177-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- .../perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash | 4 ++-- package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash index e6d19cb68..b4795ed3d 100644 --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 9e86baf96828a38c967003a5e66f0c39 Crypt-OpenSSL-Guess-0.12.tar.gz -sha256 0a18d18768cf42b49b15c9dea626199dc74346bbbc76acd3d817b9c1d2bd471d Crypt-OpenSSL-Guess-0.12.tar.gz +md5 e07f470dd25023730cf8536e0cefbabd Crypt-OpenSSL-Guess-0.15.tar.gz +sha256 1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d Crypt-OpenSSL-Guess-0.15.tar.gz # computed by scancpan sha256 5c739f181ce7aa31d739277996ff230067dad39332e5597c0dffd36e5d784072 LICENSE diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk index 4f0898cf5..56ff79d84 100644 --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.12 +PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.15 PERL_CRYPT_OPENSSL_GUESS_SOURCE = Crypt-OpenSSL-Guess-$(PERL_CRYPT_OPENSSL_GUESS_VERSION).tar.gz PERL_CRYPT_OPENSSL_GUESS_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AK/AKIYM PERL_CRYPT_OPENSSL_GUESS_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:08 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:08 +0200 Subject: [Buildroot] [PATCH 2/8] package/perl-file-listing: bump to version 6.15 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-2-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-file-listing/perl-file-listing.hash | 6 +++--- package/perl-file-listing/perl-file-listing.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/perl-file-listing/perl-file-listing.hash b/package/perl-file-listing/perl-file-listing.hash index 235896571..cb52c127c 100644 --- a/package/perl-file-listing/perl-file-listing.hash +++ b/package/perl-file-listing/perl-file-listing.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 cf60a79563185391831613178a79b4cd File-Listing-6.14.tar.gz -sha256 15b3a4871e23164a36f226381b74d450af41f12cc94985f592a669fcac7b48ff File-Listing-6.14.tar.gz +md5 8ba34641a6c5a2ec1b0bf7064f68c535 File-Listing-6.15.tar.gz +sha256 46c4fb9f9eb9635805e26b7ea55b54455e47302758a10ed2a0b92f392713770c File-Listing-6.15.tar.gz # computed by scancpan -sha256 7f0ccec295e6d7d2be1439cedd7caf6cc6247191f4c10ac56d91ee9bc265ba02 LICENSE +sha256 287e6f0fdf2db790a24975b492cde64b210c16af7137f44373cbd03fcf844212 LICENSE diff --git a/package/perl-file-listing/perl-file-listing.mk b/package/perl-file-listing/perl-file-listing.mk index 61bbc18eb..c8584ffa8 100644 --- a/package/perl-file-listing/perl-file-listing.mk +++ b/package/perl-file-listing/perl-file-listing.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_FILE_LISTING_VERSION = 6.14 +PERL_FILE_LISTING_VERSION = 6.15 PERL_FILE_LISTING_SOURCE = File-Listing-$(PERL_FILE_LISTING_VERSION).tar.gz PERL_FILE_LISTING_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PL/PLICEASE PERL_FILE_LISTING_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:09 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:09 +0200 Subject: [Buildroot] [PATCH 3/8] package/perl-html-parser: bump to 3.78 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-3-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-html-parser/perl-html-parser.hash | 6 +++--- package/perl-html-parser/perl-html-parser.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/perl-html-parser/perl-html-parser.hash b/package/perl-html-parser/perl-html-parser.hash index 36b094a7c..7393f1e1e 100644 --- a/package/perl-html-parser/perl-html-parser.hash +++ b/package/perl-html-parser/perl-html-parser.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 60e266d5a07fbea671a0383dd8af7b6c HTML-Parser-3.76.tar.gz -sha256 64d9e2eb2b420f1492da01ec0e6976363245b4be9290f03f10b7d2cb63fa2f61 HTML-Parser-3.76.tar.gz +md5 6d7c1ca50623cd2b398d1898e48f1ea6 HTML-Parser-3.78.tar.gz +sha256 22564002f206af94c1dd8535f02b0d9735125d9ebe89dd0ff9cd6c000e29c29d HTML-Parser-3.78.tar.gz # computed by scancpan -sha256 0e57338bc10d5fb8891012ebee65a7b504b247f5bb485e121b8b48d7a118a60b LICENSE +sha256 9081922eb873ec1809c20672a7385a65f3c6b1163166bf69b2bbe986fb5b0159 LICENSE diff --git a/package/perl-html-parser/perl-html-parser.mk b/package/perl-html-parser/perl-html-parser.mk index 097564dbc..190c00d46 100644 --- a/package/perl-html-parser/perl-html-parser.mk +++ b/package/perl-html-parser/perl-html-parser.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_HTML_PARSER_VERSION = 3.76 +PERL_HTML_PARSER_VERSION = 3.78 PERL_HTML_PARSER_SOURCE = HTML-Parser-$(PERL_HTML_PARSER_VERSION).tar.gz PERL_HTML_PARSER_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_HTML_PARSER_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:10 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:10 +0200 Subject: [Buildroot] [PATCH 4/8] package/perl-http-daemon: bump to version 6.14 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-4-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-http-daemon/perl-http-daemon.hash | 6 +++--- package/perl-http-daemon/perl-http-daemon.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/perl-http-daemon/perl-http-daemon.hash b/package/perl-http-daemon/perl-http-daemon.hash index f8272a4fc..c19b3b955 100644 --- a/package/perl-http-daemon/perl-http-daemon.hash +++ b/package/perl-http-daemon/perl-http-daemon.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 63674e3f81760a29075853413eb157d8 HTTP-Daemon-6.12.tar.gz -sha256 df47bed10c38670c780fd0116867d5fd4693604acde31ba63380dce04c4e1fa6 HTTP-Daemon-6.12.tar.gz +md5 3111b0081d08d8b225f52884033de349 HTTP-Daemon-6.14.tar.gz +sha256 f0767e7f3cbb80b21313c761f07ad8ed253bce9fa2d0ba806b3fb72d309b2e1d HTTP-Daemon-6.14.tar.gz # computed by scancpan -sha256 e84ac5ab84ace59952d2640e0ca4522eb0aaa8c2aa696352d1252aa109ea20bc LICENCE +sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENCE diff --git a/package/perl-http-daemon/perl-http-daemon.mk b/package/perl-http-daemon/perl-http-daemon.mk index e47507262..fe50c768b 100644 --- a/package/perl-http-daemon/perl-http-daemon.mk +++ b/package/perl-http-daemon/perl-http-daemon.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_HTTP_DAEMON_VERSION = 6.12 +PERL_HTTP_DAEMON_VERSION = 6.14 PERL_HTTP_DAEMON_SOURCE = HTTP-Daemon-$(PERL_HTTP_DAEMON_VERSION).tar.gz PERL_HTTP_DAEMON_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_HTTP_DAEMON_DEPENDENCIES = host-perl-module-build-tiny -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:11 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:11 +0200 Subject: [Buildroot] [PATCH 5/8] package/perl-libwww-perl: bump to version 6.62 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-5-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-libwww-perl/perl-libwww-perl.hash | 4 ++-- package/perl-libwww-perl/perl-libwww-perl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-libwww-perl/perl-libwww-perl.hash b/package/perl-libwww-perl/perl-libwww-perl.hash index e32258050..25b6675ec 100644 --- a/package/perl-libwww-perl/perl-libwww-perl.hash +++ b/package/perl-libwww-perl/perl-libwww-perl.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 ce5180358d9279b2843a6518bf2de200 libwww-perl-6.60.tar.gz -sha256 cdd28b9237b9c6791725b9099695c7c3c720b33881606fd6cc7635a5495bb07c libwww-perl-6.60.tar.gz +md5 3cc193bbddb1dc9e867e88582b440a92 libwww-perl-6.62.tar.gz +sha256 569ac15eb69d54b2a8d932403610690b89c68d6a987eab2f627c0639bae7de18 libwww-perl-6.62.tar.gz # computed by scancpan sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENSE diff --git a/package/perl-libwww-perl/perl-libwww-perl.mk b/package/perl-libwww-perl/perl-libwww-perl.mk index aa15ebb59..43bd4db78 100644 --- a/package/perl-libwww-perl/perl-libwww-perl.mk +++ b/package/perl-libwww-perl/perl-libwww-perl.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_LIBWWW_PERL_VERSION = 6.60 +PERL_LIBWWW_PERL_VERSION = 6.62 PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_LIBWWW_PERL_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:12 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:12 +0200 Subject: [Buildroot] [PATCH 6/8] package/perl-mojolicious: bump to version 9.24 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-6-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-mojolicious/perl-mojolicious.hash | 4 ++-- package/perl-mojolicious/perl-mojolicious.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-mojolicious/perl-mojolicious.hash b/package/perl-mojolicious/perl-mojolicious.hash index cc29c3553..cd6c8ef7f 100644 --- a/package/perl-mojolicious/perl-mojolicious.hash +++ b/package/perl-mojolicious/perl-mojolicious.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 c7a00b4bd8fa2db991c9b918d34041d3 Mojolicious-9.22.tar.gz -sha256 6b76e024d3d6c077ad984ea3b3d229f093373d5e06438aca248235150d029043 Mojolicious-9.22.tar.gz +md5 fea8c6a9b97b988ee18b1616e20cf3db Mojolicious-9.24.tar.gz +sha256 5a2f2e064fe50ad94ec5ed175403a26ec1ff4150d77742d14ca7b842e17f9168 Mojolicious-9.24.tar.gz # computed by scancpan sha256 19e2e0f2079ea1ce1576eb4ecc0575b33fe45b2b8e71f4aa589d6bedd1da4e0a LICENSE diff --git a/package/perl-mojolicious/perl-mojolicious.mk b/package/perl-mojolicious/perl-mojolicious.mk index 559b995cd..4a05fe48b 100644 --- a/package/perl-mojolicious/perl-mojolicious.mk +++ b/package/perl-mojolicious/perl-mojolicious.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_MOJOLICIOUS_VERSION = 9.22 +PERL_MOJOLICIOUS_VERSION = 9.24 PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI PERL_MOJOLICIOUS_LICENSE = Artistic-2.0 -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:13 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:13 +0200 Subject: [Buildroot] [PATCH 7/8] package/perl-net-http: bump to version 6.22 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-7-francois.perrad@gadz.org> diff LICENSE: -This software is copyright (c) 2001-2017 by Gisle Aas. +This software is copyright (c) 2001 by Gisle Aas. Signed-off-by: Francois Perrad --- package/perl-net-http/perl-net-http.hash | 6 +++--- package/perl-net-http/perl-net-http.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/perl-net-http/perl-net-http.hash b/package/perl-net-http/perl-net-http.hash index 85ddad6ee..f02fd9080 100644 --- a/package/perl-net-http/perl-net-http.hash +++ b/package/perl-net-http/perl-net-http.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 dbe27483034a79a7d43f61cc48540641 Net-HTTP-6.21.tar.gz -sha256 375aa35b76be99f06464089174d66ac76f78ce83a5c92a907bbfab18b099eec4 Net-HTTP-6.21.tar.gz +md5 1d46019fb8559070a5ec1d838b690657 Net-HTTP-6.22.tar.gz +sha256 62faf9a5b84235443fe18f780e69cecf057dea3de271d7d8a0ba72724458a1a2 Net-HTTP-6.22.tar.gz # computed by scancpan -sha256 49fbcc80e17295888b909176a0029f275a8c17b6cbfaf8867fe571ebe9a9ca79 LICENSE +sha256 0ed700a4bfc022e999d83407f71ab62ead96662d8f7bbebfd857376bf3ed6528 LICENSE diff --git a/package/perl-net-http/perl-net-http.mk b/package/perl-net-http/perl-net-http.mk index de0809d0b..b4cef6188 100644 --- a/package/perl-net-http/perl-net-http.mk +++ b/package/perl-net-http/perl-net-http.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_NET_HTTP_VERSION = 6.21 +PERL_NET_HTTP_VERSION = 6.22 PERL_NET_HTTP_SOURCE = Net-HTTP-$(PERL_NET_HTTP_VERSION).tar.gz PERL_NET_HTTP_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_NET_HTTP_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:14 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:14 +0200 Subject: [Buildroot] [PATCH 8/8] package/perl-package-stash: bump to version 0.40 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-8-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-package-stash/Config.in | 4 ++-- package/perl-package-stash/perl-package-stash.hash | 6 +++--- package/perl-package-stash/perl-package-stash.mk | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/perl-package-stash/Config.in b/package/perl-package-stash/Config.in index 6b7ca2478..05506c242 100644 --- a/package/perl-package-stash/Config.in +++ b/package/perl-package-stash/Config.in @@ -3,6 +3,6 @@ config BR2_PACKAGE_PERL_PACKAGE_STASH select BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS # runtime select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION # runtime help - routines for manipulating stashes. + Routines for manipulating stashes. - http://metacpan.org/release/Package-Stash + https://github.com/moose/Package-Stash diff --git a/package/perl-package-stash/perl-package-stash.hash b/package/perl-package-stash/perl-package-stash.hash index 0bbac515e..85d8e1bde 100644 --- a/package/perl-package-stash/perl-package-stash.hash +++ b/package/perl-package-stash/perl-package-stash.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 287d80c9115c9230912aca684f8ca92e Package-Stash-0.39.tar.gz -sha256 9165f555112e080493ce0e9129de0886da30b2593fb353a2abd1c76b2d2621b5 Package-Stash-0.39.tar.gz +md5 7a2922941cc2aad6a52642e4fb13d07b Package-Stash-0.40.tar.gz +sha256 5a9722c6d9cb29ee133e5f7b08a5362762a0b5633ff5170642a5b0686e95e066 Package-Stash-0.40.tar.gz # computed by scancpan -sha256 810b319a6f4a53c9cbbef513da17b2f0c872accd149bb889f153f4b78cf8cbb8 LICENSE +sha256 5f82745d355b43f451c557642618cbd903251192b89f31ca53eaab90c35aeb7c LICENSE diff --git a/package/perl-package-stash/perl-package-stash.mk b/package/perl-package-stash/perl-package-stash.mk index bc116abca..dd93314d8 100644 --- a/package/perl-package-stash/perl-package-stash.mk +++ b/package/perl-package-stash/perl-package-stash.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_PACKAGE_STASH_VERSION = 0.39 +PERL_PACKAGE_STASH_VERSION = 0.40 PERL_PACKAGE_STASH_SOURCE = Package-Stash-$(PERL_PACKAGE_STASH_VERSION).tar.gz PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/E/ET/ETHER PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From bernd.kuhls at t-online.de Fri Apr 22 17:34:15 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 22 Apr 2022 19:34:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-peripheral-xarcade: bump version to 19.0.3-Matrix Message-ID: <20220422173415.662392-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash | 2 +- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash index 5cb774fe26..3ceabd4759 100644 --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 27f592e07c788067c97f7bbcac8a2c6803954730e6f0f66f2047a1d939e6648d kodi-peripheral-xarcade-19.0.1-Matrix.tar.gz +sha256 589b5355bf9b0b5183ecf2d93a4a80ca1ae317a9fdf4efb9c14eb7114b4ec13a kodi-peripheral-xarcade-19.0.3-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk index fd8b1af38c..ef3cc6fef1 100644 --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PERIPHERAL_XARCADE_VERSION = 19.0.1-Matrix +KODI_PERIPHERAL_XARCADE_VERSION = 19.0.3-Matrix KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md -- 2.30.2 From bernd.kuhls at t-online.de Fri Apr 22 17:41:32 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 22 Apr 2022 19:41:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/{mesa3d, mesa3d-headers}: bump version to 22.0.2 Message-ID: <20220422174132.663076-1-bernd.kuhls@t-online.de> Release notes: https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html https://lists.freedesktop.org/archives/mesa-announce/2022-March/000667.html https://lists.freedesktop.org/archives/mesa-announce/2022-March/000665.html https://www.phoronix.com/scan.php?page=news_item&px=Mesa-22.0-Released Upstream removed all DRI-based drivers: https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Classic-Retired Signed-off-by: Bernd Kuhls --- Config.in.legacy | 24 +++++++ package/mesa3d-headers/mesa3d-headers.mk | 12 +--- package/mesa3d/Config.in | 69 ++----------------- package/mesa3d/mesa3d.hash | 8 +-- package/mesa3d/mesa3d.mk | 16 +---- .../x11r7/xdriver_xf86-video-amdgpu/Config.in | 4 +- .../x11r7/xdriver_xf86-video-ati/Config.in | 1 - .../xdriver_xf86-video-imx-viv/Config.in | 1 - .../xdriver_xf86-video-intel.mk | 8 --- .../xdriver_xf86-video-mach64.mk | 4 -- .../xdriver_xf86-video-mga.mk | 4 -- .../xdriver_xf86-video-nouveau/Config.in | 1 - .../xdriver_xf86-video-openchrome/Config.in | 4 -- .../xdriver_xf86-video-r128.mk | 4 -- .../xdriver_xf86-video-savage.mk | 4 -- .../xdriver_xf86-video-sis.mk | 4 -- .../xdriver_xf86-video-tdfx.mk | 4 -- 17 files changed, 36 insertions(+), 136 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27f19f14e7..c10b299f37 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,30 @@ endif comment "Legacy options removed in 2022.05" +config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 + bool "mesa DRI i915 driver removed" + select BR2_LEGACY + help + The DRI i915 driver was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965 + bool "mesa DRI i965 driver removed" + select BR2_LEGACY + help + The DRI i965 driver was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU + bool "mesa DRI nouveau driver removed" + select BR2_LEGACY + help + The DRI radeon nouveau was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON + bool "mesa DRI radeon r100 driver removed" + select BR2_LEGACY + help + The DRI radeon r100 driver was removed upstream. + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/package/mesa3d-headers/mesa3d-headers.mk b/package/mesa3d-headers/mesa3d-headers.mk index 760c5368e5..2fa0370f96 100644 --- a/package/mesa3d-headers/mesa3d-headers.mk +++ b/package/mesa3d-headers/mesa3d-headers.mk @@ -12,7 +12,7 @@ endif # Not possible to directly refer to mesa3d variables, because of # first/second expansion trickery... -MESA3D_HEADERS_VERSION = 21.3.8 +MESA3D_HEADERS_VERSION = 22.0.2 MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz MESA3D_HEADERS_SITE = https://archive.mesa3d.org MESA3D_HEADERS_DL_SUBDIR = mesa3d @@ -33,19 +33,9 @@ MESA3D_HEADERS_DIRS += GL ifeq ($(BR2_PACKAGE_XORG7),y) -# Not using $(SED) because we do not want to work in-place, and $(SED) -# contains -i. -define MESA3D_HEADERS_BUILD_DRI_PC - sed -e 's:@VERSION@:$(MESA3D_HEADERS_VERSION):' \ - package/mesa3d-headers/dri.pc \ - >$(@D)/src/mesa/drivers/dri/dri.pc -endef - define MESA3D_HEADERS_INSTALL_DRI_PC $(INSTALL) -D -m 0644 $(@D)/include/GL/internal/dri_interface.h \ $(STAGING_DIR)/usr/include/GL/internal/dri_interface.h - $(INSTALL) -D -m 0644 $(@D)/src/mesa/drivers/dri/dri.pc \ - $(STAGING_DIR)/usr/lib/pkgconfig/dri.pc endef endif # Xorg diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index e41da562dc..7468c2c804 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -63,16 +63,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER bool select BR2_PACKAGE_MESA3D_DRIVER -config BR2_PACKAGE_MESA3D_DRI_DRIVER - bool - select BR2_PACKAGE_MESA3D_DRI3 if \ - (BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4 && \ - !BR2_RISCV_32) - select BR2_PACKAGE_MESA3D_DRIVER - select BR2_PACKAGE_MESA3D_GBM if \ - !BR2_PACKAGE_MESA3D_OPENGL_GLX && \ - !BR2_PACKAGE_MESA3D_OPENGL_EGL - config BR2_PACKAGE_MESA3D_VULKAN_DRIVER bool select BR2_PACKAGE_MESA3D_DRIVER @@ -134,16 +124,11 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915 bool "Gallium i915 driver" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_LIBDRM_INTEL help Support for i915-based Intel GPUs. -comment "Gallium i915: Only one i915 provider can be built" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 - config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS bool "Gallium iris driver" depends on BR2_i386 || BR2_x86_64 @@ -330,49 +315,6 @@ comment "Gallium XvMC state tracker needs X.org and gallium drivers r600 or nouv !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600) -comment "DRI drivers" - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 - bool "DRI i915 driver" - depends on BR2_i386 || BR2_x86_64 - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_INTEL - help - Support for i915-based Intel GPUs. - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965 - bool "DRI i965 driver" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_INTEL - help - Support for i965-based Intel GPUs. - -comment "DRI i965 driver needs a toolchain w/ headers >= 3.17" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU - bool "DRI nouveau driver" - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_NOUVEAU - help - Support for Nvidia-based GPUs. - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON - bool "DRI radeon r100 driver" - depends on BR2_i386 || BR2_x86_64 - # libdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating - # that dependency here causes a circular dependency that Kconfig - # can't see is just spurious. However, that dependency is about - # the toolchain having sync4 primitives, which is always a given - # for i386 and x86_64. - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_RADEON - help - Legacy Radeon driver for R100 series GPUs. - comment "Vulkan drivers" config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL @@ -406,17 +348,16 @@ comment "OpenGL API Support" config BR2_PACKAGE_MESA3D_GBM bool "gbm" - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER \ - || (BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) + depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && \ + BR2_PACKAGE_MESA3D_OPENGL_EGL select BR2_PACKAGE_HAS_LIBGBM select BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF help Enable Generic Buffer Management (gbm) -comment "gbm support needs a dri driver or a gallium driver w/ EGL support." - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER \ - && !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) +comment "gbm support needs a gallium driver w/ EGL support." + depends on !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) config BR2_PACKAGE_MESA3D_OPENGL_GLX bool "OpenGL GLX" @@ -432,7 +373,7 @@ comment "OpenGL GLX support needs X11" config BR2_PACKAGE_MESA3D_OPENGL_EGL bool "OpenGL EGL" - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_HAS_LIBEGL if !BR2_PACKAGE_LIBGLVND select BR2_PACKAGE_LIBGLVND_DISPATCH_EGL if BR2_PACKAGE_LIBGLVND select BR2_PACKAGE_HAS_LIBEGL_WAYLAND diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash index 5b74e14fef..6f06c85760 100644 --- a/package/mesa3d/mesa3d.hash +++ b/package/mesa3d/mesa3d.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/mesa-announce/2022-March/000666.html -sha256 e70d273bdc53a4e931871bb5550ba3900e6a3deab2fff64184107c33e92d9da7 mesa-21.3.8.tar.xz -sha512 0462c44fa8e358dafd03088411452bc172a365902795b3198df1e6cfbf1d87675ef5b72b572de7f15e5ee87b30ce5b2f217c81ea72b376962f6428c6ff83f2e9 mesa-21.3.8.tar.xz +# From https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html +sha256 df4fa560dcce6680133067cd15b0505fc424ca703244ce9ab247c74d2fab6885 mesa-22.0.2.tar.xz +sha512 939ddf9acd280e1b20b3540349b3ad07bbeee5d821198f1d667e86634449bf5d0a0df5832753b8b3f8816709c2f02959cce25f3d26a33cc758dd8e25d158ddb8 mesa-22.0.2.tar.xz # License -sha256 998437f3f75f0c542046f83c1cb349408122268168fb13eb4ae6967aa18b7d98 docs/license.rst +sha256 4bc15d14dcc134b024cbdca3b5330010136ce8a427b6f8353440ce2ad7aab037 docs/license.rst diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index a1015a7dae..41c8d80daf 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -5,7 +5,7 @@ ################################################################################ # When updating the version, please also update mesa3d-headers -MESA3D_VERSION = 21.3.8 +MESA3D_VERSION = 22.0.2 MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz MESA3D_SITE = https://archive.mesa3d.org MESA3D_LICENSE = MIT, SGI, Khronos @@ -115,11 +115,6 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA) += tegra MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D) += v3d MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) += vc4 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl -# DRI Drivers -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I915) += i915 -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I965) += i965 -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU) += nouveau -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON) += r100 # Vulkan Drivers MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL) += intel @@ -134,15 +129,6 @@ MESA3D_CONF_OPTS += \ -Dgallium-extra-hud=true endif -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -MESA3D_CONF_OPTS += \ - -Ddri-drivers= -else -MESA3D_CONF_OPTS += \ - -Dshared-glapi=enabled \ - -Ddri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y)) -endif - ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),) MESA3D_CONF_OPTS += \ -Dvulkan-drivers= diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in index c42255f55c..14c36930d5 100644 --- a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in +++ b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU bool "xf86-video-amdgpu" depends on BR2_USE_MMU # libdrm - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_AMDGPU @@ -13,5 +12,4 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU comment "xf86-video-amdgpu needs egl/opengl support from mesa3d" depends on BR2_USE_MMU - depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ - !BR2_PACKAGE_MESA3D_DRI_DRIVER + depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in index 1246014dca..090e00dad5 100644 --- a/package/x11r7/xdriver_xf86-video-ati/Config.in +++ b/package/x11r7/xdriver_xf86-video-ati/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI depends on BR2_PACKAGE_MESA3D select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_RADEON - select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON select BR2_PACKAGE_XLIB_LIBXCOMPOSITE select BR2_PACKAGE_XORGPROTO help diff --git a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in index 13cee14deb..5f6e2bdf77 100644 --- a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in +++ b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV depends on BR2_PACKAGE_IMX_GPU_G2D depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d select BR2_PACKAGE_MESA3D # Needed in order to compile xorg with glx/dri - select BR2_PACKAGE_MESA3D_DRI_DRIVER select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_XORGPROTO help diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk index d911234c92..03b4221e57 100644 --- a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk +++ b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk @@ -31,12 +31,4 @@ XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \ xorgproto \ xserver_xorg-server -# X.org server support for DRI depends on a Mesa3D DRI driver -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y) -XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \ - --enable-dri2 \ - --enable-dri3 \ - --enable-uxa -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk b/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk index eee8fec2e8..bc7b347eac 100644 --- a/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk +++ b/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_MACH64_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_MACH64_AUTORECONF = YES XDRIVER_XF86_VIDEO_MACH64_DEPENDENCIES = xserver_xorg-server xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk b/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk index 3c668a5c98..96ca5e0578 100644 --- a/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk +++ b/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_MGA_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_MGA_AUTORECONF = YES XDRIVER_XF86_VIDEO_MGA_DEPENDENCIES = xserver_xorg-server libdrm xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_MGA_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-nouveau/Config.in b/package/x11r7/xdriver_xf86-video-nouveau/Config.in index c9fd2e3d2f..a68f85c781 100644 --- a/package/x11r7/xdriver_xf86-video-nouveau/Config.in +++ b/package/x11r7/xdriver_xf86-video-nouveau/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU bool "xf86-video-nouveau" depends on BR2_PACKAGE_MESA3D - select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_NOUVEAU select BR2_PACKAGE_XORGPROTO diff --git a/package/x11r7/xdriver_xf86-video-openchrome/Config.in b/package/x11r7/xdriver_xf86-video-openchrome/Config.in index a93d14376b..6b2e236f00 100644 --- a/package/x11r7/xdriver_xf86-video-openchrome/Config.in +++ b/package/x11r7/xdriver_xf86-video-openchrome/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME bool "xf86-video-openchrome" - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXCOMPOSITE @@ -11,6 +10,3 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME VIA/S3G UniChrome and UniChrome Pro graphics chipsets. https://www.freedesktop.org/wiki/Openchrome/ - -comment "xf86-video-openchrome needs a DRI driver from mesa3d" - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER diff --git a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk index 690041d4c6..51435c9389 100644 --- a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk +++ b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk @@ -11,8 +11,4 @@ XDRIVER_XF86_VIDEO_R128_LICENSE = MIT XDRIVER_XF86_VIDEO_R128_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_R128_DEPENDENCIES = xserver_xorg-server xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_R128_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk b/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk index 102aa2c48e..2306c14915 100644 --- a/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk +++ b/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk index f96b0a9d0e..e05573de1f 100644 --- a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk +++ b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk @@ -11,8 +11,4 @@ XDRIVER_XF86_VIDEO_SIS_LICENSE = MIT XDRIVER_XF86_VIDEO_SIS_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_SIS_DEPENDENCIES = xserver_xorg-server libdrm xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_SIS_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk b/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk index 14c40e4d89..b9e57705ae 100644 --- a/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk +++ b/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk @@ -15,8 +15,4 @@ XDRIVER_XF86_VIDEO_TDFX_DEPENDENCIES = \ xorgproto \ xserver_xorg-server -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_TDFX_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) -- 2.30.2 From joseph.kogut at gmail.com Fri Apr 22 18:14:17 2022 From: joseph.kogut at gmail.com (Joseph Kogut) Date: Fri, 22 Apr 2022 11:14:17 -0700 Subject: [Buildroot] [PATCH 1/2] package/nghttp2: add host variant Message-ID: <20220422181418.2411463-1-joseph.kogut@gmail.com> Signed-off-by: Joseph Kogut --- package/nghttp2/nghttp2.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/nghttp2/nghttp2.mk b/package/nghttp2/nghttp2.mk index 9190fa30d6..5f46f24431 100644 --- a/package/nghttp2/nghttp2.mk +++ b/package/nghttp2/nghttp2.mk @@ -21,3 +21,4 @@ endef NGHTTP2_POST_INSTALL_TARGET_HOOKS += NGHTTP2_INSTALL_CLEAN_HOOK $(eval $(autotools-package)) +$(eval $(host-autotools-package)) -- 2.36.0 From joseph.kogut at gmail.com Fri Apr 22 18:14:18 2022 From: joseph.kogut at gmail.com (Joseph Kogut) Date: Fri, 22 Apr 2022 11:14:18 -0700 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: <20220422181418.2411463-1-joseph.kogut@gmail.com> References: <20220422181418.2411463-1-joseph.kogut@gmail.com> Message-ID: <20220422181418.2411463-2-joseph.kogut@gmail.com> This fixes building host-libcurl, which otherwise would fail with undefined references to nghttp2 symbols. /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' collect2: error: ld returned 1 exit status Signed-off-by: Joseph Kogut --- package/libcurl/libcurl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 97857954db..d5805a1d32 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -173,7 +173,7 @@ endef LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP endif -HOST_LIBCURL_DEPENDENCIES = host-openssl +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 HOST_LIBCURL_CONF_OPTS = \ --disable-manual \ --disable-ntlm-wb \ -- 2.36.0 From flaniel at linux.microsoft.com Fri Apr 22 18:16:10 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 19:16:10 +0100 Subject: [Buildroot] [RFC PATCH v1 0/2] Use host-libbpf for host-pahole. Message-ID: <20220422181612.51246-1-flaniel@linux.microsoft.com> Hi. Following a failed build involving libbpf, Thomas Pettazzoni suggested me to remove git submodule from host-pahole to build it the "buildroot way". So, in this contribution, I first added host recipe to libbpf. Then, I removed git submobule used by host-pahole to get libbpf to instead use host-libbpf. I was able to build and run a qemu image: Welcome to Buildroot buildroot login: root # zcat /proc/config.gz | grep BTF CONFIG_DEBUG_INFO_BTF=y CONFIG_PAHOLE_HAS_SPLIT_BTF=y CONFIG_DEBUG_INFO_BTF_MODULES=y Nonetheless, I am not really happy with this contribution as I had to add a bad tweak removing a header file installed by host-libbpf to avoid a kernel build error: So, I marked this contribution as RFC to get your opinions about it. Francis Laniel (2): package/libbpf: build for host package/pahole: use commit 73383b3a39af linux/linux.mk | 11 +++++++++++ package/libbpf/libbpf.mk | 7 +++++++ package/pahole/pahole.hash | 2 +- package/pahole/pahole.mk | 14 +++++++------- 4 files changed, 26 insertions(+), 8 deletions(-) Best regards and thank you in advance. -- 2.25.1 From flaniel at linux.microsoft.com Fri Apr 22 18:16:11 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 19:16:11 +0100 Subject: [Buildroot] [RFC PATCH v1 1/2] package/libbpf: build for host In-Reply-To: <20220422181612.51246-1-flaniel@linux.microsoft.com> References: <20220422181612.51246-1-flaniel@linux.microsoft.com> Message-ID: <20220422181612.51246-2-flaniel@linux.microsoft.com> Signed-off-by: Francis Laniel --- package/libbpf/libbpf.mk | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/package/libbpf/libbpf.mk b/package/libbpf/libbpf.mk index d6914757d7..709277fac4 100644 --- a/package/libbpf/libbpf.mk +++ b/package/libbpf/libbpf.mk @@ -10,6 +10,7 @@ LIBBPF_LICENSE = GPL-2.0, LGPL-2.1, BSD-2-Clause LIBBPF_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1 LIBBPF_CPE_ID_VENDOR = libbpf_project LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf elfutils zlib +HOST_LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf host-elfutils host-zlib LIBBPF_INSTALL_STAGING = YES define LIBBPF_BUILD_CMDS @@ -38,4 +39,28 @@ define LIBBPF_INSTALL_TARGET_CMDS -C $(@D)/src install DESTDIR=$(TARGET_DIR) endef +define HOST_LIBBPF_INSTALL_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install install_uapi_headers DESTDIR=$(HOST_DIR) + + # We need to install_uapi_headers so we have btf.h to compile + # host-pahole. + # Nonetheless, this target adds bpf.h which generates a conflict when + # building the kernel: + # In file included from libbpf_internal.h:17:0, from strset.c:9: + # relo_core.h:10:6: error: nested redefinition of ?enum bpf_core_relo_kind? + # enum bpf_core_relo_kind { + # ^~~~~~~~~~~~~~~~~~ + # relo_core.h:10:6: error: redeclaration of ?enum bpf_core_relo_kind? + # In file included from libbpf_legacy.h:13:0, + # from libbpf_internal.h:16, + # from strset.c:9: + # /home/francis/buildroot/output/host/include/linux/bpf.h:6497:6: note: originally defined here + # enum bpf_core_relo_kind { + # So, better to remove remove it now since we do not need it to build + # host-pahole. + rm $(HOST_DIR)/include/linux/bpf.h +endef + $(eval $(generic-package)) +$(eval $(host-generic-package)) -- 2.25.1 From flaniel at linux.microsoft.com Fri Apr 22 18:16:12 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 19:16:12 +0100 Subject: [Buildroot] [RFC PATCH v1 2/2] package/pahole: use commit 73383b3a39af In-Reply-To: <20220422181612.51246-1-flaniel@linux.microsoft.com> References: <20220422181612.51246-1-flaniel@linux.microsoft.com> Message-ID: <20220422181612.51246-3-flaniel@linux.microsoft.com> This modification uses buildroot host-libbpf instead of pahole libbpf git submodule. Also, it nows uses commit: 73383b3a39af ("libbpf: Update libbpf to the latest git HEAD") To avoid compile errors due to use of depecrated APIs (like btf__get_nr_types). A build pre hook was also added to Linux to avoid conflicts regarding bpf.h which added to HOST_DIR by host-libbpf. Signed-off-by: Francis Laniel --- package/pahole/pahole.hash | 2 +- package/pahole/pahole.mk | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package/pahole/pahole.hash b/package/pahole/pahole.hash index 420db15e75..8e5560b5e7 100644 --- a/package/pahole/pahole.hash +++ b/package/pahole/pahole.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 cde85af68b368f50a913be387f94f6b43612a04af6c92387b4dcabb712a668fe pahole-v1.23-br1.tar.gz +sha256 3531396c0568793ef8ca1a2fbb44ef2e1e81bdd55496a4487b83ba4d95df9d99 pahole-73383b3a39afe86b22e098773e47b8546c48a649.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index da6d67e6a2..199fa8cc11 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -4,14 +4,14 @@ # ################################################################################ -PAHOLE_VERSION = v1.23 -PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git -PAHOLE_SITE_METHOD = git -# pahole contains git submodule and relies on them to be built. -PAHOLE_GIT_SUBMODULES = YES -HOST_PAHOLE_DEPENDENCIES = host-elfutils +PAHOLE_VERSION = 73383b3a39afe86b22e098773e47b8546c48a649 +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot +HOST_PAHOLE_DEPENDENCIES = \ + host-elfutils \ + host-libbpf # Defining __LIB is needed to build pahole. -HOST_PAHOLE_CONF_OPTS = -D__LIB=lib +# Set LIBBPF_EMBEDDED to OFF to use host-libbpf. +HOST_PAHOLE_CONF_OPTS = -D__LIB=lib -DLIBBPF_EMBEDDED=OFF PAHOLE_LICENSE = GPL-2.0 PAHOLE_LICENSE_FILES = COPYING -- 2.25.1 From aperez at igalia.com Fri Apr 22 18:44:31 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Fri, 22 Apr 2022 21:44:31 +0300 Subject: [Buildroot] [PATCH 1/1] package/webkitgtk: bump to version 2.36.1 Message-ID: <20220422184431.3471788-1-aperez@igalia.com> Bugfix release, with the usual flurry of correctness fixes, and a patch to fix the build with the accessibility support disabled. Release notes: https://webkitgtk.org/2022/04/21/webkitgtk2.36.1-released.html Signed-off-by: Adrian Perez de Castro --- package/webkitgtk/webkitgtk.hash | 8 ++++---- package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 38068745ee..00a342ed7f 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums -md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz -sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz -sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.36.1.tar.xz.sums +md5 e6100df7f82d95a4e65176b10f5ab011 webkitgtk-2.36.1.tar.xz +sha1 36a95b906e54bcf94d2be04e1cbaac3584da7eb1 webkitgtk-2.36.1.tar.xz +sha256 0149ea5fb1d20f2a9981677d45c952a047330001ea24a8dc29035239f12c0c8f webkitgtk-2.36.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index eca175d1bd..9e85c5b78f 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.36.0 +WEBKITGTK_VERSION = 2.36.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES -- 2.36.0 From aperez at igalia.com Fri Apr 22 18:50:15 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Fri, 22 Apr 2022 21:50:15 +0300 Subject: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.1 Message-ID: <20220422185015.3486540-1-aperez@igalia.com> Bugfix release, with the usual flurry of correctness fixes, and a patch to fix the build with the accessibility support disabled. Release notes: https://wpewebkit.org/release/wpewebkit-2.36.1.html Signed-off-by: Adrian Perez de Castro --- package/wpewebkit/wpewebkit.hash | 8 ++++---- package/wpewebkit/wpewebkit.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash index 1e1aa62117..3923c32111 100644 --- a/package/wpewebkit/wpewebkit.hash +++ b/package/wpewebkit/wpewebkit.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums -md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz -sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz -sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz +# From https://wpewebkit.org/releases/wpewebkit-2.36.1.tar.xz.sums +md5 7ba1c7fd0f67891ad137d11cac12f7a9 wpewebkit-2.36.1.tar.xz +sha1 0918a4daded01f42e65ec02a69f21cd6705311db wpewebkit-2.36.1.tar.xz +sha256 ec83d8b2f8c3479ce9950d69440f3b9876ab70200fe6f4e07686054a0cba5723 wpewebkit-2.36.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index df29d6f170..9c9a9a2838 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEWEBKIT_VERSION = 2.36.0 +WPEWEBKIT_VERSION = 2.36.1 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz WPEWEBKIT_INSTALL_STAGING = YES -- 2.36.0 From ariel.dalessandro at collabora.com Fri Apr 22 19:22:36 2022 From: ariel.dalessandro at collabora.com (Ariel D'Alessandro) Date: Fri, 22 Apr 2022 16:22:36 -0300 Subject: [Buildroot] [PATCH V3] board: Add support for iMX8MN BSH SMM S2 PRO In-Reply-To: References: <20220131145555.2819020-1-michael@amarulasolutions.com> Message-ID: On 2/12/22 09:42, Arnout Vandecappelle wrote: > > > On 12/02/2022 13:36, Michael Nazzareno Trimarchi wrote: >> Hi >> >> On Sat, Feb 12, 2022 at 1:10 PM Arnout Vandecappelle >> wrote: >>> >>> >>> >>> On 31/01/2022 15:55, Michael Trimarchi wrote: >>>> Add initial support for iMX8MN BSH SMM S2 PRO board: >>>> >>>> - Linux: v5.17-rc1 >>> >>> ?? I'm a bit uncomfortable to add an -rc version. But I guess it can >>> be updated >>> as soon as 5.17 is released. >> >> Ok, I will then wait > > ?No, what I meant to say is: it's OK to do it with the -rc, just make > sure that you update it to the release version when it comes around > (which will still be another 8-ish weeks). Support is now almost completely merged upstream for kernel and u-boot. We could update the patch to pull from: * linux: v5.17 (audio for this board is enabled in v5.18-rc3) * u-boot: v2022.07-rc1 (released on Mon 25 April 2022, 2 days remaining) We can update later on the linux release to include to whole support and at least we can get rid of the custom u-boot repo/branch. Regards, Ariel From michael at amarulasolutions.com Fri Apr 22 21:17:43 2022 From: michael at amarulasolutions.com (Michael Nazzareno Trimarchi) Date: Fri, 22 Apr 2022 23:17:43 +0200 Subject: [Buildroot] [PATCH V3] board: Add support for iMX8MN BSH SMM S2 PRO In-Reply-To: References: <20220131145555.2819020-1-michael@amarulasolutions.com> Message-ID: Hi Ariel On Fri, Apr 22, 2022 at 9:22 PM Ariel D'Alessandro wrote: > > > > On 2/12/22 09:42, Arnout Vandecappelle wrote: > > > > > > On 12/02/2022 13:36, Michael Nazzareno Trimarchi wrote: > >> Hi > >> > >> On Sat, Feb 12, 2022 at 1:10 PM Arnout Vandecappelle > >> wrote: > >>> > >>> > >>> > >>> On 31/01/2022 15:55, Michael Trimarchi wrote: > >>>> Add initial support for iMX8MN BSH SMM S2 PRO board: > >>>> > >>>> - Linux: v5.17-rc1 > >>> > >>> I'm a bit uncomfortable to add an -rc version. But I guess it can > >>> be updated > >>> as soon as 5.17 is released. > >> > >> Ok, I will then wait > > > > No, what I meant to say is: it's OK to do it with the -rc, just make > > sure that you update it to the release version when it comes around > > (which will still be another 8-ish weeks). > > Support is now almost completely merged upstream for kernel and u-boot. > We could update the patch to pull from: > > * linux: v5.17 (audio for this board is enabled in v5.18-rc3) > * u-boot: v2022.07-rc1 (released on Mon 25 April 2022, 2 days remaining) > > We can update later on the linux release to include to whole support and > at least we can get rid of the custom u-boot repo/branch. > Ok, sorry I was busy. I will resend them with your suggestion Michael > Regards, > Ariel -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 michael at amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 info at amarulasolutions.com www.amarulasolutions.com From fontaine.fabrice at gmail.com Fri Apr 22 21:21:16 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 23:21:16 +0200 Subject: [Buildroot] [PATCH v2, 1/2] package/netsurf: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> Disable duktape with BR2_OPTIMIZE_FAST to fix the following build failure: In file included from content/handlers/javascript/duktape/duktape.h:195, from build/Linux-framebuffer/duktape/application_cache.c:21: content/handlers/javascript/duktape/duk_config.h:2861:2: error: #error __FAST_MATH__ defined, refusing to compile 2861 | #error __FAST_MATH__ defined, refusing to compile | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/2f1b42e2be3aa76cbacd84f3d0ad8b13edce6982 Signed-off-by: Fabrice Fontaine --- package/netsurf/netsurf.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 1064698c12..574c1423df 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -14,6 +14,17 @@ NETSURF_CPE_ID_VENDOR = netsurf-browser NETSURF_DEPENDENCIES = expat jpeg libpng \ host-bison host-flex host-gperf host-pkgconf host-vim +# internal duktape doesn't build with BR2_OPTIMIZE_FAST +ifeq ($(BR2_OPTIMIZE_FAST),y) +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := NO" >> $(@D)/netsurf/Makefile.config +endef +else +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := YES" >> $(@D)/netsurf/Makefile.config +endef +endif + ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) NETSURF_DEPENDENCIES += libgtk2 NETSURF_FRONTEND = gtk2 @@ -77,6 +88,7 @@ endef endif define NETSURF_CONFIGURE_CMDS + $(NETSURF_DUKTAPE_CONFIGURE_CMDS) $(NETSURF_ICONV_CONFIGURE_CMDS) $(NETSURF_SVG_CONFIGURE_CMDS) $(NETSURF_FONTLIB_CONFIGURE_CMDS) -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 22 21:21:17 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 23:21:17 +0200 Subject: [Buildroot] [PATCH v2,2/2] package/netsurf: fix build with ccache In-Reply-To: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> References: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> Message-ID: <20220422212117.1291718-2-fontaine.fabrice@gmail.com> Update second patch to fix the following build failure with ccache: /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. Fixes: - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Arnout Vandecappelle): - Update patch instead of using HOST_NOCCACHE) package/netsurf/0002-do-not-cross-compile-nsgenbind.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch index 2d4637511e..7caad47a20 100644 --- a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch +++ b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch @@ -8,6 +8,8 @@ the build, so it should not be built with the cross-compiler, but with the native compiler. Signed-off-by: Francois Perrad +[Fabrice: add quotes around BUILD_CC to fix build with ccache] +Signed-off-by: Fabrice Fontaine --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) @@ -21,7 +23,7 @@ index f279f01..5698c87 100644 # prefixed install macro for each host sub target define do_build_prefix_install - $(MAKE) install --directory=$1 HOST=$(BUILD) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= -+ $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= ++ $(MAKE) install --directory=$1 HOST=$(BUILD) CC="$(BUILD_CC)" PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= endef -- 2.35.1 From aperez at igalia.com Fri Apr 22 21:49:16 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Sat, 23 Apr 2022 00:49:16 +0300 Subject: [Buildroot] [PATCH 0/3] Update wlroots to the latest release Message-ID: <20220422214919.367067-1-aperez@igalia.com> Hi, This is a small patch set which brings wlroots library to its most recent version, fixing the cage compositor with a backported patch (as there is no newer release yet). I am adding one additional patch that enables the new Vulkan renderer when any of Mesa's Vulkan drivers is selected, too. I don't expect the two first patches of the set to be controversial, but dunno about the Vulkan one. If there are doubts, I suppose the first two could be merged anyway, leaving the other out for further discussion. One more thing: With wlroots 0.15.x it is finally possible to disable building the accelerated renderers (GLESv2, Vulkan) and have only the software based one (Pixman) built into wlroots. Currently I do not have the need for such a configuration, and therefore I am not planning to send a patch to allow that for now. On the other hand, if anyone wanted to try writing the patch, I would be more than happy to review it :-) Cheers, -Adrian Adrian Perez de Castro (3): package/wlroots: bump to version 0.15.1 package/cage: add upstream patch for wlroots 0.15.x package/wlroots: enable vulkan renderer if possible .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ++++++++++++++++++ package/wlroots/Config.in | 2 +- package/wlroots/wlroots.hash | 4 +- package/wlroots/wlroots.mk | 29 +- 4 files changed, 332 insertions(+), 15 deletions(-) create mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch -- 2.36.0 From aperez at igalia.com Fri Apr 22 21:49:17 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Sat, 23 Apr 2022 00:49:17 +0300 Subject: [Buildroot] [PATCH 1/3] package/wlroots: bump to version 0.15.1 In-Reply-To: <20220422214919.367067-1-aperez@igalia.com> References: <20220422214919.367067-1-aperez@igalia.com> Message-ID: <20220422214919.367067-2-aperez@igalia.com> Update to version 0.15.1, and adapt to upstream changes: - Adapted from the old -Dfoo-backend Meson option to the new -Dbackends one, which is an array. The set of always enabled backends matches the previous selection: drm+libinput always enabled, x11 only if selected. - Removed the libpng and ffmpeg dependency, which are no longer needed with examples disabled (which is always the case for Buildroot). - Changed homepage and download site URLs to the FreeDesktop.org GitLab. This release changes the API/ABI, and applications which use wlroots must be adapted and rebuilt. Currently in Buildroot we have only the cage compositor, to be updated in a follow-up patch. Signed-off-by: Adrian Perez de Castro --- package/wlroots/Config.in | 2 +- package/wlroots/wlroots.hash | 4 ++-- package/wlroots/wlroots.mk | 19 ++++++++----------- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/package/wlroots/Config.in b/package/wlroots/Config.in index 8d485992f5..84a4ef846e 100644 --- a/package/wlroots/Config.in +++ b/package/wlroots/Config.in @@ -27,7 +27,7 @@ config BR2_PACKAGE_WLROOTS wlroots is a modular Wayland library for building compositors which implements many of their common features. - https://github.com/swaywm/wlroots + https://gitlab.freedesktop.org/wlroots/wlroots if BR2_PACKAGE_WLROOTS diff --git a/package/wlroots/wlroots.hash b/package/wlroots/wlroots.hash index fdebe1ef68..04bbd65e43 100644 --- a/package/wlroots/wlroots.hash +++ b/package/wlroots/wlroots.hash @@ -1,5 +1,5 @@ -# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.14.1/wlroots-0.14.1.tar.gz.sig -sha256 448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db wlroots-0.14.1.tar.gz +# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.15.1/downloads/wlroots-0.15.1.tar.gz.sig +sha256 5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373 wlroots-0.15.1.tar.gz # Hashes for license files: sha256 ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b LICENSE diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index 89d5024176..baa1edd9e1 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -4,8 +4,8 @@ # ################################################################################ -WLROOTS_VERSION = 0.14.1 -WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION) +WLROOTS_VERSION = 0.15.1 +WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads WLROOTS_LICENSE = MIT WLROOTS_LICENSE_FILES = LICENSE WLROOTS_INSTALL_STAGING = YES @@ -25,19 +25,16 @@ WLROOTS_DEPENDENCIES = \ WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 -ifeq ($(BR2_PACKAGE_FFMPEG),y) -WLROOTS_DEPENDENCIES += ffmpeg -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -WLROOTS_DEPENDENCIES += libpng -endif +WLROOTS_BACKENDS = libinput drm ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) -WLROOTS_CONF_OPTS += -Dx11-backend=enabled -Dxwayland=enabled +WLROOTS_BACKENDS += x11 +WLROOTS_CONF_OPTS += -Dxwayland=enabled WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11 else -WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled +WLROOTS_CONF_OPTS += -Dxwayland=disabled endif +WLROOTS_CONF_OPTS += -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) + $(eval $(meson-package)) -- 2.36.0 From aperez at igalia.com Fri Apr 22 21:49:18 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Sat, 23 Apr 2022 00:49:18 +0300 Subject: [Buildroot] [PATCH 2/3] package/cage: add upstream patch for wlroots 0.15.x In-Reply-To: <20220422214919.367067-1-aperez@igalia.com> References: <20220422214919.367067-1-aperez@igalia.com> Message-ID: <20220422214919.367067-3-aperez@igalia.com> Add a backported patch from the upstream repository which makes cage usable with wlroots 0.15.x. Signed-off-by: Adrian Perez de Castro --- .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ++++++++++++++++++ 1 file changed, 312 insertions(+) create mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch diff --git a/package/cage/0001-Upgrade-to-wlroots-0.15.patch b/package/cage/0001-Upgrade-to-wlroots-0.15.patch new file mode 100644 index 0000000000..a5716ede43 --- /dev/null +++ b/package/cage/0001-Upgrade-to-wlroots-0.15.patch @@ -0,0 +1,312 @@ +From e51bef3fdad649d453276717294cc6177666cf5a Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Wed, 11 Aug 2021 11:31:14 +0200 +Subject: [PATCH] Upgrade to wlroots 0.15 + +- Update wlr_box includes to util/box.h: the wlroots header has + been moved upstream. +- Subsurface fields have been moved +- Create renderer and allocator, stop using wlr_backend_get_renderer +- Initalize output rendering + +Signed-off-by: Adrian Perez de Castro +Upstream status: https://github.com/Hjdskes/cage/commit/395189fb051ed722c7b10b6cb11caa8f6904079c +--- + cage.c | 21 +++++++++++++++++---- + meson.build | 2 +- + output.c | 5 +++++ + render.c | 26 ++++++++------------------ + server.h | 2 ++ + util.c | 2 -- + util.h | 2 +- + view.c | 5 ++--- + view.h | 2 +- + xdg_shell.c | 1 - + xwayland.c | 1 - + 11 files changed, 37 insertions(+), 32 deletions(-) + +diff --git a/cage.c b/cage.c +index 5392535..f9db7a9 100644 +--- a/cage.c ++++ b/cage.c +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -261,7 +262,6 @@ main(int argc, char *argv[]) + struct wl_event_source *sigint_source = NULL; + struct wl_event_source *sigterm_source = NULL; + struct wl_event_source *sigchld_source = NULL; +- struct wlr_renderer *renderer = NULL; + struct wlr_compositor *compositor = NULL; + struct wlr_data_device_manager *data_device_manager = NULL; + struct wlr_server_decoration_manager *server_decoration_manager = NULL; +@@ -316,8 +316,21 @@ main(int argc, char *argv[]) + goto end; + } + +- renderer = wlr_backend_get_renderer(server.backend); +- wlr_renderer_init_wl_display(renderer, server.wl_display); ++ server.renderer = wlr_renderer_autocreate(server.backend); ++ if (!server.renderer) { ++ wlr_log(WLR_ERROR, "Unable to create the wlroots renderer"); ++ ret = 1; ++ goto end; ++ } ++ ++ server.allocator = wlr_allocator_autocreate(server.backend, server.renderer); ++ if (!server.allocator) { ++ wlr_log(WLR_ERROR, "Unable to create the wlroots allocator"); ++ ret = 1; ++ goto end; ++ } ++ ++ wlr_renderer_init_wl_display(server.renderer, server.wl_display); + + wl_list_init(&server.views); + wl_list_init(&server.outputs); +@@ -329,7 +342,7 @@ main(int argc, char *argv[]) + goto end; + } + +- compositor = wlr_compositor_create(server.wl_display, renderer); ++ compositor = wlr_compositor_create(server.wl_display, server.renderer); + if (!compositor) { + wlr_log(WLR_ERROR, "Unable to create the wlroots compositor"); + ret = 1; +diff --git a/meson.build b/meson.build +index 3a84794..f2e5428 100644 +--- a/meson.build ++++ b/meson.build +@@ -34,7 +34,7 @@ if is_freebsd + ) + endif + +-wlroots = dependency('wlroots', version: '>= 0.14.0') ++wlroots = dependency('wlroots', version: '>= 0.15.0') + wayland_protos = dependency('wayland-protocols', version: '>=1.14') + wayland_server = dependency('wayland-server') + pixman = dependency('pixman-1') +diff --git a/output.c b/output.c +index d8da3b9..e8b3a22 100644 +--- a/output.c ++++ b/output.c +@@ -442,6 +442,11 @@ handle_new_output(struct wl_listener *listener, void *data) + struct cg_server *server = wl_container_of(listener, server, new_output); + struct wlr_output *wlr_output = data; + ++ if (!wlr_output_init_render(wlr_output, server->allocator, server->renderer)) { ++ wlr_log(WLR_ERROR, "Failed to initialize output rendering"); ++ return; ++ } ++ + struct cg_output *output = calloc(1, sizeof(struct cg_output)); + if (!output) { + wlr_log(WLR_ERROR, "Failed to allocate output"); +diff --git a/render.c b/render.c +index 166a088..ffa960f 100644 +--- a/render.c ++++ b/render.c +@@ -10,11 +10,11 @@ + #include + #include + #include +-#include + #include + #include + #include + #include ++#include + #include + #include + +@@ -27,8 +27,6 @@ + static void + scissor_output(struct wlr_output *output, pixman_box32_t *rect) + { +- struct wlr_renderer *renderer = wlr_backend_get_renderer(output->backend); +- + struct wlr_box box = { + .x = rect->x1, + .y = rect->y1, +@@ -41,7 +39,7 @@ scissor_output(struct wlr_output *output, pixman_box32_t *rect) + enum wl_output_transform transform = wlr_output_transform_invert(output->transform); + wlr_box_transform(&box, &box, transform, output_width, output_height); + +- wlr_renderer_scissor(renderer, &box); ++ wlr_renderer_scissor(output->renderer, &box); + } + + struct render_data { +@@ -52,8 +50,6 @@ static void + render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, struct wlr_texture *texture, + const struct wlr_box *box, const float matrix[static 9]) + { +- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); +- + pixman_region32_t damage; + pixman_region32_init(&damage); + pixman_region32_union_rect(&damage, &damage, box->x, box->y, box->width, box->height); +@@ -66,7 +62,7 @@ render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, + pixman_box32_t *rects = pixman_region32_rectangles(&damage, &nrects); + for (int i = 0; i < nrects; i++) { + scissor_output(wlr_output, &rects[i]); +- wlr_render_texture_with_matrix(renderer, texture, matrix, 1.0f); ++ wlr_render_texture_with_matrix(wlr_output->renderer, texture, matrix, 1.0f); + } + + damage_finish: +@@ -134,13 +130,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + struct cg_server *server = output->server; + struct wlr_output *wlr_output = output->wlr_output; + +- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); +- if (!renderer) { +- wlr_log(WLR_DEBUG, "Expected the output backend to have a renderer"); +- return; +- } +- +- wlr_renderer_begin(renderer, wlr_output->width, wlr_output->height); ++ wlr_renderer_begin(server->renderer, wlr_output->width, wlr_output->height); + + if (!pixman_region32_not_empty(damage)) { + wlr_log(WLR_DEBUG, "Output isn't damaged but needs a buffer swap"); +@@ -149,7 +139,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + + #ifdef DEBUG + if (server->debug_damage_tracking) { +- wlr_renderer_clear(renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); ++ wlr_renderer_clear(server->renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); + } + #endif + +@@ -158,7 +148,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + pixman_box32_t *rects = pixman_region32_rectangles(damage, &nrects); + for (int i = 0; i < nrects; i++) { + scissor_output(wlr_output, &rects[i]); +- wlr_renderer_clear(renderer, color); ++ wlr_renderer_clear(server->renderer, color); + } + + // TODO: render only top view, possibly use focused view for this, see #35. +@@ -178,8 +168,8 @@ renderer_end: + /* Draw software cursor in case hardware cursors aren't + available. This is a no-op when they are. */ + wlr_output_render_software_cursors(wlr_output, damage); +- wlr_renderer_scissor(renderer, NULL); +- wlr_renderer_end(renderer); ++ wlr_renderer_scissor(server->renderer, NULL); ++ wlr_renderer_end(server->renderer); + + int output_width, output_height; + wlr_output_transformed_resolution(wlr_output, &output_width, &output_height); +diff --git a/server.h b/server.h +index 817637b..74970c5 100644 +--- a/server.h ++++ b/server.h +@@ -25,6 +25,8 @@ struct cg_server { + struct wl_display *wl_display; + struct wl_list views; + struct wlr_backend *backend; ++ struct wlr_renderer *renderer; ++ struct wlr_allocator *allocator; + + struct cg_seat *seat; + struct wlr_idle *idle; +diff --git a/util.c b/util.c +index 95de499..714c7e3 100644 +--- a/util.c ++++ b/util.c +@@ -6,8 +6,6 @@ + * See the LICENSE file accompanying this file. + */ + +-#include +- + #include "util.h" + + int +diff --git a/util.h b/util.h +index db6bc7d..b6281f3 100644 +--- a/util.h ++++ b/util.h +@@ -1,7 +1,7 @@ + #ifndef CG_UTIL_H + #define CG_UTIL_H + +-#include ++#include + + /** Apply scale to a width or height. */ + int scale_length(int length, int offset, float scale); +diff --git a/view.c b/view.c +index 3f3b0ed..33b59b4 100644 +--- a/view.c ++++ b/view.c +@@ -12,7 +12,6 @@ + #include + #include + #include +-#include + #include + #include + +@@ -235,10 +234,10 @@ view_map(struct cg_view *view, struct wlr_surface *surface) + view->wlr_surface = surface; + + struct wlr_subsurface *subsurface; +- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_below, parent_link) { ++ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_below, current.link) { + subsurface_create(view, subsurface); + } +- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_above, parent_link) { ++ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_above, current.link) { + subsurface_create(view, subsurface); + } + +diff --git a/view.h b/view.h +index cd16e42..87477d0 100644 +--- a/view.h ++++ b/view.h +@@ -5,9 +5,9 @@ + + #include + #include +-#include + #include + #include ++#include + #if CAGE_HAS_XWAYLAND + #include + #endif +diff --git a/xdg_shell.c b/xdg_shell.c +index 2e42347..d676552 100644 +--- a/xdg_shell.c ++++ b/xdg_shell.c +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + +diff --git a/xwayland.c b/xwayland.c +index 2aae0f9..ebd8e54 100644 +--- a/xwayland.c ++++ b/xwayland.c +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + +-- +2.36.0 + -- 2.36.0 From aperez at igalia.com Fri Apr 22 21:49:19 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Sat, 23 Apr 2022 00:49:19 +0300 Subject: [Buildroot] [PATCH 3/3] package/wlroots: enable vulkan renderer if possible In-Reply-To: <20220422214919.367067-1-aperez@igalia.com> References: <20220422214919.367067-1-aperez@igalia.com> Message-ID: <20220422214919.367067-4-aperez@igalia.com> Enable the wlroots' Vulkan renderer if a suitable driver is being built. Currently only Mesa provides Vulkan drivers, so gating the feature on BR2_PACKAGE_MESA3D_VULKAN_DRIVER seems reasonable at the moment (and is done at least by one other package already: pipewire). Signed-off-by: Adrian Perez de Castro --- package/wlroots/wlroots.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index baa1edd9e1..4f14d20b11 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -23,8 +23,9 @@ WLROOTS_DEPENDENCIES = \ wayland \ wayland-protocols -WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 +WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled +WLROOTS_RENDERERS = gles2 WLROOTS_BACKENDS = libinput drm ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) @@ -35,6 +36,13 @@ else WLROOTS_CONF_OPTS += -Dxwayland=disabled endif -WLROOTS_CONF_OPTS += -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) +ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),y) +WLROOTS_RENDERERS += vulkan +WLROOTS_DEPENDENCIES += mesa3d +endif + +WLROOTS_CONF_OPTS += \ + -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) \ + -Drenderers=$(subst $(space),$(comma),$(strip $(WLROOTS_RENDERERS))) $(eval $(meson-package)) -- 2.36.0 From arnout at mind.be Fri Apr 22 21:56:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 22 Apr 2022 23:56:26 +0200 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: <20220422181418.2411463-2-joseph.kogut@gmail.com> References: <20220422181418.2411463-1-joseph.kogut@gmail.com> <20220422181418.2411463-2-joseph.kogut@gmail.com> Message-ID: <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> On 22/04/2022 20:14, Joseph Kogut wrote: > This fixes building host-libcurl, which otherwise would fail with > undefined references to nghttp2 symbols. > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' I guess this happens because it somehow finds libnghttp2 installed on the host but then fails to link with it? In any case, we don't actually need host-libcurl to be built with nghttp2 I think. So just pass --without-nghttp2. Regards, Arnout > > collect2: error: ld returned 1 exit status > > Signed-off-by: Joseph Kogut > --- > package/libcurl/libcurl.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > index 97857954db..d5805a1d32 100644 > --- a/package/libcurl/libcurl.mk > +++ b/package/libcurl/libcurl.mk > @@ -173,7 +173,7 @@ endef > LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP > endif > > -HOST_LIBCURL_DEPENDENCIES = host-openssl > +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 > HOST_LIBCURL_CONF_OPTS = \ > --disable-manual \ > --disable-ntlm-wb \ From fontaine.fabrice at gmail.com Fri Apr 22 21:58:13 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 23:58:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: lsfd needs headers >= 3.19 Message-ID: <20220422215813.2528195-1-fontaine.fabrice@gmail.com> lsfd depends on kcmp.h which is only exported since kernel 3.19 and https://github.com/torvalds/linux/commit/3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 resulting in the following build failure since bump to version 2.38 in commit ee978e853a6a4c9bb5ed661c1ae704e79f155a35: configure: error: lsfd selected, but required linux/kcmp.h header file not available Fixes: - http://autobuild.buildroot.org/results/555c272fe0f966f7f46d493236cb6dabeca24d9b Signed-off-by: Fabrice Fontaine --- package/util-linux/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index d3c0070160..917f1bc2b4 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -206,10 +206,15 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP config BR2_PACKAGE_UTIL_LINUX_LSFD bool "lsfd" depends on BR2_USE_MMU # libsmartcols + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS help List file descriptors (modern replacement for lsof) +comment "lsfd needs a toolchain w/ headers >= 3.19" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + config BR2_PACKAGE_UTIL_LINUX_LSLOGINS bool "lslogins" depends on BR2_USE_MMU # libsmartcols -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 22 21:59:31 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 23:59:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-good: fix build with gcc 4.8 Message-ID: <20220422215931.2712013-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc 4.8 raised since bump to version 1.20.0 in commit 34317969278d7b6d923d4889fb4235f112b2b201: ../ext/soup/gstsouploader.c: In function 'gst_soup_load_library': ../ext/soup/gstsouploader.c:219:3: error: 'for' loop initial declarations are only allowed in C99 mode for (guint i = 0; i < len; i++) { ^ Fixes: - http://autobuild.buildroot.org/results/21792a9839d9722815075569123df8747fc450e3 Signed-off-by: Fabrice Fontaine --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 1168feb293..2b6cf769aa 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -10,6 +10,7 @@ GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ +GST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) GST1_PLUGINS_GOOD_CONF_OPTS = \ -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 22 22:04:08 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 00:04:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9 Message-ID: <20220422220408.3173274-1-fontaine.fabrice@gmail.com> SVG support needs host gcc >= 4.9 since bump of harfbuzz to version 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: In file included from ../src/hb.hh:473:0, from ../src/hb-buffer-serialize.cc:27: ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' hb_enable_if (std::is_trivially_copy_assignable::value)> ^ Fixes: - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701 Signed-off-by: Fabrice Fontaine --- package/imagemagick/Config.in.host | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host index 671b0995dc..5055101e23 100644 --- a/package/imagemagick/Config.in.host +++ b/package/imagemagick/Config.in.host @@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG bool "SVG support" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz help Say 'y' here is you need ImageMagick tools (like convert) to support SVG. @@ -24,4 +25,8 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG This is not enabled by default, as it brings quite a few extra dependencies, and thus extra build time. +comment "SVG support needs host gcc >= 4.9" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + depends on !BR2_HOST_GCC_AT_LEAST_4_9 + endif -- 2.35.1 From joseph.kogut at gmail.com Fri Apr 22 22:09:34 2022 From: joseph.kogut at gmail.com (Joseph Kogut) Date: Fri, 22 Apr 2022 15:09:34 -0700 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> References: <20220422181418.2411463-1-joseph.kogut@gmail.com> <20220422181418.2411463-2-joseph.kogut@gmail.com> <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> Message-ID: On Fri, Apr 22, 2022 at 2:56 PM Arnout Vandecappelle wrote: > > > > On 22/04/2022 20:14, Joseph Kogut wrote: > > This fixes building host-libcurl, which otherwise would fail with > > undefined references to nghttp2 symbols. > > > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' > > I guess this happens because it somehow finds libnghttp2 installed on the host > but then fails to link with it? In any case, we don't actually need host-libcurl > to be built with nghttp2 I think. So just pass --without-nghttp2. > It seems so. I think either providing the library or disabling it will work fine, I just didn't want to assume what other users need here. I'll respin with that config, thanks for the review. > > Regards, > Arnout > > > > > collect2: error: ld returned 1 exit status > > > > Signed-off-by: Joseph Kogut > > --- > > package/libcurl/libcurl.mk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > > index 97857954db..d5805a1d32 100644 > > --- a/package/libcurl/libcurl.mk > > +++ b/package/libcurl/libcurl.mk > > @@ -173,7 +173,7 @@ endef > > LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP > > endif > > > > -HOST_LIBCURL_DEPENDENCIES = host-openssl > > +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 > > HOST_LIBCURL_CONF_OPTS = \ > > --disable-manual \ > > --disable-ntlm-wb \ From arnout at mind.be Fri Apr 22 22:19:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 00:19:28 +0200 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: References: <20220422181418.2411463-1-joseph.kogut@gmail.com> <20220422181418.2411463-2-joseph.kogut@gmail.com> <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> Message-ID: <8f21f80b-07ae-24ce-a84c-94666edb0381@mind.be> On 23/04/2022 00:09, Joseph Kogut wrote: > On Fri, Apr 22, 2022 at 2:56 PM Arnout Vandecappelle wrote: >> >> >> >> On 22/04/2022 20:14, Joseph Kogut wrote: >>> This fixes building host-libcurl, which otherwise would fail with >>> undefined references to nghttp2 symbols. >>> >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' >> >> I guess this happens because it somehow finds libnghttp2 installed on the host >> but then fails to link with it? In any case, we don't actually need host-libcurl >> to be built with nghttp2 I think. So just pass --without-nghttp2. >> > > It seems so. I think either providing the library or disabling it will > work fine, I just didn't want to assume what other users need here. > I'll respin with that config, thanks for the review. Actually, host-libcurl was only added for host-cargo. When host-cargo was removed, we should have removed host-libcurl as well. So the even better solution would be to simply revert commit 736e0fc5d6103300fb5d6b0cde5e22ce978b8a80. How did you even run in to this error? There should be no reason to build host-libcurl... Regards, Arnout > >> >> Regards, >> Arnout >> >>> >>> collect2: error: ld returned 1 exit status >>> >>> Signed-off-by: Joseph Kogut >>> --- >>> package/libcurl/libcurl.mk | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk >>> index 97857954db..d5805a1d32 100644 >>> --- a/package/libcurl/libcurl.mk >>> +++ b/package/libcurl/libcurl.mk >>> @@ -173,7 +173,7 @@ endef >>> LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP >>> endif >>> >>> -HOST_LIBCURL_DEPENDENCIES = host-openssl >>> +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 >>> HOST_LIBCURL_CONF_OPTS = \ >>> --disable-manual \ >>> --disable-ntlm-wb \ From joseph.kogut at gmail.com Fri Apr 22 22:32:51 2022 From: joseph.kogut at gmail.com (Joseph Kogut) Date: Fri, 22 Apr 2022 15:32:51 -0700 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: <8f21f80b-07ae-24ce-a84c-94666edb0381@mind.be> References: <20220422181418.2411463-1-joseph.kogut@gmail.com> <20220422181418.2411463-2-joseph.kogut@gmail.com> <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> <8f21f80b-07ae-24ce-a84c-94666edb0381@mind.be> Message-ID: On Fri, Apr 22, 2022 at 3:19 PM Arnout Vandecappelle wrote: > > > > On 23/04/2022 00:09, Joseph Kogut wrote: > > On Fri, Apr 22, 2022 at 2:56 PM Arnout Vandecappelle wrote: > >> > >> > >> > >> On 22/04/2022 20:14, Joseph Kogut wrote: > >>> This fixes building host-libcurl, which otherwise would fail with > >>> undefined references to nghttp2 symbols. > >>> > >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' > >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' > >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' > >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' > >> > >> I guess this happens because it somehow finds libnghttp2 installed on the host > >> but then fails to link with it? In any case, we don't actually need host-libcurl > >> to be built with nghttp2 I think. So just pass --without-nghttp2. > >> > > > > It seems so. I think either providing the library or disabling it will > > work fine, I just didn't want to assume what other users need here. > > I'll respin with that config, thanks for the review. > > Actually, host-libcurl was only added for host-cargo. When host-cargo was > removed, we should have removed host-libcurl as well. > > So the even better solution would be to simply revert commit > 736e0fc5d6103300fb5d6b0cde5e22ce978b8a80. > > How did you even run in to this error? There should be no reason to build > host-libcurl... > I have an external package that makes an HTTP query to populate a config file. I'm not sure if there's a better way to do this, if you have any thoughts, I'm all ears. > Regards, > Arnout > > > > >> > >> Regards, > >> Arnout > >> > >>> > >>> collect2: error: ld returned 1 exit status > >>> > >>> Signed-off-by: Joseph Kogut > >>> --- > >>> package/libcurl/libcurl.mk | 2 +- > >>> 1 file changed, 1 insertion(+), 1 deletion(-) > >>> > >>> diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > >>> index 97857954db..d5805a1d32 100644 > >>> --- a/package/libcurl/libcurl.mk > >>> +++ b/package/libcurl/libcurl.mk > >>> @@ -173,7 +173,7 @@ endef > >>> LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP > >>> endif > >>> > >>> -HOST_LIBCURL_DEPENDENCIES = host-openssl > >>> +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 > >>> HOST_LIBCURL_CONF_OPTS = \ > >>> --disable-manual \ > >>> --disable-ntlm-wb \ From kris at embeddedTS.com Fri Apr 22 22:36:07 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:07 -0700 Subject: [Buildroot] [PATCH v2 0/4] Pull in WILC Wi-Fi updates Message-ID: <20220422223611.10443-1-kris@embeddedTS.com> This series bumps WILC1000/3000 firmware to the latest available from Microchip, updates existing defconfig files to include both WILC1000 and WILC3000 blobs, and adds a package to build the wilc driver as an external kernel module. The previous wilc1000-firmware package was extremely outdated, no longer available on github, and installed the firmware files to the wrong location for the current upstream kernel wilc1000 driver and Microchip's separately maintained driver. Since the firmware change includes individual WILC1000 and WILC3000 config options, this package is renamed to wilc-firmware. The defconfigs of all platforms that used WILC1000 firmware were touched to also include WILC3000 firmware. They either natively have WILC3000 or can support either WILC1000/WILC3000 being connected to these platforms. I've attempted to test the firmware changes against microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig as this is a board I have in my possession. However, the defconfig appears broken (Microchip now maintains the evk in their own BR2_EXTERNAL repo): ... Kernel command line: console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw ... RAMDISK: Couldn't find valid RAM disk image starting at 0. mmc0: new ultra high speed DDR50 SDHC card at address aaaa List of all partitions: ... Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.80-linux4microchip-2021.10 #1 Hardware name: Atmel SAMA5 Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Exception stack(0xc2c29fb0 to 0xc2c29ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) ]--- The firmware and driver changes have been thoroughly tested, however, on an embeddedTS platform (BR patch for this in the future, waiting on kernel accepting FDT) that includes the WILC3000 device. We have a number of platforms that all use this same device and are starting to push for better upstream support overall. So this patch series is us laying the groundwork for that. Changes v1 -> v2: - Add un-prompted BR2_PACKAGE_WILC_FIRMWARE symbol to ensure that wilc-firmware is built as part of make - Fix check-patch warning in wilc-firmware - Add wilc-firmware license copied Microchip's buildroot-external repo - Bump wilc-driver to linux4microchip-2021.10-1, removes kernel version check that doesn't need to be there yet. Kris Bahnsen (4): package/wilc1000-firmware: bump to 15.6 package/wilc-firmware: rename from wilc1000-firmware configs: add WILC3000_FIRMWARE to compatible devices package/wilc-driver: new package DEVELOPERS | 6 ++- configs/at91sam9x5ek_dev_defconfig | 1 + configs/at91sam9x5ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + .../microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + package/Config.in | 3 +- package/wilc-driver/Config.in | 58 ++++++++++++++++++++++ package/wilc-driver/wilc-driver.hash | 2 + package/wilc-driver/wilc-driver.mk | 29 +++++++++++ package/wilc-firmware/Config.in | 34 +++++++++++++ package/wilc-firmware/wilc-firmware.hash | 2 + package/wilc-firmware/wilc-firmware.mk | 35 +++++++++++++ package/wilc1000-firmware/Config.in | 6 --- package/wilc1000-firmware/wilc1000-firmware.hash | 2 - package/wilc1000-firmware/wilc1000-firmware.mk | 24 --------- 23 files changed, 179 insertions(+), 34 deletions(-) create mode 100644 package/wilc-driver/Config.in create mode 100644 package/wilc-driver/wilc-driver.hash create mode 100644 package/wilc-driver/wilc-driver.mk create mode 100644 package/wilc-firmware/Config.in create mode 100644 package/wilc-firmware/wilc-firmware.hash create mode 100644 package/wilc-firmware/wilc-firmware.mk delete mode 100644 package/wilc1000-firmware/Config.in delete mode 100644 package/wilc1000-firmware/wilc1000-firmware.hash delete mode 100644 package/wilc1000-firmware/wilc1000-firmware.mk -- 2.11.0 From kris at embeddedTS.com Fri Apr 22 22:36:09 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:09 -0700 Subject: [Buildroot] [PATCH v2 2/4] package/wilc-firmware: rename from wilc1000-firmware In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> Message-ID: <20220422223611.10443-3-kris@embeddedTS.com> Separates out WILC1000 and WILC3000 in to individual config options since in reality only one or the other set would be needed. Signed-off-by: Kris Bahnsen --- DEVELOPERS | 5 ++++- package/Config.in | 2 +- .../{wilc1000-firmware => wilc-firmware}/Config.in | 9 +++++++-- .../wilc-firmware.hash} | 2 +- .../wilc-firmware.mk} | 22 +++++++++++----------- 5 files changed, 24 insertions(+), 16 deletions(-) rename package/{wilc1000-firmware => wilc-firmware}/Config.in (82%) rename package/{wilc1000-firmware/wilc1000-firmware.hash => wilc-firmware/wilc-firmware.hash} (62%) rename package/{wilc1000-firmware/wilc1000-firmware.mk => wilc-firmware/wilc-firmware.mk} (51%) diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..fc0f52edf5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1662,6 +1662,9 @@ F: board/octavo/osd32mp1-red/ F: configs/octavo_osd32mp1_brk_defconfig F: configs/octavo_osd32mp1_red_defconfig +N: Kris Bahnsen +F: package/wilc-firmware/ + N: Kurt Van Dijck F: package/bcusdk/ F: package/libpthsem/ @@ -1759,7 +1762,7 @@ F: package/python-json-schema-validator/ F: package/python-keyring/ F: package/python-simplejson/ F: package/python-versiontools/ -F: package/wilc1000-firmware/ +F: package/wilc-firmware/ N: Maeva Manuel F: board/freescale/imx8qmmek/ diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..1ff7f4cc66 100644 --- a/package/Config.in +++ b/package/Config.in @@ -432,7 +432,7 @@ menu "Firmware" source "package/sunxi-boards/Config.in" source "package/ts4900-fpga/Config.in" source "package/ux500-firmware/Config.in" - source "package/wilc1000-firmware/Config.in" + source "package/wilc-firmware/Config.in" source "package/wilink-bt-firmware/Config.in" source "package/zd1211-firmware/Config.in" endmenu diff --git a/package/wilc1000-firmware/Config.in b/package/wilc-firmware/Config.in similarity index 82% rename from package/wilc1000-firmware/Config.in rename to package/wilc-firmware/Config.in index 0734c7ad99..72a9c73206 100644 --- a/package/wilc1000-firmware/Config.in +++ b/package/wilc-firmware/Config.in @@ -1,5 +1,11 @@ +config BR2_PACKAGE_WILC_FIRMWARE + bool + help + Provider package for WILC1000_FIRMWARE & WILC3000_FIRMWARE + config BR2_PACKAGE_WILC1000_FIRMWARE bool "wilc1000-firmware" + select BR2_PACKAGE_WILC_FIRMWARE help Firmware for Microchip WILC1000 wireless device @@ -12,9 +18,9 @@ config BR2_PACKAGE_WILC1000_FIRMWARE https://github.com/linux4wilc/firmware -if BR2_PACKAGE_WILC1000_FIRMWARE config BR2_PACKAGE_WILC3000_FIRMWARE bool "wilc3000-firmware" + select BR2_PACKAGE_WILC_FIRMWARE help Firmware for Microchip WILC3000 wireless device @@ -26,4 +32,3 @@ config BR2_PACKAGE_WILC3000_FIRMWARE These will be installed to /lib/firmware/mchp/ https://github.com/linux4wilc/firmware -endif diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc-firmware/wilc-firmware.hash similarity index 62% rename from package/wilc1000-firmware/wilc1000-firmware.hash rename to package/wilc-firmware/wilc-firmware.hash index 9d55be9edc..2f1fc9964d 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.hash +++ b/package/wilc-firmware/wilc-firmware.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc-firmware-wilc_linux_15_6.tar.gz diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc-firmware/wilc-firmware.mk similarity index 51% rename from package/wilc1000-firmware/wilc1000-firmware.mk rename to package/wilc-firmware/wilc-firmware.mk index 0af81c7110..19185bcb9b 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.mk +++ b/package/wilc-firmware/wilc-firmware.mk @@ -1,35 +1,35 @@ ################################################################################ # -# wilc1000-firmware +# wilc-firmware # ################################################################################ -WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 -WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) +WILC_FIRMWARE_VERSION = wilc_linux_15_6 +WILC_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC_FIRMWARE_VERSION)) -WILC1000_FIRMWARE_LICENSE = Microchip firmware -WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw +WILC_FIRMWARE_LICENSE = Microchip firmware +WILC_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) -WILC1000_FIRMWARE_FILES += \ +WILC_FIRMWARE_FILES += \ wilc1000_wifi_firmware.bin endif ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) -WILC1000_FIRMWARE_FILES += \ +WILC_FIRMWARE_FILES += \ wilc3000_ble_firmware.bin \ wilc3000_wifi_firmware.bin endif -define WILC1000_FIRMWARE_INSTALL_FILES +define WILC_FIRMWARE_INSTALL_FILES cd $(@D) && \ - $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ + $(TAR) cf install.tar $(sort $(WILC_FIRMWARE_FILES)) && \ $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp endef -define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS +define WILC_FIRMWARE_INSTALL_TARGET_CMDS $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ - $(WILC1000_FIRMWARE_INSTALL_FILES) + $(WILC_FIRMWARE_INSTALL_FILES) endef $(eval $(generic-package)) -- 2.11.0 From kris at embeddedTS.com Fri Apr 22 22:36:08 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:08 -0700 Subject: [Buildroot] [PATCH v2 1/4] package/wilc1000-firmware: bump to 15.6 In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> Message-ID: <20220422223611.10443-2-kris@embeddedTS.com> Supports both WILC1000 (Wi-Fi only) and WILC3000 (Wi-Fi/BLE) hardware. To support WILC3000 this commit adds a separate config option, the original config option from this package is still valid. License information copied from Microchip's buildroot-external project. Signed-off-by: Kris Bahnsen --- package/wilc1000-firmware/Config.in | 27 +++++++++++++++++++-- package/wilc1000-firmware/wilc1000-firmware.hash | 2 +- package/wilc1000-firmware/wilc1000-firmware.mk | 31 ++++++++++++++++-------- 3 files changed, 47 insertions(+), 13 deletions(-) diff --git a/package/wilc1000-firmware/Config.in b/package/wilc1000-firmware/Config.in index df8a7a6b60..0734c7ad99 100644 --- a/package/wilc1000-firmware/Config.in +++ b/package/wilc1000-firmware/Config.in @@ -1,6 +1,29 @@ config BR2_PACKAGE_WILC1000_FIRMWARE bool "wilc1000-firmware" help - Firmware for Atmel Wilc1000 wireless device + Firmware for Microchip WILC1000 wireless device - https://github.com/linux4sc/wireless-firmware.git + These binary blobs are provided directly from Microchip. + Ideally, the firmware version should match driver version. + Generally, the latest firmware would be acceptible regardless + of driver version. + + These will be installed to /lib/firmware/mchp/ + + https://github.com/linux4wilc/firmware + +if BR2_PACKAGE_WILC1000_FIRMWARE +config BR2_PACKAGE_WILC3000_FIRMWARE + bool "wilc3000-firmware" + help + Firmware for Microchip WILC3000 wireless device + + These binary blobs are provided directly from Microchip. + Ideally, the firmware version should match driver version. + Generally, the latest firmware would be acceptible regardless + of driver version. + + These will be installed to /lib/firmware/mchp/ + + https://github.com/linux4wilc/firmware +endif diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc1000-firmware/wilc1000-firmware.hash index 5344efe517..9d55be9edc 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.hash +++ b/package/wilc1000-firmware/wilc1000-firmware.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 a2e7a327dd545ba2051946f7613005cbde88fdd952afb8eecdd1dacda7e767d2 v14.1_Firmware.zip +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc1000-firmware/wilc1000-firmware.mk index 6f504d67a0..0af81c7110 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.mk +++ b/package/wilc1000-firmware/wilc1000-firmware.mk @@ -4,21 +4,32 @@ # ################################################################################ -WILC1000_FIRMWARE_VERSION = 14.1 -WILC1000_FIRMWARE_SITE = https://github.com/linux4sc/wireless-firmware/archive -WILC1000_FIRMWARE_SOURCE = v$(WILC1000_FIRMWARE_VERSION)_Firmware.zip +WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 +WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) -WILC1000_FIRMWARE_LICENSE = PROPRIETARY +WILC1000_FIRMWARE_LICENSE = Microchip firmware +WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw -define WILC1000_FIRMWARE_EXTRACT_CMDS - $(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE) - mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D) - rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware +ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) +WILC1000_FIRMWARE_FILES += \ + wilc1000_wifi_firmware.bin +endif + +ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) +WILC1000_FIRMWARE_FILES += \ + wilc3000_ble_firmware.bin \ + wilc3000_wifi_firmware.bin +endif + +define WILC1000_FIRMWARE_INSTALL_FILES + cd $(@D) && \ + $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp endef define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \ - $(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ + $(WILC1000_FIRMWARE_INSTALL_FILES) endef $(eval $(generic-package)) -- 2.11.0 From kris at embeddedTS.com Fri Apr 22 22:36:11 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:11 -0700 Subject: [Buildroot] [PATCH v2 4/4] package/wilc-driver: new package In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> Message-ID: <20220422223611.10443-5-kris@embeddedTS.com> WILC1000/3000 driver pulled from at91-linux tree set-up to be built as an external module. Upstream Linux kernel does not support WILC3000 features at this time. This package is intended to bridge that gap until WILC1000/3000 is fully supported in kernel. Signed-off-by: Kris Bahnsen --- DEVELOPERS | 1 + package/Config.in | 1 + package/wilc-driver/Config.in | 58 ++++++++++++++++++++++++++++++++++++ package/wilc-driver/wilc-driver.hash | 2 ++ package/wilc-driver/wilc-driver.mk | 29 ++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 package/wilc-driver/Config.in create mode 100644 package/wilc-driver/wilc-driver.hash create mode 100644 package/wilc-driver/wilc-driver.mk diff --git a/DEVELOPERS b/DEVELOPERS index fc0f52edf5..1e6b2d0f48 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1664,6 +1664,7 @@ F: configs/octavo_osd32mp1_red_defconfig N: Kris Bahnsen F: package/wilc-firmware/ +F: package/wilc-driver/ N: Kurt Van Dijck F: package/bcusdk/ diff --git a/package/Config.in b/package/Config.in index 1ff7f4cc66..8d5ed427c4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -610,6 +610,7 @@ endmenu source "package/usbutils/Config.in" source "package/w_scan/Config.in" source "package/wf111/Config.in" + source "package/wilc-driver/Config.in" source "package/wipe/Config.in" source "package/xorriso/Config.in" source "package/xr819-xradio/Config.in" diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in new file mode 100644 index 0000000000..caf46ae281 --- /dev/null +++ b/package/wilc-driver/Config.in @@ -0,0 +1,58 @@ +config BR2_PACKAGE_WILC_DRIVER + bool "wilc kernel module" + help + External kernel module for WILC1000/3000 devices. + + wilc kernel driver source as found in Microchip's at91-linux + kernel tree with added Kbuild file to be built as a generic + external module. + + The wilc1000 driver currently maintained in Linux kernel does + not support BLE of the WILC3000 hardware. This package is + meant to bridge that gap until Microchip can get WILC3000 + support upstream. + + Supports both SDIO and SPI modes. + + https://github.com/embeddedTS/wilc3000-external-module + +if BR2_PACKAGE_WILC_DRIVER + +config BR2_PACKAGE_WILC_DRIVER_SPI + bool "SPI" + help + This module adds support for the SPI interface of adapters + using WILC1000/3000 chipset. The WILC1000/3000 has a Serial + Peripheral Interface (SPI) that operates as an SPI slave. + This SPI interface can be used for control and for serial + I/O of 802.11 data. The SPI is a full-duplex slave + synchronous serial interface that is available immediately + following reset when pin 9 (SDIO_SPI_CFG) is tied to VDDIO. + Select this if your platform is using the SPI bus. + +config BR2_PACKAGE_WILC_DRIVER_SDIO + bool "SDIO" + help + This module adds support for the SDIO interface of adapters + using WILC1000/3000 chipset. The WILC1000/3000 SDIO is a full + speed interface. It meets SDIO card specification version 2.0. + The interface supports the 1-bit/4-bit SD transfer mode at the + clock range of 0-50 MHz. The host can use this interface to + read and write from any register within the chip as well as + configure the WILC1000/3000 for data DMA. To use this + interface, pin9 (SDIO_SPI_CFG) must be grounded. Select this + if your platform is using the SDIO bus. + +if BR2_PACKAGE_WILC_DRIVER_SDIO + +config BR2_PACKAGE_WILC_DRIVER_SDIO_OOB + bool "Enable out-of-band interrupt" + help + This option enables out-of-band interrupt support for the + WILC1000/3000 chipset. This OOB interrupt is intended to + provide a faster interrupt mechanism for SDIO host controllers + that don't support SDIO interrupt. Select this option If the + SDIO host controller in your platform doesn't support SDIO + time division interrupt. +endif +endif diff --git a/package/wilc-driver/wilc-driver.hash b/package/wilc-driver/wilc-driver.hash new file mode 100644 index 0000000000..b51591e8d8 --- /dev/null +++ b/package/wilc-driver/wilc-driver.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 4796b1a53781f8702a335b0146d488a9422b71dab39f6f154f955b0ad1711199 wilc-driver-linux4microchip-2021.10-1.tar.gz diff --git a/package/wilc-driver/wilc-driver.mk b/package/wilc-driver/wilc-driver.mk new file mode 100644 index 0000000000..a89af30e29 --- /dev/null +++ b/package/wilc-driver/wilc-driver.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# wilc-driver +# +################################################################################ + +WILC_DRIVER_VERSION = linux4microchip-2021.10-1 +WILC_DRIVER_SITE = $(call github,embeddedTS,wilc3000-external-module,$(WILC_DRIVER_VERSION)) + +WILC_DRIVER_LICENSE = GPL-2.0 +WILC_DRIVER_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SPI),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_SPI=m +endif + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_SDIO=m +endif + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO_OOB),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_HW_OOB_INTR=y +endif + +$(eval $(kernel-module)) +$(eval $(generic-package)) -- 2.11.0 From kris at embeddedTS.com Fri Apr 22 22:36:10 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:10 -0700 Subject: [Buildroot] [PATCH v2 3/4] configs: add WILC3000_FIRMWARE to compatible devices In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> Message-ID: <20220422223611.10443-4-kris@embeddedTS.com> The update to wilc-firmware added firmware files for WILC3000 devices as a separate config option. All Atmel/Microchip defconfigs that previously only had WILC1000_FIRMWARE either have WILC3000 Wi-Fi hardware (WILC3000 is the same silicon but with BLE added) or have the capacity to have either WILC1000 or WILC3000 devices added to the system. Install all firmware blobs to these devices by default. Signed-off-by: Kris Bahnsen --- configs/at91sam9x5ek_dev_defconfig | 1 + configs/at91sam9x5ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + 12 files changed, 12 insertions(+) diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig index bfa8e95941..8714463d89 100644 --- a/configs/at91sam9x5ek_dev_defconfig +++ b/configs/at91sam9x5ek_dev_defconfig @@ -47,6 +47,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig index 2e1a5c7f59..9481594716 100644 --- a/configs/at91sam9x5ek_mmc_dev_defconfig +++ b/configs/at91sam9x5ek_mmc_dev_defconfig @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig index ba2fa46790..38618a5732 100644 --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +++ b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_RNG_TOOLS=y diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig index a8b68ca0a2..1654408aa5 100644 --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig index cdfd9de17e..64455cb2e0 100644 --- a/configs/atmel_sama5d3_xplained_dev_defconfig +++ b/configs/atmel_sama5d3_xplained_dev_defconfig @@ -49,6 +49,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig index a2205aeefa..8f5724d631 100644 --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig @@ -52,6 +52,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig index f8783f5652..fab91cf0b3 100644 --- a/configs/atmel_sama5d4_xplained_dev_defconfig +++ b/configs/atmel_sama5d4_xplained_dev_defconfig @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig index b4e99f658a..f9074e9862 100644 --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig index 06e03967c4..2b4e234297 100644 --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig +++ b/configs/microchip_sam9x60ek_mmc_dev_defconfig @@ -36,6 +36,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig index 3bcd5f0200..f9aa6cdc05 100644 --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig +++ b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig index 27d1d3409d..b1b22c1312 100644 --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig +++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig @@ -32,6 +32,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_SETSERIAL=y BR2_PACKAGE_SPI_TOOLS=y diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig index 6eb6c282e0..d68846e553 100644 --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig @@ -30,6 +30,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_RNG_TOOLS=y # BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set -- 2.11.0 From arnout at mind.be Fri Apr 22 22:48:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 00:48:43 +0200 Subject: [Buildroot] [RFC PATCH v3 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: <20220422143134.28561-3-flaniel@linux.microsoft.com> References: <20220422143134.28561-1-flaniel@linux.microsoft.com> <20220422143134.28561-3-flaniel@linux.microsoft.com> Message-ID: Hi Francis, Thanks for continuing to work on this! On 22/04/2022 16:31, Francis Laniel wrote: > sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() > syscall [1]. > This patch bumps its version to enable cross-compilation. > > By doing so, we can remove the previous patches. > But this commit introduces new patches. > Indeed, libsinsp (lib system inspection), libscap (lib system capture) and the > kernel module were moved to falcosecurity/libs. > Sadly, it is not possible to compile sysdig with pre-compiled libs (like we do > in buildroot). > So, this contribution introduces a new patch to build sysdig with already built > falcosecurity/libs. > > [1] https://marc.info/?l=buildroot&m=164951521629400 > > Signed-off-by: Francis Laniel > --- > ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ > ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- > ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- > ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ > package/sysdig/Config.in | 31 ++----- > package/sysdig/sysdig.hash | 4 +- > package/sysdig/sysdig.mk | 55 ++++++------- > 7 files changed, 141 insertions(+), 188 deletions(-) > create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch > delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > create mode 100644 package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > > diff --git a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch > new file mode 100644 > index 0000000000..29f03b1b61 > --- /dev/null > +++ b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch > @@ -0,0 +1,51 @@ > +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Wed, 13 Apr 2022 18:01:11 +0100 > +Subject: [PATCH 1/2] cmake: Check USE_BUNDLED_DEPS before getting There should be no N/M in patches. check-package reports this. > + nlohmann-json. > + > +Signed-off-by: Francis Laniel Please send your patches upstream (i.e. create a merge request on the sysdig project) before even sending it to Buildroot, and add Upstream: https://github.com/... to the patch you submit to Buildroot. This way, it's easier to find if the patch can be removed when the package version is bumped. Also, for reviewing, it allows us to check if upstream has any comments on the patch. Upstream generally has a better idea of how things are supposed to work than we do. And if they end up committing an alternative approach, we can simply pick that one (while committing) instead of the one you submitted. > +--- > + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- > + 1 file changed, 19 insertions(+), 10 deletions(-) > + > +diff --git a/cmake/modules/nlohmann-json.cmake b/cmake/modules/nlohmann-json.cmake > +index bb1279d7..feb0f071 100644 > +--- a/cmake/modules/nlohmann-json.cmake > ++++ b/cmake/modules/nlohmann-json.cmake > +@@ -16,13 +16,22 @@ > + # limitations under the License. > + # > + > +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") > +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") > +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") > +-ExternalProject_Add( > +- njson > +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" > +- URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" > +- CONFIGURE_COMMAND "" > +- BUILD_COMMAND "" > +- INSTALL_COMMAND "") > ++if(NOT USE_BUNDLED_DEPS) > ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) > ++ if(NJSON_INCLUDE_DIR) > ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") > ++ else() > ++ message(FATAL_ERROR "Couldn't find system njson") > ++ endif() > ++else() > ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") > ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") > ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") > ++ ExternalProject_Add( > ++ njson > ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" > ++ URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" > ++ CONFIGURE_COMMAND "" > ++ BUILD_COMMAND "" > ++ INSTALL_COMMAND "") > ++endif() > +-- > +2.25.1 > + > diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > deleted file mode 100644 > index 7873210281..0000000000 > --- a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > +++ /dev/null > @@ -1,82 +0,0 @@ > -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 > -From: Francis Laniel > -Date: Wed, 6 Apr 2022 16:54:37 +0100 > -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. > - > -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and > -luaL_Reg. > -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function > -call as well. > -Note that, this PATCH_COMMAND was added in sysdig in: > -a064440394c9 ("Adding power support to Travis builds (#1566)") > - > -This patch is also present in kubernetes/minikube in: > -f036c279bc59 ("Add patch for compiling sysdig with system luajit") You didn't apply this patch to falcosecurity-libs. Is it no longer needed there? [snip] > diff --git a/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > new file mode 100644 > index 0000000000..30601c2430 > --- /dev/null > +++ b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > @@ -0,0 +1,59 @@ > +From e681028c5567582f9c66cf2b11234ab3a1cacc73 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Fri, 15 Apr 2022 14:17:48 +0100 > +Subject: [PATCH 2/2] cmake: Add libsinsp.a as IMPORTED library. > + > +libsinsp.a is created by falcosecurity/libs which is downloaded while building > +sysdig. > + > +In buildroot, we do not want to depend of external download. > +This patch adds libsinsp.a as IMPORTER library and links all its dependencies > +against it. > + > +Signed-off-by: Francis Laniel > +--- > + userspace/sysdig/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ > + 1 file changed, 28 insertions(+) > + > +diff --git a/userspace/sysdig/CMakeLists.txt b/userspace/sysdig/CMakeLists.txt > +index 401d65e3..ef339b71 100644 > +--- a/userspace/sysdig/CMakeLists.txt > ++++ b/userspace/sysdig/CMakeLists.txt > +@@ -86,6 +86,34 @@ target_include_directories( > + if(NOT WIN32) > + include_directories(${PROJECT_BINARY_DIR}/driver/src) > + > ++ if(SCAP_STATIC_LIBRARY_PATH AND SINSP_STATIC_LIBRARY_PATH) If you add new CMake variables, use the SET command to define them and give them a help text. However, is it necessary to set them? Can't you just use find_library to find them in the sysroot? It's basically the same approach as for finding the JSON library in the other patch. Except... Apparently falcosecurity-libs doesn't actually install its stuff. It really is meant to be used as a submodule. OK, it looks like this is really trying to fight upstream too much. So then it's probably better to revert to your earlier proposal: turn falcosecurity-libs into a generic package that just downloads stuff and doesn't install, and do the build from the sysdig build. I think, since it's not using in-tree build, that it doesn't even write anything in the falcosecurity-libs source directory, right? So the ugliness is rather limited... > ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) > ++ find_library(B64_LIB NAMES b64) > ++ find_library(CARES_LIB NAMES cares) > ++ find_library(ELF_LIB NAMES elf) > ++ find_library(GTEST_LIB NAMES gtest) > ++ find_library(JQ_LIB NAMES jq) > ++ find_library(JSONCPP_LIB NAMES jsoncpp) > ++ find_library(LUAJIT_LIB NAMES luajit luajit-5.1) > ++ find_library(PROTOBUF_LIB NAMES protobuf) > ++ find_library(TBB_LIB NAMES tbb) > ++ find_library(ZLIB_LIB NAMES z) > ++ > ++ find_package(CURL REQUIRED) > ++ find_package(gRPC REQUIRED) > ++ find_package(OpenSSL REQUIRED) > ++ > ++ set(GPR_LIB gRPC::gpr) > ++ set(GRPC_LIB gRPC::grpc) > ++ set(GRPCPP_LIB gRPC::grpc++) > ++ > ++ add_library(sinsp STATIC IMPORTED) > ++ set_target_properties(sinsp PROPERTIES > ++ IMPORTED_LOCATION "${SINSP_STATIC_LIBRARY_PATH}" > ++ INTERFACE_LINK_LIBRARIES "${ABSL_SYNC_LIB};${B64_LIB};${CARES_LIB};${CURL_LIBRARIES};${ELF_LIB};${GPR_LIB};${GRPC_LIB};${GRPCPP_LIB};${GTEST_LIB};${JQ_LIB};${JSONCPP_LIB};${LUAJIT_LIB};${OPENSSL_LIBRARIES};${PROTOBUF_LIB};${TBB_LIB};${SCAP_STATIC_LIBRARY_PATH};${ZLIB_LIB}" > ++ ) > ++ endif() > ++ > + target_link_libraries(sysdig > + sinsp > + "${YAMLCPP_LIB}") > +-- > +2.25.1 > + > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > index c124054105..e00516a2b5 100644 > --- a/package/sysdig/Config.in > +++ b/package/sysdig/Config.in > @@ -1,26 +1,11 @@ > config BR2_PACKAGE_SYSDIG > bool "sysdig" > - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf > depends on BR2_LINUX_KERNEL > - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf > - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb > - depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb > - depends on BR2_USE_WCHAR # elfutils > - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils > - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 All these dependencies should still stay, they just become indirect dependencies. Except, if you don't do any actual build of falcosecurity-libs and only do it in sysdig, then all these dependencies and selects should also stay in sysdig. Also, you should not make falcosecurity-libs a user-selectable option in that case. It still would need a Config.in entry, but without prompt. > - select BR2_PACKAGE_C_ARES > - select BR2_PACKAGE_ELFUTILS > - select BR2_PACKAGE_GRPC > - select BR2_PACKAGE_JQ > - select BR2_PACKAGE_JSONCPP > - select BR2_PACKAGE_LIBB64 > - select BR2_PACKAGE_LIBCURL > + depends on BR2_INSTALL_LIBSTDCPP # yaml-cpp > + select BR2_PACKAGE_FALCOSECURITY_LIBS > select BR2_PACKAGE_NCURSES > - select BR2_PACKAGE_OPENSSL > - select BR2_PACKAGE_PROTOBUF > - select BR2_PACKAGE_TBB > - select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_JSON_FOR_MODERN_CPP > + select BR2_PACKAGE_YAML_CPP > help > Sysdig is open source, system-level exploration: > capture system state and activity from a running Linux > @@ -30,10 +15,6 @@ config BR2_PACKAGE_SYSDIG > > https://github.com/draios/sysdig/wiki > > -comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" > - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > +comment "sysdig needs a toolchain w/ C++, a Linux kernel and luajit or lua 5.1 to be built" > depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ > - || !BR2_TOOLCHAIN_HAS_THREADS \ > - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ > - || !BR2_TOOLCHAIN_USES_GLIBC \ > - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > index 4ec46abfc3..380c9dce1e 100644 > --- a/package/sysdig/sysdig.hash > +++ b/package/sysdig/sysdig.hash > @@ -1,5 +1,3 @@ > # sha256 locally computed > -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz > +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz > sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING > -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt > -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt > diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk > index 9a9aaa35c3..c6487c2337 100644 > --- a/package/sysdig/sysdig.mk > +++ b/package/sysdig/sysdig.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -SYSDIG_VERSION = 0.27.1 > +SYSDIG_VERSION = 0.29.1 > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) > -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt > +SYSDIG_LICENSE = Apache-2.0 > +SYSDIG_LICENSE_FILE = COPYING > SYSDIG_CPE_ID_VENDOR = sysdig > SYSDIG_CONF_OPTS = \ > -DENABLE_DKMS=OFF \ > @@ -16,39 +16,32 @@ SYSDIG_CONF_OPTS = \ > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > SYSDIG_DEPENDENCIES = \ > - c-ares \ > - elfutils \ > - grpc \ > - jq \ > - jsoncpp \ > - libb64 \ > - libcurl \ > - luainterpreter \ > + falcosecurity-libs \ > ncurses \ > - openssl \ > - protobuf \ > - tbb \ > - zlib > + json-for-modern-cpp \ > + yaml-cpp > > -# sysdig creates the module Makefile from a template, which contains a > -# single place-holder, KBUILD_FLAGS, wich is only replaced with two > -# things: > -# - debug flags, which we don't care about here, > -# - 'sysdig-feature' flags, which are never set, so always empty > -# So, just replace the place-holder with the only meaningful value: nothing. > -define SYSDIG_MODULE_GEN_MAKEFILE > - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile > - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile > - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile > -endef > -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE > +# We need to set all these variables to avoid compiling falcosecurity-libs > +# twice. > +SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR=$(BUILD_DIR)/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a Put spaces around assignments. Doesn't check-package warn about this? Also, use $(FALCOSECURITY_LIBS_SRCDIR) instead of reconstructing it. And with that, there's actually no need to introduce a variable for it. In fact, I don't see the point for any of the variables defined below, they only obfuscate what is going on. > +SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/driver/src > +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/libscap > +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/libsinsp > +SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/chisel > +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/libscap/libscap.a > +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/libsinsp/libsinsp.a > > -# Don't build the driver as part of the 'standard' procedure, we'll > -# build it on our own with the kernel-module infra. > -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF > +# SCAP_STATIC_LIBRARY_PATH and SINSP_STATIC_LIBRARY_PATH were added by patch. > +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR) \ Small nit: if you have a multiline assignment, split it like this: SYSDIG_CONF_OPTS += \ -D... Also, there's already a SYSDIG_CONF_OPTS assignment above, and both are unconditional. Merge them. Yes, I know this was already wrong before. > + -DHAVE_LIBSCAP=On \ We use ON and OFF for CMake. Doesn't make a difference, but it's nice if things are consistent. Regards, Arnout > + -DLIBSCAP_INCLUDE_DIRS="$(SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR);$(SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR)" \ > + -DHAVE_LIBSINSP=On \ > + -DLIBSINSP_INCLUDE_DIRS="$(SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR);$(SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR)" \ > + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson \ > + -DSCAP_STATIC_LIBRARY_PATH=$(SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH) \ > + -DSINSP_STATIC_LIBRARY_PATH=$(SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH) > > SYSDIG_MODULE_SUBDIRS = driver > SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) > > -$(eval $(kernel-module)) > $(eval $(cmake-package)) From thomas.petazzoni at bootlin.com Sat Apr 23 04:43:01 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 04:43:01 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-22 Message-ID: <20220423044307.8685460BDB@smtp3.osuosl.org> Hello, Autobuild statistics for 2022-04-22 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 15 | 3 | 0 | 18 | master | 202 | 343 | 0 | 545 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 35 host-gcc-final-10.3.0 | 30 host-elf2flt-7e33f28df198c4... | 14 argp-standalone-1.3 | 12 uclibc-1.0.40 | 12 zchunk-1.2.2 | 12 libopenssl-1.1.1n | 10 ttyd-1.6.3 | 10 git-2.31.2 | 9 libressl-3.4.3 | 7 linux-5.15.33 | 7 qpid-proton-0.35.0 | 6 host-erofs-utils-1.4 | 4 linux-headers-5.15.33 | 4 perl-5.34.1 | 4 python3-3.10.2 | 4 zlib-ng-2.0.6 | 4 aufs-util | 3 exempi-2.6.1 | 3 glibc-2.34-109-gd64b08d5ba7... | 3 host-rust-1.60.0 | 3 linux-headers-5.10.104-cip3... | 3 netsurf-3.10 | 3 toolchain-external-bootlin-... | 3 unknown | 3 botan-2.19.1 | 2 cc-tool-0.27 | 2 fs/ext2/ext2.mk:65: /nvmeda... | 2 gobject-introspection-1.70.0 | 2 gstd-0.14.0 | 2 host-gcc-final-11.2.0 | 2 host-gcc-final-9.4.0 | 2 host-gcc-initial-10.3.0 | 2 host-gdb-arc-2020.09-releas... | 2 host-go-1.18.1 | 2 host-harfbuzz-4.2.0 | 2 host-libcap-2.63 | 2 host-pahole-v1.23 | 2 libcap-ng-0.8.3 | 2 libeXosip2-5.3.0 | 2 libgcrypt-1.10.0 | 2 libtorrent-rasterbar-1.2.15 | 2 libwebsockets-4.3.1 | 2 linux-headers-5.10.104-cip3 | 2 ntp-4.2.8p15 | 2 toolchain-external-bootlin | 2 uacme-1.7.1 | 2 vlc-3.0.16 | 2 wavemon-0.9.4 | 2 zstd-1.5.2 | 2 aircrack-ng-1.6 | 1 arp-scan-1.9.7 | 1 assimp-5.2.1 | 1 augeas-1.12.0 | 1 azmq-1.0.3 | 1 belle-sip-4.4.8 | 1 berkeleydb-5.3.28 | 1 bitcoin-0.21.2 | 1 boinc-7.18.1 | 1 bubblewrap-0.6.1 | 1 cairo-1.16.0 | 1 clamav-0.103.5 | 1 containerd-1.6.2 | 1 coreutils-9.1 | 1 dhcp-4.4.3 | 1 ding-libs-0.6.1 | 1 edk2-edk2-stable202102 | 1 fetchmail-6.4.29 | 1 frr-8.2.2 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/jffs2/jffs2.mk:71: /home... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 gmp-6.2.1 | 1 gnu-efi-3.0.10 | 1 gocryptfs-2.2.1 | 1 gsl-2.6 | 1 gst1-plugins-good-1.20.1 | 1 host-delve-1.8.0 | 1 host-gcc-initial-11.2.0 | 1 host-gcc-initial-9.4.0 | 1 host-wayland-1.20.0 | 1 igh-ethercat-1.5.2 | 1 jack2-1.9.20 | 1 json-c-0.15 | 1 kbd-2.4.0 | 1 libcpprestsdk-2.10.18 | 1 libglvnd-1.3.2 | 1 libnss-3.77 | 1 linux-5.10.104-cip3 | 1 linux-fusion-9.0.3 | 1 linux-pam-1.5.2 | 1 matio-1.5.22 | 1 minizip-3.0.5 | 1 mongodb-4.2.18 | 1 netatalk-3.1.13 | 1 nginx-1.20.1 | 1 ocf-linux-20120127 | 1 openblas-0.3.20 | 1 pipewire-0.3.50 | 1 poke-2.1 | 1 qt5webkit-5.212.0-alpha4 | 1 rauc-1.6 | 1 refpolicy | 1 rtl8188eu-903b6fcb821465fe9... | 1 rtl8189fs-73f826f0fa74b2fc1... | 1 ruby-3.1.0 | 1 s6-portable-utils-2.2.3.2 | 1 shadowsocks-libev-3.3.5 | 1 suricata-6.0.4 | 1 tinifier-3.4.0 | 1 util-linux-2.38 | 1 vde2-2.3.2 | 1 xenomai | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/c5de84a60367e70c1f9ce4cd2bd27b2d5ef9bfae | armeb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/a9c81b689f5ce469e22c45da4b26a367a36fb0c2 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b9445aa36baee26ef10b65ccce45243ef3465993 | x86_64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b35e24c9c07f6950b880e00a59d5d49352dd08db | mips64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8e4efae14375ca6a7a6232014a4ca4eddc179634 | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/808edb624f47b3a6119bc9474d18c8b74b9b3bb7 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/0224dcc27c5ed2726f19c87ea509cbf5b2772598 | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4c375972f50ee61d74ed042e8e8d14bc5cd6cd7d | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/706de5ddad0d45d365951976ac6337d3c6ad0264 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/22160bd14d9d557ee3240f29314367e84881f615 | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/37cef94dab2d7a58e82cd5c1b34c856256eecb15 | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/124d28ee7489d2530293478ec80c4b7fc62d6172 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/63bb39e2201bbac8957a663bba623f9fa7b2754c | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/7ca843410f04c7b644a7ac08c1cc2ec46595e7c7 | or1k | assimp-5.2.1 | NOK | http://autobuild.buildroot.net/results/03417a24c6794d51c1dad9701805545c9329d4b5 | s390x | aufs-util | NOK | http://autobuild.buildroot.net/results/3643b775dba53318bb30b7a671f67ddc4070fe9f | xtensa | aufs-util | NOK | http://autobuild.buildroot.net/results/3deaeabd975929df47f254f25b56f6a6abd6987e | microblaze | aufs-util | NOK | http://autobuild.buildroot.net/results/699db97b7205d4264f93d08c358772637c0e605f | riscv64 | augeas-1.12.0 | NOK | http://autobuild.buildroot.net/results/a0810d59c450535cb40f9e8ce9b93b02af4eb95b | aarch64_be | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/ca5a64d6b3227038f800a63e2ef6fc16fdd91681 | nios2 | belle-sip-4.4.8 | NOK | http://autobuild.buildroot.net/results/161879f9c4d72c6fad2e00aa6c35cda59a058fb1 | sh4eb | berkeleydb-5.3.28 | NOK | http://autobuild.buildroot.net/results/2636ebe77f840f2554e36b5da4849122d13ceb0e | ORPH i686 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/219dfea7526b1d55d65a1e0da8600e12d3ab7f16 | arc | boinc-7.18.1 | NOK | http://autobuild.buildroot.net/results/2271178a36d1a8aaec2f5665b67904466ef18064 | powerpc64 | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/833ef2648af518de95a8c050cf1092387087704c | ORPH mipsel | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/45d3c33d832c5cf6579447ccf4763a297195b924 | ORPH mipsel | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/ae53dbfec4aead7e4eb188d5693f305d4e474d1a | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/193ec9824bcd08c3e6cb20feab26a733bbde4418 | i686 | cc-tool-0.27 | NOK | http://autobuild.buildroot.net/results/56676886c8d81c5161605f159111beb6f62fcb3f | riscv32 | cc-tool-0.27 | NOK | http://autobuild.buildroot.net/results/2d2acfa4d4efd1fd64c3cbcf615bef7cc8af698e | aarch64 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/5bb3bea6d13ac8d497f6862374d65a59bea7ed09 | x86_64 | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/f40d258a4f4af2cfbdf028e51e35c4d0927471aa | sh4 | coreutils-9.1 | NOK | http://autobuild.buildroot.net/results/f9ffe18c1e5c36cad83fd998c11971fcbe5b7170 | ORPH arc | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/55e062c2c972502f61a49f954a74e2b6feb2a3e1 | ORPH arceb | ding-libs-0.6.1 | NOK | http://autobuild.buildroot.net/results/834e322f345eaa1875a47ca61a6e6b55bd4f1026 | x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/1027ddf4a6df0199171fddab69b149a3596bef6e | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/e9dbd99711266432ce10befd5527c039c07a9b7b | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/338dae2bcbb9223c52eec339dca0e7aecca881f7 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/3987476024b4ae3d2d1e49bdce585d53fa30a06d | powerpc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/93cbf3461fa2391fd7068413db1d7350caf62b61 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/a6ff2f523c5507a4fe43831d4ebb60a0c3743121 | mips | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/b84c53e72c51d43b890f75e2ee984e657223477d | powerpc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/6e372deb3f6d7aab99a24fa3be68855f980a7c9e | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/f0e27498221fd68a718499ace72917e3c52a3be2 | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/d88f66fd41dfb07688db9216370579993ad56185 | sparc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/9b1b9f0835f297822b109f010661848b8472976a | nios2 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/ea92765acc76971d88720ecd3722dd4069be9982 | m68k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e98ab81bf83747ad4b90ea8c45bfd366d55c4add | or1k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/7303f4c6c6f4909927c8fc3179ef0658bed74159 | powerpc64le | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/b8e0912a6ab0edbd94fac8e042319e810a615a41 | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e6726b3898cd2ff1cf760783eef4d490239aa713 | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/be01f648fe83f178326bc9b56c82e71b57433331 | mipsel | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/843d04e1f26cfde2da33b188acfddf4aa107fe20 | sparc64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/0088f8d5eaa446893e3a30938320d0f37a75eb30 | microblazeel | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/166222c0ee6ed34cc4f3898ae9f2b5b460f8caf0 | i686 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2a2083b3f328d92e0c60f52cbc784b9b2d49e7af | i586 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/b624331e174a56e1c74322f046c860f91efcfe10 | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/9ceb1ead3eb2de446cc59045be84f8f3c44e657f | riscv64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/c286cc68dd84b55459e60aef243fb717b5a9facd | sparc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/58315ca7cc8f156782fe0f765a40452e5457a4d2 | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e1dd5538c9d521325d26cee83fe96d27bc39bc28 | powerpc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/b5e8baac0ce0206d3d38fdbe00cbcc97759aad9e | mips64el | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/7955c06797225b38978c468bbb25938bf80e9645 | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/52d7325db7439cc52eee1235f56bd9200ba57826 | i586 | fs/jffs2/jffs2.mk:71: /home... | NOK | http://autobuild.buildroot.net/results/ab8fae5a1136197cc9c317c7a1511f89a6dbe574 | powerpc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/4f4eac0f4dcee2bc8dd53f91806a3833237684c2 | x86_64 | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/42e42e04139d33ca47d3d9634eeba360bfe68f84 | or1k | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/a9dad05561782bd9b5c2f6b43d202fdaa076c9f1 | aarch64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8e6e6ebe2997dee5c07754d0293fccfda5a4d604 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e0b4afae94a0fffcbc9989190a473e94a4eeda23 | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/364b4d44023868a93acbdad1a381f1d29daf3084 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/4aeaf84e64a726ac2d7e7f1205712bdadb040583 | aarch64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b8161f161e6fa6b982f1b444334c5abb737b548e | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b17c6409f2c0004ea85963c09c3cdb4b859e3d14 | i686 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/662440b4a816910e7a8c6ab3645a765f070f017a | x86_64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/7849a619d232f600cb3f1e481e88459d2afe83cc | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a94940c05a09927e03226f727d9adc165dd32e58 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/e0c510ba683d7a96d3dc56c032eb650416f52469 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/bdc24e4c312109c415dea59e1bc7e66e3606eeeb | mipsel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a5c3198611af47f3b056a45c0196287c50083f5b | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/0b2d4e9c2df71d1bf1dd0d88fe97797a9967be49 | ORPH mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/008b4fe08054845ce2be108bba62e53d89204d6e | s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/3b8753acbb931443ccd96942f2a533c21d28e538 | ORPH powerpc64 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/c470a00eabdf6d01815b0ffa755e3bf6c97b031a | ORPH x86_64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/8fcdefe378612eace99e80ac16196f52ea3bf9ae | powerpc | gsl-2.6 | NOK | http://autobuild.buildroot.net/results/b7cd5099e5faf7f2490a4cd2d592c702133cb946 | ORPH arm | gst1-plugins-good-1.20.1 | NOK | http://autobuild.buildroot.net/results/21792a9839d9722815075569123df8747fc450e3 | ORPH microblaze | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/026b9d8089bec59c6db6de1fe50e8e852dbb5442 | ORPH i686 | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/0224b4edcb92e99d9ea7d340c388784443a9fa51 | ORPH aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/db2f7635b9c919320df4c67ca5645196085e0bc6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/700f6868e497c0ea485a123b573ef64f6dcf100b | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/64f6c6d5c716cdd5979a06da9d4b5566acc271fc | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/52b50b4247e8321e55c4ef27eba42b50a275fcc4 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a2409a6aec3ba1822de51739406b97ee20d2d56a | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/13533301b6916b535d9c849dbc60db2b8dd58e88 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6b84a23048d7f6e683da88f95879beae5d50425d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d997c62b65f756f2a4bc6573799f92a9df85febc | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f5794fb8c3db27b0f65704b9277cbc9682d6b0a4 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9ceb19b3d458e26c644ca0de79ddb07420bdd7dd | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4e009f13cc42bd3f4ad4918952f2167b6b343d7f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ee23e534353e888171197ffdca7172e7c3089c96 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8fb81aff1d15492f807a6abe72583efaad9b0438 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/185343339baa561701e90ef80ee390a5eebb3756 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1b26f13d47cfc5a517be32c899fe3c94bd588b91 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/080fbeb3e9653f311a334ee7cf17747d61425328 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/668c871c1a3fa4e5c0e188eb4e92aee9e7ff49d3 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b0835c16841a8962888bdd47ea34a02937fdcf3e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a561dd30bae73ed2aca8a2e8765ea27c368f85e5 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/27b93df68ef96b62965454fdfd61a0ce80b5eb00 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/72b118f1236792bd21913648f5fe227ca1dbd2e4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6db25e21dd9970bb6543f2e5d9faf3a0d1879781 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b7f53a3b22b572d5dbe071a198895336eb93f225 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2439b83b7b583e9239663af4a6bc40f14724515a | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a9374391c76eda7fbaf701e712e09d7e79ee3f15 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/34624a8ebd0401a1b95c889840db083702c39849 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0d0382ce3c012c644d5829db8319301bd857aea0 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/636c1e1a4c43f3f82ad6310dcccf707100d9e2f5 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1f41b069d130127c392934483d7c9c01dba220d4 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/993d98972cda396b63849fb4259e026c7f61995f | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/98e94f4049692c8673b13fffd8be0213f2152226 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/098783006cd9e52c8ca5821609a1df55d7a2d9be | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5299648e8d7248ea844032179960eb11f9125430 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0d44483709c1fb39185de720784381049fc6e5e5 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/db492a8ce2c4ef799e8a64127fca928dd61b3bd5 | arm | host-delve-1.8.0 | NOK | http://autobuild.buildroot.net/results/7713e79b2f4031a47fd00a34df26944681955c9b | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/23485f7a642d2cccb0df72d3d59be2f134530f04 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/cd36c0931e7a75e73b000740a7fe3ee00a474458 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f941af946f1b9b8ded20f3de3494882aef6e94bb | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f9f3c084d7abec8765cfdabdca4658dfa9f511e5 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/dfe44fe81c826cb6c2f5761fabc1d82e56a05344 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/84b2a39a1a0edf0086c5da1be6b9e35b9fea8146 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/bf32aea4bf834907db632dd52980d4e9d4463105 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f3084664f7ed2995ae42775231537d31ca56f40b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/cc9d566ddf9bfeee69c2c6ebf927e53842478010 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/9505d54f89f9bade7bbcc50ba48105943d6b9e19 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/87c65203653bf8d85503945b21030eea13947042 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5e731d78813962fe45ee325a27362fc5d318446b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8c1c3921d0a033767f26ec6b68b6b6445dfd4926 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ffeabb8fc02f2cf8b5c41a0a9ca36eb13d73fe35 | ORPH sparc64 | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/0147f3401cecbc8b4670c3ef7396b1dfb28fbe00 | arm | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/4ab4f46caa6de4e8f26b4c36694bfe3f4655e559 | m68k | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/d39e9501305979d086f3d31cd9c08a5bc4b9973e | powerpc64 | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/613e7de1ef4af9633ef3a9c003341154158af983 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/51f83c2a9fdf02748ee6199073b6e0fa6bca05be | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a1bf9d30967d28b935e9f767316dce90b3b39ce6 | arceb | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/22b11ce9e6cd9dac4c09721a43ed294cccbd3d4c | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2fb034ca144f62a6b69368e8a257a98fd5c714f4 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e5419ad1fc7a9842116d74de4595c650f7fe32a0 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1a6e4b086d1661ddc665b82ac69d5ef17d6eefaa | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/551be90a38564e17d991147d96e990659b05e0f0 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e7670944126597b185dda24fafcaa448c1ee934f | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cf821ff992da77e8c7b37a27228c8b328d6395d1 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/92a308d79fcbb398e83b6fb6ba299baf28375c7d | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0dbf85913397a20a5b3065cb57742ac4e4d79429 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f58462d83c85aae3301021bdefd8b414173bb5c2 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/608553c45d487b8f212beaea7e5ec5b096edc27b | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/68dad682310dfa8b2060f1e0940c2ab1fe817c93 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6b1f21a9b33263cc86945a551a722e51eec2abde | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2410d6607cdf93516ebd70cebbe1919591faba7e | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fc2a7e4ca3b8e311f1790de42c69ce9ea9765405 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5cee36731c7a090e3b4d13aa7613cf08c3130948 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/44f24958a6a8f1cbe470a2b56528d4166c0d9ebd | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/363d36a4d662b90ab24491a559b41e8b5253f9bc | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/eafc7559af885a0b9a46811646c7c544883fc4a9 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5beab23a87c5119393b3ffad17ef501776029a73 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9d5166adfa4da16904ae4c673ad5926e9f40d03f | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5560a7e8efe1dcd3b5af888bb86019693fd0b122 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dfc1e45057b099fc47d417b220e5c304e7fc45cd | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/751283aebafb0219c62eadfd018b69ab637538ed | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/69020d1550a9d39369151cd0e1caa3c083ab2232 | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/105d0c11a24a3184a567b1d9f502e638ff20d0dc | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2e3040180d17ee62ad2286dd2381bdbc18b842c3 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fef261327a5cbc45217ee078fb643082d3a19998 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/2782739ebe60b7341f282bce2d6cdd3f2e19bbef | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5db8910d2a05398dc6474297138e586aff65b255 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/726b684342da9cf7148a5f545fbc8534660eba5d | riscv32 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/2c65b17b5db45acac769248902e13db393b4b1dd | sh2a | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/a6eadc8ac47502fdd25410fb9e291a9de4dacfd3 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/e80debcf4264eeb7b568de4e228ce10cbf8716fd | arceb | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/9694a400f3e7daf0ab1f14332ae83ff77404750c | arc | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/227fdf616e51194f6b961f8d917068765b027312 | arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/20e9d1aefd274308fd8cc67b76cb0a06e05faf79 | ORPH arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/95510746cfead4fd9295e5cd6311593ee682c652 | ORPH i686 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/35943ddc15c689815aa13a746a07c2a4867b5394 | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/1f7baa10f3274a8d792a9ca05373b7eb75e8ba77 | arc | host-harfbuzz-4.2.0 | NOK | http://autobuild.buildroot.net/results/bbc48cb5232c617d4ff1d0bafd63bb3c9c72d556 | powerpc | host-harfbuzz-4.2.0 | NOK | http://autobuild.buildroot.net/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701 | powerpc | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/adaf0718278c7ba84d33a726b0ea3008c9c0d7b3 | arm | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/94141350eb50eb38da2c01342628a87acc5e68b8 | arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/5017edb30136c5b8befb47d2616c512a5847b582 | sparc64 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/ac8d3967ff7f00cf91fe81960a280c3dabeda104 | mips | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/12552b4bfa4d738d1d6f6d93585cf6a87577c005 | mipsel | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/0989e5c4aadcc1c9ab555360f0a81545064dad13 | x86_64 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/9ca0e8d3c7873720981ed8cef93cc89c348a20da | microblazeel | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/43c255c375d0f83042e420bac73302044f217e8b | nios2 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/6d6dc960dd3dfe6397bc6edcdcb20dbe318a3001 | m68k | jack2-1.9.20 | NOK | http://autobuild.buildroot.net/results/86044d15523fd3f5930359be386631cde9183839 | riscv64 | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/37215068e82222a87ceff2036d76aa94e933a156 | mipsel | kbd-2.4.0 | NOK | http://autobuild.buildroot.net/results/7e4c6f5503f55e3e58c447b050a9fbd5d9bc581a | ORPH or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/784824620b1bf90207e1a01f26949de87c386de3 | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a7573e5cfe7c9c9b29618faeba605c18507b4dfc | sparc64 | libcpprestsdk-2.10.18 | NOK | http://autobuild.buildroot.net/results/6fa2054c46a18d7f20d01a90c1b1cc7cbae71d76 | ORPH mips | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/4ad86c6b6be331616cda5feb52e7c8d7779d0f24 | sparc | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/070fd4fcbe150b867f08ad2d64a843c5a2fccad4 | powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/6679d3b238358a47b8f5e9eb0798cf7cac23c5e2 | ORPH i586 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/3075f85fa93b39bb04b387dd80e5da4a54f1acb2 | ORPH i586 | libglvnd-1.3.2 | NOK | http://autobuild.buildroot.net/results/74f5d62045834e0a84c379d1cdedb04983c183fc | ORPH powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/5fc2973ff75fdad8f41538ccbd0291ab853ff2d4 | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/72b203e297a0c05dd4bbbdc705ca51357ce4d63b | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/0eafab722e7470976b898a3f16a74b2e4201783c | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/38abba63804489d7add65457a5d49b1c767beeb2 | sh4 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c5174967671ea8ce3a7f45e117e61f81b380ba1f | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a54e1d38cc331797a864b46820647e4c28b78cf9 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/1c60fb4d9a80757f2e1c9d06262f3db2424c074b | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/955bce0593e31b9e83348998bcc8e61325355734 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e01b137ef43fa4546050d6f5cc14e5ffb83dcd21 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/72f1e42bfb14b36490c094aa022ce65d8555bb22 | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/14a9a004d39dee4313b614812160c0feb496ccd7 | m68k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/08474c0a1fe7ac90bf57dd70e16249eb390e477f | ORPH powerpc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/86ffc2814c697f35839e1af9e4e8144553e5066b | ORPH mips | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/2360828b5969cd65eb18eff05fe4487f208183ff | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/1a1d59765c2092a3353416900d9bb7668573bc1a | ORPH x86_64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/99a2897be548482e1fafaa85923a6e59fdc02958 | ORPH microblaze | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/17399bd403ed63f0c7ae4ba47385d2542b05ad60 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/04bf722d0263720fea8be053543f59a2131fe77e | ORPH microblaze | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/3db84b5a340f7396881a6be45bd698e24969cbad | microblazeel | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/7fa57c2fcdfecf65b1badc4199fa4e4aea0c9181 | sparc64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/8cd97674cb6cc2550323bc063137e936f7c2099f | arm | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/93ef9f6e008e4c82c731ef9c7f9850369ecf1ad8 | i686 | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/61f7194f7008dd37d146816e9216bd9c82b44715 | ORPH powerpc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/4e7a81dcac7b79778c9bbce2429b8ade99302b81 | ORPH s390x | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/f57be73179995fc2e7b99f93b22253ffb5cde803 | ORPH arm | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/2841ad4d97fad13340792974b93b1c3a9bbd1b47 | ORPH mipsel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/e64dd8ef2825c12eecd6d74ae3d6ff636314739e | ORPH arc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/b7a888a1e11315043044628104854201292ff40f | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/4bdd1c16bca62df7bc15b5639d4898ffa038a08a | ORPH sh4a | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/69e22b0d0360ff3205892f8d1dcca78fc042cca3 | ORPH sparc64 | linux-fusion-9.0.3 | NOK | http://autobuild.buildroot.net/results/0d1182acb09f1566ffac9afefcbebcffd22257af | ORPH microblaze | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/919f6f8e6f9923fe70cff0a974868975a14a2ea7 | ORPH mips64el | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/959c0cf697b372e9baa9aff193142a1037877a3f | ORPH arm | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/f16a38fc2721349cddd654a1bcf225b055e90c46 | ORPH powerpc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/3cf1020beb1b00e98285198c738c1e621ee40308 | ORPH i686 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/059ea1945d04a028a760856b51df3de872d955cc | ORPH mips64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/9b9f9b9bbec038d823eb8d82979377a1f91b45cf | ORPH m68k | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/7a9b2e0ec8604b74b4ddf1929b2d16e767671c0f | ORPH mips | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/fd3f825e8a9e747e6ef6ff6d2d2fd8a28a59e05d | ORPH powerpc64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/0750dfeb22ddfbcefa6f29e178fc74124ba08a9b | ORPH sh4 | linux-pam-1.5.2 | NOK | http://autobuild.buildroot.net/results/e3103335855c414b48ad071624bb6f9d9879c0d7 | ORPH nios2 | matio-1.5.22 | NOK | http://autobuild.buildroot.net/results/b049ea50db93684dc4c8b7de937d5d59494a5671 | powerpc64 | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/37485f83fbf1ba77dc0487f8622d903ea08bd9f6 | arm | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/b8478797b7ebf3f887f8f61934688d3531c09ac8 | x86_64 | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/fd2dff0e5edd3848cfa44980ac95571cebb991c5 | ORPH sparc64 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/dc4370a95369924b737bb07cc3f497bc87d157e9 | or1k | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/ca409cc21fe834c095e5bcbfdf885db604d88017 | i686 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/9d54e719c5cf59d9bf25a8bece87431c9f187112 | riscv32 | nginx-1.20.1 | NOK | http://autobuild.buildroot.net/results/bb12a8f71b0ea8272fd721c0ec3cd2f3999a4b64 | riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/3c993d0eb7e0114c109479dc933bcee164a655a9 | ORPH riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/3e85809645f4b497d34b732444fd7af56e19dd2a | ORPH microblaze | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/87f6e5cd95ef1c82075086c55df20ae56b781eb0 | ORPH mips64 | openblas-0.3.20 | NOK | http://autobuild.buildroot.net/results/2743f7150db304d63f6a89eed431fa6fbc54d647 | ORPH microblaze | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/4a1ba83d6e9c8c336bdfbcb0ff26b40134e2c4e3 | mips | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/c9e514bc19ed1fefd15ad3b618d14ae497b76861 | arceb | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/ba07b822b73e98c0738ef52e848eed1c0389e9e5 | x86_64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b05c2e26c34a3611214ccdd6c642b35a68173873 | x86_64 | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/a01c0b9e93fcc637329c350fe82814b0729d0067 | riscv32 | poke-2.1 | NOK | http://autobuild.buildroot.net/results/748a8ebe2b13d8abdeb45846883724ce0b79dd15 | ORPH sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/ebd3763d63a21519e8f6140012684c36b3562757 | mips64el | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/6b7dd539068a971252940d1f2dde913ef1553134 | riscv32 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/83cbbb52853c5c8cca908a15d2eb5d9d27618a2b | s390x | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/9fd395b86adbb64f8b0f7e46aa26a2b2a78e04fd | mips64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/6a6a2437b08eddec995b37de17e97f5ecd9e48bb | xtensa | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/84deb6406a9279b899aa759544ff339bcd2f7e87 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a0974af5f099d63b5f5cefd02a630b54088250d6 | s390x | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a7b2923e14fc38bfe70fa491f3d32cb3e0ec683e | powerpc | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/2fc07098e390e3c6d13356a50760b332ac07d79c | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/e1e6f1243ef16a7810db06ae0c557a3eff63b599 | arc | qt5webkit-5.212.0-alpha4 | NOK | http://autobuild.buildroot.net/results/547558523701008585142b00fe66e0dcec249fa2 | microblazeel | rauc-1.6 | NOK | http://autobuild.buildroot.net/results/6446fbd07d4b679db1f58e7fcd51927bd022b5f4 | aarch64_be | refpolicy | NOK | http://autobuild.buildroot.net/results/9e2f4b5cb6d531c859c19de9b5f30d3cf72a572b | powerpc64 | rtl8188eu-903b6fcb821465fe9... | NOK | http://autobuild.buildroot.net/results/658c06f8125613b56511d3351cdfd3d8e19d48da | microblaze | rtl8189fs-73f826f0fa74b2fc1... | NOK | http://autobuild.buildroot.net/results/7f0bdd03c41bcc9e567fe722ed271e5dcf210f44 | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/35c5b435f39f9d7be3e3bdc284de96493b13bd8e | microblaze | s6-portable-utils-2.2.3.2 | NOK | http://autobuild.buildroot.net/results/2de4d4aa1b91ad86998bfac7e8598c66a5b0fdea | mips64 | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/14ceb51554268a0c9b498ad2a43c1a779b9d86ed | arm | suricata-6.0.4 | NOK | http://autobuild.buildroot.net/results/8f7d04393986fa9f89fae11d6580a9e2988c7b29 | i686 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/41f72e8ecd828de19534766d973f57c64703cf0c | sh4aeb | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/bff6527f9e6232c7e9a5200fe5f22e2091fe3a4e | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/aec28990ca333004d113ade4c03f4704067a3a22 | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/942c195b843cb5a9dffd6be51846b37b9efe67a8 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/32c70a7747efad99cc953e5809cefae2e78ee25c | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/f55aecb120416bd3369033e018d89bf58fe589b6 | ORPH nios2 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/c33c16a7721d7209c22c25b1132a8ffa9fdddb81 | arm | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/84ac58439c377938c1b893b46e0a7892fc41b281 | powerpc | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/684638c1ae44e28a3170e33d4bcbdcbf1f29529c | riscv64 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/e0a30686c6cba1ff6eaab3bb9ac02fe923c0d289 | nios2 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/5c4c47023815c59a734f6f08a19ba10ff96d9d50 | xtensa | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/9224139d62c113db7742e8c60ebbd6401628b021 | arm | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/fc5f66204eb8870d060cf4f6a0595f1953366afa | arm | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/0068ba8f9e53926a2559a758268d71157bee2f54 | microblazeel | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/ac07ce2050b7ae17bf85f0e5d5b75397f7357c3b | powerpc64 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/9605fc965c287e5bd8d8a072bb043311fb3bcb53 | arceb | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/4774f58ac457e321870103062e3d8c9a50a6e40e | sparc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/180a865e03f7f69a264bd0b0dd38f579c0a70ca0 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/08ea8427b6c9dc1d161361c4f1aa8ffe6e2400f9 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ee1c9d9cca93251372e1364610cb57bc245977d7 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a7fdce0af13504961a821dd5bbf6e8851795ad47 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/77014fea8863d023df4f78337ee2c384e65edc21 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0c79e511a735a213a74f271de7da1f3febe56669 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/985bcb6b04905738c1e174ac4cccc354bc536aaa | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/32f520da20e8b019fa524d8e6be5b7d462d2d5fa | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6b534e6a17bd358112618c619eff570d72211e4b | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/771caa7da3e46540fdead654ccb2387d5c011fe1 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cde1b80d31cfba63cff3c64671b01cfa3bfedeac | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b04795fc36d9aed18298d24a546706b8d84678a2 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bf24e5ad903095146396edc8965d9df538b4abfb | arm | unknown | NOK | http://autobuild.buildroot.net/results/048f5ded4556f5e7b322b46053c0eec47b387842 | i586 | unknown | NOK | http://autobuild.buildroot.net/results/efbe82a1b01a821202c279a0468bd4c0946e5d92 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/842bcc1f134c583c8b42e7c41b7e8c97df81ab31 | arm | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/555c272fe0f966f7f46d493236cb6dabeca24d9b | ORPH sparc64 | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/0ebd11226af123de1f4aa6619fae5dd2d0961703 | aarch64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/ca12976952d5e46d00eec3ff5686ba95065e931c | powerpc | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/54afd9249aa672d818f383272c5f1031b24d28e3 | xtensa | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/7d3f07fcf992497ef3caba3a5d081104579ef068 | mips64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/65ce15ec2955d3a978ca601ec3ed91a98f14ff7b | nios2 | xenomai | NOK | http://autobuild.buildroot.net/results/c840f8b3e3e084ea328c6da1f5384219badd5306 | mips64el | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/8ca834ff8045255f768ac227201de7d79aafc322 | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/2ba3e5a6f90486d612ce434175ff6f91ea97b40e | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/66757ca07b782d5b26a760d799d0ab7cb1c23afe | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ba436f03d79598ab5609712db7a9f389e85bd672 | or1k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/054540b80254b4746c4b4102eafbe619505ebb08 | mips64el | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/895d8b427baf8601d3bf4334534325ef324791dd | arceb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/39b099d100b154e569283f7ea151e3ed8f1fa216 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/8e6dd3929892ad03b69c479343985afcd9da20e5 | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/f8a0d8571460dff4d9c72bc442eb0027b24eba09 | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b6777e67bd4aa55d95ae32034f475a3c1fb092c2 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1cb9d9a8dad6b9685b3786656e7f2e7c45e2b5ad | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1f07e77deca088cb6b7cfd6559cac5ac95251fae | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4b20f99bdb3630d76a9e3514ff8c96d04373d4b8 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/7fc908d674957b07e28e7d17c865cde7c162b67c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1efb4e6438806b95324770306e47ef4da449eebd | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/6d535bf9765793b9f459df357374cb2ab2c48cea | ORPH microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/843c92151c9e661366328f079c6e8c11c5da48fb | microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/d57de95b71dffa5d5d9ed2f3955bdc033576b039 | Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 2 uhd-3.15.0.0 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/82925c93a8bddd98238d5d36ff52201b55dc6f88 | microblazeel | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/c1961e680557a3097c5a479b86a47ea205e42b72 | arm | uhd-3.15.0.0 | NOK | http://autobuild.buildroot.net/results/f33c3ba56367d33042fb82e7788347b8b05efd2b | Gitlab CI results for 2022-04-22 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ amarula_a64_relic | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425727 | bananapi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425787 | bananapi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425789 | bananapi_m2_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425807 | bananapro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425832 | csky_gx6605s | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425866 | freescale_imx8mmevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425892 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425895 | friendlyarm_nanopi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425907 | ORPH friendlyarm_nanopi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425909 | ORPH friendlyarm_nanopi_neo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425920 | friendlyarm_nanopi_neo_plus2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425922 | friendlyarm_nanopi_r1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425925 | galileo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425930 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425957 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425958 | licheepi_zero | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425967 | minnowboard_max-graphical | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425987 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426042 | orangepi_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426046 | ORPH orangepi_rk3399 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426049 | orangepi_win | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426050 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426125 | -- http://autobuild.buildroot.net From christian at paral.in Sat Apr 23 06:45:44 2022 From: christian at paral.in (Christian Stewart) Date: Fri, 22 Apr 2022 23:45:44 -0700 Subject: [Buildroot] [PATCH 1/1] package/batman-adv: needs CONFIG_CRC16 In-Reply-To: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> References: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> Message-ID: Hi, On Tue, Apr 19, 2022 at 12:00 PM Fabrice Fontaine wrote: > > CONFIG_CRC16 is needed to avoid the following build failure: > > ERROR: modpost: "crc16" [/nvmedata/autobuild/instance-6/output-1/build/batman-adv-2021.4/net/batman-adv/batman-adv.ko] undefined! > > Fixes: > - http://autobuild.buildroot.org/results/64bf0f89ef444dda4d1277c0e46d189ad2515713 > > Signed-off-by: Fabrice Fontaine > --- > package/batman-adv/batman-adv.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk > index 838f9b1851..6a1aaa699c 100644 > --- a/package/batman-adv/batman-adv.mk > +++ b/package/batman-adv/batman-adv.mk > @@ -35,6 +35,7 @@ define BATMAN_ADV_CONFIGURE_CMDS > endef > > define BATMAN_ADV_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC16) > $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) > endef Reviewed-by: Christian Stewart Thanks, Christian From thomas.petazzoni at bootlin.com Sat Apr 23 14:00:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:00:39 +0200 Subject: [Buildroot] [git commit] package/util-linux: lsfd needs headers >= 3.19 Message-ID: <20220423135037.D5A8A83D1F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4e6163a1d88a70c647a27a1ba3a4ed29b076eefa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master lsfd depends on kcmp.h which is only exported since kernel 3.19 and https://github.com/torvalds/linux/commit/3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 resulting in the following build failure since bump to version 2.38 in commit ee978e853a6a4c9bb5ed661c1ae704e79f155a35: configure: error: lsfd selected, but required linux/kcmp.h header file not available Fixes: - http://autobuild.buildroot.org/results/555c272fe0f966f7f46d493236cb6dabeca24d9b Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/util-linux/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index d3c0070160..917f1bc2b4 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -206,10 +206,15 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP config BR2_PACKAGE_UTIL_LINUX_LSFD bool "lsfd" depends on BR2_USE_MMU # libsmartcols + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS help List file descriptors (modern replacement for lsof) +comment "lsfd needs a toolchain w/ headers >= 3.19" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + config BR2_PACKAGE_UTIL_LINUX_LSLOGINS bool "lslogins" depends on BR2_USE_MMU # libsmartcols From thomas.petazzoni at bootlin.com Sat Apr 23 14:02:41 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:02:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: lsfd needs headers >= 3.19 In-Reply-To: <20220422215813.2528195-1-fontaine.fabrice@gmail.com> References: <20220422215813.2528195-1-fontaine.fabrice@gmail.com> Message-ID: <20220423160241.3246f49b@windsurf> On Fri, 22 Apr 2022 23:58:13 +0200 Fabrice Fontaine wrote: > lsfd depends on kcmp.h which is only exported since kernel 3.19 and > https://github.com/torvalds/linux/commit/3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 > resulting in the following build failure since bump to version 2.38 in > commit ee978e853a6a4c9bb5ed661c1ae704e79f155a35: > > configure: error: lsfd selected, but required linux/kcmp.h header file not available > > Fixes: > - http://autobuild.buildroot.org/results/555c272fe0f966f7f46d493236cb6dabeca24d9b > > Signed-off-by: Fabrice Fontaine > --- > package/util-linux/Config.in | 5 +++++ > 1 file changed, 5 insertions(+) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Sat Apr 23 14:07:20 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:07:20 +0200 Subject: [Buildroot] [git commit] package/binutils: make 2.37 the default Message-ID: <20220423140153.E946C83FA7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5a96dbad7e7f9a049d8d152ab15c056ff468c591 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/binutils/Config.in.host | 2 +- package/binutils/binutils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 21b15b5c36..e639c67149 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -7,7 +7,7 @@ config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI choice prompt "Binutils Version" - default BR2_BINUTILS_VERSION_2_36_X if !BR2_arc && !BR2_csky + default BR2_BINUTILS_VERSION_2_37_X if !BR2_arc && !BR2_csky default BR2_BINUTILS_VERSION_ARC if BR2_arc help Select the version of binutils you wish to use. diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 8c4a1371ca..c94ebe0995 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -11,7 +11,7 @@ ifeq ($(BINUTILS_VERSION),) ifeq ($(BR2_arc),y) BINUTILS_VERSION = arc-2020.09-release else -BINUTILS_VERSION = 2.36.1 +BINUTILS_VERSION = 2.37 endif endif # BINUTILS_VERSION From thomas.petazzoni at bootlin.com Sat Apr 23 14:05:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:05:39 +0200 Subject: [Buildroot] [git commit] package/binutils: add version 2.38 Message-ID: <20220423140153.CAC3E83FA7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e93cec6d3c6bec31ab264812f23da7596f749f0f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master See: https://sourceware.org/pipermail/binutils/2022-February/119721.html i386-Allow-GOT32-relocations-against-ABS-symbols.patch is not required as it is in release. Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/binutils/2.38/0001-sh-conf.patch | 48 ++++ .../2.38/0002-poison-system-directories.patch | 306 +++++++++++++++++++++ ...lf32-or1k-fix-building-with-gcc-version-5.patch | 50 ++++ ...R_OR1K_GOT16-signed-overflow-by-using-spe.patch | 75 +++++ ...0005-binutils-2.38-vs.-ppc32-linux-kernel.patch | 55 ++++ package/binutils/Config.in.host | 7 + package/binutils/binutils.hash | 1 + 7 files changed, 542 insertions(+) diff --git a/package/binutils/2.38/0001-sh-conf.patch b/package/binutils/2.38/0001-sh-conf.patch new file mode 100644 index 0000000000..fcc597e4d9 --- /dev/null +++ b/package/binutils/2.38/0001-sh-conf.patch @@ -0,0 +1,48 @@ +From 33f3c1f804efc2e4f97849081589efb70cda31e5 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 25 Dec 2015 11:38:13 +0100 +Subject: [PATCH] sh-conf + +Likewise, binutils has no idea about any of these new targets either, so we +fix that up too.. now we're able to actually build a real toolchain for +sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more +inept targets than that one, really. Go look, I promise). + +[Romain: rebase on top of 2.32] +Signed-off-by: Romain Naour +[Thomas: rebase on top of 2.29, in which sh64 support was removed.] +Signed-off-by: Thomas Petazzoni +--- + configure | 2 +- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 3dd206525a7..6881ce632f5 100755 +--- a/configure ++++ b/configure +@@ -3892,7 +3892,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +diff --git a/configure.ac b/configure.ac +index 797a624621e..1f9256bbf18 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1175,7 +1175,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +-- +2.31.1 + diff --git a/package/binutils/2.38/0002-poison-system-directories.patch b/package/binutils/2.38/0002-poison-system-directories.patch new file mode 100644 index 0000000000..1a5fe46575 --- /dev/null +++ b/package/binutils/2.38/0002-poison-system-directories.patch @@ -0,0 +1,306 @@ +From 4d8705ddb55897e8a74b617ab95736d520d9e1ea Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 25 Dec 2015 11:45:38 +0100 +Subject: [PATCH] poison-system-directories + +Patch adapted to binutils 2.23.2 and extended to use +BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. + +[Romain: rebase on top of 2.33.1] +Signed-off-by: Romain Naour +[Gustavo: adapt to binutils 2.25] +Signed-off-by: Thomas Petazzoni +Signed-off-by: Gustavo Zacarias + +Upstream-Status: Inappropriate [distribution: codesourcery] + +Patch originally created by Mark Hatle, forward-ported to +binutils 2.21 by Scott Garman. + +purpose: warn for uses of system directories when cross linking + +Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 + +2008-07-02 Joseph Myers + + ld/ + * ld.h (args_type): Add error_poison_system_directories. + * ld.texinfo (--error-poison-system-directories): Document. + * ldfile.c (ldfile_add_library_path): Check + command_line.error_poison_system_directories. + * ldmain.c (main): Initialize + command_line.error_poison_system_directories. + * lexsup.c (enum option_values): Add + OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. + (ld_options): Add --error-poison-system-directories. + (parse_args): Handle new option. + +2007-06-13 Joseph Myers + + ld/ + * config.in: Regenerate. + * ld.h (args_type): Add poison_system_directories. + * ld.texinfo (--no-poison-system-directories): Document. + * ldfile.c (ldfile_add_library_path): Check + command_line.poison_system_directories. + * ldmain.c (main): Initialize + command_line.poison_system_directories. + * lexsup.c (enum option_values): Add + OPTION_NO_POISON_SYSTEM_DIRECTORIES. + (ld_options): Add --no-poison-system-directories. + (parse_args): Handle new option. + +2007-04-20 Joseph Myers + + Merge from Sourcery G++ binutils 2.17: + + 2007-03-20 Joseph Myers + Based on patch by Mark Hatle . + ld/ + * configure.ac (--enable-poison-system-directories): New option. + * configure, config.in: Regenerate. + * ldfile.c (ldfile_add_library_path): If + ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, + /usr/lib, /usr/local/lib or /usr/X11R6/lib. + +Signed-off-by: Mark Hatle +Signed-off-by: Scott Garman +--- + ld/config.in | 3 +++ + ld/configure | 14 ++++++++++++++ + ld/configure.ac | 10 ++++++++++ + ld/ld.h | 8 ++++++++ + ld/ld.texi | 12 ++++++++++++ + ld/ldfile.c | 17 +++++++++++++++++ + ld/ldlex.h | 2 ++ + ld/ldmain.c | 2 ++ + ld/lexsup.c | 21 +++++++++++++++++++++ + 9 files changed, 89 insertions(+) + +diff --git a/ld/config.in b/ld/config.in +index 26d55a00d47..ffad464783c 100644 +--- a/ld/config.in ++++ b/ld/config.in +@@ -43,6 +43,9 @@ + language is requested. */ + #undef ENABLE_NLS + ++/* Define to warn for use of native system library directories */ ++#undef ENABLE_POISON_SYSTEM_DIRECTORIES ++ + /* Additional extension a shared object might have. */ + #undef EXTRA_SHLIB_EXTENSION + +diff --git a/ld/configure b/ld/configure +index c197aaef3cb..882263aa43f 100755 +--- a/ld/configure ++++ b/ld/configure +@@ -829,6 +829,7 @@ with_lib_path + enable_targets + enable_64_bit_bfd + with_sysroot ++enable_poison_system_directories + enable_gold + enable_got + enable_compressed_debug_sections +@@ -1498,6 +1499,8 @@ Optional Features: + --enable-checking enable run-time checks + --enable-targets alternative target configurations + --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) ++ --enable-poison-system-directories ++ warn for use of native system library directories + --enable-gold[=ARG] build gold [ARG={default,yes,no}] + --enable-got= GOT handling scheme (target, single, negative, + multigot) +@@ -15236,7 +15239,18 @@ else + fi + + ++# Check whether --enable-poison-system-directories was given. ++if test "${enable_poison_system_directories+set}" = set; then : ++ enableval=$enable_poison_system_directories; ++else ++ enable_poison_system_directories=no ++fi ++ ++if test "x${enable_poison_system_directories}" = "xyes"; then + ++$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h ++ ++fi + + # Check whether --enable-got was given. + if test "${enable_got+set}" = set; then : +diff --git a/ld/configure.ac b/ld/configure.ac +index 8ea97c43cd4..0f246db67d8 100644 +--- a/ld/configure.ac ++++ b/ld/configure.ac +@@ -106,6 +106,16 @@ AC_SUBST(use_sysroot) + AC_SUBST(TARGET_SYSTEM_ROOT) + AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) + ++AC_ARG_ENABLE([poison-system-directories], ++ AS_HELP_STRING([--enable-poison-system-directories], ++ [warn for use of native system library directories]),, ++ [enable_poison_system_directories=no]) ++if test "x${enable_poison_system_directories}" = "xyes"; then ++ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], ++ [1], ++ [Define to warn for use of native system library directories]) ++fi ++ + dnl Use --enable-gold to decide if this linker should be the default. + dnl "install_as_default" is set to false if gold is the default linker. + dnl "installed_linker" is the installed BFD linker name. +diff --git a/ld/ld.h b/ld/ld.h +index 35fafebfaed..74e66405de6 100644 +--- a/ld/ld.h ++++ b/ld/ld.h +@@ -162,6 +162,14 @@ typedef struct + in the linker script. */ + bool force_group_allocation; + ++ /* If TRUE (the default) warn for uses of system directories when ++ cross linking. */ ++ bool poison_system_directories; ++ ++ /* If TRUE (default FALSE) give an error for uses of system ++ directories when cross linking instead of a warning. */ ++ bool error_poison_system_directories; ++ + /* Big or little endian as set on command line. */ + enum endian_enum endian; + +diff --git a/ld/ld.texi b/ld/ld.texi +index dd8f571d4e4..3ab210b41b9 100644 +--- a/ld/ld.texi ++++ b/ld/ld.texi +@@ -2863,6 +2863,18 @@ string identifying the original linked file does not change. + + Passing @code{none} for @var{style} disables the setting from any + @code{--build-id} options earlier on the command line. ++ ++ at kindex --no-poison-system-directories ++ at item --no-poison-system-directories ++Do not warn for @option{-L} options using system directories such as ++ at file{/usr/lib} when cross linking. This option is intended for use ++in chroot environments when such directories contain the correct ++libraries for the target system rather than the host. ++ ++ at kindex --error-poison-system-directories ++ at item --error-poison-system-directories ++Give an error instead of a warning for @option{-L} options using ++system directories when cross linking. + @end table + + @c man end +diff --git a/ld/ldfile.c b/ld/ldfile.c +index 9d0af06f1f6..7cdd3b1c1b1 100644 +--- a/ld/ldfile.c ++++ b/ld/ldfile.c +@@ -117,6 +117,23 @@ ldfile_add_library_path (const char *name, bool cmdline) + new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); + else + new_dirs->name = xstrdup (name); ++ ++#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES ++ if (command_line.poison_system_directories ++ && ((!strncmp (name, "/lib", 4)) ++ || (!strncmp (name, "/usr/lib", 8)) ++ || (!strncmp (name, "/usr/local/lib", 14)) ++ || (!strncmp (name, "/usr/X11R6/lib", 14)))) ++ { ++ if (command_line.error_poison_system_directories) ++ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " ++ "cross-compilation\n"), name); ++ else ++ einfo (_("%P: warning: library search path \"%s\" is unsafe for " ++ "cross-compilation\n"), name); ++ } ++#endif ++ + } + + /* Try to open a BFD for a lang_input_statement. */ +diff --git a/ld/ldlex.h b/ld/ldlex.h +index 9e8bf5fb835..2f0fadfe0a3 100644 +--- a/ld/ldlex.h ++++ b/ld/ldlex.h +@@ -163,6 +163,8 @@ enum option_values + OPTION_CTF_VARIABLES, + OPTION_NO_CTF_VARIABLES, + OPTION_CTF_SHARE_TYPES, ++ OPTION_NO_POISON_SYSTEM_DIRECTORIES, ++ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, + }; + + /* The initial parser states. */ +diff --git a/ld/ldmain.c b/ld/ldmain.c +index 42660eb9a3c..1aef9387f93 100644 +--- a/ld/ldmain.c ++++ b/ld/ldmain.c +@@ -321,6 +321,8 @@ main (int argc, char **argv) + command_line.warn_mismatch = true; + command_line.warn_search_mismatch = true; + command_line.check_section_addresses = -1; ++ command_line.poison_system_directories = true; ++ command_line.error_poison_system_directories = false; + + /* We initialize DEMANGLING based on the environment variable + COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the +diff --git a/ld/lexsup.c b/ld/lexsup.c +index 00274c500d0..4f23b3a2da2 100644 +--- a/ld/lexsup.c ++++ b/ld/lexsup.c +@@ -595,6 +595,14 @@ static const struct ld_option ld_options[] = + " is: share-unconflicted (default),\n" + " share-duplicated"), + TWO_DASHES }, ++ { {"no-poison-system-directories", no_argument, NULL, ++ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, ++ '\0', NULL, N_("Do not warn for -L options using system directories"), ++ TWO_DASHES }, ++ { {"error-poison-system-directories", no_argument, NULL, ++ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, ++ '\0', NULL, N_("Give an error for -L options using system directories"), ++ TWO_DASHES }, + }; + + #define OPTION_COUNT ARRAY_SIZE (ld_options) +@@ -607,6 +615,7 @@ parse_args (unsigned argc, char **argv) + int ingroup = 0; + char *default_dirlist = NULL; + char *shortopts; ++ char *BR_paranoid_env; + struct option *longopts; + struct option *really_longopts; + int last_optind; +@@ -1643,6 +1652,14 @@ parse_args (unsigned argc, char **argv) + } + break; + ++ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: ++ command_line.poison_system_directories = false; ++ break; ++ ++ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: ++ command_line.error_poison_system_directories = true; ++ break; ++ + case OPTION_PUSH_STATE: + input_flags.pushed = xmemdup (&input_flags, + sizeof (input_flags), +@@ -1788,6 +1805,10 @@ parse_args (unsigned argc, char **argv) + command_line.soname = NULL; + } + ++ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); ++ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) ++ command_line.error_poison_system_directories = true; ++ + while (ingroup) + { + einfo (_("%P: missing --end-group; added as last command line option\n")); +-- +2.31.1 + diff --git a/package/binutils/2.38/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.38/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch new file mode 100644 index 0000000000..bfd531b818 --- /dev/null +++ b/package/binutils/2.38/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch @@ -0,0 +1,50 @@ +From ef4ba1da823e8366ea4f126f50885a44ebf4dcf0 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 9 Jun 2021 17:28:27 +0200 +Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 + +Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use +an old compiler(i.e. gcc 4.9) build fails on: +``` +elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in +C99 or C11 mode + for (size_t i = 0; i < insn_count; i++) + ^ +``` + +So let's declare `size_t i` at the top of the function instead of inside +for loop. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..32063ab0289 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + { + unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; + unsigned output_insns[PLT_MAX_INSN_COUNT]; ++ size_t i; + + /* Copy instructions into the output buffer. */ +- for (size_t i = 0; i < insn_count; i++) ++ for (i = 0; i < insn_count; i++) + output_insns[i] = insns[i]; + + /* Honor the no-delay-slot setting. */ +@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + } + + /* Write out the output buffer. */ +- for (size_t i = 0; i < (insn_count+1); i++) ++ for (i = 0; i < (insn_count+1); i++) + bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); + } + +-- +2.31.1 + diff --git a/package/binutils/2.38/0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.38/0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch new file mode 100644 index 0000000000..8609db95b7 --- /dev/null +++ b/package/binutils/2.38/0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch @@ -0,0 +1,75 @@ +From 362a20108782b87cd780a989c0dbd014fc2def8b Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Sun, 2 Jan 2022 09:03:28 +0900 +Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special + howto + +Previously when fixing PR 21464 we masked out upper bits of the +relocation value in order to avoid overflow complaints when acceptable. +It turns out this does not work when the relocation value ends up being +signed. + +To fix this this patch introduces a special howto with +complain_on_overflow set to complain_overflow_dont. This is used in +place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 +relocations. + +bfd/ChangeLog: + + PR 28735 + * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. + (or1k_elf_relocate_section): Use new howto instead of trying to + mask out relocation bits. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..7fd88d72442 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = + false), /* pcrel_offset */ + }; + ++/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 ++ relocations when we know we can ignore overflows. */ ++static reloc_howto_type or1k_elf_got16_no_overflow_howto = ++ HOWTO (R_OR1K_GOT16, /* type */ ++ 0, /* rightshift */ ++ 2, /* size (0 = byte, 1 = short, 2 = long) */ ++ 16, /* bitsize */ ++ false, /* pc_relative */ ++ 0, /* bitpos */ ++ complain_overflow_dont, /* complain_on_overflow */ ++ bfd_elf_generic_reloc, /* special_function */ ++ "R_OR1K_GOT16", /* name */ ++ false, /* partial_inplace */ ++ 0, /* src_mask */ ++ 0xffff, /* dst_mask */ ++ false); /* pcrel_offset */ ++ + /* Map BFD reloc types to Or1k ELF reloc types. */ + + struct or1k_reloc_map +@@ -1506,12 +1523,11 @@ or1k_elf_relocate_section (bfd *output_bfd, + if (r_type == R_OR1K_GOT_AHI16) + saw_gotha = true; + +- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 ++ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 + relocation we assume the code is doing the right thing to avoid +- overflows. Here we mask the lower 16-bit of the relocation to +- avoid overflow validation failures. */ ++ overflows. */ + if (r_type == R_OR1K_GOT16 && saw_gotha) +- relocation &= 0xffff; ++ howto = &or1k_elf_got16_no_overflow_howto; + + /* Addend should be zero. */ + if (rel->r_addend != 0) +-- +2.25.1 + diff --git a/package/binutils/2.38/0005-binutils-2.38-vs.-ppc32-linux-kernel.patch b/package/binutils/2.38/0005-binutils-2.38-vs.-ppc32-linux-kernel.patch new file mode 100644 index 0000000000..c62652c95f --- /dev/null +++ b/package/binutils/2.38/0005-binutils-2.38-vs.-ppc32-linux-kernel.patch @@ -0,0 +1,55 @@ +From ed9b2e40ebffec835d63473367da8dd8f80d7d5b Mon Sep 17 00:00:00 2001 +From: Alan Modra +Date: Mon, 21 Feb 2022 10:58:57 +1030 +Subject: [PATCH] binutils 2.38 vs. ppc32 linux kernel + +Commit b25f942e18d6 made .machine more strict. Weaken it again. + + * config/tc-ppc.c (ppc_machine): Treat an early .machine specially, + keeping sticky options to work around gcc bugs. + +(cherry picked from commit cebc89b9328eab994f6b0314c263f94e7949a553) +Signed-off-by: Waldemar Brodkorb +--- + gas/config/tc-ppc.c | 25 ++++++++++++++++++++++++- + 1 file changed, 24 insertions(+), 1 deletion(-) + +diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c +index 054f9c72161..89bc7d3f9b9 100644 +--- a/gas/config/tc-ppc.c ++++ b/gas/config/tc-ppc.c +@@ -5965,7 +5965,30 @@ ppc_machine (int ignore ATTRIBUTE_UNUSED) + options do not count as a new machine, instead they add + to currently selected opcodes. */ + ppc_cpu_t machine_sticky = 0; +- new_cpu = ppc_parse_cpu (ppc_cpu, &machine_sticky, cpu_string); ++ /* Unfortunately, some versions of gcc emit a .machine ++ directive very near the start of the compiler's assembly ++ output file. This is bad because it overrides user -Wa ++ cpu selection. Worse, there are versions of gcc that ++ emit the *wrong* cpu, not even respecting the -mcpu given ++ to gcc. See gcc pr101393. And to compound the problem, ++ as of 20220222 gcc doesn't pass the correct cpu option to ++ gas on the command line. See gcc pr59828. Hack around ++ this by keeping sticky options for an early .machine. */ ++ asection *sec; ++ for (sec = stdoutput->sections; sec != NULL; sec = sec->next) ++ { ++ segment_info_type *info = seg_info (sec); ++ /* Are the frags for this section perturbed from their ++ initial state? Even .align will count here. */ ++ if (info != NULL ++ && (info->frchainP->frch_root != info->frchainP->frch_last ++ || info->frchainP->frch_root->fr_type != rs_fill ++ || info->frchainP->frch_root->fr_fix != 0)) ++ break; ++ } ++ new_cpu = ppc_parse_cpu (ppc_cpu, ++ sec == NULL ? &sticky : &machine_sticky, ++ cpu_string); + if (new_cpu != 0) + ppc_cpu = new_cpu; + else +-- +2.30.2 + diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index ea1f020989..17de6e4e41 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -36,6 +36,12 @@ config BR2_BINUTILS_VERSION_2_37_X # https://github.com/uclinux-dev/elf2flt/issues/12 depends on !BR2_BINFMT_FLAT +config BR2_BINUTILS_VERSION_2_38_X + bool "binutils 2.38" + # https://github.com/uclinux-dev/elf2flt/pull/16 + # https://github.com/uclinux-dev/elf2flt/issues/12 + depends on !BR2_BINFMT_FLAT + config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" depends on BR2_arc @@ -49,6 +55,7 @@ config BR2_BINUTILS_VERSION default "2.35.2" if BR2_BINUTILS_VERSION_2_35_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X + default "2.38" if BR2_BINUTILS_VERSION_2_38_X config BR2_BINUTILS_ENABLE_LTO bool diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index d1be6cbce8..fe31b34d40 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -3,6 +3,7 @@ sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724a sha512 9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz +sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz # Locally calculated (fetched from Github) sha512 76a8227a19218435319c660e4983ea17985194b7f496f163e97543e7f6fd3e9249241fdc05a16ba512fba96a1d846c1f7b080983404d821d6215f10e7f11e238 binutils-gdb-arc-2020.09-release.tar.gz From thomas.petazzoni at bootlin.com Sat Apr 23 14:07:11 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:07:11 +0200 Subject: [Buildroot] [git commit] package/binutils: remove 2.35.2 Message-ID: <20220423140153.DDC41812D4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5706080f69402cf2689d8a38cde38c2b9cc01183 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- Config.in.legacy | 6 + package/binutils/2.35.2/0001-sh-conf.patch | 48 -- .../2.35.2/0002-poison-system-directories.patch | 306 ------------- ...sue-with-plt-link-failure-for-local-calls.patch | 59 --- ...ent-relocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 ----------- ...R_OR1K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...t-large-plt_relocs-when-generating-plt-en.patch | 500 --------------------- ...lf32-or1k-fix-building-with-gcc-version-5.patch | 50 --- ...-relative-relocation-against-dynamic-on-P.patch | 59 --- ...R_OR1K_GOT16-signed-overflow-by-using-spe.patch | 75 ---- ...low-GOT32-relocations-against-ABS-symbols.patch | 46 -- package/binutils/Config.in.host | 8 - package/binutils/binutils.hash | 1 - 13 files changed, 6 insertions(+), 1469 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27f19f14e7..27a4fcd33b 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.05" +config BR2_BINUTILS_VERSION_2_35_X + bool "binutils 2.35.x has been removed" + select BR2_LEGACY + help + binutils 2.35 has been removed, use a newer version. + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/package/binutils/2.35.2/0001-sh-conf.patch b/package/binutils/2.35.2/0001-sh-conf.patch deleted file mode 100644 index 44d5f4e89a..0000000000 --- a/package/binutils/2.35.2/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From ae50e875f4292c99b859cded1d036e401b6ddaec Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 54d0339ab9e..c2f51ffcebb 100755 ---- a/configure -+++ b/configure -@@ -3937,7 +3937,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index a910c4fd6ba..a93d93c81c3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1178,7 +1178,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.25.4 - diff --git a/package/binutils/2.35.2/0002-poison-system-directories.patch b/package/binutils/2.35.2/0002-poison-system-directories.patch deleted file mode 100644 index b77a5e1a66..0000000000 --- a/package/binutils/2.35.2/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From db405d1bc5607892ddb25433354b46d78e23b343 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.33.1] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index 2f4e5ea33e3..8fbb29682b2 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -40,6 +40,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index 6be5280621f..d62e7b12382 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -826,6 +826,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1493,6 +1494,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15814,7 +15817,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index 172398ff847..b77f8510ca6 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index 1790dc81a66..73f832eb169 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -166,6 +166,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index 2a93e9456ac..3eeb70607fd 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2655,6 +2655,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+ at kindex --no-poison-system-directories -+ at item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+ at file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+ at kindex --error-poison-system-directories -+ at item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index e39170b5d94..fadc248a140 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -117,6 +117,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 5ea083ebeb3..417f9b858ce 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -155,6 +155,8 @@ enum option_values - OPTION_NON_CONTIGUOUS_REGIONS, - OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS, - OPTION_DEPENDENCY_FILE, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index 08be9030cb5..92dc16399eb 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -321,6 +321,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 6cab41cf5df..c497f36b148 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -572,6 +572,14 @@ static const struct ld_option ld_options[] = - { {"no-print-map-discarded", no_argument, NULL, OPTION_NO_PRINT_MAP_DISCARDED}, - '\0', NULL, N_("Do not show discarded sections in map file output"), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -584,6 +592,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1591,6 +1600,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1681,6 +1698,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - einfo (_("%P: missing --end-group; added as last command line option\n")); --- -2.25.4 - diff --git a/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index 81fb6b8518..0000000000 --- a/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From baf313f84b106a5a29f01796afd857e69abf8b08 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 7c02d004cc7..bbfa2bfe614 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2568,11 +2568,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index a4af57d546..0000000000 --- a/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From c67656e248d6dadaa2729975a17c8dd03afe48d0 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index df6f9f45673..ab861395e93 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5041,6 +5041,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index bbfa2bfe614..8e395827123 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - /* tls_type is a mask used to track how each symbol is accessed, -@@ -1113,6 +1128,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1375,6 +1391,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1466,7 +1483,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1992,6 +2010,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index b97534fc9fe..795c9b9d27f 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2755,6 +2755,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index 9aba84ca81e..1e021febef2 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6175,6 +6175,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index f0adcbb00a5..5d20a1f33a7 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -193,7 +193,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -296,6 +296,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index a215ef5c17e..dff37d875f2 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 5f3c6c74b12..e0c49b3b8cd 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index 82198dd373..0000000000 --- a/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 097b83a1c9c694a14e6081cee034bf24f16875c1 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence of - R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 8e395827123..9f315bfda99 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1280,6 +1280,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1487,6 +1488,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index c884ab874d..0000000000 --- a/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From c87692eb894b4b86eced7b7ba205f9bf27c2c213 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 9f315bfda99..7a14eaa3a46 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -907,6 +911,8 @@ struct elf_or1k_link_hash_entry - { - struct elf_link_hash_entry root; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -934,9 +940,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2224,33 +2241,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2317,7 +2347,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2328,27 +2359,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2391,7 +2422,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2403,6 +2435,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2420,10 +2453,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2435,27 +2471,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. We initialize it to - point to the top of the plt. This is done to lazy lookup the actual -@@ -2779,11 +2845,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *splt = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (splt->size == 0) -- splt->size = PLT_ENTRY_SIZE; -+ splt->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = splt->size; - -@@ -2800,7 +2871,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- splt->size += PLT_ENTRY_SIZE; -+ splt->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 7592e8307c1..8e19ec6c31a 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch deleted file mode 100644 index c3978e22fa..0000000000 --- a/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Wed, 9 Jun 2021 17:28:27 +0200 -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 - -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use -an old compiler(i.e. gcc 4.9) build fails on: -``` -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in -C99 or C11 mode - for (size_t i = 0; i < insn_count; i++) - ^ -``` - -So let's declare `size_t i` at the top of the function instead of inside -for loop. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..32063ab0289 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; - unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ size_t i; - - /* Copy instructions into the output buffer. */ -- for (size_t i = 0; i < insn_count; i++) -+ for (i = 0; i < insn_count; i++) - output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - } - - /* Write out the output buffer. */ -- for (size_t i = 0; i < (insn_count+1); i++) -+ for (i = 0; i < (insn_count+1); i++) - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - --- -2.25.1 - diff --git a/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch deleted file mode 100644 index 585b97b2af..0000000000 --- a/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Sat, 10 Jul 2021 17:57:34 +0200 -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC - relative 26 bit relocation - -When building openal we were seeing the assert failure: - -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePausev -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceStopv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceRewindv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePlayv -collect2: error: ld returned 1 exit status - -This happens because in R_OR1K_INSN_REL_26 case we can't reference local -symbol as previously done but we need to make sure that calls to actual -symbol always call the version of current object. - -bfd/Changelog: - - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry - in switch case R_OR1K_INSN_REL_26 where we need to check for - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..4f9092539f5 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, - break; - - case R_OR1K_INSN_REL_26: -+ /* For a non-shared link, these will reference plt or call the -+ version of actual object. */ -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) -+ { -+ _bfd_error_handler -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), -+ input_bfd, name); -+ ret_val = FALSE; -+ bfd_set_error (bfd_error_bad_value); -+ } -+ break; -+ - case R_OR1K_PCREL_PG21: - case R_OR1K_LO13: - case R_OR1K_SLO13: --- -2.25.1 - diff --git a/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch deleted file mode 100644 index e96d49122a..0000000000 --- a/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch +++ /dev/null @@ -1,75 +0,0 @@ -From fbab8933bca6b7dba2aa19190a71f799a370c3d4 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 Jan 2022 09:03:28 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special - howto - -Previously when fixing PR 21464 we masked out upper bits of the -relocation value in order to avoid overflow complaints when acceptable. -It turns out this does not work when the relocation value ends up being -signed. - -To fix this this patch introduces a special howto with -complain_on_overflow set to complain_overflow_dont. This is used in -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 -relocations. - -bfd/ChangeLog: - - PR 28735 - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. - (or1k_elf_relocate_section): Use new howto instead of trying to - mask out relocation bits. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2ff998066a8..3df31172fcb 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = - FALSE), /* pcrel_offset */ - }; - -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 -+ relocations when we know we can ignore overflows. */ -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = -+ HOWTO (R_OR1K_GOT16, /* type */ -+ 0, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_dont, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE); /* pcrel_offset */ -+ - /* Map BFD reloc types to Or1k ELF reloc types. */ - - struct or1k_reloc_map -@@ -1508,12 +1525,11 @@ or1k_elf_relocate_section (bfd *output_bfd, - if (r_type == R_OR1K_GOT_AHI16) - saw_gotha = TRUE; - -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 - relocation we assume the code is doing the right thing to avoid -- overflows. Here we mask the lower 16-bit of the relocation to -- avoid overflow validation failures. */ -+ overflows. */ - if (r_type == R_OR1K_GOT16 && saw_gotha) -- relocation &= 0xffff; -+ howto = &or1k_elf_got16_no_overflow_howto; - - /* Addend should be zero. */ - if (rel->r_addend != 0) --- -2.25.1 - diff --git a/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch b/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch deleted file mode 100644 index e95eb1e7c5..0000000000 --- a/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 30a954525f4e53a9cd50a1a8a6f201c7cf6595c7 Mon Sep 17 00:00:00 2001 -From: "H.J. Lu" -Date: Mon, 7 Feb 2022 15:22:19 -0800 -Subject: [PATCH] i386: Allow GOT32 relocations against ABS symbols - -GOT32 relocations are allowed since absolute value + addend is stored in -the GOT slot. - -Tested on glibc 2.35 build with GCC 11.2 and -Os. - -bfd/ - - PR ld/28870 - * elfxx-x86.c (_bfd_elf_x86_valid_reloc_p): Also allow GOT32 - relocations. - -Signed-off-by: Waldemar Brodkorb - -diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c -index 7ac2411fc80..d00dc45677b 100644 ---- a/bfd/elfxx-x86.c -+++ b/bfd/elfxx-x86.c -@@ -1942,9 +1942,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, - irel = *rel; - - /* Only allow relocations against absolute symbol, which can be -- resolved as absolute value + addend. GOTPCREL relocations -- are allowed since absolute value + addend is stored in the -- GOT slot. */ -+ resolved as absolute value + addend. GOTPCREL and GOT32 -+ relocations are allowed since absolute value + addend is -+ stored in the GOT slot. */ - if (bed->target_id == X86_64_ELF_DATA) - { - r_type &= ~R_X86_64_converted_reloc_bit; -@@ -1965,7 +1965,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, - else - valid_p = (r_type == R_386_32 - || r_type == R_386_16 -- || r_type == R_386_8); -+ || r_type == R_386_8 -+ || r_type == R_386_GOT32 -+ || r_type == R_386_GOT32X); - - if (valid_p) - *no_dynreloc_p = true; diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 17de6e4e41..21b15b5c36 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -16,13 +16,6 @@ config BR2_BINUTILS_VERSION_2_32_X bool "binutils 2.32" depends on !BR2_csky -config BR2_BINUTILS_VERSION_2_35_X - bool "binutils 2.35.2" - depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT - config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky @@ -52,7 +45,6 @@ config BR2_BINUTILS_VERSION string default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC default "2.32" if BR2_BINUTILS_VERSION_2_32_X - default "2.35.2" if BR2_BINUTILS_VERSION_2_35_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X default "2.38" if BR2_BINUTILS_VERSION_2_38_X diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index fe31b34d40..4141e0c5f2 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -1,6 +1,5 @@ # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz -sha512 9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz From thomas.petazzoni at bootlin.com Sat Apr 23 14:15:58 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:15:58 +0200 Subject: [Buildroot] [PATCHv3 1/3] package/binutils: add version 2.38 In-Reply-To: References: Message-ID: <20220423161558.0eb845c8@windsurf> On Wed, 23 Feb 2022 18:55:35 +0100 Waldemar Brodkorb wrote: > See: > https://sourceware.org/pipermail/binutils/2022-February/119721.html > > i386-Allow-GOT32-relocations-against-ABS-symbols.patch is not required > as it is in release. > > Signed-off-by: Waldemar Brodkorb > --- > v1->v2: add a comment about i386 patch > v2->v3: add ppc patch from binutils-2.38 branch fixing kernel > compile > --- > package/binutils/2.38/0001-sh-conf.patch | 48 +++ > .../2.38/0002-poison-system-directories.patch | 306 ++++++++++++++++++ > ...or1k-fix-building-with-gcc-version-5.patch | 50 +++ > ...K_GOT16-signed-overflow-by-using-spe.patch | 75 +++++ > ...binutils-2.38-vs.-ppc32-linux-kernel.patch | 55 ++++ > package/binutils/Config.in.host | 7 + > package/binutils/binutils.hash | 1 + > 7 files changed, 542 insertions(+) > create mode 100644 package/binutils/2.38/0001-sh-conf.patch > create mode 100644 package/binutils/2.38/0002-poison-system-directories.patch > create mode 100644 package/binutils/2.38/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch > create mode 100644 package/binutils/2.38/0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch > create mode 100644 package/binutils/2.38/0005-binutils-2.38-vs.-ppc32-linux-kernel.patch Thanks, series applied. In PATCH 2/3, you had forgotten to update Config.in.legacy with the removed option, so I did that. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From arnout at mind.be Sat Apr 23 14:40:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 16:40:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> Message-ID: <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> On 16/04/2022 23:13, Fabrice Fontaine wrote: > Add --static when calling pkg-config with BR2_SHARED_STATIC_LIBS to > avoid the following build failure if a package (e.g. dash or zabbix) > decide to use the static library of of its dependency instead of the > shared library (e.g. edit or openssl) resulting in the following build > failures: > > /home/autobuild/autobuild/instance-3/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/10.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: /home/autobuild/autobuild/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libedit.a(terminal.o): in function `terminal_tputs': > terminal.c:(.text+0x1d4): undefined reference to `tputs' > > /nvmedata/autobuild/instance-28/output-1/host/lib/gcc/powerpc64le-buildroot-linux-gnu/10.3.0/../../../../powerpc64le-buildroot-linux-gnu/bin/ld: /nvmedata/autobuild/instance-28/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_globallookup': > dso_dlfcn.c:(.text+0x28): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > > Fixes: > - http://autobuild.buildroot.org/results/2032d6b1233ce5c79a0c9421052ab1b9184c5b89 > - http://autobuild.buildroot.org/results/b0e1bd19f0612a0e90d89ad8fe9e294f57871f6b > > Signed-off-by: Fabrice Fontaine > --- > package/pkgconf/pkgconf.mk | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk > index 5d65f69c10..c40c8b9433 100644 > --- a/package/pkgconf/pkgconf.mk > +++ b/package/pkgconf/pkgconf.mk > @@ -35,10 +35,10 @@ endef > PKGCONF_POST_INSTALL_TARGET_HOOKS += PKGCONF_LINK_PKGCONFIG > HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_INSTALL_WRAPPER > > -ifeq ($(BR2_STATIC_LIBS),y) > -HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > -else > +ifeq ($(BR2_SHARED_LIBS),y) > HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_SHARED > +else > +HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC Err, so this would mean that we almost always link statically in the SHARED_STATIC case? I don't think that that's what we want, really... If a package wants to link statically and is using pkg-config, why is not calling pkg-config with --static? Something seems to be really off here... Regards, Arnout > endif > > $(eval $(autotools-package)) From arnout at mind.be Sat Apr 23 15:04:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:04:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/wayland: fix build with gcc 4.8 In-Reply-To: <20220418213451.845353-1-fontaine.fabrice@gmail.com> References: <20220418213451.845353-1-fontaine.fabrice@gmail.com> Message-ID: <2e3987cb-527f-28c2-cd84-0564ebbb0fd5@mind.be> On 18/04/2022 23:34, Fabrice Fontaine wrote: > Fix the following build failure with gcc 4.8 raised since bump to > version 1.20.0 in commit f94ba5c31cf7f863e6fae996fc042a56e20118f3 and > https://gitlab.freedesktop.org/wayland/wayland/-/commit/80164ef3005e8bb5f785082b97a75cab15444f82: > > ../src/wayland-util.c: In function 'for_each_helper': > ../src/wayland-util.c:373:2: error: 'for' loop initial declarations are only allowed in C99 mode > for (size_t idx = 0; idx < count; idx++) { > ^ > ../src/wayland-util.c:373:2: note: use option -std=c99 or -std=gnu99 to compile your code > > Fixes: > - http://autobuild.buildroot.org/results/3040c9a8cf08415a7f4338185f6dc7245c68c64c > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../wayland/0001-build-set-c_std-c99.patch | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 package/wayland/0001-build-set-c_std-c99.patch > > diff --git a/package/wayland/0001-build-set-c_std-c99.patch b/package/wayland/0001-build-set-c_std-c99.patch > new file mode 100644 > index 0000000000..69f728aa11 > --- /dev/null > +++ b/package/wayland/0001-build-set-c_std-c99.patch > @@ -0,0 +1,34 @@ > +From 40c275f642e3895aeb748403fcdfd92d7d875d65 Mon Sep 17 00:00:00 2001 > +From: Simon Ser > +Date: Mon, 10 Jan 2022 14:54:02 +0100 > +Subject: [PATCH] build: set c_std=c99 > + > +Set explicitly the C standard to use to make sure we don't use > +features not available on our target platforms. > + > +Signed-off-by: Simon Ser > + > +[Retrieved from: > +https://gitlab.freedesktop.org/wayland/wayland/-/commit/40c275f642e3895aeb748403fcdfd92d7d875d65] > +Signed-off-by: Fabrice Fontaine > +--- > + meson.build | 3 ++- > + 1 file changed, 2 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index cab267e9..e9691ffe 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -5,7 +5,8 @@ project( > + meson_version: '>= 0.52.1', > + default_options: [ > + 'warning_level=2', > +- 'buildtype=debugoptimized' > ++ 'buildtype=debugoptimized', > ++ 'c_std=c99', > + ] > + ) > + wayland_version = meson.project_version().split('.') > +-- > +GitLab > + From arnout at mind.be Sat Apr 23 15:04:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:04:21 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/mariadb: fix build with libressl In-Reply-To: <20220418215412.892842-1-fontaine.fabrice@gmail.com> References: <20220418215412.892842-1-fontaine.fabrice@gmail.com> Message-ID: <897db641-965a-9334-21eb-3321cac0d3bf@mind.be> On 18/04/2022 23:54, Fabrice Fontaine wrote: > Fix the following build failure with libressl: > > CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: > LIBRESSL_RESULT (advanced) > LIBRESSL_RESULT__TRYRUN_OUTPUT (advanced) > For details see /nvmedata/autobuild/instance-27/output-1/build/mariadb-10.3.34/TryRunResults.cmake > > Fixes: > - http://autobuild.buildroot.org/results/cbdbfcdae4b89ac678e1bf6bcded96872c7223ab > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - Prepend "LibreSSL " to $(LIBRESSL_VERSION) as > libmariadb/cmake/libressl_version.c prints LIBRESSL_VERSION_TEXT > > package/mariadb/mariadb.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk > index 4eb9c71827..18667e7e70 100644 > --- a/package/mariadb/mariadb.mk > +++ b/package/mariadb/mariadb.mk > @@ -60,6 +60,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 > # Explicitly disable dtrace to avoid detection of a host version > MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 > > +ifeq ($(BR2_PACKAGE_LIBRESSL),y) > +MARIADB_CONF_OPTS += \ > + -DLIBRESSL_RESULT=ON \ > + -DLIBRESSL_RESULT__TRYRUN_OUTPUT="LibreSSL $(LIBRESSL_VERSION)" > +endif > + > ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) > ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) > MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON From arnout at mind.be Sat Apr 23 15:04:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:04:36 +0200 Subject: [Buildroot] [PATCH] package/openlayers: bump to version 6.14.1 In-Reply-To: <20220419085411.125022-1-thomas.claveirole@green-communications.fr> References: <20220419085411.125022-1-thomas.claveirole@green-communications.fr> Message-ID: <36655c3d-bb76-4eb6-c8b0-521fea745984@mind.be> On 19/04/2022 10:54, Thomas Claveirole wrote: > Signed-off-by: Thomas Claveirole Applied to master, thanks. Regards, Arnout > --- > package/openlayers/openlayers.hash | 2 +- > package/openlayers/openlayers.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/openlayers/openlayers.hash b/package/openlayers/openlayers.hash > index 2d6c2fb9d3..1c93b9a729 100644 > --- a/package/openlayers/openlayers.hash > +++ b/package/openlayers/openlayers.hash > @@ -1,2 +1,2 @@ > # Locally computed: > -sha256 aeb8107a23a99d79efb6031c7cf901307b63571c39fd744f771d4a707e06a14f v6.12.0-dist.zip > +sha256 8a9fda6e392688c049ebb88fb2c73b5788b4965b625443de4cca7d4688b1fb82 v6.14.1-dist.zip > diff --git a/package/openlayers/openlayers.mk b/package/openlayers/openlayers.mk > index 7532bb7f68..4626e7545a 100644 > --- a/package/openlayers/openlayers.mk > +++ b/package/openlayers/openlayers.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -OPENLAYERS_VERSION = 6.12.0 > +OPENLAYERS_VERSION = 6.14.1 > OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-dist.zip > OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION) > OPENLAYERS_LICENSE = BSD-2-Clause From arnout at mind.be Sat Apr 23 15:04:56 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:04:56 +0200 Subject: [Buildroot] [PATCH] package/vuejs: bump to version 3.2.33 In-Reply-To: <20220419085411.125022-2-thomas.claveirole@green-communications.fr> References: <20220419085411.125022-1-thomas.claveirole@green-communications.fr> <20220419085411.125022-2-thomas.claveirole@green-communications.fr> Message-ID: <263b91bc-aca7-ccbe-1cd5-11b235c5a162@mind.be> On 19/04/2022 10:54, Thomas Claveirole wrote: > Signed-off-by: Thomas Claveirole Applied both to master, thanks. Regards, Arnout > --- > package/vuejs/vuejs.hash | 2 +- > package/vuejs/vuejs.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/vuejs/vuejs.hash b/package/vuejs/vuejs.hash > index 9dd0fb548b..c53364e97d 100644 > --- a/package/vuejs/vuejs.hash > +++ b/package/vuejs/vuejs.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 770ff74851f7454977f084becd76b05b3fad4d52f048df5405d41849c125956c vue-3.2.22.tgz > +sha256 042033a2a8e6d45f750924953f03c34058d5afd9cc1571fbaf1827eaf04f6943 vue-3.2.33.tgz > sha256 1bb85cc9b13b81ef41c81c51866172fc345e0503c86726a6755b796590b70175 LICENSE > diff --git a/package/vuejs/vuejs.mk b/package/vuejs/vuejs.mk > index b74002e932..d544124bbc 100644 > --- a/package/vuejs/vuejs.mk > +++ b/package/vuejs/vuejs.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -VUEJS_VERSION = 3.2.22 > +VUEJS_VERSION = 3.2.33 > VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz > VUEJS_SITE = https://registry.npmjs.org/vue/- > VUEJS_LICENSE = MIT From arnout at mind.be Sat Apr 23 15:05:11 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:05:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/trinity: fix musl build In-Reply-To: <20220419090055.2029170-1-fontaine.fabrice@gmail.com> References: <20220419090055.2029170-1-fontaine.fabrice@gmail.com> Message-ID: On 19/04/2022 11:00, Fabrice Fontaine wrote: > Fix the following build failure on musl: > > In file included from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/asm/ioctl.h:12, > from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/linux/ioctl.h:5, > from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/linux/fs.h:14, > from ioctls/vfs.c:3: > ioctls/vfs.c:109:35: error: 'loff_t' undeclared here (not in a function); did you mean 'off_t'? > 109 | { .name = "FIOQSIZE", .request = FIOQSIZE, }, > | ^~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/b7f46072751a8d70fa02f1c625c5279f70bec853 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0003-Use-fcntl-h-for-dev_t-mode_t.patch | 46 +++++++++++++++++++ > 1 file changed, 46 insertions(+) > create mode 100644 package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch > > diff --git a/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch b/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch > new file mode 100644 > index 0000000000..c4d9811b8a > --- /dev/null > +++ b/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch > @@ -0,0 +1,46 @@ > +From b1a0aef9978d4a41e7e601c277d4fb1b0cfbed89 Mon Sep 17 00:00:00 2001 > +From: Dave Jones > +Date: Thu, 26 Aug 2021 11:17:34 -0400 > +Subject: [PATCH] Use fcntl.h for dev_t & mode_t > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +Should fix: > + > +In file included from /usr/include/bits/statx.h:31, > + from /usr/include/sys/stat.h:446, > + from include/files.h:3, > + from include/shm.h:6, > + from syscalls/x86/modify_ldt.c:12: > +/usr/include/linux/stat.h:57:2: error: unknown type name ?__s64? > + __s64 tv_sec; > + ^~~~~ > +/usr/include/linux/stat.h:58:2: error: unknown type name ?__u32? > + __u32 tv_nsec; > + ^~~~~ > +/usr/include/linux/stat.h:59:2: error: unknown type name ?__s32? > + __s32 __reserved; > + ^~~~~ > +/usr/include/linux/stat.h:101:2: error: unknown type name ?__u32? > + __u32 stx_mask; /* What results were written [uncond] */ > + > +[Retrieved from: > +https://github.com/kernelslacker/trinity/commit/b1a0aef9978d4a41e7e601c277d4fb1b0cfbed89] > +Signed-off-by: Fabrice Fontaine > +--- > + include/files.h | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/include/files.h b/include/files.h > +index 2a8e0e2d..ba3cc98f 100644 > +--- a/include/files.h > ++++ b/include/files.h > +@@ -1,6 +1,6 @@ > + #pragma once > + > +-#include > ++#include > + #include "fd.h" > + > + unsigned long get_o_flags(void); From arnout at mind.be Sat Apr 23 15:06:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:06:06 +0200 Subject: [Buildroot] [PATCH 1/2] package/expat: disable examples, tests and xmlwf In-Reply-To: <20220419090346.2029839-1-fontaine.fabrice@gmail.com> References: <20220419090346.2029839-1-fontaine.fabrice@gmail.com> Message-ID: <82880b6e-8e85-f9a2-7b98-d00034c49dc9@mind.be> On 19/04/2022 11:03, Fabrice Fontaine wrote: > Disable examples and tests (enabled by default) through > --without-{examples,tests} which are available since version 2.2.7 and > https://github.com/libexpat/libexpat/commit/1fdfd8a1b490f8ac9e7e11896298e41cc210d87d > > Also disable xmlwf (a binary that determines if an XML document is > well-formed) through --without-xmlwf which is available since version > 2.2.4 and > https://github.com/libexpat/libexpat/commit/9d950527a07783c104aada685384edf3f8f23f8a > > This will fix the following build failure on riscv64: > > ERROR: reloc type R_RISCV_SET6 unsupported in this context > > Fixes: > - http://autobuild.buildroot.org/results/99890c9c7ebe3266dd533c81352a3cbcf4d3d738 > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Someone may actually need xmlwf for something, but then they can send a patch to enable it (probably with a Config.in option which depends on !riscv64). Regards, Arnout > --- > package/expat/expat.mk | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/expat/expat.mk b/package/expat/expat.mk > index b29b0e1d26..92a3bfda8e 100644 > --- a/package/expat/expat.mk > +++ b/package/expat/expat.mk > @@ -15,8 +15,9 @@ EXPAT_LICENSE_FILES = COPYING > EXPAT_CPE_ID_VENDOR = libexpat_project > EXPAT_CPE_ID_PRODUCT = libexpat > > -EXPAT_CONF_OPTS = --without-docbook > -HOST_EXPAT_CONF_OPTS = --without-docbook > +EXPAT_CONF_OPTS = \ > + --without-docbook --without-examples --without-tests --without-xmlwf > +HOST_EXPAT_CONF_OPTS = --without-docbook --without-examples --without-tests > > $(eval $(autotools-package)) > $(eval $(host-autotools-package)) From arnout at mind.be Sat Apr 23 15:07:29 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:07:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/multipath-tools: bump to version 0.8.9 In-Reply-To: <20220419104013.23735-1-egorenar-dev@posteo.net> References: <20220419104013.23735-1-egorenar-dev@posteo.net> Message-ID: On 19/04/2022 12:40, Alexander Egorenkov wrote: > Signed-off-by: Alexander Egorenkov > --- > ...ath-use-pkg-config-to-get-path-to-he.patch | 69 ------------------- > package/multipath-tools/multipath-tools.hash | 2 +- > package/multipath-tools/multipath-tools.mk | 2 +- > 3 files changed, 2 insertions(+), 71 deletions(-) > delete mode 100644 package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch > [snip] > diff --git a/package/multipath-tools/multipath-tools.hash b/package/multipath-tools/multipath-tools.hash > index f063848681ea..38558a9633d1 100644 > --- a/package/multipath-tools/multipath-tools.hash > +++ b/package/multipath-tools/multipath-tools.hash > @@ -1,5 +1,5 @@ > # Locally computed: > -sha256 ff45ddb18a1effbfbe5712f513dd3b7146c68141091fc1c2489af8d6197026ef multipath-tools-0.8.8.tar.gz > +sha256 27a426facea0474e6dc48e026a94f7c86890d3f27b439b07ec26b0b9887b0cc4 multipath-tools-0.8.9.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0 > sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSES/GPL-3.0 > sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c LICENSES/LGPL-2.0 Hash of README.md changed as well. In the future, please run make legal-info to verify that the license files haven't change. And if they do change, please make sure to comment on it in the commit message (the important thing is to be sure that the license hasn't changed). Regards, Arnout > diff --git a/package/multipath-tools/multipath-tools.mk b/package/multipath-tools/multipath-tools.mk > index eecfe3900233..c0b7c5721ebe 100644 > --- a/package/multipath-tools/multipath-tools.mk > +++ b/package/multipath-tools/multipath-tools.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MULTIPATH_TOOLS_VERSION = 0.8.8 > +MULTIPATH_TOOLS_VERSION = 0.8.9 > MULTIPATH_TOOLS_SITE = $(call github,opensvc,multipath-tools,$(MULTIPATH_TOOLS_VERSION)) > > MULTIPATH_TOOLS_LICENSE = \ From arnout at mind.be Sat Apr 23 15:08:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:08:06 +0200 Subject: [Buildroot] [PATCH] packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements In-Reply-To: <20220419184756.255846-1-b.bilas@grinn-global.com> References: <20220419184756.255846-1-b.bilas@grinn-global.com> Message-ID: On 19/04/2022 20:47, Bartosz Bilas wrote: > Fixes: > CMake Error at /home/buildroot/autobuild/run/instance-2/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/libwebsockets/libwebsockets-config.cmake:35 (include): > include could not find load file: > > LwsCheckRequirements > Call Stack (most recent call first): > CMakeLists.txt:54 (find_package) > > Signed-off-by: Bartosz Bilas > Signed-off-by: Bartosz Bilas Applied to master, thanks. Regards, Arnout > --- > ...emove-duplicate-LwsCheckRequirements.patch | 26 +++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch > > diff --git a/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch > new file mode 100644 > index 0000000000..fc76a2b610 > --- /dev/null > +++ b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch > @@ -0,0 +1,26 @@ > +From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001 > +From: Andy Green > +Date: Mon, 7 Feb 2022 14:48:55 +0000 > +Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements > + > +Signed-off-by: Andy Green > +Signed-off-by: Bartosz Bilas > +Signed-off-by: Bartosz Bilas > +--- > + cmake/libwebsockets-config.cmake.in | 1 - > + 1 file changed, 1 deletion(-) > + > +diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in > +index 6247b2cb..8ba97e6f 100644 > +--- a/cmake/libwebsockets-config.cmake.in > ++++ b/cmake/libwebsockets-config.cmake.in > +@@ -32,6 +32,5 @@ endforeach() > + > + include(CheckIncludeFile) > + include(CheckCSourceCompiles) > +-include(LwsCheckRequirements) > + set(requirements 1) > + > +-- > +2.35.3 > + From arnout at mind.be Sat Apr 23 15:09:29 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:09:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/batman-adv: needs CONFIG_CRC16 In-Reply-To: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> References: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> Message-ID: On 19/04/2022 20:58, Fabrice Fontaine wrote: > CONFIG_CRC16 is needed to avoid the following build failure: > > ERROR: modpost: "crc16" [/nvmedata/autobuild/instance-6/output-1/build/batman-adv-2021.4/net/batman-adv/batman-adv.ko] undefined! > > Fixes: > - http://autobuild.buildroot.org/results/64bf0f89ef444dda4d1277c0e46d189ad2515713 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/batman-adv/batman-adv.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk > index 838f9b1851..6a1aaa699c 100644 > --- a/package/batman-adv/batman-adv.mk > +++ b/package/batman-adv/batman-adv.mk > @@ -35,6 +35,7 @@ define BATMAN_ADV_CONFIGURE_CMDS > endef > > define BATMAN_ADV_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC16) > $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) > endef > From arnout at mind.be Sat Apr 23 15:09:46 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:09:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: can't be built with BR2_OPTIMIZE_FAST In-Reply-To: <20220419193215.4089204-1-fontaine.fabrice@gmail.com> References: <20220419193215.4089204-1-fontaine.fabrice@gmail.com> Message-ID: <0802760d-78d8-cdfc-cc86-f99a70edd79f@mind.be> On 19/04/2022 21:32, Fabrice Fontaine wrote: > postgresql can't be built with BR2_OPTIMIZE_FAST: > > configure: error: do not put -ffast-math in CFLAGS > > Fixes: > - http://autobuild.buildroot.org/results/106bb61bcff5d03e44d3e2e9149c76e6705606a5 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/bandwidthd/Config.in | 4 ++++ > package/collectd/Config.in | 4 ++++ > package/lighttpd/Config.in | 4 ++++ > package/php/Config.ext | 8 ++++++++ > package/poco/Config.in | 4 ++++ > package/postgresql/Config.in | 4 ++++ > package/python-psycopg2/Config.in | 4 ++++ > package/qt5/qt5base/Config.in | 4 ++++ > package/zabbix/Config.in | 1 + > 9 files changed, 37 insertions(+) > > diff --git a/package/bandwidthd/Config.in b/package/bandwidthd/Config.in > index 5a3529e0c4..7537552390 100644 > --- a/package/bandwidthd/Config.in > +++ b/package/bandwidthd/Config.in > @@ -36,6 +36,7 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL > bool "enable postgresql log target support" > depends on !BR2_STATIC_LIBS > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Enable support for logging the bandwidthd data to a remote > @@ -46,6 +47,9 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL > comment "postgresql support needs a toolchain w/ dynamic library, wchar" > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > > +comment "postgresql support can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_BANDWIDTHD_SQLITE3 > bool "enable sqlite3 log storage" > select BR2_PACKAGE_SQLITE > diff --git a/package/collectd/Config.in b/package/collectd/Config.in > index 43eef3bf66..da8465beee 100644 > --- a/package/collectd/Config.in > +++ b/package/collectd/Config.in > @@ -475,6 +475,7 @@ config BR2_PACKAGE_COLLECTD_PING > config BR2_PACKAGE_COLLECTD_POSTGRESQL > bool "postgresql" > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Connects to and executes SQL statements on a PostgreSQL > @@ -485,6 +486,9 @@ config BR2_PACKAGE_COLLECTD_POSTGRESQL > comment "postgresql support needs a toolchain w/ wchar" > depends on !BR2_USE_WCHAR > > +comment "postgresql support can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_COLLECTD_PROCESSES > bool "processes" > help > diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in > index 6f0c927319..9522b80426 100644 > --- a/package/lighttpd/Config.in > +++ b/package/lighttpd/Config.in > @@ -93,6 +93,7 @@ config BR2_PACKAGE_LIGHTTPD_PGSQL > bool "pgsql support" > depends on BR2_USE_MMU # postgresql > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Enable postgres support for lighttpd mod_vhostdb_pgsql. > @@ -101,6 +102,9 @@ comment "pgsql support needs a toolchain w/ wchar" > depends on BR2_USE_MMU > depends on !BR2_USE_WCHAR > > +comment "pgsql support can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_LIGHTTPD_WEBDAV > bool "webdav support" > select BR2_PACKAGE_LIBXML2 > diff --git a/package/php/Config.ext b/package/php/Config.ext > index 5da5d8bed9..e4aced66df 100644 > --- a/package/php/Config.ext > +++ b/package/php/Config.ext > @@ -141,6 +141,7 @@ config BR2_PACKAGE_PHP_EXT_PGSQL > depends on BR2_USE_MMU # postgresql > depends on !BR2_STATIC_LIBS > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > PostgreSQL support > @@ -149,6 +150,9 @@ comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" > depends on BR2_USE_MMU > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > > +comment "PostgreSQL extension can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_PHP_EXT_SQLITE > bool "SQLite3" > select BR2_PACKAGE_SQLITE > @@ -172,6 +176,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL > depends on BR2_USE_MMU # postgresql > depends on !BR2_STATIC_LIBS > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > PDO driver for PostgreSQL > @@ -180,6 +185,9 @@ comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" > depends on BR2_USE_MMU > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > > +comment "PostgreSQL drivers can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_PHP_EXT_PDO_SQLITE > bool "SQLite3" > select BR2_PACKAGE_SQLITE > diff --git a/package/poco/Config.in b/package/poco/Config.in > index 699495a241..d2852ba03e 100644 > --- a/package/poco/Config.in > +++ b/package/poco/Config.in > @@ -52,9 +52,13 @@ config BR2_PACKAGE_POCO_DATA_MYSQL > config BR2_PACKAGE_POCO_DATA_PGSQL > bool "Data/PostgreSQL" > depends on BR2_USE_MMU # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POCO_DATA > select BR2_PACKAGE_POSTGRESQL > > +comment "Data/PostgreSQL can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_POCO_DATA_SQLITE > bool "Data/SQLite" > select BR2_PACKAGE_POCO_DATA > diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in > index b42b219558..476427d534 100644 > --- a/package/postgresql/Config.in > +++ b/package/postgresql/Config.in > @@ -6,6 +6,7 @@ config BR2_PACKAGE_POSTGRESQL > # postgresql is unlikely to be used in a pure statically > # linked environment. > depends on !BR2_STATIC_LIBS > + depends on !BR2_OPTIMIZE_FAST > select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL > select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL > select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL > @@ -34,3 +35,6 @@ endif > comment "postgresql needs a toolchain w/ dynamic library, wchar" > depends on BR2_USE_MMU > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > + > +comment "postgresql can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in > index ec27d706de..361c40cfa9 100644 > --- a/package/python-psycopg2/Config.in > +++ b/package/python-psycopg2/Config.in > @@ -1,6 +1,7 @@ > config BR2_PACKAGE_PYTHON_PSYCOPG2 > bool "python-psycopg2" > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Psycopg is the most popular PostgreSQL database adapter for > @@ -24,3 +25,6 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 > > comment "python-psycopg2 needs a toolchain w/ wchar" > depends on !BR2_USE_WCHAR > + > +comment "python-psycopg2 can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in > index 601438d2fe..6f2309dffd 100644 > --- a/package/qt5/qt5base/Config.in > +++ b/package/qt5/qt5base/Config.in > @@ -74,6 +74,7 @@ config BR2_PACKAGE_QT5BASE_PSQL > depends on BR2_USE_MMU # postgresql > depends on !BR2_STATIC_LIBS > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Build PostgreSQL plugin > @@ -83,6 +84,9 @@ comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library" > depends on BR2_USE_MMU > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > > +comment "PostgreSQL plugin can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > choice > prompt "SQLite 3 support" > default BR2_PACKAGE_QT5BASE_SQLITE_NONE > diff --git a/package/zabbix/Config.in b/package/zabbix/Config.in > index 6f8a952936..0f7a0b0003 100644 > --- a/package/zabbix/Config.in > +++ b/package/zabbix/Config.in > @@ -45,6 +45,7 @@ config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL > bool "postgresql" > depends on BR2_USE_WCHAR # postgresql > depends on !BR2_STATIC_LIBS # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > > endchoice From arnout at mind.be Sat Apr 23 15:10:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:10:30 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS In-Reply-To: <20220419200122.4095481-1-fontaine.fabrice@gmail.com> References: <20220419200122.4095481-1-fontaine.fabrice@gmail.com> Message-ID: On 19/04/2022 22:01, Fabrice Fontaine wrote: > Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in > https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice at gmail.com > > Signed-off-by: Fabrice Fontaine > --- > boot/shim/Config.in | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/boot/shim/Config.in b/boot/shim/Config.in > index b0e549a51b..a762ad9215 100644 > --- a/boot/shim/Config.in > +++ b/boot/shim/Config.in > @@ -1,8 +1,15 @@ > -config BR2_TARGET_SHIM > - bool "shim" > +config BR2_PACKAGE_SHIM_ARCH_SUPPORTS > + bool > # it includes gnu-efi > depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS depends comes after default (as reported by check-package). Applied to master with that fixed, thanks. Regards, Arnout > - depends on !BR2_mips64el > + default y if BR2_aarch64 || BR2_aarch64_be > + default y if BR2_arm || BR2_armeb > + default y if BR2_i386 > + default y if BR2_x86_64 > + > +config BR2_TARGET_SHIM > + bool "shim" > + depends on BR2_PACKAGE_SHIM_ARCH_SUPPORTS > help > Boot loader to chain-load signed boot loaders under Secure > Boot. From arnout at mind.be Sat Apr 23 15:12:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:12:16 +0200 Subject: [Buildroot] [PATCH] package/enchant: bump to version 2.3.3 In-Reply-To: <20220420072530.3422018-1-francois.perrad@gadz.org> References: <20220420072530.3422018-1-francois.perrad@gadz.org> Message-ID: <840c347b-841d-74ef-d4ad-e38b9126bb38@mind.be> On 20/04/2022 09:25, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, as well as your other 5 version bumps, thanks. I also changed the author email on each commit to @gadz.org to match your signoff (I have an apply-hook that checks this). It would be nice if you could configure things so that your mails already have this. Regards, Arnout > --- > package/enchant/enchant.hash | 2 +- > package/enchant/enchant.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/enchant/enchant.hash b/package/enchant/enchant.hash > index 9df5316aa..36ac4e07b 100644 > --- a/package/enchant/enchant.hash > +++ b/package/enchant/enchant.hash > @@ -1,3 +1,3 @@ > # locally computed > -sha256 ce9ba47fd4d34031bd69445598a698a6611602b2b0e91d705e91a6f5099ead6e enchant-2.3.2.tar.gz > +sha256 3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891 enchant-2.3.3.tar.gz > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB > diff --git a/package/enchant/enchant.mk b/package/enchant/enchant.mk > index e00fcb25e..ee6f06195 100644 > --- a/package/enchant/enchant.mk > +++ b/package/enchant/enchant.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -ENCHANT_VERSION = 2.3.2 > +ENCHANT_VERSION = 2.3.3 > ENCHANT_SITE = \ > https://github.com/AbiWord/enchant/releases/download/v$(ENCHANT_VERSION) > ENCHANT_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 23 14:43:37 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:37 +0200 Subject: [Buildroot] [git commit] package/mariadb: fix build with libressl Message-ID: <20220423150245.7C75183FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=174808651947428e68fd5380c8968ce26bb297d5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: LIBRESSL_RESULT (advanced) LIBRESSL_RESULT__TRYRUN_OUTPUT (advanced) For details see /nvmedata/autobuild/instance-27/output-1/build/mariadb-10.3.34/TryRunResults.cmake Fixes: - http://autobuild.buildroot.org/results/cbdbfcdae4b89ac678e1bf6bcded96872c7223ab Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/mariadb/mariadb.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk index 4eb9c71827..18667e7e70 100644 --- a/package/mariadb/mariadb.mk +++ b/package/mariadb/mariadb.mk @@ -60,6 +60,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 # Explicitly disable dtrace to avoid detection of a host version MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 +ifeq ($(BR2_PACKAGE_LIBRESSL),y) +MARIADB_CONF_OPTS += \ + -DLIBRESSL_RESULT=ON \ + -DLIBRESSL_RESULT__TRYRUN_OUTPUT="LibreSSL $(LIBRESSL_VERSION)" +endif + ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON From arnout at mind.be Sat Apr 23 14:43:34 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:34 +0200 Subject: [Buildroot] [git commit] package/wayland: fix build with gcc 4.8 Message-ID: <20220423150245.738A883FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d0b467436ccbdda862f93a9d0933b0c0dfcf2a2e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc 4.8 raised since bump to version 1.20.0 in commit f94ba5c31cf7f863e6fae996fc042a56e20118f3 and https://gitlab.freedesktop.org/wayland/wayland/-/commit/80164ef3005e8bb5f785082b97a75cab15444f82: ../src/wayland-util.c: In function 'for_each_helper': ../src/wayland-util.c:373:2: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t idx = 0; idx < count; idx++) { ^ ../src/wayland-util.c:373:2: note: use option -std=c99 or -std=gnu99 to compile your code Fixes: - http://autobuild.buildroot.org/results/3040c9a8cf08415a7f4338185f6dc7245c68c64c Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wayland/0001-build-set-c_std-c99.patch | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/package/wayland/0001-build-set-c_std-c99.patch b/package/wayland/0001-build-set-c_std-c99.patch new file mode 100644 index 0000000000..69f728aa11 --- /dev/null +++ b/package/wayland/0001-build-set-c_std-c99.patch @@ -0,0 +1,34 @@ +From 40c275f642e3895aeb748403fcdfd92d7d875d65 Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Mon, 10 Jan 2022 14:54:02 +0100 +Subject: [PATCH] build: set c_std=c99 + +Set explicitly the C standard to use to make sure we don't use +features not available on our target platforms. + +Signed-off-by: Simon Ser + +[Retrieved from: +https://gitlab.freedesktop.org/wayland/wayland/-/commit/40c275f642e3895aeb748403fcdfd92d7d875d65] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index cab267e9..e9691ffe 100644 +--- a/meson.build ++++ b/meson.build +@@ -5,7 +5,8 @@ project( + meson_version: '>= 0.52.1', + default_options: [ + 'warning_level=2', +- 'buildtype=debugoptimized' ++ 'buildtype=debugoptimized', ++ 'c_std=c99', + ] + ) + wayland_version = meson.project_version().split('.') +-- +GitLab + From arnout at mind.be Sat Apr 23 15:01:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:01:43 +0200 Subject: [Buildroot] [git commit] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS Message-ID: <20220423150245.D797483FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fd5842a1dd03642b2ea0844396b2348f7f0f39f3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice at gmail.com Signed-off-by: Fabrice Fontaine [Arnout: reorder options according to check-package] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- boot/shim/Config.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/boot/shim/Config.in b/boot/shim/Config.in index b0e549a51b..c4f1a9f317 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -1,8 +1,15 @@ -config BR2_TARGET_SHIM - bool "shim" +config BR2_PACKAGE_SHIM_ARCH_SUPPORTS + bool + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_arm || BR2_armeb + default y if BR2_i386 + default y if BR2_x86_64 # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS - depends on !BR2_mips64el + +config BR2_TARGET_SHIM + bool "shim" + depends on BR2_PACKAGE_SHIM_ARCH_SUPPORTS help Boot loader to chain-load signed boot loaders under Secure Boot. From arnout at mind.be Sat Apr 23 14:43:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:43 +0200 Subject: [Buildroot] [git commit] package/vuejs: bump to version 3.2.33 Message-ID: <20220423150245.8E1A483FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=650c66b1a3c121abf1801b1e450cc4f0c5dfcd51 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Thomas Claveirole Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/vuejs/vuejs.hash | 2 +- package/vuejs/vuejs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vuejs/vuejs.hash b/package/vuejs/vuejs.hash index 9dd0fb548b..c53364e97d 100644 --- a/package/vuejs/vuejs.hash +++ b/package/vuejs/vuejs.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 770ff74851f7454977f084becd76b05b3fad4d52f048df5405d41849c125956c vue-3.2.22.tgz +sha256 042033a2a8e6d45f750924953f03c34058d5afd9cc1571fbaf1827eaf04f6943 vue-3.2.33.tgz sha256 1bb85cc9b13b81ef41c81c51866172fc345e0503c86726a6755b796590b70175 LICENSE diff --git a/package/vuejs/vuejs.mk b/package/vuejs/vuejs.mk index b74002e932..d544124bbc 100644 --- a/package/vuejs/vuejs.mk +++ b/package/vuejs/vuejs.mk @@ -4,7 +4,7 @@ # ################################################################################ -VUEJS_VERSION = 3.2.22 +VUEJS_VERSION = 3.2.33 VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz VUEJS_SITE = https://registry.npmjs.org/vue/- VUEJS_LICENSE = MIT From arnout at mind.be Sat Apr 23 14:43:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:46 +0200 Subject: [Buildroot] [git commit] package/vuejs-router: bump to version 4.0.14 Message-ID: <20220423150245.9644983FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c9954aec7990f01334bf80309fc700ea84b8f103 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Thomas Claveirole Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/vuejs-router/vuejs-router.hash | 2 +- package/vuejs-router/vuejs-router.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vuejs-router/vuejs-router.hash b/package/vuejs-router/vuejs-router.hash index 13ce97d32c..fe270a6062 100644 --- a/package/vuejs-router/vuejs-router.hash +++ b/package/vuejs-router/vuejs-router.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 baf5e9dfb0a1e344f0f460a5cd521e17fd3842386ce36b8e6d53c1053d49cf1e vue-router-4.0.12.tgz +sha256 6adff85db2045a092ba4bf37e95cdc3c661cfe4f3e7f7cbc36082a57c05c6365 vue-router-4.0.14.tgz sha256 9c0015250f592a09d7787efc07152afcf661fff6bda2554359f6d00987828c02 LICENSE diff --git a/package/vuejs-router/vuejs-router.mk b/package/vuejs-router/vuejs-router.mk index 9c7dcc76bf..397a78e1a7 100644 --- a/package/vuejs-router/vuejs-router.mk +++ b/package/vuejs-router/vuejs-router.mk @@ -4,7 +4,7 @@ # ################################################################################ -VUEJS_ROUTER_VERSION = 4.0.12 +VUEJS_ROUTER_VERSION = 4.0.14 VUEJS_ROUTER_SOURCE = vue-router-$(VUEJS_ROUTER_VERSION).tgz VUEJS_ROUTER_SITE = https://registry.npmjs.org/vue-router/- VUEJS_ROUTER_LICENSE = MIT From arnout at mind.be Sat Apr 23 14:43:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:40 +0200 Subject: [Buildroot] [git commit] package/openlayers: bump to version 6.14.1 Message-ID: <20220423150245.84DE183FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7b9b7daf52ad44d334e632b95082d3eed3a5a7fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Thomas Claveirole Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openlayers/openlayers.hash | 2 +- package/openlayers/openlayers.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/openlayers/openlayers.hash b/package/openlayers/openlayers.hash index 2d6c2fb9d3..1c93b9a729 100644 --- a/package/openlayers/openlayers.hash +++ b/package/openlayers/openlayers.hash @@ -1,2 +1,2 @@ # Locally computed: -sha256 aeb8107a23a99d79efb6031c7cf901307b63571c39fd744f771d4a707e06a14f v6.12.0-dist.zip +sha256 8a9fda6e392688c049ebb88fb2c73b5788b4965b625443de4cca7d4688b1fb82 v6.14.1-dist.zip diff --git a/package/openlayers/openlayers.mk b/package/openlayers/openlayers.mk index 7532bb7f68..4626e7545a 100644 --- a/package/openlayers/openlayers.mk +++ b/package/openlayers/openlayers.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENLAYERS_VERSION = 6.12.0 +OPENLAYERS_VERSION = 6.14.1 OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-dist.zip OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION) OPENLAYERS_LICENSE = BSD-2-Clause From arnout at mind.be Sat Apr 23 15:03:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:15 +0200 Subject: [Buildroot] [git commit] package/janet: bump to version 1.21.2 Message-ID: <20220423150245.E720283FF5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fc440e46396bf7942b539a5542a71e5232708379 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/janet/janet.hash | 2 +- package/janet/janet.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/janet/janet.hash b/package/janet/janet.hash index 50e6b1fef0..aff8e95bb5 100644 --- a/package/janet/janet.hash +++ b/package/janet/janet.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 02ff892f4bfc060a8a37f4a5c3e659bf34ba5f1f1c5eb07d60dc2642c5cf0476 janet-1.19.2.tar.gz +sha256 52db8d18f93351256d0731810e8bea95516db8142f51eeb31664f7884bf63088 janet-1.21.2.tar.gz # Locally calculated sha256 e2d2ae8360d95386af751ac7d1a3da36ea8ceb230e5f0eba7eb762547b1c58c9 LICENSE diff --git a/package/janet/janet.mk b/package/janet/janet.mk index 5b6a9a182d..24a0f86032 100644 --- a/package/janet/janet.mk +++ b/package/janet/janet.mk @@ -4,7 +4,7 @@ # ################################################################################ -JANET_VERSION = 1.19.2 +JANET_VERSION = 1.21.2 JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION)) JANET_LICENSE = MIT JANET_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 23 14:43:49 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:49 +0200 Subject: [Buildroot] [git commit] package/trinity: fix musl build Message-ID: <20220423150245.9EBCA83FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8614ffc07993feca1a3094c1488a11913cb4e87 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure on musl: In file included from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/asm/ioctl.h:12, from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/linux/ioctl.h:5, from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/linux/fs.h:14, from ioctls/vfs.c:3: ioctls/vfs.c:109:35: error: 'loff_t' undeclared here (not in a function); did you mean 'off_t'? 109 | { .name = "FIOQSIZE", .request = FIOQSIZE, }, | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/b7f46072751a8d70fa02f1c625c5279f70bec853 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0003-Use-fcntl-h-for-dev_t-mode_t.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch b/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch new file mode 100644 index 0000000000..c4d9811b8a --- /dev/null +++ b/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch @@ -0,0 +1,46 @@ +From b1a0aef9978d4a41e7e601c277d4fb1b0cfbed89 Mon Sep 17 00:00:00 2001 +From: Dave Jones +Date: Thu, 26 Aug 2021 11:17:34 -0400 +Subject: [PATCH] Use fcntl.h for dev_t & mode_t +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Should fix: + +In file included from /usr/include/bits/statx.h:31, + from /usr/include/sys/stat.h:446, + from include/files.h:3, + from include/shm.h:6, + from syscalls/x86/modify_ldt.c:12: +/usr/include/linux/stat.h:57:2: error: unknown type name ???__s64??? + __s64 tv_sec; + ^~~~~ +/usr/include/linux/stat.h:58:2: error: unknown type name ???__u32??? + __u32 tv_nsec; + ^~~~~ +/usr/include/linux/stat.h:59:2: error: unknown type name ???__s32??? + __s32 __reserved; + ^~~~~ +/usr/include/linux/stat.h:101:2: error: unknown type name ???__u32??? + __u32 stx_mask; /* What results were written [uncond] */ + +[Retrieved from: +https://github.com/kernelslacker/trinity/commit/b1a0aef9978d4a41e7e601c277d4fb1b0cfbed89] +Signed-off-by: Fabrice Fontaine +--- + include/files.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/files.h b/include/files.h +index 2a8e0e2d..ba3cc98f 100644 +--- a/include/files.h ++++ b/include/files.h +@@ -1,6 +1,6 @@ + #pragma once + +-#include ++#include + #include "fd.h" + + unsigned long get_o_flags(void); From arnout at mind.be Sat Apr 23 15:00:14 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:00:14 +0200 Subject: [Buildroot] [git commit] packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements Message-ID: <20220423150245.BE47B83FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2097e1ba3904be8f7cd388fe1d16a099da83ef99 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: CMake Error at /home/buildroot/autobuild/run/instance-2/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/libwebsockets/libwebsockets-config.cmake:35 (include): include could not find load file: LwsCheckRequirements Call Stack (most recent call first): CMakeLists.txt:54 (find_package) Signed-off-by: Bartosz Bilas Signed-off-by: Bartosz Bilas Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ake-remove-duplicate-LwsCheckRequirements.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch new file mode 100644 index 0000000000..fc76a2b610 --- /dev/null +++ b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch @@ -0,0 +1,26 @@ +From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001 +From: Andy Green +Date: Mon, 7 Feb 2022 14:48:55 +0000 +Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements + +Signed-off-by: Andy Green +Signed-off-by: Bartosz Bilas +Signed-off-by: Bartosz Bilas +--- + cmake/libwebsockets-config.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in +index 6247b2cb..8ba97e6f 100644 +--- a/cmake/libwebsockets-config.cmake.in ++++ b/cmake/libwebsockets-config.cmake.in +@@ -32,6 +32,5 @@ endforeach() + + include(CheckIncludeFile) + include(CheckCSourceCompiles) +-include(LwsCheckRequirements) + set(requirements 1) + +-- +2.35.3 + From arnout at mind.be Sat Apr 23 14:43:55 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:55 +0200 Subject: [Buildroot] [git commit] package/expat: drop host-pkgconf dependency Message-ID: <20220423150245.AE71583FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5bc935665bc08d4e144f6aea0786df5aaade248a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop host-pkgconf dependency which has been wrongly added by commit 732d94d25fd10fff65a378b03c3fca9bde403e95. Indeed, expat doesn't use pkgconf to retrieve dependencies Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/expat/expat.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/expat/expat.mk b/package/expat/expat.mk index 92a3bfda8e..a42c77e0fb 100644 --- a/package/expat/expat.mk +++ b/package/expat/expat.mk @@ -8,8 +8,6 @@ EXPAT_VERSION = 2.4.7 EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION) EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz EXPAT_INSTALL_STAGING = YES -EXPAT_DEPENDENCIES = host-pkgconf -HOST_EXPAT_DEPENDENCIES = host-pkgconf EXPAT_LICENSE = MIT EXPAT_LICENSE_FILES = COPYING EXPAT_CPE_ID_VENDOR = libexpat_project From arnout at mind.be Sat Apr 23 15:03:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:32 +0200 Subject: [Buildroot] [git commit] package/pango: bump to version 1.50.7 Message-ID: <20220423150246.0C39283FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c5fa4ae0d6c8dd24268ca2ad6f3a45feedeab6a4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master remove merged patch Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-utils-viewer-cairo-c-fix-empty-body.patch | 40 ---------------------- package/pango/pango.hash | 4 +-- package/pango/pango.mk | 2 +- 3 files changed, 3 insertions(+), 43 deletions(-) diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch deleted file mode 100644 index 4b7b5f9b19..0000000000 --- a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 29 Mar 2022 21:39:03 +0000 -Subject: [PATCH] utils/viewer-cairo.c: fix empty-body - -Fix the following build failure raised -since version 1.50.5 and -https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: - -../utils/viewer-cairo.c: In function 'cairo_vector_view_create': -../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] - ; - ^ - -Fixes: - - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] ---- - utils/viewer-cairo.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c -index ca98c1cd..f15b3fb9 100644 ---- a/utils/viewer-cairo.c -+++ b/utils/viewer-cairo.c -@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) - return NULL; - - if (0) -- ; -+ {} - #ifdef CAIRO_HAS_SVG_SURFACE - else if (0 == g_ascii_strcasecmp (extension, "svg")) - constructor = cairo_svg_surface_create; --- -GitLab - diff --git a/package/pango/pango.hash b/package/pango/pango.hash index fecf368535..7864df7a21 100644 --- a/package/pango/pango.hash +++ b/package/pango/pango.hash @@ -1,5 +1,5 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum -sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.7.sha256sum +sha256 0477f369a3d4c695df7299a6989dc004756a7f4de27eecac405c6790b7e3ad33 pango-1.50.7.tar.xz # Locally computed sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/package/pango/pango.mk b/package/pango/pango.mk index c264e76741..c1c7ceeed6 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -5,7 +5,7 @@ ################################################################################ PANGO_VERSION_MAJOR = 1.50 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).7 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 23 15:02:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:02:47 +0200 Subject: [Buildroot] [git commit] package/enchant: bump to version 2.3.3 Message-ID: <20220423150245.DFA4383FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2a9e9146447df86bf1fffe6352bdc9dc5e056c5f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/enchant/enchant.hash | 2 +- package/enchant/enchant.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/enchant/enchant.hash b/package/enchant/enchant.hash index 9df5316aac..36ac4e07bd 100644 --- a/package/enchant/enchant.hash +++ b/package/enchant/enchant.hash @@ -1,3 +1,3 @@ # locally computed -sha256 ce9ba47fd4d34031bd69445598a698a6611602b2b0e91d705e91a6f5099ead6e enchant-2.3.2.tar.gz +sha256 3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891 enchant-2.3.3.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/enchant/enchant.mk b/package/enchant/enchant.mk index e00fcb25e1..ee6f061956 100644 --- a/package/enchant/enchant.mk +++ b/package/enchant/enchant.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENCHANT_VERSION = 2.3.2 +ENCHANT_VERSION = 2.3.3 ENCHANT_SITE = \ https://github.com/AbiWord/enchant/releases/download/v$(ENCHANT_VERSION) ENCHANT_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 23 14:43:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:52 +0200 Subject: [Buildroot] [git commit] package/expat: disable examples, tests and xmlwf Message-ID: <20220423150245.A6C8783FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dac5873314581786630466741074c1e3af61b2b4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable examples and tests (enabled by default) through --without-{examples,tests} which are available since version 2.2.7 and https://github.com/libexpat/libexpat/commit/1fdfd8a1b490f8ac9e7e11896298e41cc210d87d Also disable xmlwf (a binary that determines if an XML document is well-formed) through --without-xmlwf which is available since version 2.2.4 and https://github.com/libexpat/libexpat/commit/9d950527a07783c104aada685384edf3f8f23f8a This will fix the following build failure on riscv64: ERROR: reloc type R_RISCV_SET6 unsupported in this context Fixes: - http://autobuild.buildroot.org/results/99890c9c7ebe3266dd533c81352a3cbcf4d3d738 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/expat/expat.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/expat/expat.mk b/package/expat/expat.mk index b29b0e1d26..92a3bfda8e 100644 --- a/package/expat/expat.mk +++ b/package/expat/expat.mk @@ -15,8 +15,9 @@ EXPAT_LICENSE_FILES = COPYING EXPAT_CPE_ID_VENDOR = libexpat_project EXPAT_CPE_ID_PRODUCT = libexpat -EXPAT_CONF_OPTS = --without-docbook -HOST_EXPAT_CONF_OPTS = --without-docbook +EXPAT_CONF_OPTS = \ + --without-docbook --without-examples --without-tests --without-xmlwf +HOST_EXPAT_CONF_OPTS = --without-docbook --without-examples --without-tests $(eval $(autotools-package)) $(eval $(host-autotools-package)) From arnout at mind.be Sat Apr 23 14:59:31 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:59:31 +0200 Subject: [Buildroot] [git commit] package/multipath-tools: bump to version 0.8.9 Message-ID: <20220423150245.B689583FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b790ff27d5461df4de22732611a1eb4beee68f91 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Text has been added to README.md, but the section about licenses hasn't been modified. Unfortunately there are still many files without license info, so the small piece of text in README.md that says files with no license info are LGPL-2.0 is still relevant. Signed-off-by: Alexander Egorenkov [Arnout: update README.md hash] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ultipath-use-pkg-config-to-get-path-to-he.patch | 69 ---------------------- package/multipath-tools/multipath-tools.hash | 4 +- package/multipath-tools/multipath-tools.mk | 2 +- 3 files changed, 3 insertions(+), 72 deletions(-) diff --git a/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch b/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch deleted file mode 100644 index 0d46f12a69..0000000000 --- a/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 922855e245c8bdadc0d24b5b706549b18fb5f079 Mon Sep 17 00:00:00 2001 -From: Alexander Egorenkov -Date: Sat, 21 Nov 2020 11:08:56 +0100 -Subject: [PATCH] kpartx, libmultipath: use pkg-config to get path to - headers - -Use pkg-config in Makefile to find path to devmapper and udev headers -to enable cross-compilation. - -Signed-off-by: Alexander Egorenkov ---- - kpartx/Makefile | 2 +- - libmultipath/Makefile | 12 ++++++------ - 2 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/kpartx/Makefile b/kpartx/Makefile -index 2906a984..29573890 100644 ---- a/kpartx/Makefile -+++ b/kpartx/Makefile -@@ -8,7 +8,7 @@ LDFLAGS += $(BIN_LDFLAGS) - - LIBDEPS += -ldevmapper - --ifneq ($(call check_func,dm_task_set_cookie,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_set_cookie,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_COOKIE - endif - -diff --git a/libmultipath/Makefile b/libmultipath/Makefile -index 62ba16e8..3ad9130c 100644 ---- a/libmultipath/Makefile -+++ b/libmultipath/Makefile -@@ -20,27 +20,27 @@ ifdef SYSTEMD - endif - endif - --ifneq ($(call check_func,dm_task_no_flush,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_no_flush,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_FLUSH -D_GNU_SOURCE - endif - --ifneq ($(call check_func,dm_task_get_errno,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_get_errno,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_GET_ERRNO - endif - --ifneq ($(call check_func,dm_task_set_cookie,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_set_cookie,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_COOKIE - endif - --ifneq ($(call check_func,udev_monitor_set_receive_buffer_size,/usr/include/libudev.h),0) -+ifneq ($(call check_func,udev_monitor_set_receive_buffer_size,$(shell $(PKG_CONFIG) --variable=includedir libudev)/libudev.h),0) - CFLAGS += -DLIBUDEV_API_RECVBUF - endif - --ifneq ($(call check_func,dm_task_deferred_remove,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_deferred_remove,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_DEFERRED - endif - --ifneq ($(call check_func,dm_hold_control_dev,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_hold_control_dev,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_HOLD_CONTROL - endif - --- -2.29.2 - diff --git a/package/multipath-tools/multipath-tools.hash b/package/multipath-tools/multipath-tools.hash index f063848681..58d8de369c 100644 --- a/package/multipath-tools/multipath-tools.hash +++ b/package/multipath-tools/multipath-tools.hash @@ -1,7 +1,7 @@ # Locally computed: -sha256 ff45ddb18a1effbfbe5712f513dd3b7146c68141091fc1c2489af8d6197026ef multipath-tools-0.8.8.tar.gz +sha256 27a426facea0474e6dc48e026a94f7c86890d3f27b439b07ec26b0b9887b0cc4 multipath-tools-0.8.9.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0 sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSES/GPL-3.0 sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c LICENSES/LGPL-2.0 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1 -sha256 b1bd70cc61ab014cc2e744af6b117db481ef4fa5d59cb3a21d86059935c666df README.md +sha256 a3777a6b4433a23246eed8a88ca8466e3d21a2f758c03d060201fe2c44ff5484 README.md diff --git a/package/multipath-tools/multipath-tools.mk b/package/multipath-tools/multipath-tools.mk index eecfe39002..c0b7c5721e 100644 --- a/package/multipath-tools/multipath-tools.mk +++ b/package/multipath-tools/multipath-tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -MULTIPATH_TOOLS_VERSION = 0.8.8 +MULTIPATH_TOOLS_VERSION = 0.8.9 MULTIPATH_TOOLS_SITE = $(call github,opensvc,multipath-tools,$(MULTIPATH_TOOLS_VERSION)) MULTIPATH_TOOLS_LICENSE = \ From arnout at mind.be Sat Apr 23 15:00:14 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:00:14 +0200 Subject: [Buildroot] [git commit] package/batman-adv: needs CONFIG_CRC16 Message-ID: <20220423150245.C666683FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5c7f712c4814c0aacbd11bf71e2f81a3b33365bb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master CONFIG_CRC16 is needed to avoid the following build failure: ERROR: modpost: "crc16" [/nvmedata/autobuild/instance-6/output-1/build/batman-adv-2021.4/net/batman-adv/batman-adv.ko] undefined! Fixes: - http://autobuild.buildroot.org/results/64bf0f89ef444dda4d1277c0e46d189ad2515713 Signed-off-by: Fabrice Fontaine Reviewed-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/batman-adv/batman-adv.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk index 838f9b1851..6a1aaa699c 100644 --- a/package/batman-adv/batman-adv.mk +++ b/package/batman-adv/batman-adv.mk @@ -35,6 +35,7 @@ define BATMAN_ADV_CONFIGURE_CMDS endef define BATMAN_ADV_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC16) $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) endef From arnout at mind.be Sat Apr 23 15:03:30 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:30 +0200 Subject: [Buildroot] [git commit] package/luajit: bump to version f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 Message-ID: <20220423150246.0372783FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bf781cbb639a527525607036a81cbf913be2edb7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master diff COPYRIGHT: -Copyright (C) 2005-2021 Mike Pall. All rights reserved. +Copyright (C) 2005-2022 Mike Pall. All rights reserved. Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/luajit/luajit.hash | 4 ++-- package/luajit/luajit.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/luajit/luajit.hash b/package/luajit/luajit.hash index d92eefb39a..cfc00e852a 100644 --- a/package/luajit/luajit.hash +++ b/package/luajit/luajit.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 7ea92e2414b6405c7fb3974ab092707c400a5496e8d4936174b5bd3aa6e94477 luajit-a91d0d9d3bba1a936669cfac3244509a0f2ac0e3.tar.gz +sha256 e3f9c04e82d5c776335dfb4e53ec1532914ab010b60bffbb0176a8390f100666 luajit-f2b37f51f69ba7e9f8defd05e5aca648121f0fe6.tar.gz # Locally calculated -sha256 43fc251179d900f9948e51dd3cc93733d1219f2db060faaa0c8100ad054f54d8 COPYRIGHT +sha256 52fc5b15ac968ed81aabb4c1e23ab3bce50f57a5764e9cdca86b463a11072921 COPYRIGHT diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index cca806309d..6155cbba87 100644 --- a/package/luajit/luajit.mk +++ b/package/luajit/luajit.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUAJIT_VERSION = a91d0d9d3bba1a936669cfac3244509a0f2ac0e3 +LUAJIT_VERSION = f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 LUAJIT_SITE = $(call github,LuaJIT,LuaJIT,$(LUAJIT_VERSION)) LUAJIT_LICENSE = MIT LUAJIT_LICENSE_FILES = COPYRIGHT From arnout at mind.be Sat Apr 23 15:00:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:00:15 +0200 Subject: [Buildroot] [git commit] package/postgresql: can't be built with BR2_OPTIMIZE_FAST Message-ID: <20220423150245.D02AF83FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e702a05d8998a1f2416225eb62b43b6585738fe9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master postgresql can't be built with BR2_OPTIMIZE_FAST: configure: error: do not put -ffast-math in CFLAGS Fixes: - http://autobuild.buildroot.org/results/106bb61bcff5d03e44d3e2e9149c76e6705606a5 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/bandwidthd/Config.in | 4 ++++ package/collectd/Config.in | 4 ++++ package/lighttpd/Config.in | 4 ++++ package/php/Config.ext | 8 ++++++++ package/poco/Config.in | 4 ++++ package/postgresql/Config.in | 4 ++++ package/python-psycopg2/Config.in | 4 ++++ package/qt5/qt5base/Config.in | 4 ++++ package/zabbix/Config.in | 1 + 9 files changed, 37 insertions(+) diff --git a/package/bandwidthd/Config.in b/package/bandwidthd/Config.in index 5a3529e0c4..7537552390 100644 --- a/package/bandwidthd/Config.in +++ b/package/bandwidthd/Config.in @@ -36,6 +36,7 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL bool "enable postgresql log target support" depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Enable support for logging the bandwidthd data to a remote @@ -46,6 +47,9 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL comment "postgresql support needs a toolchain w/ dynamic library, wchar" depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "postgresql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_BANDWIDTHD_SQLITE3 bool "enable sqlite3 log storage" select BR2_PACKAGE_SQLITE diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 43eef3bf66..da8465beee 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -475,6 +475,7 @@ config BR2_PACKAGE_COLLECTD_PING config BR2_PACKAGE_COLLECTD_POSTGRESQL bool "postgresql" depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Connects to and executes SQL statements on a PostgreSQL @@ -485,6 +486,9 @@ config BR2_PACKAGE_COLLECTD_POSTGRESQL comment "postgresql support needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR +comment "postgresql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_COLLECTD_PROCESSES bool "processes" help diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in index 6f0c927319..9522b80426 100644 --- a/package/lighttpd/Config.in +++ b/package/lighttpd/Config.in @@ -93,6 +93,7 @@ config BR2_PACKAGE_LIGHTTPD_PGSQL bool "pgsql support" depends on BR2_USE_MMU # postgresql depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Enable postgres support for lighttpd mod_vhostdb_pgsql. @@ -101,6 +102,9 @@ comment "pgsql support needs a toolchain w/ wchar" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR +comment "pgsql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_LIGHTTPD_WEBDAV bool "webdav support" select BR2_PACKAGE_LIBXML2 diff --git a/package/php/Config.ext b/package/php/Config.ext index 5da5d8bed9..e4aced66df 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -141,6 +141,7 @@ config BR2_PACKAGE_PHP_EXT_PGSQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help PostgreSQL support @@ -149,6 +150,9 @@ comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL extension can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_PHP_EXT_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE @@ -172,6 +176,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help PDO driver for PostgreSQL @@ -180,6 +185,9 @@ comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL drivers can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_PHP_EXT_PDO_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE diff --git a/package/poco/Config.in b/package/poco/Config.in index 699495a241..d2852ba03e 100644 --- a/package/poco/Config.in +++ b/package/poco/Config.in @@ -52,9 +52,13 @@ config BR2_PACKAGE_POCO_DATA_MYSQL config BR2_PACKAGE_POCO_DATA_PGSQL bool "Data/PostgreSQL" depends on BR2_USE_MMU # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POCO_DATA select BR2_PACKAGE_POSTGRESQL +comment "Data/PostgreSQL can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_POCO_DATA_SQLITE bool "Data/SQLite" select BR2_PACKAGE_POCO_DATA diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in index b42b219558..476427d534 100644 --- a/package/postgresql/Config.in +++ b/package/postgresql/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_POSTGRESQL # postgresql is unlikely to be used in a pure statically # linked environment. depends on !BR2_STATIC_LIBS + depends on !BR2_OPTIMIZE_FAST select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL @@ -34,3 +35,6 @@ endif comment "postgresql needs a toolchain w/ dynamic library, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR + +comment "postgresql can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in index ec27d706de..361c40cfa9 100644 --- a/package/python-psycopg2/Config.in +++ b/package/python-psycopg2/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 bool "python-psycopg2" depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Psycopg is the most popular PostgreSQL database adapter for @@ -24,3 +25,6 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 comment "python-psycopg2 needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR + +comment "python-psycopg2 can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in index 601438d2fe..6f2309dffd 100644 --- a/package/qt5/qt5base/Config.in +++ b/package/qt5/qt5base/Config.in @@ -74,6 +74,7 @@ config BR2_PACKAGE_QT5BASE_PSQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Build PostgreSQL plugin @@ -83,6 +84,9 @@ comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL plugin can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + choice prompt "SQLite 3 support" default BR2_PACKAGE_QT5BASE_SQLITE_NONE diff --git a/package/zabbix/Config.in b/package/zabbix/Config.in index 6f8a952936..0f7a0b0003 100644 --- a/package/zabbix/Config.in +++ b/package/zabbix/Config.in @@ -45,6 +45,7 @@ config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL bool "postgresql" depends on BR2_USE_WCHAR # postgresql depends on !BR2_STATIC_LIBS # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL endchoice From arnout at mind.be Sat Apr 23 15:03:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:38 +0200 Subject: [Buildroot] [git commit] package/pcre2: bump to version 10.40 Message-ID: <20220423150246.1451E83FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=10648db92bc5c4bfd49b58ce4f1c213defdfc7de branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pcre2/pcre2.hash | 4 ++-- package/pcre2/pcre2.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash index 3e6299f80b..e4f7980749 100644 --- a/package/pcre2/pcre2.hash +++ b/package/pcre2/pcre2.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature: -# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.bz2.sig -sha256 0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440 pcre2-10.39.tar.bz2 +# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2.sig +sha256 14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 pcre2-10.40.tar.bz2 # Locally computed sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE diff --git a/package/pcre2/pcre2.mk b/package/pcre2/pcre2.mk index adcfaf1cae..043f6d866f 100644 --- a/package/pcre2/pcre2.mk +++ b/package/pcre2/pcre2.mk @@ -4,7 +4,7 @@ # ################################################################################ -PCRE2_VERSION = 10.39 +PCRE2_VERSION = 10.40 PCRE2_SITE = https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$(PCRE2_VERSION) PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2 PCRE2_LICENSE = BSD-3-Clause From arnout at mind.be Sat Apr 23 15:03:28 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:28 +0200 Subject: [Buildroot] [git commit] package/libarchive: bump to version 3.6.1 Message-ID: <20220423150245.EF2D783FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a33130d964af5ca07315f118dca7964c38b13f4d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libarchive/libarchive.hash | 2 +- package/libarchive/libarchive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libarchive/libarchive.hash b/package/libarchive/libarchive.hash index 5dd8e5c167..ca580b4977 100644 --- a/package/libarchive/libarchive.hash +++ b/package/libarchive/libarchive.hash @@ -1,4 +1,4 @@ # From https://www.libarchive.de/downloads/sha256sums -sha256 5cac725dd4be31c4a10b65d30f29dc957ea29ef3d758df6e46e8ae90a996a19a libarchive-3.5.3.tar.xz +sha256 5a411aceb978f43e626f0c2d1812ddd8807b645ed892453acabd532376c148e6 libarchive-3.6.1.tar.xz # Locally computed: sha256 b2cdf763345de2de34cebf54394df3c61a105c3b71288603c251f2fa638200ba COPYING diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index cf16c27e67..865f605e2f 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBARCHIVE_VERSION = 3.5.3 +LIBARCHIVE_VERSION = 3.6.1 LIBARCHIVE_SOURCE = libarchive-$(LIBARCHIVE_VERSION).tar.xz LIBARCHIVE_SITE = https://www.libarchive.de/downloads LIBARCHIVE_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 23 15:24:47 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:24:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/wolfssl: all features needs dynamic library In-Reply-To: <20220420081939.295448-1-fontaine.fabrice@gmail.com> References: <20220420081939.295448-1-fontaine.fabrice@gmail.com> Message-ID: On 20/04/2022 10:19, Fabrice Fontaine wrote: > Add dynamic library dependency to BR2_PACKAGE_WOLFSSL_ALL to fix the > following static build failure with ibrdtnd, a "wolfssl all"-enabled > libcurl and openssl: > > /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/opt/ext-toolchain/bin/../lib/gcc/sh4aeb-buildroot-linux-musl/11.2.0/../../../../sh4aeb-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/bin/../sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libssl.a(ssl_ciph.o): in function `SSL_COMP_get_compression_methods': > ssl_ciph.c:(.text+0x25ac): multiple definition of `SSL_COMP_get_compression_methods'; /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libwolfssl.a(libwolfssl_la-ssl.o):ssl.c:(.text+0x1ca60): first defined here > > Fixes: > - http://autobuild.buildroot.org/results/be1d327ed4c91a6280a88906a399dfe146f0b64e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libcurl/Config.in | 5 +++++ > package/libuhttpd/Config.in | 3 ++- > package/libuhttpd/libuhttpd.mk | 2 +- > package/wolfssl/Config.in | 4 ++++ > 4 files changed, 12 insertions(+), 2 deletions(-) > > diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in > index f2ddce6e81..84ad18211a 100644 > --- a/package/libcurl/Config.in > +++ b/package/libcurl/Config.in > @@ -78,8 +78,13 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS > config BR2_PACKAGE_LIBCURL_WOLFSSL > bool "WolfSSL" > depends on BR2_PACKAGE_WOLFSSL > + depends on !BR2_STATIC_LIBS # wolfssl-all > select BR2_PACKAGE_WOLFSSL_ALL > > +comment "WolfSSL needs a toolchain w/ dynamic library" > + depends on BR2_PACKAGE_WOLFSSL > + depends on BR2_STATIC_LIBS > + > endchoice > > comment "A TLS library is needed for SSL/TLS support" > diff --git a/package/libuhttpd/Config.in b/package/libuhttpd/Config.in > index 97fc984ea0..a552a88f0c 100644 > --- a/package/libuhttpd/Config.in > +++ b/package/libuhttpd/Config.in > @@ -3,7 +3,8 @@ config BR2_PACKAGE_LIBUHTTPD > depends on BR2_USE_MMU # fork() > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 > select BR2_PACKAGE_LIBEV > - select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL > + select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL && \ > + !BR2_STATIC_LIBS > help > A lightweight and fully asynchronous HTTP server > library based on libev > diff --git a/package/libuhttpd/libuhttpd.mk b/package/libuhttpd/libuhttpd.mk > index b8cf935d01..0d5306c6dd 100644 > --- a/package/libuhttpd/libuhttpd.mk > +++ b/package/libuhttpd/libuhttpd.mk > @@ -18,7 +18,7 @@ LIBUHTTPD_CONF_OPTS += \ > -DUSE_MBEDTLS=OFF \ > -DUSE_OPENSSL=ON \ > -DUSE_WOLFSSL=OFF > -else ifeq ($(BR2_PACKAGE_WOLFSSL),y) > +else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y) > LIBUHTTPD_DEPENDENCIES += wolfssl > LIBUHTTPD_CONF_OPTS += \ > -DSSL_SUPPORT=ON \ > diff --git a/package/wolfssl/Config.in b/package/wolfssl/Config.in > index 3c6d68f592..3a97125e8d 100644 > --- a/package/wolfssl/Config.in > +++ b/package/wolfssl/Config.in > @@ -13,9 +13,13 @@ if BR2_PACKAGE_WOLFSSL > > config BR2_PACKAGE_WOLFSSL_ALL > bool "enable all features, except SSLv3" > + depends on !BR2_STATIC_LIBS > help > Enable all wolfSSL features, except SSL version 3.0 support. > > +comment "all features, except SSLv3 needs a toolchain w/ dynamic library" > + depends on BR2_STATIC_LIBS > + > config BR2_PACKAGE_WOLFSSL_SSLV3 > bool "enable SSLv3" > help From arnout at mind.be Sat Apr 23 15:23:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:23:04 +0200 Subject: [Buildroot] [git commit] package/wolfssl: all features needs dynamic library Message-ID: <20220423151445.E10C6840FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7d211f67016446b9e843259b1195be04691fecec branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add dynamic library dependency to BR2_PACKAGE_WOLFSSL_ALL to fix the following static build failure with ibrdtnd, a "wolfssl all"-enabled libcurl and openssl: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/opt/ext-toolchain/bin/../lib/gcc/sh4aeb-buildroot-linux-musl/11.2.0/../../../../sh4aeb-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/bin/../sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libssl.a(ssl_ciph.o): in function `SSL_COMP_get_compression_methods': ssl_ciph.c:(.text+0x25ac): multiple definition of `SSL_COMP_get_compression_methods'; /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libwolfssl.a(libwolfssl_la-ssl.o):ssl.c:(.text+0x1ca60): first defined here Fixes: - http://autobuild.buildroot.org/results/be1d327ed4c91a6280a88906a399dfe146f0b64e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcurl/Config.in | 5 +++++ package/libuhttpd/Config.in | 3 ++- package/libuhttpd/libuhttpd.mk | 2 +- package/wolfssl/Config.in | 4 ++++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index 8c601c3a70..3381decca8 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -68,8 +68,13 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS config BR2_PACKAGE_LIBCURL_WOLFSSL bool "WolfSSL" depends on BR2_PACKAGE_WOLFSSL + depends on !BR2_STATIC_LIBS # wolfssl-all select BR2_PACKAGE_WOLFSSL_ALL +comment "WolfSSL needs a toolchain w/ dynamic library" + depends on BR2_PACKAGE_WOLFSSL + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_LIBCURL_TLS_NONE bool "None" diff --git a/package/libuhttpd/Config.in b/package/libuhttpd/Config.in index 97fc984ea0..a552a88f0c 100644 --- a/package/libuhttpd/Config.in +++ b/package/libuhttpd/Config.in @@ -3,7 +3,8 @@ config BR2_PACKAGE_LIBUHTTPD depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 select BR2_PACKAGE_LIBEV - select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL + select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL && \ + !BR2_STATIC_LIBS help A lightweight and fully asynchronous HTTP server library based on libev diff --git a/package/libuhttpd/libuhttpd.mk b/package/libuhttpd/libuhttpd.mk index b8cf935d01..0d5306c6dd 100644 --- a/package/libuhttpd/libuhttpd.mk +++ b/package/libuhttpd/libuhttpd.mk @@ -18,7 +18,7 @@ LIBUHTTPD_CONF_OPTS += \ -DUSE_MBEDTLS=OFF \ -DUSE_OPENSSL=ON \ -DUSE_WOLFSSL=OFF -else ifeq ($(BR2_PACKAGE_WOLFSSL),y) +else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y) LIBUHTTPD_DEPENDENCIES += wolfssl LIBUHTTPD_CONF_OPTS += \ -DSSL_SUPPORT=ON \ diff --git a/package/wolfssl/Config.in b/package/wolfssl/Config.in index 3c6d68f592..3a97125e8d 100644 --- a/package/wolfssl/Config.in +++ b/package/wolfssl/Config.in @@ -13,9 +13,13 @@ if BR2_PACKAGE_WOLFSSL config BR2_PACKAGE_WOLFSSL_ALL bool "enable all features, except SSLv3" + depends on !BR2_STATIC_LIBS help Enable all wolfSSL features, except SSL version 3.0 support. +comment "all features, except SSLv3 needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_WOLFSSL_SSLV3 bool "enable SSLv3" help From arnout at mind.be Sat Apr 23 15:27:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:27:14 +0200 Subject: [Buildroot] [PATCH] configs/kontron_bl_imx8mm_defconfig: Bump U-Boot In-Reply-To: References: <20220421215611.1362150-1-festevam@gmail.com> Message-ID: <8e04a9c8-5a88-1ebd-4d24-579afb07fbcf@mind.be> Hi Heiko, On 22/04/2022 08:02, Heiko Thiery wrote: > Hi Fabio, > > Am Do., 21. Apr. 2022 um 23:56 Uhr schrieb Fabio Estevam : >> >> Bump U-Boot to version 2022.04 and remove the two patches >> that have already been upstreamed. >> >> Signed-off-by: Fabio Estevam > > Thanks for doing this. > > Acked-By: Heiko Thiery Did you also test it? We don't really want to change board configs in non-trivial ways without testing that they still boot. Regards, Arnout > >> --- >> Hi Heiko, >> >> This is not tested. >> >> Did it by inspection. >> >> ...m-kontron-n801x-s-convert-options-to.patch | 31 -- >> ...m-kontron-n801x-s-add-common-board-u.patch | 305 ------------------ >> configs/kontron_bl_imx8mm_defconfig | 4 +- >> 3 files changed, 1 insertion(+), 339 deletions(-) >> delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch >> delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch >> >> diff --git a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch b/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch >> deleted file mode 100644 >> index 6d76282defb2..000000000000 >> --- a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch >> +++ /dev/null >> @@ -1,31 +0,0 @@ >> -From 95a311af81cd47c44d3d6e3f717f06a06d8f3dfd Mon Sep 17 00:00:00 2001 >> -From: Heiko Thiery >> -Date: Mon, 10 Jan 2022 14:13:02 +0100 >> -Subject: [PATCH 1/2] imx: imx8mm: imx8mm-kontron-n801x-s: convert options to Kconfig >> - >> -CONFIG_SPL_MMC and CONFIG_SPL_SERIAL >> - >> -Patch submitted upstream: >> -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-1-heiko.thiery at gmail.com/ >> - >> -Signed-off-by: Heiko Thiery >> ---- >> - configs/kontron-sl-mx8mm_defconfig | 2 ++ >> - 1 file changed, 2 insertions(+) >> - >> -diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig >> -index 35d12fca32..940bf07a92 100644 >> ---- a/configs/kontron-sl-mx8mm_defconfig >> -+++ b/configs/kontron-sl-mx8mm_defconfig >> -@@ -15,6 +15,8 @@ CONFIG_SPL_DM_SPI=y >> - CONFIG_DEFAULT_DEVICE_TREE="imx8mm-kontron-n801x-s" >> - CONFIG_SPL_TEXT_BASE=0x7E1000 >> - CONFIG_TARGET_KONTRON_MX8MM=y >> -+CONFIG_SPL_MMC=y >> -+CONFIG_SPL_SERIAL=y >> - CONFIG_BOOTCOUNT_BOOTLIMIT=3 >> - CONFIG_SPL=y >> - CONFIG_DISTRO_DEFAULTS=y >> --- >> -2.30.2 >> - >> diff --git a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch b/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch >> deleted file mode 100644 >> index a88d7aba870b..000000000000 >> --- a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch >> +++ /dev/null >> @@ -1,305 +0,0 @@ >> -From ef694c19c074333fd16589ec6ffef3e7ca895186 Mon Sep 17 00:00:00 2001 >> -From: Heiko Thiery >> -Date: Wed, 12 Jan 2022 08:44:36 +0100 >> -Subject: [PATCH 2/2] imx: imx8mm: imx8mm-kontron-n801x-s: add common board >> - u-boot.dtsi >> - >> -When using a board variant that selects the lvds specific dtb the >> -*.u-boot.dtsi file will not be included. To have a lvds dtb specific >> -u-boot.dtsi file move this part to a common board u-boot.dtsi file and >> -include this in the board base u-boot.dtsi and create an additional one >> -for the lvds variant. >> - >> -Patch submitted upstream: >> -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-2-heiko.thiery at gmail.com/ >> - >> -Signed-off-by: Heiko Thiery >> ---- >> - .../imx8mm-kontron-n801x-s-lvds-u-boot.dtsi | 6 + >> - .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 124 +---------------- >> - arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi | 128 ++++++++++++++++++ >> - 3 files changed, 135 insertions(+), 123 deletions(-) >> - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi >> - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi >> - >> -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi >> -new file mode 100644 >> -index 0000000000..4bf75722bf >> ---- /dev/null >> -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi >> -@@ -0,0 +1,6 @@ >> -+// SPDX-License-Identifier: GPL-2.0+ >> -+/* >> -+ * Copyright (C) 2019 Kontron Electronics GmbH >> -+ */ >> -+ >> -+#include "imx8mm-kontron-n801x-u-boot.dtsi" >> -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi >> -index 22d18e6f1c..4bf75722bf 100644 >> ---- a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi >> -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi >> -@@ -3,126 +3,4 @@ >> - * Copyright (C) 2019 Kontron Electronics GmbH >> - */ >> - >> --#include "imx8mm-u-boot.dtsi" >> -- >> --/ { >> -- aliases { >> -- usb0 = &usbotg1; >> -- usb1 = &usbotg2; >> -- }; >> -- >> -- wdt-reboot { >> -- compatible = "wdt-reboot"; >> -- wdt = <&wdog1>; >> -- u-boot,dm-spl; >> -- }; >> -- >> -- firmware { >> -- optee { >> -- compatible = "linaro,optee-tz"; >> -- method = "smc"; >> -- }; >> -- }; >> --}; >> -- >> --&fec1 { >> -- phy-mode = "rgmii-rxid"; >> --}; >> -- >> --&i2c1 { >> -- u-boot,dm-spl; >> -- u-boot,dm-pre-reloc; >> --}; >> -- >> --&i2c2 { >> -- status = "okay"; >> -- u-boot,dm-spl; >> -- u-boot,dm-pre-reloc; >> --}; >> -- >> --&pinctrl_ecspi1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_i2c1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_pmic { >> -- u-boot,dm-spl; >> -- fsl,pins = < >> -- MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 >> -- /* Disable Pullup for SD_VSEL */ >> -- MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 >> -- >; >> --}; >> -- >> --&pinctrl_uart3 { >> -- u-boot,dm-spl; >> -- u-boot,dm-pre-reloc; >> --}; >> -- >> --&pinctrl_usdhc1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_usdhc1_100mhz { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_usdhc1_200mhz { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_usdhc2 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pca9450 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { >> -- u-boot,dm-spl; >> --}; >> -- >> --&ecspi1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio2 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio3 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio4 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio5 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&uart3 { >> -- u-boot,dm-spl; >> -- u-boot,dm-pre-reloc; >> --}; >> -- >> --&usdhc1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&usdhc2 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&wdog1 { >> -- u-boot,dm-spl; >> --}; >> -+#include "imx8mm-kontron-n801x-u-boot.dtsi" >> -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi >> -new file mode 100644 >> -index 0000000000..22d18e6f1c >> ---- /dev/null >> -+++ b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi >> -@@ -0,0 +1,128 @@ >> -+// SPDX-License-Identifier: GPL-2.0+ >> -+/* >> -+ * Copyright (C) 2019 Kontron Electronics GmbH >> -+ */ >> -+ >> -+#include "imx8mm-u-boot.dtsi" >> -+ >> -+/ { >> -+ aliases { >> -+ usb0 = &usbotg1; >> -+ usb1 = &usbotg2; >> -+ }; >> -+ >> -+ wdt-reboot { >> -+ compatible = "wdt-reboot"; >> -+ wdt = <&wdog1>; >> -+ u-boot,dm-spl; >> -+ }; >> -+ >> -+ firmware { >> -+ optee { >> -+ compatible = "linaro,optee-tz"; >> -+ method = "smc"; >> -+ }; >> -+ }; >> -+}; >> -+ >> -+&fec1 { >> -+ phy-mode = "rgmii-rxid"; >> -+}; >> -+ >> -+&i2c1 { >> -+ u-boot,dm-spl; >> -+ u-boot,dm-pre-reloc; >> -+}; >> -+ >> -+&i2c2 { >> -+ status = "okay"; >> -+ u-boot,dm-spl; >> -+ u-boot,dm-pre-reloc; >> -+}; >> -+ >> -+&pinctrl_ecspi1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_i2c1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_pmic { >> -+ u-boot,dm-spl; >> -+ fsl,pins = < >> -+ MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 >> -+ /* Disable Pullup for SD_VSEL */ >> -+ MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 >> -+ >; >> -+}; >> -+ >> -+&pinctrl_uart3 { >> -+ u-boot,dm-spl; >> -+ u-boot,dm-pre-reloc; >> -+}; >> -+ >> -+&pinctrl_usdhc1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_usdhc1_100mhz { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_usdhc1_200mhz { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_usdhc2 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pca9450 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&ecspi1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio2 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio3 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio4 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio5 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&uart3 { >> -+ u-boot,dm-spl; >> -+ u-boot,dm-pre-reloc; >> -+}; >> -+ >> -+&usdhc1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&usdhc2 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&wdog1 { >> -+ u-boot,dm-spl; >> -+}; >> --- >> -2.30.2 >> - >> diff --git a/configs/kontron_bl_imx8mm_defconfig b/configs/kontron_bl_imx8mm_defconfig >> index 2b7e121e252e..705222df2833 100644 >> --- a/configs/kontron_bl_imx8mm_defconfig >> +++ b/configs/kontron_bl_imx8mm_defconfig >> @@ -3,8 +3,6 @@ BR2_aarch64=y >> BR2_cortex_a53=y >> BR2_ARM_FPU_VFPV3=y >> >> -BR2_GLOBAL_PATCH_DIR="board/kontron/bl-imx8mm/patches" >> - >> # System >> BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" >> >> @@ -40,7 +38,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30880 >> BR2_TARGET_UBOOT=y >> BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y >> BR2_TARGET_UBOOT_CUSTOM_VERSION=y >> -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" >> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" >> BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron-sl-mx8mm" >> BR2_TARGET_UBOOT_NEEDS_DTC=y >> BR2_TARGET_UBOOT_NEEDS_PYTHON3=y >> -- >> 2.25.1 >> > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Sat Apr 23 15:33:10 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 17:33:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/netatalk: fix build with libressl Message-ID: <20220423153310.2443908-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl >= 2.7.0: In file included from uams_dhx_passwd.c:35: openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) | ^~~~~~~~~~~ In file included from uams_dhx_passwd.c:33: /home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e Signed-off-by: Fabrice Fontaine --- ..._compat.h-fix-build-with-libressl-2..patch | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch diff --git a/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch new file mode 100644 index 0000000000..05913862f6 --- /dev/null +++ b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch @@ -0,0 +1,43 @@ +From 58ddc137021a938f37c3794305a839f8df449d3f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 23:59:15 +0200 +Subject: [PATCH] etc/uams/openssl_compat.h: fix build with libressl >= 2.7.0 + +Fix the following build failure with libressl >= 2.7.0 which added +DH_set0_pqg with +https://github.com/libressl-portable/openbsd/commit/848e2a019c796b685fc8c5848283b86e48fbe0bf: + +In file included from uams_dhx_passwd.c:35: +openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration + 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) + | ^~~~~~~~~~~ +In file included from uams_dhx_passwd.c:33: +/home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here + 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet] +--- + etc/uams/openssl_compat.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/etc/uams/openssl_compat.h b/etc/uams/openssl_compat.h +index ded377bc..5cc8de34 100644 +--- a/etc/uams/openssl_compat.h ++++ b/etc/uams/openssl_compat.h +@@ -11,7 +11,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt + #ifndef OPENSSL_COMPAT_H + #define OPENSSL_COMPAT_H + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) + { + /* If the fields p and g in d are NULL, the corresponding input +-- +2.35.1 + -- 2.35.1 From arnout at mind.be Sat Apr 23 15:38:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:38:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop tagged layout In-Reply-To: <20220420121202.1074548-1-fontaine.fabrice@gmail.com> References: <20220420121202.1074548-1-fontaine.fabrice@gmail.com> Message-ID: <79a89879-159c-85b2-46fa-8d59160db6da@mind.be> On 20/04/2022 14:12, Fabrice Fontaine wrote: > Drop boost tagged layout which raises the following build failure with > botan or libcpprestsdk: > > /nvmedata/autobuild/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: cannot find -lboost_system > > CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): > Could NOT find Boost (missing: random system thread filesystem chrono > atomic date_time regex) (found version "1.78.0") > > While at it: > - drop BR2_PACKAGE_BOOST_LAYOUT and BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > - move --layout=system, --ignore-site-config, > --user-config=$(@D)/user-config.jam, -j$(PARALLEL_JOBS), -q and > --prefix=$(HOST_DIR) to BOOST_OPTS and HOST_BOOST_OPTS > - drop parentheses to avoid spawning a useless sub-shell > - use b2 everywhere instead of mixing b2 and > tools/build/src/engine/bjam > - drop uneeded 'echo "" >> $(@D)/user-config.jam' > > Fixes: > - http://autobuild.buildroot.org/results/f237c9345faf8c28f3c73f7d8acb49271fe61780 > - http://autobuild.buildroot.org/results/a73225e40fa29bc3b24f36a86719e80c8e469d1f > > Signed-off-by: Fabrice Fontaine > --- > Config.in.legacy | 13 ++++++++++ > package/boost/Config.in | 27 --------------------- > package/boost/boost.mk | 53 ++++++++++++++--------------------------- > 3 files changed, 31 insertions(+), 62 deletions(-) > > diff --git a/Config.in.legacy b/Config.in.legacy > index 27f19f14e7..a4811831f3 100644 > --- a/Config.in.legacy > +++ b/Config.in.legacy > @@ -146,6 +146,19 @@ endif > > comment "Legacy options removed in 2022.05" > > +config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > + bool "boost system layout removed" > + select BR2_LEGACY > + help > + Boost system layout is now the only supported layout. I didn't include this. Indeed, nothing changes if you already had this selected. The purpose of Config.in.legacy is to make it easier for people to migrate if Config.in options change. If an option is renamed, then we automatically "convert" the old config to the old config. If an option is plain removed, we can warn the user that it no longer applies. But if an option just becomes mandatory and the user already had it selected, than nothing changes for that user - we only want to warn people if they *didn't* have it selected. Forcing people to go through the legacy menu and manually deselect it is just creating extra work without any gains. Applied to master, thanks. Regards, Arnout > + > +config BR2_PACKAGE_BOOST_LAYOUT_TAGGED > + bool "boost tagged layout removed" > + select BR2_LEGACY > + help > + Boost tagged layout isn't handled by some packages (e.g. botan > + or libcpprestsdk). > + > config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED > bool "boost versioned layout removed" > select BR2_LEGACY > diff --git a/package/boost/Config.in b/package/boost/Config.in > index 9e96be7878..b99b01f22e 100644 > --- a/package/boost/Config.in > +++ b/package/boost/Config.in > @@ -16,33 +16,6 @@ config BR2_PACKAGE_BOOST > > if BR2_PACKAGE_BOOST > > -choice > - prompt "Layout" > - default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > - help > - Selects the layout of Boost binary names > - > -config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > - bool "system" > - help > - Boost binary names do not include the Boost version number > - or the name and version number of the compiler. > - > -config BR2_PACKAGE_BOOST_LAYOUT_TAGGED > - bool "tagged" > - help > - Boost binary names include the encoded build properties such > - as variant and threading, but do not include compiler name > - and version, or Boost version. This option is useful if you > - build several variants of Boost, using the same compiler. > - > -endchoice > - > -config BR2_PACKAGE_BOOST_LAYOUT > - string > - default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > - default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED > - > config BR2_PACKAGE_BOOST_ATOMIC > bool "boost-atomic" > depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS > diff --git a/package/boost/boost.mk b/package/boost/boost.mk > index 032ba5c820..346d309777 100644 > --- a/package/boost/boost.mk > +++ b/package/boost/boost.mk > @@ -76,7 +76,9 @@ BOOST_DEPENDENCIES += python3 > endif > > HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \ > - variant=release link=shared runtime-link=shared > + variant=release link=shared runtime-link=shared -j$(PARALLEL_JOBS) -q \ > + --ignore-site-config --layout=system --prefix=$(HOST_DIR) \ > + --user-config=$(@D)/user-config.jam > > ifeq ($(BR2_MIPS_OABI32),y) > BOOST_ABI = o32 > @@ -90,7 +92,12 @@ BOOST_OPTS += --no-cmake-config \ > toolset=gcc \ > threading=multi \ > abi=$(BOOST_ABI) \ > - variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) > + variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) \ > + -j$(PARALLEL_JOBS) \ > + -q \ > + --ignore-site-config \ > + --layout=system \ > + --user-config=$(@D)/user-config.jam > > ifeq ($(BR2_sparc64),y) > BOOST_OPTS += architecture=sparc instruction-set=ultrasparc > @@ -119,43 +126,29 @@ endif > > BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS))) > BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) > -BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) > > # how verbose should the build be? > BOOST_OPTS += $(if $(QUIET),-d,-d+1) > HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) > > define BOOST_CONFIGURE_CMDS > - (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) > + cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS) > echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam > - echo "" >> $(@D)/user-config.jam > sed -i "s/: -O.* ;/: $(TARGET_OPTIMIZATION) ;/" $(@D)/tools/build/src/tools/gcc.jam > endef > > define BOOST_BUILD_CMDS > - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(BOOST_OPTS) \ > - --ignore-site-config \ > - --layout=$(BOOST_LAYOUT)) > + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) > endef > > define BOOST_INSTALL_TARGET_CMDS > - (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(BOOST_OPTS) \ > - --prefix=$(TARGET_DIR)/usr \ > - --ignore-site-config \ > - --layout=$(BOOST_LAYOUT) install ) > + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ > + --prefix=$(TARGET_DIR)/usr install > endef > > define BOOST_INSTALL_STAGING_CMDS > - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(BOOST_OPTS) \ > - --prefix=$(STAGING_DIR)/usr \ > - --ignore-site-config \ > - --layout=$(BOOST_LAYOUT) install) > + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ > + --prefix=$(STAGING_DIR)/usr install > endef > > # These hooks will help us to detect missing select in Config.in > @@ -177,26 +170,16 @@ endef > BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES > > define HOST_BOOST_CONFIGURE_CMDS > - (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) > + cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS) > echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam > - echo "" >> $(@D)/user-config.jam > endef > > define HOST_BOOST_BUILD_CMDS > - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(HOST_BOOST_OPTS) \ > - --ignore-site-config \ > - --prefix=$(HOST_DIR) ) > + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) > endef > > define HOST_BOOST_INSTALL_CMDS > - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(HOST_BOOST_OPTS) \ > - --prefix=$(HOST_DIR) \ > - --ignore-site-config \ > - --layout=$(BOOST_LAYOUT) install ) > + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) install > endef > > $(eval $(generic-package)) From arnout at mind.be Sat Apr 23 15:34:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:34:40 +0200 Subject: [Buildroot] [git commit] package/boost: drop tagged layout Message-ID: <20220423152829.169AB84119@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fc68bcf9b57e9b7324c6b567a766b72522580b8a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop boost tagged layout which raises the following build failure with botan or libcpprestsdk: /nvmedata/autobuild/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: cannot find -lboost_system CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost (missing: random system thread filesystem chrono atomic date_time regex) (found version "1.78.0") While at it: - drop BR2_PACKAGE_BOOST_LAYOUT and BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - move --layout=system, --ignore-site-config, --user-config=$(@D)/user-config.jam, -j$(PARALLEL_JOBS), -q and --prefix=$(HOST_DIR) to BOOST_OPTS and HOST_BOOST_OPTS - drop parentheses to avoid spawning a useless sub-shell - use b2 everywhere instead of mixing b2 and tools/build/src/engine/bjam - drop uneeded 'echo "" >> $(@D)/user-config.jam' BR2_PACKAGE_BOOST_LAYOUT_SYSTEM is not added to Config.in.legacy since nothing changes for configs which already had it selected. Fixes: - http://autobuild.buildroot.org/results/f237c9345faf8c28f3c73f7d8acb49271fe61780 - http://autobuild.buildroot.org/results/a73225e40fa29bc3b24f36a86719e80c8e469d1f Signed-off-by: Fabrice Fontaine [Arnout: don't add BR2_PACKAGE_BOOST_LAYOUT_SYSTEM to Config.in.legacy] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- Config.in.legacy | 7 +++++++ package/boost/Config.in | 27 ------------------------- package/boost/boost.mk | 53 +++++++++++++++++-------------------------------- 3 files changed, 25 insertions(+), 62 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27a4fcd33b..2b9575fe22 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -152,6 +152,13 @@ config BR2_BINUTILS_VERSION_2_35_X help binutils 2.35 has been removed, use a newer version. +config BR2_PACKAGE_BOOST_LAYOUT_TAGGED + bool "boost tagged layout removed" + select BR2_LEGACY + help + Boost tagged layout isn't handled by some packages (e.g. botan + or libcpprestsdk). + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/package/boost/Config.in b/package/boost/Config.in index 9e96be7878..b99b01f22e 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -16,33 +16,6 @@ config BR2_PACKAGE_BOOST if BR2_PACKAGE_BOOST -choice - prompt "Layout" - default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - help - Selects the layout of Boost binary names - -config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - bool "system" - help - Boost binary names do not include the Boost version number - or the name and version number of the compiler. - -config BR2_PACKAGE_BOOST_LAYOUT_TAGGED - bool "tagged" - help - Boost binary names include the encoded build properties such - as variant and threading, but do not include compiler name - and version, or Boost version. This option is useful if you - build several variants of Boost, using the same compiler. - -endchoice - -config BR2_PACKAGE_BOOST_LAYOUT - string - default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED - config BR2_PACKAGE_BOOST_ATOMIC bool "boost-atomic" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 032ba5c820..346d309777 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -76,7 +76,9 @@ BOOST_DEPENDENCIES += python3 endif HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \ - variant=release link=shared runtime-link=shared + variant=release link=shared runtime-link=shared -j$(PARALLEL_JOBS) -q \ + --ignore-site-config --layout=system --prefix=$(HOST_DIR) \ + --user-config=$(@D)/user-config.jam ifeq ($(BR2_MIPS_OABI32),y) BOOST_ABI = o32 @@ -90,7 +92,12 @@ BOOST_OPTS += --no-cmake-config \ toolset=gcc \ threading=multi \ abi=$(BOOST_ABI) \ - variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) + variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) \ + -j$(PARALLEL_JOBS) \ + -q \ + --ignore-site-config \ + --layout=system \ + --user-config=$(@D)/user-config.jam ifeq ($(BR2_sparc64),y) BOOST_OPTS += architecture=sparc instruction-set=ultrasparc @@ -119,43 +126,29 @@ endif BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS))) BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) -BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) # how verbose should the build be? BOOST_OPTS += $(if $(QUIET),-d,-d+1) HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) define BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) + cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS) echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam sed -i "s/: -O.* ;/: $(TARGET_OPTIMIZATION) ;/" $(@D)/tools/build/src/tools/gcc.jam endef define BOOST_BUILD_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT)) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) endef define BOOST_INSTALL_TARGET_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(TARGET_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ + --prefix=$(TARGET_DIR)/usr install endef define BOOST_INSTALL_STAGING_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(STAGING_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ + --prefix=$(STAGING_DIR)/usr install endef # These hooks will help us to detect missing select in Config.in @@ -177,26 +170,16 @@ endef BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES define HOST_BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) + cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS) echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam endef define HOST_BOOST_BUILD_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --ignore-site-config \ - --prefix=$(HOST_DIR) ) + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) endef define HOST_BOOST_INSTALL_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --prefix=$(HOST_DIR) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) install endef $(eval $(generic-package)) From fontaine.fabrice at gmail.com Sat Apr 23 15:49:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 17:49:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/ding-libs: bump to version 0.6.2 Message-ID: <20220423154903.155257-1-fontaine.fabrice@gmail.com> - Update site to get latest release - Update indentation in hash file (two spaces) https://github.com/SSSD/ding-libs/releases/tag/0.6.2 Signed-off-by: Fabrice Fontaine --- package/ding-libs/Config.in | 2 +- package/ding-libs/ding-libs.hash | 8 +++++--- package/ding-libs/ding-libs.mk | 5 ++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package/ding-libs/Config.in b/package/ding-libs/Config.in index 64b111e6a1..e4f869728a 100644 --- a/package/ding-libs/Config.in +++ b/package/ding-libs/Config.in @@ -14,7 +14,7 @@ config BR2_PACKAGE_DING_LIBS initialization format (INI) into a library collection data structure (libini_config). - https://pagure.io/SSSD/ding-libs + https://github.com/SSSD/ding-libs comment "ding-libs needs NLS enabled" depends on BR2_SYSTEM_ENABLE_NLS diff --git a/package/ding-libs/ding-libs.hash b/package/ding-libs/ding-libs.hash index 2ac5bd8eee..d5d87faccd 100644 --- a/package/ding-libs/ding-libs.hash +++ b/package/ding-libs/ding-libs.hash @@ -1,4 +1,6 @@ +# From https://github.com/SSSD/ding-libs/releases/download/0.6.2/ding-libs-0.6.2.tar.gz.sha256sum +sha256 e5f07f34f5921bcb5ccccfe3751c28497879a6451cd7b395e99e24d9b5728e8d ding-libs-0.6.2.tar.gz + # Locally computed -sha256 ad3c573641701f67d4b6bd8a5a71f0b65d45fd39fe961495ef5f5d3c57fc0963 ding-libs-ding_libs-0_6_1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER diff --git a/package/ding-libs/ding-libs.mk b/package/ding-libs/ding-libs.mk index 1e8fa59d69..a4ee7351b5 100644 --- a/package/ding-libs/ding-libs.mk +++ b/package/ding-libs/ding-libs.mk @@ -4,10 +4,9 @@ # ################################################################################ -DING_LIBS_VERSION = 0.6.1 -DING_LIBS_SOURCE = ding-libs-ding_libs-$(subst .,_,$(DING_LIBS_VERSION)).tar.gz +DING_LIBS_VERSION = 0.6.2 DING_LIBS_SITE = \ - https://pagure.io/SSSD/ding-libs/archive/ding_libs-$(subst .,_,$(DING_LIBS_VERSION)) + https://github.com/SSSD/ding-libs/releases/download/$(DING_LIBS_VERSION) DING_LIBS_DEPENDENCIES = host-pkgconf \ $(TARGET_NLS_DEPENDENCIES) \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) -- 2.35.1 From arnout at mind.be Sat Apr 23 16:12:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:12:28 +0200 Subject: [Buildroot] [PATCH] package/google-breakpad: bump to latest In-Reply-To: References: Message-ID: <04eb7ee9-bf0b-9f6a-370a-c1e03224858c@mind.be> On 20/04/2022 14:24, Nuno Gon?alves wrote: > Fixes compatibility with GCC-11. > Doesn't require any local patches. > > linux-syscall-support bumped to the verion in DEPS. > > Signed-off-by: Nuno Gon?alves Applied to master, thanks. I had to make quite a few changes though: - The patch was very broken. I don't know how exactly, it's not simply line wrapped. There seems to be something wrong with either your git send-email setup or with a mail server somewhere on the way. - The hash of the LICENSE file of googlbe-breakpad has changed, because an additional license has been added. - The hash of the header file in linux-syscall-support has also changed, but fortunately they added a license file so we can use that instead. Regards, Arnout > --- > .../0001-add-missing-asm-ptrace-include.patch | 31 --- > ...g-references-to-struct-ucontext-with.patch | 257 ------------------ > ...-handler-exception_handler.cc-rename.patch | 59 ---- > .../0004-Fix-for-non-constant-SIGSTKSZ.patch | 34 --- > package/google-breakpad/google-breakpad.hash | 2 +- > package/google-breakpad/google-breakpad.mk | 2 +- > .../linux-syscall-support.hash | 2 +- > .../linux-syscall-support.mk | 2 +- > 8 files changed, 4 insertions(+), 385 deletions(-) > delete mode 100644 > package/google-breakpad/0001-add-missing-asm-ptrace-include.patch > delete mode 100644 > package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch > delete mode 100644 > package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch > delete mode 100644 > package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch > > diff --git a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch > b/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch > deleted file mode 100644 > index 281c7a042a..0000000000 > --- a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch > +++ /dev/null > @@ -1,31 +0,0 @@ > -Include to get necessary definitions on AArch64 > - > -In glibc commit > -https://sourceware.org/git/?p=glibc.git;a=commit;h=7d05a8168b45c0580e1f9a79c2dd26c8f0d31fca, > -including from on AArch64 has been > -removed. So the Google Breakpad code, which used to build fine on > -glibc 2.18 (CodeSourcery toolchain for example), no longer builds with > -glibc 2.19 (Linaro toolchain for example). > - > -To fix this, this patch adds the missing include (for > -AArch64 only, to be conservative). > - > -This patch has not been submitted upstream, since more recent versions > -of Google Breakpad have completely changed this part of the code. > - > -Signed-off-by: Thomas Petazzoni > - > -Index: b/src/client/linux/minidump_writer/linux_dumper.h > -=================================================================== > ---- a/src/client/linux/minidump_writer/linux_dumper.h > -+++ b/src/client/linux/minidump_writer/linux_dumper.h > -@@ -43,6 +43,9 @@ > - #include > - #include > - #include > -+#if defined(__aarch64__) > -+#include > -+#endif > - > - #include "common/memory.h" > - #include "google_breakpad/common/minidump_format.h" > diff --git a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch > b/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch > deleted file mode 100644 > index e02ae268b9..0000000000 > --- a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch > +++ /dev/null > @@ -1,257 +0,0 @@ > -From 7975a962e1d6dbad5a46792a54e647abd7caf5f1 Mon Sep 17 00:00:00 2001 > -From: Mark Mentovai > -Date: Tue, 19 Sep 2017 22:48:30 -0400 > -Subject: [PATCH] Replace remaining references to 'struct ucontext' with > - 'ucontext_t' > - > -This relands > -https://chromium.googlesource.com/breakpad/breakpad/src/+/e3035bc406cee8a4d765e59ad46eb828705f17f4, > -which was accidentally committed to breakpad/breakpad/src, the read-only > -mirror of src in breakpad/breakpad. (Well, it should have been > -read-only.) See https://crbug.com/766164. > - > -This fixes issues with glibc-2.26. > - > -See https://bugs.gentoo.org/show_bug.cgi?id=628782 , > -https://sourceware.org/git/?p=glibc.git;h=251287734e89a52da3db682a8241eb6bccc050c9 > , and > -https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html for context. > -Change-Id: Id66f474d636dd2afa450bab925c5514a800fdd6f > -Reviewed-on: https://chromium-review.googlesource.com/674304 > -Reviewed-by: Mark Mentovai > - > -(cherry picked from commit bddcc58860f522a0d4cbaa7e9d04058caee0db9d) > -[Romain: backport from upstream] > -Signed-off-by: Romain Naour > ---- > - .../linux/dump_writer_common/ucontext_reader.cc | 32 +++++++++++----------- > - .../linux/dump_writer_common/ucontext_reader.h | 14 +++++----- > - src/client/linux/handler/exception_handler.cc | 10 +++---- > - src/client/linux/handler/exception_handler.h | 6 ++-- > - .../linux/microdump_writer/microdump_writer.cc | 2 +- > - .../linux/minidump_writer/minidump_writer.cc | 2 +- > - 6 files changed, 33 insertions(+), 33 deletions(-) > - > -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.cc > b/src/client/linux/dump_writer_common/ucontext_reader.cc > -index c80724d..052ce37 100644 > ---- a/src/client/linux/dump_writer_common/ucontext_reader.cc > -+++ b/src/client/linux/dump_writer_common/ucontext_reader.cc > -@@ -36,19 +36,19 @@ namespace google_breakpad { > - > - // Minidump defines register structures which are different from the raw > - // structures which we get from the kernel. These are platform specific > --// functions to juggle the ucontext and user structures into minidump format. > -+// functions to juggle the ucontext_t and user structures into > minidump format. > - > - #if defined(__i386__) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[REG_ESP]; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[REG_EIP]; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct _libc_fpstate* fp) { > - const greg_t* regs = uc->uc_mcontext.gregs; > - > -@@ -88,15 +88,15 @@ void UContextReader::FillCPUContext(RawContextCPU > *out, const ucontext *uc, > - > - #elif defined(__x86_64) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[REG_RSP]; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[REG_RIP]; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct _libc_fpstate* fpregs) { > - const greg_t* regs = uc->uc_mcontext.gregs; > - > -@@ -145,15 +145,15 @@ void > UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > - > - #elif defined(__ARM_EABI__) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.arm_sp; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.arm_pc; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { > -+void UContextReader::FillCPUContext(RawContextCPU *out, const > ucontext_t *uc) { > - out->context_flags = MD_CONTEXT_ARM_FULL; > - > - out->iregs[0] = uc->uc_mcontext.arm_r0; > -@@ -184,15 +184,15 @@ void > UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) > { > - > - #elif defined(__aarch64__) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.sp; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.pc; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct fpsimd_context* fpregs) { > - out->context_flags = MD_CONTEXT_ARM64_FULL; > - > -@@ -210,15 +210,15 @@ void > UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > - > - #elif defined(__mips__) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.pc; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { > -+void UContextReader::FillCPUContext(RawContextCPU *out, const > ucontext_t *uc) { > - #if _MIPS_SIM == _ABI64 > - out->context_flags = MD_CONTEXT_MIPS64_FULL; > - #elif _MIPS_SIM == _ABIO32 > -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.h > b/src/client/linux/dump_writer_common/ucontext_reader.h > -index b6e77b4..2de80b7 100644 > ---- a/src/client/linux/dump_writer_common/ucontext_reader.h > -+++ b/src/client/linux/dump_writer_common/ucontext_reader.h > -@@ -39,23 +39,23 @@ > - > - namespace google_breakpad { > - > --// Wraps platform-dependent implementations of accessors to ucontext structs. > -+// Wraps platform-dependent implementations of accessors to > ucontext_t structs. > - struct UContextReader { > -- static uintptr_t GetStackPointer(const struct ucontext* uc); > -+ static uintptr_t GetStackPointer(const ucontext_t* uc); > - > -- static uintptr_t GetInstructionPointer(const struct ucontext* uc); > -+ static uintptr_t GetInstructionPointer(const ucontext_t* uc); > - > -- // Juggle a arch-specific ucontext into a minidump format > -+ // Juggle a arch-specific ucontext_t into a minidump format > - // out: the minidump structure > - // info: the collection of register structures. > - #if defined(__i386__) || defined(__x86_64) > -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct _libc_fpstate* fp); > - #elif defined(__aarch64__) > -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct fpsimd_context* fpregs); > - #else > -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc); > -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc); > - #endif > - }; > - > -diff --git a/src/client/linux/handler/exception_handler.cc > b/src/client/linux/handler/exception_handler.cc > -index b63f973..3d809b8 100644 > ---- a/src/client/linux/handler/exception_handler.cc > -+++ b/src/client/linux/handler/exception_handler.cc > -@@ -439,9 +439,9 @@ bool ExceptionHandler::HandleSignal(int sig, > siginfo_t* info, void* uc) { > - // Fill in all the holes in the struct to make Valgrind happy. > - memset(&g_crash_context_, 0, sizeof(g_crash_context_)); > - memcpy(&g_crash_context_.siginfo, info, sizeof(siginfo_t)); > -- memcpy(&g_crash_context_.context, uc, sizeof(struct ucontext)); > -+ memcpy(&g_crash_context_.context, uc, sizeof(ucontext_t)); > - #if defined(__aarch64__) > -- struct ucontext* uc_ptr = (struct ucontext*)uc; > -+ ucontext_t* uc_ptr = (ucontext_t*)uc; > - struct fpsimd_context* fp_ptr = > - (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved; > - if (fp_ptr->head.magic == FPSIMD_MAGIC) { > -@@ -450,9 +450,9 @@ bool ExceptionHandler::HandleSignal(int sig, > siginfo_t* info, void* uc) { > - } > - #elif !defined(__ARM_EABI__) && !defined(__mips__) > - // FP state is not part of user ABI on ARM Linux. > -- // In case of MIPS Linux FP state is already part of struct ucontext > -+ // In case of MIPS Linux FP state is already part of ucontext_t > - // and 'float_state' is not a member of CrashContext. > -- struct ucontext* uc_ptr = (struct ucontext*)uc; > -+ ucontext_t* uc_ptr = (ucontext_t*)uc; > - if (uc_ptr->uc_mcontext.fpregs) { > - memcpy(&g_crash_context_.float_state, uc_ptr->uc_mcontext.fpregs, > - sizeof(g_crash_context_.float_state)); > -@@ -476,7 +476,7 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) { > - // ExceptionHandler::HandleSignal(). > - siginfo.si_code = SI_USER; > - siginfo.si_pid = getpid(); > -- struct ucontext context; > -+ ucontext_t context; > - getcontext(&context); > - return HandleSignal(sig, &siginfo, &context); > - } > -diff --git a/src/client/linux/handler/exception_handler.h > b/src/client/linux/handler/exception_handler.h > -index 591c310..42f4055 100644 > ---- a/src/client/linux/handler/exception_handler.h > -+++ b/src/client/linux/handler/exception_handler.h > -@@ -191,11 +191,11 @@ class ExceptionHandler { > - struct CrashContext { > - siginfo_t siginfo; > - pid_t tid; // the crashing thread. > -- struct ucontext context; > -+ ucontext_t context; > - #if !defined(__ARM_EABI__) && !defined(__mips__) > - // #ifdef this out because FP state is not part of user ABI for Linux ARM. > -- // In case of MIPS Linux FP state is already part of struct > -- // ucontext so 'float_state' is not required. > -+ // In case of MIPS Linux FP state is already part of ucontext_t so > -+ // 'float_state' is not required. > - fpstate_t float_state; > - #endif > - }; > -diff --git a/src/client/linux/microdump_writer/microdump_writer.cc > b/src/client/linux/microdump_writer/microdump_writer.cc > -index 6f5b435..a508667 100644 > ---- a/src/client/linux/microdump_writer/microdump_writer.cc > -+++ b/src/client/linux/microdump_writer/microdump_writer.cc > -@@ -571,7 +571,7 @@ class MicrodumpWriter { > - > - void* Alloc(unsigned bytes) { return dumper_->allocator()->Alloc(bytes); } > - > -- const struct ucontext* const ucontext_; > -+ const ucontext_t* const ucontext_; > - #if !defined(__ARM_EABI__) && !defined(__mips__) > - const google_breakpad::fpstate_t* const float_state_; > - #endif > -diff --git a/src/client/linux/minidump_writer/minidump_writer.cc > b/src/client/linux/minidump_writer/minidump_writer.cc > -index 86009b9..f2aec73 100644 > ---- a/src/client/linux/minidump_writer/minidump_writer.cc > -+++ b/src/client/linux/minidump_writer/minidump_writer.cc > -@@ -1248,7 +1248,7 @@ class MinidumpWriter { > - const int fd_; // File descriptor where the minidum should be written. > - const char* path_; // Path to the file where the minidum should be written. > - > -- const struct ucontext* const ucontext_; // also from the signal handler > -+ const ucontext_t* const ucontext_; // also from the signal handler > - #if !defined(__ARM_EABI__) && !defined(__mips__) > - const google_breakpad::fpstate_t* const float_state_; // ditto > - #endif > --- > -2.9.5 > - > diff --git a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch > b/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch > deleted file mode 100644 > index 579e7f3457..0000000000 > --- a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch > +++ /dev/null > @@ -1,59 +0,0 @@ > -From 2fa414c8655c421e7eb0bb1719928babb0ecf7c6 Mon Sep 17 00:00:00 2001 > -From: Thomas Petazzoni > -Date: Thu, 26 Dec 2019 22:21:33 +0100 > -Subject: [PATCH] src/client/linux/handler/exception_handler.cc: rename tgkill > - to BreakpadTgkill() > -MIME-Version: 1.0 > -Content-Type: text/plain; charset=UTF-8 > -Content-Transfer-Encoding: 8bit > - > -Since glibc 2.30, a tgkill() function was added in the C library, and > -its definition obviously conflicts with the internal definition of > -google-breakpad, causing build failures: > - > -src/client/linux/handler/exception_handler.cc:109:12: error: ?int > tgkill(pid_t, pid_t, int)? was declared ?extern? and later ?static? > [-fpermissive] > - 109 | static int tgkill(pid_t tgid, pid_t tid, int sig) { > - | ^~~~~~ > -In file included from /usr/include/signal.h:374, > - from ./src/client/linux/handler/exception_handler.h:33, > - from src/client/linux/handler/exception_handler.cc:66: > -/usr/include/bits/signal_ext.h:29:12: note: previous declaration of > ?int tgkill(__pid_t, __pid_t, int)? > - 29 | extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); > - | ^~~~~~ > - > -Upstream google-breakpad simply dropped the use of the internal > -tgkill() in commit > -https://chromium.googlesource.com/breakpad/breakpad/+/7e3c165000d44fa153a3270870ed500bc8bbb461. > However, > -this is not realistic for Buildroot, since we do support old systems > -where the system C library will not necessarily provide tgkill(). > - > -Signed-off-by: Thomas Petazzoni > ---- > - src/client/linux/handler/exception_handler.cc | 4 ++-- > - 1 file changed, 2 insertions(+), 2 deletions(-) > - > -diff --git a/src/client/linux/handler/exception_handler.cc > b/src/client/linux/handler/exception_handler.cc > -index b63f973b..b4c279b8 100644 > ---- a/src/client/linux/handler/exception_handler.cc > -+++ b/src/client/linux/handler/exception_handler.cc > -@@ -106,7 +106,7 @@ > - #endif > - > - // A wrapper for the tgkill syscall: send a signal to a specific thread. > --static int tgkill(pid_t tgid, pid_t tid, int sig) { > -+static int BreakpadTgkill(pid_t tgid, pid_t tid, int sig) { > - return syscall(__NR_tgkill, tgid, tid, sig); > - return 0; > - } > -@@ -387,7 +387,7 @@ void ExceptionHandler::SignalHandler(int sig, > siginfo_t* info, void* uc) { > - // In order to retrigger it, we have to queue a new signal by calling > - // kill() ourselves. The special case (si_pid == 0 && sig == SIGABRT) is > - // due to the kernel sending a SIGABRT from a user request via SysRQ. > -- if (tgkill(getpid(), syscall(__NR_gettid), sig) < 0) { > -+ if (BreakpadTgkill(getpid(), syscall(__NR_gettid), sig) < 0) { > - // If we failed to kill ourselves (e.g. because a sandbox disallows us > - // to do so), we instead resort to terminating our process. This will > - // result in an incorrect exit code. > --- > -2.24.1 > - > diff --git a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch > b/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch > deleted file mode 100644 > index 4291216c61..0000000000 > --- a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch > +++ /dev/null > @@ -1,34 +0,0 @@ > -From 4a332d01186b09a9d46390b845024d914d9149cb Mon Sep 17 00:00:00 2001 > -From: Michel Alexandre Salim > -Date: Sun, 21 Mar 2021 13:17:00 -0700 > -Subject: [PATCH] Fix for non-constant SIGSTKSZ > - > -On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case > -it expands to a call to `sysconf` which returns a `long int`); see > -http://sourceware-org.1504.n7.nabble.com/PATCH-sysconf-Add-SC-MINSIGSTKSZ-SC-SIGSTKSZ-BZ-20305-td650948.html > - > -Cast the two arguments to `max` to `unsigned`, which is the type of > the variable > -we're storing the result in anyway, so that it works both with the > old-style constant > -`SIGSTKSZ` and the new configurable one. > - > -Signed-off-by: Michel Alexandre Salim > -Change-Id: I3d87048561a87c6b9fcdbb14b3d53dd45b0a00f0 > - > -[Retrieved from: > -https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2776379] > -Signed-off-by: Fabrice Fontaine > ---- > - > -diff --git a/src/client/linux/handler/exception_handler.cc > b/src/client/linux/handler/exception_handler.cc > -index ca353c4..3788829 100644 > ---- a/src/client/linux/handler/exception_handler.cc > -+++ b/src/client/linux/handler/exception_handler.cc > -@@ -138,7 +138,7 @@ > - // SIGSTKSZ may be too small to prevent the signal handlers from overrunning > - // the alternative stack. Ensure that the size of the alternative stack is > - // large enough. > -- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); > -+ static const unsigned kSigStackSize = std::max((unsigned) 16384, > (unsigned) SIGSTKSZ); > - > - // Only set an alternative stack if there isn't already one, or if > the current > - // one is too small. > diff --git a/package/google-breakpad/google-breakpad.hash > b/package/google-breakpad/google-breakpad.hash > index 09f9a0cf91..c184da1113 100644 > --- a/package/google-breakpad/google-breakpad.hash > +++ b/package/google-breakpad/google-breakpad.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 3504639ee5d7536e7f7939b80520dfcb98863e9b50673dd577d0ab2a07105acb > google-breakpad-7515ab13768c7edc09f0f2ec2354dc6c928239a6-br1.tar.gz > +sha256 52716d140ba528d36b40591ae2c7485b18023f6610414bba0057f0cc13caf256 > google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf-br1.tar.gz > sha256 f9752a0a4ac5215eaa3a4f0ec29cd52563c883de5d7870525cc0bc3a21cb8e15 > LICENSE > diff --git a/package/google-breakpad/google-breakpad.mk > b/package/google-breakpad/google-breakpad.mk > index 8ae5f99bc7..20755a1c2a 100644 > --- a/package/google-breakpad/google-breakpad.mk > +++ b/package/google-breakpad/google-breakpad.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GOOGLE_BREAKPAD_VERSION = 7515ab13768c7edc09f0f2ec2354dc6c928239a6 > +GOOGLE_BREAKPAD_VERSION = c85eb4a59b618f3beaad5445ceb1f865ffa8efdf > GOOGLE_BREAKPAD_SITE = https://chromium.googlesource.com/breakpad/breakpad > GOOGLE_BREAKPAD_SITE_METHOD = git > GOOGLE_BREAKPAD_CONF_OPTS = --disable-processor --disable-tools > diff --git a/package/linux-syscall-support/linux-syscall-support.hash > b/package/linux-syscall-support/linux-syscall-support.hash > index 3445bf1398..f45f07ac56 100644 > --- a/package/linux-syscall-support/linux-syscall-support.hash > +++ b/package/linux-syscall-support/linux-syscall-support.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 498efb6915ac6e65c82c712fadd3c30f9472764114c835849e02f2c092bacd2d > linux-syscall-support-3f6478ac95edf86cd3da300c2c0d34a438f5dbeb-br1.tar.gz > +sha256 2a12703ce59773ec714b603e46c733b03f3fbf9b4763195fae40d0042e5da3f6 > linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660-br1.tar.gz > sha256 4c1fc9acc9f3867e5c81b5d5f57c52fb9a932662bd4e2e5e43b3fe95390035f5 > linux_syscall_support.h > diff --git a/package/linux-syscall-support/linux-syscall-support.mk > b/package/linux-syscall-support/linux-syscall-support.mk > index 050c5058ab..c0c7c4c3b2 100644 > --- a/package/linux-syscall-support/linux-syscall-support.mk > +++ b/package/linux-syscall-support/linux-syscall-support.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > # Use the same version that the one used by Google-breakpad (see DEPS file) > -LINUX_SYSCALL_SUPPORT_VERSION = 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb > +LINUX_SYSCALL_SUPPORT_VERSION = e1e7b0ad8ee99a875b272c8e33e308472e897660 > LINUX_SYSCALL_SUPPORT_SITE = > https://chromium.googlesource.com/linux-syscall-support > LINUX_SYSCALL_SUPPORT_SITE_METHOD = git > LINUX_SYSCALL_SUPPORT_LICENSE = BSD-3-Clause > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Sat Apr 23 16:09:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:09:19 +0200 Subject: [Buildroot] [git commit] package/google-breakpad: bump to latest Message-ID: <20220423160349.43D5084155@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e831353d8f476cefd8320e38f2eb0d9f00359f3a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes compatibility with GCC-11. Doesn't require any local patches (all applied upstream or no longer required). LICENSE adds three new licenses: - MIT for code copied from libunwind; - Apple Public Source License for Mac-specific code; - BSD-4-Clause also for Mac-specific code. Since the latter two are Mac-specific, we don't mention them in _LICENSE. linux-syscall-support bumped to the verion in DEPS. It now has a license file so use that instead of the header file. Signed-off-by: Nuno Gon??alves [Arnout: update licenses, license files and hashes] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-add-missing-asm-ptrace-include.patch | 31 --- ...aining-references-to-struct-ucontext-with.patch | 257 --------------------- ...linux-handler-exception_handler.cc-rename.patch | 59 ----- .../0004-Fix-for-non-constant-SIGSTKSZ.patch | 34 --- package/google-breakpad/google-breakpad.hash | 4 +- package/google-breakpad/google-breakpad.mk | 4 +- .../linux-syscall-support.hash | 4 +- .../linux-syscall-support/linux-syscall-support.mk | 4 +- 8 files changed, 8 insertions(+), 389 deletions(-) diff --git a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch b/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch deleted file mode 100644 index 281c7a042a..0000000000 --- a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch +++ /dev/null @@ -1,31 +0,0 @@ -Include to get necessary definitions on AArch64 - -In glibc commit -https://sourceware.org/git/?p=glibc.git;a=commit;h=7d05a8168b45c0580e1f9a79c2dd26c8f0d31fca, -including from on AArch64 has been -removed. So the Google Breakpad code, which used to build fine on -glibc 2.18 (CodeSourcery toolchain for example), no longer builds with -glibc 2.19 (Linaro toolchain for example). - -To fix this, this patch adds the missing include (for -AArch64 only, to be conservative). - -This patch has not been submitted upstream, since more recent versions -of Google Breakpad have completely changed this part of the code. - -Signed-off-by: Thomas Petazzoni - -Index: b/src/client/linux/minidump_writer/linux_dumper.h -=================================================================== ---- a/src/client/linux/minidump_writer/linux_dumper.h -+++ b/src/client/linux/minidump_writer/linux_dumper.h -@@ -43,6 +43,9 @@ - #include - #include - #include -+#if defined(__aarch64__) -+#include -+#endif - - #include "common/memory.h" - #include "google_breakpad/common/minidump_format.h" diff --git a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch b/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch deleted file mode 100644 index e02ae268b9..0000000000 --- a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch +++ /dev/null @@ -1,257 +0,0 @@ -From 7975a962e1d6dbad5a46792a54e647abd7caf5f1 Mon Sep 17 00:00:00 2001 -From: Mark Mentovai -Date: Tue, 19 Sep 2017 22:48:30 -0400 -Subject: [PATCH] Replace remaining references to 'struct ucontext' with - 'ucontext_t' - -This relands -https://chromium.googlesource.com/breakpad/breakpad/src/+/e3035bc406cee8a4d765e59ad46eb828705f17f4, -which was accidentally committed to breakpad/breakpad/src, the read-only -mirror of src in breakpad/breakpad. (Well, it should have been -read-only.) See https://crbug.com/766164. - -This fixes issues with glibc-2.26. - -See https://bugs.gentoo.org/show_bug.cgi?id=628782 , -https://sourceware.org/git/?p=glibc.git;h=251287734e89a52da3db682a8241eb6bccc050c9 , and -https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html for context. -Change-Id: Id66f474d636dd2afa450bab925c5514a800fdd6f -Reviewed-on: https://chromium-review.googlesource.com/674304 -Reviewed-by: Mark Mentovai - -(cherry picked from commit bddcc58860f522a0d4cbaa7e9d04058caee0db9d) -[Romain: backport from upstream] -Signed-off-by: Romain Naour ---- - .../linux/dump_writer_common/ucontext_reader.cc | 32 +++++++++++----------- - .../linux/dump_writer_common/ucontext_reader.h | 14 +++++----- - src/client/linux/handler/exception_handler.cc | 10 +++---- - src/client/linux/handler/exception_handler.h | 6 ++-- - .../linux/microdump_writer/microdump_writer.cc | 2 +- - .../linux/minidump_writer/minidump_writer.cc | 2 +- - 6 files changed, 33 insertions(+), 33 deletions(-) - -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.cc b/src/client/linux/dump_writer_common/ucontext_reader.cc -index c80724d..052ce37 100644 ---- a/src/client/linux/dump_writer_common/ucontext_reader.cc -+++ b/src/client/linux/dump_writer_common/ucontext_reader.cc -@@ -36,19 +36,19 @@ namespace google_breakpad { - - // Minidump defines register structures which are different from the raw - // structures which we get from the kernel. These are platform specific --// functions to juggle the ucontext and user structures into minidump format. -+// functions to juggle the ucontext_t and user structures into minidump format. - - #if defined(__i386__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_ESP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_EIP]; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fp) { - const greg_t* regs = uc->uc_mcontext.gregs; - -@@ -88,15 +88,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__x86_64) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_RSP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_RIP]; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fpregs) { - const greg_t* regs = uc->uc_mcontext.gregs; - -@@ -145,15 +145,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__ARM_EABI__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.arm_sp; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.arm_pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) { - out->context_flags = MD_CONTEXT_ARM_FULL; - - out->iregs[0] = uc->uc_mcontext.arm_r0; -@@ -184,15 +184,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { - - #elif defined(__aarch64__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.sp; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct fpsimd_context* fpregs) { - out->context_flags = MD_CONTEXT_ARM64_FULL; - -@@ -210,15 +210,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__mips__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) { - #if _MIPS_SIM == _ABI64 - out->context_flags = MD_CONTEXT_MIPS64_FULL; - #elif _MIPS_SIM == _ABIO32 -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.h b/src/client/linux/dump_writer_common/ucontext_reader.h -index b6e77b4..2de80b7 100644 ---- a/src/client/linux/dump_writer_common/ucontext_reader.h -+++ b/src/client/linux/dump_writer_common/ucontext_reader.h -@@ -39,23 +39,23 @@ - - namespace google_breakpad { - --// Wraps platform-dependent implementations of accessors to ucontext structs. -+// Wraps platform-dependent implementations of accessors to ucontext_t structs. - struct UContextReader { -- static uintptr_t GetStackPointer(const struct ucontext* uc); -+ static uintptr_t GetStackPointer(const ucontext_t* uc); - -- static uintptr_t GetInstructionPointer(const struct ucontext* uc); -+ static uintptr_t GetInstructionPointer(const ucontext_t* uc); - -- // Juggle a arch-specific ucontext into a minidump format -+ // Juggle a arch-specific ucontext_t into a minidump format - // out: the minidump structure - // info: the collection of register structures. - #if defined(__i386__) || defined(__x86_64) -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fp); - #elif defined(__aarch64__) -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct fpsimd_context* fpregs); - #else -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc); -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc); - #endif - }; - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index b63f973..3d809b8 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -439,9 +439,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { - // Fill in all the holes in the struct to make Valgrind happy. - memset(&g_crash_context_, 0, sizeof(g_crash_context_)); - memcpy(&g_crash_context_.siginfo, info, sizeof(siginfo_t)); -- memcpy(&g_crash_context_.context, uc, sizeof(struct ucontext)); -+ memcpy(&g_crash_context_.context, uc, sizeof(ucontext_t)); - #if defined(__aarch64__) -- struct ucontext* uc_ptr = (struct ucontext*)uc; -+ ucontext_t* uc_ptr = (ucontext_t*)uc; - struct fpsimd_context* fp_ptr = - (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved; - if (fp_ptr->head.magic == FPSIMD_MAGIC) { -@@ -450,9 +450,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { - } - #elif !defined(__ARM_EABI__) && !defined(__mips__) - // FP state is not part of user ABI on ARM Linux. -- // In case of MIPS Linux FP state is already part of struct ucontext -+ // In case of MIPS Linux FP state is already part of ucontext_t - // and 'float_state' is not a member of CrashContext. -- struct ucontext* uc_ptr = (struct ucontext*)uc; -+ ucontext_t* uc_ptr = (ucontext_t*)uc; - if (uc_ptr->uc_mcontext.fpregs) { - memcpy(&g_crash_context_.float_state, uc_ptr->uc_mcontext.fpregs, - sizeof(g_crash_context_.float_state)); -@@ -476,7 +476,7 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) { - // ExceptionHandler::HandleSignal(). - siginfo.si_code = SI_USER; - siginfo.si_pid = getpid(); -- struct ucontext context; -+ ucontext_t context; - getcontext(&context); - return HandleSignal(sig, &siginfo, &context); - } -diff --git a/src/client/linux/handler/exception_handler.h b/src/client/linux/handler/exception_handler.h -index 591c310..42f4055 100644 ---- a/src/client/linux/handler/exception_handler.h -+++ b/src/client/linux/handler/exception_handler.h -@@ -191,11 +191,11 @@ class ExceptionHandler { - struct CrashContext { - siginfo_t siginfo; - pid_t tid; // the crashing thread. -- struct ucontext context; -+ ucontext_t context; - #if !defined(__ARM_EABI__) && !defined(__mips__) - // #ifdef this out because FP state is not part of user ABI for Linux ARM. -- // In case of MIPS Linux FP state is already part of struct -- // ucontext so 'float_state' is not required. -+ // In case of MIPS Linux FP state is already part of ucontext_t so -+ // 'float_state' is not required. - fpstate_t float_state; - #endif - }; -diff --git a/src/client/linux/microdump_writer/microdump_writer.cc b/src/client/linux/microdump_writer/microdump_writer.cc -index 6f5b435..a508667 100644 ---- a/src/client/linux/microdump_writer/microdump_writer.cc -+++ b/src/client/linux/microdump_writer/microdump_writer.cc -@@ -571,7 +571,7 @@ class MicrodumpWriter { - - void* Alloc(unsigned bytes) { return dumper_->allocator()->Alloc(bytes); } - -- const struct ucontext* const ucontext_; -+ const ucontext_t* const ucontext_; - #if !defined(__ARM_EABI__) && !defined(__mips__) - const google_breakpad::fpstate_t* const float_state_; - #endif -diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc -index 86009b9..f2aec73 100644 ---- a/src/client/linux/minidump_writer/minidump_writer.cc -+++ b/src/client/linux/minidump_writer/minidump_writer.cc -@@ -1248,7 +1248,7 @@ class MinidumpWriter { - const int fd_; // File descriptor where the minidum should be written. - const char* path_; // Path to the file where the minidum should be written. - -- const struct ucontext* const ucontext_; // also from the signal handler -+ const ucontext_t* const ucontext_; // also from the signal handler - #if !defined(__ARM_EABI__) && !defined(__mips__) - const google_breakpad::fpstate_t* const float_state_; // ditto - #endif --- -2.9.5 - diff --git a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch b/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch deleted file mode 100644 index 579e7f3457..0000000000 --- a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 2fa414c8655c421e7eb0bb1719928babb0ecf7c6 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Thu, 26 Dec 2019 22:21:33 +0100 -Subject: [PATCH] src/client/linux/handler/exception_handler.cc: rename tgkill - to BreakpadTgkill() -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since glibc 2.30, a tgkill() function was added in the C library, and -its definition obviously conflicts with the internal definition of -google-breakpad, causing build failures: - -src/client/linux/handler/exception_handler.cc:109:12: error: ???int tgkill(pid_t, pid_t, int)??? was declared ???extern??? and later ???static??? [-fpermissive] - 109 | static int tgkill(pid_t tgid, pid_t tid, int sig) { - | ^~~~~~ -In file included from /usr/include/signal.h:374, - from ./src/client/linux/handler/exception_handler.h:33, - from src/client/linux/handler/exception_handler.cc:66: -/usr/include/bits/signal_ext.h:29:12: note: previous declaration of ???int tgkill(__pid_t, __pid_t, int)??? - 29 | extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); - | ^~~~~~ - -Upstream google-breakpad simply dropped the use of the internal -tgkill() in commit -https://chromium.googlesource.com/breakpad/breakpad/+/7e3c165000d44fa153a3270870ed500bc8bbb461. However, -this is not realistic for Buildroot, since we do support old systems -where the system C library will not necessarily provide tgkill(). - -Signed-off-by: Thomas Petazzoni ---- - src/client/linux/handler/exception_handler.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index b63f973b..b4c279b8 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -106,7 +106,7 @@ - #endif - - // A wrapper for the tgkill syscall: send a signal to a specific thread. --static int tgkill(pid_t tgid, pid_t tid, int sig) { -+static int BreakpadTgkill(pid_t tgid, pid_t tid, int sig) { - return syscall(__NR_tgkill, tgid, tid, sig); - return 0; - } -@@ -387,7 +387,7 @@ void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) { - // In order to retrigger it, we have to queue a new signal by calling - // kill() ourselves. The special case (si_pid == 0 && sig == SIGABRT) is - // due to the kernel sending a SIGABRT from a user request via SysRQ. -- if (tgkill(getpid(), syscall(__NR_gettid), sig) < 0) { -+ if (BreakpadTgkill(getpid(), syscall(__NR_gettid), sig) < 0) { - // If we failed to kill ourselves (e.g. because a sandbox disallows us - // to do so), we instead resort to terminating our process. This will - // result in an incorrect exit code. --- -2.24.1 - diff --git a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch b/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch deleted file mode 100644 index 4291216c61..0000000000 --- a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 4a332d01186b09a9d46390b845024d914d9149cb Mon Sep 17 00:00:00 2001 -From: Michel Alexandre Salim -Date: Sun, 21 Mar 2021 13:17:00 -0700 -Subject: [PATCH] Fix for non-constant SIGSTKSZ - -On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case -it expands to a call to `sysconf` which returns a `long int`); see -http://sourceware-org.1504.n7.nabble.com/PATCH-sysconf-Add-SC-MINSIGSTKSZ-SC-SIGSTKSZ-BZ-20305-td650948.html - -Cast the two arguments to `max` to `unsigned`, which is the type of the variable -we're storing the result in anyway, so that it works both with the old-style constant -`SIGSTKSZ` and the new configurable one. - -Signed-off-by: Michel Alexandre Salim -Change-Id: I3d87048561a87c6b9fcdbb14b3d53dd45b0a00f0 - -[Retrieved from: -https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2776379] -Signed-off-by: Fabrice Fontaine ---- - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index ca353c4..3788829 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -138,7 +138,7 @@ - // SIGSTKSZ may be too small to prevent the signal handlers from overrunning - // the alternative stack. Ensure that the size of the alternative stack is - // large enough. -- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); -+ static const unsigned kSigStackSize = std::max((unsigned) 16384, (unsigned) SIGSTKSZ); - - // Only set an alternative stack if there isn't already one, or if the current - // one is too small. diff --git a/package/google-breakpad/google-breakpad.hash b/package/google-breakpad/google-breakpad.hash index 09f9a0cf91..03719816b5 100644 --- a/package/google-breakpad/google-breakpad.hash +++ b/package/google-breakpad/google-breakpad.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3504639ee5d7536e7f7939b80520dfcb98863e9b50673dd577d0ab2a07105acb google-breakpad-7515ab13768c7edc09f0f2ec2354dc6c928239a6-br1.tar.gz -sha256 f9752a0a4ac5215eaa3a4f0ec29cd52563c883de5d7870525cc0bc3a21cb8e15 LICENSE +sha256 52716d140ba528d36b40591ae2c7485b18023f6610414bba0057f0cc13caf256 google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf-br1.tar.gz +sha256 8d5d1311342ed55b486d778a6763f54a26002698ac0cbab64026b98033300dfd LICENSE diff --git a/package/google-breakpad/google-breakpad.mk b/package/google-breakpad/google-breakpad.mk index 8ae5f99bc7..cafe1359f3 100644 --- a/package/google-breakpad/google-breakpad.mk +++ b/package/google-breakpad/google-breakpad.mk @@ -4,14 +4,14 @@ # ################################################################################ -GOOGLE_BREAKPAD_VERSION = 7515ab13768c7edc09f0f2ec2354dc6c928239a6 +GOOGLE_BREAKPAD_VERSION = c85eb4a59b618f3beaad5445ceb1f865ffa8efdf GOOGLE_BREAKPAD_SITE = https://chromium.googlesource.com/breakpad/breakpad GOOGLE_BREAKPAD_SITE_METHOD = git GOOGLE_BREAKPAD_CONF_OPTS = --disable-processor --disable-tools # Only a static library is installed GOOGLE_BREAKPAD_INSTALL_TARGET = NO GOOGLE_BREAKPAD_INSTALL_STAGING = YES -GOOGLE_BREAKPAD_LICENSE = BSD-3-Clause +GOOGLE_BREAKPAD_LICENSE = BSD-3-Clause, MIT GOOGLE_BREAKPAD_LICENSE_FILES = LICENSE GOOGLE_BREAKPAD_DEPENDENCIES = host-google-breakpad linux-syscall-support diff --git a/package/linux-syscall-support/linux-syscall-support.hash b/package/linux-syscall-support/linux-syscall-support.hash index 3445bf1398..9d8855cf23 100644 --- a/package/linux-syscall-support/linux-syscall-support.hash +++ b/package/linux-syscall-support/linux-syscall-support.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 498efb6915ac6e65c82c712fadd3c30f9472764114c835849e02f2c092bacd2d linux-syscall-support-3f6478ac95edf86cd3da300c2c0d34a438f5dbeb-br1.tar.gz -sha256 4c1fc9acc9f3867e5c81b5d5f57c52fb9a932662bd4e2e5e43b3fe95390035f5 linux_syscall_support.h +sha256 2a12703ce59773ec714b603e46c733b03f3fbf9b4763195fae40d0042e5da3f6 linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660-br1.tar.gz +sha256 c180f12840c00224cceed7139192018d2c7e6061db4ce4310b8626f7ad10bf26 LICENSE diff --git a/package/linux-syscall-support/linux-syscall-support.mk b/package/linux-syscall-support/linux-syscall-support.mk index 050c5058ab..a4cadf03c3 100644 --- a/package/linux-syscall-support/linux-syscall-support.mk +++ b/package/linux-syscall-support/linux-syscall-support.mk @@ -5,11 +5,11 @@ ################################################################################ # Use the same version that the one used by Google-breakpad (see DEPS file) -LINUX_SYSCALL_SUPPORT_VERSION = 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb +LINUX_SYSCALL_SUPPORT_VERSION = e1e7b0ad8ee99a875b272c8e33e308472e897660 LINUX_SYSCALL_SUPPORT_SITE = https://chromium.googlesource.com/linux-syscall-support LINUX_SYSCALL_SUPPORT_SITE_METHOD = git LINUX_SYSCALL_SUPPORT_LICENSE = BSD-3-Clause -LINUX_SYSCALL_SUPPORT_LICENSE_FILES = linux_syscall_support.h +LINUX_SYSCALL_SUPPORT_LICENSE_FILES = LICENSE # Provide only one header file. LINUX_SYSCALL_SUPPORT_INSTALL_TARGET = NO From arnout at mind.be Sat Apr 23 16:26:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:26:53 +0200 Subject: [Buildroot] [PATCH] package/wtfutil: new package In-Reply-To: <20220420200102.2420626-1-yann.morin.1998@free.fr> References: <20220420200102.2420626-1-yann.morin.1998@free.fr> Message-ID: <7ee46221-720f-0cc0-d2a0-9dcaef44dd7f@mind.be> On 20/04/2022 22:01, Yann E. MORIN wrote: > Some of wtfutils modules (i.e. plugins) can call to external tools, so > it needs to fork(), so needs an MMU. > > Signed-off-by: Yann E. MORIN Applied to master, thanks. Regards, Arnout > > --- > $ ./utils/test-pkg -c wtf.cfg -d $(pwd)/test-pkg -k -p wtfutil -a > andes-nds32 [ 1/45]: SKIPPED > arm-aarch64 [ 2/45]: OK > bootlin-aarch64-glibc [ 3/45]: OK > bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED > bootlin-armv5-uclibc [ 5/45]: OK > bootlin-armv7-glibc [ 6/45]: OK > bootlin-armv7m-uclibc [ 7/45]: SKIPPED > bootlin-armv7-musl [ 8/45]: OK > bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED > bootlin-m68k-68040-uclibc [10/45]: SKIPPED > bootlin-microblazeel-uclibc [11/45]: SKIPPED > bootlin-mipsel32r6-glibc [12/45]: SKIPPED > bootlin-mipsel-uclibc [13/45]: SKIPPED > bootlin-nios2-glibc [14/45]: SKIPPED > bootlin-openrisc-uclibc [15/45]: SKIPPED > bootlin-powerpc64le-power8-glibc [16/45]: OK > bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED > bootlin-riscv32-glibc [18/45]: SKIPPED > bootlin-riscv64-glibc [19/45]: SKIPPED > bootlin-riscv64-musl [20/45]: SKIPPED > bootlin-sh4-uclibc [21/45]: SKIPPED > bootlin-sparc64-glibc [22/45]: SKIPPED > bootlin-sparc-uclibc [23/45]: SKIPPED > bootlin-x86-64-glibc [24/45]: OK > bootlin-x86-64-musl [25/45]: OK > bootlin-x86-64-uclibc [26/45]: OK > bootlin-xtensa-uclibc [27/45]: SKIPPED > br-arm-basic [28/45]: OK > br-arm-full-nothread [29/45]: OK > br-arm-full-static [30/45]: SKIPPED > br-i386-pentium4-full [31/45]: OK > br-i386-pentium-mmx-musl [32/45]: OK > br-mips64-n64-full [33/45]: OK > br-mips64r6-el-hf-glibc [34/45]: SKIPPED > br-powerpc-603e-basic-cpp [35/45]: SKIPPED > br-powerpc64-power7-glibc [36/45]: SKIPPED > linaro-aarch64-be [37/45]: SKIPPED > linaro-aarch64 [38/45]: OK > linaro-arm [39/45]: OK > sourcery-arm-armv4t [40/45]: SKIPPED > sourcery-arm [41/45]: OK > sourcery-arm-thumb2 [42/45]: OK > sourcery-mips64 [43/45]: FAILED > sourcery-mips [44/45]: SKIPPED > sourcery-nios2 [45/45]: SKIPPED > 45 builds, 26 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed > > The failing one is not even a build failure of wtfutil itself, but > really just host-go that fails to build, because of some issues because > of missing GOMIPS64 setting for soft-float, which when fixed opens > another can of worms of itself... > --- > package/Config.in | 1 + > package/wtfutil/Config.in | 8 ++++++++ > package/wtfutil/wtfutil.hash | 2 ++ > package/wtfutil/wtfutil.mk | 12 ++++++++++++ > 4 files changed, 23 insertions(+) > create mode 100644 package/wtfutil/Config.in > create mode 100644 package/wtfutil/wtfutil.hash > create mode 100644 package/wtfutil/wtfutil.mk > > diff --git a/package/Config.in b/package/Config.in > index 20d7156cea..f1e8b64e0d 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2500,6 +2500,7 @@ comment "Utilities" > source "package/tmux/Config.in" > source "package/ttyd/Config.in" > source "package/which/Config.in" > + source "package/wtfutil/Config.in" > source "package/xmlstarlet/Config.in" > source "package/xxhash/Config.in" > source "package/ytree/Config.in" > diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in > new file mode 100644 > index 0000000000..8c3efcea5d > --- /dev/null > +++ b/package/wtfutil/Config.in > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_WTFUTIL > + bool "wtfutil" > + depends on BR2_USE_MMU # fork() > + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > + help > + WTF is the personal information dashboard for your terminal. > + > + https://wtfutil.com/ > diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash > new file mode 100644 > index 0000000000..deb162794e > --- /dev/null > +++ b/package/wtfutil/wtfutil.hash > @@ -0,0 +1,2 @@ > +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz > +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md > diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk > new file mode 100644 > index 0000000000..6e841411a9 > --- /dev/null > +++ b/package/wtfutil/wtfutil.mk > @@ -0,0 +1,12 @@ > +################################################################################ > +# > +# wtfutil > +# > +################################################################################ > + > +WTFUTIL_VERSION = 0.41.0 > +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) > +WTFUTIL_LICENSE = MPL-2.0 > +WTFUTIL_LICENSE_FILES = LICENSE.md > + > +$(eval $(golang-package)) From arnout at mind.be Sat Apr 23 16:27:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:27:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: fix nios2 build In-Reply-To: <20220420164319.1114520-1-fontaine.fabrice@gmail.com> References: <20220420164319.1114520-1-fontaine.fabrice@gmail.com> Message-ID: <8c47e452-91b6-835e-a3b2-8377aa823896@mind.be> On 20/04/2022 18:43, Fabrice Fontaine wrote: > Fix the following build failure on nios2 raised since bump to version > 2021.5.0 in commit 3c66ac07a0783b21f95e699b3762edd15e27bdf9: > > In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_static.c:17, > from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/itt_notify.cpp:43: > /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h: In function 'long int __itt_interlocked_increment(volatile long int*)': > /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h:348:12: error: '__TBB_machine_fetchadd4' was not declared in this scope > 348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L; > | ^~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/2b55d1d171f21030be8312f984ea02ec8c8348a8 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...-Define-ITT_ARCH_IA64-when-undefiend.patch | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch > > diff --git a/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch > new file mode 100644 > index 0000000000..5b7f002499 > --- /dev/null > +++ b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch > @@ -0,0 +1,27 @@ > +From 6fad69889da67bc4d4baff4afa94f77da45e006d Mon Sep 17 00:00:00 2001 > +From: Felix Yan > +Date: Thu, 7 Oct 2021 14:16:16 +0800 > +Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550) > + > +[Retrieved from: > +https://github.com/oneapi-src/oneTBB/commit/6fad69889da67bc4d4baff4afa94f77da45e006d] > +Signed-off-by: Fabrice Fontaine > +--- > + src/tbb/tools_api/ittnotify_config.h | 4 ++++ > + 1 file changed, 4 insertions(+) > + > +diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h > +index 8ecc23781..f904a8e9d 100644 > +--- a/src/tbb/tools_api/ittnotify_config.h > ++++ b/src/tbb/tools_api/ittnotify_config.h > +@@ -147,6 +147,10 @@ > + # define ITT_ARCH_IA32E 2 > + #endif /* ITT_ARCH_IA32E */ > + > ++#ifndef ITT_ARCH_IA64 > ++# define ITT_ARCH_IA64 3 > ++#endif /* ITT_ARCH_IA64 */ > ++ > + #ifndef ITT_ARCH_ARM > + # define ITT_ARCH_ARM 4 > + #endif /* ITT_ARCH_ARM */ From arnout at mind.be Sat Apr 23 16:27:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:27:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/opencv4: fix uclibc build In-Reply-To: <20220420172816.1160081-1-fontaine.fabrice@gmail.com> References: <20220420172816.1160081-1-fontaine.fabrice@gmail.com> Message-ID: <9b7c0ad7-1ab5-aacf-6612-84c9b96ca8e4@mind.be> On 20/04/2022 19:28, Fabrice Fontaine wrote: > Add BR2_PACKAGE_OPENCV4_LIB_DNN to fix the following uclibc build > failure raised since bump to version 4.5.5 in commit > b6922313937712a89841b58d3b355edd53754bca and > https://github.com/opencv/opencv/commit/1feb3838b51c0b27b0f3e64f02358ff5ef3111b8: > > /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp: In member function 'float cv::dnn::RoundFunctor::calculate(float) const': > /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1260:43: error: 'fegetround' is not a member of 'std' > 1260 | int old_rounding_direction = std::fegetround(); > | ^~~~~~~~~~ > /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:14: error: 'fesetround' is not a member of 'std' > 1261 | std::fesetround(FE_TONEAREST); > | ^~~~~~~~~~ > /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:25: error: 'FE_TONEAREST' was not declared in this scope > 1261 | std::fesetround(FE_TONEAREST); > | ^~~~~~~~~~~~ > > Indeed, uclibc pretends to implement fenv but it raises build failures > on numerous architectures (or1k, sh4, xtensa, mipsel, arm, arc, riscv64, > etc.) > > Fixes: > - http://autobuild.buildroot.org/results/a6dd3c10acfbf6bc1af867d770cf0ce926c6ce84 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/opencv4/Config.in | 11 +++++++++++ > package/opencv4/opencv4.mk | 1 + > 2 files changed, 12 insertions(+) > > diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in > index 23d34a9d22..a61a106952 100644 > --- a/package/opencv4/Config.in > +++ b/package/opencv4/Config.in > @@ -30,6 +30,17 @@ config BR2_PACKAGE_OPENCV4_LIB_CALIB3D > Include opencv_calib3d (camera calibration and 3d > reconstruction) module into the OpenCV build. > > +config BR2_PACKAGE_OPENCV4_LIB_DNN > + bool "dnn" > + # dnn needs fenv.h which is not provided by uclibc > + depends on !BR2_TOOLCHAIN_USES_UCLIBC > + help > + Include opencv_dnn (Deep Neural Networks) module into the > + OpenCV build. > + > +comment "dnn needs a glibc or musl toolchain" > + depends on BR2_TOOLCHAIN_USES_UCLIBC > + > config BR2_PACKAGE_OPENCV4_LIB_FEATURES2D > bool "features2d" > select BR2_PACKAGE_OPENCV4_LIB_FLANN > diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk > index 0563026b18..84e0487dc4 100644 > --- a/package/opencv4/opencv4.mk > +++ b/package/opencv4/opencv4.mk > @@ -92,6 +92,7 @@ OPENCV4_CONF_OPTS += \ > -DBUILD_opencv_apps=OFF \ > -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV4_LIB_CALIB3D),ON,OFF) \ > -DBUILD_opencv_core=ON \ > + -DBUILD_opencv_dnn=$(if $(BR2_PACKAGE_OPENCV4_LIB_DNN),ON,OFF) \ > -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV4_LIB_FEATURES2D),ON,OFF) \ > -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV4_LIB_FLANN),ON,OFF) \ > -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV4_LIB_HIGHGUI),ON,OFF) \ From arnout at mind.be Sat Apr 23 16:28:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:28:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools-rust: bump to version 1.2.0 In-Reply-To: <20220420203720.1002314-1-james.hilliard1@gmail.com> References: <20220420203720.1002314-1-james.hilliard1@gmail.com> Message-ID: <430efc4e-c0e5-e2a6-e540-4849d0628cbf@mind.be> On 20/04/2022 22:37, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- > package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash > index 6bb42d918c..ae3a3463a5 100644 > --- a/package/python-setuptools-rust/python-setuptools-rust.hash > +++ b/package/python-setuptools-rust/python-setuptools-rust.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json > -md5 479fcd267ff48929bec9a7270e1a96d7 setuptools-rust-1.1.2.tar.gz > -sha256 a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1 setuptools-rust-1.1.2.tar.gz > +md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz > +sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz > # Locally computed sha256 checksums > sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE > diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk > index 394789b056..c2d8c6d9a7 100644 > --- a/package/python-setuptools-rust/python-setuptools-rust.mk > +++ b/package/python-setuptools-rust/python-setuptools-rust.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -PYTHON_SETUPTOOLS_RUST_VERSION = 1.1.2 > +PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 > PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz > -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a > +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 > PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools > PYTHON_SETUPTOOLS_RUST_LICENSE = MIT > PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 23 16:28:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:28:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstd: fix init file installation In-Reply-To: <20220421063028.3647447-1-james.hilliard1@gmail.com> References: <20220421063028.3647447-1-james.hilliard1@gmail.com> Message-ID: <9b049497-c0c9-3867-dd3b-10d4ff7374db@mind.be> On 21/04/2022 08:30, James Hilliard wrote: > Fix a bug where the init subdir was accidentially removed from meson. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > ...-meson.build-add-missing-init-subdir.patch | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch > > diff --git a/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch > new file mode 100644 > index 0000000000..ed3738e3d4 > --- /dev/null > +++ b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch > @@ -0,0 +1,28 @@ > +From 689265cd522c770ad3e0391cae80ee884a8c475c Mon Sep 17 00:00:00 2001 > +From: James Hilliard > +Date: Thu, 21 Apr 2022 01:14:52 -0500 > +Subject: [PATCH] meson.build: add missing init subdir > + > +Seems this got accidentially removed in: > +9f4490138c8892b1c86008134438b2ab405c9b0f > + > +Restore it so that init files are properly installed. > + > +Signed-off-by: James Hilliard > +[upstreeam: https://github.com/RidgeRun/gstd-1.x/pull/291] > +--- > + meson.build | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/meson.build b/meson.build > +index a30f776..7a8690a 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -300,3 +300,4 @@ subdir('gst_client') > + subdir('tests') > + subdir('examples') > + subdir('docs') > ++subdir('init') > +-- > +2.25.1 > + From arnout at mind.be Sat Apr 23 16:28:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:28:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/erofs-utils: fix build with gcc 4.8 In-Reply-To: <20220421072739.1816817-1-fontaine.fabrice@gmail.com> References: <20220421072739.1816817-1-fontaine.fabrice@gmail.com> Message-ID: <1ad88336-ca06-7b9d-7da4-dae65818731a@mind.be> On 21/04/2022 09:27, Fabrice Fontaine wrote: > Add upstream patch to disable -Werror and fix the following build > failure with gcc 4.8 raised since bump to version 1.4 in commit > c2e32e655802ad917eb240b8c2b7ac343ab55ec1 and > https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a5df3b3acf545af289cb47faa6de0: > > In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, > from ../include/erofs/internal.h:242, > from ../include/erofs/inode.h:11, > from main.c:12: > In function 'memset', > inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: > /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] > __warn_memset_zero_len (); > ^ > > Fixes: > - http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../erofs-utils/0005-Add-disable-werror.patch | 136 ++++++++++++++++++ > 1 file changed, 136 insertions(+) > create mode 100644 package/erofs-utils/0005-Add-disable-werror.patch > > diff --git a/package/erofs-utils/0005-Add-disable-werror.patch b/package/erofs-utils/0005-Add-disable-werror.patch > new file mode 100644 > index 0000000000..8b286c3265 > --- /dev/null > +++ b/package/erofs-utils/0005-Add-disable-werror.patch > @@ -0,0 +1,136 @@ > +From eb79816f85db164af732a5bcbb42d09214845874 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Thu, 21 Apr 2022 00:10:18 +0200 > +Subject: erofs-utils: add --disable-werror > + > +Add an option to disable -Werror to fix the following build failure [1] with > +gcc 4.8 raised since version 1.4 and [2] > + > +In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, > + from ../include/erofs/internal.h:242, > + from ../include/erofs/inode.h:11, > + from main.c:12: > +In function 'memset', > + inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: > +/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] > + __warn_memset_zero_len (); > + > +[1] http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 > +[2] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a > +Signed-off-by: Fabrice Fontaine > +Link: https://lore.kernel.org/r/20220420221018.1396105-1-fontaine.fabrice at gmail.com > +Signed-off-by: Gao Xiang > +[Retrieved (and backported) from: > +https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?h=dev&id=eb79816f85db164af732a5bcbb42d09214845874] > +--- > + configure.ac | 13 ++++++++++++- > + dump/Makefile.am | 2 +- > + fsck/Makefile.am | 2 +- > + fuse/Makefile.am | 2 +- > + lib/Makefile.am | 2 +- > + mkfs/Makefile.am | 2 +- > + 6 files changed, 17 insertions(+), 6 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index fa917e6..53bf882 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([config.h.in]) > + AC_CONFIG_HEADERS([config.h]) > + AC_CONFIG_MACRO_DIR([m4]) > + AC_CONFIG_AUX_DIR(config) > +-AM_INIT_AUTOMAKE([foreign -Wall -Werror]) > ++AM_INIT_AUTOMAKE([foreign -Wall]) > + > + # Checks for programs. > + AM_PROG_AR > +@@ -65,6 +65,12 @@ AC_ARG_ENABLE([debug], > + [enable_debug="$enableval"], > + [enable_debug="no"]) > + > ++AC_ARG_ENABLE([werror], > ++ [AS_HELP_STRING([--enable-werror], > ++ [enable -Werror @<:@default=no@:>@])], > ++ [enable_werror="$enableval"], > ++ [enable_werror="no"]) > ++ > + AC_ARG_ENABLE(lz4, > + [AS_HELP_STRING([--disable-lz4], [disable LZ4 compression support @<:@default=enabled@:>@])], > + [enable_lz4="$enableval"], [enable_lz4="yes"]) > +@@ -197,6 +203,11 @@ AS_IF([test "x$enable_debug" != "xno"], [], [ > + CPPFLAGS="$CPPFLAGS -DNDEBUG" > + ]) > + > ++# Configure -Werror > ++AS_IF([test "x$enable_werror" != "xyes"], [], [ > ++ CPPFLAGS="$CPPFLAGS -Werror" > ++]) > ++ > + # Configure libuuid > + AS_IF([test "x$with_uuid" != "xno"], [ > + PKG_CHECK_MODULES([libuuid], [uuid]) > +diff --git a/dump/Makefile.am b/dump/Makefile.am > +index 9f0cd3f..c2bef6d 100644 > +--- a/dump/Makefile.am > ++++ b/dump/Makefile.am > +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign > + bin_PROGRAMS = dump.erofs > + AM_CPPFLAGS = ${libuuid_CFLAGS} > + dump_erofs_SOURCES = main.c > +-dump_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++dump_erofs_CFLAGS = -Wall -I$(top_srcdir)/include > + dump_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ > + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} > +diff --git a/fsck/Makefile.am b/fsck/Makefile.am > +index 55b31ea..e6a1fb6 100644 > +--- a/fsck/Makefile.am > ++++ b/fsck/Makefile.am > +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign > + bin_PROGRAMS = fsck.erofs > + AM_CPPFLAGS = ${libuuid_CFLAGS} > + fsck_erofs_SOURCES = main.c > +-fsck_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++fsck_erofs_CFLAGS = -Wall -I$(top_srcdir)/include > + fsck_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ > + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} > +diff --git a/fuse/Makefile.am b/fuse/Makefile.am > +index 5aa5ac0..3179a2b 100644 > +--- a/fuse/Makefile.am > ++++ b/fuse/Makefile.am > +@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign > + noinst_HEADERS = $(top_srcdir)/fuse/macosx.h > + bin_PROGRAMS = erofsfuse > + erofsfuse_SOURCES = dir.c main.c > +-erofsfuse_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++erofsfuse_CFLAGS = -Wall -I$(top_srcdir)/include > + erofsfuse_CFLAGS += -DFUSE_USE_VERSION=26 ${libfuse_CFLAGS} ${libselinux_CFLAGS} > + erofsfuse_LDADD = $(top_builddir)/lib/liberofs.la ${libfuse_LIBS} ${liblz4_LIBS} \ > + ${libselinux_LIBS} ${liblzma_LIBS} > +diff --git a/lib/Makefile.am b/lib/Makefile.am > +index 4a25013..3fad357 100644 > +--- a/lib/Makefile.am > ++++ b/lib/Makefile.am > +@@ -28,7 +28,7 @@ noinst_HEADERS += compressor.h > + liberofs_la_SOURCES = config.c io.c cache.c super.c inode.c xattr.c exclude.c \ > + namei.c data.c compress.c compressor.c zmap.c decompress.c \ > + compress_hints.c hashmap.c sha256.c blobchunk.c > +-liberofs_la_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++liberofs_la_CFLAGS = -Wall -I$(top_srcdir)/include > + if ENABLE_LZ4 > + liberofs_la_CFLAGS += ${LZ4_CFLAGS} > + liberofs_la_SOURCES += compressor_lz4.c > +diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am > +index 2a4bc1d..709d9bf 100644 > +--- a/mkfs/Makefile.am > ++++ b/mkfs/Makefile.am > +@@ -4,6 +4,6 @@ AUTOMAKE_OPTIONS = foreign > + bin_PROGRAMS = mkfs.erofs > + AM_CPPFLAGS = ${libuuid_CFLAGS} ${libselinux_CFLAGS} > + mkfs_erofs_SOURCES = main.c > +-mkfs_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++mkfs_erofs_CFLAGS = -Wall -I$(top_srcdir)/include > + mkfs_erofs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ > + ${liblz4_LIBS} ${liblzma_LIBS} > +-- > +cgit > + From arnout at mind.be Sat Apr 23 16:28:54 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:28:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/vde2: fix build with BR2_OPTIMIZE_0 In-Reply-To: <20220421091907.2774561-1-fontaine.fabrice@gmail.com> References: <20220421091907.2774561-1-fontaine.fabrice@gmail.com> Message-ID: <3969c6c8-1f92-e07d-ef4a-eb751a86cac9@mind.be> On 21/04/2022 11:19, Fabrice Fontaine wrote: > Fix the following build failure with BR2_OPTIMIZE_0: > > /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': > vde_l3.c:(.text+0xb30): undefined reference to `iphead' > > Fixes: > - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...de_l3-Add-static-to-inline-functions.patch | 37 +++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch > > diff --git a/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch > new file mode 100644 > index 0000000000..7f771dfc7e > --- /dev/null > +++ b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch > @@ -0,0 +1,37 @@ > +vde_l3: Add static to inline functions > + > +Add static to inline functions to avoid the following build failure > +with BR2_OPTIMIZE_0: > + > +/home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': > +vde_l3.c:(.text+0xb30): undefined reference to `iphead' > + > +Fixes: > + - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d > + > +Signed-off-by: Fabrice Fontaine > + > +diff -Nura vde2-2.3.2.orig/src/vde_l3/vde_l3.c vde2-2.3.2/src/vde_l3/vde_l3.c > +--- vde2-2.3.2.orig/src/vde_l3/vde_l3.c 2022-04-21 11:05:17.393452698 +0200 > ++++ vde2-2.3.2/src/vde_l3/vde_l3.c 2022-04-21 11:10:36.509804404 +0200 > +@@ -100,17 +100,17 @@ > + }; > + > + > +-inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) > ++static inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) > + { > + return (struct vde_ethernet_header*)(vdb->data); > + } > + > +-inline struct iphdr *iphead(struct vde_buff *vdb) > ++static inline struct iphdr *iphead(struct vde_buff *vdb) > + { > + return (struct iphdr*)(vdb->data + 14); > + } > + > +-inline void *payload(struct vde_buff *vdb) > ++static inline void *payload(struct vde_buff *vdb) > + { > + return (uint8_t*)(vdb->data + 14 + sizeof(struct iphdr)); > + } From arnout at mind.be Sat Apr 23 16:29:12 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:29:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/argp-standalone: bump to version 1.4.1 In-Reply-To: <20220421100233.3845088-1-fontaine.fabrice@gmail.com> References: <20220421100233.3845088-1-fontaine.fabrice@gmail.com> Message-ID: <9846bb96-bb58-48fb-6e17-2dc5c1e88166@mind.be> On 21/04/2022 12:02, Fabrice Fontaine wrote: > - Switch site to an up-to-date fork > - Drop first and second patches (not needed since: > https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b > https://github.com/ericonr/argp-standalone/commit/80691135993109ec0c8a41327418195fc6d82694 > - Drop third patch (not needed since: > https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043) > - License is LGPL-2.1+ since > https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b > - README.md can be used as the license file since > https://github.com/ericonr/argp-standalone/commit/da0206414df4fe55f70b6dfba86ec232acf5d444 > - This bump will also fix the following build failure with > BR2_OPTIMIZE_0 thanks to > https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: > > /nvmedata/autobuild/instance-27/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: libargp.a(argp-help.o): in function `indent_to': > /nvmedata/autobuild/instance-27/output-1/build/argp-standalone-1.3/argp-help.c:930: undefined reference to `argp_fmtstream_point' > > Fixes: > - http://autobuild.buildroot.org/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-throw-in-funcdef.patch | 79 ------------------- > package/argp-standalone/0002-isprint.patch | 45 ----------- > .../0003-fix_build_with_c99_compilers.patch | 68 ---------------- > package/argp-standalone/Config.in | 2 +- > package/argp-standalone/argp-standalone.hash | 4 +- > package/argp-standalone/argp-standalone.mk | 11 ++- > 6 files changed, 10 insertions(+), 199 deletions(-) > delete mode 100644 package/argp-standalone/0001-throw-in-funcdef.patch > delete mode 100644 package/argp-standalone/0002-isprint.patch > delete mode 100644 package/argp-standalone/0003-fix_build_with_c99_compilers.patch > > diff --git a/package/argp-standalone/0001-throw-in-funcdef.patch b/package/argp-standalone/0001-throw-in-funcdef.patch > deleted file mode 100644 > index 4a90751e1e..0000000000 > --- a/package/argp-standalone/0001-throw-in-funcdef.patch > +++ /dev/null > @@ -1,79 +0,0 @@ > -# --- T2-COPYRIGHT-NOTE-BEGIN --- > -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. > -# > -# T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone > -# Copyright (C) 2006 The T2 SDE Project > -# > -# More information can be found in the files COPYING and README. > -# > -# This patch file is dual-licensed. It is available under the license the > -# patched project is licensed under, as long as it is an OpenSource license > -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms > -# of the GNU General Public License as published by the Free Software > -# Foundation; either version 2 of the License, or (at your option) any later > -# version. > -# --- T2-COPYRIGHT-NOTE-END --- > - > - > -No __THROW in function implementation. > - --jsaw > - > ---- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100 > -+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100 > -@@ -560,17 +560,17 @@ > - # endif > - > - # ifndef ARGP_EI > --# define ARGP_EI extern __inline__ > -+# define ARGP_EI extern inline > - # endif > - > - ARGP_EI void > --__argp_usage (__const struct argp_state *__state) __THROW > -+__argp_usage (__const struct argp_state *__state) > - { > - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); > - } > - > - ARGP_EI int > --__option_is_short (__const struct argp_option *__opt) __THROW > -+__option_is_short (__const struct argp_option *__opt) > - { > - if (__opt->flags & OPTION_DOC) > - return 0; > -@@ -582,7 +582,7 @@ > - } > - > - ARGP_EI int > --__option_is_end (__const struct argp_option *__opt) __THROW > -+__option_is_end (__const struct argp_option *__opt) > - { > - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; > - } > ---- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100 > -+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100 > -@@ -1290,13 +1290,13 @@ > - /* Defined here, in case a user is not inlining the definitions in > - * argp.h */ > - void > --__argp_usage (__const struct argp_state *__state) __THROW > -+__argp_usage (__const struct argp_state *__state) > - { > - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); > - } > - > - int > --__option_is_short (__const struct argp_option *__opt) __THROW > -+__option_is_short (__const struct argp_option *__opt) > - { > - if (__opt->flags & OPTION_DOC) > - return 0; > -@@ -1310,7 +1310,7 @@ > - } > - > - int > --__option_is_end (__const struct argp_option *__opt) __THROW > -+__option_is_end (__const struct argp_option *__opt) > - { > - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; > - } > diff --git a/package/argp-standalone/0002-isprint.patch b/package/argp-standalone/0002-isprint.patch > deleted file mode 100644 > index 9c08366f68..0000000000 > --- a/package/argp-standalone/0002-isprint.patch > +++ /dev/null > @@ -1,45 +0,0 @@ > -Subject: restrict value range passed to isprint function > - > -According to C standards isprint argument shall be representable as an > -unsigned char or be equal to EOF, otherwise the behaviour is undefined. > - > -Passing arbitrary ints leads to segfault in nm program from elfutils. > - > -Restrict isprint argument range to values representable by unsigned char. > - > -Signed-off-by: Max Filippov > ---- > -Index: b/argp.h > -=================================================================== > ---- a/argp.h > -+++ b/argp.h > -@@ -23,6 +23,7 @@ > - > - #include > - #include > -+#include > - > - #define __need_error_t > - #include > -@@ -577,7 +578,7 @@ > - else > - { > - int __key = __opt->key; > -- return __key > 0 && isprint (__key); > -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); > - } > - } > - > -Index: b/argp-parse.c > -=================================================================== > ---- a/argp-parse.c > -+++ b/argp-parse.c > -@@ -1292,7 +1292,7 @@ > - int __key = __opt->key; > - /* FIXME: whether or not a particular key implies a short option > - * ought not to be locale dependent. */ > -- return __key > 0 && isprint (__key); > -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); > - } > - } > - > diff --git a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch b/package/argp-standalone/0003-fix_build_with_c99_compilers.patch > deleted file mode 100644 > index 56b753b607..0000000000 > --- a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch > +++ /dev/null > @@ -1,68 +0,0 @@ > -From b2dfa011a3fdcb7d22764d143517d0fbd1c2a201 Mon Sep 17 00:00:00 2001 > -From: Emmanuel Dreyfus > -Date: Wed, 22 Jan 2014 14:47:23 +0100 > -Subject: [PATCH] Fix build with c99 compilers > - > -BUG: 764655 > -Change-Id: If5dfdc9c7427bd3d39d8da8f79e33ae2da6a3137 > -Signed-off-by: Emmanuel Dreyfus > -Reviewed-on: http://review.gluster.org/6034 > -Reviewed-by: Harshavardhana > -Tested-by: Gluster Build System > ---- > - > -diff --git a/argp-fmtstream.c b/argp-fmtstream.c > -index 7f79285..494b6b3 100644 > ---- a/argp-fmtstream.c > -+++ b/argp-fmtstream.c > -@@ -389,6 +389,7 @@ > - weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf) > - #endif > - > -+#if __STDC_VERSION__ - 199900L < 1 > - /* Duplicate the inline definitions in argp-fmtstream.h, for compilers > - * that don't do inlining. */ > - size_t > -@@ -471,5 +472,6 @@ > - __argp_fmtstream_update (__fs); > - return __fs->point_col >= 0 ? __fs->point_col : 0; > - } > -+#endif /* __STDC_VERSION__ - 199900L < 1 */ > - > - #endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ > -diff --git a/argp-fmtstream.h b/argp-fmtstream.h > -index e797b11..828f435 100644 > ---- a/argp-fmtstream.h > -+++ b/argp-fmtstream.h > -@@ -153,6 +153,7 @@ > - __const char *__fmt, ...) > - PRINTF_STYLE(2,3); > - > -+#if __STDC_VERSION__ - 199900L < 1 > - extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); > - extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); > - > -@@ -163,6 +164,7 @@ > - __const char *__str, size_t __len); > - extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, > - __const char *__str, size_t __len); > -+#endif /* __STDC_VERSION__ - 199900L < 1 */ > - > - /* Access macros for various bits of state. */ > - #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) > -@@ -172,6 +174,7 @@ > - #define __argp_fmtstream_rmargin argp_fmtstream_rmargin > - #define __argp_fmtstream_wmargin argp_fmtstream_wmargin > - > -+#if __STDC_VERSION__ - 199900L < 1 > - /* Set __FS's left margin to LMARGIN and return the old value. */ > - extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, > - size_t __lmargin); > -@@ -193,6 +196,7 @@ > - /* Return the column number of the current output point in __FS. */ > - extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); > - extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); > -+#endif /* __STDC_VERSION__ - 199900L < 1 */ > - > - /* Internal routines. */ > - extern void _argp_fmtstream_update (argp_fmtstream_t __fs); > diff --git a/package/argp-standalone/Config.in b/package/argp-standalone/Config.in > index 3319dd945c..891d4aedaa 100644 > --- a/package/argp-standalone/Config.in > +++ b/package/argp-standalone/Config.in > @@ -5,4 +5,4 @@ config BR2_PACKAGE_ARGP_STANDALONE > help > Glibc hierarchical argument parsing standalone library. > > - http://www.lysator.liu.se/~nisse/misc/ > + https://github.com/ericonr/argp-standalone/ > diff --git a/package/argp-standalone/argp-standalone.hash b/package/argp-standalone/argp-standalone.hash > index c780f9e53f..1e56c663d4 100644 > --- a/package/argp-standalone/argp-standalone.hash > +++ b/package/argp-standalone/argp-standalone.hash > @@ -1,5 +1,5 @@ > # Locally calculated after checking pgp signature > -sha256 dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be argp-standalone-1.3.tar.gz > +sha256 879d76374424dce051b812f16f43c6d16de8dbaddd76002f83fd1b6e57d39e0b argp-standalone-1.4.1.tar.gz > > # License file > -sha256 bbb8919aa520069b0234faf5e83a94052d278419ffe97ca8e843ecc9b212d1ab argp.h > +sha256 b5db0353a5b1902fc8a2e055d8899dd0c189ce73a31e67af9a0ffc24711b63f0 README.md > diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk > index 651bc400f4..80ca04046d 100644 > --- a/package/argp-standalone/argp-standalone.mk > +++ b/package/argp-standalone/argp-standalone.mk > @@ -4,11 +4,14 @@ > # > ################################################################################ > > -ARGP_STANDALONE_VERSION = 1.3 > -ARGP_STANDALONE_SITE = http://www.lysator.liu.se/~nisse/archive > +ARGP_STANDALONE_VERSION = 1.4.1 > +ARGP_STANDALONE_SITE = \ > + $(call github,ericonr,argp-standalone,$(ARGP_STANDALONE_VERSION)) > ARGP_STANDALONE_INSTALL_STAGING = YES > -ARGP_STANDALONE_LICENSE = LGPL-2.0+ > -ARGP_STANDALONE_LICENSE_FILES = argp.h > +ARGP_STANDALONE_LICENSE = LGPL-2.1+ > +ARGP_STANDALONE_LICENSE_FILES = README.md > +# From git > +ARGP_STANDALONE_AUTORECONF = YES > > ARGP_STANDALONE_CONF_ENV = \ > CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" From arnout at mind.be Sat Apr 23 16:30:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:30:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: fix compilation for uclibc In-Reply-To: <20220421102410.3794-1-dariobin@libero.it> References: <20220421102410.3794-1-dariobin@libero.it> Message-ID: <53e35dcc-6ace-0c5d-bd41-b3efbbd94c41@mind.be> On 21/04/2022 12:24, Dario Binacchi wrote: > - Add upstream patch ([1]) to fix compilation for uclibc > > - Add autoreconf as the patch touches configure.ac > > [1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=9c9fd9ae24b45f915f0759d32f662835c26d37c3 > > Signed-off-by: Dario Binacchi > Signed-off-by: Dario Binacchi [snip] > diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk > index 52f2a04ffa..a5600a81b8 100644 > --- a/package/valgrind/valgrind.mk > +++ b/package/valgrind/valgrind.mk > @@ -14,6 +14,7 @@ VALGRIND_CONF_OPTS = \ > --disable-ubsan \ > --without-mpicc > VALGRIND_INSTALL_STAGING = YES > +VALGRIND_AUTORECONF=YES You should add a comment above to track why autoreconf is needed. Applied to master with that fixed, thanks. Regards, Arnout > > # Valgrind must be compiled with no stack protection, so forcefully > # pass -fno-stack-protector to override what Buildroot may have in From arnout at mind.be Sat Apr 23 16:30:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:30:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/arptables: fix build with BR2_OPTIMIZE_0 In-Reply-To: <20220421115529.2625137-1-fontaine.fabrice@gmail.com> References: <20220421115529.2625137-1-fontaine.fabrice@gmail.com> Message-ID: <79e52372-031a-2836-b2ab-2f78f629d29f@mind.be> On 21/04/2022 13:55, Fabrice Fontaine wrote: > Fix the following build failure with BR2_OPTIMIZE_0 raised since the > addition of the package in commit > efc10eb6b87884f1f7917462d78af6953fcd99e3 and > https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: > > libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' > 48 | #define GET_TARGET arpt_get_target > | ^~~~~~~~~~~~~~~ > libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' > 16 | GET_TARGET(STRUCT_ENTRY *e) > | ^~~~~~~~~~ > In file included from .//include/libarptc/libarptc.h:7, > from libarptc/libarptc.c:26: > .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here > 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 > > Signed-off-by: Fabrice Fontaine > --- > ...tc-libarptc_incl.c-fix-build-with-O0.patch | 49 +++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > > diff --git a/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > new file mode 100644 > index 0000000000..29f2d714e2 > --- /dev/null > +++ b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > @@ -0,0 +1,49 @@ > +From 7d8285ae92253017a15282dd25f76d76eed49518 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Thu, 21 Apr 2022 13:43:23 +0200 > +Subject: [PATCH] libarptc/libarptc_incl.c: fix build with -O0 > + > +Fix the following build failure with -O0: > + > +libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' > + 48 | #define GET_TARGET arpt_get_target > + | ^~~~~~~~~~~~~~~ > +libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' > + 16 | GET_TARGET(STRUCT_ENTRY *e) > + | ^~~~~~~~~~ > +In file included from .//include/libarptc/libarptc.h:7, > + from libarptc/libarptc.c:26: > +.//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here > + 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) > + | ^~~~~~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 > + > +Signed-off-by: Fabrice Fontaine No upstream reference? Is upstream dead? Applied to master, thanks. Regards, Arnout > +--- > + libarptc/libarptc_incl.c | 8 -------- > + 1 file changed, 8 deletions(-) > + > +diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c > +index c4d5de3..441f2de 100644 > +--- a/libarptc/libarptc_incl.c > ++++ b/libarptc/libarptc_incl.c > +@@ -11,14 +11,6 @@ > + /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See > + COPYING for details). */ > + > +-#ifndef __OPTIMIZE__ > +-STRUCT_ENTRY_TARGET * > +-GET_TARGET(STRUCT_ENTRY *e) > +-{ > +- return (void *)e + e->target_offset; > +-} > +-#endif > +- > + static int sockfd = -1; > + static void *arptc_fn = NULL; > + > +-- > +2.35.1 > + From arnout at mind.be Sat Apr 23 16:31:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:31:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-zattoo: bump version to 19.7.13-Matrix In-Reply-To: <20220421171257.2675041-1-bernd.kuhls@t-online.de> References: <20220421171257.2675041-1-bernd.kuhls@t-online.de> Message-ID: <54ceb68b-1dd9-f0d4-a3ef-d6116e26766f@mind.be> On 21/04/2022 19:12, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- > package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash > index 0b88d5c747..4f9a60e942 100644 > --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash > +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 07d96b1b0c3b464c0bf02279fa8cab9ccdf675344129f3a970b14bafce225fb4 kodi-pvr-zattoo-19.7.11-Matrix.tar.gz > +sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz > sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md > diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk > index 95c5de0925..f2badeaa05 100644 > --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk > +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_PVR_ZATTOO_VERSION = 19.7.11-Matrix > +KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix > KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) > KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ > KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md From arnout at mind.be Sat Apr 23 16:31:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:31:37 +0200 Subject: [Buildroot] [PATCH 1/2] package/intel-mediadriver: bump version to 22.4.0 In-Reply-To: <20220421172407.2759939-1-bernd.kuhls@t-online.de> References: <20220421172407.2759939-1-bernd.kuhls@t-online.de> Message-ID: On 21/04/2022 19:24, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied both to master, thanks. Regards, Arnout > --- > package/intel-mediadriver/intel-mediadriver.hash | 2 +- > package/intel-mediadriver/intel-mediadriver.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash > index 5c3d25eed8..e6cd7a1cd3 100644 > --- a/package/intel-mediadriver/intel-mediadriver.hash > +++ b/package/intel-mediadriver/intel-mediadriver.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz > +sha256 f070527b141174970a17195d0225ed43693c39fec83cd5e6d0effaa88e2a5553 intel-media-22.4.0.tar.gz > sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md > diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk > index 4280f7fd29..f3833fcc45 100644 > --- a/package/intel-mediadriver/intel-mediadriver.mk > +++ b/package/intel-mediadriver/intel-mediadriver.mk > @@ -6,7 +6,7 @@ > > # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack > > -INTEL_MEDIADRIVER_VERSION = 22.3.1 > +INTEL_MEDIADRIVER_VERSION = 22.4.0 > INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive > INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz > INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause From arnout at mind.be Sat Apr 23 16:31:52 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:31:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/coreutils: drop patch In-Reply-To: <20220421214030.2348966-1-fontaine.fabrice@gmail.com> References: <20220421214030.2348966-1-fontaine.fabrice@gmail.com> Message-ID: <8cc1278f-4187-8bcd-1879-1ac9db92ca1b@mind.be> On 21/04/2022 23:40, Fabrice Fontaine wrote: > Drop patch as it is not needed since bump to version 9.1 in commit > 908caefa91dbf70e7f40c61113f0f1ae2b83230d because gnulib has been updated > with > https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...andom.c-fix-build-with-uclibc-1.0.35.patch | 46 ------------------- > 1 file changed, 46 deletions(-) > delete mode 100644 package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch > > diff --git a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch > deleted file mode 100644 > index 88390a1124..0000000000 > --- a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch > +++ /dev/null > @@ -1,46 +0,0 @@ > -From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 > -From: Fabrice Fontaine > -Date: Thu, 1 Apr 2021 07:49:46 +0200 > -Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 > - > -Fix the following build failure with uclibc < 1.0.35 which is raised > -since the addition of getrandom module in > -https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: > - > -In file included from ./sys/random.h:40, > - from getrandom.c:22: > -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' > - 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) > - | ^~~~~~ > -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? > - 7 | #include > - +++ |+#include > - 8 | > - > -This patch is not upstreamable as it is only a workaround for > -uclibc < 1.0.35, upstream uclibc has been patched with > -https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 > - > -Fixes: > - - http://autobuild.buildroot.org/results/c69f5c8b8e53ed3de753f0c6d2cdd99497504b49 > - > -Signed-off-by: Fabrice Fontaine > ---- > - lib/getrandom.c | 1 + > - 1 file changed, 1 insertion(+) > - > -diff --git a/lib/getrandom.c b/lib/getrandom.c > -index 41212fb32..0ad3f9648 100644 > ---- a/lib/getrandom.c > -+++ b/lib/getrandom.c > -@@ -19,6 +19,7 @@ > - > - #include > - > -+#include > - #include > - > - #include > --- > -2.30.2 > - From arnout at mind.be Sat Apr 23 16:32:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:32:28 +0200 Subject: [Buildroot] [PATCH 1/2] package/zlog: add ZLOG_CPE_ID_VENDOR In-Reply-To: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> References: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> Message-ID: On 21/04/2022 23:54, Fabrice Fontaine wrote: > cpe:2.3:a:zlog_project:zlog is a valid CPE identifier for this package: > > https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azlog_project%3Azlog > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > package/zlog/zlog.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk > index e2410d3665..c7b7035c1f 100644 > --- a/package/zlog/zlog.mk > +++ b/package/zlog/zlog.mk > @@ -8,6 +8,7 @@ ZLOG_VERSION = 1.2.15 > ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION)) > ZLOG_LICENSE = LGPL-2.1 > ZLOG_LICENSE_FILES = COPYING > +ZLOG_CPE_ID_VENDOR = zlog_project > ZLOG_INSTALL_STAGING = YES > > define ZLOG_BUILD_CMDS From arnout at mind.be Sat Apr 23 16:15:07 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:07 +0200 Subject: [Buildroot] [git commit] package/opencv4: fix uclibc build Message-ID: <20220423162249.4F3207FB06@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cc10bd5777af492b786c7d6c7fc917b855c6b7d8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add BR2_PACKAGE_OPENCV4_LIB_DNN to fix the following uclibc build failure raised since bump to version 4.5.5 in commit b6922313937712a89841b58d3b355edd53754bca and https://github.com/opencv/opencv/commit/1feb3838b51c0b27b0f3e64f02358ff5ef3111b8: /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp: In member function 'float cv::dnn::RoundFunctor::calculate(float) const': /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1260:43: error: 'fegetround' is not a member of 'std' 1260 | int old_rounding_direction = std::fegetround(); | ^~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:14: error: 'fesetround' is not a member of 'std' 1261 | std::fesetround(FE_TONEAREST); | ^~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:25: error: 'FE_TONEAREST' was not declared in this scope 1261 | std::fesetround(FE_TONEAREST); | ^~~~~~~~~~~~ Indeed, uclibc pretends to implement fenv but it raises build failures on numerous architectures (or1k, sh4, xtensa, mipsel, arm, arc, riscv64, etc.) Fixes: - http://autobuild.buildroot.org/results/a6dd3c10acfbf6bc1af867d770cf0ce926c6ce84 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/opencv4/Config.in | 11 +++++++++++ package/opencv4/opencv4.mk | 1 + 2 files changed, 12 insertions(+) diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in index 23d34a9d22..a61a106952 100644 --- a/package/opencv4/Config.in +++ b/package/opencv4/Config.in @@ -30,6 +30,17 @@ config BR2_PACKAGE_OPENCV4_LIB_CALIB3D Include opencv_calib3d (camera calibration and 3d reconstruction) module into the OpenCV build. +config BR2_PACKAGE_OPENCV4_LIB_DNN + bool "dnn" + # dnn needs fenv.h which is not provided by uclibc + depends on !BR2_TOOLCHAIN_USES_UCLIBC + help + Include opencv_dnn (Deep Neural Networks) module into the + OpenCV build. + +comment "dnn needs a glibc or musl toolchain" + depends on BR2_TOOLCHAIN_USES_UCLIBC + config BR2_PACKAGE_OPENCV4_LIB_FEATURES2D bool "features2d" select BR2_PACKAGE_OPENCV4_LIB_FLANN diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index 0563026b18..84e0487dc4 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -92,6 +92,7 @@ OPENCV4_CONF_OPTS += \ -DBUILD_opencv_apps=OFF \ -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV4_LIB_CALIB3D),ON,OFF) \ -DBUILD_opencv_core=ON \ + -DBUILD_opencv_dnn=$(if $(BR2_PACKAGE_OPENCV4_LIB_DNN),ON,OFF) \ -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV4_LIB_FEATURES2D),ON,OFF) \ -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV4_LIB_FLANN),ON,OFF) \ -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV4_LIB_HIGHGUI),ON,OFF) \ From arnout at mind.be Sat Apr 23 16:15:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:16 +0200 Subject: [Buildroot] [git commit] package/gstd: fix init file installation Message-ID: <20220423162249.7442B822ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9c6e771475eb9b7a0dec1cb587ae39f807d36c87 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix a bug where the init subdir was accidentially removed from meson. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0004-meson.build-add-missing-init-subdir.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch new file mode 100644 index 0000000000..ed3738e3d4 --- /dev/null +++ b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch @@ -0,0 +1,28 @@ +From 689265cd522c770ad3e0391cae80ee884a8c475c Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Thu, 21 Apr 2022 01:14:52 -0500 +Subject: [PATCH] meson.build: add missing init subdir + +Seems this got accidentially removed in: +9f4490138c8892b1c86008134438b2ab405c9b0f + +Restore it so that init files are properly installed. + +Signed-off-by: James Hilliard +[upstreeam: https://github.com/RidgeRun/gstd-1.x/pull/291] +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index a30f776..7a8690a 100644 +--- a/meson.build ++++ b/meson.build +@@ -300,3 +300,4 @@ subdir('gst_client') + subdir('tests') + subdir('examples') + subdir('docs') ++subdir('init') +-- +2.25.1 + From arnout at mind.be Sat Apr 23 16:15:23 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:23 +0200 Subject: [Buildroot] [git commit] package/vde2: fix build with BR2_OPTIMIZE_0 Message-ID: <20220423162249.8BA4B84202@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=68ef4e546dcdade5fc768fbebf9e064f5240db2d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with BR2_OPTIMIZE_0: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': vde_l3.c:(.text+0xb30): undefined reference to `iphead' Fixes: - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...003-vde_l3-Add-static-to-inline-functions.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch new file mode 100644 index 0000000000..7f771dfc7e --- /dev/null +++ b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch @@ -0,0 +1,37 @@ +vde_l3: Add static to inline functions + +Add static to inline functions to avoid the following build failure +with BR2_OPTIMIZE_0: + +/home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': +vde_l3.c:(.text+0xb30): undefined reference to `iphead' + +Fixes: + - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d + +Signed-off-by: Fabrice Fontaine + +diff -Nura vde2-2.3.2.orig/src/vde_l3/vde_l3.c vde2-2.3.2/src/vde_l3/vde_l3.c +--- vde2-2.3.2.orig/src/vde_l3/vde_l3.c 2022-04-21 11:05:17.393452698 +0200 ++++ vde2-2.3.2/src/vde_l3/vde_l3.c 2022-04-21 11:10:36.509804404 +0200 +@@ -100,17 +100,17 @@ + }; + + +-inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) ++static inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) + { + return (struct vde_ethernet_header*)(vdb->data); + } + +-inline struct iphdr *iphead(struct vde_buff *vdb) ++static inline struct iphdr *iphead(struct vde_buff *vdb) + { + return (struct iphdr*)(vdb->data + 14); + } + +-inline void *payload(struct vde_buff *vdb) ++static inline void *payload(struct vde_buff *vdb) + { + return (uint8_t*)(vdb->data + 14 + sizeof(struct iphdr)); + } From arnout at mind.be Sat Apr 23 16:15:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:04 +0200 Subject: [Buildroot] [git commit] package/tbb: fix nios2 build Message-ID: <20220423162249.4193884202@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=26470f64109326037f521e2cfa2c2a3c0fe5cedb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure on nios2 raised since bump to version 2021.5.0 in commit 3c66ac07a0783b21f95e699b3762edd15e27bdf9: In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_static.c:17, from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/itt_notify.cpp:43: /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h: In function 'long int __itt_interlocked_increment(volatile long int*)': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h:348:12: error: '__TBB_machine_fetchadd4' was not declared in this scope 348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L; | ^~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/2b55d1d171f21030be8312f984ea02ec8c8348a8 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0003-Define-ITT_ARCH_IA64-when-undefiend.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch new file mode 100644 index 0000000000..5b7f002499 --- /dev/null +++ b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch @@ -0,0 +1,27 @@ +From 6fad69889da67bc4d4baff4afa94f77da45e006d Mon Sep 17 00:00:00 2001 +From: Felix Yan +Date: Thu, 7 Oct 2021 14:16:16 +0800 +Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550) + +[Retrieved from: +https://github.com/oneapi-src/oneTBB/commit/6fad69889da67bc4d4baff4afa94f77da45e006d] +Signed-off-by: Fabrice Fontaine +--- + src/tbb/tools_api/ittnotify_config.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h +index 8ecc23781..f904a8e9d 100644 +--- a/src/tbb/tools_api/ittnotify_config.h ++++ b/src/tbb/tools_api/ittnotify_config.h +@@ -147,6 +147,10 @@ + # define ITT_ARCH_IA32E 2 + #endif /* ITT_ARCH_IA32E */ + ++#ifndef ITT_ARCH_IA64 ++# define ITT_ARCH_IA64 3 ++#endif /* ITT_ARCH_IA64 */ ++ + #ifndef ITT_ARCH_ARM + # define ITT_ARCH_ARM 4 + #endif /* ITT_ARCH_ARM */ From arnout at mind.be Sat Apr 23 16:15:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:10 +0200 Subject: [Buildroot] [git commit] package/wtfutil: new package Message-ID: <20220423162249.5CD18822ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e940ec95e01c2bc015ba384774bf8428119580a8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Some of wtfutils modules (i.e. plugins) can call to external tools, so it needs to fork(), so needs an MMU. Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 1 + package/wtfutil/Config.in | 8 ++++++++ package/wtfutil/wtfutil.hash | 2 ++ package/wtfutil/wtfutil.mk | 12 ++++++++++++ 4 files changed, 23 insertions(+) diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..bee1590e85 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2499,6 +2499,7 @@ comment "Utilities" source "package/tmux/Config.in" source "package/ttyd/Config.in" source "package/which/Config.in" + source "package/wtfutil/Config.in" source "package/xmlstarlet/Config.in" source "package/xxhash/Config.in" source "package/ytree/Config.in" diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in new file mode 100644 index 0000000000..8c3efcea5d --- /dev/null +++ b/package/wtfutil/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_WTFUTIL + bool "wtfutil" + depends on BR2_USE_MMU # fork() + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + help + WTF is the personal information dashboard for your terminal. + + https://wtfutil.com/ diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash new file mode 100644 index 0000000000..deb162794e --- /dev/null +++ b/package/wtfutil/wtfutil.hash @@ -0,0 +1,2 @@ +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk new file mode 100644 index 0000000000..6e841411a9 --- /dev/null +++ b/package/wtfutil/wtfutil.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# wtfutil +# +################################################################################ + +WTFUTIL_VERSION = 0.41.0 +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) +WTFUTIL_LICENSE = MPL-2.0 +WTFUTIL_LICENSE_FILES = LICENSE.md + +$(eval $(golang-package)) From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/zlog: add ZLOG_CPE_ID_VENDOR Message-ID: <20220423162249.E4BB381008@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=01427de27dbe4062ae1ee4d11114a2b6eda0c26f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:zlog_project:zlog is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azlog_project%3Azlog Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/zlog/zlog.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk index e2410d3665..c7b7035c1f 100644 --- a/package/zlog/zlog.mk +++ b/package/zlog/zlog.mk @@ -8,6 +8,7 @@ ZLOG_VERSION = 1.2.15 ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION)) ZLOG_LICENSE = LGPL-2.1 ZLOG_LICENSE_FILES = COPYING +ZLOG_CPE_ID_VENDOR = zlog_project ZLOG_INSTALL_STAGING = YES define ZLOG_BUILD_CMDS From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-zattoo: bump version to 19.7.13-Matrix Message-ID: <20220423162249.B5B8C84202@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8389e6ea54505263dabf6b439ac4ef64074620f8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash index 0b88d5c747..4f9a60e942 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 07d96b1b0c3b464c0bf02279fa8cab9ccdf675344129f3a970b14bafce225fb4 kodi-pvr-zattoo-19.7.11-Matrix.tar.gz +sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk index 95c5de0925..f2badeaa05 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 19.7.11-Matrix +KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/arptables: fix build with BR2_OPTIMIZE_0 Message-ID: <20220423162249.AB5BF81327@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c5ca1fd7e6e1300c0690ff0823e1d128e9ed32b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with BR2_OPTIMIZE_0 raised since the addition of the package in commit efc10eb6b87884f1f7917462d78af6953fcd99e3 and https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' 48 | #define GET_TARGET arpt_get_target | ^~~~~~~~~~~~~~~ libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' 16 | GET_TARGET(STRUCT_ENTRY *e) | ^~~~~~~~~~ In file included from .//include/libarptc/libarptc.h:7, from libarptc/libarptc.c:26: .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ibarptc-libarptc_incl.c-fix-build-with-O0.patch | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch new file mode 100644 index 0000000000..29f2d714e2 --- /dev/null +++ b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch @@ -0,0 +1,49 @@ +From 7d8285ae92253017a15282dd25f76d76eed49518 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 21 Apr 2022 13:43:23 +0200 +Subject: [PATCH] libarptc/libarptc_incl.c: fix build with -O0 + +Fix the following build failure with -O0: + +libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' + 48 | #define GET_TARGET arpt_get_target + | ^~~~~~~~~~~~~~~ +libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' + 16 | GET_TARGET(STRUCT_ENTRY *e) + | ^~~~~~~~~~ +In file included from .//include/libarptc/libarptc.h:7, + from libarptc/libarptc.c:26: +.//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here + 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) + | ^~~~~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 + +Signed-off-by: Fabrice Fontaine +--- + libarptc/libarptc_incl.c | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c +index c4d5de3..441f2de 100644 +--- a/libarptc/libarptc_incl.c ++++ b/libarptc/libarptc_incl.c +@@ -11,14 +11,6 @@ + /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See + COPYING for details). */ + +-#ifndef __OPTIMIZE__ +-STRUCT_ENTRY_TARGET * +-GET_TARGET(STRUCT_ENTRY *e) +-{ +- return (void *)e + e->target_offset; +-} +-#endif +- + static int sockfd = -1; + static void *arptc_fn = NULL; + +-- +2.35.1 + From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/zlog: fix CVE-2021-43521 Message-ID: <20220423162249.EF7218192E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6eefe2f8f443df4a284717b0dddf33566956e05a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master A Buffer Overflow vulnerability exists in zlog 1.2.15 via zlog_conf_build_with_file in src/zlog/src/conf.c. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...fer-overflow-at-zlog_conf_build_with_file.patch | 25 ++++++++++++++++++++++ package/zlog/zlog.mk | 3 +++ 2 files changed, 28 insertions(+) diff --git a/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch b/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch new file mode 100644 index 0000000000..d5f23e1b26 --- /dev/null +++ b/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch @@ -0,0 +1,25 @@ +From a5be8b3a8ddc498de4ad041757285136a55d97e3 Mon Sep 17 00:00:00 2001 +From: XiangfeiCH +Date: Tue, 12 Apr 2022 00:13:35 +0800 +Subject: [PATCH] Fix stack-buffer-overflow at zlog_conf_build_with_file + +[Retrieved from: +https://github.com/HardySimpson/zlog/commit/a5be8b3a8ddc498de4ad041757285136a55d97e3] +Signed-off-by: Fabrice Fontaine +--- + src/conf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/conf.c b/src/conf.c +index 0f862fa..9a4cb75 100644 +--- a/src/conf.c ++++ b/src/conf.c +@@ -305,7 +305,7 @@ static int zlog_conf_build_with_file(zlog_conf_t * a_conf) + /* Oops the buffer is full - what now? */ + pline = line; + } else { +- for (p--; isspace((int)*p); --p) ++ for (p--; p >= line && isspace((int)*p); --p) + /*EMPTY*/; + p++; + *p = 0; diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk index c7b7035c1f..1929a45a3e 100644 --- a/package/zlog/zlog.mk +++ b/package/zlog/zlog.mk @@ -11,6 +11,9 @@ ZLOG_LICENSE_FILES = COPYING ZLOG_CPE_ID_VENDOR = zlog_project ZLOG_INSTALL_STAGING = YES +# 0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch +ZLOG_IGNORE_CVES += CVE-2021-43521 + define ZLOG_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \ -C $(@D) all From arnout at mind.be Sat Apr 23 16:15:13 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:13 +0200 Subject: [Buildroot] [git commit] package/python-setuptools-rust: bump to version 1.2.0 Message-ID: <20220423162249.6A14C7FB06@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2f1a494f471d00bf60e2ad1cec4478a8a642b826 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash index 6bb42d918c..ae3a3463a5 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.hash +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 479fcd267ff48929bec9a7270e1a96d7 setuptools-rust-1.1.2.tar.gz -sha256 a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1 setuptools-rust-1.1.2.tar.gz +md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz +sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz # Locally computed sha256 checksums sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk index 394789b056..c2d8c6d9a7 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.mk +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_RUST_VERSION = 1.1.2 +PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools PYTHON_SETUPTOOLS_RUST_LICENSE = MIT PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 23 16:15:20 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:20 +0200 Subject: [Buildroot] [git commit] package/erofs-utils: fix build with gcc 4.8 Message-ID: <20220423162249.7F0687FB06@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2945215624ec66b4d691be527561a4a5b64e7028 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add upstream patch to disable -Werror and fix the following build failure with gcc 4.8 raised since bump to version 1.4 in commit c2e32e655802ad917eb240b8c2b7ac343ab55ec1 and https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a5df3b3acf545af289cb47faa6de0: In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, from ../include/erofs/internal.h:242, from ../include/erofs/inode.h:11, from main.c:12: In function 'memset', inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] __warn_memset_zero_len (); ^ Fixes: - http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/erofs-utils/0005-Add-disable-werror.patch | 136 ++++++++++++++++++++++ 1 file changed, 136 insertions(+) diff --git a/package/erofs-utils/0005-Add-disable-werror.patch b/package/erofs-utils/0005-Add-disable-werror.patch new file mode 100644 index 0000000000..8b286c3265 --- /dev/null +++ b/package/erofs-utils/0005-Add-disable-werror.patch @@ -0,0 +1,136 @@ +From eb79816f85db164af732a5bcbb42d09214845874 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 21 Apr 2022 00:10:18 +0200 +Subject: erofs-utils: add --disable-werror + +Add an option to disable -Werror to fix the following build failure [1] with +gcc 4.8 raised since version 1.4 and [2] + +In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, + from ../include/erofs/internal.h:242, + from ../include/erofs/inode.h:11, + from main.c:12: +In function 'memset', + inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: +/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] + __warn_memset_zero_len (); + +[1] http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 +[2] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a +Signed-off-by: Fabrice Fontaine +Link: https://lore.kernel.org/r/20220420221018.1396105-1-fontaine.fabrice at gmail.com +Signed-off-by: Gao Xiang +[Retrieved (and backported) from: +https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?h=dev&id=eb79816f85db164af732a5bcbb42d09214845874] +--- + configure.ac | 13 ++++++++++++- + dump/Makefile.am | 2 +- + fsck/Makefile.am | 2 +- + fuse/Makefile.am | 2 +- + lib/Makefile.am | 2 +- + mkfs/Makefile.am | 2 +- + 6 files changed, 17 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index fa917e6..53bf882 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([config.h.in]) + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_AUX_DIR(config) +-AM_INIT_AUTOMAKE([foreign -Wall -Werror]) ++AM_INIT_AUTOMAKE([foreign -Wall]) + + # Checks for programs. + AM_PROG_AR +@@ -65,6 +65,12 @@ AC_ARG_ENABLE([debug], + [enable_debug="$enableval"], + [enable_debug="no"]) + ++AC_ARG_ENABLE([werror], ++ [AS_HELP_STRING([--enable-werror], ++ [enable -Werror @<:@default=no@:>@])], ++ [enable_werror="$enableval"], ++ [enable_werror="no"]) ++ + AC_ARG_ENABLE(lz4, + [AS_HELP_STRING([--disable-lz4], [disable LZ4 compression support @<:@default=enabled@:>@])], + [enable_lz4="$enableval"], [enable_lz4="yes"]) +@@ -197,6 +203,11 @@ AS_IF([test "x$enable_debug" != "xno"], [], [ + CPPFLAGS="$CPPFLAGS -DNDEBUG" + ]) + ++# Configure -Werror ++AS_IF([test "x$enable_werror" != "xyes"], [], [ ++ CPPFLAGS="$CPPFLAGS -Werror" ++]) ++ + # Configure libuuid + AS_IF([test "x$with_uuid" != "xno"], [ + PKG_CHECK_MODULES([libuuid], [uuid]) +diff --git a/dump/Makefile.am b/dump/Makefile.am +index 9f0cd3f..c2bef6d 100644 +--- a/dump/Makefile.am ++++ b/dump/Makefile.am +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = dump.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} + dump_erofs_SOURCES = main.c +-dump_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++dump_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + dump_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} +diff --git a/fsck/Makefile.am b/fsck/Makefile.am +index 55b31ea..e6a1fb6 100644 +--- a/fsck/Makefile.am ++++ b/fsck/Makefile.am +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = fsck.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} + fsck_erofs_SOURCES = main.c +-fsck_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++fsck_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + fsck_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} +diff --git a/fuse/Makefile.am b/fuse/Makefile.am +index 5aa5ac0..3179a2b 100644 +--- a/fuse/Makefile.am ++++ b/fuse/Makefile.am +@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign + noinst_HEADERS = $(top_srcdir)/fuse/macosx.h + bin_PROGRAMS = erofsfuse + erofsfuse_SOURCES = dir.c main.c +-erofsfuse_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++erofsfuse_CFLAGS = -Wall -I$(top_srcdir)/include + erofsfuse_CFLAGS += -DFUSE_USE_VERSION=26 ${libfuse_CFLAGS} ${libselinux_CFLAGS} + erofsfuse_LDADD = $(top_builddir)/lib/liberofs.la ${libfuse_LIBS} ${liblz4_LIBS} \ + ${libselinux_LIBS} ${liblzma_LIBS} +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 4a25013..3fad357 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -28,7 +28,7 @@ noinst_HEADERS += compressor.h + liberofs_la_SOURCES = config.c io.c cache.c super.c inode.c xattr.c exclude.c \ + namei.c data.c compress.c compressor.c zmap.c decompress.c \ + compress_hints.c hashmap.c sha256.c blobchunk.c +-liberofs_la_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++liberofs_la_CFLAGS = -Wall -I$(top_srcdir)/include + if ENABLE_LZ4 + liberofs_la_CFLAGS += ${LZ4_CFLAGS} + liberofs_la_SOURCES += compressor_lz4.c +diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am +index 2a4bc1d..709d9bf 100644 +--- a/mkfs/Makefile.am ++++ b/mkfs/Makefile.am +@@ -4,6 +4,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = mkfs.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} ${libselinux_CFLAGS} + mkfs_erofs_SOURCES = main.c +-mkfs_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++mkfs_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + mkfs_erofs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${liblz4_LIBS} ${liblzma_LIBS} +-- +cgit + From arnout at mind.be Sat Apr 23 16:25:23 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:23 +0200 Subject: [Buildroot] [git commit] package/valgrind: fix compilation for uclibc Message-ID: <20220423162249.A135981327@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c88d24249d67e3e6b43d56b7052a155bd0150e0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Add upstream patch ([1]) to fix compilation for uclibc - Add autoreconf as the patch touches configure.ac [1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=9c9fd9ae24b45f915f0759d32f662835c26d37c3 Signed-off-by: Dario Binacchi Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...0003-coregrind-fix-compilation-for-uclibc.patch | 65 ++++++++++++++++++++++ package/valgrind/valgrind.mk | 2 + 2 files changed, 67 insertions(+) diff --git a/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch b/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch new file mode 100644 index 0000000000..ff8dc974d8 --- /dev/null +++ b/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch @@ -0,0 +1,65 @@ +From 9c9fd9ae24b45f915f0759d32f662835c26d37c3 Mon Sep 17 00:00:00 2001 +From: Dario Binacchi +Date: Fri, 8 Apr 2022 12:36:33 +0200 +Subject: [PATCH] coregrind: fix compilation for uclibc + +It fixes a known iusse whose details are described at [1] and more +generally it guarantees that Valgrind is properly compiled for ulibc. + +[1] https://www.mail-archive.com/valgrind-users at lists.sourceforge.net/msg05295.html + +Suggested-by Michael Trimarchi +Co-developed-by: Michael Trimarchi +Signed-off-by: Dario Binacchi +--- + configure.ac | 2 ++ + coregrind/m_debuginfo/minilzo-inl.c | 4 ++++ + coregrind/vg_preloaded.c | 4 ++++ + 3 files changed, 10 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 6f51dfd9f8fb..c627a9c17a4a 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -1204,6 +1204,8 @@ AC_SUBST(DEFAULT_SUPP) + AC_CHECK_HEADER([features.h]) + + if test x$ac_cv_header_features_h = xyes; then ++ AC_DEFINE([HAVE_HEADER_FEATURES_H], 1, ++ [Define to 1 if you have the `features.h' header.]) + rm -f conftest.$ac_ext + cat <<_ACEOF >conftest.$ac_ext + #include +diff --git a/coregrind/m_debuginfo/minilzo-inl.c b/coregrind/m_debuginfo/minilzo-inl.c +index 153d008fd44f..b45ec92eaa85 100644 +--- a/coregrind/m_debuginfo/minilzo-inl.c ++++ b/coregrind/m_debuginfo/minilzo-inl.c +@@ -1875,6 +1875,10 @@ extern "C" { + + #endif + ++#ifdef HAVE_HEADER_FEATURES_H ++#include ++#endif ++ + #undef LZO_HAVE_CONFIG_H + #include "minilzo.h" + +diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c +index 5e2098390847..3809811aede7 100644 +--- a/coregrind/vg_preloaded.c ++++ b/coregrind/vg_preloaded.c +@@ -45,6 +45,10 @@ + #include "pub_core_debuginfo.h" // Needed for pub_core_redir.h + #include "pub_core_redir.h" // For VG_NOTIFY_ON_LOAD + ++#ifdef HAVE_HEADER_FEATURES_H ++#include ++#endif ++ + #if defined(VGO_linux) || defined(VGO_solaris) || defined(VGO_freebsd) + + /* --------------------------------------------------------------------- +-- +2.32.0 + diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 52f2a04ffa..a3eabec9fe 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -14,6 +14,8 @@ VALGRIND_CONF_OPTS = \ --disable-ubsan \ --without-mpicc VALGRIND_INSTALL_STAGING = YES +# 0003-coregrind-fix-compilation-for-uclibc.patch +VALGRIND_AUTORECONF=YES # Valgrind must be compiled with no stack protection, so forcefully # pass -fno-stack-protector to override what Buildroot may have in From arnout at mind.be Sat Apr 23 16:15:27 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:27 +0200 Subject: [Buildroot] [git commit] package/argp-standalone: bump to version 1.4.1 Message-ID: <20220423162249.95B177FB06@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Switch site to an up-to-date fork - Drop first and second patches (not needed since: https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b https://github.com/ericonr/argp-standalone/commit/80691135993109ec0c8a41327418195fc6d82694 - Drop third patch (not needed since: https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043) - License is LGPL-2.1+ since https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b - README.md can be used as the license file since https://github.com/ericonr/argp-standalone/commit/da0206414df4fe55f70b6dfba86ec232acf5d444 - This bump will also fix the following build failure with BR2_OPTIMIZE_0 thanks to https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: /nvmedata/autobuild/instance-27/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: libargp.a(argp-help.o): in function `indent_to': /nvmedata/autobuild/instance-27/output-1/build/argp-standalone-1.3/argp-help.c:930: undefined reference to `argp_fmtstream_point' Fixes: - http://autobuild.buildroot.org/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../argp-standalone/0001-throw-in-funcdef.patch | 79 ---------------------- package/argp-standalone/0002-isprint.patch | 45 ------------ .../0003-fix_build_with_c99_compilers.patch | 68 ------------------- package/argp-standalone/Config.in | 2 +- package/argp-standalone/argp-standalone.hash | 4 +- package/argp-standalone/argp-standalone.mk | 11 +-- 6 files changed, 10 insertions(+), 199 deletions(-) diff --git a/package/argp-standalone/0001-throw-in-funcdef.patch b/package/argp-standalone/0001-throw-in-funcdef.patch deleted file mode 100644 index 4a90751e1e..0000000000 --- a/package/argp-standalone/0001-throw-in-funcdef.patch +++ /dev/null @@ -1,79 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone -# Copyright (C) 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - - -No __THROW in function implementation. - --jsaw - ---- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100 -+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100 -@@ -560,17 +560,17 @@ - # endif - - # ifndef ARGP_EI --# define ARGP_EI extern __inline__ -+# define ARGP_EI extern inline - # endif - - ARGP_EI void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - ARGP_EI int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -582,7 +582,7 @@ - } - - ARGP_EI int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } ---- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100 -+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100 -@@ -1290,13 +1290,13 @@ - /* Defined here, in case a user is not inlining the definitions in - * argp.h */ - void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -1310,7 +1310,7 @@ - } - - int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } diff --git a/package/argp-standalone/0002-isprint.patch b/package/argp-standalone/0002-isprint.patch deleted file mode 100644 index 9c08366f68..0000000000 --- a/package/argp-standalone/0002-isprint.patch +++ /dev/null @@ -1,45 +0,0 @@ -Subject: restrict value range passed to isprint function - -According to C standards isprint argument shall be representable as an -unsigned char or be equal to EOF, otherwise the behaviour is undefined. - -Passing arbitrary ints leads to segfault in nm program from elfutils. - -Restrict isprint argument range to values representable by unsigned char. - -Signed-off-by: Max Filippov ---- -Index: b/argp.h -=================================================================== ---- a/argp.h -+++ b/argp.h -@@ -23,6 +23,7 @@ - - #include - #include -+#include - - #define __need_error_t - #include -@@ -577,7 +578,7 @@ - else - { - int __key = __opt->key; -- return __key > 0 && isprint (__key); -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); - } - } - -Index: b/argp-parse.c -=================================================================== ---- a/argp-parse.c -+++ b/argp-parse.c -@@ -1292,7 +1292,7 @@ - int __key = __opt->key; - /* FIXME: whether or not a particular key implies a short option - * ought not to be locale dependent. */ -- return __key > 0 && isprint (__key); -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); - } - } - diff --git a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch b/package/argp-standalone/0003-fix_build_with_c99_compilers.patch deleted file mode 100644 index 56b753b607..0000000000 --- a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch +++ /dev/null @@ -1,68 +0,0 @@ -From b2dfa011a3fdcb7d22764d143517d0fbd1c2a201 Mon Sep 17 00:00:00 2001 -From: Emmanuel Dreyfus -Date: Wed, 22 Jan 2014 14:47:23 +0100 -Subject: [PATCH] Fix build with c99 compilers - -BUG: 764655 -Change-Id: If5dfdc9c7427bd3d39d8da8f79e33ae2da6a3137 -Signed-off-by: Emmanuel Dreyfus -Reviewed-on: http://review.gluster.org/6034 -Reviewed-by: Harshavardhana -Tested-by: Gluster Build System ---- - -diff --git a/argp-fmtstream.c b/argp-fmtstream.c -index 7f79285..494b6b3 100644 ---- a/argp-fmtstream.c -+++ b/argp-fmtstream.c -@@ -389,6 +389,7 @@ - weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf) - #endif - -+#if __STDC_VERSION__ - 199900L < 1 - /* Duplicate the inline definitions in argp-fmtstream.h, for compilers - * that don't do inlining. */ - size_t -@@ -471,5 +472,6 @@ - __argp_fmtstream_update (__fs); - return __fs->point_col >= 0 ? __fs->point_col : 0; - } -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - #endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ -diff --git a/argp-fmtstream.h b/argp-fmtstream.h -index e797b11..828f435 100644 ---- a/argp-fmtstream.h -+++ b/argp-fmtstream.h -@@ -153,6 +153,7 @@ - __const char *__fmt, ...) - PRINTF_STYLE(2,3); - -+#if __STDC_VERSION__ - 199900L < 1 - extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); - extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); - -@@ -163,6 +164,7 @@ - __const char *__str, size_t __len); - extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, - __const char *__str, size_t __len); -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - /* Access macros for various bits of state. */ - #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) -@@ -172,6 +174,7 @@ - #define __argp_fmtstream_rmargin argp_fmtstream_rmargin - #define __argp_fmtstream_wmargin argp_fmtstream_wmargin - -+#if __STDC_VERSION__ - 199900L < 1 - /* Set __FS's left margin to LMARGIN and return the old value. */ - extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, - size_t __lmargin); -@@ -193,6 +196,7 @@ - /* Return the column number of the current output point in __FS. */ - extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); - extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - /* Internal routines. */ - extern void _argp_fmtstream_update (argp_fmtstream_t __fs); diff --git a/package/argp-standalone/Config.in b/package/argp-standalone/Config.in index 3319dd945c..891d4aedaa 100644 --- a/package/argp-standalone/Config.in +++ b/package/argp-standalone/Config.in @@ -5,4 +5,4 @@ config BR2_PACKAGE_ARGP_STANDALONE help Glibc hierarchical argument parsing standalone library. - http://www.lysator.liu.se/~nisse/misc/ + https://github.com/ericonr/argp-standalone/ diff --git a/package/argp-standalone/argp-standalone.hash b/package/argp-standalone/argp-standalone.hash index c780f9e53f..1e56c663d4 100644 --- a/package/argp-standalone/argp-standalone.hash +++ b/package/argp-standalone/argp-standalone.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be argp-standalone-1.3.tar.gz +sha256 879d76374424dce051b812f16f43c6d16de8dbaddd76002f83fd1b6e57d39e0b argp-standalone-1.4.1.tar.gz # License file -sha256 bbb8919aa520069b0234faf5e83a94052d278419ffe97ca8e843ecc9b212d1ab argp.h +sha256 b5db0353a5b1902fc8a2e055d8899dd0c189ce73a31e67af9a0ffc24711b63f0 README.md diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk index 651bc400f4..80ca04046d 100644 --- a/package/argp-standalone/argp-standalone.mk +++ b/package/argp-standalone/argp-standalone.mk @@ -4,11 +4,14 @@ # ################################################################################ -ARGP_STANDALONE_VERSION = 1.3 -ARGP_STANDALONE_SITE = http://www.lysator.liu.se/~nisse/archive +ARGP_STANDALONE_VERSION = 1.4.1 +ARGP_STANDALONE_SITE = \ + $(call github,ericonr,argp-standalone,$(ARGP_STANDALONE_VERSION)) ARGP_STANDALONE_INSTALL_STAGING = YES -ARGP_STANDALONE_LICENSE = LGPL-2.0+ -ARGP_STANDALONE_LICENSE_FILES = argp.h +ARGP_STANDALONE_LICENSE = LGPL-2.1+ +ARGP_STANDALONE_LICENSE_FILES = README.md +# From git +ARGP_STANDALONE_AUTORECONF = YES ARGP_STANDALONE_CONF_ENV = \ CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/intel-mediadriver: bump version to 22.4.0 Message-ID: <20220423162249.C146581327@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=09087e75c833205410e2caa3ac9347fe53222809 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/intel-mediadriver/intel-mediadriver.hash | 2 +- package/intel-mediadriver/intel-mediadriver.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash index 5c3d25eed8..e6cd7a1cd3 100644 --- a/package/intel-mediadriver/intel-mediadriver.hash +++ b/package/intel-mediadriver/intel-mediadriver.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz +sha256 f070527b141174970a17195d0225ed43693c39fec83cd5e6d0effaa88e2a5553 intel-media-22.4.0.tar.gz sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk index 1536e60e96..55f1d5507d 100644 --- a/package/intel-mediadriver/intel-mediadriver.mk +++ b/package/intel-mediadriver/intel-mediadriver.mk @@ -6,7 +6,7 @@ # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack -INTEL_MEDIADRIVER_VERSION = 22.3.1 +INTEL_MEDIADRIVER_VERSION = 22.4.0 INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/intel-mediasdk: bump version to 22.4.0 Message-ID: <20220423162249.CD94484202@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cd8c04c6bcdb5d287d570437d798dcb149e61a5e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/intel-mediasdk/intel-mediasdk.hash | 2 +- package/intel-mediasdk/intel-mediasdk.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediasdk/intel-mediasdk.hash b/package/intel-mediasdk/intel-mediasdk.hash index 802131a772..3ca50d629e 100644 --- a/package/intel-mediasdk/intel-mediasdk.hash +++ b/package/intel-mediasdk/intel-mediasdk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 e1e74229f409e969b70c2b35b1955068de3d40db85ecc42bd6ff501468bc76d7 intel-mediasdk-22.3.0.tar.gz +sha256 c1ebabf4c9a32de4349d9a9c707116b230cbf8a9c4655eec9ee844fd67dab6e8 intel-mediasdk-22.4.0.tar.gz sha256 dfd67773578903698f9ff4a61eb8f2d84810cbecd56f3f3cee8c649f813b6ea6 LICENSE diff --git a/package/intel-mediasdk/intel-mediasdk.mk b/package/intel-mediasdk/intel-mediasdk.mk index b90d252b4f..06b7aa87d0 100644 --- a/package/intel-mediasdk/intel-mediasdk.mk +++ b/package/intel-mediasdk/intel-mediasdk.mk @@ -4,7 +4,7 @@ # ################################################################################ -INTEL_MEDIASDK_VERSION = 22.3.0 +INTEL_MEDIASDK_VERSION = 22.4.0 INTEL_MEDIASDK_SITE = https://github.com/Intel-Media-SDK/MediaSDK/archive INTEL_MEDIASDK_LICENSE = MIT INTEL_MEDIASDK_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/coreutils: drop patch Message-ID: <20220423162249.D9201801E4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d238a94ba714b992b14f47e7e1e7b813a1c3ca91 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop patch as it is not needed since bump to version 9.1 in commit 908caefa91dbf70e7f40c61113f0f1ae2b83230d because gnulib has been updated with https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-getrandom.c-fix-build-with-uclibc-1.0.35.patch | 46 ---------------------- 1 file changed, 46 deletions(-) diff --git a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch deleted file mode 100644 index 88390a1124..0000000000 --- a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch +++ /dev/null @@ -1,46 +0,0 @@ -From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 1 Apr 2021 07:49:46 +0200 -Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 - -Fix the following build failure with uclibc < 1.0.35 which is raised -since the addition of getrandom module in -https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: - -In file included from ./sys/random.h:40, - from getrandom.c:22: -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' - 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) - | ^~~~~~ -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? - 7 | #include - +++ |+#include - 8 | - -This patch is not upstreamable as it is only a workaround for -uclibc < 1.0.35, upstream uclibc has been patched with -https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 - -Fixes: - - http://autobuild.buildroot.org/results/c69f5c8b8e53ed3de753f0c6d2cdd99497504b49 - -Signed-off-by: Fabrice Fontaine ---- - lib/getrandom.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/getrandom.c b/lib/getrandom.c -index 41212fb32..0ad3f9648 100644 ---- a/lib/getrandom.c -+++ b/lib/getrandom.c -@@ -19,6 +19,7 @@ - - #include - -+#include - #include - - #include --- -2.30.2 - From vincent.stehle at laposte.net Sat Apr 23 16:46:41 2022 From: vincent.stehle at laposte.net (=?UTF-8?q?Vincent=20Stehl=C3=A9?=) Date: Sat, 23 Apr 2022 18:46:41 +0200 Subject: [Buildroot] [PATCH] configs/arm_foundationv8: bump to Linux 5.16.20 Message-ID: <20220423164641.28675-1-vincent.stehle@laposte.net> Signed-off-by: Vincent Stehl? Cc: Masahiro Yamada --- Hi, I have tested it successfully with both FVP v8 Foundation Platforms 11.12 build 38 and 11.14 build 21. Best regards, Vincent. configs/arm_foundationv8_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig index 363f288b87..3c63f5dc76 100644 --- a/configs/arm_foundationv8_defconfig +++ b/configs/arm_foundationv8_defconfig @@ -1,10 +1,10 @@ BR2_aarch64=y -# Linux headers same as kernel, a 5.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y +# Linux headers same as kernel, a 5.16 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.11" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.20" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8-gicv3-psci" -- 2.35.1 From salvador.joseluis at gmail.com Sat Apr 23 16:48:55 2022 From: salvador.joseluis at gmail.com (=?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=) Date: Sat, 23 Apr 2022 18:48:55 +0200 Subject: [Buildroot] [PATCH v2] package/zfs: bump version to 2.1.4 In-Reply-To: <24c989ad-5a35-f874-8629-71eac02ca046@mind.be> References: <24c989ad-5a35-f874-8629-71eac02ca046@mind.be> Message-ID: <20220423164855.782309-1-salvador.joseluis@gmail.com> package/zfs: bump version to 2.1.4 Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch because is already merged. Select libcurl as required dependency, because keylocation now supports https. In order to support uClibc, we have added the patch bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream. We update the test cases to use the latest LTS kernel, 5.15.x. Signed-off-by: Jos? Luis Salvador Rufo --- Changes v1 -> v2: - Replace libcurl "depends on" by "select" - Set the tests to the latest kernel LTS, 5.15.x. 5.17 is the maximum supported kernel, 3.10 is the minimum. ...law-in-the-Python-3-version-checking.patch | 106 ------------------ package/zfs/Config.in | 1 + package/zfs/zfs.hash | 5 +- package/zfs/zfs.mk | 6 +- support/testing/tests/package/test_zfs.py | 4 +- 5 files changed, 9 insertions(+), 113 deletions(-) delete mode 100644 package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch deleted file mode 100644 index 70978f9f4d..0000000000 --- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001 -From: Rich Ercolani <214141+rincebrain at users.noreply.github.com> -Date: Tue, 8 Jun 2021 20:20:16 -0400 -Subject: [PATCH] Correct a flaw in the Python 3 version checking - -It turns out the ax_python_devel.m4 version check assumes that -("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1 -is 10 or above and X is not. (Also presumably X+1=100 and ...) - -So let's remake the check to behave consistently, using the -"packaging" or (if absent) the "distlib" modules. - -(Also, update the Github workflows to use the new packages.) - -Reviewed-by: Brian Behlendorf -Reviewed-by: John Kennedy -Signed-off-by: Rich Ercolani -Closes: #12073 -(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48) -[Romain: drop rpm spec and github workflows changes] -Signed-off-by: Romain Naour ---- - config/always-pyzfs.m4 | 15 +++++++++++++++ - config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------ - 2 files changed, 42 insertions(+), 6 deletions(-) - -diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4 -index 76e07b593..fa39fd885 100644 ---- a/config/always-pyzfs.m4 -+++ b/config/always-pyzfs.m4 -@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [ - ]) - AC_SUBST(DEFINE_PYZFS) - -+ dnl # -+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs -+ dnl # -+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [ -+ ZFS_AC_PYTHON_MODULE([packaging], [], [ -+ ZFS_AC_PYTHON_MODULE([distlib], [], [ -+ AS_IF([test "x$enable_pyzfs" = xyes], [ -+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed") -+ ], [test "x$enable_pyzfs" != xno], [ -+ enable_pyzfs=no -+ ]) -+ ]) -+ ]) -+ ]) -+ - dnl # - dnl # Require python-devel libraries - dnl # -diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4 -index c51b45b7d..cdfbbf81f 100644 ---- a/config/ax_python_devel.m4 -+++ b/config/ax_python_devel.m4 -@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ - # Check for a version of Python >= 2.1.0 - # - AC_MSG_CHECKING([for a version of Python >= '2.1.0']) -- ac_supports_python_ver=`$PYTHON -c "import sys; \ -- ver = sys.version.split ()[[0]]; \ -- print (ver >= '2.1.0')"` -+ ac_supports_python_ver=`cat<= '3.11.0' -+ ac_supports_python_ver=`cat< References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> Message-ID: Le sam. 23 avr. 2022 ? 16:40, Arnout Vandecappelle a ?crit : > > > > On 16/04/2022 23:13, Fabrice Fontaine wrote: > > Add --static when calling pkg-config with BR2_SHARED_STATIC_LIBS to > > avoid the following build failure if a package (e.g. dash or zabbix) > > decide to use the static library of of its dependency instead of the > > shared library (e.g. edit or openssl) resulting in the following build > > failures: > > > > /home/autobuild/autobuild/instance-3/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/10.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: /home/autobuild/autobuild/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libedit.a(terminal.o): in function `terminal_tputs': > > terminal.c:(.text+0x1d4): undefined reference to `tputs' > > > > /nvmedata/autobuild/instance-28/output-1/host/lib/gcc/powerpc64le-buildroot-linux-gnu/10.3.0/../../../../powerpc64le-buildroot-linux-gnu/bin/ld: /nvmedata/autobuild/instance-28/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_globallookup': > > dso_dlfcn.c:(.text+0x28): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > > > > Fixes: > > - http://autobuild.buildroot.org/results/2032d6b1233ce5c79a0c9421052ab1b9184c5b89 > > - http://autobuild.buildroot.org/results/b0e1bd19f0612a0e90d89ad8fe9e294f57871f6b > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/pkgconf/pkgconf.mk | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk > > index 5d65f69c10..c40c8b9433 100644 > > --- a/package/pkgconf/pkgconf.mk > > +++ b/package/pkgconf/pkgconf.mk > > @@ -35,10 +35,10 @@ endef > > PKGCONF_POST_INSTALL_TARGET_HOOKS += PKGCONF_LINK_PKGCONFIG > > HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_INSTALL_WRAPPER > > > > -ifeq ($(BR2_STATIC_LIBS),y) > > -HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > > -else > > +ifeq ($(BR2_SHARED_LIBS),y) > > HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_SHARED > > +else > > +HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > > Err, so this would mean that we almost always link statically in the > SHARED_STATIC case? I don't think that that's what we want, really... > > If a package wants to link statically and is using pkg-config, why is not > calling pkg-config with --static? Something seems to be really off here... To my knowledge most packages are not adding --static when calling pkg-config. --static is added by buildroot through HOST_PKGCONF_POST_INSTALL_HOOKS. dash fails to build because -static is passed to gcc. -static is passed to gcc because package/Makefile.in is setting --enable-static (and --enable-shared): /home/fabrice/buildroot/output/host/bin/powerpc64-buildroot-linux-gnu-gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -static -Wl,--fatal-warnings -o dash alias.o arith_yacc.o arith_yylex.o cd.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o parser.o redir.o show.o trap.o output.o bltin/printf.o system.o bltin/test.o bltin/times.o var.o builtins.o init.o nodes.o signames.o syntax.o -ledit /home/fabrice/buildroot/output/host/lib/gcc/powerpc64-buildroot-linux-gnu/10.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: /home/fabrice/buildroot/output/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/libedit.a(terminal.o): in function `terminal_tputs': terminal.c:(.text+0x1d4): undefined reference to `tputs' dash doesn't not handle --enable-shared. It adds -static to gcc call depending on --{en,dis}able-static. So, the 'onlyy' other option would be to add DASH_CONF_OPTS += --disable-static to override what is set by package/Makefile.in I can send a v2 if you think that this solution is better. However, it'll have to be applied to dash and zabbix but perhaps to a large number of "application" packages ... > > Regards, > Arnout > > > > endif > > > > $(eval $(autotools-package)) Best Regards, Fabrice From fontaine.fabrice at gmail.com Sat Apr 23 16:52:45 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 18:52:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/arptables: fix build with BR2_OPTIMIZE_0 In-Reply-To: <79e52372-031a-2836-b2ab-2f78f629d29f@mind.be> References: <20220421115529.2625137-1-fontaine.fabrice@gmail.com> <79e52372-031a-2836-b2ab-2f78f629d29f@mind.be> Message-ID: Le sam. 23 avr. 2022 ? 18:30, Arnout Vandecappelle a ?crit : > > > > On 21/04/2022 13:55, Fabrice Fontaine wrote: > > Fix the following build failure with BR2_OPTIMIZE_0 raised since the > > addition of the package in commit > > efc10eb6b87884f1f7917462d78af6953fcd99e3 and > > https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: > > > > libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' > > 48 | #define GET_TARGET arpt_get_target > > | ^~~~~~~~~~~~~~~ > > libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' > > 16 | GET_TARGET(STRUCT_ENTRY *e) > > | ^~~~~~~~~~ > > In file included from .//include/libarptc/libarptc.h:7, > > from libarptc/libarptc.c:26: > > .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here > > 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) > > | ^~~~~~~~~~~~~~~ > > > > Fixes: > > - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 > > > > Signed-off-by: Fabrice Fontaine > > --- > > ...tc-libarptc_incl.c-fix-build-with-O0.patch | 49 +++++++++++++++++++ > > 1 file changed, 49 insertions(+) > > create mode 100644 package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > > > > diff --git a/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > > new file mode 100644 > > index 0000000000..29f2d714e2 > > --- /dev/null > > +++ b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > > @@ -0,0 +1,49 @@ > > +From 7d8285ae92253017a15282dd25f76d76eed49518 Mon Sep 17 00:00:00 2001 > > +From: Fabrice Fontaine > > +Date: Thu, 21 Apr 2022 13:43:23 +0200 > > +Subject: [PATCH] libarptc/libarptc_incl.c: fix build with -O0 > > + > > +Fix the following build failure with -O0: > > + > > +libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' > > + 48 | #define GET_TARGET arpt_get_target > > + | ^~~~~~~~~~~~~~~ > > +libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' > > + 16 | GET_TARGET(STRUCT_ENTRY *e) > > + | ^~~~~~~~~~ > > +In file included from .//include/libarptc/libarptc.h:7, > > + from libarptc/libarptc.c:26: > > +.//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here > > + 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) > > + | ^~~~~~~~~~~~~~~ > > + > > +Fixes: > > + - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 > > + > > +Signed-off-by: Fabrice Fontaine > > No upstream reference? Is upstream dead? upstream seems dead: no commit since December 2019: https://git.netfilter.org/arptables. > > Applied to master, thanks. > > Regards, > Arnout > > > +--- > > + libarptc/libarptc_incl.c | 8 -------- > > + 1 file changed, 8 deletions(-) > > + > > +diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c > > +index c4d5de3..441f2de 100644 > > +--- a/libarptc/libarptc_incl.c > > ++++ b/libarptc/libarptc_incl.c > > +@@ -11,14 +11,6 @@ > > + /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See > > + COPYING for details). */ > > + > > +-#ifndef __OPTIMIZE__ > > +-STRUCT_ENTRY_TARGET * > > +-GET_TARGET(STRUCT_ENTRY *e) > > +-{ > > +- return (void *)e + e->target_offset; > > +-} > > +-#endif > > +- > > + static int sockfd = -1; > > + static void *arptc_fn = NULL; > > + > > +-- > > +2.35.1 > > + Best Regards, Fabrice From fontaine.fabrice at gmail.com Sat Apr 23 17:06:24 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 19:06:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-zopfli: needs C++ Message-ID: <20220423170624.991570-1-fontaine.fabrice@gmail.com> python-zopfli needs C++ since its addition in commit 53972c82964dd1337dff4ccbcdd484d243aef0ba: nios2-buildroot-linux-gnu-gcc.br_real: error: zopfli/src/zopflipng/lodepng/lodepng.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/442ae4a02e691b4039d1694620f6284906cdc97f Signed-off-by: Fabrice Fontaine --- package/python-weasyprint/Config.in | 2 +- package/python-zopfli/Config.in | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 7fe99c3951..18d72d742e 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" - depends on BR2_INSTALL_LIBSTDCPP # python-brotli + depends on BR2_INSTALL_LIBSTDCPP # python-brotli, python-zopfli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime diff --git a/package/python-zopfli/Config.in b/package/python-zopfli/Config.in index 0b1ebca85c..dc68a2fef0 100644 --- a/package/python-zopfli/Config.in +++ b/package/python-zopfli/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_PYTHON_ZOPFLI bool "python-zopfli" + depends on BR2_INSTALL_LIBSTDCPP help Zopfli module for python. https://github.com/fonttools/py-zopfli + +comment "python-zopfli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From yann.morin.1998 at free.fr Sat Apr 23 17:11:55 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 23 Apr 2022 19:11:55 +0200 Subject: [Buildroot] [git commit] DEVELOPERS: add myself for wtfutil Message-ID: <20220423170211.62A4084216@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=664f1fc1c7dce0ab62668f9ec5fe13d9e9faff2d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master I forgot to do so when submitting the package, so let's fix that now. Signed-off-by: Yann E. MORIN --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..1bb90f8f33 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2987,6 +2987,7 @@ F: package/vde2/ F: package/w_scan/ F: package/wayland/ F: package/weston/ +F: package/wtfutil/ F: package/zisofs-tools/ F: support/download/ From fontaine.fabrice at gmail.com Sat Apr 23 17:19:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 19:19:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/clamav: doesn't build with zlib-ng Message-ID: <20220423171915.2459029-1-fontaine.fabrice@gmail.com> clamav doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of FAR: https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: In file included from nsis/nsis_zlib.h:32, from nsis/nulsft.c:38: nsis/nsis_zutil.h:36:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uchf' 36 | typedef uch FAR uchf; | ^~~~ Fixes: - http://autobuild.buildroot.org/results/524ee31face8be6a813829b036c4d6134ee5ca98 Signed-off-by: Fabrice Fontaine --- package/clamav/Config.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/clamav/Config.in b/package/clamav/Config.in index 990a818b5c..1f796e8b91 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_CLAMAV bool "clamav" + depends on BR2_PACKAGE_LIBZLIB depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() @@ -9,7 +10,6 @@ config BR2_PACKAGE_CLAMAV select BR2_PACKAGE_LIBMSPACK select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_ZLIB help ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. @@ -20,3 +20,6 @@ comment "clamav needs a toolchain w/ C++, dynamic library, threads, wchar" depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR depends on BR2_USE_MMU + +comment "clamav needs libzlib" + depends on !BR2_PACKAGE_LIBZLIB -- 2.35.1 From peter at korsgaard.com Fri Apr 22 14:55:29 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 22 Apr 2022 16:55:29 +0200 Subject: [Buildroot] [PATCH] package/libinput: security bump to version 1.20.1 Message-ID: <20220422145530.1963337-1-peter@korsgaard.com> Fixes the following security issues: - CVE-2022-1215: libinput format string vulnerability For details, see the advisory: https://www.openwall.com/lists/oss-security/2022/04/20/2 Signed-off-by: Peter Korsgaard --- package/libinput/libinput.hash | 2 +- package/libinput/libinput.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libinput/libinput.hash b/package/libinput/libinput.hash index d1c7cfb104..d8282ff03b 100644 --- a/package/libinput/libinput.hash +++ b/package/libinput/libinput.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 6c1f97892a7d599f97349e5e7c1239901fe00edcd4f6289f410034d5dc06cc85 libinput-1.20.0.tar.bz2 +sha256 08c003f724f361ed21f4dfbfe755a6c115b85385f1418907bb98f185457273f0 libinput-1.20.1.tar.bz2 # License files sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk index b814e3416d..a66b0afde5 100644 --- a/package/libinput/libinput.mk +++ b/package/libinput/libinput.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBINPUT_VERSION = 1.20.0 +LIBINPUT_VERSION = 1.20.1 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2 LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION) LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev -- 2.30.2 From fontaine.fabrice at gmail.com Sat Apr 23 17:48:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 19:48:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/clamav: fix libxml2 build Message-ID: <20220423174858.2445604-1-fontaine.fabrice@gmail.com> Pass ac_cv_path_xmlconfig to fix the following build failure with libxml2 raised since bump to version 0.102.0 in commit 007f49962a961f96ff87795217758ec3786d03ac and https://github.com/Cisco-Talos/clamav/commit/083ca38727b0ebd3979cf1ebc7b31148f6d5e7f7: aarch64-none-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include/libxml2' In file included from /usr/include/libxml2/libxml/parser.h:810, from others.c:62: /usr/include/libxml2/libxml/encoding.h:31:10: fatal error: unicode/ucnv.h: No such file or directory 31 | #include | ^~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/5bb3bea6d13ac8d497f6862374d65a59bea7ed09 Signed-off-by: Fabrice Fontaine --- package/clamav/clamav.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index cd2d06e6b3..e2ee99d02b 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -69,6 +69,7 @@ CLAMAV_CONF_OPTS += --without-libjson endif ifeq ($(BR2_PACKAGE_LIBXML2),y) +CLAMAV_CONF_ENV += ac_cv_path_xmlconfig=$(STAGING_DIR)/usr/bin/xml2-config CLAMAV_CONF_OPTS += --with-xml=$(STAGING_DIR)/usr CLAMAV_DEPENDENCIES += libxml2 else -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:24:57 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:24:57 +0200 Subject: [Buildroot] [PATCH 1/2] package/libhtp: bump to version 0.5.40 Message-ID: <20220423202458.299067-1-fontaine.fabrice@gmail.com> https://github.com/OISF/libhtp/releases/tag/0.5.40 Signed-off-by: Fabrice Fontaine --- package/libhtp/libhtp.hash | 2 +- package/libhtp/libhtp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash index eae3009c76..8759823e16 100644 --- a/package/libhtp/libhtp.hash +++ b/package/libhtp/libhtp.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d5956b49314fc6a058864130fbcf040a12584ee1e38f3b6ea52aedfa99d4c14a libhtp-0.5.39.tar.gz +sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk index 532eaa340b..bb8aa73b42 100644 --- a/package/libhtp/libhtp.mk +++ b/package/libhtp/libhtp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBHTP_VERSION = 0.5.39 +LIBHTP_VERSION = 0.5.40 LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) LIBHTP_LICENSE = BSD-3-Clause LIBHTP_LICENSE_FILES = LICENSE -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:24:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:24:58 +0200 Subject: [Buildroot] [PATCH 2/2] package/suricata: security bump to version 6.0.5 In-Reply-To: <20220423202458.299067-1-fontaine.fabrice@gmail.com> References: <20220423202458.299067-1-fontaine.fabrice@gmail.com> Message-ID: <20220423202458.299067-2-fontaine.fabrice@gmail.com> Various security, performance, accuracy and stability issues have been fixed. https://forum.suricata.io/t/suricata-6-0-5-and-5-0-9-released/2415 Signed-off-by: Fabrice Fontaine --- package/suricata/suricata.hash | 2 +- package/suricata/suricata.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash index 098740e769..032546fd92 100644 --- a/package/suricata/suricata.hash +++ b/package/suricata/suricata.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 a8f197e33d1678689ebbf7bc1abe84934c465d22c504c47c2c7e9b74aa042d0d suricata-6.0.4.tar.gz +sha256 0d4197047c84ba070dfc6b1d9f9ee92f52a71403bfac0e29b2554bb21fe00754 suricata-6.0.5.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk index 86d8970178..36e641bf90 100644 --- a/package/suricata/suricata.mk +++ b/package/suricata/suricata.mk @@ -4,7 +4,7 @@ # ################################################################################ -SURICATA_VERSION = 6.0.4 +SURICATA_VERSION = 6.0.5 SURICATA_SITE = https://www.openinfosecfoundation.org/download SURICATA_LICENSE = GPL-2.0 SURICATA_LICENSE_FILES = COPYING LICENSE -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:39:21 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:39:21 +0200 Subject: [Buildroot] [PATCH v2, 1/4] package/zlib: add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB Message-ID: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB Signed-off-by: Fabrice Fontaine --- package/zlib/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/zlib/Config.in b/package/zlib/Config.in index d6d94889a7..3a486376ac 100644 --- a/package/zlib/Config.in +++ b/package/zlib/Config.in @@ -1,3 +1,6 @@ +config BR2_PACKAGE_ZLIB_FORCE_LIBZLIB + bool + config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS bool default y if BR2_arm @@ -33,6 +36,7 @@ config BR2_PACKAGE_LIBZLIB config BR2_PACKAGE_ZLIB_NG bool "zlib-ng" depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS + depends on !BR2_PACKAGE_ZLIB_FORCE_LIBZLIB select BR2_PACKAGE_HAS_ZLIB help Zlib replacement with optimizations for -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:39:22 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:39:22 +0200 Subject: [Buildroot] [PATCH v2, 2/4] package/clamav: doesn't build with zlib-ng In-Reply-To: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> References: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Message-ID: <20220423203924.1796541-2-fontaine.fabrice@gmail.com> clamav doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of FAR: https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: In file included from nsis/nsis_zlib.h:32, from nsis/nulsft.c:38: nsis/nsis_zutil.h:36:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uchf' 36 | typedef uch FAR uchf; | ^~~~ Fixes: - http://autobuild.buildroot.org/results/524ee31face8be6a813829b036c4d6134ee5ca98 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2: - Force libzlib instead of depending on it to avoid a recursive dependency package/clamav/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/Config.in b/package/clamav/Config.in index 990a818b5c..2857f9cbf4 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_CLAMAV select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:39:23 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:39:23 +0200 Subject: [Buildroot] [PATCH v2,3/4] package/assimp: force libzlib In-Reply-To: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> References: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Message-ID: <20220423203924.1796541-3-fontaine.fabrice@gmail.com> Force libzlib instead of depending on it Signed-off-by: Fabrice Fontaine --- package/assimp/Config.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/assimp/Config.in b/package/assimp/Config.in index 833e559a6f..5ffb50cd79 100644 --- a/package/assimp/Config.in +++ b/package/assimp/Config.in @@ -2,8 +2,9 @@ config BR2_PACKAGE_ASSIMP bool "assimp" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_PACKAGE_LIBZLIB depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help Open Asset Import Library (assimp) is a portable Open Source library to import various well-known 3D model formats in a @@ -14,11 +15,7 @@ config BR2_PACKAGE_ASSIMP http://www.assimp.org comment "assimp needs a toolchain w/ C++, wchar" - depends on BR2_PACKAGE_LIBZLIB depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR -comment "assimp needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB - comment "assimp needs exception_ptr" depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:39:24 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:39:24 +0200 Subject: [Buildroot] [PATCH v2,4/4] package/quazip: force libzlib In-Reply-To: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> References: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Message-ID: <20220423203924.1796541-4-fontaine.fabrice@gmail.com> Force libzlib instead of depending on it Signed-off-by: Fabrice Fontaine --- package/quazip/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/quazip/Config.in b/package/quazip/Config.in index a670ed458c..bba5eddf3d 100644 --- a/package/quazip/Config.in +++ b/package/quazip/Config.in @@ -1,13 +1,11 @@ config BR2_PACKAGE_QUAZIP bool "quazip" - depends on BR2_PACKAGE_LIBZLIB depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit. http://quazip.sourceforge.net - -comment "quazip needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:54:13 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:54:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/argp-standalone: fix NLS build Message-ID: <20220423205413.4083987-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump to version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and https://github.com/ericonr/argp-standalone/commit/e5fe9ad9e83e6765cf8fa787f903d4c6792338b5: /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: libargp.a(argp-parse.o): in function `argp_version_parser': /home/buildroot/autobuild/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' Fixes: - http://autobuild.buildroot.org/results/adb9c4b747352497adbc9df866709b17fe0f9755 Signed-off-by: Fabrice Fontaine --- package/argp-standalone/argp-standalone.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk index 80ca04046d..269239fa5b 100644 --- a/package/argp-standalone/argp-standalone.mk +++ b/package/argp-standalone/argp-standalone.mk @@ -12,9 +12,11 @@ ARGP_STANDALONE_LICENSE = LGPL-2.1+ ARGP_STANDALONE_LICENSE_FILES = README.md # From git ARGP_STANDALONE_AUTORECONF = YES +ARGP_STANDALONE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) ARGP_STANDALONE_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" + CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" \ + LIBS=$(TARGET_NLS_LIBS) define ARGP_STANDALONE_INSTALL_STAGING_CMDS $(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:59:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:59:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/pcre2: fix legal info Message-ID: <20220423205934.446813-1-fontaine.fabrice@gmail.com> Commit 10648db92bc5c4bfd49b58ce4f1c213defdfc7de forgot to update hash of LICENCE file (update in year: https://github.com/PCRE2Project/pcre2/commit/3103b8f20a3b9944b177e812fde29fbfb8b90558): >>> pcre2 10.40 Collecting legal info ERROR: LICENCE has wrong sha256 hash: ERROR: expected: 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 ERROR: got : 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 Fixes: - http://autobuild.buildroot.org/results/275c5478d63d3d4016d440870e96f04230df69d6 Signed-off-by: Fabrice Fontaine --- package/pcre2/pcre2.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash index e4f7980749..e3fe6b2d53 100644 --- a/package/pcre2/pcre2.hash +++ b/package/pcre2/pcre2.hash @@ -2,4 +2,4 @@ # https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2.sig sha256 14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 pcre2-10.40.tar.bz2 # Locally computed -sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE +sha256 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 LICENCE -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 21:11:41 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 23:11:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/aubio: add host-pkgconf dependency Message-ID: <20220423211141.1704835-1-fontaine.fabrice@gmail.com> Add host-pkgconf dependency to fix the following build failure raised since the addition of the package in commit 280bb6807619e2e858836435f44aad0cccd27a40 and https://github.com/aubio/aubio/commit/e57859fd1f2c3c8b18b3f5ede122071c66166a8f: Checking for program 'pkg-config' : not found Could not find the program ['pkg-config'] Fixes: - http://autobuild.buildroot.org/results/e6f0e9b09e4b611daf5bb37091610d8de80f1f4d Signed-off-by: Fabrice Fontaine --- package/aubio/aubio.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index b79beccd97..b2eb2b5e6d 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -11,6 +11,7 @@ AUBIO_LICENSE = GPL-3.0+ AUBIO_LICENSE_FILES = COPYING AUBIO_INSTALL_STAGING = YES +AUBIO_DEPENDENCIES = host-pkgconf AUBIO_CONF_OPTS = \ --disable-docs \ --disable-atlas -- 2.35.1 From thomas.petazzoni at bootlin.com Sun Apr 24 04:39:37 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 24 Apr 2022 04:39:37 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-23 Message-ID: <20220424043944.1B12A81364@smtp1.osuosl.org> Hello, Autobuild statistics for 2022-04-23 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 24 | 5 | 1 | 30 | master | 164 | 338 | 1 | 503 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 42 host-gcc-final-10.3.0 | 17 git-2.31.2 | 16 toolchain-external-bootlin-... | 14 libopenssl-1.1.1n | 13 host-elf2flt-7e33f28df198c4... | 11 host-gcc-final-11.2.0 | 11 uclibc-1.0.40 | 11 ttyd-1.6.3 | 10 zchunk-1.2.2 | 9 host-libselinux-3.3 | 8 argp-standalone-1.3 | 7 host-wayland-1.20.0 | 5 linux-5.15.33 | 5 zlib-ng-2.0.6 | 5 host-libcap-2.63 | 4 package/pcre2/pcre2.mk:33: ... | 4 pcre2-legal-info | 4 polkit-a2bf5c9c83b6ae46cbd5... | 4 toolchain-external-bootlin | 4 glibc-2.34-109-gd64b08d5ba7... | 3 gobject-introspection-1.70.0 | 3 libgcrypt-1.10.0 | 3 libressl-3.4.3 | 3 tbb-2021.5.0 | 3 ace-7.0.6 | 2 acpid-2.0.33 | 2 aircrack-ng-1.6 | 2 bat-0.19.0 | 2 bitcoin-0.21.2 | 2 frr-8.2.2 | 2 fs/f2fs/f2fs.mk:64: /home/a... | 2 host-erofs-utils-1.4 | 2 host-gcc-final-9.4.0 | 2 host-gcc-initial-10.3.0 | 2 host-nodejs-14.18.3 | 2 kismet-2022-02-R1 | 2 libcap-ng-0.8.3 | 2 libglib2-2.70.4 | 2 linux-headers-5.10.104-cip3... | 2 linux-headers-5.15.33 | 2 netsniff-ng-0.6.8 | 2 perl-5.34.1 | 2 python3-3.10.2 | 2 qpid-proton-0.35.0 | 2 uacme-1.7.1 | 2 vlc-3.0.16 | 2 zstd-1.5.2 | 2 argp-standalone-1.4.1 | 1 at-3.2.5 | 1 aubio-0.4.9 | 1 azmq-1.0.3 | 1 bcg729-1.0.4 | 1 berkeleydb-5.3.28 | 1 clamav-0.103.5 | 1 containerd-1.6.2 | 1 ctorrent-dnh3.3.2 | 1 dhcp-4.4.3 | 1 docker-cli-20.10.14 | 1 elfutils-0.186 | 1 erofs-utils-1.4 | 1 eudev-3.2.11 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gobject-introspection | 1 gocryptfs-2.2.1 | 1 host-delve-1.8.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-go-1.18.1 | 1 ipmiutil-3.1.8 | 1 libdcadec-0.2.0 | 1 liblo-0.31 | 1 libnss-3.77 | 1 libvorbis-1.3.7 | 1 libwebsockets-4.3.1 | 1 linux-tools | 1 mesa3d-21.3.8 | 1 mongodb-4.2.18 | 1 musl-1.2.2 | 1 mxs-bootlets-10.12.01 | 1 netatalk-3.1.13 | 1 netdata-1.33.1 | 1 netsurf-3.10 | 1 nodejs-14.18.3 | 1 ocf-linux-20120127 | 1 openpgm-5-3-128 | 1 opus-1.3.1 | 1 pamtester-0.1.2 | 1 parted-3.4 | 1 pipewire-0.3.50 | 1 poppler-21.12.0 | 1 pppd-2.4.9 | 1 python-zopfli-0.2.1 | 1 qpdf-10.5.0 | 1 quickjs-2021-03-27 | 1 refpolicy | 1 rtl8189fs-73f826f0fa74b2fc1... | 1 rtl8723bs-11ab92d8ccd71c80f... | 1 ruby-3.1.0 | 1 s390-tools-2.20.0 | 1 scrypt-1.3.1 | 1 sdl2_ttf-2.0.18 | 1 shadowsocks-libev-3.3.5 | 1 syslog-ng-3.35.1 | 1 tinifier-3.4.0 | 1 toolchain-external-bootlin-... | 1 uclibc-ng-test-0844445e7358... | 1 uhd-3.15.0.0 | 1 wavemon-0.9.4 | 1 wtfutil-0.41.0 | 1 xen-4.14.4 | 1 xenomai | 1 xenomai-custom | 1 xfsprogs-5.14.2 | 1 xvisor-0.3.1 | 1 zziplib-0.13.72 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblaze | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/ce1d2b15a403c9adc03af1f50a38ca2322343f55 | microblazeel | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/b278c2e0983fec6a41d2c1a158e9520ecc30d7a6 | mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/3a2852a8d988caf649cd69ce587c1bbdd6ad828e | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/2fefe45d5c77dce95a5cfc9ab35c44bb5cd8425c | ORPH mips | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/26ff8b3eef8c57020f80a6787ceb627058790fd5 | x86_64 | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/c235a45db046c4709933f2cc2ae301ece1f3d87e | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/1ff19858b12a325cd0e5fb14bcbdd1f4a53e1efa | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/f655e5aa1edb6ad6a48bd85a7c826b7343956dbe | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4135ca14c1c0bbcae1052b71e3ff76c0d0b3febc | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/19fb09e70be245ec21e90fc3dee0d2734aac26cc | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/44765f623704265fe778ebe997992771684b0229 | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/255f875ede96cce0626deae76eb8e432e2278fa6 | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/25475c8661ba66f0ebefd6c4215142d643075673 | mipsel | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/adb9c4b747352497adbc9df866709b17fe0f9755 | mips64el | at-3.2.5 | NOK | http://autobuild.buildroot.net/results/73dd573b616d1223f2ed7f25bf0af63db0b7b727 | x86_64 | aubio-0.4.9 | NOK | http://autobuild.buildroot.net/results/e6f0e9b09e4b611daf5bb37091610d8de80f1f4d | sparc64 | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/85197b3c99b814d82f78e436f0281a705ee39321 | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/40fcd346235ab5868306fb36925f3389c1503c8f | i686 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/ec765d9e9a2d85f061da8bc6ba06fc26415b3e23 | i686 | bcg729-1.0.4 | NOK | http://autobuild.buildroot.net/results/893159eabccb3032827528409c7234c55d72ad3e | sh4eb | berkeleydb-5.3.28 | NOK | http://autobuild.buildroot.net/results/67fb97c6230a4c783277733a8792b1c1ccccc9be | ORPH s390x | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/c03c31509a948b8f64eb45e2e98b5259eb8ff547 | sparc64 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/bec67029988e53ef9fb65bae06397e39ea0906fa | x86_64 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/524ee31face8be6a813829b036c4d6134ee5ca98 | powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/bcd24683913b8cafdba2607997e69095c9ed328b | riscv64 | ctorrent-dnh3.3.2 | NOK | http://autobuild.buildroot.net/results/59272187ece2f6c447de1f2210f1731c514e1c54 | mipsel | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/2b91250a7af9f54def574446015eaa5689d0c46c | ORPH powerpc64le | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/5ac7be9bfd0f6afd01d80d4d36d401923219cb60 | microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/ec20945c3c67ac15e6d871790544da0d93804cc1 | ORPH or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/1fc55821e135d6c16bfa50e30d51d80d8517d491 | or1k | eudev-3.2.11 | NOK | http://autobuild.buildroot.net/results/22b0b5b78ddd6159de717daaa981fc7f48697818 | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/248454819919ec0e62109eed798401d90960dafd | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/9cca142c9fd842073d608b46a919e17ee4f41ff3 | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/aa17a761caf84107dad7fd8e1252bd5784e344e6 | s390x | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/5629675ccd580bbe0caf0dafd41c21904073f2d8 | nios2 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2b0c88f7bb707ff71d86f9798c286af3c4b0e990 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/a6ec1af12d5be570a9c734128d868f0b448212e4 | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/350ab7164b4b23d91cc88d0961268fb736dc9b79 | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/097c3e3dd4e21a9f059cac4fa4b093939b82e8eb | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/7653b7436762daa4e9ab6a454c769e600f1172b5 | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/8a91b957fbabb7cbb6ee8433b4a87ca6dd0f6608 | mips64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0ce507811a3b980d7632485ed9f21aafd784ec8f | microblazeel | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/96b57bf8889143e3e3a9d9f85fe9e5fa84fd511e | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8bcd5cdb269aaabbb8042e547fd3c1ae413f303a | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a3c9e2d56fd73b54712c08f5e3fe2245d75cfe24 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/510c2ae8aa0042ec410638b9046a45051a4faacc | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8b2810c4b93f7489dc5fd7d184755a0130186231 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/82b1fabd8f24e83663185daa28ca1def2fb0839e | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/388a451f683c682d79059150f568c6db1c063c3c | x86_64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/2c6cf629e3e77cdc92c3744fdf94439bf5c48502 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/42104e462a2476c9ec537a839eed6bab716c4e20 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/4732219bcc7d9e0048cbdcaacfa37ed2e651de98 | mips64el | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/0b7cabd5ac41dc16051ab054b19b7811ced19a96 | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/4ba10d3b1ba332f6567122938bff04a155035afc | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/db6f65f614bbdc9fb9134ed9fc9a5efb34b578fc | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/5e58f95dd1cce0c4ea4d171d56cfd8c7d2be6388 | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/895d15f6214ce970ff2d7f301c8b2a0d485c9a6d | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f03b8828dcac0062f617f15277a0a6965703f17e | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b97423fd568d2f59ddc014a1560d9d14d7c498a0 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/da418774cd942c6a1665f8b5045323fb37a7cc85 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/7b7ac4636e27184c186efe77ad86626a260a9b7b | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/68a334eb445990fcef32374d80bcebd6190a8f1e | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/1d5b225a3c31015b21251ea26817f21880c66724 | powerpc | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/8d5dd2a297ee271ba4465489a88131ff62dbc639 | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/38db813b7a0f132115bc1158f6d6177143cbcc3a | ORPH microblazeel | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/f5cf2e1635f5d2facfef72943b12e51a837e6183 | ORPH powerpc64le | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/7866d6bb3ea841a84950139f5114be2ff9c43cf6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/150b2754f0e65263384c2f47d8439c76ba34bf7f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b59da5dfa690a08803f940148385ef862a107296 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5014f248a18b81d1d94a1b1ecf1ebb6dbdc490c7 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/21d86b764acdcd287f8a5fbe514bd2857e99ba06 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ddcc118ce8ac6fc9d724ed191124ff375e4dac9d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5e1ad44918feff163bc8a2b66f58ec326053dd12 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d861a1c06fc0d4e87a08793967418164b6f383f1 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/93d95659870080082b31914d16afd57d6eb3c669 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f2e1d13b10902bb6849e8fba1b8fd24768d55754 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/86e71b30e256911b033b6391c7f7416398263863 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fdd3671497fddd8ef62e53341414436e3ed04f4e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f2137300bf7b248c888341ecb15eea1840159c25 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d101ebe98f178abcab9c2c8e126f6bd58376745f | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2830fbe1df369f9bbd874fe01187743fa2d1721a | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e219ff65d685a56118ae20ad6be8a67c5f45915a | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ba1aeba5e2357e819dbd9158835f0bf3d99cdd30 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/88afd9a03bcc359d227c9adcc707943a67d69be3 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9813eb1651f0e68a0c9a9d554abc95146eb6106a | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1be2749ba105155b25b17c55f95d16c201bb8c63 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9208ab138e5fda0efa22f57f9a588f8695585b49 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/17f1e952a2513ea2286248ab5d87a8871c296fbe | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/89a620c1f0ea34da1c246a1bd6ab13067a58e513 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/708ec49d02715c33594700f10f9ab24a020dc079 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a99529eb6ef8bb8595cc68a33d17509af52686ce | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9cea0c8369542fe494794d11d492a377db6b0dee | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ee08818d802faa366cb9147217f7e2eeb51ccf8f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bbf521377738f66c5fae744e144ca4f950fb54ce | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d772402b37344bb7530fb638e3796c59ad993ae6 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/791bee1c384f238b21079b7d545edd84a465fe8d | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d05c9c2a439a22506c2a1f3ee0ec1abbf8117061 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/013be4d821b6b399a1ca7421740219798070fb2d | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/12f5db16955026274442e1a2a5436f88ebd3d4a0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d40f4b573f89801557426b52d9a128b10c32dad3 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ceee8280f4dc11d74040efb2c8356082635bf379 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/48d401f2720d95b5b014d79ba064424104a17a0d | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8ddf1bf5ba685eaaee0d4f44e24dc484fb83dc1c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8a753605c5ca054060626725068b95fe93db177b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1e4e14113dd429d49bfadcd0e39af24c0b2af83a | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6f3c1fbf4477533fd8d0c3c9860c1bd657dd1059 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/40485305e900059d2ede37c94e8633f38fcb0e25 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1394b084b5d336ddec9a83b00a45a3923ea49726 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/37d285ddfcda952f57fc09b5d76a60bc1bf7fbba | arm | host-delve-1.8.0 | NOK | http://autobuild.buildroot.net/results/1f6a11830dedcfdd6c3780d497ecc82676711b2c | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/908f21753b9aa1ce864febc08348a4e8d945fea2 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/6ffc9efb7a74052e321796bec941e6e36c2a46f4 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/3319aa899a24b4cadff7fa8c86f5038871f76202 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/40bf5f1dda154bc00cd3d1072a5e8bf537e8d4be | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/3808ad4929e3f0335b9a2b208ef90607d9579a40 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/cc8828cf85ef2399fdfd2007d1a42421ee7bb3b5 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1e0764bbcea83b5713a9bdb0be79882669f6b187 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1605811fec7573d62c65f54fc2361ca4aec08f24 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/33f5af310a2462024bfde2cfc7ad0092ae089cbc | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/aa2258fd211d7cf5d250d72a5d816a56526cdee6 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8ca9428ee76e9f276428c10eeb6415bb4fc79076 | ORPH powerpc | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/c95a255b5fcd22026f12bea7bc9ea4cc9d7347d5 | powerpc | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/743c87306314692caee8d4089cc265fa516ded25 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/62abe44689ca5e44ab290277b9d0d0c3355ea923 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9e241464b3560058093f31158ac086d5eb9496cd | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/41862c970f935ccb5e85ef148ae14205cf388f70 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/56b6d8d15038aa16ae02ebed7df76b7620108ce8 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b2473895bf83124464ffdc78ddac525cdab3670f | i686 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/aac456ec4187d8dc0f636532d0c6969ba181c135 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/760039a4785665f8f0b06a2d8c31291de4d06ffe | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/87039bc76588617386f752c496b1c7f1af6f63c6 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a7871007e30e581e45766a0610163507747b5096 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/850355365150862c4b3a7397be50f10ebc623a82 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/75aef30ca22eecde37a0023897f8af8137b09c85 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/df3e799c7d7de3bca4df2f3e9439f6f900ef6866 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/33f6b28fe6dd69b732f1f28e931d09fcd355c217 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f035209777f7176796f9f9f6b0ab0870c5e59453 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b4367f8b92b6aa1c3afcb6e265490d549472ac1c | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/377f1de26da08262805c4b1e8625768289a63e8d | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1700fe029d255bc77d6561836d3516526b8176a6 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/094586de0d5f0dc35584f9f857e30190b373a013 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/929906c060a929b9284880c6baa2816d793408d2 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/a876ed81237ef2f439354e9577a84c56be192946 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/063a2c1faf2fa83ba94fdf7041bd9c5f702d67b1 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/c15f09d9139e8716728682661efc83f72cc69fca | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/bd0c1f0c58917350bfe9556f67dbb44ac143bab1 | riscv32 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/66d93da37a062f55fe727ba5e891399ee20cbe33 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/f26eb3a56452f74f00964f1c6b5ad346981d5978 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/ac38554c4beb0ae8855d49589db8529c2044cb63 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/6b7144ec0ae016d508bfa9175dd61fc9c3ee43e2 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/7bee04108abedc0d0d6afbd57e177ed1b1c7935c | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/29e4a15b91ef2349a74c6901cc51e76c8d4b23d1 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/a15c0ac69e83a9ca310ddca13887baa8d37c0912 | arceb | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/c2164d7f3559fb36199ef454e190fc641f86fe33 | i686 | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/ae05757b495acab8f04fc978afa1875312229869 | arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/ff17384fb775ef9dadeb0e9d06186310b042261b | ORPH mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/fb19830c41425e09ff6c5dd1551e8d964a72826c | or1k | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/5529e9fc41ec8f15ea049eab4fd9029c1de790c4 | riscv64 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/76ae1a79fca75ee2d02603f0c17753557c31ed0e | xtensa | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/e7393a49d0a2e55b313e10a682e4a16c447d61ec | nios2 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/c083e94b244635f7dc7502290fad9801cedfbfa2 | mips64el | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/a438a322182439b35423d9180bea280f50c17b13 | mips64el | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/0de1eb0b99ba5424d66d06f760a9ed43b47dff33 | sh2a | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/bacc5971ec9b475b2fd1158d34ca0f024b701b93 | powerpc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/6d350465c0d6ea6e66d5a918d481dd82f3b57be2 | or1k | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/8d6e5f1fa8445d3269e92372e935c0c2e626c4c0 | mips64 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/d16995f0decef9c9bf58cab4fa30f7daab6918fb | arc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/fee8f64c8f029bb6ef696c93dcb60fdbd1dc7ea9 | arc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/68e962ae8a8932e41c90748c0d975e06dec1d3f4 | x86_64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/3938e7dc64372834f13431c55a5740558588ec41 | riscv64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/d7b9ec0b771d0e7baaf6b41df4b631f6ea73eb46 | xtensa | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/2665cce484b529b27e859b9949e11bb180759c98 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/9ff7f7d2591e8e4117599b1e869a6b1f08567406 | aarch64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/601036e25b95d5dfab35252d3eb5afc94a760cfe | riscv32 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/877f6a3c21c64ae8373d1e6ef3d7af3c4fa67aa9 | mips64el | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/73c7fbb5c8e655d54c5228629953c9e1618e3627 | x86_64 | ipmiutil-3.1.8 | NOK | http://autobuild.buildroot.net/results/09e29529d8946d092a846f43d3c70caa688e5226 | m68k | kismet-2022-02-R1 | NOK | http://autobuild.buildroot.net/results/570356f958697d4e8dd3fde7618ce9a6c677a2a3 | ORPH mips64el | kismet-2022-02-R1 | NOK | http://autobuild.buildroot.net/results/6dead0f327b18bdeebafff30bf9e28f66676dc73 | ORPH riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/582a5192c1bd023dd9bc262829225b4c93dde04d | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a4d199d466d55b1fe037c766b134630915a081bd | arm | libdcadec-0.2.0 | NOK | http://autobuild.buildroot.net/results/b977b4b7ced11e8f265516c81f14b3d4170acbcc | powerpc64le | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/1cccb88db1cb4aa0c4ec6c9025b2c1a1abbf83c9 | ORPH i586 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/c194c45d94537917eeaa41806fb0b4b672f0fd91 | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/20b8c796d40fea4f8af259e05b868df2209e4817 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/b2c37779fb3b08ca4aa182c8c74d4692771c72df | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/470a7e419d17298bc368b5e2885f93da388b5343 | s390x | liblo-0.31 | NOK | http://autobuild.buildroot.net/results/82e034d80530b825c4a8b48a6c9f3cb53d9e16c9 | ORPH powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/3e857c00093579aa4d30df2a12541a3c17d908a7 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/eab02bb0e4872ae133e9db73b2802f82ce5b4f27 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/b06bd5c54b82ec1961d70d41a2cbd38458746153 | riscv64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/7e839da76258b3356edc3ecf86646480da1ddb23 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9c173ee09639d175be6cac41e6191bd9e6e4d199 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/b4579e6c2abbbb209e94aa902eee384fad489524 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/556c48f45039d7f9bed3f5ce663c289e9f6a3cc0 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6ba83db8cdd2c8df98359a07254b905d35ba41b4 | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/92465e21dfeb718745affb282ebe62fe86625d5e | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2989b84ade80093792804deb8b77882d3464eb65 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a0fc0f5e1dd96b0c9a5a0d566a799f0b7391b11e | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9490fc0cfa00b0fc6bb805c19449d9ffb04fac27 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e2257241834d7cfc8931ae48cc7e51797b45df6a | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/215ab3d526fd3d361dacb09bee6fc4d05e4e4a54 | arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/69a014c15a0728109bdd6c73e322ad1e69bc2398 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/57b744fefee4fce88c58cfae874ad435c75883b9 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/cd396d413a321cdcf722032e163213ec03c54118 | ORPH powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/8d00164d6235157bf2b76613e5cb3c41b7edaa12 | mips64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/7e39128718d07cc045bb9d2980628532368a7929 | nios2 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/dbeb32e14d4fbb0fb28cb45ad38bcd7317f31f61 | ORPH mipsel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/1c8b7e7674767d756cd41272471fd7192f6e3ae2 | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/ef85e0644149b43dee51dfdd09c7b93e759ba88f | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/020a5857059f8393ff3d22f6be2ec435f834d452 | ORPH arc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/6f3456f744c9d24abecbe90caed627461ffc2ec5 | ORPH or1k | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/a7409555962b03ac1617b0a70fa5551d34b61901 | ORPH mips64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/e88984af0fc8e885d0e0e20fdb37cd2dfe154439 | ORPH i686 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/9cc760aaf81bbb5841e18db1c7d0d9f6443f85fa | ORPH aarch64_be | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/5538f258c2b97769e6e22803cbca53b826562564 | ORPH arceb | linux-tools | NOK | http://autobuild.buildroot.net/results/0cf662be054a99a61eaa3654c3da6121b911cba0 | ORPH x86_64 | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/a77ee3aceca41b82b533348cf86d73f16f13e95c | x86_64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/da8ae226842567a144f8b2aa2358885bbe729631 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/6623a24008dbe8a23405dd65760a1262c3d2f379 | arm | mxs-bootlets-10.12.01 | NOK | http://autobuild.buildroot.net/results/8dac04915d8924e055755df56c8c3438dd0c69c6 | ORPH mips64el | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/adb081da4d57aae4a018b278e6eb5093acdf66a3 | ORPH or1k | netdata-1.33.1 | NOK | http://autobuild.buildroot.net/results/41fbffc1d40a2fff2f94562032c6f87ff8da8036 | mips | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/dfc442162b7351866a94f7f49e3c8d06d24b59d9 | mips64el | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/4fd1aaf9658a303b5d26ef3fb8e760d2423c9a03 | mipsel | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/51d1ceedef498cadc031fc6fd427cf2c26758258 | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/789e37fea3fb21cb5f11b6e95b27297b7e625b74 | s390x | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/4f052e8a6d95e234b8fecd241e441bb40859d74f | ORPH sparc64 | openpgm-5-3-128 | NOK | http://autobuild.buildroot.net/results/4be8ef7f9ea976be86bec398cefb4be597c7c181 | armeb | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/41fae0bd6dde3e412f2053e9e11472ed6901516d | ORPH powerpc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/074fa127952e0a688fbb81b914842fec6f212687 | sparc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/236e026b009b6239e04954075edc21d4530383c3 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f3a2f62afb002dfc91f000d10140cfaf9f29c2c5 | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/e8072df64d357db5f063e7fd19da379e0c3cb76f | mipsel | pamtester-0.1.2 | NOK | http://autobuild.buildroot.net/results/7e692465d86e8f36eab8c9d06048c72ddc7dc796 | ORPH arceb | parted-3.4 | NOK | http://autobuild.buildroot.net/results/4100fabc419e4b68be8200660b875b9cb3e424b9 | aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/275c5478d63d3d4016d440870e96f04230df69d6 | ORPH aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/4081ac1861566409f0d3a6138a7509c2703775d4 | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/947d049b551e4eab4476e786fc5d3bad0318e17a | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/596551e6d0359a6e666f9dddd27b7ed7ac85670f | ORPH or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/3992ade25915277d67adde87bf001fb94863ad5c | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/830c2e6949f7aacf52a7216b3439bdc1f556712b | microblazeel | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/b1dea433a458ff4206f0b86366d5c59646c95b6a | mips | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/a410d02bff00f7b92b070f1e97cf269f2099cf99 | s390x | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/85ec983ab31257b52d71e37ce8be452e30e5087b | mips | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/068481edf15c35d4a4f7a931883d7ea420504c24 | powerpc64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/a30854c20b47c1a1e368c8c45dae6f90a861f339 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/d2b2f402b9c0fbf0a75667da95be690c6c9984fa | m68k | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/1301e8a740bf0d192914a8d432b8f57acff4a67c | ORPH nios2 | python-zopfli-0.2.1 | NOK | http://autobuild.buildroot.net/results/442ae4a02e691b4039d1694620f6284906cdc97f | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3eb992740b1a943a6f95e09393ca7f307aa8e480 | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/703a225405a3ee0ab77267874ada2540c5b3be23 | sparc | qpdf-10.5.0 | NOK | http://autobuild.buildroot.net/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc | mips | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/8a68832e8b0fdba68b41c39c5149ac1955202eb1 | nios2 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/53778bae83ab2b2fbd1a2e14ae4dfc36893e63c2 | mips64el | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/b6096d84ce3efdaf6303479d33740677a3cc6f00 | mipsel | refpolicy | NOK | http://autobuild.buildroot.net/results/58a606a085873de6b6c4d69608b2de163a84f06c | sparc | rtl8189fs-73f826f0fa74b2fc1... | NOK | http://autobuild.buildroot.net/results/51e95561103e40ae94f38b9bb944bdfcd4ab50ed | riscv32 | rtl8723bs-11ab92d8ccd71c80f... | NOK | http://autobuild.buildroot.net/results/74b8cfc44ddbe72bbb6f0f27ff8eebcc4d091584 | arc | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/7104fb94bed1a5cc30bee3b647d83aa3b1e1867c | s390x | s390-tools-2.20.0 | NOK | http://autobuild.buildroot.net/results/b06efca9b6e0c58792834b16d15c8c2d0f1c3e6b | arceb | scrypt-1.3.1 | NOK | http://autobuild.buildroot.net/results/8eb33d1f552f63a38e7b29c8939ec5076a001ad6 | arm | sdl2_ttf-2.0.18 | NOK | http://autobuild.buildroot.net/results/bff32aec18eed89641e3130d547a1284a196c146 | mips64el | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/42e1c0c0c2b338cfa4afa17dd4c00433bf3ea334 | microblaze | syslog-ng-3.35.1 | NOK | http://autobuild.buildroot.net/results/03cb3f6d826c2f5f02f34f071d97b36b9e370f3a | arc | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/a1fe1a737895ace8fe999361b1e6f16da02a4124 | s390x | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/7c73f311666a463ac0ed410e7dea606c8828f3f2 | s390x | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/f5c3607ac35117dd1a831cc92c534897d985ed1f | s390x | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/5f26c47e9d83738672e1297ecb15b24950538d52 | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/ef1b603904c6d12c2e1ba779f19ea08d50fc95db | sh4aeb | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/d7185ba67e4176cb1d9a8c5d353494abe8fdd1e5 | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/bb573c2fdf53e32301e1ca0e8714cdc9d0d7c7f6 | sh4aeb | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/3665d80bae7f4ec92b4868c5e0515862f456b933 | aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/05b01deaa1bd422b818c24e3453410d1666fff0b | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/eba66342a820e9a81a49d4099b62c0cda058a9f7 | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/7ad00b51c0cbfed3a7c69912822a4f1464ba6abe | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/eec0adba76d51f0f151208767380f8cacf05a874 | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ad58df0343ebb19ecddb1da5c29261b3ee3a37a7 | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/5735dd85e050fc5120a096a8f4e0226fa3485d18 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ee093a81721dd3dc97ebb2895b29d31e8a2303ec | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/71f559374b0487731ea86bca405e479c3d9b91b8 | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/24b1695c19f6d22826b36e1506de6e0ee88a70f1 | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/2c07e2396475b0831417dce92b0a24eba918b8d3 | ORPH sh4 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/99cedd4820357700a82ef24cd4b08204d94b15cf | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d181b575ed6bf4151890ae1b5e038ebffe8d991d | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/45c44f3520820552616851f0e1197a305d705adf | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ec68a4600471b09851661379ad70ee5ae0d52cee | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/a7a53846b04ca7c368694880af769b11748904bb | ORPH s390x | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/d7e28fba959a288f9c102e9e580391c2054f23d8 | x86_64 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/3488de6873893b6e5fce886ffdcd3079c7faa7e0 | powerpc64le | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/2a8c253f2813b2f1ce9b8c704f072045296509e9 | riscv32 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/da7982b1b3e43b60bd05f2b9fb75602dbdd9295b | microblaze | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/b25e68328345bb3e3e08e75023a856efc7bd7685 | powerpc64 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/b194175b43912f43aa91bcbe13e38107217683ed | powerpc | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/64b7852cafb66847acce19b4e8e908d348b6a29d | powerpc | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/3e4b6936a03a64489525c86dde47663411c5fe22 | riscv32 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/6cba134a7802952ff610e3be09d29b4b74d3e048 | arc | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/ff8e03128e94905279caa58cb5b6155060826214 | powerpc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/e11ae53f8ca04547cee844c24f25f546c5279cf7 | arceb | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/592ca93af693636ae2f491b82a428ba60f0f1129 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7b5770169526af9af8df8d9594b55b57bf23188a | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cc2d52e552dc3f6446411bea7aaa3d36c6582595 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/e3480c8cbbe2fbad7b878c4f54d4c470bf3db5ff | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f721e20428e192421b9295f73d27642d162b8ec2 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7339f9891c84c2e486b2edc701ad04af71df40b2 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/d5aa4cd9e2c5868b2571c117edf6b4381334bc86 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1007358011be55ccd49290de6b9aa06ea5067668 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/50e0f0f817e2100357c7b84a9a384c9f81bb7ae9 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7bfa856cf2fd52e739e3f62278976641d805e3c8 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c14748591f374018274bd0eec35db692940722f4 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b82df5c3956e822f343e25bf3fac32d9fc6774c2 | mips64 | uclibc-ng-test-0844445e7358... | NOK | http://autobuild.buildroot.net/results/e4956e8c0f1cbb6441bab17ebae9e414f842e8e4 | riscv32 | uhd-3.15.0.0 | NOK | http://autobuild.buildroot.net/results/0b91bca5fcda9d16c0196fc678e4266c28da8db2 | xtensa | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/05619468a8f1be8676c556ccb646cfb5ebce2955 | m68k | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/bc8e2672592028d09aad3f7e39acf46aef931300 | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/947faae47c5ff605cc94933da10ed4464dc9f916 | x86_64 | wtfutil-0.41.0 | NOK | http://autobuild.buildroot.net/results/3ef9baabddfc1c5d39c978fa9c56afe32d4edd61 | arm | xen-4.14.4 | NOK | http://autobuild.buildroot.net/results/779c95c959ac9f59dfcfb836cf1b84101765e1c9 | xtensa | xenomai | NOK | http://autobuild.buildroot.net/results/8e7e979a8c5017cba28883740e6290cf094a9cc2 | s390x | xenomai-custom | NOK | http://autobuild.buildroot.net/results/82c456a714e413634416c937d4353497e51c7398 | mips64el | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/8b24eedbcc0f446c8ac4912847f997f65e4462ef | ORPH riscv32 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/6615c04510286c8649a2ffe3e865cd3f301e64bb | mips64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/273be05265647e6a4933238c8e51f96ce88f9f18 | mips | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/3d33e5b7544b71897e4fc7ec58de4c62188d41c0 | m68k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/6fbb531acc9810149f36fd4f913ef3c575c9cbf4 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/55c88543f659e6fcebe0cf64346c19f7253003fc | or1k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b5e243be965e7b198648bef198f420f3fd1dc882 | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/51b968d51888ff4efde719a6ccba906e360ccb52 | microblaze | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/3f473e17382e4cd7d0f90a4ce2776258d00e0597 | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/32b5225a3e973a48df940a5a648ed9db550f63b1 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/28f285e412c90185eecbb8905afe412f0fee2816 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0c05f5850ec57fb608354bade37b212269606d49 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f73b5cb5157b478faccb5e3e003c6086047f72f9 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a8629e263e1ea731f1f2bc8ccfeb4982bbd4c4aa | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/41b5b34adac9f2c4b54bbcd7b0f09a41b8c99d09 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/33c8887bdd745af20da34ed54fd347c9e0988715 | ORPH microblaze | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/7d52b523b1b9e5b1aaff8d63d2929d847f6126b2 | microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/db26d7284cdd4d1d8d3262fd67b9db38e24ceecf | arm | zziplib-0.13.72 | NOK | http://autobuild.buildroot.net/results/46132594ec9e4ea5f69fe567697d8243ed716bb8 | Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 3 host-pahole-v1.23 | 1 libuwsc | 1 poppler-21.12.0 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- riscv32 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/45dcfee26ab78f50fb6f8215041455a17931ab0f | m68k | libuwsc | TIM | http://autobuild.buildroot.net/results/9ab10fb18c26481f99cb50abd1ea778168737568 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/7c1cf4dbaa6d47ef87c29173861c79bd74a51e35 | arm | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/04d591533ec086cfc075e2d9462ea592625597f9 | xtensa | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/59a0377c8c8d39dde7a046c39d1181ffedab3c08 | powerpc64le | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/7aaca34bb51c9ebcd6b2cfb798ab15dba4b8232c | -- http://autobuild.buildroot.net From fperrad at gmail.com Sun Apr 24 07:20:16 2022 From: fperrad at gmail.com (Francois Perrad) Date: Sun, 24 Apr 2022 09:20:16 +0200 Subject: [Buildroot] [PATCH] package/libressl: bump to version 3.5.2 Message-ID: <20220424072016.3459504-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- package/libressl/Config.in | 2 ++ package/libressl/libressl.hash | 2 +- package/libressl/libressl.mk | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch index 98fe250f6..1c59aec72 100644 --- a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch +++ b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch @@ -20,7 +20,7 @@ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 46f24b2ea..4048a6e63 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h -@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, +@@ -408,11 +408,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, #define SSL_OP_NO_TLSv1 0x04000000L #define SSL_OP_NO_TLSv1_2 0x08000000L #define SSL_OP_NO_TLSv1_1 0x10000000L diff --git a/package/libressl/Config.in b/package/libressl/Config.in index 600829cb9..aa42c21a9 100644 --- a/package/libressl/Config.in +++ b/package/libressl/Config.in @@ -6,4 +6,6 @@ config BR2_PACKAGE_LIBRESSL_BIN Install the openssl binary to the target file system. This is a command line tool for doing various cryptographic stuff. + https://www.libressl.org/ + endif diff --git a/package/libressl/libressl.hash b/package/libressl/libressl.hash index e92399871..c3590798d 100644 --- a/package/libressl/libressl.hash +++ b/package/libressl/libressl.hash @@ -1,4 +1,4 @@ # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz +sha256 56feab8e21c3fa6549f8b7d7511658b8e98518162838a795314732654adf3e5f libressl-3.5.2.tar.gz # Locally computed sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk index 0bb468ced..c9c484d5d 100644 --- a/package/libressl/libressl.mk +++ b/package/libressl/libressl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRESSL_VERSION = 3.4.3 +LIBRESSL_VERSION = 3.5.2 LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) LIBRESSL_LICENSE_FILES = COPYING -- 2.32.0 From fontaine.fabrice at gmail.com Sun Apr 24 08:19:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 10:19:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed Message-ID: <20220424081903.3535909-1-fontaine.fabrice@gmail.com> Link with -latomic if needed to avoid the following build failure since bump to version 10.5.0 in commit b5352c2177011ca389cbb7c68e78447549cbdaaa and https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c: /nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()': QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8' Fixes: - http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc Signed-off-by: Fabrice Fontaine --- package/qpdf/qpdf.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk index 8e0769059d..a58781f4f1 100644 --- a/package/qpdf/qpdf.mk +++ b/package/qpdf/qpdf.mk @@ -32,4 +32,8 @@ else QPDF_CONF_OPTS += --disable-crypto-openssl endif +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +QPDF_CONF_ENV += LIBS=-latomic +endif + $(eval $(autotools-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 24 08:45:38 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 10:45:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/omniorb: fix openssl build Message-ID: <20220424084538.2740476-1-fontaine.fabrice@gmail.com> Add host-pkgconf dependency to fix the following build failure with openssl raised since commit 9d519412d65e13e4a7ffbb83edd8d1e4b2dfe4b7: /nvmedata/autobuild/instance-25/output-1/per-package/omniorb/host/bin/m68k-buildroot-linux-uclibc-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -fexceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I./.. -I../../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY -D__OMNIORB4__ -I../../../../../stub -D_REENTRANT -I/usr/include -I. -I. -I../../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__m68k__ -o static/sslActive.o sslActive.cc m68k-buildroot-linux-uclibc-g++: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/stdlib.h:55, from /usr/include/openssl/crypto.h:14, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/ssl.h:18, from ../../../../../include/omniORB4/sslContext.h:48, from sslActive.cc:32: /usr/include/bits/floatn.h:75:70: error: unknown machine mode '__TC__' 75 | typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__))); | Fixes: - http://autobuild.buildroot.org/results/47b1906eb7dd122a81191d14ad663c5931cbfade Signed-off-by: Fabrice Fontaine --- package/omniorb/omniorb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk index b44ec53fd5..d6434735cf 100644 --- a/package/omniorb/omniorb.mk +++ b/package/omniorb/omniorb.mk @@ -25,7 +25,7 @@ HOST_OMNIORB_CONF_OPTS += --disable-longdouble ifeq ($(BR2_PACKAGE_OPENSSL),y) OMNIORB_CONF_OPTS += --with-openssl -OMNIORB_DEPENDENCIES += openssl +OMNIORB_DEPENDENCIES += host-pkgconf openssl else OMNIORB_CONF_OPTS += --without-openssl endif -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 24 08:45:17 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:45:17 +0200 Subject: [Buildroot] [git commit] arch/Config.in.sh: move BR2_ARCH_HAS_MMU_MANDATORY one level up Message-ID: <20220424084158.BCFB284150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ec190481a76b494d348e0e03cfa3c580bb444d03 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Now that all SuperH cores have an MMU, and must use it, move back the select BR2_ARCH_HAS_MMU_MANDATORY one level up. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in | 1 + arch/Config.in.sh | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index e51ef60f40..1ea4e21413 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -228,6 +228,7 @@ config BR2_s390x config BR2_sh bool "SuperH" + select BR2_ARCH_HAS_MMU_MANDATORY help SuperH (or SH) is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by diff --git a/arch/Config.in.sh b/arch/Config.in.sh index f00954bb5e..d3acc8ccf8 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -7,16 +7,12 @@ choice config BR2_sh4 bool "sh4 (SH4 little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4eb bool "sh4eb (SH4 big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4a bool "sh4a (SH4A little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY endchoice config BR2_ARCH From yann.morin.1998 at free.fr Sun Apr 24 08:46:22 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:46:22 +0200 Subject: [Buildroot] [git commit] arch/Config.in: remove BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64* Message-ID: <20220424084158.C55318414E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=42a3300ae5641bf45c4c8f6a1306f4e06dc93034 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Selecting BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64 and BR2_aarch64_be doesn't make much sense, because the actual ARM cores described in arch/Config.in.arm then all select BR2_ARCH_HAS_MMU_OPTIONAL. So we end up with both BR2_ARCH_HAS_MMU_OPTIONAL and BR2_ARCH_HAS_MMU_MANDATORY, which doesn't make any sense. To prevent this, we remove the selection of BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64 and BR2_aarch64_be, and let arch/Config.in.arm do its job. What arch/Config.in.arm does is currently incorrect, but it will be fixed in a separate commit. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index 1ea4e21413..49e16fce38 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -60,7 +60,6 @@ config BR2_armeb config BR2_aarch64 bool "AArch64 (little endian)" select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY help Aarch64 is a 64-bit architecture developed by ARM Holdings. http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php @@ -69,7 +68,6 @@ config BR2_aarch64 config BR2_aarch64_be bool "AArch64 (big endian)" select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY help Aarch64 is a 64-bit architecture developed by ARM Holdings. http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php From yann.morin.1998 at free.fr Sun Apr 24 08:28:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:28:53 +0200 Subject: [Buildroot] [git commit] arch/Config.in.sh: fixup MMU selection Message-ID: <20220424084158.A86DF8414E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa8a2dacf2ef3081a403a82e93b3815383d8a107 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master BR2_sh selects BR2_ARCH_HAS_MMU_OPTIONAL, which means that it's up to the user to decide whether he wants to use MMU or not on SuperH platforms. However: - On SH2A, there is no MMU at all, so being to select "Use MMU" doesn't make any sense. - On SH4, there is no support for *not* using the MMU, so disabling "Use MMU" will cause the build to fail. In order to fix this, we move the MMU selection to arch/Config.in.sh: - BR2_sh2a selects nothing, so that it's always noMMU - BR2_sh4* select BR2_ARCH_HAS_MMU_MANDATORY so that the MMU is always used. Fixes: http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20/ (FLAT selected with sh4aeb) http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9/ (FLAT selected with sh4a) http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06/ (FLAT selected with sh4) Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in | 1 - arch/Config.in.sh | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/Config.in b/arch/Config.in index 98b0e40d51..e51ef60f40 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -228,7 +228,6 @@ config BR2_s390x config BR2_sh bool "SuperH" - select BR2_ARCH_HAS_MMU_OPTIONAL help SuperH (or SH) is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by diff --git a/arch/Config.in.sh b/arch/Config.in.sh index c1ba449dd5..a012cbf491 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -9,12 +9,16 @@ config BR2_sh2a bool "sh2a (SH2A big endian)" config BR2_sh4 bool "sh4 (SH4 little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4eb bool "sh4eb (SH4 big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4a bool "sh4a (SH4A little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY endchoice config BR2_ARCH From yann.morin.1998 at free.fr Sun Apr 24 08:49:58 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:49:58 +0200 Subject: [Buildroot] [git commit] arch/Config.in.arm: re-organize MMU selection Message-ID: <20220424084158.CDE188414F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c925613dc1d3af6031c9a39bb51b418cfe2b9d8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master So far, all ARM cores were selecting BR2_ARCH_HAS_MMU_OPTIONAL, except no-MMU cores which were selecting nothing. In practice, MMU-capable ARM cores are always used with their MMU enabled, so it doesn't make sense to support the use case of not using the MMU on such cores. Consequently, to simplify things, we group the MMU handling in the BR2_ARM_CPU_ARM* options: BR2_ARM_CPU_ARMV4, BR2_ARM_CPU_ARMV5, BR2_ARM_CPU_ARMV6, BR2_ARM_CPU_ARMV7A, BR2_ARM_CPU_ARMV8A all select BR2_ARCH_HAS_MMU_MANDATORY, while BR2_ARM_CPU_ARMV7M continues to select nothing, indicating that there is no MMU available at all. Fixes: http://autobuild.buildroot.net/results/33277d4687ca9a04dbfb02c50e5755ff9e55b0b4/ (FLAT selected on AArch64) http://autobuild.buildroot.net/results/5e34d11393e14fc36fd6e72b69679bc4fd1e3798/ (FLAT selected on AArch64 big-endian) Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in.arm | 59 +++++------------------------------------------------- 1 file changed, 5 insertions(+), 54 deletions(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 85040ac89f..fa2e882550 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -73,21 +73,26 @@ config BR2_ARM_CPU_HAS_THUMB2 config BR2_ARM_CPU_ARMV4 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV5 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV6 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV7A bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV7M bool config BR2_ARM_CPU_ARMV8A bool + select BR2_ARCH_HAS_MMU_MANDATORY choice prompt "Target Architecture Variant" @@ -103,23 +108,19 @@ config BR2_arm920t select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm922t bool "arm922t" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_fa526 bool "fa526/626" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_strongarm bool "strongarm sa110/sa1100" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv5 cores" config BR2_arm926t @@ -128,18 +129,15 @@ config BR2_arm926t select BR2_ARM_CPU_MAYBE_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_iwmmxt bool "iwmmxt" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_xscale bool "xscale" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv6 cores" config BR2_arm1136j_s @@ -147,34 +145,29 @@ config BR2_arm1136j_s select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1136jf_s bool "arm1136jf-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1176jz_s bool "arm1176jz-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1176jzf_s bool "arm1176jzf-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm11mpcore bool "mpcore" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_MAYBE_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv7a cores" config BR2_cortex_a5 @@ -184,7 +177,6 @@ config BR2_cortex_a5 select BR2_ARM_CPU_MAYBE_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a7 bool "cortex-A7" select BR2_ARM_CPU_HAS_ARM @@ -192,7 +184,6 @@ config BR2_cortex_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a8 bool "cortex-A8" select BR2_ARM_CPU_HAS_ARM @@ -200,7 +191,6 @@ config BR2_cortex_a8 select BR2_ARM_CPU_HAS_VFPV3 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a9 bool "cortex-A9" select BR2_ARM_CPU_HAS_ARM @@ -208,7 +198,6 @@ config BR2_cortex_a9 select BR2_ARM_CPU_MAYBE_HAS_VFPV3 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a12 bool "cortex-A12" select BR2_ARM_CPU_HAS_ARM @@ -216,7 +205,6 @@ config BR2_cortex_a12 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a15 bool "cortex-A15" select BR2_ARM_CPU_HAS_ARM @@ -224,7 +212,6 @@ config BR2_cortex_a15 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a15_a7 bool "cortex-A15/A7 big.LITTLE" select BR2_ARM_CPU_HAS_ARM @@ -232,7 +219,6 @@ config BR2_cortex_a15_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 config BR2_cortex_a17 bool "cortex-A17" @@ -241,7 +227,6 @@ config BR2_cortex_a17 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_cortex_a17_a7 bool "cortex-A17/A7 big.LITTLE" @@ -250,14 +235,12 @@ config BR2_cortex_a17_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_pj4 bool "pj4" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV3 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv7m cores" config BR2_cortex_m3 @@ -286,7 +269,6 @@ config BR2_cortex_a32 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a35 bool "cortex-A35" @@ -295,7 +277,6 @@ config BR2_cortex_a35 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a53 bool "cortex-A53" @@ -304,7 +285,6 @@ config BR2_cortex_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a57 bool "cortex-A57" select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 @@ -312,7 +292,6 @@ config BR2_cortex_a57 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a57_a53 bool "cortex-A57/A53 big.LITTLE" select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 @@ -320,7 +299,6 @@ config BR2_cortex_a57_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a72 bool "cortex-A72" @@ -329,7 +307,6 @@ config BR2_cortex_a72 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_cortex_a72_a53 bool "cortex-A72/A53 big.LITTLE" @@ -338,7 +315,6 @@ config BR2_cortex_a72_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a73 bool "cortex-A73" @@ -347,7 +323,6 @@ config BR2_cortex_a73 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_cortex_a73_a35 bool "cortex-A73/A35 big.LITTLE" @@ -356,7 +331,6 @@ config BR2_cortex_a73_a35 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_cortex_a73_a53 bool "cortex-A73/A53 big.LITTLE" @@ -365,14 +339,12 @@ config BR2_cortex_a73_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_emag bool "emag" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_exynos_m1 bool "exynos-m1" @@ -381,63 +353,54 @@ config BR2_exynos_m1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_falkor bool "falkor" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_phecda bool "phecda" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_qdf24xx bool "qdf24xx" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_thunderx bool "thunderx (aka octeontx)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_thunderxt81 bool "thunderxt81 (aka octeontx81)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt83 bool "thunderxt83 (aka octeontx83)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt88 bool "thunderxt88" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt88p1 bool "thunderxt88p1" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_xgene1 bool "xgene1" @@ -446,7 +409,6 @@ config BR2_xgene1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 comment "armv8.1a cores" @@ -455,21 +417,18 @@ config BR2_thunderx2t99 depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderx2t99p1 bool "thunderx2t99p1" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_vulcan bool "vulcan" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 comment "armv8.2a cores" @@ -478,21 +437,18 @@ config BR2_cortex_a55 depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a75 bool "cortex-A75" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a75_a55 bool "cortex-A75/A55 big.LITTLE" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a76 bool "cortex-A76" @@ -501,7 +457,6 @@ config BR2_cortex_a76 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_cortex_a76_a55 bool "cortex-A76/A55 big.LITTLE" @@ -510,7 +465,6 @@ config BR2_cortex_a76_a55 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_neoverse_n1 bool "neoverse-N1 (aka ares)" @@ -519,14 +473,12 @@ config BR2_neoverse_n1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_tsv110 bool "tsv110" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 comment "armv8.4a cores" @@ -535,7 +487,6 @@ config BR2_saphira depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 endchoice From yann.morin.1998 at free.fr Sun Apr 24 08:38:52 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:38:52 +0200 Subject: [Buildroot] [git commit] arch: drop support for SH2A Message-ID: <20220424084158.B42688414F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=04ea3d38dd76f4e96f4961143d674aff59b13d3f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Until commit "arch/Config.in.sh: fixup MMU selection" in this series, SH2A could either be used with BR2_USE_MMU disabled or BR2_USE_MMU enabled. The later made absolutely no sense, since SH2A does not have a MMU: MMU support was introduced starting from SH3 according to https://en.wikipedia.org/wiki/SuperH#SH-3 Also, since commit 22d5501e03b019218b718b5de7ca74824a8eaf42 ("arch: tidy up binary formats config"), which was merged in Buildroot 2015.05, the architecture tuple used when BR2_sh2a=y and BR2_USE_MMU disabled is sh2a-buildroot-uclinux-uclibc, and this was already unsupported back in the days of Buildroot 2015.08 and binutils 2.24, causing the build to fail with: *** BFD does not support target sh2a-buildroot-uclinux-uclibc. just like it fails to build today with recent version of binutils. So, this has been broken since 2015.08, and nobody complained. SH2A is seldom used, so it's time to kill it. It is worth mentioning that there had been an attempt at resurrecting SH2 support around 2015 (see https://lwn.net/Articles/647636/) as part of the J2 core. This effort led to the addition of FDPIC support for SH2A in the musl C library (and therefore proper ELF binaries, with shared libraries), but that was never supported in Buildroot. Now that the J2 project is essentially dead, there is no reason to bother with this. Fixes: http://autobuild.buildroot.net/results/63d01d33ae30f86b63b9f42a9fea116f2f3e9005/ Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- Config.in.legacy | 7 +++++++ arch/Config.in.sh | 5 +---- package/uclibc/Config.in | 1 - toolchain/toolchain-buildroot/Config.in | 2 +- utils/genrandconfig | 9 +++------ 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 2b9575fe22..387653f45d 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2022.05" +config BR2_sh2a + bool "sh2a architecture support removed" + select BR2_LEGACY + help + The SuperH 2A (SH2A) architecture was not maintained, and + broken, so its support was dropped. + config BR2_BINUTILS_VERSION_2_35_X bool "binutils 2.35.x has been removed" select BR2_LEGACY diff --git a/arch/Config.in.sh b/arch/Config.in.sh index a012cbf491..f00954bb5e 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -5,8 +5,6 @@ choice help Specific CPU variant to use -config BR2_sh2a - bool "sh2a (SH2A big endian)" config BR2_sh4 bool "sh4 (SH4 little endian)" select BR2_ARCH_HAS_MMU_MANDATORY @@ -22,7 +20,6 @@ config BR2_sh4aeb endchoice config BR2_ARCH - default "sh2a" if BR2_sh2a default "sh4" if BR2_sh4 default "sh4eb" if BR2_sh4eb default "sh4a" if BR2_sh4a @@ -33,7 +30,7 @@ config BR2_NORMALIZED_ARCH config BR2_ENDIAN default "LITTLE" if BR2_sh4 || BR2_sh4a - default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb + default "BIG" if BR2_sh4eb || BR2_sh4aeb config BR2_READELF_ARCH_NAME default "Renesas / SuperH SH" diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in index 2091166b62..310414bebc 100644 --- a/package/uclibc/Config.in +++ b/package/uclibc/Config.in @@ -124,7 +124,6 @@ config BR2_UCLIBC_MIPS_NAN config BR2_UCLIBC_SH_TYPE string - default "SH2A" if BR2_sh2a default "SH4" if BR2_sh4 || BR2_sh4eb depends on BR2_UCLIBC_TARGET_ARCH = "sh" diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in index 4004c0edf8..be89f68ab5 100644 --- a/toolchain/toolchain-buildroot/Config.in +++ b/toolchain/toolchain-buildroot/Config.in @@ -31,7 +31,7 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC BR2_arm || BR2_armeb || \ BR2_i386 || BR2_m68k || BR2_microblaze || \ BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ - BR2_or1k || BR2_powerpc || BR2_RISCV_64 || BR2_sh2a || \ + BR2_or1k || BR2_powerpc || BR2_RISCV_64 || \ BR2_sh4 || BR2_sh4eb || BR2_sparc || BR2_xtensa || \ BR2_x86_64 select BR2_TOOLCHAIN_USES_UCLIBC diff --git a/utils/genrandconfig b/utils/genrandconfig index 59fe34e58d..adefb8f502 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -237,12 +237,9 @@ def fixup_config(sysinfo, configfile): if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: return False - # libffi not available on sh2a and ARMv7-M, but propagating libffi - # arch dependencies in Buildroot is really too much work, so we - # handle this here. - if 'BR2_sh2a=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False + # libffi not available on ARMv7-M, but propagating libffi arch + # dependencies in Buildroot is really too much work, so we handle + # this here. if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ 'BR2_PACKAGE_LIBFFI=y\n' in configlines: return False From yann.morin.1998 at free.fr Sun Apr 24 08:54:54 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:54:54 +0200 Subject: [Buildroot] [PATCH 4/5] arch: drop support for SH2A In-Reply-To: <20220419213450.887728-4-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> <20220419213450.887728-4-thomas.petazzoni@bootlin.com> Message-ID: <20220424085454.GS2730@scaer> Thomas, All, On 2022-04-19 23:34 +0200, Thomas Petazzoni via buildroot spake thusly: > Until commit "arch/Config.in.sh: fixup MMU selection" in this series, > SH2A could either be used with BR2_USE_MMU disabled or BR2_USE_MMU > enabled. > > The later made absolutely no sense, since SH2A does not have a MMU: > MMU support was introduced starting from SH3 according to > https://en.wikipedia.org/wiki/SuperH#SH-3 > > Also, since commit 22d5501e03b019218b718b5de7ca74824a8eaf42 ("arch: > tidy up binary formats config"), which was merged in Buildroot > 2015.05, the architecture tuple used when BR2_sh2a=y and BR2_USE_MMU > disabled is sh2a-buildroot-uclinux-uclibc, and this was already > unsupported back in the days of Buildroot 2015.08 and binutils 2.24, > causing the build to fail with: > > *** BFD does not support target sh2a-buildroot-uclinux-uclibc. > > just like it fails to build today with recent version of binutils. > > So, this has been broken since 2015.08, and nobody complained. SH2A is > seldomly used, so it's time to kill. seldomly is archaic [0]; seldom is an adverb [1]. ;-) [0] https://www.merriam-webster.com/dictionary/seldomly [1] https://www.merriam-webster.com/dictionary/seldom Applied to master, thanks. Regards, Yann E. MORIN. > It is worth mentioning that there has been an attempt at resurrecting > SH2 support around 2015 (see https://lwn.net/Articles/647636/) as part > of the J2 core. This effort led to the addition of FDPIC support for > SH2A in the musl C library (and therefore proper ELF binaries, with > shared libraries), but that was never supported in Buildroot. Now that > the J2 project is essentially dead, there is no reason to bother with > this. > > Fixes: > > http://autobuild.buildroot.net/results/63d01d33ae30f86b63b9f42a9fea116f2f3e9005/ > > Signed-off-by: Thomas Petazzoni > --- > Config.in.legacy | 7 +++++++ > arch/Config.in.sh | 5 +---- > package/uclibc/Config.in | 1 - > toolchain/toolchain-buildroot/Config.in | 2 +- > utils/genrandconfig | 9 +++------ > 5 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/Config.in.legacy b/Config.in.legacy > index 27f19f14e7..1578ffd016 100644 > --- a/Config.in.legacy > +++ b/Config.in.legacy > @@ -146,6 +146,13 @@ endif > > comment "Legacy options removed in 2022.05" > > +config BR2_sh2a > + bool "sh2a architecture support removed" > + select BR2_LEGACY > + help > + The SuperH 2A (SH2A) architecture was not maintained, and > + broken, so its support was dropped. > + > config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED > bool "boost versioned layout removed" > select BR2_LEGACY > diff --git a/arch/Config.in.sh b/arch/Config.in.sh > index a012cbf491..f00954bb5e 100644 > --- a/arch/Config.in.sh > +++ b/arch/Config.in.sh > @@ -5,8 +5,6 @@ choice > help > Specific CPU variant to use > > -config BR2_sh2a > - bool "sh2a (SH2A big endian)" > config BR2_sh4 > bool "sh4 (SH4 little endian)" > select BR2_ARCH_HAS_MMU_MANDATORY > @@ -22,7 +20,6 @@ config BR2_sh4aeb > endchoice > > config BR2_ARCH > - default "sh2a" if BR2_sh2a > default "sh4" if BR2_sh4 > default "sh4eb" if BR2_sh4eb > default "sh4a" if BR2_sh4a > @@ -33,7 +30,7 @@ config BR2_NORMALIZED_ARCH > > config BR2_ENDIAN > default "LITTLE" if BR2_sh4 || BR2_sh4a > - default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb > + default "BIG" if BR2_sh4eb || BR2_sh4aeb > > config BR2_READELF_ARCH_NAME > default "Renesas / SuperH SH" > diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in > index 2091166b62..310414bebc 100644 > --- a/package/uclibc/Config.in > +++ b/package/uclibc/Config.in > @@ -124,7 +124,6 @@ config BR2_UCLIBC_MIPS_NAN > > config BR2_UCLIBC_SH_TYPE > string > - default "SH2A" if BR2_sh2a > default "SH4" if BR2_sh4 || BR2_sh4eb > depends on BR2_UCLIBC_TARGET_ARCH = "sh" > > diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in > index 4004c0edf8..be89f68ab5 100644 > --- a/toolchain/toolchain-buildroot/Config.in > +++ b/toolchain/toolchain-buildroot/Config.in > @@ -31,7 +31,7 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC > BR2_arm || BR2_armeb || \ > BR2_i386 || BR2_m68k || BR2_microblaze || \ > BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ > - BR2_or1k || BR2_powerpc || BR2_RISCV_64 || BR2_sh2a || \ > + BR2_or1k || BR2_powerpc || BR2_RISCV_64 || \ > BR2_sh4 || BR2_sh4eb || BR2_sparc || BR2_xtensa || \ > BR2_x86_64 > select BR2_TOOLCHAIN_USES_UCLIBC > diff --git a/utils/genrandconfig b/utils/genrandconfig > index 59fe34e58d..adefb8f502 100755 > --- a/utils/genrandconfig > +++ b/utils/genrandconfig > @@ -237,12 +237,9 @@ def fixup_config(sysinfo, configfile): > if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ > BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: > return False > - # libffi not available on sh2a and ARMv7-M, but propagating libffi > - # arch dependencies in Buildroot is really too much work, so we > - # handle this here. > - if 'BR2_sh2a=y\n' in configlines and \ > - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: > - return False > + # libffi not available on ARMv7-M, but propagating libffi arch > + # dependencies in Buildroot is really too much work, so we handle > + # this here. > if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ > 'BR2_PACKAGE_LIBFFI=y\n' in configlines: > return False > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 24 08:56:14 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:56:14 +0200 Subject: [Buildroot] [PATCH 1/5] arch/Config.in.sh: fixup MMU selection In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220424085614.GT2730@scaer> Thomas, All, On 2022-04-19 23:34 +0200, Thomas Petazzoni via buildroot spake thusly: > BR2_sh selects BR2_ARCH_HAS_MMU_OPTIONAL, which means that it's up to > the user to decide whether he wants to use MMU or not on SuperH > platforms. > > However: > > - On SH2A, there is no MMU at all, so being to select "Use MMU" > doesn't make any sense. > > - On SH4, there is no support for *not* using the MMU, so disabling > "Use MMU" will cause the build to fail. > > In order to fix this, we move the MMU selection to arch/Config.in.sh: > > - BR2_sh2a selects nothing, so that it's always noMMU > > - BR2_sh4* select BR2_ARCH_HAS_MMU_MANDATORY so that the MMU is > always used. > > Fixes: > > http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20/ (FLAT > selected with sh4aeb) > > http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9/ (FLAT > selected with sh4a) > > http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06/ (FLAT > selected with sh4) > > Signed-off-by: Thomas Petazzoni Whole series of 5 patches applied to master. I reorganised them to apply all the Super-H patches together, then the ARM patches, as I thought it made more sense to group by architecture than by "MMU fixup". Regards, Yann E. MORIN. > --- > arch/Config.in | 1 - > arch/Config.in.sh | 4 ++++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/arch/Config.in b/arch/Config.in > index 98b0e40d51..e51ef60f40 100644 > --- a/arch/Config.in > +++ b/arch/Config.in > @@ -228,7 +228,6 @@ config BR2_s390x > > config BR2_sh > bool "SuperH" > - select BR2_ARCH_HAS_MMU_OPTIONAL > help > SuperH (or SH) is a 32-bit reduced instruction set computer > (RISC) instruction set architecture (ISA) developed by > diff --git a/arch/Config.in.sh b/arch/Config.in.sh > index c1ba449dd5..a012cbf491 100644 > --- a/arch/Config.in.sh > +++ b/arch/Config.in.sh > @@ -9,12 +9,16 @@ config BR2_sh2a > bool "sh2a (SH2A big endian)" > config BR2_sh4 > bool "sh4 (SH4 little endian)" > + select BR2_ARCH_HAS_MMU_MANDATORY > config BR2_sh4eb > bool "sh4eb (SH4 big endian)" > + select BR2_ARCH_HAS_MMU_MANDATORY > config BR2_sh4a > bool "sh4a (SH4A little endian)" > + select BR2_ARCH_HAS_MMU_MANDATORY > config BR2_sh4aeb > bool "sh4aeb (SH4A big endian)" > + select BR2_ARCH_HAS_MMU_MANDATORY > endchoice > > config BR2_ARCH > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From br015 at umbiko.net Sun Apr 24 09:09:31 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Sun, 24 Apr 2022 11:09:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnpupnp: update version to 4.2.2 Message-ID: <20220424090931.268434-1-br015@umbiko.net> Bugfix release for: http://autobuild.buildroot.net/results/a87/a8754431aad8808ae2d67e32d4a7973b00eda1c1/ Technical discussion: https://github.com/MusicPlayerDaemon/MPD/pull/1513 Signed-off-by: Andreas Ziegler --- package/libnpupnp/libnpupnp.hash | 2 +- package/libnpupnp/libnpupnp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libnpupnp/libnpupnp.hash b/package/libnpupnp/libnpupnp.hash index 276bf93c99..79c2bbdc26 100644 --- a/package/libnpupnp/libnpupnp.hash +++ b/package/libnpupnp/libnpupnp.hash @@ -1,5 +1,5 @@ # Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 -sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz +sha256 cb3968773d30e2bfc765547df514fdc8927b9a37ecccca2e260ee8b612e756bc libnpupnp-4.2.2.tar.gz # Hash for license file: sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/package/libnpupnp/libnpupnp.mk b/package/libnpupnp/libnpupnp.mk index 09bfa34b87..d7192ec3f1 100644 --- a/package/libnpupnp/libnpupnp.mk +++ b/package/libnpupnp/libnpupnp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNPUPNP_VERSION = 4.2.1 +LIBNPUPNP_VERSION = 4.2.2 LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads LIBNPUPNP_LICENSE = BSD-3-Clause LIBNPUPNP_LICENSE_FILES = COPYING -- 2.34.1 From br015 at umbiko.net Sun Apr 24 09:32:08 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Sun, 24 Apr 2022 11:32:08 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/libnpupnp: update version to 4.2.2 In-Reply-To: <20220424090931.268434-1-br015@umbiko.net> References: <20220424090931.268434-1-br015@umbiko.net> Message-ID: <20220424093208.268901-1-br015@umbiko.net> Bugfix release for: http://autobuild.buildroot.net/results/a87/a8754431aad8808ae2d67e32d4a7973b00eda1c1/ Technical discussion: https://github.com/MusicPlayerDaemon/MPD/pull/1513 Signed-off-by: Andreas Ziegler --- Changes v1 -> v2: version number in comment package/libnpupnp/libnpupnp.hash | 4 ++-- package/libnpupnp/libnpupnp.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnpupnp/libnpupnp.hash b/package/libnpupnp/libnpupnp.hash index 276bf93c99..15ee26c6d2 100644 --- a/package/libnpupnp/libnpupnp.hash +++ b/package/libnpupnp/libnpupnp.hash @@ -1,5 +1,5 @@ -# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 -sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz +# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.2.tar.gz.sha256 +sha256 cb3968773d30e2bfc765547df514fdc8927b9a37ecccca2e260ee8b612e756bc libnpupnp-4.2.2.tar.gz # Hash for license file: sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/package/libnpupnp/libnpupnp.mk b/package/libnpupnp/libnpupnp.mk index 09bfa34b87..d7192ec3f1 100644 --- a/package/libnpupnp/libnpupnp.mk +++ b/package/libnpupnp/libnpupnp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNPUPNP_VERSION = 4.2.1 +LIBNPUPNP_VERSION = 4.2.2 LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads LIBNPUPNP_LICENSE = BSD-3-Clause LIBNPUPNP_LICENSE_FILES = COPYING -- 2.34.1 From baruch at tkos.co.il Sun Apr 24 11:19:48 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Sun, 24 Apr 2022 14:19:48 +0300 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <20220422121639.5118cd38@windsurf> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> <20220420083923.3875405-2-thomas.perrot@bootlin.com> <87pmlbr70w.fsf@tarshish> <13e22a566019cfbb7f9a6de52a485dad687e1217.camel@bootlin.com> <20220422121639.5118cd38@windsurf> Message-ID: <875ymy3e9k.fsf@tarshish> Hi Thomas, On Fri, Apr 22 2022, Thomas Petazzoni wrote: > On Fri, 22 Apr 2022 12:09:00 +0200 > Thomas Perrot wrote: > >> > It looks like the only difference between 64 and 32 is in openssl >> > build >> > rule, and for x86 (host) targets only. We don't use this openssl rule >> > since we build host-openssl with our own rules. So maybe we can just >> > arbitrarily choose hard coded 'linux64'. It seems that >> > debian/Makefile >> > does that. >> >> Thanks for your review, I?m submitting a v3 with the OSTYPE variable >> hardcoded to linux64. > > No, please don't. We're doing the build like this: > > build: > $(MAKE) -C $(CST_CODE_PATH)/obj.$(OSTYPE) build > > And code/cst/code/obj.linux32/Makefile contains: > > COPTIONS += -m32 > LDOPTIONS += -m32 > > while code/cst/code/obj.linux64/Makefile contains > > COPTIONS += -m64 > LDOPTIONS += -m64 > > And I can definitely see the -m64 being added in the compiler flags > when doing a build on a x86-64 host (run the build with VERBOSE=1, you > will see). > > So if you use linux64 unconditionally, the CST binaries will be built > with -m64, even on 32-bit host machines => bad. You are right. I didn't notice these -m32/-m64 parameters. But that raises another problem. -m32/-m64 are platform specific options. A quick look at the GCC manual indicates that x86, Sparc, and PowerPC targets support these options. S390 supports -m64, but not -m32. ARM/ARM64 support none. So this package should depend on host architectures that support -m32/-m64. Alternatively we can just patch out the whole 32/64 thing. This is most likely a remnant of previous versions that shipped binary .a files. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From yann.morin.1998 at free.fr Sun Apr 24 14:22:36 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:22:36 +0200 Subject: [Buildroot] [git commit] package/libnpupnp: update version to 4.2.2 Message-ID: <20220424141247.13E9B8374A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a6e7a8511526687d27d45570171bd9e4dda6bd59 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release for: http://autobuild.buildroot.net/results/a87/a8754431aad8808ae2d67e32d4a7973b00eda1c1/ Technical discussion: https://github.com/MusicPlayerDaemon/MPD/pull/1513 Signed-off-by: Andreas Ziegler Signed-off-by: Yann E. MORIN --- package/libnpupnp/libnpupnp.hash | 4 ++-- package/libnpupnp/libnpupnp.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnpupnp/libnpupnp.hash b/package/libnpupnp/libnpupnp.hash index 276bf93c99..15ee26c6d2 100644 --- a/package/libnpupnp/libnpupnp.hash +++ b/package/libnpupnp/libnpupnp.hash @@ -1,5 +1,5 @@ -# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 -sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz +# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.2.tar.gz.sha256 +sha256 cb3968773d30e2bfc765547df514fdc8927b9a37ecccca2e260ee8b612e756bc libnpupnp-4.2.2.tar.gz # Hash for license file: sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/package/libnpupnp/libnpupnp.mk b/package/libnpupnp/libnpupnp.mk index 09bfa34b87..d7192ec3f1 100644 --- a/package/libnpupnp/libnpupnp.mk +++ b/package/libnpupnp/libnpupnp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNPUPNP_VERSION = 4.2.1 +LIBNPUPNP_VERSION = 4.2.2 LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads LIBNPUPNP_LICENSE = BSD-3-Clause LIBNPUPNP_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sun Apr 24 14:24:30 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:24:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnpupnp: update version to 4.2.2 In-Reply-To: <20220424090931.268434-1-br015@umbiko.net> References: <20220424090931.268434-1-br015@umbiko.net> Message-ID: <20220424142430.GU2730@scaer> Andreas, All, On 2022-04-24 11:09 +0200, Andreas Ziegler spake thusly: > Bugfix release for: > http://autobuild.buildroot.net/results/a87/a8754431aad8808ae2d67e32d4a7973b00eda1c1/ > > Technical discussion: > https://github.com/MusicPlayerDaemon/MPD/pull/1513 > > Signed-off-by: Andreas Ziegler Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libnpupnp/libnpupnp.hash | 2 +- > package/libnpupnp/libnpupnp.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libnpupnp/libnpupnp.hash b/package/libnpupnp/libnpupnp.hash > index 276bf93c99..79c2bbdc26 100644 > --- a/package/libnpupnp/libnpupnp.hash > +++ b/package/libnpupnp/libnpupnp.hash > @@ -1,5 +1,5 @@ > # Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 > -sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz > +sha256 cb3968773d30e2bfc765547df514fdc8927b9a37ecccca2e260ee8b612e756bc libnpupnp-4.2.2.tar.gz > > # Hash for license file: > sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING > diff --git a/package/libnpupnp/libnpupnp.mk b/package/libnpupnp/libnpupnp.mk > index 09bfa34b87..d7192ec3f1 100644 > --- a/package/libnpupnp/libnpupnp.mk > +++ b/package/libnpupnp/libnpupnp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBNPUPNP_VERSION = 4.2.1 > +LIBNPUPNP_VERSION = 4.2.2 > LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads > LIBNPUPNP_LICENSE = BSD-3-Clause > LIBNPUPNP_LICENSE_FILES = COPYING > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 24 14:50:21 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:50:21 +0200 Subject: [Buildroot] [PATCH] package/systemd: add the missing sgx group In-Reply-To: <0fd2d0f7-d067-0f65-23dd-68aff1e61d94@163.com> References: <20220420135549.3536397-1-tianyuanhao3@163.com> <20220421191653.GO2730@scaer> <0fd2d0f7-d067-0f65-23dd-68aff1e61d94@163.com> Message-ID: <20220424145021.GV2730@scaer> Yuanhao, All, On 2022-04-21 16:55 -0700, TIAN Yuanhao spake thusly: > On 4/21/22 12:16, Yann E. MORIN wrote: > >On 2022-04-20 06:55 -0700, TIAN Yuanhao spake thusly: > >>systemd-udevd needs this group: > >> /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring [--SNIP--] > >>diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > >>index b07fac27d4..44185a35a0 100644 > >>--- a/package/systemd/systemd.mk > >>+++ b/package/systemd/systemd.mk > >>@@ -603,6 +603,7 @@ endef > >> define SYSTEMD_USERS > >> # udev user groups > >>+ - - sgx -1 * - - - SGX device nodes > >This should have been in the udev virtual package, as all the > >udev-related users and groups have been moved there to be common between > >systemd-udevd and the stand-alone eudev, in commit d648d81dd581 > >(packages/{eudev, systemd}: move common users to package/udev). > I did notice the common rules in the udev virtual package. However "sgx" > only appears in systemd but not eudev. OK, my bad. Can you send a patch that moves it back to systemd, please? > Besides, I found that the "render" > group in systemd should be "video" in eudev. This is going to be concerning if the same device nodes have different groups assigned to them by the two different udev implementations... In systemd, the renderD* nodes have always been assigned to group 'render', since commit 4e15a7343cb3 (udev-rules: Permission changes for /dev/dri/renderD*), committed 2017-11-08. In eudev, renderD* nodes were also assigned to the 'render' group in commit bb070c154e70 (rules: update), committed 2018-02-20. But then, in eudev, that was changed with commit a8ffcd1b985f (rules/50-udev-default.rules: fix issue 160), where they were then assigned to the 'video' group. There is not much that is interesting in issue 160, except for some people reporting issues on distros where the 'render' group does not exist (along with a bit of the usual whining about systemd). So, I'm not sure how we should go in that case... Indeed, if we have packages which want to declare users that belong to the appropriate group to be able to use the render nodes, then they'd have to know whether running with systemd or eudev, which was initially the reason to have a virtual package to abstract that, and have the groups defined in that virtual package... Sigh... But in the end, then yes, 'render' and 'video' should be moved out of the virtual package and into systemd and eudev, respectively. Can you do that, please? Regards, Yann E. MORIN. > Regards, > TIAN Yuanhao > > > >Regards, > >Yann E. MORIN. > > > >> # systemd user groups > >> - - systemd-journal -1 * - - - Journal > >> $(SYSTEMD_REMOTE_USER) > >>-- > >>2.25.1 > >> > >>_______________________________________________ > >>buildroot mailing list > >>buildroot at buildroot.org > >>https://lists.buildroot.org/mailman/listinfo/buildroot > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Sun Apr 24 15:03:47 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 24 Apr 2022 17:03:47 +0200 Subject: [Buildroot] Removing BR2_SHARED_STATIC_LIBS [was: [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build] In-Reply-To: References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> Message-ID: On 23/04/2022 18:49, Fabrice Fontaine wrote: > Le sam. 23 avr. 2022 ? 16:40, Arnout Vandecappelle a ?crit : >> >> >> >> On 16/04/2022 23:13, Fabrice Fontaine wrote: >>> Add --static when calling pkg-config with BR2_SHARED_STATIC_LIBS to >>> avoid the following build failure if a package (e.g. dash or zabbix) >>> decide to use the static library of of its dependency instead of the >>> shared library (e.g. edit or openssl) resulting in the following build >>> failures: [snip] >>> -ifeq ($(BR2_STATIC_LIBS),y) >>> -HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC >>> -else >>> +ifeq ($(BR2_SHARED_LIBS),y) >>> HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_SHARED >>> +else >>> +HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC >> >> Err, so this would mean that we almost always link statically in the >> SHARED_STATIC case? I don't think that that's what we want, really... >> >> If a package wants to link statically and is using pkg-config, why is not >> calling pkg-config with --static? Something seems to be really off here... > > To my knowledge most packages are not adding --static when calling pkg-config. > --static is added by buildroot through HOST_PKGCONF_POST_INSTALL_HOOKS. > > dash fails to build because -static is passed to gcc. > -static is passed to gcc because package/Makefile.in is setting > --enable-static (and --enable-shared): > > /home/fabrice/buildroot/output/host/bin/powerpc64-buildroot-linux-gnu-gcc > -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 > -O1 -g0 -D_FORTIFY_SOURCE=1 -static -Wl,--fatal-warnings -o dash > alias.o arith_yacc.o arith_yylex.o cd.o error.o eval.o exec.o expand.o > histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o > mystring.o options.o parser.o redir.o show.o trap.o output.o > bltin/printf.o system.o bltin/test.o bltin/times.o var.o builtins.o > init.o nodes.o signames.o syntax.o -ledit > /home/fabrice/buildroot/output/host/lib/gcc/powerpc64-buildroot-linux-gnu/10.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: > /home/fabrice/buildroot/output/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/libedit.a(terminal.o): > in function `terminal_tputs': > terminal.c:(.text+0x1d4): undefined reference to `tputs' > > dash doesn't not handle --enable-shared. > It adds -static to gcc call depending on --{en,dis}able-static. > > So, the 'onlyy' other option would be to add > DASH_CONF_OPTS += --disable-static > to override what is set by package/Makefile.in This is what was done for dropbear 4 years ago in commit c9922a4d2fc79e. > I can send a v2 if you think that this solution is better. > However, it'll have to be applied to dash and zabbix but perhaps to a > large number of "application" packages ... Very good point. I think perhaps we should simply remove BR2_SHARED_STATIC completely. The idea is to build both static and shared libraries, but link with shared libraries by default. However, it turns out not to be working: cmake and meson packages don't support it, for all the non-C languages it's not relevant, and even for autotools packages it doesn't work consistently, as shown by these issues. So I think this option is just creating problems for us without added value. I've put a bunch of other Buildroot contributors in Cc to weigh in in this question. But for me, it is creating problems without adding much value. Regards, Arnout From arnout at mind.be Sun Apr 24 15:05:38 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 24 Apr 2022 17:05:38 +0200 Subject: [Buildroot] [PATCH] package/libressl: bump to version 3.5.2 In-Reply-To: <20220424072016.3459504-1-francois.perrad@gadz.org> References: <20220424072016.3459504-1-francois.perrad@gadz.org> Message-ID: <69a502da-b1f9-b688-092e-59bf594ed6be@mind.be> On 24/04/2022 09:20, Francois Perrad wrote: > Signed-off-by: Francois Perrad > --- > package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- > package/libressl/Config.in | 2 ++ > package/libressl/libressl.hash | 2 +- > package/libressl/libressl.mk | 2 +- > 4 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > index 98fe250f6..1c59aec72 100644 > --- a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > +++ b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > @@ -20,7 +20,7 @@ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h > index 46f24b2ea..4048a6e63 100644 > --- a/include/openssl/ssl.h > +++ b/include/openssl/ssl.h > -@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, > +@@ -408,11 +408,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, > #define SSL_OP_NO_TLSv1 0x04000000L > #define SSL_OP_NO_TLSv1_2 0x08000000L > #define SSL_OP_NO_TLSv1_1 0x10000000L > diff --git a/package/libressl/Config.in b/package/libressl/Config.in > index 600829cb9..aa42c21a9 100644 > --- a/package/libressl/Config.in > +++ b/package/libressl/Config.in > @@ -6,4 +6,6 @@ config BR2_PACKAGE_LIBRESSL_BIN > Install the openssl binary to the target file system. This is > a command line tool for doing various cryptographic stuff. > > + https://www.libressl.org/ Why do you add this? We already have the URL in the top-level choice, in package/openssl/Config.in. Regards, Arnout > + > endif > diff --git a/package/libressl/libressl.hash b/package/libressl/libressl.hash > index e92399871..c3590798d 100644 > --- a/package/libressl/libressl.hash > +++ b/package/libressl/libressl.hash > @@ -1,4 +1,4 @@ > # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 > -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz > +sha256 56feab8e21c3fa6549f8b7d7511658b8e98518162838a795314732654adf3e5f libressl-3.5.2.tar.gz > # Locally computed > sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING > diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk > index 0bb468ced..c9c484d5d 100644 > --- a/package/libressl/libressl.mk > +++ b/package/libressl/libressl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBRESSL_VERSION = 3.4.3 > +LIBRESSL_VERSION = 3.5.2 > LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL > LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) > LIBRESSL_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sun Apr 24 14:53:42 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:53:42 +0200 Subject: [Buildroot] [git commit] package/clamav: doesn't build with zlib-ng Message-ID: <20220424154321.31E988421E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f7744aba7bcc7f4ad38ff4bba3d0c37969544fce branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master clamav doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of FAR: https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: In file included from nsis/nsis_zlib.h:32, from nsis/nulsft.c:38: nsis/nsis_zutil.h:36:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uchf' 36 | typedef uch FAR uchf; | ^~~~ Fixes: - http://autobuild.buildroot.org/results/524ee31face8be6a813829b036c4d6134ee5ca98 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/clamav/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/Config.in b/package/clamav/Config.in index 990a818b5c..2857f9cbf4 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_CLAMAV select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. From yann.morin.1998 at free.fr Sun Apr 24 14:53:46 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:53:46 +0200 Subject: [Buildroot] [git commit] package/quazip: force libzlib Message-ID: <20220424154321.4BF838421A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5a8ad464b328dcff95e89052abfc8196e6ade996 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Force libzlib instead of depending on it Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/quazip/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/quazip/Config.in b/package/quazip/Config.in index a670ed458c..bba5eddf3d 100644 --- a/package/quazip/Config.in +++ b/package/quazip/Config.in @@ -1,13 +1,11 @@ config BR2_PACKAGE_QUAZIP bool "quazip" - depends on BR2_PACKAGE_LIBZLIB depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit. http://quazip.sourceforge.net - -comment "quazip needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB From yann.morin.1998 at free.fr Sun Apr 24 14:53:44 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:53:44 +0200 Subject: [Buildroot] [git commit] package/assimp: force libzlib Message-ID: <20220424154321.3D9388422F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dfb42ab91b7b1f58bc89362403321ed7063dda9f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Force libzlib instead of depending on it Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/assimp/Config.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/assimp/Config.in b/package/assimp/Config.in index 833e559a6f..5ffb50cd79 100644 --- a/package/assimp/Config.in +++ b/package/assimp/Config.in @@ -2,8 +2,9 @@ config BR2_PACKAGE_ASSIMP bool "assimp" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_PACKAGE_LIBZLIB depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help Open Asset Import Library (assimp) is a portable Open Source library to import various well-known 3D model formats in a @@ -14,11 +15,7 @@ config BR2_PACKAGE_ASSIMP http://www.assimp.org comment "assimp needs a toolchain w/ C++, wchar" - depends on BR2_PACKAGE_LIBZLIB depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR -comment "assimp needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB - comment "assimp needs exception_ptr" depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 From yann.morin.1998 at free.fr Sun Apr 24 14:53:39 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:53:39 +0200 Subject: [Buildroot] [git commit] package/zlib: add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB Message-ID: <20220424154321.27B958421A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cdfe7d17b395813f66e231ed183a7b75afb14b8f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/zlib/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/zlib/Config.in b/package/zlib/Config.in index d6d94889a7..3a486376ac 100644 --- a/package/zlib/Config.in +++ b/package/zlib/Config.in @@ -1,3 +1,6 @@ +config BR2_PACKAGE_ZLIB_FORCE_LIBZLIB + bool + config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS bool default y if BR2_arm @@ -33,6 +36,7 @@ config BR2_PACKAGE_LIBZLIB config BR2_PACKAGE_ZLIB_NG bool "zlib-ng" depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS + depends on !BR2_PACKAGE_ZLIB_FORCE_LIBZLIB select BR2_PACKAGE_HAS_ZLIB help Zlib replacement with optimizations for From yann.morin.1998 at free.fr Sun Apr 24 15:54:04 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 17:54:04 +0200 Subject: [Buildroot] [PATCH v2, 1/4] package/zlib: add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB In-Reply-To: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> References: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Message-ID: <20220424155404.GW2730@scaer> Fabrice, All, On 2022-04-23 22:39 +0200, Fabrice Fontaine spake thusly: > Add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB > > Signed-off-by: Fabrice Fontaine Series of 4 patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/zlib/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/zlib/Config.in b/package/zlib/Config.in > index d6d94889a7..3a486376ac 100644 > --- a/package/zlib/Config.in > +++ b/package/zlib/Config.in > @@ -1,3 +1,6 @@ > +config BR2_PACKAGE_ZLIB_FORCE_LIBZLIB > + bool > + > config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS > bool > default y if BR2_arm > @@ -33,6 +36,7 @@ config BR2_PACKAGE_LIBZLIB > config BR2_PACKAGE_ZLIB_NG > bool "zlib-ng" > depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS > + depends on !BR2_PACKAGE_ZLIB_FORCE_LIBZLIB > select BR2_PACKAGE_HAS_ZLIB > help > Zlib replacement with optimizations for > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 24 16:33:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 18:33:50 +0200 Subject: [Buildroot] Removing BR2_SHARED_STATIC_LIBS [was: [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build] In-Reply-To: References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> Message-ID: <20220424163350.GX2730@scaer> Arnout, All, On 2022-04-24 17:03 +0200, Arnout Vandecappelle spake thusly: > On 23/04/2022 18:49, Fabrice Fontaine wrote: > >Le sam. 23 avr. 2022 ? 16:40, Arnout Vandecappelle a ?crit : > >>On 16/04/2022 23:13, Fabrice Fontaine wrote: > >>>Add --static when calling pkg-config with BR2_SHARED_STATIC_LIBS to > >>>avoid the following build failure if a package (e.g. dash or zabbix) > >>>decide to use the static library of of its dependency instead of the > >>>shared library (e.g. edit or openssl) resulting in the following build > >>>failures: > [snip] > >>>-ifeq ($(BR2_STATIC_LIBS),y) > >>>-HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > >>>-else > >>>+ifeq ($(BR2_SHARED_LIBS),y) > >>> HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_SHARED > >>>+else > >>>+HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > >> Err, so this would mean that we almost always link statically in the > >>SHARED_STATIC case? I don't think that that's what we want, really... Agreed: in the shared+static case, we want to link dynamically by default. > >> If a package wants to link statically and is using pkg-config, why is not > >>calling pkg-config with --static? Something seems to be really off here... > >To my knowledge most packages are not adding --static when calling pkg-config. > >--static is added by buildroot through HOST_PKGCONF_POST_INSTALL_HOOKS. > >dash fails to build because -static is passed to gcc. > >-static is passed to gcc because package/Makefile.in is setting > >--enable-static (and --enable-shared): [--SNIP--] > >dash doesn't not handle --enable-shared. > >It adds -static to gcc call depending on --{en,dis}able-static. > > > >So, the 'onlyy' other option would be to add > >DASH_CONF_OPTS += --disable-static > >to override what is set by package/Makefile.in > This is what was done for dropbear 4 years ago in commit c9922a4d2fc79e. That was not exactly the same reason. dropbear misuses --enable-static. --enable-{static,shared} is meant for building libraries, not for linking an executable statically or not [0]. [0] https://www.gnu.org/software/libtool/manual/libtool.html#LT_005fINIT Still, I think in that case, and unless the package really needs a static link, we should fix it with ad-hoc warts, like the one for dropbear. So, we should work around the issue in dash and zabbix*. [*] now that we have fixed the a and z packages, what is there left to fix? ;-) > >I can send a v2 if you think that this solution is better. > >However, it'll have to be applied to dash and zabbix but perhaps to a > >large number of "application" packages ... > Very good point. I am not sure there would be so many packages that misbehave in that situation, in fact... > I think perhaps we should simply remove BR2_SHARED_STATIC completely. The > idea is to build both static and shared libraries, but link with shared > libraries by default. However, it turns out not to be working: cmake and > meson packages don't support it, for all the non-C languages it's not > relevant, and even for autotools packages it doesn't work consistently, as > shown by these issues. So I think this option is just creating problems for > us without added value. > > I've put a bunch of other Buildroot contributors in Cc to weigh in in this > question. But for me, it is creating problems without adding much value. I have always been a bit confused on how BR2_SHARED_STATIC_LIBS was supposed to work, to be honest... Sure, it meant we wanted to _build_ both the static and shared libs. But how were we going to tell packages whether they were supposed to link staticially or not? Surely we do not want a per-package option... Then we're left with deciding at the package's .mk level, by hard-coding some heuristic to decide. In upstream, we have no such case where we'd want a package to be statically linked even in the presence of shared libraries (maybe the the exception being busybox, for those who want to cheaply build an initrd before pivoting in the final rootfs, but that can be done with a config fragment or a custom config file in any case). This leaves out-of-tree packages. In that case, there can be tons of reasons to prefer a static link even in the presence of shared libraries. So, the real quesiton is whether we want to support that use-case or not. If we do, then we need to keep BR2_SHARED_STATIC_LIBS and fix those packages that misbehave in its presence, like done for dropbear. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 24 17:13:55 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 19:13:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ Message-ID: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> Run autoreconf to avoid the following build failure without C++: configure: error: C++ preprocessor "/lib/cpp" fails sanity check Fixes: - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 Signed-off-by: Fabrice Fontaine --- package/pamtester/pamtester.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk index b09e4d1cc0..2d8f1317ca 100644 --- a/package/pamtester/pamtester.mk +++ b/package/pamtester/pamtester.mk @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$( PAMTESTER_DEPENDENCIES = linux-pam PAMTESTER_LICENSE = BSD-3-Clause PAMTESTER_LICENSE_FILES = LICENSE +# Fix build failure without C++ +PAMTESTER_AUTORECONF = YES $(eval $(autotools-package)) -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 24 17:39:26 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 19:39:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ In-Reply-To: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> References: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> Message-ID: <20220424173926.GY2730@scaer> Fabrice, All, On 2022-04-24 19:13 +0200, Fabrice Fontaine spake thusly: > Run autoreconf to avoid the following build failure without C++: > > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > > Fixes: > - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 > > Signed-off-by: Fabrice Fontaine > --- > package/pamtester/pamtester.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk > index b09e4d1cc0..2d8f1317ca 100644 > --- a/package/pamtester/pamtester.mk > +++ b/package/pamtester/pamtester.mk > @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$( > PAMTESTER_DEPENDENCIES = linux-pam > PAMTESTER_LICENSE = BSD-3-Clause > PAMTESTER_LICENSE_FILES = LICENSE > +# Fix build failure without C++ > +PAMTESTER_AUTORECONF = YES Why does autoreconfiguring fix the issue? Regards, Yann E. MORIN. > $(eval $(autotools-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 24 17:44:15 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 19:44:15 +0200 Subject: [Buildroot] [git commit] package/omniorb: fix openssl build Message-ID: <20220424173413.798B284239@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa0aeb4bfa2de530cf108dc3043766896c09d3e1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add host-pkgconf dependency to fix the following build failure with openssl raised since commit 9d519412d65e13e4a7ffbb83edd8d1e4b2dfe4b7: /nvmedata/autobuild/instance-25/output-1/per-package/omniorb/host/bin/m68k-buildroot-linux-uclibc-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -fexceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I./.. -I../../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY -D__OMNIORB4__ -I../../../../../stub -D_REENTRANT -I/usr/include -I. -I. -I../../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__m68k__ -o static/sslActive.o sslActive.cc m68k-buildroot-linux-uclibc-g++: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/stdlib.h:55, from /usr/include/openssl/crypto.h:14, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/ssl.h:18, from ../../../../../include/omniORB4/sslContext.h:48, from sslActive.cc:32: /usr/include/bits/floatn.h:75:70: error: unknown machine mode '__TC__' 75 | typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__))); | Fixes: - http://autobuild.buildroot.org/results/47b1906eb7dd122a81191d14ad663c5931cbfade Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/omniorb/omniorb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk index b44ec53fd5..d6434735cf 100644 --- a/package/omniorb/omniorb.mk +++ b/package/omniorb/omniorb.mk @@ -25,7 +25,7 @@ HOST_OMNIORB_CONF_OPTS += --disable-longdouble ifeq ($(BR2_PACKAGE_OPENSSL),y) OMNIORB_CONF_OPTS += --with-openssl -OMNIORB_DEPENDENCIES += openssl +OMNIORB_DEPENDENCIES += host-pkgconf openssl else OMNIORB_CONF_OPTS += --without-openssl endif From yann.morin.1998 at free.fr Sun Apr 24 17:44:41 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 19:44:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/omniorb: fix openssl build In-Reply-To: <20220424084538.2740476-1-fontaine.fabrice@gmail.com> References: <20220424084538.2740476-1-fontaine.fabrice@gmail.com> Message-ID: <20220424174441.GZ2730@scaer> Fabrice, All, On 2022-04-24 10:45 +0200, Fabrice Fontaine spake thusly: > Add host-pkgconf dependency to fix the following build failure with > openssl raised since commit 9d519412d65e13e4a7ffbb83edd8d1e4b2dfe4b7: > > /nvmedata/autobuild/instance-25/output-1/per-package/omniorb/host/bin/m68k-buildroot-linux-uclibc-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -fexceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I./.. -I../../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY -D__OMNIORB4__ -I../../../../../stub -D_REENTRANT -I/usr/include -I. -I. -I../../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__m68k__ -o static/sslActive.o sslActive.cc > m68k-buildroot-linux-uclibc-g++: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' > In file included from /usr/include/stdlib.h:55, > from /usr/include/openssl/crypto.h:14, > from /usr/include/openssl/bio.h:20, > from /usr/include/openssl/ssl.h:18, > from ../../../../../include/omniORB4/sslContext.h:48, > from sslActive.cc:32: > /usr/include/bits/floatn.h:75:70: error: unknown machine mode '__TC__' > 75 | typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__))); > | > > Fixes: > - http://autobuild.buildroot.org/results/47b1906eb7dd122a81191d14ad663c5931cbfade > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/omniorb/omniorb.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk > index b44ec53fd5..d6434735cf 100644 > --- a/package/omniorb/omniorb.mk > +++ b/package/omniorb/omniorb.mk > @@ -25,7 +25,7 @@ HOST_OMNIORB_CONF_OPTS += --disable-longdouble > > ifeq ($(BR2_PACKAGE_OPENSSL),y) > OMNIORB_CONF_OPTS += --with-openssl > -OMNIORB_DEPENDENCIES += openssl > +OMNIORB_DEPENDENCIES += host-pkgconf openssl > else > OMNIORB_CONF_OPTS += --without-openssl > endif > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 24 18:08:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 20:08:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ In-Reply-To: <20220424173926.GY2730@scaer> References: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> <20220424173926.GY2730@scaer> Message-ID: Yann, Le dim. 24 avr. 2022 ? 19:39, Yann E. MORIN a ?crit : > > Fabrice, All, > > On 2022-04-24 19:13 +0200, Fabrice Fontaine spake thusly: > > Run autoreconf to avoid the following build failure without C++: > > > > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > > > > Fixes: > > - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/pamtester/pamtester.mk | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk > > index b09e4d1cc0..2d8f1317ca 100644 > > --- a/package/pamtester/pamtester.mk > > +++ b/package/pamtester/pamtester.mk > > @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$( > > PAMTESTER_DEPENDENCIES = linux-pam > > PAMTESTER_LICENSE = BSD-3-Clause > > PAMTESTER_LICENSE_FILES = LICENSE > > +# Fix build failure without C++ > > +PAMTESTER_AUTORECONF = YES > > Why does autoreconfiguring fix the issue? I didn't dig too much into it but it removes those wrong CXXCPP tests from the configure file. > > Regards, > Yann E. MORIN. > > > $(eval $(autotools-package)) > > -- > > 2.35.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' Best Regards, Fabrice From fontaine.fabrice at gmail.com Sun Apr 24 19:10:32 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 21:10:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptsetup: fix build with argp-standalone Message-ID: <20220424191032.3222587-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump of argp-standalone to version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' Fixes: - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 Signed-off-by: Fabrice Fontaine --- ...onfigure.ac-replace-argp_usage-check.patch | 40 +++++++++++++++++++ package/cryptsetup/cryptsetup.mk | 1 + 2 files changed, 41 insertions(+) create mode 100644 package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch diff --git a/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch new file mode 100644 index 0000000000..66e3be350c --- /dev/null +++ b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch @@ -0,0 +1,40 @@ +From 21515ad7a3b000ee6038f82bbb428ab527002bbd Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 24 Apr 2022 19:47:53 +0200 +Subject: [PATCH] configure.ac: replace argp_usage check + +Replace check for argp_usage by argp_parse as argp_usage is not used by +cryptsetup. Moreover, this will fix the following build failure raised +with argp-standalone in version 1.4.0 and +https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: + +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': +cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': +cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' + +Fixes: + - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://gitlab.com/cryptsetup/cryptsetup/-/issues/737] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index d31fb0a7..e47179f2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -413,7 +413,7 @@ if test "x$enable_ssh_token" = "xyes"; then + AC_CHECK_DECLS([ssh_session_is_known_server], [], [], [#include ]) + AC_CHECK_HEADER([argp.h], [], AC_MSG_ERROR([You need argp library.])) + saved_LIBS=$LIBS +- AC_SEARCH_LIBS([argp_usage],[argp]) ++ AC_SEARCH_LIBS([argp_parse],[argp]) + AC_SUBST(ARGP_LIBS, $LIBS) + LIBS=$saved_LIBS + fi +-- +2.35.1 + diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk index ddb10f1da3..20cf5d6346 100644 --- a/package/cryptsetup/cryptsetup.mk +++ b/package/cryptsetup/cryptsetup.mk @@ -19,6 +19,7 @@ CRYPTSETUP_CPE_ID_VENDOR = cryptsetup_project CRYPTSETUP_INSTALL_STAGING = YES # 0001-Add-check-program-for-symver-attribute.patch +# 0002-configure.ac-replace-argp_usage-check.patch CRYPTSETUP_AUTORECONF = YES CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 24 19:19:57 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 21:19:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/libeXosip2: fix build with libressl Message-ID: <20220424191957.435337-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl >= 3.4.1 raised since commit 25ef2c26dabaf1553f1724214a4fa5e3ce48dfc8: In file included from eXtl_dtls.c:82: /home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); | ^~~~~~~~~~~~~ eXtl_dtls.c: In function 'SSL_set0_rbio': eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 108 | BIO_free_all(s->rbio); | ^~ Fixes: - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 Signed-off-by: Fabrice Fontaine --- ...dtls.c-fix-build-with-libressl-3.4.1.patch | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch diff --git a/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch new file mode 100644 index 0000000000..0b4be43b6c --- /dev/null +++ b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch @@ -0,0 +1,43 @@ +From 4201c0ff3fd75e09025d515c427f85f9fec89621 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 22:27:35 +0200 +Subject: [PATCH] src/eXtl_dtls.c: fix build with libressl >= 3.4.1 + +Fix the following build failure with libressl >= 3.4.1 which provides +SSL_set0_rbio() since +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc: + +In file included from eXtl_dtls.c:82: +/home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here + 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); + | ^~~~~~~~~~~~~ +eXtl_dtls.c: In function 'SSL_set0_rbio': +eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} + 108 | BIO_free_all(s->rbio); + | ^~ + +Fixes: + - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 + +Signed-off-by: Fabrice Fontaine +[Upstream status: sent to amoizard at antisip.com] +--- + src/eXtl_dtls.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/eXtl_dtls.c b/src/eXtl_dtls.c +index 07c0dc2..d0bd7dc 100644 +--- a/src/eXtl_dtls.c ++++ b/src/eXtl_dtls.c +@@ -102,7 +102,7 @@ + #define RANDOM "random.pem" + #define DHFILE "dh1024.pem" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3040100L) + + static void SSL_set0_rbio(SSL *s, BIO *rbio) { + BIO_free_all(s->rbio); +-- +2.35.1 + -- 2.35.1 From francois.perrad at gadz.org Sun Apr 24 19:50:08 2022 From: francois.perrad at gadz.org (=?UTF-8?Q?Fran=C3=A7ois_Perrad?=) Date: Sun, 24 Apr 2022 21:50:08 +0200 Subject: [Buildroot] [PATCH] package/libressl: bump to version 3.5.2 In-Reply-To: <69a502da-b1f9-b688-092e-59bf594ed6be@mind.be> References: <20220424072016.3459504-1-francois.perrad@gadz.org> <69a502da-b1f9-b688-092e-59bf594ed6be@mind.be> Message-ID: Le dim. 24 avr. 2022 ? 17:05, Arnout Vandecappelle a ?crit : > > > On 24/04/2022 09:20, Francois Perrad wrote: > > Signed-off-by: Francois Perrad > > --- > > package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- > > package/libressl/Config.in | 2 ++ > > package/libressl/libressl.hash | 2 +- > > package/libressl/libressl.mk | 2 +- > > 4 files changed, 5 insertions(+), 3 deletions(-) > > > > diff --git a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > > index 98fe250f6..1c59aec72 100644 > > --- a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > > +++ b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > > @@ -20,7 +20,7 @@ diff --git a/include/openssl/ssl.h > b/include/openssl/ssl.h > > index 46f24b2ea..4048a6e63 100644 > > --- a/include/openssl/ssl.h > > +++ b/include/openssl/ssl.h > > -@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, > void *secret, int *secret_len, > > +@@ -408,11 +408,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, > void *secret, int *secret_len, > > #define SSL_OP_NO_TLSv1 0x04000000L > > #define SSL_OP_NO_TLSv1_2 0x08000000L > > #define SSL_OP_NO_TLSv1_1 0x10000000L > > diff --git a/package/libressl/Config.in b/package/libressl/Config.in > > index 600829cb9..aa42c21a9 100644 > > --- a/package/libressl/Config.in > > +++ b/package/libressl/Config.in > > @@ -6,4 +6,6 @@ config BR2_PACKAGE_LIBRESSL_BIN > > Install the openssl binary to the target file system. This is > > a command line tool for doing various cryptographic stuff. > > > > + https://www.libressl.org/ > > Why do you add this? We already have the URL in the top-level choice, in > package/openssl/Config.in. > > You are right, it is a mistake. Fran?ois > Regards, > Arnout > > > + > > endif > > diff --git a/package/libressl/libressl.hash > b/package/libressl/libressl.hash > > index e92399871..c3590798d 100644 > > --- a/package/libressl/libressl.hash > > +++ b/package/libressl/libressl.hash > > @@ -1,4 +1,4 @@ > > # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 > > -sha256 > ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d > libressl-3.4.3.tar.gz > > +sha256 > 56feab8e21c3fa6549f8b7d7511658b8e98518162838a795314732654adf3e5f > libressl-3.5.2.tar.gz > > # Locally computed > > sha256 > 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING > > diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk > > index 0bb468ced..c9c484d5d 100644 > > --- a/package/libressl/libressl.mk > > +++ b/package/libressl/libressl.mk > > @@ -4,7 +4,7 @@ > > # > > > ################################################################################ > > > > -LIBRESSL_VERSION = 3.4.3 > > +LIBRESSL_VERSION = 3.5.2 > > LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL > > LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original > OpenSSL code) > > LIBRESSL_LICENSE_FILES = COPYING > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontaine.fabrice at gmail.com Sun Apr 24 20:00:13 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 22:00:13 +0200 Subject: [Buildroot] [PATCH 1/2] package/libselinux: fix host build Message-ID: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> The following build failure is raised since commit 1745fcde740057951dcc5429f3bfabd103b764a1 because $(HOST_PKG_PYTHON_DISTUTILS_ENV) contains $(HOST_CONFIGURE_OPTS) and so will override LDFLAGS passed by libselinux.mk: /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -L/nvmedata/autobuild/instance-11/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-11/output-1/host/lib -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.lo selinux_config.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro /usr/bin/ld: regex.lo: in function `regex_writef': regex.c:(.text+0x7c): undefined reference to `pcre_fullinfo' To fix this build failure, instead of moving LDFLAGS after $(HOST_PKG_PYTHON_DISTUTILS_ENV), drop LDFLAGS and add host-pkgconf dependency to retrieve pcre dependencies as pkg-config is supported since version 3.2 and https://github.com/SELinuxProject/selinux/commit/74093beab0c605641ec413be81e31e6b2f55d8d4 Dropping LDFLAGS will also drop -lpthread which doesn't seem to raise any build failures with test-pkg: bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: SKIPPED sourcery-arm [6/6]: SKIPPED Apply the same update to the target variant for consistancy. Fixes: - http://autobuild.buildroot.org/results/d16995f0decef9c9bf58cab4fa30f7daab6918fb Signed-off-by: Fabrice Fontaine --- package/libselinux/libselinux.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 5790e79040..c6be8e638a 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -10,7 +10,8 @@ LIBSELINUX_LICENSE = Public Domain LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject -LIBSELINUX_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) libsepol pcre +LIBSELINUX_DEPENDENCIES = \ + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre LIBSELINUX_INSTALL_STAGING = YES @@ -52,8 +53,7 @@ endif # python3 # when the python binding is enabled. LIBSELINUX_MAKE_OPTS += \ CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \ - CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ - LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" + CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" define LIBSELINUX_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ @@ -76,13 +76,12 @@ define LIBSELINUX_INSTALL_TARGET_CMDS endef HOST_LIBSELINUX_DEPENDENCIES = \ - host-libsepol host-pcre host-swig host-python3 + host-pkgconf host-libsepol host-pcre host-swig host-python3 HOST_LIBSELINUX_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ PREFIX=$(HOST_DIR) \ SHLIBDIR=$(HOST_DIR)/lib \ - LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \ $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ PYTHON=python$(PYTHON3_VERSION_MAJOR) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 24 20:00:14 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 22:00:14 +0200 Subject: [Buildroot] [PATCH 2/2] package/libselinux: switch to pcre2 In-Reply-To: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> References: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> Message-ID: <20220424200014.1336771-2-fontaine.fabrice@gmail.com> Switch to pcre2 which is available since version 3.2 and https://github.com/SELinuxProject/selinux/commit/50f0910cf05bdc1d10710c7c3fb748a178473387 as pcre is EOL pcre2 is used by default since version 3.4 and https://github.com/SELinuxProject/selinux/commit/e0da140d82c0ebebf1060ce87d0f11276c7fc59a Signed-off-by: Fabrice Fontaine --- package/libselinux/Config.in | 2 +- package/libselinux/libselinux.mk | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package/libselinux/Config.in b/package/libselinux/Config.in index 348757abce..3098fe3ea4 100644 --- a/package/libselinux/Config.in +++ b/package/libselinux/Config.in @@ -4,7 +4,7 @@ config BR2_PACKAGE_LIBSELINUX depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol select BR2_PACKAGE_LIBSEPOL - select BR2_PACKAGE_PCRE + select BR2_PACKAGE_PCRE2 select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC help libselinux is the runtime SELinux library that provides diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index c6be8e638a..db35da130f 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -11,7 +11,7 @@ LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject LIBSELINUX_DEPENDENCIES = \ - $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre2 LIBSELINUX_INSTALL_STAGING = YES @@ -20,7 +20,8 @@ LIBSELINUX_INSTALL_STAGING = YES LIBSELINUX_MAKE_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ ARCH=$(NORMALIZED_ARCH) \ - SHLIBDIR=/usr/lib + SHLIBDIR=/usr/lib \ + USE_PCRE2=y LIBSELINUX_MAKE_INSTALL_TARGETS = install @@ -76,14 +77,15 @@ define LIBSELINUX_INSTALL_TARGET_CMDS endef HOST_LIBSELINUX_DEPENDENCIES = \ - host-pkgconf host-libsepol host-pcre host-swig host-python3 + host-pkgconf host-libsepol host-pcre2 host-swig host-python3 HOST_LIBSELINUX_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ PREFIX=$(HOST_DIR) \ SHLIBDIR=$(HOST_DIR)/lib \ $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ - PYTHON=python$(PYTHON3_VERSION_MAJOR) + PYTHON=python$(PYTHON3_VERSION_MAJOR) \ + USE_PCRE2=y define HOST_LIBSELINUX_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) \ -- 2.35.1 From james.hilliard1 at gmail.com Sun Apr 24 20:06:20 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:06:20 -0600 Subject: [Buildroot] [PATCH 1/1] package/python3: bump to version 3.10.4 Message-ID: <20220424200620.1413743-1-james.hilliard1@gmail.com> Drop override system locale patch which is now upstream. Signed-off-by: James Hilliard --- ...dd-importlib-fix-for-PEP-3147-issue.patch} | 0 ...locale-and-set-to-default-when-addin.patch | 39 ------------------- ...0012-Add-an-option-to-disable-pydoc.patch} | 0 ...13-Add-an-option-to-disable-lib2to3.patch} | 0 ...ption-to-disable-the-sqlite3-module.patch} | 0 ...-an-option-to-disable-the-tk-module.patch} | 0 ...option-to-disable-the-curses-module.patch} | 0 ...0017-Add-an-option-to-disable-expat.patch} | 0 ...Add-an-option-to-disable-CJK-codecs.patch} | 0 ...> 0019-Add-an-option-to-disable-NIS.patch} | 0 ...dd-an-option-to-disable-unicodedata.patch} | 0 ... 0021-Add-an-option-to-disable-IDLE.patch} | 0 ...22-Add-an-option-to-disable-decimal.patch} | 0 ...n-to-disable-the-ossaudiodev-module.patch} | 0 ...n-option-to-disable-openssl-support.patch} | 0 ...tion-to-disable-the-readline-module.patch} | 0 ...o-disable-zlib-bzip2-and-xz-modules.patch} | 0 ...hon-config.sh-don-t-reassign-prefix.patch} | 0 ...Fix-cross-compiling-the-uuid-module.patch} | 0 ...dd-an-option-to-disable-uuid-module.patch} | 0 ...fix-building-on-older-distributions.patch} | 0 ...p-CC-print-multiarch-output-for-mus.patch} | 0 ...on-to-disable-the-berkeleydb-module.patch} | 0 ...ng-doesn-t-set-errno-when-encryptio.patch} | 0 package/python3/python3.hash | 6 +-- package/python3/python3.mk | 2 +- 26 files changed, 4 insertions(+), 43 deletions(-) rename package/python3/{0012-Add-importlib-fix-for-PEP-3147-issue.patch => 0011-Add-importlib-fix-for-PEP-3147-issue.patch} (100%) delete mode 100644 package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch rename package/python3/{0013-Add-an-option-to-disable-pydoc.patch => 0012-Add-an-option-to-disable-pydoc.patch} (100%) rename package/python3/{0014-Add-an-option-to-disable-lib2to3.patch => 0013-Add-an-option-to-disable-lib2to3.patch} (100%) rename package/python3/{0015-Add-option-to-disable-the-sqlite3-module.patch => 0014-Add-option-to-disable-the-sqlite3-module.patch} (100%) rename package/python3/{0016-Add-an-option-to-disable-the-tk-module.patch => 0015-Add-an-option-to-disable-the-tk-module.patch} (100%) rename package/python3/{0017-Add-an-option-to-disable-the-curses-module.patch => 0016-Add-an-option-to-disable-the-curses-module.patch} (100%) rename package/python3/{0018-Add-an-option-to-disable-expat.patch => 0017-Add-an-option-to-disable-expat.patch} (100%) rename package/python3/{0019-Add-an-option-to-disable-CJK-codecs.patch => 0018-Add-an-option-to-disable-CJK-codecs.patch} (100%) rename package/python3/{0020-Add-an-option-to-disable-NIS.patch => 0019-Add-an-option-to-disable-NIS.patch} (100%) rename package/python3/{0021-Add-an-option-to-disable-unicodedata.patch => 0020-Add-an-option-to-disable-unicodedata.patch} (100%) rename package/python3/{0022-Add-an-option-to-disable-IDLE.patch => 0021-Add-an-option-to-disable-IDLE.patch} (100%) rename package/python3/{0023-Add-an-option-to-disable-decimal.patch => 0022-Add-an-option-to-disable-decimal.patch} (100%) rename package/python3/{0024-Add-an-option-to-disable-the-ossaudiodev-module.patch => 0023-Add-an-option-to-disable-the-ossaudiodev-module.patch} (100%) rename package/python3/{0025-Add-an-option-to-disable-openssl-support.patch => 0024-Add-an-option-to-disable-openssl-support.patch} (100%) rename package/python3/{0026-Add-an-option-to-disable-the-readline-module.patch => 0025-Add-an-option-to-disable-the-readline-module.patch} (100%) rename package/python3/{0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch => 0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (100%) rename package/python3/{0028-python-config.sh-don-t-reassign-prefix.patch => 0027-python-config.sh-don-t-reassign-prefix.patch} (100%) rename package/python3/{0029-Fix-cross-compiling-the-uuid-module.patch => 0028-Fix-cross-compiling-the-uuid-module.patch} (100%) rename package/python3/{0030-Add-an-option-to-disable-uuid-module.patch => 0029-Add-an-option-to-disable-uuid-module.patch} (100%) rename package/python3/{0031-fix-building-on-older-distributions.patch => 0030-fix-building-on-older-distributions.patch} (100%) rename package/python3/{0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch => 0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (100%) rename package/python3/{0033-Add-an-option-to-disable-the-berkeleydb-module.patch => 0032-Add-an-option-to-disable-the-berkeleydb-module.patch} (100%) rename package/python3/{0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch => 0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch} (100%) diff --git a/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch similarity index 100% rename from package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch rename to package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch diff --git a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch deleted file mode 100644 index 4d021d86a4..0000000000 --- a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch +++ /dev/null @@ -1,39 +0,0 @@ -From e4ae670e3489544a49dabd1618c32fe73504a7ba Mon Sep 17 00:00:00 2001 -From: Samuel Cabrero -Date: Wed, 23 Dec 2015 11:45:48 +0100 -Subject: [PATCH] Override system locale and set to default when adding gcc - paths - -Forces the use of the default locale in the function -add_gcc_paths, which is called when cross compiling to add the -include and library paths. This is necessary because otherwise -the gcc output is localized and the output parsing fails, which -results in no paths added and detect_modules not able to find -any system library (eg. libz, libssl, etc.) - -[Thomas: patch taken from https://bugs.python.org/issue23767.] - -Signed-off-by: Samuel Cabrero -Signed-off-by: Thomas Petazzoni -[james.hilliard1 at gmail.com: adapt to python 3.9] -Signed-off-by: James Hilliard ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index d3f0e663f2..926c16f58f 100644 ---- a/setup.py -+++ b/setup.py -@@ -761,7 +761,7 @@ class PyBuildExt(build_ext): - tmpfile = os.path.join(self.build_temp, 'ccpaths') - if not os.path.exists(self.build_temp): - os.makedirs(self.build_temp) -- ret = run_command('%s -E -v - %s 1>/dev/null' % (CC, tmpfile)) -+ ret = run_command('LC_ALL=C %s -E -v - %s 1>/dev/null' % (CC, tmpfile)) - is_gcc = False - is_clang = False - in_incdirs = False --- -2.25.1 - diff --git a/package/python3/0013-Add-an-option-to-disable-pydoc.patch b/package/python3/0012-Add-an-option-to-disable-pydoc.patch similarity index 100% rename from package/python3/0013-Add-an-option-to-disable-pydoc.patch rename to package/python3/0012-Add-an-option-to-disable-pydoc.patch diff --git a/package/python3/0014-Add-an-option-to-disable-lib2to3.patch b/package/python3/0013-Add-an-option-to-disable-lib2to3.patch similarity index 100% rename from package/python3/0014-Add-an-option-to-disable-lib2to3.patch rename to package/python3/0013-Add-an-option-to-disable-lib2to3.patch diff --git a/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch b/package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch similarity index 100% rename from package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch rename to package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch diff --git a/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch b/package/python3/0015-Add-an-option-to-disable-the-tk-module.patch similarity index 100% rename from package/python3/0016-Add-an-option-to-disable-the-tk-module.patch rename to package/python3/0015-Add-an-option-to-disable-the-tk-module.patch diff --git a/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch b/package/python3/0016-Add-an-option-to-disable-the-curses-module.patch similarity index 100% rename from package/python3/0017-Add-an-option-to-disable-the-curses-module.patch rename to package/python3/0016-Add-an-option-to-disable-the-curses-module.patch diff --git a/package/python3/0018-Add-an-option-to-disable-expat.patch b/package/python3/0017-Add-an-option-to-disable-expat.patch similarity index 100% rename from package/python3/0018-Add-an-option-to-disable-expat.patch rename to package/python3/0017-Add-an-option-to-disable-expat.patch diff --git a/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch b/package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch similarity index 100% rename from package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch rename to package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch diff --git a/package/python3/0020-Add-an-option-to-disable-NIS.patch b/package/python3/0019-Add-an-option-to-disable-NIS.patch similarity index 100% rename from package/python3/0020-Add-an-option-to-disable-NIS.patch rename to package/python3/0019-Add-an-option-to-disable-NIS.patch diff --git a/package/python3/0021-Add-an-option-to-disable-unicodedata.patch b/package/python3/0020-Add-an-option-to-disable-unicodedata.patch similarity index 100% rename from package/python3/0021-Add-an-option-to-disable-unicodedata.patch rename to package/python3/0020-Add-an-option-to-disable-unicodedata.patch diff --git a/package/python3/0022-Add-an-option-to-disable-IDLE.patch b/package/python3/0021-Add-an-option-to-disable-IDLE.patch similarity index 100% rename from package/python3/0022-Add-an-option-to-disable-IDLE.patch rename to package/python3/0021-Add-an-option-to-disable-IDLE.patch diff --git a/package/python3/0023-Add-an-option-to-disable-decimal.patch b/package/python3/0022-Add-an-option-to-disable-decimal.patch similarity index 100% rename from package/python3/0023-Add-an-option-to-disable-decimal.patch rename to package/python3/0022-Add-an-option-to-disable-decimal.patch diff --git a/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch b/package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch similarity index 100% rename from package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch rename to package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch diff --git a/package/python3/0025-Add-an-option-to-disable-openssl-support.patch b/package/python3/0024-Add-an-option-to-disable-openssl-support.patch similarity index 100% rename from package/python3/0025-Add-an-option-to-disable-openssl-support.patch rename to package/python3/0024-Add-an-option-to-disable-openssl-support.patch diff --git a/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch b/package/python3/0025-Add-an-option-to-disable-the-readline-module.patch similarity index 100% rename from package/python3/0026-Add-an-option-to-disable-the-readline-module.patch rename to package/python3/0025-Add-an-option-to-disable-the-readline-module.patch diff --git a/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch similarity index 100% rename from package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch rename to package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch diff --git a/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch b/package/python3/0027-python-config.sh-don-t-reassign-prefix.patch similarity index 100% rename from package/python3/0028-python-config.sh-don-t-reassign-prefix.patch rename to package/python3/0027-python-config.sh-don-t-reassign-prefix.patch diff --git a/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch b/package/python3/0028-Fix-cross-compiling-the-uuid-module.patch similarity index 100% rename from package/python3/0029-Fix-cross-compiling-the-uuid-module.patch rename to package/python3/0028-Fix-cross-compiling-the-uuid-module.patch diff --git a/package/python3/0030-Add-an-option-to-disable-uuid-module.patch b/package/python3/0029-Add-an-option-to-disable-uuid-module.patch similarity index 100% rename from package/python3/0030-Add-an-option-to-disable-uuid-module.patch rename to package/python3/0029-Add-an-option-to-disable-uuid-module.patch diff --git a/package/python3/0031-fix-building-on-older-distributions.patch b/package/python3/0030-fix-building-on-older-distributions.patch similarity index 100% rename from package/python3/0031-fix-building-on-older-distributions.patch rename to package/python3/0030-fix-building-on-older-distributions.patch diff --git a/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch b/package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch similarity index 100% rename from package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch rename to package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch diff --git a/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch b/package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch similarity index 100% rename from package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch rename to package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch diff --git a/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch b/package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch similarity index 100% rename from package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch rename to package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 97f4653490..5ae0add789 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3102/ -md5 14e8c22458ed7779a1957b26cde01db9 Python-3.10.2.tar.xz +# From https://www.python.org/downloads/release/python-3104/ +md5 21f2e113e087083a1e8cf10553d93599 Python-3.10.4.tar.xz # Locally computed -sha256 17de3ac7da9f2519aa9d64378c603a73a0e9ad58dffa8812e45160c086de64c7 Python-3.10.2.tar.xz +sha256 80bf925f571da436b35210886cf79f6eb5fa5d6c571316b73568343451f77a19 Python-3.10.4.tar.xz sha256 f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 3a334fb28d..cffb34e264 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.10 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).4 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others -- 2.25.1 From fontaine.fabrice at gmail.com Sun Apr 24 20:16:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 22:16:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/rtl_433: fix CVE-2022-27419 Message-ID: <20220424201615.3421463-1-fontaine.fabrice@gmail.com> rtl_433 21.12 was discovered to contain a stack overflow in the function acurite_00275rm_decode at /devices/acurite.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted file. Signed-off-by: Fabrice Fontaine --- ...0004-Fix-overflow-in-Acurite-00275rm.patch | 35 +++++++++++++++++++ package/rtl_433/rtl_433.mk | 3 ++ 2 files changed, 38 insertions(+) create mode 100644 package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch diff --git a/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch new file mode 100644 index 0000000000..057bf9cf64 --- /dev/null +++ b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch @@ -0,0 +1,35 @@ +From 37455483889bd1c641bdaafc493d1cc236b74904 Mon Sep 17 00:00:00 2001 +From: "Christian W. Zuckschwerdt" +Date: Fri, 18 Mar 2022 08:09:15 +0100 +Subject: [PATCH] Fix overflow in Acurite-00275rm (closes #2012) + +[Retrieved from: +https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904] +Signed-off-by: Fabrice Fontaine +--- + src/devices/acurite.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/devices/acurite.c b/src/devices/acurite.c +index 6879e52da..4f3e83eb3 100644 +--- a/src/devices/acurite.c ++++ b/src/devices/acurite.c +@@ -1318,15 +1318,15 @@ static int acurite_00275rm_decode(r_device *decoder, bitbuffer_t *bitbuffer) + + // Combine signal if exactly three repeats were found + if (n_rows == 3) { +- uint8_t *b = bitbuffer->bb[bitbuffer->num_rows]; ++ bitbuffer_add_row(bitbuffer); ++ uint8_t *b = bitbuffer->bb[bitbuffer->num_rows - 1]; + for (int i = 0; i < 11; ++i) { + // The majority bit count wins + b[i] = (b_rows[0][i] & b_rows[1][i]) | + (b_rows[1][i] & b_rows[2][i]) | + (b_rows[2][i] & b_rows[0][i]); + } +- bitbuffer->bits_per_row[bitbuffer->num_rows] = 88; +- bitbuffer->num_rows += 1; ++ bitbuffer->bits_per_row[bitbuffer->num_rows - 1] = 88; + } + + // Output the first valid row diff --git a/package/rtl_433/rtl_433.mk b/package/rtl_433/rtl_433.mk index d1c28adbf5..8326caedb2 100644 --- a/package/rtl_433/rtl_433.mk +++ b/package/rtl_433/rtl_433.mk @@ -20,6 +20,9 @@ RTL_433_CONF_OPTS = \ # 0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch RTL_433_IGNORE_CVES += CVE-2022-25051 +# 0004-Fix-overflow-in-Acurite-00275rm.patch +RTL_433_IGNORE_CVES += CVE-2022-27419 + ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) RTL_433_DEPENDENCIES += librtlsdr RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 24 20:41:06 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:41:06 +0200 Subject: [Buildroot] [git commit] package/pamtester: fix build without C++ Message-ID: <20220424203155.D232584258@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9993a36f5e1296e86f00376f795de485386bd913 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master pamtester uses an archaic configure.in with archaic constructs. This had generated a configure script that incorrectly tries to look for and validate a C++ compiler: checking for powerpc64le-buildroot-linux-gnu-g++... no checking whether we are using the GNU C++ compiler... no checking whether no accepts -g... no checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check Callin gautoreconf fixes the issue, as the generated configure no longer trie to look for a C++ compiler at all anymore. Fixes: - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: expand commit log; add big-fat comment] Signed-off-by: Yann E. MORIN --- package/pamtester/pamtester.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk index b09e4d1cc0..77867403c3 100644 --- a/package/pamtester/pamtester.mk +++ b/package/pamtester/pamtester.mk @@ -10,4 +10,9 @@ PAMTESTER_DEPENDENCIES = linux-pam PAMTESTER_LICENSE = BSD-3-Clause PAMTESTER_LICENSE_FILES = LICENSE +# Obsolete constructs in the archaic configure.in generated an outworn +# configure script that incorrectly searches a C++ compiler. Regenerate +# the autoconf machinery to avoid failures without a C++ compiler. +PAMTESTER_AUTORECONF = YES + $(eval $(autotools-package)) From yann.morin.1998 at free.fr Sun Apr 24 20:43:23 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:43:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ In-Reply-To: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> References: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> Message-ID: <20220424204323.GA3624965@scaer> Fabrice, All, On 2022-04-24 19:13 +0200, Fabrice Fontaine spake thusly: > Run autoreconf to avoid the following build failure without C++: > > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > > Fixes: > - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 > > Signed-off-by: Fabrice Fontaine Applied to master, after adding an explanatory comment above the autoreconf line, and expanding the commit log. Thanks. Regards, Yann E. MORIN. > --- > package/pamtester/pamtester.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk > index b09e4d1cc0..2d8f1317ca 100644 > --- a/package/pamtester/pamtester.mk > +++ b/package/pamtester/pamtester.mk > @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$( > PAMTESTER_DEPENDENCIES = linux-pam > PAMTESTER_LICENSE = BSD-3-Clause > PAMTESTER_LICENSE_FILES = LICENSE > +# Fix build failure without C++ > +PAMTESTER_AUTORECONF = YES > > $(eval $(autotools-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 24 20:46:56 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 22:46:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/cairo: fix build with libexecinfo Message-ID: <20220424204656.3352319-1-fontaine.fabrice@gmail.com> Fix the following build failure raised on uclibc and musl since the addition of libexecinfo package in commit eea8ba446c10701a273432552108d80fb2224ef4: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace_symbols' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace' Fixes: - http://autobuild.buildroot.org/results/836348270d564a46cc9ee840cf87b2494cc82cec Signed-off-by: Fabrice Fontaine --- package/cairo/cairo.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 98f270442a..f479aa252a 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -15,6 +15,8 @@ CAIRO_INSTALL_STAGING = YES # 0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch CAIRO_IGNORE_CVES += CVE-2018-19876 +CAIRO_CONF_ENV = LIBS="$(CAIRO_LIBS)" + # relocation truncated to fit: R_68K_GOT16O ifeq ($(BR2_m68k_cf),y) CAIRO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" @@ -27,7 +29,7 @@ endif # cairo can use C++11 atomics when available, so we need to link with # libatomic for the architectures who need libatomic. ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -CAIRO_CONF_ENV += LIBS="-latomic" +CAIRO_LIBS += -latomic endif CAIRO_CONF_OPTS = \ @@ -81,6 +83,11 @@ else CAIRO_CONF_OPTS += --disable-ft endif +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +CAIRO_DEPENDENCIES += libexecinfo +CAIRO_LIBS += -lexecinfo +endif + ifeq ($(BR2_PACKAGE_LIBGLIB2),y) CAIRO_CONF_OPTS += --enable-gobject CAIRO_DEPENDENCIES += libglib2 -- 2.35.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:35 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:35 -0600 Subject: [Buildroot] [PATCH v6 1/5] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220424205639.1618386-1-james.hilliard1@gmail.com> There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. We need to special case dependency exclusions for host-python-flit-core and host-python-installer to avoid circular dependencies in the flit-bootstrap SETUP_TYPE. We also need to special case the installation command for host-python-flit-core since it can not depend on host-python-installer due to host-python-installer requiring host-python-flit-core. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle --- Changes v3 -> v4: - rebase Changes v2 -> v3: - add special flit-bootstrap SETUP_TYPE - don't change package SETUP_TYPE's yet Changes v1 -> v2: - formatting/cleanup - add comments --- package/pkg-python.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..2e7704a0a9 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +# Use flit built in wheel builder for packages that are flit-bootstrap packages. +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. +# +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +ifeq ($(1),host-python-flit-core) +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) +else +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif +else $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) +else +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:36 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:36 -0600 Subject: [Buildroot] [PATCH v6 2/5] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220424205639.1618386-1-james.hilliard1@gmail.com> References: <20220424205639.1618386-1-james.hilliard1@gmail.com> Message-ID: <20220424205639.1618386-2-james.hilliard1@gmail.com> From: ????? ???????? When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ????? ???????? Signed-off-by: James Hilliard --- Changes v4 -> v5: - add rebased remove hardcoded paths patch --- package/pkg-python.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 2e7704a0a9..154810e1cc 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages @@ -225,11 +217,11 @@ ifeq ($(1),host-python-flit-core) # $(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) else -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif endif else -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:37 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:37 -0600 Subject: [Buildroot] [PATCH v6 3/5] package/python-flit-core: migrate setup type to flit bootstrap In-Reply-To: <20220424205639.1618386-1-james.hilliard1@gmail.com> References: <20220424205639.1618386-1-james.hilliard1@gmail.com> Message-ID: <20220424205639.1618386-3-james.hilliard1@gmail.com> This package needs to use flit-bootstrap since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- package/python-flit-core/python-flit-core.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk index 0e058a1f17..aaf4c77c6a 100644 --- a/package/python-flit-core/python-flit-core.mk +++ b/package/python-flit-core/python-flit-core.mk @@ -8,6 +8,6 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:38 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:38 -0600 Subject: [Buildroot] [PATCH v6 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: <20220424205639.1618386-1-james.hilliard1@gmail.com> References: <20220424205639.1618386-1-james.hilliard1@gmail.com> Message-ID: <20220424205639.1618386-4-james.hilliard1@gmail.com> This package now requires flit and must use the flit-bootstrap setup type since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- package/python-tomli/python-tomli.hash | 4 ++-- package/python-tomli/python-tomli.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash index 1a274c8a40..8368f9ee13 100644 --- a/package/python-tomli/python-tomli.hash +++ b/package/python-tomli/python-tomli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/tomli/json -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz # Locally computed sha256 checksums sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk index b8c20ca736..ce7495d6f0 100644 --- a/package/python-tomli/python-tomli.mk +++ b/package/python-tomli/python-tomli.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_TOMLI_VERSION = 1.2.0 +PYTHON_TOMLI_VERSION = 2.0.1 PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa -PYTHON_TOMLI_SETUP_TYPE = distutils +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 +PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap PYTHON_TOMLI_LICENSE = MIT PYTHON_TOMLI_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:39 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:39 -0600 Subject: [Buildroot] [PATCH v6 5/5] package/python-pyparsing: bump to version 3.0.8 In-Reply-To: <20220424205639.1618386-1-james.hilliard1@gmail.com> References: <20220424205639.1618386-1-james.hilliard1@gmail.com> Message-ID: <20220424205639.1618386-5-james.hilliard1@gmail.com> This package now requires flit and must use the flit-bootstrap setup type since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- package/python-pyparsing/python-pyparsing.hash | 4 ++-- package/python-pyparsing/python-pyparsing.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-pyparsing/python-pyparsing.hash b/package/python-pyparsing/python-pyparsing.hash index 1e56e878a1..e7137d55c9 100644 --- a/package/python-pyparsing/python-pyparsing.hash +++ b/package/python-pyparsing/python-pyparsing.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pyparsing/json -md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz -sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz +md5 971252e99e1e02a4c27f001894e0422d pyparsing-3.0.8.tar.gz +sha256 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954 pyparsing-3.0.8.tar.gz # Locally computed sha256 checksums sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE diff --git a/package/python-pyparsing/python-pyparsing.mk b/package/python-pyparsing/python-pyparsing.mk index 2fb705bc7a..f3e2caf21e 100644 --- a/package/python-pyparsing/python-pyparsing.mk +++ b/package/python-pyparsing/python-pyparsing.mk @@ -4,12 +4,12 @@ # ################################################################################ -PYTHON_PYPARSING_VERSION = 3.0.7 +PYTHON_PYPARSING_VERSION = 3.0.8 PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/31/df/789bd0556e65cf931a5b87b603fcf02f79ff04d5379f3063588faaf9c1e4 PYTHON_PYPARSING_LICENSE = MIT PYTHON_PYPARSING_LICENSE_FILES = LICENSE -PYTHON_PYPARSING_SETUP_TYPE = setuptools +PYTHON_PYPARSING_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From yann.morin.1998 at free.fr Sun Apr 24 20:56:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:56:50 +0200 Subject: [Buildroot] [git commit] package/libselinux: switch to pcre2 Message-ID: <20220424204706.873C68426E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=663b2edcd2be99638842edaf0406f4c984f32918 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Switch to pcre2 which is available since version 3.2 and https://github.com/SELinuxProject/selinux/commit/50f0910cf05bdc1d10710c7c3fb748a178473387 as pcre is EOL pcre2 is used by default since version 3.4 and https://github.com/SELinuxProject/selinux/commit/e0da140d82c0ebebf1060ce87d0f11276c7fc59a Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libselinux/Config.in | 2 +- package/libselinux/libselinux.mk | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package/libselinux/Config.in b/package/libselinux/Config.in index 348757abce..3098fe3ea4 100644 --- a/package/libselinux/Config.in +++ b/package/libselinux/Config.in @@ -4,7 +4,7 @@ config BR2_PACKAGE_LIBSELINUX depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol select BR2_PACKAGE_LIBSEPOL - select BR2_PACKAGE_PCRE + select BR2_PACKAGE_PCRE2 select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC help libselinux is the runtime SELinux library that provides diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index c6be8e638a..db35da130f 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -11,7 +11,7 @@ LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject LIBSELINUX_DEPENDENCIES = \ - $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre2 LIBSELINUX_INSTALL_STAGING = YES @@ -20,7 +20,8 @@ LIBSELINUX_INSTALL_STAGING = YES LIBSELINUX_MAKE_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ ARCH=$(NORMALIZED_ARCH) \ - SHLIBDIR=/usr/lib + SHLIBDIR=/usr/lib \ + USE_PCRE2=y LIBSELINUX_MAKE_INSTALL_TARGETS = install @@ -76,14 +77,15 @@ define LIBSELINUX_INSTALL_TARGET_CMDS endef HOST_LIBSELINUX_DEPENDENCIES = \ - host-pkgconf host-libsepol host-pcre host-swig host-python3 + host-pkgconf host-libsepol host-pcre2 host-swig host-python3 HOST_LIBSELINUX_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ PREFIX=$(HOST_DIR) \ SHLIBDIR=$(HOST_DIR)/lib \ $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ - PYTHON=python$(PYTHON3_VERSION_MAJOR) + PYTHON=python$(PYTHON3_VERSION_MAJOR) \ + USE_PCRE2=y define HOST_LIBSELINUX_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) \ From yann.morin.1998 at free.fr Sun Apr 24 20:55:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:55:18 +0200 Subject: [Buildroot] [git commit] package/libselinux: fix host build Message-ID: <20220424204706.7D8658426B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3bdfb5f5ad2d43cca491a7bc621800eaa0064c38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The following build failure is raised since commit 1745fcde740057951dcc5429f3bfabd103b764a1 because $(HOST_PKG_PYTHON_DISTUTILS_ENV) contains $(HOST_CONFIGURE_OPTS) and so will override LDFLAGS passed by libselinux.mk: /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -L/nvmedata/autobuild/instance-11/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-11/output-1/host/lib -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.l o selinux_config.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro /usr/bin/ld: regex.lo: in function `regex_writef': regex.c:(.text+0x7c): undefined reference to `pcre_fullinfo' To fix this build failure, instead of moving LDFLAGS after $(HOST_PKG_PYTHON_DISTUTILS_ENV), drop LDFLAGS and add host-pkgconf dependency to retrieve pcre dependencies as pkg-config is supported since version 3.2 and https://github.com/SELinuxProject/selinux/commit/74093beab0c605641ec413be81e31e6b2f55d8d4 Dropping LDFLAGS will also drop -lpthread which doesn't seem to raise any build failures with test-pkg: bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: SKIPPED sourcery-arm [6/6]: SKIPPED Apply the same update to the target variant for consistency. Fixes: - http://autobuild.buildroot.org/results/d16995f0decef9c9bf58cab4fa30f7daab6918fb Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libselinux/libselinux.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 5790e79040..c6be8e638a 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -10,7 +10,8 @@ LIBSELINUX_LICENSE = Public Domain LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject -LIBSELINUX_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) libsepol pcre +LIBSELINUX_DEPENDENCIES = \ + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre LIBSELINUX_INSTALL_STAGING = YES @@ -52,8 +53,7 @@ endif # python3 # when the python binding is enabled. LIBSELINUX_MAKE_OPTS += \ CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \ - CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ - LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" + CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" define LIBSELINUX_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ @@ -76,13 +76,12 @@ define LIBSELINUX_INSTALL_TARGET_CMDS endef HOST_LIBSELINUX_DEPENDENCIES = \ - host-libsepol host-pcre host-swig host-python3 + host-pkgconf host-libsepol host-pcre host-swig host-python3 HOST_LIBSELINUX_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ PREFIX=$(HOST_DIR) \ SHLIBDIR=$(HOST_DIR)/lib \ - LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \ $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ PYTHON=python$(PYTHON3_VERSION_MAJOR) From yann.morin.1998 at free.fr Sun Apr 24 20:57:38 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:57:38 +0200 Subject: [Buildroot] [PATCH 1/2] package/libselinux: fix host build In-Reply-To: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> References: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> Message-ID: <20220424205738.GB3624965@scaer> Fabrice, All, On 2022-04-24 22:00 +0200, Fabrice Fontaine spake thusly: > The following build failure is raised since commit > 1745fcde740057951dcc5429f3bfabd103b764a1 because > $(HOST_PKG_PYTHON_DISTUTILS_ENV) contains $(HOST_CONFIGURE_OPTS) and so > will override LDFLAGS passed by libselinux.mk: > > /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -L/nvmedata/autobuild/instance-11/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-11/output-1/host/lib -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.l > o selinux_config.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro > /usr/bin/ld: regex.lo: in function `regex_writef': > regex.c:(.text+0x7c): undefined reference to `pcre_fullinfo' > > To fix this build failure, instead of moving LDFLAGS after > $(HOST_PKG_PYTHON_DISTUTILS_ENV), drop LDFLAGS and add host-pkgconf > dependency to retrieve pcre dependencies as pkg-config is supported > since version 3.2 and > https://github.com/SELinuxProject/selinux/commit/74093beab0c605641ec413be81e31e6b2f55d8d4 > > Dropping LDFLAGS will also drop -lpthread which doesn't seem to raise > any build failures with test-pkg: > > bootlin-armv5-uclibc [1/6]: OK > bootlin-armv7-glibc [2/6]: OK > bootlin-armv7m-uclibc [3/6]: SKIPPED > bootlin-x86-64-musl [4/6]: OK > br-arm-full-static [5/6]: SKIPPED > sourcery-arm [6/6]: SKIPPED > > Apply the same update to the target variant for consistancy. > > Fixes: > - http://autobuild.buildroot.org/results/d16995f0decef9c9bf58cab4fa30f7daab6918fb > > Signed-off-by: Fabrice Fontaine Series of two patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libselinux/libselinux.mk | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk > index 5790e79040..c6be8e638a 100644 > --- a/package/libselinux/libselinux.mk > +++ b/package/libselinux/libselinux.mk > @@ -10,7 +10,8 @@ LIBSELINUX_LICENSE = Public Domain > LIBSELINUX_LICENSE_FILES = LICENSE > LIBSELINUX_CPE_ID_VENDOR = selinuxproject > > -LIBSELINUX_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) libsepol pcre > +LIBSELINUX_DEPENDENCIES = \ > + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre > > LIBSELINUX_INSTALL_STAGING = YES > > @@ -52,8 +53,7 @@ endif # python3 > # when the python binding is enabled. > LIBSELINUX_MAKE_OPTS += \ > CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \ > - CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ > - LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" > + CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" > > define LIBSELINUX_BUILD_CMDS > $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ > @@ -76,13 +76,12 @@ define LIBSELINUX_INSTALL_TARGET_CMDS > endef > > HOST_LIBSELINUX_DEPENDENCIES = \ > - host-libsepol host-pcre host-swig host-python3 > + host-pkgconf host-libsepol host-pcre host-swig host-python3 > > HOST_LIBSELINUX_MAKE_OPTS = \ > $(HOST_CONFIGURE_OPTS) \ > PREFIX=$(HOST_DIR) \ > SHLIBDIR=$(HOST_DIR)/lib \ > - LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \ > $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ > PYTHON=python$(PYTHON3_VERSION_MAJOR) > > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From james.hilliard1 at gmail.com Sun Apr 24 21:39:55 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:55 -0600 Subject: [Buildroot] [PATCH v7 2/5] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <20220424213958.1747120-2-james.hilliard1@gmail.com> From: ????? ???????? When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ????? ???????? Signed-off-by: James Hilliard --- Changes v4 -> v5: - add rebased remove hardcoded paths patch --- package/pkg-python.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 2e7704a0a9..154810e1cc 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages @@ -225,11 +217,11 @@ ifeq ($(1),host-python-flit-core) # $(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) else -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif endif else -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 21:39:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:56 -0600 Subject: [Buildroot] [PATCH v7 3/5] package/python-flit-core: migrate setup type to flit bootstrap In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <20220424213958.1747120-3-james.hilliard1@gmail.com> This package needs to use flit-bootstrap since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- package/python-flit-core/python-flit-core.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk index 0e058a1f17..aaf4c77c6a 100644 --- a/package/python-flit-core/python-flit-core.mk +++ b/package/python-flit-core/python-flit-core.mk @@ -8,6 +8,6 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 21:39:54 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:54 -0600 Subject: [Buildroot] [PATCH v7 1/5] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220424213958.1747120-1-james.hilliard1@gmail.com> There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. We need to special case dependency exclusions for host-python-flit-core and host-python-installer to avoid circular dependencies in the flit-bootstrap SETUP_TYPE. We also need to special case the installation command for host-python-flit-core since it can not depend on host-python-installer due to host-python-installer requiring host-python-flit-core. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle --- Changes v3 -> v4: - rebase Changes v2 -> v3: - add special flit-bootstrap SETUP_TYPE - don't change package SETUP_TYPE's yet Changes v1 -> v2: - formatting/cleanup - add comments --- package/pkg-python.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..2e7704a0a9 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +# Use flit built in wheel builder for packages that are flit-bootstrap packages. +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. +# +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +ifeq ($(1),host-python-flit-core) +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) +else +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif +else $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) +else +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 21:39:57 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:57 -0600 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <20220424213958.1747120-4-james.hilliard1@gmail.com> This package now requires flit and must use the flit-bootstrap setup type for the host build since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- Changes v6 -> v7: - only use flit-boostrap for host-python-tomli --- package/python-tomli/python-tomli.hash | 4 ++-- package/python-tomli/python-tomli.mk | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash index 1a274c8a40..8368f9ee13 100644 --- a/package/python-tomli/python-tomli.hash +++ b/package/python-tomli/python-tomli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/tomli/json -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz # Locally computed sha256 checksums sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk index b8c20ca736..b803d67466 100644 --- a/package/python-tomli/python-tomli.mk +++ b/package/python-tomli/python-tomli.mk @@ -4,12 +4,13 @@ # ################################################################################ -PYTHON_TOMLI_VERSION = 1.2.0 +PYTHON_TOMLI_VERSION = 2.0.1 PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa -PYTHON_TOMLI_SETUP_TYPE = distutils +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 PYTHON_TOMLI_LICENSE = MIT PYTHON_TOMLI_LICENSE_FILES = LICENSE +PYTHON_TOMLI_SETUP_TYPE = flit +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 21:39:58 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:58 -0600 Subject: [Buildroot] [PATCH v7 5/5] package/python-pyparsing: bump to version 3.0.8 In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <20220424213958.1747120-5-james.hilliard1@gmail.com> This package now requires flit and must use the flit-bootstrap setup type for the host build since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- Changes v6 -> v7: - only use flit-boostrap for host-python-pyparsing --- package/python-pyparsing/python-pyparsing.hash | 4 ++-- package/python-pyparsing/python-pyparsing.mk | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-pyparsing/python-pyparsing.hash b/package/python-pyparsing/python-pyparsing.hash index 1e56e878a1..e7137d55c9 100644 --- a/package/python-pyparsing/python-pyparsing.hash +++ b/package/python-pyparsing/python-pyparsing.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pyparsing/json -md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz -sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz +md5 971252e99e1e02a4c27f001894e0422d pyparsing-3.0.8.tar.gz +sha256 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954 pyparsing-3.0.8.tar.gz # Locally computed sha256 checksums sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE diff --git a/package/python-pyparsing/python-pyparsing.mk b/package/python-pyparsing/python-pyparsing.mk index 2fb705bc7a..7e458042f5 100644 --- a/package/python-pyparsing/python-pyparsing.mk +++ b/package/python-pyparsing/python-pyparsing.mk @@ -4,12 +4,13 @@ # ################################################################################ -PYTHON_PYPARSING_VERSION = 3.0.7 +PYTHON_PYPARSING_VERSION = 3.0.8 PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/31/df/789bd0556e65cf931a5b87b603fcf02f79ff04d5379f3063588faaf9c1e4 PYTHON_PYPARSING_LICENSE = MIT PYTHON_PYPARSING_LICENSE_FILES = LICENSE -PYTHON_PYPARSING_SETUP_TYPE = setuptools +PYTHON_PYPARSING_SETUP_TYPE = flit +HOST_PYTHON_PYPARSING_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From leo at yuriev.ru Sun Apr 24 23:56:15 2022 From: leo at yuriev.ru (=?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?=) Date: Mon, 25 Apr 2022 02:56:15 +0300 Subject: [Buildroot] [PATCH 1/1] package/libmdbx: bump version to 0.11.7 Message-ID: <20220424235618.471682-1-leo@yuriev.ru> This is stable bugfix release of libmdbx. So it is reasonable to backport this patch to all applicable releases/branches of buildroot. Release notes for v0.11.7 https://gitflic.ru/project/erthink/libmdbx/release/90ec9985-cd60-4d9a-8c98-8417506fd26d The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md Signed-off-by: ?????? ????? (Leonid Yuriev) --- package/libmdbx/Config.in | 2 +- package/libmdbx/libmdbx.hash | 4 ++-- package/libmdbx/libmdbx.mk | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/libmdbx/Config.in b/package/libmdbx/Config.in index d13f73938f..2cde7ed5e9 100644 --- a/package/libmdbx/Config.in +++ b/package/libmdbx/Config.in @@ -13,7 +13,7 @@ config BR2_PACKAGE_LIBMDBX libmdbx surpasses the legendary LMDB in terms of reliability, features and performance. - https://github.com/erthink/libmdbx + https://gitflic.ru/project/erthink/libmdbx if BR2_PACKAGE_LIBMDBX diff --git a/package/libmdbx/libmdbx.hash b/package/libmdbx/libmdbx.hash index 2483d14dd1..7d663b3da0 100644 --- a/package/libmdbx/libmdbx.hash +++ b/package/libmdbx/libmdbx.hash @@ -1,5 +1,5 @@ -# Hashes from: https://github.com/erthink/libmdbx/releases/ -sha256 884de528f5c2abab2187b7c4c84b769d2551e1a748cbfdf0ae4c0f5c9f8dbd27 libmdbx-amalgamated-0.11.4.tar.gz +# Hashes from: https://libmdbx.website.yandexcloud.net/release/SHA256SUMS +sha256 3a9fb6a4cd941e646597235518714373fda1ca6d4c5e23669afe70ea87c20940 libmdbx-amalgamated-0.11.7.tar.xz # Locally calculated sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/package/libmdbx/libmdbx.mk b/package/libmdbx/libmdbx.mk index 1aff8fbb4d..a7056b2850 100644 --- a/package/libmdbx/libmdbx.mk +++ b/package/libmdbx/libmdbx.mk @@ -4,9 +4,9 @@ # ################################################################################ -LIBMDBX_VERSION = 0.11.4 -LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.gz -LIBMDBX_SITE = https://github.com/erthink/libmdbx/releases/download/v$(LIBMDBX_VERSION) +LIBMDBX_VERSION = 0.11.7 +LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz +LIBMDBX_SITE = https://libmdbx.website.yandexcloud.net/release LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO LIBMDBX_LICENSE = OLDAP-2.8 LIBMDBX_LICENSE_FILES = LICENSE -- 2.36.0 From thomas.petazzoni at bootlin.com Mon Apr 25 04:40:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 04:40:44 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-24 Message-ID: <20220425044052.A7A5540866@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-24 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 20 | 6 | 0 | 26 | master | 129 | 464 | 0 | 593 | Classification of failures by reason for master ----------------------------------------------- package/pcre2/pcre2.mk:33: ... | 57 pcre2-legal-info | 29 host-binutils-2.32 | 19 host-gcc-final-10.3.0 | 19 git-2.31.2 | 17 uclibc-1.0.40 | 17 libopenssl-1.1.1n | 13 host-libselinux-3.3 | 12 host-wayland-1.20.0 | 12 linux-5.15.33 | 12 host-elf2flt-7e33f28df198c4... | 11 argp-standalone-1.4.1 | 10 zchunk-1.2.2 | 10 python3-3.10.2 | 9 toolchain-external-bootlin-... | 9 zlib-ng-2.0.6 | 9 toolchain-external-bootlin | 7 libressl-3.4.3 | 6 glibc-2.34-109-gd64b08d5ba7... | 5 host-gcc-final-9.4.0 | 4 host-go-1.18.1 | 4 host-libcap-2.63 | 4 libgcrypt-1.10.0 | 4 perl-5.34.1 | 4 refpolicy | 4 unknown | 4 aufs-util | 3 cryptsetup-2.4.3 | 3 exempi-2.6.1 | 3 host-gcc-final-11.2.0 | 3 host-gdb-arc-2020.09-releas... | 3 libeXosip2-5.3.0 | 3 linux-headers-5.15.33 | 3 pipewire-0.3.50 | 3 polkit-a2bf5c9c83b6ae46cbd5... | 3 qpid-proton-0.35.0 | 3 uacme-1.7.1 | 3 brltty-6.4 | 2 bubblewrap-0.6.1 | 2 clamav-0.103.5 | 2 coreutils-9.1 | 2 elfutils-0.186 | 2 fontconfig-2.13.1 | 2 fs/ext2/ext2.mk:65: /home/a... | 2 fs/ubifs/ubifs.mk:49: /home... | 2 fs/ubifs/ubifs.mk:49: /nvme... | 2 gummiboot-2bcd919c681c952eb... | 2 jpeg-turbo-2.1.3 | 2 libglib2-2.70.4 | 2 libnss-3.77 | 2 linux-headers-5.10.104-cip3 | 2 linux-headers-5.10.104-cip3... | 2 netsurf-3.10 | 2 python-zopfli-0.2.1 | 2 toolchain-external-codescap... | 2 ulog-0389d243352255f6182326... | 2 vlc-3.0.16 | 2 wavemon-0.9.4 | 2 xenomai | 2 ace-7.0.6 | 1 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 aubio-0.4.9 | 1 bat-0.19.0 | 1 bitcoin-0.21.2 | 1 boost-1.78.0 | 1 cairo-1.16.0 | 1 containerd-1.6.2 | 1 dash-0.5.11.5 | 1 dhcp-4.4.3 | 1 dieharder-3.31.1 | 1 docker-proxy-339b972b464ee3... | 1 flannel-0.14.0 | 1 frr-8.2.2 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/jffs2/jffs2.mk:71: /home... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 glorytun-0.3.4 | 1 gmp-6.2.1 | 1 gnu-efi-3.0.10 | 1 host-gcc-final-8.4.0 | 1 host-gcc-initial-10.3.0 | 1 host-gcc-initial-9.4.0 | 1 host-nodejs-14.18.3 | 1 host-rust-1.60.0 | 1 igh-ethercat-1.5.2 | 1 libcap-ng-0.8.3 | 1 libcpprestsdk-2.10.18 | 1 libgpg-error-1.42 | 1 libks-1.8.0 | 1 libtorrent-rasterbar-1.2.15 | 1 libuhttpd-3.14.1 | 1 libusb-1.0.25 | 1 libvorbis-1.3.7 | 1 libwebsockets-4.3.1 | 1 linphone-4.4.8 | 1 ltp-testsuite-20220121 | 1 ncurses-6.1 | 1 netatalk-3.1.13 | 1 omniorb-4.3.0 | 1 pamtester-0.1.2 | 1 perl-net-ssleay-1.85 | 1 poco-1.11.1 | 1 poppler-21.12.0 | 1 python-cryptography-36.0.1 | 1 rauc-1.6 | 1 ruby-3.1.0 | 1 suricata-6.0.4 | 1 tbb-2021.5.0 | 1 tcf-agent-1.7.0 | 1 toolchain-external-bootlin-... | 1 wtfutil-0.41.0 | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblazeel | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/c38ddcd1f181da8332838e149990691f0566ffdc | s390x | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/2278e9df7d06fcf031cdc4fd2160aa1304d586c0 | or1k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/5087434422df419116c0e4590d831d6e3990cd43 | x86_64 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/73b9ea08f1c138ab9da2959a857478c43b76b9ec | x86_64 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/244101b1c414ec6584d91e3c1793e603e7f17209 | arceb | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/3340851909546a69f8632cf490e3ff4a368007ae | arm | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/e43443580d234aef7a54ba0cb0b7d107af56ccac | or1k | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/0e27891e709cfdb5165c64bef38ab788042c98af | arm | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/21fed655a52a917d6197b64bdbdbed20cdb9ed9a | microblaze | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/99d8ac3c876c044ea213034334c8fa9ae6de9fb1 | i686 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/5b248e94ccb412d2b4e68f7381c6e971c768f788 | aarch64 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/eb6b7579eef98d04af79ae1caa29afa505f9e9a6 | riscv64 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/40640c07f9ce9e9d083049cb21cdaab67481a79f | x86_64 | aubio-0.4.9 | NOK | http://autobuild.buildroot.net/results/368ffe90a01f2eb23651e2974ea20090dc534b4b | arc | aufs-util | NOK | http://autobuild.buildroot.net/results/eaf71dba8d6bfc67acfe1f1b3c58de334fe791d3 | sparc64 | aufs-util | NOK | http://autobuild.buildroot.net/results/30198b99e6885bc75b95c743875927ee06c5b735 | s390x | aufs-util | NOK | http://autobuild.buildroot.net/results/41fbdc46c682a104dd356c3bd9c8d5faed68c509 | mipsel | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/aa7fdb4a1b849aa76bfe46026b8ce11c4a31fe97 | x86_64 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/0c0586a77fb96ddbce7369d0bd708d17c2b3577b | arc | boost-1.78.0 | NOK | http://autobuild.buildroot.net/results/a515c7b70829359475bfa77f061f61d1e17c9f44 | microblazeel | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/28da4ad3f73804b0e1456ee9b2aae190842b4678 | microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/50d22c92d69b976b2e2fa325ff5c4447742208a0 | arceb | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/879f9b43044f3d07d8fac52ca23453cafce08fc2 | mipsel | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/e5011d5dfbca7e9cb69ebdb7093dcad110f085eb | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/836348270d564a46cc9ee840cf87b2494cc82cec | m68k | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/d61396a62a4247b35a76775a35e192dd995180fa | sparc64 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/e7f6cc633b35a8687824b142731a6024e4729cd5 | powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/add6044bb872d618808a4fa72662567a993d335d | mips64 | coreutils-9.1 | NOK | http://autobuild.buildroot.net/results/ab440926091a24dce5460a7ad1a0583d07aac811 | ORPH sh4aeb | coreutils-9.1 | NOK | http://autobuild.buildroot.net/results/f70079ce974d3939f324cc629b79da7bfc436494 | ORPH or1k | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/6c516b82c646c35e115019e06b9f13bdc210d7e2 | i686 | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/cb3fdae4e0da603f304501f65127800346cb3915 | arm | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/f8832b410c499ccdaa7e4fabe57296f02ee6e2fb | mips | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/4c87149bc22400e11212a37381e1fd989c0d3e7b | ORPH or1k | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/37ecc6a8629ade029f32d75ef3e698fd5eb95601 | ORPH microblaze | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/b9470c87fbbc3c7fa2cda3077306f101b9371495 | i686 | docker-proxy-339b972b464ee3... | NOK | http://autobuild.buildroot.net/results/b2f214e2915b82d0e6784dd87fcd6eb31bb872d3 | microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/a360d0278cb263ee3a5c830f0b122793cd45a628 | ORPH arceb | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/4aaee9036180761b5e6f0c03c06c22be49945d3d | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/e4402659af9432df3c37958048e1d5b12b3d5338 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/79709333295abfe2ed9f4b49a04fd2a07cc1f39e | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/49e818aca77c823a50ea0c04adfe36575bc09db7 | aarch64 | flannel-0.14.0 | NOK | http://autobuild.buildroot.net/results/911b21ebc39024b911b0f1f42794c254efa393de | riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/15ca5c123e7212c01c4c801195af2ed38c484848 | ORPH riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/2e1536acbfad01091890165f3804d2e2701d6306 | ORPH mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/2e9919ce5ef68d0cc3c0649123b399d08b617108 | mips | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/e2ab17e4c930a7237874719ada231837590e1a8f | mips64 | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/989d5aeacbeac83d863b3bc81400dd9094141fe0 | powerpc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/feb87dda6dc6c04f6c9816da087543af4c15240a | arc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/c6cc83abcac89df41b5b99d465fee39f8a0d835f | mipsel | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/d74befc14c499b24516e68bed7a1c41b3669eec0 | aarch64_be | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/9bf58db7ef26cbc614b3934241ca16b1cbdca154 | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/fe78238e147d1aad14cfa60ddcfbada32b749530 | s390x | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/075779d14b7b5bea25f0651d04c367c66964247d | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2ec7c6be7d0cfae962363e8bc7234068ec7f480a | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/f716da39fd9b34e29f68e1f71ac2f5cdcaf0e5d3 | sparc | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2dd5633bbe34888a2becffed4477dc298e8343f4 | m68k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/614b8bfb19dbf2fb2b664cbe930e7420ccd42a58 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/23f79344e964ccbcb6850899ddb4dc7b668237b1 | or1k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/bf387fba38ead78fbf1d3cd99fdf638249d31d55 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/4c885c66c51e86a2e79534faddbdf6c9f67043ff | i686 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0c8a53ddf9033fea25c9bfd949cdc1e86f54b859 | powerpc | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/215a84a6c634dcbc6f4efde938136bac13da6ac9 | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/5610c5b3157f5ea2eb9021c63f080de288482c28 | mips | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/30b202cdd6494735ad9afd93b33f930f0be14a7e | arceb | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/c05de87789dc928b04bf2bcd393bfef7ee75707d | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/8adac5021964e4ae7f866e605be38ab449430f72 | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/ec03f53e6d603d10d83a30099b377ebcaaac473e | xtensa | fs/jffs2/jffs2.mk:71: /home... | NOK | http://autobuild.buildroot.net/results/4389891dec247c5ee486f46c18202ad23d48e4e9 | microblazeel | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/0523755165acde09f1785f5c2e0c09ceca37fc6d | sparc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/53e7d0444782449ad3a900e109d5bc3ceab58843 | aarch64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/09e7d5d10096e9100bc1bd88ecc24c2f123bf060 | powerpc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/ed1800c05cc492c287f55a27131c35ff4876c867 | mips | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/700ec9f2da98e33a37cc1fba4ad5b1bec9a3c12c | mips | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/d1291ed2ea34148cc26ecdd13390a5cbd9534fc0 | microblazeel | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/c4a9febf05f700bfc67a8d52a63cf461145b964a | armeb | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/49b402cc941e58dd6e218561289354782743b304 | m68k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/7458dcd397747eead7999baa9a5d9cc8118b7b46 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/248472054a6941b878181d75d4bf93fdcc8ea7df | mips64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/60078349d660955763ca4a6be99b258bac04e306 | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/017003995874520264bd59442816247079842ff5 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/cb1b5489bdd8d93757194eb269dd306683b3dba4 | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/1baf7baac791d50ad001d59cd6a5785a6cc8ae1c | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/02e1d09d554f8a430a95b5c7e0dc74130d6f14bf | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/43c62f0cd970dbef3a969ec1c89795b3134f2769 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/1ebbd482ec8bbb27d4cb1bc4f680ce49d38ee341 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/38aa62016cc8505b86c29a3d5e02115e473fd1ad | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/6c79965dad7528b8b4156ab5308e42901fba7705 | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/0ae8937eaf3da54f4f28554765a3456e32d58fe1 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/31765c98fdc11079350e2cf48eac0c33434487b0 | sh4eb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f3235b8741e8d904b8df4d1e9626b7953d59c48a | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/202263d4fd0792213dc4d140a62b9969738d0b74 | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/de91794e7268ee5062cd072abfc2519e15c659d2 | arm | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a0f13124213f350c24e9b8ba168aa5d7ce4f9419 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/6f756b7a2e71b799228da62ed803d40a85a93f2d | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/7bbd9e92cface0a741b8fa111c104514a076cbbe | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/521f94793ef8a257b1543e4e9d5cb11c085fceb1 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/48adfd26531c63d598d49a16edc66940ede8ce7b | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a7441aefe1d309fc70d62cf23750484157f220c6 | arm | glorytun-0.3.4 | NOK | http://autobuild.buildroot.net/results/da8297b4998ba9c744caf09df4d7c79d4a2dd329 | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/de19393d14e79c3329ced199113d380768372a21 | ORPH mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/0ef9fe710d4aa3097242a28a03b41b3f8a93cc1f | x86_64 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/e517c8a5ded5b251ae198f0f3339053d8189aaa7 | x86_64 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/6fd6797a35c77c17014982e9f6f06699a33a3011 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b87aa9deb9f496c9ae4fa0c93346090297b73639 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6a5bf9a0a4c07d22b80c9bb1dd381ed322e8e462 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1672eb688d85f7f9c1565c9f09dfe7c5ce4928a4 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8960a31cac24dcc84e445c05c972211ee1e4d54a | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/00afcc00f08c057ca70d1c92755bb8762c054164 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/407c11f8f2d18cb832a2a0d38d4510a00a40571b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a2aaf0468177689d0ab39071a27116387e5323cd | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/754cb3505ec1625ea89c742da6bd148dc2a3395d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f2a0fc7feb31ff6a3a1d6409462da013602f3d21 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7a2a88cce3c6fbb931c661caa042bdf5f14f1c7f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/78dab41d53924cffdd7920490861a3d35d0cdb7d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a07dcc62f1378824d183c820caaa2ff6bf68a149 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e3046932c1ab1b10236348fe544272f807f99394 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/74b14903be7046c48fac73cb7afc56913c2f209d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6b6746dfc11092c5b64684ab49eeb88af55d1fe9 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3689978db642de9a88340fb41e38ae2315a79085 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/38e1e44385264cacb350a8b2d27c2e84c5f7309d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2ab896c2ca98a0f0dcba30bcc9529a65b6e3d8b2 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/87233232d17d85af9a39627b4b1391db747a92c7 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c28ea27cc21a6844f23d82f7d8c2f10514926f0b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ae6cd4350a9995c99b80190cd6caaeb8a4a81ece | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/27d55fce716107371c6f04cfd8e4e51169da4d6d | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/0fb2a66155e9d82bd793aa776dad4648af05f95a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/b498bc603189a7fc5993e7d33ec77b72be80d996 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/93811a6eac00e285af470abcf06f66507f5a5cd7 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/d9a730de035b5c3e0d17a328f55c8f7504dccc48 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/627f4bf8fa4bc723be7d9fa49c6adc3d3bc7ff85 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c0294b7fe629cf2040aeae157d7acc61e5a507f3 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/43082679156691b37a87cb391f99b8409faed226 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2a61a69212743f278e46f0492effb33501119c01 | ORPH sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/aa74d37e4206ed106afc5754241eaf735836fdf8 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/148de976e9d8d231493e766776aaaf9ed46b2249 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3383ad7a5d5a5f292c1ba39924c112d177eae98b | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/215cc72b578329043a0c6167b48d749551e3ad69 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cf15062ea11949e158ef08fbd327d0e8e6a6107a | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d708b7a53fb6f4a0a97830414d2a0cce9d008d2e | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d6dddaf47569a78322d0a07a13642800bb2b761b | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b898588abcaa75d621dd1dcc11083148db936b2f | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/80d56a29b85ec55d6ab2bf73be018c204b941110 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1543f3148fec42d09be2af3999deafe0e9447f21 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/442ea779d562f7a99e53533da460e4b838b70709 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/15b58a454bae217d4891beda91c1e1ac446a84b8 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2624d9c7385fc25f64519cec07fd9f934835613d | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9dbea30059515dbba6382bb4b2464793f6f9a4a6 | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3995d56e94173200180da41e0cdb4fe4250e74f8 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a840956d9995a07f768ac4c62938ba9a9d98c913 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/762acfbb3287ffb8d54cf77fa7d8eb6b4a4b02c8 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d2cc3884383f7604fa577d8f1710a67d32f7f36d | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2c0d8c32a69216055e349d21b51fd003637142e9 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/543f0f5583c76639eab0106bf3a41a6a3111e51e | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/692317ad09590284d952b7723fc6427c07c61912 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/a3f016d520ddf7eaf546ce19c2b8b9e0368baa8d | powerpc | host-gcc-final-8.4.0 | NOK | http://autobuild.buildroot.net/results/acf3c31574e34391057cb13e4a8e522af60e5413 | microblazeel | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/fad075d80bd554a4a1577e5ec2ff35b5d870863e | powerpc | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/ea856a0badcd419aca79a59cfb8445de084e8310 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/50cdbc56e568c868f830a2e4e0172a6ab336ba6c | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b6053530d57fbbb07a0a164ab13a0e2898c97306 | arc | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/a3d05851c4179bf76e78fd57e76b789b04c704a7 | x86_64 | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/5eb0ce342fe20f73ec7ad52a4adbfc3f77e27ea1 | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/f0fc8d5959ef7459bf5966eacc1322688696c3cf | ORPH arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/e52fe6a09b202ccdd4db21282dea99ff7853547f | ORPH arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/b583a1e2a8d6a9847802f3734dba637407acf5c3 | ORPH mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/44b1d54c2cdf211b4058d072d54999dcae3ffe0d | mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/6a46953bc01409aa354e060202461f5894d82960 | i686 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/eb8d68ec5bd8efb5eefb088c62eb0963441bcc25 | mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/333fd5c24d1a85646dbf322c4d5ab057fe5a65aa | microblazeel | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/1cddd6381a9478f16acae7a00ee1b0970146bcb8 | aarch64 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/83b505a22d7894ff5250d68ae1ff1ac6ecf2ac34 | powerpc | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/15656873963d8d5152687fb88c56fabf83a38eac | sparc64 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/af5a001c83ad664d93b4911e993200ffc406b03c | arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/6ae9a38d9b4dcefefe02b29faf6c790f47a4b553 | i686 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/76067c447749383cbb3b77288bbb32501723a475 | mips64el | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/2371cc85f4733448350325d8aef0ebb8dc825ef8 | microblaze | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/756d068fe4cd355dd2c1a0226726e960b3c5f4bb | arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/afaca46542c7e7a1e4eb0f5e4a090c436b41d497 | sparc64 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/d9b7a08f3da1ac94d61ae7117ac33d7fb12649f1 | sparc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/42cbad6308c92af221f4c01e97e7f06b81fd1efe | armeb | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/7f96b33ef47a74c9aadab1f7c2efd8e798e78eae | i686 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/0a6496a6c9f6c90e22274f30139e9358df664561 | arc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/633c0631b448ce400aa4e2fa47d2682b2786dccd | arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/39f0e46d9ffec00bf67c3188c17685f5c40f2521 | arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/e146d972050bcc190f65dbf8ed01cbf642ea1c5a | microblaze | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/4b9f6582d41db9b4f10884459b7d0410349f4f4d | x86_64 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/d90eb421b15dd4bf7fe1ef5bed72e9a3cb3413f4 | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/6a47913a104b5c588f4d41c1db8b6d9b4dfa47db | xtensa | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/98435680a904d57040d16a0dfee782fc2ee8e393 | arceb | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/c0c9c2fc27a4d1bf9cece2e0e606bbd32ba58967 | riscv32 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/704b423c627c89d58873ea74d48f92a78a97716c | x86_64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/2ce6b9aa77e2da9c5a958e05096a52189170db6c | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/8592e3c5f7c4b465553eb95f3f9d08bc75bc4fec | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/b733616ecb2daec131a96f4a917530fcd1a79173 | mips64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/92a60fd0747a943355e4aca882c43cb6b35d6d87 | riscv64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/f22636f5fde38e995d1ef4f9279f301e4ce0f9f2 | xtensa | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/ff53522e4d5b93b9327a32051be3a10429544595 | or1k | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/3a892c3b271df716f25adc7ad0e7c40e8be17e45 | aarch64_be | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/283d7f2bc386438e8fcde717b46d93cd698e43ce | x86_64 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/91a81f3bccb109b3da41761d4bc4a7eaa1451638 | or1k | jpeg-turbo-2.1.3 | NOK | http://autobuild.buildroot.net/results/d2ed3fe6d2539d4f2113862452da323852cf08d0 | or1k | jpeg-turbo-2.1.3 | NOK | http://autobuild.buildroot.net/results/90c754923dd3fdea7a55172fd128146333f525d7 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/0c6d6312b6ad561981fc5282e399806c7db82a84 | arceb | libcpprestsdk-2.10.18 | NOK | http://autobuild.buildroot.net/results/844a29d1f9b505c26a5ad4a769ab6a69adbd3e72 | ORPH nios2 | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/512f07ee7457eb3ace086db0fa712d19781bfba8 | sparc64 | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/5e88d3bdd367d3ff7540802ce7b85f40d9242420 | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/144dddb1e09f2febc481a234054e4248a179191e | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/9c3cc84f909384eb4a2b68b1cfdbb243b47c11d2 | ORPH powerpc64le | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/dd85bfab3d256aaa222965e62e5da6edfa18a33d | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/4670ecc45ac63dab6577bbedfebc12a31a9e24fe | ORPH armeb | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/69db2e36c670ddcc4b37ee91bd84833f2a61ad9c | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/244e6b30ade8987d630b9998b677a8fa97e431bb | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/04ca9148b38530bfdefe22a1e50baefb6ed380c6 | aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/bd35da9c9ee1664c3a8952aacf4b2ef3dac70228 | ORPH arc | libks-1.8.0 | NOK | http://autobuild.buildroot.net/results/8a93b75ee51e005383eac17aa7577b43eda4cd92 | powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/460cd775b50e0b50b7a44b780d5ea8335f3e0119 | powerpc64le | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/417690ddcc9050c0d4f2e0b83db496c31ad524f0 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/86d67e605e6f4b83300e70246cdfd7fab23ce4cf | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/df713e1afd410cbe4362a5b76a30de8c97ca72f7 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/69df98340294395cf9bb98a80b7bfb81aa19f56f | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a3a24fc0cf38acd5059332094257767612e1aeed | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4d192a6dac7dac278c0b1a6720d2d03f123baa76 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/61f0f96e544fa59677e6483662c74314b4ff9877 | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c43bd4a413356592f74e48e25e7a57bb6428720f | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/ded19f7376f9a13c6ec4873b3d812da1806ac04c | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/d009443313a6561129d1f46b187e46567c5fc713 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/f3056c8be3f3952830bfb4f2489ded51c7995393 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cbdb831935690c5358cfe41e8883826b95065149 | aarch64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/5af6a12af642a0fcfaae94bc7a7a785a3a433cb0 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e5aa28d5af7324ba50cecdb97fdb0b6f42d653e0 | xtensa | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/bf01daee5117cb96be62ba9b7e55c0ee9333d0c9 | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/3dcb114dbc1e8ede70dd34977c6610592f4d84a9 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/7e8ff783eb669d4fca40cad2f9acf29dd7840652 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/1a53e6268a328c939071945a33692b58b755f24f | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/78fa9fa529cb07046b63cfed0a35ecc3f7a1e24e | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/958c58f20105ff254fa807059f22028dc2bfe6c8 | ORPH x86_64 | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/2f901c8576d1c741b0f81dc0deb926da721ed440 | mips64 | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/a8c7375962c62955c648ccbf0063361aa77eadfa | or1k | libusb-1.0.25 | NOK | http://autobuild.buildroot.net/results/030a5d32a8c6f571da7c809283dfa909e8b94b0a | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/fe96338dae1d58e59ccecded0b2a0288b62acde1 | aarch64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/65ad184858252fd23efb7a601e9a817c536b7c5a | nios2 | linphone-4.4.8 | NOK | http://autobuild.buildroot.net/results/e4d27116a52044730a6d58865dac4e07ddbc257b | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/df31a99089e79222f7b6cd505597ae66dbe7eb4b | ORPH mips | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/302619bdecd176684f74ff95fd011f8921abfea9 | ORPH or1k | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/a7ddf3924b5b9491d7c2f2d78f5154601881bde8 | ORPH powerpc64le | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/aba6a9a7a8ae22c022c0152698f48cfc2c72313e | ORPH powerpc64le | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/f8211e7f2fd9a09ec4106e5cd1b2b909f96c2d6c | ORPH powerpc64le | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/806be10849eaf5c2ebd307414bb18e715aefffd7 | ORPH sh4aeb | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/3eb36286d6ac3d8948245258f84077c4627ccecf | ORPH s390x | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/dc25823bfce86c7199a76749202ce68ac52848e1 | ORPH powerpc64 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/af73823ae1dc695e956ee2356850b6d8d5720019 | ORPH or1k | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/35a9527e128120d6f335c416829c71332a35d06d | ORPH microblaze | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/dbcf7c1676a6262ccdab3ed874e72784c6fedfd0 | ORPH sh4aeb | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/59b60720101c486fdbf7168d80e277953ffc44d7 | ORPH powerpc64le | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/8642c114567c58daba6359edd920cfc99dffb63c | ORPH m68k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/a6a751529525366f82227af6bbb31b2ccf812dd7 | ORPH riscv64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/c23fbf68c766be12536eaaed257ca04fb1b2e8a7 | ORPH xtensa | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/42cfad8a7934c9e169eeeb59a0ec8437e26cb0d7 | ORPH riscv32 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/8cfbe6da0bad1a9ac8b25efd31d04478bc4a6b62 | ORPH sparc | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/cae9721c000daabd50c53de9b0c751f4d4d9731f | ORPH arc | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/77318ad084f9061227e98752745a14d63f1061a3 | ORPH mipsel | ltp-testsuite-20220121 | NOK | http://autobuild.buildroot.net/results/bfd0d906a05564a4f323db604f3b908abf552b20 | arc | ncurses-6.1 | NOK | http://autobuild.buildroot.net/results/8e14d93c5bad7540399839860c91c2e8447d9a64 | ORPH sparc | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/9e23f09586f4582a0f875d0b8ded9cfcfdf6ed04 | ORPH microblaze | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/07240d8470c8b8a029a96fb5dccfdcd51ddfd0f0 | m68k | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/dff4972fcfd7904b6a5154aed55183f6e8ec03eb | m68k | omniorb-4.3.0 | NOK | http://autobuild.buildroot.net/results/47b1906eb7dd122a81191d14ad663c5931cbfade | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/b03eae6cce0b7ac3ac127e0a83d0eeaf6c6033ac | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4f3f15c780ded0ce1c9bc8c06ff7cd56bd834611 | mips | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/c9cc1d42ffb244900cf0d21b9c57306ed2f77f26 | or1k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/cd027bbc9fba580624551e7f08971854be749326 | s390x | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/e0a875e9acc564b8c6c5a32d25cd5a7604b41c79 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/794e3b4e36ac2fc88a700c04f95bda6af65d86de | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/326fafd6584dc4f989c17ff51e9ffd1badd01c9d | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/471a0a0071ba8bfae2f33766b2fd6ba8494e1413 | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/52a22cf6091c2125815e6e33824f5461ed58e43b | powerpc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/a62d6d39fe6a365b8cdc675c7ee64ca5f5fff337 | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3fd56eae791f691b521257abbed6b607922f7688 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/93299acc7b91e2523f60e1d082817681178488db | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/85f2a0474fb661a588db33dbca6563e8ceada38a | or1k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3434d682d91ed63f9e35b023d1e075a85a88ff00 | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/856281dab3cd0694635aaee8a62660ffffc21622 | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1d0e2ac64735e74759813dc29d957248e65362ad | xtensa | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/29b91c7f7a5334c30478afa733c9b08f03d0549d | mips | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/28113725235c8a1fe080987222e1ea7c9774b8cc | xtensa | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4434b49af60580f9c81493bcb9dc497c748216c9 | i686 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/d874ce73c25725c67c6200f49d40687851eb1d6f | powerpc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1f3281461b333dffc3a60062a9b467e2b91acb27 | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/42e95c514a772410672d18e49028711e5a80e18d | powerpc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/84fa00c1a9854032eefbbcba478989f76a23bad4 | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/55869ad326201156c970d8b0327e161350ab3d99 | mips | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4a655c5bf6d381c9239d8e8cd39c8ad14edf86c1 | s390x | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/c5b98487738869de098cfc21309c6674c81216e7 | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/7ca8b973112d1d1422aa885509b632f58e31fe3b | i586 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/b6ee69bb05ef3f160a51a87c76eb569f72982991 | aarch64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/955426a2556661a66c6e27e535eba90a1559182e | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3176a1ea11d4ce01aab8f14fc7cf1b73b55d5113 | mips64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/dffa28583b087456c9f4e4c54ba8449c57a1cbd5 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/64a92783b663a838ec59f3fa2de37308f3912f0e | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6b5045ef8208b364a1106686723e738d5780318e | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/678d4f5702bf9229b0af331e0a8835ae387273c4 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/0ea4393cb4b268fb418524d45cbd5f5e78ec4f53 | armeb | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1951e769f9e06b4ecd897f782b35a32fa415b89c | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f17b0ce7c3d0e828c04a8fdf51468385c781fdfe | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/254f33f368bfb586dab0138d8d89844508bb6880 | mips64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6892bb71e856054da8e5ba73cfdee89f149ce895 | nios2 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/5e409cf4bcc8e0bb47b953447ce24d37362596f1 | mipsel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/335fe2105fc3e586224c3bd0a3b9a124b60f4b87 | sh4 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f82dc39de0c71f9e3dc1e1acf892708f64464326 | powerpc64le | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/af1d1bfd082b99948e5c7307158dd71efc3dc34c | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/2241280d97a6f24f5353dd8028cab22aa0d65444 | powerpc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/76e8b4434dd96811576d76a149b35f73d9d52e67 | s390x | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/7a6ca9f7d6a63cd78f8afccd254ccee97fd230dc | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/a91bce3f0cdced955f57213a8c0cd78845eb7827 | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/78e1433b8b16728259f118c21f3f64e28bea0e6d | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/0048298df11303f668c0b0f3496ab41aaa2c64a7 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/145550a1b7761d417e4a37145e525dd44f5751a0 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/bf776a95a76774816c5a2e1aa6b8165b5ba5a959 | sparc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6e41fcd6cebe8f38c27e74ba98370292cec7d3c2 | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/0166e0b7dd2e4c18fe96818f802728dd274de975 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1af379393364ee0836de2bdd72cd00df3d44dc3b | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/0770d7c270d3c91eb1143c8358882c9e616d2236 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/eb70526166b0455815be7e5c0db3d76be5b75a2e | sh4 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3f4b1abe3b2e1cdf4ac99131eeb5d7a2cfbb83ae | powerpc64le | pamtester-0.1.2 | NOK | http://autobuild.buildroot.net/results/c000aff659da024b6eef42bca824bdea7b5541c2 | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/136448f6dd714d946290515598a90c2687fcb5ea | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/e3017606f60c841f6eb68f4094505b464c28049f | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/34f72326659abd11474bb554de5921357301591c | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/58ef5dc4373a8882ba778fb2ec78e702f92637e7 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/f47d45ba33cf62641d348e6b0b9aae92d1193d16 | ORPH or1k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/144b075bd090ac3ae71061a7146191447bb1ef0d | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/ac2998e3403aad6fbc952a2c91160f346f65ca64 | ORPH powerpc64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/f1edbb0ce9a91ada75b7005c95d15a9f70624d7e | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/2672fa7db2e865086e72b4f1bbd131f989bac203 | ORPH aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/780128187de00194499c628e41f3aceec095d7cc | ORPH m68k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/3c3a0cbf3697e14024f3b5c034611546d37e089c | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/0b8e57948d3c07df18627505b6ce1b9f81de7a32 | ORPH m68k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/227db0a5d33f92ab55bcb8817a4f987fda4abe69 | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/9b2adb14e0125e034bd2dce68f7090a5a7e90345 | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/cefd4d91e31480f2c5a883ea6fe1a80f92e52b88 | ORPH sparc64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/ed1adcfa0805c648b5e3f88fea53df5825f12f97 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/7ceaaa57770879bebf6a2d99dfa60f1ba569e101 | ORPH riscv64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/b4a5c069271a604b61aea40d1f632f0419d36b59 | ORPH sparc64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/3fe2e499aff02ab3519726ae650158ebf8cc5b4e | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/2cadbba3ce3c67f7428435c6688d3e2560965ed0 | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/30363c1fbd2bc9ffc9c434811719c43e92ed84cc | ORPH riscv64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/e949f0b2b3dbd4e2c910449012ea001302be4972 | ORPH powerpc64le | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/f6bb4f2cfecf0202af9ba7c8207e92a5cbd4c658 | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/4a62655f3ab757d2a8ac0e1514bb7b96b0844fcf | ORPH mips64el | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/3ec71e72d38c9ea4094976c94734dfd8319643a0 | ORPH mips64el | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/49293a15e78e3dbddb2b060fad6ac7ebb0f862db | ORPH microblazeel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/8853dfb017a515a9f90c3981e747d5c283cb60ff | ORPH mips | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/d1d0785d073b10900776260e675e665d525d23f6 | ORPH microblazeel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/64878921ce597048256407fb86201a49e5f56750 | ORPH arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/88faf7490b1f30aee3116724fa9ec1e9d0a078f7 | mipsel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/d5a0443d7d6f9af7fdc2dae2789008a1f9edc8eb | microblaze | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/4f94d84966a53e60ec5096897f99af22948bb494 | microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/7dfbb13ea0ac233c543371524691642faddf59a8 | armeb | perl-net-ssleay-1.85 | NOK | http://autobuild.buildroot.net/results/71337cc496727f2b1173c055d706c5bfc2f5d2bc | mips64 | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/06a5233931ef842f910e589d07622b586cd7f852 | microblazeel | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/c3107d61393999b13f94b409857d2cf1edb72191 | xtensa | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/ec2b4deafd9fb01d64f7c9e7b155f09cdba8f541 | sparc | poco-1.11.1 | NOK | http://autobuild.buildroot.net/results/21a3bf006150086b898bfe0f31e365df2053ca74 | mips | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/dd745f43315c4583edbe0e4503fc62831e12a674 | mips64el | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/a0ba38970ddfaeb340f241e55f07fecc75542552 | powerpc64le | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/9926fc231b39cc9bca0433db097c402b610ba5ba | riscv32 | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/f643ce2e08bb5ea0e950870c270f55d0aff02131 | mipsel | python-cryptography-36.0.1 | NOK | http://autobuild.buildroot.net/results/37201da0e99923c82563ecf0f2ee39737031fd79 | s390x | python-zopfli-0.2.1 | NOK | http://autobuild.buildroot.net/results/d0e78baacea179bb05cae53f76f0a7b83b9f4493 | sparc64 | python-zopfli-0.2.1 | NOK | http://autobuild.buildroot.net/results/c7d1d2dff1efe50d6bf64e67e4f1bdee6f6789a7 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3add10bc3e6b50f61bec74969b7dbbcf049a5884 | sparc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3ed166f7a301bce421fee1c577816908b6ded322 | powerpc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/641723419fac3a0cf67ef018b904969d832175d8 | mips | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d1f60b3034e486e7a37fe789714f6aff809cba4f | microblaze | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/56f75e8d8af22c6194ff0d90786373d2417d344f | mipsel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/7cd937c054ea6905e82a3ab22a21a0ace9cc4b35 | sh4aeb | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/9568529c2dc301681e8d070e8aafe64eb27c12d8 | i686 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/2384a753c95c812ad524f6e49791ebca3e99b74f | powerpc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3054e13810c59f913cab88b610adc62aaaf16615 | sparc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/6375e1efdb60cc65b46eee6ffed2099e69506bca | powerpc64le | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/b32d48853015e67c1754253b9af4df4e787d4e6d | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/c96bc6a8ea651dfb1955c05b756ee16abfd6ed68 | microblaze | rauc-1.6 | NOK | http://autobuild.buildroot.net/results/1f37bdf72dc35e99178932b39a1d07812039672f | x86_64 | refpolicy | NOK | http://autobuild.buildroot.net/results/fa3db33eda7e71991c1fb07544b14a31392ef2ad | sparc | refpolicy | NOK | http://autobuild.buildroot.net/results/49d33cdca0e0f845b5c5a269bdda813f70c48c91 | xtensa | refpolicy | NOK | http://autobuild.buildroot.net/results/34abb5688984e70791e6e51c36c9cd9a2caf2f7f | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/848591927338b1268d438fdb1af5149cb06f250d | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/30502ccce6c7e78abc562215044cf65a41c70793 | arm | suricata-6.0.4 | NOK | http://autobuild.buildroot.net/results/5e888afb6027bb488cf1aa2bdf8a0c1b25f8ec59 | arm | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/0b2671ef1de3a06b70686c1f0923aca256894d37 | microblazeel | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/e0a77cef46940fe9540548bd729501d3e11fa04f | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/3b199ef7f4e217401986e62d69362d03d743a633 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/bdc860c65c35a5145e7d85082cbc77d9ccc5fca2 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/9a90f599a59859f4a35a02aeff2ab919c704e6e9 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c31a668b16b607080350f432f83c55c1c275e6ee | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c82127b787c66cc4e0321e9e55e771e401937835 | riscv32 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/36683c918a4810b3b8cdb83f784917054823793a | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c3025f21906f530a2d0f2a15cecdc99ef2d0af20 | armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/eb3c70a75e74d755f9cf390454cd89ae77a6e34c | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d43ddb97ea8bd89318b4d98eb41604ddb7f8f7bd | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/05677cfdf5bd12789844ad5e5d6c799d46b0a4b1 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/7da40dc7b1e2c3690e061f24d2122ee380698a28 | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d85f10e9bdb2249474bfea0f8840ea6e3ea0856a | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/c8acecf3bb3b43cfdffdbe7d2ddfe07098c6f0da | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/3aecf45c5dc6fbd8e19a6d471cb6e17d3ee5b0ef | ORPH i586 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/bd03060fb4c706ad86b6a9d51906a081438d1b41 | ORPH i586 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/9e1efc4240c8c18751ec3532fee3d9100fba478f | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/be71e57e9a9fe9f8fd2b6c292bf5bfe555402e86 | ORPH mipsel | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/7e86685c73e4ed7f629e058cfe4358e3b4fafb1d | ORPH mips64 | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/dd23cb90679aed5b0590f74181a23978cbac6a06 | ORPH microblazeel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/38cd95ae8f2fbf844d9ac7889c7d220844e6076c | microblaze | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/9433266645da8bc2d67c2c6c6d06082bef6fbe92 | powerpc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/8d492fe283ad639fa5fbb8c0045f67f432bb3d70 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a228c25671c8cbc588e44266f874dc6793acbf7c | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6f2c6545a958bcebaa5385a35770130e0f25e0ee | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a3a58c7798245bd5bec9b0e6fcfe22d98dc8a88f | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/014a068e7d54d0843cf49fe213a7b0d3d1caaa3e | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/45be9a1bab42cb5048fe66e78366c09f882fba82 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/034c114fcddb64bd7d078dd1645177d2e82df984 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/e3ee376da38e6a3ddccfc9e12168579da3a3571a | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bdb793c48bff2bb17c4fcb80ef3b705a91701b6c | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c45d7d32e81ac36da358ffbfa93479957af7ea8b | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/aeeb2db9711e8aa1fb39f015f31f547c6e1ce11f | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f772740354606a2b6405f1b445efa41a7bc72970 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b1c9e1d6a9a5be7511a9f50a5b38c5c96f685037 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/01c7e86e25819a340a33f250b47fe031dd16337f | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/2445a8fcecb257e6849c472e93a3efac29368d67 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/674da45163a78d5492607a12601252218f69f963 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/76152a44711d21763f2e62e10aac35bfd13559bd | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/8986b0d8fbe5523ed6f6d2729ee6656af0336eb1 | sparc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/4e83404d7f1cbf72362db79a317dc0a0ae2ae6d1 | nios2 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/65861b4e8aa14385b987eec201c3b0918af288d9 | arm | unknown | NOK | http://autobuild.buildroot.net/results/ff2fb762142b13bfe22c4d591f50d8b9b9a643f9 | arm | unknown | NOK | http://autobuild.buildroot.net/results/9993194d8b493883b1920ee51176b12a92484c95 | arm | unknown | NOK | http://autobuild.buildroot.net/results/fd28dc94bae78f50d2eaf8f8ddb9722ad6542dcc | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/eac66f374439e66e899a05e88092d454b1de7c72 | or1k | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/2439836e8a753df0e83c347bc2d9fb89dc9f3872 | sparc64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/e8ea4e3510e11df4ca55c8abfd4447a2f66c6d2a | i686 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/535b35dcb2641ee977104f66f5b41f1b72484028 | powerpc64le | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/b86d8aa7fc3dca792f26143c6b336e998ce9d120 | x86_64 | wtfutil-0.41.0 | NOK | http://autobuild.buildroot.net/results/937a12b35bcdd5b93f2e9a599ea4dd5126268880 | powerpc64le | xenomai | NOK | http://autobuild.buildroot.net/results/5a702a08472aac89cde44eb0c6940d78ea7f99d7 | sparc64 | xenomai | NOK | http://autobuild.buildroot.net/results/0ccd15c355981d7eca8244e224d4a54f26bcd949 | sparc64 | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/3cf453f7b238962d20513125ba8323470f6729e9 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/814924c5f9d9fd83ba3afda11d3969e21129b727 | i586 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1887cfc896fa9d58598ecb7d4c93582a47ba328f | sh4 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/73d1bf03e010a550eed0169032fd6e6ad1ada219 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/8ac3f7fbaa4d4d4d2f2d6f410e17fbbd9f0176ce | mips64el | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/49a9b9b27ab59a5d23f1a6235291dae4c329f235 | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ac092a43d57ebf70c8981956fced973b4cf3386b | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/bec52df4be1358dc8072a61379ccebce43801e9d | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/5ff3f6309ae215c7ede91b1ccb11a2401c8c02ec | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/7dfc8e3d6d140c529a196e220c3b0d4592b7faea | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b10e411457feb2af89c0171a51a00f0593c0f2fe | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/3f456b564271de6205d28d0de86d5ccf44d7b3f8 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a5c6cd7b0061753c74a089dad72dd11346a9450f | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/fdd8862c434660a5fa7ac5dc01a189e9e55d85b3 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/8913388adbdf86dbadda9a0ea0cf0cfb40bbd271 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/806f943afb0f439243edd4bd279a06045cbd71d8 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/48cb6a8fd28b78a07d57d08d5164ac68098a381a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/936f445f1bffd3650d5df048344b6054facb19dc | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/40800405910995e638450cdce89719926326c60c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/017aefe7b71d7152b8907831373785a0d2fe8bfa | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 2 host-harfbuzz-3.3.2 | 1 host-pahole-v1.23 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 tinifier-3.4.0 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- sparc64 | host-harfbuzz-3.3.2 | NOK | http://autobuild.buildroot.net/results/186ba7c1355f81fbf1dd76a6abbe5c350e2f4aae | arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/53e08d0dd589714be0b6eeeb52992d47563d5135 | x86_64 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/8beda6c3282d157a425865f694881413ca2132ad | aarch64 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/55e6dde45e14d43976ba24ac5c1a40392c194150 | aarch64 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/a40448db1f856019723d5792ea1413158e457f33 | arc | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/f0671ac127a37042fdcdfb3713c22586b9c7e895 | Packages having a newer version =============================== name | found by | link to release-monitoring.org | version | upstream | orph? -------------------------------+----------+----------------------------------------------+--------------+--------------+------- acpica | DISTRO | https://release-monitoring.org/project/00018 | 20200717 | 20220331 | adwaita-icon-theme | DISTRO | https://release-monitoring.org/project/13117 | 3.37.2 | 42.0 | agentpp | DISTRO | https://release-monitoring.org/project/21316 | 4.5.3 | 4.5.4 | alsa-lib | DISTRO | https://release-monitoring.org/project/00038 | 1.2.6 | 1.2.6.1 | android-tools | GUESS | https://release-monitoring.org/project/13989 | 4.2.2+git... | 12.1.0_r4 | angularjs | DISTRO | https://release-monitoring.org/project/21321 | 1.8.2 | 1.8.3 | armadillo | DISTRO | https://release-monitoring.org/project/07006 | 9.900.2 | 11.0.1 | assimp | DISTRO | https://release-monitoring.org/project/06988 | 5.2.1 | 5.2.3 | asterisk | DISTRO | https://release-monitoring.org/project/09838 | 16.25.2 | 19.3.2 | at-spi2-atk | DISTRO | https://release-monitoring.org/project/07840 | 2.34.2 | 2.38.0 | at-spi2-core | DISTRO | https://release-monitoring.org/project/07841 | 2.36.0 | 2.44.1 | audit | DISTRO | https://release-monitoring.org/project/15225 | 3.0.7 | 3.0.8 | autoconf-archive | DISTRO | https://release-monitoring.org/project/00142 | 2021.02.19 | 2022.02.11 | azure-iot-sdk-c | DISTRO | https://release-monitoring.org/project/21322 | LTS_01_20... | 3033-01-05 | babeld | DISTRO | https://release-monitoring.org/project/00154 | 1.9.2 | 1.11 | ORPH balena-engine | DISTRO | https://release-monitoring.org/project/141616 | 20.10.12 | 20.10.16 | ORPH bat | DISTRO | https://release-monitoring.org/project/241901 | 0.19.0 | 0.20.0 | batctl | DISTRO | https://release-monitoring.org/project/14740 | 2021.0 | 2022.0 | batman-adv | DISTRO | https://release-monitoring.org/project/19529 | 2021.4 | 2022.0 | bats-core | DISTRO | https://release-monitoring.org/project/10587 | 1.4.1 | 1.6.0 | bcg729 | DISTRO | https://release-monitoring.org/project/14743 | 1.0.4 | 1.1.1 | bctoolbox | DISTRO | https://release-monitoring.org/project/14746 | 4.4.8 | 5.1.17 | ORPH bdwgc | DISTRO | https://release-monitoring.org/project/17108 | 8.0.6 | 8.2.0 | belle-sip | DISTRO | https://release-monitoring.org/project/14378 | 4.4.8 | 5.1.12 | belr | DISTRO | https://release-monitoring.org/project/80042 | 4.4.8 | 5.1.12 | berkeleydb | GUESS | https://release-monitoring.org/project/138386 | 5.3.28 | 18.1.5 | ORPH bind | DISTRO | https://release-monitoring.org/project/14923 | 9.16.27 | 9.18.2 | ORPH binutils | DISTRO | https://release-monitoring.org/project/07981 | 2.37 | 2.38 | bird | DISTRO | https://release-monitoring.org/project/00192 | 2.0.8 | 2.0.9 | bitcoin | DISTRO | https://release-monitoring.org/project/13618 | 0.21.2 | 22.0 | bonnie | DISTRO | https://release-monitoring.org/project/00212 | 1.03e | 2.00a | ORPH boost | DISTRO | https://release-monitoring.org/project/06845 | 1.78.0 | 1.79.0 | bootstrap | DISTRO | https://release-monitoring.org/project/21578 | 4.3.1 | 5.1.3 | bullet | DISTRO | https://release-monitoring.org/project/07669 | 3.21 | 3.22b | c-icap | DISTRO | https://release-monitoring.org/project/21325 | 0.5.7 | 0.5.9 | ORPH c-icap-modules | DISTRO | https://release-monitoring.org/project/21326 | 0.5.4 | 0.5.5 | ORPH cairo | DISTRO | https://release-monitoring.org/project/00247 | 1.16.0 | 1.17.6 | cantarell | DISTRO | https://release-monitoring.org/project/10888 | 0.0.25 | 0.303.1 | ORPH ccache | DISTRO | https://release-monitoring.org/project/00257 | 3.7.12 | 4.6 | ORPH ccid | DISTRO | https://release-monitoring.org/project/02612 | 1.4.34 | 1.5.0 | ORPH cereal | DISTRO | https://release-monitoring.org/project/11606 | 1.3.1 | 1.3.2 | chartjs | DISTRO | https://release-monitoring.org/project/85785 | 2.9.4 | 3.7.1 | checkpolicy | DISTRO | https://release-monitoring.org/project/00276 | 3.3 | 20200710 | cifs-utils | DISTRO | https://release-monitoring.org/project/00287 | 6.13 | 6.14 | circus | DISTRO | https://release-monitoring.org/project/21726 | 0.16.1 | 0.17.1 | clamav | DISTRO | https://release-monitoring.org/project/00291 | 0.103.5 | 0.104.2 | clang | DISTRO | https://release-monitoring.org/project/11811 | 9.0.1 | 14.0.1 | cmake | DISTRO | https://release-monitoring.org/project/00306 | 3.18.6 | 3.23.1 | cog | DISTRO | https://release-monitoring.org/project/21333 | 0.12.4 | 0.13.3 | collectl | DISTRO | https://release-monitoring.org/project/00330 | 4.3.2 | 4.3.3 | cups-filters | DISTRO | https://release-monitoring.org/project/05541 | 1.28.12 | 1.28.15 | cutelyst | DISTRO | https://release-monitoring.org/project/21335 | 2.11.0 | 3.4.0 | dacapo | DISTRO | https://release-monitoring.org/project/20546 | 9.12-MR1-... | 9.12-vbump | daq3 | DISTRO | https://release-monitoring.org/project/212345 | 3.0.5 | 3.0.6 | datatables | DISTRO | https://release-monitoring.org/project/141588 | 1.10.20 | 1.11.5 | datatables-buttons | DISTRO | https://release-monitoring.org/project/141589 | 1.6.1 | 2.2.2 | datatables-fixedcolumns | DISTRO | https://release-monitoring.org/project/141590 | 3.3.0 | 4.0.2 | datatables-responsive | DISTRO | https://release-monitoring.org/project/141591 | 2.2.3 | 2.2.9 | dbus | DISTRO | https://release-monitoring.org/project/05356 | 1.12.22 | 1.14.0 | ORPH dc3dd | DISTRO | https://release-monitoring.org/project/15086 | 7.2.641 | 7.2.646 | ORPH debianutils | DISTRO | https://release-monitoring.org/project/21341 | 4.11 | 5.7 | ORPH delve | DISTRO | https://release-monitoring.org/project/40149 | 1.8.0 | 1.8.2 | dialog | DISTRO | https://release-monitoring.org/project/00431 | 1.3-20220117 | 1.3-20220414 | ORPH ding-libs | DISTRO | https://release-monitoring.org/project/13710 | 0.6.1 | 0.6.2 | docker-compose | DISTRO | https://release-monitoring.org/project/06185 | 1.24.1 | 2.4.1 | drbd-utils | DISTRO | https://release-monitoring.org/project/00462 | 9.19.0 | 9.20.2 | dropwatch | DISTRO | https://release-monitoring.org/project/21344 | 1.5.3 | 1.5.4 | dt | DISTRO | https://release-monitoring.org/project/21844 | 18.32 | 21.27 | ORPH earlyoom | DISTRO | https://release-monitoring.org/project/17392 | 1.6.2 | 1.7 | edk2 | DISTRO | https://release-monitoring.org/project/125953 | edk2-stab... | 202202 | efivar | DISTRO | https://release-monitoring.org/project/00664 | 37 | 38 | efl | DISTRO | https://release-monitoring.org/project/06128 | 1.26.1 | 1.26.2 | eigen | DISTRO | https://release-monitoring.org/project/00666 | 3.3.7 | 3.4.0 | ejabberd | DISTRO | https://release-monitoring.org/project/00667 | 20.07 | 21.12 | elixir | DISTRO | https://release-monitoring.org/project/00673 | 1.9.4 | 1.13.4 | ell | DISTRO | https://release-monitoring.org/project/17781 | 0.49 | 0.50 | enlightenment | DISTRO | https://release-monitoring.org/project/00698 | 0.25.1 | 0.25.3 | erlang | DISTRO | https://release-monitoring.org/project/00707 | 22.3.4.22 | 24.3.3 | erlang-eimp | DISTRO | https://release-monitoring.org/project/17060 | 1.0.17 | 1.0.21 | erlang-goldrush | DISTRO | https://release-monitoring.org/project/09692 | 0.1.9 | 0.2.0 | erlang-idna | DISTRO | https://release-monitoring.org/project/45374 | 6.0.0 | 6.1.1 | erlang-jose | DISTRO | https://release-monitoring.org/project/16913 | 1.9.0 | 1.11.2 | erlang-lager | DISTRO | https://release-monitoring.org/project/00727 | 3.6.10 | 3.9.2 | erlang-p1-acme | DISTRO | https://release-monitoring.org/project/45375 | 1.0.9 | 1.0.18 | erlang-p1-cache-tab | DISTRO | https://release-monitoring.org/project/08757 | 1.0.25 | 1.0.29 | erlang-p1-mqtree | DISTRO | https://release-monitoring.org/project/20220 | 1.0.10 | 1.0.14 | erlang-p1-oauth2 | DISTRO | https://release-monitoring.org/project/09302 | 0.6.7 | 0.8.0 | erlang-p1-pkix | DISTRO | https://release-monitoring.org/project/20539 | 1.0.6 | 1.0.8 | erlang-p1-sip | DISTRO | https://release-monitoring.org/project/10576 | 1.0.38 | 1.0.45 | erlang-p1-stringprep | DISTRO | https://release-monitoring.org/project/09222 | 1.0.23 | 1.0.27 | erlang-p1-stun | DISTRO | https://release-monitoring.org/project/09151 | 1.0.39 | 1.2.0 | erlang-p1-tls | DISTRO | https://release-monitoring.org/project/10455 | 1.1.9 | 1.1.13 | erlang-p1-utils | DISTRO | https://release-monitoring.org/project/08643 | 1.0.20 | 1.0.24 | erlang-p1-xml | DISTRO | https://release-monitoring.org/project/10464 | 1.1.44 | 1.1.48 | erlang-p1-xmpp | DISTRO | https://release-monitoring.org/project/12752 | 1.4.10 | 1.5.6 | erlang-p1-yaml | DISTRO | https://release-monitoring.org/project/10243 | 1.0.28 | 1.0.32 | erlang-p1-yconf | DISTRO | https://release-monitoring.org/project/45378 | 1.0.8 | 1.0.12 | erlang-p1-zlib | DISTRO | https://release-monitoring.org/project/09283 | 1.0.9 | 1.0.10 | ethtool | DISTRO | https://release-monitoring.org/project/00763 | 5.15 | 5.17 | execline | DISTRO | https://release-monitoring.org/project/05482 | 2.8.0.1 | 2.8.3.0 | expat | DISTRO | https://release-monitoring.org/project/00770 | 2.4.7 | 2.4.8 | fakeroot | DISTRO | https://release-monitoring.org/project/12048 | 1.26 | 1.28 | ORPH feh | DISTRO | https://release-monitoring.org/project/00790 | 3.7.1 | 3.8 | ffmpeg | DISTRO | https://release-monitoring.org/project/05405 | 4.4.1 | 5.0.1 | fftw-double | DISTRO | https://release-monitoring.org/project/00803 | 3.3.8 | 3.3.10 | ORPH fftw-long-double | DISTRO | https://release-monitoring.org/project/00803 | 3.3.8 | 3.3.10 | ORPH fftw-quad | DISTRO | https://release-monitoring.org/project/00803 | 3.3.8 | 3.3.10 | ORPH fftw-single | DISTRO | https://release-monitoring.org/project/00803 | 3.3.8 | 3.3.10 | ORPH fio | DISTRO | https://release-monitoring.org/project/00806 | 3.28 | 3.30 | flannel | DISTRO | https://release-monitoring.org/project/07421 | 0.14.0 | 0.17.0 | flare-engine | DISTRO | https://release-monitoring.org/project/21433 | 1.12 | 1.13.04 | flare-game | DISTRO | https://release-monitoring.org/project/21434 | 1.12 | 1.13.04 | flot | DISTRO | https://release-monitoring.org/project/07184 | 0.8.3 | 4.2.2 | ORPH fltk | DISTRO | https://release-monitoring.org/project/00823 | 1.3.7 | 1.3.8 | ORPH fmc | GUESS | https://release-monitoring.org/project/145761 | fsl-sdk-v2.0 | 0.2.0 | font-awesome | DISTRO | https://release-monitoring.org/project/00826 | 4.7.0 | 6.1.1 | ORPH fontconfig | DISTRO | https://release-monitoring.org/project/00827 | 2.13.1 | 2.14.0 | ORPH frotz | DISTRO | https://release-monitoring.org/project/36391 | 2.53 | 2.54 | fuse-overlayfs | DISTRO | https://release-monitoring.org/project/101220 | 1.5.0 | 1.8.2 | fwts | DISTRO | https://release-monitoring.org/project/17383 | 21.11.00 | 22.03.00 | gauche | DISTRO | https://release-monitoring.org/project/00873 | 0.9.9 | 0.9.11 | gcr | DISTRO | https://release-monitoring.org/project/11801 | 3.40.0 | 3.41.0 | ORPH gdbm | DISTRO | https://release-monitoring.org/project/00882 | 1.22 | 1.23 | ORPH gdk-pixbuf | DISTRO | https://release-monitoring.org/project/09533 | 2.42.4 | 2.42.8 | ORPH gensio | DISTRO | https://release-monitoring.org/project/67634 | 2.2.9 | 2.4.0 | gettext-gnu | DISTRO | https://release-monitoring.org/project/00898 | 0.20.1 | 0.21 | ORPH ghostscript | DISTRO | https://release-monitoring.org/project/01157 | 9.55.0 | 9.56.1 | git | DISTRO | https://release-monitoring.org/project/05350 | 2.31.2 | 2.36.0 | git-crypt | DISTRO | https://release-monitoring.org/project/17093 | 0.6.0 | 0.7.0 | ORPH glib-networking | DISTRO | https://release-monitoring.org/project/21353 | 2.70.1 | 2.72.0 | ORPH glibmm | DISTRO | https://release-monitoring.org/project/07960 | 2.68.2 | 2.72.0 | glm | DISTRO | https://release-monitoring.org/project/01181 | 0.9.9.5 | 0.9.9.8 | ORPH glog | DISTRO | https://release-monitoring.org/project/08732 | 0.5.0 | 0.6.0 | gnu-efi | DISTRO | https://release-monitoring.org/project/01202 | 3.0.10 | 3.0.14 | gnupg2 | DISTRO | https://release-monitoring.org/project/01215 | 2.2.32 | 2.3.5 | ORPH gnuradio | DISTRO | https://release-monitoring.org/project/01217 | 3.8.2.0 | 3.10.2.0 | gobject-introspection | DISTRO | https://release-monitoring.org/project/01223 | 1.70.0 | 1.72.0 | ORPH gptfdisk | DISTRO | https://release-monitoring.org/project/00885 | 1.0.8 | 1.0.9 | gqrx | DISTRO | https://release-monitoring.org/project/09771 | 2.14.4 | 2.15.9 | granite | DISTRO | https://release-monitoring.org/project/05410 | 6.0.0 | 6.2.0 | ORPH graphicsmagick | DISTRO | https://release-monitoring.org/project/01248 | 1.3.37 | 1.3.38 | grpc | DISTRO | https://release-monitoring.org/project/19117 | 1.44.0 | 1.45.2 | grub2 | DISTRO | https://release-monitoring.org/project/01257 | 2.04 | 2.06 | gsettings-desktop-schemas | DISTRO | https://release-monitoring.org/project/13139 | 3.36.1 | 42.0 | ORPH gsl | DISTRO | https://release-monitoring.org/project/01267 | 2.6 | 2.7.1 | ORPH gssdp | DISTRO | https://release-monitoring.org/project/01262 | 1.4.0.1 | 1.5.0 | gst1-imx | DISTRO | https://release-monitoring.org/project/21846 | 0.13.1 | 2.0.0 | gtkmm3 | DISTRO | https://release-monitoring.org/project/07963 | 3.22.0 | 4.6.1 | gtksourceview | DISTRO | https://release-monitoring.org/project/07724 | 3.24.7 | 5.4.1 | gupnp | DISTRO | https://release-monitoring.org/project/01281 | 1.4.3 | 1.5.0 | gutenprint | DISTRO | https://release-monitoring.org/project/01285 | 5.2.14 | 5.3.4 | ORPH gvfs | DISTRO | https://release-monitoring.org/project/05496 | 1.48.1 | 1.50.1 | ORPH hackrf | DISTRO | https://release-monitoring.org/project/06136 | 2018.01.1 | 2021.03.1 | ORPH haproxy | DISTRO | https://release-monitoring.org/project/01298 | 2.4.15 | 2.5.5 | harfbuzz | DISTRO | https://release-monitoring.org/project/01299 | 4.2.0 | 4.2.1 | haveged | DISTRO | https://release-monitoring.org/project/11695 | 1.9.15 | 1.9.18 | hidapi | DISTRO | https://release-monitoring.org/project/05594 | 0.11.0 | 0.11.2 | ORPH hplip | DISTRO | https://release-monitoring.org/project/01327 | 3.17.10 | 3.22.2 | ORPH htpdate | DISTRO | https://release-monitoring.org/project/132187 | 1.3.3 | 1.3.4 | hwdata | DISTRO | https://release-monitoring.org/project/05387 | 0.355 | 0.358 | ORPH hwloc | DISTRO | https://release-monitoring.org/project/13501 | 2.7.0 | 2.7.1 | i2pd | DISTRO | https://release-monitoring.org/project/21355 | 2.40.0 | 2.41.0 | icu | DISTRO | https://release-monitoring.org/project/16134 | 70-1 | 71-1 | ORPH ifenslave | DISTRO | https://release-monitoring.org/project/21670 | 2.9 | 2.13 | ORPH ifupdown | DISTRO | https://release-monitoring.org/project/21673 | 0.8.16 | 0.8.37 | ORPH imagemagick | DISTRO | https://release-monitoring.org/project/01372 | 7.1.0-19 | 7.1.0-31 | ORPH imlib2 | DISTRO | https://release-monitoring.org/project/21676 | 1.7.3 | 1.9.0 | inih | DISTRO | https://release-monitoring.org/project/11600 | 53 | 55 | inotify-tools | DISTRO | https://release-monitoring.org/project/08864 | 3.20.2.2 | 3.22.1.0 | ORPH intel-microcode | DISTRO | https://release-monitoring.org/project/20614 | 20210608 | 20220419 | ORPH iperf | DISTRO | https://release-monitoring.org/project/01388 | 2.1.6 | 2.1.7 | iperf3 | DISTRO | https://release-monitoring.org/project/01389 | 3.10.1 | 3.11 | irrlicht | DISTRO | https://release-monitoring.org/project/01403 | 1.8.4 | 1.8.5 | isl | DISTRO | https://release-monitoring.org/project/13286 | 0.23 | 0.24 | ORPH iwd | DISTRO | https://release-monitoring.org/project/18380 | 1.25 | 1.27 | jack2 | DISTRO | https://release-monitoring.org/project/21358 | 1.9.20 | 1.9.21 | janus-gateway | DISTRO | https://release-monitoring.org/project/15715 | 0.11.6 | 1.0.0 | jasper | DISTRO | https://release-monitoring.org/project/01421 | 2.0.33 | 3.0.3 | jitterentropy-library | DISTRO | https://release-monitoring.org/project/29701 | 3.3.1 | 3.4.0 | jquery-datetimepicker | DISTRO | https://release-monitoring.org/project/13910 | 2.4.5 | 2.5.20 | jquery-keyboard | DISTRO | https://release-monitoring.org/project/21681 | 1.18.12 | 1.30.4 | ORPH jquery-mobile | DISTRO | https://release-monitoring.org/project/59395 | 1.4.3 | 1.4.5 | ORPH jquery-ui | DISTRO | https://release-monitoring.org/project/21815 | 1.10.4 | 1.13.1 | jquery-ui-themes | DISTRO | https://release-monitoring.org/project/21816 | 1.10.4 | 1.13.1 | json-c | DISTRO | https://release-monitoring.org/project/01477 | 0.15 | 0.16 | jszip | DISTRO | https://release-monitoring.org/project/141558 | 3.2.2 | 3.9.1 | kexec | DISTRO | https://release-monitoring.org/project/12689 | 2.0.23 | 2.0.24 | ORPH kf5-extra-cmake-modules | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.93.0 | kf5-kcoreaddons | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.93.0 | kf5-modemmanager-qt | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.93.0 | kf5-networkmanager-qt | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.93.0 | kodi-audiodecoder-modplug | DISTRO | https://release-monitoring.org/project/21818 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-audiodecoder-nosefart | DISTRO | https://release-monitoring.org/project/21819 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-audiodecoder-sidplay | DISTRO | https://release-monitoring.org/project/21820 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-audiodecoder-snesapu | DISTRO | https://release-monitoring.org/project/21802 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-audiodecoder-stsound | DISTRO | https://release-monitoring.org/project/21801 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-audiodecoder-timidity | DISTRO | https://release-monitoring.org/project/21800 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-audiodecoder-vgmstream | DISTRO | https://release-monitoring.org/project/21799 | 19.0.0-Ma... | 20.2.0-Nexus | kodi-audioencoder-flac | DISTRO | https://release-monitoring.org/project/17755 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-audioencoder-lame | DISTRO | https://release-monitoring.org/project/21798 | 19.1.2-Ma... | 20.3.0-Nexus | kodi-audioencoder-vorbis | DISTRO | https://release-monitoring.org/project/21797 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-audioencoder-wav | DISTRO | https://release-monitoring.org/project/21796 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-inputstream-adaptive | DISTRO | https://release-monitoring.org/project/21795 | 19.0.3-Ma... | 20.1.2-Nexus | kodi-inputstream-ffmpegdirect | DISTRO | https://release-monitoring.org/project/177174 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-inputstream-rtmp | DISTRO | https://release-monitoring.org/project/21794 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-peripheral-joystick | DISTRO | https://release-monitoring.org/project/21793 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-peripheral-xarcade | DISTRO | https://release-monitoring.org/project/21791 | 19.0.1-Ma... | 20.1.1-Nexus | kodi-pvr-argustv | DISTRO | https://release-monitoring.org/project/21788 | 19.2.1-Ma... | 20.4.1-Nexus | kodi-pvr-dvblink | DISTRO | https://release-monitoring.org/project/21787 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-pvr-dvbviewer | DISTRO | https://release-monitoring.org/project/21786 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-pvr-filmon | DISTRO | https://release-monitoring.org/project/21785 | 19.0.1-Ma... | 20.2.1-Nexus | kodi-pvr-hdhomerun | DISTRO | https://release-monitoring.org/project/21784 | 19.1.0-Ma... | 20.3.0-Nexus | kodi-pvr-hts | DISTRO | https://release-monitoring.org/project/21783 | 19.0.6-Ma... | 20.2.2-Nexus | kodi-pvr-iptvsimple | DISTRO | https://release-monitoring.org/project/21782 | 19.1.0-Ma... | 20.3.0-Nexus | kodi-pvr-mediaportal-tvserver | DISTRO | https://release-monitoring.org/project/21781 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-pvr-mythtv | DISTRO | https://release-monitoring.org/project/21780 | 19.0.8-Ma... | 20.2.5-Nexus | kodi-pvr-nextpvr | DISTRO | https://release-monitoring.org/project/21779 | 19.0.3-Ma... | 20.2.3-Nexus | kodi-pvr-njoy | DISTRO | https://release-monitoring.org/project/21778 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-pvr-octonet | DISTRO | https://release-monitoring.org/project/100437 | 19.0.0-Ma... | 20.2.0-Nexus | kodi-pvr-pctv | DISTRO | https://release-monitoring.org/project/21777 | 19.0.1-Ma... | 20.3.0-Nexus | kodi-pvr-plutotv | DISTRO | https://release-monitoring.org/project/241527 | 19.0.3-Ma... | 20.1.0-Nexus | kodi-pvr-stalker | DISTRO | https://release-monitoring.org/project/21776 | 19.0.2-Ma... | 20.2.1-Nexus | kodi-pvr-vbox | DISTRO | https://release-monitoring.org/project/21775 | 19.0.0-Ma... | 20.2.0-Nexus | kodi-pvr-vdr-vnsi | DISTRO | https://release-monitoring.org/project/21774 | 19.0.3-Ma... | 20.2.2-Nexus | kodi-pvr-vuplus | DISTRO | https://release-monitoring.org/project/21773 | 19.0.0-Ma... | 20.3.0-Nexus | kodi-pvr-waipu | DISTRO | https://release-monitoring.org/project/241529 | 19.2.1-Ma... | 20.4.2-Nexus | kodi-pvr-wmc | DISTRO | https://release-monitoring.org/project/21772 | 19.0.2-Ma... | 20.2.1-Nexus | kodi-pvr-zattoo | DISTRO | https://release-monitoring.org/project/100438 | 19.7.13-M... | 20.2.1-Nexus | kodi-screensaver-asteroids | DISTRO | https://release-monitoring.org/project/21771 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-asterwave | DISTRO | https://release-monitoring.org/project/21770 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-biogenesis | DISTRO | https://release-monitoring.org/project/21768 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-cpblobs | DISTRO | https://release-monitoring.org/project/21767 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-greynetic | DISTRO | https://release-monitoring.org/project/21765 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-matrixtrails | DISTRO | https://release-monitoring.org/project/21764 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-pingpong | DISTRO | https://release-monitoring.org/project/21763 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-pyro | DISTRO | https://release-monitoring.org/project/21761 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-rsxs | DISTRO | https://release-monitoring.org/project/21760 | 19.0.2-Ma... | 20.1.0-Nexus | kodi-screensaver-stars | DISTRO | https://release-monitoring.org/project/21759 | 19.0.0-Ma... | 20.1.0-Nexus | kodi-vfs-libarchive | DISTRO | https://release-monitoring.org/project/177173 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-vfs-rar | DISTRO | https://release-monitoring.org/project/21900 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-vfs-sftp | DISTRO | https://release-monitoring.org/project/21899 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-fishbmc | DISTRO | https://release-monitoring.org/project/21758 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-goom | DISTRO | https://release-monitoring.org/project/21757 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-matrix | DISTRO | https://release-monitoring.org/project/177172 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-shadertoy | DISTRO | https://release-monitoring.org/project/21756 | 19.1.2-Ma... | 20.2.0-Nexus | kodi-visualisation-spectrum | DISTRO | https://release-monitoring.org/project/21755 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-starburst | DISTRO | https://release-monitoring.org/project/85703 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-waveform | DISTRO | https://release-monitoring.org/project/21753 | 19.0.2-Ma... | 20.1.0-Nexus | kvazaar | DISTRO | https://release-monitoring.org/project/12418 | 1.2.0 | 2.1.0 | lapack | DISTRO | https://release-monitoring.org/project/01534 | 3.10.0 | 3.10.1 | lcms2 | DISTRO | https://release-monitoring.org/project/09815 | 2.13 | 2.13.1 | lensfun | DISTRO | https://release-monitoring.org/project/01548 | 0.3.2 | 0.3.95 | libaio | DISTRO | https://release-monitoring.org/project/01557 | 0.3.112 | 0.3.113 | ORPH libao | DISTRO | https://release-monitoring.org/project/07629 | 1.2.0 | 1.2.2 | ORPH libblockdev | DISTRO | https://release-monitoring.org/project/09397 | 2.26 | 2.26-1 | ORPH libbsd | DISTRO | https://release-monitoring.org/project/01567 | 0.11.3 | 0.11.6 | libcap | DISTRO | https://release-monitoring.org/project/01569 | 2.63 | 2.64 | libcgroup | DISTRO | https://release-monitoring.org/project/01575 | 0.42.2 | 2.0.1 | libcodec2 | DISTRO | https://release-monitoring.org/project/14605 | 1.0.1 | 1.03 | libfribidi | DISTRO | https://release-monitoring.org/project/00857 | 1.0.11 | 1.0.12 | libfuse | GUESS | https://release-monitoring.org/project/00861 | 2.9.9 | 3.10.5 | ORPH libgcrypt | DISTRO | https://release-monitoring.org/project/01623 | 1.10.0 | 1.10.1 | ORPH libgdiplus | DISTRO | https://release-monitoring.org/project/06440 | 6.0.5 | 6.1 | libgit2 | DISTRO | https://release-monitoring.org/project/01627 | 1.4.2 | 1.4.3 | libglade | DISTRO | https://release-monitoring.org/project/01174 | 2.6.4 | 3.38.2 | ORPH libglfw | DISTRO | https://release-monitoring.org/project/01180 | 3.3.6 | 3.3.7 | libglib2 | DISTRO | https://release-monitoring.org/project/10024 | 2.70.4 | 2.72.1 | libglvnd | DISTRO | https://release-monitoring.org/project/12098 | 1.3.2 | 1.4.0 | ORPH libgpg-error | DISTRO | https://release-monitoring.org/project/01628 | 1.42 | 1.45 | ORPH libgpgme | DISTRO | https://release-monitoring.org/project/01239 | 1.16.0 | 1.17.1 | ORPH libgphoto2 | DISTRO | https://release-monitoring.org/project/12558 | 2.5.27 | 2.5.29 | ORPH libgtk2 | DISTRO | https://release-monitoring.org/project/13942 | 2.24.33 | 4.6.3 | libgudev | DISTRO | https://release-monitoring.org/project/07735 | 236 | 237 | libhtp | DISTRO | https://release-monitoring.org/project/01632 | 0.5.39 | 0.5.40 | libiberty | DISTRO | https://release-monitoring.org/project/07981 | 2.32 | 2.38 | libical | DISTRO | https://release-monitoring.org/project/01637 | 1.0.1 | 3.0.14 | libiconv | DISTRO | https://release-monitoring.org/project/10656 | 1.15 | 1.16 | ORPH libimxvpuapi | DISTRO | https://release-monitoring.org/project/21479 | 0.10.3 | 2.2.0 | libinput | DISTRO | https://release-monitoring.org/project/05781 | 1.20.0 | 1.20.1 | libite | DISTRO | https://release-monitoring.org/project/17367 | 2.5.1 | 2.5.2 | libkcapi | DISTRO | https://release-monitoring.org/project/16828 | 1.1.5 | 1.4.0 | ORPH libmdbx | DISTRO | https://release-monitoring.org/project/141559 | 0.11.4 | 0.11.6 | libmhash | DISTRO | https://release-monitoring.org/project/21488 | 0.9.9.9 | 1.4 | ORPH libminiupnpc | DISTRO | https://release-monitoring.org/project/01986 | 2.1.20201016 | 2.2.3 | libmnl | DISTRO | https://release-monitoring.org/project/01663 | 1.0.4 | 1.0.5 | ORPH libmspack | DISTRO | https://release-monitoring.org/project/16827 | 0.10.1alpha | 1.9.1 | libnetconf2 | DISTRO | https://release-monitoring.org/project/31639 | 2.0.24 | 2.1.7 | libnfnetlink | DISTRO | https://release-monitoring.org/project/01682 | 1.0.1 | 1.0.2 | ORPH libnfs | DISTRO | https://release-monitoring.org/project/07325 | 4.0.0 | 5.0.1 | ORPH libolm | DISTRO | https://release-monitoring.org/project/29706 | 3.2.9 | 3.2.11 | libopenssl | DISTRO | https://release-monitoring.org/project/02566 | 1.1.1n | 3.0.2 | libosmium | DISTRO | https://release-monitoring.org/project/07023 | 2.17.3 | 2.18.0 | libpagekite | DISTRO | https://release-monitoring.org/project/21366 | 0.91.190530 | 0.91.201110 | libpam-radius-auth | DISTRO | https://release-monitoring.org/project/57834 | 1.4.0 | 2.0.0 | ORPH libpeas | DISTRO | https://release-monitoring.org/project/06871 | 1.30.0 | 1.32.0 | ORPH libpqxx | DISTRO | https://release-monitoring.org/project/21367 | 6.4.5 | 7.7.3 | libpri | DISTRO | https://release-monitoring.org/project/11042 | 1.5.0 | 1.6.0 | libqb | DISTRO | https://release-monitoring.org/project/09399 | 2.0.3 | 2.0.6 | libressl | DISTRO | https://release-monitoring.org/project/12102 | 3.4.3 | 3.5.2 | ORPH librsvg | DISTRO | https://release-monitoring.org/project/05420 | 2.50.7 | 2.54.1 | librtas | DISTRO | https://release-monitoring.org/project/10717 | 2.0.2 | 2.0.3 | ORPH libseccomp | DISTRO | https://release-monitoring.org/project/13823 | 2.5.3 | 2.5.4 | libsemanage | DISTRO | https://release-monitoring.org/project/01718 | 3.3 | 20200710 | libsepol | DISTRO | https://release-monitoring.org/project/01719 | 3.3 | 20200710 | libshout | DISTRO | https://release-monitoring.org/project/11084 | 2.4.5 | 2.4.6 | ORPH libsigc | DISTRO | https://release-monitoring.org/project/07961 | 3.0.7 | 3.2.0 | ORPH libsndfile | DISTRO | https://release-monitoring.org/project/13277 | 1.0.31 | 1.1.0 | libsoup | DISTRO | https://release-monitoring.org/project/11483 | 2.74.0 | 3.0.6 | libtextstyle | DISTRO | https://release-monitoring.org/project/00898 | 0.20.1 | 0.21 | ORPH libtool | DISTRO | https://release-monitoring.org/project/01741 | 2.4.6 | 2.4.7 | ORPH libtorrent-rasterbar | DISTRO | https://release-monitoring.org/project/04166 | 1.2.15 | 2.0.6 | libunwind | DISTRO | https://release-monitoring.org/project/01748 | 1.5.0 | 1.6.2 | ORPH libusb | DISTRO | https://release-monitoring.org/project/01749 | 1.0.25 | 1.0.26 | libuv | DISTRO | https://release-monitoring.org/project/10784 | 1.43.0 | 1.44.1 | libvdpau | DISTRO | https://release-monitoring.org/project/01755 | 1.4 | 1.5 | libvips | DISTRO | https://release-monitoring.org/project/05097 | 8.10.6 | 8.12.2 | libvirt | DISTRO | https://release-monitoring.org/project/224041 | 7.10.0 | 8.2.0 | libxmlrpc | DISTRO | https://release-monitoring.org/project/09024 | r3119 | 1.54.05 | libyang | DISTRO | https://release-monitoring.org/project/18554 | 2.0.112 | 2.0.164 | linphone | DISTRO | https://release-monitoring.org/project/01823 | 4.4.8 | 5.1.24 | ORPH linux-firmware | DISTRO | https://release-monitoring.org/project/141464 | 20220310 | 20220411 | live555 | DISTRO | https://release-monitoring.org/project/12414 | 2021.05.03 | 2022.04.15 | ORPH lld | DISTRO | https://release-monitoring.org/project/01830 | 9.0.1 | 14.0.1 | lldpd | DISTRO | https://release-monitoring.org/project/14019 | 1.0.9 | 1.0.13 | ORPH llvm | DISTRO | https://release-monitoring.org/project/01830 | 9.0.1 | 14.0.1 | logrotate | DISTRO | https://release-monitoring.org/project/10567 | 3.18.0 | 3.19.0 | lpty | DISTRO | https://release-monitoring.org/project/11671 | 1.0.1-1 | 1.2.2 | lrzip | DISTRO | https://release-monitoring.org/project/01842 | 0.641 | 0.651 | ltris | DISTRO | https://release-monitoring.org/project/21503 | 1.2 | 1.2.4 | lttng-babeltrace | DISTRO | https://release-monitoring.org/project/00155 | 1.5.7 | 1.5.8 | lttng-libust | DISTRO | https://release-monitoring.org/project/07135 | 2.13.1 | 2.13.2 | lttng-modules | DISTRO | https://release-monitoring.org/project/07141 | 2.13.1 | 2.13.3 | lttng-tools | DISTRO | https://release-monitoring.org/project/07136 | 2.13.2 | 2.13.7 | lua | DISTRO | https://release-monitoring.org/project/01847 | 5.1.5 | 5.4.4 | lua-resty-http | DISTRO | https://release-monitoring.org/project/13887 | 0.15-0 | 0.16.1 | lvm2 | DISTRO | https://release-monitoring.org/project/05354 | 2.03.14 | 2.03.15 | ORPH lynx | DISTRO | https://release-monitoring.org/project/01863 | 2.8.9rel.1 | 2.9.0 | lzma-alone | DISTRO | https://release-monitoring.org/project/242840 | 9.22 | 2107 | ORPH lzop | DISTRO | https://release-monitoring.org/project/07486 | 1.03 | 1.04 | make | DISTRO | https://release-monitoring.org/project/01877 | 4.2.1 | 4.3 | ORPH makedumpfile | DISTRO | https://release-monitoring.org/project/131396 | 1.7.0 | 1.7.1 | mariadb | DISTRO | https://release-monitoring.org/project/01887 | 10.3.34 | 10.8.2 | ORPH matchbox-keyboard | DISTRO | https://release-monitoring.org/project/230595 | 0.1 | 0.1.1 | matio | DISTRO | https://release-monitoring.org/project/01893 | 1.5.22 | 1.5.23 | mbedtls | DISTRO | https://release-monitoring.org/project/13824 | 2.28.0 | 3.1.0 | mbpfan | DISTRO | https://release-monitoring.org/project/115980 | 2.2.1 | 2.3.0 | mbuffer | DISTRO | https://release-monitoring.org/project/15518 | 20211018 | 20220418 | mcelog | DISTRO | https://release-monitoring.org/project/08093 | 180 | 181 | mdevd | DISTRO | https://release-monitoring.org/project/16553 | 0.1.4.0 | 0.1.5.1 | mediastreamer | DISTRO | https://release-monitoring.org/project/21746 | 4.4.8 | 5.1.20 | ORPH memcached | DISTRO | https://release-monitoring.org/project/01965 | 1.6.12 | 1.6.15 | ORPH memtest86 | DISTRO | https://release-monitoring.org/project/01966 | 5.01 | 5.31b | memtester | DISTRO | https://release-monitoring.org/project/01967 | 4.5.0 | 4.5.1 | mender | DISTRO | https://release-monitoring.org/project/20629 | 3.1.0 | 3.2.1 | mesa3d | DISTRO | https://release-monitoring.org/project/01970 | 21.3.8 | 22.0.2 | mesa3d-headers | DISTRO | https://release-monitoring.org/project/01970 | 21.3.8 | 22.0.2 | meson | DISTRO | https://release-monitoring.org/project/06472 | 0.62.0 | 0.62.1 | metacity | DISTRO | https://release-monitoring.org/project/15392 | 2.25.1 | 3.44.0 | ORPH mfgtools | DISTRO | https://release-monitoring.org/project/21519 | 0.02 | 2.8.0 | mimic | DISTRO | https://release-monitoring.org/project/21521 | 1.1.0 | 1.3.0.1 | minetest | DISTRO | https://release-monitoring.org/project/01978 | 5.4.1 | 5.5.0 | minetest-game | DISTRO | https://release-monitoring.org/project/21522 | 5.4.1 | 5.5.0 | moarvm | DISTRO | https://release-monitoring.org/project/21100 | 2022.02 | 2022.04 | mobile-broadband-provider-info | DISTRO | https://release-monitoring.org/project/10267 | 20190618 | 20220315 | ORPH moby-buildkit | DISTRO | https://release-monitoring.org/project/20836 | 0.10.0 | 0.10.1 | mongodb | DISTRO | https://release-monitoring.org/project/02008 | 4.2.18 | 5.3.1 | mongoose | DISTRO | https://release-monitoring.org/project/07603 | 7.2 | 7.6 | monit | DISTRO | https://release-monitoring.org/project/05483 | 5.26.0 | 5.32.0 | mono | DISTRO | https://release-monitoring.org/project/06360 | 6.12.0.122 | 6.12.0.177 | mpg123 | DISTRO | https://release-monitoring.org/project/12413 | 1.25.15 | 1.29.3 | ORPH mpv | DISTRO | https://release-monitoring.org/project/05348 | 0.33.1 | 0.34.1 | msgpack | DISTRO | https://release-monitoring.org/project/12278 | 3.3.0 | 4.1.1 | msmtp | DISTRO | https://release-monitoring.org/project/02024 | 1.8.14 | 1.8.20 | mstpd | DISTRO | https://release-monitoring.org/project/235098 | 0.1.0 | 0.05 | mtd | DISTRO | https://release-monitoring.org/project/02026 | 2.1.3 | 2.1.4 | mtools | DISTRO | https://release-monitoring.org/project/02028 | 4.0.38 | 4.0.39 | mtr | DISTRO | https://release-monitoring.org/project/02029 | 0.94 | 0.95 | ORPH mupdf | DISTRO | https://release-monitoring.org/project/02034 | 1.18.0 | 1.19.0 | musl | DISTRO | https://release-monitoring.org/project/11688 | 1.2.2 | 1.2.3 | ncdu | DISTRO | https://release-monitoring.org/project/06045 | 1.16 | 2.1.1 | ncurses | DISTRO | https://release-monitoring.org/project/02057 | 6.1 | 6.3-20220423 | ORPH netcat | DISTRO | https://release-monitoring.org/project/21534 | 0.7.1 | 1.218 | ORPH netdata | DISTRO | https://release-monitoring.org/project/11046 | 1.33.1 | 1.34.1 | netifrc | DISTRO | https://release-monitoring.org/project/21917 | 0.6.1 | 0.7.3 | netopeer2 | DISTRO | https://release-monitoring.org/project/114978 | 2.0.35 | 2.1.16 | netsnmp | DISTRO | https://release-monitoring.org/project/02062 | 5.9 | 5.9.1 | ORPH network-manager-openvpn | DISTRO | https://release-monitoring.org/project/69977 | 1.8.14 | 1.8.18 | nftables | DISTRO | https://release-monitoring.org/project/02082 | 1.0.1 | 1.0.2 | nghttp2 | DISTRO | https://release-monitoring.org/project/08651 | 1.41.0 | 1.47.0 | nginx | DISTRO | https://release-monitoring.org/project/05413 | 1.20.1 | 1.21.6 | nodejs | DISTRO | https://release-monitoring.org/project/08251 | 14.18.3 | 18.0.0 | nss-mdns | DISTRO | https://release-monitoring.org/project/05491 | 0.14.1 | 0.15.1 | ORPH nuttcp | DISTRO | https://release-monitoring.org/project/02511 | 6.1.2 | 8.2.2 | nvidia-driver | DISTRO | https://release-monitoring.org/project/21843 | 390.132 | 390.147 | nvidia-modprobe | DISTRO | https://release-monitoring.org/project/141657 | 450.57 | 510.60.02 | ORPH nvme | DISTRO | https://release-monitoring.org/project/09074 | 1.12 | 2.0 | ORPH ocf-linux | DISTRO | https://release-monitoring.org/project/21541 | 20120127 | 20171122 | ORPH ocrad | DISTRO | https://release-monitoring.org/project/02526 | 0.27 | 0.28 | ogre | DISTRO | https://release-monitoring.org/project/33334 | v1.12.12 | 13.3.4 | open62541 | DISTRO | https://release-monitoring.org/project/16896 | v1.2.2 | 1.3 | ORPH openal | DISTRO | https://release-monitoring.org/project/08172 | 1.21.1 | 1.22.0 | opencv3 | DISTRO | https://release-monitoring.org/project/06615 | 3.4.17 | 4.5.5 | openfpgaloader | DISTRO | https://release-monitoring.org/project/241709 | 0.6.1 | 0.8.0 | openjdk | GUESS | https://release-monitoring.org/project/176098 | 11.0.14.1+1 | 19+19 | openmpi | DISTRO | https://release-monitoring.org/project/02554 | 4.0.0 | 4.1.3 | ORPH openpowerlink | DISTRO | https://release-monitoring.org/project/21550 | 2.7.1 | 2.7.2 | openrc | DISTRO | https://release-monitoring.org/project/11687 | 0.43.3 | 0.44.10 | openvmtools | DISTRO | https://release-monitoring.org/project/10998 | 10.3.5-10... | 12.0.0 | opkg | DISTRO | https://release-monitoring.org/project/59397 | 0.4.5 | 0.5.0 | ORPH opkg-utils | DISTRO | https://release-monitoring.org/project/59396 | 0.4.5 | 0.5.0 | optee-benchmark | DISTRO | https://release-monitoring.org/project/21555 | 3.16.0 | 3.17.0 | optee-client | DISTRO | https://release-monitoring.org/project/21556 | 3.16.0 | 3.17.0 | optee-examples | DISTRO | https://release-monitoring.org/project/21557 | 3.16.0 | 3.17.0 | optee-test | DISTRO | https://release-monitoring.org/project/21558 | 3.16.0 | 3.17.0 | oracle-mysql | DISTRO | https://release-monitoring.org/project/00334 | 5.1.73 | 8.0.28 | ORPH ortp | DISTRO | https://release-monitoring.org/project/21691 | 4.4.8 | 5.1.12 | ORPH pangomm | DISTRO | https://release-monitoring.org/project/07958 | 2.48.2 | 2.50.0 | parprouted | DISTRO | https://release-monitoring.org/project/10309 | 0.7 | 0.65 | ORPH parted | DISTRO | https://release-monitoring.org/project/02596 | 3.4 | 3.5 | patchelf | DISTRO | https://release-monitoring.org/project/02598 | 0.9 | 0.14.5 | ORPH pax-utils | DISTRO | https://release-monitoring.org/project/02601 | 1.2.6 | 1.3.4 | ORPH pciutils | DISTRO | https://release-monitoring.org/project/02605 | 3.7.0 | 3.8.0 | ORPH pcm-tools | DISTRO | https://release-monitoring.org/project/21377 | 202110 | 202203 | ORPH perl-crypt-cbc | DISTRO | https://release-monitoring.org/project/11930 | 2.33 | 3.04 | perl-crypt-openssl-guess | DISTRO | https://release-monitoring.org/project/17375 | 0.12 | 0.15 | perl-crypt-openssl-rsa | DISTRO | https://release-monitoring.org/project/02748 | 0.31 | 0.32 | perl-dbd-mysql | DISTRO | https://release-monitoring.org/project/02807 | 4.046 | 4.050 | perl-file-listing | DISTRO | https://release-monitoring.org/project/02892 | 6.14 | 6.15 | perl-html-parser | DISTRO | https://release-monitoring.org/project/02967 | 3.76 | 3.78 | perl-http-daemon | DISTRO | https://release-monitoring.org/project/02975 | 6.12 | 6.14 | perl-libwww-perl | DISTRO | https://release-monitoring.org/project/03024 | 6.60 | 6.62 | perl-mail-dkim | DISTRO | https://release-monitoring.org/project/11868 | 1.20200824 | 1.20220408 | perl-mojolicious | DISTRO | https://release-monitoring.org/project/05966 | 9.22 | 9.24 | perl-net-http | DISTRO | https://release-monitoring.org/project/03152 | 6.21 | 6.22 | perl-net-ssleay | DISTRO | https://release-monitoring.org/project/06575 | 1.85 | 1.92 | perl-package-stash | DISTRO | https://release-monitoring.org/project/11885 | 0.39 | 0.40 | perl-sys-cpu | DISTRO | https://release-monitoring.org/project/14338 | 0.52 | 0.61 | perl-xml-libxml | DISTRO | https://release-monitoring.org/project/03527 | 2.0134 | 2.0207 | php | DISTRO | https://release-monitoring.org/project/03627 | 8.0.17 | 8.1.5 | php-amqp | DISTRO | https://release-monitoring.org/project/15603 | 1.10.2 | 1.11.0 | php-apcu | DISTRO | https://release-monitoring.org/project/11010 | 5.1.20 | 5.1.21 | php-gnupg | DISTRO | https://release-monitoring.org/project/21743 | 1.5.0 | 1.5.1 | ORPH php-imagick | DISTRO | https://release-monitoring.org/project/17401 | 3.5.0 | 3.7.0 | ORPH php-memcached | DISTRO | https://release-monitoring.org/project/17400 | 3.1.5 | 3.2.0 | ORPH php-pam | DISTRO | https://release-monitoring.org/project/241707 | 2.2.3 | 2.2.4 | php-xdebug | DISTRO | https://release-monitoring.org/project/13302 | 3.0.4 | 3.1.4 | php-yaml | DISTRO | https://release-monitoring.org/project/12515 | 2.2.1 | 2.2.2 | ORPH pigpio | DISTRO | https://release-monitoring.org/project/21577 | 79 | 7301 | pigz | DISTRO | https://release-monitoring.org/project/03642 | 2.6 | 2.7 | pinentry | DISTRO | https://release-monitoring.org/project/03643 | 1.1.1 | 1.2.0 | ORPH pkcs11-helper | DISTRO | https://release-monitoring.org/project/91990 | 1.28 | 1.29.0 | ORPH pkgconf | DISTRO | https://release-monitoring.org/project/12753 | 1.6.3 | 1.8.0 | ORPH poco | DISTRO | https://release-monitoring.org/project/05418 | 1.11.1 | 1.11.2 | poke | DISTRO | https://release-monitoring.org/project/179926 | 2.1 | 2.3 | ORPH policycoreutils | DISTRO | https://release-monitoring.org/project/03680 | 3.2 | 20200710 | poppler | DISTRO | https://release-monitoring.org/project/03686 | 21.12.0 | 22.04.0 | postgis | DISTRO | https://release-monitoring.org/project/03694 | 3.2.0 | 3.2.1 | powerpc-utils | DISTRO | https://release-monitoring.org/project/10715 | 1.3.8 | 1.3.9 | ORPH powertop | DISTRO | https://release-monitoring.org/project/03702 | 2.13 | 2.14 | procps-ng | DISTRO | https://release-monitoring.org/project/03708 | 3.3.17 | 4.0.0 | ORPH proftpd | DISTRO | https://release-monitoring.org/project/07609 | 1.3.6e | 1.3.7d | proj | DISTRO | https://release-monitoring.org/project/21570 | 8.1.1 | 9.0.0 | prosody | DISTRO | https://release-monitoring.org/project/03709 | 0.11.13 | 0.12.0 | protobuf | DISTRO | https://release-monitoring.org/project/03715 | 3.19.1 | 3.20.1 | proxychains-ng | DISTRO | https://release-monitoring.org/project/06499 | 4.14 | 4.16 | ORPH pru-software-support | DISTRO | https://release-monitoring.org/project/21825 | 6.0.1 | 6.1.0 | ptpd | GUESS | https://release-monitoring.org/project/03726 | 1.1.0 | 2.3.1 | ORPH pulseaudio | DISTRO | https://release-monitoring.org/project/03729 | 14.2 | 15.0 | python-aenum | DISTRO | https://release-monitoring.org/project/34074 | 3.1.0 | 3.1.11 | python-aioblescan | DISTRO | https://release-monitoring.org/project/21242 | 0.2.8 | 0.2.12 | python-aiocoap | DISTRO | https://release-monitoring.org/project/21243 | 0.4.1 | 0.4.3 | python-aiohttp-remotes | DISTRO | https://release-monitoring.org/project/21248 | 1.1.0 | 1.2.0 | python-aiojobs | DISTRO | https://release-monitoring.org/project/21252 | 0.3.0 | 1.0.0 | python-alsaaudio | DISTRO | https://release-monitoring.org/project/10072 | 0.8.4 | 0.9.0 | python-arrow | DISTRO | https://release-monitoring.org/project/05314 | 1.2.0 | 1.2.2 | python-asgiref | DISTRO | https://release-monitoring.org/project/18462 | 3.3.4 | 3.5.0 | python-autobahn | DISTRO | https://release-monitoring.org/project/07015 | 22.1.1 | 22.3.2 | python-babel | DISTRO | https://release-monitoring.org/project/11984 | 2.9.1 | 2.10.1 | python-beautifulsoup4 | DISTRO | https://release-monitoring.org/project/03779 | 4.10.0 | 4.11.1 | python-bleak | DISTRO | https://release-monitoring.org/project/26271 | 0.12.1 | 0.14.2 | python-boto3 | DISTRO | https://release-monitoring.org/project/08778 | 1.19.2 | 1.21.46 | python-botocore | DISTRO | https://release-monitoring.org/project/08748 | 1.22.2 | 1.24.46 | python-canopen | DISTRO | https://release-monitoring.org/project/23230 | 1.0.0 | 2.0.0b1 | python-channels | DISTRO | https://release-monitoring.org/project/21937 | 2.3.1 | 3.0.4 | python-channels-redis | DISTRO | https://release-monitoring.org/project/21936 | 2.4.1 | 3.4.0 | python-cheroot | DISTRO | https://release-monitoring.org/project/20163 | 8.2.1 | 8.6.0 | python-cherrypy | DISTRO | https://release-monitoring.org/project/03799 | 12.0.1 | 18.6.1 | python-click | DISTRO | https://release-monitoring.org/project/03802 | 7.1.2 | 8.1.2 | python-colorlog | DISTRO | https://release-monitoring.org/project/12509 | 6.4.1 | 6.6.0 | python-configshell-fb | DISTRO | https://release-monitoring.org/project/19734 | 1.1.29 | 1.5 | python-crossbar | DISTRO | https://release-monitoring.org/project/21696 | 21.3.1 | 22.3.1 | python-cryptography | DISTRO | https://release-monitoring.org/project/05532 | 36.0.1 | 36.0.2 | python-cssutils | DISTRO | https://release-monitoring.org/project/13259 | 2.3.0 | 2.4.0 | python-cython | DISTRO | https://release-monitoring.org/project/12679 | 0.29.27 | 3.0.0a10 | python-daemon | DISTRO | https://release-monitoring.org/project/03816 | 2.2.3 | 2.3.0 | python-daphne | DISTRO | https://release-monitoring.org/project/21939 | 2.4.1 | 3.0.2 | python-dataproperty | DISTRO | https://release-monitoring.org/project/21697 | 0.54.2 | 0.55.0 | python-decorator | DISTRO | https://release-monitoring.org/project/03819 | 5.1.0 | 5.1.1 | python-dialog3 | DISTRO | https://release-monitoring.org/project/03823 | 3.5.1 | 3.5.3 | python-dnspython | DISTRO | https://release-monitoring.org/project/13190 | 2.1.0 | 2.2.1 | python-docker | DISTRO | https://release-monitoring.org/project/03847 | 4.1.0 | 5.0.3 | python-ecdsa | DISTRO | https://release-monitoring.org/project/08370 | 0.17.0 | 0.18.0b2 | python-engineio | DISTRO | https://release-monitoring.org/project/15064 | 4.2.1 | 4.3.1 | python-entrypoints | DISTRO | https://release-monitoring.org/project/12081 | 0.3 | 0.4 | python-esptool | DISTRO | https://release-monitoring.org/project/11619 | 3.2 | 3.3 | python-falcon | DISTRO | https://release-monitoring.org/project/03860 | 3.0.1 | 3.1.0 | python-filelock | DISTRO | https://release-monitoring.org/project/11739 | 3.3.0 | 3.6.0 | python-flask | DISTRO | https://release-monitoring.org/project/03867 | 1.1.2 | 2.1.1 | python-flask-expects-json | DISTRO | https://release-monitoring.org/project/127659 | 1.5.0 | 1.7.0 | python-flask-jsonrpc | DISTRO | https://release-monitoring.org/project/21698 | 0.3.1 | 2.1.0 | python-flask-login | DISTRO | https://release-monitoring.org/project/03868 | 0.5.0 | 0.6.0 | python-flask-sqlalchemy | DISTRO | https://release-monitoring.org/project/05701 | 2.4.1 | 2.5.1 | python-flask-wtf | DISTRO | https://release-monitoring.org/project/05702 | 0.15.1 | 1.0.1 | python-fonttools | DISTRO | https://release-monitoring.org/project/07388 | 4.32.0 | 4.33.2 | python-git | DISTRO | https://release-monitoring.org/project/06459 | 3.1.24 | 3.1.27 | python-gitdb2 | DISTRO | https://release-monitoring.org/project/12730 | 4.0.7 | 4.0.9 | python-gobject | DISTRO | https://release-monitoring.org/project/13158 | 3.42.0 | 3.42.1 | python-httplib2 | DISTRO | https://release-monitoring.org/project/03887 | 0.19.1 | 0.20.4 | python-humanize | DISTRO | https://release-monitoring.org/project/19799 | 3.11.0 | 4.0.0 | python-ipython | DISTRO | https://release-monitoring.org/project/01399 | 7.31.1 | 8.2.0 | python-iso8601 | DISTRO | https://release-monitoring.org/project/17228 | 0.1.14 | 1.0.2 | python-itsdangerous | DISTRO | https://release-monitoring.org/project/03892 | 2.0.1 | 2.1.2 | python-iwlib | DISTRO | https://release-monitoring.org/project/51611 | 1.5 | 1.7.0 | python-jaraco-classes | DISTRO | https://release-monitoring.org/project/20150 | 2.0 | 3.2.1 | python-jaraco-functools | DISTRO | https://release-monitoring.org/project/20165 | 2.0 | 3.5.0 | python-jinja2 | DISTRO | https://release-monitoring.org/project/03894 | 3.0.3 | 3.1.1 | python-jmespath | DISTRO | https://release-monitoring.org/project/08749 | 0.10.0 | 1.0.0 | python-jsonschema | DISTRO | https://release-monitoring.org/project/03898 | 2.5.1 | 4.4.0 | python-keyring | DISTRO | https://release-monitoring.org/project/03901 | 19.2.0 | 23.5.0 | python-kiwisolver | DISTRO | https://release-monitoring.org/project/16910 | 1.1.0 | 1.4.2 | python-libusb1 | DISTRO | https://release-monitoring.org/project/12301 | 2.0.1 | 3.0.0 | python-mako | DISTRO | https://release-monitoring.org/project/03915 | 1.1.5 | 1.2.0 | python-markdown | DISTRO | https://release-monitoring.org/project/03916 | 3.3.4 | 3.3.6 | python-markdown2 | DISTRO | https://release-monitoring.org/project/03917 | 2.4.1 | 2.4.2 | python-markupsafe | DISTRO | https://release-monitoring.org/project/03918 | 2.0.1 | 2.1.1 | python-matplotlib | DISTRO | https://release-monitoring.org/project/03919 | 3.4.3 | 3.5.1 | python-memory-profiler | DISTRO | https://release-monitoring.org/project/38508 | 0.58.0 | 0.60.0 | python-mistune | DISTRO | https://release-monitoring.org/project/06189 | 0.8.4 | 2.0.2 | python-more-itertools | DISTRO | https://release-monitoring.org/project/12201 | 8.10.0 | 8.12.0 | python-msgfy | DISTRO | https://release-monitoring.org/project/29716 | 0.1.0 | 0.2.0 | python-networkmanager | DISTRO | https://release-monitoring.org/project/12909 | 2.1 | 2.2 | python-networkx | DISTRO | https://release-monitoring.org/project/07791 | 2.6.3 | 2.8 | python-numpy | DISTRO | https://release-monitoring.org/project/02509 | 1.21.2 | 1.22.3 | python-oauthlib | DISTRO | https://release-monitoring.org/project/05377 | 3.1.1 | 3.2.0 | python-opcua-asyncio | DISTRO | https://release-monitoring.org/project/131612 | 0.8.4 | 0.98.9 | python-paho-mqtt | DISTRO | https://release-monitoring.org/project/06084 | 1.4.0 | 1.6.1 | python-pathpy | DISTRO | https://release-monitoring.org/project/21703 | 12.0.1 | 12.5.0 | python-pbr | DISTRO | https://release-monitoring.org/project/03960 | 5.6.0 | 5.8.1 | python-pillow | DISTRO | https://release-monitoring.org/project/07974 | 9.0.1 | 9.1.0 | python-pip | DISTRO | https://release-monitoring.org/project/06529 | 21.2.4 | 22.0.4 | python-portend | DISTRO | https://release-monitoring.org/project/20203 | 2.5 | 3.1.0 | python-prompt-toolkit | DISTRO | https://release-monitoring.org/project/08742 | 3.0.20 | 3.0.29 | python-protobuf | DISTRO | https://release-monitoring.org/project/03715 | 3.19.1 | 3.20.1 | python-psutil | DISTRO | https://release-monitoring.org/project/03978 | 5.8.0 | 5.9.0 | python-psycopg2 | DISTRO | https://release-monitoring.org/project/03979 | 2.9.1 | 2.9.3 | python-pudb | DISTRO | https://release-monitoring.org/project/03980 | 2021.1 | 2022.1.1 | python-py | DISTRO | https://release-monitoring.org/project/03981 | 1.10.0 | 1.11.0 | python-pybind | DISTRO | https://release-monitoring.org/project/13384 | 2.9.0 | 2.9.2 | python-pycairo | DISTRO | https://release-monitoring.org/project/13166 | 1.19.1 | 1.21.0 | python-pydantic | DISTRO | https://release-monitoring.org/project/29768 | 1.8.2 | 1.9.0 | python-pyelftools | DISTRO | https://release-monitoring.org/project/16219 | 0.27 | 0.28 | python-pygame | DISTRO | https://release-monitoring.org/project/17480 | d61ea8eabd56 | 2.1.2 | python-pygments | DISTRO | https://release-monitoring.org/project/03986 | 2.7.4 | 2.12.0 | python-pyhamcrest | DISTRO | https://release-monitoring.org/project/11633 | 2.0.2 | 2.0.3 | python-pyicu | DISTRO | https://release-monitoring.org/project/12004 | 1.9.7 | 2.9 | python-pylibftdi | DISTRO | https://release-monitoring.org/project/21583 | 0.18.1 | 0.20.0 | python-pylru | DISTRO | https://release-monitoring.org/project/21584 | 1.2.0 | 1.2.1 | python-pymodbus | DISTRO | https://release-monitoring.org/project/15600 | 2.2.0 | 2.5.3 | python-pymupdf | DISTRO | https://release-monitoring.org/project/17320 | 1.18.14 | 1.19.6 | python-pyopenssl | DISTRO | https://release-monitoring.org/project/05535 | 21.0.0 | 22.0.0 | python-pyparsing | DISTRO | https://release-monitoring.org/project/03756 | 3.0.7 | 3.0.8 | python-pyparted | DISTRO | https://release-monitoring.org/project/15558 | 3.11.6 | 3.12.0 | python-pyqt5 | DISTRO | https://release-monitoring.org/project/20104 | 5.7 | 5.15.6 | python-pyroute2 | DISTRO | https://release-monitoring.org/project/20081 | 0.5.7 | 0.6.9 | python-pytablereader | DISTRO | https://release-monitoring.org/project/21592 | 0.26.1 | 0.31.3 | python-pytablewriter | DISTRO | https://release-monitoring.org/project/21593 | 0.46.1 | 0.64.2 | python-pytest | DISTRO | https://release-monitoring.org/project/03765 | 6.2.5 | 7.1.2 | python-pytest-asyncio | DISTRO | https://release-monitoring.org/project/07273 | 0.15.1 | 0.18.3 | python-pytz | DISTRO | https://release-monitoring.org/project/06537 | 2021.3 | 2022.1 | python-pyudev | DISTRO | https://release-monitoring.org/project/08485 | 0.22.0 | 0.23.2 | python-pyzmq | DISTRO | https://release-monitoring.org/project/04104 | 19.0.2 | 23.0.0b1 | python-redis | DISTRO | https://release-monitoring.org/project/03992 | 3.5.3 | 4.2.2 | python-reentry | DISTRO | https://release-monitoring.org/project/21596 | 1.3.2 | 1.3.3 | python-regex | DISTRO | https://release-monitoring.org/project/05548 | 2021.4.4 | 2022.4.24 | python-remi | DISTRO | https://release-monitoring.org/project/21597 | 2021.3.2 | 2022.3.7 | python-requests-oauthlib | DISTRO | https://release-monitoring.org/project/11803 | 1.3.0 | 1.3.1 | python-rpi-gpio | DISTRO | https://release-monitoring.org/project/12026 | 0.7.0 | 0.7.1 | python-rpi-ws281x | DISTRO | https://release-monitoring.org/project/21898 | 4.3.0 | 4.3.4 | python-rsa | DISTRO | https://release-monitoring.org/project/08808 | 4.7.2 | 4.8 | python-rtslib-fb | DISTRO | https://release-monitoring.org/project/19641 | 2.1.74 | 2.2 | python-s3transfer | DISTRO | https://release-monitoring.org/project/10428 | 0.5.0 | 0.5.2 | python-secretstorage | DISTRO | https://release-monitoring.org/project/04020 | 3.1.2 | 3.3.2 | python-semantic-version | DISTRO | https://release-monitoring.org/project/06514 | 2.8.5 | 2.9.0 | python-sentry-sdk | DISTRO | https://release-monitoring.org/project/21603 | 1.4.3 | 1.5.10 | python-service-identity | DISTRO | https://release-monitoring.org/project/07917 | 18.1.0 | 21.1.0 | python-setproctitle | DISTRO | https://release-monitoring.org/project/11699 | 1.2.2 | 1.2.3 | python-setuptools | DISTRO | https://release-monitoring.org/project/04021 | 60.9.3 | 62.1.0 | python-simplejson | DISTRO | https://release-monitoring.org/project/04026 | 3.17.5 | 3.17.6 | python-simplesqlite | DISTRO | https://release-monitoring.org/project/21608 | 0.45.2 | 1.3.0 | python-sip | DISTRO | https://release-monitoring.org/project/13626 | 4.18 | 5.0.0 | python-smmap2 | DISTRO | https://release-monitoring.org/project/12729 | 4.0.0 | 5.0.0 | python-socketio | DISTRO | https://release-monitoring.org/project/21611 | 5.4.0 | 5.6.0 | python-soupsieve | DISTRO | https://release-monitoring.org/project/27570 | 2.2.1 | 2.3.2.post1 | python-sqlalchemy | DISTRO | https://release-monitoring.org/project/04034 | 1.3.10 | 1.4.35 | python-sqliteschema | DISTRO | https://release-monitoring.org/project/29718 | 1.2.1 | 1.3.0 | python-sqlparse | DISTRO | https://release-monitoring.org/project/04038 | 0.3.0 | 0.4.2 | python-tempora | DISTRO | https://release-monitoring.org/project/21225 | 1.14.1 | 5.0.1 | python-thrift | DISTRO | https://release-monitoring.org/project/21614 | 0.13.0 | 0.16.0 | python-tomli | DISTRO | https://release-monitoring.org/project/207408 | 1.2.0 | 2.0.1 | python-tornado | DISTRO | https://release-monitoring.org/project/07498 | 6.0.4 | 6.1 | python-tqdm | DISTRO | https://release-monitoring.org/project/11524 | 4.40.1 | 4.64.0 | python-traitlets | DISTRO | https://release-monitoring.org/project/12211 | 5.1.0 | 5.1.1 | python-twisted | DISTRO | https://release-monitoring.org/project/04071 | 22.2.0 | 22.4.0 | python-txtorcon | DISTRO | https://release-monitoring.org/project/19661 | 21.1.0 | 22.0.0 | python-typing-extensions | DISTRO | https://release-monitoring.org/project/19755 | 3.10.0.2 | 4.2.0 | python-ujson | DISTRO | https://release-monitoring.org/project/04076 | 4.2.0 | 5.2.0 | python-unittest-xml-reporting | DISTRO | https://release-monitoring.org/project/72281 | 3.0.4 | 3.2.0 | python-urllib3 | DISTRO | https://release-monitoring.org/project/04078 | 1.26.8 | 1.26.9 | python-validators | DISTRO | https://release-monitoring.org/project/19818 | 0.15.0 | 0.18.2 | python-watchdog | DISTRO | https://release-monitoring.org/project/05341 | 2.1.6 | 2.1.7 | python-wcwidth | DISTRO | https://release-monitoring.org/project/08743 | 0.1.9 | 0.2.5 | python-weasyprint | DISTRO | https://release-monitoring.org/project/11057 | 54.3 | 55.0b1 | python-webpy | DISTRO | https://release-monitoring.org/project/04090 | 0.40 | 0.62 | python-websocket-client | DISTRO | https://release-monitoring.org/project/07288 | 0.58.0 | 1.3.2 | python-websockets | DISTRO | https://release-monitoring.org/project/08100 | 10.0 | 10.3 | python-werkzeug | DISTRO | https://release-monitoring.org/project/04092 | 1.0.1 | 2.1.1 | python-wrapt | DISTRO | https://release-monitoring.org/project/06108 | 1.12.1 | 1.14.0 | python-wtforms | DISTRO | https://release-monitoring.org/project/11805 | 2.3.3 | 3.0.1 | python-xlib | DISTRO | https://release-monitoring.org/project/12180 | 0.27 | 0.31 | python-xlsxwriter | DISTRO | https://release-monitoring.org/project/12031 | 3.0.1 | 3.0.3 | python-yarl | DISTRO | https://release-monitoring.org/project/12895 | 1.7.2 | 1.8.0 | python-zeroconf | DISTRO | https://release-monitoring.org/project/12681 | 0.29.0 | 0.38.4 | python3 | DISTRO | https://release-monitoring.org/project/13254 | 3.10.2 | 3.10.4 | qcom-db410c-firmware | DISTRO | https://release-monitoring.org/project/235382 | 1034.2.1 | 1036.1 | qemu | DISTRO | https://release-monitoring.org/project/13607 | 6.2.0 | 7.0.0 | qpdf | DISTRO | https://release-monitoring.org/project/05542 | 10.5.0 | 10.6.3 | qpid-proton | DISTRO | https://release-monitoring.org/project/15198 | 0.35.0 | 0.37.0 | qt5coap | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | qt5knx | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | qt5mqtt | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | qt5opcua | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | qt5webengine | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | quazip | DISTRO | https://release-monitoring.org/project/04141 | 1.2 | 1.3 | qwt | DISTRO | https://release-monitoring.org/project/04147 | 6.1.6 | 6.2.0 | ORPH rabbitmq-server | DISTRO | https://release-monitoring.org/project/05585 | 3.8.2 | 3.9.15 | ragel | DISTRO | https://release-monitoring.org/project/12105 | 6.10 | 7.0.4 | ORPH ranger | DISTRO | https://release-monitoring.org/project/07426 | 1.7.2 | 1.9.3 | re2 | DISTRO | https://release-monitoring.org/project/10500 | 2022-02-01 | 2022-04-01 | restorecond | DISTRO | https://release-monitoring.org/project/16520 | 3.3 | 20200710 | ORPH riemann-c-client | DISTRO | https://release-monitoring.org/project/21389 | 1.10.5 | 2.0.0 | ORPH rocksdb | DISTRO | https://release-monitoring.org/project/15560 | 6.20.3 | 7.1.2 | rsync | DISTRO | https://release-monitoring.org/project/04217 | 3.2.3 | 3.2.4 | ORPH rsyslog | DISTRO | https://release-monitoring.org/project/04218 | 8.2010.0 | 8.2204.0 | rtai | DISTRO | https://release-monitoring.org/project/21658 | 4.0.1 | 5.3 | ORPH rtty | DISTRO | https://release-monitoring.org/project/87994 | 7.4.0 | 8.0.0 | ruby | DISTRO | https://release-monitoring.org/project/04223 | 3.1.0 | 3.1.2 | rygel | DISTRO | https://release-monitoring.org/project/04751 | 0.40.2 | 0.40.3 | s390-tools | DISTRO | https://release-monitoring.org/project/10714 | 2.20.0 | 2.21.0 | s6 | DISTRO | https://release-monitoring.org/project/05485 | 2.10.0.3 | 2.11.1.0 | s6-dns | DISTRO | https://release-monitoring.org/project/16547 | 2.3.5.1 | 2.3.5.3 | s6-linux-init | DISTRO | https://release-monitoring.org/project/16552 | 1.0.6.3 | 1.0.7.3 | s6-linux-utils | DISTRO | https://release-monitoring.org/project/16551 | 2.5.1.5 | 2.5.1.7 | s6-networking | DISTRO | https://release-monitoring.org/project/16550 | 2.4.1.1 | 2.5.1.0 | s6-portable-utils | DISTRO | https://release-monitoring.org/project/16549 | 2.2.3.2 | 2.2.4.0 | s6-rc | DISTRO | https://release-monitoring.org/project/16548 | 0.5.2.2 | 0.5.3.1 | safeclib | DISTRO | https://release-monitoring.org/project/21385 | 3.7.1 | 01022022 | samba4 | DISTRO | https://release-monitoring.org/project/04758 | 4.15.6 | 4.16.0 | sane-backends | DISTRO | https://release-monitoring.org/project/04760 | 1.0.32 | 1.1.1 | scons | DISTRO | https://release-monitoring.org/project/04770 | 3.1.2 | 4.3.0 | sdl_gfx | DISTRO | https://release-monitoring.org/project/04778 | 2.0.23 | 2.0.25 | ORPH sdl_sound | DISTRO | https://release-monitoring.org/project/10262 | 1.0.3 | 2.0.1 | ORPH sdparm | DISTRO | https://release-monitoring.org/project/04787 | 1.10 | 1.12 | sedutil | DISTRO | https://release-monitoring.org/project/15203 | 1.15.1 | 1.20.0 | sentry-cli | DISTRO | https://release-monitoring.org/project/135642 | 1.59.0 | 2.0.3 | sentry-native | DISTRO | https://release-monitoring.org/project/135639 | 0.4.1 | 0.4.17 | ser2net | DISTRO | https://release-monitoring.org/project/21655 | 4.3.4 | 4.3.5 | shared-mime-info | DISTRO | https://release-monitoring.org/project/05524 | 1.12 | 2.2 | ORPH shim | DISTRO | https://release-monitoring.org/project/10719 | 15.4 | 15.5 | skalibs | DISTRO | https://release-monitoring.org/project/05486 | 2.10.0.3 | 2.11.2.0 | smartmontools | DISTRO | https://release-monitoring.org/project/04835 | 7.2 | 7.3 | ORPH sngrep | DISTRO | https://release-monitoring.org/project/17075 | 1.4.7 | 1.4.10 | ORPH snmppp | DISTRO | https://release-monitoring.org/project/21318 | 3.4.9 | 3.4.10 | snort3 | DISTRO | https://release-monitoring.org/project/13263 | 3.1.18.0 | 3.1.27.0 | sofia-sip | DISTRO | https://release-monitoring.org/project/10509 | 1.13.6-41... | 1.13.7 | softether | DISTRO | https://release-monitoring.org/project/21383 | 4.30-9700... | 4.38-9760... | sound-theme-freedesktop | DISTRO | https://release-monitoring.org/project/10152 | 0.7 | 0.8 | spandsp | DISTRO | https://release-monitoring.org/project/12600 | 3.0.0-6ec... | 3.0.0 | sphinxbase | DISTRO | https://release-monitoring.org/project/20548 | 5prealpha | 0.8 | spice-protocol | DISTRO | https://release-monitoring.org/project/14892 | 0.14.3 | 0.14.4 | sqlcipher | DISTRO | https://release-monitoring.org/project/11213 | 4.5.0 | 4.5.1 | squashfs | DISTRO | https://release-monitoring.org/project/04879 | 4.5 | 4.5.1 | squid | DISTRO | https://release-monitoring.org/project/04880 | 5.3 | 5.5 | ORPH sshfs | DISTRO | https://release-monitoring.org/project/11058 | 3.7.1 | 3.7.2 | ORPH start-stop-daemon | DISTRO | https://release-monitoring.org/project/08127 | 1.20.7.1 | 1.21.7 | ORPH stellarium | DISTRO | https://release-monitoring.org/project/04891 | 0.22.0 | 0.22.1 | stm32flash | DISTRO | https://release-monitoring.org/project/227276 | 0.6 | 0.7 | strace | DISTRO | https://release-monitoring.org/project/04897 | 5.16 | 5.17 | stress | DISTRO | https://release-monitoring.org/project/08048 | 1.0.4 | 1.0.5 | stunnel | DISTRO | https://release-monitoring.org/project/04901 | 5.60 | 5.63 | sudo | DISTRO | https://release-monitoring.org/project/04906 | 1.9.8p2 | 1.9.10 | ORPH supervisor | DISTRO | https://release-monitoring.org/project/16289 | 4.2.2 | 4.2.4 | ORPH suricata | DISTRO | https://release-monitoring.org/project/10925 | 6.0.4 | 6.0.5 | synergy | DISTRO | https://release-monitoring.org/project/05718 | 2.0.12-beta | 2.3.2 | sysdig | DISTRO | https://release-monitoring.org/project/16898 | 0.27.1 | 0.29.1 | syslog-ng | DISTRO | https://release-monitoring.org/project/04930 | 3.35.1 | 3.36.1 | sysprof | DISTRO | https://release-monitoring.org/project/21649 | 1.2.0 | 3.44.0 | sysrepo | DISTRO | https://release-monitoring.org/project/34820 | 2.0.53 | 2.1.42 | sysstat | DISTRO | https://release-monitoring.org/project/04931 | 12.4.2 | 12.5.6 | ORPH system-config-printer | DISTRO | https://release-monitoring.org/project/08855 | 1.5.15 | 1.5.16 | ORPH systemd-bootchart | DISTRO | https://release-monitoring.org/project/11774 | 233 | 234 | sysvinit | DISTRO | https://release-monitoring.org/project/21648 | 2.99 | 3.03 | ORPH tclap | DISTRO | https://release-monitoring.org/project/04942 | 1.2.4 | 1.2.5 | tcpreplay | DISTRO | https://release-monitoring.org/project/13716 | 4.3.4 | 4.4.1 | ORPH tesseract-ocr | DISTRO | https://release-monitoring.org/project/04954 | 5.0.1 | 5.1.0 | thermald | DISTRO | https://release-monitoring.org/project/14500 | 2.4.8 | 2.4.9 | thrift | DISTRO | https://release-monitoring.org/project/05581 | 0.14.1 | 0.16.0 | ORPH timescaledb | DISTRO | https://release-monitoring.org/project/17545 | 2.5.2 | 2.6.1 | tinifier | DISTRO | https://release-monitoring.org/project/241900 | 3.4.0 | 3.5.0 | tinyssh | DISTRO | https://release-monitoring.org/project/14678 | 20210601 | 20220311 | tinyxml | DISTRO | https://release-monitoring.org/project/10162 | 2.6.2_2 | 2.6.2 | ORPH tio | DISTRO | https://release-monitoring.org/project/20587 | 1.32 | 1.37 | tmux | DISTRO | https://release-monitoring.org/project/04980 | 3.1c | 3.2a | tpm-tools | DISTRO | https://release-monitoring.org/project/21640 | 1.3.9.1 | 1.3.9.2 | tpm2-abrmd | DISTRO | https://release-monitoring.org/project/16819 | 2.3.3 | 2.4.1 | ORPH tpm2-pkcs11 | DISTRO | https://release-monitoring.org/project/18777 | 1.7.0 | 1.8.0 | tpm2-totp | DISTRO | https://release-monitoring.org/project/18790 | 0.2.1 | 0.3.0 | tpm2-tss | DISTRO | https://release-monitoring.org/project/12683 | 3.1.0 | 3.2.0 | ORPH trace-cmd | DISTRO | https://release-monitoring.org/project/07873 | 2.9.7 | 3.0.3 | tzdata | DISTRO | https://release-monitoring.org/project/05021 | 2021e | 2022a | uboot-tools | DISTRO | https://release-monitoring.org/project/05022 | 2021.07 | 2022.04 | udpcast | DISTRO | https://release-monitoring.org/project/10206 | 20200328 | 20211207 | ORPH uftrace | DISTRO | https://release-monitoring.org/project/195039 | 0.10 | 0.11 | uhd | DISTRO | https://release-monitoring.org/project/12572 | 3.15.0.0 | 4.2.0.0 | unionfs | DISTRO | https://release-monitoring.org/project/17617 | 2.1 | 2.2 | unrar | DISTRO | https://release-monitoring.org/project/13306 | 6.1.3 | 6.1.6 | ORPH upmpdcli | DISTRO | https://release-monitoring.org/project/15848 | 1.5.12 | 1.5.16 | upower | DISTRO | https://release-monitoring.org/project/05056 | 0.99.11 | 0.99.17 | uvw | DISTRO | https://release-monitoring.org/project/33083 | 2.11.0_li... | 2.12.1_li... | vala | DISTRO | https://release-monitoring.org/project/05065 | 0.52.4 | 0.56.1 | ORPH valgrind | DISTRO | https://release-monitoring.org/project/13639 | 3.18.1 | 3.19.0 | ORPH vim | DISTRO | https://release-monitoring.org/project/05092 | 8.2.4732 | 8.2.4815 | ORPH vlc | DISTRO | https://release-monitoring.org/project/06504 | 3.0.16 | 3.0.17.4 | vnstat | DISTRO | https://release-monitoring.org/project/07283 | 2.8 | 2.9 | vpnc | DISTRO | https://release-monitoring.org/project/15955 | 0.5.3r550... | 0.5.3 | ORPH vte | DISTRO | https://release-monitoring.org/project/10895 | 0.66.2 | 0.68.0 | ORPH vulkan-headers | DISTRO | https://release-monitoring.org/project/88835 | 1.2.203 | 1.3.212 | ORPH waffle | DISTRO | https://release-monitoring.org/project/21633 | 1.6.1 | 1.7.0 | waylandpp | DISTRO | https://release-monitoring.org/project/16969 | 0.2.8 | 0.2.10 | webkitgtk | DISTRO | https://release-monitoring.org/project/05355 | 2.36.0 | 2.36.1 | webrtc-audio-processing | DISTRO | https://release-monitoring.org/project/15929 | 0.3.1 | 1.0 | ORPH whois | DISTRO | https://release-monitoring.org/project/05128 | 5.5.11 | 5.5.13 | wilc1000-firmware | DISTRO | https://release-monitoring.org/project/65598 | 14.1 | 15.7 | wine | DISTRO | https://release-monitoring.org/project/05134 | 6.0 | 7.7 | wireguard-linux-compat | DISTRO | https://release-monitoring.org/project/62379 | 1.0.20210606 | 1.0.20211208 | wireless-regdb | DISTRO | https://release-monitoring.org/project/15257 | 2022.02.18 | 2022.04.08 | wireplumber | DISTRO | https://release-monitoring.org/project/235056 | 0.4.8 | 0.4.9 | ORPH wireshark | DISTRO | https://release-monitoring.org/project/05137 | 3.4.12 | 3.6.3 | ORPH wlroots | DISTRO | https://release-monitoring.org/project/18357 | 0.14.1 | 0.15.1 | wpewebkit | DISTRO | https://release-monitoring.org/project/17557 | 2.36.0 | 2.36.1 | xapp_appres | DISTRO | https://release-monitoring.org/project/15053 | 1.0.5 | 1.0.6 | xapp_editres | DISTRO | https://release-monitoring.org/project/17160 | 1.0.7 | 1.0.8 | xapp_iceauth | DISTRO | https://release-monitoring.org/project/15048 | 1.0.8 | 1.0.9 | xapp_listres | DISTRO | https://release-monitoring.org/project/17161 | 1.0.4 | 1.0.5 | xapp_luit | DISTRO | https://release-monitoring.org/project/15047 | 1.1.1 | 20220111 | xapp_mkfontscale | DISTRO | https://release-monitoring.org/project/15043 | 1.2.1 | 1.2.2 | xapp_rstart | DISTRO | https://release-monitoring.org/project/21256 | 1.0.5 | 1.0.6 | xapp_setxkbmap | DISTRO | https://release-monitoring.org/project/12314 | 1.3.2 | 1.3.3 | xapp_twm | DISTRO | https://release-monitoring.org/project/15038 | 1.0.11 | 1.0.12 | xapp_xauth | DISTRO | https://release-monitoring.org/project/05253 | 1.1.1 | 1.1.2 | xapp_xcalc | DISTRO | https://release-monitoring.org/project/05164 | 1.1.0 | 1.1.1 | xapp_xclock | DISTRO | https://release-monitoring.org/project/15032 | 1.0.9 | 1.1.1 | xapp_xdm | DISTRO | https://release-monitoring.org/project/05255 | 1.1.12 | 1.1.13 | xapp_xdpyinfo | DISTRO | https://release-monitoring.org/project/15028 | 1.3.2 | 1.3.3 | xapp_xedit | DISTRO | https://release-monitoring.org/project/05180 | 1.2.2 | 1.2.3 | xapp_xload | DISTRO | https://release-monitoring.org/project/14992 | 1.1.3 | 1.1.4 | xapp_xlsfonts | DISTRO | https://release-monitoring.org/project/14964 | 1.0.6 | 1.0.7 | xapp_xsm | DISTRO | https://release-monitoring.org/project/05259 | 1.0.4 | 1.0.5 | xdriver_xf86-input-libinput | DISTRO | https://release-monitoring.org/project/05782 | 1.2.0 | 1.2.1 | xdriver_xf86-video-amdgpu | DISTRO | https://release-monitoring.org/project/15900 | 19.1.0 | 22.0.0 | xdriver_xf86-video-dummy | DISTRO | https://release-monitoring.org/project/05216 | 0.3.8 | 0.4.0 | xen | DISTRO | https://release-monitoring.org/project/05181 | 4.14.4 | 4.16.1 | xfsprogs | DISTRO | https://release-monitoring.org/project/05188 | 5.14.2 | 5.15.0 | ORPH xinetd | DISTRO | https://release-monitoring.org/project/06382 | 2.3.15 | 2.3.15.4 | xkeyboard-config | DISTRO | https://release-monitoring.org/project/05191 | 2.34 | 2.35.1 | xlib_libX11 | DISTRO | https://release-monitoring.org/project/01764 | 1.7.3.1 | 1.7.5 | xlib_libXcursor | DISTRO | https://release-monitoring.org/project/01770 | 1.2.0 | 1.2.1 | xlib_libXvMC | DISTRO | https://release-monitoring.org/project/01796 | 1.0.12 | 1.0.13 | xmrig | DISTRO | https://release-monitoring.org/project/17499 | 6.16.4 | 6.17.0 | xorgproto | DISTRO | https://release-monitoring.org/project/17190 | 2021.5 | 2022.1 | xserver_xorg-server | DISTRO | https://release-monitoring.org/project/05250 | 21.1.2 | 21.1.3 | xtables-addons | DISTRO | https://release-monitoring.org/project/07736 | 3.17 | 3.20 | ORPH xterm | DISTRO | https://release-monitoring.org/project/05272 | 371 | 372 | ORPH yad | DISTRO | https://release-monitoring.org/project/05280 | 0.40.0 | 11.1 | yaml-cpp | DISTRO | https://release-monitoring.org/project/05284 | 0.6.3 | 0.7.0 | ORPH zabbix | DISTRO | https://release-monitoring.org/project/05492 | 5.4.9 | 6.0.3 | zfs | DISTRO | https://release-monitoring.org/project/11706 | 2.0.5 | 2.1.4 | zic | DISTRO | https://release-monitoring.org/project/16905 | 2021e | 2022a | Packages having CVEs ==================== CVEs for the 'master' branch ---------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-5000 | https://security-tracker.debian.org/tracker/CVE-2007-5000 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-0455 | https://security-tracker.debian.org/tracker/CVE-2008-0455 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2009-1890 | https://security-tracker.debian.org/tracker/CVE-2009-1890 apache | CVE-2009-1891 | https://security-tracker.debian.org/tracker/CVE-2009-1891 apache | CVE-2009-2699 | https://security-tracker.debian.org/tracker/CVE-2009-2699 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-0434 | https://security-tracker.debian.org/tracker/CVE-2010-0434 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-27607 | https://security-tracker.debian.org/tracker/CVE-2022-27607 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2021-45078 | https://security-tracker.debian.org/tracker/CVE-2021-45078 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bluez5_utils | CVE-2020-12352 | https://security-tracker.debian.org/tracker/CVE-2020-12352 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-12352 | https://security-tracker.debian.org/tracker/CVE-2020-12352 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 busybox | CVE-2022-28391 | https://security-tracker.debian.org/tracker/CVE-2022-28391 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 cairo | CVE-2019-6462 | https://security-tracker.debian.org/tracker/CVE-2019-6462 cairo | CVE-2020-35492 | https://security-tracker.debian.org/tracker/CVE-2020-35492 clamav | CVE-2016-1405 | https://security-tracker.debian.org/tracker/CVE-2016-1405 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2018-6553 | https://security-tracker.debian.org/tracker/CVE-2018-6553 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 darkhttpd | CVE-2020-25691 | https://security-tracker.debian.org/tracker/CVE-2020-25691 dnsmasq | CVE-2021-45951 | https://security-tracker.debian.org/tracker/CVE-2021-45951 dnsmasq | CVE-2021-45952 | https://security-tracker.debian.org/tracker/CVE-2021-45952 dnsmasq | CVE-2021-45953 | https://security-tracker.debian.org/tracker/CVE-2021-45953 dnsmasq | CVE-2021-45954 | https://security-tracker.debian.org/tracker/CVE-2021-45954 dnsmasq | CVE-2021-45955 | https://security-tracker.debian.org/tracker/CVE-2021-45955 dnsmasq | CVE-2021-45956 | https://security-tracker.debian.org/tracker/CVE-2021-45956 dnsmasq | CVE-2021-45957 | https://security-tracker.debian.org/tracker/CVE-2021-45957 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 e2fsprogs | CVE-2022-1304 | https://security-tracker.debian.org/tracker/CVE-2022-1304 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 erlang | CVE-2020-35733 | https://security-tracker.debian.org/tracker/CVE-2020-35733 exim | CVE-2020-28017 | https://security-tracker.debian.org/tracker/CVE-2020-28017 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2021-38291 | https://security-tracker.debian.org/tracker/CVE-2021-38291 git | CVE-2022-24765 | https://security-tracker.debian.org/tracker/CVE-2022-24765 git | CVE-2022-24975 | https://security-tracker.debian.org/tracker/CVE-2022-24975 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 go | CVE-2020-29509 | https://security-tracker.debian.org/tracker/CVE-2020-29509 go | CVE-2020-29511 | https://security-tracker.debian.org/tracker/CVE-2020-29511 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grub2 | CVE-2021-3981 | https://security-tracker.debian.org/tracker/CVE-2021-3981 grub2 | CVE-2021-46705 | https://security-tracker.debian.org/tracker/CVE-2021-46705 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2022-0711 | https://security-tracker.debian.org/tracker/CVE-2022-0711 heirloom-mailx | CVE-2004-2771 | https://security-tracker.debian.org/tracker/CVE-2004-2771 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libpjsip | CVE-2022-24754 | https://security-tracker.debian.org/tracker/CVE-2022-24754 libpjsip | CVE-2022-24764 | https://security-tracker.debian.org/tracker/CVE-2022-24764 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2020-15888 | https://security-tracker.debian.org/tracker/CVE-2020-15888 lua | CVE-2020-15945 | https://security-tracker.debian.org/tracker/CVE-2020-15945 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 lua | CVE-2022-28805 | https://security-tracker.debian.org/tracker/CVE-2022-28805 mariadb | CVE-2021-46669 | https://security-tracker.debian.org/tracker/CVE-2021-46669 mariadb | CVE-2022-27376 | https://security-tracker.debian.org/tracker/CVE-2022-27376 mariadb | CVE-2022-27377 | https://security-tracker.debian.org/tracker/CVE-2022-27377 mariadb | CVE-2022-27378 | https://security-tracker.debian.org/tracker/CVE-2022-27378 mariadb | CVE-2022-27379 | https://security-tracker.debian.org/tracker/CVE-2022-27379 mariadb | CVE-2022-27380 | https://security-tracker.debian.org/tracker/CVE-2022-27380 mariadb | CVE-2022-27381 | https://security-tracker.debian.org/tracker/CVE-2022-27381 mariadb | CVE-2022-27382 | https://security-tracker.debian.org/tracker/CVE-2022-27382 mariadb | CVE-2022-27383 | https://security-tracker.debian.org/tracker/CVE-2022-27383 mariadb | CVE-2022-27384 | https://security-tracker.debian.org/tracker/CVE-2022-27384 mariadb | CVE-2022-27385 | https://security-tracker.debian.org/tracker/CVE-2022-27385 mariadb | CVE-2022-27386 | https://security-tracker.debian.org/tracker/CVE-2022-27386 mariadb | CVE-2022-27387 | https://security-tracker.debian.org/tracker/CVE-2022-27387 mariadb | CVE-2022-27444 | https://security-tracker.debian.org/tracker/CVE-2022-27444 mariadb | CVE-2022-27445 | https://security-tracker.debian.org/tracker/CVE-2022-27445 mariadb | CVE-2022-27446 | https://security-tracker.debian.org/tracker/CVE-2022-27446 mariadb | CVE-2022-27447 | https://security-tracker.debian.org/tracker/CVE-2022-27447 mariadb | CVE-2022-27448 | https://security-tracker.debian.org/tracker/CVE-2022-27448 mariadb | CVE-2022-27449 | https://security-tracker.debian.org/tracker/CVE-2022-27449 mariadb | CVE-2022-27451 | https://security-tracker.debian.org/tracker/CVE-2022-27451 mariadb | CVE-2022-27452 | https://security-tracker.debian.org/tracker/CVE-2022-27452 mariadb | CVE-2022-27455 | https://security-tracker.debian.org/tracker/CVE-2022-27455 mariadb | CVE-2022-27456 | https://security-tracker.debian.org/tracker/CVE-2022-27456 mariadb | CVE-2022-27457 | https://security-tracker.debian.org/tracker/CVE-2022-27457 mariadb | CVE-2022-27458 | https://security-tracker.debian.org/tracker/CVE-2022-27458 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-18381 | https://security-tracker.debian.org/tracker/CVE-2017-18381 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 nasm | CVE-2020-18974 | https://security-tracker.debian.org/tracker/CVE-2020-18974 ncurses | CVE-2021-39537 | https://security-tracker.debian.org/tracker/CVE-2021-39537 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjdk | CVE-2013-0169 | https://security-tracker.debian.org/tracker/CVE-2013-0169 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openjpeg | CVE-2016-9675 | https://security-tracker.debian.org/tracker/CVE-2016-9675 openjpeg | CVE-2021-29338 | https://security-tracker.debian.org/tracker/CVE-2021-29338 openjpeg | CVE-2021-3575 | https://security-tracker.debian.org/tracker/CVE-2021-3575 openjpeg | CVE-2022-1122 | https://security-tracker.debian.org/tracker/CVE-2022-1122 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 polkit | CVE-2021-4034 | https://security-tracker.debian.org/tracker/CVE-2021-4034 postgresql | CVE-2017-8806 | https://security-tracker.debian.org/tracker/CVE-2017-8806 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 pppd | CVE-2018-11574 | https://security-tracker.debian.org/tracker/CVE-2018-11574 python-m2crypto | CVE-2020-25657 | https://security-tracker.debian.org/tracker/CVE-2020-25657 python-pip | CVE-2018-20225 | https://security-tracker.debian.org/tracker/CVE-2018-20225 python-twisted | CVE-2022-24801 | https://security-tracker.debian.org/tracker/CVE-2022-24801 python3 | CVE-2015-20107 | https://security-tracker.debian.org/tracker/CVE-2015-20107 python3 | CVE-2022-26488 | https://security-tracker.debian.org/tracker/CVE-2022-26488 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2021-3947 | https://security-tracker.debian.org/tracker/CVE-2021-3947 qemu | CVE-2022-1050 | https://security-tracker.debian.org/tracker/CVE-2022-1050 qemu | CVE-2022-26353 | https://security-tracker.debian.org/tracker/CVE-2022-26353 qemu | CVE-2022-26354 | https://security-tracker.debian.org/tracker/CVE-2022-26354 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-server | CVE-2018-11087 | https://security-tracker.debian.org/tracker/CVE-2018-11087 rabbitmq-server | CVE-2018-1279 | https://security-tracker.debian.org/tracker/CVE-2018-1279 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rtl_433 | CVE-2022-27419 | https://security-tracker.debian.org/tracker/CVE-2022-27419 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-1050 | https://security-tracker.debian.org/tracker/CVE-2018-1050 samba4 | CVE-2018-1057 | https://security-tracker.debian.org/tracker/CVE-2018-1057 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tiff | CVE-2022-0561 | https://security-tracker.debian.org/tracker/CVE-2022-0561 tiff | CVE-2022-0562 | https://security-tracker.debian.org/tracker/CVE-2022-0562 tiff | CVE-2022-0865 | https://security-tracker.debian.org/tracker/CVE-2022-0865 tiff | CVE-2022-0891 | https://security-tracker.debian.org/tracker/CVE-2022-0891 tiff | CVE-2022-0907 | https://security-tracker.debian.org/tracker/CVE-2022-0907 tiff | CVE-2022-0908 | https://security-tracker.debian.org/tracker/CVE-2022-0908 tiff | CVE-2022-0909 | https://security-tracker.debian.org/tracker/CVE-2022-0909 tiff | CVE-2022-0924 | https://security-tracker.debian.org/tracker/CVE-2022-0924 tiff | CVE-2022-1056 | https://security-tracker.debian.org/tracker/CVE-2022-1056 tiff | CVE-2022-1210 | https://security-tracker.debian.org/tracker/CVE-2022-1210 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 unzip | CVE-2022-0529 | https://security-tracker.debian.org/tracker/CVE-2022-0529 unzip | CVE-2022-0530 | https://security-tracker.debian.org/tracker/CVE-2022-0530 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28038 | https://security-tracker.debian.org/tracker/CVE-2021-28038 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 CVEs for the '2022.02.x' branch ------------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-5000 | https://security-tracker.debian.org/tracker/CVE-2007-5000 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-0455 | https://security-tracker.debian.org/tracker/CVE-2008-0455 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2009-1890 | https://security-tracker.debian.org/tracker/CVE-2009-1890 apache | CVE-2009-1891 | https://security-tracker.debian.org/tracker/CVE-2009-1891 apache | CVE-2009-2699 | https://security-tracker.debian.org/tracker/CVE-2009-2699 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-0434 | https://security-tracker.debian.org/tracker/CVE-2010-0434 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-27607 | https://security-tracker.debian.org/tracker/CVE-2022-27607 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2021-45078 | https://security-tracker.debian.org/tracker/CVE-2021-45078 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bluez5_utils | CVE-2020-12352 | https://security-tracker.debian.org/tracker/CVE-2020-12352 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-12352 | https://security-tracker.debian.org/tracker/CVE-2020-12352 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 busybox | CVE-2022-28391 | https://security-tracker.debian.org/tracker/CVE-2022-28391 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 cairo | CVE-2019-6462 | https://security-tracker.debian.org/tracker/CVE-2019-6462 cairo | CVE-2020-35492 | https://security-tracker.debian.org/tracker/CVE-2020-35492 clamav | CVE-2016-1405 | https://security-tracker.debian.org/tracker/CVE-2016-1405 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2018-6553 | https://security-tracker.debian.org/tracker/CVE-2018-6553 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 darkhttpd | CVE-2020-25691 | https://security-tracker.debian.org/tracker/CVE-2020-25691 dnsmasq | CVE-2021-45951 | https://security-tracker.debian.org/tracker/CVE-2021-45951 dnsmasq | CVE-2021-45952 | https://security-tracker.debian.org/tracker/CVE-2021-45952 dnsmasq | CVE-2021-45953 | https://security-tracker.debian.org/tracker/CVE-2021-45953 dnsmasq | CVE-2021-45954 | https://security-tracker.debian.org/tracker/CVE-2021-45954 dnsmasq | CVE-2021-45955 | https://security-tracker.debian.org/tracker/CVE-2021-45955 dnsmasq | CVE-2021-45956 | https://security-tracker.debian.org/tracker/CVE-2021-45956 dnsmasq | CVE-2021-45957 | https://security-tracker.debian.org/tracker/CVE-2021-45957 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 e2fsprogs | CVE-2022-1304 | https://security-tracker.debian.org/tracker/CVE-2022-1304 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 erlang | CVE-2020-35733 | https://security-tracker.debian.org/tracker/CVE-2020-35733 exim | CVE-2020-28017 | https://security-tracker.debian.org/tracker/CVE-2020-28017 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2021-38291 | https://security-tracker.debian.org/tracker/CVE-2021-38291 git | CVE-2022-24765 | https://security-tracker.debian.org/tracker/CVE-2022-24765 git | CVE-2022-24975 | https://security-tracker.debian.org/tracker/CVE-2022-24975 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 go | CVE-2020-29509 | https://security-tracker.debian.org/tracker/CVE-2020-29509 go | CVE-2020-29511 | https://security-tracker.debian.org/tracker/CVE-2020-29511 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grub2 | CVE-2021-3981 | https://security-tracker.debian.org/tracker/CVE-2021-3981 grub2 | CVE-2021-46705 | https://security-tracker.debian.org/tracker/CVE-2021-46705 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2022-0711 | https://security-tracker.debian.org/tracker/CVE-2022-0711 heirloom-mailx | CVE-2004-2771 | https://security-tracker.debian.org/tracker/CVE-2004-2771 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libbpf | CVE-2021-45940 | https://security-tracker.debian.org/tracker/CVE-2021-45940 libbpf | CVE-2021-45941 | https://security-tracker.debian.org/tracker/CVE-2021-45941 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libpjsip | CVE-2022-24754 | https://security-tracker.debian.org/tracker/CVE-2022-24754 libpjsip | CVE-2022-24764 | https://security-tracker.debian.org/tracker/CVE-2022-24764 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2020-15888 | https://security-tracker.debian.org/tracker/CVE-2020-15888 lua | CVE-2020-15945 | https://security-tracker.debian.org/tracker/CVE-2020-15945 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 lua | CVE-2022-28805 | https://security-tracker.debian.org/tracker/CVE-2022-28805 mariadb | CVE-2021-46669 | https://security-tracker.debian.org/tracker/CVE-2021-46669 mariadb | CVE-2022-27376 | https://security-tracker.debian.org/tracker/CVE-2022-27376 mariadb | CVE-2022-27377 | https://security-tracker.debian.org/tracker/CVE-2022-27377 mariadb | CVE-2022-27378 | https://security-tracker.debian.org/tracker/CVE-2022-27378 mariadb | CVE-2022-27379 | https://security-tracker.debian.org/tracker/CVE-2022-27379 mariadb | CVE-2022-27380 | https://security-tracker.debian.org/tracker/CVE-2022-27380 mariadb | CVE-2022-27381 | https://security-tracker.debian.org/tracker/CVE-2022-27381 mariadb | CVE-2022-27382 | https://security-tracker.debian.org/tracker/CVE-2022-27382 mariadb | CVE-2022-27383 | https://security-tracker.debian.org/tracker/CVE-2022-27383 mariadb | CVE-2022-27384 | https://security-tracker.debian.org/tracker/CVE-2022-27384 mariadb | CVE-2022-27385 | https://security-tracker.debian.org/tracker/CVE-2022-27385 mariadb | CVE-2022-27386 | https://security-tracker.debian.org/tracker/CVE-2022-27386 mariadb | CVE-2022-27387 | https://security-tracker.debian.org/tracker/CVE-2022-27387 mariadb | CVE-2022-27444 | https://security-tracker.debian.org/tracker/CVE-2022-27444 mariadb | CVE-2022-27445 | https://security-tracker.debian.org/tracker/CVE-2022-27445 mariadb | CVE-2022-27446 | https://security-tracker.debian.org/tracker/CVE-2022-27446 mariadb | CVE-2022-27447 | https://security-tracker.debian.org/tracker/CVE-2022-27447 mariadb | CVE-2022-27448 | https://security-tracker.debian.org/tracker/CVE-2022-27448 mariadb | CVE-2022-27449 | https://security-tracker.debian.org/tracker/CVE-2022-27449 mariadb | CVE-2022-27451 | https://security-tracker.debian.org/tracker/CVE-2022-27451 mariadb | CVE-2022-27452 | https://security-tracker.debian.org/tracker/CVE-2022-27452 mariadb | CVE-2022-27455 | https://security-tracker.debian.org/tracker/CVE-2022-27455 mariadb | CVE-2022-27456 | https://security-tracker.debian.org/tracker/CVE-2022-27456 mariadb | CVE-2022-27457 | https://security-tracker.debian.org/tracker/CVE-2022-27457 mariadb | CVE-2022-27458 | https://security-tracker.debian.org/tracker/CVE-2022-27458 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-18381 | https://security-tracker.debian.org/tracker/CVE-2017-18381 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 mutt | CVE-2022-1328 | https://security-tracker.debian.org/tracker/CVE-2022-1328 nasm | CVE-2020-18974 | https://security-tracker.debian.org/tracker/CVE-2020-18974 ncurses | CVE-2021-39537 | https://security-tracker.debian.org/tracker/CVE-2021-39537 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjdk | CVE-2013-0169 | https://security-tracker.debian.org/tracker/CVE-2013-0169 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openjpeg | CVE-2016-9675 | https://security-tracker.debian.org/tracker/CVE-2016-9675 openjpeg | CVE-2021-29338 | https://security-tracker.debian.org/tracker/CVE-2021-29338 openjpeg | CVE-2021-3575 | https://security-tracker.debian.org/tracker/CVE-2021-3575 openjpeg | CVE-2022-1122 | https://security-tracker.debian.org/tracker/CVE-2022-1122 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 polkit | CVE-2021-4034 | https://security-tracker.debian.org/tracker/CVE-2021-4034 postgresql | CVE-2017-8806 | https://security-tracker.debian.org/tracker/CVE-2017-8806 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 pppd | CVE-2018-11574 | https://security-tracker.debian.org/tracker/CVE-2018-11574 python-django | CVE-2022-28346 | https://security-tracker.debian.org/tracker/CVE-2022-28346 python-django | CVE-2022-28347 | https://security-tracker.debian.org/tracker/CVE-2022-28347 python-m2crypto | CVE-2020-25657 | https://security-tracker.debian.org/tracker/CVE-2020-25657 python-pip | CVE-2018-20225 | https://security-tracker.debian.org/tracker/CVE-2018-20225 python-twisted | CVE-2022-24801 | https://security-tracker.debian.org/tracker/CVE-2022-24801 python3 | CVE-2015-20107 | https://security-tracker.debian.org/tracker/CVE-2015-20107 python3 | CVE-2022-26488 | https://security-tracker.debian.org/tracker/CVE-2022-26488 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2021-3947 | https://security-tracker.debian.org/tracker/CVE-2021-3947 qemu | CVE-2022-1050 | https://security-tracker.debian.org/tracker/CVE-2022-1050 qemu | CVE-2022-26353 | https://security-tracker.debian.org/tracker/CVE-2022-26353 qemu | CVE-2022-26354 | https://security-tracker.debian.org/tracker/CVE-2022-26354 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-server | CVE-2018-11087 | https://security-tracker.debian.org/tracker/CVE-2018-11087 rabbitmq-server | CVE-2018-1279 | https://security-tracker.debian.org/tracker/CVE-2018-1279 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rtl_433 | CVE-2022-27419 | https://security-tracker.debian.org/tracker/CVE-2022-27419 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-1050 | https://security-tracker.debian.org/tracker/CVE-2018-1050 samba4 | CVE-2018-1057 | https://security-tracker.debian.org/tracker/CVE-2018-1057 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 subversion | CVE-2021-28544 | https://security-tracker.debian.org/tracker/CVE-2021-28544 subversion | CVE-2022-24070 | https://security-tracker.debian.org/tracker/CVE-2022-24070 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tiff | CVE-2022-0561 | https://security-tracker.debian.org/tracker/CVE-2022-0561 tiff | CVE-2022-0562 | https://security-tracker.debian.org/tracker/CVE-2022-0562 tiff | CVE-2022-0865 | https://security-tracker.debian.org/tracker/CVE-2022-0865 tiff | CVE-2022-0891 | https://security-tracker.debian.org/tracker/CVE-2022-0891 tiff | CVE-2022-0907 | https://security-tracker.debian.org/tracker/CVE-2022-0907 tiff | CVE-2022-0908 | https://security-tracker.debian.org/tracker/CVE-2022-0908 tiff | CVE-2022-0909 | https://security-tracker.debian.org/tracker/CVE-2022-0909 tiff | CVE-2022-0924 | https://security-tracker.debian.org/tracker/CVE-2022-0924 tiff | CVE-2022-1056 | https://security-tracker.debian.org/tracker/CVE-2022-1056 tiff | CVE-2022-1210 | https://security-tracker.debian.org/tracker/CVE-2022-1210 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 unzip | CVE-2022-0529 | https://security-tracker.debian.org/tracker/CVE-2022-0529 unzip | CVE-2022-0530 | https://security-tracker.debian.org/tracker/CVE-2022-0530 usbguard | CVE-2019-25058 | https://security-tracker.debian.org/tracker/CVE-2019-25058 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28038 | https://security-tracker.debian.org/tracker/CVE-2021-28038 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 xscreensaver | CVE-2021-34557 | https://security-tracker.debian.org/tracker/CVE-2021-34557 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 zlog | CVE-2021-43521 | https://security-tracker.debian.org/tracker/CVE-2021-43521 -- http://autobuild.buildroot.net From arnout at mind.be Mon Apr 25 05:42:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 07:42:48 +0200 Subject: [Buildroot] Removing BR2_SHARED_STATIC_LIBS [was: [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build] In-Reply-To: <20220424163350.GX2730@scaer> References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> <20220424163350.GX2730@scaer> Message-ID: <56cf3cb2-d00b-b957-8b0b-2a095e5797a0@mind.be> On 24/04/2022 18:33, Yann E. MORIN wrote: [snip] > I have always been a bit confused on how BR2_SHARED_STATIC_LIBS was > supposed to work, to be honest... Sure, it meant we wanted to _build_ > both the static and shared libs. The problem is that it only actually works for autotools packages. They are still dominant (more than 1/3 of all packages), but diminishing fast and many "headline" packages are no longer autotools. I don't really like to have an option that doesn't even work for most packages. Regards, Arnout > But how were we going to tell packages > whether they were supposed to link staticially or not? > > Surely we do not want a per-package option... Then we're left with > deciding at the package's .mk level, by hard-coding some heuristic to > decide. > > In upstream, we have no such case where we'd want a package to be > statically linked even in the presence of shared libraries (maybe the > the exception being busybox, for those who want to cheaply build an > initrd before pivoting in the final rootfs, but that can be done with > a config fragment or a custom config file in any case). > > This leaves out-of-tree packages. > > In that case, there can be tons of reasons to prefer a static link even > in the presence of shared libraries. > > So, the real quesiton is whether we want to support that use-case or > not. > > If we do, then we need to keep BR2_SHARED_STATIC_LIBS and fix those > packages that misbehave in its presence, like done for dropbear. > > Regards, > Yann E. MORIN. > > From buildroot at heine.tech Mon Apr 25 08:04:13 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Mon, 25 Apr 2022 10:04:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/re2: bump to version 2022-04-01 Message-ID: <20220425080413.769861-1-buildroot@heine.tech> Signed-off-by: Michael Nosthoff --- package/re2/re2.hash | 2 +- package/re2/re2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/re2/re2.hash b/package/re2/re2.hash index 7cfece5d5e..28f407cc32 100644 --- a/package/re2/re2.hash +++ b/package/re2/re2.hash @@ -1,3 +1,3 @@ # locally calculated -sha256 9c1e6acfd0fed71f40b025a7a1dabaf3ee2ebb74d64ced1f9ee1b0b01d22fd27 re2-2022-02-01.tar.gz +sha256 1ae8ccfdb1066a731bba6ee0881baad5efd2cd661acd9569b689f2586e1a50e9 re2-2022-04-01.tar.gz sha256 6040cda75d90b1738292a631d89934c411ef7ffd543c4d6a1b7edfc8edf29449 LICENSE diff --git a/package/re2/re2.mk b/package/re2/re2.mk index 30791a68e5..b6d29c3caf 100644 --- a/package/re2/re2.mk +++ b/package/re2/re2.mk @@ -4,7 +4,7 @@ # ################################################################################ -RE2_VERSION = 2022-02-01 +RE2_VERSION = 2022-04-01 RE2_SITE = $(call github,google,re2,$(RE2_VERSION)) RE2_LICENSE = BSD-3-Clause RE2_LICENSE_FILES = LICENSE -- 2.25.1 From buildroot at heine.tech Mon Apr 25 08:05:03 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Mon, 25 Apr 2022 10:05:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 3.20.1 Message-ID: <20220425080503.769954-1-buildroot@heine.tech> Signed-off-by: Michael Nosthoff --- package/protobuf/protobuf.hash | 2 +- package/protobuf/protobuf.mk | 2 +- package/python-protobuf/python-protobuf.hash | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash index 60e64f54d4..f37b2dee40 100644 --- a/package/protobuf/protobuf.hash +++ b/package/protobuf/protobuf.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk index 80764f0216..c4c33ba7da 100644 --- a/package/protobuf/protobuf.mk +++ b/package/protobuf/protobuf.mk @@ -7,7 +7,7 @@ # When bumping this package, make sure to also verify if the # python-protobuf package still works and to update its hash, # as they share the same version/site variables. -PROTOBUF_VERSION = 3.19.1 +PROTOBUF_VERSION = 3.20.1 PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) PROTOBUF_LICENSE = BSD-3-Clause diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash index 2bfef96676..ddfa48b491 100644 --- a/package/python-protobuf/python-protobuf.hash +++ b/package/python-protobuf/python-protobuf.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -- 2.25.1 From baruch at tkos.co.il Mon Apr 25 08:14:28 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Mon, 25 Apr 2022 11:14:28 +0300 Subject: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 3.20.1 In-Reply-To: <20220425080503.769954-1-buildroot@heine.tech> References: <20220425080503.769954-1-buildroot@heine.tech> Message-ID: <87o80p1sv8.fsf@tarshish> Hi Michael, On Mon, Apr 25 2022, Michael Nosthoff via buildroot wrote: > Signed-off-by: Michael Nosthoff > --- > package/protobuf/protobuf.hash | 2 +- > package/protobuf/protobuf.mk | 2 +- > package/python-protobuf/python-protobuf.hash | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash > index 60e64f54d4..f37b2dee40 100644 > --- a/package/protobuf/protobuf.hash > +++ b/package/protobuf/protobuf.hash > @@ -1,3 +1,3 @@ > # Locally calculated > sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE > -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz > +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz > diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk > index 80764f0216..c4c33ba7da 100644 > --- a/package/protobuf/protobuf.mk > +++ b/package/protobuf/protobuf.mk > @@ -7,7 +7,7 @@ > # When bumping this package, make sure to also verify if the > # python-protobuf package still works and to update its hash, > # as they share the same version/site variables. > -PROTOBUF_VERSION = 3.19.1 > +PROTOBUF_VERSION = 3.20.1 > PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz > PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) > PROTOBUF_LICENSE = BSD-3-Clause > diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash > index 2bfef96676..ddfa48b491 100644 > --- a/package/python-protobuf/python-protobuf.hash > +++ b/package/python-protobuf/python-protobuf.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz > +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz The version update in python-protobuf.mk is missing. baruch > sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From buildroot at heine.tech Mon Apr 25 08:05:44 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Mon, 25 Apr 2022 10:05:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/grpc: bump to version 1.45.2 Message-ID: <20220425080544.770047-1-buildroot@heine.tech> grpc now requires gcc >= 5.1 see https://groups.google.com/g/grpc-io/c/Plvp29818BE Signed-off-by: Michael Nosthoff --- package/grpc/Config.in | 6 +++--- package/grpc/grpc.hash | 2 +- package/grpc/grpc.mk | 10 +--------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/package/grpc/Config.in b/package/grpc/Config.in index ad3ddbcf19..adba1cea52 100644 --- a/package/grpc/Config.in +++ b/package/grpc/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_GRPC depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5_1 depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS @@ -19,9 +19,9 @@ config BR2_PACKAGE_GRPC http://github.com/grpc/grpc -comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9" +comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 5.1" depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_5_1 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS diff --git a/package/grpc/grpc.hash b/package/grpc/grpc.hash index 6db2acd759..9e3a225a51 100644 --- a/package/grpc/grpc.hash +++ b/package/grpc/grpc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8c05641b9f91cbc92f51cc4a5b3a226788d7a63f20af4ca7aaca50d92cc94a0d grpc-1.44.0.tar.gz +sha256 e18b16f7976aab9a36c14c38180f042bb0fd196b75c9fd6a20a2b5f934876ad6 grpc-1.45.2.tar.gz sha256 277adcc1dcef8359b1efb48e628635f88b40be8fbd64e82fd0169930d135d7a5 LICENSE diff --git a/package/grpc/grpc.mk b/package/grpc/grpc.mk index 9138b4ea59..2f037b5d59 100644 --- a/package/grpc/grpc.mk +++ b/package/grpc/grpc.mk @@ -4,7 +4,7 @@ # ################################################################################ -GRPC_VERSION = 1.44.0 +GRPC_VERSION = 1.45.2 GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) GRPC_LICENSE = Apache-2.0, BSD-3-Clause (third_party code), MPL-2.0 (etc/roots.pem) GRPC_LICENSE_FILES = LICENSE @@ -63,14 +63,6 @@ GRPC_CFLAGS += -O0 GRPC_CXXFLAGS += -O0 endif -# Toolchains older than gcc5 will fail to compile with -0s due to: -# error: failure memory model cannot be stronger than success memory model for -# '__atomic_compare_exchange', so we use -O2 in these cases -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5):$(BR2_OPTIMIZE_S),:y) -GRPC_CFLAGS += -O2 -GRPC_CXXFLAGS += -O2 -endif - GRPC_CONF_OPTS += \ -DCMAKE_C_FLAGS="$(GRPC_CFLAGS)" \ -DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)" -- 2.25.1 From ambi at samba.org Mon Apr 25 08:16:26 2022 From: ambi at samba.org (ambi at samba.org) Date: Mon, 25 Apr 2022 10:16:26 +0200 Subject: [Buildroot] [PATCH 2/2] package/openjdk: enable for host architecture aarch64 In-Reply-To: <20220425081626.80691-1-ambi@samba.org> References: <20220425081626.80691-1-ambi@samba.org> Message-ID: <20220425081626.80691-2-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in index 8b7fd4653e..8fbe51a27f 100644 --- a/package/openjdk/Config.in +++ b/package/openjdk/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS bool default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "aarch64" # Taken from make/autoconf/platform.m4 config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS -- 2.25.1 From ambi at samba.org Mon Apr 25 08:16:25 2022 From: ambi at samba.org (ambi at samba.org) Date: Mon, 25 Apr 2022 10:16:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarch64 In-Reply-To: References: Message-ID: <20220425081626.80691-1-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index 62691ed6f0..4d3942125f 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48 OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz +sha256 302caf29f73481b2b914ba2b89705036010c65eb9bc8d7712b27d6e9bedf6200 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.2_8.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz +sha256 79572f5172c6a040591d34632f98a20ed148702bbce2f57649e8ac01c0d2e3db OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.14.1_1.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 3d1ebd7429..5cb6e3ba6a 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,16 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 endif + +ifeq ($(HOSTARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOSTARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -- 2.25.1 From baruch at tkos.co.il Mon Apr 25 08:16:38 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Mon, 25 Apr 2022 11:16:38 +0300 Subject: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 3.20.1 In-Reply-To: <87o80p1sv8.fsf@tarshish> References: <20220425080503.769954-1-buildroot@heine.tech> <87o80p1sv8.fsf@tarshish> Message-ID: <87k0bd1sq4.fsf@tarshish> Hi Michael, On Mon, Apr 25 2022, Baruch Siach via buildroot wrote: > On Mon, Apr 25 2022, Michael Nosthoff via buildroot wrote: > >> Signed-off-by: Michael Nosthoff >> --- >> package/protobuf/protobuf.hash | 2 +- >> package/protobuf/protobuf.mk | 2 +- >> package/python-protobuf/python-protobuf.hash | 2 +- >> 3 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash >> index 60e64f54d4..f37b2dee40 100644 >> --- a/package/protobuf/protobuf.hash >> +++ b/package/protobuf/protobuf.hash >> @@ -1,3 +1,3 @@ >> # Locally calculated >> sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE >> -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz >> +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz >> diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk >> index 80764f0216..c4c33ba7da 100644 >> --- a/package/protobuf/protobuf.mk >> +++ b/package/protobuf/protobuf.mk >> @@ -7,7 +7,7 @@ >> # When bumping this package, make sure to also verify if the >> # python-protobuf package still works and to update its hash, >> # as they share the same version/site variables. >> -PROTOBUF_VERSION = 3.19.1 >> +PROTOBUF_VERSION = 3.20.1 >> PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz >> PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) >> PROTOBUF_LICENSE = BSD-3-Clause >> diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash >> index 2bfef96676..ddfa48b491 100644 >> --- a/package/python-protobuf/python-protobuf.hash >> +++ b/package/python-protobuf/python-protobuf.hash >> @@ -1,3 +1,3 @@ >> # Locally calculated >> -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz >> +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz > > The version update in python-protobuf.mk is missing. I misread the commit in protobuf.mk. Sorry for the noise. Something went wrong with the Cc list. I hope it's fixed now. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From buildroot at heine.tech Mon Apr 25 08:39:01 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Mon, 25 Apr 2022 10:39:01 +0200 Subject: [Buildroot] =?utf-8?q?=5BPATCH_1/1=5D_package/=7Bpython-=7Dproto?= =?utf-8?q?buf=3A_bump_to_version_3=2E20=2E1?= In-Reply-To: <87k0bd1sq4.fsf@tarshish> Message-ID: On Monday, April 25, 2022 10:16 CEST, Baruch Siach wrote: Hi, > Hi Michael, > > On Mon, Apr 25 2022, Baruch Siach via buildroot wrote: > > > > The version update in python-protobuf.mk is missing. > > I misread the commit in protobuf.mk. Sorry for the noise. The package for python-protobuf is a bit uncommon. So the usual patch checking patterns fail ;) > > Something went wrong with the Cc list. I hope it's fixed now. My fault. I messed up the CC List while reviewing the patch in git send-email. But I think the patch came through anyways. Michael From tianyuanhao3 at 163.com Mon Apr 25 11:11:48 2022 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Mon, 25 Apr 2022 04:11:48 -0700 Subject: [Buildroot] [PATCH] package/udev: move render and sgx out of UDEV_USERS Message-ID: <20220425111148.87319-1-tianyuanhao3@163.com> Moved group render and group sgx into UDEV_USERS_SYSTEMD as they currently only appear in systemd's udev rules. In systemd, group render was introduced since commit 4e15a73, and group sgx was introduced since commit c9c4899. In eudev, group render was introduced since commit bb070c1, but was removed since commit a8ffcd1 [1]. [1]: https://github.com/eudev-project/eudev/issues/160 Signed-off-by: TIAN Yuanhao Cc: Yann E. MORIN --- package/systemd/systemd.mk | 2 -- package/udev/udev.mk | 7 +++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..1f2bc108bf 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -602,8 +602,6 @@ define SYSTEMD_PERMISSIONS endef define SYSTEMD_USERS - # udev user groups - # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) $(SYSTEMD_COREDUMP_USER) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index ce93d98431..40d12ad469 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -4,11 +4,14 @@ # ################################################################################ -# Required by default rules for input devices define UDEV_USERS - - input -1 * - - - Input device group - - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes + $(UDEV_USERS_$(call UPPERCASE,$(call qstrip,$(BR2_PACKAGE_PROVIDES_UDEV)))) +endef + +define UDEV_USERS_SYSTEMD + - - render -1 * - - - DRI rendering nodes - - sgx -1 * - - - SGX device nodes endef -- 2.35.1 From dariobin at libero.it Mon Apr 25 14:42:13 2022 From: dariobin at libero.it (Dario Binacchi) Date: Mon, 25 Apr 2022 16:42:13 +0200 Subject: [Buildroot] [PATCH 2/2] package/libmnl: add myself to DEVELOPERS In-Reply-To: <20220425144213.3937-1-dariobin@libero.it> References: <20220425144213.3937-1-dariobin@libero.it> Message-ID: <20220425144213.3937-2-dariobin@libero.it> Add myself to DEVELOPERS as maintainer of libmnl. Signed-off-by: Dario Binacchi --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index 1bb90f8f33..4ddbf5d533 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -654,6 +654,7 @@ F: package/xinetd/ N: Dario Binacchi F: package/davinci-bootcount/ +F: package/libmnl/ N: David Bachelart F: package/ccrypt/ -- 2.17.1 From dariobin at libero.it Mon Apr 25 14:42:12 2022 From: dariobin at libero.it (Dario Binacchi) Date: Mon, 25 Apr 2022 16:42:12 +0200 Subject: [Buildroot] [PATCH 1/2] package/libmnl: bump to version 1.0.5 Message-ID: <20220425144213.3937-1-dariobin@libero.it> Signed-off-by: Dario Binacchi --- package/libmnl/libmnl.hash | 6 +++--- package/libmnl/libmnl.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libmnl/libmnl.hash b/package/libmnl/libmnl.hash index e5bb2fa603..b3665767f7 100644 --- a/package/libmnl/libmnl.hash +++ b/package/libmnl/libmnl.hash @@ -1,6 +1,6 @@ -# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.4.tar.bz2.{md5sum,sha1sum} -md5 be9b4b5328c6da1bda565ac5dffadb2d libmnl-1.0.4.tar.bz2 -sha1 2db40dea612e88c62fd321906be40ab5f8f1685a libmnl-1.0.4.tar.bz2 +# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.5.tar.bz2.{md5sum,sha1sum} +md5 0bbb70573119ec5d49435114583e7a49 libmnl-1.0.5.tar.bz2 +sha1 63c6456b77f7978a7b37e62c1b38346b2ef2d91c libmnl-1.0.5.tar.bz2 # Hash for license file: sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libmnl/libmnl.mk b/package/libmnl/libmnl.mk index d3b33db2e0..3361d05248 100644 --- a/package/libmnl/libmnl.mk +++ b/package/libmnl/libmnl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMNL_VERSION = 1.0.4 +LIBMNL_VERSION = 1.0.5 LIBMNL_SOURCE = libmnl-$(LIBMNL_VERSION).tar.bz2 LIBMNL_SITE = http://netfilter.org/projects/libmnl/files LIBMNL_INSTALL_STAGING = YES -- 2.17.1 From universeiii at gmx.de Mon Apr 25 15:40:59 2022 From: universeiii at gmx.de (Andreas Ehmanns) Date: Mon, 25 Apr 2022 17:40:59 +0200 Subject: [Buildroot] Enable missing security options for ISC dhcp server In-Reply-To: <20220128145103.3422-1-universeiii@gmx.de> References: <20220128145103.3422-1-universeiii@gmx.de> Message-ID: Dear all, I was trying to make the ISC dhcp daemon more secure by using the -user and -group option to let dhcp server run as non-root user. Unfortunately these options are not available when building ISC dhcp server with buildroot. The reason is, that the configure script must be called with the additional option --enable-paranoia to activate these options. But this option is not set in the dhcp.mk file. To be backward compatible I added a new option to the dhcp's Config.in to enable this feature when desired. If you are interested in this feature and can create a patch and send it this list to make the change available to all buildroot users. Let me know what you think. Below are some details. Regards, Andreas 1) Add this to Config.in: config BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA ??????? bool "Enable paranoia options" ??????? depends on BR2_PACKAGE_DHCP_SERVER ??????? help ????????? Add option --enable-paranoia to configure script. This activates ????????? additional server options (-user, -group and -chroot) to make dhcp server more secure. 2) And to dhcp.mk: ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) DHCP_CONF_OPTS += --enable-paranoia endif -------------- next part -------------- An HTML attachment was scrubbed... URL: From flaniel at linux.microsoft.com Mon Apr 25 16:43:17 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 25 Apr 2022 17:43:17 +0100 Subject: [Buildroot] [RFC PATCH v4 0/2] Bump sysdig to 0.29.1 Message-ID: <20220425164319.24788-1-flaniel@linux.microsoft.com> Hi. In this contribution, I bumped sysdig version to 0.29.1. Indeed, following this discussion [1], Arnout Vandecappelle noted sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses the open() syscall. To fix this, I bumped sysdig to 0.29.1. Sadly, some components of sysdig, like libsinsp, libscap and the kernel modules, were moved to falcosecurity/libs. So, I added the falcosecurity-libs package. A new patch was added to sysdig recipe to avoid compiling again falcosecurity-libs. Nonetheless, this patch is a bit big, so I prefered to keep the RFC tag to gather your opinion about it. I was nonetheless able to build and run sysdig with start-qemu.sh: Welcome to Buildroot buildroot login: root # scap: loading out-of-tree module taints kernel. scap: driver loading, scap 0.1.1dev scap: adding new consumer (____ptrval____) scap: initializing ring buffer for CPU 0 scap: CPU buffer initialized, size=8388608 scap: starting capture 2 14:29:14.500045202 0 (113) > switch next=10 pgft_maj=212 pgft_min=1175 vm_size=45204 vm_rss=18256 vm_swap=0 ... 97 14:29:14.514272929 0 (113) > switch next=114 pgft_maj=213 pgft_min=1180 vm_size=45204 vm_rss=18256 vm_swap= scap: deallocating consumer (____ptrval____) scap: no more consumers, stopping capture So, if you see a particular way to fix the problem I described above or any problem with this contribution, feel free to share it! Changes since: v3: - Make falcosecurity-libs a generic-package and a kernel-package. The generic-package will download us the libraries (libscap and libsinsp) which will be built by sysdig.mk. The kernel-package will build the kernel module. This permitted to simplify the overall contribution architecture by removing some patches. v2: - Add linux CONFIG_ option to execute falcosecurity-libs kernel module. - falcosecurity-libs driver name was set so sysdig automatically loads it. Francis Laniel (2): falcosecurity-libs: add new package package/sysdig: bump to 0.29.1 DEVELOPERS | 1 + package/Config.in | 1 + ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 ++++++++ package/falcosecurity-libs/Config.in | 38 +++++++++ .../falcosecurity-libs.hash | 5 ++ .../falcosecurity-libs/falcosecurity-libs.mk | 75 +++++++++++++++++ ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ package/sysdig/Config.in | 31 ++----- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 55 ++++++------- 13 files changed, 295 insertions(+), 188 deletions(-) create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch create mode 100644 package/falcosecurity-libs/Config.in create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch create mode 100644 package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch Best regards and thank you in advance. --- [1] https://marc.info/?l=buildroot&m=164951521629400 -- 2.25.1 From flaniel at linux.microsoft.com Mon Apr 25 16:43:18 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 25 Apr 2022 17:43:18 +0100 Subject: [Buildroot] [RFC PATCH v4 1/2] falcosecurity-libs: add new package In-Reply-To: <20220425164319.24788-1-flaniel@linux.microsoft.com> References: <20220425164319.24788-1-flaniel@linux.microsoft.com> Message-ID: <20220425164319.24788-2-flaniel@linux.microsoft.com> Signed-off-by: Francis Laniel --- DEVELOPERS | 1 + package/Config.in | 1 + ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 ++++++++ package/falcosecurity-libs/Config.in | 30 +++++++ .../falcosecurity-libs.hash | 5 ++ .../falcosecurity-libs/falcosecurity-libs.mk | 80 +++++++++++++++++++ 6 files changed, 151 insertions(+) create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch create mode 100644 package/falcosecurity-libs/Config.in create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..d45d3d2a7b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -969,6 +969,7 @@ F: package/ipmitool/ F: package/odhcploc/ N: Francis Laniel +F: package/falcosecurity-libs F: package/pahole/ F: package/sysdig/ F: package/tbb/ diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..3070094cc0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1935,6 +1935,7 @@ menu "Other" source "package/eigen/Config.in" source "package/elfutils/Config.in" source "package/ell/Config.in" + source "package/falcosecurity-libs/Config.in" source "package/fftw/Config.in" source "package/flann/Config.in" source "package/flatbuffers/Config.in" diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch new file mode 100644 index 0000000000..6141d8ef72 --- /dev/null +++ b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch @@ -0,0 +1,34 @@ +From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Tue, 12 Apr 2022 19:54:11 +0100 +Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN. + +This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with: +cmake -DGRPC_CPP_PLUGIN=/path + +Signed-off-by: Francis Laniel +--- + cmake/modules/grpc.cmake | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake +index e5fd16b8..9d8f5934 100644 +--- a/cmake/modules/grpc.cmake ++++ b/cmake/modules/grpc.cmake +@@ -12,9 +12,11 @@ elseif(NOT USE_BUNDLED_GRPC) + set(GRPCPP_LIB gRPC::grpc++) + + # gRPC C++ plugin +- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) + if(NOT GRPC_CPP_PLUGIN) +- message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) ++ if(NOT GRPC_CPP_PLUGIN) ++ message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ endif() + endif() + + # gRPC include dir + properly handle grpc{++,pp} +-- +2.25.1 + diff --git a/package/falcosecurity-libs/Config.in b/package/falcosecurity-libs/Config.in new file mode 100644 index 0000000000..e0b5a3d134 --- /dev/null +++ b/package/falcosecurity-libs/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_FALCOSECURITY_LIBS + bool + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_LINUX_KERNEL + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # jq, protobuf, tbb + depends on !BR2_STATIC_LIBS # protobuf, tbb + depends on BR2_TOOLCHAIN_USES_GLIBC # tbb + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC + select BR2_PACKAGE_GTEST + select BR2_PACKAGE_HOST_GRPC + select BR2_PACKAGE_HOST_PROTOBUF + select BR2_PACKAGE_JQ + select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_LIBB64 + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB + select BR2_PACKAGE_VALIJSON + select BR2_PACKAGE_ZLIB + help + falcosecurity/libs provides libsinsp, libscap, the kernel + module driver and the eBPF driver sources. + + https://github.com/falcosecurity/libs diff --git a/package/falcosecurity-libs/falcosecurity-libs.hash b/package/falcosecurity-libs/falcosecurity-libs.hash new file mode 100644 index 0000000000..7608c67590 --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.hash @@ -0,0 +1,5 @@ +# sha256 locally computed +sha256 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz +sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt +sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/falcosecurity-libs/falcosecurity-libs.mk b/package/falcosecurity-libs/falcosecurity-libs.mk new file mode 100644 index 0000000000..96c762f336 --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.mk @@ -0,0 +1,80 @@ +################################################################################ +# +# falcosecurity-libs +# +################################################################################ + +FALCOSECURITY_LIBS_VERSION = e5c53d648f3c4694385bbe488e7d47eaa36c229a +FALCOSECURITY_LIBS_SITE = $(call github,falcosecurity,libs,$(FALCOSECURITY_LIBS_VERSION)) +FALCOSECURITY_LIBS_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) +FALCOSECURITY_LIBS_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +FALCOSECURITY_LIBS_CPE_ID_VENDOR = falco +FALCOSECURITY_LIBS_SUPPORTS_IN_SOURCE_BUILD = NO + +FALCOSECURITY_LIBS_DEPENDENCIES = \ + c-ares \ + elfutils \ + grpc \ + gtest \ + host-grpc \ + host-protobuf \ + jq \ + jsoncpp \ + libb64 \ + libcurl \ + luainterpreter \ + openssl \ + protobuf \ + tbb \ + valijson \ + zlib + +FALCOSECURITY_LIBS_DRIVER_NAME = scap +FALCOSECURITY_LIBS_MODULE_SUBDIRS = driver +FALCOSECURITY_LIBS_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) + +# falcosecurity-libs module needs these two kernel options to be set: +# CONFIG_TRACEPOINTS +# CONFIG_HAVE_SYSCALL_TRACEPOINTS +# https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-from-the-Source-Code#linux-and-osx +# CONFIG_FTRACE and CONFIG_SCHED_TRACER selects CONFIG_GENERIC_TRACER which in +# turns select CONFIG_TRACING which in turns select CONFIG_TRACEPOINTS +define FALCOSECURITY_LIBS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE) + $(call KCONFIG_ENABLE_OPT,CONFIG_SCHED_TRACER) + $(call KCONFIG_ENABLE_OPT,CONFIG_HAVE_SYSCALL_TRACEPOINTS) +endef + +# falcosecurity-libs creates the module Makefile from a template, which contains +# a single place-holder, KBUILD_FLAGS, wich is only replaced with debug flags, +# which we don't care about here. +# So, just replace the place-holder with the only meaningful value: nothing. +# For the DRIVER_NAME, we set it to FALCOSECURITY_LIBS_DRIVER_NAME. +# So, when sysdig will be run, it will automatically load +# FALCOSECURITY_LIBS_DRIVER_NAME.ko. +# We also need to do the same process for driver_config.h.in. +# PPM_API_CURRENT_VERSION_* were take from driver/API_VERSION and +# PPM_SCHEMA_CURRENT_VERSION_* from driver/SCHEMA_VERSION. +# For the others, it was taken by inspecting +# falcosecurity-libs/*/CMakeLists.txt. +define FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile + $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile + $(SED) 's/@DRIVER_NAME@/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/Makefile + + $(INSTALL) -m 0644 $(@D)/driver/driver_config.h.in $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_VERSION}//;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_DEVICE_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${GIT_COMMIT}/0.1.1dev/;' $(@D)/driver/driver_config.h +endef +FALCOSECURITY_LIBS_POST_PATCH_HOOKS += FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + +$(eval $(kernel-module)) +$(eval $(generic-package)) -- 2.25.1 From flaniel at linux.microsoft.com Mon Apr 25 16:43:19 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 25 Apr 2022 17:43:19 +0100 Subject: [Buildroot] [RFC PATCH v4 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: <20220425164319.24788-1-flaniel@linux.microsoft.com> References: <20220425164319.24788-1-flaniel@linux.microsoft.com> Message-ID: <20220425164319.24788-3-flaniel@linux.microsoft.com> sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() syscall [1]. This patch bumps its version to enable cross-compilation. By doing so, we can remove the previous patches. But this commit introduces new patches. Indeed, libsinsp (lib system inspection), libscap (lib system capture) and the kernel module were moved to falcosecurity/libs. Sadly, it is not possible to compile sysdig with pre-compiled libs (like we do in buildroot). So, this contribution introduces a new patch to build sysdig with already built falcosecurity/libs. [1] https://marc.info/?l=buildroot&m=164951521629400 Signed-off-by: Francis Laniel --- ...BUNDLED_DEPS-before-getting-nlohmann.patch | 52 ++++++++++++ ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- package/sysdig/Config.in | 18 ++-- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 55 +++++-------- 6 files changed, 79 insertions(+), 179 deletions(-) create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch diff --git a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch new file mode 100644 index 0000000000..3521bd3f8d --- /dev/null +++ b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch @@ -0,0 +1,52 @@ +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 13 Apr 2022 18:01:11 +0100 +Subject: [PATCH] cmake: Check USE_BUNDLED_DEPS before getting + nlohmann-json. + +Upstream: https://github.com/draios/sysdig/pull/1869 +Signed-off-by: Francis Laniel +--- + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- + 1 file changed, 19 insertions(+), 10 deletions(-) + +diff --git a/cmake/modules/nlohmann-json.cmake b/cmake/modules/nlohmann-json.cmake +index bb1279d7..feb0f071 100644 +--- a/cmake/modules/nlohmann-json.cmake ++++ b/cmake/modules/nlohmann-json.cmake +@@ -16,13 +16,22 @@ + # limitations under the License. + # + +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") +-ExternalProject_Add( +- njson +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" +- URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" +- CONFIGURE_COMMAND "" +- BUILD_COMMAND "" +- INSTALL_COMMAND "") ++if(NOT USE_BUNDLED_DEPS) ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) ++ if(NJSON_INCLUDE_DIR) ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") ++ else() ++ message(FATAL_ERROR "Couldn't find system njson") ++ endif() ++else() ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") ++ ExternalProject_Add( ++ njson ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" ++ URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" ++ CONFIGURE_COMMAND "" ++ BUILD_COMMAND "" ++ INSTALL_COMMAND "") ++endif() +-- +2.25.1 + diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch deleted file mode 100644 index 7873210281..0000000000 --- a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch +++ /dev/null @@ -1,82 +0,0 @@ -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Wed, 6 Apr 2022 16:54:37 +0100 -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. - -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and -luaL_Reg. -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function -call as well. -Note that, this PATCH_COMMAND was added in sysdig in: -a064440394c9 ("Adding power support to Travis builds (#1566)") - -This patch is also present in kubernetes/minikube in: -f036c279bc59 ("Add patch for compiling sysdig with system luajit") - -Signed-off-by: Francis Laniel ---- - userspace/libsinsp/chisel.cpp | 6 +++--- - userspace/libsinsp/lua_parser.cpp | 2 +- - userspace/libsinsp/lua_parser_api.cpp | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp -index 0a6e3cf8..0c2e255a 100644 ---- a/userspace/libsinsp/chisel.cpp -+++ b/userspace/libsinsp/chisel.cpp -@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) - // Lua callbacks - /////////////////////////////////////////////////////////////////////////////// - #ifdef HAS_LUA_CHISELS --const static struct luaL_reg ll_sysdig [] = -+const static struct luaL_Reg ll_sysdig [] = - { - {"set_filter", &lua_cbacks::set_global_filter}, - {"set_snaplen", &lua_cbacks::set_snaplen}, -@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_chisel [] = -+const static struct luaL_Reg ll_chisel [] = - { - {"request_field", &lua_cbacks::request_field}, - {"set_filter", &lua_cbacks::set_filter}, -@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_evt [] = -+const static struct luaL_Reg ll_evt [] = - { - {"field", &lua_cbacks::field}, - {"get_num", &lua_cbacks::get_num}, -diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp -index 0e26617d..78810d96 100644 ---- a/userspace/libsinsp/lua_parser.cpp -+++ b/userspace/libsinsp/lua_parser.cpp -@@ -32,7 +32,7 @@ extern "C" { - #include "lauxlib.h" - } - --const static struct luaL_reg ll_filter [] = -+const static struct luaL_Reg ll_filter [] = - { - {"rel_expr", &lua_parser_cbacks::rel_expr}, - {"bool_op", &lua_parser_cbacks::bool_op}, -diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp -index c89e9126..c3d8008a 100644 ---- a/userspace/libsinsp/lua_parser_api.cpp -+++ b/userspace/libsinsp/lua_parser_api.cpp -@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) - string err = "Got non-table as in-expression operand\n"; - throw sinsp_exception("parser API error"); - } -- int n = luaL_getn(ls, 4); /* get size of table */ -+ int n = lua_objlen (ls, 4); /* get size of table */ - for (i=1; i<=n; i++) - { - lua_rawgeti(ls, 4, i); --- -2.25.1 - diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch deleted file mode 100644 index a9155fbb4a..0000000000 --- a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Thu, 7 Apr 2022 18:30:23 +0100 -Subject: [PATCH] Link against libabseil-cpp which grpc uses. - -This patch was taken from: -55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") [1] -from hhoffstaette/portage. - -[1] https://github.com/hhoffstaette/portage/blob/55c96b61f7b91e4d91bed6723e86c00dd91f8d16/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch - -Signed-off-by: Francis Laniel ---- - CMakeLists.txt | 1 + - userspace/libsinsp/CMakeLists.txt | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1f34f1d6..c0354b29 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) - else() - message(FATAL_ERROR "Couldn't find system grpc") - endif() -+ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) - find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) - if(NOT GRPC_CPP_PLUGIN) - message(FATAL_ERROR "System grpc_cpp_plugin not found") -diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt -index d72f9115..d1b7ea02 100644 ---- a/userspace/libsinsp/CMakeLists.txt -+++ b/userspace/libsinsp/CMakeLists.txt -@@ -214,6 +214,10 @@ if(NOT WIN32) - "${JQ_LIB}" - "${B64_LIB}") - -+ if(ABSL_SYNC_LIB) -+ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") -+ endif() -+ - if(NOT MUSL_OPTIMIZED_BUILD) - target_link_libraries(sinsp - rt --- -2.25.1 - diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index c124054105..392d858ac6 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -2,25 +2,17 @@ config BR2_PACKAGE_SYSDIG bool "sysdig" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb, yaml-cpp depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb depends on BR2_USE_WCHAR # elfutils depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_ELFUTILS - select BR2_PACKAGE_GRPC - select BR2_PACKAGE_JQ - select BR2_PACKAGE_JSONCPP - select BR2_PACKAGE_LIBB64 - select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_FALCOSECURITY_LIBS select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PROTOBUF - select BR2_PACKAGE_TBB - select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_JSON_FOR_MODERN_CPP + select BR2_PACKAGE_YAML_CPP help Sysdig is open source, system-level exploration: capture system state and activity from a running Linux @@ -36,4 +28,4 @@ comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic lib || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_USES_GLIBC \ - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 4ec46abfc3..380c9dce1e 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,5 +1,3 @@ # sha256 locally computed -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 9a9aaa35c3..3ce5d0bb79 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,10 +4,10 @@ # ################################################################################ -SYSDIG_VERSION = 0.27.1 +SYSDIG_VERSION = 0.29.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +SYSDIG_LICENSE = Apache-2.0 +SYSDIG_LICENSE_FILE = COPYING SYSDIG_CPE_ID_VENDOR = sysdig SYSDIG_CONF_OPTS = \ -DENABLE_DKMS=OFF \ @@ -16,39 +16,26 @@ SYSDIG_CONF_OPTS = \ SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ - c-ares \ - elfutils \ - grpc \ - jq \ - jsoncpp \ - libb64 \ - libcurl \ - luainterpreter \ + falcosecurity-libs \ ncurses \ - openssl \ - protobuf \ - tbb \ - zlib + json-for-modern-cpp \ + yaml-cpp -# sysdig creates the module Makefile from a template, which contains a -# single place-holder, KBUILD_FLAGS, wich is only replaced with two -# things: -# - debug flags, which we don't care about here, -# - 'sysdig-feature' flags, which are never set, so always empty -# So, just replace the place-holder with the only meaningful value: nothing. -define SYSDIG_MODULE_GEN_MAKEFILE - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile -endef -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE +# For sysdig to automatically loads the driver, SYSDIG_DRIVER_NAME should be +# the same than FALCOSECURITY_LIBS_DRIVER_NAME. +SYSDIG_DRIVER_NAME = scap -# Don't build the driver as part of the 'standard' procedure, we'll -# build it on our own with the kernel-module infra. -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF - -SYSDIG_MODULE_SUBDIRS = driver -SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) +# Don't build the driver as part of the 'standard' procedure, it has been built +# by falcosecurity-libs.mk. +# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host +# one there. +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(FALCOSECURITY_LIBS_SRCDIR) \ + -DBUILD_DRIVER=OFF \ + -DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin \ + -DDRIVER_NAME=$(SYSDIG_DRIVER_NAME) \ + -DENABLE_DKMS=OFF \ + -DUSE_BUNDLED_DEPS=OFF \ + -DWITH_CHISEL=ON \ + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson -$(eval $(kernel-module)) $(eval $(cmake-package)) -- 2.25.1 From flaniel at linux.microsoft.com Mon Apr 25 16:46:26 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 25 Apr 2022 17:46:26 +0100 Subject: [Buildroot] [RFC PATCH v3 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: References: <20220422143134.28561-1-flaniel@linux.microsoft.com> <20220422143134.28561-3-flaniel@linux.microsoft.com> Message-ID: <5815204.lOV4Wx5bFT@pwmachine> Le vendredi 22 avril 2022, 23:48:43 BST Arnout Vandecappelle a ?crit : > Hi Francis, Hi! > Thanks for continuing to work on this! You are welcome! > On 22/04/2022 16:31, Francis Laniel wrote: > > sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses > > open() syscall [1]. > > This patch bumps its version to enable cross-compilation. > > > > By doing so, we can remove the previous patches. > > But this commit introduces new patches. > > Indeed, libsinsp (lib system inspection), libscap (lib system capture) and > > the kernel module were moved to falcosecurity/libs. > > Sadly, it is not possible to compile sysdig with pre-compiled libs (like > > we do in buildroot). > > So, this contribution introduces a new patch to build sysdig with already > > built falcosecurity/libs. > > > > [1] https://marc.info/?l=buildroot&m=164951521629400 > > > > Signed-off-by: Francis Laniel > > --- > > > > ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ > > ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- > > ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- > > ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ > > package/sysdig/Config.in | 31 ++----- > > package/sysdig/sysdig.hash | 4 +- > > package/sysdig/sysdig.mk | 55 ++++++------- > > 7 files changed, 141 insertions(+), 188 deletions(-) > > create mode 100644 > > package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohman > > n.patch delete mode 100644 > > package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch delete mode 100644 > > package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > create mode 100644 > > package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch> > > diff --git > > a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohman > > n.patch > > b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohman > > n.patch new file mode 100644 > > index 0000000000..29f03b1b61 > > --- /dev/null > > +++ > > b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohman > > n.patch @@ -0,0 +1,51 @@ > > +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Wed, 13 Apr 2022 18:01:11 +0100 > > +Subject: [PATCH 1/2] cmake: Check USE_BUNDLED_DEPS before getting > > There should be no N/M in patches. check-package reports this. > > > + nlohmann-json. > > + > > +Signed-off-by: Francis Laniel > > Please send your patches upstream (i.e. create a merge request on the > sysdig project) before even sending it to Buildroot, and add > > Upstream: https://github.com/... > > to the patch you submit to Buildroot. > > This way, it's easier to find if the patch can be removed when the package > version is bumped. > > Also, for reviewing, it allows us to check if upstream has any comments on > the patch. Upstream generally has a better idea of how things are supposed > to work than we do. And if they end up committing an alternative approach, > we can simply pick that one (while committing) instead of the one you > submitted. > > +--- > > + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- > > + 1 file changed, 19 insertions(+), 10 deletions(-) > > + > > +diff --git a/cmake/modules/nlohmann-json.cmake > > b/cmake/modules/nlohmann-json.cmake +index bb1279d7..feb0f071 100644 > > +--- a/cmake/modules/nlohmann-json.cmake > > ++++ b/cmake/modules/nlohmann-json.cmake > > +@@ -16,13 +16,22 @@ > > + # limitations under the License. > > + # > > + > > +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") > > +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") > > +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") > > +-ExternalProject_Add( > > +- njson > > +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" > > +- URL_HASH > > "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" > > +- CONFIGURE_COMMAND "" > > +- BUILD_COMMAND "" > > +- INSTALL_COMMAND "") > > ++if(NOT USE_BUNDLED_DEPS) > > ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) > > ++ if(NJSON_INCLUDE_DIR) > > ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") > > ++ else() > > ++ message(FATAL_ERROR "Couldn't find system njson") > > ++ endif() > > ++else() > > ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") > > ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") > > ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") > > ++ ExternalProject_Add( > > ++ njson > > ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" > > ++ URL_HASH > > "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" > > ++ CONFIGURE_COMMAND "" > > ++ BUILD_COMMAND "" > > ++ INSTALL_COMMAND "") > > ++endif() > > +-- > > +2.25.1 > > + > > diff --git > > a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch > > b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch deleted file mode 100644 > > index 7873210281..0000000000 > > --- > > a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch +++ /dev/null > > @@ -1,82 +0,0 @@ > > -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 > > -From: Francis Laniel > > -Date: Wed, 6 Apr 2022 16:54:37 +0100 > > -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and > > function. - > > -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and > > -luaL_Reg. > > -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua > > function -call as well. > > -Note that, this PATCH_COMMAND was added in sysdig in: > > -a064440394c9 ("Adding power support to Travis builds (#1566)") > > - > > -This patch is also present in kubernetes/minikube in: > > -f036c279bc59 ("Add patch for compiling sysdig with system luajit") > > You didn't apply this patch to falcosecurity-libs. Is it no longer needed > there? I normally took into account all your comments in v4 I just sent. I just wanted to precise here that the patch regarding luajit is indeed no more needed in falcosecurity-libs because they use luaL_Reg. > [snip] > > > diff --git > > a/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > > b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch new > > file mode 100644 > > index 0000000000..30601c2430 > > --- /dev/null > > +++ b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > > @@ -0,0 +1,59 @@ > > +From e681028c5567582f9c66cf2b11234ab3a1cacc73 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Fri, 15 Apr 2022 14:17:48 +0100 > > +Subject: [PATCH 2/2] cmake: Add libsinsp.a as IMPORTED library. > > + > > +libsinsp.a is created by falcosecurity/libs which is downloaded while > > building +sysdig. > > + > > +In buildroot, we do not want to depend of external download. > > +This patch adds libsinsp.a as IMPORTER library and links all its > > dependencies +against it. > > + > > +Signed-off-by: Francis Laniel > > +--- > > + userspace/sysdig/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ > > + 1 file changed, 28 insertions(+) > > + > > +diff --git a/userspace/sysdig/CMakeLists.txt > > b/userspace/sysdig/CMakeLists.txt +index 401d65e3..ef339b71 100644 > > +--- a/userspace/sysdig/CMakeLists.txt > > ++++ b/userspace/sysdig/CMakeLists.txt > > +@@ -86,6 +86,34 @@ target_include_directories( > > + if(NOT WIN32) > > + include_directories(${PROJECT_BINARY_DIR}/driver/src) > > + > > ++ if(SCAP_STATIC_LIBRARY_PATH AND SINSP_STATIC_LIBRARY_PATH) > > If you add new CMake variables, use the SET command to define them and > give them a help text. > > However, is it necessary to set them? Can't you just use find_library to > find them in the sysroot? It's basically the same approach as for finding > the JSON library in the other patch. > > Except... Apparently falcosecurity-libs doesn't actually install its > stuff. It really is meant to be used as a submodule. > > OK, it looks like this is really trying to fight upstream too much. So > then it's probably better to revert to your earlier proposal: turn > falcosecurity-libs into a generic package that just downloads stuff and > doesn't install, and do the build from the sysdig build. I think, since > it's not using in-tree build, that it doesn't even write anything in the > falcosecurity-libs source directory, right? So the ugliness is rather > limited... > > > ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) > > ++ find_library(B64_LIB NAMES b64) > > ++ find_library(CARES_LIB NAMES cares) > > ++ find_library(ELF_LIB NAMES elf) > > ++ find_library(GTEST_LIB NAMES gtest) > > ++ find_library(JQ_LIB NAMES jq) > > ++ find_library(JSONCPP_LIB NAMES jsoncpp) > > ++ find_library(LUAJIT_LIB NAMES luajit luajit-5.1) > > ++ find_library(PROTOBUF_LIB NAMES protobuf) > > ++ find_library(TBB_LIB NAMES tbb) > > ++ find_library(ZLIB_LIB NAMES z) > > ++ > > ++ find_package(CURL REQUIRED) > > ++ find_package(gRPC REQUIRED) > > ++ find_package(OpenSSL REQUIRED) > > ++ > > ++ set(GPR_LIB gRPC::gpr) > > ++ set(GRPC_LIB gRPC::grpc) > > ++ set(GRPCPP_LIB gRPC::grpc++) > > ++ > > ++ add_library(sinsp STATIC IMPORTED) > > ++ set_target_properties(sinsp PROPERTIES > > ++ IMPORTED_LOCATION "${SINSP_STATIC_LIBRARY_PATH}" > > ++ INTERFACE_LINK_LIBRARIES > > "${ABSL_SYNC_LIB};${B64_LIB};${CARES_LIB};${CURL_LIBRARIES};${ELF_LIB};${ > > GPR_LIB};${GRPC_LIB};${GRPCPP_LIB};${GTEST_LIB};${JQ_LIB};${JSONCPP_LIB};$ > > {LUAJIT_LIB};${OPENSSL_LIBRARIES};${PROTOBUF_LIB};${TBB_LIB};${SCAP_STATIC > > _LIBRARY_PATH};${ZLIB_LIB}" ++ ) > > ++ endif() > > ++ > > + target_link_libraries(sysdig > > + sinsp > > + "${YAMLCPP_LIB}") > > +-- > > +2.25.1 > > + > > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > > index c124054105..e00516a2b5 100644 > > --- a/package/sysdig/Config.in > > +++ b/package/sysdig/Config.in > > @@ -1,26 +1,11 @@ > > > > config BR2_PACKAGE_SYSDIG > > > > bool "sysdig" > > > > - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf > > > > depends on BR2_LINUX_KERNEL > > > > - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb > > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf > > - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb > > - depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb > > - depends on BR2_USE_WCHAR # elfutils > > - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils > > - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > > All these dependencies should still stay, they just become indirect > dependencies. > > Except, if you don't do any actual build of falcosecurity-libs and only do > it in sysdig, then all these dependencies and selects should also stay in > sysdig. > > Also, you should not make falcosecurity-libs a user-selectable option in > that case. It still would need a Config.in entry, but without prompt. > > > - select BR2_PACKAGE_C_ARES > - select BR2_PACKAGE_ELFUTILS > > - select BR2_PACKAGE_GRPC > > - select BR2_PACKAGE_JQ > > - select BR2_PACKAGE_JSONCPP > > - select BR2_PACKAGE_LIBB64 > > - select BR2_PACKAGE_LIBCURL > > + depends on BR2_INSTALL_LIBSTDCPP # yaml-cpp > > + select BR2_PACKAGE_FALCOSECURITY_LIBS > > > > select BR2_PACKAGE_NCURSES > > > > - select BR2_PACKAGE_OPENSSL > > - select BR2_PACKAGE_PROTOBUF > > - select BR2_PACKAGE_TBB > > - select BR2_PACKAGE_ZLIB > > + select BR2_PACKAGE_JSON_FOR_MODERN_CPP > > + select BR2_PACKAGE_YAML_CPP > > > > help > > > > Sysdig is open source, system-level exploration: > > capture system state and activity from a running Linux > > > > @@ -30,10 +15,6 @@ config BR2_PACKAGE_SYSDIG > > > > https://github.com/draios/sysdig/wiki > > > > -comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, > > dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" > > - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > > +comment "sysdig needs a toolchain w/ C++, a Linux kernel and luajit or > > lua 5.1 to be built"> > > depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ > > > > - || !BR2_TOOLCHAIN_HAS_THREADS \ > > - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ > > - || !BR2_TOOLCHAIN_USES_GLIBC \ > > - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > > + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > > index 4ec46abfc3..380c9dce1e 100644 > > --- a/package/sysdig/sysdig.hash > > +++ b/package/sysdig/sysdig.hash > > @@ -1,5 +1,3 @@ > > > > # sha256 locally computed > > > > -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda > > sysdig-0.27.1.tar.gz +sha256 > > 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e > > sysdig-0.29.1.tar.gz> > > sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 > > COPYING> > > -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 > > driver/GPL2.txt -sha256 > > e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed > > driver/MIT.txt diff --git a/package/sysdig/sysdig.mk > > b/package/sysdig/sysdig.mk > > index 9a9aaa35c3..c6487c2337 100644 > > --- a/package/sysdig/sysdig.mk > > +++ b/package/sysdig/sysdig.mk > > @@ -4,10 +4,10 @@ > > > > # > > ######################################################################## > > ########> > > -SYSDIG_VERSION = 0.27.1 > > +SYSDIG_VERSION = 0.29.1 > > > > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > > > > -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) > > -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt > > +SYSDIG_LICENSE = Apache-2.0 > > +SYSDIG_LICENSE_FILE = COPYING > > > > SYSDIG_CPE_ID_VENDOR = sysdig > > SYSDIG_CONF_OPTS = \ > > > > -DENABLE_DKMS=OFF \ > > > > @@ -16,39 +16,32 @@ SYSDIG_CONF_OPTS = \ > > > > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > > > SYSDIG_DEPENDENCIES = \ > > > > - c-ares \ > > - elfutils \ > > - grpc \ > > - jq \ > > - jsoncpp \ > > - libb64 \ > > - libcurl \ > > - luainterpreter \ > > + falcosecurity-libs \ > > > > ncurses \ > > > > - openssl \ > > - protobuf \ > > - tbb \ > > - zlib > > + json-for-modern-cpp \ > > + yaml-cpp > > > > -# sysdig creates the module Makefile from a template, which contains a > > -# single place-holder, KBUILD_FLAGS, wich is only replaced with two > > -# things: > > -# - debug flags, which we don't care about here, > > -# - 'sysdig-feature' flags, which are never set, so always empty > > -# So, just replace the place-holder with the only meaningful value: > > nothing. -define SYSDIG_MODULE_GEN_MAKEFILE > > - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile > > - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile > > - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile > > -endef > > -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE > > +# We need to set all these variables to avoid compiling > > falcosecurity-libs > > +# twice. > > +SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR=$(BUILD_DIR)/falcosecurity-libs-e5c5 > > 3d648f3c4694385bbe488e7d47eaa36c229a > Put spaces around assignments. Doesn't check-package warn about this? > > Also, use $(FALCOSECURITY_LIBS_SRCDIR) instead of reconstructing it. And > with that, there's actually no need to introduce a variable for it. In > fact, I don't see the point for any of the variables defined below, they > only obfuscate what is going on. > > > +SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR=$(SYSDIG_FALCOSECURITY_LIBS_S > > OURCE_DIR)/buildroot-build/driver/src > > +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS > > _SOURCE_DIR)/userspace/libscap > > +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIB > > S_SOURCE_DIR)/userspace/libsinsp > > +SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_ > > SOURCE_DIR)/userspace/chisel > > +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY > > _LIBS_SOURCE_DIR)/buildroot-build/libscap/libscap.a > > +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURIT > > Y_LIBS_SOURCE_DIR)/buildroot-build/libsinsp/libsinsp.a > > > > -# Don't build the driver as part of the 'standard' procedure, we'll > > -# build it on our own with the kernel-module infra. > > -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF > > +# SCAP_STATIC_LIBRARY_PATH and SINSP_STATIC_LIBRARY_PATH were added by > > patch. +SYSDIG_CONF_OPTS += > > -DFALCOSECURITY_LIBS_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR) \ > Small nit: if you have a multiline assignment, split it like this: > > SYSDIG_CONF_OPTS += \ > -D... > > Also, there's already a SYSDIG_CONF_OPTS assignment above, and both are > unconditional. Merge them. Yes, I know this was already wrong before. > > > + -DHAVE_LIBSCAP=On \ > > We use ON and OFF for CMake. Doesn't make a difference, but it's nice if > things are consistent. > > Regards, > Arnout > > > + -DLIBSCAP_INCLUDE_DIRS="$ (SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR); > > $(SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR)" \ + -DHAVE_LIBSINSP=On \ > > + -DLIBSINSP_INCLUDE_DIRS="$ (SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR > > );$(SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR)" \ > > + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson \ > > + -DSCAP_STATIC_LIBRARY_PATH=$ (SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LI > > B_PATH) \ > > + -DSINSP_STATIC_LIBRARY_PATH=$ (SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC > > _LIB_PATH)> > > SYSDIG_MODULE_SUBDIRS = driver > > SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) > > > > -$(eval $(kernel-module)) > > > > $(eval $(cmake-package)) Best regards. From arnout at mind.be Mon Apr 25 18:41:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 20:41:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/{mesa3d, mesa3d-headers}: bump version to 22.0.2 In-Reply-To: <20220422174132.663076-1-bernd.kuhls@t-online.de> References: <20220422174132.663076-1-bernd.kuhls@t-online.de> Message-ID: On 22/04/2022 19:41, Bernd Kuhls wrote: > Release notes: > https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html > https://lists.freedesktop.org/archives/mesa-announce/2022-March/000667.html > https://lists.freedesktop.org/archives/mesa-announce/2022-March/000665.html > https://www.phoronix.com/scan.php?page=news_item&px=Mesa-22.0-Released > > Upstream removed all DRI-based drivers: > https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Classic-Retired Oh, nice, this simplifies the Config.in quite a lot! [snip] > diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash > index 5b74e14fef..6f06c85760 100644 > --- a/package/mesa3d/mesa3d.hash > +++ b/package/mesa3d/mesa3d.hash > @@ -1,6 +1,6 @@ > -# From https://lists.freedesktop.org/archives/mesa-announce/2022-March/000666.html > -sha256 e70d273bdc53a4e931871bb5550ba3900e6a3deab2fff64184107c33e92d9da7 mesa-21.3.8.tar.xz > -sha512 0462c44fa8e358dafd03088411452bc172a365902795b3198df1e6cfbf1d87675ef5b72b572de7f15e5ee87b30ce5b2f217c81ea72b376962f6428c6ff83f2e9 mesa-21.3.8.tar.xz > +# From https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html > +sha256 df4fa560dcce6680133067cd15b0505fc424ca703244ce9ab247c74d2fab6885 mesa-22.0.2.tar.xz > +sha512 939ddf9acd280e1b20b3540349b3ad07bbeee5d821198f1d667e86634449bf5d0a0df5832753b8b3f8816709c2f02959cce25f3d26a33cc758dd8e25d158ddb8 mesa-22.0.2.tar.xz > > # License > -sha256 998437f3f75f0c542046f83c1cb349408122268168fb13eb4ae6967aa18b7d98 docs/license.rst > +sha256 4bc15d14dcc134b024cbdca3b5330010136ce8a427b6f8353440ce2ad7aab037 docs/license.rst If the license file hash changes, you must explain in the commit message what changed about it (in particular, if any additional licenses have been added or removed, or if it's just a copyright year update). [snip] > diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in > index c42255f55c..14c36930d5 100644 > --- a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in > +++ b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in > @@ -1,7 +1,6 @@ > config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU > bool "xf86-video-amdgpu" > depends on BR2_USE_MMU # libdrm > - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER > depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm So this used to require a DRI driver, now it only requires GBM? BTW the dependency was probably already wrong (should have been on MESA3D_GBM). Please explain why this is correct in the commit message. Or remove the package entirely if it doesn't actually work. Same with a bunch of other legacy X video drivers below. > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_LIBDRM_AMDGPU > @@ -13,5 +12,4 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU > > comment "xf86-video-amdgpu needs egl/opengl support from mesa3d" > depends on BR2_USE_MMU > - depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ > - !BR2_PACKAGE_MESA3D_DRI_DRIVER > + depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL > diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in > index 1246014dca..090e00dad5 100644 > --- a/package/x11r7/xdriver_xf86-video-ati/Config.in > +++ b/package/x11r7/xdriver_xf86-video-ati/Config.in > @@ -4,7 +4,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI > depends on BR2_PACKAGE_MESA3D > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_LIBDRM_RADEON > - select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON > select BR2_PACKAGE_XLIB_LIBXCOMPOSITE > select BR2_PACKAGE_XORGPROTO > help > diff --git a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in > index 13cee14deb..5f6e2bdf77 100644 > --- a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in > +++ b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in > @@ -4,7 +4,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV > depends on BR2_PACKAGE_IMX_GPU_G2D > depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d > select BR2_PACKAGE_MESA3D # Needed in order to compile xorg with glx/dri > - select BR2_PACKAGE_MESA3D_DRI_DRIVER > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_XORGPROTO > help > diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk > index d911234c92..03b4221e57 100644 > --- a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk > +++ b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk > @@ -31,12 +31,4 @@ XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \ > xorgproto \ > xserver_xorg-server > > -# X.org server support for DRI depends on a Mesa3D DRI driver > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y) > -XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \ > - --enable-dri2 \ > - --enable-dri3 \ > - --enable-uxa > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk b/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk > index eee8fec2e8..bc7b347eac 100644 > --- a/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk > +++ b/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk > @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_MACH64_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_MACH64_AUTORECONF = YES > XDRIVER_XF86_VIDEO_MACH64_DEPENDENCIES = xserver_xorg-server xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS += --disable-dri Shouldn't this just be an unconditional --disable-dri? Please explain why not. Same below. Marked as Changes Requested. Regards, Arnout > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk b/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk > index 3c668a5c98..96ca5e0578 100644 > --- a/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk > +++ b/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk > @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_MGA_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_MGA_AUTORECONF = YES > XDRIVER_XF86_VIDEO_MGA_DEPENDENCIES = xserver_xorg-server libdrm xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_MGA_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-nouveau/Config.in b/package/x11r7/xdriver_xf86-video-nouveau/Config.in > index c9fd2e3d2f..a68f85c781 100644 > --- a/package/x11r7/xdriver_xf86-video-nouveau/Config.in > +++ b/package/x11r7/xdriver_xf86-video-nouveau/Config.in > @@ -1,7 +1,6 @@ > config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU > bool "xf86-video-nouveau" > depends on BR2_PACKAGE_MESA3D > - select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_LIBDRM_NOUVEAU > select BR2_PACKAGE_XORGPROTO > diff --git a/package/x11r7/xdriver_xf86-video-openchrome/Config.in b/package/x11r7/xdriver_xf86-video-openchrome/Config.in > index a93d14376b..6b2e236f00 100644 > --- a/package/x11r7/xdriver_xf86-video-openchrome/Config.in > +++ b/package/x11r7/xdriver_xf86-video-openchrome/Config.in > @@ -1,6 +1,5 @@ > config BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME > bool "xf86-video-openchrome" > - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_XLIB_LIBX11 > select BR2_PACKAGE_XLIB_LIBXCOMPOSITE > @@ -11,6 +10,3 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME > VIA/S3G UniChrome and UniChrome Pro graphics chipsets. > > https://www.freedesktop.org/wiki/Openchrome/ > - > -comment "xf86-video-openchrome needs a DRI driver from mesa3d" > - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER > diff --git a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk > index 690041d4c6..51435c9389 100644 > --- a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk > +++ b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk > @@ -11,8 +11,4 @@ XDRIVER_XF86_VIDEO_R128_LICENSE = MIT > XDRIVER_XF86_VIDEO_R128_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_R128_DEPENDENCIES = xserver_xorg-server xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_R128_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk b/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk > index 102aa2c48e..2306c14915 100644 > --- a/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk > +++ b/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk > @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES > XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk > index f96b0a9d0e..e05573de1f 100644 > --- a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk > +++ b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk > @@ -11,8 +11,4 @@ XDRIVER_XF86_VIDEO_SIS_LICENSE = MIT > XDRIVER_XF86_VIDEO_SIS_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_SIS_DEPENDENCIES = xserver_xorg-server libdrm xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_SIS_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk b/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk > index 14c40e4d89..b9e57705ae 100644 > --- a/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk > +++ b/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk > @@ -15,8 +15,4 @@ XDRIVER_XF86_VIDEO_TDFX_DEPENDENCIES = \ > xorgproto \ > xserver_xorg-server > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_TDFX_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) From arnout at mind.be Mon Apr 25 19:02:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:02:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/sam-ba: update link In-Reply-To: References: Message-ID: <6d0814d7-69a9-e16a-8087-faa0d85b6a51@mind.be> On 22/04/2022 09:06, Lang Daniel via buildroot wrote: > The link to at91.com is outdated and redirects to linux4sam.org > > Signed-off-by: Daniel Lang Applied to master, thanks. Regards, Arnout > --- > package/sam-ba/Config.in.host | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/sam-ba/Config.in.host b/package/sam-ba/Config.in.host > index b96e377e79..1967f33ab3 100644 > --- a/package/sam-ba/Config.in.host > +++ b/package/sam-ba/Config.in.host > @@ -7,5 +7,5 @@ config BR2_PACKAGE_HOST_SAM_BA > programming the Atmel SAM3, SAM7 and SAM9 ARM-based > microcontrollers. > > - http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools > + https://www.linux4sam.org/bin/view/Linux4SAM/SoftwareTools > https://www.microchip.com/en-us/development-tool/SAM-BA-IN-SYSTEM-PROGRAMMER From arnout at mind.be Mon Apr 25 19:03:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:03:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: bump version to 6.17.0 In-Reply-To: <20220422071643.60273-1-bernd.kuhls@t-online.de> References: <20220422071643.60273-1-bernd.kuhls@t-online.de> Message-ID: <0fe99444-c94e-0fec-ac3f-4ade3d7035b8@mind.be> On 22/04/2022 09:16, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/xmrig/xmrig.hash | 2 +- > package/xmrig/xmrig.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/xmrig/xmrig.hash b/package/xmrig/xmrig.hash > index ff5f80a67b..7863c0319d 100644 > --- a/package/xmrig/xmrig.hash > +++ b/package/xmrig/xmrig.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 245ba47a6b8ae8e9a9df1c055e90f22f944a7d1219416cb30268881d0c0d377b xmrig-6.16.4.tar.gz > +sha256 748a989390202ba2d1ccbd9d9a6b8cbd6551149cbab63b347fd1ed6df0254faa xmrig-6.17.0.tar.gz > sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE > diff --git a/package/xmrig/xmrig.mk b/package/xmrig/xmrig.mk > index 1feab499fc..6e21e550a4 100644 > --- a/package/xmrig/xmrig.mk > +++ b/package/xmrig/xmrig.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -XMRIG_VERSION = 6.16.4 > +XMRIG_VERSION = 6.17.0 > XMRIG_SITE = $(call github,xmrig,xmrig,v$(XMRIG_VERSION)) > XMRIG_LICENSE = GPL-3.0+ > XMRIG_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 25 19:03:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:03:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-peripheral-xarcade: bump version to 19.0.3-Matrix In-Reply-To: <20220422173415.662392-1-bernd.kuhls@t-online.de> References: <20220422173415.662392-1-bernd.kuhls@t-online.de> Message-ID: <8d52be71-ea3b-e704-7e50-cc2434160758@mind.be> On 22/04/2022 19:34, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash | 2 +- > package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash > index 5cb774fe26..3ceabd4759 100644 > --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash > +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 27f592e07c788067c97f7bbcac8a2c6803954730e6f0f66f2047a1d939e6648d kodi-peripheral-xarcade-19.0.1-Matrix.tar.gz > +sha256 589b5355bf9b0b5183ecf2d93a4a80ca1ae317a9fdf4efb9c14eb7114b4ec13a kodi-peripheral-xarcade-19.0.3-Matrix.tar.gz > sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md > diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk > index fd8b1af38c..ef3cc6fef1 100644 > --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk > +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_PERIPHERAL_XARCADE_VERSION = 19.0.1-Matrix > +KODI_PERIPHERAL_XARCADE_VERSION = 19.0.3-Matrix > KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) > KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ > KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md From arnout at mind.be Mon Apr 25 19:04:08 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:04:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-skin-confluence: bump version In-Reply-To: <20220422073244.63829-1-bernd.kuhls@t-online.de> References: <20220422073244.63829-1-bernd.kuhls@t-online.de> Message-ID: <64215008-0628-0a54-5110-efcab8831d98@mind.be> On 22/04/2022 09:32, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/kodi-skin-confluence/kodi-skin-confluence.hash | 2 +- > package/kodi-skin-confluence/kodi-skin-confluence.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.hash b/package/kodi-skin-confluence/kodi-skin-confluence.hash > index e3d1ff73f4..c840e5b161 100644 > --- a/package/kodi-skin-confluence/kodi-skin-confluence.hash > +++ b/package/kodi-skin-confluence/kodi-skin-confluence.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 49ba4dcf4b512ac0a97bd1a4ebf14685d294d89a7a07c26ddda0fe730c8aa047 kodi-skin-confluence-37a196cdb58c0da87b5b22b047a5d44dc447f1ae.tar.gz > +sha256 c57b9a303ad1ebf14ad487901e5da15eba7b3a40304046974fad1d64fb7b8b57 kodi-skin-confluence-e6d31bc84eea73a04b2a23358929d5276be832b8.tar.gz > sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.txt > diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.mk b/package/kodi-skin-confluence/kodi-skin-confluence.mk > index fcae506d1e..c32718fd10 100644 > --- a/package/kodi-skin-confluence/kodi-skin-confluence.mk > +++ b/package/kodi-skin-confluence/kodi-skin-confluence.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_SKIN_CONFLUENCE_VERSION = 37a196cdb58c0da87b5b22b047a5d44dc447f1ae > +KODI_SKIN_CONFLUENCE_VERSION = e6d31bc84eea73a04b2a23358929d5276be832b8 > KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION)) > KODI_SKIN_CONFLUENCE_LICENSE = GPL-2.0 > KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt From arnout at mind.be Mon Apr 25 19:04:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:04:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/adwaita-icon-theme: needs host gcc >= 4.9 In-Reply-To: <20220422074456.4104082-1-fontaine.fabrice@gmail.com> References: <20220422074456.4104082-1-fontaine.fabrice@gmail.com> Message-ID: <54846226-f77f-c135-a8f3-0975a9ec7ec5@mind.be> On 22/04/2022 09:44, Fabrice Fontaine wrote: > Fix the following build failure raised since bump of harfbuzz to version > 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: > > In file included from ../src/hb.hh:473:0, > from ../src/hb-buffer-verify.cc:27: > ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' > hb_enable_if (std::is_trivially_copy_assignable::value)> > ^ > > Fixes: > - http://autobuild.buildroot.org/results/bbc48cb5232c617d4ff1d0bafd63bb3c9c72d556 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Note: you already sent this patch in December but somehow it got lost. Regards, Arnout > --- > package/adwaita-icon-theme/Config.in | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/adwaita-icon-theme/Config.in b/package/adwaita-icon-theme/Config.in > index d200570e76..71b839d996 100644 > --- a/package/adwaita-icon-theme/Config.in > +++ b/package/adwaita-icon-theme/Config.in > @@ -1,5 +1,10 @@ > config BR2_PACKAGE_ADWAITA_ICON_THEME > bool "adwaita icon theme" > depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 > + # host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz > + depends on BR2_HOST_GCC_AT_LEAST_4_9 > help > Adwaita icon theme > + > +comment "adwaita icon theme needs host gcc >= 4.9" > + depends on !BR2_HOST_GCC_AT_LEAST_4_9 From b.bilas at grinn-global.com Mon Apr 25 19:04:55 2022 From: b.bilas at grinn-global.com (Bartosz Bilas) Date: Mon, 25 Apr 2022 21:04:55 +0200 Subject: [Buildroot] [PATCH] package/python-esptool: bump version to 3.3 Message-ID: <20220425190455.543451-1-b.bilas@grinn-global.com> Signed-off-by: Bartosz Bilas --- package/python-esptool/python-esptool.hash | 4 ++-- package/python-esptool/python-esptool.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-esptool/python-esptool.hash b/package/python-esptool/python-esptool.hash index a916f9a09a..3ca5b211ee 100644 --- a/package/python-esptool/python-esptool.hash +++ b/package/python-esptool/python-esptool.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/esptool/json -md5 84aa6ffb4723b1f59a2c83244a9ad918 esptool-3.2.tar.gz -sha256 9638ff11c68e621e08e7c3335d4fd9d70b2ddcf7caae778073cd8cc27be1216f esptool-3.2.tar.gz +md5 ac499eaa99df9b536a98a6f99644f8f6 esptool-3.3.tar.gz +sha256 39b92e1848e352183188f149f3e876cde4b8a1c095551e7e545a28e5c11eea13 esptool-3.3.tar.gz # Locally computed sha256 checksums sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/python-esptool/python-esptool.mk b/package/python-esptool/python-esptool.mk index 77291e252b..28b5075e72 100644 --- a/package/python-esptool/python-esptool.mk +++ b/package/python-esptool/python-esptool.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ESPTOOL_VERSION = 3.2 +PYTHON_ESPTOOL_VERSION = 3.3 PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz -PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/60/a4/33907f5b735f9179061bd6b6cae7123d4a2d0cdf46c879fa55e66edef24f +PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/63/85/1a7f65d3f89c112c721c6ec013ecd948112df17640e453ddeb1921b05aab PYTHON_ESPTOOL_SETUP_TYPE = setuptools PYTHON_ESPTOOL_LICENSE = GPL-2.0+ PYTHON_ESPTOOL_LICENSE_FILES = LICENSE -- 2.36.0 From b.bilas at grinn-global.com Mon Apr 25 19:05:06 2022 From: b.bilas at grinn-global.com (Bartosz Bilas) Date: Mon, 25 Apr 2022 21:05:06 +0200 Subject: [Buildroot] [PATCH] boot/barebox: bump version to 2022.04.0 Message-ID: <20220425190506.543507-1-b.bilas@grinn-global.com> Signed-off-by: Bartosz Bilas --- boot/barebox/Config.in | 4 ++-- boot/barebox/barebox.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in index c16fea3cea..726f0f980b 100644 --- a/boot/barebox/Config.in +++ b/boot/barebox/Config.in @@ -12,7 +12,7 @@ choice Select the specific Barebox version you want to use config BR2_TARGET_BAREBOX_LATEST_VERSION - bool "2022.01.0" + bool "2022.04.0" config BR2_TARGET_BAREBOX_CUSTOM_VERSION bool "Custom version" @@ -40,7 +40,7 @@ endif config BR2_TARGET_BAREBOX_VERSION string - default "2022.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION + default "2022.04.0" if BR2_TARGET_BAREBOX_LATEST_VERSION default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT diff --git a/boot/barebox/barebox.hash b/boot/barebox/barebox.hash index 3d52d40beb..3a92f7fd82 100644 --- a/boot/barebox/barebox.hash +++ b/boot/barebox/barebox.hash @@ -1,8 +1,8 @@ # From https://www.barebox.org/download/barebox-2021.12.0.tar.bz2.md5 -md5 753ba533ced54f4113f9e97846c13fc1 barebox-2022.01.0.tar.bz2 +md5 e4970687cf7943eadf71b1ae6d344ff7 barebox-2022.04.0.tar.bz2 # Locally calculated -sha256 ddf7898075bec05e4865ce0f7a2ac19c2b1efaaa0d066eba1939494e25711d28 barebox-2022.01.0.tar.bz2 +sha256 f751b506deb0a5d82682a85cf65e329dd562e48ea057533dc5c8876120a09ebc barebox-2022.04.0.tar.bz2 # License files, locally computed sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING -- 2.36.0 From arnout at mind.be Mon Apr 25 19:05:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:05:31 +0200 Subject: [Buildroot] [PATCH 1/8] package/perl-crypt-openssl-guess: bump to version 0.15 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <850b8014-9dcf-9625-28ac-df51e3823986@mind.be> On 22/04/2022 18:15, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > .../perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash | 4 ++-- > package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash > index e6d19cb68..b4795ed3d 100644 > --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash > +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash > @@ -1,6 +1,6 @@ > # retrieved by scancpan from http://cpan.metacpan.org/ > -md5 9e86baf96828a38c967003a5e66f0c39 Crypt-OpenSSL-Guess-0.12.tar.gz > -sha256 0a18d18768cf42b49b15c9dea626199dc74346bbbc76acd3d817b9c1d2bd471d Crypt-OpenSSL-Guess-0.12.tar.gz > +md5 e07f470dd25023730cf8536e0cefbabd Crypt-OpenSSL-Guess-0.15.tar.gz > +sha256 1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d Crypt-OpenSSL-Guess-0.15.tar.gz > > # computed by scancpan > sha256 5c739f181ce7aa31d739277996ff230067dad39332e5597c0dffd36e5d784072 LICENSE > diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk > index 4f0898cf5..56ff79d84 100644 > --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk > +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.12 > +PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.15 > PERL_CRYPT_OPENSSL_GUESS_SOURCE = Crypt-OpenSSL-Guess-$(PERL_CRYPT_OPENSSL_GUESS_VERSION).tar.gz > PERL_CRYPT_OPENSSL_GUESS_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AK/AKIYM > PERL_CRYPT_OPENSSL_GUESS_LICENSE = Artistic or GPL-1.0+ From arnout at mind.be Mon Apr 25 19:06:18 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:06:18 +0200 Subject: [Buildroot] [PATCH 2/8] package/perl-file-listing: bump to version 6.15 In-Reply-To: <20220422161514.3449177-2-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> <20220422161514.3449177-2-francois.perrad@gadz.org> Message-ID: <20aad077-fbbb-3412-7688-616e20b8e5ef@mind.be> On 22/04/2022 18:15, Francois Perrad wrote: > Signed-off-by: Francois Perrad > --- > package/perl-file-listing/perl-file-listing.hash | 6 +++--- > package/perl-file-listing/perl-file-listing.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/perl-file-listing/perl-file-listing.hash b/package/perl-file-listing/perl-file-listing.hash > index 235896571..cb52c127c 100644 > --- a/package/perl-file-listing/perl-file-listing.hash > +++ b/package/perl-file-listing/perl-file-listing.hash > @@ -1,6 +1,6 @@ > # retrieved by scancpan from http://cpan.metacpan.org/ > -md5 cf60a79563185391831613178a79b4cd File-Listing-6.14.tar.gz > -sha256 15b3a4871e23164a36f226381b74d450af41f12cc94985f592a669fcac7b48ff File-Listing-6.14.tar.gz > +md5 8ba34641a6c5a2ec1b0bf7064f68c535 File-Listing-6.15.tar.gz > +sha256 46c4fb9f9eb9635805e26b7ea55b54455e47302758a10ed2a0b92f392713770c File-Listing-6.15.tar.gz > > # computed by scancpan > -sha256 7f0ccec295e6d7d2be1439cedd7caf6cc6247191f4c10ac56d91ee9bc265ba02 LICENSE > +sha256 287e6f0fdf2db790a24975b492cde64b210c16af7137f44373cbd03fcf844212 LICENSE You didn't explain in the commit message why the license hash changed, so I haven't applied this. Marked as Changes Requested. Same for the other ones where the license file was updated. Regards, Arnout > diff --git a/package/perl-file-listing/perl-file-listing.mk b/package/perl-file-listing/perl-file-listing.mk > index 61bbc18eb..c8584ffa8 100644 > --- a/package/perl-file-listing/perl-file-listing.mk > +++ b/package/perl-file-listing/perl-file-listing.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PERL_FILE_LISTING_VERSION = 6.14 > +PERL_FILE_LISTING_VERSION = 6.15 > PERL_FILE_LISTING_SOURCE = File-Listing-$(PERL_FILE_LISTING_VERSION).tar.gz > PERL_FILE_LISTING_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PL/PLICEASE > PERL_FILE_LISTING_LICENSE = Artistic or GPL-1.0+ From arnout at mind.be Mon Apr 25 19:06:33 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:06:33 +0200 Subject: [Buildroot] [PATCH 5/8] package/perl-libwww-perl: bump to version 6.62 In-Reply-To: <20220422161514.3449177-5-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> <20220422161514.3449177-5-francois.perrad@gadz.org> Message-ID: On 22/04/2022 18:15, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > package/perl-libwww-perl/perl-libwww-perl.hash | 4 ++-- > package/perl-libwww-perl/perl-libwww-perl.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/perl-libwww-perl/perl-libwww-perl.hash b/package/perl-libwww-perl/perl-libwww-perl.hash > index e32258050..25b6675ec 100644 > --- a/package/perl-libwww-perl/perl-libwww-perl.hash > +++ b/package/perl-libwww-perl/perl-libwww-perl.hash > @@ -1,6 +1,6 @@ > # retrieved by scancpan from http://cpan.metacpan.org/ > -md5 ce5180358d9279b2843a6518bf2de200 libwww-perl-6.60.tar.gz > -sha256 cdd28b9237b9c6791725b9099695c7c3c720b33881606fd6cc7635a5495bb07c libwww-perl-6.60.tar.gz > +md5 3cc193bbddb1dc9e867e88582b440a92 libwww-perl-6.62.tar.gz > +sha256 569ac15eb69d54b2a8d932403610690b89c68d6a987eab2f627c0639bae7de18 libwww-perl-6.62.tar.gz > > # computed by scancpan > sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENSE > diff --git a/package/perl-libwww-perl/perl-libwww-perl.mk b/package/perl-libwww-perl/perl-libwww-perl.mk > index aa15ebb59..43bd4db78 100644 > --- a/package/perl-libwww-perl/perl-libwww-perl.mk > +++ b/package/perl-libwww-perl/perl-libwww-perl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PERL_LIBWWW_PERL_VERSION = 6.60 > +PERL_LIBWWW_PERL_VERSION = 6.62 > PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz > PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS > PERL_LIBWWW_PERL_LICENSE = Artistic or GPL-1.0+ From arnout at mind.be Mon Apr 25 19:06:51 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:06:51 +0200 Subject: [Buildroot] [PATCH 6/8] package/perl-mojolicious: bump to version 9.24 In-Reply-To: <20220422161514.3449177-6-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> <20220422161514.3449177-6-francois.perrad@gadz.org> Message-ID: On 22/04/2022 18:15, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > package/perl-mojolicious/perl-mojolicious.hash | 4 ++-- > package/perl-mojolicious/perl-mojolicious.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/perl-mojolicious/perl-mojolicious.hash b/package/perl-mojolicious/perl-mojolicious.hash > index cc29c3553..cd6c8ef7f 100644 > --- a/package/perl-mojolicious/perl-mojolicious.hash > +++ b/package/perl-mojolicious/perl-mojolicious.hash > @@ -1,6 +1,6 @@ > # retrieved by scancpan from http://cpan.metacpan.org/ > -md5 c7a00b4bd8fa2db991c9b918d34041d3 Mojolicious-9.22.tar.gz > -sha256 6b76e024d3d6c077ad984ea3b3d229f093373d5e06438aca248235150d029043 Mojolicious-9.22.tar.gz > +md5 fea8c6a9b97b988ee18b1616e20cf3db Mojolicious-9.24.tar.gz > +sha256 5a2f2e064fe50ad94ec5ed175403a26ec1ff4150d77742d14ca7b842e17f9168 Mojolicious-9.24.tar.gz > > # computed by scancpan > sha256 19e2e0f2079ea1ce1576eb4ecc0575b33fe45b2b8e71f4aa589d6bedd1da4e0a LICENSE > diff --git a/package/perl-mojolicious/perl-mojolicious.mk b/package/perl-mojolicious/perl-mojolicious.mk > index 559b995cd..4a05fe48b 100644 > --- a/package/perl-mojolicious/perl-mojolicious.mk > +++ b/package/perl-mojolicious/perl-mojolicious.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PERL_MOJOLICIOUS_VERSION = 9.22 > +PERL_MOJOLICIOUS_VERSION = 9.24 > PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz > PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI > PERL_MOJOLICIOUS_LICENSE = Artistic-2.0 From arnout at mind.be Mon Apr 25 18:25:08 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:25:08 +0200 Subject: [Buildroot] [git commit] package/kodi-skin-confluence: bump version Message-ID: <20220425185654.2A6E0842EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0b1a58f9a68440fa87596f8ad7ba09b9afaf13f7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-skin-confluence/kodi-skin-confluence.hash | 2 +- package/kodi-skin-confluence/kodi-skin-confluence.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.hash b/package/kodi-skin-confluence/kodi-skin-confluence.hash index e3d1ff73f4..c840e5b161 100644 --- a/package/kodi-skin-confluence/kodi-skin-confluence.hash +++ b/package/kodi-skin-confluence/kodi-skin-confluence.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 49ba4dcf4b512ac0a97bd1a4ebf14685d294d89a7a07c26ddda0fe730c8aa047 kodi-skin-confluence-37a196cdb58c0da87b5b22b047a5d44dc447f1ae.tar.gz +sha256 c57b9a303ad1ebf14ad487901e5da15eba7b3a40304046974fad1d64fb7b8b57 kodi-skin-confluence-e6d31bc84eea73a04b2a23358929d5276be832b8.tar.gz sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.txt diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.mk b/package/kodi-skin-confluence/kodi-skin-confluence.mk index fcae506d1e..c32718fd10 100644 --- a/package/kodi-skin-confluence/kodi-skin-confluence.mk +++ b/package/kodi-skin-confluence/kodi-skin-confluence.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_SKIN_CONFLUENCE_VERSION = 37a196cdb58c0da87b5b22b047a5d44dc447f1ae +KODI_SKIN_CONFLUENCE_VERSION = e6d31bc84eea73a04b2a23358929d5276be832b8 KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION)) KODI_SKIN_CONFLUENCE_LICENSE = GPL-2.0 KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt From arnout at mind.be Mon Apr 25 18:25:07 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:25:07 +0200 Subject: [Buildroot] [git commit] package/xmrig: bump version to 6.17.0 Message-ID: <20220425185654.1BEC78426A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f8e1b912697731c216688b3d3002f4ab00ad9835 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/xmrig/xmrig.hash | 2 +- package/xmrig/xmrig.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xmrig/xmrig.hash b/package/xmrig/xmrig.hash index ff5f80a67b..7863c0319d 100644 --- a/package/xmrig/xmrig.hash +++ b/package/xmrig/xmrig.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 245ba47a6b8ae8e9a9df1c055e90f22f944a7d1219416cb30268881d0c0d377b xmrig-6.16.4.tar.gz +sha256 748a989390202ba2d1ccbd9d9a6b8cbd6551149cbab63b347fd1ed6df0254faa xmrig-6.17.0.tar.gz sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE diff --git a/package/xmrig/xmrig.mk b/package/xmrig/xmrig.mk index 1feab499fc..6e21e550a4 100644 --- a/package/xmrig/xmrig.mk +++ b/package/xmrig/xmrig.mk @@ -4,7 +4,7 @@ # ################################################################################ -XMRIG_VERSION = 6.16.4 +XMRIG_VERSION = 6.17.0 XMRIG_SITE = $(call github,xmrig,xmrig,v$(XMRIG_VERSION)) XMRIG_LICENSE = GPL-3.0+ XMRIG_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 25 18:33:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:33:04 +0200 Subject: [Buildroot] [git commit] package/kodi-peripheral-xarcade: bump version to 19.0.3-Matrix Message-ID: <20220425185654.660F7842E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a2b04d4e096b912cf9a5165d2a35651e82a87e89 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash | 2 +- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash index 5cb774fe26..3ceabd4759 100644 --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 27f592e07c788067c97f7bbcac8a2c6803954730e6f0f66f2047a1d939e6648d kodi-peripheral-xarcade-19.0.1-Matrix.tar.gz +sha256 589b5355bf9b0b5183ecf2d93a4a80ca1ae317a9fdf4efb9c14eb7114b4ec13a kodi-peripheral-xarcade-19.0.3-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk index fd8b1af38c..ef3cc6fef1 100644 --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PERIPHERAL_XARCADE_VERSION = 19.0.1-Matrix +KODI_PERIPHERAL_XARCADE_VERSION = 19.0.3-Matrix KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md From arnout at mind.be Mon Apr 25 18:24:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:24:19 +0200 Subject: [Buildroot] [git commit] package/sam-ba: update link Message-ID: <20220425185654.105DF842E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0d6b874d94576f8b46153398c859f7831c08bb5f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The link to at91.com is outdated and redirects to linux4sam.org Signed-off-by: Daniel Lang Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/sam-ba/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sam-ba/Config.in.host b/package/sam-ba/Config.in.host index b96e377e79..1967f33ab3 100644 --- a/package/sam-ba/Config.in.host +++ b/package/sam-ba/Config.in.host @@ -7,5 +7,5 @@ config BR2_PACKAGE_HOST_SAM_BA programming the Atmel SAM3, SAM7 and SAM9 ARM-based microcontrollers. - http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools + https://www.linux4sam.org/bin/view/Linux4SAM/SoftwareTools https://www.microchip.com/en-us/development-tool/SAM-BA-IN-SYSTEM-PROGRAMMER From arnout at mind.be Mon Apr 25 18:25:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:25:10 +0200 Subject: [Buildroot] [git commit] package/perl-crypt-openssl-guess: bump to version 0.15 Message-ID: <20220425185654.445F9842EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b2fa94b093517b147c04be2660d6f1310ecefa54 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash | 4 ++-- package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash index e6d19cb681..b4795ed3dd 100644 --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 9e86baf96828a38c967003a5e66f0c39 Crypt-OpenSSL-Guess-0.12.tar.gz -sha256 0a18d18768cf42b49b15c9dea626199dc74346bbbc76acd3d817b9c1d2bd471d Crypt-OpenSSL-Guess-0.12.tar.gz +md5 e07f470dd25023730cf8536e0cefbabd Crypt-OpenSSL-Guess-0.15.tar.gz +sha256 1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d Crypt-OpenSSL-Guess-0.15.tar.gz # computed by scancpan sha256 5c739f181ce7aa31d739277996ff230067dad39332e5597c0dffd36e5d784072 LICENSE diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk index 4f0898cf53..56ff79d845 100644 --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.12 +PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.15 PERL_CRYPT_OPENSSL_GUESS_SOURCE = Crypt-OpenSSL-Guess-$(PERL_CRYPT_OPENSSL_GUESS_VERSION).tar.gz PERL_CRYPT_OPENSSL_GUESS_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AK/AKIYM PERL_CRYPT_OPENSSL_GUESS_LICENSE = Artistic or GPL-1.0+ From arnout at mind.be Mon Apr 25 18:25:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:25:09 +0200 Subject: [Buildroot] [git commit] package/adwaita-icon-theme: needs host gcc >= 4.9 Message-ID: <20220425185654.370D98426A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9f0c67179e55d967ae54d000d8d58dbc52cb1de3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump of harfbuzz to version 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: In file included from ../src/hb.hh:473:0, from ../src/hb-buffer-verify.cc:27: ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' hb_enable_if (std::is_trivially_copy_assignable::value)> ^ Fixes: - http://autobuild.buildroot.org/results/bbc48cb5232c617d4ff1d0bafd63bb3c9c72d556 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/adwaita-icon-theme/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/adwaita-icon-theme/Config.in b/package/adwaita-icon-theme/Config.in index d200570e76..71b839d996 100644 --- a/package/adwaita-icon-theme/Config.in +++ b/package/adwaita-icon-theme/Config.in @@ -1,5 +1,10 @@ config BR2_PACKAGE_ADWAITA_ICON_THEME bool "adwaita icon theme" depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 + # host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz + depends on BR2_HOST_GCC_AT_LEAST_4_9 help Adwaita icon theme + +comment "adwaita icon theme needs host gcc >= 4.9" + depends on !BR2_HOST_GCC_AT_LEAST_4_9 From arnout at mind.be Mon Apr 25 18:33:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:33:04 +0200 Subject: [Buildroot] [git commit] package/perl-mojolicious: bump to version 9.24 Message-ID: <20220425185654.5A119842EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a96f893ed6683e31bf691b69ee007eddeeacfcae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/perl-mojolicious/perl-mojolicious.hash | 4 ++-- package/perl-mojolicious/perl-mojolicious.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-mojolicious/perl-mojolicious.hash b/package/perl-mojolicious/perl-mojolicious.hash index cc29c35535..cd6c8ef7f1 100644 --- a/package/perl-mojolicious/perl-mojolicious.hash +++ b/package/perl-mojolicious/perl-mojolicious.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 c7a00b4bd8fa2db991c9b918d34041d3 Mojolicious-9.22.tar.gz -sha256 6b76e024d3d6c077ad984ea3b3d229f093373d5e06438aca248235150d029043 Mojolicious-9.22.tar.gz +md5 fea8c6a9b97b988ee18b1616e20cf3db Mojolicious-9.24.tar.gz +sha256 5a2f2e064fe50ad94ec5ed175403a26ec1ff4150d77742d14ca7b842e17f9168 Mojolicious-9.24.tar.gz # computed by scancpan sha256 19e2e0f2079ea1ce1576eb4ecc0575b33fe45b2b8e71f4aa589d6bedd1da4e0a LICENSE diff --git a/package/perl-mojolicious/perl-mojolicious.mk b/package/perl-mojolicious/perl-mojolicious.mk index 559b995cdc..4a05fe48ba 100644 --- a/package/perl-mojolicious/perl-mojolicious.mk +++ b/package/perl-mojolicious/perl-mojolicious.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_MOJOLICIOUS_VERSION = 9.22 +PERL_MOJOLICIOUS_VERSION = 9.24 PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI PERL_MOJOLICIOUS_LICENSE = Artistic-2.0 From arnout at mind.be Mon Apr 25 18:33:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:33:04 +0200 Subject: [Buildroot] [git commit] package/perl-libwww-perl: bump to version 6.62 Message-ID: <20220425185654.4F3238426A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30641fd54ca387f814078fbc0c17f45bb1fce315 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/perl-libwww-perl/perl-libwww-perl.hash | 4 ++-- package/perl-libwww-perl/perl-libwww-perl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-libwww-perl/perl-libwww-perl.hash b/package/perl-libwww-perl/perl-libwww-perl.hash index e32258050c..25b6675ec7 100644 --- a/package/perl-libwww-perl/perl-libwww-perl.hash +++ b/package/perl-libwww-perl/perl-libwww-perl.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 ce5180358d9279b2843a6518bf2de200 libwww-perl-6.60.tar.gz -sha256 cdd28b9237b9c6791725b9099695c7c3c720b33881606fd6cc7635a5495bb07c libwww-perl-6.60.tar.gz +md5 3cc193bbddb1dc9e867e88582b440a92 libwww-perl-6.62.tar.gz +sha256 569ac15eb69d54b2a8d932403610690b89c68d6a987eab2f627c0639bae7de18 libwww-perl-6.62.tar.gz # computed by scancpan sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENSE diff --git a/package/perl-libwww-perl/perl-libwww-perl.mk b/package/perl-libwww-perl/perl-libwww-perl.mk index aa15ebb594..43bd4db783 100644 --- a/package/perl-libwww-perl/perl-libwww-perl.mk +++ b/package/perl-libwww-perl/perl-libwww-perl.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_LIBWWW_PERL_VERSION = 6.60 +PERL_LIBWWW_PERL_VERSION = 6.62 PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_LIBWWW_PERL_LICENSE = Artistic or GPL-1.0+ From thomas.petazzoni at bootlin.com Mon Apr 25 19:07:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 21:07:44 +0200 Subject: [Buildroot] [git commit] package/pcre2: fix legal info Message-ID: <20220425185738.26A05842F5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9315eb7ede87e072c121985d2ab67ccb973f20ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 10648db92bc5c4bfd49b58ce4f1c213defdfc7de forgot to update hash of LICENCE file (update in year: https://github.com/PCRE2Project/pcre2/commit/3103b8f20a3b9944b177e812fde29fbfb8b90558): >>> pcre2 10.40 Collecting legal info ERROR: LICENCE has wrong sha256 hash: ERROR: expected: 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 ERROR: got : 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 Fixes: - http://autobuild.buildroot.org/results/275c5478d63d3d4016d440870e96f04230df69d6 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/pcre2/pcre2.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash index e4f7980749..e3fe6b2d53 100644 --- a/package/pcre2/pcre2.hash +++ b/package/pcre2/pcre2.hash @@ -2,4 +2,4 @@ # https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2.sig sha256 14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 pcre2-10.40.tar.bz2 # Locally computed -sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE +sha256 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 LICENCE From thomas.petazzoni at bootlin.com Mon Apr 25 19:07:54 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 21:07:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/pcre2: fix legal info In-Reply-To: <20220423205934.446813-1-fontaine.fabrice@gmail.com> References: <20220423205934.446813-1-fontaine.fabrice@gmail.com> Message-ID: <20220425210754.7714d850@windsurf> On Sat, 23 Apr 2022 22:59:34 +0200 Fabrice Fontaine wrote: > Commit 10648db92bc5c4bfd49b58ce4f1c213defdfc7de forgot to update hash of > LICENCE file (update in year: > https://github.com/PCRE2Project/pcre2/commit/3103b8f20a3b9944b177e812fde29fbfb8b90558): > > >>> pcre2 10.40 Collecting legal info > ERROR: LICENCE has wrong sha256 hash: > ERROR: expected: 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 > ERROR: got : 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 > > Fixes: > - http://autobuild.buildroot.org/results/275c5478d63d3d4016d440870e96f04230df69d6 > > Signed-off-by: Fabrice Fontaine > --- > package/pcre2/pcre2.hash | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Mon Apr 25 19:08:31 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 21:08:31 +0200 Subject: [Buildroot] [git commit] package/libressl: bump to version 3.5.2 Message-ID: <20220425185900.151B88430C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8b216927db080b38fdbf1f8b025b6f90a89d4bc2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- package/libressl/libressl.hash | 2 +- package/libressl/libressl.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch index 98fe250f65..1c59aec723 100644 --- a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch +++ b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch @@ -20,7 +20,7 @@ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 46f24b2ea..4048a6e63 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h -@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, +@@ -408,11 +408,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, #define SSL_OP_NO_TLSv1 0x04000000L #define SSL_OP_NO_TLSv1_2 0x08000000L #define SSL_OP_NO_TLSv1_1 0x10000000L diff --git a/package/libressl/libressl.hash b/package/libressl/libressl.hash index e923998713..c3590798db 100644 --- a/package/libressl/libressl.hash +++ b/package/libressl/libressl.hash @@ -1,4 +1,4 @@ # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz +sha256 56feab8e21c3fa6549f8b7d7511658b8e98518162838a795314732654adf3e5f libressl-3.5.2.tar.gz # Locally computed sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk index 0bb468cedb..c9c484d5d8 100644 --- a/package/libressl/libressl.mk +++ b/package/libressl/libressl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRESSL_VERSION = 3.4.3 +LIBRESSL_VERSION = 3.5.2 LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) LIBRESSL_LICENSE_FILES = COPYING From thomas.petazzoni at bootlin.com Mon Apr 25 19:09:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 21:09:39 +0200 Subject: [Buildroot] [PATCH] package/libressl: bump to version 3.5.2 In-Reply-To: <20220424072016.3459504-1-francois.perrad@gadz.org> References: <20220424072016.3459504-1-francois.perrad@gadz.org> Message-ID: <20220425210939.52c89b70@windsurf> On Sun, 24 Apr 2022 09:20:16 +0200 Francois Perrad wrote: > Signed-off-by: Francois Perrad > --- > package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- > package/libressl/Config.in | 2 ++ > package/libressl/libressl.hash | 2 +- > package/libressl/libressl.mk | 2 +- > 4 files changed, 5 insertions(+), 3 deletions(-) Applied to master without the unnecessary change in the Config.in file. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From arnout at mind.be Mon Apr 25 19:31:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:31:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.1 In-Reply-To: <20220422185015.3486540-1-aperez@igalia.com> References: <20220422185015.3486540-1-aperez@igalia.com> Message-ID: <1d3f65e2-4de6-0268-dec5-467307a11290@mind.be> On 22/04/2022 20:50, Adrian Perez de Castro wrote: > Bugfix release, with the usual flurry of correctness fixes, and a patch > to fix the build with the accessibility support disabled. Release notes: > > https://wpewebkit.org/release/wpewebkit-2.36.1.html > > Signed-off-by: Adrian Perez de Castro Applied to master, thanks. Regards, Arnout > --- > package/wpewebkit/wpewebkit.hash | 8 ++++---- > package/wpewebkit/wpewebkit.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash > index 1e1aa62117..3923c32111 100644 > --- a/package/wpewebkit/wpewebkit.hash > +++ b/package/wpewebkit/wpewebkit.hash > @@ -1,7 +1,7 @@ > -# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums > -md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz > -sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz > -sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz > +# From https://wpewebkit.org/releases/wpewebkit-2.36.1.tar.xz.sums > +md5 7ba1c7fd0f67891ad137d11cac12f7a9 wpewebkit-2.36.1.tar.xz > +sha1 0918a4daded01f42e65ec02a69f21cd6705311db wpewebkit-2.36.1.tar.xz > +sha256 ec83d8b2f8c3479ce9950d69440f3b9876ab70200fe6f4e07686054a0cba5723 wpewebkit-2.36.1.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk > index df29d6f170..9c9a9a2838 100644 > --- a/package/wpewebkit/wpewebkit.mk > +++ b/package/wpewebkit/wpewebkit.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WPEWEBKIT_VERSION = 2.36.0 > +WPEWEBKIT_VERSION = 2.36.1 > WPEWEBKIT_SITE = http://www.wpewebkit.org/releases > WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz > WPEWEBKIT_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 25 19:31:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:31:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/webkitgtk: bump to version 2.36.1 In-Reply-To: <20220422184431.3471788-1-aperez@igalia.com> References: <20220422184431.3471788-1-aperez@igalia.com> Message-ID: <67f429aa-725f-2641-6e0e-70bb1f11e6cb@mind.be> On 22/04/2022 20:44, Adrian Perez de Castro wrote: > Bugfix release, with the usual flurry of correctness fixes, and a patch > to fix the build with the accessibility support disabled. Release notes: > > https://webkitgtk.org/2022/04/21/webkitgtk2.36.1-released.html > > Signed-off-by: Adrian Perez de Castro Applied to master, thanks. Regards, Arnout > --- > package/webkitgtk/webkitgtk.hash | 8 ++++---- > package/webkitgtk/webkitgtk.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 38068745ee..00a342ed7f 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,7 +1,7 @@ > -# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums > -md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz > -sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz > -sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz > +# From https://webkitgtk.org/releases/webkitgtk-2.36.1.tar.xz.sums > +md5 e6100df7f82d95a4e65176b10f5ab011 webkitgtk-2.36.1.tar.xz > +sha1 36a95b906e54bcf94d2be04e1cbaac3584da7eb1 webkitgtk-2.36.1.tar.xz > +sha256 0149ea5fb1d20f2a9981677d45c952a047330001ea24a8dc29035239f12c0c8f webkitgtk-2.36.1.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index eca175d1bd..9e85c5b78f 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.36.0 > +WEBKITGTK_VERSION = 2.36.1 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 25 19:33:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:33:40 +0200 Subject: [Buildroot] [PATCH v2, 1/2] package/netsurf: fix build with BR2_OPTIMIZE_FAST In-Reply-To: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> References: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> Message-ID: <5d9780b7-3579-c9b8-f2ce-ec5efc9f187f@mind.be> On 22/04/2022 23:21, Fabrice Fontaine wrote: > Disable duktape with BR2_OPTIMIZE_FAST to fix the following build > failure: > > In file included from content/handlers/javascript/duktape/duktape.h:195, > from build/Linux-framebuffer/duktape/application_cache.c:21: > content/handlers/javascript/duktape/duk_config.h:2861:2: error: #error __FAST_MATH__ defined, refusing to compile > 2861 | #error __FAST_MATH__ defined, refusing to compile > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/2f1b42e2be3aa76cbacd84f3d0ad8b13edce6982 > > Signed-off-by: Fabrice Fontaine > --- > package/netsurf/netsurf.mk | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk > index 1064698c12..574c1423df 100644 > --- a/package/netsurf/netsurf.mk > +++ b/package/netsurf/netsurf.mk > @@ -14,6 +14,17 @@ NETSURF_CPE_ID_VENDOR = netsurf-browser > NETSURF_DEPENDENCIES = expat jpeg libpng \ > host-bison host-flex host-gperf host-pkgconf host-vim > > +# internal duktape doesn't build with BR2_OPTIMIZE_FAST > +ifeq ($(BR2_OPTIMIZE_FAST),y) > +define NETSURF_DUKTAPE_CONFIGURE_CMDS > + echo "override NETSURF_USE_DUKTAPE := NO" >> $(@D)/netsurf/Makefile.config > +endef > +else > +define NETSURF_DUKTAPE_CONFIGURE_CMDS > + echo "override NETSURF_USE_DUKTAPE := YES" >> $(@D)/netsurf/Makefile.config > +endef > +endif Ideally we'd unbundle duktape of course. I took a look, doesn't look doable. Thing is, with this, based on optimisation option, you have netsurf with or without javascript support. Not exactly ideal. I think this should be a user-visible option then. Anyway, for now, applied to master, thanks. Regards, Arnout > + > ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) > NETSURF_DEPENDENCIES += libgtk2 > NETSURF_FRONTEND = gtk2 > @@ -77,6 +88,7 @@ endef > endif > > define NETSURF_CONFIGURE_CMDS > + $(NETSURF_DUKTAPE_CONFIGURE_CMDS) > $(NETSURF_ICONV_CONFIGURE_CMDS) > $(NETSURF_SVG_CONFIGURE_CMDS) > $(NETSURF_FONTLIB_CONFIGURE_CMDS) From arnout at mind.be Mon Apr 25 19:34:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:34:07 +0200 Subject: [Buildroot] [PATCH v2, 2/2] package/netsurf: fix build with ccache In-Reply-To: <20220422212117.1291718-2-fontaine.fabrice@gmail.com> References: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> <20220422212117.1291718-2-fontaine.fabrice@gmail.com> Message-ID: <3f3dfe0e-0086-0f47-ce50-2d1085a24272@mind.be> On 22/04/2022 23:21, Fabrice Fontaine wrote: > Update second patch to fix the following build failure with ccache: > > /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. > > Fixes: > - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2 (after review of Arnout Vandecappelle): > - Update patch instead of using HOST_NOCCACHE) > > package/netsurf/0002-do-not-cross-compile-nsgenbind.patch | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch > index 2d4637511e..7caad47a20 100644 > --- a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch > +++ b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch > @@ -8,6 +8,8 @@ the build, so it should not be built with the cross-compiler, but with > the native compiler. > > Signed-off-by: Francois Perrad > +[Fabrice: add quotes around BUILD_CC to fix build with ccache] > +Signed-off-by: Fabrice Fontaine > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > @@ -21,7 +23,7 @@ index f279f01..5698c87 100644 > # prefixed install macro for each host sub target > define do_build_prefix_install > - $(MAKE) install --directory=$1 HOST=$(BUILD) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= > -+ $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= > ++ $(MAKE) install --directory=$1 HOST=$(BUILD) CC="$(BUILD_CC)" PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= > > endef > From arnout at mind.be Mon Apr 25 19:34:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:34:30 +0200 Subject: [Buildroot] [PATCH 0/3] Update wlroots to the latest release In-Reply-To: <20220422214919.367067-1-aperez@igalia.com> References: <20220422214919.367067-1-aperez@igalia.com> Message-ID: On 22/04/2022 23:49, Adrian Perez de Castro wrote: > Hi, > > This is a small patch set which brings wlroots library to its most recent > version, fixing the cage compositor with a backported patch (as there is > no newer release yet). I am adding one additional patch that enables the > new Vulkan renderer when any of Mesa's Vulkan drivers is selected, too. > > I don't expect the two first patches of the set to be controversial, but > dunno about the Vulkan one. If there are doubts, I suppose the first two > could be merged anyway, leaving the other out for further discussion. > > One more thing: With wlroots 0.15.x it is finally possible to disable building > the accelerated renderers (GLESv2, Vulkan) and have only the software based > one (Pixman) built into wlroots. Currently I do not have the need for such a > configuration, and therefore I am not planning to send a patch to allow that > for now. On the other hand, if anyone wanted to try writing the patch, I would > be more than happy to review it :-) > > Cheers, > -Adrian > > > Adrian Perez de Castro (3): > package/wlroots: bump to version 0.15.1 > package/cage: add upstream patch for wlroots 0.15.x > package/wlroots: enable vulkan renderer if possible Series applied to master, thanks. Regards, Arnout > > .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ++++++++++++++++++ > package/wlroots/Config.in | 2 +- > package/wlroots/wlroots.hash | 4 +- > package/wlroots/wlroots.mk | 29 +- > 4 files changed, 332 insertions(+), 15 deletions(-) > create mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch > From arnout at mind.be Mon Apr 25 19:34:50 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:34:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-good: fix build with gcc 4.8 In-Reply-To: <20220422215931.2712013-1-fontaine.fabrice@gmail.com> References: <20220422215931.2712013-1-fontaine.fabrice@gmail.com> Message-ID: On 22/04/2022 23:59, Fabrice Fontaine wrote: > Fix the following build failure with gcc 4.8 raised since bump to > version 1.20.0 in commit 34317969278d7b6d923d4889fb4235f112b2b201: > > ../ext/soup/gstsouploader.c: In function 'gst_soup_load_library': > ../ext/soup/gstsouploader.c:219:3: error: 'for' loop initial declarations are only allowed in C99 mode > for (guint i = 0; i < len; i++) { > ^ > > Fixes: > - http://autobuild.buildroot.org/results/21792a9839d9722815075569123df8747fc450e3 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk > index 1168feb293..2b6cf769aa 100644 > --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk > +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk > @@ -10,6 +10,7 @@ GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good > GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING > GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ > > +GST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 > GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) > > GST1_PLUGINS_GOOD_CONF_OPTS = \ From arnout at mind.be Mon Apr 25 19:35:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:35:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9 In-Reply-To: <20220422220408.3173274-1-fontaine.fabrice@gmail.com> References: <20220422220408.3173274-1-fontaine.fabrice@gmail.com> Message-ID: On 23/04/2022 00:04, Fabrice Fontaine wrote: > SVG support needs host gcc >= 4.9 since bump of harfbuzz to version > 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: > > In file included from ../src/hb.hh:473:0, > from ../src/hb-buffer-serialize.cc:27: > ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' > hb_enable_if (std::is_trivially_copy_assignable::value)> > ^ > > Fixes: > - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/imagemagick/Config.in.host | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host > index 671b0995dc..5055101e23 100644 > --- a/package/imagemagick/Config.in.host > +++ b/package/imagemagick/Config.in.host > @@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK > config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG > bool "SVG support" > depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg > + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz > help > Say 'y' here is you need ImageMagick tools (like convert) > to support SVG. > @@ -24,4 +25,8 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG > This is not enabled by default, as it brings quite a few > extra dependencies, and thus extra build time. > > +comment "SVG support needs host gcc >= 4.9" > + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS > + depends on !BR2_HOST_GCC_AT_LEAST_4_9 > + > endif From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/netsurf: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220425192517.BEA4D8437F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa2a017ba911419bc5b54821888007fb3587a495 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable duktape with BR2_OPTIMIZE_FAST to fix the following build failure: In file included from content/handlers/javascript/duktape/duktape.h:195, from build/Linux-framebuffer/duktape/application_cache.c:21: content/handlers/javascript/duktape/duk_config.h:2861:2: error: #error __FAST_MATH__ defined, refusing to compile 2861 | #error __FAST_MATH__ defined, refusing to compile | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/2f1b42e2be3aa76cbacd84f3d0ad8b13edce6982 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/netsurf/netsurf.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 1064698c12..574c1423df 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -14,6 +14,17 @@ NETSURF_CPE_ID_VENDOR = netsurf-browser NETSURF_DEPENDENCIES = expat jpeg libpng \ host-bison host-flex host-gperf host-pkgconf host-vim +# internal duktape doesn't build with BR2_OPTIMIZE_FAST +ifeq ($(BR2_OPTIMIZE_FAST),y) +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := NO" >> $(@D)/netsurf/Makefile.config +endef +else +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := YES" >> $(@D)/netsurf/Makefile.config +endef +endif + ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) NETSURF_DEPENDENCIES += libgtk2 NETSURF_FRONTEND = gtk2 @@ -77,6 +88,7 @@ endef endif define NETSURF_CONFIGURE_CMDS + $(NETSURF_DUKTAPE_CONFIGURE_CMDS) $(NETSURF_ICONV_CONFIGURE_CMDS) $(NETSURF_SVG_CONFIGURE_CMDS) $(NETSURF_FONTLIB_CONFIGURE_CMDS) From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/wpewebkit: bump to version 2.36.1 Message-ID: <20220425192517.B25438430B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b7a0e39b608ef864ae1f2b198b2557b0dc164b39 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release, with the usual flurry of correctness fixes, and a patch to fix the build with the accessibility support disabled. Release notes: https://wpewebkit.org/release/wpewebkit-2.36.1.html Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpewebkit/wpewebkit.hash | 8 ++++---- package/wpewebkit/wpewebkit.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash index 1e1aa62117..3923c32111 100644 --- a/package/wpewebkit/wpewebkit.hash +++ b/package/wpewebkit/wpewebkit.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums -md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz -sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz -sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz +# From https://wpewebkit.org/releases/wpewebkit-2.36.1.tar.xz.sums +md5 7ba1c7fd0f67891ad137d11cac12f7a9 wpewebkit-2.36.1.tar.xz +sha1 0918a4daded01f42e65ec02a69f21cd6705311db wpewebkit-2.36.1.tar.xz +sha256 ec83d8b2f8c3479ce9950d69440f3b9876ab70200fe6f4e07686054a0cba5723 wpewebkit-2.36.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index 3ce38d8c27..aac9173566 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEWEBKIT_VERSION = 2.36.0 +WPEWEBKIT_VERSION = 2.36.1 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz WPEWEBKIT_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 25 19:10:05 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:05 +0200 Subject: [Buildroot] [git commit] package/webkitgtk: bump to version 2.36.1 Message-ID: <20220425192517.A54598437C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ab1157bbe4d31d76241d8922a995474b85c768ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release, with the usual flurry of correctness fixes, and a patch to fix the build with the accessibility support disabled. Release notes: https://webkitgtk.org/2022/04/21/webkitgtk2.36.1-released.html Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/webkitgtk/webkitgtk.hash | 8 ++++---- package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 38068745ee..00a342ed7f 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums -md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz -sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz -sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.36.1.tar.xz.sums +md5 e6100df7f82d95a4e65176b10f5ab011 webkitgtk-2.36.1.tar.xz +sha1 36a95b906e54bcf94d2be04e1cbaac3584da7eb1 webkitgtk-2.36.1.tar.xz +sha256 0149ea5fb1d20f2a9981677d45c952a047330001ea24a8dc29035239f12c0c8f webkitgtk-2.36.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index eca175d1bd..9e85c5b78f 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.36.0 +WEBKITGTK_VERSION = 2.36.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gst1-plugins-good: fix build with gcc 4.8 Message-ID: <20220425192518.0959A8437E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=288353ec746d91dd84e6abe76bf424909db82d1b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc 4.8 raised since bump to version 1.20.0 in commit 34317969278d7b6d923d4889fb4235f112b2b201: ../ext/soup/gstsouploader.c: In function 'gst_soup_load_library': ../ext/soup/gstsouploader.c:219:3: error: 'for' loop initial declarations are only allowed in C99 mode for (guint i = 0; i < len; i++) { ^ Fixes: - http://autobuild.buildroot.org/results/21792a9839d9722815075569123df8747fc450e3 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 1168feb293..2b6cf769aa 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -10,6 +10,7 @@ GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ +GST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) GST1_PLUGINS_GOOD_CONF_OPTS = \ From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/wlroots: bump to version 0.15.1 Message-ID: <20220425192517.D7E278437E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b02b8ee3bb99cf453675d216701dec7ae6313e38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update to version 0.15.1, and adapt to upstream changes: - Adapted from the old -Dfoo-backend Meson option to the new -Dbackends one, which is an array. The set of always enabled backends matches the previous selection: drm+libinput always enabled, x11 only if selected. - Removed the libpng and ffmpeg dependency, which are no longer needed with examples disabled (which is always the case for Buildroot). - Changed homepage and download site URLs to the FreeDesktop.org GitLab. This release changes the API/ABI, and applications which use wlroots must be adapted and rebuilt. Currently in Buildroot we have only the cage compositor, to be updated in a follow-up patch. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wlroots/Config.in | 2 +- package/wlroots/wlroots.hash | 4 ++-- package/wlroots/wlroots.mk | 19 ++++++++----------- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/package/wlroots/Config.in b/package/wlroots/Config.in index 8d485992f5..84a4ef846e 100644 --- a/package/wlroots/Config.in +++ b/package/wlroots/Config.in @@ -27,7 +27,7 @@ config BR2_PACKAGE_WLROOTS wlroots is a modular Wayland library for building compositors which implements many of their common features. - https://github.com/swaywm/wlroots + https://gitlab.freedesktop.org/wlroots/wlroots if BR2_PACKAGE_WLROOTS diff --git a/package/wlroots/wlroots.hash b/package/wlroots/wlroots.hash index fdebe1ef68..04bbd65e43 100644 --- a/package/wlroots/wlroots.hash +++ b/package/wlroots/wlroots.hash @@ -1,5 +1,5 @@ -# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.14.1/wlroots-0.14.1.tar.gz.sig -sha256 448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db wlroots-0.14.1.tar.gz +# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.15.1/downloads/wlroots-0.15.1.tar.gz.sig +sha256 5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373 wlroots-0.15.1.tar.gz # Hashes for license files: sha256 ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b LICENSE diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index 89d5024176..baa1edd9e1 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -4,8 +4,8 @@ # ################################################################################ -WLROOTS_VERSION = 0.14.1 -WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION) +WLROOTS_VERSION = 0.15.1 +WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads WLROOTS_LICENSE = MIT WLROOTS_LICENSE_FILES = LICENSE WLROOTS_INSTALL_STAGING = YES @@ -25,19 +25,16 @@ WLROOTS_DEPENDENCIES = \ WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 -ifeq ($(BR2_PACKAGE_FFMPEG),y) -WLROOTS_DEPENDENCIES += ffmpeg -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -WLROOTS_DEPENDENCIES += libpng -endif +WLROOTS_BACKENDS = libinput drm ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) -WLROOTS_CONF_OPTS += -Dx11-backend=enabled -Dxwayland=enabled +WLROOTS_BACKENDS += x11 +WLROOTS_CONF_OPTS += -Dxwayland=enabled WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11 else -WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled +WLROOTS_CONF_OPTS += -Dxwayland=disabled endif +WLROOTS_CONF_OPTS += -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) + $(eval $(meson-package)) From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/netsurf: fix build with ccache Message-ID: <20220425192517.CB9AB8430B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9a890e68b6c19b273fc001fa0b2b7eac9bf3b19d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update second patch to fix the following build failure with ccache: /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. Fixes: - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/netsurf/0002-do-not-cross-compile-nsgenbind.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch index 2d4637511e..7caad47a20 100644 --- a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch +++ b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch @@ -8,6 +8,8 @@ the build, so it should not be built with the cross-compiler, but with the native compiler. Signed-off-by: Francois Perrad +[Fabrice: add quotes around BUILD_CC to fix build with ccache] +Signed-off-by: Fabrice Fontaine --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) @@ -21,7 +23,7 @@ index f279f01..5698c87 100644 # prefixed install macro for each host sub target define do_build_prefix_install - $(MAKE) install --directory=$1 HOST=$(BUILD) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= -+ $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= ++ $(MAKE) install --directory=$1 HOST=$(BUILD) CC="$(BUILD_CC)" PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= endef From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/wlroots: enable vulkan renderer if possible Message-ID: <20220425192517.EF9328437C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d7f72651254ba24efc5faea743f1ce34d9ef6ed5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Enable the wlroots' Vulkan renderer if a suitable driver is being built. Currently only Mesa provides Vulkan drivers, so gating the feature on BR2_PACKAGE_MESA3D_VULKAN_DRIVER seems reasonable at the moment (and is done at least by one other package already: pipewire). Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wlroots/wlroots.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index baa1edd9e1..4f14d20b11 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -23,8 +23,9 @@ WLROOTS_DEPENDENCIES = \ wayland \ wayland-protocols -WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 +WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled +WLROOTS_RENDERERS = gles2 WLROOTS_BACKENDS = libinput drm ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) @@ -35,6 +36,13 @@ else WLROOTS_CONF_OPTS += -Dxwayland=disabled endif -WLROOTS_CONF_OPTS += -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) +ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),y) +WLROOTS_RENDERERS += vulkan +WLROOTS_DEPENDENCIES += mesa3d +endif + +WLROOTS_CONF_OPTS += \ + -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) \ + -Drenderers=$(subst $(space),$(comma),$(strip $(WLROOTS_RENDERERS))) $(eval $(meson-package)) From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/imagemagick: SVG support needs host gcc >= 4.9 Message-ID: <20220425192518.16C478437C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e83eca44966a4fa3111407eea09273d71f20ac38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master SVG support needs host gcc >= 4.9 since bump of harfbuzz to version 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: In file included from ../src/hb.hh:473:0, from ../src/hb-buffer-serialize.cc:27: ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' hb_enable_if (std::is_trivially_copy_assignable::value)> ^ Fixes: - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/imagemagick/Config.in.host | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host index 671b0995dc..5055101e23 100644 --- a/package/imagemagick/Config.in.host +++ b/package/imagemagick/Config.in.host @@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG bool "SVG support" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz help Say 'y' here is you need ImageMagick tools (like convert) to support SVG. @@ -24,4 +25,8 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG This is not enabled by default, as it brings quite a few extra dependencies, and thus extra build time. +comment "SVG support needs host gcc >= 4.9" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + depends on !BR2_HOST_GCC_AT_LEAST_4_9 + endif From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/cage: add upstream patch for wlroots 0.15.x Message-ID: <20220425192517.E45208430B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4bb391014c1de216a77024263b5b53ee499ee779 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add a backported patch from the upstream repository which makes cage usable with wlroots 0.15.x. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ++++++++++++++++++++++++ 1 file changed, 312 insertions(+) diff --git a/package/cage/0001-Upgrade-to-wlroots-0.15.patch b/package/cage/0001-Upgrade-to-wlroots-0.15.patch new file mode 100644 index 0000000000..a5716ede43 --- /dev/null +++ b/package/cage/0001-Upgrade-to-wlroots-0.15.patch @@ -0,0 +1,312 @@ +From e51bef3fdad649d453276717294cc6177666cf5a Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Wed, 11 Aug 2021 11:31:14 +0200 +Subject: [PATCH] Upgrade to wlroots 0.15 + +- Update wlr_box includes to util/box.h: the wlroots header has + been moved upstream. +- Subsurface fields have been moved +- Create renderer and allocator, stop using wlr_backend_get_renderer +- Initalize output rendering + +Signed-off-by: Adrian Perez de Castro +Upstream status: https://github.com/Hjdskes/cage/commit/395189fb051ed722c7b10b6cb11caa8f6904079c +--- + cage.c | 21 +++++++++++++++++---- + meson.build | 2 +- + output.c | 5 +++++ + render.c | 26 ++++++++------------------ + server.h | 2 ++ + util.c | 2 -- + util.h | 2 +- + view.c | 5 ++--- + view.h | 2 +- + xdg_shell.c | 1 - + xwayland.c | 1 - + 11 files changed, 37 insertions(+), 32 deletions(-) + +diff --git a/cage.c b/cage.c +index 5392535..f9db7a9 100644 +--- a/cage.c ++++ b/cage.c +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -261,7 +262,6 @@ main(int argc, char *argv[]) + struct wl_event_source *sigint_source = NULL; + struct wl_event_source *sigterm_source = NULL; + struct wl_event_source *sigchld_source = NULL; +- struct wlr_renderer *renderer = NULL; + struct wlr_compositor *compositor = NULL; + struct wlr_data_device_manager *data_device_manager = NULL; + struct wlr_server_decoration_manager *server_decoration_manager = NULL; +@@ -316,8 +316,21 @@ main(int argc, char *argv[]) + goto end; + } + +- renderer = wlr_backend_get_renderer(server.backend); +- wlr_renderer_init_wl_display(renderer, server.wl_display); ++ server.renderer = wlr_renderer_autocreate(server.backend); ++ if (!server.renderer) { ++ wlr_log(WLR_ERROR, "Unable to create the wlroots renderer"); ++ ret = 1; ++ goto end; ++ } ++ ++ server.allocator = wlr_allocator_autocreate(server.backend, server.renderer); ++ if (!server.allocator) { ++ wlr_log(WLR_ERROR, "Unable to create the wlroots allocator"); ++ ret = 1; ++ goto end; ++ } ++ ++ wlr_renderer_init_wl_display(server.renderer, server.wl_display); + + wl_list_init(&server.views); + wl_list_init(&server.outputs); +@@ -329,7 +342,7 @@ main(int argc, char *argv[]) + goto end; + } + +- compositor = wlr_compositor_create(server.wl_display, renderer); ++ compositor = wlr_compositor_create(server.wl_display, server.renderer); + if (!compositor) { + wlr_log(WLR_ERROR, "Unable to create the wlroots compositor"); + ret = 1; +diff --git a/meson.build b/meson.build +index 3a84794..f2e5428 100644 +--- a/meson.build ++++ b/meson.build +@@ -34,7 +34,7 @@ if is_freebsd + ) + endif + +-wlroots = dependency('wlroots', version: '>= 0.14.0') ++wlroots = dependency('wlroots', version: '>= 0.15.0') + wayland_protos = dependency('wayland-protocols', version: '>=1.14') + wayland_server = dependency('wayland-server') + pixman = dependency('pixman-1') +diff --git a/output.c b/output.c +index d8da3b9..e8b3a22 100644 +--- a/output.c ++++ b/output.c +@@ -442,6 +442,11 @@ handle_new_output(struct wl_listener *listener, void *data) + struct cg_server *server = wl_container_of(listener, server, new_output); + struct wlr_output *wlr_output = data; + ++ if (!wlr_output_init_render(wlr_output, server->allocator, server->renderer)) { ++ wlr_log(WLR_ERROR, "Failed to initialize output rendering"); ++ return; ++ } ++ + struct cg_output *output = calloc(1, sizeof(struct cg_output)); + if (!output) { + wlr_log(WLR_ERROR, "Failed to allocate output"); +diff --git a/render.c b/render.c +index 166a088..ffa960f 100644 +--- a/render.c ++++ b/render.c +@@ -10,11 +10,11 @@ + #include + #include + #include +-#include + #include + #include + #include + #include ++#include + #include + #include + +@@ -27,8 +27,6 @@ + static void + scissor_output(struct wlr_output *output, pixman_box32_t *rect) + { +- struct wlr_renderer *renderer = wlr_backend_get_renderer(output->backend); +- + struct wlr_box box = { + .x = rect->x1, + .y = rect->y1, +@@ -41,7 +39,7 @@ scissor_output(struct wlr_output *output, pixman_box32_t *rect) + enum wl_output_transform transform = wlr_output_transform_invert(output->transform); + wlr_box_transform(&box, &box, transform, output_width, output_height); + +- wlr_renderer_scissor(renderer, &box); ++ wlr_renderer_scissor(output->renderer, &box); + } + + struct render_data { +@@ -52,8 +50,6 @@ static void + render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, struct wlr_texture *texture, + const struct wlr_box *box, const float matrix[static 9]) + { +- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); +- + pixman_region32_t damage; + pixman_region32_init(&damage); + pixman_region32_union_rect(&damage, &damage, box->x, box->y, box->width, box->height); +@@ -66,7 +62,7 @@ render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, + pixman_box32_t *rects = pixman_region32_rectangles(&damage, &nrects); + for (int i = 0; i < nrects; i++) { + scissor_output(wlr_output, &rects[i]); +- wlr_render_texture_with_matrix(renderer, texture, matrix, 1.0f); ++ wlr_render_texture_with_matrix(wlr_output->renderer, texture, matrix, 1.0f); + } + + damage_finish: +@@ -134,13 +130,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + struct cg_server *server = output->server; + struct wlr_output *wlr_output = output->wlr_output; + +- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); +- if (!renderer) { +- wlr_log(WLR_DEBUG, "Expected the output backend to have a renderer"); +- return; +- } +- +- wlr_renderer_begin(renderer, wlr_output->width, wlr_output->height); ++ wlr_renderer_begin(server->renderer, wlr_output->width, wlr_output->height); + + if (!pixman_region32_not_empty(damage)) { + wlr_log(WLR_DEBUG, "Output isn't damaged but needs a buffer swap"); +@@ -149,7 +139,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + + #ifdef DEBUG + if (server->debug_damage_tracking) { +- wlr_renderer_clear(renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); ++ wlr_renderer_clear(server->renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); + } + #endif + +@@ -158,7 +148,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + pixman_box32_t *rects = pixman_region32_rectangles(damage, &nrects); + for (int i = 0; i < nrects; i++) { + scissor_output(wlr_output, &rects[i]); +- wlr_renderer_clear(renderer, color); ++ wlr_renderer_clear(server->renderer, color); + } + + // TODO: render only top view, possibly use focused view for this, see #35. +@@ -178,8 +168,8 @@ renderer_end: + /* Draw software cursor in case hardware cursors aren't + available. This is a no-op when they are. */ + wlr_output_render_software_cursors(wlr_output, damage); +- wlr_renderer_scissor(renderer, NULL); +- wlr_renderer_end(renderer); ++ wlr_renderer_scissor(server->renderer, NULL); ++ wlr_renderer_end(server->renderer); + + int output_width, output_height; + wlr_output_transformed_resolution(wlr_output, &output_width, &output_height); +diff --git a/server.h b/server.h +index 817637b..74970c5 100644 +--- a/server.h ++++ b/server.h +@@ -25,6 +25,8 @@ struct cg_server { + struct wl_display *wl_display; + struct wl_list views; + struct wlr_backend *backend; ++ struct wlr_renderer *renderer; ++ struct wlr_allocator *allocator; + + struct cg_seat *seat; + struct wlr_idle *idle; +diff --git a/util.c b/util.c +index 95de499..714c7e3 100644 +--- a/util.c ++++ b/util.c +@@ -6,8 +6,6 @@ + * See the LICENSE file accompanying this file. + */ + +-#include +- + #include "util.h" + + int +diff --git a/util.h b/util.h +index db6bc7d..b6281f3 100644 +--- a/util.h ++++ b/util.h +@@ -1,7 +1,7 @@ + #ifndef CG_UTIL_H + #define CG_UTIL_H + +-#include ++#include + + /** Apply scale to a width or height. */ + int scale_length(int length, int offset, float scale); +diff --git a/view.c b/view.c +index 3f3b0ed..33b59b4 100644 +--- a/view.c ++++ b/view.c +@@ -12,7 +12,6 @@ + #include + #include + #include +-#include + #include + #include + +@@ -235,10 +234,10 @@ view_map(struct cg_view *view, struct wlr_surface *surface) + view->wlr_surface = surface; + + struct wlr_subsurface *subsurface; +- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_below, parent_link) { ++ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_below, current.link) { + subsurface_create(view, subsurface); + } +- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_above, parent_link) { ++ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_above, current.link) { + subsurface_create(view, subsurface); + } + +diff --git a/view.h b/view.h +index cd16e42..87477d0 100644 +--- a/view.h ++++ b/view.h +@@ -5,9 +5,9 @@ + + #include + #include +-#include + #include + #include ++#include + #if CAGE_HAS_XWAYLAND + #include + #endif +diff --git a/xdg_shell.c b/xdg_shell.c +index 2e42347..d676552 100644 +--- a/xdg_shell.c ++++ b/xdg_shell.c +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + +diff --git a/xwayland.c b/xwayland.c +index 2aae0f9..ebd8e54 100644 +--- a/xwayland.c ++++ b/xwayland.c +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + +-- +2.36.0 + From arnout at mind.be Mon Apr 25 20:04:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:04:48 +0200 Subject: [Buildroot] [PATCH v2 1/4] package/wilc1000-firmware: bump to 15.6 In-Reply-To: <20220422223611.10443-2-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-2-kris@embeddedTS.com> Message-ID: <9223c80f-61a0-985f-7aba-fa6128286fa9@mind.be> On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > Supports both WILC1000 (Wi-Fi only) and WILC3000 (Wi-Fi/BLE) hardware. > > To support WILC3000 this commit adds a separate config option, > the original config option from this package is still valid. > > License information copied from Microchip's buildroot-external > project. > > Signed-off-by: Kris Bahnsen Applied to master, thanks, but with a few changes, see below. [snip] > diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc1000-firmware/wilc1000-firmware.hash > index 5344efe517..9d55be9edc 100644 > --- a/package/wilc1000-firmware/wilc1000-firmware.hash > +++ b/package/wilc1000-firmware/wilc1000-firmware.hash > @@ -1,2 +1,2 @@ > # Locally calculated > -sha256 a2e7a327dd545ba2051946f7613005cbde88fdd952afb8eecdd1dacda7e767d2 v14.1_Firmware.zip > +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz Hash for the license file you added was missing. > diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc1000-firmware/wilc1000-firmware.mk > index 6f504d67a0..0af81c7110 100644 > --- a/package/wilc1000-firmware/wilc1000-firmware.mk > +++ b/package/wilc1000-firmware/wilc1000-firmware.mk > @@ -4,21 +4,32 @@ > # > ################################################################################ > > -WILC1000_FIRMWARE_VERSION = 14.1 > -WILC1000_FIRMWARE_SITE = https://github.com/linux4sc/wireless-firmware/archive > -WILC1000_FIRMWARE_SOURCE = v$(WILC1000_FIRMWARE_VERSION)_Firmware.zip > +WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 > +WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) > > -WILC1000_FIRMWARE_LICENSE = PROPRIETARY > +WILC1000_FIRMWARE_LICENSE = Microchip firmware We actually use proprietary to mark any non-open-source license. The idea is that SPDX is uses for the LICENSE variable (with an exception: adding + instead of -or-later, and no -only). This is not done consistently, but I don't want to go in the wrong direction :-). And maybe there's something to be said for using a more descriptive license name than proprietary, but this shouldn't be snuck in with a version bump. Regards, Arnout > +WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw > > -define WILC1000_FIRMWARE_EXTRACT_CMDS > - $(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE) > - mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D) > - rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware > +ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) > +WILC1000_FIRMWARE_FILES += \ > + wilc1000_wifi_firmware.bin > +endif > + > +ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) > +WILC1000_FIRMWARE_FILES += \ > + wilc3000_ble_firmware.bin \ > + wilc3000_wifi_firmware.bin > +endif > + > +define WILC1000_FIRMWARE_INSTALL_FILES > + cd $(@D) && \ > + $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ > + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp > endef > > define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS > - $(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \ > - $(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin > + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ > + $(WILC1000_FIRMWARE_INSTALL_FILES) > endef > > $(eval $(generic-package)) From arnout at mind.be Mon Apr 25 20:06:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:06:39 +0200 Subject: [Buildroot] [PATCH v2 2/4] package/wilc-firmware: rename from wilc1000-firmware In-Reply-To: <20220422223611.10443-3-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-3-kris@embeddedTS.com> Message-ID: On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > Separates out WILC1000 and WILC3000 in to individual config options > since in reality only one or the other set would be needed. > > Signed-off-by: Kris Bahnsen > --- > DEVELOPERS | 5 ++++- > package/Config.in | 2 +- > .../{wilc1000-firmware => wilc-firmware}/Config.in | 9 +++++++-- > .../wilc-firmware.hash} | 2 +- > .../wilc-firmware.mk} | 22 +++++++++++----------- > 5 files changed, 24 insertions(+), 16 deletions(-) > rename package/{wilc1000-firmware => wilc-firmware}/Config.in (82%) > rename package/{wilc1000-firmware/wilc1000-firmware.hash => wilc-firmware/wilc-firmware.hash} (62%) > rename package/{wilc1000-firmware/wilc1000-firmware.mk => wilc-firmware/wilc-firmware.mk} (51%) > > diff --git a/DEVELOPERS b/DEVELOPERS > index ca9decb58f..fc0f52edf5 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -1662,6 +1662,9 @@ F: board/octavo/osd32mp1-red/ > F: configs/octavo_osd32mp1_brk_defconfig > F: configs/octavo_osd32mp1_red_defconfig > > +N: Kris Bahnsen > +F: package/wilc-firmware/ > + > N: Kurt Van Dijck > F: package/bcusdk/ > F: package/libpthsem/ > @@ -1759,7 +1762,7 @@ F: package/python-json-schema-validator/ > F: package/python-keyring/ > F: package/python-simplejson/ > F: package/python-versiontools/ > -F: package/wilc1000-firmware/ > +F: package/wilc-firmware/ > > N: Maeva Manuel > F: board/freescale/imx8qmmek/ > diff --git a/package/Config.in b/package/Config.in > index 24f7af5ea8..1ff7f4cc66 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -432,7 +432,7 @@ menu "Firmware" > source "package/sunxi-boards/Config.in" > source "package/ts4900-fpga/Config.in" > source "package/ux500-firmware/Config.in" > - source "package/wilc1000-firmware/Config.in" > + source "package/wilc-firmware/Config.in" > source "package/wilink-bt-firmware/Config.in" > source "package/zd1211-firmware/Config.in" > endmenu > diff --git a/package/wilc1000-firmware/Config.in b/package/wilc-firmware/Config.in > similarity index 82% > rename from package/wilc1000-firmware/Config.in > rename to package/wilc-firmware/Config.in > index 0734c7ad99..72a9c73206 100644 > --- a/package/wilc1000-firmware/Config.in > +++ b/package/wilc-firmware/Config.in > @@ -1,5 +1,11 @@ > +config BR2_PACKAGE_WILC_FIRMWARE > + bool > + help > + Provider package for WILC1000_FIRMWARE & WILC3000_FIRMWARE > + > config BR2_PACKAGE_WILC1000_FIRMWARE > bool "wilc1000-firmware" > + select BR2_PACKAGE_WILC_FIRMWARE This is not how we normally do thing. We normally have a package with sub-options: config BR2_PACKAGE_FOO ... if BR2_PACKAGE_FOO config BR2_PACKAGE_FOO_WLC1000 config BR2_PACKAGE_FOO_WLC3000 endif However, the approach you took is pretty elegant, and I don't see anything wrong with it. So in the end I applied as is. Regards, Arnout > help > Firmware for Microchip WILC1000 wireless device > > @@ -12,9 +18,9 @@ config BR2_PACKAGE_WILC1000_FIRMWARE > > https://github.com/linux4wilc/firmware > > -if BR2_PACKAGE_WILC1000_FIRMWARE > config BR2_PACKAGE_WILC3000_FIRMWARE > bool "wilc3000-firmware" > + select BR2_PACKAGE_WILC_FIRMWARE > help > Firmware for Microchip WILC3000 wireless device > > @@ -26,4 +32,3 @@ config BR2_PACKAGE_WILC3000_FIRMWARE > These will be installed to /lib/firmware/mchp/ > > https://github.com/linux4wilc/firmware > -endif > diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc-firmware/wilc-firmware.hash > similarity index 62% > rename from package/wilc1000-firmware/wilc1000-firmware.hash > rename to package/wilc-firmware/wilc-firmware.hash > index 9d55be9edc..2f1fc9964d 100644 > --- a/package/wilc1000-firmware/wilc1000-firmware.hash > +++ b/package/wilc-firmware/wilc-firmware.hash > @@ -1,2 +1,2 @@ > # Locally calculated > -sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz > +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc-firmware-wilc_linux_15_6.tar.gz > diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc-firmware/wilc-firmware.mk > similarity index 51% > rename from package/wilc1000-firmware/wilc1000-firmware.mk > rename to package/wilc-firmware/wilc-firmware.mk > index 0af81c7110..19185bcb9b 100644 > --- a/package/wilc1000-firmware/wilc1000-firmware.mk > +++ b/package/wilc-firmware/wilc-firmware.mk > @@ -1,35 +1,35 @@ > ################################################################################ > # > -# wilc1000-firmware > +# wilc-firmware > # > ################################################################################ > > -WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 > -WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) > +WILC_FIRMWARE_VERSION = wilc_linux_15_6 > +WILC_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC_FIRMWARE_VERSION)) > > -WILC1000_FIRMWARE_LICENSE = Microchip firmware > -WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw > +WILC_FIRMWARE_LICENSE = Microchip firmware > +WILC_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw > > ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) > -WILC1000_FIRMWARE_FILES += \ > +WILC_FIRMWARE_FILES += \ > wilc1000_wifi_firmware.bin > endif > > ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) > -WILC1000_FIRMWARE_FILES += \ > +WILC_FIRMWARE_FILES += \ > wilc3000_ble_firmware.bin \ > wilc3000_wifi_firmware.bin > endif > > -define WILC1000_FIRMWARE_INSTALL_FILES > +define WILC_FIRMWARE_INSTALL_FILES > cd $(@D) && \ > - $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ > + $(TAR) cf install.tar $(sort $(WILC_FIRMWARE_FILES)) && \ > $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp > endef > > -define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS > +define WILC_FIRMWARE_INSTALL_TARGET_CMDS > $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ > - $(WILC1000_FIRMWARE_INSTALL_FILES) > + $(WILC_FIRMWARE_INSTALL_FILES) > endef > > $(eval $(generic-package)) From arnout at mind.be Mon Apr 25 20:07:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:07:31 +0200 Subject: [Buildroot] [PATCH v2 3/4] configs: add WILC3000_FIRMWARE to compatible devices In-Reply-To: <20220422223611.10443-4-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-4-kris@embeddedTS.com> Message-ID: <81c16e83-25d8-d047-4752-b33daa2e91f4@mind.be> On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > The update to wilc-firmware added firmware files for WILC3000 > devices as a separate config option. All Atmel/Microchip defconfigs > that previously only had WILC1000_FIRMWARE either have WILC3000 > Wi-Fi hardware (WILC3000 is the same silicon but with BLE added) For the ones which have a WILC3000, there's no point to include the WILC1000 firmware, right? Anyway, applied to master as is, thanks. Can be fixed up later. Regards, Arnout > or have the capacity to have either WILC1000 or WILC3000 devices > added to the system. Install all firmware blobs to these devices > by default. > > Signed-off-by: Kris Bahnsen > --- > configs/at91sam9x5ek_dev_defconfig | 1 + > configs/at91sam9x5ek_mmc_dev_defconfig | 1 + > configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + > configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + > configs/atmel_sama5d3_xplained_dev_defconfig | 1 + > configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + > configs/atmel_sama5d4_xplained_dev_defconfig | 1 + > configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + > configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + > configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + > configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + > configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + > 12 files changed, 12 insertions(+) > > diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig > index bfa8e95941..8714463d89 100644 > --- a/configs/at91sam9x5ek_dev_defconfig > +++ b/configs/at91sam9x5ek_dev_defconfig > @@ -47,6 +47,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig > index 2e1a5c7f59..9481594716 100644 > --- a/configs/at91sam9x5ek_mmc_dev_defconfig > +++ b/configs/at91sam9x5ek_mmc_dev_defconfig > @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > index ba2fa46790..38618a5732 100644 > --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > +++ b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_RNG_TOOLS=y > diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > index a8b68ca0a2..1654408aa5 100644 > --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > +++ b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig > index cdfd9de17e..64455cb2e0 100644 > --- a/configs/atmel_sama5d3_xplained_dev_defconfig > +++ b/configs/atmel_sama5d3_xplained_dev_defconfig > @@ -49,6 +49,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > index a2205aeefa..8f5724d631 100644 > --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > +++ b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > @@ -52,6 +52,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig > index f8783f5652..fab91cf0b3 100644 > --- a/configs/atmel_sama5d4_xplained_dev_defconfig > +++ b/configs/atmel_sama5d4_xplained_dev_defconfig > @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > index b4e99f658a..f9074e9862 100644 > --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > +++ b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig > index 06e03967c4..2b4e234297 100644 > --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig > +++ b/configs/microchip_sam9x60ek_mmc_dev_defconfig > @@ -36,6 +36,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > index 3bcd5f0200..f9aa6cdc05 100644 > --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > +++ b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig > index 27d1d3409d..b1b22c1312 100644 > --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig > +++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig > @@ -32,6 +32,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_SETSERIAL=y > BR2_PACKAGE_SPI_TOOLS=y > diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig > index 6eb6c282e0..d68846e553 100644 > --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig > +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig > @@ -30,6 +30,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_RNG_TOOLS=y > # BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set From arnout at mind.be Mon Apr 25 20:08:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:08:14 +0200 Subject: [Buildroot] [PATCH v2 4/4] package/wilc-driver: new package In-Reply-To: <20220422223611.10443-5-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-5-kris@embeddedTS.com> Message-ID: On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > WILC1000/3000 driver pulled from at91-linux tree set-up to be built > as an external module. Upstream Linux kernel does not support > WILC3000 features at this time. This package is intended to bridge > that gap until WILC1000/3000 is fully supported in kernel. > > Signed-off-by: Kris Bahnsen [snip] > diff --git a/package/wilc-driver/wilc-driver.hash b/package/wilc-driver/wilc-driver.hash > new file mode 100644 > index 0000000000..b51591e8d8 > --- /dev/null > +++ b/package/wilc-driver/wilc-driver.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 4796b1a53781f8702a335b0146d488a9422b71dab39f6f154f955b0ad1711199 wilc-driver-linux4microchip-2021.10-1.tar.gz Hash for license file missing again. Applied to master with that fixed, thanks. Regards, Arnout > diff --git a/package/wilc-driver/wilc-driver.mk b/package/wilc-driver/wilc-driver.mk > new file mode 100644 > index 0000000000..a89af30e29 > --- /dev/null > +++ b/package/wilc-driver/wilc-driver.mk > @@ -0,0 +1,29 @@ > +################################################################################ > +# > +# wilc-driver > +# > +################################################################################ > + > +WILC_DRIVER_VERSION = linux4microchip-2021.10-1 > +WILC_DRIVER_SITE = $(call github,embeddedTS,wilc3000-external-module,$(WILC_DRIVER_VERSION)) > + > +WILC_DRIVER_LICENSE = GPL-2.0 > +WILC_DRIVER_LICENSE_FILES = LICENSE > + > +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SPI),y) > +WILC_DRIVER_MODULE_MAKE_OPTS += \ > + CONFIG_WILC_SPI=m > +endif > + > +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO),y) > +WILC_DRIVER_MODULE_MAKE_OPTS += \ > + CONFIG_WILC_SDIO=m > +endif > + > +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO_OOB),y) > +WILC_DRIVER_MODULE_MAKE_OPTS += \ > + CONFIG_WILC_HW_OOB_INTR=y > +endif > + > +$(eval $(kernel-module)) > +$(eval $(generic-package)) From arnout at mind.be Mon Apr 25 19:53:03 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:53:03 +0200 Subject: [Buildroot] [git commit] package/wilc-firmware: rename from wilc1000-firmware Message-ID: <20220425195846.F1509843C9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=244f607f4c4a2e0609d1fb8e8b62c4ae751b8136 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Separates out WILC1000 and WILC3000 in to individual config options since in reality only one or the other set would be needed. Signed-off-by: Kris Bahnsen Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 5 ++++- package/Config.in | 2 +- .../{wilc1000-firmware => wilc-firmware}/Config.in | 9 +++++++-- .../wilc-firmware.hash} | 2 +- .../wilc-firmware.mk} | 22 +++++++++++----------- 5 files changed, 24 insertions(+), 16 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 1bb90f8f33..ff9f787e9c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1662,6 +1662,9 @@ F: board/octavo/osd32mp1-red/ F: configs/octavo_osd32mp1_brk_defconfig F: configs/octavo_osd32mp1_red_defconfig +N: Kris Bahnsen +F: package/wilc-firmware/ + N: Kurt Van Dijck F: package/bcusdk/ F: package/libpthsem/ @@ -1759,7 +1762,7 @@ F: package/python-json-schema-validator/ F: package/python-keyring/ F: package/python-simplejson/ F: package/python-versiontools/ -F: package/wilc1000-firmware/ +F: package/wilc-firmware/ N: Maeva Manuel F: board/freescale/imx8qmmek/ diff --git a/package/Config.in b/package/Config.in index bee1590e85..7d03bc51d7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -432,7 +432,7 @@ menu "Firmware" source "package/sunxi-boards/Config.in" source "package/ts4900-fpga/Config.in" source "package/ux500-firmware/Config.in" - source "package/wilc1000-firmware/Config.in" + source "package/wilc-firmware/Config.in" source "package/wilink-bt-firmware/Config.in" source "package/zd1211-firmware/Config.in" endmenu diff --git a/package/wilc1000-firmware/Config.in b/package/wilc-firmware/Config.in similarity index 82% rename from package/wilc1000-firmware/Config.in rename to package/wilc-firmware/Config.in index 0734c7ad99..72a9c73206 100644 --- a/package/wilc1000-firmware/Config.in +++ b/package/wilc-firmware/Config.in @@ -1,5 +1,11 @@ +config BR2_PACKAGE_WILC_FIRMWARE + bool + help + Provider package for WILC1000_FIRMWARE & WILC3000_FIRMWARE + config BR2_PACKAGE_WILC1000_FIRMWARE bool "wilc1000-firmware" + select BR2_PACKAGE_WILC_FIRMWARE help Firmware for Microchip WILC1000 wireless device @@ -12,9 +18,9 @@ config BR2_PACKAGE_WILC1000_FIRMWARE https://github.com/linux4wilc/firmware -if BR2_PACKAGE_WILC1000_FIRMWARE config BR2_PACKAGE_WILC3000_FIRMWARE bool "wilc3000-firmware" + select BR2_PACKAGE_WILC_FIRMWARE help Firmware for Microchip WILC3000 wireless device @@ -26,4 +32,3 @@ config BR2_PACKAGE_WILC3000_FIRMWARE These will be installed to /lib/firmware/mchp/ https://github.com/linux4wilc/firmware -endif diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc-firmware/wilc-firmware.hash similarity index 77% rename from package/wilc1000-firmware/wilc1000-firmware.hash rename to package/wilc-firmware/wilc-firmware.hash index ef82dcdc45..874766aec0 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.hash +++ b/package/wilc-firmware/wilc-firmware.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc-firmware-wilc_linux_15_6.tar.gz sha256 71355eee947a312594dbdaac039827544f93d23949b65c356b7b0ce09e2600fb LICENSE.wilc_fw diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc-firmware/wilc-firmware.mk similarity index 51% rename from package/wilc1000-firmware/wilc1000-firmware.mk rename to package/wilc-firmware/wilc-firmware.mk index a071272129..1a7ceca18e 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.mk +++ b/package/wilc-firmware/wilc-firmware.mk @@ -1,35 +1,35 @@ ################################################################################ # -# wilc1000-firmware +# wilc-firmware # ################################################################################ -WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 -WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) +WILC_FIRMWARE_VERSION = wilc_linux_15_6 +WILC_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC_FIRMWARE_VERSION)) -WILC1000_FIRMWARE_LICENSE = PROPRIETARY -WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw +WILC_FIRMWARE_LICENSE = PROPRIETARY +WILC_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) -WILC1000_FIRMWARE_FILES += \ +WILC_FIRMWARE_FILES += \ wilc1000_wifi_firmware.bin endif ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) -WILC1000_FIRMWARE_FILES += \ +WILC_FIRMWARE_FILES += \ wilc3000_ble_firmware.bin \ wilc3000_wifi_firmware.bin endif -define WILC1000_FIRMWARE_INSTALL_FILES +define WILC_FIRMWARE_INSTALL_FILES cd $(@D) && \ - $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ + $(TAR) cf install.tar $(sort $(WILC_FIRMWARE_FILES)) && \ $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp endef -define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS +define WILC_FIRMWARE_INSTALL_TARGET_CMDS $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ - $(WILC1000_FIRMWARE_INSTALL_FILES) + $(WILC_FIRMWARE_INSTALL_FILES) endef $(eval $(generic-package)) From arnout at mind.be Mon Apr 25 19:54:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:54:52 +0200 Subject: [Buildroot] [git commit] configs: add WILC3000_FIRMWARE to compatible devices Message-ID: <20220425195847.08E18843C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=93a80ea44609cde6dc51ca3ca93d0dd095734d90 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The update to wilc-firmware added firmware files for WILC3000 devices as a separate config option. All Atmel/Microchip defconfigs that previously only had WILC1000_FIRMWARE either have WILC3000 Wi-Fi hardware (WILC3000 is the same silicon but with BLE added) or have the capacity to have either WILC1000 or WILC3000 devices added to the system. Install all firmware blobs to these devices by default. Signed-off-by: Kris Bahnsen Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/at91sam9x5ek_dev_defconfig | 1 + configs/at91sam9x5ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + 12 files changed, 12 insertions(+) diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig index bfa8e95941..8714463d89 100644 --- a/configs/at91sam9x5ek_dev_defconfig +++ b/configs/at91sam9x5ek_dev_defconfig @@ -47,6 +47,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig index 2e1a5c7f59..9481594716 100644 --- a/configs/at91sam9x5ek_mmc_dev_defconfig +++ b/configs/at91sam9x5ek_mmc_dev_defconfig @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig index ba2fa46790..38618a5732 100644 --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +++ b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_RNG_TOOLS=y diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig index a8b68ca0a2..1654408aa5 100644 --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig index cdfd9de17e..64455cb2e0 100644 --- a/configs/atmel_sama5d3_xplained_dev_defconfig +++ b/configs/atmel_sama5d3_xplained_dev_defconfig @@ -49,6 +49,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig index a2205aeefa..8f5724d631 100644 --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig @@ -52,6 +52,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig index f8783f5652..fab91cf0b3 100644 --- a/configs/atmel_sama5d4_xplained_dev_defconfig +++ b/configs/atmel_sama5d4_xplained_dev_defconfig @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig index b4e99f658a..f9074e9862 100644 --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig index 06e03967c4..2b4e234297 100644 --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig +++ b/configs/microchip_sam9x60ek_mmc_dev_defconfig @@ -36,6 +36,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig index 3bcd5f0200..f9aa6cdc05 100644 --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig +++ b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig index 27d1d3409d..b1b22c1312 100644 --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig +++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig @@ -32,6 +32,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_SETSERIAL=y BR2_PACKAGE_SPI_TOOLS=y diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig index 6eb6c282e0..d68846e553 100644 --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig @@ -30,6 +30,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_RNG_TOOLS=y # BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set From arnout at mind.be Mon Apr 25 19:51:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:51:46 +0200 Subject: [Buildroot] [git commit] package/wilc1000-firmware: bump to 15.6 Message-ID: <20220425195846.E1635843C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7663482d22d1fc69ede0617845085420143bbad0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Supports both WILC1000 (Wi-Fi only) and WILC3000 (Wi-Fi/BLE) hardware. To support WILC3000 this commit adds a separate config option, the original config option from this package is still valid. This will be refactored in a follow-up commit. There is now a license file. Signed-off-by: Kris Bahnsen [Arnout: keep license as PROPRIETARY and add license file hash] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wilc1000-firmware/Config.in | 27 ++++++++++++++++++++-- package/wilc1000-firmware/wilc1000-firmware.hash | 3 ++- package/wilc1000-firmware/wilc1000-firmware.mk | 29 ++++++++++++++++-------- 3 files changed, 47 insertions(+), 12 deletions(-) diff --git a/package/wilc1000-firmware/Config.in b/package/wilc1000-firmware/Config.in index df8a7a6b60..0734c7ad99 100644 --- a/package/wilc1000-firmware/Config.in +++ b/package/wilc1000-firmware/Config.in @@ -1,6 +1,29 @@ config BR2_PACKAGE_WILC1000_FIRMWARE bool "wilc1000-firmware" help - Firmware for Atmel Wilc1000 wireless device + Firmware for Microchip WILC1000 wireless device - https://github.com/linux4sc/wireless-firmware.git + These binary blobs are provided directly from Microchip. + Ideally, the firmware version should match driver version. + Generally, the latest firmware would be acceptible regardless + of driver version. + + These will be installed to /lib/firmware/mchp/ + + https://github.com/linux4wilc/firmware + +if BR2_PACKAGE_WILC1000_FIRMWARE +config BR2_PACKAGE_WILC3000_FIRMWARE + bool "wilc3000-firmware" + help + Firmware for Microchip WILC3000 wireless device + + These binary blobs are provided directly from Microchip. + Ideally, the firmware version should match driver version. + Generally, the latest firmware would be acceptible regardless + of driver version. + + These will be installed to /lib/firmware/mchp/ + + https://github.com/linux4wilc/firmware +endif diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc1000-firmware/wilc1000-firmware.hash index 5344efe517..ef82dcdc45 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.hash +++ b/package/wilc1000-firmware/wilc1000-firmware.hash @@ -1,2 +1,3 @@ # Locally calculated -sha256 a2e7a327dd545ba2051946f7613005cbde88fdd952afb8eecdd1dacda7e767d2 v14.1_Firmware.zip +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz +sha256 71355eee947a312594dbdaac039827544f93d23949b65c356b7b0ce09e2600fb LICENSE.wilc_fw diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc1000-firmware/wilc1000-firmware.mk index 6f504d67a0..a071272129 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.mk +++ b/package/wilc1000-firmware/wilc1000-firmware.mk @@ -4,21 +4,32 @@ # ################################################################################ -WILC1000_FIRMWARE_VERSION = 14.1 -WILC1000_FIRMWARE_SITE = https://github.com/linux4sc/wireless-firmware/archive -WILC1000_FIRMWARE_SOURCE = v$(WILC1000_FIRMWARE_VERSION)_Firmware.zip +WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 +WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) WILC1000_FIRMWARE_LICENSE = PROPRIETARY +WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw -define WILC1000_FIRMWARE_EXTRACT_CMDS - $(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE) - mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D) - rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware +ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) +WILC1000_FIRMWARE_FILES += \ + wilc1000_wifi_firmware.bin +endif + +ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) +WILC1000_FIRMWARE_FILES += \ + wilc3000_ble_firmware.bin \ + wilc3000_wifi_firmware.bin +endif + +define WILC1000_FIRMWARE_INSTALL_FILES + cd $(@D) && \ + $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp endef define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \ - $(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ + $(WILC1000_FIRMWARE_INSTALL_FILES) endef $(eval $(generic-package)) From arnout at mind.be Mon Apr 25 20:08:41 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:08:41 +0200 Subject: [Buildroot] [git commit] package/wilc-driver: new package Message-ID: <20220425195847.16AA3843C9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f2832d0dfccc931f75c37bb9017749d2e411c872 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master WILC1000/3000 driver pulled from at91-linux tree set-up to be built as an external module. Upstream Linux kernel does not support WILC3000 features at this time. This package is intended to bridge that gap until WILC1000/3000 is fully supported in kernel. Signed-off-by: Kris Bahnsen Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + package/Config.in | 1 + package/wilc-driver/Config.in | 58 ++++++++++++++++++++++++++++++++++++ package/wilc-driver/wilc-driver.hash | 3 ++ package/wilc-driver/wilc-driver.mk | 29 ++++++++++++++++++ 5 files changed, 92 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index ff9f787e9c..2a400fd679 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1664,6 +1664,7 @@ F: configs/octavo_osd32mp1_red_defconfig N: Kris Bahnsen F: package/wilc-firmware/ +F: package/wilc-driver/ N: Kurt Van Dijck F: package/bcusdk/ diff --git a/package/Config.in b/package/Config.in index 7d03bc51d7..1bf458348b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -610,6 +610,7 @@ endmenu source "package/usbutils/Config.in" source "package/w_scan/Config.in" source "package/wf111/Config.in" + source "package/wilc-driver/Config.in" source "package/wipe/Config.in" source "package/xorriso/Config.in" source "package/xr819-xradio/Config.in" diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in new file mode 100644 index 0000000000..caf46ae281 --- /dev/null +++ b/package/wilc-driver/Config.in @@ -0,0 +1,58 @@ +config BR2_PACKAGE_WILC_DRIVER + bool "wilc kernel module" + help + External kernel module for WILC1000/3000 devices. + + wilc kernel driver source as found in Microchip's at91-linux + kernel tree with added Kbuild file to be built as a generic + external module. + + The wilc1000 driver currently maintained in Linux kernel does + not support BLE of the WILC3000 hardware. This package is + meant to bridge that gap until Microchip can get WILC3000 + support upstream. + + Supports both SDIO and SPI modes. + + https://github.com/embeddedTS/wilc3000-external-module + +if BR2_PACKAGE_WILC_DRIVER + +config BR2_PACKAGE_WILC_DRIVER_SPI + bool "SPI" + help + This module adds support for the SPI interface of adapters + using WILC1000/3000 chipset. The WILC1000/3000 has a Serial + Peripheral Interface (SPI) that operates as an SPI slave. + This SPI interface can be used for control and for serial + I/O of 802.11 data. The SPI is a full-duplex slave + synchronous serial interface that is available immediately + following reset when pin 9 (SDIO_SPI_CFG) is tied to VDDIO. + Select this if your platform is using the SPI bus. + +config BR2_PACKAGE_WILC_DRIVER_SDIO + bool "SDIO" + help + This module adds support for the SDIO interface of adapters + using WILC1000/3000 chipset. The WILC1000/3000 SDIO is a full + speed interface. It meets SDIO card specification version 2.0. + The interface supports the 1-bit/4-bit SD transfer mode at the + clock range of 0-50 MHz. The host can use this interface to + read and write from any register within the chip as well as + configure the WILC1000/3000 for data DMA. To use this + interface, pin9 (SDIO_SPI_CFG) must be grounded. Select this + if your platform is using the SDIO bus. + +if BR2_PACKAGE_WILC_DRIVER_SDIO + +config BR2_PACKAGE_WILC_DRIVER_SDIO_OOB + bool "Enable out-of-band interrupt" + help + This option enables out-of-band interrupt support for the + WILC1000/3000 chipset. This OOB interrupt is intended to + provide a faster interrupt mechanism for SDIO host controllers + that don't support SDIO interrupt. Select this option If the + SDIO host controller in your platform doesn't support SDIO + time division interrupt. +endif +endif diff --git a/package/wilc-driver/wilc-driver.hash b/package/wilc-driver/wilc-driver.hash new file mode 100644 index 0000000000..4ada813ed8 --- /dev/null +++ b/package/wilc-driver/wilc-driver.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 4796b1a53781f8702a335b0146d488a9422b71dab39f6f154f955b0ad1711199 wilc-driver-linux4microchip-2021.10-1.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSE diff --git a/package/wilc-driver/wilc-driver.mk b/package/wilc-driver/wilc-driver.mk new file mode 100644 index 0000000000..a89af30e29 --- /dev/null +++ b/package/wilc-driver/wilc-driver.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# wilc-driver +# +################################################################################ + +WILC_DRIVER_VERSION = linux4microchip-2021.10-1 +WILC_DRIVER_SITE = $(call github,embeddedTS,wilc3000-external-module,$(WILC_DRIVER_VERSION)) + +WILC_DRIVER_LICENSE = GPL-2.0 +WILC_DRIVER_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SPI),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_SPI=m +endif + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_SDIO=m +endif + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO_OOB),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_HW_OOB_INTR=y +endif + +$(eval $(kernel-module)) +$(eval $(generic-package)) From kris at embeddedTS.com Mon Apr 25 20:16:29 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Mon, 25 Apr 2022 13:16:29 -0700 Subject: [Buildroot] [PATCH v2 1/4] package/wilc1000-firmware: bump to 15.6 In-Reply-To: <9223c80f-61a0-985f-7aba-fa6128286fa9@mind.be> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-2-kris@embeddedTS.com> <9223c80f-61a0-985f-7aba-fa6128286fa9@mind.be> Message-ID: <1650917789.6000.2.camel@embeddedTS.com> On Mon, 2022-04-25 at 22:04 +0200, Arnout Vandecappelle wrote: [snip] > Hash for the license file you added was missing. [snip] > We actually use proprietary to mark any non-open-source license. The idea is > that SPDX is uses for the LICENSE variable (with an exception: adding + instead > of -or-later, and no -only). This is not done consistently, but I don't want to > go in the wrong direction :-). And maybe there's something to be said for using > a more descriptive license name than proprietary, but this shouldn't be snuck in > with a version bump. I was not aware of either of these details. Thanks for the clarification, I'll keep them in mind for the future! -Kris > > > Regards, > Arnout > > > +WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw > > > > -define WILC1000_FIRMWARE_EXTRACT_CMDS > > - $(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE) > > - mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D) > > - rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware > > +ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) > > +WILC1000_FIRMWARE_FILES += \ > > + wilc1000_wifi_firmware.bin > > +endif > > + > > +ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) > > +WILC1000_FIRMWARE_FILES += \ > > + wilc3000_ble_firmware.bin \ > > + wilc3000_wifi_firmware.bin > > +endif > > + > > +define WILC1000_FIRMWARE_INSTALL_FILES > > + cd $(@D) && \ > > + $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ > > + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp > > endef > > > > define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS > > - $(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \ > > - $(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin > > + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ > > + $(WILC1000_FIRMWARE_INSTALL_FILES) > > endef > > > > $(eval $(generic-package)) > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > From arnout at mind.be Mon Apr 25 20:21:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:21:37 +0200 Subject: [Buildroot] [PATCH v2] package/zfs: bump version to 2.1.4 In-Reply-To: <20220423164855.782309-1-salvador.joseluis@gmail.com> References: <24c989ad-5a35-f874-8629-71eac02ca046@mind.be> <20220423164855.782309-1-salvador.joseluis@gmail.com> Message-ID: <71d41b24-a530-5235-8c4f-4441527cba65@mind.be> On 23/04/2022 18:48, Jos? Luis Salvador Rufo wrote: > package/zfs: bump version to 2.1.4 > > Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > because is already merged. > > Select libcurl as required dependency, because keylocation now > supports https. > > In order to support uClibc, we have added the patch > bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream. > > We update the test cases to use the latest LTS kernel, 5.15.x. > > Signed-off-by: Jos? Luis Salvador Rufo Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - Replace libcurl "depends on" by "select" > - Set the tests to the latest kernel LTS, 5.15.x. 5.17 is the > maximum supported kernel, 3.10 is the minimum. > > ...law-in-the-Python-3-version-checking.patch | 106 ------------------ > package/zfs/Config.in | 1 + > package/zfs/zfs.hash | 5 +- > package/zfs/zfs.mk | 6 +- > support/testing/tests/package/test_zfs.py | 4 +- > 5 files changed, 9 insertions(+), 113 deletions(-) > delete mode 100644 package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > > diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > deleted file mode 100644 > index 70978f9f4d..0000000000 > --- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > +++ /dev/null > @@ -1,106 +0,0 @@ > -From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001 > -From: Rich Ercolani <214141+rincebrain at users.noreply.github.com> > -Date: Tue, 8 Jun 2021 20:20:16 -0400 > -Subject: [PATCH] Correct a flaw in the Python 3 version checking > - > -It turns out the ax_python_devel.m4 version check assumes that > -("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1 > -is 10 or above and X is not. (Also presumably X+1=100 and ...) > - > -So let's remake the check to behave consistently, using the > -"packaging" or (if absent) the "distlib" modules. > - > -(Also, update the Github workflows to use the new packages.) > - > -Reviewed-by: Brian Behlendorf > -Reviewed-by: John Kennedy > -Signed-off-by: Rich Ercolani > -Closes: #12073 > -(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48) > -[Romain: drop rpm spec and github workflows changes] > -Signed-off-by: Romain Naour > ---- > - config/always-pyzfs.m4 | 15 +++++++++++++++ > - config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------ > - 2 files changed, 42 insertions(+), 6 deletions(-) > - > -diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4 > -index 76e07b593..fa39fd885 100644 > ---- a/config/always-pyzfs.m4 > -+++ b/config/always-pyzfs.m4 > -@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [ > - ]) > - AC_SUBST(DEFINE_PYZFS) > - > -+ dnl # > -+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs > -+ dnl # > -+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [ > -+ ZFS_AC_PYTHON_MODULE([packaging], [], [ > -+ ZFS_AC_PYTHON_MODULE([distlib], [], [ > -+ AS_IF([test "x$enable_pyzfs" = xyes], [ > -+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed") > -+ ], [test "x$enable_pyzfs" != xno], [ > -+ enable_pyzfs=no > -+ ]) > -+ ]) > -+ ]) > -+ ]) > -+ > - dnl # > - dnl # Require python-devel libraries > - dnl # > -diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4 > -index c51b45b7d..cdfbbf81f 100644 > ---- a/config/ax_python_devel.m4 > -+++ b/config/ax_python_devel.m4 > -@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ > - # Check for a version of Python >= 2.1.0 > - # > - AC_MSG_CHECKING([for a version of Python >= '2.1.0']) > -- ac_supports_python_ver=`$PYTHON -c "import sys; \ > -- ver = sys.version.split ()[[0]]; \ > -- print (ver >= '2.1.0')"` > -+ ac_supports_python_ver=`cat< -+from __future__ import print_function; > -+import sys; > -+try: > -+ from packaging import version; > -+except ImportError: > -+ from distlib import version; > -+ver = sys.version.split ()[[0]]; > -+(tst_cmp, tst_ver) = ">= '2.1.0'".split (); > -+tst_ver = tst_ver.strip ("'"); > -+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))") > -+EOD` > - if test "$ac_supports_python_ver" != "True"; then > - if test -z "$PYTHON_NOVERSIONCHECK"; then > - AC_MSG_RESULT([no]) > -@@ -126,9 +135,21 @@ to something else than an empty string. > - # > - if test -n "$1"; then > - AC_MSG_CHECKING([for a version of Python $1]) > -- ac_supports_python_ver=`$PYTHON -c "import sys; \ > -- ver = sys.version.split ()[[0]]; \ > -- print (ver $1)"` > -+ # Why the strip ()? Because if we don't, version.parse > -+ # will, for example, report 3.10.0 >= '3.11.0' > -+ ac_supports_python_ver=`cat< -+ > -+from __future__ import print_function; > -+import sys; > -+try: > -+ from packaging import version; > -+except ImportError: > -+ from distlib import version; > -+ver = sys.version.split ()[[0]]; > -+(tst_cmp, tst_ver) = "$1".split (); > -+tst_ver = tst_ver.strip ("'"); > -+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))") > -+EOD` > - if test "$ac_supports_python_ver" = "True"; then > - AC_MSG_RESULT([yes]) > - else > --- > -2.31.1 > - > diff --git a/package/zfs/Config.in b/package/zfs/Config.in > index c766c370e4..6209c5865b 100644 > --- a/package/zfs/Config.in > +++ b/package/zfs/Config.in > @@ -18,6 +18,7 @@ config BR2_PACKAGE_ZFS > select BR2_PACKAGE_LIBAIO > select BR2_PACKAGE_OPENSSL > select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_LIBCURL > help > OpenZFS on Linux and FreeBSD > > diff --git a/package/zfs/zfs.hash b/package/zfs/zfs.hash > index 7f4f5a59f8..411af974c6 100644 > --- a/package/zfs/zfs.hash > +++ b/package/zfs/zfs.hash > @@ -1,5 +1,6 @@ > -# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc > -sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz > +# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc > +sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz > +sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch > > # Hash for license files: > sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE > diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk > index dbda8aceb4..07ce3295ec 100644 > --- a/package/zfs/zfs.mk > +++ b/package/zfs/zfs.mk > @@ -4,17 +4,17 @@ > # > ################################################################################ > > -ZFS_VERSION = 2.0.5 > +ZFS_VERSION = 2.1.4 > ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION) > +ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch > ZFS_LICENSE = CDDL > ZFS_LICENSE_FILES = LICENSE COPYRIGHT > ZFS_CPE_ID_VENDOR = openzfs > ZFS_CPE_ID_PRODUCT = openzfs > > -# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > ZFS_AUTORECONF = YES > > -ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib > +ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl > > # sysvinit installs only a commented-out modules-load.d/ config file > ZFS_CONF_OPTS = \ > diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py > index 772a66c1e4..706934ca65 100644 > --- a/support/testing/tests/package/test_zfs.py > +++ b/support/testing/tests/package/test_zfs.py > @@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest): > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" > + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" > BR2_PACKAGE_ZFS=y > @@ -70,7 +70,7 @@ class TestZfsUclibc(infra.basetest.BRTest): > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" > + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" > BR2_PACKAGE_ZFS=y From arnout at mind.be Mon Apr 25 20:21:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:21:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/netatalk: fix build with libressl In-Reply-To: <20220423153310.2443908-1-fontaine.fabrice@gmail.com> References: <20220423153310.2443908-1-fontaine.fabrice@gmail.com> Message-ID: <5429fafa-4b40-5559-ce6d-bd8adb18f315@mind.be> On 23/04/2022 17:33, Fabrice Fontaine wrote: > Fix the following build failure with libressl >= 2.7.0: > > In file included from uams_dhx_passwd.c:35: > openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration > 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) > | ^~~~~~~~~~~ > In file included from uams_dhx_passwd.c:33: > /home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here > 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ..._compat.h-fix-build-with-libressl-2..patch | 43 +++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch > > diff --git a/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch > new file mode 100644 > index 0000000000..05913862f6 > --- /dev/null > +++ b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch > @@ -0,0 +1,43 @@ > +From 58ddc137021a938f37c3794305a839f8df449d3f Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 5 Apr 2022 23:59:15 +0200 > +Subject: [PATCH] etc/uams/openssl_compat.h: fix build with libressl >= 2.7.0 > + > +Fix the following build failure with libressl >= 2.7.0 which added > +DH_set0_pqg with > +https://github.com/libressl-portable/openbsd/commit/848e2a019c796b685fc8c5848283b86e48fbe0bf: > + > +In file included from uams_dhx_passwd.c:35: > +openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration > + 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) > + | ^~~~~~~~~~~ > +In file included from uams_dhx_passwd.c:33: > +/home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here > + 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); > + | ^~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: not sent yet] > +--- > + etc/uams/openssl_compat.h | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/etc/uams/openssl_compat.h b/etc/uams/openssl_compat.h > +index ded377bc..5cc8de34 100644 > +--- a/etc/uams/openssl_compat.h > ++++ b/etc/uams/openssl_compat.h > +@@ -11,7 +11,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt > + #ifndef OPENSSL_COMPAT_H > + #define OPENSSL_COMPAT_H > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) > + inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) > + { > + /* If the fields p and g in d are NULL, the corresponding input > +-- > +2.35.1 > + From bernd.kuhls at t-online.de Mon Apr 25 20:22:05 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Mon, 25 Apr 2022 22:22:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-inputstream-adaptive: bump version to 19.0.4-Matrix Message-ID: <20220425202205.17362-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- .../kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash | 2 +- package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash index 74aefe2138..36294274f2 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 1549422ac1386929dfc1a479898d6311440d1f8bfd1bc94e1fe5da9cc2db805c kodi-inputstream-adaptive-19.0.3-Matrix.tar.gz +sha256 eef7660e9306854282ccc8b994ffc38b2fe1e62e155d883cfa346bddc84b595b kodi-inputstream-adaptive-19.0.4-Matrix.tar.gz sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk index 83ac897037..ed85d21684 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.3-Matrix +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.4-Matrix KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPL-2.0+ KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = LICENSE.GPL -- 2.30.2 From arnout at mind.be Mon Apr 25 20:22:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:22:19 +0200 Subject: [Buildroot] [PATCH] configs/arm_foundationv8: bump to Linux 5.16.20 In-Reply-To: <20220423164641.28675-1-vincent.stehle@laposte.net> References: <20220423164641.28675-1-vincent.stehle@laposte.net> Message-ID: <41194648-11ba-c12f-ab86-f748025c4b49@mind.be> On 23/04/2022 18:46, Vincent Stehl? via buildroot wrote: > Signed-off-by: Vincent Stehl? > Cc: Masahiro Yamada Applied to master, thanks. Regards, Arnout > --- > > Hi, > > I have tested it successfully with both FVP v8 Foundation Platforms 11.12 build > 38 and 11.14 build 21. > > Best regards, > Vincent. > > configs/arm_foundationv8_defconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig > index 363f288b87..3c63f5dc76 100644 > --- a/configs/arm_foundationv8_defconfig > +++ b/configs/arm_foundationv8_defconfig > @@ -1,10 +1,10 @@ > BR2_aarch64=y > -# Linux headers same as kernel, a 5.9 series > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y > +# Linux headers same as kernel, a 5.16 series > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y > BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.11" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.20" > BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y > BR2_LINUX_KERNEL_DTS_SUPPORT=y > BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8-gicv3-psci" From arnout at mind.be Mon Apr 25 20:23:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:23:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-zopfli: needs C++ In-Reply-To: <20220423170624.991570-1-fontaine.fabrice@gmail.com> References: <20220423170624.991570-1-fontaine.fabrice@gmail.com> Message-ID: <27a8a8ed-5422-77ac-3e56-e0a5c8be92ca@mind.be> On 23/04/2022 19:06, Fabrice Fontaine wrote: > python-zopfli needs C++ since its addition in commit > 53972c82964dd1337dff4ccbcdd484d243aef0ba: > > nios2-buildroot-linux-gnu-gcc.br_real: error: zopfli/src/zopflipng/lodepng/lodepng.cpp: C++ compiler not installed on this system > > Fixes: > - http://autobuild.buildroot.org/results/442ae4a02e691b4039d1694620f6284906cdc97f > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/python-weasyprint/Config.in | 2 +- > package/python-zopfli/Config.in | 4 ++++ > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in > index 7fe99c3951..18d72d742e 100644 > --- a/package/python-weasyprint/Config.in > +++ b/package/python-weasyprint/Config.in > @@ -1,6 +1,6 @@ > config BR2_PACKAGE_PYTHON_WEASYPRINT > bool "python-weasyprint" > - depends on BR2_INSTALL_LIBSTDCPP # python-brotli > + depends on BR2_INSTALL_LIBSTDCPP # python-brotli, python-zopfli > select BR2_PACKAGE_PYTHON_BROTLI # runtime > select BR2_PACKAGE_PYTHON_CFFI # runtime > select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime > diff --git a/package/python-zopfli/Config.in b/package/python-zopfli/Config.in > index 0b1ebca85c..dc68a2fef0 100644 > --- a/package/python-zopfli/Config.in > +++ b/package/python-zopfli/Config.in > @@ -1,6 +1,10 @@ > config BR2_PACKAGE_PYTHON_ZOPFLI > bool "python-zopfli" > + depends on BR2_INSTALL_LIBSTDCPP > help > Zopfli module for python. > > https://github.com/fonttools/py-zopfli > + > +comment "python-zopfli needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 25 20:23:47 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:23:47 +0200 Subject: [Buildroot] [PATCH] package/libinput: security bump to version 1.20.1 In-Reply-To: <20220422145530.1963337-1-peter@korsgaard.com> References: <20220422145530.1963337-1-peter@korsgaard.com> Message-ID: On 22/04/2022 16:55, Peter Korsgaard wrote: > Fixes the following security issues: > > - CVE-2022-1215: libinput format string vulnerability > > For details, see the advisory: > https://www.openwall.com/lists/oss-security/2022/04/20/2 > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Arnout > --- > package/libinput/libinput.hash | 2 +- > package/libinput/libinput.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libinput/libinput.hash b/package/libinput/libinput.hash > index d1c7cfb104..d8282ff03b 100644 > --- a/package/libinput/libinput.hash > +++ b/package/libinput/libinput.hash > @@ -1,5 +1,5 @@ > # Locally computed > -sha256 6c1f97892a7d599f97349e5e7c1239901fe00edcd4f6289f410034d5dc06cc85 libinput-1.20.0.tar.bz2 > +sha256 08c003f724f361ed21f4dfbfe755a6c115b85385f1418907bb98f185457273f0 libinput-1.20.1.tar.bz2 > > # License files > sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING > diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk > index b814e3416d..a66b0afde5 100644 > --- a/package/libinput/libinput.mk > +++ b/package/libinput/libinput.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBINPUT_VERSION = 1.20.0 > +LIBINPUT_VERSION = 1.20.1 > LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2 > LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION) > LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev From arnout at mind.be Mon Apr 25 20:24:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:24:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/clamav: fix libxml2 build In-Reply-To: <20220423174858.2445604-1-fontaine.fabrice@gmail.com> References: <20220423174858.2445604-1-fontaine.fabrice@gmail.com> Message-ID: On 23/04/2022 19:48, Fabrice Fontaine wrote: > Pass ac_cv_path_xmlconfig to fix the following build failure with > libxml2 raised since bump to version 0.102.0 in commit > 007f49962a961f96ff87795217758ec3786d03ac and > https://github.com/Cisco-Talos/clamav/commit/083ca38727b0ebd3979cf1ebc7b31148f6d5e7f7: > > aarch64-none-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include/libxml2' > In file included from /usr/include/libxml2/libxml/parser.h:810, > from others.c:62: > /usr/include/libxml2/libxml/encoding.h:31:10: fatal error: unicode/ucnv.h: No such file or directory > 31 | #include > | ^~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/5bb3bea6d13ac8d497f6862374d65a59bea7ed09 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/clamav/clamav.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk > index cd2d06e6b3..e2ee99d02b 100644 > --- a/package/clamav/clamav.mk > +++ b/package/clamav/clamav.mk > @@ -69,6 +69,7 @@ CLAMAV_CONF_OPTS += --without-libjson > endif > > ifeq ($(BR2_PACKAGE_LIBXML2),y) > +CLAMAV_CONF_ENV += ac_cv_path_xmlconfig=$(STAGING_DIR)/usr/bin/xml2-config > CLAMAV_CONF_OPTS += --with-xml=$(STAGING_DIR)/usr > CLAMAV_DEPENDENCIES += libxml2 > else From arnout at mind.be Mon Apr 25 20:24:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:24:28 +0200 Subject: [Buildroot] [PATCH 1/2] package/libhtp: bump to version 0.5.40 In-Reply-To: <20220423202458.299067-1-fontaine.fabrice@gmail.com> References: <20220423202458.299067-1-fontaine.fabrice@gmail.com> Message-ID: <8baa31f4-f273-6d03-3436-8cfc8bc3a5a7@mind.be> On 23/04/2022 22:24, Fabrice Fontaine wrote: > https://github.com/OISF/libhtp/releases/tag/0.5.40 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libhtp/libhtp.hash | 2 +- > package/libhtp/libhtp.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash > index eae3009c76..8759823e16 100644 > --- a/package/libhtp/libhtp.hash > +++ b/package/libhtp/libhtp.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 d5956b49314fc6a058864130fbcf040a12584ee1e38f3b6ea52aedfa99d4c14a libhtp-0.5.39.tar.gz > +sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz > sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE > diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk > index 532eaa340b..bb8aa73b42 100644 > --- a/package/libhtp/libhtp.mk > +++ b/package/libhtp/libhtp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBHTP_VERSION = 0.5.39 > +LIBHTP_VERSION = 0.5.40 > LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) > LIBHTP_LICENSE = BSD-3-Clause > LIBHTP_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 25 20:24:47 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:24:47 +0200 Subject: [Buildroot] [PATCH 2/2] package/suricata: security bump to version 6.0.5 In-Reply-To: <20220423202458.299067-2-fontaine.fabrice@gmail.com> References: <20220423202458.299067-1-fontaine.fabrice@gmail.com> <20220423202458.299067-2-fontaine.fabrice@gmail.com> Message-ID: <82d546c7-683f-b283-f580-cd6ca063331f@mind.be> On 23/04/2022 22:24, Fabrice Fontaine wrote: > Various security, performance, accuracy and stability issues have been > fixed. > > https://forum.suricata.io/t/suricata-6-0-5-and-5-0-9-released/2415 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/suricata/suricata.hash | 2 +- > package/suricata/suricata.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash > index 098740e769..032546fd92 100644 > --- a/package/suricata/suricata.hash > +++ b/package/suricata/suricata.hash > @@ -1,5 +1,5 @@ > # Locally computed: > -sha256 a8f197e33d1678689ebbf7bc1abe84934c465d22c504c47c2c7e9b74aa042d0d suricata-6.0.4.tar.gz > +sha256 0d4197047c84ba070dfc6b1d9f9ee92f52a71403bfac0e29b2554bb21fe00754 suricata-6.0.5.tar.gz > > # Hash for license files: > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk > index 86d8970178..36e641bf90 100644 > --- a/package/suricata/suricata.mk > +++ b/package/suricata/suricata.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SURICATA_VERSION = 6.0.4 > +SURICATA_VERSION = 6.0.5 > SURICATA_SITE = https://www.openinfosecfoundation.org/download > SURICATA_LICENSE = GPL-2.0 > SURICATA_LICENSE_FILES = COPYING LICENSE From arnout at mind.be Mon Apr 25 20:25:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:25:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/argp-standalone: fix NLS build In-Reply-To: <20220423205413.4083987-1-fontaine.fabrice@gmail.com> References: <20220423205413.4083987-1-fontaine.fabrice@gmail.com> Message-ID: <30d904b3-df65-afc6-1562-490684eb4406@mind.be> On 23/04/2022 22:54, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 1.4.1 in > commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and > https://github.com/ericonr/argp-standalone/commit/e5fe9ad9e83e6765cf8fa787f903d4c6792338b5: > > /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: libargp.a(argp-parse.o): in function `argp_version_parser': > /home/buildroot/autobuild/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' > > Fixes: > - http://autobuild.buildroot.org/results/adb9c4b747352497adbc9df866709b17fe0f9755 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/argp-standalone/argp-standalone.mk | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk > index 80ca04046d..269239fa5b 100644 > --- a/package/argp-standalone/argp-standalone.mk > +++ b/package/argp-standalone/argp-standalone.mk > @@ -12,9 +12,11 @@ ARGP_STANDALONE_LICENSE = LGPL-2.1+ > ARGP_STANDALONE_LICENSE_FILES = README.md > # From git > ARGP_STANDALONE_AUTORECONF = YES > +ARGP_STANDALONE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) > > ARGP_STANDALONE_CONF_ENV = \ > - CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" > + CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" \ > + LIBS=$(TARGET_NLS_LIBS) > > define ARGP_STANDALONE_INSTALL_STAGING_CMDS > $(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a From arnout at mind.be Mon Apr 25 20:25:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:25:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/aubio: add host-pkgconf dependency In-Reply-To: <20220423211141.1704835-1-fontaine.fabrice@gmail.com> References: <20220423211141.1704835-1-fontaine.fabrice@gmail.com> Message-ID: On 23/04/2022 23:11, Fabrice Fontaine wrote: > Add host-pkgconf dependency to fix the following build failure raised > since the addition of the package in commit > 280bb6807619e2e858836435f44aad0cccd27a40 and > https://github.com/aubio/aubio/commit/e57859fd1f2c3c8b18b3f5ede122071c66166a8f: > > Checking for program 'pkg-config' : not found > Could not find the program ['pkg-config'] > > Fixes: > - http://autobuild.buildroot.org/results/e6f0e9b09e4b611daf5bb37091610d8de80f1f4d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/aubio/aubio.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk > index b79beccd97..b2eb2b5e6d 100644 > --- a/package/aubio/aubio.mk > +++ b/package/aubio/aubio.mk > @@ -11,6 +11,7 @@ AUBIO_LICENSE = GPL-3.0+ > AUBIO_LICENSE_FILES = COPYING > AUBIO_INSTALL_STAGING = YES > > +AUBIO_DEPENDENCIES = host-pkgconf > AUBIO_CONF_OPTS = \ > --disable-docs \ > --disable-atlas From arnout at mind.be Mon Apr 25 20:11:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:11:45 +0200 Subject: [Buildroot] [git commit] configs/arm_foundationv8: bump to Linux 5.16.20 Message-ID: <20220425201531.DD57D8448C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2b71d2eb60bb3759d2583d54b04d70ecc64c6318 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Vincent Stehl?? Cc: Masahiro Yamada Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/arm_foundationv8_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig index 363f288b87..3c63f5dc76 100644 --- a/configs/arm_foundationv8_defconfig +++ b/configs/arm_foundationv8_defconfig @@ -1,10 +1,10 @@ BR2_aarch64=y -# Linux headers same as kernel, a 5.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y +# Linux headers same as kernel, a 5.16 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.11" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.20" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8-gicv3-psci" From arnout at mind.be Mon Apr 25 20:09:34 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:09:34 +0200 Subject: [Buildroot] [git commit] package/netatalk: fix build with libressl Message-ID: <20220425201531.D4ABF8448B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2e8218f6aa20cb7521c29849f58b43d535989bf1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl >= 2.7.0: In file included from uams_dhx_passwd.c:35: openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) | ^~~~~~~~~~~ In file included from uams_dhx_passwd.c:33: /home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...enssl_compat.h-fix-build-with-libressl-2..patch | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch new file mode 100644 index 0000000000..05913862f6 --- /dev/null +++ b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch @@ -0,0 +1,43 @@ +From 58ddc137021a938f37c3794305a839f8df449d3f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 23:59:15 +0200 +Subject: [PATCH] etc/uams/openssl_compat.h: fix build with libressl >= 2.7.0 + +Fix the following build failure with libressl >= 2.7.0 which added +DH_set0_pqg with +https://github.com/libressl-portable/openbsd/commit/848e2a019c796b685fc8c5848283b86e48fbe0bf: + +In file included from uams_dhx_passwd.c:35: +openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration + 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) + | ^~~~~~~~~~~ +In file included from uams_dhx_passwd.c:33: +/home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here + 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet] +--- + etc/uams/openssl_compat.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/etc/uams/openssl_compat.h b/etc/uams/openssl_compat.h +index ded377bc..5cc8de34 100644 +--- a/etc/uams/openssl_compat.h ++++ b/etc/uams/openssl_compat.h +@@ -11,7 +11,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt + #ifndef OPENSSL_COMPAT_H + #define OPENSSL_COMPAT_H + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) + { + /* If the fields p and g in d are NULL, the corresponding input +-- +2.35.1 + From arnout at mind.be Mon Apr 25 20:19:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:11 +0200 Subject: [Buildroot] [git commit] package/argp-standalone: fix NLS build Message-ID: <20220425201532.325908448E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5430c8fedd0392e79e0c011825b056fea129980a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and https://github.com/ericonr/argp-standalone/commit/e5fe9ad9e83e6765cf8fa787f903d4c6792338b5: /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: libargp.a(argp-parse.o): in function `argp_version_parser': /home/buildroot/autobuild/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' Fixes: - http://autobuild.buildroot.org/results/adb9c4b747352497adbc9df866709b17fe0f9755 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/argp-standalone/argp-standalone.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk index 80ca04046d..269239fa5b 100644 --- a/package/argp-standalone/argp-standalone.mk +++ b/package/argp-standalone/argp-standalone.mk @@ -12,9 +12,11 @@ ARGP_STANDALONE_LICENSE = LGPL-2.1+ ARGP_STANDALONE_LICENSE_FILES = README.md # From git ARGP_STANDALONE_AUTORECONF = YES +ARGP_STANDALONE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) ARGP_STANDALONE_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" + CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" \ + LIBS=$(TARGET_NLS_LIBS) define ARGP_STANDALONE_INSTALL_STAGING_CMDS $(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a From arnout at mind.be Mon Apr 25 20:19:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:10 +0200 Subject: [Buildroot] [git commit] package/libinput: security bump to version 1.20.1 Message-ID: <20220425201532.082158448C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e21a7931c7afc6f8740775c03c29a8bc03afa16b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - CVE-2022-1215: libinput format string vulnerability For details, see the advisory: https://www.openwall.com/lists/oss-security/2022/04/20/2 Signed-off-by: Peter Korsgaard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libinput/libinput.hash | 2 +- package/libinput/libinput.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libinput/libinput.hash b/package/libinput/libinput.hash index d1c7cfb104..d8282ff03b 100644 --- a/package/libinput/libinput.hash +++ b/package/libinput/libinput.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 6c1f97892a7d599f97349e5e7c1239901fe00edcd4f6289f410034d5dc06cc85 libinput-1.20.0.tar.bz2 +sha256 08c003f724f361ed21f4dfbfe755a6c115b85385f1418907bb98f185457273f0 libinput-1.20.1.tar.bz2 # License files sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk index b814e3416d..a66b0afde5 100644 --- a/package/libinput/libinput.mk +++ b/package/libinput/libinput.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBINPUT_VERSION = 1.20.0 +LIBINPUT_VERSION = 1.20.1 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2 LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION) LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev From arnout at mind.be Mon Apr 25 20:19:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:10 +0200 Subject: [Buildroot] [git commit] package/python-zopfli: needs C++ Message-ID: <20220425201531.F20B28448B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b8152158f8381a7d59c6d33851df9997a3cc0101 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-zopfli needs C++ since its addition in commit 53972c82964dd1337dff4ccbcdd484d243aef0ba: nios2-buildroot-linux-gnu-gcc.br_real: error: zopfli/src/zopflipng/lodepng/lodepng.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/442ae4a02e691b4039d1694620f6284906cdc97f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-weasyprint/Config.in | 2 +- package/python-zopfli/Config.in | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 7fe99c3951..18d72d742e 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" - depends on BR2_INSTALL_LIBSTDCPP # python-brotli + depends on BR2_INSTALL_LIBSTDCPP # python-brotli, python-zopfli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime diff --git a/package/python-zopfli/Config.in b/package/python-zopfli/Config.in index 0b1ebca85c..dc68a2fef0 100644 --- a/package/python-zopfli/Config.in +++ b/package/python-zopfli/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_PYTHON_ZOPFLI bool "python-zopfli" + depends on BR2_INSTALL_LIBSTDCPP help Zopfli module for python. https://github.com/fonttools/py-zopfli + +comment "python-zopfli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 25 20:19:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:10 +0200 Subject: [Buildroot] [git commit] package/suricata: security bump to version 6.0.5 Message-ID: <20220425201532.28F928448C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=deb2f747a6e54e47fed00f1deab5efa0e5d2aede branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Various security, performance, accuracy and stability issues have been fixed. https://forum.suricata.io/t/suricata-6-0-5-and-5-0-9-released/2415 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/suricata/suricata.hash | 2 +- package/suricata/suricata.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash index 098740e769..032546fd92 100644 --- a/package/suricata/suricata.hash +++ b/package/suricata/suricata.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 a8f197e33d1678689ebbf7bc1abe84934c465d22c504c47c2c7e9b74aa042d0d suricata-6.0.4.tar.gz +sha256 0d4197047c84ba070dfc6b1d9f9ee92f52a71403bfac0e29b2554bb21fe00754 suricata-6.0.5.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk index 86d8970178..36e641bf90 100644 --- a/package/suricata/suricata.mk +++ b/package/suricata/suricata.mk @@ -4,7 +4,7 @@ # ################################################################################ -SURICATA_VERSION = 6.0.4 +SURICATA_VERSION = 6.0.5 SURICATA_SITE = https://www.openinfosecfoundation.org/download SURICATA_LICENSE = GPL-2.0 SURICATA_LICENSE_FILES = COPYING LICENSE From arnout at mind.be Mon Apr 25 20:16:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:16:45 +0200 Subject: [Buildroot] [git commit] package/zfs: bump version to 2.1.4 Message-ID: <20220425201531.E76818448E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=68dfd09708c66f1aeca3bf5725eb83c7ea5b35c8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch because is already merged. Select libcurl as required dependency, because keylocation now supports https. OpenSSL was already a dependency, so libcurl will be built with https support. Add upstream patch to support uClibc. We update the test cases to use the latest LTS kernel, 5.15.x. Signed-off-by: Jos?? Luis Salvador Rufo Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...t-a-flaw-in-the-Python-3-version-checking.patch | 106 --------------------- package/zfs/Config.in | 1 + package/zfs/zfs.hash | 5 +- package/zfs/zfs.mk | 6 +- support/testing/tests/package/test_zfs.py | 4 +- 5 files changed, 9 insertions(+), 113 deletions(-) diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch deleted file mode 100644 index 70978f9f4d..0000000000 --- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001 -From: Rich Ercolani <214141+rincebrain at users.noreply.github.com> -Date: Tue, 8 Jun 2021 20:20:16 -0400 -Subject: [PATCH] Correct a flaw in the Python 3 version checking - -It turns out the ax_python_devel.m4 version check assumes that -("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1 -is 10 or above and X is not. (Also presumably X+1=100 and ...) - -So let's remake the check to behave consistently, using the -"packaging" or (if absent) the "distlib" modules. - -(Also, update the Github workflows to use the new packages.) - -Reviewed-by: Brian Behlendorf -Reviewed-by: John Kennedy -Signed-off-by: Rich Ercolani -Closes: #12073 -(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48) -[Romain: drop rpm spec and github workflows changes] -Signed-off-by: Romain Naour ---- - config/always-pyzfs.m4 | 15 +++++++++++++++ - config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------ - 2 files changed, 42 insertions(+), 6 deletions(-) - -diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4 -index 76e07b593..fa39fd885 100644 ---- a/config/always-pyzfs.m4 -+++ b/config/always-pyzfs.m4 -@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [ - ]) - AC_SUBST(DEFINE_PYZFS) - -+ dnl # -+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs -+ dnl # -+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [ -+ ZFS_AC_PYTHON_MODULE([packaging], [], [ -+ ZFS_AC_PYTHON_MODULE([distlib], [], [ -+ AS_IF([test "x$enable_pyzfs" = xyes], [ -+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed") -+ ], [test "x$enable_pyzfs" != xno], [ -+ enable_pyzfs=no -+ ]) -+ ]) -+ ]) -+ ]) -+ - dnl # - dnl # Require python-devel libraries - dnl # -diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4 -index c51b45b7d..cdfbbf81f 100644 ---- a/config/ax_python_devel.m4 -+++ b/config/ax_python_devel.m4 -@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ - # Check for a version of Python >= 2.1.0 - # - AC_MSG_CHECKING([for a version of Python >= '2.1.0']) -- ac_supports_python_ver=`$PYTHON -c "import sys; \ -- ver = sys.version.split ()[[0]]; \ -- print (ver >= '2.1.0')"` -+ ac_supports_python_ver=`cat<= '3.11.0' -+ ac_supports_python_ver=`cat< commit: https://git.buildroot.net/buildroot/commit/?id=f5e4bb185a2694c180ba1c51efab4e5a6c8b3975 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Pass ac_cv_path_xmlconfig to fix the following build failure with libxml2 raised since bump to version 0.102.0 in commit 007f49962a961f96ff87795217758ec3786d03ac and https://github.com/Cisco-Talos/clamav/commit/083ca38727b0ebd3979cf1ebc7b31148f6d5e7f7: aarch64-none-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include/libxml2' In file included from /usr/include/libxml2/libxml/parser.h:810, from others.c:62: /usr/include/libxml2/libxml/encoding.h:31:10: fatal error: unicode/ucnv.h: No such file or directory 31 | #include | ^~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/5bb3bea6d13ac8d497f6862374d65a59bea7ed09 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/clamav/clamav.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index cd2d06e6b3..e2ee99d02b 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -69,6 +69,7 @@ CLAMAV_CONF_OPTS += --without-libjson endif ifeq ($(BR2_PACKAGE_LIBXML2),y) +CLAMAV_CONF_ENV += ac_cv_path_xmlconfig=$(STAGING_DIR)/usr/bin/xml2-config CLAMAV_CONF_OPTS += --with-xml=$(STAGING_DIR)/usr CLAMAV_DEPENDENCIES += libxml2 else From arnout at mind.be Mon Apr 25 20:19:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:10 +0200 Subject: [Buildroot] [git commit] package/libhtp: bump to version 0.5.40 Message-ID: <20220425201532.1C64F8448B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4e9d17a929a418d5e798869b61c72c8903ca8671 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/OISF/libhtp/releases/tag/0.5.40 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libhtp/libhtp.hash | 2 +- package/libhtp/libhtp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash index eae3009c76..8759823e16 100644 --- a/package/libhtp/libhtp.hash +++ b/package/libhtp/libhtp.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d5956b49314fc6a058864130fbcf040a12584ee1e38f3b6ea52aedfa99d4c14a libhtp-0.5.39.tar.gz +sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk index 532eaa340b..bb8aa73b42 100644 --- a/package/libhtp/libhtp.mk +++ b/package/libhtp/libhtp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBHTP_VERSION = 0.5.39 +LIBHTP_VERSION = 0.5.40 LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) LIBHTP_LICENSE = BSD-3-Clause LIBHTP_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 25 20:19:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:11 +0200 Subject: [Buildroot] [git commit] package/aubio: add host-pkgconf dependency Message-ID: <20220425201532.3B2A18448B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8a24b80533c0e04857e728c630b5863447dcbce1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add host-pkgconf dependency to fix the following build failure raised since the addition of the package in commit 280bb6807619e2e858836435f44aad0cccd27a40 and https://github.com/aubio/aubio/commit/e57859fd1f2c3c8b18b3f5ede122071c66166a8f: Checking for program 'pkg-config' : not found Could not find the program ['pkg-config'] Fixes: - http://autobuild.buildroot.org/results/e6f0e9b09e4b611daf5bb37091610d8de80f1f4d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/aubio/aubio.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index b79beccd97..b2eb2b5e6d 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -11,6 +11,7 @@ AUBIO_LICENSE = GPL-3.0+ AUBIO_LICENSE_FILES = COPYING AUBIO_INSTALL_STAGING = YES +AUBIO_DEPENDENCIES = host-pkgconf AUBIO_CONF_OPTS = \ --disable-docs \ --disable-atlas From arnout at mind.be Mon Apr 25 20:26:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:26:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/rtl_433: fix CVE-2022-27419 In-Reply-To: <20220424201615.3421463-1-fontaine.fabrice@gmail.com> References: <20220424201615.3421463-1-fontaine.fabrice@gmail.com> Message-ID: On 24/04/2022 22:16, Fabrice Fontaine wrote: > rtl_433 21.12 was discovered to contain a stack overflow in the function > acurite_00275rm_decode at /devices/acurite.c. This vulnerability allows > attackers to cause a Denial of Service (DoS) via a crafted file. > > Signed-off-by: Fabrice Fontaine This package is racking up CVEs :-) Applied to master, thanks. Regards, Arnout > --- > ...0004-Fix-overflow-in-Acurite-00275rm.patch | 35 +++++++++++++++++++ > package/rtl_433/rtl_433.mk | 3 ++ > 2 files changed, 38 insertions(+) > create mode 100644 package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch > > diff --git a/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch > new file mode 100644 > index 0000000000..057bf9cf64 > --- /dev/null > +++ b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch > @@ -0,0 +1,35 @@ > +From 37455483889bd1c641bdaafc493d1cc236b74904 Mon Sep 17 00:00:00 2001 > +From: "Christian W. Zuckschwerdt" > +Date: Fri, 18 Mar 2022 08:09:15 +0100 > +Subject: [PATCH] Fix overflow in Acurite-00275rm (closes #2012) > + > +[Retrieved from: > +https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904] > +Signed-off-by: Fabrice Fontaine > +--- > + src/devices/acurite.c | 6 +++--- > + 1 file changed, 3 insertions(+), 3 deletions(-) > + > +diff --git a/src/devices/acurite.c b/src/devices/acurite.c > +index 6879e52da..4f3e83eb3 100644 > +--- a/src/devices/acurite.c > ++++ b/src/devices/acurite.c > +@@ -1318,15 +1318,15 @@ static int acurite_00275rm_decode(r_device *decoder, bitbuffer_t *bitbuffer) > + > + // Combine signal if exactly three repeats were found > + if (n_rows == 3) { > +- uint8_t *b = bitbuffer->bb[bitbuffer->num_rows]; > ++ bitbuffer_add_row(bitbuffer); > ++ uint8_t *b = bitbuffer->bb[bitbuffer->num_rows - 1]; > + for (int i = 0; i < 11; ++i) { > + // The majority bit count wins > + b[i] = (b_rows[0][i] & b_rows[1][i]) | > + (b_rows[1][i] & b_rows[2][i]) | > + (b_rows[2][i] & b_rows[0][i]); > + } > +- bitbuffer->bits_per_row[bitbuffer->num_rows] = 88; > +- bitbuffer->num_rows += 1; > ++ bitbuffer->bits_per_row[bitbuffer->num_rows - 1] = 88; > + } > + > + // Output the first valid row > diff --git a/package/rtl_433/rtl_433.mk b/package/rtl_433/rtl_433.mk > index d1c28adbf5..8326caedb2 100644 > --- a/package/rtl_433/rtl_433.mk > +++ b/package/rtl_433/rtl_433.mk > @@ -20,6 +20,9 @@ RTL_433_CONF_OPTS = \ > # 0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch > RTL_433_IGNORE_CVES += CVE-2022-25051 > > +# 0004-Fix-overflow-in-Acurite-00275rm.patch > +RTL_433_IGNORE_CVES += CVE-2022-27419 > + > ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) > RTL_433_DEPENDENCIES += librtlsdr > RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON From arnout at mind.be Mon Apr 25 20:25:53 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:25:53 +0200 Subject: [Buildroot] [git commit] package/rtl_433: fix CVE-2022-27419 Message-ID: <20220425201632.40B5784493@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ba317308439cec343d1c4844c802e17843808162 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master rtl_433 21.12 was discovered to contain a stack overflow in the function acurite_00275rm_decode at /devices/acurite.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted file. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0004-Fix-overflow-in-Acurite-00275rm.patch | 35 ++++++++++++++++++++++ package/rtl_433/rtl_433.mk | 3 ++ 2 files changed, 38 insertions(+) diff --git a/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch new file mode 100644 index 0000000000..057bf9cf64 --- /dev/null +++ b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch @@ -0,0 +1,35 @@ +From 37455483889bd1c641bdaafc493d1cc236b74904 Mon Sep 17 00:00:00 2001 +From: "Christian W. Zuckschwerdt" +Date: Fri, 18 Mar 2022 08:09:15 +0100 +Subject: [PATCH] Fix overflow in Acurite-00275rm (closes #2012) + +[Retrieved from: +https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904] +Signed-off-by: Fabrice Fontaine +--- + src/devices/acurite.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/devices/acurite.c b/src/devices/acurite.c +index 6879e52da..4f3e83eb3 100644 +--- a/src/devices/acurite.c ++++ b/src/devices/acurite.c +@@ -1318,15 +1318,15 @@ static int acurite_00275rm_decode(r_device *decoder, bitbuffer_t *bitbuffer) + + // Combine signal if exactly three repeats were found + if (n_rows == 3) { +- uint8_t *b = bitbuffer->bb[bitbuffer->num_rows]; ++ bitbuffer_add_row(bitbuffer); ++ uint8_t *b = bitbuffer->bb[bitbuffer->num_rows - 1]; + for (int i = 0; i < 11; ++i) { + // The majority bit count wins + b[i] = (b_rows[0][i] & b_rows[1][i]) | + (b_rows[1][i] & b_rows[2][i]) | + (b_rows[2][i] & b_rows[0][i]); + } +- bitbuffer->bits_per_row[bitbuffer->num_rows] = 88; +- bitbuffer->num_rows += 1; ++ bitbuffer->bits_per_row[bitbuffer->num_rows - 1] = 88; + } + + // Output the first valid row diff --git a/package/rtl_433/rtl_433.mk b/package/rtl_433/rtl_433.mk index d1c28adbf5..8326caedb2 100644 --- a/package/rtl_433/rtl_433.mk +++ b/package/rtl_433/rtl_433.mk @@ -20,6 +20,9 @@ RTL_433_CONF_OPTS = \ # 0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch RTL_433_IGNORE_CVES += CVE-2022-25051 +# 0004-Fix-overflow-in-Acurite-00275rm.patch +RTL_433_IGNORE_CVES += CVE-2022-27419 + ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) RTL_433_DEPENDENCIES += librtlsdr RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON From kris at embeddedTS.com Mon Apr 25 20:28:18 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Mon, 25 Apr 2022 13:28:18 -0700 Subject: [Buildroot] [PATCH v2 3/4] configs: add WILC3000_FIRMWARE to compatible devices In-Reply-To: <81c16e83-25d8-d047-4752-b33daa2e91f4@mind.be> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-4-kris@embeddedTS.com> <81c16e83-25d8-d047-4752-b33daa2e91f4@mind.be> Message-ID: <1650918498.6000.6.camel@embeddedTS.com> On Mon, 2022-04-25 at 22:07 +0200, Arnout Vandecappelle wrote: > > On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > > The update to wilc-firmware added firmware files for WILC3000 > > devices as a separate config option. All Atmel/Microchip defconfigs > > that previously only had WILC1000_FIRMWARE either have WILC3000 > > Wi-Fi hardware (WILC3000 is the same silicon but with BLE added) > > For the ones which have a WILC3000, there's no point to include the WILC1000 > firmware, right? I'm not familiar with the full Microchip lineup. Some have these modules soldered down, others, however, can accept either module via some expansion/interconnect system. I thought it safer to install both. In Microchip's externally maintained tree, they just install all .bin files together with their wilc-firmware package. These defconfigs definitely need some maintenance though, as I said in the series cover letter, the defconfig I tried failed to boot when built from master. -Kris > > Anyway, applied to master as is, thanks. Can be fixed up later. > > Regards, > Arnout > > > or have the capacity to have either WILC1000 or WILC3000 devices > > added to the system. Install all firmware blobs to these devices > > by default. > > > > Signed-off-by: Kris Bahnsen > > --- > > configs/at91sam9x5ek_dev_defconfig | 1 + > > configs/at91sam9x5ek_mmc_dev_defconfig | 1 + > > configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + > > configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + > > configs/atmel_sama5d3_xplained_dev_defconfig | 1 + > > configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + > > configs/atmel_sama5d4_xplained_dev_defconfig | 1 + > > configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + > > configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + > > configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + > > configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + > > configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + > > 12 files changed, 12 insertions(+) > > > > diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig > > index bfa8e95941..8714463d89 100644 > > --- a/configs/at91sam9x5ek_dev_defconfig > > +++ b/configs/at91sam9x5ek_dev_defconfig > > @@ -47,6 +47,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig > > index 2e1a5c7f59..9481594716 100644 > > --- a/configs/at91sam9x5ek_mmc_dev_defconfig > > +++ b/configs/at91sam9x5ek_mmc_dev_defconfig > > @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > > index ba2fa46790..38618a5732 100644 > > --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > > +++ b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > > @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_RNG_TOOLS=y > > diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > > index a8b68ca0a2..1654408aa5 100644 > > --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > > +++ b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > > @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig > > index cdfd9de17e..64455cb2e0 100644 > > --- a/configs/atmel_sama5d3_xplained_dev_defconfig > > +++ b/configs/atmel_sama5d3_xplained_dev_defconfig > > @@ -49,6 +49,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > > index a2205aeefa..8f5724d631 100644 > > --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > > +++ b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > > @@ -52,6 +52,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig > > index f8783f5652..fab91cf0b3 100644 > > --- a/configs/atmel_sama5d4_xplained_dev_defconfig > > +++ b/configs/atmel_sama5d4_xplained_dev_defconfig > > @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > > index b4e99f658a..f9074e9862 100644 > > --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > > +++ b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > > @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig > > index 06e03967c4..2b4e234297 100644 > > --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig > > +++ b/configs/microchip_sam9x60ek_mmc_dev_defconfig > > @@ -36,6 +36,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > > index 3bcd5f0200..f9aa6cdc05 100644 > > --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > > +++ b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > > @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig > > index 27d1d3409d..b1b22c1312 100644 > > --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig > > +++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig > > @@ -32,6 +32,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_SETSERIAL=y > > BR2_PACKAGE_SPI_TOOLS=y > > diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig > > index 6eb6c282e0..d68846e553 100644 > > --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig > > +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig > > @@ -30,6 +30,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_RNG_TOOLS=y > > # BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set > > From arnout at mind.be Mon Apr 25 21:21:31 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:21:31 +0200 Subject: [Buildroot] [git commit] package/pkg-python.mk: remove hardcoded paths for host Python Message-ID: <20220425211512.DC37A844C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=03d19696c752939aa46ac826df34ad9c2e4e6258 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ?????????? ???????????????? Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-python.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 464578a35c..e9de5cb8d3 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages @@ -215,7 +207,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) ifeq ($(4),target) @@ -223,7 +215,7 @@ $$(error flit-bootstrap setup type only supported for host packages) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m flit_core.wheel -$(2)_BASE_INSTALL_CMD ?= $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD ?= -m installer dist/* endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") From arnout at mind.be Mon Apr 25 21:21:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:21:36 +0200 Subject: [Buildroot] [git commit] package/python-flit-core: migrate setup type to flit-bootstrap Message-ID: <20220425211512.E66A1844C2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=37439adf81d0245d2bcb778ff4ff1c5e9ee49d8c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package needs to use flit-bootstrap since it is a dependency of host-python-pypa-build. It cannot use the normal install command because that relies on host-python-installer, and host-python-installer itself will depend on host-python-flit-core once it is bumped and migrated to flit-bootstrap setup type. Therefore, use the special bootstrap_install module. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-flit-core/python-flit-core.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk index 0e058a1f17..2dc67bd517 100644 --- a/package/python-flit-core/python-flit-core.mk +++ b/package/python-flit-core/python-flit-core.mk @@ -8,6 +8,11 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap + +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +HOST_PYTHON_FLIT_CORE_BASE_INSTALL_CMD = -m bootstrap_install dist/* $(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) $(eval $(host-python-package)) From arnout at mind.be Mon Apr 25 21:21:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:21:36 +0200 Subject: [Buildroot] [git commit] package/python-tomli: bump to version 2.0.1 Message-ID: <20220425211512.F004E844C0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e22dca48c9d8d677bea11c6dbee8e027681ee5b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package now requires flit and must use the flit-bootstrap setup type for the host build since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-tomli/python-tomli.hash | 4 ++-- package/python-tomli/python-tomli.mk | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash index 1a274c8a40..8368f9ee13 100644 --- a/package/python-tomli/python-tomli.hash +++ b/package/python-tomli/python-tomli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/tomli/json -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz # Locally computed sha256 checksums sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk index b8c20ca736..b803d67466 100644 --- a/package/python-tomli/python-tomli.mk +++ b/package/python-tomli/python-tomli.mk @@ -4,12 +4,13 @@ # ################################################################################ -PYTHON_TOMLI_VERSION = 1.2.0 +PYTHON_TOMLI_VERSION = 2.0.1 PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa -PYTHON_TOMLI_SETUP_TYPE = distutils +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 PYTHON_TOMLI_LICENSE = MIT PYTHON_TOMLI_LICENSE_FILES = LICENSE +PYTHON_TOMLI_SETUP_TYPE = flit +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) From arnout at mind.be Mon Apr 25 21:19:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:19:32 +0200 Subject: [Buildroot] [git commit] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220425211512.D0972844C0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8b4f831f36cd653504f38023f909f76912730534 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. To avoid further special casing for host-python-flit-core and host-python-installer, we add two additional changes: - _BASE_INSTALL_CMD is set with ?=, so it can be overridden by the package; - No _DEPENDENCIES are added for host-python-flit-core and host-python-installer, to avoid circular dependencies. These two are responsible for their own dependencies. Although flit-bootstrap _BASE_ variables are almost identical to the flit/pep517 variables, only _BASE_ENV is really identical. To make things easier to understand, treat flit-bootstrap as a completely separate SETUP_TYPE. This also allows us to check that it is only used for host packages. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle [Arnout: simplify things by delegating some special casing to the packages themselves; add check that it's only for host.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-python.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..464578a35c 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -214,6 +217,14 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifeq ($(4),target) +$$(error flit-bootstrap setup type only supported for host packages) +else +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +$(2)_BASE_INSTALL_CMD ?= $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +250,10 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifeq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. From arnout at mind.be Mon Apr 25 21:23:57 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:23:57 +0200 Subject: [Buildroot] [git commit] package/python-pyparsing: bump to version 3.0.8 Message-ID: <20220425211513.0530B844C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2e49ff10202e28a8dc942bfe11d7a623aca0bf6c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package now requires flit and must use the flit-bootstrap setup type for the host build since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-pyparsing/python-pyparsing.hash | 4 ++-- package/python-pyparsing/python-pyparsing.mk | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-pyparsing/python-pyparsing.hash b/package/python-pyparsing/python-pyparsing.hash index 1e56e878a1..e7137d55c9 100644 --- a/package/python-pyparsing/python-pyparsing.hash +++ b/package/python-pyparsing/python-pyparsing.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pyparsing/json -md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz -sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz +md5 971252e99e1e02a4c27f001894e0422d pyparsing-3.0.8.tar.gz +sha256 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954 pyparsing-3.0.8.tar.gz # Locally computed sha256 checksums sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE diff --git a/package/python-pyparsing/python-pyparsing.mk b/package/python-pyparsing/python-pyparsing.mk index 2fb705bc7a..7e458042f5 100644 --- a/package/python-pyparsing/python-pyparsing.mk +++ b/package/python-pyparsing/python-pyparsing.mk @@ -4,12 +4,13 @@ # ################################################################################ -PYTHON_PYPARSING_VERSION = 3.0.7 +PYTHON_PYPARSING_VERSION = 3.0.8 PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/31/df/789bd0556e65cf931a5b87b603fcf02f79ff04d5379f3063588faaf9c1e4 PYTHON_PYPARSING_LICENSE = MIT PYTHON_PYPARSING_LICENSE_FILES = LICENSE -PYTHON_PYPARSING_SETUP_TYPE = setuptools +PYTHON_PYPARSING_SETUP_TYPE = flit +HOST_PYTHON_PYPARSING_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) From fontaine.fabrice at gmail.com Mon Apr 25 21:23:38 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 25 Apr 2022 23:23:38 +0200 Subject: [Buildroot] [PATCH 1/1] Revert "package/pure-ftpd: doesn't build with libressl" Message-ID: <20220425212338.1105933-1-fontaine.fabrice@gmail.com> This reverts commit e87e6fd085b8a4965b9dc84635fd36e380da4dde as pure-ftpd can be built with libressl since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2 and https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8. Signed-off-by: Fabrice Fontaine --- package/pure-ftpd/pure-ftpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk index 0354949e28..f3cbef84b9 100644 --- a/package/pure-ftpd/pure-ftpd.mk +++ b/package/pure-ftpd/pure-ftpd.mk @@ -45,7 +45,7 @@ else PURE_FTPD_CONF_OPTS += --without-ldap endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +ifeq ($(BR2_PACKAGE_OPENSSL),y) PURE_FTPD_CONF_OPTS += --with-tls PURE_FTPD_DEPENDENCIES += host-pkgconf openssl PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -- 2.35.1 From arnout at mind.be Mon Apr 25 21:32:08 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:32:08 +0200 Subject: [Buildroot] [PATCH v7 1/5] package/pkg-python: migrate flit to new bootstrapping sequence In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <9e61fbdb-aeb1-d493-afc2-87372d479fb7@mind.be> On 24/04/2022 23:39, James Hilliard wrote: > There are a number of flit toolchain dependencies currently in the > process of deprecating distutils based fallbacks. > > This will be needed in order to update tomli. > > We need to migrate these to use a new bootstrap based build+install > sequence which relies on flit's bootstrap wheel build+install > features to build and install host-python-pypa-build and > host-python-installer which gives us a full pep517 toolchain. > > Note that one can run host-python-flit-core commands for building > and installing itself since the package build directory is the cwd. > > We need to add a special flit-bootstrap SETUP_TYPE for dependencies > of host-python-pypa-build and host-python-installer which can not > use the normal flit SETUP_TYPE which would cause a circular dependency > issue. > > We need to special case dependency exclusions for > host-python-flit-core and host-python-installer to avoid circular > dependencies in the flit-bootstrap SETUP_TYPE. > > We also need to special case the installation command for > host-python-flit-core since it can not depend on host-python-installer > due to host-python-installer requiring host-python-flit-core. > > Signed-off-by: James Hilliard > Cc: "Yann E. MORIN" > Cc: Arnout Vandecappelle > --- > Changes v3 -> v4: > - rebase > Changes v2 -> v3: > - add special flit-bootstrap SETUP_TYPE > - don't change package SETUP_TYPE's yet > Changes v1 -> v2: > - formatting/cleanup > - add comments > --- > package/pkg-python.mk | 26 +++++++++++++++++++++++++- > 1 file changed, 25 insertions(+), 1 deletion(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 867341fc7b..2e7704a0a9 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > --scripts=$(HOST_DIR)/bin \ > --data=$(HOST_DIR) > > +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ > + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages > + > ################################################################################ > # inner-python-package -- defines how the configuration, compilation > # and installation of a Python package should be done, implements a > @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) > $(2)_BASE_BUILD_CMD = setup.py build > $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) > endif > -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) > +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) > ifeq ($(4),target) > $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) > $(2)_BASE_BUILD_CMD = -m build -n -w > @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ > $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) > else > $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) > +# Use flit built in wheel builder for packages that are flit-bootstrap packages. > +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. > +# > +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) > +$(2)_BASE_BUILD_CMD = -m flit_core.wheel > +ifeq ($(1),host-python-flit-core) > +# Use flit built in bootstrap_install for installing host-python-flit-core. > +# This is due to host-python-installer depending on host-python-flit-core. > +# > +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) > +else > +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > +endif I still think this is too complicated. And I'm stubborn, so I changed it and committed to master [1]. I've basically done two things: - Treat flit-bootstrap as a completely separate setup type. Only the _BASE_ENV is exactly the same as in the other cases; the conditional flow becomes a lot easier to understand by making it explicit. This also allows an $(error ...) when it's used for a target package. The special-casing for flit-core I solved by using ?= and overriding it in python-flit-core.mk > +else > $(2)_BASE_BUILD_CMD = -m build -n -w > $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > endif > +endif > else > $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") > endif > @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > ifeq ($$($(2)_SETUP_TYPE),flit) > $(2)_DEPENDENCIES += host-python-flit-core > endif > +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) > +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) > +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) Again, too complicated for me. I just removed this conditional branch. So for host-python-flit-core and host-python-installer, no dependencies are added. host-python-flit-core in fact doesn't need any. host-python-installer has to add it manually. Regards, Arnout [1] https://git.buildroot.org/buildroot/commit/?id=8b4f831f36cd653504f38023f909f76912730534 > +else > +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer > +endif > endif # SETUP_TYPE > > # Python interpreter to use for building the package. From arnout at mind.be Mon Apr 25 21:32:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:32:25 +0200 Subject: [Buildroot] [PATCH v7 2/5] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220424213958.1747120-2-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-2-james.hilliard1@gmail.com> Message-ID: <7e1c1baa-0f41-57e2-6260-51bd565b7029@mind.be> On 24/04/2022 23:39, James Hilliard wrote: > From: ????? ???????? > > When installer is used to install packages for host Python, it can figure > out by itself which paths to use. We just need to use the installer CLI > instead of our wrapper script. > > Signed-off-by: ????? ???????? > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > Changes v4 -> v5: > - add rebased remove hardcoded paths patch > --- > package/pkg-python.mk | 12 ++---------- > 1 file changed, 2 insertions(+), 10 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 2e7704a0a9..154810e1cc 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ > PYTHONNOUSERSITE=1 \ > $(HOST_CONFIGURE_OPTS) > > -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > - --interpreter=/bin/python \ > - --script-kind=posix \ > - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ > - --scripts=$(HOST_DIR)/bin \ > - --data=$(HOST_DIR) > - > HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ > --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages > > @@ -225,11 +217,11 @@ ifeq ($(1),host-python-flit-core) > # > $(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) > else > -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > +$(2)_BASE_INSTALL_CMD = -m installer dist/* > endif > else > $(2)_BASE_BUILD_CMD = -m build -n -w > -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > +$(2)_BASE_INSTALL_CMD = -m installer dist/* > endif > endif > else From arnout at mind.be Mon Apr 25 21:34:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:34:39 +0200 Subject: [Buildroot] [PATCH v7 3/5] package/python-flit-core: migrate setup type to flit bootstrap In-Reply-To: <20220424213958.1747120-3-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-3-james.hilliard1@gmail.com> Message-ID: <3641180a-8321-a68d-8931-c1de5f90b4bb@mind.be> On 24/04/2022 23:39, James Hilliard wrote: > This package needs to use flit-bootstrap since it is a dependency > of host-python-pypa-build. > > Signed-off-by: James Hilliard > --- > package/python-flit-core/python-flit-core.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk > index 0e058a1f17..aaf4c77c6a 100644 > --- a/package/python-flit-core/python-flit-core.mk > +++ b/package/python-flit-core/python-flit-core.mk > @@ -8,6 +8,6 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 > PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz > PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 > PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause > -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 > +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap So here I added HOST_PYTHON_FLIT_CORE_BASE_INSTALL_CMD = -m bootstrap_install dist/* $(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) Applied to master, thanks. Regards, Arnout > > $(eval $(host-python-package)) From arnout at mind.be Mon Apr 25 21:37:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:37:48 +0200 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: <20220424213958.1747120-4-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> Message-ID: On 24/04/2022 23:39, James Hilliard wrote: > This package now requires flit and must use the flit-bootstrap setup > type for the host build since it is a dependency of > host-python-pypa-build. > > Signed-off-by: James Hilliard Applied to master, thanks. While testing this series, I noticed that the following gives an error (this was already the case in the original series; I haven't checked how it was before your series was applied - for tomli, it certainly wouldn't happen because it would still be using setuptools, but maybe for other flit packages, I don't know). make python-tomli make python-tomli-dirclean make python-tomli ... FileExistsError: File already exists: /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py Would be nice to get that fixed... Regards, Arnout > --- > Changes v6 -> v7: > - only use flit-boostrap for host-python-tomli > --- > package/python-tomli/python-tomli.hash | 4 ++-- > package/python-tomli/python-tomli.mk | 7 ++++--- > 2 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > index 1a274c8a40..8368f9ee13 100644 > --- a/package/python-tomli/python-tomli.hash > +++ b/package/python-tomli/python-tomli.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/tomli/json > -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > # Locally computed sha256 checksums > sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > index b8c20ca736..b803d67466 100644 > --- a/package/python-tomli/python-tomli.mk > +++ b/package/python-tomli/python-tomli.mk > @@ -4,12 +4,13 @@ > # > ################################################################################ > > -PYTHON_TOMLI_VERSION = 1.2.0 > +PYTHON_TOMLI_VERSION = 2.0.1 > PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > -PYTHON_TOMLI_SETUP_TYPE = distutils > +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > PYTHON_TOMLI_LICENSE = MIT > PYTHON_TOMLI_LICENSE_FILES = LICENSE > +PYTHON_TOMLI_SETUP_TYPE = flit > +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > > $(eval $(python-package)) > $(eval $(host-python-package)) From arnout at mind.be Mon Apr 25 21:38:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:38:03 +0200 Subject: [Buildroot] [PATCH v7 5/5] package/python-pyparsing: bump to version 3.0.8 In-Reply-To: <20220424213958.1747120-5-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-5-james.hilliard1@gmail.com> Message-ID: <07ebcbc5-8bd4-b209-4dfb-971c0917a380@mind.be> On 24/04/2022 23:39, James Hilliard wrote: > This package now requires flit and must use the flit-bootstrap setup > type for the host build since it is a dependency of > host-python-pypa-build. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > Changes v6 -> v7: > - only use flit-boostrap for host-python-pyparsing > --- > package/python-pyparsing/python-pyparsing.hash | 4 ++-- > package/python-pyparsing/python-pyparsing.mk | 7 ++++--- > 2 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/package/python-pyparsing/python-pyparsing.hash b/package/python-pyparsing/python-pyparsing.hash > index 1e56e878a1..e7137d55c9 100644 > --- a/package/python-pyparsing/python-pyparsing.hash > +++ b/package/python-pyparsing/python-pyparsing.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/pyparsing/json > -md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz > -sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz > +md5 971252e99e1e02a4c27f001894e0422d pyparsing-3.0.8.tar.gz > +sha256 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954 pyparsing-3.0.8.tar.gz > # Locally computed sha256 checksums > sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE > diff --git a/package/python-pyparsing/python-pyparsing.mk b/package/python-pyparsing/python-pyparsing.mk > index 2fb705bc7a..7e458042f5 100644 > --- a/package/python-pyparsing/python-pyparsing.mk > +++ b/package/python-pyparsing/python-pyparsing.mk > @@ -4,12 +4,13 @@ > # > ################################################################################ > > -PYTHON_PYPARSING_VERSION = 3.0.7 > +PYTHON_PYPARSING_VERSION = 3.0.8 > PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz > -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b > +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/31/df/789bd0556e65cf931a5b87b603fcf02f79ff04d5379f3063588faaf9c1e4 > PYTHON_PYPARSING_LICENSE = MIT > PYTHON_PYPARSING_LICENSE_FILES = LICENSE > -PYTHON_PYPARSING_SETUP_TYPE = setuptools > +PYTHON_PYPARSING_SETUP_TYPE = flit > +HOST_PYTHON_PYPARSING_SETUP_TYPE = flit-bootstrap > > $(eval $(python-package)) > $(eval $(host-python-package)) From fontaine.fabrice at gmail.com Mon Apr 25 22:06:02 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 00:06:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/wtfutil: add CPE variables Message-ID: <20220425220602.1077854-1-fontaine.fabrice@gmail.com> cpe:2.3:a:wtfutil:wtf is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Awtfutil%3Awtf Signed-off-by: Fabrice Fontaine --- package/wtfutil/wtfutil.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk index 6e841411a9..54fea09574 100644 --- a/package/wtfutil/wtfutil.mk +++ b/package/wtfutil/wtfutil.mk @@ -8,5 +8,7 @@ WTFUTIL_VERSION = 0.41.0 WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) WTFUTIL_LICENSE = MPL-2.0 WTFUTIL_LICENSE_FILES = LICENSE.md +WTFUTIL_CPE_ID_VENDOR = wtfutil +WTFUTIL_CPE_ID_PRODUCT = wtf $(eval $(golang-package)) -- 2.35.1 From james.hilliard1 at gmail.com Tue Apr 26 01:23:11 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 25 Apr 2022 19:23:11 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pep517: migrate setup type to flit Message-ID: <20220426012311.1738027-1-james.hilliard1@gmail.com> This package is moving to flit, we need to use flit-bootstrap since host-python-pypa-build depends on host-python-pep517. Signed-off-by: James Hilliard --- package/python-pep517/python-pep517.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-pep517/python-pep517.mk b/package/python-pep517/python-pep517.mk index 99aa62d51d..45c4f8dd39 100644 --- a/package/python-pep517/python-pep517.mk +++ b/package/python-pep517/python-pep517.mk @@ -9,7 +9,7 @@ PYTHON_PEP517_SOURCE = pep517-$(PYTHON_PEP517_VERSION).tar.gz PYTHON_PEP517_SITE = https://files.pythonhosted.org/packages/0a/65/6e656d49c679136edfba25f25791f45ffe1ea4ae2ec1c59fe9c35e061cd1 PYTHON_PEP517_LICENSE = MIT PYTHON_PEP517_LICENSE_FILES = LICENSE -PYTHON_PEP517_SETUP_TYPE = distutils +PYTHON_PEP517_SETUP_TYPE = flit-bootstrap HOST_PYTHON_PEP517_DEPENDENCIES = host-python-tomli $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 26 01:35:08 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 25 Apr 2022 20:35:08 -0500 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> Message-ID: On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: > > > > On 24/04/2022 23:39, James Hilliard wrote: > > This package now requires flit and must use the flit-bootstrap setup > > type for the host build since it is a dependency of > > host-python-pypa-build. > > > > Signed-off-by: James Hilliard > > > Applied to master, thanks. > > While testing this series, I noticed that the following gives an error (this > was already the case in the original series; I haven't checked how it was before > your series was applied - for tomli, it certainly wouldn't happen because it > would still be using setuptools, but maybe for other flit packages, I don't know). > > make python-tomli > make python-tomli-dirclean > make python-tomli > ... > FileExistsError: File already exists: > /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py I think it happens only when building across version bumps, probably a bug with installer(https://github.com/pypa/installer) upstream. > > Would be nice to get that fixed... Yeah, I'll see if I can track that issue down. > > Regards, > Arnout > > > --- > > Changes v6 -> v7: > > - only use flit-boostrap for host-python-tomli > > --- > > package/python-tomli/python-tomli.hash | 4 ++-- > > package/python-tomli/python-tomli.mk | 7 ++++--- > > 2 files changed, 6 insertions(+), 5 deletions(-) > > > > diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > > index 1a274c8a40..8368f9ee13 100644 > > --- a/package/python-tomli/python-tomli.hash > > +++ b/package/python-tomli/python-tomli.hash > > @@ -1,5 +1,5 @@ > > # md5, sha256 from https://pypi.org/pypi/tomli/json > > -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > > -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > > +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > > +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > > # Locally computed sha256 checksums > > sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > > diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > > index b8c20ca736..b803d67466 100644 > > --- a/package/python-tomli/python-tomli.mk > > +++ b/package/python-tomli/python-tomli.mk > > @@ -4,12 +4,13 @@ > > # > > ################################################################################ > > > > -PYTHON_TOMLI_VERSION = 1.2.0 > > +PYTHON_TOMLI_VERSION = 2.0.1 > > PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > > -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > > -PYTHON_TOMLI_SETUP_TYPE = distutils > > +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > > PYTHON_TOMLI_LICENSE = MIT > > PYTHON_TOMLI_LICENSE_FILES = LICENSE > > +PYTHON_TOMLI_SETUP_TYPE = flit > > +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > > > > $(eval $(python-package)) > > $(eval $(host-python-package)) From thomas.petazzoni at bootlin.com Tue Apr 26 04:45:09 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 04:45:09 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-25 Message-ID: <20220426044514.5009160888@smtp3.osuosl.org> Hello, Autobuild statistics for 2022-04-25 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 18 | 2 | 1 | 21 | master | 93 | 249 | 0 | 342 | Classification of failures by reason for master ----------------------------------------------- package/pcre2/pcre2.mk:33: ... | 38 pcre2-legal-info | 30 host-wayland-1.20.0 | 14 host-gcc-final-10.3.0 | 12 zchunk-1.2.2 | 9 git-2.31.2 | 8 libopenssl-1.1.1n | 8 uclibc-1.0.40 | 8 argp-standalone-1.4.1 | 6 python3-3.10.2 | 6 zlib-ng-2.0.6 | 6 host-gcc-final-11.2.0 | 4 package/pcre2/pcre2.mk:34: ... | 4 refpolicy | 4 unknown | 4 host-pahole-v1.23 | 3 libressl-3.5.2 | 3 linux-5.15.33 | 3 linux-headers-5.15.33 | 3 perl-5.34.1 | 3 containerd-1.6.2 | 2 cryptsetup-2.4.3 | 2 fs/ubifs/ubifs.mk:49: /home... | 2 host-gcc-final-9.4.0 | 2 host-pcre2-legal-info | 2 libnss-3.77 | 2 libressl-3.4.3 | 2 pipewire-0.3.50 | 2 sudo-1.9.8p2 | 2 uacme-1.7.1 | 2 ulog-0389d243352255f6182326... | 2 wavemon-0.9.4 | 2 aubio-0.4.9 | 1 aufs-util | 1 bat-0.19.0 | 1 bird-2.0.8 | 1 bitcoin-0.21.2 | 1 btrfs-progs-5.16.2 | 1 cryptodev-linux-1.12 | 1 dash-0.5.11.5 | 1 exempi-2.6.1 | 1 frr-8.2.2 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/ubi/ubi.mk:51: /home/aut... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fwts-21.11.00 | 1 glibc-2.34-109-gd64b08d5ba7... | 1 gmp-6.2.1 | 1 google-breakpad-c85eb4a59b6... | 1 gummiboot-2bcd919c681c952eb... | 1 host-gdb-arc-2020.09-releas... | 1 host-google-breakpad-c85eb4... | 1 host-gtest-1.11.0 | 1 host-nodejs-14.18.3 | 1 host-rust-1.60.0 | 1 httping-2.5 | 1 igh-ethercat-1.5.2 | 1 jack2-1.9.20 | 1 libeXosip2-5.3.0 | 1 libgcrypt-1.10.0 | 1 libglib2-2.70.4 | 1 libgpg-error-1.42 | 1 libpri-1.5.0 | 1 libwebsockets-4.3.1 | 1 linux-headers-5.10.104-cip3 | 1 linux-headers-5.10.104-cip3... | 1 linux-pam-1.5.2 | 1 lttng-tools-2.13.2 | 1 neon-0.32.2 | 1 netatalk-3.1.13 | 1 netsurf-3.10 | 1 pixman-0.40.0 | 1 poppler-21.12.0 | 1 rtl8189es-39c17661136da48f8... | 1 sg3_utils-1.47 | 1 valgrind-3.18.1 | 1 wtfutil-0.41.0 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- xtensa | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/07ef6b7c5fab04314712d7ad91e98afa904ec396 | arm | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/0a0fd092a8a0047eabfb3d0da730f3f9dcf7f378 | mipsel | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/f772c691e05d25883447a5859fdbfb01c91cf88f | microblazeel | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/e53a49d046ddfc394353e56c4b0fd7a96b0cb591 | xtensa | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/dfdef9d530aa8b0bada83ded3a39d6e54c3808fd | sparc | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/268093a8be35ebdaaa7efc8ae3002b36162defbf | sparc | aubio-0.4.9 | NOK | http://autobuild.buildroot.net/results/0fb63dc574f19855b967634aab8af46c49f943f2 | microblazeel | aufs-util | NOK | http://autobuild.buildroot.net/results/0d375d5a6c5f83138eeb84ca8bc4ace8bb0361d2 | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/e153335f05d00f59b33a8fb963307c9776cf418a | nds32le | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/108b625b2121368efd536ec06976423a1b16ca85 | mips64el | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/aa6524c859927bfacfd9eebac9c4d1957153a1e6 | or1k | btrfs-progs-5.16.2 | NOK | http://autobuild.buildroot.net/results/f95d35b314dc2b84ce9aec0a2a3ed464780e2aa4 | ORPH powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/d09ca343a704cb1d42ed68b05f804f73615f0a37 | powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/b4643b5848f7eb81639db8efbf09b7b02c112e9e | arc | cryptodev-linux-1.12 | NOK | http://autobuild.buildroot.net/results/b6af70618ee63952d88dc92e2e1535ec3752b3a9 | ORPH sh4 | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/bffebe32305d483e7841566dc6b47fc88f1dd029 | sh4 | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/911c358e87c61bdd42cdd14f49c9ae7894ad644f | microblazeel | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/c005f28284bbb1c5f5048b3c9d37cbafba5444b2 | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/e453907e7ff0e9b7e32829ac9149b399eaa9ba02 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/260270dfef157d1eb2b279a304e03aec43f7b66e | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/da7837ba4f7f53bb35e640be8ac30f88687a2ea4 | powerpc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/ea6e1929dba212c8baf45eaf781cb4760b4e03d2 | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/9152a9cb44b199f3edc72819db529e2d53a118a9 | mips | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/afda363adf329db2fe557e199fc294154e532b4e | mips | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/390aac508042a748effdbec4038b68722f43d6a5 | m68k | fs/ubi/ubi.mk:51: /home/aut... | NOK | http://autobuild.buildroot.net/results/a3899855cdc23cec6e0ff415376e6298df65c73c | riscv32 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/c1dbb939ca9811e8ee8e3451916261d457db8886 | mips | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/de70d8edc54e6cd5e6a156917525c1a1b0cf7e17 | mips64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/c5be2082a4c7339b01412b2be54b604daab60115 | x86_64 | fwts-21.11.00 | NOK | http://autobuild.buildroot.net/results/64e320ebd19b271a6b73f6bb264749cc4974f2a4 | mips64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/03ff9587a4415e0ce8a79190cca5314102b01895 | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/293d863bbac9e77522330b831ed07c022ddb646e | x86_64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/c0d68fe00cc5977a4afc0fb06eab49071feb6326 | mips64el | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/59bb0ddeebb8500005477d3ad7e72b28090aff89 | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/cdc16241fb1f554601ad68a14e6e5bb0d8d71a44 | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f45895044c8e2c9b335deabc7ffd1dbff4f5a1d6 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b0a3f616dcbed263bd68efdd32fd2caf4dcdfbf8 | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/985aa3fbb57c83655a71e8f7b7bcc74feaf7e33b | mipsel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/c42717fc074f334ac4c39f2f84b5965ab9c5e461 | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/43f1a9cf60d5dd3e25178642ec6b04a5f3c04aec | ORPH mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/d1ba0fa3865a67e1665d3a35ce6166e377c8ddbd | i686 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/60bdf0a9a1ee013074bb088bbf1f6d150a9f95d6 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a1573c614b29abcdbb775c283f42a18cc9349670 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6c62a4056d1cbfcae224f6f4cf4b34a32df9c720 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/741ba76114581d7a24444faca9b2521aac0df7fc | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/03a5eac3f585325a2a6cc5684c42922b92508cdb | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/914defca96a82b7c91775d13a3eb1061e21c03a4 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1f506e4b37cec40323826569f8cf67289f2d26d3 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd593101034b581bb0e81402303cb56513d1b97e | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5577055ca471d156b89ddaf8756f819d1839c3af | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/63ad9b869953b90ea2aeaca342b4c832b2ca0b00 | i586 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/79471e93f1647d52043b369c51b7af41bb58014c | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b02b1446b3ed997c3239b60005d49d23cca44ffc | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0717c5d58537779ae68ac63044b355678577e52d | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/12c75b40228403f319d3abc6040dc0807a4e7bfa | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/9cf3ba8fbab3d00f05a6095ff8f72b40f6696237 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/c8f395d3755fae9fd3de9c67ad8780124ad1c38c | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/637caccff42c4ffead15d589e5330f1be9ae2d49 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b020a345b9f3170b09a8fea8e194edfe4d1cb6ef | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/e22838db6690f3e832ba397829c3093bb0d8d03e | arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/ff4a1e07be0b440c404d965f97d796bb2d2de06e | ORPH x86_64 | host-google-breakpad-c85eb4... | NOK | http://autobuild.buildroot.net/results/0c2c7171d40647daa15c563747525dadec75217c | mipsel | host-gtest-1.11.0 | NOK | http://autobuild.buildroot.net/results/e2f12226b77976db6ff15a9a3833a9e2d69ac281 | riscv64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/4dc577d90fd3dfde94d119dc80c51cb14a61f794 | i586 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/1c6027d9f5542578f1a668e0d2fa6fe55e8a26e0 | mips64el | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/282d447e093ab1f8cbe6efd55402c39fc6ee39a1 | microblazeel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/4e7b0b133683e8332bfa011e0444a4bf175a545b | arm | host-pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/ecf790b334c73dad6d485cacf9509a02528b2296 | ORPH arm | host-pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/a02540e899eb42ade9d8ce0919f559e5239d1b89 | ORPH powerpc64le | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/5ee1bfb03acfd68817a19ac04e7a6d46af3d519c | mips64el | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/bb19152276576b333d362020e8cd55553d1c3f55 | arc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/5677827bd429f5af09246dc4f544fa9312d3191a | aarch64_be | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/0952a091ac8b91c337f8ea1c6c88377cb10a0f5f | s390x | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/c0257ee04c2e209afad38e106580717f256628aa | mipsel | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/3f1bfdcb2d0a14660bc99338e07fd9d8043b0e14 | mipsel | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/2e62797e46426500717ce3fe864ec5e9dfcecf10 | mips | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/5c3f9d62c1b6c7824881be0c0bd9446ada3675c3 | powerpc64le | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/97a5aa5f9e7b3e42bb3a4341cd623975ab569c23 | powerpc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/0160cb9efc599b5c2f88f60b3fa86c80a0121461 | aarch64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/67652ebdd13199d60778d5361f6223e3398cb575 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/a99bb6ff7b007045705ed5b0de8ec1682a8de745 | powerpc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/1e0a71fbff63ad22eb3cbc97a95554b547ec7e1a | or1k | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/774be482a06f409f077d07427350a5edb715fd32 | or1k | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/e4120bb2b984fac4dafc4ed21a1adaf1b6e0ad2b | arc | httping-2.5 | NOK | http://autobuild.buildroot.net/results/6dd47b475e371abd656f950bb0b9f71990f02a36 | armeb | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/7a7f3bc7c1015da317d3dd904cb227713299d1a1 | m68k | jack2-1.9.20 | NOK | http://autobuild.buildroot.net/results/632ee71fff53355142e083d3772777a03a299713 | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/4638dd1c09326b608e24b3a2d2a52b89103ec7fa | powerpc64le | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/9f576f172f7f28edad4ec0f24d33c38a69aed28a | ORPH arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/e44a087e05b06e5da05a19af95ce5682227ee9ba | aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/ad061b82ca92ec540b55d357151dd0ec4a316d38 | ORPH powerpc64le | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/f4204755540e2b2a4e9422fe98def76fff306d5a | powerpc64le | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/d865100c1abdb1e4ac22320b8ac23c11b9a73674 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/8beaf34b961a3c80ffdf11cd6b44a7195e16a4ab | sh4eb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e8c17a8aa9641b0ea29b29f765a334231ad94309 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/90d8f7be3ab3039aab71a9338368bdb7bbf764cd | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cb935aca4895a3dbc85994551d06e2a717c07a8a | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/dd5ffe61543756dae26b991900e17d7dd9b13b1f | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e3224643a0c183a808e987886ae3e3041295d38c | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/b6a0fc1c9fa69154d13974acd8ba6d1a1b3bfe4b | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/271bd295b8815e576e74e5e6432375bbe7ff76dc | aarch64_be | libpri-1.5.0 | NOK | http://autobuild.buildroot.net/results/1217922af3a72646ae242c2c4dec22ead7883b91 | mipsel | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/82b4702b7e0a721e8b592c1603271fa1e05ed4c9 | ORPH x86_64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/fe3a2600299afc76a58fb8b11285e4fd7e9045a2 | ORPH m68k | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/c598aafdf3acf219d973e4680d0da3fc3b4a79db | ORPH mips64 | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/3125f7bae5666d3ca483dd388dcc9e83ea18af80 | ORPH arceb | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/c8a0d87dca957db07393c8400a4cc919cb7da324 | ORPH sparc64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/f3d1535590bf26292a9256f985542cfa82c5bc06 | arm | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/e46cab5d9638324d9976095fdf31d39e53c8d5be | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/a421edda89a7411263bb04384566abc3e2e88d56 | ORPH m68k | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/f454f964f0820a8d75d1783e4e0fbb63ec0526e1 | ORPH aarch64_be | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/f6397350c604f373b97c58bc427f35c773c2dfc9 | ORPH sparc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/4ee90f59ef4518aca1b1d9418238e1ddff0dc78b | ORPH xtensa | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/6ce51e4b30b38cf3cb4b96fafabc235230a0a1a7 | ORPH mips | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/292f04c650e28e568627cf1eae94c5e44dc827c4 | ORPH powerpc64le | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/b793b07c85b61448cf61700e28c45ae3c9d598f4 | ORPH arm | linux-pam-1.5.2 | NOK | http://autobuild.buildroot.net/results/d951bb7218e95b2d66b0d10137f471e424075b82 | ORPH powerpc | lttng-tools-2.13.2 | NOK | http://autobuild.buildroot.net/results/ee62a6670360cd0e5bf107d8017d0e22f5530f9b | riscv64 | neon-0.32.2 | NOK | http://autobuild.buildroot.net/results/b763022d7625d950a04599f4fc7e06a2774ebb0f | ORPH s390x | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/45bcc9538467678aef245b6a7e0e4c1901cb076b | ORPH mips64 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/bcbe8b4cc1de94e2743c178433b4da9cb4385cb2 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f4c7a3820a6dc7ad2100c11275516511eb8b0764 | nios2 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4d6e169159ebf3c4851369dcac26b7f0b57b8ea6 | mipsel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/99a8a0e590893cbc82c5c7dd4b01a4825620e70e | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/ff84f6fd90e784fdbdc5e49438bb4058d1ce2738 | mips64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6d79a74ef127b17310a77235c990ce451ba0159e | mipsel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/66ab96490d9f0cc604e3fb3de741176193d5109e | xtensa | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/abe1e67618747e832e94e60efbf382e58b65ca81 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/54b7ad24c126d83c2679cdc6686ceb951cd13a40 | arceb | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/86216f69a0b23895fb178abdd8945a2e0d3573a9 | powerpc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/c1362dad4fc1ff5808feeed9fa6d0162f4a1d3f4 | nios2 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/5d2f364877f9441dc4aab0b3780c4ec0d0d43be4 | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/73cda570a4c935574f648dd69dff4f19efedf498 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/baa986beb3a48e4f6869e2e6a3e3b6ea57ea06a8 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3b4a92d957052169213c6dcfd0526f2cabd7559e | aarch64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/dfa8b3d197a87812fcd405fe8942f03fffbf96bd | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1522897dba362acae306d1773fef3d5783d17718 | arm | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/28659c0c4d6bac86b4bbce8d54b139ca4147615d | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/a72f89b420d8f72f971f43807c3fec030f32c357 | or1k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/587cd7fd56ec22021320b46278532ace1cc229f3 | powerpc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/28d9a918d9d5fd3d07372fc8123ff0ca5d1232fb | arm | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1a0a90d73804fc2a655756696b3b2c0f2dc5979d | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6ed2f767f792bfb968a84a528ab30895a664387a | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/2367687ac354e3ac82d06b43821b49224f4f96cd | sh4 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/2d64d06ede6a3b00c289e023745fb7e64315edce | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/af74b8487a09493563340fad4519828147f04f7d | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f7956830b4ebce6363f395561533d0a460581330 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/173d77c725f2407a1ffa7f83289ca9a6d4c53897 | aarch64_be | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/311667f70b280d4a81df13732bcfbab0f5208904 | s390x | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/63bdf41acfa4d92a966f1f288a7dcb0a221706d6 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f46cf8c6010c4f8abdd06b02da5eb85fcd6aa0d6 | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/b90da3a761d9ab2a554075cd5767534638e48347 | riscv32 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/e88b0945fd58ed38f3d30b2631a4d78396b3fda5 | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4b0dba7ccbbeaa7d5de21a40332ae9a75958b9b6 | arceb | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/d58da5099a0ba89c272bf1c5484254e0c0ebf81a | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/e983182fefa7e7a5efdfa9b87d81938e50a99820 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f5ef307c896c1161d99a4b868e0fa948ba3fe79f | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/de923181db32aef2f0b1d88abfd728df92479fc2 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/bc305ba2e913c7b3bf9c39466cf2ef2b4425fa97 | sh4 | package/pcre2/pcre2.mk:34: ... | NOK | http://autobuild.buildroot.net/results/7e5a264c32cf3a5b0e3e3219efcc62b5fb92d1b1 | armeb | package/pcre2/pcre2.mk:34: ... | NOK | http://autobuild.buildroot.net/results/0b85e8d3044af00083146b427d31881efaa229e6 | microblazeel | package/pcre2/pcre2.mk:34: ... | NOK | http://autobuild.buildroot.net/results/3bfc8109b7e73028027f6b4303ed97e78fd6b4ea | mipsel | package/pcre2/pcre2.mk:34: ... | NOK | http://autobuild.buildroot.net/results/ab19c2c24429eedb0f20d4eeae87bd87d74c5da0 | arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/fb8e8c43e6522f1da75304c8c514f19722b4a720 | ORPH riscv32 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/0845ddd8aec8d006a32874547d3b9a6c6510f96b | ORPH aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/75076640ed780ad04b757389ac77257dbce075de | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/92d03eee9c66932535f5420ef3488eadca013e81 | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/974bcd3e339b298127792df8447c8c2eb5fd4da5 | ORPH m68k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/4e372b6a01ba17c91124cdea40921e16b5af3b7a | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/85c5df647517000ff57168310e9cf3c18057ec95 | ORPH arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/c55c2d386229c2a34d5c76353e7a520b19a861f3 | ORPH arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/33a8a85dfcf0d152bc83fcf3b4475f0051c553fe | ORPH riscv32 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/b38bc5051072a0366d700415905931089e2e5eae | ORPH arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/0ec247bb2298408d6df118ef7fa4c5fb758608c6 | ORPH i586 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/359bb2256d90ddb6e40691a12f3fc3b707c111ab | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/270ab01bdc1c039f9d9dd375ab5d40fc5f3ed9f9 | ORPH nios2 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/a3e6f778340088b87f087403566a32b5b61b18ef | ORPH mips64el | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/3d7ae528d4212e47c9933f92e65dcc7d75302998 | ORPH or1k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/5610577acdd698810aaaf6d9bb8b89c799426c36 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/b31a8d340f2712f591574b6ecba3dce3c39747e2 | ORPH riscv64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/8a663aea42a282c83955afb9ee407f01d6da17a0 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/da0384077d96307d0f71c24aa998ec2c71abf8a9 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/703ab60bc1aa79cdf2b509d3d90b728673dd00e7 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/7a2731e59377110817c69f6935fef0aa2150ef95 | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/fb8433544d658010cc3fff4f43cd29f9d6270a66 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/6f46ad1019d0520dfe044840e5121ad403d37426 | ORPH x86_64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/14953e61e6e2a2c8f3e00d3194609beb8f889cb5 | ORPH riscv64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/14475c3c6e039b563445752d365b9b46041cb37a | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/f187febf0687f5136c06c58bcb90371c1afbfead | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/aebe40cab7b86927c8fcd2f839145a60ab6aafaa | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/a8fd8098f267cb3f2a5f80be5a6365e7fc393324 | ORPH arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/d3250a0a65ff8f40e7825d8219764c6a4b2334be | ORPH x86_64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/0453c9572b7f46105ea4877cc43bfa43e6160be3 | ORPH arm | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/a0f72a5da469c4042deab3eb83538ba065bdd303 | x86_64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/7759525f16cc280222034ef808e8799834f8be87 | aarch64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/ca4d3aa3a16d65f51bb9d55e4a5b740006574fd3 | microblazeel | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/332b1358eaa06e4796ee72051563856f0542e13d | powerpc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/c2e0efa9d50aa0b801b5ee1251fbb75c768f32d7 | sh4aeb | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/9254f76969d40eb5ae3e2dcc402ae5a718ab39b4 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/1e8b3f2db95a8019e09f71de14318fac643ef6a5 | mipsel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/239a77711594efef66734d61f00dfed22204c282 | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3f73457070f9eb6ee8beecc9fbd5a3a7463679b3 | microblazeel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d07fad36875ef9cfcb34c68ff04f3db81af39eb1 | powerpc64le | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/c926e9f419ebcb17cfcf21aedad35ed22d6b6f3a | aarch64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/dbaca9603b44373e1b59606e5d03fac6e3db3148 | s390x | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/42161ec3c355e9aaa645059d9b6b2f651fab0954 | s390x | refpolicy | NOK | http://autobuild.buildroot.net/results/6fd6c1c1d007cb78c3763d5e5bc185140042671d | sparc64 | refpolicy | NOK | http://autobuild.buildroot.net/results/6bc9a8b5428b0f73c57ce462faee38d38cd6babe | sparc64 | refpolicy | NOK | http://autobuild.buildroot.net/results/50e29f614140d07a8190aaf2d038de1adbd71ad9 | mips64 | refpolicy | NOK | http://autobuild.buildroot.net/results/4aaa3b28a320c775a0e37b764bcc9b9b27ed2c3e | arceb | rtl8189es-39c17661136da48f8... | NOK | http://autobuild.buildroot.net/results/415ae1934091833b23d5d342ad815c6d927da0e0 | m68k | sg3_utils-1.47 | NOK | http://autobuild.buildroot.net/results/3699a2457b7a2565fd8452b1e2a13c727b0aeecb | mips64el | sudo-1.9.8p2 | NOK | http://autobuild.buildroot.net/results/b13630c860e1df3e1bdd0712c4b232f6ed7a17b1 | ORPH mips64el | sudo-1.9.8p2 | NOK | http://autobuild.buildroot.net/results/fcf85b3838c6c58d2cdaa8a8dbbac5d495e3597d | ORPH xtensa | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/c63137c11589a18ee2df8a77b9bcfbce05732f68 | mipsel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/b09f3be064349f971af8c35cc5926066e512a8d6 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/08cf3bb9a969275df0c694a4a42fcdeed714b7e0 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/26f306f1efcaf9a8f617e83d2bbd263eaf9702e3 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/aad0984d6feac9a63ee4d4dcab359f27ee0a79c7 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1c0ef90c5247255a553ccad278fdb1a31b9392ba | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a716cfa1795d83e4e1298feff3edba40b75b1c81 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0cc1df1963441222a47175a1c6c2dd15c6fb8603 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/66ed3d2144bff57bcfb1b3ee1309eab2775593b5 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ad452abb4d30c2969a26cc0be3a972490f007faf | s390x | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/12f9b7d1c58db5872d23565bfb9c2306ef05c7dc | riscv32 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/933a7b70b6b70bea726de24c935a2f6d1702643c | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/9520854ef3eff56918030d9db7e92366bf4ddf4a | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/8b2249f21093249d9bb949ec4ee4d77d2b9af087 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/78811dc782777e27542c6528adb9d62abbbae114 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/1302db080c8b994e56d42606097b4139d6a933aa | powerpc | valgrind-3.18.1 | NOK | http://autobuild.buildroot.net/results/792a32456c53fd8b546655db4dee35ce73fc7e81 | ORPH s390x | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/ed67d4a73de0d9860d711785c1f5ad4211bd960e | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/e430c18de6aad077bea29516bb266ee6cae38371 | x86_64 | wtfutil-0.41.0 | NOK | http://autobuild.buildroot.net/results/bc8fd1ce9c345d3edb83010950bb1ce9734591ec | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b45018863e87da560bf2cf81884ed52ee1f6ae0e | riscv64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9bdaa579cc583fe8572b63bf6c26491b17221a2c | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9e16adb42cefc10132b1fea2423e218492b023ec | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b15dd571fe61a83f3a2780b2352904446b1f223c | armeb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/e884c3c46cdb57c5c18a75f16828d0c11418b599 | mips | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/26aa8eebc4264d24d8dfd36214f3fa021b614e30 | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/7121387555767f32f18a51633cdc2916aeaf7a70 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b46ce4ffca38e59ede32f40bf3dd33e00031dfc7 | riscv64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9b0b3d7616f14a5985f0db4626ff8d730d66c184 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/8d1f4e0042e9302fd187b84147a4a21ba2b2135a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/b7e774d88af5baf8b98de6a7931abfab03ae68db | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1f4b0cdf8ca7eedd2683f9b67e82a8224ba49862 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e41df7b9c1728f487e21672a1218a624c063e173 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/d1785889736a7630b17f5e28b60709080e5da6d2 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/537d2aba0263a15e63b0398fe6e9a8dba196a02d | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- host-harfbuzz-3.3.2 | 1 libuwsc | 1 tvheadend-1295dd2be863f5beb... | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | host-harfbuzz-3.3.2 | NOK | http://autobuild.buildroot.net/results/d6b04acc98b596a0f591e0dbd7fc7d068072cad1 | arc | libuwsc | TIM | http://autobuild.buildroot.net/results/e1680bc985f318ef03203b55e97fc2ea1b0e4340 | x86_64 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/b7a1f04c641469020e77231736984cda76ded126 | Gitlab CI results for 2022-04-25 ================================ Detail of runtime-test failures for master ------------------------------------------ runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestInitSystemNone | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370858810 | ORPH TestIso9660Grub2Hybrid | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370858749 | ORPH TestLibshdata | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370858944 | ORPH TestLxc | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859087 | ORPH TestPythonAvro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859192 | ORPH TestPythonPy3Boto3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859200 | ORPH TestPythonPy3Botocore | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859204 | ORPH TestPythonPy3Can | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859207 | ORPH TestPythonPy3Flask | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859230 | ORPH TestPythonPy3Txtorcon | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859293 | ORPH TestRust | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859311 | ORPH TestTmux | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859330 | ORPH -- http://autobuild.buildroot.net From salvador.joseluis at gmail.com Tue Apr 26 11:30:09 2022 From: salvador.joseluis at gmail.com (=?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=) Date: Tue, 26 Apr 2022 13:30:09 +0200 Subject: [Buildroot] [PATCH 1/2] package/zfs: refactor test cases Message-ID: <20220426113010.1463133-1-salvador.joseluis@gmail.com> Patch title: package/zfs: refactor test cases Signed-off-by: Jos? Luis Salvador Rufo --- These patch series refactor the test case and add musl toolchain. Here is the first one, that only refactor the current zfs test cases. support/testing/tests/package/test_zfs.py | 62 ++++------------------- 1 file changed, 10 insertions(+), 52 deletions(-) diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py index 706934ca65..1cc030e78c 100644 --- a/support/testing/tests/package/test_zfs.py +++ b/support/testing/tests/package/test_zfs.py @@ -3,13 +3,12 @@ import os import infra.basetest -class TestZfsGlibc(infra.basetest.BRTest): +class TestZfsBase(infra.basetest.BRTest): config = \ """ BR2_x86_64=y BR2_x86_corei7=y BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y @@ -60,58 +59,17 @@ class TestZfsGlibc(infra.basetest.BRTest): self.assertRunOk(cmd) -class TestZfsUclibc(infra.basetest.BRTest): - config = \ +class TestZfsGlibc(TestZfsBase): + config = TestZfsBase.config + \ + """ + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y + """ + + +class TestZfsUclibc(TestZfsBase): + config = TestZfsBase.config + \ """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y - BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35" - BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y - BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" - BR2_PACKAGE_ZFS=y - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CFFI=y - BR2_PACKAGE_PYTHON_SETUPTOOLS=y - BR2_PACKAGE_ZLIB_NG=y - BR2_PACKAGE_LIBRESSL=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set """ - def test_run(self): - kernel = os.path.join(self.builddir, "images", "bzImage") - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot( - arch="x86_64", - kernel=kernel, - kernel_cmdline=["console=ttyS0"], - options=["-cpu", "Nehalem", "-m", "320", "-initrd", cpio_file], - ) - self.emulator.login() - cmds = [ - # Init - "modprobe zfs", - "mount -o remount,size=132M /tmp", - "fallocate -l 64M /tmp/container1.raw", - "fallocate -l 64M /tmp/container2.raw", - "zpool create -m /pool pool raidz /tmp/container1.raw /tmp/container2.raw", - "dd if=/dev/urandom bs=1M count=8 of=/pool/urandom", - "sha256sum /pool/urandom > /tmp/urandom.sha256", - # Check ZFS - "zpool export pool", - "zpool import pool -d /tmp/container1.raw -d /tmp/container2.raw", - "dd conv=notrunc bs=1M count=32 seek=16 if=/dev/urandom of=/tmp/container1.raw", - "zpool scrub -w pool", - "sha256sum -c /tmp/urandom.sha256", - "zpool status -v", - # Check PyZFS - "arc_summary", - ] - for cmd in cmds: - self.assertRunOk(cmd) -- 2.36.0 From salvador.joseluis at gmail.com Tue Apr 26 11:30:10 2022 From: salvador.joseluis at gmail.com (=?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=) Date: Tue, 26 Apr 2022 13:30:10 +0200 Subject: [Buildroot] [PATCH 2/2] package/zfs: add test case for musl toolchain In-Reply-To: <20220426113010.1463133-1-salvador.joseluis@gmail.com> References: <20220426113010.1463133-1-salvador.joseluis@gmail.com> Message-ID: <20220426113010.1463133-2-salvador.joseluis@gmail.com> Patch title: package/zfs: add test case for musl toolchain Signed-off-by: Jos? Luis Salvador Rufo --- These patch series refactor the test case and add musl toolchain. Here is second one, that add the musl toolchain test case. support/testing/tests/package/test_zfs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py index 1cc030e78c..8911dcfd9e 100644 --- a/support/testing/tests/package/test_zfs.py +++ b/support/testing/tests/package/test_zfs.py @@ -73,3 +73,8 @@ class TestZfsUclibc(TestZfsBase): """ +class TestZfsMusl(TestZfsBase): + config = TestZfsBase.config + \ + """ + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE=y + """ -- 2.36.0 From salvador.joseluis at gmail.com Tue Apr 26 13:28:34 2022 From: salvador.joseluis at gmail.com (=?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=) Date: Tue, 26 Apr 2022 15:28:34 +0200 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils Message-ID: <20220426132833.1579873-1-salvador.joseluis@gmail.com> Patch title: docs/manual/prerequisite.txt: add diffutils The command `cmp` is used by `package/pkg-generic.mk` at commit 8623cc5deb5. This command is provided by `diffutils`. Signed-off-by: Jos? Luis Salvador Rufo --- docs/manual/prerequisite.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/manual/prerequisite.txt b/docs/manual/prerequisite.txt index 40071491f8..763fe79041 100644 --- a/docs/manual/prerequisite.txt +++ b/docs/manual/prerequisite.txt @@ -23,6 +23,7 @@ between distributions). ** +make+ (version 3.81 or any later) ** +binutils+ ** +build-essential+ (only for Debian based systems) +** +diffutils+ ** +gcc+ (version 4.8 or any later) ** `g++` (version 4.8 or any later) ** +bash+ -- 2.36.0 From thomas.perrot at bootlin.com Tue Apr 26 14:00:08 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Tue, 26 Apr 2022 16:00:08 +0200 Subject: [Buildroot] [PATCH] package/imx-mkimage: install print_fit_hab.sh Message-ID: <20220426140008.281259-1-thomas.perrot@bootlin.com> This script gives the address, the offset and the size of binaries have been stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. Signed-off-by: Thomas Perrot --- ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 +++++++++++++++++++ package/imx-mkimage/imx-mkimage.mk | 1 + 2 files changed, 62 insertions(+) create mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch new file mode 100644 index 000000000000..7ad9573b6441 --- /dev/null +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch @@ -0,0 +1,61 @@ +From ff3204addcf737b7285a0c44eb0a34c9ca82be4e Mon Sep 17 00:00:00 2001 +From: Thomas Perrot +Date: Tue, 26 Apr 2022 15:10:04 +0200 +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 + +Signed-off-by: Thomas Perrot +--- + iMX8M/print_fit_hab.sh | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh +index b915115d1ecc..9e025b78c04d 100755 +--- a/iMX8M/print_fit_hab.sh ++++ b/iMX8M/print_fit_hab.sh +@@ -1,12 +1,16 @@ + #!/bin/bash + +-BL32="tee.bin" +- + let fit_off=$1 + + # keep backward compatibility + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" + ++[ -z "$BL31" ] && BL33="bl31.bin" ++ ++[ -z "$BL32" ] && BL32="tee.bin" ++ ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" ++ + if [ -z "$ATF_LOAD_ADDR" ]; then + echo "ERROR: BL31 load address is not set" >&2 + exit 0 +@@ -26,7 +30,7 @@ else + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) + fi + +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') + let uboot_load_addr=0x40200000 + + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) +@@ -64,13 +68,13 @@ done + + let atf_sign_off=$((last_sign_off)) + let atf_load_addr=$ATF_LOAD_ADDR +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') + + if [ ! -f $BL32 ]; then + let tee_size=0x0 + let tee_sign_off=$((atf_sign_off + atf_size)) + else +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') + + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) + let tee_load_addr=$TEE_LOAD_ADDR +-- +2.35.1 + diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 17ba3596f752..b88be0ca6441 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -21,6 +21,7 @@ endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else # i.MX8 and i.MX8X -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 15:37:24 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 17:37:24 +0200 Subject: [Buildroot] [PATCH 2/3] package/binutils: re-enable recent versions of binutils for FLAT binaries In-Reply-To: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> References: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> Message-ID: <20220426153726.312870-2-thomas.petazzoni@bootlin.com> Thanks to the bump of elf2flt to version 2021.08, the issue with recent versions of binutils has been fixed, so we can re-enable using the recent binutils versions. Signed-off-by: Thomas Petazzoni --- package/binutils/Config.in.host | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index e639c67149..4382b32237 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,21 +19,12 @@ config BR2_BINUTILS_VERSION_2_32_X config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_37_X bool "binutils 2.37" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_38_X bool "binutils 2.38" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 15:37:23 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 17:37:23 +0200 Subject: [Buildroot] [PATCH 1/3] package/elf2flt: update to version 2021.08 Message-ID: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> It contains several fixes and improvements compared to our current version, and two of our patches have been accepted upstream. Most notably, it fixes the issue we had in using elf2flt with recent versions of binutils (upstream commit ba379d08bb78c9300e84351c11080c26ddcc36b3). Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d The other two patches are refreshed to apply properly on 2021.08. Signed-off-by: Thomas Petazzoni --- ...> 0001-elf2flt-handle-binutils-2.34.patch} | 80 ++++---- ...e-properly-when-called-with-a-name-d.patch | 79 -------- ...2-elf2flt-add-riscv-64-bits-support.patch} | 40 ++-- ...-add-new-relocation-types-for-xtensa.patch | 188 ------------------ package/elf2flt/elf2flt.hash | 2 +- package/elf2flt/elf2flt.mk | 4 +- 6 files changed, 59 insertions(+), 334 deletions(-) rename package/elf2flt/{0003-elf2flt-handle-binutils-2.34.patch => 0001-elf2flt-handle-binutils-2.34.patch} (88%) delete mode 100644 package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch rename package/elf2flt/{0004-elf2flt-add-riscv-64-bits-support.patch => 0002-elf2flt-add-riscv-64-bits-support.patch} (82%) delete mode 100644 package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch similarity index 88% rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch index 16d5633385..ba72afa85c 100644 --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch @@ -1,7 +1,7 @@ -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 5 Feb 2020 10:31:32 +0100 -Subject: [PATCH] elf2flt: handle binutils >= 2.34 +Subject: [PATCH 1/2] elf2flt: handle binutils >= 2.34 The latest Binutils release (2.34) is not compatible with elf2flt due to a change in bfd_section_* macros [1]. The issue has been reported @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/configure.ac b/configure.ac -index e82eb1d..cf7dea8 100644 +index b7db2cb..fdc0876 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 CFLAGS="-Wall $CFLAGS" if test "$werror" = 1 ; then diff --git a/elf2flt.c b/elf2flt.c -index b93aecd..3bcf4fe 100644 +index 7ac0617..ea6b5a1 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -149,6 +149,17 @@ const char *elf2flt_progname; @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 if (verbose) printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", -@@ -442,7 +451,7 @@ output_relocs ( +@@ -443,7 +452,7 @@ output_relocs ( continue; if (verbose) printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 if ((r->flags & SEC_RELOC) == 0) continue; relsize = bfd_get_reloc_upper_bound(rel_bfd, r); -@@ -694,7 +703,7 @@ output_relocs ( +@@ -695,7 +704,7 @@ output_relocs ( case R_BFIN_RIMM16: case R_BFIN_LUIMM16: case R_BFIN_HUIMM16: @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -727,7 +736,7 @@ output_relocs ( +@@ -728,7 +737,7 @@ output_relocs ( break; case R_BFIN_BYTE4_DATA: @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -885,7 +894,7 @@ output_relocs ( +@@ -886,7 +895,7 @@ output_relocs ( #if defined(TARGET_m68k) case R_68K_32: relocation_needed = 1; @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_68K_PC16: -@@ -910,7 +919,7 @@ output_relocs ( +@@ -911,7 +920,7 @@ output_relocs ( q->address, sym_addr, (*p)->howto->rightshift, *(uint32_t *)r_mem); @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_ARM_GOT32: -@@ -938,7 +947,7 @@ output_relocs ( +@@ -939,7 +948,7 @@ output_relocs ( #ifdef TARGET_v850 case R_V850_ABS32: relocation_needed = 1; @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_V850_ZDA_16_16_OFFSET: -@@ -960,7 +969,7 @@ output_relocs ( +@@ -961,7 +970,7 @@ output_relocs ( sym_addr = (*(q->sym_ptr_ptr))->value; q->address -= 1; r_mem -= 1; /* tracks q->address */ @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= (*(unsigned char *)r_mem<<24); break; -@@ -973,7 +982,7 @@ output_relocs ( +@@ -974,7 +983,7 @@ output_relocs ( /* Absolute symbol done not relocation */ relocation_needed = !bfd_is_abs_section(sym_section); sym_addr = (*(q->sym_ptr_ptr))->value; @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_DIR32: -@@ -986,7 +995,7 @@ output_relocs ( +@@ -987,7 +996,7 @@ output_relocs ( } relocation_needed = 1; sym_addr = (*(q->sym_ptr_ptr))->value; @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_PCREL16: -@@ -1012,7 +1021,7 @@ output_relocs ( +@@ -1013,7 +1022,7 @@ output_relocs ( #ifdef TARGET_microblaze case R_MICROBLAZE_64: /* work out the relocation */ @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* Write relocated pointer back */ r_mem[2] = (sym_addr >> 24) & 0xff; -@@ -1026,7 +1035,7 @@ output_relocs ( +@@ -1027,7 +1036,7 @@ output_relocs ( pflags = 0x80000000; break; case R_MICROBLAZE_32: @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; relocation_needed = 1; break; -@@ -1058,7 +1067,7 @@ output_relocs ( +@@ -1059,7 +1068,7 @@ output_relocs ( case R_NIOS2_BFD_RELOC_32: relocation_needed = 1; pflags = (FLAT_NIOS2_R_32 << 28); @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* modify target, in target order */ *(unsigned long *)r_mem = htoniosl(sym_addr); -@@ -1068,7 +1077,7 @@ output_relocs ( +@@ -1069,7 +1078,7 @@ output_relocs ( unsigned long exist_val; relocation_needed = 1; pflags = (FLAT_NIOS2_R_CALL26 << 28); - sym_vma = bfd_section_vma(abs_bfd, sym_section); + sym_vma = elf2flt_bfd_section_vma(sym_section); sym_addr += sym_vma + q->addend; - + /* modify target, in target order */ -@@ -1099,7 +1108,7 @@ output_relocs ( +@@ -1100,7 +1109,7 @@ output_relocs ( ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; pflags <<= 28; - + - sym_vma = bfd_section_vma(abs_bfd, sym_section); -+ sym_vma = elf2flt_bfd_section_vma(sym_section); ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); sym_addr += sym_vma + q->addend; /* modify high 16 bits, in target order */ -@@ -1132,7 +1141,7 @@ output_relocs ( +@@ -1133,7 +1142,7 @@ output_relocs ( goto NIOS2_RELOC_ERR; } /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); sym_addr += sym_vma + q->addend; sym_addr -= gp; -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: case R_SPARC_32: case R_SPARC_UA32: relocation_needed = 1; @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SPARC_PC22: -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: case R_SPARC_HI22: relocation_needed = 1; pflags = 0x80000000; @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= ( htonl(*(uint32_t *)r_mem) -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: case R_SPARC_LO10: relocation_needed = 1; pflags = 0x40000000; @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr &= 0x000003ff; sym_addr |= ( -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: #ifdef TARGET_sh case R_SH_DIR32: relocation_needed = 1; @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SH_REL32: -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: case R_E1_CONST31: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: DBG_E1("Handling Reloc \n"); DIS29_RELOCATION: relocation_needed = 1; @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: case R_E1_IMM32: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: case R_E1_WORD: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: } sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 /* -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) } else continue; @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 if (sec_vma < *vma) { if (*len > 0) -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_CODE) +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) + (SEC_DATA | SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, text + (s->vma - text_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 { fatal("read error section %s", s->name); } -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_DATA) +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) + (SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, data + (s->vma - data_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 fatal("read error section %s", s->name); } -- -2.25.4 +2.35.1 diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch deleted file mode 100644 index a27c4913fb..0000000000 --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 13 Aug 2017 16:03:20 +0200 -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different - from TARGET_ALIAS - -ld-elf2flt currently handles two cases: - - 1 It is called as the wrapper for -ld, generally - installed in the bin/ directory of a toolchain. - - 2 It is called as the wrapper for "ld", generally installed in the - TARGET_ALIAS/bin/ directory of a toolchain. - -Unfortunately, if for some reason it gets called using a FOOBAR-ld -name that is different from -ld, it assumes it is in -case (2), while it really is in case (1). Due to this, the path -mangling logic doesn't work, and it doesn't find ld.real. - -This happens for example when the binary program in bin/ is named -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink -named arm-linux-ld. In this case, -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as -containing TARGET_ALIAS, and therefore the proper logic to find -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt -doesn't find TARGET_ALIAS, and therefore assumes we're being called as -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in -bin/, which doesn't exist. - -See: - -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -$ ./output/host/bin/arm-linux-ld -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory - -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -This commit fixes that by inverting the logic: if we're being called -as just "ld", then we assume it's the program in -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of -TARGET-ld. - -Signed-off-by: Thomas Petazzoni -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 ---- - ld-elf2flt.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index de39fe0..c187c2e 100644 ---- a/ld-elf2flt.c -+++ b/ld-elf2flt.c -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) - the host while those in /lib are for the target. - Make bindir point to the bin dir for bin/-foo. - Make tooldir point to the bin dir for /bin/foo. */ -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); -+ if (streqn(elf2flt_progname, "ld")) { -+ tmp = concat(argv0_dir, "../../bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- tooldir = concat(tmp, "/", NULL); -+ bindir = concat(tmp, "/", NULL); - } - } else { -- tmp = concat(argv0_dir, "../../bin", NULL); -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- bindir = concat(tmp, "/", NULL); -+ tooldir = concat(tmp, "/", NULL); - } - } - --- -2.9.4 - diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch similarity index 82% rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch index 4b00758446..e81c33a5b0 100644 --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch @@ -1,7 +1,7 @@ -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Wed, 9 Sep 2020 17:31:33 +0900 -Subject: [PATCH] elf2flt: add riscv 64-bits support +Subject: [PATCH 2/2] elf2flt: add riscv 64-bits support Add support for riscv 64bits ISA by defining the relocation types R_RISCV_32_PCREL, R_RISCV_ADD32, R_RISCV_SUB32, R_RISCV_32 and @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . Signed-off-by: Damien Le Moal --- elf2flt.c | 23 +++++++++++++++++++++++ - elf2flt.ld.in | 9 +++++---- + elf2flt.ld.in | 1 + ld-elf2flt.c | 16 ++++++++++++++++ - 3 files changed, 44 insertions(+), 4 deletions(-) + 3 files changed, 40 insertions(+) diff --git a/elf2flt.c b/elf2flt.c -index f87f1fc..dbce467 100644 +index ea6b5a1..7100c20 100644 --- a/elf2flt.c +++ b/elf2flt.c -@@ -80,6 +80,8 @@ const char *elf2flt_progname; +@@ -81,6 +81,8 @@ const char *elf2flt_progname; #include #elif defined(TARGET_xtensa) #include @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 #endif #if defined(__MINGW32__) -@@ -122,6 +124,8 @@ const char *elf2flt_progname; +@@ -123,6 +125,8 @@ const char *elf2flt_progname; #define ARCH "nios2" #elif defined(TARGET_xtensa) #define ARCH "xtensa" @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 #else #error "Don't know how to support your CPU architecture??" #endif -@@ -797,6 +801,16 @@ output_relocs ( +@@ -821,6 +825,16 @@ output_relocs ( goto good_32bit_resolved_reloc; default: goto bad_resolved_reloc; @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 #else default: /* The default is to assume that the -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) if (!load_to_ram && !pfile) load_to_ram = 1; @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 if (pfile) { diff --git a/elf2flt.ld.in b/elf2flt.ld.in -index ec1fe6f..c0c44b8 100644 +index 0df999d..f1eed1f 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) . = ALIGN(0x20) ; LONG(-1) . = ALIGN(0x20) ; --R_RODAT *(.rodata) --R_RODAT *(.rodata1) --R_RODAT *(.rodata.*) --R_RODAT *(.gnu.linkonce.r*) +RISCV_GP: __global_pointer$ = . + 0x800 ; -+R_RODAT *(.rodata) -+R_RODAT *(.rodata1) -+R_RODAT *(.rodata.*) -+R_RODAT *(.gnu.linkonce.r*) - *(.data) - *(.data1) - *(.data.*) + R_RODAT: *(.rodata) + R_RODAT: *(.rodata1) + R_RODAT: *(.rodata.*) diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index e5de506..31b565f 100644 +index 7cb02d5..1a503dd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -324,6 +324,22 @@ static int do_final_link(void) @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 if (!linker_script) linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); -- -2.31.1 +2.35.1 diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch deleted file mode 100644 index 953bd79ccf..0000000000 --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch +++ /dev/null @@ -1,188 +0,0 @@ -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 7 May 2020 21:11:43 -0700 -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa - -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. -Add them to the list of ignored relocation types. - -This fixes the following error when invoking elf2flt on xtensa binaries -built with the recent binutils: - - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context - -Reported-by: Romain Naour -Signed-off-by: Max Filippov -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d ---- - Makefile.in | 3 ++- - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 14 ++++++++++++ - elf2flt.c | 8 +++++++ - 4 files changed, 88 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 52b3347d7f43..0529c7f0a25a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ - -DNO_GOT_CHECK=@got_check@ \ - -DUSE_EMIT_RELOCS=@emit_relocs@ \ - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ - EXEEXT = @EXEEXT@ - OBJEXT = @OBJEXT@ - -diff --git a/configure b/configure -index bb8e33f9cb28..bca38c34247e 100755 ---- a/configure -+++ b/configure -@@ -621,6 +621,7 @@ ac_includes_default="\ - - ac_subst_vars='LTLIBOBJS - LIBOBJS -+HAVE_BFD_XTENSA_PDIFF_RELOCS - SYMBOL_PREFIX - always_reloc_text - emit_ctor_dtor -@@ -1729,6 +1730,52 @@ fi - - } # ac_fn_c_try_link - -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+ - # ac_fn_c_check_func LINENO FUNC VAR - # ---------------------------------- - # Tests whether FUNC exists, setting the cache variable VAR accordingly -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h - fi - - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ OLD_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" -+ #include \"elf/xtensa.h\" -+" -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 -+fi -+ -+ CPPFLAGS=$OLD_CPPFLAGS -+ ;; -+esac -+ - for ac_func in vprintf - do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -@@ -4333,6 +4396,7 @@ fi - - - -+ - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" - - cat >confcache <<\_ACEOF -diff --git a/configure.ac b/configure.ac -index d6b4119eb18a..19969b1045f6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, -+ [#include "bfd.h" -+ #include "elf/xtensa.h"]) -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) -+ ;; -+esac -+ - dnl Checks for library functions. - AC_FUNC_VPRINTF - -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) - AC_SUBST(emit_ctor_dtor) - AC_SUBST(always_reloc_text) - AC_SUBST(SYMBOL_PREFIX) -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) - - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) - -diff --git a/elf2flt.c b/elf2flt.c -index b7c4a490df02..961534973f56 100644 ---- a/elf2flt.c -+++ b/elf2flt.c -@@ -776,6 +776,14 @@ output_relocs ( - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: -+#endif - case R_XTENSA_32_PCREL: - continue; - case R_XTENSA_32: --- -2.20.1 - diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash index c4b0697fcd..c576f65cdb 100644 --- a/package/elf2flt/elf2flt.hash +++ b/package/elf2flt/elf2flt.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk index 3239af1b9a..11cacaf9e0 100644 --- a/package/elf2flt/elf2flt.mk +++ b/package/elf2flt/elf2flt.mk @@ -4,8 +4,8 @@ # ################################################################################ -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) +ELF2FLT_VERSION = 2021.08 +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) ELF2FLT_LICENSE = GPL-2.0+ ELF2FLT_LICENSE_FILES = LICENSE.TXT -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 15:37:25 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 17:37:25 +0200 Subject: [Buildroot] [PATCH 3/3] package/binutils: drop version 2.32 In-Reply-To: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> References: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> Message-ID: <20220426153726.312870-3-thomas.petazzoni@bootlin.com> Now that recent versions of binutils work with FLAT binaries, we can drop the old 2.32 version, which was kept only to keep support FLAT binaries. Signed-off-by: Thomas Petazzoni --- Config.in.legacy | 6 + package/binutils/2.32/0001-sh-conf.patch | 48 -- .../2.32/0002-poison-system-directories.patch | 306 ----------- ...hrink_dynamic_reloc_sections-for-exp.patch | 41 -- ...s-const16-for-xtensa-loop-relaxation.patch | 294 ---------- ...t-.literal_position-at-section-start.patch | 96 ---- ...ct-value-in-PLT-GOT-entries-causing-.patch | 46 -- .../0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 --------------- ...TENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ----- ...ith-plt-link-failure-for-local-calls.patch | 59 --- ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 --------- ...K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...ge-plt_relocs-when-generating-plt-en.patch | 500 ------------------ ...or1k-fix-building-with-gcc-version-5.patch | 50 -- ...tive-relocation-against-dynamic-on-P.patch | 59 --- ...K_GOT16-signed-overflow-by-using-spe.patch | 75 --- package/binutils/Config.in.host | 5 - 18 files changed, 6 insertions(+), 2493 deletions(-) delete mode 100644 package/binutils/2.32/0001-sh-conf.patch delete mode 100644 package/binutils/2.32/0002-poison-system-directories.patch delete mode 100644 package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch delete mode 100644 package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch delete mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch delete mode 100644 package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch delete mode 100644 package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch delete mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch delete mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch delete mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch delete mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch delete mode 100644 package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch delete mode 100644 package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch delete mode 100644 package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch diff --git a/Config.in.legacy b/Config.in.legacy index 387653f45d..6d2c82ab7f 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.05" +config BR2_BINUTILS_VERSION_2_32_X + bool "binutils 2.32.x has been removed" + select BR2_LEGACY + help + binutils 2.32 has been removed, use a newer version. + config BR2_sh2a bool "sh2a architecture support removed" select BR2_LEGACY diff --git a/package/binutils/2.32/0001-sh-conf.patch b/package/binutils/2.32/0001-sh-conf.patch deleted file mode 100644 index fff91ae35c..0000000000 --- a/package/binutils/2.32/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 98b2acf2bd3a527d114a9f8931083c2617a2daa9 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 37476459612..66fbc19f9ff 100755 ---- a/configure -+++ b/configure -@@ -3861,7 +3861,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index 46501c28826..6c731930884 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1158,7 +1158,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.14.5 - diff --git a/package/binutils/2.32/0002-poison-system-directories.patch b/package/binutils/2.32/0002-poison-system-directories.patch deleted file mode 100644 index 98f41e87f3..0000000000 --- a/package/binutils/2.32/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From f559402ea868d370ddf25089c68cda2600db3bfa Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index d93c9b08300..5da2742beac 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -31,6 +31,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index 18ada7808f5..7e7d2f97809 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -822,6 +822,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1486,6 +1487,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15803,7 +15806,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index d335f210917..7f692d93873 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index b97d977f37b..f3bbd2d55d4 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -180,6 +180,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index 5179af3e0e1..f78bf746822 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2524,6 +2524,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+ at kindex --no-poison-system-directories -+ at item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+ at file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+ at kindex --error-poison-system-directories -+ at item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index fcadc08c73f..63e295ce8ae 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 32853debe45..8135361c498 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -148,6 +148,8 @@ enum option_values - OPTION_REQUIRE_DEFINED_SYMBOL, - OPTION_ORPHAN_HANDLING, - OPTION_FORCE_GROUP_ALLOCATION, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index 77cdbd0dd29..725512f1260 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -269,6 +269,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 88e85c73f49..be4cd492d14 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = - { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, - '\0', N_("=MODE"), N_("Control how orphan sections are handled."), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -555,6 +563,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1543,6 +1552,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1586,6 +1603,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - lang_leave_group (); --- -2.14.5 - diff --git a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch deleted file mode 100644 index b80e1fa7ce..0000000000 --- a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 278989f23735aa501be1052e085540c75c126dbb Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 28 Mar 2019 17:03:57 -0700 -Subject: [PATCH] bfd: xtensa: fix shrink_dynamic_reloc_sections for - export-dynamic - -shrink_dynamic_reloc_sections must remove PLT entry that was created for -an undefined weak symbol in the presence of --export-dynamic option when -relaxation coalesces literals pointing to that symbol. This fixes the -following assertion: - - ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at - elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections - -2019-03-28 Max Filippov -bfd/ - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add - info->export_dynamic to the conditional. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index c3df3d6db756..37ea200eea74 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10083,7 +10083,8 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - && (input_section->flags & SEC_ALLOC) != 0 - && (dynamic_symbol || bfd_link_pic (info)) - && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol && bfd_link_dll (info)))) -+ || (dynamic_symbol -+ && (bfd_link_dll (info) || info->export_dynamic)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.11.0 - diff --git a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch deleted file mode 100644 index ed617bcaf7..0000000000 --- a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch +++ /dev/null @@ -1,294 +0,0 @@ -From 0dbdfb7918d0b0cfcb8883b24c1291574bf5bb7c Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Tue, 2 Apr 2019 14:32:42 -0700 -Subject: [PATCH] gas: use literals/const16 for xtensa loop relaxation - -Loop opcode relaxation that uses addi/addmi doesn't work well with other -relaxations that may cause code movement. Instead of encoding fixed loop -end offset in the relaxed sequence use l32r or a pair of const16 to load -loop end address. This way the address of the loop end gets a relocation -record and it gets updated appropriately. - -gas/ -2019-04-02 Max Filippov - - * config/tc-xtensa.c (convert_frag_immed): Drop - convert_frag_immed_finish_loop invocation. - (convert_frag_immed_finish_loop): Drop declaration and - definition. - * config/xtensa-relax.c (widen_spec_list): Replace loop - widening that uses addi/addmi with widening that uses l32r - and const16. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 120 ---------------------------------------------- - gas/config/xtensa-relax.c | 77 ++++++++++++++++++++--------- - 2 files changed, 55 insertions(+), 142 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 3bdbbc931cfc..0cc06361cf6f 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -10668,7 +10668,6 @@ convert_frag_fill_nop (fragS *fragP) - static fixS *fix_new_exp_in_seg - (segT, subsegT, fragS *, int, int, expressionS *, int, - bfd_reloc_code_real_type); --static void convert_frag_immed_finish_loop (segT, fragS *, TInsn *); - - static void - convert_frag_immed (segT segP, -@@ -10910,9 +10909,6 @@ convert_frag_immed (segT segP, - } - } - -- if (expanded && xtensa_opcode_is_loop (isa, orig_tinsn.opcode) == 1) -- convert_frag_immed_finish_loop (segP, fragP, &orig_tinsn); -- - if (expanded && is_direct_call_opcode (orig_tinsn.opcode)) - { - /* Add an expansion note on the expanded instruction. */ -@@ -10949,122 +10945,6 @@ fix_new_exp_in_seg (segT new_seg, - } - - --/* Relax a loop instruction so that it can span loop >256 bytes. -- -- loop as, .L1 -- .L0: -- rsr as, LEND -- wsr as, LBEG -- addi as, as, lo8 (label-.L1) -- addmi as, as, mid8 (label-.L1) -- wsr as, LEND -- isync -- rsr as, LCOUNT -- addi as, as, 1 -- .L1: -- <> -- label: --*/ -- --static void --convert_frag_immed_finish_loop (segT segP, fragS *fragP, TInsn *tinsn) --{ -- TInsn loop_insn; -- TInsn addi_insn; -- TInsn addmi_insn; -- unsigned long target; -- static xtensa_insnbuf insnbuf = NULL; -- unsigned int loop_length, loop_length_hi, loop_length_lo; -- xtensa_isa isa = xtensa_default_isa; -- addressT loop_offset; -- addressT addi_offset = 9; -- addressT addmi_offset = 12; -- fragS *next_fragP; -- int target_count; -- -- if (!insnbuf) -- insnbuf = xtensa_insnbuf_alloc (isa); -- -- /* Get the loop offset. */ -- loop_offset = get_expanded_loop_offset (tinsn->opcode); -- -- /* Validate that there really is a LOOP at the loop_offset. Because -- loops are not bundleable, we can assume that the instruction will be -- in slot 0. */ -- tinsn_from_chars (&loop_insn, fragP->fr_opcode + loop_offset, 0); -- tinsn_immed_from_frag (&loop_insn, fragP, 0); -- -- gas_assert (xtensa_opcode_is_loop (isa, loop_insn.opcode) == 1); -- addi_offset += loop_offset; -- addmi_offset += loop_offset; -- -- gas_assert (tinsn->ntok == 2); -- if (tinsn->tok[1].X_op == O_constant) -- target = tinsn->tok[1].X_add_number; -- else if (tinsn->tok[1].X_op == O_symbol) -- { -- /* Find the fragment. */ -- symbolS *sym = tinsn->tok[1].X_add_symbol; -- gas_assert (S_GET_SEGMENT (sym) == segP -- || S_GET_SEGMENT (sym) == absolute_section); -- target = (S_GET_VALUE (sym) + tinsn->tok[1].X_add_number); -- } -- else -- { -- as_bad (_("invalid expression evaluation type %d"), tinsn->tok[1].X_op); -- target = 0; -- } -- -- loop_length = target - (fragP->fr_address + fragP->fr_fix); -- loop_length_hi = loop_length & ~0x0ff; -- loop_length_lo = loop_length & 0x0ff; -- if (loop_length_lo >= 128) -- { -- loop_length_lo -= 256; -- loop_length_hi += 256; -- } -- -- /* Because addmi sign-extends the immediate, 'loop_length_hi' can be at most -- 32512. If the loop is larger than that, then we just fail. */ -- if (loop_length_hi > 32512) -- as_bad_where (fragP->fr_file, fragP->fr_line, -- _("loop too long for LOOP instruction")); -- -- tinsn_from_chars (&addi_insn, fragP->fr_opcode + addi_offset, 0); -- gas_assert (addi_insn.opcode == xtensa_addi_opcode); -- -- tinsn_from_chars (&addmi_insn, fragP->fr_opcode + addmi_offset, 0); -- gas_assert (addmi_insn.opcode == xtensa_addmi_opcode); -- -- set_expr_const (&addi_insn.tok[2], loop_length_lo); -- tinsn_to_insnbuf (&addi_insn, insnbuf); -- -- fragP->tc_frag_data.is_insn = TRUE; -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addi_offset, 0); -- -- set_expr_const (&addmi_insn.tok[2], loop_length_hi); -- tinsn_to_insnbuf (&addmi_insn, insnbuf); -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addmi_offset, 0); -- -- /* Walk through all of the frags from here to the loop end -- and mark them as no_transform to keep them from being modified -- by the linker. If we ever have a relocation for the -- addi/addmi of the difference of two symbols we can remove this. */ -- -- target_count = 0; -- for (next_fragP = fragP; next_fragP != NULL; -- next_fragP = next_fragP->fr_next) -- { -- next_fragP->tc_frag_data.is_no_transform = TRUE; -- if (next_fragP->tc_frag_data.is_loop_target) -- target_count++; -- if (target_count == 2) -- break; -- } --} -- - - /* A map that keeps information on a per-subsegment basis. This is - maintained during initial assembly, but is invalid once the -diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c -index cb296ed85ed2..daf15d52c259 100644 ---- a/gas/config/xtensa-relax.c -+++ b/gas/config/xtensa-relax.c -@@ -87,13 +87,7 @@ - when the first and second operands are not the same as specified - by the "| %at!=%as" precondition clause. - {"l32i %at,%as,%imm | %at!=%as", -- "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} -- -- There is special case for loop instructions here, but because we do -- not currently have the ability to represent the difference of two -- symbols, the conversion requires special code in the assembler to -- write the operands of the addi/addmi pair representing the -- difference of the old and new loop end label. */ -+ "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} */ - - #include "as.h" - #include "xtensa-isa.h" -@@ -306,44 +300,83 @@ static string_pattern_pair widen_spec_list[] = - {"l32i %at,%as,%imm | %at!=%as ? IsaUseConst16", - "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm); add %at,%at,%as; l32i %at,%at,0"}, - -- /* This is only PART of the loop instruction. In addition, -- hardcoded into its use is a modification of the final operand in -- the instruction in bytes 9 and 12. */ -- {"loop %as,%label | %as!=1 ? IsaUseLoops", -+ /* Widening loops with literals. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "loop %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "bltz %as,%label;" -+ "loopgtz %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "loopnez %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ -+ /* Widening loops with const16. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "loop %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopgtz %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "bltz %as,%label;" - "loopgtz %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopnez %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "loopnez %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, - - /* Relaxing to wide branches. Order is important here. With wide --- -2.11.0 - diff --git a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch deleted file mode 100644 index b4bbc27b37..0000000000 --- a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 471702ac4a57878a06e8167f063274cf413e548d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Mon, 8 Apr 2019 13:47:18 -0700 -Subject: [PATCH] xtensa: gas: put .literal_position at section start - -Provide literal position at the beginning of each section for literal -space reserved by relaxations when text-section-literals or -auto-litpools options are used. Remove code that adds fill frag to the -literal section for every .literal_position directive to avoid creation -of empty literal sections. - -Fix auto-litpools tests that got literal pool address changes. - -gas/ -2019-04-11 Max Filippov - - * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. - (xtensa_mark_literal_pool_location): Don't add fill frag to literal - section that records literal pool location. - (md_begin): Call xtensa_mark_literal_pool_location when text - section literals or auto litpools are used. - (xtensa_elf_section_change_hook): Call - xtensa_mark_literal_pool_location when text section literals or - auto litpools are used, there's no literal pool location defined - for the current section and it's not .init or .fini. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 22 +++++++++------------- - 1 file changed, 9 insertions(+), 13 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 0cc06361cf6f..6a80e76fed8c 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -497,6 +497,7 @@ static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset); - static void xtensa_maybe_create_literal_pool_frag (bfd_boolean, bfd_boolean); - static bfd_boolean auto_litpools = FALSE; - static int auto_litpool_limit = 0; -+static bfd_boolean xtensa_is_init_fini (segT seg); - - /* Alignment Functions. */ - -@@ -4797,7 +4798,6 @@ xtensa_mark_literal_pool_location (void) - { - /* Any labels pointing to the current location need - to be adjusted to after the literal pool. */ -- emit_state s; - fragS *pool_location; - - if (use_literal_section) -@@ -4818,19 +4818,7 @@ xtensa_mark_literal_pool_location (void) - RELAX_LITERAL_POOL_END, NULL, 0, NULL); - xtensa_set_frag_assembly_state (frag_now); - -- /* Now put a frag into the literal pool that points to this location. */ - set_literal_pool_location (now_seg, pool_location); -- xtensa_switch_to_non_abs_literal_fragment (&s); -- frag_align (2, 0, 0); -- record_alignment (now_seg, 2); -- -- /* Close whatever frag is there. */ -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_set_frag_assembly_state (frag_now); -- frag_now->tc_frag_data.literal_frag = pool_location; -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_restore_emit_state (&s); -- xtensa_set_frag_assembly_state (frag_now); - } - - -@@ -5334,6 +5322,9 @@ md_begin (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section) -+ xtensa_mark_literal_pool_location (); - } - - -@@ -5933,6 +5924,11 @@ xtensa_elf_section_change_hook (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section -+ && seg_info (now_seg)->tc_segment_info_data.literal_pool_loc == NULL -+ && !xtensa_is_init_fini (now_seg)) -+ xtensa_mark_literal_pool_location (); - } - - --- -2.11.0 - diff --git a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch deleted file mode 100644 index 8527b66733..0000000000 --- a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch +++ /dev/null @@ -1,46 +0,0 @@ -From b17678f639f953d687d96cd52690e7cbfae50f91 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Fri, 23 Aug 2019 22:25:55 +0900 -Subject: [PATCH] or1k: Fix incorrect value in PLT GOT entries, causing - infinite loop - -The PLT GOT entry should point to the first PLT entry which contains the -runtime linker function. It was pointing back to the symbol PLT entry -causing an infinite loop. - -I found this when testing the OpenRISC glibc port which uses the runtime -dynamic linker. It seems other libc's we use so far have not been -making use of the initial PLT GOT entries. - -bfd/ChangeLog: - - * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for - PLT GOT entries. - -(cherry picked from commit 09f7b0de537d465fc8ed9f9433e348c1bc78aab2) -Signed-off-by: Romain Naour ---- - bfd/elf32-or1k.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..32839cfa7b6 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2379,8 +2379,11 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, - plt0, plt1, plt2, OR1K_JR(12)); - -- /* Fill in the entry in the global offset table. */ -- bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -+ /* Fill in the entry in the global offset table. We initialize it to -+ point to the top of the plt. This is done to lazy lookup the actual -+ symbol as the first plt entry will be setup by libc to call the -+ runtime dynamic linker. */ -+ bfd_put_32 (output_bfd, plt_base_addr, sgot->contents + got_offset); - - /* Fill in the entry in the .rela.plt section. */ - rela.r_offset = got_addr; --- -2.23.0 - diff --git a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch deleted file mode 100644 index f499426b70..0000000000 --- a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 85dcca5997cf3822d6456a5c9c59c46b56adfbb8 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Wed, 4 Mar 2020 14:54:27 -0800 -Subject: [PATCH] bfd: xtensa: fix PR ld/25630 - -bfd/ -2020-03-05 Max Filippov - - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic - relocation sections for any removed reference to a dynamic symbol. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 12ff9f772aaf..65e14d87940c 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - - if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) - && (input_section->flags & SEC_ALLOC) != 0 -- && (dynamic_symbol || bfd_link_pic (info)) -- && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol -- && (bfd_link_dll (info) || info->export_dynamic)))) -+ && (dynamic_symbol -+ || (bfd_link_pic (info) -+ && (!h || h->root.type != bfd_link_hash_undefweak)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.20.1 - diff --git a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch deleted file mode 100644 index 2df46c6526..0000000000 --- a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch +++ /dev/null @@ -1,432 +0,0 @@ -From c7a1d1f656c717394937a92cb970f0f4cecce128 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sun, 19 Apr 2020 19:04:41 -0700 -Subject: [PATCH] xtensa: fix PR ld/25861 - -Introduce new relaxations XTENSA_PDIFF{8,16,32} for positive differences -(subtracted symbol precedes diminished symbol) and XTENSA_NDIFF{8,16,32} -for negative differences (subtracted symbol follows diminished symbol). -Don't generate XTENSA_DIFF relocations in the assembler, generate -XTENSA_PDIFF or XTENSA_NDIFF based on relative symbol position. - -Handle XTENSA_DIFF in BFD for compatibility with old object files. -Handle XTENSA_PDIFF and XTENSA_NDIFF in BFD, treating difference value -as unsigned. - -2020-04-22 Max Filippov -bfd/ - * bfd-in2.h: Regenerated. - * elf32-xtensa.c (elf_howto_table): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - (elf_xtensa_reloc_type_lookup, elf_xtensa_do_reloc) - (relax_section): Add cases for R_XTENSA_PDIFF{8,16,32} and - R_XTENSA_NDIFF{8,16,32}. - * libbfd.h (bfd_reloc_code_real_names): Add names for - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - * reloc.c: Add documentation for BFD_RELOC_XTENSA_PDIFF{8,16,32} - and BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -binutils/ - * readelf.c (is_none_reloc): Recognize - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -gas/ - * config/tc-xtensa.c (md_apply_fix): Replace - BFD_RELOC_XTENSA_DIFF{8,16,32} generation with - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. - * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 - with BFD_RELOC_XTENSA_PDIFF16 in the expected output. - -include/ - * elf/xtensa.h (elf_xtensa_reloc_type): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - -ld/ - * testsuite/ld-xtensa/relax-loc.d: New test definition. - * testsuite/ld-xtensa/relax-loc.s: New test source. - * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test. - -Signed-off-by: Max Filippov ---- -Backported from: 30ce8e47fad9b057b6d7af9e1d43061126d34d20 - - bfd/bfd-in2.h | 20 ++++++- - bfd/elf32-xtensa.c | 89 +++++++++++++++++++++++++++++- - bfd/libbfd.h | 6 ++ - bfd/reloc.c | 24 ++++++++ - binutils/readelf.c | 8 ++- - gas/config/tc-xtensa.c | 12 +++- - gas/testsuite/gas/xtensa/loc.d | 2 +- - include/elf/xtensa.h | 6 ++ - ld/testsuite/ld-xtensa/relax-loc.d | 7 +++ - ld/testsuite/ld-xtensa/relax-loc.s | 15 +++++ - ld/testsuite/ld-xtensa/xtensa.exp | 1 + - 11 files changed, 183 insertions(+), 7 deletions(-) - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.d - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.s - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index 37114607b515..be6a30f57955 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5217,7 +5217,9 @@ to one of its own internal functions or data structures. */ - PLT entries. Otherwise, this is just a generic 32-bit relocation. */ - BFD_RELOC_XTENSA_PLT, - --/* Xtensa relocations to mark the difference of two local symbols. -+/* Xtensa relocations for backward compatibility. These have been replaced -+by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. -+Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference - assuming no relaxation. The relocation encodes the position of the -@@ -5291,6 +5293,22 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ - BFD_RELOC_XTENSA_TLS_ARG, - BFD_RELOC_XTENSA_TLS_CALL, - -+/* Xtensa relocations to mark the difference of two local symbols. -+These are only needed to support linker relaxation and can be ignored -+when not relaxing. The field is set to the value of the difference -+assuming no relaxation. The relocation encodes the position of the -+subtracted symbol so the linker can determine whether to adjust the field -+value. PDIFF relocations are used for positive differences, NDIFF -+relocations are used for negative differences. The difference value -+is treated as unsigned with these relocation types, giving full -+8/16 value ranges. */ -+ BFD_RELOC_XTENSA_PDIFF8, -+ BFD_RELOC_XTENSA_PDIFF16, -+ BFD_RELOC_XTENSA_PDIFF32, -+ BFD_RELOC_XTENSA_NDIFF8, -+ BFD_RELOC_XTENSA_NDIFF16, -+ BFD_RELOC_XTENSA_NDIFF32, -+ - /* 8 bit signed offset in (ix+d) or (iy+d). */ - BFD_RELOC_Z80_DISP8, - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 473a9d76f289..fded42d52a9a 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -325,6 +325,20 @@ static reloc_howto_type elf_howto_table[] = - HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, FALSE, 0, complain_overflow_dont, - bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", - FALSE, 0, 0, FALSE), -+ -+ HOWTO (R_XTENSA_PDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_PDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_PDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF32", FALSE, 0, 0xffffffff, FALSE), -+ -+ HOWTO (R_XTENSA_NDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_NDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_NDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF32", FALSE, 0, 0xffffffff, FALSE), - }; - - #if DEBUG_GEN_RELOC -@@ -364,6 +378,30 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, - TRACE ("BFD_RELOC_XTENSA_DIFF32"); - return &elf_howto_table[(unsigned) R_XTENSA_DIFF32 ]; - -+ case BFD_RELOC_XTENSA_PDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF32 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF32 ]; -+ - case BFD_RELOC_XTENSA_RTLD: - TRACE ("BFD_RELOC_XTENSA_RTLD"); - return &elf_howto_table[(unsigned) R_XTENSA_RTLD ]; -@@ -1851,6 +1889,12 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: - case R_XTENSA_TLS_FUNC: - case R_XTENSA_TLS_ARG: - case R_XTENSA_TLS_CALL: -@@ -9604,7 +9648,13 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - - if (r_type == R_XTENSA_DIFF8 - || r_type == R_XTENSA_DIFF16 -- || r_type == R_XTENSA_DIFF32) -+ || r_type == R_XTENSA_DIFF32 -+ || r_type == R_XTENSA_PDIFF8 -+ || r_type == R_XTENSA_PDIFF16 -+ || r_type == R_XTENSA_PDIFF32 -+ || r_type == R_XTENSA_NDIFF8 -+ || r_type == R_XTENSA_NDIFF16 -+ || r_type == R_XTENSA_NDIFF32) - { - bfd_signed_vma diff_value = 0; - bfd_vma new_end_offset, diff_mask = 0; -@@ -9631,8 +9681,27 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_value = -+ bfd_get_8 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_value = -+ bfd_get_16 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_value = -+ bfd_get_32 (abfd, &contents[old_source_offset]); -+ break; - } - -+ if (r_type >= R_XTENSA_NDIFF8 -+ && r_type <= R_XTENSA_NDIFF32) -+ diff_value = -diff_value; -+ - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, - r_rel.target_offset + diff_value); -@@ -9655,6 +9724,24 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; -+ bfd_put_8 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; -+ bfd_put_16 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; -+ bfd_put_32 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; - } - - /* Check for overflow. Sign bits must be all zeroes or all ones */ -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 3c184fcadadf..989f4bc0b595 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2919,6 +2919,12 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_XTENSA_TLS_FUNC", - "BFD_RELOC_XTENSA_TLS_ARG", - "BFD_RELOC_XTENSA_TLS_CALL", -+ "BFD_RELOC_XTENSA_PDIFF8", -+ "BFD_RELOC_XTENSA_PDIFF16", -+ "BFD_RELOC_XTENSA_PDIFF32", -+ "BFD_RELOC_XTENSA_NDIFF8", -+ "BFD_RELOC_XTENSA_NDIFF16", -+ "BFD_RELOC_XTENSA_NDIFF32", - "BFD_RELOC_Z80_DISP8", - "BFD_RELOC_Z80_BYTE0", - "BFD_RELOC_Z80_BYTE1", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index c4dec86d1d46..f5df8e2ab3eb 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6556,6 +6556,8 @@ ENUMX - ENUMX - BFD_RELOC_XTENSA_DIFF32 - ENUMDOC -+ Xtensa relocations for backward compatibility. These have been replaced -+ by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. - Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference -@@ -6668,6 +6670,28 @@ ENUMX - BFD_RELOC_XTENSA_TLS_CALL - ENUMDOC - Xtensa TLS relocations. -+ENUM -+ BFD_RELOC_XTENSA_PDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF32 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF32 -+ENUMDOC -+ Xtensa relocations to mark the difference of two local symbols. -+ These are only needed to support linker relaxation and can be ignored -+ when not relaxing. The field is set to the value of the difference -+ assuming no relaxation. The relocation encodes the position of the -+ subtracted symbol so the linker can determine whether to adjust the field -+ value. PDIFF relocations are used for positive differences, NDIFF -+ relocations are used for negative differences. The difference value -+ is treated as unsigned with these relocation types, giving full -+ 8/16 value ranges. - - ENUM - BFD_RELOC_Z80_DISP8 -diff --git a/binutils/readelf.c b/binutils/readelf.c -index d4756c93b345..800918f901c8 100644 ---- a/binutils/readelf.c -+++ b/binutils/readelf.c -@@ -13262,7 +13262,13 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type) - return (reloc_type == 0 /* R_XTENSA_NONE. */ - || reloc_type == 17 /* R_XTENSA_DIFF8. */ - || reloc_type == 18 /* R_XTENSA_DIFF16. */ -- || reloc_type == 19 /* R_XTENSA_DIFF32. */); -+ || reloc_type == 19 /* R_XTENSA_DIFF32. */ -+ || reloc_type == 57 /* R_XTENSA_PDIFF8. */ -+ || reloc_type == 58 /* R_XTENSA_PDIFF16. */ -+ || reloc_type == 59 /* R_XTENSA_PDIFF32. */ -+ || reloc_type == 60 /* R_XTENSA_NDIFF8. */ -+ || reloc_type == 61 /* R_XTENSA_NDIFF16. */ -+ || reloc_type == 62 /* R_XTENSA_NDIFF32. */); - } - return FALSE; - } -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 71d4d94a8d7d..ee75c13548ff 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -5974,18 +5974,24 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) - case BFD_RELOC_8: - if (fixP->fx_subsy) - { -+ bfd_boolean neg = S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset -+ < S_GET_VALUE (fixP->fx_subsy); -+ - switch (fixP->fx_r_type) - { - case BFD_RELOC_8: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF8; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF8 : BFD_RELOC_XTENSA_PDIFF8; - fixP->fx_signed = 0; - break; - case BFD_RELOC_16: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF16; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF16 : BFD_RELOC_XTENSA_PDIFF16; - fixP->fx_signed = 0; - break; - case BFD_RELOC_32: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF32; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF32 : BFD_RELOC_XTENSA_PDIFF32; - fixP->fx_signed = 0; - break; - default: -diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d -index 71983cc90055..8fb3425999d5 100644 ---- a/gas/testsuite/gas/xtensa/loc.d -+++ b/gas/testsuite/gas/xtensa/loc.d -@@ -6,5 +6,5 @@ - - RELOCATION RECORDS FOR \[\.debug_line\]: - #... --.*R_XTENSA_DIFF16.*\.text\+0x00009c42 -+.*R_XTENSA_PDIFF16.*\.text\+0x00009c42 - #... -diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h -index 2eb5e4e52941..bd5c80d13777 100644 ---- a/include/elf/xtensa.h -+++ b/include/elf/xtensa.h -@@ -87,6 +87,12 @@ START_RELOC_NUMBERS (elf_xtensa_reloc_type) - RELOC_NUMBER (R_XTENSA_TLS_FUNC, 54) - RELOC_NUMBER (R_XTENSA_TLS_ARG, 55) - RELOC_NUMBER (R_XTENSA_TLS_CALL, 56) -+ RELOC_NUMBER (R_XTENSA_PDIFF8, 57) -+ RELOC_NUMBER (R_XTENSA_PDIFF16, 58) -+ RELOC_NUMBER (R_XTENSA_PDIFF32, 59) -+ RELOC_NUMBER (R_XTENSA_NDIFF8, 60) -+ RELOC_NUMBER (R_XTENSA_NDIFF16, 61) -+ RELOC_NUMBER (R_XTENSA_NDIFF32, 62) - END_RELOC_NUMBERS (R_XTENSA_max) - - /* Processor-specific flags for the ELF header e_flags field. */ -diff --git a/ld/testsuite/ld-xtensa/relax-loc.d b/ld/testsuite/ld-xtensa/relax-loc.d -new file mode 100644 -index 000000000000..3c8d673732ff ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.d -@@ -0,0 +1,7 @@ -+#as: --text-section-literals -+#ld: -+#objdump: --dwarf=decodedline -+#... -+relax-loc.s[ ]+1[ ]+0x400054[ ]+.* -+relax-loc.s[ ]+2[ ]+0x40005c[ ]+.* -+#... -diff --git a/ld/testsuite/ld-xtensa/relax-loc.s b/ld/testsuite/ld-xtensa/relax-loc.s -new file mode 100644 -index 000000000000..d768470e287a ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.s -@@ -0,0 +1,15 @@ -+ .file 1 "relax-loc.s" -+ .globl _start -+ .globl _ResetVector -+ .text -+_ResetVector: -+_start: -+ .loc 1 1 -+ j 1f -+ .literal_position -+1: -+ .loc 1 2 -+ -+ .rep 10000 -+ movi a2, 0x12345678 -+ .endr -diff --git a/ld/testsuite/ld-xtensa/xtensa.exp b/ld/testsuite/ld-xtensa/xtensa.exp -index 9b2235b2151b..de39887936ad 100644 ---- a/ld/testsuite/ld-xtensa/xtensa.exp -+++ b/ld/testsuite/ld-xtensa/xtensa.exp -@@ -27,6 +27,7 @@ run_dump_test "call_overflow" - run_dump_test "coalesce" - run_dump_test "diff_overflow" - run_dump_test "lcall" -+run_dump_test "relax-loc" - - run_dump_test "relax-static-pie" - run_dump_test "relax-static-local-pie" --- -2.20.1 - diff --git a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch deleted file mode 100644 index 28f17d7c56..0000000000 --- a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch +++ /dev/null @@ -1,128 +0,0 @@ -From 735321812435ae278d3766a3371f55937dc776d6 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sat, 25 Apr 2020 00:40:25 -0700 -Subject: [PATCH] xtensa: fix XTENSA_NDIFF handling for PR ld/25861 - -Fields marked with XTENSA_NDIFF relocations are not negated, they only -have sign bits removed. Don't negate their values when relaxation is -performed. Don't add sign bits when the value is zero. Report overflow -when the result has negative sign but all significant bits are zero. - -2020-04-29 Max Filippov -bfd/ - * elf32-xtensa.c (relax_section): Don't negate diff_value for - XTENSA_NDIFF relocations. Don't add sign bits whe diff_value - equals 0. Report overflow when the result has negative sign but - all significant bits are zero. - -Signed-off-by: Max Filippov -Backported from: d548f47df4d2e3d117d504a4c9977982c78a0556 ---- - - bfd/elf32-xtensa.c | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index fded42d52a9a..4327b027911f 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -9670,37 +9670,44 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -+ diff_mask = 0x7f; - diff_value = - bfd_get_signed_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -+ diff_mask = 0x7fff; - diff_value = - bfd_get_signed_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -+ diff_mask = 0x7fffffff; - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; - diff_value = - bfd_get_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; - diff_value = - bfd_get_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; - diff_value = - bfd_get_32 (abfd, &contents[old_source_offset]); - break; - } - - if (r_type >= R_XTENSA_NDIFF8 -- && r_type <= R_XTENSA_NDIFF32) -- diff_value = -diff_value; -+ && r_type <= R_XTENSA_NDIFF32 -+ && diff_value) -+ diff_value |= ~diff_mask; - - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, -@@ -9710,43 +9717,40 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -- diff_mask = 0x7f; - bfd_put_signed_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -- diff_mask = 0x7fff; - bfd_put_signed_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -- diff_mask = 0x7fffffff; - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -- diff_mask = 0xff; - bfd_put_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -- diff_mask = 0xffff; - bfd_put_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -- diff_mask = 0xffffffff; - bfd_put_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - } - -- /* Check for overflow. Sign bits must be all zeroes or all ones */ -- if ((diff_value & ~diff_mask) != 0 && -- (diff_value & ~diff_mask) != (-1 & ~diff_mask)) -+ /* Check for overflow. Sign bits must be all zeroes or -+ all ones. When sign bits are all ones diff_value -+ may not be zero. */ -+ if (((diff_value & ~diff_mask) != 0 -+ && (diff_value & ~diff_mask) != ~diff_mask) -+ || (diff_value && (bfd_vma) diff_value == ~diff_mask)) - { - (*link_info->callbacks->reloc_dangerous) - (link_info, _("overflow after relaxation"), --- -2.20.1 - diff --git a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index a67d12789e..0000000000 --- a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 788cda9f9447e0fe67e582e8fb5adafd678d08b2 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..1f2c88b0b3a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index 5a2b91fe8e..0000000000 --- a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From b10e6230dea0015bf3b7748580b82c551f9a3a4a Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index e25da50aafb..530a41fca43 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5517,6 +5517,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 1f2c88b0b3a..a4a64f73b7c 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - #define TLS_UNKNOWN 0 -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1945,6 +1963,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 36284d71a9b..6e9e3190bb8 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2702,6 +2702,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index e6446a78098..b0003ab1175 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6164,6 +6164,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index 5082a30cee1..85163fc96c9 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -173,7 +173,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -276,6 +276,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index 0abef046202..7db3cad18eb 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 7d058d03f5f..332f4b7a9b5 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index adc6f5f8b9..0000000000 --- a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0f61f76454a9420f158f626cb09a4fbc08c3709e Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence - of R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index a4a64f73b7c..07fff3602a3 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index dc0431e0af..0000000000 --- a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From 36c7de7ef77ab0c30cb33e2c7ea7a6f4e3052c73 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 07fff3602a3..fcebbe5f23a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry - /* Track dynamic relocs copied for this symbol. */ - struct elf_dyn_relocs *dyn_relocs; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2176,33 +2193,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2269,7 +2299,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2280,27 +2311,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2343,7 +2374,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2355,6 +2387,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2372,10 +2405,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2387,27 +2423,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. */ - bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *s = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (s->size == 0) -- s->size = PLT_ENTRY_SIZE; -+ s->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = s->size; - -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- s->size += PLT_ENTRY_SIZE; -+ s->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 24cdbe5fbf3..9cebc49b946 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch deleted file mode 100644 index c3978e22fa..0000000000 --- a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Wed, 9 Jun 2021 17:28:27 +0200 -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 - -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use -an old compiler(i.e. gcc 4.9) build fails on: -``` -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in -C99 or C11 mode - for (size_t i = 0; i < insn_count; i++) - ^ -``` - -So let's declare `size_t i` at the top of the function instead of inside -for loop. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..32063ab0289 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; - unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ size_t i; - - /* Copy instructions into the output buffer. */ -- for (size_t i = 0; i < insn_count; i++) -+ for (i = 0; i < insn_count; i++) - output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - } - - /* Write out the output buffer. */ -- for (size_t i = 0; i < (insn_count+1); i++) -+ for (i = 0; i < (insn_count+1); i++) - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - --- -2.25.1 - diff --git a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch deleted file mode 100644 index 585b97b2af..0000000000 --- a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Sat, 10 Jul 2021 17:57:34 +0200 -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC - relative 26 bit relocation - -When building openal we were seeing the assert failure: - -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePausev -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceStopv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceRewindv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePlayv -collect2: error: ld returned 1 exit status - -This happens because in R_OR1K_INSN_REL_26 case we can't reference local -symbol as previously done but we need to make sure that calls to actual -symbol always call the version of current object. - -bfd/Changelog: - - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry - in switch case R_OR1K_INSN_REL_26 where we need to check for - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..4f9092539f5 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, - break; - - case R_OR1K_INSN_REL_26: -+ /* For a non-shared link, these will reference plt or call the -+ version of actual object. */ -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) -+ { -+ _bfd_error_handler -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), -+ input_bfd, name); -+ ret_val = FALSE; -+ bfd_set_error (bfd_error_bad_value); -+ } -+ break; -+ - case R_OR1K_PCREL_PG21: - case R_OR1K_LO13: - case R_OR1K_SLO13: --- -2.25.1 - diff --git a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch deleted file mode 100644 index 7e92e2bfd8..0000000000 --- a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 Jan 2022 09:03:28 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special - howto - -Previously when fixing PR 21464 we masked out upper bits of the -relocation value in order to avoid overflow complaints when acceptable. -It turns out this does not work when the relocation value ends up being -signed. - -To fix this this patch introduces a special howto with -complain_on_overflow set to complain_overflow_dont. This is used in -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 -relocations. - -bfd/ChangeLog: - - PR 28735 - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. - (or1k_elf_relocate_section): Use new howto instead of trying to - mask out relocation bits. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index cfa292f0032..ecb70753b6a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = - FALSE), /* pcrel_offset */ - }; - -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 -+ relocations when we know we can ignore overflows. */ -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = -+ HOWTO (R_OR1K_GOT16, /* type */ -+ 0, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_dont, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE); /* pcrel_offset */ -+ - /* Map BFD reloc types to Or1k ELF reloc types. */ - - struct or1k_reloc_map -@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, - if (r_type == R_OR1K_GOT_AHI16) - saw_gotha = TRUE; - -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 - relocation we assume the code is doing the right thing to avoid -- overflows. Here we mask the lower 16-bit of the relocation to -- avoid overflow validation failures. */ -+ overflows. */ - if (r_type == R_OR1K_GOT16 && saw_gotha) -- relocation &= 0xffff; -+ howto = &or1k_elf_got16_no_overflow_howto; - - /* Addend should be zero. */ - if (rel->r_addend != 0) --- -2.25.1 - diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 4382b32237..ef1b2a94db 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -12,10 +12,6 @@ choice help Select the version of binutils you wish to use. -config BR2_BINUTILS_VERSION_2_32_X - bool "binutils 2.32" - depends on !BR2_csky - config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky @@ -35,7 +31,6 @@ endchoice config BR2_BINUTILS_VERSION string default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC - default "2.32" if BR2_BINUTILS_VERSION_2_32_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X default "2.38" if BR2_BINUTILS_VERSION_2_38_X -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 15:44:05 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 17:44:05 +0200 Subject: [Buildroot] [PATCH 3/3] package/binutils: drop version 2.32 In-Reply-To: <20220426153726.312870-3-thomas.petazzoni@bootlin.com> References: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> <20220426153726.312870-3-thomas.petazzoni@bootlin.com> Message-ID: <20220426174405.09a8825a@windsurf> On Tue, 26 Apr 2022 17:37:25 +0200 Thomas Petazzoni wrote: > Now that recent versions of binutils work with FLAT binaries, we can > drop the old 2.32 version, which was kept only to keep support FLAT > binaries. > > Signed-off-by: Thomas Petazzoni Sorry, I forgot to drop the hash in binutils.hash on this one. I can resend a v2 if needed. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From fperrad at gmail.com Tue Apr 26 11:37:24 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:37:24 +0200 Subject: [Buildroot] [PATCH] package/ethtool: bump to version 5.17 Message-ID: <20220426113724.3544523-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/ethtool/ethtool.hash | 2 +- package/ethtool/ethtool.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 59c657e86..f317a1fb1 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d ethtool-5.15.tar.xz +sha256 64ab914b9c6b45047245d91f40b8760b2728992a9e5af22717c644238e889133 ethtool-5.17.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index c4bb9bdd9..10f0c802a 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,7 @@ # ################################################################################ -ETHTOOL_VERSION = 5.15 +ETHTOOL_VERSION = 5.17 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool ETHTOOL_LICENSE = GPL-2.0 -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:37:45 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:37:45 +0200 Subject: [Buildroot] [PATCH] package/harfbuzz: bump to version 4.2.1 Message-ID: <20220426113745.3544578-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/harfbuzz/0001-meson.build-check-for-pthread.h.patch | 2 +- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch b/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch index 9fa09863c..102f9ff49 100644 --- a/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch +++ b/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch @@ -26,7 +26,7 @@ diff --git a/meson.build b/meson.build index bf3925db..6d263d48 100644 --- a/meson.build +++ b/meson.build -@@ -281,7 +281,9 @@ endif +@@ -270,7 +270,9 @@ endif # threads thread_dep = null_dep if host_machine.system() != 'windows' diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash index 1576824a5..f3ba22835 100644 --- a/package/harfbuzz/harfbuzz.hash +++ b/package/harfbuzz/harfbuzz.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz +sha256 bd17916513829aeff961359a5ccebba6de2f4bf37a91faee3ac29c120e3d7ee1 harfbuzz-4.2.1.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 551277a78..38ed34ab7 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 4.2.0 +HARFBUZZ_VERSION = 4.2.1 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library) -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:38:00 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:38:00 +0200 Subject: [Buildroot] [PATCH] package/hwdata: bump to version 0.358 Message-ID: <20220426113800.3544633-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/hwdata/hwdata.hash | 2 +- package/hwdata/hwdata.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/hwdata/hwdata.hash b/package/hwdata/hwdata.hash index 786110685..6c5a091a0 100644 --- a/package/hwdata/hwdata.hash +++ b/package/hwdata/hwdata.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 0d3d21af57822f35141b524808fd9e4823dbb413df338606195010dc0aa1c935 hwdata-0.355.tar.gz +sha256 f0bb38588b9fcb43e15dac4ce8461b7580ef38ac20ecab83cef638413646decb hwdata-0.358.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f LICENSE diff --git a/package/hwdata/hwdata.mk b/package/hwdata/hwdata.mk index 4dd9c9e28..b2e183807 100644 --- a/package/hwdata/hwdata.mk +++ b/package/hwdata/hwdata.mk @@ -4,7 +4,7 @@ # ################################################################################ -HWDATA_VERSION = 0.355 +HWDATA_VERSION = 0.358 HWDATA_SITE = $(call github,vcrhonek,hwdata,v$(HWDATA_VERSION)) HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0 HWDATA_LICENSE_FILES = COPYING LICENSE -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:38:21 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:38:21 +0200 Subject: [Buildroot] [PATCH] package/libfribidi: bump to version 1.0.12 Message-ID: <20220426113821.3544689-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libfribidi/libfribidi.hash | 2 +- package/libfribidi/libfribidi.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfribidi/libfribidi.hash b/package/libfribidi/libfribidi.hash index da25b2d24..7e5df9811 100644 --- a/package/libfribidi/libfribidi.hash +++ b/package/libfribidi/libfribidi.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d fribidi-1.0.11.tar.xz +sha256 0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495 fribidi-1.0.12.tar.xz sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/package/libfribidi/libfribidi.mk b/package/libfribidi/libfribidi.mk index adbd786db..ec86f468a 100644 --- a/package/libfribidi/libfribidi.mk +++ b/package/libfribidi/libfribidi.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFRIBIDI_VERSION = 1.0.11 +LIBFRIBIDI_VERSION = 1.0.12 LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.xz LIBFRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(LIBFRIBIDI_VERSION) LIBFRIBIDI_LICENSE = LGPL-2.1+ -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:38:35 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:38:35 +0200 Subject: [Buildroot] [PATCH] package/libgcrypt: bump to version 1.10.1 Message-ID: <20220426113835.3544757-1-francois.perrad@gadz.org> remove upstream patch Signed-off-by: Francois Perrad --- ...re.ac-add-an-option-to-disable-tests.patch | 2 +- ...entropy-Include-fcntl-h-and-limits-h.patch | 38 ------------------- package/libgcrypt/libgcrypt.hash | 4 +- package/libgcrypt/libgcrypt.mk | 2 +- 4 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch diff --git a/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch b/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch index e32f93863..5ddde9df1 100644 --- a/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch +++ b/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch @@ -44,7 +44,7 @@ diff --git a/configure.ac b/configure.ac index e8c8cd39..1a6b61e5 100644 --- a/configure.ac +++ b/configure.ac -@@ -3230,6 +3230,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], +@@ -3231,6 +3231,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno]) diff --git a/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch b/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch deleted file mode 100644 index 8f76f24c6..000000000 --- a/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch +++ /dev/null @@ -1,38 +0,0 @@ -From ffaef0be613121d3ee37867d82932a7a30c2bc6d Mon Sep 17 00:00:00 2001 -From: Heiko Becker -Date: Thu, 3 Feb 2022 22:46:41 +0000 -Subject: [PATCH] jitterentropy: Include and - -* random/jitterentropy-base-user.h: Include for O_RDONLY -* random/jitterentropy-base-user.h: Include for LONG_MAX - --- - -Fixes the build with musl libc. - -Signed-off-by: Heiko Becker - -[Retrieved from: -https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=ffaef0be613121d3ee37867d82932a7a30c2bc6d] -Signed-off-by: Fabrice Fontaine ---- - random/jitterentropy-base-user.h | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/random/jitterentropy-base-user.h b/random/jitterentropy-base-user.h -index 326dfbed..389106ff 100644 ---- a/random/jitterentropy-base-user.h -+++ b/random/jitterentropy-base-user.h -@@ -39,6 +39,9 @@ - * DAMAGE. - */ - -+#include -+#include -+ - #ifndef GCRYPT_JITTERENTROPY_BASE_USER_H - #define GCRYPT_JITTERENTROPY_BASE_USER_H - --- -2.11.0 - diff --git a/package/libgcrypt/libgcrypt.hash b/package/libgcrypt/libgcrypt.hash index 2ea4d74c2..96f5e6b76 100644 --- a/package/libgcrypt/libgcrypt.hash +++ b/package/libgcrypt/libgcrypt.hash @@ -1,5 +1,5 @@ # Locally calculated after checking signature -# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.0.tar.bz2.sig +# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.1.tar.bz2.sig # using key 6DAA6E64A76D2840571B4902528897B826403ADA -sha256 6a00f5c05caa4c4acc120c46b63857da0d4ff61dc4b4b03933fa8d46013fae81 libgcrypt-1.10.0.tar.bz2 +sha256 ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de libgcrypt-1.10.1.tar.bz2 sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index c6c88f607..f28552c6e 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBGCRYPT_VERSION = 1.10.0 +LIBGCRYPT_VERSION = 1.10.1 LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 LIBGCRYPT_LICENSE = LGPL-2.1+ LIBGCRYPT_LICENSE_FILES = COPYING.LIB -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:38:49 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:38:49 +0200 Subject: [Buildroot] [PATCH] package/moarvm: bump to version 2022.04 Message-ID: <20220426113849.3544812-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/moarvm/moarvm.hash | 2 +- package/moarvm/moarvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/moarvm/moarvm.hash b/package/moarvm/moarvm.hash index 58e3ce8ac..31d91457e 100644 --- a/package/moarvm/moarvm.hash +++ b/package/moarvm/moarvm.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 4f93cdce6b8a565a32282bb38cc971cefeb71f5d022c850c338ee8145574ee96 MoarVM-2022.02.tar.gz +sha256 ae06f50ba5562721a4e5eb6457e2fea2d07eda63e2abaa8c939c9daf70774804 MoarVM-2022.04.tar.gz sha256 c53c6b96081b0a5b9b2fb4d0133d55c20e5e00e4c127ade62f03434ee7b3d2de Artistic2.txt diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk index db336bfe4..1408f161f 100644 --- a/package/moarvm/moarvm.mk +++ b/package/moarvm/moarvm.mk @@ -4,7 +4,7 @@ # ################################################################################ -MOARVM_VERSION = 2022.02 +MOARVM_VERSION = 2022.04 MOARVM_SITE = http://moarvm.com/releases MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz MOARVM_LICENSE = Artistic-2.0 -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:39:05 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:39:05 +0200 Subject: [Buildroot] [PATCH] package/pciutils: bump to version 3.8.0 Message-ID: <20220426113905.3544867-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/pciutils/pciutils.hash | 2 +- package/pciutils/pciutils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pciutils/pciutils.hash b/package/pciutils/pciutils.hash index 4b13c7484..0b66b8258 100644 --- a/package/pciutils/pciutils.hash +++ b/package/pciutils/pciutils.hash @@ -1,3 +1,3 @@ # From https://www.kernel.org/pub/software/utils/pciutils/sha256sums.asc -sha256 9d40b97be8b6a2cdf96aead5a61881d1f7e4e0da9544a9bac4fba1ae9dcd40eb pciutils-3.7.0.tar.xz +sha256 91edbd0429a84705c9ad156d4ff38ccc724d41ea54c4c5b88e38e996f8a34f05 pciutils-3.8.0.tar.xz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index 67defcc74..c1445968b 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -4,7 +4,7 @@ # ################################################################################ -PCIUTILS_VERSION = 3.7.0 +PCIUTILS_VERSION = 3.8.0 PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz PCIUTILS_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:39:20 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:39:20 +0200 Subject: [Buildroot] [PATCH] package/strace: bump to version 5.17 Message-ID: <20220426113920.3544925-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/strace/strace.hash | 4 ++-- package/strace/strace.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/strace/strace.hash b/package/strace/strace.hash index 30c90e8e3..f3567db63 100644 --- a/package/strace/strace.hash +++ b/package/strace/strace.hash @@ -1,5 +1,5 @@ # Locally calculated after checking signature with RSA key 0xA8041FA839E16E36 -# https://strace.io/files/5.16/strace-5.16.tar.xz.asc -sha256 dc7db230ff3e57c249830ba94acab2b862da1fcaac55417e9b85041a833ca285 strace-5.16.tar.xz +# https://strace.io/files/5.17/strace-5.17.tar.xz.asc +sha256 5fb298dbd1331fd1e1bc94c5c32395860d376101b87c6cd3d1ba9f9aa15c161f strace-5.17.tar.xz sha256 d92f973d08c8466993efff1e500453add0c038c20b4d2cbce3297938a296aea9 COPYING sha256 7c379436436a562834aa7d2f5dcae1f80a25230fa74201046ca1fba4367d39aa LGPL-2.1-or-later diff --git a/package/strace/strace.mk b/package/strace/strace.mk index c8c3590f6..cbd737e12 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -4,7 +4,7 @@ # ################################################################################ -STRACE_VERSION = 5.16 +STRACE_VERSION = 5.17 STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz STRACE_SITE = https://strace.io/files/$(STRACE_VERSION) STRACE_LICENSE = LGPL-2.1+ -- 2.32.0 From baruch at tkos.co.il Tue Apr 26 17:14:17 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 26 Apr 2022 20:14:17 +0300 Subject: [Buildroot] [PATCH 1/3] package/elf2flt: update to version 2021.08 In-Reply-To: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> References: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> Message-ID: <87fslz22br.fsf@tarshish> Hi Thomas, On Tue, Apr 26 2022, Thomas Petazzoni via buildroot wrote: > diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > similarity index 88% > rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch > rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > index 16d5633385..ba72afa85c 100644 > --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch > +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > @@ -1,7 +1,7 @@ > -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 > +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 > From: Romain Naour > Date: Wed, 5 Feb 2020 10:31:32 +0100 > -Subject: [PATCH] elf2flt: handle binutils >= 2.34 > +Subject: [PATCH 1/2] elf2flt: handle binutils >= 2.34 We usually don't like in-patch numbering. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From fontaine.fabrice at gmail.com Tue Apr 26 17:15:59 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 19:15:59 +0200 Subject: [Buildroot] [PATCH 1/2] package/libpri: fix static build Message-ID: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> pritest, rosetest and testprilib needs a static library and pridump needs a dynamic library resulting in the following static build failure since the addition of the package in commit a77f356b78f9134227f9702a1eb09c3203c42d88: /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -fPIC -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -static -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o /home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/aarch64_be-buildroot-linux-uclibc/10.3.0/../../../../aarch64_be-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-15/output-1/host/aarch64_be-buildroot-linux-uclibc/sysroot/lib/../lib64/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0xd0): undefined reference to `__fini_array_start' Fixes: - http://autobuild.buildroot.org/results/1217922af3a72646ae242c2c4dec22ead7883b91 Signed-off-by: Fabrice Fontaine --- package/libpri/libpri.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index e1fa2abcf5..34d84393c4 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -17,6 +17,7 @@ LIBPRI_INSTALL_STAGING = YES # So we need to explicitly build only what we can. ifneq ($(BR2_SHARED_LIBS),y) LIBPRI_LIBS = libpri.a +LIBPRI_UTILS += pritest rosetest testprilib define LIBPRI_INSTALL_A $(INSTALL) -D -m 0644 $(@D)/libpri.a $(1)/usr/lib/libpri.a endef @@ -24,14 +25,13 @@ endif ifneq ($(BR2_STATIC_LIBS),y) LIBPRI_LIBS += libpri.so.1.4 +LIBPRI_UTILS += pridump define LIBPRI_INSTALL_SO $(INSTALL) -D -m 0644 $(@D)/libpri.so.1.4 $(1)/usr/lib/libpri.so.1.4 ln -sf libpri.so.1.4 $(1)/usr/lib/libpri.so endef endif -LIBPRI_UTILS = pridump pritest rosetest testprilib - define LIBPRI_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \ -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 26 17:16:00 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 19:16:00 +0200 Subject: [Buildroot] [PATCH 2/2] package/libpri: bump to version 1.6.0 In-Reply-To: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> References: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> Message-ID: <20220426171600.2552919-2-fontaine.fabrice@gmail.com> Update indentation in hash file (two spaces) http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.6.0-summary.html Signed-off-by: Fabrice Fontaine --- package/libpri/libpri.hash | 4 ++-- package/libpri/libpri.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libpri/libpri.hash b/package/libpri/libpri.hash index 47c4a00307..77985df96a 100644 --- a/package/libpri/libpri.hash +++ b/package/libpri/libpri.hash @@ -1,6 +1,6 @@ # sha1 and sha256 from http://downloads.asterisk.org/pub/telephony/libpri/releases/ -sha1 63536f3300fb007dfd5fe8064406992ca938bd9a libpri-1.5.0.tar.gz -sha256 ee224bc4aa65c54546bd09675c3f0b71817ce9e277332bce86989d8dcd556a24 libpri-1.5.0.tar.gz +sha1 8440007477ebf131020afb00f57672b108b4db2c libpri-1.6.0.tar.gz +sha256 7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6 libpri-1.6.0.tar.gz # License files, locally calculated sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index 34d84393c4..48a1019210 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBPRI_VERSION = 1.5.0 +LIBPRI_VERSION = 1.6.0 LIBPRI_SITE = http://downloads.asterisk.org/pub/telephony/libpri/releases LIBPRI_LICENSE = GPL-2.0 with OpenH323 exception -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 26 17:21:29 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 19:21:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: fix static build Message-ID: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> Fix the following static build failure: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here Fixes: - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 Signed-off-by: Fabrice Fontaine --- ...nel-fs-declare-int-openlog-as-static.patch | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch diff --git a/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch new file mode 100644 index 0000000000..ae10bfcfdd --- /dev/null +++ b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch @@ -0,0 +1,77 @@ +From 002ca0320cd2c5e1515bf202f470d4becdf01532 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 24 Apr 2022 21:56:36 +0200 +Subject: [PATCH] testcases/kernel/fs: declare int openlog as static + +Declare int openlog as static to avoid the following build failure when +building statically (e.g. on buildroot): + +/nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': +syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here + +Fixes: + - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 + +Signed-off-by: Fabrice Fontaine +Reviewed-by: Cyril Hrubis +[Retrieved from: +https://github.com/linux-test-project/ltp/commit/002ca0320cd2c5e1515bf202f470d4becdf01532] +--- + testcases/kernel/fs/fs-bench/random-access-del-create.c | 2 -- + testcases/kernel/fs/fs-bench/random-access.c | 2 +- + testcases/kernel/fs/fs-bench/random-del-create.c | 2 +- + testcases/kernel/fs/scsi/ltpfs/main.c | 2 +- + 4 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/testcases/kernel/fs/fs-bench/random-access-del-create.c b/testcases/kernel/fs/fs-bench/random-access-del-create.c +index 1f62a76b5e..1878fd78b5 100644 +--- a/testcases/kernel/fs/fs-bench/random-access-del-create.c ++++ b/testcases/kernel/fs/fs-bench/random-access-del-create.c +@@ -11,8 +11,6 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; +- + #define MAXNUM 0x100000 + + #define MAXERROR 1024 +diff --git a/testcases/kernel/fs/fs-bench/random-access.c b/testcases/kernel/fs/fs-bench/random-access.c +index cf41d6e81c..c2f32b86e7 100644 +--- a/testcases/kernel/fs/fs-bench/random-access.c ++++ b/testcases/kernel/fs/fs-bench/random-access.c +@@ -11,7 +11,7 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + #define MAXNUM 0x100000 + +diff --git a/testcases/kernel/fs/fs-bench/random-del-create.c b/testcases/kernel/fs/fs-bench/random-del-create.c +index 0a86f976f3..345031f283 100644 +--- a/testcases/kernel/fs/fs-bench/random-del-create.c ++++ b/testcases/kernel/fs/fs-bench/random-del-create.c +@@ -11,7 +11,7 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + #define MAXNUM 0x100000 + +diff --git a/testcases/kernel/fs/scsi/ltpfs/main.c b/testcases/kernel/fs/scsi/ltpfs/main.c +index 2c67c7a478..90a5531ac3 100644 +--- a/testcases/kernel/fs/scsi/ltpfs/main.c ++++ b/testcases/kernel/fs/scsi/ltpfs/main.c +@@ -38,7 +38,7 @@ int startc = 0; + int showchar[] = { 124, 47, 45, 92, 124, 47, 45, 92 }; + + int nullFileHandle; +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + int cFileCount, dFileCount, errorCount; + static int disk_space_pool = 0; -- 2.35.1 From baruch at tkos.co.il Tue Apr 26 17:16:12 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 26 Apr 2022 20:16:12 +0300 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils In-Reply-To: <20220426132833.1579873-1-salvador.joseluis@gmail.com> References: <20220426132833.1579873-1-salvador.joseluis@gmail.com> Message-ID: <87bkwn21vp.fsf@tarshish> Hi Jos?, On Tue, Apr 26 2022, Jos? Luis Salvador Rufo wrote: > Patch title: docs/manual/prerequisite.txt: add diffutils No need for this line in the commit log body. The email subject line appears as head line of the git commit once applied. > The command `cmp` is used by `package/pkg-generic.mk` at commit > 8623cc5deb5. This command is provided by `diffutils`. Actually, we have host-diffutils, so we can build cmp if the host does not have it installed. All we need is support added under support/dependencies/ like a few other utilities. We also don't list findutils as prerequisite, even though we rely heavily on the 'find' utility. baruch > Signed-off-by: Jos? Luis Salvador Rufo > --- > docs/manual/prerequisite.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/docs/manual/prerequisite.txt b/docs/manual/prerequisite.txt > index 40071491f8..763fe79041 100644 > --- a/docs/manual/prerequisite.txt > +++ b/docs/manual/prerequisite.txt > @@ -23,6 +23,7 @@ between distributions). > ** +make+ (version 3.81 or any later) > ** +binutils+ > ** +build-essential+ (only for Debian based systems) > +** +diffutils+ > ** +gcc+ (version 4.8 or any later) > ** `g++` (version 4.8 or any later) > ** +bash+ -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From f.fainelli at gmail.com Tue Apr 26 17:32:09 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Tue, 26 Apr 2022 10:32:09 -0700 Subject: [Buildroot] [PATCH v2 0/2] External GCC12 toolchain support Message-ID: <20220426173211.64840-1-f.fainelli@gmail.com> This patch series allows us to use Linaro's GCC12 snapshot that can be downloaded from here: https://snapshots.linaro.org/gnu-toolchain/12.0-2021.10-1/aarch64-linux-gnu/ Changes in v2: - rebased against master Florian Fainelli (2): toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option toolchain/toolchain-external/toolchain-external-custom: add gcc 12 version selection toolchain/Config.in | 11 +++++++++-- .../toolchain-external-custom/Config.in.options | 4 ++++ 2 files changed, 13 insertions(+), 2 deletions(-) -- 2.25.1 From f.fainelli at gmail.com Tue Apr 26 17:32:10 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Tue, 26 Apr 2022 10:32:10 -0700 Subject: [Buildroot] [PATCH v2 1/2] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option In-Reply-To: <20220426173211.64840-1-f.fainelli@gmail.com> References: <20220426173211.64840-1-f.fainelli@gmail.com> Message-ID: <20220426173211.64840-2-f.fainelli@gmail.com> In order to add gcc 12 support for internal and external toolchain in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_12 symbol. Signed-off-by: Florian Fainelli --- toolchain/Config.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index d2c81217c84a..b572a89f2f85 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -117,7 +117,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ - BR2_TOOLCHAIN_GCC_AT_LEAST_11 + BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no # longer exists in gcc 8.x. @@ -150,7 +151,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 bool default y if BR2_sh - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no # longer exists in gcc 8.x. @@ -698,10 +700,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_11 bool select BR2_TOOLCHAIN_GCC_AT_LEAST_10 +config BR2_TOOLCHAIN_GCC_AT_LEAST_12 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_GCC_AT_LEAST string + default "12" if BR2_TOOLCHAIN_GCC_AT_LEAST_12 default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11 default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10 default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9 -- 2.25.1 From f.fainelli at gmail.com Tue Apr 26 17:32:11 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Tue, 26 Apr 2022 10:32:11 -0700 Subject: [Buildroot] [PATCH v2 2/2] toolchain/toolchain-external/toolchain-external-custom: add gcc 12 version selection In-Reply-To: <20220426173211.64840-1-f.fainelli@gmail.com> References: <20220426173211.64840-1-f.fainelli@gmail.com> Message-ID: <20220426173211.64840-3-f.fainelli@gmail.com> This patch allows to use an external toolchain based on gcc 12. Signed-off-by: Florian Fainelli --- .../toolchain-external-custom/Config.in.options | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 9346fa3feb75..683204e56ebd 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -31,6 +31,10 @@ choice Set to the gcc version that is used by your external toolchain. +config BR2_TOOLCHAIN_EXTERNAL_GCC_12 + bool "12.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_12 + config BR2_TOOLCHAIN_EXTERNAL_GCC_11 bool "11.x" select BR2_TOOLCHAIN_GCC_AT_LEAST_11 -- 2.25.1 From fontaine.fabrice at gmail.com Tue Apr 26 17:34:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 19:34:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/libevent: fix build with libressl >= 3.5.0 Message-ID: <20220426173403.545488-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: In file included from bufferevent_openssl.c:68: bufferevent_openssl.c: In function 'bio_bufferevent_free': openssl-compat.h:44:28: error: invalid use of incomplete typedef 'BIO' {aka 'struct bio_st'} 44 | #define BIO_get_init(b) (b)->init | ^~ bufferevent_openssl.c:124:7: note: in expansion of macro 'BIO_get_init' 124 | if (BIO_get_init(b) && BIO_get_data(b)) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/273f9aa354a08ef3af6140b8dec086408bf5d574 Signed-off-by: Fabrice Fontaine --- ...define-BIO_get_init-for-LibreSSL-3-5.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch diff --git a/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch new file mode 100644 index 0000000000..33c349b11d --- /dev/null +++ b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch @@ -0,0 +1,29 @@ +From 883630f76cbf512003b81de25cd96cb75c6cf0f9 Mon Sep 17 00:00:00 2001 +From: Theo Buehler +Date: Sun, 21 Nov 2021 21:38:20 +0100 +Subject: [PATCH] Don't define BIO_get_init() for LibreSSL 3.5+ + +BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type +will become opaque, so the existing macro will break the build. + +[Retrieved from: +https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9] +Signed-off-by: Fabrice Fontaine +--- + openssl-compat.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/openssl-compat.h b/openssl-compat.h +index a23e34251b..f5de25539f 100644 +--- a/openssl-compat.h ++++ b/openssl-compat.h +@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name) + #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */ + +-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && \ ++ LIBRESSL_VERSION_NUMBER < 0x30500000L + #define BIO_get_init(b) (b)->init + #endif + -- 2.35.1 From james.hilliard1 at gmail.com Tue Apr 26 17:41:37 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 11:41:37 -0600 Subject: [Buildroot] [PATCH 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency Message-ID: <20220426174137.3014322-1-james.hilliard1@gmail.com> Fixes: - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 Signed-off-by: James Hilliard --- package/wilc-driver/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in index caf46ae281..6b93a23a47 100644 --- a/package/wilc-driver/Config.in +++ b/package/wilc-driver/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_WILC_DRIVER bool "wilc kernel module" + depends on BR2_LINUX_KERNEL help External kernel module for WILC1000/3000 devices. -- 2.25.1 From kris at embeddedTS.com Tue Apr 26 17:47:56 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Tue, 26 Apr 2022 10:47:56 -0700 Subject: [Buildroot] [PATCH 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency In-Reply-To: <20220426174137.3014322-1-james.hilliard1@gmail.com> References: <20220426174137.3014322-1-james.hilliard1@gmail.com> Message-ID: <1650995276.4452.1.camel@embeddedTS.com> On Tue, 2022-04-26 at 11:41 -0600, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 > > Signed-off-by: James Hilliard > --- > package/wilc-driver/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in > index caf46ae281..6b93a23a47 100644 > --- a/package/wilc-driver/Config.in > +++ b/package/wilc-driver/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_WILC_DRIVER > bool "wilc kernel module" > + depends on BR2_LINUX_KERNEL > help > External kernel module for WILC1000/3000 devices. > Reviewed-by: Kris Bahnsen From thomas.petazzoni at bootlin.com Tue Apr 26 18:42:33 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 20:42:33 +0200 Subject: [Buildroot] [PATCH v2 1/2] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option In-Reply-To: <20220426173211.64840-2-f.fainelli@gmail.com> References: <20220426173211.64840-1-f.fainelli@gmail.com> <20220426173211.64840-2-f.fainelli@gmail.com> Message-ID: <20220426204233.77ed8bc5@windsurf> Hello Florian, Thanks for the patch! I hope you're doing well :-) On Tue, 26 Apr 2022 10:32:10 -0700 Florian Fainelli wrote: > In order to add gcc 12 support for internal and external toolchain > in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_12 symbol. > > Signed-off-by: Florian Fainelli > --- > toolchain/Config.in | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/toolchain/Config.in b/toolchain/Config.in > index d2c81217c84a..b572a89f2f85 100644 > --- a/toolchain/Config.in > +++ b/toolchain/Config.in > @@ -117,7 +117,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 > depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ > BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ > BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ > - BR2_TOOLCHAIN_GCC_AT_LEAST_11 > + BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ > + BR2_TOOLCHAIN_GCC_AT_LEAST_12 > > # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no > # longer exists in gcc 8.x. > @@ -150,7 +151,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 > config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 > bool > default y if BR2_sh > - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 > + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ > + BR2_TOOLCHAIN_GCC_AT_LEAST_12 Did you verify that these two bugs still affected gcc 12.x ? Thanks, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Tue Apr 26 19:19:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 21:19:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/linknx: fix build with argp-standalone and NLS Message-ID: <20220426191934.2738310-1-fontaine.fabrice@gmail.com> Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:7799: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xtensa-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:179: undefined reference to `libintl_dgettext' [...] checking for library containing argp_parse... no configure: error: argp_parse not found Fixes: - http://autobuild.buildroot.org/results/ce5753193ec4518c75ee0ab9270b577397ca1c02 Signed-off-by: Fabrice Fontaine --- package/linknx/linknx.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk index dbee0742fe..dcfcd5e3f5 100644 --- a/package/linknx/linknx.mk +++ b/package/linknx/linknx.mk @@ -23,7 +23,10 @@ LINKNX_DEPENDENCIES = \ host-pkgconf \ libpthsem \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ + $(TARGET_NLS_DEPENDENCIES) + +LINKNX_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_LIBCURL),y) LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr -- 2.35.1 From petr.vorel at gmail.com Tue Apr 26 19:54:19 2022 From: petr.vorel at gmail.com (Petr Vorel) Date: Tue, 26 Apr 2022 21:54:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: fix static build In-Reply-To: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> References: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> Message-ID: Hi Fabrice, Reviewed-by: Petr Vorel Thanks for backporting your fix! Kind regards, Petr From petr.vorel at gmail.com Tue Apr 26 20:22:16 2022 From: petr.vorel at gmail.com (Petr Vorel) Date: Tue, 26 Apr 2022 22:22:16 +0200 Subject: [Buildroot] Removing BR2_SHARED_STATIC_LIBS [was: [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build] In-Reply-To: <56cf3cb2-d00b-b957-8b0b-2a095e5797a0@mind.be> References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> <20220424163350.GX2730@scaer> <56cf3cb2-d00b-b957-8b0b-2a095e5797a0@mind.be> Message-ID: > On 24/04/2022 18:33, Yann E. MORIN wrote: > [snip] > > I have always been a bit confused on how BR2_SHARED_STATIC_LIBS was > > supposed to work, to be honest... Sure, it meant we wanted to _build_ > > both the static and shared libs. > The problem is that it only actually works for autotools packages. They are > still dominant (more than 1/3 of all packages), but diminishing fast and > many "headline" packages are no longer autotools. I don't really like to > have an option that doesn't even work for most packages. That IMHO justifies removing this option. Kind regards, Petr > Regards, > Arnout > > But how were we going to tell packages > > whether they were supposed to link staticially or not? > > Surely we do not want a per-package option... Then we're left with > > deciding at the package's .mk level, by hard-coding some heuristic to > > decide. > > In upstream, we have no such case where we'd want a package to be > > statically linked even in the presence of shared libraries (maybe the > > the exception being busybox, for those who want to cheaply build an > > initrd before pivoting in the final rootfs, but that can be done with > > a config fragment or a custom config file in any case). > > This leaves out-of-tree packages. > > In that case, there can be tons of reasons to prefer a static link even > > in the presence of shared libraries. > > So, the real quesiton is whether we want to support that use-case or > > not. > > If we do, then we need to keep BR2_SHARED_STATIC_LIBS and fix those > > packages that misbehave in its presence, like done for dropbear. > > Regards, > > Yann E. MORIN. From fontaine.fabrice at gmail.com Tue Apr 26 20:30:36 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 22:30:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/openobex: fix static with libusb and libatomic Message-ID: <20220426203036.2446167-1-fontaine.fabrice@gmail.com> Force LibUSB_VERSION_1.0 to ON to fix the following static build failure with libusb and libatomic: -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a - not found [...] /nvmedata/autobuild/instance-4/output-1/build/openobex-1.7.2/lib/transport/usbobex.h:30:10: fatal error: usb.h: No such file or directory 30 | #include | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/52b0edc4278f65fb4a9671b65c655cc4544a3103 Signed-off-by: Fabrice Fontaine --- package/openobex/openobex.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk index bc4a47e3d7..7109bffa8d 100644 --- a/package/openobex/openobex.mk +++ b/package/openobex/openobex.mk @@ -20,6 +20,7 @@ OPENOBEX_DEPENDENCIES += bluez5_utils endif ifeq ($(BR2_PACKAGE_LIBUSB),y) +OPENOBEX_CONF_OPTS += -DLibUSB_VERSION_1.0=ON OPENOBEX_DEPENDENCIES += libusb endif -- 2.35.1 From peter at korsgaard.com Tue Apr 26 20:35:05 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:35:05 +0200 Subject: [Buildroot] =?utf-8?q?=5Bgit_commit=5D_DEVELOPERS=3A_drop_Myl?= =?utf-8?q?=C3=A8ne_Josserand?= In-Reply-To: <20220413120023.7233583C28@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Wed, 13 Apr 2022 14:09:07 +0200") References: <20220413120023.7233583C28@busybox.osuosl.org> Message-ID: <87o80nk2h2.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: > https://git.buildroot.net/buildroot/commit/?id=4a9157705a5fec20a5a3aa47f7ea6bf4c95942ae > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Her e-mail address at Collabora is bouncing: > host bhuna.collabora.co.uk[/private/dovecot-lmtp] said: 550 5.1.1 > User doesn't exist: mylene.josserand at collabora.com > Signed-off-by: Thomas Petazzoni Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:45:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:45:25 +0200 Subject: [Buildroot] [PATCH] package/wireplumber: make dbus optional In-Reply-To: <20220411130106.468304-1-theo.lebrun@bootlin.com> (=?utf-8?Q?=22Th=C3=A9o?= Lebrun via buildroot"'s message of "Mon, 11 Apr 2022 15:01:06 +0200") References: <20220411130106.468304-1-theo.lebrun@bootlin.com> Message-ID: <87k0bbk1zu.fsf@dell.be.48ers.dk> >>>>> "Th?o" == Th?o Lebrun via buildroot writes: > Signed-off-by: Th?o Lebrun Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:46:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:46:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/polkit: fix build without C++ In-Reply-To: <20220406163300.4006892-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:33:00 +0200") References: <20220406163300.4006892-1-fontaine.fabrice@gmail.com> Message-ID: <87fslzk1yc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure raised since switch to meson-package in > commit 1db13226394ff7e6f5e7ca643e275f35d6c633bb and > https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: > The following exception(s) were encountered: > Running > "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ > --version" gave "[Errno 2] No such file or directory: > '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" > Fixes: > - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:49:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:49:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop versioned layout In-Reply-To: <9406710d-ed6f-d0cd-4a7a-60480a4d4872@mind.be> (Arnout Vandecappelle's message of "Thu, 14 Apr 2022 21:27:24 +0200") References: <20220406172934.4009018-1-fontaine.fabrice@gmail.com> <9406710d-ed6f-d0cd-4a7a-60480a4d4872@mind.be> Message-ID: <87bkwnk1tp.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: > On 06/04/2022 19:29, Fabrice Fontaine wrote: >> boost.m4 embedded by cc-tool is not able to find boost libraries when >> they are versionned (e.g. libboost_program_options-gcc9-mt-sd-1_78.a): >> configure: error: cannot find the flags to link with Boost >> program_options >> azmq and i2pd also have the same issue: >> CMake Error at >> /nvmedata/autobuild/instance-8/output-1/host/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 >> (message): >> Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time thread >> chrono random) (Required is at least version "1.48") >> So drop versioned layout option > This is probably going to cause problems for some custom packages > that have a simple build system that assumes the versioned layout. Oh > well, bad luck. So what do we do for 2022.02.x? We presumably have the same issue there. Drop it as well? -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:49:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:49:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/qemu: fix host-qemu compilation with recent GCC In-Reply-To: <20220406211034.3672-1-dariobin@libero.it> (Dario Binacchi via buildroot's message of "Wed, 6 Apr 2022 23:10:34 +0200") References: <20220406211034.3672-1-dariobin@libero.it> Message-ID: <877d7bk1sb.fsf@dell.be.48ers.dk> >>>>> "Dario" == Dario Binacchi via buildroot writes: > Fixes: > cc1: error: ?-fcf-protection? is not compatible with this target > The new Ubuntu GCC packages (e.g. Ubuntu 11.2.0-7ubuntu2, 11.2.0) turn > on ?-fcf-protection? globally, which causes a build failure in the x86 > realmode code. Turn it off explicitly on compilers that understand this > option. > Signed-off-by: Dario Binacchi > Signed-off-by: Dario Binacchi Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:49:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:49:33 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/qemu: fix host-qemu compilation with Ubuntu GCC 11 Message-ID: <20220426203953.D5496844EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dfb3203bb81f1a7f0b562c12dae77f2b9a7635de branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes: cc1: error: ???-fcf-protection??? is not compatible with this target The new Ubuntu GCC packages (e.g. Ubuntu 11.2.0-7ubuntu2, 11.2.0) turn on ???-fcf-protection??? globally, which causes a build failure in the x86 realmode code. Turn it off explicitly on compilers that understand this option. Signed-off-by: Dario Binacchi Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 213629f2d3050465d2a6cb6842d056f71648fe55) Signed-off-by: Peter Korsgaard --- ...d-disable-fcf-protection-on-march-486-m16.patch | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch b/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch new file mode 100644 index 0000000000..7595d31c8d --- /dev/null +++ b/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch @@ -0,0 +1,50 @@ +From 9584d3d00a454f47b0341465142bcf0735d734ae Mon Sep 17 00:00:00 2001 +From: Christian Ehrhardt +Date: Wed, 23 Mar 2022 10:07:13 +0100 +Subject: [PATCH] build: disable fcf-protection on -march=486 -m16 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Some of the roms build with -march=i486 -m16 which is incompatible +with -fcf-protection. That in turn is can be set by default, for +example in Ubuntu [1]. +That causes: + cc1: error: ???-fcf-protection??? is not compatible with this target + +This won't work on -march=i486 -m16 and no matter if set or not we can +override it to "none" if the option is known to the compiler to be +able to build reliably. + +Fixes: https://gitlab.com/qemu-project/qemu/-/issues/889 + +[1]: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection + +Signed-off-by: Christian Ehrhardt +Reviewed-by: Philippe Mathieu-Daud?? +Reviewed-by: Thomas Huth +Message-Id: <20220323090713.1002588-1-christian.ehrhardt at canonical.com> +Signed-off-by: Paolo Bonzini +Signed-off-by: Dario Binacchi +--- + pc-bios/optionrom/Makefile | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile +index 5d55d25acca2..f1ef89807355 100644 +--- a/pc-bios/optionrom/Makefile ++++ b/pc-bios/optionrom/Makefile +@@ -14,6 +14,10 @@ cc-option = $(if $(shell $(CC) $1 -c -o /dev/null -xc /dev/null >/dev/null 2>&1 + + override CFLAGS += -march=i486 -Wall + ++# If -fcf-protection is enabled in flags or compiler defaults that will ++# conflict with -march=i486 ++override CFLAGS += $(call cc-option, -fcf-protection=none) ++ + # Flags for dependency generation + override CPPFLAGS += -MMD -MP -MT $@ -MF $(@D)/$(*F).d + +-- +2.32.0 + From peter at korsgaard.com Tue Apr 26 20:41:42 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:41:42 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/wireplumber: fix package by making the dbus dependency optional Message-ID: <20220426203953.BBF2A844EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=76c8a1ca741bbb005d1522fcdbb7976576cdb729 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x The wireplumber currently as "dbus" in its DEPENDENCIES, but it does not select/depend on it at the Kconfig level. A simple configuration such as: BR2_PACKAGE_LUA=y BR2_PACKAGE_PIPEWIRE=y BR2_PACKAGE_WIREPLUMBER=y Therefore fails to build with: Makefile:576: *** dbus is in the dependency chain of wireplumber that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop. Since dbus is actually an optional dependency of wireplumber, this commit fixes the issue by really handling it as an optional dependency. Fixes: c9a3c10417aadce9ee4922e30235776409ce8eb3 ("package/wireplumber: new package") Signed-off-by: Th??o Lebrun Signed-off-by: Thomas Petazzoni (cherry picked from commit 2699eb563156f6e9282342534122cf08ed7a0c25) Signed-off-by: Peter Korsgaard --- package/wireplumber/wireplumber.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/wireplumber/wireplumber.mk b/package/wireplumber/wireplumber.mk index 37a8de5364..674af3d392 100644 --- a/package/wireplumber/wireplumber.mk +++ b/package/wireplumber/wireplumber.mk @@ -9,13 +9,17 @@ WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2 WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION) WIREPLUMBER_LICENSE = MIT WIREPLUMBER_LICENSE_FILES = LICENSE -WIREPLUMBER_DEPENDENCIES = host-pkgconf dbus pipewire libglib2 lua +WIREPLUMBER_DEPENDENCIES = host-pkgconf pipewire libglib2 lua WIREPLUMBER_CONF_OPTS = \ -Ddoc=disabled \ -Dsystem-lua=true \ -Dsystem-lua-version= +ifeq ($(BR2_PACKAGE_DBUS),y) +WIREPLUMBER_DEPENDENCIES += dbus +endif + ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) WIREPLUMBER_DEPENDENCIES += host-doxygen host-python-lxml gobject-introspection WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled From peter at korsgaard.com Tue Apr 26 20:40:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:40:43 +0200 Subject: [git commit branch/2022.02.x] DEVELOPERS: drop Mylène Josserand Message-ID: <20220426203953.AE65E844EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5d58fb7df673637199ec10070080e0d8d9978f50 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Her e-mail address at Collabora is bouncing: host bhuna.collabora.co.uk[/private/dovecot-lmtp] said: 550 5.1.1 User doesn't exist: mylene.josserand at collabora.com Signed-off-by: Thomas Petazzoni (cherry picked from commit 4a9157705a5fec20a5a3aa47f7ea6bf4c95942ae) Signed-off-by: Peter Korsgaard --- DEVELOPERS | 3 --- 1 file changed, 3 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 26719370bd..175340cd99 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2069,9 +2069,6 @@ N: Murat Demirten F: package/jpeg-turbo/ F: package/libgeotiff/ -N: Myl??ne Josserand -F: package/rtl8723bu/ - N: Nathaniel Roach F: package/bandwidthd/ F: package/libgudev/ From peter at korsgaard.com Tue Apr 26 20:45:58 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:45:58 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/polkit: fix build without C++ Message-ID: <20220426203953.C826E844EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f7b3a8bf07413b05724eb043eebb1169214061d8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure raised since switch to meson-package in commit 1db13226394ff7e6f5e7ca643e275f35d6c633bb and https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 2a92509f50bb3eae972cf2f32cf3af38b2736413) Signed-off-by: Peter Korsgaard --- package/polkit/0003-fix-build-without-C.patch | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/package/polkit/0003-fix-build-without-C.patch b/package/polkit/0003-fix-build-without-C.patch new file mode 100644 index 0000000000..8e16de256c --- /dev/null +++ b/package/polkit/0003-fix-build-without-C.patch @@ -0,0 +1,50 @@ +From abbc04f6f3acfc2dfa34b1c07decaa658786e142 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 18:33:08 +0200 +Subject: [PATCH] fix build without C++ + +Fix the following build failure without C++ raised since +https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: + +The following exception(s) were encountered: +Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Indeed, C++ is only required with mozjs engine + +Fixes: + - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.freedesktop.org/polkit/polkit/-/commit/abbc04f6f3acfc2dfa34b1c07decaa658786e142] +--- + meson.build | 2 +- + src/polkitbackend/meson.build | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index c6765fd..da60930 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,5 +1,5 @@ + project( +- 'polkit', ['c', 'cpp'], ++ 'polkit', ['c'], + version: '0.120', + license: 'LGPL2+', + default_options: [ +diff --git a/src/polkitbackend/meson.build b/src/polkitbackend/meson.build +index 266f280..7c5d443 100644 +--- a/src/polkitbackend/meson.build ++++ b/src/polkitbackend/meson.build +@@ -38,6 +38,7 @@ if js_engine == 'duktape' + deps += libm_dep + deps += thread_dep + elif js_engine == 'mozjs' ++ add_languages('cpp') + sources += files('polkitbackendjsauthority.cpp') + endif + +-- +GitLab + From fontaine.fabrice at gmail.com Tue Apr 26 20:56:37 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 22:56:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop versioned layout In-Reply-To: <87bkwnk1tp.fsf@dell.be.48ers.dk> References: <20220406172934.4009018-1-fontaine.fabrice@gmail.com> <9406710d-ed6f-d0cd-4a7a-60480a4d4872@mind.be> <87bkwnk1tp.fsf@dell.be.48ers.dk> Message-ID: Le mar. 26 avr. 2022 ? 22:49, Peter Korsgaard a ?crit : > > >>>>> "Arnout" == Arnout Vandecappelle writes: > > > On 06/04/2022 19:29, Fabrice Fontaine wrote: > >> boost.m4 embedded by cc-tool is not able to find boost libraries when > >> they are versionned (e.g. libboost_program_options-gcc9-mt-sd-1_78.a): > >> configure: error: cannot find the flags to link with Boost > >> program_options > >> azmq and i2pd also have the same issue: > >> CMake Error at > >> /nvmedata/autobuild/instance-8/output-1/host/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 > >> (message): > >> Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time thread > >> chrono random) (Required is at least version "1.48") > >> So drop versioned layout option > > > This is probably going to cause problems for some custom packages > > that have a simple build system that assumes the versioned layout. Oh > > well, bad luck. > > So what do we do for 2022.02.x? We presumably have the same issue > there. Drop it as well? IMHO we should drop it as well as the tagged layout. > > -- > Bye, Peter Korsgaard Best Regards, Fabrice From angelo at amarulasolutions.com Tue Apr 26 21:01:28 2022 From: angelo at amarulasolutions.com (Angelo Compagnucci) Date: Tue, 26 Apr 2022 23:01:28 +0200 Subject: [Buildroot] [PATCH] package/htpdate: bump to version 1.3.4 Message-ID: <20220426210128.127336-1-angelo@amarulasolutions.com> Removing also the upstreamed patch. Signed-off-by: Angelo Compagnucci --- ...BS-to-be-configured-from-environment.patch | 37 ------------------- package/htpdate/htpdate.hash | 2 +- package/htpdate/htpdate.mk | 2 +- 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch diff --git a/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch b/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch deleted file mode 100644 index 6dca2babab..0000000000 --- a/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 4ba90fedd553c3b06c925fb6ff5245a5dcabace9 Mon Sep 17 00:00:00 2001 -From: Eddy Vervest -Date: Sat, 29 Jan 2022 10:58:13 +0100 -Subject: [PATCH] Allow SSL_LIBS to be configured from environment - -[Retrieved from: -https://github.com/twekkel/htpdate/commit/4ba90fedd553c3b06c925fb6ff5245a5dcabace9] -Signed-off-by: Fabrice Fontaine ---- - Makefile | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/Makefile b/Makefile -index 4796efa..cf077e6 100644 ---- a/Makefile -+++ b/Makefile -@@ -2,8 +2,9 @@ prefix = $(DESTDIR)/usr - bindir = ${prefix}/sbin - mandir = ${prefix}/share/man - --CC ?= gcc --CFLAGS += -Wall -std=c11 -pedantic -O2 -+CC ?= gcc -+CFLAGS += -Wall -std=c11 -pedantic -O2 -+SSL_LIBS ?= -lssl - - INSTALL ?= install -c - STRIP ?= strip -s -@@ -14,7 +15,7 @@ htpdate: htpdate.c - $(CC) $(CFLAGS) -o htpdate htpdate.c - - https: htpdate.c -- $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c -lssl -+ $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c $(SSL_LIBS) - - install: all - $(STRIP) htpdate diff --git a/package/htpdate/htpdate.hash b/package/htpdate/htpdate.hash index b56522ea99..11e743c569 100644 --- a/package/htpdate/htpdate.hash +++ b/package/htpdate/htpdate.hash @@ -1,3 +1,3 @@ # Locally calculated: -sha256 74f34b013eba6f99369819fa4b3d48e9ab5e531ad04f6af59cc04e8777c76ed7 htpdate-1.3.3.tar.gz +sha256 744f9200cfd3b008a5516c5eb6da727af532255a329126a7b8f49a5623985642 htpdate-1.3.4.tar.gz sha256 7989949df09a0489434723c571541604cd3f2e0418c6a6aa9179bfaf8ec807cc LICENSE diff --git a/package/htpdate/htpdate.mk b/package/htpdate/htpdate.mk index e32480fc85..35ae25929c 100644 --- a/package/htpdate/htpdate.mk +++ b/package/htpdate/htpdate.mk @@ -4,7 +4,7 @@ # ################################################################################ -HTPDATE_VERSION = 1.3.3 +HTPDATE_VERSION = 1.3.4 HTPDATE_SITE = $(call github,twekkel,htpdate,v$(HTPDATE_VERSION)) HTPDATE_LICENSE = GPL-2.0+ HTPDATE_LICENSE_FILES = LICENSE -- 2.34.1 From fontaine.fabrice at gmail.com Tue Apr 26 21:20:26 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 23:20:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptodev-linux: needs CONFIG_CRYPTO_USER_API_AEAD Message-ID: <20220426212026.712081-1-fontaine.fabrice@gmail.com> CONFIG_CRYPTO_USER_API_AEAD is needed to fix the following build failure: ERROR: modpost: "crypto_alloc_skcipher" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "scatterwalk_map_and_copy" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_ahash_final" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_aead_encrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_aead_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_skcipher_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_destroy_tfm" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_skcipher_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_aead_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_aead_setauthsize" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! Fixes: - http://autobuild.buildroot.org/results/a06708369c233f6e60a1a3ffd7a77a4edd932c9a Signed-off-by: Fabrice Fontaine --- package/cryptodev-linux/cryptodev-linux.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/cryptodev-linux/cryptodev-linux.mk b/package/cryptodev-linux/cryptodev-linux.mk index f9026053c8..d0c3bc5218 100644 --- a/package/cryptodev-linux/cryptodev-linux.mk +++ b/package/cryptodev-linux/cryptodev-linux.mk @@ -23,5 +23,10 @@ define CRYPTODEV_LINUX_INSTALL_STAGING_CMDS $(STAGING_DIR)/usr/include/crypto/cryptodev.h endef +define CRYPTODEV_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_AEAD) +endef + $(eval $(kernel-module)) $(eval $(generic-package)) -- 2.35.1 From sen at phobosdpl.com Tue Apr 26 21:43:12 2022 From: sen at phobosdpl.com (Sen Hastings) Date: Tue, 26 Apr 2022 16:43:12 -0500 Subject: [Buildroot] [PATCH 1/1] package/systemd: add setting for systemd default.target Message-ID: <6e9f3387-0127-9da0-59d0-2e4123b6be68@phobosdpl.com> This adds the option to set systemd's default.target in the System Configuration subheading if systemd is specified as the init system. The argument for default.target is specified pre-build as opposed to overriding the hardcoded "multi-user.target" symlink with post-build scripts or a rootfs overlay Signed-off-by: Sen Hastings --- package/systemd/systemd.mk | 2 +- system/Config.in | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..2ab5fe47ce 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -571,7 +571,7 @@ SYSTEMD_CONF_OPTS += -Dfallback-hostname=$(SYSTEMD_FALLBACK_HOSTNAME) endif define SYSTEMD_INSTALL_INIT_HOOK - ln -fs multi-user.target \ + ln -fs $(BR2_PACKAGE_SYSTEMD_DEFAULT_TARGET) \ $(TARGET_DIR)/usr/lib/systemd/system/default.target endef diff --git a/system/Config.in b/system/Config.in index a4ffbfa18c..888c24ce81 100644 --- a/system/Config.in +++ b/system/Config.in @@ -154,6 +154,17 @@ source "$BR2_BASE_DIR/.br2-external.in.init" endchoice +config BR2_PACKAGE_SYSTEMD_DEFAULT_TARGET + string "The default unit systemd starts at bootup" + default "multi-user.target" + depends on BR2_INIT_SYSTEMD + help + Specify the name of the unit configuration file to be started + at bootup by systemd. Should end in ".target". + ex: multi-user.target + + https://www.freedesktop.org/software/systemd/man/systemd.special.html#default.target + choice prompt "/dev management" if !BR2_INIT_SYSTEMD default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 21:53:13 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:53:13 +0200 Subject: [Buildroot] [PATCH v2 2/3] package/binutils: re-enable recent versions of binutils for FLAT binaries In-Reply-To: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> References: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> Message-ID: <20220426215315.381964-2-thomas.petazzoni@bootlin.com> Thanks to the bump of elf2flt to version 2021.08, the issue with recent versions of binutils has been fixed, so we can re-enable using the recent binutils versions. Signed-off-by: Thomas Petazzoni --- package/binutils/Config.in.host | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index e639c67149..4382b32237 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,21 +19,12 @@ config BR2_BINUTILS_VERSION_2_32_X config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_37_X bool "binutils 2.37" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_38_X bool "binutils 2.38" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 21:53:12 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:53:12 +0200 Subject: [Buildroot] [PATCH v2 1/3] package/elf2flt: update to version 2021.08 Message-ID: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> It contains several fixes and improvements compared to our current version, and two of our patches have been accepted upstream. Most notably, it fixes the issue we had in using elf2flt with recent versions of binutils (upstream commit ba379d08bb78c9300e84351c11080c26ddcc36b3). Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d The other two patches are refreshed to apply properly on 2021.08. Signed-off-by: Thomas Petazzoni --- Changes since v1: - Drop patch numbering, as pointed by Baruch --- ...> 0001-elf2flt-handle-binutils-2.34.patch} | 78 ++++---- ...e-properly-when-called-with-a-name-d.patch | 79 -------- ...2-elf2flt-add-riscv-64-bits-support.patch} | 38 ++-- ...-add-new-relocation-types-for-xtensa.patch | 188 ------------------ package/elf2flt/elf2flt.hash | 2 +- package/elf2flt/elf2flt.mk | 4 +- 6 files changed, 57 insertions(+), 332 deletions(-) rename package/elf2flt/{0003-elf2flt-handle-binutils-2.34.patch => 0001-elf2flt-handle-binutils-2.34.patch} (89%) delete mode 100644 package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch rename package/elf2flt/{0004-elf2flt-add-riscv-64-bits-support.patch => 0002-elf2flt-add-riscv-64-bits-support.patch} (83%) delete mode 100644 package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch similarity index 89% rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch index 16d5633385..4aa473c244 100644 --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch @@ -1,4 +1,4 @@ -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 5 Feb 2020 10:31:32 +0100 Subject: [PATCH] elf2flt: handle binutils >= 2.34 @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/configure.ac b/configure.ac -index e82eb1d..cf7dea8 100644 +index b7db2cb..fdc0876 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 CFLAGS="-Wall $CFLAGS" if test "$werror" = 1 ; then diff --git a/elf2flt.c b/elf2flt.c -index b93aecd..3bcf4fe 100644 +index 7ac0617..ea6b5a1 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -149,6 +149,17 @@ const char *elf2flt_progname; @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 if (verbose) printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", -@@ -442,7 +451,7 @@ output_relocs ( +@@ -443,7 +452,7 @@ output_relocs ( continue; if (verbose) printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 if ((r->flags & SEC_RELOC) == 0) continue; relsize = bfd_get_reloc_upper_bound(rel_bfd, r); -@@ -694,7 +703,7 @@ output_relocs ( +@@ -695,7 +704,7 @@ output_relocs ( case R_BFIN_RIMM16: case R_BFIN_LUIMM16: case R_BFIN_HUIMM16: @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -727,7 +736,7 @@ output_relocs ( +@@ -728,7 +737,7 @@ output_relocs ( break; case R_BFIN_BYTE4_DATA: @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -885,7 +894,7 @@ output_relocs ( +@@ -886,7 +895,7 @@ output_relocs ( #if defined(TARGET_m68k) case R_68K_32: relocation_needed = 1; @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_68K_PC16: -@@ -910,7 +919,7 @@ output_relocs ( +@@ -911,7 +920,7 @@ output_relocs ( q->address, sym_addr, (*p)->howto->rightshift, *(uint32_t *)r_mem); @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_ARM_GOT32: -@@ -938,7 +947,7 @@ output_relocs ( +@@ -939,7 +948,7 @@ output_relocs ( #ifdef TARGET_v850 case R_V850_ABS32: relocation_needed = 1; @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_V850_ZDA_16_16_OFFSET: -@@ -960,7 +969,7 @@ output_relocs ( +@@ -961,7 +970,7 @@ output_relocs ( sym_addr = (*(q->sym_ptr_ptr))->value; q->address -= 1; r_mem -= 1; /* tracks q->address */ @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= (*(unsigned char *)r_mem<<24); break; -@@ -973,7 +982,7 @@ output_relocs ( +@@ -974,7 +983,7 @@ output_relocs ( /* Absolute symbol done not relocation */ relocation_needed = !bfd_is_abs_section(sym_section); sym_addr = (*(q->sym_ptr_ptr))->value; @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_DIR32: -@@ -986,7 +995,7 @@ output_relocs ( +@@ -987,7 +996,7 @@ output_relocs ( } relocation_needed = 1; sym_addr = (*(q->sym_ptr_ptr))->value; @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_PCREL16: -@@ -1012,7 +1021,7 @@ output_relocs ( +@@ -1013,7 +1022,7 @@ output_relocs ( #ifdef TARGET_microblaze case R_MICROBLAZE_64: /* work out the relocation */ @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* Write relocated pointer back */ r_mem[2] = (sym_addr >> 24) & 0xff; -@@ -1026,7 +1035,7 @@ output_relocs ( +@@ -1027,7 +1036,7 @@ output_relocs ( pflags = 0x80000000; break; case R_MICROBLAZE_32: @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; relocation_needed = 1; break; -@@ -1058,7 +1067,7 @@ output_relocs ( +@@ -1059,7 +1068,7 @@ output_relocs ( case R_NIOS2_BFD_RELOC_32: relocation_needed = 1; pflags = (FLAT_NIOS2_R_32 << 28); @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* modify target, in target order */ *(unsigned long *)r_mem = htoniosl(sym_addr); -@@ -1068,7 +1077,7 @@ output_relocs ( +@@ -1069,7 +1078,7 @@ output_relocs ( unsigned long exist_val; relocation_needed = 1; pflags = (FLAT_NIOS2_R_CALL26 << 28); - sym_vma = bfd_section_vma(abs_bfd, sym_section); + sym_vma = elf2flt_bfd_section_vma(sym_section); sym_addr += sym_vma + q->addend; - + /* modify target, in target order */ -@@ -1099,7 +1108,7 @@ output_relocs ( +@@ -1100,7 +1109,7 @@ output_relocs ( ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; pflags <<= 28; - + - sym_vma = bfd_section_vma(abs_bfd, sym_section); -+ sym_vma = elf2flt_bfd_section_vma(sym_section); ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); sym_addr += sym_vma + q->addend; /* modify high 16 bits, in target order */ -@@ -1132,7 +1141,7 @@ output_relocs ( +@@ -1133,7 +1142,7 @@ output_relocs ( goto NIOS2_RELOC_ERR; } /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); sym_addr += sym_vma + q->addend; sym_addr -= gp; -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: case R_SPARC_32: case R_SPARC_UA32: relocation_needed = 1; @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SPARC_PC22: -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: case R_SPARC_HI22: relocation_needed = 1; pflags = 0x80000000; @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= ( htonl(*(uint32_t *)r_mem) -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: case R_SPARC_LO10: relocation_needed = 1; pflags = 0x40000000; @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr &= 0x000003ff; sym_addr |= ( -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: #ifdef TARGET_sh case R_SH_DIR32: relocation_needed = 1; @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SH_REL32: -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: case R_E1_CONST31: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: DBG_E1("Handling Reloc \n"); DIS29_RELOCATION: relocation_needed = 1; @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: case R_E1_IMM32: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: case R_E1_WORD: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: } sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 /* -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) } else continue; @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 if (sec_vma < *vma) { if (*len > 0) -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_CODE) +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) + (SEC_DATA | SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, text + (s->vma - text_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 { fatal("read error section %s", s->name); } -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_DATA) +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) + (SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, data + (s->vma - data_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 fatal("read error section %s", s->name); } -- -2.25.4 +2.35.1 diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch deleted file mode 100644 index a27c4913fb..0000000000 --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 13 Aug 2017 16:03:20 +0200 -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different - from TARGET_ALIAS - -ld-elf2flt currently handles two cases: - - 1 It is called as the wrapper for -ld, generally - installed in the bin/ directory of a toolchain. - - 2 It is called as the wrapper for "ld", generally installed in the - TARGET_ALIAS/bin/ directory of a toolchain. - -Unfortunately, if for some reason it gets called using a FOOBAR-ld -name that is different from -ld, it assumes it is in -case (2), while it really is in case (1). Due to this, the path -mangling logic doesn't work, and it doesn't find ld.real. - -This happens for example when the binary program in bin/ is named -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink -named arm-linux-ld. In this case, -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as -containing TARGET_ALIAS, and therefore the proper logic to find -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt -doesn't find TARGET_ALIAS, and therefore assumes we're being called as -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in -bin/, which doesn't exist. - -See: - -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -$ ./output/host/bin/arm-linux-ld -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory - -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -This commit fixes that by inverting the logic: if we're being called -as just "ld", then we assume it's the program in -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of -TARGET-ld. - -Signed-off-by: Thomas Petazzoni -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 ---- - ld-elf2flt.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index de39fe0..c187c2e 100644 ---- a/ld-elf2flt.c -+++ b/ld-elf2flt.c -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) - the host while those in /lib are for the target. - Make bindir point to the bin dir for bin/-foo. - Make tooldir point to the bin dir for /bin/foo. */ -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); -+ if (streqn(elf2flt_progname, "ld")) { -+ tmp = concat(argv0_dir, "../../bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- tooldir = concat(tmp, "/", NULL); -+ bindir = concat(tmp, "/", NULL); - } - } else { -- tmp = concat(argv0_dir, "../../bin", NULL); -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- bindir = concat(tmp, "/", NULL); -+ tooldir = concat(tmp, "/", NULL); - } - } - --- -2.9.4 - diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch similarity index 83% rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch index 4b00758446..c530bc020d 100644 --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch @@ -1,4 +1,4 @@ -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Wed, 9 Sep 2020 17:31:33 +0900 Subject: [PATCH] elf2flt: add riscv 64-bits support @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . Signed-off-by: Damien Le Moal --- elf2flt.c | 23 +++++++++++++++++++++++ - elf2flt.ld.in | 9 +++++---- + elf2flt.ld.in | 1 + ld-elf2flt.c | 16 ++++++++++++++++ - 3 files changed, 44 insertions(+), 4 deletions(-) + 3 files changed, 40 insertions(+) diff --git a/elf2flt.c b/elf2flt.c -index f87f1fc..dbce467 100644 +index ea6b5a1..7100c20 100644 --- a/elf2flt.c +++ b/elf2flt.c -@@ -80,6 +80,8 @@ const char *elf2flt_progname; +@@ -81,6 +81,8 @@ const char *elf2flt_progname; #include #elif defined(TARGET_xtensa) #include @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 #endif #if defined(__MINGW32__) -@@ -122,6 +124,8 @@ const char *elf2flt_progname; +@@ -123,6 +125,8 @@ const char *elf2flt_progname; #define ARCH "nios2" #elif defined(TARGET_xtensa) #define ARCH "xtensa" @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 #else #error "Don't know how to support your CPU architecture??" #endif -@@ -797,6 +801,16 @@ output_relocs ( +@@ -821,6 +825,16 @@ output_relocs ( goto good_32bit_resolved_reloc; default: goto bad_resolved_reloc; @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 #else default: /* The default is to assume that the -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) if (!load_to_ram && !pfile) load_to_ram = 1; @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 if (pfile) { diff --git a/elf2flt.ld.in b/elf2flt.ld.in -index ec1fe6f..c0c44b8 100644 +index 0df999d..f1eed1f 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) . = ALIGN(0x20) ; LONG(-1) . = ALIGN(0x20) ; --R_RODAT *(.rodata) --R_RODAT *(.rodata1) --R_RODAT *(.rodata.*) --R_RODAT *(.gnu.linkonce.r*) +RISCV_GP: __global_pointer$ = . + 0x800 ; -+R_RODAT *(.rodata) -+R_RODAT *(.rodata1) -+R_RODAT *(.rodata.*) -+R_RODAT *(.gnu.linkonce.r*) - *(.data) - *(.data1) - *(.data.*) + R_RODAT: *(.rodata) + R_RODAT: *(.rodata1) + R_RODAT: *(.rodata.*) diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index e5de506..31b565f 100644 +index 7cb02d5..1a503dd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -324,6 +324,22 @@ static int do_final_link(void) @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 if (!linker_script) linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); -- -2.31.1 +2.35.1 diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch deleted file mode 100644 index 953bd79ccf..0000000000 --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch +++ /dev/null @@ -1,188 +0,0 @@ -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 7 May 2020 21:11:43 -0700 -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa - -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. -Add them to the list of ignored relocation types. - -This fixes the following error when invoking elf2flt on xtensa binaries -built with the recent binutils: - - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context - -Reported-by: Romain Naour -Signed-off-by: Max Filippov -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d ---- - Makefile.in | 3 ++- - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 14 ++++++++++++ - elf2flt.c | 8 +++++++ - 4 files changed, 88 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 52b3347d7f43..0529c7f0a25a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ - -DNO_GOT_CHECK=@got_check@ \ - -DUSE_EMIT_RELOCS=@emit_relocs@ \ - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ - EXEEXT = @EXEEXT@ - OBJEXT = @OBJEXT@ - -diff --git a/configure b/configure -index bb8e33f9cb28..bca38c34247e 100755 ---- a/configure -+++ b/configure -@@ -621,6 +621,7 @@ ac_includes_default="\ - - ac_subst_vars='LTLIBOBJS - LIBOBJS -+HAVE_BFD_XTENSA_PDIFF_RELOCS - SYMBOL_PREFIX - always_reloc_text - emit_ctor_dtor -@@ -1729,6 +1730,52 @@ fi - - } # ac_fn_c_try_link - -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+ - # ac_fn_c_check_func LINENO FUNC VAR - # ---------------------------------- - # Tests whether FUNC exists, setting the cache variable VAR accordingly -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h - fi - - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ OLD_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" -+ #include \"elf/xtensa.h\" -+" -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 -+fi -+ -+ CPPFLAGS=$OLD_CPPFLAGS -+ ;; -+esac -+ - for ac_func in vprintf - do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -@@ -4333,6 +4396,7 @@ fi - - - -+ - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" - - cat >confcache <<\_ACEOF -diff --git a/configure.ac b/configure.ac -index d6b4119eb18a..19969b1045f6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, -+ [#include "bfd.h" -+ #include "elf/xtensa.h"]) -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) -+ ;; -+esac -+ - dnl Checks for library functions. - AC_FUNC_VPRINTF - -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) - AC_SUBST(emit_ctor_dtor) - AC_SUBST(always_reloc_text) - AC_SUBST(SYMBOL_PREFIX) -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) - - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) - -diff --git a/elf2flt.c b/elf2flt.c -index b7c4a490df02..961534973f56 100644 ---- a/elf2flt.c -+++ b/elf2flt.c -@@ -776,6 +776,14 @@ output_relocs ( - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: -+#endif - case R_XTENSA_32_PCREL: - continue; - case R_XTENSA_32: --- -2.20.1 - diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash index c4b0697fcd..c576f65cdb 100644 --- a/package/elf2flt/elf2flt.hash +++ b/package/elf2flt/elf2flt.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk index 3239af1b9a..11cacaf9e0 100644 --- a/package/elf2flt/elf2flt.mk +++ b/package/elf2flt/elf2flt.mk @@ -4,8 +4,8 @@ # ################################################################################ -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) +ELF2FLT_VERSION = 2021.08 +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) ELF2FLT_LICENSE = GPL-2.0+ ELF2FLT_LICENSE_FILES = LICENSE.TXT -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 21:53:14 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:53:14 +0200 Subject: [Buildroot] [PATCH v2 3/3] package/binutils: drop version 2.32 In-Reply-To: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> References: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> Message-ID: <20220426215315.381964-3-thomas.petazzoni@bootlin.com> Now that recent versions of binutils work with FLAT binaries, we can drop the old 2.32 version, which was kept only to keep support FLAT binaries. Signed-off-by: Thomas Petazzoni --- Changes since v1: - Drop binutils 2.32 hash in binutils.hash --- Config.in.legacy | 6 + package/binutils/2.32/0001-sh-conf.patch | 48 -- .../2.32/0002-poison-system-directories.patch | 306 ----------- ...hrink_dynamic_reloc_sections-for-exp.patch | 41 -- ...s-const16-for-xtensa-loop-relaxation.patch | 294 ---------- ...t-.literal_position-at-section-start.patch | 96 ---- ...ct-value-in-PLT-GOT-entries-causing-.patch | 46 -- .../0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 --------------- ...TENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ----- ...ith-plt-link-failure-for-local-calls.patch | 59 --- ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 --------- ...K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...ge-plt_relocs-when-generating-plt-en.patch | 500 ------------------ ...or1k-fix-building-with-gcc-version-5.patch | 50 -- ...tive-relocation-against-dynamic-on-P.patch | 59 --- ...K_GOT16-signed-overflow-by-using-spe.patch | 75 --- package/binutils/Config.in.host | 5 - package/binutils/binutils.hash | 1 - 19 files changed, 6 insertions(+), 2494 deletions(-) delete mode 100644 package/binutils/2.32/0001-sh-conf.patch delete mode 100644 package/binutils/2.32/0002-poison-system-directories.patch delete mode 100644 package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch delete mode 100644 package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch delete mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch delete mode 100644 package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch delete mode 100644 package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch delete mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch delete mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch delete mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch delete mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch delete mode 100644 package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch delete mode 100644 package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch delete mode 100644 package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch diff --git a/Config.in.legacy b/Config.in.legacy index 387653f45d..6d2c82ab7f 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.05" +config BR2_BINUTILS_VERSION_2_32_X + bool "binutils 2.32.x has been removed" + select BR2_LEGACY + help + binutils 2.32 has been removed, use a newer version. + config BR2_sh2a bool "sh2a architecture support removed" select BR2_LEGACY diff --git a/package/binutils/2.32/0001-sh-conf.patch b/package/binutils/2.32/0001-sh-conf.patch deleted file mode 100644 index fff91ae35c..0000000000 --- a/package/binutils/2.32/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 98b2acf2bd3a527d114a9f8931083c2617a2daa9 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 37476459612..66fbc19f9ff 100755 ---- a/configure -+++ b/configure -@@ -3861,7 +3861,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index 46501c28826..6c731930884 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1158,7 +1158,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.14.5 - diff --git a/package/binutils/2.32/0002-poison-system-directories.patch b/package/binutils/2.32/0002-poison-system-directories.patch deleted file mode 100644 index 98f41e87f3..0000000000 --- a/package/binutils/2.32/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From f559402ea868d370ddf25089c68cda2600db3bfa Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index d93c9b08300..5da2742beac 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -31,6 +31,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index 18ada7808f5..7e7d2f97809 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -822,6 +822,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1486,6 +1487,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15803,7 +15806,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index d335f210917..7f692d93873 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index b97d977f37b..f3bbd2d55d4 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -180,6 +180,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index 5179af3e0e1..f78bf746822 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2524,6 +2524,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+ at kindex --no-poison-system-directories -+ at item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+ at file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+ at kindex --error-poison-system-directories -+ at item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index fcadc08c73f..63e295ce8ae 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 32853debe45..8135361c498 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -148,6 +148,8 @@ enum option_values - OPTION_REQUIRE_DEFINED_SYMBOL, - OPTION_ORPHAN_HANDLING, - OPTION_FORCE_GROUP_ALLOCATION, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index 77cdbd0dd29..725512f1260 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -269,6 +269,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 88e85c73f49..be4cd492d14 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = - { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, - '\0', N_("=MODE"), N_("Control how orphan sections are handled."), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -555,6 +563,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1543,6 +1552,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1586,6 +1603,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - lang_leave_group (); --- -2.14.5 - diff --git a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch deleted file mode 100644 index b80e1fa7ce..0000000000 --- a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 278989f23735aa501be1052e085540c75c126dbb Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 28 Mar 2019 17:03:57 -0700 -Subject: [PATCH] bfd: xtensa: fix shrink_dynamic_reloc_sections for - export-dynamic - -shrink_dynamic_reloc_sections must remove PLT entry that was created for -an undefined weak symbol in the presence of --export-dynamic option when -relaxation coalesces literals pointing to that symbol. This fixes the -following assertion: - - ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at - elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections - -2019-03-28 Max Filippov -bfd/ - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add - info->export_dynamic to the conditional. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index c3df3d6db756..37ea200eea74 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10083,7 +10083,8 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - && (input_section->flags & SEC_ALLOC) != 0 - && (dynamic_symbol || bfd_link_pic (info)) - && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol && bfd_link_dll (info)))) -+ || (dynamic_symbol -+ && (bfd_link_dll (info) || info->export_dynamic)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.11.0 - diff --git a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch deleted file mode 100644 index ed617bcaf7..0000000000 --- a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch +++ /dev/null @@ -1,294 +0,0 @@ -From 0dbdfb7918d0b0cfcb8883b24c1291574bf5bb7c Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Tue, 2 Apr 2019 14:32:42 -0700 -Subject: [PATCH] gas: use literals/const16 for xtensa loop relaxation - -Loop opcode relaxation that uses addi/addmi doesn't work well with other -relaxations that may cause code movement. Instead of encoding fixed loop -end offset in the relaxed sequence use l32r or a pair of const16 to load -loop end address. This way the address of the loop end gets a relocation -record and it gets updated appropriately. - -gas/ -2019-04-02 Max Filippov - - * config/tc-xtensa.c (convert_frag_immed): Drop - convert_frag_immed_finish_loop invocation. - (convert_frag_immed_finish_loop): Drop declaration and - definition. - * config/xtensa-relax.c (widen_spec_list): Replace loop - widening that uses addi/addmi with widening that uses l32r - and const16. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 120 ---------------------------------------------- - gas/config/xtensa-relax.c | 77 ++++++++++++++++++++--------- - 2 files changed, 55 insertions(+), 142 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 3bdbbc931cfc..0cc06361cf6f 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -10668,7 +10668,6 @@ convert_frag_fill_nop (fragS *fragP) - static fixS *fix_new_exp_in_seg - (segT, subsegT, fragS *, int, int, expressionS *, int, - bfd_reloc_code_real_type); --static void convert_frag_immed_finish_loop (segT, fragS *, TInsn *); - - static void - convert_frag_immed (segT segP, -@@ -10910,9 +10909,6 @@ convert_frag_immed (segT segP, - } - } - -- if (expanded && xtensa_opcode_is_loop (isa, orig_tinsn.opcode) == 1) -- convert_frag_immed_finish_loop (segP, fragP, &orig_tinsn); -- - if (expanded && is_direct_call_opcode (orig_tinsn.opcode)) - { - /* Add an expansion note on the expanded instruction. */ -@@ -10949,122 +10945,6 @@ fix_new_exp_in_seg (segT new_seg, - } - - --/* Relax a loop instruction so that it can span loop >256 bytes. -- -- loop as, .L1 -- .L0: -- rsr as, LEND -- wsr as, LBEG -- addi as, as, lo8 (label-.L1) -- addmi as, as, mid8 (label-.L1) -- wsr as, LEND -- isync -- rsr as, LCOUNT -- addi as, as, 1 -- .L1: -- <> -- label: --*/ -- --static void --convert_frag_immed_finish_loop (segT segP, fragS *fragP, TInsn *tinsn) --{ -- TInsn loop_insn; -- TInsn addi_insn; -- TInsn addmi_insn; -- unsigned long target; -- static xtensa_insnbuf insnbuf = NULL; -- unsigned int loop_length, loop_length_hi, loop_length_lo; -- xtensa_isa isa = xtensa_default_isa; -- addressT loop_offset; -- addressT addi_offset = 9; -- addressT addmi_offset = 12; -- fragS *next_fragP; -- int target_count; -- -- if (!insnbuf) -- insnbuf = xtensa_insnbuf_alloc (isa); -- -- /* Get the loop offset. */ -- loop_offset = get_expanded_loop_offset (tinsn->opcode); -- -- /* Validate that there really is a LOOP at the loop_offset. Because -- loops are not bundleable, we can assume that the instruction will be -- in slot 0. */ -- tinsn_from_chars (&loop_insn, fragP->fr_opcode + loop_offset, 0); -- tinsn_immed_from_frag (&loop_insn, fragP, 0); -- -- gas_assert (xtensa_opcode_is_loop (isa, loop_insn.opcode) == 1); -- addi_offset += loop_offset; -- addmi_offset += loop_offset; -- -- gas_assert (tinsn->ntok == 2); -- if (tinsn->tok[1].X_op == O_constant) -- target = tinsn->tok[1].X_add_number; -- else if (tinsn->tok[1].X_op == O_symbol) -- { -- /* Find the fragment. */ -- symbolS *sym = tinsn->tok[1].X_add_symbol; -- gas_assert (S_GET_SEGMENT (sym) == segP -- || S_GET_SEGMENT (sym) == absolute_section); -- target = (S_GET_VALUE (sym) + tinsn->tok[1].X_add_number); -- } -- else -- { -- as_bad (_("invalid expression evaluation type %d"), tinsn->tok[1].X_op); -- target = 0; -- } -- -- loop_length = target - (fragP->fr_address + fragP->fr_fix); -- loop_length_hi = loop_length & ~0x0ff; -- loop_length_lo = loop_length & 0x0ff; -- if (loop_length_lo >= 128) -- { -- loop_length_lo -= 256; -- loop_length_hi += 256; -- } -- -- /* Because addmi sign-extends the immediate, 'loop_length_hi' can be at most -- 32512. If the loop is larger than that, then we just fail. */ -- if (loop_length_hi > 32512) -- as_bad_where (fragP->fr_file, fragP->fr_line, -- _("loop too long for LOOP instruction")); -- -- tinsn_from_chars (&addi_insn, fragP->fr_opcode + addi_offset, 0); -- gas_assert (addi_insn.opcode == xtensa_addi_opcode); -- -- tinsn_from_chars (&addmi_insn, fragP->fr_opcode + addmi_offset, 0); -- gas_assert (addmi_insn.opcode == xtensa_addmi_opcode); -- -- set_expr_const (&addi_insn.tok[2], loop_length_lo); -- tinsn_to_insnbuf (&addi_insn, insnbuf); -- -- fragP->tc_frag_data.is_insn = TRUE; -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addi_offset, 0); -- -- set_expr_const (&addmi_insn.tok[2], loop_length_hi); -- tinsn_to_insnbuf (&addmi_insn, insnbuf); -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addmi_offset, 0); -- -- /* Walk through all of the frags from here to the loop end -- and mark them as no_transform to keep them from being modified -- by the linker. If we ever have a relocation for the -- addi/addmi of the difference of two symbols we can remove this. */ -- -- target_count = 0; -- for (next_fragP = fragP; next_fragP != NULL; -- next_fragP = next_fragP->fr_next) -- { -- next_fragP->tc_frag_data.is_no_transform = TRUE; -- if (next_fragP->tc_frag_data.is_loop_target) -- target_count++; -- if (target_count == 2) -- break; -- } --} -- - - /* A map that keeps information on a per-subsegment basis. This is - maintained during initial assembly, but is invalid once the -diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c -index cb296ed85ed2..daf15d52c259 100644 ---- a/gas/config/xtensa-relax.c -+++ b/gas/config/xtensa-relax.c -@@ -87,13 +87,7 @@ - when the first and second operands are not the same as specified - by the "| %at!=%as" precondition clause. - {"l32i %at,%as,%imm | %at!=%as", -- "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} -- -- There is special case for loop instructions here, but because we do -- not currently have the ability to represent the difference of two -- symbols, the conversion requires special code in the assembler to -- write the operands of the addi/addmi pair representing the -- difference of the old and new loop end label. */ -+ "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} */ - - #include "as.h" - #include "xtensa-isa.h" -@@ -306,44 +300,83 @@ static string_pattern_pair widen_spec_list[] = - {"l32i %at,%as,%imm | %at!=%as ? IsaUseConst16", - "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm); add %at,%at,%as; l32i %at,%at,0"}, - -- /* This is only PART of the loop instruction. In addition, -- hardcoded into its use is a modification of the final operand in -- the instruction in bytes 9 and 12. */ -- {"loop %as,%label | %as!=1 ? IsaUseLoops", -+ /* Widening loops with literals. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "loop %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "bltz %as,%label;" -+ "loopgtz %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "loopnez %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ -+ /* Widening loops with const16. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "loop %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopgtz %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "bltz %as,%label;" - "loopgtz %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopnez %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "loopnez %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, - - /* Relaxing to wide branches. Order is important here. With wide --- -2.11.0 - diff --git a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch deleted file mode 100644 index b4bbc27b37..0000000000 --- a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 471702ac4a57878a06e8167f063274cf413e548d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Mon, 8 Apr 2019 13:47:18 -0700 -Subject: [PATCH] xtensa: gas: put .literal_position at section start - -Provide literal position at the beginning of each section for literal -space reserved by relaxations when text-section-literals or -auto-litpools options are used. Remove code that adds fill frag to the -literal section for every .literal_position directive to avoid creation -of empty literal sections. - -Fix auto-litpools tests that got literal pool address changes. - -gas/ -2019-04-11 Max Filippov - - * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. - (xtensa_mark_literal_pool_location): Don't add fill frag to literal - section that records literal pool location. - (md_begin): Call xtensa_mark_literal_pool_location when text - section literals or auto litpools are used. - (xtensa_elf_section_change_hook): Call - xtensa_mark_literal_pool_location when text section literals or - auto litpools are used, there's no literal pool location defined - for the current section and it's not .init or .fini. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 22 +++++++++------------- - 1 file changed, 9 insertions(+), 13 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 0cc06361cf6f..6a80e76fed8c 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -497,6 +497,7 @@ static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset); - static void xtensa_maybe_create_literal_pool_frag (bfd_boolean, bfd_boolean); - static bfd_boolean auto_litpools = FALSE; - static int auto_litpool_limit = 0; -+static bfd_boolean xtensa_is_init_fini (segT seg); - - /* Alignment Functions. */ - -@@ -4797,7 +4798,6 @@ xtensa_mark_literal_pool_location (void) - { - /* Any labels pointing to the current location need - to be adjusted to after the literal pool. */ -- emit_state s; - fragS *pool_location; - - if (use_literal_section) -@@ -4818,19 +4818,7 @@ xtensa_mark_literal_pool_location (void) - RELAX_LITERAL_POOL_END, NULL, 0, NULL); - xtensa_set_frag_assembly_state (frag_now); - -- /* Now put a frag into the literal pool that points to this location. */ - set_literal_pool_location (now_seg, pool_location); -- xtensa_switch_to_non_abs_literal_fragment (&s); -- frag_align (2, 0, 0); -- record_alignment (now_seg, 2); -- -- /* Close whatever frag is there. */ -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_set_frag_assembly_state (frag_now); -- frag_now->tc_frag_data.literal_frag = pool_location; -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_restore_emit_state (&s); -- xtensa_set_frag_assembly_state (frag_now); - } - - -@@ -5334,6 +5322,9 @@ md_begin (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section) -+ xtensa_mark_literal_pool_location (); - } - - -@@ -5933,6 +5924,11 @@ xtensa_elf_section_change_hook (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section -+ && seg_info (now_seg)->tc_segment_info_data.literal_pool_loc == NULL -+ && !xtensa_is_init_fini (now_seg)) -+ xtensa_mark_literal_pool_location (); - } - - --- -2.11.0 - diff --git a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch deleted file mode 100644 index 8527b66733..0000000000 --- a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch +++ /dev/null @@ -1,46 +0,0 @@ -From b17678f639f953d687d96cd52690e7cbfae50f91 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Fri, 23 Aug 2019 22:25:55 +0900 -Subject: [PATCH] or1k: Fix incorrect value in PLT GOT entries, causing - infinite loop - -The PLT GOT entry should point to the first PLT entry which contains the -runtime linker function. It was pointing back to the symbol PLT entry -causing an infinite loop. - -I found this when testing the OpenRISC glibc port which uses the runtime -dynamic linker. It seems other libc's we use so far have not been -making use of the initial PLT GOT entries. - -bfd/ChangeLog: - - * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for - PLT GOT entries. - -(cherry picked from commit 09f7b0de537d465fc8ed9f9433e348c1bc78aab2) -Signed-off-by: Romain Naour ---- - bfd/elf32-or1k.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..32839cfa7b6 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2379,8 +2379,11 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, - plt0, plt1, plt2, OR1K_JR(12)); - -- /* Fill in the entry in the global offset table. */ -- bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -+ /* Fill in the entry in the global offset table. We initialize it to -+ point to the top of the plt. This is done to lazy lookup the actual -+ symbol as the first plt entry will be setup by libc to call the -+ runtime dynamic linker. */ -+ bfd_put_32 (output_bfd, plt_base_addr, sgot->contents + got_offset); - - /* Fill in the entry in the .rela.plt section. */ - rela.r_offset = got_addr; --- -2.23.0 - diff --git a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch deleted file mode 100644 index f499426b70..0000000000 --- a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 85dcca5997cf3822d6456a5c9c59c46b56adfbb8 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Wed, 4 Mar 2020 14:54:27 -0800 -Subject: [PATCH] bfd: xtensa: fix PR ld/25630 - -bfd/ -2020-03-05 Max Filippov - - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic - relocation sections for any removed reference to a dynamic symbol. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 12ff9f772aaf..65e14d87940c 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - - if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) - && (input_section->flags & SEC_ALLOC) != 0 -- && (dynamic_symbol || bfd_link_pic (info)) -- && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol -- && (bfd_link_dll (info) || info->export_dynamic)))) -+ && (dynamic_symbol -+ || (bfd_link_pic (info) -+ && (!h || h->root.type != bfd_link_hash_undefweak)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.20.1 - diff --git a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch deleted file mode 100644 index 2df46c6526..0000000000 --- a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch +++ /dev/null @@ -1,432 +0,0 @@ -From c7a1d1f656c717394937a92cb970f0f4cecce128 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sun, 19 Apr 2020 19:04:41 -0700 -Subject: [PATCH] xtensa: fix PR ld/25861 - -Introduce new relaxations XTENSA_PDIFF{8,16,32} for positive differences -(subtracted symbol precedes diminished symbol) and XTENSA_NDIFF{8,16,32} -for negative differences (subtracted symbol follows diminished symbol). -Don't generate XTENSA_DIFF relocations in the assembler, generate -XTENSA_PDIFF or XTENSA_NDIFF based on relative symbol position. - -Handle XTENSA_DIFF in BFD for compatibility with old object files. -Handle XTENSA_PDIFF and XTENSA_NDIFF in BFD, treating difference value -as unsigned. - -2020-04-22 Max Filippov -bfd/ - * bfd-in2.h: Regenerated. - * elf32-xtensa.c (elf_howto_table): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - (elf_xtensa_reloc_type_lookup, elf_xtensa_do_reloc) - (relax_section): Add cases for R_XTENSA_PDIFF{8,16,32} and - R_XTENSA_NDIFF{8,16,32}. - * libbfd.h (bfd_reloc_code_real_names): Add names for - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - * reloc.c: Add documentation for BFD_RELOC_XTENSA_PDIFF{8,16,32} - and BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -binutils/ - * readelf.c (is_none_reloc): Recognize - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -gas/ - * config/tc-xtensa.c (md_apply_fix): Replace - BFD_RELOC_XTENSA_DIFF{8,16,32} generation with - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. - * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 - with BFD_RELOC_XTENSA_PDIFF16 in the expected output. - -include/ - * elf/xtensa.h (elf_xtensa_reloc_type): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - -ld/ - * testsuite/ld-xtensa/relax-loc.d: New test definition. - * testsuite/ld-xtensa/relax-loc.s: New test source. - * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test. - -Signed-off-by: Max Filippov ---- -Backported from: 30ce8e47fad9b057b6d7af9e1d43061126d34d20 - - bfd/bfd-in2.h | 20 ++++++- - bfd/elf32-xtensa.c | 89 +++++++++++++++++++++++++++++- - bfd/libbfd.h | 6 ++ - bfd/reloc.c | 24 ++++++++ - binutils/readelf.c | 8 ++- - gas/config/tc-xtensa.c | 12 +++- - gas/testsuite/gas/xtensa/loc.d | 2 +- - include/elf/xtensa.h | 6 ++ - ld/testsuite/ld-xtensa/relax-loc.d | 7 +++ - ld/testsuite/ld-xtensa/relax-loc.s | 15 +++++ - ld/testsuite/ld-xtensa/xtensa.exp | 1 + - 11 files changed, 183 insertions(+), 7 deletions(-) - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.d - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.s - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index 37114607b515..be6a30f57955 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5217,7 +5217,9 @@ to one of its own internal functions or data structures. */ - PLT entries. Otherwise, this is just a generic 32-bit relocation. */ - BFD_RELOC_XTENSA_PLT, - --/* Xtensa relocations to mark the difference of two local symbols. -+/* Xtensa relocations for backward compatibility. These have been replaced -+by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. -+Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference - assuming no relaxation. The relocation encodes the position of the -@@ -5291,6 +5293,22 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ - BFD_RELOC_XTENSA_TLS_ARG, - BFD_RELOC_XTENSA_TLS_CALL, - -+/* Xtensa relocations to mark the difference of two local symbols. -+These are only needed to support linker relaxation and can be ignored -+when not relaxing. The field is set to the value of the difference -+assuming no relaxation. The relocation encodes the position of the -+subtracted symbol so the linker can determine whether to adjust the field -+value. PDIFF relocations are used for positive differences, NDIFF -+relocations are used for negative differences. The difference value -+is treated as unsigned with these relocation types, giving full -+8/16 value ranges. */ -+ BFD_RELOC_XTENSA_PDIFF8, -+ BFD_RELOC_XTENSA_PDIFF16, -+ BFD_RELOC_XTENSA_PDIFF32, -+ BFD_RELOC_XTENSA_NDIFF8, -+ BFD_RELOC_XTENSA_NDIFF16, -+ BFD_RELOC_XTENSA_NDIFF32, -+ - /* 8 bit signed offset in (ix+d) or (iy+d). */ - BFD_RELOC_Z80_DISP8, - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 473a9d76f289..fded42d52a9a 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -325,6 +325,20 @@ static reloc_howto_type elf_howto_table[] = - HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, FALSE, 0, complain_overflow_dont, - bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", - FALSE, 0, 0, FALSE), -+ -+ HOWTO (R_XTENSA_PDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_PDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_PDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF32", FALSE, 0, 0xffffffff, FALSE), -+ -+ HOWTO (R_XTENSA_NDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_NDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_NDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF32", FALSE, 0, 0xffffffff, FALSE), - }; - - #if DEBUG_GEN_RELOC -@@ -364,6 +378,30 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, - TRACE ("BFD_RELOC_XTENSA_DIFF32"); - return &elf_howto_table[(unsigned) R_XTENSA_DIFF32 ]; - -+ case BFD_RELOC_XTENSA_PDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF32 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF32 ]; -+ - case BFD_RELOC_XTENSA_RTLD: - TRACE ("BFD_RELOC_XTENSA_RTLD"); - return &elf_howto_table[(unsigned) R_XTENSA_RTLD ]; -@@ -1851,6 +1889,12 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: - case R_XTENSA_TLS_FUNC: - case R_XTENSA_TLS_ARG: - case R_XTENSA_TLS_CALL: -@@ -9604,7 +9648,13 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - - if (r_type == R_XTENSA_DIFF8 - || r_type == R_XTENSA_DIFF16 -- || r_type == R_XTENSA_DIFF32) -+ || r_type == R_XTENSA_DIFF32 -+ || r_type == R_XTENSA_PDIFF8 -+ || r_type == R_XTENSA_PDIFF16 -+ || r_type == R_XTENSA_PDIFF32 -+ || r_type == R_XTENSA_NDIFF8 -+ || r_type == R_XTENSA_NDIFF16 -+ || r_type == R_XTENSA_NDIFF32) - { - bfd_signed_vma diff_value = 0; - bfd_vma new_end_offset, diff_mask = 0; -@@ -9631,8 +9681,27 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_value = -+ bfd_get_8 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_value = -+ bfd_get_16 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_value = -+ bfd_get_32 (abfd, &contents[old_source_offset]); -+ break; - } - -+ if (r_type >= R_XTENSA_NDIFF8 -+ && r_type <= R_XTENSA_NDIFF32) -+ diff_value = -diff_value; -+ - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, - r_rel.target_offset + diff_value); -@@ -9655,6 +9724,24 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; -+ bfd_put_8 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; -+ bfd_put_16 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; -+ bfd_put_32 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; - } - - /* Check for overflow. Sign bits must be all zeroes or all ones */ -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 3c184fcadadf..989f4bc0b595 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2919,6 +2919,12 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_XTENSA_TLS_FUNC", - "BFD_RELOC_XTENSA_TLS_ARG", - "BFD_RELOC_XTENSA_TLS_CALL", -+ "BFD_RELOC_XTENSA_PDIFF8", -+ "BFD_RELOC_XTENSA_PDIFF16", -+ "BFD_RELOC_XTENSA_PDIFF32", -+ "BFD_RELOC_XTENSA_NDIFF8", -+ "BFD_RELOC_XTENSA_NDIFF16", -+ "BFD_RELOC_XTENSA_NDIFF32", - "BFD_RELOC_Z80_DISP8", - "BFD_RELOC_Z80_BYTE0", - "BFD_RELOC_Z80_BYTE1", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index c4dec86d1d46..f5df8e2ab3eb 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6556,6 +6556,8 @@ ENUMX - ENUMX - BFD_RELOC_XTENSA_DIFF32 - ENUMDOC -+ Xtensa relocations for backward compatibility. These have been replaced -+ by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. - Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference -@@ -6668,6 +6670,28 @@ ENUMX - BFD_RELOC_XTENSA_TLS_CALL - ENUMDOC - Xtensa TLS relocations. -+ENUM -+ BFD_RELOC_XTENSA_PDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF32 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF32 -+ENUMDOC -+ Xtensa relocations to mark the difference of two local symbols. -+ These are only needed to support linker relaxation and can be ignored -+ when not relaxing. The field is set to the value of the difference -+ assuming no relaxation. The relocation encodes the position of the -+ subtracted symbol so the linker can determine whether to adjust the field -+ value. PDIFF relocations are used for positive differences, NDIFF -+ relocations are used for negative differences. The difference value -+ is treated as unsigned with these relocation types, giving full -+ 8/16 value ranges. - - ENUM - BFD_RELOC_Z80_DISP8 -diff --git a/binutils/readelf.c b/binutils/readelf.c -index d4756c93b345..800918f901c8 100644 ---- a/binutils/readelf.c -+++ b/binutils/readelf.c -@@ -13262,7 +13262,13 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type) - return (reloc_type == 0 /* R_XTENSA_NONE. */ - || reloc_type == 17 /* R_XTENSA_DIFF8. */ - || reloc_type == 18 /* R_XTENSA_DIFF16. */ -- || reloc_type == 19 /* R_XTENSA_DIFF32. */); -+ || reloc_type == 19 /* R_XTENSA_DIFF32. */ -+ || reloc_type == 57 /* R_XTENSA_PDIFF8. */ -+ || reloc_type == 58 /* R_XTENSA_PDIFF16. */ -+ || reloc_type == 59 /* R_XTENSA_PDIFF32. */ -+ || reloc_type == 60 /* R_XTENSA_NDIFF8. */ -+ || reloc_type == 61 /* R_XTENSA_NDIFF16. */ -+ || reloc_type == 62 /* R_XTENSA_NDIFF32. */); - } - return FALSE; - } -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 71d4d94a8d7d..ee75c13548ff 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -5974,18 +5974,24 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) - case BFD_RELOC_8: - if (fixP->fx_subsy) - { -+ bfd_boolean neg = S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset -+ < S_GET_VALUE (fixP->fx_subsy); -+ - switch (fixP->fx_r_type) - { - case BFD_RELOC_8: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF8; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF8 : BFD_RELOC_XTENSA_PDIFF8; - fixP->fx_signed = 0; - break; - case BFD_RELOC_16: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF16; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF16 : BFD_RELOC_XTENSA_PDIFF16; - fixP->fx_signed = 0; - break; - case BFD_RELOC_32: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF32; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF32 : BFD_RELOC_XTENSA_PDIFF32; - fixP->fx_signed = 0; - break; - default: -diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d -index 71983cc90055..8fb3425999d5 100644 ---- a/gas/testsuite/gas/xtensa/loc.d -+++ b/gas/testsuite/gas/xtensa/loc.d -@@ -6,5 +6,5 @@ - - RELOCATION RECORDS FOR \[\.debug_line\]: - #... --.*R_XTENSA_DIFF16.*\.text\+0x00009c42 -+.*R_XTENSA_PDIFF16.*\.text\+0x00009c42 - #... -diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h -index 2eb5e4e52941..bd5c80d13777 100644 ---- a/include/elf/xtensa.h -+++ b/include/elf/xtensa.h -@@ -87,6 +87,12 @@ START_RELOC_NUMBERS (elf_xtensa_reloc_type) - RELOC_NUMBER (R_XTENSA_TLS_FUNC, 54) - RELOC_NUMBER (R_XTENSA_TLS_ARG, 55) - RELOC_NUMBER (R_XTENSA_TLS_CALL, 56) -+ RELOC_NUMBER (R_XTENSA_PDIFF8, 57) -+ RELOC_NUMBER (R_XTENSA_PDIFF16, 58) -+ RELOC_NUMBER (R_XTENSA_PDIFF32, 59) -+ RELOC_NUMBER (R_XTENSA_NDIFF8, 60) -+ RELOC_NUMBER (R_XTENSA_NDIFF16, 61) -+ RELOC_NUMBER (R_XTENSA_NDIFF32, 62) - END_RELOC_NUMBERS (R_XTENSA_max) - - /* Processor-specific flags for the ELF header e_flags field. */ -diff --git a/ld/testsuite/ld-xtensa/relax-loc.d b/ld/testsuite/ld-xtensa/relax-loc.d -new file mode 100644 -index 000000000000..3c8d673732ff ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.d -@@ -0,0 +1,7 @@ -+#as: --text-section-literals -+#ld: -+#objdump: --dwarf=decodedline -+#... -+relax-loc.s[ ]+1[ ]+0x400054[ ]+.* -+relax-loc.s[ ]+2[ ]+0x40005c[ ]+.* -+#... -diff --git a/ld/testsuite/ld-xtensa/relax-loc.s b/ld/testsuite/ld-xtensa/relax-loc.s -new file mode 100644 -index 000000000000..d768470e287a ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.s -@@ -0,0 +1,15 @@ -+ .file 1 "relax-loc.s" -+ .globl _start -+ .globl _ResetVector -+ .text -+_ResetVector: -+_start: -+ .loc 1 1 -+ j 1f -+ .literal_position -+1: -+ .loc 1 2 -+ -+ .rep 10000 -+ movi a2, 0x12345678 -+ .endr -diff --git a/ld/testsuite/ld-xtensa/xtensa.exp b/ld/testsuite/ld-xtensa/xtensa.exp -index 9b2235b2151b..de39887936ad 100644 ---- a/ld/testsuite/ld-xtensa/xtensa.exp -+++ b/ld/testsuite/ld-xtensa/xtensa.exp -@@ -27,6 +27,7 @@ run_dump_test "call_overflow" - run_dump_test "coalesce" - run_dump_test "diff_overflow" - run_dump_test "lcall" -+run_dump_test "relax-loc" - - run_dump_test "relax-static-pie" - run_dump_test "relax-static-local-pie" --- -2.20.1 - diff --git a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch deleted file mode 100644 index 28f17d7c56..0000000000 --- a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch +++ /dev/null @@ -1,128 +0,0 @@ -From 735321812435ae278d3766a3371f55937dc776d6 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sat, 25 Apr 2020 00:40:25 -0700 -Subject: [PATCH] xtensa: fix XTENSA_NDIFF handling for PR ld/25861 - -Fields marked with XTENSA_NDIFF relocations are not negated, they only -have sign bits removed. Don't negate their values when relaxation is -performed. Don't add sign bits when the value is zero. Report overflow -when the result has negative sign but all significant bits are zero. - -2020-04-29 Max Filippov -bfd/ - * elf32-xtensa.c (relax_section): Don't negate diff_value for - XTENSA_NDIFF relocations. Don't add sign bits whe diff_value - equals 0. Report overflow when the result has negative sign but - all significant bits are zero. - -Signed-off-by: Max Filippov -Backported from: d548f47df4d2e3d117d504a4c9977982c78a0556 ---- - - bfd/elf32-xtensa.c | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index fded42d52a9a..4327b027911f 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -9670,37 +9670,44 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -+ diff_mask = 0x7f; - diff_value = - bfd_get_signed_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -+ diff_mask = 0x7fff; - diff_value = - bfd_get_signed_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -+ diff_mask = 0x7fffffff; - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; - diff_value = - bfd_get_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; - diff_value = - bfd_get_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; - diff_value = - bfd_get_32 (abfd, &contents[old_source_offset]); - break; - } - - if (r_type >= R_XTENSA_NDIFF8 -- && r_type <= R_XTENSA_NDIFF32) -- diff_value = -diff_value; -+ && r_type <= R_XTENSA_NDIFF32 -+ && diff_value) -+ diff_value |= ~diff_mask; - - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, -@@ -9710,43 +9717,40 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -- diff_mask = 0x7f; - bfd_put_signed_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -- diff_mask = 0x7fff; - bfd_put_signed_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -- diff_mask = 0x7fffffff; - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -- diff_mask = 0xff; - bfd_put_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -- diff_mask = 0xffff; - bfd_put_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -- diff_mask = 0xffffffff; - bfd_put_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - } - -- /* Check for overflow. Sign bits must be all zeroes or all ones */ -- if ((diff_value & ~diff_mask) != 0 && -- (diff_value & ~diff_mask) != (-1 & ~diff_mask)) -+ /* Check for overflow. Sign bits must be all zeroes or -+ all ones. When sign bits are all ones diff_value -+ may not be zero. */ -+ if (((diff_value & ~diff_mask) != 0 -+ && (diff_value & ~diff_mask) != ~diff_mask) -+ || (diff_value && (bfd_vma) diff_value == ~diff_mask)) - { - (*link_info->callbacks->reloc_dangerous) - (link_info, _("overflow after relaxation"), --- -2.20.1 - diff --git a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index a67d12789e..0000000000 --- a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 788cda9f9447e0fe67e582e8fb5adafd678d08b2 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..1f2c88b0b3a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index 5a2b91fe8e..0000000000 --- a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From b10e6230dea0015bf3b7748580b82c551f9a3a4a Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index e25da50aafb..530a41fca43 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5517,6 +5517,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 1f2c88b0b3a..a4a64f73b7c 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - #define TLS_UNKNOWN 0 -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1945,6 +1963,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 36284d71a9b..6e9e3190bb8 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2702,6 +2702,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index e6446a78098..b0003ab1175 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6164,6 +6164,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index 5082a30cee1..85163fc96c9 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -173,7 +173,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -276,6 +276,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index 0abef046202..7db3cad18eb 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 7d058d03f5f..332f4b7a9b5 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index adc6f5f8b9..0000000000 --- a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0f61f76454a9420f158f626cb09a4fbc08c3709e Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence - of R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index a4a64f73b7c..07fff3602a3 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index dc0431e0af..0000000000 --- a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From 36c7de7ef77ab0c30cb33e2c7ea7a6f4e3052c73 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 07fff3602a3..fcebbe5f23a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry - /* Track dynamic relocs copied for this symbol. */ - struct elf_dyn_relocs *dyn_relocs; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2176,33 +2193,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2269,7 +2299,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2280,27 +2311,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2343,7 +2374,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2355,6 +2387,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2372,10 +2405,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2387,27 +2423,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. */ - bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *s = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (s->size == 0) -- s->size = PLT_ENTRY_SIZE; -+ s->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = s->size; - -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- s->size += PLT_ENTRY_SIZE; -+ s->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 24cdbe5fbf3..9cebc49b946 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch deleted file mode 100644 index c3978e22fa..0000000000 --- a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Wed, 9 Jun 2021 17:28:27 +0200 -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 - -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use -an old compiler(i.e. gcc 4.9) build fails on: -``` -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in -C99 or C11 mode - for (size_t i = 0; i < insn_count; i++) - ^ -``` - -So let's declare `size_t i` at the top of the function instead of inside -for loop. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..32063ab0289 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; - unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ size_t i; - - /* Copy instructions into the output buffer. */ -- for (size_t i = 0; i < insn_count; i++) -+ for (i = 0; i < insn_count; i++) - output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - } - - /* Write out the output buffer. */ -- for (size_t i = 0; i < (insn_count+1); i++) -+ for (i = 0; i < (insn_count+1); i++) - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - --- -2.25.1 - diff --git a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch deleted file mode 100644 index 585b97b2af..0000000000 --- a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Sat, 10 Jul 2021 17:57:34 +0200 -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC - relative 26 bit relocation - -When building openal we were seeing the assert failure: - -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePausev -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceStopv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceRewindv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePlayv -collect2: error: ld returned 1 exit status - -This happens because in R_OR1K_INSN_REL_26 case we can't reference local -symbol as previously done but we need to make sure that calls to actual -symbol always call the version of current object. - -bfd/Changelog: - - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry - in switch case R_OR1K_INSN_REL_26 where we need to check for - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..4f9092539f5 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, - break; - - case R_OR1K_INSN_REL_26: -+ /* For a non-shared link, these will reference plt or call the -+ version of actual object. */ -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) -+ { -+ _bfd_error_handler -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), -+ input_bfd, name); -+ ret_val = FALSE; -+ bfd_set_error (bfd_error_bad_value); -+ } -+ break; -+ - case R_OR1K_PCREL_PG21: - case R_OR1K_LO13: - case R_OR1K_SLO13: --- -2.25.1 - diff --git a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch deleted file mode 100644 index 7e92e2bfd8..0000000000 --- a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 Jan 2022 09:03:28 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special - howto - -Previously when fixing PR 21464 we masked out upper bits of the -relocation value in order to avoid overflow complaints when acceptable. -It turns out this does not work when the relocation value ends up being -signed. - -To fix this this patch introduces a special howto with -complain_on_overflow set to complain_overflow_dont. This is used in -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 -relocations. - -bfd/ChangeLog: - - PR 28735 - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. - (or1k_elf_relocate_section): Use new howto instead of trying to - mask out relocation bits. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index cfa292f0032..ecb70753b6a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = - FALSE), /* pcrel_offset */ - }; - -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 -+ relocations when we know we can ignore overflows. */ -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = -+ HOWTO (R_OR1K_GOT16, /* type */ -+ 0, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_dont, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE); /* pcrel_offset */ -+ - /* Map BFD reloc types to Or1k ELF reloc types. */ - - struct or1k_reloc_map -@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, - if (r_type == R_OR1K_GOT_AHI16) - saw_gotha = TRUE; - -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 - relocation we assume the code is doing the right thing to avoid -- overflows. Here we mask the lower 16-bit of the relocation to -- avoid overflow validation failures. */ -+ overflows. */ - if (r_type == R_OR1K_GOT16 && saw_gotha) -- relocation &= 0xffff; -+ howto = &or1k_elf_got16_no_overflow_howto; - - /* Addend should be zero. */ - if (rel->r_addend != 0) --- -2.25.1 - diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 4382b32237..ef1b2a94db 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -12,10 +12,6 @@ choice help Select the version of binutils you wish to use. -config BR2_BINUTILS_VERSION_2_32_X - bool "binutils 2.32" - depends on !BR2_csky - config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky @@ -35,7 +31,6 @@ endchoice config BR2_BINUTILS_VERSION string default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC - default "2.32" if BR2_BINUTILS_VERSION_2_32_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X default "2.38" if BR2_BINUTILS_VERSION_2_38_X diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index 4141e0c5f2..e98cb85275 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -1,5 +1,4 @@ # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum -sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 21:53:57 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:53:57 +0200 Subject: [Buildroot] [git commit] package/htpdate: bump to version 1.3.4 Message-ID: <20220426214347.EA0E9844FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b3f42bf1005e3395f03ac4db0a0583306c9467b0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Removing also the upstreamed patch. Signed-off-by: Angelo Compagnucci Signed-off-by: Thomas Petazzoni --- ...SL_LIBS-to-be-configured-from-environment.patch | 37 ---------------------- package/htpdate/htpdate.hash | 2 +- package/htpdate/htpdate.mk | 2 +- 3 files changed, 2 insertions(+), 39 deletions(-) diff --git a/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch b/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch deleted file mode 100644 index 6dca2babab..0000000000 --- a/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 4ba90fedd553c3b06c925fb6ff5245a5dcabace9 Mon Sep 17 00:00:00 2001 -From: Eddy Vervest -Date: Sat, 29 Jan 2022 10:58:13 +0100 -Subject: [PATCH] Allow SSL_LIBS to be configured from environment - -[Retrieved from: -https://github.com/twekkel/htpdate/commit/4ba90fedd553c3b06c925fb6ff5245a5dcabace9] -Signed-off-by: Fabrice Fontaine ---- - Makefile | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/Makefile b/Makefile -index 4796efa..cf077e6 100644 ---- a/Makefile -+++ b/Makefile -@@ -2,8 +2,9 @@ prefix = $(DESTDIR)/usr - bindir = ${prefix}/sbin - mandir = ${prefix}/share/man - --CC ?= gcc --CFLAGS += -Wall -std=c11 -pedantic -O2 -+CC ?= gcc -+CFLAGS += -Wall -std=c11 -pedantic -O2 -+SSL_LIBS ?= -lssl - - INSTALL ?= install -c - STRIP ?= strip -s -@@ -14,7 +15,7 @@ htpdate: htpdate.c - $(CC) $(CFLAGS) -o htpdate htpdate.c - - https: htpdate.c -- $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c -lssl -+ $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c $(SSL_LIBS) - - install: all - $(STRIP) htpdate diff --git a/package/htpdate/htpdate.hash b/package/htpdate/htpdate.hash index b56522ea99..11e743c569 100644 --- a/package/htpdate/htpdate.hash +++ b/package/htpdate/htpdate.hash @@ -1,3 +1,3 @@ # Locally calculated: -sha256 74f34b013eba6f99369819fa4b3d48e9ab5e531ad04f6af59cc04e8777c76ed7 htpdate-1.3.3.tar.gz +sha256 744f9200cfd3b008a5516c5eb6da727af532255a329126a7b8f49a5623985642 htpdate-1.3.4.tar.gz sha256 7989949df09a0489434723c571541604cd3f2e0418c6a6aa9179bfaf8ec807cc LICENSE diff --git a/package/htpdate/htpdate.mk b/package/htpdate/htpdate.mk index e32480fc85..35ae25929c 100644 --- a/package/htpdate/htpdate.mk +++ b/package/htpdate/htpdate.mk @@ -4,7 +4,7 @@ # ################################################################################ -HTPDATE_VERSION = 1.3.3 +HTPDATE_VERSION = 1.3.4 HTPDATE_SITE = $(call github,twekkel,htpdate,v$(HTPDATE_VERSION)) HTPDATE_LICENSE = GPL-2.0+ HTPDATE_LICENSE_FILES = LICENSE From thomas.petazzoni at bootlin.com Tue Apr 26 21:54:16 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:54:16 +0200 Subject: [Buildroot] [PATCH] package/htpdate: bump to version 1.3.4 In-Reply-To: <20220426210128.127336-1-angelo@amarulasolutions.com> References: <20220426210128.127336-1-angelo@amarulasolutions.com> Message-ID: <20220426235416.3906ebfb@windsurf> On Tue, 26 Apr 2022 23:01:28 +0200 Angelo Compagnucci wrote: > Removing also the upstreamed patch. > > Signed-off-by: Angelo Compagnucci > --- > ...BS-to-be-configured-from-environment.patch | 37 ------------------- > package/htpdate/htpdate.hash | 2 +- > package/htpdate/htpdate.mk | 2 +- > 3 files changed, 2 insertions(+), 39 deletions(-) > delete mode 100644 package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Tue Apr 26 21:57:40 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:57:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptodev-linux: needs CONFIG_CRYPTO_USER_API_AEAD In-Reply-To: <20220426212026.712081-1-fontaine.fabrice@gmail.com> References: <20220426212026.712081-1-fontaine.fabrice@gmail.com> Message-ID: <20220426235740.1b2543d1@windsurf> On Tue, 26 Apr 2022 23:20:26 +0200 Fabrice Fontaine wrote: > CONFIG_CRYPTO_USER_API_AEAD is needed to fix the following build > failure: > > ERROR: modpost: "crypto_alloc_skcipher" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "scatterwalk_map_and_copy" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_ahash_final" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_aead_encrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_aead_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_skcipher_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_destroy_tfm" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_skcipher_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_aead_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_aead_setauthsize" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! Are you sure of the relationship between these functions and CONFIG_CRYPTO_USER_API_AEAD ? crypto_aead_encrypt() is implemented in crypto/aead.c, which is built when CONFIG_CRYPTO_AEAD2=y. crypto_skcipher_setkey() is implemented in crypto/skcipher.c, which is built when CONFIG_CRYPTO_SKCIPHER2=y. CRYPTO_USER_API_AEAD enables a user-space interface, but here we're talking about a kernel-level interface. Could you clarify? Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Tue Apr 26 21:57:54 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 23:57:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsrtp: fix build with libressl >= 3.5.0 Message-ID: <20220426215755.782961-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: crypto/hash/hmac_ossl.c: In function 'srtp_hmac_alloc': crypto/hash/hmac_ossl.c:88:55: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} 88 | pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c346780ed664c9fe8c7112e4c256cfe8080a7af5 Signed-off-by: Fabrice Fontaine --- ...legacy-OpenSSL-to-fix-LibreSSL-build.patch | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch diff --git a/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch new file mode 100644 index 0000000000..68bfb085f7 --- /dev/null +++ b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch @@ -0,0 +1,86 @@ +From 16483b18a9980575bee23898b2dbfbe2a4675d84 Mon Sep 17 00:00:00 2001 +From: Klemens Nanni +Date: Sat, 15 Jan 2022 23:19:35 +0300 +Subject: [PATCH] Remove compatibility code for legacy OpenSSL to fix LibreSSL + build + +In current LibreSSL, `HMAC_CTX` aka. `struct hmac_ctx_st` is an opaque +structure as of LibreSSL hmac.h revision 1.15 (14.01.2022) [0], thus +`sizeof(HMAC_CTX)` fails to compile. + +The non-legacy code path should compile with LibreSSL versions as old +as 2.7.0 (21.03.2018). + +Found while building https://github.com/desktop-app/tg_owt which bundles +libsrtp 2.2.0 [1] on OpenBSD 7.0 -CURRENT/with latest LibreSSL. + +Suggestion to remove the legacy code from Theo Buehler, thanks. + +0: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libcrypto/hmac/hmac.h?rev=1.15&content-type=text/x-cvsweb-markup +1: https://github.com/desktop-app/tg_owt/blob/6708e0d31a73e64fe12f54829bf4060c41b2658e/src/third_party/libsrtp/crypto/hash/hmac_ossl.c#L85 + +[Retrieved from: +https://github.com/cisco/libsrtp/commit/16483b18a9980575bee23898b2dbfbe2a4675d84] +Signed-off-by: Fabrice Fontaine +--- + crypto/hash/hmac_ossl.c | 29 ----------------------------- + 1 file changed, 29 deletions(-) + +diff --git a/crypto/hash/hmac_ossl.c b/crypto/hash/hmac_ossl.c +index ee6b0b58..c23c7f21 100644 +--- a/crypto/hash/hmac_ossl.c ++++ b/crypto/hash/hmac_ossl.c +@@ -78,26 +78,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, + return srtp_err_status_bad_param; + } + +-/* OpenSSL 1.1.0 made HMAC_CTX an opaque structure, which must be allocated +- using HMAC_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER +- { +- /* allocate memory for auth and HMAC_CTX structures */ +- uint8_t *pointer; +- HMAC_CTX *new_hmac_ctx; +- pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + +- sizeof(srtp_auth_t)); +- if (pointer == NULL) { +- return srtp_err_status_alloc_fail; +- } +- *a = (srtp_auth_t *)pointer; +- (*a)->state = pointer + sizeof(srtp_auth_t); +- new_hmac_ctx = (HMAC_CTX *)((*a)->state); +- +- HMAC_CTX_init(new_hmac_ctx); +- } +- +-#else + *a = (srtp_auth_t *)srtp_crypto_alloc(sizeof(srtp_auth_t)); + if (*a == NULL) { + return srtp_err_status_alloc_fail; +@@ -109,7 +89,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, + *a = NULL; + return srtp_err_status_alloc_fail; + } +-#endif + + /* set pointers */ + (*a)->type = &srtp_hmac; +@@ -126,18 +105,10 @@ static srtp_err_status_t srtp_hmac_dealloc(srtp_auth_t *a) + + hmac_ctx = (HMAC_CTX *)a->state; + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER +- HMAC_CTX_cleanup(hmac_ctx); +- +- /* zeroize entire state*/ +- octet_string_set_to_zero(a, sizeof(HMAC_CTX) + sizeof(srtp_auth_t)); +- +-#else + HMAC_CTX_free(hmac_ctx); + + /* zeroize entire state*/ + octet_string_set_to_zero(a, sizeof(srtp_auth_t)); +-#endif + + /* free memory */ + srtp_crypto_free(a); -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 22:01:59 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 27 Apr 2022 00:01:59 +0200 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils In-Reply-To: <87bkwn21vp.fsf@tarshish> References: <20220426132833.1579873-1-salvador.joseluis@gmail.com> <87bkwn21vp.fsf@tarshish> Message-ID: <20220427000159.58749c28@windsurf> Hello, On Tue, 26 Apr 2022 20:16:12 +0300 Baruch Siach via buildroot wrote: > Hi Jos?, > > On Tue, Apr 26 2022, Jos? Luis Salvador Rufo wrote: > > Patch title: docs/manual/prerequisite.txt: add diffutils > > No need for this line in the commit log body. The email subject line > appears as head line of the git commit once applied. Yep. > > The command `cmp` is used by `package/pkg-generic.mk` at commit > > 8623cc5deb5. This command is provided by `diffutils`. > > Actually, we have host-diffutils, so we can build cmp if the host does > not have it installed. All we need is support added under > support/dependencies/ like a few other utilities. Yes, but we're not going to build host-diffutils if cmp is missing. It's not done in our current implementation, and I don't think we want to do that. So it seems like diffutils is indeed a hard requirement. > We also don't list findutils as prerequisite, even though we rely > heavily on the 'find' utility. So perhaps we should list findutils as well in our hard requirements? Jos? Luis: practically speaking, with which distribution have you been able to get a system without diffutils/findutils installed by default? Thanks, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From f.fainelli at gmail.com Tue Apr 26 22:32:44 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Tue, 26 Apr 2022 15:32:44 -0700 Subject: [Buildroot] [PATCH v2 1/2] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option In-Reply-To: <20220426204233.77ed8bc5@windsurf> References: <20220426173211.64840-1-f.fainelli@gmail.com> <20220426173211.64840-2-f.fainelli@gmail.com> <20220426204233.77ed8bc5@windsurf> Message-ID: <6422cb5a-913c-88e4-16b2-aa27bb5a3ddc@gmail.com> Hi Thomas, On 4/26/22 11:42, Thomas Petazzoni wrote: > Hello Florian, > > Thanks for the patch! I hope you're doing well :-) Doing alright thanks for asking. > > On Tue, 26 Apr 2022 10:32:10 -0700 > Florian Fainelli wrote: > >> In order to add gcc 12 support for internal and external toolchain >> in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_12 symbol. >> >> Signed-off-by: Florian Fainelli >> --- >> toolchain/Config.in | 11 +++++++++-- >> 1 file changed, 9 insertions(+), 2 deletions(-) >> >> diff --git a/toolchain/Config.in b/toolchain/Config.in >> index d2c81217c84a..b572a89f2f85 100644 >> --- a/toolchain/Config.in >> +++ b/toolchain/Config.in >> @@ -117,7 +117,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 >> depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ >> BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ >> BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ >> - BR2_TOOLCHAIN_GCC_AT_LEAST_11 >> + BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ >> + BR2_TOOLCHAIN_GCC_AT_LEAST_12 >> >> # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no >> # longer exists in gcc 8.x. >> @@ -150,7 +151,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 >> config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 >> bool >> default y if BR2_sh >> - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 >> + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ >> + BR2_TOOLCHAIN_GCC_AT_LEAST_12 > > Did you verify that these two bugs still affected gcc 12.x ? The bug tracker entry for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744 does not seem to show a resolution for this bug so I am assuming that it is still active since it was not fixed in GCC 11. Similarly it seemed like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143 was still not quite fixed. Do you read the comments differently? -- Florian From james.hilliard1 at gmail.com Tue Apr 26 22:35:17 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 16:35:17 -0600 Subject: [Buildroot] [PATCH 1/1] package/wayland: don't rely on implicit GNU extensions Message-ID: <20220426223517.997019-1-james.hilliard1@gmail.com> Backport a patch so that we don't rely on implicit GNU extensions. Fixes: - http://autobuild.buildroot.net/results/c22/c227166c2825ae4e884936fbe627f3997e0e19b7 Signed-off-by: James Hilliard --- ...on-t-rely-on-implicit-GNU-extensions.patch | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch diff --git a/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch new file mode 100644 index 0000000000..fcafa98f46 --- /dev/null +++ b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch @@ -0,0 +1,108 @@ +From 0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9 Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Mon, 10 Jan 2022 14:51:55 +0100 +Subject: [PATCH] build: don't rely on implicit GNU extensions + +Currently libwayland assumes GNU extensions will be available, but +doesn't define the C standard to use. Instead, let's unconditionally +enable POSIX extensions, and enable GNU extensions on a case-by-case +basis as needed. + +Signed-off-by: Simon Ser +Signed-off-by: James Hilliard +[james.hilliard1 at gmail.com: backport from upstream commit +0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9] +--- + cursor/xcursor.c | 1 + + meson.build | 10 ++++++++-- + tests/display-test.c | 1 + + tests/event-loop-test.c | 1 + + tests/fixed-test.c | 1 + + 5 files changed, 12 insertions(+), 2 deletions(-) + +diff --git a/cursor/xcursor.c b/cursor/xcursor.c +index 0506680..188be7c 100644 +--- a/cursor/xcursor.c ++++ b/cursor/xcursor.c +@@ -23,6 +23,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include "xcursor.h" + #include + #include +diff --git a/meson.build b/meson.build +index 07bbd29..cab267e 100644 +--- a/meson.build ++++ b/meson.build +@@ -14,6 +14,12 @@ config_h = configuration_data() + config_h.set_quoted('PACKAGE', meson.project_name()) + config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) + ++cc_args = [] ++if host_machine.system() != 'freebsd' ++ cc_args += ['-D_POSIX_C_SOURCE=200809L'] ++endif ++add_project_arguments(cc_args, language: 'c') ++ + compiler_flags = [ + '-Wno-unused-parameter', + '-Wstrict-prototypes', +@@ -79,7 +85,7 @@ if get_option('libraries') + ] + + foreach d: decls +- if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep) ++ if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep, args: cc_args) + error('@0@ is needed to compile Wayland libraries'.format(d['symbol'])) + endif + endforeach +@@ -87,7 +93,7 @@ if get_option('libraries') + rt_dep = [] + if not cc.has_function('clock_gettime', prefix: '#include ') + rt_dep = cc.find_library('rt') +- if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep) ++ if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep, args: cc_args) + error('clock_gettime not found') + endif + endif +diff --git a/tests/display-test.c b/tests/display-test.c +index 763adc9..a6f410d 100644 +--- a/tests/display-test.c ++++ b/tests/display-test.c +@@ -24,6 +24,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c +index 9d43c91..a51ba8f 100644 +--- a/tests/event-loop-test.c ++++ b/tests/event-loop-test.c +@@ -24,6 +24,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +diff --git a/tests/fixed-test.c b/tests/fixed-test.c +index 47a4dae..0b58797 100644 +--- a/tests/fixed-test.c ++++ b/tests/fixed-test.c +@@ -23,6 +23,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +-- +2.25.1 + -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 26 22:42:20 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 16:42:20 -0600 Subject: [Buildroot] [PATCH 1/1] package/valgrind: bump to version 3.19.0 Message-ID: <20220426224220.1940185-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/valgrind/valgrind.hash | 4 ++-- package/valgrind/valgrind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/valgrind/valgrind.hash b/package/valgrind/valgrind.hash index 748fc3eb82..8487c07e42 100644 --- a/package/valgrind/valgrind.hash +++ b/package/valgrind/valgrind.hash @@ -1,7 +1,7 @@ # From https://valgrind.org/downloads/current.html -md5 de56a5532b0c81781db677ca712c585a valgrind-3.18.1.tar.bz2 +md5 4687a4990585a038c52f842448ef4e63 valgrind-3.19.0.tar.bz2 # locally computed -sha256 00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5 valgrind-3.18.1.tar.bz2 +sha256 dd5e34486f1a483ff7be7300cc16b4d6b24690987877c3278d797534d6738f02 valgrind-3.19.0.tar.bz2 # License files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index a3eabec9fe..b4c4b8b5a2 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -4,7 +4,7 @@ # ################################################################################ -VALGRIND_VERSION = 3.18.1 +VALGRIND_VERSION = 3.19.0 VALGRIND_SITE = https://sourceware.org/pub/valgrind VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 -- 2.25.1 From christian at paral.in Wed Apr 27 00:55:43 2022 From: christian at paral.in (Christian Stewart) Date: Tue, 26 Apr 2022 17:55:43 -0700 Subject: [Buildroot] [PATCH v2 1/1] package/go: add support for riscv64 architecture In-Reply-To: <55c0f7da-0907-b920-5a9b-33a82dcdb32b@mind.be> References: <20220414204922.866533-1-christian@paral.in> <55c0f7da-0907-b920-5a9b-33a82dcdb32b@mind.be> Message-ID: Arnout, On Thu, Apr 21, 2022 at 12:54 PM Arnout Vandecappelle wrote: > On 14/04/2022 22:49, Christian Stewart via buildroot wrote: > > +GOARCH is set when calling mkbuildcfg, so go1.4 is trying to compile riscv64. > > You SoB is missing. Go's repository disallows signed-off-by lines. > Also, the reference to the upstream PR is missing. And you should probably > refer to gerrit instead. Same issue: I've format-patch the exact patch sent upstream, without changes. Do I modify it specifically for this patch in Buildroot? > > diff --git a/package/go/Config.in.host b/package/go/Config.in.host > > index e82ab6e81a..8be86103ea 100644 > > --- a/package/go/Config.in.host > > +++ b/package/go/Config.in.host > > @@ -5,7 +5,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > > depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS > > depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ > > || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ > > - || BR2_mips64 || BR2_mips64el || BR2_s390x > > + || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x > > Here you enable it both for riscv32 and riscv64, but below you always set > GOARCH to riscv64. I'm not sure if it was in this patch revision, but I have in my local version: # Go doesn't support Risc-v 32-bit. depends on !BR2_RISCV_32 > Also, are you sure it doesn't need any of the ISA extensions? I can imagine > that Go would be using atomics, floating point and integer > multiplication/division. Of course, there's almost no chance of finding a > riscv64 without these extensions, but better be correct, right? Probably yes. > Also, does Go support all three ABI types (integer, single precision and > double precision)? Again, we only ever test lp64d in the autobuilders, but > better be correct, right? There's only one riscv64 target for Go so I have to assume it means lp64d. Note: I have now tested this extensively on a Nezha Risc-v CPU as well as a Qemu VM. https://github.com/skiffos/buildroot/blob/e1fc20cf9/package/go/Config.in.host#L12 Best, Christian Stewart From james.hilliard1 at gmail.com Wed Apr 27 03:50:39 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 21:50:39 -0600 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support Message-ID: <20220427035039.1664864-1-james.hilliard1@gmail.com> Libressl is no longer supported as of python 3.10. See: https://peps.python.org/pep-0644/#libressl Fixes: - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 Signed-off-by: James Hilliard --- package/python3/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python3/Config.in b/package/python3/Config.in index 61470c2944..761c38c850 100644 --- a/package/python3/Config.in +++ b/package/python3/Config.in @@ -89,7 +89,8 @@ config BR2_PACKAGE_PYTHON3_READLINE config BR2_PACKAGE_PYTHON3_SSL bool "ssl" select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 help _ssl module for Python3 (required for https in urllib etc). -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 27 03:55:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 21:55:56 -0600 Subject: [Buildroot] [PATCH 1/1] package/python3: fix unsafe openssl header path Message-ID: <20220427035556.1814178-1-james.hilliard1@gmail.com> Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers. Fixes: - http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3 Signed-off-by: James Hilliard --- package/python3/python3.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 3a334fb28d..7f3b7cc8a5 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -103,6 +103,7 @@ endif ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y) PYTHON3_DEPENDENCIES += openssl +PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr else PYTHON3_CONF_OPTS += --disable-openssl endif -- 2.25.1 From baruch at tkos.co.il Wed Apr 27 04:34:16 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Wed, 27 Apr 2022 07:34:16 +0300 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils In-Reply-To: <20220427000159.58749c28@windsurf> References: <20220426132833.1579873-1-salvador.joseluis@gmail.com> <87bkwn21vp.fsf@tarshish> <20220427000159.58749c28@windsurf> Message-ID: <877d7b16mr.fsf@tarshish> Hi Thomas, On Wed, Apr 27 2022, Thomas Petazzoni wrote: > On Tue, 26 Apr 2022 20:16:12 +0300 > Baruch Siach via buildroot wrote: >> On Tue, Apr 26 2022, Jos? Luis Salvador Rufo wrote: >> > The command `cmp` is used by `package/pkg-generic.mk` at commit >> > 8623cc5deb5. This command is provided by `diffutils`. >> >> Actually, we have host-diffutils, so we can build cmp if the host does >> not have it installed. All we need is support added under >> support/dependencies/ like a few other utilities. > > Yes, but we're not going to build host-diffutils if cmp is missing. > It's not done in our current implementation, and I don't think we want > to do that. So it seems like diffutils is indeed a hard requirement. Should we remove host-diffutils? That means reverting commit 819637e0e9774, and part of 9521492bd0706 ("package/opkg-utils: add missing dependencies for host build"). Ryan, have you encountered an issue with missing diffutils on your build host when using opkg-utils? baruch >> We also don't list findutils as prerequisite, even though we rely >> heavily on the 'find' utility. > > So perhaps we should list findutils as well in our hard requirements? > > Jos? Luis: practically speaking, with which distribution have you been > able to get a system without diffutils/findutils installed by default? > > Thanks, > > Thomas -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From thomas.petazzoni at bootlin.com Wed Apr 27 04:40:55 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 27 Apr 2022 04:40:55 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-26 Message-ID: <20220427044100.5EBFF60E53@smtp3.osuosl.org> Hello, Autobuild statistics for 2022-04-26 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 20 | 11 | 0 | 31 | master | 230 | 371 | 0 | 601 | Classification of failures by reason for master ----------------------------------------------- unknown | 64 host-gcc-final-10.3.0 | 22 zchunk-1.2.2 | 14 libopenssl-1.1.1n | 13 uclibc-1.0.40 | 12 libevent-2.1.12 | 11 zlib-ng-2.0.6 | 11 git-2.31.2 | 10 host-wayland-1.20.0 | 8 libressl-3.5.2 | 6 linux-5.15.33 | 6 cryptsetup-2.4.3 | 5 host-gcc-final-9.4.0 | 5 toolchain-external-bootlin | 5 glibc-2.34-109-gd64b08d5ba7... | 4 host-libcap-2.63 | 4 linux-headers-5.15.33 | 4 perl-5.34.1 | 4 python3-3.10.2 | 4 shim-15.4 | 4 acpid-2.0.33 | 3 bat-0.19.0 | 3 gstd-0.14.0 | 3 libgcrypt-1.10.0 | 3 libssh2-1.10.0 | 3 libv4l-1.22.1 | 3 pipewire-0.3.50 | 3 qpid-proton-0.35.0 | 3 refpolicy | 3 ulog-0389d243352255f6182326... | 3 xenomai | 3 apparmor-3.0.4 | 2 aufs-util | 2 dash-0.5.11.5 | 2 elfutils-0.186 | 2 fontconfig-2.13.1 | 2 frr-8.2.2 | 2 fs/ext2/ext2.mk:65: /home/a... | 2 fs/f2fs/f2fs.mk:64: /home/a... | 2 gobject-introspection-1.70.0 | 2 gummiboot-2bcd919c681c952eb... | 2 host-gcc-final-11.2.0 | 2 host-gdb-arc-2020.09-releas... | 2 host-go-1.18.1 | 2 json-c-0.15 | 2 ktap-23bc7a4a94bd9e4e1b8b7c... | 2 libcap-ng-0.8.3 | 2 libeXosip2-5.3.0 | 2 libnss-3.77 | 2 libsrtp-2.4.2 | 2 libtorrent-rasterbar-1.2.15 | 2 libwebsockets-4.3.1 | 2 linux-headers-5.10.104-cip3 | 2 linux-tools | 2 ltp-testsuite-20220121 | 2 nodejs-14.18.3 | 2 quickjs-2021-03-27 | 2 tinifier-3.4.0 | 2 uacme-1.7.1 | 2 acpitool-0.5.1 | 1 brltty-6.4 | 1 brotli-1.0.9 | 1 cryptodev-linux-1.12 | 1 dhcp-4.4.3 | 1 dmalloc-5.6.5 | 1 docker-cli-20.10.14 | 1 edk2-edk2-stable202102 | 1 fbv-1.0b | 1 flannel-0.14.0 | 1 freeipmi-1.6.9 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubi/ubi.mk:51: /home/aut... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 host-gcc-initial-9.4.0 | 1 host-google-breakpad-c85eb4... | 1 host-nodejs-14.18.3 | 1 host-pahole-v1.23 | 1 libmad-0.15.1b | 1 libuhttpd-3.14.1 | 1 libvorbis-1.3.7 | 1 linknx-0.0.1.38 | 1 linux-5.10.104-cip3 | 1 linux-fusion-9.0.3 | 1 linux-headers-5.10.104-cip3... | 1 lttng-tools-2.13.2 | 1 mesa3d-21.3.8 | 1 musl-1.2.2 | 1 netsniff-ng-0.6.8 | 1 ntp-4.2.8p15 | 1 numactl-2.0.14 | 1 openobex-1.7.2 | 1 opensbi | 1 package/pcre2/pcre2.mk:33: ... | 1 pcre2-legal-info | 1 python-greenlet-1.1.2 | 1 rtl8188eu-903b6fcb821465fe9... | 1 rtl8723bu-19b4bdc05483a1e79... | 1 rtl8812au-aircrack-ng-3a640... | 1 rtl8821au-4235b0ec7d7220a63... | 1 ruby-3.1.0 | 1 sg3_utils-1.47 | 1 shadowsocks-libev-3.3.5 | 1 skalibs-2.10.0.3 | 1 ti-sgx-km-cf7f48cb30abfd5df... | 1 valgrind-3.18.1 | 1 wavemon-0.9.4 | 1 wolfssl-5.2.0 | 1 wtfutil-0.41.0 | 1 x264-35417dcd65a57321fbadf9... | 1 xenomai-3.0.10 | 1 xenomai-custom | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/c7a4f03b74036d4404eb42868cb0cedde81dc4b9 | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/61adb75ed2b05058c67ec933ecbea32a4e9d9693 | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/cd624b866f48f4d5b7d5a1c85a923fd065eaf57c | ORPH mips64el | acpitool-0.5.1 | NOK | http://autobuild.buildroot.net/results/9561667aa77a9f3eb55ff0ef6b5ff33354b57e7e | x86_64 | apparmor-3.0.4 | NOK | http://autobuild.buildroot.net/results/4b38a4fc42e3160d630b4dbe17b6ec70509debbc | arceb | apparmor-3.0.4 | NOK | http://autobuild.buildroot.net/results/b4676fbffa009f25fcf5789722a4cc3bcc5602f6 | aarch64_be | aufs-util | NOK | http://autobuild.buildroot.net/results/e3a4d9ed56799b01999296a6acc3a6381a8fd8c7 | microblaze | aufs-util | NOK | http://autobuild.buildroot.net/results/892c192a602c2b5ebe4ddba66cfe33314e6db243 | i686 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/6f2c8fdab7c62313ad5b5fd564db23fcfca5389f | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/15a669661649aa3d7b7d9e2b367fec3a19322d8b | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/8759860983cf633365f7a124d76d0f512d449bfb | microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/7e881d0bc26fce9de91a46bb71b77c16eb91b29c | m68k | brotli-1.0.9 | NOK | http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db | arceb | cryptodev-linux-1.12 | NOK | http://autobuild.buildroot.net/results/237b490de64161a2e9cc873e32b99cf71122d389 | ORPH powerpc | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/631c83ac2471d9dda1778cd136aed5d593f9584f | armeb | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/42c4fd528a54622f28a3673eb38e0b7e9218b563 | m68k | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/42985a30dc9c6ae002b9aebc7123d99baef83c08 | sh4 | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/a30d009c5b67808cabd9cb95f2e2721b8c5adb1f | mips64el | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/2a6a7cf8f9f096d62d0a07bc2eb9bd3cc5530267 | s390x | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/b57c0f3e9c80aee1b480b5e90edc7a7a2a8fc10a | ORPH aarch64_be | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/650c5c8dab94faab5750d99f76977769779a2d3d | ORPH sparc | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/6b722d6ead28aef23139a1492e09e8a69f18d753 | ORPH i686 | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/ae93e7a84898b90ce9f91a923e211dfba8b7ab97 | ORPH s390x | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/d7dffda77581742299fc5c02b031029bcce5f845 | i686 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/09ccdfb6d4d78470fdcfac13816712307473e786 | microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/dfaf988b40cc95b1e2a4e1a5f72accc96fe33c90 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/ba2ef25411dff49c1451a6be4c0ecc5d163f2138 | ORPH s390x | fbv-1.0b | NOK | http://autobuild.buildroot.net/results/0ff9a22d85b73a6534aabf5d03be8baefcf87d48 | ORPH powerpc64le | flannel-0.14.0 | NOK | http://autobuild.buildroot.net/results/956bf6c609d5371ee91e0db4fe0e1d5f8eeeebc8 | riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/59390fce0e022f48282656edfdbade0292e3b3ed | ORPH riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/167e7ca3ad25e1d139576a1e5d696c93133c9960 | ORPH arm | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/26090162396b1b8cedfc58e1790ced528fcc35c6 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/2e464ee87558a046a2c892a06141cab4789e2fc2 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/a0869ba045fc49ecc7e687e0502b190db9dcd93c | mips | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/e8f2b1a3adc244ff63cffe523975a3a91947a0bc | mips | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/702a5f9aec7d554516b9c0bbe2e244bfda25162a | mips64el | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/26b47975955e8cf792ad2d06756588e8c1224033 | sh4 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/23005397734a9948a806132fda5e8b35c8ec69dc | sparc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/d680d008928ac982b2932d3c76302ff9e6b26f3b | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/01f59e2cce3e1f029ccc1416b412475c194b72be | mipsel | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/34b05ca28129b3250d6bf468c9fe3c27aa6f0c47 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/70844c9e77680638131ca8e6564a241f43795173 | mipsel | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/26c1e541efdcda892802d82d48eb46e2cbcb5f4d | mips64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/b7f9e35e29407a7acb99d6b077d79cf3fc2e16e6 | sparc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/cf5253f9408c4294a09fdb70bcca3628f60b4fea | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/e20537c36a74319b9a2d62725bc16db312af8b04 | powerpc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2a89642f4273b93d0494c6ac574fa93fc4e34d10 | mips64 | fs/ubi/ubi.mk:51: /home/aut... | NOK | http://autobuild.buildroot.net/results/97ddb884fff339ce1fc247a2337930bc50621511 | arc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/cd4de3dbc84221df272f4bbdcbd279782e5f7290 | sh4 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/de88869908f745f383a79fd36bd6f2328fc8fab6 | sh4eb | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/a6e45ff3d1f46213517f51303230cb8f05368d80 | sh4a | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/85607f95637cb8829e71cfe6e5289a3e055865d9 | powerpc64le | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/ad3808dfe1d99dfdda90a8695a3074c234fc638d | i686 | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/736cc3a3a4a7e544308e38a3fd93dbce4d365916 | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/af3021af42ffc4612a705ecca573879cbb046225 | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/4d0b5f23874bd55b76b7a904d199c05c4029a491 | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/622d3358ae2d7cc17f56d9b39d39bb0e5fcfc02c | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/210882507bfa1e414f3bda67d14ca1eceae22bc5 | arm | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a421f1afd92bb13560f95b84d34b33792e58840f | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d5c5f68d9ff0e0ab844d79e9086fe166f7c3d5bd | i586 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e5b69260b67ab7c8e6acb3454b5955f502112df4 | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e1eaf3678bc0a34a03f0351f6d5496a092bb374a | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/58dd7b4d56e6a4b7146d0d9c0c7c5aafba116df6 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/2bd0a02941e161d340215a9903d1c452f14348bd | sh4a | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/758c66961d10daee05c1d5ec88fefd77da8fc5f9 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/d224390c8635210313c79cae905a87bb7462c9c0 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/27b66dbf19c679eb08a276c711c8ac541a1ad721 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0740be3fe941992228a2d36e2a9f6385c6a0f5df | s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/e42084e48d9f8825c836c2a19daea16e1c449c6f | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/e03b14fe9daa3698e244bb474d973e339eea79f0 | ORPH mips | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/8cffe37b363c48a52e5db1650887883c3c4ee0ee | ORPH mips | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/c58242b70940db9ddfa5344d4d265b740775e98f | ORPH arm | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/4f7a6322932d0f9775d7ea602cf09a053981a43a | ORPH x86_64 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/e81187a5c20071aa534cd947ec50ea918cf047a2 | i686 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/05e87b1365c5d33c337c6ebe9466c095e96a13c6 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3faa4478412557ff2830b065ec26f8e2e6ac7392 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ab0183d0858ccc2cfb5f391fbb30ae0e6a1f21bc | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cac0cbd898af3e1ad736c2e86f32fee9225b5469 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1ae0c628d0edce9f1a379d5ea7d95db77f7d1c2c | microblazeel | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c0a93f37a59891096424e5d89218634be36fea81 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e5d531412e90fa5cff3c8ebc9a8480fd11bd2e42 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7bc1ee5385b0cfe2ddc95b39a2546315485eb8f3 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ceba157665dedb9d9ca5160a64b6cd2a3e84bacc | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e7c89bea0f5f2bf504dfae84bd102c39e2b7094e | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4a6a5ab2e4b28da768d011ac36f41feb2cac47a1 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4f77aad88cb142f099435eb23ea008f83628d3cc | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3f3772fb3501ef16bb14ec5fa3cd2b0092c2d79e | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b9833a1830357ac1886eb8b7d91d8077cf1ebb5e | armeb | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd31e46d35a04e385e6f9afa02eb9d16b0098654 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5f7b975e3848db37daea01dd3d7f4a518a35be89 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6f87c2ebed76f06230d8d8d08f4be2c643230223 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5820db16d1129d4cb0ac7dcbca6ee8b90a0594fc | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/75fadca40832378cc52307997690cd9bb2d5f578 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d6f25e5f62b9bfece7fd37b2fc7791de9754f9dc | arm | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/78fe3a91737b2532caf80b4763fdaad5933eaa9d | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c1d9ccc49dd3bfca72d8e547b11c8eca50a7e534 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f08212a63ca560ad8029eb431ffe1780e115bc84 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/888d19da1ea61930dfbaf2a80d1af2c09d7f7145 | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/0a6b76819f9962d86f6b62b99e2fa015427c2a25 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/67f24adb69c448f7be2c998bf9aa5dbe3bd50e3e | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/56e5be5f241e04b49433250e59ea73a591bb9318 | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/83556f21a04c062a9340cfcaea4aaa7ac53a8232 | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/0e01d4d28f2ccff057d2009510300104ca387876 | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/740850df3e1831247386aa47148e530041c0a3ea | arc | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/8a3f1aa37743cf9ab86a8ebe79ee949db6b373ac | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/20a68a1c7b9c98ff0ab9757162ebc9a04d2485c5 | ORPH arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/8217d1925180f619d4340805305210421f2f359b | ORPH mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/6e12597335b4bf9a7d252e4534a9b8596d6dd128 | i586 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/ca51d035aae0ebd8e3e92f4ea958ba07784381d7 | arm | host-google-breakpad-c85eb4... | NOK | http://autobuild.buildroot.net/results/c0c6640136a0568608fb64daddaf0f27c56acd33 | mips64el | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/10d8ca86d2e4c44ff458b68b637125625c0c9880 | mips64el | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/4d9d8f207535274c26664cd2d78147ab290d186f | mips64el | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/f85e6e007830a87651d9866b76ebf7fa740bf9a7 | arm | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/7c71a78c75a6dc5b117ecbe843d8874b7f07a30f | s390x | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/d1f49b451b56e3cf6a97d27e8db5b85b0cb58ca9 | riscv64 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/fda31e3f41826ba1b6b19b64627fdc09d7b4f401 | powerpc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/83b8944f01d587190c9a1846ce79ae5a5651a989 | x86_64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/c9d58581f8490d8b83ae0e038e63ea8538922ae9 | x86_64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/bc5e00284417c2bb27232602f6b90a37b114953c | powerpc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/0466fa16a1a9e49fbcd4ec5cf9acf323724aa6a3 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/56d52b54401eca07f39b5d03ab351f6a45108333 | arc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/295fb36876a983a6347f8342a8cc0f4cc7991324 | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/c227166c2825ae4e884936fbe627f3997e0e19b7 | or1k | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/b5fb9089eae0a7d1dc63a21f71bbf4402e52007a | riscv64 | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/0ff7d67dafe4858cbdb6cb521f7b737f6b794d32 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/b232e8b7c5d0b0546ba54c74d5c85619f9d4371f | riscv32 | ktap-23bc7a4a94bd9e4e1b8b7c... | NOK | http://autobuild.buildroot.net/results/c886c60adc2cc57db865e7228b05e3b9222054a3 | sparc | ktap-23bc7a4a94bd9e4e1b8b7c... | NOK | http://autobuild.buildroot.net/results/67cca8d26b266b341b9e37cae6863864c14feb96 | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/2fce65c62b09125213a40e8a6c2668dae5e1f38f | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/055d10a832db7ed0767162d1afc69075e7ba6ced | mips64el | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/e63c5cb69b85765a6991770ec9b5dbdf622d3339 | mips | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/cdbfef2bb173674ced82588ec39e4b5f0aba5462 | powerpc | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/84f2f41ce048a742aacc41dd6821bb75ffb3cea0 | armeb | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/18084d3080a466e8aa5576a2c7135e9f8a81eea5 | aarch64_be | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/2855a58518691b8ea23670154bfae54b5411efce | mips64el | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/924d8723dbe156aac51c944a99d43c6d1ab077ae | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/dd57608a5573cb74e3d3b2b4978eb28a5975e22b | sparc64 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/bcbae42451d967740bc232b2984233d8be7ea3eb | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/831a405fed2b066999c3278b8af7e5380c8a7aff | s390x | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/e1b9f900a153e211072d2e1599e6a8f049fc0ea8 | sh4a | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/273f9aa354a08ef3af6140b8dec086408bf5d574 | mipsel | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/f1f6384abe816b91307014e440872ac6a32aedcf | powerpc | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/fea8e6397e52562b5af94874ae0c844cb6b9bdd0 | powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/43445863f6605c260c34626c89b5d302d6724684 | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/2cca15de1f824b577fbe1add62b75a663f99ac6f | ORPH powerpc | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/7f37b2970cd9f142a59f7c12ebfdb0c134022931 | ORPH armeb | libmad-0.15.1b | NOK | http://autobuild.buildroot.net/results/f755e19d2d5c8dfe3b777f726b007d4cf98ef220 | ORPH powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/5be2f66f9be8e2d6de3be6e36bcca9f8580f3b61 | aarch64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/4305cea1ae5bf47326fca4fb1e36aa7a553a0c16 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/351129be90462019eabb092280b2055ea33ccbc4 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/757df9c93e81cfa7a10c4c3659e1fad51717cfa7 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3e13548c911c1d0b238639a62d2d20e4923a89c1 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/eb89dd21ae7251c3103ac538c3e9ff95c84d13e0 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/23c66efd06ce76e128a12e931b178adb2cdb040d | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/ab75af1978a622087aaae83cfad663f9851d7820 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/532f1596e1b54a8004d71cf59a37de52a29bdad9 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3c2793ba4474aaba1eb479ae469649e5dcbc8e9b | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/84e2cbfe7e6f6e34138f4bc35dcc23a5ac50d021 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c2a7b678d0c0882aa52e8e06350e4adfdaab726c | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9ddbbd126d651fe28ce8075e001f3685ddb6aec2 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cc4e5ae89b455798bf2a62dd77426d06954014a3 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/dee788682c3a3435f4748d28383689b798a90218 | mips | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/4a3952f867bb5d521a010aba1d4e4da1ca098f6b | ORPH mipsel | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/14e414ec14d3beda5a964c603113795955bd807b | ORPH arc | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/67dfd2a57cc8238f439e7f56acf158f61ee4b953 | ORPH i586 | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/bca323b09e210c8576ec48b6f6e85d54f7045917 | ORPH mips64 | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/6781efb7aebe2d6f70d844f8e3d02057105e82d8 | ORPH mipsel | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/a84e588408dee4081bb493b81525c55506c9d29d | ORPH x86_64 | libsrtp-2.4.2 | NOK | http://autobuild.buildroot.net/results/cad54a1edf476a31f28d5e7da8c90b29aa6c5578 | mips64el | libsrtp-2.4.2 | NOK | http://autobuild.buildroot.net/results/c346780ed664c9fe8c7112e4c256cfe8080a7af5 | mips64el | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/71586902a58bcd982e1d8e133dbd21a60f34b720 | sparc | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/e306395c86aac6abceefb7ab82d58afae378baa8 | arm | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/a8e257b123dd91391f49c98cbb3496affc019042 | mips | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/d4b0203aab5adc58e4b4b17a85abeae9bd697edd | riscv32 | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/f35efcb86f81d1d82e1928f63a57c972631cac3c | mips64el | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/a3d0373e575a02276de0085544e1ff37a0d789dd | powerpc | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/8e258f43a4e7e70f1d08468097990f9965b53207 | arc | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/9e9f2401aaad47a8beff5f537e3a4206472ddb24 | i686 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/b7b2253ac902b441cc6ff12500b56bd15c413d71 | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/e0c0e8b5f32a80f31d09f825d97490aa2772d841 | mips64el | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/4454c38d308dd28ca02a2c3b88624b7bf12e5c8d | aarch64_be | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/a9b95e7b9b5f543071d6ed4ef970a3029d8da9a2 | xtensa | linknx-0.0.1.38 | NOK | http://autobuild.buildroot.net/results/ce5753193ec4518c75ee0ab9270b577397ca1c02 | ORPH sh4a | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/3602b8953af70356f8e475d86c890d7120ed8f9f | ORPH microblazeel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/5d13151bca8dd4d011efb7e4ff87498badefd378 | ORPH mips | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/0682afb06a1616d944890702b2128c9836500460 | ORPH powerpc64 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/00a6fea29039bc9bc3063a1fceeb44e1d7a1a1bc | ORPH microblaze | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/1be4878d2d5f251a31e7c75a10f9a0f9d4eb1c4f | ORPH mips64 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/540684047c70787a2a57c60b7591532cd51aadef | ORPH arc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/33f495d9fca5931bcc768d45ee7f23934788352a | ORPH s390x | linux-fusion-9.0.3 | NOK | http://autobuild.buildroot.net/results/4d4a576f8bf1b710765f48eeab29e72d3dd43cac | ORPH arc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/428140ababedd35ac9cc020bf26652b7984efdd1 | ORPH powerpc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/f312333571f32873695d7316564b52c4735596d3 | ORPH microblaze | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/6e71fa1b9c1f21445bf6d0c53f8f9667202a8f54 | ORPH xtensa | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/d4c3b24f65befc9197a32e4069286218ac634186 | ORPH microblaze | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/29c973a5bd46939d99c81dfc98b95550aa8c05d9 | ORPH i686 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/23b10d10776290b01a9a8fa67287d08171fa9dee | ORPH arc | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/961f40bca95e3bb1b2b7151fcaedcba53c751dbd | ORPH mips | linux-tools | NOK | http://autobuild.buildroot.net/results/139a2b173da44e6d1ca401a9a4762787933bdaf5 | ORPH sparc64 | linux-tools | NOK | http://autobuild.buildroot.net/results/8432b9176cd0bda05024dbaec18593ab4e1df9e4 | ORPH mips64el | ltp-testsuite-20220121 | NOK | http://autobuild.buildroot.net/results/06758dffb5a0e7cda9ecfc4c38bb22244b553533 | or1k | ltp-testsuite-20220121 | NOK | http://autobuild.buildroot.net/results/8bd637d52cb27fd10fb8e2cd5c023615149c98b9 | mips64el | lttng-tools-2.13.2 | NOK | http://autobuild.buildroot.net/results/940d2a46e588431b7fd8d0dbc8dc55853f52c1d7 | x86_64 | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/e9a0c312e2b2c71fcd0e00cffdde4cd18c544e90 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/ca1e1297f8fc5e682a49f95e55e8d44d25852b69 | x86_64 | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/a33a8616f71e7a525fbcfd151c615c5088d0d23b | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/63102d82ffe91264347b06626991d55c0a4b5eee | mipsel | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/ca105073c74bd37671b74b374f10644838e492f4 | m68k | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/9c4318301aa13137cbff420053b6eeecc2c7e584 | ORPH microblaze | numactl-2.0.14 | NOK | http://autobuild.buildroot.net/results/266f006bbde67c8f13477eb6973e6de993ab7b67 | sparc | openobex-1.7.2 | NOK | http://autobuild.buildroot.net/results/5724865d2e32a4cfa207930d6f181d417d91fae9 | riscv64 | opensbi | NOK | http://autobuild.buildroot.net/results/c8bbd73f180ab32b32a2acf463a1ba14bbfbd300 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/098c2eb1e19a55ce9965c4aa04f3389f98fa5c6f | aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/40f08c3180ba3a7be34642c704e2391bd35dfac5 | ORPH i686 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/8c14bfa6fc5101d05bfc926a47db2e6f415be967 | microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/76a3dbe5ef56994066a70f3f8c84e2ba044d3476 | arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b6064fb3e967cdd7f7baa5dfb9a6c76afa08dd35 | microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/57f4bac20319d3671062b07c2409d1ee4e857d6b | powerpc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/e3077d373f48fab2cc4f767581bf9b16f1c383c3 | sparc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/99d94b7f5ad344a701bc0453875ae38797f16ef8 | mips | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/5d2cc2464c07ba68f12ae271a9a5cae017cea19a | mipsel | python-greenlet-1.1.2 | NOK | http://autobuild.buildroot.net/results/5c33e894e1a8e08392e90361988b40691f97d2d7 | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/1482acb3eb3af595978ce57e0b8ca7cd12dd8bbf | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d15d7d618916eda7bd40eb80f5f4f1e98de62db8 | mips64el | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/a707d8849b2f10242775df74af4bd0bcd358cf85 | powerpc64le | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/a160cfdc9dfc036c4dc41af1c796f8838d91c573 | mips64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a3b9ce5abe59204fb48828fbcc9fc17cb5155315 | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/1d36206d3a52fb0396dad56f050150cedb74b987 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/ab24ee404851ed92ca1270a181c8410c62816c15 | microblazeel | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/025aec1a0b387b257d3abbf9ba349cba34127a9b | or1k | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/6cd51fdced2974fae9e6efa775520b8b25ccda27 | aarch64 | refpolicy | NOK | http://autobuild.buildroot.net/results/6f928378502776fa69e27180385e4e73a9f94cc3 | mips | refpolicy | NOK | http://autobuild.buildroot.net/results/2b917265f5ad590b86ce406264cca4aa391c2ce0 | mips64 | refpolicy | NOK | http://autobuild.buildroot.net/results/d5aa9acc709c7835b948cda7e65f7d8e116eadf2 | riscv64 | rtl8188eu-903b6fcb821465fe9... | NOK | http://autobuild.buildroot.net/results/9ea060cc35e859ebc73c65fe2d1f7478f9b4fa8d | microblaze | rtl8723bu-19b4bdc05483a1e79... | NOK | http://autobuild.buildroot.net/results/64247bb0afc2b6b4c00a257b974fa9a396e43926 | ORPH arceb | rtl8812au-aircrack-ng-3a640... | NOK | http://autobuild.buildroot.net/results/abf8ce5b7f191bb9cbc19e24f9a5eb29b1cea349 | s390x | rtl8821au-4235b0ec7d7220a63... | NOK | http://autobuild.buildroot.net/results/9a55831ed1a99cf1937e6c54d9cf52a0b3b7ae7c | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/dc81c084764d64c28b9abed33aaffe729717b71a | m68k | sg3_utils-1.47 | NOK | http://autobuild.buildroot.net/results/196c0c2f977653306bab72c2ca9b148cb67bc300 | microblaze | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/cb08fa978fcc845953bc2543568af3f1a232388d | aarch64_be | shim-15.4 | NOK | http://autobuild.buildroot.net/results/d64c38a3ce8021bbc8afcba4a2eed8a78d462255 | armeb | shim-15.4 | NOK | http://autobuild.buildroot.net/results/b4b5dfdd51f7bcca158e0423c78f86c3b17d1748 | aarch64_be | shim-15.4 | NOK | http://autobuild.buildroot.net/results/21972d44e3704895eb2948bb74d1df34c29d59c0 | armeb | shim-15.4 | NOK | http://autobuild.buildroot.net/results/a1f65a267233753024c13e95625d613e34d11f0e | or1k | skalibs-2.10.0.3 | NOK | http://autobuild.buildroot.net/results/0e17451e17c7be4e3f867dab39a3b4722da1cb90 | arm | ti-sgx-km-cf7f48cb30abfd5df... | NOK | http://autobuild.buildroot.net/results/17e4da346d062570b9a84ab8eb1ce93c6d7384be | powerpc64le | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/578cffdca995e5bb3edcf1feab28890c85ad7b75 | powerpc64le | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/683d83b46f8051fccd7aed086682037ba43ad48e | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/466a485374e2cc4257edd6cae4e199bf248aa57e | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c74f942740e6f542654b40444b51fb327ed2b73d | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c1e80861fab29f32ec27a93530cb0dba90b4dd57 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/a221fe9707c82e8b34c5c1ae060df5c9b0f78a08 | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/0c032a58ac0bf388499c0f6c3210db822df5e860 | mipsel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/3702af75bd8d5d74c83e10fe828ef0d2afbd54a6 | arm | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/fe1254c7330ab1e678a1dc25a6e28136aadc3de2 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/74495ff2c0fcffb8859ac61a8604153b120a5107 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/39897ab8df013f276c7313cf29ff5f408ebb049e | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/47bae259ccee3ab71623f32be9e81f3d94aa3e89 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a0482f847f9c8ff82af508ff04768c49d7741e70 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f4777961a3787a31c96bf8b4e1e350226476e6a9 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/3e45653dfedf2ddd90f45db37224c230da8cbad0 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/021668532c7d15ad40c4adc43fa2ab39bd55717d | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/654cd0944cbdb3f5c3c02a9117e4ea0b0996da05 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f6c74882de9d4db38dc8468b31c15111cf789ccf | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/36cbe46e11913deeb3cb9759ab83bb6194b97bf9 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bd456389a937faeb09cb07be7e1249538529e38f | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6a23ba34e8aac821af6fbe9fa041f4e93dd4a089 | mips | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/08ffe36804cf0fb36b3d5b32540303d9342b4129 | powerpc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/5042ee79f47c2d6dd59f692b6620f2c4e572b262 | xtensa | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/87da7cfc7515a19ebf20e6dffaf443d2fabf8901 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/8017528d905fc1aa6105491c9b4957f924bc62ef | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/33192a9c76f8ef60471fc81b804bad8500073775 | arm | unknown | NOK | http://autobuild.buildroot.net/results/6717ad218072977862d927cbb33d5f9a81ba948a | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/10770de992fd348a2ebdee3d8077a02526b5f8dd | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/a5b7e0c3f779283c9a5ff1298ceceeee82e835f4 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/e85a11c98a2de3faa2a9c2f535cc0b5c35e648d8 | sh4 | unknown | NOK | http://autobuild.buildroot.net/results/ca792d99433a8486b12cf696aef0860478f84115 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/115ad43bbe92de15b8ce1ac8b4db5d996e98514d | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/760a4eeb5bdf5a2a3bc7aefa04e7692b7da1a80e | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/1de2759db47eca5abaff5c1d7549d721bc4d5fd8 | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/11513bd817a0c410470ec16afacfc9131340f1f4 | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/557e9e156d98d8cf92f7f4a714ba8fce38ec87df | i686 | unknown | NOK | http://autobuild.buildroot.net/results/509d1e5e9e067ecc7005c303995dcd40a6411ae0 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/f57f140ab51cd4c281139cc2ff871cb13612b301 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/71160c06b0959eb1c7d099127caae087db3c7d37 | powerpc | unknown | NOK | http://autobuild.buildroot.net/results/6f6359bc28fa05592d52b8b738885a83801f58b2 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/1c46106648ee597f2164898a3943c7ca08d50739 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/f774f6409469be90af72ac5dbdd7b2d5e207f03b | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/642441584f0507d100fd293ed4216ed26ef05f20 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/c1927c5d7e7c49d959dc15c38356cd1fee072d91 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/1be930f2a9e19e4c680709be3192c0f934c480b7 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/f16c350ced56beb157b79b2669b158123f907eae | armeb | unknown | NOK | http://autobuild.buildroot.net/results/74a60db3dead40fafbf2455681659632e4029423 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/b665087a9b354d455118395259bee2110137870f | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/e7acc2e6e06bba42598e6b499f3322fb5f93016c | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/8f7b5e50e3c0a98a8c6af4e75090f159b4e7cf08 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/16d000861d6afba00dfb82868653c004fd13ff73 | riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/7430b9376d4f025d080feb11c725512bb1163e59 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/0f7683957623baa33dc072ea88698ef81c051d61 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/eb38fdfa0f91c0f92026f136046ef111c3f0b249 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/649634e589126975f788e9e92345318bbec18f88 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/e0057060ce91e1ef11d6699ead246a5bc34daf7d | arm | unknown | NOK | http://autobuild.buildroot.net/results/5258cc2dc2606203b6c724676f77b5ea40a8ecad | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/c9520ff49ac7321780a3d0b63e719f280affb5ac | i586 | unknown | NOK | http://autobuild.buildroot.net/results/e5ecc7709a91659c4ea81e3fcdef24e19ccc8406 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/ac4df46ef5c5ae27bc071664e95b31010d1d725b | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/6eadd85f52c4d635cacbe72d0a03c33349e267bb | arceb | unknown | NOK | http://autobuild.buildroot.net/results/661868cf556938f8e1e05d33b4f91facac23f858 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/b915c9d91ac6b645dcc4cf4c755c220c72289b6a | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/ff970f481f75e652bf677226d85fc69ee8af6da9 | powerpc | unknown | NOK | http://autobuild.buildroot.net/results/16c6f715d11b00790b9621f883b8447d42bf15fb | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/a915e050ccdc2b1c9c5fde6d17245c0936a731a5 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/d9b980ea2b8a65f58919a018a1fea739db894c93 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/f1c80304f779f026fedf60ef3b1bb46e63b34100 | arc | unknown | NOK | http://autobuild.buildroot.net/results/c74b27364890512242a11068300a121ba631313a | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/b7194b15e7d80e3cad745414118caa926847d06f | arm | unknown | NOK | http://autobuild.buildroot.net/results/92b23c30c653dcd3f30fc4db28c95e49a1689553 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/40b8aa0c19917f64c3f272f5479068e7631ffcc3 | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/6505bc2929c9553730ae4ed4f6c47ccd39a6756a | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/d3e21603790b44c1739fd45ce90fd8cbdccf8be7 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/6eef062b0c84d732dddbf03ca23c840918f5d850 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/03a4b50af55bccfbb235c0452d1503944b501913 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/fc48a39f421aef8bfee7ebccb8fb2be1c3121531 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/9537c79c6d3e7c0b360124e5cd9e9d998f2789b2 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/a8c15481cbbf572d9554f5ae41872a2a9cd8acc1 | sh4aeb | unknown | NOK | http://autobuild.buildroot.net/results/760be94953fe23b54c4512ad3f50952ce3139604 | sh4a | unknown | NOK | http://autobuild.buildroot.net/results/136f2bf461914953f9645c8764f1d5cbf3d0b9c0 | riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/dd281a1e647fef9bb09cc43e4381c480e958c214 | m68k | unknown | NOK | http://autobuild.buildroot.net/results/4b990c9cf0e0b444050e6209fd41010b9db4da4b | arm | unknown | NOK | http://autobuild.buildroot.net/results/85e64bcdd960e28b4c89601b04caa9caff7c095f | sparc | unknown | NOK | http://autobuild.buildroot.net/results/5700219be474d41523740849997f407ffb6776c7 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/f0e1718d7613c5aa186b2e7d025e8d21415e93e4 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/6a4ad39303205caf67cea5c3701ea1c609480eb1 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/b109cbb9fc3037a33eeaadcb9771dcf9c7bc4c15 | mips64 | valgrind-3.18.1 | NOK | http://autobuild.buildroot.net/results/b0a6be0bc69c0c4d142903dbf86dd0868d4ba697 | ORPH arm | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/756a07f6205db3c35089b04551dee41bf38ecc44 | arm | wolfssl-5.2.0 | NOK | http://autobuild.buildroot.net/results/929082b3d3c8efb31eca4091d310dd2ddab396e6 | powerpc64le | wtfutil-0.41.0 | NOK | http://autobuild.buildroot.net/results/2d0943d69a9d662326665b27b8db3efbb577daf3 | i686 | x264-35417dcd65a57321fbadf9... | NOK | http://autobuild.buildroot.net/results/690ca6eec221405bc5b9b7a9a2b44c4d3f4ab541 | microblazeel | xenomai | NOK | http://autobuild.buildroot.net/results/2feed7ef70493353b5317fe4909f03ef0249caac | mips | xenomai | NOK | http://autobuild.buildroot.net/results/1f64caa92576f5d94367896d368c60b294882b0f | s390x | xenomai | NOK | http://autobuild.buildroot.net/results/22e3385b754c63f0ad62c6284e8d125d679a2f08 | i686 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/e2be0820c3e2363bd9650e44e4cbcc54f5c7bc76 | nios2 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/ef06fc2c1b6ed472fc91b78b160f63dfd3a81ab4 | sh4a | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/428919229275bf1a12ac06255537147a9c073d87 | or1k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ca618dde69bbc1aaddd8ede4512180148777bf8a | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/30e035269c44448fe07ac357ff52bb4fc3ea42c6 | sparc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/2fcd0e23a65e257935bd205ed7a92a00523f4a77 | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/c65be16b7a2e00c65110d30ddd5632548397551e | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/d870b9c171b594fe615c2372174e2b7711152a49 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/cd1c60e58132e3f0ff98875b3856e76189dac6a4 | sparc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/17309224fca025f8c864452a8dfd42a8251e103b | mips64el | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9429917baf78d96cf6cc9f82353e5fa4cd49626d | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/cf478381a494783fc9fd6b7155a2733630e3f107 | mips | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/de0fd789c272785e049b0c9b8a33898b0c7f7290 | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/263d55b7dff56d6290e6834238d7bd9ddd273bf5 | armeb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/fc311b31c275338789aceecaafb1658f83e39fc9 | sparc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/eecbe3abd169fda152f3c567de5b39c180ed9f2c | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/0aea4e2009f82c076e1dd734a495c0188abcc160 | aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a450c451659ddf11dd0bdeeca399613706956cd8 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/348359fbe3dc89f5a15b11a6c473588e0e6ee65a | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f8447d50fe41d5615c98dad1e7a7a4dc7edf80d2 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f5ae0f56fd9c622c7ebdeea24ce9fdfe6592362b | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4854b360c826bc5e5ef6aa72217b69271d4b8c19 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4ca1c83beb954c7074126a329a4a923241e8161d | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/af93bdf451a2aabc7df61e520910bf6a87d70d7a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/329ae22acba3e88a2b5e5849ed0b70e3f111c8b0 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1530aa8c136e35049387ab0f28eb93aff811fab8 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/246ed0fdfd4ecce3d42e70cd919593285423fa16 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/fc7f6713ec21dfa96bd8202855ffe0bab4e6e961 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 4 host-pahole-v1.23 | 2 wavemon-0.9.4 | 2 bat-0.19.0 | 1 exempi-2.6.1 | 1 host-nodejs-14.18.3 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/f8653de73738cc4ffb2c68c9ecb90ba67bc31583 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/f1c4ded3dfd972e673cd67b6f289d37cb00a6569 | mipsel | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/1477ca6e8ef7066acecf40fb3d40e153c644532b | sparc | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/d392d94acb4a009f2a40782de83cebe4a3691d3c | mipsel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/f1b790b2cbd045b5425f88cb8acf1b24977164c9 | powerpc | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/711cca66b0dd1d99462269c70b15c262793e3356 | microblazeel | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/edabb37af1736272378b1bc94998e2569e6281d1 | x86_64 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/12d4dae6e8e36b42e2200739ac03a4ee003e5a07 | arm | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/9ac8218c9f438de2718044b1931115134c3ec7e2 | sparc | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/4491ae212e717e2e9052c4b6b5bf285bb55e6d4a | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/43c5e0de7b311eb73713948e7df002c4ca6805a2 | -- http://autobuild.buildroot.net From br015 at umbiko.net Wed Apr 27 05:27:15 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Wed, 27 Apr 2022 07:27:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/mpd: fix iconv detection w/ libiconv installed Message-ID: <20220427052715.7642-1-br015@umbiko.net> Fix build failures caused by meson failing to properly detect iconv() when libiconv is installed and a missing link dependency. Upstream pull request: https://github.com/MusicPlayerDaemon/MPD/pull/1515 Fixes the following build failures: http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ Signed-off-by: Andreas Ziegler --- ...detection-when-libiconv-is-installed.patch | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch diff --git a/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch b/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch new file mode 100644 index 0000000000..6121bc9740 --- /dev/null +++ b/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch @@ -0,0 +1,71 @@ +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 +From: aeolio +Date: Wed, 20 Apr 2022 16:10:39 +0200 +Subject: [PATCH 1/2] src/lib/icu: fix iconv() detection when libiconv is + installed + +--- + src/lib/icu/meson.build | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build +index 59215e704b..972c1fda3f 100644 +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -12,17 +12,23 @@ if is_windows + icu_sources += 'Win32.cxx' + endif + ++iconv_dep = [] + if icu_dep.found() + icu_sources += [ + 'Util.cxx', + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- have_iconv = compiler.has_function('iconv', prefix : '#include ') +- conf.set('HAVE_ICONV', have_iconv) ++ # an installed iconv library will make the builtin iconf() unavailable, ++ # so search for the library first and pass it as (possible) dependency ++ iconv_dep = compiler.find_library('libiconv', required: false) ++ have_iconv = compiler.has_function('iconv', ++ dependencies: iconv_dep, ++ prefix : '#include ') + if not have_iconv and get_option('iconv').enabled() + error('iconv() not available') + endif ++ conf.set('HAVE_ICONV', have_iconv) + endif + + icu = static_library( +@@ -31,6 +37,7 @@ icu = static_library( + include_directories: inc, + dependencies: [ + icu_dep, ++ iconv_dep, + fmt_dep, + ], + ) + +From ee39af34199aa875e109f7002a401d6ebbd66c22 Mon Sep 17 00:00:00 2001 +From: aeolio +Date: Sun, 24 Apr 2022 04:14:17 +0000 +Subject: [PATCH 2/2] fix typo in comment + +--- + src/lib/icu/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build +index 972c1fda3f..6e489876b8 100644 +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -19,7 +19,7 @@ if icu_dep.found() + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- # an installed iconv library will make the builtin iconf() unavailable, ++ # an installed iconv library will make the builtin iconv() unavailable, + # so search for the library first and pass it as (possible) dependency + iconv_dep = compiler.find_library('libiconv', required: false) + have_iconv = compiler.has_function('iconv', -- 2.34.1 From alistair23 at gmail.com Wed Apr 27 05:41:51 2022 From: alistair23 at gmail.com (Alistair Francis) Date: Wed, 27 Apr 2022 15:41:51 +1000 Subject: [Buildroot] [PATCH 1/2] boot/opensbi: Bump to version 1.0 In-Reply-To: <20220401063930.2158692-1-alistair.francis@opensource.wdc.com> References: <20220401063930.2158692-1-alistair.francis@opensource.wdc.com> Message-ID: On Fri, Apr 1, 2022 at 4:39 PM Alistair Francis wrote: > > From: Alistair Francis > > Signed-off-by: Alistair Francis Ping! Alistair > --- > ...Makefile-Don-t-specify-mabi-or-march.patch | 37 ------------- > ...Makefile-unconditionally-disable-SSP.patch | 53 ------------------- > boot/opensbi/Config.in | 4 +- > boot/opensbi/opensbi.hash | 2 +- > 4 files changed, 3 insertions(+), 93 deletions(-) > delete mode 100644 boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch > delete mode 100644 boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch > > diff --git a/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch b/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch > deleted file mode 100644 > index 5f554a6c24..0000000000 > --- a/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch > +++ /dev/null > @@ -1,37 +0,0 @@ > -From f5871e1f3650d6c8a032928cb5d8ca00c275c377 Mon Sep 17 00:00:00 2001 > -From: Alistair Francis > -Date: Fri, 15 Feb 2019 14:57:41 -0800 > -Subject: [PATCH] Makefile: Don't specify mabi or march > - > -To avoid > - can't link double-float modules with soft-float modules > -errors when building 32-bit openSBI don't specify mabi or march. > - > -Signed-off-by: Alistair Francis > ---- > - Makefile | 2 -- > - 1 file changed, 2 deletions(-) > - > -diff --git a/Makefile b/Makefile > -index ae68f55..10851fc 100644 > ---- a/Makefile > -+++ b/Makefile > -@@ -145,7 +145,6 @@ GENFLAGS += $(firmware-genflags-y) > - CFLAGS = -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 > - CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > - CFLAGS += -mno-save-restore -mstrict-align > --CFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) > - CFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL) > - CFLAGS += $(GENFLAGS) > - CFLAGS += $(platform-cflags-y) > -@@ -158,7 +157,6 @@ CPPFLAGS += $(firmware-cppflags-y) > - ASFLAGS = -g -Wall -nostdlib -D__ASSEMBLY__ > - ASFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > - ASFLAGS += -mno-save-restore -mstrict-align > --ASFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) > - ASFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL) > - ASFLAGS += $(GENFLAGS) > - ASFLAGS += $(platform-asflags-y) > --- > -2.20.1 > - > diff --git a/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch b/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch > deleted file mode 100644 > index c4edd37f1a..0000000000 > --- a/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch > +++ /dev/null > @@ -1,53 +0,0 @@ > -From e389d5fbc296e496db15368b2b621e0f178f7f34 Mon Sep 17 00:00:00 2001 > -From: Fabrice Fontaine > -Date: Sat, 8 May 2021 21:28:10 +0200 > -Subject: [PATCH] Makefile: unconditionally disable SSP > - > -Though -nostdlib is passed in {C,+AS,DTSCPP}FLAGS, -fno-stack-protector > -must also be passed to avoid linking errors related to undefined > -references to '__stack_chk_guard' and '__stack_chk_fail' if toolchain > -enforces -fstack-protector. > - > -Fixes: > - - https://gitlab.com/kubu93/buildroot/-/jobs/1247043359 > - > -Signed-off-by: Fabrice Fontaine > -[Upstream status: https://github.com/riscv/opensbi/pull/211] > ---- > - Makefile | 6 +++--- > - 1 file changed, 3 insertions(+), 3 deletions(-) > - > -diff --git a/Makefile b/Makefile > -index eeffe6b..1419360 100644 > ---- a/Makefile > -+++ b/Makefile > -@@ -203,7 +203,7 @@ GENFLAGS += $(libsbiutils-genflags-y) > - GENFLAGS += $(platform-genflags-y) > - GENFLAGS += $(firmware-genflags-y) > - > --CFLAGS = -g -Wall -Werror -ffreestanding -nostdlib -fno-strict-aliasing -O2 > -+CFLAGS = -g -Wall -Werror -ffreestanding -nostdlib -fno-stack-protector -fno-strict-aliasing -O2 > - CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > - CFLAGS += -mno-save-restore -mstrict-align > - CFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) > -@@ -217,7 +217,7 @@ CPPFLAGS += $(GENFLAGS) > - CPPFLAGS += $(platform-cppflags-y) > - CPPFLAGS += $(firmware-cppflags-y) > - > --ASFLAGS = -g -Wall -nostdlib -D__ASSEMBLY__ > -+ASFLAGS = -g -Wall -nostdlib -fno-stack-protector -D__ASSEMBLY__ > - ASFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > - ASFLAGS += -mno-save-restore -mstrict-align > - ASFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) > -@@ -236,7 +236,7 @@ MERGEFLAGS += -r > - MERGEFLAGS += -b elf$(PLATFORM_RISCV_XLEN)-littleriscv > - MERGEFLAGS += -m elf$(PLATFORM_RISCV_XLEN)lriscv > - > --DTSCPPFLAGS = $(CPPFLAGS) -nostdinc -nostdlib -fno-builtin -D__DTS__ -x assembler-with-cpp > -+DTSCPPFLAGS = $(CPPFLAGS) -nostdinc -nostdlib -fno-stack-protector -fno-builtin -D__DTS__ -x assembler-with-cpp > - > - # Setup functions for compilation > - define dynamic_flags > --- > -2.30.2 > - > diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in > index f1443498d9..1e1bdc344b 100644 > --- a/boot/opensbi/Config.in > +++ b/boot/opensbi/Config.in > @@ -19,7 +19,7 @@ choice > Select the specific OpenSBI version you want to use > > config BR2_TARGET_OPENSBI_LATEST_VERSION > - bool "0.9" > + bool "1.0" > > config BR2_TARGET_OPENSBI_CUSTOM_VERSION > bool "Custom version" > @@ -57,7 +57,7 @@ endif > > config BR2_TARGET_OPENSBI_VERSION > string > - default "0.9" if BR2_TARGET_OPENSBI_LATEST_VERSION > + default "1.0" if BR2_TARGET_OPENSBI_LATEST_VERSION > default BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE \ > if BR2_TARGET_OPENSBI_CUSTOM_VERSION > default "custom" if BR2_TARGET_OPENSBI_CUSTOM_TARBALL > diff --git a/boot/opensbi/opensbi.hash b/boot/opensbi/opensbi.hash > index 3b6d97c42d..1a626e6357 100644 > --- a/boot/opensbi/opensbi.hash > +++ b/boot/opensbi/opensbi.hash > @@ -1,3 +1,3 @@ > # locally computed > -sha256 60f995cb3cd03e3cf5e649194d3395d0fe67499fd960a36cf7058a4efde686f0 opensbi-0.9.tar.gz > +sha256 a5efaeb24f5ee88d13d5788e4e00623ff312ee12c0bf736aa75a6ad9a850fb76 opensbi-1.0.tar.gz > sha256 82d13fb1bf6bb162629deeea9eb9c117e74548d3b707e478967691fe79a68e21 COPYING.BSD > -- > 2.35.1 > From salvador.joseluis at gmail.com Wed Apr 27 06:22:26 2022 From: salvador.joseluis at gmail.com (=?UTF-8?Q?Jos=C3=A9_Luis_Salvador_Rufo?=) Date: Wed, 27 Apr 2022 08:22:26 +0200 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils In-Reply-To: <20220427000159.58749c28@windsurf> References: <20220426132833.1579873-1-salvador.joseluis@gmail.com> <87bkwn21vp.fsf@tarshish> <20220427000159.58749c28@windsurf> Message-ID: Hello Thomas, El mi?, 27 abr 2022 a las 0:02, Thomas Petazzoni (< thomas.petazzoni at bootlin.com>) escribi?: > Hello, > > On Tue, 26 Apr 2022 20:16:12 +0300 > Baruch Siach via buildroot wrote: > > > Hi Jos?, > > > > On Tue, Apr 26 2022, Jos? Luis Salvador Rufo wrote: > > > Patch title: docs/manual/prerequisite.txt: add diffutils > > > > No need for this line in the commit log body. The email subject line > > appears as head line of the git commit once applied. > > Yep. > > > > The command `cmp` is used by `package/pkg-generic.mk` at commit > > > 8623cc5deb5. This command is provided by `diffutils`. > > > > Actually, we have host-diffutils, so we can build cmp if the host does > > not have it installed. All we need is support added under > > support/dependencies/ like a few other utilities. > > Yes, but we're not going to build host-diffutils if cmp is missing. > It's not done in our current implementation, and I don't think we want > to do that. So it seems like diffutils is indeed a hard requirement. > > > We also don't list findutils as prerequisite, even though we rely > > heavily on the 'find' utility. > > So perhaps we should list findutils as well in our hard requirements? > Seems fair, IMHO. > > Jos? Luis: practically speaking, with which distribution have you been > able to get a system without diffutils/findutils installed by default? Docker official Archlinux image. On other hand `findutils` is installed by default in this image. ```shell ? docker pull archlinux:latest latest: Pulling from library/archlinux b65db44913f6: Pull complete beb98d5a80d3: Pull complete Digest: sha256:a9a59155d8cfd44d01432a1ef011dc015ff96e970adf787b632229fd637ea98c Status: Downloaded newer image for archlinux:latest docker.io/library/archlinux:latest ? docker run -it --rm archlinux:latest [root at 354a655ce3f9 /]# pacman -Qi diffutils warning: database file for 'core' does not exist (use '-Sy' to download) warning: database file for 'extra' does not exist (use '-Sy' to download) warning: database file for 'community' does not exist (use '-Sy' to download) error: package 'diffutils' was not found [root at 354a655ce3f9 /]# pacman -Qi findutils warning: database file for 'core' does not exist (use '-Sy' to download) warning: database file for 'extra' does not exist (use '-Sy' to download) warning: database file for 'community' does not exist (use '-Sy' to download) Name : findutils Version : 4.9.0-1 Description : GNU utilities to locate files Architecture : x86_64 URL : https://www.gnu.org/software/findutils/ Licenses : GPL3 Groups : base-devel Provides : None Depends On : glibc sh Optional Deps : None Required By : base ca-certificates-utils Optional For : None Conflicts With : None Replaces : None Installed Size : 1416.31 KiB Packager : Tobias Powalowski Build Date : Wed 02 Feb 2022 05:55:26 AM UTC Install Date : Sun 24 Apr 2022 12:04:13 AM UTC Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature ``` > > Thanks, > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnout at mind.be Wed Apr 27 07:07:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:07:31 +0200 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> Message-ID: <57660639-2f34-4068-793a-ce82fc881b47@mind.be> On 26/04/2022 03:35, James Hilliard wrote: > On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: >> >> >> >> On 24/04/2022 23:39, James Hilliard wrote: >>> This package now requires flit and must use the flit-bootstrap setup >>> type for the host build since it is a dependency of >>> host-python-pypa-build. >>> >>> Signed-off-by: James Hilliard >> >> >> Applied to master, thanks. >> >> While testing this series, I noticed that the following gives an error (this >> was already the case in the original series; I haven't checked how it was before >> your series was applied - for tomli, it certainly wouldn't happen because it >> would still be using setuptools, but maybe for other flit packages, I don't know). >> >> make python-tomli >> make python-tomli-dirclean >> make python-tomli >> ... >> FileExistsError: File already exists: >> /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py > > I think it happens only when building across version bumps, probably a bug > with installer(https://github.com/pypa/installer) upstream. No, it's exactly the sequence of commands that I wrote above that triggers it. I haven't checked if this is the case for flit/pep517 packages in general, or just for flit-bootstrap. Regards, Arnout > >> >> Would be nice to get that fixed... > > Yeah, I'll see if I can track that issue down. > >> >> Regards, >> Arnout >> >>> --- >>> Changes v6 -> v7: >>> - only use flit-boostrap for host-python-tomli >>> --- >>> package/python-tomli/python-tomli.hash | 4 ++-- >>> package/python-tomli/python-tomli.mk | 7 ++++--- >>> 2 files changed, 6 insertions(+), 5 deletions(-) >>> >>> diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash >>> index 1a274c8a40..8368f9ee13 100644 >>> --- a/package/python-tomli/python-tomli.hash >>> +++ b/package/python-tomli/python-tomli.hash >>> @@ -1,5 +1,5 @@ >>> # md5, sha256 from https://pypi.org/pypi/tomli/json >>> -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz >>> -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz >>> +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz >>> +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz >>> # Locally computed sha256 checksums >>> sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE >>> diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk >>> index b8c20ca736..b803d67466 100644 >>> --- a/package/python-tomli/python-tomli.mk >>> +++ b/package/python-tomli/python-tomli.mk >>> @@ -4,12 +4,13 @@ >>> # >>> ################################################################################ >>> >>> -PYTHON_TOMLI_VERSION = 1.2.0 >>> +PYTHON_TOMLI_VERSION = 2.0.1 >>> PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz >>> -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa >>> -PYTHON_TOMLI_SETUP_TYPE = distutils >>> +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 >>> PYTHON_TOMLI_LICENSE = MIT >>> PYTHON_TOMLI_LICENSE_FILES = LICENSE >>> +PYTHON_TOMLI_SETUP_TYPE = flit >>> +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap >>> >>> $(eval $(python-package)) >>> $(eval $(host-python-package)) From arnout at mind.be Wed Apr 27 07:10:46 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:10:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-pep517: migrate setup type to flit In-Reply-To: <20220426012311.1738027-1-james.hilliard1@gmail.com> References: <20220426012311.1738027-1-james.hilliard1@gmail.com> Message-ID: <69c6a8fb-0d05-0ae9-4c7d-b76e388f2958@mind.be> On 26/04/2022 03:23, James Hilliard wrote: > This package is moving to flit, we need to use flit-bootstrap > since host-python-pypa-build depends on host-python-pep517. But that only becomes relevant when we bump the version to something which drops distutils support, right? Of course, we can merge this patch now already, that's not what I'm saying. But the commit message says "we need to" which is not entirely correct. It's more like "we'll have to". Right? Regards, Arnout > > Signed-off-by: James Hilliard > --- > package/python-pep517/python-pep517.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/python-pep517/python-pep517.mk b/package/python-pep517/python-pep517.mk > index 99aa62d51d..45c4f8dd39 100644 > --- a/package/python-pep517/python-pep517.mk > +++ b/package/python-pep517/python-pep517.mk > @@ -9,7 +9,7 @@ PYTHON_PEP517_SOURCE = pep517-$(PYTHON_PEP517_VERSION).tar.gz > PYTHON_PEP517_SITE = https://files.pythonhosted.org/packages/0a/65/6e656d49c679136edfba25f25791f45ffe1ea4ae2ec1c59fe9c35e061cd1 > PYTHON_PEP517_LICENSE = MIT > PYTHON_PEP517_LICENSE_FILES = LICENSE > -PYTHON_PEP517_SETUP_TYPE = distutils > +PYTHON_PEP517_SETUP_TYPE = flit-bootstrap > HOST_PYTHON_PEP517_DEPENDENCIES = host-python-tomli > > $(eval $(host-python-package)) From jens-christoph.brendel at computec.de Wed Apr 27 07:15:21 2022 From: jens-christoph.brendel at computec.de (Jens-Christoph Brendel) Date: Wed, 27 Apr 2022 07:15:21 +0000 Subject: [Buildroot] press request References: <82d17f75-915d-485f-9353-f091fb3576e8.8d5b84c6-3d2e-4c12-b2dd-1cea205060bd.05b36973-3f8d-47c8-982b-7fde04d5179e@emailsignatures365.codetwo.com> Message-ID: Hello everybody, We, the German Linux magazine, are planning a focus on Linux distributions for the IoT in the 07/22 issue. One of them we have in mind is Buildroot. We are therefore looking for an author who can introduce Buildroot to our readers in an article. Such an article should be four to six pages (about 4000 characters each) and cover questions such as: - What is Buildroot? (main purpose, target audience, compatibility) - Scope of services - Differences and similarities compared to similar operating systems - Advantages and disadvantages - Examples of use We need the text no later than June 1. It would be better if you can manage to deliver a few days earlier, because then we will have more time to discuss details, if necessary.A plain text file (ISO8859-1, aka Latin1) is perfect. Illustrations (at least one per page) should be delivered as separate image files. The target audience consists of IT professionals, developers, administrators and IT managers. So we don't explain the basics. On the other hand, your reader may not know much about Buildroot. Imagine a person looking for an operating system for an IoT project. The author will give her all the details she needs to make an informed decision. Is there anyone out there who would like and have the time to write such an article for us? We would pay 80 Euro per printed page. Please contact me at jens-christoph.brendel at computec.de. Many thanks in advance Jens-Christoph . . . . Disclaimer: The recipient acknowledges that Computec Media GmbH is unable to exercise control over the content of information contained in transmissions made via the Internet. Computec Media GmbH hereby excludes any warranty, written or implied, as to the quality or accuracy of any information contained in this message and any liability of any kind for the information contained, therein, or for its transmission, reception, storage or usage in any way, whatsoever. Sitz der Gesellschaft und Registergericht: F?rth (HRB 14364) Gesch?ftsf?hrer: Christian M?ller, Rainer Rosenbusch Umsatzsteuer-Identifikationsnummer: DE812575276 Informationen zur Datenverarbeitung und Datenschutz: https://www.computec.de/datenschutz . . . . -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnout at mind.be Wed Apr 27 07:15:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:15:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency In-Reply-To: <20220426174137.3014322-1-james.hilliard1@gmail.com> References: <20220426174137.3014322-1-james.hilliard1@gmail.com> Message-ID: On 26/04/2022 19:41, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 > > Signed-off-by: James Hilliard > --- > package/wilc-driver/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in > index caf46ae281..6b93a23a47 100644 > --- a/package/wilc-driver/Config.in > +++ b/package/wilc-driver/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_WILC_DRIVER > bool "wilc kernel module" > + depends on BR2_LINUX_KERNEL > help > External kernel module for WILC1000/3000 devices. > You should also add a comment. Regards, Arnout From james.hilliard1 at gmail.com Wed Apr 27 07:15:34 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 01:15:34 -0600 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: <57660639-2f34-4068-793a-ce82fc881b47@mind.be> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> <57660639-2f34-4068-793a-ce82fc881b47@mind.be> Message-ID: On Wed, Apr 27, 2022 at 1:07 AM Arnout Vandecappelle wrote: > > > > On 26/04/2022 03:35, James Hilliard wrote: > > On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: > >> > >> > >> > >> On 24/04/2022 23:39, James Hilliard wrote: > >>> This package now requires flit and must use the flit-bootstrap setup > >>> type for the host build since it is a dependency of > >>> host-python-pypa-build. > >>> > >>> Signed-off-by: James Hilliard > >> > >> > >> Applied to master, thanks. > >> > >> While testing this series, I noticed that the following gives an error (this > >> was already the case in the original series; I haven't checked how it was before > >> your series was applied - for tomli, it certainly wouldn't happen because it > >> would still be using setuptools, but maybe for other flit packages, I don't know). > >> > >> make python-tomli > >> make python-tomli-dirclean > >> make python-tomli > >> ... > >> FileExistsError: File already exists: > >> /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py > > > > I think it happens only when building across version bumps, probably a bug > > with installer(https://github.com/pypa/installer) upstream. > > No, it's exactly the sequence of commands that I wrote above that triggers it. Oh, yeah, I see what's happening, I was testing with per-package directories which prevents one from hitting that issue in most cases since it clears out the conflicting/old artifacts with dirclean. > > I haven't checked if this is the case for flit/pep517 packages in general, or > just for flit-bootstrap. Likely affects all flit/flit-bootstrap and pep517 packages if I had to guess, seems due to stale build artifacts lying around combined with installer not wanting to overwrite artifacts in general, might need to upstream some way to enable artifact overwrites, I'll look into that. > > Regards, > Arnout > > > > >> > >> Would be nice to get that fixed... > > > > Yeah, I'll see if I can track that issue down. > > > >> > >> Regards, > >> Arnout > >> > >>> --- > >>> Changes v6 -> v7: > >>> - only use flit-boostrap for host-python-tomli > >>> --- > >>> package/python-tomli/python-tomli.hash | 4 ++-- > >>> package/python-tomli/python-tomli.mk | 7 ++++--- > >>> 2 files changed, 6 insertions(+), 5 deletions(-) > >>> > >>> diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > >>> index 1a274c8a40..8368f9ee13 100644 > >>> --- a/package/python-tomli/python-tomli.hash > >>> +++ b/package/python-tomli/python-tomli.hash > >>> @@ -1,5 +1,5 @@ > >>> # md5, sha256 from https://pypi.org/pypi/tomli/json > >>> -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > >>> -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > >>> +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > >>> +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > >>> # Locally computed sha256 checksums > >>> sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > >>> diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > >>> index b8c20ca736..b803d67466 100644 > >>> --- a/package/python-tomli/python-tomli.mk > >>> +++ b/package/python-tomli/python-tomli.mk > >>> @@ -4,12 +4,13 @@ > >>> # > >>> ################################################################################ > >>> > >>> -PYTHON_TOMLI_VERSION = 1.2.0 > >>> +PYTHON_TOMLI_VERSION = 2.0.1 > >>> PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > >>> -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > >>> -PYTHON_TOMLI_SETUP_TYPE = distutils > >>> +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > >>> PYTHON_TOMLI_LICENSE = MIT > >>> PYTHON_TOMLI_LICENSE_FILES = LICENSE > >>> +PYTHON_TOMLI_SETUP_TYPE = flit > >>> +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > >>> > >>> $(eval $(python-package)) > >>> $(eval $(host-python-package)) From arnout at mind.be Wed Apr 27 07:19:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:19:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop versioned layout In-Reply-To: <87bkwnk1tp.fsf@dell.be.48ers.dk> References: <20220406172934.4009018-1-fontaine.fabrice@gmail.com> <9406710d-ed6f-d0cd-4a7a-60480a4d4872@mind.be> <87bkwnk1tp.fsf@dell.be.48ers.dk> Message-ID: <3cb2c8da-dcb7-3898-c73f-b6e919cf857c@mind.be> On 26/04/2022 22:49, Peter Korsgaard wrote: >>>>>> "Arnout" == Arnout Vandecappelle writes: > > > On 06/04/2022 19:29, Fabrice Fontaine wrote: > >> boost.m4 embedded by cc-tool is not able to find boost libraries when > >> they are versionned (e.g. libboost_program_options-gcc9-mt-sd-1_78.a): > >> configure: error: cannot find the flags to link with Boost > >> program_options > >> azmq and i2pd also have the same issue: > >> CMake Error at > >> /nvmedata/autobuild/instance-8/output-1/host/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 > >> (message): > >> Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time thread > >> chrono random) (Required is at least version "1.48") > >> So drop versioned layout option > > > This is probably going to cause problems for some custom packages > > that have a simple build system that assumes the versioned layout. Oh > > well, bad luck. > > So what do we do for 2022.02.x? We presumably have the same issue > there. Drop it as well? I wouldn't do that. People already using the option now apparently don't have a problem with it, so we're not fixing anything for them. People who don't use the option will not run into the problem either. So the only problem is for people who are starting a new project based on the LTS branch. For them, perhaps we can just update the prompt with " (broken, do not use!)" ? Regards, Arnout From james.hilliard1 at gmail.com Wed Apr 27 07:21:05 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 01:21:05 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pep517: migrate setup type to flit In-Reply-To: <69c6a8fb-0d05-0ae9-4c7d-b76e388f2958@mind.be> References: <20220426012311.1738027-1-james.hilliard1@gmail.com> <69c6a8fb-0d05-0ae9-4c7d-b76e388f2958@mind.be> Message-ID: On Wed, Apr 27, 2022 at 1:10 AM Arnout Vandecappelle wrote: > > > > On 26/04/2022 03:23, James Hilliard wrote: > > This package is moving to flit, we need to use flit-bootstrap > > since host-python-pypa-build depends on host-python-pep517. > > But that only becomes relevant when we bump the version to something which > drops distutils support, right? Yeah, it will be required soon though it seems: https://github.com/pypa/pep517/blob/v0.12.0/pyproject.toml#L2 The distutils support in pep517 is coming from the deprecated flit distutils generator compatibility feature. > > Of course, we can merge this patch now already, that's not what I'm saying. > But the commit message says "we need to" which is not entirely correct. It's > more like "we'll have to". Right? The "we need to" part was referring to having to use the special flit-bootstrap setup type instead of the regular flit setup type, not that this is immediately needed by pep517, I may not have worded that clearly I guess. > > Regards, > Arnout > > > > > Signed-off-by: James Hilliard > > --- > > package/python-pep517/python-pep517.mk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/package/python-pep517/python-pep517.mk b/package/python-pep517/python-pep517.mk > > index 99aa62d51d..45c4f8dd39 100644 > > --- a/package/python-pep517/python-pep517.mk > > +++ b/package/python-pep517/python-pep517.mk > > @@ -9,7 +9,7 @@ PYTHON_PEP517_SOURCE = pep517-$(PYTHON_PEP517_VERSION).tar.gz > > PYTHON_PEP517_SITE = https://files.pythonhosted.org/packages/0a/65/6e656d49c679136edfba25f25791f45ffe1ea4ae2ec1c59fe9c35e061cd1 > > PYTHON_PEP517_LICENSE = MIT > > PYTHON_PEP517_LICENSE_FILES = LICENSE > > -PYTHON_PEP517_SETUP_TYPE = distutils > > +PYTHON_PEP517_SETUP_TYPE = flit-bootstrap > > HOST_PYTHON_PEP517_DEPENDENCIES = host-python-tomli > > > > $(eval $(host-python-package)) From james.hilliard1 at gmail.com Wed Apr 27 07:25:41 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 01:25:41 -0600 Subject: [Buildroot] [PATCH v2 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency Message-ID: <20220427072541.4082648-1-james.hilliard1@gmail.com> Fixes: - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 Signed-off-by: James Hilliard --- Changes v1 -> v2: - add comment when !BR2_LINUX_KERNEL --- package/wilc-driver/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in index caf46ae281..24a7b05b17 100644 --- a/package/wilc-driver/Config.in +++ b/package/wilc-driver/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_WILC_DRIVER bool "wilc kernel module" + depends on BR2_LINUX_KERNEL help External kernel module for WILC1000/3000 devices. @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER https://github.com/embeddedTS/wilc3000-external-module +comment "wilc kernel module needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + if BR2_PACKAGE_WILC_DRIVER config BR2_PACKAGE_WILC_DRIVER_SPI -- 2.25.1 From arnout at mind.be Wed Apr 27 07:28:24 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:28:24 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/go: add support for riscv64 architecture In-Reply-To: References: <20220414204922.866533-1-christian@paral.in> <55c0f7da-0907-b920-5a9b-33a82dcdb32b@mind.be> Message-ID: <7bd523ca-a336-d0df-72f8-2b87ffbd9104@mind.be> On 27/04/2022 02:55, Christian Stewart wrote: > Arnout, > > On Thu, Apr 21, 2022 at 12:54 PM Arnout Vandecappelle wrote: >> On 14/04/2022 22:49, Christian Stewart via buildroot wrote: >>> +GOARCH is set when calling mkbuildcfg, so go1.4 is trying to compile riscv64. >> >> You SoB is missing. > > Go's repository disallows signed-off-by lines. > >> Also, the reference to the upstream PR is missing. And you should probably >> refer to gerrit instead. > > Same issue: I've format-patch the exact patch sent upstream, without changes. > > Do I modify it specifically for this patch in Buildroot? Exactly. Alternatively, you can use GO_PATCH = ... to download the upstream patch (cfr. how it's done in zfs). In that case, you also need to add a hash for it. We currently don't use that method very often but I think it's a good one in fact. >>> diff --git a/package/go/Config.in.host b/package/go/Config.in.host >>> index e82ab6e81a..8be86103ea 100644 >>> --- a/package/go/Config.in.host >>> +++ b/package/go/Config.in.host >>> @@ -5,7 +5,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS >>> depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS >>> depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ >>> || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ >>> - || BR2_mips64 || BR2_mips64el || BR2_s390x >>> + || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x >> >> Here you enable it both for riscv32 and riscv64, but below you always set >> GOARCH to riscv64. > > I'm not sure if it was in this patch revision, but I have in my local version: > > # Go doesn't support Risc-v 32-bit. > depends on !BR2_RISCV_32 That is indeed missing from this patch. >> Also, are you sure it doesn't need any of the ISA extensions? I can imagine >> that Go would be using atomics, floating point and integer >> multiplication/division. Of course, there's almost no chance of finding a >> riscv64 without these extensions, but better be correct, right? > > Probably yes. Is there an easy way to find out, or should we just depend on all of them? >> Also, does Go support all three ABI types (integer, single precision and >> double precision)? Again, we only ever test lp64d in the autobuilders, but >> better be correct, right? > > There's only one riscv64 target for Go so I have to assume it means lp64d. Please add that to the BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS dependencies. Regards, Arnout > > Note: I have now tested this extensively on a Nezha Risc-v CPU as well > as a Qemu VM. > > https://github.com/skiffos/buildroot/blob/e1fc20cf9/package/go/Config.in.host#L12 > > Best, > Christian Stewart From nicolas.cavallari at green-communications.fr Wed Apr 27 07:22:45 2022 From: nicolas.cavallari at green-communications.fr (Nicolas Cavallari) Date: Wed, 27 Apr 2022 09:22:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgit2: bump version to 1.4.3 Message-ID: <20220427072245.3610-1-nicolas.cavallari@green-communications.fr> git added restrictions on config files to fix CVE 2022-24765. libgit2 adopted these changes for compatibility reasons, even if the vuln is not exploitable in libgit2. https://github.com/libgit2/libgit2/releases/tag/v1.4.3 Signed-off-by: Nicolas Cavallari --- package/libgit2/libgit2.hash | 2 +- package/libgit2/libgit2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libgit2/libgit2.hash b/package/libgit2/libgit2.hash index ada411ea22..3b5837f789 100644 --- a/package/libgit2/libgit2.hash +++ b/package/libgit2/libgit2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 901c2b4492976b86477569502a41c31b274b69adc177149c02099ea88404ef19 libgit2-1.4.2.tar.gz +sha256 f48b961e463a9e4e7e7e58b21a0fb5a9b2a1d24d9ba4d15870a0c9b8ad965163 libgit2-1.4.3.tar.gz sha256 0092f24acc306ee3287dc05b5e85cb9e0e48cd3f11c60c4625b1a673a5912616 COPYING diff --git a/package/libgit2/libgit2.mk b/package/libgit2/libgit2.mk index e94dd9c370..3f1e6e1593 100644 --- a/package/libgit2/libgit2.mk +++ b/package/libgit2/libgit2.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBGIT2_VERSION = 1.4.2 +LIBGIT2_VERSION = 1.4.3 LIBGIT2_SITE = $(call github,libgit2,libgit2,v$(LIBGIT2_VERSION)) LIBGIT2_LICENSE = GPL-2.0 with linking exception, MIT (sha1), wildmatch license (wildmatch), CC0-1.0 (xoroshiro256) LIBGIT2_LICENSE_FILES = COPYING -- 2.36.0 From arnout at mind.be Wed Apr 27 07:33:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:33:17 +0200 Subject: [Buildroot] [PATCH 1/2] boot/opensbi: Bump to version 1.0 In-Reply-To: References: <20220401063930.2158692-1-alistair.francis@opensource.wdc.com> Message-ID: <2c4e6c15-2dbb-6945-4348-c9094392eb24@mind.be> On 27/04/2022 07:41, Alistair Francis wrote: > On Fri, Apr 1, 2022 at 4:39 PM Alistair Francis > wrote: >> >> From: Alistair Francis >> >> Signed-off-by: Alistair Francis > > Ping! This patch didn't make it to patchwork, and I also don't find it in my mailbox. Maybe it didn't even make it to the mailing list? Can you resend please? Regards, Arnout > > Alistair > >> --- >> ...Makefile-Don-t-specify-mabi-or-march.patch | 37 ------------- >> ...Makefile-unconditionally-disable-SSP.patch | 53 ------------------- >> boot/opensbi/Config.in | 4 +- >> boot/opensbi/opensbi.hash | 2 +- >> 4 files changed, 3 insertions(+), 93 deletions(-) >> delete mode 100644 boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch >> delete mode 100644 boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch >> >> diff --git a/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch b/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch >> deleted file mode 100644 >> index 5f554a6c24..0000000000 >> --- a/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch >> +++ /dev/null >> @@ -1,37 +0,0 @@ >> -From f5871e1f3650d6c8a032928cb5d8ca00c275c377 Mon Sep 17 00:00:00 2001 >> -From: Alistair Francis >> -Date: Fri, 15 Feb 2019 14:57:41 -0800 >> -Subject: [PATCH] Makefile: Don't specify mabi or march >> - >> -To avoid >> - can't link double-float modules with soft-float modules >> -errors when building 32-bit openSBI don't specify mabi or march. >> - >> -Signed-off-by: Alistair Francis >> ---- >> - Makefile | 2 -- >> - 1 file changed, 2 deletions(-) >> - >> -diff --git a/Makefile b/Makefile >> -index ae68f55..10851fc 100644 >> ---- a/Makefile >> -+++ b/Makefile >> -@@ -145,7 +145,6 @@ GENFLAGS += $(firmware-genflags-y) >> - CFLAGS = -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 >> - CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls >> - CFLAGS += -mno-save-restore -mstrict-align >> --CFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) >> - CFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL) >> - CFLAGS += $(GENFLAGS) >> - CFLAGS += $(platform-cflags-y) >> -@@ -158,7 +157,6 @@ CPPFLAGS += $(firmware-cppflags-y) >> - ASFLAGS = -g -Wall -nostdlib -D__ASSEMBLY__ >> - ASFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls >> - ASFLAGS += -mno-save-restore -mstrict-align >> --ASFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) >> - ASFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL) >> - ASFLAGS += $(GENFLAGS) >> - ASFLAGS += $(platform-asflags-y) >> --- >> -2.20.1 >> - >> diff --git a/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch b/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch >> deleted file mode 100644 >> index c4edd37f1a..0000000000 >> --- a/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch >> +++ /dev/null >> @@ -1,53 +0,0 @@ >> -From e389d5fbc296e496db15368b2b621e0f178f7f34 Mon Sep 17 00:00:00 2001 >> -From: Fabrice Fontaine >> -Date: Sat, 8 May 2021 21:28:10 +0200 >> -Subject: [PATCH] Makefile: unconditionally disable SSP >> - >> -Though -nostdlib is passed in {C,+AS,DTSCPP}FLAGS, -fno-stack-protector >> -must also be passed to avoid linking errors related to undefined >> -references to '__stack_chk_guard' and '__stack_chk_fail' if toolchain >> -enforces -fstack-protector. >> - >> -Fixes: >> - - https://gitlab.com/kubu93/buildroot/-/jobs/1247043359 >> - >> -Signed-off-by: Fabrice Fontaine >> -[Upstream status: https://github.com/riscv/opensbi/pull/211] >> ---- >> - Makefile | 6 +++--- >> - 1 file changed, 3 insertions(+), 3 deletions(-) >> - >> -diff --git a/Makefile b/Makefile >> -index eeffe6b..1419360 100644 >> ---- a/Makefile >> -+++ b/Makefile >> -@@ -203,7 +203,7 @@ GENFLAGS += $(libsbiutils-genflags-y) >> - GENFLAGS += $(platform-genflags-y) >> - GENFLAGS += $(firmware-genflags-y) >> - >> --CFLAGS = -g -Wall -Werror -ffreestanding -nostdlib -fno-strict-aliasing -O2 >> -+CFLAGS = -g -Wall -Werror -ffreestanding -nostdlib -fno-stack-protector -fno-strict-aliasing -O2 >> - CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls >> - CFLAGS += -mno-save-restore -mstrict-align >> - CFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) >> -@@ -217,7 +217,7 @@ CPPFLAGS += $(GENFLAGS) >> - CPPFLAGS += $(platform-cppflags-y) >> - CPPFLAGS += $(firmware-cppflags-y) >> - >> --ASFLAGS = -g -Wall -nostdlib -D__ASSEMBLY__ >> -+ASFLAGS = -g -Wall -nostdlib -fno-stack-protector -D__ASSEMBLY__ >> - ASFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls >> - ASFLAGS += -mno-save-restore -mstrict-align >> - ASFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) >> -@@ -236,7 +236,7 @@ MERGEFLAGS += -r >> - MERGEFLAGS += -b elf$(PLATFORM_RISCV_XLEN)-littleriscv >> - MERGEFLAGS += -m elf$(PLATFORM_RISCV_XLEN)lriscv >> - >> --DTSCPPFLAGS = $(CPPFLAGS) -nostdinc -nostdlib -fno-builtin -D__DTS__ -x assembler-with-cpp >> -+DTSCPPFLAGS = $(CPPFLAGS) -nostdinc -nostdlib -fno-stack-protector -fno-builtin -D__DTS__ -x assembler-with-cpp >> - >> - # Setup functions for compilation >> - define dynamic_flags >> --- >> -2.30.2 >> - >> diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in >> index f1443498d9..1e1bdc344b 100644 >> --- a/boot/opensbi/Config.in >> +++ b/boot/opensbi/Config.in >> @@ -19,7 +19,7 @@ choice >> Select the specific OpenSBI version you want to use >> >> config BR2_TARGET_OPENSBI_LATEST_VERSION >> - bool "0.9" >> + bool "1.0" >> >> config BR2_TARGET_OPENSBI_CUSTOM_VERSION >> bool "Custom version" >> @@ -57,7 +57,7 @@ endif >> >> config BR2_TARGET_OPENSBI_VERSION >> string >> - default "0.9" if BR2_TARGET_OPENSBI_LATEST_VERSION >> + default "1.0" if BR2_TARGET_OPENSBI_LATEST_VERSION >> default BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE \ >> if BR2_TARGET_OPENSBI_CUSTOM_VERSION >> default "custom" if BR2_TARGET_OPENSBI_CUSTOM_TARBALL >> diff --git a/boot/opensbi/opensbi.hash b/boot/opensbi/opensbi.hash >> index 3b6d97c42d..1a626e6357 100644 >> --- a/boot/opensbi/opensbi.hash >> +++ b/boot/opensbi/opensbi.hash >> @@ -1,3 +1,3 @@ >> # locally computed >> -sha256 60f995cb3cd03e3cf5e649194d3395d0fe67499fd960a36cf7058a4efde686f0 opensbi-0.9.tar.gz >> +sha256 a5efaeb24f5ee88d13d5788e4e00623ff312ee12c0bf736aa75a6ad9a850fb76 opensbi-1.0.tar.gz >> sha256 82d13fb1bf6bb162629deeea9eb9c117e74548d3b707e478967691fe79a68e21 COPYING.BSD >> -- >> 2.35.1 >> > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From james.hilliard1 at gmail.com Wed Apr 27 07:43:21 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 01:43:21 -0600 Subject: [Buildroot] [PATCH 1/1] package/nodejs: add missing host-pkgconf dependency Message-ID: <20220427074321.37979-1-james.hilliard1@gmail.com> Fixes: - http://autobuild.buildroot.net/results/d1f/d1f49b451b56e3cf6a97d27e8db5b85b0cb58ca9 Signed-off-by: James Hilliard --- package/nodejs/nodejs.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2e41c11dbd..4fe34e0aad 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -7,10 +7,11 @@ NODEJS_VERSION = 14.18.3 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) -NODEJS_DEPENDENCIES = host-qemu host-python3 host-nodejs c-ares \ +NODEJS_DEPENDENCIES = host-qemu host-pkgconf host-python3 host-nodejs c-ares \ libuv zlib nghttp2 \ $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python3 host-zlib +HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-pkgconf host-python3 \ + host-zlib NODEJS_INSTALL_STAGING = YES NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE -- 2.25.1 From aperez at igalia.com Wed Apr 27 08:17:44 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Wed, 27 Apr 2022 11:17:44 +0300 Subject: [Buildroot] [PATCH 1/1] package/brotli: workaround m68k build issues Message-ID: <20220427081744.116766-1-aperez@igalia.com> On m68k building with optimizations results in failures such as: /tmp/cckiMnG5.s: Assembler messages: /tmp/cckiMnG5.s:142572: Error: value -39206 out of range /tmp/cckiMnG5.s:142629: Error: value -40282 out of range /tmp/cckiMnG5.s:146408: Error: value -53294 out of range /tmp/cckiMnG5.s:159014: Error: value -39206 out of range /tmp/cckiMnG5.s:159071: Error: value -40282 out of range /tmp/cckiMnG5.s:162850: Error: value -53294 out of range /tmp/cckiMnG5.s:175456: Error: value -39206 out of range /tmp/cckiMnG5.s:175513: Error: value -40282 out of range /tmp/cckiMnG5.s:179292: Error: value -53294 out of range /tmp/cckiMnG5.s:191898: Error: value -39206 out of range /tmp/cckiMnG5.s:191955: Error: value -40282 out of range /tmp/cckiMnG5.s:195734: Error: value -53294 out of range These only appear when building with -O2, the smaller code generated with -Os does not cause trouble, so workaround by using that. Fixes: http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db/ Signed-off-by: Adrian Perez de Castro --- package/brotli/brotli.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/brotli/brotli.mk b/package/brotli/brotli.mk index 43c8524c0b..ac49fe664f 100644 --- a/package/brotli/brotli.mk +++ b/package/brotli/brotli.mk @@ -21,6 +21,12 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) BROTLI_CFLAGS += -O0 endif +# Workaround "Error: value -1234 out of range" assembler issues +# when building with optimizations. +ifeq ($(BR2_m68k),y) +BROTLI_CFLAGS += -Os +endif + BROTLI_CONF_OPTS += -DCMAKE_C_FLAGS="$(BROTLI_CFLAGS)" $(eval $(cmake-package)) -- 2.36.0 From aperez at igalia.com Wed Apr 27 08:22:01 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Wed, 27 Apr 2022 11:22:01 +0300 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-26 In-Reply-To: <20220427044100.5EBFF60E53@smtp3.osuosl.org> References: <20220427044100.5EBFF60E53@smtp3.osuosl.org> Message-ID: <20220427112201.GB584565@momiji> Hello, On Wed, 27 Apr 2022 04:40:55 +0000 Thomas Petazzoni via buildroot wrote: > Detail of failures for master > ----------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > > [...] > > m68k | brotli-1.0.9 | NOK | http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db | As with previous m68k related fixups, this can be workarounded by switching from -O2 (problematic) to -Os (and generated code still looks reasonably good to me, though I am very far from being an expert with this architecture). Fix submitted here: https://patchwork.ozlabs.org/project/buildroot/patch/20220427081744.116766-1-aperez at igalia.com/ Cheers, ?Adri?n -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From thomas.petazzoni at bootlin.com Wed Apr 27 08:31:02 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 27 Apr 2022 10:31:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <20220427035039.1664864-1-james.hilliard1@gmail.com> References: <20220427035039.1664864-1-james.hilliard1@gmail.com> Message-ID: <20220427103102.7f934c1f@windsurf> Hello James, On Tue, 26 Apr 2022 21:50:39 -0600 James Hilliard wrote: > Libressl is no longer supported as of python 3.10. > > See: https://peps.python.org/pep-0644/#libressl > > Fixes: > - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 > > Signed-off-by: James Hilliard Thanks for your patch. I think it raises one question: is libressl still relevant? Should we still support it? My understanding was that it is not really a successful fork, and in the end, openssl has mostly caught up and remains the de-facto standard implementation. See https://lwn.net/Articles/841664/. I don't have a very well-informed opinion, but perhaps we should think about this? Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From james.hilliard1 at gmail.com Wed Apr 27 08:32:40 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 02:32:40 -0600 Subject: [Buildroot] [PATCH 1/1] package/meson: bump to version 0.62.1 Message-ID: <20220427083240.1081081-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/meson/meson.hash | 4 ++-- package/meson/meson.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/meson/meson.hash b/package/meson/meson.hash index 38fa43f6dc..2037c46bbc 100644 --- a/package/meson/meson.hash +++ b/package/meson/meson.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://github.com/mesonbuild/meson/releases/download/0.62.0/meson-0.62.0.tar.gz.asc -sha256 06f8c1cfa51bfdb533c82623ffa524cacdbea02ace6d709145e33aabdad6adcb meson-0.62.0.tar.gz +# https://github.com/mesonbuild/meson/releases/download/0.62.1/meson-0.62.1.tar.gz.asc +sha256 a0f5caa1e70da12d5e63aa6a9504273759b891af36c8d87de381a4ed1380e845 meson-0.62.1.tar.gz sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING diff --git a/package/meson/meson.mk b/package/meson/meson.mk index 13adc2f2b1..6d55f19402 100644 --- a/package/meson/meson.mk +++ b/package/meson/meson.mk @@ -4,7 +4,7 @@ # ################################################################################ -MESON_VERSION = 0.62.0 +MESON_VERSION = 0.62.1 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) MESON_LICENSE = Apache-2.0 MESON_LICENSE_FILES = COPYING -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 27 08:42:08 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 02:42:08 -0600 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <20220427103102.7f934c1f@windsurf> References: <20220427035039.1664864-1-james.hilliard1@gmail.com> <20220427103102.7f934c1f@windsurf> Message-ID: On Wed, Apr 27, 2022 at 2:31 AM Thomas Petazzoni wrote: > > Hello James, > > On Tue, 26 Apr 2022 21:50:39 -0600 > James Hilliard wrote: > > > Libressl is no longer supported as of python 3.10. > > > > See: https://peps.python.org/pep-0644/#libressl > > > > Fixes: > > - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 > > > > Signed-off-by: James Hilliard > > Thanks for your patch. I think it raises one question: is libressl > still relevant? Should we still support it? Well it's still actively maintained at least. > > My understanding was that it is not really a successful fork, and in > the end, openssl has mostly caught up and remains the de-facto standard > implementation. See https://lwn.net/Articles/841664/. We do support a number of other rather uncommon ssl implementations in general, and at least it's easy enough to disable for unsupported configurations. > > I don't have a very well-informed opinion, but perhaps we should think > about this? Yeah, not really sure, it may be useful to keep around, I think it has an alternative updated API to openssl's updated API that may be desirable for some use cases, although probably not the most commonly used. > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com From etienne.carriere at linaro.org Wed Apr 27 09:45:59 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:45:59 +0200 Subject: [Buildroot] [PATCH 1/5] boot/optee-os: bump to version 3.17.0 Message-ID: <20220427094608.16698-1-etienne.carriere@linaro.org> Bump OP-TEE OS package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in index 30b6f62434..fb8a189a75 100644 --- a/boot/optee-os/Config.in +++ b/boot/optee-os/Config.in @@ -18,7 +18,7 @@ choice Select the version of OP-TEE OS you want to use config BR2_TARGET_OPTEE_OS_LATEST - bool "3.16.0" + bool "3.17.0" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY help @@ -52,7 +52,7 @@ endif config BR2_TARGET_OPTEE_OS_VERSION string - default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST + default "3.17.0" if BR2_TARGET_OPTEE_OS_LATEST default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ if BR2_TARGET_OPTEE_OS_CUSTOM_GIT diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash index d3a2637a4e..5c1047bac3 100644 --- a/boot/optee-os/optee-os.hash +++ b/boot/optee-os/optee-os.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_os/archive/3.16.0/optee-os-3.16.0.tar.gz -sha256 ebc8e18ad2039ee97c34f74a7546de9119e26f04c368b6c7fd0c55f93d33d2d6 optee-os-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_os/archive/3.17.0/optee-os-3.16.0.tar.gz +sha256 5d5a3bda83abddfeb5ee765a15525f23adf2709ba2475a05e0c5f25790c1883f optee-os-3.17.0.tar.gz # Locally computed sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE -- 2.17.1 From etienne.carriere at linaro.org Wed Apr 27 09:46:00 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:46:00 +0200 Subject: [Buildroot] [PATCH 2/5] package/optee-client: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: <20220427094608.16698-2-etienne.carriere@linaro.org> Bump OP-TEE Client package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- package/optee-client/optee-client.hash | 4 ++-- package/optee-client/optee-client.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-client/optee-client.hash b/package/optee-client/optee-client.hash index ff90f6d2a8..d2efb1043a 100644 --- a/package/optee-client/optee-client.hash +++ b/package/optee-client/optee-client.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_client/archive/3.16.0/optee-client-3.16.0.tar.gz -sha256 cba92bedc9f8c39c19e50a22259066eaad5ceb248308edee27e221f11f5d8064 optee-client-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_client/archive/3.17.0/optee-client-3.17.0.tar.gz +sha256 bf62ceaac59e8a650abf7632e702b5929335f4974f3173f8c51900cb0f91660f optee-client-3.17.0.tar.gz # Locally computed sha256 fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f LICENSE diff --git a/package/optee-client/optee-client.mk b/package/optee-client/optee-client.mk index 2cadc564f0..aaf072b40f 100644 --- a/package/optee-client/optee-client.mk +++ b/package/optee-client/optee-client.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_CLIENT_VERSION = 3.16.0 +OPTEE_CLIENT_VERSION = 3.17.0 OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION)) OPTEE_CLIENT_LICENSE = BSD-2-Clause OPTEE_CLIENT_LICENSE_FILES = LICENSE -- 2.17.1 From etienne.carriere at linaro.org Wed Apr 27 09:46:01 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:46:01 +0200 Subject: [Buildroot] [PATCH 3/5] package/optee-test: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: <20220427094608.16698-3-etienne.carriere@linaro.org> Bump OP-TEE test package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- package/optee-test/optee-test.hash | 4 ++-- package/optee-test/optee-test.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-test/optee-test.hash b/package/optee-test/optee-test.hash index c42e922d90..7f2c4110db 100644 --- a/package/optee-test/optee-test.hash +++ b/package/optee-test/optee-test.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_test/archive/3.16.0/optee-test-3.16.0.tar.gz -sha256 b24a3871605a341fa87e6d4e111f97001f11a72c025e75d6739ed78841b6acba optee-test-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_test/archive/3.17.0/optee-test-3.17.0.tar.gz +sha256 5b0555b6fef926f8a0a471285cb4c264407c9be32461836240b3c412bf7933bb optee-test-3.17.0.tar.gz # Locally computed sha256 6e6810981f0ddab9e0d44399d0700a15d9f760a3c2843cc866659c2074139ae7 LICENSE.md diff --git a/package/optee-test/optee-test.mk b/package/optee-test/optee-test.mk index 7b27558b36..3a5670d26b 100644 --- a/package/optee-test/optee-test.mk +++ b/package/optee-test/optee-test.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_TEST_VERSION = 3.16.0 +OPTEE_TEST_VERSION = 3.17.0 OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION)) OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause, OPTEE_TEST_LICENSE_FILES = LICENSE.md -- 2.17.1 From etienne.carriere at linaro.org Wed Apr 27 09:46:02 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:46:02 +0200 Subject: [Buildroot] [PATCH 4/5] package/optee-examples: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: <20220427094608.16698-4-etienne.carriere@linaro.org> Bump OP-TEE Examples package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- package/optee-examples/optee-examples.hash | 4 ++-- package/optee-examples/optee-examples.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-examples/optee-examples.hash b/package/optee-examples/optee-examples.hash index 9228fb39d2..0433c72752 100644 --- a/package/optee-examples/optee-examples.hash +++ b/package/optee-examples/optee-examples.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_examples/archive/3.16.0/optee-examples-3.16.0.tar.gz -sha256 45e06dc5520f3097cc124434acafc26b8db28db87df62f3ad2ddff06cacce969 optee-examples-3.16.0.tar.gz +# From https://github.com/linaro-swg/optee_examples/archive/3.17.0/optee-examples-3.17.0.tar.gz +sha256 03d18a0439cfe99ed1ceefc9af000b39b28424c8747e0d92a2701e7fbb6c519a optee-examples-3.17.0.tar.gz # Locally computed sha256 6f1ef8449cb82ae79d2155605f7985bdf0f08e7ab5007de9b4362e8bf28733b9 LICENSE diff --git a/package/optee-examples/optee-examples.mk b/package/optee-examples/optee-examples.mk index 31e5f260df..ebb0688af5 100644 --- a/package/optee-examples/optee-examples.mk +++ b/package/optee-examples/optee-examples.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_EXAMPLES_VERSION = 3.16.0 +OPTEE_EXAMPLES_VERSION = 3.17.0 OPTEE_EXAMPLES_SITE = $(call github,linaro-swg,optee_examples,$(OPTEE_EXAMPLES_VERSION)) OPTEE_EXAMPLES_LICENSE = BSD-2-Clause OPTEE_EXAMPLES_LICENSE_FILES = LICENSE -- 2.17.1 From etienne.carriere at linaro.org Wed Apr 27 09:46:03 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:46:03 +0200 Subject: [Buildroot] [PATCH 5/5] package/optee-benchmark: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: <20220427094608.16698-5-etienne.carriere@linaro.org> Bump OP-TEE Benchmark package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- package/optee-benchmark/optee-benchmark.hash | 4 ++-- package/optee-benchmark/optee-benchmark.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-benchmark/optee-benchmark.hash b/package/optee-benchmark/optee-benchmark.hash index 2e75b4ff8e..54981c9d2c 100644 --- a/package/optee-benchmark/optee-benchmark.hash +++ b/package/optee-benchmark/optee-benchmark.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_benchmark/archive/3.16.0/optee-benchmark-3.16.0.tar.gz -sha256 55b24525f08ffda6799f90ab7bab2125f1c3f17d5cbd1b34480cd28b5f46fca9 optee-benchmark-3.16.0.tar.gz +# From https://github.com/linaro-swg/optee_benchmark/archive/3.17.0/optee-benchmark-3.17.0.tar.gz +sha256 50a4623a4c34909e722d403381e4077c84d7189ab3a7ed57a402a3461bee13e3 optee-benchmark-3.17.0.tar.gz # Locally computed sha256 0571be5b739142dc3e40e0a4e7e30d4ab8bff0d4d606a3f2db2010745587d383 LICENSE diff --git a/package/optee-benchmark/optee-benchmark.mk b/package/optee-benchmark/optee-benchmark.mk index 493f407a44..1f5e01b868 100644 --- a/package/optee-benchmark/optee-benchmark.mk +++ b/package/optee-benchmark/optee-benchmark.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_BENCHMARK_VERSION = 3.16.0 +OPTEE_BENCHMARK_VERSION = 3.17.0 OPTEE_BENCHMARK_SITE = $(call github,linaro-swg,optee_benchmark,$(OPTEE_BENCHMARK_VERSION)) OPTEE_BENCHMARK_LICENSE = BSD-2-Clause OPTEE_BENCHMARK_LICENSE_FILES = LICENSE -- 2.17.1 From arnout at mind.be Wed Apr 27 11:44:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 13:44:59 +0200 Subject: [Buildroot] press request In-Reply-To: References: <82d17f75-915d-485f-9353-f091fb3576e8.8d5b84c6-3d2e-4c12-b2dd-1cea205060bd.05b36973-3f8d-47c8-982b-7fde04d5179e@emailsignatures365.codetwo.com> Message-ID: Hi Jens-Christoph, On 27/04/2022 09:15, Jens-Christoph Brendel wrote: > Hello everybody, > > We, the German Linux magazine, are planning a focus on Linux distributions for > the IoT in the 07/22 issue. One of them we have in mind is Buildroot. We are > therefore looking for an author who can introduce Buildroot to our readers in an > article. Sounds really interesting! I think Buildroot can use the publicity. I'd be willing to write such an article. > Such an article should be four to six pages (about 4000 characters > each) and cover questions such as: > > - What is Buildroot? (main purpose, target audience, compatibility) > > - Scope of services > > - Differences and similarities compared to similar operating systems For this part, it would be useful to know which other distros etc. you're going to include in that issue. > - Advantages and disadvantages > > - Examples of use > > We need the text no later than June 1. It would be better if you can manage to > deliver a few days earlier, because then we will have more time to discuss > details, if necessary.A plain text file (ISO8859-1, aka Latin1) is perfect. > Illustrations (at least one per page) should be delivered as separate image files. Finding useful/suitable illustrations is always difficult... > The target audience consists of IT professionals, developers, administrators and > IT managers. So we don't explain the basics. On the other hand, your reader may > not know much about Buildroot. Imagine a person looking for an operating system > for an IoT project. The author will give her all the details she needs to make > an informed decision. > > Is there anyone out there who would like and have the time to write such an > article for us? We would pay 80 Euro per printed page. Please contact me at > jens-christoph.brendel at computec.de. I'm answering publicly because I think it's best if the Buildroot community aligns on who will write this article. If there are other candidates, we can decide who is most suited, or collaborate on it. Would it be allowed to publish the text on the mailing list before hand in order to have some review feedback on it from the community? I guess anybody who's subscribed to the mailing list or can find the archives is probably not in the target audience anyway. In a similar vein, would it be allowed to republish the text (no earlier than August, I assume) in another venue, e.g. LWN.net? And on a personal level, would it be OK to include a box text introducing myself and my employer? Regards, Arnout > > Many thanks in advance > > Jens-Christoph > > . . . . > Disclaimer: The recipient acknowledges that Computec Media GmbH is unable to > exercise control over the content of information contained in transmissions made > via the Internet. Computec Media GmbH hereby excludes any warranty, written or > implied, as to the quality or accuracy of any information contained in this > message and any liability of any kind for the information contained, therein, or > for its transmission, reception, storage or usage in any way, whatsoever. > Sitz der Gesellschaft und Registergericht: F?rth (HRB 14364) Gesch?ftsf?hrer: > Christian M?ller, Rainer Rosenbusch Umsatzsteuer-Identifikationsnummer: DE812575276 > Informationen zur Datenverarbeitung und Datenschutz: > https://www.computec.de/datenschutz > . . . . > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From noahhuetter at gmail.com Wed Apr 27 13:14:00 2022 From: noahhuetter at gmail.com (Noah Huetter) Date: Wed, 27 Apr 2022 15:14:00 +0200 Subject: [Buildroot] [PATCH 1/1] boot/opensbi: introduce BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS Message-ID: <20220427131400.223113-1-noahhuetter@gmail.com> Signed-off-by: Noah Huetter --- boot/opensbi/Config.in | 6 ++++++ boot/opensbi/opensbi.mk | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in index f1443498d9..ff095ea800 100644 --- a/boot/opensbi/Config.in +++ b/boot/opensbi/Config.in @@ -119,4 +119,10 @@ config BR2_TARGET_OPENSBI_FW_FDT_PATH must be set in the U-Boot configuration for this file to be produced. +config BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS + string "Custom make options" + help + List of custom make options passed at build time. Can be + used for example to pass a BUILD_INFO= value. + endif diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk index 8e055633a8..d007ae1299 100644 --- a/boot/opensbi/opensbi.mk +++ b/boot/opensbi/opensbi.mk @@ -31,7 +31,8 @@ BR_NO_CHECK_HASH_FOR += $(OPENSBI_SOURCE) endif OPENSBI_MAKE_ENV = \ - CROSS_COMPILE=$(TARGET_CROSS) + CROSS_COMPILE=$(TARGET_CROSS) \ + $(call qstrip,$(BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS)) OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT)) ifneq ($(OPENSBI_PLAT),) -- 2.35.1 From fperrad at gmail.com Wed Apr 27 14:37:12 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 27 Apr 2022 16:37:12 +0200 Subject: [Buildroot] [PATCH] configs/olimex_stmp157: bump Linux and U-Boot Message-ID: <20220427143712.55713-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/olimex_stmp157_olinuxino_lime_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig index f9b31bbdc..a63394fa0 100644 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20220321-v5.10.105 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" +# branch release-20220413-v5.10.105 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d417808c240d55576ee76e5cbb40413ad444ecfd" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -34,8 +34,8 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/OLIMEX/u-boot-olinuxino.git" -# release-20211130, based on 2021.04 -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="1c29714bc643c299e2ed4ba870be8d4538124144" +# release-20220413, based on 2021.04 +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="b39c5a7c93a2d8efaecc9cad4284378af857c3f7" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="STM32-OLinuXino-LIME" # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_IMG=y -- 2.32.0 From arnout at mind.be Wed Apr 27 15:41:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 17:41:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: References: <20220427035039.1664864-1-james.hilliard1@gmail.com> <20220427103102.7f934c1f@windsurf> Message-ID: <2c51f9ba-5d02-17f7-98d0-8a4c1b6dcf79@mind.be> On 27/04/2022 10:42, James Hilliard wrote: > On Wed, Apr 27, 2022 at 2:31 AM Thomas Petazzoni > wrote: >> >> Hello James, >> >> On Tue, 26 Apr 2022 21:50:39 -0600 >> James Hilliard wrote: >> >>> Libressl is no longer supported as of python 3.10. >>> >>> See: https://peps.python.org/pep-0644/#libressl >>> >>> Fixes: >>> - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 >>> >>> Signed-off-by: James Hilliard >> >> Thanks for your patch. I think it raises one question: is libressl >> still relevant? Should we still support it? > > Well it's still actively maintained at least. > >> >> My understanding was that it is not really a successful fork, and in >> the end, openssl has mostly caught up and remains the de-facto standard >> implementation. See https://lwn.net/Articles/841664/. > > We do support a number of other rather uncommon ssl implementations > in general, and at least it's easy enough to disable for unsupported > configurations. > >> >> I don't have a very well-informed opinion, but perhaps we should think >> about this? > > Yeah, not really sure, it may be useful to keep around, I think it has an > alternative updated API to openssl's updated API that may be desirable > for some use cases, although probably not the most commonly used. At that point, however, having libressl as a virtual package alternative for openssl becomes less and less realistic. Virtual packages should only be used if the alternatives can be considered drop-in replacements with compatible API. A few exceptions are acceptable, but it's becoming too much. We should also start thinking what to do with openssl 3. It has an API that is somewhat compatible with openssl 1.1.1, but there are almost no packages that can use it without any changes. This could actually be an opportunity to get aout of this mess: most packages that are not compatible with libressl are probably already compatible with openssl 3. So if we introduce an openssl3 package, we can migrate the packages that don't like libressl to that, and leave the choice between openssl 1.1.1 and libressl for legacy and BSD packages. Regards, Arnout From kris at embeddedTS.com Wed Apr 27 16:50:32 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Wed, 27 Apr 2022 09:50:32 -0700 Subject: [Buildroot] [PATCH v2 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency In-Reply-To: <20220427072541.4082648-1-james.hilliard1@gmail.com> References: <20220427072541.4082648-1-james.hilliard1@gmail.com> Message-ID: <1651078232.2364.2.camel@embeddedTS.com> On Wed, 2022-04-27 at 01:25 -0600, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 > > Signed-off-by: James Hilliard > --- > Changes v1 -> v2: > - add comment when !BR2_LINUX_KERNEL > --- > package/wilc-driver/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in > index caf46ae281..24a7b05b17 100644 > --- a/package/wilc-driver/Config.in > +++ b/package/wilc-driver/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_WILC_DRIVER > bool "wilc kernel module" > + depends on BR2_LINUX_KERNEL > help > External kernel module for WILC1000/3000 devices. > > @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER > > https://github.com/embeddedTS/wilc3000-external-module > > +comment "wilc kernel module needs a Linux kernel to be built" > + depends on !BR2_LINUX_KERNEL > + > if BR2_PACKAGE_WILC_DRIVER > > config BR2_PACKAGE_WILC_DRIVER_SPI I also just wanted to note that this driver in this form has only ever been tested on AT91 and i.MX6UL ARM platforms. It may work on other architectures, but we've not got any hardware setup for that. I'm not sure if this fact would warrant a depends on ARM architecture for now to limit scope or to leave it open for others to test. As-is, the patch looks good to me though. Reviewed-by: Kris Bahnsen From arnout at mind.be Wed Apr 27 17:11:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:11:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/libmdbx: bump version to 0.11.7 In-Reply-To: <20220424235618.471682-1-leo@yuriev.ru> References: <20220424235618.471682-1-leo@yuriev.ru> Message-ID: Hi Leonid, On 25/04/2022 01:56, ?????? ????? (Leonid Yuriev) wrote: > This is stable bugfix release of libmdbx. So it is reasonable to backport > this patch to all applicable releases/branches of buildroot. > I added to the commit message a note that the project has been removed from github, with a reference to a news site [1]. It helps if you clarify that you yourself are the upstream for this project :-) > Release notes for v0.11.7 https://gitflic.ru/project/erthink/libmdbx/release/90ec9985-cd60-4d9a-8c98-8417506fd26d > > The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md > > Signed-off-by: ?????? ????? (Leonid Yuriev) > --- > package/libmdbx/Config.in | 2 +- > package/libmdbx/libmdbx.hash | 4 ++-- > package/libmdbx/libmdbx.mk | 6 +++--- > 3 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/package/libmdbx/Config.in b/package/libmdbx/Config.in > index d13f73938f..2cde7ed5e9 100644 > --- a/package/libmdbx/Config.in > +++ b/package/libmdbx/Config.in > @@ -13,7 +13,7 @@ config BR2_PACKAGE_LIBMDBX > libmdbx surpasses the legendary LMDB in terms of > reliability, features and performance. > > - https://github.com/erthink/libmdbx > + https://gitflic.ru/project/erthink/libmdbx I've changed this to the project's documentation website [2]. > > if BR2_PACKAGE_LIBMDBX > > diff --git a/package/libmdbx/libmdbx.hash b/package/libmdbx/libmdbx.hash > index 2483d14dd1..7d663b3da0 100644 > --- a/package/libmdbx/libmdbx.hash > +++ b/package/libmdbx/libmdbx.hash > @@ -1,5 +1,5 @@ > -# Hashes from: https://github.com/erthink/libmdbx/releases/ > -sha256 884de528f5c2abab2187b7c4c84b769d2551e1a748cbfdf0ae4c0f5c9f8dbd27 libmdbx-amalgamated-0.11.4.tar.gz > +# Hashes from: https://libmdbx.website.yandexcloud.net/release/SHA256SUMS > +sha256 3a9fb6a4cd941e646597235518714373fda1ca6d4c5e23669afe70ea87c20940 libmdbx-amalgamated-0.11.7.tar.xz > > # Locally calculated > sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE > diff --git a/package/libmdbx/libmdbx.mk b/package/libmdbx/libmdbx.mk > index 1aff8fbb4d..a7056b2850 100644 > --- a/package/libmdbx/libmdbx.mk > +++ b/package/libmdbx/libmdbx.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -LIBMDBX_VERSION = 0.11.4 > -LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.gz > -LIBMDBX_SITE = https://github.com/erthink/libmdbx/releases/download/v$(LIBMDBX_VERSION) > +LIBMDBX_VERSION = 0.11.7 > +LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz > +LIBMDBX_SITE = https://libmdbx.website.yandexcloud.net/release I was wondering why you don't use the URLs from gitflic, but I guess the official website is indeed better. Applied to master with those changes, thanks. Regards, Arnout [1] https://blog.desdelinux.net/en/libmdbx-0-11-7-arrives-with-project-migration-to-gitflic-bug-fixes-and-more/ [2] https://libmdbx.website.yandexcloud.net/ > LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO > LIBMDBX_LICENSE = OLDAP-2.8 > LIBMDBX_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 17:12:11 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:12:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/ding-libs: bump to version 0.6.2 In-Reply-To: <20220423154903.155257-1-fontaine.fabrice@gmail.com> References: <20220423154903.155257-1-fontaine.fabrice@gmail.com> Message-ID: <30726643-c858-3394-a788-b24a50ac1a00@mind.be> On 23/04/2022 17:49, Fabrice Fontaine wrote: > - Update site to get latest release > - Update indentation in hash file (two spaces) > > https://github.com/SSSD/ding-libs/releases/tag/0.6.2 > > Signed-off-by: Fabrice Fontaine > --- > package/ding-libs/Config.in | 2 +- > package/ding-libs/ding-libs.hash | 8 +++++--- > package/ding-libs/ding-libs.mk | 5 ++--- > 3 files changed, 8 insertions(+), 7 deletions(-) > > diff --git a/package/ding-libs/Config.in b/package/ding-libs/Config.in > index 64b111e6a1..e4f869728a 100644 > --- a/package/ding-libs/Config.in > +++ b/package/ding-libs/Config.in > @@ -14,7 +14,7 @@ config BR2_PACKAGE_DING_LIBS > initialization format (INI) into a library collection data > structure (libini_config). > > - https://pagure.io/SSSD/ding-libs > + https://github.com/SSSD/ding-libs > > comment "ding-libs needs NLS enabled" > depends on BR2_SYSTEM_ENABLE_NLS This isn't there in master, and I didn't see any other patch on ding-libs. What's going on here? Anyway, applied to master, thanks. Regards, Arnout > diff --git a/package/ding-libs/ding-libs.hash b/package/ding-libs/ding-libs.hash > index 2ac5bd8eee..d5d87faccd 100644 > --- a/package/ding-libs/ding-libs.hash > +++ b/package/ding-libs/ding-libs.hash > @@ -1,4 +1,6 @@ > +# From https://github.com/SSSD/ding-libs/releases/download/0.6.2/ding-libs-0.6.2.tar.gz.sha256sum > +sha256 e5f07f34f5921bcb5ccccfe3751c28497879a6451cd7b395e99e24d9b5728e8d ding-libs-0.6.2.tar.gz > + > # Locally computed > -sha256 ad3c573641701f67d4b6bd8a5a71f0b65d45fd39fe961495ef5f5d3c57fc0963 ding-libs-ding_libs-0_6_1.tar.gz > -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > -sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER > +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > +sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER > diff --git a/package/ding-libs/ding-libs.mk b/package/ding-libs/ding-libs.mk > index 1e8fa59d69..a4ee7351b5 100644 > --- a/package/ding-libs/ding-libs.mk > +++ b/package/ding-libs/ding-libs.mk > @@ -4,10 +4,9 @@ > # > ################################################################################ > > -DING_LIBS_VERSION = 0.6.1 > -DING_LIBS_SOURCE = ding-libs-ding_libs-$(subst .,_,$(DING_LIBS_VERSION)).tar.gz > +DING_LIBS_VERSION = 0.6.2 > DING_LIBS_SITE = \ > - https://pagure.io/SSSD/ding-libs/archive/ding_libs-$(subst .,_,$(DING_LIBS_VERSION)) > + https://github.com/SSSD/ding-libs/releases/download/$(DING_LIBS_VERSION) > DING_LIBS_DEPENDENCIES = host-pkgconf \ > $(TARGET_NLS_DEPENDENCIES) \ > $(if $(BR2_PACKAGE_LIBICONV),libiconv) From arnout at mind.be Wed Apr 27 17:12:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:12:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed In-Reply-To: <20220424081903.3535909-1-fontaine.fabrice@gmail.com> References: <20220424081903.3535909-1-fontaine.fabrice@gmail.com> Message-ID: <1304a657-da69-7a04-4368-baa16040fedb@mind.be> On 24/04/2022 10:19, Fabrice Fontaine wrote: > Link with -latomic if needed to avoid the following build failure since > bump to version 10.5.0 in commit > b5352c2177011ca389cbb7c68e78447549cbdaaa and > https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c: > > /nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()': > QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8' > > Fixes: > - http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/qpdf/qpdf.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk > index 8e0769059d..a58781f4f1 100644 > --- a/package/qpdf/qpdf.mk > +++ b/package/qpdf/qpdf.mk > @@ -32,4 +32,8 @@ else > QPDF_CONF_OPTS += --disable-crypto-openssl > endif > > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +QPDF_CONF_ENV += LIBS=-latomic > +endif > + > $(eval $(autotools-package)) From arnout at mind.be Wed Apr 27 17:12:50 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:12:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptsetup: fix build with argp-standalone In-Reply-To: <20220424191032.3222587-1-fontaine.fabrice@gmail.com> References: <20220424191032.3222587-1-fontaine.fabrice@gmail.com> Message-ID: On 24/04/2022 21:10, Fabrice Fontaine wrote: > Fix the following build failure raised since bump of argp-standalone to > version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and > https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: > > /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': > cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' > /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': > cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' > > Fixes: > - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...onfigure.ac-replace-argp_usage-check.patch | 40 +++++++++++++++++++ > package/cryptsetup/cryptsetup.mk | 1 + > 2 files changed, 41 insertions(+) > create mode 100644 package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch > > diff --git a/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch > new file mode 100644 > index 0000000000..66e3be350c > --- /dev/null > +++ b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch > @@ -0,0 +1,40 @@ > +From 21515ad7a3b000ee6038f82bbb428ab527002bbd Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 24 Apr 2022 19:47:53 +0200 > +Subject: [PATCH] configure.ac: replace argp_usage check > + > +Replace check for argp_usage by argp_parse as argp_usage is not used by > +cryptsetup. Moreover, this will fix the following build failure raised > +with argp-standalone in version 1.4.0 and > +https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: > + > +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': > +cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' > +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': > +cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' > + > +Fixes: > + - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: https://gitlab.com/cryptsetup/cryptsetup/-/issues/737] > +--- > + configure.ac | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/configure.ac b/configure.ac > +index d31fb0a7..e47179f2 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -413,7 +413,7 @@ if test "x$enable_ssh_token" = "xyes"; then > + AC_CHECK_DECLS([ssh_session_is_known_server], [], [], [#include ]) > + AC_CHECK_HEADER([argp.h], [], AC_MSG_ERROR([You need argp library.])) > + saved_LIBS=$LIBS > +- AC_SEARCH_LIBS([argp_usage],[argp]) > ++ AC_SEARCH_LIBS([argp_parse],[argp]) > + AC_SUBST(ARGP_LIBS, $LIBS) > + LIBS=$saved_LIBS > + fi > +-- > +2.35.1 > + > diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk > index ddb10f1da3..20cf5d6346 100644 > --- a/package/cryptsetup/cryptsetup.mk > +++ b/package/cryptsetup/cryptsetup.mk > @@ -19,6 +19,7 @@ CRYPTSETUP_CPE_ID_VENDOR = cryptsetup_project > CRYPTSETUP_INSTALL_STAGING = YES > > # 0001-Add-check-program-for-symver-attribute.patch > +# 0002-configure.ac-replace-argp_usage-check.patch > CRYPTSETUP_AUTORECONF = YES > > CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" From arnout at mind.be Wed Apr 27 17:13:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:13:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/libeXosip2: fix build with libressl In-Reply-To: <20220424191957.435337-1-fontaine.fabrice@gmail.com> References: <20220424191957.435337-1-fontaine.fabrice@gmail.com> Message-ID: <7675691e-a91c-e28f-21b2-d1350e199de3@mind.be> On 24/04/2022 21:19, Fabrice Fontaine wrote: > Fix the following build failure with libressl >= 3.4.1 raised since > commit 25ef2c26dabaf1553f1724214a4fa5e3ce48dfc8: > > In file included from eXtl_dtls.c:82: > /home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here > 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); > | ^~~~~~~~~~~~~ > eXtl_dtls.c: In function 'SSL_set0_rbio': > eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} > 108 | BIO_free_all(s->rbio); > | ^~ > > Fixes: > - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...dtls.c-fix-build-with-libressl-3.4.1.patch | 43 +++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch > > diff --git a/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch > new file mode 100644 > index 0000000000..0b4be43b6c > --- /dev/null > +++ b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch > @@ -0,0 +1,43 @@ > +From 4201c0ff3fd75e09025d515c427f85f9fec89621 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 5 Apr 2022 22:27:35 +0200 > +Subject: [PATCH] src/eXtl_dtls.c: fix build with libressl >= 3.4.1 > + > +Fix the following build failure with libressl >= 3.4.1 which provides > +SSL_set0_rbio() since > +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc: > + > +In file included from eXtl_dtls.c:82: > +/home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here > + 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); > + | ^~~~~~~~~~~~~ > +eXtl_dtls.c: In function 'SSL_set0_rbio': > +eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} > + 108 | BIO_free_all(s->rbio); > + | ^~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: sent to amoizard at antisip.com] > +--- > + src/eXtl_dtls.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/eXtl_dtls.c b/src/eXtl_dtls.c > +index 07c0dc2..d0bd7dc 100644 > +--- a/src/eXtl_dtls.c > ++++ b/src/eXtl_dtls.c > +@@ -102,7 +102,7 @@ > + #define RANDOM "random.pem" > + #define DHFILE "dh1024.pem" > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3040100L) > + > + static void SSL_set0_rbio(SSL *s, BIO *rbio) { > + BIO_free_all(s->rbio); > +-- > +2.35.1 > + From arnout at mind.be Wed Apr 27 17:13:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:13:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: bump to version 3.10.4 In-Reply-To: <20220424200620.1413743-1-james.hilliard1@gmail.com> References: <20220424200620.1413743-1-james.hilliard1@gmail.com> Message-ID: On 24/04/2022 22:06, James Hilliard wrote: > Drop override system locale patch which is now upstream. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > ...dd-importlib-fix-for-PEP-3147-issue.patch} | 0 > ...locale-and-set-to-default-when-addin.patch | 39 ------------------- > ...0012-Add-an-option-to-disable-pydoc.patch} | 0 > ...13-Add-an-option-to-disable-lib2to3.patch} | 0 > ...ption-to-disable-the-sqlite3-module.patch} | 0 > ...-an-option-to-disable-the-tk-module.patch} | 0 > ...option-to-disable-the-curses-module.patch} | 0 > ...0017-Add-an-option-to-disable-expat.patch} | 0 > ...Add-an-option-to-disable-CJK-codecs.patch} | 0 > ...> 0019-Add-an-option-to-disable-NIS.patch} | 0 > ...dd-an-option-to-disable-unicodedata.patch} | 0 > ... 0021-Add-an-option-to-disable-IDLE.patch} | 0 > ...22-Add-an-option-to-disable-decimal.patch} | 0 > ...n-to-disable-the-ossaudiodev-module.patch} | 0 > ...n-option-to-disable-openssl-support.patch} | 0 > ...tion-to-disable-the-readline-module.patch} | 0 > ...o-disable-zlib-bzip2-and-xz-modules.patch} | 0 > ...hon-config.sh-don-t-reassign-prefix.patch} | 0 > ...Fix-cross-compiling-the-uuid-module.patch} | 0 > ...dd-an-option-to-disable-uuid-module.patch} | 0 > ...fix-building-on-older-distributions.patch} | 0 > ...p-CC-print-multiarch-output-for-mus.patch} | 0 > ...on-to-disable-the-berkeleydb-module.patch} | 0 > ...ng-doesn-t-set-errno-when-encryptio.patch} | 0 > package/python3/python3.hash | 6 +-- > package/python3/python3.mk | 2 +- > 26 files changed, 4 insertions(+), 43 deletions(-) > rename package/python3/{0012-Add-importlib-fix-for-PEP-3147-issue.patch => 0011-Add-importlib-fix-for-PEP-3147-issue.patch} (100%) > delete mode 100644 package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch > rename package/python3/{0013-Add-an-option-to-disable-pydoc.patch => 0012-Add-an-option-to-disable-pydoc.patch} (100%) > rename package/python3/{0014-Add-an-option-to-disable-lib2to3.patch => 0013-Add-an-option-to-disable-lib2to3.patch} (100%) > rename package/python3/{0015-Add-option-to-disable-the-sqlite3-module.patch => 0014-Add-option-to-disable-the-sqlite3-module.patch} (100%) > rename package/python3/{0016-Add-an-option-to-disable-the-tk-module.patch => 0015-Add-an-option-to-disable-the-tk-module.patch} (100%) > rename package/python3/{0017-Add-an-option-to-disable-the-curses-module.patch => 0016-Add-an-option-to-disable-the-curses-module.patch} (100%) > rename package/python3/{0018-Add-an-option-to-disable-expat.patch => 0017-Add-an-option-to-disable-expat.patch} (100%) > rename package/python3/{0019-Add-an-option-to-disable-CJK-codecs.patch => 0018-Add-an-option-to-disable-CJK-codecs.patch} (100%) > rename package/python3/{0020-Add-an-option-to-disable-NIS.patch => 0019-Add-an-option-to-disable-NIS.patch} (100%) > rename package/python3/{0021-Add-an-option-to-disable-unicodedata.patch => 0020-Add-an-option-to-disable-unicodedata.patch} (100%) > rename package/python3/{0022-Add-an-option-to-disable-IDLE.patch => 0021-Add-an-option-to-disable-IDLE.patch} (100%) > rename package/python3/{0023-Add-an-option-to-disable-decimal.patch => 0022-Add-an-option-to-disable-decimal.patch} (100%) > rename package/python3/{0024-Add-an-option-to-disable-the-ossaudiodev-module.patch => 0023-Add-an-option-to-disable-the-ossaudiodev-module.patch} (100%) > rename package/python3/{0025-Add-an-option-to-disable-openssl-support.patch => 0024-Add-an-option-to-disable-openssl-support.patch} (100%) > rename package/python3/{0026-Add-an-option-to-disable-the-readline-module.patch => 0025-Add-an-option-to-disable-the-readline-module.patch} (100%) > rename package/python3/{0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch => 0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (100%) > rename package/python3/{0028-python-config.sh-don-t-reassign-prefix.patch => 0027-python-config.sh-don-t-reassign-prefix.patch} (100%) > rename package/python3/{0029-Fix-cross-compiling-the-uuid-module.patch => 0028-Fix-cross-compiling-the-uuid-module.patch} (100%) > rename package/python3/{0030-Add-an-option-to-disable-uuid-module.patch => 0029-Add-an-option-to-disable-uuid-module.patch} (100%) > rename package/python3/{0031-fix-building-on-older-distributions.patch => 0030-fix-building-on-older-distributions.patch} (100%) > rename package/python3/{0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch => 0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (100%) > rename package/python3/{0033-Add-an-option-to-disable-the-berkeleydb-module.patch => 0032-Add-an-option-to-disable-the-berkeleydb-module.patch} (100%) > rename package/python3/{0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch => 0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch} (100%) > > diff --git a/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch > similarity index 100% > rename from package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch > rename to package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch > diff --git a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch > deleted file mode 100644 > index 4d021d86a4..0000000000 > --- a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch > +++ /dev/null > @@ -1,39 +0,0 @@ > -From e4ae670e3489544a49dabd1618c32fe73504a7ba Mon Sep 17 00:00:00 2001 > -From: Samuel Cabrero > -Date: Wed, 23 Dec 2015 11:45:48 +0100 > -Subject: [PATCH] Override system locale and set to default when adding gcc > - paths > - > -Forces the use of the default locale in the function > -add_gcc_paths, which is called when cross compiling to add the > -include and library paths. This is necessary because otherwise > -the gcc output is localized and the output parsing fails, which > -results in no paths added and detect_modules not able to find > -any system library (eg. libz, libssl, etc.) > - > -[Thomas: patch taken from https://bugs.python.org/issue23767.] > - > -Signed-off-by: Samuel Cabrero > -Signed-off-by: Thomas Petazzoni > -[james.hilliard1 at gmail.com: adapt to python 3.9] > -Signed-off-by: James Hilliard > ---- > - setup.py | 2 +- > - 1 file changed, 1 insertion(+), 1 deletion(-) > - > -diff --git a/setup.py b/setup.py > -index d3f0e663f2..926c16f58f 100644 > ---- a/setup.py > -+++ b/setup.py > -@@ -761,7 +761,7 @@ class PyBuildExt(build_ext): > - tmpfile = os.path.join(self.build_temp, 'ccpaths') > - if not os.path.exists(self.build_temp): > - os.makedirs(self.build_temp) > -- ret = run_command('%s -E -v - %s 1>/dev/null' % (CC, tmpfile)) > -+ ret = run_command('LC_ALL=C %s -E -v - %s 1>/dev/null' % (CC, tmpfile)) > - is_gcc = False > - is_clang = False > - in_incdirs = False > --- > -2.25.1 > - > diff --git a/package/python3/0013-Add-an-option-to-disable-pydoc.patch b/package/python3/0012-Add-an-option-to-disable-pydoc.patch > similarity index 100% > rename from package/python3/0013-Add-an-option-to-disable-pydoc.patch > rename to package/python3/0012-Add-an-option-to-disable-pydoc.patch > diff --git a/package/python3/0014-Add-an-option-to-disable-lib2to3.patch b/package/python3/0013-Add-an-option-to-disable-lib2to3.patch > similarity index 100% > rename from package/python3/0014-Add-an-option-to-disable-lib2to3.patch > rename to package/python3/0013-Add-an-option-to-disable-lib2to3.patch > diff --git a/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch b/package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch > similarity index 100% > rename from package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch > rename to package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch > diff --git a/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch b/package/python3/0015-Add-an-option-to-disable-the-tk-module.patch > similarity index 100% > rename from package/python3/0016-Add-an-option-to-disable-the-tk-module.patch > rename to package/python3/0015-Add-an-option-to-disable-the-tk-module.patch > diff --git a/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch b/package/python3/0016-Add-an-option-to-disable-the-curses-module.patch > similarity index 100% > rename from package/python3/0017-Add-an-option-to-disable-the-curses-module.patch > rename to package/python3/0016-Add-an-option-to-disable-the-curses-module.patch > diff --git a/package/python3/0018-Add-an-option-to-disable-expat.patch b/package/python3/0017-Add-an-option-to-disable-expat.patch > similarity index 100% > rename from package/python3/0018-Add-an-option-to-disable-expat.patch > rename to package/python3/0017-Add-an-option-to-disable-expat.patch > diff --git a/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch b/package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch > similarity index 100% > rename from package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch > rename to package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch > diff --git a/package/python3/0020-Add-an-option-to-disable-NIS.patch b/package/python3/0019-Add-an-option-to-disable-NIS.patch > similarity index 100% > rename from package/python3/0020-Add-an-option-to-disable-NIS.patch > rename to package/python3/0019-Add-an-option-to-disable-NIS.patch > diff --git a/package/python3/0021-Add-an-option-to-disable-unicodedata.patch b/package/python3/0020-Add-an-option-to-disable-unicodedata.patch > similarity index 100% > rename from package/python3/0021-Add-an-option-to-disable-unicodedata.patch > rename to package/python3/0020-Add-an-option-to-disable-unicodedata.patch > diff --git a/package/python3/0022-Add-an-option-to-disable-IDLE.patch b/package/python3/0021-Add-an-option-to-disable-IDLE.patch > similarity index 100% > rename from package/python3/0022-Add-an-option-to-disable-IDLE.patch > rename to package/python3/0021-Add-an-option-to-disable-IDLE.patch > diff --git a/package/python3/0023-Add-an-option-to-disable-decimal.patch b/package/python3/0022-Add-an-option-to-disable-decimal.patch > similarity index 100% > rename from package/python3/0023-Add-an-option-to-disable-decimal.patch > rename to package/python3/0022-Add-an-option-to-disable-decimal.patch > diff --git a/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch b/package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch > similarity index 100% > rename from package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch > rename to package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch > diff --git a/package/python3/0025-Add-an-option-to-disable-openssl-support.patch b/package/python3/0024-Add-an-option-to-disable-openssl-support.patch > similarity index 100% > rename from package/python3/0025-Add-an-option-to-disable-openssl-support.patch > rename to package/python3/0024-Add-an-option-to-disable-openssl-support.patch > diff --git a/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch b/package/python3/0025-Add-an-option-to-disable-the-readline-module.patch > similarity index 100% > rename from package/python3/0026-Add-an-option-to-disable-the-readline-module.patch > rename to package/python3/0025-Add-an-option-to-disable-the-readline-module.patch > diff --git a/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch > similarity index 100% > rename from package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch > rename to package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch > diff --git a/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch b/package/python3/0027-python-config.sh-don-t-reassign-prefix.patch > similarity index 100% > rename from package/python3/0028-python-config.sh-don-t-reassign-prefix.patch > rename to package/python3/0027-python-config.sh-don-t-reassign-prefix.patch > diff --git a/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch b/package/python3/0028-Fix-cross-compiling-the-uuid-module.patch > similarity index 100% > rename from package/python3/0029-Fix-cross-compiling-the-uuid-module.patch > rename to package/python3/0028-Fix-cross-compiling-the-uuid-module.patch > diff --git a/package/python3/0030-Add-an-option-to-disable-uuid-module.patch b/package/python3/0029-Add-an-option-to-disable-uuid-module.patch > similarity index 100% > rename from package/python3/0030-Add-an-option-to-disable-uuid-module.patch > rename to package/python3/0029-Add-an-option-to-disable-uuid-module.patch > diff --git a/package/python3/0031-fix-building-on-older-distributions.patch b/package/python3/0030-fix-building-on-older-distributions.patch > similarity index 100% > rename from package/python3/0031-fix-building-on-older-distributions.patch > rename to package/python3/0030-fix-building-on-older-distributions.patch > diff --git a/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch b/package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch > similarity index 100% > rename from package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch > rename to package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch > diff --git a/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch b/package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch > similarity index 100% > rename from package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch > rename to package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch > diff --git a/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch b/package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch > similarity index 100% > rename from package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch > rename to package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch > diff --git a/package/python3/python3.hash b/package/python3/python3.hash > index 97f4653490..5ae0add789 100644 > --- a/package/python3/python3.hash > +++ b/package/python3/python3.hash > @@ -1,5 +1,5 @@ > -# From https://www.python.org/downloads/release/python-3102/ > -md5 14e8c22458ed7779a1957b26cde01db9 Python-3.10.2.tar.xz > +# From https://www.python.org/downloads/release/python-3104/ > +md5 21f2e113e087083a1e8cf10553d93599 Python-3.10.4.tar.xz > # Locally computed > -sha256 17de3ac7da9f2519aa9d64378c603a73a0e9ad58dffa8812e45160c086de64c7 Python-3.10.2.tar.xz > +sha256 80bf925f571da436b35210886cf79f6eb5fa5d6c571316b73568343451f77a19 Python-3.10.4.tar.xz > sha256 f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b LICENSE > diff --git a/package/python3/python3.mk b/package/python3/python3.mk > index 3a334fb28d..cffb34e264 100644 > --- a/package/python3/python3.mk > +++ b/package/python3/python3.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > PYTHON3_VERSION_MAJOR = 3.10 > -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2 > +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).4 > PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz > PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) > PYTHON3_LICENSE = Python-2.0, others From arnout at mind.be Wed Apr 27 17:14:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:14:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/cairo: fix build with libexecinfo In-Reply-To: <20220424204656.3352319-1-fontaine.fabrice@gmail.com> References: <20220424204656.3352319-1-fontaine.fabrice@gmail.com> Message-ID: <8296cf92-11ec-a2d4-c916-c47d7fbe5066@mind.be> On 24/04/2022 22:46, Fabrice Fontaine wrote: > Fix the following build failure raised on uclibc and musl since the > addition of libexecinfo package in commit > eea8ba446c10701a273432552108d80fb2224ef4: > > /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace_symbols' > /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace' > > Fixes: > - http://autobuild.buildroot.org/results/836348270d564a46cc9ee840cf87b2494cc82cec > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/cairo/cairo.mk | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk > index 98f270442a..f479aa252a 100644 > --- a/package/cairo/cairo.mk > +++ b/package/cairo/cairo.mk > @@ -15,6 +15,8 @@ CAIRO_INSTALL_STAGING = YES > # 0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch > CAIRO_IGNORE_CVES += CVE-2018-19876 > > +CAIRO_CONF_ENV = LIBS="$(CAIRO_LIBS)" > + > # relocation truncated to fit: R_68K_GOT16O > ifeq ($(BR2_m68k_cf),y) > CAIRO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" > @@ -27,7 +29,7 @@ endif > # cairo can use C++11 atomics when available, so we need to link with > # libatomic for the architectures who need libatomic. > ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > -CAIRO_CONF_ENV += LIBS="-latomic" > +CAIRO_LIBS += -latomic > endif > > CAIRO_CONF_OPTS = \ > @@ -81,6 +83,11 @@ else > CAIRO_CONF_OPTS += --disable-ft > endif > > +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) > +CAIRO_DEPENDENCIES += libexecinfo > +CAIRO_LIBS += -lexecinfo > +endif > + > ifeq ($(BR2_PACKAGE_LIBGLIB2),y) > CAIRO_CONF_OPTS += --enable-gobject > CAIRO_DEPENDENCIES += libglib2 From arnout at mind.be Wed Apr 27 17:14:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:14:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/re2: bump to version 2022-04-01 In-Reply-To: <20220425080413.769861-1-buildroot@heine.tech> References: <20220425080413.769861-1-buildroot@heine.tech> Message-ID: <47db2565-7080-a32b-378d-20f4d7cbb710@mind.be> On 25/04/2022 10:04, Michael Nosthoff via buildroot wrote: > Signed-off-by: Michael Nosthoff Applied to master, thanks. Regards, Arnout > --- > package/re2/re2.hash | 2 +- > package/re2/re2.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/re2/re2.hash b/package/re2/re2.hash > index 7cfece5d5e..28f407cc32 100644 > --- a/package/re2/re2.hash > +++ b/package/re2/re2.hash > @@ -1,3 +1,3 @@ > # locally calculated > -sha256 9c1e6acfd0fed71f40b025a7a1dabaf3ee2ebb74d64ced1f9ee1b0b01d22fd27 re2-2022-02-01.tar.gz > +sha256 1ae8ccfdb1066a731bba6ee0881baad5efd2cd661acd9569b689f2586e1a50e9 re2-2022-04-01.tar.gz > sha256 6040cda75d90b1738292a631d89934c411ef7ffd543c4d6a1b7edfc8edf29449 LICENSE > diff --git a/package/re2/re2.mk b/package/re2/re2.mk > index 30791a68e5..b6d29c3caf 100644 > --- a/package/re2/re2.mk > +++ b/package/re2/re2.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RE2_VERSION = 2022-02-01 > +RE2_VERSION = 2022-04-01 > RE2_SITE = $(call github,google,re2,$(RE2_VERSION)) > RE2_LICENSE = BSD-3-Clause > RE2_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 17:15:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:15:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 3.20.1 In-Reply-To: <20220425080503.769954-1-buildroot@heine.tech> References: <20220425080503.769954-1-buildroot@heine.tech> Message-ID: On 25/04/2022 10:05, Michael Nosthoff via buildroot wrote: > Signed-off-by: Michael Nosthoff Applied to master, thanks. Regards, Arnout > --- > package/protobuf/protobuf.hash | 2 +- > package/protobuf/protobuf.mk | 2 +- > package/python-protobuf/python-protobuf.hash | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash > index 60e64f54d4..f37b2dee40 100644 > --- a/package/protobuf/protobuf.hash > +++ b/package/protobuf/protobuf.hash > @@ -1,3 +1,3 @@ > # Locally calculated > sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE > -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz > +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz > diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk > index 80764f0216..c4c33ba7da 100644 > --- a/package/protobuf/protobuf.mk > +++ b/package/protobuf/protobuf.mk > @@ -7,7 +7,7 @@ > # When bumping this package, make sure to also verify if the > # python-protobuf package still works and to update its hash, > # as they share the same version/site variables. > -PROTOBUF_VERSION = 3.19.1 > +PROTOBUF_VERSION = 3.20.1 > PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz > PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) > PROTOBUF_LICENSE = BSD-3-Clause > diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash > index 2bfef96676..ddfa48b491 100644 > --- a/package/python-protobuf/python-protobuf.hash > +++ b/package/python-protobuf/python-protobuf.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz > +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz > sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE From arnout at mind.be Wed Apr 27 17:16:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:16:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/grpc: bump to version 1.45.2 In-Reply-To: <20220425080544.770047-1-buildroot@heine.tech> References: <20220425080544.770047-1-buildroot@heine.tech> Message-ID: On 25/04/2022 10:05, Michael Nosthoff via buildroot wrote: > grpc now requires gcc >= 5.1 > see https://groups.google.com/g/grpc-io/c/Plvp29818BE > > Signed-off-by: Michael Nosthoff Applied to master, thanks. > --- > package/grpc/Config.in | 6 +++--- > package/grpc/grpc.hash | 2 +- > package/grpc/grpc.mk | 10 +--------- > 3 files changed, 5 insertions(+), 13 deletions(-) > > diff --git a/package/grpc/Config.in b/package/grpc/Config.in > index ad3ddbcf19..adba1cea52 100644 > --- a/package/grpc/Config.in > +++ b/package/grpc/Config.in > @@ -3,7 +3,7 @@ config BR2_PACKAGE_GRPC > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2 > depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5_1 This doesn't exist, it's just BR2_TOOLCHAIN_GCC_AT_LEAST_5. GCC 5.1 is the first release in the GCC 5 series, so that's fine. Regards, Arnout > depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC > depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS > @@ -19,9 +19,9 @@ config BR2_PACKAGE_GRPC > > http://github.com/grpc/grpc > > -comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9" > +comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 5.1" > depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC > depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ > - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 > + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_5_1 > depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > diff --git a/package/grpc/grpc.hash b/package/grpc/grpc.hash > index 6db2acd759..9e3a225a51 100644 > --- a/package/grpc/grpc.hash > +++ b/package/grpc/grpc.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 8c05641b9f91cbc92f51cc4a5b3a226788d7a63f20af4ca7aaca50d92cc94a0d grpc-1.44.0.tar.gz > +sha256 e18b16f7976aab9a36c14c38180f042bb0fd196b75c9fd6a20a2b5f934876ad6 grpc-1.45.2.tar.gz > sha256 277adcc1dcef8359b1efb48e628635f88b40be8fbd64e82fd0169930d135d7a5 LICENSE > diff --git a/package/grpc/grpc.mk b/package/grpc/grpc.mk > index 9138b4ea59..2f037b5d59 100644 > --- a/package/grpc/grpc.mk > +++ b/package/grpc/grpc.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GRPC_VERSION = 1.44.0 > +GRPC_VERSION = 1.45.2 > GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) > GRPC_LICENSE = Apache-2.0, BSD-3-Clause (third_party code), MPL-2.0 (etc/roots.pem) > GRPC_LICENSE_FILES = LICENSE > @@ -63,14 +63,6 @@ GRPC_CFLAGS += -O0 > GRPC_CXXFLAGS += -O0 > endif > > -# Toolchains older than gcc5 will fail to compile with -0s due to: > -# error: failure memory model cannot be stronger than success memory model for > -# '__atomic_compare_exchange', so we use -O2 in these cases > -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5):$(BR2_OPTIMIZE_S),:y) > -GRPC_CFLAGS += -O2 > -GRPC_CXXFLAGS += -O2 > -endif > - > GRPC_CONF_OPTS += \ > -DCMAKE_C_FLAGS="$(GRPC_CFLAGS)" \ > -DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)" From arnout at mind.be Wed Apr 27 17:17:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:17:55 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarch64 In-Reply-To: <20220425081626.80691-1-ambi@samba.org> References: <20220425081626.80691-1-ambi@samba.org> Message-ID: <9ce03303-1b6b-3894-58f2-91318daa7df5@mind.be> On 25/04/2022 10:16, ambi at samba.org wrote: > From: Christian Ambach > > Signed-off-by: Christian Ambach Applied both to master, thanks. Regards, Arnout > --- > package/openjdk-bin/openjdk-bin.hash | 2 ++ > package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- > 2 files changed, 11 insertions(+), 1 deletion(-) > > diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash > index 62691ed6f0..4d3942125f 100644 > --- a/package/openjdk-bin/openjdk-bin.hash > +++ b/package/openjdk-bin/openjdk-bin.hash > @@ -1,8 +1,10 @@ > # https://github.com/adoptium/temurin17-binaries/releases > sha256 288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48 OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz > +sha256 302caf29f73481b2b914ba2b89705036010c65eb9bc8d7712b27d6e9bedf6200 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.2_8.tar.gz > > # From https://github.com/adoptium/temurin11-binaries/releases > sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz > +sha256 79572f5172c6a040591d34632f98a20ed148702bbce2f57649e8ac01c0d2e3db OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.14.1_1.tar.gz > > # Locally calculated > sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE > diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk > index 3d1ebd7429..5cb6e3ba6a 100644 > --- a/package/openjdk-bin/openjdk-bin.mk > +++ b/package/openjdk-bin/openjdk-bin.mk > @@ -11,8 +11,16 @@ else > HOST_OPENJDK_BIN_VERSION_MAJOR = 11 > HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 > endif > + > +ifeq ($(HOSTARCH),x86_64) > +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 > +endif > +ifeq ($(HOSTARCH),aarch64) > +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 > +endif > + > HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) > -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) > > HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception From arnout at mind.be Wed Apr 27 16:23:53 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:53 +0200 Subject: [Buildroot] [git commit] package/cairo: fix build with libexecinfo Message-ID: <20220427170806.A602F845FD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c97bc9a2e4ded6964f74a5d835dbeb18ea3f33d3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised on uclibc and musl since the addition of libexecinfo package in commit eea8ba446c10701a273432552108d80fb2224ef4: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace_symbols' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace' Fixes: - http://autobuild.buildroot.org/results/836348270d564a46cc9ee840cf87b2494cc82cec Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/cairo/cairo.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 98f270442a..f479aa252a 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -15,6 +15,8 @@ CAIRO_INSTALL_STAGING = YES # 0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch CAIRO_IGNORE_CVES += CVE-2018-19876 +CAIRO_CONF_ENV = LIBS="$(CAIRO_LIBS)" + # relocation truncated to fit: R_68K_GOT16O ifeq ($(BR2_m68k_cf),y) CAIRO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" @@ -27,7 +29,7 @@ endif # cairo can use C++11 atomics when available, so we need to link with # libatomic for the architectures who need libatomic. ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -CAIRO_CONF_ENV += LIBS="-latomic" +CAIRO_LIBS += -latomic endif CAIRO_CONF_OPTS = \ @@ -81,6 +83,11 @@ else CAIRO_CONF_OPTS += --disable-ft endif +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +CAIRO_DEPENDENCIES += libexecinfo +CAIRO_LIBS += -lexecinfo +endif + ifeq ($(BR2_PACKAGE_LIBGLIB2),y) CAIRO_CONF_OPTS += --enable-gobject CAIRO_DEPENDENCIES += libglib2 From arnout at mind.be Wed Apr 27 16:23:49 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:49 +0200 Subject: [Buildroot] [git commit] package/qpdf: link with -latomic if needed Message-ID: <20220427170806.7E2EE845FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=25f56c5d602903b2c572fd05ded3be8bee79f981 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Link with -latomic if needed to avoid the following build failure since bump to version 10.5.0 in commit b5352c2177011ca389cbb7c68e78447549cbdaaa and https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c: /nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()': QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8' Fixes: - http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/qpdf/qpdf.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk index 8e0769059d..a58781f4f1 100644 --- a/package/qpdf/qpdf.mk +++ b/package/qpdf/qpdf.mk @@ -32,4 +32,8 @@ else QPDF_CONF_OPTS += --disable-crypto-openssl endif +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +QPDF_CONF_ENV += LIBS=-latomic +endif + $(eval $(autotools-package)) From arnout at mind.be Wed Apr 27 16:23:50 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:50 +0200 Subject: [Buildroot] [git commit] package/cryptsetup: fix build with argp-standalone Message-ID: <20220427170806.880FC845FD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8bbd3e31f1fe906670306bc7224ac3f932219c5c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump of argp-standalone to version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' Fixes: - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...002-configure.ac-replace-argp_usage-check.patch | 40 ++++++++++++++++++++++ package/cryptsetup/cryptsetup.mk | 1 + 2 files changed, 41 insertions(+) diff --git a/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch new file mode 100644 index 0000000000..66e3be350c --- /dev/null +++ b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch @@ -0,0 +1,40 @@ +From 21515ad7a3b000ee6038f82bbb428ab527002bbd Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 24 Apr 2022 19:47:53 +0200 +Subject: [PATCH] configure.ac: replace argp_usage check + +Replace check for argp_usage by argp_parse as argp_usage is not used by +cryptsetup. Moreover, this will fix the following build failure raised +with argp-standalone in version 1.4.0 and +https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: + +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': +cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': +cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' + +Fixes: + - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://gitlab.com/cryptsetup/cryptsetup/-/issues/737] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index d31fb0a7..e47179f2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -413,7 +413,7 @@ if test "x$enable_ssh_token" = "xyes"; then + AC_CHECK_DECLS([ssh_session_is_known_server], [], [], [#include ]) + AC_CHECK_HEADER([argp.h], [], AC_MSG_ERROR([You need argp library.])) + saved_LIBS=$LIBS +- AC_SEARCH_LIBS([argp_usage],[argp]) ++ AC_SEARCH_LIBS([argp_parse],[argp]) + AC_SUBST(ARGP_LIBS, $LIBS) + LIBS=$saved_LIBS + fi +-- +2.35.1 + diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk index 81469c511e..0f5c2dc5ae 100644 --- a/package/cryptsetup/cryptsetup.mk +++ b/package/cryptsetup/cryptsetup.mk @@ -19,6 +19,7 @@ CRYPTSETUP_CPE_ID_VENDOR = cryptsetup_project CRYPTSETUP_INSTALL_STAGING = YES # 0001-Add-check-program-for-symver-attribute.patch +# 0002-configure.ac-replace-argp_usage-check.patch CRYPTSETUP_AUTORECONF = YES CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" From arnout at mind.be Wed Apr 27 16:23:26 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:26 +0200 Subject: [Buildroot] [git commit] package/ding-libs: bump to version 0.6.2 Message-ID: <20220427170806.75E04845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=80bd1002787815295118355f742f79930bf2974d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Update site to get latest release - Update indentation in hash file (two spaces) https://github.com/SSSD/ding-libs/releases/tag/0.6.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ding-libs/Config.in | 2 +- package/ding-libs/ding-libs.hash | 8 +++++--- package/ding-libs/ding-libs.mk | 5 ++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package/ding-libs/Config.in b/package/ding-libs/Config.in index 152dca0426..dc87a01bf2 100644 --- a/package/ding-libs/Config.in +++ b/package/ding-libs/Config.in @@ -13,4 +13,4 @@ config BR2_PACKAGE_DING_LIBS initialization format (INI) into a library collection data structure (libini_config). - https://pagure.io/SSSD/ding-libs + https://github.com/SSSD/ding-libs diff --git a/package/ding-libs/ding-libs.hash b/package/ding-libs/ding-libs.hash index 2ac5bd8eee..d5d87faccd 100644 --- a/package/ding-libs/ding-libs.hash +++ b/package/ding-libs/ding-libs.hash @@ -1,4 +1,6 @@ +# From https://github.com/SSSD/ding-libs/releases/download/0.6.2/ding-libs-0.6.2.tar.gz.sha256sum +sha256 e5f07f34f5921bcb5ccccfe3751c28497879a6451cd7b395e99e24d9b5728e8d ding-libs-0.6.2.tar.gz + # Locally computed -sha256 ad3c573641701f67d4b6bd8a5a71f0b65d45fd39fe961495ef5f5d3c57fc0963 ding-libs-ding_libs-0_6_1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER diff --git a/package/ding-libs/ding-libs.mk b/package/ding-libs/ding-libs.mk index 1e8fa59d69..a4ee7351b5 100644 --- a/package/ding-libs/ding-libs.mk +++ b/package/ding-libs/ding-libs.mk @@ -4,10 +4,9 @@ # ################################################################################ -DING_LIBS_VERSION = 0.6.1 -DING_LIBS_SOURCE = ding-libs-ding_libs-$(subst .,_,$(DING_LIBS_VERSION)).tar.gz +DING_LIBS_VERSION = 0.6.2 DING_LIBS_SITE = \ - https://pagure.io/SSSD/ding-libs/archive/ding_libs-$(subst .,_,$(DING_LIBS_VERSION)) + https://github.com/SSSD/ding-libs/releases/download/$(DING_LIBS_VERSION) DING_LIBS_DEPENDENCIES = host-pkgconf \ $(TARGET_NLS_DEPENDENCIES) \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) From arnout at mind.be Wed Apr 27 17:16:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 19:16:48 +0200 Subject: [Buildroot] [git commit] package/openjdk: enable for host architecture aarch64 Message-ID: <20220427170806.D69F6845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=78fd43c5924e4c24804027e4bb6722e97fd5d942 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Christian Ambach Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openjdk/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in index 8b7fd4653e..8fbe51a27f 100644 --- a/package/openjdk/Config.in +++ b/package/openjdk/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS bool default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "aarch64" # Taken from make/autoconf/platform.m4 config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS From arnout at mind.be Wed Apr 27 16:55:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:55:11 +0200 Subject: [Buildroot] [git commit] package/{python-}protobuf: bump to version 3.20.1 Message-ID: <20220427170806.B8642845FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9aa90c5bbca7663a2df6155d153468f4641a670d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Michael Nosthoff Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/protobuf/protobuf.hash | 2 +- package/protobuf/protobuf.mk | 2 +- package/python-protobuf/python-protobuf.hash | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash index 60e64f54d4..f37b2dee40 100644 --- a/package/protobuf/protobuf.hash +++ b/package/protobuf/protobuf.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk index 80764f0216..c4c33ba7da 100644 --- a/package/protobuf/protobuf.mk +++ b/package/protobuf/protobuf.mk @@ -7,7 +7,7 @@ # When bumping this package, make sure to also verify if the # python-protobuf package still works and to update its hash, # as they share the same version/site variables. -PROTOBUF_VERSION = 3.19.1 +PROTOBUF_VERSION = 3.20.1 PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) PROTOBUF_LICENSE = BSD-3-Clause diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash index 2bfef96676..ddfa48b491 100644 --- a/package/python-protobuf/python-protobuf.hash +++ b/package/python-protobuf/python-protobuf.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE From arnout at mind.be Wed Apr 27 16:55:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:55:11 +0200 Subject: [Buildroot] [git commit] package/re2: bump to version 2022-04-01 Message-ID: <20220427170806.AF2BA845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5abc9224262c021301c4e720bf7ef37f34810d44 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Michael Nosthoff Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/re2/re2.hash | 2 +- package/re2/re2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/re2/re2.hash b/package/re2/re2.hash index 7cfece5d5e..28f407cc32 100644 --- a/package/re2/re2.hash +++ b/package/re2/re2.hash @@ -1,3 +1,3 @@ # locally calculated -sha256 9c1e6acfd0fed71f40b025a7a1dabaf3ee2ebb74d64ced1f9ee1b0b01d22fd27 re2-2022-02-01.tar.gz +sha256 1ae8ccfdb1066a731bba6ee0881baad5efd2cd661acd9569b689f2586e1a50e9 re2-2022-04-01.tar.gz sha256 6040cda75d90b1738292a631d89934c411ef7ffd543c4d6a1b7edfc8edf29449 LICENSE diff --git a/package/re2/re2.mk b/package/re2/re2.mk index 30791a68e5..b6d29c3caf 100644 --- a/package/re2/re2.mk +++ b/package/re2/re2.mk @@ -4,7 +4,7 @@ # ################################################################################ -RE2_VERSION = 2022-02-01 +RE2_VERSION = 2022-04-01 RE2_SITE = $(call github,google,re2,$(RE2_VERSION)) RE2_LICENSE = BSD-3-Clause RE2_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 16:23:53 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:53 +0200 Subject: [Buildroot] [git commit] package/python3: bump to version 3.10.4 Message-ID: <20220427170806.9D0B8845FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9cf8f4e13424a79ab2af2945e565e1cfb0dd4bf3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop override system locale patch which is now upstream. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...011-Add-importlib-fix-for-PEP-3147-issue.patch} | 0 ...stem-locale-and-set-to-default-when-addin.patch | 39 ---------------------- ...h => 0012-Add-an-option-to-disable-pydoc.patch} | 0 ...=> 0013-Add-an-option-to-disable-lib2to3.patch} | 0 ...Add-option-to-disable-the-sqlite3-module.patch} | 0 ...5-Add-an-option-to-disable-the-tk-module.patch} | 0 ...d-an-option-to-disable-the-curses-module.patch} | 0 ...h => 0017-Add-an-option-to-disable-expat.patch} | 0 ...0018-Add-an-option-to-disable-CJK-codecs.patch} | 0 ...tch => 0019-Add-an-option-to-disable-NIS.patch} | 0 ...020-Add-an-option-to-disable-unicodedata.patch} | 0 ...ch => 0021-Add-an-option-to-disable-IDLE.patch} | 0 ...=> 0022-Add-an-option-to-disable-decimal.patch} | 0 ...option-to-disable-the-ossaudiodev-module.patch} | 0 ...Add-an-option-to-disable-openssl-support.patch} | 0 ...an-option-to-disable-the-readline-module.patch} | 0 ...ons-to-disable-zlib-bzip2-and-xz-modules.patch} | 0 ...7-python-config.sh-don-t-reassign-prefix.patch} | 0 ...0028-Fix-cross-compiling-the-uuid-module.patch} | 0 ...029-Add-an-option-to-disable-uuid-module.patch} | 0 ...0030-fix-building-on-older-distributions.patch} | 0 ...-fixup-CC-print-multiarch-output-for-mus.patch} | 0 ...-option-to-disable-the-berkeleydb-module.patch} | 0 ...libc-ng-doesn-t-set-errno-when-encryptio.patch} | 0 package/python3/python3.hash | 6 ++-- package/python3/python3.mk | 2 +- 26 files changed, 4 insertions(+), 43 deletions(-) diff --git a/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch similarity index 100% rename from package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch rename to package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch diff --git a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch deleted file mode 100644 index 4d021d86a4..0000000000 --- a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch +++ /dev/null @@ -1,39 +0,0 @@ -From e4ae670e3489544a49dabd1618c32fe73504a7ba Mon Sep 17 00:00:00 2001 -From: Samuel Cabrero -Date: Wed, 23 Dec 2015 11:45:48 +0100 -Subject: [PATCH] Override system locale and set to default when adding gcc - paths - -Forces the use of the default locale in the function -add_gcc_paths, which is called when cross compiling to add the -include and library paths. This is necessary because otherwise -the gcc output is localized and the output parsing fails, which -results in no paths added and detect_modules not able to find -any system library (eg. libz, libssl, etc.) - -[Thomas: patch taken from https://bugs.python.org/issue23767.] - -Signed-off-by: Samuel Cabrero -Signed-off-by: Thomas Petazzoni -[james.hilliard1 at gmail.com: adapt to python 3.9] -Signed-off-by: James Hilliard ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index d3f0e663f2..926c16f58f 100644 ---- a/setup.py -+++ b/setup.py -@@ -761,7 +761,7 @@ class PyBuildExt(build_ext): - tmpfile = os.path.join(self.build_temp, 'ccpaths') - if not os.path.exists(self.build_temp): - os.makedirs(self.build_temp) -- ret = run_command('%s -E -v - %s 1>/dev/null' % (CC, tmpfile)) -+ ret = run_command('LC_ALL=C %s -E -v - %s 1>/dev/null' % (CC, tmpfile)) - is_gcc = False - is_clang = False - in_incdirs = False --- -2.25.1 - diff --git a/package/python3/0013-Add-an-option-to-disable-pydoc.patch b/package/python3/0012-Add-an-option-to-disable-pydoc.patch similarity index 100% rename from package/python3/0013-Add-an-option-to-disable-pydoc.patch rename to package/python3/0012-Add-an-option-to-disable-pydoc.patch diff --git a/package/python3/0014-Add-an-option-to-disable-lib2to3.patch b/package/python3/0013-Add-an-option-to-disable-lib2to3.patch similarity index 100% rename from package/python3/0014-Add-an-option-to-disable-lib2to3.patch rename to package/python3/0013-Add-an-option-to-disable-lib2to3.patch diff --git a/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch b/package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch similarity index 100% rename from package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch rename to package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch diff --git a/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch b/package/python3/0015-Add-an-option-to-disable-the-tk-module.patch similarity index 100% rename from package/python3/0016-Add-an-option-to-disable-the-tk-module.patch rename to package/python3/0015-Add-an-option-to-disable-the-tk-module.patch diff --git a/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch b/package/python3/0016-Add-an-option-to-disable-the-curses-module.patch similarity index 100% rename from package/python3/0017-Add-an-option-to-disable-the-curses-module.patch rename to package/python3/0016-Add-an-option-to-disable-the-curses-module.patch diff --git a/package/python3/0018-Add-an-option-to-disable-expat.patch b/package/python3/0017-Add-an-option-to-disable-expat.patch similarity index 100% rename from package/python3/0018-Add-an-option-to-disable-expat.patch rename to package/python3/0017-Add-an-option-to-disable-expat.patch diff --git a/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch b/package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch similarity index 100% rename from package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch rename to package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch diff --git a/package/python3/0020-Add-an-option-to-disable-NIS.patch b/package/python3/0019-Add-an-option-to-disable-NIS.patch similarity index 100% rename from package/python3/0020-Add-an-option-to-disable-NIS.patch rename to package/python3/0019-Add-an-option-to-disable-NIS.patch diff --git a/package/python3/0021-Add-an-option-to-disable-unicodedata.patch b/package/python3/0020-Add-an-option-to-disable-unicodedata.patch similarity index 100% rename from package/python3/0021-Add-an-option-to-disable-unicodedata.patch rename to package/python3/0020-Add-an-option-to-disable-unicodedata.patch diff --git a/package/python3/0022-Add-an-option-to-disable-IDLE.patch b/package/python3/0021-Add-an-option-to-disable-IDLE.patch similarity index 100% rename from package/python3/0022-Add-an-option-to-disable-IDLE.patch rename to package/python3/0021-Add-an-option-to-disable-IDLE.patch diff --git a/package/python3/0023-Add-an-option-to-disable-decimal.patch b/package/python3/0022-Add-an-option-to-disable-decimal.patch similarity index 100% rename from package/python3/0023-Add-an-option-to-disable-decimal.patch rename to package/python3/0022-Add-an-option-to-disable-decimal.patch diff --git a/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch b/package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch similarity index 100% rename from package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch rename to package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch diff --git a/package/python3/0025-Add-an-option-to-disable-openssl-support.patch b/package/python3/0024-Add-an-option-to-disable-openssl-support.patch similarity index 100% rename from package/python3/0025-Add-an-option-to-disable-openssl-support.patch rename to package/python3/0024-Add-an-option-to-disable-openssl-support.patch diff --git a/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch b/package/python3/0025-Add-an-option-to-disable-the-readline-module.patch similarity index 100% rename from package/python3/0026-Add-an-option-to-disable-the-readline-module.patch rename to package/python3/0025-Add-an-option-to-disable-the-readline-module.patch diff --git a/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch similarity index 100% rename from package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch rename to package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch diff --git a/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch b/package/python3/0027-python-config.sh-don-t-reassign-prefix.patch similarity index 100% rename from package/python3/0028-python-config.sh-don-t-reassign-prefix.patch rename to package/python3/0027-python-config.sh-don-t-reassign-prefix.patch diff --git a/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch b/package/python3/0028-Fix-cross-compiling-the-uuid-module.patch similarity index 100% rename from package/python3/0029-Fix-cross-compiling-the-uuid-module.patch rename to package/python3/0028-Fix-cross-compiling-the-uuid-module.patch diff --git a/package/python3/0030-Add-an-option-to-disable-uuid-module.patch b/package/python3/0029-Add-an-option-to-disable-uuid-module.patch similarity index 100% rename from package/python3/0030-Add-an-option-to-disable-uuid-module.patch rename to package/python3/0029-Add-an-option-to-disable-uuid-module.patch diff --git a/package/python3/0031-fix-building-on-older-distributions.patch b/package/python3/0030-fix-building-on-older-distributions.patch similarity index 100% rename from package/python3/0031-fix-building-on-older-distributions.patch rename to package/python3/0030-fix-building-on-older-distributions.patch diff --git a/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch b/package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch similarity index 100% rename from package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch rename to package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch diff --git a/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch b/package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch similarity index 100% rename from package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch rename to package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch diff --git a/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch b/package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch similarity index 100% rename from package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch rename to package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 97f4653490..5ae0add789 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3102/ -md5 14e8c22458ed7779a1957b26cde01db9 Python-3.10.2.tar.xz +# From https://www.python.org/downloads/release/python-3104/ +md5 21f2e113e087083a1e8cf10553d93599 Python-3.10.4.tar.xz # Locally computed -sha256 17de3ac7da9f2519aa9d64378c603a73a0e9ad58dffa8812e45160c086de64c7 Python-3.10.2.tar.xz +sha256 80bf925f571da436b35210886cf79f6eb5fa5d6c571316b73568343451f77a19 Python-3.10.4.tar.xz sha256 f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 3a334fb28d..cffb34e264 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.10 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).4 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others From arnout at mind.be Wed Apr 27 17:16:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 19:16:48 +0200 Subject: [Buildroot] [git commit] package/libmdbx: bump version to 0.11.7 Message-ID: <20220427170806.E0395845FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=608d754cebb126745153c0a3d836355e43dc1c54 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is stable bugfix release of libmdbx. So it is reasonable to backport this patch to all applicable releases/branches of buildroot. The project as well as all its forks were removed from Github (see e.g. https://blog.desdelinux.net/en/libmdbx-0-11-7-arrives-with-project-migration-to-gitflic-bug-fixes-and-more/), therefore it moved to gitflic.ru. There is also a website with the documentation and the downloads. Release notes for v0.11.7 https://gitflic.ru/project/erthink/libmdbx/release/90ec9985-cd60-4d9a-8c98-8417506fd26d The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md Signed-off-by: ???????????? ?????????? (Leonid Yuriev) Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libmdbx/Config.in | 2 +- package/libmdbx/libmdbx.hash | 4 ++-- package/libmdbx/libmdbx.mk | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/libmdbx/Config.in b/package/libmdbx/Config.in index d13f73938f..4849d60b92 100644 --- a/package/libmdbx/Config.in +++ b/package/libmdbx/Config.in @@ -13,7 +13,7 @@ config BR2_PACKAGE_LIBMDBX libmdbx surpasses the legendary LMDB in terms of reliability, features and performance. - https://github.com/erthink/libmdbx + https://libmdbx.website.yandexcloud.net/ if BR2_PACKAGE_LIBMDBX diff --git a/package/libmdbx/libmdbx.hash b/package/libmdbx/libmdbx.hash index 2483d14dd1..7d663b3da0 100644 --- a/package/libmdbx/libmdbx.hash +++ b/package/libmdbx/libmdbx.hash @@ -1,5 +1,5 @@ -# Hashes from: https://github.com/erthink/libmdbx/releases/ -sha256 884de528f5c2abab2187b7c4c84b769d2551e1a748cbfdf0ae4c0f5c9f8dbd27 libmdbx-amalgamated-0.11.4.tar.gz +# Hashes from: https://libmdbx.website.yandexcloud.net/release/SHA256SUMS +sha256 3a9fb6a4cd941e646597235518714373fda1ca6d4c5e23669afe70ea87c20940 libmdbx-amalgamated-0.11.7.tar.xz # Locally calculated sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/package/libmdbx/libmdbx.mk b/package/libmdbx/libmdbx.mk index 1aff8fbb4d..a7056b2850 100644 --- a/package/libmdbx/libmdbx.mk +++ b/package/libmdbx/libmdbx.mk @@ -4,9 +4,9 @@ # ################################################################################ -LIBMDBX_VERSION = 0.11.4 -LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.gz -LIBMDBX_SITE = https://github.com/erthink/libmdbx/releases/download/v$(LIBMDBX_VERSION) +LIBMDBX_VERSION = 0.11.7 +LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz +LIBMDBX_SITE = https://libmdbx.website.yandexcloud.net/release LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO LIBMDBX_LICENSE = OLDAP-2.8 LIBMDBX_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 16:23:51 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:51 +0200 Subject: [Buildroot] [git commit] package/libeXosip2: fix build with libressl Message-ID: <20220427170806.91A0A845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=034928ec5c541b7584424d230deefe699f421ce8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl >= 3.4.1 raised since commit 25ef2c26dabaf1553f1724214a4fa5e3ce48dfc8: In file included from eXtl_dtls.c:82: /home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); | ^~~~~~~~~~~~~ eXtl_dtls.c: In function 'SSL_set0_rbio': eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 108 | BIO_free_all(s->rbio); | ^~ Fixes: - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch new file mode 100644 index 0000000000..0b4be43b6c --- /dev/null +++ b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch @@ -0,0 +1,43 @@ +From 4201c0ff3fd75e09025d515c427f85f9fec89621 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 22:27:35 +0200 +Subject: [PATCH] src/eXtl_dtls.c: fix build with libressl >= 3.4.1 + +Fix the following build failure with libressl >= 3.4.1 which provides +SSL_set0_rbio() since +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc: + +In file included from eXtl_dtls.c:82: +/home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here + 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); + | ^~~~~~~~~~~~~ +eXtl_dtls.c: In function 'SSL_set0_rbio': +eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} + 108 | BIO_free_all(s->rbio); + | ^~ + +Fixes: + - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 + +Signed-off-by: Fabrice Fontaine +[Upstream status: sent to amoizard at antisip.com] +--- + src/eXtl_dtls.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/eXtl_dtls.c b/src/eXtl_dtls.c +index 07c0dc2..d0bd7dc 100644 +--- a/src/eXtl_dtls.c ++++ b/src/eXtl_dtls.c +@@ -102,7 +102,7 @@ + #define RANDOM "random.pem" + #define DHFILE "dh1024.pem" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3040100L) + + static void SSL_set0_rbio(SSL *s, BIO *rbio) { + BIO_free_all(s->rbio); +-- +2.35.1 + From arnout at mind.be Wed Apr 27 17:16:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 19:16:47 +0200 Subject: [Buildroot] [git commit] package/grpc: bump to version 1.45.2 Message-ID: <20220427170806.C2624845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4755c706699dfbdc4f01c6b7b17731c0dcc2d950 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master grpc now requires gcc >= 5.1 see https://groups.google.com/g/grpc-io/c/Plvp29818BE Signed-off-by: Michael Nosthoff Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/grpc/Config.in | 6 +++--- package/grpc/grpc.hash | 2 +- package/grpc/grpc.mk | 10 +--------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/package/grpc/Config.in b/package/grpc/Config.in index ad3ddbcf19..db6425819b 100644 --- a/package/grpc/Config.in +++ b/package/grpc/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_GRPC depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS @@ -19,9 +19,9 @@ config BR2_PACKAGE_GRPC http://github.com/grpc/grpc -comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9" +comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 5" depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS diff --git a/package/grpc/grpc.hash b/package/grpc/grpc.hash index 6db2acd759..9e3a225a51 100644 --- a/package/grpc/grpc.hash +++ b/package/grpc/grpc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8c05641b9f91cbc92f51cc4a5b3a226788d7a63f20af4ca7aaca50d92cc94a0d grpc-1.44.0.tar.gz +sha256 e18b16f7976aab9a36c14c38180f042bb0fd196b75c9fd6a20a2b5f934876ad6 grpc-1.45.2.tar.gz sha256 277adcc1dcef8359b1efb48e628635f88b40be8fbd64e82fd0169930d135d7a5 LICENSE diff --git a/package/grpc/grpc.mk b/package/grpc/grpc.mk index 9138b4ea59..2f037b5d59 100644 --- a/package/grpc/grpc.mk +++ b/package/grpc/grpc.mk @@ -4,7 +4,7 @@ # ################################################################################ -GRPC_VERSION = 1.44.0 +GRPC_VERSION = 1.45.2 GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) GRPC_LICENSE = Apache-2.0, BSD-3-Clause (third_party code), MPL-2.0 (etc/roots.pem) GRPC_LICENSE_FILES = LICENSE @@ -63,14 +63,6 @@ GRPC_CFLAGS += -O0 GRPC_CXXFLAGS += -O0 endif -# Toolchains older than gcc5 will fail to compile with -0s due to: -# error: failure memory model cannot be stronger than success memory model for -# '__atomic_compare_exchange', so we use -O2 in these cases -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5):$(BR2_OPTIMIZE_S),:y) -GRPC_CFLAGS += -O2 -GRPC_CXXFLAGS += -O2 -endif - GRPC_CONF_OPTS += \ -DCMAKE_C_FLAGS="$(GRPC_CFLAGS)" \ -DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)" From arnout at mind.be Wed Apr 27 17:16:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 19:16:47 +0200 Subject: [Buildroot] [git commit] package/openjdk-bin: add support for host architecture aarch64 Message-ID: <20220427170806.CC14B845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e10fefaeab89a3183f4fd7a8bc6c64e6ab6b5d49 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Christian Ambach Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index 62691ed6f0..4d3942125f 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48 OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz +sha256 302caf29f73481b2b914ba2b89705036010c65eb9bc8d7712b27d6e9bedf6200 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.2_8.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz +sha256 79572f5172c6a040591d34632f98a20ed148702bbce2f57649e8ac01c0d2e3db OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.14.1_1.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 3d1ebd7429..5cb6e3ba6a 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,16 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 endif + +ifeq ($(HOSTARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOSTARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception From arnout at mind.be Wed Apr 27 18:52:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:52:00 +0200 Subject: [Buildroot] [PATCH] package/udev: move render and sgx out of UDEV_USERS In-Reply-To: <20220425111148.87319-1-tianyuanhao3@163.com> References: <20220425111148.87319-1-tianyuanhao3@163.com> Message-ID: <3e31564d-cef4-507b-1b5f-5c4424a5c019@mind.be> On 25/04/2022 13:11, TIAN Yuanhao wrote: > Moved group render and group sgx into UDEV_USERS_SYSTEMD as they > currently only appear in systemd's udev rules. > > In systemd, group render was introduced since commit 4e15a73, and group > sgx was introduced since commit c9c4899. > > In eudev, group render was introduced since commit bb070c1, but was > removed since commit a8ffcd1 [1]. > > [1]: https://github.com/eudev-project/eudev/issues/160 > > Signed-off-by: TIAN Yuanhao > Cc: Yann E. MORIN > --- > package/systemd/systemd.mk | 2 -- > package/udev/udev.mk | 7 +++++-- > 2 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index 58a1376b51..1f2bc108bf 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -602,8 +602,6 @@ define SYSTEMD_PERMISSIONS > endef > > define SYSTEMD_USERS > - # udev user groups > - # systemd user groups > - - systemd-journal -1 * - - - Journal > $(SYSTEMD_REMOTE_USER) > $(SYSTEMD_COREDUMP_USER) > diff --git a/package/udev/udev.mk b/package/udev/udev.mk > index ce93d98431..40d12ad469 100644 > --- a/package/udev/udev.mk > +++ b/package/udev/udev.mk > @@ -4,11 +4,14 @@ > # > ################################################################################ > > -# Required by default rules for input devices > define UDEV_USERS > - - input -1 * - - - Input device group > - - - render -1 * - - - DRI rendering nodes > - - kvm -1 * - - - kvm nodes > + $(UDEV_USERS_$(call UPPERCASE,$(call qstrip,$(BR2_PACKAGE_PROVIDES_UDEV)))) There is really no reason to do it this way. You can simply put it in SYSTEMD_USERS (under the 'udev groups' comment). If we need additional groups for eudev, we can put them in EUDEV_USERS. Regards, Arnout > +endef > + > +define UDEV_USERS_SYSTEMD > + - - render -1 * - - - DRI rendering nodes > - - sgx -1 * - - - SGX device nodes > endef > From arnout at mind.be Wed Apr 27 18:52:52 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:52:52 +0200 Subject: [Buildroot] [PATCH] package/python-esptool: bump version to 3.3 In-Reply-To: <20220425190455.543451-1-b.bilas@grinn-global.com> References: <20220425190455.543451-1-b.bilas@grinn-global.com> Message-ID: <0c74e8da-aa22-257d-9b75-cfa69abd9637@mind.be> On 25/04/2022 21:04, Bartosz Bilas wrote: > Signed-off-by: Bartosz Bilas Applied to master, thanks. > --- > package/python-esptool/python-esptool.hash | 4 ++-- > package/python-esptool/python-esptool.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/python-esptool/python-esptool.hash b/package/python-esptool/python-esptool.hash > index a916f9a09a..3ca5b211ee 100644 > --- a/package/python-esptool/python-esptool.hash > +++ b/package/python-esptool/python-esptool.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/esptool/json > -md5 84aa6ffb4723b1f59a2c83244a9ad918 esptool-3.2.tar.gz > -sha256 9638ff11c68e621e08e7c3335d4fd9d70b2ddcf7caae778073cd8cc27be1216f esptool-3.2.tar.gz > +md5 ac499eaa99df9b536a98a6f99644f8f6 esptool-3.3.tar.gz > +sha256 39b92e1848e352183188f149f3e876cde4b8a1c095551e7e545a28e5c11eea13 esptool-3.3.tar.gz I also updated the hash file to use two spaces instead of tabs (check-package). Regards, Arnout > # Locally computed sha256 checksums > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE > diff --git a/package/python-esptool/python-esptool.mk b/package/python-esptool/python-esptool.mk > index 77291e252b..28b5075e72 100644 > --- a/package/python-esptool/python-esptool.mk > +++ b/package/python-esptool/python-esptool.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -PYTHON_ESPTOOL_VERSION = 3.2 > +PYTHON_ESPTOOL_VERSION = 3.3 > PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz > -PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/60/a4/33907f5b735f9179061bd6b6cae7123d4a2d0cdf46c879fa55e66edef24f > +PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/63/85/1a7f65d3f89c112c721c6ec013ecd948112df17640e453ddeb1921b05aab > PYTHON_ESPTOOL_SETUP_TYPE = setuptools > PYTHON_ESPTOOL_LICENSE = GPL-2.0+ > PYTHON_ESPTOOL_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 18:53:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:53:07 +0200 Subject: [Buildroot] [PATCH] boot/barebox: bump version to 2022.04.0 In-Reply-To: <20220425190506.543507-1-b.bilas@grinn-global.com> References: <20220425190506.543507-1-b.bilas@grinn-global.com> Message-ID: On 25/04/2022 21:05, Bartosz Bilas wrote: > Signed-off-by: Bartosz Bilas Applied to master, thanks. Regards, Arnout > --- > boot/barebox/Config.in | 4 ++-- > boot/barebox/barebox.hash | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in > index c16fea3cea..726f0f980b 100644 > --- a/boot/barebox/Config.in > +++ b/boot/barebox/Config.in > @@ -12,7 +12,7 @@ choice > Select the specific Barebox version you want to use > > config BR2_TARGET_BAREBOX_LATEST_VERSION > - bool "2022.01.0" > + bool "2022.04.0" > > config BR2_TARGET_BAREBOX_CUSTOM_VERSION > bool "Custom version" > @@ -40,7 +40,7 @@ endif > > config BR2_TARGET_BAREBOX_VERSION > string > - default "2022.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION > + default "2022.04.0" if BR2_TARGET_BAREBOX_LATEST_VERSION > default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION > default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL > default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT > diff --git a/boot/barebox/barebox.hash b/boot/barebox/barebox.hash > index 3d52d40beb..3a92f7fd82 100644 > --- a/boot/barebox/barebox.hash > +++ b/boot/barebox/barebox.hash > @@ -1,8 +1,8 @@ > # From https://www.barebox.org/download/barebox-2021.12.0.tar.bz2.md5 > -md5 753ba533ced54f4113f9e97846c13fc1 barebox-2022.01.0.tar.bz2 > +md5 e4970687cf7943eadf71b1ae6d344ff7 barebox-2022.04.0.tar.bz2 > > # Locally calculated > -sha256 ddf7898075bec05e4865ce0f7a2ac19c2b1efaaa0d066eba1939494e25711d28 barebox-2022.01.0.tar.bz2 > +sha256 f751b506deb0a5d82682a85cf65e329dd562e48ea057533dc5c8876120a09ebc barebox-2022.04.0.tar.bz2 > > # License files, locally computed > sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING From arnout at mind.be Wed Apr 27 18:53:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:53:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-inputstream-adaptive: bump version to 19.0.4-Matrix In-Reply-To: <20220425202205.17362-1-bernd.kuhls@t-online.de> References: <20220425202205.17362-1-bernd.kuhls@t-online.de> Message-ID: <7e3589fc-7061-a68d-57b4-67beb3587258@mind.be> On 25/04/2022 22:22, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > .../kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash | 2 +- > package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash > index 74aefe2138..36294274f2 100644 > --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash > +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 1549422ac1386929dfc1a479898d6311440d1f8bfd1bc94e1fe5da9cc2db805c kodi-inputstream-adaptive-19.0.3-Matrix.tar.gz > +sha256 eef7660e9306854282ccc8b994ffc38b2fe1e62e155d883cfa346bddc84b595b kodi-inputstream-adaptive-19.0.4-Matrix.tar.gz > sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL > diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk > index 83ac897037..ed85d21684 100644 > --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk > +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.3-Matrix > +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.4-Matrix > KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) > KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPL-2.0+ > KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = LICENSE.GPL From arnout at mind.be Wed Apr 27 18:53:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:53:43 +0200 Subject: [Buildroot] [PATCH 1/1] Revert "package/pure-ftpd: doesn't build with libressl" In-Reply-To: <20220425212338.1105933-1-fontaine.fabrice@gmail.com> References: <20220425212338.1105933-1-fontaine.fabrice@gmail.com> Message-ID: <061f790e-aff8-8883-44cc-1a9a548b367a@mind.be> On 25/04/2022 23:23, Fabrice Fontaine wrote: > This reverts commit e87e6fd085b8a4965b9dc84635fd36e380da4dde as > pure-ftpd can be built with libressl since bump to version 3.5.2 in > commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2 and > https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8. > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/pure-ftpd/pure-ftpd.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk > index 0354949e28..f3cbef84b9 100644 > --- a/package/pure-ftpd/pure-ftpd.mk > +++ b/package/pure-ftpd/pure-ftpd.mk > @@ -45,7 +45,7 @@ else > PURE_FTPD_CONF_OPTS += --without-ldap > endif > > -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > +ifeq ($(BR2_PACKAGE_OPENSSL),y) > PURE_FTPD_CONF_OPTS += --with-tls > PURE_FTPD_DEPENDENCIES += host-pkgconf openssl > PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` From arnout at mind.be Wed Apr 27 18:54:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:54:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/wtfutil: add CPE variables In-Reply-To: <20220425220602.1077854-1-fontaine.fabrice@gmail.com> References: <20220425220602.1077854-1-fontaine.fabrice@gmail.com> Message-ID: <6c086cc6-93d6-0c45-83cb-98283fe9976f@mind.be> On 26/04/2022 00:06, Fabrice Fontaine wrote: > cpe:2.3:a:wtfutil:wtf is a valid CPE identifier for this package: > > https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Awtfutil%3Awtf > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/wtfutil/wtfutil.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk > index 6e841411a9..54fea09574 100644 > --- a/package/wtfutil/wtfutil.mk > +++ b/package/wtfutil/wtfutil.mk > @@ -8,5 +8,7 @@ WTFUTIL_VERSION = 0.41.0 > WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) > WTFUTIL_LICENSE = MPL-2.0 > WTFUTIL_LICENSE_FILES = LICENSE.md > +WTFUTIL_CPE_ID_VENDOR = wtfutil > +WTFUTIL_CPE_ID_PRODUCT = wtf > > $(eval $(golang-package)) From arnout at mind.be Wed Apr 27 18:54:56 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:54:56 +0200 Subject: [Buildroot] [PATCH] package/ethtool: bump to version 5.17 In-Reply-To: <20220426113724.3544523-1-francois.perrad@gadz.org> References: <20220426113724.3544523-1-francois.perrad@gadz.org> Message-ID: <60587a76-4edd-574f-29cc-262b328244d0@mind.be> On 26/04/2022 13:37, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks, as well as the 7 other version bumps. Regards, Arnout > --- > package/ethtool/ethtool.hash | 2 +- > package/ethtool/ethtool.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash > index 59c657e86..f317a1fb1 100644 > --- a/package/ethtool/ethtool.hash > +++ b/package/ethtool/ethtool.hash > @@ -1,5 +1,5 @@ > # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc > -sha256 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d ethtool-5.15.tar.xz > +sha256 64ab914b9c6b45047245d91f40b8760b2728992a9e5af22717c644238e889133 ethtool-5.17.tar.xz > # Locally calculated > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE > diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk > index c4bb9bdd9..10f0c802a 100644 > --- a/package/ethtool/ethtool.mk > +++ b/package/ethtool/ethtool.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -ETHTOOL_VERSION = 5.15 > +ETHTOOL_VERSION = 5.17 > ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz > ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool > ETHTOOL_LICENSE = GPL-2.0 From arnout at mind.be Wed Apr 27 18:55:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:55:16 +0200 Subject: [Buildroot] [PATCH 1/2] package/libpri: fix static build In-Reply-To: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> References: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> Message-ID: On 26/04/2022 19:15, Fabrice Fontaine wrote: > pritest, rosetest and testprilib needs a static library and pridump > needs a dynamic library resulting in the following static build failure > since the addition of the package in commit > a77f356b78f9134227f9702a1eb09c3203c42d88: > > /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -fPIC -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c > /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -static -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o > /home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/aarch64_be-buildroot-linux-uclibc/10.3.0/../../../../aarch64_be-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-15/output-1/host/aarch64_be-buildroot-linux-uclibc/sysroot/lib/../lib64/libc.a(__uClibc_main.os): in function `__uClibc_fini': > __uClibc_main.c:(.text+0xd0): undefined reference to `__fini_array_start' > > Fixes: > - http://autobuild.buildroot.org/results/1217922af3a72646ae242c2c4dec22ead7883b91 > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > package/libpri/libpri.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk > index e1fa2abcf5..34d84393c4 100644 > --- a/package/libpri/libpri.mk > +++ b/package/libpri/libpri.mk > @@ -17,6 +17,7 @@ LIBPRI_INSTALL_STAGING = YES > # So we need to explicitly build only what we can. > ifneq ($(BR2_SHARED_LIBS),y) > LIBPRI_LIBS = libpri.a > +LIBPRI_UTILS += pritest rosetest testprilib > define LIBPRI_INSTALL_A > $(INSTALL) -D -m 0644 $(@D)/libpri.a $(1)/usr/lib/libpri.a > endef > @@ -24,14 +25,13 @@ endif > > ifneq ($(BR2_STATIC_LIBS),y) > LIBPRI_LIBS += libpri.so.1.4 > +LIBPRI_UTILS += pridump > define LIBPRI_INSTALL_SO > $(INSTALL) -D -m 0644 $(@D)/libpri.so.1.4 $(1)/usr/lib/libpri.so.1.4 > ln -sf libpri.so.1.4 $(1)/usr/lib/libpri.so > endef > endif > > -LIBPRI_UTILS = pridump pritest rosetest testprilib > - > define LIBPRI_BUILD_CMDS > $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ > CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \ From arnout at mind.be Wed Apr 27 18:55:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:55:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: fix static build In-Reply-To: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> References: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> Message-ID: <644210a2-2745-6490-fb88-9ce133c86a06@mind.be> On 26/04/2022 19:21, Fabrice Fontaine wrote: > Fix the following static build failure: > > /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': > syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here > > Fixes: > - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...nel-fs-declare-int-openlog-as-static.patch | 77 +++++++++++++++++++ > 1 file changed, 77 insertions(+) > create mode 100644 package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch > > diff --git a/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch > new file mode 100644 > index 0000000000..ae10bfcfdd > --- /dev/null > +++ b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch > @@ -0,0 +1,77 @@ > +From 002ca0320cd2c5e1515bf202f470d4becdf01532 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 24 Apr 2022 21:56:36 +0200 > +Subject: [PATCH] testcases/kernel/fs: declare int openlog as static > + > +Declare int openlog as static to avoid the following build failure when > +building statically (e.g. on buildroot): > + > +/nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': > +syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here > + > +Fixes: > + - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 > + > +Signed-off-by: Fabrice Fontaine > +Reviewed-by: Cyril Hrubis > +[Retrieved from: > +https://github.com/linux-test-project/ltp/commit/002ca0320cd2c5e1515bf202f470d4becdf01532] > +--- > + testcases/kernel/fs/fs-bench/random-access-del-create.c | 2 -- > + testcases/kernel/fs/fs-bench/random-access.c | 2 +- > + testcases/kernel/fs/fs-bench/random-del-create.c | 2 +- > + testcases/kernel/fs/scsi/ltpfs/main.c | 2 +- > + 4 files changed, 3 insertions(+), 5 deletions(-) > + > +diff --git a/testcases/kernel/fs/fs-bench/random-access-del-create.c b/testcases/kernel/fs/fs-bench/random-access-del-create.c > +index 1f62a76b5e..1878fd78b5 100644 > +--- a/testcases/kernel/fs/fs-bench/random-access-del-create.c > ++++ b/testcases/kernel/fs/fs-bench/random-access-del-create.c > +@@ -11,8 +11,6 @@ > + #define FAIL 0 > + #define SUCCESS 1 > + > +-int openlog[2] = { 0, 0 }; > +- > + #define MAXNUM 0x100000 > + > + #define MAXERROR 1024 > +diff --git a/testcases/kernel/fs/fs-bench/random-access.c b/testcases/kernel/fs/fs-bench/random-access.c > +index cf41d6e81c..c2f32b86e7 100644 > +--- a/testcases/kernel/fs/fs-bench/random-access.c > ++++ b/testcases/kernel/fs/fs-bench/random-access.c > +@@ -11,7 +11,7 @@ > + #define FAIL 0 > + #define SUCCESS 1 > + > +-int openlog[2] = { 0, 0 }; > ++static int openlog[2] = { 0, 0 }; > + > + #define MAXNUM 0x100000 > + > +diff --git a/testcases/kernel/fs/fs-bench/random-del-create.c b/testcases/kernel/fs/fs-bench/random-del-create.c > +index 0a86f976f3..345031f283 100644 > +--- a/testcases/kernel/fs/fs-bench/random-del-create.c > ++++ b/testcases/kernel/fs/fs-bench/random-del-create.c > +@@ -11,7 +11,7 @@ > + #define FAIL 0 > + #define SUCCESS 1 > + > +-int openlog[2] = { 0, 0 }; > ++static int openlog[2] = { 0, 0 }; > + > + #define MAXNUM 0x100000 > + > +diff --git a/testcases/kernel/fs/scsi/ltpfs/main.c b/testcases/kernel/fs/scsi/ltpfs/main.c > +index 2c67c7a478..90a5531ac3 100644 > +--- a/testcases/kernel/fs/scsi/ltpfs/main.c > ++++ b/testcases/kernel/fs/scsi/ltpfs/main.c > +@@ -38,7 +38,7 @@ int startc = 0; > + int showchar[] = { 124, 47, 45, 92, 124, 47, 45, 92 }; > + > + int nullFileHandle; > +-int openlog[2] = { 0, 0 }; > ++static int openlog[2] = { 0, 0 }; > + > + int cFileCount, dFileCount, errorCount; > + static int disk_space_pool = 0; From arnout at mind.be Wed Apr 27 18:50:05 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:05 +0200 Subject: [Buildroot] [git commit] package/python-esptool: bump version to 3.3 Message-ID: <20220427184726.1C39B845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3cd32e0a57112ecc309092331e9836051f105ec0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bartosz Bilas Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-esptool/python-esptool.hash | 6 +++--- package/python-esptool/python-esptool.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-esptool/python-esptool.hash b/package/python-esptool/python-esptool.hash index a916f9a09a..ac8f6972d7 100644 --- a/package/python-esptool/python-esptool.hash +++ b/package/python-esptool/python-esptool.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/esptool/json -md5 84aa6ffb4723b1f59a2c83244a9ad918 esptool-3.2.tar.gz -sha256 9638ff11c68e621e08e7c3335d4fd9d70b2ddcf7caae778073cd8cc27be1216f esptool-3.2.tar.gz +md5 ac499eaa99df9b536a98a6f99644f8f6 esptool-3.3.tar.gz +sha256 39b92e1848e352183188f149f3e876cde4b8a1c095551e7e545a28e5c11eea13 esptool-3.3.tar.gz # Locally computed sha256 checksums -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/python-esptool/python-esptool.mk b/package/python-esptool/python-esptool.mk index 77291e252b..28b5075e72 100644 --- a/package/python-esptool/python-esptool.mk +++ b/package/python-esptool/python-esptool.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ESPTOOL_VERSION = 3.2 +PYTHON_ESPTOOL_VERSION = 3.3 PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz -PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/60/a4/33907f5b735f9179061bd6b6cae7123d4a2d0cdf46c879fa55e66edef24f +PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/63/85/1a7f65d3f89c112c721c6ec013ecd948112df17640e453ddeb1921b05aab PYTHON_ESPTOOL_SETUP_TYPE = setuptools PYTHON_ESPTOOL_LICENSE = GPL-2.0+ PYTHON_ESPTOOL_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 18:50:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:15 +0200 Subject: [Buildroot] [git commit] boot/barebox: bump version to 2022.04.0 Message-ID: <20220427184726.2773584601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f6ba5e31c27fb0b908fab40c979c0f47fff5fd08 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bartosz Bilas Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- boot/barebox/Config.in | 4 ++-- boot/barebox/barebox.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in index c16fea3cea..726f0f980b 100644 --- a/boot/barebox/Config.in +++ b/boot/barebox/Config.in @@ -12,7 +12,7 @@ choice Select the specific Barebox version you want to use config BR2_TARGET_BAREBOX_LATEST_VERSION - bool "2022.01.0" + bool "2022.04.0" config BR2_TARGET_BAREBOX_CUSTOM_VERSION bool "Custom version" @@ -40,7 +40,7 @@ endif config BR2_TARGET_BAREBOX_VERSION string - default "2022.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION + default "2022.04.0" if BR2_TARGET_BAREBOX_LATEST_VERSION default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT diff --git a/boot/barebox/barebox.hash b/boot/barebox/barebox.hash index 3d52d40beb..3a92f7fd82 100644 --- a/boot/barebox/barebox.hash +++ b/boot/barebox/barebox.hash @@ -1,8 +1,8 @@ # From https://www.barebox.org/download/barebox-2021.12.0.tar.bz2.md5 -md5 753ba533ced54f4113f9e97846c13fc1 barebox-2022.01.0.tar.bz2 +md5 e4970687cf7943eadf71b1ae6d344ff7 barebox-2022.04.0.tar.bz2 # Locally calculated -sha256 ddf7898075bec05e4865ce0f7a2ac19c2b1efaaa0d066eba1939494e25711d28 barebox-2022.01.0.tar.bz2 +sha256 f751b506deb0a5d82682a85cf65e329dd562e48ea057533dc5c8876120a09ebc barebox-2022.04.0.tar.bz2 # License files, locally computed sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/kodi-inputstream-adaptive: bump version to 19.0.4-Matrix Message-ID: <20220427184726.32C9784602@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=abb1286fa02bf89be32e84ccb86a441da10147ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash | 2 +- package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash index 74aefe2138..36294274f2 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 1549422ac1386929dfc1a479898d6311440d1f8bfd1bc94e1fe5da9cc2db805c kodi-inputstream-adaptive-19.0.3-Matrix.tar.gz +sha256 eef7660e9306854282ccc8b994ffc38b2fe1e62e155d883cfa346bddc84b595b kodi-inputstream-adaptive-19.0.4-Matrix.tar.gz sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk index 83ac897037..ed85d21684 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.3-Matrix +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.4-Matrix KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPL-2.0+ KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = LICENSE.GPL From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/wtfutil: add CPE variables Message-ID: <20220427184726.4986B84601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cfaee5c49f1ace45adb84be671a49f7a6d1e6079 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:wtfutil:wtf is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Awtfutil%3Awtf Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wtfutil/wtfutil.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk index 6e841411a9..54fea09574 100644 --- a/package/wtfutil/wtfutil.mk +++ b/package/wtfutil/wtfutil.mk @@ -8,5 +8,7 @@ WTFUTIL_VERSION = 0.41.0 WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) WTFUTIL_LICENSE = MPL-2.0 WTFUTIL_LICENSE_FILES = LICENSE.md +WTFUTIL_CPE_ID_VENDOR = wtfutil +WTFUTIL_CPE_ID_PRODUCT = wtf $(eval $(golang-package)) From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/moarvm: bump to version 2022.04 Message-ID: <20220427184726.8C0E384601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c8e842467844cd43ab641979d6e7f85686d451d3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/moarvm/moarvm.hash | 2 +- package/moarvm/moarvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/moarvm/moarvm.hash b/package/moarvm/moarvm.hash index 58e3ce8ac3..31d91457e5 100644 --- a/package/moarvm/moarvm.hash +++ b/package/moarvm/moarvm.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 4f93cdce6b8a565a32282bb38cc971cefeb71f5d022c850c338ee8145574ee96 MoarVM-2022.02.tar.gz +sha256 ae06f50ba5562721a4e5eb6457e2fea2d07eda63e2abaa8c939c9daf70774804 MoarVM-2022.04.tar.gz sha256 c53c6b96081b0a5b9b2fb4d0133d55c20e5e00e4c127ade62f03434ee7b3d2de Artistic2.txt diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk index db336bfe4a..1408f161f7 100644 --- a/package/moarvm/moarvm.mk +++ b/package/moarvm/moarvm.mk @@ -4,7 +4,7 @@ # ################################################################################ -MOARVM_VERSION = 2022.02 +MOARVM_VERSION = 2022.04 MOARVM_SITE = http://moarvm.com/releases MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz MOARVM_LICENSE = Artistic-2.0 From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] Revert "package/pure-ftpd: doesn't build with libressl" Message-ID: <20220427184726.3E8D5845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=915c1d0aa4cee24bf9f8d9c60cafd708fe4e2f19 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This reverts commit e87e6fd085b8a4965b9dc84635fd36e380da4dde as pure-ftpd can be built with libressl since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2 and https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pure-ftpd/pure-ftpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk index 0354949e28..f3cbef84b9 100644 --- a/package/pure-ftpd/pure-ftpd.mk +++ b/package/pure-ftpd/pure-ftpd.mk @@ -45,7 +45,7 @@ else PURE_FTPD_CONF_OPTS += --without-ldap endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +ifeq ($(BR2_PACKAGE_OPENSSL),y) PURE_FTPD_CONF_OPTS += --with-tls PURE_FTPD_DEPENDENCIES += host-pkgconf openssl PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/hwdata: bump to version 0.358 Message-ID: <20220427184726.696D784601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b5be270f2bb79ad0616cae8d0246b14eb60f9be1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/hwdata/hwdata.hash | 2 +- package/hwdata/hwdata.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/hwdata/hwdata.hash b/package/hwdata/hwdata.hash index 7861106859..6c5a091a06 100644 --- a/package/hwdata/hwdata.hash +++ b/package/hwdata/hwdata.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 0d3d21af57822f35141b524808fd9e4823dbb413df338606195010dc0aa1c935 hwdata-0.355.tar.gz +sha256 f0bb38588b9fcb43e15dac4ce8461b7580ef38ac20ecab83cef638413646decb hwdata-0.358.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f LICENSE diff --git a/package/hwdata/hwdata.mk b/package/hwdata/hwdata.mk index 4dd9c9e28e..b2e1838074 100644 --- a/package/hwdata/hwdata.mk +++ b/package/hwdata/hwdata.mk @@ -4,7 +4,7 @@ # ################################################################################ -HWDATA_VERSION = 0.355 +HWDATA_VERSION = 0.358 HWDATA_SITE = $(call github,vcrhonek,hwdata,v$(HWDATA_VERSION)) HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0 HWDATA_LICENSE_FILES = COPYING LICENSE From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/libgcrypt: bump to version 1.10.1 Message-ID: <20220427184726.812EA845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1e7f5587236831893f25d2147cdc939136c23c7e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master remove upstream patch Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...nfigure.ac-add-an-option-to-disable-tests.patch | 2 +- ...itterentropy-Include-fcntl-h-and-limits-h.patch | 38 ---------------------- package/libgcrypt/libgcrypt.hash | 4 +-- package/libgcrypt/libgcrypt.mk | 2 +- 4 files changed, 4 insertions(+), 42 deletions(-) diff --git a/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch b/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch index e32f938634..5ddde9df1b 100644 --- a/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch +++ b/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch @@ -44,7 +44,7 @@ diff --git a/configure.ac b/configure.ac index e8c8cd39..1a6b61e5 100644 --- a/configure.ac +++ b/configure.ac -@@ -3230,6 +3230,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], +@@ -3231,6 +3231,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno]) diff --git a/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch b/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch deleted file mode 100644 index 8f76f24c64..0000000000 --- a/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch +++ /dev/null @@ -1,38 +0,0 @@ -From ffaef0be613121d3ee37867d82932a7a30c2bc6d Mon Sep 17 00:00:00 2001 -From: Heiko Becker -Date: Thu, 3 Feb 2022 22:46:41 +0000 -Subject: [PATCH] jitterentropy: Include and - -* random/jitterentropy-base-user.h: Include for O_RDONLY -* random/jitterentropy-base-user.h: Include for LONG_MAX - --- - -Fixes the build with musl libc. - -Signed-off-by: Heiko Becker - -[Retrieved from: -https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=ffaef0be613121d3ee37867d82932a7a30c2bc6d] -Signed-off-by: Fabrice Fontaine ---- - random/jitterentropy-base-user.h | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/random/jitterentropy-base-user.h b/random/jitterentropy-base-user.h -index 326dfbed..389106ff 100644 ---- a/random/jitterentropy-base-user.h -+++ b/random/jitterentropy-base-user.h -@@ -39,6 +39,9 @@ - * DAMAGE. - */ - -+#include -+#include -+ - #ifndef GCRYPT_JITTERENTROPY_BASE_USER_H - #define GCRYPT_JITTERENTROPY_BASE_USER_H - --- -2.11.0 - diff --git a/package/libgcrypt/libgcrypt.hash b/package/libgcrypt/libgcrypt.hash index 2ea4d74c2e..96f5e6b76c 100644 --- a/package/libgcrypt/libgcrypt.hash +++ b/package/libgcrypt/libgcrypt.hash @@ -1,5 +1,5 @@ # Locally calculated after checking signature -# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.0.tar.bz2.sig +# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.1.tar.bz2.sig # using key 6DAA6E64A76D2840571B4902528897B826403ADA -sha256 6a00f5c05caa4c4acc120c46b63857da0d4ff61dc4b4b03933fa8d46013fae81 libgcrypt-1.10.0.tar.bz2 +sha256 ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de libgcrypt-1.10.1.tar.bz2 sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index c6c88f6076..f28552c6e7 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBGCRYPT_VERSION = 1.10.0 +LIBGCRYPT_VERSION = 1.10.1 LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 LIBGCRYPT_LICENSE = LGPL-2.1+ LIBGCRYPT_LICENSE_FILES = COPYING.LIB From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/libfribidi: bump to version 1.0.12 Message-ID: <20220427184726.7527984602@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0f42b67077a8f620f66c654c92518cf53efb9a92 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libfribidi/libfribidi.hash | 2 +- package/libfribidi/libfribidi.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfribidi/libfribidi.hash b/package/libfribidi/libfribidi.hash index da25b2d24d..7e5df98112 100644 --- a/package/libfribidi/libfribidi.hash +++ b/package/libfribidi/libfribidi.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d fribidi-1.0.11.tar.xz +sha256 0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495 fribidi-1.0.12.tar.xz sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/package/libfribidi/libfribidi.mk b/package/libfribidi/libfribidi.mk index adbd786db1..ec86f468a4 100644 --- a/package/libfribidi/libfribidi.mk +++ b/package/libfribidi/libfribidi.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFRIBIDI_VERSION = 1.0.11 +LIBFRIBIDI_VERSION = 1.0.12 LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.xz LIBFRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(LIBFRIBIDI_VERSION) LIBFRIBIDI_LICENSE = LGPL-2.1+ From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/ethtool: bump to version 5.17 Message-ID: <20220427184726.54C3D845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4065b6004c278a832389e9ab5311410d8cd0fad7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ethtool/ethtool.hash | 2 +- package/ethtool/ethtool.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 59c657e868..f317a1fb12 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d ethtool-5.15.tar.xz +sha256 64ab914b9c6b45047245d91f40b8760b2728992a9e5af22717c644238e889133 ethtool-5.17.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index c4bb9bdd90..10f0c802a6 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,7 @@ # ################################################################################ -ETHTOOL_VERSION = 5.15 +ETHTOOL_VERSION = 5.17 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool ETHTOOL_LICENSE = GPL-2.0 From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/pciutils: bump to version 3.8.0 Message-ID: <20220427184726.963F3845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=07c95d3eacecc8fac2f4e816769314a9053774f7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pciutils/pciutils.hash | 2 +- package/pciutils/pciutils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pciutils/pciutils.hash b/package/pciutils/pciutils.hash index 4b13c7484e..0b66b82589 100644 --- a/package/pciutils/pciutils.hash +++ b/package/pciutils/pciutils.hash @@ -1,3 +1,3 @@ # From https://www.kernel.org/pub/software/utils/pciutils/sha256sums.asc -sha256 9d40b97be8b6a2cdf96aead5a61881d1f7e4e0da9544a9bac4fba1ae9dcd40eb pciutils-3.7.0.tar.xz +sha256 91edbd0429a84705c9ad156d4ff38ccc724d41ea54c4c5b88e38e996f8a34f05 pciutils-3.8.0.tar.xz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index 67defcc743..c1445968b9 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -4,7 +4,7 @@ # ################################################################################ -PCIUTILS_VERSION = 3.7.0 +PCIUTILS_VERSION = 3.8.0 PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz PCIUTILS_INSTALL_STAGING = YES From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/harfbuzz: bump to version 4.2.1 Message-ID: <20220427184726.5F217845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2dacd52d27b06536f084368ae0f1352aff33915b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/harfbuzz/0001-meson.build-check-for-pthread.h.patch | 2 +- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch b/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch index 9fa09863c6..102f9ff493 100644 --- a/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch +++ b/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch @@ -26,7 +26,7 @@ diff --git a/meson.build b/meson.build index bf3925db..6d263d48 100644 --- a/meson.build +++ b/meson.build -@@ -281,7 +281,9 @@ endif +@@ -270,7 +270,9 @@ endif # threads thread_dep = null_dep if host_machine.system() != 'windows' diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash index 1576824a5a..f3ba228353 100644 --- a/package/harfbuzz/harfbuzz.hash +++ b/package/harfbuzz/harfbuzz.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz +sha256 bd17916513829aeff961359a5ccebba6de2f4bf37a91faee3ac29c120e3d7ee1 harfbuzz-4.2.1.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 551277a788..38ed34ab70 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 4.2.0 +HARFBUZZ_VERSION = 4.2.1 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library) From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/libpri: fix static build Message-ID: <20220427184726.AA5FD845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=987988cee5aa6e934df7bee0d58ec5a23fffcc5f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master pritest, rosetest and testprilib needs a static library and pridump needs a dynamic library resulting in the following static build failure since the addition of the package in commit a77f356b78f9134227f9702a1eb09c3203c42d88: /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -fPIC -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -static -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o /home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/aarch64_be-buildroot-linux-uclibc/10.3.0/../../../../aarch64_be-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-15/output-1/host/aarch64_be-buildroot-linux-uclibc/sysroot/lib/../lib64/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0xd0): undefined reference to `__fini_array_start' Fixes: - http://autobuild.buildroot.org/results/1217922af3a72646ae242c2c4dec22ead7883b91 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libpri/libpri.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index e1fa2abcf5..34d84393c4 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -17,6 +17,7 @@ LIBPRI_INSTALL_STAGING = YES # So we need to explicitly build only what we can. ifneq ($(BR2_SHARED_LIBS),y) LIBPRI_LIBS = libpri.a +LIBPRI_UTILS += pritest rosetest testprilib define LIBPRI_INSTALL_A $(INSTALL) -D -m 0644 $(@D)/libpri.a $(1)/usr/lib/libpri.a endef @@ -24,14 +25,13 @@ endif ifneq ($(BR2_STATIC_LIBS),y) LIBPRI_LIBS += libpri.so.1.4 +LIBPRI_UTILS += pridump define LIBPRI_INSTALL_SO $(INSTALL) -D -m 0644 $(@D)/libpri.so.1.4 $(1)/usr/lib/libpri.so.1.4 ln -sf libpri.so.1.4 $(1)/usr/lib/libpri.so endef endif -LIBPRI_UTILS = pridump pritest rosetest testprilib - define LIBPRI_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \ From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/strace: bump to version 5.17 Message-ID: <20220427184726.A149084601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=32a5cfe553fb72f1d50c7037d268c68ddf1b3087 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/strace/strace.hash | 4 ++-- package/strace/strace.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/strace/strace.hash b/package/strace/strace.hash index 30c90e8e39..f3567db637 100644 --- a/package/strace/strace.hash +++ b/package/strace/strace.hash @@ -1,5 +1,5 @@ # Locally calculated after checking signature with RSA key 0xA8041FA839E16E36 -# https://strace.io/files/5.16/strace-5.16.tar.xz.asc -sha256 dc7db230ff3e57c249830ba94acab2b862da1fcaac55417e9b85041a833ca285 strace-5.16.tar.xz +# https://strace.io/files/5.17/strace-5.17.tar.xz.asc +sha256 5fb298dbd1331fd1e1bc94c5c32395860d376101b87c6cd3d1ba9f9aa15c161f strace-5.17.tar.xz sha256 d92f973d08c8466993efff1e500453add0c038c20b4d2cbce3297938a296aea9 COPYING sha256 7c379436436a562834aa7d2f5dcae1f80a25230fa74201046ca1fba4367d39aa LGPL-2.1-or-later diff --git a/package/strace/strace.mk b/package/strace/strace.mk index c8c3590f6e..cbd737e124 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -4,7 +4,7 @@ # ################################################################################ -STRACE_VERSION = 5.16 +STRACE_VERSION = 5.17 STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz STRACE_SITE = https://strace.io/files/$(STRACE_VERSION) STRACE_LICENSE = LGPL-2.1+ From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] toolchain/toolchain-external/toolchain-external-custom: add gcc 12 version selection Message-ID: <20220427184726.CDFC684602@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6063f2378f8fbab296b7aa56cdc8a774e599708b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This patch allows to use an external toolchain based on gcc 12. Signed-off-by: Florian Fainelli Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../toolchain-external/toolchain-external-custom/Config.in.options | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 9346fa3feb..683204e56e 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -31,6 +31,10 @@ choice Set to the gcc version that is used by your external toolchain. +config BR2_TOOLCHAIN_EXTERNAL_GCC_12 + bool "12.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_12 + config BR2_TOOLCHAIN_EXTERNAL_GCC_11 bool "11.x" select BR2_TOOLCHAIN_GCC_AT_LEAST_11 From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/ltp-testsuite: fix static build Message-ID: <20220427184726.BC69784601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e47efc9b90e8ecfe5b0b21f967001748fc111fbc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following static build failure: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here Fixes: - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 Signed-off-by: Fabrice Fontaine Reviewed-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...s-kernel-fs-declare-int-openlog-as-static.patch | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch new file mode 100644 index 0000000000..ae10bfcfdd --- /dev/null +++ b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch @@ -0,0 +1,77 @@ +From 002ca0320cd2c5e1515bf202f470d4becdf01532 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 24 Apr 2022 21:56:36 +0200 +Subject: [PATCH] testcases/kernel/fs: declare int openlog as static + +Declare int openlog as static to avoid the following build failure when +building statically (e.g. on buildroot): + +/nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': +syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here + +Fixes: + - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 + +Signed-off-by: Fabrice Fontaine +Reviewed-by: Cyril Hrubis +[Retrieved from: +https://github.com/linux-test-project/ltp/commit/002ca0320cd2c5e1515bf202f470d4becdf01532] +--- + testcases/kernel/fs/fs-bench/random-access-del-create.c | 2 -- + testcases/kernel/fs/fs-bench/random-access.c | 2 +- + testcases/kernel/fs/fs-bench/random-del-create.c | 2 +- + testcases/kernel/fs/scsi/ltpfs/main.c | 2 +- + 4 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/testcases/kernel/fs/fs-bench/random-access-del-create.c b/testcases/kernel/fs/fs-bench/random-access-del-create.c +index 1f62a76b5e..1878fd78b5 100644 +--- a/testcases/kernel/fs/fs-bench/random-access-del-create.c ++++ b/testcases/kernel/fs/fs-bench/random-access-del-create.c +@@ -11,8 +11,6 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; +- + #define MAXNUM 0x100000 + + #define MAXERROR 1024 +diff --git a/testcases/kernel/fs/fs-bench/random-access.c b/testcases/kernel/fs/fs-bench/random-access.c +index cf41d6e81c..c2f32b86e7 100644 +--- a/testcases/kernel/fs/fs-bench/random-access.c ++++ b/testcases/kernel/fs/fs-bench/random-access.c +@@ -11,7 +11,7 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + #define MAXNUM 0x100000 + +diff --git a/testcases/kernel/fs/fs-bench/random-del-create.c b/testcases/kernel/fs/fs-bench/random-del-create.c +index 0a86f976f3..345031f283 100644 +--- a/testcases/kernel/fs/fs-bench/random-del-create.c ++++ b/testcases/kernel/fs/fs-bench/random-del-create.c +@@ -11,7 +11,7 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + #define MAXNUM 0x100000 + +diff --git a/testcases/kernel/fs/scsi/ltpfs/main.c b/testcases/kernel/fs/scsi/ltpfs/main.c +index 2c67c7a478..90a5531ac3 100644 +--- a/testcases/kernel/fs/scsi/ltpfs/main.c ++++ b/testcases/kernel/fs/scsi/ltpfs/main.c +@@ -38,7 +38,7 @@ int startc = 0; + int showchar[] = { 124, 47, 45, 92, 124, 47, 45, 92 }; + + int nullFileHandle; +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + int cFileCount, dFileCount, errorCount; + static int disk_space_pool = 0; From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/libpri: bump to version 1.6.0 Message-ID: <20220427184726.B3A7584602@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c932b7bb9092d6004837a38c6e3562c1b10bba23 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update indentation in hash file (two spaces) http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.6.0-summary.html Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libpri/libpri.hash | 4 ++-- package/libpri/libpri.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libpri/libpri.hash b/package/libpri/libpri.hash index 47c4a00307..77985df96a 100644 --- a/package/libpri/libpri.hash +++ b/package/libpri/libpri.hash @@ -1,6 +1,6 @@ # sha1 and sha256 from http://downloads.asterisk.org/pub/telephony/libpri/releases/ -sha1 63536f3300fb007dfd5fe8064406992ca938bd9a libpri-1.5.0.tar.gz -sha256 ee224bc4aa65c54546bd09675c3f0b71817ce9e277332bce86989d8dcd556a24 libpri-1.5.0.tar.gz +sha1 8440007477ebf131020afb00f57672b108b4db2c libpri-1.6.0.tar.gz +sha256 7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6 libpri-1.6.0.tar.gz # License files, locally calculated sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index 34d84393c4..48a1019210 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBPRI_VERSION = 1.5.0 +LIBPRI_VERSION = 1.6.0 LIBPRI_SITE = http://downloads.asterisk.org/pub/telephony/libpri/releases LIBPRI_LICENSE = GPL-2.0 with OpenH323 exception From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option Message-ID: <20220427184726.C561E845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f698cbc2235a6362399cf76acdf54e0bdb0b4664 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In order to add gcc 12 support for internal and external toolchain in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_12 symbol. Signed-off-by: Florian Fainelli Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- toolchain/Config.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index d2c81217c8..b572a89f2f 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -117,7 +117,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ - BR2_TOOLCHAIN_GCC_AT_LEAST_11 + BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no # longer exists in gcc 8.x. @@ -150,7 +151,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 bool default y if BR2_sh - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no # longer exists in gcc 8.x. @@ -698,10 +700,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_11 bool select BR2_TOOLCHAIN_GCC_AT_LEAST_10 +config BR2_TOOLCHAIN_GCC_AT_LEAST_12 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_GCC_AT_LEAST string + default "12" if BR2_TOOLCHAIN_GCC_AT_LEAST_12 default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11 default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10 default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9 From arnout at mind.be Wed Apr 27 19:00:46 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:00:46 +0200 Subject: [Buildroot] [PATCH v2 0/2] External GCC12 toolchain support In-Reply-To: <20220426173211.64840-1-f.fainelli@gmail.com> References: <20220426173211.64840-1-f.fainelli@gmail.com> Message-ID: On 26/04/2022 19:32, Florian Fainelli wrote: > This patch series allows us to use Linaro's GCC12 snapshot that can be > downloaded from here: > > https://snapshots.linaro.org/gnu-toolchain/12.0-2021.10-1/aarch64-linux-gnu/ > > Changes in v2: > > - rebased against master > > Florian Fainelli (2): > toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option > toolchain/toolchain-external/toolchain-external-custom: add gcc 12 > version selection Series applied to master, thanks. I was thinking that it would be useful to add an option BR2_TOOLCHAIN_GCC_NEWER and BR2_TOOLCHAIN_EXTERNAL_GCC_12_PLUS that selects it. That way, you can use newer GCC without changing Buildroot. Same for linux-headers. Note that the blind option can simply be _NEWER, but the user-visible option has to have the version explicit in it, so legacy handling can force the user to use the correct version when Buildroot is updated. Regards, Arnout > > toolchain/Config.in | 11 +++++++++-- > .../toolchain-external-custom/Config.in.options | 4 ++++ > 2 files changed, 13 insertions(+), 2 deletions(-) > From arnout at mind.be Wed Apr 27 19:26:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:26:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/mpd: fix iconv detection w/ libiconv installed In-Reply-To: <20220427052715.7642-1-br015@umbiko.net> References: <20220427052715.7642-1-br015@umbiko.net> Message-ID: On 27/04/2022 07:27, Andreas Ziegler wrote: > Fix build failures caused by meson failing to properly detect iconv() when > libiconv is installed and a missing link dependency. > > Upstream pull request: > https://github.com/MusicPlayerDaemon/MPD/pull/1515 > > Fixes the following build failures: > http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ > > Signed-off-by: Andreas Ziegler > --- > ...detection-when-libiconv-is-installed.patch | 71 +++++++++++++++++++ > 1 file changed, 71 insertions(+) > create mode 100644 package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch > > diff --git a/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch b/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch > new file mode 100644 > index 0000000000..6121bc9740 > --- /dev/null > +++ b/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch > @@ -0,0 +1,71 @@ > +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 > +From: aeolio > +Date: Wed, 20 Apr 2022 16:10:39 +0200 > +Subject: [PATCH 1/2] src/lib/icu: fix iconv() detection when libiconv is Remove the N/M (git format-patch -N). > + installed > + Add a Signed-off-by line for yourself. This is a short way for you to assert that you are entitled to contribute the patch under the upstream project's license. See http://elinux.org/Developer_Certificate_Of_Origin for more details. > +--- > + src/lib/icu/meson.build | 11 +++++++++-- > + 1 file changed, 9 insertions(+), 2 deletions(-) > + > +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build > +index 59215e704b..972c1fda3f 100644 > +--- a/src/lib/icu/meson.build > ++++ b/src/lib/icu/meson.build > +@@ -12,17 +12,23 @@ if is_windows > + icu_sources += 'Win32.cxx' > + endif > + > ++iconv_dep = [] > + if icu_dep.found() > + icu_sources += [ > + 'Util.cxx', > + 'Init.cxx', > + ] > + elif not get_option('iconv').disabled() > +- have_iconv = compiler.has_function('iconv', prefix : '#include ') > +- conf.set('HAVE_ICONV', have_iconv) > ++ # an installed iconv library will make the builtin iconf() unavailable, > ++ # so search for the library first and pass it as (possible) dependency > ++ iconv_dep = compiler.find_library('libiconv', required: false) > ++ have_iconv = compiler.has_function('iconv', > ++ dependencies: iconv_dep, > ++ prefix : '#include ') > + if not have_iconv and get_option('iconv').enabled() > + error('iconv() not available') > + endif > ++ conf.set('HAVE_ICONV', have_iconv) > + endif > + > + icu = static_library( > +@@ -31,6 +37,7 @@ icu = static_library( > + include_directories: inc, > + dependencies: [ > + icu_dep, > ++ iconv_dep, > + fmt_dep, > + ], > + ) > + > +From ee39af34199aa875e109f7002a401d6ebbd66c22 Mon Sep 17 00:00:00 2001 > +From: aeolio > +Date: Sun, 24 Apr 2022 04:14:17 +0000 > +Subject: [PATCH 2/2] fix typo in comment Only one patch per patch file please. Though I don't see why you even need this patch. Regards, Arnout > + > +--- > + src/lib/icu/meson.build | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build > +index 972c1fda3f..6e489876b8 100644 > +--- a/src/lib/icu/meson.build > ++++ b/src/lib/icu/meson.build > +@@ -19,7 +19,7 @@ if icu_dep.found() > + 'Init.cxx', > + ] > + elif not get_option('iconv').disabled() > +- # an installed iconv library will make the builtin iconf() unavailable, > ++ # an installed iconv library will make the builtin iconv() unavailable, > + # so search for the library first and pass it as (possible) dependency > + iconv_dep = compiler.find_library('libiconv', required: false) > + have_iconv = compiler.has_function('iconv', From arnout at mind.be Wed Apr 27 19:34:51 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:34:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/libevent: fix build with libressl >= 3.5.0 In-Reply-To: <20220426173403.545488-1-fontaine.fabrice@gmail.com> References: <20220426173403.545488-1-fontaine.fabrice@gmail.com> Message-ID: <0aed2ce7-a7bb-38e3-d15c-2637cd6a5cb1@mind.be> On 26/04/2022 19:34, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since bump to > version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: > > In file included from bufferevent_openssl.c:68: > bufferevent_openssl.c: In function 'bio_bufferevent_free': > openssl-compat.h:44:28: error: invalid use of incomplete typedef 'BIO' {aka 'struct bio_st'} > 44 | #define BIO_get_init(b) (b)->init > | ^~ > bufferevent_openssl.c:124:7: note: in expansion of macro 'BIO_get_init' > 124 | if (BIO_get_init(b) && BIO_get_data(b)) > | ^~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/273f9aa354a08ef3af6140b8dec086408bf5d574 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...define-BIO_get_init-for-LibreSSL-3-5.patch | 29 +++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch > > diff --git a/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch > new file mode 100644 > index 0000000000..33c349b11d > --- /dev/null > +++ b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch > @@ -0,0 +1,29 @@ > +From 883630f76cbf512003b81de25cd96cb75c6cf0f9 Mon Sep 17 00:00:00 2001 > +From: Theo Buehler > +Date: Sun, 21 Nov 2021 21:38:20 +0100 > +Subject: [PATCH] Don't define BIO_get_init() for LibreSSL 3.5+ > + > +BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type > +will become opaque, so the existing macro will break the build. > + > +[Retrieved from: > +https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9] > +Signed-off-by: Fabrice Fontaine > +--- > + openssl-compat.h | 3 ++- > + 1 file changed, 2 insertions(+), 1 deletion(-) > + > +diff --git a/openssl-compat.h b/openssl-compat.h > +index a23e34251b..f5de25539f 100644 > +--- a/openssl-compat.h > ++++ b/openssl-compat.h > +@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name) > + #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ > + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */ > + > +-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L > ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && \ > ++ LIBRESSL_VERSION_NUMBER < 0x30500000L > + #define BIO_get_init(b) (b)->init > + #endif > + From arnout at mind.be Wed Apr 27 19:36:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:36:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/linknx: fix build with argp-standalone and NLS In-Reply-To: <20220426191934.2738310-1-fontaine.fabrice@gmail.com> References: <20220426191934.2738310-1-fontaine.fabrice@gmail.com> Message-ID: On 26/04/2022 21:19, Fabrice Fontaine wrote: > Fix the following build failure with argp-standalone and NLS raised > since commit 5430c8fedd0392e79e0c011825b056fea129980a: > > configure:7799: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xtensa-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp >&5 > /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': > /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:179: undefined reference to `libintl_dgettext' > > [...] > > checking for library containing argp_parse... no > configure: error: argp_parse not found > > Fixes: > - http://autobuild.buildroot.org/results/ce5753193ec4518c75ee0ab9270b577397ca1c02 > > Signed-off-by: Fabrice Fontaine > --- > package/linknx/linknx.mk | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk > index dbee0742fe..dcfcd5e3f5 100644 > --- a/package/linknx/linknx.mk > +++ b/package/linknx/linknx.mk > @@ -23,7 +23,10 @@ LINKNX_DEPENDENCIES = \ > host-pkgconf \ > libpthsem \ > $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \ > - $(if $(BR2_PACKAGE_LIBICONV),libiconv) > + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ > + $(TARGET_NLS_DEPENDENCIES) This is only really needed in case argp-standalone is selected... But it doesn't really hurt, so applied to master, thanks. Regards, Arnout > + > +LINKNX_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) > > ifeq ($(BR2_PACKAGE_LIBCURL),y) > LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr From arnout at mind.be Wed Apr 27 19:36:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:36:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/openobex: fix static with libusb and libatomic In-Reply-To: <20220426203036.2446167-1-fontaine.fabrice@gmail.com> References: <20220426203036.2446167-1-fontaine.fabrice@gmail.com> Message-ID: On 26/04/2022 22:30, Fabrice Fontaine wrote: > Force LibUSB_VERSION_1.0 to ON to fix the following static build failure > with libusb and libatomic: > > -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a > -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a - not found > > [...] > > /nvmedata/autobuild/instance-4/output-1/build/openobex-1.7.2/lib/transport/usbobex.h:30:10: fatal error: usb.h: No such file or directory > 30 | #include > | ^~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/52b0edc4278f65fb4a9671b65c655cc4544a3103 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/openobex/openobex.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk > index bc4a47e3d7..7109bffa8d 100644 > --- a/package/openobex/openobex.mk > +++ b/package/openobex/openobex.mk > @@ -20,6 +20,7 @@ OPENOBEX_DEPENDENCIES += bluez5_utils > endif > > ifeq ($(BR2_PACKAGE_LIBUSB),y) > +OPENOBEX_CONF_OPTS += -DLibUSB_VERSION_1.0=ON > OPENOBEX_DEPENDENCIES += libusb > endif > From arnout at mind.be Wed Apr 27 19:36:51 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:36:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsrtp: fix build with libressl >= 3.5.0 In-Reply-To: <20220426215755.782961-1-fontaine.fabrice@gmail.com> References: <20220426215755.782961-1-fontaine.fabrice@gmail.com> Message-ID: On 26/04/2022 23:57, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since bump to > version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: > > crypto/hash/hmac_ossl.c: In function 'srtp_hmac_alloc': > crypto/hash/hmac_ossl.c:88:55: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} > 88 | pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + > | ^~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/c346780ed664c9fe8c7112e4c256cfe8080a7af5 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...legacy-OpenSSL-to-fix-LibreSSL-build.patch | 86 +++++++++++++++++++ > 1 file changed, 86 insertions(+) > create mode 100644 package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch > > diff --git a/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch > new file mode 100644 > index 0000000000..68bfb085f7 > --- /dev/null > +++ b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch > @@ -0,0 +1,86 @@ > +From 16483b18a9980575bee23898b2dbfbe2a4675d84 Mon Sep 17 00:00:00 2001 > +From: Klemens Nanni > +Date: Sat, 15 Jan 2022 23:19:35 +0300 > +Subject: [PATCH] Remove compatibility code for legacy OpenSSL to fix LibreSSL > + build > + > +In current LibreSSL, `HMAC_CTX` aka. `struct hmac_ctx_st` is an opaque > +structure as of LibreSSL hmac.h revision 1.15 (14.01.2022) [0], thus > +`sizeof(HMAC_CTX)` fails to compile. > + > +The non-legacy code path should compile with LibreSSL versions as old > +as 2.7.0 (21.03.2018). > + > +Found while building https://github.com/desktop-app/tg_owt which bundles > +libsrtp 2.2.0 [1] on OpenBSD 7.0 -CURRENT/with latest LibreSSL. > + > +Suggestion to remove the legacy code from Theo Buehler, thanks. > + > +0: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libcrypto/hmac/hmac.h?rev=1.15&content-type=text/x-cvsweb-markup > +1: https://github.com/desktop-app/tg_owt/blob/6708e0d31a73e64fe12f54829bf4060c41b2658e/src/third_party/libsrtp/crypto/hash/hmac_ossl.c#L85 > + > +[Retrieved from: > +https://github.com/cisco/libsrtp/commit/16483b18a9980575bee23898b2dbfbe2a4675d84] > +Signed-off-by: Fabrice Fontaine > +--- > + crypto/hash/hmac_ossl.c | 29 ----------------------------- > + 1 file changed, 29 deletions(-) > + > +diff --git a/crypto/hash/hmac_ossl.c b/crypto/hash/hmac_ossl.c > +index ee6b0b58..c23c7f21 100644 > +--- a/crypto/hash/hmac_ossl.c > ++++ b/crypto/hash/hmac_ossl.c > +@@ -78,26 +78,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, > + return srtp_err_status_bad_param; > + } > + > +-/* OpenSSL 1.1.0 made HMAC_CTX an opaque structure, which must be allocated > +- using HMAC_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */ > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER > +- { > +- /* allocate memory for auth and HMAC_CTX structures */ > +- uint8_t *pointer; > +- HMAC_CTX *new_hmac_ctx; > +- pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + > +- sizeof(srtp_auth_t)); > +- if (pointer == NULL) { > +- return srtp_err_status_alloc_fail; > +- } > +- *a = (srtp_auth_t *)pointer; > +- (*a)->state = pointer + sizeof(srtp_auth_t); > +- new_hmac_ctx = (HMAC_CTX *)((*a)->state); > +- > +- HMAC_CTX_init(new_hmac_ctx); > +- } > +- > +-#else > + *a = (srtp_auth_t *)srtp_crypto_alloc(sizeof(srtp_auth_t)); > + if (*a == NULL) { > + return srtp_err_status_alloc_fail; > +@@ -109,7 +89,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, > + *a = NULL; > + return srtp_err_status_alloc_fail; > + } > +-#endif > + > + /* set pointers */ > + (*a)->type = &srtp_hmac; > +@@ -126,18 +105,10 @@ static srtp_err_status_t srtp_hmac_dealloc(srtp_auth_t *a) > + > + hmac_ctx = (HMAC_CTX *)a->state; > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER > +- HMAC_CTX_cleanup(hmac_ctx); > +- > +- /* zeroize entire state*/ > +- octet_string_set_to_zero(a, sizeof(HMAC_CTX) + sizeof(srtp_auth_t)); > +- > +-#else > + HMAC_CTX_free(hmac_ctx); > + > + /* zeroize entire state*/ > + octet_string_set_to_zero(a, sizeof(srtp_auth_t)); > +-#endif > + > + /* free memory */ > + srtp_crypto_free(a); From arnout at mind.be Wed Apr 27 19:37:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:37:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/wayland: don't rely on implicit GNU extensions In-Reply-To: <20220426223517.997019-1-james.hilliard1@gmail.com> References: <20220426223517.997019-1-james.hilliard1@gmail.com> Message-ID: <7d0d7166-68c5-f227-b036-9f4743d1007f@mind.be> On 27/04/2022 00:35, James Hilliard wrote: > Backport a patch so that we don't rely on implicit GNU extensions. > > Fixes: > - http://autobuild.buildroot.net/results/c22/c227166c2825ae4e884936fbe627f3997e0e19b7 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > ...on-t-rely-on-implicit-GNU-extensions.patch | 108 ++++++++++++++++++ > 1 file changed, 108 insertions(+) > create mode 100644 package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch > > diff --git a/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch > new file mode 100644 > index 0000000000..fcafa98f46 > --- /dev/null > +++ b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch > @@ -0,0 +1,108 @@ > +From 0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9 Mon Sep 17 00:00:00 2001 > +From: Simon Ser > +Date: Mon, 10 Jan 2022 14:51:55 +0100 > +Subject: [PATCH] build: don't rely on implicit GNU extensions > + > +Currently libwayland assumes GNU extensions will be available, but > +doesn't define the C standard to use. Instead, let's unconditionally > +enable POSIX extensions, and enable GNU extensions on a case-by-case > +basis as needed. > + > +Signed-off-by: Simon Ser > +Signed-off-by: James Hilliard > +[james.hilliard1 at gmail.com: backport from upstream commit > +0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9] > +--- > + cursor/xcursor.c | 1 + > + meson.build | 10 ++++++++-- > + tests/display-test.c | 1 + > + tests/event-loop-test.c | 1 + > + tests/fixed-test.c | 1 + > + 5 files changed, 12 insertions(+), 2 deletions(-) > + > +diff --git a/cursor/xcursor.c b/cursor/xcursor.c > +index 0506680..188be7c 100644 > +--- a/cursor/xcursor.c > ++++ b/cursor/xcursor.c > +@@ -23,6 +23,7 @@ > + * SOFTWARE. > + */ > + > ++#define _GNU_SOURCE > + #include "xcursor.h" > + #include > + #include > +diff --git a/meson.build b/meson.build > +index 07bbd29..cab267e 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -14,6 +14,12 @@ config_h = configuration_data() > + config_h.set_quoted('PACKAGE', meson.project_name()) > + config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) > + > ++cc_args = [] > ++if host_machine.system() != 'freebsd' > ++ cc_args += ['-D_POSIX_C_SOURCE=200809L'] > ++endif > ++add_project_arguments(cc_args, language: 'c') > ++ > + compiler_flags = [ > + '-Wno-unused-parameter', > + '-Wstrict-prototypes', > +@@ -79,7 +85,7 @@ if get_option('libraries') > + ] > + > + foreach d: decls > +- if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep) > ++ if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep, args: cc_args) > + error('@0@ is needed to compile Wayland libraries'.format(d['symbol'])) > + endif > + endforeach > +@@ -87,7 +93,7 @@ if get_option('libraries') > + rt_dep = [] > + if not cc.has_function('clock_gettime', prefix: '#include ') > + rt_dep = cc.find_library('rt') > +- if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep) > ++ if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep, args: cc_args) > + error('clock_gettime not found') > + endif > + endif > +diff --git a/tests/display-test.c b/tests/display-test.c > +index 763adc9..a6f410d 100644 > +--- a/tests/display-test.c > ++++ b/tests/display-test.c > +@@ -24,6 +24,7 @@ > + * SOFTWARE. > + */ > + > ++#define _GNU_SOURCE > + #include > + #include > + #include > +diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c > +index 9d43c91..a51ba8f 100644 > +--- a/tests/event-loop-test.c > ++++ b/tests/event-loop-test.c > +@@ -24,6 +24,7 @@ > + * SOFTWARE. > + */ > + > ++#define _GNU_SOURCE > + #include > + #include > + #include > +diff --git a/tests/fixed-test.c b/tests/fixed-test.c > +index 47a4dae..0b58797 100644 > +--- a/tests/fixed-test.c > ++++ b/tests/fixed-test.c > +@@ -23,6 +23,7 @@ > + * SOFTWARE. > + */ > + > ++#define _GNU_SOURCE > + #include > + #include > + #include > +-- > +2.25.1 > + From arnout at mind.be Wed Apr 27 19:37:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:37:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: bump to version 3.19.0 In-Reply-To: <20220426224220.1940185-1-james.hilliard1@gmail.com> References: <20220426224220.1940185-1-james.hilliard1@gmail.com> Message-ID: <18d4c59c-8e52-20b1-51b5-87d6af969ebf@mind.be> On 27/04/2022 00:42, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/valgrind/valgrind.hash | 4 ++-- > package/valgrind/valgrind.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/valgrind/valgrind.hash b/package/valgrind/valgrind.hash > index 748fc3eb82..8487c07e42 100644 > --- a/package/valgrind/valgrind.hash > +++ b/package/valgrind/valgrind.hash > @@ -1,7 +1,7 @@ > # From https://valgrind.org/downloads/current.html > -md5 de56a5532b0c81781db677ca712c585a valgrind-3.18.1.tar.bz2 > +md5 4687a4990585a038c52f842448ef4e63 valgrind-3.19.0.tar.bz2 > # locally computed > -sha256 00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5 valgrind-3.18.1.tar.bz2 > +sha256 dd5e34486f1a483ff7be7300cc16b4d6b24690987877c3278d797534d6738f02 valgrind-3.19.0.tar.bz2 > > # License files > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk > index a3eabec9fe..b4c4b8b5a2 100644 > --- a/package/valgrind/valgrind.mk > +++ b/package/valgrind/valgrind.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -VALGRIND_VERSION = 3.18.1 > +VALGRIND_VERSION = 3.19.0 > VALGRIND_SITE = https://sourceware.org/pub/valgrind > VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 > VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 From arnout at mind.be Wed Apr 27 19:37:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:37:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: fix unsafe openssl header path In-Reply-To: <20220427035556.1814178-1-james.hilliard1@gmail.com> References: <20220427035556.1814178-1-james.hilliard1@gmail.com> Message-ID: <1e8d6af8-43e0-2c26-e77d-a72a044b24cb@mind.be> On 27/04/2022 05:55, James Hilliard wrote: > Explicitely set the openssl path so that python3 doesn't search host > header paths for target openssl headers. > > Fixes: > - http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/python3/python3.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python3/python3.mk b/package/python3/python3.mk > index 3a334fb28d..7f3b7cc8a5 100644 > --- a/package/python3/python3.mk > +++ b/package/python3/python3.mk > @@ -103,6 +103,7 @@ endif > > ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y) > PYTHON3_DEPENDENCIES += openssl > +PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr > else > PYTHON3_CONF_OPTS += --disable-openssl > endif From arnout at mind.be Wed Apr 27 19:38:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:38:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <20220427035039.1664864-1-james.hilliard1@gmail.com> References: <20220427035039.1664864-1-james.hilliard1@gmail.com> Message-ID: On 27/04/2022 05:50, James Hilliard wrote: > Libressl is no longer supported as of python 3.10. > > See: https://peps.python.org/pep-0644/#libressl > > Fixes: > - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/python3/Config.in | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/python3/Config.in b/package/python3/Config.in > index 61470c2944..761c38c850 100644 > --- a/package/python3/Config.in > +++ b/package/python3/Config.in > @@ -89,7 +89,8 @@ config BR2_PACKAGE_PYTHON3_READLINE > config BR2_PACKAGE_PYTHON3_SSL > bool "ssl" > select BR2_PACKAGE_OPENSSL > - select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL > + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL > + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 > help > _ssl module for Python3 (required for https in urllib etc). > From arnout at mind.be Wed Apr 27 19:38:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:38:32 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency In-Reply-To: <20220427072541.4082648-1-james.hilliard1@gmail.com> References: <20220427072541.4082648-1-james.hilliard1@gmail.com> Message-ID: <986d8b1e-202d-e6df-01b0-bb80519805dc@mind.be> On 27/04/2022 09:25, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - add comment when !BR2_LINUX_KERNEL > --- > package/wilc-driver/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in > index caf46ae281..24a7b05b17 100644 > --- a/package/wilc-driver/Config.in > +++ b/package/wilc-driver/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_WILC_DRIVER > bool "wilc kernel module" > + depends on BR2_LINUX_KERNEL > help > External kernel module for WILC1000/3000 devices. > > @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER > > https://github.com/embeddedTS/wilc3000-external-module > > +comment "wilc kernel module needs a Linux kernel to be built" > + depends on !BR2_LINUX_KERNEL > + > if BR2_PACKAGE_WILC_DRIVER > > config BR2_PACKAGE_WILC_DRIVER_SPI From arnout at mind.be Wed Apr 27 19:38:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:38:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgit2: bump version to 1.4.3 In-Reply-To: <20220427072245.3610-1-nicolas.cavallari@green-communications.fr> References: <20220427072245.3610-1-nicolas.cavallari@green-communications.fr> Message-ID: <47a0512c-cf8f-a518-cd00-9e6d911efffb@mind.be> On 27/04/2022 09:22, Nicolas Cavallari wrote: > git added restrictions on config files to fix CVE 2022-24765. libgit2 > adopted these changes for compatibility reasons, even if the vuln is > not exploitable in libgit2. > > https://github.com/libgit2/libgit2/releases/tag/v1.4.3 > > Signed-off-by: Nicolas Cavallari Applied to master, thanks. Regards, Arnout > --- > package/libgit2/libgit2.hash | 2 +- > package/libgit2/libgit2.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libgit2/libgit2.hash b/package/libgit2/libgit2.hash > index ada411ea22..3b5837f789 100644 > --- a/package/libgit2/libgit2.hash > +++ b/package/libgit2/libgit2.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 901c2b4492976b86477569502a41c31b274b69adc177149c02099ea88404ef19 libgit2-1.4.2.tar.gz > +sha256 f48b961e463a9e4e7e7e58b21a0fb5a9b2a1d24d9ba4d15870a0c9b8ad965163 libgit2-1.4.3.tar.gz > sha256 0092f24acc306ee3287dc05b5e85cb9e0e48cd3f11c60c4625b1a673a5912616 COPYING > diff --git a/package/libgit2/libgit2.mk b/package/libgit2/libgit2.mk > index e94dd9c370..3f1e6e1593 100644 > --- a/package/libgit2/libgit2.mk > +++ b/package/libgit2/libgit2.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBGIT2_VERSION = 1.4.2 > +LIBGIT2_VERSION = 1.4.3 > LIBGIT2_SITE = $(call github,libgit2,libgit2,v$(LIBGIT2_VERSION)) > LIBGIT2_LICENSE = GPL-2.0 with linking exception, MIT (sha1), wildmatch license (wildmatch), CC0-1.0 (xoroshiro256) > LIBGIT2_LICENSE_FILES = COPYING From arnout at mind.be Wed Apr 27 19:39:22 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:39:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/nodejs: add missing host-pkgconf dependency In-Reply-To: <20220427074321.37979-1-james.hilliard1@gmail.com> References: <20220427074321.37979-1-james.hilliard1@gmail.com> Message-ID: <103854fe-1732-4883-5578-2f68c6ffe0b9@mind.be> On 27/04/2022 09:43, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/d1f/d1f49b451b56e3cf6a97d27e8db5b85b0cb58ca9 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/nodejs/nodejs.mk | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk > index 2e41c11dbd..4fe34e0aad 100644 > --- a/package/nodejs/nodejs.mk > +++ b/package/nodejs/nodejs.mk > @@ -7,10 +7,11 @@ > NODEJS_VERSION = 14.18.3 > NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz > NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) > -NODEJS_DEPENDENCIES = host-qemu host-python3 host-nodejs c-ares \ > +NODEJS_DEPENDENCIES = host-qemu host-pkgconf host-python3 host-nodejs c-ares \ > libuv zlib nghttp2 \ > $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) > -HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python3 host-zlib > +HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-pkgconf host-python3 \ > + host-zlib > NODEJS_INSTALL_STAGING = YES > NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) > NODEJS_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 19:39:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:39:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/brotli: workaround m68k build issues In-Reply-To: <20220427081744.116766-1-aperez@igalia.com> References: <20220427081744.116766-1-aperez@igalia.com> Message-ID: On 27/04/2022 10:17, Adrian Perez de Castro wrote: > On m68k building with optimizations results in failures such as: > > /tmp/cckiMnG5.s: Assembler messages: > /tmp/cckiMnG5.s:142572: Error: value -39206 out of range > /tmp/cckiMnG5.s:142629: Error: value -40282 out of range > /tmp/cckiMnG5.s:146408: Error: value -53294 out of range > /tmp/cckiMnG5.s:159014: Error: value -39206 out of range > /tmp/cckiMnG5.s:159071: Error: value -40282 out of range > /tmp/cckiMnG5.s:162850: Error: value -53294 out of range > /tmp/cckiMnG5.s:175456: Error: value -39206 out of range > /tmp/cckiMnG5.s:175513: Error: value -40282 out of range > /tmp/cckiMnG5.s:179292: Error: value -53294 out of range > /tmp/cckiMnG5.s:191898: Error: value -39206 out of range > /tmp/cckiMnG5.s:191955: Error: value -40282 out of range > /tmp/cckiMnG5.s:195734: Error: value -53294 out of range > > These only appear when building with -O2, the smaller code generated > with -Os does not cause trouble, so workaround by using that. > > Fixes: > > http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db/ > > Signed-off-by: Adrian Perez de Castro Applied to master, thanks. Regards, Arnout > --- > package/brotli/brotli.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/brotli/brotli.mk b/package/brotli/brotli.mk > index 43c8524c0b..ac49fe664f 100644 > --- a/package/brotli/brotli.mk > +++ b/package/brotli/brotli.mk > @@ -21,6 +21,12 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) > BROTLI_CFLAGS += -O0 > endif > > +# Workaround "Error: value -1234 out of range" assembler issues > +# when building with optimizations. > +ifeq ($(BR2_m68k),y) > +BROTLI_CFLAGS += -Os > +endif > + > BROTLI_CONF_OPTS += -DCMAKE_C_FLAGS="$(BROTLI_CFLAGS)" > > $(eval $(cmake-package)) From arnout at mind.be Wed Apr 27 19:40:02 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:40:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/meson: bump to version 0.62.1 In-Reply-To: <20220427083240.1081081-1-james.hilliard1@gmail.com> References: <20220427083240.1081081-1-james.hilliard1@gmail.com> Message-ID: On 27/04/2022 10:32, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/meson/meson.hash | 4 ++-- > package/meson/meson.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/meson/meson.hash b/package/meson/meson.hash > index 38fa43f6dc..2037c46bbc 100644 > --- a/package/meson/meson.hash > +++ b/package/meson/meson.hash > @@ -1,4 +1,4 @@ > # Locally calculated after checking pgp signature > -# https://github.com/mesonbuild/meson/releases/download/0.62.0/meson-0.62.0.tar.gz.asc > -sha256 06f8c1cfa51bfdb533c82623ffa524cacdbea02ace6d709145e33aabdad6adcb meson-0.62.0.tar.gz > +# https://github.com/mesonbuild/meson/releases/download/0.62.1/meson-0.62.1.tar.gz.asc > +sha256 a0f5caa1e70da12d5e63aa6a9504273759b891af36c8d87de381a4ed1380e845 meson-0.62.1.tar.gz > sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING > diff --git a/package/meson/meson.mk b/package/meson/meson.mk > index 13adc2f2b1..6d55f19402 100644 > --- a/package/meson/meson.mk > +++ b/package/meson/meson.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MESON_VERSION = 0.62.0 > +MESON_VERSION = 0.62.1 > MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) > MESON_LICENSE = Apache-2.0 > MESON_LICENSE_FILES = COPYING From arnout at mind.be Wed Apr 27 19:40:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:40:26 +0200 Subject: [Buildroot] [PATCH 1/5] boot/optee-os: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: On 27/04/2022 11:45, Etienne Carriere wrote: > Bump OP-TEE OS package version to OP-TEE release 3.17.0. > > Cc: Cl?ment L?ger > Signed-off-by: Etienne Carriere Applied series to master, thanks. Regards, Arnout > --- > boot/optee-os/Config.in | 4 ++-- > boot/optee-os/optee-os.hash | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in > index 30b6f62434..fb8a189a75 100644 > --- a/boot/optee-os/Config.in > +++ b/boot/optee-os/Config.in > @@ -18,7 +18,7 @@ choice > Select the version of OP-TEE OS you want to use > > config BR2_TARGET_OPTEE_OS_LATEST > - bool "3.16.0" > + bool "3.17.0" > depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS > select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY > help > @@ -52,7 +52,7 @@ endif > > config BR2_TARGET_OPTEE_OS_VERSION > string > - default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST > + default "3.17.0" if BR2_TARGET_OPTEE_OS_LATEST > default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ > if BR2_TARGET_OPTEE_OS_CUSTOM_GIT > > diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash > index d3a2637a4e..5c1047bac3 100644 > --- a/boot/optee-os/optee-os.hash > +++ b/boot/optee-os/optee-os.hash > @@ -1,4 +1,4 @@ > -# From https://github.com/OP-TEE/optee_os/archive/3.16.0/optee-os-3.16.0.tar.gz > -sha256 ebc8e18ad2039ee97c34f74a7546de9119e26f04c368b6c7fd0c55f93d33d2d6 optee-os-3.16.0.tar.gz > +# From https://github.com/OP-TEE/optee_os/archive/3.17.0/optee-os-3.16.0.tar.gz > +sha256 5d5a3bda83abddfeb5ee765a15525f23adf2709ba2475a05e0c5f25790c1883f optee-os-3.17.0.tar.gz > # Locally computed > sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE From arnout at mind.be Wed Apr 27 19:40:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:40:49 +0200 Subject: [Buildroot] [PATCH] configs/olimex_stmp157: bump Linux and U-Boot In-Reply-To: <20220427143712.55713-1-francois.perrad@gadz.org> References: <20220427143712.55713-1-francois.perrad@gadz.org> Message-ID: <1fa2031a-41cd-4b08-35c2-db55b1e4ab2c@mind.be> On 27/04/2022 16:37, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > configs/olimex_stmp157_olinuxino_lime_defconfig | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig > index f9b31bbdc..a63394fa0 100644 > --- a/configs/olimex_stmp157_olinuxino_lime_defconfig > +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig > @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_GIT=y > BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" > -# branch release-20220321-v5.10.105 > -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" > +# branch release-20220413-v5.10.105 > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d417808c240d55576ee76e5cbb40413ad444ecfd" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" > BR2_LINUX_KERNEL_DTS_SUPPORT=y > @@ -34,8 +34,8 @@ BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_GIT=y > BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/OLIMEX/u-boot-olinuxino.git" > -# release-20211130, based on 2021.04 > -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="1c29714bc643c299e2ed4ba870be8d4538124144" > +# release-20220413, based on 2021.04 > +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="b39c5a7c93a2d8efaecc9cad4284378af857c3f7" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="STM32-OLinuXino-LIME" > # BR2_TARGET_UBOOT_FORMAT_BIN is not set > BR2_TARGET_UBOOT_FORMAT_IMG=y From arnout at mind.be Wed Apr 27 19:03:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:36 +0200 Subject: [Buildroot] [git commit] package/linknx: fix build with argp-standalone and NLS Message-ID: <20220427193053.0B3A884600@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3943a8111b9775eac601d365600af3432877d844 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:7799: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xtensa-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:179: undefined reference to `libintl_dgettext' [...] checking for library containing argp_parse... no configure: error: argp_parse not found Fixes: - http://autobuild.buildroot.org/results/ce5753193ec4518c75ee0ab9270b577397ca1c02 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/linknx/linknx.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk index dbee0742fe..dcfcd5e3f5 100644 --- a/package/linknx/linknx.mk +++ b/package/linknx/linknx.mk @@ -23,7 +23,10 @@ LINKNX_DEPENDENCIES = \ host-pkgconf \ libpthsem \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ + $(TARGET_NLS_DEPENDENCIES) + +LINKNX_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_LIBCURL),y) LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr From arnout at mind.be Wed Apr 27 19:03:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:32 +0200 Subject: [Buildroot] [git commit] package/libevent: fix build with libressl >= 3.5.0 Message-ID: <20220427193052.F1BAC84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e01f3fc602e25ae5f336137b91eda9b05a6802ff branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: In file included from bufferevent_openssl.c:68: bufferevent_openssl.c: In function 'bio_bufferevent_free': openssl-compat.h:44:28: error: invalid use of incomplete typedef 'BIO' {aka 'struct bio_st'} 44 | #define BIO_get_init(b) (b)->init | ^~ bufferevent_openssl.c:124:7: note: in expansion of macro 'BIO_get_init' 124 | if (BIO_get_init(b) && BIO_get_data(b)) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/273f9aa354a08ef3af6140b8dec086408bf5d574 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...on-t-define-BIO_get_init-for-LibreSSL-3-5.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch new file mode 100644 index 0000000000..33c349b11d --- /dev/null +++ b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch @@ -0,0 +1,29 @@ +From 883630f76cbf512003b81de25cd96cb75c6cf0f9 Mon Sep 17 00:00:00 2001 +From: Theo Buehler +Date: Sun, 21 Nov 2021 21:38:20 +0100 +Subject: [PATCH] Don't define BIO_get_init() for LibreSSL 3.5+ + +BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type +will become opaque, so the existing macro will break the build. + +[Retrieved from: +https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9] +Signed-off-by: Fabrice Fontaine +--- + openssl-compat.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/openssl-compat.h b/openssl-compat.h +index a23e34251b..f5de25539f 100644 +--- a/openssl-compat.h ++++ b/openssl-compat.h +@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name) + #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */ + +-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && \ ++ LIBRESSL_VERSION_NUMBER < 0x30500000L + #define BIO_get_init(b) (b)->init + #endif + From arnout at mind.be Wed Apr 27 19:03:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:38 +0200 Subject: [Buildroot] [git commit] package/openobex: fix static with libusb and libatomic Message-ID: <20220427193053.1579184607@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d608368e1a98dd7f41d51214669149115a8f73aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Force LibUSB_VERSION_1.0 to ON to fix the following static build failure with libusb and libatomic: -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a - not found [...] /nvmedata/autobuild/instance-4/output-1/build/openobex-1.7.2/lib/transport/usbobex.h:30:10: fatal error: usb.h: No such file or directory 30 | #include | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/52b0edc4278f65fb4a9671b65c655cc4544a3103 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openobex/openobex.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk index bc4a47e3d7..7109bffa8d 100644 --- a/package/openobex/openobex.mk +++ b/package/openobex/openobex.mk @@ -20,6 +20,7 @@ OPENOBEX_DEPENDENCIES += bluez5_utils endif ifeq ($(BR2_PACKAGE_LIBUSB),y) +OPENOBEX_CONF_OPTS += -DLibUSB_VERSION_1.0=ON OPENOBEX_DEPENDENCIES += libusb endif From arnout at mind.be Wed Apr 27 19:03:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:48 +0200 Subject: [Buildroot] [git commit] package/valgrind: bump to version 3.19.0 Message-ID: <20220427193053.3A46A84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1d0aa4d07580c26a5de744d6eb1715663537be2e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/valgrind/valgrind.hash | 4 ++-- package/valgrind/valgrind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/valgrind/valgrind.hash b/package/valgrind/valgrind.hash index 748fc3eb82..8487c07e42 100644 --- a/package/valgrind/valgrind.hash +++ b/package/valgrind/valgrind.hash @@ -1,7 +1,7 @@ # From https://valgrind.org/downloads/current.html -md5 de56a5532b0c81781db677ca712c585a valgrind-3.18.1.tar.bz2 +md5 4687a4990585a038c52f842448ef4e63 valgrind-3.19.0.tar.bz2 # locally computed -sha256 00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5 valgrind-3.18.1.tar.bz2 +sha256 dd5e34486f1a483ff7be7300cc16b4d6b24690987877c3278d797534d6738f02 valgrind-3.19.0.tar.bz2 # License files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index a3eabec9fe..b4c4b8b5a2 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -4,7 +4,7 @@ # ################################################################################ -VALGRIND_VERSION = 3.18.1 +VALGRIND_VERSION = 3.19.0 VALGRIND_SITE = https://sourceware.org/pub/valgrind VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 From arnout at mind.be Wed Apr 27 19:03:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:52 +0200 Subject: [Buildroot] [git commit] package/python3: drop libressl support Message-ID: <20220427193053.42D8F84607@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bbf93570426c64499ec9221c5dca1d1cc29db4fc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Libressl is no longer supported as of python 3.10. See: https://peps.python.org/pep-0644/#libressl Fixes: - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python3/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python3/Config.in b/package/python3/Config.in index 61470c2944..761c38c850 100644 --- a/package/python3/Config.in +++ b/package/python3/Config.in @@ -89,7 +89,8 @@ config BR2_PACKAGE_PYTHON3_READLINE config BR2_PACKAGE_PYTHON3_SSL bool "ssl" select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 help _ssl module for Python3 (required for https in urllib etc). From arnout at mind.be Wed Apr 27 19:03:42 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:42 +0200 Subject: [Buildroot] [git commit] package/libsrtp: fix build with libressl >= 3.5.0 Message-ID: <20220427193053.2059384600@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=999edde7dfdf574d7a25ad6e69900b2e1f8ceb0b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: crypto/hash/hmac_ossl.c: In function 'srtp_hmac_alloc': crypto/hash/hmac_ossl.c:88:55: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} 88 | pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c346780ed664c9fe8c7112e4c256cfe8080a7af5 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch new file mode 100644 index 0000000000..68bfb085f7 --- /dev/null +++ b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch @@ -0,0 +1,86 @@ +From 16483b18a9980575bee23898b2dbfbe2a4675d84 Mon Sep 17 00:00:00 2001 +From: Klemens Nanni +Date: Sat, 15 Jan 2022 23:19:35 +0300 +Subject: [PATCH] Remove compatibility code for legacy OpenSSL to fix LibreSSL + build + +In current LibreSSL, `HMAC_CTX` aka. `struct hmac_ctx_st` is an opaque +structure as of LibreSSL hmac.h revision 1.15 (14.01.2022) [0], thus +`sizeof(HMAC_CTX)` fails to compile. + +The non-legacy code path should compile with LibreSSL versions as old +as 2.7.0 (21.03.2018). + +Found while building https://github.com/desktop-app/tg_owt which bundles +libsrtp 2.2.0 [1] on OpenBSD 7.0 -CURRENT/with latest LibreSSL. + +Suggestion to remove the legacy code from Theo Buehler, thanks. + +0: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libcrypto/hmac/hmac.h?rev=1.15&content-type=text/x-cvsweb-markup +1: https://github.com/desktop-app/tg_owt/blob/6708e0d31a73e64fe12f54829bf4060c41b2658e/src/third_party/libsrtp/crypto/hash/hmac_ossl.c#L85 + +[Retrieved from: +https://github.com/cisco/libsrtp/commit/16483b18a9980575bee23898b2dbfbe2a4675d84] +Signed-off-by: Fabrice Fontaine +--- + crypto/hash/hmac_ossl.c | 29 ----------------------------- + 1 file changed, 29 deletions(-) + +diff --git a/crypto/hash/hmac_ossl.c b/crypto/hash/hmac_ossl.c +index ee6b0b58..c23c7f21 100644 +--- a/crypto/hash/hmac_ossl.c ++++ b/crypto/hash/hmac_ossl.c +@@ -78,26 +78,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, + return srtp_err_status_bad_param; + } + +-/* OpenSSL 1.1.0 made HMAC_CTX an opaque structure, which must be allocated +- using HMAC_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER +- { +- /* allocate memory for auth and HMAC_CTX structures */ +- uint8_t *pointer; +- HMAC_CTX *new_hmac_ctx; +- pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + +- sizeof(srtp_auth_t)); +- if (pointer == NULL) { +- return srtp_err_status_alloc_fail; +- } +- *a = (srtp_auth_t *)pointer; +- (*a)->state = pointer + sizeof(srtp_auth_t); +- new_hmac_ctx = (HMAC_CTX *)((*a)->state); +- +- HMAC_CTX_init(new_hmac_ctx); +- } +- +-#else + *a = (srtp_auth_t *)srtp_crypto_alloc(sizeof(srtp_auth_t)); + if (*a == NULL) { + return srtp_err_status_alloc_fail; +@@ -109,7 +89,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, + *a = NULL; + return srtp_err_status_alloc_fail; + } +-#endif + + /* set pointers */ + (*a)->type = &srtp_hmac; +@@ -126,18 +105,10 @@ static srtp_err_status_t srtp_hmac_dealloc(srtp_auth_t *a) + + hmac_ctx = (HMAC_CTX *)a->state; + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER +- HMAC_CTX_cleanup(hmac_ctx); +- +- /* zeroize entire state*/ +- octet_string_set_to_zero(a, sizeof(HMAC_CTX) + sizeof(srtp_auth_t)); +- +-#else + HMAC_CTX_free(hmac_ctx); + + /* zeroize entire state*/ + octet_string_set_to_zero(a, sizeof(srtp_auth_t)); +-#endif + + /* free memory */ + srtp_crypto_free(a); From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/brotli: workaround m68k build issues Message-ID: <20220427193053.71F7784607@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8915f51cc0dcc6977973bd5f1cd12fa4aa87f1e0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master On m68k building with optimizations results in failures such as: /tmp/cckiMnG5.s: Assembler messages: /tmp/cckiMnG5.s:142572: Error: value -39206 out of range /tmp/cckiMnG5.s:142629: Error: value -40282 out of range /tmp/cckiMnG5.s:146408: Error: value -53294 out of range /tmp/cckiMnG5.s:159014: Error: value -39206 out of range /tmp/cckiMnG5.s:159071: Error: value -40282 out of range /tmp/cckiMnG5.s:162850: Error: value -53294 out of range /tmp/cckiMnG5.s:175456: Error: value -39206 out of range /tmp/cckiMnG5.s:175513: Error: value -40282 out of range /tmp/cckiMnG5.s:179292: Error: value -53294 out of range /tmp/cckiMnG5.s:191898: Error: value -39206 out of range /tmp/cckiMnG5.s:191955: Error: value -40282 out of range /tmp/cckiMnG5.s:195734: Error: value -53294 out of range These only appear when building with -O2, the smaller code generated with -Os does not cause trouble, so workaround by using that. Fixes: http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db/ Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/brotli/brotli.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/brotli/brotli.mk b/package/brotli/brotli.mk index 43c8524c0b..ac49fe664f 100644 --- a/package/brotli/brotli.mk +++ b/package/brotli/brotli.mk @@ -21,6 +21,12 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) BROTLI_CFLAGS += -O0 endif +# Workaround "Error: value -1234 out of range" assembler issues +# when building with optimizations. +ifeq ($(BR2_m68k),y) +BROTLI_CFLAGS += -Os +endif + BROTLI_CONF_OPTS += -DCMAKE_C_FLAGS="$(BROTLI_CFLAGS)" $(eval $(cmake-package)) From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/libgit2: bump version to 1.4.3 Message-ID: <20220427193053.600B084604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=01ee7f84fb9da338d36fbaad3cf8a07391a843d3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master git added restrictions on config files to fix CVE 2022-24765. libgit2 adopted these changes for compatibility reasons, even if the vuln is not exploitable in libgit2. https://github.com/libgit2/libgit2/releases/tag/v1.4.3 Signed-off-by: Nicolas Cavallari Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libgit2/libgit2.hash | 2 +- package/libgit2/libgit2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libgit2/libgit2.hash b/package/libgit2/libgit2.hash index ada411ea22..3b5837f789 100644 --- a/package/libgit2/libgit2.hash +++ b/package/libgit2/libgit2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 901c2b4492976b86477569502a41c31b274b69adc177149c02099ea88404ef19 libgit2-1.4.2.tar.gz +sha256 f48b961e463a9e4e7e7e58b21a0fb5a9b2a1d24d9ba4d15870a0c9b8ad965163 libgit2-1.4.3.tar.gz sha256 0092f24acc306ee3287dc05b5e85cb9e0e48cd3f11c60c4625b1a673a5912616 COPYING diff --git a/package/libgit2/libgit2.mk b/package/libgit2/libgit2.mk index e94dd9c370..3f1e6e1593 100644 --- a/package/libgit2/libgit2.mk +++ b/package/libgit2/libgit2.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBGIT2_VERSION = 1.4.2 +LIBGIT2_VERSION = 1.4.3 LIBGIT2_SITE = $(call github,libgit2,libgit2,v$(LIBGIT2_VERSION)) LIBGIT2_LICENSE = GPL-2.0 with linking exception, MIT (sha1), wildmatch license (wildmatch), CC0-1.0 (xoroshiro256) LIBGIT2_LICENSE_FILES = COPYING From arnout at mind.be Wed Apr 27 19:03:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:46 +0200 Subject: [Buildroot] [git commit] package/wayland: don't rely on implicit GNU extensions Message-ID: <20220427193053.2ED6384606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6af4292de79c9110b26fcedee192b27672ad7173 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Backport a patch so that we don't rely on implicit GNU extensions. Fixes: - http://autobuild.buildroot.net/results/c22/c227166c2825ae4e884936fbe627f3997e0e19b7 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ild-don-t-rely-on-implicit-GNU-extensions.patch | 108 +++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch new file mode 100644 index 0000000000..fcafa98f46 --- /dev/null +++ b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch @@ -0,0 +1,108 @@ +From 0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9 Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Mon, 10 Jan 2022 14:51:55 +0100 +Subject: [PATCH] build: don't rely on implicit GNU extensions + +Currently libwayland assumes GNU extensions will be available, but +doesn't define the C standard to use. Instead, let's unconditionally +enable POSIX extensions, and enable GNU extensions on a case-by-case +basis as needed. + +Signed-off-by: Simon Ser +Signed-off-by: James Hilliard +[james.hilliard1 at gmail.com: backport from upstream commit +0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9] +--- + cursor/xcursor.c | 1 + + meson.build | 10 ++++++++-- + tests/display-test.c | 1 + + tests/event-loop-test.c | 1 + + tests/fixed-test.c | 1 + + 5 files changed, 12 insertions(+), 2 deletions(-) + +diff --git a/cursor/xcursor.c b/cursor/xcursor.c +index 0506680..188be7c 100644 +--- a/cursor/xcursor.c ++++ b/cursor/xcursor.c +@@ -23,6 +23,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include "xcursor.h" + #include + #include +diff --git a/meson.build b/meson.build +index 07bbd29..cab267e 100644 +--- a/meson.build ++++ b/meson.build +@@ -14,6 +14,12 @@ config_h = configuration_data() + config_h.set_quoted('PACKAGE', meson.project_name()) + config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) + ++cc_args = [] ++if host_machine.system() != 'freebsd' ++ cc_args += ['-D_POSIX_C_SOURCE=200809L'] ++endif ++add_project_arguments(cc_args, language: 'c') ++ + compiler_flags = [ + '-Wno-unused-parameter', + '-Wstrict-prototypes', +@@ -79,7 +85,7 @@ if get_option('libraries') + ] + + foreach d: decls +- if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep) ++ if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep, args: cc_args) + error('@0@ is needed to compile Wayland libraries'.format(d['symbol'])) + endif + endforeach +@@ -87,7 +93,7 @@ if get_option('libraries') + rt_dep = [] + if not cc.has_function('clock_gettime', prefix: '#include ') + rt_dep = cc.find_library('rt') +- if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep) ++ if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep, args: cc_args) + error('clock_gettime not found') + endif + endif +diff --git a/tests/display-test.c b/tests/display-test.c +index 763adc9..a6f410d 100644 +--- a/tests/display-test.c ++++ b/tests/display-test.c +@@ -24,6 +24,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c +index 9d43c91..a51ba8f 100644 +--- a/tests/event-loop-test.c ++++ b/tests/event-loop-test.c +@@ -24,6 +24,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +diff --git a/tests/fixed-test.c b/tests/fixed-test.c +index 47a4dae..0b58797 100644 +--- a/tests/fixed-test.c ++++ b/tests/fixed-test.c +@@ -23,6 +23,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +-- +2.25.1 + From arnout at mind.be Wed Apr 27 19:03:55 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:55 +0200 Subject: [Buildroot] [git commit] package/python3: fix unsafe openssl header path Message-ID: <20220427193053.4C94184606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fbf78c2a738b1a0413c835201064abfa9a3a03f1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers. Fixes: - http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python3/python3.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cffb34e264..6d03e2c6b1 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -103,6 +103,7 @@ endif ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y) PYTHON3_DEPENDENCIES += openssl +PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr else PYTHON3_CONF_OPTS += --disable-openssl endif From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/nodejs: add missing host-pkgconf dependency Message-ID: <20220427193053.6907984606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bcaf5eb0c19e57b48a15a815d7b466bc06475ea5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: - http://autobuild.buildroot.net/results/d1f/d1f49b451b56e3cf6a97d27e8db5b85b0cb58ca9 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/nodejs/nodejs.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2e41c11dbd..4fe34e0aad 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -7,10 +7,11 @@ NODEJS_VERSION = 14.18.3 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) -NODEJS_DEPENDENCIES = host-qemu host-python3 host-nodejs c-ares \ +NODEJS_DEPENDENCIES = host-qemu host-pkgconf host-python3 host-nodejs c-ares \ libuv zlib nghttp2 \ $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python3 host-zlib +HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-pkgconf host-python3 \ + host-zlib NODEJS_INSTALL_STAGING = YES NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency Message-ID: <20220427193053.56D2C84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1a47c42b33f0426776e29a0df58c08fb654ab4ca branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 Signed-off-by: James Hilliard Reviewed-by: Kris Bahnsen Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wilc-driver/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in index caf46ae281..24a7b05b17 100644 --- a/package/wilc-driver/Config.in +++ b/package/wilc-driver/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_WILC_DRIVER bool "wilc kernel module" + depends on BR2_LINUX_KERNEL help External kernel module for WILC1000/3000 devices. @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER https://github.com/embeddedTS/wilc3000-external-module +comment "wilc kernel module needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + if BR2_PACKAGE_WILC_DRIVER config BR2_PACKAGE_WILC_DRIVER_SPI From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] package/optee-client: bump to version 3.17.0 Message-ID: <20220427193053.8CE2584604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ffd45b8726d42bb299199d9f1e10ee3d3469c85a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE Client package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/optee-client/optee-client.hash | 4 ++-- package/optee-client/optee-client.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-client/optee-client.hash b/package/optee-client/optee-client.hash index ff90f6d2a8..d2efb1043a 100644 --- a/package/optee-client/optee-client.hash +++ b/package/optee-client/optee-client.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_client/archive/3.16.0/optee-client-3.16.0.tar.gz -sha256 cba92bedc9f8c39c19e50a22259066eaad5ceb248308edee27e221f11f5d8064 optee-client-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_client/archive/3.17.0/optee-client-3.17.0.tar.gz +sha256 bf62ceaac59e8a650abf7632e702b5929335f4974f3173f8c51900cb0f91660f optee-client-3.17.0.tar.gz # Locally computed sha256 fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f LICENSE diff --git a/package/optee-client/optee-client.mk b/package/optee-client/optee-client.mk index 2cadc564f0..aaf072b40f 100644 --- a/package/optee-client/optee-client.mk +++ b/package/optee-client/optee-client.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_CLIENT_VERSION = 3.16.0 +OPTEE_CLIENT_VERSION = 3.17.0 OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION)) OPTEE_CLIENT_LICENSE = BSD-2-Clause OPTEE_CLIENT_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] package/optee-test: bump to version 3.17.0 Message-ID: <20220427193053.99A6084606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=97f09504aac0c558b2a3a3575f35b4ddf6ea1bb4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE test package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/optee-test/optee-test.hash | 4 ++-- package/optee-test/optee-test.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-test/optee-test.hash b/package/optee-test/optee-test.hash index c42e922d90..7f2c4110db 100644 --- a/package/optee-test/optee-test.hash +++ b/package/optee-test/optee-test.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_test/archive/3.16.0/optee-test-3.16.0.tar.gz -sha256 b24a3871605a341fa87e6d4e111f97001f11a72c025e75d6739ed78841b6acba optee-test-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_test/archive/3.17.0/optee-test-3.17.0.tar.gz +sha256 5b0555b6fef926f8a0a471285cb4c264407c9be32461836240b3c412bf7933bb optee-test-3.17.0.tar.gz # Locally computed sha256 6e6810981f0ddab9e0d44399d0700a15d9f760a3c2843cc866659c2074139ae7 LICENSE.md diff --git a/package/optee-test/optee-test.mk b/package/optee-test/optee-test.mk index 7b27558b36..3a5670d26b 100644 --- a/package/optee-test/optee-test.mk +++ b/package/optee-test/optee-test.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_TEST_VERSION = 3.16.0 +OPTEE_TEST_VERSION = 3.17.0 OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION)) OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause, OPTEE_TEST_LICENSE_FILES = LICENSE.md From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/meson: bump to version 0.62.1 Message-ID: <20220427193053.7CF0284604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=91eba12881074e5ac51cf7219cab0da5a3fd3f20 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/meson/meson.hash | 4 ++-- package/meson/meson.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/meson/meson.hash b/package/meson/meson.hash index 38fa43f6dc..2037c46bbc 100644 --- a/package/meson/meson.hash +++ b/package/meson/meson.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://github.com/mesonbuild/meson/releases/download/0.62.0/meson-0.62.0.tar.gz.asc -sha256 06f8c1cfa51bfdb533c82623ffa524cacdbea02ace6d709145e33aabdad6adcb meson-0.62.0.tar.gz +# https://github.com/mesonbuild/meson/releases/download/0.62.1/meson-0.62.1.tar.gz.asc +sha256 a0f5caa1e70da12d5e63aa6a9504273759b891af36c8d87de381a4ed1380e845 meson-0.62.1.tar.gz sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING diff --git a/package/meson/meson.mk b/package/meson/meson.mk index 13adc2f2b1..6d55f19402 100644 --- a/package/meson/meson.mk +++ b/package/meson/meson.mk @@ -4,7 +4,7 @@ # ################################################################################ -MESON_VERSION = 0.62.0 +MESON_VERSION = 0.62.1 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) MESON_LICENSE = Apache-2.0 MESON_LICENSE_FILES = COPYING From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] configs/olimex_stmp157: bump Linux and U-Boot Message-ID: <20220427193053.B3B2A84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1a424e9a4b968bb799ac166ec2e14fb6d89c8b35 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/olimex_stmp157_olinuxino_lime_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig index f9b31bbdc4..a63394fa0b 100644 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20220321-v5.10.105 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" +# branch release-20220413-v5.10.105 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d417808c240d55576ee76e5cbb40413ad444ecfd" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -34,8 +34,8 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/OLIMEX/u-boot-olinuxino.git" -# release-20211130, based on 2021.04 -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="1c29714bc643c299e2ed4ba870be8d4538124144" +# release-20220413, based on 2021.04 +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="b39c5a7c93a2d8efaecc9cad4284378af857c3f7" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="STM32-OLinuXino-LIME" # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_IMG=y From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] boot/optee-os: bump to version 3.17.0 Message-ID: <20220427193053.848F084606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ba146579d94e40bb15108b1c1589a776609b0785 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE OS package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in index 30b6f62434..fb8a189a75 100644 --- a/boot/optee-os/Config.in +++ b/boot/optee-os/Config.in @@ -18,7 +18,7 @@ choice Select the version of OP-TEE OS you want to use config BR2_TARGET_OPTEE_OS_LATEST - bool "3.16.0" + bool "3.17.0" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY help @@ -52,7 +52,7 @@ endif config BR2_TARGET_OPTEE_OS_VERSION string - default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST + default "3.17.0" if BR2_TARGET_OPTEE_OS_LATEST default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ if BR2_TARGET_OPTEE_OS_CUSTOM_GIT diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash index d3a2637a4e..5c1047bac3 100644 --- a/boot/optee-os/optee-os.hash +++ b/boot/optee-os/optee-os.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_os/archive/3.16.0/optee-os-3.16.0.tar.gz -sha256 ebc8e18ad2039ee97c34f74a7546de9119e26f04c368b6c7fd0c55f93d33d2d6 optee-os-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_os/archive/3.17.0/optee-os-3.16.0.tar.gz +sha256 5d5a3bda83abddfeb5ee765a15525f23adf2709ba2475a05e0c5f25790c1883f optee-os-3.17.0.tar.gz # Locally computed sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] package/optee-benchmark: bump to version 3.17.0 Message-ID: <20220427193053.A9FC584607@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=48f839511980b2519542619c150b588221fea821 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE Benchmark package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/optee-benchmark/optee-benchmark.hash | 4 ++-- package/optee-benchmark/optee-benchmark.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-benchmark/optee-benchmark.hash b/package/optee-benchmark/optee-benchmark.hash index 2e75b4ff8e..54981c9d2c 100644 --- a/package/optee-benchmark/optee-benchmark.hash +++ b/package/optee-benchmark/optee-benchmark.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_benchmark/archive/3.16.0/optee-benchmark-3.16.0.tar.gz -sha256 55b24525f08ffda6799f90ab7bab2125f1c3f17d5cbd1b34480cd28b5f46fca9 optee-benchmark-3.16.0.tar.gz +# From https://github.com/linaro-swg/optee_benchmark/archive/3.17.0/optee-benchmark-3.17.0.tar.gz +sha256 50a4623a4c34909e722d403381e4077c84d7189ab3a7ed57a402a3461bee13e3 optee-benchmark-3.17.0.tar.gz # Locally computed sha256 0571be5b739142dc3e40e0a4e7e30d4ab8bff0d4d606a3f2db2010745587d383 LICENSE diff --git a/package/optee-benchmark/optee-benchmark.mk b/package/optee-benchmark/optee-benchmark.mk index 493f407a44..1f5e01b868 100644 --- a/package/optee-benchmark/optee-benchmark.mk +++ b/package/optee-benchmark/optee-benchmark.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_BENCHMARK_VERSION = 3.16.0 +OPTEE_BENCHMARK_VERSION = 3.17.0 OPTEE_BENCHMARK_SITE = $(call github,linaro-swg,optee_benchmark,$(OPTEE_BENCHMARK_VERSION)) OPTEE_BENCHMARK_LICENSE = BSD-2-Clause OPTEE_BENCHMARK_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] package/optee-examples: bump to version 3.17.0 Message-ID: <20220427193053.A1EFF84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ffa62a6c81b26b9769a339ed0f9022cf39029601 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE Examples package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/optee-examples/optee-examples.hash | 4 ++-- package/optee-examples/optee-examples.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-examples/optee-examples.hash b/package/optee-examples/optee-examples.hash index 9228fb39d2..0433c72752 100644 --- a/package/optee-examples/optee-examples.hash +++ b/package/optee-examples/optee-examples.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_examples/archive/3.16.0/optee-examples-3.16.0.tar.gz -sha256 45e06dc5520f3097cc124434acafc26b8db28db87df62f3ad2ddff06cacce969 optee-examples-3.16.0.tar.gz +# From https://github.com/linaro-swg/optee_examples/archive/3.17.0/optee-examples-3.17.0.tar.gz +sha256 03d18a0439cfe99ed1ceefc9af000b39b28424c8747e0d92a2701e7fbb6c519a optee-examples-3.17.0.tar.gz # Locally computed sha256 6f1ef8449cb82ae79d2155605f7985bdf0f08e7ab5007de9b4362e8bf28733b9 LICENSE diff --git a/package/optee-examples/optee-examples.mk b/package/optee-examples/optee-examples.mk index 31e5f260df..ebb0688af5 100644 --- a/package/optee-examples/optee-examples.mk +++ b/package/optee-examples/optee-examples.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_EXAMPLES_VERSION = 3.16.0 +OPTEE_EXAMPLES_VERSION = 3.17.0 OPTEE_EXAMPLES_SITE = $(call github,linaro-swg,optee_examples,$(OPTEE_EXAMPLES_VERSION)) OPTEE_EXAMPLES_LICENSE = BSD-2-Clause OPTEE_EXAMPLES_LICENSE_FILES = LICENSE From peter at korsgaard.com Wed Apr 27 20:09:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 27 Apr 2022 22:09:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <2c51f9ba-5d02-17f7-98d0-8a4c1b6dcf79@mind.be> (Arnout Vandecappelle's message of "Wed, 27 Apr 2022 17:41:53 +0200") References: <20220427035039.1664864-1-james.hilliard1@gmail.com> <20220427103102.7f934c1f@windsurf> <2c51f9ba-5d02-17f7-98d0-8a4c1b6dcf79@mind.be> Message-ID: <87y1zqi902.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: Hi, >>> I don't have a very well-informed opinion, but perhaps we should think >>> about this? >> Yeah, not really sure, it may be useful to keep around, I think it >> has an >> alternative updated API to openssl's updated API that may be desirable >> for some use cases, although probably not the most commonly used. > At that point, however, having libressl as a virtual package > alternative for openssl becomes less and less realistic. Virtual > packages should only be used if the alternatives can be considered > drop-in replacements with compatible API. A few exceptions are > acceptable, but it's becoming too much. > We should also start thinking what to do with openssl 3. It has an > API that is somewhat compatible with openssl 1.1.1, but there are > almost no packages that can use it without any changes. This could > actually be an opportunity to get aout of this mess: most packages > that are not compatible with libressl are probably already compatible > with openssl 3. So if we introduce an openssl3 package, we can migrate > the packages that don't like libressl to that, and leave the choice > between openssl 1.1.1 and libressl for legacy and BSD packages. That indeed sounds like a way forward. Do we expect most applications to (already have) move to the v3.x API or do we rather expect to have to keep around openssl 1.1.1 / libressl for a long time? -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Wed Apr 27 20:08:38 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:08:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/bubblewrap: disable tests Message-ID: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> Disable tests to avoid the following build failure on mips32: [9/10] Compiling C object tests/try-syscall.p/try-syscall.c.o FAILED: tests/try-syscall.p/try-syscall.c.o /home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c ../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" 34 | # error "Unknown MIPS ABI" | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee Signed-off-by: Fabrice Fontaine --- .../0001-meson-add-tests-option.patch | 54 +++++++++++++++++++ package/bubblewrap/bubblewrap.mk | 3 +- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 package/bubblewrap/0001-meson-add-tests-option.patch diff --git a/package/bubblewrap/0001-meson-add-tests-option.patch b/package/bubblewrap/0001-meson-add-tests-option.patch new file mode 100644 index 0000000000..32836f925d --- /dev/null +++ b/package/bubblewrap/0001-meson-add-tests-option.patch @@ -0,0 +1,54 @@ +From 34ea0ad841d6f9167db391c08e6cd51471fed6be Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 11:27:06 +0200 +Subject: [PATCH] meson: add tests option + +Allow the user to disable tests, for example to avoid the following +build failure on mips32: + +FAILED: tests/try-syscall.p/try-syscall.c.o +/home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c +../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" + 34 | # error "Unknown MIPS ABI" + | ^~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/containers/bubblewrap/commit/34ea0ad841d6f9167db391c08e6cd51471fed6be] +--- + meson.build | 4 +++- + meson_options.txt | 6 ++++++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b63aa64..9277ac4e 100644 +--- a/meson.build ++++ b/meson.build +@@ -152,4 +152,6 @@ if not meson.is_subproject() + subdir('completions') + endif + +-subdir('tests') ++if get_option('tests') ++ subdir('tests') ++endif +diff --git a/meson_options.txt b/meson_options.txt +index 2fa3a8c3..a136a3c3 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -38,6 +38,12 @@ option( + description : 'enable optional SELINUX support', + value : 'auto', + ) ++option( ++ 'tests', ++ type : 'boolean', ++ description : 'build tests', ++ value : 'true', ++) + option( + 'zsh_completion', + type : 'feature', diff --git a/package/bubblewrap/bubblewrap.mk b/package/bubblewrap/bubblewrap.mk index 5875b0d6e2..81456e9e0d 100644 --- a/package/bubblewrap/bubblewrap.mk +++ b/package/bubblewrap/bubblewrap.mk @@ -17,7 +17,8 @@ BUBBLEWRAP_CONF_OPTS = \ -Dzsh_completion=disabled \ -Dman=disabled \ -Dpython=$(HOST_DIR)/bin/python \ - -Drequire_userns=false + -Drequire_userns=false \ + -Dtests=false ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) BUBBLEWRAP_CONF_OPTS += \ -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 27 20:15:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:15:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptodev-linux: needs CONFIG_CRYPTO_USER_API_AEAD In-Reply-To: <20220426235740.1b2543d1@windsurf> References: <20220426212026.712081-1-fontaine.fabrice@gmail.com> <20220426235740.1b2543d1@windsurf> Message-ID: Le mar. 26 avr. 2022 ? 23:57, Thomas Petazzoni a ?crit : > > On Tue, 26 Apr 2022 23:20:26 +0200 > Fabrice Fontaine wrote: > > > CONFIG_CRYPTO_USER_API_AEAD is needed to fix the following build > > failure: > > > > ERROR: modpost: "crypto_alloc_skcipher" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "scatterwalk_map_and_copy" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_ahash_final" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_aead_encrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_aead_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_skcipher_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_destroy_tfm" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_skcipher_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_aead_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_aead_setauthsize" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > Are you sure of the relationship between these functions and > CONFIG_CRYPTO_USER_API_AEAD ? > > crypto_aead_encrypt() is implemented in crypto/aead.c, which is built > when CONFIG_CRYPTO_AEAD2=y. > > crypto_skcipher_setkey() is implemented in crypto/skcipher.c, which is > built when CONFIG_CRYPTO_SKCIPHER2=y. > > CRYPTO_USER_API_AEAD enables a user-space interface, but here we're > talking about a kernel-level interface. > > Could you clarify? I'm far from being a kernel or cryptodev-linux expert but here is was my reasonning: - CONFIG_CRYPTO_AEAD2 and CONFIG_CRYPTO_SKCIPHER2 are hidden options that can't be enabled by KCONFIG_ENABLE_OPT. - From my understanding cryptodev-linux allows "userspace applications to take advantage of hardware accelerators". So, I assumed that cryptodev-linux needed some sort of userspace API on the kernel. However, I didn't find a lot of information about this subject on cryptodev-linux website. It seems that some projects pointed out that CRYPTO_USER_API_AEAD should be enabled (e.g. https://github.com/scaleway/kernel-tools/issues/148). Indeed, CRYPTO_USER_API_AEAD will select CONFIG_CRYPTO_{AEAD,SKCIPHER} (and so CONFIG_CRYPTO_{AEAD,SKCIPHER}2). However, as I said, I could be totally wrong, perhaps selecting CRYPTO_USER_API_AEAD is not correct (even if it fixes the build failure). Hopefully, someone with more knowledge of cryptodev-linux should be able to find the correct fix. > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com Best Regards, Fabrice From fontaine.fabrice at gmail.com Wed Apr 27 20:18:12 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:18:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/freeipmi: fix build with argp-standalone and NLS Message-ID: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:14644: checking for argp_parse in -largp configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' [...] In file included from freeipmi-argp-fmtstream.c:35: freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' 62 | #define __argp_fmtstream_write argp_fmtstream_write | ^~~~~~~~~~~~~~~~~~~~ freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, | ^~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 Signed-off-by: Fabrice Fontaine --- package/freeipmi/freeipmi.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/freeipmi/freeipmi.mk b/package/freeipmi/freeipmi.mk index 9fb59245b9..b26ed0c0bf 100644 --- a/package/freeipmi/freeipmi.mk +++ b/package/freeipmi/freeipmi.mk @@ -20,7 +20,8 @@ FREEIPMI_CONF_OPTS = --without-random-device # Work around for uClibc or musl toolchains which lack argp_*() # functions. ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -FREEIPMI_DEPENDENCIES += argp-standalone +FREEIPMI_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) +FREEIPMI_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) endif ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -- 2.35.1 From bernd.kuhls at t-online.de Wed Apr 27 20:25:24 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Wed, 27 Apr 2022 22:25:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-zattoo: bump version to 19.7.14-Matrix Message-ID: <20220427202524.53586-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash index 4f9a60e942..d7693bdfb0 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz +sha256 ccd27cfbfee58df9acc71df0661bd56ff34fbf7d9afc8de78d3224d33b30ef44 kodi-pvr-zattoo-19.7.14-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk index f2badeaa05..658db25f27 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix +KODI_PVR_ZATTOO_VERSION = 19.7.14-Matrix KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md -- 2.30.2 From fontaine.fabrice at gmail.com Wed Apr 27 20:42:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:42:48 +0200 Subject: [Buildroot] [PATCH 1/2] package/libv4l: drop -largp Message-ID: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> Commit 07ac045655d08255fbc2d17b16a42d0f0017632e added -largp to LIBS but it was not needed since https://git.linuxtv.org/v4l-utils.git/commit/configure.ac?id=b187b94d8e9158973ad17ea1f9c4cb01df117ba3 Signed-off-by: Fabrice Fontaine --- package/libv4l/libv4l.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index 8300f5c970..a781ffcd5d 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -28,7 +28,6 @@ endif ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) LIBV4L_DEPENDENCIES += argp-standalone -LIBV4L_LIBS += -largp endif LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) @@ -85,6 +84,4 @@ ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) LIBV4L_DEPENDENCIES += sdl2_image endif -LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" - $(eval $(autotools-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 27 20:42:49 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:42:49 +0200 Subject: [Buildroot] [PATCH 2/2] package/libv4l: fix build with argp-standalone and NLS In-Reply-To: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> References: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> Message-ID: <20220427204249.3207448-2-fontaine.fabrice@gmail.com> Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:19923: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/i686-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -largp >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' [...] checking for library containing argp_parse... no configure: error: unable to find the argp_parse() function Fixes: - http://autobuild.buildroot.org/results/b7b2253ac902b441cc6ff12500b56bd15c413d71 Signed-off-by: Fabrice Fontaine --- package/libv4l/libv4l.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index a781ffcd5d..fd69b7ac7a 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -27,7 +27,8 @@ LIBV4L_DEPENDENCIES += alsa-lib endif ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -LIBV4L_DEPENDENCIES += argp-standalone +LIBV4L_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) +LIBV4L_CONF_ENV += LIBS=$(TARGET_NLS_LIBS) endif LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 27 20:50:57 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:50:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs atomic Message-ID: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> numactl unconditionally uses __atomic_fetch_and resulting in the following build failure on microblaze since commit 4ed540ddf59bec4b389be44d7f42820d2466904f: /nvmedata/autobuild/instance-5/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: ./.libs/libnuma.a(libnuma.o): in function `numa_node_to_cpus_v1': (.text+0x2a34): undefined reference to `__atomic_fetch_and_1' Fixes: - http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a Signed-off-by: Fabrice Fontaine --- package/numactl/Config.in | 1 + package/rt-tests/Config.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package/numactl/Config.in b/package/numactl/Config.in index 23cf7facb0..325a05d609 100644 --- a/package/numactl/Config.in +++ b/package/numactl/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_NUMACTL bool "numactl" depends on BR2_USE_MMU # madvise() + depends on BR2_TOOLCHAIN_HAS_ATOMIC help numactl allows you to run your application on specific cpus and memory nodes. It does this by supplying a NUMA memory diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in index 8efa3d194e..ccfa040d70 100644 --- a/package/rt-tests/Config.in +++ b/package/rt-tests/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_RT_TESTS bool "rt-tests" depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics + depends on BR2_TOOLCHAIN_HAS_ATOMIC # numactl depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU # fork(), numactl @@ -32,6 +33,7 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain" comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 27 21:04:19 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 23:04:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/libssh2: fix build with libressl >= 3.5.0 Message-ID: <20220427210419.1432804-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: crypt.c:71:25: error: field 'h' has incomplete type 71 | _libssh2_cipher_ctx h; | ^ Fixes: - http://autobuild.buildroot.org/results/47f492ccd4888fe4a150b36e12c88f1e068d46b6 Signed-off-by: Fabrice Fontaine --- .../0001-Opaque-structs-in-LibreSSL-3-5.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch diff --git a/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch new file mode 100644 index 0000000000..2e1fd8871c --- /dev/null +++ b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch @@ -0,0 +1,27 @@ +From 7f55a033e5054529e5e69f06725dd02a573329b6 Mon Sep 17 00:00:00 2001 +From: Charlie Li +Date: Wed, 2 Mar 2022 19:50:56 -0500 +Subject: [PATCH] Opaque structs in LibreSSL 3.5 + +[Retrieved (and backported) from: +https://github.com/libssh2/libssh2/pull/682/commits/7f55a033e5054529e5e69f06725dd02a573329b6] +Signed-off-by: Fabrice Fontaine +--- + src/openssl.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/openssl.h b/src/openssl.h +index 3eef02368..c13542481 100644 +--- a/src/openssl.h ++++ b/src/openssl.h +@@ -94,8 +94,8 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ +- !defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) + # define HAVE_OPAQUE_STRUCTS 1 + #endif + -- 2.35.1 From aperez at igalia.com Wed Apr 27 21:12:03 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Thu, 28 Apr 2022 00:12:03 +0300 Subject: [Buildroot] [PATCH 1/1] package/bubblewrap: disable tests In-Reply-To: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> References: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> Message-ID: <20220428001203.GB634665@momiji> Hi Fabrice, all, On Wed, 27 Apr 2022 22:08:38 +0200 Fabrice Fontaine wrote: > Disable tests to avoid the following build failure on mips32: > > [9/10] Compiling C object tests/try-syscall.p/try-syscall.c.o > FAILED: tests/try-syscall.p/try-syscall.c.o > /home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c > ../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" > 34 | # error "Unknown MIPS ABI" > | ^~~~~ You beat me to the submission of this fix, thanks! > Fixes: > - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee ...and a few other autobuilder failures I have seen flying by :) > Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro > --- > .../0001-meson-add-tests-option.patch | 54 +++++++++++++++++++ > package/bubblewrap/bubblewrap.mk | 3 +- > 2 files changed, 56 insertions(+), 1 deletion(-) > create mode 100644 package/bubblewrap/0001-meson-add-tests-option.patch > > diff --git a/package/bubblewrap/0001-meson-add-tests-option.patch b/package/bubblewrap/0001-meson-add-tests-option.patch > new file mode 100644 > index 0000000000..32836f925d > --- /dev/null > +++ b/package/bubblewrap/0001-meson-add-tests-option.patch > @@ -0,0 +1,54 @@ > +From 34ea0ad841d6f9167db391c08e6cd51471fed6be Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 3 Apr 2022 11:27:06 +0200 > +Subject: [PATCH] meson: add tests option > + > +Allow the user to disable tests, for example to avoid the following > +build failure on mips32: > + > +FAILED: tests/try-syscall.p/try-syscall.c.o > +/home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c > +../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" > + 34 | # error "Unknown MIPS ABI" > + | ^~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/containers/bubblewrap/commit/34ea0ad841d6f9167db391c08e6cd51471fed6be] > +--- > + meson.build | 4 +++- > + meson_options.txt | 6 ++++++ > + 2 files changed, 9 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 5b63aa64..9277ac4e 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -152,4 +152,6 @@ if not meson.is_subproject() > + subdir('completions') > + endif > + > +-subdir('tests') > ++if get_option('tests') > ++ subdir('tests') > ++endif > +diff --git a/meson_options.txt b/meson_options.txt > +index 2fa3a8c3..a136a3c3 100644 > +--- a/meson_options.txt > ++++ b/meson_options.txt > +@@ -38,6 +38,12 @@ option( > + description : 'enable optional SELINUX support', > + value : 'auto', > + ) > ++option( > ++ 'tests', > ++ type : 'boolean', > ++ description : 'build tests', > ++ value : 'true', > ++) > + option( > + 'zsh_completion', > + type : 'feature', > diff --git a/package/bubblewrap/bubblewrap.mk b/package/bubblewrap/bubblewrap.mk > index 5875b0d6e2..81456e9e0d 100644 > --- a/package/bubblewrap/bubblewrap.mk > +++ b/package/bubblewrap/bubblewrap.mk > @@ -17,7 +17,8 @@ BUBBLEWRAP_CONF_OPTS = \ > -Dzsh_completion=disabled \ > -Dman=disabled \ > -Dpython=$(HOST_DIR)/bin/python \ > - -Drequire_userns=false > + -Drequire_userns=false \ > + -Dtests=false > > ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) > BUBBLEWRAP_CONF_OPTS += \ > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot Cheers, ?Adri?n -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From yann.morin.1998 at free.fr Wed Apr 27 21:45:29 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 27 Apr 2022 23:45:29 +0200 Subject: [Buildroot] [PATCH v2 3/3] package/binutils: drop version 2.32 In-Reply-To: <20220426215315.381964-3-thomas.petazzoni@bootlin.com> References: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> <20220426215315.381964-3-thomas.petazzoni@bootlin.com> Message-ID: <20220427214529.GC3624965@scaer> p Thomas, All, On 2022-04-26 23:53 +0200, Thomas Petazzoni via buildroot spake thusly: > Now that recent versions of binutils work with FLAT binaries, we can > drop the old 2.32 version, which was kept only to keep support FLAT > binaries. > > Signed-off-by: Thomas Petazzoni As seen on IRC: binutils-2.32 is the latest version that can still build afboot-stm32. binutils-2.36.1 onward break the build. As you noticed, this is because of: https://github.com/mcoquelin-stm32/afboot-stm32/commit/0f3e61c9dd48fd8b4248ce4672c044c2562e4de1 That change is wrong: -nostartfiles is a gcc option, not an ld option. Older ld version seemed to somehow ignore it, while at least since 2.36.1 it is now an error: ...ld.real: Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?) This is because, starting with binutils 2.36, ld got an improved flag parsing that now generates that error (but that's incorrect too, as --nostartfiles does not exist either). -nostartfiles is a gcc option, but afboot-stm32 directly calls the linker... A similar issue was raised fot at91bootstrap, and fixed by removing -nostarfiles: https://github.com/linux4sam/at91bootstrap/issues/127 https://github.com/linux4sam/at91bootstrap/pull/129 So, as you said on IRC that you'd send a followup eries with a fix to afboot-stm32, I've marked this series as changes requested in the meantime. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From alistair23 at gmail.com Wed Apr 27 22:55:43 2022 From: alistair23 at gmail.com (Alistair Francis) Date: Thu, 28 Apr 2022 08:55:43 +1000 Subject: [Buildroot] [PATCH 1/1] boot/opensbi: introduce BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS In-Reply-To: <20220427131400.223113-1-noahhuetter@gmail.com> References: <20220427131400.223113-1-noahhuetter@gmail.com> Message-ID: On Wed, Apr 27, 2022 at 11:14 PM Noah Huetter wrote: > > Signed-off-by: Noah Huetter Reviewed-by: Alistair Francis Alistair > --- > boot/opensbi/Config.in | 6 ++++++ > boot/opensbi/opensbi.mk | 3 ++- > 2 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in > index f1443498d9..ff095ea800 100644 > --- a/boot/opensbi/Config.in > +++ b/boot/opensbi/Config.in > @@ -119,4 +119,10 @@ config BR2_TARGET_OPENSBI_FW_FDT_PATH > must be set in the U-Boot configuration for this file to be > produced. > > +config BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS > + string "Custom make options" > + help > + List of custom make options passed at build time. Can be > + used for example to pass a BUILD_INFO= value. > + > endif > diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk > index 8e055633a8..d007ae1299 100644 > --- a/boot/opensbi/opensbi.mk > +++ b/boot/opensbi/opensbi.mk > @@ -31,7 +31,8 @@ BR_NO_CHECK_HASH_FOR += $(OPENSBI_SOURCE) > endif > > OPENSBI_MAKE_ENV = \ > - CROSS_COMPILE=$(TARGET_CROSS) > + CROSS_COMPILE=$(TARGET_CROSS) \ > + $(call qstrip,$(BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS)) > > OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT)) > ifneq ($(OPENSBI_PLAT),) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From f.fainelli at gmail.com Wed Apr 27 23:59:38 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Wed, 27 Apr 2022 16:59:38 -0700 Subject: [Buildroot] [PATCH v2 0/2] External GCC12 toolchain support In-Reply-To: References: <20220426173211.64840-1-f.fainelli@gmail.com> Message-ID: On 4/27/2022 12:00 PM, Arnout Vandecappelle wrote: > > > On 26/04/2022 19:32, Florian Fainelli wrote: >> This patch series allows us to use Linaro's GCC12 snapshot that can be >> downloaded from here: >> >> https://snapshots.linaro.org/gnu-toolchain/12.0-2021.10-1/aarch64-linux-gnu/ >> >> >> Changes in v2: >> >> - rebased against master >> >> Florian Fainelli (2): >> ?? toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option >> ?? toolchain/toolchain-external/toolchain-external-custom: add gcc 12 >> ???? version selection > > ?Series applied to master, thanks. > > ?I was thinking that it would be useful to add an option > BR2_TOOLCHAIN_GCC_NEWER and BR2_TOOLCHAIN_EXTERNAL_GCC_12_PLUS that > selects it. That way, you can use newer GCC without changing Buildroot. > Same for linux-headers. > > ?Note that the blind option can simply be _NEWER, but the user-visible > option has to have the version explicit in it, so legacy handling can > force the user to use the correct version when Buildroot is updated. Yes, that makes sense to me, I will submit a patch series unless you have started something already. -- Florian From thomas.petazzoni at bootlin.com Thu Apr 28 04:40:33 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 04:40:33 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-27 Message-ID: <20220428044039.46F2541754@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-27 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 24 | 9 | 0 | 33 | master | 149 | 154 | 1 | 304 | Classification of failures by reason for master ----------------------------------------------- unknown | 35 zchunk-1.2.2 | 6 git-2.31.2 | 5 host-gcc-final-10.3.0 | 5 host-wayland-1.20.0 | 5 uclibc-1.0.40 | 5 libevent-2.1.12 | 4 linux-headers-5.15.33 | 3 python3-3.10.2 | 3 zlib-ng-2.0.6 | 3 exempi-2.6.1 | 2 host-rust-1.60.0 | 2 libglib2-2.70.4 | 2 libopenssl-1.1.1n | 2 libressl-3.5.2 | 2 libv4l-1.22.1 | 2 libwebsockets-4.3.1 | 2 linux-5.15.33 | 2 linux-headers-5.10.104-cip3 | 2 pipewire-0.3.50 | 2 python3-3.10.4 | 2 toolchain-external-bootlin-... | 2 vlc-3.0.16 | 2 wavemon-0.9.4 | 2 afboot-stm32-3566acd582e553... | 1 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 bat-0.19.0 | 1 bitcoin-0.21.2 | 1 brltty-6.4 | 1 bubblewrap-0.6.1 | 1 cfm-0.3 | 1 chartjs-2.9.4 | 1 dash-0.5.11.5 | 1 dhcp-4.4.3 | 1 edk2-edk2-stable202102 | 1 fontconfig-2.13.1 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 glibc-2.34-109-gd64b08d5ba7... | 1 glslsandbox-player-2021.08.24 | 1 gobject-introspection | 1 gocryptfs-2.2.1 | 1 google-breakpad-c85eb4a59b6... | 1 gstd-0.14.0 | 1 host-elf2flt-7e33f28df198c4... | 1 host-ncurses-6.1 | 1 host-python3-3.10.2 | 1 host-wine-6.0 | 1 igh-ethercat-1.5.2 | 1 jasper-2.0.33 | 1 kexec-2.0.23 | 1 libeXosip2-5.3.0 | 1 libpri-1.5.0 | 1 libssh2-1.10.0 | 1 libvorbis-1.3.7 | 1 linux-headers-5.10.104-cip3... | 1 liquid-dsp-1.4.0 | 1 lpc32xxcdl-2.11 | 1 mpir-3.0.0 | 1 nodejs-14.18.3 | 1 numactl-2.0.14 | 1 opus-1.3.1 | 1 perl-5.34.1 | 1 pkcs11-helper-1.28 | 1 protobuf-3.20.1 | 1 ruby-3.1.0 | 1 s390-tools-2.20.0 | 1 sudo-1.9.8p2 | 1 tcf-agent-1.7.0 | 1 toolchain-external-bootlin-... | 1 xenomai-3.0.10 | 1 xvisor-0.3.1 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | afboot-stm32-3566acd582e553... | NOK | http://autobuild.buildroot.net/results/4a2b19705ecd81f573f0e6647137e4cefcfd6ac9 | powerpc64le | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/1bf10eece2392163842c0061ae29da5e902c00e4 | sh4 | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/4078da39bd314e0cf7362fffc11adfb0112d8d98 | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/e6327e90298686337f3f2d27675d58d0ccce734a | arc | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/aec8c08e564bbe33d74007d59562a26fd068c3d3 | mips | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/e1bf161f4dd9c682a5b9ed04b2d60fde0d7c4546 | mips | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/4ea36203163d878ee50791593f3dabfe5c682351 | x86_64 | cfm-0.3 | NOK | http://autobuild.buildroot.net/results/a3b320f259b3f35455b4263df0fb797493c77580 | nios2 | chartjs-2.9.4 | NOK | http://autobuild.buildroot.net/results/2e63c16c5a0da980ea90e8a42604c006e91a7d2a | arm | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/c25c1b7ebaa7c78c4dd8c697a1bafbc6b82dd7b0 | ORPH xtensa | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/dbfc61781b7bc6e40bf33b6b830bc5b10b55773f | ORPH x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/5fc1044948d0f6df6e105b6872381a931ded1be6 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/47aa0ebe23a86534f8b98caa2a8bfed9a1e4982e | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/e02c9ead5adc4e57ee34507002d4b797605fab6b | riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/e936cf82c73647e36c2e1004c1c36790da5197d8 | ORPH or1k | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/d7bb4e5969160c5858e8a1906a9f5d17e31ce1c2 | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/f32ceacd37124106859b87e7390a258772d459b1 | riscv32 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/f0e533c053415b6a98b95aa48d6d8f85afc69a42 | microblazeel | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0ec291c5cd510ab573f49bafb2c9b8b64d551bc2 | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/04e232185a5d777dec94b4be6cf2c07b177eed2c | sh4aeb | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0c1524f9676913515d82c0431c588c69bee30f8f | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/3016ad6683cebd3773de4fe978ffda376a3a0bbf | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/772e1f074884b981afaabb542f5705b189f86a09 | mips64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a2547643090687684bbeb700adaa276c014263d1 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f859d791d7fff24ebc69277de663039471cac682 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d675c52e20c6578d6c7649fb20dd7522fbe10a20 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/5347c7a02d1fc6fe6554377e5bf853de0cea6b63 | arm | glslsandbox-player-2021.08.24 | NOK | http://autobuild.buildroot.net/results/9591ffe5968fe5f20b29799d1c234426cacd549a | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/1e01cd881bf0d96e0e97f8e7fb2457558287ff76 | aarch64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/4a3fe5f7153a8853b8c143b553123ea759416610 | arm | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/a501f441c6ab102408140127abec33899e64c4a8 | arm | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/d4d6be1f708fc0b3e32345ab40286be88803c803 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/cbb56dbe7088ff2bcd85aac7f023be5843b40db8 | ORPH nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2f7557b647bcdd15fe844e0f554c2a9491cab51e | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/273830dc61189b8f5f91a6b0d8e1066fb1b35bdb | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fd4a152ecb52df0f481d23554ea169edcd6dc0ed | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d2997827336ac644f0bf26093a5097ef082bb570 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ef8fba6735b324620b5c624e60bb71e335f914a5 | aarch64_be | host-ncurses-6.1 | NOK | http://autobuild.buildroot.net/results/3d8a11d5ad75efbd0e4c491403fccaef12173068 | ORPH microblaze | host-python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/f108ce848eaa3dbe4ebc417126a77a4008491465 | i686 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/3eccc5e6124fe9cb96f3e048781089b0e83e36e9 | aarch64 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/d3cdc805c39be6131c1d478b4bb114a628abab1b | aarch64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/11eeca9f6d02471e67cd96658a47b9533e8cc0d2 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/e6a0ca1e07185a1caff272ef4bd3ae99cd123b81 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/f130369e1d9eb850e96b8c7764a9b6848d06dd74 | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/b84832cbd0b2fa193e99d77c0ff9ec25c0b94976 | s390x | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/ccd02639baed5c96ce4add8cd888234080d95f63 | i686 | host-wine-6.0 | NOK | http://autobuild.buildroot.net/results/b589164c53a65a22f0d263e861f049f38fdc8046 | sparc64 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/4053ae3f4d9340d50f5a5d029d8a8f322c90db38 | arceb | jasper-2.0.33 | NOK | http://autobuild.buildroot.net/results/95c09b57e62efced0fac494fd2cf2e94f01a587a | arm | kexec-2.0.23 | NOK | http://autobuild.buildroot.net/results/70feac04be36908dfb5cb178f2c611ce02b6bc79 | ORPH powerpc | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/72068929b31deed40f820d780a77e7400d813fc3 | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/0a70b88844ac5666823f15176b0335176c5610b0 | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/0a64b2ddf51f33c8326520115f59a3d4a0a8c828 | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/3abe90166524bc12a1f95f347fffbec7383188fb | aarch64_be | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/4ab9d81aadd6eb05261274236843053746e5c0b6 | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/c4ea67ad68bb3d821dcf52871b54e9d629ae9922 | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/92be66dcf9647e0d55551255ead1d68e0bf0c22a | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cd19df2b36d6c3f3b690b8017465c95d9d543a1e | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3d2aedccd56c1ced9d03649c69c812d404b255b0 | sparc | libpri-1.5.0 | NOK | http://autobuild.buildroot.net/results/4d0c9e2355d3ef920beccffc7c9394a4d0e43ca8 | sparc | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/0882bc9ba1e926cfc1a8e23b2e1fb235d40711f3 | ORPH microblaze | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/411032fa7f206752d0de6d72b87815ff0663182f | ORPH arm | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/47f492ccd4888fe4a150b36e12c88f1e068d46b6 | riscv64 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/49eed5dff858dcc8510ce88b9efe37779774a9e6 | x86_64 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/b80538ad478bff719e5148441d1d790f89793920 | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/a0c470d98319c4b47d6dd9e15469a8a57e348508 | s390x | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/2d985009b430a8324415dccb326eac6acc1d5757 | nios2 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/818c3f7cfc92e1a1c866e29f0de7075e9cdc8647 | mips | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/685ce57019f45332226ed029d1c14ac455264851 | ORPH microblaze | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/2a1339e384365c91bbef5f96efce11168adef888 | ORPH microblazeel | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/b3848fb1dbba75cb4f0b627daa7f76ef60e35f82 | ORPH sh4a | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/c3f72407c63f50fcb74fe899dc274b08d87c3c2f | ORPH riscv64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/58093a9f2aa5e533e32b9f39ee8cbca8fc991d5d | ORPH microblazeel | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/294f820e3cd86300d821002806786e4648b084ab | ORPH riscv64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/3754bc7ddcfb90083306ddc37e8c6a78ee87eafe | ORPH aarch64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/b34f1722c0257dfb66e7fe17b639c73f8b8985ee | ORPH arm | liquid-dsp-1.4.0 | NOK | http://autobuild.buildroot.net/results/3b68b9810eb04772b634b55c44f39e7fa779586a | armeb | lpc32xxcdl-2.11 | NOK | http://autobuild.buildroot.net/results/c9caa7cb15bb046766dd9eb86d0f2e5e54338711 | ORPH armeb | mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/c0c8f862ad6e66141ab54f8e943c51cc34725611 | i686 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/0ff5eed6c5aa1258ca645c0ed3afd2b5aded8264 | microblaze | numactl-2.0.14 | NOK | http://autobuild.buildroot.net/results/e225cb83dae390d9dc543d4da85c52180efbd40a | armeb | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/e49528bd8ad383c7c04c34ade566a8d73c5987a5 | ORPH arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/a3b041357f04d024405f3996fe4682070176e6b6 | sparc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/82e184df96ae64e2f7302a904bc4eb23f47b8e13 | arm | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/ae81515c6d3c3d323cc190fe40962bdd08154a83 | sparc | pkcs11-helper-1.28 | NOK | http://autobuild.buildroot.net/results/9b0d3bf7d97696c7be6de1724daaba196626b865 | ORPH arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/eb42ddec87ad4c990828f143d6c722044841fabc | microblazeel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/8779b888e92c454f20827d46941a11f4362214e1 | powerpc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/c27fe795e079350dd1c9af45be417d41b55e57c3 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/06232ab765aaebef2de7516fc7d1757851f4be95 | mips | python3-3.10.4 | NOK | http://autobuild.buildroot.net/results/78b1dcc99a4f5a766ccf97820b7d592bd776acd5 | powerpc64 | python3-3.10.4 | NOK | http://autobuild.buildroot.net/results/72ba0f2263980c51e4de2aaf3d6825c0c0299184 | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/a58f7e31da5dd6103be30b37ff32295c85795e2a | s390x | s390-tools-2.20.0 | NOK | http://autobuild.buildroot.net/results/6fc7cd9e75692e52a7d2af93d81ccece0697d927 | mips64 | sudo-1.9.8p2 | NOK | http://autobuild.buildroot.net/results/4d31dd80e02b593031c4c68baf708b79a70677e4 | ORPH microblaze | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/7ede5c173a84997032afa843374fb4ddade5d873 | armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/b82d466f8c35813bd27be76e2b5cc8963cc232af | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/acee958e098e3c06d9d846e5586040171ef6074c | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d5cfbd8299c190a5780110329c4da2a060ecdc01 | ORPH xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1f5471c98f2b519ee2425b956be211a24959f8ef | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/24b903d54da1cc5cb1cd70fbed3c8afe2beec95e | armeb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/97745beb32e03214e6910a4905295dfe57b0a880 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/4ae2f376c8a8cc803646caedebfa77f7afc990e9 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/573ece404a4357a49276196c4423d03d0bf45570 | powerpc | unknown | NOK | http://autobuild.buildroot.net/results/1f882d070f8ac4752cfbf2c5c1dc99bf9c6e5456 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/d31a3584593307489d65cdd4cf062f14a430a597 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/4d9a38308d2582165a8000e3b0b85d33ff1d1f60 | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/19926db7c4bf8d60ba3e81180742576b44538001 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/e0044f52c4f96e7ad53c660939f5ded5cdd80fba | arc | unknown | NOK | http://autobuild.buildroot.net/results/b118978ba155f5e540ffc8451699520468f2b85a | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/3b267352657f4593d797540f0b4a648241bd0d75 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/a906a2e54026264f26ad9a31cfd9b98167a03344 | i586 | unknown | NOK | http://autobuild.buildroot.net/results/641d07e5b4a32b5ea11e5480689b44b4e7ebf7db | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/2c20aacf77f1522ca01c2a4bbca9505422eb29f7 | sh4 | unknown | NOK | http://autobuild.buildroot.net/results/399d383222371dc037e1d690ff4639065d2cdbdc | arc | unknown | NOK | http://autobuild.buildroot.net/results/9c7b4b277e4f3b40399409374a06c487252e3273 | arm | unknown | NOK | http://autobuild.buildroot.net/results/4437c87154efcd279cc1911e4edd371ef39de1ff | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/2afd18bd0ade96588e414290dc877899c87cf632 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/487270afa687f7c8c8cde9ad3139690804e5cbf9 | arm | unknown | NOK | http://autobuild.buildroot.net/results/e3d49c339ca7cdf111401438ac1b24a466f5c875 | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/576f4dc183a40c126c33a50629285cb20b043312 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/0b4ff171cc53f5cce1ce68020cda4df582ca969c | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/b7b356068e1480a033b767c365fe4f635c993b9f | arm | unknown | NOK | http://autobuild.buildroot.net/results/ae56d80ecef334bd1f0f528f283742c77d055ac5 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/bf60019dba2d63f28b1c83bef58f10434b536c59 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/01c7fb3e59b6bbbc5bbbb46c67562a2d1eef99a6 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/d37f456c7ec69f859e0637b238b6d7906ddc98e2 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/38b3a30d220f36136e125f73737c84db265a97fa | s390x | unknown | NOK | http://autobuild.buildroot.net/results/8195e9c6c633de257cc8aaab846b43b1081a9243 | arm | unknown | NOK | http://autobuild.buildroot.net/results/b440e94339860c78a264259f8ee6da50ff9a3bee | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/20d2b28cc675b6173118afbee7fe95bde6606160 | arm | unknown | NOK | http://autobuild.buildroot.net/results/9ba1150275f7ebef667effc292247a4b687e2075 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/cc55d77c892397bca6f99a46e883a58b406b740a | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/fadf45449acd313049d960d9b16c8b216f3abe43 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/e8d9612a93b1e5c8f0dc200d85d8dc037f3729f3 | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/18f15e66856163063c6254e088be987564c399b6 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/cc659c681cb53b9c0d870ea35282d1d0bfb267f8 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/af8e50863c70cc219b0311a6e5c33359c2a47622 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/4bb838bf22a660468e4f4cf68c14484b258729a1 | aarch64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/4f4393312e016bbb121b474aae2df29479fc3fe2 | arc | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/ff7f2ad0a8749b4db998c19bf76fb48a845f8e15 | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/b13d0672272885f9b231f46f420c71240410229e | arm | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/ed2276c766cd82732f7b9a62f7abb9b7723250ef | x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/da8d6db84c3c0aab9c79c7dfe8a0fca0d9758176 | riscv32 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/bef15ad1c8afbcdcabb85f5ddac4436a52293f3b | m68k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/a1c944b680dbff3eb52cdbbf9d6e55588dbbc083 | sparc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/7ac32b4b0b3f285d6c8a32b1d8eda5e9bd10bbc3 | sh4 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/54b057df6bdc2bbb7bf44476cdccf356fedd16ce | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/23c4c2d79c30bca85ac40c3a04295cfaa1b02feb | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/cc9f17fb8bf01b5024c59305af9477138b33c1f8 | mips64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/c2a76cd84a08873f5b323fb2f8c06b2dc46d9a75 | aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0e64770d9048458c46beb410ef225227c96749b1 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/8d3d22dcefeacc93dcfd54d31313b4cea2070425 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c983f7259b1d22f41cd4b84b00f08366c7fc0a42 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 3 bat-0.19.0 | 1 dhcp-4.4.3 | 1 exempi-2.6.1 | 1 frr-8.1 | 1 unknown | 1 wavemon-0.9.4 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/842392bbffc06f4e96fedb39df5f881892e3777a | riscv32 | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/692db2ca2d65d0f95ead6fd907a86be2431f312c | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/2cd9486db7f9ad7482c6cbfefdd3c92fe758780c | mips64el | frr-8.1 | NOK | http://autobuild.buildroot.net/results/0182f5efea0c1bc4d9cfcdd043c3a68b28721851 | nios2 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/990492f340fd2eace8b867311673c2e33ad87dd2 | nios2 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/99860af9d8fa2542107da05353e9e43535237484 | nios2 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/b485841fecd32240f47f8c18ef3d63283b319a50 | i586 | unknown | NOK | http://autobuild.buildroot.net/results/96b131f90efa8f6093b2290b78087b40de86d26c | powerpc64le | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/33fa6a0af124a700e3a355b9584a2a1f8f3d797d | -- http://autobuild.buildroot.net From br015 at umbiko.net Thu Apr 28 06:10:31 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Thu, 28 Apr 2022 08:10:31 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/mpd: fix iconv detection w/ libiconv installed In-Reply-To: References: Message-ID: <20220428061031.3443-1-br015@umbiko.net> Fix build failures caused by meson failing to properly detect iconv() when libiconv is installed and a missing link dependency. Upstream pull request: https://github.com/MusicPlayerDaemon/MPD/pull/1515 Fixes the following build failures: http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ Signed-off-by: Andreas Ziegler --- changes v1->v2: extract patch from git w/o numbering, fix typo, add signed-off-by ...iconv-detection-when-libiconv-is-ins.patch | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch diff --git a/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch new file mode 100644 index 0000000000..63742c0cbe --- /dev/null +++ b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch @@ -0,0 +1,55 @@ +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 +From: aeolio +Date: Wed, 20 Apr 2022 16:10:39 +0200 +Subject: [PATCH] src/lib/icu: fix iconv() detection when libiconv is installed + +Signed-off-by: aeolio + +Fix typo in comment + +Signed-off-by: Andreas Ziegler +--- + src/lib/icu/meson.build | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build +index 59215e704..972c1fda3 100644 +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -12,17 +12,23 @@ if is_windows + icu_sources += 'Win32.cxx' + endif + ++iconv_dep = [] + if icu_dep.found() + icu_sources += [ + 'Util.cxx', + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- have_iconv = compiler.has_function('iconv', prefix : '#include ') +- conf.set('HAVE_ICONV', have_iconv) ++ # an installed iconv library will make the builtin iconv() unavailable, ++ # so search for the library first and pass it as (possible) dependency ++ iconv_dep = compiler.find_library('libiconv', required: false) ++ have_iconv = compiler.has_function('iconv', ++ dependencies: iconv_dep, ++ prefix : '#include ') + if not have_iconv and get_option('iconv').enabled() + error('iconv() not available') + endif ++ conf.set('HAVE_ICONV', have_iconv) + endif + + icu = static_library( +@@ -31,6 +37,7 @@ icu = static_library( + include_directories: inc, + dependencies: [ + icu_dep, ++ iconv_dep, + fmt_dep, + ], + ) +-- +2.34.1 + -- 2.34.1 From thomas.perrot at bootlin.com Thu Apr 28 07:39:14 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Thu, 28 Apr 2022 09:39:14 +0200 Subject: [Buildroot] [PATCH v2] package/imx-mkimage: install print_fit_hab.sh Message-ID: <20220428073915.3991220-1-thomas.perrot@bootlin.com> This script gives the address, the offset and the size of binaries have been stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. Signed-off-by: Thomas Perrot --- Changes v2: - Fix a typo, when the variable BL31 is empty, BL33 was initialized instead of BL31. ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 +++++++++++++++++++ package/imx-mkimage/imx-mkimage.mk | 1 + 2 files changed, 62 insertions(+) create mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch new file mode 100644 index 000000000000..715b0f31d052 --- /dev/null +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch @@ -0,0 +1,61 @@ +From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 +From: Thomas Perrot +Date: Tue, 26 Apr 2022 15:10:04 +0200 +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 + +Signed-off-by: Thomas Perrot +--- + iMX8M/print_fit_hab.sh | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh +index b915115d1ecc..dbc28f2d9af5 100755 +--- a/iMX8M/print_fit_hab.sh ++++ b/iMX8M/print_fit_hab.sh +@@ -1,12 +1,16 @@ + #!/bin/bash + +-BL32="tee.bin" +- + let fit_off=$1 + + # keep backward compatibility + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" + ++[ -z "$BL31" ] && BL31="bl31.bin" ++ ++[ -z "$BL32" ] && BL32="tee.bin" ++ ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" ++ + if [ -z "$ATF_LOAD_ADDR" ]; then + echo "ERROR: BL31 load address is not set" >&2 + exit 0 +@@ -26,7 +30,7 @@ else + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) + fi + +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') + let uboot_load_addr=0x40200000 + + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) +@@ -64,13 +68,13 @@ done + + let atf_sign_off=$((last_sign_off)) + let atf_load_addr=$ATF_LOAD_ADDR +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') + + if [ ! -f $BL32 ]; then + let tee_size=0x0 + let tee_sign_off=$((atf_sign_off + atf_size)) + else +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') + + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) + let tee_load_addr=$TEE_LOAD_ADDR +-- +2.35.1 + diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 17ba3596f752..b88be0ca6441 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -21,6 +21,7 @@ endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else # i.MX8 and i.MX8X -- 2.35.1 From thomas.perrot at bootlin.com Thu Apr 28 07:40:18 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Thu, 28 Apr 2022 09:40:18 +0200 Subject: [Buildroot] [PATCH v2] package/imx-mkimage: install print_fit_hab.sh Message-ID: <20220428074018.3993608-1-thomas.perrot@bootlin.com> This script gives the address, the offset and the size of binaries have been stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. Signed-off-by: Thomas Perrot --- Changes v2: - Fix a typo, when the variable BL31 is empty, BL33 was initialized instead of BL31. ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 +++++++++++++++++++ package/imx-mkimage/imx-mkimage.mk | 1 + 2 files changed, 62 insertions(+) create mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch new file mode 100644 index 000000000000..715b0f31d052 --- /dev/null +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch @@ -0,0 +1,61 @@ +From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 +From: Thomas Perrot +Date: Tue, 26 Apr 2022 15:10:04 +0200 +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 + +Signed-off-by: Thomas Perrot +--- + iMX8M/print_fit_hab.sh | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh +index b915115d1ecc..dbc28f2d9af5 100755 +--- a/iMX8M/print_fit_hab.sh ++++ b/iMX8M/print_fit_hab.sh +@@ -1,12 +1,16 @@ + #!/bin/bash + +-BL32="tee.bin" +- + let fit_off=$1 + + # keep backward compatibility + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" + ++[ -z "$BL31" ] && BL31="bl31.bin" ++ ++[ -z "$BL32" ] && BL32="tee.bin" ++ ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" ++ + if [ -z "$ATF_LOAD_ADDR" ]; then + echo "ERROR: BL31 load address is not set" >&2 + exit 0 +@@ -26,7 +30,7 @@ else + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) + fi + +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') + let uboot_load_addr=0x40200000 + + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) +@@ -64,13 +68,13 @@ done + + let atf_sign_off=$((last_sign_off)) + let atf_load_addr=$ATF_LOAD_ADDR +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') + + if [ ! -f $BL32 ]; then + let tee_size=0x0 + let tee_sign_off=$((atf_sign_off + atf_size)) + else +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') + + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) + let tee_load_addr=$TEE_LOAD_ADDR +-- +2.35.1 + diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 17ba3596f752..b88be0ca6441 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -21,6 +21,7 @@ endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else # i.MX8 and i.MX8X -- 2.35.1 From universeiii at gmx.de Thu Apr 28 07:46:41 2022 From: universeiii at gmx.de (Andreas Ehmanns) Date: Thu, 28 Apr 2022 09:46:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: add security options to DHCP server Message-ID: <20220428074641.5682-1-universeiii@gmx.de> I was trying to make the ISC dhcp daemon more secure by using the -user and -group option to let dhcp server run as non-root user. Unfortunately these options are not available when building ISC dhcp server with buildroot. The reason is, that the configure script must be called with the option --enable-paranoia to activate these options. But this option is not set in the dhcp.mk file. To be backward compatible I added a new option to the dhcp's Config.in file to enable this feature when desired and parse this option in dhcp.mk. Signed-off-by: Andreas Ehmanns --- package/dhcp/Config.in | 8 ++++++++ package/dhcp/dhcp.mk | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index e0706efafb..5cf7af82de 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -25,6 +25,14 @@ config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK help Enable delayed ACK feature in the ISC DHCP server. +config BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA + bool "Enable paranoia options" + depends on BR2_PACKAGE_DHCP_SERVER + help + Add option --enable-paranoia to configure script. This activates + additional server options (-user, -group and -chroot) to make + dhcp server more secure. + config BR2_PACKAGE_DHCP_RELAY bool "dhcp relay" help diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f815c6c802..b73137506d 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -78,6 +78,10 @@ ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack endif +ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) +DHCP_CONF_OPTS += --enable-paranoia +endif + define DHCP_INSTALL_LIBS $(MAKE) -C $(@D)/bind install-bind DESTDIR=$(TARGET_DIR) $(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR) -- 2.26.2 From thomas.petazzoni at bootlin.com Thu Apr 28 08:45:55 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 10:45:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/freeipmi: fix build with argp-standalone and NLS In-Reply-To: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> References: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> Message-ID: <20220428104555.62683882@windsurf> Hello Fabrice, On Wed, 27 Apr 2022 22:18:12 +0200 Fabrice Fontaine wrote: > Fix the following build failure with argp-standalone and NLS raised > since commit 5430c8fedd0392e79e0c011825b056fea129980a: > > configure:14644: checking for argp_parse in -largp > configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 > /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': > /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' > > [...] > > In file included from freeipmi-argp-fmtstream.c:35: > freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' > 62 | #define __argp_fmtstream_write argp_fmtstream_write > | ^~~~~~~~~~~~~~~~~~~~ > freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' > 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, > | ^~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 > > Signed-off-by: Fabrice Fontaine While your patch is indeed the most "immediate" fix, shouldn't we think about providing a pkg-config file for argp-standalone, so that its indirect dependency on libintl when static linking can be properly described, and transparently discovered by users of argp-standalone? Because otherwise here, you'll have to basically propagate this to all users of argp-standalone, and to all users of users of argp-standalone. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From tianyuanhao3 at 163.com Thu Apr 28 11:39:29 2022 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Thu, 28 Apr 2022 04:39:29 -0700 Subject: [Buildroot] [PATCH v2] package/udev: move render and sgx to package/systemd In-Reply-To: <20220425111148.87319-1-tianyuanhao3@163.com> References: <20220425111148.87319-1-tianyuanhao3@163.com> Message-ID: <20220428113929.1018091-1-tianyuanhao3@163.com> Moved groups render and sgx from UDEV_USERS to SYSTEMD_USERS as they currently only appear in systemd's udev rules. In systemd, group render was introduced since commit 4e15a73, and group sgx was introduced since commit c9c4899. In eudev, group render was introduced since commit bb070c1, but was removed since commit a8ffcd1 [1]. [1]: https://github.com/eudev-project/eudev/issues/160 Signed-off-by: TIAN Yuanhao Cc: Arnout Vandecappelle (Essensium/Mind) Cc: Carlos Santos Cc: Yann E. MORIN --- Changes v2: UDEV_USERS_SYSTEMD to SYSTEMD_USERS --- package/systemd/systemd.mk | 2 ++ package/udev/udev.mk | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..7a711319cf 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -603,6 +603,8 @@ endef define SYSTEMD_USERS # udev user groups + - - render -1 * - - - DRI rendering nodes + - - sgx -1 * - - - SGX device nodes # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index ce93d98431..d70d13ebb3 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -4,12 +4,10 @@ # ################################################################################ -# Required by default rules for input devices +# Required by default rules define UDEV_USERS - - input -1 * - - - Input device group - - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes - - - sgx -1 * - - - SGX device nodes endef $(eval $(virtual-package)) -- 2.35.1 From peter.macleod.thompson at gmail.com Thu Apr 28 13:27:51 2022 From: peter.macleod.thompson at gmail.com (Peter Thompson) Date: Thu, 28 Apr 2022 07:27:51 -0600 Subject: [Buildroot] [autobuild.buildroot.net] Your daily results for 2022-04-23 Message-ID: TO: buildroot at buildroot.org I thought this failure was fixed on February 16 by Arnout Vandecappelle with commit e253e41ce2e5: package/sdl2_ttf: add harfbuzz optional dependency I cannot figure out why it is reappearing again now? Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: From universeiii at gmx.de Thu Apr 28 13:42:07 2022 From: universeiii at gmx.de (Andreas Ehmanns) Date: Thu, 28 Apr 2022 15:42:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/tftpd: add include of config file to init script Message-ID: <20220428134207.16521-1-universeiii@gmx.de> HPA's tftp server init script does not support include of a configuration file. So changing daemon parameters would cause a modification of the init script. Similar to NFS, dropbear, DHCP, SNMP and other network services in buildroot, this patch adds an include of /etc/default/tftpd to the init script. So any user can change the default behaviour by adding its own configuration file instead of changing the init script. Signed-off-by: Andreas Ehmanns --- package/tftpd/S80tftpd-hpa | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tftpd/S80tftpd-hpa b/package/tftpd/S80tftpd-hpa index 4e8361faa7..8ae15150a1 100644 --- a/package/tftpd/S80tftpd-hpa +++ b/package/tftpd/S80tftpd-hpa @@ -11,6 +11,8 @@ DAEMON=/usr/sbin/$NAME PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/S80tftpd-hpa +[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" + # # Function that starts the daemon/service. # -- 2.26.2 From yann.morin.1998 at free.fr Thu Apr 28 15:34:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:34:05 +0200 Subject: [Buildroot] [git commit] package/udev: move render and sgx to package/systemd Message-ID: <20220428152425.F076284619@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d163e12a47845804f7f979ddc55402e54ae88b3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Moved groups render and sgx from UDEV_USERS to SYSTEMD_USERS as they currently only appear in systemd's udev rules. In systemd, group render was introduced since commit 4e15a73, and group sgx was introduced since commit c9c4899. In eudev, group render was introduced since commit bb070c1, but was removed since commit a8ffcd1 [1]. [1]: https://github.com/eudev-project/eudev/issues/160 Signed-off-by: TIAN Yuanhao Cc: Arnout Vandecappelle (Essensium/Mind) Cc: Carlos Santos Cc: Yann E. MORIN Signed-off-by: Yann E. MORIN --- package/systemd/systemd.mk | 2 ++ package/udev/udev.mk | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..7a711319cf 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -603,6 +603,8 @@ endef define SYSTEMD_USERS # udev user groups + - - render -1 * - - - DRI rendering nodes + - - sgx -1 * - - - SGX device nodes # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index ce93d98431..d70d13ebb3 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -4,12 +4,10 @@ # ################################################################################ -# Required by default rules for input devices +# Required by default rules define UDEV_USERS - - input -1 * - - - Input device group - - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes - - - sgx -1 * - - - SGX device nodes endef $(eval $(virtual-package)) From yann.morin.1998 at free.fr Thu Apr 28 15:35:00 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:35:00 +0200 Subject: [Buildroot] [PATCH v2] package/udev: move render and sgx to package/systemd In-Reply-To: <20220428113929.1018091-1-tianyuanhao3@163.com> References: <20220425111148.87319-1-tianyuanhao3@163.com> <20220428113929.1018091-1-tianyuanhao3@163.com> Message-ID: <20220428153500.GD3624965@scaer> Yuanhao, All, On 2022-04-28 04:39 -0700, TIAN Yuanhao spake thusly: > Moved groups render and sgx from UDEV_USERS to SYSTEMD_USERS as they > currently only appear in systemd's udev rules. > > In systemd, group render was introduced since commit 4e15a73, and group > sgx was introduced since commit c9c4899. > > In eudev, group render was introduced since commit bb070c1, but was > removed since commit a8ffcd1 [1]. > > [1]: https://github.com/eudev-project/eudev/issues/160 > > Signed-off-by: TIAN Yuanhao > Cc: Arnout Vandecappelle (Essensium/Mind) > Cc: Carlos Santos > Cc: Yann E. MORIN Applied to master, thanks. Regards, Yann E. MORIN. > --- > > Changes v2: UDEV_USERS_SYSTEMD to SYSTEMD_USERS > --- > package/systemd/systemd.mk | 2 ++ > package/udev/udev.mk | 4 +--- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index 58a1376b51..7a711319cf 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -603,6 +603,8 @@ endef > > define SYSTEMD_USERS > # udev user groups > + - - render -1 * - - - DRI rendering nodes > + - - sgx -1 * - - - SGX device nodes > # systemd user groups > - - systemd-journal -1 * - - - Journal > $(SYSTEMD_REMOTE_USER) > diff --git a/package/udev/udev.mk b/package/udev/udev.mk > index ce93d98431..d70d13ebb3 100644 > --- a/package/udev/udev.mk > +++ b/package/udev/udev.mk > @@ -4,12 +4,10 @@ > # > ################################################################################ > > -# Required by default rules for input devices > +# Required by default rules > define UDEV_USERS > - - input -1 * - - - Input device group > - - - render -1 * - - - DRI rendering nodes > - - kvm -1 * - - - kvm nodes > - - - sgx -1 * - - - SGX device nodes > endef > > $(eval $(virtual-package)) > -- > 2.35.1 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 15:43:48 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:43:48 +0200 Subject: [Buildroot] [git commit] package/tftpd: add include of config file to init script Message-ID: <20220428153451.3AC9784632@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=61bfaf0354b44ae2d4927c54983eaa4c74cd3e0b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master HPA's tftp server init script does not support include of a configuration file. So changing daemon parameters would cause a modification of the init script. Similar to NFS, dropbear, DHCP, SNMP and other network services in buildroot, this patch adds an include of /etc/default/tftpd to the init script. So any user can change the default behaviour by adding its own configuration file instead of changing the init script. Signed-off-by: Andreas Ehmanns Signed-off-by: Yann E. MORIN --- package/tftpd/S80tftpd-hpa | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tftpd/S80tftpd-hpa b/package/tftpd/S80tftpd-hpa index 4e8361faa7..8ae15150a1 100644 --- a/package/tftpd/S80tftpd-hpa +++ b/package/tftpd/S80tftpd-hpa @@ -11,6 +11,8 @@ DAEMON=/usr/sbin/$NAME PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/S80tftpd-hpa +[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" + # # Function that starts the daemon/service. # From yann.morin.1998 at free.fr Thu Apr 28 15:45:49 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:45:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/tftpd: add include of config file to init script In-Reply-To: <20220428134207.16521-1-universeiii@gmx.de> References: <20220428134207.16521-1-universeiii@gmx.de> Message-ID: <20220428154549.GE3624965@scaer> Andreas, All, On 2022-04-28 15:42 +0200, Andreas Ehmanns spake thusly: > HPA's tftp server init script does not support include of a > configuration file. So changing daemon parameters would cause > a modification of the init script. > Similar to NFS, dropbear, DHCP, SNMP and other network services > in buildroot, this patch adds an include of /etc/default/tftpd > to the init script. So any user can change the default behaviour > by adding its own configuration file instead of changing the init > script. > > Signed-off-by: Andreas Ehmanns Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/tftpd/S80tftpd-hpa | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/tftpd/S80tftpd-hpa b/package/tftpd/S80tftpd-hpa > index 4e8361faa7..8ae15150a1 100644 > --- a/package/tftpd/S80tftpd-hpa > +++ b/package/tftpd/S80tftpd-hpa > @@ -11,6 +11,8 @@ DAEMON=/usr/sbin/$NAME > PIDFILE=/var/run/$NAME.pid > SCRIPTNAME=/etc/init.d/S80tftpd-hpa > > +[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" > + > # > # Function that starts the daemon/service. > # > -- > 2.26.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 15:51:12 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:51:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: add security options to DHCP server In-Reply-To: <20220428074641.5682-1-universeiii@gmx.de> References: <20220428074641.5682-1-universeiii@gmx.de> Message-ID: <20220428155112.GF3624965@scaer> Andreas, All, On 2022-04-28 09:46 +0200, Andreas Ehmanns spake thusly: > I was trying to make the ISC dhcp daemon more secure by using the > -user and -group option to let dhcp server run as non-root user. > Unfortunately these options are not available when building ISC dhcp > server with buildroot. > The reason is, that the configure script must be called with the > option --enable-paranoia to activate these options. But this option > is not set in the dhcp.mk file. > > To be backward compatible I added a new option to the dhcp's Config.in > file to enable this feature when desired and parse this option in > dhcp.mk. > > Signed-off-by: Andreas Ehmanns > --- > package/dhcp/Config.in | 8 ++++++++ > package/dhcp/dhcp.mk | 4 ++++ > 2 files changed, 12 insertions(+) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index e0706efafb..5cf7af82de 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -25,6 +25,14 @@ config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK > help > Enable delayed ACK feature in the ISC DHCP server. > > +config BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA > + bool "Enable paranoia options" > + depends on BR2_PACKAGE_DHCP_SERVER > + help > + Add option --enable-paranoia to configure script. This activates > + additional server options (-user, -group and -chroot) to make > + dhcp server more secure. $ make check-package package/dhcp/Config.in:32: help text: <2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in) Applied to master with that fixed, thanks. Regards, Yann E. MORIN. > + > config BR2_PACKAGE_DHCP_RELAY > bool "dhcp relay" > help > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index f815c6c802..b73137506d 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -78,6 +78,10 @@ ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) > DHCP_CONF_OPTS += --enable-delayed-ack > endif > > +ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) > +DHCP_CONF_OPTS += --enable-paranoia > +endif > + > define DHCP_INSTALL_LIBS > $(MAKE) -C $(@D)/bind install-bind DESTDIR=$(TARGET_DIR) > $(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR) > -- > 2.26.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 15:50:15 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:50:15 +0200 Subject: [Buildroot] [git commit] package/dhcp: add security options to DHCP server Message-ID: <20220428154058.8BAA58463E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=40f7adae3c036072a05c8d69f7116af1057da301 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master I was trying to make the ISC dhcp daemon more secure by using the -user and -group option to let dhcp server run as non-root user. Unfortunately these options are not available when building ISC dhcp server with buildroot. The reason is, that the configure script must be called with the option --enable-paranoia to activate these options. But this option is not set in the dhcp.mk file. To be backward compatible I added a new option to the dhcp's Config.in file to enable this feature when desired and parse this option in dhcp.mk. Signed-off-by: Andreas Ehmanns [yann.morin.1998 at free.fr: fix check-package] Signed-off-by: Yann E. MORIN --- package/dhcp/Config.in | 8 ++++++++ package/dhcp/dhcp.mk | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index e0706efafb..adc19dec07 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -25,6 +25,14 @@ config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK help Enable delayed ACK feature in the ISC DHCP server. +config BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA + bool "Enable paranoia options" + depends on BR2_PACKAGE_DHCP_SERVER + help + Add option --enable-paranoia to configure script. This + activates additional server options (-user, -group and + -chroot) to make dhcp server more secure. + config BR2_PACKAGE_DHCP_RELAY bool "dhcp relay" help diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f815c6c802..b73137506d 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -78,6 +78,10 @@ ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack endif +ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) +DHCP_CONF_OPTS += --enable-paranoia +endif + define DHCP_INSTALL_LIBS $(MAKE) -C $(@D)/bind install-bind DESTDIR=$(TARGET_DIR) $(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR) From yann.morin.1998 at free.fr Thu Apr 28 16:27:38 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 18:27:38 +0200 Subject: [Buildroot] [PATCH] package/dhcp: add explicit option disabling Message-ID: <20220428162738.1243794-1-yann.morin.1998@free.fr> Commits 4db37c663cc0 (dhcp: add config option for delayed-ack feature of dhcp server) and 40f7adae3c03 (package/dhcp: add security options to DHCP server) forgot to explicit disable the option when not requested. Fix that now. Signed-off-by: Yann E. MORIN Cc: Andreas Ehmanns Cc: Fabrice Fontaine Cc: Thomas De Schampheleire Cc: Jan Havran Cc: Eugen Hristev --- package/dhcp/dhcp.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index b73137506d..cbc95cb152 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -76,10 +76,14 @@ endif ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack +else +DHCP_CONF_OPTS += --disable-delayed-ack endif ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) DHCP_CONF_OPTS += --enable-paranoia +else +DHCP_CONF_OPTS += --disable-paranoia endif define DHCP_INSTALL_LIBS -- 2.25.1 From havasiefr at gmail.com Thu Apr 28 17:39:11 2022 From: havasiefr at gmail.com (Kristof Havasi) Date: Thu, 28 Apr 2022 19:39:11 +0200 Subject: [Buildroot] Build regression after 2022.02.01 Message-ID: Hi there! I just updated from 2022.02 to 2022.02.01. My build broke due to 8945ba49480a7885d10444 "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" I selected a bootlin toolchain for armv7, which is installed on the build system and is available via PATH. As the help string of BR2_TOOLCHAIN_EXTERNAL_PATH describes, if it is empty, then PATH will be searched. If I revert the above commit the build succeeds like before. I could see the reason behind the check in the commit for the case, where the toolchain is yet to be downloaded, but then the lines ended up in the wrong branch of the if/else statement. In case the toolchain is already available via PATH, I suggest to follow the previous logic and description in the help text: "If empty, the compiler will be searched in $PATH." Best Regards, Krist?f From fontaine.fabrice at gmail.com Thu Apr 28 17:54:47 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 28 Apr 2022 19:54:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/sdl2_ttf: disable builtin harfbuzz Message-ID: <20220428175447.983405-1-fontaine.fabrice@gmail.com> Disable builtin harfbuzz which is enabled by default since bump to version 2.0.18 in commit f4da031a77f200515bcc5b2e0fe665a7b4f2a780 and https://github.com/libsdl-org/SDL_ttf/commit/834ec54127dc9c2a12928f5fe32cf110ec4c7a7f resulting in the following build failure without threads: In file included from external/harfbuzz-2.8.0/src/hb.hh:470, from external/harfbuzz-2.8.0/src/hb-aat-layout.cc:28: external/harfbuzz-2.8.0/src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory 53 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 Signed-off-by: Fabrice Fontaine --- package/sdl2_ttf/sdl2_ttf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sdl2_ttf/sdl2_ttf.mk b/package/sdl2_ttf/sdl2_ttf.mk index 54e76815f1..054e327fac 100644 --- a/package/sdl2_ttf/sdl2_ttf.mk +++ b/package/sdl2_ttf/sdl2_ttf.mk @@ -11,7 +11,7 @@ SDL2_TTF_LICENSE = Zlib SDL2_TTF_LICENSE_FILES = COPYING.txt SDL2_TTF_INSTALL_STAGING = YES SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf -SDL2_TTF_CONF_OPTS = --disable-freetype-builtin +SDL2_TTF_CONF_OPTS = --disable-freetype-builtin --disable-harfbuzz-builtin ifeq ($(BR2_PACKAGE_HARFBUZZ),y) SDL2_TTF_DEPENDENCIES += harfbuzz -- 2.35.1 From james.hilliard1 at gmail.com Thu Apr 28 19:31:14 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:31:14 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-cryptography: bump to version 37.0.1 Message-ID: <20220428193114.759935-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-cryptography/python-cryptography.hash | 2 +- package/python-cryptography/python-cryptography.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-cryptography/python-cryptography.hash b/package/python-cryptography/python-cryptography.hash index 1219fa9b5f..0649207426 100644 --- a/package/python-cryptography/python-cryptography.hash +++ b/package/python-cryptography/python-cryptography.hash @@ -1,5 +1,5 @@ # Locally calculated after vendoring -sha256 196bba703cebc052a19f5353614fcfa9d680471990c10305f110adcc05744eeb cryptography-36.0.1.tar.gz +sha256 d7718568773810e42481f51f810919f5501ad252300f4d1b36bb5127b2f6050d cryptography-37.0.1.tar.gz # Locally computed sha256 checksums sha256 43dad2cc752ab721cd9a9f36ece70fb53ab7713551f2d3d8694d8e8c5a06d6e2 LICENSE sha256 aac73b3148f6d1d7111dbca32099f68d26c644c6813ae1e4f05f6579aa2663fe LICENSE.APACHE diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 872ede9b89..7714b9ad88 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CRYPTOGRAPHY_VERSION = 36.0.1 +PYTHON_CRYPTOGRAPHY_VERSION = 37.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz -PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/f9/4b/1cf8e281f7ae4046a59e5e39dd7471d46db9f61bb564fddbff9084c4334f +PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/3d/5f/addb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3 PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 19:37:38 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:37:38 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools-rust: bump to version 1.3.0 Message-ID: <20220428193738.772448-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash index ae3a3463a5..2375c7528f 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.hash +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz -sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz +md5 9760ac511ebe33c759b76efb0a1299dd setuptools-rust-1.3.0.tar.gz +sha256 958c5bf4ab6483d59dab888538121871cc5006354a42fb0fbd50acf03caad1de setuptools-rust-1.3.0.tar.gz # Locally computed sha256 checksums sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk index c2d8c6d9a7..c342773476 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.mk +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 +PYTHON_SETUPTOOLS_RUST_VERSION = 1.3.0 PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/a9/55/5db4a5b137af2afdc23a6e251d5ebb3b4e04c8deb68fbb5ffdacbd134c0c PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools PYTHON_SETUPTOOLS_RUST_LICENSE = MIT PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 19:42:32 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:42:32 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools: bump to version 62.1.0 Message-ID: <20220428194232.775056-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-setuptools/python-setuptools.hash | 4 ++-- package/python-setuptools/python-setuptools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools/python-setuptools.hash b/package/python-setuptools/python-setuptools.hash index 1a378d1b76..d4a9ba3d88 100644 --- a/package/python-setuptools/python-setuptools.hash +++ b/package/python-setuptools/python-setuptools.hash @@ -1,4 +1,4 @@ # From https://pypi.org/pypi/setuptools/json -md5 6c6a97cf68e1db789a2e5c054f067278 setuptools-60.9.3.tar.gz -sha256 2347b2b432c891a863acadca2da9ac101eae6169b1d3dfee2ec605ecd50dbfe5 setuptools-60.9.3.tar.gz +md5 95f4924aacd634ab579f17fc71f79fb1 setuptools-62.1.0.tar.gz +sha256 47c7b0c0f8fc10eec4cf1e71c6fdadf8decaa74ffa087e68cd1c20db7ad6a592 setuptools-62.1.0.tar.gz sha256 db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE diff --git a/package/python-setuptools/python-setuptools.mk b/package/python-setuptools/python-setuptools.mk index 3309cd9df4..c6a2137e1d 100644 --- a/package/python-setuptools/python-setuptools.mk +++ b/package/python-setuptools/python-setuptools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_VERSION = 60.9.3 +PYTHON_SETUPTOOLS_VERSION = 62.1.0 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz -PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/14/74/54890935244ce053abcc4fa01ef4982a84743a8d128d4cf5eae56e2d156c +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ea/a3/3d3cbbb7150f90c4cf554048e1dceb7c6ab330e4b9138a40e130a4cc79e1 PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 19:45:45 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:45:45 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-simplejson: bump to version 3.17.6 Message-ID: <20220428194545.776652-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-simplejson/python-simplejson.hash | 4 ++-- package/python-simplejson/python-simplejson.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-simplejson/python-simplejson.hash b/package/python-simplejson/python-simplejson.hash index bb44bdfc79..0f56d4c6cc 100644 --- a/package/python-simplejson/python-simplejson.hash +++ b/package/python-simplejson/python-simplejson.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/simplejson/json -md5 1756427859454004e90e028d263cf23e simplejson-3.17.5.tar.gz -sha256 91cfb43fb91ff6d1e4258be04eee84b51a4ef40a28d899679b9ea2556322fb50 simplejson-3.17.5.tar.gz +md5 0b8f47c9451bf101a791f8b5bccf1f33 simplejson-3.17.6.tar.gz +sha256 cf98038d2abf63a1ada5730e91e84c642ba6c225b0198c3684151b1f80c5f8a6 simplejson-3.17.6.tar.gz # Locally computed sha256 checksums sha256 fcaa1e313a99304322e2e0836ea4ee7d839ce9a480438f3922a853edfdde129f LICENSE.txt diff --git a/package/python-simplejson/python-simplejson.mk b/package/python-simplejson/python-simplejson.mk index 5bed8d20a9..52bff7569c 100644 --- a/package/python-simplejson/python-simplejson.mk +++ b/package/python-simplejson/python-simplejson.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SIMPLEJSON_VERSION = 3.17.5 +PYTHON_SIMPLEJSON_VERSION = 3.17.6 PYTHON_SIMPLEJSON_SOURCE = simplejson-$(PYTHON_SIMPLEJSON_VERSION).tar.gz -PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/01/52/41c71718f941c9a5abebfaa24e3c14e3c0229327b7ebd21348989845ed8f +PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/7a/47/c7cc3d4ed15f09917838a2fb4e1759eafb6d2f37ebf7043af984d8b36cf7 PYTHON_SIMPLEJSON_LICENSE = Academic Free License (AFL), MIT PYTHON_SIMPLEJSON_LICENSE_FILES = LICENSE.txt PYTHON_SIMPLEJSON_CPE_ID_VENDOR = simplejson_project -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 19:52:48 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:52:48 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-typing-extensions: bump to version 4.2.0 Message-ID: <20220428195248.782790-1-james.hilliard1@gmail.com> This package now requires the flit setup type. Signed-off-by: James Hilliard --- .../python-typing-extensions/python-typing-extensions.hash | 4 ++-- .../python-typing-extensions/python-typing-extensions.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-typing-extensions/python-typing-extensions.hash b/package/python-typing-extensions/python-typing-extensions.hash index abaac77d34..f37a609adc 100644 --- a/package/python-typing-extensions/python-typing-extensions.hash +++ b/package/python-typing-extensions/python-typing-extensions.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/typing_extensions/json -md5 ed80ecc8eac5cb15840535ca54eb43f3 typing_extensions-3.10.0.2.tar.gz -sha256 49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e typing_extensions-3.10.0.2.tar.gz +md5 197fb153e3720a3f6e0c85bb47f9c2b5 typing_extensions-4.2.0.tar.gz +sha256 f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376 typing_extensions-4.2.0.tar.gz # Locally computed sha256 checksums sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE diff --git a/package/python-typing-extensions/python-typing-extensions.mk b/package/python-typing-extensions/python-typing-extensions.mk index 668071e025..a664e5d3e9 100644 --- a/package/python-typing-extensions/python-typing-extensions.mk +++ b/package/python-typing-extensions/python-typing-extensions.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_TYPING_EXTENSIONS_VERSION = 3.10.0.2 +PYTHON_TYPING_EXTENSIONS_VERSION = 4.2.0 PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz -PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/ed/12/c5079a15cf5c01d7f4252b473b00f7e68ee711be605b9f001528f0298b98 -PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = setuptools +PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/fe/71/1df93bd59163c8084d812d166c907639646e8aac72886d563851b966bf18 +PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = flit PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0 PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 20:00:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 14:00:43 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: bump to version 5.2.0 Message-ID: <20220428200043.787738-1-james.hilliard1@gmail.com> Drop patches that are now upstream. Signed-off-by: James Hilliard --- ...for-aarch64_be-or1k-and-microblazebe.patch | 30 ------ ...0002-Add-support-of-ARC-architecture.patch | 36 ------- .../0003-Add-support-for-microblaze.patch | 27 ------ ...4-Pseiderer-add-nios2-and-xtensa-001.patch | 95 ------------------- package/python-ujson/python-ujson.hash | 4 +- package/python-ujson/python-ujson.mk | 4 +- 6 files changed, 4 insertions(+), 192 deletions(-) delete mode 100644 package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch delete mode 100644 package/python-ujson/0002-Add-support-of-ARC-architecture.patch delete mode 100644 package/python-ujson/0003-Add-support-for-microblaze.patch delete mode 100644 package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch diff --git a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch b/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch deleted file mode 100644 index b43eb54dcd..0000000000 --- a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 768a445f0c28311bf88685bf0bb990505c12fd4c Mon Sep 17 00:00:00 2001 -From: Florian Loitsch -Date: Sat, 8 Sep 2018 18:18:15 +0200 -Subject: [PATCH] Add support for aarch64_be, or1k and microblazebe. - -Fixes #73. - -[Retrieved from: -https://github.com/google/double-conversion/commit/768a445f0c28311bf88685bf0bb990505c12fd4c] -Signed-off-by: Fabrice Fontaine ---- - double-conversion/utils.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/deps/double-conversion/ouble-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 98a2a11..492bc97 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -76,8 +76,9 @@ inline void abort_noreturn() { abort(); } - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ - defined(__SH4__) || defined(__alpha__) || \ - defined(_MIPS_ARCH_MIPS32R2) || \ -- defined(__AARCH64EL__) || defined(__aarch64__) || \ -- defined(__riscv) -+ defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ -+ defined(__riscv) || \ -+ defined(__or1k__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) || \ - defined(__pnacl__) || defined(__native_client__) diff --git a/package/python-ujson/0002-Add-support-of-ARC-architecture.patch b/package/python-ujson/0002-Add-support-of-ARC-architecture.patch deleted file mode 100644 index d38b24f5fc..0000000000 --- a/package/python-ujson/0002-Add-support-of-ARC-architecture.patch +++ /dev/null @@ -1,36 +0,0 @@ -From eafa625a34fd5d8bec18eddfccbca55ce77b4849 Mon Sep 17 00:00:00 2001 -From: Alexey Brodkin -Date: Thu, 1 Nov 2018 17:36:17 +0200 -Subject: [PATCH] Add support of ARC architecture (#82) - -More info about ARC architecture is here: [1] & [2]. -We need ARC supported here for many things like: - - ICU (see [3]) - - Qt5 etc - -[1] https://www.synopsys.com/designware-ip/processor-solutions/arc-processors.html -[2] https://en.wikipedia.org/wiki/ARC_(processor) -[3] https://unicode-org.atlassian.net/browse/ICU-20155 - -Fixes #81 - -[Retrieved from: -https://github.com/google/double-conversion/commit/eafa625a34fd5d8bec18eddfccbca55ce77b4849] -Signed-off-by: Fabrice Fontaine ---- - double-conversion/utils.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 41c5b02..2e1be0d 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -94,7 +94,7 @@ int main(int argc, char** argv) { - defined(_MIPS_ARCH_MIPS32R2) || \ - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || \ -- defined(__or1k__) -+ defined(__or1k__) || defined(__arc__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) || \ - defined(__pnacl__) || defined(__native_client__) diff --git a/package/python-ujson/0003-Add-support-for-microblaze.patch b/package/python-ujson/0003-Add-support-for-microblaze.patch deleted file mode 100644 index 14fd52eb98..0000000000 --- a/package/python-ujson/0003-Add-support-for-microblaze.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 5cc233e98b74c5c370de888198a2b35200d55468 Mon Sep 17 00:00:00 2001 -From: Florian Loitsch -Date: Sat, 12 Oct 2019 14:35:52 +0200 -Subject: [PATCH] Add support for microblaze. - -Really fixes #73. -[Retrieved (and backported) from: -https://github.com/google/double-conversion/commit/5cc233e98b74c5c370de888198a2b35200d55468] -Signed-off-by: Fabrice Fontaine ---- - Changelog | 4 ++++ - double-conversion/utils.h | 1 + - 2 files changed, 5 insertions(+) - -diff --git a/deps/idouble-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 1a71df0..221467f 100644 ---- a/deps/doyble-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -102,6 +102,7 @@ int main(int argc, char** argv) { - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || \ -- defined(__or1k__) || defined(__arc__) -+ defined(__or1k__) || defined(__arc__) || \ -+ defined(__microblaze__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) - #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch b/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch deleted file mode 100644 index 8648f93c1a..0000000000 --- a/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch +++ /dev/null @@ -1,95 +0,0 @@ -From a54561be5588ac9b16d3c20760b9b554168bb8aa Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 31 Oct 2019 21:26:27 +0100 -Subject: [PATCH] Pseiderer/add nios2 and xtensa 001 (#119) - -* double-conversion: enable for nios2 - -Nios2 supports double conversion, tested using qemu: - -./main || echo "correct" -correct -uname -a -Linux buildroot 4.19.16 #4 Sat Aug 3 14:46:48 CEST 2019 nios2 GNU/Linux - -Solves build error - -In file included from double-conversion.h:42:0, - from number_decimalquantity.cpp:19: -double-conversion-utils.h:119:2: error: #error Target architecture was not detected as supported by Double-Conversion. - #error Target architecture was not detected as supported by Double-Conversion. - -detected by buildroot autobuilders: -http://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/ - -Patch sent upstream: https://github.com/unicode-org/icu/pull/725 -Bug report: https://unicode-org.atlassian.net/browse/ICU-20751 - -[Bernd: Fixed path] -Signed-off-by: Bernd Kuhls -[Added Changelog entry] -Signed-off-by: Peter Seiderer - -* double-conversion: enable for xtensa - -Signed-off-by: Peter Seiderer - -[Retrieved (dand backported) from: -https://github.com/google/double-conversion/commit/a54561be5588ac9b16d3c20760b9b554168bb8aa] -Signed-off-by: Fabrice Fontaine ---- -Note: - -Double-conversion tested with: - - $ cat div.c -double Div_double(double x, double y) { return x / y; } - - $ cat main.c -double Div_double(double x, double y); - -int main(int argc, char** argv) { - double result = Div_double(89255.0, 1e22); - if (result == 89255e-22) { - printf("correct result %e\n", result); - return 1; - } else { - printf("wrong result %e\n", result); - return 0; - } -} - -Tested for xtensa (using qemu_xtensa_lx60_defconfig plus BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE): - - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c div.c - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c main.c - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -o main main.o div.o - - $ ./host/bin/qemu-xtensa -L staging main -correct result 8.925500e-18 ---- - Changelog | 4 ++++ - double-conversion/utils.h | 3 ++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 221467f..98ec28b 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -94,6 +94,7 @@ int main(int argc, char** argv) { - defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \ - defined(__hppa__) || defined(__ia64__) || \ - defined(__mips__) || \ -+ defined(__nios2__) || \ - defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ - defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ -@@ -102,7 +103,7 @@ int main(int argc, char** argv) { - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || defined(__e2k__) || \ - defined(__or1k__) || defined(__arc__) || \ -- defined(__microblaze__) -+ defined(__microblaze__) || defined(__XTENSA__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) - #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/package/python-ujson/python-ujson.hash b/package/python-ujson/python-ujson.hash index fc897c381b..e88e273145 100644 --- a/package/python-ujson/python-ujson.hash +++ b/package/python-ujson/python-ujson.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/ujson/json -md5 9a90e2e9f1d465c2121b8d10f837f53a ujson-4.2.0.tar.gz -sha256 fffe509f556861c7343c6cba57ed05fe7bcf4b48a934a5b946ccb45428cf8883 ujson-4.2.0.tar.gz +md5 2c7ffd2bf23f6f07da3a0cbf5ff5c2f0 ujson-5.2.0.tar.gz +sha256 163191b88842d874e081707d35de2e205e0e396e70fd068d1038879bca8b17ad ujson-5.2.0.tar.gz # Locally computed sha256 checksums sha256 6a00a8f8b4050303368b694147bde1aed9c96bdff869c181dbbf3ccb784a1501 LICENSE.txt diff --git a/package/python-ujson/python-ujson.mk b/package/python-ujson/python-ujson.mk index 68781c6170..8eb5f6a0a7 100644 --- a/package/python-ujson/python-ujson.mk +++ b/package/python-ujson/python-ujson.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_UJSON_VERSION = 4.2.0 +PYTHON_UJSON_VERSION = 5.2.0 PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz -PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/df/69/e8f615e1a779e2d2d23d29d56dc55bbb1db2a828f0ef36d10bc697d63968 +PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/e4/fc/2dee0e78162aa1ad03dadde9a9b5c281d6f8bb0eed6810a270486d8fc041 PYTHON_UJSON_SETUP_TYPE = setuptools PYTHON_UJSON_LICENSE = BSD-3-Clause PYTHON_UJSON_LICENSE_FILES = LICENSE.txt -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 20:03:25 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 14:03:25 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-urllib3: bump to version 1.26.9 Message-ID: <20220428200325.789340-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2415f24199..bab97249b0 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 50831ca7b19bbe2781abb0a4c2d51760 urllib3-1.26.8.tar.gz -sha256 0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c urllib3-1.26.8.tar.gz +md5 d4b58522821a33c5e421191b83e0dbac urllib3-1.26.9.tar.gz +sha256 aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e urllib3-1.26.9.tar.gz # Locally computed sha256 checksums sha256 c37bf186e27cf9dbe9619e55edfe3cea7b30091ceb3da63c7dacbe0e6d77907b LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index d94c97b4ed..cb2f7ffe5d 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 1.26.8 +PYTHON_URLLIB3_VERSION = 1.26.9 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/b0/b1/7bbf5181f8e3258efae31702f5eab87d8a74a72a0aa78bc8c08c1466e243 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 20:09:26 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 14:09:26 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-aenum: bump to version 3.1.11 Message-ID: <20220428200926.790948-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-aenum/python-aenum.hash | 4 ++-- package/python-aenum/python-aenum.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-aenum/python-aenum.hash b/package/python-aenum/python-aenum.hash index d10254f9b1..40c0e55fc5 100644 --- a/package/python-aenum/python-aenum.hash +++ b/package/python-aenum/python-aenum.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/aenum/json -md5 6f30144abd4d156f22f8a49d81c496df aenum-3.1.0.tar.gz -sha256 87f0e9ef4f828578ab06af30e4d7944043bf4ecd3f4b7bd1cbe37e2173cde94a aenum-3.1.0.tar.gz +md5 c0b78a74cdfacc0bf0cbb42785afaed8 aenum-3.1.11.tar.gz +sha256 aed2c273547ae72a0d5ee869719c02a643da16bf507c80958faadc7e038e3f73 aenum-3.1.11.tar.gz # Locally computed sha256 checksums sha256 0db837e38002017b352666c83c8d3216ee5b9b2229375eb2cf4487f8c24e1f8c aenum/LICENSE diff --git a/package/python-aenum/python-aenum.mk b/package/python-aenum/python-aenum.mk index 72eaa1db2b..9a30211bb6 100644 --- a/package/python-aenum/python-aenum.mk +++ b/package/python-aenum/python-aenum.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AENUM_VERSION = 3.1.0 +PYTHON_AENUM_VERSION = 3.1.11 PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz -PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/ae/25/00b2949186e76a4c9732e33221274964fecf5c88178cbe5a14a80cfc04e8 +PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/63/6c/a71e18de7c651f384b328be6bccadbbd472aca62f547c1a307b9388d03ca PYTHON_AENUM_SETUP_TYPE = setuptools PYTHON_AENUM_LICENSE = BSD-3-Clause PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE -- 2.25.1 From bernd.kuhls at t-online.de Thu Apr 28 20:15:38 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 22:15:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/ffmpeg: bump verson to 4.4.2 Message-ID: <20220428201538.3150261-1-bernd.kuhls@t-online.de> Changelog: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=Changelog;hb=refs/heads/release/4.4 Signed-off-by: Bernd Kuhls --- package/ffmpeg/ffmpeg.hash | 2 +- package/ffmpeg/ffmpeg.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ffmpeg/ffmpeg.hash b/package/ffmpeg/ffmpeg.hash index abb397f872..8669a060d0 100644 --- a/package/ffmpeg/ffmpeg.hash +++ b/package/ffmpeg/ffmpeg.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02 ffmpeg-4.4.1.tar.xz +sha256 af419a7f88adbc56c758ab19b4c708afbcae15ef09606b82b855291f6a6faa93 ffmpeg-4.4.2.tar.xz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 sha256 b634ab5640e258563c536e658cad87080553df6f34f62269a21d554844e58bfe COPYING.LGPLv2.1 sha256 cb48bf09a11f5fb576cddb0431c8f5ed0a60157a9ec942adffc13907cbe083f2 LICENSE.md diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 5a79faed47..82d229903f 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -4,7 +4,7 @@ # ################################################################################ -FFMPEG_VERSION = 4.4.1 +FFMPEG_VERSION = 4.4.2 FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz FFMPEG_SITE = http://ffmpeg.org/releases FFMPEG_INSTALL_STAGING = YES -- 2.30.2 From james.hilliard1 at gmail.com Thu Apr 28 20:16:19 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 14:16:19 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-autobahn: bump to version 22.3.2 Message-ID: <20220428201619.792756-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-autobahn/python-autobahn.hash | 4 ++-- package/python-autobahn/python-autobahn.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-autobahn/python-autobahn.hash b/package/python-autobahn/python-autobahn.hash index 7b963df635..cc68f822a3 100644 --- a/package/python-autobahn/python-autobahn.hash +++ b/package/python-autobahn/python-autobahn.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/autobahn/json -md5 9b0ae4ff164232c952ba01ab3516188e autobahn-22.1.1.tar.gz -sha256 17e1b58b6ae1a63ca7d926b1d71bb9e4fd6b9ac9a1a2277d8ee40e0b61f54746 autobahn-22.1.1.tar.gz +md5 b0b5e10bfea95f32900708be705efcf0 autobahn-22.3.2.tar.gz +sha256 58a887c7a196bb08d8b6624cb3695f493a9e5c9f00fd350d8d6f829b47ff9036 autobahn-22.3.2.tar.gz # Locally computed sha256 checksums sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE diff --git a/package/python-autobahn/python-autobahn.mk b/package/python-autobahn/python-autobahn.mk index df43e9cdf2..37256ec8f6 100644 --- a/package/python-autobahn/python-autobahn.mk +++ b/package/python-autobahn/python-autobahn.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AUTOBAHN_VERSION = 22.1.1 +PYTHON_AUTOBAHN_VERSION = 22.3.2 PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz -PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/0e/2a/0b627ad4adf70437b5753462958b3ba5c6802d7664eb4a680e46423659ba +PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/e9/a7/4dea20063b78eb50a54182494ae634cffc0ed6208bf775771f374a9fb8bc PYTHON_AUTOBAHN_LICENSE = MIT PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE PYTHON_AUTOBAHN_CPE_ID_VENDOR = crossbar -- 2.25.1 From bernd.kuhls at t-online.de Thu Apr 28 20:17:20 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 22:17:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/vlc: bump version to 3.0.17.4 Message-ID: <20220428201720.3150467-1-bernd.kuhls@t-online.de> Release notes: http://www.videolan.org/vlc/releases/3.0.17.html Signed-off-by: Bernd Kuhls --- package/vlc/vlc.hash | 8 ++++---- package/vlc/vlc.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/vlc/vlc.hash b/package/vlc/vlc.hash index 468ec7df35..9060097906 100644 --- a/package/vlc/vlc.hash +++ b/package/vlc/vlc.hash @@ -1,7 +1,7 @@ -# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha256 -sha256 ffae35fc64f625c175571d2346bc5f6207be99762517f15423e74f18399410f6 vlc-3.0.16.tar.xz -# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha1 -sha1 e22ac839a09b5ead8992ae6aa8ea886364283e6a vlc-3.0.16.tar.xz +# From https://get.videolan.org/vlc/3.0.17.4/vlc-3.0.17.4.tar.xz.sha256 +sha256 8c5a62d88a4fb45c1b095cf10befef217dfa87aedcec5184b9e7d590b6dd4133 vlc-3.0.17.4.tar.xz +# From https://get.videolan.org/vlc/3.0.17.4/vlc-3.0.17.4.tar.xz.sha1 +sha1 ebcd9939103fda141267c5a8f1c603df4533218e vlc-3.0.17.4.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index b793e0efe0..aee3b735a9 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -4,7 +4,7 @@ # ################################################################################ -VLC_VERSION = 3.0.16 +VLC_VERSION = 3.0.17.4 VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION) VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz VLC_LICENSE = GPL-2.0+, LGPL-2.1+ -- 2.30.2 From bernd.kuhls at t-online.de Thu Apr 28 20:20:09 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 22:20:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/php: bump version to 8.0.18 Message-ID: <20220428202009.3273602-1-bernd.kuhls@t-online.de> Changelog: https://www.php.net/ChangeLog-8.php#8.0.18 Signed-off-by: Bernd Kuhls --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index 3d73e60f90..76501c0fdd 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 4e7d94bb3d144412cb8b2adeb599fb1c6c1d7b357b0d0d0478dc5ef53532ebc5 php-8.0.17.tar.xz +sha256 db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7 php-8.0.18.tar.xz # License file sha256 a188db807d711536f71e27b7d36879d63480f7994dc18adc08e624b3c5430fff LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index 6454d6fe87..adfbf3cad2 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.0.17 +PHP_VERSION = 8.0.18 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES -- 2.30.2 From bernd.kuhls at t-online.de Thu Apr 28 20:24:16 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 22:24:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.15.7 Message-ID: <20220428202416.3560203-1-bernd.kuhls@t-online.de> Release notes: https://www.samba.org/samba/history/samba-4.15.7.html Signed-off-by: Bernd Kuhls --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index 20e5f00b21..ac28c35614 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.15.6.tar.asc -sha256 0575b999a9048445820428dc540ba8a9527ce596fa66af02ea2ba1ea9578bcb4 samba-4.15.6.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.15.7.tar.asc +sha256 76d0096c16ed0265b337d5731f3c0b32eed3adab6fa8b7585c055b287cd05d6b samba-4.15.7.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 688aaac3eb..df3a7e58c8 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.15.6 +SAMBA4_VERSION = 4.15.7 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES -- 2.30.2 From fontaine.fabrice at gmail.com Thu Apr 28 20:40:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 28 Apr 2022 22:40:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libldns: fix build with libressl >= 3.5.0 Message-ID: <20220428204048.4003582-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: ./dnssec.c: In function 'ldns_key_buf2dsa_raw': ./dnssec.c:386:5: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'} 386 | dsa->p = P; | ^~ Fixes: - http://autobuild.buildroot.org/results/d754fbaa8f6687597682fbf0b71c16527c8cd603 Signed-off-by: Fabrice Fontaine --- ...se-accessors-for-DSA-and-RSA-objects.patch | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch diff --git a/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch new file mode 100644 index 0000000000..f7ebbbf8b2 --- /dev/null +++ b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch @@ -0,0 +1,96 @@ +From 887d618239312cc8c11e41c45492eee02a8f28a2 Mon Sep 17 00:00:00 2001 +From: Theo Buehler +Date: Tue, 11 Jan 2022 21:14:24 +0100 +Subject: [PATCH] Use accessors for DSA and RSA objects + +In the upcoming LibreSSL version 3.5, the DSA and RSA structs will +become opaque, so we should use the OpenSSL 1.1 setters and getters +to fix the build. The relevant API has been available since +LibreSSL 2.7. The last LibreSSL version (2.6) not having these +accessors was EOL late 2018, so no users should be affected by this +change. + +[Retrieved from: +https://github.com/NLnetLabs/ldns/commit/887d618239312cc8c11e41c45492eee02a8f28a2] +Signed-off-by: Fabrice Fontaine +--- + dnssec.c | 4 ++-- + host2str.c | 4 ++-- + keys.c | 6 +++--- + 3 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/dnssec.c b/dnssec.c +index 63fece52..fbaa518a 100644 +--- a/dnssec.c ++++ b/dnssec.c +@@ -381,7 +381,7 @@ ldns_key_buf2dsa_raw(const unsigned char* key, size_t len) + BN_free(Y); + return NULL; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + dsa->p = P; + dsa->q = Q; +@@ -468,7 +468,7 @@ ldns_key_buf2rsa_raw(const unsigned char* key, size_t len) + BN_free(modulus); + return NULL; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + rsa->n = modulus; + rsa->e = exponent; +diff --git a/host2str.c b/host2str.c +index a207a913..634c5676 100644 +--- a/host2str.c ++++ b/host2str.c +@@ -2451,7 +2451,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) + const BIGNUM *n=NULL, *e=NULL, *d=NULL, + *p=NULL, *q=NULL, *dmp1=NULL, + *dmq1=NULL, *iqmp=NULL; +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + n = rsa->n; + e = rsa->e; + d = rsa->d; +@@ -2504,7 +2504,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) + if(1) { + const BIGNUM *p=NULL, *q=NULL, *g=NULL, + *priv_key=NULL, *pub_key=NULL; +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + p = dsa->p; + q = dsa->q; +diff --git a/keys.c b/keys.c +index 91a3dffd..78bea972 100644 +--- a/keys.c ++++ b/keys.c +@@ -861,7 +861,7 @@ ldns_key_new_frm_fp_rsa_l(FILE *f, int *line_nr) + } + #endif /* splint */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + # ifndef S_SPLINT_S + rsa->n = n; + rsa->e = e; +@@ -982,7 +982,7 @@ ldns_key_new_frm_fp_dsa_l(FILE *f, ATTR_UNUSED(int *line_nr)) + } + #endif /* splint */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + # ifndef S_SPLINT_S + dsa->p = p; + dsa->q = q; +@@ -1660,7 +1660,7 @@ ldns_key_rsa2bin(unsigned char *data, RSA *k, uint16_t *size) + if (!k) { + return false; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + n = k->n; + e = k->e; + #else -- 2.35.1 From fontaine.fabrice at gmail.com Thu Apr 28 20:49:32 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 28 Apr 2022 22:49:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4843 Message-ID: <20220428204932.948797-1-fontaine.fabrice@gmail.com> Fix CVE-2022-1381: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution Signed-off-by: Fabrice Fontaine --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d55b1ea355..1cd0de9991 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz +sha256 f2755fca3b2f47052166dd601a38411b9adbeca0d43885194db8ada4d1a171a3 vim-8.2.4843.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 4eb659fd6e..be96a08d09 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4732 +VIM_VERSION = 8.2.4843 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 20:55:45 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 22:55:45 +0200 Subject: [Buildroot] [PATCH v3 2/4] boot/afboot-stm32: add patch fixing build issue with recent binutils In-Reply-To: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428205548.524402-2-thomas.petazzoni@bootlin.com> The afboot-stm32 build system was initially linking with gcc, but that was changed upstream following a Buildroot contribution to use ld instead. However, the build system was still passing -nostartfiles, which is a gcc option. By luck, this option was simply ignored by older versions of ld (such as binutils 2.32), but newer versions of ld (2.36 and newer, at least) no longer accept/ignore this option. This commit adds a patch that drops the use of this option, since it is useless for ld. The first patch is slightly updated because the upstream pull request has been updated to contain both build fixes. Signed-off-by: Thomas Petazzoni --- Changes since v2: - New patch, fixing a build issue spotted by Yann E. Morin --- ...fno-builtin-to-fix-build-with-gcc-10.patch | 6 +-- .../0002-Makefile-drop-nostartfiles.patch | 40 +++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch diff --git a/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch b/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch index 5ef47b59ff..aef283270e 100644 --- a/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch +++ b/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch @@ -1,4 +1,4 @@ -From 5448f328ff63a6ca4a64519c2f1dfc63a33df4b7 Mon Sep 17 00:00:00 2001 +From 9901603e18524c4c52fd1dd47bda4ab4016628fc Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 10 Sep 2020 11:37:33 +0200 Subject: [PATCH] Pass -fno-builtin to fix build with gcc 10 @@ -23,7 +23,7 @@ stm32f429i-disco.c:(.text.reset+0x1a): undefined reference to `memcpy' /home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: stm32f429i-disco.c:(.text.reset+0x34): undefined reference to `memset' make[1]: *** [Makefile:26: stm32f429i-disco] Error 1 -Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/9 +Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/11 Signed-off-by: Thomas Petazzoni --- Makefile | 1 + @@ -42,5 +42,5 @@ index f699176..1e8557d 100644 obj-y += gpio.o mpu.o qspi.o start_kernel.o -- -2.26.2 +2.35.1 diff --git a/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch b/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch new file mode 100644 index 0000000000..7e5a6430bc --- /dev/null +++ b/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch @@ -0,0 +1,40 @@ +From be760c062c5d05bd2223f3916afafd37120d3318 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Thu, 28 Apr 2022 22:47:09 +0200 +Subject: [PATCH] Makefile: drop -nostartfiles + +In commit 0f3e61c9dd48fd8b4248ce4672c044c2562e4de1 ("Use ld instead of +gcc for linking "), we started using ld instead of gcc for the link +step. This worked fine for a while, but recent versions of ld no +longer accept the -nostartfiles option, causing the build to break: + +Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?) + +In fact, -nostartfiles was passed to gcc prior to +0f3e61c9dd48fd8b4248ce4672c044c2562e4de1, but it is not a ld +option. It is only by luck that it was accepted and ignored by older +ld versions. Since this option is useless when calling ld directly, we +can simply drop it. + +Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/11 +Signed-off-by: Thomas Petazzoni +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 1e8557d..8f42be1 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,7 +14,7 @@ CFLAGS := -mthumb -mcpu=cortex-m4 + CFLAGS += -ffunction-sections -fdata-sections + CFLAGS += -Os -std=gnu99 -Wall + CFLAGS += -fno-builtin +-LINKERFLAGS := -nostartfiles --gc-sections ++LINKERFLAGS := --gc-sections + + obj-y += gpio.o mpu.o qspi.o start_kernel.o + obj-f4 += $(obj-y) usart-f4.o +-- +2.35.1 + -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 20:55:46 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 22:55:46 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/binutils: re-enable recent versions of binutils for FLAT binaries In-Reply-To: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428205548.524402-3-thomas.petazzoni@bootlin.com> Thanks to the bump of elf2flt to version 2021.08, the issue with recent versions of binutils has been fixed, so we can re-enable using the recent binutils versions. Signed-off-by: Thomas Petazzoni --- package/binutils/Config.in.host | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index e639c67149..4382b32237 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,21 +19,12 @@ config BR2_BINUTILS_VERSION_2_32_X config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_37_X bool "binutils 2.37" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_38_X bool "binutils 2.38" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 20:55:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 22:55:44 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/elf2flt: update to version 2021.08 Message-ID: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> It contains several fixes and improvements compared to our current version, and two of our patches have been accepted upstream. Most notably, it fixes the issue we had in using elf2flt with recent versions of binutils (upstream commit ba379d08bb78c9300e84351c11080c26ddcc36b3). Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d The other two patches are refreshed to apply properly on 2021.08. Signed-off-by: Thomas Petazzoni --- Changes since v1: - Drop patch numbering, as pointed by Baruch --- ...> 0001-elf2flt-handle-binutils-2.34.patch} | 78 ++++---- ...e-properly-when-called-with-a-name-d.patch | 79 -------- ...2-elf2flt-add-riscv-64-bits-support.patch} | 38 ++-- ...-add-new-relocation-types-for-xtensa.patch | 188 ------------------ package/elf2flt/elf2flt.hash | 2 +- package/elf2flt/elf2flt.mk | 4 +- 6 files changed, 57 insertions(+), 332 deletions(-) rename package/elf2flt/{0003-elf2flt-handle-binutils-2.34.patch => 0001-elf2flt-handle-binutils-2.34.patch} (89%) delete mode 100644 package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch rename package/elf2flt/{0004-elf2flt-add-riscv-64-bits-support.patch => 0002-elf2flt-add-riscv-64-bits-support.patch} (83%) delete mode 100644 package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch similarity index 89% rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch index 16d5633385..4aa473c244 100644 --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch @@ -1,4 +1,4 @@ -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 5 Feb 2020 10:31:32 +0100 Subject: [PATCH] elf2flt: handle binutils >= 2.34 @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/configure.ac b/configure.ac -index e82eb1d..cf7dea8 100644 +index b7db2cb..fdc0876 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 CFLAGS="-Wall $CFLAGS" if test "$werror" = 1 ; then diff --git a/elf2flt.c b/elf2flt.c -index b93aecd..3bcf4fe 100644 +index 7ac0617..ea6b5a1 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -149,6 +149,17 @@ const char *elf2flt_progname; @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 if (verbose) printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", -@@ -442,7 +451,7 @@ output_relocs ( +@@ -443,7 +452,7 @@ output_relocs ( continue; if (verbose) printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 if ((r->flags & SEC_RELOC) == 0) continue; relsize = bfd_get_reloc_upper_bound(rel_bfd, r); -@@ -694,7 +703,7 @@ output_relocs ( +@@ -695,7 +704,7 @@ output_relocs ( case R_BFIN_RIMM16: case R_BFIN_LUIMM16: case R_BFIN_HUIMM16: @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -727,7 +736,7 @@ output_relocs ( +@@ -728,7 +737,7 @@ output_relocs ( break; case R_BFIN_BYTE4_DATA: @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -885,7 +894,7 @@ output_relocs ( +@@ -886,7 +895,7 @@ output_relocs ( #if defined(TARGET_m68k) case R_68K_32: relocation_needed = 1; @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_68K_PC16: -@@ -910,7 +919,7 @@ output_relocs ( +@@ -911,7 +920,7 @@ output_relocs ( q->address, sym_addr, (*p)->howto->rightshift, *(uint32_t *)r_mem); @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_ARM_GOT32: -@@ -938,7 +947,7 @@ output_relocs ( +@@ -939,7 +948,7 @@ output_relocs ( #ifdef TARGET_v850 case R_V850_ABS32: relocation_needed = 1; @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_V850_ZDA_16_16_OFFSET: -@@ -960,7 +969,7 @@ output_relocs ( +@@ -961,7 +970,7 @@ output_relocs ( sym_addr = (*(q->sym_ptr_ptr))->value; q->address -= 1; r_mem -= 1; /* tracks q->address */ @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= (*(unsigned char *)r_mem<<24); break; -@@ -973,7 +982,7 @@ output_relocs ( +@@ -974,7 +983,7 @@ output_relocs ( /* Absolute symbol done not relocation */ relocation_needed = !bfd_is_abs_section(sym_section); sym_addr = (*(q->sym_ptr_ptr))->value; @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_DIR32: -@@ -986,7 +995,7 @@ output_relocs ( +@@ -987,7 +996,7 @@ output_relocs ( } relocation_needed = 1; sym_addr = (*(q->sym_ptr_ptr))->value; @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_PCREL16: -@@ -1012,7 +1021,7 @@ output_relocs ( +@@ -1013,7 +1022,7 @@ output_relocs ( #ifdef TARGET_microblaze case R_MICROBLAZE_64: /* work out the relocation */ @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* Write relocated pointer back */ r_mem[2] = (sym_addr >> 24) & 0xff; -@@ -1026,7 +1035,7 @@ output_relocs ( +@@ -1027,7 +1036,7 @@ output_relocs ( pflags = 0x80000000; break; case R_MICROBLAZE_32: @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; relocation_needed = 1; break; -@@ -1058,7 +1067,7 @@ output_relocs ( +@@ -1059,7 +1068,7 @@ output_relocs ( case R_NIOS2_BFD_RELOC_32: relocation_needed = 1; pflags = (FLAT_NIOS2_R_32 << 28); @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* modify target, in target order */ *(unsigned long *)r_mem = htoniosl(sym_addr); -@@ -1068,7 +1077,7 @@ output_relocs ( +@@ -1069,7 +1078,7 @@ output_relocs ( unsigned long exist_val; relocation_needed = 1; pflags = (FLAT_NIOS2_R_CALL26 << 28); - sym_vma = bfd_section_vma(abs_bfd, sym_section); + sym_vma = elf2flt_bfd_section_vma(sym_section); sym_addr += sym_vma + q->addend; - + /* modify target, in target order */ -@@ -1099,7 +1108,7 @@ output_relocs ( +@@ -1100,7 +1109,7 @@ output_relocs ( ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; pflags <<= 28; - + - sym_vma = bfd_section_vma(abs_bfd, sym_section); -+ sym_vma = elf2flt_bfd_section_vma(sym_section); ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); sym_addr += sym_vma + q->addend; /* modify high 16 bits, in target order */ -@@ -1132,7 +1141,7 @@ output_relocs ( +@@ -1133,7 +1142,7 @@ output_relocs ( goto NIOS2_RELOC_ERR; } /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); sym_addr += sym_vma + q->addend; sym_addr -= gp; -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: case R_SPARC_32: case R_SPARC_UA32: relocation_needed = 1; @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SPARC_PC22: -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: case R_SPARC_HI22: relocation_needed = 1; pflags = 0x80000000; @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= ( htonl(*(uint32_t *)r_mem) -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: case R_SPARC_LO10: relocation_needed = 1; pflags = 0x40000000; @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr &= 0x000003ff; sym_addr |= ( -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: #ifdef TARGET_sh case R_SH_DIR32: relocation_needed = 1; @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SH_REL32: -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: case R_E1_CONST31: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: DBG_E1("Handling Reloc \n"); DIS29_RELOCATION: relocation_needed = 1; @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: case R_E1_IMM32: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: case R_E1_WORD: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: } sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 /* -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) } else continue; @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 if (sec_vma < *vma) { if (*len > 0) -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_CODE) +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) + (SEC_DATA | SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, text + (s->vma - text_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 { fatal("read error section %s", s->name); } -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_DATA) +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) + (SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, data + (s->vma - data_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 fatal("read error section %s", s->name); } -- -2.25.4 +2.35.1 diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch deleted file mode 100644 index a27c4913fb..0000000000 --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 13 Aug 2017 16:03:20 +0200 -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different - from TARGET_ALIAS - -ld-elf2flt currently handles two cases: - - 1 It is called as the wrapper for -ld, generally - installed in the bin/ directory of a toolchain. - - 2 It is called as the wrapper for "ld", generally installed in the - TARGET_ALIAS/bin/ directory of a toolchain. - -Unfortunately, if for some reason it gets called using a FOOBAR-ld -name that is different from -ld, it assumes it is in -case (2), while it really is in case (1). Due to this, the path -mangling logic doesn't work, and it doesn't find ld.real. - -This happens for example when the binary program in bin/ is named -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink -named arm-linux-ld. In this case, -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as -containing TARGET_ALIAS, and therefore the proper logic to find -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt -doesn't find TARGET_ALIAS, and therefore assumes we're being called as -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in -bin/, which doesn't exist. - -See: - -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -$ ./output/host/bin/arm-linux-ld -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory - -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -This commit fixes that by inverting the logic: if we're being called -as just "ld", then we assume it's the program in -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of -TARGET-ld. - -Signed-off-by: Thomas Petazzoni -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 ---- - ld-elf2flt.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index de39fe0..c187c2e 100644 ---- a/ld-elf2flt.c -+++ b/ld-elf2flt.c -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) - the host while those in /lib are for the target. - Make bindir point to the bin dir for bin/-foo. - Make tooldir point to the bin dir for /bin/foo. */ -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); -+ if (streqn(elf2flt_progname, "ld")) { -+ tmp = concat(argv0_dir, "../../bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- tooldir = concat(tmp, "/", NULL); -+ bindir = concat(tmp, "/", NULL); - } - } else { -- tmp = concat(argv0_dir, "../../bin", NULL); -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- bindir = concat(tmp, "/", NULL); -+ tooldir = concat(tmp, "/", NULL); - } - } - --- -2.9.4 - diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch similarity index 83% rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch index 4b00758446..c530bc020d 100644 --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch @@ -1,4 +1,4 @@ -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Wed, 9 Sep 2020 17:31:33 +0900 Subject: [PATCH] elf2flt: add riscv 64-bits support @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . Signed-off-by: Damien Le Moal --- elf2flt.c | 23 +++++++++++++++++++++++ - elf2flt.ld.in | 9 +++++---- + elf2flt.ld.in | 1 + ld-elf2flt.c | 16 ++++++++++++++++ - 3 files changed, 44 insertions(+), 4 deletions(-) + 3 files changed, 40 insertions(+) diff --git a/elf2flt.c b/elf2flt.c -index f87f1fc..dbce467 100644 +index ea6b5a1..7100c20 100644 --- a/elf2flt.c +++ b/elf2flt.c -@@ -80,6 +80,8 @@ const char *elf2flt_progname; +@@ -81,6 +81,8 @@ const char *elf2flt_progname; #include #elif defined(TARGET_xtensa) #include @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 #endif #if defined(__MINGW32__) -@@ -122,6 +124,8 @@ const char *elf2flt_progname; +@@ -123,6 +125,8 @@ const char *elf2flt_progname; #define ARCH "nios2" #elif defined(TARGET_xtensa) #define ARCH "xtensa" @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 #else #error "Don't know how to support your CPU architecture??" #endif -@@ -797,6 +801,16 @@ output_relocs ( +@@ -821,6 +825,16 @@ output_relocs ( goto good_32bit_resolved_reloc; default: goto bad_resolved_reloc; @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 #else default: /* The default is to assume that the -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) if (!load_to_ram && !pfile) load_to_ram = 1; @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 if (pfile) { diff --git a/elf2flt.ld.in b/elf2flt.ld.in -index ec1fe6f..c0c44b8 100644 +index 0df999d..f1eed1f 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) . = ALIGN(0x20) ; LONG(-1) . = ALIGN(0x20) ; --R_RODAT *(.rodata) --R_RODAT *(.rodata1) --R_RODAT *(.rodata.*) --R_RODAT *(.gnu.linkonce.r*) +RISCV_GP: __global_pointer$ = . + 0x800 ; -+R_RODAT *(.rodata) -+R_RODAT *(.rodata1) -+R_RODAT *(.rodata.*) -+R_RODAT *(.gnu.linkonce.r*) - *(.data) - *(.data1) - *(.data.*) + R_RODAT: *(.rodata) + R_RODAT: *(.rodata1) + R_RODAT: *(.rodata.*) diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index e5de506..31b565f 100644 +index 7cb02d5..1a503dd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -324,6 +324,22 @@ static int do_final_link(void) @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 if (!linker_script) linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); -- -2.31.1 +2.35.1 diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch deleted file mode 100644 index 953bd79ccf..0000000000 --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch +++ /dev/null @@ -1,188 +0,0 @@ -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 7 May 2020 21:11:43 -0700 -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa - -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. -Add them to the list of ignored relocation types. - -This fixes the following error when invoking elf2flt on xtensa binaries -built with the recent binutils: - - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context - -Reported-by: Romain Naour -Signed-off-by: Max Filippov -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d ---- - Makefile.in | 3 ++- - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 14 ++++++++++++ - elf2flt.c | 8 +++++++ - 4 files changed, 88 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 52b3347d7f43..0529c7f0a25a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ - -DNO_GOT_CHECK=@got_check@ \ - -DUSE_EMIT_RELOCS=@emit_relocs@ \ - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ - EXEEXT = @EXEEXT@ - OBJEXT = @OBJEXT@ - -diff --git a/configure b/configure -index bb8e33f9cb28..bca38c34247e 100755 ---- a/configure -+++ b/configure -@@ -621,6 +621,7 @@ ac_includes_default="\ - - ac_subst_vars='LTLIBOBJS - LIBOBJS -+HAVE_BFD_XTENSA_PDIFF_RELOCS - SYMBOL_PREFIX - always_reloc_text - emit_ctor_dtor -@@ -1729,6 +1730,52 @@ fi - - } # ac_fn_c_try_link - -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+ - # ac_fn_c_check_func LINENO FUNC VAR - # ---------------------------------- - # Tests whether FUNC exists, setting the cache variable VAR accordingly -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h - fi - - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ OLD_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" -+ #include \"elf/xtensa.h\" -+" -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 -+fi -+ -+ CPPFLAGS=$OLD_CPPFLAGS -+ ;; -+esac -+ - for ac_func in vprintf - do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -@@ -4333,6 +4396,7 @@ fi - - - -+ - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" - - cat >confcache <<\_ACEOF -diff --git a/configure.ac b/configure.ac -index d6b4119eb18a..19969b1045f6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, -+ [#include "bfd.h" -+ #include "elf/xtensa.h"]) -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) -+ ;; -+esac -+ - dnl Checks for library functions. - AC_FUNC_VPRINTF - -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) - AC_SUBST(emit_ctor_dtor) - AC_SUBST(always_reloc_text) - AC_SUBST(SYMBOL_PREFIX) -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) - - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) - -diff --git a/elf2flt.c b/elf2flt.c -index b7c4a490df02..961534973f56 100644 ---- a/elf2flt.c -+++ b/elf2flt.c -@@ -776,6 +776,14 @@ output_relocs ( - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: -+#endif - case R_XTENSA_32_PCREL: - continue; - case R_XTENSA_32: --- -2.20.1 - diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash index c4b0697fcd..c576f65cdb 100644 --- a/package/elf2flt/elf2flt.hash +++ b/package/elf2flt/elf2flt.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk index 3239af1b9a..11cacaf9e0 100644 --- a/package/elf2flt/elf2flt.mk +++ b/package/elf2flt/elf2flt.mk @@ -4,8 +4,8 @@ # ################################################################################ -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) +ELF2FLT_VERSION = 2021.08 +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) ELF2FLT_LICENSE = GPL-2.0+ ELF2FLT_LICENSE_FILES = LICENSE.TXT -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 20:55:47 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 22:55:47 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/binutils: drop version 2.32 In-Reply-To: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428205548.524402-4-thomas.petazzoni@bootlin.com> Now that recent versions of binutils work with FLAT binaries, we can drop the old 2.32 version, which was kept only to keep support FLAT binaries. Signed-off-by: Thomas Petazzoni --- Changes since v1: - Drop binutils 2.32 hash in binutils.hash --- Config.in.legacy | 6 + package/binutils/2.32/0001-sh-conf.patch | 48 -- .../2.32/0002-poison-system-directories.patch | 306 ----------- ...hrink_dynamic_reloc_sections-for-exp.patch | 41 -- ...s-const16-for-xtensa-loop-relaxation.patch | 294 ---------- ...t-.literal_position-at-section-start.patch | 96 ---- ...ct-value-in-PLT-GOT-entries-causing-.patch | 46 -- .../0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 --------------- ...TENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ----- ...ith-plt-link-failure-for-local-calls.patch | 59 --- ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 --------- ...K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...ge-plt_relocs-when-generating-plt-en.patch | 500 ------------------ ...or1k-fix-building-with-gcc-version-5.patch | 50 -- ...tive-relocation-against-dynamic-on-P.patch | 59 --- ...K_GOT16-signed-overflow-by-using-spe.patch | 75 --- package/binutils/Config.in.host | 5 - package/binutils/binutils.hash | 1 - 19 files changed, 6 insertions(+), 2494 deletions(-) delete mode 100644 package/binutils/2.32/0001-sh-conf.patch delete mode 100644 package/binutils/2.32/0002-poison-system-directories.patch delete mode 100644 package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch delete mode 100644 package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch delete mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch delete mode 100644 package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch delete mode 100644 package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch delete mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch delete mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch delete mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch delete mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch delete mode 100644 package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch delete mode 100644 package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch delete mode 100644 package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch diff --git a/Config.in.legacy b/Config.in.legacy index 387653f45d..6d2c82ab7f 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.05" +config BR2_BINUTILS_VERSION_2_32_X + bool "binutils 2.32.x has been removed" + select BR2_LEGACY + help + binutils 2.32 has been removed, use a newer version. + config BR2_sh2a bool "sh2a architecture support removed" select BR2_LEGACY diff --git a/package/binutils/2.32/0001-sh-conf.patch b/package/binutils/2.32/0001-sh-conf.patch deleted file mode 100644 index fff91ae35c..0000000000 --- a/package/binutils/2.32/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 98b2acf2bd3a527d114a9f8931083c2617a2daa9 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 37476459612..66fbc19f9ff 100755 ---- a/configure -+++ b/configure -@@ -3861,7 +3861,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index 46501c28826..6c731930884 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1158,7 +1158,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.14.5 - diff --git a/package/binutils/2.32/0002-poison-system-directories.patch b/package/binutils/2.32/0002-poison-system-directories.patch deleted file mode 100644 index 98f41e87f3..0000000000 --- a/package/binutils/2.32/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From f559402ea868d370ddf25089c68cda2600db3bfa Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index d93c9b08300..5da2742beac 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -31,6 +31,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index 18ada7808f5..7e7d2f97809 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -822,6 +822,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1486,6 +1487,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15803,7 +15806,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index d335f210917..7f692d93873 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index b97d977f37b..f3bbd2d55d4 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -180,6 +180,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index 5179af3e0e1..f78bf746822 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2524,6 +2524,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+ at kindex --no-poison-system-directories -+ at item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+ at file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+ at kindex --error-poison-system-directories -+ at item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index fcadc08c73f..63e295ce8ae 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 32853debe45..8135361c498 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -148,6 +148,8 @@ enum option_values - OPTION_REQUIRE_DEFINED_SYMBOL, - OPTION_ORPHAN_HANDLING, - OPTION_FORCE_GROUP_ALLOCATION, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index 77cdbd0dd29..725512f1260 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -269,6 +269,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 88e85c73f49..be4cd492d14 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = - { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, - '\0', N_("=MODE"), N_("Control how orphan sections are handled."), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -555,6 +563,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1543,6 +1552,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1586,6 +1603,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - lang_leave_group (); --- -2.14.5 - diff --git a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch deleted file mode 100644 index b80e1fa7ce..0000000000 --- a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 278989f23735aa501be1052e085540c75c126dbb Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 28 Mar 2019 17:03:57 -0700 -Subject: [PATCH] bfd: xtensa: fix shrink_dynamic_reloc_sections for - export-dynamic - -shrink_dynamic_reloc_sections must remove PLT entry that was created for -an undefined weak symbol in the presence of --export-dynamic option when -relaxation coalesces literals pointing to that symbol. This fixes the -following assertion: - - ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at - elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections - -2019-03-28 Max Filippov -bfd/ - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add - info->export_dynamic to the conditional. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index c3df3d6db756..37ea200eea74 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10083,7 +10083,8 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - && (input_section->flags & SEC_ALLOC) != 0 - && (dynamic_symbol || bfd_link_pic (info)) - && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol && bfd_link_dll (info)))) -+ || (dynamic_symbol -+ && (bfd_link_dll (info) || info->export_dynamic)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.11.0 - diff --git a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch deleted file mode 100644 index ed617bcaf7..0000000000 --- a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch +++ /dev/null @@ -1,294 +0,0 @@ -From 0dbdfb7918d0b0cfcb8883b24c1291574bf5bb7c Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Tue, 2 Apr 2019 14:32:42 -0700 -Subject: [PATCH] gas: use literals/const16 for xtensa loop relaxation - -Loop opcode relaxation that uses addi/addmi doesn't work well with other -relaxations that may cause code movement. Instead of encoding fixed loop -end offset in the relaxed sequence use l32r or a pair of const16 to load -loop end address. This way the address of the loop end gets a relocation -record and it gets updated appropriately. - -gas/ -2019-04-02 Max Filippov - - * config/tc-xtensa.c (convert_frag_immed): Drop - convert_frag_immed_finish_loop invocation. - (convert_frag_immed_finish_loop): Drop declaration and - definition. - * config/xtensa-relax.c (widen_spec_list): Replace loop - widening that uses addi/addmi with widening that uses l32r - and const16. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 120 ---------------------------------------------- - gas/config/xtensa-relax.c | 77 ++++++++++++++++++++--------- - 2 files changed, 55 insertions(+), 142 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 3bdbbc931cfc..0cc06361cf6f 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -10668,7 +10668,6 @@ convert_frag_fill_nop (fragS *fragP) - static fixS *fix_new_exp_in_seg - (segT, subsegT, fragS *, int, int, expressionS *, int, - bfd_reloc_code_real_type); --static void convert_frag_immed_finish_loop (segT, fragS *, TInsn *); - - static void - convert_frag_immed (segT segP, -@@ -10910,9 +10909,6 @@ convert_frag_immed (segT segP, - } - } - -- if (expanded && xtensa_opcode_is_loop (isa, orig_tinsn.opcode) == 1) -- convert_frag_immed_finish_loop (segP, fragP, &orig_tinsn); -- - if (expanded && is_direct_call_opcode (orig_tinsn.opcode)) - { - /* Add an expansion note on the expanded instruction. */ -@@ -10949,122 +10945,6 @@ fix_new_exp_in_seg (segT new_seg, - } - - --/* Relax a loop instruction so that it can span loop >256 bytes. -- -- loop as, .L1 -- .L0: -- rsr as, LEND -- wsr as, LBEG -- addi as, as, lo8 (label-.L1) -- addmi as, as, mid8 (label-.L1) -- wsr as, LEND -- isync -- rsr as, LCOUNT -- addi as, as, 1 -- .L1: -- <> -- label: --*/ -- --static void --convert_frag_immed_finish_loop (segT segP, fragS *fragP, TInsn *tinsn) --{ -- TInsn loop_insn; -- TInsn addi_insn; -- TInsn addmi_insn; -- unsigned long target; -- static xtensa_insnbuf insnbuf = NULL; -- unsigned int loop_length, loop_length_hi, loop_length_lo; -- xtensa_isa isa = xtensa_default_isa; -- addressT loop_offset; -- addressT addi_offset = 9; -- addressT addmi_offset = 12; -- fragS *next_fragP; -- int target_count; -- -- if (!insnbuf) -- insnbuf = xtensa_insnbuf_alloc (isa); -- -- /* Get the loop offset. */ -- loop_offset = get_expanded_loop_offset (tinsn->opcode); -- -- /* Validate that there really is a LOOP at the loop_offset. Because -- loops are not bundleable, we can assume that the instruction will be -- in slot 0. */ -- tinsn_from_chars (&loop_insn, fragP->fr_opcode + loop_offset, 0); -- tinsn_immed_from_frag (&loop_insn, fragP, 0); -- -- gas_assert (xtensa_opcode_is_loop (isa, loop_insn.opcode) == 1); -- addi_offset += loop_offset; -- addmi_offset += loop_offset; -- -- gas_assert (tinsn->ntok == 2); -- if (tinsn->tok[1].X_op == O_constant) -- target = tinsn->tok[1].X_add_number; -- else if (tinsn->tok[1].X_op == O_symbol) -- { -- /* Find the fragment. */ -- symbolS *sym = tinsn->tok[1].X_add_symbol; -- gas_assert (S_GET_SEGMENT (sym) == segP -- || S_GET_SEGMENT (sym) == absolute_section); -- target = (S_GET_VALUE (sym) + tinsn->tok[1].X_add_number); -- } -- else -- { -- as_bad (_("invalid expression evaluation type %d"), tinsn->tok[1].X_op); -- target = 0; -- } -- -- loop_length = target - (fragP->fr_address + fragP->fr_fix); -- loop_length_hi = loop_length & ~0x0ff; -- loop_length_lo = loop_length & 0x0ff; -- if (loop_length_lo >= 128) -- { -- loop_length_lo -= 256; -- loop_length_hi += 256; -- } -- -- /* Because addmi sign-extends the immediate, 'loop_length_hi' can be at most -- 32512. If the loop is larger than that, then we just fail. */ -- if (loop_length_hi > 32512) -- as_bad_where (fragP->fr_file, fragP->fr_line, -- _("loop too long for LOOP instruction")); -- -- tinsn_from_chars (&addi_insn, fragP->fr_opcode + addi_offset, 0); -- gas_assert (addi_insn.opcode == xtensa_addi_opcode); -- -- tinsn_from_chars (&addmi_insn, fragP->fr_opcode + addmi_offset, 0); -- gas_assert (addmi_insn.opcode == xtensa_addmi_opcode); -- -- set_expr_const (&addi_insn.tok[2], loop_length_lo); -- tinsn_to_insnbuf (&addi_insn, insnbuf); -- -- fragP->tc_frag_data.is_insn = TRUE; -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addi_offset, 0); -- -- set_expr_const (&addmi_insn.tok[2], loop_length_hi); -- tinsn_to_insnbuf (&addmi_insn, insnbuf); -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addmi_offset, 0); -- -- /* Walk through all of the frags from here to the loop end -- and mark them as no_transform to keep them from being modified -- by the linker. If we ever have a relocation for the -- addi/addmi of the difference of two symbols we can remove this. */ -- -- target_count = 0; -- for (next_fragP = fragP; next_fragP != NULL; -- next_fragP = next_fragP->fr_next) -- { -- next_fragP->tc_frag_data.is_no_transform = TRUE; -- if (next_fragP->tc_frag_data.is_loop_target) -- target_count++; -- if (target_count == 2) -- break; -- } --} -- - - /* A map that keeps information on a per-subsegment basis. This is - maintained during initial assembly, but is invalid once the -diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c -index cb296ed85ed2..daf15d52c259 100644 ---- a/gas/config/xtensa-relax.c -+++ b/gas/config/xtensa-relax.c -@@ -87,13 +87,7 @@ - when the first and second operands are not the same as specified - by the "| %at!=%as" precondition clause. - {"l32i %at,%as,%imm | %at!=%as", -- "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} -- -- There is special case for loop instructions here, but because we do -- not currently have the ability to represent the difference of two -- symbols, the conversion requires special code in the assembler to -- write the operands of the addi/addmi pair representing the -- difference of the old and new loop end label. */ -+ "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} */ - - #include "as.h" - #include "xtensa-isa.h" -@@ -306,44 +300,83 @@ static string_pattern_pair widen_spec_list[] = - {"l32i %at,%as,%imm | %at!=%as ? IsaUseConst16", - "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm); add %at,%at,%as; l32i %at,%at,0"}, - -- /* This is only PART of the loop instruction. In addition, -- hardcoded into its use is a modification of the final operand in -- the instruction in bytes 9 and 12. */ -- {"loop %as,%label | %as!=1 ? IsaUseLoops", -+ /* Widening loops with literals. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "loop %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "bltz %as,%label;" -+ "loopgtz %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "loopnez %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ -+ /* Widening loops with const16. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "loop %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopgtz %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "bltz %as,%label;" - "loopgtz %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopnez %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "loopnez %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, - - /* Relaxing to wide branches. Order is important here. With wide --- -2.11.0 - diff --git a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch deleted file mode 100644 index b4bbc27b37..0000000000 --- a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 471702ac4a57878a06e8167f063274cf413e548d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Mon, 8 Apr 2019 13:47:18 -0700 -Subject: [PATCH] xtensa: gas: put .literal_position at section start - -Provide literal position at the beginning of each section for literal -space reserved by relaxations when text-section-literals or -auto-litpools options are used. Remove code that adds fill frag to the -literal section for every .literal_position directive to avoid creation -of empty literal sections. - -Fix auto-litpools tests that got literal pool address changes. - -gas/ -2019-04-11 Max Filippov - - * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. - (xtensa_mark_literal_pool_location): Don't add fill frag to literal - section that records literal pool location. - (md_begin): Call xtensa_mark_literal_pool_location when text - section literals or auto litpools are used. - (xtensa_elf_section_change_hook): Call - xtensa_mark_literal_pool_location when text section literals or - auto litpools are used, there's no literal pool location defined - for the current section and it's not .init or .fini. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 22 +++++++++------------- - 1 file changed, 9 insertions(+), 13 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 0cc06361cf6f..6a80e76fed8c 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -497,6 +497,7 @@ static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset); - static void xtensa_maybe_create_literal_pool_frag (bfd_boolean, bfd_boolean); - static bfd_boolean auto_litpools = FALSE; - static int auto_litpool_limit = 0; -+static bfd_boolean xtensa_is_init_fini (segT seg); - - /* Alignment Functions. */ - -@@ -4797,7 +4798,6 @@ xtensa_mark_literal_pool_location (void) - { - /* Any labels pointing to the current location need - to be adjusted to after the literal pool. */ -- emit_state s; - fragS *pool_location; - - if (use_literal_section) -@@ -4818,19 +4818,7 @@ xtensa_mark_literal_pool_location (void) - RELAX_LITERAL_POOL_END, NULL, 0, NULL); - xtensa_set_frag_assembly_state (frag_now); - -- /* Now put a frag into the literal pool that points to this location. */ - set_literal_pool_location (now_seg, pool_location); -- xtensa_switch_to_non_abs_literal_fragment (&s); -- frag_align (2, 0, 0); -- record_alignment (now_seg, 2); -- -- /* Close whatever frag is there. */ -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_set_frag_assembly_state (frag_now); -- frag_now->tc_frag_data.literal_frag = pool_location; -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_restore_emit_state (&s); -- xtensa_set_frag_assembly_state (frag_now); - } - - -@@ -5334,6 +5322,9 @@ md_begin (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section) -+ xtensa_mark_literal_pool_location (); - } - - -@@ -5933,6 +5924,11 @@ xtensa_elf_section_change_hook (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section -+ && seg_info (now_seg)->tc_segment_info_data.literal_pool_loc == NULL -+ && !xtensa_is_init_fini (now_seg)) -+ xtensa_mark_literal_pool_location (); - } - - --- -2.11.0 - diff --git a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch deleted file mode 100644 index 8527b66733..0000000000 --- a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch +++ /dev/null @@ -1,46 +0,0 @@ -From b17678f639f953d687d96cd52690e7cbfae50f91 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Fri, 23 Aug 2019 22:25:55 +0900 -Subject: [PATCH] or1k: Fix incorrect value in PLT GOT entries, causing - infinite loop - -The PLT GOT entry should point to the first PLT entry which contains the -runtime linker function. It was pointing back to the symbol PLT entry -causing an infinite loop. - -I found this when testing the OpenRISC glibc port which uses the runtime -dynamic linker. It seems other libc's we use so far have not been -making use of the initial PLT GOT entries. - -bfd/ChangeLog: - - * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for - PLT GOT entries. - -(cherry picked from commit 09f7b0de537d465fc8ed9f9433e348c1bc78aab2) -Signed-off-by: Romain Naour ---- - bfd/elf32-or1k.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..32839cfa7b6 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2379,8 +2379,11 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, - plt0, plt1, plt2, OR1K_JR(12)); - -- /* Fill in the entry in the global offset table. */ -- bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -+ /* Fill in the entry in the global offset table. We initialize it to -+ point to the top of the plt. This is done to lazy lookup the actual -+ symbol as the first plt entry will be setup by libc to call the -+ runtime dynamic linker. */ -+ bfd_put_32 (output_bfd, plt_base_addr, sgot->contents + got_offset); - - /* Fill in the entry in the .rela.plt section. */ - rela.r_offset = got_addr; --- -2.23.0 - diff --git a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch deleted file mode 100644 index f499426b70..0000000000 --- a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 85dcca5997cf3822d6456a5c9c59c46b56adfbb8 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Wed, 4 Mar 2020 14:54:27 -0800 -Subject: [PATCH] bfd: xtensa: fix PR ld/25630 - -bfd/ -2020-03-05 Max Filippov - - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic - relocation sections for any removed reference to a dynamic symbol. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 12ff9f772aaf..65e14d87940c 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - - if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) - && (input_section->flags & SEC_ALLOC) != 0 -- && (dynamic_symbol || bfd_link_pic (info)) -- && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol -- && (bfd_link_dll (info) || info->export_dynamic)))) -+ && (dynamic_symbol -+ || (bfd_link_pic (info) -+ && (!h || h->root.type != bfd_link_hash_undefweak)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.20.1 - diff --git a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch deleted file mode 100644 index 2df46c6526..0000000000 --- a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch +++ /dev/null @@ -1,432 +0,0 @@ -From c7a1d1f656c717394937a92cb970f0f4cecce128 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sun, 19 Apr 2020 19:04:41 -0700 -Subject: [PATCH] xtensa: fix PR ld/25861 - -Introduce new relaxations XTENSA_PDIFF{8,16,32} for positive differences -(subtracted symbol precedes diminished symbol) and XTENSA_NDIFF{8,16,32} -for negative differences (subtracted symbol follows diminished symbol). -Don't generate XTENSA_DIFF relocations in the assembler, generate -XTENSA_PDIFF or XTENSA_NDIFF based on relative symbol position. - -Handle XTENSA_DIFF in BFD for compatibility with old object files. -Handle XTENSA_PDIFF and XTENSA_NDIFF in BFD, treating difference value -as unsigned. - -2020-04-22 Max Filippov -bfd/ - * bfd-in2.h: Regenerated. - * elf32-xtensa.c (elf_howto_table): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - (elf_xtensa_reloc_type_lookup, elf_xtensa_do_reloc) - (relax_section): Add cases for R_XTENSA_PDIFF{8,16,32} and - R_XTENSA_NDIFF{8,16,32}. - * libbfd.h (bfd_reloc_code_real_names): Add names for - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - * reloc.c: Add documentation for BFD_RELOC_XTENSA_PDIFF{8,16,32} - and BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -binutils/ - * readelf.c (is_none_reloc): Recognize - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -gas/ - * config/tc-xtensa.c (md_apply_fix): Replace - BFD_RELOC_XTENSA_DIFF{8,16,32} generation with - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. - * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 - with BFD_RELOC_XTENSA_PDIFF16 in the expected output. - -include/ - * elf/xtensa.h (elf_xtensa_reloc_type): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - -ld/ - * testsuite/ld-xtensa/relax-loc.d: New test definition. - * testsuite/ld-xtensa/relax-loc.s: New test source. - * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test. - -Signed-off-by: Max Filippov ---- -Backported from: 30ce8e47fad9b057b6d7af9e1d43061126d34d20 - - bfd/bfd-in2.h | 20 ++++++- - bfd/elf32-xtensa.c | 89 +++++++++++++++++++++++++++++- - bfd/libbfd.h | 6 ++ - bfd/reloc.c | 24 ++++++++ - binutils/readelf.c | 8 ++- - gas/config/tc-xtensa.c | 12 +++- - gas/testsuite/gas/xtensa/loc.d | 2 +- - include/elf/xtensa.h | 6 ++ - ld/testsuite/ld-xtensa/relax-loc.d | 7 +++ - ld/testsuite/ld-xtensa/relax-loc.s | 15 +++++ - ld/testsuite/ld-xtensa/xtensa.exp | 1 + - 11 files changed, 183 insertions(+), 7 deletions(-) - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.d - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.s - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index 37114607b515..be6a30f57955 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5217,7 +5217,9 @@ to one of its own internal functions or data structures. */ - PLT entries. Otherwise, this is just a generic 32-bit relocation. */ - BFD_RELOC_XTENSA_PLT, - --/* Xtensa relocations to mark the difference of two local symbols. -+/* Xtensa relocations for backward compatibility. These have been replaced -+by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. -+Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference - assuming no relaxation. The relocation encodes the position of the -@@ -5291,6 +5293,22 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ - BFD_RELOC_XTENSA_TLS_ARG, - BFD_RELOC_XTENSA_TLS_CALL, - -+/* Xtensa relocations to mark the difference of two local symbols. -+These are only needed to support linker relaxation and can be ignored -+when not relaxing. The field is set to the value of the difference -+assuming no relaxation. The relocation encodes the position of the -+subtracted symbol so the linker can determine whether to adjust the field -+value. PDIFF relocations are used for positive differences, NDIFF -+relocations are used for negative differences. The difference value -+is treated as unsigned with these relocation types, giving full -+8/16 value ranges. */ -+ BFD_RELOC_XTENSA_PDIFF8, -+ BFD_RELOC_XTENSA_PDIFF16, -+ BFD_RELOC_XTENSA_PDIFF32, -+ BFD_RELOC_XTENSA_NDIFF8, -+ BFD_RELOC_XTENSA_NDIFF16, -+ BFD_RELOC_XTENSA_NDIFF32, -+ - /* 8 bit signed offset in (ix+d) or (iy+d). */ - BFD_RELOC_Z80_DISP8, - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 473a9d76f289..fded42d52a9a 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -325,6 +325,20 @@ static reloc_howto_type elf_howto_table[] = - HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, FALSE, 0, complain_overflow_dont, - bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", - FALSE, 0, 0, FALSE), -+ -+ HOWTO (R_XTENSA_PDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_PDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_PDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF32", FALSE, 0, 0xffffffff, FALSE), -+ -+ HOWTO (R_XTENSA_NDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_NDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_NDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF32", FALSE, 0, 0xffffffff, FALSE), - }; - - #if DEBUG_GEN_RELOC -@@ -364,6 +378,30 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, - TRACE ("BFD_RELOC_XTENSA_DIFF32"); - return &elf_howto_table[(unsigned) R_XTENSA_DIFF32 ]; - -+ case BFD_RELOC_XTENSA_PDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF32 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF32 ]; -+ - case BFD_RELOC_XTENSA_RTLD: - TRACE ("BFD_RELOC_XTENSA_RTLD"); - return &elf_howto_table[(unsigned) R_XTENSA_RTLD ]; -@@ -1851,6 +1889,12 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: - case R_XTENSA_TLS_FUNC: - case R_XTENSA_TLS_ARG: - case R_XTENSA_TLS_CALL: -@@ -9604,7 +9648,13 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - - if (r_type == R_XTENSA_DIFF8 - || r_type == R_XTENSA_DIFF16 -- || r_type == R_XTENSA_DIFF32) -+ || r_type == R_XTENSA_DIFF32 -+ || r_type == R_XTENSA_PDIFF8 -+ || r_type == R_XTENSA_PDIFF16 -+ || r_type == R_XTENSA_PDIFF32 -+ || r_type == R_XTENSA_NDIFF8 -+ || r_type == R_XTENSA_NDIFF16 -+ || r_type == R_XTENSA_NDIFF32) - { - bfd_signed_vma diff_value = 0; - bfd_vma new_end_offset, diff_mask = 0; -@@ -9631,8 +9681,27 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_value = -+ bfd_get_8 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_value = -+ bfd_get_16 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_value = -+ bfd_get_32 (abfd, &contents[old_source_offset]); -+ break; - } - -+ if (r_type >= R_XTENSA_NDIFF8 -+ && r_type <= R_XTENSA_NDIFF32) -+ diff_value = -diff_value; -+ - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, - r_rel.target_offset + diff_value); -@@ -9655,6 +9724,24 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; -+ bfd_put_8 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; -+ bfd_put_16 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; -+ bfd_put_32 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; - } - - /* Check for overflow. Sign bits must be all zeroes or all ones */ -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 3c184fcadadf..989f4bc0b595 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2919,6 +2919,12 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_XTENSA_TLS_FUNC", - "BFD_RELOC_XTENSA_TLS_ARG", - "BFD_RELOC_XTENSA_TLS_CALL", -+ "BFD_RELOC_XTENSA_PDIFF8", -+ "BFD_RELOC_XTENSA_PDIFF16", -+ "BFD_RELOC_XTENSA_PDIFF32", -+ "BFD_RELOC_XTENSA_NDIFF8", -+ "BFD_RELOC_XTENSA_NDIFF16", -+ "BFD_RELOC_XTENSA_NDIFF32", - "BFD_RELOC_Z80_DISP8", - "BFD_RELOC_Z80_BYTE0", - "BFD_RELOC_Z80_BYTE1", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index c4dec86d1d46..f5df8e2ab3eb 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6556,6 +6556,8 @@ ENUMX - ENUMX - BFD_RELOC_XTENSA_DIFF32 - ENUMDOC -+ Xtensa relocations for backward compatibility. These have been replaced -+ by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. - Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference -@@ -6668,6 +6670,28 @@ ENUMX - BFD_RELOC_XTENSA_TLS_CALL - ENUMDOC - Xtensa TLS relocations. -+ENUM -+ BFD_RELOC_XTENSA_PDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF32 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF32 -+ENUMDOC -+ Xtensa relocations to mark the difference of two local symbols. -+ These are only needed to support linker relaxation and can be ignored -+ when not relaxing. The field is set to the value of the difference -+ assuming no relaxation. The relocation encodes the position of the -+ subtracted symbol so the linker can determine whether to adjust the field -+ value. PDIFF relocations are used for positive differences, NDIFF -+ relocations are used for negative differences. The difference value -+ is treated as unsigned with these relocation types, giving full -+ 8/16 value ranges. - - ENUM - BFD_RELOC_Z80_DISP8 -diff --git a/binutils/readelf.c b/binutils/readelf.c -index d4756c93b345..800918f901c8 100644 ---- a/binutils/readelf.c -+++ b/binutils/readelf.c -@@ -13262,7 +13262,13 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type) - return (reloc_type == 0 /* R_XTENSA_NONE. */ - || reloc_type == 17 /* R_XTENSA_DIFF8. */ - || reloc_type == 18 /* R_XTENSA_DIFF16. */ -- || reloc_type == 19 /* R_XTENSA_DIFF32. */); -+ || reloc_type == 19 /* R_XTENSA_DIFF32. */ -+ || reloc_type == 57 /* R_XTENSA_PDIFF8. */ -+ || reloc_type == 58 /* R_XTENSA_PDIFF16. */ -+ || reloc_type == 59 /* R_XTENSA_PDIFF32. */ -+ || reloc_type == 60 /* R_XTENSA_NDIFF8. */ -+ || reloc_type == 61 /* R_XTENSA_NDIFF16. */ -+ || reloc_type == 62 /* R_XTENSA_NDIFF32. */); - } - return FALSE; - } -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 71d4d94a8d7d..ee75c13548ff 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -5974,18 +5974,24 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) - case BFD_RELOC_8: - if (fixP->fx_subsy) - { -+ bfd_boolean neg = S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset -+ < S_GET_VALUE (fixP->fx_subsy); -+ - switch (fixP->fx_r_type) - { - case BFD_RELOC_8: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF8; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF8 : BFD_RELOC_XTENSA_PDIFF8; - fixP->fx_signed = 0; - break; - case BFD_RELOC_16: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF16; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF16 : BFD_RELOC_XTENSA_PDIFF16; - fixP->fx_signed = 0; - break; - case BFD_RELOC_32: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF32; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF32 : BFD_RELOC_XTENSA_PDIFF32; - fixP->fx_signed = 0; - break; - default: -diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d -index 71983cc90055..8fb3425999d5 100644 ---- a/gas/testsuite/gas/xtensa/loc.d -+++ b/gas/testsuite/gas/xtensa/loc.d -@@ -6,5 +6,5 @@ - - RELOCATION RECORDS FOR \[\.debug_line\]: - #... --.*R_XTENSA_DIFF16.*\.text\+0x00009c42 -+.*R_XTENSA_PDIFF16.*\.text\+0x00009c42 - #... -diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h -index 2eb5e4e52941..bd5c80d13777 100644 ---- a/include/elf/xtensa.h -+++ b/include/elf/xtensa.h -@@ -87,6 +87,12 @@ START_RELOC_NUMBERS (elf_xtensa_reloc_type) - RELOC_NUMBER (R_XTENSA_TLS_FUNC, 54) - RELOC_NUMBER (R_XTENSA_TLS_ARG, 55) - RELOC_NUMBER (R_XTENSA_TLS_CALL, 56) -+ RELOC_NUMBER (R_XTENSA_PDIFF8, 57) -+ RELOC_NUMBER (R_XTENSA_PDIFF16, 58) -+ RELOC_NUMBER (R_XTENSA_PDIFF32, 59) -+ RELOC_NUMBER (R_XTENSA_NDIFF8, 60) -+ RELOC_NUMBER (R_XTENSA_NDIFF16, 61) -+ RELOC_NUMBER (R_XTENSA_NDIFF32, 62) - END_RELOC_NUMBERS (R_XTENSA_max) - - /* Processor-specific flags for the ELF header e_flags field. */ -diff --git a/ld/testsuite/ld-xtensa/relax-loc.d b/ld/testsuite/ld-xtensa/relax-loc.d -new file mode 100644 -index 000000000000..3c8d673732ff ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.d -@@ -0,0 +1,7 @@ -+#as: --text-section-literals -+#ld: -+#objdump: --dwarf=decodedline -+#... -+relax-loc.s[ ]+1[ ]+0x400054[ ]+.* -+relax-loc.s[ ]+2[ ]+0x40005c[ ]+.* -+#... -diff --git a/ld/testsuite/ld-xtensa/relax-loc.s b/ld/testsuite/ld-xtensa/relax-loc.s -new file mode 100644 -index 000000000000..d768470e287a ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.s -@@ -0,0 +1,15 @@ -+ .file 1 "relax-loc.s" -+ .globl _start -+ .globl _ResetVector -+ .text -+_ResetVector: -+_start: -+ .loc 1 1 -+ j 1f -+ .literal_position -+1: -+ .loc 1 2 -+ -+ .rep 10000 -+ movi a2, 0x12345678 -+ .endr -diff --git a/ld/testsuite/ld-xtensa/xtensa.exp b/ld/testsuite/ld-xtensa/xtensa.exp -index 9b2235b2151b..de39887936ad 100644 ---- a/ld/testsuite/ld-xtensa/xtensa.exp -+++ b/ld/testsuite/ld-xtensa/xtensa.exp -@@ -27,6 +27,7 @@ run_dump_test "call_overflow" - run_dump_test "coalesce" - run_dump_test "diff_overflow" - run_dump_test "lcall" -+run_dump_test "relax-loc" - - run_dump_test "relax-static-pie" - run_dump_test "relax-static-local-pie" --- -2.20.1 - diff --git a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch deleted file mode 100644 index 28f17d7c56..0000000000 --- a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch +++ /dev/null @@ -1,128 +0,0 @@ -From 735321812435ae278d3766a3371f55937dc776d6 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sat, 25 Apr 2020 00:40:25 -0700 -Subject: [PATCH] xtensa: fix XTENSA_NDIFF handling for PR ld/25861 - -Fields marked with XTENSA_NDIFF relocations are not negated, they only -have sign bits removed. Don't negate their values when relaxation is -performed. Don't add sign bits when the value is zero. Report overflow -when the result has negative sign but all significant bits are zero. - -2020-04-29 Max Filippov -bfd/ - * elf32-xtensa.c (relax_section): Don't negate diff_value for - XTENSA_NDIFF relocations. Don't add sign bits whe diff_value - equals 0. Report overflow when the result has negative sign but - all significant bits are zero. - -Signed-off-by: Max Filippov -Backported from: d548f47df4d2e3d117d504a4c9977982c78a0556 ---- - - bfd/elf32-xtensa.c | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index fded42d52a9a..4327b027911f 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -9670,37 +9670,44 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -+ diff_mask = 0x7f; - diff_value = - bfd_get_signed_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -+ diff_mask = 0x7fff; - diff_value = - bfd_get_signed_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -+ diff_mask = 0x7fffffff; - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; - diff_value = - bfd_get_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; - diff_value = - bfd_get_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; - diff_value = - bfd_get_32 (abfd, &contents[old_source_offset]); - break; - } - - if (r_type >= R_XTENSA_NDIFF8 -- && r_type <= R_XTENSA_NDIFF32) -- diff_value = -diff_value; -+ && r_type <= R_XTENSA_NDIFF32 -+ && diff_value) -+ diff_value |= ~diff_mask; - - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, -@@ -9710,43 +9717,40 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -- diff_mask = 0x7f; - bfd_put_signed_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -- diff_mask = 0x7fff; - bfd_put_signed_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -- diff_mask = 0x7fffffff; - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -- diff_mask = 0xff; - bfd_put_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -- diff_mask = 0xffff; - bfd_put_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -- diff_mask = 0xffffffff; - bfd_put_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - } - -- /* Check for overflow. Sign bits must be all zeroes or all ones */ -- if ((diff_value & ~diff_mask) != 0 && -- (diff_value & ~diff_mask) != (-1 & ~diff_mask)) -+ /* Check for overflow. Sign bits must be all zeroes or -+ all ones. When sign bits are all ones diff_value -+ may not be zero. */ -+ if (((diff_value & ~diff_mask) != 0 -+ && (diff_value & ~diff_mask) != ~diff_mask) -+ || (diff_value && (bfd_vma) diff_value == ~diff_mask)) - { - (*link_info->callbacks->reloc_dangerous) - (link_info, _("overflow after relaxation"), --- -2.20.1 - diff --git a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index a67d12789e..0000000000 --- a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 788cda9f9447e0fe67e582e8fb5adafd678d08b2 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..1f2c88b0b3a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index 5a2b91fe8e..0000000000 --- a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From b10e6230dea0015bf3b7748580b82c551f9a3a4a Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index e25da50aafb..530a41fca43 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5517,6 +5517,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 1f2c88b0b3a..a4a64f73b7c 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - #define TLS_UNKNOWN 0 -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1945,6 +1963,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 36284d71a9b..6e9e3190bb8 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2702,6 +2702,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index e6446a78098..b0003ab1175 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6164,6 +6164,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index 5082a30cee1..85163fc96c9 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -173,7 +173,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -276,6 +276,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index 0abef046202..7db3cad18eb 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 7d058d03f5f..332f4b7a9b5 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index adc6f5f8b9..0000000000 --- a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0f61f76454a9420f158f626cb09a4fbc08c3709e Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence - of R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index a4a64f73b7c..07fff3602a3 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index dc0431e0af..0000000000 --- a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From 36c7de7ef77ab0c30cb33e2c7ea7a6f4e3052c73 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 07fff3602a3..fcebbe5f23a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry - /* Track dynamic relocs copied for this symbol. */ - struct elf_dyn_relocs *dyn_relocs; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2176,33 +2193,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2269,7 +2299,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2280,27 +2311,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2343,7 +2374,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2355,6 +2387,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2372,10 +2405,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2387,27 +2423,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. */ - bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *s = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (s->size == 0) -- s->size = PLT_ENTRY_SIZE; -+ s->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = s->size; - -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- s->size += PLT_ENTRY_SIZE; -+ s->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 24cdbe5fbf3..9cebc49b946 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch deleted file mode 100644 index c3978e22fa..0000000000 --- a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Wed, 9 Jun 2021 17:28:27 +0200 -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 - -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use -an old compiler(i.e. gcc 4.9) build fails on: -``` -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in -C99 or C11 mode - for (size_t i = 0; i < insn_count; i++) - ^ -``` - -So let's declare `size_t i` at the top of the function instead of inside -for loop. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..32063ab0289 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; - unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ size_t i; - - /* Copy instructions into the output buffer. */ -- for (size_t i = 0; i < insn_count; i++) -+ for (i = 0; i < insn_count; i++) - output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - } - - /* Write out the output buffer. */ -- for (size_t i = 0; i < (insn_count+1); i++) -+ for (i = 0; i < (insn_count+1); i++) - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - --- -2.25.1 - diff --git a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch deleted file mode 100644 index 585b97b2af..0000000000 --- a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Sat, 10 Jul 2021 17:57:34 +0200 -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC - relative 26 bit relocation - -When building openal we were seeing the assert failure: - -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePausev -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceStopv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceRewindv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePlayv -collect2: error: ld returned 1 exit status - -This happens because in R_OR1K_INSN_REL_26 case we can't reference local -symbol as previously done but we need to make sure that calls to actual -symbol always call the version of current object. - -bfd/Changelog: - - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry - in switch case R_OR1K_INSN_REL_26 where we need to check for - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..4f9092539f5 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, - break; - - case R_OR1K_INSN_REL_26: -+ /* For a non-shared link, these will reference plt or call the -+ version of actual object. */ -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) -+ { -+ _bfd_error_handler -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), -+ input_bfd, name); -+ ret_val = FALSE; -+ bfd_set_error (bfd_error_bad_value); -+ } -+ break; -+ - case R_OR1K_PCREL_PG21: - case R_OR1K_LO13: - case R_OR1K_SLO13: --- -2.25.1 - diff --git a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch deleted file mode 100644 index 7e92e2bfd8..0000000000 --- a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 Jan 2022 09:03:28 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special - howto - -Previously when fixing PR 21464 we masked out upper bits of the -relocation value in order to avoid overflow complaints when acceptable. -It turns out this does not work when the relocation value ends up being -signed. - -To fix this this patch introduces a special howto with -complain_on_overflow set to complain_overflow_dont. This is used in -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 -relocations. - -bfd/ChangeLog: - - PR 28735 - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. - (or1k_elf_relocate_section): Use new howto instead of trying to - mask out relocation bits. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index cfa292f0032..ecb70753b6a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = - FALSE), /* pcrel_offset */ - }; - -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 -+ relocations when we know we can ignore overflows. */ -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = -+ HOWTO (R_OR1K_GOT16, /* type */ -+ 0, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_dont, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE); /* pcrel_offset */ -+ - /* Map BFD reloc types to Or1k ELF reloc types. */ - - struct or1k_reloc_map -@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, - if (r_type == R_OR1K_GOT_AHI16) - saw_gotha = TRUE; - -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 - relocation we assume the code is doing the right thing to avoid -- overflows. Here we mask the lower 16-bit of the relocation to -- avoid overflow validation failures. */ -+ overflows. */ - if (r_type == R_OR1K_GOT16 && saw_gotha) -- relocation &= 0xffff; -+ howto = &or1k_elf_got16_no_overflow_howto; - - /* Addend should be zero. */ - if (rel->r_addend != 0) --- -2.25.1 - diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 4382b32237..ef1b2a94db 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -12,10 +12,6 @@ choice help Select the version of binutils you wish to use. -config BR2_BINUTILS_VERSION_2_32_X - bool "binutils 2.32" - depends on !BR2_csky - config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky @@ -35,7 +31,6 @@ endchoice config BR2_BINUTILS_VERSION string default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC - default "2.32" if BR2_BINUTILS_VERSION_2_32_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X default "2.38" if BR2_BINUTILS_VERSION_2_38_X diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index 4141e0c5f2..e98cb85275 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -1,5 +1,4 @@ # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum -sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:26 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:26 +0200 Subject: [Buildroot] [git commit] package/python-ujson: bump to version 5.2.0 Message-ID: <20220428205845.58D878469F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=24d82e69bc045cabee70af30951694a0007eb51f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop patches that are now upstream. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- ...port-for-aarch64_be-or1k-and-microblazebe.patch | 30 ------- .../0002-Add-support-of-ARC-architecture.patch | 36 -------- .../0003-Add-support-for-microblaze.patch | 27 ------ .../0004-Pseiderer-add-nios2-and-xtensa-001.patch | 95 ---------------------- package/python-ujson/python-ujson.hash | 4 +- package/python-ujson/python-ujson.mk | 4 +- 6 files changed, 4 insertions(+), 192 deletions(-) diff --git a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch b/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch deleted file mode 100644 index b43eb54dcd..0000000000 --- a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 768a445f0c28311bf88685bf0bb990505c12fd4c Mon Sep 17 00:00:00 2001 -From: Florian Loitsch -Date: Sat, 8 Sep 2018 18:18:15 +0200 -Subject: [PATCH] Add support for aarch64_be, or1k and microblazebe. - -Fixes #73. - -[Retrieved from: -https://github.com/google/double-conversion/commit/768a445f0c28311bf88685bf0bb990505c12fd4c] -Signed-off-by: Fabrice Fontaine ---- - double-conversion/utils.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/deps/double-conversion/ouble-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 98a2a11..492bc97 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -76,8 +76,9 @@ inline void abort_noreturn() { abort(); } - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ - defined(__SH4__) || defined(__alpha__) || \ - defined(_MIPS_ARCH_MIPS32R2) || \ -- defined(__AARCH64EL__) || defined(__aarch64__) || \ -- defined(__riscv) -+ defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ -+ defined(__riscv) || \ -+ defined(__or1k__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) || \ - defined(__pnacl__) || defined(__native_client__) diff --git a/package/python-ujson/0002-Add-support-of-ARC-architecture.patch b/package/python-ujson/0002-Add-support-of-ARC-architecture.patch deleted file mode 100644 index d38b24f5fc..0000000000 --- a/package/python-ujson/0002-Add-support-of-ARC-architecture.patch +++ /dev/null @@ -1,36 +0,0 @@ -From eafa625a34fd5d8bec18eddfccbca55ce77b4849 Mon Sep 17 00:00:00 2001 -From: Alexey Brodkin -Date: Thu, 1 Nov 2018 17:36:17 +0200 -Subject: [PATCH] Add support of ARC architecture (#82) - -More info about ARC architecture is here: [1] & [2]. -We need ARC supported here for many things like: - - ICU (see [3]) - - Qt5 etc - -[1] https://www.synopsys.com/designware-ip/processor-solutions/arc-processors.html -[2] https://en.wikipedia.org/wiki/ARC_(processor) -[3] https://unicode-org.atlassian.net/browse/ICU-20155 - -Fixes #81 - -[Retrieved from: -https://github.com/google/double-conversion/commit/eafa625a34fd5d8bec18eddfccbca55ce77b4849] -Signed-off-by: Fabrice Fontaine ---- - double-conversion/utils.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 41c5b02..2e1be0d 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -94,7 +94,7 @@ int main(int argc, char** argv) { - defined(_MIPS_ARCH_MIPS32R2) || \ - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || \ -- defined(__or1k__) -+ defined(__or1k__) || defined(__arc__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) || \ - defined(__pnacl__) || defined(__native_client__) diff --git a/package/python-ujson/0003-Add-support-for-microblaze.patch b/package/python-ujson/0003-Add-support-for-microblaze.patch deleted file mode 100644 index 14fd52eb98..0000000000 --- a/package/python-ujson/0003-Add-support-for-microblaze.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 5cc233e98b74c5c370de888198a2b35200d55468 Mon Sep 17 00:00:00 2001 -From: Florian Loitsch -Date: Sat, 12 Oct 2019 14:35:52 +0200 -Subject: [PATCH] Add support for microblaze. - -Really fixes #73. -[Retrieved (and backported) from: -https://github.com/google/double-conversion/commit/5cc233e98b74c5c370de888198a2b35200d55468] -Signed-off-by: Fabrice Fontaine ---- - Changelog | 4 ++++ - double-conversion/utils.h | 1 + - 2 files changed, 5 insertions(+) - -diff --git a/deps/idouble-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 1a71df0..221467f 100644 ---- a/deps/doyble-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -102,6 +102,7 @@ int main(int argc, char** argv) { - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || \ -- defined(__or1k__) || defined(__arc__) -+ defined(__or1k__) || defined(__arc__) || \ -+ defined(__microblaze__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) - #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch b/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch deleted file mode 100644 index 8648f93c1a..0000000000 --- a/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch +++ /dev/null @@ -1,95 +0,0 @@ -From a54561be5588ac9b16d3c20760b9b554168bb8aa Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 31 Oct 2019 21:26:27 +0100 -Subject: [PATCH] Pseiderer/add nios2 and xtensa 001 (#119) - -* double-conversion: enable for nios2 - -Nios2 supports double conversion, tested using qemu: - -./main || echo "correct" -correct -uname -a -Linux buildroot 4.19.16 #4 Sat Aug 3 14:46:48 CEST 2019 nios2 GNU/Linux - -Solves build error - -In file included from double-conversion.h:42:0, - from number_decimalquantity.cpp:19: -double-conversion-utils.h:119:2: error: #error Target architecture was not detected as supported by Double-Conversion. - #error Target architecture was not detected as supported by Double-Conversion. - -detected by buildroot autobuilders: -http://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/ - -Patch sent upstream: https://github.com/unicode-org/icu/pull/725 -Bug report: https://unicode-org.atlassian.net/browse/ICU-20751 - -[Bernd: Fixed path] -Signed-off-by: Bernd Kuhls -[Added Changelog entry] -Signed-off-by: Peter Seiderer - -* double-conversion: enable for xtensa - -Signed-off-by: Peter Seiderer - -[Retrieved (dand backported) from: -https://github.com/google/double-conversion/commit/a54561be5588ac9b16d3c20760b9b554168bb8aa] -Signed-off-by: Fabrice Fontaine ---- -Note: - -Double-conversion tested with: - - $ cat div.c -double Div_double(double x, double y) { return x / y; } - - $ cat main.c -double Div_double(double x, double y); - -int main(int argc, char** argv) { - double result = Div_double(89255.0, 1e22); - if (result == 89255e-22) { - printf("correct result %e\n", result); - return 1; - } else { - printf("wrong result %e\n", result); - return 0; - } -} - -Tested for xtensa (using qemu_xtensa_lx60_defconfig plus BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE): - - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c div.c - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c main.c - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -o main main.o div.o - - $ ./host/bin/qemu-xtensa -L staging main -correct result 8.925500e-18 ---- - Changelog | 4 ++++ - double-conversion/utils.h | 3 ++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 221467f..98ec28b 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -94,6 +94,7 @@ int main(int argc, char** argv) { - defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \ - defined(__hppa__) || defined(__ia64__) || \ - defined(__mips__) || \ -+ defined(__nios2__) || \ - defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ - defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ -@@ -102,7 +103,7 @@ int main(int argc, char** argv) { - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || defined(__e2k__) || \ - defined(__or1k__) || defined(__arc__) || \ -- defined(__microblaze__) -+ defined(__microblaze__) || defined(__XTENSA__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) - #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/package/python-ujson/python-ujson.hash b/package/python-ujson/python-ujson.hash index fc897c381b..e88e273145 100644 --- a/package/python-ujson/python-ujson.hash +++ b/package/python-ujson/python-ujson.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/ujson/json -md5 9a90e2e9f1d465c2121b8d10f837f53a ujson-4.2.0.tar.gz -sha256 fffe509f556861c7343c6cba57ed05fe7bcf4b48a934a5b946ccb45428cf8883 ujson-4.2.0.tar.gz +md5 2c7ffd2bf23f6f07da3a0cbf5ff5c2f0 ujson-5.2.0.tar.gz +sha256 163191b88842d874e081707d35de2e205e0e396e70fd068d1038879bca8b17ad ujson-5.2.0.tar.gz # Locally computed sha256 checksums sha256 6a00a8f8b4050303368b694147bde1aed9c96bdff869c181dbbf3ccb784a1501 LICENSE.txt diff --git a/package/python-ujson/python-ujson.mk b/package/python-ujson/python-ujson.mk index 68781c6170..8eb5f6a0a7 100644 --- a/package/python-ujson/python-ujson.mk +++ b/package/python-ujson/python-ujson.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_UJSON_VERSION = 4.2.0 +PYTHON_UJSON_VERSION = 5.2.0 PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz -PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/df/69/e8f615e1a779e2d2d23d29d56dc55bbb1db2a828f0ef36d10bc697d63968 +PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/e4/fc/2dee0e78162aa1ad03dadde9a9b5c281d6f8bb0eed6810a270486d8fc041 PYTHON_UJSON_SETUP_TYPE = setuptools PYTHON_UJSON_LICENSE = BSD-3-Clause PYTHON_UJSON_LICENSE_FILES = LICENSE.txt From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:21 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:21 +0200 Subject: [Buildroot] [git commit] package/python-setuptools: bump to version 62.1.0 Message-ID: <20220428205845.3392C846A1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f93ce0d1c29649dea3eb0fee5e1da4b577f4d3e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-setuptools/python-setuptools.hash | 4 ++-- package/python-setuptools/python-setuptools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools/python-setuptools.hash b/package/python-setuptools/python-setuptools.hash index 1a378d1b76..d4a9ba3d88 100644 --- a/package/python-setuptools/python-setuptools.hash +++ b/package/python-setuptools/python-setuptools.hash @@ -1,4 +1,4 @@ # From https://pypi.org/pypi/setuptools/json -md5 6c6a97cf68e1db789a2e5c054f067278 setuptools-60.9.3.tar.gz -sha256 2347b2b432c891a863acadca2da9ac101eae6169b1d3dfee2ec605ecd50dbfe5 setuptools-60.9.3.tar.gz +md5 95f4924aacd634ab579f17fc71f79fb1 setuptools-62.1.0.tar.gz +sha256 47c7b0c0f8fc10eec4cf1e71c6fdadf8decaa74ffa087e68cd1c20db7ad6a592 setuptools-62.1.0.tar.gz sha256 db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE diff --git a/package/python-setuptools/python-setuptools.mk b/package/python-setuptools/python-setuptools.mk index 3309cd9df4..c6a2137e1d 100644 --- a/package/python-setuptools/python-setuptools.mk +++ b/package/python-setuptools/python-setuptools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_VERSION = 60.9.3 +PYTHON_SETUPTOOLS_VERSION = 62.1.0 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz -PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/14/74/54890935244ce053abcc4fa01ef4982a84743a8d128d4cf5eae56e2d156c +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ea/a3/3d3cbbb7150f90c4cf554048e1dceb7c6ab330e4b9138a40e130a4cc79e1 PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:27 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:27 +0200 Subject: [Buildroot] [git commit] package/python-urllib3: bump to version 1.26.9 Message-ID: <20220428205845.6AB8F8469F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d18ba93237e1f3f5a1aa87ae95cc535d4c330552 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2415f24199..bab97249b0 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 50831ca7b19bbe2781abb0a4c2d51760 urllib3-1.26.8.tar.gz -sha256 0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c urllib3-1.26.8.tar.gz +md5 d4b58522821a33c5e421191b83e0dbac urllib3-1.26.9.tar.gz +sha256 aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e urllib3-1.26.9.tar.gz # Locally computed sha256 checksums sha256 c37bf186e27cf9dbe9619e55edfe3cea7b30091ceb3da63c7dacbe0e6d77907b LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index d94c97b4ed..cb2f7ffe5d 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 1.26.8 +PYTHON_URLLIB3_VERSION = 1.26.9 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/b0/b1/7bbf5181f8e3258efae31702f5eab87d8a74a72a0aa78bc8c08c1466e243 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:29 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:29 +0200 Subject: [Buildroot] [git commit] package/python-aenum: bump to version 3.1.11 Message-ID: <20220428205845.76B47846A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b492a2671bea67b9af033df2ae0d3aec0ba5ded1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-aenum/python-aenum.hash | 4 ++-- package/python-aenum/python-aenum.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-aenum/python-aenum.hash b/package/python-aenum/python-aenum.hash index d10254f9b1..40c0e55fc5 100644 --- a/package/python-aenum/python-aenum.hash +++ b/package/python-aenum/python-aenum.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/aenum/json -md5 6f30144abd4d156f22f8a49d81c496df aenum-3.1.0.tar.gz -sha256 87f0e9ef4f828578ab06af30e4d7944043bf4ecd3f4b7bd1cbe37e2173cde94a aenum-3.1.0.tar.gz +md5 c0b78a74cdfacc0bf0cbb42785afaed8 aenum-3.1.11.tar.gz +sha256 aed2c273547ae72a0d5ee869719c02a643da16bf507c80958faadc7e038e3f73 aenum-3.1.11.tar.gz # Locally computed sha256 checksums sha256 0db837e38002017b352666c83c8d3216ee5b9b2229375eb2cf4487f8c24e1f8c aenum/LICENSE diff --git a/package/python-aenum/python-aenum.mk b/package/python-aenum/python-aenum.mk index 72eaa1db2b..9a30211bb6 100644 --- a/package/python-aenum/python-aenum.mk +++ b/package/python-aenum/python-aenum.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AENUM_VERSION = 3.1.0 +PYTHON_AENUM_VERSION = 3.1.11 PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz -PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/ae/25/00b2949186e76a4c9732e33221274964fecf5c88178cbe5a14a80cfc04e8 +PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/63/6c/a71e18de7c651f384b328be6bccadbbd472aca62f547c1a307b9388d03ca PYTHON_AENUM_SETUP_TYPE = setuptools PYTHON_AENUM_LICENSE = BSD-3-Clause PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:24 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:24 +0200 Subject: [Buildroot] [git commit] package/python-typing-extensions: bump to version 4.2.0 Message-ID: <20220428205845.4C98D846A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=61e525780d2b684799c48aeb3455c6394d3a7fb6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package now requires the flit setup type. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-typing-extensions/python-typing-extensions.hash | 4 ++-- package/python-typing-extensions/python-typing-extensions.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-typing-extensions/python-typing-extensions.hash b/package/python-typing-extensions/python-typing-extensions.hash index abaac77d34..f37a609adc 100644 --- a/package/python-typing-extensions/python-typing-extensions.hash +++ b/package/python-typing-extensions/python-typing-extensions.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/typing_extensions/json -md5 ed80ecc8eac5cb15840535ca54eb43f3 typing_extensions-3.10.0.2.tar.gz -sha256 49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e typing_extensions-3.10.0.2.tar.gz +md5 197fb153e3720a3f6e0c85bb47f9c2b5 typing_extensions-4.2.0.tar.gz +sha256 f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376 typing_extensions-4.2.0.tar.gz # Locally computed sha256 checksums sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE diff --git a/package/python-typing-extensions/python-typing-extensions.mk b/package/python-typing-extensions/python-typing-extensions.mk index 668071e025..a664e5d3e9 100644 --- a/package/python-typing-extensions/python-typing-extensions.mk +++ b/package/python-typing-extensions/python-typing-extensions.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_TYPING_EXTENSIONS_VERSION = 3.10.0.2 +PYTHON_TYPING_EXTENSIONS_VERSION = 4.2.0 PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz -PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/ed/12/c5079a15cf5c01d7f4252b473b00f7e68ee711be605b9f001528f0298b98 -PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = setuptools +PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/fe/71/1df93bd59163c8084d812d166c907639646e8aac72886d563851b966bf18 +PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = flit PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0 PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:23 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:23 +0200 Subject: [Buildroot] [git commit] package/python-simplejson: bump to version 3.17.6 Message-ID: <20220428205845.418738469F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=678d92b5a7716989b15e963bf2ad0f1f29810262 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-simplejson/python-simplejson.hash | 4 ++-- package/python-simplejson/python-simplejson.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-simplejson/python-simplejson.hash b/package/python-simplejson/python-simplejson.hash index bb44bdfc79..0f56d4c6cc 100644 --- a/package/python-simplejson/python-simplejson.hash +++ b/package/python-simplejson/python-simplejson.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/simplejson/json -md5 1756427859454004e90e028d263cf23e simplejson-3.17.5.tar.gz -sha256 91cfb43fb91ff6d1e4258be04eee84b51a4ef40a28d899679b9ea2556322fb50 simplejson-3.17.5.tar.gz +md5 0b8f47c9451bf101a791f8b5bccf1f33 simplejson-3.17.6.tar.gz +sha256 cf98038d2abf63a1ada5730e91e84c642ba6c225b0198c3684151b1f80c5f8a6 simplejson-3.17.6.tar.gz # Locally computed sha256 checksums sha256 fcaa1e313a99304322e2e0836ea4ee7d839ce9a480438f3922a853edfdde129f LICENSE.txt diff --git a/package/python-simplejson/python-simplejson.mk b/package/python-simplejson/python-simplejson.mk index 5bed8d20a9..52bff7569c 100644 --- a/package/python-simplejson/python-simplejson.mk +++ b/package/python-simplejson/python-simplejson.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SIMPLEJSON_VERSION = 3.17.5 +PYTHON_SIMPLEJSON_VERSION = 3.17.6 PYTHON_SIMPLEJSON_SOURCE = simplejson-$(PYTHON_SIMPLEJSON_VERSION).tar.gz -PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/01/52/41c71718f941c9a5abebfaa24e3c14e3c0229327b7ebd21348989845ed8f +PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/7a/47/c7cc3d4ed15f09917838a2fb4e1759eafb6d2f37ebf7043af984d8b36cf7 PYTHON_SIMPLEJSON_LICENSE = Academic Free License (AFL), MIT PYTHON_SIMPLEJSON_LICENSE_FILES = LICENSE.txt PYTHON_SIMPLEJSON_CPE_ID_VENDOR = simplejson_project From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:20 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:20 +0200 Subject: [Buildroot] [git commit] package/python-setuptools-rust: bump to version 1.3.0 Message-ID: <20220428205845.258F5846A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f8d1631d9255305d80aab8038b0145c195997272 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash index ae3a3463a5..2375c7528f 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.hash +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz -sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz +md5 9760ac511ebe33c759b76efb0a1299dd setuptools-rust-1.3.0.tar.gz +sha256 958c5bf4ab6483d59dab888538121871cc5006354a42fb0fbd50acf03caad1de setuptools-rust-1.3.0.tar.gz # Locally computed sha256 checksums sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk index c2d8c6d9a7..c342773476 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.mk +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 +PYTHON_SETUPTOOLS_RUST_VERSION = 1.3.0 PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/a9/55/5db4a5b137af2afdc23a6e251d5ebb3b4e04c8deb68fbb5ffdacbd134c0c PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools PYTHON_SETUPTOOLS_RUST_LICENSE = MIT PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:18 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:18 +0200 Subject: [Buildroot] [git commit] package/python-cryptography: bump to version 37.0.1 Message-ID: <20220428205845.194438469F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=98f1a06dcd1a8485c5a1f1334bdd45cd7cf3ad8f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-cryptography/python-cryptography.hash | 2 +- package/python-cryptography/python-cryptography.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-cryptography/python-cryptography.hash b/package/python-cryptography/python-cryptography.hash index 1219fa9b5f..0649207426 100644 --- a/package/python-cryptography/python-cryptography.hash +++ b/package/python-cryptography/python-cryptography.hash @@ -1,5 +1,5 @@ # Locally calculated after vendoring -sha256 196bba703cebc052a19f5353614fcfa9d680471990c10305f110adcc05744eeb cryptography-36.0.1.tar.gz +sha256 d7718568773810e42481f51f810919f5501ad252300f4d1b36bb5127b2f6050d cryptography-37.0.1.tar.gz # Locally computed sha256 checksums sha256 43dad2cc752ab721cd9a9f36ece70fb53ab7713551f2d3d8694d8e8c5a06d6e2 LICENSE sha256 aac73b3148f6d1d7111dbca32099f68d26c644c6813ae1e4f05f6579aa2663fe LICENSE.APACHE diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 872ede9b89..7714b9ad88 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CRYPTOGRAPHY_VERSION = 36.0.1 +PYTHON_CRYPTOGRAPHY_VERSION = 37.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz -PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/f9/4b/1cf8e281f7ae4046a59e5e39dd7471d46db9f61bb564fddbff9084c4334f +PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/3d/5f/addb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3 PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:47 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-typing-extensions: bump to version 4.2.0 In-Reply-To: <20220428195248.782790-1-james.hilliard1@gmail.com> References: <20220428195248.782790-1-james.hilliard1@gmail.com> Message-ID: <20220428230947.3e5aa576@windsurf> On Thu, 28 Apr 2022 13:52:48 -0600 James Hilliard wrote: > This package now requires the flit setup type. > > Signed-off-by: James Hilliard > --- > .../python-typing-extensions/python-typing-extensions.hash | 4 ++-- > .../python-typing-extensions/python-typing-extensions.mk | 6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-simplejson: bump to version 3.17.6 In-Reply-To: <20220428194545.776652-1-james.hilliard1@gmail.com> References: <20220428194545.776652-1-james.hilliard1@gmail.com> Message-ID: <20220428230944.1dcb7f6d@windsurf> On Thu, 28 Apr 2022 13:45:45 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-simplejson/python-simplejson.hash | 4 ++-- > package/python-simplejson/python-simplejson.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:41 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools: bump to version 62.1.0 In-Reply-To: <20220428194232.775056-1-james.hilliard1@gmail.com> References: <20220428194232.775056-1-james.hilliard1@gmail.com> Message-ID: <20220428230941.58abe67f@windsurf> On Thu, 28 Apr 2022 13:42:32 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-setuptools/python-setuptools.hash | 4 ++-- > package/python-setuptools/python-setuptools.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:37 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools-rust: bump to version 1.3.0 In-Reply-To: <20220428193738.772448-1-james.hilliard1@gmail.com> References: <20220428193738.772448-1-james.hilliard1@gmail.com> Message-ID: <20220428230937.2d651c20@windsurf> On Thu, 28 Apr 2022 13:37:38 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- > package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:58 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-aenum: bump to version 3.1.11 In-Reply-To: <20220428200926.790948-1-james.hilliard1@gmail.com> References: <20220428200926.790948-1-james.hilliard1@gmail.com> Message-ID: <20220428230958.674fe28b@windsurf> On Thu, 28 Apr 2022 14:09:26 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-aenum/python-aenum.hash | 4 ++-- > package/python-aenum/python-aenum.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:35 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-cryptography: bump to version 37.0.1 In-Reply-To: <20220428193114.759935-1-james.hilliard1@gmail.com> References: <20220428193114.759935-1-james.hilliard1@gmail.com> Message-ID: <20220428230935.19ab0684@windsurf> On Thu, 28 Apr 2022 13:31:14 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-cryptography/python-cryptography.hash | 2 +- > package/python-cryptography/python-cryptography.mk | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:54 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-urllib3: bump to version 1.26.9 In-Reply-To: <20220428200325.789340-1-james.hilliard1@gmail.com> References: <20220428200325.789340-1-james.hilliard1@gmail.com> Message-ID: <20220428230954.712e0a86@windsurf> On Thu, 28 Apr 2022 14:03:25 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-urllib3/python-urllib3.hash | 4 ++-- > package/python-urllib3/python-urllib3.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:51 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: bump to version 5.2.0 In-Reply-To: <20220428200043.787738-1-james.hilliard1@gmail.com> References: <20220428200043.787738-1-james.hilliard1@gmail.com> Message-ID: <20220428230951.5d7b3873@windsurf> On Thu, 28 Apr 2022 14:00:43 -0600 James Hilliard wrote: > Drop patches that are now upstream. > > Signed-off-by: James Hilliard > --- > ...for-aarch64_be-or1k-and-microblazebe.patch | 30 ------ > ...0002-Add-support-of-ARC-architecture.patch | 36 ------- > .../0003-Add-support-for-microblaze.patch | 27 ------ > ...4-Pseiderer-add-nios2-and-xtensa-001.patch | 95 ------------------- > package/python-ujson/python-ujson.hash | 4 +- > package/python-ujson/python-ujson.mk | 4 +- > 6 files changed, 4 insertions(+), 192 deletions(-) > delete mode 100644 package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch > delete mode 100644 package/python-ujson/0002-Add-support-of-ARC-architecture.patch > delete mode 100644 package/python-ujson/0003-Add-support-for-microblaze.patch > delete mode 100644 package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:10:21 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:10:21 +0200 Subject: [Buildroot] [git commit] package/vlc: bump version to 3.0.17.4 Message-ID: <20220428210006.2A553846A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=29bd9004b48e75c84bb83918f40b40ba6ec65ca6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: http://www.videolan.org/vlc/releases/3.0.17.html Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/vlc/vlc.hash | 8 ++++---- package/vlc/vlc.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/vlc/vlc.hash b/package/vlc/vlc.hash index 468ec7df35..9060097906 100644 --- a/package/vlc/vlc.hash +++ b/package/vlc/vlc.hash @@ -1,7 +1,7 @@ -# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha256 -sha256 ffae35fc64f625c175571d2346bc5f6207be99762517f15423e74f18399410f6 vlc-3.0.16.tar.xz -# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha1 -sha1 e22ac839a09b5ead8992ae6aa8ea886364283e6a vlc-3.0.16.tar.xz +# From https://get.videolan.org/vlc/3.0.17.4/vlc-3.0.17.4.tar.xz.sha256 +sha256 8c5a62d88a4fb45c1b095cf10befef217dfa87aedcec5184b9e7d590b6dd4133 vlc-3.0.17.4.tar.xz +# From https://get.videolan.org/vlc/3.0.17.4/vlc-3.0.17.4.tar.xz.sha1 +sha1 ebcd9939103fda141267c5a8f1c603df4533218e vlc-3.0.17.4.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index b793e0efe0..aee3b735a9 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -4,7 +4,7 @@ # ################################################################################ -VLC_VERSION = 3.0.16 +VLC_VERSION = 3.0.17.4 VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION) VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz VLC_LICENSE = GPL-2.0+, LGPL-2.1+ From bernd.kuhls at t-online.de Thu Apr 28 21:13:55 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 23:13:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/stellarium: bump version to 0.22.1 Message-ID: <20220428211355.3933644-1-bernd.kuhls@t-online.de> Release notes: http://stellarium.org/release/2022/04/16/stellarium-0.22.1.html Removed backported patch. Signed-off-by: Bernd Kuhls --- ...uilding-Stellarium-without-scripting.patch | 49 ------------------- package/stellarium/stellarium.hash | 4 +- package/stellarium/stellarium.mk | 2 +- 3 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch diff --git a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch b/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch deleted file mode 100644 index 57f15a8eff..0000000000 --- a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 710d1c5acd9e962260ce395474819ded2eb6ce12 Mon Sep 17 00:00:00 2001 -From: "Alexander V. Wolf" -Date: Tue, 29 Mar 2022 18:57:06 +0700 -Subject: [PATCH] Fixed building Stellarium without scripting - -Downloaded from upstream commit: -https://github.com/Stellarium/stellarium/commit/710d1c5acd9e962260ce395474819ded2eb6ce12 - -Signed-off-by: Bernd Kuhls ---- - plugins/Calendars/src/Calendars.cpp | 2 ++ - plugins/Calendars/src/Calendars.hpp | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/plugins/Calendars/src/Calendars.cpp b/plugins/Calendars/src/Calendars.cpp -index e5d89a4c063..4df6caee42e 100644 ---- a/plugins/Calendars/src/Calendars.cpp -+++ b/plugins/Calendars/src/Calendars.cpp -@@ -251,6 +251,7 @@ void Calendars::init() - } - } - -+#ifdef ENABLE_SCRIPTING - // Add calendar as scriptable object! Some scripting functions won't work though, as they use object types unknown to the scripting engine. - void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) - { -@@ -260,6 +261,7 @@ void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) - ssm->addObject(cal); - } - } -+#endif - - void Calendars::loadSettings() - { -diff --git a/plugins/Calendars/src/Calendars.hpp b/plugins/Calendars/src/Calendars.hpp -index 461ae1bd9ba..4696183d9d2 100644 ---- a/plugins/Calendars/src/Calendars.hpp -+++ b/plugins/Calendars/src/Calendars.hpp -@@ -145,8 +145,10 @@ class Calendars : public StelModule - //! TODO: ADD HERE: Chinese, NewHinduSolar, NewHinduLunar, ... - Calendar* getCal(QString name); - -+ #ifdef ENABLE_SCRIPTING - //! to be called after program startup, when StelScriptMgr has been set up. - void makeCalendarsScriptable(StelScriptMgr *ssm); -+ #endif - - signals: - //void jdChanged(double jd); diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash index 2c2427bf0e..12cc3c5375 100644 --- a/package/stellarium/stellarium.hash +++ b/package/stellarium/stellarium.hash @@ -1,5 +1,5 @@ # From https://github.com/Stellarium/stellarium/releases -sha1 c4a00fd756c66fb7df633f496dd3be4300bf1d2b stellarium-0.22.0.tar.gz -sha256 0b4dc23cf9054b5e76cd9bc5ad68e172eb221999e90af37e93667d04fe78c885 stellarium-0.22.0.tar.gz +sha1 55b5915dfb616b9748e1c2d2de6150f7159cf36c stellarium-0.22.1.tar.gz +sha256 61a595ecc345dcc7517359573d0dc772e67ecaf6d52fefab142a77c92cf3fa24 stellarium-0.22.0.tar.gz # Locally computed sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index 1226b1190d..9c24263a43 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -4,7 +4,7 @@ # ################################################################################ -STELLARIUM_VERSION = 0.22.0 +STELLARIUM_VERSION = 0.22.1 STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) STELLARIUM_LICENSE = GPL-2.0+ STELLARIUM_LICENSE_FILES = COPYING -- 2.30.2 From sen at phobosdpl.com Thu Apr 28 21:18:55 2022 From: sen at phobosdpl.com (Sen Hastings) Date: Thu, 28 Apr 2022 16:18:55 -0500 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: add kmsro driver Message-ID: Howdy, After Mesa DRI swrast support was removed on 2021.05 I realized that GPU acceleration on my RPi 4 (Raspberry pi 4) had stopped/never actually worked. After transitioning from the deprecated Broadcom EGL library, the RPi 4 (at least) uses the VideoCore IV 3D (v3d) driver for rendering, and the VideoCore IV (vc4) driver for display output. These are "hooked" together with the kmsro driver, which was renamed/extended from the pl111 driver to be more generic in accomplishing this task. https://forums.raspberrypi.com/viewtopic.php?f=67&p=1901014 http://lists.freedesktop.org/archives/mesa-dev/2019-January/214067.html I use the RPi 4 as a specific example, but the kmsro driver is required for the task of attaching "render only" GPUs to any sort of external display controller/manager type deal. This is pretty common AFAIK on lots of SOCs. Mesa supports this in combination with a few drivers, including: Lima: https://docs.mesa3d.org/drivers/lima.html Panfrost: https://docs.mesa3d.org/drivers/panfrost.html#building v3d: https://docs.mesa3d.org/drivers/v3d.html The current patch adds BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO and selects it (along with BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) when BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D is enabled. Perhaps it should also be selected in conjunction with BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA, BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST and others? Again, technically this is not necessary if you don't want display output from your GPU. Seeing that BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D selects BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 I assume the primary goal is to auto-select mesa driver options that yield functioning display output? tldr: The kmsro driver is required to get actual display output from some "render only" GPU drivers. If a "render only" GPU driver is selected, should the kmsro driver be selected by default? Signed-off-by: Sen Hastings --- package/mesa3d/Config.in | 14 +++++++++++++- package/mesa3d/mesa3d.mk | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index e41da562dc..29e6b0d571 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -151,6 +151,17 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS help Mesa driver for iris-based Intel GPUs. +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO + bool "Gallium kmsro driver" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + help + "kernel mode setting render-only" driver + "bridge" driver that hooks up render only GPUs to + external display controllers/engines. + Required for actual display output on some systems. + Must be used in conjunction with a GPU driver. + Supports: Etnaviv,freedreno,lima,panfrost,v3d + config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA bool "Gallium lima driver" depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence @@ -263,9 +274,10 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 # runtime + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO select BR2_PACKAGE_MESA3D_OPENGL_EGL help - Driver for Broadcom VC6 (rpi4) GPUs (needs vc4). + Driver for Broadcom VC6 (rpi4) GPUs (needs vc4 and kmsro). It requires a kernel 4.18+ with DRM V3D support enabled: diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 9f375edc1f..8b9787aa54 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -102,6 +102,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO) += freedreno MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915) += i915 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS) += iris +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU) += nouveau MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST) += panfrost -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 21:20:10 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:20:10 +0200 Subject: [Buildroot] [PATCH] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" Message-ID: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> This reverts commit 8945ba49480a7885d104445ca855ef7681a374ff. This commit is incorrect, as it is perfectly valid for BR2_TOOLCHAIN_EXTERNAL_PATH to be empty. The help text of BR2_TOOLCHAIN_EXTERNAL_PATH even documents it as a supported case: If empty, the compiler will be searched in $PATH. Commit 392b0a26f5fd8d3aedce7e0c15f9762a79312f01 ("toolchain-external: default BR2_TOOLCHAIN_EXTERNAL_PATH to empty") even made that the default saying "In addition, it in fact works correctly when it is empty. In that case, the toolchain will be searched in PATH." A user has reported that commit 8945ba49480a7885d104445ca855ef7681a374ff breaks his use-case: https://lore.kernel.org/buildroot/CADBnMvhgaozAgZgy3njckjL1i0U6bZ0fLrq-kdFF-qpGhFWgmw at mail.gmail.com/ Reported-by: Kristof Havasi Signed-off-by: Thomas Petazzoni --- This should be backported to 2022.02.x --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 ----- 1 file changed, 5 deletions(-) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index c7f4175c9e..299b6008aa 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,12 +69,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) -ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) -$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) -endif endif -endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 21:22:37 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:22:37 +0200 Subject: [Buildroot] Build regression after 2022.02.01 In-Reply-To: References: Message-ID: <20220428232237.602ccb13@windsurf> Hello Kristof, On Thu, 28 Apr 2022 19:39:11 +0200 Kristof Havasi wrote: > I just updated from 2022.02 to 2022.02.01. > > My build broke due to 8945ba49480a7885d10444 > "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" > > I selected a bootlin toolchain for armv7, which is installed on the > build system and is available > via PATH. As the help string of BR2_TOOLCHAIN_EXTERNAL_PATH describes, if it is > empty, then PATH will be searched. > > If I revert the above commit the build succeeds like before. > > I could see the reason behind the check in the commit for the case, > where the toolchain is yet to be downloaded, but then the lines ended > up in the wrong > branch of the if/else statement. > > In case the toolchain is already available via PATH, I suggest to > follow the previous logic > and description in the help text: > "If empty, the compiler will be searched in $PATH." Thanks for your report. I believe that commit 8945ba49480a7885d10444 is incorrect, so I sent a patch to propose to revert it: https://patchwork.ozlabs.org/project/buildroot/patch/20220428212011.534725-1-thomas.petazzoni at bootlin.com/ Let's see the feedback from the original author and the other Buildroot maintainers who applied. Maybe I missed something, but my belief is that the patch is incorrect. Again, thanks for your report, much appreciated! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:22:51 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:22:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/vlc: bump version to 3.0.17.4 In-Reply-To: <20220428201720.3150467-1-bernd.kuhls@t-online.de> References: <20220428201720.3150467-1-bernd.kuhls@t-online.de> Message-ID: <20220428232251.223edbe6@windsurf> On Thu, 28 Apr 2022 22:17:20 +0200 Bernd Kuhls wrote: > Release notes: http://www.videolan.org/vlc/releases/3.0.17.html > > Signed-off-by: Bernd Kuhls > --- > package/vlc/vlc.hash | 8 ++++---- > package/vlc/vlc.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:24:13 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:24:13 +0200 Subject: [Buildroot] [git commit] package/stellarium: bump version to 0.22.1 Message-ID: <20220428212330.9CE1E846AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5de73f0b685d7c2d096e3d28a50f2e89ed68c52c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: http://stellarium.org/release/2022/04/16/stellarium-0.22.1.html Removed backported patch. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- ...xed-building-Stellarium-without-scripting.patch | 49 ---------------------- package/stellarium/stellarium.hash | 4 +- package/stellarium/stellarium.mk | 2 +- 3 files changed, 3 insertions(+), 52 deletions(-) diff --git a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch b/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch deleted file mode 100644 index 57f15a8eff..0000000000 --- a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 710d1c5acd9e962260ce395474819ded2eb6ce12 Mon Sep 17 00:00:00 2001 -From: "Alexander V. Wolf" -Date: Tue, 29 Mar 2022 18:57:06 +0700 -Subject: [PATCH] Fixed building Stellarium without scripting - -Downloaded from upstream commit: -https://github.com/Stellarium/stellarium/commit/710d1c5acd9e962260ce395474819ded2eb6ce12 - -Signed-off-by: Bernd Kuhls ---- - plugins/Calendars/src/Calendars.cpp | 2 ++ - plugins/Calendars/src/Calendars.hpp | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/plugins/Calendars/src/Calendars.cpp b/plugins/Calendars/src/Calendars.cpp -index e5d89a4c063..4df6caee42e 100644 ---- a/plugins/Calendars/src/Calendars.cpp -+++ b/plugins/Calendars/src/Calendars.cpp -@@ -251,6 +251,7 @@ void Calendars::init() - } - } - -+#ifdef ENABLE_SCRIPTING - // Add calendar as scriptable object! Some scripting functions won't work though, as they use object types unknown to the scripting engine. - void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) - { -@@ -260,6 +261,7 @@ void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) - ssm->addObject(cal); - } - } -+#endif - - void Calendars::loadSettings() - { -diff --git a/plugins/Calendars/src/Calendars.hpp b/plugins/Calendars/src/Calendars.hpp -index 461ae1bd9ba..4696183d9d2 100644 ---- a/plugins/Calendars/src/Calendars.hpp -+++ b/plugins/Calendars/src/Calendars.hpp -@@ -145,8 +145,10 @@ class Calendars : public StelModule - //! TODO: ADD HERE: Chinese, NewHinduSolar, NewHinduLunar, ... - Calendar* getCal(QString name); - -+ #ifdef ENABLE_SCRIPTING - //! to be called after program startup, when StelScriptMgr has been set up. - void makeCalendarsScriptable(StelScriptMgr *ssm); -+ #endif - - signals: - //void jdChanged(double jd); diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash index 2c2427bf0e..64238ad163 100644 --- a/package/stellarium/stellarium.hash +++ b/package/stellarium/stellarium.hash @@ -1,5 +1,5 @@ # From https://github.com/Stellarium/stellarium/releases -sha1 c4a00fd756c66fb7df633f496dd3be4300bf1d2b stellarium-0.22.0.tar.gz -sha256 0b4dc23cf9054b5e76cd9bc5ad68e172eb221999e90af37e93667d04fe78c885 stellarium-0.22.0.tar.gz +sha1 55b5915dfb616b9748e1c2d2de6150f7159cf36c stellarium-0.22.1.tar.gz +sha256 61a595ecc345dcc7517359573d0dc772e67ecaf6d52fefab142a77c92cf3fa24 stellarium-0.22.0.tar.gz # Locally computed sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index 1226b1190d..9c24263a43 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -4,7 +4,7 @@ # ################################################################################ -STELLARIUM_VERSION = 0.22.0 +STELLARIUM_VERSION = 0.22.1 STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) STELLARIUM_LICENSE = GPL-2.0+ STELLARIUM_LICENSE_FILES = COPYING From thomas.petazzoni at bootlin.com Thu Apr 28 21:35:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:35:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/stellarium: bump version to 0.22.1 In-Reply-To: <20220428211355.3933644-1-bernd.kuhls@t-online.de> References: <20220428211355.3933644-1-bernd.kuhls@t-online.de> Message-ID: <20220428233544.58ad8a57@windsurf> On Thu, 28 Apr 2022 23:13:55 +0200 Bernd Kuhls wrote: > Release notes: > http://stellarium.org/release/2022/04/16/stellarium-0.22.1.html > > Removed backported patch. > > Signed-off-by: Bernd Kuhls > --- > ...uilding-Stellarium-without-scripting.patch | 49 ------------------- > package/stellarium/stellarium.hash | 4 +- > package/stellarium/stellarium.mk | 2 +- > 3 files changed, 3 insertions(+), 52 deletions(-) > delete mode 100644 package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:11 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:11 +0200 Subject: [Buildroot] [git commit] package/php: bump version to 8.0.18 Message-ID: <20220428212755.D454A846E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d97f3e2e64707d9d4589fdf5dae8252143dc31f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://www.php.net/ChangeLog-8.php#8.0.18 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index 3d73e60f90..76501c0fdd 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 4e7d94bb3d144412cb8b2adeb599fb1c6c1d7b357b0d0d0478dc5ef53532ebc5 php-8.0.17.tar.xz +sha256 db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7 php-8.0.18.tar.xz # License file sha256 a188db807d711536f71e27b7d36879d63480f7994dc18adc08e624b3c5430fff LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index 6454d6fe87..adfbf3cad2 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.0.17 +PHP_VERSION = 8.0.18 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:20 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:20 +0200 Subject: [Buildroot] [git commit] package/vim: security bump to version 8.2.4843 Message-ID: <20220428212755.E78DB846EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c76fc9d1ccf623a8dad4d845a371bb5936e38d4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2022-1381: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d55b1ea355..1cd0de9991 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz +sha256 f2755fca3b2f47052166dd601a38411b9adbeca0d43885194db8ada4d1a171a3 vim-8.2.4843.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 4eb659fd6e..be96a08d09 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4732 +VIM_VERSION = 8.2.4843 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:08 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:08 +0200 Subject: [Buildroot] [git commit] package/python-autobahn: bump to version 22.3.2 Message-ID: <20220428212755.C8C16846EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2b985fb8a0ddeb2e3c8351bd7c1a5a5326ac6dfd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-autobahn/python-autobahn.hash | 4 ++-- package/python-autobahn/python-autobahn.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-autobahn/python-autobahn.hash b/package/python-autobahn/python-autobahn.hash index 7b963df635..cc68f822a3 100644 --- a/package/python-autobahn/python-autobahn.hash +++ b/package/python-autobahn/python-autobahn.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/autobahn/json -md5 9b0ae4ff164232c952ba01ab3516188e autobahn-22.1.1.tar.gz -sha256 17e1b58b6ae1a63ca7d926b1d71bb9e4fd6b9ac9a1a2277d8ee40e0b61f54746 autobahn-22.1.1.tar.gz +md5 b0b5e10bfea95f32900708be705efcf0 autobahn-22.3.2.tar.gz +sha256 58a887c7a196bb08d8b6624cb3695f493a9e5c9f00fd350d8d6f829b47ff9036 autobahn-22.3.2.tar.gz # Locally computed sha256 checksums sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE diff --git a/package/python-autobahn/python-autobahn.mk b/package/python-autobahn/python-autobahn.mk index df43e9cdf2..37256ec8f6 100644 --- a/package/python-autobahn/python-autobahn.mk +++ b/package/python-autobahn/python-autobahn.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AUTOBAHN_VERSION = 22.1.1 +PYTHON_AUTOBAHN_VERSION = 22.3.2 PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz -PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/0e/2a/0b627ad4adf70437b5753462958b3ba5c6802d7664eb4a680e46423659ba +PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/e9/a7/4dea20063b78eb50a54182494ae634cffc0ed6208bf775771f374a9fb8bc PYTHON_AUTOBAHN_LICENSE = MIT PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE PYTHON_AUTOBAHN_CPE_ID_VENDOR = crossbar From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:03 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:03 +0200 Subject: [Buildroot] [git commit] package/ffmpeg: bump verson to 4.4.2 Message-ID: <20220428212755.BC0D3846E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8cb49dee480f23cc2eb2169bcda62cb84b7673ab branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=Changelog;hb=refs/heads/release/4.4 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/ffmpeg/ffmpeg.hash | 2 +- package/ffmpeg/ffmpeg.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ffmpeg/ffmpeg.hash b/package/ffmpeg/ffmpeg.hash index abb397f872..8669a060d0 100644 --- a/package/ffmpeg/ffmpeg.hash +++ b/package/ffmpeg/ffmpeg.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02 ffmpeg-4.4.1.tar.xz +sha256 af419a7f88adbc56c758ab19b4c708afbcae15ef09606b82b855291f6a6faa93 ffmpeg-4.4.2.tar.xz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 sha256 b634ab5640e258563c536e658cad87080553df6f34f62269a21d554844e58bfe COPYING.LGPLv2.1 sha256 cb48bf09a11f5fb576cddb0431c8f5ed0a60157a9ec942adffc13907cbe083f2 LICENSE.md diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 5a79faed47..82d229903f 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -4,7 +4,7 @@ # ################################################################################ -FFMPEG_VERSION = 4.4.1 +FFMPEG_VERSION = 4.4.2 FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz FFMPEG_SITE = http://ffmpeg.org/releases FFMPEG_INSTALL_STAGING = YES From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:17 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:17 +0200 Subject: [Buildroot] [git commit] package/samba4: bump version to 4.15.7 Message-ID: <20220428212755.DD4E5846AD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e57a4e0c75e6127addf62652ba57e52b2df2a83e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://www.samba.org/samba/history/samba-4.15.7.html Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index 20e5f00b21..ac28c35614 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.15.6.tar.asc -sha256 0575b999a9048445820428dc540ba8a9527ce596fa66af02ea2ba1ea9578bcb4 samba-4.15.6.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.15.7.tar.asc +sha256 76d0096c16ed0265b337d5731f3c0b32eed3adab6fa8b7585c055b287cd05d6b samba-4.15.7.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 688aaac3eb..df3a7e58c8 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.15.6 +SAMBA4_VERSION = 4.15.7 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:23 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/ffmpeg: bump verson to 4.4.2 In-Reply-To: <20220428201538.3150261-1-bernd.kuhls@t-online.de> References: <20220428201538.3150261-1-bernd.kuhls@t-online.de> Message-ID: <20220428233823.1937b0ef@windsurf> On Thu, 28 Apr 2022 22:15:38 +0200 Bernd Kuhls wrote: > Changelog: > http://git.videolan.org/?p=ffmpeg.git;a=blob;f=Changelog;hb=refs/heads/release/4.4 > > Signed-off-by: Bernd Kuhls > --- > package/ffmpeg/ffmpeg.hash | 2 +- > package/ffmpeg/ffmpeg.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:28 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-autobahn: bump to version 22.3.2 In-Reply-To: <20220428201619.792756-1-james.hilliard1@gmail.com> References: <20220428201619.792756-1-james.hilliard1@gmail.com> Message-ID: <20220428233828.52ccf8c8@windsurf> On Thu, 28 Apr 2022 14:16:19 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-autobahn/python-autobahn.hash | 4 ++-- > package/python-autobahn/python-autobahn.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:34 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/php: bump version to 8.0.18 In-Reply-To: <20220428202009.3273602-1-bernd.kuhls@t-online.de> References: <20220428202009.3273602-1-bernd.kuhls@t-online.de> Message-ID: <20220428233834.5294a5c3@windsurf> On Thu, 28 Apr 2022 22:20:09 +0200 Bernd Kuhls wrote: > Changelog: https://www.php.net/ChangeLog-8.php#8.0.18 > > Signed-off-by: Bernd Kuhls > --- > package/php/php.hash | 2 +- > package/php/php.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.15.7 In-Reply-To: <20220428202416.3560203-1-bernd.kuhls@t-online.de> References: <20220428202416.3560203-1-bernd.kuhls@t-online.de> Message-ID: <20220428233839.1c12dfb4@windsurf> On Thu, 28 Apr 2022 22:24:16 +0200 Bernd Kuhls wrote: > Release notes: https://www.samba.org/samba/history/samba-4.15.7.html > > Signed-off-by: Bernd Kuhls > --- > package/samba4/samba4.hash | 4 ++-- > package/samba4/samba4.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:45 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4843 In-Reply-To: <20220428204932.948797-1-fontaine.fabrice@gmail.com> References: <20220428204932.948797-1-fontaine.fabrice@gmail.com> Message-ID: <20220428233845.6a62a2a2@windsurf> On Thu, 28 Apr 2022 22:49:32 +0200 Fabrice Fontaine wrote: > Fix CVE-2022-1381: global heap buffer overflow in skip_range in GitHub > repository vim/vim prior to 8.2.4763. This vulnerability is capable of > crashing software, Bypass Protection Mechanism, Modify Memory, and > possible remote execution > > Signed-off-by: Fabrice Fontaine > --- > package/vim/vim.hash | 2 +- > package/vim/vim.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:39:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:39:44 +0200 Subject: [Buildroot] [git commit] package/sdl2_ttf: disable builtin harfbuzz Message-ID: <20220428212928.92059846EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2449d9c9dd69f5d291997560c4d48cbd5c5b0fe9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable builtin harfbuzz which is enabled by default since bump to version 2.0.18 in commit f4da031a77f200515bcc5b2e0fe665a7b4f2a780 and https://github.com/libsdl-org/SDL_ttf/commit/834ec54127dc9c2a12928f5fe32cf110ec4c7a7f resulting in the following build failure without threads: In file included from external/harfbuzz-2.8.0/src/hb.hh:470, from external/harfbuzz-2.8.0/src/hb-aat-layout.cc:28: external/harfbuzz-2.8.0/src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory 53 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/sdl2_ttf/sdl2_ttf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sdl2_ttf/sdl2_ttf.mk b/package/sdl2_ttf/sdl2_ttf.mk index 54e76815f1..054e327fac 100644 --- a/package/sdl2_ttf/sdl2_ttf.mk +++ b/package/sdl2_ttf/sdl2_ttf.mk @@ -11,7 +11,7 @@ SDL2_TTF_LICENSE = Zlib SDL2_TTF_LICENSE_FILES = COPYING.txt SDL2_TTF_INSTALL_STAGING = YES SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf -SDL2_TTF_CONF_OPTS = --disable-freetype-builtin +SDL2_TTF_CONF_OPTS = --disable-freetype-builtin --disable-harfbuzz-builtin ifeq ($(BR2_PACKAGE_HARFBUZZ),y) SDL2_TTF_DEPENDENCIES += harfbuzz From thomas.petazzoni at bootlin.com Thu Apr 28 21:39:51 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:39:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/sdl2_ttf: disable builtin harfbuzz In-Reply-To: <20220428175447.983405-1-fontaine.fabrice@gmail.com> References: <20220428175447.983405-1-fontaine.fabrice@gmail.com> Message-ID: <20220428233951.5d87b016@windsurf> On Thu, 28 Apr 2022 19:54:47 +0200 Fabrice Fontaine wrote: > Disable builtin harfbuzz which is enabled by default since bump to > version 2.0.18 in commit f4da031a77f200515bcc5b2e0fe665a7b4f2a780 and > https://github.com/libsdl-org/SDL_ttf/commit/834ec54127dc9c2a12928f5fe32cf110ec4c7a7f > resulting in the following build failure without threads: > > In file included from external/harfbuzz-2.8.0/src/hb.hh:470, > from external/harfbuzz-2.8.0/src/hb-aat-layout.cc:28: > external/harfbuzz-2.8.0/src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory > 53 | #include > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 > > Signed-off-by: Fabrice Fontaine > --- > package/sdl2_ttf/sdl2_ttf.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:45:27 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:45:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs atomic In-Reply-To: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> References: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> Message-ID: <20220428234527.3c5bb3b9@windsurf> On Wed, 27 Apr 2022 22:50:57 +0200 Fabrice Fontaine wrote: > numactl unconditionally uses __atomic_fetch_and resulting in the > following build failure on microblaze since commit > 4ed540ddf59bec4b389be44d7f42820d2466904f: This explanation is unfortunately incorrect. It has nothing to do with microblaze, because BR2_TOOLCHAIN_HAS_ATOMIC is true on microblaze: config BR2_TOOLCHAIN_HAS_LIBATOMIC bool default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 && \ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 && \ BR2_TOOLCHAIN_HAS_THREADS && \ !BR2_BINFMT_FLAT config BR2_TOOLCHAIN_HAS_ATOMIC bool default y if BR2_TOOLCHAIN_HAS_LIBATOMIC default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_arm default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64 However, the key thing is that the build failure http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a has thread support disabled, and when threads are disabled, libatomic is not built, and therefore BR2_TOOLCHAIN_HAS_LIBATOMIC is false. However, I don't see anywhere in the numactl build system where -latomic is passed. Does it build on architectures that need to link against libatomic to get atomic intrinsics? Could you double check this, and rework the commit message? Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Thu Apr 28 21:45:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:45:07 +0200 Subject: [Buildroot] [git commit] package/binutils: re-enable recent versions of binutils for FLAT binaries Message-ID: <20220428213639.2BA0784717@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=44b9361a2ee0741e1307831e3a66c7a03cafec17 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Thanks to the bump of elf2flt to version 2021.08, the issue with recent versions of binutils has been fixed, so we can re-enable using the recent binutils versions. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- package/binutils/Config.in.host | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index e639c67149..4382b32237 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,21 +19,12 @@ config BR2_BINUTILS_VERSION_2_32_X config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_37_X bool "binutils 2.37" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_38_X bool "binutils 2.38" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" From yann.morin.1998 at free.fr Thu Apr 28 21:45:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:45:08 +0200 Subject: [Buildroot] [git commit] package/binutils: drop version 2.32 Message-ID: <20220428213639.3C12084719@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6030cea9e99d93b361e9ee42ce57859792d575cb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Now that recent versions of binutils work with FLAT binaries, we can drop the old 2.32 version, which was kept only to keep support FLAT binaries. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- Config.in.legacy | 6 + package/binutils/2.32/0001-sh-conf.patch | 48 -- .../2.32/0002-poison-system-directories.patch | 306 ------------- ...fix-shrink_dynamic_reloc_sections-for-exp.patch | 41 -- ...terals-const16-for-xtensa-loop-relaxation.patch | 294 ------------ ...as-put-.literal_position-at-section-start.patch | 96 ---- ...correct-value-in-PLT-GOT-entries-causing-.patch | 46 -- .../2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 ------------------ ...fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ------ ...sue-with-plt-link-failure-for-local-calls.patch | 59 --- ...ent-relocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 ----------- ...R_OR1K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...t-large-plt_relocs-when-generating-plt-en.patch | 500 --------------------- ...lf32-or1k-fix-building-with-gcc-version-5.patch | 50 --- ...-relative-relocation-against-dynamic-on-P.patch | 59 --- ...R_OR1K_GOT16-signed-overflow-by-using-spe.patch | 75 ---- package/binutils/Config.in.host | 5 - package/binutils/binutils.hash | 1 - 19 files changed, 6 insertions(+), 2494 deletions(-) Patch is too large, so refusing to show it From yann.morin.1998 at free.fr Thu Apr 28 21:45:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:45:07 +0200 Subject: [Buildroot] [git commit] boot/afboot-stm32: add patch fixing build issue with recent binutils Message-ID: <20220428213639.1431C84717@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf5206ea981162bec3479298164cb4650ec31cdc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The afboot-stm32 build system was initially linking with gcc, but that was changed upstream following a Buildroot contribution to use ld instead. However, the build system was still passing -nostartfiles, which is a gcc option. By luck, this option was simply ignored by older versions of ld (such as binutils 2.32), but newer versions of ld (2.36 and newer, at least) no longer accept/ignore this option. This commit adds a patch that drops the use of this option, since it is useless for ld. The first patch is slightly updated because the upstream pull request has been updated to contain both build fixes. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- ...Pass-fno-builtin-to-fix-build-with-gcc-10.patch | 6 ++-- .../0002-Makefile-drop-nostartfiles.patch | 40 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch b/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch index 5ef47b59ff..aef283270e 100644 --- a/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch +++ b/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch @@ -1,4 +1,4 @@ -From 5448f328ff63a6ca4a64519c2f1dfc63a33df4b7 Mon Sep 17 00:00:00 2001 +From 9901603e18524c4c52fd1dd47bda4ab4016628fc Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 10 Sep 2020 11:37:33 +0200 Subject: [PATCH] Pass -fno-builtin to fix build with gcc 10 @@ -23,7 +23,7 @@ stm32f429i-disco.c:(.text.reset+0x1a): undefined reference to `memcpy' /home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: stm32f429i-disco.c:(.text.reset+0x34): undefined reference to `memset' make[1]: *** [Makefile:26: stm32f429i-disco] Error 1 -Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/9 +Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/11 Signed-off-by: Thomas Petazzoni --- Makefile | 1 + @@ -42,5 +42,5 @@ index f699176..1e8557d 100644 obj-y += gpio.o mpu.o qspi.o start_kernel.o -- -2.26.2 +2.35.1 diff --git a/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch b/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch new file mode 100644 index 0000000000..7e5a6430bc --- /dev/null +++ b/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch @@ -0,0 +1,40 @@ +From be760c062c5d05bd2223f3916afafd37120d3318 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Thu, 28 Apr 2022 22:47:09 +0200 +Subject: [PATCH] Makefile: drop -nostartfiles + +In commit 0f3e61c9dd48fd8b4248ce4672c044c2562e4de1 ("Use ld instead of +gcc for linking "), we started using ld instead of gcc for the link +step. This worked fine for a while, but recent versions of ld no +longer accept the -nostartfiles option, causing the build to break: + +Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?) + +In fact, -nostartfiles was passed to gcc prior to +0f3e61c9dd48fd8b4248ce4672c044c2562e4de1, but it is not a ld +option. It is only by luck that it was accepted and ignored by older +ld versions. Since this option is useless when calling ld directly, we +can simply drop it. + +Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/11 +Signed-off-by: Thomas Petazzoni +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 1e8557d..8f42be1 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,7 +14,7 @@ CFLAGS := -mthumb -mcpu=cortex-m4 + CFLAGS += -ffunction-sections -fdata-sections + CFLAGS += -Os -std=gnu99 -Wall + CFLAGS += -fno-builtin +-LINKERFLAGS := -nostartfiles --gc-sections ++LINKERFLAGS := --gc-sections + + obj-y += gpio.o mpu.o qspi.o start_kernel.o + obj-f4 += $(obj-y) usart-f4.o +-- +2.35.1 + From yann.morin.1998 at free.fr Thu Apr 28 21:45:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:45:07 +0200 Subject: [Buildroot] [git commit] package/elf2flt: update to version 2021.08 Message-ID: <20220428213639.21B9184719@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=65d78dcfeb8b2eafaebe2d0c3c8c42e7e85f46ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master It contains several fixes and improvements compared to our current version, and two of our patches have been accepted upstream. Most notably, it fixes the issue we had in using elf2flt with recent versions of binutils (upstream commit ba379d08bb78c9300e84351c11080c26ddcc36b3). Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d The other two patches are refreshed to apply properly on 2021.08. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- ...tch => 0001-elf2flt-handle-binutils-2.34.patch} | 78 ++++----- ...behave-properly-when-called-with-a-name-d.patch | 79 --------- ...> 0002-elf2flt-add-riscv-64-bits-support.patch} | 38 ++--- ...flt.c-add-new-relocation-types-for-xtensa.patch | 188 --------------------- package/elf2flt/elf2flt.hash | 2 +- package/elf2flt/elf2flt.mk | 4 +- 6 files changed, 57 insertions(+), 332 deletions(-) diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch similarity index 89% rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch index 16d5633385..4aa473c244 100644 --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch @@ -1,4 +1,4 @@ -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 5 Feb 2020 10:31:32 +0100 Subject: [PATCH] elf2flt: handle binutils >= 2.34 @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/configure.ac b/configure.ac -index e82eb1d..cf7dea8 100644 +index b7db2cb..fdc0876 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 CFLAGS="-Wall $CFLAGS" if test "$werror" = 1 ; then diff --git a/elf2flt.c b/elf2flt.c -index b93aecd..3bcf4fe 100644 +index 7ac0617..ea6b5a1 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -149,6 +149,17 @@ const char *elf2flt_progname; @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 if (verbose) printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", -@@ -442,7 +451,7 @@ output_relocs ( +@@ -443,7 +452,7 @@ output_relocs ( continue; if (verbose) printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 if ((r->flags & SEC_RELOC) == 0) continue; relsize = bfd_get_reloc_upper_bound(rel_bfd, r); -@@ -694,7 +703,7 @@ output_relocs ( +@@ -695,7 +704,7 @@ output_relocs ( case R_BFIN_RIMM16: case R_BFIN_LUIMM16: case R_BFIN_HUIMM16: @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -727,7 +736,7 @@ output_relocs ( +@@ -728,7 +737,7 @@ output_relocs ( break; case R_BFIN_BYTE4_DATA: @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -885,7 +894,7 @@ output_relocs ( +@@ -886,7 +895,7 @@ output_relocs ( #if defined(TARGET_m68k) case R_68K_32: relocation_needed = 1; @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_68K_PC16: -@@ -910,7 +919,7 @@ output_relocs ( +@@ -911,7 +920,7 @@ output_relocs ( q->address, sym_addr, (*p)->howto->rightshift, *(uint32_t *)r_mem); @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_ARM_GOT32: -@@ -938,7 +947,7 @@ output_relocs ( +@@ -939,7 +948,7 @@ output_relocs ( #ifdef TARGET_v850 case R_V850_ABS32: relocation_needed = 1; @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_V850_ZDA_16_16_OFFSET: -@@ -960,7 +969,7 @@ output_relocs ( +@@ -961,7 +970,7 @@ output_relocs ( sym_addr = (*(q->sym_ptr_ptr))->value; q->address -= 1; r_mem -= 1; /* tracks q->address */ @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= (*(unsigned char *)r_mem<<24); break; -@@ -973,7 +982,7 @@ output_relocs ( +@@ -974,7 +983,7 @@ output_relocs ( /* Absolute symbol done not relocation */ relocation_needed = !bfd_is_abs_section(sym_section); sym_addr = (*(q->sym_ptr_ptr))->value; @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_DIR32: -@@ -986,7 +995,7 @@ output_relocs ( +@@ -987,7 +996,7 @@ output_relocs ( } relocation_needed = 1; sym_addr = (*(q->sym_ptr_ptr))->value; @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_PCREL16: -@@ -1012,7 +1021,7 @@ output_relocs ( +@@ -1013,7 +1022,7 @@ output_relocs ( #ifdef TARGET_microblaze case R_MICROBLAZE_64: /* work out the relocation */ @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* Write relocated pointer back */ r_mem[2] = (sym_addr >> 24) & 0xff; -@@ -1026,7 +1035,7 @@ output_relocs ( +@@ -1027,7 +1036,7 @@ output_relocs ( pflags = 0x80000000; break; case R_MICROBLAZE_32: @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; relocation_needed = 1; break; -@@ -1058,7 +1067,7 @@ output_relocs ( +@@ -1059,7 +1068,7 @@ output_relocs ( case R_NIOS2_BFD_RELOC_32: relocation_needed = 1; pflags = (FLAT_NIOS2_R_32 << 28); @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* modify target, in target order */ *(unsigned long *)r_mem = htoniosl(sym_addr); -@@ -1068,7 +1077,7 @@ output_relocs ( +@@ -1069,7 +1078,7 @@ output_relocs ( unsigned long exist_val; relocation_needed = 1; pflags = (FLAT_NIOS2_R_CALL26 << 28); - sym_vma = bfd_section_vma(abs_bfd, sym_section); + sym_vma = elf2flt_bfd_section_vma(sym_section); sym_addr += sym_vma + q->addend; - + /* modify target, in target order */ -@@ -1099,7 +1108,7 @@ output_relocs ( +@@ -1100,7 +1109,7 @@ output_relocs ( ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; pflags <<= 28; - + - sym_vma = bfd_section_vma(abs_bfd, sym_section); -+ sym_vma = elf2flt_bfd_section_vma(sym_section); ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); sym_addr += sym_vma + q->addend; /* modify high 16 bits, in target order */ -@@ -1132,7 +1141,7 @@ output_relocs ( +@@ -1133,7 +1142,7 @@ output_relocs ( goto NIOS2_RELOC_ERR; } /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); sym_addr += sym_vma + q->addend; sym_addr -= gp; -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: case R_SPARC_32: case R_SPARC_UA32: relocation_needed = 1; @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SPARC_PC22: -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: case R_SPARC_HI22: relocation_needed = 1; pflags = 0x80000000; @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= ( htonl(*(uint32_t *)r_mem) -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: case R_SPARC_LO10: relocation_needed = 1; pflags = 0x40000000; @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr &= 0x000003ff; sym_addr |= ( -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: #ifdef TARGET_sh case R_SH_DIR32: relocation_needed = 1; @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SH_REL32: -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: case R_E1_CONST31: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: DBG_E1("Handling Reloc \n"); DIS29_RELOCATION: relocation_needed = 1; @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: case R_E1_IMM32: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: case R_E1_WORD: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: } sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 /* -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) } else continue; @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 if (sec_vma < *vma) { if (*len > 0) -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_CODE) +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) + (SEC_DATA | SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, text + (s->vma - text_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 { fatal("read error section %s", s->name); } -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_DATA) +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) + (SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, data + (s->vma - data_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 fatal("read error section %s", s->name); } -- -2.25.4 +2.35.1 diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch deleted file mode 100644 index a27c4913fb..0000000000 --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 13 Aug 2017 16:03:20 +0200 -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different - from TARGET_ALIAS - -ld-elf2flt currently handles two cases: - - 1 It is called as the wrapper for -ld, generally - installed in the bin/ directory of a toolchain. - - 2 It is called as the wrapper for "ld", generally installed in the - TARGET_ALIAS/bin/ directory of a toolchain. - -Unfortunately, if for some reason it gets called using a FOOBAR-ld -name that is different from -ld, it assumes it is in -case (2), while it really is in case (1). Due to this, the path -mangling logic doesn't work, and it doesn't find ld.real. - -This happens for example when the binary program in bin/ is named -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink -named arm-linux-ld. In this case, -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as -containing TARGET_ALIAS, and therefore the proper logic to find -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt -doesn't find TARGET_ALIAS, and therefore assumes we're being called as -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in -bin/, which doesn't exist. - -See: - -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -$ ./output/host/bin/arm-linux-ld -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory - -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -This commit fixes that by inverting the logic: if we're being called -as just "ld", then we assume it's the program in -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of -TARGET-ld. - -Signed-off-by: Thomas Petazzoni -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 ---- - ld-elf2flt.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index de39fe0..c187c2e 100644 ---- a/ld-elf2flt.c -+++ b/ld-elf2flt.c -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) - the host while those in /lib are for the target. - Make bindir point to the bin dir for bin/-foo. - Make tooldir point to the bin dir for /bin/foo. */ -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); -+ if (streqn(elf2flt_progname, "ld")) { -+ tmp = concat(argv0_dir, "../../bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- tooldir = concat(tmp, "/", NULL); -+ bindir = concat(tmp, "/", NULL); - } - } else { -- tmp = concat(argv0_dir, "../../bin", NULL); -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- bindir = concat(tmp, "/", NULL); -+ tooldir = concat(tmp, "/", NULL); - } - } - --- -2.9.4 - diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch similarity index 83% rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch index 4b00758446..c530bc020d 100644 --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch @@ -1,4 +1,4 @@ -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Wed, 9 Sep 2020 17:31:33 +0900 Subject: [PATCH] elf2flt: add riscv 64-bits support @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . Signed-off-by: Damien Le Moal --- elf2flt.c | 23 +++++++++++++++++++++++ - elf2flt.ld.in | 9 +++++---- + elf2flt.ld.in | 1 + ld-elf2flt.c | 16 ++++++++++++++++ - 3 files changed, 44 insertions(+), 4 deletions(-) + 3 files changed, 40 insertions(+) diff --git a/elf2flt.c b/elf2flt.c -index f87f1fc..dbce467 100644 +index ea6b5a1..7100c20 100644 --- a/elf2flt.c +++ b/elf2flt.c -@@ -80,6 +80,8 @@ const char *elf2flt_progname; +@@ -81,6 +81,8 @@ const char *elf2flt_progname; #include #elif defined(TARGET_xtensa) #include @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 #endif #if defined(__MINGW32__) -@@ -122,6 +124,8 @@ const char *elf2flt_progname; +@@ -123,6 +125,8 @@ const char *elf2flt_progname; #define ARCH "nios2" #elif defined(TARGET_xtensa) #define ARCH "xtensa" @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 #else #error "Don't know how to support your CPU architecture??" #endif -@@ -797,6 +801,16 @@ output_relocs ( +@@ -821,6 +825,16 @@ output_relocs ( goto good_32bit_resolved_reloc; default: goto bad_resolved_reloc; @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 #else default: /* The default is to assume that the -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) if (!load_to_ram && !pfile) load_to_ram = 1; @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 if (pfile) { diff --git a/elf2flt.ld.in b/elf2flt.ld.in -index ec1fe6f..c0c44b8 100644 +index 0df999d..f1eed1f 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) . = ALIGN(0x20) ; LONG(-1) . = ALIGN(0x20) ; --R_RODAT *(.rodata) --R_RODAT *(.rodata1) --R_RODAT *(.rodata.*) --R_RODAT *(.gnu.linkonce.r*) +RISCV_GP: __global_pointer$ = . + 0x800 ; -+R_RODAT *(.rodata) -+R_RODAT *(.rodata1) -+R_RODAT *(.rodata.*) -+R_RODAT *(.gnu.linkonce.r*) - *(.data) - *(.data1) - *(.data.*) + R_RODAT: *(.rodata) + R_RODAT: *(.rodata1) + R_RODAT: *(.rodata.*) diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index e5de506..31b565f 100644 +index 7cb02d5..1a503dd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -324,6 +324,22 @@ static int do_final_link(void) @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 if (!linker_script) linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); -- -2.31.1 +2.35.1 diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch deleted file mode 100644 index 953bd79ccf..0000000000 --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch +++ /dev/null @@ -1,188 +0,0 @@ -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 7 May 2020 21:11:43 -0700 -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa - -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. -Add them to the list of ignored relocation types. - -This fixes the following error when invoking elf2flt on xtensa binaries -built with the recent binutils: - - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context - -Reported-by: Romain Naour -Signed-off-by: Max Filippov -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d ---- - Makefile.in | 3 ++- - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 14 ++++++++++++ - elf2flt.c | 8 +++++++ - 4 files changed, 88 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 52b3347d7f43..0529c7f0a25a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ - -DNO_GOT_CHECK=@got_check@ \ - -DUSE_EMIT_RELOCS=@emit_relocs@ \ - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ - EXEEXT = @EXEEXT@ - OBJEXT = @OBJEXT@ - -diff --git a/configure b/configure -index bb8e33f9cb28..bca38c34247e 100755 ---- a/configure -+++ b/configure -@@ -621,6 +621,7 @@ ac_includes_default="\ - - ac_subst_vars='LTLIBOBJS - LIBOBJS -+HAVE_BFD_XTENSA_PDIFF_RELOCS - SYMBOL_PREFIX - always_reloc_text - emit_ctor_dtor -@@ -1729,6 +1730,52 @@ fi - - } # ac_fn_c_try_link - -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+ - # ac_fn_c_check_func LINENO FUNC VAR - # ---------------------------------- - # Tests whether FUNC exists, setting the cache variable VAR accordingly -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h - fi - - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ OLD_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" -+ #include \"elf/xtensa.h\" -+" -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 -+fi -+ -+ CPPFLAGS=$OLD_CPPFLAGS -+ ;; -+esac -+ - for ac_func in vprintf - do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -@@ -4333,6 +4396,7 @@ fi - - - -+ - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" - - cat >confcache <<\_ACEOF -diff --git a/configure.ac b/configure.ac -index d6b4119eb18a..19969b1045f6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, -+ [#include "bfd.h" -+ #include "elf/xtensa.h"]) -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) -+ ;; -+esac -+ - dnl Checks for library functions. - AC_FUNC_VPRINTF - -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) - AC_SUBST(emit_ctor_dtor) - AC_SUBST(always_reloc_text) - AC_SUBST(SYMBOL_PREFIX) -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) - - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) - -diff --git a/elf2flt.c b/elf2flt.c -index b7c4a490df02..961534973f56 100644 ---- a/elf2flt.c -+++ b/elf2flt.c -@@ -776,6 +776,14 @@ output_relocs ( - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: -+#endif - case R_XTENSA_32_PCREL: - continue; - case R_XTENSA_32: --- -2.20.1 - diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash index c4b0697fcd..c576f65cdb 100644 --- a/package/elf2flt/elf2flt.hash +++ b/package/elf2flt/elf2flt.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk index 3239af1b9a..11cacaf9e0 100644 --- a/package/elf2flt/elf2flt.mk +++ b/package/elf2flt/elf2flt.mk @@ -4,8 +4,8 @@ # ################################################################################ -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) +ELF2FLT_VERSION = 2021.08 +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) ELF2FLT_LICENSE = GPL-2.0+ ELF2FLT_LICENSE_FILES = LICENSE.TXT From yann.morin.1998 at free.fr Thu Apr 28 21:50:03 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:50:03 +0200 Subject: [Buildroot] [PATCH] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" In-Reply-To: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> References: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428215003.GG3624965@scaer> Thomas, All, On 2022-04-28 23:20 +0200, Thomas Petazzoni via buildroot spake thusly: > This reverts commit 8945ba49480a7885d104445ca855ef7681a374ff. This is a commit on the 2022.02.x branch; it is a backport of 8e91385a2cb81c5f8114354f4494230e2aebb93a on master. Did you meant this patch to be applied only to 2022.02.x? I would believe it should be applied to master and backported to 2022.02 instead, no? Regards, Yann E. MORIN. > This commit is incorrect, as it is perfectly valid for > BR2_TOOLCHAIN_EXTERNAL_PATH to be empty. The help text of > BR2_TOOLCHAIN_EXTERNAL_PATH even documents it as a supported case: > > If empty, the compiler will be searched in $PATH. > > Commit 392b0a26f5fd8d3aedce7e0c15f9762a79312f01 ("toolchain-external: > default BR2_TOOLCHAIN_EXTERNAL_PATH to empty") even made that the > default saying "In addition, it in fact works correctly when it is > empty. In that case, the toolchain will be searched in PATH." > > A user has reported that commit > 8945ba49480a7885d104445ca855ef7681a374ff breaks his use-case: > > https://lore.kernel.org/buildroot/CADBnMvhgaozAgZgy3njckjL1i0U6bZ0fLrq-kdFF-qpGhFWgmw at mail.gmail.com/ > > Reported-by: Kristof Havasi > Signed-off-by: Thomas Petazzoni > --- > This should be backported to 2022.02.x > --- > toolchain/toolchain-external/pkg-toolchain-external.mk | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk > index c7f4175c9e..299b6008aa 100644 > --- a/toolchain/toolchain-external/pkg-toolchain-external.mk > +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk > @@ -69,12 +69,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) > else > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) > -ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) > -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) > -$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) > -endif > endif > -endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD > > ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) > ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 21:50:39 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:50:39 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/elf2flt: update to version 2021.08 In-Reply-To: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428215039.GH3624965@scaer> Thomas, All, On 2022-04-28 22:55 +0200, Thomas Petazzoni via buildroot spake thusly: > It contains several fixes and improvements compared to our current > version, and two of our patches have been accepted upstream. Most > notably, it fixes the issue we had in using elf2flt with recent > versions of binutils (upstream commit > ba379d08bb78c9300e84351c11080c26ddcc36b3). > > Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch > is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe > > Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is > upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d > > The other two patches are refreshed to apply properly on 2021.08. > > Signed-off-by: Thomas Petazzoni Series of four patches applied to master, thanks. Regards, Yann E. MORIN. > --- > Changes since v1: > - Drop patch numbering, as pointed by Baruch > --- > ...> 0001-elf2flt-handle-binutils-2.34.patch} | 78 ++++---- > ...e-properly-when-called-with-a-name-d.patch | 79 -------- > ...2-elf2flt-add-riscv-64-bits-support.patch} | 38 ++-- > ...-add-new-relocation-types-for-xtensa.patch | 188 ------------------ > package/elf2flt/elf2flt.hash | 2 +- > package/elf2flt/elf2flt.mk | 4 +- > 6 files changed, 57 insertions(+), 332 deletions(-) > rename package/elf2flt/{0003-elf2flt-handle-binutils-2.34.patch => 0001-elf2flt-handle-binutils-2.34.patch} (89%) > delete mode 100644 package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch > rename package/elf2flt/{0004-elf2flt-add-riscv-64-bits-support.patch => 0002-elf2flt-add-riscv-64-bits-support.patch} (83%) > delete mode 100644 package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch > > diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > similarity index 89% > rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch > rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > index 16d5633385..4aa473c244 100644 > --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch > +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > @@ -1,4 +1,4 @@ > -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 > +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 > From: Romain Naour > Date: Wed, 5 Feb 2020 10:31:32 +0100 > Subject: [PATCH] elf2flt: handle binutils >= 2.34 > @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour > 2 files changed, 61 insertions(+), 36 deletions(-) > > diff --git a/configure.ac b/configure.ac > -index e82eb1d..cf7dea8 100644 > +index b7db2cb..fdc0876 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ > @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 > CFLAGS="-Wall $CFLAGS" > if test "$werror" = 1 ; then > diff --git a/elf2flt.c b/elf2flt.c > -index b93aecd..3bcf4fe 100644 > +index 7ac0617..ea6b5a1 100644 > --- a/elf2flt.c > +++ b/elf2flt.c > @@ -149,6 +149,17 @@ const char *elf2flt_progname; > @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 > > if (verbose) > printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", > -@@ -442,7 +451,7 @@ output_relocs ( > +@@ -443,7 +452,7 @@ output_relocs ( > continue; > if (verbose) > printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", > @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 > if ((r->flags & SEC_RELOC) == 0) > continue; > relsize = bfd_get_reloc_upper_bound(rel_bfd, r); > -@@ -694,7 +703,7 @@ output_relocs ( > +@@ -695,7 +704,7 @@ output_relocs ( > case R_BFIN_RIMM16: > case R_BFIN_LUIMM16: > case R_BFIN_HUIMM16: > @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > > if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) > -@@ -727,7 +736,7 @@ output_relocs ( > +@@ -728,7 +737,7 @@ output_relocs ( > break; > > case R_BFIN_BYTE4_DATA: > @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > > if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) > -@@ -885,7 +894,7 @@ output_relocs ( > +@@ -886,7 +895,7 @@ output_relocs ( > #if defined(TARGET_m68k) > case R_68K_32: > relocation_needed = 1; > @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_68K_PC16: > -@@ -910,7 +919,7 @@ output_relocs ( > +@@ -911,7 +920,7 @@ output_relocs ( > q->address, sym_addr, > (*p)->howto->rightshift, > *(uint32_t *)r_mem); > @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_ARM_GOT32: > -@@ -938,7 +947,7 @@ output_relocs ( > +@@ -939,7 +948,7 @@ output_relocs ( > #ifdef TARGET_v850 > case R_V850_ABS32: > relocation_needed = 1; > @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_V850_ZDA_16_16_OFFSET: > -@@ -960,7 +969,7 @@ output_relocs ( > +@@ -961,7 +970,7 @@ output_relocs ( > sym_addr = (*(q->sym_ptr_ptr))->value; > q->address -= 1; > r_mem -= 1; /* tracks q->address */ > @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > sym_addr |= (*(unsigned char *)r_mem<<24); > break; > -@@ -973,7 +982,7 @@ output_relocs ( > +@@ -974,7 +983,7 @@ output_relocs ( > /* Absolute symbol done not relocation */ > relocation_needed = !bfd_is_abs_section(sym_section); > sym_addr = (*(q->sym_ptr_ptr))->value; > @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_H8_DIR32: > -@@ -986,7 +995,7 @@ output_relocs ( > +@@ -987,7 +996,7 @@ output_relocs ( > } > relocation_needed = 1; > sym_addr = (*(q->sym_ptr_ptr))->value; > @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_H8_PCREL16: > -@@ -1012,7 +1021,7 @@ output_relocs ( > +@@ -1013,7 +1022,7 @@ output_relocs ( > #ifdef TARGET_microblaze > case R_MICROBLAZE_64: > /* work out the relocation */ > @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > /* Write relocated pointer back */ > r_mem[2] = (sym_addr >> 24) & 0xff; > -@@ -1026,7 +1035,7 @@ output_relocs ( > +@@ -1027,7 +1036,7 @@ output_relocs ( > pflags = 0x80000000; > break; > case R_MICROBLAZE_32: > @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > relocation_needed = 1; > break; > -@@ -1058,7 +1067,7 @@ output_relocs ( > +@@ -1059,7 +1068,7 @@ output_relocs ( > case R_NIOS2_BFD_RELOC_32: > relocation_needed = 1; > pflags = (FLAT_NIOS2_R_32 << 28); > @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > /* modify target, in target order */ > *(unsigned long *)r_mem = htoniosl(sym_addr); > -@@ -1068,7 +1077,7 @@ output_relocs ( > +@@ -1069,7 +1078,7 @@ output_relocs ( > unsigned long exist_val; > relocation_needed = 1; > pflags = (FLAT_NIOS2_R_CALL26 << 28); > - sym_vma = bfd_section_vma(abs_bfd, sym_section); > + sym_vma = elf2flt_bfd_section_vma(sym_section); > sym_addr += sym_vma + q->addend; > - > + > /* modify target, in target order */ > -@@ -1099,7 +1108,7 @@ output_relocs ( > +@@ -1100,7 +1109,7 @@ output_relocs ( > ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; > pflags <<= 28; > - > + > - sym_vma = bfd_section_vma(abs_bfd, sym_section); > -+ sym_vma = elf2flt_bfd_section_vma(sym_section); > ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); > sym_addr += sym_vma + q->addend; > > /* modify high 16 bits, in target order */ > -@@ -1132,7 +1141,7 @@ output_relocs ( > +@@ -1133,7 +1142,7 @@ output_relocs ( > goto NIOS2_RELOC_ERR; > } > /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ > @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 > //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); > sym_addr += sym_vma + q->addend; > sym_addr -= gp; > -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: > +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: > case R_SPARC_32: > case R_SPARC_UA32: > relocation_needed = 1; > @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_SPARC_PC22: > -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: > +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: > case R_SPARC_HI22: > relocation_needed = 1; > pflags = 0x80000000; > @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > sym_addr |= ( > htonl(*(uint32_t *)r_mem) > -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: > +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: > case R_SPARC_LO10: > relocation_needed = 1; > pflags = 0x40000000; > @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > sym_addr &= 0x000003ff; > sym_addr |= ( > -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: > +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: > #ifdef TARGET_sh > case R_SH_DIR32: > relocation_needed = 1; > @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_SH_REL32: > -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: > +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: > case R_E1_CONST31: > relocation_needed = 1; > DBG_E1("Handling Reloc \n"); > @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", > sec_vma, sym_addr, q->address); > sym_addr = sec_vma + sym_addr; > -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: > +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: > relocation_needed = 0; > DBG_E1("Handling Reloc \n"); > DBG_E1("DONT RELOCATE AT LOADING\n"); > @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", > sec_vma, sym_addr, q->address); > sym_addr = sec_vma + sym_addr; > -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: > +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: > relocation_needed = 0; > DBG_E1("Handling Reloc \n"); > DBG_E1("DONT RELOCATE AT LOADING\n"); > @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", > sec_vma, sym_addr, q->address); > sym_addr = sec_vma + sym_addr; > -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: > +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: > DBG_E1("Handling Reloc \n"); > DIS29_RELOCATION: > relocation_needed = 1; > @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", > sec_vma, sym_addr); > sym_addr = sec_vma + sym_addr; > -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: > +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: > relocation_needed = 0; > DBG_E1("Handling Reloc \n"); > DBG_E1("DONT RELOCATE AT LOADING\n"); > @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", > sec_vma, sym_addr); > sym_addr = sec_vma + sym_addr; > -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: > +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: > case R_E1_IMM32: > relocation_needed = 1; > DBG_E1("Handling Reloc \n"); > @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", > sec_vma, sym_addr); > sym_addr = sec_vma + sym_addr; > -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: > +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: > case R_E1_WORD: > relocation_needed = 1; > DBG_E1("Handling Reloc \n"); > @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", > sec_vma, sym_addr); > sym_addr = sec_vma + sym_addr; > -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: > +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: > } > > sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - > @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 > > > /* > -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) > +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) > } else > continue; > > @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 > > if (sec_vma < *vma) { > if (*len > 0) > -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) > - if (s->flags & SEC_CODE) > +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) > + (SEC_DATA | SEC_READONLY | SEC_RELOC))) > if (!bfd_get_section_contents(abs_bfd, s, > text + (s->vma - text_vma), 0, > - bfd_section_size(abs_bfd, s))) > @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 > { > fatal("read error section %s", s->name); > } > -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) > - if (s->flags & SEC_DATA) > +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) > + (SEC_READONLY | SEC_RELOC))) > if (!bfd_get_section_contents(abs_bfd, s, > data + (s->vma - data_vma), 0, > - bfd_section_size(abs_bfd, s))) > @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 > fatal("read error section %s", s->name); > } > -- > -2.25.4 > +2.35.1 > > diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch > deleted file mode 100644 > index a27c4913fb..0000000000 > --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch > +++ /dev/null > @@ -1,79 +0,0 @@ > -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 > -From: Thomas Petazzoni > -Date: Sun, 13 Aug 2017 16:03:20 +0200 > -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different > - from TARGET_ALIAS > - > -ld-elf2flt currently handles two cases: > - > - 1 It is called as the wrapper for -ld, generally > - installed in the bin/ directory of a toolchain. > - > - 2 It is called as the wrapper for "ld", generally installed in the > - TARGET_ALIAS/bin/ directory of a toolchain. > - > -Unfortunately, if for some reason it gets called using a FOOBAR-ld > -name that is different from -ld, it assumes it is in > -case (2), while it really is in case (1). Due to this, the path > -mangling logic doesn't work, and it doesn't find ld.real. > - > -This happens for example when the binary program in bin/ is named > -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink > -named arm-linux-ld. In this case, > -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as > -containing TARGET_ALIAS, and therefore the proper logic to find > -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt > -doesn't find TARGET_ALIAS, and therefore assumes we're being called as > -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in > -bin/, which doesn't exist. > - > -See: > - > -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld > -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files > - > -$ ./output/host/bin/arm-linux-ld > -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory > - > -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld > -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files > - > -This commit fixes that by inverting the logic: if we're being called > -as just "ld", then we assume it's the program in > -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of > -TARGET-ld. > - > -Signed-off-by: Thomas Petazzoni > -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 > ---- > - ld-elf2flt.c | 10 +++++----- > - 1 file changed, 5 insertions(+), 5 deletions(-) > - > -diff --git a/ld-elf2flt.c b/ld-elf2flt.c > -index de39fe0..c187c2e 100644 > ---- a/ld-elf2flt.c > -+++ b/ld-elf2flt.c > -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) > - the host while those in /lib are for the target. > - Make bindir point to the bin dir for bin/-foo. > - Make tooldir point to the bin dir for /bin/foo. */ > -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { > -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); > -+ if (streqn(elf2flt_progname, "ld")) { > -+ tmp = concat(argv0_dir, "../../bin", NULL); > - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { > -- tooldir = concat(tmp, "/", NULL); > -+ bindir = concat(tmp, "/", NULL); > - } > - } else { > -- tmp = concat(argv0_dir, "../../bin", NULL); > -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); > - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { > -- bindir = concat(tmp, "/", NULL); > -+ tooldir = concat(tmp, "/", NULL); > - } > - } > - > --- > -2.9.4 > - > diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch > similarity index 83% > rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch > rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch > index 4b00758446..c530bc020d 100644 > --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch > +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch > @@ -1,4 +1,4 @@ > -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 > +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 > From: Damien Le Moal > Date: Wed, 9 Sep 2020 17:31:33 +0900 > Subject: [PATCH] elf2flt: add riscv 64-bits support > @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . > Signed-off-by: Damien Le Moal > --- > elf2flt.c | 23 +++++++++++++++++++++++ > - elf2flt.ld.in | 9 +++++---- > + elf2flt.ld.in | 1 + > ld-elf2flt.c | 16 ++++++++++++++++ > - 3 files changed, 44 insertions(+), 4 deletions(-) > + 3 files changed, 40 insertions(+) > > diff --git a/elf2flt.c b/elf2flt.c > -index f87f1fc..dbce467 100644 > +index ea6b5a1..7100c20 100644 > --- a/elf2flt.c > +++ b/elf2flt.c > -@@ -80,6 +80,8 @@ const char *elf2flt_progname; > +@@ -81,6 +81,8 @@ const char *elf2flt_progname; > #include > #elif defined(TARGET_xtensa) > #include > @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 > #endif > > #if defined(__MINGW32__) > -@@ -122,6 +124,8 @@ const char *elf2flt_progname; > +@@ -123,6 +125,8 @@ const char *elf2flt_progname; > #define ARCH "nios2" > #elif defined(TARGET_xtensa) > #define ARCH "xtensa" > @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 > #else > #error "Don't know how to support your CPU architecture??" > #endif > -@@ -797,6 +801,16 @@ output_relocs ( > +@@ -821,6 +825,16 @@ output_relocs ( > goto good_32bit_resolved_reloc; > default: > goto bad_resolved_reloc; > @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 > #else > default: > /* The default is to assume that the > -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) > +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) > if (!load_to_ram && !pfile) > load_to_ram = 1; > > @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 > > if (pfile) { > diff --git a/elf2flt.ld.in b/elf2flt.ld.in > -index ec1fe6f..c0c44b8 100644 > +index 0df999d..f1eed1f 100644 > --- a/elf2flt.ld.in > +++ b/elf2flt.ld.in > -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) > +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) > . = ALIGN(0x20) ; > LONG(-1) > . = ALIGN(0x20) ; > --R_RODAT *(.rodata) > --R_RODAT *(.rodata1) > --R_RODAT *(.rodata.*) > --R_RODAT *(.gnu.linkonce.r*) > +RISCV_GP: __global_pointer$ = . + 0x800 ; > -+R_RODAT *(.rodata) > -+R_RODAT *(.rodata1) > -+R_RODAT *(.rodata.*) > -+R_RODAT *(.gnu.linkonce.r*) > - *(.data) > - *(.data1) > - *(.data.*) > + R_RODAT: *(.rodata) > + R_RODAT: *(.rodata1) > + R_RODAT: *(.rodata.*) > diff --git a/ld-elf2flt.c b/ld-elf2flt.c > -index e5de506..31b565f 100644 > +index 7cb02d5..1a503dd 100644 > --- a/ld-elf2flt.c > +++ b/ld-elf2flt.c > @@ -324,6 +324,22 @@ static int do_final_link(void) > @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 > if (!linker_script) > linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); > -- > -2.31.1 > +2.35.1 > > diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch > deleted file mode 100644 > index 953bd79ccf..0000000000 > --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch > +++ /dev/null > @@ -1,188 +0,0 @@ > -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Thu, 7 May 2020 21:11:43 -0700 > -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa > - > -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with > -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. > -Add them to the list of ignored relocation types. > - > -This fixes the following error when invoking elf2flt on xtensa binaries > -built with the recent binutils: > - > - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context > - > -Reported-by: Romain Naour > -Signed-off-by: Max Filippov > -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d > ---- > - Makefile.in | 3 ++- > - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > - configure.ac | 14 ++++++++++++ > - elf2flt.c | 8 +++++++ > - 4 files changed, 88 insertions(+), 1 deletion(-) > - > -diff --git a/Makefile.in b/Makefile.in > -index 52b3347d7f43..0529c7f0a25a 100644 > ---- a/Makefile.in > -+++ b/Makefile.in > -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ > - -DNO_GOT_CHECK=@got_check@ \ > - -DUSE_EMIT_RELOCS=@emit_relocs@ \ > - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ > -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ > -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ > -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ > - EXEEXT = @EXEEXT@ > - OBJEXT = @OBJEXT@ > - > -diff --git a/configure b/configure > -index bb8e33f9cb28..bca38c34247e 100755 > ---- a/configure > -+++ b/configure > -@@ -621,6 +621,7 @@ ac_includes_default="\ > - > - ac_subst_vars='LTLIBOBJS > - LIBOBJS > -+HAVE_BFD_XTENSA_PDIFF_RELOCS > - SYMBOL_PREFIX > - always_reloc_text > - emit_ctor_dtor > -@@ -1729,6 +1730,52 @@ fi > - > - } # ac_fn_c_try_link > - > -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES > -+# --------------------------------------------- > -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR > -+# accordingly. > -+ac_fn_c_check_decl () > -+{ > -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack > -+ as_decl_name=`echo $2|sed 's/ *(.*//'` > -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` > -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 > -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } > -+if eval \${$3+:} false; then : > -+ $as_echo_n "(cached) " >&6 > -+else > -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext > -+/* end confdefs.h. */ > -+$4 > -+int > -+main () > -+{ > -+#ifndef $as_decl_name > -+#ifdef __cplusplus > -+ (void) $as_decl_use; > -+#else > -+ (void) $as_decl_name; > -+#endif > -+#endif > -+ > -+ ; > -+ return 0; > -+} > -+_ACEOF > -+if ac_fn_c_try_compile "$LINENO"; then : > -+ eval "$3=yes" > -+else > -+ eval "$3=no" > -+fi > -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext > -+fi > -+eval ac_res=\$$3 > -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 > -+$as_echo "$ac_res" >&6; } > -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno > -+ > -+} # ac_fn_c_check_decl > -+ > - # ac_fn_c_check_func LINENO FUNC VAR > - # ---------------------------------- > - # Tests whether FUNC exists, setting the cache variable VAR accordingly > -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h > - fi > - > - > -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 > -+case $target in > -+ xtensa*) > -+ OLD_CPPFLAGS=$CPPFLAGS > -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" > -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" > -+ #include \"elf/xtensa.h\" > -+" > -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : > -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 > -+fi > -+ > -+ CPPFLAGS=$OLD_CPPFLAGS > -+ ;; > -+esac > -+ > - for ac_func in vprintf > - do : > - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" > -@@ -4333,6 +4396,7 @@ fi > - > - > - > -+ > - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" > - > - cat >confcache <<\_ACEOF > -diff --git a/configure.ac b/configure.ac > -index d6b4119eb18a..19969b1045f6 100644 > ---- a/configure.ac > -+++ b/configure.ac > -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) > - dnl Checks for typedefs, structures, and compiler characteristics. > - AC_C_CONST > - > -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 > -+case $target in > -+ xtensa*) > -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) > -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) > -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], > -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, > -+ [#include "bfd.h" > -+ #include "elf/xtensa.h"]) > -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) > -+ ;; > -+esac > -+ > - dnl Checks for library functions. > - AC_FUNC_VPRINTF > - > -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) > - AC_SUBST(emit_ctor_dtor) > - AC_SUBST(always_reloc_text) > - AC_SUBST(SYMBOL_PREFIX) > -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) > - > - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) > - > -diff --git a/elf2flt.c b/elf2flt.c > -index b7c4a490df02..961534973f56 100644 > ---- a/elf2flt.c > -+++ b/elf2flt.c > -@@ -776,6 +776,14 @@ output_relocs ( > - case R_XTENSA_DIFF8: > - case R_XTENSA_DIFF16: > - case R_XTENSA_DIFF32: > -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS > -+ case R_XTENSA_PDIFF8: > -+ case R_XTENSA_PDIFF16: > -+ case R_XTENSA_PDIFF32: > -+ case R_XTENSA_NDIFF8: > -+ case R_XTENSA_NDIFF16: > -+ case R_XTENSA_NDIFF32: > -+#endif > - case R_XTENSA_32_PCREL: > - continue; > - case R_XTENSA_32: > --- > -2.20.1 > - > diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash > index c4b0697fcd..c576f65cdb 100644 > --- a/package/elf2flt/elf2flt.hash > +++ b/package/elf2flt/elf2flt.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz > +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz > sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT > diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk > index 3239af1b9a..11cacaf9e0 100644 > --- a/package/elf2flt/elf2flt.mk > +++ b/package/elf2flt/elf2flt.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 > -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) > +ELF2FLT_VERSION = 2021.08 > +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) > ELF2FLT_LICENSE = GPL-2.0+ > ELF2FLT_LICENSE_FILES = LICENSE.TXT > > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 21:52:20 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:52:20 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/binutils: drop version 2.32 In-Reply-To: <20220428205548.524402-4-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> <20220428205548.524402-4-thomas.petazzoni@bootlin.com> Message-ID: <20220428215220.GI3624965@scaer> Thomas, All, On 2022-04-28 22:55 +0200, Thomas Petazzoni via buildroot spake thusly: > Now that recent versions of binutils work with FLAT binaries, we can > drop the old 2.32 version, which was kept only to keep support FLAT > binaries. I was considering on not applying that one, so we could have a fallback in case there were runtime issues reported with newer binutils (I could only build-test your series, I lack a noMMU target). But if that happens to be the case, we can revert this patch quite easily. so, applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Thomas Petazzoni > --- > Changes since v1: > - Drop binutils 2.32 hash in binutils.hash > --- > Config.in.legacy | 6 + > package/binutils/2.32/0001-sh-conf.patch | 48 -- > .../2.32/0002-poison-system-directories.patch | 306 ----------- > ...hrink_dynamic_reloc_sections-for-exp.patch | 41 -- > ...s-const16-for-xtensa-loop-relaxation.patch | 294 ---------- > ...t-.literal_position-at-section-start.patch | 96 ---- > ...ct-value-in-PLT-GOT-entries-causing-.patch | 46 -- > .../0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- > .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 --------------- > ...TENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ----- > ...ith-plt-link-failure-for-local-calls.patch | 59 --- > ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 --------- > ...K_GOT16-overflow-failures-in-presenc.patch | 61 --- > ...ge-plt_relocs-when-generating-plt-en.patch | 500 ------------------ > ...or1k-fix-building-with-gcc-version-5.patch | 50 -- > ...tive-relocation-against-dynamic-on-P.patch | 59 --- > ...K_GOT16-signed-overflow-by-using-spe.patch | 75 --- > package/binutils/Config.in.host | 5 - > package/binutils/binutils.hash | 1 - > 19 files changed, 6 insertions(+), 2494 deletions(-) > delete mode 100644 package/binutils/2.32/0001-sh-conf.patch > delete mode 100644 package/binutils/2.32/0002-poison-system-directories.patch > delete mode 100644 package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch > delete mode 100644 package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch > delete mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch > delete mode 100644 package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch > delete mode 100644 package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch > delete mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch > delete mode 100644 package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch > delete mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch > delete mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch > delete mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch > delete mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch > delete mode 100644 package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch > delete mode 100644 package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch > delete mode 100644 package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch > > diff --git a/Config.in.legacy b/Config.in.legacy > index 387653f45d..6d2c82ab7f 100644 > --- a/Config.in.legacy > +++ b/Config.in.legacy > @@ -146,6 +146,12 @@ endif > > comment "Legacy options removed in 2022.05" > > +config BR2_BINUTILS_VERSION_2_32_X > + bool "binutils 2.32.x has been removed" > + select BR2_LEGACY > + help > + binutils 2.32 has been removed, use a newer version. > + > config BR2_sh2a > bool "sh2a architecture support removed" > select BR2_LEGACY > diff --git a/package/binutils/2.32/0001-sh-conf.patch b/package/binutils/2.32/0001-sh-conf.patch > deleted file mode 100644 > index fff91ae35c..0000000000 > --- a/package/binutils/2.32/0001-sh-conf.patch > +++ /dev/null > @@ -1,48 +0,0 @@ > -From 98b2acf2bd3a527d114a9f8931083c2617a2daa9 Mon Sep 17 00:00:00 2001 > -From: Romain Naour > -Date: Fri, 25 Dec 2015 11:38:13 +0100 > -Subject: [PATCH] sh-conf > - > -Likewise, binutils has no idea about any of these new targets either, so we > -fix that up too.. now we're able to actually build a real toolchain for > -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more > -inept targets than that one, really. Go look, I promise). > - > -[Romain: rebase on top of 2.32] > -Signed-off-by: Romain Naour > -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] > -Signed-off-by: Thomas Petazzoni > ---- > - configure | 2 +- > - configure.ac | 2 +- > - 2 files changed, 2 insertions(+), 2 deletions(-) > - > -diff --git a/configure b/configure > -index 37476459612..66fbc19f9ff 100755 > ---- a/configure > -+++ b/configure > -@@ -3861,7 +3861,7 @@ case "${target}" in > - nvptx*-*-*) > - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" > - ;; > -- sh-*-*) > -+ sh*-*-*) > - case "${target}" in > - sh*-*-elf) > - ;; > -diff --git a/configure.ac b/configure.ac > -index 46501c28826..6c731930884 100644 > ---- a/configure.ac > -+++ b/configure.ac > -@@ -1158,7 +1158,7 @@ case "${target}" in > - nvptx*-*-*) > - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" > - ;; > -- sh-*-*) > -+ sh*-*-*) > - case "${target}" in > - sh*-*-elf) > - ;; > --- > -2.14.5 > - > diff --git a/package/binutils/2.32/0002-poison-system-directories.patch b/package/binutils/2.32/0002-poison-system-directories.patch > deleted file mode 100644 > index 98f41e87f3..0000000000 > --- a/package/binutils/2.32/0002-poison-system-directories.patch > +++ /dev/null > @@ -1,306 +0,0 @@ > -From f559402ea868d370ddf25089c68cda2600db3bfa Mon Sep 17 00:00:00 2001 > -From: Romain Naour > -Date: Fri, 25 Dec 2015 11:45:38 +0100 > -Subject: [PATCH] poison-system-directories > - > -Patch adapted to binutils 2.23.2 and extended to use > -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. > - > -[Romain: rebase on top of 2.32] > -Signed-off-by: Romain Naour > -[Gustavo: adapt to binutils 2.25] > -Signed-off-by: Thomas Petazzoni > -Signed-off-by: Gustavo Zacarias > - > -Upstream-Status: Inappropriate [distribution: codesourcery] > - > -Patch originally created by Mark Hatle, forward-ported to > -binutils 2.21 by Scott Garman. > - > -purpose: warn for uses of system directories when cross linking > - > -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 > - > -2008-07-02 Joseph Myers > - > - ld/ > - * ld.h (args_type): Add error_poison_system_directories. > - * ld.texinfo (--error-poison-system-directories): Document. > - * ldfile.c (ldfile_add_library_path): Check > - command_line.error_poison_system_directories. > - * ldmain.c (main): Initialize > - command_line.error_poison_system_directories. > - * lexsup.c (enum option_values): Add > - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. > - (ld_options): Add --error-poison-system-directories. > - (parse_args): Handle new option. > - > -2007-06-13 Joseph Myers > - > - ld/ > - * config.in: Regenerate. > - * ld.h (args_type): Add poison_system_directories. > - * ld.texinfo (--no-poison-system-directories): Document. > - * ldfile.c (ldfile_add_library_path): Check > - command_line.poison_system_directories. > - * ldmain.c (main): Initialize > - command_line.poison_system_directories. > - * lexsup.c (enum option_values): Add > - OPTION_NO_POISON_SYSTEM_DIRECTORIES. > - (ld_options): Add --no-poison-system-directories. > - (parse_args): Handle new option. > - > -2007-04-20 Joseph Myers > - > - Merge from Sourcery G++ binutils 2.17: > - > - 2007-03-20 Joseph Myers > - Based on patch by Mark Hatle . > - ld/ > - * configure.ac (--enable-poison-system-directories): New option. > - * configure, config.in: Regenerate. > - * ldfile.c (ldfile_add_library_path): If > - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, > - /usr/lib, /usr/local/lib or /usr/X11R6/lib. > - > -Signed-off-by: Mark Hatle > -Signed-off-by: Scott Garman > ---- > - ld/config.in | 3 +++ > - ld/configure | 14 ++++++++++++++ > - ld/configure.ac | 10 ++++++++++ > - ld/ld.h | 8 ++++++++ > - ld/ld.texi | 12 ++++++++++++ > - ld/ldfile.c | 17 +++++++++++++++++ > - ld/ldlex.h | 2 ++ > - ld/ldmain.c | 2 ++ > - ld/lexsup.c | 21 +++++++++++++++++++++ > - 9 files changed, 89 insertions(+) > - > -diff --git a/ld/config.in b/ld/config.in > -index d93c9b08300..5da2742beac 100644 > ---- a/ld/config.in > -+++ b/ld/config.in > -@@ -31,6 +31,9 @@ > - language is requested. */ > - #undef ENABLE_NLS > - > -+/* Define to warn for use of native system library directories */ > -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES > -+ > - /* Additional extension a shared object might have. */ > - #undef EXTRA_SHLIB_EXTENSION > - > -diff --git a/ld/configure b/ld/configure > -index 18ada7808f5..7e7d2f97809 100755 > ---- a/ld/configure > -+++ b/ld/configure > -@@ -822,6 +822,7 @@ with_lib_path > - enable_targets > - enable_64_bit_bfd > - with_sysroot > -+enable_poison_system_directories > - enable_gold > - enable_got > - enable_compressed_debug_sections > -@@ -1486,6 +1487,8 @@ Optional Features: > - --disable-largefile omit support for large files > - --enable-targets alternative target configurations > - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) > -+ --enable-poison-system-directories > -+ warn for use of native system library directories > - --enable-gold[=ARG] build gold [ARG={default,yes,no}] > - --enable-got= GOT handling scheme (target, single, negative, > - multigot) > -@@ -15803,7 +15806,18 @@ else > - fi > - > - > -+# Check whether --enable-poison-system-directories was given. > -+if test "${enable_poison_system_directories+set}" = set; then : > -+ enableval=$enable_poison_system_directories; > -+else > -+ enable_poison_system_directories=no > -+fi > -+ > -+if test "x${enable_poison_system_directories}" = "xyes"; then > - > -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h > -+ > -+fi > - > - # Check whether --enable-got was given. > - if test "${enable_got+set}" = set; then : > -diff --git a/ld/configure.ac b/ld/configure.ac > -index d335f210917..7f692d93873 100644 > ---- a/ld/configure.ac > -+++ b/ld/configure.ac > -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) > - AC_SUBST(TARGET_SYSTEM_ROOT) > - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) > - > -+AC_ARG_ENABLE([poison-system-directories], > -+ AS_HELP_STRING([--enable-poison-system-directories], > -+ [warn for use of native system library directories]),, > -+ [enable_poison_system_directories=no]) > -+if test "x${enable_poison_system_directories}" = "xyes"; then > -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], > -+ [1], > -+ [Define to warn for use of native system library directories]) > -+fi > -+ > - dnl Use --enable-gold to decide if this linker should be the default. > - dnl "install_as_default" is set to false if gold is the default linker. > - dnl "installed_linker" is the installed BFD linker name. > -diff --git a/ld/ld.h b/ld/ld.h > -index b97d977f37b..f3bbd2d55d4 100644 > ---- a/ld/ld.h > -+++ b/ld/ld.h > -@@ -180,6 +180,14 @@ typedef struct > - in the linker script. */ > - bfd_boolean force_group_allocation; > - > -+ /* If TRUE (the default) warn for uses of system directories when > -+ cross linking. */ > -+ bfd_boolean poison_system_directories; > -+ > -+ /* If TRUE (default FALSE) give an error for uses of system > -+ directories when cross linking instead of a warning. */ > -+ bfd_boolean error_poison_system_directories; > -+ > - /* Big or little endian as set on command line. */ > - enum endian_enum endian; > - > -diff --git a/ld/ld.texi b/ld/ld.texi > -index 5179af3e0e1..f78bf746822 100644 > ---- a/ld/ld.texi > -+++ b/ld/ld.texi > -@@ -2524,6 +2524,18 @@ string identifying the original linked file does not change. > - > - Passing @code{none} for @var{style} disables the setting from any > - @code{--build-id} options earlier on the command line. > -+ > -+ at kindex --no-poison-system-directories > -+ at item --no-poison-system-directories > -+Do not warn for @option{-L} options using system directories such as > -+ at file{/usr/lib} when cross linking. This option is intended for use > -+in chroot environments when such directories contain the correct > -+libraries for the target system rather than the host. > -+ > -+ at kindex --error-poison-system-directories > -+ at item --error-poison-system-directories > -+Give an error instead of a warning for @option{-L} options using > -+system directories when cross linking. > - @end table > - > - @c man end > -diff --git a/ld/ldfile.c b/ld/ldfile.c > -index fcadc08c73f..63e295ce8ae 100644 > ---- a/ld/ldfile.c > -+++ b/ld/ldfile.c > -@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) > - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); > - else > - new_dirs->name = xstrdup (name); > -+ > -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES > -+ if (command_line.poison_system_directories > -+ && ((!strncmp (name, "/lib", 4)) > -+ || (!strncmp (name, "/usr/lib", 8)) > -+ || (!strncmp (name, "/usr/local/lib", 14)) > -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) > -+ { > -+ if (command_line.error_poison_system_directories) > -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " > -+ "cross-compilation\n"), name); > -+ else > -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " > -+ "cross-compilation\n"), name); > -+ } > -+#endif > -+ > - } > - > - /* Try to open a BFD for a lang_input_statement. */ > -diff --git a/ld/ldlex.h b/ld/ldlex.h > -index 32853debe45..8135361c498 100644 > ---- a/ld/ldlex.h > -+++ b/ld/ldlex.h > -@@ -148,6 +148,8 @@ enum option_values > - OPTION_REQUIRE_DEFINED_SYMBOL, > - OPTION_ORPHAN_HANDLING, > - OPTION_FORCE_GROUP_ALLOCATION, > -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, > -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, > - }; > - > - /* The initial parser states. */ > -diff --git a/ld/ldmain.c b/ld/ldmain.c > -index 77cdbd0dd29..725512f1260 100644 > ---- a/ld/ldmain.c > -+++ b/ld/ldmain.c > -@@ -269,6 +269,8 @@ main (int argc, char **argv) > - command_line.warn_mismatch = TRUE; > - command_line.warn_search_mismatch = TRUE; > - command_line.check_section_addresses = -1; > -+ command_line.poison_system_directories = TRUE; > -+ command_line.error_poison_system_directories = FALSE; > - > - /* We initialize DEMANGLING based on the environment variable > - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the > -diff --git a/ld/lexsup.c b/ld/lexsup.c > -index 88e85c73f49..be4cd492d14 100644 > ---- a/ld/lexsup.c > -+++ b/ld/lexsup.c > -@@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = > - { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, > - '\0', N_("=MODE"), N_("Control how orphan sections are handled."), > - TWO_DASHES }, > -+ { {"no-poison-system-directories", no_argument, NULL, > -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, > -+ '\0', NULL, N_("Do not warn for -L options using system directories"), > -+ TWO_DASHES }, > -+ { {"error-poison-system-directories", no_argument, NULL, > -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, > -+ '\0', NULL, N_("Give an error for -L options using system directories"), > -+ TWO_DASHES }, > - }; > - > - #define OPTION_COUNT ARRAY_SIZE (ld_options) > -@@ -555,6 +563,7 @@ parse_args (unsigned argc, char **argv) > - int ingroup = 0; > - char *default_dirlist = NULL; > - char *shortopts; > -+ char *BR_paranoid_env; > - struct option *longopts; > - struct option *really_longopts; > - int last_optind; > -@@ -1543,6 +1552,14 @@ parse_args (unsigned argc, char **argv) > - } > - break; > - > -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: > -+ command_line.poison_system_directories = FALSE; > -+ break; > -+ > -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: > -+ command_line.error_poison_system_directories = TRUE; > -+ break; > -+ > - case OPTION_PUSH_STATE: > - input_flags.pushed = xmemdup (&input_flags, > - sizeof (input_flags), > -@@ -1586,6 +1603,10 @@ parse_args (unsigned argc, char **argv) > - command_line.soname = NULL; > - } > - > -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); > -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) > -+ command_line.error_poison_system_directories = TRUE; > -+ > - while (ingroup) > - { > - lang_leave_group (); > --- > -2.14.5 > - > diff --git a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch > deleted file mode 100644 > index b80e1fa7ce..0000000000 > --- a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch > +++ /dev/null > @@ -1,41 +0,0 @@ > -From 278989f23735aa501be1052e085540c75c126dbb Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Thu, 28 Mar 2019 17:03:57 -0700 > -Subject: [PATCH] bfd: xtensa: fix shrink_dynamic_reloc_sections for > - export-dynamic > - > -shrink_dynamic_reloc_sections must remove PLT entry that was created for > -an undefined weak symbol in the presence of --export-dynamic option when > -relaxation coalesces literals pointing to that symbol. This fixes the > -following assertion: > - > - ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at > - elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections > - > -2019-03-28 Max Filippov > -bfd/ > - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add > - info->export_dynamic to the conditional. > - > -Signed-off-by: Max Filippov > ---- > - bfd/elf32-xtensa.c | 3 ++- > - 1 file changed, 2 insertions(+), 1 deletion(-) > - > -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c > -index c3df3d6db756..37ea200eea74 100644 > ---- a/bfd/elf32-xtensa.c > -+++ b/bfd/elf32-xtensa.c > -@@ -10083,7 +10083,8 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, > - && (input_section->flags & SEC_ALLOC) != 0 > - && (dynamic_symbol || bfd_link_pic (info)) > - && (!h || h->root.type != bfd_link_hash_undefweak > -- || (dynamic_symbol && bfd_link_dll (info)))) > -+ || (dynamic_symbol > -+ && (bfd_link_dll (info) || info->export_dynamic)))) > - { > - asection *srel; > - bfd_boolean is_plt = FALSE; > --- > -2.11.0 > - > diff --git a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch > deleted file mode 100644 > index ed617bcaf7..0000000000 > --- a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch > +++ /dev/null > @@ -1,294 +0,0 @@ > -From 0dbdfb7918d0b0cfcb8883b24c1291574bf5bb7c Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Tue, 2 Apr 2019 14:32:42 -0700 > -Subject: [PATCH] gas: use literals/const16 for xtensa loop relaxation > - > -Loop opcode relaxation that uses addi/addmi doesn't work well with other > -relaxations that may cause code movement. Instead of encoding fixed loop > -end offset in the relaxed sequence use l32r or a pair of const16 to load > -loop end address. This way the address of the loop end gets a relocation > -record and it gets updated appropriately. > - > -gas/ > -2019-04-02 Max Filippov > - > - * config/tc-xtensa.c (convert_frag_immed): Drop > - convert_frag_immed_finish_loop invocation. > - (convert_frag_immed_finish_loop): Drop declaration and > - definition. > - * config/xtensa-relax.c (widen_spec_list): Replace loop > - widening that uses addi/addmi with widening that uses l32r > - and const16. > - > -Signed-off-by: Max Filippov > ---- > - gas/config/tc-xtensa.c | 120 ---------------------------------------------- > - gas/config/xtensa-relax.c | 77 ++++++++++++++++++++--------- > - 2 files changed, 55 insertions(+), 142 deletions(-) > - > -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c > -index 3bdbbc931cfc..0cc06361cf6f 100644 > ---- a/gas/config/tc-xtensa.c > -+++ b/gas/config/tc-xtensa.c > -@@ -10668,7 +10668,6 @@ convert_frag_fill_nop (fragS *fragP) > - static fixS *fix_new_exp_in_seg > - (segT, subsegT, fragS *, int, int, expressionS *, int, > - bfd_reloc_code_real_type); > --static void convert_frag_immed_finish_loop (segT, fragS *, TInsn *); > - > - static void > - convert_frag_immed (segT segP, > -@@ -10910,9 +10909,6 @@ convert_frag_immed (segT segP, > - } > - } > - > -- if (expanded && xtensa_opcode_is_loop (isa, orig_tinsn.opcode) == 1) > -- convert_frag_immed_finish_loop (segP, fragP, &orig_tinsn); > -- > - if (expanded && is_direct_call_opcode (orig_tinsn.opcode)) > - { > - /* Add an expansion note on the expanded instruction. */ > -@@ -10949,122 +10945,6 @@ fix_new_exp_in_seg (segT new_seg, > - } > - > - > --/* Relax a loop instruction so that it can span loop >256 bytes. > -- > -- loop as, .L1 > -- .L0: > -- rsr as, LEND > -- wsr as, LBEG > -- addi as, as, lo8 (label-.L1) > -- addmi as, as, mid8 (label-.L1) > -- wsr as, LEND > -- isync > -- rsr as, LCOUNT > -- addi as, as, 1 > -- .L1: > -- <> > -- label: > --*/ > -- > --static void > --convert_frag_immed_finish_loop (segT segP, fragS *fragP, TInsn *tinsn) > --{ > -- TInsn loop_insn; > -- TInsn addi_insn; > -- TInsn addmi_insn; > -- unsigned long target; > -- static xtensa_insnbuf insnbuf = NULL; > -- unsigned int loop_length, loop_length_hi, loop_length_lo; > -- xtensa_isa isa = xtensa_default_isa; > -- addressT loop_offset; > -- addressT addi_offset = 9; > -- addressT addmi_offset = 12; > -- fragS *next_fragP; > -- int target_count; > -- > -- if (!insnbuf) > -- insnbuf = xtensa_insnbuf_alloc (isa); > -- > -- /* Get the loop offset. */ > -- loop_offset = get_expanded_loop_offset (tinsn->opcode); > -- > -- /* Validate that there really is a LOOP at the loop_offset. Because > -- loops are not bundleable, we can assume that the instruction will be > -- in slot 0. */ > -- tinsn_from_chars (&loop_insn, fragP->fr_opcode + loop_offset, 0); > -- tinsn_immed_from_frag (&loop_insn, fragP, 0); > -- > -- gas_assert (xtensa_opcode_is_loop (isa, loop_insn.opcode) == 1); > -- addi_offset += loop_offset; > -- addmi_offset += loop_offset; > -- > -- gas_assert (tinsn->ntok == 2); > -- if (tinsn->tok[1].X_op == O_constant) > -- target = tinsn->tok[1].X_add_number; > -- else if (tinsn->tok[1].X_op == O_symbol) > -- { > -- /* Find the fragment. */ > -- symbolS *sym = tinsn->tok[1].X_add_symbol; > -- gas_assert (S_GET_SEGMENT (sym) == segP > -- || S_GET_SEGMENT (sym) == absolute_section); > -- target = (S_GET_VALUE (sym) + tinsn->tok[1].X_add_number); > -- } > -- else > -- { > -- as_bad (_("invalid expression evaluation type %d"), tinsn->tok[1].X_op); > -- target = 0; > -- } > -- > -- loop_length = target - (fragP->fr_address + fragP->fr_fix); > -- loop_length_hi = loop_length & ~0x0ff; > -- loop_length_lo = loop_length & 0x0ff; > -- if (loop_length_lo >= 128) > -- { > -- loop_length_lo -= 256; > -- loop_length_hi += 256; > -- } > -- > -- /* Because addmi sign-extends the immediate, 'loop_length_hi' can be at most > -- 32512. If the loop is larger than that, then we just fail. */ > -- if (loop_length_hi > 32512) > -- as_bad_where (fragP->fr_file, fragP->fr_line, > -- _("loop too long for LOOP instruction")); > -- > -- tinsn_from_chars (&addi_insn, fragP->fr_opcode + addi_offset, 0); > -- gas_assert (addi_insn.opcode == xtensa_addi_opcode); > -- > -- tinsn_from_chars (&addmi_insn, fragP->fr_opcode + addmi_offset, 0); > -- gas_assert (addmi_insn.opcode == xtensa_addmi_opcode); > -- > -- set_expr_const (&addi_insn.tok[2], loop_length_lo); > -- tinsn_to_insnbuf (&addi_insn, insnbuf); > -- > -- fragP->tc_frag_data.is_insn = TRUE; > -- xtensa_insnbuf_to_chars > -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addi_offset, 0); > -- > -- set_expr_const (&addmi_insn.tok[2], loop_length_hi); > -- tinsn_to_insnbuf (&addmi_insn, insnbuf); > -- xtensa_insnbuf_to_chars > -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addmi_offset, 0); > -- > -- /* Walk through all of the frags from here to the loop end > -- and mark them as no_transform to keep them from being modified > -- by the linker. If we ever have a relocation for the > -- addi/addmi of the difference of two symbols we can remove this. */ > -- > -- target_count = 0; > -- for (next_fragP = fragP; next_fragP != NULL; > -- next_fragP = next_fragP->fr_next) > -- { > -- next_fragP->tc_frag_data.is_no_transform = TRUE; > -- if (next_fragP->tc_frag_data.is_loop_target) > -- target_count++; > -- if (target_count == 2) > -- break; > -- } > --} > -- > - > - /* A map that keeps information on a per-subsegment basis. This is > - maintained during initial assembly, but is invalid once the > -diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c > -index cb296ed85ed2..daf15d52c259 100644 > ---- a/gas/config/xtensa-relax.c > -+++ b/gas/config/xtensa-relax.c > -@@ -87,13 +87,7 @@ > - when the first and second operands are not the same as specified > - by the "| %at!=%as" precondition clause. > - {"l32i %at,%as,%imm | %at!=%as", > -- "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} > -- > -- There is special case for loop instructions here, but because we do > -- not currently have the ability to represent the difference of two > -- symbols, the conversion requires special code in the assembler to > -- write the operands of the addi/addmi pair representing the > -- difference of the old and new loop end label. */ > -+ "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} */ > - > - #include "as.h" > - #include "xtensa-isa.h" > -@@ -306,44 +300,83 @@ static string_pattern_pair widen_spec_list[] = > - {"l32i %at,%as,%imm | %at!=%as ? IsaUseConst16", > - "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm); add %at,%at,%as; l32i %at,%at,0"}, > - > -- /* This is only PART of the loop instruction. In addition, > -- hardcoded into its use is a modification of the final operand in > -- the instruction in bytes 9 and 12. */ > -- {"loop %as,%label | %as!=1 ? IsaUseLoops", > -+ /* Widening loops with literals. */ > -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", > -+ "loop %as,%LABEL;" > -+ "rsr.lend %as;" /* LEND */ > -+ "wsr.lbeg %as;" /* LBEG */ > -+ "LITERAL %label;" > -+ "l32r %as, %LITERAL;" > -+ "nop;" > -+ "wsr.lend %as;" > -+ "isync;" > -+ "rsr.lcount %as;" /* LCOUNT */ > -+ "addi %as, %as, 1;" > -+ "LABEL"}, > -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", > -+ "beqz %as,%label;" > -+ "bltz %as,%label;" > -+ "loopgtz %as,%LABEL;" > -+ "rsr.lend %as;" /* LEND */ > -+ "wsr.lbeg %as;" /* LBEG */ > -+ "LITERAL %label;" > -+ "l32r %as, %LITERAL;" > -+ "nop;" > -+ "wsr.lend %as;" > -+ "isync;" > -+ "rsr.lcount %as;" /* LCOUNT */ > -+ "addi %as, %as, 1;" > -+ "LABEL"}, > -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", > -+ "beqz %as,%label;" > -+ "loopnez %as,%LABEL;" > -+ "rsr.lend %as;" /* LEND */ > -+ "wsr.lbeg %as;" /* LBEG */ > -+ "LITERAL %label;" > -+ "l32r %as, %LITERAL;" > -+ "nop;" > -+ "wsr.lend %as;" > -+ "isync;" > -+ "rsr.lcount %as;" /* LCOUNT */ > -+ "addi %as, %as, 1;" > -+ "LABEL"}, > -+ > -+ /* Widening loops with const16. */ > -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", > - "loop %as,%LABEL;" > - "rsr.lend %as;" /* LEND */ > - "wsr.lbeg %as;" /* LBEG */ > -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ > -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ > -+ "const16 %as,HI16U(%label);" > -+ "const16 %as,LOW16U(%label);" > - "wsr.lend %as;" > - "isync;" > - "rsr.lcount %as;" /* LCOUNT */ > -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ > -+ "addi %as, %as, 1;" > - "LABEL"}, > -- {"loopgtz %as,%label | %as!=1 ? IsaUseLoops", > -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", > - "beqz %as,%label;" > - "bltz %as,%label;" > - "loopgtz %as,%LABEL;" > - "rsr.lend %as;" /* LEND */ > - "wsr.lbeg %as;" /* LBEG */ > -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ > -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ > -+ "const16 %as,HI16U(%label);" > -+ "const16 %as,LOW16U(%label);" > - "wsr.lend %as;" > - "isync;" > - "rsr.lcount %as;" /* LCOUNT */ > -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ > -+ "addi %as, %as, 1;" > - "LABEL"}, > -- {"loopnez %as,%label | %as!=1 ? IsaUseLoops", > -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", > - "beqz %as,%label;" > - "loopnez %as,%LABEL;" > - "rsr.lend %as;" /* LEND */ > - "wsr.lbeg %as;" /* LBEG */ > -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ > -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ > -+ "const16 %as,HI16U(%label);" > -+ "const16 %as,LOW16U(%label);" > - "wsr.lend %as;" > - "isync;" > - "rsr.lcount %as;" /* LCOUNT */ > -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ > -+ "addi %as, %as, 1;" > - "LABEL"}, > - > - /* Relaxing to wide branches. Order is important here. With wide > --- > -2.11.0 > - > diff --git a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch > deleted file mode 100644 > index b4bbc27b37..0000000000 > --- a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch > +++ /dev/null > @@ -1,96 +0,0 @@ > -From 471702ac4a57878a06e8167f063274cf413e548d Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Mon, 8 Apr 2019 13:47:18 -0700 > -Subject: [PATCH] xtensa: gas: put .literal_position at section start > - > -Provide literal position at the beginning of each section for literal > -space reserved by relaxations when text-section-literals or > -auto-litpools options are used. Remove code that adds fill frag to the > -literal section for every .literal_position directive to avoid creation > -of empty literal sections. > - > -Fix auto-litpools tests that got literal pool address changes. > - > -gas/ > -2019-04-11 Max Filippov > - > - * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. > - (xtensa_mark_literal_pool_location): Don't add fill frag to literal > - section that records literal pool location. > - (md_begin): Call xtensa_mark_literal_pool_location when text > - section literals or auto litpools are used. > - (xtensa_elf_section_change_hook): Call > - xtensa_mark_literal_pool_location when text section literals or > - auto litpools are used, there's no literal pool location defined > - for the current section and it's not .init or .fini. > - > -Signed-off-by: Max Filippov > ---- > - gas/config/tc-xtensa.c | 22 +++++++++------------- > - 1 file changed, 9 insertions(+), 13 deletions(-) > - > -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c > -index 0cc06361cf6f..6a80e76fed8c 100644 > ---- a/gas/config/tc-xtensa.c > -+++ b/gas/config/tc-xtensa.c > -@@ -497,6 +497,7 @@ static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset); > - static void xtensa_maybe_create_literal_pool_frag (bfd_boolean, bfd_boolean); > - static bfd_boolean auto_litpools = FALSE; > - static int auto_litpool_limit = 0; > -+static bfd_boolean xtensa_is_init_fini (segT seg); > - > - /* Alignment Functions. */ > - > -@@ -4797,7 +4798,6 @@ xtensa_mark_literal_pool_location (void) > - { > - /* Any labels pointing to the current location need > - to be adjusted to after the literal pool. */ > -- emit_state s; > - fragS *pool_location; > - > - if (use_literal_section) > -@@ -4818,19 +4818,7 @@ xtensa_mark_literal_pool_location (void) > - RELAX_LITERAL_POOL_END, NULL, 0, NULL); > - xtensa_set_frag_assembly_state (frag_now); > - > -- /* Now put a frag into the literal pool that points to this location. */ > - set_literal_pool_location (now_seg, pool_location); > -- xtensa_switch_to_non_abs_literal_fragment (&s); > -- frag_align (2, 0, 0); > -- record_alignment (now_seg, 2); > -- > -- /* Close whatever frag is there. */ > -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); > -- xtensa_set_frag_assembly_state (frag_now); > -- frag_now->tc_frag_data.literal_frag = pool_location; > -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); > -- xtensa_restore_emit_state (&s); > -- xtensa_set_frag_assembly_state (frag_now); > - } > - > - > -@@ -5334,6 +5322,9 @@ md_begin (void) > - /* Set up the assembly state. */ > - if (!frag_now->tc_frag_data.is_assembly_state_set) > - xtensa_set_frag_assembly_state (frag_now); > -+ > -+ if (!use_literal_section) > -+ xtensa_mark_literal_pool_location (); > - } > - > - > -@@ -5933,6 +5924,11 @@ xtensa_elf_section_change_hook (void) > - /* Set up the assembly state. */ > - if (!frag_now->tc_frag_data.is_assembly_state_set) > - xtensa_set_frag_assembly_state (frag_now); > -+ > -+ if (!use_literal_section > -+ && seg_info (now_seg)->tc_segment_info_data.literal_pool_loc == NULL > -+ && !xtensa_is_init_fini (now_seg)) > -+ xtensa_mark_literal_pool_location (); > - } > - > - > --- > -2.11.0 > - > diff --git a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch > deleted file mode 100644 > index 8527b66733..0000000000 > --- a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch > +++ /dev/null > @@ -1,46 +0,0 @@ > -From b17678f639f953d687d96cd52690e7cbfae50f91 Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Fri, 23 Aug 2019 22:25:55 +0900 > -Subject: [PATCH] or1k: Fix incorrect value in PLT GOT entries, causing > - infinite loop > - > -The PLT GOT entry should point to the first PLT entry which contains the > -runtime linker function. It was pointing back to the symbol PLT entry > -causing an infinite loop. > - > -I found this when testing the OpenRISC glibc port which uses the runtime > -dynamic linker. It seems other libc's we use so far have not been > -making use of the initial PLT GOT entries. > - > -bfd/ChangeLog: > - > - * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for > - PLT GOT entries. > - > -(cherry picked from commit 09f7b0de537d465fc8ed9f9433e348c1bc78aab2) > -Signed-off-by: Romain Naour > ---- > - bfd/elf32-or1k.c | 7 +++++-- > - 1 file changed, 5 insertions(+), 2 deletions(-) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 2f200b197b8..32839cfa7b6 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -2379,8 +2379,11 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, > - plt0, plt1, plt2, OR1K_JR(12)); > - > -- /* Fill in the entry in the global offset table. */ > -- bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); > -+ /* Fill in the entry in the global offset table. We initialize it to > -+ point to the top of the plt. This is done to lazy lookup the actual > -+ symbol as the first plt entry will be setup by libc to call the > -+ runtime dynamic linker. */ > -+ bfd_put_32 (output_bfd, plt_base_addr, sgot->contents + got_offset); > - > - /* Fill in the entry in the .rela.plt section. */ > - rela.r_offset = got_addr; > --- > -2.23.0 > - > diff --git a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch > deleted file mode 100644 > index f499426b70..0000000000 > --- a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch > +++ /dev/null > @@ -1,37 +0,0 @@ > -From 85dcca5997cf3822d6456a5c9c59c46b56adfbb8 Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Wed, 4 Mar 2020 14:54:27 -0800 > -Subject: [PATCH] bfd: xtensa: fix PR ld/25630 > - > -bfd/ > -2020-03-05 Max Filippov > - > - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic > - relocation sections for any removed reference to a dynamic symbol. > - > -Signed-off-by: Max Filippov > ---- > - bfd/elf32-xtensa.c | 7 +++---- > - 1 file changed, 3 insertions(+), 4 deletions(-) > - > -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c > -index 12ff9f772aaf..65e14d87940c 100644 > ---- a/bfd/elf32-xtensa.c > -+++ b/bfd/elf32-xtensa.c > -@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, > - > - if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) > - && (input_section->flags & SEC_ALLOC) != 0 > -- && (dynamic_symbol || bfd_link_pic (info)) > -- && (!h || h->root.type != bfd_link_hash_undefweak > -- || (dynamic_symbol > -- && (bfd_link_dll (info) || info->export_dynamic)))) > -+ && (dynamic_symbol > -+ || (bfd_link_pic (info) > -+ && (!h || h->root.type != bfd_link_hash_undefweak)))) > - { > - asection *srel; > - bfd_boolean is_plt = FALSE; > --- > -2.20.1 > - > diff --git a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch > deleted file mode 100644 > index 2df46c6526..0000000000 > --- a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch > +++ /dev/null > @@ -1,432 +0,0 @@ > -From c7a1d1f656c717394937a92cb970f0f4cecce128 Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Sun, 19 Apr 2020 19:04:41 -0700 > -Subject: [PATCH] xtensa: fix PR ld/25861 > - > -Introduce new relaxations XTENSA_PDIFF{8,16,32} for positive differences > -(subtracted symbol precedes diminished symbol) and XTENSA_NDIFF{8,16,32} > -for negative differences (subtracted symbol follows diminished symbol). > -Don't generate XTENSA_DIFF relocations in the assembler, generate > -XTENSA_PDIFF or XTENSA_NDIFF based on relative symbol position. > - > -Handle XTENSA_DIFF in BFD for compatibility with old object files. > -Handle XTENSA_PDIFF and XTENSA_NDIFF in BFD, treating difference value > -as unsigned. > - > -2020-04-22 Max Filippov > -bfd/ > - * bfd-in2.h: Regenerated. > - * elf32-xtensa.c (elf_howto_table): New entries for > - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. > - (elf_xtensa_reloc_type_lookup, elf_xtensa_do_reloc) > - (relax_section): Add cases for R_XTENSA_PDIFF{8,16,32} and > - R_XTENSA_NDIFF{8,16,32}. > - * libbfd.h (bfd_reloc_code_real_names): Add names for > - BFD_RELOC_XTENSA_PDIFF{8,16,32} and > - BFD_RELOC_XTENSA_NDIFF{8,16,32}. > - * reloc.c: Add documentation for BFD_RELOC_XTENSA_PDIFF{8,16,32} > - and BFD_RELOC_XTENSA_NDIFF{8,16,32}. > - > -binutils/ > - * readelf.c (is_none_reloc): Recognize > - BFD_RELOC_XTENSA_PDIFF{8,16,32} and > - BFD_RELOC_XTENSA_NDIFF{8,16,32}. > - > -gas/ > - * config/tc-xtensa.c (md_apply_fix): Replace > - BFD_RELOC_XTENSA_DIFF{8,16,32} generation with > - BFD_RELOC_XTENSA_PDIFF{8,16,32} and > - BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. > - * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 > - with BFD_RELOC_XTENSA_PDIFF16 in the expected output. > - > -include/ > - * elf/xtensa.h (elf_xtensa_reloc_type): New entries for > - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. > - > -ld/ > - * testsuite/ld-xtensa/relax-loc.d: New test definition. > - * testsuite/ld-xtensa/relax-loc.s: New test source. > - * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test. > - > -Signed-off-by: Max Filippov > ---- > -Backported from: 30ce8e47fad9b057b6d7af9e1d43061126d34d20 > - > - bfd/bfd-in2.h | 20 ++++++- > - bfd/elf32-xtensa.c | 89 +++++++++++++++++++++++++++++- > - bfd/libbfd.h | 6 ++ > - bfd/reloc.c | 24 ++++++++ > - binutils/readelf.c | 8 ++- > - gas/config/tc-xtensa.c | 12 +++- > - gas/testsuite/gas/xtensa/loc.d | 2 +- > - include/elf/xtensa.h | 6 ++ > - ld/testsuite/ld-xtensa/relax-loc.d | 7 +++ > - ld/testsuite/ld-xtensa/relax-loc.s | 15 +++++ > - ld/testsuite/ld-xtensa/xtensa.exp | 1 + > - 11 files changed, 183 insertions(+), 7 deletions(-) > - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.d > - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.s > - > -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h > -index 37114607b515..be6a30f57955 100644 > ---- a/bfd/bfd-in2.h > -+++ b/bfd/bfd-in2.h > -@@ -5217,7 +5217,9 @@ to one of its own internal functions or data structures. */ > - PLT entries. Otherwise, this is just a generic 32-bit relocation. */ > - BFD_RELOC_XTENSA_PLT, > - > --/* Xtensa relocations to mark the difference of two local symbols. > -+/* Xtensa relocations for backward compatibility. These have been replaced > -+by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. > -+Xtensa relocations to mark the difference of two local symbols. > - These are only needed to support linker relaxation and can be ignored > - when not relaxing. The field is set to the value of the difference > - assuming no relaxation. The relocation encodes the position of the > -@@ -5291,6 +5293,22 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ > - BFD_RELOC_XTENSA_TLS_ARG, > - BFD_RELOC_XTENSA_TLS_CALL, > - > -+/* Xtensa relocations to mark the difference of two local symbols. > -+These are only needed to support linker relaxation and can be ignored > -+when not relaxing. The field is set to the value of the difference > -+assuming no relaxation. The relocation encodes the position of the > -+subtracted symbol so the linker can determine whether to adjust the field > -+value. PDIFF relocations are used for positive differences, NDIFF > -+relocations are used for negative differences. The difference value > -+is treated as unsigned with these relocation types, giving full > -+8/16 value ranges. */ > -+ BFD_RELOC_XTENSA_PDIFF8, > -+ BFD_RELOC_XTENSA_PDIFF16, > -+ BFD_RELOC_XTENSA_PDIFF32, > -+ BFD_RELOC_XTENSA_NDIFF8, > -+ BFD_RELOC_XTENSA_NDIFF16, > -+ BFD_RELOC_XTENSA_NDIFF32, > -+ > - /* 8 bit signed offset in (ix+d) or (iy+d). */ > - BFD_RELOC_Z80_DISP8, > - > -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c > -index 473a9d76f289..fded42d52a9a 100644 > ---- a/bfd/elf32-xtensa.c > -+++ b/bfd/elf32-xtensa.c > -@@ -325,6 +325,20 @@ static reloc_howto_type elf_howto_table[] = > - HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, FALSE, 0, complain_overflow_dont, > - bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", > - FALSE, 0, 0, FALSE), > -+ > -+ HOWTO (R_XTENSA_PDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF8", FALSE, 0, 0xff, FALSE), > -+ HOWTO (R_XTENSA_PDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF16", FALSE, 0, 0xffff, FALSE), > -+ HOWTO (R_XTENSA_PDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF32", FALSE, 0, 0xffffffff, FALSE), > -+ > -+ HOWTO (R_XTENSA_NDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF8", FALSE, 0, 0xff, FALSE), > -+ HOWTO (R_XTENSA_NDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF16", FALSE, 0, 0xffff, FALSE), > -+ HOWTO (R_XTENSA_NDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF32", FALSE, 0, 0xffffffff, FALSE), > - }; > - > - #if DEBUG_GEN_RELOC > -@@ -364,6 +378,30 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, > - TRACE ("BFD_RELOC_XTENSA_DIFF32"); > - return &elf_howto_table[(unsigned) R_XTENSA_DIFF32 ]; > - > -+ case BFD_RELOC_XTENSA_PDIFF8: > -+ TRACE ("BFD_RELOC_XTENSA_PDIFF8"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF8 ]; > -+ > -+ case BFD_RELOC_XTENSA_PDIFF16: > -+ TRACE ("BFD_RELOC_XTENSA_PDIFF16"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF16 ]; > -+ > -+ case BFD_RELOC_XTENSA_PDIFF32: > -+ TRACE ("BFD_RELOC_XTENSA_PDIFF32"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF32 ]; > -+ > -+ case BFD_RELOC_XTENSA_NDIFF8: > -+ TRACE ("BFD_RELOC_XTENSA_NDIFF8"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF8 ]; > -+ > -+ case BFD_RELOC_XTENSA_NDIFF16: > -+ TRACE ("BFD_RELOC_XTENSA_NDIFF16"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF16 ]; > -+ > -+ case BFD_RELOC_XTENSA_NDIFF32: > -+ TRACE ("BFD_RELOC_XTENSA_NDIFF32"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF32 ]; > -+ > - case BFD_RELOC_XTENSA_RTLD: > - TRACE ("BFD_RELOC_XTENSA_RTLD"); > - return &elf_howto_table[(unsigned) R_XTENSA_RTLD ]; > -@@ -1851,6 +1889,12 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, > - case R_XTENSA_DIFF8: > - case R_XTENSA_DIFF16: > - case R_XTENSA_DIFF32: > -+ case R_XTENSA_PDIFF8: > -+ case R_XTENSA_PDIFF16: > -+ case R_XTENSA_PDIFF32: > -+ case R_XTENSA_NDIFF8: > -+ case R_XTENSA_NDIFF16: > -+ case R_XTENSA_NDIFF32: > - case R_XTENSA_TLS_FUNC: > - case R_XTENSA_TLS_ARG: > - case R_XTENSA_TLS_CALL: > -@@ -9604,7 +9648,13 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - > - if (r_type == R_XTENSA_DIFF8 > - || r_type == R_XTENSA_DIFF16 > -- || r_type == R_XTENSA_DIFF32) > -+ || r_type == R_XTENSA_DIFF32 > -+ || r_type == R_XTENSA_PDIFF8 > -+ || r_type == R_XTENSA_PDIFF16 > -+ || r_type == R_XTENSA_PDIFF32 > -+ || r_type == R_XTENSA_NDIFF8 > -+ || r_type == R_XTENSA_NDIFF16 > -+ || r_type == R_XTENSA_NDIFF32) > - { > - bfd_signed_vma diff_value = 0; > - bfd_vma new_end_offset, diff_mask = 0; > -@@ -9631,8 +9681,27 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - diff_value = > - bfd_get_signed_32 (abfd, &contents[old_source_offset]); > - break; > -+ case R_XTENSA_PDIFF8: > -+ case R_XTENSA_NDIFF8: > -+ diff_value = > -+ bfd_get_8 (abfd, &contents[old_source_offset]); > -+ break; > -+ case R_XTENSA_PDIFF16: > -+ case R_XTENSA_NDIFF16: > -+ diff_value = > -+ bfd_get_16 (abfd, &contents[old_source_offset]); > -+ break; > -+ case R_XTENSA_PDIFF32: > -+ case R_XTENSA_NDIFF32: > -+ diff_value = > -+ bfd_get_32 (abfd, &contents[old_source_offset]); > -+ break; > - } > - > -+ if (r_type >= R_XTENSA_NDIFF8 > -+ && r_type <= R_XTENSA_NDIFF32) > -+ diff_value = -diff_value; > -+ > - new_end_offset = offset_with_removed_text_map > - (&target_relax_info->action_list, > - r_rel.target_offset + diff_value); > -@@ -9655,6 +9724,24 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - bfd_put_signed_32 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > -+ case R_XTENSA_PDIFF8: > -+ case R_XTENSA_NDIFF8: > -+ diff_mask = 0xff; > -+ bfd_put_8 (abfd, diff_value, > -+ &contents[old_source_offset]); > -+ break; > -+ case R_XTENSA_PDIFF16: > -+ case R_XTENSA_NDIFF16: > -+ diff_mask = 0xffff; > -+ bfd_put_16 (abfd, diff_value, > -+ &contents[old_source_offset]); > -+ break; > -+ case R_XTENSA_PDIFF32: > -+ case R_XTENSA_NDIFF32: > -+ diff_mask = 0xffffffff; > -+ bfd_put_32 (abfd, diff_value, > -+ &contents[old_source_offset]); > -+ break; > - } > - > - /* Check for overflow. Sign bits must be all zeroes or all ones */ > -diff --git a/bfd/libbfd.h b/bfd/libbfd.h > -index 3c184fcadadf..989f4bc0b595 100644 > ---- a/bfd/libbfd.h > -+++ b/bfd/libbfd.h > -@@ -2919,6 +2919,12 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", > - "BFD_RELOC_XTENSA_TLS_FUNC", > - "BFD_RELOC_XTENSA_TLS_ARG", > - "BFD_RELOC_XTENSA_TLS_CALL", > -+ "BFD_RELOC_XTENSA_PDIFF8", > -+ "BFD_RELOC_XTENSA_PDIFF16", > -+ "BFD_RELOC_XTENSA_PDIFF32", > -+ "BFD_RELOC_XTENSA_NDIFF8", > -+ "BFD_RELOC_XTENSA_NDIFF16", > -+ "BFD_RELOC_XTENSA_NDIFF32", > - "BFD_RELOC_Z80_DISP8", > - "BFD_RELOC_Z80_BYTE0", > - "BFD_RELOC_Z80_BYTE1", > -diff --git a/bfd/reloc.c b/bfd/reloc.c > -index c4dec86d1d46..f5df8e2ab3eb 100644 > ---- a/bfd/reloc.c > -+++ b/bfd/reloc.c > -@@ -6556,6 +6556,8 @@ ENUMX > - ENUMX > - BFD_RELOC_XTENSA_DIFF32 > - ENUMDOC > -+ Xtensa relocations for backward compatibility. These have been replaced > -+ by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. > - Xtensa relocations to mark the difference of two local symbols. > - These are only needed to support linker relaxation and can be ignored > - when not relaxing. The field is set to the value of the difference > -@@ -6668,6 +6670,28 @@ ENUMX > - BFD_RELOC_XTENSA_TLS_CALL > - ENUMDOC > - Xtensa TLS relocations. > -+ENUM > -+ BFD_RELOC_XTENSA_PDIFF8 > -+ENUMX > -+ BFD_RELOC_XTENSA_PDIFF16 > -+ENUMX > -+ BFD_RELOC_XTENSA_PDIFF32 > -+ENUMX > -+ BFD_RELOC_XTENSA_NDIFF8 > -+ENUMX > -+ BFD_RELOC_XTENSA_NDIFF16 > -+ENUMX > -+ BFD_RELOC_XTENSA_NDIFF32 > -+ENUMDOC > -+ Xtensa relocations to mark the difference of two local symbols. > -+ These are only needed to support linker relaxation and can be ignored > -+ when not relaxing. The field is set to the value of the difference > -+ assuming no relaxation. The relocation encodes the position of the > -+ subtracted symbol so the linker can determine whether to adjust the field > -+ value. PDIFF relocations are used for positive differences, NDIFF > -+ relocations are used for negative differences. The difference value > -+ is treated as unsigned with these relocation types, giving full > -+ 8/16 value ranges. > - > - ENUM > - BFD_RELOC_Z80_DISP8 > -diff --git a/binutils/readelf.c b/binutils/readelf.c > -index d4756c93b345..800918f901c8 100644 > ---- a/binutils/readelf.c > -+++ b/binutils/readelf.c > -@@ -13262,7 +13262,13 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type) > - return (reloc_type == 0 /* R_XTENSA_NONE. */ > - || reloc_type == 17 /* R_XTENSA_DIFF8. */ > - || reloc_type == 18 /* R_XTENSA_DIFF16. */ > -- || reloc_type == 19 /* R_XTENSA_DIFF32. */); > -+ || reloc_type == 19 /* R_XTENSA_DIFF32. */ > -+ || reloc_type == 57 /* R_XTENSA_PDIFF8. */ > -+ || reloc_type == 58 /* R_XTENSA_PDIFF16. */ > -+ || reloc_type == 59 /* R_XTENSA_PDIFF32. */ > -+ || reloc_type == 60 /* R_XTENSA_NDIFF8. */ > -+ || reloc_type == 61 /* R_XTENSA_NDIFF16. */ > -+ || reloc_type == 62 /* R_XTENSA_NDIFF32. */); > - } > - return FALSE; > - } > -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c > -index 71d4d94a8d7d..ee75c13548ff 100644 > ---- a/gas/config/tc-xtensa.c > -+++ b/gas/config/tc-xtensa.c > -@@ -5974,18 +5974,24 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) > - case BFD_RELOC_8: > - if (fixP->fx_subsy) > - { > -+ bfd_boolean neg = S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset > -+ < S_GET_VALUE (fixP->fx_subsy); > -+ > - switch (fixP->fx_r_type) > - { > - case BFD_RELOC_8: > -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF8; > -+ fixP->fx_r_type = neg > -+ ? BFD_RELOC_XTENSA_NDIFF8 : BFD_RELOC_XTENSA_PDIFF8; > - fixP->fx_signed = 0; > - break; > - case BFD_RELOC_16: > -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF16; > -+ fixP->fx_r_type = neg > -+ ? BFD_RELOC_XTENSA_NDIFF16 : BFD_RELOC_XTENSA_PDIFF16; > - fixP->fx_signed = 0; > - break; > - case BFD_RELOC_32: > -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF32; > -+ fixP->fx_r_type = neg > -+ ? BFD_RELOC_XTENSA_NDIFF32 : BFD_RELOC_XTENSA_PDIFF32; > - fixP->fx_signed = 0; > - break; > - default: > -diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d > -index 71983cc90055..8fb3425999d5 100644 > ---- a/gas/testsuite/gas/xtensa/loc.d > -+++ b/gas/testsuite/gas/xtensa/loc.d > -@@ -6,5 +6,5 @@ > - > - RELOCATION RECORDS FOR \[\.debug_line\]: > - #... > --.*R_XTENSA_DIFF16.*\.text\+0x00009c42 > -+.*R_XTENSA_PDIFF16.*\.text\+0x00009c42 > - #... > -diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h > -index 2eb5e4e52941..bd5c80d13777 100644 > ---- a/include/elf/xtensa.h > -+++ b/include/elf/xtensa.h > -@@ -87,6 +87,12 @@ START_RELOC_NUMBERS (elf_xtensa_reloc_type) > - RELOC_NUMBER (R_XTENSA_TLS_FUNC, 54) > - RELOC_NUMBER (R_XTENSA_TLS_ARG, 55) > - RELOC_NUMBER (R_XTENSA_TLS_CALL, 56) > -+ RELOC_NUMBER (R_XTENSA_PDIFF8, 57) > -+ RELOC_NUMBER (R_XTENSA_PDIFF16, 58) > -+ RELOC_NUMBER (R_XTENSA_PDIFF32, 59) > -+ RELOC_NUMBER (R_XTENSA_NDIFF8, 60) > -+ RELOC_NUMBER (R_XTENSA_NDIFF16, 61) > -+ RELOC_NUMBER (R_XTENSA_NDIFF32, 62) > - END_RELOC_NUMBERS (R_XTENSA_max) > - > - /* Processor-specific flags for the ELF header e_flags field. */ > -diff --git a/ld/testsuite/ld-xtensa/relax-loc.d b/ld/testsuite/ld-xtensa/relax-loc.d > -new file mode 100644 > -index 000000000000..3c8d673732ff > ---- /dev/null > -+++ b/ld/testsuite/ld-xtensa/relax-loc.d > -@@ -0,0 +1,7 @@ > -+#as: --text-section-literals > -+#ld: > -+#objdump: --dwarf=decodedline > -+#... > -+relax-loc.s[ ]+1[ ]+0x400054[ ]+.* > -+relax-loc.s[ ]+2[ ]+0x40005c[ ]+.* > -+#... > -diff --git a/ld/testsuite/ld-xtensa/relax-loc.s b/ld/testsuite/ld-xtensa/relax-loc.s > -new file mode 100644 > -index 000000000000..d768470e287a > ---- /dev/null > -+++ b/ld/testsuite/ld-xtensa/relax-loc.s > -@@ -0,0 +1,15 @@ > -+ .file 1 "relax-loc.s" > -+ .globl _start > -+ .globl _ResetVector > -+ .text > -+_ResetVector: > -+_start: > -+ .loc 1 1 > -+ j 1f > -+ .literal_position > -+1: > -+ .loc 1 2 > -+ > -+ .rep 10000 > -+ movi a2, 0x12345678 > -+ .endr > -diff --git a/ld/testsuite/ld-xtensa/xtensa.exp b/ld/testsuite/ld-xtensa/xtensa.exp > -index 9b2235b2151b..de39887936ad 100644 > ---- a/ld/testsuite/ld-xtensa/xtensa.exp > -+++ b/ld/testsuite/ld-xtensa/xtensa.exp > -@@ -27,6 +27,7 @@ run_dump_test "call_overflow" > - run_dump_test "coalesce" > - run_dump_test "diff_overflow" > - run_dump_test "lcall" > -+run_dump_test "relax-loc" > - > - run_dump_test "relax-static-pie" > - run_dump_test "relax-static-local-pie" > --- > -2.20.1 > - > diff --git a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch > deleted file mode 100644 > index 28f17d7c56..0000000000 > --- a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch > +++ /dev/null > @@ -1,128 +0,0 @@ > -From 735321812435ae278d3766a3371f55937dc776d6 Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Sat, 25 Apr 2020 00:40:25 -0700 > -Subject: [PATCH] xtensa: fix XTENSA_NDIFF handling for PR ld/25861 > - > -Fields marked with XTENSA_NDIFF relocations are not negated, they only > -have sign bits removed. Don't negate their values when relaxation is > -performed. Don't add sign bits when the value is zero. Report overflow > -when the result has negative sign but all significant bits are zero. > - > -2020-04-29 Max Filippov > -bfd/ > - * elf32-xtensa.c (relax_section): Don't negate diff_value for > - XTENSA_NDIFF relocations. Don't add sign bits whe diff_value > - equals 0. Report overflow when the result has negative sign but > - all significant bits are zero. > - > -Signed-off-by: Max Filippov > -Backported from: d548f47df4d2e3d117d504a4c9977982c78a0556 > ---- > - > - bfd/elf32-xtensa.c | 26 +++++++++++++++----------- > - 1 file changed, 15 insertions(+), 11 deletions(-) > - > -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c > -index fded42d52a9a..4327b027911f 100644 > ---- a/bfd/elf32-xtensa.c > -+++ b/bfd/elf32-xtensa.c > -@@ -9670,37 +9670,44 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - switch (r_type) > - { > - case R_XTENSA_DIFF8: > -+ diff_mask = 0x7f; > - diff_value = > - bfd_get_signed_8 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_DIFF16: > -+ diff_mask = 0x7fff; > - diff_value = > - bfd_get_signed_16 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_DIFF32: > -+ diff_mask = 0x7fffffff; > - diff_value = > - bfd_get_signed_32 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF8: > - case R_XTENSA_NDIFF8: > -+ diff_mask = 0xff; > - diff_value = > - bfd_get_8 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF16: > - case R_XTENSA_NDIFF16: > -+ diff_mask = 0xffff; > - diff_value = > - bfd_get_16 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF32: > - case R_XTENSA_NDIFF32: > -+ diff_mask = 0xffffffff; > - diff_value = > - bfd_get_32 (abfd, &contents[old_source_offset]); > - break; > - } > - > - if (r_type >= R_XTENSA_NDIFF8 > -- && r_type <= R_XTENSA_NDIFF32) > -- diff_value = -diff_value; > -+ && r_type <= R_XTENSA_NDIFF32 > -+ && diff_value) > -+ diff_value |= ~diff_mask; > - > - new_end_offset = offset_with_removed_text_map > - (&target_relax_info->action_list, > -@@ -9710,43 +9717,40 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - switch (r_type) > - { > - case R_XTENSA_DIFF8: > -- diff_mask = 0x7f; > - bfd_put_signed_8 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_DIFF16: > -- diff_mask = 0x7fff; > - bfd_put_signed_16 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_DIFF32: > -- diff_mask = 0x7fffffff; > - bfd_put_signed_32 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF8: > - case R_XTENSA_NDIFF8: > -- diff_mask = 0xff; > - bfd_put_8 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF16: > - case R_XTENSA_NDIFF16: > -- diff_mask = 0xffff; > - bfd_put_16 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF32: > - case R_XTENSA_NDIFF32: > -- diff_mask = 0xffffffff; > - bfd_put_32 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - } > - > -- /* Check for overflow. Sign bits must be all zeroes or all ones */ > -- if ((diff_value & ~diff_mask) != 0 && > -- (diff_value & ~diff_mask) != (-1 & ~diff_mask)) > -+ /* Check for overflow. Sign bits must be all zeroes or > -+ all ones. When sign bits are all ones diff_value > -+ may not be zero. */ > -+ if (((diff_value & ~diff_mask) != 0 > -+ && (diff_value & ~diff_mask) != ~diff_mask) > -+ || (diff_value && (bfd_vma) diff_value == ~diff_mask)) > - { > - (*link_info->callbacks->reloc_dangerous) > - (link_info, _("overflow after relaxation"), > --- > -2.20.1 > - > diff --git a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch > deleted file mode 100644 > index a67d12789e..0000000000 > --- a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch > +++ /dev/null > @@ -1,59 +0,0 @@ > -From 788cda9f9447e0fe67e582e8fb5adafd678d08b2 Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 May 2021 06:02:14 +0900 > -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls > - > -When building protobuf we were seeing the assert failure: > - > - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: > - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 > - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: > - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 > - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: > - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 > - collect2: error: ld returned 1 exit status > - > -This failure happens while writing out PLT entries, there is a check > -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic > -symbol attributes. This was failing for symbols that were > -"forced_local" in previous linking code. > - > -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify > -"forced_local" symbols and exclude them from the the PLT. > - > -bfd/ChangeLog: > - > - PR 27624 > - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change > - condition used to cleanup plt entries to cleanup forced local > - entries. > - > -Cc: Giulio Benetti > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 9 ++++----- > - 1 file changed, 4 insertions(+), 5 deletions(-) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 2f200b197b8..1f2c88b0b3a 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, > - if (h->type == STT_FUNC > - || h->needs_plt) > - { > -- if (! bfd_link_pic (info) > -- && !h->def_dynamic > -- && !h->ref_dynamic > -- && h->root.type != bfd_link_hash_undefweak > -- && h->root.type != bfd_link_hash_undefined) > -+ if (h->plt.refcount <= 0 > -+ || (SYMBOL_CALLS_LOCAL (info, h) > -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT > -+ && h->root.type == bfd_link_hash_undefweak))) > - { > - /* This case can occur if we saw a PLT reloc in an input > - file, but the symbol was never referred to by a dynamic > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch > deleted file mode 100644 > index 5a2b91fe8e..0000000000 > --- a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch > +++ /dev/null > @@ -1,256 +0,0 @@ > -From b10e6230dea0015bf3b7748580b82c551f9a3a4a Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 May 2021 06:02:15 +0900 > -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() > - > -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when > -using the -mcmodel=large option. This relocation is used along with > -got() to generate 32-bit GOT offsets. This increases the previous GOT > -offset limit from the previous 16-bit (64K) limit. > - > -This is needed on large binaries where the GOT grows larger than 64k. > - > -bfd/ChangeLog: > - > - PR 21464 > - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. > - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. > - (or1k_final_link_relocate, or1k_elf_relocate_section, > - or1k_elf_check_relocs): Likewise. > - * libbfd.h (bfd_reloc_code_real_names): Likewise. > - * reloc.c: Likewise. > - > -cpu/ChangeLog: > - > - PR 21464 > - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic > - for gotha() relocation. > - > -include/ChangeLog: > - > - PR 21464 > - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. > - > -opcodes/ChangeLog: > - > - PR 21464 > - * or1k-asm.c: Regenerate. > - > -gas/ChangeLog: > - > - PR 21464 > - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. > - * testsuite/gas/or1k/reloc-1.d: Add test result for new > - relocation. > - > -Cc: Giulio Benetti > - > -fixup reloc, add tests > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/bfd-in2.h | 1 + > - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- > - bfd/libbfd.h | 1 + > - bfd/reloc.c | 2 ++ > - cpu/or1k.opc | 7 ++++++- > - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- > - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ > - include/elf/or1k.h | 1 + > - opcodes/or1k-asm.c | 7 ++++++- > - 9 files changed, 44 insertions(+), 4 deletions(-) > - > -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h > -index e25da50aafb..530a41fca43 100644 > ---- a/bfd/bfd-in2.h > -+++ b/bfd/bfd-in2.h > -@@ -5517,6 +5517,7 @@ then it may be truncated to 8 bits. */ > - BFD_RELOC_OR1K_TLS_TPOFF, > - BFD_RELOC_OR1K_TLS_DTPOFF, > - BFD_RELOC_OR1K_TLS_DTPMOD, > -+ BFD_RELOC_OR1K_GOT_AHI16, > - > - /* H8 elf Relocations. */ > - BFD_RELOC_H8_DIR16A8, > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 1f2c88b0b3a..a4a64f73b7c 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = > - 0, /* Source Mask. */ > - 0x03ffffff, /* Dest Mask. */ > - TRUE), /* PC relative offset? */ > -+ > -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ > -+ 16, /* rightshift */ > -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ > -+ 16, /* bitsize */ > -+ FALSE, /* pc_relative */ > -+ 0, /* bitpos */ > -+ complain_overflow_signed, /* complain_on_overflow */ > -+ bfd_elf_generic_reloc, /* special_function */ > -+ "R_OR1K_GOT_AHI16", /* name */ > -+ FALSE, /* partial_inplace */ > -+ 0, /* src_mask */ > -+ 0xffff, /* dst_mask */ > -+ FALSE), /* pcrel_offset */ > - }; > - > - /* Map BFD reloc types to Or1k ELF reloc types. */ > -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = > - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, > - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, > - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, > -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, > - }; > - > - #define TLS_UNKNOWN 0 > -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, > - switch (howto->type) > - { > - case R_OR1K_AHI16: > -+ case R_OR1K_GOT_AHI16: > - case R_OR1K_GOTOFF_AHI16: > - case R_OR1K_TLS_IE_AHI16: > - case R_OR1K_TLS_LE_AHI16: > -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, > - } > - break; > - > -+ case R_OR1K_GOT_AHI16: > - case R_OR1K_GOT16: > - case R_OR1K_GOT_PG21: > - case R_OR1K_GOT_LO13: > -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, > - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, > - while the GOT16 reloc is GOT relative. */ > - relocation = got_base + off; > -- if (r_type == R_OR1K_GOT16) > -+ if (r_type == R_OR1K_GOT16 > -+ || r_type == R_OR1K_GOT_AHI16) > - relocation -= got_sym_value; > - > - /* Addend should be zero. */ > -@@ -1945,6 +1963,7 @@ or1k_elf_check_relocs (bfd *abfd, > - } > - break; > - > -+ case R_OR1K_GOT_AHI16: > - case R_OR1K_GOT16: > - case R_OR1K_GOT_PG21: > - case R_OR1K_GOT_LO13: > -diff --git a/bfd/libbfd.h b/bfd/libbfd.h > -index 36284d71a9b..6e9e3190bb8 100644 > ---- a/bfd/libbfd.h > -+++ b/bfd/libbfd.h > -@@ -2702,6 +2702,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", > - "BFD_RELOC_OR1K_TLS_TPOFF", > - "BFD_RELOC_OR1K_TLS_DTPOFF", > - "BFD_RELOC_OR1K_TLS_DTPMOD", > -+ "BFD_RELOC_OR1K_GOT_AHI16", > - "BFD_RELOC_H8_DIR16A8", > - "BFD_RELOC_H8_DIR16R8", > - "BFD_RELOC_H8_DIR24A8", > -diff --git a/bfd/reloc.c b/bfd/reloc.c > -index e6446a78098..b0003ab1175 100644 > ---- a/bfd/reloc.c > -+++ b/bfd/reloc.c > -@@ -6164,6 +6164,8 @@ ENUMX > - BFD_RELOC_OR1K_GOTPC_HI16 > - ENUMX > - BFD_RELOC_OR1K_GOTPC_LO16 > -+ENUMX > -+ BFD_RELOC_OR1K_GOT_AHI16 > - ENUMX > - BFD_RELOC_OR1K_GOT16 > - ENUMX > -diff --git a/cpu/or1k.opc b/cpu/or1k.opc > -index 5082a30cee1..85163fc96c9 100644 > ---- a/cpu/or1k.opc > -+++ b/cpu/or1k.opc > -@@ -173,7 +173,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { > - BFD_RELOC_OR1K_GOT_LO13, > - BFD_RELOC_UNUSED, > - BFD_RELOC_UNUSED, > -- BFD_RELOC_UNUSED }, > -+ BFD_RELOC_OR1K_GOT_AHI16 }, > - { BFD_RELOC_OR1K_GOTPC_LO16, > - BFD_RELOC_UNUSED, > - BFD_RELOC_UNUSED, > -@@ -276,6 +276,11 @@ parse_reloc (const char **strp) > - str += 5; > - cls = RCLASS_TPOFF; > - } > -+ else if (strncasecmp (str, "got", 3) == 0) > -+ { > -+ str += 3; > -+ cls = RCLASS_GOT; > -+ } > - > - if (strncasecmp (str, "hi(", 3) == 0) > - { > -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d > -index d1bcf5608bb..3a001c4ed99 100644 > ---- a/gas/testsuite/gas/or1k/reloc-1.d > -+++ b/gas/testsuite/gas/or1k/reloc-1.d > -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE > - 000000ec R_OR1K_LO13 x > - 000000f0 R_OR1K_GOT_LO13 x > - 000000f4 R_OR1K_SLO13 x > -- > -+000000f8 R_OR1K_GOT_AHI16 x > -+000000fc R_OR1K_GOT_AHI16 x > -+00000100 R_OR1K_GOT_AHI16 x > - > -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s > -index e76abef6532..562609aa869 100644 > ---- a/gas/testsuite/gas/or1k/reloc-1.s > -+++ b/gas/testsuite/gas/or1k/reloc-1.s > -@@ -74,3 +74,7 @@ > - l.lbz r5,po(x)(r3) > - l.lbz r5,gotpo(x)(r3) > - l.sb po(x)(r3),r6 > -+ > -+ l.movhi r4,gotha(x) > -+ l.ori r3,r4,gotha(x) > -+ l.addi r3,r4,gotha(x) > -diff --git a/include/elf/or1k.h b/include/elf/or1k.h > -index 0abef046202..7db3cad18eb 100644 > ---- a/include/elf/or1k.h > -+++ b/include/elf/or1k.h > -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) > - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) > - RELOC_NUMBER (R_OR1K_SLO13, 52) > - RELOC_NUMBER (R_OR1K_PLTA26, 53) > -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) > - END_RELOC_NUMBERS (R_OR1K_max) > - > - #define EF_OR1K_NODELAY (1UL << 0) > -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c > -index 7d058d03f5f..332f4b7a9b5 100644 > ---- a/opcodes/or1k-asm.c > -+++ b/opcodes/or1k-asm.c > -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { > - BFD_RELOC_OR1K_GOT_LO13, > - BFD_RELOC_UNUSED, > - BFD_RELOC_UNUSED, > -- BFD_RELOC_UNUSED }, > -+ BFD_RELOC_OR1K_GOT_AHI16 }, > - { BFD_RELOC_OR1K_GOTPC_LO16, > - BFD_RELOC_UNUSED, > - BFD_RELOC_UNUSED, > -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) > - str += 5; > - cls = RCLASS_TPOFF; > - } > -+ else if (strncasecmp (str, "got", 3) == 0) > -+ { > -+ str += 3; > -+ cls = RCLASS_GOT; > -+ } > - > - if (strncasecmp (str, "hi(", 3) == 0) > - { > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch > deleted file mode 100644 > index adc6f5f8b9..0000000000 > --- a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch > +++ /dev/null > @@ -1,61 +0,0 @@ > -From 0f61f76454a9420f158f626cb09a4fbc08c3709e Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 May 2021 06:02:16 +0900 > -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence > - of R_OR1K_GOT_AHI16 > - > -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 > -overflow validation check if the section has R_OR1K_GOT_AHI16. > - > -We cannot simple disable R_OR1K_GOT16 overflow validation as there will > -still be binaries that will have only R_OR1K_GOT16. The > -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with > -the option -mcmodel=large. > - > -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which > -is the code pattern that will be emitted by GCC. > - > -bfd/ChangeLog: > - > - PR 21464 > - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 > - overflow check if we have R_OR1K_GOT_AHI16 followed by > - R_OR1K_GOT16. > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 11 +++++++++++ > - 1 file changed, 11 insertions(+) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index a4a64f73b7c..07fff3602a3 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, > - asection *sgot, *splt; > - bfd_vma plt_base, got_base, got_sym_value; > - bfd_boolean ret_val = TRUE; > -+ bfd_boolean saw_gotha = FALSE; > - > - if (htab == NULL) > - return FALSE; > -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, > - || r_type == R_OR1K_GOT_AHI16) > - relocation -= got_sym_value; > - > -+ if (r_type == R_OR1K_GOT_AHI16) > -+ saw_gotha = TRUE; > -+ > -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 > -+ relocation we assume the code is doing the right thing to avoid > -+ overflows. Here we mask the lower 16-bit of the relocation to > -+ avoid overflow validation failures. */ > -+ if (r_type == R_OR1K_GOT16 && saw_gotha) > -+ relocation &= 0xffff; > -+ > - /* Addend should be zero. */ > - if (rel->r_addend != 0) > - { > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch > deleted file mode 100644 > index dc0431e0af..0000000000 > --- a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch > +++ /dev/null > @@ -1,500 +0,0 @@ > -From 36c7de7ef77ab0c30cb33e2c7ea7a6f4e3052c73 Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 May 2021 06:02:17 +0900 > -Subject: [PATCH] or1k: Support large plt_relocs when generating plt > - entries > - > -The current PLT generation code will generate invalid code when the PLT > -relocation offset exceeds 64k. This fixes the issue by detecting large > -plt_reloc offsets and generare code sequences to create larger plt > -relocations. > - > -The "large" plt code needs 2 extra instructions to create 32-bit offsets. > - > -bfd/ChangeLog: > - > - PR 27746 > - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, > - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. > - (elf_or1k_link_hash_table): New field plt_count. > - (elf_or1k_link_hash_entry): New field plt_index. > - (elf_or1k_plt_entry_size): New function. > - (or1k_write_plt_entry): Update to support variable size PLTs. > - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry > - API. > - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs > - when needed. > - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for > - PLT size. > - > -ld/ChangeLog: > - > - PR 27746 > - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking > - along with gotha() relocations. > - testsuite/ld-or1k/gotha1.dd: New file. > - testsuite/ld-or1k/gotha1.s: New file. > - testsuite/ld-or1k/gotha2.dd: New file. > - testsuite/ld-or1k/gotha2.s: New file > - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link > - failure. > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- > - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ > - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ > - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ > - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ > - ld/testsuite/ld-or1k/or1k.exp | 8 ++ > - ld/testsuite/ld-or1k/pltlib.s | 1 + > - 7 files changed, 220 insertions(+), 39 deletions(-) > - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd > - create mode 100644 ld/testsuite/ld-or1k/gotha1.s > - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd > - create mode 100644 ld/testsuite/ld-or1k/gotha2.s > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 07fff3602a3..fcebbe5f23a 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -30,10 +30,14 @@ > - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) > - > - #define PLT_ENTRY_SIZE 16 > -+#define PLT_ENTRY_SIZE_LARGE (6*4) > -+#define PLT_MAX_INSN_COUNT 6 > - > - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) > - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) > - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) > -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) > -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) > - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) > - #define OR1K_JR(B) (0x44000000 | (B << 11)) > - #define OR1K_NOP 0x15000000 > -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry > - /* Track dynamic relocs copied for this symbol. */ > - struct elf_dyn_relocs *dyn_relocs; > - > -+ /* For calculating PLT size. */ > -+ bfd_vma plt_index; > - /* Track type of TLS access. */ > - unsigned char tls_type; > - }; > -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table > - /* Small local sym to section mapping cache. */ > - struct sym_cache sym_sec; > - > -+ bfd_vma plt_count; > - bfd_boolean saw_plta; > - }; > - > -+static size_t > -+elf_or1k_plt_entry_size (bfd_vma plt_index) > -+{ > -+ bfd_vma plt_reloc; > -+ > -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); > -+ > -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; > -+} > -+ > - /* Get the ELF linker hash table from a link_info structure. */ > - #define or1k_elf_hash_table(p) \ > - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ > -@@ -2176,33 +2193,46 @@ or1k_elf_check_relocs (bfd *abfd, > - } > - > - static void > --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, > -- unsigned insn2, unsigned insn3, unsigned insnj) > -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, > -+ unsigned insns[], size_t insn_count) > - { > - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; > -- unsigned insn4; > -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; > -+ > -+ /* Copy instructions into the output buffer. */ > -+ for (size_t i = 0; i < insn_count; i++) > -+ output_insns[i] = insns[i]; > - > - /* Honor the no-delay-slot setting. */ > -- if (insn3 == OR1K_NOP) > -+ if (insns[insn_count-1] == OR1K_NOP) > - { > -- insn4 = insn3; > -+ unsigned slot1, slot2; > -+ > - if (nodelay) > -- insn3 = insnj; > -+ slot1 = insns[insn_count-2], slot2 = insnj; > - else > -- insn3 = insn2, insn2 = insnj; > -+ slot1 = insnj, slot2 = insns[insn_count-2]; > -+ > -+ output_insns[insn_count-2] = slot1; > -+ output_insns[insn_count-1] = slot2; > -+ output_insns[insn_count] = OR1K_NOP; > - } > - else > - { > -+ unsigned slot1, slot2; > -+ > - if (nodelay) > -- insn4 = insnj; > -+ slot1 = insns[insn_count-1], slot2 = insnj; > - else > -- insn4 = insn3, insn3 = insnj; > -+ slot1 = insnj, slot2 = insns[insn_count-1]; > -+ > -+ output_insns[insn_count-1] = slot1; > -+ output_insns[insn_count] = slot2; > - } > - > -- bfd_put_32 (output_bfd, insn1, contents); > -- bfd_put_32 (output_bfd, insn2, contents + 4); > -- bfd_put_32 (output_bfd, insn3, contents + 8); > -- bfd_put_32 (output_bfd, insn4, contents + 12); > -+ /* Write out the output buffer. */ > -+ for (size_t i = 0; i < (insn_count+1); i++) > -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); > - } > - > - /* Finish up the dynamic sections. */ > -@@ -2269,7 +2299,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, > - splt = htab->root.splt; > - if (splt && splt->size > 0) > - { > -- unsigned plt0, plt1, plt2; > -+ unsigned plt[PLT_MAX_INSN_COUNT]; > -+ size_t plt_insn_count = 3; > - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; > - > - /* Note we force 16 byte alignment on the .got, so that > -@@ -2280,27 +2311,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, > - bfd_vma pc = splt->output_section->vma + splt->output_offset; > - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; > - unsigned po = got_addr & 0x1fff; > -- plt0 = OR1K_ADRP(12) | pa; > -- plt1 = OR1K_LWZ(15,12) | (po + 8); > -- plt2 = OR1K_LWZ(12,12) | (po + 4); > -+ plt[0] = OR1K_ADRP(12) | pa; > -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); > -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); > - } > - else if (bfd_link_pic (info)) > - { > -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ > -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ > -- plt2 = OR1K_NOP; > -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ > -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ > -+ plt[2] = OR1K_NOP; > - } > - else > - { > - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; > - unsigned lo = got_addr & 0xffff; > -- plt0 = OR1K_MOVHI(12) | ha; > -- plt1 = OR1K_LWZ(15,12) | (lo + 8); > -- plt2 = OR1K_LWZ(12,12) | (lo + 4); > -+ plt[0] = OR1K_MOVHI(12) | ha; > -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); > -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); > - } > - > -- or1k_write_plt_entry (output_bfd, splt->contents, > -- plt0, plt1, plt2, OR1K_JR(15)); > -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), > -+ plt, plt_insn_count); > - > - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; > - } > -@@ -2343,7 +2374,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - > - if (h->plt.offset != (bfd_vma) -1) > - { > -- unsigned int plt0, plt1, plt2; > -+ unsigned int plt[PLT_MAX_INSN_COUNT]; > -+ size_t plt_insn_count = 3; > - asection *splt; > - asection *sgot; > - asection *srela; > -@@ -2355,6 +2387,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - bfd_vma got_offset; > - bfd_vma got_addr; > - Elf_Internal_Rela rela; > -+ bfd_boolean large_plt_entry; > - > - /* This symbol has an entry in the procedure linkage table. Set > - it up. */ > -@@ -2372,10 +2405,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - corresponds to this symbol. This is the index of this symbol > - in all the symbols for which we are making plt entries. The > - first entry in the procedure linkage table is reserved. */ > -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; > -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; > - plt_addr = plt_base_addr + h->plt.offset; > - plt_reloc = plt_index * sizeof (Elf32_External_Rela); > - > -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) > -+ == PLT_ENTRY_SIZE_LARGE); > -+ > - /* Get the offset into the .got table of the entry that > - corresponds to this function. Each .got entry is 4 bytes. > - The first three are reserved. */ > -@@ -2387,27 +2423,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - { > - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; > - unsigned po = (got_addr & 0x1fff); > -- plt0 = OR1K_ADRP(12) | pa; > -- plt1 = OR1K_LWZ(12,12) | po; > -- plt2 = OR1K_ORI0(11) | plt_reloc; > -+ plt[0] = OR1K_ADRP(12) | pa; > -+ plt[1] = OR1K_LWZ(12,12) | po; > -+ plt[2] = OR1K_ORI0(11) | plt_reloc; > - } > - else if (bfd_link_pic (info)) > - { > -- plt0 = OR1K_LWZ(12,16) | got_offset; > -- plt1 = OR1K_ORI0(11) | plt_reloc; > -- plt2 = OR1K_NOP; > -+ if (large_plt_entry) > -+ { > -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; > -+ unsigned got = got_offset & 0xffff; > -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; > -+ unsigned pltrello = plt_reloc & 0xffff; > -+ > -+ plt[0] = OR1K_MOVHI(12) | gotha; > -+ plt[1] = OR1K_ADD(12,12,16); > -+ plt[2] = OR1K_LWZ(12,12) | got; > -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; > -+ plt[4] = OR1K_ORI(11,11) | pltrello; > -+ plt_insn_count = 5; > -+ } > -+ else > -+ { > -+ plt[0] = OR1K_LWZ(12,16) | got_offset; > -+ plt[1] = OR1K_ORI0(11) | plt_reloc; > -+ plt[2] = OR1K_NOP; > -+ } > - } > - else > - { > - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; > - unsigned lo = got_addr & 0xffff; > -- plt0 = OR1K_MOVHI(12) | ha; > -- plt1 = OR1K_LWZ(12,12) | lo; > -- plt2 = OR1K_ORI0(11) | plt_reloc; > -+ plt[0] = OR1K_MOVHI(12) | ha; > -+ plt[1] = OR1K_LWZ(12,12) | lo; > -+ plt[2] = OR1K_ORI0(11) | plt_reloc; > -+ } > -+ > -+ /* For large code model we fixup the non-PIC PLT relocation instructions > -+ here. */ > -+ if (large_plt_entry && !bfd_link_pic (info)) > -+ { > -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; > -+ unsigned pltrello = plt_reloc & 0xffff; > -+ > -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; > -+ plt[3] = OR1K_ORI(11,11) | pltrello; > -+ plt[4] = OR1K_NOP; > -+ plt_insn_count = 5; > - } > - > - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, > -- plt0, plt1, plt2, OR1K_JR(12)); > -+ OR1K_JR(12), plt, plt_insn_count); > - > - /* Fill in the entry in the global offset table. */ > - bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); > -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) > - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) > - { > - asection *s = htab->root.splt; > -+ bfd_vma plt_index; > -+ > -+ /* Track the index of our plt entry for use in calculating size. */ > -+ plt_index = htab->plt_count++; > -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; > - > - /* If this is the first .plt entry, make room for the special > - first entry. */ > - if (s->size == 0) > -- s->size = PLT_ENTRY_SIZE; > -+ s->size = elf_or1k_plt_entry_size (plt_index); > - > - h->plt.offset = s->size; > - > -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) > - } > - > - /* Make room for this entry. */ > -- s->size += PLT_ENTRY_SIZE; > -+ s->size += elf_or1k_plt_entry_size (plt_index); > - > - /* We also need to make an entry in the .got.plt section, which > - will be placed in the .got section by the linker script. */ > -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd > -new file mode 100644 > -index 00000000000..0ad1f8f5399 > ---- /dev/null > -+++ b/ld/testsuite/ld-or1k/gotha1.dd > -@@ -0,0 +1,34 @@ > -+ > -+.*\.x: file format elf32-or1k > -+ > -+ > -+Disassembly of section \.plt: > -+ > -+[0-9a-f]+ <\.plt>: > -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 > -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) > -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 > -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) > -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 > -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) > -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 > -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 > -+ > -+Disassembly of section \.text: > -+ > -+[0-9a-f]+ <_start>: > -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 > -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 > -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> > -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 > -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ > -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 > -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 > -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 > -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) > -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) > -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> > -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 > -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) > -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 > -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 > -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s > -new file mode 100644 > -index 00000000000..42b16db425c > ---- /dev/null > -+++ b/ld/testsuite/ld-or1k/gotha1.s > -@@ -0,0 +1,24 @@ > -+ .data > -+ .p2align 16 > -+ > -+ .text > -+ .globl _start > -+_start: > -+ l.addi r1, r1, -4 > -+ l.sw 0(r1), r9 > -+ > -+ l.jal 8 > -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) > -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) > -+ l.add r19, r19, r9 > -+ > -+ l.movhi r17, gotha(x) > -+ l.add r17, r17, r19 > -+ l.lwz r17, got(x)(r17) > -+ l.lwz r3, 0(r17) > -+ > -+ l.jal plt(func) > -+ l.nop > -+ l.lwz r9, 0(r1) > -+ l.jr r9 > -+ l.addi r1, r1, 4 > -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd > -new file mode 100644 > -index 00000000000..fe09da5466b > ---- /dev/null > -+++ b/ld/testsuite/ld-or1k/gotha2.dd > -@@ -0,0 +1,21 @@ > -+ > -+.*\.x: file format elf32-or1k > -+ > -+ > -+Disassembly of section \.text: > -+ > -+[0-9a-f]+ : > -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 > -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 > -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 > -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ > -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 > -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ > -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 > -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 > -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 > -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) > -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) > -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) > -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 > -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 > -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s > -new file mode 100644 > -index 00000000000..164b282f2dd > ---- /dev/null > -+++ b/ld/testsuite/ld-or1k/gotha2.s > -@@ -0,0 +1,22 @@ > -+ .section .text > -+ .align 4 > -+ .global test > -+ .type test, @function > -+test: > -+ l.addi r1, r1, -8 > -+ l.sw 0(r1), r16 > -+ l.sw 4(r1), r9 > -+ > -+ l.jal 8 > -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) > -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) > -+ l.add r16, r16, r9 > -+ > -+ l.movhi r17, gotha(i) > -+ l.add r17, r17, r16 > -+ l.lwz r17, got(i)(r17) > -+ > -+ l.lwz r9, 4(r1) > -+ l.lwz r16, 0(r1) > -+ l.jr r9 > -+ l.addi r1, r1, 8 > -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp > -index 24cdbe5fbf3..9cebc49b946 100644 > ---- a/ld/testsuite/ld-or1k/or1k.exp > -+++ b/ld/testsuite/ld-or1k/or1k.exp > -@@ -53,6 +53,14 @@ set or1kplttests { > - "" {plt1.s} > - {{objdump -dr plt1.x.dd}} > - "plt1.x"} > -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" > -+ "" {gotha1.s} > -+ {{objdump -dr gotha1.dd}} > -+ "gotha1.x"} > -+ {"gotha -fpic -shared" "-fpic -shared" "" > -+ "" {gotha2.s} > -+ {{objdump -dr gotha2.dd}} > -+ "gotha2.x"} > - } > - > - # Not implemented yet > -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s > -index baf76ca1af7..8b4d7ba48fd 100644 > ---- a/ld/testsuite/ld-or1k/pltlib.s > -+++ b/ld/testsuite/ld-or1k/pltlib.s > -@@ -1,5 +1,6 @@ > - .section .data > - .globl x, y > -+ .size x, 4 > - x: .long 33 > - y: .long 44 > - > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch > deleted file mode 100644 > index c3978e22fa..0000000000 > --- a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch > +++ /dev/null > @@ -1,50 +0,0 @@ > -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 > -From: Giulio Benetti > -Date: Wed, 9 Jun 2021 17:28:27 +0200 > -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 > - > -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use > -an old compiler(i.e. gcc 4.9) build fails on: > -``` > -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in > -C99 or C11 mode > - for (size_t i = 0; i < insn_count; i++) > - ^ > -``` > - > -So let's declare `size_t i` at the top of the function instead of inside > -for loop. > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 5 +++-- > - 1 file changed, 3 insertions(+), 2 deletions(-) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 4ae7f324d33..32063ab0289 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, > - { > - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; > - unsigned output_insns[PLT_MAX_INSN_COUNT]; > -+ size_t i; > - > - /* Copy instructions into the output buffer. */ > -- for (size_t i = 0; i < insn_count; i++) > -+ for (i = 0; i < insn_count; i++) > - output_insns[i] = insns[i]; > - > - /* Honor the no-delay-slot setting. */ > -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, > - } > - > - /* Write out the output buffer. */ > -- for (size_t i = 0; i < (insn_count+1); i++) > -+ for (i = 0; i < (insn_count+1); i++) > - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); > - } > - > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch > deleted file mode 100644 > index 585b97b2af..0000000000 > --- a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch > +++ /dev/null > @@ -1,59 +0,0 @@ > -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 > -From: Giulio Benetti > -Date: Sat, 10 Jul 2021 17:57:34 +0200 > -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC > - relative 26 bit relocation > - > -When building openal we were seeing the assert failure: > - > -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: > -pc-relative relocation against dynamic symbol alSourcePausev > -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: > -pc-relative relocation against dynamic symbol alSourceStopv > -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: > -pc-relative relocation against dynamic symbol alSourceRewindv > -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: > -pc-relative relocation against dynamic symbol alSourcePlayv > -collect2: error: ld returned 1 exit status > - > -This happens because in R_OR1K_INSN_REL_26 case we can't reference local > -symbol as previously done but we need to make sure that calls to actual > -symbol always call the version of current object. > - > -bfd/Changelog: > - > - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry > - in switch case R_OR1K_INSN_REL_26 where we need to check for > - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 12 ++++++++++++ > - 1 file changed, 12 insertions(+) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 4ae7f324d33..4f9092539f5 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, > - break; > - > - case R_OR1K_INSN_REL_26: > -+ /* For a non-shared link, these will reference plt or call the > -+ version of actual object. */ > -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) > -+ { > -+ _bfd_error_handler > -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), > -+ input_bfd, name); > -+ ret_val = FALSE; > -+ bfd_set_error (bfd_error_bad_value); > -+ } > -+ break; > -+ > - case R_OR1K_PCREL_PG21: > - case R_OR1K_LO13: > - case R_OR1K_SLO13: > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch > deleted file mode 100644 > index 7e92e2bfd8..0000000000 > --- a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch > +++ /dev/null > @@ -1,75 +0,0 @@ > -From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 Jan 2022 09:03:28 +0900 > -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special > - howto > - > -Previously when fixing PR 21464 we masked out upper bits of the > -relocation value in order to avoid overflow complaints when acceptable. > -It turns out this does not work when the relocation value ends up being > -signed. > - > -To fix this this patch introduces a special howto with > -complain_on_overflow set to complain_overflow_dont. This is used in > -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 > -relocations. > - > -bfd/ChangeLog: > - > - PR 28735 > - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. > - (or1k_elf_relocate_section): Use new howto instead of trying to > - mask out relocation bits. > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- > - 1 file changed, 20 insertions(+), 4 deletions(-) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index cfa292f0032..ecb70753b6a 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = > - FALSE), /* pcrel_offset */ > - }; > - > -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 > -+ relocations when we know we can ignore overflows. */ > -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = > -+ HOWTO (R_OR1K_GOT16, /* type */ > -+ 0, /* rightshift */ > -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ > -+ 16, /* bitsize */ > -+ FALSE, /* pc_relative */ > -+ 0, /* bitpos */ > -+ complain_overflow_dont, /* complain_on_overflow */ > -+ bfd_elf_generic_reloc, /* special_function */ > -+ "R_OR1K_GOT16", /* name */ > -+ FALSE, /* partial_inplace */ > -+ 0, /* src_mask */ > -+ 0xffff, /* dst_mask */ > -+ FALSE); /* pcrel_offset */ > -+ > - /* Map BFD reloc types to Or1k ELF reloc types. */ > - > - struct or1k_reloc_map > -@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, > - if (r_type == R_OR1K_GOT_AHI16) > - saw_gotha = TRUE; > - > -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 > -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 > - relocation we assume the code is doing the right thing to avoid > -- overflows. Here we mask the lower 16-bit of the relocation to > -- avoid overflow validation failures. */ > -+ overflows. */ > - if (r_type == R_OR1K_GOT16 && saw_gotha) > -- relocation &= 0xffff; > -+ howto = &or1k_elf_got16_no_overflow_howto; > - > - /* Addend should be zero. */ > - if (rel->r_addend != 0) > --- > -2.25.1 > - > diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host > index 4382b32237..ef1b2a94db 100644 > --- a/package/binutils/Config.in.host > +++ b/package/binutils/Config.in.host > @@ -12,10 +12,6 @@ choice > help > Select the version of binutils you wish to use. > > -config BR2_BINUTILS_VERSION_2_32_X > - bool "binutils 2.32" > - depends on !BR2_csky > - > config BR2_BINUTILS_VERSION_2_36_X > bool "binutils 2.36.1" > depends on !BR2_csky > @@ -35,7 +31,6 @@ endchoice > config BR2_BINUTILS_VERSION > string > default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC > - default "2.32" if BR2_BINUTILS_VERSION_2_32_X > default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X > default "2.37" if BR2_BINUTILS_VERSION_2_37_X > default "2.38" if BR2_BINUTILS_VERSION_2_38_X > diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash > index 4141e0c5f2..e98cb85275 100644 > --- a/package/binutils/binutils.hash > +++ b/package/binutils/binutils.hash > @@ -1,5 +1,4 @@ > # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum > -sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz > sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz > sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz > sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From thomas.petazzoni at bootlin.com Thu Apr 28 21:53:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:53:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-zattoo: bump version to 19.7.14-Matrix In-Reply-To: <20220427202524.53586-1-bernd.kuhls@t-online.de> References: <20220427202524.53586-1-bernd.kuhls@t-online.de> Message-ID: <20220428235339.51dedc2c@windsurf> On Wed, 27 Apr 2022 22:25:24 +0200 Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls > --- > package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- > package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:53:45 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:53:45 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-zattoo: bump version to 19.7.14-Matrix Message-ID: <20220428214335.A018484729@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7badb943a8b2495cdd5034a9ca95ea73e01afab0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash index 4f9a60e942..d7693bdfb0 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz +sha256 ccd27cfbfee58df9acc71df0661bd56ff34fbf7d9afc8de78d3224d33b30ef44 kodi-pvr-zattoo-19.7.14-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk index f2badeaa05..658db25f27 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix +KODI_PVR_ZATTOO_VERSION = 19.7.14-Matrix KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md From thomas.petazzoni at bootlin.com Thu Apr 28 21:55:36 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:55:36 +0200 Subject: [Buildroot] [PATCH] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" In-Reply-To: <20220428215003.GG3624965@scaer> References: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> <20220428215003.GG3624965@scaer> Message-ID: <20220428235536.73948423@windsurf> On Thu, 28 Apr 2022 23:50:03 +0200 "Yann E. MORIN" wrote: > On 2022-04-28 23:20 +0200, Thomas Petazzoni via buildroot spake thusly: > > This reverts commit 8945ba49480a7885d104445ca855ef7681a374ff. > > This is a commit on the 2022.02.x branch; it is a backport of > 8e91385a2cb81c5f8114354f4494230e2aebb93a on master. > > Did you meant this patch to be applied only to 2022.02.x? No. > I would believe it should be applied to master and backported to 2022.02 > instead, no? Yes, absolutely. I referred to 8e91385a2cb81c5f8114354f4494230e2aebb93a because that's what the bug reporter pointed to as the offending commit, as the bug report is on the 2022.02.x branch. Though I agree the commit log should probably refer to the commit in master. I can send a v2 if needed. Thanks for the review! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 22:00:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 29 Apr 2022 00:00:39 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/binutils: drop version 2.32 In-Reply-To: <20220428215220.GI3624965@scaer> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> <20220428205548.524402-4-thomas.petazzoni@bootlin.com> <20220428215220.GI3624965@scaer> Message-ID: <20220429000039.23e1a1fe@windsurf> On Thu, 28 Apr 2022 23:52:20 +0200 "Yann E. MORIN" wrote: > I was considering on not applying that one, so we could have a fallback > in case there were runtime issues reported with newer binutils (I could > only build-test your series, I lack a noMMU target). > > But if that happens to be the case, we can revert this patch quite > easily. > > so, applied to master, thanks. Really if people still need to use binutils 2.32 and none of the newer binutils version work for FLAT, I would call FLAT an unmaintained use-case, which should lead us to drop support for it rather than keeping an old binutils version around. I don't know if there's an easy way to test an ARM noMMU build in Qemu. https://xpack.github.io/qemu-arm/ which is a fork of Qemu, seems to emulate STM32F429I-Discovery, which we have support for in Buildroot. Not clear if the source is available, but since Qemu is GPLv2, I guess the source code for this fork should be available somewhere. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Thu Apr 28 22:03:01 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 00:03:01 +0200 Subject: [Buildroot] [git commit] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" Message-ID: <20220428215252.3084384736@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=77fc4580254997c1f9f83efabd061e81de0b022e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This reverts commit 8e91385a2cb81c5f8114354f4494230e2aebb93a. This commit is incorrect, as it is perfectly valid for BR2_TOOLCHAIN_EXTERNAL_PATH to be empty. The help text of BR2_TOOLCHAIN_EXTERNAL_PATH even documents it as a supported case: If empty, the compiler will be searched in $PATH. Commit 392b0a26f5fd8d3aedce7e0c15f9762a79312f01 ("toolchain-external: default BR2_TOOLCHAIN_EXTERNAL_PATH to empty") even made that the default saying "In addition, it in fact works correctly when it is empty. In that case, the toolchain will be searched in PATH." A user has reported that commit 8945ba49480a7885d104445ca855ef7681a374ff (the backport of 8e91385a2c to the 2022.02.x LTS branch) breaks his use-case: https://lore.kernel.org/buildroot/CADBnMvhgaozAgZgy3njckjL1i0U6bZ0fLrq-kdFF-qpGhFWgmw at mail.gmail.com/ Reported-by: Kristof Havasi Signed-off-by: Thomas Petazzoni [yann.morin.1998 at free.fr: reference 8e91385a2c on master] Signed-off-by: Yann E. MORIN --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 ----- 1 file changed, 5 deletions(-) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index c7f4175c9e..299b6008aa 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,12 +69,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) -ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) -$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) -endif endif -endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) From yann.morin.1998 at free.fr Thu Apr 28 22:04:45 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 00:04:45 +0200 Subject: [Buildroot] [PATCH] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" In-Reply-To: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> References: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428220445.GJ3624965@scaer> Thomas, All, On 2022-04-28 23:20 +0200, Thomas Petazzoni via buildroot spake thusly: > This reverts commit 8945ba49480a7885d104445ca855ef7681a374ff. I've changes this to the corresponding sha1 on master. > This commit is incorrect, as it is perfectly valid for > BR2_TOOLCHAIN_EXTERNAL_PATH to be empty. The help text of > BR2_TOOLCHAIN_EXTERNAL_PATH even documents it as a supported case: > > If empty, the compiler will be searched in $PATH. > > Commit 392b0a26f5fd8d3aedce7e0c15f9762a79312f01 ("toolchain-external: > default BR2_TOOLCHAIN_EXTERNAL_PATH to empty") even made that the > default saying "In addition, it in fact works correctly when it is > empty. In that case, the toolchain will be searched in PATH." > > A user has reported that commit > 8945ba49480a7885d104445ca855ef7681a374ff breaks his use-case: And here I kept that hash and added a comment that it's a backpor of the commit on master. > https://lore.kernel.org/buildroot/CADBnMvhgaozAgZgy3njckjL1i0U6bZ0fLrq-kdFF-qpGhFWgmw at mail.gmail.com/ > > Reported-by: Kristof Havasi > Signed-off-by: Thomas Petazzoni Applied to master, thanks. > --- > This should be backported to 2022.02.x Ah, I missed that post-cpmmit-log mesage earlier. Regards, Yann E. MORIN. > --- > toolchain/toolchain-external/pkg-toolchain-external.mk | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk > index c7f4175c9e..299b6008aa 100644 > --- a/toolchain/toolchain-external/pkg-toolchain-external.mk > +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk > @@ -69,12 +69,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) > else > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) > -ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) > -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) > -$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) > -endif > endif > -endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD > > ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) > ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From james.hilliard1 at gmail.com Thu Apr 28 22:05:57 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:05:57 -0600 Subject: [Buildroot] [PATCH 1/3] package/pkg-python: deduplicate common env/opts variables Message-ID: <20220428220559.1236052-1-james.hilliard1@gmail.com> There are many varibles shared via setuptools, distutils and pep517, combine those common env/opts variables to make them easier to maintain. Signed-off-by: James Hilliard --- package/pkg-python.mk | 95 +++++++++++++++++++------------------------ 1 file changed, 42 insertions(+), 53 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e9de5cb8d3..852ab25619 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -33,78 +33,76 @@ PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` -# Target distutils-based packages -PKG_PYTHON_DISTUTILS_ENV = \ +# Target python packages +PKG_PYTHON_ENV = \ + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ PATH=$(BR_PATH) \ $(TARGET_CONFIGURE_OPTS) \ - LDSHARED="$(TARGET_CROSS)gcc -shared" \ PYTHONPATH="$(PYTHON3_PATH)" \ PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ _python_sysroot=$(STAGING_DIR) \ _python_prefix=/usr \ _python_exec_prefix=/usr +# Host python packages +HOST_PKG_PYTHON_ENV = \ + PATH=$(BR_PATH) \ + PYTHONNOUSERSITE=1 \ + $(HOST_CONFIGURE_OPTS) + +# Target distutils-based packages +PKG_PYTHON_DISTUTILS_ENV = \ + $(PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ --executable=/usr/bin/python -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + --prefix=/usr + +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host distutils-based packages HOST_PKG_PYTHON_DISTUTILS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) # Target setuptools-based packages PKG_PYTHON_SETUPTOOLS_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --prefix=/usr \ --executable=/usr/bin/python \ - --single-version-externally-managed \ + --single-version-externally-managed + +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host setuptools-based packages HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) \ @@ -113,28 +111,21 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) -PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_PEP517_INSTALL_OPTS = \ --interpreter=/usr/bin/python \ - --script-kind=posix \ + --script-kind=posix + +PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(TARGET_DIR)/usr/bin \ --data=$(TARGET_DIR)/usr PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ - --interpreter=/usr/bin/python \ - --script-kind=posix \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(STAGING_DIR)/usr/bin \ @@ -142,9 +133,7 @@ PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ # Host pep517-based packages HOST_PKG_PYTHON_PEP517_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:05:58 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:05:58 -0600 Subject: [Buildroot] [PATCH 2/3] package/pkg-python: add setuptools-rust infrastructure In-Reply-To: <20220428220559.1236052-1-james.hilliard1@gmail.com> References: <20220428220559.1236052-1-james.hilliard1@gmail.com> Message-ID: <20220428220559.1236052-2-james.hilliard1@gmail.com> The setuptools-rust package infrastructure is essentially a variant of the setuptools package infrastructure which sets up the env and download hooks required for building setuptools-rust packages. Signed-off-by: James Hilliard --- package/pkg-python.mk | 46 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 852ab25619..deecaa6e8e 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -109,6 +109,24 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --root=/ \ --single-version-externally-managed +# Target setuptools-rust-based packages +PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ + $(PKG_PYTHON_SETUPTOOLS_ENV) \ + $(PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV = \ + $(PKG_CARGO_ENV) + +# Host setuptools-rust-based packages +HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ + $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ + $(HOST_PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +HOST_PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV = \ + $(HOST_PKG_CARGO_ENV) + # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ $(PKG_PYTHON_ENV) @@ -176,14 +194,30 @@ $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) endif # Setuptools -else ifeq ($$($(2)_SETUP_TYPE),setuptools) +else ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_ENV) +$(2)_DL_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV) +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_CARGO_MANIFEST_PATH) +else $(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) +endif $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_TARGET_CMD = setup.py install --no-compile $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) $(2)_BASE_INSTALL_STAGING_CMD = setup.py install $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) else +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV) +$(2)_DL_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV) +ifndef $(2)_CARGO_MANIFEST_PATH +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(3)_CARGO_MANIFEST_PATH) +else +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_CARGO_MANIFEST_PATH) +endif +else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) +endif $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif @@ -207,7 +241,7 @@ $(2)_BASE_BUILD_CMD = -m flit_core.wheel $(2)_BASE_INSTALL_CMD ?= -m installer dist/* endif else -$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") +$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'setuptools-rust', 'pep517' or 'flit'.") endif # Target packages need both the python interpreter on the target (for @@ -224,8 +258,14 @@ endif # ($(4),target) # Setuptools based packages will need setuptools for the host Python # interpreter (both host and target). # -ifeq ($$($(2)_SETUP_TYPE),setuptools) +ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_DEPENDENCIES += host-python-setuptools-rust host-rustc +# We need to vendor the Cargo crates at download time +$(2)_DOWNLOAD_POST_PROCESS = cargo +$(2)_DOWNLOAD_DEPENDENCIES = host-rustc +endif else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:05:59 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:05:59 -0600 Subject: [Buildroot] [PATCH 3/3] package/python-cryptography: migrate to setuptools-rust infrastructure In-Reply-To: <20220428220559.1236052-1-james.hilliard1@gmail.com> References: <20220428220559.1236052-1-james.hilliard1@gmail.com> Message-ID: <20220428220559.1236052-3-james.hilliard1@gmail.com> We can now significantly simplify the python-cryptography build using the new setuptools-rust setup type introduced in the python package infrastructure. Signed-off-by: James Hilliard --- .../python-cryptography.mk | 30 +++---------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 7714b9ad88..e3fde91c5b 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -7,36 +7,14 @@ PYTHON_CRYPTOGRAPHY_VERSION = 37.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/3d/5f/addb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3 -PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools +PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools-rust PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography -PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python-setuptools-rust \ - host-python-cffi \ - host-rustc \ - openssl -HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python-setuptools-rust \ - host-python-cffi \ - host-rustc \ - host-openssl -PYTHON_CRYPTOGRAPHY_ENV = \ - $(PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -HOST_PYTHON_CRYPTOGRAPHY_ENV = \ - $(HOST_PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -# We need to vendor the Cargo crates at download time -PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo -PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc -PYTHON_CRYPTOGRAPHY_DL_ENV = \ - $(PKG_CARGO_ENV) \ - BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml -HOST_PYTHON_CRYPTOGRAPHY_DL_ENV = \ - $(HOST_PKG_CARGO_ENV) \ - BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml +PYTHON_CRYPTOGRAPHY_CARGO_MANIFEST_PATH = src/rust/Cargo.toml +PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl +HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi host-openssl $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:17:25 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:17:25 -0600 Subject: [Buildroot] [PATCH v2 1/3] package/pkg-python: deduplicate common env/opts variables Message-ID: <20220428221727.1680234-1-james.hilliard1@gmail.com> There are many varibles shared via setuptools, distutils and pep517, combine those common env/opts variables to make them easier to maintain. Signed-off-by: James Hilliard --- Changes v1 -> v2: - restore accidentially dropped LDSHARED in distutils env --- package/pkg-python.mk | 96 +++++++++++++++++++------------------------ 1 file changed, 43 insertions(+), 53 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e9de5cb8d3..b86e12423f 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -33,78 +33,77 @@ PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` -# Target distutils-based packages -PKG_PYTHON_DISTUTILS_ENV = \ +# Target python packages +PKG_PYTHON_ENV = \ + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ PATH=$(BR_PATH) \ $(TARGET_CONFIGURE_OPTS) \ - LDSHARED="$(TARGET_CROSS)gcc -shared" \ PYTHONPATH="$(PYTHON3_PATH)" \ PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ _python_sysroot=$(STAGING_DIR) \ _python_prefix=/usr \ _python_exec_prefix=/usr +# Host python packages +HOST_PKG_PYTHON_ENV = \ + PATH=$(BR_PATH) \ + PYTHONNOUSERSITE=1 \ + $(HOST_CONFIGURE_OPTS) + +# Target distutils-based packages +PKG_PYTHON_DISTUTILS_ENV = \ + $(PKG_PYTHON_ENV) \ + LDSHARED="$(TARGET_CROSS)gcc -shared" \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ --executable=/usr/bin/python -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + --prefix=/usr + +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host distutils-based packages HOST_PKG_PYTHON_DISTUTILS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) # Target setuptools-based packages PKG_PYTHON_SETUPTOOLS_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --prefix=/usr \ --executable=/usr/bin/python \ - --single-version-externally-managed \ + --single-version-externally-managed + +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host setuptools-based packages HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) \ @@ -113,28 +112,21 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) -PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_PEP517_INSTALL_OPTS = \ --interpreter=/usr/bin/python \ - --script-kind=posix \ + --script-kind=posix + +PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(TARGET_DIR)/usr/bin \ --data=$(TARGET_DIR)/usr PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ - --interpreter=/usr/bin/python \ - --script-kind=posix \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(STAGING_DIR)/usr/bin \ @@ -142,9 +134,7 @@ PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ # Host pep517-based packages HOST_PKG_PYTHON_PEP517_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:17:27 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:17:27 -0600 Subject: [Buildroot] [PATCH v2 3/3] package/python-cryptography: migrate to setuptools-rust infrastructure In-Reply-To: <20220428221727.1680234-1-james.hilliard1@gmail.com> References: <20220428221727.1680234-1-james.hilliard1@gmail.com> Message-ID: <20220428221727.1680234-3-james.hilliard1@gmail.com> We can now significantly simplify the python-cryptography build using the new setuptools-rust setup type introduced in the python package infrastructure. Signed-off-by: James Hilliard --- .../python-cryptography.mk | 30 +++---------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 7714b9ad88..e3fde91c5b 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -7,36 +7,14 @@ PYTHON_CRYPTOGRAPHY_VERSION = 37.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/3d/5f/addb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3 -PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools +PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools-rust PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography -PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python-setuptools-rust \ - host-python-cffi \ - host-rustc \ - openssl -HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python-setuptools-rust \ - host-python-cffi \ - host-rustc \ - host-openssl -PYTHON_CRYPTOGRAPHY_ENV = \ - $(PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -HOST_PYTHON_CRYPTOGRAPHY_ENV = \ - $(HOST_PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -# We need to vendor the Cargo crates at download time -PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo -PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc -PYTHON_CRYPTOGRAPHY_DL_ENV = \ - $(PKG_CARGO_ENV) \ - BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml -HOST_PYTHON_CRYPTOGRAPHY_DL_ENV = \ - $(HOST_PKG_CARGO_ENV) \ - BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml +PYTHON_CRYPTOGRAPHY_CARGO_MANIFEST_PATH = src/rust/Cargo.toml +PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl +HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi host-openssl $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:17:26 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:17:26 -0600 Subject: [Buildroot] [PATCH v2 2/3] package/pkg-python: add setuptools-rust infrastructure In-Reply-To: <20220428221727.1680234-1-james.hilliard1@gmail.com> References: <20220428221727.1680234-1-james.hilliard1@gmail.com> Message-ID: <20220428221727.1680234-2-james.hilliard1@gmail.com> The setuptools-rust package infrastructure is essentially a variant of the setuptools package infrastructure which sets up the env and download hooks required for building setuptools-rust packages. Signed-off-by: James Hilliard --- package/pkg-python.mk | 46 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index b86e12423f..a9bb12550c 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -110,6 +110,24 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --root=/ \ --single-version-externally-managed +# Target setuptools-rust-based packages +PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ + $(PKG_PYTHON_SETUPTOOLS_ENV) \ + $(PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV = \ + $(PKG_CARGO_ENV) + +# Host setuptools-rust-based packages +HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ + $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ + $(HOST_PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +HOST_PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV = \ + $(HOST_PKG_CARGO_ENV) + # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ $(PKG_PYTHON_ENV) @@ -177,14 +195,30 @@ $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) endif # Setuptools -else ifeq ($$($(2)_SETUP_TYPE),setuptools) +else ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_ENV) +$(2)_DL_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV) +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_CARGO_MANIFEST_PATH) +else $(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) +endif $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_TARGET_CMD = setup.py install --no-compile $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) $(2)_BASE_INSTALL_STAGING_CMD = setup.py install $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) else +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV) +$(2)_DL_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV) +ifndef $(2)_CARGO_MANIFEST_PATH +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(3)_CARGO_MANIFEST_PATH) +else +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_CARGO_MANIFEST_PATH) +endif +else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) +endif $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif @@ -208,7 +242,7 @@ $(2)_BASE_BUILD_CMD = -m flit_core.wheel $(2)_BASE_INSTALL_CMD ?= -m installer dist/* endif else -$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") +$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'setuptools-rust', 'pep517' or 'flit'.") endif # Target packages need both the python interpreter on the target (for @@ -225,8 +259,14 @@ endif # ($(4),target) # Setuptools based packages will need setuptools for the host Python # interpreter (both host and target). # -ifeq ($$($(2)_SETUP_TYPE),setuptools) +ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_DEPENDENCIES += host-python-setuptools-rust host-rustc +# We need to vendor the Cargo crates at download time +$(2)_DOWNLOAD_POST_PROCESS = cargo +$(2)_DOWNLOAD_DEPENDENCIES = host-rustc +endif else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) -- 2.25.1 From yann.morin.1998 at free.fr Thu Apr 28 23:02:10 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 01:02:10 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/binutils: drop version 2.32 In-Reply-To: <20220429000039.23e1a1fe@windsurf> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> <20220428205548.524402-4-thomas.petazzoni@bootlin.com> <20220428215220.GI3624965@scaer> <20220429000039.23e1a1fe@windsurf> Message-ID: <20220428230210.GL3624965@scaer> Thomas, All, On 2022-04-29 00:00 +0200, Thomas Petazzoni spake thusly: > On Thu, 28 Apr 2022 23:52:20 +0200 > "Yann E. MORIN" wrote: > > > I was considering on not applying that one, so we could have a fallback > > in case there were runtime issues reported with newer binutils (I could > > only build-test your series, I lack a noMMU target). > > > > But if that happens to be the case, we can revert this patch quite > > easily. > > > > so, applied to master, thanks. > > Really if people still need to use binutils 2.32 and none of the newer > binutils version work for FLAT, I would call FLAT an unmaintained > use-case, which should lead us to drop support for it rather than > keeping an old binutils version around. True. > I don't know if there's an easy way to test an ARM noMMU build in Qemu. > https://xpack.github.io/qemu-arm/ which is a fork of Qemu, seems to > emulate STM32F429I-Discovery, which we have support for in Buildroot. > Not clear if the source is available, but since Qemu is GPLv2, I guess > the source code for this fork should be available somewhere. https://github.com/xpack-dev-tools/qemu-arm-xpack >From the README: Easy install The easiest way to install QEMU Arm is using the binary xPack, available as @xpack-dev-tools/qemu-arm from the npmjs.com registry. WTF? The qemu fork seems to be there: https://github.com/xpack-dev-tools/qemu Regards, Yann E. MORIN. > Best regards, > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From thomas.petazzoni at bootlin.com Fri Apr 29 04:46:16 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 29 Apr 2022 04:46:16 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-28 Message-ID: <20220429044622.7F11060B96@smtp3.osuosl.org> Hello, Autobuild statistics for 2022-04-28 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 23 | 8 | 1 | 32 | master | 159 | 270 | 2 | 431 | Classification of failures by reason for master ----------------------------------------------- optee-client-3.17.0 | 24 git-2.31.2 | 12 uclibc-1.0.40 | 11 zchunk-1.2.2 | 10 glibc-2.34-109-gd64b08d5ba7... | 8 host-gcc-final-10.3.0 | 8 libopenssl-1.1.1n | 8 protobuf-3.20.1 | 8 perl-5.34.1 | 7 refpolicy | 7 pciutils-3.8.0 | 6 zlib-ng-2.0.6 | 6 frr-8.2.2 | 5 gobject-introspection-1.70.0 | 5 host-gcc-final-9.4.0 | 5 libressl-3.5.2 | 5 linux-headers-5.10.104-cip3 | 5 qpid-proton-0.35.0 | 5 host-pahole-v1.23 | 4 libldns-1.8.1 | 4 unknown | 4 dash-0.5.11.5 | 3 libv4l-1.22.1 | 3 pipewire-0.3.50 | 3 tinifier-3.4.0 | 3 tor-0.4.6.10 | 3 wavemon-0.9.4 | 3 bat-0.19.0 | 2 bird-2.0.8 | 2 fs/f2fs/f2fs.mk:64: /home/a... | 2 fs/f2fs/f2fs.mk:64: /home/a... | 2 host-gcc-final-11.2.0 | 2 host-libcap-2.63 | 2 libglib2-2.70.4 | 2 libnss-3.77 | 2 linux-5.10.104-cip3-rt3 | 2 linux-5.15.33 | 2 linux-headers-5.15.33 | 2 perl-net-ssleay-1.85 | 2 python-cryptography-36.0.1 | 2 shadowsocks-libev-3.3.5 | 2 uacme-1.7.1 | 2 assimp-5.2.1 | 1 audit-3.0.7 | 1 aufs-util | 1 bcusdk-0.0.5 | 1 boinc-7.18.1 | 1 boost-1.78.0 | 1 containerd-1.6.2 | 1 coremark-1.01 | 1 dmalloc-5.6.5 | 1 docker-proxy-339b972b464ee3... | 1 dropbear-2022.82 | 1 ecryptfs-utils-111 | 1 erofs-utils-1.4 | 1 exempi-2.6.1 | 1 ffmpeg-4.4.1 | 1 ficl-4.1.0 | 1 freeipmi-1.6.9 | 1 freeradius-client-1.1.7 | 1 fs/axfs/axfs.mk:32: /nvmeda... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/ubi/ubi.mk:51: /home/aut... | 1 fs/ubi/ubi.mk:51: /nvmedata... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gensio-2.2.9 | 1 gnu-efi-3.0.10 | 1 gobject-introspection | 1 gocryptfs-2.2.1 | 1 google-breakpad-c85eb4a59b6... | 1 host-gcc-initial-10.3.0 | 1 host-go-1.18.1 | 1 host-rust-1.60.0 | 1 host-wayland-1.20.0 | 1 igh-ethercat-1.5.2 | 1 json-c-0.15 | 1 kexec-2.0.23 | 1 libcap-ng-0.8.3 | 1 libgcrypt-1.10.1 | 1 liblog4c-localtime-1.0 | 1 libp11-0.4.11 | 1 libwebsockets-4.3.1 | 1 linux-5.10.104-cip3 | 1 linux-fusion-9.0.3 | 1 linux-headers-5.10.104-cip3... | 1 matio-1.5.22 | 1 mongodb | 1 musl-1.2.2 | 1 netsurf-3.10 | 1 nodejs-14.18.3 | 1 openssh-9.0p1 | 1 pixman-0.40.0 | 1 quickjs-2021-03-27 | 1 rtl8189es-39c17661136da48f8... | 1 rtl8189fs-73f826f0fa74b2fc1... | 1 sdl2_ttf-2.0.18 | 1 shim-15.4 | 1 toolchain-external-bootlin | 1 toolchain-external-codescap... | 1 ulog-0389d243352255f6182326... | 1 vlc-3.0.16 | 1 wolfssl-5.2.0 | 1 xenomai-3.0.10 | 1 xenomai-custom | 1 xfsprogs-5.14.2 | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips | assimp-5.2.1 | NOK | http://autobuild.buildroot.net/results/cf0f5662858f57c0b750c2f15e7dc9c168290f36 | armeb | audit-3.0.7 | NOK | http://autobuild.buildroot.net/results/fbd2874a79d0638eae9d6c80486319e3b32bee4d | aarch64_be | aufs-util | NOK | http://autobuild.buildroot.net/results/d5dfd8bb0cad54c8236655c5b01999a5a88c6dbc | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/70c22db3939cba100dd14b3411bf53fd96b2ad5f | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/b6f17643bfd4de3bd31f76f2dddf15f08bac988e | arc | bcusdk-0.0.5 | NOK | http://autobuild.buildroot.net/results/f8ebe5aabf5212e9bcf9ab774c5b130de054924d | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/d3d5edca08c311a6bd9e11e6fd9ae832e7e8b466 | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/d543cb89df3d8d5aa34f516681479e08d0b7c989 | x86_64 | boinc-7.18.1 | NOK | http://autobuild.buildroot.net/results/15cb79d1597940a82362f21014188ef83620e8c9 | arceb | boost-1.78.0 | NOK | http://autobuild.buildroot.net/results/c68c186049e85d509665a3bf887d581b6534c3b4 | powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/2d7a8d1ef723a21d1274819de80f9e36ab17dc64 | mips64 | coremark-1.01 | NOK | http://autobuild.buildroot.net/results/3c487b47241ea1293b6e893944a2e8c6967faeb0 | or1k | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/6426640af280b6bae6579e2b9cec2b3c9b7b8a8b | ORPH sh4aeb | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/62674b52e072dfc8713e20a8f3bcdcca8bff402d | ORPH microblazeel | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/e9efa01d9952ffe010944d3b3b5d4d5696122bb2 | ORPH mips64 | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/d2ed6554bcfdc29047d5931dc613d93b6e33ec39 | ORPH x86_64 | docker-proxy-339b972b464ee3... | NOK | http://autobuild.buildroot.net/results/3c2830173693bbfff2f7aef794ca3f6f5bc5fd9f | riscv64 | dropbear-2022.82 | NOK | http://autobuild.buildroot.net/results/18dbba78ae663c316c989f1272ab82fdbb8fc6b6 | nios2 | ecryptfs-utils-111 | NOK | http://autobuild.buildroot.net/results/7c79e43d32f695fa15e4d2f26fc7ed07cbd79f70 | or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/44f14d5bea3cec8aba2687c808e5de1775ab3330 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/afe24bb0afcfb9ee50125d74e66b0dfb84c86c6e | arm | ffmpeg-4.4.1 | NOK | http://autobuild.buildroot.net/results/ffde126dd81c98d71c8a48ec87d5753cce8939cb | mips64el | ficl-4.1.0 | NOK | http://autobuild.buildroot.net/results/c28987eeea367ab55b52f42d34fd40125add3df9 | sparc | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/019a6616e1b79fb5c2ebccf31f972b0cd74c4023 | or1k | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/18fb82f08aeeb0cbc5eb26edbc6209217830ce32 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/483f1bfe8e1acec1fb39c7cb212655dadecc586e | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/991f3c17c45211ac6ffa3d1a0eb52cf594a4e25d | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/f95d7a3eb05df86dff3f8360cf6e5389ff99609f | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/5a68a5f48f5c91b861d492285e5a6a35736c1702 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/921f6608fb321c3ecce330f1e511da5b6ff2ddda | nios2 | fs/axfs/axfs.mk:32: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e54e64b872a7989c2e8e05e7e5319eebf5a52647 | arc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/a3c68cdc515353c0d2650ee743aa3bd8ab99a418 | powerpc64le | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/1ea1982428e5b2b9883f829e657fe676508a99ab | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/04aa29fefd1355fcd8ed26b950c7a2b3b339b625 | sparc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/ad426ff903d78a92de8f0208876e2196136a09a8 | nios2 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/b3e43dafa2f3d7dbcbb84eac26f9c85af8f19fea | xtensa | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/9a0ab0b3925a7d61cb1fd1ff47573041147d43d6 | armeb | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/5fbc34d6277a6dfa93553da2569bffd5d6310c97 | riscv32 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/7169578883e2668979bc6d14b3cbab872c5aee81 | m68k | fs/ubi/ubi.mk:51: /home/aut... | NOK | http://autobuild.buildroot.net/results/1944288658bba48671db970c6a311a8ecbf44cb7 | powerpc | fs/ubi/ubi.mk:51: /nvmedata... | NOK | http://autobuild.buildroot.net/results/9988e2b4c3eb5177eb25a0441d243c304a932bb8 | s390x | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/c351c5ada413fbca9c746d3f2e83f96471b820d1 | arceb | gensio-2.2.9 | NOK | http://autobuild.buildroot.net/results/17f2f52559a5ed5edd36d22680ec506e0b72859b | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f0bfc96671b28b0093432f654d8498eca54db823 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/3b3d72414291d0688d31afee586313d9aa783c9c | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/6d637aa043496c16908cc05507aa7ed246c31351 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/ac34c6fe98af04d3640d061d4fb1343ad6d62c96 | i686 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/1cf92d3e542093bc69840c4989d82d267e58e2c4 | sh4 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8a7c1615d498c511e297f02181ee6300e8cde21d | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/9684af6f89fa6ec083059df29aa1d359123c8c42 | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d18905a7c845ee93ec8a493c60a948fc23c5dad2 | microblaze | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a4770fbdea9b9c5a9e35c3145610584111d986df | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/648ef7664c8db3b87013524d6eeb72239db566bb | i686 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/1875c5728f16624322154d441a22289758f8ebac | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/97b2eae0634966dc05b71fe5befcb8694f6be723 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/84be207fc06e0a10adbe7068a4b69d5e443d5211 | microblaze | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/5796f8704dd9f37f548a55dbdfcbbc2f164b7f68 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/b91ea26c92b010d129e2793f84b8ab2bdf9eb8cd | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a905fb65121945ff6b359b12b76f30671c4618e1 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/1c4cf21ca8d14795e09f0e1c4bdc33392f482e96 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/9ae0ab8e95b835714aafd90f6c09745da6fa55bb | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/f49de588bd6ec7d9ceafa551908ab86071d350c1 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/2b1818987c6594dc0a4daf7ba9d8a38a96a3d685 | mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/db21242af314b10d845ec29a1efe55df11bbee02 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/584493c8cf9d81bbec0482d4190f302b32a39818 | i686 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/4672763c884fa3334818b5fcaa01cf360b76ae17 | ORPH i686 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/55db77ff2842b7ea3275ed1fbf20f8f82c0bbec2 | ORPH i686 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/1958f1b88cd1cc10f829947ac4a90e723cf342a5 | ORPH microblaze | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/241fb150833a23f691c88a5203814b1e0e5f337b | ORPH powerpc64 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/3e3410bc138e83f4becf5082059a6ffa1bb048a6 | ORPH arm | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/12c492c7f621cf3c02dae8b22859f750c0b86e66 | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/e6045fec66bd36c46bcd7341e7718b5ca8ec6095 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b8fa87b86c00572f5544f108ae8020aa2ec70c21 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/612411e2739450e8d472ce5e93bc447e0b57d8d4 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bdbef6174d90a8025ef247b98d1e79c172f0bfcd | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/454c1f9872e6f7efdbf7f71d40be404c6d492588 | microblazeel | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cb03b6b8dc863e8b022851ce9f553f2077153ce0 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bc708f31d00f66b788c7d9ee23e109f3df19cbe2 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6289399a4b7f69804081a1e01378d6a759b0ae1b | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a3fecb59bbf5ecf66a41cba6c65fa1b91179a50a | microblaze | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/6735e280a33bd7ecf8a7c640eebdddfde93a9f67 | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/3da68ce9a584b3a8172d5cc4d099596e2a38e880 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/0bf88a05483e9831b593e757a7ff8239b2dcba55 | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b15d90d734cbd349e451af95cec4857bf33ebe81 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/47fd5c8bba5ce64e36eb76136fc523927952b63e | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/2d529a08b657af042f46fc78795cfbf70a787e1a | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b7f1038cde27ca4bc2796b24a7041791c4d1acc4 | arc | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/8a5a9c48349a6752284ee8c2a44b869d69a66f83 | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/a4a769fa9f1aa3d186ae50ebf52a492f9c8ad714 | arm | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/48e3a9822bf1c49d8e7bb182293f8b5cc98d38c6 | mips | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/0abba8cd16ee2b7f48ee026c4d11a0c35908b11f | arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/1f96ca373e736f87029a75aa0959a558eab4195f | mipsel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/4717d37729014a8e80fa5a362111a6d90ca53b0f | powerpc64le | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/0b2c97f9b5aa2f807d5de2de5a509629aaa929bc | microblazeel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/22ca044ecbc3656ed0cb4be8089f2b9e5620e593 | x86_64 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/6e8972e22e80db8d92710a0e5791b746cef54276 | aarch64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/8fab0cdec6297d1a969e24e96b1ecdb8a9f15faf | armeb | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/5e734e202bc4fa08d57675823f55633c8040cd71 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/27a6ba133c58bed046c2ef7254382f643fe39217 | armeb | kexec-2.0.23 | NOK | http://autobuild.buildroot.net/results/d7071499060a82e4422ad5f8f7e820969567e3eb | ORPH riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/3774309092d7f0e0556de1f957b789ab21b5c367 | powerpc64 | libgcrypt-1.10.1 | NOK | http://autobuild.buildroot.net/results/9e1b9d4fe25579069b37d749ad1ef85631881590 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/792aa42ddd2754453314fc1927feba7058abff8f | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/fa8c5262a628b8524d530b0ccaea78ca90891f56 | microblazeel | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/76e52a573738d5491a84f7f5aa7472a7759467c1 | powerpc64le | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/751dd5f71c8611f3382b5b52d6bd117d14398ce5 | xtensa | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/d754fbaa8f6687597682fbf0b71c16527c8cd603 | xtensa | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/6d52b4962c7974a16c358d5ef5431841cd9af9bb | riscv64 | liblog4c-localtime-1.0 | NOK | http://autobuild.buildroot.net/results/283ecfe37e56df7b1f5205271fa5c50f769ed48d | powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/857afe10cd3abfc192d6867d9e62f5ed5eabf900 | mipsel | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/0d891ce79dcf5a0587075b41ad838fa2562a1010 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/ec9cae469386578563c33292cfe0f687aad176c2 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/558de5842fa64fc317f6e28fcfce7ea39dc57e6e | aarch64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/650bf4e30f0685d768d019000fe9e7f49029bb74 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/495fd7acfd7ddd744db8001890b5ada43e8d1e0c | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/896c84f5ae3905e35e44171d025b33142bb1bb5e | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9ea46a56b85dcbc11f6004db33c5097110b721b6 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a5b0e33e3bfe71dfa256554d04a1bb85dc587481 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/aff0a8ee45728a448f10b5d115e1c081ff1bc905 | s390x | libp11-0.4.11 | NOK | http://autobuild.buildroot.net/results/fd32bd48e0e1a41cfb58e3f637a72e6cf95834ea | ORPH arceb | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/ce7c4a5b1a5be0a0b84d725cfc257daf698eb4ea | ORPH sparc | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/953a42bd91bee010b0736de6fd7d125703cc5d69 | ORPH m68k | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/a2a71b592a3b754eafdbc9eb2006d3d5429e3651 | ORPH x86_64 | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/4a237a3bae851507b919e909f48a0dbffebc2f26 | ORPH m68k | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/52f15a47f6d144d2946664f91765bdc6ede0d867 | ORPH riscv64 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/f4513c4626b2af315dfafc57c04d679cde428b3a | x86_64 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/fe403a46158380bad5683d32a16e27b9c73aeedf | powerpc | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/b26515b553d8a54777fd5eb27dc891efa26ec821 | nios2 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/ea3061f74d646703ea40058a4edac8840d14c0f0 | mips64 | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/290059ae014bfc3fed92953571be8ee5e6028737 | ORPH arc | linux-5.10.104-cip3-rt3 | NOK | http://autobuild.buildroot.net/results/a8b19b7452fd3322a6db9f036f68693cd30c5561 | ORPH m68k | linux-5.10.104-cip3-rt3 | NOK | http://autobuild.buildroot.net/results/fde83a3dbec846e798c612f5802403839a68499d | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/83b311d6621e916e8d28243e79c42e69940c4550 | ORPH powerpc64 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/2365fd50cc3edb4f83963c4679fc9f0d346d6a2a | ORPH microblaze | linux-fusion-9.0.3 | NOK | http://autobuild.buildroot.net/results/2cdfdfeaab9cd11dd18c0507e7584fffdaa7c05a | ORPH arm | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/58d89f3041880a99afed8e3999f930d232dd6521 | ORPH aarch64_be | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/c88e63c01b5ee8ddb6e2638d731f870928cdc2fe | ORPH mipsel | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/84b2a75daeba172fa354db7d34088564c08a7619 | ORPH m68k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/44528482a2b3ea013c72db6ac8156e5305c4e946 | ORPH s390x | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/a6be1b615f74d28086fc824fadb6bb6747c0d57e | ORPH armeb | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/b435c4dd6b298e6bdf3e219f61d777d78f712b38 | ORPH arceb | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/95b93b600531a435391e7c000eca72f4dd405a71 | ORPH mipsel | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/52b73f44452061f8f28585ffa0ac700cbf624edd | ORPH nios2 | matio-1.5.22 | NOK | http://autobuild.buildroot.net/results/ba6010f2a6bf5325a290f8afaf400f2ca432b6d3 | aarch64 | mongodb | TIM | http://autobuild.buildroot.net/results/835ff147eda3e87b424105ff431323df5d5db357 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/ef5f11cf2c5cb7f34599c6de3bff28eb691155e5 | i686 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/18c4b31d7b479434b8a3f2332e41f5c7d620c4b1 | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/4ec45e60011323727f352aa6ca582b17f7a3a024 | sparc64 | openssh-9.0p1 | NOK | http://autobuild.buildroot.net/results/ac23163d1c32c6ab26919bb180e62160cc389c24 | ORPH x86_64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/b72dcea2bb13d4b113afc9ee4237bce76539814c | microblazeel | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d00a6049766e9e303c7d87da2fba99d2ae56ce4b | arm | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/7fb6f2296647706d231400f5ec244da0132ec009 | or1k | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d140b65814703c934e3364e7b928ea7bef862425 | arm | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/14fa9c2631b1215946477c2cf1a5a57a42d7fbc0 | i686 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/cf4026d7c471de319e9858288958cd4c0bdc6d88 | s390x | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/b3ee5b49674adf4d69da0535f9a924f79d8a140e | aarch64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/c17a68fa708e7afe303fbb5bd68158690e02330b | aarch64_be | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/0e07e390874c3ef072797cd8640f084a10ed13ee | mips64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/23f0a2d47615aa8c790ff94cfcd278d9fc757df9 | xtensa | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/66689125d1f6105e8fba2e4bc01168eaf10f39ed | arc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/dbc2f4925030d32004565dc6c121d8d21fee262b | mips64el | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/a3bde310c27f4b31f494942bb0b9d2f3877e9018 | s390x | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/dfbc360f36191844854c02ee0ba4173dcda8b2d8 | microblazeel | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/0e08ed757637283fa44a6f053c03949ca2e26686 | microblaze | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/62002ad2f4d166c8ac244fa5a0f40022b0b7d182 | powerpc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/21384cbbe6695faeff77daa91424b5ffb44ebd09 | mipsel | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/99b6b92dc717037736889c3542b5fb21320ef9b8 | microblaze | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/bb70f07dc49c6dda7e92b70cc45fe086807fdd58 | mips | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/2f3f99d102f171826827ff82e757db969ba13b0b | i686 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d7d044fd7d5dc9b28aeb1577c92152652937481f | aarch64_be | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/23155cec0e18fa4bcf1f2d0ee2835a6a2ce0774a | mips | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/3e11332c4571777c4b9a78f7c406e68f36186a43 | sparc64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/35097ec6c0c99647c34617d999242fc3e5ad30ad | mips64el | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/88a23c385f5a21b11bd816f2e0ad1212e4803a30 | ORPH powerpc | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/a5de6de2206ad6909c28f72bf323c2980a2db594 | ORPH i686 | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/1bfa5ab365fccf4a7bbe58e64471bf1af5577e5d | ORPH mips64el | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/452f4397e26ceec8b76a371e5511e071513093a1 | ORPH armeb | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/de1221e98bb2300a1df9f3af1f6d5ff7b5762145 | ORPH microblazeel | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/a4b4fc40d261e56af9d69dd83e573f951d761edd | ORPH armeb | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b05b818679466a77a4a81696546be6564b373062 | mips64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/01170a8c7a932cb6f58ecfabca5156c31429dbaa | microblaze | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/eeaedf83dad52f477a9160614b18627d7e5f2938 | mips | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/e4471aa07b315a6324687e38d194980f5e498f57 | mips64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/ed5026ed98b7ad59b4be988ef0ce062825821cce | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b26d6733309dc64f2b3ee62bda0b7ecfaf6590ef | x86_64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/e84ba0bd106cc84c8ecd21df352df811330582a5 | x86_64 | perl-net-ssleay-1.85 | NOK | http://autobuild.buildroot.net/results/2397c4ae7a3392c6859b296eb3312cb9f0b0e286 | arc | perl-net-ssleay-1.85 | NOK | http://autobuild.buildroot.net/results/9db9839386a0b27cf006d1c0981747ab4cd2fb0f | x86_64 | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/1367a5eb3dd2842309f138f2b878e913bc8a5290 | sparc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/7c9b1e15f75135670a974d501e7cc2e496bffc1b | sparc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/8d168ed5b3056f28ec69a1f76e12bb922aeade6a | sh4a | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/09ded6a85ab82ee181d28bb1002d1945ab961649 | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/1ad5ea447d74293ba586aeab336e476cb2e4fb20 | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/b92dd7507ada955ea6eb8422cae4a5e9aef1c1fb | nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/bc9633d2949ea8c44b5584e1b6082f3f2fd6233b | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/10f590bbbffed2660696aeb45c8eb03cb3c597a6 | sh4 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/392a1602821405b8e65f5d67860d75831253fa13 | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/08066a499e977288a29fb7f8a495101ea406a5cb | microblazeel | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/73cd4bdea01e3f30219a3eaefa20b5e0c6ccbfe8 | nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/6a26224c1de6303705c02615a554376312c7e8ad | armeb | python-cryptography-36.0.1 | NOK | http://autobuild.buildroot.net/results/56a5bfb221ee6c59c073cc164a13d04fead7b32e | armeb | python-cryptography-36.0.1 | NOK | http://autobuild.buildroot.net/results/3e95e3c5d633cd90bc435ec425e0903aa7e5d5e5 | nios2 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/2170bd8390060b991ecc8c7a44eaf981489e5e18 | arceb | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/27d02540d6b1ac50acf36fc2da5af27ffb81c532 | powerpc64le | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/6d4713aaae4c20c89c0d245aa468725d58662541 | mips | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/4a7c09d8ad56c0a3221f11edf55dd1a77f716daa | sparc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/c98c5d9878cbc1db2df59fae3b7337f5be217b45 | or1k | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/d1d02135fe2d272f931bee1958db67d225218ecf | sparc | refpolicy | NOK | http://autobuild.buildroot.net/results/d912e55fec8e1fcca00658f81787b6904f3bd6fe | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/b7303e296b502ab4a9650a7b7930f172cb4c7e18 | sh4eb | refpolicy | NOK | http://autobuild.buildroot.net/results/cefa32387b245b1d455ddae52bca5a8ccad4db78 | mips64 | refpolicy | NOK | http://autobuild.buildroot.net/results/9e243908f4309aed208d2bdb7db245722f8d23d0 | aarch64_be | refpolicy | NOK | http://autobuild.buildroot.net/results/80bd99e9b7a1404afc9c41a76892b53f0516a403 | powerpc64 | refpolicy | NOK | http://autobuild.buildroot.net/results/52f7d95c0a7be64ec91953fdeba59d73e3888629 | i686 | refpolicy | NOK | http://autobuild.buildroot.net/results/543d70eb26d907133702d7a7902f884660a17d55 | s390x | rtl8189es-39c17661136da48f8... | NOK | http://autobuild.buildroot.net/results/031df8e5b9b4da5c16d0efc2d3a8df8d86a495ec | sparc | rtl8189fs-73f826f0fa74b2fc1... | NOK | http://autobuild.buildroot.net/results/896ebd3684205731f04c7622f650071b26e0584c | m68k | sdl2_ttf-2.0.18 | NOK | http://autobuild.buildroot.net/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 | aarch64_be | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/33c08e487dc6888a3900712295522341aee5804e | mipsel | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/d0ae71775342a0a0b36fa40ccf36394c389932a5 | aarch64_be | shim-15.4 | NOK | http://autobuild.buildroot.net/results/fd91064cc26e0ba4f965f112d859e41483c2ec10 | powerpc64le | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/60851716be3644db245999d36f041c3c967e9612 | i586 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/5dbf4d178b69b8e1ffab9193f492ffe90db10dd8 | x86_64 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/ed1ca90f062d2f1f7be116ce06e073f10370c96e | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/2ef5a1a8ff6ee44c672ec40fd53148938a27d99e | mips64 | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/37c98b47bb51e6a030caf512795ecac3386c3b45 | ORPH mips64el | tor-0.4.6.10 | NOK | http://autobuild.buildroot.net/results/65fef646f8db401e6e14ade758aece06f93d2c29 | arceb | tor-0.4.6.10 | NOK | http://autobuild.buildroot.net/results/459a2cc9837d4d5e797c2a99c241e6c923dce6ee | aarch64_be | tor-0.4.6.10 | NOK | http://autobuild.buildroot.net/results/bf307b3d64d7dc69be894b963b45a8fb0524495f | mips | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/459c643c81f0889a691417a725b334d2f441e1c1 | xtensa | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/01a5d9b367b7d2d342d391bac9ba7fd769005186 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/afa4db648a48ce82a2b752442971c7776763f849 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9852d9499c91fd01fcc084f84a71a887fc4d9401 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0114f52b4f43ae8485b3887daca9f2fe66d99ab7 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6580bbf24b4068021ec03e49b0adddcf8b1cb20b | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/fe1611f1e36895524666b32c857f7c6f35afc27c | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b66b07abca4dd86fdd3dee81aeea687b98a15930 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/21c5e15560e5ecd8a6eb8c9405906c269d9c0810 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b927ddb1d7295f914871a26568159c03f533ccb0 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bc60c467db2778313ecd7f16bf190e6d04171ae5 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a647710b05e6941bf007965ee04c671abfedffa5 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/21bb0dace6ad8a9214261ba9d3353ce17daaed29 | x86_64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/8017d19d5392df860367b8e20ea8ac0241eac503 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/8530036775572c54db8677c75821049a665174f3 | arm | unknown | NOK | http://autobuild.buildroot.net/results/7120a2020d4d59c05da980044a783b7c50e01c66 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/90b878d8c879160d2bc7ee44bd822495bda6aea9 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/99b69763fd7357b520f7a146595cc44b769ea692 | aarch64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/2def98c0caea3dc9e1d75bdb5ed7752071150563 | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/b5e971612153522f4ffcea6f606fad6d7b8e4f0e | riscv32 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/222bd23aa3dd1797823d1d57b75f5b51faed5b12 | powerpc64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/63f0013c369096387c81fc4304b6be526f7f5760 | armeb | wolfssl-5.2.0 | NOK | http://autobuild.buildroot.net/results/e8afb38dad829d391ae09396451bb0e15c3985bc | nios2 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/f25f0c32f06f200aefd7703c2db7cadbf9fc7191 | mips64el | xenomai-custom | NOK | http://autobuild.buildroot.net/results/a277c3af713c4926d8697852d6abef82a1d29693 | arm | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/ad3af73f69b973de75f92ec0dcfd6b0172edd1bf | ORPH i586 | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/adf8faf642108b8af85744e46efcdd02a39061ba | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/58bc2d482baf8c77a5517bf6da52e9e7d33497b2 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/74c6117b5ecca072cbe8a7b0955bb3d626c1da87 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/3e6fca97ee67ef6ff8fd5b1571b204bf6efe9574 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/eb3a7e2de8d65f07700c399d8d1f0c9e70def8d6 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/d514660495ad91f261aa663bfd9a13dae647812f | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/e5b67f6905cec387d01d594e5f6f112ed01f62b4 | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/f27edbde7b0913eded78f479e0504020f3ce2729 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/fe49bd4dfebe4006c257c772b34ba20d85ed60e8 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/0dae5432183abbc775149ef926a30caf983dc0cf | sh4aeb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/7cd2753461a6b8495859ee6180cd57c935fa582b | aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/aa2165a7dd37b1467737376a46194de859e33283 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f77a4fd1c37278ceef75449c39bde518257de355 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/2ad46d70d515e7b536ae2e9825fc6f34d93cd528 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0b60fed9e046b8e1100a9413f29e78461bb54092 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c05d3c0a3eda4a93c5388b50e8281758530e8240 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/da392bb8bb42fb97bbaa0175979f8503f88373f1 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 3 wavemon-0.9.4 | 2 host-pahole-v1.23 | 1 libuwsc | 1 ulog-0389d243352255f6182326... | 1 xdriver_xf86-video-tga-1.2.2 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/c029728faa38779ee885275f5d18a266d91bde8f | powerpc | libuwsc | TIM | http://autobuild.buildroot.net/results/bd3be3c00213c4c021c465517f746f5d65d19776 | arm | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/253d4638bb26eab57d44c8271516fea84ce4e521 | xtensa | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/0dc0ded89276e9f9de7762dbe8ea40b9e07f5219 | mips64el | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/736a84930743cf60ee6c832c36c2dc3628be7946 | riscv64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/d44bec876105bd56a774645a53d7376b88dec5bc | nios2 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/256340d6f690c709bbf7061d9241370101185579 | aarch64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/41e4e761e05ccdf261d8de774d91a15b86a10d5d | powerpc | xdriver_xf86-video-tga-1.2.2 | NOK | http://autobuild.buildroot.net/results/a81960d4a0f3280162cfe28fec843edaad03c5a2 | Gitlab CI results for 2022-04-28 ================================ -- http://autobuild.buildroot.net From bernd.kuhls at t-online.de Fri Apr 29 05:12:06 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 29 Apr 2022 07:12:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcurl: security bump version to 7.83.0 Message-ID: <20220429051206.38141-1-bernd.kuhls@t-online.de> Changelog: https://curl.se/changes.html#7_83_0 Release notes: https://curl.se/news.html Fixes the following CVEs: CVE-2022-22576: OAUTH2 bearer bypass in connection re-use CVE-2022-27774: Credential leak on redirect CVE-2022-27775: Bad local IPv6 connection reuse CVE-2022-27776: Auth/cookie leak on redirect Signed-off-by: Bernd Kuhls --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 4be245041c..64a1129a90 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-7.82.0.tar.xz.asc +# https://curl.se/download/curl-7.83.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c curl-7.82.0.tar.xz +sha256 bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a curl-7.83.0.tar.xz sha256 321b1a09ebc30410f2e837c072e5521cf7095b757193af4a7dae1086e36ed31a COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 97857954db..ea8529c914 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 7.82.0 +LIBCURL_VERSION = 7.83.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ -- 2.30.2 From fontaine.fabrice at gmail.com Fri Apr 29 07:05:21 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 29 Apr 2022 09:05:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs atomic In-Reply-To: <20220428234527.3c5bb3b9@windsurf> References: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> <20220428234527.3c5bb3b9@windsurf> Message-ID: Le jeu. 28 avr. 2022 ? 23:45, Thomas Petazzoni a ?crit : > > On Wed, 27 Apr 2022 22:50:57 +0200 > Fabrice Fontaine wrote: > > > numactl unconditionally uses __atomic_fetch_and resulting in the > > following build failure on microblaze since commit > > 4ed540ddf59bec4b389be44d7f42820d2466904f: > > This explanation is unfortunately incorrect. It has nothing to do with > microblaze, because BR2_TOOLCHAIN_HAS_ATOMIC is true on microblaze: > > config BR2_TOOLCHAIN_HAS_LIBATOMIC > bool > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 && \ > !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 && \ > BR2_TOOLCHAIN_HAS_THREADS && \ > !BR2_BINFMT_FLAT > > config BR2_TOOLCHAIN_HAS_ATOMIC > bool > default y if BR2_TOOLCHAIN_HAS_LIBATOMIC > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_arm > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64 > > However, the key thing is that the build failure > http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a > has thread support disabled, and when threads are disabled, libatomic > is not built, and therefore BR2_TOOLCHAIN_HAS_LIBATOMIC is false. > > However, I don't see anywhere in the numactl build system where > -latomic is passed. Does it build on architectures that need to link > against libatomic to get atomic intrinsics? Linking with -latomic is done thanks to 0002-link-with-latomic-if-needed.patch. This patch was added to fix the build on architectures such as sparcv8. However, I don't understand why the build fails on microblaze without libatomic. Are we sure that microblaze really supports atomic without libatomic? > > Could you double check this, and rework the commit message? > > Thanks! > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com Best Regards, Fabrice From thomas.petazzoni at bootlin.com Fri Apr 29 07:33:58 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 29 Apr 2022 09:33:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs atomic In-Reply-To: References: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> <20220428234527.3c5bb3b9@windsurf> Message-ID: <20220429093358.55e406a5@windsurf> Hello Fabrice, On Fri, 29 Apr 2022 09:05:21 +0200 Fabrice Fontaine wrote: > > However, the key thing is that the build failure > > http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a > > has thread support disabled, and when threads are disabled, libatomic > > is not built, and therefore BR2_TOOLCHAIN_HAS_LIBATOMIC is false. > > > > However, I don't see anywhere in the numactl build system where > > -latomic is passed. Does it build on architectures that need to link > > against libatomic to get atomic intrinsics? > > Linking with -latomic is done thanks to 0002-link-with-latomic-if-needed.patch. > This patch was added to fix the build on architectures such as sparcv8. Ah, I missed that patch, thanks for pointing it out! > However, I don't understand why the build fails on microblaze without libatomic. > Are we sure that microblaze really supports atomic without libatomic? I explained it in my previous e-mail I think :-) It fails because the configuration you're pointing to has threads disabled, and when threads are disabled, libatomic is not built/provided by gcc. This is properly handled by BR2_TOOLCHAIN_HAS_LIBATOMIC being false in such configurations. So basically, your patch is correct (IMO), but the commit log isn't: the problem isn't Microblaze specific, but would happen on any architecture that needs libatomic to provide atomic intrinsics. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Fri Apr 29 08:09:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 10:09:08 +0200 Subject: [Buildroot] [git commit] package/libcurl: security bump version to 7.83.0 Message-ID: <20220429075918.6986A846E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b0b25f145469a14e3d85becf19aaca0a40fd4e25 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://curl.se/changes.html#7_83_0 Release notes: https://curl.se/news.html Fixes the following CVEs: CVE-2022-22576: OAUTH2 bearer bypass in connection re-use CVE-2022-27774: Credential leak on redirect CVE-2022-27775: Bad local IPv6 connection reuse CVE-2022-27776: Auth/cookie leak on redirect Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 4be245041c..64a1129a90 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-7.82.0.tar.xz.asc +# https://curl.se/download/curl-7.83.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c curl-7.82.0.tar.xz +sha256 bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a curl-7.83.0.tar.xz sha256 321b1a09ebc30410f2e837c072e5521cf7095b757193af4a7dae1086e36ed31a COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 97857954db..ea8529c914 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 7.82.0 +LIBCURL_VERSION = 7.83.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ From yann.morin.1998 at free.fr Fri Apr 29 08:09:57 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 10:09:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcurl: security bump version to 7.83.0 In-Reply-To: <20220429051206.38141-1-bernd.kuhls@t-online.de> References: <20220429051206.38141-1-bernd.kuhls@t-online.de> Message-ID: <20220429080957.GM3624965@scaer> Bernd, All, On 2022-04-29 07:12 +0200, Bernd Kuhls spake thusly: > Changelog: https://curl.se/changes.html#7_83_0 > Release notes: https://curl.se/news.html > > Fixes the following CVEs: > CVE-2022-22576: OAUTH2 bearer bypass in connection re-use > CVE-2022-27774: Credential leak on redirect > CVE-2022-27775: Bad local IPv6 connection reuse > CVE-2022-27776: Auth/cookie leak on redirect > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libcurl/libcurl.hash | 4 ++-- > package/libcurl/libcurl.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash > index 4be245041c..64a1129a90 100644 > --- a/package/libcurl/libcurl.hash > +++ b/package/libcurl/libcurl.hash > @@ -1,5 +1,5 @@ > # Locally calculated after checking pgp signature > -# https://curl.se/download/curl-7.82.0.tar.xz.asc > +# https://curl.se/download/curl-7.83.0.tar.xz.asc > # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 > -sha256 0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c curl-7.82.0.tar.xz > +sha256 bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a curl-7.83.0.tar.xz > sha256 321b1a09ebc30410f2e837c072e5521cf7095b757193af4a7dae1086e36ed31a COPYING > diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > index 97857954db..ea8529c914 100644 > --- a/package/libcurl/libcurl.mk > +++ b/package/libcurl/libcurl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBCURL_VERSION = 7.82.0 > +LIBCURL_VERSION = 7.83.0 > LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz > LIBCURL_SITE = https://curl.se/download > LIBCURL_DEPENDENCIES = host-pkgconf \ > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From etienne.carriere at linaro.org Fri Apr 29 08:41:00 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Fri, 29 Apr 2022 10:41:00 +0200 Subject: [Buildroot] [PATCH 1/5] boot/optee-os: bump to version 3.17.0 In-Reply-To: References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: Hello Arnout, By the way, people have faced issues build OP-TEE with recent OpenSSL version 3.0 (i think). There seems a path needs to be provided due to API changes between 2.x and 3.x. # export OPENSSL_MODULES=/path/to/sdk/usr/lib/oss-modules Maybe related to an issue seem in a u-boot, elsewhere: https://github.com/pyca/cryptography/issues/6895 Did one face such issues with OpenSSL 3.0? Best regards, Etienne On Wed, 27 Apr 2022 at 21:40, Arnout Vandecappelle wrote: > > > > On 27/04/2022 11:45, Etienne Carriere wrote: > > Bump OP-TEE OS package version to OP-TEE release 3.17.0. > > > > Cc: Cl?ment L?ger > > Signed-off-by: Etienne Carriere > > Applied series to master, thanks. > > Regards, > Arnout > > > --- > > boot/optee-os/Config.in | 4 ++-- > > boot/optee-os/optee-os.hash | 4 ++-- > > 2 files changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in > > index 30b6f62434..fb8a189a75 100644 > > --- a/boot/optee-os/Config.in > > +++ b/boot/optee-os/Config.in > > @@ -18,7 +18,7 @@ choice > > Select the version of OP-TEE OS you want to use > > > > config BR2_TARGET_OPTEE_OS_LATEST > > - bool "3.16.0" > > + bool "3.17.0" > > depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS > > select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY > > help > > @@ -52,7 +52,7 @@ endif > > > > config BR2_TARGET_OPTEE_OS_VERSION > > string > > - default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST > > + default "3.17.0" if BR2_TARGET_OPTEE_OS_LATEST > > default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ > > if BR2_TARGET_OPTEE_OS_CUSTOM_GIT > > > > diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash > > index d3a2637a4e..5c1047bac3 100644 > > --- a/boot/optee-os/optee-os.hash > > +++ b/boot/optee-os/optee-os.hash > > @@ -1,4 +1,4 @@ > > -# From https://github.com/OP-TEE/optee_os/archive/3.16.0/optee-os-3.16.0.tar.gz > > -sha256 ebc8e18ad2039ee97c34f74a7546de9119e26f04c368b6c7fd0c55f93d33d2d6 optee-os-3.16.0.tar.gz > > +# From https://github.com/OP-TEE/optee_os/archive/3.17.0/optee-os-3.16.0.tar.gz > > +sha256 5d5a3bda83abddfeb5ee765a15525f23adf2709ba2475a05e0c5f25790c1883f optee-os-3.17.0.tar.gz > > # Locally computed > > sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE From arnout at mind.be Fri Apr 29 09:53:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 29 Apr 2022 11:53:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <87y1zqi902.fsf@dell.be.48ers.dk> References: <20220427035039.1664864-1-james.hilliard1@gmail.com> <20220427103102.7f934c1f@windsurf> <2c51f9ba-5d02-17f7-98d0-8a4c1b6dcf79@mind.be> <87y1zqi902.fsf@dell.be.48ers.dk> Message-ID: <3ec51ca9-f5d5-bdcd-49a0-5a44729bb65d@mind.be> On 27/04/2022 22:09, Peter Korsgaard wrote: >>>>>> "Arnout" == Arnout Vandecappelle writes: > > Hi, > > >>> I don't have a very well-informed opinion, but perhaps we should think > >>> about this? > >> Yeah, not really sure, it may be useful to keep around, I think it > >> has an > >> alternative updated API to openssl's updated API that may be desirable > >> for some use cases, although probably not the most commonly used. > > > At that point, however, having libressl as a virtual package > > alternative for openssl becomes less and less realistic. Virtual > > packages should only be used if the alternatives can be considered > > drop-in replacements with compatible API. A few exceptions are > > acceptable, but it's becoming too much. > > > We should also start thinking what to do with openssl 3. It has an > > API that is somewhat compatible with openssl 1.1.1, but there are > > almost no packages that can use it without any changes. This could > > actually be an opportunity to get aout of this mess: most packages > > that are not compatible with libressl are probably already compatible > > with openssl 3. So if we introduce an openssl3 package, we can migrate > > the packages that don't like libressl to that, and leave the choice > > between openssl 1.1.1 and libressl for legacy and BSD packages. > > That indeed sounds like a way forward. Do we expect most applications to > (already have) move to the v3.x API or do we rather expect to have to > keep around openssl 1.1.1 / libressl for a long time? Fedora 36 has openssl3 as default and openssl1.1 as compat. So I expect that the flagship packages will support openssl3 by now, and it will take years for all almost-unmaintained packages to get updated. Unfortunately I know of no easy way of querying reverse dependencies, so it's hard to evaluate how many packages currently still need openssl1.1. Regards, Arnout From earthquake.de at freenet.de Fri Apr 29 14:02:30 2022 From: earthquake.de at freenet.de (Earthquake) Date: Fri, 29 Apr 2022 16:02:30 +0200 Subject: [Buildroot] ACE + TAO with buildroot - GLIBC_2.28 not found Message-ID: <8043273d-730b-c378-fd91-21e6902081fa@freenet.de> Hi, intergrating ACE was successfull with https://patchwork.ozlabs.org/project/buildroot/patch/20210413134139.13281-1-matthew.weber at rockwellcollins.com/ ACE lib is built. When I integrate TAO in the ace.mk TAO_LIBRARIES += TAO_IDL TAO_LIBRARIEs += tao/PortableServer $(foreach lib,$(TAO_LIBRARIES), ACE_ROOT="$(@D)" $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/TAO/$(lib) ACE_ROOT="$(@D)" TAO_ROOT="$(@D)/TAO"? all ) The tao_idl complier will be built. The PortableServer uses the created tao_idl complier but exit with: ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ../../../lib/libACE.so.7.0.2) ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ../../../lib/libACE.so.7.0.2) Wrong way to call? Thanks for support, Alex From stefan at agner.ch Fri Apr 29 14:47:42 2022 From: stefan at agner.ch (Stefan Agner) Date: Fri, 29 Apr 2022 16:47:42 +0200 Subject: [Buildroot] GRUB2 2.04 (buildroot 2022.02.1) failure reading sector errors Message-ID: <1f0d993a5097ca6e94a4ded0b7e0c5cb@agner.ch> Hi, On Home Assistant OS we are moving from Barebox to GRUB2 as the bootloader for UEFI based systems. The switch is currently on our beta channel with several hundert of users. I have now 4 independent reports where the system stopped booting after upgrading to the new OS version with GRUB2. The systems show the same error: "error: failure reading sector 0x9c900 from `hd0`." The sector number is not always the same, but it seems to be always within the partition holding the kernel. We are using compressed squashfs which might be a factor influencing the problem. Despite testing on several actual and virtual x86-64 systems I am unable to reproduce so far. At least one of the systems has been successfully tested with Debian 11 bullseye (which is using GRUB2 2.04 as well). That boot flow doesn't make use of squashfs of course. Anyone seen similar issues? Ideas how to get to the bottom of this? I am considering moving to 2.06 to see if that fixes the problem, is anyone working on 2.06 already? I see that buildroot is carring 150 patches on-top of vanilla GRUB2, so that requires some work. Best regards, Stefan From bernd.kuhls at t-online.de Fri Apr 29 18:37:08 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 29 Apr 2022 20:37:08 +0200 Subject: [Buildroot] [PATCH 2/2] package/tor: bump version to 0.4.7.7 In-Reply-To: <20220429183708.3819668-1-bernd.kuhls@t-online.de> References: <20220429183708.3819668-1-bernd.kuhls@t-online.de> Message-ID: <20220429183708.3819668-2-bernd.kuhls@t-online.de> Release notes: https://forum.torproject.net/t/stable-release-0-4-7-7/3108 Added sha256 hash provided by upstream. Signed-off-by: Bernd Kuhls --- package/tor/tor.hash | 3 ++- package/tor/tor.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/tor/tor.hash b/package/tor/tor.hash index 16e01c80a9..8f37dd6219 100644 --- a/package/tor/tor.hash +++ b/package/tor/tor.hash @@ -1,3 +1,4 @@ +# From https://dist.torproject.org/tor-0.4.7.7.tar.gz.sha256sum +sha256 3e131158b52b9435d7e43d1c47ef288b96d005342cc44b8c950bb403851a5b44 tor-0.4.7.7.tar.gz # Locally computed -sha256 94ccd60e04e558f33be73032bc84ea241660f92f58cfb88789bda6893739e31c tor-0.4.6.10.tar.gz sha256 47b54ed17e8fdcab3c44729a1789a09b208f9a63a845a7e50def9df729eebad0 LICENSE diff --git a/package/tor/tor.mk b/package/tor/tor.mk index 78a6de66dc..3b470a80d8 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -4,7 +4,7 @@ # ################################################################################ -TOR_VERSION = 0.4.6.10 +TOR_VERSION = 0.4.7.7 TOR_SITE = https://dist.torproject.org TOR_LICENSE = BSD-3-Clause TOR_LICENSE_FILES = LICENSE -- 2.30.2 From bernd.kuhls at t-online.de Fri Apr 29 18:37:07 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 29 Apr 2022 20:37:07 +0200 Subject: [Buildroot] [PATCH 1/2] package/tor: add -lz to fix static builds Message-ID: <20220429183708.3819668-1-bernd.kuhls@t-online.de> In order to remove a patch which needs frequent updates on major version bumps and to get rid of autoreconf we just add -lz when creating a static build. This make sure that static linking occurs in the right order. Signed-off-by: Bernd Kuhls --- Tested using this defconfig BR2_PACKAGE_XZ=y BR2_PACKAGE_ZSTD=y BR2_PACKAGE_TOR=y andes-nds32 [ 1/45]: OK arm-aarch64 [ 2/45]: OK bootlin-aarch64-glibc [ 3/45]: OK bootlin-arcle-hs38-uclibc [ 4/45]: OK bootlin-armv5-uclibc [ 5/45]: OK bootlin-armv7-glibc [ 6/45]: OK bootlin-armv7m-uclibc [ 7/45]: SKIPPED bootlin-armv7-musl [ 8/45]: OK bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED bootlin-m68k-68040-uclibc [10/45]: OK bootlin-microblazeel-uclibc [11/45]: OK bootlin-mipsel32r6-glibc [12/45]: OK bootlin-mipsel-uclibc [13/45]: OK bootlin-nios2-glibc [14/45]: OK bootlin-openrisc-uclibc [15/45]: OK bootlin-powerpc64le-power8-glibc [16/45]: OK bootlin-powerpc-e500mc-uclibc [17/45]: OK bootlin-riscv32-glibc [18/45]: OK bootlin-riscv64-glibc [19/45]: OK bootlin-riscv64-musl [20/45]: OK bootlin-sh4-uclibc [21/45]: OK bootlin-sparc64-glibc [22/45]: OK bootlin-sparc-uclibc [23/45]: OK bootlin-x86-64-glibc [24/45]: OK bootlin-x86-64-musl [25/45]: OK bootlin-x86-64-uclibc [26/45]: OK bootlin-xtensa-uclibc [27/45]: OK br-arm-basic [28/45]: OK br-arm-full-nothread [29/45]: SKIPPED br-arm-full-static [30/45]: OK br-i386-pentium4-full [31/45]: OK br-i386-pentium-mmx-musl [32/45]: OK br-mips64-n64-full [33/45]: OK br-mips64r6-el-hf-glibc [34/45]: OK br-powerpc-603e-basic-cpp [35/45]: OK br-powerpc64-power7-glibc [36/45]: OK linaro-aarch64-be [37/45]: OK linaro-aarch64 [38/45]: OK linaro-arm [39/45]: OK sourcery-arm-armv4t [40/45]: OK sourcery-arm [41/45]: OK sourcery-arm-thumb2 [42/45]: OK sourcery-mips64 [43/45]: OK sourcery-mips [44/45]: OK sourcery-nios2 [45/45]: OK 45 builds, 3 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ...0001-Fix-static-linking-with-OpenSSL.patch | 94 ------------------- package/tor/tor.mk | 7 +- 2 files changed, 5 insertions(+), 96 deletions(-) delete mode 100644 package/tor/0001-Fix-static-linking-with-OpenSSL.patch diff --git a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch b/package/tor/0001-Fix-static-linking-with-OpenSSL.patch deleted file mode 100644 index 26ed6fe819..0000000000 --- a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch +++ /dev/null @@ -1,94 +0,0 @@ -From ba6b8ee5b6dee19493a150c3715b0e202440d206 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Thu, 24 Jan 2019 18:19:51 +0100 -Subject: [PATCH] Fix static linking with OpenSSL - -Adjust link order of libz to solve bug with static linking -and remove host paths when looking for openssl. - -[Vincent: - - Adapt the patch to make it apply on the new version.] -[Bernd: rebased for tor-0.2.7.6, 0.2.8.10, 0.2.9.9, 0.3.1.7, 0.3.2.10, - 0.3.4.8, 0.3.5.7, 0.4.4.5, 0.4.5.6 & 0.4.6.7] -[Fabrice: fix detection of openssl functions in 0.3.5.8] -Signed-off-by: Vicente Olivert Riera -Signed-off-by: Bernd Kuhls -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 4 ++-- - src/test/include.am | 8 ++++---- - src/tools/include.am | 4 ++-- - 4 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 05e1392cf..580befa6b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1074,7 +1074,7 @@ AC_ARG_WITH(ssl-dir, - ]) - - AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1]) --TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], -+TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto -lz $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], - [#include - char *getenv(const char *);], - [struct ssl_cipher_st; -@@ -1104,7 +1104,7 @@ dnl Now check for particular openssl functions. - save_LIBS="$LIBS" - save_LDFLAGS="$LDFLAGS" - save_CPPFLAGS="$CPPFLAGS" --LIBS="$TOR_OPENSSL_LIBS $LIBS" -+LIBS="$TOR_OPENSSL_LIBS -lz $LIBS" - LDFLAGS="$TOR_LDFLAGS_openssl $LDFLAGS" - CPPFLAGS="$TOR_CPPFLAGS_openssl $CPPFLAGS" - -diff --git a/src/test/include.am b/src/test/include.am -index ecb768957..39a622e88 100644 ---- a/src/test/include.am -+++ b/src/test/include.am -@@ -399,8 +399,8 @@ src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_ntor_cl_LDADD = \ - libtor.a \ - $(rust_ldadd) \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ - @CURVE25519_LIBS@ @TOR_LZMA_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -@@ -409,8 +409,8 @@ - src_test_test_hs_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_hs_ntor_cl_LDADD = \ - libtor.a \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ - @CURVE25519_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_hs_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -diff --git a/src/tools/include.am b/src/tools/include.am -index f7aa7e0d1..4c4e8aa7a 100644 ---- a/src/tools/include.am -+++ b/src/tools/include.am -@@ -35,7 +35,7 @@ src_tools_tor_gencert_LDADD = \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ - $(rust_ldadd) \ -- @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@ - endif - -@@ -45,7 +45,7 @@ src_tools_tor_print_ed_signing_cert_LDADD = \ - src/trunnel/libor-trunnel.a \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ -- @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ - - if USE_NSS --- -2.20.1 diff --git a/package/tor/tor.mk b/package/tor/tor.mk index d16b3541eb..78a6de66dc 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -11,7 +11,6 @@ TOR_LICENSE_FILES = LICENSE TOR_CPE_ID_VENDOR = torproject TOR_SELINUX_MODULES = tor TOR_DEPENDENCIES = libevent openssl zlib -TOR_AUTORECONF = YES TOR_CONF_OPTS = \ --disable-gcc-hardening \ @@ -64,8 +63,12 @@ endif TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -TOR_CONF_ENV += LIBS=-latomic +TOR_LIBS += -latomic endif +ifeq ($(BR2_STATIC_LIBS),y) +TOR_LIBS += -lz +endif +TOR_CONF_ENV += LIBS="$(TOR_LIBS)" define TOR_INSTALL_CONF $(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \ -- 2.30.2 From james.hilliard1 at gmail.com Fri Apr 29 19:15:31 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 29 Apr 2022 13:15:31 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target rootfs size to 5G Message-ID: <20220429191531.4173116-1-james.hilliard1@gmail.com> Since there isn't a way to reliably compute the required size lets just set it to what should be a high enough value to not run out of space. Fixes: - http://autobuild.buildroot.net/results/a3c68cdc515353c0d2650ee743aa3bd8ab99a418 - http://autobuild.buildroot.net/results/ad426ff903d78a92de8f0208876e2196136a09a8 Signed-off-by: James Hilliard --- utils/genrandconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/utils/genrandconfig b/utils/genrandconfig index adefb8f502..ab1f6f43b1 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -200,6 +200,8 @@ def fixup_config(sysinfo, configfile): with open(configfile) as configf: configlines = configf.readlines() + ROOTFS_SIZE = '5G' + BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): @@ -441,6 +443,16 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_TARGET_OPTEE_OS=y\n') configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') + if 'BR2_TARGET_ROOTFS_EXT2_GEN=y\n' in configlines and \ + 'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines: + configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n') + configlines.append('BR2_TARGET_ROOTFS_EXT2_SIZE="%s"\n' % ROOTFS_SIZE) + + if 'BR2_TARGET_ROOTFS_F2FS=y\n' in configlines and \ + 'BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n' in configlines: + configlines.remove('BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n') + configlines.append('BR2_TARGET_ROOTFS_F2FS_SIZE="%s"\n' % ROOTFS_SIZE) + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') -- 2.25.1 From james.hilliard1 at gmail.com Fri Apr 29 20:04:17 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 29 Apr 2022 14:04:17 -0600 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> <57660639-2f34-4068-793a-ce82fc881b47@mind.be> Message-ID: On Wed, Apr 27, 2022 at 1:15 AM James Hilliard wrote: > > On Wed, Apr 27, 2022 at 1:07 AM Arnout Vandecappelle wrote: > > > > > > > > On 26/04/2022 03:35, James Hilliard wrote: > > > On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: > > >> > > >> > > >> > > >> On 24/04/2022 23:39, James Hilliard wrote: > > >>> This package now requires flit and must use the flit-bootstrap setup > > >>> type for the host build since it is a dependency of > > >>> host-python-pypa-build. > > >>> > > >>> Signed-off-by: James Hilliard > > >> > > >> > > >> Applied to master, thanks. > > >> > > >> While testing this series, I noticed that the following gives an error (this > > >> was already the case in the original series; I haven't checked how it was before > > >> your series was applied - for tomli, it certainly wouldn't happen because it > > >> would still be using setuptools, but maybe for other flit packages, I don't know). > > >> > > >> make python-tomli > > >> make python-tomli-dirclean > > >> make python-tomli > > >> ... > > >> FileExistsError: File already exists: > > >> /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py > > > > > > I think it happens only when building across version bumps, probably a bug > > > with installer(https://github.com/pypa/installer) upstream. > > > > No, it's exactly the sequence of commands that I wrote above that triggers it. > > Oh, yeah, I see what's happening, I was testing with per-package directories > which prevents one from hitting that issue in most cases since it clears out > the conflicting/old artifacts with dirclean. > > > > > I haven't checked if this is the case for flit/pep517 packages in general, or > > just for flit-bootstrap. > > Likely affects all flit/flit-bootstrap and pep517 packages if I had to > guess, seems > due to stale build artifacts lying around combined with installer not wanting to > overwrite artifacts in general, might need to upstream some way to enable > artifact overwrites, I'll look into that. Issue opened upstream: https://github.com/pypa/installer/issues/121 > > > > > Regards, > > Arnout > > > > > > > >> > > >> Would be nice to get that fixed... > > > > > > Yeah, I'll see if I can track that issue down. > > > > > >> > > >> Regards, > > >> Arnout > > >> > > >>> --- > > >>> Changes v6 -> v7: > > >>> - only use flit-boostrap for host-python-tomli > > >>> --- > > >>> package/python-tomli/python-tomli.hash | 4 ++-- > > >>> package/python-tomli/python-tomli.mk | 7 ++++--- > > >>> 2 files changed, 6 insertions(+), 5 deletions(-) > > >>> > > >>> diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > > >>> index 1a274c8a40..8368f9ee13 100644 > > >>> --- a/package/python-tomli/python-tomli.hash > > >>> +++ b/package/python-tomli/python-tomli.hash > > >>> @@ -1,5 +1,5 @@ > > >>> # md5, sha256 from https://pypi.org/pypi/tomli/json > > >>> -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > > >>> -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > > >>> +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > > >>> +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > > >>> # Locally computed sha256 checksums > > >>> sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > > >>> diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > > >>> index b8c20ca736..b803d67466 100644 > > >>> --- a/package/python-tomli/python-tomli.mk > > >>> +++ b/package/python-tomli/python-tomli.mk > > >>> @@ -4,12 +4,13 @@ > > >>> # > > >>> ################################################################################ > > >>> > > >>> -PYTHON_TOMLI_VERSION = 1.2.0 > > >>> +PYTHON_TOMLI_VERSION = 2.0.1 > > >>> PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > > >>> -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > > >>> -PYTHON_TOMLI_SETUP_TYPE = distutils > > >>> +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > > >>> PYTHON_TOMLI_LICENSE = MIT > > >>> PYTHON_TOMLI_LICENSE_FILES = LICENSE > > >>> +PYTHON_TOMLI_SETUP_TYPE = flit > > >>> +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > > >>> > > >>> $(eval $(python-package)) > > >>> $(eval $(host-python-package)) From james.hilliard1 at gmail.com Fri Apr 29 23:04:11 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 29 Apr 2022 17:04:11 -0600 Subject: [Buildroot] [PATCH 1/2] package/pkg-python: fix flit-bootstrap python-installer dependencies Message-ID: <20220429230412.788645-1-james.hilliard1@gmail.com> We should not exclude the host-python-flit-core dependency when building host-python-installer as it will be needed when migrating host-python-installer to use flit-bootstrap. Signed-off-by: James Hilliard --- package/pkg-python.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e9de5cb8d3..7aff3b745c 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -243,8 +243,9 @@ ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) ifeq ($$(filter host-python-flit-core host-python-installer,$(1)),) -$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +$(2)_DEPENDENCIES += host-python-installer endif endif # SETUP_TYPE -- 2.25.1 From james.hilliard1 at gmail.com Fri Apr 29 23:04:12 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 29 Apr 2022 17:04:12 -0600 Subject: [Buildroot] [PATCH 2/2] package/python-installer: migrate setup type to flit In-Reply-To: <20220429230412.788645-1-james.hilliard1@gmail.com> References: <20220429230412.788645-1-james.hilliard1@gmail.com> Message-ID: <20220429230412.788645-2-james.hilliard1@gmail.com> This package is moving to flit and will soon be dropping distutils compatibility support. We need to use flit-bootstrap as opposed to the normal flit setup type since host-python-pypa-build depends on host-python-installer. We need to add the src directory to the PYTHONPATH so that installer can run from the src directory when installing itself. Signed-off-by: James Hilliard --- package/python-installer/python-installer.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-installer/python-installer.mk b/package/python-installer/python-installer.mk index 862a251415..5bb14e315e 100644 --- a/package/python-installer/python-installer.mk +++ b/package/python-installer/python-installer.mk @@ -9,6 +9,7 @@ PYTHON_INSTALLER_SOURCE = installer-$(PYTHON_INSTALLER_VERSION).tar.gz PYTHON_INSTALLER_SITE = https://files.pythonhosted.org/packages/74/b7/9187323cd732840f1cddd6a9f05961406636b50c799eef37c920b63110c0 PYTHON_INSTALLER_LICENSE = MIT PYTHON_INSTALLER_LICENSE_FILES = LICENSE -PYTHON_INSTALLER_SETUP_TYPE = distutils +PYTHON_INSTALLER_SETUP_TYPE = flit-bootstrap +HOST_PYTHON_INSTALLER_ENV = PYTHONPATH="$(@D)/src" $(eval $(host-python-package)) -- 2.25.1 From thomas.petazzoni at bootlin.com Sat Apr 30 04:39:22 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 30 Apr 2022 04:39:22 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-29 Message-ID: <20220430043928.44CDD4016B@smtp2.osuosl.org> Hello, Autobuild statistics for 2022-04-29 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 16 | 4 | 0 | 20 | master | 142 | 259 | 0 | 401 | Classification of failures by reason for master ----------------------------------------------- optee-client-3.17.0 | 20 host-gcc-final-10.3.0 | 13 git-2.31.2 | 12 python-cryptography-37.0.1 | 11 protobuf-3.20.1 | 7 zlib-ng-2.0.6 | 7 glibc-2.34-109-gd64b08d5ba7... | 6 linux-5.15.33 | 6 uclibc-1.0.40 | 6 host-go-1.18.1 | 5 libopenssl-1.1.1n | 5 linux-headers-5.10.104-cip3... | 5 pciutils-3.8.0 | 5 qpid-proton-0.35.0 | 5 toolchain-external-bootlin-... | 5 busybox-1.35.0 | 4 libssh2-1.10.0 | 4 linux-headers-5.15.33 | 4 zchunk-1.2.2 | 4 bitcoin-0.21.2 | 3 elfutils-0.186 | 3 freeipmi-1.6.9 | 3 host-pahole-v1.23 | 3 target-finalize | 3 toolchain-external-bootlin | 3 unknown | 3 vlc-3.0.17.4 | 3 containerd-1.6.2 | 2 frr-8.2.2 | 2 google-breakpad-c85eb4a59b6... | 2 host-gcc-initial-10.3.0 | 2 host-google-breakpad-c85eb4... | 2 host-nodejs-14.18.3 | 2 libldns-1.8.1 | 2 libressl-3.5.2 | 2 linux-headers-5.10.104-cip3 | 2 mesa3d-21.3.8 | 2 nginx-1.20.1 | 2 open62541-v1.2.2 | 2 pipewire-0.3.50 | 2 rng-tools-6.15 | 2 sngrep-1.4.7 | 2 uacme-1.7.1 | 2 xenomai | 2 18xx-ti-utils-8.8 | 1 acpid-2.0.33 | 1 aespipe-2.4f | 1 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 arp-scan-1.9.7 | 1 bat-0.19.0 | 1 bcusdk-0.0.5 | 1 berkeleydb-5.3.28 | 1 bind-9.16.27 | 1 brltty-6.4 | 1 bubblewrap-0.6.1 | 1 docker-cli-20.10.14 | 1 dropbear-2022.82 | 1 ecryptfs-utils-111 | 1 edk2-edk2-stable202102 | 1 exempi-2.6.1 | 1 ffmpeg-4.4.2 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 gstd-0.14.0 | 1 heirloom-mailx-12.5 | 1 host-gcc-initial-11.2.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-libcap-2.63 | 1 ipmiutil-3.1.8 | 1 jailhouse-0.12 | 1 json-c-0.15 | 1 kismet-2022-02-R1 | 1 ktap-23bc7a4a94bd9e4e1b8b7c... | 1 libbsd-0.11.3 | 1 libcap-ng-0.8.3 | 1 libgcrypt-1.10.1 | 1 libglib2-2.70.4 | 1 libp11-0.4.11 | 1 libv4l-1.22.1 | 1 libwebsockets-4.3.1 | 1 libzlib-1.2.12 | 1 lttng-babeltrace-1.5.7 | 1 Makefile:732: target-finalize | 1 moby-buildkit-0.10.0 | 1 musl-1.2.2 | 1 ncurses-6.1 | 1 ne10-1.2.1 | 1 nodejs-14.18.3 | 1 openpgm-5-3-128 | 1 openssh-9.0p1 | 1 perl-5.34.1 | 1 polkit-a2bf5c9c83b6ae46cbd5... | 1 pppd-2.4.9 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 ruby-3.1.0 | 1 shadowsocks-libev-3.3.5 | 1 shim-15.4 | 1 tinifier-3.4.0 | 1 uclibc-ng-test-0844445e7358... | 1 xenomai-custom | 1 xvisor-0.3.1 | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | 18xx-ti-utils-8.8 | NOK | http://autobuild.buildroot.net/results/ffd723e2f1d0c8787bca20b5b85aa2ff73fcec37 | mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/f7a6c74c9d4493e4cf4e3634a4ea7705943d3343 | ORPH mips64el | aespipe-2.4f | NOK | http://autobuild.buildroot.net/results/a2be6a7e9202d3f376487efb6cd8f68c9b77552b | ORPH microblaze | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/06cf71dc15dbbcda6f87d3d1ee35b5b98d72ab80 | m68k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/c35d9649711450fb28a9b78e8fbcc57004486381 | riscv64 | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/e42fc2a60bfb8122f33d0754550aba5f161d479e | i686 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/88e546ac3017852784268638d24a34802be1dd50 | arc | bcusdk-0.0.5 | NOK | http://autobuild.buildroot.net/results/d47f6e47540929e5947ea7fdbb810992453801f3 | sh4eb | berkeleydb-5.3.28 | NOK | http://autobuild.buildroot.net/results/749cd95a011ed1047884d7217325ed506bdbe733 | ORPH sh4aeb | bind-9.16.27 | NOK | http://autobuild.buildroot.net/results/a1df2ee28df39afecee8e4b964aafb0172bb0d07 | ORPH mips64el | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/ac29885022b1bef0837d8d411059a36c9661e3dd | aarch64_be | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/ab41034370ec1d823687d173ed8d56ca584310a3 | microblazeel | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/73b4884c754a5f92cfa420f59a480335f56607fd | mips | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/4e1fc0ed9e328657f26fb8b82aa46633a0d517cc | mips64 | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/369ed6f3a4fa798bbdb58f39c1397949b52deb9c | m68k | busybox-1.35.0 | NOK | http://autobuild.buildroot.net/results/173b6e309ce9c50805ac039ac992f3a36177af74 | ORPH riscv64 | busybox-1.35.0 | NOK | http://autobuild.buildroot.net/results/4748d244c30693144ac2a28c64cabe8dd4f7fc35 | ORPH riscv64 | busybox-1.35.0 | NOK | http://autobuild.buildroot.net/results/74e5cebf5519b6c2679789b21d136588656ea7a8 | ORPH m68k | busybox-1.35.0 | NOK | http://autobuild.buildroot.net/results/91938addae647e447716dff51971fe7dc5a2a91c | ORPH x86_64 | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/93c4aed5ff2ff1d36a6d402c1643ee21c8648806 | aarch64 | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/34f0e5bbffcdc1cb5a92688b4f00236f4cd5b1f4 | powerpc64le | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/ac9b60515999ca5044645e67b66eb666e7f69969 | riscv64 | dropbear-2022.82 | NOK | http://autobuild.buildroot.net/results/20d86536a273adc371c065c2e1af66028e83929c | arc | ecryptfs-utils-111 | NOK | http://autobuild.buildroot.net/results/e3e54ae1fe0c84090a749b9490005aac30a99a34 | x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/0d3559d5013ec2f9297cfaf36a5e3984ab6dadad | microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/dffbc4010bfb1c62f215d6ac6358b57689ae5a4e | ORPH microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/bbca0cc7d421cadb1182888edc59179ac605b1c2 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/77733f035ad01f0b7f9a8de3608f482e3af0e72c | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/7f6bba97e7343597f45ffdecf1212565e1c6974f | arm | ffmpeg-4.4.2 | NOK | http://autobuild.buildroot.net/results/a7325e21cf404b9f30348326ec1ecbfb0f831123 | arm | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/6b3b0b5241ffd78cd53012904edae70e2f362414 | sh4 | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/de7d9040fc35e4407f57a5c2a6346263cb4aed8d | powerpc | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/6569e549724b886f844c4daea764c243518c988b | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/41a6a8a4f6b3bcb750b07bff9b1d0dc2d6579023 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/57fe1cb226d3b84704a3838cad48ec06e3adeb7a | s390x | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/b795050fd41831576c33303d86a16602a69db5ff | aarch64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/065bb060342908c1c302957be7379b5f8ca54796 | m68k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/22cd50b51a6319a73ca7a025fdf42cb6b4dcd77f | powerpc | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/f8ec920b35ecb13a964f2447aa678d23b5737a0b | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/ad588d5f57d7e4ddaa342633d8e932b7a2d3acf3 | i686 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/a5be4902394339a862571d32345572f17e6b2da8 | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/4959d26ada080c092893aa657bdfbf33ecc76cb3 | powerpc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/16092bcc70553afe1cd25bcc56c7d002c051959c | armeb | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/68bbc5d48cc3ec31d333cbd110db2caeb3ac0a95 | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/b627348add06b13ea0b43b324ebd6dd3c98e4d77 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/ecaf75f9bc3de9aa8241f123972faff8988f6f81 | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/df7ba82891e3b22f6b66f2d912f533f316e66da1 | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d39b6ac4efdcce98814c5d9acee81f64a88b875a | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/001131b584dfcd28ed1350743c25bb0257193f3f | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e9fb95290e9eafa6dfe339577909e42ca466b037 | mips64el | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d5e7080fe8ab8b983c39f83c0db4373862b3451e | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f249ff35583abdc99e675bc55520e3abccb5888c | microblaze | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e95ebac7843eabcbfca7c7304a09e5761c8ed652 | mips64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/49d838baa8582420870b849551adbae3659e6f79 | xtensa | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8d8cc0cc9eec5bf398b3ecbc907e254600d4aea9 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/3dd55131cc954f4feb6cb8192845c723ed63eaa1 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f771f757389534170ca0387cf60760eebf0766f6 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/97e7da514a881639f3f6a66214ce6630cd783587 | sh4a | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/d134811c74fc2886ce7756abc3169cfa11f14db4 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/409ccd0c6bc60249e9fd405328bb614c287eacd3 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/ea2060bede6f9057dd04981d8117ae7384fa60d0 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/3f3e4da6643cc4bef1f86f0527013900610f1dfa | sh4a | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/fa7fafbb1ee7a905ee17372006bf649284f4d3dd | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/5080debddd0eb6cbab2c3ae9c2e15f293134629e | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/f8a7689f2c02bdc50f3127c9a3d2cbb4514437e5 | microblazeel | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/0bb4abb806a2de7fc4b3df99750ef0c489070450 | ORPH sh4a | heirloom-mailx-12.5 | NOK | http://autobuild.buildroot.net/results/9e236aa3461701fb1fd0e7d929f1c49d47d7beec | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/11570e3454c02e9dbcb104593b91e0bd1919ff65 | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bc2593ec19eb206808df377b1dfac40b138c1641 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/734ad09932b0b52e28e6c771b8de017ad427890d | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1b32624f4523b83f234bebb3c073ea3c9ac04155 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b13c73101e087912a65b3a052a9fd5123d9175b0 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/af7bf6fd6c6d6cf964c3927e554a2781231ada3c | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5e94a96dd70ecf02af777f380ca9609728d474c4 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c02db5fe6d7633232a4b170e3d29ad524b37fdc2 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/959d272ea2931dc07176af7c67f0a3a11ae96ab8 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1a99be6405e39b17e635835e07e68644c40fd2fc | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0f02339e37de299b827db9c6e73ca0fff89bb8b1 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e724306873fcb7809e7053732eb44cc8e6a22a00 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4fe1b5b462e8450da86a29b1492427d23230b5b2 | arceb | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/09063f611d64287a9274f76809cc5d3952b43d50 | armeb | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/7eb2dff577111996adee8bf998c10a4d1d07f3ee | arc | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/8bd312760ac84d1f00800f7fafd1f5fd3c3605da | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/3915e1d1764236b179048867bec0b3f962dd8d3c | ORPH mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/e9ff17ea1e06bbb39f5a871b4f6286244f2c9bff | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/add0fb2f6ceac3b05221128bd969b9ba3a41e5a1 | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/a199c4183747aa0266bfedd714614eaeda0714e4 | mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/b4f825a83504100aff8366858495dd55596d5760 | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/9d904bc1d8197a61c193c06259a7c448f40cd8d9 | mipsel | host-google-breakpad-c85eb4... | NOK | http://autobuild.buildroot.net/results/67696ad50793046a3f7d74f3ef50b77b01e95c5a | x86_64 | host-google-breakpad-c85eb4... | NOK | http://autobuild.buildroot.net/results/a3d4e395b45a20eb565aca1f8252b4edab13a683 | powerpc | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/f033b56fb3376c28dbc0d82856776d09d41af3df | aarch64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/1ffa9fbcbf365eed0d278a94cda4702eb833c9d5 | aarch64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/361cef449e2e38613fd8dcd2da85cfcb754f32d6 | i686 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/0d5bb0f33130d36745fc8ac75e0a4a03a95b6b58 | arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/745e9ed9ee5da00da5292c6a2245a82726491fa8 | microblazeel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/89d6812922e776c4301764cacf01b227587b328c | x86_64 | ipmiutil-3.1.8 | NOK | http://autobuild.buildroot.net/results/7f4c27c0dfa008aee5deefe176229eb7dc48a44b | x86_64 | jailhouse-0.12 | NOK | http://autobuild.buildroot.net/results/d01f4a307868c48e5cb45ad6be40f5d0593bf331 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/5da78c28f57bbaaa3a85d0a5f02138bdf865408b | mipsel | kismet-2022-02-R1 | NOK | http://autobuild.buildroot.net/results/0d62ab8ab659f31811cbce3fa9c2e2cc2901b707 | ORPH sparc | ktap-23bc7a4a94bd9e4e1b8b7c... | NOK | http://autobuild.buildroot.net/results/0924f6e46f6e2213938256db1011f21d909695ac | sh4aeb | libbsd-0.11.3 | NOK | http://autobuild.buildroot.net/results/6f09542e16c2fabc34b58431fa13170f7b7535de | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/da183e5148efaff35746434604ac31799a965367 | powerpc64le | libgcrypt-1.10.1 | NOK | http://autobuild.buildroot.net/results/815946bf7e45601e3d0c97c3f93312f1bbf4d724 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/fb802c355f30f17ab60f65078ef3ae9bea1efe72 | i686 | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/ad119fef9705d2eda3ade89e801b37b695af8ec4 | arm | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/9bc57882099a445d67244ab862235ce977760d36 | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e44f3d27f6039e8c7be03559eb14eaee12677f0b | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/da5e467d581cb1e323a2e11bd718a6992bef6860 | sh4eb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/11185ae71fe8b21a568a980d6c186d59fda9be5c | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/d4f2b6bc554bc2deb76d13317b3377c6f8cc82aa | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/890243e1459f60fbceec9418a4e3c82d522ea7f3 | aarch64_be | libp11-0.4.11 | NOK | http://autobuild.buildroot.net/results/95e3c334c7979f3ef47a11ba30e13f83c82770ab | ORPH m68k | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/7cdef987884345060aa55b9b2b65128a16cc67dc | ORPH mips | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/4042b852d5e32e6fca872f1eb6219fa5f2c9d36a | ORPH powerpc | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/64ff7d873bbfec37df83c6f389d603608ae93834 | or1k | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/3ff7aa6607b285e7f101e48a4024f3e30d1ec237 | sh4a | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/8c52ad3b1455dce5d905c4b44f752c8a7c032777 | i586 | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/e03096a66a814ebfde6e7d468e5fb37fdc571d6f | i686 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/575090b9c1d397093f4ba2a447c0ee6939a29ccd | xtensa | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/504bb2674f5b37c622d21c9b58bff531ca47bb17 | m68k | libzlib-1.2.12 | NOK | http://autobuild.buildroot.net/results/7ec3d746e96225c4982957ce1a8a96dc0c070fe5 | ORPH mipsel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/b16fb6d44f27a4a514337c6ae90234c13f17ede4 | ORPH sh4a | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/6826e4abcf18f63ba7354585ec7644394b0453dc | ORPH mipsel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/443fd1753ca75e4287caf3049317e73aa6a898b5 | ORPH nios2 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/55a762e1f3de4460d3fe2e7598be99cc60098005 | ORPH arc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/ed601efe1496647bbafc877a7dfca83c68355566 | ORPH powerpc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/cb4ad18cb90ae5e6b84b36ad33d1e68c214bb5a1 | ORPH aarch64 | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/963dc5121351eab486f71705f8dd6757f8042d86 | ORPH microblaze | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/60d9aa94b02005570ffef1f9afdf8bb34317fd8e | ORPH mips | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/32831f951baa5e3cde4f5927f4be57400f232f10 | ORPH arc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/f9229ab971da5ec4b548756aeeb08233f5e40da5 | ORPH m68k | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/ee0f22d41e4d5b0d6e22dd8516d3579a95f13ac7 | ORPH powerpc64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/4ff5f1cd1bf70b63af15902ee919054170c6ff96 | ORPH nios2 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/f98e52e7387f0c96816a525cd10e1eb8590ceec6 | ORPH powerpc64le | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/c987cdf2d61197c5578b60201ddac4f5b70f44ff | ORPH aarch64_be | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/2e63a0fe7e96beed5df596cc67d1306a77c2ce1e | ORPH riscv32 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/bb23e932a1430aef4037c36d4055a49d82e634f3 | ORPH aarch64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/f42fe5458792d8b0093f864e14aadc976fe91a6e | ORPH or1k | lttng-babeltrace-1.5.7 | NOK | http://autobuild.buildroot.net/results/5a91c9b3b0a09bce6cd18dedb1be9dbb953bed2b | mipsel | Makefile:732: target-finalize | NOK | http://autobuild.buildroot.net/results/226d7906eeeada005ff7805ea2d07ba4f41b783b | mips64el | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/bbdaff4de4c1a6f09b60f000046f5760dc4a12d4 | arm | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/68e6106171cc0b4ad1750b31f529ef1554cafb9d | powerpc64le | moby-buildkit-0.10.0 | NOK | http://autobuild.buildroot.net/results/1741a788c5170608f50442a601896cfbffb061b8 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/e7f807d6858b4dfe6b8e54b051559e3104d4afc8 | arceb | ncurses-6.1 | NOK | http://autobuild.buildroot.net/results/8e481cc926bfeec67111e85d29762824c411eeca | ORPH aarch64 | ne10-1.2.1 | NOK | http://autobuild.buildroot.net/results/f30234a17089559d26f173683778db4944781b51 | arc | nginx-1.20.1 | NOK | http://autobuild.buildroot.net/results/27c8be23c0539617d55849b49060678cb1765066 | riscv32 | nginx-1.20.1 | NOK | http://autobuild.buildroot.net/results/680c3814579c5e94cd4f842fc09351d28c469e5f | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/4ec21e17b6dd7936b43ffc23951931ea33df7a09 | riscv32 | open62541-v1.2.2 | NOK | http://autobuild.buildroot.net/results/3091dcbdab7b1f0b92488b808f5cdf2bef0bacc8 | ORPH nios2 | open62541-v1.2.2 | NOK | http://autobuild.buildroot.net/results/38ed2e71e5b0a639402a029e255987d2e24a76ee | ORPH mips64 | openpgm-5-3-128 | NOK | http://autobuild.buildroot.net/results/f3b70c49adb0e9c9f29d6dc6532c2df6d93d480a | m68k | openssh-9.0p1 | NOK | http://autobuild.buildroot.net/results/ca065b3a44ba9f1919e3cc2bef583133fb0aa012 | ORPH arc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/9fb7c4cf8c7aa13ab8eec3ecd76c7627aa7b33ad | x86_64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/f55cddf92bbaa04b468931c83bedfd627ec9e37e | nios2 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/66c219f6a69412fe9ec4cddaf9cc8dc8c4242870 | mips | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/ae5fc2e12f321d8daf97d2d9b6fe4562043afccb | aarch64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/19162d8f240684b35714a53ac8bd9d4d33c4d75c | s390x | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/c5e21e45fc9180f9d9152ee2d2734fe4a9bb1ff4 | sparc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/b45c724542eb725dd8888c75ccd8e926a7a00611 | mips64el | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d9ec0b17c5ecd67cc098abc0594e5df190577d29 | sparc64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/f80686fa4c7900960565e2723376b3f5f03f6b35 | s390x | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/52ba0115fff8318e10076d06ad586c0082d2b3d1 | sparc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/2ef07887513e2248495ebf448ded254d2e344b97 | mipsel | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/fc2af7b8b2075b0772789278bedff9e51e99cea0 | m68k | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/eab10b6ac5bac5d83d99662bc38a2b7b1c273e91 | xtensa | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/e7d7dbacd049d9cba2428bdb99ea79183639ae9a | nios2 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/f83e51d8720528d66e9978acb3475324dc7155f8 | microblaze | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/fa017e7f98fc8d0db4cd3b1604afb34521a1a8f9 | aarch64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/b8ac1d46abd24b273f8375b7365eb547edeff6b4 | sparc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/e6fe357a7565331ed7c3712ae22b849424de5b8e | m68k | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d3c17c10ca4560b5e075ab1b69e511a7123d674b | aarch64_be | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/594d7651b5d0eaef35e3765bf8cdc6d28b629907 | arc | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/075bfe80fc288e81cf504e8af2dd1b76e85f240f | ORPH arm | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/058b2bf1cc5ad631968345e642142ebc90667daa | ORPH i586 | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/5d8c556cfa6dfb45b0da3e4cfca5c05e142d14cb | ORPH mipsel | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/f76f06363d7efe43b709648fb4b23d394000753e | ORPH mips64el | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/ba755f0a73099df247677cf427ad0ed9ab87be82 | ORPH armeb | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/1e768f41031784941cb17ae20084fbb2d6880b4f | aarch64_be | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/95f16971de95db2f61062daa3f2a0b599e9aef35 | mips | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/e33e97055c3b568bf270570c80f08e7e12875384 | aarch64_be | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/5b3e9c8e3fa373f93f585bcdac4e72279258cdcb | sparc64 | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/19d92ffc48a169323c0a2b6d2bd10fa95acd1494 | ORPH nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/d99e3c85812f3a0cbbc2adef7a6aaa39f6b6ab5f | or1k | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/018c52039021356bb21de74da59a15ede8c7b854 | microblazeel | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/7b85fd39c8191ff33cb47abb55f67fc500f019fc | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/707c181b3e0549116251f1cc2c5c13327b8c7ffa | nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/8436f184288b30f05ec9eef677990a7de7c6507c | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/864581b35ba46d54c4a9281cc743e668e711b2fa | nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/6883255bcc3cce5c81d0eb38fc9a24d969e14f52 | aarch64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/3b331f232df68a2c6ed7b213b7892949ec538eb9 | sparc64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/e1dc3b5b7b782368161571ad22779e2e6e5a0f89 | powerpc64le | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/592e6919f0acdc3a4c034110b7588720e83145af | powerpc64le | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/4add89f1ed4dc6684a4c4391164279d4e7e61024 | x86_64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/6e182c736cff18b751b5adc62b6976656b84fdad | mipsel | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/cdedc7d4ef2627f5e4546244e589559b4149ab01 | sparc64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/bf03b292a1e1b1e5241001b8f006030328345779 | sparc64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/f9d44f4d5ef3457ccc00baebb603dc6d9e3eef9a | aarch64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/2a11f2e2bf28d64c1b84c1276e182449ee5f98f9 | arm | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/91831695207c0a0ab796d0d74de95a341d564e76 | aarch64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/1d4d53b27f839591eb9fc2ed1b1c2c82be0eb7b3 | m68k | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/6f1a4fecaf3c6d26c0bf6fed45a9d5268f179e83 | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/27ff9586d9d7d4e15d2b0272421b0d200a2d9e4e | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/c9eb90dbea0c8fe7eb17256b58a22e419f5a95e0 | m68k | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/cf4d368aa340d39f44d05a1c0ea7ce81560304ec | or1k | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a91d4af3291d62534d18abf99b6860031aa7313d | aarch64 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/5dbd80a5dc58a76c19783923b005c4e9e854b7e7 | xtensa | rng-tools-6.15 | NOK | http://autobuild.buildroot.net/results/1f53a4481d4734b424bd957335b8c9d8129c4693 | mips64el | rng-tools-6.15 | NOK | http://autobuild.buildroot.net/results/338ff87d39abd0e3093133fff7e7d629abcf4b0b | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/127e280b658d3ccabd538cc5310c3663f83f688a | nios2 | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/994139e46c0b33fc2a923c304730b69d37ce4ba9 | aarch64_be | shim-15.4 | NOK | http://autobuild.buildroot.net/results/a9463163663365759b853a5fecb4a021ad9863d3 | armeb | sngrep-1.4.7 | NOK | http://autobuild.buildroot.net/results/8dcbbf79fa4ad66fb512421451d9dd8e80fbf99f | ORPH armeb | sngrep-1.4.7 | NOK | http://autobuild.buildroot.net/results/f1e8cdb3ac35a30055ab79d41e6cc038e5339c37 | ORPH riscv64 | target-finalize | NOK | http://autobuild.buildroot.net/results/3308e1fcf5e5b7accd9b13c221ff4468564ab4a6 | x86_64 | target-finalize | NOK | http://autobuild.buildroot.net/results/9e2da8a10f3e39af7f04edcae98d06b46b2f37e1 | riscv32 | target-finalize | NOK | http://autobuild.buildroot.net/results/2f453af76547757567a8dde78135e88aacfb70cc | powerpc64le | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/3b4a996f40f2d7a2d683f8b448888188e73f747b | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/f0d0746345eaa19b0ca3e07876318527fa7bcb8a | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/05d880626ec8ec188a2b6fe4c728e665653a4fef | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/818ba5a36d9f38d3fe8630523ff091456d540ecd | i586 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/54c3951dba235ceb4943986791c4cf206876df80 | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/9fcae7a03f0f494138e3f54c18acc33dcb3cb1d5 | ORPH microblaze | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/e2bfb412d1462ab8c59e4694543d0da1d0cba6e8 | ORPH microblaze | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/1474b5cc41f33e12ea1abb71d494ece88225a47e | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/cfec475c530370665912348a3aee98c0bae25e53 | ORPH mips64el | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/d141f9b8fa682cdad062b56ac8fd4fb01ca178af | powerpc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/c9c71a7c25cc98c2cccb8ff514d8742dcae17931 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0cfed9c1ce02700048411dae0fbb2d9b0da6210f | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/fd4bcd10244a9e0d8689c49b1271a7775fd885b6 | armeb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c97924ca515bb7541a6e1ad25ee8296d142d6041 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9293be18c48ae316fcb7a26a770ac9d75ad3c7b6 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f1d8f7a10289f6c26ad7ef25aea74b830d54e85d | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/66f70ca12ee0a2bc1f94ee2097aee703618771eb | i586 | uclibc-ng-test-0844445e7358... | NOK | http://autobuild.buildroot.net/results/9d121e5ed5e38179be4f09e367affcfb793c10a4 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/4da15e554bf816b0b662841a6f09c0e7bc9f69d7 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/2ae4c1009670baad44886f2e0188c73fc5483635 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/908065917ffd9f6811c75fc8867c620302704ebd | arm | vlc-3.0.17.4 | NOK | http://autobuild.buildroot.net/results/3376748606f51250019401db3aa2ff2db0dcc1eb | s390x | vlc-3.0.17.4 | NOK | http://autobuild.buildroot.net/results/3632c0fe695f2e89382a04e52e324a813c53ac1d | s390x | vlc-3.0.17.4 | NOK | http://autobuild.buildroot.net/results/596d457d3f3168d9a82d749b2213124402afaf6e | sh4 | xenomai | NOK | http://autobuild.buildroot.net/results/19d53bbeef7128dc9016b17a68364b1b70dbed5b | i586 | xenomai | NOK | http://autobuild.buildroot.net/results/be3f4f06375295b94fb731c250138a69dcd66e94 | x86_64 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/28417b9f63bd335f7e98d5623cf69c6fffe6a143 | riscv32 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/8ff9e5e0b21f9706529b1a9bb45fc6d151ec3e17 | mips64 | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/784eaceea6993311085eff00dc5f1e79f83e5521 | mips | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/d2b4adcfb4d2fafa8b323612d3dd5ff960d1f926 | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1cdbbb4c0db3e29b9e9dfce0ff7ee1b361809ae6 | armeb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/367378f9ea5b72e872606f6ac33731aea82b6c2d | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/f4ae227356af03b84129257b0c2f114e3a227c1a | aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/b773c877f6e46b536656a972b7cd58c43fd27ad3 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/ae3189d2509a74c6419d131b1d28afea8d5d751d | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e1dc0e5b9d9dd06d1d0484538fb9266b1de9bc4b | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/67ff3895630a6b194ed5f2c0099cf2a296d470c0 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4122d2dfcaea21c5363b64b84688a05b22d9f66b | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/230fb5a7b5970d71d985c2efd36d1b90fdc12d07 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/bcfcca82e2083cfe2d3ccaf323959b195e73bc1d | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- frr-8.1 | 2 bird-2.0.8 | 1 exempi-2.6.1 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/0fdaf7e857460f1d87f3025fc27e43a4d0b2aa57 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/8d2424fb671f88f46cb35e5a92e301f0a8fb3bee | xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/13eaee784ae6202e85e18dda8f97fc6445744382 | xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/d65a0446336324eabfd064f34007c78ce08f99a3 | Gitlab CI results for 2022-04-29 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ amarula_a64_relic | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777723 | atmel_sama5d27_som1_ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777767 | bananapi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777793 | bananapi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777795 | bananapi_m2_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777798 | bananapro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777805 | csky_gx6605s | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777827 | freescale_imx6dlsabreauto | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777841 | freescale_imx6dlsabresd | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777842 | freescale_imx6qsabreauto | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777844 | freescale_imx6qsabresd | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777845 | freescale_imx6sxsabresd | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777847 | freescale_imx6ullevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777849 | freescale_imx7dsabresd | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777850 | freescale_imx8mmevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777851 | freescale_imx8mnevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777852 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777853 | freescale_imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777854 | freescale_imx8qmmek | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777855 | freescale_imx8qxpmek | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777856 | friendlyarm_nanopi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777863 | ORPH friendlyarm_nanopi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777865 | ORPH friendlyarm_nanopi_neo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777873 | friendlyarm_nanopi_neo_plus2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777876 | friendlyarm_nanopi_r1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777879 | galileo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777886 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777912 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777913 | imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777914 | licheepi_zero | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777926 | minnowboard_max-graphical | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777950 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777998 | orangepi_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778003 | ORPH orangepi_win | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778008 | qemu_arm_versatile_nommu | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778030 | qemu_arm_vexpress_tz | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778034 | qemu_ppc64_pseries | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778075 | qemu_ppc64le_powernv8 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778079 | qemu_ppc64le_pseries | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778081 | qemu_riscv64_virt | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778100 | qemu_s390x | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778102 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778132 | raspberrypi4_64 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778134 | rock_pi_n10 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778160 | zynqmp_zcu102 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778235 | -- http://autobuild.buildroot.net From thomas.perrot at bootlin.com Sat Apr 30 08:08:21 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Sat, 30 Apr 2022 10:08:21 +0200 Subject: [Buildroot] [PATCH] board/freescale/common/imx: add TEE support in imx8-bootloader-prepare Message-ID: <20220430080821.3524816-1-thomas.perrot@bootlin.com> When BR2_TARGET_OPTEE_OS=y, mkimage_fit_atf.sh is executed with two additional variables so that the ITS file contains an additional node for the TEE binary. Then the TEE binary will be packaged into the ITB in addition to TF-A and U-Boot. Signed-off-by: Thomas Perrot --- .../common/imx/imx8-bootloader-prepare.sh | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/board/freescale/common/imx/imx8-bootloader-prepare.sh b/board/freescale/common/imx/imx8-bootloader-prepare.sh index 56f65e312628..9025fb132d49 100755 --- a/board/freescale/common/imx/imx8-bootloader-prepare.sh +++ b/board/freescale/common/imx/imx8-bootloader-prepare.sh @@ -10,28 +10,44 @@ main () if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + else + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + fi ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb rm -f ${BINARIES_DIR}/u-boot.its ${HOST_DIR}/bin/mkimage_imx8 -fit -signed_hdmi ${BINARIES_DIR}/signed_hdmi_imx8m.bin -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" ${BR2_CONFIG}; then cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0xbe000000 ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + else + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + fi ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb rm -f ${BINARIES_DIR}/u-boot.its ${HOST_DIR}/bin/mkimage_imx8 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y$" ${BR2_CONFIG}; then cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00960000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00960000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + else + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00960000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + fi ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb rm -f ${BINARIES_DIR}/u-boot.its ${HOST_DIR}/bin/mkimage_imx8 -v v2 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x912000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y$" ${BR2_CONFIG}; then cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + else + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + fi ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb rm -f ${BINARIES_DIR}/u-boot.its -- 2.35.1 From huth at tuxfamily.org Sat Apr 30 08:47:42 2022 From: huth at tuxfamily.org (Thomas Huth) Date: Sat, 30 Apr 2022 10:47:42 +0200 Subject: [Buildroot] [PATCH] package/frotz: Update to version 2.54 Message-ID: <20220430084742.522833-1-huth@tuxfamily.org> A simple update by bumping the version number and sha256 sum to the current version. Signed-off-by: Thomas Huth --- package/frotz/frotz.hash | 2 +- package/frotz/frotz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/frotz/frotz.hash b/package/frotz/frotz.hash index e5024aa2cd..145aa3800f 100644 --- a/package/frotz/frotz.hash +++ b/package/frotz/frotz.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 8da558828dd74d6d6ee30483bb32276ef918b8b72b7f6e89b4f7cb27e7abf58b frotz-2.53.tar.bz2 +sha256 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395 frotz-2.54.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/frotz/frotz.mk b/package/frotz/frotz.mk index c1362b2ac6..5af235137c 100644 --- a/package/frotz/frotz.mk +++ b/package/frotz/frotz.mk @@ -4,7 +4,7 @@ # ################################################################################ -FROTZ_VERSION = 2.53 +FROTZ_VERSION = 2.54 FROTZ_SOURCE = frotz-$(FROTZ_VERSION).tar.bz2 FROTZ_SITE = $(call gitlab,DavidGriffith,frotz,$(FROTZ_VERSION)) FROTZ_DEPENDENCIES = host-pkgconf ncurses -- 2.34.1 From arnout at mind.be Sat Apr 30 10:31:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 12:31:15 +0200 Subject: [Buildroot] ACE + TAO with buildroot - GLIBC_2.28 not found In-Reply-To: <8043273d-730b-c378-fd91-21e6902081fa@freenet.de> References: <8043273d-730b-c378-fd91-21e6902081fa@freenet.de> Message-ID: <3bcef05e-2ddd-2929-8bc7-f16c7ef33cd1@mind.be> On 29/04/2022 16:02, Earthquake wrote: > Hi, > > intergrating ACE was successfull with > > https://patchwork.ozlabs.org/project/buildroot/patch/20210413134139.13281-1-matthew.weber at rockwellcollins.com/ > > > ACE lib is built. > > When I integrate TAO in the ace.mk > > TAO_LIBRARIES += TAO_IDL > TAO_LIBRARIEs += tao/PortableServer > $(foreach lib,$(TAO_LIBRARIES), ACE_ROOT="$(@D)" $(TARGET_CONFIGURE_OPTS) > $(MAKE) -C $(@D)/TAO/$(lib) ACE_ROOT="$(@D)" TAO_ROOT="$(@D)/TAO"? all ) > > The tao_idl complier will be built. > > The PortableServer uses the created tao_idl complier but exit with: > > ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not > found (required by ../../../lib/libACE.so.7.0.2) > ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not > found (required by ../../../lib/libACE.so.7.0.2) You created tao_idl for the target, but are trying to run it on the host. The libc versions on target and host are not compatible. This probably means that the tao build system is not cross-compilation friendly. Perhaps it does support cross-compilation but you need some other option to pass the host compiler (we pass CC_FOR_BUILD="$(HOSTCC)" because CC_FOR_BUILD is the variable used by autotools, but with a custom Makefile they may expect a different variable). If it really doesn't support cross-compilation, then you should make a host-ace package that builds tao_idl and installs it in $(HOST_DIR)/bin, and then call that one. Regards, Arnout > > Wrong way to call? > > > Thanks for support, > > Alex > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Sat Apr 30 10:46:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 12:46:48 +0200 Subject: [Buildroot] GRUB2 2.04 (buildroot 2022.02.1) failure reading sector errors In-Reply-To: <1f0d993a5097ca6e94a4ded0b7e0c5cb@agner.ch> References: <1f0d993a5097ca6e94a4ded0b7e0c5cb@agner.ch> Message-ID: On 29/04/2022 16:47, Stefan Agner wrote: > Hi, > > On Home Assistant OS we are moving from Barebox to GRUB2 as the > bootloader for UEFI based systems. The switch is currently on our beta > channel with several hundert of users. I have now 4 independent reports > where the system stopped booting after upgrading to the new OS version > with GRUB2. The systems show the same error: "error: failure reading > sector 0x9c900 from `hd0`." The sector number is not always the same, > but it seems to be always within the partition holding the kernel. We > are using compressed squashfs which might be a factor influencing the > problem. > > Despite testing on several actual and virtual x86-64 systems I am unable > to reproduce so far. > > At least one of the systems has been successfully tested with Debian 11 > bullseye (which is using GRUB2 2.04 as well). That boot flow doesn't > make use of squashfs of course. > > Anyone seen similar issues? Ideas how to get to the bottom of this? > > I am considering moving to 2.06 to see if that fixes the problem, is > anyone working on 2.06 already? I see that buildroot is carring 150 > patches on-top of vanilla GRUB2, so that requires some work. (Almost?) all of those patches are backports of upstream, because there were a large number of CVEs beginning of 2021 and there was no release which included fixes for them. So updating grub shouldn't be that much of a problem. Regards, Arnout > > Best regards, > Stefan > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From stefan at agner.ch Sat Apr 30 10:59:38 2022 From: stefan at agner.ch (Stefan Agner) Date: Sat, 30 Apr 2022 12:59:38 +0200 Subject: [Buildroot] GRUB2 2.04 (buildroot 2022.02.1) failure reading sector errors In-Reply-To: References: <1f0d993a5097ca6e94a4ded0b7e0c5cb@agner.ch> Message-ID: <2e6a24d9176e2beaaf5108195183406a@agner.ch> On 2022-04-30 12:46, Arnout Vandecappelle wrote: > On 29/04/2022 16:47, Stefan Agner wrote: >> I am considering moving to 2.06 to see if that fixes the problem, is >> anyone working on 2.06 already? I see that buildroot is carring 150 >> patches on-top of vanilla GRUB2, so that requires some work. > > (Almost?) all of those patches are backports of upstream, because > there were a large number of CVEs beginning of 2021 and there was no > release which included fixes for them. So updating grub shouldn't be > that much of a problem. I've noticed that some of the patches patch files only available in the tarball release (where autoconf is already run). Not sure how those have been generated? In an experiment we used Debian sid 2.06 GRUB2 build on an affected system, and it seems to suffer the same issue. Which would mean that its not related to one of the patches, and the issue is also not fixed in GRUB 2.06. Debian booted fine otherwise on that system, so it must be related to the squashfs we are using. It probably still makes sense to move GRUB 2.06, just to be on a release closer to the current state of development. Best regards, Stefan > > Regards, > Arnout > > >> >> Best regards, >> Stefan >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot From fido_max at inbox.ru Sat Apr 30 11:23:33 2022 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Sat, 30 Apr 2022 14:23:33 +0300 Subject: [Buildroot] [PATCH 1/1] package/libosmium: bump version to 2.18.0 Message-ID: <20220430112333.414925-1-fido_max@inbox.ru> Release-notes: https://github.com/osmcode/libosmium/releases/tag/v2.18.0 Signed-off-by: Maxim Kochetkov --- package/libosmium/libosmium.hash | 2 +- package/libosmium/libosmium.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libosmium/libosmium.hash b/package/libosmium/libosmium.hash index ccfd3b09b0..cb53a91c67 100644 --- a/package/libosmium/libosmium.hash +++ b/package/libosmium/libosmium.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 ff85d55ca83d77fc41f6b7ae77f3d8d4337d299cbb4cc60c00e1f9d90d94e71b libosmium-2.17.3.tar.gz +sha256 c05a3e95c9c811521ebad8637e90f43ab8fb053b310875acce741cc4c17d6f59 libosmium-2.18.0.tar.gz sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE diff --git a/package/libosmium/libosmium.mk b/package/libosmium/libosmium.mk index 6510af4e77..f7ced04de3 100644 --- a/package/libosmium/libosmium.mk +++ b/package/libosmium/libosmium.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOSMIUM_VERSION = 2.17.3 +LIBOSMIUM_VERSION = 2.18.0 LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION)) LIBOSMIUM_LICENSE = BSL-1.0 LIBOSMIUM_LICENSE_FILES = LICENSE -- 2.34.1 From fido_max at inbox.ru Sat Apr 30 11:35:48 2022 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Sat, 30 Apr 2022 14:35:48 +0300 Subject: [Buildroot] [PATCH 1/1] package/timescaledb: bump version to 2.6.1 Message-ID: <20220430113548.461720-1-fido_max@inbox.ru> Release notes: https://github.com/timescale/timescaledb/releases/tag/2.6.1 Signed-off-by: Maxim Kochetkov --- package/timescaledb/timescaledb.hash | 2 +- package/timescaledb/timescaledb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/timescaledb/timescaledb.hash b/package/timescaledb/timescaledb.hash index 556cdaf329..f186684339 100644 --- a/package/timescaledb/timescaledb.hash +++ b/package/timescaledb/timescaledb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 b1a20832189c22ce378f009f9a24ef1db61d7131f7f79bde74fdcde87bcf2d7c timescaledb-2.5.2.tar.gz +sha256 226af207105cc9e2d1744b303e475204a947047103f0e5697de4e8949e4dde75 timescaledb-2.6.1.tar.gz sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE diff --git a/package/timescaledb/timescaledb.mk b/package/timescaledb/timescaledb.mk index 1d8b2a69a7..16fba11e21 100644 --- a/package/timescaledb/timescaledb.mk +++ b/package/timescaledb/timescaledb.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIMESCALEDB_VERSION = 2.5.2 +TIMESCALEDB_VERSION = 2.6.1 TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) TIMESCALEDB_LICENSE = Apache-2.0 TIMESCALEDB_LICENSE_FILES = LICENSE -- 2.34.1 From fido_max at inbox.ru Sat Apr 30 11:44:06 2022 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Sat, 30 Apr 2022 14:44:06 +0300 Subject: [Buildroot] [PATCH 1/1] package/postgis: bump version to 3.2.1 Message-ID: <20220430114406.545127-1-fido_max@inbox.ru> Release-notes: https://git.osgeo.org/gitea/postgis/postgis/src/tag/3.2.1/NEWS Signed-off-by: Maxim Kochetkov --- package/postgis/postgis.hash | 2 +- package/postgis/postgis.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/postgis/postgis.hash b/package/postgis/postgis.hash index 12ca18f84f..018e6523f3 100644 --- a/package/postgis/postgis.hash +++ b/package/postgis/postgis.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 7ab9e154c6947c0cffb8fa12d70806add9aa060e62b6c86a2e206f9d4b507cfd postgis-3.2.0.tar.gz +sha256 fbab68dde6ca3934b24ba08c8ab0cff2594f57f93deab41a15c82ae1bb69893e postgis-3.2.1.tar.gz sha256 55b69f22e1752830dd565852dc7ff242daf289dbd3a6bfede5db43f90d2e28c9 LICENSE.TXT diff --git a/package/postgis/postgis.mk b/package/postgis/postgis.mk index d9cda64730..b77071d03b 100644 --- a/package/postgis/postgis.mk +++ b/package/postgis/postgis.mk @@ -4,7 +4,7 @@ # ################################################################################ -POSTGIS_VERSION = 3.2.0 +POSTGIS_VERSION = 3.2.1 POSTGIS_SITE = https://download.osgeo.org/postgis/source # parallel build issues POSTGIS_MAKE = $(MAKE1) -- 2.34.1 From heiko.thiery at gmail.com Sat Apr 30 12:26:24 2022 From: heiko.thiery at gmail.com (Heiko Thiery) Date: Sat, 30 Apr 2022 14:26:24 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/imx-cst: new package In-Reply-To: <20220422100918.2818811-1-thomas.perrot@bootlin.com> References: <20220422100918.2818811-1-thomas.perrot@bootlin.com> Message-ID: Hi Thomas, Am Fr., 22. Apr. 2022 um 12:16 Uhr schrieb Thomas Perrot via buildroot : > > This package provides i.MX Code Signing Tools uses to sign i.MX bootloader > to enable secure boot (HABv4 and AHAB). > > Signed-off-by: Thomas Perrot > --- > > Changes v2: > - Add a trailing slash > - Preserve CFLAGS and LDFLAGS > > Changes v3: > - Hard code the OSTYPE variable to linux64 > > DEVELOPERS | 1 + > package/Config.in.host | 1 + > package/imx-cst/Config.in.host | 8 +++++++ > package/imx-cst/imx-cst.hash | 3 +++ > package/imx-cst/imx-cst.mk | 43 ++++++++++++++++++++++++++++++++++ > 5 files changed, 56 insertions(+) > create mode 100644 package/imx-cst/Config.in.host > create mode 100644 package/imx-cst/imx-cst.hash > create mode 100644 package/imx-cst/imx-cst.mk > What about having the package located in package/freescale-imx/ like the most other packages for the imx family? > diff --git a/DEVELOPERS b/DEVELOPERS > index 6e49334dcc42..86cb04e54e5d 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2767,6 +2767,7 @@ F: package/xorcurses/ > > N: Thomas Perrot > F: package/byacc/ > +F: package/imx-cst/ > > N: Thomas Petazzoni > F: arch/Config.in.arm > diff --git a/package/Config.in.host b/package/Config.in.host > index cd1c34b5a3d9..282594b40b8d 100644 > --- a/package/Config.in.host > +++ b/package/Config.in.host > @@ -40,6 +40,7 @@ menu "Host utilities" > source "package/google-breakpad/Config.in.host" > source "package/gptfdisk/Config.in.host" > source "package/imagemagick/Config.in.host" > + source "package/imx-cst/Config.in.host" > source "package/imx-mkimage/Config.in.host" > source "package/imx-usb-loader/Config.in.host" > source "package/jh71xx-tools/Config.in.host" > diff --git a/package/imx-cst/Config.in.host b/package/imx-cst/Config.in.host > new file mode 100644 > index 000000000000..84cb825e59cf > --- /dev/null > +++ b/package/imx-cst/Config.in.host > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_HOST_IMX_CST > + bool "host imx-cst" > + help > + I.MX code signing tool provides software code signing > + support designed that integrate the HABv4 and AHAB > + library. > + > + https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL > diff --git a/package/imx-cst/imx-cst.hash b/package/imx-cst/imx-cst.hash > new file mode 100644 > index 000000000000..9c27bfe82038 > --- /dev/null > +++ b/package/imx-cst/imx-cst.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 2bcc03c7cedba58f7207a72a28e75cfe78007988d68c1095c793cce991c2936e imx-cst-e2c687a856e6670e753147aacef42d0a3c07891a-br1.tar.gz > +sha256 5dee6f54c636a97b15d7e9dfc8075248c36764b3819828cbc94cbd17c1755fb9 LICENSE.bsd3 > diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx-cst.mk > new file mode 100644 > index 000000000000..120f9c5575e1 > --- /dev/null > +++ b/package/imx-cst/imx-cst.mk > @@ -0,0 +1,43 @@ > +################################################################################ > +# > +# imx-cst > +# > +################################################################################ > + > +# debian/3.3.1+dfsg-2 > +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git > +IMX_CST_SITE_METHOD = git > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > +IMX_CST_LICENSE = BSD-3-Clause > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 > + > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > + > +# We don't use HOST_CONFIGURE_OPTS when building cst, because we need > +# to preserve the CFLAGS/LDFLAGS used by their Makefile. > +define HOST_IMX_CST_BUILD_CMDS > + $(HOST_MAKE_ENV) $(MAKE) \ > + OSTYPE=linux64 \ > + ENCRYPTION=yes \ > + AR="$(HOSTAR)" \ > + CC="$(HOSTCC)" \ > + LD="$(HOSTCC)" \ > + OBJCOPY="$(HOSTOBJCOPY)" \ > + RANLIB="$(HOSTRANLIB)" \ > + EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > + EXTRALDFLAGS="$(HOST_LDFLAGS)" \ > + PWD=$(@D)/code/cst \ > + -C $(@D)/code/cst \ > + build > + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > + COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ > + -C $(@D)/code/hab_csf_parser > +endef > + > +define HOST_IMX_CST_INSTALL_CMDS > + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst $(HOST_DIR)/bin/cst > + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool > + $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser > +endef > + > +$(eval $(host-generic-package)) > -- > 2.35.1 > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From raphael.pavlidis at googlemail.com Sat Apr 30 13:30:50 2022 From: raphael.pavlidis at googlemail.com (Raphael Pavlidis) Date: Sat, 30 Apr 2022 15:30:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap: bump to version 2.64 Message-ID: <20220430133050.19519-1-raphael.pavlidis@gmail.com> https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.e8k97s2ae0nc Signed-off-by: Raphael Pavlidis --- package/libcap/libcap.hash | 2 +- package/libcap/libcap.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash index 2cdf92bbc1..7c48cd950b 100644 --- a/package/libcap/libcap.hash +++ b/package/libcap/libcap.hash @@ -1,5 +1,5 @@ # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz +sha256 c8465e1f0b068d5fc06199231135ccac7adb56d662b1de93589252e8cd071e13 libcap-2.64.tar.xz # Hash for license file: sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index ed689ce503..91e02638e2 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_VERSION = 2.63 +LIBCAP_VERSION = 2.64 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause -- 2.35.1 From arnout at mind.be Sat Apr 30 15:42:13 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 17:42:13 +0200 Subject: [Buildroot] [git commit] package/pahole: bump to commit 73383b3a39af Message-ID: <20220430153553.F0D1C846FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fdee03647f9ada725d739e3980d092c6f12d9d3b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The main goal is to use buildroot host-libbpf instead of pahole libbpf git submodule (which ends up being the same thing anyway). However, this creates compilation errors due to the use of deprecated APIs (like btf__get_nr_types). Bump pahole to a commit that is compatible with current libbpf: 73383b3a39af ("libbpf: Update libbpf to the latest git HEAD") Signed-off-by: Francis Laniel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pahole/pahole.hash | 2 +- package/pahole/pahole.mk | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package/pahole/pahole.hash b/package/pahole/pahole.hash index 420db15e75..8e5560b5e7 100644 --- a/package/pahole/pahole.hash +++ b/package/pahole/pahole.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 cde85af68b368f50a913be387f94f6b43612a04af6c92387b4dcabb712a668fe pahole-v1.23-br1.tar.gz +sha256 3531396c0568793ef8ca1a2fbb44ef2e1e81bdd55496a4487b83ba4d95df9d99 pahole-73383b3a39afe86b22e098773e47b8546c48a649.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index da6d67e6a2..199fa8cc11 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -4,14 +4,14 @@ # ################################################################################ -PAHOLE_VERSION = v1.23 -PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git -PAHOLE_SITE_METHOD = git -# pahole contains git submodule and relies on them to be built. -PAHOLE_GIT_SUBMODULES = YES -HOST_PAHOLE_DEPENDENCIES = host-elfutils +PAHOLE_VERSION = 73383b3a39afe86b22e098773e47b8546c48a649 +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot +HOST_PAHOLE_DEPENDENCIES = \ + host-elfutils \ + host-libbpf # Defining __LIB is needed to build pahole. -HOST_PAHOLE_CONF_OPTS = -D__LIB=lib +# Set LIBBPF_EMBEDDED to OFF to use host-libbpf. +HOST_PAHOLE_CONF_OPTS = -D__LIB=lib -DLIBBPF_EMBEDDED=OFF PAHOLE_LICENSE = GPL-2.0 PAHOLE_LICENSE_FILES = COPYING From arnout at mind.be Sat Apr 30 15:46:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 17:46:14 +0200 Subject: [Buildroot] [RFC PATCH v1 1/2] package/libbpf: build for host In-Reply-To: <20220422181612.51246-2-flaniel@linux.microsoft.com> References: <20220422181612.51246-1-flaniel@linux.microsoft.com> <20220422181612.51246-2-flaniel@linux.microsoft.com> Message-ID: <4284a369-c87f-ae6c-af32-d338da99feb3@mind.be> On 22/04/2022 20:16, Francis Laniel wrote: > Signed-off-by: Francis Laniel > --- > package/libbpf/libbpf.mk | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/package/libbpf/libbpf.mk b/package/libbpf/libbpf.mk > index d6914757d7..709277fac4 100644 > --- a/package/libbpf/libbpf.mk > +++ b/package/libbpf/libbpf.mk > @@ -10,6 +10,7 @@ LIBBPF_LICENSE = GPL-2.0, LGPL-2.1, BSD-2-Clause > LIBBPF_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1 > LIBBPF_CPE_ID_VENDOR = libbpf_project > LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf elfutils zlib > +HOST_LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf host-elfutils host-zlib > LIBBPF_INSTALL_STAGING = YES > > define LIBBPF_BUILD_CMDS > @@ -38,4 +39,28 @@ define LIBBPF_INSTALL_TARGET_CMDS > -C $(@D)/src install DESTDIR=$(TARGET_DIR) > endef > > +define HOST_LIBBPF_INSTALL_CMDS > + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ > + -C $(@D)/src install install_uapi_headers DESTDIR=$(HOST_DIR) > + > + # We need to install_uapi_headers so we have btf.h to compile > + # host-pahole. > + # Nonetheless, this target adds bpf.h which generates a conflict when > + # building the kernel: > + # In file included from libbpf_internal.h:17:0, from strset.c:9: > + # relo_core.h:10:6: error: nested redefinition of ?enum bpf_core_relo_kind? > + # enum bpf_core_relo_kind { > + # ^~~~~~~~~~~~~~~~~~ > + # relo_core.h:10:6: error: redeclaration of ?enum bpf_core_relo_kind? > + # In file included from libbpf_legacy.h:13:0, > + # from libbpf_internal.h:16, > + # from strset.c:9: > + # /home/francis/buildroot/output/host/include/linux/bpf.h:6497:6: note: originally defined here > + # enum bpf_core_relo_kind { > + # So, better to remove remove it now since we do not need it to build > + # host-pahole. This entire comment shows up in the build log because make echoes commands and these are commands. So I moved it outside of the define. Applied both to master, thanks. In the second commit, I also reworded the commit message a bit. Regards, Arnout > + rm $(HOST_DIR)/include/linux/bpf.h > +endef > + > $(eval $(generic-package)) > +$(eval $(host-generic-package)) From arnout at mind.be Sat Apr 30 15:41:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 17:41:45 +0200 Subject: [Buildroot] [git commit] package/libbpf: build for host Message-ID: <20220430153553.E5915846F0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43b4017ba7c5f2636e6a3f674c63c50050956ea4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francis Laniel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libbpf/libbpf.mk | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/package/libbpf/libbpf.mk b/package/libbpf/libbpf.mk index d6914757d7..f50a82b581 100644 --- a/package/libbpf/libbpf.mk +++ b/package/libbpf/libbpf.mk @@ -10,6 +10,7 @@ LIBBPF_LICENSE = GPL-2.0, LGPL-2.1, BSD-2-Clause LIBBPF_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1 LIBBPF_CPE_ID_VENDOR = libbpf_project LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf elfutils zlib +HOST_LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf host-elfutils host-zlib LIBBPF_INSTALL_STAGING = YES define LIBBPF_BUILD_CMDS @@ -38,4 +39,27 @@ define LIBBPF_INSTALL_TARGET_CMDS -C $(@D)/src install DESTDIR=$(TARGET_DIR) endef +# We need to install_uapi_headers so we have btf.h to compile +# host-pahole. +# Nonetheless, this target adds bpf.h which generates a conflict when +# building the kernel: +# In file included from libbpf_internal.h:17:0, from strset.c:9: +# relo_core.h:10:6: error: nested redefinition of 'enum bpf_core_relo_kind' +# enum bpf_core_relo_kind { +# ^~~~~~~~~~~~~~~~~~ +# relo_core.h:10:6: error: redeclaration of 'enum bpf_core_relo_kind' +# In file included from libbpf_legacy.h:13:0, +# from libbpf_internal.h:16, +# from strset.c:9: +# /home/francis/buildroot/output/host/include/linux/bpf.h:6497:6: note: originally defined here +# enum bpf_core_relo_kind { +# So, better to remove remove it now since we do not need it to build +# host-pahole, the only user of host-libbpf. +define HOST_LIBBPF_INSTALL_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install install_uapi_headers DESTDIR=$(HOST_DIR) + rm $(HOST_DIR)/include/linux/bpf.h +endef + $(eval $(generic-package)) +$(eval $(host-generic-package)) From arnout at mind.be Sat Apr 30 15:50:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 17:50:42 +0200 Subject: [Buildroot] [PATCH 1/2] package/libmnl: bump to version 1.0.5 In-Reply-To: <20220425144213.3937-1-dariobin@libero.it> References: <20220425144213.3937-1-dariobin@libero.it> Message-ID: <58b13027-d230-b416-a5c4-2037675983df@mind.be> On 25/04/2022 16:42, Dario Binacchi wrote: > Signed-off-by: Dario Binacchi > --- > package/libmnl/libmnl.hash | 6 +++--- > package/libmnl/libmnl.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/libmnl/libmnl.hash b/package/libmnl/libmnl.hash > index e5bb2fa603..b3665767f7 100644 > --- a/package/libmnl/libmnl.hash > +++ b/package/libmnl/libmnl.hash > @@ -1,6 +1,6 @@ > -# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.4.tar.bz2.{md5sum,sha1sum} > -md5 be9b4b5328c6da1bda565ac5dffadb2d libmnl-1.0.4.tar.bz2 > -sha1 2db40dea612e88c62fd321906be40ab5f8f1685a libmnl-1.0.4.tar.bz2 > +# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.5.tar.bz2.{md5sum,sha1sum} > +md5 0bbb70573119ec5d49435114583e7a49 libmnl-1.0.5.tar.bz2 > +sha1 63c6456b77f7978a7b37e62c1b38346b2ef2d91c libmnl-1.0.5.tar.bz2 I've added a sha256sum, and updated the formatting to our current standard (two spaces) as reported by check-package. Applied to master, thanks. Regards, Arnout > > # Hash for license file: > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING > diff --git a/package/libmnl/libmnl.mk b/package/libmnl/libmnl.mk > index d3b33db2e0..3361d05248 100644 > --- a/package/libmnl/libmnl.mk > +++ b/package/libmnl/libmnl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBMNL_VERSION = 1.0.4 > +LIBMNL_VERSION = 1.0.5 > LIBMNL_SOURCE = libmnl-$(LIBMNL_VERSION).tar.bz2 > LIBMNL_SITE = http://netfilter.org/projects/libmnl/files > LIBMNL_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 30 15:51:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 17:51:59 +0200 Subject: [Buildroot] [PATCH 2/2] package/libmnl: add myself to DEVELOPERS In-Reply-To: <20220425144213.3937-2-dariobin@libero.it> References: <20220425144213.3937-1-dariobin@libero.it> <20220425144213.3937-2-dariobin@libero.it> Message-ID: <103621e3-e9ad-d6fa-c35f-a96e615f2153@mind.be> On 25/04/2022 16:42, Dario Binacchi wrote: > Add myself to DEVELOPERS as maintainer of libmnl. I've changed the subject to "DEVELOPERS: add Dario Binacchi for libmnl" (because 'git log --oneline' doesn't show authors, which make the 'myself' look strange) and removed the body (which wasn't adding anything). Regards, Arnout > > Signed-off-by: Dario Binacchi > --- > DEVELOPERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/DEVELOPERS b/DEVELOPERS > index 1bb90f8f33..4ddbf5d533 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -654,6 +654,7 @@ F: package/xinetd/ > > N: Dario Binacchi > F: package/davinci-bootcount/ > +F: package/libmnl/ > > N: David Bachelart > F: package/ccrypt/ From arnout at mind.be Sat Apr 30 15:49:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 17:49:48 +0200 Subject: [Buildroot] [git commit] DEVELOPERS: add Dario Binacchi for libmnl Message-ID: <20220430154149.0CBDB84778@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa3ec4f4abd6cbf3d037e17632aaa5232fb9b5aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index 2a400fd679..127abb853f 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -654,6 +654,7 @@ F: package/xinetd/ N: Dario Binacchi F: package/davinci-bootcount/ +F: package/libmnl/ N: David Bachelart F: package/ccrypt/ From arnout at mind.be Sat Apr 30 15:48:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 17:48:04 +0200 Subject: [Buildroot] [git commit] package/libmnl: bump to version 1.0.5 Message-ID: <20220430154148.EB6EE84777@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=660b2379db1eec500191102dc94beda39ff0ebbe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Also add sha256 hash and update hash file formatting. Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libmnl/libmnl.hash | 11 ++++++----- package/libmnl/libmnl.mk | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package/libmnl/libmnl.hash b/package/libmnl/libmnl.hash index e5bb2fa603..4b592333cb 100644 --- a/package/libmnl/libmnl.hash +++ b/package/libmnl/libmnl.hash @@ -1,6 +1,7 @@ -# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.4.tar.bz2.{md5sum,sha1sum} -md5 be9b4b5328c6da1bda565ac5dffadb2d libmnl-1.0.4.tar.bz2 -sha1 2db40dea612e88c62fd321906be40ab5f8f1685a libmnl-1.0.4.tar.bz2 +# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.5.tar.bz2.{md5sum,sha1sum} +md5 0bbb70573119ec5d49435114583e7a49 libmnl-1.0.5.tar.bz2 +sha1 63c6456b77f7978a7b37e62c1b38346b2ef2d91c libmnl-1.0.5.tar.bz2 -# Hash for license file: -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING +# Locally calculated +sha256 274b9b919ef3152bfb3da3a13c950dd60d6e2bcd54230ffeca298d03b40d0525 libmnl-1.0.5.tar.bz2 +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libmnl/libmnl.mk b/package/libmnl/libmnl.mk index d3b33db2e0..3361d05248 100644 --- a/package/libmnl/libmnl.mk +++ b/package/libmnl/libmnl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMNL_VERSION = 1.0.4 +LIBMNL_VERSION = 1.0.5 LIBMNL_SOURCE = libmnl-$(LIBMNL_VERSION).tar.bz2 LIBMNL_SITE = http://netfilter.org/projects/libmnl/files LIBMNL_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 30 17:57:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 19:57:04 +0200 Subject: [Buildroot] [RFC PATCH v4 1/2] falcosecurity-libs: add new package In-Reply-To: <20220425164319.24788-2-flaniel@linux.microsoft.com> References: <20220425164319.24788-1-flaniel@linux.microsoft.com> <20220425164319.24788-2-flaniel@linux.microsoft.com> Message-ID: On 25/04/2022 18:43, Francis Laniel wrote: > Signed-off-by: Francis Laniel I've added a bit of explanation both in the commit message and in the .mk file itself that we're not building the userspace components and why. > --- > DEVELOPERS | 1 + > package/Config.in | 1 + > ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 ++++++++ > package/falcosecurity-libs/Config.in | 30 +++++++ > .../falcosecurity-libs.hash | 5 ++ > .../falcosecurity-libs/falcosecurity-libs.mk | 80 +++++++++++++++++++ > 6 files changed, 151 insertions(+) > create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch > create mode 100644 package/falcosecurity-libs/Config.in > create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash > create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index ca9decb58f..d45d3d2a7b 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -969,6 +969,7 @@ F: package/ipmitool/ > F: package/odhcploc/ > > N: Francis Laniel > +F: package/falcosecurity-libs > F: package/pahole/ > F: package/sysdig/ > F: package/tbb/ > diff --git a/package/Config.in b/package/Config.in > index 24f7af5ea8..3070094cc0 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -1935,6 +1935,7 @@ menu "Other" > source "package/eigen/Config.in" > source "package/elfutils/Config.in" > source "package/ell/Config.in" > + source "package/falcosecurity-libs/Config.in" > source "package/fftw/Config.in" > source "package/flann/Config.in" > source "package/flatbuffers/Config.in" > diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch > new file mode 100644 > index 0000000000..6141d8ef72 > --- /dev/null > +++ b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch > @@ -0,0 +1,34 @@ > +From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Tue, 12 Apr 2022 19:54:11 +0100 > +Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN. > + > +This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with: > +cmake -DGRPC_CPP_PLUGIN=/path > + > +Signed-off-by: Francis Laniel Could you send this patch upstream? Applied to master, thanks. Regards, Arnout [snip] From arnout at mind.be Sat Apr 30 18:07:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:07:41 +0200 Subject: [Buildroot] [RFC PATCH v4 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: <20220425164319.24788-3-flaniel@linux.microsoft.com> References: <20220425164319.24788-1-flaniel@linux.microsoft.com> <20220425164319.24788-3-flaniel@linux.microsoft.com> Message-ID: On 25/04/2022 18:43, Francis Laniel wrote: > sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() > syscall [1]. > This patch bumps its version to enable cross-compilation. > > By doing so, we can remove the previous patches. > But this commit introduces new patches. > Indeed, libsinsp (lib system inspection), libscap (lib system capture) and the > kernel module were moved to falcosecurity/libs. > Sadly, it is not possible to compile sysdig with pre-compiled libs (like we do > in buildroot). > So, this contribution introduces a new patch to build sysdig with already built > falcosecurity/libs. > > [1] https://marc.info/?l=buildroot&m=164951521629400 > > Signed-off-by: Francis Laniel [snip] > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > index c124054105..392d858ac6 100644 > --- a/package/sysdig/Config.in > +++ b/package/sysdig/Config.in > @@ -2,25 +2,17 @@ config BR2_PACKAGE_SYSDIG > bool "sysdig" > depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf > depends on BR2_LINUX_KERNEL > - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb > + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb, yaml-cpp > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf > depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb This is now an indirect dependency. We normally show that as ... # falcosecurity-libs -> elfutils, jq, protobuf, tbb but that would get really long, so I changed all of them to just mention falcosecurity-libs. > depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb > depends on BR2_USE_WCHAR # elfutils This one is not present in falcosecurity-libs (anyway implied by glibc), so I removed it. > depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils > depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > - select BR2_PACKAGE_C_ARES > - select BR2_PACKAGE_ELFUTILS > - select BR2_PACKAGE_GRPC > - select BR2_PACKAGE_JQ > - select BR2_PACKAGE_JSONCPP > - select BR2_PACKAGE_LIBB64 > - select BR2_PACKAGE_LIBCURL > + select BR2_PACKAGE_FALCOSECURITY_LIBS > select BR2_PACKAGE_NCURSES > - select BR2_PACKAGE_OPENSSL > - select BR2_PACKAGE_PROTOBUF > - select BR2_PACKAGE_TBB > - select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_JSON_FOR_MODERN_CPP > + select BR2_PACKAGE_YAML_CPP > help > Sysdig is open source, system-level exploration: > capture system state and activity from a running Linux > @@ -36,4 +28,4 @@ comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic lib > || !BR2_TOOLCHAIN_HAS_THREADS \ > || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ > || !BR2_TOOLCHAIN_USES_GLIBC \ > - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > index 4ec46abfc3..380c9dce1e 100644 > --- a/package/sysdig/sysdig.hash > +++ b/package/sysdig/sysdig.hash > @@ -1,5 +1,3 @@ > # sha256 locally computed > -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz > +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz > sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING > -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt > -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt > diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk > index 9a9aaa35c3..3ce5d0bb79 100644 > --- a/package/sysdig/sysdig.mk > +++ b/package/sysdig/sysdig.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -SYSDIG_VERSION = 0.27.1 > +SYSDIG_VERSION = 0.29.1 > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) > -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt > +SYSDIG_LICENSE = Apache-2.0 > +SYSDIG_LICENSE_FILE = COPYING > SYSDIG_CPE_ID_VENDOR = sysdig > SYSDIG_CONF_OPTS = \ > -DENABLE_DKMS=OFF \ > @@ -16,39 +16,26 @@ SYSDIG_CONF_OPTS = \ > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > SYSDIG_DEPENDENCIES = \ > - c-ares \ > - elfutils \ > - grpc \ > - jq \ > - jsoncpp \ > - libb64 \ > - libcurl \ > - luainterpreter \ > + falcosecurity-libs \ > ncurses \ > - openssl \ > - protobuf \ > - tbb \ > - zlib > + json-for-modern-cpp \ > + yaml-cpp > > -# sysdig creates the module Makefile from a template, which contains a > -# single place-holder, KBUILD_FLAGS, wich is only replaced with two > -# things: > -# - debug flags, which we don't care about here, > -# - 'sysdig-feature' flags, which are never set, so always empty > -# So, just replace the place-holder with the only meaningful value: nothing. > -define SYSDIG_MODULE_GEN_MAKEFILE > - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile > - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile > - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile > -endef > -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE > +# For sysdig to automatically loads the driver, SYSDIG_DRIVER_NAME should be > +# the same than FALCOSECURITY_LIBS_DRIVER_NAME. > +SYSDIG_DRIVER_NAME = scap It's a bit silly to have this huge comment and then define a variable that is used only once. So I removed all that and directly used FALCOSECURITY_LIBS_DRIVER_NAME below. Applied to master, thanks. Regards, Arnout > > -# Don't build the driver as part of the 'standard' procedure, we'll > -# build it on our own with the kernel-module infra. > -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF > - > -SYSDIG_MODULE_SUBDIRS = driver > -SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) > +# Don't build the driver as part of the 'standard' procedure, it has been built > +# by falcosecurity-libs.mk. > +# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host > +# one there. > +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(FALCOSECURITY_LIBS_SRCDIR) \ > + -DBUILD_DRIVER=OFF \ > + -DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin \ > + -DDRIVER_NAME=$(SYSDIG_DRIVER_NAME) \ > + -DENABLE_DKMS=OFF \ > + -DUSE_BUNDLED_DEPS=OFF \ > + -DWITH_CHISEL=ON \ > + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson > > -$(eval $(kernel-module)) > $(eval $(cmake-package)) From arnout at mind.be Sat Apr 30 18:01:23 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:01:23 +0200 Subject: [Buildroot] [git commit] falcosecurity-libs: add new package Message-ID: <20220430175731.26D59847F4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a15e35c4ebc52f29f65372c8e86cefa874aa4aaf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is a dependency of newer sysdig. It contains the driver, and also a few userspace components. The latter however are not meant to be installed in the sysroot; instead, the whole thing is meant to be included directly in the build of the project using it. Changing things so it does work in the normal way of installing to the sysroot turns out to be pretty complicated. Basically, falcosecurity-libs is just a component of sysdig. It's defined as a separate package only because that's an easier way to download it than defining extra download and extract commands in sysdig itself. For this reason, it's defined as a blind option in Config.in. Signed-off-by: Francis Laniel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + package/Config.in | 1 + ...0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 +++++++++ package/falcosecurity-libs/Config.in | 30 ++++++++ package/falcosecurity-libs/falcosecurity-libs.hash | 5 ++ package/falcosecurity-libs/falcosecurity-libs.mk | 84 ++++++++++++++++++++++ 6 files changed, 155 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index 127abb853f..b08253d6ef 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -970,6 +970,7 @@ F: package/ipmitool/ F: package/odhcploc/ N: Francis Laniel +F: package/falcosecurity-libs F: package/pahole/ F: package/sysdig/ F: package/tbb/ diff --git a/package/Config.in b/package/Config.in index 1bf458348b..4687dd4426 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1936,6 +1936,7 @@ menu "Other" source "package/eigen/Config.in" source "package/elfutils/Config.in" source "package/ell/Config.in" + source "package/falcosecurity-libs/Config.in" source "package/fftw/Config.in" source "package/flann/Config.in" source "package/flatbuffers/Config.in" diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch new file mode 100644 index 0000000000..6141d8ef72 --- /dev/null +++ b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch @@ -0,0 +1,34 @@ +From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Tue, 12 Apr 2022 19:54:11 +0100 +Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN. + +This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with: +cmake -DGRPC_CPP_PLUGIN=/path + +Signed-off-by: Francis Laniel +--- + cmake/modules/grpc.cmake | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake +index e5fd16b8..9d8f5934 100644 +--- a/cmake/modules/grpc.cmake ++++ b/cmake/modules/grpc.cmake +@@ -12,9 +12,11 @@ elseif(NOT USE_BUNDLED_GRPC) + set(GRPCPP_LIB gRPC::grpc++) + + # gRPC C++ plugin +- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) + if(NOT GRPC_CPP_PLUGIN) +- message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) ++ if(NOT GRPC_CPP_PLUGIN) ++ message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ endif() + endif() + + # gRPC include dir + properly handle grpc{++,pp} +-- +2.25.1 + diff --git a/package/falcosecurity-libs/Config.in b/package/falcosecurity-libs/Config.in new file mode 100644 index 0000000000..e0b5a3d134 --- /dev/null +++ b/package/falcosecurity-libs/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_FALCOSECURITY_LIBS + bool + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_LINUX_KERNEL + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # jq, protobuf, tbb + depends on !BR2_STATIC_LIBS # protobuf, tbb + depends on BR2_TOOLCHAIN_USES_GLIBC # tbb + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC + select BR2_PACKAGE_GTEST + select BR2_PACKAGE_HOST_GRPC + select BR2_PACKAGE_HOST_PROTOBUF + select BR2_PACKAGE_JQ + select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_LIBB64 + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB + select BR2_PACKAGE_VALIJSON + select BR2_PACKAGE_ZLIB + help + falcosecurity/libs provides libsinsp, libscap, the kernel + module driver and the eBPF driver sources. + + https://github.com/falcosecurity/libs diff --git a/package/falcosecurity-libs/falcosecurity-libs.hash b/package/falcosecurity-libs/falcosecurity-libs.hash new file mode 100644 index 0000000000..2e239ca2fe --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.hash @@ -0,0 +1,5 @@ +# sha256 locally computed +sha256 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz +sha256 21ec9433a87459b3477faf542bacec419dc03af841309eac35edeffe481cf10b COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt +sha256 f17d3f2c2d565a74a7d5bf96f880c43701e141897e8dff0c8aa13e5d07aaf226 driver/MIT.txt diff --git a/package/falcosecurity-libs/falcosecurity-libs.mk b/package/falcosecurity-libs/falcosecurity-libs.mk new file mode 100644 index 0000000000..f2c389948f --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.mk @@ -0,0 +1,84 @@ +################################################################################ +# +# falcosecurity-libs +# +################################################################################ + +FALCOSECURITY_LIBS_VERSION = e5c53d648f3c4694385bbe488e7d47eaa36c229a +FALCOSECURITY_LIBS_SITE = $(call github,falcosecurity,libs,$(FALCOSECURITY_LIBS_VERSION)) +FALCOSECURITY_LIBS_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) +FALCOSECURITY_LIBS_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +FALCOSECURITY_LIBS_CPE_ID_VENDOR = falco +FALCOSECURITY_LIBS_SUPPORTS_IN_SOURCE_BUILD = NO + +FALCOSECURITY_LIBS_DEPENDENCIES = \ + c-ares \ + elfutils \ + grpc \ + gtest \ + host-grpc \ + host-protobuf \ + jq \ + jsoncpp \ + libb64 \ + libcurl \ + luainterpreter \ + openssl \ + protobuf \ + tbb \ + valijson \ + zlib + +FALCOSECURITY_LIBS_DRIVER_NAME = scap +FALCOSECURITY_LIBS_MODULE_SUBDIRS = driver +FALCOSECURITY_LIBS_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) + +# falcosecurity-libs module needs these two kernel options to be set: +# CONFIG_TRACEPOINTS +# CONFIG_HAVE_SYSCALL_TRACEPOINTS +# https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-from-the-Source-Code#linux-and-osx +# CONFIG_FTRACE and CONFIG_SCHED_TRACER selects CONFIG_GENERIC_TRACER which in +# turns select CONFIG_TRACING which in turns select CONFIG_TRACEPOINTS +define FALCOSECURITY_LIBS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE) + $(call KCONFIG_ENABLE_OPT,CONFIG_SCHED_TRACER) + $(call KCONFIG_ENABLE_OPT,CONFIG_HAVE_SYSCALL_TRACEPOINTS) +endef + +# falcosecurity-libs creates the module Makefile from a template, which contains +# a single place-holder, KBUILD_FLAGS, wich is only replaced with debug flags, +# which we don't care about here. +# So, just replace the place-holder with the only meaningful value: nothing. +# For the DRIVER_NAME, we set it to FALCOSECURITY_LIBS_DRIVER_NAME. +# So, when sysdig will be run, it will automatically load +# FALCOSECURITY_LIBS_DRIVER_NAME.ko. +# We also need to do the same process for driver_config.h.in. +# PPM_API_CURRENT_VERSION_* were take from driver/API_VERSION and +# PPM_SCHEMA_CURRENT_VERSION_* from driver/SCHEMA_VERSION. +# For the others, it was taken by inspecting +# falcosecurity-libs/*/CMakeLists.txt, which normally creates these +# files, but doesn't work well with the kernel-module infrastructure. +define FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile + $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile + $(SED) 's/@DRIVER_NAME@/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/Makefile + + $(INSTALL) -m 0644 $(@D)/driver/driver_config.h.in $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_VERSION}//;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_DEVICE_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${GIT_COMMIT}/0.1.1dev/;' $(@D)/driver/driver_config.h +endef +FALCOSECURITY_LIBS_POST_PATCH_HOOKS += FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + +# Userspace components are not built and installed, because it this +# package is intended to be included as source in another build. + +$(eval $(kernel-module)) +$(eval $(generic-package)) From arnout at mind.be Sat Apr 30 18:02:54 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:02:54 +0200 Subject: [Buildroot] [git commit] package/sysdig: bump to 0.29.1 Message-ID: <20220430175731.349EE84773@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ea86757e51cf424566f79896335d31d15b89d0d9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() syscall [1]. This patch bumps its version to enable cross-compilation. Existing patches have been upstream, but a new patch (merged upstream) has to be added to avoid downloading json-for-modern-cpp during the build. [1] https://marc.info/?l=buildroot&m=164951521629400 Signed-off-by: Francis Laniel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-USE_BUNDLED_DEPS-before-getting-nlohmann.patch | 52 ++++++++++++++ ...ply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ---------------------- ...ink-against-libabseil-cpp-which-grpc-uses.patch | 47 ------------- package/sysdig/Config.in | 33 ++++----- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 53 +++++--------- 6 files changed, 83 insertions(+), 188 deletions(-) diff --git a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch new file mode 100644 index 0000000000..3521bd3f8d --- /dev/null +++ b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch @@ -0,0 +1,52 @@ +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 13 Apr 2022 18:01:11 +0100 +Subject: [PATCH] cmake: Check USE_BUNDLED_DEPS before getting + nlohmann-json. + +Upstream: https://github.com/draios/sysdig/pull/1869 +Signed-off-by: Francis Laniel +--- + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- + 1 file changed, 19 insertions(+), 10 deletions(-) + +diff --git a/cmake/modules/nlohmann-json.cmake b/cmake/modules/nlohmann-json.cmake +index bb1279d7..feb0f071 100644 +--- a/cmake/modules/nlohmann-json.cmake ++++ b/cmake/modules/nlohmann-json.cmake +@@ -16,13 +16,22 @@ + # limitations under the License. + # + +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") +-ExternalProject_Add( +- njson +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" +- URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" +- CONFIGURE_COMMAND "" +- BUILD_COMMAND "" +- INSTALL_COMMAND "") ++if(NOT USE_BUNDLED_DEPS) ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) ++ if(NJSON_INCLUDE_DIR) ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") ++ else() ++ message(FATAL_ERROR "Couldn't find system njson") ++ endif() ++else() ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") ++ ExternalProject_Add( ++ njson ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" ++ URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" ++ CONFIGURE_COMMAND "" ++ BUILD_COMMAND "" ++ INSTALL_COMMAND "") ++endif() +-- +2.25.1 + diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch deleted file mode 100644 index 7873210281..0000000000 --- a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch +++ /dev/null @@ -1,82 +0,0 @@ -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Wed, 6 Apr 2022 16:54:37 +0100 -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. - -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and -luaL_Reg. -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function -call as well. -Note that, this PATCH_COMMAND was added in sysdig in: -a064440394c9 ("Adding power support to Travis builds (#1566)") - -This patch is also present in kubernetes/minikube in: -f036c279bc59 ("Add patch for compiling sysdig with system luajit") - -Signed-off-by: Francis Laniel ---- - userspace/libsinsp/chisel.cpp | 6 +++--- - userspace/libsinsp/lua_parser.cpp | 2 +- - userspace/libsinsp/lua_parser_api.cpp | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp -index 0a6e3cf8..0c2e255a 100644 ---- a/userspace/libsinsp/chisel.cpp -+++ b/userspace/libsinsp/chisel.cpp -@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) - // Lua callbacks - /////////////////////////////////////////////////////////////////////////////// - #ifdef HAS_LUA_CHISELS --const static struct luaL_reg ll_sysdig [] = -+const static struct luaL_Reg ll_sysdig [] = - { - {"set_filter", &lua_cbacks::set_global_filter}, - {"set_snaplen", &lua_cbacks::set_snaplen}, -@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_chisel [] = -+const static struct luaL_Reg ll_chisel [] = - { - {"request_field", &lua_cbacks::request_field}, - {"set_filter", &lua_cbacks::set_filter}, -@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_evt [] = -+const static struct luaL_Reg ll_evt [] = - { - {"field", &lua_cbacks::field}, - {"get_num", &lua_cbacks::get_num}, -diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp -index 0e26617d..78810d96 100644 ---- a/userspace/libsinsp/lua_parser.cpp -+++ b/userspace/libsinsp/lua_parser.cpp -@@ -32,7 +32,7 @@ extern "C" { - #include "lauxlib.h" - } - --const static struct luaL_reg ll_filter [] = -+const static struct luaL_Reg ll_filter [] = - { - {"rel_expr", &lua_parser_cbacks::rel_expr}, - {"bool_op", &lua_parser_cbacks::bool_op}, -diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp -index c89e9126..c3d8008a 100644 ---- a/userspace/libsinsp/lua_parser_api.cpp -+++ b/userspace/libsinsp/lua_parser_api.cpp -@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) - string err = "Got non-table as in-expression operand\n"; - throw sinsp_exception("parser API error"); - } -- int n = luaL_getn(ls, 4); /* get size of table */ -+ int n = lua_objlen (ls, 4); /* get size of table */ - for (i=1; i<=n; i++) - { - lua_rawgeti(ls, 4, i); --- -2.25.1 - diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch deleted file mode 100644 index a9155fbb4a..0000000000 --- a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Thu, 7 Apr 2022 18:30:23 +0100 -Subject: [PATCH] Link against libabseil-cpp which grpc uses. - -This patch was taken from: -55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") [1] -from hhoffstaette/portage. - -[1] https://github.com/hhoffstaette/portage/blob/55c96b61f7b91e4d91bed6723e86c00dd91f8d16/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch - -Signed-off-by: Francis Laniel ---- - CMakeLists.txt | 1 + - userspace/libsinsp/CMakeLists.txt | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1f34f1d6..c0354b29 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) - else() - message(FATAL_ERROR "Couldn't find system grpc") - endif() -+ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) - find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) - if(NOT GRPC_CPP_PLUGIN) - message(FATAL_ERROR "System grpc_cpp_plugin not found") -diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt -index d72f9115..d1b7ea02 100644 ---- a/userspace/libsinsp/CMakeLists.txt -+++ b/userspace/libsinsp/CMakeLists.txt -@@ -214,6 +214,10 @@ if(NOT WIN32) - "${JQ_LIB}" - "${B64_LIB}") - -+ if(ABSL_SYNC_LIB) -+ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") -+ endif() -+ - if(NOT MUSL_OPTIMIZED_BUILD) - target_link_libraries(sinsp - rt --- -2.25.1 - diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index c124054105..3a21f51725 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -1,26 +1,17 @@ config BR2_PACKAGE_SYSDIG bool "sysdig" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb - depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb - depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_ELFUTILS - select BR2_PACKAGE_GRPC - select BR2_PACKAGE_JQ - select BR2_PACKAGE_JSONCPP - select BR2_PACKAGE_LIBB64 - select BR2_PACKAGE_LIBCURL + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # falcosecurity-libs + depends on BR2_LINUX_KERNEL # falcosecurity-libs + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # falcosecurity-libs + depends on BR2_TOOLCHAIN_HAS_THREADS # falcosecurity-libs + depends on !BR2_STATIC_LIBS # falcosecurity-libs + depends on BR2_TOOLCHAIN_USES_GLIBC # falcosecurity-libs + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # falcosecurity-libs + select BR2_PACKAGE_FALCOSECURITY_LIBS select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PROTOBUF - select BR2_PACKAGE_TBB - select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_JSON_FOR_MODERN_CPP + select BR2_PACKAGE_YAML_CPP help Sysdig is open source, system-level exploration: capture system state and activity from a running Linux @@ -36,4 +27,4 @@ comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic lib || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_USES_GLIBC \ - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 4ec46abfc3..380c9dce1e 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,5 +1,3 @@ # sha256 locally computed -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 9a9aaa35c3..76cabcaeca 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,10 +4,10 @@ # ################################################################################ -SYSDIG_VERSION = 0.27.1 +SYSDIG_VERSION = 0.29.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +SYSDIG_LICENSE = Apache-2.0 +SYSDIG_LICENSE_FILE = COPYING SYSDIG_CPE_ID_VENDOR = sysdig SYSDIG_CONF_OPTS = \ -DENABLE_DKMS=OFF \ @@ -16,39 +16,22 @@ SYSDIG_CONF_OPTS = \ SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ - c-ares \ - elfutils \ - grpc \ - jq \ - jsoncpp \ - libb64 \ - libcurl \ - luainterpreter \ + falcosecurity-libs \ ncurses \ - openssl \ - protobuf \ - tbb \ - zlib + json-for-modern-cpp \ + yaml-cpp -# sysdig creates the module Makefile from a template, which contains a -# single place-holder, KBUILD_FLAGS, wich is only replaced with two -# things: -# - debug flags, which we don't care about here, -# - 'sysdig-feature' flags, which are never set, so always empty -# So, just replace the place-holder with the only meaningful value: nothing. -define SYSDIG_MODULE_GEN_MAKEFILE - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile -endef -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE - -# Don't build the driver as part of the 'standard' procedure, we'll -# build it on our own with the kernel-module infra. -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF - -SYSDIG_MODULE_SUBDIRS = driver -SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) +# Don't build the driver as part of the 'standard' procedure, it has been built +# by falcosecurity-libs.mk. +# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host +# one there. +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(FALCOSECURITY_LIBS_SRCDIR) \ + -DBUILD_DRIVER=OFF \ + -DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin \ + -DDRIVER_NAME=$(FALCOSECURITY_LIBS_DRIVER_NAME.) \ + -DENABLE_DKMS=OFF \ + -DUSE_BUNDLED_DEPS=OFF \ + -DWITH_CHISEL=ON \ + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson -$(eval $(kernel-module)) $(eval $(cmake-package)) From arnout at mind.be Sat Apr 30 18:43:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:43:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/bubblewrap: disable tests In-Reply-To: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> References: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> Message-ID: <9cf624c2-6e87-f664-08ae-6920968fe152@mind.be> On 27/04/2022 22:08, Fabrice Fontaine wrote: > Disable tests to avoid the following build failure on mips32: > > [9/10] Compiling C object tests/try-syscall.p/try-syscall.c.o > FAILED: tests/try-syscall.p/try-syscall.c.o > /home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c > ../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" > 34 | # error "Unknown MIPS ABI" > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-meson-add-tests-option.patch | 54 +++++++++++++++++++ > package/bubblewrap/bubblewrap.mk | 3 +- > 2 files changed, 56 insertions(+), 1 deletion(-) > create mode 100644 package/bubblewrap/0001-meson-add-tests-option.patch > > diff --git a/package/bubblewrap/0001-meson-add-tests-option.patch b/package/bubblewrap/0001-meson-add-tests-option.patch > new file mode 100644 > index 0000000000..32836f925d > --- /dev/null > +++ b/package/bubblewrap/0001-meson-add-tests-option.patch > @@ -0,0 +1,54 @@ > +From 34ea0ad841d6f9167db391c08e6cd51471fed6be Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 3 Apr 2022 11:27:06 +0200 > +Subject: [PATCH] meson: add tests option > + > +Allow the user to disable tests, for example to avoid the following > +build failure on mips32: > + > +FAILED: tests/try-syscall.p/try-syscall.c.o > +/home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c > +../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" > + 34 | # error "Unknown MIPS ABI" > + | ^~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/containers/bubblewrap/commit/34ea0ad841d6f9167db391c08e6cd51471fed6be] > +--- > + meson.build | 4 +++- > + meson_options.txt | 6 ++++++ > + 2 files changed, 9 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 5b63aa64..9277ac4e 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -152,4 +152,6 @@ if not meson.is_subproject() > + subdir('completions') > + endif > + > +-subdir('tests') > ++if get_option('tests') > ++ subdir('tests') > ++endif > +diff --git a/meson_options.txt b/meson_options.txt > +index 2fa3a8c3..a136a3c3 100644 > +--- a/meson_options.txt > ++++ b/meson_options.txt > +@@ -38,6 +38,12 @@ option( > + description : 'enable optional SELINUX support', > + value : 'auto', > + ) > ++option( > ++ 'tests', > ++ type : 'boolean', > ++ description : 'build tests', > ++ value : 'true', > ++) > + option( > + 'zsh_completion', > + type : 'feature', > diff --git a/package/bubblewrap/bubblewrap.mk b/package/bubblewrap/bubblewrap.mk > index 5875b0d6e2..81456e9e0d 100644 > --- a/package/bubblewrap/bubblewrap.mk > +++ b/package/bubblewrap/bubblewrap.mk > @@ -17,7 +17,8 @@ BUBBLEWRAP_CONF_OPTS = \ > -Dzsh_completion=disabled \ > -Dman=disabled \ > -Dpython=$(HOST_DIR)/bin/python \ > - -Drequire_userns=false > + -Drequire_userns=false \ > + -Dtests=false > > ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) > BUBBLEWRAP_CONF_OPTS += \ From arnout at mind.be Sat Apr 30 18:44:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:44:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/freeipmi: fix build with argp-standalone and NLS In-Reply-To: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> References: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> Message-ID: <6fe43d11-ade1-0d85-b5df-5070a9ca8e1f@mind.be> On 27/04/2022 22:18, Fabrice Fontaine wrote: > Fix the following build failure with argp-standalone and NLS raised > since commit 5430c8fedd0392e79e0c011825b056fea129980a: > > configure:14644: checking for argp_parse in -largp > configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 > /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': > /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' > > [...] > > In file included from freeipmi-argp-fmtstream.c:35: > freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' > 62 | #define __argp_fmtstream_write argp_fmtstream_write > | ^~~~~~~~~~~~~~~~~~~~ > freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' > 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, > | ^~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 > > Signed-off-by: Fabrice Fontaine > --- > package/freeipmi/freeipmi.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/freeipmi/freeipmi.mk b/package/freeipmi/freeipmi.mk > index 9fb59245b9..b26ed0c0bf 100644 > --- a/package/freeipmi/freeipmi.mk > +++ b/package/freeipmi/freeipmi.mk > @@ -20,7 +20,8 @@ FREEIPMI_CONF_OPTS = --without-random-device > # Work around for uClibc or musl toolchains which lack argp_*() > # functions. > ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) > -FREEIPMI_DEPENDENCIES += argp-standalone > +FREEIPMI_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) I've applied as is, however are these TARGET_NLS_DEPENDENCIES actually needed? argp-standalone itself will already pull them in, right? Regards, Arnout > +FREEIPMI_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) > endif > > ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) From arnout at mind.be Sat Apr 30 18:46:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:46:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/freeipmi: fix build with argp-standalone and NLS In-Reply-To: <20220428104555.62683882@windsurf> References: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> <20220428104555.62683882@windsurf> Message-ID: On 28/04/2022 10:45, Thomas Petazzoni via buildroot wrote: > Hello Fabrice, > > On Wed, 27 Apr 2022 22:18:12 +0200 > Fabrice Fontaine wrote: > >> Fix the following build failure with argp-standalone and NLS raised >> since commit 5430c8fedd0392e79e0c011825b056fea129980a: >> >> configure:14644: checking for argp_parse in -largp >> configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 >> /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': >> /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' >> >> [...] >> >> In file included from freeipmi-argp-fmtstream.c:35: >> freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' >> 62 | #define __argp_fmtstream_write argp_fmtstream_write >> | ^~~~~~~~~~~~~~~~~~~~ >> freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' >> 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, >> | ^~~~~~~~~~~~~~~~~~~~~~ >> >> Fixes: >> - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 >> >> Signed-off-by: Fabrice Fontaine > > While your patch is indeed the most "immediate" fix, shouldn't we think > about providing a pkg-config file for argp-standalone, so that its > indirect dependency on libintl when static linking can be properly > described, and transparently discovered by users of argp-standalone? As usual, that only works if we upstream the pkg-config file to arp-standalone and downstream projects start to adopt it. Until then, we still need to do something like this patch (except more complicated). Regards, Arnout > > Because otherwise here, you'll have to basically propagate this to all > users of argp-standalone, and to all users of users of argp-standalone. > > Thomas From arnout at mind.be Sat Apr 30 18:46:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:46:43 +0200 Subject: [Buildroot] [PATCH 1/2] package/libv4l: drop -largp In-Reply-To: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> References: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> Message-ID: On 27/04/2022 22:42, Fabrice Fontaine wrote: > Commit 07ac045655d08255fbc2d17b16a42d0f0017632e added -largp to LIBS but > it was not needed since > https://git.linuxtv.org/v4l-utils.git/commit/configure.ac?id=b187b94d8e9158973ad17ea1f9c4cb01df117ba3 > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > package/libv4l/libv4l.mk | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk > index 8300f5c970..a781ffcd5d 100644 > --- a/package/libv4l/libv4l.mk > +++ b/package/libv4l/libv4l.mk > @@ -28,7 +28,6 @@ endif > > ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) > LIBV4L_DEPENDENCIES += argp-standalone > -LIBV4L_LIBS += -largp > endif > > LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) > @@ -85,6 +84,4 @@ ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) > LIBV4L_DEPENDENCIES += sdl2_image > endif > > -LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" > - > $(eval $(autotools-package)) From arnout at mind.be Sat Apr 30 18:47:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:47:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/libssh2: fix build with libressl >= 3.5.0 In-Reply-To: <20220427210419.1432804-1-fontaine.fabrice@gmail.com> References: <20220427210419.1432804-1-fontaine.fabrice@gmail.com> Message-ID: On 27/04/2022 23:04, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since bump to > version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: > > crypt.c:71:25: error: field 'h' has incomplete type > 71 | _libssh2_cipher_ctx h; > | ^ > > Fixes: > - http://autobuild.buildroot.org/results/47f492ccd4888fe4a150b36e12c88f1e068d46b6 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-Opaque-structs-in-LibreSSL-3-5.patch | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch > > diff --git a/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch > new file mode 100644 > index 0000000000..2e1fd8871c > --- /dev/null > +++ b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch > @@ -0,0 +1,27 @@ > +From 7f55a033e5054529e5e69f06725dd02a573329b6 Mon Sep 17 00:00:00 2001 > +From: Charlie Li > +Date: Wed, 2 Mar 2022 19:50:56 -0500 > +Subject: [PATCH] Opaque structs in LibreSSL 3.5 > + > +[Retrieved (and backported) from: > +https://github.com/libssh2/libssh2/pull/682/commits/7f55a033e5054529e5e69f06725dd02a573329b6] > +Signed-off-by: Fabrice Fontaine > +--- > + src/openssl.h | 5 +++-- > + 1 file changed, 3 insertions(+), 2 deletions(-) > + > +diff --git a/src/openssl.h b/src/openssl.h > +index 3eef02368..c13542481 100644 > +--- a/src/openssl.h > ++++ b/src/openssl.h > +@@ -94,8 +94,8 @@ > + #include > + #include > + > +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ > +- !defined(LIBRESSL_VERSION_NUMBER) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || \ > ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) > + # define HAVE_OPAQUE_STRUCTS 1 > + #endif > + From arnout at mind.be Sat Apr 30 18:49:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:49:00 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/mpd: fix iconv detection w/ libiconv installed In-Reply-To: <20220428061031.3443-1-br015@umbiko.net> References: <20220428061031.3443-1-br015@umbiko.net> Message-ID: On 28/04/2022 08:10, Andreas Ziegler wrote: > Fix build failures caused by meson failing to properly detect iconv() when > libiconv is installed and a missing link dependency. > > Upstream pull request: > https://github.com/MusicPlayerDaemon/MPD/pull/1515 > > Fixes the following build failures: > http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ > > Signed-off-by: Andreas Ziegler > --- > changes v1->v2: > extract patch from git w/o numbering, fix typo, add signed-off-by > > ...iconv-detection-when-libiconv-is-ins.patch | 55 +++++++++++++++++++ > 1 file changed, 55 insertions(+) > create mode 100644 package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch > > diff --git a/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch > new file mode 100644 > index 0000000000..63742c0cbe > --- /dev/null > +++ b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch > @@ -0,0 +1,55 @@ > +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 > +From: aeolio > +Date: Wed, 20 Apr 2022 16:10:39 +0200 > +Subject: [PATCH] src/lib/icu: fix iconv() detection when libiconv is installed > + > +Signed-off-by: aeolio > + > +Fix typo in comment I've also put the upstream link in the patch itself, and applied to master, thanks. Regards, Arnout > + > +Signed-off-by: Andreas Ziegler > +--- > + src/lib/icu/meson.build | 11 +++++++++-- > + 1 file changed, 9 insertions(+), 2 deletions(-) > + > +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build > +index 59215e704..972c1fda3 100644 > +--- a/src/lib/icu/meson.build > ++++ b/src/lib/icu/meson.build > +@@ -12,17 +12,23 @@ if is_windows > + icu_sources += 'Win32.cxx' > + endif > + > ++iconv_dep = [] > + if icu_dep.found() > + icu_sources += [ > + 'Util.cxx', > + 'Init.cxx', > + ] > + elif not get_option('iconv').disabled() > +- have_iconv = compiler.has_function('iconv', prefix : '#include ') > +- conf.set('HAVE_ICONV', have_iconv) > ++ # an installed iconv library will make the builtin iconv() unavailable, > ++ # so search for the library first and pass it as (possible) dependency > ++ iconv_dep = compiler.find_library('libiconv', required: false) > ++ have_iconv = compiler.has_function('iconv', > ++ dependencies: iconv_dep, > ++ prefix : '#include ') > + if not have_iconv and get_option('iconv').enabled() > + error('iconv() not available') > + endif > ++ conf.set('HAVE_ICONV', have_iconv) > + endif > + > + icu = static_library( > +@@ -31,6 +37,7 @@ icu = static_library( > + include_directories: inc, > + dependencies: [ > + icu_dep, > ++ iconv_dep, > + fmt_dep, > + ], > + ) > +-- > +2.34.1 > + From arnout at mind.be Sat Apr 30 18:49:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:49:58 +0200 Subject: [Buildroot] [PATCH v2] package/imx-mkimage: install print_fit_hab.sh In-Reply-To: <20220428074018.3993608-1-thomas.perrot@bootlin.com> References: <20220428074018.3993608-1-thomas.perrot@bootlin.com> Message-ID: <01e81165-8207-9041-61c6-f04b5db76266@mind.be> On 28/04/2022 09:40, Thomas Perrot via buildroot wrote: > This script gives the address, the offset and the size of binaries have been > stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. > > Signed-off-by: Thomas Perrot Applied to master, thanks. Regards, Arnout > --- > > Changes v2: > - Fix a typo, when the variable BL31 is empty, BL33 was initialized instead of > BL31. > > ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 +++++++++++++++++++ > package/imx-mkimage/imx-mkimage.mk | 1 + > 2 files changed, 62 insertions(+) > create mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch > > diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch > new file mode 100644 > index 000000000000..715b0f31d052 > --- /dev/null > +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch > @@ -0,0 +1,61 @@ > +From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 > +From: Thomas Perrot > +Date: Tue, 26 Apr 2022 15:10:04 +0200 > +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 > + > +Signed-off-by: Thomas Perrot > +--- > + iMX8M/print_fit_hab.sh | 14 +++++++++----- > + 1 file changed, 9 insertions(+), 5 deletions(-) > + > +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh > +index b915115d1ecc..dbc28f2d9af5 100755 > +--- a/iMX8M/print_fit_hab.sh > ++++ b/iMX8M/print_fit_hab.sh > +@@ -1,12 +1,16 @@ > + #!/bin/bash > + > +-BL32="tee.bin" > +- > + let fit_off=$1 > + > + # keep backward compatibility > + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" > + > ++[ -z "$BL31" ] && BL31="bl31.bin" > ++ > ++[ -z "$BL32" ] && BL32="tee.bin" > ++ > ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" > ++ > + if [ -z "$ATF_LOAD_ADDR" ]; then > + echo "ERROR: BL31 load address is not set" >&2 > + exit 0 > +@@ -26,7 +30,7 @@ else > + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) > + fi > + > +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') > ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') > + let uboot_load_addr=0x40200000 > + > + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) > +@@ -64,13 +68,13 @@ done > + > + let atf_sign_off=$((last_sign_off)) > + let atf_load_addr=$ATF_LOAD_ADDR > +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') > ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') > + > + if [ ! -f $BL32 ]; then > + let tee_size=0x0 > + let tee_sign_off=$((atf_sign_off + atf_size)) > + else > +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') > ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') > + > + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) > + let tee_load_addr=$TEE_LOAD_ADDR > +-- > +2.35.1 > + > diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk > index 17ba3596f752..b88be0ca6441 100644 > --- a/package/imx-mkimage/imx-mkimage.mk > +++ b/package/imx-mkimage/imx-mkimage.mk > @@ -21,6 +21,7 @@ endef > define HOST_IMX_MKIMAGE_INSTALL_CMDS > $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 > $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh > + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh > endef > else > # i.MX8 and i.MX8X > -- > 2.35.1 > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Sat Apr 30 18:50:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:50:15 +0200 Subject: [Buildroot] [PATCH] package/dhcp: add explicit option disabling In-Reply-To: <20220428162738.1243794-1-yann.morin.1998@free.fr> References: <20220428162738.1243794-1-yann.morin.1998@free.fr> Message-ID: On 28/04/2022 18:27, Yann E. MORIN wrote: > Commits 4db37c663cc0 (dhcp: add config option for delayed-ack feature > of dhcp server) and 40f7adae3c03 (package/dhcp: add security options to > DHCP server) forgot to explicit disable the option when not requested. > > Fix that now. > > Signed-off-by: Yann E. MORIN > Cc: Andreas Ehmanns > Cc: Fabrice Fontaine > Cc: Thomas De Schampheleire > Cc: Jan Havran > Cc: Eugen Hristev Applied to master, thanks. Regards, Arnout > --- > package/dhcp/dhcp.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index b73137506d..cbc95cb152 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -76,10 +76,14 @@ endif > > ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) > DHCP_CONF_OPTS += --enable-delayed-ack > +else > +DHCP_CONF_OPTS += --disable-delayed-ack > endif > > ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) > DHCP_CONF_OPTS += --enable-paranoia > +else > +DHCP_CONF_OPTS += --disable-paranoia > endif > > define DHCP_INSTALL_LIBS From arnout at mind.be Sat Apr 30 18:50:33 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:50:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/libldns: fix build with libressl >= 3.5.0 In-Reply-To: <20220428204048.4003582-1-fontaine.fabrice@gmail.com> References: <20220428204048.4003582-1-fontaine.fabrice@gmail.com> Message-ID: <740d615d-29c0-565e-b502-7ad4be5d6d13@mind.be> On 28/04/2022 22:40, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since bump to > version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: > > ./dnssec.c: In function 'ldns_key_buf2dsa_raw': > ./dnssec.c:386:5: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'} > 386 | dsa->p = P; > | ^~ > > Fixes: > - http://autobuild.buildroot.org/results/d754fbaa8f6687597682fbf0b71c16527c8cd603 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...se-accessors-for-DSA-and-RSA-objects.patch | 96 +++++++++++++++++++ > 1 file changed, 96 insertions(+) > create mode 100644 package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch > > diff --git a/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch > new file mode 100644 > index 0000000000..f7ebbbf8b2 > --- /dev/null > +++ b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch > @@ -0,0 +1,96 @@ > +From 887d618239312cc8c11e41c45492eee02a8f28a2 Mon Sep 17 00:00:00 2001 > +From: Theo Buehler > +Date: Tue, 11 Jan 2022 21:14:24 +0100 > +Subject: [PATCH] Use accessors for DSA and RSA objects > + > +In the upcoming LibreSSL version 3.5, the DSA and RSA structs will > +become opaque, so we should use the OpenSSL 1.1 setters and getters > +to fix the build. The relevant API has been available since > +LibreSSL 2.7. The last LibreSSL version (2.6) not having these > +accessors was EOL late 2018, so no users should be affected by this > +change. > + > +[Retrieved from: > +https://github.com/NLnetLabs/ldns/commit/887d618239312cc8c11e41c45492eee02a8f28a2] > +Signed-off-by: Fabrice Fontaine > +--- > + dnssec.c | 4 ++-- > + host2str.c | 4 ++-- > + keys.c | 6 +++--- > + 3 files changed, 7 insertions(+), 7 deletions(-) > + > +diff --git a/dnssec.c b/dnssec.c > +index 63fece52..fbaa518a 100644 > +--- a/dnssec.c > ++++ b/dnssec.c > +@@ -381,7 +381,7 @@ ldns_key_buf2dsa_raw(const unsigned char* key, size_t len) > + BN_free(Y); > + return NULL; > + } > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + #ifndef S_SPLINT_S > + dsa->p = P; > + dsa->q = Q; > +@@ -468,7 +468,7 @@ ldns_key_buf2rsa_raw(const unsigned char* key, size_t len) > + BN_free(modulus); > + return NULL; > + } > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + #ifndef S_SPLINT_S > + rsa->n = modulus; > + rsa->e = exponent; > +diff --git a/host2str.c b/host2str.c > +index a207a913..634c5676 100644 > +--- a/host2str.c > ++++ b/host2str.c > +@@ -2451,7 +2451,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) > + const BIGNUM *n=NULL, *e=NULL, *d=NULL, > + *p=NULL, *q=NULL, *dmp1=NULL, > + *dmq1=NULL, *iqmp=NULL; > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + n = rsa->n; > + e = rsa->e; > + d = rsa->d; > +@@ -2504,7 +2504,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) > + if(1) { > + const BIGNUM *p=NULL, *q=NULL, *g=NULL, > + *priv_key=NULL, *pub_key=NULL; > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + #ifndef S_SPLINT_S > + p = dsa->p; > + q = dsa->q; > +diff --git a/keys.c b/keys.c > +index 91a3dffd..78bea972 100644 > +--- a/keys.c > ++++ b/keys.c > +@@ -861,7 +861,7 @@ ldns_key_new_frm_fp_rsa_l(FILE *f, int *line_nr) > + } > + #endif /* splint */ > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + # ifndef S_SPLINT_S > + rsa->n = n; > + rsa->e = e; > +@@ -982,7 +982,7 @@ ldns_key_new_frm_fp_dsa_l(FILE *f, ATTR_UNUSED(int *line_nr)) > + } > + #endif /* splint */ > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + # ifndef S_SPLINT_S > + dsa->p = p; > + dsa->q = q; > +@@ -1660,7 +1660,7 @@ ldns_key_rsa2bin(unsigned char *data, RSA *k, uint16_t *size) > + if (!k) { > + return false; > + } > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + n = k->n; > + e = k->e; > + #else From arnout at mind.be Sat Apr 30 18:50:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:50:59 +0200 Subject: [Buildroot] [PATCH v2 1/3] package/pkg-python: deduplicate common env/opts variables In-Reply-To: <20220428221727.1680234-1-james.hilliard1@gmail.com> References: <20220428221727.1680234-1-james.hilliard1@gmail.com> Message-ID: On 29/04/2022 00:17, James Hilliard wrote: > There are many varibles shared via setuptools, distutils and pep517, > combine those common env/opts variables to make them easier to > maintain. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - restore accidentially dropped LDSHARED in distutils env > --- > package/pkg-python.mk | 96 +++++++++++++++++++------------------------ > 1 file changed, 43 insertions(+), 53 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index e9de5cb8d3..b86e12423f 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -33,78 +33,77 @@ PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) > PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py > PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` > > -# Target distutils-based packages > -PKG_PYTHON_DISTUTILS_ENV = \ > +# Target python packages > +PKG_PYTHON_ENV = \ > + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ > + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ > + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ > PATH=$(BR_PATH) \ > $(TARGET_CONFIGURE_OPTS) \ > - LDSHARED="$(TARGET_CROSS)gcc -shared" \ > PYTHONPATH="$(PYTHON3_PATH)" \ > PYTHONNOUSERSITE=1 \ > - SETUPTOOLS_USE_DISTUTILS=stdlib \ > - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ > - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ > - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ > _python_sysroot=$(STAGING_DIR) \ > _python_prefix=/usr \ > _python_exec_prefix=/usr > > +# Host python packages > +HOST_PKG_PYTHON_ENV = \ > + PATH=$(BR_PATH) \ > + PYTHONNOUSERSITE=1 \ > + $(HOST_CONFIGURE_OPTS) > + > +# Target distutils-based packages > +PKG_PYTHON_DISTUTILS_ENV = \ > + $(PKG_PYTHON_ENV) \ > + LDSHARED="$(TARGET_CROSS)gcc -shared" \ > + SETUPTOOLS_USE_DISTUTILS=stdlib \ > + > PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ > --executable=/usr/bin/python > > -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ > +PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ > --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --prefix=/usr \ > + --prefix=/usr > + > +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ > + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ > --root=$(TARGET_DIR) > > PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ > - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --prefix=/usr \ > + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ > --root=$(STAGING_DIR) > > # Host distutils-based packages > HOST_PKG_PYTHON_DISTUTILS_ENV = \ > - PATH=$(BR_PATH) \ > - PYTHONNOUSERSITE=1 \ > - SETUPTOOLS_USE_DISTUTILS=stdlib \ > - $(HOST_CONFIGURE_OPTS) > + $(HOST_PKG_PYTHON_ENV) \ > + SETUPTOOLS_USE_DISTUTILS=stdlib > > HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ > --prefix=$(HOST_DIR) > > # Target setuptools-based packages > PKG_PYTHON_SETUPTOOLS_ENV = \ > - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ > - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ > - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ > - PATH=$(BR_PATH) \ > - $(TARGET_CONFIGURE_OPTS) \ > - PYTHONPATH="$(PYTHON3_PATH)" \ > - PYTHONNOUSERSITE=1 \ > - SETUPTOOLS_USE_DISTUTILS=stdlib \ > - _python_sysroot=$(STAGING_DIR) \ > - _python_prefix=/usr \ > - _python_exec_prefix=/usr > + $(PKG_PYTHON_ENV) \ > + SETUPTOOLS_USE_DISTUTILS=stdlib > > -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ > +PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --prefix=/usr \ > --executable=/usr/bin/python \ > - --single-version-externally-managed \ > + --single-version-externally-managed > + > +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ > + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ > --root=$(TARGET_DIR) > > PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ > - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --prefix=/usr \ > - --executable=/usr/bin/python \ > - --single-version-externally-managed \ > + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ > --root=$(STAGING_DIR) > > # Host setuptools-based packages > HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ > - PATH=$(BR_PATH) \ > - PYTHONNOUSERSITE=1 \ > - SETUPTOOLS_USE_DISTUTILS=stdlib \ > - $(HOST_CONFIGURE_OPTS) > + $(HOST_PKG_PYTHON_ENV) \ > + SETUPTOOLS_USE_DISTUTILS=stdlib > > HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > --prefix=$(HOST_DIR) \ > @@ -113,28 +112,21 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > > # Target pep517-based packages > PKG_PYTHON_PEP517_ENV = \ > - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ > - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ > - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ > - PATH=$(BR_PATH) \ > - $(TARGET_CONFIGURE_OPTS) \ > - PYTHONPATH="$(PYTHON3_PATH)" \ > - PYTHONNOUSERSITE=1 \ > - _python_sysroot=$(STAGING_DIR) \ > - _python_prefix=/usr \ > - _python_exec_prefix=/usr > + $(PKG_PYTHON_ENV) > > -PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ > +PKG_PYTHON_PEP517_INSTALL_OPTS = \ > --interpreter=/usr/bin/python \ > - --script-kind=posix \ > + --script-kind=posix > + > +PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ > + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ > --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --scripts=$(TARGET_DIR)/usr/bin \ > --data=$(TARGET_DIR)/usr > > PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ > - --interpreter=/usr/bin/python \ > - --script-kind=posix \ > + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ > --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --scripts=$(STAGING_DIR)/usr/bin \ > @@ -142,9 +134,7 @@ PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ > > # Host pep517-based packages > HOST_PKG_PYTHON_PEP517_ENV = \ > - PATH=$(BR_PATH) \ > - PYTHONNOUSERSITE=1 \ > - $(HOST_CONFIGURE_OPTS) > + $(HOST_PKG_PYTHON_ENV) > > HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ > --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages From arnout at mind.be Sat Apr 30 18:51:18 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:51:18 +0200 Subject: [Buildroot] [PATCH 1/2] package/tor: add -lz to fix static builds In-Reply-To: <20220429183708.3819668-1-bernd.kuhls@t-online.de> References: <20220429183708.3819668-1-bernd.kuhls@t-online.de> Message-ID: On 29/04/2022 20:37, Bernd Kuhls wrote: > In order to remove a patch which needs frequent updates on major version > bumps and to get rid of autoreconf we just add -lz when creating a static > build. This make sure that static linking occurs in the right order. > > Signed-off-by: Bernd Kuhls Applied both to master, thanks. Regards, Arnout > --- > Tested using this defconfig > > BR2_PACKAGE_XZ=y > BR2_PACKAGE_ZSTD=y > BR2_PACKAGE_TOR=y > > andes-nds32 [ 1/45]: OK > arm-aarch64 [ 2/45]: OK > bootlin-aarch64-glibc [ 3/45]: OK > bootlin-arcle-hs38-uclibc [ 4/45]: OK > bootlin-armv5-uclibc [ 5/45]: OK > bootlin-armv7-glibc [ 6/45]: OK > bootlin-armv7m-uclibc [ 7/45]: SKIPPED > bootlin-armv7-musl [ 8/45]: OK > bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED > bootlin-m68k-68040-uclibc [10/45]: OK > bootlin-microblazeel-uclibc [11/45]: OK > bootlin-mipsel32r6-glibc [12/45]: OK > bootlin-mipsel-uclibc [13/45]: OK > bootlin-nios2-glibc [14/45]: OK > bootlin-openrisc-uclibc [15/45]: OK > bootlin-powerpc64le-power8-glibc [16/45]: OK > bootlin-powerpc-e500mc-uclibc [17/45]: OK > bootlin-riscv32-glibc [18/45]: OK > bootlin-riscv64-glibc [19/45]: OK > bootlin-riscv64-musl [20/45]: OK > bootlin-sh4-uclibc [21/45]: OK > bootlin-sparc64-glibc [22/45]: OK > bootlin-sparc-uclibc [23/45]: OK > bootlin-x86-64-glibc [24/45]: OK > bootlin-x86-64-musl [25/45]: OK > bootlin-x86-64-uclibc [26/45]: OK > bootlin-xtensa-uclibc [27/45]: OK > br-arm-basic [28/45]: OK > br-arm-full-nothread [29/45]: SKIPPED > br-arm-full-static [30/45]: OK > br-i386-pentium4-full [31/45]: OK > br-i386-pentium-mmx-musl [32/45]: OK > br-mips64-n64-full [33/45]: OK > br-mips64r6-el-hf-glibc [34/45]: OK > br-powerpc-603e-basic-cpp [35/45]: OK > br-powerpc64-power7-glibc [36/45]: OK > linaro-aarch64-be [37/45]: OK > linaro-aarch64 [38/45]: OK > linaro-arm [39/45]: OK > sourcery-arm-armv4t [40/45]: OK > sourcery-arm [41/45]: OK > sourcery-arm-thumb2 [42/45]: OK > sourcery-mips64 [43/45]: OK > sourcery-mips [44/45]: OK > sourcery-nios2 [45/45]: OK > 45 builds, 3 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed > > ...0001-Fix-static-linking-with-OpenSSL.patch | 94 ------------------- > package/tor/tor.mk | 7 +- > 2 files changed, 5 insertions(+), 96 deletions(-) > delete mode 100644 package/tor/0001-Fix-static-linking-with-OpenSSL.patch > > diff --git a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch b/package/tor/0001-Fix-static-linking-with-OpenSSL.patch > deleted file mode 100644 > index 26ed6fe819..0000000000 > --- a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch > +++ /dev/null > @@ -1,94 +0,0 @@ > -From ba6b8ee5b6dee19493a150c3715b0e202440d206 Mon Sep 17 00:00:00 2001 > -From: Bernd Kuhls > -Date: Thu, 24 Jan 2019 18:19:51 +0100 > -Subject: [PATCH] Fix static linking with OpenSSL > - > -Adjust link order of libz to solve bug with static linking > -and remove host paths when looking for openssl. > - > -[Vincent: > - - Adapt the patch to make it apply on the new version.] > -[Bernd: rebased for tor-0.2.7.6, 0.2.8.10, 0.2.9.9, 0.3.1.7, 0.3.2.10, > - 0.3.4.8, 0.3.5.7, 0.4.4.5, 0.4.5.6 & 0.4.6.7] > -[Fabrice: fix detection of openssl functions in 0.3.5.8] > -Signed-off-by: Vicente Olivert Riera > -Signed-off-by: Bernd Kuhls > -Signed-off-by: Fabrice Fontaine > ---- > - configure.ac | 4 ++-- > - src/test/include.am | 8 ++++---- > - src/tools/include.am | 4 ++-- > - 4 files changed, 9 insertions(+), 9 deletions(-) > - > -diff --git a/configure.ac b/configure.ac > -index 05e1392cf..580befa6b 100644 > ---- a/configure.ac > -+++ b/configure.ac > -@@ -1074,7 +1074,7 @@ AC_ARG_WITH(ssl-dir, > - ]) > - > - AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1]) > --TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], > -+TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto -lz $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], > - [#include > - char *getenv(const char *);], > - [struct ssl_cipher_st; > -@@ -1104,7 +1104,7 @@ dnl Now check for particular openssl functions. > - save_LIBS="$LIBS" > - save_LDFLAGS="$LDFLAGS" > - save_CPPFLAGS="$CPPFLAGS" > --LIBS="$TOR_OPENSSL_LIBS $LIBS" > -+LIBS="$TOR_OPENSSL_LIBS -lz $LIBS" > - LDFLAGS="$TOR_LDFLAGS_openssl $LDFLAGS" > - CPPFLAGS="$TOR_CPPFLAGS_openssl $CPPFLAGS" > - > -diff --git a/src/test/include.am b/src/test/include.am > -index ecb768957..39a622e88 100644 > ---- a/src/test/include.am > -+++ b/src/test/include.am > -@@ -399,8 +399,8 @@ src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) > - src_test_test_ntor_cl_LDADD = \ > - libtor.a \ > - $(rust_ldadd) \ > -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ > -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ > -+ @TOR_LIB_MATH@ \ > -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ > - @CURVE25519_LIBS@ @TOR_LZMA_LIBS@ @TOR_TRACE_LIBS@ > - src_test_test_ntor_cl_AM_CPPFLAGS = \ > - $(AM_CPPFLAGS) > -@@ -409,8 +409,8 @@ > - src_test_test_hs_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) > - src_test_test_hs_ntor_cl_LDADD = \ > - libtor.a \ > -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ > -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ > -+ @TOR_LIB_MATH@ \ > -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ > - @CURVE25519_LIBS@ @TOR_TRACE_LIBS@ > - src_test_test_hs_ntor_cl_AM_CPPFLAGS = \ > - $(AM_CPPFLAGS) > -diff --git a/src/tools/include.am b/src/tools/include.am > -index f7aa7e0d1..4c4e8aa7a 100644 > ---- a/src/tools/include.am > -+++ b/src/tools/include.am > -@@ -35,7 +35,7 @@ src_tools_tor_gencert_LDADD = \ > - $(TOR_CRYPTO_LIBS) \ > - $(TOR_UTIL_LIBS) \ > - $(rust_ldadd) \ > -- @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \ > -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ > - @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@ > - endif > - > -@@ -45,7 +45,7 @@ src_tools_tor_print_ed_signing_cert_LDADD = \ > - src/trunnel/libor-trunnel.a \ > - $(TOR_CRYPTO_LIBS) \ > - $(TOR_UTIL_LIBS) \ > -- @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \ > -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ > - @TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ > - > - if USE_NSS > --- > -2.20.1 > diff --git a/package/tor/tor.mk b/package/tor/tor.mk > index d16b3541eb..78a6de66dc 100644 > --- a/package/tor/tor.mk > +++ b/package/tor/tor.mk > @@ -11,7 +11,6 @@ TOR_LICENSE_FILES = LICENSE > TOR_CPE_ID_VENDOR = torproject > TOR_SELINUX_MODULES = tor > TOR_DEPENDENCIES = libevent openssl zlib > -TOR_AUTORECONF = YES > > TOR_CONF_OPTS = \ > --disable-gcc-hardening \ > @@ -64,8 +63,12 @@ endif > TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' > > ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > -TOR_CONF_ENV += LIBS=-latomic > +TOR_LIBS += -latomic > endif > +ifeq ($(BR2_STATIC_LIBS),y) > +TOR_LIBS += -lz > +endif > +TOR_CONF_ENV += LIBS="$(TOR_LIBS)" > > define TOR_INSTALL_CONF > $(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \ From arnout at mind.be Sat Apr 30 18:52:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:52:14 +0200 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target rootfs size to 5G In-Reply-To: <20220429191531.4173116-1-james.hilliard1@gmail.com> References: <20220429191531.4173116-1-james.hilliard1@gmail.com> Message-ID: On 29/04/2022 21:15, James Hilliard wrote: > Since there isn't a way to reliably compute the required size lets > just set it to what should be a high enough value to not run out > of space. > > Fixes: > - http://autobuild.buildroot.net/results/a3c68cdc515353c0d2650ee743aa3bd8ab99a418 > - http://autobuild.buildroot.net/results/ad426ff903d78a92de8f0208876e2196136a09a8 > > Signed-off-by: James Hilliard I verified that both create sparse files (they do), mentioned this in the commit message, and applied to master, thanks. What about btrfs? Not needed? Regards, Arnout > --- > utils/genrandconfig | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/utils/genrandconfig b/utils/genrandconfig > index adefb8f502..ab1f6f43b1 100755 > --- a/utils/genrandconfig > +++ b/utils/genrandconfig > @@ -200,6 +200,8 @@ def fixup_config(sysinfo, configfile): > with open(configfile) as configf: > configlines = configf.readlines() > > + ROOTFS_SIZE = '5G' > + > BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' > > if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): > @@ -441,6 +443,16 @@ def fixup_config(sysinfo, configfile): > configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > > + if 'BR2_TARGET_ROOTFS_EXT2_GEN=y\n' in configlines and \ > + 'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines: > + configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n') > + configlines.append('BR2_TARGET_ROOTFS_EXT2_SIZE="%s"\n' % ROOTFS_SIZE) > + > + if 'BR2_TARGET_ROOTFS_F2FS=y\n' in configlines and \ > + 'BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n' in configlines: > + configlines.remove('BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n') > + configlines.append('BR2_TARGET_ROOTFS_F2FS_SIZE="%s"\n' % ROOTFS_SIZE) > + > if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') From arnout at mind.be Sat Apr 30 18:52:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:52:28 +0200 Subject: [Buildroot] [PATCH] package/frotz: Update to version 2.54 In-Reply-To: <20220430084742.522833-1-huth@tuxfamily.org> References: <20220430084742.522833-1-huth@tuxfamily.org> Message-ID: On 30/04/2022 10:47, Thomas Huth wrote: > A simple update by bumping the version number and sha256 sum > to the current version. > > Signed-off-by: Thomas Huth Applied to master, thanks. Regards, Arnout > --- > package/frotz/frotz.hash | 2 +- > package/frotz/frotz.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/frotz/frotz.hash b/package/frotz/frotz.hash > index e5024aa2cd..145aa3800f 100644 > --- a/package/frotz/frotz.hash > +++ b/package/frotz/frotz.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 8da558828dd74d6d6ee30483bb32276ef918b8b72b7f6e89b4f7cb27e7abf58b frotz-2.53.tar.bz2 > +sha256 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395 frotz-2.54.tar.bz2 > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/frotz/frotz.mk b/package/frotz/frotz.mk > index c1362b2ac6..5af235137c 100644 > --- a/package/frotz/frotz.mk > +++ b/package/frotz/frotz.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FROTZ_VERSION = 2.53 > +FROTZ_VERSION = 2.54 > FROTZ_SOURCE = frotz-$(FROTZ_VERSION).tar.bz2 > FROTZ_SITE = $(call gitlab,DavidGriffith,frotz,$(FROTZ_VERSION)) > FROTZ_DEPENDENCIES = host-pkgconf ncurses From arnout at mind.be Sat Apr 30 18:52:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:52:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/libosmium: bump version to 2.18.0 In-Reply-To: <20220430112333.414925-1-fido_max@inbox.ru> References: <20220430112333.414925-1-fido_max@inbox.ru> Message-ID: <35fa6666-418c-404a-0804-d46e3131d2b0@mind.be> On 30/04/2022 13:23, Maxim Kochetkov via buildroot wrote: > Release-notes: https://github.com/osmcode/libosmium/releases/tag/v2.18.0 > > Signed-off-by: Maxim Kochetkov Applied to master, thanks. Regards, Arnout > --- > package/libosmium/libosmium.hash | 2 +- > package/libosmium/libosmium.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libosmium/libosmium.hash b/package/libosmium/libosmium.hash > index ccfd3b09b0..cb53a91c67 100644 > --- a/package/libosmium/libosmium.hash > +++ b/package/libosmium/libosmium.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 ff85d55ca83d77fc41f6b7ae77f3d8d4337d299cbb4cc60c00e1f9d90d94e71b libosmium-2.17.3.tar.gz > +sha256 c05a3e95c9c811521ebad8637e90f43ab8fb053b310875acce741cc4c17d6f59 libosmium-2.18.0.tar.gz > sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE > diff --git a/package/libosmium/libosmium.mk b/package/libosmium/libosmium.mk > index 6510af4e77..f7ced04de3 100644 > --- a/package/libosmium/libosmium.mk > +++ b/package/libosmium/libosmium.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBOSMIUM_VERSION = 2.17.3 > +LIBOSMIUM_VERSION = 2.18.0 > LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION)) > LIBOSMIUM_LICENSE = BSL-1.0 > LIBOSMIUM_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:53:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:53:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/timescaledb: bump version to 2.6.1 In-Reply-To: <20220430113548.461720-1-fido_max@inbox.ru> References: <20220430113548.461720-1-fido_max@inbox.ru> Message-ID: On 30/04/2022 13:35, Maxim Kochetkov wrote: > Release notes: https://github.com/timescale/timescaledb/releases/tag/2.6.1 > > Signed-off-by: Maxim Kochetkov Applied to master, thanks. Regards, Arnout > --- > package/timescaledb/timescaledb.hash | 2 +- > package/timescaledb/timescaledb.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/timescaledb/timescaledb.hash b/package/timescaledb/timescaledb.hash > index 556cdaf329..f186684339 100644 > --- a/package/timescaledb/timescaledb.hash > +++ b/package/timescaledb/timescaledb.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 b1a20832189c22ce378f009f9a24ef1db61d7131f7f79bde74fdcde87bcf2d7c timescaledb-2.5.2.tar.gz > +sha256 226af207105cc9e2d1744b303e475204a947047103f0e5697de4e8949e4dde75 timescaledb-2.6.1.tar.gz > sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE > diff --git a/package/timescaledb/timescaledb.mk b/package/timescaledb/timescaledb.mk > index 1d8b2a69a7..16fba11e21 100644 > --- a/package/timescaledb/timescaledb.mk > +++ b/package/timescaledb/timescaledb.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TIMESCALEDB_VERSION = 2.5.2 > +TIMESCALEDB_VERSION = 2.6.1 > TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) > TIMESCALEDB_LICENSE = Apache-2.0 > TIMESCALEDB_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:53:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:53:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgis: bump version to 3.2.1 In-Reply-To: <20220430114406.545127-1-fido_max@inbox.ru> References: <20220430114406.545127-1-fido_max@inbox.ru> Message-ID: On 30/04/2022 13:44, Maxim Kochetkov wrote: > Release-notes: https://git.osgeo.org/gitea/postgis/postgis/src/tag/3.2.1/NEWS > > Signed-off-by: Maxim Kochetkov Applied to master, thanks. Regards, Arnout > --- > package/postgis/postgis.hash | 2 +- > package/postgis/postgis.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/postgis/postgis.hash b/package/postgis/postgis.hash > index 12ca18f84f..018e6523f3 100644 > --- a/package/postgis/postgis.hash > +++ b/package/postgis/postgis.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 7ab9e154c6947c0cffb8fa12d70806add9aa060e62b6c86a2e206f9d4b507cfd postgis-3.2.0.tar.gz > +sha256 fbab68dde6ca3934b24ba08c8ab0cff2594f57f93deab41a15c82ae1bb69893e postgis-3.2.1.tar.gz > sha256 55b69f22e1752830dd565852dc7ff242daf289dbd3a6bfede5db43f90d2e28c9 LICENSE.TXT > diff --git a/package/postgis/postgis.mk b/package/postgis/postgis.mk > index d9cda64730..b77071d03b 100644 > --- a/package/postgis/postgis.mk > +++ b/package/postgis/postgis.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -POSTGIS_VERSION = 3.2.0 > +POSTGIS_VERSION = 3.2.1 > POSTGIS_SITE = https://download.osgeo.org/postgis/source > # parallel build issues > POSTGIS_MAKE = $(MAKE1) From arnout at mind.be Sat Apr 30 18:54:01 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:54:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap: bump to version 2.64 In-Reply-To: <20220430133050.19519-1-raphael.pavlidis@gmail.com> References: <20220430133050.19519-1-raphael.pavlidis@gmail.com> Message-ID: <99c84381-4b3d-aa48-d3b6-3efc6141ba55@mind.be> On 30/04/2022 15:30, Raphael Pavlidis via buildroot wrote: > https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.e8k97s2ae0nc > > Signed-off-by: Raphael Pavlidis Applied to master, thanks. Regards, Arnout > --- > package/libcap/libcap.hash | 2 +- > package/libcap/libcap.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash > index 2cdf92bbc1..7c48cd950b 100644 > --- a/package/libcap/libcap.hash > +++ b/package/libcap/libcap.hash > @@ -1,5 +1,5 @@ > # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc > -sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz > +sha256 c8465e1f0b068d5fc06199231135ccac7adb56d662b1de93589252e8cd071e13 libcap-2.64.tar.xz > > # Hash for license file: > sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License > diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk > index ed689ce503..91e02638e2 100644 > --- a/package/libcap/libcap.mk > +++ b/package/libcap/libcap.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBCAP_VERSION = 2.63 > +LIBCAP_VERSION = 2.64 > LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 > LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz > LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause From arnout at mind.be Sat Apr 30 18:20:55 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:20:55 +0200 Subject: [Buildroot] [git commit] package/libv4l: drop -largp Message-ID: <20220430184417.88FDC84B62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=29a38e7941ada87c344e2edad49a904e1084110b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 07ac045655d08255fbc2d17b16a42d0f0017632e added -largp to LIBS but it was not needed since https://git.linuxtv.org/v4l-utils.git/commit/configure.ac?id=b187b94d8e9158973ad17ea1f9c4cb01df117ba3 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libv4l/libv4l.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index 8300f5c970..a781ffcd5d 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -28,7 +28,6 @@ endif ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) LIBV4L_DEPENDENCIES += argp-standalone -LIBV4L_LIBS += -largp endif LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) @@ -85,6 +84,4 @@ ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) LIBV4L_DEPENDENCIES += sdl2_image endif -LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" - $(eval $(autotools-package)) From arnout at mind.be Sat Apr 30 18:20:58 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:20:58 +0200 Subject: [Buildroot] [git commit] package/libv4l: fix build with argp-standalone and NLS Message-ID: <20220430184417.95024847F3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8622331e17545cb5badd226ec8727439f7e7a451 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:19923: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/i686-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -largp >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' [...] checking for library containing argp_parse... no configure: error: unable to find the argp_parse() function Fixes: - http://autobuild.buildroot.org/results/b7b2253ac902b441cc6ff12500b56bd15c413d71 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libv4l/libv4l.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index a781ffcd5d..fd69b7ac7a 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -27,7 +27,8 @@ LIBV4L_DEPENDENCIES += alsa-lib endif ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -LIBV4L_DEPENDENCIES += argp-standalone +LIBV4L_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) +LIBV4L_CONF_ENV += LIBS=$(TARGET_NLS_LIBS) endif LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) From arnout at mind.be Sat Apr 30 18:21:02 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:21:02 +0200 Subject: [Buildroot] [git commit] package/libssh2: fix build with libressl >= 3.5.0 Message-ID: <20220430184417.9F10C84B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5dc0bfdb3b21ed5dfd4a33e5d709477986939a5b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: crypt.c:71:25: error: field 'h' has incomplete type 71 | _libssh2_cipher_ctx h; | ^ Fixes: - http://autobuild.buildroot.org/results/47f492ccd4888fe4a150b36e12c88f1e068d46b6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-Opaque-structs-in-LibreSSL-3-5.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch new file mode 100644 index 0000000000..2e1fd8871c --- /dev/null +++ b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch @@ -0,0 +1,27 @@ +From 7f55a033e5054529e5e69f06725dd02a573329b6 Mon Sep 17 00:00:00 2001 +From: Charlie Li +Date: Wed, 2 Mar 2022 19:50:56 -0500 +Subject: [PATCH] Opaque structs in LibreSSL 3.5 + +[Retrieved (and backported) from: +https://github.com/libssh2/libssh2/pull/682/commits/7f55a033e5054529e5e69f06725dd02a573329b6] +Signed-off-by: Fabrice Fontaine +--- + src/openssl.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/openssl.h b/src/openssl.h +index 3eef02368..c13542481 100644 +--- a/src/openssl.h ++++ b/src/openssl.h +@@ -94,8 +94,8 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ +- !defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) + # define HAVE_OPAQUE_STRUCTS 1 + #endif + From arnout at mind.be Sat Apr 30 18:20:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:20:52 +0200 Subject: [Buildroot] [git commit] package/freeipmi: fix build with argp-standalone and NLS Message-ID: <20220430184417.7EF7F847F3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7280c202f8a29310fa801e5322dad00308c9c4c7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:14644: checking for argp_parse in -largp configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' [...] In file included from freeipmi-argp-fmtstream.c:35: freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' 62 | #define __argp_fmtstream_write argp_fmtstream_write | ^~~~~~~~~~~~~~~~~~~~ freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, | ^~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/freeipmi/freeipmi.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/freeipmi/freeipmi.mk b/package/freeipmi/freeipmi.mk index 9fb59245b9..b26ed0c0bf 100644 --- a/package/freeipmi/freeipmi.mk +++ b/package/freeipmi/freeipmi.mk @@ -20,7 +20,8 @@ FREEIPMI_CONF_OPTS = --without-random-device # Work around for uClibc or musl toolchains which lack argp_*() # functions. ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -FREEIPMI_DEPENDENCIES += argp-standalone +FREEIPMI_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) +FREEIPMI_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) endif ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/pkg-python: deduplicate common env/opts variables Message-ID: <20220430184417.D72E884B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=60aa067d74e41a7a598eb7ac44978f84d77a0eae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master There are many varibles shared via setuptools, distutils and pep517, combine those common env/opts variables to make them easier to maintain. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-python.mk | 96 +++++++++++++++++++++++---------------------------- 1 file changed, 43 insertions(+), 53 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e9de5cb8d3..b86e12423f 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -33,78 +33,77 @@ PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` -# Target distutils-based packages -PKG_PYTHON_DISTUTILS_ENV = \ +# Target python packages +PKG_PYTHON_ENV = \ + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ PATH=$(BR_PATH) \ $(TARGET_CONFIGURE_OPTS) \ - LDSHARED="$(TARGET_CROSS)gcc -shared" \ PYTHONPATH="$(PYTHON3_PATH)" \ PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ _python_sysroot=$(STAGING_DIR) \ _python_prefix=/usr \ _python_exec_prefix=/usr +# Host python packages +HOST_PKG_PYTHON_ENV = \ + PATH=$(BR_PATH) \ + PYTHONNOUSERSITE=1 \ + $(HOST_CONFIGURE_OPTS) + +# Target distutils-based packages +PKG_PYTHON_DISTUTILS_ENV = \ + $(PKG_PYTHON_ENV) \ + LDSHARED="$(TARGET_CROSS)gcc -shared" \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ --executable=/usr/bin/python -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + --prefix=/usr + +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host distutils-based packages HOST_PKG_PYTHON_DISTUTILS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) # Target setuptools-based packages PKG_PYTHON_SETUPTOOLS_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --prefix=/usr \ --executable=/usr/bin/python \ - --single-version-externally-managed \ + --single-version-externally-managed + +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host setuptools-based packages HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) \ @@ -113,28 +112,21 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) -PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_PEP517_INSTALL_OPTS = \ --interpreter=/usr/bin/python \ - --script-kind=posix \ + --script-kind=posix + +PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(TARGET_DIR)/usr/bin \ --data=$(TARGET_DIR)/usr PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ - --interpreter=/usr/bin/python \ - --script-kind=posix \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(STAGING_DIR)/usr/bin \ @@ -142,9 +134,7 @@ PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ # Host pep517-based packages HOST_PKG_PYTHON_PEP517_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages From arnout at mind.be Sat Apr 30 18:40:20 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:20 +0200 Subject: [Buildroot] [git commit] package/mpd: fix iconv detection w/ libiconv installed Message-ID: <20220430184417.A905984B62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9b715b549c5b156704b2f413cf97f39c500fc73d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix build failures caused by meson failing to properly detect iconv() when libiconv is installed and a missing link dependency. Upstream pull request: https://github.com/MusicPlayerDaemon/MPD/pull/1515 Fixes the following build failures: http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ Signed-off-by: Andreas Ziegler Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-fix-iconv-detection-when-libiconv-is-ins.patch | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch new file mode 100644 index 0000000000..162999dc5f --- /dev/null +++ b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch @@ -0,0 +1,53 @@ +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 +From: aeolio +Date: Wed, 20 Apr 2022 16:10:39 +0200 +Subject: [PATCH] src/lib/icu: fix iconv() detection when libiconv is installed + +Signed-off-by: aeolio +Upstream: https://github.com/MusicPlayerDaemon/MPD/pull/1515 +Signed-off-by: Andreas Ziegler +--- + src/lib/icu/meson.build | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build +index 59215e704..972c1fda3 100644 +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -12,17 +12,23 @@ if is_windows + icu_sources += 'Win32.cxx' + endif + ++iconv_dep = [] + if icu_dep.found() + icu_sources += [ + 'Util.cxx', + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- have_iconv = compiler.has_function('iconv', prefix : '#include ') +- conf.set('HAVE_ICONV', have_iconv) ++ # an installed iconv library will make the builtin iconv() unavailable, ++ # so search for the library first and pass it as (possible) dependency ++ iconv_dep = compiler.find_library('libiconv', required: false) ++ have_iconv = compiler.has_function('iconv', ++ dependencies: iconv_dep, ++ prefix : '#include ') + if not have_iconv and get_option('iconv').enabled() + error('iconv() not available') + endif ++ conf.set('HAVE_ICONV', have_iconv) + endif + + icu = static_library( +@@ -31,6 +37,7 @@ icu = static_library( + include_directories: inc, + dependencies: [ + icu_dep, ++ iconv_dep, + fmt_dep, + ], + ) +-- +2.34.1 + From arnout at mind.be Sat Apr 30 18:40:20 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:20 +0200 Subject: [Buildroot] [git commit] package/imx-mkimage: install print_fit_hab.sh Message-ID: <20220430184417.B3DE984B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5cb1bbc6276c64815e299ed698d6d42f012634db branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This script gives the address, the offset and the size of binaries have been stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. Signed-off-by: Thomas Perrot Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...support-for-overriding-BL31-BL32-and-BL33.patch | 61 ++++++++++++++++++++++ package/imx-mkimage/imx-mkimage.mk | 1 + 2 files changed, 62 insertions(+) diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch new file mode 100644 index 0000000000..4154b1c4a9 --- /dev/null +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch @@ -0,0 +1,61 @@ +From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 +From: Thomas Perrot +Date: Tue, 26 Apr 2022 15:10:04 +0200 +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 + +Signed-off-by: Thomas Perrot +--- + iMX8M/print_fit_hab.sh | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh +index b915115d1ecc..dbc28f2d9af5 100755 +--- a/iMX8M/print_fit_hab.sh ++++ b/iMX8M/print_fit_hab.sh +@@ -1,12 +1,16 @@ + #!/bin/bash + +-BL32="tee.bin" +- + let fit_off=$1 + + # keep backward compatibility + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" + ++[ -z "$BL31" ] && BL31="bl31.bin" ++ ++[ -z "$BL32" ] && BL32="tee.bin" ++ ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" ++ + if [ -z "$ATF_LOAD_ADDR" ]; then + echo "ERROR: BL31 load address is not set" >&2 + exit 0 +@@ -26,7 +30,7 @@ else + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) + fi + +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') + let uboot_load_addr=0x40200000 + + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) +@@ -64,13 +68,13 @@ done + + let atf_sign_off=$((last_sign_off)) + let atf_load_addr=$ATF_LOAD_ADDR +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') + + if [ ! -f $BL32 ]; then + let tee_size=0x0 + let tee_sign_off=$((atf_sign_off + atf_size)) + else +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') + + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) + let tee_load_addr=$TEE_LOAD_ADDR +-- +2.35.1 + diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 17ba3596f7..b88be0ca64 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -21,6 +21,7 @@ endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else # i.MX8 and i.MX8X From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/postgis: bump version to 3.2.1 Message-ID: <20220430184418.292F984B62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e0e268d61d3995f1096fdac4c3cd9ebb74deb57b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release-notes: https://git.osgeo.org/gitea/postgis/postgis/src/tag/3.2.1/NEWS Signed-off-by: Maxim Kochetkov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/postgis/postgis.hash | 2 +- package/postgis/postgis.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/postgis/postgis.hash b/package/postgis/postgis.hash index 12ca18f84f..018e6523f3 100644 --- a/package/postgis/postgis.hash +++ b/package/postgis/postgis.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 7ab9e154c6947c0cffb8fa12d70806add9aa060e62b6c86a2e206f9d4b507cfd postgis-3.2.0.tar.gz +sha256 fbab68dde6ca3934b24ba08c8ab0cff2594f57f93deab41a15c82ae1bb69893e postgis-3.2.1.tar.gz sha256 55b69f22e1752830dd565852dc7ff242daf289dbd3a6bfede5db43f90d2e28c9 LICENSE.TXT diff --git a/package/postgis/postgis.mk b/package/postgis/postgis.mk index d9cda64730..b77071d03b 100644 --- a/package/postgis/postgis.mk +++ b/package/postgis/postgis.mk @@ -4,7 +4,7 @@ # ################################################################################ -POSTGIS_VERSION = 3.2.0 +POSTGIS_VERSION = 3.2.1 POSTGIS_SITE = https://download.osgeo.org/postgis/source # parallel build issues POSTGIS_MAKE = $(MAKE1) From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/libldns: fix build with libressl >= 3.5.0 Message-ID: <20220430184417.C8A8884B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=94831ab236ca336109a4f2b78b30129c8dcdf1b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: ./dnssec.c: In function 'ldns_key_buf2dsa_raw': ./dnssec.c:386:5: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'} 386 | dsa->p = P; | ^~ Fixes: - http://autobuild.buildroot.org/results/d754fbaa8f6687597682fbf0b71c16527c8cd603 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...001-Use-accessors-for-DSA-and-RSA-objects.patch | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch new file mode 100644 index 0000000000..f7ebbbf8b2 --- /dev/null +++ b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch @@ -0,0 +1,96 @@ +From 887d618239312cc8c11e41c45492eee02a8f28a2 Mon Sep 17 00:00:00 2001 +From: Theo Buehler +Date: Tue, 11 Jan 2022 21:14:24 +0100 +Subject: [PATCH] Use accessors for DSA and RSA objects + +In the upcoming LibreSSL version 3.5, the DSA and RSA structs will +become opaque, so we should use the OpenSSL 1.1 setters and getters +to fix the build. The relevant API has been available since +LibreSSL 2.7. The last LibreSSL version (2.6) not having these +accessors was EOL late 2018, so no users should be affected by this +change. + +[Retrieved from: +https://github.com/NLnetLabs/ldns/commit/887d618239312cc8c11e41c45492eee02a8f28a2] +Signed-off-by: Fabrice Fontaine +--- + dnssec.c | 4 ++-- + host2str.c | 4 ++-- + keys.c | 6 +++--- + 3 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/dnssec.c b/dnssec.c +index 63fece52..fbaa518a 100644 +--- a/dnssec.c ++++ b/dnssec.c +@@ -381,7 +381,7 @@ ldns_key_buf2dsa_raw(const unsigned char* key, size_t len) + BN_free(Y); + return NULL; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + dsa->p = P; + dsa->q = Q; +@@ -468,7 +468,7 @@ ldns_key_buf2rsa_raw(const unsigned char* key, size_t len) + BN_free(modulus); + return NULL; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + rsa->n = modulus; + rsa->e = exponent; +diff --git a/host2str.c b/host2str.c +index a207a913..634c5676 100644 +--- a/host2str.c ++++ b/host2str.c +@@ -2451,7 +2451,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) + const BIGNUM *n=NULL, *e=NULL, *d=NULL, + *p=NULL, *q=NULL, *dmp1=NULL, + *dmq1=NULL, *iqmp=NULL; +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + n = rsa->n; + e = rsa->e; + d = rsa->d; +@@ -2504,7 +2504,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) + if(1) { + const BIGNUM *p=NULL, *q=NULL, *g=NULL, + *priv_key=NULL, *pub_key=NULL; +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + p = dsa->p; + q = dsa->q; +diff --git a/keys.c b/keys.c +index 91a3dffd..78bea972 100644 +--- a/keys.c ++++ b/keys.c +@@ -861,7 +861,7 @@ ldns_key_new_frm_fp_rsa_l(FILE *f, int *line_nr) + } + #endif /* splint */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + # ifndef S_SPLINT_S + rsa->n = n; + rsa->e = e; +@@ -982,7 +982,7 @@ ldns_key_new_frm_fp_dsa_l(FILE *f, ATTR_UNUSED(int *line_nr)) + } + #endif /* splint */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + # ifndef S_SPLINT_S + dsa->p = p; + dsa->q = q; +@@ -1660,7 +1660,7 @@ ldns_key_rsa2bin(unsigned char *data, RSA *k, uint16_t *size) + if (!k) { + return false; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + n = k->n; + e = k->e; + #else From arnout at mind.be Sat Apr 30 18:20:49 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:20:49 +0200 Subject: [Buildroot] [git commit] package/bubblewrap: disable tests Message-ID: <20220430184417.763A484B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ebf745b6768689a088a1e51bdb4e7b941dfd15c5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable tests to avoid the following build failure on mips32: [9/10] Compiling C object tests/try-syscall.p/try-syscall.c.o FAILED: tests/try-syscall.p/try-syscall.c.o /home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c ../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" 34 | # error "Unknown MIPS ABI" | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../bubblewrap/0001-meson-add-tests-option.patch | 54 ++++++++++++++++++++++ package/bubblewrap/bubblewrap.mk | 3 +- 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/package/bubblewrap/0001-meson-add-tests-option.patch b/package/bubblewrap/0001-meson-add-tests-option.patch new file mode 100644 index 0000000000..32836f925d --- /dev/null +++ b/package/bubblewrap/0001-meson-add-tests-option.patch @@ -0,0 +1,54 @@ +From 34ea0ad841d6f9167db391c08e6cd51471fed6be Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 11:27:06 +0200 +Subject: [PATCH] meson: add tests option + +Allow the user to disable tests, for example to avoid the following +build failure on mips32: + +FAILED: tests/try-syscall.p/try-syscall.c.o +/home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c +../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" + 34 | # error "Unknown MIPS ABI" + | ^~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/containers/bubblewrap/commit/34ea0ad841d6f9167db391c08e6cd51471fed6be] +--- + meson.build | 4 +++- + meson_options.txt | 6 ++++++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b63aa64..9277ac4e 100644 +--- a/meson.build ++++ b/meson.build +@@ -152,4 +152,6 @@ if not meson.is_subproject() + subdir('completions') + endif + +-subdir('tests') ++if get_option('tests') ++ subdir('tests') ++endif +diff --git a/meson_options.txt b/meson_options.txt +index 2fa3a8c3..a136a3c3 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -38,6 +38,12 @@ option( + description : 'enable optional SELINUX support', + value : 'auto', + ) ++option( ++ 'tests', ++ type : 'boolean', ++ description : 'build tests', ++ value : 'true', ++) + option( + 'zsh_completion', + type : 'feature', diff --git a/package/bubblewrap/bubblewrap.mk b/package/bubblewrap/bubblewrap.mk index 5875b0d6e2..81456e9e0d 100644 --- a/package/bubblewrap/bubblewrap.mk +++ b/package/bubblewrap/bubblewrap.mk @@ -17,7 +17,8 @@ BUBBLEWRAP_CONF_OPTS = \ -Dzsh_completion=disabled \ -Dman=disabled \ -Dpython=$(HOST_DIR)/bin/python \ - -Drequire_userns=false + -Drequire_userns=false \ + -Dtests=false ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) BUBBLEWRAP_CONF_OPTS += \ From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] utils/genrandconfig: increase default target rootfs size to 5G Message-ID: <20220430184418.018CF84B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c98eb26db6501a373cc405c80505ba72fde9e96 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Since there isn't a way to reliably compute the required size lets just set it to what should be a high enough value to not run out of space. Both ext2 and fsfs create sparse files, so this is not a waste of disk space. Fixes: - http://autobuild.buildroot.net/results/a3c68cdc515353c0d2650ee743aa3bd8ab99a418 - http://autobuild.buildroot.net/results/ad426ff903d78a92de8f0208876e2196136a09a8 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- utils/genrandconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/utils/genrandconfig b/utils/genrandconfig index adefb8f502..ab1f6f43b1 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -200,6 +200,8 @@ def fixup_config(sysinfo, configfile): with open(configfile) as configf: configlines = configf.readlines() + ROOTFS_SIZE = '5G' + BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): @@ -441,6 +443,16 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_TARGET_OPTEE_OS=y\n') configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') + if 'BR2_TARGET_ROOTFS_EXT2_GEN=y\n' in configlines and \ + 'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines: + configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n') + configlines.append('BR2_TARGET_ROOTFS_EXT2_SIZE="%s"\n' % ROOTFS_SIZE) + + if 'BR2_TARGET_ROOTFS_F2FS=y\n' in configlines and \ + 'BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n' in configlines: + configlines.remove('BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n') + configlines.append('BR2_TARGET_ROOTFS_F2FS_SIZE="%s"\n' % ROOTFS_SIZE) + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/frotz: Update to version 2.54 Message-ID: <20220430184418.0B40584B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=53b9e2e168cc2359640b635b607f9786da9b54ba branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master A simple update by bumping the version number and sha256 sum to the current version. Signed-off-by: Thomas Huth Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/frotz/frotz.hash | 2 +- package/frotz/frotz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/frotz/frotz.hash b/package/frotz/frotz.hash index e5024aa2cd..145aa3800f 100644 --- a/package/frotz/frotz.hash +++ b/package/frotz/frotz.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 8da558828dd74d6d6ee30483bb32276ef918b8b72b7f6e89b4f7cb27e7abf58b frotz-2.53.tar.bz2 +sha256 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395 frotz-2.54.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/frotz/frotz.mk b/package/frotz/frotz.mk index c1362b2ac6..5af235137c 100644 --- a/package/frotz/frotz.mk +++ b/package/frotz/frotz.mk @@ -4,7 +4,7 @@ # ################################################################################ -FROTZ_VERSION = 2.53 +FROTZ_VERSION = 2.54 FROTZ_SOURCE = frotz-$(FROTZ_VERSION).tar.bz2 FROTZ_SITE = $(call gitlab,DavidGriffith,frotz,$(FROTZ_VERSION)) FROTZ_DEPENDENCIES = host-pkgconf ncurses From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/dhcp: add explicit option disabling Message-ID: <20220430184417.BDF4F84B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f4b19927cc12d35a74eca0016ada06b21cf32e5e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commits 4db37c663cc0 (dhcp: add config option for delayed-ack feature of dhcp server) and 40f7adae3c03 (package/dhcp: add security options to DHCP server) forgot to explicit disable the option when not requested. Fix that now. Signed-off-by: Yann E. MORIN Cc: Andreas Ehmanns Cc: Fabrice Fontaine Cc: Thomas De Schampheleire Cc: Jan Havran Cc: Eugen Hristev Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dhcp/dhcp.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index b73137506d..cbc95cb152 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -76,10 +76,14 @@ endif ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack +else +DHCP_CONF_OPTS += --disable-delayed-ack endif ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) DHCP_CONF_OPTS += --enable-paranoia +else +DHCP_CONF_OPTS += --disable-paranoia endif define DHCP_INSTALL_LIBS From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/timescaledb: bump version to 2.6.1 Message-ID: <20220430184418.1F55084B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dded1e52c06100cba6c974825342582ee6504008 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://github.com/timescale/timescaledb/releases/tag/2.6.1 Signed-off-by: Maxim Kochetkov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/timescaledb/timescaledb.hash | 2 +- package/timescaledb/timescaledb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/timescaledb/timescaledb.hash b/package/timescaledb/timescaledb.hash index 556cdaf329..f186684339 100644 --- a/package/timescaledb/timescaledb.hash +++ b/package/timescaledb/timescaledb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 b1a20832189c22ce378f009f9a24ef1db61d7131f7f79bde74fdcde87bcf2d7c timescaledb-2.5.2.tar.gz +sha256 226af207105cc9e2d1744b303e475204a947047103f0e5697de4e8949e4dde75 timescaledb-2.6.1.tar.gz sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE diff --git a/package/timescaledb/timescaledb.mk b/package/timescaledb/timescaledb.mk index 1d8b2a69a7..16fba11e21 100644 --- a/package/timescaledb/timescaledb.mk +++ b/package/timescaledb/timescaledb.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIMESCALEDB_VERSION = 2.5.2 +TIMESCALEDB_VERSION = 2.6.1 TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) TIMESCALEDB_LICENSE = Apache-2.0 TIMESCALEDB_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/tor: add -lz to fix static builds Message-ID: <20220430184417.E213F84B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b03e8e693a62256289adb8db715622c3447d34ad branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In order to remove a patch which needs frequent updates on major version bumps and to get rid of autoreconf we just add -lz when creating a static build. This make sure that static linking occurs in the right order. Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../tor/0001-Fix-static-linking-with-OpenSSL.patch | 94 ---------------------- package/tor/tor.mk | 7 +- 2 files changed, 5 insertions(+), 96 deletions(-) diff --git a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch b/package/tor/0001-Fix-static-linking-with-OpenSSL.patch deleted file mode 100644 index 26ed6fe819..0000000000 --- a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch +++ /dev/null @@ -1,94 +0,0 @@ -From ba6b8ee5b6dee19493a150c3715b0e202440d206 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Thu, 24 Jan 2019 18:19:51 +0100 -Subject: [PATCH] Fix static linking with OpenSSL - -Adjust link order of libz to solve bug with static linking -and remove host paths when looking for openssl. - -[Vincent: - - Adapt the patch to make it apply on the new version.] -[Bernd: rebased for tor-0.2.7.6, 0.2.8.10, 0.2.9.9, 0.3.1.7, 0.3.2.10, - 0.3.4.8, 0.3.5.7, 0.4.4.5, 0.4.5.6 & 0.4.6.7] -[Fabrice: fix detection of openssl functions in 0.3.5.8] -Signed-off-by: Vicente Olivert Riera -Signed-off-by: Bernd Kuhls -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 4 ++-- - src/test/include.am | 8 ++++---- - src/tools/include.am | 4 ++-- - 4 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 05e1392cf..580befa6b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1074,7 +1074,7 @@ AC_ARG_WITH(ssl-dir, - ]) - - AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1]) --TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], -+TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto -lz $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], - [#include - char *getenv(const char *);], - [struct ssl_cipher_st; -@@ -1104,7 +1104,7 @@ dnl Now check for particular openssl functions. - save_LIBS="$LIBS" - save_LDFLAGS="$LDFLAGS" - save_CPPFLAGS="$CPPFLAGS" --LIBS="$TOR_OPENSSL_LIBS $LIBS" -+LIBS="$TOR_OPENSSL_LIBS -lz $LIBS" - LDFLAGS="$TOR_LDFLAGS_openssl $LDFLAGS" - CPPFLAGS="$TOR_CPPFLAGS_openssl $CPPFLAGS" - -diff --git a/src/test/include.am b/src/test/include.am -index ecb768957..39a622e88 100644 ---- a/src/test/include.am -+++ b/src/test/include.am -@@ -399,8 +399,8 @@ src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_ntor_cl_LDADD = \ - libtor.a \ - $(rust_ldadd) \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ - @CURVE25519_LIBS@ @TOR_LZMA_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -@@ -409,8 +409,8 @@ - src_test_test_hs_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_hs_ntor_cl_LDADD = \ - libtor.a \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ - @CURVE25519_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_hs_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -diff --git a/src/tools/include.am b/src/tools/include.am -index f7aa7e0d1..4c4e8aa7a 100644 ---- a/src/tools/include.am -+++ b/src/tools/include.am -@@ -35,7 +35,7 @@ src_tools_tor_gencert_LDADD = \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ - $(rust_ldadd) \ -- @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@ - endif - -@@ -45,7 +45,7 @@ src_tools_tor_print_ed_signing_cert_LDADD = \ - src/trunnel/libor-trunnel.a \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ -- @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ - - if USE_NSS --- -2.20.1 diff --git a/package/tor/tor.mk b/package/tor/tor.mk index d16b3541eb..78a6de66dc 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -11,7 +11,6 @@ TOR_LICENSE_FILES = LICENSE TOR_CPE_ID_VENDOR = torproject TOR_SELINUX_MODULES = tor TOR_DEPENDENCIES = libevent openssl zlib -TOR_AUTORECONF = YES TOR_CONF_OPTS = \ --disable-gcc-hardening \ @@ -64,8 +63,12 @@ endif TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -TOR_CONF_ENV += LIBS=-latomic +TOR_LIBS += -latomic endif +ifeq ($(BR2_STATIC_LIBS),y) +TOR_LIBS += -lz +endif +TOR_CONF_ENV += LIBS="$(TOR_LIBS)" define TOR_INSTALL_CONF $(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \ From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/libosmium: bump version to 2.18.0 Message-ID: <20220430184418.1594784B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fbe825eb6a7401a0b71daa7bece6a3e348f7371e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release-notes: https://github.com/osmcode/libosmium/releases/tag/v2.18.0 Signed-off-by: Maxim Kochetkov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libosmium/libosmium.hash | 2 +- package/libosmium/libosmium.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libosmium/libosmium.hash b/package/libosmium/libosmium.hash index ccfd3b09b0..cb53a91c67 100644 --- a/package/libosmium/libosmium.hash +++ b/package/libosmium/libosmium.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 ff85d55ca83d77fc41f6b7ae77f3d8d4337d299cbb4cc60c00e1f9d90d94e71b libosmium-2.17.3.tar.gz +sha256 c05a3e95c9c811521ebad8637e90f43ab8fb053b310875acce741cc4c17d6f59 libosmium-2.18.0.tar.gz sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE diff --git a/package/libosmium/libosmium.mk b/package/libosmium/libosmium.mk index 6510af4e77..f7ced04de3 100644 --- a/package/libosmium/libosmium.mk +++ b/package/libosmium/libosmium.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOSMIUM_VERSION = 2.17.3 +LIBOSMIUM_VERSION = 2.18.0 LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION)) LIBOSMIUM_LICENSE = BSL-1.0 LIBOSMIUM_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/libcap: bump to version 2.64 Message-ID: <20220430184418.332AD84B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f33c1fc87f5923213c1629c9c3ca779db48c5878 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.e8k97s2ae0nc Signed-off-by: Raphael Pavlidis Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcap/libcap.hash | 2 +- package/libcap/libcap.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash index 2cdf92bbc1..7c48cd950b 100644 --- a/package/libcap/libcap.hash +++ b/package/libcap/libcap.hash @@ -1,5 +1,5 @@ # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz +sha256 c8465e1f0b068d5fc06199231135ccac7adb56d662b1de93589252e8cd071e13 libcap-2.64.tar.xz # Hash for license file: sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index ed689ce503..91e02638e2 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_VERSION = 2.63 +LIBCAP_VERSION = 2.64 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/tor: bump version to 0.4.7.7 Message-ID: <20220430184417.EBEBE84B62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=854e18cc2579f21a53617667055bfe49192a3908 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://forum.torproject.net/t/stable-release-0-4-7-7/3108 Added sha256 hash provided by upstream. Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tor/tor.hash | 3 ++- package/tor/tor.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/tor/tor.hash b/package/tor/tor.hash index 16e01c80a9..8f37dd6219 100644 --- a/package/tor/tor.hash +++ b/package/tor/tor.hash @@ -1,3 +1,4 @@ +# From https://dist.torproject.org/tor-0.4.7.7.tar.gz.sha256sum +sha256 3e131158b52b9435d7e43d1c47ef288b96d005342cc44b8c950bb403851a5b44 tor-0.4.7.7.tar.gz # Locally computed -sha256 94ccd60e04e558f33be73032bc84ea241660f92f58cfb88789bda6893739e31c tor-0.4.6.10.tar.gz sha256 47b54ed17e8fdcab3c44729a1789a09b208f9a63a845a7e50def9df729eebad0 LICENSE diff --git a/package/tor/tor.mk b/package/tor/tor.mk index 78a6de66dc..3b470a80d8 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -4,7 +4,7 @@ # ################################################################################ -TOR_VERSION = 0.4.6.10 +TOR_VERSION = 0.4.7.7 TOR_SITE = https://dist.torproject.org TOR_LICENSE = BSD-3-Clause TOR_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:57:01 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:57:01 +0200 Subject: [Buildroot] [PATCH] package/tbb: always build Release Message-ID: <20220430185701.606071-1-arnout@mind.be> When tbb is built in Debug mode, it installs libtbb_debug.so instead of libtbb.so. This confuses downstream packages that want to link with it (e.g. sysdig). Always build in Release mode. This means that BR2_ENABLE_RUNTIME_DEBUG has no effect for this package, but that shouldn't be a bi issue. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tbb/tbb.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index afe756a85a..fc720fd2f5 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -13,6 +13,7 @@ TBB_CPE_ID_VENDOR = intel TBB_CPE_ID_PRODUCT = threading_building_blocks TBB_CONF_OPTS = \ + -DCMAKE_BUILD_TYPE=Release \ -DTBB_STRICT=OFF \ -DTBB_TEST=OFF -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 30 19:29:20 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 30 Apr 2022 21:29:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/oniguruma: bump to version 6.9.8 Message-ID: <20220430192920.2367644-1-fontaine.fabrice@gmail.com> https://github.com/kkos/oniguruma/releases/tag/v6.9.8 Signed-off-by: Fabrice Fontaine --- package/oniguruma/oniguruma.hash | 4 ++-- package/oniguruma/oniguruma.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/oniguruma/oniguruma.hash b/package/oniguruma/oniguruma.hash index 3a6112e832..89befe7dbf 100644 --- a/package/oniguruma/oniguruma.hash +++ b/package/oniguruma/oniguruma.hash @@ -1,4 +1,4 @@ -# From https://github.com/kkos/oniguruma/releases/download/v6.9.7/onig-6.9.7.1.tar.gz.sha256 -sha256 6444204b9c34e6eb6c0b23021ce89a0370dad2b2f5c00cd44c342753e0b204d9 onig-6.9.7.1.tar.gz +# From https://github.com/kkos/oniguruma/releases/download/v6.9.8/onig-6.9.8.tar.gz.sha256 +sha256 28cd62c1464623c7910565fb1ccaaa0104b2fe8b12bcd646e81f73b47535213e onig-6.9.8.tar.gz # Hash for license file sha256 70ba5469ea0bab6e18a32d7009068f996503168d27be57747e08da34337ff26f COPYING diff --git a/package/oniguruma/oniguruma.mk b/package/oniguruma/oniguruma.mk index 31c8d8e512..f5ac810c10 100644 --- a/package/oniguruma/oniguruma.mk +++ b/package/oniguruma/oniguruma.mk @@ -4,7 +4,7 @@ # ################################################################################ -ONIGURUMA_VERSION = 6.9.7.1 +ONIGURUMA_VERSION = 6.9.8 ONIGURUMA_SITE = \ https://github.com/kkos/oniguruma/releases/download/v$(ONIGURUMA_VERSION) ONIGURUMA_SOURCE = onig-$(ONIGURUMA_VERSION).tar.gz -- 2.35.1 From giulio.benetti at benettiengineering.com Sat Apr 30 21:42:24 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 30 Apr 2022 23:42:24 +0200 Subject: [Buildroot] Pantalla tactil - hycon-hy46xx.c In-Reply-To: References: Message-ID: <84cb64cf-fed9-fc33-a811-b6d60a8d49a3@benettiengineering.com> Hi Albert, I add Buildroot ML in Cc since it's in a good part Buildroot related and other people can help too, On 29/04/22 14:28, Albert Jose Silva Tovar wrote: > Good afternoon Julio, > > I am writing to you because of a contribution you made on this website: > https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/hycon-hy46xx.c > > > I would like to ask you a question! I have a builroot OS and I would > like to integrate this drivers to it, the sources that you use, in > principle where would I have to put them or what would be the process of > adapting the driver? I think you're using a Linux version without the hycon driver, so what you can do is to patch the kernel you're using by adding the patch to Buildroot for Linux. So you have to: 1. clone kernel git and checkout the version you're using or directly use your own kernel repository if any 2. clone mainline kernel 3. extract my patches from the cloned mainline kernel with: "git format-patch" command 4. copy the patches to your buildroot/board/company/linux like this: https://github.com/buildroot/buildroot/tree/master/board/seeed/stm32mp157c-odyssey/patches 5. use the BR2_GLOBAL_PATCH_DIR variable in your Buildroot defconfig, like this: https://github.com/buildroot/buildroot/blob/master/configs/stm32mp157c_odyssey_defconfig#L3 6. rebuild Buildroot That is the way I would do it. Which Linux version are you using? Feel free to ask me more help also regarding the driver itself if you encounter problems with back-porting my patches. Best regards -- Giulio Benetti Benetti Engineering sas From giulio.benetti at benettiengineering.com Sat Apr 30 23:36:29 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 May 2022 01:36:29 +0200 Subject: [Buildroot] [PATCH] package/rockchip-mali: fix build failure due to missing URL Message-ID: <20220430233629.1376415-1-giulio.benetti@benettiengineering.com> Github rockchip-linux doesn't provide libmali repository anymore and the only up-to-date and maintained repository I've found is JeffyCN/mirrors branch libmali that provide the identical situtation we were at with previous repository, so let's switch to JeffyCN repository. This fixes a build failure while trying to install rockchip-mali. Signed-off-by: Giulio Benetti --- package/rockchip-mali/rockchip-mali.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/rockchip-mali/rockchip-mali.mk b/package/rockchip-mali/rockchip-mali.mk index 6200191a73..848682229d 100644 --- a/package/rockchip-mali/rockchip-mali.mk +++ b/package/rockchip-mali/rockchip-mali.mk @@ -5,7 +5,7 @@ ################################################################################ ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e60427 -ROCKCHIP_MALI_SITE = $(call github,rockchip-linux,libmali,$(ROCKCHIP_MALI_VERSION)) +ROCKCHIP_MALI_SITE = $(call github,JeffyCN,mirrors,$(ROCKCHIP_MALI_VERSION)) ROCKCHIP_MALI_LICENSE = Proprietary ROCKCHIP_MALI_LICENSE_FILES = END_USER_LICENCE_AGREEMENT.txt ROCKCHIP_MALI_INSTALL_STAGING = YES -- 2.25.1 From troglobit at gmail.com Fri Apr 1 07:42:05 2022 From: troglobit at gmail.com (Joachim Wiberg) Date: Fri, 01 Apr 2022 09:42:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: option for building with LWS_WITH_ZIP_FOPS In-Reply-To: <20220211081357.40439-1-jorgen.sigvardsson@gmail.com> References: <20220211081357.40439-1-jorgen.sigvardsson@gmail.com> Message-ID: <87a6d5dzci.fsf@gmail.com> On Fri, Feb 11, 2022 at 09:13, J?rgen Sigvardsson wrote: > Signed-off-by: J?rgen Sigvardsson Reviewed-by: Joachim Wiberg From David.Laight at ACULAB.COM Fri Apr 1 08:12:28 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Fri, 1 Apr 2022 08:12:28 +0000 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <87bkxm2gix.fsf@dell.be.48ers.dk> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <87bkxm2gix.fsf@dell.be.48ers.dk> Message-ID: <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> I used the following small program instead of dd to credit the entropy. +#include +#include +#include +#include + +/* Just writing to /dev/urandom doesn't credit any entropy + * so the crng remains uninitialised. + * So use the relevant ioctl instead. */ + +int main(int argc, char **argv) +{ + int fd; + int len; + struct { + struct rand_pool_info info; + int buf[4096]; + } rnd_info; + + if (!argv[1]) + return 1; + + fd = open(argv[1], O_RDONLY); + if (fd < 0) + return 1; + len = read(fd, rnd_info.buf, sizeof rnd_info.buf); + close(fd); + if (len <= 0) + return 1; + + fd = open("/dev/urandom", O_RDWR); + if (fd < 0) + return 1; + rnd_info.info.entropy_count = len * 8; + rnd_info.info.buf_size = len; + + len = ioctl(fd, RNDADDENTROPY, &rnd_info); + + return len ? 1 : 0; +} Seems to do the trick. Something that size is probably a candidate for busybox. Although it does really need to run before udev is initialised. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From marcus.folkesson at gmail.com Fri Apr 1 08:31:00 2022 From: marcus.folkesson at gmail.com (Marcus Folkesson) Date: Fri, 1 Apr 2022 10:31:00 +0200 Subject: [Buildroot] [PATCH] package/libostree: bump to version 2022.2 Message-ID: <20220401083100.64722-1-marcus.folkesson@gmail.com> Signed-off-by: Marcus Folkesson --- package/libostree/libostree.hash | 2 +- package/libostree/libostree.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libostree/libostree.hash b/package/libostree/libostree.hash index 3a06340575..4c8c2c4f10 100644 --- a/package/libostree/libostree.hash +++ b/package/libostree/libostree.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 43a00e7856842b8a34f6616fc2ce1ce238ef43210cca41f70e6b4b0d2a9fcad5 libostree-2022.1.tar.xz +sha256 76e2f5b5784d8cb686e90be32fcecbb56c6c6a824e0374a1a6820b577103676b libostree-2022.2.tar.xz sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk index 9cbf2848c9..07e0a2aaa4 100644 --- a/package/libostree/libostree.mk +++ b/package/libostree/libostree.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOSTREE_VERSION = 2022.1 +LIBOSTREE_VERSION = 2022.2 LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION) -- 2.35.1 From hrsourabh011 at gmail.com Fri Apr 1 09:10:24 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Fri, 1 Apr 2022 11:10:24 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hello, Any update on below request would be appreciated. Thanks in advance, Sourabh On Thu, Mar 31, 2022, 19:55 Sourabh Hegde wrote: > Hello All, > > While building casync using ninja build I am facing below errors related > to /usr/bin/ld: . . .error adding symbols: file in wrong format > > I am following "casync" build guideline from > https://github.com/systemd/casync#building-casync > , it uses "meson " along > with ninja build. > > If build failures persist, run "meson setup --wipe" to rebuild from scratch > using the same options as passed when configuring the build. > To change option values, run "meson configure" instead. > ninja: Entering directory build' > [1/31] Linking target casync-http > FAILED: casync-http > cc -o casync-http casync-http.p/src_casync-http.c.o -Wl,--as-needed > -Wl,--no-undefined -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm -Wl,--end-group > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [2/31] Linking target test-cachunk > FAILED: test-cachunk > cc -o test-cachunk test-cachunk.p/test_test-cachunk.c.o -Wl,--as-needed > -Wl,--no-undefined -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [3/31] Linking target test-cachunker > FAILED: test-cachunker > cc -o test-cachunker test-cachunker.p/test_test-cachunker.c.o > -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [4/31] Linking target test-caencoder > FAILED: test-caencoder > cc -o test-caencoder test-caencoder.p/test_test-caencoder.c.o > -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > . > . > [10/31] Compiling C object test-camatch.p/test_test-camatch.c.o > ninja: build stopped: subcommand failed. > > I am using Buildroot as build system and after following similar post in > https://stackoverflow.com/questions/27967802/libstdc-so-error-adding-symbols-file-in-wrong-format > I changed the PATH environment > like: > > > /root/raspcm4/sources/output/host/bin/:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/raspcm4/sources/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/bin > > But still, I end up getting the same errors > > Can anyone please let me know how to resolve this issue? Is there any ninja > build option to be selected in Buildroot? > > Your help will be much appreciated. > > Thanks in advance > > P.S: Please let me know if any info is missing here > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin.schulz at theobroma-systems.com Fri Apr 1 09:11:01 2022 From: quentin.schulz at theobroma-systems.com (Quentin Schulz) Date: Fri, 1 Apr 2022 11:11:01 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hi Sourabh Hegde, On 3/31/22 19:55, Sourabh Hegde wrote: > Hello All, > > While building casync using ninja build I am facing below errors > related to /usr/bin/ld: > . . .error adding symbols: file in wrong format > > I am following "casync" build guideline from > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_systemd_casync-23building-2Dcasync&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=0oAe2qUNmvkBsGYIiapGRQ5OQYDghVxojZm5QaWUwiQ&e= > , it uses "meson " along > with ninja build. > > If build failures persist, run "meson setup --wipe" to rebuild from scratch > using the same options as passed when configuring the build. > To change option values, run "meson configure" instead. > ninja: Entering directory build' > [1/31] Linking target casync-http > FAILED: casync-http > cc -o casync-http casync-http.p/src_casync-http.c.o -Wl,--as-needed > -Wl,--no-undefined > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm -Wl,--end-group > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [2/31] Linking target test-cachunk > FAILED: test-cachunk > cc -o test-cachunk test-cachunk.p/test_test-cachunk.c.o -Wl,--as-needed > -Wl,--no-undefined > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [3/31] Linking target test-cachunker > FAILED: test-cachunker > cc -o test-cachunker test-cachunker.p/test_test-cachunker.c.o > -Wl,--as-needed -Wl,--no-undefined > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > [4/31] Linking target test-caencoder > FAILED: test-caencoder > cc -o test-caencoder test-caencoder.p/test_test-caencoder.c.o > -Wl,--as-needed -Wl,--no-undefined > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > -Wl,--start-group src/libshared.a -lacl > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > -lm > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > -Wl,--end-group -pthread > /usr/bin/ld: > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > error adding symbols: file in wrong format > collect2: error: ld returned 1 exit status > . > . > [10/31] Compiling C object test-camatch.p/test_test-camatch.c.o > ninja: build stopped: subcommand failed. > > I am using Buildroot as build system and after following similar post in > https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_27967802_libstdc-2Dso-2Derror-2Dadding-2Dsymbols-2Dfile-2Din-2Dwrong-2Dformat&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=xHy7bTlAyWOY4-lBdA9bwycscXiZBIO-Wkz7PZC9vbs&e= > I changed the PATH > environment > like: > > /root/raspcm4/sources/output/host/bin/:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/raspcm4/sources/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/bin > > But still, I end up getting the same errors > > Can anyone please let me know how to resolve this issue? Is there any ninja > build option to be selected in Buildroot? > Seems like cc is being used instead of the cross-compiler/linker. Did you use the meson-package mechanism in Buildroot? c.f. https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_meson_based_packages This should have everything required to compile meson packages. Define only the variables that are required and add one by one optional variables until you get it to build. Having the actual package makefile for your casync package would help a lot if it still does not work. Cheers, Quentin From Jason at zx2c4.com Fri Apr 1 09:22:52 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 1 Apr 2022 11:22:52 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <87bkxm2gix.fsf@dell.be.48ers.dk> <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> Message-ID: On 4/1/22, David Laight wrote: > I used the following small program instead of dd to credit the entropy. Not a safe idea; will lead to problems and footguns. Doesn't handle safe fsync'd deletion of used seeds and safe sequencing. Doesn't handle hashing old seed with new seed. Ignores much of the discussion that lead to seedrng's design. From hrsourabh011 at gmail.com Fri Apr 1 09:42:42 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Fri, 1 Apr 2022 11:42:42 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hello Quentin, Thanks for the update. I am following this guideline https://github.com/systemd/casync#building-casync . It says to build casync run: meson build && ninja -C build && sudo ninja -C build install Actually, meson-build is successful but while running "ninja -C build" I am getting above errors. Having the actual package makefile for your casync package would help a > lot if it still does not work. > I found this in https://github.com/buildroot/buildroot/blob/master/package/casync/casync.mk But how to use this to compile casync? Can you please let me know what needs to be done? Thanks in advance. Actually, meson-build is successful On Fri, 1 Apr 2022 at 11:11, Quentin Schulz < quentin.schulz at theobroma-systems.com> wrote: > Hi Sourabh Hegde, > > On 3/31/22 19:55, Sourabh Hegde wrote: > > Hello All, > > > > While building casync using ninja build I am facing below errors > > related to /usr/bin/ld: > > . . .error adding symbols: file in wrong format > > > > I am following "casync" build guideline from > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_systemd_casync-23building-2Dcasync&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=0oAe2qUNmvkBsGYIiapGRQ5OQYDghVxojZm5QaWUwiQ&e= > > < > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ninja-2Dbuild_ninja_issues_url&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=7qFZDk5q2JFekiEteeOVNjQj50e86tte0akp-uMLm7k&e= > > , it uses "meson " along > > with ninja build. > > > > If build failures persist, run "meson setup --wipe" to rebuild from > scratch > > using the same options as passed when configuring the build. > > To change option values, run "meson configure" instead. > > ninja: Entering directory build' > > [1/31] Linking target casync-http > > FAILED: casync-http > > cc -o casync-http casync-http.p/src_casync-http.c.o -Wl,--as-needed > > -Wl,--no-undefined > > > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > -Wl,--start-group src/libshared.a > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > > -lm -Wl,--end-group > > /usr/bin/ld: > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so: > > error adding symbols: file in wrong format > > collect2: error: ld returned 1 exit status > > [2/31] Linking target test-cachunk > > FAILED: test-cachunk > > cc -o test-cachunk test-cachunk.p/test_test-cachunk.c.o -Wl,--as-needed > > -Wl,--no-undefined > > > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > -Wl,--start-group src/libshared.a -lacl > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > > -lm > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > -Wl,--end-group -pthread > > /usr/bin/ld: > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > > error adding symbols: file in wrong format > > collect2: error: ld returned 1 exit status > > [3/31] Linking target test-cachunker > > FAILED: test-cachunker > > cc -o test-cachunker test-cachunker.p/test_test-cachunker.c.o > > -Wl,--as-needed -Wl,--no-undefined > > > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > -Wl,--start-group src/libshared.a -lacl > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > > -lm > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > -Wl,--end-group -pthread > > /usr/bin/ld: > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > > error adding symbols: file in wrong format > > collect2: error: ld returned 1 exit status > > [4/31] Linking target test-caencoder > > FAILED: test-caencoder > > cc -o test-caencoder test-caencoder.p/test_test-caencoder.c.o > > -Wl,--as-needed -Wl,--no-undefined > > > -Wl,-rpath,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > > -Wl,-rpath-link,/root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib > > -Wl,--start-group src/libshared.a -lacl > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libselinux.so > > > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so > > -lm > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so > > -Wl,--end-group -pthread > > /usr/bin/ld: > > > /root/raspcm4/sources/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so: > > error adding symbols: file in wrong format > > collect2: error: ld returned 1 exit status > > . > > . > > [10/31] Compiling C object test-camatch.p/test_test-camatch.c.o > > ninja: build stopped: subcommand failed. > > > > I am using Buildroot as build system and after following similar post in > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_27967802_libstdc-2Dso-2Derror-2Dadding-2Dsymbols-2Dfile-2Din-2Dwrong-2Dformat&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=xHy7bTlAyWOY4-lBdA9bwycscXiZBIO-Wkz7PZC9vbs&e= > > < > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ninja-2Dbuild_ninja_issues_url&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=EZ6d819a1qu3uAFg1GbEGsYi60IPAlDkSahx_NFWucv2-olGfFGlWcnc8_-v_gj4&s=7qFZDk5q2JFekiEteeOVNjQj50e86tte0akp-uMLm7k&e= > > I changed the PATH > > environment > > like: > > > > > /root/raspcm4/sources/output/host/bin/:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/raspcm4/sources/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/bin > > > > But still, I end up getting the same errors > > > > Can anyone please let me know how to resolve this issue? Is there any > ninja > > build option to be selected in Buildroot? > > > > Seems like cc is being used instead of the cross-compiler/linker. > > Did you use the meson-package mechanism in Buildroot? c.f. > > https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_meson_based_packages > > This should have everything required to compile meson packages. Define > only the variables that are required and add one by one optional > variables until you get it to build. > > Having the actual package makefile for your casync package would help a > lot if it still does not work. > > Cheers, > Quentin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin.schulz at theobroma-systems.com Fri Apr 1 09:49:55 2022 From: quentin.schulz at theobroma-systems.com (Quentin Schulz) Date: Fri, 1 Apr 2022 11:49:55 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hi, On 4/1/22 11:42, Sourabh Hegde wrote: > Hello Quentin, > > Thanks for the update. > > I am following this guideline > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_systemd_casync-23building-2Dcasync&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=E7Vx6coYDXRY655Egik49UZpZDdQ2JWKiYWJBrFF9kw3yPPVRGS-GvW7LrRZTcZV&s=Rs7PUiLj89kkH7rFu4ocmrVT20cGAtkh-dF1BLw4Dns&e= . It says to build casync > run: > > meson build && ninja -C build && sudo ninja -C build install > > Actually, meson-build is successful but while running "ninja -C build" I am > getting above errors. > Upstream projects usually don't account for cross-compilation and some tricks might be needed for build systems to correctly compile some pieces of software. So just reuse whatever the build system is giving you first before trying without. That means using package makefiles/recipes if they already exist. > Having the actual package makefile for your casync package would help a >> lot if it still does not work. >> > > I found this in > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_buildroot_buildroot_blob_master_package_casync_casync.mk&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=E7Vx6coYDXRY655Egik49UZpZDdQ2JWKiYWJBrFF9kw3yPPVRGS-GvW7LrRZTcZV&s=qykqjQKn5qe2ldZRFFEFO8SkK7wArzNb80WRnjwPc3s&e= > > But how to use this to compile casync? > make casync if you want it in an image created by Buildroot, modify your config with make menuconfig and save your changes, then run make. Cheers, Quentin From David.Laight at ACULAB.COM Fri Apr 1 10:11:54 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Fri, 1 Apr 2022 10:11:54 +0000 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <87bkxm2gix.fsf@dell.be.48ers.dk> <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> Message-ID: From: Jason A. Donenfeld > Sent: 01 April 2022 10:23 > > On 4/1/22, David Laight wrote: > > I used the following small program instead of dd to credit the entropy. > > Not a safe idea; will lead to problems and footguns. Doesn't handle > safe fsync'd deletion of used seeds and safe sequencing. Doesn't > handle hashing old seed with new seed. Ignores much of the discussion > that lead to seedrng's design. But it does exactly what the old scripts thought they were doing and is far better that just using dd. I'm not even sure that trying to save a 'new seed' in the startup script is a good idea at all. The new seed is very likely to just be a permutation of the old seed - since little extra 'entropy' can have been added. So while it may stop complete reproducibility I'm not at all sure it is cryptographically sound at all. If you can't rely on saving entropy at shutdown, then using (the equivalent of) a cron job to save every hour (or so) is probably useful. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From Jason at zx2c4.com Fri Apr 1 10:17:51 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 1 Apr 2022 12:17:51 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <87bkxm2gix.fsf@dell.be.48ers.dk> <2949fa8776db4c96800e1df8e39a8ec2@AcuMS.aculab.com> Message-ID: On 4/1/22, David Laight wrote: > But it does exactly what the old scripts thought they were doing > and is far better that just using dd. On the contrary, it's strictly worse, since the crediting becomes dangerous here. > I'm not even sure that trying to save a 'new seed' in the > startup script is a good idea at all. > The new seed is very likely to just be a permutation of the > old seed - since little extra 'entropy' can have been added. > So while it may stop complete reproducibility I'm not at > all sure it is cryptographically sound at all. ?? You could get away with hashing the old seed together with some constant public value and it would be sufficient here. What are you talking about? > If you can't rely on saving entropy at shutdown, then using > (the equivalent of) a cron job to save every hour (or so) > is probably useful. Android does it every 3. And as of http://r.android.com/2050961 they now use the SeedRNG construction. From james.hilliard1 at gmail.com Fri Apr 1 10:57:26 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 04:57:26 -0600 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> Message-ID: On Wed, Mar 30, 2022 at 11:13 AM Jason A. Donenfeld wrote: > > Hi Peter, > > On 3/30/22, Peter Korsgaard wrote: > >>>>>> "Jason" == Jason A Donenfeld writes: > > > > Hi, > > > > > The RNG can't actually be seeded from a shell script, due to the > > > reliance on ioctls. For this reason, the seedrng project provides a > > > basic script meant to be copy and pasted into projects like buildroot > > > and tweaked as needed: . > > > > > This commit imports it into buildroot and wires up the init scripts to > > > call it. This also is a significant improvement over the current init > > > script, which doesn't credit entropy and whose hashing in shell scripts > > > is sort of fragile. > > > > > As seedrng.c is a short tiny C program, we include this here in the > > > package, like a few other packages do. Later we'll investigate adding > > > this to busybox, but for now, this is a good start and a positive step > > > in the right direction. > > > > As discussed on IRC, I think it would be nicer to just add a normal > > seedrng package and depend on that from urandom-scripts, so the standard > > version/license info/.. stuff works. I can do that change if needed. > > > > You mentioned something on IRC about this containing differences from > > what it is seedrng.git. Those changes/fixes are presumably not specific > > to Buildroot, will you add those changes to the git repo as well? > > Absolutely not. This 100% does not work for me. I have made it > abundantly clear to you that seedrng is code that's meant to be copied > into individual distros and tweaked as needed, which I've done for > Buildroot. Do not attempt to package it from any repos I may have. If > you try to do that, I will intentionally interfere with those > operations server side, and take whatever other adversarial steps to > ensure my server is not misused for that purpose. I also will not > incorporate buildroot-specific tweaks into the sample code repo. > > That repo supplies sample code. After Yann's absence, I took the > necessary steps that a maintainer like him would have done to > customize it to Buildroot's needs, incorporating it into the project, > and taking into account James' comments. You now have the result of > that work here, and I think it'd be silly not to take it. I should add that I do also think this should be upstreamed to busybox, which will also reduce the amount of duplicate work as busybox is commonly used across many distros. Buildroot isn't a normal distro, we don't normally maintain application code in-tree like this at all. > > I am offering to maintain this code inside of Buildroot for you. I'm > generally very much on top of things in that regard. I'm not offering > to start and maintain an external project at your request, no matter > how much pressure and conditionalization you apply on this mailing > list or IRC. That's not work I'll do for you. However, again, I am > offering to maintain this for you inside the buildroot repo as this > patch does. > > That's my offer; take it or leave it. > > > > > > > > > +# The following knobs can be adjusted by placing uncommented modified > > lines > > > +# into /etc/default/urandom: > > > +# > > > +# Set these to change where the seed and runtime lock file are stored: > > > +# > > > +# export SEEDRNG_SEED_DIR=/var/lib/seedrng > > > +# export SEEDRNG_LOCK_FILE=/var/run/seedrng.lock > > > +# > > > > Will you add the logic for these features to seedrng.git? If not, then I > > don't think we should have them here either. A bunch of other code already > > expects "normal" locations, so people generally have to handle such > > customizations by symlinks in their rootfs(-overlay). > > > > If this customization is left in, then it should ideally use the > > existing (directory part of) URANDOM_SEED, which used to be how the > > location could be customized for backwards compatibility. > > As mentioned, no tweaks go up to seedrng.git. That's sample code. > > I'm inclined to agree with James' assessment about this, that > Buildroot needs it to be customizable. Happy to send a v4 of this > patch adjusting the defaults to have paths similar to what was there > before. > > > > > > > > case "$1" in > > > start|restart|reload) > > > # Carry a random seed from start-up to start-up > > > # Load and then save the whole entropy pool > > > - init_rng && save_random_seed;; > > > + # Never fail, as this isn't worth making a fuss > > > + # over if it doesn't go as planned. > > > + seedrng || true;; > > > stop) > > > # Carry a random seed from shut-down to start-up > > > # Save the whole entropy pool > > > - save_random_seed;; > > > + seedrng;; > > > > Nice and short! The comments above are not really correct any more, as > > the stop logic also loads. > > Ack, will get rid of those comments for v4. > > > > > > > > +++ b/package/urandom-scripts/seedrng.c > > .. > > > > > +#define le32_to_cpup(a) le32toh(*(a)) > > > +#define cpu_to_le32(a) htole32(a) > > > > What is the purpose of the to/from le32 stuff in this use case? > > So that blake2s passes its test vectors. We're not about to go messing > around with the internal encoding of a hash function. B2s specifies > little endian, so that's what we use. > > > > > > + > > > + fprintf(stdout, "Saving %zu bits of %s seed for next boot\n", > > new_seed_len * 8, new_seed_creditable ? "creditable" : "non-creditable"); > > > + fd = open(NON_CREDITABLE_SEED, O_WRONLY | O_CREAT | O_TRUNC, 0400); > > > > The 0400 confused me a bit, as that would normally cause the open to > > fail when the file exists, but it happens to work as you unlink above / > > use the lock file. > > > > > >> + if (fd < 0) { > > > + fprintf(stderr, "ERROR: Unable to open seed file for writing: %s\n", > > strerror(errno)); > > > + program_ret |= 1 << 4; > > > + goto out; > > > + } > > > + if (write(fd, new_seed, new_seed_len) != (ssize_t)new_seed_len || > > fsync(fd) < 0) { > > > + fprintf(stderr, "ERROR: Unable to write seed file: %s\n", > > strerror(errno)); > > > + program_ret |= 1 << 5; > > > + goto out; > > > + } > > > + if (new_seed_creditable && rename(NON_CREDITABLE_SEED, CREDITABLE_SEED) > > < 0) { > > > + fprintf(stderr, "WARNING: Unable to make new seed creditable: %s\n", > > strerror(errno)); > > > + program_ret |= 1 << 6; > > > + } > > > +out: > > > + if (fd >= 0) > > > + close(fd); > > > + if (lock >= 0) > > > + close(lock); > > > > No fsync of the directory like you do in seed_from_file_if_exists()? > > No, it's not necessary here, because this is a transition from > no-credit to credit, so if the power clicks off at the bad moment, it > fails closed instead of open. From Jason at zx2c4.com Fri Apr 1 11:04:44 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 1 Apr 2022 13:04:44 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> Message-ID: Hi James, On 4/1/22, James Hilliard wrote: > I should add that I do also think this should be upstreamed to busybox, > which > will also reduce the amount of duplicate work as busybox is commonly used > across many distros. I'll work on that. And hopefully David won't sabotage it with his "it's only 10 lines!" stuff. Jason From David.Laight at ACULAB.COM Fri Apr 1 11:34:51 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Fri, 1 Apr 2022 11:34:51 +0000 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> Message-ID: From: Jason A. Donenfeld > Sent: 01 April 2022 12:05 > > On 4/1/22, James Hilliard wrote: > > I should add that I do also think this should be upstreamed to busybox, > > which > > will also reduce the amount of duplicate work as busybox is commonly used > > across many distros. > > I'll work on that. And hopefully David won't sabotage it with his > "it's only 10 lines!" stuff. :-) Busybox tends to care about code size. You really want to roll-up the unrolled loop in blakes2. Performance really doesn't matter here. In any case, don't new kernels just 'stir' the new entropy into input pool? So feeding in non-random data doesn't really make the output any worse? So you could add the saved entropy, force a reseed of the output generator, and then save data from /dev/urandom - which now contains any entropy collected since boot and the saved seed. No need for any cryprographic code in userspace?? The old kernel code is just too horrid to think about. IIRC the output generator is just and xor of several LFSR and so is completely and trivially reversable. (One of the random number generators did that.) And the input pool tries to count bits in and out instead of 'stirring' input data into some data structure. So feed it non-random data and it discards the old random data it had. How much state does the blakes2 input pool have? I'd have thought you'd want the input pool to have much more state than the output generator? David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From hrsourabh011 at gmail.com Fri Apr 1 11:41:48 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Fri, 1 Apr 2022 13:41:48 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: Hello Quentin, make casync > > if you want it in an image created by Buildroot, modify your config with > make menuconfig and save your changes, then run make. > But will this create binary for host system also? Sorry, its bit confusing here. I need casync tool use with "rauc" as given in https://rauc.readthedocs.io/en/latest/advanced.html#creating-casync-bundles When I do "rauc convert --cert= --key= --keyring= conventional-bundle.raucb casync-bundle.raucb" I get: "Failed to create bundle: Failed to start casync: Failed to execute child process ?casync? (No such file or directory)" So, casync doesn't exist. My understanding is that Buildroot should be able to properly set up meson for cross-compilation. I ran make casync and now casync is part of rootfs image. But I need casync on host to use with rauc. Any advice on how to proceed will be helpful. Thanks in advance On Fri, 1 Apr 2022 at 11:50, Quentin Schulz < quentin.schulz at theobroma-systems.com> wrote: > Hi, > > On 4/1/22 11:42, Sourabh Hegde wrote: > > Hello Quentin, > > > > Thanks for the update. > > > > I am following this guideline > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_systemd_casync-23building-2Dcasync&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=E7Vx6coYDXRY655Egik49UZpZDdQ2JWKiYWJBrFF9kw3yPPVRGS-GvW7LrRZTcZV&s=Rs7PUiLj89kkH7rFu4ocmrVT20cGAtkh-dF1BLw4Dns&e= > . It says to build casync > > run: > > > > meson build && ninja -C build && sudo ninja -C build install > > > > Actually, meson-build is successful but while running "ninja -C build" I > am > > getting above errors. > > > > Upstream projects usually don't account for cross-compilation and some > tricks might be needed for build systems to correctly compile some > pieces of software. So just reuse whatever the build system is giving > you first before trying without. That means using package > makefiles/recipes if they already exist. > > > Having the actual package makefile for your casync package would help a > >> lot if it still does not work. > >> > > > > I found this in > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_buildroot_buildroot_blob_master_package_casync_casync.mk&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=E7Vx6coYDXRY655Egik49UZpZDdQ2JWKiYWJBrFF9kw3yPPVRGS-GvW7LrRZTcZV&s=qykqjQKn5qe2ldZRFFEFO8SkK7wArzNb80WRnjwPc3s&e= > > > > But how to use this to compile casync? > > > > make casync > > if you want it in an image created by Buildroot, modify your config with > make menuconfig and save your changes, then run make. > > Cheers, > Quentin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin.schulz at theobroma-systems.com Fri Apr 1 11:54:24 2022 From: quentin.schulz at theobroma-systems.com (Quentin Schulz) Date: Fri, 1 Apr 2022 13:54:24 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: Message-ID: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Hi Sourabh, On 4/1/22 13:41, Sourabh Hegde wrote: > Hello Quentin, > > make casync >> >> if you want it in an image created by Buildroot, modify your config with >> make menuconfig and save your changes, then run make. >> > > But will this create binary for host system also? Sorry, its bit confusing > here. > No, host packages and target packages are compiled with a different keyword. make casync is for target package make host-casync is for host package > I need casync tool use with "rauc" as given in > https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e= > > When I do "rauc convert --cert= --key= > --keyring= conventional-bundle.raucb casync-bundle.raucb" > I assume you need this at build time then since you are talking about binary for the host system. In that case, you need to add host-casync to your config. However, casync is currently a target-only package. To create a host package, you need at the very least to add: $(eval $(host-meson-package)) at the end of the package/casync/casync.mk file. This might not be enough and might require some additional tweaks to the package makefile. Cheers, Quentin From hrsourabh011 at gmail.com Fri Apr 1 12:29:28 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Fri, 1 Apr 2022 14:29:28 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> References: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Message-ID: Hello Quentin, I assume you need this at build time then since you are talking about > binary for the host system. In that case, you need to add host-casync to > your config. > > However, casync is currently a target-only package. > If I understand correctly, then as of now Buildroot can't be used to create casync host package. $(eval $(host-meson-package)) > > at the end of the package/casync/casync.mk file. > I will try this solution. But what could be the other alternative to work with casync? Thanks in advance On Fri, 1 Apr 2022 at 13:54, Quentin Schulz < quentin.schulz at theobroma-systems.com> wrote: > Hi Sourabh, > > On 4/1/22 13:41, Sourabh Hegde wrote: > > Hello Quentin, > > > > make casync > >> > >> if you want it in an image created by Buildroot, modify your config with > >> make menuconfig and save your changes, then run make. > >> > > > > But will this create binary for host system also? Sorry, its bit > confusing > > here. > > > > No, host packages and target packages are compiled with a different > keyword. > > make casync is for target package > make host-casync is for host package > > > I need casync tool use with "rauc" as given in > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e= > > > > When I do "rauc convert --cert= --key= > > --keyring= conventional-bundle.raucb casync-bundle.raucb" > > > > I assume you need this at build time then since you are talking about > binary for the host system. In that case, you need to add host-casync to > your config. > > However, casync is currently a target-only package. > > To create a host package, you need at the very least to add: > > $(eval $(host-meson-package)) > > at the end of the package/casync/casync.mk file. > > This might not be enough and might require some additional tweaks to the > package makefile. > > Cheers, > Quentin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefan at agner.ch Fri Apr 1 16:07:53 2022 From: stefan at agner.ch (Stefan Agner) Date: Fri, 1 Apr 2022 18:07:53 +0200 Subject: [Buildroot] [PATCH] package/linux-firmware: Add Intel WiFi 3945ABG/BG/4965AGN Message-ID: Add Intel WiFi 3945ABG/BG and 4965AGN firmware. This firmware is required for the iwl4965 and iwl3945 kernel driver. Signed-off-by: Stefan Agner --- package/linux-firmware/Config.in | 12 ++++++++++++ package/linux-firmware/linux-firmware.mk | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in index 4a44d4a2b6..a9a7e914cf 100644 --- a/package/linux-firmware/Config.in +++ b/package/linux-firmware/Config.in @@ -199,6 +199,18 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168 Firmware files for the Intel Wifi 3168 devices supported by the iwlwifi kernel driver. +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945 + bool "Intel iwlwifi 3945" + help + Firmware files for the Intel Wifi 3945 devices supported by + the iwl4965 kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965 + bool "Intel iwlwifi 4965" + help + Firmware files for the Intel Wifi 4965 devices supported by + the iwl3945 kernel driver. + config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 bool "Intel iwlwifi 5000" help diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 2eec8a291a..0c725737d0 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -457,6 +457,16 @@ LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware endif +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945),y) +LINUX_FIRMWARE_FILES += iwlwifi-3945-2.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965),y) +LINUX_FIRMWARE_FILES += iwlwifi-4965-2.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + # iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode, # iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to # different versions of the firmware API. For now, we only install the -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 16:57:22 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 18:57:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl Message-ID: <20220401165722.540239-1-fontaine.fabrice@gmail.com> Fix the following build failure with libdbi-drivers raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: configure: error: Package requirements (libpq) were not met: Package 'libssl', required by 'libpq', not found Package 'libcrypto', required by 'libpq', not found Fixes: - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e Signed-off-by: Fabrice Fontaine --- ...libpq-Fix-pkg-config-without-OpenSSL.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch new file mode 100644 index 0000000000..90b0577a20 --- /dev/null +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch @@ -0,0 +1,34 @@ +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 +From: Peter Eisentraut +Date: Fri, 1 Apr 2022 17:12:56 +0200 +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL + +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. + +Author: Fabrice Fontaine +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com +[Retrieved from: +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] +Signed-off-by: Fabrice Fontaine +--- + src/interfaces/libpq/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile +index 89bf5e0126..b5fd72a4ac 100644 +--- a/src/interfaces/libpq/Makefile ++++ b/src/interfaces/libpq/Makefile +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport + + SHLIB_EXPORTS = exports.txt + ++ifeq ($(with_ssl),openssl) + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto ++endif + + all: all-lib libpq-refs-stamp + +-- +2.30.2 + -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 17:02:55 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 19:02:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: fix build without pod2man Message-ID: <20220401170255.540939-1-fontaine.fabrice@gmail.com> udpcast unconditionally build manpages which will raise the following build failure without pod2man since at least bump to version 20200328 in commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: sh: line 1: pod2man: command not found To fix this issue, rework how udpcast is built and installed to always build and install the sender or the receiver and never build the manpages. As a side effect, this will also avoid to install the unneeded rateGovernor.h Fixes: - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 Signed-off-by: Fabrice Fontaine --- package/udpcast/Config.in | 2 ++ package/udpcast/udpcast.mk | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/package/udpcast/Config.in b/package/udpcast/Config.in index ef94b30a99..cc38c6e57c 100644 --- a/package/udpcast/Config.in +++ b/package/udpcast/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_UDPCAST bool "udpcast" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UDPCAST_SENDER \ + if !BR2_PACKAGE_UDPCAST_RECEIVER help A multicast protocol implementation which happens to be very handy for imaging drives over the network. diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 34ebddd2d5..4c151bb41f 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -9,23 +9,15 @@ UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ UDPCAST_LICENSE_FILES = COPYING +UDPCAST_TARGETS = \ + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) -define UDPCAST_REMOVE_UDP_SENDER - rm -f $(TARGET_DIR)/usr/sbin/udp-sender - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 +define UDPCAST_INSTALL_TARGET_CMDS + $(foreach f,$(UDPCAST_TARGETS),\ + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) + ) endef -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER -endif - -define UDPCAST_REMOVE_UDP_RECEIVER - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 -endef - -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER -endif - $(eval $(autotools-package)) -- 2.35.1 From ps.report at gmx.net Fri Apr 1 18:05:19 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Fri, 1 Apr 2022 20:05:19 +0200 Subject: [Buildroot] [PATCH v1 3/4] package/apr-util: change download url from http to https In-Reply-To: <20220401180520.15772-1-ps.report@gmx.net> References: <20220401180520.15772-1-ps.report@gmx.net> Message-ID: <20220401180520.15772-3-ps.report@gmx.net> - change download url from http to https Signed-off-by: Peter Seiderer --- package/apr-util/apr-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index cf8407ced0..fb0735f5e7 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -6,7 +6,7 @@ APR_UTIL_VERSION = 1.6.1 APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2 -APR_UTIL_SITE = http://archive.apache.org/dist/apr +APR_UTIL_SITE = https://archive.apache.org/dist/apr APR_UTIL_LICENSE = Apache-2.0 APR_UTIL_LICENSE_FILES = LICENSE APR_UTIL_CPE_ID_VENDOR = apache -- 2.35.1 From ps.report at gmx.net Fri Apr 1 18:05:18 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Fri, 1 Apr 2022 20:05:18 +0200 Subject: [Buildroot] [PATCH v1 2/4] package/apr: change project url from http to https In-Reply-To: <20220401180520.15772-1-ps.report@gmx.net> References: <20220401180520.15772-1-ps.report@gmx.net> Message-ID: <20220401180520.15772-2-ps.report@gmx.net> - change project url from http to https (and remove trailing slash) Signed-off-by: Peter Seiderer --- package/apr/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apr/Config.in b/package/apr/Config.in index 67de925474..4606fc5378 100644 --- a/package/apr/Config.in +++ b/package/apr/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_APR predictable and consistent interface to underlying platform-specific implementations - http://apr.apache.org/ + https://apr.apache.org comment "apr needs a toolchain w/ dynamic library" depends on BR2_USE_MMU -- 2.35.1 From ps.report at gmx.net Fri Apr 1 18:05:17 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Fri, 1 Apr 2022 20:05:17 +0200 Subject: [Buildroot] [PATCH v1 1/4] package/apr: change download url from http to https Message-ID: <20220401180520.15772-1-ps.report@gmx.net> - change download url from http to https Signed-off-by: Peter Seiderer --- package/apr/apr.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apr/apr.mk b/package/apr/apr.mk index c45829aacc..7ff2c007b4 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -6,7 +6,7 @@ APR_VERSION = 1.7.0 APR_SOURCE = apr-$(APR_VERSION).tar.bz2 -APR_SITE = http://archive.apache.org/dist/apr +APR_SITE = https://archive.apache.org/dist/apr APR_LICENSE = Apache-2.0 APR_LICENSE_FILES = LICENSE APR_CPE_ID_VENDOR = apache -- 2.35.1 From ps.report at gmx.net Fri Apr 1 18:05:20 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Fri, 1 Apr 2022 20:05:20 +0200 Subject: [Buildroot] [PATCH v1 4/4] package/apr-util: change project url from http to https In-Reply-To: <20220401180520.15772-1-ps.report@gmx.net> References: <20220401180520.15772-1-ps.report@gmx.net> Message-ID: <20220401180520.15772-4-ps.report@gmx.net> - change project url from http to https (and remove trailing slash) Signed-off-by: Peter Seiderer --- package/apr-util/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in index 6c5e3bbdf5..c1a967bdec 100644 --- a/package/apr-util/Config.in +++ b/package/apr-util/Config.in @@ -8,7 +8,7 @@ config BR2_PACKAGE_APR_UTIL help The utility library for the apache runtime project - http://apr.apache.org/ + https://apr.apache.org comment "apr-util needs a toolchain w/ dynamic library" depends on BR2_USE_MMU -- 2.35.1 From bugzilla at busybox.net Fri Apr 1 20:30:49 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Fri, 01 Apr 2022 20:30:49 +0000 Subject: [Buildroot] [Bug 14731] BR2_PACKAGE_IOSTAT In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14731 --- Comment #1 from Fabrice Fontaine --- iostat has been dropped since https://git.buildroot.net/buildroot/commit/?id=281e5af3481378c91e71506560f1556d9525450f because it is not maintained anymore (even upstream site is dead). I would advise to enable sysstat which also provides iostat. -- You are receiving this mail because: You are on the CC list for the bug. From fontaine.fabrice at gmail.com Fri Apr 1 20:44:11 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 22:44:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap-ng: bump to version 0.8.3 Message-ID: <20220401204411.942428-1-fontaine.fabrice@gmail.com> https://github.com/stevegrubb/libcap-ng/blob/v0.8.3/ChangeLog Signed-off-by: Fabrice Fontaine --- package/libcap-ng/libcap-ng.hash | 2 +- package/libcap-ng/libcap-ng.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap-ng/libcap-ng.hash b/package/libcap-ng/libcap-ng.hash index f775ae6fc9..d4590dd739 100644 --- a/package/libcap-ng/libcap-ng.hash +++ b/package/libcap-ng/libcap-ng.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 52c083b77c2b0d8449dee141f9c3eba76e6d4c5ad44ef05df25891126cb85ae9 libcap-ng-0.8.2.tar.gz +sha256 bed6f6848e22bb2f83b5f764b2aef0ed393054e803a8e3a8711cb2a39e6b492d libcap-ng-0.8.3.tar.gz sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk index 4fb0cf4777..46f72c702e 100644 --- a/package/libcap-ng/libcap-ng.mk +++ b/package/libcap-ng/libcap-ng.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_NG_VERSION = 0.8.2 +LIBCAP_NG_VERSION = 0.8.3 LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng LIBCAP_NG_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 21:00:55 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 23:00:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/liblinear: bump to version 2.44 Message-ID: <20220401210055.946614-1-fontaine.fabrice@gmail.com> - Update hash of COPYRIGHT (date updated: https://github.com/cjlin1/liblinear/commit/3d2fdc801ce45f470b1b5ed1945cb63126358485) - Update LIBLINEAR_INSTALL_SHARED due to https://github.com/cjlin1/liblinear/commit/42f423c023e45879c8750b468e0afe74931afe3f - Some minor bugs are fixed: https://github.com/cjlin1/liblinear/compare/v243...v244 Signed-off-by: Fabrice Fontaine --- package/liblinear/liblinear.hash | 4 ++-- package/liblinear/liblinear.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/liblinear/liblinear.hash b/package/liblinear/liblinear.hash index a714b8bc4e..27aa4e3e87 100644 --- a/package/liblinear/liblinear.hash +++ b/package/liblinear/liblinear.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 02bad43d745e2796f39a08ac9d117770e71939ef06b1ee7afc6ab7909e304807 liblinear-2.43.tar.gz -sha256 c5c91211a0edaa4c77e352f6b27a8f9c6768afe27d48176d6094905c534eacb3 COPYRIGHT +sha256 45572b99d4eeffc3e8ad7b72c27370be867edf3523c396d8b278a2c873bfbb5c liblinear-2.44.tar.gz +sha256 d49b7898fd9ea7c29f0478e8c409ee7c0f621533d5eca7b7912e80391dc564e3 COPYRIGHT diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk index 1ad734c756..c100ccc6c5 100644 --- a/package/liblinear/liblinear.mk +++ b/package/liblinear/liblinear.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBLINEAR_VERSION = 2.43 +LIBLINEAR_VERSION = 2.44 LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear LIBLINEAR_LICENSE = BSD-3-Clause LIBLINEAR_LICENSE_FILES = COPYRIGHT @@ -14,8 +14,8 @@ LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) # $1: destination directory define LIBLINEAR_INSTALL_SHARED - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.4 $(1)/usr/lib/liblinear.so.4 - ln -sf liblinear.so.4 $(1)/usr/lib/liblinear.so + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.5 $(1)/usr/lib/liblinear.so.5 + ln -sf liblinear.so.5 $(1)/usr/lib/liblinear.so endef LIBLINEAR_CFLAGS += -fPIC endif -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 21:10:05 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 23:10:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgeotiff: bump to version 1.7.1 Message-ID: <20220401211005.1052795-1-fontaine.fabrice@gmail.com> Update license, "X style license" means MIT: https://github.com/OSGeo/libgeotiff/commit/5d6619c1168845c5bd77686f01e197a82854cbf1) https://github.com/OSGeo/libgeotiff/releases/tag/1.7.1 Signed-off-by: Fabrice Fontaine --- package/libgeotiff/libgeotiff.hash | 4 ++-- package/libgeotiff/libgeotiff.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libgeotiff/libgeotiff.hash b/package/libgeotiff/libgeotiff.hash index ec9fccb492..883199501d 100644 --- a/package/libgeotiff/libgeotiff.hash +++ b/package/libgeotiff/libgeotiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e libgeotiff-1.7.0.tar.gz -sha256 6a22340b8293c50a34ce8e95589489bd3ec65bcb8b93e61cbda3daaafe498375 LICENSE +sha256 05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6 libgeotiff-1.7.1.tar.gz +sha256 a822a731a7ac4ba7d8f18fa0dc29db2e68a5dcfc315b46e4a4c8956720d55d93 LICENSE diff --git a/package/libgeotiff/libgeotiff.mk b/package/libgeotiff/libgeotiff.mk index c49528565d..6ab60c93fc 100644 --- a/package/libgeotiff/libgeotiff.mk +++ b/package/libgeotiff/libgeotiff.mk @@ -4,9 +4,9 @@ # ################################################################################ -LIBGEOTIFF_VERSION = 1.7.0 +LIBGEOTIFF_VERSION = 1.7.1 LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff -LIBGEOTIFF_LICENSE = X11-style, public domain +LIBGEOTIFF_LICENSE = MIT, public domain LIBGEOTIFF_LICENSE_FILES = LICENSE LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf LIBGEOTIFF_INSTALL_STAGING = YES -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 21:17:22 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 23:17:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap: bump to version 2.63 Message-ID: <20220401211722.1057825-1-fontaine.fabrice@gmail.com> https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.6tsfgutj5dhm Signed-off-by: Fabrice Fontaine --- package/libcap/libcap.hash | 2 +- package/libcap/libcap.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash index 396e592c5b..2cdf92bbc1 100644 --- a/package/libcap/libcap.hash +++ b/package/libcap/libcap.hash @@ -1,5 +1,5 @@ # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2 libcap-2.62.tar.xz +sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz # Hash for license file: sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index 1207995333..ed689ce503 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_VERSION = 2.62 +LIBCAP_VERSION = 2.63 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 1 21:26:06 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 1 Apr 2022 23:26:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnids: drop $(LIBNIDS_VERSION).tar.gz Message-ID: <20220401212606.1059177-1-fontaine.fabrice@gmail.com> Drop unneeded $(LIBNIDS_VERSION).tar.gz added by commit f8aefa8807ecaf219b0dc7988e6bd14c70c9c761 Signed-off-by: Fabrice Fontaine --- package/libnids/libnids.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnids/libnids.mk b/package/libnids/libnids.mk index 57e68654dc..40620eca57 100644 --- a/package/libnids/libnids.mk +++ b/package/libnids/libnids.mk @@ -5,7 +5,7 @@ ################################################################################ LIBNIDS_VERSION = 1.26 -LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION),$(LIBNIDS_VERSION).tar.gz) +LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION)) LIBNIDS_LICENSE = GPL-2.0 LIBNIDS_LICENSE_FILES = COPYING LIBNIDS_CPE_ID_VENDOR = libnids_project -- 2.35.1 From mmayer at broadcom.com Fri Apr 1 21:56:53 2022 From: mmayer at broadcom.com (Markus Mayer) Date: Fri, 1 Apr 2022 14:56:53 -0700 Subject: [Buildroot] [PATCH] package: replace git:// URLs with https:// URLs where possible Message-ID: <20220401215653.1703616-1-mmayer@broadcom.com> Replace the remaining git:// URLs with their https:// equivalents as this is more secure and also more palatable to corporate firewalls. This leaves package/dahdi-linux as the sole package still using a git:// URL for cloning. Signed-off-by: Markus Mayer --- boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- package/aer-inject/aer-inject.mk | 3 ++- package/firmware-utils/firmware-utils.mk | 3 ++- package/flashbench/flashbench.mk | 3 ++- package/mmc-utils/mmc-utils.mk | 3 ++- package/mxsldr/mxsldr.mk | 3 ++- package/open62541/open62541.mk | 2 +- package/pahole/pahole.mk | 2 +- package/psplash/psplash.mk | 3 ++- package/rtc-tools/rtc-tools.mk | 3 ++- package/rtmpdump/rtmpdump.mk | 3 ++- package/sox/sox.mk | 2 +- package/tftpd/tftpd.mk | 3 ++- package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- 14 files changed, 24 insertions(+), 14 deletions(-) diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk index 3a1af9b02c7e..30b352f8e7df 100644 --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -5,7 +5,8 @@ ################################################################################ BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk index 72495bbea26a..6bc9cb44da74 100644 --- a/package/aer-inject/aer-inject.mk +++ b/package/aer-inject/aer-inject.mk @@ -5,7 +5,8 @@ ################################################################################ AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git AER_INJECT_LICENSE = GPL-2.0 AER_INJECT_LICENSE_FILES = README AER_INJECT_DEPENDENCIES = host-flex host-bison diff --git a/package/firmware-utils/firmware-utils.mk b/package/firmware-utils/firmware-utils.mk index 151a01882d71..d5b079e4f5a7 100644 --- a/package/firmware-utils/firmware-utils.mk +++ b/package/firmware-utils/firmware-utils.mk @@ -5,7 +5,8 @@ ################################################################################ FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 -FIRMWARE_UTILS_SITE = git://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE_METHOD = git FIRMWARE_UTILS_LICENSE = \ BSD-2-Clause (tplink-safeloader), \ BSD-3-Clause (seama), \ diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk index e89a250aa31a..f5791c3e95b6 100644 --- a/package/flashbench/flashbench.mk +++ b/package/flashbench/flashbench.mk @@ -5,7 +5,8 @@ ################################################################################ FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git FLASHBENCH_LICENSE = GPL-2.0 FLASHBENCH_LICENSE_FILES = COPYING diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 8c264a454a33..c84737869264 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -5,7 +5,8 @@ ################################################################################ MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk index 239b40ad29af..2375b9f42b59 100644 --- a/package/mxsldr/mxsldr.mk +++ b/package/mxsldr/mxsldr.mk @@ -5,7 +5,8 @@ ################################################################################ MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git MXSLDR_LICENSE = GPL-2.0+ MXSLDR_LICENSE_FILES = COPYING HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index fb28a614e2a7..627c29e95b6c 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -6,7 +6,7 @@ OPEN62541_VERSION = v1.2.2 OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git +OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index 1ad937062dfd..da6d67e6a293 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -5,7 +5,7 @@ ################################################################################ PAHOLE_VERSION = v1.23 -PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git PAHOLE_SITE_METHOD = git # pahole contains git submodule and relies on them to be built. PAHOLE_GIT_SUBMODULES = YES diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index 5e61f2392f78..69f9bf386da0 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -5,7 +5,8 @@ ################################################################################ PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d -PSPLASH_SITE = git://git.yoctoproject.org/psplash +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git PSPLASH_LICENSE = GPL-2.0+ PSPLASH_LICENSE_FILES = COPYING PSPLASH_AUTORECONF = YES diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk index 2ef850a81f60..2882c88575d3 100644 --- a/package/rtc-tools/rtc-tools.mk +++ b/package/rtc-tools/rtc-tools.mk @@ -5,7 +5,8 @@ ################################################################################ RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git RTC_TOOLS_LICENSE = GPL-2.0 RTC_TOOLS_LICENSE_FILES = COPYING diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index db79a796dcac..fb381d0e1048 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -5,7 +5,8 @@ ################################################################################ RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git RTMPDUMP_INSTALL_STAGING = YES # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only # care about librtmp, it's LGPL-2.1+ diff --git a/package/sox/sox.mk b/package/sox/sox.mk index 4b09b94bc3e3..1896437ad4c7 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -5,7 +5,7 @@ ################################################################################ SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code +SOX_SITE = https://git.code.sf.net/p/sox/code SOX_SITE_METHOD = git SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 42b5f17821ad..ceac24119eb4 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -5,7 +5,8 @@ ################################################################################ TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git TFTPD_CONF_OPTS = --without-tcpwrappers TFTPD_LICENSE = BSD-4-Clause TFTPD_LICENSE_FILES = tftpd/tftpd.c diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk index 722c4655cd75..a5f3a826090b 100644 --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -5,7 +5,7 @@ ################################################################################ WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git WILINK_BT_FIRMWARE_SITE_METHOD = git WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 01:05:59 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 19:05:59 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220402010559.410834-1-james.hilliard1@gmail.com> Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Signed-off-by: James Hilliard --- utils/genrandconfig | 52 ++++++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 17 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..1e72e14461 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +335,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,19 +416,22 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) if fixup_config(sysinfo, configfile): - break - - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "olddefconfig"]): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "savedefconfig"]): + continue - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "dependencies"]): + continue + break + return 0 if __name__ == '__main__': @@ -433,10 +443,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 02:07:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 20:07:56 -0600 Subject: [Buildroot] [PATCH 1/1] toolchain/toolchain-external: ensure BR2_TOOLCHAIN_EXTERNAL_PATH is set Message-ID: <20220402020756.415845-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- toolchain/toolchain-external/pkg-toolchain-external.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index 299b6008aa..8274ace980 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,6 +69,9 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) +endif endif ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 02:31:35 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 20:31:35 -0600 Subject: [Buildroot] [PATCH 1/1] toolchain-external-custom: ensure BR2_TOOLCHAIN_EXTERNAL_URL is set Message-ID: <20220402023135.428789-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- .../toolchain-external-custom/toolchain-external-custom.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk index c4ae6125ef..a5e42c09d7 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk +++ b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk @@ -10,6 +10,11 @@ TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERN ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) # We can't check hashes for custom downloaded toolchains BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) +ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),) +$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting) +endif +endif endif $(eval $(toolchain-external-package)) -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 03:29:12 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 21:29:12 -0600 Subject: [Buildroot] [PATCH 1/1] package/linux-headers: ensure tarball location is set Message-ID: <20220402032912.504809-1-james.hilliard1@gmail.com> Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when required. Fixes: http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105 Signed-off-by: James Hilliard --- package/linux-headers/linux-headers.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index a8d1c2ccaf..2a62dc2026 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -35,6 +35,9 @@ endif # BR2_KERNEL_HEADERS_AS_KERNEL # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) +ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION),) +$(error No kernel headers tarball location set, check your BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION setting) +endif LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))) else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y) -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 03:49:33 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 1 Apr 2022 21:49:33 -0600 Subject: [Buildroot] [PATCH 1/1] package/linux-headers: ensure headers version is set Message-ID: <20220402034933.507692-1-james.hilliard1@gmail.com> Validate that BR2_DEFAULT_KERNEL_VERSION is set when required. Fixes: http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca Signed-off-by: James Hilliard --- package/linux-headers/linux-headers.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index a8d1c2ccaf..93007c8fb2 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -33,6 +33,12 @@ LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) LINUX_HEADERS_CIP = endif # BR2_KERNEL_HEADERS_AS_KERNEL +ifeq ($(BR2_KERNEL_HEADERS_VERSION),y) +ifeq ($(LINUX_HEADERS_VERSION),) +$(error No kernel headers version set, check your BR2_DEFAULT_KERNEL_VERSION setting) +endif +endif + # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) -- 2.25.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:19:53 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:19:53 +0200 Subject: [Buildroot] [PATCH 1/2] package/ipmiutil: drop dead code Message-ID: <20220402081954.1466025-1-fontaine.fabrice@gmail.com> ipmiutil depends on dynamic library since commit 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed anymore Signed-off-by: Fabrice Fontaine --- package/ipmiutil/ipmiutil.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 4c9de26583..fdafde24d1 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -17,15 +17,12 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN endef IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off # SKIP_MD2 can be used only if ALLOW_GNU is defined. IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2 -DSSL11" IPMIUTIL_DEPENDENCIES += openssl -else -IPMIUTIL_CONF_OPTS += --disable-lanplus endif $(eval $(autotools-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:19:54 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:19:54 +0200 Subject: [Buildroot] [PATCH 2/2] package/ipmiutil: bump to version 3.1.8 In-Reply-To: <20220402081954.1466025-1-fontaine.fabrice@gmail.com> References: <20220402081954.1466025-1-fontaine.fabrice@gmail.com> Message-ID: <20220402081954.1466025-2-fontaine.fabrice@gmail.com> Drop IPMIUTIL_TOUCH_CONFIG_H_IN as aclocal.m4 is not newer than config.h.in anymore https://sourceforge.net/p/ipmiutil/news/2021/11/ipmiutil-318-is-released Signed-off-by: Fabrice Fontaine --- package/ipmiutil/ipmiutil.hash | 6 +++--- package/ipmiutil/ipmiutil.mk | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/package/ipmiutil/ipmiutil.hash b/package/ipmiutil/ipmiutil.hash index f87c2762de..c1a813ad1f 100644 --- a/package/ipmiutil/ipmiutil.hash +++ b/package/ipmiutil/ipmiutil.hash @@ -1,6 +1,6 @@ # From https://sourceforge.net/projects/ipmiutil/files/ -md5 fab260bc834a0f3f9324a6365fc26eca ipmiutil-3.1.7.tar.gz -sha1 a0cd29820b15166120eb4a51e6239bfa6f9c65dd ipmiutil-3.1.7.tar.gz +md5 b38ef567b6bb8a24418e448f23115190 ipmiutil-3.1.8.tar.gz +sha1 0697fc2342c55ba4374e31dcd38e58a00d1287e8 ipmiutil-3.1.8.tar.gz # Locally computed -sha256 911fd6f8b33651b98863d57e678d2fc593bc43fcd2a21f5dc7d5db8f92128a9a ipmiutil-3.1.7.tar.gz +sha256 b14357b9723e38a19c24df2771cff63d5f15f8682cd8a5b47235044b767b1888 ipmiutil-3.1.8.tar.gz sha256 7e0ec8238aa1431e95a4950032a4483fe33fec3fac348eaade5856cdc5ae3e39 COPYING diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index fdafde24d1..a53129f956 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -4,19 +4,13 @@ # ################################################################################ -IPMIUTIL_VERSION = 3.1.7 +IPMIUTIL_VERSION = 3.1.8 IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files IPMIUTIL_LICENSE = BSD-3-Clause IPMIUTIL_LICENSE_FILES = COPYING IPMIUTIL_MAKE = $(MAKE1) -# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf -define IPMIUTIL_TOUCH_CONFIG_H_IN - touch $(@D)/config.h.in -endef -IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN - ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:27:14 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:27:14 +0200 Subject: [Buildroot] [PATCH v2,1/2] package/ipmiutil: drop dead code Message-ID: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> ipmiutil depends on dynamic library since commit 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed anymore Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2: - Keep disabling lanplus if openssl is unavailable package/ipmiutil/ipmiutil.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 4c9de26583..97a644e314 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN endef IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off # SKIP_MD2 can be used only if ALLOW_GNU is defined. -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:27:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:27:15 +0200 Subject: [Buildroot] [PATCH v2, 2/2] package/ipmiutil: bump to version 3.1.8 In-Reply-To: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> References: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> Message-ID: <20220402082715.1497098-2-fontaine.fabrice@gmail.com> Drop IPMIUTIL_TOUCH_CONFIG_H_IN as aclocal.m4 is not newer than config.h.in anymore https://sourceforge.net/p/ipmiutil/news/2021/11/ipmiutil-318-is-released Signed-off-by: Fabrice Fontaine --- package/ipmiutil/ipmiutil.hash | 6 +++--- package/ipmiutil/ipmiutil.mk | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/package/ipmiutil/ipmiutil.hash b/package/ipmiutil/ipmiutil.hash index f87c2762de..c1a813ad1f 100644 --- a/package/ipmiutil/ipmiutil.hash +++ b/package/ipmiutil/ipmiutil.hash @@ -1,6 +1,6 @@ # From https://sourceforge.net/projects/ipmiutil/files/ -md5 fab260bc834a0f3f9324a6365fc26eca ipmiutil-3.1.7.tar.gz -sha1 a0cd29820b15166120eb4a51e6239bfa6f9c65dd ipmiutil-3.1.7.tar.gz +md5 b38ef567b6bb8a24418e448f23115190 ipmiutil-3.1.8.tar.gz +sha1 0697fc2342c55ba4374e31dcd38e58a00d1287e8 ipmiutil-3.1.8.tar.gz # Locally computed -sha256 911fd6f8b33651b98863d57e678d2fc593bc43fcd2a21f5dc7d5db8f92128a9a ipmiutil-3.1.7.tar.gz +sha256 b14357b9723e38a19c24df2771cff63d5f15f8682cd8a5b47235044b767b1888 ipmiutil-3.1.8.tar.gz sha256 7e0ec8238aa1431e95a4950032a4483fe33fec3fac348eaade5856cdc5ae3e39 COPYING diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 97a644e314..ad9fbfc24c 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -4,19 +4,13 @@ # ################################################################################ -IPMIUTIL_VERSION = 3.1.7 +IPMIUTIL_VERSION = 3.1.8 IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files IPMIUTIL_LICENSE = BSD-3-Clause IPMIUTIL_LICENSE_FILES = COPYING IPMIUTIL_MAKE = $(MAKE1) -# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf -define IPMIUTIL_TOUCH_CONFIG_H_IN - touch $(@D)/config.h.in -endef -IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN - ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 08:51:36 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 10:51:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/quazip: bump to version 1.2 Message-ID: <20220402085136.1685563-1-fontaine.fabrice@gmail.com> Update hash of COPYING which has been "clearly marked" as the definitive license source: https://github.com/stachenov/quazip/commit/0d1aedb0fba343a196c124541b4d6938b16cf6ee https://github.com/stachenov/quazip/releases/tag/v1.2 Signed-off-by: Fabrice Fontaine --- package/quazip/quazip.hash | 4 ++-- package/quazip/quazip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/quazip/quazip.hash b/package/quazip/quazip.hash index 5eff5cfb3d..bcb16acdc0 100644 --- a/package/quazip/quazip.hash +++ b/package/quazip/quazip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 54edce9c11371762bd4f0003c2937b5d8806a2752dd9c0fd9085e90792612ad0 quazip-1.1.tar.gz -sha256 3aab586a5bdc8ffbbf033c7106550fd3e849fd8888e33cbc9bfd30a433c4b1cb COPYING +sha256 2dfb911d6b27545de0b98798d967c40430312377e6ade57096d6ec80c720cb61 quazip-1.2.tar.gz +sha256 b455b21b0d31d6e51993f1fb7e0694c75fa0eb0519a9ea62e4815fcf48b140b0 COPYING diff --git a/package/quazip/quazip.mk b/package/quazip/quazip.mk index 44645ec9b9..7731e59d94 100644 --- a/package/quazip/quazip.mk +++ b/package/quazip/quazip.mk @@ -4,7 +4,7 @@ # ################################################################################ -QUAZIP_VERSION = 1.1 +QUAZIP_VERSION = 1.2 QUAZIP_SITE = $(call github,stachenov,quazip,v$(QUAZIP_VERSION)) QUAZIP_INSTALL_STAGING = YES QUAZIP_DEPENDENCIES = \ -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 12:59:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 14:59:58 +0200 Subject: [Buildroot] [PATCH 2/2] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220402125958.453448-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since the addition of the package in commit 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b configure: error: --enable-static must be specified with --disable-shared Fixes: - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 Signed-off-by: Fabrice Fontaine --- package/libkrb5/libkrb5.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index d14c464b39..0553e9bdb4 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ --without-tcl \ --disable-rpath +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS = --disable-static +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) LIBKRB5_CONF_OPTS += --with-ldap LIBKRB5_DEPENDENCIES += openldap -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 2 13:00:49 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 15:00:49 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220402130049.453518-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since the addition of the package in commit 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b configure: error: --enable-static must be specified with --disable-shared Fixes: - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2: - Fix patch number package/libkrb5/libkrb5.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index d14c464b39..0553e9bdb4 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ --without-tcl \ --disable-rpath +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS = --disable-static +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) LIBKRB5_CONF_OPTS += --with-ldap LIBKRB5_DEPENDENCIES += openldap -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:15:29 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:15:29 +0200 Subject: [Buildroot] [PATCH 3/4] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <20220402141531.1320584-3-thomas.petazzoni@bootlin.com> Some upstream sites are very slow to respond, and the default timeout of 300 seconds of the aiohttp.ClientSession() is too long. Let's reduce it to 15 seconds. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 329b30a5ee..ae1a9aa5e4 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -451,7 +451,8 @@ async def check_url_status(session, pkg, npkgs, retry=True): async def check_package_urls(packages): tasks = [] connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: packages = [p for p in packages if p.status['url'][0] == 'ok'] for pkg in packages: tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:15:27 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:15:27 +0200 Subject: [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching Message-ID: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 8cc64a54d1..ef9482ed95 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1184,6 +1184,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages) -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:15:28 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:15:28 +0200 Subject: [Buildroot] [PATCH 2/4] support/scripts/pkg-stats: allow disabling package warnings retrieval In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <20220402141531.1320584-2-thomas.petazzoni@bootlin.com> This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ef9482ed95..329b30a5ee 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url, cpe)', + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1167,7 +1167,8 @@ def __main__(): pkg.set_license() pkg.set_hash_info() pkg.set_patch_count() - pkg.set_check_package_warnings() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() pkg.set_current_version() pkg.set_cpeid() pkg.set_url() -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:15:30 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:15:30 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> pkg-stats currently uses the services from support/scripts/cpedb.py to match the CPE identifiers of packages with the official CPE database. Unfortunately, the cpedb.py code uses regular ElementTree parsing, which involves loading the full XML tree into memory. This causes the pkg-stats process to consume a huge amount of memory: thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats process. This is causing the OOM killer to kick-in on machines with relatively low memory. This commit reimplements the XML parsing needed to do the CPE matching directly in pkg-stats, using the XmlParser functionality of ElementTree, also called "streaming parsing". Thanks to this, we never load the entire XML tree in RAM, but only stream it through the parser, and construct a very simple list of all CPE identifiers. The max memory consumption of pkg-stats is now: thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. Now, one will probably wonder why this isn't directly changed in cpedb.py. The reason is simple: cpedb.py is also used by support/scripts/missing-cpe, which (for now) heavily relies on having in memory the ElementTree objects, to re-generate a snippet of XML that allows us to submit to NIST new CPE entries. So, future work could include one of those two options: (1) Re-integrate cpedb.py into missing-cpe directly, and live with two different ways of processing the CPE database. (2) Rewrite the missing-cpe logic to also be compatible with a streaming parsing, which would allow this logic to be again shared between pkg-stats and missing-cpe. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ae1a9aa5e4..cc163ebb1a 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -27,12 +27,14 @@ import re import subprocess import json import sys +import time +import gzip +import xml.etree.ElementTree brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) sys.path.append(os.path.join(brpath, "utils")) from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") URL_RE = re.compile(r"\s*https?://\S*\s*$") @@ -42,6 +44,7 @@ RM_API_STATUS_FOUND_BY_DISTRO = 2 RM_API_STATUS_FOUND_BY_PATTERN = 3 RM_API_STATUS_NOT_FOUND = 4 +CPEDB_URL = "https://static.nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml.gz" class Defconfig: def __init__(self, name, path): @@ -624,12 +627,40 @@ def check_package_cves(nvd_path, packages): def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() + class CpeXmlParser: + cpes = [] + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + def close(self): + return self.cpes + + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + for p in packages: if not p.cpeid: continue - if cpedb.find(p.cpeid): + if p.cpeid in cpes: p.status['cpe'] = ("ok", "verified CPE identifier") else: p.status['cpe'] = ("error", "CPE version unknown in CPE database") -- 2.35.1 From thomas.petazzoni at bootlin.com Sat Apr 2 14:17:35 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 2 Apr 2022 16:17:35 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> Message-ID: <20220402161735.3510233f@windsurf> Hello, On Sat, 2 Apr 2022 16:15:30 +0200 Thomas Petazzoni via buildroot wrote: > This commit reimplements the XML parsing needed to do the CPE matching > directly in pkg-stats, using the XmlParser functionality of > ElementTree, also called "streaming parsing". Thanks to this, we never > load the entire XML tree in RAM, but only stream it through the > parser, and construct a very simple list of all CPE identifiers. The > max memory consumption of pkg-stats is now: [...] I forgot to mention that the JSON output of pkg-stats for the full package set, before and after this commit, is exactly identical. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From bernd.kuhls at t-online.de Sat Apr 2 14:39:24 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Sat, 2 Apr 2022 16:39:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-mediadriver: bump version to 22.3.1 Message-ID: <20220402143924.46610-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/intel-mediadriver/intel-mediadriver.hash | 2 +- package/intel-mediadriver/intel-mediadriver.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash index 57499830b1..5c3d25eed8 100644 --- a/package/intel-mediadriver/intel-mediadriver.hash +++ b/package/intel-mediadriver/intel-mediadriver.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 89940ae2f7e5c7ec182f0d4d0ce8e149ae614876edd5bdad2b852e699a29b3f9 intel-media-22.3.0.tar.gz +sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk index c22aeecc77..4280f7fd29 100644 --- a/package/intel-mediadriver/intel-mediadriver.mk +++ b/package/intel-mediadriver/intel-mediadriver.mk @@ -6,7 +6,7 @@ # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack -INTEL_MEDIADRIVER_VERSION = 22.3.0 +INTEL_MEDIADRIVER_VERSION = 22.3.1 INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause -- 2.30.2 From yann.morin.1998 at free.fr Sat Apr 2 14:36:09 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 16:36:09 +0200 Subject: [Buildroot] [git commit] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs Message-ID: <20220402143246.82D4185D3C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=387c496b98895a3ad38d53554d45713a81d7a169 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Some upstream sites are very slow to respond, and the default timeout of 300 seconds of the aiohttp.ClientSession() is too long. Let's reduce it to 15 seconds. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- support/scripts/pkg-stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 329b30a5ee..ae1a9aa5e4 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -451,7 +451,8 @@ async def check_url_status(session, pkg, npkgs, retry=True): async def check_package_urls(packages): tasks = [] connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: packages = [p for p in packages if p.status['url'][0] == 'ok'] for pkg in packages: tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) From yann.morin.1998 at free.fr Sat Apr 2 14:34:37 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 16:34:37 +0200 Subject: [Buildroot] [git commit] support/scripts/pkg-stats: allow disabling package warnings retrieval Message-ID: <20220402143246.776A085AB3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1adcf5659804c17859b2799c0c3edb6b6ce68eb5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- support/scripts/pkg-stats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ef9482ed95..329b30a5ee 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url, cpe)', + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1167,7 +1167,8 @@ def __main__(): pkg.set_license() pkg.set_hash_info() pkg.set_patch_count() - pkg.set_check_package_warnings() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() pkg.set_current_version() pkg.set_cpeid() pkg.set_url() From yann.morin.1998 at free.fr Sat Apr 2 14:34:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 16:34:07 +0200 Subject: [Buildroot] [git commit] support/scripts/pkg-stats: allow disabling CPE matching Message-ID: <20220402143246.6B53685CC6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cd8a576c6d3fa65001a5d72ef9c0fae55a297c6c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- support/scripts/pkg-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 8cc64a54d1..ef9482ed95 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1184,6 +1184,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages) From yann.morin.1998 at free.fr Sat Apr 2 14:42:34 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 16:42:34 +0200 Subject: [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <20220402144234.GA1811301@scaer> Thomas, All, On 2022-04-02 16:15 +0200, Thomas Petazzoni via buildroot spake thusly: > This is useful when debugging/developing the pkg-stats script. > > Signed-off-by: Thomas Petazzoni Patches 1-3 applied to master, thanks. I'll resume looking at the 4th patch later. Regards, Yann E. MORIN. > --- > support/scripts/pkg-stats | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats > index 8cc64a54d1..ef9482ed95 100755 > --- a/support/scripts/pkg-stats > +++ b/support/scripts/pkg-stats > @@ -1125,7 +1125,7 @@ def parse_args(): > parser.add_argument('--nvd-path', dest='nvd_path', > help='Path to the local NVD database', type=resolvepath) > parser.add_argument('--disable', type=list_str, > - help='Features to disable, comma-separated (cve, upstream, url)', > + help='Features to disable, comma-separated (cve, upstream, url, cpe)', > default=[]) > args = parser.parse_args() > if not args.html and not args.json: > @@ -1184,6 +1184,8 @@ def __main__(): > if "cve" not in args.disable and args.nvd_path: > print("Checking packages CVEs") > check_package_cves(args.nvd_path, packages) > + if "cpe" not in args.disable and args.nvd_path: > + print("Checking packages CPEs") > check_package_cpes(args.nvd_path, packages) > print("Calculate stats") > stats = calculate_stats(packages) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From bugzilla at busybox.net Sat Apr 2 15:55:08 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 02 Apr 2022 15:55:08 +0000 Subject: [Buildroot] [Bug 14731] BR2_PACKAGE_IOSTAT In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14731 Arnout Vandecappelle changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX -- You are receiving this mail because: You are on the CC list for the bug. From fontaine.fabrice at gmail.com Sat Apr 2 16:07:18 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 18:07:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: needs C++ Message-ID: <20220402160718.750069-1-fontaine.fabrice@gmail.com> fluidsynth needs C++ since bump to version 2.2.0 in commit 7e02d2e762eb94fde1f222df1b960dbd263fa946 and https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 Signed-off-by: Fabrice Fontaine --- package/fluidsynth/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in index 5726e235e4..376419ce8f 100644 --- a/package/fluidsynth/Config.in +++ b/package/fluidsynth/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUIDSYNTH # the .pc file installed by fluidsynth does not mention its # indirect dependencies in Libs.private. depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBGLIB2 help FluidSynth is a real-time software synthesizer based on the @@ -128,7 +129,7 @@ config BR2_PACKAGE_FLUIDSYNTH_READLINE endif # BR2_PACKAGE_FLUIDSYNTH -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From arnout at mind.be Sat Apr 2 16:29:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 2 Apr 2022 18:29:41 +0200 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <20220402010559.410834-1-james.hilliard1@gmail.com> References: <20220402010559.410834-1-james.hilliard1@gmail.com> Message-ID: <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> Hi James, On 02/04/2022 03:05, James Hilliard wrote: > Currently we only test a limited set of toolchains that are mostly > prebuilt, add a flag to allow using randconfig for randomizing > additional toolchain settings instead of randpackageconfig. Oooh, it's been on my wishlist for a loooong time to use randconfig instead of randpackageconfig in the autobuilders... > > To avoid invalid configs we need to add additional config validation > filtering and fixups. I guess the following 4 patches are supposed to do that? Please keep them together in a series in the future. > > Signed-off-by: James Hilliard > --- > utils/genrandconfig | 52 ++++++++++++++++++++++++++++++--------------- > 1 file changed, 35 insertions(+), 17 deletions(-) > > diff --git a/utils/genrandconfig b/utils/genrandconfig > index 3483d55c14..1e72e14461 100755 > --- a/utils/genrandconfig > +++ b/utils/genrandconfig > @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): > configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > > + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') I don't understand why for this particular one you remove it explicitly, while for other cases you rely (I guess) on the dependency check to make sure we get a valid config (eventually). Also, I think the proper approach for dealing with required string options is to give them a default value in support/config-fragments/minimal.config. Unlike the toolchainfile, the configlines in minimal.config don't all need to be present in the final .config, so we can add stuff there that is only available if the appropriate boolean option gets selected randomly. > + > with open(configfile, "w+") as configf: > configf.writelines(configlines) > > @@ -331,11 +335,14 @@ def gen_config(args): > > sysinfo = SystemInfo() > > - # Select a random toolchain configuration > - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > + if args.toolchains_csv: > + # Select a random toolchain configuration > + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > - i = randint(0, len(configs) - 1) > - toolchainconfig = configs[i] > + i = randint(0, len(configs) - 1) > + toolchainconfig = configs[i] > + else: > + toolchainconfig = [] Wow, you lost me here. The commit message says "for randomizing *additional* toolchain settings", so I assumed that it would still use a toolchainfile but allow randomizing other options. And I don't see a problem with that. We just have to first run randconfig, and apply the toolchain config after that. And I think we can do that unconditionally, even. It would require a little bit of testing (basically iterating over all the toolchain configs and checking that a valid config can still be generated for each of them) but can be deployed pretty much as is I think. I agree though that it's more work to do that than the current patch, so perhaps this is a good first step. > > configlines = list(toolchainconfig) > > @@ -409,19 +416,22 @@ def gen_config(args): > bounded_loop -= 1 > subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > "KCONFIG_PROBABILITY=%d" % randint(1, 20), > - "randpackageconfig"]) > + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > > if fixup_config(sysinfo, configfile): I think the control flow is easier to follow if we change this into if not fixup_config: continue > - break > - > - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > - "olddefconfig"]) > + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > + "olddefconfig"]): > + continue > > - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > - "savedefconfig"]) > + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > + "savedefconfig"]): This one should simply never fail, so it should move outside of the loop, after checking dependencies. Regards, Arnout > + continue > > - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > - "dependencies"]) > + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > + "dependencies"]): > + continue > + break > + return 0 > > > if __name__ == '__main__': > @@ -433,10 +443,18 @@ if __name__ == '__main__': > parser.add_argument("--buildrootdir", "-b", > help="Buildroot directory (relative to current directory)", > type=str, default='.') > - parser.add_argument("--toolchains-csv", > - help="Path of the toolchain configuration file", > - type=str, > - default="support/config-fragments/autobuild/toolchain-configs.csv") > + > + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > + toolchains_csv.add_argument("--toolchains-csv", > + dest="toolchains_csv", > + help="Path of the toolchain configuration file", > + type=str) > + toolchains_csv.add_argument("--no-toolchains-csv", > + dest="toolchains_csv", > + help="Generate random toolchain configuration", > + action='store_false') > + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > + > args = parser.parse_args() > > # We need the absolute path to use with O=, because the relative From arnout at mind.be Sat Apr 2 17:08:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 2 Apr 2022 19:08:32 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> Message-ID: <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> On 01/04/2022 13:34, David Laight wrote: > From: Jason A. Donenfeld >> Sent: 01 April 2022 12:05 >> >> On 4/1/22, James Hilliard wrote: >>> I should add that I do also think this should be upstreamed to busybox, >>> which >>> will also reduce the amount of duplicate work as busybox is commonly used >>> across many distros. >> >> I'll work on that. +1 to have it in busybox. >> And hopefully David won't sabotage it with his >> "it's only 10 lines!" stuff. > > :-) > > Busybox tends to care about code size. Yes, but if it's not overly bloated, it's not going to be blocker for initial inclusion. > You really want to roll-up the unrolled loop in blakes2. > Performance really doesn't matter here. AFAIU (but neither the commit message nor the seedrng about page explain it) the Blake2 algorithm was simply chosen because it's small. Any hash function should be fine. There's sha1, sha2 and sha3 in libbb, so I guess one of them should have all the desired properties. > In any case, don't new kernels just 'stir' the new entropy into > input pool? > So feeding in non-random data doesn't really make the output > any worse? > So you could add the saved entropy, force a reseed of the output > generator, and then save data from /dev/urandom - which now > contains any entropy collected since boot and the saved seed. > No need for any cryprographic code in userspace?? This is explained in commit f0986de551f46e72268857fd817986e9be697cd0. TL;DR: the kernel actually does make the output worse if there's not much entropy available. Also, seedrng makes sure that it's powerfail safe. If power is interrupted at any point in time, we have not lost entropy. Regards, Arnout > The old kernel code is just too horrid to think about. > IIRC the output generator is just and xor of several LFSR > and so is completely and trivially reversable. > (One of the random number generators did that.) > And the input pool tries to count bits in and out instead > of 'stirring' input data into some data structure. > So feed it non-random data and it discards the old random > data it had. > > How much state does the blakes2 input pool have? > I'd have thought you'd want the input pool to have > much more state than the output generator? > > David > > - > Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK > Registration No: 1397386 (Wales) > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Sat Apr 2 17:11:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 2 Apr 2022 19:11:35 +0200 Subject: [Buildroot] [PATCH v12 06/11] package/libclc: bump version to 13.0.1 In-Reply-To: References: <20220322232224.2842266-1-james.hilliard1@gmail.com> <20220322232224.2842266-6-james.hilliard1@gmail.com> Message-ID: <4ac4b8c5-875c-5559-7042-d7a87b42aa60@mind.be> On 31/03/2022 23:38, James Hilliard wrote: > On Thu, Mar 31, 2022 at 2:50 PM Romain Naour wrote: >> >> Hi James, >> [snip] >> Ideally, llvm/clang should be updated to 13.0.1 first (or to the latest version >> if possible). > > There were some issues with lld in anything newer than 11.1.0, see: > https://lore.kernel.org/buildroot/20220131015937.4113728-1-james.hilliard1 at gmail.com/ > https://bugs.llvm.org/show_bug.cgi?id=49228 To me that looks trivial to solve: we need to package libunwind (call it llvm-libunwind because we already have a libunwind package) and make lld depend on it. The CMakeLists.txt adds an include path that doesn't exist, but I think that will get silently ignored. Regards, Arnout > > So I held off on going beyond 11.1.0 for now due to that. [snip] From fontaine.fabrice at gmail.com Sat Apr 2 17:10:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 19:10:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireshark: needs C++ Message-ID: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From yann.morin.1998 at free.fr Sat Apr 2 17:14:17 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:14:17 +0200 Subject: [Buildroot] [git commit] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats Message-ID: <20220402170813.D493E823A2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bd1798ad959a901ccf5009b0c199fa5470912cc2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master pkg-stats currently uses the services from support/scripts/cpedb.py to match the CPE identifiers of packages with the official CPE database. Unfortunately, the cpedb.py code uses regular ElementTree parsing, which involves loading the full XML tree into memory. This causes the pkg-stats process to consume a huge amount of memory: thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats process. This is causing the OOM killer to kick-in on machines with relatively low memory. This commit reimplements the XML parsing needed to do the CPE matching directly in pkg-stats, using the XmlParser functionality of ElementTree, also called "streaming parsing". Thanks to this, we never load the entire XML tree in RAM, but only stream it through the parser, and construct a very simple list of all CPE identifiers. The max memory consumption of pkg-stats is now: thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. The JSON output of pkg-stats for the full package set, before and after this commit, is exactly identical. Now, one will probably wonder why this isn't directly changed in cpedb.py. The reason is simple: cpedb.py is also used by support/scripts/missing-cpe, which (for now) heavily relies on having in memory the ElementTree objects, to re-generate a snippet of XML that allows us to submit to NIST new CPE entries. So, future work could include one of those two options: (1) Re-integrate cpedb.py into missing-cpe directly, and live with two different ways of processing the CPE database. (2) Rewrite the missing-cpe logic to also be compatible with a streaming parsing, which would allow this logic to be again shared between pkg-stats and missing-cpe. Signed-off-by: Thomas Petazzoni [yann.morin.1998 at free.fr: - add missing import of requests - import CPEDB_URL from cpedb, instead of duplicating it - fix flake8 errors ] Signed-off-by: Yann E. MORIN --- support/scripts/pkg-stats | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ae1a9aa5e4..f67be0063f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -27,12 +27,16 @@ import re import subprocess import json import sys +import time +import gzip +import xml.etree.ElementTree +import requests brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) sys.path.append(os.path.join(brpath, "utils")) from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 +from cpedb import CPEDB_URL # noqa: E402 INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") URL_RE = re.compile(r"\s*https?://\S*\s*$") @@ -624,12 +628,41 @@ def check_package_cves(nvd_path, packages): def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() + class CpeXmlParser: + cpes = [] + + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + + def close(self): + return self.cpes + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + for p in packages: if not p.cpeid: continue - if cpedb.find(p.cpeid): + if p.cpeid in cpes: p.status['cpe'] = ("ok", "verified CPE identifier") else: p.status['cpe'] = ("error", "CPE version unknown in CPE database") From yann.morin.1998 at free.fr Sat Apr 2 17:20:12 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:20:12 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> Message-ID: <20220402172012.GB1811301@scaer> Thomas, All, On 2022-04-02 16:15 +0200, Thomas Petazzoni via buildroot spake thusly: > pkg-stats currently uses the services from support/scripts/cpedb.py to > match the CPE identifiers of packages with the official CPE database. > > Unfortunately, the cpedb.py code uses regular ElementTree parsing, > which involves loading the full XML tree into memory. This causes the > pkg-stats process to consume a huge amount of memory: > > thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats > > So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats > process. This is causing the OOM killer to kick-in on machines with > relatively low memory. > > This commit reimplements the XML parsing needed to do the CPE matching > directly in pkg-stats, using the XmlParser functionality of > ElementTree, also called "streaming parsing". Thanks to this, we never > load the entire XML tree in RAM, but only stream it through the > parser, and construct a very simple list of all CPE identifiers. The > max memory consumption of pkg-stats is now: > > thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats > > So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. > > Now, one will probably wonder why this isn't directly changed in > cpedb.py. The reason is simple: cpedb.py is also used by > support/scripts/missing-cpe, which (for now) heavily relies on having > in memory the ElementTree objects, to re-generate a snippet of XML > that allows us to submit to NIST new CPE entries. > > So, future work could include one of those two options: > > (1) Re-integrate cpedb.py into missing-cpe directly, and live with > two different ways of processing the CPE database. > > (2) Rewrite the missing-cpe logic to also be compatible with a > streaming parsing, which would allow this logic to be again > shared between pkg-stats and missing-cpe. > > Signed-off-by: Thomas Petazzoni > --- > support/scripts/pkg-stats | 39 +++++++++++++++++++++++++++++++++++---- > 1 file changed, 35 insertions(+), 4 deletions(-) > > diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats > index ae1a9aa5e4..cc163ebb1a 100755 > --- a/support/scripts/pkg-stats > +++ b/support/scripts/pkg-stats > @@ -27,12 +27,14 @@ import re > import subprocess > import json > import sys > +import time > +import gzip > +import xml.etree.ElementTree You for to import requests, which is used later on. I also fixed a bunch of flake8 issues: support/scripts/pkg-stats:49:1: E302 expected 2 blank lines, found 1 support/scripts/pkg-stats:632:9: E306 expected 1 blank line before a nested definition, found 0 support/scripts/pkg-stats:635:9: E306 expected 1 blank line before a nested definition, found 0 support/scripts/pkg-stats:639:5: E303 too many blank lines (2) 1 E302 expected 2 blank lines, found 1 1 E303 too many blank lines (2) 2 E306 expected 1 blank line before a nested definition, found 0 > brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) > > sys.path.append(os.path.join(brpath, "utils")) > from getdeveloperlib import parse_developers # noqa: E402 > -from cpedb import CPEDB # noqa: E402 > > INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") > URL_RE = re.compile(r"\s*https?://\S*\s*$") > @@ -42,6 +44,7 @@ RM_API_STATUS_FOUND_BY_DISTRO = 2 > RM_API_STATUS_FOUND_BY_PATTERN = 3 > RM_API_STATUS_NOT_FOUND = 4 > > +CPEDB_URL = "https://static.nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml.gz" Instead of duplicating it here, I changed that to import it from cpedb. Applied to master with all the aboved fixed, thanks. Regards, Yann E. MORIN. > class Defconfig: > def __init__(self, name, path): > @@ -624,12 +627,40 @@ def check_package_cves(nvd_path, packages): > > > def check_package_cpes(nvd_path, packages): > - cpedb = CPEDB(nvd_path) > - cpedb.get_xml_dict() > + class CpeXmlParser: > + cpes = [] > + def start(self, tag, attrib): > + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": > + self.cpes.append(attrib['name']) > + def close(self): > + return self.cpes > + > + > + print("CPE: Setting up NIST dictionary") > + if not os.path.exists(os.path.join(nvd_path, "cpe")): > + os.makedirs(os.path.join(nvd_path, "cpe")) > + > + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) > + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: > + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") > + cpe_dict = requests.get(CPEDB_URL) > + open(cpe_dict_local, "wb").write(cpe_dict.content) > + > + print("CPE: Unzipping xml manifest...") > + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) > + > + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) > + while True: > + c = nist_cpe_file.read(1024*1024) > + if not c: > + break > + parser.feed(c) > + cpes = parser.close() > + > for p in packages: > if not p.cpeid: > continue > - if cpedb.find(p.cpeid): > + if p.cpeid in cpes: > p.status['cpe'] = ("ok", "verified CPE identifier") > else: > p.status['cpe'] = ("error", "CPE version unknown in CPE database") > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Apr 2 17:21:57 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:21:57 +0200 Subject: [Buildroot] [git commit] package: replace git:// URLs with https:// URLs where possible Message-ID: <20220402171308.A53B2838BF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6626bf7c5fc1f5f47fcade03090de212a6121db3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Replace the remaining git:// URLs with their https:// equivalents as this is more secure and also more palatable to corporate firewalls. Signed-off-by: Markus Mayer [yann.morin.1998 at free.fr: convert dahdi-linux too] Signed-off-by: Yann E. MORIN --- boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- package/aer-inject/aer-inject.mk | 3 ++- package/dahdi-linux/dahdi-linux.mk | 3 ++- package/firmware-utils/firmware-utils.mk | 3 ++- package/flashbench/flashbench.mk | 3 ++- package/mmc-utils/mmc-utils.mk | 3 ++- package/mxsldr/mxsldr.mk | 3 ++- package/open62541/open62541.mk | 2 +- package/pahole/pahole.mk | 2 +- package/psplash/psplash.mk | 3 ++- package/rtc-tools/rtc-tools.mk | 3 ++- package/rtmpdump/rtmpdump.mk | 3 ++- package/sox/sox.mk | 2 +- package/tftpd/tftpd.mk | 3 ++- package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- 15 files changed, 26 insertions(+), 15 deletions(-) diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk index 3a1af9b02c..30b352f8e7 100644 --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -5,7 +5,8 @@ ################################################################################ BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk index 72495bbea2..6bc9cb44da 100644 --- a/package/aer-inject/aer-inject.mk +++ b/package/aer-inject/aer-inject.mk @@ -5,7 +5,8 @@ ################################################################################ AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git AER_INJECT_LICENSE = GPL-2.0 AER_INJECT_LICENSE_FILES = README AER_INJECT_DEPENDENCIES = host-flex host-bison diff --git a/package/dahdi-linux/dahdi-linux.mk b/package/dahdi-linux/dahdi-linux.mk index b9d5911953..93124f0e02 100644 --- a/package/dahdi-linux/dahdi-linux.mk +++ b/package/dahdi-linux/dahdi-linux.mk @@ -5,7 +5,8 @@ ################################################################################ DAHDI_LINUX_VERSION = 5c840cf43838e0690873e73409491c392333b3b8 -DAHDI_LINUX_SITE = git://git.asterisk.org/dahdi/linux.git +DAHDI_LINUX_SITE = https://gerrit.asterisk.org/dahdi-linux +DAHDI_LINUX_SITE_METHOD = git # We need to download all those firmware blobs ourselves, otherwise # dahdi-linux will try to download them at install time. diff --git a/package/firmware-utils/firmware-utils.mk b/package/firmware-utils/firmware-utils.mk index 151a01882d..d5b079e4f5 100644 --- a/package/firmware-utils/firmware-utils.mk +++ b/package/firmware-utils/firmware-utils.mk @@ -5,7 +5,8 @@ ################################################################################ FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 -FIRMWARE_UTILS_SITE = git://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE_METHOD = git FIRMWARE_UTILS_LICENSE = \ BSD-2-Clause (tplink-safeloader), \ BSD-3-Clause (seama), \ diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk index e89a250aa3..f5791c3e95 100644 --- a/package/flashbench/flashbench.mk +++ b/package/flashbench/flashbench.mk @@ -5,7 +5,8 @@ ################################################################################ FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git FLASHBENCH_LICENSE = GPL-2.0 FLASHBENCH_LICENSE_FILES = COPYING diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 8c264a454a..c847378692 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -5,7 +5,8 @@ ################################################################################ MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk index 239b40ad29..2375b9f42b 100644 --- a/package/mxsldr/mxsldr.mk +++ b/package/mxsldr/mxsldr.mk @@ -5,7 +5,8 @@ ################################################################################ MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git MXSLDR_LICENSE = GPL-2.0+ MXSLDR_LICENSE_FILES = COPYING HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index fb28a614e2..627c29e95b 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -6,7 +6,7 @@ OPEN62541_VERSION = v1.2.2 OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git +OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index 1ad937062d..da6d67e6a2 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -5,7 +5,7 @@ ################################################################################ PAHOLE_VERSION = v1.23 -PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git PAHOLE_SITE_METHOD = git # pahole contains git submodule and relies on them to be built. PAHOLE_GIT_SUBMODULES = YES diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index 5e61f2392f..69f9bf386d 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -5,7 +5,8 @@ ################################################################################ PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d -PSPLASH_SITE = git://git.yoctoproject.org/psplash +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git PSPLASH_LICENSE = GPL-2.0+ PSPLASH_LICENSE_FILES = COPYING PSPLASH_AUTORECONF = YES diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk index 2ef850a81f..2882c88575 100644 --- a/package/rtc-tools/rtc-tools.mk +++ b/package/rtc-tools/rtc-tools.mk @@ -5,7 +5,8 @@ ################################################################################ RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git RTC_TOOLS_LICENSE = GPL-2.0 RTC_TOOLS_LICENSE_FILES = COPYING diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index db79a796dc..fb381d0e10 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -5,7 +5,8 @@ ################################################################################ RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git RTMPDUMP_INSTALL_STAGING = YES # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only # care about librtmp, it's LGPL-2.1+ diff --git a/package/sox/sox.mk b/package/sox/sox.mk index 4b09b94bc3..1896437ad4 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -5,7 +5,7 @@ ################################################################################ SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code +SOX_SITE = https://git.code.sf.net/p/sox/code SOX_SITE_METHOD = git SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 42b5f17821..ceac24119e 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -5,7 +5,8 @@ ################################################################################ TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git TFTPD_CONF_OPTS = --without-tcpwrappers TFTPD_LICENSE = BSD-4-Clause TFTPD_LICENSE_FILES = tftpd/tftpd.c diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk index 722c4655cd..a5f3a82609 100644 --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -5,7 +5,7 @@ ################################################################################ WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git WILINK_BT_FIRMWARE_SITE_METHOD = git WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Sat Apr 2 17:26:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:26:18 +0200 Subject: [Buildroot] [PATCH] package: replace git:// URLs with https:// URLs where possible In-Reply-To: <20220401215653.1703616-1-mmayer@broadcom.com> References: <20220401215653.1703616-1-mmayer@broadcom.com> Message-ID: <20220402172618.GC1811301@scaer> Markus, All, On 2022-04-01 14:56 -0700, Markus Mayer via buildroot spake thusly: > Replace the remaining git:// URLs with their https:// equivalents as > this is more secure and also more palatable to corporate firewalls. > > This leaves package/dahdi-linux as the sole package still using a > git:// URL for cloning. I was a bit sad to have that one be an outlier, so I checked... I went to the Asterisk gitweb: https://git.asterisk.org/gitweb/ Then I checked the main repository, asterisk: https://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=summary This is labelled as: Mirror of the Asterisk Project (https://gerrit.asterisk.org) So I went there, and noticed: BROWSE -> Repositories And surely there is an entry for dahdi-linux; https://gerrit.asterisk.org/admin/repos/dahdi-linux Which has instructions to download over https: https://gerrit.asterisk.org/dahdi-linux So I migrated that one too. We no longer have git:// downloads now. Woot-woot! \o/ Applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Markus Mayer > --- > boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- > package/aer-inject/aer-inject.mk | 3 ++- > package/firmware-utils/firmware-utils.mk | 3 ++- > package/flashbench/flashbench.mk | 3 ++- > package/mmc-utils/mmc-utils.mk | 3 ++- > package/mxsldr/mxsldr.mk | 3 ++- > package/open62541/open62541.mk | 2 +- > package/pahole/pahole.mk | 2 +- > package/psplash/psplash.mk | 3 ++- > package/rtc-tools/rtc-tools.mk | 3 ++- > package/rtmpdump/rtmpdump.mk | 3 ++- > package/sox/sox.mk | 2 +- > package/tftpd/tftpd.mk | 3 ++- > package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- > 14 files changed, 24 insertions(+), 14 deletions(-) > > diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk > index 3a1af9b02c7e..30b352f8e7df 100644 > --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk > +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a > -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git > +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git > +BOOT_WRAPPER_AARCH64_SITE_METHOD = git > BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause > BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt > BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux > diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk > index 72495bbea26a..6bc9cb44da74 100644 > --- a/package/aer-inject/aer-inject.mk > +++ b/package/aer-inject/aer-inject.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 > -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git > +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git > +AER_INJECT_SITE_METHOD = git > AER_INJECT_LICENSE = GPL-2.0 > AER_INJECT_LICENSE_FILES = README > AER_INJECT_DEPENDENCIES = host-flex host-bison > diff --git a/package/firmware-utils/firmware-utils.mk b/package/firmware-utils/firmware-utils.mk > index 151a01882d71..d5b079e4f5a7 100644 > --- a/package/firmware-utils/firmware-utils.mk > +++ b/package/firmware-utils/firmware-utils.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 > -FIRMWARE_UTILS_SITE = git://git.openwrt.org/project/firmware-utils.git > +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git > +FIRMWARE_UTILS_SITE_METHOD = git > FIRMWARE_UTILS_LICENSE = \ > BSD-2-Clause (tplink-safeloader), \ > BSD-3-Clause (seama), \ > diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk > index e89a250aa31a..f5791c3e95b6 100644 > --- a/package/flashbench/flashbench.mk > +++ b/package/flashbench/flashbench.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 > -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git > +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git > +FLASHBENCH_SITE_METHOD = git > FLASHBENCH_LICENSE = GPL-2.0 > FLASHBENCH_LICENSE_FILES = COPYING > > diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk > index 8c264a454a33..c84737869264 100644 > --- a/package/mmc-utils/mmc-utils.mk > +++ b/package/mmc-utils/mmc-utils.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 > -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git > +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git > +MMC_UTILS_SITE_METHOD = git > MMC_UTILS_LICENSE = GPL-2.0 > MMC_UTILS_LICENSE_FILES = mmc.h > > diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk > index 239b40ad29af..2375b9f42b59 100644 > --- a/package/mxsldr/mxsldr.mk > +++ b/package/mxsldr/mxsldr.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 > -MXSLDR_SITE = git://git.denx.de/mxsldr.git > +MXSLDR_SITE = https://git.denx.de/mxsldr.git > +MXSLDR_SITE_METHOD = git > MXSLDR_LICENSE = GPL-2.0+ > MXSLDR_LICENSE_FILES = COPYING > HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf > diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk > index fb28a614e2a7..627c29e95b6c 100644 > --- a/package/open62541/open62541.mk > +++ b/package/open62541/open62541.mk > @@ -6,7 +6,7 @@ > > OPEN62541_VERSION = v1.2.2 > OPEN62541_SITE_METHOD = git > -OPEN62541_SITE = git://github.com/open62541/open62541.git > +OPEN62541_SITE = https://github.com/open62541/open62541.git > OPEN62541_GIT_SUBMODULES = YES > OPEN62541_INSTALL_STAGING = YES > OPEN62541_LICENSE = MPL-2.0 > diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk > index 1ad937062dfd..da6d67e6a293 100644 > --- a/package/pahole/pahole.mk > +++ b/package/pahole/pahole.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > PAHOLE_VERSION = v1.23 > -PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git > +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git > PAHOLE_SITE_METHOD = git > # pahole contains git submodule and relies on them to be built. > PAHOLE_GIT_SUBMODULES = YES > diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk > index 5e61f2392f78..69f9bf386da0 100644 > --- a/package/psplash/psplash.mk > +++ b/package/psplash/psplash.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d > -PSPLASH_SITE = git://git.yoctoproject.org/psplash > +PSPLASH_SITE = https://git.yoctoproject.org/psplash > +PSPLASH_SITE_METHOD = git > PSPLASH_LICENSE = GPL-2.0+ > PSPLASH_LICENSE_FILES = COPYING > PSPLASH_AUTORECONF = YES > diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk > index 2ef850a81f60..2882c88575d3 100644 > --- a/package/rtc-tools/rtc-tools.mk > +++ b/package/rtc-tools/rtc-tools.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 > -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git > +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git > +RTC_TOOLS_SITE_METHOD = git > RTC_TOOLS_LICENSE = GPL-2.0 > RTC_TOOLS_LICENSE_FILES = COPYING > > diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk > index db79a796dcac..fb381d0e1048 100644 > --- a/package/rtmpdump/rtmpdump.mk > +++ b/package/rtmpdump/rtmpdump.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 > -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump > +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump > +RTMPDUMP_SITE_METHOD = git > RTMPDUMP_INSTALL_STAGING = YES > # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only > # care about librtmp, it's LGPL-2.1+ > diff --git a/package/sox/sox.mk b/package/sox/sox.mk > index 4b09b94bc3e3..1896437ad4c7 100644 > --- a/package/sox/sox.mk > +++ b/package/sox/sox.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e > -SOX_SITE = git://git.code.sf.net/p/sox/code > +SOX_SITE = https://git.code.sf.net/p/sox/code > SOX_SITE_METHOD = git > SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf > SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) > diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk > index 42b5f17821ad..ceac24119eb4 100644 > --- a/package/tftpd/tftpd.mk > +++ b/package/tftpd/tftpd.mk > @@ -5,7 +5,8 @@ > ################################################################################ > > TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 > -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git > +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git > +TFTPD_SITE_METHOD = git > TFTPD_CONF_OPTS = --without-tcpwrappers > TFTPD_LICENSE = BSD-4-Clause > TFTPD_LICENSE_FILES = tftpd/tftpd.c > diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk > index 722c4655cd75..a5f3a826090b 100644 > --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk > +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 > -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git > +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git > WILINK_BT_FIRMWARE_SITE_METHOD = git > WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY > WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Apr 2 17:28:56 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:28:56 +0200 Subject: [Buildroot] [git commit] package/apr-util: change URL from http to https Message-ID: <20220402172009.5B74C841D2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=15f76e16b30aa7555aa84c71b42bfda69c5ebda7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- package/apr-util/Config.in | 2 +- package/apr-util/apr-util.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in index 6c5e3bbdf5..c1a967bdec 100644 --- a/package/apr-util/Config.in +++ b/package/apr-util/Config.in @@ -8,7 +8,7 @@ config BR2_PACKAGE_APR_UTIL help The utility library for the apache runtime project - http://apr.apache.org/ + https://apr.apache.org comment "apr-util needs a toolchain w/ dynamic library" depends on BR2_USE_MMU diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index cf8407ced0..fb0735f5e7 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -6,7 +6,7 @@ APR_UTIL_VERSION = 1.6.1 APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2 -APR_UTIL_SITE = http://archive.apache.org/dist/apr +APR_UTIL_SITE = https://archive.apache.org/dist/apr APR_UTIL_LICENSE = Apache-2.0 APR_UTIL_LICENSE_FILES = LICENSE APR_UTIL_CPE_ID_VENDOR = apache From yann.morin.1998 at free.fr Sat Apr 2 17:28:20 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:28:20 +0200 Subject: [Buildroot] [git commit] package/apr: change URL from http to https Message-ID: <20220402172009.4D5328417C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=05f1a88f4979fda312264e0492d5892ddc9674d2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- package/apr/Config.in | 2 +- package/apr/apr.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apr/Config.in b/package/apr/Config.in index 67de925474..4606fc5378 100644 --- a/package/apr/Config.in +++ b/package/apr/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_APR predictable and consistent interface to underlying platform-specific implementations - http://apr.apache.org/ + https://apr.apache.org comment "apr needs a toolchain w/ dynamic library" depends on BR2_USE_MMU diff --git a/package/apr/apr.mk b/package/apr/apr.mk index c45829aacc..7ff2c007b4 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -6,7 +6,7 @@ APR_VERSION = 1.7.0 APR_SOURCE = apr-$(APR_VERSION).tar.bz2 -APR_SITE = http://archive.apache.org/dist/apr +APR_SITE = https://archive.apache.org/dist/apr APR_LICENSE = Apache-2.0 APR_LICENSE_FILES = LICENSE APR_CPE_ID_VENDOR = apache From yann.morin.1998 at free.fr Sat Apr 2 17:30:30 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 2 Apr 2022 19:30:30 +0200 Subject: [Buildroot] [PATCH v1 1/4] package/apr: change download url from http to https In-Reply-To: <20220401180520.15772-1-ps.report@gmx.net> References: <20220401180520.15772-1-ps.report@gmx.net> Message-ID: <20220402173030.GD1811301@scaer> Peter, All, On 2022-04-01 20:05 +0200, Peter Seiderer spake thusly: > - change download url from http to https A commit log that jsut repeats the commit title is useless, so I dropped it. I also squashed together commits refering to the same package. Series applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Peter Seiderer > --- > package/apr/apr.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/apr/apr.mk b/package/apr/apr.mk > index c45829aacc..7ff2c007b4 100644 > --- a/package/apr/apr.mk > +++ b/package/apr/apr.mk > @@ -6,7 +6,7 @@ > > APR_VERSION = 1.7.0 > APR_SOURCE = apr-$(APR_VERSION).tar.bz2 > -APR_SITE = http://archive.apache.org/dist/apr > +APR_SITE = https://archive.apache.org/dist/apr > APR_LICENSE = Apache-2.0 > APR_LICENSE_FILES = LICENSE > APR_CPE_ID_VENDOR = apache > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From nealf at xilinx.com Sat Apr 2 18:11:01 2022 From: nealf at xilinx.com (Neal Frager) Date: Sat, 2 Apr 2022 18:11:01 +0000 Subject: [Buildroot] buildroot xilinx zynq_xxx_defconfigs In-Reply-To: <1e1b5ec1-6fce-a8b8-d2e8-db5cd5f923fd@lucaceresoli.net> References: <1e1b5ec1-6fce-a8b8-d2e8-db5cd5f923fd@lucaceresoli.net> Message-ID: <53FB2DCD-5FFD-4E9D-8868-2470FEFA9E90@xilinx.com> Hi Luca, Le 2 avr. 2022 ? 16:33, Luca Ceresoli a ?crit : ?CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Hi, I recommend to write this kind on question on the mailing list. You would probably get faster replies than I can do and also other people would benefit. On 31/03/22 18:03, Neal Frager wrote: Hi Luca, Peter, Now that the zynqmp defconfigs have been bumped to a newer version of our software, I am thinking we should probably bump the zynq defconfigs as well. As there is no PMU firmware, it is a much easier job. However, of the 4 boards in buildroot, I only have a zc706 for testing. The problem is I will need to touch the files in the board/zynq directory, so if I bump the zc706, I really need to bump all 4 board defconfigs to avoid build failures on the other boards. Do either of you have the zynq microzed, qmtech or zed boards for testing? If not, are you ok with updating all 4 defconfigs assuming 3 of them will only be build tested? What are your thoughts? Thanks for taking initiative to upgrade these defconfigs! I used to have access to a ZedBoard, but unfortunately I cannot access any of those boards anymore. However I would expect them to be extremely similar with respect to booting: they are [variants of] the same SoC and thus they have the same boot flow, and definitely they all are connected to allow SD boot. Thus I think it is absolutely reasonable if you update all of them, checking all details carefully, build-test all of them and runtime-test at least one on real hardware. At least it's what I have been doing in the past: you can have a look at 'git log -3 014e97032465', as you can see I did Run-time test one and Build-test the others. Regards, -- Luca Thank you for your positive feedback. I have submitted a first patch which will make updating the zynq defconfigs easier. I should have copied you on this, but since you are not responsible for the qmtech defconfig, the tool did not automatically add in your email address. Anyway, I have an issue with the qmtech board because the device tree is not in mainline. As I do not have a qmtech board to test, I would prefer to avoid touching the qmtech device tree, so it can work with a newer version of software. The following patch isolates the qmtech board, so that I can update the other 3 zynq defconfigs without touching the qmtech defconfig. Could you have a look and provide your feedback? https://patchwork.ozlabs.org/project/buildroot/patch/20220331192030.3871720-1-neal.frager at amd.com/ Best regards, Neal Frager AMD -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.hilliard1 at gmail.com Sat Apr 2 18:13:29 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 2 Apr 2022 12:13:29 -0600 Subject: [Buildroot] [PATCH v12 06/11] package/libclc: bump version to 13.0.1 In-Reply-To: <4ac4b8c5-875c-5559-7042-d7a87b42aa60@mind.be> References: <20220322232224.2842266-1-james.hilliard1@gmail.com> <20220322232224.2842266-6-james.hilliard1@gmail.com> <4ac4b8c5-875c-5559-7042-d7a87b42aa60@mind.be> Message-ID: On Sat, Apr 2, 2022 at 11:11 AM Arnout Vandecappelle wrote: > > > > On 31/03/2022 23:38, James Hilliard wrote: > > On Thu, Mar 31, 2022 at 2:50 PM Romain Naour wrote: > >> > >> Hi James, > >> > [snip] > >> Ideally, llvm/clang should be updated to 13.0.1 first (or to the latest version > >> if possible). > > > > There were some issues with lld in anything newer than 11.1.0, see: > > https://lore.kernel.org/buildroot/20220131015937.4113728-1-james.hilliard1 at gmail.com/ > > https://bugs.llvm.org/show_bug.cgi?id=49228 > > To me that looks trivial to solve: we need to package libunwind (call it > llvm-libunwind because we already have a libunwind package) and make lld depend > on it. The CMakeLists.txt adds an include path that doesn't exist, but I think > that will get silently ignored. I think fixing it was a bit tricky due to conflicting dependencies or something, since it works with 11.1.0 I'd say best just do this upgrade first and update to newer versions after. > > Regards, > Arnout > > > > > So I held off on going beyond 11.1.0 for now due to that. > [snip] From james.hilliard1 at gmail.com Sat Apr 2 18:42:51 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 2 Apr 2022 12:42:51 -0600 Subject: [Buildroot] [PATCH v2 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220402184251.532287-1-james.hilliard1@gmail.com> Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Signed-off-by: James Hilliard --- Changes v1 -> v2: - refactor fixup_config control flow --- utils/genrandconfig | 54 +++++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 17 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..d6b5e0be23 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +335,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,19 +416,24 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) - if fixup_config(sysinfo, configfile): - break + if not fixup_config(sysinfo, configfile): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "olddefconfig"]): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "savedefconfig"]): + continue - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "dependencies"]): + continue + break + return 0 if __name__ == '__main__': @@ -433,10 +445,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative -- 2.25.1 From james.hilliard1 at gmail.com Sat Apr 2 18:58:33 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 2 Apr 2022 12:58:33 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> Message-ID: On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: > > Hi James, > > On 02/04/2022 03:05, James Hilliard wrote: > > Currently we only test a limited set of toolchains that are mostly > > prebuilt, add a flag to allow using randconfig for randomizing > > additional toolchain settings instead of randpackageconfig. > > Oooh, it's been on my wishlist for a loooong time to use randconfig instead of > randpackageconfig in the autobuilders... > > > > > To avoid invalid configs we need to add additional config validation > > filtering and fixups. > > I guess the following 4 patches are supposed to do that? Please keep them > together in a series in the future. I would say those are more bugs that this patch revealed, the config validation filtering+fixups I'm referring to are just the ones in this patch. > > > > > Signed-off-by: James Hilliard > > --- > > utils/genrandconfig | 52 ++++++++++++++++++++++++++++++--------------- > > 1 file changed, 35 insertions(+), 17 deletions(-) > > > > diff --git a/utils/genrandconfig b/utils/genrandconfig > > index 3483d55c14..1e72e14461 100755 > > --- a/utils/genrandconfig > > +++ b/utils/genrandconfig > > @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): > > configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > > configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > > > > + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > > + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > > I don't understand why for this particular one you remove it explicitly, while > for other cases you rely (I guess) on the dependency check to make sure we get a > valid config (eventually). Others were missing the empty string config for matching against so this approach didn't seem to work there. > > Also, I think the proper approach for dealing with required string options is > to give them a default value in support/config-fragments/minimal.config. Unlike > the toolchainfile, the configlines in minimal.config don't all need to be > present in the final .config, so we can add stuff there that is only available > if the appropriate boolean option gets selected randomly. Well most of these empty strings need to have a config option removed/filtered IMO. > > > + > > with open(configfile, "w+") as configf: > > configf.writelines(configlines) > > > > @@ -331,11 +335,14 @@ def gen_config(args): > > > > sysinfo = SystemInfo() > > > > - # Select a random toolchain configuration > > - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > + if args.toolchains_csv: > > + # Select a random toolchain configuration > > + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > > > - i = randint(0, len(configs) - 1) > > - toolchainconfig = configs[i] > > + i = randint(0, len(configs) - 1) > > + toolchainconfig = configs[i] > > + else: > > + toolchainconfig = [] > > Wow, you lost me here. The commit message says "for randomizing *additional* > toolchain settings", so I assumed that it would still use a toolchainfile but > allow randomizing other options. Well currently toolchains selection is randomized based on the toolchain csv, this randomizes additional toolchain settings beyond the toolchain csv. > > And I don't see a problem with that. We just have to first run randconfig, and > apply the toolchain config after that. This is deliberately not using the toolchain configs as I'm trying to test randomizing toolchains themselves here. > > And I think we can do that unconditionally, even. It would require a little > bit of testing (basically iterating over all the toolchain configs and checking > that a valid config can still be generated for each of them) but can be deployed > pretty much as is I think. I think this is more an alternative to the toolchain random selection, this random method is kinda experimental at the moment IMO so I've kept the codepaths separate. > > I agree though that it's more work to do that than the current patch, so > perhaps this is a good first step. Yeah, best to do this incrementally IMO, since this is revealing issues already in the autobuilder relating to config validation I'm running this on: http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 Note that this autobuilder is an aarch64(running https://asahilinux.org/) host so it doesn't use the prebuilt toolchains. > > > > > configlines = list(toolchainconfig) > > > > @@ -409,19 +416,22 @@ def gen_config(args): > > bounded_loop -= 1 > > subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > "KCONFIG_PROBABILITY=%d" % randint(1, 20), > > - "randpackageconfig"]) > > + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > > > > if fixup_config(sysinfo, configfile): > > I think the control flow is easier to follow if we change this into > > if not fixup_config: > continue Changed in v2: https://patchwork.ozlabs.org/project/buildroot/patch/20220402184251.532287-1-james.hilliard1 at gmail.com/ > > > - break > > - > > - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > - "olddefconfig"]) > > + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > + "olddefconfig"]): > > + continue > > > > - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > - "savedefconfig"]) > > + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > + "savedefconfig"]): > > This one should simply never fail, so it should move outside of the loop, > after checking dependencies. I just tested that this can fail so I've kept it in the loop for now. > > > Regards, > Arnout > > > > + continue > > > > - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > - "dependencies"]) > > + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > + "dependencies"]): > > + continue > > + break > > + return 0 > > > > > > if __name__ == '__main__': > > @@ -433,10 +443,18 @@ if __name__ == '__main__': > > parser.add_argument("--buildrootdir", "-b", > > help="Buildroot directory (relative to current directory)", > > type=str, default='.') > > - parser.add_argument("--toolchains-csv", > > - help="Path of the toolchain configuration file", > > - type=str, > > - default="support/config-fragments/autobuild/toolchain-configs.csv") > > + > > + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > > + toolchains_csv.add_argument("--toolchains-csv", > > + dest="toolchains_csv", > > + help="Path of the toolchain configuration file", > > + type=str) > > + toolchains_csv.add_argument("--no-toolchains-csv", > > + dest="toolchains_csv", > > + help="Generate random toolchain configuration", > > + action='store_false') > > + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > > + > > args = parser.parse_args() > > > > # We need the absolute path to use with O=, because the relative From fontaine.fabrice at gmail.com Sat Apr 2 20:01:18 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 22:01:18 +0200 Subject: [Buildroot] [PATCH 1/1] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS Message-ID: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid the following build failure when GO_GOARCH is empty (e.g. on mips32) raised since the addition of the package in commmit ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' Usage: sloci-image [options] ROOTFS NAME[:TAG] sloci-image [-h | -V] Create a single-layer OCI image with the given rootfs. Arguments: ROOTFS Directory or tar.gz archive with rootfs to pack into the image. Important: Archive will be *moved* to the image, so make a copy if you need it. Directory will be preserved. NAME Name of the image. TAG Tag for the image. Defaults to "latest". Options: -m --arch ARCH CPU architecture which the binaries in this image are built to run on. Defaults to $(uname -m). --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). -a --author NAME Name and/or email address of the person which created the image. -c --cmd CMD Default arguments to the entrypoint of the container. --debug Print debug messages (it can be also enabled with env. variable DEBUG). -C --entrypoint EP Arguments to use as the command to execute when the container starts. -e --env VAR=VAL Default environment variables for container. -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. If KEY starts with a dot, it will be prefixed with "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). --os OS Name of the OS which the image is built to run on. Defaults to "linux". -p --port PORT[/PROT] Default set of ports to expose from a container running this image in format: /tcp, /udp, or (same as /tcp). Aliases: --expose. -t --tar Pack image in a TAR archive. -u --user USER The username or UID of user the process run as. -v --volume PATH Default set of directories describing where the process is likely write data specific to a container instance. -w --working-dir DIR Sets the current working directory of the entrypoint process in the container. -V --version Print version and exit. -h --help Print this message and exit. Please report bugs at . make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 Fixes: - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 Signed-off-by: Fabrice Fontaine --- fs/oci/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/oci/Config.in b/fs/oci/Config.in index 176785810a..8f36c91c8f 100644 --- a/fs/oci/Config.in +++ b/fs/oci/Config.in @@ -1,5 +1,6 @@ config BR2_TARGET_ROOTFS_OCI bool "oci image" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS help Build an OCI (Open Container Initiative) image. -- 2.35.1 From mmayer at broadcom.com Sat Apr 2 20:25:44 2022 From: mmayer at broadcom.com (Markus Mayer) Date: Sat, 2 Apr 2022 13:25:44 -0700 Subject: [Buildroot] [PATCH] package: replace git:// URLs with https:// URLs where possible In-Reply-To: <20220402172618.GC1811301@scaer> References: <20220401215653.1703616-1-mmayer@broadcom.com> <20220402172618.GC1811301@scaer> Message-ID: On Sat, 2 Apr 2022 at 10:26, Yann E. MORIN wrote: > > Markus, All, > > On 2022-04-01 14:56 -0700, Markus Mayer via buildroot spake thusly: > > Replace the remaining git:// URLs with their https:// equivalents as > > this is more secure and also more palatable to corporate firewalls. > > > > This leaves package/dahdi-linux as the sole package still using a > > git:// URL for cloning. > > I was a bit sad to have that one be an outlier, so I checked... > > I went to the Asterisk gitweb: > https://git.asterisk.org/gitweb/ > > Then I checked the main repository, asterisk: > https://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=summary > > This is labelled as: > Mirror of the Asterisk Project (https://gerrit.asterisk.org) > > So I went there, and noticed: > BROWSE -> Repositories > > And surely there is an entry for dahdi-linux; > https://gerrit.asterisk.org/admin/repos/dahdi-linux > > Which has instructions to download over https: > https://gerrit.asterisk.org/dahdi-linux > > So I migrated that one too. We no longer have git:// downloads now. > Woot-woot! \o/ Awesome. Thanks for finding and adding the new URL for dahdi-linux. Regards, -Markus From fontaine.fabrice at gmail.com Sat Apr 2 21:24:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 2 Apr 2022 23:24:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-greenlet: disable cpp test Message-ID: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> Disable cpp test to avoid the following build failure without C++ raised since the addition of the package in commit 826ef33bedc0f2f39a38622f066978cd9cc05226 and https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: powerpc64-buildroot-linux-gnu-gcc.br_real: error: src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb Signed-off-by: Fabrice Fontaine --- package/python-greenlet/python-greenlet.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk index 3b1ef7e314..72d2747970 100644 --- a/package/python-greenlet/python-greenlet.mk +++ b/package/python-greenlet/python-greenlet.mk @@ -10,6 +10,7 @@ PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea PYTHON_GREENLET_SETUP_TYPE = setuptools PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no $(eval $(python-package)) $(eval $(host-python-package)) -- 2.35.1 From f.fainelli at gmail.com Sun Apr 3 02:33:39 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Sat, 2 Apr 2022 19:33:39 -0700 Subject: [Buildroot] [PATCH 0/2] External GCC12 toolchain support In-Reply-To: <20220322222106.42347-1-f.fainelli@gmail.com> References: <20220322222106.42347-1-f.fainelli@gmail.com> Message-ID: <761200bc-18e1-e94f-ae2b-cc874ebbb857@gmail.com> Hi all, On 3/22/2022 3:21 PM, Florian Fainelli wrote: > This patch series allows us to use Linaro's GCC12 snapshot that can be > downloaded from here: > > https://snapshots.linaro.org/gnu-toolchain/12.0-2021.10-1/aarch64-linux-gnu/ Should I be resending this? > > Florian Fainelli (2): > toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option > toolchain/toolchain-external/toolchain-external-custom: add gcc 12 > version selection > > toolchain/Config.in | 11 +++++++++-- > .../toolchain-external-custom/Config.in.options | 4 ++++ > 2 files changed, 13 insertions(+), 2 deletions(-) > -- Florian From David.Laight at ACULAB.COM Sun Apr 3 07:30:23 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Sun, 3 Apr 2022 07:30:23 +0000 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> Message-ID: <2d5e8287df984f16b4b90e8a2921d399@AcuMS.aculab.com> From: Arnout Vandecappelle > Sent: 02 April 2022 18:09 ... > > Busybox tends to care about code size. > > Yes, but if it's not overly bloated, it's not going to be blocker for initial > inclusion. > > > You really want to roll-up the unrolled loop in blakes2. > > Performance really doesn't matter here. > > AFAIU (but neither the commit message nor the seedrng about page explain it) > the Blake2 algorithm was simply chosen because it's small. Any hash function > should be fine. There's sha1, sha2 and sha3 in libbb, so I guess one of them > should have all the desired properties. The unrolled blakes2 is typically 5kb of object code. The unrolled code is better for large buffers, but just fetching the code to the I-cache will significantly affect performance for small buffers. I really ought to sit and measure the cutoff. The code is: +#define G(r, i, a, b, c, d) do { \ + a += b + m[blake2s_sigma[r][2 * i + 0]]; \ + d = ror32(d ^ a, 16); \ + c += d; \ + b = ror32(b ^ c, 12); \ + a += b + m[blake2s_sigma[r][2 * i + 1]]; \ + d = ror32(d ^ a, 8); \ + c += d; \ + b = ror32(b ^ c, 7); \ +} while (0) + +#define ROUND(r) do { \ + G(r, 0, v[0], v[ 4], v[ 8], v[12]); \ + G(r, 1, v[1], v[ 5], v[ 9], v[13]); \ + G(r, 2, v[2], v[ 6], v[10], v[14]); \ + G(r, 3, v[3], v[ 7], v[11], v[15]); \ + G(r, 4, v[0], v[ 5], v[10], v[15]); \ + G(r, 5, v[1], v[ 6], v[11], v[12]); \ + G(r, 6, v[2], v[ 7], v[ 8], v[13]); \ + G(r, 7, v[3], v[ 4], v[ 9], v[14]); \ +} while (0) + ROUND(0); + ROUND(1); + ROUND(2); + ROUND(3); + ROUND(4); + ROUND(5); + ROUND(6); + ROUND(7); + ROUND(8); + ROUND(9); + +#undef G +#undef ROUND Now G() is a 14 instruction register dependency chain. But since each batch of 4 G() is independent the compiler can interleave them - significant on modern cpu. OTOH the 10 ROUND() just advance through blake2s_sigma[]. Unrolling these that is probably not that significant. Especially if the compiler manages to increment the pointer. While modern gcc manage to optimise the array away completely the code isn't constrained by memory accesses so loading from an actual array won't make much difference. On some architectures the constants either take multiple instructions to load, or load from memory anyway. But these bloat that code block by a factor of 10. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From thomas.petazzoni at bootlin.com Sun Apr 3 08:05:38 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 3 Apr 2022 10:05:38 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402172012.GB1811301@scaer> References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> <20220402172012.GB1811301@scaer> Message-ID: <20220403100538.538f8a3c@windsurf> Hello Yann, On Sat, 2 Apr 2022 19:20:12 +0200 "Yann E. MORIN" wrote: > > diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats > > index ae1a9aa5e4..cc163ebb1a 100755 > > --- a/support/scripts/pkg-stats > > +++ b/support/scripts/pkg-stats > > @@ -27,12 +27,14 @@ import re > > import subprocess > > import json > > import sys > > +import time > > +import gzip > > +import xml.etree.ElementTree > > You for to import requests, which is used later on. I suppose s/for/forgot/ ? But then how it could have worked for me? Huh. > I also fixed a bunch of flake8 issues: Ah, gah, forgot once again to run flake8, sorry about that. > > +CPEDB_URL = "https://static.nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml.gz" > > Instead of duplicating it here, I changed that to import it from cpedb. ACK. > Applied to master with all the aboved fixed, thanks. Many thanks. Peter, could you backport those patches, or at least PATCH 3/4 and 4/4 to all stable branches still in activity? Indeed, thanks to this fix, the pkg-stats run of this morning on the master branch worked fine, but it failed miserably on the 2021.02.x branch. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Sun Apr 3 08:24:59 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 10:24:59 +0200 Subject: [Buildroot] [git commit] package/pkg-python.mk: fix PEP517 paths Message-ID: <20220403081607.4EA35847BA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5bea8c9521b3fbfdf40030635989064af55cc26c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Use /usr target/staging prefix and / host prefix. This allows the Python interpreter to find packages built via the new Flit infrastructure. Fixes: #14721 Signed-off-by: Emile Cormier Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/pkg-python.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 52ce402281..867341fc7b 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -127,16 +127,16 @@ PKG_PYTHON_PEP517_ENV = \ PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ --interpreter=/usr/bin/python \ --script-kind=posix \ - --purelib=$(TARGET_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(TARGET_DIR)/usr/bin \ --data=$(TARGET_DIR)/usr PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ --interpreter=/usr/bin/python \ --script-kind=posix \ - --purelib=$(STAGING_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(STAGING_DIR)/usr/bin \ --data=$(STAGING_DIR)/usr @@ -147,12 +147,12 @@ HOST_PKG_PYTHON_PEP517_ENV = \ $(HOST_CONFIGURE_OPTS) HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/usr/bin/python \ + --interpreter=/bin/python \ --script-kind=posix \ --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/usr/bin \ - --data=$(HOST_DIR)/usr + --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ + --scripts=$(HOST_DIR)/bin \ + --data=$(HOST_DIR) ################################################################################ # inner-python-package -- defines how the configuration, compilation From yann.morin.1998 at free.fr Sun Apr 3 08:33:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 10:33:18 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/pkg-python.mk: fix PEP517 paths In-Reply-To: <20220330224521.4142504-1-james.hilliard1@gmail.com> References: <20220330224521.4142504-1-james.hilliard1@gmail.com> Message-ID: <20220403083318.GE1811301@scaer> James, Emile, All, On 2022-03-30 16:45 -0600, James Hilliard spake thusly: > From: Emile Cormier > > Use /usr target/staging prefix and / host prefix. > > This allows the Python interpreter to find packages built via the new > Flit infrastructure and fixes bug #14721. Hint: if you reference bug fixes on their own line with: Fixes: #14721 then it automatically gets picked up when doing the release email, and helps closing the referenced bug. > Signed-off-by: Emile Cormier > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Yann E. MORIN. > --- > Changes v1 -> v2: > - fixup formatting > - fix all pep517 prefix paths > --- > package/pkg-python.mk | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 52ce402281..867341fc7b 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -127,16 +127,16 @@ PKG_PYTHON_PEP517_ENV = \ > PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ > --interpreter=/usr/bin/python \ > --script-kind=posix \ > - --purelib=$(TARGET_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > + --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > + --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --scripts=$(TARGET_DIR)/usr/bin \ > --data=$(TARGET_DIR)/usr > > PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ > --interpreter=/usr/bin/python \ > --script-kind=posix \ > - --purelib=$(STAGING_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > + --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > + --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --scripts=$(STAGING_DIR)/usr/bin \ > --data=$(STAGING_DIR)/usr > > @@ -147,12 +147,12 @@ HOST_PKG_PYTHON_PEP517_ENV = \ > $(HOST_CONFIGURE_OPTS) > > HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > - --interpreter=/usr/bin/python \ > + --interpreter=/bin/python \ > --script-kind=posix \ > --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(HOST_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --scripts=$(HOST_DIR)/usr/bin \ > - --data=$(HOST_DIR)/usr > + --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ > + --scripts=$(HOST_DIR)/bin \ > + --data=$(HOST_DIR) > > ################################################################################ > # inner-python-package -- defines how the configuration, compilation > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 3 09:03:40 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 11:03:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 Message-ID: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 9 (and -std=c++17): ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications 70 | bool file_exists(const std::string& file) throw (error); | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 Signed-off-by: Fabrice Fontaine --- package/cloop/cloop.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index f3c4954ead..6f6d5fe6a8 100644 --- a/package/cloop/cloop.mk +++ b/package/cloop/cloop.mk @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib define HOST_CLOOP_BUILD_CMDS $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" endef define HOST_CLOOP_INSTALL_CMDS -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 09:20:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 11:20:58 +0200 Subject: [Buildroot] [PATCH 1/2] package/python-brotli: add missing C++ comment Message-ID: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> python-brotli needs C++ since its addition in commit 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it Signed-off-by: Fabrice Fontaine --- package/python-brotli/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-brotli/Config.in b/package/python-brotli/Config.in index 1c09c26866..c31315392b 100644 --- a/package/python-brotli/Config.in +++ b/package/python-brotli/Config.in @@ -5,3 +5,6 @@ config BR2_PACKAGE_PYTHON_BROTLI Python bindings for the Brotli compression library. https://github.com/google/brotli + +comment "python-brotli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 09:20:59 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 11:20:59 +0200 Subject: [Buildroot] [PATCH 2/2] package/python-weasyprint: needs C++ In-Reply-To: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> References: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> Message-ID: <20220403092059.2320843-2-fontaine.fabrice@gmail.com> Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++ dependency from python-brotli Signed-off-by: Fabrice Fontaine --- package/python-weasyprint/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 4a7e5a513d..7fe99c3951 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" + depends on BR2_INSTALL_LIBSTDCPP # python-brotli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime @@ -14,3 +15,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT The Awesome Document Factory. https://www.courtbouillon.org/weasyprint + +comment "python-weasyprint needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From bugzilla at busybox.net Sun Apr 3 09:42:18 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 03 Apr 2022 09:42:18 +0000 Subject: [Buildroot] [Bug 14721] python-argon2_cffi no longer works In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14721 Yann E. MORIN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Yann E. MORIN --- Emile, All, Thans for your bug report. We believe this has now been fixed with commit 5bea8c9521b3 (package/pkg-python.mk: fix PEP517 paths). Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From yann.morin.1998 at free.fr Sun Apr 3 09:42:36 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 11:42:36 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> Message-ID: <20220403094236.GF1811301@scaer> All, On 2022-04-02 19:08 +0200, Arnout Vandecappelle spake thusly: > On 01/04/2022 13:34, David Laight wrote: > >From: Jason A. Donenfeld > >>Sent: 01 April 2022 12:05 > >>On 4/1/22, James Hilliard wrote: > >>>I should add that I do also think this should be upstreamed to busybox, > >>>which > >>>will also reduce the amount of duplicate work as busybox is commonly used > >>>across many distros. > >>I'll work on that. > +1 to have it in busybox. I still fail to understand why this can't be a standalone project. The reasoning offered by Jason is that the code should be included and duplicated into all and each init systems out there. However, this increases the maintenance burden, as each implementation has to be actively tracked (FTR: Jason said he would actively maintain the implementation in Buildroot, which is very nice of him, so I understand that he would also do so for all other projects where he'd have seedrng included). Instead of having one implementation suitable for every init systems that use shell scripts, we'd end up with many different and diverging implementations that each have their own warts and fixes (or worse, counter-productive fixes that actually decrease the robustness of that implementation). On the other hand, having a common project would alow to centralise the fixes. It would also allow to ensure that changes do not actually break security. Finally, any evolution, be it fixes or features, would be easily available to every init systems using the common project. Furthermore, the level of customisation is very low. All that we can expect to be customisable is the location where the seeds are stored. This is already accounted for in the existing seedrng git tree. Using another hash implementation could be another thing, but there's not much point here, Blake2 being already pretty strong and known. So there is probably not much more customisation left to do. Moving it into busybox might seem a good idea at first, but this would still make for an n-th implementation to track, and since busybox has a focus on code size, the implementation there would probably diverge substantially from the canonical code we saw so far, further increasing the maintenance burden. That would also not address distributions that do not use busybox (and do not use systemd either). Buildroot can even be configured in such a way, using a sys-v init system with coreutils et al,. and no busybox, in which case having seedrng only in busybox would still not solve the problem in such a case. And init systems are not limited to what we can see publicly; there are maybe hundreds or thousands of such custom init systems behind private doors. Buildroot even has an option to configure for such an init system (BR2_INIT_NONE, which really means 'custom'). On a final note: systemd has native support for this feature, and thus one may argue that the feature is indeed already duplicated there. However, this is different in two ways: first, systemd needs random numbers for itself already, very early in the boot, possibly in an initramfs, so it can't easily rely on an external tool to do that; second, systemd is already C, so it does not make sense for the feature to be implemented as an external tool either. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From peter at korsgaard.com Sun Apr 3 09:43:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 03 Apr 2022 11:43:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-twisted: security bump to version 22.2.0 In-Reply-To: <397c22c3-8ca6-2300-a049-b8f6fa716699@gmail.com> (Romain Naour's message of "Thu, 31 Mar 2022 22:04:04 +0200") References: <20220313114741.1127825-1-fontaine.fabrice@gmail.com> <87mthbb08q.fsf@dell.be.48ers.dk> <397c22c3-8ca6-2300-a049-b8f6fa716699@gmail.com> Message-ID: <87y20m1ozz.fsf@dell.be.48ers.dk> >>>>> "Romain" == Romain Naour writes: > Hello Peter, > Le 27/03/2022 ? 22:37, Peter Korsgaard a ?crit?: >>>>>>> "Fabrice" == Fabrice Fontaine writes: >> >> > Fix CVE-2022-21716: Twisted is an event-based framework for internet >> > applications, supporting Python 3.6+. Prior to 22.2.0, Twisted SSH >> > client and server implement is able to accept an infinite amount of data >> > for the peer's SSH version identifier. This ends up with a buffer using >> > all the available memory. The attach is a simple as `nc -rv localhost 22 >> > < /dev/zero`. A patch is available in version 22.2.0. There are >> > currently no known workarounds. >> >> > https://github.com/twisted/twisted/releases/tag/twisted-22.2.0 >> >> > Signed-off-by: Fabrice Fontaine >> >> Committed to 2021.02.x and 2022.02.x, thanks. >> > As reported recently, python-twisted and python-treq must use the same version: > http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html > But this backport requires to update python-treq package: > https://git.buildroot.net/buildroot/commit/?id=933447c27c41ebcdb5eb9fa2a374456699ae33f2 Thanks, backported the python-treq bump to 2021.02.x / 2022.02.x. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 3 09:32:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 3 Apr 2022 11:32:19 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-treq: fix dependencies Message-ID: <20220403093405.072E185ED7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cd7f1dcad51c1dc77bb1d8a285180c69b2b60f41 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x python-treq needs TLS support in twisted so select BR2_PACKAGE_PYTHON_TWISTED_TLS moreover it doesn't depend directly on service_identity and pyOpenSSL since version 17.3.0 and https://github.com/twisted/treq/commit/ef2ac7ea2b74774adb9fef7675facc6017bfda89 Finally, python-idna was never a direct dependency of python-treq Signed-off-by: Fabrice Fontaine Reviewed-by: Romain Naour Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit b5b4496c425576e4e444b65474d397aeb4a7cd42) Signed-off-by: Peter Korsgaard --- package/python-treq/Config.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in index 6ca8be8ab7..9fd0f8b0ed 100644 --- a/package/python-treq/Config.in +++ b/package/python-treq/Config.in @@ -3,13 +3,11 @@ config BR2_PACKAGE_PYTHON_TREQ depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl depends on BR2_PACKAGE_PYTHON3 # python-twisted select BR2_PACKAGE_PYTHON_ATTRS # runtime - select BR2_PACKAGE_PYTHON_IDNA # runtime select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime - select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_TWISTED # runtime + select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime help treq is an HTTP library inspired by requests but written on top of Twisted's Agents. It provides a simple, higher level From peter at korsgaard.com Sun Apr 3 09:32:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 3 Apr 2022 11:32:39 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-treq: bump to version 22.2.0 Message-ID: <20220403093405.108DD85ED9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3be390cbffea0d636f587a6199e7f8ce2fc536aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x - hyperlink is a dependency since version 20.4.0 and https://github.com/twisted/treq/commit/5475def96f3ec93075ff95709fec4acd154e6fed - six is not a dependency since version 21.5.0 and https://github.com/twisted/treq/commit/22bdb399a03b0eebaa93023b80d348f584f567d5 Signed-off-by: Fabrice Fontaine Reviewed-by: Romain Naour Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 933447c27c41ebcdb5eb9fa2a374456699ae33f2) Signed-off-by: Peter Korsgaard --- package/python-treq/Config.in | 2 +- package/python-treq/python-treq.hash | 4 ++-- package/python-treq/python-treq.mk | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in index 9fd0f8b0ed..9875313e1e 100644 --- a/package/python-treq/Config.in +++ b/package/python-treq/Config.in @@ -3,9 +3,9 @@ config BR2_PACKAGE_PYTHON_TREQ depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl depends on BR2_PACKAGE_PYTHON3 # python-twisted select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_HYPERLINK # runtime select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_TWISTED # runtime select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime help diff --git a/package/python-treq/python-treq.hash b/package/python-treq/python-treq.hash index 288279cbd8..aecf71aad8 100644 --- a/package/python-treq/python-treq.hash +++ b/package/python-treq/python-treq.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/treq/json -md5 b75f6c89fd481989a9cfdec8d61a6d84 treq-20.3.0.tar.gz -sha256 a72d7587d6f81c7a32620b00175825b4334bafbde73d37098d139ac7b11dca98 treq-20.3.0.tar.gz +md5 43892086d556e7596392134f1e10bdef treq-22.2.0.tar.gz +sha256 df757e3f141fc782ede076a604521194ffcb40fa2645cf48e5a37060307f52ec treq-22.2.0.tar.gz # Locally computed sha256 checksums sha256 7cc1b65e1937b1cc07052bb864ec96d8e5fd413400c0842e5b89a8201a600293 LICENSE diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 320f57b6f2..57dc50ee74 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TREQ_VERSION = 20.3.0 +PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz -PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/98/09/25064d7224efde9fd51e8865353d516c53306e476eab27ab21fb258cf7d4 +PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 PYTHON_TREQ_LICENSE = MIT PYTHON_TREQ_LICENSE_FILES = LICENSE PYTHON_TREQ_SETUP_TYPE = setuptools From peter at korsgaard.com Sun Apr 3 07:02:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 3 Apr 2022 09:02:33 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-treq: bump to version 22.2.0 Message-ID: <20220403093412.3E05685F3F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99cf9381a0f114994dd068e084108d1d5335a8fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x - hyperlink is a dependency since version 20.4.0 and https://github.com/twisted/treq/commit/5475def96f3ec93075ff95709fec4acd154e6fed - six is not a dependency since version 21.5.0 and https://github.com/twisted/treq/commit/22bdb399a03b0eebaa93023b80d348f584f567d5 Signed-off-by: Fabrice Fontaine Reviewed-by: Romain Naour Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 933447c27c41ebcdb5eb9fa2a374456699ae33f2) Signed-off-by: Peter Korsgaard --- package/python-treq/Config.in | 2 +- package/python-treq/python-treq.hash | 4 ++-- package/python-treq/python-treq.mk | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in index 7c02a35638..5d76a5cdd6 100644 --- a/package/python-treq/Config.in +++ b/package/python-treq/Config.in @@ -3,9 +3,9 @@ config BR2_PACKAGE_PYTHON_TREQ # twisted TLS -> python-{pyopenssl,service-identity} depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_HYPERLINK # runtime select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_TWISTED # runtime select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime help diff --git a/package/python-treq/python-treq.hash b/package/python-treq/python-treq.hash index 288279cbd8..aecf71aad8 100644 --- a/package/python-treq/python-treq.hash +++ b/package/python-treq/python-treq.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/treq/json -md5 b75f6c89fd481989a9cfdec8d61a6d84 treq-20.3.0.tar.gz -sha256 a72d7587d6f81c7a32620b00175825b4334bafbde73d37098d139ac7b11dca98 treq-20.3.0.tar.gz +md5 43892086d556e7596392134f1e10bdef treq-22.2.0.tar.gz +sha256 df757e3f141fc782ede076a604521194ffcb40fa2645cf48e5a37060307f52ec treq-22.2.0.tar.gz # Locally computed sha256 checksums sha256 7cc1b65e1937b1cc07052bb864ec96d8e5fd413400c0842e5b89a8201a600293 LICENSE diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 320f57b6f2..57dc50ee74 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TREQ_VERSION = 20.3.0 +PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz -PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/98/09/25064d7224efde9fd51e8865353d516c53306e476eab27ab21fb258cf7d4 +PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 PYTHON_TREQ_LICENSE = MIT PYTHON_TREQ_LICENSE_FILES = LICENSE PYTHON_TREQ_SETUP_TYPE = setuptools From peter at korsgaard.com Sun Apr 3 09:43:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 03 Apr 2022 11:43:56 +0200 Subject: [Buildroot] [PATCH 2/2] package/python-treq: bump to version 22.2.0 In-Reply-To: (Arnout Vandecappelle's message of "Thu, 10 Mar 2022 21:45:06 +0100") References: <20220221230815.2203955-1-fontaine.fabrice@gmail.com> Message-ID: <87tuba1oyr.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: > On 22/02/2022 00:08, Fabrice Fontaine wrote: >> - hyperlink is a dependency since version 20.4.0 and >> https://github.com/twisted/treq/commit/5475def96f3ec93075ff95709fec4acd154e6fed >> - six is not a dependency since version 21.5.0 and >> https://github.com/twisted/treq/commit/22bdb399a03b0eebaa93023b80d348f584f567d5 >> Signed-off-by: Fabrice Fontaine Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 3 09:44:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 3 Apr 2022 11:44:06 +0200 Subject: [Buildroot] [git commit] package/python-{treq, twisted}: add a comment to use the same version Message-ID: <20220403093454.4C1E385F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5140d10bf6b9f01e7e1ecb2b357885e03e9d5fb4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master As reported by [1], python-twisted and python-treq must use the same version because its the same project: https://github.com/twisted/twisted https://github.com/twisted/treq We have to update python-treq to version 22.2.0 [2] otherwise we have a runtime issue: Traceback (most recent call last): File "/root/sample_python_treq.py", line 2, in import treq File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location) The comment should avoid forgeting one of them while upgrading or backporting version bump. [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 Signed-off-by: Romain Naour Cc: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/python-treq/python-treq.mk | 3 +++ package/python-twisted/python-twisted.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 57dc50ee74..8995bf2cfe 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-twisted package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 diff --git a/package/python-twisted/python-twisted.mk b/package/python-twisted/python-twisted.mk index e5d643ec05..8a89d3dc82 100644 --- a/package/python-twisted/python-twisted.mk +++ b/package/python-twisted/python-twisted.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-treq package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TWISTED_VERSION = 22.2.0 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46 From peter at korsgaard.com Sun Apr 3 09:44:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 03 Apr 2022 11:44:46 +0200 Subject: [Buildroot] [PATCH] package/python-{treq, twisted}: add a comment to use the same version In-Reply-To: <20220331201718.728570-1-romain.naour@gmail.com> (Romain Naour's message of "Thu, 31 Mar 2022 22:17:18 +0200") References: <20220331201718.728570-1-romain.naour@gmail.com> Message-ID: <87pmly1oxd.fsf@dell.be.48ers.dk> >>>>> "Romain" == Romain Naour writes: > As reported by [1], python-twisted and python-treq must use the same > version because its the same project: > https://github.com/twisted/twisted > https://github.com/twisted/treq > We have to update python-treq to version 22.2.0 [2] otherwise we have > a runtime issue: > Traceback (most recent call last): > File "/root/sample_python_treq.py", line 2, in > import treq > File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in > File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in > File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in > ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown > location) > The comment should avoid forgeting one of them while upgrading or > backporting version bump. > [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html > [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 > [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 > Signed-off-by: Romain Naour > Cc: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Apr 3 10:03:18 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 12:03:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind Message-ID: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Use internal bind as dhcp doesn't build since bump of bind to version 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream doesn't plan to fix it any time soon: https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 In file included from ../includes/dhcpd.h:91, from ctrace.c:29: ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 Signed-off-by: Fabrice Fontaine --- package/dhcp/Config.in | 1 - package/dhcp/dhcp.mk | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index 515040c612..e0706efafb 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP # fork() depends on BR2_USE_MMU depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_BIND help DHCP relay agent from the ISC DHCP distribution. diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 18765a3639..f1e3c22f1c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE -DHCP_DEPENDENCIES = bind host-gawk +DHCP_DEPENDENCIES = host-gawk DHCP_CPE_ID_VENDOR = isc +# internal bind does not support parallel builds. +DHCP_MAKE = $(MAKE1) # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk DHCP_CONF_OPTS = \ - --with-libbind=$(STAGING_DIR)/usr \ + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ --with-randomdev=/dev/random \ --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-relay6-pid-file=/var/run/dhcrelay6.pid +ifeq ($(BR2_PACKAGE_ZLIB),y) +DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_DEPENDENCIES += zlib +else +DHCP_BIND_EXTRA_CONFIG += --without-zlib +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DHCP_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_STATIC_LIBS),y) -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" DHCP_CONF_OPTS += --disable-libtool else DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 10:31:46 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 12:31:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/flac: fix build on ppc64 Message-ID: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> Disable vsx to avoid the following build failure on ppc64 raised since bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af and https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: In file included from lpc_intrin_vsx.c:46: /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support | ^~~~~ lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': lpc_intrin_vsx.c:94:7: warning: implicit declaration of function 'vec_vsx_ld'; did you mean 'vec_vslh'? [-Wimplicit-function-declaration] 94 | d0 = vec_vsx_ld(0, base); | ^~~~~~~~~~ | vec_vslh Fixes: - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 Signed-off-by: Fabrice Fontaine --- package/flac/flac.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/flac/flac.mk b/package/flac/flac.mk index 2ff048b6e6..3a18d81591 100644 --- a/package/flac/flac.mk +++ b/package/flac/flac.mk @@ -20,7 +20,8 @@ FLAC_CONF_OPTS = \ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ --disable-xmms-plugin \ --disable-altivec \ - --disable-stack-smash-protection + --disable-stack-smash-protection \ + --disable-vsx ifeq ($(BR2_PACKAGE_LIBOGG),y) FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 11:04:53 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 13:04:53 +0200 Subject: [Buildroot] [PATCH 1/3] package/htop: fix sensors option Message-ID: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used --{with,without}-sensors instead of --{dis,en}able-sensors Signed-off-by: Fabrice Fontaine --- package/htop/htop.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 7caa47ce13..210518da2f 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities endif ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -HTOP_CONF_OPTS += --with-sensors +HTOP_CONF_OPTS += --enable-sensors HTOP_DEPENDENCIES += lm-sensors else -HTOP_CONF_OPTS += --without-sensors +HTOP_CONF_OPTS += --disable-sensors endif ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 11:04:54 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 13:04:54 +0200 Subject: [Buildroot] [PATCH 2/3] package/htop: use official tarball In-Reply-To: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Message-ID: <20220403110455.2875846-2-fontaine.fabrice@gmail.com> Signed-off-by: Fabrice Fontaine --- package/htop/htop.hash | 4 +++- package/htop/htop.mk | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.hash b/package/htop/htop.hash index dffe5ca1ad..d7c39be4d0 100644 --- a/package/htop/htop.hash +++ b/package/htop/htop.hash @@ -1,3 +1,5 @@ +# From https://github.com/htop-dev/htop/releases/download/3.1.2/htop-3.1.2.tar.xz.sha256 +sha256 884bce5b58cb113127860b9e368609019e92416a81550fdf0752052f3a64b388 htop-3.1.2.tar.xz + # Locally calculated -sha256 fe9559637c8f21f5fd531a4c072048a404173806acbdad1359c6b82fd87aa001 htop-3.1.2.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 210518da2f..1e7b171a17 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -5,7 +5,8 @@ ################################################################################ HTOP_VERSION = 3.1.2 -HTOP_SITE = $(call github,htop-dev,htop,$(HTOP_VERSION)) +HTOP_SOURCE = htop-$(HTOP_VERSION).tar.xz +HTOP_SITE = https://github.com/htop-dev/htop/releases/download/$(HTOP_VERSION) HTOP_DEPENDENCIES = ncurses HTOP_AUTORECONF = YES # Prevent htop build system from searching the host paths -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 11:04:55 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 13:04:55 +0200 Subject: [Buildroot] [PATCH 3/3] package/htop: fix hwloc static build In-Reply-To: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Message-ID: <20220403110455.2875846-3-fontaine.fabrice@gmail.com> Fix the following static build failure with hwloc raised since commit c83bf9720632bcd4d438094a9fc30feff69fc555: checking for hwloc_get_proc_cpubind in -lhwloc... no configure: error: can not find required library libhwloc Fixes: - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 Signed-off-by: Fabrice Fontaine --- ...igure.ac-fix-static-build-with-hwloc.patch | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch diff --git a/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch new file mode 100644 index 0000000000..0ac79766c5 --- /dev/null +++ b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch @@ -0,0 +1,54 @@ +From 4ccad4604586c921b4ad831b254496c2cdece9fc Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 17:27:01 +0200 +Subject: [PATCH] configure.ac: fix static build with hwloc + +Retrieve hwloc dependencies through pkg-config to avoid the following +static build failure: + +checking for hwloc_get_proc_cpubind in -lhwloc... no +configure: error: can not find required library libhwloc + +This build failure is raised because without pkg-config, hwloc +dependencies such as libxml2 are not retrieved: + +configure:8999: checking for hwloc_get_proc_cpubind in -lhwloc +configure:9022: /home/autobuild/autobuild/instance-0/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o conftest -D_GNU_SOURCE -I/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lhwloc -llzma -L/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lncurses -lm >&5 +/home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib/libhwloc.a(topology-xml-libxml.o): in function `hwloc_libxml_free_buffer': +topology-xml-libxml.c:(.text+0x6a): undefined reference to `xmlFree' + +Fixes: + - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/htop-dev/htop/commit/4ccad4604586c921b4ad831b254496c2cdece9fc] +--- + configure.ac | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4ecac1ecf..6bb7eb69f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -456,8 +456,18 @@ case "$enable_hwloc" in + no) + ;; + yes) +- AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) +- AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ m4_ifdef([PKG_PROG_PKG_CONFIG], [ ++ PKG_PROG_PKG_CONFIG() ++ PKG_CHECK_MODULES(HWLOC, hwloc, [ ++ CFLAGS="$CFLAGS $HWLOC_CFLAGS" LIBS="$LIBS $HWLOC_LIBS" ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) + ;; + *) + AC_MSG_ERROR([bad value '$enable_hwloc' for --enable-hwloc]) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 12:13:27 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 14:13:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpsl: fix build with libiconv Message-ID: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since the addition of the package in commit 47acda3a95bd4310f884e741f20785d374af7b22: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': psl.c:(.text+0x1584): undefined reference to `libiconv_open' Fixes: - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 Signed-off-by: Fabrice Fontaine --- ...dd-libiconv-dep-to-meson-build-again.patch | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch diff --git a/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch new file mode 100644 index 0000000000..72f50aa593 --- /dev/null +++ b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch @@ -0,0 +1,60 @@ +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 +From: Zhao Zhili +Date: Thu, 7 Jan 2021 20:59:17 +0800 +Subject: [PATCH] Add libiconv dep to meson build again + +Build success on macOS and ubuntu. + +[Retrieved from: +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 14 ++++++++++++++ + src/meson.build | 2 +- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f248171..fb2de31 100644 +--- a/meson.build ++++ b/meson.build +@@ -20,6 +20,7 @@ libicu_dep = notfound + libidn_dep = notfound + libunistring = notfound + networking_deps = notfound ++libiconv_dep = notfound + + # FIXME: Cleanup this when Meson gets 'feature-combo': + # https://github.com/mesonbuild/meson/issues/4566 +@@ -86,6 +87,19 @@ endif + if libidn2_dep.found() or libidn_dep.found() + # Check for libunistring, we need it for psl_str_to_utf8lower() + libunistring = cc.find_library('unistring') ++ found_iconv = false ++ if cc.has_function('iconv_open') ++ libiconv_dep = [] ++ found_iconv = true ++ endif ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') ++ libiconv_dep = [cc.find_library('iconv')] ++ found_iconv = true ++ endif ++ ++ if not found_iconv ++ error('iconv implementation not found') ++ endif + endif + + if host_machine.system() == 'windows' +diff --git a/src/meson.build b/src/meson.build +index 0d1dcdf..746bf44 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -19,7 +19,7 @@ cargs = [ + libpsl = library('psl', sources, suffixes_dafsa_h, + include_directories : [configinc, includedir], + c_args : cargs, +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], + version: lt_version, + install: true, + ) -- 2.35.1 From arnout at mind.be Sun Apr 3 13:58:29 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 15:58:29 +0200 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> Message-ID: <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> On 02/04/2022 20:58, James Hilliard wrote: > On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: >> >> Hi James, >> >> On 02/04/2022 03:05, James Hilliard wrote: [snip] >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') >> >> I don't understand why for this particular one you remove it explicitly, while >> for other cases you rely (I guess) on the dependency check to make sure we get a >> valid config (eventually). > > Others were missing the empty string config for matching against so > this approach > didn't seem to work there. I still don't understand... If I have the time, I'll try to cook up a patch that does the check the same way as all the other checks are done, and you an tell me if you're happy with that. [snip] >> I agree though that it's more work to do that than the current patch, so >> perhaps this is a good first step. > > Yeah, best to do this incrementally IMO, since this is revealing issues already > in the autobuilder relating to config validation I'm running this on: > http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 So this is running a modified buildroot-test that passes the --no-toolchains-csv option? > Note that this autobuilder is an aarch64(running > https://asahilinux.org/) host so > it doesn't use the prebuilt toolchains. [snip] >>> - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> - "savedefconfig"]) >>> + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> + "savedefconfig"]): >> >> This one should simply never fail, so it should move outside of the loop, >> after checking dependencies. > > I just tested that this can fail so I've kept it in the loop for now. Okay, let me rephrase: if 'make dependencies' passes, then 'make savedefconfig' should never fail. If you had a situation where make savedefconfig fails, I'd be interested to know about it and debug it. Regards, Arnout >>> + continue >>> >>> - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> - "dependencies"]) >>> + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> + "dependencies"]): >>> + continue >>> + break >>> + return 0 >>> >>> >>> if __name__ == '__main__': >>> @@ -433,10 +443,18 @@ if __name__ == '__main__': >>> parser.add_argument("--buildrootdir", "-b", >>> help="Buildroot directory (relative to current directory)", >>> type=str, default='.') >>> - parser.add_argument("--toolchains-csv", >>> - help="Path of the toolchain configuration file", >>> - type=str, >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") >>> + >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) >>> + toolchains_csv.add_argument("--toolchains-csv", >>> + dest="toolchains_csv", >>> + help="Path of the toolchain configuration file", >>> + type=str) >>> + toolchains_csv.add_argument("--no-toolchains-csv", >>> + dest="toolchains_csv", >>> + help="Generate random toolchain configuration", >>> + action='store_false') >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") >>> + >>> args = parser.parse_args() >>> >>> # We need the absolute path to use with O=, because the relative From fontaine.fabrice at gmail.com Sun Apr 3 14:00:24 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 16:00:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/glib-networking: fix build with libressl Message-ID: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> glib-networking raises the following build failure with libressl: ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) | ^~~~~~~~~~~~~~ | TLS1_2_VERSION ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c Signed-off-by: Fabrice Fontaine --- package/glib-networking/Config.in | 1 + package/glib-networking/glib-networking.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in index 38cded5e6b..9c5d36af16 100644 --- a/package/glib-networking/Config.in +++ b/package/glib-networking/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS help Network-related GIO modules for glib. diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index f74e520d31..e8905dfff4 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -31,7 +31,7 @@ else GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) GLIB_NETWORKING_DEPENDENCIES += openssl GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled else -- 2.35.1 From arnout at mind.be Sun Apr 3 14:07:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 16:07:17 +0200 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> Message-ID: On 03/04/2022 15:58, Arnout Vandecappelle wrote: > > > On 02/04/2022 20:58, James Hilliard wrote: >> On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: >>> >>> ?? Hi James, >>> >>> On 02/04/2022 03:05, James Hilliard wrote: > [snip] >>>> +??? if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ >>>> +?????? 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: >>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') >>> >>> ?? I don't understand why for this particular one you remove it explicitly, >>> while >>> for other cases you rely (I guess) on the dependency check to make sure we >>> get a >>> valid config (eventually). >> >> Others were missing the empty string config for matching against so >> this approach >> didn't seem to work there. > > ?I still don't understand... If I have the time, I'll try to cook up a patch > that does the check the same way as all the other checks are done, and you an > tell me if you're happy with that. ?Looks like the check is already there in skeleton-custom.mk: ifeq ($(BR2_PACKAGE_SKELETON_CUSTOM)$(BR_BUILDING),yy) ifeq ($(SKELETON_CUSTOM_PATH),) $(error No path specified for the custom skeleton) endif endif So I don't understand why this fixup is needed... ?Regards, ?Arnout > > [snip] >>> ?? I agree though that it's more work to do that than the current patch, so >>> perhaps this is a good first step. >> >> Yeah, best to do this incrementally IMO, since this is revealing issues already >> in the autobuilder relating to config validation I'm running this on: >> http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 > > ?So this is running a modified buildroot-test that passes the > --no-toolchains-csv option? > >> Note that this autobuilder is an aarch64(running >> https://asahilinux.org/) host so >> it doesn't use the prebuilt toolchains. > > [snip] >>>> -??? subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", >>>> args.buildrootdir, >>>> -?????????????????????????? "savedefconfig"]) >>>> +??????????? if subprocess.check_call(["make", "O=%s" % args.outputdir, >>>> "-C", args.buildrootdir, >>>> +????????????????????????????????????? "savedefconfig"]): >>> >>> ?? This one should simply never fail, so it should move outside of the loop, >>> after checking dependencies. >> >> I just tested that this can fail so I've kept it in the loop for now. > > ?Okay, let me rephrase: if 'make dependencies' passes, then 'make > savedefconfig' should never fail. If you had a situation where make > savedefconfig fails, I'd be interested to know about it and debug it. > > > ?Regards, > ?Arnout > >>>> +??????????????? continue >>>> >>>> -??? return subprocess.call(["make", "O=%s" % args.outputdir, "-C", >>>> args.buildrootdir, >>>> -??????????????????????????? "dependencies"]) >>>> +??????????? if subprocess.call(["make", "O=%s" % args.outputdir, "-C", >>>> args.buildrootdir, >>>> +??????????????????????????????? "dependencies"]): >>>> +??????????????? continue >>>> +??????????? break >>>> +??? return 0 >>>> >>>> >>>> ?? if __name__ == '__main__': >>>> @@ -433,10 +443,18 @@ if __name__ == '__main__': >>>> ?????? parser.add_argument("--buildrootdir", "-b", >>>> ?????????????????????????? help="Buildroot directory (relative to current >>>> directory)", >>>> ?????????????????????????? type=str, default='.') >>>> -??? parser.add_argument("--toolchains-csv", >>>> -??????????????????????? help="Path of the toolchain configuration file", >>>> -??????????????????????? type=str, >>>> - default="support/config-fragments/autobuild/toolchain-configs.csv") >>>> + >>>> +??? toolchains_csv = parser.add_mutually_exclusive_group(required=False) >>>> +??? toolchains_csv.add_argument("--toolchains-csv", >>>> +??????????????????????????????? dest="toolchains_csv", >>>> +??????????????????????????????? help="Path of the toolchain configuration >>>> file", >>>> +??????????????????????????????? type=str) >>>> +??? toolchains_csv.add_argument("--no-toolchains-csv", >>>> +??????????????????????????????? dest="toolchains_csv", >>>> +??????????????????????????????? help="Generate random toolchain >>>> configuration", >>>> +??????????????????????????????? action='store_false') >>>> + >>>> parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") >>>> + >>>> ?????? args = parser.parse_args() >>>> >>>> ?????? # We need the absolute path to use with O=, because the relative From arnout at mind.be Sun Apr 3 15:02:29 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:02:29 +0200 Subject: [Buildroot] [PATCH 1/1] Revert "package/tpm2-tss: bump version to 3.2.0" In-Reply-To: <20220328201521.4084-1-fontaine.fabrice@gmail.com> References: <20220328201521.4084-1-fontaine.fabrice@gmail.com> Message-ID: <916c0cf8-a0d5-d6db-fbf3-61601a39bf99@mind.be> On 28/03/2022 22:15, Fabrice Fontaine wrote: > This reverts commit ed13a65a08cfe315aed9344abc609f5f2b92c782 as it > has the following non trivial issues: > - pkgconfig files have no version number if we run autoreconf > (https://github.com/tpm2-software/tpm2-tss/issues/2329) resulting in > the following build failures with tpm2-{abrmd,pkcs11} or libsecret: > > configure: error: Package requirements (tss2-esys >= 2.0) were not met: > > Package dependency requirement 'tss2-esys >= 2.0' could not be satisfied. > Package 'tss2-esys' has version '', required version is '>= 2.0' > > - addgroup/groupadd and adduser/useradd are mandatory since > https://github.com/tpm2-software/tpm2-tss/commit/7fde604383c62fc764a1e060dff48fc06f79860b: > > configure: error: addgroup or groupadd are needed. > > It seems better to find an upstreamable solution to both issues before > bumping. > > Fixes: > - http://autobuild.buildroot.org/results/d4d6807af3493deb47951c6f11f427040e5c5e11 > - http://autobuild.buildroot.org/results/a304e45bacb8cd7e7ea9bc49e4a8ec9359ca0a3a > - http://autobuild.buildroot.org/results/be0befa81e955ac8cf16f9d20723f9b9b174e012 > - http://autobuild.buildroot.org/results/d4ebee400423f6df51613193c86db3c58c94ff88 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/tpm2-tss/tpm2-tss.hash | 2 +- > package/tpm2-tss/tpm2-tss.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/tpm2-tss/tpm2-tss.hash b/package/tpm2-tss/tpm2-tss.hash > index db6b3b7ad0..b6eb3c1f97 100644 > --- a/package/tpm2-tss/tpm2-tss.hash > +++ b/package/tpm2-tss/tpm2-tss.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 48305e4144dcf6d10f3b25b7bccf0189fd2d1186feafd8cd68c6b17ecf0d7912 tpm2-tss-3.2.0.tar.gz > +sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz > sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE > diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk > index 2bb1235177..f475697e40 100644 > --- a/package/tpm2-tss/tpm2-tss.mk > +++ b/package/tpm2-tss/tpm2-tss.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TPM2_TSS_VERSION = 3.2.0 > +TPM2_TSS_VERSION = 3.1.0 > TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) > TPM2_TSS_LICENSE = BSD-2-Clause > TPM2_TSS_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 3 15:02:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:02:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/paho-mqtt-c: bump to version 1.3.10 In-Reply-To: <20220328202136.7182-1-fontaine.fabrice@gmail.com> References: <20220328202136.7182-1-fontaine.fabrice@gmail.com> Message-ID: On 28/03/2022 22:21, Fabrice Fontaine wrote: > Service release. Issues resolved: > https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1 > > https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.10 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- > package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash > index 4cdedfbf9a..931bf5b9c8 100644 > --- a/package/paho-mqtt-c/paho-mqtt-c.hash > +++ b/package/paho-mqtt-c/paho-mqtt-c.hash > @@ -1,5 +1,5 @@ > # Locally computed: > -sha256 386c9b5fa1cf6d0d516db12d57fd8f6a410dd0fdc5e9a2da870aae437a2535ed paho-mqtt-c-1.3.9.tar.gz > +sha256 c70db96e66adacae411d5d875fbb08bca6ff9945de3d215b3af93cbd22792db5 paho-mqtt-c-1.3.10.tar.gz > sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 > sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 > sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE > diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk > index 68b58f2e02..d6356a7ccc 100644 > --- a/package/paho-mqtt-c/paho-mqtt-c.mk > +++ b/package/paho-mqtt-c/paho-mqtt-c.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PAHO_MQTT_C_VERSION = 1.3.9 > +PAHO_MQTT_C_VERSION = 1.3.10 > PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) > PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause > PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From arnout at mind.be Sun Apr 3 15:03:02 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:03:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/nbd: needs host-bison In-Reply-To: <20220329184458.289902-1-fontaine.fabrice@gmail.com> References: <20220329184458.289902-1-fontaine.fabrice@gmail.com> Message-ID: <6bc40b55-9462-041f-ca77-29a58dbfe225@mind.be> On 29/03/2022 20:44, Fabrice Fontaine wrote: > host-bison is mandatory to avoid the following build failure since bump > to version 3.24 in commit bf2e459bb9fc9fe57147313cda35f7022172e6e8 and > https://github.com/NetworkBlockDevice/nbd/commit/cd099ee7d0602104506bdd5063c0a3db2ec9b550: > > configure: error: bison is required > > Fixes: > - http://autobuild.buildroot.org/results/05872813c9e9b9f39f960fa9a33ad82dc124c808 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/nbd/nbd.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk > index f0fb23910e..50f698dd24 100644 > --- a/package/nbd/nbd.mk > +++ b/package/nbd/nbd.mk > @@ -8,7 +8,7 @@ NBD_VERSION = 3.24 > NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz > NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) > NBD_CONF_OPTS = --enable-lfs > -NBD_DEPENDENCIES = host-pkgconf libglib2 > +NBD_DEPENDENCIES = host-bison host-pkgconf libglib2 > NBD_LICENSE = GPL-2.0 > NBD_LICENSE_FILES = COPYING > NBD_CPE_ID_VENDOR = network_block_device_project From arnout at mind.be Sun Apr 3 15:03:18 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:03:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/cog: bump to version 0.12.4 In-Reply-To: <20220330071449.4060342-1-james.hilliard1@gmail.com> References: <20220330071449.4060342-1-james.hilliard1@gmail.com> Message-ID: <48a1ca74-1427-c1b0-c2af-7a9ba97dc7c3@mind.be> On 30/03/2022 09:14, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/cog/cog.hash | 8 ++++---- > package/cog/cog.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/cog/cog.hash b/package/cog/cog.hash > index 839b12e619..00d3a4e191 100644 > --- a/package/cog/cog.hash > +++ b/package/cog/cog.hash > @@ -1,7 +1,7 @@ > -# From https://wpewebkit.org/releases/cog-0.12.1.tar.xz.sums > -md5 25a80a5a8a52b8873933a128151b8928 cog-0.12.1.tar.xz > -sha1 3b9f67bc23cd9e3db2221366d6cde4ca0b06b811 cog-0.12.1.tar.xz > -sha256 23caaafa2ef5c2f6a97d467fcce908ea71087ad03b72deb9280225c0dd561c91 cog-0.12.1.tar.xz > +# From https://wpewebkit.org/releases/cog-0.12.4.tar.xz.sums > +md5 cdb8acdc3acc9b5082e7db9c279155c3 cog-0.12.4.tar.xz > +sha1 600b30efadf55bf94ea5062a0a1b2ea0b74053e5 cog-0.12.4.tar.xz > +sha256 9983c621c8e14fca3792ff566cb6b86d6a1f17446eb4c083af4a5a749112982f cog-0.12.4.tar.xz > > # Hashes for license files: > sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING > diff --git a/package/cog/cog.mk b/package/cog/cog.mk > index 2f6ef402fb..f2ca0af93d 100644 > --- a/package/cog/cog.mk > +++ b/package/cog/cog.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -COG_VERSION = 0.12.1 > +COG_VERSION = 0.12.4 > COG_SITE = https://wpewebkit.org/releases > COG_SOURCE = cog-$(COG_VERSION).tar.xz > COG_INSTALL_STAGING = YES From arnout at mind.be Sun Apr 3 15:03:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:03:48 +0200 Subject: [Buildroot] [PATCH] package/luaexpt: bump to version 1.4.0 In-Reply-To: <20220330073152.1804932-1-francois.perrad@gadz.org> References: <20220330073152.1804932-1-francois.perrad@gadz.org> Message-ID: <5e890c81-6982-120e-5fbc-a201f3483411@mind.be> On 30/03/2022 09:31, Francois Perrad wrote: > moved under the hat of https://github.com/lunarmodules > > remove upstream patch > > diff LICENSE: > -The MIT License (MIT) > -Copyright (c) 2013 Tom?s Guisasola > +Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild > > Signed-off-by: Francois Perrad Applied to master after fixing the typo in the subject, thanks. Regards, Arnout > --- > .../0001-restore-getcurrentbytecount.patch | 40 ------------------- > package/luaexpat/Config.in | 2 +- > package/luaexpat/luaexpat.hash | 4 +- > package/luaexpat/luaexpat.mk | 3 +- > 4 files changed, 5 insertions(+), 44 deletions(-) > delete mode 100644 package/luaexpat/0001-restore-getcurrentbytecount.patch > > diff --git a/package/luaexpat/0001-restore-getcurrentbytecount.patch b/package/luaexpat/0001-restore-getcurrentbytecount.patch > deleted file mode 100644 > index 6cf219267..000000000 > --- a/package/luaexpat/0001-restore-getcurrentbytecount.patch > +++ /dev/null > @@ -1,40 +0,0 @@ > -From 77cb691f781918908dfe34785f00a5ff75d5cc20 Mon Sep 17 00:00:00 2001 > -From: Francois Perrad > -Date: Sat, 16 Feb 2019 15:56:00 +0100 > -Subject: [PATCH] restore getcurrentbytecount > - > -see https://github.com/tomasguisasola/luaexpat/issues/3 > - > -Fetch from: https://github.com/tomasguisasola/luaexpat/commit/0926f2d705109b7d35b721344264b39c1169e0de > - > -Signed-off-by: Francois Perrad > ---- > - src/lxplib.c | 7 +++++++ > - 1 file changed, 7 insertions(+) > - > -diff --git a/luaexpat-1.3.3/src/lxplib.c b/luaexpat-1.3.3/src/lxplib.c > -index 7726913..35bec3c 100644 > ---- a/luaexpat-1.3.3/src/lxplib.c > -+++ b/luaexpat-1.3.3/src/lxplib.c > -@@ -538,11 +538,18 @@ static int lxp_stop (lua_State *L) { > - return 1; > - } > - > -+static int lxp_getcurrentbytecount (lua_State* L) { > -+ lxp_userdata *xpu = checkparser(L, 1); > -+ lua_pushinteger(L, XML_GetCurrentByteCount(xpu->parser)); > -+ return 1; > -+} > -+ > - static const luaL_Reg lxp_meths[] = { > - {"parse", lxp_parse}, > - {"close", lxp_close}, > - {"__gc", parser_gc}, > - {"pos", lxp_pos}, > -+ {"getcurrentbytecount", lxp_getcurrentbytecount}, > - {"setencoding", lxp_setencoding}, > - {"getcallbacks", getcallbacks}, > - {"getbase", getbase}, > --- > -2.17.1 > - > diff --git a/package/luaexpat/Config.in b/package/luaexpat/Config.in > index 2322dc430..25b067460 100644 > --- a/package/luaexpat/Config.in > +++ b/package/luaexpat/Config.in > @@ -4,4 +4,4 @@ config BR2_PACKAGE_LUAEXPAT > help > LuaExpat is a SAX XML parser based on the Expat library. > > - http://www.keplerproject.org/luaexpat/ > + https://lunarmodules.github.io/luaexpat > diff --git a/package/luaexpat/luaexpat.hash b/package/luaexpat/luaexpat.hash > index dd1cf40e5..fbfb623fc 100644 > --- a/package/luaexpat/luaexpat.hash > +++ b/package/luaexpat/luaexpat.hash > @@ -1,3 +1,3 @@ > # computed by luarocks/buildroot > -sha256 b55908fcd7df490a59aab25284460add8283f1c6b94ab584900fe3e49775172a luaexpat-1.3.3-1.src.rock > -sha256 7f5cb0c1750babcbb09637b7f0ff34972d51cf23b7f413bef902b47aa65febcd luaexpat-1.3.3/LICENSE > +sha256 bee88ddc1063f49c5685b75b6696e8df0607a388432cbcb189cd0b8291d956aa luaexpat-1.4.0-1.src.rock > +sha256 7e6a727e5b57cca713a2f2633f05d7e0cc1e261cc6a7613bbe266e625b2f14da luaexpat/LICENSE > diff --git a/package/luaexpat/luaexpat.mk b/package/luaexpat/luaexpat.mk > index 8c86b24f2..c176fb8c1 100644 > --- a/package/luaexpat/luaexpat.mk > +++ b/package/luaexpat/luaexpat.mk > @@ -4,7 +4,8 @@ > # > ################################################################################ > > -LUAEXPAT_VERSION = 1.3.3-1 > +LUAEXPAT_VERSION = 1.4.0-1 > +LUAEXPAT_SUBDIR = luaexpat > LUAEXPAT_LICENSE = MIT > LUAEXPAT_LICENSE_FILES = $(LUAEXPAT_SUBDIR)/LICENSE > LUAEXPAT_DEPENDENCIES = expat From arnout at mind.be Sun Apr 3 15:04:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:04:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: needs C++ In-Reply-To: <20220402160718.750069-1-fontaine.fabrice@gmail.com> References: <20220402160718.750069-1-fontaine.fabrice@gmail.com> Message-ID: On 02/04/2022 18:07, Fabrice Fontaine wrote: > fluidsynth needs C++ since bump to version 2.2.0 in commit > 7e02d2e762eb94fde1f222df1b960dbd263fa946 and > https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: > > CMake Error at CMakeLists.txt:32 (project): > No CMAKE_CXX_COMPILER could be found. > > Fixes: > - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/fluidsynth/Config.in | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in > index 5726e235e4..376419ce8f 100644 > --- a/package/fluidsynth/Config.in > +++ b/package/fluidsynth/Config.in > @@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUIDSYNTH > # the .pc file installed by fluidsynth does not mention its > # indirect dependencies in Libs.private. > depends on !BR2_STATIC_LIBS > + depends on BR2_INSTALL_LIBSTDCPP > select BR2_PACKAGE_LIBGLIB2 > help > FluidSynth is a real-time software synthesizer based on the > @@ -128,7 +129,7 @@ config BR2_PACKAGE_FLUIDSYNTH_READLINE > > endif # BR2_PACKAGE_FLUIDSYNTH > > -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" > +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" > depends on BR2_USE_MMU > depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ > - BR2_STATIC_LIBS > + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 3 15:05:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:05:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireshark: needs C++ In-Reply-To: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> References: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> Message-ID: On 02/04/2022 19:10, Fabrice Fontaine wrote: > wireshark needs C++ since switch to cmake-package in commit > 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: > > CMake Error at CMakeLists.txt:32 (project): > No CMAKE_CXX_COMPILER could be found. It's actually only needed for the Qt GUI, but it would be really hard to change the CMakeLists.txt to make that possible. So let's just go with this. Note that it also needs C++11, which means it has minimal GCC version 4.7. But that's kind of our implicit minimum anyway. Applied to master, thanks. Regards, Arnout > > Fixes: > - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae > > Signed-off-by: Fabrice Fontaine > --- > package/wireshark/Config.in | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in > index 95fc9b38f3..fdeb9da259 100644 > --- a/package/wireshark/Config.in > +++ b/package/wireshark/Config.in > @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK > depends on BR2_USE_MMU # fork(), glib2 > depends on BR2_USE_WCHAR # glib2 > depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 > + depends on BR2_INSTALL_LIBSTDCPP > select BR2_PACKAGE_C_ARES > select BR2_PACKAGE_LIBPCAP > select BR2_PACKAGE_LIBGCRYPT > @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host > > endif # BR2_PACKAGE_WIRESHARK > > -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" > +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" > depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS > depends on BR2_USE_MMU > depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ > - BR2_STATIC_LIBS > + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 3 15:07:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 3 Apr 2022 17:07:48 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <20220329205136.32435-1-vincent.stehle@laposte.net> References: <20220329205136.32435-1-vincent.stehle@laposte.net> Message-ID: <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> On 29/03/2022 22:51, Vincent Stehl? via buildroot wrote: > Update the qemu_xtensa_lx60_nommu_defconfig to use the > busybox-minimal.config, to make it more consistent with the other no-MMU > defconfigs. That's not a valid reason IMHO. We use the minimal busybox for boards that are extremely tight on memory - which is often the case for noMMU boards. But if we can spare the size, full busybox is a lot more useable. I've marked this patch as Rejected in patchwork, but if there's a good reason to do this, we can always recover it. Regards, Arnout > > After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal > config"), this has the benefit of fixing the following network > initialization failure: > > udhcpc: invalid option -- b > > Signed-off-by: Vincent Stehl? > Cc: Romain Naour > Cc: Gerome Burlats > --- > configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig > index c4473fb32a..44fb81bd74 100644 > --- a/configs/qemu_xtensa_lx60_nommu_defconfig > +++ b/configs/qemu_xtensa_lx60_nommu_defconfig > @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ > BR2_PACKAGE_HOST_ELF2FLT=y > # BR2_USE_MMU is not set > > +# Use minimal busybox with hush and networking tools > +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" > + > # System > BR2_SYSTEM_DHCP="eth0" > BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From fontaine.fabrice at gmail.com Sun Apr 3 15:46:09 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 17:46:09 +0200 Subject: [Buildroot] [PATCH 1/4] package/cppcms: zlib is optional, not mandatory Message-ID: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> zlib is not mandatory since at least version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/fc1c25f9c7af440f2fc579b150025addfa5421a5 Signed-off-by: Fabrice Fontaine --- package/cppcms/Config.in | 1 - package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 1d7635a83e..25fd93a7d0 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_CPPCMS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR - select BR2_PACKAGE_ZLIB select BR2_PACKAGE_PCRE select BR2_PACKAGE_LIBGCRYPT help diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index b289617bbc..530b44427b 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = zlib pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre libgcrypt ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF +CPPCMS_DEPENDENCIES += zlib +else +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=ON +endif + ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) # posix backend needs monetary.h which isn't available on uClibc CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 15:46:10 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 17:46:10 +0200 Subject: [Buildroot] [PATCH 2/4] package/cppcms: libgcrypt is optional, not mandatory In-Reply-To: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> Message-ID: <20220403154612.4158174-2-fontaine.fabrice@gmail.com> If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled Signed-off-by: Fabrice Fontaine --- package/cppcms/Config.in | 2 -- package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 25fd93a7d0..6c0bff934c 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -1,12 +1,10 @@ config BR2_PACKAGE_CPPCMS bool "cppcms" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR select BR2_PACKAGE_PCRE - select BR2_PACKAGE_LIBGCRYPT help CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed for Rapid Web Application Development. It diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 530b44427b..357909f31d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=OFF +CPPCMS_DEPENDENCIES += libgcrypt +else +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 15:46:11 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 17:46:11 +0200 Subject: [Buildroot] [PATCH 3/4] package/cppcms: add openssl optional dependency In-Reply-To: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> Message-ID: <20220403154612.4158174-3-fontaine.fabrice@gmail.com> openssl is an optional dependency since version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/7cfdc9f703a35c42f7168573ffcc92eaa37e4ab6 Signed-off-by: Fabrice Fontaine --- package/cppcms/cppcms.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 357909f31d..c560b5d0fa 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -35,6 +35,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=OFF +CPPCMS_DEPENDENCIES += openssl +else +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 15:46:12 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 17:46:12 +0200 Subject: [Buildroot] [PATCH 4/4] package/cppcms: bump to version 2.0.0-beta2 In-Reply-To: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> Message-ID: <20220403154612.4158174-4-fontaine.fabrice@gmail.com> - Update indentation in hash file (two spaces) - This bump will fix the following build failure if python2 is not available on host (while at it, add host-python3 dependency): Traceback (most recent call last): File "/home/autobuild/autobuild/instance-4/output-1/build/cppcms-1.2.1/bin/cppcms_tmpl_cc", line 14, in import StringIO ModuleNotFoundError: No module named 'StringIO' http://cppcms.com/wikipp/en/page/cppcms_2_0_whats_new Fixes: - http://autobuild.buildroot.org/results/00482ee24deae95a91f8499f499b18e15f14b51a Signed-off-by: Fabrice Fontaine --- package/cppcms/cppcms.hash | 14 +++++++------- package/cppcms/cppcms.mk | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package/cppcms/cppcms.hash b/package/cppcms/cppcms.hash index 86f86d94af..a8d04ff36f 100644 --- a/package/cppcms/cppcms.hash +++ b/package/cppcms/cppcms.hash @@ -1,8 +1,8 @@ -# From http://sourceforge.net/projects/cppcms/files/cppcms/1.2.1/ -sha1 9cb25cc5d507d2f4235326ba3815eba252b4ac77 cppcms-1.2.1.tar.bz2 -md5 2bb259fefb86532e404207c71c094a0c cppcms-1.2.1.tar.bz2 +# From http://sourceforge.net/projects/cppcms/files/cppcms/2.0.0-beta2/ +sha1 746cc5e3f58565d91d9ded6e2616399d60e9d01d cppcms-2.0.0.beta2.tar.bz2 +md5 ef561d13ee92d2053151cab073feba10 cppcms-2.0.0.beta2.tar.bz2 # Locally computed: -sha256 10fec7710409c949a229b9019ea065e25ff5687103037551b6f05716bf6cac52 cppcms-1.2.1.tar.bz2 -sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT -sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT -sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT +sha256 697031c7d141fdd215c6be5090b66e2106a63bb3e52f09ee8120e8efc6c08a21 cppcms-2.0.0.beta2.tar.bz2 +sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT +sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT +sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index c560b5d0fa..8a59990a8d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -4,8 +4,8 @@ # ################################################################################ -CPPCMS_VERSION = 1.2.1 -CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 +CPPCMS_VERSION = 2.0.0-beta2 +CPPCMS_SOURCE = cppcms-$(subst -,.,$(CPPCMS_VERSION)).tar.bz2 CPPCMS_LICENSE = MIT, BSL-1.0 (boost), Public Domain (json2.js), Zlib (md5) CPPCMS_LICENSE_FILES = COPYING.TXT MIT.TXT THIRD_PARTY_SOFTWARE.TXT CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre +CPPCMS_DEPENDENCIES = host-python3 pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 16:17:51 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 18:17:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: needs C++ Message-ID: <20220403161751.204523-1-fontaine.fabrice@gmail.com> xmrig needs C++ since its addition in commit 6f70990ccf6cb993fc31519337390e436d15493b: CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 Signed-off-by: Fabrice Fontaine --- package/xmrig/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in index 7024241017..c5c6b3e37b 100644 --- a/package/xmrig/Config.in +++ b/package/xmrig/Config.in @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG # xmrig needs fenv.h which is not provided by uclibc depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on !BR2_STATIC_LIBS # libuv + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBUV help RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. https://xmrig.com -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library" +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From james.hilliard1 at gmail.com Sun Apr 3 16:22:19 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 10:22:19 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> Message-ID: On Sun, Apr 3, 2022 at 7:58 AM Arnout Vandecappelle wrote: > > > > On 02/04/2022 20:58, James Hilliard wrote: > > On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: > >> > >> Hi James, > >> > >> On 02/04/2022 03:05, James Hilliard wrote: > [snip] > >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > >> > >> I don't understand why for this particular one you remove it explicitly, while > >> for other cases you rely (I guess) on the dependency check to make sure we get a > >> valid config (eventually). > > > > Others were missing the empty string config for matching against so > > this approach > > didn't seem to work there. > > I still don't understand... If I have the time, I'll try to cook up a patch > that does the check the same way as all the other checks are done, and you an > tell me if you're happy with that. Using a fixup avoids extra randconfig regenerations mostly, it's not strictly needed. > > [snip] > >> I agree though that it's more work to do that than the current patch, so > >> perhaps this is a good first step. > > > > Yeah, best to do this incrementally IMO, since this is revealing issues already > > in the autobuilder relating to config validation I'm running this on: > > http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 > > So this is running a modified buildroot-test that passes the > --no-toolchains-csv option? Yes, plus I'm using an out of tree utils/genrandconfig override to add the option. > > > Note that this autobuilder is an aarch64(running > > https://asahilinux.org/) host so > > it doesn't use the prebuilt toolchains. > > [snip] > >>> - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> - "savedefconfig"]) > >>> + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> + "savedefconfig"]): > >> > >> This one should simply never fail, so it should move outside of the loop, > >> after checking dependencies. > > > > I just tested that this can fail so I've kept it in the loop for now. > > Okay, let me rephrase: if 'make dependencies' passes, then 'make > savedefconfig' should never fail. If you had a situation where make > savedefconfig fails, I'd be interested to know about it and debug it. The make dependencies call is after savedefconfig so I think it would need to be checked due to that. > > > Regards, > Arnout > > >>> + continue > >>> > >>> - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> - "dependencies"]) > >>> + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> + "dependencies"]): > >>> + continue > >>> + break > >>> + return 0 > >>> > >>> > >>> if __name__ == '__main__': > >>> @@ -433,10 +443,18 @@ if __name__ == '__main__': > >>> parser.add_argument("--buildrootdir", "-b", > >>> help="Buildroot directory (relative to current directory)", > >>> type=str, default='.') > >>> - parser.add_argument("--toolchains-csv", > >>> - help="Path of the toolchain configuration file", > >>> - type=str, > >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > >>> + toolchains_csv.add_argument("--toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Path of the toolchain configuration file", > >>> + type=str) > >>> + toolchains_csv.add_argument("--no-toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Generate random toolchain configuration", > >>> + action='store_false') > >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> args = parser.parse_args() > >>> > >>> # We need the absolute path to use with O=, because the relative From fontaine.fabrice at gmail.com Sun Apr 3 16:37:36 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 18:37:36 +0200 Subject: [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Message-ID: <20220403163737.223577-1-fontaine.fabrice@gmail.com> Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized anymore Signed-off-by: Fabrice Fontaine --- package/libyang/libyang.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 7de9531bff..832adcb627 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF \ - -DENABLE_LYD_PRIV=ON + -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF + -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 16:37:37 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 18:37:37 +0200 Subject: [Buildroot] [PATCH 2/2] package/libyang: disable tests In-Reply-To: <20220403163737.223577-1-fontaine.fabrice@gmail.com> References: <20220403163737.223577-1-fontaine.fabrice@gmail.com> Message-ID: <20220403163737.223577-2-fontaine.fabrice@gmail.com> Disable tests which are enabled by default in debug mode since bump to version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0 as they will raise the following build failure if cmocka is built before libyang: In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t' 53 | typedef unsigned _Addr uintptr_t; | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026 Signed-off-by: Fabrice Fontaine --- package/libyang/libyang.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 832adcb627..a097b3ee95 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,9 +15,11 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 18:35:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 20:35:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/minizip: bump to version 3.0.5 Message-ID: <20220403183503.736373-1-fontaine.fabrice@gmail.com> This bump will fix the following build failure with zlib-ng thanks to https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory 19 | # include "zlib-ng.h" | ^~~~~~~~~~~ https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 Fixes: - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 Signed-off-by: Fabrice Fontaine --- package/minizip/minizip.hash | 2 +- package/minizip/minizip.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash index 3e87e64dae..e73637670c 100644 --- a/package/minizip/minizip.hash +++ b/package/minizip/minizip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c minizip-3.0.4.tar.gz +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk index 07f67c1354..b9259f0c54 100644 --- a/package/minizip/minizip.mk +++ b/package/minizip/minizip.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_VERSION = 3.0.4 +MINIZIP_VERSION = 3.0.5 MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) MINIZIP_DEPENDENCIES = host-pkgconf MINIZIP_INSTALL_STAGING = YES -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 18:53:06 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 20:53:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl Message-ID: <20220403185306.928833-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING. Fixes: - http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76 Signed-off-by: Fabrice Fontaine --- package/fetchmail/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in index a4bf5a7c20..1017df34b2 100644 --- a/package/fetchmail/Config.in +++ b/package/fetchmail/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL depends on BR2_USE_MMU # fork() select BR2_PACKAGE_CA_CERTIFICATES select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help Fetchmail - the mail-retrieval daemon Client daemon to move mail from POP and IMAP to your local -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 3 18:58:01 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 20:58:01 +0200 Subject: [Buildroot] [PATCH 1/3] package/htop: fix sensors option In-Reply-To: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Message-ID: <20220403185801.GH1811301@scaer> Fabrice, All, On 2022-04-03 13:04 +0200, Fabrice Fontaine spake thusly: > Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used > --{with,without}-sensors instead of --{dis,en}able-sensors > > Signed-off-by: Fabrice Fontaine Series of three patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/htop/htop.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/htop/htop.mk b/package/htop/htop.mk > index 7caa47ce13..210518da2f 100644 > --- a/package/htop/htop.mk > +++ b/package/htop/htop.mk > @@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities > endif > > ifeq ($(BR2_PACKAGE_LM_SENSORS),y) > -HTOP_CONF_OPTS += --with-sensors > +HTOP_CONF_OPTS += --enable-sensors > HTOP_DEPENDENCIES += lm-sensors > else > -HTOP_CONF_OPTS += --without-sensors > +HTOP_CONF_OPTS += --disable-sensors > endif > > ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 18:57:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 20:57:18 +0200 Subject: [Buildroot] [git commit] package/htop: use official tarball Message-ID: <20220403184853.729D485FF7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c49b46e9cc90e4c974225413bde15fdeb5de446c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/htop/htop.hash | 4 +++- package/htop/htop.mk | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.hash b/package/htop/htop.hash index dffe5ca1ad..d7c39be4d0 100644 --- a/package/htop/htop.hash +++ b/package/htop/htop.hash @@ -1,3 +1,5 @@ +# From https://github.com/htop-dev/htop/releases/download/3.1.2/htop-3.1.2.tar.xz.sha256 +sha256 884bce5b58cb113127860b9e368609019e92416a81550fdf0752052f3a64b388 htop-3.1.2.tar.xz + # Locally calculated -sha256 fe9559637c8f21f5fd531a4c072048a404173806acbdad1359c6b82fd87aa001 htop-3.1.2.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 210518da2f..1e7b171a17 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -5,7 +5,8 @@ ################################################################################ HTOP_VERSION = 3.1.2 -HTOP_SITE = $(call github,htop-dev,htop,$(HTOP_VERSION)) +HTOP_SOURCE = htop-$(HTOP_VERSION).tar.xz +HTOP_SITE = https://github.com/htop-dev/htop/releases/download/$(HTOP_VERSION) HTOP_DEPENDENCIES = ncurses HTOP_AUTORECONF = YES # Prevent htop build system from searching the host paths From yann.morin.1998 at free.fr Sun Apr 3 18:56:39 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 20:56:39 +0200 Subject: [Buildroot] [git commit] package/htop: fix sensors option Message-ID: <20220403184853.5762585FF7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8289875b69e6377218ca1ab7712b932c24302c5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used --{with,without}-sensors instead of --{dis,en}able-sensors Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/htop/htop.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 7caa47ce13..210518da2f 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities endif ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -HTOP_CONF_OPTS += --with-sensors +HTOP_CONF_OPTS += --enable-sensors HTOP_DEPENDENCIES += lm-sensors else -HTOP_CONF_OPTS += --without-sensors +HTOP_CONF_OPTS += --disable-sensors endif ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) From yann.morin.1998 at free.fr Sun Apr 3 18:56:42 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 20:56:42 +0200 Subject: [Buildroot] [git commit] package/htop: fix hwloc static build Message-ID: <20220403184853.6480385FF8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dd6c4a9929b4980b4a3b4dc3232cd23882dd3789 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following static build failure with hwloc raised since commit c83bf9720632bcd4d438094a9fc30feff69fc555: checking for hwloc_get_proc_cpubind in -lhwloc... no configure: error: can not find required library libhwloc Fixes: - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...-configure.ac-fix-static-build-with-hwloc.patch | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch new file mode 100644 index 0000000000..0ac79766c5 --- /dev/null +++ b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch @@ -0,0 +1,54 @@ +From 4ccad4604586c921b4ad831b254496c2cdece9fc Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 17:27:01 +0200 +Subject: [PATCH] configure.ac: fix static build with hwloc + +Retrieve hwloc dependencies through pkg-config to avoid the following +static build failure: + +checking for hwloc_get_proc_cpubind in -lhwloc... no +configure: error: can not find required library libhwloc + +This build failure is raised because without pkg-config, hwloc +dependencies such as libxml2 are not retrieved: + +configure:8999: checking for hwloc_get_proc_cpubind in -lhwloc +configure:9022: /home/autobuild/autobuild/instance-0/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o conftest -D_GNU_SOURCE -I/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lhwloc -llzma -L/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lncurses -lm >&5 +/home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib/libhwloc.a(topology-xml-libxml.o): in function `hwloc_libxml_free_buffer': +topology-xml-libxml.c:(.text+0x6a): undefined reference to `xmlFree' + +Fixes: + - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/htop-dev/htop/commit/4ccad4604586c921b4ad831b254496c2cdece9fc] +--- + configure.ac | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4ecac1ecf..6bb7eb69f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -456,8 +456,18 @@ case "$enable_hwloc" in + no) + ;; + yes) +- AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) +- AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ m4_ifdef([PKG_PROG_PKG_CONFIG], [ ++ PKG_PROG_PKG_CONFIG() ++ PKG_CHECK_MODULES(HWLOC, hwloc, [ ++ CFLAGS="$CFLAGS $HWLOC_CFLAGS" LIBS="$LIBS $HWLOC_LIBS" ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) + ;; + *) + AC_MSG_ERROR([bad value '$enable_hwloc' for --enable-hwloc]) From yann.morin.1998 at free.fr Sun Apr 3 19:03:11 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:03:11 +0200 Subject: [Buildroot] [git commit] package/cppcms: add openssl optional dependency Message-ID: <20220403185526.1DB8D86082@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9fb9c1e8df655a8ba86f38145486d5412e44b84b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master openssl is an optional dependency since version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/7cfdc9f703a35c42f7168573ffcc92eaa37e4ab6 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppcms/cppcms.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 357909f31d..c560b5d0fa 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -35,6 +35,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=OFF +CPPCMS_DEPENDENCIES += openssl +else +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib From yann.morin.1998 at free.fr Sun Apr 3 19:03:06 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:03:06 +0200 Subject: [Buildroot] [git commit] package/cppcms: zlib is optional, not mandatory Message-ID: <20220403185526.09CAA8607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f413bf2c641954d2202287c3858a007a24e02a6a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master zlib is not mandatory since at least version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/fc1c25f9c7af440f2fc579b150025addfa5421a5 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppcms/Config.in | 1 - package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 1d7635a83e..25fd93a7d0 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_CPPCMS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR - select BR2_PACKAGE_ZLIB select BR2_PACKAGE_PCRE select BR2_PACKAGE_LIBGCRYPT help diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index b289617bbc..530b44427b 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = zlib pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre libgcrypt ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF +CPPCMS_DEPENDENCIES += zlib +else +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=ON +endif + ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) # posix backend needs monetary.h which isn't available on uClibc CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on From yann.morin.1998 at free.fr Sun Apr 3 19:03:13 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:03:13 +0200 Subject: [Buildroot] [git commit] package/cppcms: bump to version 2.0.0-beta2 Message-ID: <20220403185526.278F08607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fccc96f6aa673bacec62b9ec82f8c888cb0b5a31 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Update indentation in hash file (two spaces) - This bump will fix the following build failure if python2 is not available on host (while at it, add host-python3 dependency): Traceback (most recent call last): File "/home/autobuild/autobuild/instance-4/output-1/build/cppcms-1.2.1/bin/cppcms_tmpl_cc", line 14, in import StringIO ModuleNotFoundError: No module named 'StringIO' http://cppcms.com/wikipp/en/page/cppcms_2_0_whats_new Fixes: - http://autobuild.buildroot.org/results/00482ee24deae95a91f8499f499b18e15f14b51a Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppcms/cppcms.hash | 14 +++++++------- package/cppcms/cppcms.mk | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package/cppcms/cppcms.hash b/package/cppcms/cppcms.hash index 86f86d94af..a8d04ff36f 100644 --- a/package/cppcms/cppcms.hash +++ b/package/cppcms/cppcms.hash @@ -1,8 +1,8 @@ -# From http://sourceforge.net/projects/cppcms/files/cppcms/1.2.1/ -sha1 9cb25cc5d507d2f4235326ba3815eba252b4ac77 cppcms-1.2.1.tar.bz2 -md5 2bb259fefb86532e404207c71c094a0c cppcms-1.2.1.tar.bz2 +# From http://sourceforge.net/projects/cppcms/files/cppcms/2.0.0-beta2/ +sha1 746cc5e3f58565d91d9ded6e2616399d60e9d01d cppcms-2.0.0.beta2.tar.bz2 +md5 ef561d13ee92d2053151cab073feba10 cppcms-2.0.0.beta2.tar.bz2 # Locally computed: -sha256 10fec7710409c949a229b9019ea065e25ff5687103037551b6f05716bf6cac52 cppcms-1.2.1.tar.bz2 -sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT -sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT -sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT +sha256 697031c7d141fdd215c6be5090b66e2106a63bb3e52f09ee8120e8efc6c08a21 cppcms-2.0.0.beta2.tar.bz2 +sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT +sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT +sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index c560b5d0fa..8a59990a8d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -4,8 +4,8 @@ # ################################################################################ -CPPCMS_VERSION = 1.2.1 -CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 +CPPCMS_VERSION = 2.0.0-beta2 +CPPCMS_SOURCE = cppcms-$(subst -,.,$(CPPCMS_VERSION)).tar.bz2 CPPCMS_LICENSE = MIT, BSL-1.0 (boost), Public Domain (json2.js), Zlib (md5) CPPCMS_LICENSE_FILES = COPYING.TXT MIT.TXT THIRD_PARTY_SOFTWARE.TXT CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre +CPPCMS_DEPENDENCIES = host-python3 pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF From yann.morin.1998 at free.fr Sun Apr 3 19:03:09 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:03:09 +0200 Subject: [Buildroot] [git commit] package/cppcms: libgcrypt is optional, not mandatory Message-ID: <20220403185526.141A28607F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=32045a73a39904617a3c281e02ccf93ad953b5d5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppcms/Config.in | 2 -- package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 25fd93a7d0..6c0bff934c 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -1,12 +1,10 @@ config BR2_PACKAGE_CPPCMS bool "cppcms" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR select BR2_PACKAGE_PCRE - select BR2_PACKAGE_LIBGCRYPT help CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed for Rapid Web Application Development. It diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 530b44427b..357909f31d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=OFF +CPPCMS_DEPENDENCIES += libgcrypt +else +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib From yann.morin.1998 at free.fr Sun Apr 3 19:05:20 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:05:20 +0200 Subject: [Buildroot] [PATCH 4/4] package/cppcms: bump to version 2.0.0-beta2 In-Reply-To: <20220403154612.4158174-4-fontaine.fabrice@gmail.com> References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> <20220403154612.4158174-4-fontaine.fabrice@gmail.com> Message-ID: <20220403190520.GI1811301@scaer> Fabrice, All, On 2022-04-03 17:46 +0200, Fabrice Fontaine spake thusly: > - Update indentation in hash file (two spaces) > - This bump will fix the following build failure if python2 is not > available on host (while at it, add host-python3 dependency): > > Traceback (most recent call last): > File "/home/autobuild/autobuild/instance-4/output-1/build/cppcms-1.2.1/bin/cppcms_tmpl_cc", line 14, in > import StringIO > ModuleNotFoundError: No module named 'StringIO' > > http://cppcms.com/wikipp/en/page/cppcms_2_0_whats_new > > Fixes: > - http://autobuild.buildroot.org/results/00482ee24deae95a91f8499f499b18e15f14b51a > > Signed-off-by: Fabrice Fontaine Series of 4 patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/cppcms/cppcms.hash | 14 +++++++------- > package/cppcms/cppcms.mk | 6 +++--- > 2 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/package/cppcms/cppcms.hash b/package/cppcms/cppcms.hash > index 86f86d94af..a8d04ff36f 100644 > --- a/package/cppcms/cppcms.hash > +++ b/package/cppcms/cppcms.hash > @@ -1,8 +1,8 @@ > -# From http://sourceforge.net/projects/cppcms/files/cppcms/1.2.1/ > -sha1 9cb25cc5d507d2f4235326ba3815eba252b4ac77 cppcms-1.2.1.tar.bz2 > -md5 2bb259fefb86532e404207c71c094a0c cppcms-1.2.1.tar.bz2 > +# From http://sourceforge.net/projects/cppcms/files/cppcms/2.0.0-beta2/ > +sha1 746cc5e3f58565d91d9ded6e2616399d60e9d01d cppcms-2.0.0.beta2.tar.bz2 > +md5 ef561d13ee92d2053151cab073feba10 cppcms-2.0.0.beta2.tar.bz2 > # Locally computed: > -sha256 10fec7710409c949a229b9019ea065e25ff5687103037551b6f05716bf6cac52 cppcms-1.2.1.tar.bz2 > -sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT > -sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT > -sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT > +sha256 697031c7d141fdd215c6be5090b66e2106a63bb3e52f09ee8120e8efc6c08a21 cppcms-2.0.0.beta2.tar.bz2 > +sha256 fb7c15ddf590037d4cd18ebd61148a2304b9243369d238a64f599182377e32db COPYING.TXT > +sha256 3e4012cc5950e05bedfdd2f00ceffe1ef71c46ac8c79f07e237ecb23c773f65f MIT.TXT > +sha256 d6ce062e5cf4f7e3c536d7d2fee84c882c45245f1848ed3162401f2b29fa2b4b THIRD_PARTY_SOFTWARE.TXT > diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk > index c560b5d0fa..8a59990a8d 100644 > --- a/package/cppcms/cppcms.mk > +++ b/package/cppcms/cppcms.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -CPPCMS_VERSION = 1.2.1 > -CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 > +CPPCMS_VERSION = 2.0.0-beta2 > +CPPCMS_SOURCE = cppcms-$(subst -,.,$(CPPCMS_VERSION)).tar.bz2 > CPPCMS_LICENSE = MIT, BSL-1.0 (boost), Public Domain (json2.js), Zlib (md5) > CPPCMS_LICENSE_FILES = COPYING.TXT MIT.TXT THIRD_PARTY_SOFTWARE.TXT > CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) > @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ > -DCMAKE_SKIP_RPATH=ON \ > -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" > > -CPPCMS_DEPENDENCIES = pcre > +CPPCMS_DEPENDENCIES = host-python3 pcre > > ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) > CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 19:08:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:08:08 +0200 Subject: [Buildroot] [git commit] package/linux-firmware: Add Intel WiFi 3945ABG/BG/4965AGN Message-ID: <20220403185907.C954786089@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7130bcb44c4c5cd9fd83dba6da28617f6c77a615 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add Intel WiFi 3945ABG/BG and 4965AGN firmware. This firmware is required for the iwl4965 and iwl3945 kernel driver. Signed-off-by: Stefan Agner [yann.morin.1998 at free.fr: fix driver names in help texts] Signed-off-by: Yann E. MORIN --- package/linux-firmware/Config.in | 12 ++++++++++++ package/linux-firmware/linux-firmware.mk | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in index 4a44d4a2b6..a0dda5fb6f 100644 --- a/package/linux-firmware/Config.in +++ b/package/linux-firmware/Config.in @@ -199,6 +199,18 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168 Firmware files for the Intel Wifi 3168 devices supported by the iwlwifi kernel driver. +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945 + bool "Intel iwlwifi 3945" + help + Firmware files for the Intel Wifi 3945 devices supported by + the iwl3965 kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965 + bool "Intel iwlwifi 4965" + help + Firmware files for the Intel Wifi 4965 devices supported by + the iwl4945 kernel driver. + config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 bool "Intel iwlwifi 5000" help diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 2eec8a291a..0c725737d0 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -457,6 +457,16 @@ LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware endif +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945),y) +LINUX_FIRMWARE_FILES += iwlwifi-3945-2.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965),y) +LINUX_FIRMWARE_FILES += iwlwifi-4965-2.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + # iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode, # iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to # different versions of the firmware API. For now, we only install the From yann.morin.1998 at free.fr Sun Apr 3 19:10:59 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:10:59 +0200 Subject: [Buildroot] [git commit] package/linux-firmware: properly fix drivers names for iwl3945/iwl4965 Message-ID: <20220403190312.C7A49860AE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=158b062a42c393e9084bde9691f663ee0ef59b18 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In 7130bcb44c4c (package/linux-firmware: Add Intel WiFi 3945ABG/BG/4965AGN), I improperly fixed the two drivers names... Signed-off-by: Yann E. MORIN --- package/linux-firmware/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in index a0dda5fb6f..8ce71140da 100644 --- a/package/linux-firmware/Config.in +++ b/package/linux-firmware/Config.in @@ -203,13 +203,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945 bool "Intel iwlwifi 3945" help Firmware files for the Intel Wifi 3945 devices supported by - the iwl3965 kernel driver. + the iwl3945 kernel driver. config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965 bool "Intel iwlwifi 4965" help Firmware files for the Intel Wifi 4965 devices supported by - the iwl4945 kernel driver. + the iwl4965 kernel driver. config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 bool "Intel iwlwifi 5000" From fontaine.fabrice at gmail.com Sun Apr 3 19:11:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 21:11:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/zlib-ng: fix build on powerpc Message-ID: <20220403191103.1019544-1-fontaine.fabrice@gmail.com> Disable POWER8 optimisations to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine --- package/zlib-ng/zlib-ng.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11..09edfe1faf 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -15,6 +15,7 @@ ZLIB_NG_PROVIDES = zlib ZLIB_NG_CONF_OPTS += \ -DWITH_GZFILEOP=1 \ -DWITH_OPTIM=1 \ + -DWITH_POWER8=OFF \ -DZLIB_COMPAT=1 \ -DZLIB_ENABLE_TESTS=OFF -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 3 19:12:43 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:12:43 +0200 Subject: [Buildroot] [PATCH] package/linux-firmware: Add Intel WiFi 3945ABG/BG/4965AGN In-Reply-To: References: Message-ID: <20220403191243.GJ1811301@scaer> Stefan, All, On 2022-04-01 18:07 +0200, Stefan Agner spake thusly: > Add Intel WiFi 3945ABG/BG and 4965AGN firmware. This firmware is > required for the iwl4965 and iwl3945 kernel driver. > > Signed-off-by: Stefan Agner > --- > package/linux-firmware/Config.in | 12 ++++++++++++ > package/linux-firmware/linux-firmware.mk | 10 ++++++++++ > 2 files changed, 22 insertions(+) > > diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in > index 4a44d4a2b6..a9a7e914cf 100644 > --- a/package/linux-firmware/Config.in > +++ b/package/linux-firmware/Config.in > @@ -199,6 +199,18 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168 > Firmware files for the Intel Wifi 3168 devices supported by > the iwlwifi kernel driver. > > +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945 > + bool "Intel iwlwifi 3945" > + help > + Firmware files for the Intel Wifi 3945 devices supported by > + the iwl4965 kernel driver. ^^^^ Here... > +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965 > + bool "Intel iwlwifi 4965" > + help > + Firmware files for the Intel Wifi 4965 devices supported by > + the iwl3945 kernel driver. ^^^^ ... and here, I guess there is an issue with the drivers names. I've switched the two, and applied to master, thanks. And I had to do a follow-up commit because I improperly fixed them... Regards, Yann E. MORIN. > + > config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 > bool "Intel iwlwifi 5000" > help > diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk > index 2eec8a291a..0c725737d0 100644 > --- a/package/linux-firmware/linux-firmware.mk > +++ b/package/linux-firmware/linux-firmware.mk > @@ -457,6 +457,16 @@ LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode > LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware > endif > > +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3945),y) > +LINUX_FIRMWARE_FILES += iwlwifi-3945-2.ucode > +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware > +endif > + > +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_4965),y) > +LINUX_FIRMWARE_FILES += iwlwifi-4965-2.ucode > +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware > +endif > + > # iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode, > # iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to > # different versions of the firmware API. For now, we only install the > -- > 2.35.1 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From emile.cormier.jr at gmail.com Sun Apr 3 19:13:56 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 16:13:56 -0300 Subject: [Buildroot] [PATCH v2 1/1] package/pkg-python.mk: fix PEP517 paths In-Reply-To: <20220403083318.GE1811301@scaer> References: <20220330224521.4142504-1-james.hilliard1@gmail.com> <20220403083318.GE1811301@scaer> Message-ID: On Sun, Apr 3, 2022 at 5:33 AM Yann E. MORIN wrote: > Applied to master, thanks. > > Regards, > Yann E. MORIN. > I confirm that the PasswordHasher test works for me with the latest master. Thanks Yann and James! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla at busybox.net Sun Apr 3 19:15:05 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 03 Apr 2022 19:15:05 +0000 Subject: [Buildroot] [Bug 14721] python-argon2_cffi no longer works In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14721 --- Comment #4 from Emile Cormier --- I confirm that the PasswordHasher test works for me with the latest master. -- You are receiving this mail because: You are on the CC list for the bug. From yann.morin.1998 at free.fr Sun Apr 3 19:17:54 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:17:54 +0200 Subject: [Buildroot] [git commit] package/openocd: Allow to build BCM2835 on aarch64 Message-ID: <20220403190943.5847A860CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=342631bed10f987351a83c9378c94447584a1515 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Allow to build the BCM2835 bitbang interface on aarch64. Signed-off-by: Stefan Agner Signed-off-by: Yann E. MORIN --- package/openocd/Config.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/openocd/Config.in b/package/openocd/Config.in index b14f940b27..cef109b511 100644 --- a/package/openocd/Config.in +++ b/package/openocd/Config.in @@ -190,13 +190,17 @@ config BR2_PACKAGE_OPENOCD_AT91RM help Enable building support for AT91RM9200 based SBCs +endif # BR2_arm + +if BR2_arm || BR2_aarch64 + config BR2_PACKAGE_OPENOCD_BCM2835 bool "bitbanging on BCM2835" help Enable building support for bitbanging on BCM2835 (as found in Raspberry Pi) -endif # BR2_arm +endif # BR2_arm || BR2_aarch64 config BR2_PACKAGE_OPENOCD_GW16012 bool "Gateworks GW16012 JTAG Programmer" From yann.morin.1998 at free.fr Sun Apr 3 19:19:19 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:19:19 +0200 Subject: [Buildroot] [PATCH] package/openocd: Allow to build BCM2835 on aarch64 In-Reply-To: References: Message-ID: <20220403191919.GK1811301@scaer> Stefan, All, On 2022-03-31 10:53 +0200, Stefan Agner spake thusly: > Allow to build the BCM2835 bitbang interface on aarch64. > > Signed-off-by: Stefan Agner Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/openocd/Config.in | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/package/openocd/Config.in b/package/openocd/Config.in > index b14f940b27..cef109b511 100644 > --- a/package/openocd/Config.in > +++ b/package/openocd/Config.in > @@ -190,13 +190,17 @@ config BR2_PACKAGE_OPENOCD_AT91RM > help > Enable building support for AT91RM9200 based SBCs > > +endif # BR2_arm > + > +if BR2_arm || BR2_aarch64 > + > config BR2_PACKAGE_OPENOCD_BCM2835 > bool "bitbanging on BCM2835" > help > Enable building support for bitbanging on BCM2835 > (as found in Raspberry Pi) > > -endif # BR2_arm > +endif # BR2_arm || BR2_aarch64 > > config BR2_PACKAGE_OPENOCD_GW16012 > bool "Gateworks GW16012 JTAG Programmer" > -- > 2.35.1 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 19:59:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 21:59:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/zlib-ng: fix build on powerpc In-Reply-To: <20220403191103.1019544-1-fontaine.fabrice@gmail.com> References: <20220403191103.1019544-1-fontaine.fabrice@gmail.com> Message-ID: <20220403195905.GA2354230@scaer> Fabrice, All, On 2022-04-03 21:11 +0200, Fabrice Fontaine spake thusly: > Disable POWER8 optimisations to fix the following build failure with > powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit > 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and > https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: > > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': > /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' > > Fixes: > - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 > > Signed-off-by: Fabrice Fontaine > --- > package/zlib-ng/zlib-ng.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > index fb497b8c11..09edfe1faf 100644 > --- a/package/zlib-ng/zlib-ng.mk > +++ b/package/zlib-ng/zlib-ng.mk > @@ -15,6 +15,7 @@ ZLIB_NG_PROVIDES = zlib > ZLIB_NG_CONF_OPTS += \ > -DWITH_GZFILEOP=1 \ > -DWITH_OPTIM=1 \ > + -DWITH_POWER8=OFF \ Why can't that be conditional on BR2_powerpc_power8 ? Regards, Yann E. MORIN. > -DZLIB_COMPAT=1 \ > -DZLIB_ENABLE_TESTS=OFF > > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 20:12:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:12:05 +0200 Subject: [Buildroot] [git commit] package/fetchmail: fix build with libressl Message-ID: <20220403200249.23688860D1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f6b6e0b68bd2d84a245981583c492c009678c7b0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING. Fixes: - http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/fetchmail/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in index a4bf5a7c20..1017df34b2 100644 --- a/package/fetchmail/Config.in +++ b/package/fetchmail/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL depends on BR2_USE_MMU # fork() select BR2_PACKAGE_CA_CERTIFICATES select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help Fetchmail - the mail-retrieval daemon Client daemon to move mail from POP and IMAP to your local From fontaine.fabrice at gmail.com Sun Apr 3 20:13:06 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 22:13:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/zlib-ng: fix build on powerpc In-Reply-To: <20220403195905.GA2354230@scaer> References: <20220403191103.1019544-1-fontaine.fabrice@gmail.com> <20220403195905.GA2354230@scaer> Message-ID: Le dim. 3 avr. 2022 ? 21:59, Yann E. MORIN a ?crit : > > Fabrice, All, > > On 2022-04-03 21:11 +0200, Fabrice Fontaine spake thusly: > > Disable POWER8 optimisations to fix the following build failure with > > powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit > > 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and > > https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: > > > > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': > > /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' > > > > Fixes: > > - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/zlib-ng/zlib-ng.mk | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > > index fb497b8c11..09edfe1faf 100644 > > --- a/package/zlib-ng/zlib-ng.mk > > +++ b/package/zlib-ng/zlib-ng.mk > > @@ -15,6 +15,7 @@ ZLIB_NG_PROVIDES = zlib > > ZLIB_NG_CONF_OPTS += \ > > -DWITH_GZFILEOP=1 \ > > -DWITH_OPTIM=1 \ > > + -DWITH_POWER8=OFF \ > > Why can't that be conditional on BR2_powerpc_power8 ? It can, I'll send a v2. However, it should be noted that power8 is unconditionally disabled on mesa3d though. > > Regards, > Yann E. MORIN. > > > -DZLIB_COMPAT=1 \ > > -DZLIB_ENABLE_TESTS=OFF > > > > -- > > 2.35.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' Best Regards, Fabrice From yann.morin.1998 at free.fr Sun Apr 3 20:15:30 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:15:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl In-Reply-To: <20220403185306.928833-1-fontaine.fabrice@gmail.com> References: <20220403185306.928833-1-fontaine.fabrice@gmail.com> Message-ID: <20220403201530.GB2354230@scaer> Fabrice, All, On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly: > Fix the following build failure with libressl raised since bump to > version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and > https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: > > configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING. This sentence is incorrect. It is legally not possible to *distribute* fetchmail when linked against LibreSSL, as the GPL conditions in that case only trigger at the moment of distribution. So, there should be no issue with linking fetchmail to LibreSSL for private use without redistribution. But: IANAL, TINLA, TTYL... > Fixes: > - http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/fetchmail/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in > index a4bf5a7c20..1017df34b2 100644 > --- a/package/fetchmail/Config.in > +++ b/package/fetchmail/Config.in > @@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL > depends on BR2_USE_MMU # fork() > select BR2_PACKAGE_CA_CERTIFICATES > select BR2_PACKAGE_OPENSSL > + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL > help > Fetchmail - the mail-retrieval daemon > Client daemon to move mail from POP and IMAP to your local > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 3 20:22:02 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 22:22:02 +0200 Subject: [Buildroot] [PATCH v2,1/1] package/zlib-ng: fix build on powerpc Message-ID: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> Handle WITH_POWER8 to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Yann E. Morin): - Don't unconditionally disable power8 package/zlib-ng/zlib-ng.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11..938acd4181 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + $(eval $(cmake-package)) -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 3 20:24:48 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:24:48 +0200 Subject: [Buildroot] [git commit] package/libyang: drop unrecognized options Message-ID: <20220403201537.0DCB5860FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=58ab72bb8313aa9be90736c088fe04b199eeaea8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized anymore Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libyang/libyang.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 7de9531bff..832adcb627 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF \ - -DENABLE_LYD_PRIV=ON + -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF + -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package)) From yann.morin.1998 at free.fr Sun Apr 3 20:24:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:24:50 +0200 Subject: [Buildroot] [git commit] package/libyang: disable tests Message-ID: <20220403201537.1AD2F860FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ea6cc91be4db390f03c81539a9ae44979fd162ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable tests which are enabled by default in debug mode since bump to version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0 as they will raise the following build failure if cmocka is built before libyang: In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t' 53 | typedef unsigned _Addr uintptr_t; | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libyang/libyang.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 832adcb627..a097b3ee95 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,9 +15,11 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) From yann.morin.1998 at free.fr Sun Apr 3 20:23:27 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:23:27 +0200 Subject: [Buildroot] [git commit] package/minizip: bump to version 3.0.5 Message-ID: <20220403201537.0036A860F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b1d80083781f844cc70229c4a592253c9a34cbaa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This bump will fix the following build failure with zlib-ng thanks to https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory 19 | # include "zlib-ng.h" | ^~~~~~~~~~~ https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 Fixes: - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/minizip/minizip.hash | 2 +- package/minizip/minizip.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash index 3e87e64dae..e73637670c 100644 --- a/package/minizip/minizip.hash +++ b/package/minizip/minizip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c minizip-3.0.4.tar.gz +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk index 07f67c1354..b9259f0c54 100644 --- a/package/minizip/minizip.mk +++ b/package/minizip/minizip.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_VERSION = 3.0.4 +MINIZIP_VERSION = 3.0.5 MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) MINIZIP_DEPENDENCIES = host-pkgconf MINIZIP_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Sun Apr 3 20:25:15 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:25:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/minizip: bump to version 3.0.5 In-Reply-To: <20220403183503.736373-1-fontaine.fabrice@gmail.com> References: <20220403183503.736373-1-fontaine.fabrice@gmail.com> Message-ID: <20220403202515.GC2354230@scaer> Fabrice, All, On 2022-04-03 20:35 +0200, Fabrice Fontaine spake thusly: > This bump will fix the following build failure with zlib-ng thanks to > https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: > > /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory > 19 | # include "zlib-ng.h" > | ^~~~~~~~~~~ > > https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 > > Fixes: > - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/minizip/minizip.hash | 2 +- > package/minizip/minizip.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash > index 3e87e64dae..e73637670c 100644 > --- a/package/minizip/minizip.hash > +++ b/package/minizip/minizip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c minizip-3.0.4.tar.gz > +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz > sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE > diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk > index 07f67c1354..b9259f0c54 100644 > --- a/package/minizip/minizip.mk > +++ b/package/minizip/minizip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MINIZIP_VERSION = 3.0.4 > +MINIZIP_VERSION = 3.0.5 > MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) > MINIZIP_DEPENDENCIES = host-pkgconf > MINIZIP_INSTALL_STAGING = YES > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 20:25:42 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:25:42 +0200 Subject: [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options In-Reply-To: <20220403163737.223577-1-fontaine.fabrice@gmail.com> References: <20220403163737.223577-1-fontaine.fabrice@gmail.com> Message-ID: <20220403202542.GD2354230@scaer> Fabrice, All, On 2022-04-03 18:37 +0200, Fabrice Fontaine spake thusly: > Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop > ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized > anymore > > Signed-off-by: Fabrice Fontaine Those two patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libyang/libyang.mk | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk > index 7de9531bff..832adcb627 100644 > --- a/package/libyang/libyang.mk > +++ b/package/libyang/libyang.mk > @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2 > HOST_LIBYANG_DEPENDENCIES = host-pcre2 > > LIBYANG_CONF_OPTS = \ > - -DENABLE_VALGRIND_TESTS=OFF \ > - -DGEN_PYTHON_BINDINGS=OFF \ > - -DENABLE_LYD_PRIV=ON > + -DENABLE_VALGRIND_TESTS=OFF > > HOST_LIBYANG_CONF_OPTS = \ > - -DENABLE_VALGRIND_TESTS=OFF \ > - -DGEN_PYTHON_BINDINGS=OFF > + -DENABLE_VALGRIND_TESTS=OFF > > $(eval $(cmake-package)) > $(eval $(host-cmake-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 20:28:35 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:28:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: needs C++ In-Reply-To: <20220403161751.204523-1-fontaine.fabrice@gmail.com> References: <20220403161751.204523-1-fontaine.fabrice@gmail.com> Message-ID: <20220403202835.GE2354230@scaer> Fabrice, All, On 2022-04-03 18:17 +0200, Fabrice Fontaine spake thusly: > xmrig needs C++ since its addition in commit > 6f70990ccf6cb993fc31519337390e436d15493b: > > CMake Error at CMakeLists.txt:2 (project): > No CMAKE_CXX_COMPILER could be found. > > Fixes: > - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/xmrig/Config.in | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in > index 7024241017..c5c6b3e37b 100644 > --- a/package/xmrig/Config.in > +++ b/package/xmrig/Config.in > @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG > # xmrig needs fenv.h which is not provided by uclibc > depends on !BR2_TOOLCHAIN_USES_UCLIBC > depends on !BR2_STATIC_LIBS # libuv > + depends on BR2_INSTALL_LIBSTDCPP > select BR2_PACKAGE_LIBUV > help > RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. > > https://xmrig.com > > -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library" > +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" > depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 > depends on BR2_USE_MMU > depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ > - BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS > + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ > + !BR2_INSTALL_LIBSTDCPP > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 3 20:28:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:28:18 +0200 Subject: [Buildroot] [git commit] package/xmrig: needs C++ Message-ID: <20220403201923.57CC5860FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2d806891cb0dc0fd2d30171d14bc9e911abbe76e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master xmrig needs C++ since its addition in commit 6f70990ccf6cb993fc31519337390e436d15493b: CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/xmrig/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in index 7024241017..c5c6b3e37b 100644 --- a/package/xmrig/Config.in +++ b/package/xmrig/Config.in @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG # xmrig needs fenv.h which is not provided by uclibc depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on !BR2_STATIC_LIBS # libuv + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBUV help RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. https://xmrig.com -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library" +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_INSTALL_LIBSTDCPP From fontaine.fabrice at gmail.com Sun Apr 3 20:56:00 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 22:56:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/dieharder: drop rgb_operm Message-ID: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> Fix the following build failure: /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to `rgb_operm' Fixes: - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 Signed-off-by: Fabrice Fontaine --- .../0005-Remove-defunct-rgb_operm.patch | 732 ++++++++++++++++++ 1 file changed, 732 insertions(+) create mode 100644 package/dieharder/0005-Remove-defunct-rgb_operm.patch diff --git a/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/package/dieharder/0005-Remove-defunct-rgb_operm.patch new file mode 100644 index 0000000000..efc311dbaa --- /dev/null +++ b/package/dieharder/0005-Remove-defunct-rgb_operm.patch @@ -0,0 +1,732 @@ +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marcus=20M=C3=BCller?= +Date: Mon, 12 Oct 2020 21:30:12 +0200 +Subject: [PATCH] Remove defunct rgb_operm + +[Retrieved from: +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] +Signed-off-by: Fabrice Fontaine +--- + include/Makefile.am | 1 - + include/dieharder/rgb_operm.h | 38 -- + include/dieharder/tests.h | 2 - + libdieharder/rgb_operm.c | 633 ---------------------------------- + 4 files changed, 674 deletions(-) + delete mode 100644 include/dieharder/rgb_operm.h + delete mode 100644 libdieharder/rgb_operm.c + +diff --git a/include/Makefile.am b/include/Makefile.am +index f80b4ff..e4659cd 100644 +--- a/include/Makefile.am ++++ b/include/Makefile.am +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ + dieharder/rgb_lagged_sums.h \ + dieharder/rgb_lmn.h \ + dieharder/rgb_minimum_distance.h \ +- dieharder/rgb_operm.h \ + dieharder/rgb_persist.h \ + dieharder/rgb_permutations.h \ + dieharder/rgb_timing.h \ +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +deleted file mode 100644 +index c48fa37..0000000 +--- a/include/dieharder/rgb_operm.h ++++ /dev/null +@@ -1,38 +0,0 @@ +-/* +- * rgb_operm test header. +- */ +- +-/* +- * function prototype +- */ +-int rgb_operm(Test **test,int irun); +- +-static Dtest rgb_operm_dtest __attribute__((unused)) = { +- "RGB Overlapping Permuations Test", +- "rgb_operm", +- "\n\ +-#========================================================================\n\ +-# RGB Overlapping Permutations Test\n\ +-# Forms both the exact (expected) covariance matrix for overlapping\n\ +-# permutations of random integer and an empirical covariance matrix\n\ +-# formed from a long string of samples. The difference is expected\n\ +-# to have a chisq distribution and hence can be transformed into a\n\ +-# sample p-value. Note that this is one possible functional replacement\n\ +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ +-# number of numbers in the overlapping permutation window) to be varied\n\ +-# from 2 to perhaps 8.\n\ +-#\n", +- 100, /* Default psamples */ +- 100000, /* Default tsamples */ +- 1, /* We magically make all the bit tests return a single histogram */ +- rgb_operm, +- 0 +-}; +- +-/* +- * Global variables. +- * +- * rgb_operm_k is the size of the overlapping window that is slid along +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. +- */ +-unsigned int rgb_operm_k; +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h +index 1674aed..b50dbe3 100644 +--- a/include/dieharder/tests.h ++++ b/include/dieharder/tests.h +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -80,7 +79,6 @@ + RGB_PERMUTATIONS, + RGB_LAGGED_SUMS, + RGB_LMN, +- RGB_OPERM, + DAB_BYTEDISTRIB, + DAB_DCT, + DAB_FILLTREE, +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c +deleted file mode 100644 +index 15f8e9a..0000000 +--- a/libdieharder/rgb_operm.c ++++ /dev/null +@@ -1,633 +0,0 @@ +-/* +- * ======================================================================== +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ +- * +- * See copyright in copyright.h and the accompanying file COPYING +- * ======================================================================== +- */ +- +-/* +- * ======================================================================== +- * This is the revised Overlapping Permutations test. It directly +- * simulates the covariance matrix of overlapping permutations. The way +- * this works below (tentatively) is: +- * +- * For a bit ntuple of length N, slide a window of length N to the +- * right one bit at a time. Compute the permutation index of the +- * original ntuple, the permutation index of the window ntuple, and +- * accumulate the covariance matrix of the two positions. This +- * can be directly and precisely computed as well. The simulated +- * result should be distributed according to the chisq distribution, +- * so we subtract the two and feed it into the chisq program as a +- * vector to compute p. +- * +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited +- * documentation (in a program that doesn't do ANYTHING like what the +- * documentation says it does) and from Nilpotent Markov Processes. +- * But I confess to not quite understand how to actually perform the +- * test in the latter -- it is very good at describing the construction +- * of the target matrix, not so good at describing how to transform +- * this into a chisq and p. +- * +- * FWIW, as I get something that actually works here, I'm going to +- * THOROUGHLY document it in the book that will accompany the test. +- *======================================================================== +- */ +- +-#include +-#define RGB_OPERM_KMAX 10 +- +-/* +- * Some globals that will eventually go in the test include where they +- * arguably belong. +- */ +-double fpipi(int pi1,int pi2,int nkp); +-uint piperm(size_t *data,int len); +-void make_cexact(); +-void make_cexpt(); +-int nperms,noperms; +-double **cexact,**ceinv,**cexpt,**idty; +-double *cvexact,*cvein,*cvexpt,*vidty; +- +-int rgb_operm(Test **test,int irun) +-{ +- +- int i,j,n,nb,iv,s; +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ +- uint *count,ctotal; /* counters */ +- uint size; +- double pvalue,ntuple_prob,pbin; /* probabilities */ +- Vtest *vtest; /* Chisq entry vector */ +- +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; +- +- /* +- * For a given n = ntuple size in bits, there are n! bit orderings +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("#==================================================================\n"); +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); +- printf("# rgb_operm: ======================================================\n"); +- } +- +- /* +- * Sanity check first +- */ +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); +- exit(0); +- } +- +- nperms = gsl_sf_fact(rgb_operm_k); +- noperms = gsl_sf_fact(3*rgb_operm_k-2); +- csamples = rgb_operm_k*rgb_operm_k; +- gsl_permutation * p = gsl_permutation_alloc(nperms); +- +- /* +- * Allocate memory for value_max vector of Vtest structs and counts, +- * PER TEST. Note that we must free both of these when we are done +- * or leak. +- */ +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); +- count = (uint *)malloc(csamples*sizeof(uint)); +- Vtest_create(vtest,csamples+1); +- +- /* +- * We have to allocate and free the cexact and cexpt matrices here +- * or they'll be forgotten when these routines return. +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); +- } +- cexact = (double **)malloc(nperms*sizeof(double*)); +- ceinv = (double **)malloc(nperms*sizeof(double*)); +- cexpt = (double **)malloc(nperms*sizeof(double*)); +- idty = (double **)malloc(nperms*sizeof(double*)); +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); +- for(i=0;idata[k]; +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("#------------------------------------------------------------------\n"); +- printf("# Generating offset sample permutation pi's\n"); +- } +- */ +- for(k=0;k<2*rgb_operm_k - 1;k++){ +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); +- pi[k] = piperm((size_t *) ps,rgb_operm_k); +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("# %u: ",k); +- for(ip=k;ipdata[ip]); +- } +- printf(" = %u\n",pi[k]); +- } +- */ +- } +- +- /* +- * This is the business end of things. The covariance matrix is the +- * the sum of a central function of the permutation indices that yields +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the +- * possible permutations, for the FIRST permutation in a sample (fi) +- * times the sum of the same function over all the overlapping permutations +- * drawn from the same sample. Quite simple, really. +- */ +- for(i=0;idata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } else { +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); +- gsl_permutation_next(lookup[i]); +- for(j=0;jdata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } +- } +- */ +- MYDEBUG(D_RGB_OPERM){ +- for(i=0;i ",i); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf("\n"); +- } +- } +- +- } +- +- for(i=0;idata,len*sizeof(uint))==0){ +- /* Not cruft, but off: +- MYDEBUG(D_RGB_OPERM){ +- printf("# piperm(): "); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf(" = %u\n",i); +- } +- */ +- return(i); +- } +- } +- printf("We'd better not get here...\n"); +- +- return(0); +- +-} +- +-double fpipi(int pi1,int pi2,int nkp) +-{ +- +- int i; +- double fret; +- +- /* +- * compute the k-permutation index from iperm for the window +- * at data[offset] of length len. If it matches pind, return +- * the first quantity, otherwise return the second. +- */ +- if(pi1 == pi2){ +- +- fret = (double) (nkp - 1.0)/nkp; +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } else { +- +- fret = (double) (-1.0/nkp); +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } +- +- +-} +- +- +- +- -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 3 21:17:54 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 3 Apr 2022 23:17:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gstd: fix build with gcc 4.8 Message-ID: <20220403211754.2037013-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc 4.8 raised since bump to version 0.14.0 in commit a334b9a7668ba412cb2da79b75a019cd89985145 and https://github.com/RidgeRun/gstd-1.x/commit/e83c94920bb33846ff0642dcf070fc5fd124e4f6: ../libgstd/libgstd.c: In function 'gstd_set_ipc': ../libgstd/libgstd.c:119:5: error: 'for' loop initial declarations are only allowed in C99 mode for (gint ipc_idx = 0; ipc_idx < num_ipcs; ipc_idx++) { ^ Fixes: - http://autobuild.buildroot.org/results/00ad1b8979000aa10a20228c998389bc913cbbd4 Signed-off-by: Fabrice Fontaine --- package/gstreamer1/gstd/gstd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gstreamer1/gstd/gstd.mk b/package/gstreamer1/gstd/gstd.mk index 08a29f26ff..817e9143ae 100644 --- a/package/gstreamer1/gstd/gstd.mk +++ b/package/gstreamer1/gstd/gstd.mk @@ -28,6 +28,8 @@ GSTD_CONF_OPTS = \ -Dwith-gstd-logstatedir=/var/log/gstd \ -Dwith-gstd-systemddir=/usr/lib/systemd/system +GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 + ifeq ($(BR2_PACKAGE_SYSTEMD),y) GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled GSTD_DEPENDENCIES += systemd -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 3 20:36:42 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 22:36:42 +0200 Subject: [Buildroot] [git commit] package/zlib-ng: fix build on powerpc Message-ID: <20220403213840.2532F86109@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=192dfc68c0e43d0865beb16250582b3b4e5ed178 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Handle WITH_POWER8 to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/zlib-ng/zlib-ng.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11..938acd4181 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + $(eval $(cmake-package)) From yann.morin.1998 at free.fr Sun Apr 3 21:48:00 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 3 Apr 2022 23:48:00 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/zlib-ng: fix build on powerpc In-Reply-To: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> References: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> Message-ID: <20220403214800.GF2354230@scaer> Fabrice, All, On 2022-04-03 22:22 +0200, Fabrice Fontaine spake thusly: > Handle WITH_POWER8 to fix the following build failure with powerpc and > libglib2 raised since bump to version 1.9.9-b1 in commit > 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and > https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: > > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': > /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' > > Fixes: > - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > Changes v1 -> v2 (after review of Yann E. Morin): > - Don't unconditionally disable power8 > > package/zlib-ng/zlib-ng.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > index fb497b8c11..938acd4181 100644 > --- a/package/zlib-ng/zlib-ng.mk > +++ b/package/zlib-ng/zlib-ng.mk > @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) > ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 > endif > > +ifeq ($(BR2_powerpc_power8),y) > +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON > +else > +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF > +endif > + > $(eval $(cmake-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From tms320c5x at naver.com Sun Apr 3 21:49:24 2022 From: tms320c5x at naver.com (=?utf-8?B?6ri464+Z6reg?=) Date: Mon, 04 Apr 2022 06:49:24 +0900 Subject: [Buildroot] =?utf-8?q?buildroot-2022=2E02_installation_problems?= Message-ID: <9f86a73c94e6966cc7eb603fa7122@cweb006.nm.nfra.io> Hello I am trying to learn Linux late, but nothing is easy. It takes a lot of effort and time to compile individually, such as binutils, gcc, glibc, and kernel, etc which are required to build a Linux environment. and then have discovered buildroot and i thought that the buildroot could be a little easier to reach my original purpose. I am an engineer, so far I have developed non-linux fields such as avr, stm32f4... I'm a beginner and I don't have an embedded board. First, I will create a virtual target using qemu on my laptop (ubuntu 20.04.3), and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, the toolchain and glibc, compiler will be created through buildroot. The first time I did it without knowing anything, it was successful, but I can't remember which option I chose. Maybe when it first succeeded, i think the gdb option was not checked . Afterwards, if I build with the gdb option selected for the target, an error occurs like below: .... [Makefile:9230: all-gdb] Error 2 My current purpose is to remotely debug a virtual target program through gdbserver installed on the target based on qemu. To do this, gdbserver must be installed on the target, but this does not work. Attached is the .config file when the error occurs. I look forward to your reply. host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc target: kernel 5.11.22(boot by qemu), arch: x86_64, x86_64-buildroot-linux-gnu-gcc =>The command to run qemu will: qemu-system-x86_64 -kernel /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M -smp 1 -boot c -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 -append "root=/dev/sda rw acpi=off" -s -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220403_buildroot-nfs-gdbserver-but No success.config Type: application/octet-stream Size: 112956 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220404_nfs-gdbserver.No success.config Type: application/octet-stream Size: 119806 bytes Desc: not available URL: From tms320c5x at naver.com Sun Apr 3 21:57:05 2022 From: tms320c5x at naver.com (=?utf-8?B?6ri464+Z6reg?=) Date: Mon, 04 Apr 2022 06:57:05 +0900 Subject: [Buildroot] =?utf-8?q?buildroot-2022=2E02_installation_problems?= Message-ID: Hello I am trying to learn Linux late, but nothing is easy. It takes a lot of effort and time to compile individually, such as binutils, gcc, glibc, and kernel, etc which are required to build a Linux environment. and then have discovered buildroot and i thought that the buildroot could be a little easier to reach my original purpose. I am an engineer, so far I have developed non-linux fields such as avr, stm32f4... I'm a beginner and I don't have an embedded board. First, I will create a virtual target using qemu on my laptop (ubuntu 20.04.3), and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, the toolchain and glibc, compiler will be created through buildroot. The first time I did it without knowing anything, it was successful, but I can't remember which option I chose. Maybe when it first succeeded, i think the gdb option was not checked . Afterwards, if I build with the gdb option selected for the target, an error occurs like below: .... [Makefile:9230: all-gdb] Error 2 My current purpose is to remotely debug a virtual target program through gdbserver installed on the target based on qemu. To do this, gdbserver must be installed on the target, but this does not work. Attached is the .config file when the error occurs. I look forward to your reply. host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc target: kernel 5.11.22(boot by qemu), arch: x86_64, x86_64-buildroot-linux-gnu-gcc =>The command to run qemu will: qemu-system-x86_64 -kernel /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M -smp 1 -boot c -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 -append "root=/dev/sda rw acpi=off" -s -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220403_buildroot-nfs-gdbserver-but No success.config Type: application/octet-stream Size: 112956 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220404_nfs-gdbserver.No success.config Type: application/octet-stream Size: 119806 bytes Desc: not available URL: From emile.cormier.jr at gmail.com Sun Apr 3 22:19:48 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:48 -0300 Subject: [Buildroot] [PATCH 1/6] package/python-snappy: bump version to 0.6.1 Message-ID: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> From: ecorm Required by python-crossbar and python-autobahn[compress]. Signed-off-by: Emile Cormier --- package/python-snappy/python-snappy.hash | 4 ++-- package/python-snappy/python-snappy.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-snappy/python-snappy.hash b/package/python-snappy/python-snappy.hash index 1e0f96054f..32df2bea48 100644 --- a/package/python-snappy/python-snappy.hash +++ b/package/python-snappy/python-snappy.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/python-snappy/json -md5 82e09ffd44204096fc70d6de14d0ea2f python-snappy-0.5.4.tar.gz -sha256 d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2 python-snappy-0.5.4.tar.gz +md5 fc84cfa3526fba06d66f0d0b2e764300 python-snappy-0.6.1.tar.gz +sha256 b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a python-snappy-0.6.1.tar.gz # Locally computed sha256 checksums sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE diff --git a/package/python-snappy/python-snappy.mk b/package/python-snappy/python-snappy.mk index d087c83b10..e80aa861df 100644 --- a/package/python-snappy/python-snappy.mk +++ b/package/python-snappy/python-snappy.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_SNAPPY_VERSION = 0.5.4 -PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be +PYTHON_SNAPPY_VERSION = 0.6.1 +PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/98/7a/44a24bad98335b2c72e4cadcdecf79f50197d1bab9f22f863a274f104b96 PYTHON_SNAPPY_SETUP_TYPE = setuptools PYTHON_SNAPPY_LICENSE = BSD-3-Clause PYTHON_SNAPPY_LICENSE_FILES = LICENSE -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:49 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:49 -0300 Subject: [Buildroot] [PATCH 2/6] package/python-appdirs: add new package In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-2-emile.cormier.jr@gmail.com> From: ecorm Required by python-twisted[conch], which is required by python-crossbar. Signed-off-by: Emile Cormier --- package/Config.in | 1 + package/python-appdirs/Config.in | 7 +++++++ package/python-appdirs/python-appdirs.hash | 5 +++++ package/python-appdirs/python-appdirs.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-appdirs/Config.in create mode 100644 package/python-appdirs/python-appdirs.hash create mode 100644 package/python-appdirs/python-appdirs.mk diff --git a/package/Config.in b/package/Config.in index 0d5d763180..a1964df5f1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -929,6 +929,7 @@ menu "External python modules" source "package/python-aiozipkin/Config.in" source "package/python-alsaaudio/Config.in" source "package/python-ansicolors/Config.in" + source "package/python-appdirs/Config.in" source "package/python-argh/Config.in" source "package/python-argon2-cffi/Config.in" source "package/python-argon2-cffi-bindings/Config.in" diff --git a/package/python-appdirs/Config.in b/package/python-appdirs/Config.in new file mode 100644 index 0000000000..5585759aa6 --- /dev/null +++ b/package/python-appdirs/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_APPDIRS + bool "python-appdirs" + help + A small Python module for determining appropriate platform- + specific dirs, e.g. a "user data dir". + + http://github.com/ActiveState/appdirs diff --git a/package/python-appdirs/python-appdirs.hash b/package/python-appdirs/python-appdirs.hash new file mode 100644 index 0000000000..52689b8b2c --- /dev/null +++ b/package/python-appdirs/python-appdirs.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/appdirs/json +md5 d6bca12613174185dd9abc8a29f4f012 appdirs-1.4.4.tar.gz +sha256 7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 appdirs-1.4.4.tar.gz +# Locally computed sha256 checksums +sha256 36ddb4d0a745a93ab203203d7190814b1b89727d254caff48c7a7afbbd47000b LICENSE.txt diff --git a/package/python-appdirs/python-appdirs.mk b/package/python-appdirs/python-appdirs.mk new file mode 100644 index 0000000000..222aadbb29 --- /dev/null +++ b/package/python-appdirs/python-appdirs.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-appdirs +# +################################################################################ + +PYTHON_APPDIRS_VERSION = 1.4.4 +PYTHON_APPDIRS_SOURCE = appdirs-$(PYTHON_APPDIRS_VERSION).tar.gz +PYTHON_APPDIRS_SITE = https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c316d7b95f46c669dd9c15aaeecbb48c7d0aeb88c40 +PYTHON_APPDIRS_SETUP_TYPE = setuptools +PYTHON_APPDIRS_LICENSE = MIT +PYTHON_APPDIRS_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:50 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:50 -0300 Subject: [Buildroot] [PATCH 3/6] package/python-zlmdb: add new package In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-3-emile.cormier.jr@gmail.com> From: ecorm Required by python-crossbar. Signed-off-by: Emile Cormier --- DEVELOPERS | 5 +++++ package/Config.in | 1 + package/python-zlmdb/Config.in | 16 ++++++++++++++++ package/python-zlmdb/python-zlmdb.hash | 5 +++++ package/python-zlmdb/python-zlmdb.mk | 14 ++++++++++++++ 5 files changed, 41 insertions(+) create mode 100644 package/python-zlmdb/Config.in create mode 100644 package/python-zlmdb/python-zlmdb.hash create mode 100644 package/python-zlmdb/python-zlmdb.mk diff --git a/DEVELOPERS b/DEVELOPERS index a66b9d7eee..7f04663077 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -746,6 +746,11 @@ N: Eloi Bail F: package/bayer2rgb-neon/ F: package/gstreamer1/gst1-plugins-bayer2rgb-neon/ +N: Emile Cormier +F: package/python-autobahn/ +F: package/python-crossbar/ +F: package/python-zlmdb/ + N: Eric Le Bihan F: docs/manual/adding-packages-meson.txt F: package/adwaita-icon-theme/ diff --git a/package/Config.in b/package/Config.in index a1964df5f1..4330659431 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1300,6 +1300,7 @@ menu "External python modules" source "package/python-yatl/Config.in" source "package/python-zc-lockfile/Config.in" source "package/python-zeroconf/Config.in" + source "package/python-zlmdb/Config.in" source "package/python-zope-interface/Config.in" source "package/python-zopfli/Config.in" endmenu diff --git a/package/python-zlmdb/Config.in b/package/python-zlmdb/Config.in new file mode 100644 index 0000000000..9eaab3a7a7 --- /dev/null +++ b/package/python-zlmdb/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_PYTHON_ZLMDB + bool "python-zlmdb" + select BR2_PACKAGE_PYTHON_CBOR2 # runtime + select BR2_PACKAGE_PYTHON_CFFI # runtime + select BR2_PACKAGE_PYTHON_CLICK # runtime + select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime + select BR2_PACKAGE_PYTHON_LMDB # runtime + select BR2_PACKAGE_PYTHON_NUMPY # runtime + select BR2_PACKAGE_PYTHON_PYNACL # runtime + select BR2_PACKAGE_PYTHON_PYYAML # runtime + select BR2_PACKAGE_PYTHON_TXAIO # runtime + help + Object-relational zero-copy in-memory database layer for + LMDB. + + https://github.com/crossbario/zlmdb diff --git a/package/python-zlmdb/python-zlmdb.hash b/package/python-zlmdb/python-zlmdb.hash new file mode 100644 index 0000000000..d98dc7d12a --- /dev/null +++ b/package/python-zlmdb/python-zlmdb.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/zlmdb/json +md5 d730a394b74108933a65c9fbe76aba36 zlmdb-22.3.1.tar.gz +sha256 0d416a47b1ee627186af8e5c99e5246f6b277df44ba5c6bb67e947eabf948e5a zlmdb-22.3.1.tar.gz +# Locally computed sha256 checksums +sha256 8a139bf325dcca11e0e476ce537bf791a6cfbeed8899a9b6ddc55238e180d230 LICENSE diff --git a/package/python-zlmdb/python-zlmdb.mk b/package/python-zlmdb/python-zlmdb.mk new file mode 100644 index 0000000000..a040622d9d --- /dev/null +++ b/package/python-zlmdb/python-zlmdb.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-zlmdb +# +################################################################################ + +PYTHON_ZLMDB_VERSION = 22.3.1 +PYTHON_ZLMDB_SOURCE = zlmdb-$(PYTHON_ZLMDB_VERSION).tar.gz +PYTHON_ZLMDB_SITE = https://files.pythonhosted.org/packages/71/87/bb3cebd5312e670e33551317c7fc5e4b6a4a9af39075a71cd541b32cc0bf +PYTHON_ZLMDB_SETUP_TYPE = setuptools +PYTHON_ZLMDB_LICENSE = MIT +PYTHON_ZLMDB_LICENSE_FILES = LICENSE + +$(eval $(python-package)) -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:51 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:51 -0300 Subject: [Buildroot] [PATCH 4/6] package/python-twised: added conch and serial support In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-4-emile.cormier.jr@gmail.com> From: ecorm The conch subpackage is required by python-crossbar. Added the serial subpackage while I was at it (not required by Crossbar). Signed-off-by: Emile Cormier --- package/python-twisted/Config.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/python-twisted/Config.in b/package/python-twisted/Config.in index 8596025e9c..c0acf35560 100644 --- a/package/python-twisted/Config.in +++ b/package/python-twisted/Config.in @@ -29,4 +29,16 @@ config BR2_PACKAGE_PYTHON_TWISTED_TLS select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime +config BR2_PACKAGE_PYTHON_TWISTED_CONCH + bool "Conch support" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + select BR2_PACKAGE_PYTHON_APPDIRS # runtime + select BR2_PACKAGE_PYTHON_BCRYPT # runtime + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime + select BR2_PACKAGE_PYTHON_PYASN1 # runtime + +config BR2_PACKAGE_PYTHON_TWISTED_SERIAL + bool "Serial support" + select BR2_PACKAGE_PYTHON_SERIAL # runtime + endif -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:52 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:52 -0300 Subject: [Buildroot] [PATCH 5/6] package/python-autobahn: add missing subpackages In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-5-emile.cormier.jr@gmail.com> From: ecorm Added missing python-autobahn subpackages required by python-crossbar. Signed-off-by: Emile Cormier --- package/python-autobahn/Config.in | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/python-autobahn/Config.in b/package/python-autobahn/Config.in index 627bcd73e5..20b1779b95 100644 --- a/package/python-autobahn/Config.in +++ b/package/python-autobahn/Config.in @@ -10,3 +10,43 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN framework. https://pypi.python.org/pypi/autobahn + +if BR2_PACKAGE_PYTHON_AUTOBAHN + +config BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED + bool "Twisted support" + select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_TWISTED # runtime + select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE + bool "C-based WebSocket acceleration" + select BR2_PACKAGE_PYTHON_WSACCEL # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS + bool "Non-standard WebSocket compression support" + select BR2_PACKAGE_PYTHON_SNAPPY # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION + bool "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization support" + select BR2_PACKAGE_PYTHON_CBOR # runtime + select BR2_PACKAGE_PYTHON_CBOR2 # runtime + select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime + select BR2_PACKAGE_PYTHON_MSGPACK # runtime + select BR2_PACKAGE_PYTHON_UBJSON # runtime + select BR2_PACKAGE_PYTHON_UJSON # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION + bool "TLS and WAMP-cryptosign encryption/authentication support" + select BR2_PACKAGE_PYTHON_PYNACL # runtime + select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime + select BR2_PACKAGE_PYTHON_PYQRCODE # runtime + select BR2_PACKAGE_PYTHON_PYTRIE # runtime + select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime + +config BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM + bool "WAMP-SCRAM authentication support" + select BR2_PACKAGE_PYTHON_ARGON2_CFFI # runtime + select BR2_PACKAGE_PYTHON_PASSLIB # runtime + +endif -- 2.25.1 From emile.cormier.jr at gmail.com Sun Apr 3 22:19:53 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Sun, 3 Apr 2022 19:19:53 -0300 Subject: [Buildroot] [PATCH 6/6] package/python-crossbar: fix configuration In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: <20220403221953.1158787-6-emile.cormier.jr@gmail.com> From: ecorm Fixes configuration and patches setup requirements so that python-crossbar can build and run. See https://github.com/crossbario/crossbar/issues/1936 for discussion with Crossbar author. Fixes: #14556 Signed-off-by: Emile Cormier --- .../0002-Remove-idna-requirement.patch | 29 ---------- ...002-Resolve-conflicting-requirements.patch | 57 +++++++++++++++++++ package/python-crossbar/Config.in | 21 +++---- 3 files changed, 68 insertions(+), 39 deletions(-) delete mode 100644 package/python-crossbar/0002-Remove-idna-requirement.patch create mode 100644 package/python-crossbar/0002-Resolve-conflicting-requirements.patch diff --git a/package/python-crossbar/0002-Remove-idna-requirement.patch b/package/python-crossbar/0002-Remove-idna-requirement.patch deleted file mode 100644 index 5e19a467c2..0000000000 --- a/package/python-crossbar/0002-Remove-idna-requirement.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 9164d21cc66c1f78de37c9383528c5d528cbdbeb Mon Sep 17 00:00:00 2001 -From: Asaf Kahlon -Date: Wed, 26 Sep 2018 15:33:43 +0300 -Subject: [PATCH] Remove idna requirement. - -The latest version of idna is 2.7, but it seems like idna is not a direct -dependency anymore (a short "git grep" shows it's only written in requirement -and readme files). - -Signed-off-by: Asaf Kahlon ---- - requirements-min.txt | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/requirements-min.txt b/requirements-min.txt -index 92fb0f8f..13cdac87 100644 ---- a/requirements-min.txt -+++ b/requirements-min.txt -@@ -8,7 +8,6 @@ click>=6.7 - constantly>=15.1.0 - cryptography>=2.6.1 - h2>=3.2.0 --idna<2.6,>=2.5 - importlib-resources>=4.1.1 - incremental>=17.5.0 - jinja2>=2.10.1 --- -2.17.1 - diff --git a/package/python-crossbar/0002-Resolve-conflicting-requirements.patch b/package/python-crossbar/0002-Resolve-conflicting-requirements.patch new file mode 100644 index 0000000000..afb182cab1 --- /dev/null +++ b/package/python-crossbar/0002-Resolve-conflicting-requirements.patch @@ -0,0 +1,57 @@ +Remove the upper limit for idna, which is an indirect dependency via +twisted[tls] and treq->requests. This upper limit conflicts with the +python-idna v3.3 package bundled with buildroot. The idna requirement for +twisted v20.3.0 is idna>=0.6,!=2.3 , and for requests it's +idna>=2.5,<4;python_version>="3" . + +Remove the upper limit for urllib3, which is an indirect dependency via +treq->requests. This upper limit conflicts with the python-urllib3 v1.26.8 +package bundled with buildroot. The urllib3 requirements for requests v2.27.1 +is urllib3>=1.21.1,<1.27 . + +Set the lower limit for urllib3 to >1.24.2 to satisfy the comment regarding +CVE-2019-11324. + +Remove the importlib-resources>=4.1.1 requirement. The features of +importlib-resources v5.0 (and thus v4.1.1) have been merged into the +CPython 3.10 bundled with buildroot. + +Remove the u-msgpack-python requirement, which is an indirect dependency via +autobahn[serialization] that is not needed due to the python-msgpack package +being chosen instead on CPython. + +Remove the netaddr requirement, which is an indirect dependency via +autobahn[xbr]->web3. buildroot's python-autobahn package currently does not +support the autobahn[xbr] extras. + +Signed-off-by: Emile Cormier + +--- a/requirements-min.txt ++++ b/requirements-min.txt +@@ -8,13 +8,11 @@ colorama>=0.4.4 + constantly>=15.1.0 + cryptography>=2.6.1 + h2>=3.2.0 +-idna<2.6,>=2.5 +-importlib-resources>=4.1.1 ++idna>=2.5 + incremental>=17.5.0 + jinja2>=2.10.1 + lmdb>=0.92 + mistune>=0.7.4 +-netaddr>=0.7.19 + passlib>=1.7.1 + priority>=1.3.0 + psutil>=5.2.2 +@@ -37,10 +35,9 @@ twisted[tls,conch,http2,osx_platform]>=2 + twisted[tls,conch,http2,windows_platform]>=20.3.0; sys_platform == 'win32' + txaio>=21.2.1 + txtorcon>=20.0.0 +-u-msgpack-python>=2.4.1 + # urllib3 is an indirect dependency, but we force a recent version because of https://nvd.nist.gov/vuln/detail/CVE-2019-11324 + # workaround for version conflict in requests vs sth else: +-urllib3<1.25,>=1.21.1 ++urllib3>1.24.2 + vmprof>=0.4.12; platform_machine=='x86_64' or platform_machine=='i386' or platform_machine=='arm' + watchdog>=0.8.3 + werkzeug>=0.14.1 diff --git a/package/python-crossbar/Config.in b/package/python-crossbar/Config.in index 9625d9ce8e..ef02dd54f9 100644 --- a/package/python-crossbar/Config.in +++ b/package/python-crossbar/Config.in @@ -2,21 +2,21 @@ config BR2_PACKAGE_PYTHON_CROSSBAR bool "python-crossbar" depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography # All the following dependencies are runtime dependencies - select BR2_PACKAGE_PYTHON_ATTRS select BR2_PACKAGE_PYTHON_AUTOBAHN + select BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE + select BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS + select BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION + select BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM + select BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION + select BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED select BR2_PACKAGE_PYTHON_BITSTRING select BR2_PACKAGE_PYTHON_CBOR - select BR2_PACKAGE_PYTHON_CBOR2 select BR2_PACKAGE_PYTHON_CLICK - select BR2_PACKAGE_PYTHON_CONSTANTLY + select BR2_PACKAGE_PYTHON_COLORAMA select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY - select BR2_PACKAGE_PYTHON_H2 - select BR2_PACKAGE_PYTHON_IDNA - select BR2_PACKAGE_PYTHON_INCREMENTAL select BR2_PACKAGE_PYTHON_JINJA2 select BR2_PACKAGE_PYTHON_LMDB select BR2_PACKAGE_PYTHON_MISTUNE - select BR2_PACKAGE_PYTHON_NETADDR select BR2_PACKAGE_PYTHON_PASSLIB select BR2_PACKAGE_PYTHON_PRIORITY select BR2_PACKAGE_PYTHON_PSUTIL @@ -29,17 +29,18 @@ config BR2_PACKAGE_PYTHON_CROSSBAR select BR2_PACKAGE_PYTHON_PYTRIE select BR2_PACKAGE_PYTHON_PYYAML select BR2_PACKAGE_PYTHON_SDNOTIFY - select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY select BR2_PACKAGE_PYTHON_SETPROCTITLE select BR2_PACKAGE_PYTHON_SETUPTOOLS select BR2_PACKAGE_PYTHON_TREQ select BR2_PACKAGE_PYTHON_TWISTED + select BR2_PACKAGE_PYTHON_TWISTED_CONCH + select BR2_PACKAGE_PYTHON_TWISTED_HTTP2 + select BR2_PACKAGE_PYTHON_TWISTED_TLS select BR2_PACKAGE_PYTHON_TXAIO select BR2_PACKAGE_PYTHON_TXTORCON - select BR2_PACKAGE_PYTHON_U_MSGPACK - select BR2_PACKAGE_PYTHON_UBJSON select BR2_PACKAGE_PYTHON_WATCHDOG select BR2_PACKAGE_PYTHON_WERKZEUG + select BR2_PACKAGE_PYTHON_ZLMDB select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE help Crossbar.io is an open-source WAMP application router that -- 2.25.1 From bugzilla at busybox.net Sun Apr 3 22:25:34 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 03 Apr 2022 22:25:34 +0000 Subject: [Buildroot] [Bug 14556] python-crossbar fails to build In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14556 --- Comment #2 from Emile Cormier --- Submitted patch set starting with: https://lists.buildroot.org/pipermail/buildroot/2022-April/640097.html -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sun Apr 3 22:38:03 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 03 Apr 2022 22:38:03 +0000 Subject: [Buildroot] [Bug 14556] python-crossbar fails to build In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14556 --- Comment #3 from Emile Cormier --- Submitted patch originated from my more recent fork on GitHub: https://github.com/ecorm/buildroot/tree/bump-crossbar Due to some Python packages having been bumped since I first starting working on this bug, the submitted patch does not correspond directly to the steps described in my original post in this bug report. -- You are receiving this mail because: You are on the CC list for the bug. From james.hilliard1 at gmail.com Sun Apr 3 23:13:06 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 17:13:06 -0600 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <20220403094236.GF1811301@scaer> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> <20220403094236.GF1811301@scaer> Message-ID: On Sun, Apr 3, 2022 at 3:42 AM Yann E. MORIN wrote: > > All, > > On 2022-04-02 19:08 +0200, Arnout Vandecappelle spake thusly: > > On 01/04/2022 13:34, David Laight wrote: > > >From: Jason A. Donenfeld > > >>Sent: 01 April 2022 12:05 > > >>On 4/1/22, James Hilliard wrote: > > >>>I should add that I do also think this should be upstreamed to busybox, > > >>>which > > >>>will also reduce the amount of duplicate work as busybox is commonly used > > >>>across many distros. > > >>I'll work on that. > > +1 to have it in busybox. > > I still fail to understand why this can't be a standalone project. > > The reasoning offered by Jason is that the code should be included > and duplicated into all and each init systems out there. > > However, this increases the maintenance burden, as each implementation > has to be actively tracked (FTR: Jason said he would actively maintain > the implementation in Buildroot, which is very nice of him, so I > understand that he would also do so for all other projects where he'd > have seedrng included). > > Instead of having one implementation suitable for every init systems > that use shell scripts, we'd end up with many different and diverging > implementations that each have their own warts and fixes (or worse, > counter-productive fixes that actually decrease the robustness of that > implementation). > > On the other hand, having a common project would alow to centralise the > fixes. It would also allow to ensure that changes do not actually break > security. Finally, any evolution, be it fixes or features, would be > easily available to every init systems using the common project. > > Furthermore, the level of customisation is very low. All that we can > expect to be customisable is the location where the seeds are stored. > This is already accounted for in the existing seedrng git tree. Using > another hash implementation could be another thing, but there's not > much point here, Blake2 being already pretty strong and known. So there > is probably not much more customisation left to do. > > Moving it into busybox might seem a good idea at first, but this would > still make for an n-th implementation to track, and since busybox has a > focus on code size, the implementation there would probably diverge > substantially from the canonical code we saw so far, further increasing > the maintenance burden. > > That would also not address distributions that do not use busybox (and > do not use systemd either). Buildroot can even be configured in such a > way, using a sys-v init system with coreutils et al,. and no busybox, in > which case having seedrng only in busybox would still not solve the > problem in such a case. And init systems are not limited to what we can > see publicly; there are maybe hundreds or thousands of such custom init > systems behind private doors. Buildroot even has an option to configure > for such an init system (BR2_INIT_NONE, which really means 'custom'). Maybe it should also be upstreamed to util-linux? > > On a final note: systemd has native support for this feature, and thus > one may argue that the feature is indeed already duplicated there. > However, this is different in two ways: first, systemd needs random > numbers for itself already, very early in the boot, possibly in an > initramfs, so it can't easily rely on an external tool to do that; > second, systemd is already C, so it does not make sense for the feature > to be implemented as an external tool either. > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' From james.hilliard1 at gmail.com Sun Apr 3 23:27:47 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 17:27:47 -0600 Subject: [Buildroot] [PATCH v4 1/1] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220403232747.560562-1-james.hilliard1@gmail.com> There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. We need to special case dependency exclusions for host-python-flit-core and host-python-installer to avoid circular dependencies in the flit-bootstrap SETUP_TYPE. We also need to special case the installation command for host-python-flit-core since it can not depend on host-python-installer due to host-python-installer requiring host-python-flit-core. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle --- Changes v3 -> v4: - rebase Changes v2 -> v3: - add special flit-bootstrap SETUP_TYPE - don't change package SETUP_TYPE's yet Changes v1 -> v2: - formatting/cleanup - add comments --- package/pkg-python.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..2e7704a0a9 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +# Use flit built in wheel builder for packages that are flit-bootstrap packages. +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. +# +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +ifeq ($(1),host-python-flit-core) +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) +else +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif +else $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) +else +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. -- 2.25.1 From james.hilliard1 at gmail.com Mon Apr 4 00:41:38 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 18:41:38 -0600 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: support additional host architectures Message-ID: <20220404004138.563732-1-james.hilliard1@gmail.com> There are host toolchains available for non-x86/x86_64 architectures, add them as supported along with their toolchain hashes. Note that the gcc riscv64-unknown-linux-gnu arch needs to be mapped to the rust riscv64gc-unknown-linux-gnu arch. Signed-off-by: James Hilliard --- package/rust-bin/rust-bin.hash | 24 ++++++++++++++++++++++++ package/rustc/Config.in.host | 11 ++++++++++- package/rustc/rustc.mk | 4 +++- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index 9f8788a295..bac2f21c5c 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -1,6 +1,30 @@ +# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc +sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc +sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index 80d1d1a3d8..4ea66c2d2d 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -1,7 +1,16 @@ # All host rust packages should depend on this option config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS bool - default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "mips" + default y if BR2_HOSTARCH = "mipsel" + default y if BR2_HOSTARCH = "powerpc" + default y if BR2_HOSTARCH = "powerpc64" + default y if BR2_HOSTARCH = "powerpc64le" + default y if BR2_HOSTARCH = "riscv64" + default y if BR2_HOSTARCH = "s390x" + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" # The pre-built Rust standard library is only available for a number # of architectures/C libraries combinations, with different levels of diff --git a/package/rustc/rustc.mk b/package/rustc/rustc.mk index 0513dd0b40..b2cc131ee9 100644 --- a/package/rustc/rustc.mk +++ b/package/rustc/rustc.mk @@ -11,7 +11,9 @@ ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-$(LIBC)$(RUSTC_ABI) endif -ifeq ($(HOSTARCH),x86) +ifeq ($(HOSTARCH),riscv64) +RUSTC_HOST_ARCH = riscv64gc +else ifeq ($(HOSTARCH),x86) RUSTC_HOST_ARCH = i686 else RUSTC_HOST_ARCH = $(HOSTARCH) -- 2.25.1 From james.hilliard1 at gmail.com Mon Apr 4 00:57:25 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 18:57:25 -0600 Subject: [Buildroot] [PATCH 1/1] package/{rustc, rust-bin}: add s390x target arch support Message-ID: <20220404005725.564691-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/rust-bin/rust-bin.hash | 3 +++ package/rustc/Config.in.host | 2 ++ 2 files changed, 5 insertions(+) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index 9f8788a295..ec1c09b7ea 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -88,6 +88,9 @@ sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-s # From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc +sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index 80d1d1a3d8..d38b57386c 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -53,6 +53,8 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS BR2_RISCV_ISA_RVA && BR2_RISCV_ISA_RVF && \ BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC && \ BR2_TOOLCHAIN_USES_GLIBC + # s390x-unknown-linux-gnu + default y if BR2_s390x && BR2_TOOLCHAIN_USES_GLIBC # x86_64-unknown-linux-musl default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_MUSL -- 2.25.1 From bugzilla at busybox.net Mon Apr 4 01:06:52 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 01:06:52 +0000 Subject: [Buildroot] [Bug 14556] python-crossbar fails to build In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14556 --- Comment #4 from Emile Cormier --- Created attachment 9266 --> https://bugs.busybox.net/attachment.cgi?id=9266&action=edit Simple tests Python commands issued via the command line, as well as their outputs. Not exhaustive, but at least demonstrates that the affected Python modules can still be imported and used. -- You are receiving this mail because: You are on the CC list for the bug. From tms320c5x at naver.com Mon Apr 4 01:23:55 2022 From: tms320c5x at naver.com (=?utf-8?B?6ri464+Z6reg?=) Date: Mon, 04 Apr 2022 10:23:55 +0900 Subject: [Buildroot] =?utf-8?q?buildroot-2022=2E02_installation_problems?= In-Reply-To: References: Message-ID: Hello I am trying to learn Linux late, but nothing is easy. It takes a lot of effort and time to compile individually, such as binutils, gcc, glibc, and kernel, etc which are required to build a Linux environment. and then have discovered buildroot and i thought that the buildroot could be a little easier to reach my original purpose. I am an engineer, so far I have developed non-linux fields such as avr, stm32f4... I'm a beginner and I don't have an embedded board. First, I will create a virtual target using qemu on my laptop (ubuntu 20.04.3), and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, the toolchain and glibc, compiler will be created through buildroot. The first time I did it without knowing anything, it was successful, but I can't remember which option I chose. Maybe when it first succeeded, i think the gdb option was not checked . Afterwards, if I build with the gdb option selected for the target, an error occurs like below: .... [Makefile:9230: all-gdb] Error 2 My current purpose is to remotely debug a virtual target program through gdbserver installed on the target based on qemu. To do this, gdbserver must be installed on the target, but this does not work. Attached is the .config file when the error occurs. I look forward to your reply. My original job is to control the motor. But before that, I'm already exhausted. host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc target: kernel 5.11.22(boot by qemu), arch: x86_64, x86_64-buildroot-linux-gnu-gcc =>The command to run qemu will: qemu-system-x86_64 -kernel /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M -smp 1 -boot c -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 -append "root=/dev/sda rw acpi=off" -s -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220403_buildroot-nfs-gdbserver-but No success.config Type: application/octet-stream Size: 112956 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20220404_nfs-gdbserver.No success.config Type: application/octet-stream Size: 119806 bytes Desc: not available URL: From james.hilliard1 at gmail.com Mon Apr 4 01:42:52 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 3 Apr 2022 19:42:52 -0600 Subject: [Buildroot] [PATCH 1/1] package/protobuf: add additional supported host architectures Message-ID: <20220404014252.566711-1-james.hilliard1@gmail.com> Move supported host architectures under BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS and propagate the reverse dependency. Add additional supported host architectures based on current src/google/protobuf/stubs/platform_macros.h Signed-off-by: James Hilliard --- package/collectd/Config.in | 6 +++--- package/kismet/Config.in | 4 ++-- package/protobuf-c/Config.in | 4 ++-- package/protobuf/Config.in | 16 +++++++++++++++- package/python-protobuf/Config.in | 2 +- package/riemann-c-client/Config.in | 4 ++-- 6 files changed, 25 insertions(+), 11 deletions(-) diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 67413ffde0..43eef3bf66 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -725,7 +725,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN bool "riemann" # riemann-c-client -> protobuf-c depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS select BR2_PACKAGE_RIEMANN_C_CLIENT select BR2_PACKAGE_LIBTOOL help @@ -759,7 +759,7 @@ config BR2_PACKAGE_COLLECTD_WRITELOG config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS bool "write_prometheus" depends on BR2_INSTALL_LIBSTDCPP # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c select BR2_PACKAGE_LIBMICROHTTPD select BR2_PACKAGE_PROTOBUF_C help @@ -768,7 +768,7 @@ config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS comment "write_prometheus needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_COLLECTD_WRITEREDIS bool "write_redis" diff --git a/package/kismet/Config.in b/package/kismet/Config.in index 961d5f230e..7bde6c92af 100644 --- a/package/kismet/Config.in +++ b/package/kismet/Config.in @@ -3,14 +3,14 @@ comment "kismet needs a toolchain w/ threads, C++, gcc >= 5" depends on !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_KISMET bool "kismet" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_PROTOBUF_C diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in index a32e6cd9e8..d96cd7b382 100644 --- a/package/protobuf-c/Config.in +++ b/package/protobuf-c/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_PROTOBUF_C depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # host-protobuf only builds on certain architectures - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS help Code generator and runtime libraries to use Protocol Buffers from pure C (not C++). @@ -12,4 +12,4 @@ config BR2_PACKAGE_PROTOBUF_C comment "protobuf-c needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in index 46c820b9cf..47e987fa2b 100644 --- a/package/protobuf/Config.in +++ b/package/protobuf/Config.in @@ -14,6 +14,20 @@ # and we can live with requiring gcc 4.8 on PowerPC to build protobuf. # # host-protobuf only builds on certain architectures +config BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "arm" + default y if BR2_HOSTARCH = "mips" + default y if BR2_HOSTARCH = "mipsel" + default y if BR2_HOSTARCH = "powerpc" + default y if BR2_HOSTARCH = "powerpc64" + default y if BR2_HOSTARCH = "powerpc64le" + default y if BR2_HOSTARCH = "sparc" + default y if BR2_HOSTARCH = "sparc64" + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" + config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS bool default y if BR2_arm @@ -22,7 +36,7 @@ config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS default y if BR2_x86_64 default y if BR2_sparc64 default y if BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS depends on BR2_USE_MMU # fork() config BR2_PACKAGE_PROTOBUF diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in index 1af82112b4..7de463520d 100644 --- a/package/python-protobuf/Config.in +++ b/package/python-protobuf/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PYTHON_PROTOBUF bool "python-protobuf" # host-protobuf only builds on certain architectures - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON_SIX # runtime help Python implementation of the Google Protocol Buffers. diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in index e9982b2fb0..6c3c35caf8 100644 --- a/package/riemann-c-client/Config.in +++ b/package/riemann-c-client/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT bool "riemann-c-client" depends on BR2_INSTALL_LIBSTDCPP # protobuf-c depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c select BR2_PACKAGE_PROTOBUF_C help Riemann-c-client is a C client library for the Riemann @@ -14,4 +14,4 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT comment "riemann-c-client needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS -- 2.25.1 From james.hilliard1 at gmail.com Mon Apr 4 06:19:04 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 4 Apr 2022 00:19:04 -0600 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Message-ID: On Sun, Apr 3, 2022 at 4:05 AM Fabrice Fontaine wrote: > > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 Also fixes a different issue caused by the bind depends not being propagated to dhcp: http://autobuild.buildroot.net/results/c06/c06d57b57c9d7867e3fb7fedd8b5ab39872af285 > > Signed-off-by: Fabrice Fontaine Reviewed-by: James Hilliard > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From bugzilla at busybox.net Mon Apr 4 06:25:56 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 06:25:56 +0000 Subject: [Buildroot] [Bug 14741] New: e2fsck is failing during cronjob build where fail to create .tar image Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 Bug ID: 14741 Summary: e2fsck is failing during cronjob build where fail to create .tar image Product: buildroot Version: unspecified Hardware: All OS: Linux Status: NEW Severity: blocker Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: sujithkumar0903 at gmail.com CC: buildroot at uclibc.org Target Milestone: --- tune2fs 1.42.12 (29-Aug-2014) tune2fs 1.42.12 (29-Aug-2014) Please run e2fsck on the filesystem. Creating journal inode: Journal size too big for filesystem. -- You are receiving this mail because: You are on the CC list for the bug. From scritchlow at bioshall.co.uk Mon Apr 4 06:27:42 2022 From: scritchlow at bioshall.co.uk (scritchlow at bioshall.co.uk) Date: Mon, 4 Apr 2022 07:27:42 +0100 Subject: [Buildroot] [PATCH 1/1] configs/licheepi_zero: bump uboot custom version to 2022.01 Message-ID: <20220404062743.9199-1-scritchlow@bioshall.co.uk> From: Steve Critchlow This also removes the dependency to have Python2 installed. Signed-off-by: Steve Critchlow --- configs/licheepi_zero_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig index 2e1a413988..d7a281a0a0 100644 --- a/configs/licheepi_zero_defconfig +++ b/configs/licheepi_zero_defconfig @@ -36,7 +36,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="LicheePi_Zero" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -- 2.25.1 From bugzilla at busybox.net Mon Apr 4 06:37:13 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 06:37:13 +0000 Subject: [Buildroot] [Bug 14741] e2fsck is failing during cronjob build where fail to create .tar image In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 Yann E. MORIN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yann.morin.1998 at free.fr Resolution|--- |INVALID --- Comment #1 from Yann E. MORIN --- Sujithkumar, Thanks for your report. You reported on a failure of tune2fs 1.42.12. Buildroot last used that version of e2fsprogs in Buildroot 2015.05; that version is long unmaintained. Please, update your Buildroot to one of the curently supported maintenance branches: the latest 2022.02 LTS, the previous 2021.02.11 LTS, or the previous maintenance branch, 2021.11.3. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Mon Apr 4 07:03:18 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 07:03:18 +0000 Subject: [Buildroot] [Bug 14741] e2fsck is failing during cronjob build where fail to create .tar image In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 --- Comment #2 from SUJITHKUMAR J P --- (In reply to Yann E. MORIN from comment #1) Hi Yann, Thanks for your reply.Could you please share me steps for upgrade. thanks sujith -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Mon Apr 4 07:09:11 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 07:09:11 +0000 Subject: [Buildroot] [Bug 14741] e2fsck is failing during cronjob build where fail to create .tar image In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 --- Comment #3 from SUJITHKUMAR J P --- (In reply to Yann E. MORIN from comment #1) Hi Yann, Thanks for your reply.Could you please share me steps for upgrade. thanks sujith -- You are receiving this mail because: You are on the CC list for the bug. From ps.report at gmx.net Mon Apr 4 07:12:29 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Mon, 4 Apr 2022 09:12:29 +0200 Subject: [Buildroot] [PATCH v1] package/util-linux: bump version to 2.38 Message-ID: <20220404071229.18768-1-ps.report@gmx.net> - remove 0001-libuuid-include-c-h-to-cover-restrict-keyword.patch (from upstream [3]) - remove 0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch (from upstream [4]) - handle new lsfd option - handle new ipcmk option For details see [1] and [2]. [1] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ChangeLog [2] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes [3] https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c [4] https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6 Signed-off-by: Peter Seiderer --- ...nclude-c-h-to-cover-restrict-keyword.patch | 30 ---- ...cache-as-probed-if-sys-not-available.patch | 141 ------------------ package/util-linux/Config.in | 12 ++ ...nclude-c-h-to-cover-restrict-keyword.patch | 1 - ...cache-as-probed-if-sys-not-available.patch | 1 - package/util-linux/util-linux.hash | 4 +- package/util-linux/util-linux.mk | 8 +- 7 files changed, 20 insertions(+), 177 deletions(-) delete mode 100644 package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch delete mode 100644 package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch delete mode 120000 package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch delete mode 120000 package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch diff --git a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch deleted file mode 100644 index 3b4f510920..0000000000 --- a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Thu, 5 Aug 2021 09:46:21 +0200 -Subject: libuuid: include c.h to cover restrict keyword - -References: https://github.com/karelzak/util-linux/issues/1405 -Signed-off-by: Karel Zak - -[Retrieved from: -https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c] -Signed-off-by: Fabrice Fontaine ---- - libuuid/src/unparse.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libuuid/src/unparse.c b/libuuid/src/unparse.c -index f9a5e4315..ffeed2ed6 100644 ---- a/libuuid/src/unparse.c -+++ b/libuuid/src/unparse.c -@@ -33,6 +33,7 @@ - */ - - #include -+#include "c.h" - - #include "uuidP.h" - --- -cgit 1.2.3-1.el7 - diff --git a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch deleted file mode 100644 index bfc8f60834..0000000000 --- a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch +++ /dev/null @@ -1,141 +0,0 @@ -From 84d38ae3eca523ef990cb848563cc63de25266e6 Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Fri, 19 Nov 2021 14:19:03 +0100 -Subject: [PATCH] libblkid: don't mark cache as "probed" if /sys not available - -For "mount --all" we need to read the cache more than once in a short -time. The library checks the delay between probes, and if the delay is -too short, it does not read devices. This is a problem on boot when there -are no /sys, and the cache is empty. In this case, we need to check -for /sys until it's available constantly. - -https://github.com/util-linux/util-linux/issues/1492 -Signed-off-by: Karel Zak - -[Retrieved from: -https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6] -Signed-off-by: Fabrice Fontaine ---- - libblkid/src/devname.c | 26 +++++++++++++++++--------- - libblkid/src/resolve.c | 2 +- - libblkid/src/tag.c | 8 +++++--- - 3 files changed, 23 insertions(+), 13 deletions(-) - -diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c -index 90a8245fc9..9a173e3489 100644 ---- a/libblkid/src/devname.c -+++ b/libblkid/src/devname.c -@@ -429,6 +429,8 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) - if (!sysfs) - return -BLKID_ERR_SYSFS; - -+ DBG(DEVNAME, ul_debug(" probe /sys/block")); -+ - /* scan /sys/block */ - while ((dev = xreaddir(sysfs))) { - DIR *dir = NULL; -@@ -533,14 +535,18 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) - /* - * Read the device data for all available block devices in the system. - */ --static int probe_all(blkid_cache cache, int only_if_new) -+static int probe_all(blkid_cache cache, int only_if_new, int update_interval) - { -+ int rc; -+ - if (!cache) - return -BLKID_ERR_PARAM; - - if (cache->bic_flags & BLKID_BIC_FL_PROBED && -- time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) -+ time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) { -+ DBG(PROBE, ul_debug("don't re-probe [delay < %d]", BLKID_PROBE_INTERVAL)); - return 0; -+ } - - blkid_read_cache(cache); - #ifdef VG_DIR -@@ -548,7 +554,13 @@ static int probe_all(blkid_cache cache, int only_if_new) - #endif - ubi_probe_all(cache, only_if_new); - -- sysfs_probe_all(cache, only_if_new, 0); -+ rc = sysfs_probe_all(cache, only_if_new, 0); -+ -+ /* Don't mark the change as "probed" if /sys not avalable */ -+ if (update_interval && rc == 0) { -+ cache->bic_time = time(NULL); -+ cache->bic_flags |= BLKID_BIC_FL_PROBED; -+ } - - blkid_flush_cache(cache); - return 0; -@@ -567,11 +579,7 @@ int blkid_probe_all(blkid_cache cache) - int ret; - - DBG(PROBE, ul_debug("Begin blkid_probe_all()")); -- ret = probe_all(cache, 0); -- if (ret == 0) { -- cache->bic_time = time(NULL); -- cache->bic_flags |= BLKID_BIC_FL_PROBED; -- } -+ ret = probe_all(cache, 0, 1); - DBG(PROBE, ul_debug("End blkid_probe_all() [rc=%d]", ret)); - return ret; - } -@@ -589,7 +597,7 @@ int blkid_probe_all_new(blkid_cache cache) - int ret; - - DBG(PROBE, ul_debug("Begin blkid_probe_all_new()")); -- ret = probe_all(cache, 1); -+ ret = probe_all(cache, 1, 0); - DBG(PROBE, ul_debug("End blkid_probe_all_new() [rc=%d]", ret)); - return ret; - } -diff --git a/libblkid/src/resolve.c b/libblkid/src/resolve.c -index 641b022860..16653fa8e1 100644 ---- a/libblkid/src/resolve.c -+++ b/libblkid/src/resolve.c -@@ -32,7 +32,7 @@ char *blkid_get_tag_value(blkid_cache cache, const char *tagname, - blkid_cache c = cache; - char *ret = NULL; - -- DBG(TAG, ul_debug("looking for %s on %s", tagname, devname)); -+ DBG(TAG, ul_debug("looking for tag %s on %s device", tagname, devname)); - - if (!devname) - return NULL; -diff --git a/libblkid/src/tag.c b/libblkid/src/tag.c -index 390a648648..178336505f 100644 ---- a/libblkid/src/tag.c -+++ b/libblkid/src/tag.c -@@ -326,14 +326,14 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, - blkid_dev dev; - int pri; - struct list_head *p; -- int probe_new = 0; -+ int probe_new = 0, probe_all = 0; - - if (!cache || !type || !value) - return NULL; - - blkid_read_cache(cache); - -- DBG(TAG, ul_debug("looking for %s=%s in cache", type, value)); -+ DBG(TAG, ul_debug("looking for tag %s=%s in cache", type, value)); - - try_again: - pri = -1; -@@ -366,9 +366,11 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, - goto try_again; - } - -- if (!dev && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { -+ if (!dev && !probe_all -+ && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { - if (blkid_probe_all(cache) < 0) - return NULL; -+ probe_all++; - goto try_again; - } - return dev; diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 9e9b8933e5..d3c0070160 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -146,6 +146,11 @@ config BR2_PACKAGE_UTIL_LINUX_HWCLOCK help Query or set the hardware clock (RTC) +config BR2_PACKAGE_UTIL_LINUX_IPCMK + bool "ipcmk" + help + Make various IPC resources + config BR2_PACKAGE_UTIL_LINUX_IPCRM bool "ipcrm" help @@ -198,6 +203,13 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP help Set up and control loop devices +config BR2_PACKAGE_UTIL_LINUX_LSFD + bool "lsfd" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + List file descriptors (modern replacement for lsof) + config BR2_PACKAGE_UTIL_LINUX_LSLOGINS bool "lslogins" depends on BR2_USE_MMU # libsmartcols diff --git a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch deleted file mode 120000 index beecc3a48f..0000000000 --- a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch +++ /dev/null @@ -1 +0,0 @@ -../0001-libuuid-include-c-h-to-cover-restrict-keyword.patch \ No newline at end of file diff --git a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch deleted file mode 120000 index 2f3c482144..0000000000 --- a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch +++ /dev/null @@ -1 +0,0 @@ -../0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch \ No newline at end of file diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash index 748a36e0be..6f1bb74ecb 100644 --- a/package/util-linux/util-linux.hash +++ b/package/util-linux/util-linux.hash @@ -1,5 +1,5 @@ -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc -sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz +# From https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/sha256sums.asc +sha256 6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64 util-linux-2.38.tar.xz # License files, locally calculated sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 891c17d1d9..9d9b61d8f5 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -7,8 +7,8 @@ # When making changes to this file, please check if # util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. -UTIL_LINUX_VERSION_MAJOR = 2.37 -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4 +UTIL_LINUX_VERSION_MAJOR = 2.38 +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR) UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) @@ -140,6 +140,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \ $(if $(BR2_PACKAGE_UTIL_LINUX_HARDLINK),--enable-hardlink,--disable-hardlink) \ $(if $(BR2_PACKAGE_UTIL_LINUX_HWCLOCK),--enable-hwclock --disable-hwclock-gplv3,--disable-hwclock) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_IPCMK),--enable-ipcmk,--disable-ipcmk) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ @@ -153,6 +154,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGGER),--enable-logger,--disable-logger) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN),--enable-login,--disable-login) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LSFD),--enable-lsfd,--disable-lsfd) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LSLOGINS),--enable-lslogins,--disable-lslogins) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LSMEM),--enable-lsmem,--disable-lsmem) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ @@ -214,7 +216,9 @@ HOST_UTIL_LINUX_CONF_OPTS += \ --disable-agetty \ --disable-chfn-chsh \ --disable-chmem \ + --disable-ipcmk \ --disable-login \ + --disable-lsfd \ --disable-lslogins \ --disable-mesg \ --disable-more \ -- 2.35.1 From br015 at umbiko.net Mon Apr 4 07:19:28 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Mon, 04 Apr 2022 07:19:28 +0000 Subject: [Buildroot] buildroot-2022.02 installation problems In-Reply-To: References: Message-ID: <4d616ed27f13e3460003ddbf54a0222c@umbiko.net> Hi, On 2022-04-03 21:59, ??? wrote: > Hello > I am trying to learn Linux late, but nothing is easy. > It takes a lot of effort and time to compile individually, such as > binutils, gcc, glibc, and kernel, etc which are required to build a > Linux environment. > and then have discovered buildroot and i thought that the buildroot > could be a little easier to reach my original purpose. > I am an engineer, so far I have developed non-linux fields such as > avr, stm32f4... > > I'm a beginner and I don't have an embedded board. First, I will > create a virtual target using qemu on my laptop (ubuntu 20.04.3), > and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, > the toolchain and glibc, compiler will be created through buildroot. > The first time I did it without knowing anything, it was successful, > but I can't remember which option I chose. Did you use the predefined qemu_x86_defconfig? > Maybe when it first succeeded, i think the gdb option was not checked . > > Afterwards, if I build with the gdb option selected for the target, an > error occurs like below: > .... > [Makefile:9230: all-gdb] Error 2 > > My current purpose is to remotely debug a virtual target program > through gdbserver installed on the target based on qemu. > To do this, gdbserver must be installed on the target, but this does > not work. > Attached is the .config file when the error occurs. File attachments rather don't work in this environment. Please enclose the content of your defconfig - the file that gets created by 'make savedefconfig'. Kind regards, Andreas > I look forward to your reply. > > host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc > target: kernel 5.11.22(boot by qemu), arch: x86_64, > x86_64-buildroot-linux-gnu-gcc > =>The command to run qemu will: > qemu-system-x86_64 -kernel > /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M -smp 1 -boot c > -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 -append > "root=/dev/sda rw acpi=off" -s From bugzilla at busybox.net Mon Apr 4 07:25:26 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 04 Apr 2022 07:25:26 +0000 Subject: [Buildroot] [Bug 14741] e2fsck is failing during cronjob build where fail to create .tar image In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14741 SUJITHKUMAR J P changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- Version|unspecified |2013.11 Priority|P5 |P1 -- You are receiving this mail because: You are on the CC list for the bug. From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/wireshark: needs C++ Message-ID: <20220404071821.5F0F886150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3763c30214d6c16c744c1e03a9ae7fe6fd061165 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/nbd: needs host-bison Message-ID: <20220404071821.3908886152@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8290f99a7a2f75a8668d4e4f6c42f59862396a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master host-bison is mandatory to avoid the following build failure since bump to version 3.24 in commit bf2e459bb9fc9fe57147313cda35f7022172e6e8 and https://github.com/NetworkBlockDevice/nbd/commit/cd099ee7d0602104506bdd5063c0a3db2ec9b550: configure: error: bison is required Fixes: - http://autobuild.buildroot.org/results/05872813c9e9b9f39f960fa9a33ad82dc124c808 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/nbd/nbd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index f0fb23910e..50f698dd24 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -8,7 +8,7 @@ NBD_VERSION = 3.24 NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) NBD_CONF_OPTS = --enable-lfs -NBD_DEPENDENCIES = host-pkgconf libglib2 +NBD_DEPENDENCIES = host-bison host-pkgconf libglib2 NBD_LICENSE = GPL-2.0 NBD_LICENSE_FILES = COPYING NBD_CPE_ID_VENDOR = network_block_device_project From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/paho-mqtt-c: bump to version 1.3.10 Message-ID: <20220404071821.2F5E486108@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0af793816dca4094ea6e917a1754ca5dbbce9894 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Service release. Issues resolved: https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1 https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.10 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash index 4cdedfbf9a..931bf5b9c8 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.hash +++ b/package/paho-mqtt-c/paho-mqtt-c.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 386c9b5fa1cf6d0d516db12d57fd8f6a410dd0fdc5e9a2da870aae437a2535ed paho-mqtt-c-1.3.9.tar.gz +sha256 c70db96e66adacae411d5d875fbb08bca6ff9945de3d215b3af93cbd22792db5 paho-mqtt-c-1.3.10.tar.gz sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk index 68b58f2e02..d6356a7ccc 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.mk +++ b/package/paho-mqtt-c/paho-mqtt-c.mk @@ -4,7 +4,7 @@ # ################################################################################ -PAHO_MQTT_C_VERSION = 1.3.9 +PAHO_MQTT_C_VERSION = 1.3.10 PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/cog: bump to version 0.12.4 Message-ID: <20220404071821.4306586150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2490cc30525f2249f319b73176d13305be152b86 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Acked-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/cog/cog.hash | 8 ++++---- package/cog/cog.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/cog/cog.hash b/package/cog/cog.hash index 839b12e619..00d3a4e191 100644 --- a/package/cog/cog.hash +++ b/package/cog/cog.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/cog-0.12.1.tar.xz.sums -md5 25a80a5a8a52b8873933a128151b8928 cog-0.12.1.tar.xz -sha1 3b9f67bc23cd9e3db2221366d6cde4ca0b06b811 cog-0.12.1.tar.xz -sha256 23caaafa2ef5c2f6a97d467fcce908ea71087ad03b72deb9280225c0dd561c91 cog-0.12.1.tar.xz +# From https://wpewebkit.org/releases/cog-0.12.4.tar.xz.sums +md5 cdb8acdc3acc9b5082e7db9c279155c3 cog-0.12.4.tar.xz +sha1 600b30efadf55bf94ea5062a0a1b2ea0b74053e5 cog-0.12.4.tar.xz +sha256 9983c621c8e14fca3792ff566cb6b86d6a1f17446eb4c083af4a5a749112982f cog-0.12.4.tar.xz # Hashes for license files: sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING diff --git a/package/cog/cog.mk b/package/cog/cog.mk index 2f6ef402fb..f2ca0af93d 100644 --- a/package/cog/cog.mk +++ b/package/cog/cog.mk @@ -4,7 +4,7 @@ # ################################################################################ -COG_VERSION = 0.12.1 +COG_VERSION = 0.12.4 COG_SITE = https://wpewebkit.org/releases COG_SOURCE = cog-$(COG_VERSION).tar.xz COG_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] Revert "package/tpm2-tss: bump version to 3.2.0" Message-ID: <20220404071821.26CBD86150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d1fc278f6d7bbb86be5f9b13d6ab9302ade5c12b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This reverts commit ed13a65a08cfe315aed9344abc609f5f2b92c782 as it has the following non trivial issues: - pkgconfig files have no version number if we run autoreconf (https://github.com/tpm2-software/tpm2-tss/issues/2329) resulting in the following build failures with tpm2-{abrmd,pkcs11} or libsecret: configure: error: Package requirements (tss2-esys >= 2.0) were not met: Package dependency requirement 'tss2-esys >= 2.0' could not be satisfied. Package 'tss2-esys' has version '', required version is '>= 2.0' - addgroup/groupadd and adduser/useradd are mandatory since https://github.com/tpm2-software/tpm2-tss/commit/7fde604383c62fc764a1e060dff48fc06f79860b: configure: error: addgroup or groupadd are needed. It seems better to find an upstreamable solution to both issues before bumping. Fixes: - http://autobuild.buildroot.org/results/d4d6807af3493deb47951c6f11f427040e5c5e11 - http://autobuild.buildroot.org/results/a304e45bacb8cd7e7ea9bc49e4a8ec9359ca0a3a - http://autobuild.buildroot.org/results/be0befa81e955ac8cf16f9d20723f9b9b174e012 - http://autobuild.buildroot.org/results/d4ebee400423f6df51613193c86db3c58c94ff88 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tpm2-tss/tpm2-tss.hash | 2 +- package/tpm2-tss/tpm2-tss.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tpm2-tss/tpm2-tss.hash b/package/tpm2-tss/tpm2-tss.hash index db6b3b7ad0..b6eb3c1f97 100644 --- a/package/tpm2-tss/tpm2-tss.hash +++ b/package/tpm2-tss/tpm2-tss.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 48305e4144dcf6d10f3b25b7bccf0189fd2d1186feafd8cd68c6b17ecf0d7912 tpm2-tss-3.2.0.tar.gz +sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk index 568ac35c8f..060883c377 100644 --- a/package/tpm2-tss/tpm2-tss.mk +++ b/package/tpm2-tss/tpm2-tss.mk @@ -4,7 +4,7 @@ # ################################################################################ -TPM2_TSS_VERSION = 3.2.0 +TPM2_TSS_VERSION = 3.1.0 TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) TPM2_TSS_LICENSE = BSD-2-Clause TPM2_TSS_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/luaexpat: bump to version 1.4.0 Message-ID: <20220404071821.4CD3786151@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3852f88c9a895051b66177b32074c2f2aaafef04 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master moved under the hat of https://github.com/lunarmodules remove upstream patch diff LICENSE: -The MIT License (MIT) -Copyright (c) 2013 Tom??s Guisasola +Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-restore-getcurrentbytecount.patch | 40 ---------------------- package/luaexpat/Config.in | 2 +- package/luaexpat/luaexpat.hash | 4 +-- package/luaexpat/luaexpat.mk | 3 +- 4 files changed, 5 insertions(+), 44 deletions(-) diff --git a/package/luaexpat/0001-restore-getcurrentbytecount.patch b/package/luaexpat/0001-restore-getcurrentbytecount.patch deleted file mode 100644 index 6cf2192678..0000000000 --- a/package/luaexpat/0001-restore-getcurrentbytecount.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 77cb691f781918908dfe34785f00a5ff75d5cc20 Mon Sep 17 00:00:00 2001 -From: Francois Perrad -Date: Sat, 16 Feb 2019 15:56:00 +0100 -Subject: [PATCH] restore getcurrentbytecount - -see https://github.com/tomasguisasola/luaexpat/issues/3 - -Fetch from: https://github.com/tomasguisasola/luaexpat/commit/0926f2d705109b7d35b721344264b39c1169e0de - -Signed-off-by: Francois Perrad ---- - src/lxplib.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/luaexpat-1.3.3/src/lxplib.c b/luaexpat-1.3.3/src/lxplib.c -index 7726913..35bec3c 100644 ---- a/luaexpat-1.3.3/src/lxplib.c -+++ b/luaexpat-1.3.3/src/lxplib.c -@@ -538,11 +538,18 @@ static int lxp_stop (lua_State *L) { - return 1; - } - -+static int lxp_getcurrentbytecount (lua_State* L) { -+ lxp_userdata *xpu = checkparser(L, 1); -+ lua_pushinteger(L, XML_GetCurrentByteCount(xpu->parser)); -+ return 1; -+} -+ - static const luaL_Reg lxp_meths[] = { - {"parse", lxp_parse}, - {"close", lxp_close}, - {"__gc", parser_gc}, - {"pos", lxp_pos}, -+ {"getcurrentbytecount", lxp_getcurrentbytecount}, - {"setencoding", lxp_setencoding}, - {"getcallbacks", getcallbacks}, - {"getbase", getbase}, --- -2.17.1 - diff --git a/package/luaexpat/Config.in b/package/luaexpat/Config.in index 2322dc430c..25b067460a 100644 --- a/package/luaexpat/Config.in +++ b/package/luaexpat/Config.in @@ -4,4 +4,4 @@ config BR2_PACKAGE_LUAEXPAT help LuaExpat is a SAX XML parser based on the Expat library. - http://www.keplerproject.org/luaexpat/ + https://lunarmodules.github.io/luaexpat diff --git a/package/luaexpat/luaexpat.hash b/package/luaexpat/luaexpat.hash index dd1cf40e5f..fbfb623fcc 100644 --- a/package/luaexpat/luaexpat.hash +++ b/package/luaexpat/luaexpat.hash @@ -1,3 +1,3 @@ # computed by luarocks/buildroot -sha256 b55908fcd7df490a59aab25284460add8283f1c6b94ab584900fe3e49775172a luaexpat-1.3.3-1.src.rock -sha256 7f5cb0c1750babcbb09637b7f0ff34972d51cf23b7f413bef902b47aa65febcd luaexpat-1.3.3/LICENSE +sha256 bee88ddc1063f49c5685b75b6696e8df0607a388432cbcb189cd0b8291d956aa luaexpat-1.4.0-1.src.rock +sha256 7e6a727e5b57cca713a2f2633f05d7e0cc1e261cc6a7613bbe266e625b2f14da luaexpat/LICENSE diff --git a/package/luaexpat/luaexpat.mk b/package/luaexpat/luaexpat.mk index 8c86b24f26..c176fb8c17 100644 --- a/package/luaexpat/luaexpat.mk +++ b/package/luaexpat/luaexpat.mk @@ -4,7 +4,8 @@ # ################################################################################ -LUAEXPAT_VERSION = 1.3.3-1 +LUAEXPAT_VERSION = 1.4.0-1 +LUAEXPAT_SUBDIR = luaexpat LUAEXPAT_LICENSE = MIT LUAEXPAT_LICENSE_FILES = $(LUAEXPAT_SUBDIR)/LICENSE LUAEXPAT_DEPENDENCIES = expat From arnout at mind.be Mon Apr 4 07:27:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 09:27:21 +0200 Subject: [Buildroot] [git commit] package/fluidsynth: needs C++ Message-ID: <20220404071821.56BC286152@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2eeb66a82b2dc5696cb1b9b9e9a1f0df1e7b1647 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master fluidsynth needs C++ since bump to version 2.2.0 in commit 7e02d2e762eb94fde1f222df1b960dbd263fa946 and https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/fluidsynth/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in index 5726e235e4..376419ce8f 100644 --- a/package/fluidsynth/Config.in +++ b/package/fluidsynth/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUIDSYNTH # the .pc file installed by fluidsynth does not mention its # indirect dependencies in Libs.private. depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBGLIB2 help FluidSynth is a real-time software synthesizer based on the @@ -128,7 +129,7 @@ config BR2_PACKAGE_FLUIDSYNTH_READLINE endif # BR2_PACKAGE_FLUIDSYNTH -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 4 07:34:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 09:34:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl In-Reply-To: <20220403201530.GB2354230@scaer> References: <20220403185306.928833-1-fontaine.fabrice@gmail.com> <20220403201530.GB2354230@scaer> Message-ID: <01a5ba2d-a511-5322-5406-d1bc9bc95347@mind.be> On 03/04/2022 22:15, Yann E. MORIN wrote: > Fabrice, All, > > On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly: >> Fix the following build failure with libressl raised since bump to >> version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and >> https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: >> >> configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING. > > This sentence is incorrect. It is legally not possible to *distribute* > fetchmail when linked against LibreSSL, as the GPL conditions in that > case only trigger at the moment of distribution. > > So, there should be no issue with linking fetchmail to LibreSSL for > private use without redistribution. It would be nice though if this could be mentioned in legal-info. Regards, Arnout > > But: IANAL, TINLA, TTYL... > >> Fixes: >> - http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76 >> >> Signed-off-by: Fabrice Fontaine > > Applied to master, thanks. > > Regards, > Yann E. MORIN. > >> --- >> package/fetchmail/Config.in | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in >> index a4bf5a7c20..1017df34b2 100644 >> --- a/package/fetchmail/Config.in >> +++ b/package/fetchmail/Config.in >> @@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL >> depends on BR2_USE_MMU # fork() >> select BR2_PACKAGE_CA_CERTIFICATES >> select BR2_PACKAGE_OPENSSL >> + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL >> help >> Fetchmail - the mail-retrieval daemon >> Client daemon to move mail from POP and IMAP to your local >> -- >> 2.35.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > From hrsourabh011 at gmail.com Mon Apr 4 08:36:12 2022 From: hrsourabh011 at gmail.com (Sourabh Hegde) Date: Mon, 4 Apr 2022 10:36:12 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Message-ID: Hello Quentin, I made some progress to build casync as host-casync. I modified casync.mk file to include "HOST_CASYNC_DEPENDENCIES = host-acl host-libcurl host-openssl" below "CASYNC_DEPENDENCIES = acl libcurl openssl". And also added BR2_PACKAGE_HOST_CASYNC=YES to config. Then if I run make host-casync it results in make[1]: * No rule to make target 'host-libfuse' I think this is related to below DEPENDENCY in casync.mk file: ifeq ($(BR2_PACKAGE_LIBFUSE),y) CASYNC_DEPENDENCIES += libfuse CASYNC_CONF_OPTS += -Dfuse=true else CASYNC_CONF_OPTS += -Dfuse=false endif But I have selected BR2_PACKAGE_LIBFUSE=y in menuconfig. What else should be selected for "fuse"? Can you please let me know how to set up buildroot to use build machine libs? Thanks in advance. On Fri, 1 Apr 2022 at 14:29, Sourabh Hegde wrote: > Hello Quentin, > > I assume you need this at build time then since you are talking about >> binary for the host system. In that case, you need to add host-casync to >> your config. >> >> However, casync is currently a target-only package. >> > > If I understand correctly, then as of now Buildroot can't be used to > create casync host package. > > $(eval $(host-meson-package)) >> >> at the end of the package/casync/casync.mk file. >> > > I will try this solution. > > But what could be the other alternative to work with casync? > > Thanks in advance > > On Fri, 1 Apr 2022 at 13:54, Quentin Schulz < > quentin.schulz at theobroma-systems.com> wrote: > >> Hi Sourabh, >> >> On 4/1/22 13:41, Sourabh Hegde wrote: >> > Hello Quentin, >> > >> > make casync >> >> >> >> if you want it in an image created by Buildroot, modify your config >> with >> >> make menuconfig and save your changes, then run make. >> >> >> > >> > But will this create binary for host system also? Sorry, its bit >> confusing >> > here. >> > >> >> No, host packages and target packages are compiled with a different >> keyword. >> >> make casync is for target package >> make host-casync is for host package >> >> > I need casync tool use with "rauc" as given in >> > >> https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e= >> > >> > When I do "rauc convert --cert= --key= >> > --keyring= conventional-bundle.raucb casync-bundle.raucb" >> > >> >> I assume you need this at build time then since you are talking about >> binary for the host system. In that case, you need to add host-casync to >> your config. >> >> However, casync is currently a target-only package. >> >> To create a host package, you need at the very least to add: >> >> $(eval $(host-meson-package)) >> >> at the end of the package/casync/casync.mk file. >> >> This might not be enough and might require some additional tweaks to the >> package makefile. >> >> Cheers, >> Quentin >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Laight at ACULAB.COM Mon Apr 4 08:41:45 2022 From: David.Laight at ACULAB.COM (David Laight) Date: Mon, 4 Apr 2022 08:41:45 +0000 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl In-Reply-To: <01a5ba2d-a511-5322-5406-d1bc9bc95347@mind.be> References: <20220403185306.928833-1-fontaine.fabrice@gmail.com> <20220403201530.GB2354230@scaer> <01a5ba2d-a511-5322-5406-d1bc9bc95347@mind.be> Message-ID: <5771e60200854118a380e4b47b540f68@AcuMS.aculab.com> From: Arnout Vandecappelle > Sent: 04 April 2022 08:35 > > On 03/04/2022 22:15, Yann E. MORIN wrote: > > Fabrice, All, > > > > On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly: > >> Fix the following build failure with libressl raised since bump to > >> version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and > >> https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: > >> > >> configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b > exception. See COPYING. > > > > This sentence is incorrect. It is legally not possible to *distribute* > > fetchmail when linked against LibreSSL, as the GPL conditions in that > > case only trigger at the moment of distribution. > > > > So, there should be no issue with linking fetchmail to LibreSSL for > > private use without redistribution. > > It would be nice though if this could be mentioned in legal-info. ISTM that the default needs to be to disable the build. Requiring 'hoops be gone through' for a private build. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) From joel at jms.id.au Mon Apr 4 09:12:56 2022 From: joel at jms.id.au (Joel Stanley) Date: Mon, 4 Apr 2022 18:42:56 +0930 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc Message-ID: <20220404091256.683581-1-joel@jms.id.au> Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the Power8 optimisations off to fix a build issue. Instead apply a patch from the develop branch upstream to fix the issue. This patch is not yet in a released version of zlib-ng. Signed-off-by: Joel Stanley --- ...rd-for-vec_sumsu-to-prevent-undefine.patch | 27 +++++++++++++++++++ package/zlib-ng/zlib-ng.mk | 6 ----- 2 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch diff --git a/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch new file mode 100644 index 000000000000..cc103215de3c --- /dev/null +++ b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch @@ -0,0 +1,27 @@ +From 677f56825f7080403e18e57ffe8177f3df290f20 Mon Sep 17 00:00:00 2001 +From: Nathan Moinvaziri +Date: Sun, 23 Jan 2022 12:59:01 -0800 +Subject: [PATCH] Use static keyword for vec_sumsu to prevent undefined + reference error when g++ linking. + +Signed-off-by: Joel Stanley +--- + arch/power/adler32_power8.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/power/adler32_power8.c b/arch/power/adler32_power8.c +index 029aa3a84c57..fc4086322efc 100644 +--- a/arch/power/adler32_power8.c ++++ b/arch/power/adler32_power8.c +@@ -44,7 +44,7 @@ + #include "adler32_p.h" + + /* Vector across sum unsigned int (saturate). */ +-inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { ++static inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { + __b = vec_sld(__a, __a, 8); + __b = vec_add(__b, __a); + __a = vec_sld(__b, __b, 4); +-- +2.35.1 + diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index 938acd4181a6..fb497b8c11d0 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,10 +23,4 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif -ifeq ($(BR2_powerpc_power8),y) -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON -else -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF -endif - $(eval $(cmake-package)) -- 2.35.1 From quentin.schulz at theobroma-systems.com Mon Apr 4 09:41:52 2022 From: quentin.schulz at theobroma-systems.com (Quentin Schulz) Date: Mon, 4 Apr 2022 11:41:52 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Message-ID: <0b7b806d-7325-9891-27ec-3a6394a328d0@theobroma-systems.com> Hi Sourabh, On 4/4/22 10:36, Sourabh Hegde wrote: > Hello Quentin, > > I made some progress to build casync as host-casync. I modified casync.mk > file to include "HOST_CASYNC_DEPENDENCIES = host-acl host-libcurl > host-openssl" below "CASYNC_DEPENDENCIES = acl libcurl openssl". And also > added BR2_PACKAGE_HOST_CASYNC=YES to config. Then if I run make host-casync > it results in > > make[1]: * No rule to make target 'host-libfuse' > Same as for casync, there's no host package for libfuse right now. You could add: $(eval $(host-autotools-package)) to the bottom of package/libfuse/libfuse.mk and see where it leads you. > I think this is related to below DEPENDENCY in casync.mk file: > ifeq ($(BR2_PACKAGE_LIBFUSE),y) > CASYNC_DEPENDENCIES += libfuse > CASYNC_CONF_OPTS += -Dfuse=true > else > CASYNC_CONF_OPTS += -Dfuse=false > endif > > But I have selected BR2_PACKAGE_LIBFUSE=y in menuconfig. What else should > be selected for "fuse"? > I'm surprised CASYNC_DEPENDENCIES += would add to HOST_CASYNC_DEPENENCIES but I don't know enough about Buildroot makefiles to help with that. I'm puzzled by the error message basically, I don't know where Buildroot got the information it needs to pull libfuse too. I'm pretty sure this will be an issue anyways since the presence of libfuse target package shouldn't influence the configuration options of the host package, only BR2_PACKAGE_HOST_LIBFUSE presence should be taken into account for the host casync package. I'm afraid I won't be of any help in this quest as this is a bit too far into Buildroot system for me and I would just dig into the documentation, same way you would do :) Maybe someone else can chime in. In any case, let us know when you find out what was needed to make it work (and send patches to Buildroot so other people don't have to go through the same pain as you :) ). Cheers, Quentin From peter at korsgaard.com Mon Apr 4 12:30:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:30:10 +0200 Subject: [Buildroot] [PATCH 1/2] package/qt5base: fix race with libxkbcommon In-Reply-To: <20220328111413.1618964-1-foss+buildroot@0leil.net> (Quentin Schulz's message of "Mon, 28 Mar 2022 13:14:12 +0200") References: <20220328111413.1618964-1-foss+buildroot@0leil.net> Message-ID: <87lewl1165.fsf@dell.be.48ers.dk> >>>>> "Quentin" == Quentin Schulz writes: > From: Quentin Schulz > qt5wayland package currently has a bug if the xkbcommon Qt config is not > enabled which highlighted a race issues between qt5base, libxkbcommon > and qt5wayland. > qt5wayland has a dependency on libxkbcommon package if it's enabled. > qt5base only has a dependency on libxkbcommon if xcb support is to be > enabled. > If libxkbcommon package is built before qt5base, qt5base will detect it > during its configure step and enable the Qt config accordingly. This > will make it available to qt5wayland afterwards, even if xcb support is > not enabled in Buildroot Kconfig. > However, if qt5base is built before libxkbcommon is, qt5base will not > advertise support of xbcommon feature to qt5wayland (which will fail its > build because of a bug in the source code). > Since the package build order should not impact the outcome of the > build, let's explicit the dependency if and only if libxkbcommon package > is to be compiled at some point in time so that at least this feature is > not susceptible to races. > Cc: Quentin Schulz > Signed-off-by: Quentin Schulz Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:30:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:30:20 +0200 Subject: [Buildroot] [PATCH 2/2] package/qt5wayland: fix compilation when libxkbcommon is disabled In-Reply-To: <20220328111413.1618964-2-foss+buildroot@0leil.net> (Quentin Schulz's message of "Mon, 28 Mar 2022 13:14:13 +0200") References: <20220328111413.1618964-1-foss+buildroot@0leil.net> <20220328111413.1618964-2-foss+buildroot@0leil.net> Message-ID: <87h779115v.fsf@dell.be.48ers.dk> >>>>> "Quentin" == Quentin Schulz writes: > From: Quentin Schulz > When libxkbcommon is disabled, QT_CONFIG(xkbcommon) is not defined which > means the variable and function pointer in this patch are compiled out > from the header, but the cpp code actually still made use of it. This > patch fixes the build issue when libxkbcommon package is not to be > built. > This patch was taken from (merged): > https://codereview.qt-project.org/c/qt/qtwayland/+/344916 > Cc: Quentin Schulz > Signed-off-by: Quentin Schulz Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:27:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:27:13 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/qt5wayland: fix compilation when libxkbcommon is disabled Message-ID: <20220404122121.ECA4686162@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=143097f780ddbe860d0a06e430d7c3253ecd6250 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x When libxkbcommon is disabled, QT_CONFIG(xkbcommon) is not defined which means the variable and function pointer in this patch are compiled out from the header, but the cpp code actually still made use of it. This patch fixes the build issue when libxkbcommon package is not to be built. This patch was taken from (merged): https://codereview.qt-project.org/c/qt/qtwayland/+/344916 Cc: Quentin Schulz Signed-off-by: Quentin Schulz Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 1da911cbde3d744ff70211cf3ea714f55888adc5) Signed-off-by: Peter Korsgaard --- .../0001-Add-missing-define-guards.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch b/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch new file mode 100644 index 0000000000..adad3768b2 --- /dev/null +++ b/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch @@ -0,0 +1,35 @@ +From 05658e127dedfff65789860415537c6920ec574d Mon Sep 17 00:00:00 2001 +From: Samuli Piippo +Date: Thu, 22 Apr 2021 15:29:56 +0300 +Subject: [PATCH] Add missing define guards + +Ammend cca1b94190a094b5d1d7ce492b6533e2d330c5e8 to use m_composeState +only if xcbcommon is available. + +Pick-to: 5.15 +Change-Id: I48332b15def3282c5bda3e1c7c393ea7e9849cbe +Reviewed-by: Aleix Pol Gonzalez +[Backported from: 05658e127dedfff65789860415537c6920ec574d] +Signed-off-by: Quentin Schulz +--- + src/client/qwaylandinputcontext.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/client/qwaylandinputcontext.cpp b/src/client/qwaylandinputcontext.cpp +index 16e03ea1..cbf63cde 100644 +--- a/src/client/qwaylandinputcontext.cpp ++++ b/src/client/qwaylandinputcontext.cpp +@@ -408,8 +408,10 @@ bool QWaylandInputContext::isValid() const + void QWaylandInputContext::reset() + { + qCDebug(qLcQpaInputMethods) << Q_FUNC_INFO; ++#if QT_CONFIG(xkbcommon) + if (m_composeState) + xkb_compose_state_reset(m_composeState); ++#endif + + QPlatformInputContext::reset(); + +-- +2.35.1 + From peter at korsgaard.com Mon Apr 4 12:26:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:26:59 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/qt5base: fix race with libxkbcommon Message-ID: <20220404122121.E2CDE86161@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b27f378ff71380b0dbcbfa5f90764e7c9ae4ccc6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x qt5wayland package currently has a bug if the xkbcommon Qt config is not enabled which highlighted a race issues between qt5base, libxkbcommon and qt5wayland. qt5wayland has a dependency on libxkbcommon package if it's enabled. qt5base only has a dependency on libxkbcommon if xcb support is to be enabled. If libxkbcommon package is built before qt5base, qt5base will detect it during its configure step and enable the Qt config accordingly. This will make it available to qt5wayland afterwards, even if xcb support is not enabled in Buildroot Kconfig. However, if qt5base is built before libxkbcommon is, qt5base will not advertise support of xbcommon feature to qt5wayland (which will fail its build because of a bug in the source code). Since the package build order should not impact the outcome of the build, let's explicit the dependency if and only if libxkbcommon package is to be compiled at some point in time so that at least this feature is not susceptible to races. Move the xkbcommon entries out of the BR2_PACKAGE_QT5BASE_XCB condition, instead make them depend on BR2_PACKAGE_LIBXKBCOMMON. Since BR2_PACKAGE_QT5BASE_XCB selects BR2_PACKAGE_LIBXKBCOMMON they are still included if xcb is selected. Cc: Quentin Schulz Signed-off-by: Quentin Schulz [Arnout: remove the already existing xkbcommon entries] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit ba8f35eda65d3623967e35547d6bec38f5ebc66a) Signed-off-by: Peter Korsgaard --- package/qt5/qt5base/qt5base.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index 14b58ba384..f880f806cc 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -174,9 +174,13 @@ QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_LINUXFB),--enable-linuxfb,- QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),-directfb,-no-directfb) QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),directfb) +ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) +QT5BASE_CONFIGURE_OPTS += -xkbcommon +QT5BASE_DEPENDENCIES += libxkbcommon +endif + ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) QT5BASE_CONFIGURE_OPTS += -xcb -QT5BASE_CONFIGURE_OPTS += -xkbcommon QT5BASE_DEPENDENCIES += \ libxcb \ @@ -184,8 +188,7 @@ QT5BASE_DEPENDENCIES += \ xcb-util-image \ xcb-util-keysyms \ xcb-util-renderutil \ - xlib_libX11 \ - libxkbcommon + xlib_libX11 ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) QT5BASE_DEPENDENCIES += xlib_libXext endif From peter at korsgaard.com Mon Apr 4 12:31:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:31:55 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/libzlib: security bump version to 1.2.12 In-Reply-To: <20220330180605.557933-1-bernd.kuhls@t-online.de> (Bernd Kuhls's message of "Wed, 30 Mar 2022 20:06:05 +0200") References: <20220330180605.557933-1-bernd.kuhls@t-online.de> Message-ID: <87czhx1138.fsf@dell.be.48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2018-25032. > Release notes: > http://madler.net/pipermail/zlib-announce_madler.net/2022/000012.html > Changelog: https://github.com/madler/zlib/blob/master/ChangeLog > Added upstream patch to fix build error. > Updated license hash due to version bump, reformatted hashes: > https://github.com/madler/zlib/commit/21767c654d31d2dccdde4330529775c6c5fd5389 > Signed-off-by: Bernd Kuhls > --- > v2: added upstream patch to fix build error Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:31:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:31:11 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/libzlib: security bump version to 1.2.12 Message-ID: <20220404122242.EDE7B86164@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5473efe73d3d4ce56b5fcca45d38ad191624181a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Fixes CVE-2018-25032. Release notes: http://madler.net/pipermail/zlib-announce_madler.net/2022/000012.html Changelog: https://github.com/madler/zlib/blob/master/ChangeLog Added upstream patch to fix build error. Updated license hash due to version bump, reformatted hashes: https://github.com/madler/zlib/commit/21767c654d31d2dccdde4330529775c6c5fd5389 Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit a7fa40a9c1e93c063bbc5c5d4cac0c67493087a7) Signed-off-by: Peter Korsgaard --- ...sue-that-discarded-provided-CC-definition.patch | 28 ++++++++++++++++++++++ package/libzlib/libzlib.hash | 4 ++-- package/libzlib/libzlib.mk | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch b/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch new file mode 100644 index 0000000000..398e1c9481 --- /dev/null +++ b/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch @@ -0,0 +1,28 @@ +From 05796d3d8d5546cf1b4dfe2cd72ab746afae505d Mon Sep 17 00:00:00 2001 +From: Mark Adler +Date: Mon, 28 Mar 2022 18:34:10 -0700 +Subject: [PATCH] Fix configure issue that discarded provided CC definition. + +Downloaded from upstream commit: +https://github.com/madler/zlib/commit/05796d3d8d5546cf1b4dfe2cd72ab746afae505d + +Signed-off-by: Bernd Kuhls +--- + configure | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure b/configure +index 52ff4a04e..3fa3e8618 100755 +--- a/configure ++++ b/configure +@@ -174,7 +174,10 @@ if test -z "$CC"; then + else + cc=${CROSS_PREFIX}cc + fi ++else ++ cc=${CC} + fi ++ + cflags=${CFLAGS-"-O3"} + # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure + case "$cc" in diff --git a/package/libzlib/libzlib.hash b/package/libzlib/libzlib.hash index e3736b1011..e6ca974e2f 100644 --- a/package/libzlib/libzlib.hash +++ b/package/libzlib/libzlib.hash @@ -1,4 +1,4 @@ # From http://www.zlib.net/ -sha256 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz +sha256 7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18 zlib-1.2.12.tar.xz # License files, locally calculated -sha256 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15 README +sha256 fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd README diff --git a/package/libzlib/libzlib.mk b/package/libzlib/libzlib.mk index a10fc748d1..933732d6ba 100644 --- a/package/libzlib/libzlib.mk +++ b/package/libzlib/libzlib.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBZLIB_VERSION = 1.2.11 +LIBZLIB_VERSION = 1.2.12 LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz LIBZLIB_SITE = http://www.zlib.net LIBZLIB_LICENSE = Zlib From peter at korsgaard.com Mon Apr 4 12:31:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:31:06 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libzlib: security bump version to 1.2.12 Message-ID: <20220404122247.5517A86168@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0612a2231fa3b7de6356afd22436892d9d620461 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes CVE-2018-25032. Release notes: http://madler.net/pipermail/zlib-announce_madler.net/2022/000012.html Changelog: https://github.com/madler/zlib/blob/master/ChangeLog Added upstream patch to fix build error. Updated license hash due to version bump, reformatted hashes: https://github.com/madler/zlib/commit/21767c654d31d2dccdde4330529775c6c5fd5389 Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit a7fa40a9c1e93c063bbc5c5d4cac0c67493087a7) Signed-off-by: Peter Korsgaard --- ...sue-that-discarded-provided-CC-definition.patch | 28 ++++++++++++++++++++++ package/libzlib/libzlib.hash | 4 ++-- package/libzlib/libzlib.mk | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch b/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch new file mode 100644 index 0000000000..398e1c9481 --- /dev/null +++ b/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch @@ -0,0 +1,28 @@ +From 05796d3d8d5546cf1b4dfe2cd72ab746afae505d Mon Sep 17 00:00:00 2001 +From: Mark Adler +Date: Mon, 28 Mar 2022 18:34:10 -0700 +Subject: [PATCH] Fix configure issue that discarded provided CC definition. + +Downloaded from upstream commit: +https://github.com/madler/zlib/commit/05796d3d8d5546cf1b4dfe2cd72ab746afae505d + +Signed-off-by: Bernd Kuhls +--- + configure | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure b/configure +index 52ff4a04e..3fa3e8618 100755 +--- a/configure ++++ b/configure +@@ -174,7 +174,10 @@ if test -z "$CC"; then + else + cc=${CROSS_PREFIX}cc + fi ++else ++ cc=${CC} + fi ++ + cflags=${CFLAGS-"-O3"} + # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure + case "$cc" in diff --git a/package/libzlib/libzlib.hash b/package/libzlib/libzlib.hash index e3736b1011..e6ca974e2f 100644 --- a/package/libzlib/libzlib.hash +++ b/package/libzlib/libzlib.hash @@ -1,4 +1,4 @@ # From http://www.zlib.net/ -sha256 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz +sha256 7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18 zlib-1.2.12.tar.xz # License files, locally calculated -sha256 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15 README +sha256 fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd README diff --git a/package/libzlib/libzlib.mk b/package/libzlib/libzlib.mk index a10fc748d1..933732d6ba 100644 --- a/package/libzlib/libzlib.mk +++ b/package/libzlib/libzlib.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBZLIB_VERSION = 1.2.11 +LIBZLIB_VERSION = 1.2.12 LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz LIBZLIB_SITE = http://www.zlib.net LIBZLIB_LICENSE = Zlib From peter at korsgaard.com Mon Apr 4 12:38:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:38:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-paramiko: security bump to version 2.10.3 In-Reply-To: <20220330205829.1380283-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 30 Mar 2022 22:58:29 +0200") References: <20220330205829.1380283-1-fontaine.fabrice@gmail.com> Message-ID: <878rsl10si.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-24302: Creation of new private key files using PKey > subclasses was subject to a race condition between file creation & mode > modification, which could be exploited by an attacker with knowledge of > where the Paramiko-using code would write out such files. > https://github.com/paramiko/paramiko/blob/2.10.3/sites/www/changelog.rst > Signed-off-by: Fabrice Fontaine Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:40:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:40:08 +0200 Subject: [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 2 Apr 2022 16:15:27 +0200") References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> Message-ID: <874k3910pj.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > This is useful when debugging/developing the pkg-stats script. > Signed-off-by: Thomas Petazzoni Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:40:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:40:13 +0200 Subject: [Buildroot] [PATCH 3/4] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs In-Reply-To: <20220402141531.1320584-3-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 2 Apr 2022 16:15:29 +0200") References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-3-thomas.petazzoni@bootlin.com> Message-ID: <87zgl1yqc2.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > Some upstream sites are very slow to respond, and the default timeout > of 300 seconds of the aiohttp.ClientSession() is too long. Let's > reduce it to 15 seconds. > Signed-off-by: Thomas Petazzoni Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:40:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:40:17 +0200 Subject: [Buildroot] [PATCH 2/4] support/scripts/pkg-stats: allow disabling package warnings retrieval In-Reply-To: <20220402141531.1320584-2-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 2 Apr 2022 16:15:28 +0200") References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-2-thomas.petazzoni@bootlin.com> Message-ID: <87v8vpyqby.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > This is useful when debugging/developing the pkg-stats script. > Signed-off-by: Thomas Petazzoni Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:40:30 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:40:30 +0200 Subject: [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats In-Reply-To: <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 2 Apr 2022 16:15:30 +0200") References: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com> <20220402141531.1320584-4-thomas.petazzoni@bootlin.com> Message-ID: <87r16dyqbl.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > pkg-stats currently uses the services from support/scripts/cpedb.py to > match the CPE identifiers of packages with the official CPE database. > Unfortunately, the cpedb.py code uses regular ElementTree parsing, > which involves loading the full XML tree into memory. This causes the > pkg-stats process to consume a huge amount of memory: > thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats > So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats > process. This is causing the OOM killer to kick-in on machines with > relatively low memory. > This commit reimplements the XML parsing needed to do the CPE matching > directly in pkg-stats, using the XmlParser functionality of > ElementTree, also called "streaming parsing". Thanks to this, we never > load the entire XML tree in RAM, but only stream it through the > parser, and construct a very simple list of all CPE identifiers. The > max memory consumption of pkg-stats is now: > thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats > So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. > Now, one will probably wonder why this isn't directly changed in > cpedb.py. The reason is simple: cpedb.py is also used by > support/scripts/missing-cpe, which (for now) heavily relies on having > in memory the ElementTree objects, to re-generate a snippet of XML > that allows us to submit to NIST new CPE entries. > So, future work could include one of those two options: > (1) Re-integrate cpedb.py into missing-cpe directly, and live with > two different ways of processing the CPE database. > (2) Rewrite the missing-cpe logic to also be compatible with a > streaming parsing, which would allow this logic to be again > shared between pkg-stats and missing-cpe. > Signed-off-by: Thomas Petazzoni Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:33:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:33:21 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-paramiko: bump to version 2.7.2 Message-ID: <20220404123124.CAE438619D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=856ffaf41cc68f787a130a6e481c7fc3ed7e629b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Update indentation in hash file (two spaces) https://github.com/paramiko/paramiko/blob/2.7.2/sites/www/changelog.rst Signed-off-by: Fabrice Fontaine [Peter: fix LICENSE hash] Signed-off-by: Peter Korsgaard (cherry picked from commit fcba0aec7b840c6e6e68ba8b5b04c3b093d0f372) Signed-off-by: Peter Korsgaard --- package/python-paramiko/python-paramiko.hash | 6 +++--- package/python-paramiko/python-paramiko.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-paramiko/python-paramiko.hash b/package/python-paramiko/python-paramiko.hash index 6054e8d492..b11acf1dbc 100644 --- a/package/python-paramiko/python-paramiko.hash +++ b/package/python-paramiko/python-paramiko.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/paramiko/json -md5 bf8239dc820ca86dd3c3226f4281c35f paramiko-2.7.1.tar.gz -sha256 920492895db8013f6cc0179293147f830b8c7b21fdfc839b6bad760c27459d9f paramiko-2.7.1.tar.gz +md5 44136d79da4cd7619e368018ad022619 paramiko-2.7.2.tar.gz +sha256 7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035 paramiko-2.7.2.tar.gz # Locally computed sha256 checksums -sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE +sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE diff --git a/package/python-paramiko/python-paramiko.mk b/package/python-paramiko/python-paramiko.mk index 6dc473d34e..3c135cf9b1 100644 --- a/package/python-paramiko/python-paramiko.mk +++ b/package/python-paramiko/python-paramiko.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PARAMIKO_VERSION = 2.7.1 +PYTHON_PARAMIKO_VERSION = 2.7.2 PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz -PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/ac/15/4351003352e11300b9f44a13576bff52dcdc6e4a911129c07447bda0a358 +PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/cf/a1/20d00ce559a692911f11cadb7f94737aca3ede1c51de16e002c7d3a888e0 PYTHON_PARAMIKO_SETUP_TYPE = setuptools PYTHON_PARAMIKO_LICENSE = LGPL-2.1+ PYTHON_PARAMIKO_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:39:23 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:23 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] support/scripts/pkg-stats: allow disabling CPE matching Message-ID: <20220404123124.E34CC8619D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=05e714b0e496c5e2519def8fd239e970bd0479dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit cd8a576c6d3fa65001a5d72ef9c0fae55a297c6c) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 2a3d8a78a8..d9ecb45c3f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1087,7 +1087,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1146,6 +1146,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages) From peter at korsgaard.com Mon Apr 4 12:39:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:40 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats Message-ID: <20220404123125.092C78619D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b8d6d7c3d317e5b52686857b7d08ffe2533e8ff2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x pkg-stats currently uses the services from support/scripts/cpedb.py to match the CPE identifiers of packages with the official CPE database. Unfortunately, the cpedb.py code uses regular ElementTree parsing, which involves loading the full XML tree into memory. This causes the pkg-stats process to consume a huge amount of memory: thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats process. This is causing the OOM killer to kick-in on machines with relatively low memory. This commit reimplements the XML parsing needed to do the CPE matching directly in pkg-stats, using the XmlParser functionality of ElementTree, also called "streaming parsing". Thanks to this, we never load the entire XML tree in RAM, but only stream it through the parser, and construct a very simple list of all CPE identifiers. The max memory consumption of pkg-stats is now: thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. The JSON output of pkg-stats for the full package set, before and after this commit, is exactly identical. Now, one will probably wonder why this isn't directly changed in cpedb.py. The reason is simple: cpedb.py is also used by support/scripts/missing-cpe, which (for now) heavily relies on having in memory the ElementTree objects, to re-generate a snippet of XML that allows us to submit to NIST new CPE entries. So, future work could include one of those two options: (1) Re-integrate cpedb.py into missing-cpe directly, and live with two different ways of processing the CPE database. (2) Rewrite the missing-cpe logic to also be compatible with a streaming parsing, which would allow this logic to be again shared between pkg-stats and missing-cpe. Signed-off-by: Thomas Petazzoni [yann.morin.1998 at free.fr: - add missing import of requests - import CPEDB_URL from cpedb, instead of duplicating it - fix flake8 errors ] Signed-off-by: Yann E. MORIN (cherry picked from commit bd1798ad959a901ccf5009b0c199fa5470912cc2) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 491faa984f..1928c9950c 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -27,12 +27,16 @@ import re import subprocess import json import sys +import time +import gzip +import xml.etree.ElementTree +import requests brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) sys.path.append(os.path.join(brpath, "utils")) from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 +from cpedb import CPEDB_URL # noqa: E402 INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") URL_RE = re.compile(r"\s*https?://\S*\s*$") @@ -613,12 +617,41 @@ def check_package_cves(nvd_path, packages): def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() + class CpeXmlParser: + cpes = [] + + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + + def close(self): + return self.cpes + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + for p in packages: if not p.cpeid: continue - if cpedb.find(p.cpeid): + if p.cpeid in cpes: p.status['cpe'] = ("ok", "verified CPE identifier") else: p.status['cpe'] = ("error", "CPE identifier unknown in CPE database") From peter at korsgaard.com Mon Apr 4 12:39:28 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:28 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] support/scripts/pkg-stats: allow disabling package warnings retrieval Message-ID: <20220404123124.EC4448619F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=676d2e8d5b0534432e9e086dc5967d0f9e149373 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 1adcf5659804c17859b2799c0c3edb6b6ce68eb5) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index d9ecb45c3f..0eca2fb10f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1087,7 +1087,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url, cpe)', + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1129,7 +1129,8 @@ def __main__(): pkg.set_license() pkg.set_hash_info() pkg.set_patch_count() - pkg.set_check_package_warnings() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() pkg.set_current_version() pkg.set_cpeid() pkg.set_url() From peter at korsgaard.com Mon Apr 4 12:37:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:37:20 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-paramiko: security bump to version 2.10.3 Message-ID: <20220404123124.D79F78619E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=da78e1e1e6b42772e4a5e9e09db2c15110e64400 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Fix CVE-2022-24302: Creation of new private key files using PKey subclasses was subject to a race condition between file creation & mode modification, which could be exploited by an attacker with knowledge of where the Paramiko-using code would write out such files. https://github.com/paramiko/paramiko/blob/2.10.3/sites/www/changelog.rst Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit ae699d7f9ad3caebe1fb338303f1b7c6ad42f6ac) Signed-off-by: Peter Korsgaard --- package/python-paramiko/python-paramiko.hash | 4 ++-- package/python-paramiko/python-paramiko.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-paramiko/python-paramiko.hash b/package/python-paramiko/python-paramiko.hash index b11acf1dbc..951bd8e114 100644 --- a/package/python-paramiko/python-paramiko.hash +++ b/package/python-paramiko/python-paramiko.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/paramiko/json -md5 44136d79da4cd7619e368018ad022619 paramiko-2.7.2.tar.gz -sha256 7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035 paramiko-2.7.2.tar.gz +md5 6e47947882e2c1b81f35b4133e8e62b9 paramiko-2.10.3.tar.gz +sha256 ddb1977853aef82804b35d72a0e597b244fa326c404c350bd00c5b01dbfee71a paramiko-2.10.3.tar.gz # Locally computed sha256 checksums sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE diff --git a/package/python-paramiko/python-paramiko.mk b/package/python-paramiko/python-paramiko.mk index 3c135cf9b1..46209f5823 100644 --- a/package/python-paramiko/python-paramiko.mk +++ b/package/python-paramiko/python-paramiko.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PARAMIKO_VERSION = 2.7.2 +PYTHON_PARAMIKO_VERSION = 2.10.3 PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz -PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/cf/a1/20d00ce559a692911f11cadb7f94737aca3ede1c51de16e002c7d3a888e0 +PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/d4/93/1a1eb7f214e6774099d56153db9e612f93cb8ffcdfd2eca243fcd5bb3a78 PYTHON_PARAMIKO_SETUP_TYPE = setuptools PYTHON_PARAMIKO_LICENSE = LGPL-2.1+ PYTHON_PARAMIKO_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:39:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:33 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs Message-ID: <20220404123125.0116E8619E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=303082083504bba5b2fc67123675e4aa77a61bfc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Some upstream sites are very slow to respond, and the default timeout of 300 seconds of the aiohttp.ClientSession() is too long. Let's reduce it to 15 seconds. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 387c496b98895a3ad38d53554d45713a81d7a169) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 0eca2fb10f..491faa984f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -440,7 +440,8 @@ async def check_url_status(session, pkg, npkgs, retry=True): async def check_package_urls(packages): tasks = [] connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: packages = [p for p in packages if p.status['url'][0] == 'ok'] for pkg in packages: tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) From peter at korsgaard.com Mon Apr 4 12:38:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:38:39 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] support/scripts/pkg-stats: allow disabling CPE matching Message-ID: <20220404123210.BACB0861AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8f53218b70d87ca76a4f5c1beb3f8c412469f66d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit cd8a576c6d3fa65001a5d72ef9c0fae55a297c6c) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 8cc64a54d1..ef9482ed95 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1184,6 +1184,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages) From peter at korsgaard.com Mon Apr 4 12:32:29 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:32:29 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-paramiko: security bump to version 2.10.3 Message-ID: <20220404123210.B2FE2861AB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6a826c6d2370da1ce45d0d72f0351c7e73e63110 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix CVE-2022-24302: Creation of new private key files using PKey subclasses was subject to a race condition between file creation & mode modification, which could be exploited by an attacker with knowledge of where the Paramiko-using code would write out such files. https://github.com/paramiko/paramiko/blob/2.10.3/sites/www/changelog.rst Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit ae699d7f9ad3caebe1fb338303f1b7c6ad42f6ac) Signed-off-by: Peter Korsgaard --- package/python-paramiko/python-paramiko.hash | 4 ++-- package/python-paramiko/python-paramiko.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-paramiko/python-paramiko.hash b/package/python-paramiko/python-paramiko.hash index b11acf1dbc..951bd8e114 100644 --- a/package/python-paramiko/python-paramiko.hash +++ b/package/python-paramiko/python-paramiko.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/paramiko/json -md5 44136d79da4cd7619e368018ad022619 paramiko-2.7.2.tar.gz -sha256 7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035 paramiko-2.7.2.tar.gz +md5 6e47947882e2c1b81f35b4133e8e62b9 paramiko-2.10.3.tar.gz +sha256 ddb1977853aef82804b35d72a0e597b244fa326c404c350bd00c5b01dbfee71a paramiko-2.10.3.tar.gz # Locally computed sha256 checksums sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE diff --git a/package/python-paramiko/python-paramiko.mk b/package/python-paramiko/python-paramiko.mk index 3c135cf9b1..46209f5823 100644 --- a/package/python-paramiko/python-paramiko.mk +++ b/package/python-paramiko/python-paramiko.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PARAMIKO_VERSION = 2.7.2 +PYTHON_PARAMIKO_VERSION = 2.10.3 PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz -PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/cf/a1/20d00ce559a692911f11cadb7f94737aca3ede1c51de16e002c7d3a888e0 +PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/d4/93/1a1eb7f214e6774099d56153db9e612f93cb8ffcdfd2eca243fcd5bb3a78 PYTHON_PARAMIKO_SETUP_TYPE = setuptools PYTHON_PARAMIKO_LICENSE = LGPL-2.1+ PYTHON_PARAMIKO_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:38:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:38:44 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] support/scripts/pkg-stats: allow disabling package warnings retrieval Message-ID: <20220404123210.C258C861B4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1fe0e5d21d6b3f98aaecf0211c08e4457ed3ccdd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x This is useful when debugging/developing the pkg-stats script. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 1adcf5659804c17859b2799c0c3edb6b6ce68eb5) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ef9482ed95..329b30a5ee 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1125,7 +1125,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url, cpe)', + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1167,7 +1167,8 @@ def __main__(): pkg.set_license() pkg.set_hash_info() pkg.set_patch_count() - pkg.set_check_package_warnings() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() pkg.set_current_version() pkg.set_cpeid() pkg.set_url() From peter at korsgaard.com Mon Apr 4 12:38:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:38:50 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs Message-ID: <20220404123210.CA98A861AB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=745e02154582fe5b60739214c2bfa9c531e30101 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Some upstream sites are very slow to respond, and the default timeout of 300 seconds of the aiohttp.ClientSession() is too long. Let's reduce it to 15 seconds. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 387c496b98895a3ad38d53554d45713a81d7a169) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 329b30a5ee..ae1a9aa5e4 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -451,7 +451,8 @@ async def check_url_status(session, pkg, npkgs, retry=True): async def check_package_urls(packages): tasks = [] connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: packages = [p for p in packages if p.status['url'][0] == 'ok'] for pkg in packages: tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) From peter at korsgaard.com Mon Apr 4 12:39:01 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:39:01 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats Message-ID: <20220404123210.D3090861AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=eae86599ca81c943821bac33f424669520a3fa8c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x pkg-stats currently uses the services from support/scripts/cpedb.py to match the CPE identifiers of packages with the official CPE database. Unfortunately, the cpedb.py code uses regular ElementTree parsing, which involves loading the full XML tree into memory. This causes the pkg-stats process to consume a huge amount of memory: thomas 1310458 85.2 21.4 3708952 3450164 pts/5 R+ 16:04 0:33 | | \_ python3 ./support/scripts/pkg-stats So, 3.7 GB of VSZ and 3.4 GB of RSS are used by the pkg-stats process. This is causing the OOM killer to kick-in on machines with relatively low memory. This commit reimplements the XML parsing needed to do the CPE matching directly in pkg-stats, using the XmlParser functionality of ElementTree, also called "streaming parsing". Thanks to this, we never load the entire XML tree in RAM, but only stream it through the parser, and construct a very simple list of all CPE identifiers. The max memory consumption of pkg-stats is now: thomas 1317511 74.2 0.9 381104 152224 pts/5 R+ 16:08 0:17 | | \_ python3 ./support/scripts/pkg-stats So, 381 MB of VSZ and 152 MB of RSS, which is obviously much better. The JSON output of pkg-stats for the full package set, before and after this commit, is exactly identical. Now, one will probably wonder why this isn't directly changed in cpedb.py. The reason is simple: cpedb.py is also used by support/scripts/missing-cpe, which (for now) heavily relies on having in memory the ElementTree objects, to re-generate a snippet of XML that allows us to submit to NIST new CPE entries. So, future work could include one of those two options: (1) Re-integrate cpedb.py into missing-cpe directly, and live with two different ways of processing the CPE database. (2) Rewrite the missing-cpe logic to also be compatible with a streaming parsing, which would allow this logic to be again shared between pkg-stats and missing-cpe. Signed-off-by: Thomas Petazzoni [yann.morin.1998 at free.fr: - add missing import of requests - import CPEDB_URL from cpedb, instead of duplicating it - fix flake8 errors ] Signed-off-by: Yann E. MORIN (cherry picked from commit bd1798ad959a901ccf5009b0c199fa5470912cc2) Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ae1a9aa5e4..f67be0063f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -27,12 +27,16 @@ import re import subprocess import json import sys +import time +import gzip +import xml.etree.ElementTree +import requests brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) sys.path.append(os.path.join(brpath, "utils")) from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 +from cpedb import CPEDB_URL # noqa: E402 INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") URL_RE = re.compile(r"\s*https?://\S*\s*$") @@ -624,12 +628,41 @@ def check_package_cves(nvd_path, packages): def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() + class CpeXmlParser: + cpes = [] + + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + + def close(self): + return self.cpes + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + for p in packages: if not p.cpeid: continue - if cpedb.find(p.cpeid): + if p.cpeid in cpes: p.status['cpe'] = ("ok", "verified CPE identifier") else: p.status['cpe'] = ("error", "CPE version unknown in CPE database") From peter at korsgaard.com Mon Apr 4 12:44:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:44:53 +0200 Subject: [Buildroot] [PATCH] package: replace git:// URLs with https:// URLs where possible In-Reply-To: <20220401215653.1703616-1-mmayer@broadcom.com> (Markus Mayer via buildroot's message of "Fri, 1 Apr 2022 14:56:53 -0700") References: <20220401215653.1703616-1-mmayer@broadcom.com> Message-ID: <87mth1yq4a.fsf@dell.be.48ers.dk> >>>>> "Markus" == Markus Mayer via buildroot writes: > Replace the remaining git:// URLs with their https:// equivalents as > this is more secure and also more palatable to corporate firewalls. > This leaves package/dahdi-linux as the sole package still using a > git:// URL for cloning. > Signed-off-by: Markus Mayer Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:44:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:44:17 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package: replace git:// URLs with https:// URLs where possible Message-ID: <20220404123535.00E1C861B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=626226eccb9ac3dcef5b660d9d8ca8950d8bf021 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Replace the remaining git:// URLs with their https:// equivalents as this is more secure and also more palatable to corporate firewalls. Signed-off-by: Markus Mayer [yann.morin.1998 at free.fr: convert dahdi-linux too] Signed-off-by: Yann E. MORIN (cherry picked from commit 6626bf7c5fc1f5f47fcade03090de212a6121db3) Signed-off-by: Peter Korsgaard --- boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- package/aer-inject/aer-inject.mk | 3 ++- package/dahdi-linux/dahdi-linux.mk | 3 ++- package/flashbench/flashbench.mk | 3 ++- package/mmc-utils/mmc-utils.mk | 3 ++- package/mxsldr/mxsldr.mk | 3 ++- package/open62541/open62541.mk | 2 +- package/psplash/psplash.mk | 3 ++- package/rtc-tools/rtc-tools.mk | 3 ++- package/rtmpdump/rtmpdump.mk | 3 ++- package/sox/sox.mk | 2 +- package/tftpd/tftpd.mk | 3 ++- package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- 13 files changed, 23 insertions(+), 13 deletions(-) diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk index 3a1af9b02c..30b352f8e7 100644 --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -5,7 +5,8 @@ ################################################################################ BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk index 72495bbea2..6bc9cb44da 100644 --- a/package/aer-inject/aer-inject.mk +++ b/package/aer-inject/aer-inject.mk @@ -5,7 +5,8 @@ ################################################################################ AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git AER_INJECT_LICENSE = GPL-2.0 AER_INJECT_LICENSE_FILES = README AER_INJECT_DEPENDENCIES = host-flex host-bison diff --git a/package/dahdi-linux/dahdi-linux.mk b/package/dahdi-linux/dahdi-linux.mk index b9d5911953..93124f0e02 100644 --- a/package/dahdi-linux/dahdi-linux.mk +++ b/package/dahdi-linux/dahdi-linux.mk @@ -5,7 +5,8 @@ ################################################################################ DAHDI_LINUX_VERSION = 5c840cf43838e0690873e73409491c392333b3b8 -DAHDI_LINUX_SITE = git://git.asterisk.org/dahdi/linux.git +DAHDI_LINUX_SITE = https://gerrit.asterisk.org/dahdi-linux +DAHDI_LINUX_SITE_METHOD = git # We need to download all those firmware blobs ourselves, otherwise # dahdi-linux will try to download them at install time. diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk index e89a250aa3..f5791c3e95 100644 --- a/package/flashbench/flashbench.mk +++ b/package/flashbench/flashbench.mk @@ -5,7 +5,8 @@ ################################################################################ FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git FLASHBENCH_LICENSE = GPL-2.0 FLASHBENCH_LICENSE_FILES = COPYING diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 8c264a454a..c847378692 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -5,7 +5,8 @@ ################################################################################ MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk index 239b40ad29..2375b9f42b 100644 --- a/package/mxsldr/mxsldr.mk +++ b/package/mxsldr/mxsldr.mk @@ -5,7 +5,8 @@ ################################################################################ MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git MXSLDR_LICENSE = GPL-2.0+ MXSLDR_LICENSE_FILES = COPYING HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index 8adf09a79d..74aa2b10b9 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -7,7 +7,7 @@ OPEN62541_VERSION = 1.0 OPEN62541_DL_VERSION = v$(OPEN62541_VERSION) OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git +OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index a0f01869b4..2f1138b3f8 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -5,7 +5,8 @@ ################################################################################ PSPLASH_VERSION = fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c -PSPLASH_SITE = git://git.yoctoproject.org/psplash +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git PSPLASH_LICENSE = GPL-2.0+ PSPLASH_LICENSE_FILES = COPYING PSPLASH_AUTORECONF = YES diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk index 2ef850a81f..2882c88575 100644 --- a/package/rtc-tools/rtc-tools.mk +++ b/package/rtc-tools/rtc-tools.mk @@ -5,7 +5,8 @@ ################################################################################ RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git RTC_TOOLS_LICENSE = GPL-2.0 RTC_TOOLS_LICENSE_FILES = COPYING diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index db79a796dc..fb381d0e10 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -5,7 +5,8 @@ ################################################################################ RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git RTMPDUMP_INSTALL_STAGING = YES # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only # care about librtmp, it's LGPL-2.1+ diff --git a/package/sox/sox.mk b/package/sox/sox.mk index 4b09b94bc3..1896437ad4 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -5,7 +5,7 @@ ################################################################################ SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code +SOX_SITE = https://git.code.sf.net/p/sox/code SOX_SITE_METHOD = git SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index ffd52ce0d0..b8602442fb 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -5,7 +5,8 @@ ################################################################################ TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git TFTPD_CONF_OPTS = --without-tcpwrappers TFTPD_LICENSE = BSD-4-Clause TFTPD_LICENSE_FILES = tftpd/tftpd.c diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk index 722c4655cd..a5f3a82609 100644 --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -5,7 +5,7 @@ ################################################################################ WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git WILINK_BT_FIRMWARE_SITE_METHOD = git WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:41:58 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:41:58 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package: replace git:// URLs with https:// URLs where possible Message-ID: <20220404123543.60468861C0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=15d4f341ae48ffa4eb6cdea61b5b361b7b6e0ce1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Replace the remaining git:// URLs with their https:// equivalents as this is more secure and also more palatable to corporate firewalls. Signed-off-by: Markus Mayer [yann.morin.1998 at free.fr: convert dahdi-linux too] Signed-off-by: Yann E. MORIN (cherry picked from commit 6626bf7c5fc1f5f47fcade03090de212a6121db3) Signed-off-by: Peter Korsgaard --- boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 3 ++- package/aer-inject/aer-inject.mk | 3 ++- package/dahdi-linux/dahdi-linux.mk | 3 ++- package/firmware-utils/firmware-utils.mk | 3 ++- package/flashbench/flashbench.mk | 3 ++- package/mmc-utils/mmc-utils.mk | 3 ++- package/mxsldr/mxsldr.mk | 3 ++- package/open62541/open62541.mk | 2 +- package/pahole/pahole.mk | 2 +- package/psplash/psplash.mk | 3 ++- package/rtc-tools/rtc-tools.mk | 3 ++- package/rtmpdump/rtmpdump.mk | 3 ++- package/sox/sox.mk | 2 +- package/tftpd/tftpd.mk | 3 ++- package/wilink-bt-firmware/wilink-bt-firmware.mk | 2 +- 15 files changed, 26 insertions(+), 15 deletions(-) diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk index 3a1af9b02c..30b352f8e7 100644 --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -5,7 +5,8 @@ ################################################################################ BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux diff --git a/package/aer-inject/aer-inject.mk b/package/aer-inject/aer-inject.mk index 72495bbea2..6bc9cb44da 100644 --- a/package/aer-inject/aer-inject.mk +++ b/package/aer-inject/aer-inject.mk @@ -5,7 +5,8 @@ ################################################################################ AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git AER_INJECT_LICENSE = GPL-2.0 AER_INJECT_LICENSE_FILES = README AER_INJECT_DEPENDENCIES = host-flex host-bison diff --git a/package/dahdi-linux/dahdi-linux.mk b/package/dahdi-linux/dahdi-linux.mk index b9d5911953..93124f0e02 100644 --- a/package/dahdi-linux/dahdi-linux.mk +++ b/package/dahdi-linux/dahdi-linux.mk @@ -5,7 +5,8 @@ ################################################################################ DAHDI_LINUX_VERSION = 5c840cf43838e0690873e73409491c392333b3b8 -DAHDI_LINUX_SITE = git://git.asterisk.org/dahdi/linux.git +DAHDI_LINUX_SITE = https://gerrit.asterisk.org/dahdi-linux +DAHDI_LINUX_SITE_METHOD = git # We need to download all those firmware blobs ourselves, otherwise # dahdi-linux will try to download them at install time. diff --git a/package/firmware-utils/firmware-utils.mk b/package/firmware-utils/firmware-utils.mk index 151a01882d..d5b079e4f5 100644 --- a/package/firmware-utils/firmware-utils.mk +++ b/package/firmware-utils/firmware-utils.mk @@ -5,7 +5,8 @@ ################################################################################ FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 -FIRMWARE_UTILS_SITE = git://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE_METHOD = git FIRMWARE_UTILS_LICENSE = \ BSD-2-Clause (tplink-safeloader), \ BSD-3-Clause (seama), \ diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk index e89a250aa3..f5791c3e95 100644 --- a/package/flashbench/flashbench.mk +++ b/package/flashbench/flashbench.mk @@ -5,7 +5,8 @@ ################################################################################ FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git FLASHBENCH_LICENSE = GPL-2.0 FLASHBENCH_LICENSE_FILES = COPYING diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 8c264a454a..c847378692 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -5,7 +5,8 @@ ################################################################################ MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk index 239b40ad29..2375b9f42b 100644 --- a/package/mxsldr/mxsldr.mk +++ b/package/mxsldr/mxsldr.mk @@ -5,7 +5,8 @@ ################################################################################ MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git MXSLDR_LICENSE = GPL-2.0+ MXSLDR_LICENSE_FILES = COPYING HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index fb28a614e2..627c29e95b 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -6,7 +6,7 @@ OPEN62541_VERSION = v1.2.2 OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git +OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index 1ad937062d..da6d67e6a2 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -5,7 +5,7 @@ ################################################################################ PAHOLE_VERSION = v1.23 -PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git PAHOLE_SITE_METHOD = git # pahole contains git submodule and relies on them to be built. PAHOLE_GIT_SUBMODULES = YES diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index 5e61f2392f..69f9bf386d 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -5,7 +5,8 @@ ################################################################################ PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d -PSPLASH_SITE = git://git.yoctoproject.org/psplash +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git PSPLASH_LICENSE = GPL-2.0+ PSPLASH_LICENSE_FILES = COPYING PSPLASH_AUTORECONF = YES diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk index 2ef850a81f..2882c88575 100644 --- a/package/rtc-tools/rtc-tools.mk +++ b/package/rtc-tools/rtc-tools.mk @@ -5,7 +5,8 @@ ################################################################################ RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git RTC_TOOLS_LICENSE = GPL-2.0 RTC_TOOLS_LICENSE_FILES = COPYING diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index db79a796dc..fb381d0e10 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -5,7 +5,8 @@ ################################################################################ RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git RTMPDUMP_INSTALL_STAGING = YES # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only # care about librtmp, it's LGPL-2.1+ diff --git a/package/sox/sox.mk b/package/sox/sox.mk index 4b09b94bc3..1896437ad4 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -5,7 +5,7 @@ ################################################################################ SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code +SOX_SITE = https://git.code.sf.net/p/sox/code SOX_SITE_METHOD = git SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 42b5f17821..ceac24119e 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -5,7 +5,8 @@ ################################################################################ TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 -TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git TFTPD_CONF_OPTS = --without-tcpwrappers TFTPD_LICENSE = BSD-4-Clause TFTPD_LICENSE_FILES = tftpd/tftpd.c diff --git a/package/wilink-bt-firmware/wilink-bt-firmware.mk b/package/wilink-bt-firmware/wilink-bt-firmware.mk index 722c4655cd..a5f3a82609 100644 --- a/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ b/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -5,7 +5,7 @@ ################################################################################ WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git WILINK_BT_FIRMWARE_SITE_METHOD = git WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 12:46:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:46:00 +0200 Subject: [Buildroot] [PATCH v1 1/4] package/apr: change download url from http to https In-Reply-To: <20220402173030.GD1811301@scaer> (Yann E. MORIN's message of "Sat, 2 Apr 2022 19:30:30 +0200") References: <20220401180520.15772-1-ps.report@gmx.net> <20220402173030.GD1811301@scaer> Message-ID: <87ilrpyq2f.fsf@dell.be.48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > Peter, All, > On 2022-04-01 20:05 +0200, Peter Seiderer spake thusly: >> - change download url from http to https > A commit log that jsut repeats the commit title is useless, so I dropped > it. > I also squashed together commits refering to the same package. > Series applied to master, thanks. And to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:48:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 14:48:20 +0200 Subject: [Buildroot] [PATCH] package/python-{treq, twisted}: add a comment to use the same version In-Reply-To: <20220331201718.728570-1-romain.naour@gmail.com> (Romain Naour's message of "Thu, 31 Mar 2022 22:17:18 +0200") References: <20220331201718.728570-1-romain.naour@gmail.com> Message-ID: <87ee2dypyj.fsf@dell.be.48ers.dk> >>>>> "Romain" == Romain Naour writes: > As reported by [1], python-twisted and python-treq must use the same > version because its the same project: > https://github.com/twisted/twisted > https://github.com/twisted/treq > We have to update python-treq to version 22.2.0 [2] otherwise we have > a runtime issue: > Traceback (most recent call last): > File "/root/sample_python_treq.py", line 2, in > import treq > File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in > File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in > File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in > ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown > location) > The comment should avoid forgeting one of them while upgrading or > backporting version bump. > [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html > [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 > [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 > Signed-off-by: Romain Naour > Cc: Fabrice Fontaine Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 12:48:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:48:08 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/python-{treq, twisted}: add a comment to use the same version Message-ID: <20220404123943.89EEE861CB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5558c8c866aaf3ca85deccf9bee6b0747d16d75f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x As reported by [1], python-twisted and python-treq must use the same version because its the same project: https://github.com/twisted/twisted https://github.com/twisted/treq We have to update python-treq to version 22.2.0 [2] otherwise we have a runtime issue: Traceback (most recent call last): File "/root/sample_python_treq.py", line 2, in import treq File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location) The comment should avoid forgeting one of them while upgrading or backporting version bump. [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 Signed-off-by: Romain Naour Cc: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5140d10bf6b9f01e7e1ecb2b357885e03e9d5fb4) Signed-off-by: Peter Korsgaard --- package/python-treq/python-treq.mk | 3 +++ package/python-twisted/python-twisted.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 57dc50ee74..8995bf2cfe 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-twisted package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 diff --git a/package/python-twisted/python-twisted.mk b/package/python-twisted/python-twisted.mk index e5d643ec05..8a89d3dc82 100644 --- a/package/python-twisted/python-twisted.mk +++ b/package/python-twisted/python-twisted.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-treq package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TWISTED_VERSION = 22.2.0 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46 From peter at korsgaard.com Mon Apr 4 12:45:29 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:45:29 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/apr-util: change URL from http to https Message-ID: <20220404123950.AB6AA861DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cea4406680c2072ea1dd4ece359458b67c1a41ec branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN (cherry picked from commit 15f76e16b30aa7555aa84c71b42bfda69c5ebda7) Signed-off-by: Peter Korsgaard --- package/apr-util/Config.in | 2 +- package/apr-util/apr-util.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in index 6c5e3bbdf5..c1a967bdec 100644 --- a/package/apr-util/Config.in +++ b/package/apr-util/Config.in @@ -8,7 +8,7 @@ config BR2_PACKAGE_APR_UTIL help The utility library for the apache runtime project - http://apr.apache.org/ + https://apr.apache.org comment "apr-util needs a toolchain w/ dynamic library" depends on BR2_USE_MMU diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index cf8407ced0..fb0735f5e7 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -6,7 +6,7 @@ APR_UTIL_VERSION = 1.6.1 APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2 -APR_UTIL_SITE = http://archive.apache.org/dist/apr +APR_UTIL_SITE = https://archive.apache.org/dist/apr APR_UTIL_LICENSE = Apache-2.0 APR_UTIL_LICENSE_FILES = LICENSE APR_UTIL_CPE_ID_VENDOR = apache From peter at korsgaard.com Mon Apr 4 12:45:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:45:20 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/apr: change URL from http to https Message-ID: <20220404123950.A20FA861DC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1d8411cf91d3a9ddee320fe3f8f4dd3bf9cbb441 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN (cherry picked from commit 05f1a88f4979fda312264e0492d5892ddc9674d2) Signed-off-by: Peter Korsgaard --- package/apr/Config.in | 2 +- package/apr/apr.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apr/Config.in b/package/apr/Config.in index 67de925474..4606fc5378 100644 --- a/package/apr/Config.in +++ b/package/apr/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_APR predictable and consistent interface to underlying platform-specific implementations - http://apr.apache.org/ + https://apr.apache.org comment "apr needs a toolchain w/ dynamic library" depends on BR2_USE_MMU diff --git a/package/apr/apr.mk b/package/apr/apr.mk index c45829aacc..7ff2c007b4 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -6,7 +6,7 @@ APR_VERSION = 1.7.0 APR_SOURCE = apr-$(APR_VERSION).tar.bz2 -APR_SITE = http://archive.apache.org/dist/apr +APR_SITE = https://archive.apache.org/dist/apr APR_LICENSE = Apache-2.0 APR_LICENSE_FILES = LICENSE APR_CPE_ID_VENDOR = apache From peter at korsgaard.com Mon Apr 4 12:48:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 14:48:03 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-{treq, twisted}: add a comment to use the same version Message-ID: <20220404123950.B5166861E2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8153c3620a436e5eca948aacb6a214424dbf834f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x As reported by [1], python-twisted and python-treq must use the same version because its the same project: https://github.com/twisted/twisted https://github.com/twisted/treq We have to update python-treq to version 22.2.0 [2] otherwise we have a runtime issue: Traceback (most recent call last): File "/root/sample_python_treq.py", line 2, in import treq File "/usr/lib/python3.10/site-packages/treq/__init__.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/api.py", line 5, in File "/usr/lib/python3.10/site-packages/treq/client.py", line 11, in ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location) The comment should avoid forgeting one of them while upgrading or backporting version bump. [1] http://lists.busybox.net/pipermail/buildroot/2022-February/637505.html [2] https://github.com/twisted/treq/releases/tag/release-22.2.0 [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/2179206653 Signed-off-by: Romain Naour Cc: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5140d10bf6b9f01e7e1ecb2b357885e03e9d5fb4) Signed-off-by: Peter Korsgaard --- package/python-treq/python-treq.mk | 3 +++ package/python-twisted/python-twisted.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk index 57dc50ee74..8995bf2cfe 100644 --- a/package/python-treq/python-treq.mk +++ b/package/python-treq/python-treq.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-twisted package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TREQ_VERSION = 22.2.0 PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 diff --git a/package/python-twisted/python-twisted.mk b/package/python-twisted/python-twisted.mk index e5d643ec05..8a89d3dc82 100644 --- a/package/python-twisted/python-twisted.mk +++ b/package/python-twisted/python-twisted.mk @@ -4,6 +4,9 @@ # ################################################################################ +# When bumping this package, make sure to also verify if the +# python-treq package still works and to update its hash, +# as they share the same version/site variables. PYTHON_TWISTED_VERSION = 22.2.0 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46 From fc.edmundo at gmail.com Mon Apr 4 13:03:09 2022 From: fc.edmundo at gmail.com (Edmundo Ferreira) Date: Mon, 4 Apr 2022 15:03:09 +0200 Subject: [Buildroot] (no subject) Message-ID: On Sun, 2022-04-03 at 12:03 +0200, Fabrice Fontaine wrote: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and > upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No > such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - > http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > Signed-off-by: Fabrice Fontaine > Reviewed-by: James Hilliard > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = > https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs > bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF I can confirm that this issue is also present in 2022.02.x branch. A backport to that branch would be nice. From fc.edmundo at gmail.com Mon Apr 4 13:07:07 2022 From: fc.edmundo at gmail.com (Edmundo Ferreira) Date: Mon, 4 Apr 2022 15:07:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind Message-ID: On Sun, 2022-04-03 at 12:03 +0200, Fabrice Fontaine wrote: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and > upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No > such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - > http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > Signed-off-by: Fabrice Fontaine > Reviewed-by: James Hilliard > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = > https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs > bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF I can confirm that this issue is also present in 2022.02.x branch. A backport to that branch would be nice. From Jason at zx2c4.com Mon Apr 4 14:32:31 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Mon, 4 Apr 2022 16:32:31 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <2d5e8287df984f16b4b90e8a2921d399@AcuMS.aculab.com> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> <2d5e8287df984f16b4b90e8a2921d399@AcuMS.aculab.com> Message-ID: Hi David, On Sun, Apr 03, 2022 at 07:30:23AM +0000, David Laight wrote: > > AFAIU (but neither the commit message nor the seedrng about page explain it) > > the Blake2 algorithm was simply chosen because it's small. Any hash function > > should be fine. There's sha1, sha2 and sha3 in libbb, so I guess one of them > > should have all the desired properties. > > The unrolled blakes2 is typically 5kb of object code. > The unrolled code is better for large buffers, > but just fetching the code to the I-cache will > significantly affect performance for small buffers. > I really ought to sit and measure the cutoff. > > The code is: > [...] Yes, yes, I know: you've been peppering my inbox about BLAKE2s for a few months now. :-) By the way, for the kernel, you still haven't sent me any real patches yet. Happy to look at whatever code with benchmarks you have available. Anyway, for busybox, I'll likely be using something already in libbb, so no worries here. Jason From Jason at zx2c4.com Mon Apr 4 14:38:34 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Mon, 4 Apr 2022 16:38:34 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <20220403094236.GF1811301@scaer> References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> <20220403094236.GF1811301@scaer> Message-ID: Hi Yann, On Sun, Apr 03, 2022 at 11:42:36AM +0200, Yann E. MORIN wrote: > I still fail to understand why this can't be a standalone project. Please stop whining about this. I'm offering to maintain and support this as part of projects where the code is relevant to have adhering to the various customs and conventions of each project. Unless you want to open your checkbook, I am not offering to start and maintain an external project. Stop badgering me about this; at this point, I find it quite obnoxious. I'm not going to spend my time doing that work. I will, however, as stated numerous times, maintain it diligently inside projects where it makes sense. Peter made the case that Buildroot isn't one such project where it makes sense, a decision which I'll respect, and so I'll look into it elsewhere, and maybe that'll circle back around to a Buildroot package again. Either way, for the time being and at least until that happens, your involvement here is done, and I'd appreciate it if you would cease your pressure campaign on me to take on volunteer work that I do not agree to do. Thank you, Jason From Jason at zx2c4.com Mon Apr 4 14:40:07 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Mon, 4 Apr 2022 16:40:07 +0200 Subject: [Buildroot] [PATCH v3] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220327202415.1248312-1-Jason@zx2c4.com> <20220329050401.110856-1-Jason@zx2c4.com> <871qyj8kpk.fsf@dell.be.48ers.dk> <7bcc0cf7-5759-1ef4-9667-fd8ae0c4741f@mind.be> <20220403094236.GF1811301@scaer> Message-ID: Hi James, On Sun, Apr 03, 2022 at 05:13:06PM -0600, James Hilliard wrote: > Maybe it should also be upstreamed to util-linux? Yea it might make sense there indeed; it's something I'm looking into. I'll let this list know the results of all this in ${TIME_INTERVAL} when things land various places, and I'll CC you on submissions I make. Jason From arnout at mind.be Mon Apr 4 15:12:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 17:12:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix build with libressl In-Reply-To: <5771e60200854118a380e4b47b540f68@AcuMS.aculab.com> References: <20220403185306.928833-1-fontaine.fabrice@gmail.com> <20220403201530.GB2354230@scaer> <01a5ba2d-a511-5322-5406-d1bc9bc95347@mind.be> <5771e60200854118a380e4b47b540f68@AcuMS.aculab.com> Message-ID: <13ee969c-e0cd-7029-5853-cc3cbd5baa06@mind.be> On 04/04/2022 10:41, David Laight wrote: > From: Arnout Vandecappelle >> Sent: 04 April 2022 08:35 >> >> On 03/04/2022 22:15, Yann E. MORIN wrote: >>> Fabrice, All, >>> >>> On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly: >>>> Fix the following build failure with libressl raised since bump to >>>> version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and >>>> https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d: >>>> >>>> configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b >> exception. See COPYING. >>> >>> This sentence is incorrect. It is legally not possible to *distribute* >>> fetchmail when linked against LibreSSL, as the GPL conditions in that >>> case only trigger at the moment of distribution. >>> >>> So, there should be no issue with linking fetchmail to LibreSSL for >>> private use without redistribution. >> >> It would be nice though if this could be mentioned in legal-info. > > ISTM that the default needs to be to disable the build. > Requiring 'hoops be gone through' for a private build. The "hoop" is to use openssl rather than libressl. Doesn't sound too complicated. Regards, Arnout > > David > > - > Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK > Registration No: 1397386 (Wales) > From arnout at mind.be Mon Apr 4 15:17:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 17:17:49 +0200 Subject: [Buildroot] Buildroot | ninja build error | /usr/bin/ld:error adding symbols: file in wrong format In-Reply-To: References: <9271680c-ab96-f8c0-ff76-fea5e8e5d2ba@theobroma-systems.com> Message-ID: Hi Sourabh, Please don't top-post, but reply inline like I do below. Note that this requires configuring your mailer to quote replies properly. On 04/04/2022 10:36, Sourabh Hegde wrote: > Hello?Quentin, > > I made some progress to build casync as host-casync. I modified casync.mk > file to include "HOST_CASYNC_DEPENDENCIES = host-acl > host-libcurl host-openssl" below "CASYNC_DEPENDENCIES = acl libcurl openssl". > And also added BR2_PACKAGE_HOST_CASYNC=YES to config. You don't necessarily need a Config.in option for a host package. Normally, it can simply be added to the dependencies of another package and no more. > Then if I run make > host-casync it results in > > make[1]:?*?No rule to make target 'host-libfuse' You said that you added only host-acl, host-libcurl and host-openssl so HOST_CASYNC_DEPENDENCIES, so there should be no reason for host-libfuse to be built. Are you sure you also didn't accidentally add HOST_CASYNC_DEPENDENCIES += host-libfuse ? > > I think this is related to below DEPENDENCY in casync.mk file: > ifeq ($(BR2_PACKAGE_LIBFUSE),y) > CASYNC_DEPENDENCIES += libfuse This only adds the dependency for the target package, not for the host package. There should be no reason at all to enable fuse for host-casync. So it's best to also set (unconditionally) HOST_CASYNC_CONF_OPTS += -Dfuse=false Regards, Arnout > CASYNC_CONF_OPTS += -Dfuse=true > else > CASYNC_CONF_OPTS += -Dfuse=false > endif > > But I have selected?BR2_PACKAGE_LIBFUSE=y in menuconfig. What else should be > selected?for "fuse"? > > Can you please let me know?how to set up buildroot to use build machine libs? > > Thanks in advance. > > On Fri, 1 Apr 2022 at 14:29, Sourabh Hegde > wrote: > > Hello?Quentin, > > I assume you need this at build time then since you are talking about > binary for the host system. In that case, you need to add host-casync to > your config. > > However, casync is currently a target-only package. > > > If I understand correctly, then as of now Buildroot can't be used to create > casync host package. > > $(eval $(host-meson-package)) > > at the end of the package/casync/casync.mk ?file. > > > I will try this solution. > > But what could be the other?alternative to work with casync? > > Thanks in advance > > On Fri, 1 Apr 2022 at 13:54, Quentin Schulz > > wrote: > > Hi Sourabh, > > On 4/1/22 13:41, Sourabh Hegde wrote: > > Hello Quentin, > > > > make casync > >> > >> if you want it in an image created by Buildroot, modify your config with > >> make menuconfig and save your changes, then run make. > >> > > > > But will this create binary for host system also? Sorry, its bit > confusing > > here. > > > > No, host packages and target packages are compiled with a different keyword. > > make casync is for target package > make host-casync is for host package > > > I need casync tool use with "rauc" as given in > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e= > > > > > When I do "rauc convert --cert= --key= > > --keyring= conventional-bundle.raucb casync-bundle.raucb" > > > > I assume you need this at build time then since you are talking about > binary for the host system. In that case, you need to add host-casync to > your config. > > However, casync is currently a target-only package. > > To create a host package, you need at the very least to add: > > $(eval $(host-meson-package)) > > at the end of the package/casync/casync.mk file. > > This might not be enough and might require some additional tweaks to the > package makefile. > > Cheers, > Quentin > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Mon Apr 4 16:22:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 18:22:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libp11: fix build with libressl Message-ID: <20220404162248.325842-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl: p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) | ^~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b Signed-off-by: Fabrice Fontaine --- package/libp11/0001-Update-wp11_rsa.c.patch | 26 +++++++++++++++++++++ package/libp11/libp11.mk | 8 ++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 package/libp11/0001-Update-wp11_rsa.c.patch diff --git a/package/libp11/0001-Update-wp11_rsa.c.patch b/package/libp11/0001-Update-wp11_rsa.c.patch new file mode 100644 index 0000000000..0a2d6e65ce --- /dev/null +++ b/package/libp11/0001-Update-wp11_rsa.c.patch @@ -0,0 +1,26 @@ +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 +From: patchMonkey156 +Date: Mon, 19 Oct 2020 17:12:15 -0400 +Subject: [PATCH] Update p11_rsa.c + +Bugfix for new LibreSSL version 3.2.2 +[Retrieved from: +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] +Signed-off-by: Fabrice Fontaine +--- + src/p11_rsa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/p11_rsa.c b/src/p11_rsa.c +index b6beef0..ff12ed7 100644 +--- a/src/p11_rsa.c ++++ b/src/p11_rsa.c +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) + return RSA_size(rsa); + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) + + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) + (int flen, const unsigned char *from, diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk index 45a718ee99..c1873a920c 100644 --- a/package/libp11/libp11.mk +++ b/package/libp11/libp11.mk @@ -11,10 +11,16 @@ LIBP11_INSTALL_STAGING = YES LIBP11_LICENSE = LGPL-2.1+ LIBP11_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBP11_ENGINESDIR = enginesdir +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) +LIBP11_ENGINESDIR = libdir +endif + # pkg-config returns a libcrypto enginesdir prefixed with the sysroot, # so let's rip it out. LIBP11_CONF_OPTS = \ - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` ifeq ($(BR2_PACKAGE_P11_KIT),y) LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 4 16:25:45 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 18:25:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/ace: fix build with libressl Message-ID: <20220404162545.326240-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since the addition of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) | ^~~~~~~~~~~~ | BIO_set_init Fixes: - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 Signed-off-by: Fabrice Fontaine --- ...Asynch_BIO.cpp-fix-build-with-libres.patch | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch new file mode 100644 index 0000000000..ad82c10172 --- /dev/null +++ b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch @@ -0,0 +1,52 @@ +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 15:25:49 +0200 +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl + +Fix the following build failure with libressl: + +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) + | ^~~~~~~~~~~~ + | BIO_set_init + +Fixes: + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] +--- + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp +index a657d8a14e6f7..64aa14c6ab9a7 100644 +--- a/ace/SSL/SSL_Asynch_BIO.cpp ++++ b/ace/SSL/SSL_Asynch_BIO.cpp +@@ -41,7 +41,7 @@ extern "C" + + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static BIO_METHOD methods_ACE = + { + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = + #else + static BIO_METHOD* methods_ACE; + # define BIO_set_num(b, val) +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ + + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + + BIO * + ACE_SSL_make_BIO (void * ssl_asynch_stream) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + BIO * const pBIO = BIO_new (&methods_ACE); + #else + if (!methods_ACE) -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 4 16:33:20 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 18:33:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcoap: fix build with libressl Message-ID: <20220404163320.337038-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since commit 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: src/coap_openssl.c:107:3: erreur: nom de type ??BIO_ADDR?? inconnu 107 | BIO_ADDR *bio_addr; | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 Signed-off-by: Fabrice Fontaine --- package/libcoap/libcoap.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk index 8a85ff3a2e..edcc1bbef8 100644 --- a/package/libcoap/libcoap.mk +++ b/package/libcoap/libcoap.mk @@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y) LIBCOAP_DEPENDENCIES += gnutls LIBCOAP_CONF_OPTS += \ --enable-dtls --with-gnutls --without-mbedtls --without-openssl -else ifeq ($(BR2_PACKAGE_OPENSSL),y) +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBCOAP_DEPENDENCIES += openssl LIBCOAP_CONF_OPTS += \ --enable-dtls --without-gnutls --without-mbedtls --with-openssl -- 2.35.1 From bernd.kuhls at t-online.de Mon Apr 4 16:39:26 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Mon, 4 Apr 2022 18:39:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-waipu: bump version to 19.2.1-Matrix Message-ID: <20220404163926.2601842-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index d40a068cb5..1f290b9331 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 4c5ad45ba869c8064a0d64d7fc5c0a2e0c9f47f51184823872d6cd888ab7b2a0 kodi-pvr-waipu-19.2.0-Matrix.tar.gz +sha256 61779eaac29930cfd7f2c23da44a27fdecb695252fbab9598c49c57ce8be7291 kodi-pvr-waipu-19.2.1-Matrix.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 61c5bd67ae..19c750945e 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 19.2.0-Matrix +KODI_PVR_WAIPU_VERSION = 19.2.1-Matrix KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt -- 2.30.2 From fontaine.fabrice at gmail.com Mon Apr 4 16:52:20 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 18:52:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: needs NPTL Message-ID: <20220404165220.338388-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump to version 0.3.26 in commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde Signed-off-by: Fabrice Fontaine --- package/pipewire/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index dd13f31a73..3bfcf42a81 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PIPEWIRE bool "pipewire" depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime @@ -46,7 +46,8 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + depends on BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 -- 2.35.1 From arnout at mind.be Mon Apr 4 17:20:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:20:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/stellarium: bump version to 0.22.0 In-Reply-To: <20220330201009.1459182-1-bernd.kuhls@t-online.de> References: <20220330201009.1459182-1-bernd.kuhls@t-online.de> Message-ID: <3f55f9b9-ea95-4b25-a9fc-c4c1c12dc792@mind.be> On 30/03/2022 22:10, Bernd Kuhls wrote: > Release notes: > http://stellarium.org/release/2022/03/27/stellarium-0.22.0.html > > Added upstream patch to fix build error. > > Added dependency to qt5charts following upstream commit: > https://github.com/Stellarium/stellarium/commit/5b8fece8d03c64f27f37469f0604efd88d54393d#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR487 > > Added configure option to disable qt5webengine support, the package is > broken: https://bugs.busybox.net/show_bug.cgi?id=14681 > > Signed-off-by: Bernd Kuhls > --- [snip] > diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash > index c3f2e0e8d4..f8185869be 100644 > --- a/package/stellarium/stellarium.hash > +++ b/package/stellarium/stellarium.hash > @@ -1,5 +1,5 @@ > # From https://github.com/Stellarium/stellarium/releases > -sha1 a3396c403050e073c592da695faeb048c1d5e19b stellarium-0.21.3.tar.gz > -sha256 8ac6c054d12f136fe0d5c0deaaa8d7b69dd2a462be1711a187364574aef97e7f stellarium-0.21.3.tar.gz > +sha1 c4a00fd756c66fb7df633f496dd3be4300bf1d2b stellarium-0.22.0.tar.gz ^^^ Separate with two spaces, as reported by check-package. Applied to master with that fixed, thanks. Regards, Arnout > +sha256 0b4dc23cf9054b5e76cd9bc5ad68e172eb221999e90af37e93667d04fe78c885 stellarium-0.22.0.tar.gz > # Locally computed > sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING > diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk > index ca5c07b2a7..1226b1190d 100644 > --- a/package/stellarium/stellarium.mk > +++ b/package/stellarium/stellarium.mk > @@ -4,18 +4,20 @@ > # > ################################################################################ > > -STELLARIUM_VERSION = 0.21.3 > +STELLARIUM_VERSION = 0.22.0 > STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) > STELLARIUM_LICENSE = GPL-2.0+ > STELLARIUM_LICENSE_FILES = COPYING > STELLARIUM_DEPENDENCIES = \ > qt5base \ > + qt5charts \ > qt5location \ > qt5multimedia \ > zlib > STELLARIUM_CONF_OPTS = \ > -DENABLE_MEDIA=ON \ > -DENABLE_NLS=OFF \ > + -DENABLE_QTWEBENGINE=OFF \ > -DUSE_SYSTEM_ZLIB=ON > > ifeq ($(BR2_PACKAGE_QT5SCRIPT),y) From arnout at mind.be Mon Apr 4 17:25:54 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:25:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: bump to version 2.2.6 In-Reply-To: <20220328203139.1115402-1-ju.o@free.fr> References: <20220328203139.1115402-1-ju.o@free.fr> Message-ID: <0658ea2e-ec83-aaf5-f432-26e1b1475073@mind.be> On 28/03/2022 22:31, Julien Olivain wrote: > For change log since v2.2.5, see: > - https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.6 > > Signed-off-by: Julien Olivain > --- > Tested with: > > make check-package > ... > 0 warnings generated > > ./utils/test-pkg -p fluidsynth > ... > 6 builds, 2 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed Applied to master, thanks. Regards, Arnout > --- > package/fluidsynth/fluidsynth.hash | 2 +- > package/fluidsynth/fluidsynth.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/fluidsynth/fluidsynth.hash b/package/fluidsynth/fluidsynth.hash > index 0d41c16d8d..20eb9ec49f 100644 > --- a/package/fluidsynth/fluidsynth.hash > +++ b/package/fluidsynth/fluidsynth.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 9037e703617f91c4c36039a5059e0f624164799d856af715bcd8a23c07ba03b8 fluidsynth-2.2.5.tar.gz > +sha256 ca90fe675cacd9a7b442662783c4e7fa0e1fd638b28d64105a4e3fe0f618d20f fluidsynth-2.2.6.tar.gz > sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE > diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk > index b500944c16..d7c72ed059 100644 > --- a/package/fluidsynth/fluidsynth.mk > +++ b/package/fluidsynth/fluidsynth.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FLUIDSYNTH_VERSION = 2.2.5 > +FLUIDSYNTH_VERSION = 2.2.6 > FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION)) > FLUIDSYNTH_LICENSE = LGPL-2.1+ > FLUIDSYNTH_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 4 17:26:27 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:26:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/upower: add gobject-introspection optional dependency In-Reply-To: <20220330173237.1377195-1-fontaine.fabrice@gmail.com> References: <20220330173237.1377195-1-fontaine.fabrice@gmail.com> Message-ID: <2f6d7a1c-2166-52f1-5ee6-18dea30049ed@mind.be> On 30/03/2022 19:32, Fabrice Fontaine wrote: > gobject-introspection is an optional dependency which is enabled by > default since > https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/upower/upower.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/upower/upower.mk b/package/upower/upower.mk > index 8989ca9f5d..a6f39d2f46 100644 > --- a/package/upower/upower.mk > +++ b/package/upower/upower.mk > @@ -22,4 +22,11 @@ UPOWER_DEPENDENCIES = \ > > UPOWER_CONF_OPTS = --disable-man-pages --disable-tests > > +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) > +UPOWER_CONF_OPTS += --enable-introspection > +UPOWER_DEPENDENCIES += gobject-introspection > +else > +UPOWER_CONF_OPTS += --disable-introspection > +endif > + > $(eval $(autotools-package)) From arnout at mind.be Mon Apr 4 17:26:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:26:45 +0200 Subject: [Buildroot] [PATCH v2,1/1] package/pango: fix empty-body In-Reply-To: <20220330165702.1018014-1-fontaine.fabrice@gmail.com> References: <20220330165702.1018014-1-fontaine.fabrice@gmail.com> Message-ID: <6ca6b182-c66d-3509-bb58-862188da3e93@mind.be> On 30/03/2022 18:57, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 1.50.5 in > commit 68b0efbae49a42d0e14d6040e5e7e573d382ff75: > > ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': > ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] > ; > ^ > > Fixes: > - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2 (after review of Arnout Vandecappelle): > - Fix error instead of dropping -Werror > > ...-utils-viewer-cairo-c-fix-empty-body.patch | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch > > diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch > new file mode 100644 > index 0000000000..4b7b5f9b19 > --- /dev/null > +++ b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch > @@ -0,0 +1,40 @@ > +From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 29 Mar 2022 21:39:03 +0000 > +Subject: [PATCH] utils/viewer-cairo.c: fix empty-body > + > +Fix the following build failure raised > +since version 1.50.5 and > +https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: > + > +../utils/viewer-cairo.c: In function 'cairo_vector_view_create': > +../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] > + ; > + ^ > + > +Fixes: > + - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] > +--- > + utils/viewer-cairo.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c > +index ca98c1cd..f15b3fb9 100644 > +--- a/utils/viewer-cairo.c > ++++ b/utils/viewer-cairo.c > +@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) > + return NULL; > + > + if (0) > +- ; > ++ {} > + #ifdef CAIRO_HAS_SVG_SURFACE > + else if (0 == g_ascii_strcasecmp (extension, "svg")) > + constructor = cairo_svg_surface_create; > +-- > +GitLab > + From arnout at mind.be Mon Apr 4 17:15:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:15:21 +0200 Subject: [Buildroot] [git commit] package/upower: add gobject-introspection optional dependency Message-ID: <20220404171729.64D5786230@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8bcae68f37d2c608e9e151fb983f16c09c11f85e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master gobject-introspection is an optional dependency which is enabled by default since https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/upower/upower.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/upower/upower.mk b/package/upower/upower.mk index 8989ca9f5d..a6f39d2f46 100644 --- a/package/upower/upower.mk +++ b/package/upower/upower.mk @@ -22,4 +22,11 @@ UPOWER_DEPENDENCIES = \ UPOWER_CONF_OPTS = --disable-man-pages --disable-tests +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +UPOWER_CONF_OPTS += --enable-introspection +UPOWER_DEPENDENCIES += gobject-introspection +else +UPOWER_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package)) From arnout at mind.be Mon Apr 4 17:15:18 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:15:18 +0200 Subject: [Buildroot] [git commit] package/pango: fix empty-body Message-ID: <20220404171729.5C0198622F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43991ac5e0e6cdb4aa03ed7011243aa0f473fd56 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 1.50.5 in commit 68b0efbae49a42d0e14d6040e5e7e573d382ff75: ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] ; ^ Fixes: - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-utils-viewer-cairo-c-fix-empty-body.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch new file mode 100644 index 0000000000..4b7b5f9b19 --- /dev/null +++ b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch @@ -0,0 +1,40 @@ +From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 29 Mar 2022 21:39:03 +0000 +Subject: [PATCH] utils/viewer-cairo.c: fix empty-body + +Fix the following build failure raised +since version 1.50.5 and +https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: + +../utils/viewer-cairo.c: In function 'cairo_vector_view_create': +../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] + ; + ^ + +Fixes: + - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] +--- + utils/viewer-cairo.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c +index ca98c1cd..f15b3fb9 100644 +--- a/utils/viewer-cairo.c ++++ b/utils/viewer-cairo.c +@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) + return NULL; + + if (0) +- ; ++ {} + #ifdef CAIRO_HAS_SVG_SURFACE + else if (0 == g_ascii_strcasecmp (extension, "svg")) + constructor = cairo_svg_surface_create; +-- +GitLab + From arnout at mind.be Mon Apr 4 17:15:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:15:16 +0200 Subject: [Buildroot] [git commit] package/fluidsynth: bump to version 2.2.6 Message-ID: <20220404171729.5339B8622B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d2fc098faa5b8b8608b4c3d56dc526374c3319aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master For change log since v2.2.5, see: - https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.6 Signed-off-by: Julien Olivain Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/fluidsynth/fluidsynth.hash | 2 +- package/fluidsynth/fluidsynth.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/fluidsynth.hash b/package/fluidsynth/fluidsynth.hash index 0d41c16d8d..20eb9ec49f 100644 --- a/package/fluidsynth/fluidsynth.hash +++ b/package/fluidsynth/fluidsynth.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 9037e703617f91c4c36039a5059e0f624164799d856af715bcd8a23c07ba03b8 fluidsynth-2.2.5.tar.gz +sha256 ca90fe675cacd9a7b442662783c4e7fa0e1fd638b28d64105a4e3fe0f618d20f fluidsynth-2.2.6.tar.gz sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk index b500944c16..d7c72ed059 100644 --- a/package/fluidsynth/fluidsynth.mk +++ b/package/fluidsynth/fluidsynth.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLUIDSYNTH_VERSION = 2.2.5 +FLUIDSYNTH_VERSION = 2.2.6 FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION)) FLUIDSYNTH_LICENSE = LGPL-2.1+ FLUIDSYNTH_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 4 17:16:42 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:16:42 +0200 Subject: [Buildroot] [git commit] package/stellarium: bump version to 0.22.0 Message-ID: <20220404171729.6F5328622B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=af457e6da30b78b53bd020a09c8487185e7316dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: http://stellarium.org/release/2022/03/27/stellarium-0.22.0.html Added upstream patch to fix build error. Added dependency to qt5charts following upstream commit: https://github.com/Stellarium/stellarium/commit/5b8fece8d03c64f27f37469f0604efd88d54393d#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR487 Added configure option to disable qt5webengine support, the package is broken: https://bugs.busybox.net/show_bug.cgi?id=14681 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...xed-building-Stellarium-without-scripting.patch | 49 ++++++++++++++++++++++ package/stellarium/Config.in | 1 + package/stellarium/stellarium.hash | 4 +- package/stellarium/stellarium.mk | 4 +- 4 files changed, 55 insertions(+), 3 deletions(-) diff --git a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch b/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch new file mode 100644 index 0000000000..57f15a8eff --- /dev/null +++ b/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch @@ -0,0 +1,49 @@ +From 710d1c5acd9e962260ce395474819ded2eb6ce12 Mon Sep 17 00:00:00 2001 +From: "Alexander V. Wolf" +Date: Tue, 29 Mar 2022 18:57:06 +0700 +Subject: [PATCH] Fixed building Stellarium without scripting + +Downloaded from upstream commit: +https://github.com/Stellarium/stellarium/commit/710d1c5acd9e962260ce395474819ded2eb6ce12 + +Signed-off-by: Bernd Kuhls +--- + plugins/Calendars/src/Calendars.cpp | 2 ++ + plugins/Calendars/src/Calendars.hpp | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/plugins/Calendars/src/Calendars.cpp b/plugins/Calendars/src/Calendars.cpp +index e5d89a4c063..4df6caee42e 100644 +--- a/plugins/Calendars/src/Calendars.cpp ++++ b/plugins/Calendars/src/Calendars.cpp +@@ -251,6 +251,7 @@ void Calendars::init() + } + } + ++#ifdef ENABLE_SCRIPTING + // Add calendar as scriptable object! Some scripting functions won't work though, as they use object types unknown to the scripting engine. + void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) + { +@@ -260,6 +261,7 @@ void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) + ssm->addObject(cal); + } + } ++#endif + + void Calendars::loadSettings() + { +diff --git a/plugins/Calendars/src/Calendars.hpp b/plugins/Calendars/src/Calendars.hpp +index 461ae1bd9ba..4696183d9d2 100644 +--- a/plugins/Calendars/src/Calendars.hpp ++++ b/plugins/Calendars/src/Calendars.hpp +@@ -145,8 +145,10 @@ class Calendars : public StelModule + //! TODO: ADD HERE: Chinese, NewHinduSolar, NewHinduLunar, ... + Calendar* getCal(QString name); + ++ #ifdef ENABLE_SCRIPTING + //! to be called after program startup, when StelScriptMgr has been set up. + void makeCalendarsScriptable(StelScriptMgr *ssm); ++ #endif + + signals: + //void jdChanged(double jd); diff --git a/package/stellarium/Config.in b/package/stellarium/Config.in index 5922162d44..566f8edc83 100644 --- a/package/stellarium/Config.in +++ b/package/stellarium/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_STELLARIUM select BR2_PACKAGE_QT5BASE_OPENGL select BR2_PACKAGE_QT5BASE_PRINTSUPPORT select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5CHARTS select BR2_PACKAGE_QT5LOCATION select BR2_PACKAGE_QT5MULTIMEDIA select BR2_PACKAGE_ZLIB diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash index c3f2e0e8d4..2c2427bf0e 100644 --- a/package/stellarium/stellarium.hash +++ b/package/stellarium/stellarium.hash @@ -1,5 +1,5 @@ # From https://github.com/Stellarium/stellarium/releases -sha1 a3396c403050e073c592da695faeb048c1d5e19b stellarium-0.21.3.tar.gz -sha256 8ac6c054d12f136fe0d5c0deaaa8d7b69dd2a462be1711a187364574aef97e7f stellarium-0.21.3.tar.gz +sha1 c4a00fd756c66fb7df633f496dd3be4300bf1d2b stellarium-0.22.0.tar.gz +sha256 0b4dc23cf9054b5e76cd9bc5ad68e172eb221999e90af37e93667d04fe78c885 stellarium-0.22.0.tar.gz # Locally computed sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index ca5c07b2a7..1226b1190d 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -4,18 +4,20 @@ # ################################################################################ -STELLARIUM_VERSION = 0.21.3 +STELLARIUM_VERSION = 0.22.0 STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) STELLARIUM_LICENSE = GPL-2.0+ STELLARIUM_LICENSE_FILES = COPYING STELLARIUM_DEPENDENCIES = \ qt5base \ + qt5charts \ qt5location \ qt5multimedia \ zlib STELLARIUM_CONF_OPTS = \ -DENABLE_MEDIA=ON \ -DENABLE_NLS=OFF \ + -DENABLE_QTWEBENGINE=OFF \ -DUSE_SYSTEM_ZLIB=ON ifeq ($(BR2_PACKAGE_QT5SCRIPT),y) From arnout at mind.be Mon Apr 4 17:38:54 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:38:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages In-Reply-To: <20220331132230.227424-1-br015@umbiko.net> References: <20220331132230.227424-1-br015@umbiko.net> Message-ID: On 31/03/2022 15:22, Andreas Ziegler wrote: > Background > During configuration, the meson build system tries to determine the > availability of optional dependencies using (host) pkgconfig and cmake in that > order. If a library does not exist on the target, pkg-config will fail, but > cmake sometimes finds and reports libraries that exist as host packages. This > has been observed for host-expat (cmake dependency) and host-zlib. The link > step subsequently fails, because necessary files are not present in the target > architecture. > > Unconditionally disable optional features often found in host binaries and > modify the menu selection processing in mpd.mk to re-enable them where > necessary. Currently this concerns expat and zlib only. > > This fixes the following build errors: > > [expat] > /home/data/buildroot.x86_64/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.2.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: warning: libc.so.6, needed by /home/data/buildroot.x86_64/host/lib/libexpat.so.1.8.7, not found (try using -rpath or -rpath-link) > /home/data/buildroot.x86_64/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.2.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: /home/data/buildroot.x86_64/host/lib/libexpat.so.1.8.7: undefined reference to `__errno_location at GLIBC_2.2.5' > > [zlib] > http://autobuild.buildroot.net/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ > > Signed-off-by: Andreas Ziegler > --- > package/mpd/mpd.mk | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk > index 12da36098f..4e67c9428c 100644 > --- a/package/mpd/mpd.mk > +++ b/package/mpd/mpd.mk > @@ -14,6 +14,7 @@ MPD_LICENSE_FILES = COPYING > # these refer to the FreeBSD PPP daemon > MPD_IGNORE_CVES = CVE-2020-7465 CVE-2020-7466 > MPD_SELINUX_MODULES = mpd > +# These features are either unwanted or not selectable via the Buildroot menu > MPD_CONF_OPTS = \ > -Daudiofile=disabled \ > -Ddocumentation=disabled \ > @@ -21,6 +22,12 @@ MPD_CONF_OPTS = \ > -Dpipewire=disabled \ > -Dsnapcast=false > > +# Explicitly disable features where meson's dependency detection picks up host > +# libraries. These settings can be overridden through menu options later > +MPD_CONF_OPTS += \ > + -Dexpat=disabled \ > + -Dzlib=disabled It would be better to make these automatic conditional dependencies, like it's done for ICU. > + > # Zeroconf support depends on libdns_sd from avahi. > ifeq ($(BR2_PACKAGE_MPD_AVAHI_SUPPORT),y) > MPD_DEPENDENCIES += avahi > @@ -300,11 +307,11 @@ ifeq ($(BR2_PACKAGE_MPD_UPNP_PUPNP),y) > MPD_DEPENDENCIES += \ > expat \ That would also allow to remove this (it will be done implicitly since expat is selected in Config.in and the automatic dependency will add it). > libupnp > -MPD_CONF_OPTS += -Dupnp=pupnp > +MPD_CONF_OPTS += -Dupnp=pupnp -Dexpat=enabled > else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y) > MPD_DEPENDENCIES += \ > libnpupnp > -MPD_CONF_OPTS += -Dupnp=npupnp > +MPD_CONF_OPTS += -Dupnp=npupnp -Dexpat=enabled This is wrong: no dependency on expat is added so expat may not even be selected or built at this point. Marked as Changes Requested. Regards, Arnout > else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y) > MPD_CONF_OPTS += -Dupnp=disabled > endif From arnout at mind.be Mon Apr 4 17:39:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:39:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libabseil-cpp: fix uclibc-ng build In-Reply-To: <20220330205112.1378968-1-fontaine.fabrice@gmail.com> References: <20220330205112.1378968-1-fontaine.fabrice@gmail.com> Message-ID: <0f8aba9b-9c42-07e0-d524-1096b9675b3c@mind.be> On 30/03/2022 22:51, Fabrice Fontaine wrote: > Fix the following build failure with uclibc-ng and grpc raised on arm > and ppc: > > /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' > > Strangely enough it seems there is only one autobuilder failure despite > the fact that libabseil-cpp is unconditionally using getauxval since its > addition in commit 93568440eda120b12bcbfe267af8f0182484c3b6: > https://github.com/abseil/abseil-cpp/blob/20200225/absl/random/internal/randen_detect.cc > > Perhaps this build failure is an unexpected side effect of commit > 8251d8c2559b25f11684776fc343059cf100657d > > Fixes: > - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0002-fix-build-with-uclibc-ng.patch | 62 +++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch > > diff --git a/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch > new file mode 100644 > index 0000000000..0797d8e51b > --- /dev/null > +++ b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch > @@ -0,0 +1,62 @@ > +From b9ad9bbfed92199a1a58504306d026cd2597539e Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Wed, 30 Mar 2022 21:56:20 +0200 > +Subject: [PATCH] Fix build with uclibc-ng (#1145) > + > +uclibc-ng doesn't provide getauxval which results in the following build > +failure on arm or ppc with any user of abseil-cpp such as grpc: > + > +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' > + > +To fix this build failure, check that __UCLIBC__ is not defined before > +using getauxval (as Babel is not able to check function availability) > + > +Fixes: > + - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/abseil/abseil-cpp/commit/b9ad9bbfed92199a1a58504306d026cd2597539e] > +--- > + absl/debugging/internal/vdso_support.cc | 2 +- > + absl/random/internal/randen_detect.cc | 7 ++++++- > + 2 files changed, 7 insertions(+), 2 deletions(-) > + > +diff --git a/absl/debugging/internal/vdso_support.cc b/absl/debugging/internal/vdso_support.cc > +index c655cf452..e63ac4a3b 100644 > +--- a/absl/debugging/internal/vdso_support.cc > ++++ b/absl/debugging/internal/vdso_support.cc > +@@ -33,7 +33,7 @@ > + #endif > + #include > + > +-#if defined(__GLIBC__) && \ > ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ > + (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) > + #define ABSL_HAVE_GETAUXVAL > + #endif > +diff --git a/absl/random/internal/randen_detect.cc b/absl/random/internal/randen_detect.cc > +index 9bb58fc68..6dababa35 100644 > +--- a/absl/random/internal/randen_detect.cc > ++++ b/absl/random/internal/randen_detect.cc > +@@ -24,6 +24,11 @@ > + > + #include "absl/random/internal/platform.h" > + > ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ > ++ (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) > ++#define ABSL_HAVE_GETAUXVAL > ++#endif > ++ > + #if defined(ABSL_ARCH_X86_64) > + #define ABSL_INTERNAL_USE_X86_CPUID > + #elif defined(ABSL_ARCH_PPC) || defined(ABSL_ARCH_ARM) || \ > +@@ -31,7 +36,7 @@ > + #if defined(__ANDROID__) > + #define ABSL_INTERNAL_USE_ANDROID_GETAUXVAL > + #define ABSL_INTERNAL_USE_GETAUXVAL > +-#elif defined(__linux__) > ++#elif defined(__linux__) && defined(ABSL_HAVE_GETAUXVAL) > + #define ABSL_INTERNAL_USE_LINUX_GETAUXVAL > + #define ABSL_INTERNAL_USE_GETAUXVAL > + #endif From arnout at mind.be Mon Apr 4 17:39:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:39:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/dav1d: bump version to 1.0.0 In-Reply-To: <20220331152816.245852-1-bernd.kuhls@t-online.de> References: <20220331152816.245852-1-bernd.kuhls@t-online.de> Message-ID: <91d95b30-2cf5-10c9-2987-b3412c60d06a@mind.be> On 31/03/2022 17:28, Bernd Kuhls wrote: > Release notes: > https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/dav1d/dav1d.hash | 4 ++-- > package/dav1d/dav1d.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/dav1d/dav1d.hash b/package/dav1d/dav1d.hash > index 5e838b0951..35d753fc27 100644 > --- a/package/dav1d/dav1d.hash > +++ b/package/dav1d/dav1d.hash > @@ -1,4 +1,4 @@ > -# From http://download.videolan.org/pub/videolan/dav1d/0.9.2/dav1d-0.9.2.tar.xz.sha256 > -sha256 e3235ab6c43c0135b0db1d131e1923fad4c84db9d85683e30b91b33a52d61c71 dav1d-0.9.2.tar.xz > +# From http://download.videolan.org/pub/videolan/dav1d/1.0.0/dav1d-1.0.0.tar.xz.sha256 > +sha256 51737db7e4897e599684f873a4725176dd3c779e639411d7c4fce134bb5ebb82 dav1d-1.0.0.tar.xz > # Locally computed > sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING > diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk > index ecc4cc55c3..2d42cdcb67 100644 > --- a/package/dav1d/dav1d.mk > +++ b/package/dav1d/dav1d.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DAV1D_VERSION = 0.9.2 > +DAV1D_VERSION = 1.0.0 > DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz > DAV1D_SITE = http://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) > DAV1D_LICENSE = BSD-2-Clause From arnout at mind.be Mon Apr 4 17:39:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:39:53 +0200 Subject: [Buildroot] [PATCH v2] package/libcamera-apps: fix X11 preview compile (conversion from Window to EGLNativeWindowType) In-Reply-To: <20220331201231.26526-1-ps.report@gmx.net> References: <20220331201231.26526-1-ps.report@gmx.net> Message-ID: On 31/03/2022 22:12, Peter Seiderer wrote: > - add 002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > > Fixes: > > .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ?Window? {aka ?long unsigned int?} to ?EGLNativeWindowType? {aka ?fbdev_window*?} [-fpermissive] > 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); > | ^~~~~~~ > | | > | Window {aka long unsigned int} > > Signed-off-by: Peter Seiderer > --- > Changes v1 -> v2: > - add patch with proper type cast instead of '-fpermissive' compiler > command line option (suggested by Arnout Vandecappelle) Thanks for the work! Applied to master, thanks. Regards, Arnout > --- > ...preview-compile-conversion-from-Wind.patch | 39 +++++++++++++++++++ > 1 file changed, 39 insertions(+) > create mode 100644 package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > > diff --git a/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > new file mode 100644 > index 0000000000..cc9069aa86 > --- /dev/null > +++ b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > @@ -0,0 +1,39 @@ > +From 60715769cd5368a63b2bdc2e6d6bb6df0030a54d Mon Sep 17 00:00:00 2001 > +From: Peter Seiderer > +Date: Thu, 31 Mar 2022 21:44:22 +0200 > +Subject: [PATCH] preview: fix egl_preview compile (conversion from Window to > + EGLNativeWindowType) > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +Fixes: > + > + .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ?Window? {aka ?long unsigned int?} to ?EGLNativeWindowType? {aka ?fbdev_window*?} [-fpermissive] > + 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); > + | ^~~~~~~ > + | | > + | Window {aka long unsigned int} > + > +[Upstream: https://github.com/raspberrypi/libcamera-apps/pull/283] > +Signed-off-by: Peter Seiderer > +--- > + preview/egl_preview.cpp | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/preview/egl_preview.cpp b/preview/egl_preview.cpp > +index b936e57..593583d 100644 > +--- a/preview/egl_preview.cpp > ++++ b/preview/egl_preview.cpp > +@@ -326,7 +326,7 @@ void EglPreview::makeWindow(char const *name) > + wm_delete_window_ = XInternAtom(display_, "WM_DELETE_WINDOW", False); > + XSetWMProtocols(display_, window_, &wm_delete_window_, 1); > + > +- egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); > ++ egl_surface_ = eglCreateWindowSurface(egl_display_, config, reinterpret_cast(window_), NULL); > + if (!egl_surface_) > + throw std::runtime_error("eglCreateWindowSurface failed"); > + > +-- > +2.35.1 > + From arnout at mind.be Mon Apr 4 17:40:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:40:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/apr: fix CVE-2021-35940 In-Reply-To: <20220331210046.35887-1-fontaine.fabrice@gmail.com> References: <20220331210046.35887-1-fontaine.fabrice@gmail.com> Message-ID: On 31/03/2022 23:00, Fabrice Fontaine wrote: > An out-of-bounds array read in the apr_time_exp*() functions was fixed > in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix > for this issue was not carried forward to the APR 1.7.x branch, and > hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the > same issue. > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../apr/0004-apr-1.7.0-CVE-2021-35940.patch | 57 +++++++++++++++++++ > package/apr/apr.mk | 3 + > 2 files changed, 60 insertions(+) > create mode 100644 package/apr/0004-apr-1.7.0-CVE-2021-35940.patch > > diff --git a/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch > new file mode 100644 > index 0000000000..b065a3330a > --- /dev/null > +++ b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch > @@ -0,0 +1,57 @@ > + > +SECURITY: CVE-2021-35940 (cve.mitre.org) > + > +Restore fix for CVE-2017-12613 which was missing in 1.7.x branch, though > +was addressed in 1.6.x in 1.6.3 and later via r1807976. > + > +The fix was merged back to 1.7.x in r1891198. > + > +Since this was a regression in 1.7.0, a new CVE name has been assigned > +to track this, CVE-2021-35940. > + > +Thanks to Iveta Cesalova for reporting this issue. > + > +https://svn.apache.org/viewvc?view=revision&revision=1891198 > + > +[Retrieved from: > +https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch] > +Signed-off-by: Fabrice Fontaine > + > +Index: ./time/unix/time.c > +=================================================================== > +--- ./time/unix/time.c (revision 1891197) > ++++ ./time/unix/time.c (revision 1891198) > +@@ -142,6 +142,9 @@ > + static const int dayoffset[12] = > + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; > + > ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) > ++ return APR_EBADDATE; > ++ > + /* shift new year to 1st March in order to make leap year calc easy */ > + > + if (xt->tm_mon < 2) > +Index: ./time/win32/time.c > +=================================================================== > +--- ./time/win32/time.c (revision 1891197) > ++++ ./time/win32/time.c (revision 1891198) > +@@ -54,6 +54,9 @@ > + static const int dayoffset[12] = > + {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; > + > ++ if (tm->wMonth < 1 || tm->wMonth > 12) > ++ return APR_EBADDATE; > ++ > + /* Note; the caller is responsible for filling in detailed tm_usec, > + * tm_gmtoff and tm_isdst data when applicable. > + */ > +@@ -228,6 +231,9 @@ > + static const int dayoffset[12] = > + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; > + > ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) > ++ return APR_EBADDATE; > ++ > + /* shift new year to 1st March in order to make leap year calc easy */ > + > + if (xt->tm_mon < 2) > diff --git a/package/apr/apr.mk b/package/apr/apr.mk > index c45829aacc..74129ed77e 100644 > --- a/package/apr/apr.mk > +++ b/package/apr/apr.mk > @@ -16,6 +16,9 @@ APR_INSTALL_STAGING = YES > # so we need to autoreconf: > APR_AUTORECONF = YES > > +# 0004-apr-1.7.0-CVE-2021-35940.patch > +APR_IGNORE_CVES += CVE-2021-35940 > + > # avoid apr_hints.m4 by setting apr_preload_done=yes and set > # the needed CFLAGS on our own (avoids '-D_REENTRANT' in case > # not supported by toolchain and subsequent configure failure) From arnout at mind.be Mon Apr 4 17:40:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:40:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/ed: bump to version 1.18 In-Reply-To: <20220331212925.39676-1-fontaine.fabrice@gmail.com> References: <20220331212925.39676-1-fontaine.fabrice@gmail.com> Message-ID: <07bc503d-9fb5-19a9-bf1a-7ee26b6ada0c@mind.be> On 31/03/2022 23:29, Fabrice Fontaine wrote: > license has been switched back to GPL-2.0+: > https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00002.html > > https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00000.html > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/ed/ed.hash | 6 +++--- > package/ed/ed.mk | 4 ++-- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/ed/ed.hash b/package/ed/ed.hash > index 90d467d1f3..36f9b9c1e4 100644 > --- a/package/ed/ed.hash > +++ b/package/ed/ed.hash > @@ -1,4 +1,4 @@ > -# From https://lists.gnu.org/archive/html/bug-ed/2021-01/msg00000.html > -sha256 71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54 ed-1.17.tar.lz > +# From https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00000.html > +sha256 aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f ed-1.18.tar.lz > # Locally calculated > -sha256 f03a12bef9dfb7281864a0dd965166d4f4ec7a66633df2bc72fa4363e57de02c COPYING > +sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING > diff --git a/package/ed/ed.mk b/package/ed/ed.mk > index 975cf3be10..645cfb7696 100644 > --- a/package/ed/ed.mk > +++ b/package/ed/ed.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -ED_VERSION = 1.17 > +ED_VERSION = 1.18 > ED_SITE = $(BR2_GNU_MIRROR)/ed > ED_SOURCE = ed-$(ED_VERSION).tar.lz > -ED_LICENSE = GPL-3.0+ > +ED_LICENSE = GPL-2.0+ > ED_LICENSE_FILES = COPYING > ED_CPE_ID_VENDOR = gnu > From arnout at mind.be Mon Apr 4 17:35:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:35:40 +0200 Subject: [Buildroot] [git commit] package/libcamera-apps: fix X11 preview compile (conversion from Window to EGLNativeWindowType) Message-ID: <20220404173129.4FCAA803E2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=94b5778c82e4fdaa43ab40102648257330cbda0c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - add 002-preview-fix-egl_preview-compile-conversion-from-Wind.patch Fixes: .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ???Window??? {aka ???long unsigned int???} to ???EGLNativeWindowType??? {aka ???fbdev_window*???} [-fpermissive] 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); | ^~~~~~~ | | | Window {aka long unsigned int} Signed-off-by: Peter Seiderer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-egl_preview-compile-conversion-from-Wind.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch new file mode 100644 index 0000000000..cc9069aa86 --- /dev/null +++ b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch @@ -0,0 +1,39 @@ +From 60715769cd5368a63b2bdc2e6d6bb6df0030a54d Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 31 Mar 2022 21:44:22 +0200 +Subject: [PATCH] preview: fix egl_preview compile (conversion from Window to + EGLNativeWindowType) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ???Window??? {aka ???long unsigned int???} to ???EGLNativeWindowType??? {aka ???fbdev_window*???} [-fpermissive] + 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); + | ^~~~~~~ + | | + | Window {aka long unsigned int} + +[Upstream: https://github.com/raspberrypi/libcamera-apps/pull/283] +Signed-off-by: Peter Seiderer +--- + preview/egl_preview.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/preview/egl_preview.cpp b/preview/egl_preview.cpp +index b936e57..593583d 100644 +--- a/preview/egl_preview.cpp ++++ b/preview/egl_preview.cpp +@@ -326,7 +326,7 @@ void EglPreview::makeWindow(char const *name) + wm_delete_window_ = XInternAtom(display_, "WM_DELETE_WINDOW", False); + XSetWMProtocols(display_, window_, &wm_delete_window_, 1); + +- egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); ++ egl_surface_ = eglCreateWindowSurface(egl_display_, config, reinterpret_cast(window_), NULL); + if (!egl_surface_) + throw std::runtime_error("eglCreateWindowSurface failed"); + +-- +2.35.1 + From arnout at mind.be Mon Apr 4 17:35:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:35:40 +0200 Subject: [Buildroot] [git commit] package/dav1d: bump version to 1.0.0 Message-ID: <20220404173129.4623E803CB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=373f32947648240225dec58b55658f47461377b9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dav1d/dav1d.hash | 4 ++-- package/dav1d/dav1d.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/dav1d/dav1d.hash b/package/dav1d/dav1d.hash index 5e838b0951..35d753fc27 100644 --- a/package/dav1d/dav1d.hash +++ b/package/dav1d/dav1d.hash @@ -1,4 +1,4 @@ -# From http://download.videolan.org/pub/videolan/dav1d/0.9.2/dav1d-0.9.2.tar.xz.sha256 -sha256 e3235ab6c43c0135b0db1d131e1923fad4c84db9d85683e30b91b33a52d61c71 dav1d-0.9.2.tar.xz +# From http://download.videolan.org/pub/videolan/dav1d/1.0.0/dav1d-1.0.0.tar.xz.sha256 +sha256 51737db7e4897e599684f873a4725176dd3c779e639411d7c4fce134bb5ebb82 dav1d-1.0.0.tar.xz # Locally computed sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk index ecc4cc55c3..2d42cdcb67 100644 --- a/package/dav1d/dav1d.mk +++ b/package/dav1d/dav1d.mk @@ -4,7 +4,7 @@ # ################################################################################ -DAV1D_VERSION = 0.9.2 +DAV1D_VERSION = 1.0.0 DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz DAV1D_SITE = http://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) DAV1D_LICENSE = BSD-2-Clause From arnout at mind.be Mon Apr 4 17:35:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:35:40 +0200 Subject: [Buildroot] [git commit] package/ed: bump to version 1.18 Message-ID: <20220404173129.65192803CB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4e4739ca5a9315ae3be20bb11c75d6d88e32b2ff branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master license has been switched back to GPL-2.0+: https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00002.html https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00000.html Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ed/ed.hash | 6 +++--- package/ed/ed.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/ed/ed.hash b/package/ed/ed.hash index 90d467d1f3..36f9b9c1e4 100644 --- a/package/ed/ed.hash +++ b/package/ed/ed.hash @@ -1,4 +1,4 @@ -# From https://lists.gnu.org/archive/html/bug-ed/2021-01/msg00000.html -sha256 71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54 ed-1.17.tar.lz +# From https://lists.gnu.org/archive/html/bug-ed/2022-02/msg00000.html +sha256 aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f ed-1.18.tar.lz # Locally calculated -sha256 f03a12bef9dfb7281864a0dd965166d4f4ec7a66633df2bc72fa4363e57de02c COPYING +sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING diff --git a/package/ed/ed.mk b/package/ed/ed.mk index 975cf3be10..645cfb7696 100644 --- a/package/ed/ed.mk +++ b/package/ed/ed.mk @@ -4,10 +4,10 @@ # ################################################################################ -ED_VERSION = 1.17 +ED_VERSION = 1.18 ED_SITE = $(BR2_GNU_MIRROR)/ed ED_SOURCE = ed-$(ED_VERSION).tar.lz -ED_LICENSE = GPL-3.0+ +ED_LICENSE = GPL-2.0+ ED_LICENSE_FILES = COPYING ED_CPE_ID_VENDOR = gnu From arnout at mind.be Mon Apr 4 17:35:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:35:40 +0200 Subject: [Buildroot] [git commit] package/apr: fix CVE-2021-35940 Message-ID: <20220404173129.5B156803B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=10d80eb39aed471b6c47400e1b155c94a61d8e61 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/apr/0004-apr-1.7.0-CVE-2021-35940.patch | 57 +++++++++++++++++++++++++ package/apr/apr.mk | 3 ++ 2 files changed, 60 insertions(+) diff --git a/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch new file mode 100644 index 0000000000..b065a3330a --- /dev/null +++ b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch @@ -0,0 +1,57 @@ + +SECURITY: CVE-2021-35940 (cve.mitre.org) + +Restore fix for CVE-2017-12613 which was missing in 1.7.x branch, though +was addressed in 1.6.x in 1.6.3 and later via r1807976. + +The fix was merged back to 1.7.x in r1891198. + +Since this was a regression in 1.7.0, a new CVE name has been assigned +to track this, CVE-2021-35940. + +Thanks to Iveta Cesalova for reporting this issue. + +https://svn.apache.org/viewvc?view=revision&revision=1891198 + +[Retrieved from: +https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch] +Signed-off-by: Fabrice Fontaine + +Index: ./time/unix/time.c +=================================================================== +--- ./time/unix/time.c (revision 1891197) ++++ ./time/unix/time.c (revision 1891198) +@@ -142,6 +142,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) +Index: ./time/win32/time.c +=================================================================== +--- ./time/win32/time.c (revision 1891197) ++++ ./time/win32/time.c (revision 1891198) +@@ -54,6 +54,9 @@ + static const int dayoffset[12] = + {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; + ++ if (tm->wMonth < 1 || tm->wMonth > 12) ++ return APR_EBADDATE; ++ + /* Note; the caller is responsible for filling in detailed tm_usec, + * tm_gmtoff and tm_isdst data when applicable. + */ +@@ -228,6 +231,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) diff --git a/package/apr/apr.mk b/package/apr/apr.mk index 7ff2c007b4..77217ccbb3 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -16,6 +16,9 @@ APR_INSTALL_STAGING = YES # so we need to autoreconf: APR_AUTORECONF = YES +# 0004-apr-1.7.0-CVE-2021-35940.patch +APR_IGNORE_CVES += CVE-2021-35940 + # avoid apr_hints.m4 by setting apr_preload_done=yes and set # the needed CFLAGS on our own (avoids '-D_REENTRANT' in case # not supported by toolchain and subsequent configure failure) From arnout at mind.be Mon Apr 4 17:27:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:27:00 +0200 Subject: [Buildroot] [git commit] package/libabseil-cpp: fix uclibc-ng build Message-ID: <20220404173129.3C601803B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1a3de362aea62db32d02533d84fcf61cf0389152 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with uclibc-ng and grpc raised on arm and ppc: /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' Strangely enough it seems there is only one autobuilder failure despite the fact that libabseil-cpp is unconditionally using getauxval since its addition in commit 93568440eda120b12bcbfe267af8f0182484c3b6: https://github.com/abseil/abseil-cpp/blob/20200225/absl/random/internal/randen_detect.cc Perhaps this build failure is an unexpected side effect of commit 8251d8c2559b25f11684776fc343059cf100657d Fixes: - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0002-fix-build-with-uclibc-ng.patch | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch new file mode 100644 index 0000000000..0797d8e51b --- /dev/null +++ b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch @@ -0,0 +1,62 @@ +From b9ad9bbfed92199a1a58504306d026cd2597539e Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 30 Mar 2022 21:56:20 +0200 +Subject: [PATCH] Fix build with uclibc-ng (#1145) + +uclibc-ng doesn't provide getauxval which results in the following build +failure on arm or ppc with any user of abseil-cpp such as grpc: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' + +To fix this build failure, check that __UCLIBC__ is not defined before +using getauxval (as Babel is not able to check function availability) + +Fixes: + - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/abseil/abseil-cpp/commit/b9ad9bbfed92199a1a58504306d026cd2597539e] +--- + absl/debugging/internal/vdso_support.cc | 2 +- + absl/random/internal/randen_detect.cc | 7 ++++++- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/absl/debugging/internal/vdso_support.cc b/absl/debugging/internal/vdso_support.cc +index c655cf452..e63ac4a3b 100644 +--- a/absl/debugging/internal/vdso_support.cc ++++ b/absl/debugging/internal/vdso_support.cc +@@ -33,7 +33,7 @@ + #endif + #include + +-#if defined(__GLIBC__) && \ ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ + (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) + #define ABSL_HAVE_GETAUXVAL + #endif +diff --git a/absl/random/internal/randen_detect.cc b/absl/random/internal/randen_detect.cc +index 9bb58fc68..6dababa35 100644 +--- a/absl/random/internal/randen_detect.cc ++++ b/absl/random/internal/randen_detect.cc +@@ -24,6 +24,11 @@ + + #include "absl/random/internal/platform.h" + ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ ++ (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) ++#define ABSL_HAVE_GETAUXVAL ++#endif ++ + #if defined(ABSL_ARCH_X86_64) + #define ABSL_INTERNAL_USE_X86_CPUID + #elif defined(ABSL_ARCH_PPC) || defined(ABSL_ARCH_ARM) || \ +@@ -31,7 +36,7 @@ + #if defined(__ANDROID__) + #define ABSL_INTERNAL_USE_ANDROID_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL +-#elif defined(__linux__) ++#elif defined(__linux__) && defined(ABSL_HAVE_GETAUXVAL) + #define ABSL_INTERNAL_USE_LINUX_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL + #endif From peter at korsgaard.com Mon Apr 4 17:48:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 19:48:06 +0200 Subject: [Buildroot] [PATCH 1/3] package/htop: fix sensors option In-Reply-To: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 13:04:53 +0200") References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> Message-ID: <874k38zqnd.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used > --{with,without}-sensors instead of --{dis,en}able-sensors > Signed-off-by: Fabrice Fontaine This is in fact because htop upstream has changed the option name in 3.1.x, so it was correct back in 811846. Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 17:47:09 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 19:47:09 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/htop: fix sensors option Message-ID: <20220404173850.9E22C8079C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e67eaafd6fa96a6f1e8fe32edd8580613cbdf1cb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Commit 811846df48745d58d96f6c0fbab0dec5f17d614b wrongly used --{with,without}-sensors instead of --{dis,en}able-sensors Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit a8289875b69e6377218ca1ab7712b932c24302c5) Signed-off-by: Peter Korsgaard --- package/htop/htop.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 7caa47ce13..210518da2f 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities endif ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -HTOP_CONF_OPTS += --with-sensors +HTOP_CONF_OPTS += --enable-sensors HTOP_DEPENDENCIES += lm-sensors else -HTOP_CONF_OPTS += --without-sensors +HTOP_CONF_OPTS += --disable-sensors endif ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) From peter at korsgaard.com Mon Apr 4 17:48:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 19:48:44 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/htop: fix hwloc static build Message-ID: <20220404173947.93055807CF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4bba8d0b64d5dc70aa3e5bb6eec7a6b87d4930b4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following static build failure with hwloc raised since commit c83bf9720632bcd4d438094a9fc30feff69fc555: checking for hwloc_get_proc_cpubind in -lhwloc... no configure: error: can not find required library libhwloc Fixes: - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit dd6c4a9929b4980b4a3b4dc3232cd23882dd3789) Signed-off-by: Peter Korsgaard --- ...-configure.ac-fix-static-build-with-hwloc.patch | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch new file mode 100644 index 0000000000..0ac79766c5 --- /dev/null +++ b/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch @@ -0,0 +1,54 @@ +From 4ccad4604586c921b4ad831b254496c2cdece9fc Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 17:27:01 +0200 +Subject: [PATCH] configure.ac: fix static build with hwloc + +Retrieve hwloc dependencies through pkg-config to avoid the following +static build failure: + +checking for hwloc_get_proc_cpubind in -lhwloc... no +configure: error: can not find required library libhwloc + +This build failure is raised because without pkg-config, hwloc +dependencies such as libxml2 are not retrieved: + +configure:8999: checking for hwloc_get_proc_cpubind in -lhwloc +configure:9022: /home/autobuild/autobuild/instance-0/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o conftest -D_GNU_SOURCE -I/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lhwloc -llzma -L/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lncurses -lm >&5 +/home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib/libhwloc.a(topology-xml-libxml.o): in function `hwloc_libxml_free_buffer': +topology-xml-libxml.c:(.text+0x6a): undefined reference to `xmlFree' + +Fixes: + - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/htop-dev/htop/commit/4ccad4604586c921b4ad831b254496c2cdece9fc] +--- + configure.ac | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4ecac1ecf..6bb7eb69f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -456,8 +456,18 @@ case "$enable_hwloc" in + no) + ;; + yes) +- AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) +- AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ m4_ifdef([PKG_PROG_PKG_CONFIG], [ ++ PKG_PROG_PKG_CONFIG() ++ PKG_CHECK_MODULES(HWLOC, hwloc, [ ++ CFLAGS="$CFLAGS $HWLOC_CFLAGS" LIBS="$LIBS $HWLOC_LIBS" ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) + ;; + *) + AC_MSG_ERROR([bad value '$enable_hwloc' for --enable-hwloc]) From peter at korsgaard.com Mon Apr 4 17:49:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 19:49:18 +0200 Subject: [Buildroot] [PATCH 3/3] package/htop: fix hwloc static build In-Reply-To: <20220403110455.2875846-3-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 13:04:55 +0200") References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> <20220403110455.2875846-3-fontaine.fabrice@gmail.com> Message-ID: <87zgl0yc0x.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following static build failure with hwloc raised since commit > c83bf9720632bcd4d438094a9fc30feff69fc555: > checking for hwloc_get_proc_cpubind in -lhwloc... no > configure: error: can not find required library libhwloc > Fixes: > - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 17:51:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 19:51:11 +0200 Subject: [Buildroot] [PATCH 2/3] package/htop: use official tarball In-Reply-To: <20220403110455.2875846-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 13:04:54 +0200") References: <20220403110455.2875846-1-fontaine.fabrice@gmail.com> <20220403110455.2875846-2-fontaine.fabrice@gmail.com> Message-ID: <87v8voybxs.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 17:50:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 19:50:59 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/htop: use official tarball Message-ID: <20220404174212.1309C80E61@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2e088c7aca10578157fd175f216319c286541dea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c49b46e9cc90e4c974225413bde15fdeb5de446c) Signed-off-by: Peter Korsgaard --- package/htop/htop.hash | 4 +++- package/htop/htop.mk | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/htop/htop.hash b/package/htop/htop.hash index dffe5ca1ad..d7c39be4d0 100644 --- a/package/htop/htop.hash +++ b/package/htop/htop.hash @@ -1,3 +1,5 @@ +# From https://github.com/htop-dev/htop/releases/download/3.1.2/htop-3.1.2.tar.xz.sha256 +sha256 884bce5b58cb113127860b9e368609019e92416a81550fdf0752052f3a64b388 htop-3.1.2.tar.xz + # Locally calculated -sha256 fe9559637c8f21f5fd531a4c072048a404173806acbdad1359c6b82fd87aa001 htop-3.1.2.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/htop/htop.mk b/package/htop/htop.mk index 210518da2f..1e7b171a17 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -5,7 +5,8 @@ ################################################################################ HTOP_VERSION = 3.1.2 -HTOP_SITE = $(call github,htop-dev,htop,$(HTOP_VERSION)) +HTOP_SOURCE = htop-$(HTOP_VERSION).tar.xz +HTOP_SITE = https://github.com/htop-dev/htop/releases/download/$(HTOP_VERSION) HTOP_DEPENDENCIES = ncurses HTOP_AUTORECONF = YES # Prevent htop build system from searching the host paths From arnout at mind.be Mon Apr 4 17:58:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 19:58:36 +0200 Subject: [Buildroot] [PATCH v1 1/1] configs/zynq_qmtech_defconfig: move post-image.sh to board/qmtech/zynq In-Reply-To: <20220331192030.3871720-1-neal.frager@amd.com> References: <20220331192030.3871720-1-neal.frager@amd.com> Message-ID: <18ef2499-bc59-7403-84d9-2cee63998ef7@mind.be> On 31/03/2022 21:20, Neal Frager via buildroot wrote: > This patch creates a post-image.sh in the board/qmtech/zynq > directory, so that the zynq_qmtech_defconfig can be updated > independently from the other zynq defconfigs. Since you're not actually making any change that makes a difference between the qmtech and other zynq boards, I don't see the point. In the other mail you mention something like "because the device tree is not in mainline", but that doesn't really change anything, does it? Other then maybe the device tree having a different name, but that's already handled by the script. Instead of forking, it would be preferable to still use the same script and genimage but just make it configurable. That said, making things configurable may also unnecessarily complicate things. It's a difficult balance to make. And impossible for me to evaluate without seeing what changes need to be made to the other zynq scripts. So, for now I've marked it as Rejected. Feel free to re-post as part of a series that also updates the zynq defconfigs, or replace it with a patch that makes board/zynq/genimage.cfg configurable in the way it needs to be. Regards, Arnout > > Signed-off-by: Neal Frager > --- > board/qmtech/zynq/genimage.cfg | 27 +++++++++++++++++++++++++++ > board/qmtech/zynq/post-image.sh | 13 +++++++++++++ > configs/zynq_qmtech_defconfig | 2 +- > 3 files changed, 41 insertions(+), 1 deletion(-) > create mode 100644 board/qmtech/zynq/genimage.cfg > create mode 100755 board/qmtech/zynq/post-image.sh > > diff --git a/board/qmtech/zynq/genimage.cfg b/board/qmtech/zynq/genimage.cfg > new file mode 100644 > index 0000000000..67baca795e > --- /dev/null > +++ b/board/qmtech/zynq/genimage.cfg > @@ -0,0 +1,27 @@ > +image boot.vfat { > + vfat { > + files = { > + "boot.bin", > + "u-boot.img", > + "devicetree.dtb", > + "uImage" > + } > + > + file uramdisk.image.gz { > + image = "rootfs.cpio.uboot" > + } > + } > + > + size = 32M > +} > + > +image sdcard.img { > + hdimage { > + } > + > + partition boot { > + partition-type = 0xC > + bootable = "true" > + image = "boot.vfat" > + } > +} > diff --git a/board/qmtech/zynq/post-image.sh b/board/qmtech/zynq/post-image.sh > new file mode 100755 > index 0000000000..54c5493b4e > --- /dev/null > +++ b/board/qmtech/zynq/post-image.sh > @@ -0,0 +1,13 @@ > +#!/bin/sh > + > +# By default U-Boot loads DTB from a file named "devicetree.dtb", so > +# let's use a symlink with that name that points to the *first* > +# devicetree listed in the config. > + > +FIRST_DT=$(sed -n \ > + 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \ > + ${BR2_CONFIG}) > + > +[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/devicetree.dtb > + > +support/scripts/genimage.sh -c board/qmtech/zynq/genimage.cfg > diff --git a/configs/zynq_qmtech_defconfig b/configs/zynq_qmtech_defconfig > index 4db3f68b1f..dc3b22c876 100644 > --- a/configs/zynq_qmtech_defconfig > +++ b/configs/zynq_qmtech_defconfig > @@ -5,7 +5,7 @@ BR2_ARM_ENABLE_VFP=y > BR2_GLOBAL_PATCH_DIR="board/qmtech/zynq/patches" > BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y > BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" > -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qmtech/zynq/post-image.sh" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xilinx-v2019.2.01)/linux-xilinx-v2019.2.01.tar.gz" From arnout at mind.be Mon Apr 4 18:02:01 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:02:01 +0200 Subject: [Buildroot] [PATCH] package/libostree: bump to version 2022.2 In-Reply-To: <20220401083100.64722-1-marcus.folkesson@gmail.com> References: <20220401083100.64722-1-marcus.folkesson@gmail.com> Message-ID: <94227ab6-9e4a-f728-adb8-ca75eca8975a@mind.be> On 01/04/2022 10:31, Marcus Folkesson wrote: > Signed-off-by: Marcus Folkesson Applied to master, thanks. Regards, Arnout > --- > package/libostree/libostree.hash | 2 +- > package/libostree/libostree.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libostree/libostree.hash b/package/libostree/libostree.hash > index 3a06340575..4c8c2c4f10 100644 > --- a/package/libostree/libostree.hash > +++ b/package/libostree/libostree.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 43a00e7856842b8a34f6616fc2ce1ce238ef43210cca41f70e6b4b0d2a9fcad5 libostree-2022.1.tar.xz > +sha256 76e2f5b5784d8cb686e90be32fcecbb56c6c6a824e0374a1a6820b577103676b libostree-2022.2.tar.xz > sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING > diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk > index 9cbf2848c9..07e0a2aaa4 100644 > --- a/package/libostree/libostree.mk > +++ b/package/libostree/libostree.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBOSTREE_VERSION = 2022.1 > +LIBOSTREE_VERSION = 2022.2 > LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz > LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION) > From arnout at mind.be Mon Apr 4 18:02:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:02:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl In-Reply-To: <20220401165722.540239-1-fontaine.fabrice@gmail.com> References: <20220401165722.540239-1-fontaine.fabrice@gmail.com> Message-ID: <68302099-f74f-4ba0-0db4-92102f2cce94@mind.be> On 01/04/2022 18:57, Fabrice Fontaine wrote: > Fix the following build failure with libdbi-drivers raised since bump to > version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: > > configure: error: Package requirements (libpq) were not met: > > Package 'libssl', required by 'libpq', not found > Package 'libcrypto', required by 'libpq', not found > > Fixes: > - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...libpq-Fix-pkg-config-without-OpenSSL.patch | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch > > diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch > new file mode 100644 > index 0000000000..90b0577a20 > --- /dev/null > +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch > @@ -0,0 +1,34 @@ > +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 > +From: Peter Eisentraut > +Date: Fri, 1 Apr 2022 17:12:56 +0200 > +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL > + > +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is > +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. > + > +Author: Fabrice Fontaine > +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com > +[Retrieved from: > +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] > +Signed-off-by: Fabrice Fontaine > +--- > + src/interfaces/libpq/Makefile | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile > +index 89bf5e0126..b5fd72a4ac 100644 > +--- a/src/interfaces/libpq/Makefile > ++++ b/src/interfaces/libpq/Makefile > +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport > + > + SHLIB_EXPORTS = exports.txt > + > ++ifeq ($(with_ssl),openssl) > + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto > ++endif > + > + all: all-lib libpq-refs-stamp > + > +-- > +2.30.2 > + From arnout at mind.be Mon Apr 4 18:02:52 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:02:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: fix build without pod2man In-Reply-To: <20220401170255.540939-1-fontaine.fabrice@gmail.com> References: <20220401170255.540939-1-fontaine.fabrice@gmail.com> Message-ID: <7ea28df0-42ef-18f5-cc66-de0e9c31f5f8@mind.be> On 01/04/2022 19:02, Fabrice Fontaine wrote: > udpcast unconditionally build manpages which will raise the following > build failure without pod2man since at least bump to version 20200328 in > commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: > > sh: line 1: pod2man: command not found > > To fix this issue, rework how udpcast is built and installed to always > build and install the sender or the receiver and never build the > manpages. As a side effect, this will also avoid to install the unneeded > rateGovernor.h > > Fixes: > - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/udpcast/Config.in | 2 ++ > package/udpcast/udpcast.mk | 24 ++++++++---------------- > 2 files changed, 10 insertions(+), 16 deletions(-) > > diff --git a/package/udpcast/Config.in b/package/udpcast/Config.in > index ef94b30a99..cc38c6e57c 100644 > --- a/package/udpcast/Config.in > +++ b/package/udpcast/Config.in > @@ -6,6 +6,8 @@ config BR2_PACKAGE_UDPCAST > bool "udpcast" > depends on BR2_TOOLCHAIN_HAS_THREADS > depends on BR2_USE_MMU # fork() > + select BR2_PACKAGE_UDPCAST_SENDER \ > + if !BR2_PACKAGE_UDPCAST_RECEIVER > help > A multicast protocol implementation which happens to > be very handy for imaging drives over the network. > diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk > index 34ebddd2d5..4c151bb41f 100644 > --- a/package/udpcast/udpcast.mk > +++ b/package/udpcast/udpcast.mk > @@ -9,23 +9,15 @@ UDPCAST_SITE = http://www.udpcast.linux.lu/download > UDPCAST_DEPENDENCIES = host-m4 > UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ > UDPCAST_LICENSE_FILES = COPYING > +UDPCAST_TARGETS = \ > + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ > + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) > +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) > > -define UDPCAST_REMOVE_UDP_SENDER > - rm -f $(TARGET_DIR)/usr/sbin/udp-sender > - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 > +define UDPCAST_INSTALL_TARGET_CMDS > + $(foreach f,$(UDPCAST_TARGETS),\ > + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) > + ) > endef > > -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) > -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER > -endif > - > -define UDPCAST_REMOVE_UDP_RECEIVER > - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver > - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 > -endef > - > -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) > -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER > -endif > - > $(eval $(autotools-package)) From arnout at mind.be Mon Apr 4 18:03:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:03:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap-ng: bump to version 0.8.3 In-Reply-To: <20220401204411.942428-1-fontaine.fabrice@gmail.com> References: <20220401204411.942428-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 22:44, Fabrice Fontaine wrote: > https://github.com/stevegrubb/libcap-ng/blob/v0.8.3/ChangeLog > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libcap-ng/libcap-ng.hash | 2 +- > package/libcap-ng/libcap-ng.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libcap-ng/libcap-ng.hash b/package/libcap-ng/libcap-ng.hash > index f775ae6fc9..d4590dd739 100644 > --- a/package/libcap-ng/libcap-ng.hash > +++ b/package/libcap-ng/libcap-ng.hash > @@ -1,4 +1,4 @@ > # Locally calculated > -sha256 52c083b77c2b0d8449dee141f9c3eba76e6d4c5ad44ef05df25891126cb85ae9 libcap-ng-0.8.2.tar.gz > +sha256 bed6f6848e22bb2f83b5f764b2aef0ed393054e803a8e3a8711cb2a39e6b492d libcap-ng-0.8.3.tar.gz > sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING > sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB > diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk > index 4fb0cf4777..46f72c702e 100644 > --- a/package/libcap-ng/libcap-ng.mk > +++ b/package/libcap-ng/libcap-ng.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBCAP_NG_VERSION = 0.8.2 > +LIBCAP_NG_VERSION = 0.8.3 > LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng > LIBCAP_NG_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) > LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB From arnout at mind.be Mon Apr 4 17:51:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:51:19 +0200 Subject: [Buildroot] [git commit] package/libcap-ng: bump to version 0.8.3 Message-ID: <20220404175353.7A81D8123D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3d5cb653f58041dddb8063251c00d0c57c9ab50d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/stevegrubb/libcap-ng/blob/v0.8.3/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcap-ng/libcap-ng.hash | 2 +- package/libcap-ng/libcap-ng.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap-ng/libcap-ng.hash b/package/libcap-ng/libcap-ng.hash index f775ae6fc9..d4590dd739 100644 --- a/package/libcap-ng/libcap-ng.hash +++ b/package/libcap-ng/libcap-ng.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 52c083b77c2b0d8449dee141f9c3eba76e6d4c5ad44ef05df25891126cb85ae9 libcap-ng-0.8.2.tar.gz +sha256 bed6f6848e22bb2f83b5f764b2aef0ed393054e803a8e3a8711cb2a39e6b492d libcap-ng-0.8.3.tar.gz sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk index 4fb0cf4777..46f72c702e 100644 --- a/package/libcap-ng/libcap-ng.mk +++ b/package/libcap-ng/libcap-ng.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_NG_VERSION = 0.8.2 +LIBCAP_NG_VERSION = 0.8.3 LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng LIBCAP_NG_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB From arnout at mind.be Mon Apr 4 17:51:18 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:51:18 +0200 Subject: [Buildroot] [git commit] package/libostree: bump to version 2022.2 Message-ID: <20220404175353.5618E8123D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e4b62f63084907b5dd6079b2c5360016a4eb6d3c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Marcus Folkesson Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libostree/libostree.hash | 2 +- package/libostree/libostree.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libostree/libostree.hash b/package/libostree/libostree.hash index 3a06340575..4c8c2c4f10 100644 --- a/package/libostree/libostree.hash +++ b/package/libostree/libostree.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 43a00e7856842b8a34f6616fc2ce1ce238ef43210cca41f70e6b4b0d2a9fcad5 libostree-2022.1.tar.xz +sha256 76e2f5b5784d8cb686e90be32fcecbb56c6c6a824e0374a1a6820b577103676b libostree-2022.2.tar.xz sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk index 9cbf2848c9..07e0a2aaa4 100644 --- a/package/libostree/libostree.mk +++ b/package/libostree/libostree.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOSTREE_VERSION = 2022.1 +LIBOSTREE_VERSION = 2022.2 LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION) From arnout at mind.be Mon Apr 4 17:51:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:51:19 +0200 Subject: [Buildroot] [git commit] package/udpcast: fix build without pod2man Message-ID: <20220404175353.6E26B81250@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b49e3da1abf3a6c8affac08089311fc6590f54d0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master udpcast unconditionally build manpages which will raise the following build failure without pod2man since at least bump to version 20200328 in commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: sh: line 1: pod2man: command not found To fix this issue, rework how udpcast is built and installed to always build and install the sender or the receiver and never build the manpages. As a side effect, this will also avoid to install the unneeded rateGovernor.h Fixes: - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/udpcast/Config.in | 2 ++ package/udpcast/udpcast.mk | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/package/udpcast/Config.in b/package/udpcast/Config.in index ef94b30a99..cc38c6e57c 100644 --- a/package/udpcast/Config.in +++ b/package/udpcast/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_UDPCAST bool "udpcast" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UDPCAST_SENDER \ + if !BR2_PACKAGE_UDPCAST_RECEIVER help A multicast protocol implementation which happens to be very handy for imaging drives over the network. diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 34ebddd2d5..4c151bb41f 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -9,23 +9,15 @@ UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ UDPCAST_LICENSE_FILES = COPYING +UDPCAST_TARGETS = \ + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) -define UDPCAST_REMOVE_UDP_SENDER - rm -f $(TARGET_DIR)/usr/sbin/udp-sender - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 +define UDPCAST_INSTALL_TARGET_CMDS + $(foreach f,$(UDPCAST_TARGETS),\ + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) + ) endef -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER -endif - -define UDPCAST_REMOVE_UDP_RECEIVER - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 -endef - -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER -endif - $(eval $(autotools-package)) From arnout at mind.be Mon Apr 4 17:51:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 19:51:19 +0200 Subject: [Buildroot] [git commit] package/postgresql: fix pkg-config without openssl Message-ID: <20220404175353.62E508124D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e3b8d098e4809f4cf20d88cce3d00479da25bfa6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libdbi-drivers raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: configure: error: Package requirements (libpq) were not met: Package 'libssl', required by 'libpq', not found Package 'libcrypto', required by 'libpq', not found Fixes: - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...0001-libpq-Fix-pkg-config-without-OpenSSL.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch new file mode 100644 index 0000000000..90b0577a20 --- /dev/null +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch @@ -0,0 +1,34 @@ +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 +From: Peter Eisentraut +Date: Fri, 1 Apr 2022 17:12:56 +0200 +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL + +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. + +Author: Fabrice Fontaine +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com +[Retrieved from: +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] +Signed-off-by: Fabrice Fontaine +--- + src/interfaces/libpq/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile +index 89bf5e0126..b5fd72a4ac 100644 +--- a/src/interfaces/libpq/Makefile ++++ b/src/interfaces/libpq/Makefile +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport + + SHLIB_EXPORTS = exports.txt + ++ifeq ($(with_ssl),openssl) + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto ++endif + + all: all-lib libpq-refs-stamp + +-- +2.30.2 + From arnout at mind.be Mon Apr 4 18:12:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:12:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/liblinear: bump to version 2.44 In-Reply-To: <20220401210055.946614-1-fontaine.fabrice@gmail.com> References: <20220401210055.946614-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 23:00, Fabrice Fontaine wrote: > - Update hash of COPYRIGHT (date updated: > https://github.com/cjlin1/liblinear/commit/3d2fdc801ce45f470b1b5ed1945cb63126358485) > - Update LIBLINEAR_INSTALL_SHARED due to > https://github.com/cjlin1/liblinear/commit/42f423c023e45879c8750b468e0afe74931afe3f > - Some minor bugs are fixed: > https://github.com/cjlin1/liblinear/compare/v243...v244 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/liblinear/liblinear.hash | 4 ++-- > package/liblinear/liblinear.mk | 6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/liblinear/liblinear.hash b/package/liblinear/liblinear.hash > index a714b8bc4e..27aa4e3e87 100644 > --- a/package/liblinear/liblinear.hash > +++ b/package/liblinear/liblinear.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 02bad43d745e2796f39a08ac9d117770e71939ef06b1ee7afc6ab7909e304807 liblinear-2.43.tar.gz > -sha256 c5c91211a0edaa4c77e352f6b27a8f9c6768afe27d48176d6094905c534eacb3 COPYRIGHT > +sha256 45572b99d4eeffc3e8ad7b72c27370be867edf3523c396d8b278a2c873bfbb5c liblinear-2.44.tar.gz > +sha256 d49b7898fd9ea7c29f0478e8c409ee7c0f621533d5eca7b7912e80391dc564e3 COPYRIGHT > diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk > index 1ad734c756..c100ccc6c5 100644 > --- a/package/liblinear/liblinear.mk > +++ b/package/liblinear/liblinear.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBLINEAR_VERSION = 2.43 > +LIBLINEAR_VERSION = 2.44 > LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear > LIBLINEAR_LICENSE = BSD-3-Clause > LIBLINEAR_LICENSE_FILES = COPYRIGHT > @@ -14,8 +14,8 @@ LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) > ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) > # $1: destination directory > define LIBLINEAR_INSTALL_SHARED > - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.4 $(1)/usr/lib/liblinear.so.4 > - ln -sf liblinear.so.4 $(1)/usr/lib/liblinear.so > + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.5 $(1)/usr/lib/liblinear.so.5 > + ln -sf liblinear.so.5 $(1)/usr/lib/liblinear.so > endef > LIBLINEAR_CFLAGS += -fPIC > endif From arnout at mind.be Mon Apr 4 18:13:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:13:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgeotiff: bump to version 1.7.1 In-Reply-To: <20220401211005.1052795-1-fontaine.fabrice@gmail.com> References: <20220401211005.1052795-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 23:10, Fabrice Fontaine wrote: > Update license, "X style license" means MIT: > https://github.com/OSGeo/libgeotiff/commit/5d6619c1168845c5bd77686f01e197a82854cbf1) > > https://github.com/OSGeo/libgeotiff/releases/tag/1.7.1 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libgeotiff/libgeotiff.hash | 4 ++-- > package/libgeotiff/libgeotiff.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/libgeotiff/libgeotiff.hash b/package/libgeotiff/libgeotiff.hash > index ec9fccb492..883199501d 100644 > --- a/package/libgeotiff/libgeotiff.hash > +++ b/package/libgeotiff/libgeotiff.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e libgeotiff-1.7.0.tar.gz > -sha256 6a22340b8293c50a34ce8e95589489bd3ec65bcb8b93e61cbda3daaafe498375 LICENSE > +sha256 05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6 libgeotiff-1.7.1.tar.gz > +sha256 a822a731a7ac4ba7d8f18fa0dc29db2e68a5dcfc315b46e4a4c8956720d55d93 LICENSE > diff --git a/package/libgeotiff/libgeotiff.mk b/package/libgeotiff/libgeotiff.mk > index c49528565d..6ab60c93fc 100644 > --- a/package/libgeotiff/libgeotiff.mk > +++ b/package/libgeotiff/libgeotiff.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -LIBGEOTIFF_VERSION = 1.7.0 > +LIBGEOTIFF_VERSION = 1.7.1 > LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff > -LIBGEOTIFF_LICENSE = X11-style, public domain > +LIBGEOTIFF_LICENSE = MIT, public domain > LIBGEOTIFF_LICENSE_FILES = LICENSE > LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf > LIBGEOTIFF_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 4 18:13:24 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:13:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap: bump to version 2.63 In-Reply-To: <20220401211722.1057825-1-fontaine.fabrice@gmail.com> References: <20220401211722.1057825-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 23:17, Fabrice Fontaine wrote: > https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.6tsfgutj5dhm > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libcap/libcap.hash | 2 +- > package/libcap/libcap.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash > index 396e592c5b..2cdf92bbc1 100644 > --- a/package/libcap/libcap.hash > +++ b/package/libcap/libcap.hash > @@ -1,5 +1,5 @@ > # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc > -sha256 190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2 libcap-2.62.tar.xz > +sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz > > # Hash for license file: > sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License > diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk > index 1207995333..ed689ce503 100644 > --- a/package/libcap/libcap.mk > +++ b/package/libcap/libcap.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBCAP_VERSION = 2.62 > +LIBCAP_VERSION = 2.63 > LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 > LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz > LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause From arnout at mind.be Mon Apr 4 18:13:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:13:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnids: drop $(LIBNIDS_VERSION).tar.gz In-Reply-To: <20220401212606.1059177-1-fontaine.fabrice@gmail.com> References: <20220401212606.1059177-1-fontaine.fabrice@gmail.com> Message-ID: On 01/04/2022 23:26, Fabrice Fontaine wrote: > Drop unneeded $(LIBNIDS_VERSION).tar.gz added by commit > f8aefa8807ecaf219b0dc7988e6bd14c70c9c761 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libnids/libnids.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libnids/libnids.mk b/package/libnids/libnids.mk > index 57e68654dc..40620eca57 100644 > --- a/package/libnids/libnids.mk > +++ b/package/libnids/libnids.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > LIBNIDS_VERSION = 1.26 > -LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION),$(LIBNIDS_VERSION).tar.gz) > +LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION)) > LIBNIDS_LICENSE = GPL-2.0 > LIBNIDS_LICENSE_FILES = COPYING > LIBNIDS_CPE_ID_VENDOR = libnids_project From arnout at mind.be Mon Apr 4 18:03:28 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:03:28 +0200 Subject: [Buildroot] [git commit] package/libgeotiff: bump to version 1.7.1 Message-ID: <20220404180428.8541881238@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a456a7d898977366ce48974ea0c312f1dd8ac748 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update license, "X style license" means MIT: https://github.com/OSGeo/libgeotiff/commit/5d6619c1168845c5bd77686f01e197a82854cbf1) https://github.com/OSGeo/libgeotiff/releases/tag/1.7.1 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libgeotiff/libgeotiff.hash | 4 ++-- package/libgeotiff/libgeotiff.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libgeotiff/libgeotiff.hash b/package/libgeotiff/libgeotiff.hash index ec9fccb492..883199501d 100644 --- a/package/libgeotiff/libgeotiff.hash +++ b/package/libgeotiff/libgeotiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e libgeotiff-1.7.0.tar.gz -sha256 6a22340b8293c50a34ce8e95589489bd3ec65bcb8b93e61cbda3daaafe498375 LICENSE +sha256 05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6 libgeotiff-1.7.1.tar.gz +sha256 a822a731a7ac4ba7d8f18fa0dc29db2e68a5dcfc315b46e4a4c8956720d55d93 LICENSE diff --git a/package/libgeotiff/libgeotiff.mk b/package/libgeotiff/libgeotiff.mk index c49528565d..6ab60c93fc 100644 --- a/package/libgeotiff/libgeotiff.mk +++ b/package/libgeotiff/libgeotiff.mk @@ -4,9 +4,9 @@ # ################################################################################ -LIBGEOTIFF_VERSION = 1.7.0 +LIBGEOTIFF_VERSION = 1.7.1 LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff -LIBGEOTIFF_LICENSE = X11-style, public domain +LIBGEOTIFF_LICENSE = MIT, public domain LIBGEOTIFF_LICENSE_FILES = LICENSE LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf LIBGEOTIFF_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 4 18:03:27 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:03:27 +0200 Subject: [Buildroot] [git commit] package/liblinear: bump to version 2.44 Message-ID: <20220404180428.792F28139D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d7b921e59ada62bee0f3c960dd50ac0838b96a70 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Update hash of COPYRIGHT (date updated: https://github.com/cjlin1/liblinear/commit/3d2fdc801ce45f470b1b5ed1945cb63126358485) - Update LIBLINEAR_INSTALL_SHARED due to https://github.com/cjlin1/liblinear/commit/42f423c023e45879c8750b468e0afe74931afe3f - Some minor bugs are fixed: https://github.com/cjlin1/liblinear/compare/v243...v244 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/liblinear/liblinear.hash | 4 ++-- package/liblinear/liblinear.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/liblinear/liblinear.hash b/package/liblinear/liblinear.hash index a714b8bc4e..27aa4e3e87 100644 --- a/package/liblinear/liblinear.hash +++ b/package/liblinear/liblinear.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 02bad43d745e2796f39a08ac9d117770e71939ef06b1ee7afc6ab7909e304807 liblinear-2.43.tar.gz -sha256 c5c91211a0edaa4c77e352f6b27a8f9c6768afe27d48176d6094905c534eacb3 COPYRIGHT +sha256 45572b99d4eeffc3e8ad7b72c27370be867edf3523c396d8b278a2c873bfbb5c liblinear-2.44.tar.gz +sha256 d49b7898fd9ea7c29f0478e8c409ee7c0f621533d5eca7b7912e80391dc564e3 COPYRIGHT diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk index 1ad734c756..c100ccc6c5 100644 --- a/package/liblinear/liblinear.mk +++ b/package/liblinear/liblinear.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBLINEAR_VERSION = 2.43 +LIBLINEAR_VERSION = 2.44 LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear LIBLINEAR_LICENSE = BSD-3-Clause LIBLINEAR_LICENSE_FILES = COPYRIGHT @@ -14,8 +14,8 @@ LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) # $1: destination directory define LIBLINEAR_INSTALL_SHARED - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.4 $(1)/usr/lib/liblinear.so.4 - ln -sf liblinear.so.4 $(1)/usr/lib/liblinear.so + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.5 $(1)/usr/lib/liblinear.so.5 + ln -sf liblinear.so.5 $(1)/usr/lib/liblinear.so endef LIBLINEAR_CFLAGS += -fPIC endif From arnout at mind.be Mon Apr 4 18:03:30 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:03:30 +0200 Subject: [Buildroot] [git commit] package/libnids: drop $(LIBNIDS_VERSION).tar.gz Message-ID: <20220404180428.9A01C813A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e67d335f0e46cf58e4040684208a1373683d8339 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop unneeded $(LIBNIDS_VERSION).tar.gz added by commit f8aefa8807ecaf219b0dc7988e6bd14c70c9c761 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libnids/libnids.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnids/libnids.mk b/package/libnids/libnids.mk index 57e68654dc..40620eca57 100644 --- a/package/libnids/libnids.mk +++ b/package/libnids/libnids.mk @@ -5,7 +5,7 @@ ################################################################################ LIBNIDS_VERSION = 1.26 -LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION),$(LIBNIDS_VERSION).tar.gz) +LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION)) LIBNIDS_LICENSE = GPL-2.0 LIBNIDS_LICENSE_FILES = COPYING LIBNIDS_CPE_ID_VENDOR = libnids_project From arnout at mind.be Mon Apr 4 18:03:29 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:03:29 +0200 Subject: [Buildroot] [git commit] package/libcap: bump to version 2.63 Message-ID: <20220404180428.8F671813A8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f982ef0b8919a15dfc5a948a86ff47bb08cb5ef branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.6tsfgutj5dhm Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcap/libcap.hash | 2 +- package/libcap/libcap.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash index 396e592c5b..2cdf92bbc1 100644 --- a/package/libcap/libcap.hash +++ b/package/libcap/libcap.hash @@ -1,5 +1,5 @@ # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2 libcap-2.62.tar.xz +sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz # Hash for license file: sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index 1207995333..ed689ce503 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_VERSION = 2.62 +LIBCAP_VERSION = 2.63 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause From arnout at mind.be Mon Apr 4 18:41:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:41:04 +0200 Subject: [Buildroot] [PATCH 1/1] toolchain/toolchain-external: ensure BR2_TOOLCHAIN_EXTERNAL_PATH is set In-Reply-To: <20220402020756.415845-1-james.hilliard1@gmail.com> References: <20220402020756.415845-1-james.hilliard1@gmail.com> Message-ID: On 02/04/2022 04:07, James Hilliard wrote: > Signed-off-by: James Hilliard > --- > toolchain/toolchain-external/pkg-toolchain-external.mk | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk > index 299b6008aa..8274ace980 100644 > --- a/toolchain/toolchain-external/pkg-toolchain-external.mk > +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk > @@ -69,6 +69,9 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) > else > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) > +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) You also need a condition on BR2_TOOLCHAIN_EXTERNAL, otherwise it will always fail with an internal toolchain. You also need a condition on BR_BUILDING, otherwise the error is printed even in situations where an invalid configuration is allowed (e.g. 'make help'). I added both to all 4 patches and applied to master, thanks. Regards, Arnout > +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) > +endif > endif > > ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) From arnout at mind.be Mon Apr 4 18:37:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:37:38 +0200 Subject: [Buildroot] [git commit] package/linux-headers: ensure tarball location is set Message-ID: <20220404183149.BD17781530@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6c5f78f8906d8b36e099ca13c257bbaba4b49374 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when required. Fixes: http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105 Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/linux-headers/linux-headers.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index a8d1c2ccaf..1102e76f0f 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -35,6 +35,11 @@ endif # BR2_KERNEL_HEADERS_AS_KERNEL # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) +ifeq ($(BR_BUILDING),y) +ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION),) +$(error No kernel headers tarball location set, check your BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION setting) +endif +endif LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))) else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y) From arnout at mind.be Mon Apr 4 18:23:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:23:16 +0200 Subject: [Buildroot] [git commit] toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set Message-ID: <20220404183149.A6BE581518@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8e91385a2cb81c5f8114354f4494230e2aebb93a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index 299b6008aa..c7f4175c9e 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,7 +69,12 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) +endif endif +endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) From arnout at mind.be Mon Apr 4 18:35:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:35:45 +0200 Subject: [Buildroot] [git commit] toolchain-external-custom: error if BR2_TOOLCHAIN_EXTERNAL_URL is not set Message-ID: <20220404183149.B22118152C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d9a9d4df2b84350f7014b33b50af120c3915f4b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../toolchain-external-custom/toolchain-external-custom.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk index c4ae6125ef..f2ec01f88c 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk +++ b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk @@ -10,6 +10,11 @@ TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERN ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) # We can't check hashes for custom downloaded toolchains BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) +ifeq ($(BR_BUILDING)$(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),) +$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting) +endif +endif endif $(eval $(toolchain-external-package)) From arnout at mind.be Mon Apr 4 18:38:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:38:48 +0200 Subject: [Buildroot] [git commit] package/linux-headers: error if headers version is not set Message-ID: <20220404183149.C907D81518@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4ff6a0587fa733ef6ebf131c095226a606c09420 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Validate that BR2_DEFAULT_KERNEL_VERSION is set when required. Fixes: http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/linux-headers/linux-headers.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index 1102e76f0f..e2a0b7a7c9 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -33,6 +33,12 @@ LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) LINUX_HEADERS_CIP = endif # BR2_KERNEL_HEADERS_AS_KERNEL +ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR_BUILDING),yy) +ifeq ($(LINUX_HEADERS_VERSION),) +$(error No kernel headers version set, check your BR2_DEFAULT_KERNEL_VERSION setting) +endif +endif + # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) ifeq ($(BR_BUILDING),y) From arnout at mind.be Mon Apr 4 18:46:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:46:39 +0200 Subject: [Buildroot] [PATCH v2,1/2] package/ipmiutil: drop dead code In-Reply-To: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> References: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> Message-ID: <6e4caa2c-f86c-8a4b-5b40-f9942e6b89de@mind.be> On 02/04/2022 10:27, Fabrice Fontaine wrote: > ipmiutil depends on dynamic library since commit > 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS > added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed > anymore > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - Keep disabling lanplus if openssl is unavailable > > package/ipmiutil/ipmiutil.mk | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk > index 4c9de26583..97a644e314 100644 > --- a/package/ipmiutil/ipmiutil.mk > +++ b/package/ipmiutil/ipmiutil.mk > @@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN > endef > IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN > > -# forgets to link against libcrypto dependencies breaking static link > -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) > +ifeq ($(BR2_PACKAGE_OPENSSL),y) > # tests against distro libcrypto so it might get a false positive when > # the openssl version is old, so force it off > # SKIP_MD2 can be used only if ALLOW_GNU is defined. From arnout at mind.be Mon Apr 4 18:46:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:46:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/quazip: bump to version 1.2 In-Reply-To: <20220402085136.1685563-1-fontaine.fabrice@gmail.com> References: <20220402085136.1685563-1-fontaine.fabrice@gmail.com> Message-ID: On 02/04/2022 10:51, Fabrice Fontaine wrote: > Update hash of COPYING which has been "clearly marked" as the definitive > license source: > https://github.com/stachenov/quazip/commit/0d1aedb0fba343a196c124541b4d6938b16cf6ee > > https://github.com/stachenov/quazip/releases/tag/v1.2 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/quazip/quazip.hash | 4 ++-- > package/quazip/quazip.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/quazip/quazip.hash b/package/quazip/quazip.hash > index 5eff5cfb3d..bcb16acdc0 100644 > --- a/package/quazip/quazip.hash > +++ b/package/quazip/quazip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 54edce9c11371762bd4f0003c2937b5d8806a2752dd9c0fd9085e90792612ad0 quazip-1.1.tar.gz > -sha256 3aab586a5bdc8ffbbf033c7106550fd3e849fd8888e33cbc9bfd30a433c4b1cb COPYING > +sha256 2dfb911d6b27545de0b98798d967c40430312377e6ade57096d6ec80c720cb61 quazip-1.2.tar.gz > +sha256 b455b21b0d31d6e51993f1fb7e0694c75fa0eb0519a9ea62e4815fcf48b140b0 COPYING > diff --git a/package/quazip/quazip.mk b/package/quazip/quazip.mk > index 44645ec9b9..7731e59d94 100644 > --- a/package/quazip/quazip.mk > +++ b/package/quazip/quazip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -QUAZIP_VERSION = 1.1 > +QUAZIP_VERSION = 1.2 > QUAZIP_SITE = $(call github,stachenov,quazip,v$(QUAZIP_VERSION)) > QUAZIP_INSTALL_STAGING = YES > QUAZIP_DEPENDENCIES = \ From arnout at mind.be Mon Apr 4 18:47:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:47:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-mediadriver: bump version to 22.3.1 In-Reply-To: <20220402143924.46610-1-bernd.kuhls@t-online.de> References: <20220402143924.46610-1-bernd.kuhls@t-online.de> Message-ID: <5453983a-0c21-d2ad-ab11-c09c27322905@mind.be> On 02/04/2022 16:39, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Are we really going to bump this package every week? :-/ Regards, Arnout > --- > package/intel-mediadriver/intel-mediadriver.hash | 2 +- > package/intel-mediadriver/intel-mediadriver.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash > index 57499830b1..5c3d25eed8 100644 > --- a/package/intel-mediadriver/intel-mediadriver.hash > +++ b/package/intel-mediadriver/intel-mediadriver.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 89940ae2f7e5c7ec182f0d4d0ce8e149ae614876edd5bdad2b852e699a29b3f9 intel-media-22.3.0.tar.gz > +sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz > sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md > diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk > index c22aeecc77..4280f7fd29 100644 > --- a/package/intel-mediadriver/intel-mediadriver.mk > +++ b/package/intel-mediadriver/intel-mediadriver.mk > @@ -6,7 +6,7 @@ > > # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack > > -INTEL_MEDIADRIVER_VERSION = 22.3.0 > +INTEL_MEDIADRIVER_VERSION = 22.3.1 > INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive > INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz > INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause From arnout at mind.be Mon Apr 4 18:48:51 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 20:48:51 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220402130049.453518-1-fontaine.fabrice@gmail.com> References: <20220402130049.453518-1-fontaine.fabrice@gmail.com> Message-ID: <1ea289c4-8f58-8a61-1d1f-116ab6a117ef@mind.be> On 02/04/2022 15:00, Fabrice Fontaine wrote: > Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since > the addition of the package in commit > 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and > https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b > > configure: error: --enable-static must be specified with --disable-shared > > Fixes: > - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 > > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2: > - Fix patch number Not really necessary to respin just for that... > > package/libkrb5/libkrb5.mk | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk > index d14c464b39..0553e9bdb4 100644 > --- a/package/libkrb5/libkrb5.mk > +++ b/package/libkrb5/libkrb5.mk > @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ > --without-tcl \ > --disable-rpath > > +# Enabling static and shared at the same time is not supported > +ifeq ($(BR2_SHARED_STATIC_LIBS),y) > +LIBKRB5_CONF_OPTS = --disable-static += Caught by check-package, fortunately! Regards, Arnout > +endif > + > ifeq ($(BR2_PACKAGE_OPENLDAP),y) > LIBKRB5_CONF_OPTS += --with-ldap > LIBKRB5_DEPENDENCIES += openldap From arnout at mind.be Mon Apr 4 18:41:31 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:41:31 +0200 Subject: [Buildroot] [git commit] package/ipmiutil: drop dead code Message-ID: <20220404183937.0CE35818A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cdc2a52a0fd619ee9762656c2ff8f84418a85ea1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master ipmiutil depends on dynamic library since commit 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed anymore Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ipmiutil/ipmiutil.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 4c9de26583..97a644e314 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN endef IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off # SKIP_MD2 can be used only if ALLOW_GNU is defined. From arnout at mind.be Mon Apr 4 18:41:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:41:32 +0200 Subject: [Buildroot] [git commit] package/quazip: bump to version 1.2 Message-ID: <20220404183937.212DA818C0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3204fe4b4e0e60e6b9b9f1e63559c374544f2db4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update hash of COPYING which has been "clearly marked" as the definitive license source: https://github.com/stachenov/quazip/commit/0d1aedb0fba343a196c124541b4d6938b16cf6ee https://github.com/stachenov/quazip/releases/tag/v1.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/quazip/quazip.hash | 4 ++-- package/quazip/quazip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/quazip/quazip.hash b/package/quazip/quazip.hash index 5eff5cfb3d..bcb16acdc0 100644 --- a/package/quazip/quazip.hash +++ b/package/quazip/quazip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 54edce9c11371762bd4f0003c2937b5d8806a2752dd9c0fd9085e90792612ad0 quazip-1.1.tar.gz -sha256 3aab586a5bdc8ffbbf033c7106550fd3e849fd8888e33cbc9bfd30a433c4b1cb COPYING +sha256 2dfb911d6b27545de0b98798d967c40430312377e6ade57096d6ec80c720cb61 quazip-1.2.tar.gz +sha256 b455b21b0d31d6e51993f1fb7e0694c75fa0eb0519a9ea62e4815fcf48b140b0 COPYING diff --git a/package/quazip/quazip.mk b/package/quazip/quazip.mk index 44645ec9b9..7731e59d94 100644 --- a/package/quazip/quazip.mk +++ b/package/quazip/quazip.mk @@ -4,7 +4,7 @@ # ################################################################################ -QUAZIP_VERSION = 1.1 +QUAZIP_VERSION = 1.2 QUAZIP_SITE = $(call github,stachenov,quazip,v$(QUAZIP_VERSION)) QUAZIP_INSTALL_STAGING = YES QUAZIP_DEPENDENCIES = \ From arnout at mind.be Mon Apr 4 18:41:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:41:32 +0200 Subject: [Buildroot] [git commit] package/ipmiutil: bump to version 3.1.8 Message-ID: <20220404183937.16DCE818AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6a11646968011c7209cfadb17d0714949e174f21 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop IPMIUTIL_TOUCH_CONFIG_H_IN as aclocal.m4 is not newer than config.h.in anymore https://sourceforge.net/p/ipmiutil/news/2021/11/ipmiutil-318-is-released Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ipmiutil/ipmiutil.hash | 6 +++--- package/ipmiutil/ipmiutil.mk | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/package/ipmiutil/ipmiutil.hash b/package/ipmiutil/ipmiutil.hash index f87c2762de..c1a813ad1f 100644 --- a/package/ipmiutil/ipmiutil.hash +++ b/package/ipmiutil/ipmiutil.hash @@ -1,6 +1,6 @@ # From https://sourceforge.net/projects/ipmiutil/files/ -md5 fab260bc834a0f3f9324a6365fc26eca ipmiutil-3.1.7.tar.gz -sha1 a0cd29820b15166120eb4a51e6239bfa6f9c65dd ipmiutil-3.1.7.tar.gz +md5 b38ef567b6bb8a24418e448f23115190 ipmiutil-3.1.8.tar.gz +sha1 0697fc2342c55ba4374e31dcd38e58a00d1287e8 ipmiutil-3.1.8.tar.gz # Locally computed -sha256 911fd6f8b33651b98863d57e678d2fc593bc43fcd2a21f5dc7d5db8f92128a9a ipmiutil-3.1.7.tar.gz +sha256 b14357b9723e38a19c24df2771cff63d5f15f8682cd8a5b47235044b767b1888 ipmiutil-3.1.8.tar.gz sha256 7e0ec8238aa1431e95a4950032a4483fe33fec3fac348eaade5856cdc5ae3e39 COPYING diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 97a644e314..ad9fbfc24c 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -4,19 +4,13 @@ # ################################################################################ -IPMIUTIL_VERSION = 3.1.7 +IPMIUTIL_VERSION = 3.1.8 IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files IPMIUTIL_LICENSE = BSD-3-Clause IPMIUTIL_LICENSE_FILES = COPYING IPMIUTIL_MAKE = $(MAKE1) -# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf -define IPMIUTIL_TOUCH_CONFIG_H_IN - touch $(@D)/config.h.in -endef -IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN - ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off From arnout at mind.be Mon Apr 4 18:43:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:43:45 +0200 Subject: [Buildroot] [git commit] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220404183937.2B8DF818A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d0d70761131d0f2c029e95db4c97827944684aaa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since the addition of the package in commit 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b configure: error: --enable-static must be specified with --disable-shared Fixes: - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libkrb5/libkrb5.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index d41e7559a5..f406cd9e49 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ --without-tcl \ --disable-rpath +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS += --disable-static +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) LIBKRB5_CONF_OPTS += --with-ldap LIBKRB5_DEPENDENCIES += openldap From arnout at mind.be Mon Apr 4 18:43:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 20:43:45 +0200 Subject: [Buildroot] [git commit] package/intel-mediadriver: bump version to 22.3.1 Message-ID: <20220404183937.34C69818AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6619214d46ea41d8f8a60b67a6737becfe1b95c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/intel-mediadriver/intel-mediadriver.hash | 2 +- package/intel-mediadriver/intel-mediadriver.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash index 57499830b1..5c3d25eed8 100644 --- a/package/intel-mediadriver/intel-mediadriver.hash +++ b/package/intel-mediadriver/intel-mediadriver.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 89940ae2f7e5c7ec182f0d4d0ce8e149ae614876edd5bdad2b852e699a29b3f9 intel-media-22.3.0.tar.gz +sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk index 3e53bc0a3d..1536e60e96 100644 --- a/package/intel-mediadriver/intel-mediadriver.mk +++ b/package/intel-mediadriver/intel-mediadriver.mk @@ -6,7 +6,7 @@ # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack -INTEL_MEDIADRIVER_VERSION = 22.3.0 +INTEL_MEDIADRIVER_VERSION = 22.3.1 INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause From peter at korsgaard.com Mon Apr 4 19:21:27 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:21:27 +0200 Subject: [Buildroot] [PATCH 1/4] package/cppcms: zlib is optional, not mandatory In-Reply-To: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 17:46:09 +0200") References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> Message-ID: <87r16cy7rc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > zlib is not mandatory since at least version 1.0.5 and > https://github.com/artyom-beilis/cppcms/commit/fc1c25f9c7af440f2fc579b150025addfa5421a5 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:21:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:21:40 +0200 Subject: [Buildroot] [PATCH 2/4] package/cppcms: libgcrypt is optional, not mandatory In-Reply-To: <20220403154612.4158174-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 17:46:10 +0200") References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> <20220403154612.4158174-2-fontaine.fabrice@gmail.com> Message-ID: <87mth0y7qz.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:22:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:22:00 +0200 Subject: [Buildroot] [PATCH 3/4] package/cppcms: add openssl optional dependency In-Reply-To: <20220403154612.4158174-3-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 17:46:11 +0200") References: <20220403154612.4158174-1-fontaine.fabrice@gmail.com> <20220403154612.4158174-3-fontaine.fabrice@gmail.com> Message-ID: <87ilroy7qf.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > openssl is an optional dependency since version 1.0.5 and > https://github.com/artyom-beilis/cppcms/commit/7cfdc9f703a35c42f7168573ffcc92eaa37e4ab6 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:16:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:16:45 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cppcms: zlib is optional, not mandatory Message-ID: <20220404191458.F153081E71@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4b191c4e8b076aee532daf6674ac10dd9390eade branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x zlib is not mandatory since at least version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/fc1c25f9c7af440f2fc579b150025addfa5421a5 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit f413bf2c641954d2202287c3858a007a24e02a6a) Signed-off-by: Peter Korsgaard --- package/cppcms/Config.in | 1 - package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 1d7635a83e..25fd93a7d0 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_CPPCMS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR - select BR2_PACKAGE_ZLIB select BR2_PACKAGE_PCRE select BR2_PACKAGE_LIBGCRYPT help diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index b289617bbc..530b44427b 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = zlib pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre libgcrypt ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF +CPPCMS_DEPENDENCIES += zlib +else +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=ON +endif + ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) # posix backend needs monetary.h which isn't available on uClibc CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on From peter at korsgaard.com Mon Apr 4 19:17:04 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:17:04 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cppcms: add openssl optional dependency Message-ID: <20220404191459.13B9881E71@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fc9c97f0026191f3bab0cc1f37675de8e826a564 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x openssl is an optional dependency since version 1.0.5 and https://github.com/artyom-beilis/cppcms/commit/7cfdc9f703a35c42f7168573ffcc92eaa37e4ab6 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 9fb9c1e8df655a8ba86f38145486d5412e44b84b) Signed-off-by: Peter Korsgaard --- package/cppcms/cppcms.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 357909f31d..c560b5d0fa 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -35,6 +35,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=OFF +CPPCMS_DEPENDENCIES += openssl +else +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib From peter at korsgaard.com Mon Apr 4 19:16:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:16:53 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cppcms: libgcrypt is optional, not mandatory Message-ID: <20220404191459.078CA81E7F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=defafdf3f80a1311d0ba0c735624497a549ec0a4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 32045a73a39904617a3c281e02ccf93ad953b5d5) Signed-off-by: Peter Korsgaard --- package/cppcms/Config.in | 2 -- package/cppcms/cppcms.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 25fd93a7d0..6c0bff934c 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -1,12 +1,10 @@ config BR2_PACKAGE_CPPCMS bool "cppcms" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_WCHAR select BR2_PACKAGE_PCRE - select BR2_PACKAGE_LIBGCRYPT help CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed for Rapid Web Application Development. It diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 530b44427b..357909f31d 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" -CPPCMS_DEPENDENCIES = pcre libgcrypt +CPPCMS_DEPENDENCIES = pcre ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF @@ -28,6 +28,13 @@ else CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON endif +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=OFF +CPPCMS_DEPENDENCIES += libgcrypt +else +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF CPPCMS_DEPENDENCIES += zlib From arnout at mind.be Mon Apr 4 19:27:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:27:43 +0200 Subject: [Buildroot] [PATCH 1/1] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS In-Reply-To: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> References: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> Message-ID: <5130f261-7f5a-0b2c-d277-8028b37ce1bd@mind.be> On 02/04/2022 22:01, Fabrice Fontaine wrote: > Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid > the following build failure when GO_GOARCH is empty (e.g. on mips32) > raised since the addition of the package in commmit > ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: > > printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target > table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' > Usage: > sloci-image [options] ROOTFS NAME[:TAG] > sloci-image [-h | -V] > > Create a single-layer OCI image with the given rootfs. > > Arguments: > ROOTFS Directory or tar.gz archive with rootfs to pack into the image. > Important: Archive will be *moved* to the image, so make a copy if you > need it. Directory will be preserved. > > NAME Name of the image. > > TAG Tag for the image. Defaults to "latest". > > Options: > -m --arch ARCH CPU architecture which the binaries in this image are built to run on. > Defaults to $(uname -m). > > --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). > > -a --author NAME Name and/or email address of the person which created the image. > > -c --cmd CMD Default arguments to the entrypoint of the container. > > --debug Print debug messages (it can be also enabled with env. variable DEBUG). > > -C --entrypoint EP Arguments to use as the command to execute when the container starts. > > -e --env VAR=VAL Default environment variables for container. > > -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. > If KEY starts with a dot, it will be prefixed with > "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). > > --os OS Name of the OS which the image is built to run on. Defaults to "linux". > > -p --port PORT[/PROT] Default set of ports to expose from a container running this image in > format: /tcp, /udp, or (same as /tcp). > Aliases: --expose. > > -t --tar Pack image in a TAR archive. > > -u --user USER The username or UID of user the process run as. > > -v --volume PATH Default set of directories describing where the process is likely write > data specific to a container instance. > > -w --working-dir DIR Sets the current working directory of the entrypoint process in the > container. > > -V --version Print version and exit. > > -h --help Print this message and exit. > > Please report bugs at . > make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 > > Fixes: > - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > fs/oci/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/oci/Config.in b/fs/oci/Config.in > index 176785810a..8f36c91c8f 100644 > --- a/fs/oci/Config.in > +++ b/fs/oci/Config.in > @@ -1,5 +1,6 @@ > config BR2_TARGET_ROOTFS_OCI > bool "oci image" > + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > help > Build an OCI (Open Container Initiative) image. > From arnout at mind.be Mon Apr 4 19:28:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:28:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-greenlet: disable cpp test In-Reply-To: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> References: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> Message-ID: On 02/04/2022 23:24, Fabrice Fontaine wrote: > Disable cpp test to avoid the following build failure without C++ raised > since the addition of the package in commit > 826ef33bedc0f2f39a38622f066978cd9cc05226 and > https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: > > powerpc64-buildroot-linux-gnu-gcc.br_real: error: src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed on this system > > Fixes: > - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/python-greenlet/python-greenlet.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk > index 3b1ef7e314..72d2747970 100644 > --- a/package/python-greenlet/python-greenlet.mk > +++ b/package/python-greenlet/python-greenlet.mk > @@ -10,6 +10,7 @@ PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea > PYTHON_GREENLET_SETUP_TYPE = setuptools > PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 > PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF > +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no > > $(eval $(python-package)) > $(eval $(host-python-package)) From arnout at mind.be Mon Apr 4 19:29:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:29:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 In-Reply-To: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> References: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> Message-ID: <6f698442-f6c6-69ef-81a9-5904a258db4a@mind.be> On 03/04/2022 11:03, Fabrice Fontaine wrote: > Fix the following build failure with gcc >= 9 (and -std=c++17): > > ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications > 70 | bool file_exists(const std::string& file) throw (error); > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/cloop/cloop.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk > index f3c4954ead..6f6d5fe6a8 100644 > --- a/package/cloop/cloop.mk > +++ b/package/cloop/cloop.mk > @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib > > define HOST_CLOOP_BUILD_CMDS > $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ > - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" > + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" > endef > > define HOST_CLOOP_INSTALL_CMDS From arnout at mind.be Mon Apr 4 19:29:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:29:44 +0200 Subject: [Buildroot] [PATCH 1/2] package/python-brotli: add missing C++ comment In-Reply-To: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> References: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> Message-ID: On 03/04/2022 11:20, Fabrice Fontaine wrote: > python-brotli needs C++ since its addition in commit > 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > package/python-brotli/Config.in | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/package/python-brotli/Config.in b/package/python-brotli/Config.in > index 1c09c26866..c31315392b 100644 > --- a/package/python-brotli/Config.in > +++ b/package/python-brotli/Config.in > @@ -5,3 +5,6 @@ config BR2_PACKAGE_PYTHON_BROTLI > Python bindings for the Brotli compression library. > > https://github.com/google/brotli > + > +comment "python-brotli needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Mon Apr 4 19:30:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:30:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/minizip: bump to version 3.0.5 In-Reply-To: <20220403183503.736373-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 20:35:03 +0200") References: <20220403183503.736373-1-fontaine.fabrice@gmail.com> Message-ID: <87ee2cy7c7.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > This bump will fix the following build failure with zlib-ng thanks to > https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: > /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory > 19 | # include "zlib-ng.h" > | ^~~~~~~~~~~ > https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 > Fixes: > - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:29:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:29:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/minizip: bump to version 3.0.5 Message-ID: <20220404192116.BDDB2821B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3e36fa4c2200c63d7cae2239b5e9b82f008509b7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x This bump will fix the following build failure with zlib-ng thanks to https://github.com/zlib-ng/minizip-ng/commit/9184ba1216589077803b3e4e85f2b226f861ab2d: /home/autobuild/autobuild/instance-10/output-1/build/minizip-3.0.4/mz_crypt.c:19:14: fatal error: zlib-ng.h: No such file or directory 19 | # include "zlib-ng.h" | ^~~~~~~~~~~ https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.5 Fixes: - http://autobuild.buildroot.org/results/530fee780557941356dcd6aabb8cc9eb048574f3 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit b1d80083781f844cc70229c4a592253c9a34cbaa) Signed-off-by: Peter Korsgaard --- package/minizip/minizip.hash | 2 +- package/minizip/minizip.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash index 3e87e64dae..e73637670c 100644 --- a/package/minizip/minizip.hash +++ b/package/minizip/minizip.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c minizip-3.0.4.tar.gz +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk index 07f67c1354..b9259f0c54 100644 --- a/package/minizip/minizip.mk +++ b/package/minizip/minizip.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_VERSION = 3.0.4 +MINIZIP_VERSION = 3.0.5 MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) MINIZIP_DEPENDENCIES = host-pkgconf MINIZIP_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 4 19:31:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:31:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Message-ID: <763d35af-8d12-947d-eb92-053c9f214783@mind.be> On 03/04/2022 12:03, Fabrice Fontaine wrote: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. If dhcp is not developed anymore, maybe we should say that in the help text or something. Regards, Arnout > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF From arnout at mind.be Mon Apr 4 19:32:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:32:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/flac: fix build on ppc64 In-Reply-To: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> References: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> Message-ID: <769a2f4b-6ae0-f411-599b-ce1d193531bc@mind.be> On 03/04/2022 12:31, Fabrice Fontaine wrote: > Disable vsx to avoid the following build failure on ppc64 raised since > bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af > and > https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: > > In file included from lpc_intrin_vsx.c:46: > /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support > 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support > | ^~~~~ > lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': > lpc_intrin_vsx.c:94:7: warning: implicit declaration of function 'vec_vsx_ld'; did you mean 'vec_vslh'? [-Wimplicit-function-declaration] > 94 | d0 = vec_vsx_ld(0, base); > | ^~~~~~~~~~ > | vec_vslh > > Fixes: > - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/flac/flac.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/flac/flac.mk b/package/flac/flac.mk > index 2ff048b6e6..3a18d81591 100644 > --- a/package/flac/flac.mk > +++ b/package/flac/flac.mk > @@ -20,7 +20,8 @@ FLAC_CONF_OPTS = \ > $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ > --disable-xmms-plugin \ > --disable-altivec \ > - --disable-stack-smash-protection > + --disable-stack-smash-protection \ > + --disable-vsx > > ifeq ($(BR2_PACKAGE_LIBOGG),y) > FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr From arnout at mind.be Mon Apr 4 19:20:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:43 +0200 Subject: [Buildroot] [git commit] package/cloop: fix build with gcc >= 9 Message-ID: <20220404192257.F1927825B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e147e778fc3397cd2a069c8127fa4d2cc6c0355 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc >= 9 (and -std=c++17): ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications 70 | bool file_exists(const std::string& file) throw (error); | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/cloop/cloop.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index f3c4954ead..6f6d5fe6a8 100644 --- a/package/cloop/cloop.mk +++ b/package/cloop/cloop.mk @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib define HOST_CLOOP_BUILD_CMDS $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" endef define HOST_CLOOP_INSTALL_CMDS From arnout at mind.be Mon Apr 4 19:20:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:43 +0200 Subject: [Buildroot] [git commit] package/python-brotli: add missing C++ comment Message-ID: <20220404192258.0AF458259A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dbf34f5c117c87be58e485605bbe8dec07762897 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-brotli needs C++ since its addition in commit 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-brotli/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-brotli/Config.in b/package/python-brotli/Config.in index 1c09c26866..c31315392b 100644 --- a/package/python-brotli/Config.in +++ b/package/python-brotli/Config.in @@ -5,3 +5,6 @@ config BR2_PACKAGE_PYTHON_BROTLI Python bindings for the Brotli compression library. https://github.com/google/brotli + +comment "python-brotli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 4 19:19:37 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:19:37 +0200 Subject: [Buildroot] [git commit] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS Message-ID: <20220404192257.DBA1B8259A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=efe832dbc3c8d0d2caa1e8ba0ccba8254292de6c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid the following build failure when GO_GOARCH is empty (e.g. on mips32) which leads to an empty --arch argument in the sloci-image call, raised since the addition of the package in commmit ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' Usage: sloci-image [options] ROOTFS NAME[:TAG] sloci-image [-h | -V] Create a single-layer OCI image with the given rootfs. Arguments: ROOTFS Directory or tar.gz archive with rootfs to pack into the image. Important: Archive will be *moved* to the image, so make a copy if you need it. Directory will be preserved. NAME Name of the image. TAG Tag for the image. Defaults to "latest". Options: -m --arch ARCH CPU architecture which the binaries in this image are built to run on. Defaults to $(uname -m). --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). -a --author NAME Name and/or email address of the person which created the image. -c --cmd CMD Default arguments to the entrypoint of the container. --debug Print debug messages (it can be also enabled with env. variable DEBUG). -C --entrypoint EP Arguments to use as the command to execute when the container starts. -e --env VAR=VAL Default environment variables for container. -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. If KEY starts with a dot, it will be prefixed with "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). --os OS Name of the OS which the image is built to run on. Defaults to "linux". -p --port PORT[/PROT] Default set of ports to expose from a container running this image in format: /tcp, /udp, or (same as /tcp). Aliases: --expose. -t --tar Pack image in a TAR archive. -u --user USER The username or UID of user the process run as. -v --volume PATH Default set of directories describing where the process is likely write data specific to a container instance. -w --working-dir DIR Sets the current working directory of the entrypoint process in the container. -V --version Print version and exit. -h --help Print this message and exit. Please report bugs at . make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 Fixes: - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- fs/oci/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/oci/Config.in b/fs/oci/Config.in index 176785810a..8f36c91c8f 100644 --- a/fs/oci/Config.in +++ b/fs/oci/Config.in @@ -1,5 +1,6 @@ config BR2_TARGET_ROOTFS_OCI bool "oci image" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS help Build an OCI (Open Container Initiative) image. From arnout at mind.be Mon Apr 4 19:20:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:43 +0200 Subject: [Buildroot] [git commit] package/python-greenlet: disable cpp test Message-ID: <20220404192257.E55B5825AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b91bf2dbe6dc57ca85598730617b4eaccbe7433b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable cpp test to avoid the following build failure without C++ raised since the addition of the package in commit 826ef33bedc0f2f39a38622f066978cd9cc05226 and https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: powerpc64-buildroot-linux-gnu-gcc.br_real: error: src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-greenlet/python-greenlet.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk index 3b1ef7e314..72d2747970 100644 --- a/package/python-greenlet/python-greenlet.mk +++ b/package/python-greenlet/python-greenlet.mk @@ -10,6 +10,7 @@ PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea PYTHON_GREENLET_SETUP_TYPE = setuptools PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no $(eval $(python-package)) $(eval $(host-python-package)) From arnout at mind.be Mon Apr 4 19:20:44 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:44 +0200 Subject: [Buildroot] [git commit] package/flac: fix build on ppc64 Message-ID: <20220404192258.284A6825AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5197ce5ff30d1a23b811ddddca8030f13658d7da branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable vsx to avoid the following build failure on ppc64 raised since bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af and https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: In file included from lpc_intrin_vsx.c:46: /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support | ^~~~~ lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': lpc_intrin_vsx.c:94:7: warning: implicit declaration of function 'vec_vsx_ld'; did you mean 'vec_vslh'? [-Wimplicit-function-declaration] 94 | d0 = vec_vsx_ld(0, base); | ^~~~~~~~~~ | vec_vslh Fixes: - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/flac/flac.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/flac/flac.mk b/package/flac/flac.mk index 2ff048b6e6..3a18d81591 100644 --- a/package/flac/flac.mk +++ b/package/flac/flac.mk @@ -20,7 +20,8 @@ FLAC_CONF_OPTS = \ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ --disable-xmms-plugin \ --disable-altivec \ - --disable-stack-smash-protection + --disable-stack-smash-protection \ + --disable-vsx ifeq ($(BR2_PACKAGE_LIBOGG),y) FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr From arnout at mind.be Mon Apr 4 19:20:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:43 +0200 Subject: [Buildroot] [git commit] package/python-weasyprint: needs C++ Message-ID: <20220404192258.154AB825AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fef53b2e53c0e1ee958702f7a7f2cb097d54e74f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++ dependency from python-brotli Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-weasyprint/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 4a7e5a513d..7fe99c3951 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" + depends on BR2_INSTALL_LIBSTDCPP # python-brotli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime @@ -14,3 +15,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT The Awesome Document Factory. https://www.courtbouillon.org/weasyprint + +comment "python-weasyprint needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 4 19:20:44 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:20:44 +0200 Subject: [Buildroot] [git commit] package/dhcp: use internal bind Message-ID: <20220404192258.1EE0D8259A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0c8dd6ebd656e06cf99a63eb93343715f4853503 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Use internal bind as dhcp doesn't build since bump of bind to version 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream doesn't plan to fix it any time soon: https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 In file included from ../includes/dhcpd.h:91, from ctrace.c:29: ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 Signed-off-by: Fabrice Fontaine Reviewed-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dhcp/Config.in | 1 - package/dhcp/dhcp.mk | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index 515040c612..e0706efafb 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP # fork() depends on BR2_USE_MMU depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_BIND help DHCP relay agent from the ISC DHCP distribution. diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 18765a3639..f1e3c22f1c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE -DHCP_DEPENDENCIES = bind host-gawk +DHCP_DEPENDENCIES = host-gawk DHCP_CPE_ID_VENDOR = isc +# internal bind does not support parallel builds. +DHCP_MAKE = $(MAKE1) # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk DHCP_CONF_OPTS = \ - --with-libbind=$(STAGING_DIR)/usr \ + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ --with-randomdev=/dev/random \ --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-relay6-pid-file=/var/run/dhcrelay6.pid +ifeq ($(BR2_PACKAGE_ZLIB),y) +DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_DEPENDENCIES += zlib +else +DHCP_BIND_EXTRA_CONFIG += --without-zlib +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DHCP_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_STATIC_LIBS),y) -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" DHCP_CONF_OPTS += --disable-libtool else DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF From peter at korsgaard.com Mon Apr 4 19:33:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:33:53 +0200 Subject: [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options In-Reply-To: <20220403163737.223577-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 18:37:36 +0200") References: <20220403163737.223577-1-fontaine.fabrice@gmail.com> Message-ID: <87a6d0y76m.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop > ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized > anymore > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:34:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:34:00 +0200 Subject: [Buildroot] [PATCH 2/2] package/libyang: disable tests In-Reply-To: <20220403163737.223577-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 18:37:37 +0200") References: <20220403163737.223577-1-fontaine.fabrice@gmail.com> <20220403163737.223577-2-fontaine.fabrice@gmail.com> Message-ID: <875ynoy76f.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Disable tests which are enabled by default in debug mode since bump to > version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and > https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0 > as they will raise the following build failure if cmocka is built before > libyang: > In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, > from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9, > from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18, > from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30, > from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15: > /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t' > 53 | typedef unsigned _Addr uintptr_t; > | ^~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:33:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:33:02 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libyang: disable tests Message-ID: <20220404192529.57E2C82195@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e86a176c9bc9621fa51dd7ad080e89720f74f161 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Disable tests which are enabled by default in debug mode since bump to version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0 as they will raise the following build failure if cmocka is built before libyang: In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30, from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t' 53 | typedef unsigned _Addr uintptr_t; | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit ea6cc91be4db390f03c81539a9ae44979fd162ea) Signed-off-by: Peter Korsgaard --- package/libyang/libyang.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 832adcb627..a097b3ee95 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,9 +15,11 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) From peter at korsgaard.com Mon Apr 4 19:32:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:32:00 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libyang: drop unrecognized options Message-ID: <20220404192529.4DECC825FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=371e42df5e3dfd87640f75f5505149e45ed28f78 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized anymore Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 58ab72bb8313aa9be90736c088fe04b199eeaea8) Signed-off-by: Peter Korsgaard --- package/libyang/libyang.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 7de9531bff..832adcb627 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2 HOST_LIBYANG_DEPENDENCIES = host-pcre2 LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF \ - -DENABLE_LYD_PRIV=ON + -DENABLE_VALGRIND_TESTS=OFF HOST_LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF + -DENABLE_VALGRIND_TESTS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package)) From peter at korsgaard.com Mon Apr 4 19:35:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:35:44 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/xmrig: needs C++ Message-ID: <20220404192711.929AC82626@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3002bbcc4cf998179737a3e353c015e54a1dde08 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x xmrig needs C++ since its addition in commit 6f70990ccf6cb993fc31519337390e436d15493b: CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 2d806891cb0dc0fd2d30171d14bc9e911abbe76e) Signed-off-by: Peter Korsgaard --- package/xmrig/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in index 7024241017..c5c6b3e37b 100644 --- a/package/xmrig/Config.in +++ b/package/xmrig/Config.in @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG # xmrig needs fenv.h which is not provided by uclibc depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on !BR2_STATIC_LIBS # libuv + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBUV help RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. https://xmrig.com -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library" +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Mon Apr 4 19:36:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:36:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: needs C++ In-Reply-To: <20220403161751.204523-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 18:17:51 +0200") References: <20220403161751.204523-1-fontaine.fabrice@gmail.com> Message-ID: <871qycy71p.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > xmrig needs C++ since its addition in commit > 6f70990ccf6cb993fc31519337390e436d15493b: > CMake Error at CMakeLists.txt:2 (project): > No CMAKE_CXX_COMPILER could be found. > Fixes: > - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From vincent.stehle at laposte.net Mon Apr 4 19:38:20 2022 From: vincent.stehle at laposte.net (Vincent =?iso-8859-1?Q?Stehl=E9?=) Date: Mon, 4 Apr 2022 21:38:20 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> References: <20220329205136.32435-1-vincent.stehle@laposte.net> <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> Message-ID: On Sun, Apr 03, 2022 at 05:07:48PM +0200, Arnout Vandecappelle wrote: > > > On 29/03/2022 22:51, Vincent Stehl? via buildroot wrote: > > Update the qemu_xtensa_lx60_nommu_defconfig to use the > > busybox-minimal.config, to make it more consistent with the other no-MMU > > defconfigs. > > That's not a valid reason IMHO. We use the minimal busybox for boards that > are extremely tight on memory - which is often the case for noMMU boards. > But if we can spare the size, full busybox is a lot more useable. Hi Arnout, Thanks for reviewing this patch. > I've marked this patch as Rejected in patchwork, but if there's a good > reason to do this, we can always recover it. There is another incentive to using the minimal config on no-MMU platforms: it fixes the udhcpc error and repairs the network initialization. Just let me know if you want me to reword the commit message to insist more on this aspect and submit a v2. Or we can abandon it for good if you prefer. Best regards, Vincent. > > Regards, > Arnout > > > > > After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal > > config"), this has the benefit of fixing the following network > > initialization failure: > > > > udhcpc: invalid option -- b > > > > Signed-off-by: Vincent Stehl? > > Cc: Romain Naour > > Cc: Gerome Burlats > > --- > > configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig > > index c4473fb32a..44fb81bd74 100644 > > --- a/configs/qemu_xtensa_lx60_nommu_defconfig > > +++ b/configs/qemu_xtensa_lx60_nommu_defconfig > > @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ > > BR2_PACKAGE_HOST_ELF2FLT=y > > # BR2_USE_MMU is not set > > +# Use minimal busybox with hush and networking tools > > +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" > > + > > # System > > BR2_SYSTEM_DHCP="eth0" > > BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From peter at korsgaard.com Mon Apr 4 19:42:01 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:42:01 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/zlib-ng: fix build on powerpc In-Reply-To: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 22:22:02 +0200") References: <20220403202202.1583075-1-fontaine.fabrice@gmail.com> Message-ID: <87wng4ws8m.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Handle WITH_POWER8 to fix the following build failure with powerpc and > libglib2 raised since bump to version 1.9.9-b1 in commit > 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and > https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: > /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): > in function `adler32_power8': > /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: > undefined reference to `vec_sumsu' > Fixes: > - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2 (after review of Yann E. Morin): > - Don't unconditionally disable power8 Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 4 19:40:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:40:43 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/zlib-ng: fix build on powerpc Message-ID: <20220404193241.971EA8267E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6de440a5c533b68d45614e13bba5fc296ca5d483 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Handle WITH_POWER8 to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 192dfc68c0e43d0865beb16250582b3b4e5ed178) Signed-off-by: Peter Korsgaard --- package/zlib-ng/zlib-ng.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index c56fa72d6f..19bb9a9b5e 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + $(eval $(cmake-package)) From peter at korsgaard.com Mon Apr 4 19:37:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:37:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/zlib-ng: fix build on powerpc Message-ID: <20220404193248.61BA4826C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3e490dc836ad61f46c86376a711637154065407e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Handle WITH_POWER8 to fix the following build failure with powerpc and libglib2 raised since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/11.2.0/../../../../powerpc-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/powerpc-buildroot-linux-musl/sysroot/usr/lib/libz.a(adler32_power8.c.o): in function `adler32_power8': /home/autobuild/autobuild/instance-9/output-1/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:106: undefined reference to `vec_sumsu' Fixes: - http://autobuild.buildroot.org/results/f864a0e2307e25342b45c90a5b4fb57a0f5c1c93 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 192dfc68c0e43d0865beb16250582b3b4e5ed178) Signed-off-by: Peter Korsgaard --- package/zlib-ng/zlib-ng.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11..938acd4181 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,10 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + $(eval $(cmake-package)) From peter at korsgaard.com Mon Apr 4 19:44:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:44:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/paho-mqtt-c: bump to version 1.3.10 In-Reply-To: <20220328202136.7182-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 28 Mar 2022 22:21:36 +0200") References: <20220328202136.7182-1-fontaine.fabrice@gmail.com> Message-ID: <87sfqsws50.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Service release. Issues resolved: > https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1 > https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.10 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Mon Apr 4 19:44:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:44:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpsl: fix build with libiconv In-Reply-To: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> References: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> Message-ID: On 03/04/2022 14:13, Fabrice Fontaine wrote: > Fix the following build failure raised since the addition of the package > in commit 47acda3a95bd4310f884e741f20785d374af7b22: > > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': > psl.c:(.text+0x1584): undefined reference to `libiconv_open' > > Fixes: > - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...dd-libiconv-dep-to-meson-build-again.patch | 60 +++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch > > diff --git a/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch > new file mode 100644 > index 0000000000..72f50aa593 > --- /dev/null > +++ b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch > @@ -0,0 +1,60 @@ > +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 > +From: Zhao Zhili > +Date: Thu, 7 Jan 2021 20:59:17 +0800 > +Subject: [PATCH] Add libiconv dep to meson build again > + > +Build success on macOS and ubuntu. > + > +[Retrieved from: > +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] > +Signed-off-by: Fabrice Fontaine > +--- > + meson.build | 14 ++++++++++++++ > + src/meson.build | 2 +- > + 2 files changed, 15 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index f248171..fb2de31 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -20,6 +20,7 @@ libicu_dep = notfound > + libidn_dep = notfound > + libunistring = notfound > + networking_deps = notfound > ++libiconv_dep = notfound > + > + # FIXME: Cleanup this when Meson gets 'feature-combo': > + # https://github.com/mesonbuild/meson/issues/4566 > +@@ -86,6 +87,19 @@ endif > + if libidn2_dep.found() or libidn_dep.found() > + # Check for libunistring, we need it for psl_str_to_utf8lower() > + libunistring = cc.find_library('unistring') > ++ found_iconv = false > ++ if cc.has_function('iconv_open') > ++ libiconv_dep = [] > ++ found_iconv = true > ++ endif > ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') > ++ libiconv_dep = [cc.find_library('iconv')] > ++ found_iconv = true > ++ endif > ++ > ++ if not found_iconv > ++ error('iconv implementation not found') > ++ endif > + endif > + > + if host_machine.system() == 'windows' > +diff --git a/src/meson.build b/src/meson.build > +index 0d1dcdf..746bf44 100644 > +--- a/src/meson.build > ++++ b/src/meson.build > +@@ -19,7 +19,7 @@ cargs = [ > + libpsl = library('psl', sources, suffixes_dafsa_h, > + include_directories : [configinc, includedir], > + c_args : cargs, > +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], > ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], > + version: lt_version, > + install: true, > + ) From arnout at mind.be Mon Apr 4 19:44:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:44:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/glib-networking: fix build with libressl In-Reply-To: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> References: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> Message-ID: <25fabd64-4752-3b3b-bfab-2d1904267f3a@mind.be> On 03/04/2022 16:00, Fabrice Fontaine wrote: > glib-networking raises the following build failure with libressl: > > ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': > ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? > 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) > | ^~~~~~~~~~~~~~ > | TLS1_2_VERSION > ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in > ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] > 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); > | ^~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/glib-networking/Config.in | 1 + > package/glib-networking/glib-networking.mk | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in > index 38cded5e6b..9c5d36af16 100644 > --- a/package/glib-networking/Config.in > +++ b/package/glib-networking/Config.in > @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING > depends on !BR2_STATIC_LIBS > select BR2_PACKAGE_LIBGLIB2 > select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS > + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS > select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS > help > Network-related GIO modules for glib. > diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk > index f74e520d31..e8905dfff4 100644 > --- a/package/glib-networking/glib-networking.mk > +++ b/package/glib-networking/glib-networking.mk > @@ -31,7 +31,7 @@ else > GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled > endif > > -ifeq ($(BR2_PACKAGE_OPENSSL),y) > +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > GLIB_NETWORKING_DEPENDENCIES += openssl > GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled > else From arnout at mind.be Mon Apr 4 19:44:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:44:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/dieharder: drop rgb_operm In-Reply-To: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> References: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> Message-ID: <3f2449ec-a032-4b2e-71ff-457808bc696e@mind.be> On 03/04/2022 22:56, Fabrice Fontaine wrote: > Fix the following build failure: > > /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to `rgb_operm' > > Fixes: > - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 > > Signed-off-by: Fabrice Fontaine > --- > .../0005-Remove-defunct-rgb_operm.patch | 732 ++++++++++++++++++ > 1 file changed, 732 insertions(+) > create mode 100644 package/dieharder/0005-Remove-defunct-rgb_operm.patch > > diff --git a/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/package/dieharder/0005-Remove-defunct-rgb_operm.patch > new file mode 100644 > index 0000000000..efc311dbaa > --- /dev/null > +++ b/package/dieharder/0005-Remove-defunct-rgb_operm.patch > @@ -0,0 +1,732 @@ > +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 > +From: =?UTF-8?q?Marcus=20M=C3=BCller?= > +Date: Mon, 12 Oct 2020 21:30:12 +0200 > +Subject: [PATCH] Remove defunct rgb_operm > + > +[Retrieved from: > +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] > +Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > +--- > + include/Makefile.am | 1 - > + include/dieharder/rgb_operm.h | 38 -- > + include/dieharder/tests.h | 2 - > + libdieharder/rgb_operm.c | 633 ---------------------------------- > + 4 files changed, 674 deletions(-) > + delete mode 100644 include/dieharder/rgb_operm.h > + delete mode 100644 libdieharder/rgb_operm.c > + > +diff --git a/include/Makefile.am b/include/Makefile.am > +index f80b4ff..e4659cd 100644 > +--- a/include/Makefile.am > ++++ b/include/Makefile.am > +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ > + dieharder/rgb_lagged_sums.h \ > + dieharder/rgb_lmn.h \ > + dieharder/rgb_minimum_distance.h \ > +- dieharder/rgb_operm.h \ > + dieharder/rgb_persist.h \ > + dieharder/rgb_permutations.h \ > + dieharder/rgb_timing.h \ > +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h > +deleted file mode 100644 > +index c48fa37..0000000 > +--- a/include/dieharder/rgb_operm.h > ++++ /dev/null > +@@ -1,38 +0,0 @@ > +-/* > +- * rgb_operm test header. > +- */ > +- > +-/* > +- * function prototype > +- */ > +-int rgb_operm(Test **test,int irun); > +- > +-static Dtest rgb_operm_dtest __attribute__((unused)) = { > +- "RGB Overlapping Permuations Test", > +- "rgb_operm", > +- "\n\ > +-#========================================================================\n\ > +-# RGB Overlapping Permutations Test\n\ > +-# Forms both the exact (expected) covariance matrix for overlapping\n\ > +-# permutations of random integer and an empirical covariance matrix\n\ > +-# formed from a long string of samples. The difference is expected\n\ > +-# to have a chisq distribution and hence can be transformed into a\n\ > +-# sample p-value. Note that this is one possible functional replacement\n\ > +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ > +-# number of numbers in the overlapping permutation window) to be varied\n\ > +-# from 2 to perhaps 8.\n\ > +-#\n", > +- 100, /* Default psamples */ > +- 100000, /* Default tsamples */ > +- 1, /* We magically make all the bit tests return a single histogram */ > +- rgb_operm, > +- 0 > +-}; > +- > +-/* > +- * Global variables. > +- * > +- * rgb_operm_k is the size of the overlapping window that is slid along > +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. > +- */ > +-unsigned int rgb_operm_k; > +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h > +index 1674aed..b50dbe3 100644 > +--- a/include/dieharder/tests.h > ++++ b/include/dieharder/tests.h > +@@ -11,7 +11,6 @@ > + #include > + #include > + #include > +-#include > + #include > + #include > + #include > +@@ -80,7 +79,6 @@ > + RGB_PERMUTATIONS, > + RGB_LAGGED_SUMS, > + RGB_LMN, > +- RGB_OPERM, > + DAB_BYTEDISTRIB, > + DAB_DCT, > + DAB_FILLTREE, > +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c > +deleted file mode 100644 > +index 15f8e9a..0000000 > +--- a/libdieharder/rgb_operm.c > ++++ /dev/null > +@@ -1,633 +0,0 @@ > +-/* > +- * ======================================================================== > +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ > +- * > +- * See copyright in copyright.h and the accompanying file COPYING > +- * ======================================================================== > +- */ > +- > +-/* > +- * ======================================================================== > +- * This is the revised Overlapping Permutations test. It directly > +- * simulates the covariance matrix of overlapping permutations. The way > +- * this works below (tentatively) is: > +- * > +- * For a bit ntuple of length N, slide a window of length N to the > +- * right one bit at a time. Compute the permutation index of the > +- * original ntuple, the permutation index of the window ntuple, and > +- * accumulate the covariance matrix of the two positions. This > +- * can be directly and precisely computed as well. The simulated > +- * result should be distributed according to the chisq distribution, > +- * so we subtract the two and feed it into the chisq program as a > +- * vector to compute p. > +- * > +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited > +- * documentation (in a program that doesn't do ANYTHING like what the > +- * documentation says it does) and from Nilpotent Markov Processes. > +- * But I confess to not quite understand how to actually perform the > +- * test in the latter -- it is very good at describing the construction > +- * of the target matrix, not so good at describing how to transform > +- * this into a chisq and p. > +- * > +- * FWIW, as I get something that actually works here, I'm going to > +- * THOROUGHLY document it in the book that will accompany the test. > +- *======================================================================== > +- */ > +- > +-#include > +-#define RGB_OPERM_KMAX 10 > +- > +-/* > +- * Some globals that will eventually go in the test include where they > +- * arguably belong. > +- */ > +-double fpipi(int pi1,int pi2,int nkp); > +-uint piperm(size_t *data,int len); > +-void make_cexact(); > +-void make_cexpt(); > +-int nperms,noperms; > +-double **cexact,**ceinv,**cexpt,**idty; > +-double *cvexact,*cvein,*cvexpt,*vidty; > +- > +-int rgb_operm(Test **test,int irun) > +-{ > +- > +- int i,j,n,nb,iv,s; > +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ > +- uint *count,ctotal; /* counters */ > +- uint size; > +- double pvalue,ntuple_prob,pbin; /* probabilities */ > +- Vtest *vtest; /* Chisq entry vector */ > +- > +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; > +- > +- /* > +- * For a given n = ntuple size in bits, there are n! bit orderings > +- */ > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#==================================================================\n"); > +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); > +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); > +- printf("# rgb_operm: ======================================================\n"); > +- } > +- > +- /* > +- * Sanity check first > +- */ > +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ > +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); > +- exit(0); > +- } > +- > +- nperms = gsl_sf_fact(rgb_operm_k); > +- noperms = gsl_sf_fact(3*rgb_operm_k-2); > +- csamples = rgb_operm_k*rgb_operm_k; > +- gsl_permutation * p = gsl_permutation_alloc(nperms); > +- > +- /* > +- * Allocate memory for value_max vector of Vtest structs and counts, > +- * PER TEST. Note that we must free both of these when we are done > +- * or leak. > +- */ > +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); > +- count = (uint *)malloc(csamples*sizeof(uint)); > +- Vtest_create(vtest,csamples+1); > +- > +- /* > +- * We have to allocate and free the cexact and cexpt matrices here > +- * or they'll be forgotten when these routines return. > +- */ > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); > +- } > +- cexact = (double **)malloc(nperms*sizeof(double*)); > +- ceinv = (double **)malloc(nperms*sizeof(double*)); > +- cexpt = (double **)malloc(nperms*sizeof(double*)); > +- idty = (double **)malloc(nperms*sizeof(double*)); > +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); > +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); > +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); > +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); > +- for(i=0;i +- /* Here we pack addresses to map the matrix addressing onto the vector */ > +- cexact[i] = &cvexact[i*nperms]; > +- ceinv[i] = &cvein[i*nperms]; > +- cexpt[i] = &cvexpt[i*nperms]; > +- idty[i] = &vidty[i*nperms]; > +- for(j = 0;j +- cexact[i][j] = 0.0; > +- ceinv[i][j] = 0.0; > +- cexpt[i][j] = 0.0; > +- idty[i][j] = 0.0; > +- } > +- } > +- > +- make_cexact(); > +- make_cexpt(); > +- > +- iv=0; > +- for(i=0;i +- for(j=0;j +- cvexact[iv] = cexact[i][j]; > +- cvexpt[iv] = cexpt[i][j]; > +- vidty[iv] = 0.0; > +- } > +- } > +- > +- CEXACT = gsl_matrix_view_array(cvexact, nperms, nperms); > +- CEINV = gsl_matrix_view_array(cvein , nperms, nperms); > +- CEXPT = gsl_matrix_view_array(cvexpt , nperms, nperms); > +- IDTY = gsl_matrix_view_array(vidty , nperms, nperms); > +- > +- /* > +- * Hmmm, looks like cexact isn't invertible. Duh. So it has eigenvalues. > +- * This seems to be important (how, I do not know) so let's find out. > +- * Here is the gsl ritual for evaluating eigenvalues etc. > +- */ > +- > +- gsl_vector *eval = gsl_vector_alloc (nperms); > +- gsl_matrix *evec = gsl_matrix_alloc (nperms,nperms); > +- /* > +- gsl_eigen_nonsymm_workspace* w = gsl_eigen_nonsymmv_alloc(nperms); > +- gsl_eigen_nonsymm_params (1,0,w); > +- gsl_eigen_nonsymmv(&CEXACT.matrix, eval, evec, w); > +- gsl_eigen_nonsymmv_free (w); > +- */ > +- gsl_eigen_symmv_workspace* w = gsl_eigen_symmv_alloc(nperms); > +- gsl_eigen_symmv(&CEXACT.matrix, eval, evec, w); > +- gsl_eigen_symmv_free (w); > +- gsl_eigen_symmv_sort (eval, evec, GSL_EIGEN_SORT_ABS_ASC); > +- > +- { > +- int i; > +- > +- printf("#==================================================================\n"); > +- for (i = 0; i < nperms; i++) { > +- double eval_i = gsl_vector_get (eval, i); > +- gsl_vector_view evec_i = gsl_matrix_column (evec, i); > +- printf ("eigenvalue[%u] = %g\n", i, eval_i); > +- printf ("eigenvector[%u] = \n",i); > +- gsl_vector_fprintf (stdout,&evec_i.vector, "%10.5f"); > +- } > +- printf("#==================================================================\n"); > +- } > +- > +- gsl_vector_free (eval); > +- gsl_matrix_free (evec); > +- > +-/* > +- gsl_linalg_LU_decomp(&CEXACT.matrix, p, &s); > +- gsl_linalg_LU_invert(&CEXACT, p, &CEINV); > +- gsl_permutation_free(p); > +- gsl_blas_dgemm(CblasNoTrans, CblasNoTrans, 1.0, &CEINV.matrix, &CEXPT.matrix, 0.0, &IDTY.matrix); > +- printf("#==================================================================\n"); > +- printf("# Should be inverse of C, assuming it is invertible:\n"); > +- for(i=0;i +- printf("# "); > +- for(j = 0;j +- printf("%8.3f ",idty[i][j]); > +- } > +- printf("\n"); > +- } > +- printf("#==================================================================\n"); > +- printf("#==================================================================\n"); > +- printf("# Should be normal on identity:\n"); > +- for(i=0;i +- printf("# "); > +- for(j = 0;j +- printf("%8.3f ",idty[i][j]); > +- } > +- printf("\n"); > +- } > +- printf("#==================================================================\n"); > +- */ > +- > +- > +- > +- /* > +- * OK, at this point we have two matrices: cexact[][] is filled with > +- * the exact covariance matrix expected for the overlapping permutations. > +- * cexpt[][] has been filled numerically by generating strings of random > +- * uints or floats, generating sort index permutations, and > +- * using them to IDENTICALLY generate an "experimental" version of c[][]. > +- * The two should correspond, in the limit of large tsamples. IF I > +- * understand Alhakim, Kawczak and Molchanov, then the way to implement > +- * the simplest possible chisq test is to evaluate: > +- * cexact^-1 cexpt \approx I > +- * where the diagonal terms should form a vector that is chisq distributed? > +- * Let's try this... > +- */ > +- > +- > +- > +- /* > +- * Free cexact[][] and cexpt[][] > +- * Fix this when we're done so we don't leak; for now to much trouble. > +- for(i=0;i +- free(cexact[i]); > +- free(cexpt[i]); > +- } > +- free(cexact); > +- free(cexpt); > +- */ > +- > +- return(0); > +- > +-} > +- > +-void make_cexact() > +-{ > +- > +- int i,j,k,ip,t,nop; > +- double fi,fj; > +- /* > +- * This is the test vector. > +- */ > +- double testv[RGB_OPERM_KMAX*2]; /* easier than malloc etc, but beware length */ > +- /* > +- * pi[] is the permutation index of a sample. ps[] holds the > +- * actual sample. > +- */ > +- size_t pi[4096],ps[4096]; > +- /* > +- * We seem to have made a mistake of sorts. We actually have to sum > +- * BOTH the forward AND the backward directions. That means that the > +- * permutation vector has to be of length 3k-1, with the pi=1 term > +- * corresponding to the middle. So for k=2, instead of 0,1,2 we need > +- * 0 1 2 3 4 and we'll have to do 23, 34 in the leading direction and > +- * 21, 10 in the trailing direction. > +- */ > +- gsl_permutation **operms; > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#==================================================================\n"); > +- printf("# rgb_operm: Running cexact()\n"); > +- } > +- > +- /* > +- * Test fpipi(). This is probably cruft, actually. > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm: Testing fpipi()\n"); > +- for(i=0;i +- for(j = 0;j +- printf("# rgb_operm: fpipi(%u,%u,%u) = %f\n",i,j,nperms,fpipi(i,j,nperms)); > +- } > +- } > +- } > +- */ > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#==================================================================\n"); > +- printf("# rgb_operm: Forming set of %u overlapping permutations\n",noperms); > +- printf("# rgb_operm: Permutations\n"); > +- printf("# rgb_operm:==============================\n"); > +- } > +- operms = (gsl_permutation**) malloc(noperms*sizeof(gsl_permutation*)); > +- for(i=0;i +- operms[i] = gsl_permutation_alloc(3*rgb_operm_k - 2); > +- /* Must quiet down > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm: "); > +- } > +- */ > +- if(i == 0){ > +- gsl_permutation_init(operms[i]); > +- } else { > +- gsl_permutation_memcpy(operms[i],operms[i-1]); > +- gsl_permutation_next(operms[i]); > +- } > +- /* > +- MYDEBUG(D_RGB_OPERM){ > +- gsl_permutation_fprintf(stdout,operms[i]," %u"); > +- printf("\n"); > +- } > +- */ > +- } > +- > +- /* > +- * We now form c_exact PRECISELY the same way that we do c_expt[][] > +- * below, except that instead of pulling random samples of integers > +- * or floats and averaging over the permutations thus represented, > +- * we iterate over the complete set of equally weighted permutations > +- * to get an exact answer. Note that we have to center on 2k-1 and > +- * go both forwards and backwards. > +- */ > +- for(t=0;t +- /* > +- * To sort into a perm, test vector needs to be double. > +- */ > +- for(k=0;k<3*rgb_operm_k - 2;k++) testv[k] = (double) operms[t]->data[k]; > +- > +- /* Not cruft, but quiet... > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#------------------------------------------------------------------\n"); > +- printf("# Generating offset sample permutation pi's\n"); > +- } > +- */ > +- for(k=0;k<2*rgb_operm_k - 1;k++){ > +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); > +- pi[k] = piperm((size_t *) ps,rgb_operm_k); > +- > +- /* Not cruft, but quiet... > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# %u: ",k); > +- for(ip=k;ip +- printf("%.1f ",testv[ip]); > +- } > +- printf("\n# "); > +- for(ip=0;ip +- printf("%u ",ps[ip]); > +- } > +- printf(" = %u\n",pi[k]); > +- } > +- */ > +- > +- } > +- > +- /* > +- * This is the business end of things. The covariance matrix is the > +- * the sum of a central function of the permutation indices that yields > +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the > +- * possible permutations, for the FIRST permutation in a sample (fi) > +- * times the sum of the same function over all the overlapping permutations > +- * drawn from the same sample. Quite simple, really. > +- */ > +- for(i=0;i +- fi = fpipi(i,pi[rgb_operm_k-1],nperms); > +- for(j=0;j +- fj = 0.0; > +- for(k=0;k +- fj += fpipi(j,pi[rgb_operm_k - 1 + k],nperms); > +- if(k != 0){ > +- fj += fpipi(j,pi[rgb_operm_k - 1 - k],nperms); > +- } > +- } > +- cexact[i][j] += fi*fj; > +- } > +- } > +- > +- } > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm:==============================\n"); > +- printf("# rgb_operm: cexact[][] = \n"); > +- } > +- for(i=0;i +- MYDEBUG(D_RGB_OPERM){ > +- printf("# "); > +- } > +- for(j=0;j +- cexact[i][j] /= noperms; > +- MYDEBUG(D_RGB_OPERM){ > +- printf("%10.6f ",cexact[i][j]); > +- } > +- } > +- MYDEBUG(D_RGB_OPERM){ > +- printf("\n"); > +- } > +- } > +- > +- /* > +- * Free operms[] > +- */ > +- for(i=0;i +- gsl_permutation_free(operms[i]); > +- } > +- free(operms); > +- > +-} > +- > +-void make_cexpt() > +-{ > +- > +- int i,j,k,ip,t; > +- double fi,fj; > +- /* > +- * This is the test vector. > +- */ > +- double testv[RGB_OPERM_KMAX*2]; /* easier than malloc etc, but beware length */ > +- /* > +- * pi[] is the permutation index of a sample. ps[] holds the > +- * actual sample. > +- */ > +- int pi[4096],ps[4096]; > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#==================================================================\n"); > +- printf("# rgb_operm: Running cexpt()\n"); > +- } > +- > +- /* > +- * We evaluate cexpt[][] by sampling. In a nutshell, this involves > +- * a) Filling testv[] with 2*rgb_operm_k - 1 random uints or doubles > +- * It clearly cannot matter which we use, as long as the probability of > +- * exact duplicates in a sample is very low. > +- * b) Using gsl_sort_index the exact same way it was used in make_cexact() > +- * to generate the pi[] index, using ps[] as scratch space for the sort > +- * indices. > +- * c) Evaluating fi and fj from the SAMPLED result, tsamples times. > +- * d) Normalizing. > +- * Note that this is pretty much identical to the way we formed c_exact[][] > +- * except that we are determining the relative frequency of each sort order > +- * permutation 2*rgb_operm_k-1 long. > +- * > +- * NOTE WELL! I honestly think that it is borderline silly to view > +- * this as a matrix and to go through all of this nonsense. The theoretical > +- * c_exact[][] is computed from the observation that all the permutations > +- * of n objects have equal weight = 1/n!. Consequently, they should > +- * individually be binomially distributed, tending to normal with many > +- * samples. Collectively they should be distributed like a vector of > +- * equal binomial probabilities and a p-value should follow either from > +- * chisq on n!-1 DoF or for that matter a KS test. I see no way that > +- * making it into a matrix can increase the sensitivity of the test -- if > +- * the p-values are well defined in the two cases they can only be equal > +- * by their very definition. > +- * > +- * If you are a statistician reading these words and disagree, please > +- * communicate with me and explain why I'm wrong. I'm still very much > +- * learning statistics and would cherish gentle correction. > +- */ > +- for(t=0;t +- /* > +- * To sort into a perm, test vector needs to be double. > +- */ > +- for(k=0;k<3*rgb_operm_k - 2;k++) testv[k] = (double) gsl_rng_get(rng); > +- > +- /* Not cruft, but quiet... > +- MYDEBUG(D_RGB_OPERM){ > +- printf("#------------------------------------------------------------------\n"); > +- printf("# Generating offset sample permutation pi's\n"); > +- } > +- */ > +- for(k=0;k<2*rgb_operm_k-1;k++){ > +- gsl_sort_index(ps,&testv[k],1,rgb_operm_k); > +- pi[k] = piperm(ps,rgb_operm_k); > +- > +- /* Not cruft, but quiet... > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# %u: ",k); > +- for(ip=k;ip +- printf("%.1f ",testv[ip]); > +- } > +- printf("\n# "); > +- for(ip=0;ip +- printf("%u ",permsample->data[ip]); > +- } > +- printf(" = %u\n",pi[k]); > +- } > +- */ > +- } > +- > +- /* > +- * This is the business end of things. The covariance matrix is the > +- * the sum of a central function of the permutation indices that yields > +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the > +- * possible permutations, for the FIRST permutation in a sample (fi) > +- * times the sum of the same function over all the overlapping permutations > +- * drawn from the same sample. Quite simple, really. > +- */ > +- for(i=0;i +- fi = fpipi(i,pi[rgb_operm_k-1],nperms); > +- for(j=0;j +- fj = 0.0; > +- for(k=0;k +- fj += fpipi(j,pi[rgb_operm_k - 1 + k],nperms); > +- if(k != 0){ > +- fj += fpipi(j,pi[rgb_operm_k - 1 - k],nperms); > +- } > +- } > +- cexpt[i][j] += fi*fj; > +- } > +- } > +- > +- } > +- > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm:==============================\n"); > +- printf("# rgb_operm: cexpt[][] = \n"); > +- } > +- for(i=0;i +- MYDEBUG(D_RGB_OPERM){ > +- printf("# "); > +- } > +- for(j=0;j +- cexpt[i][j] /= tsamples; > +- MYDEBUG(D_RGB_OPERM){ > +- printf("%10.6f ",cexpt[i][j]); > +- } > +- } > +- MYDEBUG(D_RGB_OPERM){ > +- printf("\n"); > +- } > +- } > +- > +-} > +- > +-uint piperm(size_t *data,int len) > +-{ > +- > +- uint i,j,k,max,min; > +- uint pindex,uret,tmp; > +- static gsl_permutation** lookup = 0; > +- > +- /* > +- * Allocate space for lookup table and fill it. > +- */ > +- if(lookup == 0){ > +- lookup = (gsl_permutation**) malloc(nperms*sizeof(gsl_permutation*)); > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# rgb_operm: Allocating piperm lookup table of perms.\n"); > +- } > +- for(i=0;i +- lookup[i] = gsl_permutation_alloc(rgb_operm_k); > +- } > +- for(i=0;i +- if(i == 0){ > +- gsl_permutation_init(lookup[i]); > +- } else { > +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); > +- gsl_permutation_next(lookup[i]); > +- } > +- } > +- > +- /* > +- * This method yields a mirror symmetry in the permutations top to > +- * bottom. > +- for(i=0;i +- if(i == 0){ > +- gsl_permutation_init(lookup[i]); > +- for(j=0;j +- lookup[nperms-i-1]->data[rgb_operm_k-j-1] = lookup[i]->data[j]; > +- } > +- } else { > +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); > +- gsl_permutation_next(lookup[i]); > +- for(j=0;j +- lookup[nperms-i-1]->data[rgb_operm_k-j-1] = lookup[i]->data[j]; > +- } > +- } > +- } > +- */ > +- MYDEBUG(D_RGB_OPERM){ > +- for(i=0;i +- printf("# rgb_operm: %u => ",i); > +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); > +- printf("\n"); > +- } > +- } > +- > +- } > +- > +- for(i=0;i +- if(memcmp(data,lookup[i]->data,len*sizeof(uint))==0){ > +- /* Not cruft, but off: > +- MYDEBUG(D_RGB_OPERM){ > +- printf("# piperm(): "); > +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); > +- printf(" = %u\n",i); > +- } > +- */ > +- return(i); > +- } > +- } > +- printf("We'd better not get here...\n"); > +- > +- return(0); > +- > +-} > +- > +-double fpipi(int pi1,int pi2,int nkp) > +-{ > +- > +- int i; > +- double fret; > +- > +- /* > +- * compute the k-permutation index from iperm for the window > +- * at data[offset] of length len. If it matches pind, return > +- * the first quantity, otherwise return the second. > +- */ > +- if(pi1 == pi2){ > +- > +- fret = (double) (nkp - 1.0)/nkp; > +- if(verbose < 0){ > +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); > +- } > +- return(fret); > +- > +- } else { > +- > +- fret = (double) (-1.0/nkp); > +- if(verbose < 0){ > +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); > +- } > +- return(fret); > +- > +- } > +- > +- > +-} > +- > +- > +- > +- From peter at korsgaard.com Mon Apr 4 19:44:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:44:00 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/paho-mqtt-c: bump to version 1.3.10 Message-ID: <20220404193540.48EBC82772@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f74be7b432843d2da0ba6dc2ceea2c5dc15d60ed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Service release. Issues resolved: https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1 https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.10 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 0af793816dca4094ea6e917a1754ca5dbbce9894) Signed-off-by: Peter Korsgaard --- package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash index 4cdedfbf9a..931bf5b9c8 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.hash +++ b/package/paho-mqtt-c/paho-mqtt-c.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 386c9b5fa1cf6d0d516db12d57fd8f6a410dd0fdc5e9a2da870aae437a2535ed paho-mqtt-c-1.3.9.tar.gz +sha256 c70db96e66adacae411d5d875fbb08bca6ff9945de3d215b3af93cbd22792db5 paho-mqtt-c-1.3.10.tar.gz sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk index 68b58f2e02..d6356a7ccc 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.mk +++ b/package/paho-mqtt-c/paho-mqtt-c.mk @@ -4,7 +4,7 @@ # ################################################################################ -PAHO_MQTT_C_VERSION = 1.3.9 +PAHO_MQTT_C_VERSION = 1.3.10 PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From arnout at mind.be Mon Apr 4 19:45:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:45:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gstd: fix build with gcc 4.8 In-Reply-To: <20220403211754.2037013-1-fontaine.fabrice@gmail.com> References: <20220403211754.2037013-1-fontaine.fabrice@gmail.com> Message-ID: On 03/04/2022 23:17, Fabrice Fontaine wrote: > Fix the following build failure with gcc 4.8 raised since bump to > version 0.14.0 in commit a334b9a7668ba412cb2da79b75a019cd89985145 and > https://github.com/RidgeRun/gstd-1.x/commit/e83c94920bb33846ff0642dcf070fc5fd124e4f6: > > ../libgstd/libgstd.c: In function 'gstd_set_ipc': > ../libgstd/libgstd.c:119:5: error: 'for' loop initial declarations are only allowed in C99 mode > for (gint ipc_idx = 0; ipc_idx < num_ipcs; ipc_idx++) { > ^ > > Fixes: > - http://autobuild.buildroot.org/results/00ad1b8979000aa10a20228c998389bc913cbbd4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/gstreamer1/gstd/gstd.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/gstreamer1/gstd/gstd.mk b/package/gstreamer1/gstd/gstd.mk > index 08a29f26ff..817e9143ae 100644 > --- a/package/gstreamer1/gstd/gstd.mk > +++ b/package/gstreamer1/gstd/gstd.mk > @@ -28,6 +28,8 @@ GSTD_CONF_OPTS = \ > -Dwith-gstd-logstatedir=/var/log/gstd \ > -Dwith-gstd-systemddir=/usr/lib/systemd/system > > +GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 > + > ifeq ($(BR2_PACKAGE_SYSTEMD),y) > GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled > GSTD_DEPENDENCIES += systemd From peter at korsgaard.com Mon Apr 4 19:46:54 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 04 Apr 2022 21:46:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: needs C++ In-Reply-To: <20220402160718.750069-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 18:07:18 +0200") References: <20220402160718.750069-1-fontaine.fabrice@gmail.com> Message-ID: <87o81gws0h.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > fluidsynth needs C++ since bump to version 2.2.0 in commit > 7e02d2e762eb94fde1f222df1b960dbd263fa946 and > https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: > CMake Error at CMakeLists.txt:32 (project): > No CMAKE_CXX_COMPILER could be found. > Fixes: > - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Mon Apr 4 19:32:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:32:35 +0200 Subject: [Buildroot] [git commit] package/libpsl: fix build with libiconv Message-ID: <20220404193732.C99F282965@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3239fb5b179d043ecfc854dd2f4962444d8b36a6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since the addition of the package in commit 47acda3a95bd4310f884e741f20785d374af7b22: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': psl.c:(.text+0x1584): undefined reference to `libiconv_open' Fixes: - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...001-Add-libiconv-dep-to-meson-build-again.patch | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch new file mode 100644 index 0000000000..72f50aa593 --- /dev/null +++ b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch @@ -0,0 +1,60 @@ +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 +From: Zhao Zhili +Date: Thu, 7 Jan 2021 20:59:17 +0800 +Subject: [PATCH] Add libiconv dep to meson build again + +Build success on macOS and ubuntu. + +[Retrieved from: +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 14 ++++++++++++++ + src/meson.build | 2 +- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f248171..fb2de31 100644 +--- a/meson.build ++++ b/meson.build +@@ -20,6 +20,7 @@ libicu_dep = notfound + libidn_dep = notfound + libunistring = notfound + networking_deps = notfound ++libiconv_dep = notfound + + # FIXME: Cleanup this when Meson gets 'feature-combo': + # https://github.com/mesonbuild/meson/issues/4566 +@@ -86,6 +87,19 @@ endif + if libidn2_dep.found() or libidn_dep.found() + # Check for libunistring, we need it for psl_str_to_utf8lower() + libunistring = cc.find_library('unistring') ++ found_iconv = false ++ if cc.has_function('iconv_open') ++ libiconv_dep = [] ++ found_iconv = true ++ endif ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') ++ libiconv_dep = [cc.find_library('iconv')] ++ found_iconv = true ++ endif ++ ++ if not found_iconv ++ error('iconv implementation not found') ++ endif + endif + + if host_machine.system() == 'windows' +diff --git a/src/meson.build b/src/meson.build +index 0d1dcdf..746bf44 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -19,7 +19,7 @@ cargs = [ + libpsl = library('psl', sources, suffixes_dafsa_h, + include_directories : [configinc, includedir], + c_args : cargs, +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], + version: lt_version, + install: true, + ) From arnout at mind.be Mon Apr 4 19:43:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:43:52 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gstd: fix build with gcc 4.8 Message-ID: <20220404193732.EADD082970@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=441bd6c4691bb514e157a1416ce926432086b1ab branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc 4.8 raised since bump to version 0.14.0 in commit a334b9a7668ba412cb2da79b75a019cd89985145 and https://github.com/RidgeRun/gstd-1.x/commit/e83c94920bb33846ff0642dcf070fc5fd124e4f6: ../libgstd/libgstd.c: In function 'gstd_set_ipc': ../libgstd/libgstd.c:119:5: error: 'for' loop initial declarations are only allowed in C99 mode for (gint ipc_idx = 0; ipc_idx < num_ipcs; ipc_idx++) { ^ Fixes: - http://autobuild.buildroot.org/results/00ad1b8979000aa10a20228c998389bc913cbbd4 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gstreamer1/gstd/gstd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gstreamer1/gstd/gstd.mk b/package/gstreamer1/gstd/gstd.mk index 08a29f26ff..817e9143ae 100644 --- a/package/gstreamer1/gstd/gstd.mk +++ b/package/gstreamer1/gstd/gstd.mk @@ -28,6 +28,8 @@ GSTD_CONF_OPTS = \ -Dwith-gstd-logstatedir=/var/log/gstd \ -Dwith-gstd-systemddir=/usr/lib/systemd/system +GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 + ifeq ($(BR2_PACKAGE_SYSTEMD),y) GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled GSTD_DEPENDENCIES += systemd From arnout at mind.be Mon Apr 4 19:42:44 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:42:44 +0200 Subject: [Buildroot] [git commit] package/glib-networking: doesn't support libressl Message-ID: <20220404193732.D3A1F82970@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e02514ad7a11c24b8fbd7a4bd57c7b4419a61505 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master glib-networking raises the following build failure with libressl: ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) | ^~~~~~~~~~~~~~ | TLS1_2_VERSION ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~ Since libressl doesn't (intend to) support post-1.0.2 openssl compatibility, this is only going to get worse. Therefore, require libopenssl. Fixes: - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/glib-networking/Config.in | 1 + package/glib-networking/glib-networking.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in index 38cded5e6b..9c5d36af16 100644 --- a/package/glib-networking/Config.in +++ b/package/glib-networking/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS help Network-related GIO modules for glib. diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index f74e520d31..e8905dfff4 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -31,7 +31,7 @@ else GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) GLIB_NETWORKING_DEPENDENCIES += openssl GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled else From arnout at mind.be Mon Apr 4 19:43:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:43:52 +0200 Subject: [Buildroot] [git commit] package/python-snappy: bump version to 0.6.1 Message-ID: <20220404193733.0096182980@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=968450adfdf1042ddcd8a0ab157dd9747ec6ee8b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Required by python-crossbar and python-autobahn[compress]. Signed-off-by: Emile Cormier Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-snappy/python-snappy.hash | 6 +++--- package/python-snappy/python-snappy.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-snappy/python-snappy.hash b/package/python-snappy/python-snappy.hash index 1e0f96054f..c4dbc72077 100644 --- a/package/python-snappy/python-snappy.hash +++ b/package/python-snappy/python-snappy.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/python-snappy/json -md5 82e09ffd44204096fc70d6de14d0ea2f python-snappy-0.5.4.tar.gz -sha256 d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2 python-snappy-0.5.4.tar.gz +md5 fc84cfa3526fba06d66f0d0b2e764300 python-snappy-0.6.1.tar.gz +sha256 b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a python-snappy-0.6.1.tar.gz # Locally computed sha256 checksums -sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE +sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE diff --git a/package/python-snappy/python-snappy.mk b/package/python-snappy/python-snappy.mk index d087c83b10..e80aa861df 100644 --- a/package/python-snappy/python-snappy.mk +++ b/package/python-snappy/python-snappy.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_SNAPPY_VERSION = 0.5.4 -PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be +PYTHON_SNAPPY_VERSION = 0.6.1 +PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/98/7a/44a24bad98335b2c72e4cadcdecf79f50197d1bab9f22f863a274f104b96 PYTHON_SNAPPY_SETUP_TYPE = setuptools PYTHON_SNAPPY_LICENSE = BSD-3-Clause PYTHON_SNAPPY_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 4 19:43:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:43:52 +0200 Subject: [Buildroot] [git commit] package/dieharder: drop rgb_operm Message-ID: <20220404193732.E0B2482965@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d0ffdb2bdd22432f6f269a43ceaf7f1e51d535b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure: /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to `rgb_operm' Fixes: - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../dieharder/0005-Remove-defunct-rgb_operm.patch | 732 +++++++++++++++++++++ 1 file changed, 732 insertions(+) diff --git a/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/package/dieharder/0005-Remove-defunct-rgb_operm.patch new file mode 100644 index 0000000000..efc311dbaa --- /dev/null +++ b/package/dieharder/0005-Remove-defunct-rgb_operm.patch @@ -0,0 +1,732 @@ +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marcus=20M=C3=BCller?= +Date: Mon, 12 Oct 2020 21:30:12 +0200 +Subject: [PATCH] Remove defunct rgb_operm + +[Retrieved from: +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] +Signed-off-by: Fabrice Fontaine +--- + include/Makefile.am | 1 - + include/dieharder/rgb_operm.h | 38 -- + include/dieharder/tests.h | 2 - + libdieharder/rgb_operm.c | 633 ---------------------------------- + 4 files changed, 674 deletions(-) + delete mode 100644 include/dieharder/rgb_operm.h + delete mode 100644 libdieharder/rgb_operm.c + +diff --git a/include/Makefile.am b/include/Makefile.am +index f80b4ff..e4659cd 100644 +--- a/include/Makefile.am ++++ b/include/Makefile.am +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ + dieharder/rgb_lagged_sums.h \ + dieharder/rgb_lmn.h \ + dieharder/rgb_minimum_distance.h \ +- dieharder/rgb_operm.h \ + dieharder/rgb_persist.h \ + dieharder/rgb_permutations.h \ + dieharder/rgb_timing.h \ +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +deleted file mode 100644 +index c48fa37..0000000 +--- a/include/dieharder/rgb_operm.h ++++ /dev/null +@@ -1,38 +0,0 @@ +-/* +- * rgb_operm test header. +- */ +- +-/* +- * function prototype +- */ +-int rgb_operm(Test **test,int irun); +- +-static Dtest rgb_operm_dtest __attribute__((unused)) = { +- "RGB Overlapping Permuations Test", +- "rgb_operm", +- "\n\ +-#========================================================================\n\ +-# RGB Overlapping Permutations Test\n\ +-# Forms both the exact (expected) covariance matrix for overlapping\n\ +-# permutations of random integer and an empirical covariance matrix\n\ +-# formed from a long string of samples. The difference is expected\n\ +-# to have a chisq distribution and hence can be transformed into a\n\ +-# sample p-value. Note that this is one possible functional replacement\n\ +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ +-# number of numbers in the overlapping permutation window) to be varied\n\ +-# from 2 to perhaps 8.\n\ +-#\n", +- 100, /* Default psamples */ +- 100000, /* Default tsamples */ +- 1, /* We magically make all the bit tests return a single histogram */ +- rgb_operm, +- 0 +-}; +- +-/* +- * Global variables. +- * +- * rgb_operm_k is the size of the overlapping window that is slid along +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. +- */ +-unsigned int rgb_operm_k; +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h +index 1674aed..b50dbe3 100644 +--- a/include/dieharder/tests.h ++++ b/include/dieharder/tests.h +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -80,7 +79,6 @@ + RGB_PERMUTATIONS, + RGB_LAGGED_SUMS, + RGB_LMN, +- RGB_OPERM, + DAB_BYTEDISTRIB, + DAB_DCT, + DAB_FILLTREE, +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c +deleted file mode 100644 +index 15f8e9a..0000000 +--- a/libdieharder/rgb_operm.c ++++ /dev/null +@@ -1,633 +0,0 @@ +-/* +- * ======================================================================== +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ +- * +- * See copyright in copyright.h and the accompanying file COPYING +- * ======================================================================== +- */ +- +-/* +- * ======================================================================== +- * This is the revised Overlapping Permutations test. It directly +- * simulates the covariance matrix of overlapping permutations. The way +- * this works below (tentatively) is: +- * +- * For a bit ntuple of length N, slide a window of length N to the +- * right one bit at a time. Compute the permutation index of the +- * original ntuple, the permutation index of the window ntuple, and +- * accumulate the covariance matrix of the two positions. This +- * can be directly and precisely computed as well. The simulated +- * result should be distributed according to the chisq distribution, +- * so we subtract the two and feed it into the chisq program as a +- * vector to compute p. +- * +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited +- * documentation (in a program that doesn't do ANYTHING like what the +- * documentation says it does) and from Nilpotent Markov Processes. +- * But I confess to not quite understand how to actually perform the +- * test in the latter -- it is very good at describing the construction +- * of the target matrix, not so good at describing how to transform +- * this into a chisq and p. +- * +- * FWIW, as I get something that actually works here, I'm going to +- * THOROUGHLY document it in the book that will accompany the test. +- *======================================================================== +- */ +- +-#include +-#define RGB_OPERM_KMAX 10 +- +-/* +- * Some globals that will eventually go in the test include where they +- * arguably belong. +- */ +-double fpipi(int pi1,int pi2,int nkp); +-uint piperm(size_t *data,int len); +-void make_cexact(); +-void make_cexpt(); +-int nperms,noperms; +-double **cexact,**ceinv,**cexpt,**idty; +-double *cvexact,*cvein,*cvexpt,*vidty; +- +-int rgb_operm(Test **test,int irun) +-{ +- +- int i,j,n,nb,iv,s; +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ +- uint *count,ctotal; /* counters */ +- uint size; +- double pvalue,ntuple_prob,pbin; /* probabilities */ +- Vtest *vtest; /* Chisq entry vector */ +- +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; +- +- /* +- * For a given n = ntuple size in bits, there are n! bit orderings +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("#==================================================================\n"); +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); +- printf("# rgb_operm: ======================================================\n"); +- } +- +- /* +- * Sanity check first +- */ +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); +- exit(0); +- } +- +- nperms = gsl_sf_fact(rgb_operm_k); +- noperms = gsl_sf_fact(3*rgb_operm_k-2); +- csamples = rgb_operm_k*rgb_operm_k; +- gsl_permutation * p = gsl_permutation_alloc(nperms); +- +- /* +- * Allocate memory for value_max vector of Vtest structs and counts, +- * PER TEST. Note that we must free both of these when we are done +- * or leak. +- */ +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); +- count = (uint *)malloc(csamples*sizeof(uint)); +- Vtest_create(vtest,csamples+1); +- +- /* +- * We have to allocate and free the cexact and cexpt matrices here +- * or they'll be forgotten when these routines return. +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); +- } +- cexact = (double **)malloc(nperms*sizeof(double*)); +- ceinv = (double **)malloc(nperms*sizeof(double*)); +- cexpt = (double **)malloc(nperms*sizeof(double*)); +- idty = (double **)malloc(nperms*sizeof(double*)); +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); +- for(i=0;idata[k]; +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("#------------------------------------------------------------------\n"); +- printf("# Generating offset sample permutation pi's\n"); +- } +- */ +- for(k=0;k<2*rgb_operm_k - 1;k++){ +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); +- pi[k] = piperm((size_t *) ps,rgb_operm_k); +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("# %u: ",k); +- for(ip=k;ipdata[ip]); +- } +- printf(" = %u\n",pi[k]); +- } +- */ +- } +- +- /* +- * This is the business end of things. The covariance matrix is the +- * the sum of a central function of the permutation indices that yields +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the +- * possible permutations, for the FIRST permutation in a sample (fi) +- * times the sum of the same function over all the overlapping permutations +- * drawn from the same sample. Quite simple, really. +- */ +- for(i=0;idata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } else { +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); +- gsl_permutation_next(lookup[i]); +- for(j=0;jdata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } +- } +- */ +- MYDEBUG(D_RGB_OPERM){ +- for(i=0;i ",i); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf("\n"); +- } +- } +- +- } +- +- for(i=0;idata,len*sizeof(uint))==0){ +- /* Not cruft, but off: +- MYDEBUG(D_RGB_OPERM){ +- printf("# piperm(): "); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf(" = %u\n",i); +- } +- */ +- return(i); +- } +- } +- printf("We'd better not get here...\n"); +- +- return(0); +- +-} +- +-double fpipi(int pi1,int pi2,int nkp) +-{ +- +- int i; +- double fret; +- +- /* +- * compute the k-permutation index from iperm for the window +- * at data[offset] of length len. If it matches pind, return +- * the first quantity, otherwise return the second. +- */ +- if(pi1 == pi2){ +- +- fret = (double) (nkp - 1.0)/nkp; +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } else { +- +- fret = (double) (-1.0/nkp); +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } +- +- +-} +- +- +- +- From arnout at mind.be Mon Apr 4 19:47:22 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 21:47:22 +0200 Subject: [Buildroot] [PATCH 1/6] package/python-snappy: bump version to 0.6.1 In-Reply-To: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> References: <20220403221953.1158787-1-emile.cormier.jr@gmail.com> Message-ID: On 04/04/2022 00:19, Emile Cormier wrote: > From: ecorm Meh, annoying that github does this. > > Required by python-crossbar and python-autobahn[compress]. > Signed-off-by: Emile Cormier Please make sure there's an empty line before your Signed-off-by. > --- > package/python-snappy/python-snappy.hash | 4 ++-- > package/python-snappy/python-snappy.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/python-snappy/python-snappy.hash b/package/python-snappy/python-snappy.hash > index 1e0f96054f..32df2bea48 100644 > --- a/package/python-snappy/python-snappy.hash > +++ b/package/python-snappy/python-snappy.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/python-snappy/json > -md5 82e09ffd44204096fc70d6de14d0ea2f python-snappy-0.5.4.tar.gz > -sha256 d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2 python-snappy-0.5.4.tar.gz > +md5 fc84cfa3526fba06d66f0d0b2e764300 python-snappy-0.6.1.tar.gz > +sha256 b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a python-snappy-0.6.1.tar.gz When updating a hash file, please also update the spacing to two spaces (as reported by check-package). Applied to master with all of the above fixed, thanks. Regards, Arnout > # Locally computed sha256 checksums > sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE > diff --git a/package/python-snappy/python-snappy.mk b/package/python-snappy/python-snappy.mk > index d087c83b10..e80aa861df 100644 > --- a/package/python-snappy/python-snappy.mk > +++ b/package/python-snappy/python-snappy.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -PYTHON_SNAPPY_VERSION = 0.5.4 > -PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be > +PYTHON_SNAPPY_VERSION = 0.6.1 > +PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/98/7a/44a24bad98335b2c72e4cadcdecf79f50197d1bab9f22f863a274f104b96 > PYTHON_SNAPPY_SETUP_TYPE = setuptools > PYTHON_SNAPPY_LICENSE = BSD-3-Clause > PYTHON_SNAPPY_LICENSE_FILES = LICENSE From peter at korsgaard.com Mon Apr 4 19:46:41 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 4 Apr 2022 21:46:41 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/fluidsynth: needs C++ Message-ID: <20220404193844.95069829FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=81317c9ee54bf464b89765afa9808f7ecb4db6b2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x fluidsynth needs C++ since bump to version 2.2.0 in commit 7e02d2e762eb94fde1f222df1b960dbd263fa946 and https://github.com/FluidSynth/fluidsynth/commit/0d98c47545aa2424741c0cc2b244e4f73249302c: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/fe677f7b38c8ed7011f1c976bdb45768067936f7 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 2eeb66a82b2dc5696cb1b9b9e9a1f0df1e7b1647) Signed-off-by: Peter Korsgaard --- package/fluidsynth/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in index 5726e235e4..376419ce8f 100644 --- a/package/fluidsynth/Config.in +++ b/package/fluidsynth/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUIDSYNTH # the .pc file installed by fluidsynth does not mention its # indirect dependencies in Libs.private. depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBGLIB2 help FluidSynth is a real-time software synthesizer based on the @@ -128,7 +129,7 @@ config BR2_PACKAGE_FLUIDSYNTH_READLINE endif # BR2_PACKAGE_FLUIDSYNTH -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From yann.morin.1998 at free.fr Mon Apr 4 19:55:03 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 4 Apr 2022 21:55:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Message-ID: <20220404195503.GG2354230@scaer> Fabrice, All, On 2022-04-03 12:03 +0200, Fabrice Fontaine spake thusly: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 That config still does not build for me even with this patch: >>> dhcp 4.4.2-P1 Building PATH="/home/ymorin/dev/buildroot/O/host/bin:/home/ymorin/dev/buildroot/O/host/sbin:/home/ymorin/bin:/home/ymorin/bin:/opt/mutt/bin:/opt/containerd/bin:/home/ymorin/bin:/home/ymorin/bin:/opt/mutt/bin:/opt/containerd/bin:/home/ymorin/bin:/home/ymorin/bin:/opt/mutt/bin:/opt/containerd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j1 -C /home/ymorin/dev/buildroot/O/build/dhcp-4.4.2-P1/ Making all in ./bind Configuring BIND libraries for DHCP. configure: WARNING: using cross tools not prefixed with host triplet configure: error: include/zlib.h not found. make[3]: *** [Makefile:42: bind1] Error 1 make[2]: *** [Makefile:495: all-recursive] Error 1 make[1]: *** [package/pkg-generic.mk:292: /home/ymorin/dev/buildroot/O/build/dhcp-4.4.2-P1/.stamp_built] Error 2 make: *** [Makefile:23: _all] Error 2 Regards, Yann E. MORIN. > Signed-off-by: Fabrice Fontaine > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Mon Apr 4 20:13:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:13:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/protobuf: add additional supported host architectures In-Reply-To: <20220404014252.566711-1-james.hilliard1@gmail.com> References: <20220404014252.566711-1-james.hilliard1@gmail.com> Message-ID: <018d65ff-6857-ec13-1f14-bb99a0b86371@mind.be> On 04/04/2022 03:42, James Hilliard wrote: > Move supported host architectures under > BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS and propagate the reverse > dependency. > > Add additional supported host architectures based on current > src/google/protobuf/stubs/platform_macros.h > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/collectd/Config.in | 6 +++--- > package/kismet/Config.in | 4 ++-- > package/protobuf-c/Config.in | 4 ++-- > package/protobuf/Config.in | 16 +++++++++++++++- > package/python-protobuf/Config.in | 2 +- > package/riemann-c-client/Config.in | 4 ++-- > 6 files changed, 25 insertions(+), 11 deletions(-) > > diff --git a/package/collectd/Config.in b/package/collectd/Config.in > index 67413ffde0..43eef3bf66 100644 > --- a/package/collectd/Config.in > +++ b/package/collectd/Config.in > @@ -725,7 +725,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN > bool "riemann" > # riemann-c-client -> protobuf-c > depends on BR2_INSTALL_LIBSTDCPP > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > select BR2_PACKAGE_RIEMANN_C_CLIENT > select BR2_PACKAGE_LIBTOOL > help > @@ -759,7 +759,7 @@ config BR2_PACKAGE_COLLECTD_WRITELOG > config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS > bool "write_prometheus" > depends on BR2_INSTALL_LIBSTDCPP # protobuf-c > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > select BR2_PACKAGE_LIBMICROHTTPD > select BR2_PACKAGE_PROTOBUF_C > help > @@ -768,7 +768,7 @@ config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS > > comment "write_prometheus needs a toolchain w/ C++" > depends on !BR2_INSTALL_LIBSTDCPP > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > > config BR2_PACKAGE_COLLECTD_WRITEREDIS > bool "write_redis" > diff --git a/package/kismet/Config.in b/package/kismet/Config.in > index 961d5f230e..7bde6c92af 100644 > --- a/package/kismet/Config.in > +++ b/package/kismet/Config.in > @@ -3,14 +3,14 @@ comment "kismet needs a toolchain w/ threads, C++, gcc >= 5" > depends on !BR2_INSTALL_LIBSTDCPP || \ > !BR2_TOOLCHAIN_HAS_THREADS || \ > !BR2_TOOLCHAIN_GCC_AT_LEAST_5 > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > > config BR2_PACKAGE_KISMET > bool "kismet" > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_TOOLCHAIN_HAS_THREADS > depends on BR2_USE_MMU # fork() > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 > select BR2_PACKAGE_LIBPCAP > select BR2_PACKAGE_PROTOBUF_C > diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in > index a32e6cd9e8..d96cd7b382 100644 > --- a/package/protobuf-c/Config.in > +++ b/package/protobuf-c/Config.in > @@ -3,7 +3,7 @@ config BR2_PACKAGE_PROTOBUF_C > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_TOOLCHAIN_HAS_THREADS > # host-protobuf only builds on certain architectures > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > help > Code generator and runtime libraries to use Protocol Buffers > from pure C (not C++). > @@ -12,4 +12,4 @@ config BR2_PACKAGE_PROTOBUF_C > > comment "protobuf-c needs a toolchain w/ C++, threads" > depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in > index 46c820b9cf..47e987fa2b 100644 > --- a/package/protobuf/Config.in > +++ b/package/protobuf/Config.in > @@ -14,6 +14,20 @@ > # and we can live with requiring gcc 4.8 on PowerPC to build protobuf. > # > # host-protobuf only builds on certain architectures > +config BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > + bool > + default y if BR2_HOSTARCH = "aarch64" > + default y if BR2_HOSTARCH = "arm" > + default y if BR2_HOSTARCH = "mips" > + default y if BR2_HOSTARCH = "mipsel" > + default y if BR2_HOSTARCH = "powerpc" > + default y if BR2_HOSTARCH = "powerpc64" > + default y if BR2_HOSTARCH = "powerpc64le" > + default y if BR2_HOSTARCH = "sparc" > + default y if BR2_HOSTARCH = "sparc64" > + default y if BR2_HOSTARCH = "x86" > + default y if BR2_HOSTARCH = "x86_64" > + > config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > bool > default y if BR2_arm > @@ -22,7 +36,7 @@ config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > default y if BR2_x86_64 > default y if BR2_sparc64 > default y if BR2_TOOLCHAIN_HAS_ATOMIC > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > depends on BR2_USE_MMU # fork() > > config BR2_PACKAGE_PROTOBUF > diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in > index 1af82112b4..7de463520d 100644 > --- a/package/python-protobuf/Config.in > +++ b/package/python-protobuf/Config.in > @@ -1,7 +1,7 @@ > config BR2_PACKAGE_PYTHON_PROTOBUF > bool "python-protobuf" > # host-protobuf only builds on certain architectures > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS > select BR2_PACKAGE_PYTHON_SIX # runtime > help > Python implementation of the Google Protocol Buffers. > diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in > index e9982b2fb0..6c3c35caf8 100644 > --- a/package/riemann-c-client/Config.in > +++ b/package/riemann-c-client/Config.in > @@ -2,7 +2,7 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT > bool "riemann-c-client" > depends on BR2_INSTALL_LIBSTDCPP # protobuf-c > depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > select BR2_PACKAGE_PROTOBUF_C > help > Riemann-c-client is a C client library for the Riemann > @@ -14,4 +14,4 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT > > comment "riemann-c-client needs a toolchain w/ C++, threads" > depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS > - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS From arnout at mind.be Mon Apr 4 20:15:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:15:58 +0200 Subject: [Buildroot] [PATCH 1/1] configs/licheepi_zero: bump uboot custom version to 2022.01 In-Reply-To: <20220404062743.9199-1-scritchlow@bioshall.co.uk> References: <20220404062743.9199-1-scritchlow@bioshall.co.uk> Message-ID: <16ed1f4b-54e8-9048-13a9-f265c599dfcb@mind.be> On 04/04/2022 08:27, scritchlow at bioshall.co.uk wrote: > From: Steve Critchlow > > This also removes the dependency to have Python2 installed. > > Signed-off-by: Steve Critchlow Applied to master, thanks. Regards, Arnout > --- > configs/licheepi_zero_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig > index 2e1a413988..d7a281a0a0 100644 > --- a/configs/licheepi_zero_defconfig > +++ b/configs/licheepi_zero_defconfig > @@ -36,7 +36,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="LicheePi_Zero" > BR2_TARGET_UBOOT_NEEDS_DTC=y > BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y From arnout at mind.be Mon Apr 4 20:16:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:16:16 +0200 Subject: [Buildroot] [PATCH v1] package/util-linux: bump version to 2.38 In-Reply-To: <20220404071229.18768-1-ps.report@gmx.net> References: <20220404071229.18768-1-ps.report@gmx.net> Message-ID: On 04/04/2022 09:12, Peter Seiderer wrote: > - remove 0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > (from upstream [3]) > > - remove 0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > (from upstream [4]) > > - handle new lsfd option > - handle new ipcmk option > > For details see [1] and [2]. > > [1] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ChangeLog > [2] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes > [3] https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c > [4] https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6 > > Signed-off-by: Peter Seiderer Applied to master, thanks. Regards, Arnout > --- > ...nclude-c-h-to-cover-restrict-keyword.patch | 30 ---- > ...cache-as-probed-if-sys-not-available.patch | 141 ------------------ > package/util-linux/Config.in | 12 ++ > ...nclude-c-h-to-cover-restrict-keyword.patch | 1 - > ...cache-as-probed-if-sys-not-available.patch | 1 - > package/util-linux/util-linux.hash | 4 +- > package/util-linux/util-linux.mk | 8 +- > 7 files changed, 20 insertions(+), 177 deletions(-) > delete mode 100644 package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > delete mode 100644 package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > delete mode 120000 package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > delete mode 120000 package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > > diff --git a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > deleted file mode 100644 > index 3b4f510920..0000000000 > --- a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > +++ /dev/null > @@ -1,30 +0,0 @@ > -From 5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c Mon Sep 17 00:00:00 2001 > -From: Karel Zak > -Date: Thu, 5 Aug 2021 09:46:21 +0200 > -Subject: libuuid: include c.h to cover restrict keyword > - > -References: https://github.com/karelzak/util-linux/issues/1405 > -Signed-off-by: Karel Zak > - > -[Retrieved from: > -https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c] > -Signed-off-by: Fabrice Fontaine > ---- > - libuuid/src/unparse.c | 1 + > - 1 file changed, 1 insertion(+) > - > -diff --git a/libuuid/src/unparse.c b/libuuid/src/unparse.c > -index f9a5e4315..ffeed2ed6 100644 > ---- a/libuuid/src/unparse.c > -+++ b/libuuid/src/unparse.c > -@@ -33,6 +33,7 @@ > - */ > - > - #include > -+#include "c.h" > - > - #include "uuidP.h" > - > --- > -cgit 1.2.3-1.el7 > - > diff --git a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > deleted file mode 100644 > index bfc8f60834..0000000000 > --- a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > +++ /dev/null > @@ -1,141 +0,0 @@ > -From 84d38ae3eca523ef990cb848563cc63de25266e6 Mon Sep 17 00:00:00 2001 > -From: Karel Zak > -Date: Fri, 19 Nov 2021 14:19:03 +0100 > -Subject: [PATCH] libblkid: don't mark cache as "probed" if /sys not available > - > -For "mount --all" we need to read the cache more than once in a short > -time. The library checks the delay between probes, and if the delay is > -too short, it does not read devices. This is a problem on boot when there > -are no /sys, and the cache is empty. In this case, we need to check > -for /sys until it's available constantly. > - > -https://github.com/util-linux/util-linux/issues/1492 > -Signed-off-by: Karel Zak > - > -[Retrieved from: > -https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6] > -Signed-off-by: Fabrice Fontaine > ---- > - libblkid/src/devname.c | 26 +++++++++++++++++--------- > - libblkid/src/resolve.c | 2 +- > - libblkid/src/tag.c | 8 +++++--- > - 3 files changed, 23 insertions(+), 13 deletions(-) > - > -diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c > -index 90a8245fc9..9a173e3489 100644 > ---- a/libblkid/src/devname.c > -+++ b/libblkid/src/devname.c > -@@ -429,6 +429,8 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) > - if (!sysfs) > - return -BLKID_ERR_SYSFS; > - > -+ DBG(DEVNAME, ul_debug(" probe /sys/block")); > -+ > - /* scan /sys/block */ > - while ((dev = xreaddir(sysfs))) { > - DIR *dir = NULL; > -@@ -533,14 +535,18 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) > - /* > - * Read the device data for all available block devices in the system. > - */ > --static int probe_all(blkid_cache cache, int only_if_new) > -+static int probe_all(blkid_cache cache, int only_if_new, int update_interval) > - { > -+ int rc; > -+ > - if (!cache) > - return -BLKID_ERR_PARAM; > - > - if (cache->bic_flags & BLKID_BIC_FL_PROBED && > -- time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) > -+ time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) { > -+ DBG(PROBE, ul_debug("don't re-probe [delay < %d]", BLKID_PROBE_INTERVAL)); > - return 0; > -+ } > - > - blkid_read_cache(cache); > - #ifdef VG_DIR > -@@ -548,7 +554,13 @@ static int probe_all(blkid_cache cache, int only_if_new) > - #endif > - ubi_probe_all(cache, only_if_new); > - > -- sysfs_probe_all(cache, only_if_new, 0); > -+ rc = sysfs_probe_all(cache, only_if_new, 0); > -+ > -+ /* Don't mark the change as "probed" if /sys not avalable */ > -+ if (update_interval && rc == 0) { > -+ cache->bic_time = time(NULL); > -+ cache->bic_flags |= BLKID_BIC_FL_PROBED; > -+ } > - > - blkid_flush_cache(cache); > - return 0; > -@@ -567,11 +579,7 @@ int blkid_probe_all(blkid_cache cache) > - int ret; > - > - DBG(PROBE, ul_debug("Begin blkid_probe_all()")); > -- ret = probe_all(cache, 0); > -- if (ret == 0) { > -- cache->bic_time = time(NULL); > -- cache->bic_flags |= BLKID_BIC_FL_PROBED; > -- } > -+ ret = probe_all(cache, 0, 1); > - DBG(PROBE, ul_debug("End blkid_probe_all() [rc=%d]", ret)); > - return ret; > - } > -@@ -589,7 +597,7 @@ int blkid_probe_all_new(blkid_cache cache) > - int ret; > - > - DBG(PROBE, ul_debug("Begin blkid_probe_all_new()")); > -- ret = probe_all(cache, 1); > -+ ret = probe_all(cache, 1, 0); > - DBG(PROBE, ul_debug("End blkid_probe_all_new() [rc=%d]", ret)); > - return ret; > - } > -diff --git a/libblkid/src/resolve.c b/libblkid/src/resolve.c > -index 641b022860..16653fa8e1 100644 > ---- a/libblkid/src/resolve.c > -+++ b/libblkid/src/resolve.c > -@@ -32,7 +32,7 @@ char *blkid_get_tag_value(blkid_cache cache, const char *tagname, > - blkid_cache c = cache; > - char *ret = NULL; > - > -- DBG(TAG, ul_debug("looking for %s on %s", tagname, devname)); > -+ DBG(TAG, ul_debug("looking for tag %s on %s device", tagname, devname)); > - > - if (!devname) > - return NULL; > -diff --git a/libblkid/src/tag.c b/libblkid/src/tag.c > -index 390a648648..178336505f 100644 > ---- a/libblkid/src/tag.c > -+++ b/libblkid/src/tag.c > -@@ -326,14 +326,14 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, > - blkid_dev dev; > - int pri; > - struct list_head *p; > -- int probe_new = 0; > -+ int probe_new = 0, probe_all = 0; > - > - if (!cache || !type || !value) > - return NULL; > - > - blkid_read_cache(cache); > - > -- DBG(TAG, ul_debug("looking for %s=%s in cache", type, value)); > -+ DBG(TAG, ul_debug("looking for tag %s=%s in cache", type, value)); > - > - try_again: > - pri = -1; > -@@ -366,9 +366,11 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, > - goto try_again; > - } > - > -- if (!dev && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { > -+ if (!dev && !probe_all > -+ && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { > - if (blkid_probe_all(cache) < 0) > - return NULL; > -+ probe_all++; > - goto try_again; > - } > - return dev; > diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in > index 9e9b8933e5..d3c0070160 100644 > --- a/package/util-linux/Config.in > +++ b/package/util-linux/Config.in > @@ -146,6 +146,11 @@ config BR2_PACKAGE_UTIL_LINUX_HWCLOCK > help > Query or set the hardware clock (RTC) > > +config BR2_PACKAGE_UTIL_LINUX_IPCMK > + bool "ipcmk" > + help > + Make various IPC resources > + > config BR2_PACKAGE_UTIL_LINUX_IPCRM > bool "ipcrm" > help > @@ -198,6 +203,13 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP > help > Set up and control loop devices > > +config BR2_PACKAGE_UTIL_LINUX_LSFD > + bool "lsfd" > + depends on BR2_USE_MMU # libsmartcols > + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS > + help > + List file descriptors (modern replacement for lsof) > + > config BR2_PACKAGE_UTIL_LINUX_LSLOGINS > bool "lslogins" > depends on BR2_USE_MMU # libsmartcols > diff --git a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > deleted file mode 120000 > index beecc3a48f..0000000000 > --- a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > +++ /dev/null > @@ -1 +0,0 @@ > -../0001-libuuid-include-c-h-to-cover-restrict-keyword.patch > \ No newline at end of file > diff --git a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > deleted file mode 120000 > index 2f3c482144..0000000000 > --- a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > +++ /dev/null > @@ -1 +0,0 @@ > -../0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch > \ No newline at end of file > diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash > index 748a36e0be..6f1bb74ecb 100644 > --- a/package/util-linux/util-linux.hash > +++ b/package/util-linux/util-linux.hash > @@ -1,5 +1,5 @@ > -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc > -sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz > +# From https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/sha256sums.asc > +sha256 6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64 util-linux-2.38.tar.xz > # License files, locally calculated > sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing > sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause > diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk > index 891c17d1d9..9d9b61d8f5 100644 > --- a/package/util-linux/util-linux.mk > +++ b/package/util-linux/util-linux.mk > @@ -7,8 +7,8 @@ > # When making changes to this file, please check if > # util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. > > -UTIL_LINUX_VERSION_MAJOR = 2.37 > -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4 > +UTIL_LINUX_VERSION_MAJOR = 2.38 > +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR) > UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz > UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) > > @@ -140,6 +140,7 @@ UTIL_LINUX_CONF_OPTS += \ > $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_HARDLINK),--enable-hardlink,--disable-hardlink) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_HWCLOCK),--enable-hwclock --disable-hwclock-gplv3,--disable-hwclock) \ > + $(if $(BR2_PACKAGE_UTIL_LINUX_IPCMK),--enable-ipcmk,--disable-ipcmk) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ > @@ -153,6 +154,7 @@ UTIL_LINUX_CONF_OPTS += \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LOGGER),--enable-logger,--disable-logger) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN),--enable-login,--disable-login) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ > + $(if $(BR2_PACKAGE_UTIL_LINUX_LSFD),--enable-lsfd,--disable-lsfd) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LSLOGINS),--enable-lslogins,--disable-lslogins) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_LSMEM),--enable-lsmem,--disable-lsmem) \ > $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ > @@ -214,7 +216,9 @@ HOST_UTIL_LINUX_CONF_OPTS += \ > --disable-agetty \ > --disable-chfn-chsh \ > --disable-chmem \ > + --disable-ipcmk \ > --disable-login \ > + --disable-lsfd \ > --disable-lslogins \ > --disable-mesg \ > --disable-more \ From arnout at mind.be Mon Apr 4 20:17:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:17:14 +0200 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc In-Reply-To: <20220404091256.683581-1-joel@jms.id.au> References: <20220404091256.683581-1-joel@jms.id.au> Message-ID: <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> On 04/04/2022 11:12, Joel Stanley wrote: > Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the Peter just backported this one to 2022.02.x... > Power8 optimisations off to fix a build issue. Instead apply a patch > from the develop branch upstream to fix the issue. > > This patch is not yet in a released version of zlib-ng. > > Signed-off-by: Joel Stanley Applied to master, thanks. Regards, Arnout > --- > ...rd-for-vec_sumsu-to-prevent-undefine.patch | 27 +++++++++++++++++++ > package/zlib-ng/zlib-ng.mk | 6 ----- > 2 files changed, 27 insertions(+), 6 deletions(-) > create mode 100644 package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > > diff --git a/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > new file mode 100644 > index 000000000000..cc103215de3c > --- /dev/null > +++ b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > @@ -0,0 +1,27 @@ > +From 677f56825f7080403e18e57ffe8177f3df290f20 Mon Sep 17 00:00:00 2001 > +From: Nathan Moinvaziri > +Date: Sun, 23 Jan 2022 12:59:01 -0800 > +Subject: [PATCH] Use static keyword for vec_sumsu to prevent undefined > + reference error when g++ linking. > + > +Signed-off-by: Joel Stanley > +--- > + arch/power/adler32_power8.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/arch/power/adler32_power8.c b/arch/power/adler32_power8.c > +index 029aa3a84c57..fc4086322efc 100644 > +--- a/arch/power/adler32_power8.c > ++++ b/arch/power/adler32_power8.c > +@@ -44,7 +44,7 @@ > + #include "adler32_p.h" > + > + /* Vector across sum unsigned int (saturate). */ > +-inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { > ++static inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { > + __b = vec_sld(__a, __a, 8); > + __b = vec_add(__b, __a); > + __a = vec_sld(__b, __b, 4); > +-- > +2.35.1 > + > diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > index 938acd4181a6..fb497b8c11d0 100644 > --- a/package/zlib-ng/zlib-ng.mk > +++ b/package/zlib-ng/zlib-ng.mk > @@ -23,10 +23,4 @@ ifeq ($(BR2_arm),y) > ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 > endif > > -ifeq ($(BR2_powerpc_power8),y) > -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON > -else > -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF > -endif > - > $(eval $(cmake-package)) From arnout at mind.be Mon Apr 4 20:17:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:17:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/libp11: fix build with libressl In-Reply-To: <20220404162248.325842-1-fontaine.fabrice@gmail.com> References: <20220404162248.325842-1-fontaine.fabrice@gmail.com> Message-ID: On 04/04/2022 18:22, Fabrice Fontaine wrote: > Fix the following build failure with libressl: > > p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration > 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) > | ^~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libp11/0001-Update-wp11_rsa.c.patch | 26 +++++++++++++++++++++ > package/libp11/libp11.mk | 8 ++++++- > 2 files changed, 33 insertions(+), 1 deletion(-) > create mode 100644 package/libp11/0001-Update-wp11_rsa.c.patch > > diff --git a/package/libp11/0001-Update-wp11_rsa.c.patch b/package/libp11/0001-Update-wp11_rsa.c.patch > new file mode 100644 > index 0000000000..0a2d6e65ce > --- /dev/null > +++ b/package/libp11/0001-Update-wp11_rsa.c.patch > @@ -0,0 +1,26 @@ > +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 > +From: patchMonkey156 > +Date: Mon, 19 Oct 2020 17:12:15 -0400 > +Subject: [PATCH] Update p11_rsa.c > + > +Bugfix for new LibreSSL version 3.2.2 > +[Retrieved from: > +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] > +Signed-off-by: Fabrice Fontaine > +--- > + src/p11_rsa.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/p11_rsa.c b/src/p11_rsa.c > +index b6beef0..ff12ed7 100644 > +--- a/src/p11_rsa.c > ++++ b/src/p11_rsa.c > +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) > + return RSA_size(rsa); > + } > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) > ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) > + > + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) > + (int flen, const unsigned char *from, > diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk > index 45a718ee99..c1873a920c 100644 > --- a/package/libp11/libp11.mk > +++ b/package/libp11/libp11.mk > @@ -11,10 +11,16 @@ LIBP11_INSTALL_STAGING = YES > LIBP11_LICENSE = LGPL-2.1+ > LIBP11_LICENSE_FILES = COPYING > > +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > +LIBP11_ENGINESDIR = enginesdir > +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) > +LIBP11_ENGINESDIR = libdir > +endif > + > # pkg-config returns a libcrypto enginesdir prefixed with the sysroot, > # so let's rip it out. > LIBP11_CONF_OPTS = \ > - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` > + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` > > ifeq ($(BR2_PACKAGE_P11_KIT),y) > LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so From arnout at mind.be Mon Apr 4 20:17:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:17:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/ace: fix build with libressl In-Reply-To: <20220404162545.326240-1-fontaine.fabrice@gmail.com> References: <20220404162545.326240-1-fontaine.fabrice@gmail.com> Message-ID: On 04/04/2022 18:25, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since the addition > of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: > > /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? > 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) > | ^~~~~~~~~~~~ > | BIO_set_init > > Fixes: > - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...Asynch_BIO.cpp-fix-build-with-libres.patch | 52 +++++++++++++++++++ > 1 file changed, 52 insertions(+) > create mode 100644 package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch > > diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch > new file mode 100644 > index 0000000000..ad82c10172 > --- /dev/null > +++ b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch > @@ -0,0 +1,52 @@ > +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 3 Apr 2022 15:25:49 +0200 > +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl > + > +Fix the following build failure with libressl: > + > +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? > + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) > + | ^~~~~~~~~~~~ > + | BIO_set_init > + > +Fixes: > + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] > +--- > + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- > + 1 file changed, 3 insertions(+), 3 deletions(-) > + > +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp > +index a657d8a14e6f7..64aa14c6ab9a7 100644 > +--- a/ace/SSL/SSL_Asynch_BIO.cpp > ++++ b/ace/SSL/SSL_Asynch_BIO.cpp > +@@ -41,7 +41,7 @@ extern "C" > + > + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > + static BIO_METHOD methods_ACE = > + { > + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, > +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = > + #else > + static BIO_METHOD* methods_ACE; > + # define BIO_set_num(b, val) > +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ > ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ > + > + ACE_BEGIN_VERSIONED_NAMESPACE_DECL > + > + BIO * > + ACE_SSL_make_BIO (void * ssl_asynch_stream) > + { > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > + BIO * const pBIO = BIO_new (&methods_ACE); > + #else > + if (!methods_ACE) From arnout at mind.be Mon Apr 4 20:18:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:18:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcoap: fix build with libressl In-Reply-To: <20220404163320.337038-1-fontaine.fabrice@gmail.com> References: <20220404163320.337038-1-fontaine.fabrice@gmail.com> Message-ID: <5c018422-c775-95a8-8766-6381b55b97e4@mind.be> On 04/04/2022 18:33, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since commit > 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: > > src/coap_openssl.c:107:3: erreur: nom de type ??BIO_ADDR?? inconnu > 107 | BIO_ADDR *bio_addr; > | ^~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libcoap/libcoap.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk > index 8a85ff3a2e..edcc1bbef8 100644 > --- a/package/libcoap/libcoap.mk > +++ b/package/libcoap/libcoap.mk > @@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y) > LIBCOAP_DEPENDENCIES += gnutls > LIBCOAP_CONF_OPTS += \ > --enable-dtls --with-gnutls --without-mbedtls --without-openssl > -else ifeq ($(BR2_PACKAGE_OPENSSL),y) > +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > LIBCOAP_DEPENDENCIES += openssl > LIBCOAP_CONF_OPTS += \ > --enable-dtls --without-gnutls --without-mbedtls --with-openssl From arnout at mind.be Mon Apr 4 20:18:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:18:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-waipu: bump version to 19.2.1-Matrix In-Reply-To: <20220404163926.2601842-1-bernd.kuhls@t-online.de> References: <20220404163926.2601842-1-bernd.kuhls@t-online.de> Message-ID: On 04/04/2022 18:39, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- > package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > index d40a068cb5..1f290b9331 100644 > --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 4c5ad45ba869c8064a0d64d7fc5c0a2e0c9f47f51184823872d6cd888ab7b2a0 kodi-pvr-waipu-19.2.0-Matrix.tar.gz > +sha256 61779eaac29930cfd7f2c23da44a27fdecb695252fbab9598c49c57ce8be7291 kodi-pvr-waipu-19.2.1-Matrix.tar.gz > sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt > diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > index 61c5bd67ae..19c750945e 100644 > --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_PVR_WAIPU_VERSION = 19.2.0-Matrix > +KODI_PVR_WAIPU_VERSION = 19.2.1-Matrix > KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) > KODI_PVR_WAIPU_LICENSE = GPL-2.0+ > KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt From arnout at mind.be Mon Apr 4 20:18:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:18:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: needs NPTL In-Reply-To: <20220404165220.338388-1-fontaine.fabrice@gmail.com> References: <20220404165220.338388-1-fontaine.fabrice@gmail.com> Message-ID: On 04/04/2022 18:52, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 0.3.26 in > commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and > https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de > > thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' > > Fixes: > - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/pipewire/Config.in | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in > index dd13f31a73..3bfcf42a81 100644 > --- a/package/pipewire/Config.in > +++ b/package/pipewire/Config.in > @@ -1,7 +1,7 @@ > config BR2_PACKAGE_PIPEWIRE > bool "pipewire" > depends on !BR2_STATIC_LIBS > - depends on BR2_TOOLCHAIN_HAS_THREADS > + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() > depends on BR2_USE_MMU # fork() > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 > select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime > @@ -46,7 +46,8 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" > > endif > > -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" > +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" > depends on BR2_USE_MMU > - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ > + depends on BR2_STATIC_LIBS || \ > + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ > !BR2_TOOLCHAIN_GCC_AT_LEAST_5 From arnout at mind.be Mon Apr 4 19:47:50 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:50 +0200 Subject: [Buildroot] [git commit] configs/licheepi_zero: bump uboot custom version to 2022.01 Message-ID: <20220404200948.1C5C282DFB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a3cbdf8bf0192868be3c9958281fa08bd52556ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This also removes the dependency to have Python2 installed. Signed-off-by: Steve Critchlow Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/licheepi_zero_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig index 2e1a413988..d7a281a0a0 100644 --- a/configs/licheepi_zero_defconfig +++ b/configs/licheepi_zero_defconfig @@ -36,7 +36,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="LicheePi_Zero" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y From arnout at mind.be Mon Apr 4 20:12:08 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 22:12:08 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-waipu: bump version to 19.2.1-Matrix Message-ID: <20220404200948.5386682DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5ad3082fed22fc5a145f5c7f37ed9b109d29ff83 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index d40a068cb5..1f290b9331 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 4c5ad45ba869c8064a0d64d7fc5c0a2e0c9f47f51184823872d6cd888ab7b2a0 kodi-pvr-waipu-19.2.0-Matrix.tar.gz +sha256 61779eaac29930cfd7f2c23da44a27fdecb695252fbab9598c49c57ce8be7291 kodi-pvr-waipu-19.2.1-Matrix.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 61c5bd67ae..19c750945e 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 19.2.0-Matrix +KODI_PVR_WAIPU_VERSION = 19.2.1-Matrix KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt From arnout at mind.be Mon Apr 4 19:47:55 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:55 +0200 Subject: [Buildroot] [git commit] package/libp11: fix build with libressl Message-ID: <20220404200948.39B4A82DFB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=581d397ec0c437aac06a9eaeca01de4ed9249faf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) | ^~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libp11/0001-Update-wp11_rsa.c.patch | 26 ++++++++++++++++++++++++++ package/libp11/libp11.mk | 8 +++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/package/libp11/0001-Update-wp11_rsa.c.patch b/package/libp11/0001-Update-wp11_rsa.c.patch new file mode 100644 index 0000000000..0a2d6e65ce --- /dev/null +++ b/package/libp11/0001-Update-wp11_rsa.c.patch @@ -0,0 +1,26 @@ +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 +From: patchMonkey156 +Date: Mon, 19 Oct 2020 17:12:15 -0400 +Subject: [PATCH] Update p11_rsa.c + +Bugfix for new LibreSSL version 3.2.2 +[Retrieved from: +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] +Signed-off-by: Fabrice Fontaine +--- + src/p11_rsa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/p11_rsa.c b/src/p11_rsa.c +index b6beef0..ff12ed7 100644 +--- a/src/p11_rsa.c ++++ b/src/p11_rsa.c +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) + return RSA_size(rsa); + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) + + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) + (int flen, const unsigned char *from, diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk index 45a718ee99..c1873a920c 100644 --- a/package/libp11/libp11.mk +++ b/package/libp11/libp11.mk @@ -11,10 +11,16 @@ LIBP11_INSTALL_STAGING = YES LIBP11_LICENSE = LGPL-2.1+ LIBP11_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBP11_ENGINESDIR = enginesdir +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) +LIBP11_ENGINESDIR = libdir +endif + # pkg-config returns a libcrypto enginesdir prefixed with the sysroot, # so let's rip it out. LIBP11_CONF_OPTS = \ - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` ifeq ($(BR2_PACKAGE_P11_KIT),y) LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so From arnout at mind.be Mon Apr 4 19:47:53 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:53 +0200 Subject: [Buildroot] [git commit] package/zlib-ng: Backport patch to fix linking on powerpc Message-ID: <20220404200948.308AC82DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=04e26cb7feb8681a07e72c96550972e9d938d1b2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the Power8 optimisations off to fix a build issue. Instead apply a patch from the develop branch upstream to fix the issue. This patch is not yet in a released version of zlib-ng. Signed-off-by: Joel Stanley Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...keyword-for-vec_sumsu-to-prevent-undefine.patch | 27 ++++++++++++++++++++++ package/zlib-ng/zlib-ng.mk | 6 ----- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch new file mode 100644 index 0000000000..cc103215de --- /dev/null +++ b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch @@ -0,0 +1,27 @@ +From 677f56825f7080403e18e57ffe8177f3df290f20 Mon Sep 17 00:00:00 2001 +From: Nathan Moinvaziri +Date: Sun, 23 Jan 2022 12:59:01 -0800 +Subject: [PATCH] Use static keyword for vec_sumsu to prevent undefined + reference error when g++ linking. + +Signed-off-by: Joel Stanley +--- + arch/power/adler32_power8.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/power/adler32_power8.c b/arch/power/adler32_power8.c +index 029aa3a84c57..fc4086322efc 100644 +--- a/arch/power/adler32_power8.c ++++ b/arch/power/adler32_power8.c +@@ -44,7 +44,7 @@ + #include "adler32_p.h" + + /* Vector across sum unsigned int (saturate). */ +-inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { ++static inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { + __b = vec_sld(__a, __a, 8); + __b = vec_add(__b, __a); + __a = vec_sld(__b, __b, 4); +-- +2.35.1 + diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index 938acd4181..fb497b8c11 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,10 +23,4 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif -ifeq ($(BR2_powerpc_power8),y) -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON -else -ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF -endif - $(eval $(cmake-package)) From arnout at mind.be Mon Apr 4 19:47:49 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:49 +0200 Subject: [Buildroot] [git commit] package/protobuf: add additional supported host architectures Message-ID: <20220404200948.14EF882DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d949b4e26bc318f5f68f12e5e1634642ad08ba63 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Move supported host architectures under BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS and propagate the reverse dependency. Add additional supported host architectures based on current src/google/protobuf/stubs/platform_macros.h Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/collectd/Config.in | 6 +++--- package/kismet/Config.in | 4 ++-- package/protobuf-c/Config.in | 4 ++-- package/protobuf/Config.in | 16 +++++++++++++++- package/python-protobuf/Config.in | 2 +- package/riemann-c-client/Config.in | 4 ++-- 6 files changed, 25 insertions(+), 11 deletions(-) diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 67413ffde0..43eef3bf66 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -725,7 +725,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN bool "riemann" # riemann-c-client -> protobuf-c depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS select BR2_PACKAGE_RIEMANN_C_CLIENT select BR2_PACKAGE_LIBTOOL help @@ -759,7 +759,7 @@ config BR2_PACKAGE_COLLECTD_WRITELOG config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS bool "write_prometheus" depends on BR2_INSTALL_LIBSTDCPP # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c select BR2_PACKAGE_LIBMICROHTTPD select BR2_PACKAGE_PROTOBUF_C help @@ -768,7 +768,7 @@ config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS comment "write_prometheus needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_COLLECTD_WRITEREDIS bool "write_redis" diff --git a/package/kismet/Config.in b/package/kismet/Config.in index 961d5f230e..7bde6c92af 100644 --- a/package/kismet/Config.in +++ b/package/kismet/Config.in @@ -3,14 +3,14 @@ comment "kismet needs a toolchain w/ threads, C++, gcc >= 5" depends on !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_KISMET bool "kismet" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_PROTOBUF_C diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in index a32e6cd9e8..d96cd7b382 100644 --- a/package/protobuf-c/Config.in +++ b/package/protobuf-c/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_PROTOBUF_C depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # host-protobuf only builds on certain architectures - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS help Code generator and runtime libraries to use Protocol Buffers from pure C (not C++). @@ -12,4 +12,4 @@ config BR2_PACKAGE_PROTOBUF_C comment "protobuf-c needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in index 46c820b9cf..47e987fa2b 100644 --- a/package/protobuf/Config.in +++ b/package/protobuf/Config.in @@ -14,6 +14,20 @@ # and we can live with requiring gcc 4.8 on PowerPC to build protobuf. # # host-protobuf only builds on certain architectures +config BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "arm" + default y if BR2_HOSTARCH = "mips" + default y if BR2_HOSTARCH = "mipsel" + default y if BR2_HOSTARCH = "powerpc" + default y if BR2_HOSTARCH = "powerpc64" + default y if BR2_HOSTARCH = "powerpc64le" + default y if BR2_HOSTARCH = "sparc" + default y if BR2_HOSTARCH = "sparc64" + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" + config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS bool default y if BR2_arm @@ -22,7 +36,7 @@ config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS default y if BR2_x86_64 default y if BR2_sparc64 default y if BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS depends on BR2_USE_MMU # fork() config BR2_PACKAGE_PROTOBUF diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in index 1af82112b4..7de463520d 100644 --- a/package/python-protobuf/Config.in +++ b/package/python-protobuf/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PYTHON_PROTOBUF bool "python-protobuf" # host-protobuf only builds on certain architectures - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON_SIX # runtime help Python implementation of the Google Protocol Buffers. diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in index e9982b2fb0..6c3c35caf8 100644 --- a/package/riemann-c-client/Config.in +++ b/package/riemann-c-client/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT bool "riemann-c-client" depends on BR2_INSTALL_LIBSTDCPP # protobuf-c depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c select BR2_PACKAGE_PROTOBUF_C help Riemann-c-client is a C client library for the Riemann @@ -14,4 +14,4 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT comment "riemann-c-client needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS From arnout at mind.be Mon Apr 4 19:47:57 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:57 +0200 Subject: [Buildroot] [git commit] package/ace: fix build with libressl Message-ID: <20220404200948.422A182DFC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7da45d9b635d93cc7c0339796462a8e401407402 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since the addition of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) | ^~~~~~~~~~~~ | BIO_set_init Fixes: - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch new file mode 100644 index 0000000000..ad82c10172 --- /dev/null +++ b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch @@ -0,0 +1,52 @@ +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 15:25:49 +0200 +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl + +Fix the following build failure with libressl: + +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) + | ^~~~~~~~~~~~ + | BIO_set_init + +Fixes: + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] +--- + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp +index a657d8a14e6f7..64aa14c6ab9a7 100644 +--- a/ace/SSL/SSL_Asynch_BIO.cpp ++++ b/ace/SSL/SSL_Asynch_BIO.cpp +@@ -41,7 +41,7 @@ extern "C" + + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static BIO_METHOD methods_ACE = + { + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = + #else + static BIO_METHOD* methods_ACE; + # define BIO_set_num(b, val) +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ + + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + + BIO * + ACE_SSL_make_BIO (void * ssl_asynch_stream) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + BIO * const pBIO = BIO_new (&methods_ACE); + #else + if (!methods_ACE) From arnout at mind.be Mon Apr 4 20:12:08 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 22:12:08 +0200 Subject: [Buildroot] [git commit] package/pipewire: needs NPTL Message-ID: <20220404200948.5BECE82DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f54b5a64f2f51c7e30b291dfa177f855bd88d6f2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 0.3.26 in commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pipewire/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index dd13f31a73..3bfcf42a81 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PIPEWIRE bool "pipewire" depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime @@ -46,7 +46,8 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + depends on BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 From arnout at mind.be Mon Apr 4 19:47:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 21:47:52 +0200 Subject: [Buildroot] [git commit] package/util-linux: bump version to 2.38 Message-ID: <20220404200948.2671582DFC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ee978e853a6a4c9bb5ed661c1ae704e79f155a35 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - remove 0001-libuuid-include-c-h-to-cover-restrict-keyword.patch (from upstream [3]) - remove 0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch (from upstream [4]) - handle new lsfd option - handle new ipcmk option For details see [1] and [2]. [1] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ChangeLog [2] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes [3] https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c [4] https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6 Signed-off-by: Peter Seiderer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...uid-include-c-h-to-cover-restrict-keyword.patch | 30 ----- ...mark-cache-as-probed-if-sys-not-available.patch | 141 --------------------- package/util-linux/Config.in | 12 ++ ...uid-include-c-h-to-cover-restrict-keyword.patch | 1 - ...mark-cache-as-probed-if-sys-not-available.patch | 1 - package/util-linux/util-linux.hash | 4 +- package/util-linux/util-linux.mk | 8 +- 7 files changed, 20 insertions(+), 177 deletions(-) diff --git a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch deleted file mode 100644 index 3b4f510920..0000000000 --- a/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Thu, 5 Aug 2021 09:46:21 +0200 -Subject: libuuid: include c.h to cover restrict keyword - -References: https://github.com/karelzak/util-linux/issues/1405 -Signed-off-by: Karel Zak - -[Retrieved from: -https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c] -Signed-off-by: Fabrice Fontaine ---- - libuuid/src/unparse.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libuuid/src/unparse.c b/libuuid/src/unparse.c -index f9a5e4315..ffeed2ed6 100644 ---- a/libuuid/src/unparse.c -+++ b/libuuid/src/unparse.c -@@ -33,6 +33,7 @@ - */ - - #include -+#include "c.h" - - #include "uuidP.h" - --- -cgit 1.2.3-1.el7 - diff --git a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch deleted file mode 100644 index bfc8f60834..0000000000 --- a/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch +++ /dev/null @@ -1,141 +0,0 @@ -From 84d38ae3eca523ef990cb848563cc63de25266e6 Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Fri, 19 Nov 2021 14:19:03 +0100 -Subject: [PATCH] libblkid: don't mark cache as "probed" if /sys not available - -For "mount --all" we need to read the cache more than once in a short -time. The library checks the delay between probes, and if the delay is -too short, it does not read devices. This is a problem on boot when there -are no /sys, and the cache is empty. In this case, we need to check -for /sys until it's available constantly. - -https://github.com/util-linux/util-linux/issues/1492 -Signed-off-by: Karel Zak - -[Retrieved from: -https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6] -Signed-off-by: Fabrice Fontaine ---- - libblkid/src/devname.c | 26 +++++++++++++++++--------- - libblkid/src/resolve.c | 2 +- - libblkid/src/tag.c | 8 +++++--- - 3 files changed, 23 insertions(+), 13 deletions(-) - -diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c -index 90a8245fc9..9a173e3489 100644 ---- a/libblkid/src/devname.c -+++ b/libblkid/src/devname.c -@@ -429,6 +429,8 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) - if (!sysfs) - return -BLKID_ERR_SYSFS; - -+ DBG(DEVNAME, ul_debug(" probe /sys/block")); -+ - /* scan /sys/block */ - while ((dev = xreaddir(sysfs))) { - DIR *dir = NULL; -@@ -533,14 +535,18 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) - /* - * Read the device data for all available block devices in the system. - */ --static int probe_all(blkid_cache cache, int only_if_new) -+static int probe_all(blkid_cache cache, int only_if_new, int update_interval) - { -+ int rc; -+ - if (!cache) - return -BLKID_ERR_PARAM; - - if (cache->bic_flags & BLKID_BIC_FL_PROBED && -- time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) -+ time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) { -+ DBG(PROBE, ul_debug("don't re-probe [delay < %d]", BLKID_PROBE_INTERVAL)); - return 0; -+ } - - blkid_read_cache(cache); - #ifdef VG_DIR -@@ -548,7 +554,13 @@ static int probe_all(blkid_cache cache, int only_if_new) - #endif - ubi_probe_all(cache, only_if_new); - -- sysfs_probe_all(cache, only_if_new, 0); -+ rc = sysfs_probe_all(cache, only_if_new, 0); -+ -+ /* Don't mark the change as "probed" if /sys not avalable */ -+ if (update_interval && rc == 0) { -+ cache->bic_time = time(NULL); -+ cache->bic_flags |= BLKID_BIC_FL_PROBED; -+ } - - blkid_flush_cache(cache); - return 0; -@@ -567,11 +579,7 @@ int blkid_probe_all(blkid_cache cache) - int ret; - - DBG(PROBE, ul_debug("Begin blkid_probe_all()")); -- ret = probe_all(cache, 0); -- if (ret == 0) { -- cache->bic_time = time(NULL); -- cache->bic_flags |= BLKID_BIC_FL_PROBED; -- } -+ ret = probe_all(cache, 0, 1); - DBG(PROBE, ul_debug("End blkid_probe_all() [rc=%d]", ret)); - return ret; - } -@@ -589,7 +597,7 @@ int blkid_probe_all_new(blkid_cache cache) - int ret; - - DBG(PROBE, ul_debug("Begin blkid_probe_all_new()")); -- ret = probe_all(cache, 1); -+ ret = probe_all(cache, 1, 0); - DBG(PROBE, ul_debug("End blkid_probe_all_new() [rc=%d]", ret)); - return ret; - } -diff --git a/libblkid/src/resolve.c b/libblkid/src/resolve.c -index 641b022860..16653fa8e1 100644 ---- a/libblkid/src/resolve.c -+++ b/libblkid/src/resolve.c -@@ -32,7 +32,7 @@ char *blkid_get_tag_value(blkid_cache cache, const char *tagname, - blkid_cache c = cache; - char *ret = NULL; - -- DBG(TAG, ul_debug("looking for %s on %s", tagname, devname)); -+ DBG(TAG, ul_debug("looking for tag %s on %s device", tagname, devname)); - - if (!devname) - return NULL; -diff --git a/libblkid/src/tag.c b/libblkid/src/tag.c -index 390a648648..178336505f 100644 ---- a/libblkid/src/tag.c -+++ b/libblkid/src/tag.c -@@ -326,14 +326,14 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, - blkid_dev dev; - int pri; - struct list_head *p; -- int probe_new = 0; -+ int probe_new = 0, probe_all = 0; - - if (!cache || !type || !value) - return NULL; - - blkid_read_cache(cache); - -- DBG(TAG, ul_debug("looking for %s=%s in cache", type, value)); -+ DBG(TAG, ul_debug("looking for tag %s=%s in cache", type, value)); - - try_again: - pri = -1; -@@ -366,9 +366,11 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, - goto try_again; - } - -- if (!dev && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { -+ if (!dev && !probe_all -+ && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { - if (blkid_probe_all(cache) < 0) - return NULL; -+ probe_all++; - goto try_again; - } - return dev; diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 9e9b8933e5..d3c0070160 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -146,6 +146,11 @@ config BR2_PACKAGE_UTIL_LINUX_HWCLOCK help Query or set the hardware clock (RTC) +config BR2_PACKAGE_UTIL_LINUX_IPCMK + bool "ipcmk" + help + Make various IPC resources + config BR2_PACKAGE_UTIL_LINUX_IPCRM bool "ipcrm" help @@ -198,6 +203,13 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP help Set up and control loop devices +config BR2_PACKAGE_UTIL_LINUX_LSFD + bool "lsfd" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + List file descriptors (modern replacement for lsof) + config BR2_PACKAGE_UTIL_LINUX_LSLOGINS bool "lslogins" depends on BR2_USE_MMU # libsmartcols diff --git a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch deleted file mode 120000 index beecc3a48f..0000000000 --- a/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch +++ /dev/null @@ -1 +0,0 @@ -../0001-libuuid-include-c-h-to-cover-restrict-keyword.patch \ No newline at end of file diff --git a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch deleted file mode 120000 index 2f3c482144..0000000000 --- a/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch +++ /dev/null @@ -1 +0,0 @@ -../0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch \ No newline at end of file diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash index 748a36e0be..6f1bb74ecb 100644 --- a/package/util-linux/util-linux.hash +++ b/package/util-linux/util-linux.hash @@ -1,5 +1,5 @@ -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc -sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz +# From https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/sha256sums.asc +sha256 6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64 util-linux-2.38.tar.xz # License files, locally calculated sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 891c17d1d9..9d9b61d8f5 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -7,8 +7,8 @@ # When making changes to this file, please check if # util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. -UTIL_LINUX_VERSION_MAJOR = 2.37 -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4 +UTIL_LINUX_VERSION_MAJOR = 2.38 +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR) UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) @@ -140,6 +140,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \ $(if $(BR2_PACKAGE_UTIL_LINUX_HARDLINK),--enable-hardlink,--disable-hardlink) \ $(if $(BR2_PACKAGE_UTIL_LINUX_HWCLOCK),--enable-hwclock --disable-hwclock-gplv3,--disable-hwclock) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_IPCMK),--enable-ipcmk,--disable-ipcmk) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ @@ -153,6 +154,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGGER),--enable-logger,--disable-logger) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN),--enable-login,--disable-login) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LSFD),--enable-lsfd,--disable-lsfd) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LSLOGINS),--enable-lslogins,--disable-lslogins) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LSMEM),--enable-lsmem,--disable-lsmem) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ @@ -214,7 +216,9 @@ HOST_UTIL_LINUX_CONF_OPTS += \ --disable-agetty \ --disable-chfn-chsh \ --disable-chmem \ + --disable-ipcmk \ --disable-login \ + --disable-lsfd \ --disable-lslogins \ --disable-mesg \ --disable-more \ From arnout at mind.be Mon Apr 4 20:12:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 4 Apr 2022 22:12:00 +0200 Subject: [Buildroot] [git commit] package/libcoap: doesn't build with libressl Message-ID: <20220404200948.4B63582DF6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0796c878f4c9ad786a6c4c4716e4239fa070cd73 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since commit 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: src/coap_openssl.c:107:3: erreur: nom de type ????BIO_ADDR???? inconnu 107 | BIO_ADDR *bio_addr; | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcoap/libcoap.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk index 8a85ff3a2e..edcc1bbef8 100644 --- a/package/libcoap/libcoap.mk +++ b/package/libcoap/libcoap.mk @@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y) LIBCOAP_DEPENDENCIES += gnutls LIBCOAP_CONF_OPTS += \ --enable-dtls --with-gnutls --without-mbedtls --without-openssl -else ifeq ($(BR2_PACKAGE_OPENSSL),y) +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBCOAP_DEPENDENCIES += openssl LIBCOAP_CONF_OPTS += \ --enable-dtls --without-gnutls --without-mbedtls --with-openssl From arnout at mind.be Mon Apr 4 20:28:12 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 4 Apr 2022 22:28:12 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: References: <20220329205136.32435-1-vincent.stehle@laposte.net> <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> Message-ID: <2646beec-15db-f2e9-5490-0f7fd551857f@mind.be> On 04/04/2022 21:38, Vincent Stehl? wrote: > On Sun, Apr 03, 2022 at 05:07:48PM +0200, Arnout Vandecappelle wrote: >> >> >> On 29/03/2022 22:51, Vincent Stehl? via buildroot wrote: >>> Update the qemu_xtensa_lx60_nommu_defconfig to use the >>> busybox-minimal.config, to make it more consistent with the other no-MMU >>> defconfigs. >> >> That's not a valid reason IMHO. We use the minimal busybox for boards that >> are extremely tight on memory - which is often the case for noMMU boards. >> But if we can spare the size, full busybox is a lot more useable. > > Hi Arnout, > > Thanks for reviewing this patch. > >> I've marked this patch as Rejected in patchwork, but if there's a good >> reason to do this, we can always recover it. > > There is another incentive to using the minimal config on no-MMU platforms: it > fixes the udhcpc error and repairs the network initialization. Ooh, now I understand what that commit does... But that actually causes a problem: if udhcpc doesn't keep running the background any more, it's not going to refresh its lease, but will keep on using its IP address indefinitely. Although this seems to work at first hand, it's going to cause some problem somewhere down the line... So we should find a different solution, and we should probably use that in the MMU case as well (just to keep things consistent. Regards, Arnout > > Just let me know if you want me to reword the commit message to insist more on > this aspect and submit a v2. Or we can abandon it for good if you prefer. > > Best regards, > Vincent. > >> >> Regards, >> Arnout >> >>> >>> After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal >>> config"), this has the benefit of fixing the following network >>> initialization failure: >>> >>> udhcpc: invalid option -- b >>> >>> Signed-off-by: Vincent Stehl? >>> Cc: Romain Naour >>> Cc: Gerome Burlats >>> --- >>> configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig >>> index c4473fb32a..44fb81bd74 100644 >>> --- a/configs/qemu_xtensa_lx60_nommu_defconfig >>> +++ b/configs/qemu_xtensa_lx60_nommu_defconfig >>> @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ >>> BR2_PACKAGE_HOST_ELF2FLT=y >>> # BR2_USE_MMU is not set >>> +# Use minimal busybox with hush and networking tools >>> +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" >>> + >>> # System >>> BR2_SYSTEM_DHCP="eth0" >>> BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From fontaine.fabrice at gmail.com Mon Apr 4 20:31:35 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 22:31:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: needs C++ Message-ID: <20220404203135.340172-1-fontaine.fabrice@gmail.com> python-ujson needs C++ since bump to version 4.1.0 in commit a47f332a20bf3f79ef4903c8ddd2b7917217e354 and https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: powerpc-buildroot-linux-gnu-gcc.br_real: error: ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f Signed-off-by: Fabrice Fontaine --- package/python-ujson/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in index 81d1bc457c..7af03e6497 100644 --- a/package/python-ujson/Config.in +++ b/package/python-ujson/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_PYTHON_UJSON bool "python-ujson" + depends on BR2_INSTALL_LIBSTDCPP help UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3. https://pypi.python.org/pypi/ujson + +comment "python-ujson needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 4 20:50:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 22:50:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/trace-cmd: needs NPTL Message-ID: <20220404205015.341053-1-fontaine.fabrice@gmail.com> trace-cmd needs NPTL since bump to version 2.9.1 in commit 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): in function `tracecmd_tsync_with_host': trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' Fixes: - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 Signed-off-by: Fabrice Fontaine --- package/trace-cmd/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 574541c571..2d0accd7ae 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TRACE_CMD bool "trace-cmd" - depends on BR2_TOOLCHAIN_HAS_THREADS + # pthread_setaffinity_np + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() help @@ -13,6 +14,6 @@ config BR2_PACKAGE_TRACE_CMD http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git -comment "trace-cmd needs a toolchain w/ threads, dynamic library" +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 4 21:19:41 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 4 Apr 2022 23:19:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/libest: fix build with libressl Message-ID: <20220404211941.721192-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since the addition of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: In file included from est.c:28: est.h:27:10: fatal error: openssl/srp.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc Signed-off-by: Fabrice Fontaine --- package/libest/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libest/Config.in b/package/libest/Config.in index d8271ad69e..6abe9d2848 100644 --- a/package/libest/Config.in +++ b/package/libest/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBEST depends on !BR2_STATIC_LIBS # libexecinfo or glibc select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help libest is a C implementation of RFC 7030 (Enrollment over Secure Transport). -- 2.35.1 From christian at paral.in Mon Apr 4 21:47:16 2022 From: christian at paral.in (Christian Stewart) Date: Mon, 4 Apr 2022 14:47:16 -0700 Subject: [Buildroot] [PATCH 1/2] package/docker-cli: bump to version v20.10.14 Message-ID: <20220404214717.587193-1-christian@paral.in> https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index f2fe316540..9a07acf89f 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d86e3e6e10669634ee02b5e071e5ee504457a9d03941bbc5b7f2bd3683ebdb19 docker-cli-20.10.12.tar.gz +sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index d5cca34efc..c7458f85dd 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.12 +DOCKER_CLI_VERSION = 20.10.14 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 -- 2.35.1 From christian at paral.in Mon Apr 4 21:47:17 2022 From: christian at paral.in (Christian Stewart) Date: Mon, 4 Apr 2022 14:47:17 -0700 Subject: [Buildroot] [PATCH 2/2] package/docker-engine: bump to version v20.10.14 In-Reply-To: <20220404214717.587193-1-christian@paral.in> References: <20220404214717.587193-1-christian@paral.in> Message-ID: <20220404214717.587193-2-christian@paral.in> https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index ec3a242629..d4fe83a806 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a8ee80d31c7b74f687a837cd2a8570578f118179fba0844c5ee88f90fe180155 docker-engine-20.10.12.tar.gz +sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 2a1239b676..3aef31599f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.12 +DOCKER_ENGINE_VERSION = 20.10.14 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 -- 2.35.1 From christian at paral.in Mon Apr 4 21:59:30 2022 From: christian at paral.in (Christian Stewart) Date: Mon, 4 Apr 2022 14:59:30 -0700 Subject: [Buildroot] [PATCH 1/1] package/runc: bump to version v1.1.1 Message-ID: <20220404215930.601909-1-christian@paral.in> Signed-off-by: Christian Stewart --- package/runc/runc.hash | 2 +- package/runc/runc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/runc/runc.hash b/package/runc/runc.hash index 38d9f52510..fe3c4cc488 100644 --- a/package/runc/runc.hash +++ b/package/runc/runc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a8de57edbf0ff741ea798ccdd99ac0e1b79914f552871bd7cd92b0569f200964 runc-1.1.0.tar.gz +sha256 11a34535c108b36fd59de58e7bef3a130444c9ea41e4b8bb8f8d4654c8ad654c runc-1.1.1.tar.gz sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE diff --git a/package/runc/runc.mk b/package/runc/runc.mk index a40075544e..2618b71f63 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUNC_VERSION = 1.1.0 +RUNC_VERSION = 1.1.1 RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0, LGPL-2.1 (libseccomp) RUNC_LICENSE_FILES = LICENSE -- 2.35.1 From christian at paral.in Mon Apr 4 22:14:51 2022 From: christian at paral.in (Christian Stewart) Date: Mon, 4 Apr 2022 15:14:51 -0700 Subject: [Buildroot] [PATCH 1/1] package/containerd: bump to version v1.6.2 Message-ID: <20220404221451.610628-1-christian@paral.in> Note: this version adds compatibility for Go 1.18. Signed-off-by: Christian Stewart --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5aafe2e70..eb9f2894a9 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz +sha256 4ea21a6b4649512366e7c31ae547ad89c6a69c6586a6d8565cff07898de344b0 containerd-1.6.2.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 8976e12f1a..36f2db4125 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.9 +CONTAINERD_VERSION = 1.6.2 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE -- 2.35.1 From giulio.benetti at benettiengineering.com Tue Apr 5 00:22:02 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 5 Apr 2022 02:22:02 +0200 Subject: [Buildroot] [PATCH] package/libnss: bump to version 3.77 Message-ID: <20220405002202.1772332-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/libnss/libnss.hash | 4 ++-- package/libnss/libnss.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash index b4b8be11f6..04e81e6b84 100644 --- a/package/libnss/libnss.hash +++ b/package/libnss/libnss.hash @@ -1,4 +1,4 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_76_RTM/src/SHA256SUMS -sha256 1b8e0310add364d2ade40620cde0f1c37f4f00a6999b2d3e7ea8dacda4aa1630 nss-3.76.tar.gz +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_77_RTM/src/SHA256SUMS +sha256 825edf5a2fd35b788a23ff80face591f82919ae3ad2b8f77d424a450d618dedd nss-3.77.tar.gz # Locally calculated sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index 2f7a265136..57df104d6c 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNSS_VERSION = 3.76 +LIBNSS_VERSION = 3.77 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src LIBNSS_DISTDIR = dist -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 5 01:20:59 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 4 Apr 2022 19:20:59 -0600 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set Message-ID: <20220405012059.2680327-1-james.hilliard1@gmail.com> Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required. Fixes: http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 Signed-off-by: James Hilliard --- linux/linux.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 102b7a15d4..7ff7b05042 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -566,6 +566,12 @@ endif ifeq ($(BR_BUILDING),y) +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) +ifeq ($(LINUX_VERSION),) +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) +endif +endif + ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) # We must use the user-supplied kconfig value, because # LINUX_KCONFIG_DEFCONFIG will at least contain the -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 5 02:50:54 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 4 Apr 2022 20:50:54 -0600 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset Message-ID: <20220405025054.966064-1-james.hilliard1@gmail.com> Fixes: package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. make: *** [Makefile:84: _all] Error 2 Signed-off-by: James Hilliard --- package/aufs/aufs.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk index 4e95a350a0..b2dda771d9 100644 --- a/package/aufs/aufs.mk +++ b/package/aufs/aufs.mk @@ -8,6 +8,7 @@ AUFS_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_VERSION)) AUFS_LICENSE = GPL-2.0 AUFS_LICENSE_FILES = COPYING +ifneq ($(AUFS_VERSION),) ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone AUFS_SITE_METHOD = git @@ -16,6 +17,7 @@ AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) else ifeq ($(BR2_PACKAGE_AUFS_SERIES),5) AUFS_SITE = $(call github,sfjro,aufs5-standalone,$(AUFS_VERSION)) endif +endif ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:) $(error No aufs version specified) -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 5 03:16:41 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 4 Apr 2022 21:16:41 -0600 Subject: [Buildroot] [PATCH v3 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220405031641.685678-1-james.hilliard1@gmail.com> Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Signed-off-by: James Hilliard --- Changes v2 -> v3: - properly check exit codes Changes v1 -> v2: - refactor fixup_config control flow --- utils/genrandconfig | 54 +++++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 17 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..c2919e5798 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,10 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +335,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,19 +416,24 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) - if fixup_config(sysinfo, configfile): - break + if not fixup_config(sysinfo, configfile): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "olddefconfig"]): + continue - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "savedefconfig"]): + continue - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "dependencies"]): + continue + break + return 0 if __name__ == '__main__': @@ -433,10 +445,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative -- 2.25.1 From Tim.Hammer at orolia.com Tue Apr 5 03:54:39 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Tue, 5 Apr 2022 03:54:39 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind Message-ID: On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > Signed-off-by: Fabrice Fontaine > --- > package/dhcp/Config.in | 1 - > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > 2 files changed, 16 insertions(+), 4 deletions(-) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index 515040c612..e0706efafb 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > # fork() > depends on BR2_USE_MMU > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > - select BR2_PACKAGE_BIND > help > DHCP relay agent from the ISC DHCP distribution. > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 18765a3639..f1e3c22f1c 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > DHCP_LICENSE_FILES = LICENSE > -DHCP_DEPENDENCIES = bind host-gawk > +DHCP_DEPENDENCIES = host-gawk > DHCP_CPE_ID_VENDOR = isc > +# internal bind does not support parallel builds. > +DHCP_MAKE = $(MAKE1) > > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. So this should be the host compiler, not the target. I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... .Tim Tim D. Hammer tim.hammer at orolia.com > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > DHCP_CONF_OPTS = \ > - --with-libbind=$(STAGING_DIR)/usr \ > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > --with-randomdev=/dev/random \ > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > --with-relay-pid-file=/var/run/dhcrelay.pid \ > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > +DHCP_DEPENDENCIES += zlib > +else > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > +endif > + > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +DHCP_CONF_ENV += LIBS=-latomic > +endif > + > ifeq ($(BR2_STATIC_LIBS),y) > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > DHCP_CONF_OPTS += --disable-libtool > else > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From thomas.petazzoni at bootlin.com Tue Apr 5 05:25:32 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 05 Apr 2022 05:25:32 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-04 Message-ID: <20220405052538.D9B0E82668@smtp1.osuosl.org> Hello, Autobuild statistics for 2022-04-04 =================================== branch | OK | NOK | TIM | TOT | 2021.02.x | 77 | 69 | 1 | 147 | 2022.02.x | 31 | 76 | 1 | 108 | master | 143 | 401 | 4 | 548 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 49 linux-headers | 32 host-gcc-final-10.3.0 | 31 linux-headers-custom | 27 host-elf2flt-7e33f28df198c4... | 15 libressl-3.4.3 | 14 dhcp-4.4.2-P1 | 9 host-cloop-3.14.1.3 | 8 host-gcc-final-9.4.0 | 8 libkrb5-1.18.4 | 8 python3-3.10.2 | 8 argp-standalone-1.3 | 7 fetchmail-6.4.29 | 7 git-2.31.1 | 7 opus-1.3.1 | 7 pango-1.50.5 | 7 unknown | 7 glibc-2.34-109-gd64b08d5ba7... | 6 libopenssl-1.1.1n | 6 dieharder-3.31.1 | 5 libcap-ng-0.8.3 | 5 tpm2-tss-3.2.0 | 5 uclibc-1.0.40 | 5 host-gcc-final-11.2.0 | 4 zlib-ng-2.0.6 | 4 arptables-0.0.5 | 3 belr-4.4.8 | 3 frr-8.2.2 | 3 gobject-introspection-1.70.0 | 3 host-nodejs | 3 libcoap-4.3.0 | 3 refpolicy | 3 tpm2-pkcs11-1.7.0 | 3 brltty-6.4 | 2 bubblewrap-0.6.1 | 2 fluidsynth-2.2.5 | 2 fs/oci/oci.mk:99: /nvmedata... | 2 host-gcc-initial-10.3.0 | 2 host-gcc-initial-9.4.0 | 2 host-util-linux-2.38 | 2 libgcrypt-1.10.0 | 2 libnspr-4.33 | 2 netsurf-3.10 | 2 perl-5.34.1 | 2 polkit-a2bf5c9c83b6ae46cbd5... | 2 tpm2-tools-5.2 | 2 wavemon-0.9.4 | 2 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 bind-9.16.26 | 1 botan-2.19.1 | 1 brotli-1.0.9 | 1 cfm-0.3 | 1 cppcms-1.2.1 | 1 dash-0.5.11.5 | 1 dawgdic-16ac537ba9883ff01b6... | 1 exempi-2.6.1 | 1 expat-2.4.7 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/oci/oci.mk:99: /home/aut... | 1 fs/oci/oci.mk:99: /home/aut... | 1 fs/oci/oci.mk:99: /nvmedata... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gdbm-1.22 | 1 glib-networking-2.70.1 | 1 gobject-introspection | 1 google-breakpad-7515ab13768... | 1 gst1-libav-1.20.1 | 1 gstd-0.14.0 | 1 guile-3.0.8 | 1 host-gcc-final-8.4.0 | 1 host-pango-1.50.5 | 1 libcap-ng-0.8.2 | 1 libeXosip2-5.3.0 | 1 libkcapi-1.1.5 | 1 libp11-0.4.11 | 1 libpsl-0.21.1 | 1 libsecret-0.20.5 | 1 libvorbis-1.3.7 | 1 linux-5.15.30 | 1 liquid-dsp-1.4.0 | 1 lua-cqueues-20200726 | 1 mesa3d-21.3.8 | 1 minizip-3.0.5 | 1 mongodb-4.2.18 | 1 mpd-0.23.6 | 1 nbd-3.24 | 1 pipewire-0.3.48 | 1 pixman-0.40.0 | 1 pure-ftpd-1.0.50 | 1 python-brotli-1.0.9 | 1 python-ujson-4.2.0 | 1 reaver-1.6.6 | 1 safeclib-3.7.1 | 1 shadowsocks-libev-3.3.5 | 1 spice-0.15.0 | 1 spidev_test-5.8 | 1 startup-notification-0.9 | 1 stress-ng-0.13.05 | 1 stunnel-5.60 | 1 sudo-1.9.8p2 | 1 tpm2-abrmd-2.3.3 | 1 trace-cmd-2.9.7 | 1 uacme-1.7.1 | 1 vlc-3.0.16 | 1 wireshark-3.4.12 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64le | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/523a13a29b0673ee0e60385b05bf975a40e5c688 | or1k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/a329d361aafd1ebb4f039c0a12bec45bce8bda8e | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/6e2cff70aafa3ce4dd1239c9050279209f8e03e9 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b8276e9e111a709651a7e9a0892fcc75c8bbca36 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/40f7d1f98e6e5f69eeb946a3fcd891d18b41affa | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8377b3b680c212e15503c5380756421ff4724d6f | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/48a9df6ab5b79128824673a553d232cee5aba83f | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d61e274b037a55e3bb070ce2d9e191cbdbd4234b | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/58dba13ba433ab5b49cfdd17434a15fb4c1ee6ad | or1k | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/be3dd8e5531369e7d66bdb6ea97d9734d762e5bf | ORPH microblazeel | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/20fc88f297abfda0018985c2949de6c7f1926755 | ORPH sparc64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/da28190fcfbef23ed4a25b1632a5ac7eca259dd6 | ORPH powerpc64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/41f05966b556a344deea6b9400d051bc2b7e3234 | sparc64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/c54e7f1e9a846f34d8827a54355bc39cbb83964d | sparc | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/002674acabe8d962bca4b9b95b8ce62d2a219c6c | sh4eb | bind-9.16.26 | NOK | http://autobuild.buildroot.net/results/4f7bf62ad6e00a435c1190b1cb9ef1a748371f8c | ORPH powerpc64 | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/f800854b903076279692359b1d723814dc27bf9a | ORPH microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/552ff2471698a34a4d9bc5326b43cf102914f24a | microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/76990b107ed8cb01efba656e4f459edc45d84a86 | m68k | brotli-1.0.9 | NOK | http://autobuild.buildroot.net/results/239dfbb0b269ff2311373f7934d98706896498c7 | mips64 | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/08b7e137ead5d0f0d38831cd1fe6b295749e7fec | mips | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/793be17affa393774fe3e7295360fff73056a3fd | arm | cfm-0.3 | NOK | http://autobuild.buildroot.net/results/20749d7b5553e95946f530fa746213feb21f3ae1 | powerpc64le | cppcms-1.2.1 | NOK | http://autobuild.buildroot.net/results/367a34a74b37cb51896679448b00cb48723605e8 | ORPH nios2 | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/23f5770aa3b8b47ea4502bf72e3cbbc778665a73 | ORPH riscv64 | dawgdic-16ac537ba9883ff01b6... | NOK | http://autobuild.buildroot.net/results/08cee5ab6904e2dfe34b106d7055461a459efbf5 | microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/c36233bbb1bfd3cd5ea8f144dcf29bff3545d355 | ORPH riscv32 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/9750710f786abe93fb9c9e29ec9f927f7da74d43 | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/5fe1e2bd0c9669aef09752c971d1be24cea093af | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/b40faf078b08fcb8da4ad82062602974582a8454 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ac68bddd7c1eda7ed1868043295532731e390cc4 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/337e8446915758ee1affacfff758f81a4b1624c1 | ORPH mips64el | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/80bfdc173ab415481a0b77198fdbae520751d795 | ORPH riscv64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/d1f602a78c870e4ee517364f942e0cc034cefe08 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/8a52e3e24d5bf58e37306ddd39383928a63a4b59 | ORPH arceb | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/28a672bfcba7313be4e459b802570eacc28ee8ce | riscv32 | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/959a119349d2556584d550bea1a9ff2bad7aaec6 | mips64 | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/66c9cba8304ff250dc9975aba2ca4c0719f5064e | nios2 | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/bfe5df72036842d083fc791bd7c53d835c9ba992 | or1k | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/4b7f807047714926b00b97df89b79a3a5d0a4d71 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/909c3b24d7834103078f1cc555b476f7a0a6164c | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/96c61c6d6cb41d31cba28931ae1a64b96db55612 | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/317bdef970e860419487826c83257406e58b6c68 | mips64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/9e01b809bc2d974e7ec695c9d226a5a645ceab95 | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/d82539949a6eb37ce23bd9392b86d3ef72ef00ff | microblaze | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/c67a838306fd2c0bf536b093f81b53bb6473aeae | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/43206f1020f28e6db0d50197422f9f686b5b6c20 | mips64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/a24705f3022dd948b8c4c5b6649380a78005df1b | m68k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/a1b640e37058e24db3e117a3fc6e10d1c3b56c9e | xtensa | fluidsynth-2.2.5 | NOK | http://autobuild.buildroot.net/results/178b944ab89ed8a811e3cefc8572c415025e7847 | riscv32 | fluidsynth-2.2.5 | NOK | http://autobuild.buildroot.net/results/8e3b9025a7797a659f5a1d85628f0f2a642e1ff0 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/2f5925f35b38996f47142f0e716730c6db174d38 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/50a95fa08dfe2552cce6f95b498885af738d210c | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/3b86046e284edbf22dcb28953f53a4ea3a87ee39 | microblaze | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/8255f55ad3f404dd577b854234108723322e1018 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/1c4a5a99cbed16af92500cf16c615ee2135784f5 | aarch64_be | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/ad28da19e91fabf356bd7d647991b163c6f29e94 | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/be39afab805ad0416a5cd6b14907eeb2817ffb1d | arm | fs/oci/oci.mk:99: /home/aut... | NOK | http://autobuild.buildroot.net/results/8a156a662478b5cd45a0890a819b00db6ca13b2b | xtensa | fs/oci/oci.mk:99: /home/aut... | NOK | http://autobuild.buildroot.net/results/296654514ffafb5e2c50554e287f5a818d15e2fa | mipsel | fs/oci/oci.mk:99: /nvmedata... | NOK | http://autobuild.buildroot.net/results/0ab2c6b276d63a90f8a6291e031a037c561cb446 | mips | fs/oci/oci.mk:99: /nvmedata... | NOK | http://autobuild.buildroot.net/results/6fe401b1801a7fecad9e15175b17c7c296793213 | arm | fs/oci/oci.mk:99: /nvmedata... | NOK | http://autobuild.buildroot.net/results/79f4ceb41f6cd2926d041e58466314838f784d04 | sparc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/9a6e185e22c11388f50a61dd6fb4fa6c4e7ef4bf | or1k | gdbm-1.22 | NOK | http://autobuild.buildroot.net/results/8f7c041c945b006b7b188978775eb379a65f18df | ORPH mipsel | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/6f7ed28f34c8b7820a96438c03f3607955c9dfff | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/e9e9f4aca285ab90d2b2ac50573122966803943b | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/e75d082332c78f4e5dfffb45373fba0b05474c1a | m68k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/5484be815c0684bada527dde52af15805be7ce25 | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/dc0b6b12ec31423826f4047bed8c6d6a5b3c9f98 | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/a5be65d6c8aa821da4ca7a0fc7e4a260bf4724b9 | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/0a64c17eef885c7cca64b7d52b4a7b218bd19f25 | or1k | glib-networking-2.70.1 | NOK | http://autobuild.buildroot.net/results/6dc9c1c214a76968596054f809f75e2a04ea3764 | ORPH riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/c0729bc3e24fed3307494d44f40701eb2497f598 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0dae755a29426819f793bf34c18a5d83b87d4b14 | arceb | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/b53c3bbc3d16f9236531f995670efce2593f0b3b | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/905775dd7dc9b4912dc722b3eb5dcc231c102725 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/402af2b3c47eb3cf1ac0d382137572fc35d0c903 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/5ccc985ee43d51bceb552b74edd079c6e314b089 | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/0ed1cf35b577dc5b6fc8bb48da2cb6b9da29c251 | powerpc | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/be253e409890e9b954b04eeb07108fb5c3b1d415 | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/4507dc391dc39e1303a1f04e17685ebc4d4a4450 | ORPH microblazeel | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/7c46e0d35b9aeb57508346c34b98cc1efa7e1564 | ORPH mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/192ebfab38b962163eac3223b88f78bae68e2afd | or1k | gst1-libav-1.20.1 | NOK | http://autobuild.buildroot.net/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a | ORPH arm | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/5709acf2760a86e4a64137ea7bb9cd99752cc4a9 | ORPH mips | guile-3.0.8 | NOK | http://autobuild.buildroot.net/results/d14760e28d65db12dc56b5b5acc2fa6543d841e5 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/652a658beadb030a3ff80dbac0f6cc906f211b04 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fb0bf33d83483c9b60f3537967aaa0084cf56ed1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/79373606e708cd47837bb52ef5e1afc8eb58e285 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0af7eab572c898b5611ed97c7feed8eaf60f35f1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/68cf5e0737933d368b5beb7b02b1bf71ebdb7a1f | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/49d70541d7252a973f6941e2a4027fed2e4fb395 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/006df6858263875292c4d9cd110fbe9dfedfa727 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1368303975d6fcf91ea99d0f39e76dda7a9df57a | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6c8c826ff5a521fe3771d31207e37d200818dbe9 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/408e948d097a6691acd5b82e88c2572bbf5d6ba2 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a543f4ad42505d121a7d18ed9f21a101aa1b6471 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1a17352cf75373b63846dad51d4ff94d6029aedb | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/139450b6c8d37af57229cea8623e77d2a4012e5d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/104313f3d79978dff755cfc49d52887c8c1b93c0 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3369151d43e2745cfebd7f31cb59e3db5ed98165 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8cece26547d3fe11be143cdf1df6c2ed38edd672 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/767e5267e800663ece9f5f0e2b78db61e388a466 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fac5da65c48ad69287d12bd4fb9279aa30d76e3c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5f6635e0c2bca640fa4cae85d8111ff207e511c0 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/33ef4c39bec33ade8e835bbb30d1baaf51802470 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/44a5c04358f1b9a4e2b5c6227ccfbcb0bb1080a3 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fda4b668340691e37cd219394fde8470cb1ae823 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cd425d5710722c6c83a39cb8735d3ff9d9a51172 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4c7f20bcfc2e8652a370f4860c30ee5bf381b58b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f556836d6774770cbec172c54f50b998d037ae19 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/403cf787c7b21f356163a2c81ef424a93332abbb | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/69c427bc2ab2cfcb8ffbb37fc79e2a5819869454 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8a21d8f8cd31a3020f7bcb75eebfde0941b858c8 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bc111cdfd6be4d13410efaee5058f45634e0414d | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b7c49f9bc2092abdf825775bb6f578af4c40f7df | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d2772aef7bebba5af89588bd4f5a66e226b054f8 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3795f9d29512c84cde7b086244f7bcf6c6e26a57 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/48d921c382bd2e560aaca8f691a8ccfc42a8c8f5 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f76c4f3f78c346973c6fe5388b967b1f74bfa108 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c28611a43b17665c158e128c81a395026b253814 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bfe27e81365738e25236ce84cbf0448469f6c6eb | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5976790f5fc4d68cf3b059cd693be5dffeb2d53d | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2bacc3349fee5e7a49eb153d6271df3e43711274 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/704d4306ed1ab829bba3588096e70fb1664d96f9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/860f43326498b6b649c394a124db4dd223329c03 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5a0ae7075b87fcd38f3de3eedbd489581235569e | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9020901c74977df9c1084b842cea3464b4589b4e | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/07a2585687ac16672b74ac10329e96a892fc1c04 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/42afeaac69fe1ee71201c5fc82cbcd0e5460afb4 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e3205d5229c57d017419e758aa34aea6f20624c9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3845519561292e797f7586c6ad9614458953da6c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d44cc0335c43f1783edba345bb1bed228c12b3d1 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/660cc72c0bf1de64cb8e8df20846afd1888b7124 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5c80923e5a23ce079fdc008a502c31d0f37c18fa | xtensa | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/1cf6617a198c5821bdf0486d03d7a35f4f1f3d6d | xtensa | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/dc5bf70235b6b4ef92ef1beb995c773037173920 | aarch64_be | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/fa55b41231d156a5bc56360fe72138d249e0d1ee | armeb | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/3a03c6bfcebfd18df971ef739070428436548884 | or1k | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/a151e8e61b50f006ca5006bafca4271f4841a3a7 | mipsel | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/a21bbd96d66148b70fdd5b027e21e5b2016dd367 | mips64el | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/c19785169c34e372724aeb975c9e319fc016e159 | aarch64 | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/c03095255a3680ae58160e0844d350e5867c8c74 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/602559268e44af696e716cf252e922b840f14c37 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5e4fb09096ddcbe641cce2799ceb1bf880b67665 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/671b66cf1ad809a272a58eae693b8b7efaebe61e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/308005a546285be6e9561b9ffe225db6464b37b7 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ca7eee7b94b52cec65fb4674bbd30d0b8baf28bf | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2833acead90bd1fb61d4eb701d88455dc0401508 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/0f282f4617a746255fda3b679155c5d29e699ee4 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/61ab82bab53f6c0618eaf0b21001fcc6c84e94d1 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/053f5173b39a17bd5bb5041ef4a096a977e5584c | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e67f82e36d56ca84339c94291fa94b62b3d8a050 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/d2394ee0cbb9a6f74bbacb5b28a4fafb18cbd38c | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1d512401165be19bcae6c535deca5fc4b1adfd67 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2d75bcc1f5d205148184bfb79b6e2b7c9465a07a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/d16269768f8a4df17d61694495f7ac30399aed33 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1447e1970606f05bddab37b949036baa21a7f81b | ORPH riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b8132b762a289a94c92d4b12055eb25afd20186e | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2406c0da7c6d4bb67f4da6f575bad49b95699abf | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d8eec955b0b32a3583b1e7f59a5a80d1ab937b30 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/91bd86bcfdfd03c93be11eeeb1d2e61eb36fb4bf | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5d4b6aea91be6712a6996a8992a0ae9c5199c43d | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c803eae1579ab6d648077aa76b93b43c18bf7b19 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dc109c0f84e432c624543df9f4ce1d963c0f23ea | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/298b97082a7c6c5fb1b7949285fdb92ea116dcd0 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1e0e48c23aa531b9456027dd5e66d49b593535d8 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b08ed81c4b4687d781fafe9eea14ffddb2e75546 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/aa8fcb8fb61ee1bb9c3d32032cd8dd2a515f5480 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/660e801b5a3a2fd358d9c9171548006c772ed1ba | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/985f85f47c994b43c6fae4651197bade73414217 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9f6adcd613cf8724e9731ee10ebaa9120ba2cb88 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f69493e64c03ab2d367a7f79d05e4483450236df | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b3a89908d9f968b1e9cfa0817c2ba1a663c72782 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/414dc627f6fd057fa9633dc05dee27616327cccf | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/292e0e46cc397a8995f7a4a86178f04ae2606e19 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a202a8a1c4221d9dbf29b2945d651f07fe9e176b | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6a2837ae595998d32dcc5a9c90ce19bb8674a2f0 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5aab33ecefeac462fd5f68a8d1afbcbac7210b9a | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ebb2cbfb673cca2e1034e88aa5a7aaad9f03f9a8 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bd7923f16e64f7641b21a565859303dc9d02f6c6 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e71f5fc61a5b317e368716613cddc05ba677131b | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3c3caf75d4166608e66aae0b57fd8056938724ad | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/25904bb640aab2d709b4f066eb3a5a236d8f8e6f | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4eec5545493e2469990314fb2fd1f6df8f6d84b3 | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6a24223fb7b3f47096e2dc22dbcc35464b2e9e89 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d8266427e859a578cad6011b306bb125353a7c23 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/05f19b5ca20beded6d49fd3b9de03c9dc4759b46 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8759543cb6ac8e310c6d33e4874ac6325a9741a7 | powerpc | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/b158e78f5318fafd7069f32cd142ee4df2c501a1 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/90f43fe969fdd52e8696fd4232b2181b1b233094 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/6679fdfc9329c97f1be2ac12cd5623d0cb22ac00 | i686 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/f80f7ff2fa32e0e09712db6aee0268daf833af71 | powerpc | host-gcc-final-8.4.0 | NOK | http://autobuild.buildroot.net/results/968e70b3df9d41fcadf7435417d6b5e53f89957c | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/cb120fc480036b5fe7c1e3d5627d0c33d7f117b1 | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/51f8dac7a0a430f96082564bfcc75f468c2d76f7 | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/1aa26d9ac79e66b6d089f6df20462eccff7baffb | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/f61bcc0b4b18eebdc2f48f55de4617928579bfd0 | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/bcaecf3b7bdeffb412fbcd57eadb91791144d662 | microblazeel | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/90cf12c95494f87eebf2cb103c3ea7076dcf46a0 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/1e1c3eef45e6f826ebbfbb61538b2f03a31b4747 | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/a33bae47ed0a6f4fd76e6934f5d9c2e33f9820b9 | arceb | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/1a814c652fdda02a7a8388f44acedb61ecacf693 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/deeedf985ed62e2cfdbc91fcbb1eb143dfa81f1b | arm | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/d36fb2fe9591e8daf1b5a0449a829ff4bcaae5e9 | arceb | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/2f0584c487a72b8cf4284101e9e569778bea8933 | nios2 | host-nodejs | TIM | http://autobuild.buildroot.net/results/b9e7f5c0e6756ae2cc0c7521cbd258d16eb9e809 | s390x | host-nodejs | TIM | http://autobuild.buildroot.net/results/0098787e531a7e2d62e6d0b66a9f122200abffc5 | mipsel | host-nodejs | TIM | http://autobuild.buildroot.net/results/d2ee28bcaecd4391a82b8107e0aa2d6fb224c154 | powerpc64le | host-pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/aa42be64826876fc1bff21f3f596870d7a405afd | ORPH i586 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/38fbdbc8c6a69d9e47938898f34ace8d02438500 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/299ea0c125444b6fb17a6942d6d1726a38a9cf99 | ORPH or1k | libcap-ng-0.8.2 | NOK | http://autobuild.buildroot.net/results/9f647c1e142afc98e8a99a012bf37c44782e5b41 | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a6c5f847349ea6abd17a9bac28622e73c68a806e | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/09ebe27b7fd08c312eeb3018a8f1a78299084a2c | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/4692bd47ed2d3e0c8bce9cc3b4bdad814a93d910 | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/32e3e8c6cdb1a08b7497a1d6e49def9e4744aa44 | mipsel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7e14c942d9a47a787e61db0d94e425b33e159b3c | i686 | libcoap-4.3.0 | NOK | http://autobuild.buildroot.net/results/ecb51283d7bfa052d8b8271efb0a5621450672da | nios2 | libcoap-4.3.0 | NOK | http://autobuild.buildroot.net/results/30022e437f349459994dccfb612773d529d97a20 | sparc | libcoap-4.3.0 | NOK | http://autobuild.buildroot.net/results/9745b0610e70b5636a1dd80e93df20dd0f69ed39 | xtensa | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/a45b07aaeff896ba6fe6d6dfa9883107e1aa4216 | powerpc | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/8f5d9edc8a9ee87561d11a136b55717b4882c282 | ORPH powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/324d1557d81b055e573ee86ce62977dd4ec8b510 | ORPH i686 | libkcapi-1.1.5 | NOK | http://autobuild.buildroot.net/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 | ORPH riscv32 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/86e9f9126669b70f22c41ae96a7cc6f0e010f2ee | microblazeel | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/fc57efb1cf5b95a274bc10e4d68641f10c553f78 | mipsel | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/078957b0c24fde17227ae03543a986bc9a583b7a | sparc64 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/94e063c288212da3dea0ddb36a50efeab21d8c38 | mipsel | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/0d042d0be233e6995b566425012f62e4d85d61c1 | riscv64 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/e2a2a8ce2148ef7a31897d54de90861b2d7aa90a | nios2 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/9b542894f4f6060f53c9defd017d3be86d5f1c11 | mipsel | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/965cff6e1dcf1f7f1444b178c9e92431b2327f4c | mipsel | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/28938c2bd6a4783db131a43ce1c79b71669eaac6 | mips | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/ac0f4564d9bd3121cccd36649ed27c00fe984951 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/8975fe0d10cd15024ff0e4897d0632dd1dd1fe5e | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4cf3a920404dedc729ded202f203c1086412881a | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/f73f1a8e8fd0b6e053a66de3a6364804d682f8c8 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c45ae79d291f562ad96ffa25f6fcc12e040e5bd2 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/5da390a1c5cdd44fda576cd8a79e067844648fec | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/18b6a81bb3c5e85a4a2e62023e8e5df361a9a257 | sparc64 | libp11-0.4.11 | NOK | http://autobuild.buildroot.net/results/de3b1e97796f717eac47d291911e3e1517cb557b | ORPH xtensa | libpsl-0.21.1 | NOK | http://autobuild.buildroot.net/results/32d1f8dc1c8d1c81deecf645bc0455b14b694ef6 | sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/57f13f14f3b8590af9d9529c14d3344dc129a2f5 | ORPH sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/5a1a8a5dcce92567cbc8c943f46637f1acd68b14 | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/83ff578f515086fa5cce9acaefd479b6714b34c5 | ORPH x86_64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/6a7e90f8e8936f65f8c7b40afac67da2ad9db918 | ORPH mips64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/bec994c06ef5648118936097e9a1045ee4ebdd45 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/b96719be7ef33b6e67c132c6e13f2272ec5cd18a | ORPH i686 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ea50ae7ec1530bc247c298f167b06b28226087d9 | ORPH xtensa | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/793dd3f837343a27f2950f6ba169505fe3482147 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/f2da690a0bc5bcefa6e93e3ab636b493e2b7572e | ORPH microblaze | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/bd3433a2fa80b5a0916f357e0fa6159d6422a639 | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/2442e4692392aa35035e1469e3acb3a87de3c378 | ORPH m68k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/3c134754c4dc24a33c04fc0b0eed3adba2e9610a | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/4cd27f2d03173e4944dcc9d4723999053dbcd4c2 | ORPH m68k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/dae63f519bcdce46fb5edf9575b88d4dcd1277b8 | ORPH mipsel | libsecret-0.20.5 | NOK | http://autobuild.buildroot.net/results/890a67a0e0ee59f107b2ac14918614da65ecc8f7 | ORPH powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/392f595dcb0b0b4cde7051b3c2da0c51d9ce5971 | arm | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/a2d9241cf54ca80a373f1e961c2a9d840aafc72b | ORPH powerpc64le | linux-headers | NOK | http://autobuild.buildroot.net/results/79da95f2d3737f166bea615f0ef986a756bca1ef | ORPH mips64el | linux-headers | NOK | http://autobuild.buildroot.net/results/539243a3c69342e50a94b7ec321c1cde765b64a4 | ORPH arm | linux-headers | NOK | http://autobuild.buildroot.net/results/673e3ac3ee3629d8ed815c1e8a982e2081b2e7e5 | ORPH m68k | linux-headers | NOK | http://autobuild.buildroot.net/results/e05da1da5088bb6bbb9990b1f93b0aaa7f5e614b | ORPH mips | linux-headers | NOK | http://autobuild.buildroot.net/results/3f567a25d254b0191bd77e3f3a28d703bb64dc3e | ORPH or1k | linux-headers | NOK | http://autobuild.buildroot.net/results/2982d85eee6a6c30924d80190a7e3c0b3be5113f | ORPH xtensa | linux-headers | NOK | http://autobuild.buildroot.net/results/be6e30e17c17c7b2effd1493b234fdcb75c603e7 | ORPH arc | linux-headers | NOK | http://autobuild.buildroot.net/results/080202036ecb1a98e3c35b368949c10e277e64f8 | ORPH mipsel | linux-headers | NOK | http://autobuild.buildroot.net/results/464f12fc3421a9fb17edc55edd419ec86d175fd4 | ORPH x86_64 | linux-headers | NOK | http://autobuild.buildroot.net/results/31186b77ba8d779d0ca00af255075b011027ee23 | ORPH mips | linux-headers | NOK | http://autobuild.buildroot.net/results/70d79037b71aa5a0175a1e45a5c0762438c61231 | ORPH microblazeel | linux-headers | NOK | http://autobuild.buildroot.net/results/f037d34b4a7c2dda8d5120722517ba0f016f9284 | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/b3196af1fd3436b942de8c16663669b8d73d29d7 | ORPH mips64 | linux-headers | NOK | http://autobuild.buildroot.net/results/838661da6622b36ae254748ae021c9e6da15ebf0 | ORPH powerpc | linux-headers | NOK | http://autobuild.buildroot.net/results/f3a60de0c55eb2424a6372d4d22a3019118583ce | ORPH or1k | linux-headers | NOK | http://autobuild.buildroot.net/results/7d9b0ab594e98405458a1c17be922a76c510b5b7 | ORPH arceb | linux-headers | NOK | http://autobuild.buildroot.net/results/cab88c81f438bafcecf7e8ca5c4832db4c3b90d8 | ORPH x86_64 | linux-headers | NOK | http://autobuild.buildroot.net/results/ed1dcad2c20d0aa5ad2be3b3829132969c8f0113 | ORPH or1k | linux-headers | NOK | http://autobuild.buildroot.net/results/dd15777c03cdc4a0154bd85049af2609962e8195 | ORPH arm | linux-headers | NOK | http://autobuild.buildroot.net/results/f5c36377360740eb8a1ff6c8c011ba64713f9e55 | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/2cf3e9c5983402f21b4afbc0374116c263cfd91a | ORPH m68k | linux-headers | NOK | http://autobuild.buildroot.net/results/69ba6720fe32ca4290cffb6700a783f9092c7ac2 | ORPH mips64 | linux-headers | NOK | http://autobuild.buildroot.net/results/a34b52645155786a02f3bd9fd67ce5394380a4f7 | ORPH xtensa | linux-headers | NOK | http://autobuild.buildroot.net/results/35c35ec7f63f2ea9748645bc96459b70da04aae1 | ORPH i586 | linux-headers | NOK | http://autobuild.buildroot.net/results/7c00e45517083a65d1c4fdf75dafbdd63770a347 | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/e2175b1672540668bd8a008dda5577042231ac67 | ORPH s390x | linux-headers | NOK | http://autobuild.buildroot.net/results/70390475c4073c56e4cde051eff0474cc433203d | ORPH x86_64 | linux-headers | NOK | http://autobuild.buildroot.net/results/e5d4318c7ccccfa94fd916788a611ac56e21c792 | ORPH arc | linux-headers | NOK | http://autobuild.buildroot.net/results/8bde93d2d2d160fa1a0ef724dc6d99ba454a8c6d | ORPH sparc64 | linux-headers | NOK | http://autobuild.buildroot.net/results/0167300f5e55acce1d55661b91c765020f4bc455 | ORPH m68k | linux-headers | NOK | http://autobuild.buildroot.net/results/6d065a32fd3a8c30f744b3e16b6e0cee09264fe5 | ORPH powerpc | linux-headers | NOK | http://autobuild.buildroot.net/results/117c08e414776202446a9fdb96d084aa3c16af48 | ORPH nios2 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/07982405be231fff697de67d50470a121bf0408d | ORPH aarch64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/898ddaddeeb443bcd82751c9c357be66cd75da90 | ORPH mipsel | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/9e2b54b3c3c324e78556c348cda8b167f7152410 | ORPH arm | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/d37920e88ae64a9b20e6fcbb5409857a16716834 | ORPH m68k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/663e661f1271b2cf7e71165b3e455b6a973622ec | ORPH arceb | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/add383aa8c568e40c066fb827b2bf88dc157007c | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/103b3defe0ceaaee05bb7e66b5d49c75b2adaca5 | ORPH sparc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/bdeee9e005ee5a033656e28105ebefd9d15d1224 | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/e802d96f24fc023b2ce0ed720b681a8ba93b047f | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/6ddf674c54942243d2f415f2639bf1aa0d3b2d09 | ORPH sparc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/c5b7a96d62ead11751ceeaf011111a9be868ffbb | ORPH or1k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/cf29526cd3fa20a00738f9aefccbce3eb73ad7a0 | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/04fc1209ca69b080ff534f0c6e921ffc1f196a07 | ORPH mips | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/3bb26d656a639e65e18ff6a44ec1fec43215d147 | ORPH riscv32 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/29822f351289c59bcfb2b9ec2125e589996b543e | ORPH arceb | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/d100677bd2ecc99f06728b1326364ca72fe66247 | ORPH s390x | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/77404453d35031c872e9823ede2063966c4435ea | ORPH xtensa | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/34ac8b06e765ec6534c10390bca956a06fd53fbf | ORPH sparc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/123299c24298f433233575699e23527d0920082a | ORPH microblazeel | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/dd8a760df103c770aa5ac08b76b2ce4eb373d928 | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/72ca69cf8388b979ab7b90194bedf8bfa80c7e7a | ORPH powerpc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/91ffe4a6e15c5db295a28a8f81dd2dcb493582a3 | ORPH mips | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/a1d548c7962b09ddbaadd0407be4803103c48175 | ORPH sparc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/ab25569956ff205c21a0be9d6a319833ed014f7c | ORPH sparc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/046699580b10bd45f7838d1348c1866c4c200bd2 | ORPH sparc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/3760a7503056152fb60d86b096d2bd02aa3c0925 | ORPH or1k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/abbad243e94dfbf947a56f5626f2d5a62c627092 | ORPH arm | liquid-dsp-1.4.0 | NOK | http://autobuild.buildroot.net/results/e6280e300c3d0c529bd3837878ac3e5a17df5543 | sparc | lua-cqueues-20200726 | NOK | http://autobuild.buildroot.net/results/c20286be4d75d77ee5ec6a4031a6b4b636ef10e2 | x86_64 | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/673fe08821cc7289524193e0a0caabf42757ae64 | microblaze | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/2002004505f6447d1cb89246c211a1042d46132a | arm | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/ea438067973a1743ab72e3d5968115b58ad5ce58 | aarch64 | mpd-0.23.6 | NOK | http://autobuild.buildroot.net/results/527ee199813abbacd61c3fa32b517ea60af60659 | xtensa | nbd-3.24 | NOK | http://autobuild.buildroot.net/results/3264ea563a178765f09ec774a02973839ff063cd | microblazeel | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/b9b764caed95375957c684df54c882af964d1fac | aarch64_be | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/47157a7a1e48f9d52df423e232267e736e158424 | s390x | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/cde158600d70d208517a4f05a9424979f2778b1c | ORPH microblazeel | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/45d762bc423d6d50baa2cfe31269011af3fb8d70 | ORPH sparc64 | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/83f75ce9fa190e31b1719d95733e7bcbf0f038df | ORPH xtensa | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/641a501b67fc15a59bfb7d8a0214371e86e9c2f7 | ORPH powerpc64le | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/219e624fb935ad6bed44c6a92a63b519307927fa | ORPH nios2 | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/93c15e8ea8409844ebdb27c5228fbe31e2f66dbd | ORPH microblazeel | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/e541b8aaaa9814f794aa7595c2ebbd286a37d0cb | ORPH xtensa | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/f8bbb9249268a070093f3176b9bd4b643fc837ac | ORPH arm | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/1c32be0775fab73c78620278d9c522203569b99a | ORPH xtensa | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/d9c248a7487fd487c72f2d2fb498adc0d508c9af | ORPH m68k | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/31048466a486bc6d8d15884b5d4b998606ab2c32 | ORPH arm | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/79363526ad787cfa829d5071969b86d03c6ea634 | ORPH x86_64 | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/d7f486a213b35f1535e016974ab5a811d34d3240 | ORPH sh4 | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/f3a3a094034b5506dd607d7c8f4e372db6be646d | ORPH microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/37d84ffdac86ee45f0a2ac8413b9a15b76e4a94f | sparc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/3d9e736a3c2f3eea5138e737759dda0266f88228 | arceb | pipewire-0.3.48 | NOK | http://autobuild.buildroot.net/results/6019f4e9676743685e8af81d60ef198c1eba1fde | sh4aeb | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/9e9ba93320749292f743b7581af4a73bafc906a1 | s390x | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/722d83d5d98b38f2a154f94a28403cb5664a16bb | riscv32 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/59f4125a5f9e7adbe73adf95536f8e5e6532a764 | s390x | pure-ftpd-1.0.50 | NOK | http://autobuild.buildroot.net/results/cb807663510a3c658e70f1a4c24784ec40a0e552 | riscv32 | python-brotli-1.0.9 | NOK | http://autobuild.buildroot.net/results/dc17eb4c447353bb4c21f22f2d562e9ef3f16aa5 | powerpc | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/b11600bdba42be9b211163e92afa3173276c3f8f | mips64el | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d068fa60982e8903565a3d9e99a486d0c36c88c6 | powerpc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/377a3c32f1272c8f1bba30b15a1608cd1d413f00 | powerpc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/c457a79fd764e152cc209064569592dda4d19e58 | microblaze | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/95c8e7d1656a0256213a3b7fda4ffd2a0f6f401c | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/8310138563c1ad3ad52cb6b33c1cc6acd7766252 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/1b270dd3dbf62fd989a02a2fbe0bc3b234ef2b2e | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/dfe47fdd594bad248eecf16ed7075563ca049815 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/7db854c40b1fd4b69480fe0927b217d3dcefa995 | arceb | reaver-1.6.6 | NOK | http://autobuild.buildroot.net/results/d1d2ca05f97ebafcad4d8e9e0e56642527d69b13 | i686 | refpolicy | NOK | http://autobuild.buildroot.net/results/696100891ece88b54a2a281817245384052743a7 | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/8e3e46b8d5b163a1b736e36a5458f74bb2f82f3f | armeb | refpolicy | NOK | http://autobuild.buildroot.net/results/c34c1a0e37f2e40a7ab67fc8de3d9152c158b74c | arm | safeclib-3.7.1 | NOK | http://autobuild.buildroot.net/results/3f26840b27ca666f963833919fbf08c8c5041cac | mips64el | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/4524430db6503a0117911ecab5ab520b6b4e2e1a | x86_64 | spice-0.15.0 | NOK | http://autobuild.buildroot.net/results/3db7a9887ddae8a0ad6aaabd8dd54ea96c8f9385 | microblaze | spidev_test-5.8 | NOK | http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842 | ORPH nios2 | startup-notification-0.9 | NOK | http://autobuild.buildroot.net/results/9ca13e761ec591c7cdca82add560879e38677f2b | ORPH microblazeel | stress-ng-0.13.05 | NOK | http://autobuild.buildroot.net/results/e3293fb1106ad5ddc6ca77ada78bc65298888a4e | microblaze | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/939e1e5f4be7dbfb48a84d7b8373c93e93abf251 | mips64 | sudo-1.9.8p2 | NOK | http://autobuild.buildroot.net/results/e84c8494149da42acb5d149ee3d06319836010bb | ORPH sparc64 | tpm2-abrmd-2.3.3 | NOK | http://autobuild.buildroot.net/results/b56725abd8652103b7a0a2b146899308391708e7 | ORPH i586 | tpm2-pkcs11-1.7.0 | NOK | http://autobuild.buildroot.net/results/752509ecd0497984cd44bfe3cea5a1c1276417ed | microblaze | tpm2-pkcs11-1.7.0 | NOK | http://autobuild.buildroot.net/results/aaedb264a68918428ad805e748188c0073fbfac1 | powerpc64 | tpm2-pkcs11-1.7.0 | NOK | http://autobuild.buildroot.net/results/dd4e7a0e048104d7d968f3d4b053f707530c198a | aarch64 | tpm2-tools-5.2 | NOK | http://autobuild.buildroot.net/results/fa77515df1986882dbb96dd37a7b9045bd4e4ada | ORPH aarch64 | tpm2-tools-5.2 | NOK | http://autobuild.buildroot.net/results/799413a002ed1241bc95b88e9275e9dfbf89774a | ORPH arm | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/9dbd3f6282d5681e9fe51843b010b786bcae9140 | ORPH or1k | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/cae6cb9b88aa35de80394f5d9f97380a3016fdd5 | ORPH powerpc | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/d232b584f93837509b36fc29e1526240305d0dbd | ORPH or1k | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/52d19da5e157f3eb24557d9f64118c7dcd5f07ea | ORPH arc | tpm2-tss-3.2.0 | NOK | http://autobuild.buildroot.net/results/2d43f0b90a808ab54196ba0bfc11f37d60c75043 | ORPH i586 | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 | arc | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/3589c08d56f22785ab5d0891ddb21996b1d50adb | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/e8306c4577d216bb1b13df483bc6bafb872d5ab4 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9366f61105bb208327b752e1939e07bce817e67a | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/4d66e80f4ca74fc2905ec92fd91aef804e682def | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/8b63ae3640920ad8303ab2b0f78f3a2a76618212 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/609373d42602c33200a61a9c303d8477adeb2832 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/a90b0bb9c7966ea290a2aa9b53e3fe4cf444bd6b | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/caa403ad1feb20731e55ec4262d18d8ff206836f | arc | unknown | NOK | http://autobuild.buildroot.net/results/02ddb8ab91419f37c8eceb27173463b21f1a21c9 | i686 | unknown | NOK | http://autobuild.buildroot.net/results/67f51bfe12f672e296fb9ad46c7538fa98a1abc8 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/8d6d5ae2fcecddd62fa2c22159b37153b62e13df | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/00e8786140baf96a4f7fdcbad9bce7767cdda7bf | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/2859bf712214baec0175deb1e1c4ca10156d6f85 | s390x | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/f51b0e7eafd0c21ce09a9faddd3e996233246ad3 | xtensa | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/795117fca796d4cc1d0dd14dd55b11e87cce2852 | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/fae4a9755093aa97ccf5662a917e6aa46b8023f0 | nios2 | wireshark-3.4.12 | NOK | http://autobuild.buildroot.net/results/de91f080966851e82a20fe0842a25bad934e9b92 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/d57cdffc28201948d85b54ac789776f58cb6b0db | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/9234be48d389ed74ad0db2f4ec594b0b9f39e34e | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/35d4ca3881c3db42de9f73a2f0a92f7d43c62839 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0460845d361472b44cb27459977be7ea47d3aadf | ORPH Classification of failures by reason for 2021.02.x -------------------------------------------------- linux-headers | 6 host-binutils-2.32 | 5 host-elf2flt-7e33f28df198c4... | 5 linux-headers-custom | 4 git-2.30.2 | 3 host-gcc-final-9.4.0 | 3 host-cloop-3.14.1.2 | 2 host-gcc-final-10.3.0 | 2 libopenssl-1.1.1n | 2 minizip-2.10.6 | 2 python-pybind-2.6.1 | 2 argp-standalone-1.3 | 1 bind-9.11.36 | 1 bubblewrap-0.4.1 | 1 fs/f2fs/f2fs.mk:62: /nvmeda... | 1 fs/ubifs/ubifs.mk:47: /nvme... | 1 gensio-2.2.3 | 1 glibc-2.32-50-g737efa27fca5... | 1 gmp-6.2.1 | 1 gvfs-1.44.1 | 1 host-audit-2.8.5 | 1 host-diffutils-3.7 | 1 host-gcc-final-48152afb96c5... | 1 host-gcc-initial-48152afb96... | 1 host-go-1.16.15 | 1 host-llvm | 1 host-sentry-cli-1.57.0 | 1 libgcrypt-1.9.4 | 1 libkrb5-1.18.4 | 1 libnss-3.68.1 | 1 libp11-0.4.11 | 1 libudfread-1.1.1 | 1 lmbench-3.0-a9 | 1 monkey-f54856ce250c4e257354... | 1 netsurf-3.10 | 1 numactl-2.0.14 | 1 openal-1.20.1 | 1 openvpn-2.5.6 | 1 pixman-0.40.0 | 1 rocksdb-6.13.3 | 1 uclibc-1.0.39 | 1 xenomai | 1 xenomai-custom | 1 zeromq-4.3.4 | 1 zlib-ng-1.9.9-b1 | 1 Detail of failures for 2021.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2b18c128d9954d1d82c70819a3b00dcc28507d6d | or1k | bind-9.11.36 | NOK | http://autobuild.buildroot.net/results/f66c92557cb4f379e1dd7cb7e1d880badc65c935 | ORPH s390x | bubblewrap-0.4.1 | NOK | http://autobuild.buildroot.net/results/29da2544789fe3a2743befd298cc7e0dd2c38e3e | s390x | fs/f2fs/f2fs.mk:62: /nvmeda... | NOK | http://autobuild.buildroot.net/results/4ed55024b225ea7f86aead221301659314bf5ef5 | powerpc64 | fs/ubifs/ubifs.mk:47: /nvme... | NOK | http://autobuild.buildroot.net/results/fd5968312772ce3e5564d9f513456de27c4df962 | riscv32 | gensio-2.2.3 | NOK | http://autobuild.buildroot.net/results/19b24b842ee7f592c00ffe7163690eb80f283ff9 | m68k | git-2.30.2 | NOK | http://autobuild.buildroot.net/results/73705c4b7926600c4cc7cd4e3b7dc7a75d3438ac | xtensa | git-2.30.2 | NOK | http://autobuild.buildroot.net/results/82b97fb707c468e311c8ec222aa6ed2daa459f9e | sparc | git-2.30.2 | NOK | http://autobuild.buildroot.net/results/3c5b32717cc177231b656e3c2b52f9bf50e4d7fc | powerpc | glibc-2.32-50-g737efa27fca5... | NOK | http://autobuild.buildroot.net/results/6616772dd54922fbc325a463c60aec3af01268da | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/2dbe5cf13eabaf22500c6cf9d0206375526ee651 | ORPH aarch64 | gvfs-1.44.1 | NOK | http://autobuild.buildroot.net/results/47acf225cdb19b9d6191c3f452d0c3b8feb7ccbc | ORPH microblazeel | host-audit-2.8.5 | NOK | http://autobuild.buildroot.net/results/04dc08ed661b5531cf23f1ec6c0e91064b9532e8 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a1a2e42c7c00280ea0387de51e9bc840929bef8c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/43276dbe70729a999a0550e728b47570272e9e1d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7c43259ae77e8c6e44d414b79b83b13080ba38e1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/93f8ac5f80fd835066a9fc99df33bca97b6e95fa | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0ce10d424fbb98bd7efb1e8efcc846d1fd5e31fb | mips64 | host-cloop-3.14.1.2 | NOK | http://autobuild.buildroot.net/results/b4d0b7d1bb00324617eccf8d6981e3cfd9e8eaa6 | x86_64 | host-cloop-3.14.1.2 | NOK | http://autobuild.buildroot.net/results/af65fdc6b351cb17ea8d7b6b46629df143859568 | nios2 | host-diffutils-3.7 | NOK | http://autobuild.buildroot.net/results/b3ce5cec5f4017d4c0c8033490f1b62ca7beaf83 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/70133cc6c059b0a7ecef366e44b317b77e172a46 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ab9cf22c24408c958ba75047ca52fd7c6cc7557c | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ba23050aa1c87616adee627b066fa660773c567a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/092922705a62c19d78bf5225ab6f99ce7791255f | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/dae70416f4490cd518327d701696df30ce25eb8f | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2b6bfda1ee977eaadf2c8e5eb5c45dc2bceaa811 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/35033cc0903c2be76a5ce91a80904d41366b482a | csky | host-gcc-final-48152afb96c5... | NOK | http://autobuild.buildroot.net/results/6cc9ae6785e6ec47cc7ec40b8ac3aab34856e877 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/2267e7e7e60ab57d993316c9baa69c75d1b58f94 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/18685773dc0fce741cc83fc697a3240e73341360 | powerpc | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/3f5d9a484a01820f787c7e4ab5ea5c10c2474930 | csky | host-gcc-initial-48152afb96... | NOK | http://autobuild.buildroot.net/results/46846aa855c5b951ecddcf24c0676eec8288ed8c | mips64 | host-go-1.16.15 | NOK | http://autobuild.buildroot.net/results/4e7650f6f0f08cd8e02095bcf69019fbc871ebb8 | x86_64 | host-llvm | TIM | http://autobuild.buildroot.net/results/92e47e7ece9a65a67511af51478d785b77173dac | or1k | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/62bea34f5651e69c07791e82209931ea8b9c0865 | powerpc64 | libgcrypt-1.9.4 | NOK | http://autobuild.buildroot.net/results/29b6ebe052eefa1593bfd856589b8a37f9b2e7e0 | ORPH mips64el | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/619de194848fe5e61aed80fed93e5e83da1dde6d | powerpc | libnss-3.68.1 | NOK | http://autobuild.buildroot.net/results/01f01654e284025a94140800d045a3a3e3416b52 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9f57328258006e51f4e12f5681288d92b0ac30ac | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2e18899bfe12fd2565af6666222e11b5c8517991 | or1k | libp11-0.4.11 | NOK | http://autobuild.buildroot.net/results/066175e725e16ca2e050a7f2e3200bc58caff227 | ORPH m68k | libudfread-1.1.1 | NOK | http://autobuild.buildroot.net/results/8cda24ca0edaaab048fabb1675fe4fd788fed370 | riscv64 | linux-headers | NOK | http://autobuild.buildroot.net/results/fe5159e0261974ea1afea74f0884582ed4f7c58b | ORPH or1k | linux-headers | NOK | http://autobuild.buildroot.net/results/33267aaa41ddaa2b9c3a2beea986afae33f82563 | ORPH nios2 | linux-headers | NOK | http://autobuild.buildroot.net/results/e378145cbeb4599f62a36b1a67a57aaf0975f2fc | ORPH m68k | linux-headers | NOK | http://autobuild.buildroot.net/results/879c0158e529ded628f28d181be2bd1fd21aaf28 | ORPH s390x | linux-headers | NOK | http://autobuild.buildroot.net/results/d4da389299ffc3ee850b568a3696a39b76777a9c | ORPH powerpc64le | linux-headers | NOK | http://autobuild.buildroot.net/results/cd5c460aecf44052f23b2407f3fe265065eaef89 | ORPH xtensa | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/a534c1e32ecbbdfa5ecb0f06a0c9290ca0a1a291 | ORPH arm | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/d2d49b653625e3d2f1ef32883cb0b81029721b8e | ORPH mips64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/2b65c00fa4dffdd15d8eaabe5a2c89233e792a0d | ORPH microblaze | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/7d90510e54b5093d142ad9be21d7770714c15762 | ORPH microblaze | lmbench-3.0-a9 | NOK | http://autobuild.buildroot.net/results/78746e0b1ee5cac07d3863164f293f0d1b93fc36 | ORPH mips | minizip-2.10.6 | NOK | http://autobuild.buildroot.net/results/81abedc0ee0897910c3f44231c22cde54098831a | riscv64 | minizip-2.10.6 | NOK | http://autobuild.buildroot.net/results/c3fcb936e406eaa0cb857c16b506d437d1250f70 | xtensa | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/3402d37c08bf8ac19db4f2fc75eaeb6a99e36587 | sh4 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/03b8024481bb241cbe7e86eb2dc23abe362ebbc4 | microblazeel | numactl-2.0.14 | NOK | http://autobuild.buildroot.net/results/42a4923b131e2ae37596e8a72710f01d80ae918b | or1k | openal-1.20.1 | NOK | http://autobuild.buildroot.net/results/f84ba3280227d143a0d933a83e9a1e4d86c57c48 | nios2 | openvpn-2.5.6 | NOK | http://autobuild.buildroot.net/results/12fa3921ccbecefc83a0c1401385685d41c6b851 | ORPH mips64 | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/437a689ed8f4814d70cf0d92c765dcb3f9ccb13f | i586 | python-pybind-2.6.1 | NOK | http://autobuild.buildroot.net/results/0e06830273bd90e04c30aaff3ae9377cf4d19359 | mipsel | python-pybind-2.6.1 | NOK | http://autobuild.buildroot.net/results/d46684b015e49a27f1cdd3d9fd6a0abdf87b66a3 | powerpc | rocksdb-6.13.3 | NOK | http://autobuild.buildroot.net/results/9ce7ad945f6105a318067a095805848565674c65 | xtensa | uclibc-1.0.39 | NOK | http://autobuild.buildroot.net/results/653585de6107dfb48b19893a71364ccc6ff64ce0 | sparc64 | xenomai | NOK | http://autobuild.buildroot.net/results/b35d7dd398459e27ed67cd03a04c96382834e76c | microblaze | xenomai-custom | NOK | http://autobuild.buildroot.net/results/b7fa664773af9318087989f0ab6e2efe7cb6ea09 | or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/2ed64df556f440131dc8432f2576d95c199614cc | arm | zlib-ng-1.9.9-b1 | NOK | http://autobuild.buildroot.net/results/f07367eca47dc41ce098382c27f5de05b8453e58 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- host-binutils-2.32 | 8 host-gcc-final-10.3.0 | 6 linux-headers | 5 linux-headers-custom | 5 argp-standalone-1.3 | 3 glibc-2.34-109-gd64b08d5ba7... | 3 host-gcc-final-11.2.0 | 3 uclibc-1.0.40 | 3 unknown | 3 git-2.31.1 | 2 host-cloop-3.14.1.3 | 2 libopenssl-1.1.1n | 2 belr-4.4.8 | 1 dhcp-4.4.2-P1 | 1 exempi-2.6.1 | 1 flac-1.3.4 | 1 frr-8.1 | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 google-breakpad-7515ab13768... | 1 host-elf2flt-7e33f28df198c4... | 1 host-nodejs | 1 host-pango-1.50.5 | 1 intel-gmmlib-22.0.2 | 1 libcap-ng-0.8.2 | 1 libest-3.2.0 | 1 libeXosip2-5.3.0 | 1 libostree-2022.1 | 1 libressl-3.4.3 | 1 lz4-1.9.3 | 1 mender-3.1.0 | 1 minizip-3.0.4 | 1 nodejs-14.18.3 | 1 opencv4-4.5.5 | 1 openpgm-5-3-128 | 1 openvmtools-10.3.5-10430147 | 1 opus-1.3.1 | 1 pcsc-lite-1.9.5 | 1 python3-3.10.2 | 1 shim-15.4 | 1 thrift-0.14.1 | 1 uclibc-ng-test-0844445e7358... | 1 vde2-2.3.2 | 1 vlc-3.0.16 | 1 zlib-ng-2.0.6 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/c4d09054f9599a0375629666fabf6b8ad0c7221c | x86_64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/df94dd30e9b9bdb4b90b9339435ec281bef7c247 | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b1e0c6b118ef6938c2a180ed464396027b003c1f | x86_64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/81abd166bf80940f0ed2dceab356ab0d48901960 | powerpc64le | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f45f6f779b6403d863f7e6915ce5147dca87711c | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/42ed726b3eceac412cb7cb5e600f73f3191346dd | powerpc64 | flac-1.3.4 | NOK | http://autobuild.buildroot.net/results/646bf1d56eccff9ff8a3a4d1a608a43afca3679a | xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/5b4040c196c7095a04e25384527cc15543a78380 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/77c0c343e32e2d6b2dc5f745a538b730ba751ac7 | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/afc76eb7c1f8b3851e1bd18de58b53052f0860f3 | arceb | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/f27d2666e3a41d43be3591bcd4540d3011a61379 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/f42b6dd21dd223acd46bfb57647277992d8c2eb6 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/30abaca223ad9ed7a274cf80c7f6aa5e1b742901 | powerpc64 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/ed084af3a7e9e6c5e93c69d31896586bb7ce3456 | mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/d14a14df8c9bfdb5fe06c902fc4c0a865d830a74 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8d7b7676170cad0d3df4b048bb4bcc69ee0dd6bc | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f1ffb09f327910519d841f79dd00a9e8ce772153 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c57985ba4f310ecd9a151af834d47bb2e0b0bd36 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/11e85e60b5eb617237598fd2ba97f288fed2e5a2 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/14e4a8d7f09d1f47d997b86ae38e3ba83459ee53 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/77003e3a8702f6ab03f375424f8416f0a0803ee9 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1fa663fb89551422a6346aabae154ab6cdc543d8 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/849cba46ef37ddcedb41b774b8f7ba79c2094712 | s390x | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/b1b8bb3b8db82c8c2bbdc6364f63c39346b59f8e | powerpc64 | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/651a74f54a12d8dac98ef97d03cdfb6e9e965248 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/7f68c31b1639753c2060e50dd465316a1e79bc6e | ORPH powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b7bdbf5fae218e6648c475d59f4706f4c56219c7 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/25754ebf46b7f6fc1be6e1e8ec24505b737047b4 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bbb4fd38b7eac62fd3fa8ec41a4339cc9e3ee495 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7617ca3bfe8e92998b93767b6f3db4cdb08f0d99 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a417519405e0e6259472aa0fd2e229f0142c2ca4 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fe8ddea122ade6c9cde0dc786e4faf922a861857 | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/a538c82fe73d1c68b1de0b8082c9a100bc6a3902 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/0fb443fd8bba8894286f4355267096c79e3fc6d1 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/c277f3a1ea9aba6c5b61afdbde75d82ee5f23d4c | xtensa | host-nodejs | TIM | http://autobuild.buildroot.net/results/0005524d40b9a9e9a00ace6c6e97b806ac20acf9 | microblazeel | host-pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/f743959847f91593de84ef240e27a42a1204de22 | ORPH x86_64 | intel-gmmlib-22.0.2 | NOK | http://autobuild.buildroot.net/results/5c4508f06d51f5f7b850974978df036e8688ebfc | riscv64 | libcap-ng-0.8.2 | NOK | http://autobuild.buildroot.net/results/c4dc80a5be8df4b51c5f8cf2ba90c1617f26c633 | powerpc64le | libest-3.2.0 | NOK | http://autobuild.buildroot.net/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/543acfb20a7a64c946be83963b6a60d29510a06f | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4ec21460a032c2a7cf929566a36974707a1f7d45 | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9f431d2cc1a7567a05b158860c76db5ecf5f4e6b | nios2 | libostree-2022.1 | NOK | http://autobuild.buildroot.net/results/393441490bca0979d609815dba03d2f2110fac60 | mips64el | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/dd568fd2ad1cf3899ac52ec223c7305be8864306 | ORPH powerpc64le | linux-headers | NOK | http://autobuild.buildroot.net/results/2055a4453d9a78925578d0a315740e4378fb176f | ORPH sparc64 | linux-headers | NOK | http://autobuild.buildroot.net/results/623b79fa31ccf63c6e8d6d0fc8178633feeb7c86 | ORPH mips | linux-headers | NOK | http://autobuild.buildroot.net/results/52ff9310979dbfa7439615c7026e3978632bf231 | ORPH i586 | linux-headers | NOK | http://autobuild.buildroot.net/results/f229979a99415d7c2f4f696b2631b1c40f656299 | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/d0923bdddcde2b2b1945a3a85a52b083ae3eaa4d | ORPH microblazeel | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/582241bfdff2eeb0825ac198806942448cbdbc4d | ORPH mips64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/a9421068ef06caf5ec27f431c6e73e80b539c9bc | ORPH powerpc64 | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/da83525615441cc52fe8577674867eaf3e52cd25 | ORPH mipsel | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/9207fbdb61ebe7a2f71c90e051f9d01782e19bf3 | ORPH microblaze | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/b86c66e53eecfb5f70a02dd5f1a51fce2dd38f46 | ORPH microblaze | lz4-1.9.3 | NOK | http://autobuild.buildroot.net/results/e33b35e19256353d08ba989708ff842b724ab0f0 | ORPH x86_64 | mender-3.1.0 | NOK | http://autobuild.buildroot.net/results/621c057c0b8b627c8140456a2b0af4f95d239dcc | microblazeel | minizip-3.0.4 | NOK | http://autobuild.buildroot.net/results/b9cf0e57553bba93245dff9117869efb159f57d4 | mipsel | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/a1fad2cd4427f501008a7e98f2a616bb31fac46a | xtensa | opencv4-4.5.5 | NOK | http://autobuild.buildroot.net/results/58b4ba4c8b6b4e127763f7f6fd4d87a60131419a | mips64el | openpgm-5-3-128 | NOK | http://autobuild.buildroot.net/results/c363d49bb01b33164058b013bbb390379d26e619 | x86_64 | openvmtools-10.3.5-10430147 | NOK | http://autobuild.buildroot.net/results/738e75edafb4da159847d30d736132837cf7f6bc | mips | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/28fa52672b84a2e5e7eb073e56bea41156bc08b3 | ORPH or1k | pcsc-lite-1.9.5 | NOK | http://autobuild.buildroot.net/results/ceb8f41b9dcef35329ab221365233404de4d2348 | ORPH microblazeel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/f6c0c7fd345f919cc3c41019b255f11d78c8756c | mips64el | shim-15.4 | NOK | http://autobuild.buildroot.net/results/3f71fd1919f5ce7972c1f3ff85a7930074b4f9d4 | nios2 | thrift-0.14.1 | NOK | http://autobuild.buildroot.net/results/9aa5d9ccd92cb8073b91107f5f917e9440dac374 | ORPH arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b018b52a7748c010ee900977a64d42e171843ff5 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1280a884e5922b022950905e40b00ebb32e443f5 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/5fa3a9691d63aa6ee0bfdf4e27a0dd3620cc3ddc | mips64 | uclibc-ng-test-0844445e7358... | NOK | http://autobuild.buildroot.net/results/9a10496be1a9d4e1e68f313cb3058f040a11f819 | m68k | unknown | NOK | http://autobuild.buildroot.net/results/89b207e2c1bc8924e27d6f27b3ae670e65c0a182 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/c06d57b57c9d7867e3fb7fedd8b5ab39872af285 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/3d3fc40d1298672da1d1877aaf55aefa92c46218 | microblazeel | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/360aeae32b874cbdc009864e9d7a4cf998eb2151 | arc | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/22290f70a45fc69b5bfdd2a9f78785b9b76e72ef | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0c36503a49ff237b59adc48ea6d230746b0f5d16 | ORPH Gitlab CI results for 2022-04-04 ================================ Detail of runtime-test failures for master ------------------------------------------ runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestLuaLuaLyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618413 | ORPH TestLxc | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618451 | ORPH TestPerlHTMLParser | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618473 | ORPH TestPerlMailDKIM | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618483 | ORPH TestPython3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618506 | ORPH TestPythonAvro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618513 | ORPH TestPythonPy3Can | https://gitlab.com/buildroot.org/buildroot/-/jobs/2286618517 | ORPH -- http://autobuild.buildroot.net From fontaine.fabrice at gmail.com Tue Apr 5 06:19:08 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 08:19:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: Message-ID: Dear Tim, Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > Use internal bind as dhcp doesn't build since bump of bind to version > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > doesn't plan to fix it any time soon: > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > In file included from ../includes/dhcpd.h:91, > > from ctrace.c:29: > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > 51 | #include > > | ^~~~~~~~~~~~~~~ > > > > Fixes: > > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/dhcp/Config.in | 1 - > > package/dhcp/dhcp.mk | 19 ++++++++++++++++--- > > 2 files changed, 16 insertions(+), 4 deletions(-) > > > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > > index 515040c612..e0706efafb 100644 > > --- a/package/dhcp/Config.in > > +++ b/package/dhcp/Config.in > > @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP > > # fork() > > depends on BR2_USE_MMU > > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS > > - select BR2_PACKAGE_BIND > > help > > DHCP relay agent from the ISC DHCP distribution. > > > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > > index 18765a3639..f1e3c22f1c 100644 > > --- a/package/dhcp/dhcp.mk > > +++ b/package/dhcp/dhcp.mk > > @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > > DHCP_INSTALL_STAGING = YES > > DHCP_LICENSE = MPL-2.0 > > DHCP_LICENSE_FILES = LICENSE > > -DHCP_DEPENDENCIES = bind host-gawk > > +DHCP_DEPENDENCIES = host-gawk > > DHCP_CPE_ID_VENDOR = isc > > +# internal bind does not support parallel builds. > > +DHCP_MAKE = $(MAKE1) > > > > # use libtool-enabled configure.ac > > define DHCP_LIBTOOL_AUTORECONF > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > So this should be the host compiler, not the target. > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... Thanks for spotting this, I basically copy/pasted what was done in bind.mk. The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should also be updated? Could you send those two patches (dhcp and bind) to the buildroot mailing or do you prefer that I send them? > > .Tim > Tim D. Hammer > tim.hammer at orolia.com > > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > > > DHCP_CONF_OPTS = \ > > - --with-libbind=$(STAGING_DIR)/usr \ > > + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ > > --with-randomdev=/dev/random \ > > --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ > > --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ > > @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ > > --with-relay-pid-file=/var/run/dhcrelay.pid \ > > --with-relay6-pid-file=/var/run/dhcrelay6.pid > > > > +ifeq ($(BR2_PACKAGE_ZLIB),y) > > +DHCP_BIND_EXTRA_CONFIG += --with-zlib > > +DHCP_DEPENDENCIES += zlib > > +else > > +DHCP_BIND_EXTRA_CONFIG += --without-zlib > > +endif > > + > > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > > +DHCP_CONF_ENV += LIBS=-latomic > > +endif > > + > > ifeq ($(BR2_STATIC_LIBS),y) > > -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" > > DHCP_CONF_OPTS += --disable-libtool > > else > > DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF > > -- > > 2.35.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > Best Regards, Fabrice From buildroot at heine.tech Tue Apr 5 07:35:52 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Tue, 5 Apr 2022 09:35:52 +0200 Subject: [Buildroot] [PATCH] package/spdlog: bump to version 1.10.0 Message-ID: <20220405073603.496103-1-buildroot@heine.tech> Signed-off-by: Michael Nosthoff --- package/spdlog/spdlog.hash | 2 +- package/spdlog/spdlog.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/spdlog/spdlog.hash b/package/spdlog/spdlog.hash index 02756fc98c..866d1d6d02 100644 --- a/package/spdlog/spdlog.hash +++ b/package/spdlog/spdlog.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 6fff9215f5cb81760be4cc16d033526d1080427d236e86d70bb02994f85e3d38 spdlog-1.9.2.tar.gz +sha256 697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224 spdlog-1.10.0.tar.gz sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE diff --git a/package/spdlog/spdlog.mk b/package/spdlog/spdlog.mk index b5dfc0c7b4..9c5e76a9e8 100644 --- a/package/spdlog/spdlog.mk +++ b/package/spdlog/spdlog.mk @@ -4,7 +4,7 @@ # ################################################################################ -SPDLOG_VERSION = 1.9.2 +SPDLOG_VERSION = 1.10.0 SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION)) SPDLOG_LICENSE = MIT SPDLOG_LICENSE_FILES = LICENSE -- 2.25.1 From bugzilla at busybox.net Tue Apr 5 08:07:19 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 05 Apr 2022 08:07:19 +0000 Subject: [Buildroot] [Bug 14746] New: Lack of management after loading Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14746 Bug ID: 14746 Summary: Lack of management after loading Product: buildroot Version: 2022.02 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: azhirov1991 at gmail.com CC: buildroot at uclibc.org Target Milestone: --- After loading on real hardware, there is no mouse cursor display. The mouse itself is working (lit), but no visible actions occur after clicking on it. The keyboard does not work (Logitech Keyboard K120). Everything is connected via USB 2.0. The screen is black. The last thing I see in front of the black screen is the launch of the X-server. By pressing the off button, the screen is replaced by a terminal and the computer turns off. I don't understand what I missed in the configs. I can't see the logs, because the keyboard doesn't work to switch to another session. I attach the configs and what I managed to photograph when I turned off the PC. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Tue Apr 5 08:12:53 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 05 Apr 2022 08:12:53 +0000 Subject: [Buildroot] [Bug 14746] Lack of management after loading In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14746 --- Comment #1 from Alexander Zhirov --- Created attachment 9271 --> https://bugs.busybox.net/attachment.cgi?id=9271&action=edit Configs buildroot https://i.stack.imgur.com/Hx94l.jpg -- You are receiving this mail because: You are on the CC list for the bug. From yegorslists at googlemail.com Tue Apr 5 08:49:28 2022 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Tue, 5 Apr 2022 10:49:28 +0200 Subject: [Buildroot] [PATCH 1/2] package/wpa_supplicant: enable SAE-PK option for WPA3 Message-ID: <20220405084929.2755-1-yegorslists@googlemail.com> From: Yegor Yefremov This enables a new security feature "SAE Public Key". Signed-off-by: Yegor Yefremov --- package/wpa_supplicant/wpa_supplicant.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index f0eb36e083..a2ca8a0b30 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -112,11 +112,13 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE else WPA_SUPPLICANT_CONFIG_DISABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE endif -- 2.17.0 From yegorslists at googlemail.com Tue Apr 5 08:49:29 2022 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Tue, 5 Apr 2022 10:49:29 +0200 Subject: [Buildroot] [PATCH 2/2] package/hostapd: enable SAE-PK option for WPA3 In-Reply-To: <20220405084929.2755-1-yegorslists@googlemail.com> References: <20220405084929.2755-1-yegorslists@googlemail.com> Message-ID: <20220405084929.2755-2-yegorslists@googlemail.com> From: Yegor Yefremov This enables a new security feature "SAE Public Key". Signed-off-by: Yegor Yefremov --- package/hostapd/hostapd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 99f0cdf1b8..4420142fbd 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -85,11 +85,13 @@ ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y) HOSTAPD_CONFIG_ENABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE else HOSTAPD_CONFIG_DISABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE endif -- 2.17.0 From peter at korsgaard.com Tue Apr 5 09:39:01 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 11:39:01 +0200 Subject: [Buildroot] [PATCH] package/opus: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220405093902.2038437-1-peter@korsgaard.com> Fixes: http://autobuild.buildroot.net/results/194/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6/ opus requires that it is configured with --enable-float-approx when -ffast-math (BR2_OPTIMIZE_FAST) is used, otherwise it errors out at build time: celt/arch.h:198:2: error: #error Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input Signed-off-by: Peter Korsgaard --- package/opus/opus.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/opus/opus.mk b/package/opus/opus.mk index 4f816df477..2fa929c7df 100644 --- a/package/opus/opus.mk +++ b/package/opus/opus.mk @@ -23,6 +23,10 @@ ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y) OPUS_CONF_OPTS += --enable-fixed-point endif +ifeq ($(BR2_OPTIMIZE_FAST),y) +OPUS_CONF_OPTS += --enable-float-approx +endif + # When we're on ARM, but we don't have ARM instructions (only # Thumb-2), disable the usage of assembly as it is not Thumb-ready. ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) -- 2.30.2 From fperrad at gmail.com Mon Apr 4 18:35:04 2022 From: fperrad at gmail.com (Francois Perrad) Date: Mon, 4 Apr 2022 20:35:04 +0200 Subject: [Buildroot] [PATCH] configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot Message-ID: <20220404183504.2392930-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/olimex_a20_olinuxino_lime2_defconfig | 8 ++++---- configs/olimex_a20_olinuxino_lime_defconfig | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig index b46cf3743..2f9594921 100644 --- a/configs/olimex_a20_olinuxino_lime2_defconfig +++ b/configs/olimex_a20_olinuxino_lime2_defconfig @@ -4,8 +4,8 @@ BR2_cortex_a7=y BR2_ARM_EABIHF=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +# Linux headers same as kernel, a 5.15 LTS series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Toolchain # glibc is needed for sunxi-mali-utgard package. @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig index 698137e46..e24857e0c 100644 --- a/configs/olimex_a20_olinuxino_lime_defconfig +++ b/configs/olimex_a20_olinuxino_lime_defconfig @@ -4,8 +4,8 @@ BR2_cortex_a7=y BR2_ARM_EABIHF=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +# Linux headers same as kernel, a 5.15 LTS series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Toolchain # glibc is needed for sunxi-mali-utgard package. @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -- 2.32.0 From fperrad at gmail.com Mon Apr 4 18:35:35 2022 From: fperrad at gmail.com (Francois Perrad) Date: Mon, 4 Apr 2022 20:35:35 +0200 Subject: [Buildroot] [PATCH] configs/mx6cubox: bump Linux and U-Boot versions Message-ID: <20220404183535.2392985-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/mx6cubox_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig index 6ea4f6e41..a9cea73fb 100644 --- a/configs/mx6cubox_defconfig +++ b/configs/mx6cubox_defconfig @@ -17,7 +17,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" BR2_TARGET_UBOOT_NEEDS_PYTHON3=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -- 2.32.0 From james.hilliard1 at gmail.com Tue Apr 5 11:50:40 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 5 Apr 2022 05:50:40 -0600 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220405115040.3779242-1-james.hilliard1@gmail.com> Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Signed-off-by: James Hilliard --- Changes v3 -> v4: - use fixup_config instead of other retries to filter bad configs Changes v2 -> v3: - properly check exit codes Changes v1 -> v2: - refactor fixup_config control flow --- utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 206 insertions(+), 9 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..59fe34e58d 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') + + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') + + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') + + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') + + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') + + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') + + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') + + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_TARGET_BAREBOX=y\n') + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_BAREBOX=y\n') + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') + + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') + + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') + + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: + return False + + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: + return False + + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +517,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,7 +598,7 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) if fixup_config(sysinfo, configfile): break @@ -433,10 +622,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 5 11:56:01 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 5 Apr 2022 05:56:01 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> References: <20220402010559.410834-1-james.hilliard1@gmail.com> <34c73050-b148-7887-63ec-56f1e90c854e@mind.be> <7fa02b77-d609-4cd4-5b93-b8f58c50b45f@mind.be> Message-ID: On Sun, Apr 3, 2022 at 7:58 AM Arnout Vandecappelle wrote: > > > > On 02/04/2022 20:58, James Hilliard wrote: > > On Sat, Apr 2, 2022 at 10:29 AM Arnout Vandecappelle wrote: > >> > >> Hi James, > >> > >> On 02/04/2022 03:05, James Hilliard wrote: > [snip] > >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > >> > >> I don't understand why for this particular one you remove it explicitly, while > >> for other cases you rely (I guess) on the dependency check to make sure we get a > >> valid config (eventually). > > > > Others were missing the empty string config for matching against so > > this approach > > didn't seem to work there. > > I still don't understand... If I have the time, I'll try to cook up a patch > that does the check the same way as all the other checks are done, and you an > tell me if you're happy with that. I was looking at the defconfig actually instead of the config for that, I think we don't need the retry saving loop with this anymore, I ran randomizations in a loop for a while and I'm not seeing any failures anymore due to invalid configs getting past fixup_config: https://patchwork.ozlabs.org/project/buildroot/patch/20220405115040.3779242-1-james.hilliard1 at gmail.com/ > > [snip] > >> I agree though that it's more work to do that than the current patch, so > >> perhaps this is a good first step. > > > > Yeah, best to do this incrementally IMO, since this is revealing issues already > > in the autobuilder relating to config validation I'm running this on: > > http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29 > > So this is running a modified buildroot-test that passes the > --no-toolchains-csv option? > > > Note that this autobuilder is an aarch64(running > > https://asahilinux.org/) host so > > it doesn't use the prebuilt toolchains. > > [snip] > >>> - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> - "savedefconfig"]) > >>> + if subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> + "savedefconfig"]): > >> > >> This one should simply never fail, so it should move outside of the loop, > >> after checking dependencies. > > > > I just tested that this can fail so I've kept it in the loop for now. > > Okay, let me rephrase: if 'make dependencies' passes, then 'make > savedefconfig' should never fail. If you had a situation where make > savedefconfig fails, I'd be interested to know about it and debug it. I think it was this issue probably: https://patchwork.ozlabs.org/project/buildroot/patch/20220405025054.966064-1-james.hilliard1 at gmail.com/ > > > Regards, > Arnout > > >>> + continue > >>> > >>> - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> - "dependencies"]) > >>> + if subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> + "dependencies"]): > >>> + continue > >>> + break > >>> + return 0 > >>> > >>> > >>> if __name__ == '__main__': > >>> @@ -433,10 +443,18 @@ if __name__ == '__main__': > >>> parser.add_argument("--buildrootdir", "-b", > >>> help="Buildroot directory (relative to current directory)", > >>> type=str, default='.') > >>> - parser.add_argument("--toolchains-csv", > >>> - help="Path of the toolchain configuration file", > >>> - type=str, > >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > >>> + toolchains_csv.add_argument("--toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Path of the toolchain configuration file", > >>> + type=str) > >>> + toolchains_csv.add_argument("--no-toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Generate random toolchain configuration", > >>> + action='store_false') > >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> args = parser.parse_args() > >>> > >>> # We need the absolute path to use with O=, because the relative From Tim.Hammer at orolia.com Tue Apr 5 12:15:14 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Tue, 5 Apr 2022 12:15:14 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: Message-ID: On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > Dear Tim, > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > doesn't plan to fix it any time soon: > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > In file included from ../includes/dhcpd.h:91, > > > from ctrace.c:29: > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > 51 | #include > > > | ^~~~~~~~~~~~~~~ > > > > > > ... > > > > > > # use libtool-enabled configure.ac > > > define DHCP_LIBTOOL_AUTORECONF > > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > > So this should be the host compiler, not the target. > > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... > > Thanks for spotting this, I basically copy/pasted what was done in bind.mk. > The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). > This is why I said I do not know the correct way- when I use $(HOST_CC), I get >>> dhcp 4.4.2-P1 Building PATH="/home/thammer/Public/buildroot/TEST/host/bin:/home/thammer/Public/buildroot/TEST/host/sbin:/home/thammer/.local/bin:/home/thammer/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/altera/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/opt/altera/nios2eds/sdk2/bin:/opt/altera/nios2eds/bin:/opt/altera/quartus/bin:/opt/altera/quartus/sopc_builder/bin" /usr/bin/make -j1 -C /home/thammer/Public/buildroot/TEST/build/dhcp-4.4.2-P1/ Making all in ./bind Configuring BIND libraries for DHCP. configure: WARNING: using cross tools not prefixed with host triplet configure: error: BUILD_CC not set make[3]: *** [Makefile:42: bind1] Error 1 > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > also be updated? I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: gen: gen.c ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c Perhaps we should be patching that file instead of the config? > > Could you send those two patches (dhcp and bind) to the buildroot > mailing or do you prefer that I send them? > I can try out my other thought and send that in a while (if it seems to work). > > ... > > > > Best Regards, > Fabrice .Tim Tim D. Hammer tim.hammer at orolia.com From bugzilla at busybox.net Tue Apr 5 13:17:16 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 05 Apr 2022 13:17:16 +0000 Subject: [Buildroot] [Bug 14746] Lack of management after loading In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14746 --- Comment #2 from Alexander Zhirov --- Created attachment 9276 --> https://bugs.busybox.net/attachment.cgi?id=9276&action=edit Xorg.0.0.log I was able to configure SSH and see what errors Xorg throws after startup. For some reason, the modules are not loaded. -- You are receiving this mail because: You are on the CC list for the bug. From aperez at igalia.com Tue Apr 5 13:29:29 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Tue, 5 Apr 2022 16:29:29 +0300 Subject: [Buildroot] [PATCH 2/2] package/webkitgtk: use the WPE renderer if available In-Reply-To: <20220405132929.823106-1-aperez@igalia.com> References: <20220405132929.823106-1-aperez@igalia.com> Message-ID: <20220405132929.823106-2-aperez@igalia.com> If enabled at build time, WebKit's internal nested compositor can work more efficiently when targeting Wayland, by avoiding one unneeded buffer copy. The build option has been available for a few years in WebKitGTK releases. Signed-off-by: Adrian Perez de Castro --- package/webkitgtk/webkitgtk.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 8d8f083ea2..eca175d1bd 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -28,8 +28,7 @@ WEBKITGTK_CONF_OPTS = \ -DUSE_LIBHYPHEN=OFF \ -DUSE_OPENJPEG=ON \ -DUSE_SOUP2=ON \ - -DUSE_WOFF2=ON \ - -DUSE_WPE_RENDERER=OFF + -DUSE_WOFF2=ON ifeq ($(BR2_PACKAGE_WEBKITGTK_SANDBOX),y) WEBKITGTK_CONF_OPTS += \ @@ -101,6 +100,13 @@ WEBKITGTK_CONF_OPTS += -DENABLE_WAYLAND_TARGET=ON endif endif +ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) +WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON +WEBKITGTK_DEPENDENCIES += wpebackend-fdo +else +WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=OFF +endif + ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y) WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON else -- 2.35.1 From aperez at igalia.com Tue Apr 5 13:29:28 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Tue, 5 Apr 2022 16:29:28 +0300 Subject: [Buildroot] [PATCH 1/2] package/webkitgtk: bump to version 2.36.0 Message-ID: <20220405132929.823106-1-aperez@igalia.com> Update to a new major release which brings in improvements and a few new features. Release notes: https://webkitgtk.org/2022/03/21/webkitgtk2.36.0-released.html None of the new features need additional dependencies. The build option USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. While at it, remove setting the ENABLE_PLUGIN_PROCESS_GTK2 option. Support for NPAPI plug-ins has been dropped already in 2.32.x and the option has been a no-op for a long time, see: https://perezdecastro.org/2020/webkitgtk-npapi-sunsetting.html https://webkitgtk.org/2021/03/26/webkitgtk2.32.0-released.html Signed-off-by: Adrian Perez de Castro --- package/webkitgtk/webkitgtk.hash | 8 ++++---- package/webkitgtk/webkitgtk.mk | 13 +++---------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 82c210c8f9..38068745ee 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.34.6.tar.xz.sums -md5 a5eeedd02f5b4bba8bd891b92dc743d4 webkitgtk-2.34.6.tar.xz -sha1 bb82517289baf9c858fa406d1d845274f81e25cb webkitgtk-2.34.6.tar.xz -sha256 6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 webkitgtk-2.34.6.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums +md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz +sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz +sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 36e4b8943b..8d8f083ea2 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.34.6 +WEBKITGTK_VERSION = 2.36.0 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES @@ -84,13 +84,6 @@ WEBKITGTK_CONF_OPTS += \ -DENABLE_X11_TARGET=ON WEBKITGTK_DEPENDENCIES += libgl \ xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt -# It can use libgtk2 for npapi plugins -ifeq ($(BR2_PACKAGE_LIBGTK2),y) -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON -WEBKITGTK_DEPENDENCIES += libgtk2 -else -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF -endif else # !X11 # GTK3-BROADWAY/WAYLAND needs at least EGL WEBKITGTK_DEPENDENCIES += libegl @@ -115,10 +108,10 @@ WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF endif ifeq ($(BR2_INIT_SYSTEMD),y) -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=ON +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON WEBKITGTK_DEPENDENCIES += systemd else -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=OFF +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif # JIT is not supported for MIPS r6, but the WebKit build system does not -- 2.35.1 From aperez at igalia.com Tue Apr 5 13:51:11 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Tue, 5 Apr 2022 16:51:11 +0300 Subject: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.0 Message-ID: <20220405135111.827101-1-aperez@igalia.com> Update to a new major release which brings in improvements and a few new features. Release notes: https://wpewebkit.org/release/wpewebkit-2.36.0.html None of the new features need additional dependencies. The build option USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. Signed-off-by: Adrian Perez de Castro --- package/wpewebkit/wpewebkit.hash | 8 ++++---- package/wpewebkit/wpewebkit.mk | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash index 231bbc447d..1e1aa62117 100644 --- a/package/wpewebkit/wpewebkit.hash +++ b/package/wpewebkit/wpewebkit.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.34.6.tar.xz.sums -md5 c9705270b342474cca28cf51632ccbbe wpewebkit-2.34.6.tar.xz -sha1 44ae95de1b5ebf0a2b0ea3630b3677153c597402 wpewebkit-2.34.6.tar.xz -sha256 301e895c8ed08ce7dccef3192b972f2ccfc2020463244c64069a636f2b05265f wpewebkit-2.34.6.tar.xz +# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums +md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz +sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz +sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index aa04e78623..3ce38d8c27 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEWEBKIT_VERSION = 2.34.6 +WPEWEBKIT_VERSION = 2.36.0 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz WPEWEBKIT_INSTALL_STAGING = YES @@ -81,10 +81,10 @@ WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF endif ifeq ($(BR2_INIT_SYSTEMD),y) -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=ON +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON WPEWEBKIT_DEPENDENCIES += systemd else -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=OFF +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif # JIT is not supported for MIPS r6, but the WebKit build system does not -- 2.35.1 From ps.report at gmx.net Tue Apr 5 16:18:15 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Tue, 5 Apr 2022 18:18:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: Message-ID: <20220405181815.5dd6d85e@gmx.net> Hello Tim, On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > Dear Tim, > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > doesn't plan to fix it any time soon: > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > In file included from ../includes/dhcpd.h:91, > > > > from ctrace.c:29: > > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > > 51 | #include > > > > | ^~~~~~~~~~~~~~~ > > > > > > > > ... > > > > > > > > # use libtool-enabled configure.ac > > > > define DHCP_LIBTOOL_AUTORECONF > > > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > > > > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > > > So this should be the host compiler, not the target. > > > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... > > > > Thanks for spotting this, I basically copy/pasted what was done in bind.mk. > > The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). > > > > This is why I said I do not know the correct way- when I use $(HOST_CC), I get > >>> dhcp 4.4.2-P1 Building > PATH="/home/thammer/Public/buildroot/TEST/host/bin:/home/thammer/Public/buildroot/TEST/host/sbin:/home/thammer/.local/bin:/home/thammer/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/altera/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/opt/altera/nios2eds/sdk2/bin:/opt/altera/nios2eds/bin:/opt/altera/quartus/bin:/opt/altera/quartus/sopc_builder/bin" /usr/bin/make -j1 -C /home/thammer/Public/buildroot/TEST/build/dhcp-4.4.2-P1/ > Making all in ./bind > Configuring BIND libraries for DHCP. > configure: WARNING: using cross tools not prefixed with host triplet > configure: error: BUILD_CC not set > make[3]: *** [Makefile:42: bind1] Error 1 > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > also be updated? > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > gen: gen.c > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > Perhaps we should be patching that file instead of the config? See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch Regards, Peter > > > > > Could you send those two patches (dhcp and bind) to the buildroot > > mailing or do you prefer that I send them? > > > > I can try out my other thought and send that in a while (if it seems to work). > > > > ... > > > > > > > Best Regards, > > Fabrice > > .Tim > Tim D. Hammer > tim.hammer at orolia.com > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Tue Apr 5 16:35:40 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 18:35:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 Message-ID: <20220405163540.9277-1-fontaine.fabrice@gmail.com> Override COMMON_CPPFLAGS to fix the following build failure with BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit cd707a9112e38b4ce98326b96c0ed12054ca1cca and https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] It should be noted that upstream already rejected a PR to remove -Werror: https://github.com/smuellerDD/libkcapi/pull/132 Fixes: - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 Signed-off-by: Fabrice Fontaine --- package/libkcapi/libkcapi.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk index 71dfbd9eff..353939bb31 100644 --- a/package/libkcapi/libkcapi.mk +++ b/package/libkcapi/libkcapi.mk @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ ac_cv_path_DB2PDF="" \ ac_cv_path_DB2PS="" \ ac_cv_path_XMLTO="" +LIBKCAPI_MAKE_OPTS = COMMON_CPPFLAGS="" ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp -- 2.35.1 From peter at korsgaard.com Tue Apr 5 17:12:38 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:12:38 +0200 Subject: [Buildroot] [PATCH] package/opus: fix build with BR2_OPTIMIZE_FAST In-Reply-To: <20220405093902.2038437-1-peter@korsgaard.com> (Peter Korsgaard's message of "Tue, 5 Apr 2022 11:39:01 +0200") References: <20220405093902.2038437-1-peter@korsgaard.com> Message-ID: <87h777wj21.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes: > http://autobuild.buildroot.net/results/194/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6/ > opus requires that it is configured with --enable-float-approx when > -ffast-math (BR2_OPTIMIZE_FAST) is used, otherwise it errors out at build > time: > celt/arch.h:198:2: error: #error Cannot build libopus with -ffast-math > unless FLOAT_APPROX is defined. This could result in crashes on extreme > (e.g. NaN) input > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 17:18:48 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:18:48 +0200 Subject: [Buildroot] [PATCH 1/2] package/docker-cli: bump to version v20.10.14 In-Reply-To: <20220404214717.587193-1-christian@paral.in> (Christian Stewart's message of "Mon, 4 Apr 2022 14:47:16 -0700") References: <20220404214717.587193-1-christian@paral.in> Message-ID: <87czhvwirr.fsf@dell.be.48ers.dk> >>>>> "Christian" == Christian Stewart writes: > https://github.com/moby/moby/releases/tag/v20.10.14 > Signed-off-by: Christian Stewart Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 17:18:52 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:18:52 +0200 Subject: [Buildroot] [PATCH 2/2] package/docker-engine: bump to version v20.10.14 In-Reply-To: <20220404214717.587193-2-christian@paral.in> (Christian Stewart's message of "Mon, 4 Apr 2022 14:47:17 -0700") References: <20220404214717.587193-1-christian@paral.in> <20220404214717.587193-2-christian@paral.in> Message-ID: <878rsjwirn.fsf@dell.be.48ers.dk> >>>>> "Christian" == Christian Stewart writes: > https://github.com/moby/moby/releases/tag/v20.10.14 > Signed-off-by: Christian Stewart Committed, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Tue Apr 5 17:19:11 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 5 Apr 2022 19:19:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: <20220405025054.966064-1-james.hilliard1@gmail.com> References: <20220405025054.966064-1-james.hilliard1@gmail.com> Message-ID: <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> On 05/04/2022 04:50, James Hilliard wrote: > Fixes: > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > make: *** [Makefile:84: _all] Error 2 How do you get this? I've tried a number of configurations, but I always get package/aufs/aufs.mk:21: *** No aufs version specified. Stop. make: *** [Makefile:84: _all] Error 2 I could only reproduce with `make source`, but that's a bit a special case. Regards, Arnout > > Signed-off-by: James Hilliard > --- > package/aufs/aufs.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk > index 4e95a350a0..b2dda771d9 100644 > --- a/package/aufs/aufs.mk > +++ b/package/aufs/aufs.mk > @@ -8,6 +8,7 @@ AUFS_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_VERSION)) > AUFS_LICENSE = GPL-2.0 > AUFS_LICENSE_FILES = COPYING > > +ifneq ($(AUFS_VERSION),) > ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) > AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone > AUFS_SITE_METHOD = git > @@ -16,6 +17,7 @@ AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) > else ifeq ($(BR2_PACKAGE_AUFS_SERIES),5) > AUFS_SITE = $(call github,sfjro,aufs5-standalone,$(AUFS_VERSION)) > endif > +endif > > ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:) > $(error No aufs version specified) From peter at korsgaard.com Tue Apr 5 17:19:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:19:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/runc: bump to version v1.1.1 In-Reply-To: <20220404215930.601909-1-christian@paral.in> (Christian Stewart's message of "Mon, 4 Apr 2022 14:59:30 -0700") References: <20220404215930.601909-1-christian@paral.in> Message-ID: <874k37wipw.fsf@dell.be.48ers.dk> >>>>> "Christian" == Christian Stewart writes: > Signed-off-by: Christian Stewart Committed after adding a notice that this is a bugfix release (and hence should be backported tot 2022.02.x), thanks. -- Bye, Peter Korsgaard From arnout at mind.be Tue Apr 5 17:23:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 5 Apr 2022 19:23:25 +0200 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <20220405115040.3779242-1-james.hilliard1@gmail.com> References: <20220405115040.3779242-1-james.hilliard1@gmail.com> Message-ID: <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> On 05/04/2022 13:50, James Hilliard wrote: > Currently we only test a limited set of toolchains that are mostly > prebuilt, add a flag to allow using randconfig for randomizing > additional toolchain settings instead of randpackageconfig. > > To avoid invalid configs we need to add additional config validation > filtering and fixups. > > Signed-off-by: James Hilliard > --- > Changes v3 -> v4: > - use fixup_config instead of other retries to filter bad configs Well, I don't like this. It means we have to duplicate the logic for checking the bad configs in two places: in the mk file and in genrandconfig. If the problem is that you sometimes don't end up with a valid config even after 100 iterations, then I think a better solution is to feed valid values for the string options. That way, we still do a build test of e.g. BR2_ROOTFS_SKELETON_CUSTOM. [Others may disagree with me of course.] Regards, Arnout > Changes v2 -> v3: > - properly check exit codes > Changes v1 -> v2: > - refactor fixup_config control flow > --- > utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 206 insertions(+), 9 deletions(-) > > diff --git a/utils/genrandconfig b/utils/genrandconfig > index 3483d55c14..59fe34e58d 100755 > --- a/utils/genrandconfig > +++ b/utils/genrandconfig > @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): > configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > > + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') > + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') > + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') > + > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ > + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') > + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') > + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') > + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') > + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') > + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') > + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') > + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') > + > + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ > + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: > + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') > + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') > + > + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') > + > + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ > + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') > + > + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ > + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: > + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') > + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') > + > + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ > + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') > + > + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ > + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') > + > + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ > + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') > + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') > + > + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_TARGET_BAREBOX=y\n') > + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') > + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') > + > + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ > + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_TARGET_BAREBOX=y\n') > + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') > + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') > + > + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ > + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: > + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > + > + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') > + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') > + > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_TARGET_UBOOT=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') > + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') > + > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: > + configlines.remove('BR2_TARGET_UBOOT=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') > + > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ > + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: > + configlines.remove('BR2_TARGET_UBOOT=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') > + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') > + > + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') > + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > + return False > + > + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ > + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') > + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > + return False > + > + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ > + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ > + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: > + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') > + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') > + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') > + > with open(configfile, "w+") as configf: > configf.writelines(configlines) > > @@ -331,11 +517,14 @@ def gen_config(args): > > sysinfo = SystemInfo() > > - # Select a random toolchain configuration > - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > + if args.toolchains_csv: > + # Select a random toolchain configuration > + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > - i = randint(0, len(configs) - 1) > - toolchainconfig = configs[i] > + i = randint(0, len(configs) - 1) > + toolchainconfig = configs[i] > + else: > + toolchainconfig = [] > > configlines = list(toolchainconfig) > > @@ -409,7 +598,7 @@ def gen_config(args): > bounded_loop -= 1 > subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > "KCONFIG_PROBABILITY=%d" % randint(1, 20), > - "randpackageconfig"]) > + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > > if fixup_config(sysinfo, configfile): > break > @@ -433,10 +622,18 @@ if __name__ == '__main__': > parser.add_argument("--buildrootdir", "-b", > help="Buildroot directory (relative to current directory)", > type=str, default='.') > - parser.add_argument("--toolchains-csv", > - help="Path of the toolchain configuration file", > - type=str, > - default="support/config-fragments/autobuild/toolchain-configs.csv") > + > + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > + toolchains_csv.add_argument("--toolchains-csv", > + dest="toolchains_csv", > + help="Path of the toolchain configuration file", > + type=str) > + toolchains_csv.add_argument("--no-toolchains-csv", > + dest="toolchains_csv", > + help="Generate random toolchain configuration", > + action='store_false') > + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > + > args = parser.parse_args() > > # We need the absolute path to use with O=, because the relative From peter at korsgaard.com Tue Apr 5 17:27:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 19:27:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/containerd: bump to version v1.6.2 In-Reply-To: <20220404221451.610628-1-christian@paral.in> (Christian Stewart's message of "Mon, 4 Apr 2022 15:14:51 -0700") References: <20220404221451.610628-1-christian@paral.in> Message-ID: <87zgkzv3se.fsf@dell.be.48ers.dk> >>>>> "Christian" == Christian Stewart writes: > Note: this version adds compatibility for Go 1.18. > Signed-off-by: Christian Stewart This fixes CVE-2022-23648 and CVE-2022-24769, so it should be listed as a security bump. The 1.5.x series is still supported so I instead bumped to 1.5.11 for easier backporting to 2022.02.x -- Bye, Peter Korsgaard From arnout at mind.be Tue Apr 5 17:27:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 5 Apr 2022 19:27:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 In-Reply-To: <20220405163540.9277-1-fontaine.fabrice@gmail.com> References: <20220405163540.9277-1-fontaine.fabrice@gmail.com> Message-ID: On 05/04/2022 18:35, Fabrice Fontaine wrote: > Override COMMON_CPPFLAGS to fix the following build failure with > BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit > cd707a9112e38b4ce98326b96c0ed12054ca1cca and > https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: > > /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] I haven't looked at the details, but in this case it seems to me the proper solution is to make sure _FORTIFY_SOURCE is not enabled. But perhaps that is exactly what this patch does? Regards, Arnout > > It should be noted that upstream already rejected a PR to remove > -Werror: https://github.com/smuellerDD/libkcapi/pull/132 > > Fixes: > - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 > > Signed-off-by: Fabrice Fontaine > --- > package/libkcapi/libkcapi.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk > index 71dfbd9eff..353939bb31 100644 > --- a/package/libkcapi/libkcapi.mk > +++ b/package/libkcapi/libkcapi.mk > @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ > ac_cv_path_DB2PDF="" \ > ac_cv_path_DB2PS="" \ > ac_cv_path_XMLTO="" > +LIBKCAPI_MAKE_OPTS = COMMON_CPPFLAGS="" > > ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) > LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp From fontaine.fabrice at gmail.com Tue Apr 5 18:09:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 20:09:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-libav: fix build without C++ Message-ID: <20220405180944.946684-1-fontaine.fabrice@gmail.com> Fix the following build failure without C++ raised since bump to version 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: The following exception(s) were encountered: Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a Signed-off-by: Fabrice Fontaine --- ...-build-on-systems-without-C-compiler.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch diff --git a/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..6b275220f8 --- /dev/null +++ b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 4 Apr 2022 23:32:56 +0200 +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-libav/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index fbfa3049afe..7da94b80d59 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-libav', 'c', 'cpp', ++project('gst-libav', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 5 18:50:28 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 20:50:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 In-Reply-To: References: <20220405163540.9277-1-fontaine.fabrice@gmail.com> Message-ID: Le mar. 5 avr. 2022 ? 19:28, Arnout Vandecappelle a ?crit : > > > > On 05/04/2022 18:35, Fabrice Fontaine wrote: > > Override COMMON_CPPFLAGS to fix the following build failure with > > BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit > > cd707a9112e38b4ce98326b96c0ed12054ca1cca and > > https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: > > > > /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] > > I haven't looked at the details, but in this case it seems to me the proper > solution is to make sure _FORTIFY_SOURCE is not enabled. > > But perhaps that is exactly what this patch does? This patch was removing the following flags (including -Werror): COMMON_CPPFLAGS = -Wextra -Wall -pedantic -fwrapv --param ssp-buffer-size=4 -O2 -Werror -std=gnu99 -Wconversion However, -D_FORTIFY_SOURCE=2 was still set (in CPPFLAGS) I can send a v2 to set CPPFLAGS to $(TARGET_CPPFLAGS) if you prefer this solution. > > Regards, > Arnout > > > > > It should be noted that upstream already rejected a PR to remove > > -Werror: https://github.com/smuellerDD/libkcapi/pull/132 > > > > Fixes: > > - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/libkcapi/libkcapi.mk | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk > > index 71dfbd9eff..353939bb31 100644 > > --- a/package/libkcapi/libkcapi.mk > > +++ b/package/libkcapi/libkcapi.mk > > @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ > > ac_cv_path_DB2PDF="" \ > > ac_cv_path_DB2PS="" \ > > ac_cv_path_XMLTO="" > > +LIBKCAPI_MAKE_OPTS = COMMON_CPPFLAGS="" > > > > ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) > > LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp Best Regards, Fabrice From fontaine.fabrice at gmail.com Tue Apr 5 18:54:26 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 20:54:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE Message-ID: <20220405185426.1250850-1-fontaine.fabrice@gmail.com> Drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE which is not needed since bump to version 2.37.4 in commit a586f0a283cd69f436bc6d0cff484460b412a1ce Signed-off-by: Fabrice Fontaine --- package/util-linux/util-linux.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 7c153a6804..243e7dac8d 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -37,13 +37,6 @@ UTIL_LINUX_CONF_OPTS += \ UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS) -# workaround missing disk-utils/raw.8 file in util-linux-2.37.3 -# release download package -define UTIL_LINUX_FIX_DISK_UTILS_COMPILE - touch $(@D)/disk-utils/raw.8 -endef -UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE - HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf # We also don't want the host-python dependency -- 2.35.1 From peter at korsgaard.com Tue Apr 5 17:16:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:16:18 +0200 Subject: [Buildroot] [git commit] package/docker-engine: bump to version v20.10.14 Message-ID: <20220405185320.1B0798361C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=db9707d0c06939a573d5da26423fac6e5aaa65ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index ec3a242629..d4fe83a806 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a8ee80d31c7b74f687a837cd2a8570578f118179fba0844c5ee88f90fe180155 docker-engine-20.10.12.tar.gz +sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 2a1239b676..3aef31599f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.12 +DOCKER_ENGINE_VERSION = 20.10.14 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From peter at korsgaard.com Tue Apr 5 17:17:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:17:45 +0200 Subject: [Buildroot] [git commit] package/runc: bump to version v1.1.1 Message-ID: <20220405185320.23C0A8361A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=91c056f0d598ed0d5b94ec4d4cebb9bd203efb50 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release, fixing a number of issues: https://github.com/opencontainers/runc/releases/tag/v1.1.1 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/runc/runc.hash | 2 +- package/runc/runc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/runc/runc.hash b/package/runc/runc.hash index 38d9f52510..fe3c4cc488 100644 --- a/package/runc/runc.hash +++ b/package/runc/runc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a8de57edbf0ff741ea798ccdd99ac0e1b79914f552871bd7cd92b0569f200964 runc-1.1.0.tar.gz +sha256 11a34535c108b36fd59de58e7bef3a130444c9ea41e4b8bb8f8d4654c8ad654c runc-1.1.1.tar.gz sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE diff --git a/package/runc/runc.mk b/package/runc/runc.mk index a40075544e..2618b71f63 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUNC_VERSION = 1.1.0 +RUNC_VERSION = 1.1.1 RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0, LGPL-2.1 (libseccomp) RUNC_LICENSE_FILES = LICENSE From peter at korsgaard.com Tue Apr 5 17:14:38 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:14:38 +0200 Subject: [Buildroot] [git commit] package/docker-cli: bump to version v20.10.14 Message-ID: <20220405185320.124D58361B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8111f5c27ca4757786b2f5faf30f7d96881314e6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index f2fe316540..9a07acf89f 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d86e3e6e10669634ee02b5e071e5ee504457a9d03941bbc5b7f2bd3683ebdb19 docker-cli-20.10.12.tar.gz +sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index d5cca34efc..c7458f85dd 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.12 +DOCKER_CLI_VERSION = 20.10.14 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From peter at korsgaard.com Tue Apr 5 17:28:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:28:14 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 Message-ID: <20220405185320.319C18361B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 - CVE-2022-24769: Default inheritable capabilities for linux container should be empty https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5aafe2e70..23dacded88 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz +sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 8976e12f1a..c405b75e81 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.9 +CONTAINERD_VERSION = 1.5.11 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From peter at korsgaard.com Tue Apr 5 17:12:30 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 19:12:30 +0200 Subject: [Buildroot] [git commit] package/opus: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220405185320.09F348361A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43e859d47a5474d8acdaf81a0ea63aa9a909985f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: http://autobuild.buildroot.net/results/194/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6/ opus requires that it is configured with --enable-float-approx when -ffast-math (BR2_OPTIMIZE_FAST) is used, otherwise it errors out at build time: celt/arch.h:198:2: error: #error Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input Signed-off-by: Peter Korsgaard --- package/opus/opus.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/opus/opus.mk b/package/opus/opus.mk index 4f816df477..2fa929c7df 100644 --- a/package/opus/opus.mk +++ b/package/opus/opus.mk @@ -23,6 +23,10 @@ ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y) OPUS_CONF_OPTS += --enable-fixed-point endif +ifeq ($(BR2_OPTIMIZE_FAST),y) +OPUS_CONF_OPTS += --enable-float-approx +endif + # When we're on ARM, but we don't have ARM instructions (only # Thumb-2), disable the usage of assembly as it is not Thumb-ready. ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) From james.hilliard1 at gmail.com Tue Apr 5 19:38:52 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 5 Apr 2022 13:38:52 -0600 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> Message-ID: On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: > > > > On 05/04/2022 13:50, James Hilliard wrote: > > Currently we only test a limited set of toolchains that are mostly > > prebuilt, add a flag to allow using randconfig for randomizing > > additional toolchain settings instead of randpackageconfig. > > > > To avoid invalid configs we need to add additional config validation > > filtering and fixups. > > > > Signed-off-by: James Hilliard > > --- > > Changes v3 -> v4: > > - use fixup_config instead of other retries to filter bad configs > > Well, I don't like this. It means we have to duplicate the logic for checking > the bad configs in two places: in the mk file and in genrandconfig. Well it seems to work better since instead of regenerating it tries to fixup the config. I think this gives better statistical coverage of some config options. > > If the problem is that you sometimes don't end up with a valid config even > after 100 iterations, then I think a better solution is to feed valid values for > the string options. That way, we still do a build test of e.g. > BR2_ROOTFS_SKELETON_CUSTOM. That looks a bit tricky, although we could probably add it for some cases that we want test coverage for. > > [Others may disagree with me of course.] > > Regards, > Arnout > > > > Changes v2 -> v3: > > - properly check exit codes > > Changes v1 -> v2: > > - refactor fixup_config control flow > > --- > > utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- > > 1 file changed, 206 insertions(+), 9 deletions(-) > > > > diff --git a/utils/genrandconfig b/utils/genrandconfig > > index 3483d55c14..59fe34e58d 100755 > > --- a/utils/genrandconfig > > +++ b/utils/genrandconfig > > @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): > > configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > > configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > > > > + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > > + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > > + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') > > + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') > > + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') > > + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') > > + > > + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') > > + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') > > + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') > > + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') > > + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') > > + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') > > + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') > > + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') > > + > > + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ > > + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: > > + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') > > + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') > > + > > + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > > + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') > > + > > + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > > + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ > > + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') > > + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') > > + > > + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ > > + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: > > + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') > > + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') > > + > > + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ > > + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': > > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') > > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') > > + > > + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ > > + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') > > + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') > > + > > + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ > > + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') > > + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') > > + > > + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > > + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_TARGET_BAREBOX=y\n') > > + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') > > + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') > > + > > + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > > + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_TARGET_BAREBOX=y\n') > > + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') > > + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') > > + > > + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ > > + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: > > + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > > + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > > + > > + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > > + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > > + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') > > + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') > > + > > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_TARGET_UBOOT=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') > > + > > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: > > + configlines.remove('BR2_TARGET_UBOOT=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') > > + > > + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ > > + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: > > + configlines.remove('BR2_TARGET_UBOOT=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') > > + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') > > + > > + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') > > + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > > + return False > > + > > + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ > > + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') > > + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') > > + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > > + return False > > + > > + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ > > + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ > > + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: > > + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') > > + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') > > + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') > > + > > with open(configfile, "w+") as configf: > > configf.writelines(configlines) > > > > @@ -331,11 +517,14 @@ def gen_config(args): > > > > sysinfo = SystemInfo() > > > > - # Select a random toolchain configuration > > - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > + if args.toolchains_csv: > > + # Select a random toolchain configuration > > + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > > > > - i = randint(0, len(configs) - 1) > > - toolchainconfig = configs[i] > > + i = randint(0, len(configs) - 1) > > + toolchainconfig = configs[i] > > + else: > > + toolchainconfig = [] > > > > configlines = list(toolchainconfig) > > > > @@ -409,7 +598,7 @@ def gen_config(args): > > bounded_loop -= 1 > > subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > > "KCONFIG_PROBABILITY=%d" % randint(1, 20), > > - "randpackageconfig"]) > > + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > > > > if fixup_config(sysinfo, configfile): > > break > > @@ -433,10 +622,18 @@ if __name__ == '__main__': > > parser.add_argument("--buildrootdir", "-b", > > help="Buildroot directory (relative to current directory)", > > type=str, default='.') > > - parser.add_argument("--toolchains-csv", > > - help="Path of the toolchain configuration file", > > - type=str, > > - default="support/config-fragments/autobuild/toolchain-configs.csv") > > + > > + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > > + toolchains_csv.add_argument("--toolchains-csv", > > + dest="toolchains_csv", > > + help="Path of the toolchain configuration file", > > + type=str) > > + toolchains_csv.add_argument("--no-toolchains-csv", > > + dest="toolchains_csv", > > + help="Generate random toolchain configuration", > > + action='store_false') > > + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > > + > > args = parser.parse_args() > > > > # We need the absolute path to use with O=, because the relative From peter at korsgaard.com Tue Apr 5 19:49:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 21:49:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireshark: needs C++ In-Reply-To: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 19:10:15 +0200") References: <20220402171015.1180992-1-fontaine.fabrice@gmail.com> Message-ID: <87v8vnux8o.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > wireshark needs C++ since switch to cmake-package in commit > 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: > CMake Error at CMakeLists.txt:32 (project): > No CMAKE_CXX_COMPILER could be found. > Fixes: > - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae > Signed-off-by: Fabrice Fontaine Committed to 2021.02.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 19:48:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 21:48:14 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] package/wireshark: needs C++ Message-ID: <20220405193949.417C183621@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b927353cb6606c415566c3a83b12b4d14ae0bbed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 3763c30214d6c16c744c1e03a9ae7fe6fd061165) Signed-off-by: Peter Korsgaard --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Tue Apr 5 19:47:57 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 21:47:57 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/wireshark: needs C++ Message-ID: <20220405193953.7048383625@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d76f1433721b813661d1f3fb916590f8fd404b3b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 3763c30214d6c16c744c1e03a9ae7fe6fd061165) Signed-off-by: Peter Korsgaard --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP From fontaine.fabrice at gmail.com Tue Apr 5 19:49:16 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 21:49:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ Message-ID: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> gst1-plugins-bad needs C++ since switch to meson-package in commit 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e Signed-off-by: Fabrice Fontaine --- package/gstreamer1/gst1-imx/Config.in | 6 ++++-- package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ package/gstreamer1/gst1-vaapi/Config.in | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in index 7b46233b53..41ef8548c5 100644 --- a/package/gstreamer1/gst1-imx/Config.in +++ b/package/gstreamer1/gst1-imx/Config.in @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK bool "imxv4l2videosink" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad select BR2_PACKAGE_GST1_PLUGINS_BAD help Elements for V4L2 output -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ + !BR2_INSTALL_LIBSTDCPP endif diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 234d57636b..669360adb1 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -1,5 +1,6 @@ menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD bool "gst1-plugins-bad" + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_GST1_PLUGINS_BASE help A set of plug-ins for GStreamer that may be of poor quality @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 endif + +comment "gst1-plugins-bad needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in index 91bd4f85dd..ade8b83a5f 100644 --- a/package/gstreamer1/gst1-vaapi/Config.in +++ b/package/gstreamer1/gst1-vaapi/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI bool "gst1-vaapi" depends on !BR2_STATIC_LIBS # dlopen(), libva depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBVA select BR2_PACKAGE_LIBDRM @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS endif -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_PACKAGE_HAS_UDEV + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From peter at korsgaard.com Tue Apr 5 19:51:15 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 21:51:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/fluidsynth: bump to version 2.2.6 In-Reply-To: <20220328203139.1115402-1-ju.o@free.fr> (Julien Olivain's message of "Mon, 28 Mar 2022 22:31:39 +0200") References: <20220328203139.1115402-1-ju.o@free.fr> Message-ID: <87r16bux58.fsf@dell.be.48ers.dk> >>>>> "Julien" == Julien Olivain writes: > For change log since v2.2.5, see: > - https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.6 > Signed-off-by: Julien Olivain Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 19:50:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 21:50:53 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/fluidsynth: bump to version 2.2.6 Message-ID: <20220405194155.5E1A88362C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b82afb7f10d8561efa5651f452acf79824efc3fb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x For change log since v2.2.5, see: - https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.6 Signed-off-by: Julien Olivain Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit d2fc098faa5b8b8608b4c3d56dc526374c3319aa) Signed-off-by: Peter Korsgaard --- package/fluidsynth/fluidsynth.hash | 2 +- package/fluidsynth/fluidsynth.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/fluidsynth/fluidsynth.hash b/package/fluidsynth/fluidsynth.hash index 0d41c16d8d..20eb9ec49f 100644 --- a/package/fluidsynth/fluidsynth.hash +++ b/package/fluidsynth/fluidsynth.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 9037e703617f91c4c36039a5059e0f624164799d856af715bcd8a23c07ba03b8 fluidsynth-2.2.5.tar.gz +sha256 ca90fe675cacd9a7b442662783c4e7fa0e1fd638b28d64105a4e3fe0f618d20f fluidsynth-2.2.6.tar.gz sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk index b500944c16..d7c72ed059 100644 --- a/package/fluidsynth/fluidsynth.mk +++ b/package/fluidsynth/fluidsynth.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLUIDSYNTH_VERSION = 2.2.5 +FLUIDSYNTH_VERSION = 2.2.6 FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION)) FLUIDSYNTH_LICENSE = LGPL-2.1+ FLUIDSYNTH_LICENSE_FILES = LICENSE From peter at korsgaard.com Tue Apr 5 19:52:36 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 21:52:36 +0200 Subject: [Buildroot] [PATCH v2,1/1] package/pango: fix empty-body In-Reply-To: <20220330165702.1018014-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 30 Mar 2022 18:57:02 +0200") References: <20220330165702.1018014-1-fontaine.fabrice@gmail.com> Message-ID: <87mtgzux2z.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure raised since bump to version 1.50.5 in > commit 68b0efbae49a42d0e14d6040e5e7e573d382ff75: > ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': > ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] > ; > ^ > Fixes: > - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2 (after review of Arnout Vandecappelle): > - Fix error instead of dropping -Werror Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From yann.morin.1998 at free.fr Tue Apr 5 19:55:45 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 21:55:45 +0200 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc In-Reply-To: <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> References: <20220404091256.683581-1-joel@jms.id.au> <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> Message-ID: <20220405195545.GH2354230@scaer> Arnout, All, On 2022-04-04 22:17 +0200, Arnout Vandecappelle spake thusly: > On 04/04/2022 11:12, Joel Stanley wrote: > >Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the > Peter just backported this one to 2022.02.x... > >Power8 optimisations off to fix a build issue. Instead apply a patch > >from the develop branch upstream to fix the issue. > > > >This patch is not yet in a released version of zlib-ng. > > > >Signed-off-by: Joel Stanley > Applied to master, thanks. Err... Why would we enable the POWER8 optimisations when the target is not a POWER8 ? Backporting the patch seems correct, but the enabling/disabling the optinisations should have stayed, I believe... Regards, Yann E. MORIN. > >--- > > ...rd-for-vec_sumsu-to-prevent-undefine.patch | 27 +++++++++++++++++++ > > package/zlib-ng/zlib-ng.mk | 6 ----- > > 2 files changed, 27 insertions(+), 6 deletions(-) > > create mode 100644 package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > > > >diff --git a/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > >new file mode 100644 > >index 000000000000..cc103215de3c > >--- /dev/null > >+++ b/package/zlib-ng/0001-Use-static-keyword-for-vec_sumsu-to-prevent-undefine.patch > >@@ -0,0 +1,27 @@ > >+From 677f56825f7080403e18e57ffe8177f3df290f20 Mon Sep 17 00:00:00 2001 > >+From: Nathan Moinvaziri > >+Date: Sun, 23 Jan 2022 12:59:01 -0800 > >+Subject: [PATCH] Use static keyword for vec_sumsu to prevent undefined > >+ reference error when g++ linking. > >+ > >+Signed-off-by: Joel Stanley > >+--- > >+ arch/power/adler32_power8.c | 2 +- > >+ 1 file changed, 1 insertion(+), 1 deletion(-) > >+ > >+diff --git a/arch/power/adler32_power8.c b/arch/power/adler32_power8.c > >+index 029aa3a84c57..fc4086322efc 100644 > >+--- a/arch/power/adler32_power8.c > >++++ b/arch/power/adler32_power8.c > >+@@ -44,7 +44,7 @@ > >+ #include "adler32_p.h" > >+ > >+ /* Vector across sum unsigned int (saturate). */ > >+-inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { > >++static inline vector unsigned int vec_sumsu(vector unsigned int __a, vector unsigned int __b) { > >+ __b = vec_sld(__a, __a, 8); > >+ __b = vec_add(__b, __a); > >+ __a = vec_sld(__b, __b, 4); > >+-- > >+2.35.1 > >+ > >diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk > >index 938acd4181a6..fb497b8c11d0 100644 > >--- a/package/zlib-ng/zlib-ng.mk > >+++ b/package/zlib-ng/zlib-ng.mk > >@@ -23,10 +23,4 @@ ifeq ($(BR2_arm),y) > > ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 > > endif > >-ifeq ($(BR2_powerpc_power8),y) > >-ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON > >-else > >-ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF > >-endif > >- > > $(eval $(cmake-package)) > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From peter at korsgaard.com Tue Apr 5 20:06:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 05 Apr 2022 22:06:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/upower: add gobject-introspection optional dependency In-Reply-To: <20220330173237.1377195-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 30 Mar 2022 19:32:37 +0200") References: <20220330173237.1377195-1-fontaine.fabrice@gmail.com> Message-ID: <87ilrnuwgk.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > gobject-introspection is an optional dependency which is enabled by > default since > https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 5 20:05:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 22:05:50 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/upower: add gobject-introspection optional dependency Message-ID: <20220405195717.0CDBD8363F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2dc7323ad083df69550e50461835f960d662cb42 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x gobject-introspection is an optional dependency which is enabled by default since https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 8bcae68f37d2c608e9e151fb983f16c09c11f85e) Signed-off-by: Peter Korsgaard --- package/upower/upower.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/upower/upower.mk b/package/upower/upower.mk index 8989ca9f5d..a6f39d2f46 100644 --- a/package/upower/upower.mk +++ b/package/upower/upower.mk @@ -22,4 +22,11 @@ UPOWER_DEPENDENCIES = \ UPOWER_CONF_OPTS = --disable-man-pages --disable-tests +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +UPOWER_CONF_OPTS += --enable-introspection +UPOWER_DEPENDENCIES += gobject-introspection +else +UPOWER_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package)) From peter at korsgaard.com Tue Apr 5 19:52:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 5 Apr 2022 21:52:13 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/pango: fix empty-body Message-ID: <20220405195717.045DF8363E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99d31b4da16d22a715e3be5183c42a50deec92d6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure raised since bump to version 1.50.5 in commit 68b0efbae49a42d0e14d6040e5e7e573d382ff75: ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] ; ^ Fixes: - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 43991ac5e0e6cdb4aa03ed7011243aa0f473fd56) Signed-off-by: Peter Korsgaard --- .../0001-utils-viewer-cairo-c-fix-empty-body.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch new file mode 100644 index 0000000000..4b7b5f9b19 --- /dev/null +++ b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch @@ -0,0 +1,40 @@ +From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 29 Mar 2022 21:39:03 +0000 +Subject: [PATCH] utils/viewer-cairo.c: fix empty-body + +Fix the following build failure raised +since version 1.50.5 and +https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: + +../utils/viewer-cairo.c: In function 'cairo_vector_view_create': +../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] + ; + ^ + +Fixes: + - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] +--- + utils/viewer-cairo.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c +index ca98c1cd..f15b3fb9 100644 +--- a/utils/viewer-cairo.c ++++ b/utils/viewer-cairo.c +@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) + return NULL; + + if (0) +- ; ++ {} + #ifdef CAIRO_HAS_SVG_SURFACE + else if (0 == g_ascii_strcasecmp (extension, "svg")) + constructor = cairo_svg_surface_create; +-- +GitLab + From fontaine.fabrice at gmail.com Tue Apr 5 20:06:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 22:06:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/igh-ethercat: needs kernel < 3.5 Message-ID: <20220405200615.1755287-1-fontaine.fabrice@gmail.com> igh-ethercat needs kernel < 3.5 since bump to version 1.5.2 in commit 88cd215169d6875a5ed0543b15254b98f9f83104: checking for kernel for 8139too driver... configure: error: kernel 5.15 not available for 8139too driver! Fixes: - http://autobuild.buildroot.org/results/e8122e9d7c13d07a6ddc7d9a2d3a078c21521ecd Signed-off-by: Fabrice Fontaine --- package/igh-ethercat/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/igh-ethercat/Config.in b/package/igh-ethercat/Config.in index e600ef5fcd..51b8584f78 100644 --- a/package/igh-ethercat/Config.in +++ b/package/igh-ethercat/Config.in @@ -1,9 +1,14 @@ comment "igh-ethercat needs a Linux kernel to be built" depends on !BR2_LINUX_KERNEL +comment "igh-ethercat needs a toolchain w/ headers < 3.5" + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 + config BR2_PACKAGE_IGH_ETHERCAT bool "igh-ethercat" depends on BR2_LINUX_KERNEL + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 help IgH EtherCAT Master for Linux. -- 2.35.1 From james.hilliard1 at gmail.com Tue Apr 5 20:09:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 5 Apr 2022 14:09:56 -0600 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> References: <20220405025054.966064-1-james.hilliard1@gmail.com> <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> Message-ID: On Tue, Apr 5, 2022 at 11:19 AM Arnout Vandecappelle wrote: > > > > On 05/04/2022 04:50, James Hilliard wrote: > > Fixes: > > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > > make: *** [Makefile:84: _all] Error 2 > > How do you get this? I've tried a number of configurations, but I always get > > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > make: *** [Makefile:84: _all] Error 2 > > I could only reproduce with `make source`, but that's a bit a special case. Something like this seems to hit it: BR2_LINUX_KERNEL_EXT_AUFS=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" BR2_PACKAGE_AUFS=y BR2_PACKAGE_AUFS_SERIES=4 BR2_PACKAGE_AUFS_VERSION="" # BR2_PACKAGE_AUFS_UTIL is not set > > Regards, > Arnout > > > > > Signed-off-by: James Hilliard > > --- > > package/aufs/aufs.mk | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk > > index 4e95a350a0..b2dda771d9 100644 > > --- a/package/aufs/aufs.mk > > +++ b/package/aufs/aufs.mk > > @@ -8,6 +8,7 @@ AUFS_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_VERSION)) > > AUFS_LICENSE = GPL-2.0 > > AUFS_LICENSE_FILES = COPYING > > > > +ifneq ($(AUFS_VERSION),) > > ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) > > AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone > > AUFS_SITE_METHOD = git > > @@ -16,6 +17,7 @@ AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) > > else ifeq ($(BR2_PACKAGE_AUFS_SERIES),5) > > AUFS_SITE = $(call github,sfjro,aufs5-standalone,$(AUFS_VERSION)) > > endif > > +endif > > > > ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:) > > $(error No aufs version specified) From yann.morin.1998 at free.fr Tue Apr 5 20:10:35 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 22:10:35 +0200 Subject: [Buildroot] [git commit] package/util-linux: drop workaround for previously missing file Message-ID: <20220405200159.3122683649@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ab85fc137faa46bd1feb5d95b14ba9bedb1513e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE which is not needed since bump to version 2.37.4 in commit a586f0a283cd69f436bc6d0cff484460b412a1ce Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/util-linux/util-linux.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 9d9b61d8f5..b53b94ec31 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -35,13 +35,6 @@ UTIL_LINUX_CONF_OPTS += \ UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS) -# workaround missing disk-utils/raw.8 file in util-linux-2.37.3 -# release download package -define UTIL_LINUX_FIX_DISK_UTILS_COMPILE - touch $(@D)/disk-utils/raw.8 -endef -UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE - HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf # We also don't want the host-python dependency From giulio.benetti at benettiengineering.com Tue Apr 5 20:30:30 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 5 Apr 2022 22:30:30 +0200 Subject: [Buildroot] [PATCH] package/harfbuzz: bump to version 4.2.0 Message-ID: <20220405203030.3418304-1-giulio.benetti@benettiengineering.com> Since the major release changed I've built successfully all packages that have direct dependency to harfbuzz: - efl - libass - mupdf - pango - qt5base - sdl2_ttf - supertuxkart - vlc - webkitgtk - wpewebkit Signed-off-by: Giulio Benetti --- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash index e4674afa87..1576824a5a 100644 --- a/package/harfbuzz/harfbuzz.hash +++ b/package/harfbuzz/harfbuzz.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 7158a87c4db82521fc506711f0c8864115f0292d95f7136c8812c11811cdf952 harfbuzz-3.4.0.tar.xz +sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 331b35c530..551277a788 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 3.4.0 +HARFBUZZ_VERSION = 4.2.0 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library) -- 2.25.1 From fontaine.fabrice at gmail.com Tue Apr 5 20:40:04 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 22:40:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/liburing: needs MMU Message-ID: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> liburing needs MMU since its addition in commit 03ca6f4e39874583060317e7e15e9e360220877e: setup.c: In function 'io_uring_ring_dontfork': setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); | ^~~~~~~ | raise Fixes: - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 Signed-off-by: Fabrice Fontaine --- package/liburing/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/liburing/Config.in b/package/liburing/Config.in index d65a3f1322..fc13f1c17c 100644 --- a/package/liburing/Config.in +++ b/package/liburing/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBURING bool "liburing" + depends on BR2_USE_MMU # madvise() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 help @@ -11,5 +12,6 @@ config BR2_PACKAGE_LIBURING https://git.kernel.dk/cgit/liburing comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 -- 2.35.1 From ps.report at gmx.net Tue Apr 5 20:42:54 2022 From: ps.report at gmx.net (Peter Seiderer) Date: Tue, 5 Apr 2022 22:42:54 +0200 Subject: [Buildroot] [PATCH v1] package/spidev_test: fix version determination (SPI_TX_OCTAL support needs linux headers >= 5.8) Message-ID: <20220405204254.11147-1-ps.report@gmx.net> Fixes: - http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842 .../build/spidev_test-5.8/spidev_test.c:132:13: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'? 132 | if (mode & SPI_TX_OCTAL) | ^~~~~~~~~~~~ | SPI_TX_DUAL Signed-off-by: Peter Seiderer --- package/spidev_test/Config.in | 2 +- package/spidev_test/spidev_test.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/spidev_test/Config.in b/package/spidev_test/Config.in index 81386adf7a..abfa885b73 100644 --- a/package/spidev_test/Config.in +++ b/package/spidev_test/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_SPIDEV_TEST proper operation of 'spidev_test'. The version used is based on your toolchain headers version, - if it's older than 3.15 then 3.0 is used, up to headers 4.20 + if it's older than 3.15 then 3.0 is used, up to headers 5.7 version 4.10 is used and otherwise version 5.8. This means you won't have quad-pumped SPI support if your toolchain is too old. diff --git a/package/spidev_test/spidev_test.mk b/package/spidev_test/spidev_test.mk index 6c5a9495a4..bd138b0142 100644 --- a/package/spidev_test/spidev_test.mk +++ b/package/spidev_test/spidev_test.mk @@ -10,7 +10,7 @@ # If you need quad-pumped spi support you need to upgrade your toolchain. # Note that the location of spidev_test.c changes from v4.5 onwards. -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0),y) +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8),y) SPIDEV_TEST_VERSION = 5.8 SPIDEV_TEST_PATH = tools/spi else ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 5 20:55:21 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 22:55:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/lsof: drop first and second patches Message-ID: <20220405205521.2117028-1-fontaine.fabrice@gmail.com> Set LSOF_AR and LSOF_CC to be able to drop first patch which is not upstreamable: https://github.com/lsof-org/lsof/issues/197 $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it is already set in LSOF_CONFIGURE_CMDS Signed-off-by: Fabrice Fontaine --- package/lsof/0001-makefile.patch | 14 -------------- ...cs.patch => 0001-remove-susvlegacy-funcs.patch} | 0 package/lsof/0003-override-cflags.patch | 13 ------------- package/lsof/lsof.mk | 5 +++-- 4 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 package/lsof/0001-makefile.patch rename package/lsof/{0002-remove-susvlegacy-funcs.patch => 0001-remove-susvlegacy-funcs.patch} (100%) delete mode 100644 package/lsof/0003-override-cflags.patch diff --git a/package/lsof/0001-makefile.patch b/package/lsof/0001-makefile.patch deleted file mode 100644 index 65b1b2e2a7..0000000000 --- a/package/lsof/0001-makefile.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel ---- a/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100 -+++ b/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100 -@@ -21,8 +21,8 @@ - all: ${LIB} - - ${LIB}: ${OBJ} -- ${AR} -- ${RANLIB} -+ ${AR} cr ${LIB} ${OBJ} -+ ${RANLIB} ${LIB} - - clean: FRC - rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core diff --git a/package/lsof/0002-remove-susvlegacy-funcs.patch b/package/lsof/0001-remove-susvlegacy-funcs.patch similarity index 100% rename from package/lsof/0002-remove-susvlegacy-funcs.patch rename to package/lsof/0001-remove-susvlegacy-funcs.patch diff --git a/package/lsof/0003-override-cflags.patch b/package/lsof/0003-override-cflags.patch deleted file mode 100644 index 135e599ac9..0000000000 --- a/package/lsof/0003-override-cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- lsof_4.84/Configure 2008-10-21 18:21:45.000000000 +0200 -+++ lsof_4.84/Configure 2010-11-03 14:00:00.000000000 +0100 -@@ -5206,6 +5206,10 @@ - cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF - fi # } - cat ./dialects/$LSOF_DIALECT_DIR/$LSOF_REST >> $LSOF_MKFC -+if test "X$LSOF_CFLAGS_OVERRIDE" != "X" # { -+then -+ sed -i -e 's/^CFLAGS=/override CFLAGS=/' $LSOF_MKFC -+fi # } - if test "X$LSOF_LIB_NO" = "X" # { - then - diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk index ff09d64345..e4e339349a 100644 --- a/package/lsof/lsof.mk +++ b/package/lsof/lsof.mk @@ -33,7 +33,8 @@ endif define LSOF_CONFIGURE_CMDS (cd $(@D) ; \ echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ - LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ + LSOF_AR="$(TARGET_AR) cr" LSOF_CC=$(TARGET_CC) \ + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" \ LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ ./Configure linux) $(LSOF_CONFIGURE_WCHAR_FIXUPS) @@ -41,7 +42,7 @@ define LSOF_CONFIGURE_CMDS endef define LSOF_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) endef define LSOF_INSTALL_TARGET_CMDS -- 2.35.1 From yann.morin.1998 at free.fr Tue Apr 5 21:06:04 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 23:06:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE In-Reply-To: <20220405185426.1250850-1-fontaine.fabrice@gmail.com> References: <20220405185426.1250850-1-fontaine.fabrice@gmail.com> Message-ID: <20220405210604.GI2354230@scaer> Fabrice, All, On 2022-04-05 20:54 +0200, Fabrice Fontaine spake thusly: > Drop UTIL_LINUX_FIX_DISK_UTILS_COMPILE which is not needed since bump to > version 2.37.4 in commit a586f0a283cd69f436bc6d0cff484460b412a1ce > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/util-linux/util-linux.mk | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk > index 7c153a6804..243e7dac8d 100644 > --- a/package/util-linux/util-linux.mk > +++ b/package/util-linux/util-linux.mk > @@ -37,13 +37,6 @@ UTIL_LINUX_CONF_OPTS += \ > > UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS) > > -# workaround missing disk-utils/raw.8 file in util-linux-2.37.3 > -# release download package > -define UTIL_LINUX_FIX_DISK_UTILS_COMPILE > - touch $(@D)/disk-utils/raw.8 > -endef > -UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE > - > HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf > > # We also don't want the host-python dependency > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 5 21:12:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 23:12:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: References: <20220405025054.966064-1-james.hilliard1@gmail.com> <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> Message-ID: <20220405211250.GJ2354230@scaer> James, All, On 2022-04-05 14:09 -0600, James Hilliard spake thusly: > On Tue, Apr 5, 2022 at 11:19 AM Arnout Vandecappelle wrote: > > On 05/04/2022 04:50, James Hilliard wrote: > > > Fixes: > > > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > > > make: *** [Makefile:84: _all] Error 2 > > How do you get this? I've tried a number of configurations, but I always get > > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > > make: *** [Makefile:84: _all] Error 2 > > I could only reproduce with `make source`, but that's a bit a special case. > > Something like this seems to hit it: > BR2_LINUX_KERNEL_EXT_AUFS=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > BR2_PACKAGE_AUFS=y > BR2_PACKAGE_AUFS_SERIES=4 > BR2_PACKAGE_AUFS_VERSION="" > # BR2_PACKAGE_AUFS_UTIL is not set This still produces the expected error that Arnout reported: $ make qemu_m68k_q800_defconfig # just for a config with a kernel $ cat <<_EOF_ >>.config BR2_LINUX_KERNEL_EXT_AUFS=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" BR2_PACKAGE_AUFS=y BR2_PACKAGE_AUFS_SERIES=4 BR2_PACKAGE_AUFS_VERSION="" # BR2_PACKAGE_AUFS_UTIL is not set _EOF_ $ make olddefconfig $ grep AUFS .config BR2_LINUX_KERNEL_EXT_AUFS=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" BR2_PACKAGE_AUFS=y BR2_PACKAGE_AUFS_SERIES=4 BR2_PACKAGE_AUFS_VERSION="" # BR2_PACKAGE_AUFS_UTIL is not set $ make package/aufs/aufs.mk:21: *** No aufs version specified. Stop. make: *** [Makefile:23: _all] Error 2 Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 5 21:16:47 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 23:16:47 +0200 Subject: [Buildroot] [git commit] package/spidev_test: fix version depending on kernel headers version Message-ID: <20220405211029.7074B83657@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ac91235797fe9b234fb820c0112f21c26be1349f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: - http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842 .../build/spidev_test-5.8/spidev_test.c:132:13: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'? 132 | if (mode & SPI_TX_OCTAL) | ^~~~~~~~~~~~ | SPI_TX_DUAL Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- package/spidev_test/Config.in | 2 +- package/spidev_test/spidev_test.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/spidev_test/Config.in b/package/spidev_test/Config.in index 81386adf7a..abfa885b73 100644 --- a/package/spidev_test/Config.in +++ b/package/spidev_test/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_SPIDEV_TEST proper operation of 'spidev_test'. The version used is based on your toolchain headers version, - if it's older than 3.15 then 3.0 is used, up to headers 4.20 + if it's older than 3.15 then 3.0 is used, up to headers 5.7 version 4.10 is used and otherwise version 5.8. This means you won't have quad-pumped SPI support if your toolchain is too old. diff --git a/package/spidev_test/spidev_test.mk b/package/spidev_test/spidev_test.mk index 6c5a9495a4..bd138b0142 100644 --- a/package/spidev_test/spidev_test.mk +++ b/package/spidev_test/spidev_test.mk @@ -10,7 +10,7 @@ # If you need quad-pumped spi support you need to upgrade your toolchain. # Note that the location of spidev_test.c changes from v4.5 onwards. -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0),y) +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8),y) SPIDEV_TEST_VERSION = 5.8 SPIDEV_TEST_PATH = tools/spi else ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) From yann.morin.1998 at free.fr Tue Apr 5 21:20:19 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 5 Apr 2022 23:20:19 +0200 Subject: [Buildroot] [PATCH v1] package/spidev_test: fix version determination (SPI_TX_OCTAL support needs linux headers >= 5.8) In-Reply-To: <20220405204254.11147-1-ps.report@gmx.net> References: <20220405204254.11147-1-ps.report@gmx.net> Message-ID: <20220405212019.GK2354230@scaer> Peter, All, On 2022-04-05 22:42 +0200, Peter Seiderer spake thusly: > Fixes: > > - http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842 > > .../build/spidev_test-5.8/spidev_test.c:132:13: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'? > 132 | if (mode & SPI_TX_OCTAL) > | ^~~~~~~~~~~~ > | SPI_TX_DUAL > > Signed-off-by: Peter Seiderer Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/spidev_test/Config.in | 2 +- > package/spidev_test/spidev_test.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/spidev_test/Config.in b/package/spidev_test/Config.in > index 81386adf7a..abfa885b73 100644 > --- a/package/spidev_test/Config.in > +++ b/package/spidev_test/Config.in > @@ -9,7 +9,7 @@ config BR2_PACKAGE_SPIDEV_TEST > proper operation of 'spidev_test'. > > The version used is based on your toolchain headers version, > - if it's older than 3.15 then 3.0 is used, up to headers 4.20 > + if it's older than 3.15 then 3.0 is used, up to headers 5.7 > version 4.10 is used and otherwise version 5.8. > This means you won't have quad-pumped SPI support if your > toolchain is too old. > diff --git a/package/spidev_test/spidev_test.mk b/package/spidev_test/spidev_test.mk > index 6c5a9495a4..bd138b0142 100644 > --- a/package/spidev_test/spidev_test.mk > +++ b/package/spidev_test/spidev_test.mk > @@ -10,7 +10,7 @@ > # If you need quad-pumped spi support you need to upgrade your toolchain. > # Note that the location of spidev_test.c changes from v4.5 onwards. > > -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0),y) > +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8),y) > SPIDEV_TEST_VERSION = 5.8 > SPIDEV_TEST_PATH = tools/spi > else ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Tue Apr 5 21:33:51 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 23:33:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnss: fix build on powerpc Message-ID: <20220405213351.2487658-1-fontaine.fabrice@gmail.com> Set NSS_DISABLE_CRYPTO_VSX which is available since version 3.64 and https://github.com/nss-dev/nss/commit/9dab43371d4d924419523e18ba84f02804880533 to avoid the following build failure on powerpc: cc1: warning: '-mvsx' requires hardware floating point cc1: error: '-mno-vsx' turns off '-mcrypto' Fixes: - http://autobuild.buildroot.org/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 Signed-off-by: Fabrice Fontaine --- package/libnss/libnss.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index 2f7a265136..4582c55ada 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -51,6 +51,7 @@ LIBNSS_BUILD_VARS = \ NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \ NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \ NS_USE_GCC=1 \ + NSS_DISABLE_CRYPTO_VSX=1 \ NSS_DISABLE_GTESTS=1 \ NSS_USE_SYSTEM_SQLITE=1 \ NATIVE_CC="$(HOSTCC)" \ -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 5 21:52:07 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 23:52:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/rt-tests: needs __sync_*_4 intrisics Message-ID: <20220405215207.2696390-1-fontaine.fabrice@gmail.com> rt-tests needs __sync_*_4 intrisics since bump to version 1.9 in commit 32be34427956a590d07d12e965f97fa9d2110ae9 and https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/commit/?id=c86dec5765e1ad0bd1d0c429ca7c138c11da2c80: oslat.c:(.text+0x1034): undefined reference to `__sync_add_and_fetch_4' Fixes: - http://autobuild.buildroot.org/results/9b065ee7611db3a404863b85161f46a2e9e8ddad Signed-off-by: Fabrice Fontaine --- package/rt-tests/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in index 47fa7cd840..8efa3d194e 100644 --- a/package/rt-tests/Config.in +++ b/package/rt-tests/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_RT_TESTS bool "rt-tests" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU # fork(), numactl @@ -30,6 +31,7 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain" depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 5 21:57:52 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 5 Apr 2022 23:57:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix build without NPTL Message-ID: <20220405215752.2803676-1-fontaine.fabrice@gmail.com> Fix the following build failure without NPTL raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://github.com/postgres/postgres/commit/44bf3d5083e151d772c5d6f656e3e162f573dced: In file included from pthread_barrier_wait.c:16: ../../src/include/port/pg_pthread.h:31:3: error: conflicting types for 'pthread_barrier_t' 31 | } pthread_barrier_t; | ^~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:114, from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:71, from ../../src/include/c.h:59, from pthread_barrier_wait.c:14: /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:135:3: note: previous declaration of 'pthread_barrier_t' was here 135 | } pthread_barrier_t; | ^~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/70acbe121236ef0905c4466d4f7a0839723d2c49 Signed-off-by: Fabrice Fontaine --- package/postgresql/postgresql.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index c389246f80..1dfb20b58d 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -38,7 +38,7 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) POSTGRESQL_CONF_ENV += pgac_cv_type_locale_t=no endif -ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) POSTGRESQL_CONF_OPTS += --disable-thread-safety endif -- 2.35.1 From dpb at corrigendum.ru Tue Apr 5 23:34:11 2022 From: dpb at corrigendum.ru (=?UTF-8?q?=D0=A0=D0=BE=D0=BC=D0=B0=D0=BD=20=D0=94=D0=BE=D0=BD=D1=87=D0=B5=D0=BD=D0=BA=D0=BE?=) Date: Wed, 6 Apr 2022 02:34:11 +0300 Subject: [Buildroot] [PATCH 1/1] package/pkg-python.mk: remove hardcoded paths for host Python Message-ID: <20220405233412.4701-1-dpb@corrigendum.ru> When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ????? ???????? --- package/pkg-python.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..acd5628f3b 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -212,7 +204,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") -- 2.25.1 From Tim.Hammer at orolia.com Wed Apr 6 01:58:11 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Wed, 6 Apr 2022 01:58:11 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220405181815.5dd6d85e@gmx.net> References: <20220405181815.5dd6d85e@gmx.net> Message-ID: On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > Hello Tim, > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > Dear Tim, > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > doesn't plan to fix it any time soon: > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > > > In file included from ../includes/dhcpd.h:91, > > > > > from ctrace.c:29: > > > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > > > 51 | #include > > > > > | ^~~~~~~~~~~~~~~ > > > > > > > > > > ... > > > > > > > > > > # use libtool-enabled configure.ac > > > > > define DHCP_LIBTOOL_AUTORECONF > > > > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > > > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > > > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > > > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > > > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > > > > > > > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > > > > So this should be the host compiler, not the target. > > > > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... > > > > > > Thanks for spotting this, I basically copy/pasted what was done in bind.mk. > > > The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). > > > > > > > This is why I said I do not know the correct way- when I use $(HOST_CC), I get > > >>> dhcp 4.4.2-P1 Building > > PATH="/home/thammer/Public/buildroot/TEST/host/bin:/home/thammer/Public/buildroot/TEST/host/sbin:/home/thammer/.local/bin:/home/thammer/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/altera/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/opt/altera/nios2eds/sdk2/bin:/opt/altera/nios2eds/bin:/opt/altera/quartus/bin:/opt/altera/quartus/sopc_builder/bin" /usr/bin/make -j1 -C /home/thammer/Public/buildroot/TEST/build/dhcp-4.4.2-P1/ > > Making all in ./bind > > Configuring BIND libraries for DHCP. > > configure: WARNING: using cross tools not prefixed with host triplet > > configure: error: BUILD_CC not set > > make[3]: *** [Makefile:42: bind1] Error 1 > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > also be updated? > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > gen: gen.c > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > Perhaps we should be patching that file instead of the config? > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > Regards, > Peter > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step and I have not figured out a good way to get this diff in place. Perhaps someone with more experience can see the solution that is eluding me? .Tim Tim D. Hammer tim.hammer at orolia.com > > > > > > > > > Could you send those two patches (dhcp and bind) to the buildroot > > > mailing or do you prefer that I send them? > > > > > > > I can try out my other thought and send that in a while (if it seems to work). > > > > > > ... > > > > > > > > > > Best Regards, > > > Fabrice > > > > .Tim > > Tim D. Hammer > > tim.hammer at orolia.com > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From joel at jms.id.au Wed Apr 6 02:05:17 2022 From: joel at jms.id.au (Joel Stanley) Date: Wed, 6 Apr 2022 02:05:17 +0000 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc In-Reply-To: <20220405195545.GH2354230@scaer> References: <20220404091256.683581-1-joel@jms.id.au> <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> <20220405195545.GH2354230@scaer> Message-ID: On Tue, 5 Apr 2022 at 19:55, Yann E. MORIN wrote: > > Arnout, All, > > On 2022-04-04 22:17 +0200, Arnout Vandecappelle spake thusly: > > On 04/04/2022 11:12, Joel Stanley wrote: > > >Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the > > Peter just backported this one to 2022.02.x... > > >Power8 optimisations off to fix a build issue. Instead apply a patch > > >from the develop branch upstream to fix the issue. > > > > > >This patch is not yet in a released version of zlib-ng. > > > > > >Signed-off-by: Joel Stanley > > Applied to master, thanks. > > Err... Why would we enable the POWER8 optimisations when the target is > not a POWER8 ? > > Backporting the patch seems correct, but the enabling/disabling the > optinisations should have stayed, I believe... Taking a look at the cmake configuration, there's dozens of options that provide optimisations. It looks like it does detection of features: elseif(BASEARCH_PPC_FOUND) # Common arch detection code if(WITH_ALTIVEC) check_ppc_intrinsics() endif() if(WITH_POWER8) check_power8_intrinsics() endif() if(HAVE_VMX OR HAVE_POWER8_INTRIN) list(APPEND ZLIB_ARCH_HDRS ${ARCHDIR}/power_features.h) list(APPEND ZLIB_ARCH_SRCS ${ARCHDIR}/power_features.c) ... if(WITH_POWER8) if(HAVE_POWER8_INTRIN) add_definitions(-DPOWER8) add_definitions(-DPOWER_FEATURES) add_definitions(-DPOWER8_VSX_ADLER32) add_definitions(-DPOWER8_VSX_CHUNKSET) add_definitions(-DPOWER8_VSX_SLIDEHASH) set(POWER8_SRCS ${ARCHDIR}/adler32_power8.c ${ARCHDIR}/chunkset_power8.c ${ARCHDIR}/slide_hash_power8.c) if("${ARCH}" MATCHES "powerpc64(le)?") add_definitions(-DPOWER8_VSX_CRC32) list(APPEND POWER8_SRCS ${ARCHDIR}/crc32_power8.c) endif() list(APPEND ZLIB_ARCH_SRCS ${POWER8_SRCS}) set_property(SOURCE ${POWER8_SRCS} PROPERTY COMPILE_FLAGS "${POWER8FLAG} ${NOLTOFLAG}") else() set(WITH_POWER8 OFF) endif() The check looks like this. check_power8_intrinsics() { # Check whether features needed by POWER optimisations are available cat > $test.c << EOF #include int main() { return (getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_2_07); } EOF if test $buildpower8 -eq 1 && try $CC -c $CFLAGS -mcpu=power8 $test.c; then HAVE_POWER8_INTRIN=1 echo "Check whether POWER8 instructions are available ... Yes." | tee -a configure.log else HAVE_POWER8_INTRIN=0 echo "Check whether POWER8 instructions are available ... No." | tee -a configure.log fi } So as long as your compiler defines the PPC_FEATURE2_ARCH_2_07 in auxv.h, and supports -mcpu=power8, it will build the code. The application then does runtime checking of auxv to decide if the optimisations should be used. Setting WITH_POWER8=OFF on the command line will skip the checks, and not build in the optimisations. WITH_POWER8=ON has no effect as it's the default and the cmake logic will turn it off if it detects the platform isn't capable. >From what I can see, there's a small binary size reduction to be had by forcing Power8 off if your toolchain is power8 capable but you know your platform isn't. I think this is the case for GCC built for ppc64(le) but targeting a different CPU. I suggest we let the zlib-ng build system do its thing to ease the maintenance burden of keeping the flags up to date. I also welcome someone double checking my analysis, as I may have misunderstood something. Cheers, Joel From emile.cormier.jr at gmail.com Wed Apr 6 02:06:02 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Tue, 5 Apr 2022 23:06:02 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option Message-ID: When using cmake while running a post-build script, the ExternalProject_add command fails when the URL option is used to download a source tarball via https. This is because the host cmake is not built using the --system-curl option (https://github.com/Kitware/CMake/blob/master/bootstrap#L660). Without the system-curl option, the cmake build will use its own bundled libcurl without OpenSSL support, and thus downloading tarballs via https fails. Adding the --system-curl option would entail that libcurl also be built as a host library. I don't think it currently is. I use CMake's ExternalProject_add in our project to download and build the static library dependencies that our embedded application needs. I know that buildroot provides various packages for cross-compiled libraries, but I have no control over the versions (and compile-time options) of these packages. Cheers, Emile Cormier -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.petazzoni at bootlin.com Wed Apr 6 05:29:15 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 06 Apr 2022 05:29:15 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-05 Message-ID: <20220406052921.EA8D8408C5@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-05 =================================== branch | OK | NOK | TIM | TOT | 2021.02.x | 61 | 36 | 0 | 97 | 2022.02.x | 31 | 49 | 2 | 82 | master | 161 | 464 | 4 | 629 | Classification of failures by reason for master ----------------------------------------------- libcap-ng-0.8.3 | 54 host-binutils-2.32 | 53 host-gcc-final-10.3.0 | 34 host-util-linux-2.38 | 29 dhcp-4.4.2-P1 | 18 argp-standalone-1.3 | 17 libopenssl-1.1.1n | 16 host-elf2flt-7e33f28df198c4... | 14 uclibc-1.0.40 | 13 host-gcc-final-11.2.0 | 11 util-linux-2.38 | 8 fetchmail-6.4.29 | 7 glibc-2.34-109-gd64b08d5ba7... | 7 python3-3.10.2 | 7 toolchain-external-bootlin-... | 7 arptables-0.0.5 | 6 refpolicy | 6 host-gcc-final-9.4.0 | 5 libressl-3.4.3 | 5 minizip-3.0.5 | 5 bubblewrap-0.6.1 | 4 git-2.31.1 | 4 linux-headers-5.10.104-cip3 | 4 acpid-2.0.33 | 3 host-nodejs | 3 linux-5.15.30 | 3 linux-headers-5.10.104-cip3... | 3 perl-5.34.1 | 3 polkit-a2bf5c9c83b6ae46cbd5... | 3 toolchain-external-bootlin | 3 unknown | 3 wavemon-0.9.4 | 3 bitcoin-0.21.2 | 2 edk2-edk2-stable202102 | 2 frr-8.2.2 | 2 host-gcc-initial-11.2.0 | 2 libeXosip2-5.3.0 | 2 libgcrypt-1.10.0 | 2 libglib2-2.70.4 | 2 libnspr-4.33 | 2 libnss-3.76 | 2 libsigsegv-2.13 | 2 linux-headers-5.15.30 | 2 ntp-4.2.8p15 | 2 qpid-proton-0.35.0 | 2 shadowsocks-libev-3.3.5 | 2 toolchain-external-codescap... | 2 uacme-1.7.1 | 2 vlc-3.0.16 | 2 zlib-ng-2.0.6 | 2 arp-scan-1.9.7 | 1 aufs-util | 1 azmq-1.0.3 | 1 boost-1.78.0 | 1 dash-0.5.11.5 | 1 elfutils-0.186 | 1 expat-2.4.7 | 1 fluidsynth-2.2.6 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 gmp-6.2.1 | 1 gnu-efi-3.0.10 | 1 gobject-introspection-1.70.0 | 1 gst1-libav-1.20.1 | 1 gst1-plugins-bad-1.20.1 | 1 host-binutils-2.36.1 | 1 host-gdb-arc-2020.09-releas... | 1 host-go-1.17.8 | 1 host-llvm | 1 i2pd-2.40.0 | 1 igh-ethercat-1.5.2 | 1 jack2-1.9.20 | 1 jpeg-turbo-2.1.3 | 1 json-c-0.15 | 1 kexec-2.0.23 | 1 libkcapi-1.1.5 | 1 libsepol-3.3 | 1 libuhttpd-3.14.1 | 1 liburing-2.1 | 1 linux | 1 linux-pam-1.5.2 | 1 linux-tools | 1 ltp-testsuite-20220121 | 1 lua-cqueues-20200726 | 1 mariadb-10.3.34 | 1 mesa3d-21.3.8 | 1 musl-1.2.2 | 1 netatalk-3.1.13 | 1 netsurf-3.10 | 1 nodejs-14.18.3 | 1 opensbi | 1 opus-1.3.1 | 1 pigz-2.6 | 1 pixman-0.40.0 | 1 poppler-21.12.0 | 1 postgresql-14.2 | 1 python-ujson-4.2.0 | 1 quickjs-2021-03-27 | 1 rt-tests-2.3 | 1 stunnel-5.60 | 1 tcf-agent-1.7.0 | 1 tinifier-3.4.0 | 1 toolchain-external-bootlin-... | 1 transmission-3.00 | 1 trousers-0.3.15 | 1 vde2-2.3.2 | 1 xenomai | 1 xenomai-custom | 1 xfsprogs-5.14.2 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/daca163055a0ebadd1429c8ebe7ce417fe6d044f | ORPH mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/fc45b7452ccba73824c891c85df9a51e2808073c | ORPH mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/3a8143a9dbeaaf54d7bb31fa3302c797a34c7de4 | ORPH powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4c4902c10c461edccd9d19dbd707f5d1a54b553c | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/de643c272959bdb2abf492dc6355b3f070700dc3 | aarch64_be | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/62627d4caf26ea779a83015f84de32eb9f933c8f | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/abd285457025014c9edd188c896d047a9c6036cd | mips64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/993d4ff30ea1307139f1d61a87774a6fe93ca5cb | powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/98b0460badfb25d61f2ded4bd8d514343f8c11e5 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/56bd4a08daf594b077cdb711338ec661d62b2d4c | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4688b1c928926559df95b999fc46a1364b00d4f0 | mips64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2e7521e0ef558c311c9f5d816e40a4fbaf4d5403 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2bc37b6d39515f3e55ebc1e5de039ff00423088f | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/ec06546ddad277efee9574ec3cfab9d214ce26ca | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/bc711e2306ee163a466e1266e0680f310a8acd7a | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/3a3119c75874c54f4fe716d6b76a68f178fec26c | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8c12a8d961bd85c35faa87a21373c22d5f0de707 | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/bb22ff237173d4bf823462d5c3be5d14830b502e | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/53edf33d3f92e1eba634b1c7f4e3a006053026a2 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/1bd7fa7bdeeb46dafa93d74d619dedf0782efe39 | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/81a1769cd171dc6a0222a5d2815722fb54fdb5bf | mips | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/58fe75adc3fd7a03f89a20fd7770067868d395bd | ORPH m68k | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/08e1934491e2bfaf4dbb88563cb0cd0b59c57350 | ORPH xtensa | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/cce400da857bdc879d4d08722b58af03bb1d8b91 | ORPH x86_64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/d34b19dfc85fe14aa48aa2587f47806d7325f7fc | ORPH powerpc64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/eedddc7837b6f82ae227291110324b4952e985cc | ORPH powerpc | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/36d4a0cd44996e604a48968eb83a6cee5391d237 | ORPH microblaze | aufs-util | NOK | http://autobuild.buildroot.net/results/045de2159128efa04c569eb33e2cdea635e614f8 | mips64el | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/ea35c7ba2dc55c2abb9ce80475d582a84a5c1857 | i686 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/aefc9671012be95185fa11287cc34dddbcb0164c | microblazeel | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/18d5fceb06dc5e0c548e21406247e4f7dba93702 | arceb | boost-1.78.0 | NOK | http://autobuild.buildroot.net/results/e7d1211f56e19eaac90b736acc9890860edbbcf6 | mips64el | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/0a061b99e76334564275d7c72a1f75bb92680bae | mips64el | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/ed6387873de4f83104fe0d292bbe9d1acb864a40 | mips64 | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/6eb391de2739adbf9f682f33665e40c4d7b73af4 | mips64el | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/1a2c7ef066e917905d253ed1132453f2858373f6 | powerpc | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/b44312c180f176e1dc820f854b5de16afd14495d | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/517513461b1d72e9a913eeff358dae50fd322f31 | ORPH arceb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/54fc7a34cf11c82d4095e30587840653202657e5 | ORPH m68k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/71b713d02993fb7576f8dae0e632cdc589a9d8d0 | ORPH arceb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/13ff97aca0265c51945e85ff86bffb59cf86d304 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/6d8df3d0746cd837609118a0142a20dbf9dbaa91 | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/e75c4781d9830df3bce8259b826f5a0a05511c0a | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2833756fc0ad9d44fbe234ede709bedf43919c90 | ORPH i686 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/edf5d63d780ad76799258e38307fc43d29b98e8e | ORPH microblaze | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2ce6a327249930dc69ec51ce5913da3e998a7b80 | ORPH microblaze | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/e6170fa98d51671c95317ea10c250a08f9027fe0 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4d04d0b3eee050ed547b445116d5930d68e5dbfc | ORPH arceb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f83f22667592c1371d91f6ae2fc0d8e2700749d0 | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7b5b4ccf52b0b414631163315b51108ab4e31675 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/b3e68143a3131b711a7a931ffbf8cf3c768d1068 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ac46880aff9ce3b98200d313af9e08a7fadd46d0 | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4d38e28bdd2b2089809a20a617323073e943dead | ORPH riscv64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/75867ce4a1c9c85d8fb2c371aaaa558b1f31485c | ORPH powerpc64le | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/92f7505b91aa3a0aa048ccbf77dcf1645f86882d | ORPH x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/c4ba2eb6e189c60eba3a9145178d55a3a9f3257f | x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/61cbc98b394dfbf2bc43086ea7c08d4d8e4fa473 | microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/9a9fb889d9ebcc77f291b75df6799d0a73b3c430 | ORPH riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/50d4d8ca7998a17242554b7dd6b28792af0cb7f8 | sh4a | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/91cd6965175b8f045e5b19c7f9ed7dec8e07b20e | aarch64_be | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/685d2382b83703b6ff52b7166a32592f8d264d1c | mips64el | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/e85ca363583dac22ef714a0c64ed65b93fa6252d | powerpc64le | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/361aa495b367e10eee8eb2dd5605ff45e1442aba | microblazeel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/2389efc4178533a051a077f5cdc3663a1cd45553 | or1k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/b5e017a0bd744aaa93966e94c0aa3295fcdf5c78 | mips64el | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/402ac2ceec34ba110ac7736078bcb2f2d57f3b7f | powerpc64 | fluidsynth-2.2.6 | NOK | http://autobuild.buildroot.net/results/7397ed790848bba92b576e4d1c4d3c3bc109de20 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/74fc23820f34477fbbb6191fc9de0325d492e3ea | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/e23db63ffff8560b990b1bf34db236b2b7a1ad88 | powerpc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/b1847deb59c58b9f454cef1e6c3379da132cf82e | arc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/6c8271198d4887482a2596dcb8a99d1edd7d6987 | mips64el | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/e0ef9e5e299a257ad5ce6da90d2154d6a7d90199 | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/e8f616075432d7ce16cb093b0ecdc358c813a3bd | mips64el | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/58a7ef0a54f55a6e2264a8e625063186b44b5ca5 | mipsel | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/fdf3fd8987338ffd382d9df7a13b36f6288ea169 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/9a439099deb63a7cea61b82a44c6e9115e5cc9cb | sparc64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/34ba772505b6229b060c1e6bea5c5455306587ac | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/223b369cc3ecdbe62c1a63b96fab1bea835b44a2 | or1k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/f3aa44d70c2b61ee5dd4afa5c85aba89ddb0d281 | arm | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e287a1169a1ed7d4c9d90f835ecaee8cdabbf183 | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/37bd129a59cd2d55acd578ea4cb8ae8897021799 | powerpc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/9cd61b5c8dcd009511c3de3716a2f9f2ea5169a2 | or1k | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/465d37e771bbdd53899e77a7816ddba37bb479de | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/ff7441526eca6fdb6fe2d853e6b1df6ace3d4fc6 | xtensa | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/834a03303dd73abec964e39ee130909dbd34dece | mips64el | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/152831fa2a11e4df0dc72b7a7f05d08921d059cd | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/6bd0f1dc3681a37f433a549784dc74ba2032a74f | mips | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/d106e211494bd3fa9c4dbf3e48af605e77bacba0 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0aebe8992e1754a24fb88c034183334256f7fc42 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/5ef49d11d7a30c2a641341f9ab0a0841d2ae5aae | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/506dad3ce843f7ba2c0865ab9c480801d54b3697 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/ddf9ab8e3f0d08a4d8a273896243a8260474da2a | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/638d08c7855ffacf254d5c30065f0aee4967a8f8 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/2fbb7a7c42d47143d6c3b79f67faaa5fa79b5107 | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/2267b98f3bb5d003c6fd2e539e44f38039f05be1 | ORPH mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/15b27c22cfc6b3425a4b848b299ad50affd7850c | mips | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/3a3a612815af8f752c2dee7c8272813b2fe8bc3d | ORPH powerpc64le | gst1-libav-1.20.1 | NOK | http://autobuild.buildroot.net/results/ac246245351d473ad1d297efbbab99195e104862 | ORPH powerpc64 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/4e0f02ee8d4a5223cea5ea9981c3e530e0fb8bcf | ORPH sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/067c86b9d8716d99e3cd12b134f03b69df87a65d | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4cb1c4855ffa85ccb30d575ee186645dd516c90e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/193d5d952f85b8dd51b8886222c8aea07a24045d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8c4c535768a55a4079f33e6198a6a8fbc505e91e | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/89fee98c04ec86463491eb559d395800ea5faa05 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2a2fbef243a9e2cd801d86c48bbb555dfcb0c511 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/75fe8dd263a01f780babdd114bad6cfa0f0556a4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b97d0a5b4956b8af6ee8313a6f1497b29b87266b | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fd21a5139ac835aa3c56fc021a5db0fc04097fd1 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c0671c1c0b2d2c030a53186eecd11fb84db62f92 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f2a4059a371430fad0b04491acefb2078ff551d1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/754b237038f2bc296cbb45afb1446243259e7934 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3b3652b2cce75e0f5ec0452abf3276df5d925096 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f695f0fa3b841131a57b290ba3ec3a8de2b0b126 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/16c4d058a4d6510518636e6850893a53620ce80b | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5158e7e54c218a6de9bee87edfc1ac8952a1bd12 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cd7945196c549110373837b978454388a0b35660 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f48cd77ead2ec9a6e86a9cdac211d7263dc866c7 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/13ecc66dc6ef95631bb1c342950a2336849e1e68 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/79b59f88b11eb6e8467915976412c2f6ecd46f1f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1ce6a71d75cc30b91149f4d042ba808ee97a0f6f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fd202773c5ec64484d9b054b61ac2b4f040a9dea | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b9d3c84f74f6ffb3b1fb214ce2d66a5163280e0c | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d4da98c214801af51fecf26a15fcbec3b71cb053 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d4370720b5cfcd5ad7410f006034a497a6cc89f4 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fade1fc34ac4c09a81e8502e8fbaf87d58d08658 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/903da6a6c6ee19d9731a239bccaf2aa8d2278a85 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b3fbe0ff1192ba49bde134f3830dfc6195c0c68a | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d05fc87a191419ae2ac77d35142a3e07e600a9a0 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9b5d3ddb79aa101e741b9afd029df24375b50bd1 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3cd2e95be6590af001e067c46ee69b7ca73dccc0 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8f72566d9dedef90446bf51379b765d81a043e88 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/577b46468816c102d051a573b987b71959abb3d1 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e90db70167afef4ef4e0e3192c5921beabd05ea8 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a86d8a0708be02d605796a9fdabf9593eb5e0903 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/90707cbaeafb5aabc5aaebf0aed6ca01f8b97349 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/13edeeb6956f9cef1c2800089230b4c789185eb0 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ac4bb9bf8ba2b408ef51301d36126175d6704dc4 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f4a4c41acba692677f5de979defc69e651130b34 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2615a3e11ab80a74c06793fd9311d96e4ec60547 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ee04afc8f1b21519a6d5bef5832d009f26cdddda | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b5d7f84e33a5b2e9bde4b11dfa0c82249ac462a6 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ce52fd397cd7caca4e3db146f3d4c1e22b9450ed | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1dd5b318fb1adf547309fdf4cc9c1ac40daa69e3 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/56ad075417d7cb4b879c63d294c46f20c4f6d7ad | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/773f7a76e1f95de4247624dea6d009e3442017bd | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/eb795ebdd210da07fb5758a22290a112d65cc766 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a4b4b99b254c10939224a458dcd78ddb55aa48d9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8cab41346f8a477500af08840725d84bdd0c0697 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7b1a3d8d40010b7ee32e6986bfd4976d35fe8036 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b349cf899b753909c443b1116ceafdabb519ba0f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/13d980f7e1040dba4d07057dee9b3acb523d8210 | riscv32 | host-binutils-2.36.1 | NOK | http://autobuild.buildroot.net/results/9095f133cac009ce312885c8601fc058ebfb791e | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1517c536453a4b052cb1cc29cddd8e1a96973fb5 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/a2f444e8e562497a72d63954372faa9efeaf7dfa | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/032253a9f76c09757b0e9e6c05dacf62e44bf8e9 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/4e52f6eb4a56b89bcb1d82a9af2328ec520d3b21 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/851274a79e961918d67bed11e2042eb479e7801e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2d6bdd4c73361e60342dfa0c5f2de0b81ff700bb | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5cbf7ce8d26249a40f7f0cf04e975a913b9b7e00 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/42eddebe4fdbad03aa09462a3e96c3d22661eaa9 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/790eed236d78a1f43d8f9cdae55d0e0d09538036 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c054b7b3d36b1afc6d38708089dca186a516d0fd | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/be2abb408396bd04a0f451ebbd477fa515ae7f16 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8cb2979b75a0cd546075218d13f3f40360a0e39a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f7f9b14218b8369a668811b5e1467c21905e8635 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/acd47cdb66d942e873c2e4c10331298734d0ef67 | ORPH microblaze | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/289c09db42de8f3734daec7107eaa11c540173bb | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e90abffc373ec5c7ac6f496dd3809ed825c224df | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/217637a9fc930ae933255fa3223438e027e177db | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c0b922bbcbd646eccc9f7b071494136a26d8e016 | microblaze | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b5a19ac799f765e50a255c94252b1d6500c84522 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/89014a9ff4f783b6b25fed452403b2c9bb012612 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7791655d27ec12a2309d4abc164ef3f6e1bd4ac2 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/766421760835097977f9b56cefd479804db4c9be | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd8e25439c51d52c89118a455f6aac6c35e76899 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/de7c724ff99c3a6fcc4d310864e3e4922f77a955 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ebe07b12d0bab2e433a11d6ddd38f2155f410d1a | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a514deae3251e5afc5e97946290add26ab3d036a | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c892cb0641cfb37dc8a0c46ea4db8a4fc34b4654 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bff6660353e735cad5580d39b8b0057cd4af2204 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c032f4d8ac1d35ec7b37a801af735a9aad70f05c | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/eb224f5e4f927fcbf730999627250a0023a23843 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b1ffbddde5f68e767fa5754e1acc5dea2f175544 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b9f81a9bccf23ffe831c266d40a712ed879b2983 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2bc548ff68a6cf5b0bfe6c57a85d2ec825f3f132 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/59188be9f3d8c5b142e03134ee7c0ae9fe8657b5 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/277e1df7bf5e4b7539ea0b1b83a707fca35f879f | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/94ce2b27615012dcf46f237860dfa1d5277e89c1 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0a9ec42ac9f1ef1fc6187db63063083a65a254a9 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c031a9c1e7e1deca427c2718ae83995f94c6ae4c | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cc43c2810ea92676e2bc85ac620cb66b562a8324 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a97f62bd8635b6c957c038a4a1e4ef0f3c331044 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/990ba75b2ba4c799ce9645e73704bc3b5160da5e | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4d9b759de7254dcb13d480777fb3e615adf07100 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/21694d985d79e91224dc70fa2193fec02dd0c2ed | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/df3b25b5d7c9292b6b7a88c2cbe42d69420e269a | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/453381d1c313a1b8186fbcf42fcb27715f6365f1 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8e314bd590ecdb3de894a8d62f9bf408adb72dae | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2839a646964fb19c5c2ba1ba40cd7f8c9d45e3fe | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/196c15d79133b036b71472caae2489029138b637 | i586 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5f9e1d18dcd475c49001fe8edb8a42f7bb2176c2 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/56b8256883794b20352c99da324f50b2b8769527 | riscv32 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/daa9fcaeef34640b2b11de46464a06fb68074071 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/50a7a78dc25a1acbb49d1edb8c85a14049da7818 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/14479e43874df14f0ae5a272114b7f77baffb475 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/35afb5b94506708bb4cf36b442bbd0a6a826561e | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5b01505ab62e166284b8a50fe949ddd2ad5f5ef8 | i686 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/efb1f95a90704fd69774cc0e6843cc136a58243a | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/8977b98702c5be377c355a9ac4988aca69c5aed9 | i686 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/2bc55e7e2ea4bf6e284edfd72e12ce59c4bbe638 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/cce5378dc4742658231ed427bcbc32c4fa78d1b4 | riscv32 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b9352a8e80fe4aeb964599fa475bbbb1911a17c6 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/38ae790c2baa8a9bf2d14e51750c14d2dbf2fd82 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/17eebf9e5fd0f7048fdf6f59e7bdd566f148cfba | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/538b01b03efa96a34a63a6e6ae2ff138de5ff81d | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/fd134be4bf39c3fd8f58c13123d6ca76a38c986b | arc | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/6703c8b3b9bc6c0ce89a2aa2af18dd7adbd251fb | arceb | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/88a047aacb7706f6a5b11ca59af6aae8485b45ea | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/1c1f5fa2c6fc87b98884041ca27c675913a1cb2b | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/b14eb160e1692fe57140fd98265b777bd59b771c | arm | host-llvm | TIM | http://autobuild.buildroot.net/results/27f871838fa68890d71b67dfe1db84257817b111 | powerpc64 | host-nodejs | TIM | http://autobuild.buildroot.net/results/765f5df367564d8d9e5f7b043611b984246c7fab | powerpc64 | host-nodejs | TIM | http://autobuild.buildroot.net/results/5ca9f753214363e81b3670149378a15178551f15 | or1k | host-nodejs | TIM | http://autobuild.buildroot.net/results/c21486ed11eee702262fafab70469b56223250b2 | riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/83eaefc2d54bf99d2a255cedc28be47b75091e4c | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/163c0523b214b832cf35f9de570c1646b47c012a | ORPH i586 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b91fc8024dfa1c9ddcc5fcfabff8e1b8dcbf4076 | ORPH powerpc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/199b0c876b57162b49980beafe81d7bd02ed05d1 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a5009454993edb53ece124bd28423380a1064a0d | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/614b29ba10f813bbb12542a4192d4e4b04ace8c3 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e373a3e23345d5ebee613be49f4f6c00d604bf3d | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/9843eedcab294f1e2a59ca35c780b0815cf48871 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/78a4599d54e614cb860daf11dff65facabd96d76 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/760011649b1accd13c3e158f4cd535c6b0bf270d | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/64f8e7274f99035eeabeeffa0d8a98de5207ca18 | ORPH mips | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b16d5961fde3b89acede85f8cc0361dc2f9511c8 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ac9391894f40cef931e2a5a2ae0708da9b7dedd0 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3bb2416436847906c8a5a300d5de853eb31f80f9 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e82c3527455e16802447db01eaac9bb52a66d2dc | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/acd85a165e668da1dfb6261bbfea68f1325f58c9 | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/05da8176fbd69635778502c106c4f225d3a688f4 | ORPH sparc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d03efb31fb0704b02d788e0c838fa5db9795816 | ORPH i686 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/01c28d06e549d7634914314cbab7f21a3911396d | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/20829b670ea844c00e7abe283b71643450480e3c | ORPH sparc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d48d395b8c43457a7146020bc6ca86e0d0b6dd6 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/5ead2baee8ee6fbcb87b9eeefb9f47d58dd56139 | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/1f21f3441ac25db0a10a641f386e050dbea9f351 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/738602b9c6e813d57143637ce5cf36aa972b2e6b | ORPH sparc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/02eb9a4bedea848b6641499a711e845c3c5a57a8 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ccbde436f31ae38d87572cb3fe3e1dd0e442391d | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e258c368bd99acd5058d8d377c4e00a887d295da | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a357baa17d8cff2768b478d2b352bc2332a5f757 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6081f7e2a89bb3d62e4fb725c1c3966a4afd75ad | ORPH microblazeel | i2pd-2.40.0 | NOK | http://autobuild.buildroot.net/results/02d35c45571078e45d65421f028a64a02a09d29e | microblazeel | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/e8122e9d7c13d07a6ddc7d9a2d3a078c21521ecd | m68k | jack2-1.9.20 | NOK | http://autobuild.buildroot.net/results/d5a09b2e9cc9cabcae1d9a1b18a6b3195b495b35 | or1k | jpeg-turbo-2.1.3 | NOK | http://autobuild.buildroot.net/results/a9ff5d03f9e777dadeb733eaffaf9a0ad2ae4c77 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/b000f078fc5d63695a124ca02061dc3386da36d5 | powerpc64 | kexec-2.0.23 | NOK | http://autobuild.buildroot.net/results/9b00a09608920e0a042851f16e18589164e7f9cf | ORPH i686 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7e1da7c0ce68bf035470e392f6b3553f962fa84c | microblaze | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/834ddd3ed704a5f8ac4b4414096c9350426e26e5 | microblaze | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/3e41e87d76f0177778b6a09655f046eca0dfe839 | sparc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/14ff4dac7baa5812fd2601953412265d030edd8b | powerpc64le | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/229ee476709c3ac9605ec96ed909654222445e23 | powerpc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/56b42dc70b76a9c55db8fbbc7f40d62ef36e68ec | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/6cb7b88eebcdc9dff22857f65db1e6874ba867ef | arc | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/e343c07ca04e37f3430966d6934b2a7671a7f864 | nios2 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/03f9e7cd3ad9bc60feb1f931a93a7c4d31be4190 | powerpc | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/fa5f638bc76f1aabe313d1e132d9280f120fd68d | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d653572182d0ddcdc169f0c048edfe662719a3a7 | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d8e9da07b0bfa1a56825a5e5163fcb8ba6a48b3d | mipsel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/985cedc2ce8c57a331f23638e1bfa9eeeb61391e | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/06a9dcaaf6ce9dd3920123cc9adb53cf3968ead0 | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7d2b4949840e793ee37c4af2742b2237a928b2dd | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/225dcc419ee37da0e8bb792634584688491a54fd | xtensa | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a88f1c9ecc8c7583cd144907ca38ee6f78610094 | powerpc | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d0b4f0b29dc1383f9bcc45e4afc19b18a5a1b2f7 | i686 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/c992454185d223ecec636848e52854e3752265e6 | mips64el | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/cf6776a8dbbf53fea22f9e2a7fad0ebb53d98953 | mips64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/0f885011a64229c55813bf720f5f94ce5a1e84eb | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/1561b5d4f35264acad563417ccc49db19a74b316 | mips64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/99752a541b7e2d5edf04c7e817b9cbc642c8074c | s390x | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/25f6b9c85b9791dc91085d78a1c368dbb2341607 | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/4f1846832b99bfddf6b1ffab3a56da3700e98d07 | arceb | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/e9da11b3a5738937cbf9483c3bb5b3902f9f30f9 | riscv32 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a349d9b3348e45739709a0c2c2946352b646437d | mips64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/72e475d5421a3b1ec94909cfee6f563a4d48754a | nios2 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/4a30b2e8a3186969ab8df7d69181c005d66b514f | microblaze | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/5bf1b8e34ee9456e2642b08ee121266040c2a87f | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/900a3fd2e755d4de1e467f878a9d416d58e63d03 | xtensa | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a25dcfc737da349323ccad100d6eabb14e4eeded | microblazeel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/8ff55c32413edc15fcf19ecb1cb6240d976e8429 | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/c864a52e8ae38365eef70a96a00c54399cdd3cb9 | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/2d260fc03933d826d1c30cecba8d15e085d67ede | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a3ffd6f3cc3f3e4296fa5fb6be4124394489a98c | powerpc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/b67c5d3107cbc491819c6845ef79d6d6f2f3820c | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/c5bd925c53325af9eeebef4429a687ca51f50640 | microblazeel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/b59a29e50d82221cddec7797ddec72e726a3929d | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/3cc54b67f9fa08da2cbad90c64653a12d7e21ef2 | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7f5ece5c42e2093b5e6e3f855369668785de3ab6 | mipsel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/c8854917015f614c98edcad3cce3ab456511d4dc | arceb | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/fe46549a452655f75ddcce37120bac7268f5ece7 | sparc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/ae10b7a9bf1da3a1c970f86f5477eb8d9e236974 | powerpc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/8a620cc4ed9bba411ef776e531aacca594464e9c | m68k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/dc2a4ceba220b5b75432c0f513be964737cd1ba0 | powerpc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d5de62fbe05eef4a8159a06640f10f440a2a32e8 | sparc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/87e5a81bd6acf0e5cb9cb3b42ae58e88a5108d62 | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/1de31128f6023a965345bc77551ad36aa63cdaff | x86_64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/ad1e91b04186ef9def9c829667b02a696b423e27 | mipsel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/de221606fff83e638adb4136d545a7a8180d924d | mips | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/759a42e9dd2583dae9a7e864bff7ffae7cabaa69 | microblazeel | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/94c57d57e9631263e80a9e66f4b6a0bef3622f34 | sparc64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/2e76bb60b29f4713d58fc6a09781114da541d332 | microblazeel | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/a655356ffa8f9ad96a8b958b2d58a534e3a2ad3e | x86_64 | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/2076e83e50fed120fc478b82bc3525d864644cc1 | ORPH powerpc | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/c44741ac569c0702de5f16768020ac2fa0fc6f5c | ORPH arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/2d22b34f17ae834e8371266efb03ef295d486e7b | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/86025a4f08ab310877e27745e9d95132e1ba4f2b | aarch64 | libkcapi-1.1.5 | NOK | http://autobuild.buildroot.net/results/f202e0dbe0420070da133cb558c97d205c2f69a6 | ORPH mips64 | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/26d6898b54d79f220c6d69e31a0702953812f595 | mipsel | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/a8cfc55f40edf600eebffbc2b896fee593555a90 | microblaze | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/d394272a04d8a05f67e40bf98584691618123f66 | powerpc | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/eb0006f5e55ffaf46525a7ef8625f84af215dfba | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/97d8bbd3708255deb3052ef80685f53d9882ff79 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4854523af57d2e784e6393378027ee100b6c2d66 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/63681881b4735a12d473db6cdc9f178ac39e4f74 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/299ed49ecd3ba6abd5a8ff72489b99340af71386 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6f4a3ab634da0893e00a6d7633db15dcdbd661c8 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/341ec05640fe36056b8db205d0c044b9e23ca9a6 | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c72840011cf2b0125f36a5e092e6fee4f918be74 | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3b73fc535ffce2bf8a342087dde3af64ba878b6d | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/243b9c5b1c48d1073af66ff04fc4584487a50554 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/39c799334e88c2e214497f059837860e44e76083 | riscv64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/311e407fb1b120fb531bed3fa9e69bb7208cb819 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9577d62225015ac9cd583dc1147c196a5dd04fee | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3516524c7219c4d33a5650178496220a0816c9c4 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/11f685990dccb2e3a010a2f19509fab77674af13 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/49112190d3cc88ad34e6a4f9a5fb6c3d909f4c0e | arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/91c8e1c2cdada3e5c21546d1c8565e016fd6e3df | ORPH mipsel | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/7bac96d1f98d1656d007163cde423090c642bd82 | ORPH sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/73062d2461765edf726c67f8576cdf6bb0e78dd2 | ORPH mips | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/03a2f646a0a410ca2d413f58c0885db2ae32eed4 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/09ba0aacdac1b133795f0665c057a1e22c8777d2 | ORPH mips64 | libsepol-3.3 | NOK | http://autobuild.buildroot.net/results/dcfc36d5e3958092fdddadd28b8bf9f13ef6341d | or1k | libsigsegv-2.13 | NOK | http://autobuild.buildroot.net/results/f830c8ba332b7d5bd44b40ccd694f25fb7b4e39e | microblazeel | libsigsegv-2.13 | NOK | http://autobuild.buildroot.net/results/36d44e4126dc7f5de47bc1d5b56169b5ac6c4c61 | mips64el | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/4b2327762e55a61c9cd638806ff82b2e2261c1af | riscv64 | liburing-2.1 | NOK | http://autobuild.buildroot.net/results/33f3c58e98daab07139b4f400b85f87c0e314240 | sparc64 | linux | NOK | http://autobuild.buildroot.net/results/b2edb56a295a4a79ffba489a5833ab65a24cf595 | powerpc64le | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/feaef79ad27d0c983393986337f6cfa64bfc32ff | ORPH powerpc64le | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/98d5cc52b99ffd61bee6f97aa8e3e8b10a16b9a5 | ORPH nios2 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/c37c30d7c9172ee88b09ac9dbab5f5f9373cf06e | ORPH arc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/b4fc56e48125c862135a06c17f76ac82b8797b2e | ORPH mipsel | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/ea269b766c47ce9b4b786f5c5545f226cae713a2 | ORPH nios2 | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/6234e2a07e1d39f9e35b2af3e790abc6bddf1336 | ORPH powerpc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/bab1068e07ab02150f533eebbc1135149cef5b1b | ORPH or1k | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/aefbdf2bef98e271fbd3d5abf9484b4de5f57ecb | ORPH m68k | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/682c2f6b12ab3565ca27a6cecf966266e155dac2 | ORPH x86_64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/1a770a67a9e6f7fa39fef33cebfda851220ff9e1 | ORPH riscv64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/b2e465c351478faa92f4e5b893041f34b194a19c | ORPH mips64el | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/7643839d0d1191c37510358dfcbf88aeaf320dca | ORPH or1k | linux-pam-1.5.2 | NOK | http://autobuild.buildroot.net/results/2f1fe98997d83c2d106bf9f5646a60d71cd195ab | ORPH m68k | linux-tools | NOK | http://autobuild.buildroot.net/results/fe3094623062d283d28cad188bb27f49116fa6c2 | ORPH mips64 | ltp-testsuite-20220121 | NOK | http://autobuild.buildroot.net/results/33539520b8bbba6d5644d467663c61b8ce5f92f5 | or1k | lua-cqueues-20200726 | NOK | http://autobuild.buildroot.net/results/6b8784b29a395d16124a60275778a23951b074fa | sparc | mariadb-10.3.34 | NOK | http://autobuild.buildroot.net/results/dd09214e9ad85e1529bb9005a554eca723a622d8 | ORPH x86_64 | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/927c5918ecb4772d2cecb93b09e5c7d91370f179 | microblazeel | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/1c565e2ab6c5e2af1ef3097f1cef8a38462291c1 | or1k | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 | mips64el | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/f18827b57e2620042862aee39b5ad15771c8b6b6 | arceb | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/c66f96d4ad8e1136c4a828e2b69ee213717f2640 | sparc64 | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/ebd66dec0f055e3e32a323e47e9b41e1fc4bdc9d | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/6397e40d4afd138cb58c3c6181f52d53fb58d80e | mips64 | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/fc6e308f346570f8198542602bc8c1bdd0a4869e | ORPH sparc | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/d1b13fb687870cff5df7d3a896895e0481241661 | mipsel | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/62ccbac40b2f204a0a054af2b2ffc145484ea7fa | riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/15e5906f4d82f3a9c9b0e39de9d1a13bd139cdd7 | ORPH riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/7bdc48044397d4972e00945e6f92324874a7c191 | ORPH riscv32 | opensbi | NOK | http://autobuild.buildroot.net/results/268bae4d0e6a85257fd943c2100520ac0e926bf8 | mips64 | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6 | ORPH arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/ed53011b7d8bc0070ed516522f7b02e0daad96c2 | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/afe36cf1e1f0591e0db184df686d92c93ab537f2 | arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/29c8313959da19748dc7aa74f401e1e20dcd6208 | microblazeel | pigz-2.6 | NOK | http://autobuild.buildroot.net/results/505586d05e5f482167031700ef4007713a7a883c | mipsel | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/457381e0737e02915f62e63ecf4c94d3c2d9ab7a | x86_64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/edd1d38cbffa7854d6114266b98bad71445a008e | sparc64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/9fbffaadae44fef750b0a8c55f43a5963527bd85 | arc | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/657c2fba2bf7b1e09d314e844c6dba4acdada6f5 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/ab0c3c7b1e3f711e6c57f9213b9ff6e0917edd14 | arc | postgresql-14.2 | NOK | http://autobuild.buildroot.net/results/70acbe121236ef0905c4466d4f7a0839723d2c49 | s390x | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/2783680f7b879adb4f5a7ce6eef1b76d7d37221c | mips | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/4aca4b9a4d2fa28dd1ab42fb17f3186cc9c049b4 | powerpc64le | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/ce21b651333b6928d24eb7df6a3ddef624fe3726 | or1k | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/a60b201ab5649456eefd507e1b89956f610dda7b | powerpc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/67ceb89760abf6c2f94ca7dd0c98570c47e9d1a1 | riscv32 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/0c4160ae0bddad82040ef91f3d456b5f7c9a1e3b | i686 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3cdcb9b3679c83208146beebf4e32a07db28fea1 | mips64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/6096b55f3855f8a29b399042b56ae7550ce32a05 | sparc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/35b5e5ba2fad0a6749cb84fa13533ce2acba98d2 | arceb | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/3725dd843efd0ac4c8594a808b0632144ea9999b | or1k | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/12dedb1d95f7d43b73a7f2bc8997b0341c783f82 | or1k | refpolicy | NOK | http://autobuild.buildroot.net/results/21521364196d28b85601722c4102e1cd91c2d558 | microblazeel | refpolicy | NOK | http://autobuild.buildroot.net/results/a57689a7d648c2e8b8617839375b46e8a360ac73 | i686 | refpolicy | NOK | http://autobuild.buildroot.net/results/26be1d7839f1a75da77b971068884217860f087f | riscv32 | refpolicy | NOK | http://autobuild.buildroot.net/results/99cf7744a5d5cd9457df79ce70ec3d18a925196e | m68k | refpolicy | NOK | http://autobuild.buildroot.net/results/5e96e25de59d1f3047cbace5298a54802465f955 | arc | refpolicy | NOK | http://autobuild.buildroot.net/results/389ef1133d16157156f7c9d4cf1b4edb6a20e15e | sparc | rt-tests-2.3 | NOK | http://autobuild.buildroot.net/results/9b065ee7611db3a404863b85161f46a2e9e8ddad | x86_64 | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/25dc0b1a55430e5cdcfc754ac23bd9643e98b3d7 | microblazeel | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/3faebf5518b06f33fcbf953f06096db2b9864d25 | arceb | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/c48ba8e71dc917b2e11051088dd252be81b3609f | microblaze | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/ba942099b7b1c1951bcb0ffc94393da96ecf3c5a | x86_64 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/67411ca3db917dc5a3afd2a996930e1c83e65d1c | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/d1701d3cd579805429491ed00c5ebb8d27eed7c3 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/0c54e3304802212ffcdc9b2256eada5772cc93ab | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/e98239b08bec776e1886d7e56587fd62755a2b88 | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/24e134e6fc92b77c6c7ba6a562e6d04d8b60616a | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/2bbf4782f833e543c607cb40d1137baf3b7ffc56 | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ec56b3d7e8d4011f5ff60d885bc0401b3ee60634 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/61ecb8ef67345b78ef89364b2fc543ed225e3927 | ORPH sh4 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/3263d0bceed9149df419cd9b2f512ce3fb7808a1 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ac0a74d9d853f69756c768fad16bd182ea5c563f | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/1bfdf2e5ad328de3ba44b27918f024ccc4a32785 | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/b6dc01e0f45ea76299e790d14e6aac2ab0098b32 | ORPH mips64el | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/af76ae4510eb4df0053d1cdacf8a1ca7dc967308 | ORPH mips64el | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/701e8a5f713f7bdd1f32a4c549cdaac580e2522a | ORPH powerpc | transmission-3.00 | NOK | http://autobuild.buildroot.net/results/ece7cc1960ed8d359b0255e54f33c47bc074b5dc | microblaze | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/e10467180259a04eecb7796977d0c8e4c9ab6d03 | sparc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/71724e0787b4d8d5a385dfe066e81905cc14e4c2 | mips64el | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/2223e6c8f5daeb398cc1d537cbd65b2e5cc38612 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ea9c8d7e92229ab588d4f03d986f5b4d694c5e4a | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7acc79b9cfea53ea5666eb34f1d6ea04b1e52c04 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/fcf18381f646bf82f95d2002e8b87a6533dcb7cb | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9063360f7c1a292e9c564e2a973a7c8cbf2f0c20 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/d81392433011e7d4d3648153f763de90380151df | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f9eebb7651da17741ed169f8795fe4b2da08ae3c | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7fa1ff7f232a0c13282e958d0adffcea9a969aea | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/e1078a170a6bb18d84525debaee18b1b83ce8d11 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/839fea87623396716ddf84ef778114a02069fec6 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/808278bd95457ab765d2311e5dd9ce825c9c048b | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/76ffe8f861aea6073f7f8597febd5421f706332d | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/45a8607a726e96ad5d835e227c92713fbb0221b6 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/78f397e9254183cb2de6ee8f76cf10ced999d8a0 | mips | unknown | NOK | http://autobuild.buildroot.net/results/1d16866c76e16e05b76f35d4c1656f5e92253af5 | arm | unknown | NOK | http://autobuild.buildroot.net/results/30df848eef3606d3741f77e3e32273cb31232123 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/83e4866f61506c4ef3e44a1df79d24b6e0a01cc6 | mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/09ee68b90de34074b891a740d4d61dde1c09234a | ORPH powerpc64le | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/572ecf8e37ac733a4e4265f4f78f35230337278e | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/aa6265a9708a3a0802f11254580d25fb6e14523b | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/268ffce1f3eecdd276a839ceb4983846e119bf53 | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/5b8ec91bb359353258642d7638377e7eee4f0ec8 | ORPH or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fe45244d9aa5ca4337fdc82695c2bd2b94be19ea | ORPH or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/74864d6ae381fb4ae51ee74dd4bd2afe107bb21d | ORPH xtensa | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3206198f6b30015245d002392b439840187b0efa | ORPH microblaze | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/2208d46f5beb3a24503777c330f5fc5af7410906 | powerpc64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/1eef5e40ef5000562eb85ae6cb781485414d12e3 | mips | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/046f767178b18eb19185390a117400f6d7392c9b | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/c56a8f657783fb9c193c77fb09ca2b8fc1146231 | sh4 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/075db7ce9716a475e9e88adaadde19a1a0a65beb | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/b4b28837fb65bb1a2190ec9c7a9b73c20e2c392e | mips64el | xenomai | NOK | http://autobuild.buildroot.net/results/f844a862c94f912377973af1fca7a72c01a7422d | riscv32 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/e73d775ba208aaaa13c60abccd949ebe97c3a207 | mips64el | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/09d1fb0dcdfdf890b98523ca74fb8bacae555534 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/da6ffe5d42bcea90b06a96680373c457b58b312c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a02b9a21f0c01a765d059b04a6824430b0e94ff7 | ORPH Classification of failures by reason for 2021.02.x -------------------------------------------------- host-binutils-2.32 | 4 monkey-f54856ce250c4e257354... | 4 linux-headers | 3 host-gcc-final-9.4.0 | 2 libkrb5-1.18.4 | 2 opus-1.3.1 | 2 aircrack-ng-1.6 | 1 argp-standalone-1.3 | 1 cppcms-1.2.1 | 1 docker-containerd-1.4.12 | 1 exempi-2.6.1 | 1 gensio-2.2.3 | 1 glibc-2.32-50-g737efa27fca5... | 1 host-cloop-3.14.1.2 | 1 host-elf2flt-7e33f28df198c4... | 1 host-gcc-final-10.3.0 | 1 host-sentry-cli-1.57.0 | 1 kexec-2.0.20 | 1 libgcrypt-1.9.4 | 1 linux-headers-custom | 1 rocksdb-6.13.3 | 1 uclibc-1.0.39 | 1 unknown | 1 wireshark-3.4.12 | 1 zeromq-4.3.4 | 1 Detail of failures for 2021.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- s390x | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/ecb7150e448d7abd5062ee81487812b31074686e | aarch64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9a6db716447d3d89cb215f85fd9b8cf2fed08bc7 | mips64el | cppcms-1.2.1 | NOK | http://autobuild.buildroot.net/results/b9903ddb357b68e439a12c65e1975cb9a18cc17d | ORPH s390x | docker-containerd-1.4.12 | NOK | http://autobuild.buildroot.net/results/d557b3c2fe1617d38601f20b9745040770587389 | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/19955e5ec732d7a70868cdfd11fbb25ce73bc3f1 | m68k | gensio-2.2.3 | NOK | http://autobuild.buildroot.net/results/a7545ffbd43ef8b87559563d3bd9f2e42236909b | powerpc | glibc-2.32-50-g737efa27fca5... | NOK | http://autobuild.buildroot.net/results/7d3e6728b4621fde50e4bfe45578f3f77c9e1044 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f8553452759e8360e82fda3b9b3cebb08cbdaa41 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f241f9a10a498c904f4979c633661cb169d825b6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/836441ba335ff2391fbb581f69ff52923c12cd8b | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/44a5d99999c174caeaefe7db1deec89f9d4fb9d4 | nios2 | host-cloop-3.14.1.2 | NOK | http://autobuild.buildroot.net/results/d4dcfa703d32ebac01af9207c4ea4d1085b04501 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2d83b3ed0c205fbaee3acb820449bf94a16fd7c1 | ORPH x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/262b79b0dc5156c45eda6dca176cc071bb4bc27c | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/7a008e2a775f86f6aaa113fecb83cc5280ea52f9 | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/45dbc548b0b4fb788d8f1aea2e004dd2708cc1a1 | mips64el | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/eedaa13d3b05ed027c69325730b62fd1a6527ab6 | powerpc64 | kexec-2.0.20 | NOK | http://autobuild.buildroot.net/results/4e95d9a276f581a5819e6817a1ab13f616e0fb13 | ORPH powerpc64 | libgcrypt-1.9.4 | NOK | http://autobuild.buildroot.net/results/8f10e80a60a9bb58ae5e0e497a3ccd6f394aa51e | ORPH sparc | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/1536e65e3142080821af45c743e8b58e5c858895 | riscv32 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/63affc0a07c69f6ebcf3d95dc565dafc97c853f7 | microblazeel | linux-headers | NOK | http://autobuild.buildroot.net/results/d162670d5af3da6170e9fd3c4dca4da426322cee | ORPH microblaze | linux-headers | NOK | http://autobuild.buildroot.net/results/c7da6541832c03e1c60c0a28ca76c29a8c991c15 | ORPH arc | linux-headers | NOK | http://autobuild.buildroot.net/results/0f64d278bf3472d294d6d9d15acd9bcbeacfbcc7 | ORPH sparc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/5f5046d45cc62ad5d735ffe23de9d30ffd027845 | ORPH arc | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/d01a453f767e6212cddb2024ce41bbcb2afb507e | microblazeel | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/5b3acf834a35f64a5a4fe51af2eb4247b1c7d2d7 | mips64el | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/6cbefeed9c8343b144f2424a1eddda2d99cc1fcb | mips64el | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/fdc5e94ce5ce8a4f87f0f77dc989d2cfb7a0499a | arc | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/9eaf7ba2e975271c12f5dfff2aec08011b452c00 | ORPH i686 | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/ccd287c5bcf549e6ecca5d45d03bc3de7a099f58 | ORPH arm | rocksdb-6.13.3 | NOK | http://autobuild.buildroot.net/results/a0e9b2f65e45c706e75b2f225b865c6b8814e4e2 | powerpc | uclibc-1.0.39 | NOK | http://autobuild.buildroot.net/results/9fd699bead50695d6bb80cf47e2beae6068fd63b | arm | unknown | NOK | http://autobuild.buildroot.net/results/06c5a340db4458025d944defd02ff826a3aba584 | s390x | wireshark-3.4.12 | NOK | http://autobuild.buildroot.net/results/563059d3205fd4f490bed88842f50b659b16e698 | ORPH or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/5f58a86e86208dde33ae426d0f4118a40b4853fa | Classification of failures by reason for 2022.02.x -------------------------------------------------- host-binutils-2.32 | 5 host-gcc-final-10.3.0 | 5 linux-headers-custom | 4 argp-standalone-1.3 | 2 glibc-2.34-109-gd64b08d5ba7... | 2 host-cloop-3.14.1.3 | 2 host-elf2flt-7e33f28df198c4... | 2 linux-headers | 2 zlib-ng-2.0.6 | 2 alsa-lib-1.2.6 | 1 dhcp-4.4.2-P1 | 1 dieharder-3.31.1 | 1 frr-8.1 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 glib-networking-2.70.1 | 1 host-gcc-final-9.4.0 | 1 host-go-1.17.8 | 1 host-llvm | 1 host-nodejs | 1 libkrb5-1.18.4 | 1 libnss-3.75 | 1 libostree-2022.1 | 1 libressl-3.4.3 | 1 linux | 1 netsurf-3.10 | 1 opencv4-4.5.5 | 1 opus-1.3.1 | 1 pango-1.50.5 | 1 refpolicy | 1 strongswan-5.9.5 | 1 unknown | 1 wavemon-0.9.4 | 1 xdriver_xf86-video-tga-1.2.2 | 1 xvisor-0.3.1 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- or1k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/693fdbc36bb93d1ccae14ad7598f5646baa973db | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9c49b4d8fecd9d9bbe58b001616d2450c38fac98 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b6e03d72758636a916e69b79d23503c6fa17e966 | powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/cc0ea5bbdfb6cfb055480267455de58aa2baa5aa | ORPH powerpc64le | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/47c5f257ec39843089c4f70e1cfa76be422034db | mips64el | frr-8.1 | NOK | http://autobuild.buildroot.net/results/7665ffc63c22e9f00082de2fade66cf28f6f6663 | powerpc | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/57db91278234a5c836fc1957a3ef92436cb88d91 | i686 | glib-networking-2.70.1 | NOK | http://autobuild.buildroot.net/results/f99e48e9f5b48f853d33d2bfc05b0149be3817c5 | ORPH microblaze | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/298d84f747040079a475f13eba0e6687518dcda6 | mipsel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/6f300ad8bcc61c25d61039a75f6a6893826fabb1 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/091945d0ae6b60cbbe362c11a519fe29e506f1d6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ab9c0a4a62ceb16f4fc9bd9de6c7df8ff1b69d30 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/aa0f3d626dd72db6adb635a53cd7bbd71f652fd7 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a3c5866adadc4e30f25ee700b5f1efbf880c7a2a | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/29ce8893c81267fda7f137ef6d66fb7cfd48fdfd | arceb | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/9abe764cc0844cc976ffd6b5ece622352956fdc8 | microblazeel | host-cloop-3.14.1.3 | NOK | http://autobuild.buildroot.net/results/66a057aeab77484760d0abcc718ecc5817371028 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c2a670cdeb504f1bfae4413967668db2cb47afd0 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e3c1d9d8437e032c9ce825bcecf5282c49adc4e0 | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ef9bcbc4a10e58dd0584fb58a78a238a2befaaad | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2be08c9907887f44accb9bc167a8ec0895456ae9 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/84d29673fcbfee1a73c53c7d2789a9c0c5c84db6 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dfea4198cd4a1f8587c2f52e46279605d67c5100 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/934ed8f22c5e1e2cf5cf82cd95b172b7260f2c02 | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/3c98ae127311c01180b9702919ee4cdecc11449c | mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/2502d123e4ea2c3ebeb4a0c13f09309e34db1005 | i686 | host-llvm | TIM | http://autobuild.buildroot.net/results/09bf32cba1369df101e5f2fb72e40c47ee380fc5 | nios2 | host-nodejs | TIM | http://autobuild.buildroot.net/results/b8e6849e336bcd96e38f88ad49aa514e37f3d127 | arc | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/0043ce8b498a35aff017a140710400c5cf694d53 | microblazeel | libnss-3.75 | NOK | http://autobuild.buildroot.net/results/fa9f76bdd2739c7181ad95124d68e4dd3fbda909 | arm | libostree-2022.1 | NOK | http://autobuild.buildroot.net/results/052ee97dba9e320a3e25aa13385bc6e0451839d1 | sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ea1a39e2049d3822807abfe5d6f6df751833d020 | ORPH mips64el | linux | NOK | http://autobuild.buildroot.net/results/b7009c753ee312607996e1ad63778f5854cf867e | armeb | linux-headers | NOK | http://autobuild.buildroot.net/results/3b0eca443d8092c053443eafc9e2ffa1105bfef2 | ORPH powerpc64 | linux-headers | NOK | http://autobuild.buildroot.net/results/b2f7980fa13d1ad3e0879f9f3fa1cfdb7bcc4521 | ORPH m68k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/82dd33479c085b601fefe314fa8ad590d0b3a2b4 | ORPH m68k | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/cdbbc808b563e9fd92a7f7a80ce97c7feddbb1bc | ORPH mips64el | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/029a9ac4173dbb73d4d27d900eb48a0ca6e772f5 | ORPH powerpc | linux-headers-custom | NOK | http://autobuild.buildroot.net/results/e3624282e0aeaf03b75b1d8a07bab80d07b4b89c | ORPH powerpc64 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/ba59d1a9809e2d6900ebc8c02a753e1a9bd7b76f | arc | opencv4-4.5.5 | NOK | http://autobuild.buildroot.net/results/ea3ca20d32f46b85482c7a5a9ca2734e86eddd94 | arc | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/5a5246aa200b4b0f93ad8787376140cd9a1b3936 | ORPH arm | pango-1.50.5 | NOK | http://autobuild.buildroot.net/results/8d045e5f6499466ee6712f291bf9288a800d2eee | ORPH arceb | refpolicy | NOK | http://autobuild.buildroot.net/results/21e9606e969604adadaaf384c5dc7b62d15da898 | sparc | strongswan-5.9.5 | NOK | http://autobuild.buildroot.net/results/b2a1dbb3b0587a6f298a32a9137ea9092317ea5a | sparc | unknown | NOK | http://autobuild.buildroot.net/results/5b2131b17fb4a109b2a6bb15f5dbfa3ca9551978 | mipsel | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/273db1b7fc0c2a82313ceae50299e5f39e1e380f | arm | xdriver_xf86-video-tga-1.2.2 | NOK | http://autobuild.buildroot.net/results/191c5d2acfe128785acd9651ebb670ec849d25a6 | riscv32 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/d6d652814e72d1b71bd1726a3559ba07fc8fcf22 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f1bc3f095f0d3f1a4871ead19ac47511136b7040 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c390c7954b22a78218cd69c5266d2ddbf12b65cd | ORPH -- http://autobuild.buildroot.net From fontaine.fabrice at gmail.com Wed Apr 6 07:08:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 09:08:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220405181815.5dd6d85e@gmx.net> Message-ID: Le mer. 6 avr. 2022 ? 03:58, Tim Hammer a ?crit : > > On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > > Hello Tim, > > > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > > Dear Tim, > > > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > > doesn't plan to fix it any time soon: > > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > > > > > In file included from ../includes/dhcpd.h:91, > > > > > > from ctrace.c:29: > > > > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > > > > 51 | #include > > > > > > | ^~~~~~~~~~~~~~~ > > > > > > > > > > > > ... > > > > > > > > > > > > # use libtool-enabled configure.ac > > > > > > define DHCP_LIBTOOL_AUTORECONF > > > > > > @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ > > > > > > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > > > > > > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > > > > > > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > > > > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > > > > > > > > > > > > > > > The only place BUILD_CC is used in the bundled bind-9.11 is to build lib/dns/gen, which needs to run on the host. > > > > > So this should be the host compiler, not the target. > > > > > I do not know the best/correct way to indicate this. To get past the issue I changed it to '/usr/bin/gcc'... > > > > > > > > Thanks for spotting this, I basically copy/pasted what was done in bind.mk. > > > > The correct way to do this is to use $(HOST_CC) instead of $(TARGET_CC). > > > > > > > > > > This is why I said I do not know the correct way- when I use $(HOST_CC), I get > > > >>> dhcp 4.4.2-P1 Building > > > PATH="/home/thammer/Public/buildroot/TEST/host/bin:/home/thammer/Public/buildroot/TEST/host/sbin:/home/thammer/.local/bin:/home/thammer/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/altera/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/opt/altera/nios2eds/sdk2/bin:/opt/altera/nios2eds/bin:/opt/altera/quartus/bin:/opt/altera/quartus/sopc_builder/bin" /usr/bin/make -j1 -C /home/thammer/Public/buildroot/TEST/build/dhcp-4.4.2-P1/ > > > Making all in ./bind > > > Configuring BIND libraries for DHCP. > > > configure: WARNING: using cross tools not prefixed with host triplet > > > configure: error: BUILD_CC not set > > > make[3]: *** [Makefile:42: bind1] Error 1 > > > > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > > also be updated? > > > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > > > gen: gen.c > > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > > > Perhaps we should be patching that file instead of the config? > > > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > > > Regards, > > Peter > > > > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step > and I have not figured out a good way to get this diff in place. > Perhaps someone with more experience can see the solution that is eluding me? My bad, I made a typo in my first mail, you should use $(HOSTCC) and not $(HOST_CC). Patching bind is not needed. I can send the patch or let you handle it. > > .Tim > Tim D. Hammer > tim.hammer at orolia.com > > > > > > > > > > > > > > Could you send those two patches (dhcp and bind) to the buildroot > > > > mailing or do you prefer that I send them? > > > > > > > > > > I can try out my other thought and send that in a while (if it seems to work). > > > > > > > > ... > > > > > > > > > > > > > Best Regards, > > > > Fabrice > > > > > > .Tim > > > Tim D. Hammer > > > tim.hammer at orolia.com > > > _______________________________________________ > > > buildroot mailing list > > > buildroot at buildroot.org > > > https://lists.buildroot.org/mailman/listinfo/buildroot > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot Best Regards, Fabrice From joel at jms.id.au Wed Apr 6 09:57:35 2022 From: joel at jms.id.au (Joel Stanley) Date: Wed, 6 Apr 2022 09:57:35 +0000 Subject: [Buildroot] [PATCH 1/1] package/libnss: fix build on powerpc In-Reply-To: <20220405213351.2487658-1-fontaine.fabrice@gmail.com> References: <20220405213351.2487658-1-fontaine.fabrice@gmail.com> Message-ID: Hi Fabrice, On Tue, 5 Apr 2022 at 21:35, Fabrice Fontaine wrote: > > Set NSS_DISABLE_CRYPTO_VSX which is available since version 3.64 and > https://github.com/nss-dev/nss/commit/9dab43371d4d924419523e18ba84f02804880533 > to avoid the following build failure on powerpc: > > cc1: warning: '-mvsx' requires hardware floating point > cc1: error: '-mno-vsx' turns off '-mcrypto' > > Fixes: > - http://autobuild.buildroot.org/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 > > Signed-off-by: Fabrice Fontaine > --- > package/libnss/libnss.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk > index 2f7a265136..4582c55ada 100644 > --- a/package/libnss/libnss.mk > +++ b/package/libnss/libnss.mk > @@ -51,6 +51,7 @@ LIBNSS_BUILD_VARS = \ > NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \ > NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \ > NS_USE_GCC=1 \ > + NSS_DISABLE_CRYPTO_VSX=1 \ How about we introduce a BR2_POWERPC_CPU_HAS_VSX, in a similar fashion to BR2_POWERPC_CPU_HAS_ALITIVEC? I've prepared a patch to do that, and rebased your change to use it: https://github.com/shenki/buildroot/commits/powerpc-vsx I did a build test of the autobuilder config you linked to and it succeeded. I'll send them out tomorrow unless you have an alternative proposal. Cheers, Joel > NSS_DISABLE_GTESTS=1 \ > NSS_USE_SYSTEM_SQLITE=1 \ > NATIVE_CC="$(HOSTCC)" \ > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Wed Apr 6 10:07:16 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 12:07:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnss: fix build on powerpc In-Reply-To: References: <20220405213351.2487658-1-fontaine.fabrice@gmail.com> Message-ID: Hi Joel, Le mer. 6 avr. 2022 ? 11:57, Joel Stanley a ?crit : > > Hi Fabrice, > > On Tue, 5 Apr 2022 at 21:35, Fabrice Fontaine > wrote: > > > > Set NSS_DISABLE_CRYPTO_VSX which is available since version 3.64 and > > https://github.com/nss-dev/nss/commit/9dab43371d4d924419523e18ba84f02804880533 > > to avoid the following build failure on powerpc: > > > > cc1: warning: '-mvsx' requires hardware floating point > > cc1: error: '-mno-vsx' turns off '-mcrypto' > > > > Fixes: > > - http://autobuild.buildroot.org/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/libnss/libnss.mk | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk > > index 2f7a265136..4582c55ada 100644 > > --- a/package/libnss/libnss.mk > > +++ b/package/libnss/libnss.mk > > @@ -51,6 +51,7 @@ LIBNSS_BUILD_VARS = \ > > NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \ > > NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \ > > NS_USE_GCC=1 \ > > + NSS_DISABLE_CRYPTO_VSX=1 \ > > How about we introduce a BR2_POWERPC_CPU_HAS_VSX, in a similar fashion > to BR2_POWERPC_CPU_HAS_ALITIVEC? > > I've prepared a patch to do that, and rebased your change to use it: > > https://github.com/shenki/buildroot/commits/powerpc-vsx > > I did a build test of the autobuilder config you linked to and it succeeded. > > I'll send them out tomorrow unless you have an alternative proposal. Sure, I'll set my patch as superseded in patchwork. I would advise to add support for this new option to flac as vsx was unconditonally disabled with https://git.buildroot.net/buildroot/commit/package/flac?id=5197ce5ff30d1a23b811ddddca8030f13658d7da > > Cheers, > > Joel > > > NSS_DISABLE_GTESTS=1 \ > > NSS_USE_SYSTEM_SQLITE=1 \ > > NATIVE_CC="$(HOSTCC)" \ > > -- > > 2.35.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot Best Regards, Fabrice From Tim.Hammer at orolia.com Wed Apr 6 12:58:57 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Wed, 6 Apr 2022 12:58:57 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220405181815.5dd6d85e@gmx.net> Message-ID: On Wed, Apr 06, 2022 at 09:08:58AM +0200, Fabrice Fontaine wrote: > Le mer. 6 avr. 2022 ? 03:58, Tim Hammer a ?crit : > > > > On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > > > Hello Tim, > > > > > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > > > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > > > Dear Tim, > > > > > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > > > doesn't plan to fix it any time soon: > > > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > ... > > > > > > > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > > > also be updated? > > > > > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > > > > > gen: gen.c > > > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > > > > > Perhaps we should be patching that file instead of the config? > > > > > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > > > > > Regards, > > > Peter > > > > > > > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step > > and I have not figured out a good way to get this diff in place. > > Perhaps someone with more experience can see the solution that is eluding me? > > My bad, I made a typo in my first mail, you should use $(HOSTCC) and > not $(HOST_CC). Wow, how many times did I look at those lines and not see the difference! ;-( Thanks for catching that! > Patching bind is not needed. > I can send the patch or let you handle it. I am still concerned about my ability to verify- I added "corrections" for BUILD_CFLAGS & BUILD_LDFLAGS so those match the changes in bind.mk, -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' + +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' but I am unsure about the others used (BUILD_CPPFLAGS, BUILD_LIBS, LFS_*)... ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ ${LFS_CFLAGS} ${LFS_LDFLAGS} \ ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \ ${BUILD_LIBS} ${LFS_LIBS} Should those be set to empty strings? Or is it safe to assume they are undefined by default? > ... > > Best Regards, > > Fabrice .Tim Tim D. Hammer tim.hammer at orolia.com From fontaine.fabrice at gmail.com Wed Apr 6 13:30:20 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 15:30:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220405181815.5dd6d85e@gmx.net> Message-ID: Le mer. 6 avr. 2022 ? 14:58, Tim Hammer a ?crit : > > On Wed, Apr 06, 2022 at 09:08:58AM +0200, Fabrice Fontaine wrote: > > Le mer. 6 avr. 2022 ? 03:58, Tim Hammer a ?crit : > > > > > > On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > > > > Hello Tim, > > > > > > > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > > > > > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > > > > Dear Tim, > > > > > > > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > > > > doesn't plan to fix it any time soon: > > > > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > > ... > > > > > > > > > > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > > > > also be updated? > > > > > > > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > > > > > > > gen: gen.c > > > > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > > > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > > > > > > > Perhaps we should be patching that file instead of the config? > > > > > > > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > > > > > > > Regards, > > > > Peter > > > > > > > > > > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step > > > and I have not figured out a good way to get this diff in place. > > > Perhaps someone with more experience can see the solution that is eluding me? > > > > My bad, I made a typo in my first mail, you should use $(HOSTCC) and > > not $(HOST_CC). > > Wow, how many times did I look at those lines and not see the difference! ;-( > Thanks for catching that! > > > Patching bind is not needed. > > I can send the patch or let you handle it. > > I am still concerned about my ability to verify- > I added "corrections" for BUILD_CFLAGS & BUILD_LDFLAGS so those match the changes in bind.mk, > -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > + > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' > but I am unsure about the others used (BUILD_CPPFLAGS, BUILD_LIBS, LFS_*)... > ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ > ${LFS_CFLAGS} ${LFS_LDFLAGS} \ > ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \ > ${BUILD_LIBS} ${LFS_LIBS} > Should those be set to empty strings? Or is it safe to assume they are undefined by default? BUILD_CPPFLAGS should be set to HOST_CPPFLAGS. IMHO it is safe to assume that BUILD_LIBS and LFS_* are empty. Feel free to send your patch with a link to the autobuilder failure such as: Fixes: - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 Arnout or the others will make a second review and spot any remaining issues. > > > > ... > > > > Best Regards, > > > > Fabrice > > .Tim > Tim D. Hammer > tim.hammer at orolia.com > > Best Regards, Fabrice From fontaine.fabrice at gmail.com Wed Apr 6 14:06:06 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 16:06:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220405181815.5dd6d85e@gmx.net> Message-ID: Le mer. 6 avr. 2022 ? 15:30, Fabrice Fontaine a ?crit : > > Le mer. 6 avr. 2022 ? 14:58, Tim Hammer a ?crit : > > > > On Wed, Apr 06, 2022 at 09:08:58AM +0200, Fabrice Fontaine wrote: > > > Le mer. 6 avr. 2022 ? 03:58, Tim Hammer a ?crit : > > > > > > > > On Tue, Apr 05, 2022 at 06:18:15PM +0200, Peter Seiderer wrote: > > > > > Hello Tim, > > > > > > > > > > On Tue, 5 Apr 2022 12:15:14 +0000, Tim Hammer wrote: > > > > > > > > > > > On Tue, Apr 05, 2022 at 08:19:08AM +0200, Fabrice Fontaine wrote: > > > > > > > Dear Tim, > > > > > > > > > > > > > > Le mar. 5 avr. 2022 ? 05:54, Tim Hammer a ?crit : > > > > > > > > > > > > > > > > On Sun, Apr 03, 2022 at 12:03:18PM +0200, Fabrice Fontaine wrote: > > > > > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > > > > > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > > > > > > > doesn't plan to fix it any time soon: > > > > > > > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > > > > > > > ... > > > > > > > > > > > > > > > > > > > However, I assume that BUILD_CC and BUILD_CFLAGS in bind.mk should > > > > > > > also be updated? > > > > > > > > > > > > I do not have the issue building bind (9.16.26), there lib/dns/Makefile.in seems to be better written: > > > > > > > > > > > > gen: gen.c > > > > > > ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > > > > > ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c > > > > > > > > > > > > Perhaps we should be patching that file instead of the config? > > > > > > > > > > See https://git.buildroot.net/buildroot/tree/package/bind/0001-cross.patch > > > > > > > > > > Regards, > > > > > Peter > > > > > > > > > > > > > Yes, that reinforces my thinking. Unfortunately, the bundled bind is not unzipped until the build step > > > > and I have not figured out a good way to get this diff in place. > > > > Perhaps someone with more experience can see the solution that is eluding me? > > > > > > My bad, I made a typo in my first mail, you should use $(HOSTCC) and > > > not $(HOST_CC). > > > > Wow, how many times did I look at those lines and not see the difference! ;-( > > Thanks for catching that! > > > > > Patching bind is not needed. > > > I can send the patch or let you handle it. > > > > I am still concerned about my ability to verify- > > I added "corrections" for BUILD_CFLAGS & BUILD_LDFLAGS so those match the changes in bind.mk, > > -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > > + > > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' > > +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' > > +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' > > but I am unsure about the others used (BUILD_CPPFLAGS, BUILD_LIBS, LFS_*)... > > ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ > > ${LFS_CFLAGS} ${LFS_LDFLAGS} \ > > ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \ > > ${BUILD_LIBS} ${LFS_LIBS} > > Should those be set to empty strings? Or is it safe to assume they are undefined by default? > > BUILD_CPPFLAGS should be set to HOST_CPPFLAGS. > IMHO it is safe to assume that BUILD_LIBS and LFS_* are empty. > > Feel free to send your patch with a link to the autobuilder failure such as: > > Fixes: > - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 The correct link is http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7 The previous one is about zlib, I'll investigate it. > > Arnout or the others will make a second review and spot any remaining issues. > > > > > > > > ... > > > > > > Best Regards, > > > > > > Fabrice > > > > .Tim > > Tim D. Hammer > > tim.hammer at orolia.com > > > > > > Best Regards, > > Fabrice Best Regards, Fabrice From arnout at mind.be Wed Apr 6 14:10:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 6 Apr 2022 16:10:30 +0200 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> Message-ID: <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> On 05/04/2022 21:38, James Hilliard wrote: > On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: >> >> >> >> On 05/04/2022 13:50, James Hilliard wrote: >>> Currently we only test a limited set of toolchains that are mostly >>> prebuilt, add a flag to allow using randconfig for randomizing >>> additional toolchain settings instead of randpackageconfig. >>> >>> To avoid invalid configs we need to add additional config validation >>> filtering and fixups. >>> >>> Signed-off-by: James Hilliard >>> --- >>> Changes v3 -> v4: >>> - use fixup_config instead of other retries to filter bad configs >> >> Well, I don't like this. It means we have to duplicate the logic for checking >> the bad configs in two places: in the mk file and in genrandconfig. > > Well it seems to work better since instead of regenerating it tries to > fixup the config. I think this gives better statistical coverage of some > config options. It will create a bias towards the default option for the options you exclude. See below. > >> >> If the problem is that you sometimes don't end up with a valid config even >> after 100 iterations, then I think a better solution is to feed valid values for >> the string options. That way, we still do a build test of e.g. >> BR2_ROOTFS_SKELETON_CUSTOM. > > That looks a bit tricky, although we could probably add it for some cases > that we want test coverage for. > >> >> [Others may disagree with me of course.] >> >> Regards, >> Arnout >> >> >>> Changes v2 -> v3: >>> - properly check exit codes >>> Changes v1 -> v2: >>> - refactor fixup_config control flow >>> --- >>> utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- >>> 1 file changed, 206 insertions(+), 9 deletions(-) >>> >>> diff --git a/utils/genrandconfig b/utils/genrandconfig >>> index 3483d55c14..59fe34e58d 100755 >>> --- a/utils/genrandconfig >>> +++ b/utils/genrandconfig >>> @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): >>> configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') >>> configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) >>> >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: Here, the BR2_ROOTFS_SKELETON_CUSTOM_PATH check is basically redundant: randconfig will never fill something in for the string, so it is always empty. >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') Thus, the result is that if a config is generated with BR2_ROOTFS_SKELETON_CUSTOM=y, it will be removed again and revert to its default. In this case, there are just two choices so it doesn't make a difference. But if there are more than two choices, removing one of them creates a bias towards the default option. I wouldn't call this "better statistical coverage". Statistically, taking a completely random sampling and then discarding samples that are somehow not appropriate is considered "better" than fudging inappropriate samples in a certain direction. Regards, Arnout >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') >>> + >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') >>> + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') >>> + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') >>> + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') >>> + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') >>> + >>> + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ >>> + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: >>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') >>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') >>> + >>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') >>> + >>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') >>> + >>> + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ >>> + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: >>> + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') >>> + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') >>> + >>> + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ >>> + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') >>> + >>> + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ >>> + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') >>> + >>> + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ >>> + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') >>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') >>> + >>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ >>> + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') >>> + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') >>> + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') >>> + >>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ >>> + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') >>> + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') >>> + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') >>> + >>> + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ >>> + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') >>> + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') >>> + >>> + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ >>> + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') >>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') >>> + >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') >>> + >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') >>> + >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ >>> + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') >>> + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') >>> + >>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') >>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: >>> + return False >>> + >>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ >>> + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') >>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: >>> + return False >>> + >>> + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ >>> + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>> + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: >>> + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') >>> + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') >>> + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') >>> + >>> with open(configfile, "w+") as configf: >>> configf.writelines(configlines) >>> >>> @@ -331,11 +517,14 @@ def gen_config(args): >>> >>> sysinfo = SystemInfo() >>> >>> - # Select a random toolchain configuration >>> - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) >>> + if args.toolchains_csv: >>> + # Select a random toolchain configuration >>> + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) >>> >>> - i = randint(0, len(configs) - 1) >>> - toolchainconfig = configs[i] >>> + i = randint(0, len(configs) - 1) >>> + toolchainconfig = configs[i] >>> + else: >>> + toolchainconfig = [] >>> >>> configlines = list(toolchainconfig) >>> >>> @@ -409,7 +598,7 @@ def gen_config(args): >>> bounded_loop -= 1 >>> subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>> "KCONFIG_PROBABILITY=%d" % randint(1, 20), >>> - "randpackageconfig"]) >>> + "randpackageconfig" if args.toolchains_csv else "randconfig"]) >>> >>> if fixup_config(sysinfo, configfile): >>> break >>> @@ -433,10 +622,18 @@ if __name__ == '__main__': >>> parser.add_argument("--buildrootdir", "-b", >>> help="Buildroot directory (relative to current directory)", >>> type=str, default='.') >>> - parser.add_argument("--toolchains-csv", >>> - help="Path of the toolchain configuration file", >>> - type=str, >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") >>> + >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) >>> + toolchains_csv.add_argument("--toolchains-csv", >>> + dest="toolchains_csv", >>> + help="Path of the toolchain configuration file", >>> + type=str) >>> + toolchains_csv.add_argument("--no-toolchains-csv", >>> + dest="toolchains_csv", >>> + help="Generate random toolchain configuration", >>> + action='store_false') >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") >>> + >>> args = parser.parse_args() >>> >>> # We need the absolute path to use with O=, because the relative From fperrad at gmail.com Wed Apr 6 14:05:35 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 6 Apr 2022 16:05:35 +0200 Subject: [Buildroot] [PATCH] configs/olimex_stmp157: bump kernel version Message-ID: <20220406140535.2569899-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/olimex_stmp157_olinuxino_lime_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig index 74e7f9ba6..f9b31bbdc 100644 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20210821-v5.10.60 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="081be4c4c634cf9345b8bf59fe141a0236383ae4" +# branch release-20220321-v5.10.105 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y -- 2.32.0 From arnout at mind.be Wed Apr 6 14:24:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 6 Apr 2022 16:24:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220405233412.4701-1-dpb@corrigendum.ru> References: <20220405233412.4701-1-dpb@corrigendum.ru> Message-ID: <08affbae-a2c5-7e17-a9ee-a1f7842c2259@mind.be> On 06/04/2022 01:34, ????? ???????? wrote: > When installer is used to install packages for host Python, it can figure > out by itself which paths to use. We just need to use the installer CLI > instead of our wrapper script. James, could you have a look at this and add it to your series that reworks the pep517 infra? Because I think it'll create conflicts. Also, can the installer be used for target install as well? Regards, Arnout > > Signed-off-by: ????? ???????? > --- > package/pkg-python.mk | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 867341fc7b..acd5628f3b 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ > PYTHONNOUSERSITE=1 \ > $(HOST_CONFIGURE_OPTS) > > -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > - --interpreter=/bin/python \ > - --script-kind=posix \ > - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ > - --scripts=$(HOST_DIR)/bin \ > - --data=$(HOST_DIR) > - > ################################################################################ > # inner-python-package -- defines how the configuration, compilation > # and installation of a Python package should be done, implements a > @@ -212,7 +204,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* > else > $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) > $(2)_BASE_BUILD_CMD = -m build -n -w > -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > +$(2)_BASE_INSTALL_CMD = -m installer dist/* > endif > else > $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") From arnout at mind.be Wed Apr 6 14:29:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 6 Apr 2022 16:29:03 +0200 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On 06/04/2022 04:06, Emile Cormier wrote: > When using cmake while running a post-build script, the ExternalProject_add > command fails when the URL option is used to download a source tarball via > https. This is because the host cmake is not built using the --system-curl > option (https://github.com/Kitware/CMake/blob/master/bootstrap#L660 > ). > > Without the system-curl option, the cmake build will use its own bundled libcurl > without OpenSSL support, and thus downloading tarballs via https fails. > > Adding the --system-curl option would entail that libcurl also be built as a > host library. I don't think it currently is. Not only that, we'd need to configure host-curl to pull in host-openssl as well. That is not really great. It means that cmake (which in many configurations is a very basic dependency) would pull in two more packages, which significantly increases build time. And the only added value is that it allows you to build something outside of buildroot. If you need to do that, simply install cmake on your build system and use that instead of the buildroot-built cmake. Regards, Arnout > > I use CMake's ExternalProject_add in our project to download and build the > static library dependencies that our embedded application needs. I know that > buildroot provides various packages for cross-compiled libraries, but I have no > control over the versions (and compile-time options) of these packages. > > Cheers, > Emile Cormier > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From Tim.Hammer at orolia.com Wed Apr 6 14:52:25 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Wed, 6 Apr 2022 14:52:25 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: build internal bind tool gen for host (not target) Message-ID: Building gen tool of the internal (bundled) bind needs to be for host, not target Switch to use internal build in commit 0c8dd6ebd656e06cf99a63eb93343715f4853503 overlooked this. Building dns library in /home/autobuild/autobuild/instance-13/output-1/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns /bin/sh: line 1: ./gen: cannot execute binary file: Exec format error Fixes: - http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7/ --- package/dhcp/dhcp.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f1e3c22f1c..2faea48c46 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -23,7 +23,11 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' + +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' +DHCP_BIND_EXTRA_CONFIG += BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk -- 2.25.1 From Tim.Hammer at orolia.com Wed Apr 6 15:01:47 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Wed, 6 Apr 2022 15:01:47 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: build internal bind tool gen for host (not target) In-Reply-To: References: Message-ID: On Wed, Apr 06, 2022 at 02:52:25PM +0000, Tim Hammer wrote: > Building gen tool of the internal (bundled) bind needs to be for host, not target > Switch to use internal build in commit 0c8dd6ebd656e06cf99a63eb93343715f4853503 > overlooked this. > Much gratitude to Fabrice Fontaine for all the help (and patience) getting me and this patch to this point. After this is processed and merged to master, can we get both Fabrice's initial patch (commit 0c8dd6ebd656e06cf99a63eb93343715f4853503) and this one merged to 2022.02.x? Thanks! .Tim Tim D. Hammer tim.hammer at orolia.com > Building dns library in /home/autobuild/autobuild/instance-13/output-1/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns > /bin/sh: line 1: ./gen: cannot execute binary file: Exec format error > > Fixes: > - http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7/ > --- > package/dhcp/dhcp.mk | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index f1e3c22f1c..2faea48c46 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -23,7 +23,11 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > + > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > -- > 2.25.1 > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From peter at korsgaard.com Wed Apr 6 15:51:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 6 Apr 2022 17:51:40 +0200 Subject: [Buildroot] [git commit branch/2021.02.x] Update for 2021.02.12 Message-ID: <20220406154347.D929C83658@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ef68ba43d965528bd5c622407dfb9a5e3b343493 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x Signed-off-by: Peter Korsgaard --- CHANGES | 11 +++++++++++ Makefile | 4 ++-- support/misc/Vagrantfile | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index c9822cdf80..a9973a9076 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,14 @@ +2021.02.12, released April 6th, 2022 + + Important / security related fixes. + + pkg-stats: Limit memory use for CPE matching + + Updated/fixed packages: gdk-pixbuf, jack2, libzlib, matio, + nbd, netatalk, opus, python-paramiko, python-treq, + python-twisted, spidev_test, unbound, urandom-scripts, vim, + wireshark, zlib-ng, zziplib + 2021.02.11, released March 25th, 2022 Important / security related fixes. diff --git a/Makefile b/Makefile index a3c5802d55..731d784ffb 100644 --- a/Makefile +++ b/Makefile @@ -92,9 +92,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2021.02.11 +export BR2_VERSION := 2021.02.12 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1648206000 +BR2_VERSION_EPOCH = 1649260000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index 7e97a277ea..cfbe7a1cf8 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2021.02.11' +RELEASE='2021.02.12' ### Change here for more memory/cores ### VM_MEMORY=2048 From peter at korsgaard.com Wed Apr 6 16:02:16 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 06 Apr 2022 18:02:16 +0200 Subject: [Buildroot] Buildroot 2021.02.12 released; 2021.02.x EOL Message-ID: <87a6cyurnb.fsf@dell.be.48ers.dk> Hi, Buildroot is a simple tool for creating complete embedded Linux systems (http://buildroot.org). Buildroot 2021.02.12 is released - Go download it at: http://buildroot.org/downloads/buildroot-2021.02.12.tar.gz or http://buildroot.org/downloads/buildroot-2021.02.12.tar.bz2 Or get it from Git: git://git.buildroot.org/buildroot Buildroot 2021.02.12 is a bugfix release on the previous long term release, fixing a number of important / security related issues discovered since the 2021.02.11 release. Notice that the 2021.02.x series is now end of life unless somebody steps up to take over maintenance. Please migrate to the 2022.02 series instead which will be supported until April 2023. - pkg-stats: Limit memory use for CPE matching - Security fixes for libzlib, matio, nbd, netatalk, python-paramiko, python-twisted, urandom-scripts, vim - Fixes for download/compilation/runtime/license issues in gdk-pixbuf, jack2, opus, python-treq, unbound, wireshark, zlib-ng, zziplib For more details, see the CHANGES file: https://git.buildroot.net/buildroot/plain/CHANGES?id=2021.02.12 Users of the affected packages are strongly encouraged to upgrade. Many thanks to all the people contributing to this release: git shortlog -sn 2021.02.11.. 15 Fabrice Fontaine 4 Thomas Petazzoni 2 Peter Korsgaard 2 Peter Seiderer 1 Andreas Ziegler 1 Bernd Kuhls 1 Gwenhael Goavec-Merou 1 Jason A. Donenfeld 1 Kyle Harding 1 Markus Mayer 1 Romain Naour 1 Thomas Huth -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Wed Apr 6 16:23:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 18:23:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-gmmlib: needs C++ Message-ID: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> intel-gmmlib needs C++ since its addition in commit 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d Signed-off-by: Fabrice Fontaine --- package/intel-gmmlib/Config.in | 5 +++-- package/intel-mediadriver/Config.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/intel-gmmlib/Config.in b/package/intel-gmmlib/Config.in index 9d5fbd9cae..b6f93f7416 100644 --- a/package/intel-gmmlib/Config.in +++ b/package/intel-gmmlib/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_INTEL_GMMLIB bool "intel-gmmlib" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP help The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) @@ -10,5 +11,5 @@ config BR2_PACKAGE_INTEL_GMMLIB https://github.com/intel/gmmlib -comment "intel-gmmlib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "intel-gmmlib needs a toolchain w/ dynamic library, C++" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/intel-mediadriver/Config.in b/package/intel-mediadriver/Config.in index c29c2fb6ab..ad56590008 100644 --- a/package/intel-mediadriver/Config.in +++ b/package/intel-mediadriver/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER bool "intel-mediadriver" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS # mesa3d, libva - depends on BR2_INSTALL_LIBSTDCPP # mesa3d + depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d depends on BR2_TOOLCHAIN_HAS_THREADS # libva depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 16:28:28 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 18:28:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix build with zlib Message-ID: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> internal bind is in version 9.11 and so doesn't support pkg-config like bind 9.16 resulting in the following build failure since commit 0c8dd6ebd656e06cf99a63eb93343715f4853503: configure: error: include/zlib.h not found. Fixes: - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 Signed-off-by: Fabrice Fontaine --- package/dhcp/dhcp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f1e3c22f1c..460e62a81c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -42,7 +42,7 @@ DHCP_CONF_OPTS = \ --with-relay6-pid-file=/var/run/dhcrelay6.pid ifeq ($(BR2_PACKAGE_ZLIB),y) -DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_BIND_EXTRA_CONFIG += --with-zlib=$(STAGING_DIR)/usr DHCP_DEPENDENCIES += zlib else DHCP_BIND_EXTRA_CONFIG += --without-zlib -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 16:33:00 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 18:33:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/polkit: fix build without C++ Message-ID: <20220406163300.4006892-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since switch to meson-package in commit 1db13226394ff7e6f5e7ca643e275f35d6c633bb and https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a Signed-off-by: Fabrice Fontaine --- package/polkit/0003-fix-build-without-C.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 package/polkit/0003-fix-build-without-C.patch diff --git a/package/polkit/0003-fix-build-without-C.patch b/package/polkit/0003-fix-build-without-C.patch new file mode 100644 index 0000000000..8e16de256c --- /dev/null +++ b/package/polkit/0003-fix-build-without-C.patch @@ -0,0 +1,50 @@ +From abbc04f6f3acfc2dfa34b1c07decaa658786e142 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 18:33:08 +0200 +Subject: [PATCH] fix build without C++ + +Fix the following build failure without C++ raised since +https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: + +The following exception(s) were encountered: +Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Indeed, C++ is only required with mozjs engine + +Fixes: + - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.freedesktop.org/polkit/polkit/-/commit/abbc04f6f3acfc2dfa34b1c07decaa658786e142] +--- + meson.build | 2 +- + src/polkitbackend/meson.build | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index c6765fd..da60930 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,5 +1,5 @@ + project( +- 'polkit', ['c', 'cpp'], ++ 'polkit', ['c'], + version: '0.120', + license: 'LGPL2+', + default_options: [ +diff --git a/src/polkitbackend/meson.build b/src/polkitbackend/meson.build +index 266f280..7c5d443 100644 +--- a/src/polkitbackend/meson.build ++++ b/src/polkitbackend/meson.build +@@ -38,6 +38,7 @@ if js_engine == 'duktape' + deps += libm_dep + deps += thread_dep + elif js_engine == 'mozjs' ++ add_languages('cpp') + sources += files('polkitbackendjsauthority.cpp') + endif + +-- +GitLab + -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 16:37:29 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 18:37:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: fix build on kernel < 4.11 Message-ID: <20220406163729.4007517-1-fontaine.fabrice@gmail.com> lsns unconditionally uses NS_GET_NSTYPE since version 2.38 and https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=de72df79d72fa906e71e2ac922d8745ff22deee5 which is only available since kernel 4.11 and https://github.com/torvalds/linux/commit/e5ff5ce6e20ee22511398bb31fb912466cf82a36 resulting in the following build failure: sys-utils/lsns.c: In function 'add_namespace_for_nsfd': sys-utils/lsns.c:719:25: error: 'NS_GET_NSTYPE' undeclared (first use in this function) 719 | clone_type = ioctl(fd, NS_GET_NSTYPE); | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/572ecf8e37ac733a4e4265f4f78f35230337278e Signed-off-by: Fabrice Fontaine --- ...improve-dependence-on-NS_GET_-ioctls.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/util-linux/0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch diff --git a/package/util-linux/0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch b/package/util-linux/0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch new file mode 100644 index 0000000000..8e79b8d4d3 --- /dev/null +++ b/package/util-linux/0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch @@ -0,0 +1,34 @@ +From fc686823b008bc95e2ebe904c706a117a03e2754 Mon Sep 17 00:00:00 2001 +From: Karel Zak +Date: Wed, 6 Apr 2022 10:38:43 +0200 +Subject: lsns: improve dependence on NS_GET_ ioctls + +Fixes: http://autobuild.buildroot.org/results/572ecf8e37ac733a4e4265f4f78f35230337278e +Reported-by: Fabrice Fontaine +Signed-off-by: Karel Zak + +[Retrieved from: +https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=fc686823b008bc95e2ebe904c706a117a03e2754] +Signed-off-by: Fabrice Fontaine +--- + sys-utils/lsns.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/sys-utils/lsns.c b/sys-utils/lsns.c +index 1a7e9f333..75625b3a6 100644 +--- a/sys-utils/lsns.c ++++ b/sys-utils/lsns.c +@@ -40,7 +40,9 @@ + + #ifdef HAVE_LINUX_NSFS_H + # include +-# define USE_NS_GET_API 1 ++# if defined(NS_GET_NSTYPE) && defined(NS_GET_OWNER_UID) ++# define USE_NS_GET_API 1 ++# endif + #endif + + #include "pathnames.h" +-- +cgit + -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 17:25:37 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 19:25:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/stunnel: doesn't build with libressl Message-ID: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl: In file included from tls.c:39: prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f Signed-off-by: Fabrice Fontaine --- package/stunnel/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/stunnel/Config.in b/package/stunnel/Config.in index 087fecd930..a46e2f0316 100644 --- a/package/stunnel/Config.in +++ b/package/stunnel/Config.in @@ -2,7 +2,8 @@ config BR2_PACKAGE_STUNNEL bool "stunnel" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES help Stunnel is a program that wraps any TCP connection with an SSL connection. -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 17:29:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 19:29:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop versioned layout Message-ID: <20220406172934.4009018-1-fontaine.fabrice@gmail.com> boost.m4 embedded by cc-tool is not able to find boost libraries when they are versionned (e.g. libboost_program_options-gcc9-mt-sd-1_78.a): configure: error: cannot find the flags to link with Boost program_options azmq and i2pd also have the same issue: CMake Error at /nvmedata/autobuild/instance-8/output-1/host/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time thread chrono random) (Required is at least version "1.48") So drop versioned layout option Fixes: - http://autobuild.buildroot.org/results/4ae98aed925fbb1d54023075deda9a864f52cee6 - http://autobuild.buildroot.org/results/de35ca0156d4b6f465e440ed9a3effd471f657fa - http://autobuild.buildroot.org/results/c3d2a066429d5f2889c2232d62e5950eb6a89311 Signed-off-by: Fabrice Fontaine --- Config.in.legacy | 9 +++++++++ package/boost/Config.in | 7 ------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 48c5ebb81e..27f19f14e7 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -144,6 +144,15 @@ endif ############################################################################### +comment "Legacy options removed in 2022.05" + +config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED + bool "boost versioned layout removed" + select BR2_LEGACY + help + Boost versioned layout isn't handled by a number of autotools + and cmake packages (e.g. azmq, cc-tool, i2pd). + comment "Legacy options removed in 2022.02" config BR2_PACKAGE_LIBCURL_LIBNSS diff --git a/package/boost/Config.in b/package/boost/Config.in index 16c3ef8465..f039d68b1e 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -36,19 +36,12 @@ config BR2_PACKAGE_BOOST_LAYOUT_TAGGED and version, or Boost version. This option is useful if you build several variants of Boost, using the same compiler. -config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED - bool "versioned" - help - Boost binary names include the Boost version number, name - and version of the compiler and encoded build properties. - endchoice config BR2_PACKAGE_BOOST_LAYOUT string default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED - default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED config BR2_PACKAGE_BOOST_ATOMIC bool "boost-atomic" -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 18:55:52 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 20:55:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/woff2: use github helper Message-ID: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> Signed-off-by: Fabrice Fontaine --- package/woff2/woff2.hash | 2 +- package/woff2/woff2.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash index 469071e3c2..0812dabcf1 100644 --- a/package/woff2/woff2.hash +++ b/package/woff2/woff2.hash @@ -1,5 +1,5 @@ # Locally generated: -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz # Hash for license files: sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk index b2ff33fe98..937e8cf736 100644 --- a/package/woff2/woff2.mk +++ b/package/woff2/woff2.mk @@ -5,8 +5,7 @@ ################################################################################ WOFF2_VERSION = 1.0.2 -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz -WOFF2_SITE = https://github.com/google/woff2/archive +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) WOFF2_LICENSE = MIT WOFF2_LICENSE_FILES = LICENSE WOFF2_INSTALL_STAGING = YES -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 19:14:38 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 21:14:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/spice: needs C++ Message-ID: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> spice needs C++ since bump to version 0.15.0 in commit b784f1bc0fc3ac33a20549069a81ff98260b58e9 and https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: configure: error: *** A compiler with support for C++11 language features is required. Fixes: - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 Signed-off-by: Fabrice Fontaine --- package/spice/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index 2241b55b3d..ca5c562ca1 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -1,12 +1,14 @@ -comment "spice server needs a toolchain w/ wchar, threads" +comment "spice server needs a toolchain w/ wchar, threads, C++" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_SPICE bool "spice server" depends on BR2_i386 || BR2_x86_64 depends on BR2_USE_WCHAR # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_JPEG select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 6 19:41:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 6 Apr 2022 21:41:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libressl: bump to version 3.5.1 Message-ID: <20220406194148.39490-1-fontaine.fabrice@gmail.com> This bump will fix the following build failure with pure-ftpd thanks to https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8: tls.c: In function 'tls_init_options': tls.c:329:5: warning: implicit declaration of function 'SSL_CTX_set_num_tickets'; did you mean 'SSL_CTX_set_options'? [-Wimplicit-function-declaration] SSL_CTX_set_num_tickets(tls_ctx, 0); ^~~~~~~~~~~~~~~~~~~~~~~ SSL_CTX_set_options https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.1-relnotes.txt Fixes: - http://autobuild.buildroot.org/results/f5d36180949278510199aa499e253780558c6ffe Signed-off-by: Fabrice Fontaine --- package/libressl/libressl.hash | 2 +- package/libressl/libressl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libressl/libressl.hash b/package/libressl/libressl.hash index e923998713..5474d8e537 100644 --- a/package/libressl/libressl.hash +++ b/package/libressl/libressl.hash @@ -1,4 +1,4 @@ # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz +sha256 a7d0026f67622275ec8f8239ded422a653d5ccc84df55dea2acd406017185608 libressl-3.5.1.tar.gz # Locally computed sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk index 0bb468cedb..81b0163b93 100644 --- a/package/libressl/libressl.mk +++ b/package/libressl/libressl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRESSL_VERSION = 3.4.3 +LIBRESSL_VERSION = 3.5.1 LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) LIBRESSL_LICENSE_FILES = COPYING -- 2.35.1 From vincent.stehle at laposte.net Wed Apr 6 20:00:45 2022 From: vincent.stehle at laposte.net (Vincent =?iso-8859-1?Q?Stehl=E9?=) Date: Wed, 6 Apr 2022 22:00:45 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <2646beec-15db-f2e9-5490-0f7fd551857f@mind.be> References: <20220329205136.32435-1-vincent.stehle@laposte.net> <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> <2646beec-15db-f2e9-5490-0f7fd551857f@mind.be> Message-ID: On Mon, Apr 04, 2022 at 10:28:12PM +0200, Arnout Vandecappelle wrote: .. > But that actually causes a problem: if udhcpc doesn't keep running the > background any more, it's not going to refresh its lease, but will keep on > using its IP address indefinitely. Although this seems to work at first > hand, it's going to cause some problem somewhere down the line... Hi Arnout, After your comment at first I thought all the no-MMU buildroot defconfigs were subtly broken :-S I did some investigations and now my understanding is that udhcpc does indeed daemonize by default in the no-MMU case. See [1]: #if !BB_MMU /* on NOMMU reexec (i.e., background) early */ if (!(opt & OPT_f)) { bb_daemonize_or_rexec(0 /* flags */, argv); logmode = LOGMODE_NONE; } #endif That behaviour was added in busybox udhcpc while removing the -b option (in commit [2]). Also, this is confirmed on qemu where we can see the udhcpc process running in the background: ~ # ps PID USER VSZ STAT COMMAND 1 root 616 S init ... 62 root 612 S udhcpc -R -p /var/run/udhcpc.eth0.pid -i eth0 -x hos > So we should find a different solution, and we should probably use that in > the MMU case as well (just to keep things consistent. Now I think that we are safe. What is your opinion on this, please? Best regards, Vincent. [1]: https://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c#n1352 [2]: https://git.busybox.net/busybox/commit/?id=21765fa063830923d13426ec6989c16da9210e49 From dpb at corrigendum.ru Wed Apr 6 19:57:26 2022 From: dpb at corrigendum.ru (=?UTF-8?B?0KDQvtC80LDQvSDQlNC+0L3Rh9C10L3QutC+?=) Date: Wed, 6 Apr 2022 22:57:26 +0300 Subject: [Buildroot] [PATCH 1/1] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <08affbae-a2c5-7e17-a9ee-a1f7842c2259@mind.be> References: <20220405233412.4701-1-dpb@corrigendum.ru> <08affbae-a2c5-7e17-a9ee-a1f7842c2259@mind.be> Message-ID: <6f2c2047-1c19-dc6f-1d77-26f6a7f2615a@corrigendum.ru> 06.04.2022 17:24, Arnout Vandecappelle ?????: > On 06/04/2022 01:34, ????? ???????? wrote: >> When installer is used to install packages for host Python, it can figure >> out by itself which paths to use. We just need to use the installer CLI >> instead of our wrapper script. > > ?James, could you have a look at this and add it to your series that > reworks the pep517 infra? Because I think it'll create conflicts. > > ?Also, can the installer be used for target install as well? No, installer doesn't know the settings for the target Python, and the installer CLI isn't flexible enough to configure these settings. So a custom script is required. > > ?Regards, > ?Arnout > >> >> Signed-off-by: ????? ???????? >> --- >> ? package/pkg-python.mk | 10 +--------- >> ? 1 file changed, 1 insertion(+), 9 deletions(-) >> >> diff --git a/package/pkg-python.mk b/package/pkg-python.mk >> index 867341fc7b..acd5628f3b 100644 >> --- a/package/pkg-python.mk >> +++ b/package/pkg-python.mk >> @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ >> ????? PYTHONNOUSERSITE=1 \ >> ????? $(HOST_CONFIGURE_OPTS) >> -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ >> -??? --interpreter=/bin/python \ >> -??? --script-kind=posix \ >> - >> --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ >> -??? --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ >> -??? --scripts=$(HOST_DIR)/bin \ >> -??? --data=$(HOST_DIR) >> - >> >> ################################################################################ >> >> ? # inner-python-package -- defines how the configuration, compilation >> ? # and installation of a Python package should be done, implements a >> @@ -212,7 +204,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = >> $(TOPDIR)/support/scripts/pyinstaller.py dist/* >> ? else >> ? $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) >> ? $(2)_BASE_BUILD_CMD = -m build -n -w >> -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py >> dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) >> +$(2)_BASE_INSTALL_CMD = -m installer dist/* >> ? endif >> ? else >> ? $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', >> 'setuptools', 'pep517' or 'flit'.") From emile.cormier.jr at gmail.com Wed Apr 6 20:13:05 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Wed, 6 Apr 2022 17:13:05 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: Thank you for your feedback on this request, Arnout. Buildroot's cmake is being executed in my post-build script instead of my system's cmake. How do I make my system's cmake take precedence? On Wed, Apr 6, 2022 at 11:29 AM Arnout Vandecappelle wrote: > > > On 06/04/2022 04:06, Emile Cormier wrote: > > When using cmake while running a post-build script, the > ExternalProject_add > > command fails when the URL option is used to download a source tarball > via > > https. This is because the host cmake is not built using the > --system-curl > > option (https://github.com/Kitware/CMake/blob/master/bootstrap#L660 > > ). > > > > Without the system-curl option, the cmake build will use its own bundled > libcurl > > without OpenSSL support, and thus downloading tarballs via https fails. > > > > Adding the --system-curl option would entail that libcurl also be built > as a > > host library. I don't think it currently is. > > Not only that, we'd need to configure host-curl to pull in host-openssl > as well. > > That is not really great. It means that cmake (which in many > configurations is > a very basic dependency) would pull in two more packages, which > significantly > increases build time. > > And the only added value is that it allows you to build something > outside of > buildroot. If you need to do that, simply install cmake on your build > system and > use that instead of the buildroot-built cmake. > > Regards, > Arnout > > > > > > I use CMake's ExternalProject_add in our project to download and build > the > > static library dependencies that our embedded application needs. I know > that > > buildroot provides various packages for cross-compiled libraries, but I > have no > > control over the versions (and compile-time options) of these packages. > > > > Cheers, > > Emile Cormier > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperez at igalia.com Wed Apr 6 20:58:27 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Wed, 6 Apr 2022 23:58:27 +0300 Subject: [Buildroot] [PATCH 1/1] package/woff2: use github helper In-Reply-To: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> References: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> Message-ID: <20220406235827.GB2664461@momiji> On Wed, 06 Apr 2022 20:55:52 +0200 Fabrice Fontaine wrote: > Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro > --- > package/woff2/woff2.hash | 2 +- > package/woff2/woff2.mk | 3 +-- > 2 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash > index 469071e3c2..0812dabcf1 100644 > --- a/package/woff2/woff2.hash > +++ b/package/woff2/woff2.hash > @@ -1,5 +1,5 @@ > # Locally generated: > -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz > +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz > > # Hash for license files: > sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE > diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk > index b2ff33fe98..937e8cf736 100644 > --- a/package/woff2/woff2.mk > +++ b/package/woff2/woff2.mk > @@ -5,8 +5,7 @@ > ################################################################################ > > WOFF2_VERSION = 1.0.2 > -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz > -WOFF2_SITE = https://github.com/google/woff2/archive > +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) > WOFF2_LICENSE = MIT > WOFF2_LICENSE_FILES = LICENSE > WOFF2_INSTALL_STAGING = YES > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot Cheers, ?Adri?n -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From dariobin at libero.it Wed Apr 6 21:10:34 2022 From: dariobin at libero.it (Dario Binacchi) Date: Wed, 6 Apr 2022 23:10:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/qemu: fix host-qemu compilation with recent GCC Message-ID: <20220406211034.3672-1-dariobin@libero.it> Fixes: cc1: error: ?-fcf-protection? is not compatible with this target The new Ubuntu GCC packages (e.g. Ubuntu 11.2.0-7ubuntu2, 11.2.0) turn on ?-fcf-protection? globally, which causes a build failure in the x86 realmode code. Turn it off explicitly on compilers that understand this option. Signed-off-by: Dario Binacchi Signed-off-by: Dario Binacchi --- ...able-fcf-protection-on-march-486-m16.patch | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch diff --git a/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch b/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch new file mode 100644 index 0000000000..7a841fcb60 --- /dev/null +++ b/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch @@ -0,0 +1,49 @@ +From 9584d3d00a454f47b0341465142bcf0735d734ae Mon Sep 17 00:00:00 2001 +From: Christian Ehrhardt +Date: Wed, 23 Mar 2022 10:07:13 +0100 +Subject: [PATCH] build: disable fcf-protection on -march=486 -m16 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Some of the roms build with -march=i486 -m16 which is incompatible +with -fcf-protection. That in turn is can be set by default, for +example in Ubuntu [1]. +That causes: + cc1: error: ?-fcf-protection? is not compatible with this target + +This won't work on -march=i486 -m16 and no matter if set or not we can +override it to "none" if the option is known to the compiler to be +able to build reliably. + +Fixes: https://gitlab.com/qemu-project/qemu/-/issues/889 + +[1]: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection + +Signed-off-by: Christian Ehrhardt +Reviewed-by: Philippe Mathieu-Daud? +Reviewed-by: Thomas Huth +Message-Id: <20220323090713.1002588-1-christian.ehrhardt at canonical.com> +Signed-off-by: Paolo Bonzini +--- + pc-bios/optionrom/Makefile | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile +index 5d55d25acca2..f1ef89807355 100644 +--- a/pc-bios/optionrom/Makefile ++++ b/pc-bios/optionrom/Makefile +@@ -14,6 +14,10 @@ cc-option = $(if $(shell $(CC) $1 -c -o /dev/null -xc /dev/null >/dev/null 2>&1 + + override CFLAGS += -march=i486 -Wall + ++# If -fcf-protection is enabled in flags or compiler defaults that will ++# conflict with -march=i486 ++override CFLAGS += $(call cc-option, -fcf-protection=none) ++ + # Flags for dependency generation + override CPPFLAGS += -MMD -MP -MT $@ -MF $(@D)/$(*F).d + +-- +2.32.0 + -- 2.17.1 From james.hilliard1 at gmail.com Wed Apr 6 21:41:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 15:41:43 -0600 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> Message-ID: On Wed, Apr 6, 2022 at 8:12 AM Arnout Vandecappelle wrote: > > > > On 05/04/2022 21:38, James Hilliard wrote: > > On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: > >> > >> > >> > >> On 05/04/2022 13:50, James Hilliard wrote: > >>> Currently we only test a limited set of toolchains that are mostly > >>> prebuilt, add a flag to allow using randconfig for randomizing > >>> additional toolchain settings instead of randpackageconfig. > >>> > >>> To avoid invalid configs we need to add additional config validation > >>> filtering and fixups. > >>> > >>> Signed-off-by: James Hilliard > >>> --- > >>> Changes v3 -> v4: > >>> - use fixup_config instead of other retries to filter bad configs > >> > >> Well, I don't like this. It means we have to duplicate the logic for checking > >> the bad configs in two places: in the mk file and in genrandconfig. > > > > Well it seems to work better since instead of regenerating it tries to > > fixup the config. I think this gives better statistical coverage of some > > config options. > > It will create a bias towards the default option for the options you exclude. > See below. Yes, I'm aware of that, however this improves coverage as certain options like enabling the kernel build result in a high percentage of invalid configs otherwise which creates a bias towards builds with the kernel build disabled entirely, at least by fixing up invalid kernel configs instead of triggering a full re-randomization we get more builds with kernels enabled as the invalid configs should no longer create a bias towards kernel builds being disabled for example. Having a bias towards the common defaults seems to be a net improvement here. > > > > >> > >> If the problem is that you sometimes don't end up with a valid config even > >> after 100 iterations, then I think a better solution is to feed valid values for > >> the string options. That way, we still do a build test of e.g. > >> BR2_ROOTFS_SKELETON_CUSTOM. > > > > That looks a bit tricky, although we could probably add it for some cases > > that we want test coverage for. > > > >> > >> [Others may disagree with me of course.] > >> > >> Regards, > >> Arnout > >> > >> > >>> Changes v2 -> v3: > >>> - properly check exit codes > >>> Changes v1 -> v2: > >>> - refactor fixup_config control flow > >>> --- > >>> utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- > >>> 1 file changed, 206 insertions(+), 9 deletions(-) > >>> > >>> diff --git a/utils/genrandconfig b/utils/genrandconfig > >>> index 3483d55c14..59fe34e58d 100755 > >>> --- a/utils/genrandconfig > >>> +++ b/utils/genrandconfig > >>> @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): > >>> configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > >>> configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > >>> > >>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > >>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > > Here, the BR2_ROOTFS_SKELETON_CUSTOM_PATH check is basically redundant: > randconfig will never fill something in for the string, so it is always empty. The fixup_config function is used for configs based on the toolchains csv's as well so this is necessary to prevent accidentally fixing up a valid BR2_ROOTFS_SKELETON_CUSTOM_PATH provided in a toolchain csv file. > > >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > >>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') > > Thus, the result is that if a config is generated with > BR2_ROOTFS_SKELETON_CUSTOM=y, it will be removed again and revert to its default. > > In this case, there are just two choices so it doesn't make a difference. But > if there are more than two choices, removing one of them creates a bias towards > the default option. I wouldn't call this "better statistical coverage". > Statistically, taking a completely random sampling and then discarding samples > that are somehow not appropriate is considered "better" than fudging > inappropriate samples in a certain direction. The main issue is that throwing out invalids creates a heavy bias towards disabling the configs dependencies entirely which is not desirable. Having a bias towards kernel builds with default options is better than having a very strong bias towards the kernel not being built at all. > > > Regards, > Arnout > > > > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') > >>> + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') > >>> + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') > >>> + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') > >>> + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') > >>> + > >>> + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ > >>> + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: > >>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') > >>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') > >>> + > >>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') > >>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ > >>> + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: > >>> + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') > >>> + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') > >>> + > >>> + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ > >>> + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': > >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') > >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') > >>> + > >>> + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ > >>> + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') > >>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') > >>> + > >>> + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ > >>> + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') > >>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > >>> + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') > >>> + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > >>> + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') > >>> + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ > >>> + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > >>> + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > >>> + > >>> + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > >>> + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') > >>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') > >>> + > >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') > >>> + > >>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ > >>> + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: > >>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') > >>> + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') > >>> + > >>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') > >>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > >>> + return False > >>> + > >>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ > >>> + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') > >>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') > >>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > >>> + return False > >>> + > >>> + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>> + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>> + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') > >>> + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') > >>> + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') > >>> + > >>> with open(configfile, "w+") as configf: > >>> configf.writelines(configlines) > >>> > >>> @@ -331,11 +517,14 @@ def gen_config(args): > >>> > >>> sysinfo = SystemInfo() > >>> > >>> - # Select a random toolchain configuration > >>> - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > >>> + if args.toolchains_csv: > >>> + # Select a random toolchain configuration > >>> + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > >>> > >>> - i = randint(0, len(configs) - 1) > >>> - toolchainconfig = configs[i] > >>> + i = randint(0, len(configs) - 1) > >>> + toolchainconfig = configs[i] > >>> + else: > >>> + toolchainconfig = [] > >>> > >>> configlines = list(toolchainconfig) > >>> > >>> @@ -409,7 +598,7 @@ def gen_config(args): > >>> bounded_loop -= 1 > >>> subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>> "KCONFIG_PROBABILITY=%d" % randint(1, 20), > >>> - "randpackageconfig"]) > >>> + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > >>> > >>> if fixup_config(sysinfo, configfile): > >>> break > >>> @@ -433,10 +622,18 @@ if __name__ == '__main__': > >>> parser.add_argument("--buildrootdir", "-b", > >>> help="Buildroot directory (relative to current directory)", > >>> type=str, default='.') > >>> - parser.add_argument("--toolchains-csv", > >>> - help="Path of the toolchain configuration file", > >>> - type=str, > >>> - default="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > >>> + toolchains_csv.add_argument("--toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Path of the toolchain configuration file", > >>> + type=str) > >>> + toolchains_csv.add_argument("--no-toolchains-csv", > >>> + dest="toolchains_csv", > >>> + help="Generate random toolchain configuration", > >>> + action='store_false') > >>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > >>> + > >>> args = parser.parse_args() > >>> > >>> # We need the absolute path to use with O=, because the relative From james.hilliard1 at gmail.com Wed Apr 6 21:49:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 15:49:56 -0600 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 2:13 PM Emile Cormier wrote: > > Thank you for your feedback on this request, Arnout. > > Buildroot's cmake is being executed in my post-build script instead of my system's cmake. How do I make my system's cmake take precedence? I think you just need to update your system's cmake to something that meets the required minimum version: https://github.com/buildroot/buildroot/blob/ac91235797fe9b234fb820c0112f21c26be1349f/support/dependencies/check-host-cmake.mk#L6 > > On Wed, Apr 6, 2022 at 11:29 AM Arnout Vandecappelle wrote: >> >> >> >> On 06/04/2022 04:06, Emile Cormier wrote: >> > When using cmake while running a post-build script, the ExternalProject_add >> > command fails when the URL option is used to download a source tarball via >> > https. This is because the host cmake is not built using the --system-curl >> > option (https://github.com/Kitware/CMake/blob/master/bootstrap#L660 >> > ). >> > >> > Without the system-curl option, the cmake build will use its own bundled libcurl >> > without OpenSSL support, and thus downloading tarballs via https fails. >> > >> > Adding the --system-curl option would entail that libcurl also be built as a >> > host library. I don't think it currently is. >> >> Not only that, we'd need to configure host-curl to pull in host-openssl as well. >> >> That is not really great. It means that cmake (which in many configurations is >> a very basic dependency) would pull in two more packages, which significantly >> increases build time. >> >> And the only added value is that it allows you to build something outside of >> buildroot. If you need to do that, simply install cmake on your build system and >> use that instead of the buildroot-built cmake. >> >> Regards, >> Arnout >> >> >> > >> > I use CMake's ExternalProject_add in our project to download and build the >> > static library dependencies that our embedded application needs. I know that >> > buildroot provides various packages for cross-compiled libraries, but I have no >> > control over the versions (and compile-time options) of these packages. >> > >> > Cheers, >> > Emile Cormier >> > >> > _______________________________________________ >> > buildroot mailing list >> > buildroot at buildroot.org >> > https://lists.buildroot.org/mailman/listinfo/buildroot > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From emile.cormier.jr at gmail.com Wed Apr 6 22:15:25 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Wed, 6 Apr 2022 19:15:25 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 6:50 PM James Hilliard wrote: > On Wed, Apr 6, 2022 at 2:13 PM Emile Cormier > wrote: > > Buildroot's cmake is being executed in my post-build script instead of > my system's cmake. How do I make my system's cmake take precedence? > > I think you just need to update your system's cmake to something that > meets the > required minimum version: > > https://github.com/buildroot/buildroot/blob/ac91235797fe9b234fb820c0112f21c26be1349f/support/dependencies/check-host-cmake.mk#L6 > Ah, that explains why I started getting CMake https download failures _after_ the buildroot cmake version was bumped. My system's cmake version was in between buildroot's versions for cmake. However, I think having to rely on the system's CMake version goes against the buildroot philosophy of an image build not relying on the tools and libraries available on the build system. What I have done as a workaround in my post-build script is pre-download the needed source tarballs via wget. Later, when ExternalProject_add attempts to download the same source tarball, it sees that it's already downloaded and matches the expected hash. It then skips the https download, thus preventing the error. This way, whatever version of wget is installed on the build system makes little difference. -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.hilliard1 at gmail.com Wed Apr 6 22:26:59 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 16:26:59 -0600 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 4:15 PM Emile Cormier wrote: > > On Wed, Apr 6, 2022 at 6:50 PM James Hilliard wrote: >> >> On Wed, Apr 6, 2022 at 2:13 PM Emile Cormier wrote: >> > Buildroot's cmake is being executed in my post-build script instead of my system's cmake. How do I make my system's cmake take precedence? Why are you executing cmake in a post-build script? You should probably create a proper cmake package in your BR2_EXTERNAL: https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_cmake_based_packages https://buildroot.org/downloads/manual/manual.html#outside-br-custom >> >> I think you just need to update your system's cmake to something that meets the >> required minimum version: >> https://github.com/buildroot/buildroot/blob/ac91235797fe9b234fb820c0112f21c26be1349f/support/dependencies/check-host-cmake.mk#L6 > > > Ah, that explains why I started getting CMake https download failures _after_ the buildroot cmake version was bumped. My system's cmake version was in between buildroot's versions for cmake. > > However, I think having to rely on the system's CMake version goes against the buildroot philosophy of an image build not relying on the tools and libraries available on the build system. Yes, however the issue here is that you are bypassing buildroot's package download infrastructure. > > What I have done as a workaround in my post-build script is pre-download the needed source tarballs via wget. Later, when ExternalProject_add attempts to download the same source tarball, it sees that it's already downloaded and matches the expected hash. It then skips the https download, thus preventing the error. This way, whatever version of wget is installed on the build system makes little difference. So create a separate buildroot package for those dependencies that your main package selects. Use the cmake package infrastructure instead of trying to use cmake to download the dependency. From james.hilliard1 at gmail.com Wed Apr 6 22:29:03 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 16:29:03 -0600 Subject: [Buildroot] [PATCH v5 1/2] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220406222904.421610-1-james.hilliard1@gmail.com> There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. We need to special case dependency exclusions for host-python-flit-core and host-python-installer to avoid circular dependencies in the flit-bootstrap SETUP_TYPE. We also need to special case the installation command for host-python-flit-core since it can not depend on host-python-installer due to host-python-installer requiring host-python-flit-core. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle --- Changes v3 -> v4: - rebase Changes v2 -> v3: - add special flit-bootstrap SETUP_TYPE - don't change package SETUP_TYPE's yet Changes v1 -> v2: - formatting/cleanup - add comments --- package/pkg-python.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..2e7704a0a9 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +# Use flit built in wheel builder for packages that are flit-bootstrap packages. +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. +# +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +ifeq ($(1),host-python-flit-core) +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) +else +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif +else $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) +else +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 6 22:29:04 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 16:29:04 -0600 Subject: [Buildroot] [PATCH v5 2/2] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220406222904.421610-1-james.hilliard1@gmail.com> References: <20220406222904.421610-1-james.hilliard1@gmail.com> Message-ID: <20220406222904.421610-2-james.hilliard1@gmail.com> From: ????? ???????? When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ????? ???????? Signed-off-by: James Hilliard --- Changes v4 -> v5: - add rebased remove hardcoded paths patch --- package/pkg-python.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 2e7704a0a9..154810e1cc 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages @@ -225,11 +217,11 @@ ifeq ($(1),host-python-flit-core) # $(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) else -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif endif else -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 6 22:32:22 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 16:32:22 -0600 Subject: [Buildroot] [PATCH 1/1] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <6f2c2047-1c19-dc6f-1d77-26f6a7f2615a@corrigendum.ru> References: <20220405233412.4701-1-dpb@corrigendum.ru> <08affbae-a2c5-7e17-a9ee-a1f7842c2259@mind.be> <6f2c2047-1c19-dc6f-1d77-26f6a7f2615a@corrigendum.ru> Message-ID: On Wed, Apr 6, 2022 at 1:57 PM ????? ???????? wrote: > > 06.04.2022 17:24, Arnout Vandecappelle ?????: > > On 06/04/2022 01:34, ????? ???????? wrote: > >> When installer is used to install packages for host Python, it can figure > >> out by itself which paths to use. We just need to use the installer CLI > >> instead of our wrapper script. > > > > James, could you have a look at this and add it to your series that > > reworks the pep517 infra? Because I think it'll create conflicts. Rebased it on my flit bootstrap migration patch: https://patchwork.ozlabs.org/project/buildroot/patch/20220406222904.421610-2-james.hilliard1 at gmail.com/ > > > > Also, can the installer be used for target install as well? > > No, installer doesn't know the settings for the target Python, and the > installer CLI isn't flexible enough to configure these settings. So a > custom script is required. Yeah, unfortunately upstream installer has been somewhat resistant to adding this sort of customization functionality to the CLI. > > > > > Regards, > > Arnout > > > >> > >> Signed-off-by: ????? ???????? > >> --- > >> package/pkg-python.mk | 10 +--------- > >> 1 file changed, 1 insertion(+), 9 deletions(-) > >> > >> diff --git a/package/pkg-python.mk b/package/pkg-python.mk > >> index 867341fc7b..acd5628f3b 100644 > >> --- a/package/pkg-python.mk > >> +++ b/package/pkg-python.mk > >> @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ > >> PYTHONNOUSERSITE=1 \ > >> $(HOST_CONFIGURE_OPTS) > >> -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > >> - --interpreter=/bin/python \ > >> - --script-kind=posix \ > >> - > >> --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > >> - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ > >> - --scripts=$(HOST_DIR)/bin \ > >> - --data=$(HOST_DIR) > >> - > >> > >> ################################################################################ > >> > >> # inner-python-package -- defines how the configuration, compilation > >> # and installation of a Python package should be done, implements a > >> @@ -212,7 +204,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = > >> $(TOPDIR)/support/scripts/pyinstaller.py dist/* > >> else > >> $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) > >> $(2)_BASE_BUILD_CMD = -m build -n -w > >> -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py > >> dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > >> +$(2)_BASE_INSTALL_CMD = -m installer dist/* > >> endif > >> else > >> $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', > >> 'setuptools', 'pep517' or 'flit'.") From emile.cormier.jr at gmail.com Wed Apr 6 23:02:16 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Wed, 6 Apr 2022 20:02:16 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 7:27 PM James Hilliard wrote: > Why are you executing cmake in a post-build script? > > You should probably create a proper cmake package in your BR2_EXTERNAL: > > https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_cmake_based_packages > https://buildroot.org/downloads/manual/manual.html#outside-br-custom > I should have clarified that the same CMake-based superbuild project is used to compile desktop versions of the same app for development purposes. All the (permissive-licenced) dependencies are statically linked to avoid headaches where the desktop's dynamic libraries are used instead of the ones intended for the app. As I'm sure you know, the edit/run/debug cycle is much faster when it doesn't have to be uploaded and remotely debugged on an embedded device. Nonetheless, I'll consider your advice and will check if the CMake superbuild of our app can be hooked into a BR2_EXTERNAL cmake package instead of a post-build script. Thank you. So create a separate buildroot package for those dependencies that your main > package selects. > > Use the cmake package infrastructure instead of trying to use cmake to > download > the dependency. > Again, the same CMake superbuild is used for desktop builds and I don't want to duplicate all that effort into equivalent buildroot cmake packages. Sorry for not making clearer the dual purpose of our CMake superbuild. -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.hilliard1 at gmail.com Wed Apr 6 23:11:31 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 17:11:31 -0600 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 5:02 PM Emile Cormier wrote: > > On Wed, Apr 6, 2022 at 7:27 PM James Hilliard wrote: >> >> Why are you executing cmake in a post-build script? >> >> You should probably create a proper cmake package in your BR2_EXTERNAL: >> https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_cmake_based_packages >> https://buildroot.org/downloads/manual/manual.html#outside-br-custom > > > I should have clarified that the same CMake-based superbuild project is used to compile desktop versions of the same app for development purposes. All the (permissive-licenced) dependencies are statically linked to avoid headaches where the desktop's dynamic libraries are used instead of the ones intended for the app. As I'm sure you know, the edit/run/debug cycle is much faster when it doesn't have to be uploaded and remotely debugged on an embedded device. > > Nonetheless, I'll consider your advice and will check if the CMake superbuild of our app can be hooked into a BR2_EXTERNAL cmake package instead of a post-build script. Thank you. > >> So create a separate buildroot package for those dependencies that your main >> package selects. >> >> Use the cmake package infrastructure instead of trying to use cmake to download >> the dependency. > > > Again, the same CMake superbuild is used for desktop builds and I don't want to duplicate all that effort into equivalent buildroot cmake packages. Sorry for not making clearer the dual purpose of our CMake superbuild. You might still be able to share it for desktop builds for development by creating packages and then overriding them using the OVERRIDE_SRCDIR feature: https://buildroot.org/downloads/manual/manual.html#_using_buildroot_during_development From joel at jms.id.au Thu Apr 7 00:31:59 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 00:31:59 +0000 Subject: [Buildroot] [PATCH] package/zlib-ng: Backport patch to fix linking on powerpc In-Reply-To: References: <20220404091256.683581-1-joel@jms.id.au> <2ddab288-a57a-18ed-c392-d6695dd68e89@mind.be> <20220405195545.GH2354230@scaer> Message-ID: On Wed, 6 Apr 2022 at 02:05, Joel Stanley wrote: > > On Tue, 5 Apr 2022 at 19:55, Yann E. MORIN wrote: > > > > Arnout, All, > > > > On 2022-04-04 22:17 +0200, Arnout Vandecappelle spake thusly: > > > On 04/04/2022 11:12, Joel Stanley wrote: > > > >Commit 192dfc68c0e4 ("package/zlib-ng: fix build on powerpc") turned the > > > Peter just backported this one to 2022.02.x... > > > >Power8 optimisations off to fix a build issue. Instead apply a patch > > > >from the develop branch upstream to fix the issue. > > > > > > > >This patch is not yet in a released version of zlib-ng. > > > > > > > >Signed-off-by: Joel Stanley > > > Applied to master, thanks. > > > > Err... Why would we enable the POWER8 optimisations when the target is > > not a POWER8 ? > > > > Backporting the patch seems correct, but the enabling/disabling the > > optinisations should have stayed, I believe... > > Taking a look at the cmake configuration, there's dozens of options > that provide optimisations. It looks like it does detection of > features: > I suggest we let the zlib-ng build system do its thing to ease the > maintenance burden of keeping the flags up to date. > > I also welcome someone double checking my analysis, as I may have > misunderstood something. We can ignore my ramblings, because I was looking at the latest 'develop' branch. The cmake configuration in the 2.0.6 release is quite different. I'll send a patch to reinstate the settings we had. Cheers, Joel From emile.cormier.jr at gmail.com Thu Apr 7 00:36:26 2022 From: emile.cormier.jr at gmail.com (Emile Cormier) Date: Wed, 6 Apr 2022 21:36:26 -0300 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 8:11 PM James Hilliard wrote: > You might still be able to share it for desktop builds for development > by creating > packages and then overriding them using the OVERRIDE_SRCDIR feature: > > https://buildroot.org/downloads/manual/manual.html#_using_buildroot_during_development > We use Qt Creator as an IDE, and it integrates very well with CMake-based projects, especially for debugging. I'm afraid that introducing buildroot into the mix would wreck our productivity for development. The way I have it set up now with buildroot being exclusively used to produce "release" images for our embedded device is working well. Before buildroot, release images were assembled manually using a Debian ARM image provided by the board vendor, and then tailored to suit our needs. It goes without saying this was very tedious and error-prone. Using buildroot to generate device images is way easier and more consistent, plus we can tailor the operating system exactly as we need it. It turns out that the problem with buildroot's cmake not supporting https downloads is a minor one that I can solve it two ways: 1. Pre-download the tarballs using wget via build scripts 2. Install a more recent cmake on the build system that meets buildroot's requirements If this feature request is declined (as perhaps it should be), then it's no big deal, really. Thanks again for the advice. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at jms.id.au Thu Apr 7 00:51:07 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:21:07 +0930 Subject: [Buildroot] [PATCH] package/zlib-ng: Conditionally enable Power8 option Message-ID: <20220407005107.202695-1-joel@jms.id.au> zlib-ng's build system does not correctly detect if it supports the Power8 feature. Force it off to fix building for configurations that don't support the vector builtin functions. For example, building for BR2_powerpc_601: warning: implicit declaration of function ?vec_xl?; did you mean ?vec_rl?? [-Wimplicit-function-declaration] 93 | vbuf = vec_xl(0, (unsigned char *) buf); Signed-off-by: Joel Stanley --- [ 3%] Building C object CMakeFiles/zlib.dir/arch/power/adler32_power8.c.o build_ppc601_glibc/host/bin/powerpc-buildroot-linux-gnu-gcc --sysroot=/home/joel/dev/buildroot/build_ppc601_glibc/host/powerpc-buildroot-linux-gnu/sysroot -DHAVE_BUILTIN_CTZ -DHAVE_BUILTIN_CTZLL -DHAVE_POSIX_MEMALIGN -DHAVE_VISIBILITY_HIDDEN -DHAVE_VISIBILITY_INTERNAL -DPOWER8 -DPOWER8_VSX_ADLER32 -DPOWER8_VSX_SLIDEHASH -DPOWER_FEATURES -DWITH_GZFILEOP -DZLIB_COMPAT -DZLIB_DLL -D_LARGEFILE64_SOURCE=1 -D__USE_LARGEFILE64 -I/home/joel/dev/buildroot/build_ppc601_glibc/build/zlib-ng-2.0.6 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wno-implicit-fallthrough -DNDEBUG -fPIC -fno-semantic-interposition -std=c99 -mcpu=power8 -fno-lto -o CMakeFiles/zlib.dir/arch/power/adler32_power8.c.o -c build_ppc601_glibc/build/zlib-ng-2.0.6/arch/power/adler32_power8.c build_ppc601_glibc/build/zlib-ng-2.0.6/arch/power/adler32_power8.c: In function ?adler32_power8?: build_ppc601_glibc/build/zlib-ng-2.0.6/arch/power/adler32_power8.c:93:20: warning: implicit declaration of function ?vec_xl?; did you mean ?vec_rl?? [-Wimplicit-function-declaration] 93 | vbuf = vec_xl(0, (unsigned char *) buf); | ^~~~~~ | vec_rl Signed-off-by: Joel Stanley --- package/zlib-ng/zlib-ng.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk index fb497b8c11d0..dd1723ac8672 100644 --- a/package/zlib-ng/zlib-ng.mk +++ b/package/zlib-ng/zlib-ng.mk @@ -23,4 +23,11 @@ ifeq ($(BR2_arm),y) ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 endif +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + + $(eval $(cmake-package)) -- 2.35.1 From joel at jms.id.au Thu Apr 7 00:56:05 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:26:05 +0930 Subject: [Buildroot] [PATCH v2 0/3] powerpc: Add flag to control VSX Message-ID: <20220407005608.203359-1-joel@jms.id.au> Fabrice has been fixing powerpc build errors relating to VSX. Instead of disabling the feature outright, add a BR2 flag so we only turn off VSX where it's not supported. Use this for flac and libnss. Build tested with the ppc 602 configuration, with glibc and uclibc, and with the power8 powernv defconfig. This is v2 as Fabrice's libnss patch was v1: https://lore.kernel.org/buildroot/20220405213351.2487658-1-fontaine.fabrice at gmail.com/ Fabrice Fontaine (1): package/libnss: fix build on powerpc Joel Stanley (2): arch/Config.in.powerpc: Add BR2_POWERPC_CPU_HAS_VSX package/flac: Configure powerpc vector extensions arch/Config.in.powerpc | 5 +++++ package/flac/flac.mk | 12 +++++++++--- package/libnss/libnss.mk | 5 +++++ 3 files changed, 19 insertions(+), 3 deletions(-) -- 2.35.1 From joel at jms.id.au Thu Apr 7 00:56:06 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:26:06 +0930 Subject: [Buildroot] [PATCH v2 1/3] arch/Config.in.powerpc: Add BR2_POWERPC_CPU_HAS_VSX In-Reply-To: <20220407005608.203359-1-joel@jms.id.au> References: <20220407005608.203359-1-joel@jms.id.au> Message-ID: <20220407005608.203359-2-joel@jms.id.au> Introduced to allow VSX to be selectively enabled for packages that support it. Initially used by libnss. Signed-off-by: Joel Stanley --- arch/Config.in.powerpc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc index 4a39cfee70d4..272f66f4e7ea 100644 --- a/arch/Config.in.powerpc +++ b/arch/Config.in.powerpc @@ -1,6 +1,9 @@ config BR2_POWERPC_CPU_HAS_ALTIVEC bool +config BR2_POWERPC_CPU_HAS_VSX + bool + config BR2_POWERPC_CPU_HAS_SPE bool @@ -123,9 +126,11 @@ config BR2_powerpc_power6 config BR2_powerpc_power7 bool "power7" select BR2_POWERPC_CPU_HAS_ALTIVEC + select BR2_POWERPC_CPU_HAS_VSX config BR2_powerpc_power8 bool "power8" select BR2_POWERPC_CPU_HAS_ALTIVEC + select BR2_POWERPC_CPU_HAS_VSX endchoice choice -- 2.35.1 From joel at jms.id.au Thu Apr 7 00:56:07 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:26:07 +0930 Subject: [Buildroot] [PATCH v2 2/3] package/libnss: fix build on powerpc In-Reply-To: <20220407005608.203359-1-joel@jms.id.au> References: <20220407005608.203359-1-joel@jms.id.au> Message-ID: <20220407005608.203359-3-joel@jms.id.au> From: Fabrice Fontaine Set NSS_DISABLE_CRYPTO_VSX which is available since version 3.64 and https://github.com/nss-dev/nss/commit/9dab43371d4d924419523e18ba84f02804880533 to avoid the following build failure on powerpc: cc1: warning: '-mvsx' requires hardware floating point cc1: error: '-mno-vsx' turns off '-mcrypto' Fixes: - http://autobuild.buildroot.org/results/6bedb5b658f6c9c16c26c73a524a995e5e84fcc8 Signed-off-by: Fabrice Fontaine Signed-off-by: Joel Stanley --- v2: rework to use BR2_POWERPC_CPU_HAS_VSX --- package/libnss/libnss.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index 2f7a2651363e..318b6e305724 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -64,6 +64,11 @@ ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),) LIBNSS_BUILD_VARS += NSS_DISABLE_ALTIVEC=1 endif +ifeq ($(BR2_POWERPC_CPU_HAS_VSX),) +# Disable VSX if not supported +LIBNSS_BUILD_VARS += NSS_DISABLE_CRYPTO_VSX=1 +endif + ifeq ($(BR2_ARM_CPU_HAS_NEON),) # Disable arm32-neon if neon is not supported LIBNSS_BUILD_VARS += NSS_DISABLE_ARM32_NEON=1 -- 2.35.1 From joel at jms.id.au Thu Apr 7 00:56:08 2022 From: joel at jms.id.au (Joel Stanley) Date: Thu, 7 Apr 2022 10:26:08 +0930 Subject: [Buildroot] [PATCH v2 3/3] package/flac: Configure powerpc vector extensions In-Reply-To: <20220407005608.203359-1-joel@jms.id.au> References: <20220407005608.203359-1-joel@jms.id.au> Message-ID: <20220407005608.203359-4-joel@jms.id.au> Remove the hard coded disabling of altivec and vsx, and instead use the BR2_POWERPC_CPU_HAS_VSX and BR2_POWERPC_CPU_HAS_ALTIVEC variables to control the flags. Signed-off-by: Joel Stanley --- package/flac/flac.mk | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package/flac/flac.mk b/package/flac/flac.mk index 3a18d81591e6..d1cc42f352f2 100644 --- a/package/flac/flac.mk +++ b/package/flac/flac.mk @@ -19,9 +19,15 @@ FLAC_AUTORECONF = YES FLAC_CONF_OPTS = \ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ --disable-xmms-plugin \ - --disable-altivec \ - --disable-stack-smash-protection \ - --disable-vsx + --disable-stack-smash-protection + +ifeq ($(BR2_POWERPC_CPU_HAS_VSX),) +FLAC_CONF_OPTS += --disable-vsx +endif + +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),) +FLAC_CONF_OPTS += --disable-altivec +endif ifeq ($(BR2_PACKAGE_LIBOGG),y) FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr -- 2.35.1 From james.hilliard1 at gmail.com Thu Apr 7 01:50:45 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 6 Apr 2022 19:50:45 -0600 Subject: [Buildroot] [Feature Request] Host cmake built with the --system-curl option In-Reply-To: References: Message-ID: On Wed, Apr 6, 2022 at 6:36 PM Emile Cormier wrote: > > On Wed, Apr 6, 2022 at 8:11 PM James Hilliard wrote: >> >> You might still be able to share it for desktop builds for development >> by creating >> packages and then overriding them using the OVERRIDE_SRCDIR feature: >> https://buildroot.org/downloads/manual/manual.html#_using_buildroot_during_development > > > We use Qt Creator as an IDE, and it integrates very well with CMake-based projects, especially for debugging. I'm afraid that introducing buildroot into the mix would wreck our productivity for development. > > The way I have it set up now with buildroot being exclusively used to produce "release" images for our embedded device is working well. Before buildroot, release images were assembled manually using a Debian ARM image provided by the board vendor, and then tailored to suit our needs. It goes without saying this was very tedious and error-prone. Using buildroot to generate device images is way easier and more consistent, plus we can tailor the operating system exactly as we need it. Using OVERRIDE_SRCDIR would just allow you to easily generate release images from your cmake projects working tree using buildroot infrastructure which shouldn't conflict with Qt Creator if that's only being used for developing the cmake project. The idea is that you use your existing debugging setup pretty much as is but redirect the buildroot package infrastructure to source your cmake package from your local development folder when you want to build a test release image. This way your release process would properly use buildroot package infrastructure for dependency handling while still allowing debugging to be done separately most of the time using existing workflows. > > It turns out that the problem with buildroot's cmake not supporting https downloads is a minor one that I can solve it two ways: > 1. Pre-download the tarballs using wget via build scripts > 2. Install a more recent cmake on the build system that meets buildroot's requirements > > If this feature request is declined (as perhaps it should be), then it's no big deal, really. > > Thanks again for the advice. From bugzilla at busybox.net Thu Apr 7 05:02:15 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Thu, 07 Apr 2022 05:02:15 +0000 Subject: [Buildroot] [Bug 14746] Lack of management after loading In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14746 --- Comment #3 from Alexander Zhirov --- Buildroot don't even build a Qemu image going with X11 -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Thu Apr 7 05:18:13 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Thu, 07 Apr 2022 05:18:13 +0000 Subject: [Buildroot] [Bug 14701] Multiple unresolved symbols while building kernel module package In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14701 Jos? Pekkarinen changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #5 from Jos? Pekkarinen --- Kernel was trimminig unused symbols, removing the config to trim them makes the module build properly. Sorry! -- You are receiving this mail because: You are on the CC list for the bug. From thomas.petazzoni at bootlin.com Thu Apr 7 05:29:18 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 07 Apr 2022 05:29:18 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-06 Message-ID: <20220407052923.A25F84046D@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-06 =================================== branch | OK | NOK | TIM | TOT | 2021.02.x | 61 | 10 | 1 | 72 | 2022.02.x | 19 | 8 | 2 | 29 | master | 217 | 482 | 0 | 699 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 53 host-util-linux-2.38 | 34 host-gcc-final-10.3.0 | 33 uclibc-1.0.40 | 30 dhcp-4.4.2-P1 | 20 git-2.31.1 | 18 host-elf2flt-7e33f28df198c4... | 18 libopenssl-1.1.1n | 15 argp-standalone-1.3 | 14 fetchmail-6.4.29 | 12 toolchain-external-bootlin-... | 11 linux-5.15.30 | 10 python3-3.10.2 | 8 polkit-a2bf5c9c83b6ae46cbd5... | 7 util-linux-2.38 | 7 glibc-2.34-109-gd64b08d5ba7... | 6 host-gcc-final-9.4.0 | 6 linux-headers-5.15.30 | 6 refpolicy | 6 toolchain-external-bootlin | 6 zlib-ng-2.0.6 | 6 arptables-0.0.5 | 5 libressl-3.4.3 | 5 linux-headers-5.10.104-cip3 | 5 azmq-1.0.3 | 4 gobject-introspection-1.70.0 | 4 perl-5.34.1 | 4 host-gcc-final-11.2.0 | 3 host-go-1.17.8 | 3 linux-headers-5.10.104-cip3... | 3 musl-1.2.2 | 3 netsurf-3.10 | 3 unknown | 3 wavemon-0.9.4 | 3 ace-7.0.6 | 2 acpid-2.0.33 | 2 atest-895b0183a89c15f5e2305... | 2 bitcoin-0.21.2 | 2 brltty-6.4 | 2 fs/ext2/ext2.mk:65: /nvmeda... | 2 i2pd-2.40.0 | 2 libglib2-2.70.4 | 2 linux-5.10.104-cip3-rt3 | 2 minizip-3.0.5 | 2 qpid-proton-0.35.0 | 2 rtl8189es-2c8d44ae26485052f... | 2 uacme-1.7.1 | 2 alsa-lib-1.2.6 | 1 arp-scan-1.9.7 | 1 at-3.2.5 | 1 bat-0.19.0 | 1 belr-4.4.8 | 1 bird-2.0.8 | 1 cairo-1.16.0 | 1 cfm-0.3 | 1 clamav-0.103.5 | 1 dash-0.5.11.5 | 1 dieharder-3.31.1 | 1 docker-proxy-55685ba49593e6... | 1 e2fsprogs-1.46.5 | 1 exempi-2.6.1 | 1 expat-2.4.7 | 1 freeradius-client-1.1.7 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubi/ubi.mk:51: /nvmedata... | 1 fs/ubi/ubi.mk:51: /nvmedata... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 gmp-6.2.1 | 1 gnu-efi-3.0.10 | 1 gnuradio-3.8.2.0 | 1 grep-3.7 | 1 gst1-libav-1.20.1 | 1 host-gcc-initial-10.3.0 | 1 host-gcc-initial-11.2.0 | 1 host-gdb-arc-2020.09-releas... | 1 igh-ethercat-1.5.2 | 1 intel-gmmlib-22.1.2 | 1 json-c-0.15 | 1 lftp-4.9.2 | 1 libcap-ng-0.8.3 | 1 libcpprestsdk-2.10.18 | 1 libeastl-45469730d641868ce0... | 1 libeXosip2-5.3.0 | 1 libgcrypt-1.10.0 | 1 libkcapi-1.1.5 | 1 libkrb5-1.18.4 | 1 libnspr-4.33 | 1 libnss-3.76 | 1 libsigsegv-2.13 | 1 libtorrent-rasterbar-1.2.15 | 1 libuhttpd-3.14.1 | 1 liburing-2.1 | 1 libvorbis-1.3.7 | 1 lttng-babeltrace-1.5.7 | 1 mongodb-4.2.18 | 1 netdata-1.21.1 | 1 ocf-linux-20120127 | 1 opensbi | 1 opensbi-0.9 | 1 opus-1.3.1 | 1 pixman-0.40.0 | 1 pppd-2.4.9 | 1 pure-ftpd-1.0.50 | 1 python-ujson-4.2.0 | 1 quickjs-2021-03-27 | 1 reaver-1.6.6 | 1 rtl8723bs-11ab92d8ccd71c80f... | 1 rtl8723bu-19b4bdc05483a1e79... | 1 snort-2.9.19 | 1 spice-0.15.0 | 1 stunnel-5.60 | 1 systemd-250.4 | 1 tinifier-3.4.0 | 1 toolchain-external-bootlin-... | 1 toolchain-external-codescap... | 1 tvheadend-1295dd2be863f5beb... | 1 vlc-3.0.16 | 1 xenomai-custom | 1 zstd-1.5.2 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblazeel | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/7d7aa594759d3402f02403fbac9937c86e96b75d | microblaze | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/a7ff2cb2833f3b342a8f976e8f9af5d7d8d8598a | mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/aeffd254618b715e7d42b50278af6cf6d4047d8a | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/70b28d50bd72446865870d151f98d7986b41b1cd | ORPH or1k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/f05cc1b0674a4fab6243868041b0eb7592ce6c03 | i486 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/851540c179300bca7d9dfc17371a76f708564062 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/f14a38addf1eaa060fa8a54f64e4b98a981eba48 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/3e70cd20487049a012f350b87d8809ba9b79eec9 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/bc57f7cb1bb2cd9e1d1c513dddcb98140261ac6e | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/dd2eee6dac00c7d1f070ab47186cb94092b1e52e | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/0f7b37960ff09bd59833b6c25d91c4f98fdff467 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/675c954429c18845df2ede2e743441f636b53922 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/6ad1d2199c2d36c2fdd29b8a95d010b751003a6b | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/18a64f87fdaf8d83a4ef768afcdd2bab2b9818db | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/c67d0ae422b1e0309e1837872c761fcb2de80eef | riscv64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/f0bb8a0faaaeffd88422cabf4a85e70ccee3e117 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/473e389212efdc06deb83044205c2dc42c79182b | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/677a0c4388e7d03dd5633d88b0bea07b52e843ae | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/efb2b6d91a632420fa53e5371eb75d6c29e8e370 | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/5fd4d9637bb026b8a741907847ac9a6ad0dc5da5 | riscv32 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/d6e0efef96d1453fff3346d94fbbcc1471ed89df | ORPH i686 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/7957b49734de1c3fbba93efed5bdfbe0ece50181 | ORPH armeb | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/cbd95a0f1b9eacedf54a77dda397fcac743d5a59 | ORPH i686 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/92a80b889c64778f1c3d58159a5947b244b38d83 | ORPH sparc | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/4f73f16e0cd0f8a1d3f8402983a8c269b506be58 | ORPH mips | at-3.2.5 | NOK | http://autobuild.buildroot.net/results/81adf78fc9f07907db1f80b1be16455cf79ab06c | arm | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/8295b4440d18de2952d2a9c7e10c5116384e27f1 | mips64 | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/258c7fcb5c48bd5f8ab9cd9ccffea58956a53157 | sparc64 | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/de35ca0156d4b6f465e440ed9a3effd471f657fa | i686 | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/90defa39c0320860d9ef2985feff1ca6f5215c12 | microblaze | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/6699bcc60e9a06653b729daed090093bd86240e8 | s390x | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/68b013454c4133304553be825366233c8e4e62c0 | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/c780f58012d37e538836fdb6ed796dec6d03d1ad | or1k | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/2410de2f5ba067f36b733bf88cb5b15ec8a0ea67 | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/ef5b1c52402f4384bc556fa7069b25488b9317c6 | mips64 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/3089127f8ddfd252c754044c3acfe2d7c725203d | mips64el | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/80bccd1b4abc9a72fa1fe6dcfefdffdf72cc856b | microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/55a26a58abae06234d1621ffffb0287da29e27fd | mipsel | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/eaf7c9f9d5f363b7d12f5f10262b21cfdac5cd1c | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/6269bf4424d8f3512aca93cf1af1f8272f3cef02 | i686 | cfm-0.3 | NOK | http://autobuild.buildroot.net/results/75401e47fde9f9757576b6268191e456b49b4fac | i686 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/a666b4e2cdc7c1526ee3e06edddddcfc7ab65222 | sparc64 | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/d6600cf1a3a7bc1211c2b67eeb7f73a9e0d2207d | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/9454a29f715cb74b3524edc27bca6c9a5f3ac453 | ORPH mips64el | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/484f95f7573565de60105b484957ae21474df9e8 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/b9d8ce82f18fe9aceb573f237e2639060ccd0329 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/63499ae4b64d8be93e53948b4f1630546d024b16 | ORPH arceb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/99075603eb01220ee028d24705e2eb49e3c134c2 | ORPH armeb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/fc1d69fb323679e864940ee43489853ad57fff40 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3a2cac9c5ef6c5aa3ea8370f5d1390f9829467f5 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/00d8e2eedad1834b909cb0ef55b8a3969b43dcc3 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4d5a34447451766fe209a653359e97895ceb2240 | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/94b82a5ab53d45a2d5bb775b9fd4de09aa72783f | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/41015d952790098c6bfbda04057d2e379e0a497d | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/50e2242988af1bd99444894a20c585d5305a83a8 | ORPH i686 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7a5cdf30881d208807976cf98960c5fe2abfed50 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ca9df1e86bbe923e6d766825bbe5a0d0f80bd75d | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/e4b01a6c35785a9fb3a622b05a5225a5fa452235 | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/0cc04fed5bd6bffe4ff8168551546e80b5ccb460 | ORPH m68k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7ba6364fc3234e7f04a3fe02d6e74aba9625cdd6 | ORPH or1k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2a404d738d1f40199442d570fec9fb455a250686 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/24c41890bf10f9b2c7b7e818961f061ce2a21d8f | ORPH microblazeel | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/7156def493dab11964e215cda090ea3ef90bfc0b | x86_64 | docker-proxy-55685ba49593e6... | NOK | http://autobuild.buildroot.net/results/eb9ac03c47bf9a2f9bb048d6375467ecd517d77a | or1k | e2fsprogs-1.46.5 | NOK | http://autobuild.buildroot.net/results/cc1ed086225d05be50dc759a46bd77087751e22d | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/119227f1843dff416c6ad77411d87e7b491bb4c0 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/303bc312d757a52ce1613da9c73125db4ab6c1dd | x86_64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/8e439aacb6d4f0305f19451672b22a6ac2fb97dd | mipsel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/e7edc5ecf0b0d3f647aa7ac3cd0d22dbe7487747 | powerpc64le | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/fa538d9a38e5eda660dd5b03849ad6faa38b8b43 | nios2 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/2904e82779e46acd3da47639b3c2a32f61502a64 | powerpc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/af51add19aed6f53a6a440cf3025489b67aebf6f | mipsel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/02edf59a4a82f5fe633523b5311aecbdc426f7c0 | sparc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/762954f76601397b40c5e43e4398a2834377142d | powerpc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/6a946fefa27c827015363d8b659eef612e4abbc7 | powerpc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/713819f8a8cac543e8075339e5a2cdf64761758d | xtensa | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7bfdd9223d3f8a3a9cac059713c209a32844af1b | i486 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/1b41f0ce4f3c0b5de3261fbd1c89eb246ee82808 | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/916328156fd0c269f1b099ca2b46fa147e90f60c | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/ccb450040047c72407f5aa109ebe1f88e38a42d8 | mipsel | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/cb4ea03f490f22f87b5e3a1af7682858306d79ad | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/aaaadb21d8886fd8701896908113cc9fc2236bdc | microblazeel | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/58bbd2de9b5bf670902d82209fc70bab61cdc56f | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/6f31484bf46d7eec9ca81d9a5c4906ae19ec8be6 | or1k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/fe090a6eb92306bede1fd9ffe48b35ccf11b3c58 | mips64el | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/6dee312a575517a0d7efc9ea434fe8052c090dc6 | powerpc64le | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/8f061dc9ff8d27c51287c3af86891c2f6d70bb53 | s390x | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/3bdcdeae90cd0780c34ec94ec295a3f1ebb32e39 | powerpc64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/2e6a19c4d719334ef9d5484998406bdf7b637d94 | microblazeel | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/43e162b7ae22c4e415a1bdf96eeb9d9312fdaf26 | m68k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2afa8f3778d12c4ed0ad3d7b00c9a4f0e62f4dcc | m68k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/c263ba53bb458767f594d96dc42f7bf05d374459 | riscv32 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/005078b0f0e40f02ae9af7490d8085037724b3ff | mipsel | fs/ubi/ubi.mk:51: /nvmedata... | NOK | http://autobuild.buildroot.net/results/c5f3cc19db5aaf29b24f0631622b071d63b65371 | microblaze | fs/ubi/ubi.mk:51: /nvmedata... | NOK | http://autobuild.buildroot.net/results/d5c1b3116fa4f81de24e3dde61ebb1ac8fad6541 | sparc64 | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/bd50c2306958b1c4f0460b63974b4d75c1716ad4 | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/25b06d31c2c5137eadf31e96adbce246d2b449f3 | mipsel | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/697ce3ffa58e9770145b140ec46ac1b96ef2560e | mips64el | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/4760e1a2a245bfcd5c4875a90e417397b7146105 | armeb | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/5166a0c68887e2b5d71da1328720bc339d7d4f2d | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/d7cd24d34c10a3b5b5f4bf98b961f3ab3fc23982 | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/bb26ed1e5a9f5e3ad21a47f5de160056eaab0582 | i686 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/f1f7eefc06cbc318055da2012b254b4d52e6a60f | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/9166facb176db36272d858b2ac18311635162bff | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/a5d8dfab1bfa85efee8a7c69f411c9de814a080a | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/7524b7793fe3616840a4d3d281c0a4b958797acd | mips | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/96c141e4db34459cee58cfbf911837f0605415da | riscv64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/f7171b3181ae2ab7fc0833fd4811826af90d7b6a | i686 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/691e6faa5f34e38bfba543ce02569035e395106c | mips | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/de41769e043cc2f4d5feb2bb4bf11584270d60b9 | arceb | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/9db6a7e5899cf8e601575b3fd3177b4f984f647d | microblazeel | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/001958a34ff50c20a03131f14597134fff9f14c0 | microblazeel | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/c78f6fc8380b86f934892e8086f402515bc55e72 | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/38df40bd7934beee5b5ea253c788d3dfb1831581 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0b07904d24db7af7c6e0722c9d469cd4c46bd509 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/9e8abfe61393131735c47fa2232579bd2486ff07 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/be8aa474e1dc3615fe88789bcfc80634ad9c20de | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0238bc78d3d3a900125cb7aa78256d3891274f76 | mips | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/c4eead5382cb9452644c7d1992cffac0f2dbc102 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/9c5a7adff58c1cec39ddaef977d382643a0f3d26 | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/8f5c95bd25236aac20bba383232ebd349f13ae5e | ORPH mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/2a724f2bd2a861e34c08cc21ef2be19887f63f5f | mips64el | gnuradio-3.8.2.0 | NOK | http://autobuild.buildroot.net/results/5da049585d9fe7d72b3ff6106d49c7e36843172f | s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/c541a8564f77fac287e8f27e804669b64e08a194 | ORPH microblaze | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/5b4f4fd1f47ca5bf4d9dfde2305bee9367bb7322 | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/78e225e92d90b52e11f577933d582863daf900a4 | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/5d80cc469ae6365bc66c4d00232e07e436d8cf56 | ORPH powerpc | grep-3.7 | NOK | http://autobuild.buildroot.net/results/bf5b86e4c9783dabb724d8b4929633bc5a53e304 | sparc64 | gst1-libav-1.20.1 | NOK | http://autobuild.buildroot.net/results/e050bb456e3e1df1629e8647361ec4e77686c9e7 | ORPH aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/210c88280956722e474d4e6c14b2a98b93bafd67 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8b1ebcb30dbb113b0f1751aa03ed7453e1e44057 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9ab46170e1d4dfb93dbde57ea02afbc298649e7c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1cc624daa2668354bec45659e1259e9e5f92022d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3ef29455afab8b835a4f3e4d9dbc30c0acf6a973 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/349c936eeac7f06a8e408d742a500afa160d7fdf | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9b5d6c90ca9998a5f8c2a99638a21600a108e7f9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/27f7ff5fcffdd0da41e30457e5e89eb655f748c4 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1cfd8fb7343b4419159e4dd2e1ba747fb6dc74aa | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6bd0b6d9102767ca0f9e2bae74fb4f8ca2239995 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/90eddb20e78565d83160f6a51f1a2fac5847a6bf | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3e8ec76cbfd6c1985ee746be0f258e085bd5d465 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/60b542ad2aa3498aaf948415873652e81f377328 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5a63bc6ac4bda69ea0961ed156ca4c2d684b8979 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/50c544a3702b8af9ec9167e92ae1c7f50777ecbf | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1cd58e80366275e744eb05af6185c0e2359ad321 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e7997cf9ebe493c12d14a58a80975f984c5e66d9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d971b14ec6bfbfa71dc97795de0521e90c51654b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/84a4b2b437ced6fb82560caeb77049f079ece399 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/420791d5cca86daa405e53baafdf6cce1d7e8117 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fae4fa853412148bfa3127682b9ef196dc26863e | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/73a4155915e5b5775511369b74c23879c6747309 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5efd0dfdd8581792acd34509f1bdf4ace7ccc564 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c8d8e220fd109429ecd4a9d9b61c86fefef2ab8e | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0bbcb4f013e5171a424c1dc43fbc86b84dad0d3c | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/791dcd289f5086761ddb03cdfc377ff384fe57d6 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f749ed64a248c850f81eb6e0864728c323ec1b1a | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7a9c52eca1c4426371b27498fed5e4450087eea6 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6ee574c921cc5dc545d5bb84ca1f09a798aa8251 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/00c93226f030030e113a8e7706ad6a68ed0eef5f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/03d287f34e9c59c74c308a19662442f274fa2577 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c694a4c80eba6c594762537af9ffa00031b11b92 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9d881a8c949b714284d15808b4e0caf3ec55fc14 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/da1e7fe7359a02add7602b520ab69f03b6b6e5d3 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/618119001cf8e935834ea6dcccbd1ca92598586b | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/529f8d2712606266f83ff2426822890ec39ab430 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0179b2dc0086a5ff743722101652bf9dd4a8382b | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a3eb1ff6bf6357242ec7993db63e57d4afeccc7b | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a966dfd529d142cba69e6c9d44582cfabb8da97a | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/55b645f7c45cb3420d887539b63762d04234a411 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/698e27a7687787f782829044ff8eb2ab3a56b7f0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/dd94182b55772853da70a630d58d010eb35d188c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2cc3461adc924c3c52c4e124685fc0b32b43c11b | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9514d7fe091e0e6f456117470df32615824e9598 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ed24bad39fb21a264b147cb122ed9c04b6babd8a | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/af47a32403a5ec459c146ec5a7506679bd82bd7f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/84aa18734eeed7629ea219b6b14b5493a613a1a2 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7b2db2198cfde256e67488099c5752cc244c90a9 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/33277d4687ca9a04dbfb02c50e5755ff9e55b0b4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b9f71efdd8a012ad91a01c9f74a0407beaa70ee4 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b57e36fba364b94bc0a0d6061a968dcf54ca1377 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c6eeafb71693645f027f17089a22e4bebc22f7bf | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/56dcb95c1985501807c641e9050a3f65350fdced | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ad6c7f7db7567cbb17b5ca3ac0271b04144a45ba | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/611fb2f6466e7a47331f74d72ea95d3abfe44ea3 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/556eeedf751624b96b375ae1248888c5f9f594dd | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/bb24806298c253d7ca545115baa1ff86b1a71f8b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/b4b5dc8bf87608767a5bad24a90d5bddd0483ff8 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/3433734670f11185b6ed205883941efb3ce67799 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/21c9a866613cfa3eb14eeb10d934d05b5e4d9a36 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/109728ab260ea199b32682a3f2fd762a78e75482 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/3884d291a9860a24d88ca576efc26ea0d8ab0d71 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/654b17831723207ab54a67b773b90d9381db0092 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/288c0231abec556d77f088041d02d9c01ea11709 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c749b6f26a2602b70b07ccc1ae5718a8269476ae | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/fbe4fc86c16c0d25bc4d588b8fe044da9e9c0f0e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/daa609233600e8fb17c9cbbfa59a832ed8f50863 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/7964b2b1666bf8c92ff6bdb0237f99392e51f61a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2f02cd854a61b08873138dc123208d82922e4c8e | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fcf5b279d732d85bb6390e736b5a6d084f54ce7a | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/26cabe81cf46d914407a48357d2575563540991b | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5e79ca906f3025ec5f4e6337a8d0c3b617596c76 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0cae7bd06a5a5538e54bff66acc73d2f1d097c7c | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ae13bb91e93c73ea66a599919fe35c60c22476fe | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d5fb9d841e950bde5f04404b690644c1828bd3a6 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bae245a41d5035efe01305182d46ca318c27178c | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/40be2e07bc540582812be7ee84880d6cb9610a8d | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f419c24b3be54532c33df91f825b390d997d62fc | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f0d011269342c0e0a48dec531edf82088547ca11 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/71f87d2e924db6ead3309209fa60fed355be3042 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a4d0930bc53fdb745ccb7c4df9e2fe0be0a09f80 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/917592bfdd19d05fba247bacf243f3268cec0af3 | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5194292ed257cd42ae824967166f64891d86d8dc | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/704df976316c03bcb09bde9f04d57c909c0775b2 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/193114418860655d76caca51ff64d2c1b79a29a9 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7982c49d8932695fa8e821728ba231e9569b1a7d | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/36c8392ae02e4b35c07bd304a05f8dde11cd9e37 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3bf10e0d4cb452fe8f9294846839176730c66e23 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/487ce80a1e4956f9f090104c18bb0a9bea4675ec | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bf16198083820becee63676352d64cea1f1cb5e9 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/12f46f2b6dcb50d6716a60b7f10b0ebc042d68ea | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8b8fa231c375f2b18995d7bb0e0568e8535ac090 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/030b5adcde34b74c91e0ccc7322b27d88e80c278 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/579f200e2f35e7558fc5f36a4932b96a31b368a1 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ae92120ca14e6824336b65a9359844926d623c59 | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9b36a0706f08830cb34fba60c12b8ae641430b0b | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ba941a830c02c3fd774d9d10a2f559cbae8cce46 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a60a7703802736ba0ff9c85f462fe8245380b2c5 | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2bc65da4394103b0470896c94babf2cf1f2a2c83 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5bc049260b4f7c4c3fbe48f59ccbf114c24b98c2 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/923646f44d0545635039bc940ae21ec895d33211 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/de2404ff00c0d54d790f726e9ebfda2e62cce5f8 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/6f02166da79bccc4d1e665c52ff956e4b8460f35 | i686 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/50956ef45303077fdde261201567d2b3e15bbda4 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/518d62a68cef5860f4f3a616202f387dddd4f32b | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/28380991621d02fabd1183a5c1b57a955d0aa946 | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/8333836856729655844661c01bc3f39fe7a448a6 | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/1c4d52ddd6c4414a86975e3f41c26bf51c8a115b | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/a22735fe533148409354bf332a0c92db646edcce | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/243cfa9ed036ec1d8d5f9924fe24498f7cf00d05 | arceb | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/6ec9937a54c134bbda8d4286f57861932286342a | i686 | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/63af7ce4e05c9ee580c73d548b28e381d0931e49 | i686 | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/3870c99b794d8bbc724176d4ed1608bb0fc22f51 | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/077f9684806c36ebbbb52a359f6010acb3eedcfc | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/5b0ed35eb393e1ad2de38cc91a706e9ce32b5812 | mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/d818999e9533ccde44acdfcb43cc5fac42325d37 | mips64 | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/f5497008847eb1de8c426bf72775a9d5fb6c7653 | arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/bafbb3daeb89800c171c622f92e8ed41fdcb3d3e | ORPH powerpc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2c927a009275128bf40d34ed8e0d38c6f635ed8b | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/208fb340da4ef6cf89c756bb5e0254da7d14e9fa | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a96c1ccfab64e18ba091e668d3764d72997be938 | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e467e967c7ccd1b352f8a95ce0d60b056325d77b | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a49c7ace1b522f4a3e48c7b64061ca61ba4b2485 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7031a6967694007af490e556926ce1192d943a0f | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e696bb0dc0f1b70d330ceb1ecddac578efdf01af | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/677255c4838f8f9c33b07e519660c51e0f6da644 | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8c266ae6472993ee068c00476422deda2c53f3e9 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/22e7d4ff4bbd69e5a4033de43908a3ce610ed44a | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a19cf858256b8be8c86b1012776102debb700846 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b0dcf40b1aa45210bf910ded614a0bd3a8da86f3 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/03234b78f965e3911301e3a109e2da17ed992716 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/cc7bbd44aab4ce0a88f8289d5dacc69a43da4d63 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3c998c83c8215e2a80ea9675055d10742f8871cf | ORPH i686 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/cd70a14bff375ae90638f661cdb5f2c95fa86c30 | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/4d73240f7760fdfce2c520111890d1431a9e76f9 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2f9621bcc84e15f0fc3e30fa7c8011589e0d614c | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c48f459a9746ea5380f2eb4f600f94349ad5f3de | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c42047633312dc36918e99ff77af3293d1d2a97a | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2bd81ffc0576265104cd4de2d9d6f1c80df33721 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/128acca75d2736cff4ab372ce6ca201b4eb6e825 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/87d5c4a77d212d13193667f7023b7c7a836bddcc | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d0956d758cee49e88a39c3189f46f5117250f6a | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/99d808044ff20735bfea94ca73c0d4a9fc6fc8d0 | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/bc66195507a1796c22078115a4627ca5cd30ef65 | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e6d55ba1e6ba5df9ea070035415df6485f3c692d | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6331b175b5bf8a87e7f3e18f39986914351d9f38 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3d06d7fceaa78b18d0f77be4a3b3afd9c5cd96d2 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/263eba0f80e1a5ac74cc27d9e453aaaddc76d49c | ORPH nds32le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3dd5ef63a6f5276c2004d452c394ce00c594d823 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/de110fa5c288c2e549a2ee1d7b939653b3214684 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a65a61758b5443b43d3c6e8cf5175e82c2a12776 | ORPH x86_64 | i2pd-2.40.0 | NOK | http://autobuild.buildroot.net/results/9e9ee9b3ed4cff7f029e7c5f7ad6633fb96834c9 | microblazeel | i2pd-2.40.0 | NOK | http://autobuild.buildroot.net/results/c3d2a066429d5f2889c2232d62e5950eb6a89311 | sparc | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/09a327ff843693ce416754b5461c353720a7baa7 | x86_64 | intel-gmmlib-22.1.2 | NOK | http://autobuild.buildroot.net/results/8cadfee0288a05676868e05d56243d866cbf051d | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/bcabecb18c476c79d554200cc86d6bf34753c8d2 | microblaze | lftp-4.9.2 | NOK | http://autobuild.buildroot.net/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/6423ecc462088b4bfd8433e43912610eee035a4d | mips64el | libcpprestsdk-2.10.18 | NOK | http://autobuild.buildroot.net/results/974641a8a63a8ae5ccb294510f16470243e0b380 | ORPH powerpc | libeastl-45469730d641868ce0... | NOK | http://autobuild.buildroot.net/results/d8d64cd1e8dc7534813699094e70c1315af961d3 | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/a422468c9f7af049279090cfc3ff72908dde9701 | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/e105210b21d2a711c42160e06d23c57502be48bb | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/de8b33cff78f26f0ef47f44e63c24cafa22626e1 | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/e6239bfa9a990f46bcae1fa6504bee11ae861aa9 | s390x | libkcapi-1.1.5 | NOK | http://autobuild.buildroot.net/results/f845aa6edde3a19dac6f098082c5286c96b57d04 | ORPH sparc | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/336e19c798ac6c59813caa1177ba2a2712ede4b3 | mips | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/ed5320fddda88ff5e20d1f68e35101897b4bc351 | powerpc64 | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/62000289ecfb9c6f26339dd82e1fc6102c1600e9 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/95ad3d07ea9f0bb3d631c7a2ff9e12c03fd94eca | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3953b8955baa9d73fbb59c0a159b8ecd790bfa21 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9a5e2dc0de7e381dea9b26fb7c686da1e8297bfa | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/d8475273b22a754078fc7545d4bcec4bb3b7f35e | riscv64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/58f895b4c881084cef14b7a6bc86c47104c5d980 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/323595a62e7c00378fdfd8990219b82f00300019 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/f6d97a4a9334edd37c86e78fcea86c377360a035 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/ae634eb05950fd0331f2f290e0a5774147c53cec | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/8799124595cf1d437218d717a0e8ca7f25350442 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e05957eb42ddbdc164bafe9017a3df087e8c26d2 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/580cecdc5bbfcb3d32fa66dd36792748c5524c5c | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/679a3ebdb47255bc2ed318ffce383eff6948374b | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cb869b8b26bad5cb4efc3d3740d8cb010bb94a5d | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/68e148c42433999945e6c77b1ef2d5326cd5851c | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6ec74e38208fc1ae3a06ddb76a072ea2eaf13298 | microblaze | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/9de1ffb8d0425c36b282318ddb5ed86d5c45846e | ORPH powerpc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/7b345a725003a7658e2cd97d62ace1ac2dd9f178 | ORPH i686 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/7beecd42792e0ede4fc219da43864231c1e62c58 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/8ded544d2025abcf2abc206118ddd309340c6a12 | ORPH sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/8ad8ff75208a4fe0bfd2cc6e53323ad89adffb17 | ORPH powerpc | libsigsegv-2.13 | NOK | http://autobuild.buildroot.net/results/deb030023688166ea8fec4627f42537e39e09868 | m68k | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/15b908b6012360173b11b2e53fd106bdaa8554c1 | mips64 | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/5999bf0d4aec8485976e6418d9992c31d54c8622 | m68k | liburing-2.1 | NOK | http://autobuild.buildroot.net/results/7623b1b771d4a80dbb43ccf33b4f3191f6b1fdcf | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/277e23cfcc8898abd7222f5e4a2b94087f31cf95 | powerpc64 | linux-5.10.104-cip3-rt3 | NOK | http://autobuild.buildroot.net/results/118c5820aac3f655e99ecf453affa19991c96521 | ORPH m68k | linux-5.10.104-cip3-rt3 | NOK | http://autobuild.buildroot.net/results/6212ebbfa8a6e584163cb26c6ff01673360c0aa7 | ORPH mips64el | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/b0027bf993d50330058235fff97e7e4a6f9511f3 | ORPH mipsel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/d93ec18a5dde5aa2e991b8f5d9f6e5048cd76b07 | ORPH mips64 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/1b28a5a5895d1a50b87fa0379b2152e9b1d8aba5 | ORPH mipsel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/ebc3344922eee382b7af8a847d44d22e3d9a475f | ORPH mips64el | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/5713c53edd13d779dd90f7f47e4787b11431bca6 | ORPH arceb | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/f512b1a1f0c38a4425af1ea84b32321ce6bb4c42 | ORPH powerpc64le | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/169073983f632f41ae59ecdc8fb19ee401d03a6e | ORPH mips64el | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/795ad413abc3ab1bc91301dbacba19190a02451b | ORPH mipsel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/f72198a7a859659d1e8ed91c1639ddc20668a9a3 | ORPH m68k | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/002699b7065704f46f220d89c9f93a53fe41f47e | ORPH or1k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/12a90789a4b1895091d542bc74ae7415a74e843b | ORPH xtensa | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/e1f3b8f904453b8cdd3d71de9e40a5f4bf1fc554 | ORPH m68k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/51c66c2b921bf3c675b0e4a0ce49908b9517369f | ORPH sh4a | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/c163d05fc396bd266fa364f51e50a484ab3f82ef | ORPH arceb | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/9af8a8d58e4c8620426ac69a8b8fc30483fb99e7 | ORPH sparc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/809ff9fb16e6c4f0a51657e8a72600c790f44c10 | ORPH x86_64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/9ce97eb10a6a5f8bc52a9d7fe6072d00f7de0a3f | ORPH microblaze | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/11673456dca26fb192d65b765d349afdf588bced | ORPH riscv64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/898982b56c96fe55d7996668f0c4f1a3d1322896 | ORPH mipsel | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/d0a67650718ebc6d04c1f0d5d672395d30f38c4f | ORPH mipsel | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/e6a3f15f7b49cfa3e2e47d4edebceb6aac58add9 | ORPH arceb | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/07d13ddedca2faea0fcf92bf08fa8cc84b8d7211 | ORPH sparc | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/02b8d746653dcd6a8989a06b65860e6cc28a3417 | ORPH mipsel | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/130cf8fb1d48b574eb537c29cda338e8fb679019 | ORPH i686 | lttng-babeltrace-1.5.7 | NOK | http://autobuild.buildroot.net/results/1cb7463e8940842a566d18a9d7666a07a9c910ba | s390x | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/306a264bad4996eaf2cac1011caa31752a3f04bf | mips | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/decc72155d93ae686740ef762d34bc371320e934 | x86_64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/6631b5807b78321b8c747a5f3b1f2a2ef3f54088 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/1197576ed49fe67717e9d1b808dffbf2b4becfdd | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/56a6e8c4694424c0520ee18b4889ce43419d1f62 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/04893bbdf920bd91c174ffa7c73a2f76fcb3d027 | mips | netdata-1.21.1 | NOK | http://autobuild.buildroot.net/results/2340f62a08dd45cd263df402504ba45f677f7b62 | mipsel | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/030138f6f7cdd67e4fb3e5da06147e62e1fde4d0 | mips | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/4fac1f499cd6aae46687c1dd97781f41ab9067af | sparc | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/e4b55c5cd9ab5f0554e2d82802b4d690b8d27310 | sparc64 | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/0bbb2cc4485318c04c8715bf6e534e60a0fec7b0 | ORPH riscv64 | opensbi | NOK | http://autobuild.buildroot.net/results/49557dbb9a99293f02f00536542e005692045e88 | riscv64 | opensbi-0.9 | NOK | http://autobuild.buildroot.net/results/259ddfda957c9c88f51166fe1c829d06fae6c20a | armeb | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/3c08775308182799829a3cbe1d0670dc8e595584 | ORPH xtensa | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/2586afca0490314c68dff6bb4944a8e59f7605b7 | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/02d71b06ecb8fbf8a884e5a1903f1c1103f10a38 | arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/caaa60c405bf01ef17961ef739353d58b0b37fed | mips | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/50657f78230d2fc7d0093107a76fbef193cab240 | mips64el | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/06abd3387e7c2581006f420433297b9a8b7a8063 | mipsel | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/82775c5efc964b8a232169d3f908b76e30c33345 | or1k | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/d3a64d7b9ceb0165d7f372fb488b76fb179f88d7 | i686 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/200052b1c7546fc78de308c8619b515a1c0b9399 | mipsel | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/5c8eb91a16bcf65630489203145d206e8152af97 | powerpc64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/9c8872fdfea8c81d394b04c641f9195b192e921c | sparc64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/5301f2f9ad11dc6221e371bf56b09b2cff88e1c8 | arm | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/982f233c46768a43f7454bbb7edf570c7ef5a824 | microblazeel | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/9823f9e8db9ed8a47d5a1ffb777c2fe3050ce3f6 | ORPH powerpc | pure-ftpd-1.0.50 | NOK | http://autobuild.buildroot.net/results/f5d36180949278510199aa499e253780558c6ffe | sparc | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/d19c98f6a0ef6573e015e66c27cc1682a290e62e | riscv32 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/259e9f2a96453577af97a46e2d4d7f052fb53a18 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/5bd06867929f89ca07c60cf80ce26e47918f967d | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/b9bc4d8075480f837ef5bbc60e35f39fc3e21c95 | s390x | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/a4fae4a947c7f51edeb3a2ee0e0ae6468804e84e | mips64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d4060ced883760c245ab5e75dcb960c518ffdac7 | mipsel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/cb4bc421ee175da059ebae149cce146245a4b964 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/f95aaa85e419b8b87444022b6ed57f25df689a40 | mips64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/2a390c9de45c7a33bc37454bb81fbf317b23969b | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/e9637da4e50404ff7d894a8702e74b78bb899b09 | sparc | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/ca818df04342395eabc0654b70fa7a6c9d045733 | microblaze | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/7bb1f4c1a0d2c09ac0946d7c0df7574781add20d | arceb | reaver-1.6.6 | NOK | http://autobuild.buildroot.net/results/fbb5c53f0c780a2a57dc5a7a8160d458e5cabef1 | m68k | refpolicy | NOK | http://autobuild.buildroot.net/results/947a89667c537ee4c30df2d21d47d25471329e14 | aarch64 | refpolicy | NOK | http://autobuild.buildroot.net/results/a107a560b5dcb26b159b9cfdd3502a208d0c680b | microblazeel | refpolicy | NOK | http://autobuild.buildroot.net/results/9b9e4a8c23791042dc7e4e672db3d52493edff78 | powerpc64 | refpolicy | NOK | http://autobuild.buildroot.net/results/38fe6a4689df0bf3287355fbbca272ed84f855d7 | microblazeel | refpolicy | NOK | http://autobuild.buildroot.net/results/3f97e9fb0795ea9113597e60d01f426e281308eb | mips64el | refpolicy | NOK | http://autobuild.buildroot.net/results/c28b679745cb3c7b45da74d0539b4d44c0c0d4de | mipsel | rtl8189es-2c8d44ae26485052f... | NOK | http://autobuild.buildroot.net/results/3ce8f96e7e83812f137fb96daac399070467edef | riscv32 | rtl8189es-2c8d44ae26485052f... | NOK | http://autobuild.buildroot.net/results/8c0cb4d79dc10cb67b976834b481d2e0457c1b7a | sparc | rtl8723bs-11ab92d8ccd71c80f... | NOK | http://autobuild.buildroot.net/results/79714e561b3bec8e15997a7170a427211efb1b87 | s390x | rtl8723bu-19b4bdc05483a1e79... | NOK | http://autobuild.buildroot.net/results/74a6fa2346d599db7a3edde97785038cefc0b10d | sparc64 | snort-2.9.19 | NOK | http://autobuild.buildroot.net/results/47c0c8aabd81c5862b9ee6f2c8426ccf7f64f5c5 | x86_64 | spice-0.15.0 | NOK | http://autobuild.buildroot.net/results/4e0dc43c28d45176cccf573fb56ea9690192f754 | microblaze | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/b11a989b1d52bef0028745734dee9e32bd0d5425 | mips64 | systemd-250.4 | NOK | http://autobuild.buildroot.net/results/47f31b36f123c4be4661f4fde2d1f7385c5d0ed5 | i586 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/feccb2c4954b6271546fdd77804b2db46d57d09c | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/359e6733f5f82661136b9b50c2854ff184547f02 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/bc837b16b43abdd7fe76f09fad985adc40d76c62 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/e714eed164701e7b524fb5fcf78f22181114ba2d | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/b3052706ecb6363c0a6507dae74673e8e77b4011 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/b3294cf8cb0933d5119149868f041902dac74e7d | s390x | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/4816bd6f5673197dbaa067bf89d0ddeb6e0fa837 | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/f45d15633725426ba5a0f96e6d09969a739ea2e6 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/fcd7480eae9eb4c10a38b276ab24288ee1ab754c | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/b000f1c604e3b7f9da0040013be983bd935bcbf1 | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d5bd689052920f4c84a4efa16e43b1b86714e0e8 | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d61167e7b91741cd368f8479103eda0624f7a8e7 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/b9a5d8efb33829103123bc88f833cf86af49442f | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/16422e720911c8f6b5c60ca18e022a5d0e4df8d5 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/567f4cd00d30d8b1a06596ff3b2d974ca9e3ca47 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/7a7bfc995512c54d43bf8fd023190c0fb4eced56 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/bc86754ff5f2306d0601fe376b9002a3a2d6755d | ORPH microblaze | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/95663b63061cec4834061bd0e9ae11886ffddf76 | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/31f012ea82a4265ed9e8bf4f58e6f6dedc9e7b13 | ORPH mips | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/fe84e7c663df8476739956e2ef2031a66f4e4eb6 | ORPH nds32le | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/cb18f6533806f3729f9718bdcc719384be375b66 | mips | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/10a855c441b8d5b37879036c6bc1c77b6c2cfd9b | microblazeel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/e0eaef44d81bfd9451ecece50f29090a876886a3 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7888d68e0795c9e7ac8881b5bc1ad3f7a985ff57 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/480b95fd3f1e8a8089635b8f33d4ab6f3ba31f28 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/2558985915188fa074942e8784bfd47df17d5556 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ddb370c413f1544e3f1a23b9a3ed29029bf81bd5 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/d03f1c76a97b05599788c15f83e883468161e509 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7e164cf2eb93658bcb5bc33abfc72cd5ebc19522 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cdca62d2a2d096ec79c25ac5792575a77de09806 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/15715d4977f4bd78f6d702dae4f83a9494d9d393 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0a19afe5dfa48682d7984f62a11611a191ff7128 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/49209398871ef7578816a5d2193992367e3e14d1 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a70907fb62ad8a4b4ecd2ee418eab2598d70c595 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/47af6e548a222ce4053fa50bf05d634040462bb4 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c5df50639167f1996cad4488a78732870fea12fd | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f7f34fb9135dd1c176a5582b0db30554cebce765 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/13b3db1da451a98a3cf5a66936b531db3eb7cee0 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b83efdd5b9de644941af1cd3a618186afe7472ed | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/4c9cb8b40faff26350f3897f85c8e85a21c404ab | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/239e9d2e3036b44f4086a2eacf90ae8c0a262afe | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/962033cd50f34752b63179651346770968d968e3 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c51bab11c28e40645798a90f78ece35c0be06d48 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/31c6f41ab4aa6d4adebf791459aee1c3f6eb598d | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b5a3a45213a1af20d1370cb4e934068757eb2b24 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a1c50ea7fe96141bd1ace4f8841faaacf2e7bc49 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/53cc2afc3b60c033f3162aa319c3ec4ebb97e5b0 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0dc7574362b9d50a7e717f63af9a453d80b60b87 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1614ad4291f02e8c28e7acabc6dea2763672f0d4 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/78ddb225fab10c7a5814b6b8ec44088f4aac8ce5 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ae0b660aa480626abe1b6370ea25934b959ac015 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/02ce10be87ec96570f0e05a2deed83663bf29c0b | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/65ffa8d02cc1f7670086f753e10a967ac09d8e6f | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/7d1b0f003a92ebc1ef2d44aa6e417d38dc2eebde | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/8eda5ffb99670bbb2bcd1ee33d782e4171734d39 | arc | unknown | NOK | http://autobuild.buildroot.net/results/f204b722de2d389ce610aa8c6a6376e688c171b8 | powerpc64le | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d8369104e539789ce28b571ceba9a00839dd396 | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d02865333e2e35c32ca924b3b03cafa29694b4d3 | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/86c506d496980e0bd293f80ebc77301c81af3224 | ORPH sparc | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/480030468be1c70d8b5fd333632efe6bace508fd | ORPH powerpc64le | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/044a2ddba2ac9b3570df19a121c50345ffc5e9b1 | ORPH microblazeel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6e7b650db8ee5306ee4ff985b7cb783d5359dccb | ORPH arm | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/63e6c30e8eedac32ed5964a7035874a2565f2364 | ORPH sparc64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/19ea83cec987c6fcb86f36b540e07e0290e44c9c | nios2 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/d00da0cbeff8cb8468344d1401be7ecc6a2578ef | aarch64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/24f5e749eab63683eecd6df8cabaabb72548868b | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/ad4710acb762d65bd3c7fc03e43d07f76c64718e | microblaze | xenomai-custom | NOK | http://autobuild.buildroot.net/results/e2d8742df0f1968039728adcd16c347cae1c0509 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/5354257265e108d061d6738d9623b7df7250918b | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1290cdd87ba860f63497142f90486d5c470b625c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/3598d054519ce794c05ca8c7318af903498f49d9 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/226c3ecf28413fd187a5b076a881ec27bf10e7fa | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/45499dcfcdaaf5832b98726d67996b181bc3ff6f | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e1bfef473004cb7ad42fc9fec15da13c19ff342b | ORPH microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/ae129206a20d14d427bed0b5fbf344919d2336b4 | Classification of failures by reason for 2021.02.x -------------------------------------------------- monkey-f54856ce250c4e257354... | 3 host-sentry-cli-1.57.0 | 2 binutils-arc-2020.09-release | 1 mesa3d-20.3.5 | 1 trousers-0.3.15 | 1 unknown | 1 xvisor-0.3.0 | 1 zeromq-4.3.4 | 1 Detail of failures for 2021.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/2691b5b5bd1debea985890e130a85f5aec62933b | nios2 | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/68603ee7cef2ce4cf9c44e549ce46ba8e144e26d | aarch64 | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/cf6a258608ca4d43bc61e775af7450f60eae6ac3 | mips | mesa3d-20.3.5 | NOK | http://autobuild.buildroot.net/results/99802e54540dff932ce893b6eb8c2207fe32d490 | powerpc | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/00294fbfb5d408fe1b4ba5f05247cc2b46993d3e | x86_64 | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/106421ea13612acc3bdc5ac0a99b8e2c7539354d | aarch64 | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/a34c9b6ec71d1817aca346dc3a1d470db3114aa7 | riscv32 | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/b1626119cd3aea413802380edcec045223b6a17a | riscv32 | unknown | TIM | http://autobuild.buildroot.net/results/dce7be02b848c29f6d1ac769fa2abbdf33be01c5 | x86_64 | xvisor-0.3.0 | NOK | http://autobuild.buildroot.net/results/c0b86dd4deba394ab973ea68bcb3998c8b7ab9dd | or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/b0c815b615c45481538e7a5638686b12b5e7dffa | Classification of failures by reason for 2022.02.x -------------------------------------------------- dhcp-4.4.2-P1 | 2 mongodb | 2 wavemon-0.9.4 | 2 bat-0.19.0 | 1 exempi-2.6.1 | 1 nginx-1.20.1 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/451ed4ab22be21be767223dc2c0abb57228751ac | x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/028cb42cfba28e7979d2b685fc6b57df7cb1d055 | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4d51589f57fc59969ad0c694b889f8ac2de3b82e | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/822fa3536fc152a2c4b60d826af5503a0e97714a | aarch64 | mongodb | TIM | http://autobuild.buildroot.net/results/b6258178abc00a9f7fdfd85d41267a670bf22854 | aarch64 | mongodb | TIM | http://autobuild.buildroot.net/results/7151095b1102ec75bd0100afcd25716ed3441384 | riscv32 | nginx-1.20.1 | NOK | http://autobuild.buildroot.net/results/58d7c80a20e8d7318a7347b95124610740fbed8d | aarch64 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/5850566469bd1e99c01fd984dc0742650fd9e7f8 | arc | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/e5ffa0a39f654a98dda55fedb77ca4b82e4eadbb | arc | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/1ea9c2e43dd3a73ce11cdef3665d4693f2377d73 | -- http://autobuild.buildroot.net From francois.perrad at gadz.org Thu Apr 7 05:43:48 2022 From: francois.perrad at gadz.org (=?UTF-8?Q?Fran=C3=A7ois_Perrad?=) Date: Thu, 7 Apr 2022 07:43:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libressl: bump to version 3.5.1 In-Reply-To: <20220406194148.39490-1-fontaine.fabrice@gmail.com> References: <20220406194148.39490-1-fontaine.fabrice@gmail.com> Message-ID: This version 3.5.1 (like 3.5.0, 3.4.0) is a development release, not a stable release. Fran?ois Le mer. 6 avr. 2022 ? 21:43, Fabrice Fontaine a ?crit : > This bump will fix the following build failure with pure-ftpd thanks to > > https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8 > : > > tls.c: In function 'tls_init_options': > tls.c:329:5: warning: implicit declaration of function > 'SSL_CTX_set_num_tickets'; did you mean 'SSL_CTX_set_options'? > [-Wimplicit-function-declaration] > SSL_CTX_set_num_tickets(tls_ctx, 0); > ^~~~~~~~~~~~~~~~~~~~~~~ > SSL_CTX_set_options > > https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt > https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.1-relnotes.txt > > Fixes: > - > http://autobuild.buildroot.org/results/f5d36180949278510199aa499e253780558c6ffe > > Signed-off-by: Fabrice Fontaine > --- > package/libressl/libressl.hash | 2 +- > package/libressl/libressl.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libressl/libressl.hash > b/package/libressl/libressl.hash > index e923998713..5474d8e537 100644 > --- a/package/libressl/libressl.hash > +++ b/package/libressl/libressl.hash > @@ -1,4 +1,4 @@ > # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 > -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d > libressl-3.4.3.tar.gz > +sha256 a7d0026f67622275ec8f8239ded422a653d5ccc84df55dea2acd406017185608 > libressl-3.5.1.tar.gz > # Locally computed > sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 > COPYING > diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk > index 0bb468cedb..81b0163b93 100644 > --- a/package/libressl/libressl.mk > +++ b/package/libressl/libressl.mk > @@ -4,7 +4,7 @@ > # > > ################################################################################ > > -LIBRESSL_VERSION = 3.4.3 > +LIBRESSL_VERSION = 3.5.1 > LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL > LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original > OpenSSL code) > LIBRESSL_LICENSE_FILES = COPYING > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at korsgaard.com Thu Apr 7 08:33:31 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 10:33:31 +0200 Subject: [Buildroot] [git commit] Update for 2021.02.12 Message-ID: <20220407082723.7A6BF836B9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=19e12a006470c41b8ea9d67642fd17f26373c4a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard (cherry picked from commit ef68ba43d965528bd5c622407dfb9a5e3b343493) [Peter: drop Makefile/Vagrantfile change] Signed-off-by: Peter Korsgaard --- CHANGES | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGES b/CHANGES index 370f89aa6f..e37c6d0fe7 100644 --- a/CHANGES +++ b/CHANGES @@ -803,6 +803,17 @@ #13751: libopenssl (static): huge drop in performance in newer .. #13771: package htop has undeclared dependency on host python +2021.02.12, released April 6th, 2022 + + Important / security related fixes. + + pkg-stats: Limit memory use for CPE matching + + Updated/fixed packages: gdk-pixbuf, jack2, libzlib, matio, + nbd, netatalk, opus, python-paramiko, python-treq, + python-twisted, spidev_test, unbound, urandom-scripts, vim, + wireshark, zlib-ng, zziplib + 2021.02.11, released March 25th, 2022 Important / security related fixes. From peter at korsgaard.com Thu Apr 7 08:36:27 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 10:36:27 +0200 Subject: [Buildroot] [git commit] docs/website: update for 2021.02.12 Message-ID: <20220407082723.85DAB836E3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e2eb6ed72c54ae88028add934d19d9139ce0ed1e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- docs/website/news.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/website/news.html b/docs/website/news.html index 4e153aebb0..8f9f7d7fb3 100644 --- a/docs/website/news.html +++ b/docs/website/news.html @@ -9,6 +9,28 @@

    News

      +
    • +
      +
      +
      +

      2021.02.12 released, 2021.02.x series EOL

      +

      6 April 2022

      +
      +
      +

      The 2021.02.12 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.12 release.

      + +

      Notice that the 2021.02.x series is now end of life. Please migrate to + the 2022.02 series instead which will be supported until April 2023.

      +
      +
      +
    • +
    • From nicolas.tran at smile.fr Thu Apr 7 11:59:51 2022 From: nicolas.tran at smile.fr (Nicolas Tran) Date: Thu, 7 Apr 2022 13:59:51 +0200 Subject: [Buildroot] [PATCH 0/1] First contribution to Buildroot Message-ID: <20220407115952.56219-1-nicolas.tran@smile.fr> Link to Rust 1.59.0: https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html We modified packages implying rustc 1.59.0: package/rust-bin package/rust We have retrieved the source archives and replaced the hash value of each file after having verified the signature of the .asc files as follows: $ curl -fsSL https://static.rust-lang.org/rust-key.gpg.ascii | gpg --import $ gpg --verify The signatures were recognized but we cannot ensure their ownership. Therefore, we considered trusting the corresponding key by blindly signing it: $ gpg --lsign-key 85AB96E6FA1BE5FE We verified typos in the packages thanks to the check-pakage utility: $ ./utils/check-package package/rust-bin/* $ ./utils/check-package package/rust/* The testsuite was successfully run to test the Rust toolchain with the new version of the packages in version 1.59.0: $ ./support/testing/run-tests -k -d dl/ -o testsuite/tests.package.test_rust.TestRustBin Nicolas Tran (1): package/{rust, rust-bin}: bump to version 1.59.0 package/rust-bin/rust-bin.hash | 198 ++++++++++++++++----------------- package/rust-bin/rust-bin.mk | 2 +- package/rust/rust.hash | 6 +- package/rust/rust.mk | 2 +- 4 files changed, 104 insertions(+), 104 deletions(-) -- 2.32.0 From nicolas.tran at smile.fr Thu Apr 7 11:59:52 2022 From: nicolas.tran at smile.fr (Nicolas Tran) Date: Thu, 7 Apr 2022 13:59:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: bump to version 1.59.0 In-Reply-To: <20220407115952.56219-1-nicolas.tran@smile.fr> References: <20220407115952.56219-1-nicolas.tran@smile.fr> Message-ID: <20220407115952.56219-2-nicolas.tran@smile.fr> Link to Rust version 1.59.0: https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html Signed-off-by: Nicolas Tran --- package/rust-bin/rust-bin.hash | 198 ++++++++++++++++----------------- package/rust-bin/rust-bin.mk | 2 +- package/rust/rust.hash | 6 +- package/rust/rust.mk | 2 +- 4 files changed, 104 insertions(+), 104 deletions(-) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index 9f8788a295..1aa166c45e 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -1,102 +1,102 @@ -# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc -sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc -sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc -sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc -sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc -sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc -sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc -sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc -sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc -sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc -sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc -sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc -sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc -sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc -sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc -sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc -sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc -sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc -sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc -sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc -sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc -sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc -sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc -sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc -sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc -sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc -sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc -sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc -sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc -sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc -sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc -sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.asc +sha256 b4144c89f9482f3e76ccad09d0a3072c935b7c0abdb9a52edbd641f2e27bb4f0 rust-1.59.0-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 a10c4abcba4891c463612c161246706cd0e8d3ddb1ae75f514d3f02bed235af6 rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 68e50dee4f6dddeab7330906e46022f57f2c004c847eae3f5b1bc82c59e43fc0 rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.asc +sha256 6b8424e9b99da7df3b842b47476fbff4c371414186ae50ca0aff050a532c1d52 rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.asc +sha256 b65ffcf5a4b4e4df3893b6da7182e2f91cd174e59fd26a69110809015635708a rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.asc +sha256 382051a04047463430bfb4d16fe2998fcd00f0945cb99b622e94a7564796846a rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.asc +sha256 f072103ccbd967ccf06c3e4366a56af1f53af89834f02d0151afc144318d9040 rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.asc +sha256 e2f4944fb135c508b0c8dff46caf04eca065e5ee5f5de32494b084c667fd20eb rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.asc +sha256 2b9042ae8d24f5d8ada3d1903e24c2cdcc464e74a506cb72054a680b1e0433bb rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.asc +sha256 1f0726d6b06b7b35de32af45b9f8ac597c89cc5e7236ac6a6dcb91f0412b0e1a rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.asc +sha256 310ce12c01fa15f46b8f9eee4a086c818118dbd56cd8400aee04432ba96061df rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.asc +sha256 3695a3bee47cfe0624f7822243000a4ee552bf920b403b16cc633513e95498bd rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.asc +sha256 6c00582c159524a87b8934a5e4cb513d6032474f9a017bf91697e72885bf70fb rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.asc +sha256 dcf0f1ddc6dc5e32a07789408d0a2637d639e00cf214c349921d06d3f73c7b2c rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.asc +sha256 415a93bc55da0879335a18e55552a111a23bd9d5e70598080071f6346a9b4a0d rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.asc +sha256 a0a644cb14eec96760b870b585b08a3bf2965844754f8b965b39aded5635ab77 rust-std-1.59.0-i586-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.asc +sha256 26e91818a36184998039aeaabbf0972a8610d0d250e4bc03de6f27a7843971b5 rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.asc +sha256 5821c1655adc81bc2a347329eab08b651f3312f2eeb972b0a30d93a5c49502f5 rust-std-1.59.0-i686-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.asc +sha256 05bf10c11ff845f006331ddfdd109e12b1377c156e37eb1bb3bc0402e4219d31 rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.asc +sha256 af5ee07f5d98296435867ef5859ec207c57413bb61b0d656c39b1f451aaeeb38 rust-std-1.59.0-mips-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.asc +sha256 88c6b0dbadfc7bcc2a2eba0f3328ad1ff1714a5a13f07bffe007aecae59fc9b8 rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.asc +sha256 a0533694ed62c9c3f497d94ee51bc9ba08e5f3fb24588e02cf1f1c2efbdb9b43 rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc +sha256 6a3462a10da953546412912d04228a63c5d4086a4768163f1bd5ccf81950090d rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.asc +sha256 606d037a01cc7666594b7973c6a727c69426d85adaf94128dc9914e893ef8ed9 rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 fd747f4ef4cee6fe88692dd6e3c7b986870ce8a24eab8920adacc7ab73fb482d rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.asc +sha256 4622aa633ad2d0decca59aa65b24195431e40162804352f5bdd9bafd92ee7b9d rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 5ead471b53d290960d49a7cec0ba01a082f5e6cfa18825366990d46797dc7161 rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 1217290e951ae84998d2d04a88d154b1da205e2638a3449c02c8e9256bff589c rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 15dee7705967e3351aff11c64ada30c4957b54066c7ee49b87be4b8155bd0a7d rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 74c1f9c94ff4993948c05df2c9c58f76708e6adbacb9b2caca368558dde9590a rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.asc +sha256 6bc109f7ff1f501153cc18eebed9a0cc468eebbfed2cc728047d59456e356f9a rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 c854a9ee3dd8e5be9522c1581f75838c1cbae6dece3934b0004f138c4a5024a3 rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.asc +sha256 473b6ddf598418db49efc21c3d2702cdaf9c78ee4ae00611c7d9e384a2d4dad7 rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz # Locally generated sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk index d4cb8f50ea..b50465f7a6 100644 --- a/package/rust-bin/rust-bin.mk +++ b/package/rust-bin/rust-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUST_BIN_VERSION = 1.58.1 +RUST_BIN_VERSION = 1.59.0 RUST_BIN_SITE = https://static.rust-lang.org/dist RUST_BIN_LICENSE = Apache-2.0 or MIT RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT diff --git a/package/rust/rust.hash b/package/rust/rust.hash index 7eb8f59603..63a5644176 100644 --- a/package/rust/rust.hash +++ b/package/rust/rust.hash @@ -1,6 +1,6 @@ -# From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc -sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz +# From https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.asc +sha256 375996ead731cab2203ec10a66a3c4568ab6997d7e5d3ae597658164fe27be3d rustc-1.59.0-src.tar.xz # Locally generated sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/rust/rust.mk b/package/rust/rust.mk index cd8c87b68d..fd02686082 100644 --- a/package/rust/rust.mk +++ b/package/rust/rust.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUST_VERSION = 1.58.1 +RUST_VERSION = 1.59.0 RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz RUST_SITE = https://static.rust-lang.org/dist RUST_LICENSE = Apache-2.0 or MIT -- 2.32.0 From arnout at mind.be Thu Apr 7 16:39:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 7 Apr 2022 18:39:53 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: References: <20220329205136.32435-1-vincent.stehle@laposte.net> <40cedffc-e46e-e4d5-e2f3-c0dd398906cd@mind.be> <2646beec-15db-f2e9-5490-0f7fd551857f@mind.be> Message-ID: <06e4e2da-419c-5c33-b086-ad07263e14a4@mind.be> On 06/04/2022 22:00, Vincent Stehl? wrote: > On Mon, Apr 04, 2022 at 10:28:12PM +0200, Arnout Vandecappelle wrote: > .. >> But that actually causes a problem: if udhcpc doesn't keep running the >> background any more, it's not going to refresh its lease, but will keep on >> using its IP address indefinitely. Although this seems to work at first >> hand, it's going to cause some problem somewhere down the line... > > Hi Arnout, > > After your comment at first I thought all the no-MMU buildroot defconfigs were > subtly broken :-S > > I did some investigations and now my understanding is that udhcpc does indeed > daemonize by default in the no-MMU case. See [1]: > > #if !BB_MMU > /* on NOMMU reexec (i.e., background) early */ > if (!(opt & OPT_f)) { > bb_daemonize_or_rexec(0 /* flags */, argv); > logmode = LOGMODE_NONE; > } > #endif > > That behaviour was added in busybox udhcpc while removing the -b option (in > commit [2]). > > Also, this is confirmed on qemu where we can see the udhcpc process running in > the background: > > ~ # ps > PID USER VSZ STAT COMMAND > 1 root 616 S init > ... > 62 root 612 S udhcpc -R -p /var/run/udhcpc.eth0.pid -i eth0 -x hos > >> So we should find a different solution, and we should probably use that in >> the MMU case as well (just to keep things consistent. > > Now I think that we are safe. What is your opinion on this, please? I'll add a summary of this entire explanation and commit it. Regards, Arnout > > Best regards, > Vincent. > > [1]: https://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c#n1352 > [2]: https://git.busybox.net/busybox/commit/?id=21765fa063830923d13426ec6989c16da9210e49 From fontaine.fabrice at gmail.com Thu Apr 7 16:39:47 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 7 Apr 2022 18:39:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: doesn't build with libressl Message-ID: <20220407163947.1024467-1-fontaine.fabrice@gmail.com> systemd doesn't plan to fix the following build failure with libressl (https://github.com/systemd/systemd/issues/14928) and ED25519 support is still not available in libressl (https://github.com/libressl-portable/portable/issues/393 opened for more than 3 years): ../src/home/homed-manager.c: In function ?manager_generate_key_pair?: ../src/home/homed-manager.c:1393:35: error: ?EVP_PKEY_ED25519? undeclared (first use in this function); did you mean ?EVP_PKEY_DSA1?? 1393 | ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_ED25519, NULL); | ^~~~~~~~~~~~~~~~ | EVP_PKEY_DSA1 Fixes: - http://autobuild.buildroot.org/results/47f31b36f123c4be4661f4fde2d1f7385c5d0ed5 Signed-off-by: Fabrice Fontaine --- package/systemd/Config.in | 2 ++ package/systemd/systemd.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index cc0736561e..00c817172d 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -234,6 +234,7 @@ config BR2_PACKAGE_SYSTEMD_HOMED depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # fscrypt_key select BR2_PACKAGE_CRYPTSETUP select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_UTIL_LINUX_LIBFDISK help systemd-homed is a system service that may be used to create, @@ -412,6 +413,7 @@ config BR2_PACKAGE_SYSTEMD_RANDOMSEED config BR2_PACKAGE_SYSTEMD_REPART bool "enable repart support" select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_UTIL_LINUX_LIBFDISK help systemd-repart grows and adds partitions to a partition table, diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 9feed9c084..58a1376b51 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -498,7 +498,7 @@ else SYSTEMD_CONF_OPTS += -Dnss-resolve=false -Dresolve=false endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) SYSTEMD_CONF_OPTS += \ -Dgnutls=false \ -Dopenssl=true \ -- 2.35.1 From fontaine.fabrice at gmail.com Thu Apr 7 16:41:14 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 7 Apr 2022 18:41:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix build with libressl Message-ID: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl: utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' Fixes: - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 Signed-off-by: Fabrice Fontaine --- .../0002-fix-build-with-libressl.patch | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 package/tvheadend/0002-fix-build-with-libressl.patch diff --git a/package/tvheadend/0002-fix-build-with-libressl.patch b/package/tvheadend/0002-fix-build-with-libressl.patch new file mode 100644 index 0000000000..c99dacdbeb --- /dev/null +++ b/package/tvheadend/0002-fix-build-with-libressl.patch @@ -0,0 +1,47 @@ +From ea65f8025a9124cd7353b21f167968bdb897306f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 21:54:25 +0200 +Subject: [PATCH] fix build with libressl + +Fix the following build failure with libressl raised since +https://github.com/tvheadend/tvheadend/commit/e61acb8ad4a3411f4e7acfd8133d222299f6d47e: + +utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' + +Fixes: + - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/ea65f8025a9124cd7353b21f167968bdb897306f] +--- + src/http.c | 2 +- + src/utils.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/http.c b/src/http.c +index 06d5e76172..72a498317c 100644 +--- a/src/http.c ++++ b/src/http.c +@@ -412,7 +412,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content, + http_auth_header(&hdrs, realm, + config.http_auth_algo == HTTP_AUTH_ALGO_SHA256 ? + "SHA-256" : +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + "SHA-512-256", + #else + "SHA-256", +diff --git a/src/utils.c b/src/utils.c +index d8ffe4ad5c..eecb10e116 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&?!defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; -- 2.35.1 From flaniel at linux.microsoft.com Thu Apr 7 18:24:24 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 7 Apr 2022 19:24:24 +0100 Subject: [Buildroot] [RFC PATCH v1 1/2] tbb: new package In-Reply-To: <20220407182425.194001-1-flaniel@linux.microsoft.com> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> Message-ID: <20220407182425.194001-2-flaniel@linux.microsoft.com> From: bradford barr Intel Threading Building Blocks (TBB), is a C++ library to help developers write highly parallelized applications. OpenCV uses it to accelerate some of it's more heavy weight procedures. Signed-off-by: bradford barr Signed-off-by: Francis Laniel --- DEVELOPERS | 1 + package/Config.in | 1 + .../0001-tbb-Enable-cross-compilation.patch | 55 +++++++++++++++++++ package/tbb/Config.in | 16 ++++++ package/tbb/tbb.hash | 2 + package/tbb/tbb.mk | 39 +++++++++++++ 6 files changed, 114 insertions(+) create mode 100644 package/tbb/0001-tbb-Enable-cross-compilation.patch create mode 100644 package/tbb/Config.in create mode 100644 package/tbb/tbb.hash create mode 100644 package/tbb/tbb.mk diff --git a/DEVELOPERS b/DEVELOPERS index a66b9d7eee..ef4ddcab50 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -970,6 +970,7 @@ F: package/odhcploc/ N: Francis Laniel F: package/pahole/ +F: package/tbb/ N: Francisco Gonzalez F: package/ser2net/ diff --git a/package/Config.in b/package/Config.in index 0d5d763180..24f7af5ea8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2044,6 +2044,7 @@ endif source "package/skalibs/Config.in" source "package/sphinxbase/Config.in" source "package/startup-notification/Config.in" + source "package/tbb/Config.in" source "package/tinycbor/Config.in" source "package/tz/Config.in" source "package/tzdata/Config.in" diff --git a/package/tbb/0001-tbb-Enable-cross-compilation.patch b/package/tbb/0001-tbb-Enable-cross-compilation.patch new file mode 100644 index 0000000000..652d59c47b --- /dev/null +++ b/package/tbb/0001-tbb-Enable-cross-compilation.patch @@ -0,0 +1,55 @@ +From 42c3faff14917f687aab405d8f571e352ffdf3f5 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 6 Apr 2022 15:58:02 +0100 +Subject: [PATCH] tbb: Enable cross-compilation. + +This patch replaces hardcoded value for CPLUS and CONLY with $(CXX) and $(CC). +So, by defining CC= it is possible to cross compile this library using a +cross-compiler. + +This patch was originally written by: +Marcin Juszkiewicz +and taken from: +https://github.com/intel/luv-yocto/blob/3b0688bc9a5e8d52b6ca461b15fb4abd3eaaf7a8/meta-oe/recipes-support/tbb/tbb/cross-compile.patch + +Signed-off-by: Francis Laniel +--- + build/linux.clang.inc | 5 +++-- + build/linux.gcc.inc | 5 +++-- + 2 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/build/linux.clang.inc b/build/linux.clang.inc +index 5a459ef5..a0777db5 100644 +--- a/build/linux.clang.inc ++++ b/build/linux.clang.inc +@@ -31,8 +31,9 @@ DYLIB_KEY = -shared + EXPORT_KEY = -Wl,--version-script, + LIBDL = -ldl + +-CPLUS = clang++ +-CONLY = clang ++CPLUS = $(CXX) ++CONLY = $(CC) ++CPLUS_FLAGS = $(CXXFLAGS) + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) + LIBS += -lpthread -lrt + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic +diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc +index 786c4153..30242a82 100644 +--- a/build/linux.gcc.inc ++++ b/build/linux.gcc.inc +@@ -32,8 +32,9 @@ DYLIB_KEY = -shared + EXPORT_KEY = -Wl,--version-script, + LIBDL = -ldl + +-CPLUS = g++ +-CONLY = gcc ++CPLUS = $(CXX) ++CONLY = $(CC) ++CPLUS_FLAGS = $(CXXFLAGS) + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) + LIBS += -lpthread -lrt + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic +-- +2.25.1 + diff --git a/package/tbb/Config.in b/package/tbb/Config.in new file mode 100644 index 0000000000..0f40b74d31 --- /dev/null +++ b/package/tbb/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_TBB + bool "tbb" + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + help + Intel(R) Threading Building Blocks (Intel(R) TBB) lets you + easily write parallel C++ programs that take full advantage + of multicore performance, that are portable, composable and + have future-proof scalability. + + https://www.threadingbuildingblocks.org/ + +comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash new file mode 100644 index 0000000000..e9fb7511b8 --- /dev/null +++ b/package/tbb/tbb.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 tbb-2018_U5.tar.gz diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk new file mode 100644 index 0000000000..cf06579b98 --- /dev/null +++ b/package/tbb/tbb.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# tbb +# +################################################################################ + +TBB_VERSION = 2018_U5 +TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) +TBB_INSTALL_STAGING = YES +TBB_LICENSE = Apache-2.0 +TBB_LICENSE_FILES = LICENSE + +TBB_SO_VERSION = 2 +TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy +TBB_BIN_PATH = $(@D)/build/linux_* + +define TBB_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) arch=$(BR2_ARCH) -C $(@D) +endef + +define TBB_INSTALL_LIBS + $(foreach lib,$(TBB_LIBS), + $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$(TBB_SO_VERSION) \ + $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; + ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so + ) +endef + +define TBB_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/ + cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ + $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) +endef + +define TBB_INSTALL_TARGET_CMDS + $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) +endef + +$(eval $(generic-package)) -- 2.25.1 From flaniel at linux.microsoft.com Thu Apr 7 18:24:23 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 7 Apr 2022 19:24:23 +0100 Subject: [Buildroot] [RFC PATCH v1 0/2] Fix sysdig build errors Message-ID: <20220407182425.194001-1-flaniel@linux.microsoft.com> Hi. First of all, I hope you are fine and the same for your relatives. When building a system with recent kernel with BR2_PACKAGE_SYSDIG, I got some compilation errors when building sysdig libsinsp: .../sysdig-0.23.1/userspace/libsinsp/chisel.cpp:99:30: error: elements of array ?const luaL_reg ll_sysdig []? have incomplete type 99 | const static struct luaL_reg ll_sysdig [] = After that, an error when building modules occurs: .../sysdig-0.23.1/driver/ppm.h:62:18: error: field ?last_print_time? has incomplete type 62 | struct timespec last_print_time; And finally an error during link time occurs: .../sysdig-0.23.1/userspace/libsinsp.a(cri.grpc.pb.cc.o): undefined reference to symbol '_ZN4absl12lts_202103245MutexD1Ev' Concerning the error in libsinsp, a patch was added to sysdig recipe. This patch is based on Minikube patch, which is in turn based on sysdig CMakeLists.txt PATCH_COMMAND [1, 2]. The modules errors were fixed upstream, so I bumped sysdig version to 0.27.1 [3, 4]. For the linking one, a patch already exist to fix this buggy behavior [5]. Sysdig 0.27.1 relies on tbb, so a recipe for this library was added. Note that, this recipe was originally written by Bradford Barr and I just bumped its version to suit sysdig case [6]. With the two patches applied, I was able to build and boot an image within qemu: $ make qemu_x86_64_defconfig $ make menuconfig # Set glibc as library, enable c++, enable luajit and enable sysdig. $ make linux-menuconfig # Enable FTRACE $ make -j$(nproc) ... $ bash start-qemu.sh ... Welcome to Buildroot buildroot login: root # insmod /lib/modules/5.15.18/extra/sysdig-probe.ko sysdig_probe: loading out-of-tree module taints kernel. sysdig_probe: driver loading, sysdig-probe 0.1.1dev # sysdig --version sysdig version 0.1.1dev If you see any way to improve this contribution, feel free to share it! Francis Laniel (1): package/sysdig: bump version to 0.27.1. bradford barr (1): tbb: new package DEVELOPERS | 1 + package/Config.in | 1 + ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 +++++++++++++++++++ ...gainst-libabseil-cpp-which-grpc-uses.patch | 45 ++++++++++ package/sysdig/Config.in | 5 ++ package/sysdig/sysdig.hash | 1 + package/sysdig/sysdig.mk | 7 +- .../0001-tbb-Enable-cross-compilation.patch | 55 +++++++++++++ package/tbb/Config.in | 16 ++++ package/tbb/tbb.hash | 2 + package/tbb/tbb.mk | 39 +++++++++ 11 files changed, 253 insertions(+), 1 deletion(-) create mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch create mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch create mode 100644 package/tbb/0001-tbb-Enable-cross-compilation.patch create mode 100644 package/tbb/Config.in create mode 100644 package/tbb/tbb.hash create mode 100644 package/tbb/tbb.mk Best regards and thank you in advance for your reviews. P.S.: If you are interested, this bug was spotted while trying to bump Minikube kernel to 5.10.57 [7]. --- [1] https://github.com/kubernetes/minikube/commit/f036c279bc598cf59affb0fc538c017d83afb7ab [2] https://github.com/draios/sysdig/commit/a064440394c93a7579dc6e1db13c8378d5eecd6f [3] https://github.com/draios/sysdig/commit/938986890291c126f9b8f3a050bc3edc95fb6f5a [4] https://github.com/draios/sysdig/commit/2691cbc66c7faa973333d65a69909be06be21c18 [5] https://github.com/hhoffstaette/portage/blob/8d047247719a15c5a63001f65ba348514706277d/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch [6] https://patchwork.ozlabs.org/project/buildroot/patch/20170928235043.31891-2-bradford at density.io/ [7] https://github.com/kubernetes/minikube/pull/12707 -- 2.25.1 From flaniel at linux.microsoft.com Thu Apr 7 18:24:25 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 7 Apr 2022 19:24:25 +0100 Subject: [Buildroot] [RFC PATCH v1 2/2] package/sysdig: bump version to 0.27.1. In-Reply-To: <20220407182425.194001-1-flaniel@linux.microsoft.com> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> Message-ID: <20220407182425.194001-3-flaniel@linux.microsoft.com> 0.23.1 has compilation errors with recent kernels. Signed-off-by: Francis Laniel --- ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 +++++++++++++++++++ ...gainst-libabseil-cpp-which-grpc-uses.patch | 45 ++++++++++ package/sysdig/Config.in | 5 ++ package/sysdig/sysdig.hash | 1 + package/sysdig/sysdig.mk | 7 +- 5 files changed, 139 insertions(+), 1 deletion(-) create mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch create mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch new file mode 100644 index 0000000000..7873210281 --- /dev/null +++ b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch @@ -0,0 +1,82 @@ +From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 6 Apr 2022 16:54:37 +0100 +Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. + +Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and +luaL_Reg. +So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function +call as well. +Note that, this PATCH_COMMAND was added in sysdig in: +a064440394c9 ("Adding power support to Travis builds (#1566)") + +This patch is also present in kubernetes/minikube in: +f036c279bc59 ("Add patch for compiling sysdig with system luajit") + +Signed-off-by: Francis Laniel +--- + userspace/libsinsp/chisel.cpp | 6 +++--- + userspace/libsinsp/lua_parser.cpp | 2 +- + userspace/libsinsp/lua_parser_api.cpp | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp +index 0a6e3cf8..0c2e255a 100644 +--- a/userspace/libsinsp/chisel.cpp ++++ b/userspace/libsinsp/chisel.cpp +@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) + // Lua callbacks + /////////////////////////////////////////////////////////////////////////////// + #ifdef HAS_LUA_CHISELS +-const static struct luaL_reg ll_sysdig [] = ++const static struct luaL_Reg ll_sysdig [] = + { + {"set_filter", &lua_cbacks::set_global_filter}, + {"set_snaplen", &lua_cbacks::set_snaplen}, +@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = + {NULL,NULL} + }; + +-const static struct luaL_reg ll_chisel [] = ++const static struct luaL_Reg ll_chisel [] = + { + {"request_field", &lua_cbacks::request_field}, + {"set_filter", &lua_cbacks::set_filter}, +@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = + {NULL,NULL} + }; + +-const static struct luaL_reg ll_evt [] = ++const static struct luaL_Reg ll_evt [] = + { + {"field", &lua_cbacks::field}, + {"get_num", &lua_cbacks::get_num}, +diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp +index 0e26617d..78810d96 100644 +--- a/userspace/libsinsp/lua_parser.cpp ++++ b/userspace/libsinsp/lua_parser.cpp +@@ -32,7 +32,7 @@ extern "C" { + #include "lauxlib.h" + } + +-const static struct luaL_reg ll_filter [] = ++const static struct luaL_Reg ll_filter [] = + { + {"rel_expr", &lua_parser_cbacks::rel_expr}, + {"bool_op", &lua_parser_cbacks::bool_op}, +diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp +index c89e9126..c3d8008a 100644 +--- a/userspace/libsinsp/lua_parser_api.cpp ++++ b/userspace/libsinsp/lua_parser_api.cpp +@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) + string err = "Got non-table as in-expression operand\n"; + throw sinsp_exception("parser API error"); + } +- int n = luaL_getn(ls, 4); /* get size of table */ ++ int n = lua_objlen (ls, 4); /* get size of table */ + for (i=1; i<=n; i++) + { + lua_rawgeti(ls, 4, i); +-- +2.25.1 + diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch new file mode 100644 index 0000000000..60c3d31a3e --- /dev/null +++ b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch @@ -0,0 +1,45 @@ +From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Thu, 7 Apr 2022 18:30:23 +0100 +Subject: [PATCH 2/2] Link against libabseil-cpp which grpc uses. + +This patch was taken from: +55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") +from hhoffstaette/portage. + +Signed-off-by: Francis Laniel +--- + CMakeLists.txt | 1 + + userspace/libsinsp/CMakeLists.txt | 4 ++++ + 2 files changed, 5 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1f34f1d6..c0354b29 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) + else() + message(FATAL_ERROR "Couldn't find system grpc") + endif() ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) + find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) + if(NOT GRPC_CPP_PLUGIN) + message(FATAL_ERROR "System grpc_cpp_plugin not found") +diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt +index d72f9115..d1b7ea02 100644 +--- a/userspace/libsinsp/CMakeLists.txt ++++ b/userspace/libsinsp/CMakeLists.txt +@@ -214,6 +214,10 @@ if(NOT WIN32) + "${JQ_LIB}" + "${B64_LIB}") + ++ if(ABSL_SYNC_LIB) ++ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") ++ endif() ++ + if(NOT MUSL_OPTIMIZED_BUILD) + target_link_libraries(sinsp + rt +-- +2.25.1 + diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index 06d20c7f7b..5a7fbb50e0 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -8,13 +8,18 @@ config BR2_PACKAGE_SYSDIG depends on BR2_USE_WCHAR # elfutils depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC + select BR2_PACKAGE_GTEST select BR2_PACKAGE_JQ select BR2_PACKAGE_JSONCPP select BR2_PACKAGE_LIBB64 select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_NCURSES select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB select BR2_PACKAGE_ZLIB help Sysdig is open source, system-level exploration: diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 565b1e9828..4bce674f3e 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,3 +1,4 @@ # sha256 locally computed +sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz sha256 57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa sysdig-0.23.1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 08d93750ae..d497c7c381 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,7 +4,7 @@ # ################################################################################ -SYSDIG_VERSION = 0.23.1 +SYSDIG_VERSION = 0.27.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) SYSDIG_LICENSE = GPL-2.0 SYSDIG_LICENSE_FILES = COPYING @@ -13,7 +13,10 @@ SYSDIG_CONF_OPTS = -DENABLE_DKMS=OFF -DUSE_BUNDLED_DEPS=OFF SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ + c-ares \ elfutils \ + gtest \ + grpc \ jq \ jsoncpp \ libb64 \ @@ -21,6 +24,8 @@ SYSDIG_DEPENDENCIES = \ luainterpreter \ ncurses \ openssl \ + protobuf \ + tbb \ zlib # sysdig creates the module Makefile from a template, which contains a -- 2.25.1 From arnout at mind.be Thu Apr 7 18:49:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 7 Apr 2022 20:49:45 +0200 Subject: [Buildroot] [git commit] configs/qemu_xtensa_lx60_nommu: use busybox minimal config Message-ID: <20220407185604.8544E836EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8f3cfe41961d83a9c01630f241bf045e3aa59b40 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update the qemu_xtensa_lx60_nommu_defconfig to use the busybox-minimal.config. After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal config"), this has the benefit of fixing the following network initialization failure: udhcpc: invalid option -- b With the full busybox config, the -b option would still be passed and udhcpc would fail to start for the reason above. Note that on NOMMU, udhcpc backgrounds unconditionally (unless the -f option is given), so it still behaves properly. The -b option in fact only backgrounds after the lease is obtained; on NOMMU, backgrounding is done before the lease is even requested. So the behaviour is more or less the same, except that on MMU systems, networking can be considered either up or not available after S20network, but on NOMMU there is no such guarantee. Signed-off-by: Vincent Stehl?? Cc: Romain Naour Cc: Gerome Burlats Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig index c4473fb32a..44fb81bd74 100644 --- a/configs/qemu_xtensa_lx60_nommu_defconfig +++ b/configs/qemu_xtensa_lx60_nommu_defconfig @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ BR2_PACKAGE_HOST_ELF2FLT=y # BR2_USE_MMU is not set +# Use minimal busybox with hush and networking tools +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + # System BR2_SYSTEM_DHCP="eth0" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From arnout at mind.be Thu Apr 7 19:07:22 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 7 Apr 2022 21:07:22 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <20220329205136.32435-1-vincent.stehle@laposte.net> References: <20220329205136.32435-1-vincent.stehle@laposte.net> Message-ID: On 29/03/2022 22:51, Vincent Stehl? via buildroot wrote: > Update the qemu_xtensa_lx60_nommu_defconfig to use the > busybox-minimal.config, to make it more consistent with the other no-MMU > defconfigs. > > After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal > config"), this has the benefit of fixing the following network > initialization failure: > > udhcpc: invalid option -- b > > Signed-off-by: Vincent Stehl? > Cc: Romain Naour > Cc: Gerome Burlats As promised: applied to master with an extended commit message. However, the proper approach would be to revert both this and 3de486f8b052, and instead add a config fixup to busybox.mk that removes the -b option from CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS on NOMMU. The regex to match it is going to be tricky to write though... (/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-b\b/ works for our config, but we also want to remove it from a user-supplied config where -b may not be the first option). So in order to get this fixed expediently, I applied this patch. Regards, Arnout > --- > configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig > index c4473fb32a..44fb81bd74 100644 > --- a/configs/qemu_xtensa_lx60_nommu_defconfig > +++ b/configs/qemu_xtensa_lx60_nommu_defconfig > @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ > BR2_PACKAGE_HOST_ELF2FLT=y > # BR2_USE_MMU is not set > > +# Use minimal busybox with hush and networking tools > +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" > + > # System > BR2_SYSTEM_DHCP="eth0" > BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From peter at korsgaard.com Thu Apr 7 19:52:35 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 07 Apr 2022 21:52:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/libabseil-cpp: fix uclibc-ng build In-Reply-To: <20220330205112.1378968-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 30 Mar 2022 22:51:12 +0200") References: <20220330205112.1378968-1-fontaine.fabrice@gmail.com> Message-ID: <871qy8vfgc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with uclibc-ng and grpc raised on arm > and ppc: > /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: > /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: > undefined reference to `getauxval' > Strangely enough it seems there is only one autobuilder failure despite > the fact that libabseil-cpp is unconditionally using getauxval since its > addition in commit 93568440eda120b12bcbfe267af8f0182484c3b6: > https://github.com/abseil/abseil-cpp/blob/20200225/absl/random/internal/randen_detect.cc > Perhaps this build failure is an unexpected side effect of commit > 8251d8c2559b25f11684776fc343059cf100657d > Fixes: > - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Apr 7 19:54:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 07 Apr 2022 21:54:32 +0200 Subject: [Buildroot] [PATCH v2] package/libcamera-apps: fix X11 preview compile (conversion from Window to EGLNativeWindowType) In-Reply-To: <20220331201231.26526-1-ps.report@gmx.net> (Peter Seiderer's message of "Thu, 31 Mar 2022 22:12:31 +0200") References: <20220331201231.26526-1-ps.report@gmx.net> Message-ID: <87wng0u0sn.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Seiderer writes: > - add 002-preview-fix-egl_preview-compile-conversion-from-Wind.patch > Fixes: > .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ?Window? {aka ?long unsigned int?} to ?EGLNativeWindowType? {aka ?fbdev_window*?} [-fpermissive] > 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); > | ^~~~~~~ > | | > | Window > | {aka long unsigned int} > Signed-off-by: Peter Seiderer > --- > Changes v1 -> v2: > - add patch with proper type cast instead of '-fpermissive' compiler > command line option (suggested by Arnout Vandecappelle) Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Apr 7 19:56:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 07 Apr 2022 21:56:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/apr: fix CVE-2021-35940 In-Reply-To: <20220331210046.35887-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 31 Mar 2022 23:00:46 +0200") References: <20220331210046.35887-1-fontaine.fabrice@gmail.com> Message-ID: <87sfqou0pt.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > An out-of-bounds array read in the apr_time_exp*() functions was fixed > in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix > for this issue was not carried forward to the APR 1.7.x branch, and > hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the > same issue. > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Apr 7 19:52:01 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 21:52:01 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libabseil-cpp: fix uclibc-ng build Message-ID: <20220407194802.DB350836F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ab52b73a66de60c0adc007a032d814c390592799 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with uclibc-ng and grpc raised on arm and ppc: /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' Strangely enough it seems there is only one autobuilder failure despite the fact that libabseil-cpp is unconditionally using getauxval since its addition in commit 93568440eda120b12bcbfe267af8f0182484c3b6: https://github.com/abseil/abseil-cpp/blob/20200225/absl/random/internal/randen_detect.cc Perhaps this build failure is an unexpected side effect of commit 8251d8c2559b25f11684776fc343059cf100657d Fixes: - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 1a3de362aea62db32d02533d84fcf61cf0389152) Signed-off-by: Peter Korsgaard --- .../0002-fix-build-with-uclibc-ng.patch | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch new file mode 100644 index 0000000000..0797d8e51b --- /dev/null +++ b/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch @@ -0,0 +1,62 @@ +From b9ad9bbfed92199a1a58504306d026cd2597539e Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 30 Mar 2022 21:56:20 +0200 +Subject: [PATCH] Fix build with uclibc-ng (#1145) + +uclibc-ng doesn't provide getauxval which results in the following build +failure on arm or ppc with any user of abseil-cpp such as grpc: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' + +To fix this build failure, check that __UCLIBC__ is not defined before +using getauxval (as Babel is not able to check function availability) + +Fixes: + - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/abseil/abseil-cpp/commit/b9ad9bbfed92199a1a58504306d026cd2597539e] +--- + absl/debugging/internal/vdso_support.cc | 2 +- + absl/random/internal/randen_detect.cc | 7 ++++++- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/absl/debugging/internal/vdso_support.cc b/absl/debugging/internal/vdso_support.cc +index c655cf452..e63ac4a3b 100644 +--- a/absl/debugging/internal/vdso_support.cc ++++ b/absl/debugging/internal/vdso_support.cc +@@ -33,7 +33,7 @@ + #endif + #include + +-#if defined(__GLIBC__) && \ ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ + (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) + #define ABSL_HAVE_GETAUXVAL + #endif +diff --git a/absl/random/internal/randen_detect.cc b/absl/random/internal/randen_detect.cc +index 9bb58fc68..6dababa35 100644 +--- a/absl/random/internal/randen_detect.cc ++++ b/absl/random/internal/randen_detect.cc +@@ -24,6 +24,11 @@ + + #include "absl/random/internal/platform.h" + ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ ++ (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) ++#define ABSL_HAVE_GETAUXVAL ++#endif ++ + #if defined(ABSL_ARCH_X86_64) + #define ABSL_INTERNAL_USE_X86_CPUID + #elif defined(ABSL_ARCH_PPC) || defined(ABSL_ARCH_ARM) || \ +@@ -31,7 +36,7 @@ + #if defined(__ANDROID__) + #define ABSL_INTERNAL_USE_ANDROID_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL +-#elif defined(__linux__) ++#elif defined(__linux__) && defined(ABSL_HAVE_GETAUXVAL) + #define ABSL_INTERNAL_USE_LINUX_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL + #endif From peter at korsgaard.com Thu Apr 7 19:54:16 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 21:54:16 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libcamera-apps: fix X11 preview compile (conversion from Window to EGLNativeWindowType) Message-ID: <20220407194802.E54ED83700@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf458ccc3864f975e56a719e01f18d3caf8c2d8d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x - add 002-preview-fix-egl_preview-compile-conversion-from-Wind.patch Fixes: .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ???Window??? {aka ???long unsigned int???} to ???EGLNativeWindowType??? {aka ???fbdev_window*???} [-fpermissive] 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); | ^~~~~~~ | | | Window {aka long unsigned int} Signed-off-by: Peter Seiderer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 94b5778c82e4fdaa43ab40102648257330cbda0c) Signed-off-by: Peter Korsgaard --- ...-egl_preview-compile-conversion-from-Wind.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch new file mode 100644 index 0000000000..cc9069aa86 --- /dev/null +++ b/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch @@ -0,0 +1,39 @@ +From 60715769cd5368a63b2bdc2e6d6bb6df0030a54d Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 31 Mar 2022 21:44:22 +0200 +Subject: [PATCH] preview: fix egl_preview compile (conversion from Window to + EGLNativeWindowType) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ???Window??? {aka ???long unsigned int???} to ???EGLNativeWindowType??? {aka ???fbdev_window*???} [-fpermissive] + 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); + | ^~~~~~~ + | | + | Window {aka long unsigned int} + +[Upstream: https://github.com/raspberrypi/libcamera-apps/pull/283] +Signed-off-by: Peter Seiderer +--- + preview/egl_preview.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/preview/egl_preview.cpp b/preview/egl_preview.cpp +index b936e57..593583d 100644 +--- a/preview/egl_preview.cpp ++++ b/preview/egl_preview.cpp +@@ -326,7 +326,7 @@ void EglPreview::makeWindow(char const *name) + wm_delete_window_ = XInternAtom(display_, "WM_DELETE_WINDOW", False); + XSetWMProtocols(display_, window_, &wm_delete_window_, 1); + +- egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); ++ egl_surface_ = eglCreateWindowSurface(egl_display_, config, reinterpret_cast(window_), NULL); + if (!egl_surface_) + throw std::runtime_error("eglCreateWindowSurface failed"); + +-- +2.35.1 + From peter at korsgaard.com Thu Apr 7 19:55:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 7 Apr 2022 21:55:18 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/apr: fix CVE-2021-35940 Message-ID: <20220407194802.F10B183701@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a2e374f3b9fcde71bb363cb70d9ccb3aeb7ef3ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 10d80eb39aed471b6c47400e1b155c94a61d8e61) Signed-off-by: Peter Korsgaard --- package/apr/0004-apr-1.7.0-CVE-2021-35940.patch | 57 +++++++++++++++++++++++++ package/apr/apr.mk | 3 ++ 2 files changed, 60 insertions(+) diff --git a/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch new file mode 100644 index 0000000000..b065a3330a --- /dev/null +++ b/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch @@ -0,0 +1,57 @@ + +SECURITY: CVE-2021-35940 (cve.mitre.org) + +Restore fix for CVE-2017-12613 which was missing in 1.7.x branch, though +was addressed in 1.6.x in 1.6.3 and later via r1807976. + +The fix was merged back to 1.7.x in r1891198. + +Since this was a regression in 1.7.0, a new CVE name has been assigned +to track this, CVE-2021-35940. + +Thanks to Iveta Cesalova for reporting this issue. + +https://svn.apache.org/viewvc?view=revision&revision=1891198 + +[Retrieved from: +https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch] +Signed-off-by: Fabrice Fontaine + +Index: ./time/unix/time.c +=================================================================== +--- ./time/unix/time.c (revision 1891197) ++++ ./time/unix/time.c (revision 1891198) +@@ -142,6 +142,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) +Index: ./time/win32/time.c +=================================================================== +--- ./time/win32/time.c (revision 1891197) ++++ ./time/win32/time.c (revision 1891198) +@@ -54,6 +54,9 @@ + static const int dayoffset[12] = + {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; + ++ if (tm->wMonth < 1 || tm->wMonth > 12) ++ return APR_EBADDATE; ++ + /* Note; the caller is responsible for filling in detailed tm_usec, + * tm_gmtoff and tm_isdst data when applicable. + */ +@@ -228,6 +231,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) diff --git a/package/apr/apr.mk b/package/apr/apr.mk index 7ff2c007b4..77217ccbb3 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -16,6 +16,9 @@ APR_INSTALL_STAGING = YES # so we need to autoreconf: APR_AUTORECONF = YES +# 0004-apr-1.7.0-CVE-2021-35940.patch +APR_IGNORE_CVES += CVE-2021-35940 + # avoid apr_hints.m4 by setting apr_preload_done=yes and set # the needed CFLAGS on our own (avoids '-D_REENTRANT' in case # not supported by toolchain and subsequent configure failure) From fontaine.fabrice at gmail.com Thu Apr 7 21:20:19 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 7 Apr 2022 23:20:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/netdata: bump to version 1.33.1 Message-ID: <20220407212019.1540473-1-fontaine.fabrice@gmail.com> - Use official tarball (and so drop autoreconf) - Disable ebpf, enabled by default since its addition in version 1.25.0: https://github.com/netdata/netdata/commit/c857c880f31a89b7857bf01f1f48227c41bf8a93 - disable ml, enabled by default since its addition in version 1.32.1: https://github.com/netdata/netdata/commit/9ed4cea59042aa5e5053c4b4b3529e9d70ab83f9 - lz4 is an optional dependency (enabled by default) since version 1.33.0 and https://github.com/netdata/netdata/commit/b003e5fd40c3b42dfacc87db5a7730b76eff0e92 - This bump will fix a build failure with libressl thanks to https://github.com/netdata/netdata/commit/6b091fafd9c3b0197325b3ef751dbdb317048e2b - Update indentation in hash file (two spaces) https://github.com/netdata/netdata/blob/v1.33.1/CHANGELOG.md Fixes: - http://autobuild.buildroot.org/results/897d6f1425a645667b884739b2ee6f588fd06972 Signed-off-by: Fabrice Fontaine --- package/netdata/netdata.hash | 6 ++++-- package/netdata/netdata.mk | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/package/netdata/netdata.hash b/package/netdata/netdata.hash index 8d5ce51fca..bc33a8b8a1 100644 --- a/package/netdata/netdata.hash +++ b/package/netdata/netdata.hash @@ -1,3 +1,5 @@ +# From https://github.com/netdata/netdata/releases/download/v1.33.1/sha256sums.txt +sha256 20ba8695d87187787b27128ac3aab9b09aa29ca6b508c48542e0f7d50ec9322b netdata-v1.33.1.tar.gz + # Locally calculated -sha256 60cdde3f1f8bd9035fef6a566053c0a7195d1714b5da6814473263e85382b4a8 netdata-1.21.1.tar.gz -sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6 LICENSE +sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6 LICENSE diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index 6def59764a..da6f8eb18b 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -4,15 +4,17 @@ # ################################################################################ -NETDATA_VERSION = 1.21.1 -NETDATA_SITE = $(call github,netdata,netdata,v$(NETDATA_VERSION)) +NETDATA_VERSION = 1.33.1 +NETDATA_SOURCE = netdata-v$(NETDATA_VERSION).tar.gz +NETDATA_SITE = \ + https://github.com/netdata/netdata/releases/download/v$(NETDATA_VERSION) NETDATA_LICENSE = GPL-3.0+ NETDATA_LICENSE_FILES = LICENSE NETDATA_CPE_ID_VENDOR = netdata -# netdata's source code is released without a generated configure script -NETDATA_AUTORECONF = YES NETDATA_CONF_OPTS = \ --disable-dbengine \ + --disable-ebpf \ + --disable-ml \ --disable-unit-tests NETDATA_DEPENDENCIES = libuv util-linux zlib @@ -43,6 +45,13 @@ else NETDATA_CONF_OPTS += --without-libcap endif +ifeq ($(BR2_PACKAGE_LZ4),y) +NETDATA_CONF_OPTS += --enable-compression +NETDATA_DEPENDENCIES += lz4 +else +NETDATA_CONF_OPTS += --disable-compression +endif + ifeq ($(BR2_PACKAGE_NFACCT),y) NETDATA_CONF_OPTS += --enable-plugin-nfacct NETDATA_DEPENDENCIES += nfacct -- 2.35.1 From thomas.petazzoni at bootlin.com Fri Apr 8 05:29:10 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 08 Apr 2022 05:29:10 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-07 Message-ID: <20220408052916.C95FF84005@smtp1.osuosl.org> Hello, Autobuild statistics for 2022-04-07 =================================== branch | OK | NOK | TIM | TOT | 2021.02.x | 52 | 9 | 0 | 61 | 2022.02.x | 14 | 2 | 0 | 16 | master | 177 | 406 | 0 | 583 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 62 host-gcc-final-10.3.0 | 31 host-util-linux-2.38 | 30 dhcp-4.4.2-P1 | 21 fetchmail-6.4.29 | 13 uclibc-1.0.40 | 12 argp-standalone-1.3 | 11 libopenssl-1.1.1n | 11 host-elf2flt-7e33f28df198c4... | 10 glibc-2.34-109-gd64b08d5ba7... | 8 toolchain-external-bootlin-... | 8 libressl-3.4.3 | 7 polkit-a2bf5c9c83b6ae46cbd5... | 7 python3-3.10.2 | 7 git-2.31.1 | 6 host-gcc-final-9.4.0 | 6 linux-5.15.30 | 6 util-linux-2.38 | 6 qpid-proton-0.35.0 | 5 unknown | 5 host-gcc-final-11.2.0 | 4 libgcrypt-1.10.0 | 4 linux-headers-5.15.30 | 4 perl-5.34.1 | 4 zlib-ng-2.0.6 | 4 expat-2.4.7 | 3 host-gcc-initial-10.3.0 | 3 pixman-0.40.0 | 3 refpolicy | 3 dash-0.5.11.5 | 2 erofs-utils-1.4 | 2 frr-8.2.2 | 2 fs/ext2/ext2.mk:65: /home/a... | 2 gocryptfs-2.2.1 | 2 host-rust-1.58.1 | 2 libcap-ng-0.8.3 | 2 libgpg-error-1.42 | 2 libkrb5-1.18.4 | 2 libnss-3.76 | 2 netdata-1.21.1 | 2 netsniff-ng-0.6.8 | 2 stunnel-5.60 | 2 uacme-1.7.1 | 2 wavemon-0.9.4 | 2 a10disp-0.6.1 | 1 ace-7.0.6 | 1 acpid-2.0.33 | 1 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 apparmor-3.0.4 | 1 arptables-0.0.5 | 1 belr-4.4.8 | 1 bird-2.0.8 | 1 botan-2.19.1 | 1 brltty-6.4 | 1 cairo-1.16.0 | 1 clamav-0.103.5 | 1 dieharder-3.31.1 | 1 diffutils-3.8 | 1 dmalloc-5.6.5 | 1 docker-cli-20.10.14 | 1 emlog-0.70 | 1 file-5.41 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gobject-introspection-1.70.0 | 1 gst1-plugins-bad-1.20.1 | 1 gst1-python-1.20.1 | 1 host-gcc-initial-11.2.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-go-1.17.8 | 1 host-m4-1.4.19 | 1 igh-ethercat-1.5.2 | 1 intel-gmmlib-22.1.2 | 1 kexec-2.0.23 | 1 ktap-23bc7a4a94bd9e4e1b8b7c... | 1 lftp-4.9.2 | 1 libndp-1.8 | 1 libnspr-4.33 | 1 linux-headers-5.10.104-cip3 | 1 linux-headers-5.10.104-cip3... | 1 linux-tools | 1 lttng-babeltrace-1.5.7 | 1 lua-cqueues-20200726 | 1 minizip-3.0.5 | 1 monit-5.26.0 | 1 netsurf-3.10 | 1 nodejs-14.18.3 | 1 ntp-4.2.8p15 | 1 openblas-0.3.20 | 1 owfs-3.2p4 | 1 python-ujson-4.2.0 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 qt5webchannel-fa8b07105b5e2... | 1 qt5webkit-5.212.0-alpha4 | 1 shadowsocks-libev-3.3.5 | 1 shim-15.4 | 1 strace-5.16 | 1 tcf-agent-1.7.0 | 1 toolchain-external-bootlin | 1 toolchain-external-codescap... | 1 trousers-0.3.15 | 1 xdriver_xf86-video-nouveau-... | 1 xenomai-custom | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | a10disp-0.6.1 | NOK | http://autobuild.buildroot.net/results/94bef48fe209ce1b46d26f1f7b7cb7bffa91d940 | microblazeel | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/303158983f9c6ce9e697a11ea7807623e6f9c8a0 | mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/fd17acb56a7b00e0888f8f2ce9dbb4b7e9f9d882 | ORPH microblaze | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/a998ca19dcdf5b73777a29a6bc71e0b94cc366b9 | mips64 | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/ab7fc3ba760f3921484c40a5a044bb81077702ab | x86_64 | apparmor-3.0.4 | NOK | http://autobuild.buildroot.net/results/2ff3ebee647d7bbd5934e2b37b6e3c6f42e9ded9 | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/c2e0f121149c6185cecbf9f6ea987a357894b705 | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/295469b4f2748ab708ae9033a776d89838bea49e | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/588c99fdc2f4fe47af1acf5250880979aa3ab8f8 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/666d56d687f175d298fae78f0fb12de9af7e05c3 | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/90ad2f78a927ee3475f3c8fc3e0e349c6941a780 | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d20761ca01cef378ab2ed7877831f605dc6d27d6 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2993f677e41bf5494f5c9a7a71652860f3150234 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/05331c5c130ae267ad7d59cd75664baa7bf04c99 | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2def514de20dad9748458be6a0efb9d149f8698d | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/11feaefe0d9b259362734be9d87817ecd4ea6b53 | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/beb39b4977eeff40c649330b6e20943f700e1664 | i686 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/94b280d20a27c52cfbfc6836ddd0fc41b3175750 | ORPH sparc64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/e7c87803637902ceba65e64041aedab4d0ac1b47 | powerpc | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/4e2482c25029ec5b7c35968bd05a4c48b97d1216 | mipsel | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/019fd7977869c3ca6778769dc19addd4df3d5a82 | ORPH microblazeel | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/a24ee32170c55c2d36cee226a997ced2a44b7382 | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/b1ff1542dd04da21670b1111b1029d162ee93045 | mips64 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/d2c3d4348a81bc96e706c70990d546ce9724afcf | mips | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/82fcf2a0e0686bfbb1b7ab4651ffc3f6a017c19d | ORPH mips64el | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/9f8dd347bd64b55c872ea8442fe5d94421676007 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/b6153a8a1b2e142fec8d2d8013d3576276c3d3d6 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/85049d1b4d9c76fa77d4f6cc8f3ec6a3f543b467 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4dadcf9497a21856326c990d10784d593e8ace78 | ORPH or1k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/00dc2cd689020a021d4fc21708eea803cd23ae09 | ORPH or1k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2f0975b3d18a9654634233fcfab5ec6a5885cfb2 | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/bc02f2233af52fbdf99d81402f5af9e9dfc095b0 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/1203f960b7b0bc470f14acb713a611f17ad614f5 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/d2ccdef4ff5adeee5379d6a0f999be11e9e27bac | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/39722e9d8d9a14d47a96709e82540c18b9ec778d | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2c21c2e66ad7bfdc96170fb1b70a23a53b399de3 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/8865067a6367b2e38d186c544e73855d06a54317 | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ee3a43a38093ece7820bbc90ea9f0e949b28479b | ORPH mipsel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/160b05545e30eae1eba32b87aed53d305cae369d | ORPH m68k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/55a9306a6d8adcec088979b6ef23b9cede79bcfe | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/5152ed2bd3ddd0af998fee1af6764eab250e5fee | ORPH armeb | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/c4a55d8e052788599a681fc72f84ec4aa5a1be19 | ORPH mips64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/a691fa8cff9d5dc796da5d7ea255f344846d49f3 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/67a692c48a4b2c301ea0d339c10be76009dacb1e | ORPH nios2 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/6e35f116d24e9ddd9df6717a5aa2c1a56bfc984e | ORPH m68k | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/d37add9bb8e37f294963d350586863b07044eec3 | ORPH microblazeel | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/71e393f3069f43eb745fc74257fb6424ceec0d6e | ORPH microblaze | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/1682927952083bbb4060ed9b07773e388fc662cd | powerpc | diffutils-3.8 | NOK | http://autobuild.buildroot.net/results/c4783a45b73adb91ef3df9ed6959ce0becf52b51 | ORPH mips | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/3d93a80a5d43bf7a03bb072ec5efb4bcd5a6247e | ORPH x86_64 | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/2d4e811b119503f27b9fc9fe2f9ceb66247f44bc | mips64 | emlog-0.70 | NOK | http://autobuild.buildroot.net/results/cd4baf0d42846a81b7f1027236a564f711f5c6fb | or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/f29f70bcdd4894e041211b8eedcdaf16e324ee73 | or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/eda924476a48a85527e1ca5acabc3dc21d4d4ae3 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/ac6227f9cd0f4a07c334f27d161e414b64505462 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/767435e7b0dc1b4fde0e22c52fa2d88c6aa788a5 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/c7b00a5489d4137e32be54686e891be630962a22 | mipsel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/f97722fc4afa7dd05c77858959f4205c1c6ce8b5 | sparc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/3fb4771260274074c66640f8630fadc1e065239c | m68k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/337f0ed42004555d88dca8f59f30771193554558 | aarch64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/4d1461f74e50c10926629782ae4fb3833923b5ac | powerpc64le | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/44958e10a7f94c81662ac204184c70f5debcc217 | s390x | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/d571aa23ffd90ecda5a71a0114609fd91de58dde | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/551ba44afec615e88f661c1f6f8a5ef9fa9ac0f0 | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/c65608e1cd284512ee6ac7527c04454ea01545fc | s390x | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7776f7828b3d5d91e60f90577593a08823a374e6 | arc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/6331e893125c7e92da14187e24980f1bd5983244 | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/cd0d3425ede45b8dc2334e0a35f01eb40b091b81 | riscv32 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/fd88bded737d6374851f054129abc7bddcaaf65b | sparc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/417dd8079206f885595883cb765500129fe3b5ea | mips | file-5.41 | NOK | http://autobuild.buildroot.net/results/b966bf8bec50c58874d9d8e331529f87b2b67ebd | ORPH mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/b2a3cfd8dcaa390388ad3921344640b24281d045 | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/7e9a5f2d7addb77f65783b65e5dba8a3791253a1 | microblazeel | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/4c5cd43781ccc77857f8b8c649bc4b930ef17987 | microblazeel | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/ffc2a3bd53a696a053b9cf3763e2d753c95d7e86 | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/766e113023b265f01ad0dd38713a706a78df362a | sparc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/cce6f7f878052c7381ac8f34b230006baca866dd | m68k | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/e64c6b343280114abd455d04465658fe80b9cdfc | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/1f19fac30ac59198a62a6f4bc79f4abb5708926a | x86_64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/c99705dbd7b3a10a657c8ddfab6464cff650a359 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/96c026dd2f8cbb8cc41ca28fd242343a996392d3 | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/bf031ec55b9e116a191a6bc8f995233944f2be0f | i686 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/b3d095b882daf2c87fee3ed6a1703ea71481be71 | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e0480df14f84e8831834898d3a1fe7a566cdd0ba | powerpc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/be1ec7e1a5de521130f7e53538fc79d227ad321b | m68k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0db593309ccdf2eb96a08184e26d6f16136045bd | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/884ef1471e8bb1a1d47ad0bdef4872980cf4c9bf | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/ca8ce016d192c15b92ebe67d30e9bbc3dd8c35b5 | x86_64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/81ee7769f967fab873f98b71a2d0ace9042933a7 | xtensa | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/776be4217cc2c3baeeabc033122f21cd4dcf2143 | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/73aa8608cf7c7c7a0b462d373916f19e68553284 | m68k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/882e75f1f19d7387533fc985c23d6f32d98816e2 | arm | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/0246ca602633eacb9defef257f68e03aebcf70a0 | mips | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b3f37b4d75e7a6f9f74de4cc617cb114f1b0d83b | xtensa | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/60bbfe3155f4fa30b68c5ab3c44c9cd0682a1d26 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/c90d34d2455093ddbab5cb34c400e465b2764a60 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/489921445e5434abc63e204ff3a035055ab36d2f | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/655851e5e6660780d089b93c1758792c327fe3a5 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/bed0fa2850bc4af8b360d2479ea9ce6c57c71ac0 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/73d3b165c48c12a4e79d9239f029f9817e6b81e5 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0f7222479a31e309ca647df408d65b1fd3543eef | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/33baab987acea3f8b6e51a28b9652a04d2031bb5 | microblaze | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/2240d5f614e4c0f01ab13b27fdcb18d26b129898 | powerpc64 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/975dc7fa31b1b8364079f6007f8b5287b71e0f3f | ORPH x86_64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/cfff450447fab3ea0a95af3259a8833a20035714 | x86_64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/3700d15d218d82754ea41ae97e5d8f4a42ed9d49 | sparc64 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/b08ef6d3d6ad123f28e1bc5a6910062864d706e7 | ORPH powerpc64 | gst1-python-1.20.1 | NOK | http://autobuild.buildroot.net/results/33848075028560e52444e485107b2aeac3b7c472 | ORPH sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/63d01d33ae30f86b63b9f42a9fea116f2f3e9005 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5e34d11393e14fc36fd6e72b69679bc4fd1e3798 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f1eeee4b0fc17f7da799651d187b2e5d6d471cac | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6a084dde18adc35468e43ece29f631fd0a6661cd | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/db002cc90d4832507cc059d9cb9d2ab21b206bb7 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/88b27f01b086d185cc143198d5e29353bbd7d7a8 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/760dc66df3d38d3b4e8e8d713bd75a816c8b53c9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7219284bdcd09c1a180976bfe868a7ecf205ecd2 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/73185d6e0cc48ddfd4e2ce321d413e1ce06ed3d9 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/38f678f9bcbd62bac38a137f60eaacb176d89112 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f5be4c6967f3ca8d96ce0157e12fa035c8213e67 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/22f43ecbebc38753530102901b1e1ccef628f0ea | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/622915cca68f8006c93f28c43fb8e2ae3d372d97 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c11471a424e99e8baf161ebcdd53f5d6093b8c88 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8f4b0ac41d33d92fc9cb06b297835a169fe744c0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/389d7d4f676819916963d9cc08d6bc245c30d3e2 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/37782a151a26dda8ba53f99c59d435e0c2803378 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6f36a142f36d621830733573d77ca2546bad5300 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/63d3af7c99ec207b7d08a87cfb18af7c26891729 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0f102b6b0449dcd8601b1d72682e822b1dc595ea | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ff6d13f2ab87f157d3ee0f3be6debc2eb3943951 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/225ff60845594dc6561408829ebd06b61cc01872 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8960fa352f5320e87654127ca96165220868ac1c | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b0c68e7fdd84c94e2a5166b3ad33c880ebe4eb96 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/adbbab40df30e62d28138eb055375016580f1292 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bb68f13d1794dbb20ab2f40ebaaf9d0408af6eb2 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5f36319e99ccb94967587b43922f790b9db89467 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c05bd35e5335aa763967c320b170b377137acd86 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/67264f525acbe55b9eea74a225ae58ea04633209 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2954415fd192822856388fc8b3626860f5efc231 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0f6e2b4621b284bf9d62314549bf253429931e89 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/74acad079e18041ae4cac1aa94ce74f604dd879f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1af434e6e7d2ee014fd5544a5bccd964e840cddd | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3698d83294f9d04824fe4468f0f3b260c6410599 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0d6f0d4d6713d7b15c27a59c568e713f721bedb8 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4077d0e60ef3a1b29638a5a7810ae29622eb6cf2 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4c2b08a8835c6c5911d414e435f376afeee80606 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2eeb9fba5f71e0383148cb919a8e18baf485713a | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3cb2de05ba6c6cb670837f1b90b80093a2fb71cb | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7f6743c89298ee7cb26159b196d863fb644a2316 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/59a0d24eaff42cb13db68aa5c4da7d2282403dac | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f073dd684186306d920ccdd7424c5b6a00721b27 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a57107a9c757b108712e5268359749a83987e586 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9df22e9333336eaadbd9ad206a988472bea50787 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bfc1ac350b959afc828d4b3eedc4444b8e25634e | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7b5dbe6c8c5d894e33ea4b3a30252d56794d6dbc | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2bef37301ad3eb6dc85e2c755086f9e6c702936e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/665b49f94e500551f20e3a87ea24ad7fd235046f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9506a8e3b11543601d65a71a5a96ae8cd88d5290 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2e258b21e8b0d3cbebf2583d71824af1a20730c1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/81b5a92c810fd420a39951c0ae330e9d04098135 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fa43042957dc46409b9b7407485af0db59373695 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/addd4aca4c4f6ab8d678fbb17b4aa7b39cc40534 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/89148b5bff91b39286903201a2d2c2d1edb3864b | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/883fe1d90d47548ee3b67be0b7fac45539533336 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ab56927bedd2e1f14c716ed70792c66e0d63dd06 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ecf7e8b0faa1e100e969826e297c46a2827f9e80 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5f4fdf01628d60107a65d72ea481ef66b663802c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/98039f803fe86bda0c2323c1aa79a2fa181df0ee | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0facee0a56884277f995ccf4ca3b7262a78eca9c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ec9d0c3189853e27b36e4884d4cea15cf4a77379 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e4ed2685799cb8a2524f7b620b5b96ae0ed9b004 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/20441a1f4559ce53a457b3995cfec5c91dec72a8 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f27cca3241a237d7be96e104a9eeb90340b2ea6f | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e3066b4be70b0595cbf8ac6eca419d2e333e9dee | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5e9500ddb431766a158abf14deb448a33b20b6e8 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/117cd569a19143f92a1410aba71c086bcebff683 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ecc0c0a495585dda9dd89ff4da5a3433b0e4969e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/42d8cd62f538036494669a40a177c0f134e378fa | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/6b6fa3b4b222263a926d01bb18228485626f6041 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/b2fd4bbec546894dff9d51f34fa0fbd57206ae37 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/21ba978b9b908ff442dadbccc2f619327bfbdf58 | ORPH i686 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/60d55a0c8e7e1c60419b9a3d87a05989cca83a3d | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0c1ed40d9b0756933b9837dd638d35533928004a | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8c867da942155b832ccb17cd4a2f9fe7f36e0e9b | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/86f7e890107cc686e5a19349252a37ec5a698984 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1e66c0eeed4d5c1714b6051e5aecf4f041f1ad9a | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/09677c0ddecd7a698a9ffd500d0b6d4bd94858e9 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/30c2ed49fb94b99551d212b2d4309ab046da920c | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c6ee7699e03abb9dc3fc95eb49e4240224897031 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ba05a6cab63a1a321533968b8009a7eb3e12c5b7 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/afe71dac2a6021e3646363bb8e357cc17ab86b45 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e5064e3d1547fe65905e0ca8666d533815fd11ee | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bbbb111f78943b6bcf3a4baf320bce738c218840 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8471826c26755ccfc43106ebd5684a53292f4857 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/329d7448574f772d442d0b33967cf5108c67dd56 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b32f336672641c0e13ea99c0dce4968c26082cf9 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b4bf58186620f44b8b01eb4aab1c4d5d1b2d2754 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/443c97eb2d057413ddeb2df3e833c325cdf3a59b | powerpc | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/66d2c520aa8902d55cd4bc3e468af86fab551370 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/078e94c84666f2a721d51c04e8b0447db740b3ec | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a9261f6b55f4818504744774a49eecb99215e983 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd3e568d7bb5ba716a27a49960a5487fe614deac | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/902e32482bf9354aa685b795554711b0ccd7ffae | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/378cec90fc22ab8744a0f34fc84469718a945b1e | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/124750a289989297b12a7bff21a9b1dd3903f037 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6ffb59ab22a581c9b5d01b31ae44303cc86d3a99 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dabf8013bb067083c5e2c7ba8fe743d122b1c3c1 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/65cb69e1c80f0eab26534bb3a1381a1d67ef6ef7 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fd33b8ac7a569dc100eacf7444bb2fcbd4aad00f | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b02f34c9a9a95f16995f81f1cce7e11499b0af65 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0f40acb6874707d94f1d9d9241b5b47ba4cf2e97 | microblaze | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f5f25fcc1f0fd7815e16d682fa2c61b093e1626c | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/1a17ac25ad155400af67f048bff2741f4df27f13 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/a2dd03897da4bc819cae436afa6a06b45efa8a34 | riscv32 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/4f25ba563e33c4f14fe43352ca54a188ac8d2321 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5be69add741e8247779ecbd74c1f2d95d8de9671 | powerpc | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/11a175b3ade4327853fc75dc317d79fb13f3de3b | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/d6bd6220a177c3e3e04219d24b29a1a3151fcf2b | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/729cd7874a2c73b14143a47a95626a8520124c79 | i586 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/ae091c7c285d0e46bcd550a5877805d11894ffea | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/7b2e44c3ecd3f1f815f1ac893c0c7b3dd95d7321 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/85008cfeca460e9090bea8c729a690360d27d297 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/7973126760ebe8f5fd95ef588718c22cff0d4f83 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/fdc8c28a5543c00f1b44c4cb8f799d33bcc2f017 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/758c134c6bc5f0c45aa240ec2545e0eaeb707e82 | arceb | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/931255b9c1f56e84eb2898ac13d83049f4de145c | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/ca35e49506b7b7dc391185a8be96dea4c2a6b9a7 | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/381950e4f692eb3e99091b37540dbe020a26613e | riscv64 | host-m4-1.4.19 | NOK | http://autobuild.buildroot.net/results/4a574697bb112229db7ebe1051499ee720233a9f | ORPH x86_64 | host-rust-1.58.1 | NOK | http://autobuild.buildroot.net/results/d4ed3d3d8cee7c113cfd9ab6fad532d238f6a4f0 | x86_64 | host-rust-1.58.1 | NOK | http://autobuild.buildroot.net/results/92a17f1671ce51e5fc8cd23c5993e356891d3076 | powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/f2f31c7ce227e53fee05f5a01c271a63e742bc94 | ORPH s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/be6acede6bcbfb03f1e5fe4020c333f8db668b8f | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/145bed85d1a68e1f69525f401d04956ce001e80e | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b46385593f7f6454d70bc809aca29518d7c6f8a0 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d9804b30f039560755fd64821dd6478818ed9450 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/95bb78ff8b4ab771076f68249f7a84ce7e873f86 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/1e3a3b5fd851acee5dbd9d7ae588b57b304c9a25 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8e2a5981f405b761ad86d777aa9dcf7d7baa7cfc | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/de77d9ddceff4e31bbc59717908e3dec9eb0eb07 | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ec0098888f29c69931ef92d818374f7d94d149ff | ORPH s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3f2521046b2cfaff48ca62e9967bcb60652701fc | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2ffefb910774010a468aca87d2faef527d08cbcd | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fb52d22d4c2295080097ca726ef0655e75237a29 | ORPH mips | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d54301bb924cc8ce137c1528f8ce6e87f0378877 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7a524f05cf6545ff24c3564ef18431bc6cb2e373 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/4c585425fb2f2db4be171ccda4db340fd11a401a | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8b1eb3ae7055cd8efb4bd9d5b3cb77168c652fca | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/4f434f94f7a598c348f3410a604e92a5338f6bd4 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b91d95fad9720cfeecbb3761e7918460affac4f3 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/089d73af84f2b21f30f085356e0c24026fab39b9 | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/334564e858fa8befccb6068da106837f8c69d635 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c3f5611722f805eaeef8ccd655cbd569262b4faa | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/49222159bddd025d4749fb004630d703d9c02684 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a448d5fff04bb6535d39341af4927cbff8d843a5 | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/eed81ef3ec169ee6eb5ae46417ccabf669cdfae7 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/9a1ea47a95e09a2b0ec4fb6005f6c6628500c13a | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b973e77c92f44bb301e9d8f2358ff4c56625de40 | ORPH s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6514d147ce56b8ef773a32a1dae2b23900b642ae | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fea184f042c67e5b883d88af0a93b2d0131abe06 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6b5ad743f202d5c9e23b9a97e28c19424eda59b1 | ORPH i686 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/1807004c4a3a5ba2bf8c12569b25c86d490e97ab | x86_64 | intel-gmmlib-22.1.2 | NOK | http://autobuild.buildroot.net/results/4e7f6cc999281f9620eb0b31a0a0840c49979ba0 | powerpc64 | kexec-2.0.23 | NOK | http://autobuild.buildroot.net/results/9a7a9a96f28239f62839a4c0194411b9254cb058 | ORPH sparc64 | ktap-23bc7a4a94bd9e4e1b8b7c... | NOK | http://autobuild.buildroot.net/results/501cfcb1439741632c34681a3c351192abf3cb77 | microblazeel | lftp-4.9.2 | NOK | http://autobuild.buildroot.net/results/c7dcb37548dd95ed4ef686b07f4ba356c1e366c0 | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/83c1595f76b0990b2acd592db9f6f3809875f8e6 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/1593a44b07893373ebefe4ff5722e0789882f525 | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/e59b4204b1f0d69311d00bfdc14ab3999110e5fd | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/4ae0b32647adb7d5364da486c7ab3aeb4882688e | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/03ef48dfb3724154f991f12066991824f62d5583 | ORPH powerpc64le | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/e7da0826a4b1013bfa2bac15d103e3269a94e41e | ORPH aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/61288dfff48a1f8af2cd52eb1df50ce6e17d286b | ORPH aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/02fbd3ce7c45e5926bb080c8cbf102269c156126 | ORPH sparc | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/2cd1fb97efffd0458b669a533bb03a8e389b9c2d | or1k | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/bf7fc1e62f157c094db048c9aa73dd78e27840fd | riscv64 | libndp-1.8 | NOK | http://autobuild.buildroot.net/results/27891ae7a772d5d2639529dfb108e496815c9812 | mips64 | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/e27008fd25d81230f696487f7a4c6c9bd255ea7b | powerpc64le | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/828ff032a70adc0917bb808268bc5e246b2a1d7e | x86_64 | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/32ffa119c4c9e2ad3d5c302bfc41eb1d655f7b0a | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c98bf8ed1316d0ecf8f87330d594d4b96d0bebe5 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4ff5c701b186ce4a7486757b09bd808e74b1f973 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/f17f15e4292d3e41c48dd77f263e28d08b6a2ca1 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a3d08830e3e1b58613e58de451a494174dfbe43d | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9d53c2e93e61dced74f8d4564bba6759ca502b38 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9f42c0a3fd27234c4b095b9d20eef259d080de9c | riscv64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2577ebec2040733c29256caf9a1ed4a540f362a3 | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/675f472a2b9f2abcd4f7b0c2a493e8932f9dc17b | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3a9e287f70a0db26760a6af36aabc6ed671d0ada | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3dacf750379a4b1e931373eb74d2f548acee6e63 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/1e816f326311385dd462036680e4248f17315902 | mips64el | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/c9aa2900bc62b0381be6a7175056e76f16d92592 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/1a2d20b06f28cd86008b1762dff7fbd3a44f87ac | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/aa06aba8b1044ef783abafed599f4ed2c6f1f9f0 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/1875c1efb5aca1d746a0a1008b4e0b2306777ac4 | ORPH xtensa | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/37d6a6845d23c47f828f8c296b258a44b79e4ee6 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/27d57b1dca85835830a0ccb16fa1c77cbfb8e5ab | ORPH sparc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/5ea94ecaccfc19c7cc6847dddcfe701ffde3715e | ORPH powerpc64le | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/16092f4dbd43e8bd7ae27abd627ae8684c81312e | ORPH m68k | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/6f08c26d64fe0b470187a959d1dd9e8de5fcf4ff | ORPH nios2 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/a7dd32eb3f79387b348bcb0c2e5916e9fcea0176 | ORPH sparc64 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/32648be0642c784ba6af68d57dbab718baa284dc | ORPH xtensa | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/c686c6a59bbeb599043f297bea684d074dfb13cd | ORPH mips | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/c66a4ea79545827c864128420b6bf50d60c52216 | ORPH or1k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/e588473ed237074c497d7435a3aa5b743d36a868 | ORPH i686 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/72c37f9d918daaa59746452d632af3b03d1dd400 | ORPH xtensa | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/95b58bc80e8bddedf3a0e5d2e86eb5987fa9d71f | ORPH x86_64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/438113bbef78e072e5d5e2ba9c62c4e5b66289b9 | ORPH or1k | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/6f8801e40829ea97641ebe7251ff96f043a42072 | ORPH m68k | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/8de7b0e611e92958b5db2c9d8570a8895b28b988 | ORPH mips | linux-tools | NOK | http://autobuild.buildroot.net/results/1ffc04692e6876ba03b366b1d8aa880324202236 | ORPH microblazeel | lttng-babeltrace-1.5.7 | NOK | http://autobuild.buildroot.net/results/88d4fa34323ead702518540dfad6cbcf8c7080bf | sparc | lua-cqueues-20200726 | NOK | http://autobuild.buildroot.net/results/725dc3908f3f974864943a6ef3ae2d9c5a24ccf9 | or1k | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/3904bd6bad405370f27576103f7b59c5d7387656 | aarch64 | monit-5.26.0 | NOK | http://autobuild.buildroot.net/results/c2e706c00eb1ccc86fcf306e723eca03706e17ab | sparc64 | netdata-1.21.1 | NOK | http://autobuild.buildroot.net/results/1d597bd9b6a6a7ee82fb9d75fd4fbed5d947cdbc | riscv32 | netdata-1.21.1 | NOK | http://autobuild.buildroot.net/results/897d6f1425a645667b884739b2ee6f588fd06972 | mips | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/b27a2a884c36666f29c0b863db10059b6359e786 | mips | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/06db28ac6f8eb2011899fc473866f312b1149651 | nios2 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/964d1f9f05093843403c8383fd1902d84299e5bc | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/1fdf6d0e64e3354419b58d64387d84c1fd922725 | riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/471907944d0b0966bf91067748a634cde05e7297 | ORPH mips64 | openblas-0.3.20 | NOK | http://autobuild.buildroot.net/results/f90cd8b506dad53e32db711bc9ae84db8e4577ab | ORPH arm | owfs-3.2p4 | NOK | http://autobuild.buildroot.net/results/9adceef5daab3607f9103af996d7ab22956c8bc1 | x86_64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b775662679b94bc3b66dcd1b5093065d5c014257 | xtensa | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/f61cfeeb6d20a980411ed701300d8674b9b0afbd | microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/731358b2f9969368f3b94804a22efd0919b77d7d | mips64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/43696eda9e22886c87c1dd47a5d46bcadc1846b4 | mips | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/641eeaf88cd9ae1e463be0283845147f697a9a2a | mipsel | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/fb70a9166440e227e5d3bcf4313fa7f72e600cb2 | mips64el | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/595adcd925837d461e91ffcc6a84dc67c5621465 | nios2 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/e1d4f2721aba4cb9148a9706db75798299ee0014 | mipsel | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/d40e3b82bf4871ea75eeebb5db6ef025bd699da4 | x86_64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/e80793c125acfa03cb8ac53654a993ef339cf8d8 | nios2 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/29dea406b0d58225d9b9fce9ade6377aeb411be8 | powerpc64le | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/aae56c25d2947070b0008d7bc6786ed1620bb425 | nios2 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/c17b6cf0105b38f3cc307bd4ba82e34615486a1b | s390x | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/64419b464bff29d5bd8af4bca44f3f4b5b516ce0 | nios2 | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/e8b23fcf06c7d7b8220026fb77f331c39ae3a50f | arceb | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/ab3f6971fa09d5e3ac8467406a93bd71e2e5acbb | mips | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/f7dfb1e5af8fd7805f6721fc5917f1efd5b00568 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/19e8c5955cc137930e3b01b91fc055b688436856 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/7379ac855f82aad82a9993fd00698e62b5d861aa | mips64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/ef2d20804b1aea5e77096bdaecc497022bc29a0e | powerpc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/30abc4983c060623f2e4b9631205be99e521e7eb | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/7ae24367012d9ce702b8a99fe20636d7d834bf9a | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/135b364873042a953a667210c68318bd26212c6e | xtensa | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/76ab44a373072f9feec8c6a01ade2ab877093cbd | s390x | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/3cda255885ab5f9073bd0873e2ff443e1d070e49 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/1a56d6224d0c224e561bf598efe00ea03ad06206 | arc | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/7bf05fb0208fa09543f841ec6e7adc6e4d984b0c | aarch64 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/b096ada6f27a8bd4962cf0ddb2d19973a9ce6861 | mips | qt5webchannel-fa8b07105b5e2... | NOK | http://autobuild.buildroot.net/results/4a9a9b9702380e4fde76897cbbaebfb722b93506 | arc | qt5webkit-5.212.0-alpha4 | NOK | http://autobuild.buildroot.net/results/b1d11e8dc1f646c0d766cbc20e18f7de9d794411 | arm | refpolicy | NOK | http://autobuild.buildroot.net/results/18ba6882362f39f8b0e9b73965eaecd7c038a321 | i686 | refpolicy | NOK | http://autobuild.buildroot.net/results/e2dd0f4df65a40fea59f870fa5926eb97c30b6a6 | m68k | refpolicy | NOK | http://autobuild.buildroot.net/results/48ba7c9b9183ae6ae4add1f54494f939faf2305a | nios2 | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/27471a878ff52a972ac087d534e44fb0c50808f6 | mips64el | shim-15.4 | NOK | http://autobuild.buildroot.net/results/2ce02ccd130816a27cc00bf9406e0596ad52af47 | mips | strace-5.16 | NOK | http://autobuild.buildroot.net/results/0760546595f7334235ab029384658447fa8ca427 | s390x | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/1216dd279742bd568d1e90ab23617a421ffe12c6 | microblaze | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/94d3e999dad5bbea2fcbeb80c980126a2fcc4592 | microblazeel | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/5a83f80b5f3a65d462dd0ada0563bd03fe5a59a6 | sh4aeb | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/cb0647b495f3ab226fd89eb1f275337f53ac37eb | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/2a236985834ed604016e3af26d90cef909a490bb | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/934c057abf8c160f5bf1a9e620c5fda3b2a10039 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/24f1c113c08eb6a850d298dc284f8360c2a5ee32 | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/0a445f0e41deae5124c4aa6b199906f018876ab4 | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/fe080a6ac4e4b11e9d3f8ad596896c2d1214be16 | ORPH i586 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/6d8b777ccd64b77fc27168afa9fbf3ee34a9531f | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/406f927e0ec5c883fadbaf5d99a5999a0d15cf42 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ff2771f4a6e2ad9fdb123010663a71fd2e8cddc2 | ORPH mips64el | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/d0f4614450e3332bf5e9362b93cb224591baf664 | ORPH arceb | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/607131255453da2dc0dab20a24264b3e74001525 | mips | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/f922a4ae0052788e5714eb7701d24d7d09c7ebcc | i686 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/a1c494a619dc1e6252aa3d6a664362a079cb23fa | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f6cb187c6943f20c4d5e59378c8bcfe0f4471daf | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cb2a9b9f62077caa9c0b3173a841109cf0f41924 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/5e4a8d4d93365fa9a6a4feb86e0b632b7d912c96 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a43dea877b37b1dd9a22ee9c23bc0b41a58ca826 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a81568949187976dcddb53fe2c97d3a2d71f6f1c | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f4cd866db6cdb5564cbe59a4f5d16b3d9069d491 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/554788c1c6fc1c77fc91b325c191a1fccb2cb2a7 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/432ef119d9f1167ef9cc8e2d27ae104b0e71b2f8 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/141b10811d7f2ca7869858872bb7532fa667f0b8 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/28cbda3ecede075edc691696bf6f841cc72ee0a8 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f3d7c4baa75b684b35998271372b877a65794b76 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/86122f17c5dc307736d3d9a18e6972901d4eefb6 | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/3964e1d8e5a7ff32cd01928be2e7c1f47afa20a5 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/ce68892e950bc8a02dcbee0b4379962a9f479efb | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/98e0fd0d2a2f1a1526ca90257d1aa4a3ac43aa65 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/323a4cfd00afcfb9c253d45ff54d8dfc5c03d98f | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/a5e1ce60c0e96e149c388ee9530a8a2f90b0adb4 | m68k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/9307aa8e5c7cd878e20958f6ff6a24855d2f3aba | ORPH arm | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ef57c61270bc887bf3cf8338a89b9342dbfc9c09 | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/1cf9de7521ceaa1fb67e70867c10c5acc449028b | ORPH mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/769a4b13c24414502f5efcea4aa6fb4f7f2f613e | ORPH mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3af1dcb75d028fa72d9f35b361300274450998ef | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/f6cf93562b58f789bc77271f15b8270abdd2bbe5 | ORPH sparc | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/af341f3b8f8183a396afc2210c7ebcf84cde99a8 | x86_64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/63ea8f53a1e3a342a8dc37314db8b1c93c79dfbc | x86_64 | xdriver_xf86-video-nouveau-... | NOK | http://autobuild.buildroot.net/results/325d4c0fa7e2cb41e4a8865b0b973373613da8fd | sparc64 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/7b5097debe6a774a5a1fdb4b8c2a9595883ed09c | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/050b157188bb821ab8c8998d5b636066d4c2873a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/98fa23efb1f9c8ecb41cf1bd233a62ff71d2ec15 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4b134036c5a244f465e697f7d1c23f90e20f92e9 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f4f31ac6624315ab4a8584aa064445b5de55473e | ORPH Classification of failures by reason for 2021.02.x -------------------------------------------------- zeromq-4.3.4 | 2 boost-1.75.0 | 1 exempi-2.6.1 | 1 host-sentry-cli-1.57.0 | 1 libcurl-7.79.1 | 1 openal-1.20.1 | 1 perl-net-ssleay-1.85 | 1 unknown | 1 Detail of failures for 2021.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- aarch64 | boost-1.75.0 | NOK | http://autobuild.buildroot.net/results/d8569d41cbfa52a99902b6f9392f9481d31fd940 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/5b5b1a2d70547c4159124c058704952c1428b247 | microblazeel | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/819844ea312f13981ac78a469bf527c0c5080a94 | i586 | libcurl-7.79.1 | NOK | http://autobuild.buildroot.net/results/3c0ef203d0720e35802ff6cefaa17c17a6f2bcac | or1k | openal-1.20.1 | NOK | http://autobuild.buildroot.net/results/d230fca18b26d4db5830fbf21de25211326e6c14 | riscv32 | perl-net-ssleay-1.85 | NOK | http://autobuild.buildroot.net/results/83d60f0c38c4797c409a7ea0187b8cdb66855807 | arm | unknown | NOK | http://autobuild.buildroot.net/results/1c480cab3775d86bf7dba2f2155ebb719244c898 | or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/a29e793401263bd0f785ed28f60ac1e21230c821 | or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/3e0827be57af38889631639b7a7f10b31bc2065c | Classification of failures by reason for 2022.02.x -------------------------------------------------- dhcp-4.4.2-P1 | 2 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/959275e5328ee7a586d2daa868df260fffb817e8 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/038c5a7b9776d9c2b532d9600cfdc4f5b1a070b6 | ORPH Gitlab CI results for 2022-04-07 ================================ Detail of runtime-test failures for 2021.02.12 ---------------------------------------------- runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestInitSystemBusyboxRw | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514578 | ORPH TestLuajitLuaPosix | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514672 | ORPH TestLxc | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514685 | ORPH TestPythonPy3Django | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514776 | ORPH TestRust | https://gitlab.com/buildroot.org/buildroot/-/jobs/2300514906 | ORPH -- http://autobuild.buildroot.net From ambi at samba.org Fri Apr 8 07:09:21 2022 From: ambi at samba.org (ambi at samba.org) Date: Fri, 8 Apr 2022 09:09:21 +0200 Subject: [Buildroot] [PATCH 2/2] package/openjdk: enable for host architecture aarch64 In-Reply-To: <20220408070921.1786-1-ambi@samba.org> References: <20220408070921.1786-1-ambi@samba.org> Message-ID: <20220408070921.1786-2-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in index 8b7fd4653e..8fbe51a27f 100644 --- a/package/openjdk/Config.in +++ b/package/openjdk/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS bool default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "aarch64" # Taken from make/autoconf/platform.m4 config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS -- 2.27.0.windows.1 From ambi at samba.org Fri Apr 8 07:09:20 2022 From: ambi at samba.org (ambi at samba.org) Date: Fri, 8 Apr 2022 09:09:20 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 Message-ID: <20220408070921.1786-1-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index bbc939d4e8..58bb646b45 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz +sha256 f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz +sha256 a77013bff10a5e9c59159231dd5c4bd071fc4c24beed42bd49b82803ba9506ef OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.13_8.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 266c93d363..efe90f6e97 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,17 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 endif + +HOST_OPENJDK_BIN_HOST_ARCH := $(shell uname -m) +ifeq ($(HOST_OPENJDK_BIN_HOST_ARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOST_OPENJDK_BIN_HOST_ARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -- 2.27.0.windows.1 From peter at korsgaard.com Fri Apr 8 12:40:34 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 08 Apr 2022 14:40:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: fix build without pod2man In-Reply-To: <20220401170255.540939-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 1 Apr 2022 19:02:55 +0200") References: <20220401170255.540939-1-fontaine.fabrice@gmail.com> Message-ID: <87o81bu4sd.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > udpcast unconditionally build manpages which will raise the following > build failure without pod2man since at least bump to version 20200328 in > commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: > sh: line 1: pod2man: command not found > To fix this issue, rework how udpcast is built and installed to always > build and install the sender or the receiver and never build the > manpages. As a side effect, this will also avoid to install the unneeded > rateGovernor.h > Fixes: > - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Apr 8 12:40:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 08 Apr 2022 14:40:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl In-Reply-To: <20220401165722.540239-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 1 Apr 2022 18:57:22 +0200") References: <20220401165722.540239-1-fontaine.fabrice@gmail.com> Message-ID: <87k0bzu4rx.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libdbi-drivers raised since bump to > version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: > configure: error: Package requirements (libpq) were not met: > Package 'libssl', required by 'libpq', not found > Package 'libcrypto', required by 'libpq', not found > Fixes: > - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Apr 8 12:39:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 8 Apr 2022 14:39:14 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/postgresql: fix pkg-config without openssl Message-ID: <20220408123554.164148371A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ef40ad9e3c22b7ff5d42d4c1583b4a6c15870e81 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libdbi-drivers raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb: configure: error: Package requirements (libpq) were not met: Package 'libssl', required by 'libpq', not found Package 'libcrypto', required by 'libpq', not found Fixes: - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit e3b8d098e4809f4cf20d88cce3d00479da25bfa6) Signed-off-by: Peter Korsgaard --- ...0001-libpq-Fix-pkg-config-without-OpenSSL.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch new file mode 100644 index 0000000000..90b0577a20 --- /dev/null +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch @@ -0,0 +1,34 @@ +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 +From: Peter Eisentraut +Date: Fri, 1 Apr 2022 17:12:56 +0200 +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL + +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. + +Author: Fabrice Fontaine +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com +[Retrieved from: +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] +Signed-off-by: Fabrice Fontaine +--- + src/interfaces/libpq/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile +index 89bf5e0126..b5fd72a4ac 100644 +--- a/src/interfaces/libpq/Makefile ++++ b/src/interfaces/libpq/Makefile +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport + + SHLIB_EXPORTS = exports.txt + ++ifeq ($(with_ssl),openssl) + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto ++endif + + all: all-lib libpq-refs-stamp + +-- +2.30.2 + From peter at korsgaard.com Fri Apr 8 12:39:35 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 8 Apr 2022 14:39:35 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/udpcast: fix build without pod2man Message-ID: <20220408123554.23E70836F7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ac463b65f3e57fcdd0340be47e97bb7d4838643 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x udpcast unconditionally build manpages which will raise the following build failure without pod2man since at least bump to version 20200328 in commit 4fb91d8b9dff314fc53438144f843b3e3ceaacaa: sh: line 1: pod2man: command not found To fix this issue, rework how udpcast is built and installed to always build and install the sender or the receiver and never build the manpages. As a side effect, this will also avoid to install the unneeded rateGovernor.h Fixes: - http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit b49e3da1abf3a6c8affac08089311fc6590f54d0) Signed-off-by: Peter Korsgaard --- package/udpcast/Config.in | 2 ++ package/udpcast/udpcast.mk | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/package/udpcast/Config.in b/package/udpcast/Config.in index ef94b30a99..cc38c6e57c 100644 --- a/package/udpcast/Config.in +++ b/package/udpcast/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_UDPCAST bool "udpcast" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UDPCAST_SENDER \ + if !BR2_PACKAGE_UDPCAST_RECEIVER help A multicast protocol implementation which happens to be very handy for imaging drives over the network. diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 34ebddd2d5..4c151bb41f 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -9,23 +9,15 @@ UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ UDPCAST_LICENSE_FILES = COPYING +UDPCAST_TARGETS = \ + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) -define UDPCAST_REMOVE_UDP_SENDER - rm -f $(TARGET_DIR)/usr/sbin/udp-sender - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 +define UDPCAST_INSTALL_TARGET_CMDS + $(foreach f,$(UDPCAST_TARGETS),\ + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) + ) endef -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER -endif - -define UDPCAST_REMOVE_UDP_RECEIVER - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 -endef - -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER -endif - $(eval $(autotools-package)) From br015 at umbiko.net Fri Apr 8 13:22:59 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Fri, 08 Apr 2022 13:22:59 +0000 Subject: [Buildroot] [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages In-Reply-To: References: <20220331132230.227424-1-br015@umbiko.net> Message-ID: <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> Hi Arnout, Thank you for taking a look. On 2022-04-04 17:38, Arnout Vandecappelle wrote: > On 31/03/2022 15:22, Andreas Ziegler wrote: >> Background >> During configuration, the meson build system tries to determine the >> availability of optional dependencies using (host) pkgconfig and cmake >> in that >> order. If a library does not exist on the target, pkg-config will >> fail, but >> cmake sometimes finds and reports libraries that exist as host >> packages. This >> has been observed for host-expat (cmake dependency) and host-zlib. The >> link >> step subsequently fails, because necessary files are not present in >> the target >> architecture. >> >> Unconditionally disable optional features often found in host binaries >> and >> modify the menu selection processing in mpd.mk to re-enable them where >> necessary. Currently this concerns expat and zlib only. >> >> This fixes the following build errors: >> >> [expat] >> /home/data/buildroot.x86_64/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.2.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: >> warning: libc.so.6, needed by >> /home/data/buildroot.x86_64/host/lib/libexpat.so.1.8.7, not found (try >> using -rpath or -rpath-link) >> /home/data/buildroot.x86_64/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.2.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: >> /home/data/buildroot.x86_64/host/lib/libexpat.so.1.8.7: undefined >> reference to `__errno_location at GLIBC_2.2.5' >> >> [zlib] >> http://autobuild.buildroot.net/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ >> >> Signed-off-by: Andreas Ziegler >> --- >> package/mpd/mpd.mk | 11 +++++++++-- >> 1 file changed, 9 insertions(+), 2 deletions(-) >> >> diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk >> index 12da36098f..4e67c9428c 100644 >> --- a/package/mpd/mpd.mk >> +++ b/package/mpd/mpd.mk >> @@ -14,6 +14,7 @@ MPD_LICENSE_FILES = COPYING >> # these refer to the FreeBSD PPP daemon >> MPD_IGNORE_CVES = CVE-2020-7465 CVE-2020-7466 >> MPD_SELINUX_MODULES = mpd >> +# These features are either unwanted or not selectable via the >> Buildroot menu >> MPD_CONF_OPTS = \ >> -Daudiofile=disabled \ >> -Ddocumentation=disabled \ >> @@ -21,6 +22,12 @@ MPD_CONF_OPTS = \ >> -Dpipewire=disabled \ >> -Dsnapcast=false >> +# Explicitly disable features where meson's dependency detection >> picks up host >> +# libraries. These settings can be overridden through menu options >> later >> +MPD_CONF_OPTS += \ >> + -Dexpat=disabled \ >> + -Dzlib=disabled > > It would be better to make these automatic conditional dependencies, > like it's done for ICU. Good idea, but inclusion of ICU should be initiated by Config.in, like every other feature. >> + >> # Zeroconf support depends on libdns_sd from avahi. >> ifeq ($(BR2_PACKAGE_MPD_AVAHI_SUPPORT),y) >> MPD_DEPENDENCIES += avahi >> @@ -300,11 +307,11 @@ ifeq ($(BR2_PACKAGE_MPD_UPNP_PUPNP),y) >> MPD_DEPENDENCIES += \ >> expat \ > > That would also allow to remove this (it will be done implicitly > since expat is selected in Config.in and the automatic dependency will > add it). > >> libupnp >> -MPD_CONF_OPTS += -Dupnp=pupnp >> +MPD_CONF_OPTS += -Dupnp=pupnp -Dexpat=enabled >> else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y) >> MPD_DEPENDENCIES += \ >> libnpupnp >> -MPD_CONF_OPTS += -Dupnp=npupnp >> +MPD_CONF_OPTS += -Dupnp=npupnp -Dexpat=enabled > > This is wrong: no dependency on expat is added so expat may not even > be selected or built at this point. Actually, the dependency is inherited from libnpupnp, but you are right, this handling is not intuitive. > Marked as Changes Requested. Outline of the proposed next version of this change: [I did not want to make so many changes, but you are right, it makes sense.] Separate logic from implementation: Remove feature dependencies from mpd.mk and put selection logic into Config.in exclusively. In the makefile, a feature is responsible only to select or deselect its configure option and, if this feature relies on a library, add a dependency on this. Duplicated selection logic in mpd.mk will be eliminated. A build dependency will only be added if it is present in the mpd configuration, and not be inherited accidentally from concurrent packages. This impacts the following features: expat, id3tag, yajl. id3tag already is half implemented, but not used consistently (has an option entry in Config.in, but does not select this, but handles dependencies individually). expat and yajl would be created as hidden options without visibility (no user interaction necessary). Separate vorbis decoder and encoder options; currently the decoder feature BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis encoding, which is probably not intended. Create entry 'unicode' for ICU in Config.in. Set zlib to disabled (not used currently). Thoughts? Kind regards, Andreas > Regards, > Arnout > >> else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y) >> MPD_CONF_OPTS += -Dupnp=disabled >> endif From nealf at xilinx.com Fri Apr 8 13:49:23 2022 From: nealf at xilinx.com (Neal Frager) Date: Fri, 8 Apr 2022 13:49:23 +0000 Subject: [Buildroot] [PATCH v1 1/1] configs/zynq_qmtech_defconfig: move post-image.sh to board/qmtech/zynq In-Reply-To: <18ef2499-bc59-7403-84d9-2cee63998ef7@mind.be> References: <20220331192030.3871720-1-neal.frager@amd.com> <18ef2499-bc59-7403-84d9-2cee63998ef7@mind.be> Message-ID: Hi Arnout, > Since you're not actually making any change that makes a difference between the qmtech and other zynq boards, I don't see the point. In the other mail you mention something like "because the device tree is not in mainline", but that doesn't really > change anything, does it? Other then maybe the device tree having a different name, but that's already handled by the script. > Instead of forking, it would be preferable to still use the same script and genimage but just make it configurable. > That said, making things configurable may also unnecessarily complicate things. It's a difficult balance to make. And impossible for me to evaluate without seeing what changes need to be made to the other zynq scripts. > So, for now I've marked it as Rejected. Feel free to re-post as part of a series that also updates the zynq defconfigs, or replace it with a patch that makes board/zynq/genimage.cfg configurable in the way it needs to be. I have found a better solution for this where we no longer need to fork the qmtech board to a separate post-image.sh. My new patch set updating all 4 zynq boards is coming shortly as soon as I finish my test and verification. Best regards, Neal Frager AMD > > Signed-off-by: Neal Frager > --- > board/qmtech/zynq/genimage.cfg | 27 +++++++++++++++++++++++++++ > board/qmtech/zynq/post-image.sh | 13 +++++++++++++ > configs/zynq_qmtech_defconfig | 2 +- > 3 files changed, 41 insertions(+), 1 deletion(-) > create mode 100644 board/qmtech/zynq/genimage.cfg > create mode 100755 board/qmtech/zynq/post-image.sh > > diff --git a/board/qmtech/zynq/genimage.cfg > b/board/qmtech/zynq/genimage.cfg new file mode 100644 index > 0000000000..67baca795e > --- /dev/null > +++ b/board/qmtech/zynq/genimage.cfg > @@ -0,0 +1,27 @@ > +image boot.vfat { > + vfat { > + files = { > + "boot.bin", > + "u-boot.img", > + "devicetree.dtb", > + "uImage" > + } > + > + file uramdisk.image.gz { > + image = "rootfs.cpio.uboot" > + } > + } > + > + size = 32M > +} > + > +image sdcard.img { > + hdimage { > + } > + > + partition boot { > + partition-type = 0xC > + bootable = "true" > + image = "boot.vfat" > + } > +} > diff --git a/board/qmtech/zynq/post-image.sh > b/board/qmtech/zynq/post-image.sh new file mode 100755 index > 0000000000..54c5493b4e > --- /dev/null > +++ b/board/qmtech/zynq/post-image.sh > @@ -0,0 +1,13 @@ > +#!/bin/sh > + > +# By default U-Boot loads DTB from a file named "devicetree.dtb", so > +# let's use a symlink with that name that points to the *first* # > +devicetree listed in the config. > + > +FIRST_DT=$(sed -n \ > + 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \ > + ${BR2_CONFIG}) > + > +[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb > +${BINARIES_DIR}/devicetree.dtb > + > +support/scripts/genimage.sh -c board/qmtech/zynq/genimage.cfg > diff --git a/configs/zynq_qmtech_defconfig > b/configs/zynq_qmtech_defconfig index 4db3f68b1f..dc3b22c876 100644 > --- a/configs/zynq_qmtech_defconfig > +++ b/configs/zynq_qmtech_defconfig > @@ -5,7 +5,7 @@ BR2_ARM_ENABLE_VFP=y > BR2_GLOBAL_PATCH_DIR="board/qmtech/zynq/patches" > BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y > BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" > -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qmtech/zynq/post-image.sh" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xilinx-v2019.2.01)/linux-xilinx-v2019.2.01.tar.gz" From neal.frager at amd.com Fri Apr 8 14:55:30 2022 From: neal.frager at amd.com (Neal Frager) Date: Fri, 8 Apr 2022 08:55:30 -0600 Subject: [Buildroot] [PATCH v1 3/4] configs/zynq_microzed_defconfig: bump to Xilinx 2021.2 In-Reply-To: <20220408145531.1641356-1-neal.frager@amd.com> References: <20220408145531.1641356-1-neal.frager@amd.com> Message-ID: <20220408145531.1641356-3-neal.frager@amd.com> This patch bumps configs/zynq_microzed_defconfig to Xilinx software release 2021.2 which includes the following updates: - U-Boot bumped to 2021.01 - Linux bumped to 5.10 - rootfs changed from CPIO to EXT4 - extlinux.conf for distro boot support This patch has been build tested only. This patch is dependent on the configs/zynq_zc706_defconfig patch. Signed-off-by: Neal Frager --- board/zynq/microzed/uboot.fragment | 1 + configs/zynq_microzed_defconfig | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 board/zynq/microzed/uboot.fragment diff --git a/board/zynq/microzed/uboot.fragment b/board/zynq/microzed/uboot.fragment new file mode 100644 index 0000000000..bc4dffaffa --- /dev/null +++ b/board/zynq/microzed/uboot.fragment @@ -0,0 +1 @@ +CONFIG_DEFAULT_DEVICE_TREE="zynq-microzed" diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig index 1bb11fee7e..f1f98086a8 100644 --- a/configs/zynq_microzed_defconfig +++ b/configs/zynq_microzed_defconfig @@ -2,26 +2,28 @@ BR2_arm=y BR2_cortex_a9=y BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xilinx-v2017.3)/linux-xilinx-v2017.3.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xlnx_rebase_v5.10_2021.2" BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed" -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-microzed" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_microzed" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xlnx_rebase_v2021.01_2021.2" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynq/microzed/uboot.fragment" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_FORMAT_IMG=y -- 2.17.1 From havran.jan at email.cz Fri Apr 8 17:39:11 2022 From: havran.jan at email.cz (Jan Havran) Date: Fri, 8 Apr 2022 19:39:11 +0200 Subject: [Buildroot] [PATCH 1/1] board/pine64/pinecube: new board Message-ID: Add support for PineCube with: - U-Boot 2022.01 - Linux 5.15 Signed-off-by: Jan Havran --- DEVELOPERS | 4 +++ board/pine64/pinecube/boot.cmd | 6 ++++ board/pine64/pinecube/genimage.cfg | 34 +++++++++++++++++++++ board/pine64/pinecube/readme.txt | 31 ++++++++++++++++++++ configs/pinecube_defconfig | 47 ++++++++++++++++++++++++++++++ 5 files changed, 122 insertions(+) create mode 100644 board/pine64/pinecube/boot.cmd create mode 100644 board/pine64/pinecube/genimage.cfg create mode 100644 board/pine64/pinecube/readme.txt create mode 100644 configs/pinecube_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index a66b9d7eee..d418a1af99 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1356,6 +1356,10 @@ F: package/pangomm/ F: package/rpm/ F: package/yad/ +N: Jan Havran +F: board/pine64/pinecube/ +F: configs/pinecube_defconfig + N: Jan Heylen F: package/opentracing-cpp/ diff --git a/board/pine64/pinecube/boot.cmd b/board/pine64/pinecube/boot.cmd new file mode 100644 index 0000000000..d8b62e0b4a --- /dev/null +++ b/board/pine64/pinecube/boot.cmd @@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait rw + +fatload mmc 0 $kernel_addr_r zImage +fatload mmc 0 $fdt_addr_r sun8i-s3-pinecube.dtb + +bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/pine64/pinecube/genimage.cfg b/board/pine64/pinecube/genimage.cfg new file mode 100644 index 0000000000..af175811ad --- /dev/null +++ b/board/pine64/pinecube/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-s3-pinecube.dtb", + "boot.scr" + } + } + + size = 8M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 504K # 512KB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/board/pine64/pinecube/readme.txt b/board/pine64/pinecube/readme.txt new file mode 100644 index 0000000000..7770bbfe42 --- /dev/null +++ b/board/pine64/pinecube/readme.txt @@ -0,0 +1,31 @@ +Intro +===== + +This directory contains a Buildroot configuration for building a +Pine64 PineCube. + +Board homepage: https://www.pine64.org/cube/ +Board wiki: https://wiki.pine64.org/wiki/PineCube + +How to build it +=============== + + $ make pinecube_defconfig + $ make + +Note: you will need access to the internet to download the required +sources. + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sudo sync + +Insert the micro SDcard in your PineCube and power it up. The console +is on the serial port 2, 115200 8N1 (check Wiki for board pinout). diff --git a/configs/pinecube_defconfig b/configs/pinecube_defconfig new file mode 100644 index 0000000000..1064167d8e --- /dev/null +++ b/configs/pinecube_defconfig @@ -0,0 +1,47 @@ +# Target options +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Toolchain options +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="pinecube" +BR2_TARGET_GENERIC_ISSUE="Welcome to PINECUBE" +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/pinecube/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-s3-pinecube" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pinecube" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/pine64/pinecube/boot.cmd" + +# Required host utilities for building an SDCard image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y -- 2.35.1 From james.hilliard1 at gmail.com Fri Apr 8 21:18:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 8 Apr 2022 15:18:43 -0600 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 In-Reply-To: <20220408070921.1786-1-ambi@samba.org> References: <20220408070921.1786-1-ambi@samba.org> Message-ID: On Fri, Apr 8, 2022 at 1:10 AM Christian Ambach via buildroot wrote: > > From: Christian Ambach > > Signed-off-by: Christian Ambach > --- > package/openjdk-bin/openjdk-bin.hash | 2 ++ > package/openjdk-bin/openjdk-bin.mk | 11 ++++++++++- > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash > index bbc939d4e8..58bb646b45 100644 > --- a/package/openjdk-bin/openjdk-bin.hash > +++ b/package/openjdk-bin/openjdk-bin.hash > @@ -1,8 +1,10 @@ > # https://github.com/adoptium/temurin17-binaries/releases > sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz > +sha256 f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz > > # From https://github.com/adoptium/temurin11-binaries/releases > sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz > +sha256 a77013bff10a5e9c59159231dd5c4bd071fc4c24beed42bd49b82803ba9506ef OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.13_8.tar.gz > > # Locally calculated > sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE > diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk > index 266c93d363..efe90f6e97 100644 > --- a/package/openjdk-bin/openjdk-bin.mk > +++ b/package/openjdk-bin/openjdk-bin.mk > @@ -11,8 +11,17 @@ else > HOST_OPENJDK_BIN_VERSION_MAJOR = 11 > HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 > endif > + > +HOST_OPENJDK_BIN_HOST_ARCH := $(shell uname -m) Just use HOSTARCH instead like this: https://github.com/buildroot/buildroot/blob/8f3cfe41961d83a9c01630f241bf045e3aa59b40/package/rustc/rustc.mk#L14 > +ifeq ($(HOST_OPENJDK_BIN_HOST_ARCH),x86_64) > +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 > +endif > +ifeq ($(HOST_OPENJDK_BIN_HOST_ARCH),aarch64) > +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 > +endif > + > HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) > -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) > > HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception > -- > 2.27.0.windows.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From james.hilliard1 at gmail.com Fri Apr 8 21:20:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 8 Apr 2022 15:20:43 -0600 Subject: [Buildroot] [PATCH 1/1] package/wayland: bump to version 1.20.0 Message-ID: <20220408212043.3856376-1-james.hilliard1@gmail.com> Drop patches that are now upstream. Signed-off-by: James Hilliard --- ...01-build-add-option-to-disable-tests.patch | 58 ------------------ ...002-meson-only-require-cpp-for-tests.patch | 59 ------------------- package/wayland/wayland.hash | 6 +- package/wayland/wayland.mk | 2 +- 4 files changed, 4 insertions(+), 121 deletions(-) delete mode 100644 package/wayland/0001-build-add-option-to-disable-tests.patch delete mode 100644 package/wayland/0002-meson-only-require-cpp-for-tests.patch diff --git a/package/wayland/0001-build-add-option-to-disable-tests.patch b/package/wayland/0001-build-add-option-to-disable-tests.patch deleted file mode 100644 index 5ecf100d64..0000000000 --- a/package/wayland/0001-build-add-option-to-disable-tests.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 88f1605a826ca0c2ff02be6f4cf9ecabf68e8341 Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Tue, 3 Mar 2020 15:27:51 -0700 -Subject: [PATCH] build: add option to disable tests - -When building for a product, tests are not needed. - -Besides, one test requires a C++ compiler, which is not always -available. - -So, add an option to configure to disable building tests altogether. - -Signed-off-by: "Yann E. MORIN" -Signed-off-by: Alexey Brodkin -Signed-off-by: James Hilliard -[Upstream status: -https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66] -Signed-off-by: Adrian Perez de Castro -[yann.morin.1998 at free.fr: backport from upstream] -Signed-off-by: Yann E. MORIN ---- - meson.build | 4 +++- - meson_options.txt | 4 ++++ - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index cdb66bc..714a86d 100644 ---- a/meson.build -+++ b/meson.build -@@ -84,7 +84,9 @@ subdir('src') - if get_option('libraries') - subdir('cursor') - subdir('egl') -- subdir('tests') -+ if get_option('tests') -+ subdir('tests') -+ endif - if get_option('documentation') - subdir('doc') - endif -diff --git a/meson_options.txt b/meson_options.txt -index de588d1..4433fa0 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -6,6 +6,10 @@ option('scanner', - description: 'Compile wayland-scanner binary', - type: 'boolean', - value: 'true') -+option('tests', -+ description: 'Compile Wayland tests', -+ type: 'boolean', -+ value: 'true') - option('documentation', - description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)', - type: 'boolean', --- -2.25.1 - diff --git a/package/wayland/0002-meson-only-require-cpp-for-tests.patch b/package/wayland/0002-meson-only-require-cpp-for-tests.patch deleted file mode 100644 index 84d0e4cf6f..0000000000 --- a/package/wayland/0002-meson-only-require-cpp-for-tests.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 4c2105312379b62dc84f6eaaf26e2ab293d51b92 Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Fri, 16 Apr 2021 02:32:38 -0600 -Subject: [PATCH] meson: only require cpp for tests - -Signed-off-by: James Hilliard -[Upstream status: -https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/130] -Signed-off-by: Adrian Perez de Castro -[yann.morin.1998 at free.fr: backport from upstream] -Signed-off-by: Yann E. MORIN ---- - meson.build | 2 +- - tests/meson.build | 16 +++++++++------- - 2 files changed, 10 insertions(+), 8 deletions(-) - -diff --git a/meson.build b/meson.build -index 12b4641..cdb66bc 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,5 +1,5 @@ - project( -- 'wayland', 'c', 'cpp', -+ 'wayland', 'c', - version: '1.19.0', - license: 'MIT', - meson_version: '>= 0.52.1', -diff --git a/tests/meson.build b/tests/meson.build -index a32ac50..2e11af4 100644 ---- a/tests/meson.build -+++ b/tests/meson.build -@@ -64,15 +64,17 @@ executable( - dependencies: test_runner_dep - ) - --test( -- 'cpp-compile-test', -- executable( -+if add_languages('cpp') -+ test( - 'cpp-compile-test', -- 'cpp-compile-test.cpp', -- wayland_server_protocol_h, -- include_directories: src_inc -+ executable( -+ 'cpp-compile-test', -+ 'cpp-compile-test.cpp', -+ wayland_server_protocol_h, -+ include_directories: src_inc -+ ) - ) --) -+endif - - sed_path = find_program('sed').path() - --- -2.31.1 - diff --git a/package/wayland/wayland.hash b/package/wayland/wayland.hash index e9dcb63a90..cd4cb1a474 100644 --- a/package/wayland/wayland.hash +++ b/package/wayland/wayland.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2021-January/041692.html -sha256 baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15 wayland-1.19.0.tar.xz -sha512 d8a86f5e23e4a88e7c84b82fdb51eb350419086afe462ecb2f4d5c3ba9290ede310cbbcffd60215219ddccf5bad4adec21a5ebfbef6577200f66ac7a1b64a5ef wayland-1.19.0.tar.xz +# From https://lists.freedesktop.org/archives/wayland-devel/2021-December/042064.html +sha256 b8a034154c7059772e0fdbd27dbfcda6c732df29cae56a82274f6ec5d7cd8725 wayland-1.20.0.tar.xz +sha512 e8a1f410994b947f850799bdd0d95a2429d8467f853e62a0ab3915a4e9fe130f8aa977e03715114ab740c6ec546edea63d275ce7f927d4f3029ea126e6a7d215 wayland-1.20.0.tar.xz # Locally calculated sha256 6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061 COPYING diff --git a/package/wayland/wayland.mk b/package/wayland/wayland.mk index ecfe95d68a..4c19875bba 100644 --- a/package/wayland/wayland.mk +++ b/package/wayland/wayland.mk @@ -4,7 +4,7 @@ # ################################################################################ -WAYLAND_VERSION = 1.19.0 +WAYLAND_VERSION = 1.20.0 WAYLAND_SITE = https://wayland.freedesktop.org/releases WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz WAYLAND_LICENSE = MIT -- 2.25.1 From james.hilliard1 at gmail.com Fri Apr 8 23:56:05 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 8 Apr 2022 17:56:05 -0600 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: <20220405211250.GJ2354230@scaer> References: <20220405025054.966064-1-james.hilliard1@gmail.com> <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> <20220405211250.GJ2354230@scaer> Message-ID: On Tue, Apr 5, 2022 at 3:12 PM Yann E. MORIN wrote: > > James, All, > > On 2022-04-05 14:09 -0600, James Hilliard spake thusly: > > On Tue, Apr 5, 2022 at 11:19 AM Arnout Vandecappelle wrote: > > > On 05/04/2022 04:50, James Hilliard wrote: > > > > Fixes: > > > > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > > > > make: *** [Makefile:84: _all] Error 2 > > > How do you get this? I've tried a number of configurations, but I always get > > > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > > > make: *** [Makefile:84: _all] Error 2 > > > I could only reproduce with `make source`, but that's a bit a special case. > > > > Something like this seems to hit it: > > BR2_LINUX_KERNEL_EXT_AUFS=y > > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > > BR2_PACKAGE_AUFS=y > > BR2_PACKAGE_AUFS_SERIES=4 > > BR2_PACKAGE_AUFS_VERSION="" > > # BR2_PACKAGE_AUFS_UTIL is not set > > This still produces the expected error that Arnout reported: > > $ make qemu_m68k_q800_defconfig # just for a config with a kernel > > $ cat <<_EOF_ >>.config > BR2_LINUX_KERNEL_EXT_AUFS=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > BR2_PACKAGE_AUFS=y > BR2_PACKAGE_AUFS_SERIES=4 > BR2_PACKAGE_AUFS_VERSION="" > # BR2_PACKAGE_AUFS_UTIL is not set > _EOF_ > > $ make olddefconfig > > $ grep AUFS .config > BR2_LINUX_KERNEL_EXT_AUFS=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > BR2_PACKAGE_AUFS=y > BR2_PACKAGE_AUFS_SERIES=4 > BR2_PACKAGE_AUFS_VERSION="" > # BR2_PACKAGE_AUFS_UTIL is not set > > $ make You need to do make savedefconfig here for it to reproduce: $ make savedefconfig package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. make: *** [Makefile:84: _all] Error 2 > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > make: *** [Makefile:23: _all] Error 2 > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' From neal.frager at amd.com Fri Apr 8 14:55:31 2022 From: neal.frager at amd.com (Neal Frager) Date: Fri, 8 Apr 2022 08:55:31 -0600 Subject: [Buildroot] [PATCH v1 4/4] configs/zynq_qmtech_defconfig: bump to ext4 and distro boot In-Reply-To: <20220408145531.1641356-1-neal.frager@amd.com> References: <20220408145531.1641356-1-neal.frager@amd.com> Message-ID: <20220408145531.1641356-4-neal.frager@amd.com> This patch includes the following updates for configs/zynq_qmtech_defconfig: - rootfs changed from CPIO to EXT4 - extlinux.conf for distro boot support - enables support for host machines without OpenSSL required by U-Boot and Linux This patch is necessary to support the new board/zynq/post-image.sh. This patch has been build tested only. This patch is dependent on the configs/zynq_zc706_defconfig patch. Signed-off-by: Neal Frager --- configs/zynq_qmtech_defconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configs/zynq_qmtech_defconfig b/configs/zynq_qmtech_defconfig index 4db3f68b1f..f536b80f57 100644 --- a/configs/zynq_qmtech_defconfig +++ b/configs/zynq_qmtech_defconfig @@ -5,6 +5,7 @@ BR2_ARM_ENABLE_VFP=y BR2_GLOBAL_PATCH_DIR="board/qmtech/zynq/patches" BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y @@ -14,9 +15,9 @@ BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-qmtech" -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -- 2.17.1 From james.hilliard1 at gmail.com Sat Apr 9 02:07:19 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 8 Apr 2022 20:07:19 -0600 Subject: [Buildroot] [PATCH 1/1] package/binutils: disable 2.32 on unuspported FLAT platforms Message-ID: <20220409020719.3126086-1-james.hilliard1@gmail.com> These architectures are unsupported in config.bfd: https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/config.bfd;h=0e1ddb659c3ab7160aab0a7c173b85052f870e65;hb=a9d9a104dde6a749f40ce5c4576a0042a7d52d1f Fixes: - http://autobuild.buildroot.net/results/332/33277d4687ca9a04dbfb02c50e5755ff9e55b0b4 - http://autobuild.buildroot.net/results/5e3/5e34d11393e14fc36fd6e72b69679bc4fd1e3798 - http://autobuild.buildroot.net/results/63d/63d01d33ae30f86b63b9f42a9fea116f2f3e9005 - http://autobuild.buildroot.net/results/45b/45bc90fd2dde7bb201d7f999db1a8024cf889a06 - http://autobuild.buildroot.net/results/d1b/d1b1dfe449f82944bd48215da3cdffd05797e2e9 - http://autobuild.buildroot.net/results/a3e/a3eb1ff6bf6357242ec7993db63e57d4afeccc7b - http://autobuild.buildroot.net/results/f4d/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20 Signed-off-by: James Hilliard --- package/binutils/Config.in.host | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index ea1f020989..e1c59bfbd0 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -15,6 +15,13 @@ choice config BR2_BINUTILS_VERSION_2_32_X bool "binutils 2.32" depends on !BR2_csky + depends on !(BR2_aarch64 && BR2_BINFMT_FLAT) + depends on !(BR2_aarch64_be && BR2_BINFMT_FLAT) + depends on !(BR2_sh2a && BR2_BINFMT_FLAT) + depends on !(BR2_sh4 && BR2_BINFMT_FLAT) + depends on !(BR2_sh4a && BR2_BINFMT_FLAT) + depends on !(BR2_sh4aeb && BR2_BINFMT_FLAT) + depends on !(BR2_sh4eb && BR2_BINFMT_FLAT) config BR2_BINUTILS_VERSION_2_35_X bool "binutils 2.35.2" -- 2.25.1 From neal.frager at amd.com Fri Apr 8 14:55:29 2022 From: neal.frager at amd.com (Neal Frager) Date: Fri, 8 Apr 2022 08:55:29 -0600 Subject: [Buildroot] [PATCH v1 2/4] configs/zynq_zed_defconfig: bump to Xilinx 2021.2 In-Reply-To: <20220408145531.1641356-1-neal.frager@amd.com> References: <20220408145531.1641356-1-neal.frager@amd.com> Message-ID: <20220408145531.1641356-2-neal.frager@amd.com> This patch bumps configs/zynq_zed_defconfig to Xilinx software release 2021.2 which includes the following updates: - U-Boot bumped to 2021.01 - Linux bumped to 5.10 - rootfs changed from CPIO to EXT4 - extlinux.conf for distro boot support This patch has been build tested only. This patch is dependent on the configs/zynq_zc706_defconfig patch. Signed-off-by: Neal Frager --- board/zynq/zed/uboot.fragment | 1 + configs/zynq_zed_defconfig | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 board/zynq/zed/uboot.fragment diff --git a/board/zynq/zed/uboot.fragment b/board/zynq/zed/uboot.fragment new file mode 100644 index 0000000000..d58fcd5439 --- /dev/null +++ b/board/zynq/zed/uboot.fragment @@ -0,0 +1 @@ +CONFIG_DEFAULT_DEVICE_TREE="zynq-zed" diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig index a215695b54..c4d95f20b7 100644 --- a/configs/zynq_zed_defconfig +++ b/configs/zynq_zed_defconfig @@ -2,26 +2,28 @@ BR2_arm=y BR2_cortex_a9=y BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xlnx_rebase_v5.10_2021.2" +BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed" -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zed" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xlnx_rebase_v2021.01_2021.2" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynq/zed/uboot.fragment" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_FORMAT_IMG=y -- 2.17.1 From thomas.petazzoni at bootlin.com Sat Apr 9 04:39:40 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 09 Apr 2022 04:39:40 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-08 Message-ID: <20220409043947.32E5B84307@smtp1.osuosl.org> Hello, Autobuild statistics for 2022-04-08 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 17 | 4 | 0 | 21 | master | 224 | 470 | 1 | 695 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 35 host-util-linux-2.38 | 34 dhcp-4.4.2-P1 | 24 host-gcc-final-10.3.0 | 22 libopenssl-1.1.1n | 18 uclibc-1.0.40 | 17 argp-standalone-1.3 | 16 host-elf2flt-7e33f28df198c4... | 14 fetchmail-6.4.29 | 12 git-2.31.1 | 12 zlib-ng-2.0.6 | 11 libressl-3.4.3 | 10 host-gcc-final-9.4.0 | 7 linux-5.15.30 | 7 elfutils-0.186 | 5 glibc-2.34-109-gd64b08d5ba7... | 5 perl-5.34.1 | 5 python3-3.10.2 | 5 refpolicy | 5 unknown | 5 host-gcc-initial-10.3.0 | 4 linux-headers-5.15.30 | 4 qpid-proton-0.35.0 | 4 toolchain-external-bootlin-... | 4 util-linux-2.38 | 4 aircrack-ng-1.6 | 3 azmq-1.0.3 | 3 belr-4.4.8 | 3 cairo-1.16.0 | 3 dash-0.5.11.5 | 3 host-gdb-arc-2020.09-releas... | 3 libeXosip2-5.3.0 | 3 libgcrypt-1.10.0 | 3 libglib2-2.70.4 | 3 libuhttpd-3.14.1 | 3 linux-headers-5.10.104-cip3 | 3 linux-headers-5.10.104-cip3... | 3 toolchain-external-bootlin | 3 uacme-1.7.1 | 3 vde2-2.3.2 | 3 acpid-2.0.33 | 2 arptables-0.0.5 | 2 atest-895b0183a89c15f5e2305... | 2 aufs-util | 2 bat-0.19.0 | 2 expat-2.4.7 | 2 freeradius-client-1.1.7 | 2 frr-8.2.2 | 2 fs/ext2/ext2.mk:65: /nvmeda... | 2 gst1-plugins-bad-1.20.1 | 2 host-gcc-final-11.2.0 | 2 host-go-1.17.8 | 2 libcap-ng-0.8.3 | 2 libgpg-error-1.42 | 2 libnspr-4.33 | 2 linux-tools | 2 minizip-3.0.5 | 2 mpd-0.23.6 | 2 nodejs-14.18.3 | 2 rtl8723bs-11ab92d8ccd71c80f... | 2 toolchain-external-codescap... | 2 valgrind-3.18.1 | 2 vlc-3.0.16 | 2 4th-3.64.0 | 1 acpitool-0.5.1 | 1 apcupsd-3.14.14 | 1 arp-scan-1.9.7 | 1 assimp-5.2.1 | 1 batman-adv-2021.4 | 1 bitcoin-0.21.2 | 1 boinc-7.18.1 | 1 brltty-6.4 | 1 btrfs-progs-5.16.2 | 1 bubblewrap-0.6.1 | 1 cc-tool-0.27 | 1 clamav-0.103.5 | 1 dhcpdump-1.8 | 1 diffutils-3.8 | 1 dmalloc-5.6.5 | 1 docker-cli-20.10.14 | 1 dropbear-2020.81 | 1 duktape-2.7.0 | 1 e2fsprogs-1.46.5 | 1 erofs-utils-1.4 | 1 flannel-0.14.0 | 1 fluidsynth-2.2.6 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubi/ubi.mk:51: /nvmedata... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gnu-efi-3.0.10 | 1 gobject-introspection | 1 google-breakpad-7515ab13768... | 1 host-gcc-initial-11.2.0 | 1 host-gcc-initial-9.4.0 | 1 host-rust-1.58.1 | 1 host-wine-6.0 | 1 hostapd-2.10 | 1 hwloc-2.7.0 | 1 igh-ethercat-1.5.2 | 1 janet-1.19.2 | 1 libdcadec-0.2.0 | 1 libdvdread-6.1.2 | 1 libest-3.2.0 | 1 libgpgme-1.16.0 | 1 libiscsi-1.19.0 | 1 libnfc-1.8.0 | 1 libnl-3.5.0 | 1 libnss-3.76 | 1 liboping-1.10.0 | 1 libosmium-2.17.3 | 1 libsepol-3.3 | 1 liburing-2.1 | 1 libvorbis-1.3.7 | 1 musl-1.2.2 | 1 netdata-1.21.1 | 1 numactl-2.0.14 | 1 ocf-linux-20120127 | 1 openpgm-5-3-128 | 1 php-apcu-5.1.20 | 1 pixman-0.40.0 | 1 polkit-a2bf5c9c83b6ae46cbd5... | 1 python-ujson-4.2.0 | 1 quickjs-2021-03-27 | 1 rauc-1.6 | 1 rsync-3.2.3 | 1 rtl8188eu-60cb0b5a3cfc95e3f... | 1 rtl8812au-aircrack-ng-3a640... | 1 sdl2_ttf-2.0.18 | 1 skalibs-2.10.0.3 | 1 stunnel-5.60 | 1 systemd-250.4 | 1 toolchain-external-codescap... | 1 trousers-0.3.15 | 1 ulog-0389d243352255f6182326... | 1 wavemon-0.9.4 | 1 wpa_supplicant-2.10 | 1 xenomai | 1 xenomai-3.0.10 | 1 xenomai-custom | 1 xfsprogs-5.14.2 | 1 zynaddsubfx-3.0.6 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | 4th-3.64.0 | NOK | http://autobuild.buildroot.net/results/a12c47f0935d9ba647fcf4fb816a863088ee47f9 | mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/b71a57f60b74c0229ffbb26b1112bf866157b269 | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/9de51b06766ba337acbf7b8d45bfcbbb3c7cb9da | ORPH mips64 | acpitool-0.5.1 | NOK | http://autobuild.buildroot.net/results/bc97a2c008c2fbd56a95d426bdf44525b7ef8848 | mipsel | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/eb28edda2847830b9760eaa9cc62f79cf6171cd7 | or1k | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/9f280e34cbc0711cbb24f167a5fd2bd6a7ce20f8 | sparc | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/12539fc9215cf01faa0c6438ccf2f045cf0ae55a | arceb | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/07cf98bf49396d54d9e4716baf3d01396e32f0f7 | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/fdb49d399959582ec63d9d8deb695f1174b1f5da | mipsel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/e1b9c8abef7a61346716fdcd24922ef4659360fe | x86_64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d10c06109332456ffd22f2d1831c8699f6cf270c | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2a7622b4c7ccc221696000c9d6c997463d6fd831 | i586 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/fa69a4464314491993b81422e0aa0ac2b8e6bcb6 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/aa564043284becc3dd28b56b4032cccc59b81e1d | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9fbe2d58e73a4a8b4fa5c95dd03f185f979b27d1 | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/5d7e6fce0f8084585b1a045f438c3824a1361b00 | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/956ce334952c84e12002c0ac8c5ee7dcad8aa8fe | powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/5f7b274422cc01aa7beeed716f0cbdb6b2081eec | x86_64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/28f53cc86873e0ea8e13439efd5ecea7dfe3ac54 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9b116551408945d43f249e315edad8733012c035 | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b9b663e5f68c07a8a103948ac2ff51e2e23e8d39 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/53a120343a9b00b8748ede5a032f44507b8bccf8 | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/29481a6ffb389c0d1a16dd593bd1b7d3a4a7bfc3 | powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d637843b715ff416b262c1ff0a50ca227dc9406b | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/5cb910e6be356fd11c6158ecd19a40268473dea8 | powerpc64le | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/240ea895e070334fbfdccbcd8034e2e05a044c02 | ORPH mips64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/5f1d70bf1844f1e8a66fcb7b5e55be64b0f7a7e2 | ORPH mips | assimp-5.2.1 | NOK | http://autobuild.buildroot.net/results/92d5e010f0f149ff8686c2749a08c51b41f12fd6 | arm | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/f9fc6bbc7460e200361a58ad3faa321f54e74628 | arm | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/df71adf668db841b4530489bf20f0ecee31fc2ab | sparc64 | aufs-util | NOK | http://autobuild.buildroot.net/results/3dd49380d53a29c101e91618de50f47a65e53c92 | microblaze | aufs-util | NOK | http://autobuild.buildroot.net/results/b4a1695ad7e42669d56a5e937c5a37d1f6e7d83f | microblaze | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/9693a68b7571b044b5c3c8f786870539a615804f | microblaze | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/357da25a9aa6853e43c4cd2f6c34d15dbf011918 | x86_64 | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/b2cfeb4ca9df054437467df2810086c0d90f5335 | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/6f774aa104e938e63395787cd529ee71133fd06e | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/be37796d7161daa2e32d454d6da5613b24f6d544 | nios2 | batman-adv-2021.4 | NOK | http://autobuild.buildroot.net/results/d83b256d366ef88822d21bb73607ef7be69239ac | x86_64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/70dd49c36d30e85fb5f48e543fcd9095b082e02c | i686 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/85235fd30dd3d18279222789a5a63a79f24c4238 | riscv64 | belr-4.4.8 | NOK | http://autobuild.buildroot.net/results/90e8145cfd006410dad9365db5b0941cda68a2af | mipsel | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/2ad7896c2169fbecaa86ac9128a0912306eb5254 | sh4 | boinc-7.18.1 | NOK | http://autobuild.buildroot.net/results/e3d8224c3b8367e4eefbe2a0447594c378409dff | powerpc | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/255a646287b8b5c0f76b5bfa503f1e8eda1f8ce7 | or1k | btrfs-progs-5.16.2 | NOK | http://autobuild.buildroot.net/results/2c3968bc8a3bf1c8fa0390aee06ccf041bfd2880 | ORPH mipsel | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/5a1cc83a9ed58811766f048386f3e2e6a288bb79 | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/512bf431d4bd5d230d25387c076a978627e0f649 | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/a4eaac6ed52b058f216ecc595e6f593d7428f231 | or1k | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/fe2d6afa7a42affd46d9d8893bfa0d121d654f6f | i686 | cc-tool-0.27 | NOK | http://autobuild.buildroot.net/results/908349be16cbc051735357a45a0d5a1167b923f4 | riscv32 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/fbc0786d95c9400bc2161aa6c26f3bf7e66cd2ac | s390x | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/26f6393ffc1f45149312e37329363c6764f77e2e | ORPH or1k | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/0508c4f3a3d3caaacef21abf318f80549848f6f0 | ORPH microblazeel | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/d30375d72ffdd2de8aec4fee3aab7c450e40cb96 | ORPH mips64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ae92ae04c5f8691ce46804469a586513a9f5ec1a | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/1dbdfe5a8452851a803dd3c731eb78bdc4502414 | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/d885e7f5da90190444006f598687e41173186d35 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/26bcf29503a9d6638d8f0013de690943ee6b2f54 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/168bf3cc3492e3683145bcc48afe108ade6464a3 | ORPH s390x | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/8a222ef9accbdc2b89a35c5f95508d27d5273f45 | ORPH aarch64_be | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/770a2ec1878201d254c5c1bd460781d8009d2c73 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/158a860430a0ba5dacd023fbb80c684fddde4388 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/ad1ba8e0effe88754c2bd467261f7f1c5d563015 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f77c8620fe7733c2b490b73c18c506193faee332 | ORPH s390x | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/176f2d2607e5fc7a9895c12c1a3dc0f75579b4e0 | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/5bdd1ea08f74f8d3e47b3117147c92b6f0f6fd09 | ORPH mips64el | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4b584f2ade4fc2768bc1885da557455593a2a8d7 | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3856365e2ac71f619031f9c8d857cd0f96116b63 | ORPH sparc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/88f8ffa5b9affa80f4a30a43a7ddd27c02c73b71 | ORPH powerpc64le | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3037b6d593200313783e11699c39abe4e73e7f97 | ORPH s390x | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/69cf857fee40e05cb8a5ca930546ea0220101f9f | ORPH riscv64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/fc312fa8dd62c1cda860a663d907b84955bb98fd | ORPH microblaze | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/dff876dcb77112652894ae5cf43a218d923318f5 | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/a65421ffc1f096b17e4969ad6d6dac340e74033e | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3bb94ba1487c4d34906486ecc9c036c124ac1c83 | ORPH i686 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/4ff642c66b2e8fbfd6a5690d1baaf9b252083ecf | ORPH microblaze | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/c53bcae9c3a5ced8bace4e84674c44062e4008ae | ORPH aarch64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/1d3285226f5d4de658418e84ab137dad9e652a24 | ORPH arm | dhcpdump-1.8 | NOK | http://autobuild.buildroot.net/results/c29a91b9b5e322c717c7964b9323afca3104d271 | ORPH arceb | diffutils-3.8 | NOK | http://autobuild.buildroot.net/results/c128d89ca1fad116628f687a854432a5cd0cc98a | ORPH i686 | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/f808885dcbbe4322631fa57f72af23009babcb26 | ORPH x86_64 | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/24ca5c8cbcf0a561b0f49b66ffa4420d399930d6 | riscv64 | dropbear-2020.81 | NOK | http://autobuild.buildroot.net/results/d5587c155db3cf94f3e45a094dc4b93d8d8ef72d | nios2 | duktape-2.7.0 | NOK | http://autobuild.buildroot.net/results/547a140c82c8f7a3a82467d13b36f36f644dc8ad | or1k | e2fsprogs-1.46.5 | NOK | http://autobuild.buildroot.net/results/c08ad7d8c7e96f31d5c2eb16fc7810e739ea4904 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/eb436c26b8de1a67c5650022d69c25c9666cff9d | ORPH microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/79574484d4b13fb2d6ccdd3ca243dda08ae2cdf4 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/d96aab8aec857155ca16daa3d2ccc5ad493705ee | ORPH arc | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/f02001a74ee982582deb0e4e9a5fc5755ab7361a | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/683494a3e31f0ce23c40cb300caad3a0da1f2a81 | ORPH or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/2c9b023a83aa0e8b0836104f80e3382a23bdc94f | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/3056192474d8662eee039493c2a8648baedcf618 | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/142d580f99dc5500d2bace8d750e9a89f019f67f | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/1aa210fa50f4cdb450c93b5611b78106ca72bdf3 | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/5cf05b3547c7772c259330c2af12c97e59a4419a | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/b11496a86108f5badef848a31ea07066af912c99 | mips64el | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/151bc888ce885176b88b6c6a7ee5d5023149032e | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/4f77030fd00f81160055233322d1b9604dfef1a4 | powerpc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7fbf9b6b61086bc74102e6d9bd398ff2cdcf3636 | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/1edc52c3a62f22de92c16bd071c7c06fe63b270f | or1k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7773c112453f5cb3f6b685566932a6fa61084df1 | or1k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/ae87db382c1d5860acb1fadd1bde9e8981e2a7ef | i686 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/b8a6a61b5fb8b265a646ef1bd52855c298ada0eb | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/99e8e5566809fb65d8ff73326ee6e24cc7f56883 | sparc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/3b85cae210e335bbf73a4e60a598c47080b57718 | s390x | flannel-0.14.0 | NOK | http://autobuild.buildroot.net/results/45695b3e74abb3c026b376dbbc070617bf8ed1ec | mips | fluidsynth-2.2.6 | NOK | http://autobuild.buildroot.net/results/5581b88cb9598b3fd45d77cf6f47159ec52762bb | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/634c48c9971219c764511b790139f274c88af811 | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/3657809edc17b83764d18fac0265e17aa923b725 | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/490538cffd51b6ce1b1f703518f7d58725b5d54e | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/73a90a4f8f9181875d87668c72326efb57af8b84 | arc | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/1be6653249dbfc204f009a3b49bdd36b03f3812e | powerpc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/cd283f3c62a44585a97526e7d22b958f1109049b | xtensa | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/e5c3c26971b73617573b0563552546be2af79919 | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/606edc9d2ef2441842cf01348ba81fcc10d405b9 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/41bd98ca0bbbbd4845c3d95775c5e55c2527ef38 | or1k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/8dc81be6640643cb989ca34e0aaf1b693d6939c9 | arc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/54d8f0340fdd787f3fb4fa08d1325ac8d1fc7b03 | arc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/e4c023fc7e47c523f0bbb70705f6d7a6c3d0571c | microblaze | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/aeea6b800f477c59511c2253e50c992135d11e74 | sparc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/784174c1dafead8e747902e5ae1e7627e6fde76c | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/f918db0d0268855419242eb5194e0f38930e4531 | mips64el | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0ccc3253a3561effbb9ce3dede792d249c3b0608 | powerpc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/7c02a832d1dd393106fc6fdae04936f5ae6f6059 | m68k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/6ce6e30f7e8996b23036b77eddb45a2bbc5bd9f1 | s390x | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/63c62e7e107761edbccd7f6ae1eed7d25498b481 | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2247130db96f26f6ed94bdb3aab6f6bca796354e | arc | fs/ubi/ubi.mk:51: /nvmedata... | NOK | http://autobuild.buildroot.net/results/eec90c0d70c7efe4a47a9473503b6860eb832aa6 | xtensa | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/9c5161b04cb9d075cbdfe0f91484e17c7ec31c35 | powerpc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/ea958e7960b872e75ddeb52313b29d9e27507164 | arc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/073e164dbbc81441ddeabfdfba96f2ac5ebcf4e2 | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b863eea2b40919acc99be8e89f0d4ebe4ed55938 | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/7a235515f0b5b2a5b7dcf2900a1391b60cc6002d | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/e0b4ae579f1a8fdbd784aebd88e7c76c64f89220 | mips | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/945e6ee0d1a278cc38ba82f454bfa50fc117ff93 | i586 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/4a04c49de248bc705f81bfd801dd6d792a37ebc0 | m68k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b2fe20d214773be5790a8f2e052be7b42fa00dfd | sparc | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b7b030bcdd6284fea48f65ad67f6755eb2097dac | x86_64 | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/dd0373be49d0da9348b2696476bcb1fa74209591 | mips64el | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/b672538390f11c98ff9c262f4c6cd277fef8e488 | or1k | git-2.31.1 | NOK | http://autobuild.buildroot.net/results/5e4e3027297050f32844f6582c3fb5f5464e24f9 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/91ffd259d1d13764778dab51dc0a520ab8aeec27 | mipsel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/367bf47bbfa3fdf0034b8b35803e1d10a3614001 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a23ea83e74fc86878ea946558860f76e27c1db9d | microblazeel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/05e4ca8d7896d42490240fe73b662d26c235ac30 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/b89bef6d2a81c9e7f788e0df3cede90ef8cc3d42 | mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/bf8a2dedd9c0d46153cbd3c14c1af9596f10a2be | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/2cc1a0840ed6366c567d3ba063512ffc36f1b1ca | mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/2587e0bd0a9c82da1e16207fac23cda5331caf0d | sparc64 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/6a9006d879341bd671adefb5d29dab353a8b1ef9 | ORPH powerpc64 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/b8c4272e2dd748bb39317e6af2857b31e9c72b75 | ORPH aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/18ff8892bf06760d10bca47672ba79c1878254f5 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/522f3e88f23a51aaee31cee71b968982e61a2143 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f0f2c5a203e76cde05b094253ebdfd5ee2c96229 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a514600406f4c774f0684292ea82800a43172852 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c53fca648afe07046eebfbfac42ac34a8a0ee627 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1fb627734a1b286dde2093e3c23f5fc3d4173c3e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cc65c8f39990f4a08bc98b6563f2e3109b1a4895 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9e1ef4a46cb4739ae31639475ede71b8833d939d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ee1d142ff5278351f63427cbc1e2899c3842beba | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2b92cd95900cd3cd92645d41a4415777be087b9e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/81faa40015d19ecc8e88be2c7a0dbbeaa1efea30 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/64b571c8b8abfb682b3b6677ce656ead32bf2b3b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8e8c63ede8badfc951836aef9f602b9c7a995048 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d4083ec035838dffe74060f9d0ebd86847898326 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0bc600fc998af4777e3d99e0e26deb9589cce834 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/67ebc8518d388e7f73a54c18ea43c9bc14135ea4 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2569b9eee4a08e96f6269b32d7c31e5c8b10da3f | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/56e4f2f08d0eaf98c4217bd2ec498bb42cd3fbc1 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d14ce4d0dcfcd79dbf53b952057416f7bcf23af3 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/62ffca2f0d7a53e47542f98e1c39ce685c76d44a | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a4e7498dbdcc306f896ac7a59b8c223d87b4743c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d479b6c5f3ea6166a795a1312a529d5395fa39d6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8790c1904fd80b6457b95e5746e4ebeb9c815c90 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a206d3d4f6b23e7e9fba7d4792328bf1681116d0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f0fd59b581c57f9eaea896d9cc088eb53a560821 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/87f6affaf51e23cfedd23c2e8984057e94509201 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/579b5ccf18a478903f10c1e181c7e4d9a9760961 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ef3e46347fe9426edec6a16b0a9d04bc8b26c797 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c1bca2f8c2f0f58a61099708be75cc9997b2acee | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/19dc993560c34ebab035516b296fdb7b656eb76e | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/743fb0ccdc953276d1477543f437a9ad1c058140 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0875cb8a7ff8f3d70d826f8b54e8f5f41bd027f7 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ba4056ce948e7772f6bfdac9305c883414331749 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/74331bc2eeaf938d14aacfa10f2db08076321c74 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/12a5e8f9aac09587093e3ee0d8f7406b2b0b9b91 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/4811da7c46ecf6ae74e2ad3196a47efc3e5ae29b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/a32e135e73cfb9f04be48cd3a8fc017e29cf88b1 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/76077179663ac98e4948f4d6d0cddeae82849ca3 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e8b3722cf486687593b866b0ad4cf3186580a6c2 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/342c78c77f8ac8bb187096955b594a16492ad63b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/290b9ac74c104cc648bf257e56813aa6d5146df5 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/49f0b9fbab4160ab6ff17ea55099012b883c90c8 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/bf5b11c457bad3c4ddc5e55ad829c8fa25e051e9 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/7d9d43dc4f481592e6a54c76840b2317394c366a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/6d99ff453f25a7fdf993c34bcb40c652cc2d9a2f | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/95c9b60d6cb48516e021845c168446f53cf49b13 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/39d7ba0f13e0c9d4df502ded490f91eea03e8296 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2007a34833d139fc0bd0d56c0052afa4d3f8494f | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/25839099505f3dccea96cfc5a8da13f618cd529b | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/942630620a87ce6e2ad6681a31011be6a8589efa | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/962b42067a09264a482111332b9b03d1c2513eac | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bd46f4d92de60a5441b6464c72a7048e14fddfa4 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1916e68a10f63f335d158b6716977d7904df32f5 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8900f0b00a5ff19a6c4b6daa6ce40b8ba0afdbeb | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5a4ced96aa6300979748960dd41cf8f03e7128ab | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a7e9725e727482eede69c96a1df33deb1bfeed3a | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f1e51a21890b2db32cd9a054b72434fa7ce02494 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/78840a1930adabe7f1bac147705af46f196dc063 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fc05669d96a9c3abb522c2a1b84563618e693b01 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/833da410af22e6e5285bb6b577f864ee182dca67 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d8b2d86185a84104dbe967d73f61a57806cf65e6 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/313659ca76aef184f97e9931274c5c7a6aa71087 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2fe2820f37ffafef8f47ed8df3060ea44c1f4b01 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/40203f9a170fb3ef75ee0cc1a1bfc3596e957597 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cb2ae9be3b17246be37143cacfcecb6a33ec7c37 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/719323f06418e0d777d1af98387d9ce94cd4b7a9 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7889247bc1a11077ea28e87f2f7d231000b64e35 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b95285f8547b06f3f0c3882dbc948013bbc04146 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0d0097417452c05049be0b45a89de04bfae50286 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ac9b637c604d392817f1f91fa8e00c73b03fd543 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/33d708fc22f8d90709041135155c9a3d3bde29ec | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5f50111fc4c4e53b4bc76eec748f63eb3a32cc4d | microblaze | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/8e6c56b37020481580139f3ac59d2363342596db | i686 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/3ce698fd1bee5813277e71f3db0c5cde17d76cf3 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/920b2ad0e54d842677a170c81faf13f6c0717b2a | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/8cddd9dfb6e51edd7b34b6aeccb7d771c7881989 | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/3832c28c1a623cd3546f025a9bd4abd0188e01df | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/4bde4e41884f67d7a2f201399eb7d55268ad629d | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/4cab7569236d120bf3fb18923d8ec78c6f6b9f1a | s390x | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/7361e870a39a39ed7c642a12da0f2163857a1f77 | arc | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/8bdc26fcb7727f0b3106183bd897bf30fc3261ba | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/c1bbb0a48f3b7b96eb685c45bcd50d9af6394184 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/8745b988296733b7b71a78596577d549594e2122 | arc | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/26eef4794baf9ababb7508ddde69aceb3336c12e | arceb | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/421d979a491ac89671d888e4a4176de71c0504d3 | arceb | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/ed9e07db072847f64ee63aaf49374fb8b3dc6e4d | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/82e4afa031128dd9050c1db060a34da7a7d261fb | ORPH arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/39570a9fb5fca4d91d6a18590c33bf4350b0a127 | ORPH arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/478085eac777f9b903f28166cd9cbd57567c842a | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/92abf7fee96562ce944fc1b3a6d6891a648b3758 | mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/f70b2bc40845074c4c992b689258f0d207edc0f8 | x86_64 | host-rust-1.58.1 | NOK | http://autobuild.buildroot.net/results/de23800fcc85eebe4f94c296a4b56b4015859f93 | s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/28e25f8ae4e2ef8fcb5bd0237f6a8e0a8f536245 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/bcc94406f378c5e13d73fd2bd30df82a0b0777b7 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/5315bfd0b94d425cb723fba63c247f3b5de3711e | ORPH mips | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e908f07afe7f7eab5402a60dbe479f396aca780b | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ff4be6327dfa7ad2abb28d5f90170ceb26e536d6 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7b3b304c94996846a771be83ca2091eb478a6390 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/0677051b4abca12764c5a77edc9037fa00c8c817 | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c4c708060cc17c7a098ba369214858d7e8ba7816 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8267308aafd410d8ff9950b786bf97015bd44693 | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/4fcc4d87a3efdc39b221e59e46ee563e73466a94 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/47d7cd63a655c7f6a56a787ecf0944efd7eddffb | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/205f30bcf2067ce26e997f65bfbb708c47d21fac | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/06a46531673a7bee529454debff528e163a388b2 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/92f18baa09a69777ff72219e6d80f08d803965a1 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/f4a701b3b52dda0e000beb5e8e2418065e29644e | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7243a05ef88e0af57769fa69562dde7c185df32f | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/1c89cd282cca8ec9779c7ef1b6834a621fb05390 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/65866521d3978242bee70e24c65ae29f22652662 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b014701bf780bb77139582885382f91643fd79c6 | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fe9e2f3af4065cfdc19533e110ff2ccf09eb61eb | ORPH sparc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/5f629395f0b289e5ddeafacce5e44168bfb4a7e7 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/964aa9f16856e53ce9c96014a74240144cc7e33d | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/169e46cab9a5c4741c0ce8916de5183b9f6b36ac | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/823bfa4a662f925e67a43ea79ef45546e20b26a2 | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e1134760ac461f1bc1224a90a75d25309d3b632c | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/74eb61fb633cca38a269111bc81a7a6bbac2f7c4 | ORPH mips64el | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/dbf9db288e0431709b8cbabfe7856ed9754f5428 | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/40fd4e8169e5ad726f174fdfb125b34092437243 | ORPH sh4 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/56bb82aa014ac62826f9de64f8aa5871619f6836 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/39516b983ba16563970f1d8826fe52421de580b3 | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/0145e7eeddab9187d330d7c71c8728c76e2c9857 | ORPH riscv32 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c917986918ec618e0f1953c1763d1e5ce3f0020a | ORPH powerpc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e8e8a672acc4794f7a97e5dc2c5af98b039a396c | ORPH sparc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/67096e0a791dfd137168c53d8756abcd5cbc72af | ORPH i686 | host-wine-6.0 | NOK | http://autobuild.buildroot.net/results/2e3ed92a6a09c4fdc5baf5cd043eeb501355887d | powerpc | hostapd-2.10 | NOK | http://autobuild.buildroot.net/results/55016cf7e2bf99935b77073f84b2df5b05516c20 | x86_64 | hwloc-2.7.0 | NOK | http://autobuild.buildroot.net/results/6e8426a7e6a3c7451de3a0d7fb99df5fe9910f17 | microblazeel | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/cbf2ac5eb9bc68637916db34fdbd55d554b2478e | microblaze | janet-1.19.2 | NOK | http://autobuild.buildroot.net/results/7f9fca5ca1eb1283813fdb4ae7aaeb08aafb41e1 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/ccd573b147e8c6074c79a5beebb0a81a00d434f0 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/d9b400e9a79c25419a7d753bd9ea7f75d39a4a38 | arm | libdcadec-0.2.0 | NOK | http://autobuild.buildroot.net/results/1cc23955fd08e0c30e90139969ab92e640d3d609 | m68k | libdvdread-6.1.2 | NOK | http://autobuild.buildroot.net/results/12dbdb5ab7c8492f14c3b666924f5c78b2007569 | x86_64 | libest-3.2.0 | NOK | http://autobuild.buildroot.net/results/8550043b735f0ce95ad8e6773863fabc8ba4650f | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/5cb00af9ecd5daa6f0382df85d32cc12449cc1fc | or1k | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/5d3cecec12587761b019f70d0a5ed8dc46aa0e1e | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/3e8cd93ea7663b02525e8a3ff42846e4df67ff5b | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/fa05f89053300781dec082ad96a0449461a9571a | ORPH powerpc | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/5498041d300e6d21afe05ef4e85eca0c02945eee | ORPH powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/9db3ade4e299d54fc130d7d366c9ba73f31805d6 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/9de3386050e2319ff42d03f8d82fc588996660d5 | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/6c34d29ad7925ac0044b9912da430b11c1865a6c | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/90dc31b0b0b2fa1ad77621d31428b4557980638c | aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/e2bee94ce05a0415958e4bd8c0b02c1d98070964 | ORPH aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/7456a040f0da7edff2f038bd1594b574d3f90e70 | ORPH or1k | libgpgme-1.16.0 | NOK | http://autobuild.buildroot.net/results/ae124205834f510a1337cccb97b98347ff064568 | ORPH mipsel | libiscsi-1.19.0 | NOK | http://autobuild.buildroot.net/results/2072eb041dfd4f12ebe906f73c2f65e94be4d0ee | arm | libnfc-1.8.0 | NOK | http://autobuild.buildroot.net/results/89ad5809d002313e52baa4a2f60f7a0a9a295104 | aarch64_be | libnl-3.5.0 | NOK | http://autobuild.buildroot.net/results/e95536cc3f5254bae3650638907e361eb5e4aa48 | ORPH mips | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/2804139073f107717eff57403a82bed2daa3cd7e | mips | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/c596a757a426d0be95a9c3314f3b996015ca2ae3 | powerpc64le | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/572f73ada0669f5c8d7d0af1d65aaa9e3892bdd0 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/181abe6364ef91ade151640c1cc871f4d8216014 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4f7d4a8ee43833629ac5d1d781e33c82b921cad1 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/bcad113f48ee49819ff42bb92c1066dbc2e81ddc | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/d3a6aaaac3b7bfd3c3e5d44b01d335746bf83a21 | aarch64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c49607642b5efe6ea44bfd5b792de12ab78ed2d3 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/8d92a134cdefe25dadb2d84a78b691734a6ff6d5 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3d72d9bb9df0936dffc897950fb8fe430f5b2000 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/7935f5ccbe5185857ae03825e503536bbdfc2f3f | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c2cb2d8291e2560f31f6761d469cb59b60944665 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/831188e8d32265fa629fd3d5f75acf9b77c3bb9b | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/0e2119b208e6d5e399db5c630a10a934faa00daf | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/60b45238449a9ee7934a41ccf9d8c41bdfcf0cbb | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a4a6b54e965b30c304114113b4aded743cd98e50 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/7f978026d45721d16e73c53bbd24353f409e3c3c | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/94b41e7f665fc7cd293912b29cca1aa029f3f5c5 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/37f8220e0297dd9f2aa62f68a652d0ea59c3839b | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/90f6073962285234f45b8804b1fe6a421cf88f56 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6aa37a31dabe7fd6288e825ba4183b3e04ebd449 | mips64 | liboping-1.10.0 | NOK | http://autobuild.buildroot.net/results/3f0d3d59aa1031e6fc924b027a6742297dabdcac | i686 | libosmium-2.17.3 | NOK | http://autobuild.buildroot.net/results/769769c6279fb448f9cb3059459e763ce42c0918 | microblaze | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/33c37c21fdbac54542c89b220d8bc8bb5caef5b3 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/896dc1d8d2621da3e9ade4ec45d064cd5ba00bbe | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/3d08069eccb7b5fef398a5e50905abef384ac710 | ORPH mips64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/f5a052eeb7f1d0ad16b5011fd6a022ff7f1f5733 | ORPH x86_64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/d70592e331d2708b59b74255f4e85a28e4782cc8 | ORPH microblazeel | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ed4090a317fa81051ff6c168c0a5aff5fcff07f4 | ORPH powerpc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/6bf4d96a2a3f0db3d7f6ad5dc140690203cf1033 | ORPH xtensa | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/e5c3323aadf41f59ed87acab837821c04679c8e3 | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/5ae5be6af21c54e4015e51fe82a085521713358b | ORPH mipsel | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ebd27a93ed660f32a98be8e023f5577f94b1abc7 | ORPH mips64 | libsepol-3.3 | NOK | http://autobuild.buildroot.net/results/9e02bbe34ca65eb7bf40c3f3550b49558d9f9276 | mips64 | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/06ba26b096e6b30f8eed67e56c9b890560faf5f0 | mips64el | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/697362bd7711610a60836c9722e86423ea330256 | mips64 | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/f4a44b93ebdd835c11a9c842e636974f09c9ece6 | m68k | liburing-2.1 | NOK | http://autobuild.buildroot.net/results/672f340bfcb80e84be91f668417379d31f12ef1e | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/bc2b8300892bca013f37024275cfd1c6b83065a1 | mips64 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/d6f83048a7f4b69d78364ff1ca80d7b3591457c4 | ORPH arceb | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/9bf097e3f0047e04403c25bae059e7e1093304b0 | ORPH microblazeel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/aa5f8bf39a388c23bdc3bb2665a421e621ebf6b7 | ORPH mips | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/85fa893bd10437b5b1cf74c56d6a71eec71f785c | ORPH sparc | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/c251c6111522890e5c5e2ca623e858b2f489ecd0 | ORPH powerpc | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/955341ce8baba8c6a7a20a369f99dc3afa0a6651 | ORPH microblaze | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/5881a2e57a0b54f21357bafbedadb709d86166b8 | ORPH xtensa | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/76bb10d4b3ee2f2dd706d9fc0eba592a8ab49151 | ORPH mips64el | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/80269eb8a7f4039c62a933c0f71af1d9d6ea1b48 | ORPH powerpc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/6a36294d1b4b73f285ce8a6079a38f969e7f256d | ORPH sparc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/457f6aa01bd1b27a284e9c7d697419e2a5c06fb9 | ORPH mips64el | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/c4e87b87c49f308b371e71149997e4cd147a7769 | ORPH mips | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/5a526008538b007ef9e02c7a5ae430c483b16cb0 | ORPH sparc64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/8e293497e24b5549e5a0b73f6bf58c5b8ace0b98 | ORPH x86_64 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/d35784903c53baffd97bac07d5b595685771dc9a | ORPH arceb | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/a66b4f0516cfac90c60e56340acede9fc336afd2 | ORPH mips64el | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/27ff0498f9c097f44151738ebcbc84344fb13d56 | ORPH arceb | linux-tools | NOK | http://autobuild.buildroot.net/results/5f02b0fa31730ca9a6c4f1d52f8a983ee2c95fe8 | ORPH i686 | linux-tools | NOK | http://autobuild.buildroot.net/results/1ff6df0a574226717dfd08719273e491afae7420 | ORPH nios2 | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/77152ea0b8e3ec3745db5b24194b137086663e6d | mips | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/5dfc853ffe538be4044d95e186574d3ceb38cac5 | m68k | mpd-0.23.6 | NOK | http://autobuild.buildroot.net/results/bcf72b4c372445b3ef918958ee95c1785efa59e8 | mips | mpd-0.23.6 | NOK | http://autobuild.buildroot.net/results/a8754431aad8808ae2d67e32d4a7973b00eda1c1 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/6f49403d2b7680fea9bfd6629ab03ddbfe4049ed | powerpc64le | netdata-1.21.1 | NOK | http://autobuild.buildroot.net/results/5e7dae5ec0dd2e7c610ebe734c27b130a240725e | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/533df95f7ac701384915fa2940e53ecd946988cc | mipsel | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/558c31222fe2c86f685aed5a39aa43faf711b7cb | microblazeel | numactl-2.0.14 | NOK | http://autobuild.buildroot.net/results/db387b0f03738a1ad7e3fe2ecc95cc212446a25a | x86_64 | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/b260eff00490ae6cfbf790fba755162fa09b8d1a | ORPH sparc64 | openpgm-5-3-128 | NOK | http://autobuild.buildroot.net/results/f420f46fe7c6761b3c26ceb766ccc29c46b99746 | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/0950e59b3efe3d48ce2b68e73b35198437804352 | sparc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/0684a0b83a044eb3b7dd57b98553abaec7e294fa | m68k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/def203839a2459babf7e0b1f66459dbbb9876958 | arceb | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/a38392260f5116b9a27dec749a89bfc8df2b814f | arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/7f0bfce784f7af768d53bf6ca768be4d9cae4bec | arm | php-apcu-5.1.20 | NOK | http://autobuild.buildroot.net/results/00879c5060b79ff2d1c2c9bf71580f2c175c8d3e | mips | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/210cef4c7083807558d0a8d6d14ae2ff9a3d0aaa | microblazeel | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/62a2393da02138ed2701564b1d69a54f0e6d49cc | i686 | python-ujson-4.2.0 | NOK | http://autobuild.buildroot.net/results/4d97a7531009be0ba06b84c33e1e29d780ef7522 | arc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d1c46e7c09c818bf57b4c2aca235f1615af45c62 | powerpc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/6f891f76709b69ecc7c643a5ebce620a5e286956 | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/9bd6033fd063894a986f104f98b1be915c407208 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/e10e0dc7948b6d72b7f60263bbe45204fcf98517 | microblaze | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/275a760a3323e34e1f7b1d128b572e4e7add60e8 | xtensa | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/f541449da85663b73a1dd735552e63c4d4c061a5 | mipsel | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a1adf38555d26da2cb98bf1a2a3ecb19a8e18896 | i686 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/19e4f38499426814e18c392cfa0128a55fc839a4 | powerpc | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/60876da99c712d0fb13ccc6d05a6c0e35428c303 | microblazeel | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/6a727ca55fae29f0df39e75cb098c024fae745f3 | sparc64 | rauc-1.6 | NOK | http://autobuild.buildroot.net/results/f5e390d96b8e3d7ea480cc3792e82207c3d074d4 | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/6ba78f4ef9ae5ca7c4bdf4a7cf339376b438fef6 | riscv32 | refpolicy | NOK | http://autobuild.buildroot.net/results/0027177d7d6f007769e4dd0501ae4050167e81e7 | m68k | refpolicy | NOK | http://autobuild.buildroot.net/results/37c67e5384e47d0b06995929022be55f222a5c94 | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/efb1818c1696e1d7fa16fb71f942aefb635ce5bb | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/199da862bfd5cb312858ac297d5d9b3e47eadc75 | i586 | rsync-3.2.3 | NOK | http://autobuild.buildroot.net/results/c6c1a4636357682034b2bbfacde61df58771f95a | ORPH powerpc64 | rtl8188eu-60cb0b5a3cfc95e3f... | NOK | http://autobuild.buildroot.net/results/d6658408464bbaca9b04c600a80b38c6643d3aef | mipsel | rtl8723bs-11ab92d8ccd71c80f... | NOK | http://autobuild.buildroot.net/results/bfaac0c6c91e32d918ce3bd35a97f518dccc3c15 | sparc | rtl8723bs-11ab92d8ccd71c80f... | NOK | http://autobuild.buildroot.net/results/ec14df025600314c13cbab2b54faa8480e0e0725 | powerpc64 | rtl8812au-aircrack-ng-3a640... | NOK | http://autobuild.buildroot.net/results/b2a71dc442b9a45a8f63121b76c731749322f243 | or1k | sdl2_ttf-2.0.18 | NOK | http://autobuild.buildroot.net/results/3716f3779f70834fdf315e6d2c6bf5b364b22186 | or1k | skalibs-2.10.0.3 | NOK | http://autobuild.buildroot.net/results/caf9242115823d2e1b31ff173080ad5d9b3ebdd3 | riscv32 | stunnel-5.60 | NOK | http://autobuild.buildroot.net/results/6fbb5d7e4049e6f7b4c81fde421de845df057115 | s390x | systemd-250.4 | NOK | http://autobuild.buildroot.net/results/b209fe065f86a4046cecaba237892f88f3137e23 | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/2b71aa48e51fafc97a0a293e218e36b0a14c2067 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/746347de80a19954453d1b1762932271b3116b26 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/1ea124ff7ed55cb9fa44f4cc4ebbaa6f2e253f81 | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/da00dc18f48c5dd579ce03bf9630087682a40c6e | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/04523162bc62d693190f4f4a0b37fed471e43f55 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/f6bd4e43928f428dce2f23df7e99615380a39df0 | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/72c7305f9464a1cbfdf692a9505c3e040e962871 | ORPH mipsel | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/bffdd1bbb5f1025d9a0c209f7f72f56290c7c3d6 | ORPH mips64el | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/dd0ea835a8c6387bf9a9425a47e0dcb110dc4780 | ORPH mips | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/2d12a9a771ec51ac767120a9996b3e4dc85bb2d0 | ORPH xtensa | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/09acf74117dba66bb95a6c9569a2dae610402305 | x86_64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/223f5a2b92442d21b4a3bad09ce4fde8da167af3 | powerpc64le | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/07d50132818b757c3f67b4c31fd90898bff151b9 | arceb | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/f53c145a70b8927ada2967939cc8d08537a43deb | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0f62bb4c15d5080a7990a9653e8afc6a7b2d23b0 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/72121ad14d914d9a524f364de4b99182185d50a5 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/38b2697d9f8f3af95ec50d16a657f4aef84b90fa | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/8eabddb07fe4c2d89ac4e5b9ac4f555f0dcd59c4 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/5ceb335c29a6456ee684f2ed08ffba5e08cb6db4 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/85013da86ac524c1c20523bea3493bf30cc5220c | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/d2e27c5e978f7e841c932e2423a1881787f619a4 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/23de3dc5c58951cb90d319f34dad7ac28b6c61b3 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0c47bcb4913dbc9159095bb32e11af0cdef4ba05 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/90976dee399ac9da3eadb2a45e2fbbc12ad368e0 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/05c4000a01a3a9d54b877e6d7c0c9beb9a50e232 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7e22c76698c2696330c1adc6ea7f5ac1dd2eda2e | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/83bf56cdf0091963b4af465337b19c24bd325328 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/fae93a1136b7cd8ce21d2d08e720086fe4777657 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/518c9dec427049e7d5aa61c8a66abffe67cc6962 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c5356d0fe53e4b335b6f57b1592bdf039a931256 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7bf06eb5c95486c7e56b8735ddfe7ff784f44ad7 | sparc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/b5b65c59ae5d51755219caac16456cd645d22fe8 | arm | unknown | NOK | http://autobuild.buildroot.net/results/e40760c4f4e5cf2421d786cdb975293f04f5b97c | sparc | unknown | NOK | http://autobuild.buildroot.net/results/3babb456ebcca06f39fb6ff822e13b28e8ccbb4b | or1k | unknown | NOK | http://autobuild.buildroot.net/results/8fd0184e5539ad43868f251c7059f9749129522d | m68k | unknown | NOK | http://autobuild.buildroot.net/results/0c76d37d6fd6952cb6b1b6a7c95fe17481fe9001 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/c4c3b68e5d95dbb1ec4d2f74079b40adbe57ac86 | x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/21e088d8eede616ef51cabeca20dcf6e11945945 | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/83e8744a1183f6e19204d7a2824fef99f304d99f | ORPH or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/956ea633dcb2e914bfb86fe94ede01d6fe1cd4b2 | ORPH mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/041eeacdf379280a4a4ac64e856a40d9eddbcb17 | ORPH mips | valgrind-3.18.1 | NOK | http://autobuild.buildroot.net/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 | ORPH i586 | valgrind-3.18.1 | NOK | http://autobuild.buildroot.net/results/78f04ef8d38e35a79c338faa33eb0de3863ff04b | ORPH mips | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/9a3227c506878e1f9d5e607f5f711f52ad9e1d87 | powerpc64le | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/4c630b932e619be995c0279fbbca4e3c6fa98760 | s390x | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/5afcb93d8a29541137deab9efbe240a77107d7b0 | riscv64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/e0a97a2e72f4a7d63fb8ebf64d28c2dd6149135a | mipsel | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/54ea8802bf49c093be02707c7643f3f4e37e2b77 | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/1c95400f28658c8a8be372279ebc4fdbb1136da9 | i686 | wpa_supplicant-2.10 | NOK | http://autobuild.buildroot.net/results/962ea00c72f7dffd2d17f660c417879d795d0de9 | nios2 | xenomai | NOK | http://autobuild.buildroot.net/results/6f8af07430cddce2915fa100cb6ba51fba95426b | s390x | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/d924564bf73716fd32f707a11e6a63a97ccfae58 | nios2 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/e476b72f58dcc78684998b9d1fbb513b2e02addc | mips | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/d392421876ba645204cc23b0ea7878febe2f188c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/fa57044fab9ddd37cfa6ab4f8c5b93d751741d81 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a108e4f7821a3474c6082b048a7e2db343049140 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/ed92b4dade2164ebfdb48c0e9e3fe8774c138d56 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/ae7c4ff1f64294167dfaf31205b384c2271e1c84 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e83cb428f40418d89e15f871c0f494dca6061239 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1ba6e79efb7d4f00d203260098c8ca7567fdc329 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c438aa3867768aaa7a680419981135f4a8d8a482 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/088ef8af823c90762d057b885064a8a405defb94 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/3a900c6cbc5e32c5970cdab5ef24efe2136f697a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e44bb9415160e330a0f6b75e4eb462a870c9d4e9 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/6d33eab4b504c28669dad865dc0485c8fcfe6b14 | ORPH xtensa | zynaddsubfx-3.0.6 | NOK | http://autobuild.buildroot.net/results/4d0298ba518e2ef091ab75ad7a4aba262645086f | Classification of failures by reason for 2022.02.x -------------------------------------------------- dhcp-4.4.2-P1 | 2 unknown | 1 vlc-3.0.16 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- i586 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/29cc4eafa994913c069fac374415bda8e60cbc22 | ORPH powerpc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f89488229cb691e6fcc73bd43b6257d6874aac46 | ORPH arm | unknown | NOK | http://autobuild.buildroot.net/results/c4d7fd15d254f426b61e349216fd3b1875fe7e24 | arm | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/124e8bdcdf3a6edec9ea6a97333d376f575df876 | Gitlab CI results for 2022-04-08 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ amarula_a64_relic | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805241 | bananapi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805337 | bananapi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805338 | bananapi_m2_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805339 | bananapro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805346 | csky_gx6605s | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805363 | freescale_imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805388 | freescale_imx8qxpmek | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805391 | friendlyarm_nanopi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805400 | ORPH friendlyarm_nanopi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805401 | ORPH friendlyarm_nanopi_neo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805408 | friendlyarm_nanopi_neo_plus2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805410 | friendlyarm_nanopi_r1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805412 | galileo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805416 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805443 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805444 | licheepi_zero | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805453 | microchip_sama7g5ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805465 | minnowboard_max-graphical | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805466 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805532 | orangepi_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805541 | ORPH orangepi_win | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805549 | qemu_ppc64_pseries | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805597 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/2302805630 | -- http://autobuild.buildroot.net From neal.frager at amd.com Fri Apr 8 14:55:28 2022 From: neal.frager at amd.com (Neal Frager) Date: Fri, 8 Apr 2022 08:55:28 -0600 Subject: [Buildroot] [PATCH v1 1/4] configs/zynq_zc706_defconfig: bump to Xilinx 2021.2 Message-ID: <20220408145531.1641356-1-neal.frager@amd.com> This patch bumps configs/zynq_zc706_defconfig to Xilinx software release 2021.2 which includes the following updates: - U-Boot bumped to 2021.01 - Linux bumped to 5.10 - rootfs changed from CPIO to EXT4 - extlinux.conf for distro boot support This patch has been build and run tested on a ZC706 evaluation board. Signed-off-by: Neal Frager --- board/zynq/extlinux.conf | 4 ++++ board/zynq/genimage.cfg | 11 ++++++++--- board/zynq/post-build.sh | 8 ++++++++ board/zynq/post-image.sh | 14 ++++++++------ board/zynq/zc706/uboot.fragment | 1 + configs/zynq_zc706_defconfig | 20 +++++++++++--------- 6 files changed, 41 insertions(+), 18 deletions(-) create mode 100644 board/zynq/extlinux.conf create mode 100755 board/zynq/post-build.sh create mode 100644 board/zynq/zc706/uboot.fragment diff --git a/board/zynq/extlinux.conf b/board/zynq/extlinux.conf new file mode 100644 index 0000000000..b9345906e6 --- /dev/null +++ b/board/zynq/extlinux.conf @@ -0,0 +1,4 @@ +label linux + kernel /uImage + devicetree /system.dtb + append console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait diff --git a/board/zynq/genimage.cfg b/board/zynq/genimage.cfg index 67baca795e..78eb9275dd 100644 --- a/board/zynq/genimage.cfg +++ b/board/zynq/genimage.cfg @@ -3,12 +3,12 @@ image boot.vfat { files = { "boot.bin", "u-boot.img", - "devicetree.dtb", + "system.dtb", "uImage" } - file uramdisk.image.gz { - image = "rootfs.cpio.uboot" + file extlinux/extlinux.conf { + image = extlinux.conf } } @@ -24,4 +24,9 @@ image sdcard.img { bootable = "true" image = "boot.vfat" } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } } diff --git a/board/zynq/post-build.sh b/board/zynq/post-build.sh new file mode 100755 index 0000000000..9fd8bbf2c8 --- /dev/null +++ b/board/zynq/post-build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# genimage will need to find the extlinux.conf +# in the binaries directory + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux.conf diff --git a/board/zynq/post-image.sh b/board/zynq/post-image.sh index 0cf92e0aa9..bf88aa7cd1 100755 --- a/board/zynq/post-image.sh +++ b/board/zynq/post-image.sh @@ -1,13 +1,15 @@ #!/bin/sh -# By default U-Boot loads DTB from a file named "devicetree.dtb", so +# By default U-Boot loads DTB from a file named "system.dtb", so # let's use a symlink with that name that points to the *first* # devicetree listed in the config. -FIRST_DT=$(sed -n \ - 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \ - ${BR2_CONFIG}) +FIRST_DT=$(sed -nr \ + -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="([-_/[:alnum:]\\.]*).*"$|\1|p' \ + ${BR2_CONFIG}) -[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/devicetree.dtb +[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/system.dtb -support/scripts/genimage.sh -c board/zynq/genimage.cfg +BOARD_DIR="$(dirname $0)" + +support/scripts/genimage.sh -c $BOARD_DIR/genimage.cfg diff --git a/board/zynq/zc706/uboot.fragment b/board/zynq/zc706/uboot.fragment new file mode 100644 index 0000000000..ad5efa6204 --- /dev/null +++ b/board/zynq/zc706/uboot.fragment @@ -0,0 +1 @@ +CONFIG_DEFAULT_DEVICE_TREE="zynq-zc706" diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig index e8019177d2..6c2a858f14 100644 --- a/configs/zynq_zc706_defconfig +++ b/configs/zynq_zc706_defconfig @@ -2,26 +2,28 @@ BR2_arm=y BR2_cortex_a9=y BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xilinx-v2017.3)/linux-xilinx-v2017.3.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xlnx_rebase_v5.10_2021.2" BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc706" -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zc706" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xlnx_rebase_v2021.01_2021.2" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynq/zc706/uboot.fragment" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_FORMAT_IMG=y -- 2.17.1 From yann.morin.1998 at free.fr Sat Apr 9 08:40:15 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 9 Apr 2022 10:40:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/aufs: don't set invalid AUFS_SITE if version is unset In-Reply-To: References: <20220405025054.966064-1-james.hilliard1@gmail.com> <0a44404b-c3f5-677f-cfbe-09a08f41adad@mind.be> <20220405211250.GJ2354230@scaer> Message-ID: <20220409084015.GA3378418@scaer> James, All, On 2022-04-08 17:56 -0600, James Hilliard spake thusly: > On Tue, Apr 5, 2022 at 3:12 PM Yann E. MORIN wrote: > > On 2022-04-05 14:09 -0600, James Hilliard spake thusly: > > > On Tue, Apr 5, 2022 at 11:19 AM Arnout Vandecappelle wrote: > > > > On 05/04/2022 04:50, James Hilliard wrote: > > > > > Fixes: > > > > > package/aufs/aufs.mk:24: *** AUFS_SITE (https://github.com/sfjro/aufs4-standalone/archive/) cannot have a trailing slash. Stop. > > > > > make: *** [Makefile:84: _all] Error 2 > > > > How do you get this? I've tried a number of configurations, but I always get > > > > package/aufs/aufs.mk:21: *** No aufs version specified. Stop. > > > > make: *** [Makefile:84: _all] Error 2 > > > > I could only reproduce with `make source`, but that's a bit a special case. > > > Something like this seems to hit it: > > > BR2_LINUX_KERNEL_EXT_AUFS=y > > > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 is not set > > > BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4=y > > > # BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5 is not set > > > BR2_LINUX_KERNEL_EXT_AUFS_SERIES=4 > > > BR2_LINUX_KERNEL_EXT_AUFS_VERSION="" > > > BR2_PACKAGE_AUFS=y > > > BR2_PACKAGE_AUFS_SERIES=4 > > > BR2_PACKAGE_AUFS_VERSION="" > > > # BR2_PACKAGE_AUFS_UTIL is not set > > This still produces the expected error that Arnout reported: [--SNIP--] > You need to do make savedefconfig here for it to reproduce: [--SNIP--] Indeed, I could reproduce. However, I think the fix is still incorrect. Indeed, if we were to do what you suggest, them it would be possible to call savedefconfig on a broken configuration; this does not make sense. Instead, I believe that savedefconfig and update-defconfig (an alias for the former) should not be declared as nobuild_targets: diff --git a/Makefile b/Makefile index 05b790d770..69994a58da 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ nobuild_targets := source %-source \ clean distclean help show-targets graph-depends \ %-graph-depends %-show-depends %-show-version \ graph-build graph-size list-defconfigs \ - savedefconfig update-defconfig printvars show-vars + printvars show-vars ifeq ($(MAKECMDGOALS),) BR_BUILDING = y else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),) There are a bout ~35 places where we use $(BR_BUILDING). I've look at all the instances in boot/ and linux/,i in toolchain/ and package/aufs/ of course, and a few others, and they all seem to be fine if we remove savedefconfig and update-defconfig from nobuild_targets. Care to have a further look, please, and send a patch? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From peter at korsgaard.com Sat Apr 9 10:28:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:28:11 +0200 Subject: [Buildroot] [PATCH 1/1] toolchain/toolchain-external: ensure BR2_TOOLCHAIN_EXTERNAL_PATH is set In-Reply-To: <20220402020756.415845-1-james.hilliard1@gmail.com> (James Hilliard's message of "Fri, 1 Apr 2022 20:07:56 -0600") References: <20220402020756.415845-1-james.hilliard1@gmail.com> Message-ID: <87ee26tutg.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:28:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:28:17 +0200 Subject: [Buildroot] [PATCH 1/1] toolchain-external-custom: ensure BR2_TOOLCHAIN_EXTERNAL_URL is set In-Reply-To: <20220402023135.428789-1-james.hilliard1@gmail.com> (James Hilliard's message of "Fri, 1 Apr 2022 20:31:35 -0600") References: <20220402023135.428789-1-james.hilliard1@gmail.com> Message-ID: <87a6cututa.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:28:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:28:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-headers: ensure tarball location is set In-Reply-To: <20220402032912.504809-1-james.hilliard1@gmail.com> (James Hilliard's message of "Fri, 1 Apr 2022 21:29:12 -0600") References: <20220402032912.504809-1-james.hilliard1@gmail.com> Message-ID: <875ynitut6.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when > required. > Fixes: > http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105 > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:28:26 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:28:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-headers: ensure headers version is set In-Reply-To: <20220402034933.507692-1-james.hilliard1@gmail.com> (James Hilliard's message of "Fri, 1 Apr 2022 21:49:33 -0600") References: <20220402034933.507692-1-james.hilliard1@gmail.com> Message-ID: <871qy6tut1.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Validate that BR2_DEFAULT_KERNEL_VERSION is set when required. > Fixes: > http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:30:20 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:30:20 +0200 Subject: [Buildroot] [PATCH v2,1/2] package/ipmiutil: drop dead code In-Reply-To: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 10:27:14 +0200") References: <20220402082715.1497098-1-fontaine.fabrice@gmail.com> Message-ID: <87wnfysg5f.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > ipmiutil depends on dynamic library since commit > 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS > added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed > anymore > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2: > - Keep disabling lanplus if openssl is unavailable Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:31:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:31:50 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220402130049.453518-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 15:00:49 +0200") References: <20220402130049.453518-1-fontaine.fabrice@gmail.com> Message-ID: <87sfqmsg2x.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since > the addition of the package in commit > 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and > https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b > configure: error: --enable-static must be specified with --disable-shared > Fixes: > - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2: > - Fix patch number Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:26:57 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:26:57 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] toolchain-external-custom: error if BR2_TOOLCHAIN_EXTERNAL_URL is not set Message-ID: <20220409102238.F3BA283515@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ae4ec7cde64c77ecb27cd7e7d67d6052ae435509 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit d9a9d4df2b84350f7014b33b50af120c3915f4b5) Signed-off-by: Peter Korsgaard --- .../toolchain-external-custom/toolchain-external-custom.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk index c4ae6125ef..f2ec01f88c 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk +++ b/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk @@ -10,6 +10,11 @@ TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERN ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) # We can't check hashes for custom downloaded toolchains BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) +ifeq ($(BR_BUILDING)$(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),) +$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting) +endif +endif endif $(eval $(toolchain-external-package)) From peter at korsgaard.com Sat Apr 9 10:26:31 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:26:31 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set Message-ID: <20220409102238.E95018350E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8945ba49480a7885d104445ca855ef7681a374ff branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 8e91385a2cb81c5f8114354f4494230e2aebb93a) Signed-off-by: Peter Korsgaard --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index 299b6008aa..c7f4175c9e 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,7 +69,12 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) +endif endif +endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) From peter at korsgaard.com Sat Apr 9 10:29:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:29:14 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/ipmiutil: drop dead code Message-ID: <20220409102239.210B083515@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=422d263a71d943944f469db3c2ae8827337cd0bf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x ipmiutil depends on dynamic library since commit 670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed anymore Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit cdc2a52a0fd619ee9762656c2ff8f84418a85ea1) Signed-off-by: Peter Korsgaard --- package/ipmiutil/ipmiutil.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index 4c9de26583..97a644e314 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN endef IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +ifeq ($(BR2_PACKAGE_OPENSSL),y) # tests against distro libcrypto so it might get a false positive when # the openssl version is old, so force it off # SKIP_MD2 can be used only if ALLOW_GNU is defined. From peter at korsgaard.com Sat Apr 9 10:27:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:27:44 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/linux-headers: error if headers version is not set Message-ID: <20220409102239.169088350E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=12e33273561b27543c0c3d5d06d28c001dae3c15 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Validate that BR2_DEFAULT_KERNEL_VERSION is set when required. Fixes: http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 4ff6a0587fa733ef6ebf131c095226a606c09420) Signed-off-by: Peter Korsgaard --- package/linux-headers/linux-headers.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index 1102e76f0f..e2a0b7a7c9 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -33,6 +33,12 @@ LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) LINUX_HEADERS_CIP = endif # BR2_KERNEL_HEADERS_AS_KERNEL +ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR_BUILDING),yy) +ifeq ($(LINUX_HEADERS_VERSION),) +$(error No kernel headers version set, check your BR2_DEFAULT_KERNEL_VERSION setting) +endif +endif + # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) ifeq ($(BR_BUILDING),y) From peter at korsgaard.com Sat Apr 9 10:31:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:31:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libkrb5: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220409102239.2BF8F8350E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c522be0d509292b983b99f06c367da3e627e3c48 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with BR2_SHARED_STATIC_LIBS raised since the addition of the package in commit 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 and https://github.com/krb5/krb5/commit/bd13166a4098198832d921b8e50b97008b714b7b configure: error: --enable-static must be specified with --disable-shared Fixes: - http://autobuild.buildroot.org/results/dadbf9f77ffdcc4d4e48c6d7e6beb5da303a8074 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit d0d70761131d0f2c029e95db4c97827944684aaa) Signed-off-by: Peter Korsgaard --- package/libkrb5/libkrb5.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index d41e7559a5..f406cd9e49 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -37,6 +37,11 @@ LIBKRB5_CONF_OPTS = \ --without-tcl \ --disable-rpath +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS += --disable-static +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) LIBKRB5_CONF_OPTS += --with-ldap LIBKRB5_DEPENDENCIES += openldap From peter at korsgaard.com Sat Apr 9 10:27:37 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:27:37 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/linux-headers: ensure tarball location is set Message-ID: <20220409102239.0BF0B83518@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fabeb698adc3c4006cfa15d439c8a58f0032d548 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when required. Fixes: http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105 Signed-off-by: James Hilliard [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 6c5f78f8906d8b36e099ca13c257bbaba4b49374) Signed-off-by: Peter Korsgaard --- package/linux-headers/linux-headers.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index a8d1c2ccaf..1102e76f0f 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -35,6 +35,11 @@ endif # BR2_KERNEL_HEADERS_AS_KERNEL # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) +ifeq ($(BR_BUILDING),y) +ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION),) +$(error No kernel headers tarball location set, check your BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION setting) +endif +endif LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))) else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y) From peter at korsgaard.com Sat Apr 9 10:48:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:48:21 +0200 Subject: [Buildroot] [PATCH 1/1] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS In-Reply-To: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 22:01:18 +0200") References: <20220402200118.1193238-1-fontaine.fabrice@gmail.com> Message-ID: <87o81asfbe.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid > the following build failure when GO_GOARCH is empty (e.g. on mips32) > raised since the addition of the package in commmit > ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: > printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot > rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target > table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' > Usage: > sloci-image [options] ROOTFS NAME[:TAG] > sloci-image [-h | -V] > Create a single-layer OCI image with the given rootfs. > Arguments: > ROOTFS Directory or tar.gz archive with rootfs to pack into the image. > Important: Archive will be *moved* to the image, so make a copy if you > need it. Directory will be preserved. > NAME Name of the image. > TAG Tag for the image. Defaults to "latest". > Options: > -m --arch ARCH CPU architecture which the binaries in this image are built to run on. > Defaults to $(uname -m). > --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). > -a --author NAME Name and/or email address of the person which created the image. > -c --cmd CMD Default arguments to the entrypoint of the container. > --debug Print debug messages (it can be also enabled with env. variable DEBUG). > -C --entrypoint EP Arguments to use as the command to execute when the container starts. > -e --env VAR=VAL Default environment variables for container. > -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. > If KEY starts with a dot, it will be prefixed with > "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). > --os OS Name of the OS which the image is built to run on. Defaults to "linux". > -p --port PORT[/PROT] Default set of ports to expose from a container running this image in > format: /tcp, /udp, or (same as /tcp). > Aliases: --expose. > -t --tar Pack image in a TAR archive. > -u --user USER The username or UID of user the process run as. > -v --volume PATH Default set of directories describing where the process is likely write > data specific to a container instance. > -w --working-dir DIR Sets the current working directory of the entrypoint process in the > container. > -V --version Print version and exit. > -h --help Print this message and exit. > Please report bugs at . > make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 > Fixes: > - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:49:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:49:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-greenlet: disable cpp test In-Reply-To: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 2 Apr 2022 23:24:44 +0200") References: <20220402212444.1892632-1-fontaine.fabrice@gmail.com> Message-ID: <87k0bysfa5.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Disable cpp test to avoid the following build failure without C++ raised > since the addition of the package in commit > 826ef33bedc0f2f39a38622f066978cd9cc05226 and > https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: > powerpc64-buildroot-linux-gnu-gcc.br_real: error: > src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed > on this system > Fixes: > - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 10:49:48 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 12:49:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 In-Reply-To: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 11:03:40 +0200") References: <20220403090340.2319112-1-fontaine.fabrice@gmail.com> Message-ID: <87fsmmsf8z.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with gcc >= 9 (and -std=c++17): > ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications > 70 | bool file_exists(const std::string& file) throw (error); > | ^~~~~ > Fixes: > - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Sat Apr 9 13:42:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 15:42:59 +0200 Subject: [Buildroot] [RFC PATCH v1 1/2] tbb: new package In-Reply-To: <20220407182425.194001-2-flaniel@linux.microsoft.com> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> <20220407182425.194001-2-flaniel@linux.microsoft.com> Message-ID: Hi Francis, Thank you for this patch. I applied to master but with quite a few changes. On 07/04/2022 20:24, Francis Laniel wrote: > From: bradford barr > > Intel Threading Building Blocks (TBB), is a C++ library to help developers > write highly parallelized applications. OpenCV uses it to accelerate some of > it's more heavy weight procedures. > > Signed-off-by: bradford barr > Signed-off-by: Francis Laniel > --- > DEVELOPERS | 1 + > package/Config.in | 1 + > .../0001-tbb-Enable-cross-compilation.patch | 55 +++++++++++++++++++ > package/tbb/Config.in | 16 ++++++ > package/tbb/tbb.hash | 2 + > package/tbb/tbb.mk | 39 +++++++++++++ > 6 files changed, 114 insertions(+) > create mode 100644 package/tbb/0001-tbb-Enable-cross-compilation.patch > create mode 100644 package/tbb/Config.in > create mode 100644 package/tbb/tbb.hash > create mode 100644 package/tbb/tbb.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index a66b9d7eee..ef4ddcab50 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -970,6 +970,7 @@ F: package/odhcploc/ > > N: Francis Laniel > F: package/pahole/ > +F: package/tbb/ > > N: Francisco Gonzalez > F: package/ser2net/ > diff --git a/package/Config.in b/package/Config.in > index 0d5d763180..24f7af5ea8 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2044,6 +2044,7 @@ endif > source "package/skalibs/Config.in" > source "package/sphinxbase/Config.in" > source "package/startup-notification/Config.in" > + source "package/tbb/Config.in" > source "package/tinycbor/Config.in" > source "package/tz/Config.in" > source "package/tzdata/Config.in" > diff --git a/package/tbb/0001-tbb-Enable-cross-compilation.patch b/package/tbb/0001-tbb-Enable-cross-compilation.patch > new file mode 100644 > index 0000000000..652d59c47b > --- /dev/null > +++ b/package/tbb/0001-tbb-Enable-cross-compilation.patch > @@ -0,0 +1,55 @@ > +From 42c3faff14917f687aab405d8f571e352ffdf3f5 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Wed, 6 Apr 2022 15:58:02 +0100 > +Subject: [PATCH] tbb: Enable cross-compilation. > + > +This patch replaces hardcoded value for CPLUS and CONLY with $(CXX) and $(CC). > +So, by defining CC= it is possible to cross compile this library using a > +cross-compiler. > + > +This patch was originally written by: > +Marcin Juszkiewicz > +and taken from: > +https://github.com/intel/luv-yocto/blob/3b0688bc9a5e8d52b6ca461b15fb4abd3eaaf7a8/meta-oe/recipes-support/tbb/tbb/cross-compile.patch > + > +Signed-off-by: Francis Laniel > +--- > + build/linux.clang.inc | 5 +++-- > + build/linux.gcc.inc | 5 +++-- > + 2 files changed, 6 insertions(+), 4 deletions(-) > + > +diff --git a/build/linux.clang.inc b/build/linux.clang.inc > +index 5a459ef5..a0777db5 100644 > +--- a/build/linux.clang.inc > ++++ b/build/linux.clang.inc > +@@ -31,8 +31,9 @@ DYLIB_KEY = -shared > + EXPORT_KEY = -Wl,--version-script, > + LIBDL = -ldl > + > +-CPLUS = clang++ > +-CONLY = clang > ++CPLUS = $(CXX) > ++CONLY = $(CC) > ++CPLUS_FLAGS = $(CXXFLAGS) I dropped this patch. Instead, I simply passed CPLUS, CONLY and CPLUS_FLAGS in the $(MAKE) call. > + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) > + LIBS += -lpthread -lrt > + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic > +diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc > +index 786c4153..30242a82 100644 > +--- a/build/linux.gcc.inc > ++++ b/build/linux.gcc.inc > +@@ -32,8 +32,9 @@ DYLIB_KEY = -shared > + EXPORT_KEY = -Wl,--version-script, > + LIBDL = -ldl > + > +-CPLUS = g++ > +-CONLY = gcc > ++CPLUS = $(CXX) > ++CONLY = $(CC) > ++CPLUS_FLAGS = $(CXXFLAGS) > + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) > + LIBS += -lpthread -lrt > + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic > +-- > +2.25.1 > + > diff --git a/package/tbb/Config.in b/package/tbb/Config.in > new file mode 100644 > index 0000000000..0f40b74d31 > --- /dev/null > +++ b/package/tbb/Config.in > @@ -0,0 +1,16 @@ > +config BR2_PACKAGE_TBB > + bool "tbb" > + depends on BR2_TOOLCHAIN_USES_GLIBC > + depends on !BR2_STATIC_LIBS > + depends on BR2_TOOLCHAIN_HAS_THREADS > + depends on BR2_INSTALL_LIBSTDCPP > + help > + Intel(R) Threading Building Blocks (Intel(R) TBB) lets you > + easily write parallel C++ programs that take full advantage > + of multicore performance, that are portable, composable and > + have future-proof scalability. > + > + https://www.threadingbuildingblocks.org/ > + > +comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" > + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > new file mode 100644 > index 0000000000..e9fb7511b8 > --- /dev/null > +++ b/package/tbb/tbb.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 tbb-2018_U5.tar.gz You also need to include a hash for the license file. > diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > new file mode 100644 > index 0000000000..cf06579b98 > --- /dev/null > +++ b/package/tbb/tbb.mk > @@ -0,0 +1,39 @@ > +################################################################################ > +# > +# tbb > +# > +################################################################################ > + > +TBB_VERSION = 2018_U5 > +TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) > +TBB_INSTALL_STAGING = YES > +TBB_LICENSE = Apache-2.0 > +TBB_LICENSE_FILES = LICENSE > + > +TBB_SO_VERSION = 2 > +TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy > +TBB_BIN_PATH = $(@D)/build/linux_* > + > +define TBB_BUILD_CMDS > + $(MAKE) $(TARGET_CONFIGURE_OPTS) arch=$(BR2_ARCH) -C $(@D) The values for arch that are used by tbb are different from the values that BR2_ARCH has. I studied this in more detail: # arch is normally set based on uname -m with some conversions. However, # it is not really used for much: # - to decide between 32 or 64-bit files (based on '64' in the name) # - to decide on some arch-specific CFLAGS like -m32, which we don't actually want # - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) # - to include assembler source, but it only exists for ia64 # The only thing we actually want from the above is the 32/64-bit, and # DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to # the tbb build system, and set DO_ITT_NOTIFY explicitly. Regards, Arnout > +endef > + > +define TBB_INSTALL_LIBS > + $(foreach lib,$(TBB_LIBS), > + $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$(TBB_SO_VERSION) \ > + $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; > + ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so > + ) > +endef > + > +define TBB_INSTALL_STAGING_CMDS > + mkdir -p $(STAGING_DIR)/usr/include/ > + cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ > + $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) > +endef > + > +define TBB_INSTALL_TARGET_CMDS > + $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) > +endef > + > +$(eval $(generic-package)) From arnout at mind.be Fri Apr 8 19:06:34 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Fri, 8 Apr 2022 21:06:34 +0200 Subject: [Buildroot] [git commit] package/tbb: new package Message-ID: <20220409134230.059958365C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c114c9e8ce3cca598babe77dca0d2137fa404a4b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Intel Threading Building Blocks (TBB), is a C++ library to help developers write highly parallelized applications. OpenCV uses it to accelerate some of it's more heavy weight procedures. Signed-off-by: bradford barr Signed-off-by: Francis Laniel [Arnout: - add LICENSE hash; - replace patch with explicit passing of CPLUS, CONLY, CXXFLAGS; - rework handling of arch and add comment about it.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + package/Config.in | 1 + package/tbb/Config.in | 16 ++++++++++++++++ package/tbb/tbb.hash | 3 +++ package/tbb/tbb.mk | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index a66b9d7eee..ef4ddcab50 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -970,6 +970,7 @@ F: package/odhcploc/ N: Francis Laniel F: package/pahole/ +F: package/tbb/ N: Francisco Gonzalez F: package/ser2net/ diff --git a/package/Config.in b/package/Config.in index 0d5d763180..24f7af5ea8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2044,6 +2044,7 @@ endif source "package/skalibs/Config.in" source "package/sphinxbase/Config.in" source "package/startup-notification/Config.in" + source "package/tbb/Config.in" source "package/tinycbor/Config.in" source "package/tz/Config.in" source "package/tzdata/Config.in" diff --git a/package/tbb/Config.in b/package/tbb/Config.in new file mode 100644 index 0000000000..0f40b74d31 --- /dev/null +++ b/package/tbb/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_TBB + bool "tbb" + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + help + Intel(R) Threading Building Blocks (Intel(R) TBB) lets you + easily write parallel C++ programs that take full advantage + of multicore performance, that are portable, composable and + have future-proof scalability. + + https://www.threadingbuildingblocks.org/ + +comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash new file mode 100644 index 0000000000..81d224b3ca --- /dev/null +++ b/package/tbb/tbb.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 tbb-2018_U5.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk new file mode 100644 index 0000000000..e5929388a2 --- /dev/null +++ b/package/tbb/tbb.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# tbb +# +################################################################################ + +TBB_VERSION = 2018_U5 +TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) +TBB_INSTALL_STAGING = YES +TBB_LICENSE = Apache-2.0 +TBB_LICENSE_FILES = LICENSE + +TBB_SO_VERSION = 2 +TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy +TBB_BIN_PATH = $(@D)/build/linux_* + +# arch is normally set based on uname -m with some conversions. However, +# it is not really used for much: +# - to decide between 32 or 64-bit files (based on '64' in the name) +# - to decide on some arch-specific CFLAGS like -m32, which we don't actually want +# - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) +# - to include assembler source, but it only exists for ia64 +# The only thing we actually want from the above is the 32/64-bit, and +# DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to +# the tbb build system, and set DO_ITT_NOTIFY explicitly. +TBB_ARCH = $(if $(BR2_ARCH_IS_64),buildroot64,buildroot32) +TBB_ITT_NOTIFY = $(if $(BR2_i386)$(BR2_x86_64),-DDO_ITT_NOTIFY) +TBB_CXXFLAGS = $(TARGET_CXXFLAGS) $(TBB_ITT_NOTIFY) + +define TBB_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) arch=$(TBB_ARCH) \ + CPLUS="$(TARGET_CXX)" CONLY="$(TARGET_CC)" CXXFLAGS="$(TBB_CXXFLAGS)" +endef + +define TBB_INSTALL_LIBS + $(foreach lib,$(TBB_LIBS), + $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$(TBB_SO_VERSION) \ + $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; + ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so + ) +endef + +define TBB_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/ + cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ + $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) +endef + +define TBB_INSTALL_TARGET_CMDS + $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) +endef + +$(eval $(generic-package)) From peter at korsgaard.com Sat Apr 9 14:02:51 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:02:51 +0200 Subject: [Buildroot] [PATCH 1/2] package/python-brotli: add missing C++ comment In-Reply-To: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 11:20:58 +0200") References: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> Message-ID: <87bkxas6b8.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > python-brotli needs C++ since its addition in commit > 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:02:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:02:56 +0200 Subject: [Buildroot] [PATCH 2/2] package/python-weasyprint: needs C++ In-Reply-To: <20220403092059.2320843-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 11:20:59 +0200") References: <20220403092059.2320843-1-fontaine.fabrice@gmail.com> <20220403092059.2320843-2-fontaine.fabrice@gmail.com> Message-ID: <877d7ys6b3.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++ > dependency from python-brotli > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:02:26 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:02:26 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-weasyprint: needs C++ Message-ID: <20220409135355.3503B8368C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c5bcb7a201b9b4ea5f7e6816061485cb0ffce9c9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++ dependency from python-brotli Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit fef53b2e53c0e1ee958702f7a7f2cb097d54e74f) Signed-off-by: Peter Korsgaard --- package/python-weasyprint/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 4a7e5a513d..7fe99c3951 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" + depends on BR2_INSTALL_LIBSTDCPP # python-brotli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime @@ -14,3 +15,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT The Awesome Document Factory. https://www.courtbouillon.org/weasyprint + +comment "python-weasyprint needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Sat Apr 9 10:49:24 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:49:24 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cloop: fix build with gcc >= 9 Message-ID: <20220409135355.20A6D83695@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3ae9a618b8634b0093890e12a1326910e7bef941 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with gcc >= 9 (and -std=c++17): ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications 70 | bool file_exists(const std::string& file) throw (error); | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 7e147e778fc3397cd2a069c8127fa4d2cc6c0355) Signed-off-by: Peter Korsgaard --- package/cloop/cloop.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index f3c4954ead..6f6d5fe6a8 100644 --- a/package/cloop/cloop.mk +++ b/package/cloop/cloop.mk @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib define HOST_CLOOP_BUILD_CMDS $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" endef define HOST_CLOOP_INSTALL_CMDS From peter at korsgaard.com Sat Apr 9 14:02:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:02:11 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-brotli: add missing C++ comment Message-ID: <20220409135355.29DB88368B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=20246952dda1bd81792bf8cc8cb60a87cd7dbe64 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x python-brotli needs C++ since its addition in commit 2f176b837bbd2eb5ab4d23b7ba0528e548287aa7 so add a comment about it Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit dbf34f5c117c87be58e485605bbe8dec07762897) Signed-off-by: Peter Korsgaard --- package/python-brotli/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-brotli/Config.in b/package/python-brotli/Config.in index 1c09c26866..c31315392b 100644 --- a/package/python-brotli/Config.in +++ b/package/python-brotli/Config.in @@ -5,3 +5,6 @@ config BR2_PACKAGE_PYTHON_BROTLI Python bindings for the Brotli compression library. https://github.com/google/brotli + +comment "python-brotli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Sat Apr 9 10:48:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:48:55 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-greenlet: disable cpp test Message-ID: <20220409135355.1657B8344D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a591dafceaba29d1bd1771e50ed7dfa9265ad73d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Disable cpp test to avoid the following build failure without C++ raised since the addition of the package in commit 826ef33bedc0f2f39a38622f066978cd9cc05226 and https://github.com/python-greenlet/greenlet/commit/d9cb12af26da2abbabe9f05101564866f25a74e2: powerpc64-buildroot-linux-gnu-gcc.br_real: error: src/greenlet/tests/_test_extension_cpp.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/1140463b8b2407c2a28b9a955efab6037ee7dbeb Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit b91bf2dbe6dc57ca85598730617b4eaccbe7433b) Signed-off-by: Peter Korsgaard --- package/python-greenlet/python-greenlet.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk index 3b1ef7e314..72d2747970 100644 --- a/package/python-greenlet/python-greenlet.mk +++ b/package/python-greenlet/python-greenlet.mk @@ -10,6 +10,7 @@ PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea PYTHON_GREENLET_SETUP_TYPE = setuptools PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no $(eval $(python-package)) $(eval $(host-python-package)) From peter at korsgaard.com Sat Apr 9 10:48:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 12:48:32 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] fs/oci: depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS Message-ID: <20220409135355.0EDB48368B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0e8dd13bf892cbcec21d6845a9fa9c9a49fab24b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Add a dependency on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS to avoid the following build failure when GO_GOARCH is empty (e.g. on mips32) which leads to an empty --arch argument in the sloci-image call, raised since the addition of the package in commmit ccda2f4bdc97d2f5a4a1efdb357ece8e5b57e10d: printf ' rm -rf /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci\n /home/autobuild/autobuild/instance-6/output-1/host/bin/sloci-image --arch --entrypoint "sh" --author "Buildroot" --user "0" /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target /home/autobuild/autobuild/instance-6/output-1/images/rootfs-oci:latest\n' >> /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot chmod a+x /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot PATH="/home/autobuild/autobuild/instance-6/output-1/host/bin:/home/autobuild/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" FAKEROOTDONTTRYCHOWN=1 /home/autobuild/autobuild/instance-6/output-1/host/bin/fakeroot -- /home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/fakeroot rootdir=/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/oci/target table='/home/autobuild/autobuild/instance-6/output-1/build/buildroot-fs/full_devices_table.txt' Usage: sloci-image [options] ROOTFS NAME[:TAG] sloci-image [-h | -V] Create a single-layer OCI image with the given rootfs. Arguments: ROOTFS Directory or tar.gz archive with rootfs to pack into the image. Important: Archive will be *moved* to the image, so make a copy if you need it. Directory will be preserved. NAME Name of the image. TAG Tag for the image. Defaults to "latest". Options: -m --arch ARCH CPU architecture which the binaries in this image are built to run on. Defaults to $(uname -m). --arch-variant Variant of the CPU. This is typically used only for arm (v6, v7, v8). -a --author NAME Name and/or email address of the person which created the image. -c --cmd CMD Default arguments to the entrypoint of the container. --debug Print debug messages (it can be also enabled with env. variable DEBUG). -C --entrypoint EP Arguments to use as the command to execute when the container starts. -e --env VAR=VAL Default environment variables for container. -l --label KEY=VALUE Metadata for the container compliant with OCI annotation rules. If KEY starts with a dot, it will be prefixed with "org.opencontainers.image" (e.g. .url -> org.opencontainers.image.url). --os OS Name of the OS which the image is built to run on. Defaults to "linux". -p --port PORT[/PROT] Default set of ports to expose from a container running this image in format: /tcp, /udp, or (same as /tcp). Aliases: --expose. -t --tar Pack image in a TAR archive. -u --user USER The username or UID of user the process run as. -v --volume PATH Default set of directories describing where the process is likely write data specific to a container instance. -w --working-dir DIR Sets the current working directory of the entrypoint process in the container. -V --version Print version and exit. -h --help Print this message and exit. Please report bugs at . make: *** [fs/oci/oci.mk:99: /home/autobuild/autobuild/instance-6/output-1/images/rootfs.oci] Error 1 Fixes: - http://autobuild.buildroot.org/results/44da17a393421dfcb8bbdd63074cb82b436dfa94 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit efe832dbc3c8d0d2caa1e8ba0ccba8254292de6c) Signed-off-by: Peter Korsgaard --- fs/oci/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/oci/Config.in b/fs/oci/Config.in index 176785810a..8f36c91c8f 100644 --- a/fs/oci/Config.in +++ b/fs/oci/Config.in @@ -1,5 +1,6 @@ config BR2_TARGET_ROOTFS_OCI bool "oci image" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS help Build an OCI (Open Container Initiative) image. From peter at korsgaard.com Sat Apr 9 14:09:24 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:09:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 12:03:18 +0200") References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> Message-ID: <8735ims60b.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Use internal bind as dhcp doesn't build since bump of bind to version > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > doesn't plan to fix it any time soon: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > In file included from ../includes/dhcpd.h:91, > from ctrace.c:29: > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:07:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:07:25 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/dhcp: use internal bind Message-ID: <20220409135952.56D9D83695@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=47f14d9a0f34bd9f596465c14b31a4bf9ce6b2cc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Use internal bind as dhcp doesn't build since bump of bind to version 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream doesn't plan to fix it any time soon: https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 In file included from ../includes/dhcpd.h:91, from ctrace.c:29: ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 Signed-off-by: Fabrice Fontaine Reviewed-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 0c8dd6ebd656e06cf99a63eb93343715f4853503) Signed-off-by: Peter Korsgaard --- package/dhcp/Config.in | 1 - package/dhcp/dhcp.mk | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index 515040c612..e0706efafb 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_DHCP # fork() depends on BR2_USE_MMU depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_BIND help DHCP relay agent from the ISC DHCP distribution. diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 18765a3639..f1e3c22f1c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -9,8 +9,10 @@ DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE -DHCP_DEPENDENCIES = bind host-gawk +DHCP_DEPENDENCIES = host-gawk DHCP_CPE_ID_VENDOR = isc +# internal bind does not support parallel builds. +DHCP_MAKE = $(MAKE1) # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF @@ -21,11 +23,12 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk DHCP_CONF_OPTS = \ - --with-libbind=$(STAGING_DIR)/usr \ + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ --with-randomdev=/dev/random \ --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ @@ -38,8 +41,18 @@ DHCP_CONF_OPTS = \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-relay6-pid-file=/var/run/dhcrelay6.pid +ifeq ($(BR2_PACKAGE_ZLIB),y) +DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_DEPENDENCIES += zlib +else +DHCP_BIND_EXTRA_CONFIG += --without-zlib +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DHCP_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_STATIC_LIBS),y) -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" DHCP_CONF_OPTS += --disable-libtool else DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF From peter at korsgaard.com Sat Apr 9 14:10:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:10:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/flac: fix build on ppc64 In-Reply-To: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 12:31:46 +0200") References: <20220403103146.2873012-1-fontaine.fabrice@gmail.com> Message-ID: <87y20eqret.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Disable vsx to avoid the following build failure on ppc64 raised since > bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af > and > https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: > In file included from lpc_intrin_vsx.c:46: > /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: > error: #error Use the "-maltivec" flag to enable PowerPC AltiVec > support > 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support > | ^~~~~ > lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': > lpc_intrin_vsx.c:94:7: warning: implicit declaration of function > 'vec_vsx_ld'; did you mean 'vec_vslh'? > [-Wimplicit-function-declaration] > 94 | d0 = vec_vsx_ld(0, base); > | ^~~~~~~~~~ > | vec_vslh > Fixes: > - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:10:35 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:10:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpsl: fix build with libiconv In-Reply-To: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 14:13:27 +0200") References: <20220403121327.3234177-1-fontaine.fabrice@gmail.com> Message-ID: <87tub2qrdw.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure raised since the addition of the package > in commit 47acda3a95bd4310f884e741f20785d374af7b22: > /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: > src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': > psl.c:(.text+0x1584): undefined reference to `libiconv_open' > Fixes: > - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:11:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:11:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/glib-networking: fix build with libressl In-Reply-To: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 16:00:24 +0200") References: <20220403140024.3774250-1-fontaine.fabrice@gmail.com> Message-ID: <87pmlqqrco.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > glib-networking raises the following build failure with libressl: > ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': > ../tls/openssl/gtlsconnection-openssl.c:419:27: error: > 'TLS1_3_VERSION' undeclared (first use in this function); did you mean > 'TLS1_2_VERSION'? > 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) > | ^~~~~~~~~~~~~~ > | TLS1_2_VERSION > ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared > identifier is reported only once for each function it appears in > ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit > declaration of function 'SSL_key_update' > [-Werror=implicit-function-declaration] > 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); > | ^~~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:12:07 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 09 Apr 2022 16:12:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/dieharder: drop rgb_operm In-Reply-To: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Apr 2022 22:56:00 +0200") References: <20220403205600.1836512-1-fontaine.fabrice@gmail.com> Message-ID: <87leweqrbc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure: > /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: > dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to > `rgb_operm' > Fixes: > - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sat Apr 9 14:09:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:09:45 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/flac: fix build on ppc64 Message-ID: <20220409140344.6E0BD83701@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=446d7c537109a1a7de7c947d59c77dc04e247f4a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Disable vsx to avoid the following build failure on ppc64 raised since bump to version 1.3.3 in commit 89337e4f39343b3cba0e9f77b3a198fa8ea340af and https://github.com/xiph/flac/commit/cdb030cd3749b4547399a049ce3cae5e974ccd48: In file included from lpc_intrin_vsx.c:46: /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/9.4.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support 34 | #error Use the "-maltivec" flag to enable PowerPC AltiVec support | ^~~~~ lpc_intrin_vsx.c: In function 'FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16': lpc_intrin_vsx.c:94:7: warning: implicit declaration of function 'vec_vsx_ld'; did you mean 'vec_vslh'? [-Wimplicit-function-declaration] 94 | d0 = vec_vsx_ld(0, base); | ^~~~~~~~~~ | vec_vslh Fixes: - http://autobuild.buildroot.org/results/a97a0522c58964fa51815236bc39b378e10b5008 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 5197ce5ff30d1a23b811ddddca8030f13658d7da) Signed-off-by: Peter Korsgaard --- package/flac/flac.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/flac/flac.mk b/package/flac/flac.mk index 2ff048b6e6..3a18d81591 100644 --- a/package/flac/flac.mk +++ b/package/flac/flac.mk @@ -20,7 +20,8 @@ FLAC_CONF_OPTS = \ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ --disable-xmms-plugin \ --disable-altivec \ - --disable-stack-smash-protection + --disable-stack-smash-protection \ + --disable-vsx ifeq ($(BR2_PACKAGE_LIBOGG),y) FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr From peter at korsgaard.com Sat Apr 9 14:10:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:10:22 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libpsl: fix build with libiconv Message-ID: <20220409140344.77AE08368C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33e173f2098c33dcd8b3bd3bbf4f2f644f96b192 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure raised since the addition of the package in commit 47acda3a95bd4310f884e741f20785d374af7b22: /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/libpsl.so.5.3.2.p/psl.c.o: in function `psl_str_to_utf8lower': psl.c:(.text+0x1584): undefined reference to `libiconv_open' Fixes: - http://autobuild.buildroot.org/results/8f012331acd3edb96a69d374436884679add8860 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 3239fb5b179d043ecfc854dd2f4962444d8b36a6) Signed-off-by: Peter Korsgaard --- ...001-Add-libiconv-dep-to-meson-build-again.patch | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch new file mode 100644 index 0000000000..72f50aa593 --- /dev/null +++ b/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch @@ -0,0 +1,60 @@ +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 +From: Zhao Zhili +Date: Thu, 7 Jan 2021 20:59:17 +0800 +Subject: [PATCH] Add libiconv dep to meson build again + +Build success on macOS and ubuntu. + +[Retrieved from: +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 14 ++++++++++++++ + src/meson.build | 2 +- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f248171..fb2de31 100644 +--- a/meson.build ++++ b/meson.build +@@ -20,6 +20,7 @@ libicu_dep = notfound + libidn_dep = notfound + libunistring = notfound + networking_deps = notfound ++libiconv_dep = notfound + + # FIXME: Cleanup this when Meson gets 'feature-combo': + # https://github.com/mesonbuild/meson/issues/4566 +@@ -86,6 +87,19 @@ endif + if libidn2_dep.found() or libidn_dep.found() + # Check for libunistring, we need it for psl_str_to_utf8lower() + libunistring = cc.find_library('unistring') ++ found_iconv = false ++ if cc.has_function('iconv_open') ++ libiconv_dep = [] ++ found_iconv = true ++ endif ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') ++ libiconv_dep = [cc.find_library('iconv')] ++ found_iconv = true ++ endif ++ ++ if not found_iconv ++ error('iconv implementation not found') ++ endif + endif + + if host_machine.system() == 'windows' +diff --git a/src/meson.build b/src/meson.build +index 0d1dcdf..746bf44 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -19,7 +19,7 @@ cargs = [ + libpsl = library('psl', sources, suffixes_dafsa_h, + include_directories : [configinc, includedir], + c_args : cargs, +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], + version: lt_version, + install: true, + ) From peter at korsgaard.com Sat Apr 9 14:11:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:11:45 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/dieharder: drop rgb_operm Message-ID: <20220409140344.8B51D83701@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=314074e743133043674a1558d6819dfa047f0ea9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure: /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: dieharder-add_ui_rngs.o:(.data+0xd8): undefined reference to `rgb_operm' Fixes: - http://autobuild.buildroot.org/results/7be339674291b39f8eddb8ad065f0988128ecfe9 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit d0ffdb2bdd22432f6f269a43ceaf7f1e51d535b5) Signed-off-by: Peter Korsgaard --- .../dieharder/0005-Remove-defunct-rgb_operm.patch | 732 +++++++++++++++++++++ 1 file changed, 732 insertions(+) diff --git a/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/package/dieharder/0005-Remove-defunct-rgb_operm.patch new file mode 100644 index 0000000000..efc311dbaa --- /dev/null +++ b/package/dieharder/0005-Remove-defunct-rgb_operm.patch @@ -0,0 +1,732 @@ +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marcus=20M=C3=BCller?= +Date: Mon, 12 Oct 2020 21:30:12 +0200 +Subject: [PATCH] Remove defunct rgb_operm + +[Retrieved from: +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] +Signed-off-by: Fabrice Fontaine +--- + include/Makefile.am | 1 - + include/dieharder/rgb_operm.h | 38 -- + include/dieharder/tests.h | 2 - + libdieharder/rgb_operm.c | 633 ---------------------------------- + 4 files changed, 674 deletions(-) + delete mode 100644 include/dieharder/rgb_operm.h + delete mode 100644 libdieharder/rgb_operm.c + +diff --git a/include/Makefile.am b/include/Makefile.am +index f80b4ff..e4659cd 100644 +--- a/include/Makefile.am ++++ b/include/Makefile.am +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ + dieharder/rgb_lagged_sums.h \ + dieharder/rgb_lmn.h \ + dieharder/rgb_minimum_distance.h \ +- dieharder/rgb_operm.h \ + dieharder/rgb_persist.h \ + dieharder/rgb_permutations.h \ + dieharder/rgb_timing.h \ +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +deleted file mode 100644 +index c48fa37..0000000 +--- a/include/dieharder/rgb_operm.h ++++ /dev/null +@@ -1,38 +0,0 @@ +-/* +- * rgb_operm test header. +- */ +- +-/* +- * function prototype +- */ +-int rgb_operm(Test **test,int irun); +- +-static Dtest rgb_operm_dtest __attribute__((unused)) = { +- "RGB Overlapping Permuations Test", +- "rgb_operm", +- "\n\ +-#========================================================================\n\ +-# RGB Overlapping Permutations Test\n\ +-# Forms both the exact (expected) covariance matrix for overlapping\n\ +-# permutations of random integer and an empirical covariance matrix\n\ +-# formed from a long string of samples. The difference is expected\n\ +-# to have a chisq distribution and hence can be transformed into a\n\ +-# sample p-value. Note that this is one possible functional replacement\n\ +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ +-# number of numbers in the overlapping permutation window) to be varied\n\ +-# from 2 to perhaps 8.\n\ +-#\n", +- 100, /* Default psamples */ +- 100000, /* Default tsamples */ +- 1, /* We magically make all the bit tests return a single histogram */ +- rgb_operm, +- 0 +-}; +- +-/* +- * Global variables. +- * +- * rgb_operm_k is the size of the overlapping window that is slid along +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. +- */ +-unsigned int rgb_operm_k; +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h +index 1674aed..b50dbe3 100644 +--- a/include/dieharder/tests.h ++++ b/include/dieharder/tests.h +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -80,7 +79,6 @@ + RGB_PERMUTATIONS, + RGB_LAGGED_SUMS, + RGB_LMN, +- RGB_OPERM, + DAB_BYTEDISTRIB, + DAB_DCT, + DAB_FILLTREE, +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c +deleted file mode 100644 +index 15f8e9a..0000000 +--- a/libdieharder/rgb_operm.c ++++ /dev/null +@@ -1,633 +0,0 @@ +-/* +- * ======================================================================== +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ +- * +- * See copyright in copyright.h and the accompanying file COPYING +- * ======================================================================== +- */ +- +-/* +- * ======================================================================== +- * This is the revised Overlapping Permutations test. It directly +- * simulates the covariance matrix of overlapping permutations. The way +- * this works below (tentatively) is: +- * +- * For a bit ntuple of length N, slide a window of length N to the +- * right one bit at a time. Compute the permutation index of the +- * original ntuple, the permutation index of the window ntuple, and +- * accumulate the covariance matrix of the two positions. This +- * can be directly and precisely computed as well. The simulated +- * result should be distributed according to the chisq distribution, +- * so we subtract the two and feed it into the chisq program as a +- * vector to compute p. +- * +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited +- * documentation (in a program that doesn't do ANYTHING like what the +- * documentation says it does) and from Nilpotent Markov Processes. +- * But I confess to not quite understand how to actually perform the +- * test in the latter -- it is very good at describing the construction +- * of the target matrix, not so good at describing how to transform +- * this into a chisq and p. +- * +- * FWIW, as I get something that actually works here, I'm going to +- * THOROUGHLY document it in the book that will accompany the test. +- *======================================================================== +- */ +- +-#include +-#define RGB_OPERM_KMAX 10 +- +-/* +- * Some globals that will eventually go in the test include where they +- * arguably belong. +- */ +-double fpipi(int pi1,int pi2,int nkp); +-uint piperm(size_t *data,int len); +-void make_cexact(); +-void make_cexpt(); +-int nperms,noperms; +-double **cexact,**ceinv,**cexpt,**idty; +-double *cvexact,*cvein,*cvexpt,*vidty; +- +-int rgb_operm(Test **test,int irun) +-{ +- +- int i,j,n,nb,iv,s; +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ +- uint *count,ctotal; /* counters */ +- uint size; +- double pvalue,ntuple_prob,pbin; /* probabilities */ +- Vtest *vtest; /* Chisq entry vector */ +- +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; +- +- /* +- * For a given n = ntuple size in bits, there are n! bit orderings +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("#==================================================================\n"); +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); +- printf("# rgb_operm: ======================================================\n"); +- } +- +- /* +- * Sanity check first +- */ +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); +- exit(0); +- } +- +- nperms = gsl_sf_fact(rgb_operm_k); +- noperms = gsl_sf_fact(3*rgb_operm_k-2); +- csamples = rgb_operm_k*rgb_operm_k; +- gsl_permutation * p = gsl_permutation_alloc(nperms); +- +- /* +- * Allocate memory for value_max vector of Vtest structs and counts, +- * PER TEST. Note that we must free both of these when we are done +- * or leak. +- */ +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); +- count = (uint *)malloc(csamples*sizeof(uint)); +- Vtest_create(vtest,csamples+1); +- +- /* +- * We have to allocate and free the cexact and cexpt matrices here +- * or they'll be forgotten when these routines return. +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); +- } +- cexact = (double **)malloc(nperms*sizeof(double*)); +- ceinv = (double **)malloc(nperms*sizeof(double*)); +- cexpt = (double **)malloc(nperms*sizeof(double*)); +- idty = (double **)malloc(nperms*sizeof(double*)); +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); +- for(i=0;idata[k]; +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("#------------------------------------------------------------------\n"); +- printf("# Generating offset sample permutation pi's\n"); +- } +- */ +- for(k=0;k<2*rgb_operm_k - 1;k++){ +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); +- pi[k] = piperm((size_t *) ps,rgb_operm_k); +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("# %u: ",k); +- for(ip=k;ipdata[ip]); +- } +- printf(" = %u\n",pi[k]); +- } +- */ +- } +- +- /* +- * This is the business end of things. The covariance matrix is the +- * the sum of a central function of the permutation indices that yields +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the +- * possible permutations, for the FIRST permutation in a sample (fi) +- * times the sum of the same function over all the overlapping permutations +- * drawn from the same sample. Quite simple, really. +- */ +- for(i=0;idata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } else { +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); +- gsl_permutation_next(lookup[i]); +- for(j=0;jdata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } +- } +- */ +- MYDEBUG(D_RGB_OPERM){ +- for(i=0;i ",i); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf("\n"); +- } +- } +- +- } +- +- for(i=0;idata,len*sizeof(uint))==0){ +- /* Not cruft, but off: +- MYDEBUG(D_RGB_OPERM){ +- printf("# piperm(): "); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf(" = %u\n",i); +- } +- */ +- return(i); +- } +- } +- printf("We'd better not get here...\n"); +- +- return(0); +- +-} +- +-double fpipi(int pi1,int pi2,int nkp) +-{ +- +- int i; +- double fret; +- +- /* +- * compute the k-permutation index from iperm for the window +- * at data[offset] of length len. If it matches pind, return +- * the first quantity, otherwise return the second. +- */ +- if(pi1 == pi2){ +- +- fret = (double) (nkp - 1.0)/nkp; +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } else { +- +- fret = (double) (-1.0/nkp); +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } +- +- +-} +- +- +- +- From peter at korsgaard.com Sat Apr 9 14:11:04 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sat, 9 Apr 2022 16:11:04 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/glib-networking: doesn't support libressl Message-ID: <20220409140344.80E0A8371A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dea83528efedb5e6f2d8236198f1da5fc8d1a045 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x glib-networking raises the following build failure with libressl: ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) | ^~~~~~~~~~~~~~ | TLS1_2_VERSION ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~ Since libressl doesn't (intend to) support post-1.0.2 openssl compatibility, this is only going to get worse. Therefore, require libopenssl. Fixes: - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit e02514ad7a11c24b8fbd7a4bd57c7b4419a61505) Signed-off-by: Peter Korsgaard --- package/glib-networking/Config.in | 1 + package/glib-networking/glib-networking.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in index 38cded5e6b..9c5d36af16 100644 --- a/package/glib-networking/Config.in +++ b/package/glib-networking/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS help Network-related GIO modules for glib. diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index f74e520d31..e8905dfff4 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -31,7 +31,7 @@ else GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) GLIB_NETWORKING_DEPENDENCIES += openssl GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled else From arnout at mind.be Sat Apr 9 14:40:20 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 16:40:20 +0200 Subject: [Buildroot] [RFC PATCH v1 2/2] package/sysdig: bump version to 0.27.1. In-Reply-To: <20220407182425.194001-3-flaniel@linux.microsoft.com> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> <20220407182425.194001-3-flaniel@linux.microsoft.com> Message-ID: <2b54dc64-98da-5de3-e94e-0fb7bbaaca8b@mind.be> Hi Francis, On 07/04/2022 20:24, Francis Laniel wrote: > 0.23.1 has compilation errors with recent kernels. > > Signed-off-by: Francis Laniel I've applied to master, with a number of changes. I've noticed that it doesn't build on e.g. aarch64, because it uses syscalls like open(2) that simply don't exist on aarch64. Fixing that would be quite a big undertaking, and upstream has simply removed the syscall-handling code. So a better solution would be to update to 0.29.1. However, *that* is a fairly big change again because they also got rid of the kernel driver. It's easy enough to remove the kernel-module part on the buildroot side, but I wouldn't know if it still behaves correctly at runtime. So, Francis, would you care to look into updating to 0.29.1? If you do that, please also check if it requires a minimum kernel version. I think it uses all kinds of tracepoint or other kernel features which may not exist in older kernels. If it does have a minimum kernel version, please add a BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y dependency (with explanation in the commit message how you got to that conclusion). Also, I added you to DEVELOPERS for this package. It won't have much effect other than being Cc'ed on patches, because sysdig isn't built in the autobuilders (since it depends on a kernel to be built and we don't do that in autobuilders). > --- > ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 +++++++++++++++++++ > ...gainst-libabseil-cpp-which-grpc-uses.patch | 45 ++++++++++ > package/sysdig/Config.in | 5 ++ > package/sysdig/sysdig.hash | 1 + > package/sysdig/sysdig.mk | 7 +- > 5 files changed, 139 insertions(+), 1 deletion(-) > create mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > create mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > new file mode 100644 > index 0000000000..7873210281 > --- /dev/null > +++ b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > @@ -0,0 +1,82 @@ > +From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Wed, 6 Apr 2022 16:54:37 +0100 > +Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. > + > +Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and > +luaL_Reg. > +So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function > +call as well. > +Note that, this PATCH_COMMAND was added in sysdig in: > +a064440394c9 ("Adding power support to Travis builds (#1566)") > + > +This patch is also present in kubernetes/minikube in: > +f036c279bc59 ("Add patch for compiling sysdig with system luajit") > + > +Signed-off-by: Francis Laniel Would it be possible to send this patch upstream, so we don't need to maintain it going forward? Obviously, it's best to first bump to the latest version (and check if the patch is still needed). [snip] > diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > new file mode 100644 > index 0000000000..60c3d31a3e > --- /dev/null > +++ b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > @@ -0,0 +1,45 @@ > +From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Thu, 7 Apr 2022 18:30:23 +0100 > +Subject: [PATCH 2/2] Link against libabseil-cpp which grpc uses. Don't include the 2/2 part (use git format-patch -N). check-package reports this. > + > +This patch was taken from: > +55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") > +from hhoffstaette/portage. I've changed this to include the full URL of where you've taken it from. I should have done that for th other patch as well, but I forgot. Also please send this patch upstream. > + > +Signed-off-by: Francis Laniel > +--- > + CMakeLists.txt | 1 + > + userspace/libsinsp/CMakeLists.txt | 4 ++++ > + 2 files changed, 5 insertions(+) > + > +diff --git a/CMakeLists.txt b/CMakeLists.txt > +index 1f34f1d6..c0354b29 100644 > +--- a/CMakeLists.txt > ++++ b/CMakeLists.txt > +@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) > + else() > + message(FATAL_ERROR "Couldn't find system grpc") > + endif() > ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) > + find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) > + if(NOT GRPC_CPP_PLUGIN) > + message(FATAL_ERROR "System grpc_cpp_plugin not found") > +diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt > +index d72f9115..d1b7ea02 100644 > +--- a/userspace/libsinsp/CMakeLists.txt > ++++ b/userspace/libsinsp/CMakeLists.txt > +@@ -214,6 +214,10 @@ if(NOT WIN32) > + "${JQ_LIB}" > + "${B64_LIB}") > + > ++ if(ABSL_SYNC_LIB) > ++ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") > ++ endif() > ++ > + if(NOT MUSL_OPTIMIZED_BUILD) > + target_link_libraries(sinsp > + rt > +-- > +2.25.1 > + > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > index 06d20c7f7b..5a7fbb50e0 100644 > --- a/package/sysdig/Config.in > +++ b/package/sysdig/Config.in > @@ -8,13 +8,18 @@ config BR2_PACKAGE_SYSDIG > depends on BR2_USE_WCHAR # elfutils > depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils > depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > + select BR2_PACKAGE_C_ARES > select BR2_PACKAGE_ELFUTILS > + select BR2_PACKAGE_GRPC You also need to propagate the dependencies of grpc. For grpc, that's just a matter of adding grpc to the comments above, but some other packages have stricter dependencies. > + select BR2_PACKAGE_GTEST gtest is only required if tests are enabled, so I added the conf opt to disable tests instead. > select BR2_PACKAGE_JQ > select BR2_PACKAGE_JSONCPP > select BR2_PACKAGE_LIBB64 > select BR2_PACKAGE_LIBCURL > select BR2_PACKAGE_NCURSES > select BR2_PACKAGE_OPENSSL > + select BR2_PACKAGE_PROTOBUF > + select BR2_PACKAGE_TBB > select BR2_PACKAGE_ZLIB > help > Sysdig is open source, system-level exploration: > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > index 565b1e9828..4bce674f3e 100644 > --- a/package/sysdig/sysdig.hash > +++ b/package/sysdig/sysdig.hash > @@ -1,3 +1,4 @@ > # sha256 locally computed > +sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz > sha256 57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa sysdig-0.23.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING The COPYING file has changed, as shown by 'make legal-info'. Turns out that the license changed to Apache-2.0, except for the driver which is GPLv2 or MIT. So I updated the license hash and added the new license files. > diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk > index 08d93750ae..d497c7c381 100644 > --- a/package/sysdig/sysdig.mk > +++ b/package/sysdig/sysdig.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SYSDIG_VERSION = 0.23.1 > +SYSDIG_VERSION = 0.27.1 > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > SYSDIG_LICENSE = GPL-2.0 > SYSDIG_LICENSE_FILES = COPYING This needed to be updated as well for the license change, of course. Regards, Arnout > @@ -13,7 +13,10 @@ SYSDIG_CONF_OPTS = -DENABLE_DKMS=OFF -DUSE_BUNDLED_DEPS=OFF > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > SYSDIG_DEPENDENCIES = \ > + c-ares \ > elfutils \ > + gtest \ > + grpc \ > jq \ > jsoncpp \ > libb64 \ > @@ -21,6 +24,8 @@ SYSDIG_DEPENDENCIES = \ > luainterpreter \ > ncurses \ > openssl \ > + protobuf \ > + tbb \ > zlib > > # sysdig creates the module Makefile from a template, which contains a From arnout at mind.be Sat Apr 9 14:00:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 9 Apr 2022 16:00:43 +0200 Subject: [Buildroot] [git commit] package/sysdig: bump version to 0.27.1. Message-ID: <20220409143154.0046D83761@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7818cef78bfaf8eab8ec86d715ca76b0dbfa46e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master 0.23.1 has compilation errors with recent kernels. 0.27.1 changed license for userspace from GPLv2 to Apache and added MIT option for driver. New dependencies: c-ares, grpc, protobuf, tbb. There's also a dependency on gtest, but only if tests are enabled. Therefore, add conf opt to disable tests. Signed-off-by: Francis Laniel [Arnout: - Add Francis to DEVELOPERS for sysdig. - Add link to source of patch 2. - Remove N/M from patch 2 (check-package). - Correct license info and hashes. - Remove gtest dependency. - Add -DCREATE_TEST_TARGETS=OFF conf opt. - Propagate Config.in dependencies of reverse dependencies.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + ...ply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ++++++++++++++++++++++ ...ink-against-libabseil-cpp-which-grpc-uses.patch | 47 +++++++++++++ package/sysdig/Config.in | 20 ++++-- package/sysdig/sysdig.hash | 6 +- package/sysdig/sysdig.mk | 15 ++-- 6 files changed, 158 insertions(+), 13 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index ef4ddcab50..d5035b3239 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -970,6 +970,7 @@ F: package/odhcploc/ N: Francis Laniel F: package/pahole/ +F: package/sysdig/ F: package/tbb/ N: Francisco Gonzalez diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch new file mode 100644 index 0000000000..7873210281 --- /dev/null +++ b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch @@ -0,0 +1,82 @@ +From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 6 Apr 2022 16:54:37 +0100 +Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. + +Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and +luaL_Reg. +So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function +call as well. +Note that, this PATCH_COMMAND was added in sysdig in: +a064440394c9 ("Adding power support to Travis builds (#1566)") + +This patch is also present in kubernetes/minikube in: +f036c279bc59 ("Add patch for compiling sysdig with system luajit") + +Signed-off-by: Francis Laniel +--- + userspace/libsinsp/chisel.cpp | 6 +++--- + userspace/libsinsp/lua_parser.cpp | 2 +- + userspace/libsinsp/lua_parser_api.cpp | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp +index 0a6e3cf8..0c2e255a 100644 +--- a/userspace/libsinsp/chisel.cpp ++++ b/userspace/libsinsp/chisel.cpp +@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) + // Lua callbacks + /////////////////////////////////////////////////////////////////////////////// + #ifdef HAS_LUA_CHISELS +-const static struct luaL_reg ll_sysdig [] = ++const static struct luaL_Reg ll_sysdig [] = + { + {"set_filter", &lua_cbacks::set_global_filter}, + {"set_snaplen", &lua_cbacks::set_snaplen}, +@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = + {NULL,NULL} + }; + +-const static struct luaL_reg ll_chisel [] = ++const static struct luaL_Reg ll_chisel [] = + { + {"request_field", &lua_cbacks::request_field}, + {"set_filter", &lua_cbacks::set_filter}, +@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = + {NULL,NULL} + }; + +-const static struct luaL_reg ll_evt [] = ++const static struct luaL_Reg ll_evt [] = + { + {"field", &lua_cbacks::field}, + {"get_num", &lua_cbacks::get_num}, +diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp +index 0e26617d..78810d96 100644 +--- a/userspace/libsinsp/lua_parser.cpp ++++ b/userspace/libsinsp/lua_parser.cpp +@@ -32,7 +32,7 @@ extern "C" { + #include "lauxlib.h" + } + +-const static struct luaL_reg ll_filter [] = ++const static struct luaL_Reg ll_filter [] = + { + {"rel_expr", &lua_parser_cbacks::rel_expr}, + {"bool_op", &lua_parser_cbacks::bool_op}, +diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp +index c89e9126..c3d8008a 100644 +--- a/userspace/libsinsp/lua_parser_api.cpp ++++ b/userspace/libsinsp/lua_parser_api.cpp +@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) + string err = "Got non-table as in-expression operand\n"; + throw sinsp_exception("parser API error"); + } +- int n = luaL_getn(ls, 4); /* get size of table */ ++ int n = lua_objlen (ls, 4); /* get size of table */ + for (i=1; i<=n; i++) + { + lua_rawgeti(ls, 4, i); +-- +2.25.1 + diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch new file mode 100644 index 0000000000..a9155fbb4a --- /dev/null +++ b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch @@ -0,0 +1,47 @@ +From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Thu, 7 Apr 2022 18:30:23 +0100 +Subject: [PATCH] Link against libabseil-cpp which grpc uses. + +This patch was taken from: +55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") [1] +from hhoffstaette/portage. + +[1] https://github.com/hhoffstaette/portage/blob/55c96b61f7b91e4d91bed6723e86c00dd91f8d16/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch + +Signed-off-by: Francis Laniel +--- + CMakeLists.txt | 1 + + userspace/libsinsp/CMakeLists.txt | 4 ++++ + 2 files changed, 5 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1f34f1d6..c0354b29 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) + else() + message(FATAL_ERROR "Couldn't find system grpc") + endif() ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) + find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) + if(NOT GRPC_CPP_PLUGIN) + message(FATAL_ERROR "System grpc_cpp_plugin not found") +diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt +index d72f9115..d1b7ea02 100644 +--- a/userspace/libsinsp/CMakeLists.txt ++++ b/userspace/libsinsp/CMakeLists.txt +@@ -214,6 +214,10 @@ if(NOT WIN32) + "${JQ_LIB}" + "${B64_LIB}") + ++ if(ABSL_SYNC_LIB) ++ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") ++ endif() ++ + if(NOT MUSL_OPTIMIZED_BUILD) + target_link_libraries(sinsp + rt +-- +2.25.1 + diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index 06d20c7f7b..3a4c033b2b 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -1,20 +1,25 @@ config BR2_PACKAGE_SYSDIG bool "sysdig" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq - depends on !BR2_STATIC_LIBS # elfutils + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb + depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils + depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils, tbb depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC select BR2_PACKAGE_JQ select BR2_PACKAGE_JSONCPP select BR2_PACKAGE_LIBB64 select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_NCURSES select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB select BR2_PACKAGE_ZLIB help Sysdig is open source, system-level exploration: @@ -25,9 +30,10 @@ config BR2_PACKAGE_SYSDIG https://github.com/draios/sysdig/wiki -comment "sysdig needs a glibc or uclibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" +comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ - || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) \ + || !BR2_TOOLCHAIN_USES_GLIBC \ || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 565b1e9828..4ec46abfc3 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,3 +1,5 @@ # sha256 locally computed -sha256 57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa sysdig-0.23.1.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz +sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt +sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 08d93750ae..9a9aaa35c3 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,16 +4,21 @@ # ################################################################################ -SYSDIG_VERSION = 0.23.1 +SYSDIG_VERSION = 0.27.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) -SYSDIG_LICENSE = GPL-2.0 -SYSDIG_LICENSE_FILES = COPYING +SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) +SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt SYSDIG_CPE_ID_VENDOR = sysdig -SYSDIG_CONF_OPTS = -DENABLE_DKMS=OFF -DUSE_BUNDLED_DEPS=OFF +SYSDIG_CONF_OPTS = \ + -DENABLE_DKMS=OFF \ + -DUSE_BUNDLED_DEPS=OFF \ + -DCREATE_TEST_TARGETS=OFF SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ + c-ares \ elfutils \ + grpc \ jq \ jsoncpp \ libb64 \ @@ -21,6 +26,8 @@ SYSDIG_DEPENDENCIES = \ luainterpreter \ ncurses \ openssl \ + protobuf \ + tbb \ zlib # sysdig creates the module Makefile from a template, which contains a From arnout at mind.be Sat Apr 9 15:41:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 17:41:42 +0200 Subject: [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] In-Reply-To: <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> References: <20220331132230.227424-1-br015@umbiko.net> <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> Message-ID: <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> [Putting the other maintainers in Cc here because there's a bit of a policy/philosophy decision.] On 08/04/2022 15:22, Andreas Ziegler wrote: > Hi Arnout, > > [snip] > Outline of the proposed next version of this change: > > [I did not want to make so many changes, but you are right, it makes sense.] > > Separate logic from implementation: Remove feature dependencies from mpd.mk and > put selection logic into Config.in exclusively. As you can see from the description above: this is making things quite complicated. And one of the tenets of Buildroot is to keep things simple. That is the reason why we generally want to avoid sub-options in Config.in. Basically we only want sub-options in the following cases: - It makes a big difference in the final target installed size if the option is kept disabled. E.g. BR2_PACKAGE_AVAHI_DAEMON. - There are multiple possibilities and depending on the circumstances, one can be more appropriate than the other. E.g. libcurl SSL/TLS library to use. - It is not obvious which other package needs to be enabled to enable a feature. E.g. BR2_PACKAGE_BLUEZ_ALSA_HCITOP. - The package has many sub-features with various dependencies, it is typically a major top-level package (i.e. something that the user wants explicitly and is not pulled in by something else), and the sub-features are user visible. The mpd sub-options fall in the latter category. It's the most tricky one to evaluate because it pulls in complexity with a difficult trade-off. It's also the one I dislike most, because it's very subjective. A way to make it more objective is to make a user-visible option for each config option that the package provides. However, I think that easily leads to an unnecessary explosion of Config.in options with no benefit for the user and possibly causing confusion. And it's not necessarily that simple either, cfr. mesa3d (though in that case it's going to be complicated however it's approached). We don't have a consistent policy for this case, but I believe the policy should be: - Add Config.in options only for features that are important, meaningful for the user (e.g. codec support). - Add Config.in options only for features that have a size impact (usually due to the dependencies they pull in). - In the .mk file, don't use the Config.in options but instead use automatic dependencies only. That way, the .mk file is kept simple (no problematic cases like the libupnp/expat interaction in this patch). The Config.in is a bit complicated, but it doesn't explode. Bottom line: I think it's actually the reverse that needs to be done. > In the makefile, a feature is responsible only to select or deselect its > configure option and, if this feature relies on a library, add a dependency on > this. So I think the .mk file should simply contain things like: ifeq ($(BR2_PACKAGE_LIBVORBIS),y) MPD_DEPENDENCIES += libvorbis MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled else MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled endif and BR2_PACKAGE_MPD_VORBIS only has an indirect effect, by selecting BR2_PACKAGE_LIBVORBIS. > Duplicated selection logic in mpd.mk will be eliminated. A build dependency will > only be added if it is present in the mpd configuration, and not be inherited > accidentally from concurrent packages. So this is exactly the reverse of what I'd want. I think it makes the .mk file harder to maintain for no practical gain. > This impacts the following features: expat, id3tag, yajl. id3tag already is half > implemented, but not used consistently (has an option entry in Config.in, but > does not select this, but handles dependencies individually). expat and yajl > would be created as hidden options without visibility (no user interaction > necessary). Yes, that would indeed be an alternative to keep the .mk file simpler. I take it you mean to add a blind option BR2_PACKAGE_MPD_EXPAT that gets selected by the other MPD options that rely on expat. This indeed simplifies things, but it is still a bit more complicated than what I propose. > Separate vorbis decoder and encoder options; currently the decoder feature > BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis encoding, > which is probably not intended. I don't see a reason why you would want only one or the other. It has virtually no impact on size. In summary, I think we have the following three options for packages where we decide we want user-visible sub-options. - 1-to-1 mapping with the package configure options. Interaction between the options is expressed with select/depends in Config.in. The .mk file simply maps the Config.in options. If it's really not relevant for the user, a Config.in option can be made blind. This is what Andreas proposes. - Only automatic dependencies in the .mk file, except in cases where it has an important size or behaviour impact. Add Config.in options only in case it is relevant. This is what I propose. - Add Config.in options for important features. Express interdependencies between package configure options in the .mk file. This is the current situation for mpd. Thinking more about it, Andreas' proposal does have an attractive kind of elegance about it, which gives it simplicity even though it is more lines of code. So let's see what the other maintainers think. If you (or the other maintainers) don't agree, we can compromise and go back to the original patch (with just the npupnp/expat situation resolved). Ideally I'd like the maintainers (and anybody else, really) to come to a decision here and eventually formalize it in the manual. Because it's not the first time this discussion crops up. Regards, Arnout > Create entry 'unicode' for ICU in Config.in. > > Set zlib to disabled (not used currently). > > Thoughts? > > Kind regards, > Andreas > >> ?Regards, >> ?Arnout >> >>> ? else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y) >>> ? MPD_CONF_OPTS += -Dupnp=disabled >>> ? endif From arnout at mind.be Sat Apr 9 15:50:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 17:50:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 In-Reply-To: References: <20220405163540.9277-1-fontaine.fabrice@gmail.com> Message-ID: <8857e367-45d4-12b9-ec87-7c9e918c772c@mind.be> On 05/04/2022 20:50, Fabrice Fontaine wrote: > Le mar. 5 avr. 2022 ? 19:28, Arnout Vandecappelle a ?crit : >> >> >> >> On 05/04/2022 18:35, Fabrice Fontaine wrote: >>> Override COMMON_CPPFLAGS to fix the following build failure with >>> BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit >>> cd707a9112e38b4ce98326b96c0ed12054ca1cca and >>> https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: >>> >>> /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] >> >> I haven't looked at the details, but in this case it seems to me the proper >> solution is to make sure _FORTIFY_SOURCE is not enabled. >> >> But perhaps that is exactly what this patch does? > > This patch was removing the following flags (including -Werror): > COMMON_CPPFLAGS = -Wextra -Wall -pedantic -fwrapv --param > ssp-buffer-size=4 -O2 -Werror -std=gnu99 -Wconversion -fwrapv is something that certainly should *not* be removed. -std=gnu99 as well. --param ssp-buffer-size=4 is a bit dubious (I *think* it only has an effect if SSP is enabled with another option). -O2 is something that we really do want to override, but if CFLAGS is added after it, it's fine. And I guess that's what happens, otherwise the error you're trying to fix wouldn't occur. > > However, -D_FORTIFY_SOURCE=2 was still set (in CPPFLAGS) We really only want FORTIFY if it's enabled by Buildroot, because of BR2_FORTIFY_SOURCE_ARCH_SUPPORTS (and because optimisations must be enabled before it can be used, obviously). > I can send a v2 to set CPPFLAGS to $(TARGET_CPPFLAGS) if you prefer > this solution. Yeah, I think that's the way to go. BTW is it really CPPFLAGS? -O2 and -fwrapv really belong to CFLAGS, not CPPFLAGS. Not that it matters much I guess. Regards, Arnout > >> >> Regards, >> Arnout >> >>> >>> It should be noted that upstream already rejected a PR to remove >>> -Werror: https://github.com/smuellerDD/libkcapi/pull/132 >>> >>> Fixes: >>> - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 >>> >>> Signed-off-by: Fabrice Fontaine >>> --- >>> package/libkcapi/libkcapi.mk | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk >>> index 71dfbd9eff..353939bb31 100644 >>> --- a/package/libkcapi/libkcapi.mk >>> +++ b/package/libkcapi/libkcapi.mk >>> @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ >>> ac_cv_path_DB2PDF="" \ >>> ac_cv_path_DB2PS="" \ >>> ac_cv_path_XMLTO="" >>> +LIBKCAPI_MAKE_OPTS = COMMON_CPPFLAGS="" >>> >>> ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) >>> LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp > > Best Regards, > > Fabrice From yann.morin.1998 at free.fr Sat Apr 9 16:09:21 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 9 Apr 2022 18:09:21 +0200 Subject: [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] In-Reply-To: <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> References: <20220331132230.227424-1-br015@umbiko.net> <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> Message-ID: <20220409160921.GA3547512@scaer> Arnout, Andreas, All, On 2022-04-09 17:41 +0200, Arnout Vandecappelle spake thusly: > On 08/04/2022 15:22, Andreas Ziegler wrote: > >Outline of the proposed next version of this change: > >[I did not want to make so many changes, but you are right, it makes sense.] > >Separate logic from implementation: Remove feature dependencies from > >mpd.mk and put selection logic into Config.in exclusively. > As you can see from the description above: this is making things quite > complicated. And one of the tenets of Buildroot is to keep things simple. [--SNIP--] > We don't have a consistent policy for this case, but I believe the policy > should be: > > - Add Config.in options only for features that are important, meaningful for > the user (e.g. codec support). > > - Add Config.in options only for features that have a size impact (usually > due to the dependencies they pull in). > > - In the .mk file, don't use the Config.in options but instead use automatic > dependencies only. That would be very confusign from a user perspective: they would not enable a feature of a package, yet the package would have that feature enabled if th3e depedency is enabled. Besides the technical surprise, this could also lead to licensing issues if the combination of the two packages require special handling (e.g. because the library license propagates top the package). So, the settings from Config.in must be abode by. > That way, the .mk file is kept simple (no problematic cases like the > libupnp/expat interaction in this patch). The Config.in is a bit > complicated, but it doesn't explode. > > Bottom line: I think it's actually the reverse that needs to be done. Err. I don;'t understand what you meant here... :-( > >In the makefile, a feature is responsible only to select or deselect its > >configure option and, if this feature relies on a library, add a > >dependency on this. > > So I think the .mk file should simply contain things like: > > ifeq ($(BR2_PACKAGE_LIBVORBIS),y) > MPD_DEPENDENCIES += libvorbis > MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled > else > MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled > endif > > and BR2_PACKAGE_MPD_VORBIS only has an indirect effect, by selecting > BR2_PACKAGE_LIBVORBIS. I highly disagree; the conditional should be on the package setting, not the dependency. > >Duplicated selection logic in mpd.mk will be eliminated. A build > >dependency will only be added if it is present in the mpd configuration, > >and not be inherited accidentally from concurrent packages. > So this is exactly the reverse of what I'd want. I think it makes the .mk > file harder to maintain for no practical gain. Yet, the proposal by Andreas is I believe the correct way to handle the situation. > >This impacts the following features: expat, id3tag, yajl. id3tag already > >is half implemented, but not used consistently (has an option entry in > >Config.in, but does not select this, but handles dependencies > >individually). expat and yajl would be created as hidden options without > >visibility (no user interaction necessary). > Yes, that would indeed be an alternative to keep the .mk file simpler. I > take it you mean to add a blind option BR2_PACKAGE_MPD_EXPAT that gets > selected by the other MPD options that rely on expat. This indeed simplifies > things, but it is still a bit more complicated than what I propose. But more correct. > >Separate vorbis decoder and encoder options; currently the decoder feature > >BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis > >encoding, which is probably not intended. > I don't see a reason why you would want only one or the other. It has > virtually no impact on size. Indeed here, vorbis support should just enable both the encoder/decoder. The only reason that we might want to be able to chose, is if enabling one or the other have different requirements: extra size requirements, extra dependencies, legal issues in your jurisdiction, etc... > In summary, I think we have the following three options for packages where > we decide we want user-visible sub-options. > > - 1-to-1 mapping with the package configure options. Interaction between the > options is expressed with select/depends in Config.in. The .mk file simply > maps the Config.in options. If it's really not relevant for the user, a > Config.in option can be made blind. This is what Andreas proposes. I am OK with that. > - Only automatic dependencies in the .mk file, except in cases where it has > an important size or behaviour impact. Add Config.in options only in case it > is relevant. This is what I propose. I am OK with the principle, but this does not look like what you proposed above, as the build-dependencies would be on the dependency being enabled, not the package option (e.g. BR2_PACKAGE_MPD_VORBIS vs. BR2_PACKAGE_LIBVORBIS as you showed above). > - Add Config.in options for important features. Express interdependencies > between package configure options in the .mk file. This is the current > situation for mpd. I don;t see a difference here: "Add Config.in options only in case it is relevant" and "Add Config.in options for important features" are exactly the same in mny eyes... > So let's see what the other maintainers think. If you (or the other > maintainers) don't agree, we can compromise and go back to the original > patch (with just the npupnp/expat situation resolved). So, I'll summariser my position: - add Config.in options when it makes sense: - important size delta - legal issues those options select the appropriate packages - in the .mk: - add conditional blocks based on those options, add build dependencies as appropriate; - add conditoinal dependencies on package for automatic dependencies > Ideally I'd like the maintainers (and anybody else, really) to come to a > decision here and eventually formalize it in the manual. Because it's not > the first time this discussion crops up. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Sat Apr 9 16:45:03 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 9 Apr 2022 18:45:03 +0200 Subject: [Buildroot] [git commit] utils/genrandconfig: add randconfig based --no-toolchains-csv option Message-ID: <20220409163610.CA8918376A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aeee90ec109b83c42779e6a2617f7d57e25a2b65 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Currently we only test a limited set of toolchains that are mostly prebuilt, add a flag to allow using randconfig for randomizing additional toolchain settings instead of randpackageconfig. To avoid invalid configs we need to add additional config validation filtering and fixups. Although the loop around 'make randconfig' attempts does make sure we eventually end up with a valid configuration, there is a bias towards e.g. disabling the kernel. It would be possible to e.g. always force BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y, but that removes the possibility for a toolchains-csv config to add a valid custom defconfig. (Note that currently this isn't possible anyway since 'make randpackageconfig' is used if a toolchains-csv is provided, but eventually we want to use 'make randconfig' also if a toolchains-csv is provided.) Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- utils/genrandconfig | 215 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 206 insertions(+), 9 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 3483d55c14..59fe34e58d 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') + + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') + + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') + + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') + + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') + + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') + + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') + + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') + + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_TARGET_BAREBOX=y\n') + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_BAREBOX=y\n') + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') + + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') + + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') + + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: + configlines.remove('BR2_TARGET_UBOOT=y\n') + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') + + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: + return False + + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: + return False + + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') + with open(configfile, "w+") as configf: configf.writelines(configlines) @@ -331,11 +517,14 @@ def gen_config(args): sysinfo = SystemInfo() - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + if args.toolchains_csv: + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + else: + toolchainconfig = [] configlines = list(toolchainconfig) @@ -409,7 +598,7 @@ def gen_config(args): bounded_loop -= 1 subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig"]) + "randpackageconfig" if args.toolchains_csv else "randconfig"]) if fixup_config(sysinfo, configfile): break @@ -433,10 +622,18 @@ if __name__ == '__main__': parser.add_argument("--buildrootdir", "-b", help="Buildroot directory (relative to current directory)", type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") + + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Path of the toolchain configuration file", + type=str) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() # We need the absolute path to use with O=, because the relative From arnout at mind.be Sat Apr 9 16:57:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 9 Apr 2022 18:57:37 +0200 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> Message-ID: <36f3e482-dce6-db0d-08e0-b062f16ca69e@mind.be> On 06/04/2022 23:41, James Hilliard wrote: > On Wed, Apr 6, 2022 at 8:12 AM Arnout Vandecappelle wrote: >> >> >> >> On 05/04/2022 21:38, James Hilliard wrote: >>> On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: >>>> >>>> >>>> >>>> On 05/04/2022 13:50, James Hilliard wrote: >>>>> Currently we only test a limited set of toolchains that are mostly >>>>> prebuilt, add a flag to allow using randconfig for randomizing >>>>> additional toolchain settings instead of randpackageconfig. >>>>> >>>>> To avoid invalid configs we need to add additional config validation >>>>> filtering and fixups. >>>>> >>>>> Signed-off-by: James Hilliard >>>>> --- >>>>> Changes v3 -> v4: >>>>> - use fixup_config instead of other retries to filter bad configs >>>> >>>> Well, I don't like this. It means we have to duplicate the logic for checking >>>> the bad configs in two places: in the mk file and in genrandconfig. >>> >>> Well it seems to work better since instead of regenerating it tries to >>> fixup the config. I think this gives better statistical coverage of some >>> config options. >> >> It will create a bias towards the default option for the options you exclude. >> See below. > > Yes, I'm aware of that, however this improves coverage as certain options > like enabling the kernel build result in a high percentage of invalid configs > otherwise which creates a bias towards builds with the kernel build disabled > entirely, at least by fixing up invalid kernel configs instead of > triggering a full > re-randomization we get more builds with kernels enabled as the invalid > configs should no longer create a bias towards kernel builds being disabled > for example. Having a bias towards the common defaults seems to be a net > improvement here. Excellent point, indeed. I hadn't thought so far. >>>> If the problem is that you sometimes don't end up with a valid config even >>>> after 100 iterations, then I think a better solution is to feed valid values for >>>> the string options. That way, we still do a build test of e.g. >>>> BR2_ROOTFS_SKELETON_CUSTOM. >>> >>> That looks a bit tricky, although we could probably add it for some cases >>> that we want test coverage for. >>> >>>> >>>> [Others may disagree with me of course.] >>>> >>>> Regards, >>>> Arnout >>>> >>>> >>>>> Changes v2 -> v3: >>>>> - properly check exit codes >>>>> Changes v1 -> v2: >>>>> - refactor fixup_config control flow >>>>> --- >>>>> utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- >>>>> 1 file changed, 206 insertions(+), 9 deletions(-) >>>>> >>>>> diff --git a/utils/genrandconfig b/utils/genrandconfig >>>>> index 3483d55c14..59fe34e58d 100755 >>>>> --- a/utils/genrandconfig >>>>> +++ b/utils/genrandconfig >>>>> @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): >>>>> configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') >>>>> configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) >>>>> >>>>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ >>>>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: >> >> Here, the BR2_ROOTFS_SKELETON_CUSTOM_PATH check is basically redundant: >> randconfig will never fill something in for the string, so it is always empty. > > The fixup_config function is used for configs based on the toolchains csv's > as well so this is necessary to prevent accidentally fixing up a valid > BR2_ROOTFS_SKELETON_CUSTOM_PATH provided in a toolchain csv > file. Oh, right, I didn't think of that either! At the moment the point is moot because randpackageconfig is used. Oh hang on, I'm wrong again, it actually *would* work specifically for ROOTFS_SKELETON_CUSTOM_PATH, if ROOTFS_SKELETON_CUSTOM is also set in the toolchain config. So I expressed it incorrectly in the commit message. Unfortunately, I already applied and pushed, so I can't fix the commit message any more... Anyway, thanks for the patch! I think the next steps are: - move 'make dependencies' inside the loop (not strictly necessary but I think it woudl be an improvement); - add the toolchain config *after* running randconfig, so we can use full randconfig even if toolchains-csv is set; - add a mechanism to be able to specify additional defaults together with the toolchain config; - add options to the toolchain configs to give default values for some string options. A mechanism is needed for adding defaults because currently we can only force options in the toolchain config - if it's removed by 'make olddefconfig', is_toolchain_usable will return false. But we also don't want to *always* build a kernel in a toolchain config - and this is particularly true for uboot and barebox, where there's no arch default config to fall back to, so even with randconfig they essentially will never be built. Regards, Arnout > >> >>>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') >>>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') >> >> Thus, the result is that if a config is generated with >> BR2_ROOTFS_SKELETON_CUSTOM=y, it will be removed again and revert to its default. >> >> In this case, there are just two choices so it doesn't make a difference. But >> if there are more than two choices, removing one of them creates a bias towards >> the default option. I wouldn't call this "better statistical coverage". >> Statistically, taking a completely random sampling and then discarding samples >> that are somehow not appropriate is considered "better" than fudging >> inappropriate samples in a certain direction. > > The main issue is that throwing out invalids creates a heavy bias towards > disabling the configs dependencies entirely which is not desirable. > > Having a bias towards kernel builds with default options is better than having > a very strong bias towards the kernel not being built at all. > >> >> >> Regards, >> Arnout >> >> >> >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') >>>>> + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') >>>>> + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') >>>>> + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') >>>>> + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') >>>>> + >>>>> + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ >>>>> + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: >>>>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') >>>>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') >>>>> + >>>>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ >>>>> + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: >>>>> + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') >>>>> + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') >>>>> + >>>>> + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ >>>>> + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') >>>>> + >>>>> + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ >>>>> + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') >>>>> + >>>>> + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ >>>>> + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') >>>>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ >>>>> + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') >>>>> + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ >>>>> + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') >>>>> + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ >>>>> + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') >>>>> + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') >>>>> + >>>>> + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ >>>>> + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') >>>>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') >>>>> + >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') >>>>> + >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ >>>>> + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') >>>>> + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') >>>>> + >>>>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') >>>>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: >>>>> + return False >>>>> + >>>>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') >>>>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: >>>>> + return False >>>>> + >>>>> + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ >>>>> + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: >>>>> + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') >>>>> + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') >>>>> + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') >>>>> + >>>>> with open(configfile, "w+") as configf: >>>>> configf.writelines(configlines) >>>>> >>>>> @@ -331,11 +517,14 @@ def gen_config(args): >>>>> >>>>> sysinfo = SystemInfo() >>>>> >>>>> - # Select a random toolchain configuration >>>>> - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) >>>>> + if args.toolchains_csv: >>>>> + # Select a random toolchain configuration >>>>> + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) >>>>> >>>>> - i = randint(0, len(configs) - 1) >>>>> - toolchainconfig = configs[i] >>>>> + i = randint(0, len(configs) - 1) >>>>> + toolchainconfig = configs[i] >>>>> + else: >>>>> + toolchainconfig = [] >>>>> >>>>> configlines = list(toolchainconfig) >>>>> >>>>> @@ -409,7 +598,7 @@ def gen_config(args): >>>>> bounded_loop -= 1 >>>>> subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, >>>>> "KCONFIG_PROBABILITY=%d" % randint(1, 20), >>>>> - "randpackageconfig"]) >>>>> + "randpackageconfig" if args.toolchains_csv else "randconfig"]) >>>>> >>>>> if fixup_config(sysinfo, configfile): >>>>> break >>>>> @@ -433,10 +622,18 @@ if __name__ == '__main__': >>>>> parser.add_argument("--buildrootdir", "-b", >>>>> help="Buildroot directory (relative to current directory)", >>>>> type=str, default='.') >>>>> - parser.add_argument("--toolchains-csv", >>>>> - help="Path of the toolchain configuration file", >>>>> - type=str, >>>>> - default="support/config-fragments/autobuild/toolchain-configs.csv") >>>>> + >>>>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) >>>>> + toolchains_csv.add_argument("--toolchains-csv", >>>>> + dest="toolchains_csv", >>>>> + help="Path of the toolchain configuration file", >>>>> + type=str) >>>>> + toolchains_csv.add_argument("--no-toolchains-csv", >>>>> + dest="toolchains_csv", >>>>> + help="Generate random toolchain configuration", >>>>> + action='store_false') >>>>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") >>>>> + >>>>> args = parser.parse_args() >>>>> >>>>> # We need the absolute path to use with O=, because the relative From bugzilla at busybox.net Sat Apr 9 17:02:31 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 09 Apr 2022 17:02:31 +0000 Subject: [Buildroot] [Bug 14711] nodjs build problem missing bzip In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14711 Arnout Vandecappelle changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #7 from Arnout Vandecappelle --- > Problem solved by adding BR2_PACKAGE_HOST_PYTHON3=y and BR2_PACKAGE_HOST_PYTHON3_BZIP2=y in the config file and did a full rebuild. These should be enabled automatically when BR2_PACKAGE_HOST_NODEJS is enabled. So I'm going to assume that you did 'make host-nodejs' without selecting BR2_PACKAGE_HOST_NODEJS, and close this bug as invalid. If, however, you somehow did run into this problem without running 'make host-nodejs' (and without an external package that depends on host-nodejs without selecting it), please reopen. -- You are receiving this mail because: You are on the CC list for the bug. From mail at dbrgn.ch Sat Apr 9 23:06:39 2022 From: mail at dbrgn.ch (Danilo) Date: Sun, 10 Apr 2022 01:06:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/janus-gateway: Add systemd service file Message-ID: <20220410010640.1fdc8ada@c3po> Signed-off-by: Danilo Bargen --- package/janus-gateway/janus-gateway.mk | 5 +++++ package/janus-gateway/janus-gateway.service | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 package/janus-gateway/janus-gateway.service diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk index 84ca0bc116..381843a0af 100644 --- a/package/janus-gateway/janus-gateway.mk +++ b/package/janus-gateway/janus-gateway.mk @@ -131,4 +131,9 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-systemd-sockets endif +define JANUS_GATEWAY_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/janus-gateway/janus-gateway.service \ + $(TARGET_DIR)/usr/lib/systemd/system/janus-gateway.service +endef + $(eval $(autotools-package)) diff --git a/package/janus-gateway/janus-gateway.service b/package/janus-gateway/janus-gateway.service new file mode 100644 index 0000000000..6e6bc7f017 --- /dev/null +++ b/package/janus-gateway/janus-gateway.service @@ -0,0 +1,13 @@ +[Unit] +Description=Janus WebRTC Gateway +Wants=network.target +StartLimitIntervalSec=0 + +[Service] +Type=simple +ExecStart=/usr/bin/janus +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target -- 2.35.1 From james.hilliard1 at gmail.com Sun Apr 10 03:17:12 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 21:17:12 -0600 Subject: [Buildroot] [PATCH 1/2] scripts/autobuild-run: fix and default to python3 Message-ID: <20220410031713.3662393-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- scripts/autobuild-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 346928f..9219134 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2014 by Thomas Petazzoni # @@ -794,7 +794,7 @@ class Builder: while True: try: self.run_one_build() - except URLError, e: + except URLError as e: sleep(30) # args / config file merging inspired by: -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 10 03:17:13 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 21:17:13 -0600 Subject: [Buildroot] [PATCH 2/2] scripts/autobuild-run: add --no-toolchains-csv option and drop docopt In-Reply-To: <20220410031713.3662393-1-james.hilliard1@gmail.com> References: <20220410031713.3662393-1-james.hilliard1@gmail.com> Message-ID: <20220410031713.3662393-2-james.hilliard1@gmail.com> Since docopt is unmaintained and less flexible than argparse lets drop it and migrate to argparse. Signed-off-by: James Hilliard --- scripts/autobuild-run | 202 ++++++------- scripts/docopt.LICENSE-MIT | 23 -- scripts/docopt.py | 581 ------------------------------------- 3 files changed, 96 insertions(+), 710 deletions(-) delete mode 100644 scripts/docopt.LICENSE-MIT delete mode 100644 scripts/docopt.py diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 9219134..4978872 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -57,56 +57,7 @@ from __future__ import print_function -# Don't tell docopt about the defaults, as it would not allow the following -# priority hierarchy for arguments: command-line > config file > defaults -defaults = { - '--ninstances': '1', - '--njobs': '1', - '--submitter': 'N/A', - '--make-opts': '', - '--nice': 0, - '--pid-file': '/tmp/buildroot-autobuild.pid', - '--http-url': 'http://autobuild.buildroot.org/', - '--toolchains-csv': 'support/config-fragments/autobuild/toolchain-configs.csv', - '--repo': 'https://github.com/buildroot/buildroot.git', -} - -doc = """autobuild-run - run Buildroot autobuilder - -Usage: autobuild-run [options] - -Options: - -h, --help show this help message and exit - -V, --version show version - -n, --ninstances NINSTANCES number of parallel instances - Defaults to %(--ninstances)s. - -j, --njobs NJOBS number of parallel jobs - Defaults to %(--njobs)s. - --nice N Niceness, positive number - Defaults to %(--nice)s. - -s, --submitter SUBMITTER name/machine of submitter - Defaults to %(--submitter)s. - --http-url URL URL of resource to submit your results. - Defaults to %(--http-url)s. - --http-login LOGIN username to send results with - Not set by default. - --http-password PASSWORD password to send results with (for security - reasons it is recommended to define this in the - config file instead, with user-read permissions - only) - Not set by default. - --make-opts OPTSTRING string of extra options to pass to Buildroot - make, such as specific command wrappers - Empty by default. - --pid-file PATH path to a file where to store the PID - Defaults to %(--pid-file)s. - -c, --config CONFIG path to configuration file - Not set by default. - -d, --debug Send log output to stdout instead of log file - --toolchains-csv CSVFILE Toolchain configuration file - -r, --repo URL URL of Buildroot repository to clone - Defaults to %(--repo)s - +epilog = """ Format of the configuration file: All arguments can also be specified in the configuration file specified with @@ -120,20 +71,18 @@ Format of the configuration file: http-login = http-password = submitter = - - -""" % defaults - -__doc__ = doc + no-toolchains-csv +""" import contextlib import csv -import docopt +import argparse import errno import hashlib import mmap import multiprocessing import os +import pathlib from random import randint import re import shutil @@ -423,6 +372,8 @@ class Builder: if not os.path.isabs(toolchains_csv): toolchains_csv = os.path.join(self.srcdir, toolchains_csv) args.extend(["--toolchains-csv", toolchains_csv]) + else: + args.extend(["--no-toolchains-csv"]) ret = subprocess.call(args, stdout=devnull, stderr=self.log) return ret @@ -797,35 +748,27 @@ class Builder: except URLError as e: sleep(30) -# args / config file merging inspired by: -# https://github.com/docopt/docopt/blob/master/examples/config_file_example.py - -def load_ini_config(configfile): - """Load configuration from file, returning a docopt-like dictionary""" +class Formatter(argparse.ArgumentDefaultsHelpFormatter, argparse.RawDescriptionHelpFormatter): + pass - if not os.path.exists(configfile): - print("ERROR: configuration file %s does not exist" % configfile) - sys.exit(1) +class LoadConfigFile(argparse.Action): + def __call__(self, parser, namespace, values, option_string=None): + config = configparser.RawConfigParser(allow_no_value=True) + config.read_file(values) - config = configparser.RawConfigParser() - if not config.read(configfile): - print("ERROR: cannot parse configuration file %s" % configfile) - sys.exit(1) + # Prepend '--' to options specified in the config file, so they can be + # merged with those given on the command-line + config_args = [] + for key, value in config.items('main'): + config_args.extend(['--%s' % key]) + if value is not None: + config_args.extend([value]) - # Prepend '--' to options specified in the config file, so they can be - # merged with those given on the command-line - return dict(('--%s' % key, value) for key, value in config.items('main')) - - -def merge(dict_1, dict_2): - """Merge two dictionaries. - - Values that evaluate to true take priority over falsy values. - `dict_1` takes priority over `dict_2`. - - """ - return dict((str(key), dict_1.get(key) or dict_2.get(key)) - for key in set(dict_2) | set(dict_1)) + data = parser.parse_args(config_args, namespace=None) + for k, v in vars(data).items(): + # set arguments in the target namespace if they haven?t been set yet + if getattr(namespace, k, None) is not None: + setattr(namespace, k, v) def main(): @@ -835,24 +778,71 @@ def main(): sysinfo = SystemInfo() - args = docopt.docopt(doc, version=VERSION) - - if args['--config']: - ini_config = load_ini_config(args['--config']) - # merge config/args, priority given to args - args = merge(args, ini_config) - - # load in defaults at lowest priority - args = merge(args, defaults) + parser = argparse.ArgumentParser(description="Buildroot autobuilder", + epilog=epilog, + formatter_class=Formatter) + parser.add_argument("--ninstances", "-n", + help="number of parallel instances", + type=int, default=1) + parser.add_argument("--njobs", "-j", + help="number of parallel jobs", + type=int, default=1) + parser.add_argument("--nice", + help="Niceness, positive number", + type=int, default=0) + parser.add_argument("--submitter", "-s", + help="name/machine of submitter", + type=str, default='N/A') + parser.add_argument("--http-url", + help="URL of resource to submit your results.", + type=str, default='http://autobuild.buildroot.org/') + parser.add_argument("--http-login", + help="username to send results with", + type=str) + parser.add_argument("--http-password", + help="password to send results with (for security " + "reasons it is recommended to define this in the " + "config file instead, with user-read permissions " + "only)", + type=str) + parser.add_argument("--make-opts", + help="string of extra options to pass to Buildroot " + "make, such as specific command wrappers", + type=str) + parser.add_argument("--pid-file", + help="path to a file where to store the PID", + type=pathlib.Path, default=pathlib.Path("/tmp/buildroot-autobuild.pid")) + parser.add_argument("--config", "-c", + help="path to configuration file", + type=open, action=LoadConfigFile) + parser.add_argument("--debug", "-d", + help="Send log output to stdout instead of log file", + type=str) + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Toolchain configuration file", + type=pathlib.Path) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv=pathlib.Path("support/config-fragments/autobuild/toolchain-configs.csv")) + parser.add_argument("--repo", "-r", + help="URL of Buildroot repository to clone", + type=str, + default="https://github.com/buildroot/buildroot.git") + + args = parser.parse_args() # Save our PID very early, so we can be stopped - with open(args['--pid-file'], "w+") as pidf: + with args.pid_file.open("w+") as pidf: pidf.write("%d" % os.getpid()) # http_login/password could theoretically be allowed as empty, so check # explicitly on None. - upload = (args['--http-login'] is not None) \ - and (args['--http-password'] is not None) + upload = (args.http_login is not None) \ + and (args.http_password is not None) if upload: sysinfo.needed_progs.append("curl") else: @@ -894,24 +884,24 @@ def main(): sys.exit(1) - buildpid = multiprocessing.Array('i', int(args['--ninstances'])) + buildpid = multiprocessing.Array('i', int(args.ninstances)) processes = [] - for i in range(0, int(args['--ninstances'])): + for i in range(0, int(args.ninstances)): builder = Builder( instance = i, - njobs = args['--njobs'], + njobs = args.njobs, sysinfo = sysinfo, - http_url = args['--http-url'], - http_login = args['--http-login'], - http_password = args['--http-password'], - submitter = args['--submitter'], - make_opts = (args['--make-opts'] or ''), - nice = (args['--nice'] or 0), - toolchains_csv = args['--toolchains-csv'], - repo = args['--repo'], + http_url = args.http_url, + http_login = args.http_login, + http_password = args.http_password, + submitter = args.submitter, + make_opts = (args.make_opts or ''), + nice = (args.nice or 0), + toolchains_csv = args.toolchains_csv, + repo = args.repo, upload = upload, buildpid = buildpid, - debug = args['--debug']) + debug = args.debug) p = multiprocessing.Process(target=builder.run_instance) p.start() processes.append(p) diff --git a/scripts/docopt.LICENSE-MIT b/scripts/docopt.LICENSE-MIT deleted file mode 100644 index 58ff1bc..0000000 --- a/scripts/docopt.LICENSE-MIT +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) 2012 Vladimir Keleshev, - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to -whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall -be included in all copies or substantial portions of the -Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY -KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/scripts/docopt.py b/scripts/docopt.py deleted file mode 100644 index 2e43f7c..0000000 --- a/scripts/docopt.py +++ /dev/null @@ -1,581 +0,0 @@ -"""Pythonic command-line interface parser that will make you smile. - - * http://docopt.org - * Repository and issue-tracker: https://github.com/docopt/docopt - * Licensed under terms of MIT license (see LICENSE-MIT) - * Copyright (c) 2013 Vladimir Keleshev, vladimir at keleshev.com - -""" -import sys -import re - - -__all__ = ['docopt'] -__version__ = '0.6.1' - - -class DocoptLanguageError(Exception): - - """Error in construction of usage-message by developer.""" - - -class DocoptExit(SystemExit): - - """Exit in case user invoked program with incorrect arguments.""" - - usage = '' - - def __init__(self, message=''): - SystemExit.__init__(self, (message + '\n' + self.usage).strip()) - - -class Pattern(object): - - def __eq__(self, other): - return repr(self) == repr(other) - - def __hash__(self): - return hash(repr(self)) - - def fix(self): - self.fix_identities() - self.fix_repeating_arguments() - return self - - def fix_identities(self, uniq=None): - """Make pattern-tree tips point to same object if they are equal.""" - if not hasattr(self, 'children'): - return self - uniq = list(set(self.flat())) if uniq is None else uniq - for i, child in enumerate(self.children): - if not hasattr(child, 'children'): - assert child in uniq - self.children[i] = uniq[uniq.index(child)] - else: - child.fix_identities(uniq) - - def fix_repeating_arguments(self): - """Fix elements that should accumulate/increment values.""" - either = [list(child.children) for child in transform(self).children] - for case in either: - for e in [child for child in case if case.count(child) > 1]: - if type(e) is Argument or type(e) is Option and e.argcount: - if e.value is None: - e.value = [] - elif type(e.value) is not list: - e.value = e.value.split() - if type(e) is Command or type(e) is Option and e.argcount == 0: - e.value = 0 - return self - - -def transform(pattern): - """Expand pattern into an (almost) equivalent one, but with single Either. - - Example: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d) - Quirks: [-a] => (-a), (-a...) => (-a -a) - - """ - result = [] - groups = [[pattern]] - while groups: - children = groups.pop(0) - parents = [Required, Optional, OptionsShortcut, Either, OneOrMore] - if any(t in map(type, children) for t in parents): - child = [c for c in children if type(c) in parents][0] - children.remove(child) - if type(child) is Either: - for c in child.children: - groups.append([c] + children) - elif type(child) is OneOrMore: - groups.append(child.children * 2 + children) - else: - groups.append(child.children + children) - else: - result.append(children) - return Either(*[Required(*e) for e in result]) - - -class LeafPattern(Pattern): - - """Leaf/terminal node of a pattern tree.""" - - def __init__(self, name, value=None): - self.name, self.value = name, value - - def __repr__(self): - return '%s(%r, %r)' % (self.__class__.__name__, self.name, self.value) - - def flat(self, *types): - return [self] if not types or type(self) in types else [] - - def match(self, left, collected=None): - collected = [] if collected is None else collected - pos, match = self.single_match(left) - if match is None: - return False, left, collected - left_ = left[:pos] + left[pos + 1:] - same_name = [a for a in collected if a.name == self.name] - if type(self.value) in (int, list): - if type(self.value) is int: - increment = 1 - else: - increment = ([match.value] if type(match.value) is str - else match.value) - if not same_name: - match.value = increment - return True, left_, collected + [match] - same_name[0].value += increment - return True, left_, collected - return True, left_, collected + [match] - - -class BranchPattern(Pattern): - - """Branch/inner node of a pattern tree.""" - - def __init__(self, *children): - self.children = list(children) - - def __repr__(self): - return '%s(%s)' % (self.__class__.__name__, - ', '.join(repr(a) for a in self.children)) - - def flat(self, *types): - if type(self) in types: - return [self] - return sum([child.flat(*types) for child in self.children], []) - - -class Argument(LeafPattern): - - def single_match(self, left): - for n, pattern in enumerate(left): - if type(pattern) is Argument: - return n, Argument(self.name, pattern.value) - return None, None - - @classmethod - def parse(class_, source): - name = re.findall('(<\S*?>)', source)[0] - value = re.findall('\[default: (.*)\]', source, flags=re.I) - return class_(name, value[0] if value else None) - - -class Command(Argument): - - def __init__(self, name, value=False): - self.name, self.value = name, value - - def single_match(self, left): - for n, pattern in enumerate(left): - if type(pattern) is Argument: - if pattern.value == self.name: - return n, Command(self.name, True) - else: - break - return None, None - - -class Option(LeafPattern): - - def __init__(self, short=None, long=None, argcount=0, value=False): - assert argcount in (0, 1) - self.short, self.long, self.argcount = short, long, argcount - self.value = None if value is False and argcount else value - - @classmethod - def parse(class_, option_description): - short, long, argcount, value = None, None, 0, False - options, _, description = option_description.strip().partition(' ') - options = options.replace(',', ' ').replace('=', ' ') - for s in options.split(): - if s.startswith('--'): - long = s - elif s.startswith('-'): - short = s - else: - argcount = 1 - if argcount: - matched = re.findall('\[default: (.*)\]', description, flags=re.I) - value = matched[0] if matched else None - return class_(short, long, argcount, value) - - def single_match(self, left): - for n, pattern in enumerate(left): - if self.name == pattern.name: - return n, pattern - return None, None - - @property - def name(self): - return self.long or self.short - - def __repr__(self): - return 'Option(%r, %r, %r, %r)' % (self.short, self.long, - self.argcount, self.value) - - -class Required(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - l = left - c = collected - for pattern in self.children: - matched, l, c = pattern.match(l, c) - if not matched: - return False, left, collected - return True, l, c - - -class Optional(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - for pattern in self.children: - m, left, collected = pattern.match(left, collected) - return True, left, collected - - -class OptionsShortcut(Optional): - - """Marker/placeholder for [options] shortcut.""" - - -class OneOrMore(BranchPattern): - - def match(self, left, collected=None): - assert len(self.children) == 1 - collected = [] if collected is None else collected - l = left - c = collected - l_ = None - matched = True - times = 0 - while matched: - # could it be that something didn't match but changed l or c? - matched, l, c = self.children[0].match(l, c) - times += 1 if matched else 0 - if l_ == l: - break - l_ = l - if times >= 1: - return True, l, c - return False, left, collected - - -class Either(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - outcomes = [] - for pattern in self.children: - matched, _, _ = outcome = pattern.match(left, collected) - if matched: - outcomes.append(outcome) - if outcomes: - return min(outcomes, key=lambda outcome: len(outcome[1])) - return False, left, collected - - -class Tokens(list): - - def __init__(self, source, error=DocoptExit): - self += source.split() if hasattr(source, 'split') else source - self.error = error - - @staticmethod - def from_pattern(source): - source = re.sub(r'([\[\]\(\)\|]|\.\.\.)', r' \1 ', source) - source = [s for s in re.split('\s+|(\S*<.*?>)', source) if s] - return Tokens(source, error=DocoptLanguageError) - - def move(self): - return self.pop(0) if len(self) else None - - def current(self): - return self[0] if len(self) else None - - -def parse_long(tokens, options): - """long ::= '--' chars [ ( ' ' | '=' ) chars ] ;""" - long, eq, value = tokens.move().partition('=') - assert long.startswith('--') - value = None if eq == value == '' else value - similar = [o for o in options if o.long == long] - if tokens.error is DocoptExit and similar == []: # if no exact match - similar = [o for o in options if o.long and o.long.startswith(long)] - if len(similar) > 1: # might be simply specified ambiguously 2+ times? - raise tokens.error('%s is not a unique prefix: %s?' % - (long, ', '.join(o.long for o in similar))) - elif len(similar) < 1: - argcount = 1 if eq == '=' else 0 - o = Option(None, long, argcount) - options.append(o) - if tokens.error is DocoptExit: - o = Option(None, long, argcount, value if argcount else True) - else: - o = Option(similar[0].short, similar[0].long, - similar[0].argcount, similar[0].value) - if o.argcount == 0: - if value is not None: - raise tokens.error('%s must not have an argument' % o.long) - else: - if value is None: - if tokens.current() in [None, '--']: - raise tokens.error('%s requires argument' % o.long) - value = tokens.move() - if tokens.error is DocoptExit: - o.value = value if value is not None else True - return [o] - - -def parse_shorts(tokens, options): - """shorts ::= '-' ( chars )* [ [ ' ' ] chars ] ;""" - token = tokens.move() - assert token.startswith('-') and not token.startswith('--') - left = token.lstrip('-') - parsed = [] - while left != '': - short, left = '-' + left[0], left[1:] - similar = [o for o in options if o.short == short] - if len(similar) > 1: - raise tokens.error('%s is specified ambiguously %d times' % - (short, len(similar))) - elif len(similar) < 1: - o = Option(short, None, 0) - options.append(o) - if tokens.error is DocoptExit: - o = Option(short, None, 0, True) - else: # why copying is necessary here? - o = Option(short, similar[0].long, - similar[0].argcount, similar[0].value) - value = None - if o.argcount != 0: - if left == '': - if tokens.current() in [None, '--']: - raise tokens.error('%s requires argument' % short) - value = tokens.move() - else: - value = left - left = '' - if tokens.error is DocoptExit: - o.value = value if value is not None else True - parsed.append(o) - return parsed - - -def parse_pattern(source, options): - tokens = Tokens.from_pattern(source) - result = parse_expr(tokens, options) - if tokens.current() is not None: - raise tokens.error('unexpected ending: %r' % ' '.join(tokens)) - return Required(*result) - - -def parse_expr(tokens, options): - """expr ::= seq ( '|' seq )* ;""" - seq = parse_seq(tokens, options) - if tokens.current() != '|': - return seq - result = [Required(*seq)] if len(seq) > 1 else seq - while tokens.current() == '|': - tokens.move() - seq = parse_seq(tokens, options) - result += [Required(*seq)] if len(seq) > 1 else seq - return [Either(*result)] if len(result) > 1 else result - - -def parse_seq(tokens, options): - """seq ::= ( atom [ '...' ] )* ;""" - result = [] - while tokens.current() not in [None, ']', ')', '|']: - atom = parse_atom(tokens, options) - if tokens.current() == '...': - atom = [OneOrMore(*atom)] - tokens.move() - result += atom - return result - - -def parse_atom(tokens, options): - """atom ::= '(' expr ')' | '[' expr ']' | 'options' - | long | shorts | argument | command ; - """ - token = tokens.current() - result = [] - if token in '([': - tokens.move() - matching, pattern = {'(': [')', Required], '[': [']', Optional]}[token] - result = pattern(*parse_expr(tokens, options)) - if tokens.move() != matching: - raise tokens.error("unmatched '%s'" % token) - return [result] - elif token == 'options': - tokens.move() - return [OptionsShortcut()] - elif token.startswith('--') and token != '--': - return parse_long(tokens, options) - elif token.startswith('-') and token not in ('-', '--'): - return parse_shorts(tokens, options) - elif token.startswith('<') and token.endswith('>') or token.isupper(): - return [Argument(tokens.move())] - else: - return [Command(tokens.move())] - - -def parse_argv(tokens, options, options_first=False): - """Parse command-line argument vector. - - If options_first: - argv ::= [ long | shorts ]* [ argument ]* [ '--' [ argument ]* ] ; - else: - argv ::= [ long | shorts | argument ]* [ '--' [ argument ]* ] ; - - """ - parsed = [] - while tokens.current() is not None: - if tokens.current() == '--': - return parsed + [Argument(None, v) for v in tokens] - elif tokens.current().startswith('--'): - parsed += parse_long(tokens, options) - elif tokens.current().startswith('-') and tokens.current() != '-': - parsed += parse_shorts(tokens, options) - elif options_first: - return parsed + [Argument(None, v) for v in tokens] - else: - parsed.append(Argument(None, tokens.move())) - return parsed - - -def parse_defaults(doc): - defaults = [] - for s in parse_section('options:', doc): - # FIXME corner case "bla: options: --foo" - _, _, s = s.partition(':') # get rid of "options:" - split = re.split('\n[ \t]*(-\S+?)', '\n' + s)[1:] - split = [s1 + s2 for s1, s2 in zip(split[::2], split[1::2])] - options = [Option.parse(s) for s in split if s.startswith('-')] - defaults += options - return defaults - - -def parse_section(name, source): - pattern = re.compile('^([^\n]*' + name + '[^\n]*\n?(?:[ \t].*?(?:\n|$))*)', - re.IGNORECASE | re.MULTILINE) - return [s.strip() for s in pattern.findall(source)] - - -def formal_usage(section): - _, _, section = section.partition(':') # drop "usage:" - pu = section.split() - return '( ' + ' '.join(') | (' if s == pu[0] else s for s in pu[1:]) + ' )' - - -def extras(help, version, options, doc): - if help and any((o.name in ('-h', '--help')) and o.value for o in options): - print(doc.strip("\n")) - sys.exit() - if version and any(o.name == '--version' and o.value for o in options): - print(version) - sys.exit() - - -class Dict(dict): - def __repr__(self): - return '{%s}' % ',\n '.join('%r: %r' % i for i in sorted(self.items())) - - -def docopt(doc, argv=None, help=True, version=None, options_first=False): - """Parse `argv` based on command-line interface described in `doc`. - - `docopt` creates your command-line interface based on its - description that you pass as `doc`. Such description can contain - --options, , commands, which could be - [optional], (required), (mutually | exclusive) or repeated... - - Parameters - ---------- - doc : str - Description of your command-line interface. - argv : list of str, optional - Argument vector to be parsed. sys.argv[1:] is used if not - provided. - help : bool (default: True) - Set to False to disable automatic help on -h or --help - options. - version : any object - If passed, the object will be printed if --version is in - `argv`. - options_first : bool (default: False) - Set to True to require options precede positional arguments, - i.e. to forbid options and positional arguments intermix. - - Returns - ------- - args : dict - A dictionary, where keys are names of command-line elements - such as e.g. "--verbose" and "", and values are the - parsed values of those elements. - - Example - ------- - >>> from docopt import docopt - >>> doc = ''' - ... Usage: - ... my_program tcp [--timeout=] - ... my_program serial [--baud=] [--timeout=] - ... my_program (-h | --help | --version) - ... - ... Options: - ... -h, --help Show this screen and exit. - ... --baud= Baudrate [default: 9600] - ... ''' - >>> argv = ['tcp', '127.0.0.1', '80', '--timeout', '30'] - >>> docopt(doc, argv) - {'--baud': '9600', - '--help': False, - '--timeout': '30', - '--version': False, - '': '127.0.0.1', - '': '80', - 'serial': False, - 'tcp': True} - - See also - -------- - * For video introduction see http://docopt.org - * Full documentation is available in README.rst as well as online - at https://github.com/docopt/docopt#readme - - """ - argv = sys.argv[1:] if argv is None else argv - - usage_sections = parse_section('usage:', doc) - if len(usage_sections) == 0: - raise DocoptLanguageError('"usage:" (case-insensitive) not found.') - if len(usage_sections) > 1: - raise DocoptLanguageError('More than one "usage:" (case-insensitive).') - DocoptExit.usage = usage_sections[0] - - options = parse_defaults(doc) - pattern = parse_pattern(formal_usage(DocoptExit.usage), options) - # [default] syntax for argument is disabled - #for a in pattern.flat(Argument): - # same_name = [d for d in arguments if d.name == a.name] - # if same_name: - # a.value = same_name[0].value - argv = parse_argv(Tokens(argv), list(options), options_first) - pattern_options = set(pattern.flat(Option)) - for options_shortcut in pattern.flat(OptionsShortcut): - doc_options = parse_defaults(doc) - options_shortcut.children = list(set(doc_options) - pattern_options) - #if any_options: - # options_shortcut.children += [Option(o.short, o.long, o.argcount) - # for o in argv if type(o) is Option] - extras(help, version, argv, doc) - matched, left, collected = pattern.fix().match(argv) - if matched and left == []: # better error message if left? - return Dict((a.name, a.value) for a in (pattern.flat() + collected)) - raise DocoptExit() -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 10 03:29:49 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 21:29:49 -0600 Subject: [Buildroot] [PATCH v4 1/1] utils/genrandconfig: add randconfig based --no-toolchains-csv option In-Reply-To: <36f3e482-dce6-db0d-08e0-b062f16ca69e@mind.be> References: <20220405115040.3779242-1-james.hilliard1@gmail.com> <4a9f7aa1-82e4-664e-7177-71596cb021e7@mind.be> <41d50cfd-3009-13d4-6f41-f0b2bdf3297f@mind.be> <36f3e482-dce6-db0d-08e0-b062f16ca69e@mind.be> Message-ID: On Sat, Apr 9, 2022 at 10:57 AM Arnout Vandecappelle wrote: > > > > On 06/04/2022 23:41, James Hilliard wrote: > > On Wed, Apr 6, 2022 at 8:12 AM Arnout Vandecappelle wrote: > >> > >> > >> > >> On 05/04/2022 21:38, James Hilliard wrote: > >>> On Tue, Apr 5, 2022 at 11:23 AM Arnout Vandecappelle wrote: > >>>> > >>>> > >>>> > >>>> On 05/04/2022 13:50, James Hilliard wrote: > >>>>> Currently we only test a limited set of toolchains that are mostly > >>>>> prebuilt, add a flag to allow using randconfig for randomizing > >>>>> additional toolchain settings instead of randpackageconfig. > >>>>> > >>>>> To avoid invalid configs we need to add additional config validation > >>>>> filtering and fixups. > >>>>> > >>>>> Signed-off-by: James Hilliard > >>>>> --- > >>>>> Changes v3 -> v4: > >>>>> - use fixup_config instead of other retries to filter bad configs > >>>> > >>>> Well, I don't like this. It means we have to duplicate the logic for checking > >>>> the bad configs in two places: in the mk file and in genrandconfig. > >>> > >>> Well it seems to work better since instead of regenerating it tries to > >>> fixup the config. I think this gives better statistical coverage of some > >>> config options. > >> > >> It will create a bias towards the default option for the options you exclude. > >> See below. > > > > Yes, I'm aware of that, however this improves coverage as certain options > > like enabling the kernel build result in a high percentage of invalid configs > > otherwise which creates a bias towards builds with the kernel build disabled > > entirely, at least by fixing up invalid kernel configs instead of > > triggering a full > > re-randomization we get more builds with kernels enabled as the invalid > > configs should no longer create a bias towards kernel builds being disabled > > for example. Having a bias towards the common defaults seems to be a net > > improvement here. > > Excellent point, indeed. I hadn't thought so far. > > >>>> If the problem is that you sometimes don't end up with a valid config even > >>>> after 100 iterations, then I think a better solution is to feed valid values for > >>>> the string options. That way, we still do a build test of e.g. > >>>> BR2_ROOTFS_SKELETON_CUSTOM. > >>> > >>> That looks a bit tricky, although we could probably add it for some cases > >>> that we want test coverage for. > >>> > >>>> > >>>> [Others may disagree with me of course.] > >>>> > >>>> Regards, > >>>> Arnout > >>>> > >>>> > >>>>> Changes v2 -> v3: > >>>>> - properly check exit codes > >>>>> Changes v1 -> v2: > >>>>> - refactor fixup_config control flow > >>>>> --- > >>>>> utils/genrandconfig | 215 ++++++++++++++++++++++++++++++++++++++++++-- > >>>>> 1 file changed, 206 insertions(+), 9 deletions(-) > >>>>> > >>>>> diff --git a/utils/genrandconfig b/utils/genrandconfig > >>>>> index 3483d55c14..59fe34e58d 100755 > >>>>> --- a/utils/genrandconfig > >>>>> +++ b/utils/genrandconfig > >>>>> @@ -315,6 +315,192 @@ def fixup_config(sysinfo, configfile): > >>>>> configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') > >>>>> configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) > >>>>> > >>>>> + if 'BR2_ROOTFS_SKELETON_CUSTOM=y\n' in configlines and \ > >>>>> + 'BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n' in configlines: > >> > >> Here, the BR2_ROOTFS_SKELETON_CUSTOM_PATH check is basically redundant: > >> randconfig will never fill something in for the string, so it is always empty. > > > > The fixup_config function is used for configs based on the toolchains csv's > > as well so this is necessary to prevent accidentally fixing up a valid > > BR2_ROOTFS_SKELETON_CUSTOM_PATH provided in a toolchain csv > > file. > > Oh, right, I didn't think of that either! At the moment the point is moot > because randpackageconfig is used. Oh hang on, I'm wrong again, it actually > *would* work specifically for ROOTFS_SKELETON_CUSTOM_PATH, if > ROOTFS_SKELETON_CUSTOM is also set in the toolchain config. So I expressed it > incorrectly in the commit message. > > Unfortunately, I already applied and pushed, so I can't fix the commit message > any more... > > Anyway, thanks for the patch! > > I think the next steps are: Well first we need a few fixes in buildroot-test so we can enable the new option: https://patchwork.ozlabs.org/project/buildroot/patch/20220410031713.3662393-1-james.hilliard1 at gmail.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20220410031713.3662393-2-james.hilliard1 at gmail.com/ I ended up getting rid of docopts since it's unmaintained and makes it tricky to add the --no-toolchains-csv properly. > > - move 'make dependencies' inside the loop (not strictly necessary but I think > it woudl be an improvement); Maybe, although probably need to have failures reported somewhere so that config fixups can be added. > > - add the toolchain config *after* running randconfig, so we can use full > randconfig even if toolchains-csv is set; > > - add a mechanism to be able to specify additional defaults together with the > toolchain config; > > - add options to the toolchain configs to give default values for some string > options. > > A mechanism is needed for adding defaults because currently we can only force > options in the toolchain config - if it's removed by 'make olddefconfig', > is_toolchain_usable will return false. But we also don't want to *always* build > a kernel in a toolchain config - and this is particularly true for uboot and > barebox, where there's no arch default config to fall back to, so even with > randconfig they essentially will never be built. Yeah, there's a bit of cleanup needed in general, although we're getting high failure rates just from this improved randomization so maybe best to focus on fixing those issues that this change revealed first so that we can get a better idea of what combinations need more test coverage. > > > Regards, > Arnout > > > > > >> > >>>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM=y\n') > >>>>> + configlines.remove('BR2_ROOTFS_SKELETON_CUSTOM_PATH=""\n') > >> > >> Thus, the result is that if a config is generated with > >> BR2_ROOTFS_SKELETON_CUSTOM=y, it will be removed again and revert to its default. > >> > >> In this case, there are just two choices so it doesn't make a difference. But > >> if there are more than two choices, removing one of them creates a bias towards > >> the default option. I wouldn't call this "better statistical coverage". > >> Statistically, taking a completely random sampling and then discarding samples > >> that are somehow not appropriate is considered "better" than fudging > >> inappropriate samples in a certain direction. > > > > The main issue is that throwing out invalids creates a heavy bias towards > > disabling the configs dependencies entirely which is not desirable. > > > > Having a bias towards kernel builds with default options is better than having > > a very strong bias towards the kernel not being built at all. > > > >> > >> > >> Regards, > >> Arnout > >> > >> > >> > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_USE_DEFCONFIG=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_GIT=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_GIT=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_HG=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_HG=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_SVN=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_SVN=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_REPO_URL=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_LATEST_VERSION=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=""\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_DTS_SUPPORT=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_DTS_SUPPORT=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_INTREE_DTS_NAME=""\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=""\n') > >>>>> + if 'BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') > >>>>> + if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') > >>>>> + if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') > >>>>> + configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n') > >>>>> + > >>>>> + if 'BR2_LINUX_KERNEL_EXT_AUFS=y\n' in configlines and \ > >>>>> + 'BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n' in configlines: > >>>>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS=y\n') > >>>>> + configlines.remove('BR2_LINUX_KERNEL_EXT_AUFS_VERSION=""\n') > >>>>> + > >>>>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_KERNEL_HEADERS_VERSION=y\n' in configlines and \ > >>>>> + 'BR2_DEFAULT_KERNEL_VERSION=""\n' in configlines: > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_VERSION=y\n') > >>>>> + configlines.remove('BR2_DEFAULT_KERNEL_VERSION=""\n') > >>>>> + > >>>>> + if 'BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n' in configlines and \ > >>>>> + 'BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n': > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_GIT=y\n') > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_REPO_URL=""\n') > >>>>> + > >>>>> + if 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n' in configlines and \ > >>>>> + 'BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL=y\n') > >>>>> + configlines.remove('BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_AT91BOOTSTRAP3=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3=y\n') > >>>>> + configlines.remove('BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') > >>>>> + configlines.remove('BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_BAREBOX=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_BAREBOX=y\n') > >>>>> + configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_OPTEE_OS_PLATFORM=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > >>>>> + configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') > >>>>> + configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_USE_DEFCONFIG=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BOARD_DEFCONFIG=""\n') > >>>>> + > >>>>> + if 'BR2_TARGET_UBOOT=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n' in configlines and \ > >>>>> + 'BR2_TARGET_UBOOT_BOARDNAME=""\n' in configlines: > >>>>> + configlines.remove('BR2_TARGET_UBOOT=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y\n') > >>>>> + configlines.remove('BR2_TARGET_UBOOT_BOARDNAME=""\n') > >>>>> + > >>>>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_PATH=""\n' in configlines: > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_PATH=""\n') > >>>>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > >>>>> + return False > >>>>> + > >>>>> + if 'BR2_TOOLCHAIN_EXTERNAL=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n' in configlines and \ > >>>>> + 'BR2_TOOLCHAIN_EXTERNAL_URL=""\n' in configlines: > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y\n') > >>>>> + configlines.remove('BR2_TOOLCHAIN_EXTERNAL_URL=""\n') > >>>>> + if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines: > >>>>> + return False > >>>>> + > >>>>> + if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \ > >>>>> + 'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: > >>>>> + configlines.remove('BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n') > >>>>> + configlines.append('BR2_PACKAGE_XVISOR_USE_DEFCONFIG=y\n') > >>>>> + configlines.remove('BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n') > >>>>> + > >>>>> with open(configfile, "w+") as configf: > >>>>> configf.writelines(configlines) > >>>>> > >>>>> @@ -331,11 +517,14 @@ def gen_config(args): > >>>>> > >>>>> sysinfo = SystemInfo() > >>>>> > >>>>> - # Select a random toolchain configuration > >>>>> - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > >>>>> + if args.toolchains_csv: > >>>>> + # Select a random toolchain configuration > >>>>> + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) > >>>>> > >>>>> - i = randint(0, len(configs) - 1) > >>>>> - toolchainconfig = configs[i] > >>>>> + i = randint(0, len(configs) - 1) > >>>>> + toolchainconfig = configs[i] > >>>>> + else: > >>>>> + toolchainconfig = [] > >>>>> > >>>>> configlines = list(toolchainconfig) > >>>>> > >>>>> @@ -409,7 +598,7 @@ def gen_config(args): > >>>>> bounded_loop -= 1 > >>>>> subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, > >>>>> "KCONFIG_PROBABILITY=%d" % randint(1, 20), > >>>>> - "randpackageconfig"]) > >>>>> + "randpackageconfig" if args.toolchains_csv else "randconfig"]) > >>>>> > >>>>> if fixup_config(sysinfo, configfile): > >>>>> break > >>>>> @@ -433,10 +622,18 @@ if __name__ == '__main__': > >>>>> parser.add_argument("--buildrootdir", "-b", > >>>>> help="Buildroot directory (relative to current directory)", > >>>>> type=str, default='.') > >>>>> - parser.add_argument("--toolchains-csv", > >>>>> - help="Path of the toolchain configuration file", > >>>>> - type=str, > >>>>> - default="support/config-fragments/autobuild/toolchain-configs.csv") > >>>>> + > >>>>> + toolchains_csv = parser.add_mutually_exclusive_group(required=False) > >>>>> + toolchains_csv.add_argument("--toolchains-csv", > >>>>> + dest="toolchains_csv", > >>>>> + help="Path of the toolchain configuration file", > >>>>> + type=str) > >>>>> + toolchains_csv.add_argument("--no-toolchains-csv", > >>>>> + dest="toolchains_csv", > >>>>> + help="Generate random toolchain configuration", > >>>>> + action='store_false') > >>>>> + parser.set_defaults(toolchains_csv="support/config-fragments/autobuild/toolchain-configs.csv") > >>>>> + > >>>>> args = parser.parse_args() > >>>>> > >>>>> # We need the absolute path to use with O=, because the relative From james.hilliard1 at gmail.com Sun Apr 10 04:32:26 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 22:32:26 -0600 Subject: [Buildroot] [PATCH v2 1/2] scripts/autobuild-run: fix and default to python3 Message-ID: <20220410043227.602485-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- scripts/autobuild-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 346928f..9219134 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2014 by Thomas Petazzoni # @@ -794,7 +794,7 @@ class Builder: while True: try: self.run_one_build() - except URLError, e: + except URLError as e: sleep(30) # args / config file merging inspired by: -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 10 04:32:27 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 9 Apr 2022 22:32:27 -0600 Subject: [Buildroot] [PATCH v2 2/2] scripts/autobuild-run: add --no-toolchains-csv option and drop docopt In-Reply-To: <20220410043227.602485-1-james.hilliard1@gmail.com> References: <20220410043227.602485-1-james.hilliard1@gmail.com> Message-ID: <20220410043227.602485-2-james.hilliard1@gmail.com> Since docopt is unmaintained and less flexible than argparse lets drop it and migrate to argparse. Signed-off-by: James Hilliard --- Changes v1 -> v2: - fix configparser --- scripts/autobuild-run | 201 ++++++------- scripts/docopt.LICENSE-MIT | 23 -- scripts/docopt.py | 581 ------------------------------------- 3 files changed, 92 insertions(+), 713 deletions(-) delete mode 100644 scripts/docopt.LICENSE-MIT delete mode 100644 scripts/docopt.py diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 9219134..daee059 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -57,56 +57,7 @@ from __future__ import print_function -# Don't tell docopt about the defaults, as it would not allow the following -# priority hierarchy for arguments: command-line > config file > defaults -defaults = { - '--ninstances': '1', - '--njobs': '1', - '--submitter': 'N/A', - '--make-opts': '', - '--nice': 0, - '--pid-file': '/tmp/buildroot-autobuild.pid', - '--http-url': 'http://autobuild.buildroot.org/', - '--toolchains-csv': 'support/config-fragments/autobuild/toolchain-configs.csv', - '--repo': 'https://github.com/buildroot/buildroot.git', -} - -doc = """autobuild-run - run Buildroot autobuilder - -Usage: autobuild-run [options] - -Options: - -h, --help show this help message and exit - -V, --version show version - -n, --ninstances NINSTANCES number of parallel instances - Defaults to %(--ninstances)s. - -j, --njobs NJOBS number of parallel jobs - Defaults to %(--njobs)s. - --nice N Niceness, positive number - Defaults to %(--nice)s. - -s, --submitter SUBMITTER name/machine of submitter - Defaults to %(--submitter)s. - --http-url URL URL of resource to submit your results. - Defaults to %(--http-url)s. - --http-login LOGIN username to send results with - Not set by default. - --http-password PASSWORD password to send results with (for security - reasons it is recommended to define this in the - config file instead, with user-read permissions - only) - Not set by default. - --make-opts OPTSTRING string of extra options to pass to Buildroot - make, such as specific command wrappers - Empty by default. - --pid-file PATH path to a file where to store the PID - Defaults to %(--pid-file)s. - -c, --config CONFIG path to configuration file - Not set by default. - -d, --debug Send log output to stdout instead of log file - --toolchains-csv CSVFILE Toolchain configuration file - -r, --repo URL URL of Buildroot repository to clone - Defaults to %(--repo)s - +epilog = """ Format of the configuration file: All arguments can also be specified in the configuration file specified with @@ -120,20 +71,18 @@ Format of the configuration file: http-login = http-password = submitter = - - -""" % defaults - -__doc__ = doc + no-toolchains-csv +""" import contextlib import csv -import docopt +import argparse import errno import hashlib import mmap import multiprocessing import os +import pathlib from random import randint import re import shutil @@ -423,6 +372,8 @@ class Builder: if not os.path.isabs(toolchains_csv): toolchains_csv = os.path.join(self.srcdir, toolchains_csv) args.extend(["--toolchains-csv", toolchains_csv]) + else: + args.extend(["--no-toolchains-csv"]) ret = subprocess.call(args, stdout=devnull, stderr=self.log) return ret @@ -797,35 +748,20 @@ class Builder: except URLError as e: sleep(30) -# args / config file merging inspired by: -# https://github.com/docopt/docopt/blob/master/examples/config_file_example.py - -def load_ini_config(configfile): - """Load configuration from file, returning a docopt-like dictionary""" - - if not os.path.exists(configfile): - print("ERROR: configuration file %s does not exist" % configfile) - sys.exit(1) - - config = configparser.RawConfigParser() - if not config.read(configfile): - print("ERROR: cannot parse configuration file %s" % configfile) - sys.exit(1) - - # Prepend '--' to options specified in the config file, so they can be - # merged with those given on the command-line - return dict(('--%s' % key, value) for key, value in config.items('main')) - - -def merge(dict_1, dict_2): - """Merge two dictionaries. - - Values that evaluate to true take priority over falsy values. - `dict_1` takes priority over `dict_2`. - - """ - return dict((str(key), dict_1.get(key) or dict_2.get(key)) - for key in set(dict_2) | set(dict_1)) +class Formatter(argparse.ArgumentDefaultsHelpFormatter, argparse.RawDescriptionHelpFormatter): + pass + +class LoadConfigFile(argparse.Action): + def __call__(self, parser, namespace, values, option_string=None): + config = configparser.RawConfigParser(allow_no_value=True) + config.read_file(values) + for k, v in config.items('main'): + key = k.replace("-", "_") + value = v + if key.startswith("no_") and value is None: + key = key[3:] + value = False + setattr(namespace, key, value) def main(): @@ -835,24 +771,71 @@ def main(): sysinfo = SystemInfo() - args = docopt.docopt(doc, version=VERSION) - - if args['--config']: - ini_config = load_ini_config(args['--config']) - # merge config/args, priority given to args - args = merge(args, ini_config) - - # load in defaults at lowest priority - args = merge(args, defaults) + parser = argparse.ArgumentParser(description="Buildroot autobuilder", + epilog=epilog, + formatter_class=Formatter) + parser.add_argument("--ninstances", "-n", + help="number of parallel instances", + type=int, default=1) + parser.add_argument("--njobs", "-j", + help="number of parallel jobs", + type=int, default=1) + parser.add_argument("--nice", + help="Niceness, positive number", + type=int, default=0) + parser.add_argument("--submitter", "-s", + help="name/machine of submitter", + type=str, default='N/A') + parser.add_argument("--http-url", + help="URL of resource to submit your results.", + type=str, default='http://autobuild.buildroot.org/') + parser.add_argument("--http-login", + help="username to send results with", + type=str) + parser.add_argument("--http-password", + help="password to send results with (for security " + "reasons it is recommended to define this in the " + "config file instead, with user-read permissions " + "only)", + type=str) + parser.add_argument("--make-opts", + help="string of extra options to pass to Buildroot " + "make, such as specific command wrappers", + type=str) + parser.add_argument("--pid-file", + help="path to a file where to store the PID", + type=pathlib.Path, default=pathlib.Path("/tmp/buildroot-autobuild.pid")) + parser.add_argument("--config", "-c", + help="path to configuration file", + type=open, action=LoadConfigFile) + parser.add_argument("--debug", "-d", + help="Send log output to stdout instead of log file", + type=str) + toolchains_csv = parser.add_mutually_exclusive_group(required=False) + toolchains_csv.add_argument("--toolchains-csv", + dest="toolchains_csv", + help="Toolchain configuration file", + type=pathlib.Path) + toolchains_csv.add_argument("--no-toolchains-csv", + dest="toolchains_csv", + help="Generate random toolchain configuration", + action='store_false') + parser.set_defaults(toolchains_csv=pathlib.Path("support/config-fragments/autobuild/toolchain-configs.csv")) + parser.add_argument("--repo", "-r", + help="URL of Buildroot repository to clone", + type=str, + default="https://github.com/buildroot/buildroot.git") + + args = parser.parse_args() # Save our PID very early, so we can be stopped - with open(args['--pid-file'], "w+") as pidf: + with args.pid_file.open("w+") as pidf: pidf.write("%d" % os.getpid()) # http_login/password could theoretically be allowed as empty, so check # explicitly on None. - upload = (args['--http-login'] is not None) \ - and (args['--http-password'] is not None) + upload = (args.http_login is not None) \ + and (args.http_password is not None) if upload: sysinfo.needed_progs.append("curl") else: @@ -894,24 +877,24 @@ def main(): sys.exit(1) - buildpid = multiprocessing.Array('i', int(args['--ninstances'])) + buildpid = multiprocessing.Array('i', int(args.ninstances)) processes = [] - for i in range(0, int(args['--ninstances'])): + for i in range(0, int(args.ninstances)): builder = Builder( instance = i, - njobs = args['--njobs'], + njobs = args.njobs, sysinfo = sysinfo, - http_url = args['--http-url'], - http_login = args['--http-login'], - http_password = args['--http-password'], - submitter = args['--submitter'], - make_opts = (args['--make-opts'] or ''), - nice = (args['--nice'] or 0), - toolchains_csv = args['--toolchains-csv'], - repo = args['--repo'], + http_url = args.http_url, + http_login = args.http_login, + http_password = args.http_password, + submitter = args.submitter, + make_opts = (args.make_opts or ''), + nice = (args.nice or 0), + toolchains_csv = args.toolchains_csv, + repo = args.repo, upload = upload, buildpid = buildpid, - debug = args['--debug']) + debug = args.debug) p = multiprocessing.Process(target=builder.run_instance) p.start() processes.append(p) diff --git a/scripts/docopt.LICENSE-MIT b/scripts/docopt.LICENSE-MIT deleted file mode 100644 index 58ff1bc..0000000 --- a/scripts/docopt.LICENSE-MIT +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) 2012 Vladimir Keleshev, - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to -whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall -be included in all copies or substantial portions of the -Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY -KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/scripts/docopt.py b/scripts/docopt.py deleted file mode 100644 index 2e43f7c..0000000 --- a/scripts/docopt.py +++ /dev/null @@ -1,581 +0,0 @@ -"""Pythonic command-line interface parser that will make you smile. - - * http://docopt.org - * Repository and issue-tracker: https://github.com/docopt/docopt - * Licensed under terms of MIT license (see LICENSE-MIT) - * Copyright (c) 2013 Vladimir Keleshev, vladimir at keleshev.com - -""" -import sys -import re - - -__all__ = ['docopt'] -__version__ = '0.6.1' - - -class DocoptLanguageError(Exception): - - """Error in construction of usage-message by developer.""" - - -class DocoptExit(SystemExit): - - """Exit in case user invoked program with incorrect arguments.""" - - usage = '' - - def __init__(self, message=''): - SystemExit.__init__(self, (message + '\n' + self.usage).strip()) - - -class Pattern(object): - - def __eq__(self, other): - return repr(self) == repr(other) - - def __hash__(self): - return hash(repr(self)) - - def fix(self): - self.fix_identities() - self.fix_repeating_arguments() - return self - - def fix_identities(self, uniq=None): - """Make pattern-tree tips point to same object if they are equal.""" - if not hasattr(self, 'children'): - return self - uniq = list(set(self.flat())) if uniq is None else uniq - for i, child in enumerate(self.children): - if not hasattr(child, 'children'): - assert child in uniq - self.children[i] = uniq[uniq.index(child)] - else: - child.fix_identities(uniq) - - def fix_repeating_arguments(self): - """Fix elements that should accumulate/increment values.""" - either = [list(child.children) for child in transform(self).children] - for case in either: - for e in [child for child in case if case.count(child) > 1]: - if type(e) is Argument or type(e) is Option and e.argcount: - if e.value is None: - e.value = [] - elif type(e.value) is not list: - e.value = e.value.split() - if type(e) is Command or type(e) is Option and e.argcount == 0: - e.value = 0 - return self - - -def transform(pattern): - """Expand pattern into an (almost) equivalent one, but with single Either. - - Example: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d) - Quirks: [-a] => (-a), (-a...) => (-a -a) - - """ - result = [] - groups = [[pattern]] - while groups: - children = groups.pop(0) - parents = [Required, Optional, OptionsShortcut, Either, OneOrMore] - if any(t in map(type, children) for t in parents): - child = [c for c in children if type(c) in parents][0] - children.remove(child) - if type(child) is Either: - for c in child.children: - groups.append([c] + children) - elif type(child) is OneOrMore: - groups.append(child.children * 2 + children) - else: - groups.append(child.children + children) - else: - result.append(children) - return Either(*[Required(*e) for e in result]) - - -class LeafPattern(Pattern): - - """Leaf/terminal node of a pattern tree.""" - - def __init__(self, name, value=None): - self.name, self.value = name, value - - def __repr__(self): - return '%s(%r, %r)' % (self.__class__.__name__, self.name, self.value) - - def flat(self, *types): - return [self] if not types or type(self) in types else [] - - def match(self, left, collected=None): - collected = [] if collected is None else collected - pos, match = self.single_match(left) - if match is None: - return False, left, collected - left_ = left[:pos] + left[pos + 1:] - same_name = [a for a in collected if a.name == self.name] - if type(self.value) in (int, list): - if type(self.value) is int: - increment = 1 - else: - increment = ([match.value] if type(match.value) is str - else match.value) - if not same_name: - match.value = increment - return True, left_, collected + [match] - same_name[0].value += increment - return True, left_, collected - return True, left_, collected + [match] - - -class BranchPattern(Pattern): - - """Branch/inner node of a pattern tree.""" - - def __init__(self, *children): - self.children = list(children) - - def __repr__(self): - return '%s(%s)' % (self.__class__.__name__, - ', '.join(repr(a) for a in self.children)) - - def flat(self, *types): - if type(self) in types: - return [self] - return sum([child.flat(*types) for child in self.children], []) - - -class Argument(LeafPattern): - - def single_match(self, left): - for n, pattern in enumerate(left): - if type(pattern) is Argument: - return n, Argument(self.name, pattern.value) - return None, None - - @classmethod - def parse(class_, source): - name = re.findall('(<\S*?>)', source)[0] - value = re.findall('\[default: (.*)\]', source, flags=re.I) - return class_(name, value[0] if value else None) - - -class Command(Argument): - - def __init__(self, name, value=False): - self.name, self.value = name, value - - def single_match(self, left): - for n, pattern in enumerate(left): - if type(pattern) is Argument: - if pattern.value == self.name: - return n, Command(self.name, True) - else: - break - return None, None - - -class Option(LeafPattern): - - def __init__(self, short=None, long=None, argcount=0, value=False): - assert argcount in (0, 1) - self.short, self.long, self.argcount = short, long, argcount - self.value = None if value is False and argcount else value - - @classmethod - def parse(class_, option_description): - short, long, argcount, value = None, None, 0, False - options, _, description = option_description.strip().partition(' ') - options = options.replace(',', ' ').replace('=', ' ') - for s in options.split(): - if s.startswith('--'): - long = s - elif s.startswith('-'): - short = s - else: - argcount = 1 - if argcount: - matched = re.findall('\[default: (.*)\]', description, flags=re.I) - value = matched[0] if matched else None - return class_(short, long, argcount, value) - - def single_match(self, left): - for n, pattern in enumerate(left): - if self.name == pattern.name: - return n, pattern - return None, None - - @property - def name(self): - return self.long or self.short - - def __repr__(self): - return 'Option(%r, %r, %r, %r)' % (self.short, self.long, - self.argcount, self.value) - - -class Required(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - l = left - c = collected - for pattern in self.children: - matched, l, c = pattern.match(l, c) - if not matched: - return False, left, collected - return True, l, c - - -class Optional(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - for pattern in self.children: - m, left, collected = pattern.match(left, collected) - return True, left, collected - - -class OptionsShortcut(Optional): - - """Marker/placeholder for [options] shortcut.""" - - -class OneOrMore(BranchPattern): - - def match(self, left, collected=None): - assert len(self.children) == 1 - collected = [] if collected is None else collected - l = left - c = collected - l_ = None - matched = True - times = 0 - while matched: - # could it be that something didn't match but changed l or c? - matched, l, c = self.children[0].match(l, c) - times += 1 if matched else 0 - if l_ == l: - break - l_ = l - if times >= 1: - return True, l, c - return False, left, collected - - -class Either(BranchPattern): - - def match(self, left, collected=None): - collected = [] if collected is None else collected - outcomes = [] - for pattern in self.children: - matched, _, _ = outcome = pattern.match(left, collected) - if matched: - outcomes.append(outcome) - if outcomes: - return min(outcomes, key=lambda outcome: len(outcome[1])) - return False, left, collected - - -class Tokens(list): - - def __init__(self, source, error=DocoptExit): - self += source.split() if hasattr(source, 'split') else source - self.error = error - - @staticmethod - def from_pattern(source): - source = re.sub(r'([\[\]\(\)\|]|\.\.\.)', r' \1 ', source) - source = [s for s in re.split('\s+|(\S*<.*?>)', source) if s] - return Tokens(source, error=DocoptLanguageError) - - def move(self): - return self.pop(0) if len(self) else None - - def current(self): - return self[0] if len(self) else None - - -def parse_long(tokens, options): - """long ::= '--' chars [ ( ' ' | '=' ) chars ] ;""" - long, eq, value = tokens.move().partition('=') - assert long.startswith('--') - value = None if eq == value == '' else value - similar = [o for o in options if o.long == long] - if tokens.error is DocoptExit and similar == []: # if no exact match - similar = [o for o in options if o.long and o.long.startswith(long)] - if len(similar) > 1: # might be simply specified ambiguously 2+ times? - raise tokens.error('%s is not a unique prefix: %s?' % - (long, ', '.join(o.long for o in similar))) - elif len(similar) < 1: - argcount = 1 if eq == '=' else 0 - o = Option(None, long, argcount) - options.append(o) - if tokens.error is DocoptExit: - o = Option(None, long, argcount, value if argcount else True) - else: - o = Option(similar[0].short, similar[0].long, - similar[0].argcount, similar[0].value) - if o.argcount == 0: - if value is not None: - raise tokens.error('%s must not have an argument' % o.long) - else: - if value is None: - if tokens.current() in [None, '--']: - raise tokens.error('%s requires argument' % o.long) - value = tokens.move() - if tokens.error is DocoptExit: - o.value = value if value is not None else True - return [o] - - -def parse_shorts(tokens, options): - """shorts ::= '-' ( chars )* [ [ ' ' ] chars ] ;""" - token = tokens.move() - assert token.startswith('-') and not token.startswith('--') - left = token.lstrip('-') - parsed = [] - while left != '': - short, left = '-' + left[0], left[1:] - similar = [o for o in options if o.short == short] - if len(similar) > 1: - raise tokens.error('%s is specified ambiguously %d times' % - (short, len(similar))) - elif len(similar) < 1: - o = Option(short, None, 0) - options.append(o) - if tokens.error is DocoptExit: - o = Option(short, None, 0, True) - else: # why copying is necessary here? - o = Option(short, similar[0].long, - similar[0].argcount, similar[0].value) - value = None - if o.argcount != 0: - if left == '': - if tokens.current() in [None, '--']: - raise tokens.error('%s requires argument' % short) - value = tokens.move() - else: - value = left - left = '' - if tokens.error is DocoptExit: - o.value = value if value is not None else True - parsed.append(o) - return parsed - - -def parse_pattern(source, options): - tokens = Tokens.from_pattern(source) - result = parse_expr(tokens, options) - if tokens.current() is not None: - raise tokens.error('unexpected ending: %r' % ' '.join(tokens)) - return Required(*result) - - -def parse_expr(tokens, options): - """expr ::= seq ( '|' seq )* ;""" - seq = parse_seq(tokens, options) - if tokens.current() != '|': - return seq - result = [Required(*seq)] if len(seq) > 1 else seq - while tokens.current() == '|': - tokens.move() - seq = parse_seq(tokens, options) - result += [Required(*seq)] if len(seq) > 1 else seq - return [Either(*result)] if len(result) > 1 else result - - -def parse_seq(tokens, options): - """seq ::= ( atom [ '...' ] )* ;""" - result = [] - while tokens.current() not in [None, ']', ')', '|']: - atom = parse_atom(tokens, options) - if tokens.current() == '...': - atom = [OneOrMore(*atom)] - tokens.move() - result += atom - return result - - -def parse_atom(tokens, options): - """atom ::= '(' expr ')' | '[' expr ']' | 'options' - | long | shorts | argument | command ; - """ - token = tokens.current() - result = [] - if token in '([': - tokens.move() - matching, pattern = {'(': [')', Required], '[': [']', Optional]}[token] - result = pattern(*parse_expr(tokens, options)) - if tokens.move() != matching: - raise tokens.error("unmatched '%s'" % token) - return [result] - elif token == 'options': - tokens.move() - return [OptionsShortcut()] - elif token.startswith('--') and token != '--': - return parse_long(tokens, options) - elif token.startswith('-') and token not in ('-', '--'): - return parse_shorts(tokens, options) - elif token.startswith('<') and token.endswith('>') or token.isupper(): - return [Argument(tokens.move())] - else: - return [Command(tokens.move())] - - -def parse_argv(tokens, options, options_first=False): - """Parse command-line argument vector. - - If options_first: - argv ::= [ long | shorts ]* [ argument ]* [ '--' [ argument ]* ] ; - else: - argv ::= [ long | shorts | argument ]* [ '--' [ argument ]* ] ; - - """ - parsed = [] - while tokens.current() is not None: - if tokens.current() == '--': - return parsed + [Argument(None, v) for v in tokens] - elif tokens.current().startswith('--'): - parsed += parse_long(tokens, options) - elif tokens.current().startswith('-') and tokens.current() != '-': - parsed += parse_shorts(tokens, options) - elif options_first: - return parsed + [Argument(None, v) for v in tokens] - else: - parsed.append(Argument(None, tokens.move())) - return parsed - - -def parse_defaults(doc): - defaults = [] - for s in parse_section('options:', doc): - # FIXME corner case "bla: options: --foo" - _, _, s = s.partition(':') # get rid of "options:" - split = re.split('\n[ \t]*(-\S+?)', '\n' + s)[1:] - split = [s1 + s2 for s1, s2 in zip(split[::2], split[1::2])] - options = [Option.parse(s) for s in split if s.startswith('-')] - defaults += options - return defaults - - -def parse_section(name, source): - pattern = re.compile('^([^\n]*' + name + '[^\n]*\n?(?:[ \t].*?(?:\n|$))*)', - re.IGNORECASE | re.MULTILINE) - return [s.strip() for s in pattern.findall(source)] - - -def formal_usage(section): - _, _, section = section.partition(':') # drop "usage:" - pu = section.split() - return '( ' + ' '.join(') | (' if s == pu[0] else s for s in pu[1:]) + ' )' - - -def extras(help, version, options, doc): - if help and any((o.name in ('-h', '--help')) and o.value for o in options): - print(doc.strip("\n")) - sys.exit() - if version and any(o.name == '--version' and o.value for o in options): - print(version) - sys.exit() - - -class Dict(dict): - def __repr__(self): - return '{%s}' % ',\n '.join('%r: %r' % i for i in sorted(self.items())) - - -def docopt(doc, argv=None, help=True, version=None, options_first=False): - """Parse `argv` based on command-line interface described in `doc`. - - `docopt` creates your command-line interface based on its - description that you pass as `doc`. Such description can contain - --options, , commands, which could be - [optional], (required), (mutually | exclusive) or repeated... - - Parameters - ---------- - doc : str - Description of your command-line interface. - argv : list of str, optional - Argument vector to be parsed. sys.argv[1:] is used if not - provided. - help : bool (default: True) - Set to False to disable automatic help on -h or --help - options. - version : any object - If passed, the object will be printed if --version is in - `argv`. - options_first : bool (default: False) - Set to True to require options precede positional arguments, - i.e. to forbid options and positional arguments intermix. - - Returns - ------- - args : dict - A dictionary, where keys are names of command-line elements - such as e.g. "--verbose" and "", and values are the - parsed values of those elements. - - Example - ------- - >>> from docopt import docopt - >>> doc = ''' - ... Usage: - ... my_program tcp [--timeout=] - ... my_program serial [--baud=] [--timeout=] - ... my_program (-h | --help | --version) - ... - ... Options: - ... -h, --help Show this screen and exit. - ... --baud= Baudrate [default: 9600] - ... ''' - >>> argv = ['tcp', '127.0.0.1', '80', '--timeout', '30'] - >>> docopt(doc, argv) - {'--baud': '9600', - '--help': False, - '--timeout': '30', - '--version': False, - '': '127.0.0.1', - '': '80', - 'serial': False, - 'tcp': True} - - See also - -------- - * For video introduction see http://docopt.org - * Full documentation is available in README.rst as well as online - at https://github.com/docopt/docopt#readme - - """ - argv = sys.argv[1:] if argv is None else argv - - usage_sections = parse_section('usage:', doc) - if len(usage_sections) == 0: - raise DocoptLanguageError('"usage:" (case-insensitive) not found.') - if len(usage_sections) > 1: - raise DocoptLanguageError('More than one "usage:" (case-insensitive).') - DocoptExit.usage = usage_sections[0] - - options = parse_defaults(doc) - pattern = parse_pattern(formal_usage(DocoptExit.usage), options) - # [default] syntax for argument is disabled - #for a in pattern.flat(Argument): - # same_name = [d for d in arguments if d.name == a.name] - # if same_name: - # a.value = same_name[0].value - argv = parse_argv(Tokens(argv), list(options), options_first) - pattern_options = set(pattern.flat(Option)) - for options_shortcut in pattern.flat(OptionsShortcut): - doc_options = parse_defaults(doc) - options_shortcut.children = list(set(doc_options) - pattern_options) - #if any_options: - # options_shortcut.children += [Option(o.short, o.long, o.argcount) - # for o in argv if type(o) is Option] - extras(help, version, argv, doc) - matched, left, collected = pattern.fix().match(argv) - if matched and left == []: # better error message if left? - return Dict((a.name, a.value) for a in (pattern.flat() + collected)) - raise DocoptExit() -- 2.25.1 From thomas.petazzoni at bootlin.com Sun Apr 10 04:41:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 10 Apr 2022 04:41:44 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-09 Message-ID: <20220410044151.60A9E418AC@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-09 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 31 | 5 | 0 | 36 | master | 169 | 278 | 2 | 449 | Classification of failures by reason for master ----------------------------------------------- host-util-linux-2.38 | 46 host-binutils-2.32 | 38 host-gcc-final-10.3.0 | 20 dhcp-4.4.2-P1 | 14 util-linux-2.38 | 14 fetchmail-6.4.29 | 11 host-elf2flt-7e33f28df198c4... | 8 uclibc-1.0.40 | 8 argp-standalone-1.3 | 6 libopenssl-1.1.1n | 5 host-gcc-final-11.2.0 | 4 libnss-3.76 | 4 libressl-3.4.3 | 4 linux-5.15.30 | 4 bat-0.19.0 | 3 fs/f2fs/f2fs.mk:64: /home/a... | 3 fs/f2fs/f2fs.mk:64: /home/a... | 3 zlib-ng-2.0.6 | 3 arp-scan-1.9.7 | 2 arptables-0.0.5 | 2 dash-0.5.11.5 | 2 fs/ext2/ext2.mk:65: /home/a... | 2 glibc-2.34-109-gd64b08d5ba7... | 2 gobject-introspection-1.70.0 | 2 libcap-ng-0.8.3 | 2 libkrb5-1.18.4 | 2 libnspr-4.33 | 2 linux-5.10.104-cip3 | 2 linux-headers-5.10.104-cip3... | 2 linux-headers-5.15.30 | 2 netsurf-3.10 | 2 refpolicy | 2 shadowsocks-libev-3.3.5 | 2 unknown | 2 wavemon-0.9.4 | 2 xenomai | 2 acpid-2.0.33 | 1 belle-sip-4.4.8 | 1 bird-2.0.8 | 1 botan-2.19.1 | 1 bubblewrap-0.6.1 | 1 cryptodev-linux-1.12 | 1 edk2-edk2-stable202102 | 1 elfutils-0.186 | 1 expat-2.4.7 | 1 freeradius-client-1.1.7 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 glorytun-0.3.4 | 1 gobject-introspection | 1 google-breakpad-7515ab13768... | 1 gst1-plugins-bad-1.20.1 | 1 gummiboot-2bcd919c681c952eb... | 1 host-gcc-final-9.4.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-go-1.17.8 | 1 jpeg-turbo-2.1.3 | 1 json-c-0.15 | 1 libeXosip2-5.3.0 | 1 libgcrypt-1.10.0 | 1 libkcapi-1.1.5 | 1 libsigrok-0.5.2 | 1 Makefile:17392: lib/libfrrz... | 1 musl-1.2.2 | 1 ndisc6-1.0.5 | 1 ne10-1.2.1 | 1 openobex-1.7.2 | 1 pixman-0.40.0 | 1 pure-ftpd-1.0.50 | 1 python3-3.10.2 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 qt5webchannel-fa8b07105b5e2... | 1 rsync-3.2.3 | 1 trousers-0.3.15 | 1 uacme-1.7.1 | 1 wpa_supplicant-2.10 | 1 xfsprogs-5.14.2 | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/49face85d7f793e6e0fa3f614da952a199659dca | ORPH m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/a682dfd1446460f4cc4e674d5197e1a5bebd4849 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/29110dab6ff7e3e9821895209e028eca0a91abad | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/f7e53ec7dd210ab620733c64ec49a0c831ca1850 | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/afc8077e94cea15baa9e1628eec430a3f9e26396 | powerpc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/9c698ec1e35495011bf4561ebbb1f7628c48889b | arm | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/ce580166f415feaf02d8c5fdb3934ac20d98e4fb | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/a6f024842f1d5a1bba6efcb67f83a215f41b0bea | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/ef0c3de2ca528e62234627a44cf7af1865ea3d69 | sparc | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/de0a542a6444e412e6276fd984208f4b99a23942 | ORPH sparc64 | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/ac268cf55d6257fd651d0b2e4ba28ee62c255594 | ORPH arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/157202f1da32a49edf2f2820f76214f26f281b46 | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/466ea6b0078b487c6e62f00238027a0b99bd26fc | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/380bc63841ea85ebac68062d162368329d5cfa3d | xtensa | belle-sip-4.4.8 | NOK | http://autobuild.buildroot.net/results/cc7ddc3331708311bfa1a9b46e247accd20717ea | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/b71dd843891b43e271b33fcf75eaf5081c274448 | sh4 | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/8afa8a59bf1bc32d8de1a8b0f38d13e930281bc0 | ORPH mipsel | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/23a3061cb7a50bd246a03084e02117f286e46920 | or1k | cryptodev-linux-1.12 | NOK | http://autobuild.buildroot.net/results/a06708369c233f6e60a1a3ffd7a77a4edd932c9a | ORPH arceb | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/f1b2bb81c277e3091145b13c9052203772671ebc | ORPH powerpc | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/35f2d319f0250f9b77208acd8629955f7e8d2804 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/2e45e39d737005816772f350ae064d2fb1015c5f | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/73adeb5200573362e0dbf6fc72b0c2844614ca26 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/a997ace20af4556b67f95408a588f3c14ed16423 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/186224316d567b47ae8c4dfe6c217e3ecec5cf15 | ORPH x86_64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/794757ee3c06a0fa9b31f5f21be2b2060937d78c | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/42a70179c8a40dc9edc1e203f33d0a5e14765764 | ORPH xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/411da26b679b4e993f32793abc3d585cad2793a1 | ORPH arm | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/3313fe683aa03ccaf1d31aaa2d2b30ef54580631 | ORPH powerpc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/accf4e0e01b49711659f1f8ae27ec1474d4adb8a | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/f48032e8f8af5ee6875d7b470920fd1ff542707c | ORPH mips | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/8ba49c1f66e36f764f8b7a7247a906a48008ed03 | ORPH riscv64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/09aa7ff67654e0665e907f9ba236823d5ac65cb4 | ORPH mips64el | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7caa1ce1888d531211da6bfb801b2d619997ee90 | ORPH arc | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/7e009cb8e0a1fb253d4ac79c7bb703382c46ac62 | ORPH i586 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/f2fe7c36f33fd4712605bbf37e886eaa508791c2 | arceb | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/a49e113a51f3018254a6583206d982a5221625c2 | ORPH riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/f535b7ae272bd81afdf76e7742f665dece5412fd | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/a31e7cf560c366b7ff436fca31448f57944694c2 | microblaze | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/c270b01aa96f0cd2d92edba6873f4cdfad0ce0a0 | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/7515c0a5a3438ebd10d99fb9e865d5ec25ab479f | nios2 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/ea00ea274dd55c6f4d3b31ad73d3ad4fd92f4b6c | microblazeel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/ce6c40db415abd6ac9d5e353f68fbb5db58e9b8d | mips64el | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/5bdb8aa04d9cf3c3ff008419104317326d23f1af | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/3385b17e431d9d14f7a9172afbe0a04dbb3ecebf | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/3f8639e66909b8a9adebea00ed508ea62a24d999 | powerpc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/4b03e4ff7a7344c7eb1ce054f4009225846d95b0 | microblazeel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/cbee770c9fb0479632b6069c0d5b4f98e983685f | mips | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/be989aa10509aa9c9c6277d982289263e4f5c83a | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/8043c5b8c941ad1ca01027ea9cfae83815abc1a1 | arc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/f3b90aa0ce60ddc87f06b30178c59fb0b95b0447 | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/367ae96087d302e45019f4101c4d5f7d26198d30 | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/455d6452a9b82a1d1703ca0c105083cd56291bf3 | riscv32 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/d2b6278726f68e796784215e874a54378f5346d8 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/d70c2d4dede3697c1594272a4665ed1c796ad58f | arc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/90cb55c7d331cd348fbbf4f57a243709c689303d | nios2 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/3b448898f35192e1a8a84126ace7193dd61f8bea | arceb | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/6888fd8ca70f375f6cc439f731602e199977da23 | powerpc64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/264fea78057c62c6b3edc43b55aef754d6553a7d | microblazeel | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/ad0cc9365bb3ab570e3d333b574631c5aea682db | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/9befc3f6672ed64ad83013449be5253e57758606 | riscv32 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/cd13cc17ea8c413cee40782d592649f641fdb943 | mips64el | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/b72efff457ab53f738774b5372d493798c0fda50 | sparc64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/b47e294374612975a44e8ca40630273eb9168b8b | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/70fc86d7053199d58bdf083de215a17d119af62e | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a75b93739e1e1cd586b3a81a9ed701cce9204b59 | aarch64_be | glorytun-0.3.4 | NOK | http://autobuild.buildroot.net/results/a81fbfb10d9f4fed08ae94e1348aa2419ef6119e | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/c50e4292b0378e8ff60c18dd22e8ae9d14972a4f | i686 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/47e7e82d74f16966b960e28b45d270ff5df16ef9 | ORPH powerpc64 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/a110c7c3886d4e09e8c88cf147ea9db655a0732f | ORPH mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/fadc3352c74fa37e95209c38d3de6a4f3e1017cd | i586 | gst1-plugins-bad-1.20.1 | NOK | http://autobuild.buildroot.net/results/3150d50f63c680a2add492c8124e549168b1da1b | ORPH x86_64 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/b80d2d95e11afe05b26b5db04f4811f9dd432f9e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/04fc45bfbbd7a885b5401cb54be72644a1dd8cd4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5f3de9a8bfe614ae5d39667adfc7c2b73d7ab507 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c89c0f152bfca7ecdf4ea0c653e555b0769ae0f9 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bcabe396566dfe8732ee43d1c0b78aa425b9faa0 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/02e6abcab31d43172e5170912d0f270a7cd760ca | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/22a753117aab4533fb6234a80ef6501b05cae75d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/05b9aede3d96a0f3a81439d86a063d7767e33ae2 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ba6c926050d66ff77521f63e0f7f68474f5c1597 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cb456a45f7aef8e6434f88c8b5e84780dc6d69a6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ce7cf8368b2294de6f80feec5c77dac65273dcee | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/36345fe5618bca8648c35e74be71b53ef8b1eee5 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cd23ce4712a826e92375428e72eff84eeef145b9 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/de501e18029447738aecae43a1c845b881500043 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/aab04debb0ddefed5e052011690149d1bffc478f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/687e354c4e61bf2b9c24e50f0cb5ca61e9ca2232 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/11fd91cac86549bea6f52cc816783c9d30c85c74 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2400c9d13b9e4cafcfd17d1bc847fd9c30408168 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0d0a78710f78009bae8dba361847d50d6fd33107 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ada94071e7a9e89d81285ae6c1cb73a46b656cf0 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/34df45d31948a8be62c15391967937b6c90be6df | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4b7bd722431864c762297c016e62445c58f24f2f | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8d8262fc57d6f1dd5f419bdb1c4dca14053426a1 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/401a11f63457171c84c99b485a67c933dae046ad | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8e4022c6cfa4dabdf372d3c1d41d11290293fd7c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9453d5bfad0d1a1ca1b18a42cdeed503c0443c21 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/32e12ad3e22e35ec0867051081dafebce24cbe75 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e175ad7e9ede6f640d4649fa3a7bbe125508e720 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9a4c78d6efec26a687adc2326208c1d3112b5bd5 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d53eea6c496d6d871574f2835076551791f031c2 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e19886b44cbc414e67632068ee19cea640efbb74 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/29928f16b3922f0e3308c0af65641484db176512 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bd4b5d94d836e45f5c4d10895f57ba94d42c7742 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bd80f704528a2547304b759d1ac1a3bd53fafd3c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/dcf88acc6a3b39cc6269aaf32ce06f70746901ef | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d2c402499cafeb300032c0bfd869319ba0e8495c | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cb3ca287f98719283d9f6f8a2a5a1d9f0bb13da6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f1fb6d1291c7dc2757c5ca95c882d4232bb3a3c7 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/81856a77afab084abe3dbbfb4b801d62fd7c377b | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/a66bd9cd04bc86c77e42a3854dd81fa67c152a8e | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c4ddad66146b927f68b84567bb548882640a57ee | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c3110eb55b37b6dbcfb8aa90b811f6cf84e689a0 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/217022a239f782d6fbfe33c270aeb772d3db8a76 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e75063d03fc267f63058a735988d56d2d0b69037 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f926fba1e482373d6c388b9fa2f38cd28100b2d4 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5bc407c4a9244f977733f76257e69c18603ebb23 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8d6363eb4a0636f7968d59fcd51cd6a9271497bb | ORPH powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ff13c795da2c01f07fdf91f06a88746f3eba44c7 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/76dc44413b1d05045695a1312e80d5eb1281bda0 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9863650daae25874169701877d0e5efcf09edd07 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/55c6dac02818da391d4ac9b7f4d6cf8cdbb8a79a | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e94252213264012b8f63bc4b3ffefd8049d48f01 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e96a089f6ff3c5819e6c231a9c71875074bef1de | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/39561a5c004c58dc282e53d6c4ca4732f04c4598 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/df6fcbc22c12aa0cf00dbb8d7f8ebb87c07d6bbf | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a1838a1a4e2e8abd435e6b30d5358889856007d8 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/10a9b36ad61e84c2ccf3470916520f8eab8daa01 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/eaea3b94572bf1fdc7d73eaa790771c070763cef | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/eeff832d6be1b9c284a84b2d3d98e3c935f1751e | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/159a12c391c7c29dda362071b564dd396a8153d3 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1662d55949edbd21a64006c3ad21f2141642156c | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/517a764212e250beda85dedd4fc42c3c76e01f0c | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d55e7a89d208832590b466ad9175dca1197fa500 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/993552a47504fc87ed526b887ec8dc67cff2c510 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b37e793dade5e004efc3d7855aa2a724986cf574 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3cb535cd43713512eaff84bda16dc8952eb07cfb | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5bcc9ce89e4f076ad6ddb153955077073315cc26 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/ab7ee8e538287dee5e6e5a6f1530dd283a97f61f | riscv32 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/1c0ff78f921355b82357f410bab2b4a49220596e | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/8ca69a4e2f97d231fb7ecc972697a7e7da777248 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/099c076870813ef3f322a66ae345750351cb734a | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/9c7fb4a723313b4ad1a9ee8bfede56cae25ee3a1 | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/aa2fa43084dccda075537f1a53ca563a2762d976 | ORPH mips64el | host-go-1.17.8 | NOK | http://autobuild.buildroot.net/results/b542c8644bc9ea70be558524caeca7b475300d77 | powerpc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b629f44c988dc2debc45cfb7f39e65d1bf0b24c6 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b3189ce98e00976a516a32de50a0a06353dc4496 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/48bb7cf6d7b737aaa2ed6fb6806c72c152bd264d | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8a5b631c948972f5b435014dd1012a8dc4c77706 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b4d1ef3a5395040717f2d222cb700602383814d5 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/3a06f1e535b25983cd2daa6f9188b9081d36e623 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/72fd6838e856d8a1fd51d0c8b08b53ac9d8b1171 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d465ca07d76c029b3156e96dd8d1037f2b4e5a69 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/45007925d4fb155521d84bc475dc56eb6f9c6f57 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/89bb5ccf2f5464acb5f2f2a86511e823eacc4aa0 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/743aa0c52275fb8a4e45db8674734973858f5961 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8a79dd209ffde9cedef3adeccc5929a8dcedd5e5 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8d38f29e16bbb6ea3e532094300e66098589e29b | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ede5a536f366621ae1b6968fd1627c1133c2b1a2 | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ae5c4bfef52764769c268014cbd6180e8658b6ae | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/f8c4a9bcdfaa524401417b6ccaf75f9cf28e1b42 | ORPH i586 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/11af93d20d8a184f6711250a27b2f57384a80cd9 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8a96b9f462bb3de94609a817774f737fc30c2cfa | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c0915a8adf81c050e612f892c27f01568f9a3e4d | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/491773d90dc2fa50a884cb6d3bcf4254e651375f | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/559f28e780631bc26a662148b51ae595726448f9 | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/dbae890608c2e45746130f66806e662707670070 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/358b6aed4eaec4b60550d212ba5563a2f601d832 | ORPH or1k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/823960451606ab53360c73e57e84ceba1927cbd5 | ORPH riscv64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/e7012ad67b6bb5358ea5e6cc2e872c64ab22590c | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b87714871a80abf55ce3823d63854bef5b6c5fc4 | ORPH m68k | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/dc473a63b8f663933f9de75061394f5cb083019e | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/9a326379d854031f6ce4a1b2bf3386d5945d122f | ORPH powerpc64le | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b4d2520067be446bbf719fec0e5a5374d07b45b6 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/2b086b23beba9829f3cef274cd110c5e1707e21e | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a0fb3629d9fb3e90b07e949a9ba534433313c6d5 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8b9a100a231cb41ac351922297ac8a9d151d2118 | ORPH s390x | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ae58900c55f0f5bf05333d0fe422de9c46f77190 | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c0f4c1dcbcd3a8c5e8b63d606c3b138543ff9e58 | ORPH powerpc64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/059e698f5bba9cf890cfdbbb2199a069e3cac112 | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/78995439e9781a3e5c86a83334b98d076d693919 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fa8eda0b27a42772fa642c987490dd1cf87b4048 | ORPH arm | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/743de1218426beb26d5cc8ba0c41ccc2a82d03c2 | ORPH microblazeel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/8138d76a43ce7a0aa583fc07880cd9ac689d6c6e | ORPH xtensa | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/de34bffbf462f7d8ce046792eb3679a53dba6b22 | ORPH i586 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/7e1347effff3208bf4554a28cd3b99a8e2ff0de4 | ORPH arc | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/d470a83e027c8b29877182bdea88430e706d0718 | ORPH aarch64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ed1be76b0bb4af0ce9491cd87f634344c22fed35 | ORPH nios2 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/ab8a35c8c4d9752d2b486e27886f0dd30c1cdec7 | ORPH x86_64 | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c09cbd48acb90e779157f12d3192fc90f9e9beb0 | ORPH mipsel | host-util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/194ef447269bdf348ae622c1f8d1460ebdfa6f07 | ORPH or1k | jpeg-turbo-2.1.3 | NOK | http://autobuild.buildroot.net/results/b819b0ef3bf4fc620051e4b736bef5de2954ba52 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/006332add9c23689c51985453890fa8805a6d861 | arm | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/99ab4278ac8e75738b29a418fabf9213e43dc00f | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a58b1fa362cb48b6d2203a9ab16543e0e6784e53 | mips | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/2f1b97aec267f4ccd4a69f9abdc5e1f9a6181579 | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/d0ecab6c2e181324dcbf2ebf996fbfe38901698f | ORPH s390x | libkcapi-1.1.5 | NOK | http://autobuild.buildroot.net/results/2668865d97f1c098c5ac63729abc878bcacbf8ac | ORPH xtensa | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/e19cb68e03eb464395414b6b6b809d3768ccbb3c | i686 | libkrb5-1.18.4 | NOK | http://autobuild.buildroot.net/results/b5fd5169d844051f138b2e023d366f798f0c1fc2 | mips64el | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/61743bf5ad9ddc69786ae854ed4ab58c59f64dd0 | mips64el | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/5c3d85587efe980098a150593799ebe0d8859435 | microblaze | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/dcfa8e979821a74aada3296c83dd81c524c6a08d | powerpc64le | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/c16bbc94e6dc23891ab68f78b616f349e1a1384e | powerpc64 | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/0f1d70d4e971eba109db4a56383e05629f7475f9 | powerpc64 | libnss-3.76 | NOK | http://autobuild.buildroot.net/results/ac84d3516bebbc10af45b53e303f1699f7854f82 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/480fe3835d792bf9092c5d88c9dad888a3f85281 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cfb62f156f3f71ecf13bb0f83941ea9682108b3d | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2705339d727ba2d6909eb72b7662a3da6c0fc2da | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6cb582cabc7540b182d33b5e198539b29390c560 | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/b78c1fe536c84dead78ae754b715b67a8c39d122 | arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/6f882e845d2a131230b02efd1a507640a5fa5c52 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/95282921cf481f03cd1cb987bc69315490f0a65a | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/e7ce3517d1947b7e1e638b60fbf25dcfda8543a7 | ORPH i686 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/83fe37963dacdd6b5c33ed9a38eec99351585ee0 | ORPH mipsel | libsigrok-0.5.2 | NOK | http://autobuild.buildroot.net/results/cd4a2c847e77204913aa9b2b7cf43a2a7e2d69f6 | arm | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/d284b55b409a7b3a31a8eb6cb6dcb1c54996c6b9 | ORPH m68k | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/6ac17600f73f20eb56959da4880841606773f9a8 | ORPH mipsel | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/f90f071728a0abd975c21bbccce0f3b88ebc1573 | ORPH mips64el | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/8087d5638522065474617bdd6404f5175e91de4c | ORPH sparc64 | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/630dc607a2d2ca77173409b37f311b178496e424 | ORPH m68k | linux-5.15.30 | NOK | http://autobuild.buildroot.net/results/406320cf446bc71df88a5fd6680490af17568151 | ORPH sparc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/685bd1dff4decb2fd12f707e29f3a1196269279a | ORPH x86_64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/49b027ef523a712ff48c389a088d87b15f7acf97 | ORPH nios2 | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/304b5d53a5bb16acebc8eacbedee7a73919b03d3 | ORPH powerpc | linux-headers-5.15.30 | NOK | http://autobuild.buildroot.net/results/66bc563fc149442ec0ad720e02fae99beeac57c7 | ORPH xtensa | Makefile:17392: lib/libfrrz... | TIM | http://autobuild.buildroot.net/results/d34fd28e2e716d9ebcad9f4cc7cb89613e3a956f | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/95c700147a2dbb077c7111d8d32271ab3982f566 | arm | ndisc6-1.0.5 | NOK | http://autobuild.buildroot.net/results/1046736e59542a5091a1811ad07e17c1cd13ca3e | ORPH aarch64 | ne10-1.2.1 | NOK | http://autobuild.buildroot.net/results/ecde6e3b88c45cdf5118a7ccb0291147eeaf5d78 | sparc | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/3d620b56d8bd0d0de254b549fbcb6e36c55f9fbb | arceb | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/2690b732df00562262459745451abf0aad69b25b | sparc | openobex-1.7.2 | NOK | http://autobuild.buildroot.net/results/a10ea992c1837114a43c050fb78bc9e9704f9181 | mips64 | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/7e906174fb2236e4e6a5bcb905dc23a2761d75dd | microblazeel | pure-ftpd-1.0.50 | NOK | http://autobuild.buildroot.net/results/67aaca4e10135a5444db963b429d1ac5c41db536 | riscv32 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/54706bc6e907904c567e68d837f6c1e2ff51c516 | i586 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/55295d2ea8fe15d0a915111a8a3de05155e84716 | mips64el | qt5webchannel-fa8b07105b5e2... | NOK | http://autobuild.buildroot.net/results/9069620ee1cfbc6b30ad7d0b8cda64370dc1001c | mipsel | refpolicy | NOK | http://autobuild.buildroot.net/results/2c6bdb187c4c8155c728d6feea131c3a1f62677e | sparc | refpolicy | NOK | http://autobuild.buildroot.net/results/85390ce61855dc34e4b05381acd758a0bc492513 | i686 | rsync-3.2.3 | NOK | http://autobuild.buildroot.net/results/f54a9f4e04276ba492a15ab689881c6e4a304d6c | ORPH mips64el | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/1cb5a66a6de283d79bc3b71fc5536a9c9488eae8 | mipsel | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/c463fe21a8f37ac74218dcf27968218cec028a03 | i486 | trousers-0.3.15 | NOK | http://autobuild.buildroot.net/results/d71af3912882c95b0a23e81cd23fb663d6f35c53 | microblazeel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/251345912b3ce52859e61030b64ab1cb5599b560 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b16fa4dabd4e6d9e5f26b2f382e294dcee22a696 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f06b0631dca4c56c478a5b016f5cabed8a0f2760 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/8407c8303c5c2d989815ef15912bd9c21eed91dd | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/51af28d16f58b3a0b9b7f5dbcfbf270c1c93b4d9 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/392e1b7b7f9680b0505717ed9abca85b2479f298 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cc1bdcf5645cb2e1d984f4ae53607b9bb153fb97 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bf0964bf333dafe0f28c0388926ffb1770fc29b4 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/2d98827bedcae9638f0824cd0ad48352c82fa9f9 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/92d998f8c2fe76a67dcb1693f681cda56e8c488d | arm | unknown | NOK | http://autobuild.buildroot.net/results/f30b8ef68b71ad7f6107a8ce1083973d34be0096 | or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/30fd221d87125490d5fb251b8d1670349b982b4c | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/467181e53ec4c535d0311d3ce40acf89e06e628e | ORPH arm | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/6b60b3a29e4dd5b977ac16e9be1100532f36b47e | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fd599f7c272d8f01db7bca3211ff47cadae8a7f4 | ORPH powerpc | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/41993caa532ed7b0e52e9dd32321c8fdfe1a5e8a | ORPH microblaze | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/cdb6964958f342f67a2f715789fd540ecbfc3e2a | ORPH powerpc | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/b2007457003b0ac4720c577b62e832bea43f4efb | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/906407545ed951399e3b921bdc7983cb022bd451 | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/643d43a5c8af1023ab1821bd1752e8bcaea14d3e | ORPH mipsel | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/86d6e48d6213e6987827b450ea94444ce174733f | ORPH i586 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/810dddbf20dba34a680148c4e6507bcdf26b52b4 | ORPH aarch64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/fbf3664db13aa65bf7a8c51f877109be02ae2def | ORPH x86_64 | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/c23856f2bec4fab690e102249b90f7924ef78399 | ORPH or1k | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/a97fde58d13b536a6ebba176d78ad50526a59689 | ORPH mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/c6e3e919d774617133effc94004136dd503eb73c | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/0ba3d78d46f941316d6dfecc159817e468dab961 | xtensa | wpa_supplicant-2.10 | NOK | http://autobuild.buildroot.net/results/cf1b665ca46c21c4d0ca4a401674ffc31b569280 | mipsel | xenomai | NOK | http://autobuild.buildroot.net/results/ee3400671967f31cc397b65b8eca0915639f016a | nios2 | xenomai | NOK | http://autobuild.buildroot.net/results/875aa21698c5fa6951d2a563def1c8161565dcbe | mipsel | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/815e6d6af26a264b4b3e82a03bf6e117a92aa297 | ORPH powerpc64 | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/74dc27e0fed4a361a9df7f2b046615831a340ad1 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f86809391cc8741d818f207c16363becbe36059e | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a641e05596b747c6b5737f794afca1333f67c5f5 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/bc29e973900fd9486fbf97479db8828ddb79a665 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- dhcp-4.4.2-P1 | 2 ffmpeg-4.4.1 | 1 libtorrent-rasterbar-1.2.15 | 1 vlc-3.0.16 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- xtensa | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/1ab5ce09ecb074a9943add6f1b5d2d32c82becd7 | ORPH sparc64 | dhcp-4.4.2-P1 | NOK | http://autobuild.buildroot.net/results/88356dc95f305e49c5a3a5fd23de9e106253c7a5 | ORPH arm | ffmpeg-4.4.1 | NOK | http://autobuild.buildroot.net/results/bd7fffbf9708c5f911bb573522a3a52d438a36b6 | arm | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/05084f8081c08418cc2bd86f146516b98d56cb74 | xtensa | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/1f7db27cd90f478d96c4c2af84f68897dcd7e32f | -- http://autobuild.buildroot.net From br015 at umbiko.net Sun Apr 10 05:44:12 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Sun, 10 Apr 2022 05:44:12 +0000 Subject: [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] In-Reply-To: <20220409160921.GA3547512@scaer> References: <20220331132230.227424-1-br015@umbiko.net> <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> <20220409160921.GA3547512@scaer> Message-ID: Hi Yann, Arnout, and whoever else is interested, two additional thoughts from my side below: On 2022-04-09 16:09, Yann E. MORIN wrote: > Arnout, Andreas, All, > > On 2022-04-09 17:41 +0200, Arnout Vandecappelle spake thusly: >> On 08/04/2022 15:22, Andreas Ziegler wrote: >> >Outline of the proposed next version of this change: >> >[I did not want to make so many changes, but you are right, it makes sense.] >> >Separate logic from implementation: Remove feature dependencies from >> >mpd.mk and put selection logic into Config.in exclusively. >> As you can see from the description above: this is making things >> quite >> complicated. And one of the tenets of Buildroot is to keep things >> simple. > [--SNIP--] >> We don't have a consistent policy for this case, but I believe the >> policy >> should be: >> >> - Add Config.in options only for features that are important, >> meaningful for >> the user (e.g. codec support). >> >> - Add Config.in options only for features that have a size impact >> (usually >> due to the dependencies they pull in). >> >> - In the .mk file, don't use the Config.in options but instead use >> automatic >> dependencies only. > > That would be very confusign from a user perspective: they would not > enable a feature of a package, yet the package would have that feature > enabled if th3e depedency is enabled. > > Besides the technical surprise, this could also lead to licensing > issues > if the combination of the two packages require special handling (e.g. > because the library license propagates top the package). The security aspect increasingly becomes more important: every line of unused code is a potential attack vector. Better disable what you do not need. > So, the settings from Config.in must be abode by. > >> That way, the .mk file is kept simple (no problematic cases like the >> libupnp/expat interaction in this patch). The Config.in is a bit >> complicated, but it doesn't explode. >> >> Bottom line: I think it's actually the reverse that needs to be done. > > Err. I don;'t understand what you meant here... :-( > >> >In the makefile, a feature is responsible only to select or deselect its >> >configure option and, if this feature relies on a library, add a >> >dependency on this. >> >> So I think the .mk file should simply contain things like: >> >> ifeq ($(BR2_PACKAGE_LIBVORBIS),y) >> MPD_DEPENDENCIES += libvorbis >> MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled >> else >> MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled >> endif >> >> and BR2_PACKAGE_MPD_VORBIS only has an indirect effect, by selecting >> BR2_PACKAGE_LIBVORBIS. > > I highly disagree; the conditional should be on the package setting, > not > the dependency. > >> >Duplicated selection logic in mpd.mk will be eliminated. A build >> >dependency will only be added if it is present in the mpd configuration, >> >and not be inherited accidentally from concurrent packages. >> So this is exactly the reverse of what I'd want. I think it makes the >> .mk >> file harder to maintain for no practical gain. > > Yet, the proposal by Andreas is I believe the correct way to handle the > situation. > >> >This impacts the following features: expat, id3tag, yajl. id3tag already >> >is half implemented, but not used consistently (has an option entry in >> >Config.in, but does not select this, but handles dependencies >> >individually). expat and yajl would be created as hidden options without >> >visibility (no user interaction necessary). >> Yes, that would indeed be an alternative to keep the .mk file >> simpler. I >> take it you mean to add a blind option BR2_PACKAGE_MPD_EXPAT that gets >> selected by the other MPD options that rely on expat. This indeed >> simplifies >> things, but it is still a bit more complicated than what I propose. > > But more correct. > >> >Separate vorbis decoder and encoder options; currently the decoder feature >> >BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis >> >encoding, which is probably not intended. >> I don't see a reason why you would want only one or the other. It has >> virtually no impact on size. > > Indeed here, vorbis support should just enable both the > encoder/decoder. > > The only reason that we might want to be able to chose, is if enabling > one or the other have different requirements: extra size requirements, > extra dependencies, legal issues in your jurisdiction, etc... This behavior is not evident from the menu. Here you just have an option to enable the decoder; the encoder is not mentioned anywhere. If the configuration stays, at least grouping and help message of the current item need an update. >> In summary, I think we have the following three options for packages >> where >> we decide we want user-visible sub-options. >> >> - 1-to-1 mapping with the package configure options. Interaction >> between the >> options is expressed with select/depends in Config.in. The .mk file >> simply >> maps the Config.in options. If it's really not relevant for the user, >> a >> Config.in option can be made blind. This is what Andreas proposes. > > I am OK with that. > >> - Only automatic dependencies in the .mk file, except in cases where >> it has >> an important size or behaviour impact. Add Config.in options only in >> case it >> is relevant. This is what I propose. > > I am OK with the principle, but this does not look like what you > proposed above, as the build-dependencies would be on the dependency > being enabled, not the package option (e.g. BR2_PACKAGE_MPD_VORBIS vs. > BR2_PACKAGE_LIBVORBIS as you showed above). > >> - Add Config.in options for important features. Express >> interdependencies >> between package configure options in the .mk file. This is the current >> situation for mpd. > > I don;t see a difference here: "Add Config.in options only in case it > is > relevant" and "Add Config.in options for important features" are > exactly > the same in mny eyes... > >> So let's see what the other maintainers think. If you (or the other >> maintainers) don't agree, we can compromise and go back to the >> original >> patch (with just the npupnp/expat situation resolved). > > So, I'll summariser my position: > > - add Config.in options when it makes sense: > - important size delta > - legal issues > those options select the appropriate packages > > - in the .mk: > - add conditional blocks based on those options, add build > dependencies as appropriate; > - add conditoinal dependencies on package for automatic > dependencies > >> Ideally I'd like the maintainers (and anybody else, really) to come >> to a >> decision here and eventually formalize it in the manual. Because it's >> not >> the first time this discussion crops up. Kind regards, Andreas > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' > conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ > | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There > is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v > conspiracy. | > '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 10 10:30:14 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 12:30:14 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 Message-ID: <20220410103014.115744-1-fontaine.fabrice@gmail.com> Override CPPFLAGS to fix the following build failure with BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commit cd707a9112e38b4ce98326b96c0ed12054ca1cca and https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] It should be noted that upstream already rejected a PR to remove -Werror: https://github.com/smuellerDD/libkcapi/pull/132 Fixes: - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Arnout Vandecappelle): - Override CPPFLAGS instead of COMMON_CPPFLAGS as -D_FORTIFY_SOURCE=2 is added to CPPFLAGS by ax_add_fortify_source.m4 package/libkcapi/libkcapi.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk index 71dfbd9eff..30d500696b 100644 --- a/package/libkcapi/libkcapi.mk +++ b/package/libkcapi/libkcapi.mk @@ -15,6 +15,7 @@ LIBKCAPI_CONF_ENV = \ ac_cv_path_DB2PDF="" \ ac_cv_path_DB2PS="" \ ac_cv_path_XMLTO="" +LIBKCAPI_MAKE_OPTS = CPPFLAGS="$(TARGET_CPPFLAGS)" ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y) LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 10 13:44:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 15:44:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: add CPE variables Message-ID: <20220410134415.137573-1-fontaine.fabrice@gmail.com> cpe:2.3:a:intel:threading_building_blocks is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aintel%3Athreading_building_blocks Signed-off-by: Fabrice Fontaine --- package/tbb/tbb.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index e5929388a2..87e83551fe 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -9,6 +9,8 @@ TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 TBB_LICENSE_FILES = LICENSE +TBB_CPE_ID_VENDOR = intel +TBB_CPE_ID_PRODUCT = threading_building_blocks TBB_SO_VERSION = 2 TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy -- 2.35.1 From arnout at mind.be Sun Apr 10 13:55:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 15:55:17 +0200 Subject: [Buildroot] buildroot-2022.02 installation problems In-Reply-To: References: Message-ID: Hi, On 04/04/2022 03:23, ??? wrote: > Hello > > I am trying to learn Linux late, but nothing is easy. > > It takes a lot of effort and time to compile individually, such as binutils, > gcc, glibc, and kernel, etc which are required to build a Linux environment. > > and then have discovered buildroot and i thought that the buildroot could be a > little easier to reach my original purpose. > > I am an engineer, so far I have developed non-linux fields such as avr, stm32f4... > > I'm a beginner and I don't have an embedded board. First, I will create a > virtual target using qemu on my laptop (ubuntu 20.04.3), > > and upload the kernel (linux-5.11.22, non-ubuntu) there. To do this, the Note that Buildroot can build the kernel for you as well. > toolchain and glibc, compiler will be created through buildroot. > > The first time I did it without knowing anything, it was successful, but I can't > remember which option I chose. > > Maybe when it first succeeded, i think the gdb option was not checked . > > Afterwards, if I build with the gdb option selected for the target, an error > occurs like below: > > .... > > [Makefile:9230: all-gdb] Error 2 This is not sufficient to debug the issue, you'd have to post a larger part of the output. That's probably going to be too big for an email, so put it in a pastebin instead and just post the link. That said, I could reproduce the issue with GDB 9 (the first config you attached), it's a known issue with glibc-2.34 [1] which was fixed in GDB 10.2 but the patch wasn't backported to GDB 9. So changing the GDB version to 10 should fix it. The second config you included does have GDB 10, but I couldn't reproduce a GDB issue there. I haven't attempted to build the full config however, I took a shortcut by using the external toolchain. So if you want to debug further, please include a more extensive log in addition to the configuration. Also, it's better if you attach a defconfig (= the result of 'make savedefconfig') instead of all full config, because it's a lot smaller. BTW I noticed that you have a lot of weird packages selected, like CVS. Do you really need all that? Regards, Arnout [1] https://sourceware.org/bugzilla/show_bug.cgi?id=27535 > > My current purpose is to remotely debug a virtual target program through > gdbserver installed on the target based on qemu. > > To do this, gdbserver must be installed on the target, but this does not work. > > Attached is the .config file when the error occurs. > > I look forward to your reply. > > My original job is to control the motor. But before that, I'm already exhausted. > > > host: ubuntu 20.04.3, arch: x86_64, x86_64-pc-linux-gnu-gcc > > target: kernel 5.11.22(boot by qemu), arch: x86_64, x86_64-buildroot-linux-gnu-gcc > > =>The command to run qemu will: > > qemu-system-x86_64 -kernel /usr/src/linux-5.11.22/arch/x86/boot/bzImage -m 4096M > -smp 1 -boot c -hda /home/dggil/Downloads/buildroot/output/images/rootfs.ext4 > -append "root=/dev/sda rw acpi=off" -s > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Sun Apr 10 14:10:43 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 16:10:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/lftp: fix build with libressl Message-ID: <20220410141043.144288-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl > 2.7.0: /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here Fixes: - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 Signed-off-by: Fabrice Fontaine --- ..._ssl.c-fix-build-with-libressl-2.7.0.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch diff --git a/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch new file mode 100644 index 0000000000..4251a5e176 --- /dev/null +++ b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch @@ -0,0 +1,36 @@ +From 3ffa0132987bdde986c82c924bc51b13b37f8b54 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 22:56:21 +0200 +Subject: [PATCH] src/lftp_ssl.c: fix build with libressl >= 2.7.0 + +X509_OBJECT_get0_X509_CRL is provided by libressl since version 2.7.0 +and +https://github.com/libressl-portable/openbsd/commit/9866ae34c0af718973475296bd9ef036d3aaa94e +resulting in the following build failure: + +/nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': +(.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here + +Fixes: + - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54] +--- + src/lftp_ssl.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 26e91e4b..a814543d 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -664,7 +664,7 @@ int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int* cert_max + #elif USE_OPENSSL + //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + // for compatibility with older versions + X509_OBJECT *X509_OBJECT_new() + { -- 2.35.1 From arnout at mind.be Sun Apr 10 14:13:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:13:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/igh-ethercat: needs kernel < 3.5 In-Reply-To: <20220405200615.1755287-1-fontaine.fabrice@gmail.com> References: <20220405200615.1755287-1-fontaine.fabrice@gmail.com> Message-ID: <0548ce7b-225b-1520-61ea-ddd2a7bf76f9@mind.be> On 05/04/2022 22:06, Fabrice Fontaine wrote: > igh-ethercat needs kernel < 3.5 since bump to version 1.5.2 in commit > 88cd215169d6875a5ed0543b15254b98f9f83104: Sorry, but no. If this is really true, we should just remove the package. It makes no sense to try to maintain packages that rely on such ancient kernels. IMHO, of course ;-) However, there seems to be a new upstream [1] that (based on the git history) at least supports kernel 4.19. So switching to that would be a good idea. There's another concern however, for which I included James in Cc. Quite a lot of external kernel modules and other extensions (e.g. rtai) will only work with specific kernel versions. I don't know if we can afford to really encode that in the Config.in, especially because we don't have a good idea of the kernel version that is being built (the headers version is just a strong hint, but e.g. in case you build with an external toolchain it can be completely wrong). Up until recently, this wasn't really a problem because we don't build them in the autobuilders anyway. However, now James has added support for building kernels in his autobuilder, we do get failures like this. How will we handle that? Regards, Arnout [1] https://gitlab.com/etherlab.org/ethercat > > checking for kernel for 8139too driver... configure: error: kernel 5.15 not available for 8139too driver! > > Fixes: > - http://autobuild.buildroot.org/results/e8122e9d7c13d07a6ddc7d9a2d3a078c21521ecd > > Signed-off-by: Fabrice Fontaine > --- > package/igh-ethercat/Config.in | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/igh-ethercat/Config.in b/package/igh-ethercat/Config.in > index e600ef5fcd..51b8584f78 100644 > --- a/package/igh-ethercat/Config.in > +++ b/package/igh-ethercat/Config.in > @@ -1,9 +1,14 @@ > comment "igh-ethercat needs a Linux kernel to be built" > depends on !BR2_LINUX_KERNEL > > +comment "igh-ethercat needs a toolchain w/ headers < 3.5" > + depends on BR2_LINUX_KERNEL > + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 > + > config BR2_PACKAGE_IGH_ETHERCAT > bool "igh-ethercat" > depends on BR2_LINUX_KERNEL > + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 > help > IgH EtherCAT Master for Linux. > From fontaine.fabrice at gmail.com Sun Apr 10 14:34:13 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 16:34:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/kompexsqlite: security bump to version 1.12.15 Message-ID: <20220410143413.146915-1-fontaine.fabrice@gmail.com> - Update site to get latest version - Switch to generic-package and drop patches as upstream doesn't provide autotools support - License is MIT since version 1.12.15 - This bump will fix the following build failure with BR2_OPTIMIZE_FAST: src/sqlite3.c: In function 'sqlite3IsNaN': src/sqlite3.c:21797:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC. 21797 | # error SQLite will not work correctly with the -ffast-math option of GCC. | ^~~~~ - This bump will also fix security issues by bumping sqlite to 3.36.0 - Update indentation in hash file (two spaces) http://sqlitewrapper.kompex-online.com/index.php?content=changelog Fixes: - http://autobuild.buildroot.org/results/63e07345b97faa6d6239933f1790c6f2e02da77f Signed-off-by: Fabrice Fontaine --- ...e-use-autoconf-CXX-for-proper-builds.patch | 27 ---------- .../0002-append-to-cflags-and-cxxflags.patch | 49 ------------------- package/kompexsqlite/kompexsqlite.hash | 5 +- package/kompexsqlite/kompexsqlite.mk | 45 ++++++++++++++--- 4 files changed, 42 insertions(+), 84 deletions(-) delete mode 100644 package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch delete mode 100644 package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch diff --git a/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch b/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch deleted file mode 100644 index 408c100d71..0000000000 --- a/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 769693d9ddf63b04dd4aad6cad080f3cee3f997e Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Thu, 11 Jun 2015 14:08:38 -0300 -Subject: [PATCH] Makefile: use autoconf CXX for proper builds - -Status: applied upstream. - -Signed-off-by: Gustavo Zacarias ---- - Makefile.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Makefile.in b/Makefile.in -index 91fb8b2..fe862cd 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -23,6 +23,7 @@ mandir = $(prefix)/share/man/man3 - headerdir = $(prefix)/include/kompex - - CC = @CC@ -+CXX = @CXX@ - CFLAGS = @CFLAGS@ - CPPFLAGS = $(CFLAGS) @CPPFLAGS@ - LDFLAGS = @LDFLAGS@ --- -2.3.6 - diff --git a/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch b/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch deleted file mode 100644 index abd0dc0fdd..0000000000 --- a/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 3eb064ffa9b43fb5f245b8abda48a1c152a6f2d7 Mon Sep 17 00:00:00 2001 -From: me -Date: Thu, 20 Nov 2014 14:37:34 -0700 -Subject: [PATCH] Append to CFLAGS and CXXFLAGS as setup by ./configure. This - can allow users to Customize the SQLite build process with compile time - #defines rather than altering the sources. - -Signed-off-by: Max Filippov ---- -Backported from: 3eb064ffa9b43fb5f245b8abda48a1c152a6f2d7 - - Makefile-shared.mk | 4 ++-- - Makefile-static.mk | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile-shared.mk b/Makefile-shared.mk -index b2a4920..d15ce3c 100644 ---- a/Makefile-shared.mk -+++ b/Makefile-shared.mk -@@ -12,10 +12,10 @@ OBJS= \ - ${objsdir}/sqlite3.o - - # C Compiler Flags --CFLAGS= -fPIC -MMD -MP -+CFLAGS+= -fPIC -MMD -MP - - # CC Compiler Flags --CPPFLAGS= -DKOMPEX_SQLITEWRAPPER_EXPORT -DKOMPEX_SQLITEWRAPPER_DYN -fPIC -MMD -MP -I${includedir} -+CPPFLAGS+= -DKOMPEX_SQLITEWRAPPER_EXPORT -DKOMPEX_SQLITEWRAPPER_DYN -fPIC -MMD -MP -I${includedir} - - # Link Libraries and Options - LDLIBSOPTIONS= -shared -fPIC -diff --git a/Makefile-static.mk b/Makefile-static.mk -index 429a4ff..0678681 100644 ---- a/Makefile-static.mk -+++ b/Makefile-static.mk -@@ -12,10 +12,10 @@ OBJS= \ - ${objsdir}/sqlite3.o - - # C Compiler Flags --CFLAGS= -MMD -MP -+CFLAGS+= -MMD -MP - - # CC Compiler Flags --CPPFLAGS= -I${includedir} -MMD -MP -+CPPFLAGS+= -I${includedir} -MMD -MP - - # Link Libraries and Options - LDLIBSOPTIONS= diff --git a/package/kompexsqlite/kompexsqlite.hash b/package/kompexsqlite/kompexsqlite.hash index 8869e9b7d9..aa0f269570 100644 --- a/package/kompexsqlite/kompexsqlite.hash +++ b/package/kompexsqlite/kompexsqlite.hash @@ -1,3 +1,4 @@ # Locally calculated -sha256 73bec94fe5dd3a24bd8668b3a131a84dbe39a992579eebab1236aa0e73b2c9cc kompexsqlite-1.10.12-1.tar.gz -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.txt +sha256 81773ddb156fed51ef43a5f562e3b47761c4c33de9197bf0c3e7099b08579e2a download.php?dl=KompexSQLiteWrapper-Source_1.12.15.tar.gz +sha256 65fd20aeb67892740a710a09d788acfda8747741e746395739412919f84b5f9f inc/KompexSQLiteDatabase.h +sha256 001f26c0b2ca407a9a5d3f5e0690d7e576687b23110e18d2a08014dd774eb71c inc/sqlite3.h diff --git a/package/kompexsqlite/kompexsqlite.mk b/package/kompexsqlite/kompexsqlite.mk index a40088fa2d..6a619de0ef 100644 --- a/package/kompexsqlite/kompexsqlite.mk +++ b/package/kompexsqlite/kompexsqlite.mk @@ -4,11 +4,44 @@ # ################################################################################ -KOMPEXSQLITE_VERSION = 1.10.12-1 -KOMPEXSQLITE_SITE = \ - $(call github,Aethelflaed,kompex-sqlite-wrapper,v$(KOMPEXSQLITE_VERSION)) +KOMPEXSQLITE_VERSION = 1.12.15 +KOMPEXSQLITE_SOURCE = download.php?dl=KompexSQLiteWrapper-Source_$(KOMPEXSQLITE_VERSION).tar.gz +KOMPEXSQLITE_SITE = http://sqlitewrapper.kompex-online.com/counter KOMPEXSQLITE_INSTALL_STAGING = YES -KOMPEXSQLITE_LICENSE = LGPL-3.0+ (wrapper), Public Domain (bundled sqlite) -KOMPEXSQLITE_LICENSE_FILES = LICENSE.txt +KOMPEXSQLITE_LICENSE = MIT (wrapper), Public Domain (bundled sqlite) +KOMPEXSQLITE_LICENSE_FILES = inc/KompexSQLiteDatabase.h inc/sqlite3.h -$(eval $(autotools-package)) +ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +KOMPEXSQLITE_CONFS += ReleaseStaticLib +define KOMPEXSQLITE_INSTALL_STATIC_LIB + $(INSTALL) -D -m 0644 $(@D)/lib/release/KompexSQLiteWrapper_Static.a \ + $(STAGING_DIR)/usr/lib/libkompex-sqlite-wrapper.a +endef +endif + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +KOMPEXSQLITE_CONFS += ReleaseDynamicLib +define KOMPEXSQLITE_INSTALL_SHARED_LIB + $(INSTALL) -D -m 0755 $(@D)/lib/release/KompexSQLiteWrapper.so \ + $(1)/usr/lib/libkompex-sqlite-wrapper.so +endef +endif + +define KOMPEXSQLITE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + ALLCONFS="$(KOMPEXSQLITE_CONFS)" \ + -C "$(@D)/Kompex SQLite Wrapper" all +endef + +define KOMPEXSQLITE_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/kompex + $(INSTALL) -m 644 $(@D)/inc/* $(STAGING_DIR)/usr/include/kompex + $(KOMPEXSQLITE_INSTALL_STATIC_LIB) + $(call KOMPEXSQLITE_INSTALL_SHARED_LIB,$(STAGING_DIR)) +endef + +define KOMPEXSQLITE_INSTALL_TARGET_CMDS + $(call KOMPEXSQLITE_INSTALL_SHARED_LIB,$(TARGET_DIR)) +endef + +$(eval $(generic-package)) -- 2.35.1 From arnout at mind.be Sun Apr 10 14:38:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:38:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: support additional host architectures In-Reply-To: <20220404004138.563732-1-james.hilliard1@gmail.com> References: <20220404004138.563732-1-james.hilliard1@gmail.com> Message-ID: On 04/04/2022 02:41, James Hilliard wrote: > There are host toolchains available for non-x86/x86_64 architectures, > add them as supported along with their toolchain hashes. > > Note that the gcc riscv64-unknown-linux-gnu arch needs to be mapped > to the rust riscv64gc-unknown-linux-gnu arch. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/rust-bin/rust-bin.hash | 24 ++++++++++++++++++++++++ > package/rustc/Config.in.host | 11 ++++++++++- > package/rustc/rustc.mk | 4 +++- > 3 files changed, 37 insertions(+), 2 deletions(-) > > diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash > index 9f8788a295..bac2f21c5c 100644 > --- a/package/rust-bin/rust-bin.hash > +++ b/package/rust-bin/rust-bin.hash > @@ -1,6 +1,30 @@ > +# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > +sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz > # From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > +sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > +sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > +sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > +sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > +sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > +sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc > +sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz > # From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz > diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host > index 80d1d1a3d8..4ea66c2d2d 100644 > --- a/package/rustc/Config.in.host > +++ b/package/rustc/Config.in.host > @@ -1,7 +1,16 @@ > # All host rust packages should depend on this option > config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS > bool > - default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" > + default y if BR2_HOSTARCH = "aarch64" > + default y if BR2_HOSTARCH = "mips" > + default y if BR2_HOSTARCH = "mipsel" > + default y if BR2_HOSTARCH = "powerpc" > + default y if BR2_HOSTARCH = "powerpc64" > + default y if BR2_HOSTARCH = "powerpc64le" > + default y if BR2_HOSTARCH = "riscv64" > + default y if BR2_HOSTARCH = "s390x" > + default y if BR2_HOSTARCH = "x86" > + default y if BR2_HOSTARCH = "x86_64" > > # The pre-built Rust standard library is only available for a number > # of architectures/C libraries combinations, with different levels of > diff --git a/package/rustc/rustc.mk b/package/rustc/rustc.mk > index 0513dd0b40..b2cc131ee9 100644 > --- a/package/rustc/rustc.mk > +++ b/package/rustc/rustc.mk > @@ -11,7 +11,9 @@ ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) > RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-$(LIBC)$(RUSTC_ABI) > endif > > -ifeq ($(HOSTARCH),x86) > +ifeq ($(HOSTARCH),riscv64) > +RUSTC_HOST_ARCH = riscv64gc > +else ifeq ($(HOSTARCH),x86) > RUSTC_HOST_ARCH = i686 > else > RUSTC_HOST_ARCH = $(HOSTARCH) From arnout at mind.be Sun Apr 10 14:39:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:39:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rustc, rust-bin}: add s390x target arch support In-Reply-To: <20220404005725.564691-1-james.hilliard1@gmail.com> References: <20220404005725.564691-1-james.hilliard1@gmail.com> Message-ID: <92b4b36f-f59c-40b7-6f8d-2ef2cea82305@mind.be> On 04/04/2022 02:57, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/rust-bin/rust-bin.hash | 3 +++ > package/rustc/Config.in.host | 2 ++ > 2 files changed, 5 insertions(+) > > diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash > index 9f8788a295..ec1c09b7ea 100644 > --- a/package/rust-bin/rust-bin.hash > +++ b/package/rust-bin/rust-bin.hash > @@ -88,6 +88,9 @@ sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-s > # From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc > +sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz > # From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc > sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz > diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host > index 80d1d1a3d8..d38b57386c 100644 > --- a/package/rustc/Config.in.host > +++ b/package/rustc/Config.in.host > @@ -53,6 +53,8 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS > BR2_RISCV_ISA_RVA && BR2_RISCV_ISA_RVF && \ > BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC && \ > BR2_TOOLCHAIN_USES_GLIBC > + # s390x-unknown-linux-gnu > + default y if BR2_s390x && BR2_TOOLCHAIN_USES_GLIBC > # x86_64-unknown-linux-musl > default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_MUSL > From arnout at mind.be Sun Apr 10 14:45:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:45:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: bump to version 1.59.0 In-Reply-To: <20220407115952.56219-2-nicolas.tran@smile.fr> References: <20220407115952.56219-1-nicolas.tran@smile.fr> <20220407115952.56219-2-nicolas.tran@smile.fr> Message-ID: <18863202-0ccb-1714-3d05-6f0e119b613d@mind.be> Hi Nicolas, On 07/04/2022 13:59, Nicolas Tran wrote: > Link to Rust version 1.59.0: https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html Excellent, thanks! Unfortunately, I just applied two patches that add a bunch of other tarballs, so these will have to be updated as well now. Also, the very day that you posted this patch, rust 1.60 was released. So maybe you can update to that? Finally, when updating rust, it's a good idea to do a build test (using the test-pkg script) of a few packages that rely on rust: rsvg, python-cryptography, ripgrep, suricata. Oh, also: everything you put in the cover letter would actually be useful in the commit message. We just prefer if it's written in passive sense rather than first person, i.e. "Source archives were retrieved and ...". But that's really a minor thing. Regards, Arnout > > Signed-off-by: Nicolas Tran > --- > package/rust-bin/rust-bin.hash | 198 ++++++++++++++++----------------- > package/rust-bin/rust-bin.mk | 2 +- > package/rust/rust.hash | 6 +- > package/rust/rust.mk | 2 +- > 4 files changed, 104 insertions(+), 104 deletions(-) > > diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash > index 9f8788a295..1aa166c45e 100644 > --- a/package/rust-bin/rust-bin.hash > +++ b/package/rust-bin/rust-bin.hash > @@ -1,102 +1,102 @@ > -# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > -sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > -sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > -sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc > -sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc > -sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc > -sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc > -sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc > -sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc > -sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc > -sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc > -sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc > -sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc > -sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc > -sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc > -sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc > -sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > -sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc > -sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > -sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc > -sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc > -sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc > -sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc > -sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc > -sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > -sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc > -sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > -sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > -sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > -sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > -sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc > -sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > -sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc > -sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.asc > +sha256 b4144c89f9482f3e76ccad09d0a3072c935b7c0abdb9a52edbd641f2e27bb4f0 rust-1.59.0-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc > +sha256 a10c4abcba4891c463612c161246706cd0e8d3ddb1ae75f514d3f02bed235af6 rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.asc > +sha256 68e50dee4f6dddeab7330906e46022f57f2c004c847eae3f5b1bc82c59e43fc0 rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.asc > +sha256 6b8424e9b99da7df3b842b47476fbff4c371414186ae50ca0aff050a532c1d52 rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.asc > +sha256 b65ffcf5a4b4e4df3893b6da7182e2f91cd174e59fd26a69110809015635708a rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.asc > +sha256 382051a04047463430bfb4d16fe2998fcd00f0945cb99b622e94a7564796846a rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.asc > +sha256 f072103ccbd967ccf06c3e4366a56af1f53af89834f02d0151afc144318d9040 rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.asc > +sha256 e2f4944fb135c508b0c8dff46caf04eca065e5ee5f5de32494b084c667fd20eb rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.asc > +sha256 2b9042ae8d24f5d8ada3d1903e24c2cdcc464e74a506cb72054a680b1e0433bb rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.asc > +sha256 1f0726d6b06b7b35de32af45b9f8ac597c89cc5e7236ac6a6dcb91f0412b0e1a rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.asc > +sha256 310ce12c01fa15f46b8f9eee4a086c818118dbd56cd8400aee04432ba96061df rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.asc > +sha256 3695a3bee47cfe0624f7822243000a4ee552bf920b403b16cc633513e95498bd rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.asc > +sha256 6c00582c159524a87b8934a5e4cb513d6032474f9a017bf91697e72885bf70fb rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.asc > +sha256 dcf0f1ddc6dc5e32a07789408d0a2637d639e00cf214c349921d06d3f73c7b2c rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.asc > +sha256 415a93bc55da0879335a18e55552a111a23bd9d5e70598080071f6346a9b4a0d rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.asc > +sha256 a0a644cb14eec96760b870b585b08a3bf2965844754f8b965b39aded5635ab77 rust-std-1.59.0-i586-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.asc > +sha256 26e91818a36184998039aeaabbf0972a8610d0d250e4bc03de6f27a7843971b5 rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.asc > +sha256 5821c1655adc81bc2a347329eab08b651f3312f2eeb972b0a30d93a5c49502f5 rust-std-1.59.0-i686-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.asc > +sha256 05bf10c11ff845f006331ddfdd109e12b1377c156e37eb1bb3bc0402e4219d31 rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.asc > +sha256 af5ee07f5d98296435867ef5859ec207c57413bb61b0d656c39b1f451aaeeb38 rust-std-1.59.0-mips-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.asc > +sha256 88c6b0dbadfc7bcc2a2eba0f3328ad1ff1714a5a13f07bffe007aecae59fc9b8 rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.asc > +sha256 a0533694ed62c9c3f497d94ee51bc9ba08e5f3fb24588e02cf1f1c2efbdb9b43 rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc > +sha256 6a3462a10da953546412912d04228a63c5d4086a4768163f1bd5ccf81950090d rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.asc > +sha256 606d037a01cc7666594b7973c6a727c69426d85adaf94128dc9914e893ef8ed9 rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.asc > +sha256 fd747f4ef4cee6fe88692dd6e3c7b986870ce8a24eab8920adacc7ab73fb482d rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.asc > +sha256 4622aa633ad2d0decca59aa65b24195431e40162804352f5bdd9bafd92ee7b9d rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.asc > +sha256 5ead471b53d290960d49a7cec0ba01a082f5e6cfa18825366990d46797dc7161 rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.asc > +sha256 1217290e951ae84998d2d04a88d154b1da205e2638a3449c02c8e9256bff589c rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.asc > +sha256 15dee7705967e3351aff11c64ada30c4957b54066c7ee49b87be4b8155bd0a7d rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.asc > +sha256 74c1f9c94ff4993948c05df2c9c58f76708e6adbacb9b2caca368558dde9590a rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.asc > +sha256 6bc109f7ff1f501153cc18eebed9a0cc468eebbfed2cc728047d59456e356f9a rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc > +sha256 c854a9ee3dd8e5be9522c1581f75838c1cbae6dece3934b0004f138c4a5024a3 rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.asc > +sha256 473b6ddf598418db49efc21c3d2702cdaf9c78ee4ae00611c7d9e384a2d4dad7 rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz > # Locally generated > sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE > sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk > index d4cb8f50ea..b50465f7a6 100644 > --- a/package/rust-bin/rust-bin.mk > +++ b/package/rust-bin/rust-bin.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RUST_BIN_VERSION = 1.58.1 > +RUST_BIN_VERSION = 1.59.0 > RUST_BIN_SITE = https://static.rust-lang.org/dist > RUST_BIN_LICENSE = Apache-2.0 or MIT > RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > diff --git a/package/rust/rust.hash b/package/rust/rust.hash > index 7eb8f59603..63a5644176 100644 > --- a/package/rust/rust.hash > +++ b/package/rust/rust.hash > @@ -1,6 +1,6 @@ > -# From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc > -sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz > +# From https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.asc > +sha256 375996ead731cab2203ec10a66a3c4568ab6997d7e5d3ae597658164fe27be3d rustc-1.59.0-src.tar.xz > # Locally generated > sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE > sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/rust/rust.mk b/package/rust/rust.mk > index cd8c87b68d..fd02686082 100644 > --- a/package/rust/rust.mk > +++ b/package/rust/rust.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RUST_VERSION = 1.58.1 > +RUST_VERSION = 1.59.0 > RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz > RUST_SITE = https://static.rust-lang.org/dist > RUST_LICENSE = Apache-2.0 or MIT From arnout at mind.be Sun Apr 10 14:46:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:46:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: needs C++ In-Reply-To: <20220404203135.340172-1-fontaine.fabrice@gmail.com> References: <20220404203135.340172-1-fontaine.fabrice@gmail.com> Message-ID: On 04/04/2022 22:31, Fabrice Fontaine wrote: > python-ujson needs C++ since bump to version 4.1.0 in commit > a47f332a20bf3f79ef4903c8ddd2b7917217e354 and > https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: > > powerpc-buildroot-linux-gnu-gcc.br_real: error: ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ compiler not installed on this system > > Fixes: > - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/python-ujson/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in > index 81d1bc457c..7af03e6497 100644 > --- a/package/python-ujson/Config.in > +++ b/package/python-ujson/Config.in > @@ -1,7 +1,11 @@ > config BR2_PACKAGE_PYTHON_UJSON > bool "python-ujson" > + depends on BR2_INSTALL_LIBSTDCPP > help > UltraJSON is an ultra fast JSON encoder and decoder written > in pure C with bindings for Python 3. > > https://pypi.python.org/pypi/ujson > + > +comment "python-ujson needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 10 14:46:33 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:46:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/trace-cmd: needs NPTL In-Reply-To: <20220404205015.341053-1-fontaine.fabrice@gmail.com> References: <20220404205015.341053-1-fontaine.fabrice@gmail.com> Message-ID: <633b44ef-123c-d0e0-51d4-ae3ab9af36b3@mind.be> On 04/04/2022 22:50, Fabrice Fontaine wrote: > trace-cmd needs NPTL since bump to version 2.9.1 in commit > 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: > > /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): in function `tracecmd_tsync_with_host': > trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' > > Fixes: > - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/trace-cmd/Config.in | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in > index 574541c571..2d0accd7ae 100644 > --- a/package/trace-cmd/Config.in > +++ b/package/trace-cmd/Config.in > @@ -1,6 +1,7 @@ > config BR2_PACKAGE_TRACE_CMD > bool "trace-cmd" > - depends on BR2_TOOLCHAIN_HAS_THREADS > + # pthread_setaffinity_np > + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL > depends on BR2_USE_MMU # fork() > depends on !BR2_STATIC_LIBS # dlopen() > help > @@ -13,6 +14,6 @@ config BR2_PACKAGE_TRACE_CMD > > http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git > > -comment "trace-cmd needs a toolchain w/ threads, dynamic library" > +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" > depends on BR2_USE_MMU > - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS > + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From arnout at mind.be Sun Apr 10 14:46:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:46:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/libest: fix build with libressl In-Reply-To: <20220404211941.721192-1-fontaine.fabrice@gmail.com> References: <20220404211941.721192-1-fontaine.fabrice@gmail.com> Message-ID: <31c48db8-f8b2-23fb-f3a0-ce67e4e5243d@mind.be> On 04/04/2022 23:19, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since the addition > of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: > > In file included from est.c:28: > est.h:27:10: fatal error: openssl/srp.h: No such file or directory > 27 | #include > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libest/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/libest/Config.in b/package/libest/Config.in > index d8271ad69e..6abe9d2848 100644 > --- a/package/libest/Config.in > +++ b/package/libest/Config.in > @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBEST > depends on !BR2_STATIC_LIBS # libexecinfo or glibc > select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC > select BR2_PACKAGE_OPENSSL > + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL > help > libest is a C implementation of RFC 7030 (Enrollment over > Secure Transport). From arnout at mind.be Sun Apr 10 14:47:18 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:47:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/containerd: bump to version v1.6.2 In-Reply-To: <20220404221451.610628-1-christian@paral.in> References: <20220404221451.610628-1-christian@paral.in> Message-ID: On 05/04/2022 00:14, Christian Stewart via buildroot wrote: > Note: this version adds compatibility for Go 1.18. > > Signed-off-by: Christian Stewart Applied to master, thanks. Regards, Arnout > --- > package/containerd/containerd.hash | 2 +- > package/containerd/containerd.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash > index d5aafe2e70..eb9f2894a9 100644 > --- a/package/containerd/containerd.hash > +++ b/package/containerd/containerd.hash > @@ -1,3 +1,3 @@ > # Computed locally > -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz > +sha256 4ea21a6b4649512366e7c31ae547ad89c6a69c6586a6d8565cff07898de344b0 containerd-1.6.2.tar.gz > sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE > diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk > index 8976e12f1a..36f2db4125 100644 > --- a/package/containerd/containerd.mk > +++ b/package/containerd/containerd.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -CONTAINERD_VERSION = 1.5.9 > +CONTAINERD_VERSION = 1.6.2 > CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) > CONTAINERD_LICENSE = Apache-2.0 > CONTAINERD_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 10 14:15:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:15:06 +0200 Subject: [Buildroot] [git commit] package/python-ujson: needs C++ Message-ID: <20220410143837.8BB8D837CC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9f83216ff1f86c625023bee3037773997fc2987d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-ujson needs C++ since bump to version 4.1.0 in commit a47f332a20bf3f79ef4903c8ddd2b7917217e354 and https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: powerpc-buildroot-linux-gnu-gcc.br_real: error: ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-ujson/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in index 81d1bc457c..7af03e6497 100644 --- a/package/python-ujson/Config.in +++ b/package/python-ujson/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_PYTHON_UJSON bool "python-ujson" + depends on BR2_INSTALL_LIBSTDCPP help UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3. https://pypi.python.org/pypi/ujson + +comment "python-ujson needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 10 14:15:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:15:09 +0200 Subject: [Buildroot] [git commit] package/trace-cmd: needs NPTL Message-ID: <20220410143837.9496C837C4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=df3cc4bb1c91114d29e48d8bc8206adcc35e9b9c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master trace-cmd needs NPTL since bump to version 2.9.1 in commit 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): in function `tracecmd_tsync_with_host': trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' Fixes: - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/trace-cmd/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 574541c571..2d0accd7ae 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TRACE_CMD bool "trace-cmd" - depends on BR2_TOOLCHAIN_HAS_THREADS + # pthread_setaffinity_np + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() help @@ -13,6 +14,6 @@ config BR2_PACKAGE_TRACE_CMD http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git -comment "trace-cmd needs a toolchain w/ threads, dynamic library" +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From arnout at mind.be Sun Apr 10 14:47:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:47:48 +0200 Subject: [Buildroot] [git commit] package/containerd: bump to version v1.6.2 Message-ID: <20220410143837.A678B837CC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2b1c7ebc9b2c4a8bea5967860a425625ce2f45e5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Note: this version adds compatibility for Go 1.18. Signed-off-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 23dacded88..eb9f2894a9 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz +sha256 4ea21a6b4649512366e7c31ae547ad89c6a69c6586a6d8565cff07898de344b0 containerd-1.6.2.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index c405b75e81..36f2db4125 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.11 +CONTAINERD_VERSION = 1.6.2 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 10 14:38:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:38:00 +0200 Subject: [Buildroot] [git commit] package/libest: doesn't support libressl Message-ID: <20220410143837.9D418837C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c4872446c8c5cd34b2f8e0ed66932cb3ba62556a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since the addition of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: In file included from est.c:28: est.h:27:10: fatal error: openssl/srp.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libest/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libest/Config.in b/package/libest/Config.in index d8271ad69e..6abe9d2848 100644 --- a/package/libest/Config.in +++ b/package/libest/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBEST depends on !BR2_STATIC_LIBS # libexecinfo or glibc select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help libest is a C implementation of RFC 7030 (Enrollment over Secure Transport). From arnout at mind.be Sun Apr 10 14:15:03 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:15:03 +0200 Subject: [Buildroot] [git commit] package/{rustc, rust-bin}: add s390x target arch support Message-ID: <20220410143837.82ACB837C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=718574186190e23c45c6f3e92000f1e36dfe6c95 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rust-bin/rust-bin.hash | 3 +++ package/rustc/Config.in.host | 2 ++ 2 files changed, 5 insertions(+) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index bac2f21c5c..b2a4502cd9 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -112,6 +112,9 @@ sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-s # From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc +sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index 4ea66c2d2d..a86d95236d 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -62,6 +62,8 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS BR2_RISCV_ISA_RVA && BR2_RISCV_ISA_RVF && \ BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC && \ BR2_TOOLCHAIN_USES_GLIBC + # s390x-unknown-linux-gnu + default y if BR2_s390x && BR2_TOOLCHAIN_USES_GLIBC # x86_64-unknown-linux-musl default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_MUSL From arnout at mind.be Sun Apr 10 14:15:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:15:00 +0200 Subject: [Buildroot] [git commit] package/{rust, rust-bin}: support additional host architectures Message-ID: <20220410143837.78D00837C4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f986b265511e6f4748595c8b7ea83f1f616ddd64 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master There are host toolchains available for non-x86/x86_64 architectures, add them as supported along with their toolchain hashes. Note that the gcc riscv64-unknown-linux-gnu arch needs to be mapped to the rust riscv64gc-unknown-linux-gnu arch. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rust-bin/rust-bin.hash | 24 ++++++++++++++++++++++++ package/rustc/Config.in.host | 11 ++++++++++- package/rustc/rustc.mk | 4 +++- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index 9f8788a295..bac2f21c5c 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -1,6 +1,30 @@ +# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc +sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc +sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz # From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index 80d1d1a3d8..4ea66c2d2d 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -1,7 +1,16 @@ # All host rust packages should depend on this option config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS bool - default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "mips" + default y if BR2_HOSTARCH = "mipsel" + default y if BR2_HOSTARCH = "powerpc" + default y if BR2_HOSTARCH = "powerpc64" + default y if BR2_HOSTARCH = "powerpc64le" + default y if BR2_HOSTARCH = "riscv64" + default y if BR2_HOSTARCH = "s390x" + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" # The pre-built Rust standard library is only available for a number # of architectures/C libraries combinations, with different levels of diff --git a/package/rustc/rustc.mk b/package/rustc/rustc.mk index 0513dd0b40..b2cc131ee9 100644 --- a/package/rustc/rustc.mk +++ b/package/rustc/rustc.mk @@ -11,7 +11,9 @@ ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-$(LIBC)$(RUSTC_ABI) endif -ifeq ($(HOSTARCH),x86) +ifeq ($(HOSTARCH),riscv64) +RUSTC_HOST_ARCH = riscv64gc +else ifeq ($(HOSTARCH),x86) RUSTC_HOST_ARCH = i686 else RUSTC_HOST_ARCH = $(HOSTARCH) From arnout at mind.be Sun Apr 10 14:50:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:50:41 +0200 Subject: [Buildroot] [PATCH] package/spdlog: bump to version 1.10.0 In-Reply-To: <20220405073603.496103-1-buildroot@heine.tech> References: <20220405073603.496103-1-buildroot@heine.tech> Message-ID: On 05/04/2022 09:35, Michael Nosthoff via buildroot wrote: > Signed-off-by: Michael Nosthoff Applied to master, thanks. Regards, Arnout > --- > package/spdlog/spdlog.hash | 2 +- > package/spdlog/spdlog.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/spdlog/spdlog.hash b/package/spdlog/spdlog.hash > index 02756fc98c..866d1d6d02 100644 > --- a/package/spdlog/spdlog.hash > +++ b/package/spdlog/spdlog.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 6fff9215f5cb81760be4cc16d033526d1080427d236e86d70bb02994f85e3d38 spdlog-1.9.2.tar.gz > +sha256 697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224 spdlog-1.10.0.tar.gz > sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE > diff --git a/package/spdlog/spdlog.mk b/package/spdlog/spdlog.mk > index b5dfc0c7b4..9c5e76a9e8 100644 > --- a/package/spdlog/spdlog.mk > +++ b/package/spdlog/spdlog.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SPDLOG_VERSION = 1.9.2 > +SPDLOG_VERSION = 1.10.0 > SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION)) > SPDLOG_LICENSE = MIT > SPDLOG_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 10 14:50:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:50:57 +0200 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set In-Reply-To: <20220405012059.2680327-1-james.hilliard1@gmail.com> References: <20220405012059.2680327-1-james.hilliard1@gmail.com> Message-ID: On 05/04/2022 03:20, James Hilliard wrote: > Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when > required. > > Fixes: > http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > linux/linux.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/linux/linux.mk b/linux/linux.mk > index 102b7a15d4..7ff7b05042 100644 > --- a/linux/linux.mk > +++ b/linux/linux.mk > @@ -566,6 +566,12 @@ endif > > ifeq ($(BR_BUILDING),y) > > +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) > +ifeq ($(LINUX_VERSION),) > +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) > +endif > +endif > + > ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) > # We must use the user-supplied kconfig value, because > # LINUX_KCONFIG_DEFCONFIG will at least contain the From arnout at mind.be Sun Apr 10 14:51:20 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:51:20 +0200 Subject: [Buildroot] [PATCH] package/libnss: bump to version 3.77 In-Reply-To: <20220405002202.1772332-1-giulio.benetti@benettiengineering.com> References: <20220405002202.1772332-1-giulio.benetti@benettiengineering.com> Message-ID: <4b756b29-78ac-a731-4b3b-fc78875d8314@mind.be> On 05/04/2022 02:22, Giulio Benetti wrote: > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Arnout > --- > package/libnss/libnss.hash | 4 ++-- > package/libnss/libnss.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash > index b4b8be11f6..04e81e6b84 100644 > --- a/package/libnss/libnss.hash > +++ b/package/libnss/libnss.hash > @@ -1,4 +1,4 @@ > -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_76_RTM/src/SHA256SUMS > -sha256 1b8e0310add364d2ade40620cde0f1c37f4f00a6999b2d3e7ea8dacda4aa1630 nss-3.76.tar.gz > +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_77_RTM/src/SHA256SUMS > +sha256 825edf5a2fd35b788a23ff80face591f82919ae3ad2b8f77d424a450d618dedd nss-3.77.tar.gz > # Locally calculated > sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk > index 2f7a265136..57df104d6c 100644 > --- a/package/libnss/libnss.mk > +++ b/package/libnss/libnss.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBNSS_VERSION = 3.76 > +LIBNSS_VERSION = 3.77 > LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz > LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src > LIBNSS_DISTDIR = dist From arnout at mind.be Sun Apr 10 14:51:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:51:42 +0200 Subject: [Buildroot] [PATCH 1/2] package/wpa_supplicant: enable SAE-PK option for WPA3 In-Reply-To: <20220405084929.2755-1-yegorslists@googlemail.com> References: <20220405084929.2755-1-yegorslists@googlemail.com> Message-ID: <85a9a09f-7df2-e409-0ce3-486beaa65022@mind.be> On 05/04/2022 10:49, yegorslists--- via buildroot wrote: > From: Yegor Yefremov > > This enables a new security feature "SAE Public Key". > > Signed-off-by: Yegor Yefremov Applied to master, thanks. Regards, Arnout > --- > package/wpa_supplicant/wpa_supplicant.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk > index f0eb36e083..a2ca8a0b30 100644 > --- a/package/wpa_supplicant/wpa_supplicant.mk > +++ b/package/wpa_supplicant/wpa_supplicant.mk > @@ -112,11 +112,13 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) > WPA_SUPPLICANT_CONFIG_ENABLE += \ > CONFIG_DPP \ > CONFIG_SAE \ > + CONFIG_SAE_PK \ > CONFIG_OWE > else > WPA_SUPPLICANT_CONFIG_DISABLE += \ > CONFIG_DPP \ > CONFIG_SAE \ > + CONFIG_SAE_PK \ > CONFIG_OWE > endif > From arnout at mind.be Sun Apr 10 14:52:23 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:52:23 +0200 Subject: [Buildroot] [PATCH] configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot In-Reply-To: <20220404183504.2392930-1-francois.perrad@gadz.org> References: <20220404183504.2392930-1-francois.perrad@gadz.org> Message-ID: On 04/04/2022 20:35, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. > --- > configs/olimex_a20_olinuxino_lime2_defconfig | 8 ++++---- > configs/olimex_a20_olinuxino_lime_defconfig | 8 ++++---- > 2 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig > index b46cf3743..2f9594921 100644 > --- a/configs/olimex_a20_olinuxino_lime2_defconfig > +++ b/configs/olimex_a20_olinuxino_lime2_defconfig > @@ -4,8 +4,8 @@ BR2_cortex_a7=y > BR2_ARM_EABIHF=y > BR2_ARM_FPU_NEON_VFPV4=y > > -# Linux headers same as kernel, a 5.14 series > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y > +# Linux headers same as kernel, a 5.15 LTS series Nice touch, adding this LTS bit. Regards, Arnout > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y > > # Toolchain > # glibc is needed for sunxi-mali-utgard package. > @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" > # Kernel > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" > BR2_LINUX_KERNEL_USE_DEFCONFIG=y > BR2_LINUX_KERNEL_DEFCONFIG="sunxi" > BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" > @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" > BR2_TARGET_UBOOT_NEEDS_DTC=y > BR2_TARGET_UBOOT_NEEDS_PYTHON3=y > diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig > index 698137e46..e24857e0c 100644 > --- a/configs/olimex_a20_olinuxino_lime_defconfig > +++ b/configs/olimex_a20_olinuxino_lime_defconfig > @@ -4,8 +4,8 @@ BR2_cortex_a7=y > BR2_ARM_EABIHF=y > BR2_ARM_FPU_NEON_VFPV4=y > > -# Linux headers same as kernel, a 5.14 series > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y > +# Linux headers same as kernel, a 5.15 LTS series > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y > > # Toolchain > # glibc is needed for sunxi-mali-utgard package. > @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" > # Kernel > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" > BR2_LINUX_KERNEL_USE_DEFCONFIG=y > BR2_LINUX_KERNEL_DEFCONFIG="sunxi" > BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" > @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" > BR2_TARGET_UBOOT_NEEDS_DTC=y > BR2_TARGET_UBOOT_NEEDS_PYTHON3=y From arnout at mind.be Sun Apr 10 14:52:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 16:52:39 +0200 Subject: [Buildroot] [PATCH] configs/mx6cubox: bump Linux and U-Boot versions In-Reply-To: <20220404183535.2392985-1-francois.perrad@gadz.org> References: <20220404183535.2392985-1-francois.perrad@gadz.org> Message-ID: <072f11d2-9996-086c-276e-c3e5629c2c3b@mind.be> On 04/04/2022 20:35, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > configs/mx6cubox_defconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig > index 6ea4f6e41..a9cea73fb 100644 > --- a/configs/mx6cubox_defconfig > +++ b/configs/mx6cubox_defconfig > @@ -17,7 +17,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" > # Kernel > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" > BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" > BR2_LINUX_KERNEL_DTS_SUPPORT=y > BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" > @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" > BR2_TARGET_UBOOT_NEEDS_PYTHON3=y > BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y From arnout at mind.be Sun Apr 10 14:48:34 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:34 +0200 Subject: [Buildroot] [git commit] linux/linux.mk: ensure custom kernel version is set Message-ID: <20220410144321.21C3C83829@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=84b1eacc328baad3ceb63505ac588022620a05f6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required. Fixes: http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- linux/linux.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 102b7a15d4..7ff7b05042 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -566,6 +566,12 @@ endif ifeq ($(BR_BUILDING),y) +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) +ifeq ($(LINUX_VERSION),) +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) +endif +endif + ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) # We must use the user-supplied kconfig value, because # LINUX_KCONFIG_DEFCONFIG will at least contain the From arnout at mind.be Sun Apr 10 14:48:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:36 +0200 Subject: [Buildroot] [git commit] package/wpa_supplicant: enable SAE-PK option for WPA3 Message-ID: <20220410144321.351C283828@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9f47a9480b9b168e00f0d564db362b95306af95b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This enables a new security feature "SAE Public Key". Signed-off-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpa_supplicant/wpa_supplicant.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index f0eb36e083..a2ca8a0b30 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -112,11 +112,13 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE else WPA_SUPPLICANT_CONFIG_DISABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE endif From arnout at mind.be Sun Apr 10 14:48:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:38 +0200 Subject: [Buildroot] [git commit] configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot Message-ID: <20220410144321.459A78382A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=582e932ea8fef7a8e2c83ba44bcb23fde9764053 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/olimex_a20_olinuxino_lime2_defconfig | 8 ++++---- configs/olimex_a20_olinuxino_lime_defconfig | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig index b46cf37433..2f95949214 100644 --- a/configs/olimex_a20_olinuxino_lime2_defconfig +++ b/configs/olimex_a20_olinuxino_lime2_defconfig @@ -4,8 +4,8 @@ BR2_cortex_a7=y BR2_ARM_EABIHF=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +# Linux headers same as kernel, a 5.15 LTS series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Toolchain # glibc is needed for sunxi-mali-utgard package. @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig index 698137e46c..e24857e0c1 100644 --- a/configs/olimex_a20_olinuxino_lime_defconfig +++ b/configs/olimex_a20_olinuxino_lime_defconfig @@ -4,8 +4,8 @@ BR2_cortex_a7=y BR2_ARM_EABIHF=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +# Linux headers same as kernel, a 5.15 LTS series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Toolchain # glibc is needed for sunxi-mali-utgard package. @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y From arnout at mind.be Sun Apr 10 14:48:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:39 +0200 Subject: [Buildroot] [git commit] configs/mx6cubox: bump Linux and U-Boot versions Message-ID: <20220410144321.4D47883828@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=00a9d2d45f23b4a88bc083fe35bd9209e4c527c4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/mx6cubox_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig index 6ea4f6e416..a9cea73fbe 100644 --- a/configs/mx6cubox_defconfig +++ b/configs/mx6cubox_defconfig @@ -17,7 +17,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.32" BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" BR2_TARGET_UBOOT_NEEDS_PYTHON3=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y From arnout at mind.be Sun Apr 10 14:48:37 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:37 +0200 Subject: [Buildroot] [git commit] package/hostapd: enable SAE-PK option for WPA3 Message-ID: <20220410144321.3D67E83829@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c2a2f81e01e0a877c038a642eba6a9c8e7c88c15 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This enables a new security feature "SAE Public Key". Signed-off-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/hostapd/hostapd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 99f0cdf1b8..4420142fbd 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -85,11 +85,13 @@ ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y) HOSTAPD_CONFIG_ENABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE else HOSTAPD_CONFIG_DISABLE += \ CONFIG_DPP \ CONFIG_SAE \ + CONFIG_SAE_PK \ CONFIG_OWE endif From arnout at mind.be Sun Apr 10 14:48:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:35 +0200 Subject: [Buildroot] [git commit] package/spdlog: bump to version 1.10.0 Message-ID: <20220410144321.2BAA38382A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3ecac95be4e815dabbd5abf163f2917ec2770c28 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Michael Nosthoff Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/spdlog/spdlog.hash | 2 +- package/spdlog/spdlog.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/spdlog/spdlog.hash b/package/spdlog/spdlog.hash index 02756fc98c..866d1d6d02 100644 --- a/package/spdlog/spdlog.hash +++ b/package/spdlog/spdlog.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 6fff9215f5cb81760be4cc16d033526d1080427d236e86d70bb02994f85e3d38 spdlog-1.9.2.tar.gz +sha256 697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224 spdlog-1.10.0.tar.gz sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE diff --git a/package/spdlog/spdlog.mk b/package/spdlog/spdlog.mk index b5dfc0c7b4..9c5e76a9e8 100644 --- a/package/spdlog/spdlog.mk +++ b/package/spdlog/spdlog.mk @@ -4,7 +4,7 @@ # ################################################################################ -SPDLOG_VERSION = 1.9.2 +SPDLOG_VERSION = 1.10.0 SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION)) SPDLOG_LICENSE = MIT SPDLOG_LICENSE_FILES = LICENSE From arnout at mind.be Sun Apr 10 14:48:33 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:48:33 +0200 Subject: [Buildroot] [git commit] package/libnss: bump to version 3.77 Message-ID: <20220410144321.1950083828@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b9e533d0326c340d1a5504350c93d0b071c3d70e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libnss/libnss.hash | 4 ++-- package/libnss/libnss.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash index b4b8be11f6..04e81e6b84 100644 --- a/package/libnss/libnss.hash +++ b/package/libnss/libnss.hash @@ -1,4 +1,4 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_76_RTM/src/SHA256SUMS -sha256 1b8e0310add364d2ade40620cde0f1c37f4f00a6999b2d3e7ea8dacda4aa1630 nss-3.76.tar.gz +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_77_RTM/src/SHA256SUMS +sha256 825edf5a2fd35b788a23ff80face591f82919ae3ad2b8f77d424a450d618dedd nss-3.77.tar.gz # Locally calculated sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index 2f7a265136..57df104d6c 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNSS_VERSION = 3.76 +LIBNSS_VERSION = 3.77 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src LIBNSS_DISTDIR = dist From arnout at mind.be Sun Apr 10 15:06:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:06:21 +0200 Subject: [Buildroot] [PATCH 1/2] package/webkitgtk: bump to version 2.36.0 In-Reply-To: <20220405132929.823106-1-aperez@igalia.com> References: <20220405132929.823106-1-aperez@igalia.com> Message-ID: On 05/04/2022 15:29, Adrian Perez de Castro wrote: > Update to a new major release which brings in improvements and a few new > features. Release notes: > > https://webkitgtk.org/2022/03/21/webkitgtk2.36.0-released.html > > None of the new features need additional dependencies. The build option > USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. > > While at it, remove setting the ENABLE_PLUGIN_PROCESS_GTK2 option. > Support for NPAPI plug-ins has been dropped already in 2.32.x and the > option has been a no-op for a long time, see: > > https://perezdecastro.org/2020/webkitgtk-npapi-sunsetting.html > https://webkitgtk.org/2021/03/26/webkitgtk2.32.0-released.html > > Signed-off-by: Adrian Perez de Castro Applied both to master, thanks. Regards, Arnout > --- > package/webkitgtk/webkitgtk.hash | 8 ++++---- > package/webkitgtk/webkitgtk.mk | 13 +++---------- > 2 files changed, 7 insertions(+), 14 deletions(-) > > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 82c210c8f9..38068745ee 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,7 +1,7 @@ > -# From https://webkitgtk.org/releases/webkitgtk-2.34.6.tar.xz.sums > -md5 a5eeedd02f5b4bba8bd891b92dc743d4 webkitgtk-2.34.6.tar.xz > -sha1 bb82517289baf9c858fa406d1d845274f81e25cb webkitgtk-2.34.6.tar.xz > -sha256 6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 webkitgtk-2.34.6.tar.xz > +# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums > +md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz > +sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz > +sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 36e4b8943b..8d8f083ea2 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.34.6 > +WEBKITGTK_VERSION = 2.36.0 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES > @@ -84,13 +84,6 @@ WEBKITGTK_CONF_OPTS += \ > -DENABLE_X11_TARGET=ON > WEBKITGTK_DEPENDENCIES += libgl \ > xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt > -# It can use libgtk2 for npapi plugins > -ifeq ($(BR2_PACKAGE_LIBGTK2),y) > -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON > -WEBKITGTK_DEPENDENCIES += libgtk2 > -else > -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF > -endif > else # !X11 > # GTK3-BROADWAY/WAYLAND needs at least EGL > WEBKITGTK_DEPENDENCIES += libegl > @@ -115,10 +108,10 @@ WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF > endif > > ifeq ($(BR2_INIT_SYSTEMD),y) > -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=ON > +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON > WEBKITGTK_DEPENDENCIES += systemd > else > -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=OFF > +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF > endif > > # JIT is not supported for MIPS r6, but the WebKit build system does not From arnout at mind.be Sun Apr 10 15:06:38 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:06:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.0 In-Reply-To: <20220405135111.827101-1-aperez@igalia.com> References: <20220405135111.827101-1-aperez@igalia.com> Message-ID: On 05/04/2022 15:51, Adrian Perez de Castro wrote: > Update to a new major release which brings in improvements and a few new > features. Release notes: > > https://wpewebkit.org/release/wpewebkit-2.36.0.html > > None of the new features need additional dependencies. The build option > USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. > > Signed-off-by: Adrian Perez de Castro Applied to master, thanks. Regards, Arnout > --- > package/wpewebkit/wpewebkit.hash | 8 ++++---- > package/wpewebkit/wpewebkit.mk | 6 +++--- > 2 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash > index 231bbc447d..1e1aa62117 100644 > --- a/package/wpewebkit/wpewebkit.hash > +++ b/package/wpewebkit/wpewebkit.hash > @@ -1,7 +1,7 @@ > -# From https://wpewebkit.org/releases/wpewebkit-2.34.6.tar.xz.sums > -md5 c9705270b342474cca28cf51632ccbbe wpewebkit-2.34.6.tar.xz > -sha1 44ae95de1b5ebf0a2b0ea3630b3677153c597402 wpewebkit-2.34.6.tar.xz > -sha256 301e895c8ed08ce7dccef3192b972f2ccfc2020463244c64069a636f2b05265f wpewebkit-2.34.6.tar.xz > +# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums > +md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz > +sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz > +sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk > index aa04e78623..3ce38d8c27 100644 > --- a/package/wpewebkit/wpewebkit.mk > +++ b/package/wpewebkit/wpewebkit.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WPEWEBKIT_VERSION = 2.34.6 > +WPEWEBKIT_VERSION = 2.36.0 > WPEWEBKIT_SITE = http://www.wpewebkit.org/releases > WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz > WPEWEBKIT_INSTALL_STAGING = YES > @@ -81,10 +81,10 @@ WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF > endif > > ifeq ($(BR2_INIT_SYSTEMD),y) > -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=ON > +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON > WPEWEBKIT_DEPENDENCIES += systemd > else > -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=OFF > +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF > endif > > # JIT is not supported for MIPS r6, but the WebKit build system does not From arnout at mind.be Sun Apr 10 15:07:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:07:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-libav: fix build without C++ In-Reply-To: <20220405180944.946684-1-fontaine.fabrice@gmail.com> References: <20220405180944.946684-1-fontaine.fabrice@gmail.com> Message-ID: <1c6ee9b3-d940-4d2d-470e-e294ea8e53c3@mind.be> On 05/04/2022 20:09, Fabrice Fontaine wrote: > Fix the following build failure without C++ raised since bump to version > 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: > > The following exception(s) were encountered: > Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" > > Fixes: > - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...-build-on-systems-without-C-compiler.patch | 35 +++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch > > diff --git a/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch > new file mode 100644 > index 0000000000..6b275220f8 > --- /dev/null > +++ b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch > @@ -0,0 +1,35 @@ > +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Mon, 4 Apr 2022 23:32:56 +0200 > +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler > + > +Fix the following build failure on systems without C++ compiler: > + > +The following exception(s) were encountered: > +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" > + > +Fixes: > + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a > + > +Part-of: > + > +[Retrieved (and backported) from: > +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] > +Signed-off-by: Fabrice Fontaine > +--- > + subprojects/gst-libav/meson.build | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index fbfa3049afe..7da94b80d59 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -1,4 +1,4 @@ > +-project('gst-libav', 'c', 'cpp', > ++project('gst-libav', 'c', > + version : '1.20.1', > + meson_version : '>= 0.60', > + default_options : [ 'warning_level=1', > +-- > +GitLab > + From arnout at mind.be Sun Apr 10 15:07:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:07:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ In-Reply-To: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> References: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> Message-ID: <835e1fb4-8e41-4402-fdbc-17032be4cd6d@mind.be> On 05/04/2022 21:49, Fabrice Fontaine wrote: > gst1-plugins-bad needs C++ since switch to meson-package in commit > 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: > > The following exception(s) were encountered: > Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" Again, I looked at instead fixing the meson.build so C++ is only required for the modules that really use C++, but it doesn't look to be that simple. So applied to master, thanks. Regards, Arnout > > Fixes: > - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e > > Signed-off-by: Fabrice Fontaine > --- > package/gstreamer1/gst1-imx/Config.in | 6 ++++-- > package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ > package/gstreamer1/gst1-vaapi/Config.in | 5 +++-- > 3 files changed, 11 insertions(+), 4 deletions(-) > > diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in > index 7b46233b53..41ef8548c5 100644 > --- a/package/gstreamer1/gst1-imx/Config.in > +++ b/package/gstreamer1/gst1-imx/Config.in > @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC > config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK > bool "imxv4l2videosink" > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT > + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad > select BR2_PACKAGE_GST1_PLUGINS_BAD > help > Elements for V4L2 output > > -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" > - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 > +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" > + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ > + !BR2_INSTALL_LIBSTDCPP > > endif > diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in > index 234d57636b..669360adb1 100644 > --- a/package/gstreamer1/gst1-plugins-bad/Config.in > +++ b/package/gstreamer1/gst1-plugins-bad/Config.in > @@ -1,5 +1,6 @@ > menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD > bool "gst1-plugins-bad" > + depends on BR2_INSTALL_LIBSTDCPP > select BR2_PACKAGE_GST1_PLUGINS_BASE > help > A set of plug-ins for GStreamer that may be of poor quality > @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" > || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 > > endif > + > +comment "gst1-plugins-bad needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP > diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in > index 91bd4f85dd..ade8b83a5f 100644 > --- a/package/gstreamer1/gst1-vaapi/Config.in > +++ b/package/gstreamer1/gst1-vaapi/Config.in > @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI > bool "gst1-vaapi" > depends on !BR2_STATIC_LIBS # dlopen(), libva > depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm > + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad > depends on BR2_PACKAGE_HAS_UDEV > select BR2_PACKAGE_LIBVA > select BR2_PACKAGE_LIBDRM > @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS > > endif > > -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" > +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" > depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ > - !BR2_PACKAGE_HAS_UDEV > + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Sun Apr 10 15:08:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 10 Apr 2022 17:08:16 +0200 Subject: [Buildroot] [PATCH] package/harfbuzz: bump to version 4.2.0 In-Reply-To: <20220405203030.3418304-1-giulio.benetti@benettiengineering.com> References: <20220405203030.3418304-1-giulio.benetti@benettiengineering.com> Message-ID: <63ca4150-fb74-c0c8-32bb-1287e3d4a4f7@mind.be> On 05/04/2022 22:30, Giulio Benetti wrote: > Since the major release changed I've built successfully all packages that > have direct dependency to harfbuzz: > - efl > - libass > - mupdf > - pango > - qt5base > - sdl2_ttf > - supertuxkart > - vlc > - webkitgtk > - wpewebkit > > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Arnout > --- > package/harfbuzz/harfbuzz.hash | 2 +- > package/harfbuzz/harfbuzz.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash > index e4674afa87..1576824a5a 100644 > --- a/package/harfbuzz/harfbuzz.hash > +++ b/package/harfbuzz/harfbuzz.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 7158a87c4db82521fc506711f0c8864115f0292d95f7136c8812c11811cdf952 harfbuzz-3.4.0.tar.xz > +sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz > sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING > diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk > index 331b35c530..551277a788 100644 > --- a/package/harfbuzz/harfbuzz.mk > +++ b/package/harfbuzz/harfbuzz.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -HARFBUZZ_VERSION = 3.4.0 > +HARFBUZZ_VERSION = 4.2.0 > HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) > HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz > HARFBUZZ_LICENSE = MIT, ISC (ucdn library) From arnout at mind.be Sun Apr 10 14:53:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:53:47 +0200 Subject: [Buildroot] [git commit] package/webkitgtk: use the WPE renderer if available Message-ID: <20220410145854.1F87783875@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e8f0d95a0243cf413ec18903c1cf990b17b4beb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master If enabled at build time, WebKit's internal nested compositor can work more efficiently when targeting Wayland, by avoiding one unneeded buffer copy. The build option has been available for a few years in WebKitGTK releases. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/webkitgtk/webkitgtk.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 8d8f083ea2..eca175d1bd 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -28,8 +28,7 @@ WEBKITGTK_CONF_OPTS = \ -DUSE_LIBHYPHEN=OFF \ -DUSE_OPENJPEG=ON \ -DUSE_SOUP2=ON \ - -DUSE_WOFF2=ON \ - -DUSE_WPE_RENDERER=OFF + -DUSE_WOFF2=ON ifeq ($(BR2_PACKAGE_WEBKITGTK_SANDBOX),y) WEBKITGTK_CONF_OPTS += \ @@ -101,6 +100,13 @@ WEBKITGTK_CONF_OPTS += -DENABLE_WAYLAND_TARGET=ON endif endif +ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) +WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON +WEBKITGTK_DEPENDENCIES += wpebackend-fdo +else +WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=OFF +endif + ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y) WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON else From arnout at mind.be Sun Apr 10 14:53:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:53:46 +0200 Subject: [Buildroot] [git commit] package/webkitgtk: bump to version 2.36.0 Message-ID: <20220410145854.0D64E83874@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d9ac22b7e2565ec678b244701b92009701856583 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update to a new major release which brings in improvements and a few new features. Release notes: https://webkitgtk.org/2022/03/21/webkitgtk2.36.0-released.html None of the new features need additional dependencies. The build option USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. While at it, remove setting the ENABLE_PLUGIN_PROCESS_GTK2 option. Support for NPAPI plug-ins has been dropped already in 2.32.x and the option has been a no-op for a long time, see: https://perezdecastro.org/2020/webkitgtk-npapi-sunsetting.html https://webkitgtk.org/2021/03/26/webkitgtk2.32.0-released.html Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/webkitgtk/webkitgtk.hash | 8 ++++---- package/webkitgtk/webkitgtk.mk | 13 +++---------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 82c210c8f9..38068745ee 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.34.6.tar.xz.sums -md5 a5eeedd02f5b4bba8bd891b92dc743d4 webkitgtk-2.34.6.tar.xz -sha1 bb82517289baf9c858fa406d1d845274f81e25cb webkitgtk-2.34.6.tar.xz -sha256 6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 webkitgtk-2.34.6.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums +md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz +sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz +sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 36e4b8943b..8d8f083ea2 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.34.6 +WEBKITGTK_VERSION = 2.36.0 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES @@ -84,13 +84,6 @@ WEBKITGTK_CONF_OPTS += \ -DENABLE_X11_TARGET=ON WEBKITGTK_DEPENDENCIES += libgl \ xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt -# It can use libgtk2 for npapi plugins -ifeq ($(BR2_PACKAGE_LIBGTK2),y) -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON -WEBKITGTK_DEPENDENCIES += libgtk2 -else -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF -endif else # !X11 # GTK3-BROADWAY/WAYLAND needs at least EGL WEBKITGTK_DEPENDENCIES += libegl @@ -115,10 +108,10 @@ WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF endif ifeq ($(BR2_INIT_SYSTEMD),y) -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=ON +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON WEBKITGTK_DEPENDENCIES += systemd else -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=OFF +WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif # JIT is not supported for MIPS r6, but the WebKit build system does not From arnout at mind.be Sun Apr 10 14:53:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:53:48 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gst1-libav: fix build without C++ Message-ID: <20220410145854.3A9D083875@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=80a9e9057daf587242548aa23f8cd7a8d88bfa1f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without C++ raised since bump to version 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: The following exception(s) were encountered: Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...v-fix-build-on-systems-without-C-compiler.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..6b275220f8 --- /dev/null +++ b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 4 Apr 2022 23:32:56 +0200 +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-libav/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index fbfa3049afe..7da94b80d59 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-libav', 'c', 'cpp', ++project('gst-libav', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + From arnout at mind.be Sun Apr 10 15:04:31 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 17:04:31 +0200 Subject: [Buildroot] [git commit] package/harfbuzz: bump to version 4.2.0 Message-ID: <20220410145854.517E883874@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d485482b697f6af7ce4c33a33408c9ac82f9423d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Since the major release changed I've built successfully all packages that have direct dependency to harfbuzz: - efl - libass - mupdf - pango - qt5base - sdl2_ttf - supertuxkart - vlc - webkitgtk - wpewebkit Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash index e4674afa87..1576824a5a 100644 --- a/package/harfbuzz/harfbuzz.hash +++ b/package/harfbuzz/harfbuzz.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 7158a87c4db82521fc506711f0c8864115f0292d95f7136c8812c11811cdf952 harfbuzz-3.4.0.tar.xz +sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 331b35c530..551277a788 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 3.4.0 +HARFBUZZ_VERSION = 4.2.0 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library) From arnout at mind.be Sun Apr 10 14:53:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 16:53:48 +0200 Subject: [Buildroot] [git commit] package/wpewebkit: bump to version 2.36.0 Message-ID: <20220410145854.2AF2183874@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7d258f81cd95cf34888565504e6f82717e5e3407 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update to a new major release which brings in improvements and a few new features. Release notes: https://wpewebkit.org/release/wpewebkit-2.36.0.html None of the new features need additional dependencies. The build option USE_SYSTEMD has been renamed to ENABLE_JOURNALD_LOG, though. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpewebkit/wpewebkit.hash | 8 ++++---- package/wpewebkit/wpewebkit.mk | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash index 231bbc447d..1e1aa62117 100644 --- a/package/wpewebkit/wpewebkit.hash +++ b/package/wpewebkit/wpewebkit.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.34.6.tar.xz.sums -md5 c9705270b342474cca28cf51632ccbbe wpewebkit-2.34.6.tar.xz -sha1 44ae95de1b5ebf0a2b0ea3630b3677153c597402 wpewebkit-2.34.6.tar.xz -sha256 301e895c8ed08ce7dccef3192b972f2ccfc2020463244c64069a636f2b05265f wpewebkit-2.34.6.tar.xz +# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums +md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz +sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz +sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index aa04e78623..3ce38d8c27 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEWEBKIT_VERSION = 2.34.6 +WPEWEBKIT_VERSION = 2.36.0 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz WPEWEBKIT_INSTALL_STAGING = YES @@ -81,10 +81,10 @@ WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF endif ifeq ($(BR2_INIT_SYSTEMD),y) -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=ON +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON WPEWEBKIT_DEPENDENCIES += systemd else -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=OFF +WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif # JIT is not supported for MIPS r6, but the WebKit build system does not From arnout at mind.be Sun Apr 10 15:02:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sun, 10 Apr 2022 17:02:48 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gst1-plugins-bad: needs C++ Message-ID: <20220410145854.45BA283874@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=129922140ed7ed03458398b5ec3bad1423f7e6cf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master gst1-plugins-bad needs C++ since switch to meson-package in commit 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" Rewriting the meson.build so it only requires C++ for the modules that are actually written in C++ is quite complicated, so just let the whole package depend on C++. Hopefully however this is going to be fixed in some future release. Therefore, the dependencies for individual modules are kept as well (even though they're redundant now). Fixes: - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gstreamer1/gst1-imx/Config.in | 6 ++++-- package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ package/gstreamer1/gst1-vaapi/Config.in | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in index 7b46233b53..41ef8548c5 100644 --- a/package/gstreamer1/gst1-imx/Config.in +++ b/package/gstreamer1/gst1-imx/Config.in @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK bool "imxv4l2videosink" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad select BR2_PACKAGE_GST1_PLUGINS_BAD help Elements for V4L2 output -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ + !BR2_INSTALL_LIBSTDCPP endif diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 234d57636b..669360adb1 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -1,5 +1,6 @@ menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD bool "gst1-plugins-bad" + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_GST1_PLUGINS_BASE help A set of plug-ins for GStreamer that may be of poor quality @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 endif + +comment "gst1-plugins-bad needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in index 91bd4f85dd..ade8b83a5f 100644 --- a/package/gstreamer1/gst1-vaapi/Config.in +++ b/package/gstreamer1/gst1-vaapi/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI bool "gst1-vaapi" depends on !BR2_STATIC_LIBS # dlopen(), libva depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBVA select BR2_PACKAGE_LIBDRM @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS endif -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_PACKAGE_HAS_UDEV + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Sun Apr 10 15:33:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:33:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/libp11: fix build with libressl In-Reply-To: <20220404162248.325842-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 18:22:48 +0200") References: <20220404162248.325842-1-fontaine.fabrice@gmail.com> Message-ID: <87h771q7fs.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration > 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) > | ^~~~~~~~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:34:47 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:34:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/ace: fix build with libressl In-Reply-To: <20220404162545.326240-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 18:25:45 +0200") References: <20220404162545.326240-1-fontaine.fabrice@gmail.com> Message-ID: <87czhpq7e0.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl raised since the addition > of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: > /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: > error: 'BIO_get_init' was not declared in this scope; did you mean > 'BIO_set_init'? > 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) > | ^~~~~~~~~~~~ > | BIO_set_init > Fixes: > - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:35:29 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:35:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcoap: fix build with libressl In-Reply-To: <20220404163320.337038-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 18:33:20 +0200") References: <20220404163320.337038-1-fontaine.fabrice@gmail.com> Message-ID: <878rsdq7cu.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl raised since commit > 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: > src/coap_openssl.c:107:3: erreur: nom de type ??BIO_ADDR?? inconnu > 107 | BIO_ADDR *bio_addr; > | ^~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:36:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: needs NPTL In-Reply-To: <20220404165220.338388-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 18:52:20 +0200") References: <20220404165220.338388-1-fontaine.fabrice@gmail.com> Message-ID: <874k31q7bd.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure raised since bump to version 0.3.26 in > commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and > https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de > thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' > Fixes: > - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:37:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:37:22 +0200 Subject: [Buildroot] [PATCH 1/2] package/docker-cli: bump to version v20.10.14 In-Reply-To: <87czhvwirr.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Tue, 05 Apr 2022 19:18:48 +0200") References: <20220404214717.587193-1-christian@paral.in> <87czhvwirr.fsf@dell.be.48ers.dk> Message-ID: <87zgktosp9.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Christian" == Christian Stewart writes: >> https://github.com/moby/moby/releases/tag/v20.10.14 >> Signed-off-by: Christian Stewart > Committed, thanks. Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:37:27 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:37:27 +0200 Subject: [Buildroot] [PATCH 2/2] package/docker-engine: bump to version v20.10.14 In-Reply-To: <878rsjwirn.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Tue, 05 Apr 2022 19:18:52 +0200") References: <20220404214717.587193-1-christian@paral.in> <20220404214717.587193-2-christian@paral.in> <878rsjwirn.fsf@dell.be.48ers.dk> Message-ID: <87v8vhosp4.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Christian" == Christian Stewart writes: >> https://github.com/moby/moby/releases/tag/v20.10.14 >> Signed-off-by: Christian Stewart > Committed, thanks. Committed to 2022.02.x, thanks. > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:37:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:37:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/runc: bump to version v1.1.1 In-Reply-To: <874k37wipw.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Tue, 05 Apr 2022 19:19:55 +0200") References: <20220404215930.601909-1-christian@paral.in> <874k37wipw.fsf@dell.be.48ers.dk> Message-ID: <87r165osor.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Christian" == Christian Stewart writes: >> Signed-off-by: Christian Stewart > Committed after adding a notice that this is a bugfix release (and hence > should be backported tot 2022.02.x), thanks. Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:38:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:38:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/containerd: bump to version v1.6.2 In-Reply-To: <87zgkzv3se.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Tue, 05 Apr 2022 19:27:45 +0200") References: <20220404221451.610628-1-christian@paral.in> <87zgkzv3se.fsf@dell.be.48ers.dk> Message-ID: <87mtgtoso4.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Christian" == Christian Stewart writes: >> Note: this version adds compatibility for Go 1.18. >> Signed-off-by: Christian Stewart > This fixes CVE-2022-23648 and CVE-2022-24769, so it should be listed as > a security bump. > The 1.5.x series is still supported so I instead bumped to 1.5.11 for > easier backporting to 2022.02.x Committed to 2022.02.x (the 1.5.11 bump), thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 15:34:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:34:19 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/ace: bump to version 7.0.6 Message-ID: <20220410152900.88768836D1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=92da1d43290f88f8067580b985b44531a984f6a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 539d915e44ae3b9a826966f106a3cfb3ced1801e) Signed-off-by: Peter Korsgaard --- package/ace/ace.hash | 5 ++++- package/ace/ace.mk | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package/ace/ace.hash b/package/ace/ace.hash index 92fd42e131..2387927879 100644 --- a/package/ace/ace.hash +++ b/package/ace/ace.hash @@ -1,3 +1,6 @@ +# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.0.6.tar.bz2.md5: +md5 d1656851619aff15365270ccf2d56c6e ACE-7.0.6.tar.bz2 + # Locally Computed: -sha256 a28339750620c70cd29a8a7088a4bc6ebaf1ff7ba667498a0279ac97f0e32e01 ACE-7.0.1.tar.gz +sha256 4a0cd7da4851f769fddfcf33f663eba4afad824efeff9f59f134c4640ee80216 ACE-7.0.6.tar.bz2 sha256 687bf9d16119e0caf6fb5c18214928fd6ea0da10df91e906255b7613af8061d8 COPYING diff --git a/package/ace/ace.mk b/package/ace/ace.mk index 8df89d8c6f..7299f0d40c 100644 --- a/package/ace/ace.mk +++ b/package/ace/ace.mk @@ -4,8 +4,8 @@ # ################################################################################ -ACE_VERSION = 7.0.1 -ACE_SOURCE = ACE-$(ACE_VERSION).tar.gz +ACE_VERSION = 7.0.6 +ACE_SOURCE = ACE-$(ACE_VERSION).tar.bz2 ACE_SITE = http://download.dre.vanderbilt.edu/previous_versions ACE_LICENSE = DOC ACE_LICENSE_FILES = COPYING From peter at korsgaard.com Sun Apr 10 15:36:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:43 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/docker-cli: bump to version v20.10.14 Message-ID: <20220410152900.B4B528388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b545fc33da3cd42aa41fd3b02b263d68c8ce9d0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard (cherry picked from commit 8111f5c27ca4757786b2f5faf30f7d96881314e6) Signed-off-by: Peter Korsgaard --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index f2fe316540..9a07acf89f 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d86e3e6e10669634ee02b5e071e5ee504457a9d03941bbc5b7f2bd3683ebdb19 docker-cli-20.10.12.tar.gz +sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index d5cca34efc..c7458f85dd 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.12 +DOCKER_CLI_VERSION = 20.10.14 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From peter at korsgaard.com Sun Apr 10 15:35:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:35:59 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/pipewire: needs NPTL Message-ID: <20220410152900.A4EEB8388E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e05dbffa0770353fb32f44ec7b045258a9e1bfac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure raised since bump to version 0.3.26 in commit a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9 and https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b029000610d122ac12939d02ade2264605ff43de thread-loop.c:(.text+0x81c): undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/6019f4e9676743685e8af81d60ef198c1eba1fde Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit f54b5a64f2f51c7e30b291dfa177f855bd88d6f2) Signed-off-by: Peter Korsgaard --- package/pipewire/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index dd13f31a73..3bfcf42a81 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PIPEWIRE bool "pipewire" depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime @@ -46,7 +46,8 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + depends on BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 From peter at korsgaard.com Sun Apr 10 15:32:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:32:50 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libp11: fix build with libressl Message-ID: <20220410152900.7C49D8388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=97fcc6ef0e07337dd419128663f4c0e95d1150ee branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl: p11_rsa.c:355:14: error: static declaration of 'RSA_meth_get_finish' follows non-static declaration 355 | static int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) | ^~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/de3b1e97796f717eac47d291911e3e1517cb557b Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 581d397ec0c437aac06a9eaeca01de4ed9249faf) Signed-off-by: Peter Korsgaard --- package/libp11/0001-Update-wp11_rsa.c.patch | 26 ++++++++++++++++++++++++++ package/libp11/libp11.mk | 8 +++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/package/libp11/0001-Update-wp11_rsa.c.patch b/package/libp11/0001-Update-wp11_rsa.c.patch new file mode 100644 index 0000000000..0a2d6e65ce --- /dev/null +++ b/package/libp11/0001-Update-wp11_rsa.c.patch @@ -0,0 +1,26 @@ +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 +From: patchMonkey156 +Date: Mon, 19 Oct 2020 17:12:15 -0400 +Subject: [PATCH] Update p11_rsa.c + +Bugfix for new LibreSSL version 3.2.2 +[Retrieved from: +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] +Signed-off-by: Fabrice Fontaine +--- + src/p11_rsa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/p11_rsa.c b/src/p11_rsa.c +index b6beef0..ff12ed7 100644 +--- a/src/p11_rsa.c ++++ b/src/p11_rsa.c +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) + return RSA_size(rsa); + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) + + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) + (int flen, const unsigned char *from, diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk index 45a718ee99..c1873a920c 100644 --- a/package/libp11/libp11.mk +++ b/package/libp11/libp11.mk @@ -11,10 +11,16 @@ LIBP11_INSTALL_STAGING = YES LIBP11_LICENSE = LGPL-2.1+ LIBP11_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBP11_ENGINESDIR = enginesdir +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) +LIBP11_ENGINESDIR = libdir +endif + # pkg-config returns a libcrypto enginesdir prefixed with the sysroot, # so let's rip it out. LIBP11_CONF_OPTS = \ - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` ifeq ($(BR2_PACKAGE_P11_KIT),y) LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so From peter at korsgaard.com Sun Apr 10 15:37:07 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:37:07 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/containerd: security bump to version 1.5.11 Message-ID: <20220410152900.D1E8B8388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=389fc65931fb296c2779cf7486e4a3000ba53cb9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes the following security issues: - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 - CVE-2022-24769: Default inheritable capabilities for linux container should be empty https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c Signed-off-by: Peter Korsgaard (cherry picked from commit 2642edb0af08f04fb98f4cb5f88895faded4b325) Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5aafe2e70..23dacded88 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz +sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 8976e12f1a..c405b75e81 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.9 +CONTAINERD_VERSION = 1.5.11 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From peter at korsgaard.com Sun Apr 10 15:36:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:06 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/opus: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220410152900.ACD3783893@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2134fee900e0644895144cb19aa84c0dacd2b328 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes: http://autobuild.buildroot.net/results/194/1941e194e1f5ad0bc4982ad39c3e34d266bc49c6/ opus requires that it is configured with --enable-float-approx when -ffast-math (BR2_OPTIMIZE_FAST) is used, otherwise it errors out at build time: celt/arch.h:198:2: error: #error Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input Signed-off-by: Peter Korsgaard (cherry picked from commit 43e859d47a5474d8acdaf81a0ea63aa9a909985f) Signed-off-by: Peter Korsgaard --- package/opus/opus.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/opus/opus.mk b/package/opus/opus.mk index 4f816df477..2fa929c7df 100644 --- a/package/opus/opus.mk +++ b/package/opus/opus.mk @@ -23,6 +23,10 @@ ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y) OPUS_CONF_OPTS += --enable-fixed-point endif +ifeq ($(BR2_OPTIMIZE_FAST),y) +OPUS_CONF_OPTS += --enable-float-approx +endif + # When we're on ARM, but we don't have ARM instructions (only # Thumb-2), disable the usage of assembly as it is not Thumb-ready. ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) From peter at korsgaard.com Sun Apr 10 15:34:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:34:32 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/ace: fix build with libressl Message-ID: <20220410152900.92EBD83893@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=195e1f1383808571aae7541e76419cdaab32e853 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl raised since the addition of the package in commit 3621918d1bc1ddc9312dd1cc8dec6db61e712fe2: /home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) | ^~~~~~~~~~~~ | BIO_set_init Fixes: - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 7da45d9b635d93cc7c0339796462a8e401407402) Signed-off-by: Peter Korsgaard --- ...-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch new file mode 100644 index 0000000000..ad82c10172 --- /dev/null +++ b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch @@ -0,0 +1,52 @@ +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 15:25:49 +0200 +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl + +Fix the following build failure with libressl: + +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) + | ^~~~~~~~~~~~ + | BIO_set_init + +Fixes: + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] +--- + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp +index a657d8a14e6f7..64aa14c6ab9a7 100644 +--- a/ace/SSL/SSL_Asynch_BIO.cpp ++++ b/ace/SSL/SSL_Asynch_BIO.cpp +@@ -41,7 +41,7 @@ extern "C" + + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static BIO_METHOD methods_ACE = + { + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = + #else + static BIO_METHOD* methods_ACE; + # define BIO_set_num(b, val) +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ + + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + + BIO * + ACE_SSL_make_BIO (void * ssl_asynch_stream) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + BIO * const pBIO = BIO_new (&methods_ACE); + #else + if (!methods_ACE) From peter at korsgaard.com Sun Apr 10 15:36:47 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:47 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/docker-engine: bump to version v20.10.14 Message-ID: <20220410152900.BD1CF8388E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f7706bb9ee1d8dc59148cddcc69c92a3a264eb23 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard (cherry picked from commit db9707d0c06939a573d5da26423fac6e5aaa65ea) Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index ec3a242629..d4fe83a806 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a8ee80d31c7b74f687a837cd2a8570578f118179fba0844c5ee88f90fe180155 docker-engine-20.10.12.tar.gz +sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 2a1239b676..3aef31599f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.12 +DOCKER_ENGINE_VERSION = 20.10.14 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From peter at korsgaard.com Sun Apr 10 15:35:16 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:35:16 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libcoap: doesn't build with libressl Message-ID: <20220410152900.9BB148388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e0121e94771e264c21ec1ea2dac908f79ee2af6c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl raised since commit 8b14f6b49b962d4d8f7135d85afa15658ea8f94b: src/coap_openssl.c:107:3: erreur: nom de type ????BIO_ADDR???? inconnu 107 | BIO_ADDR *bio_addr; | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 0796c878f4c9ad786a6c4c4716e4239fa070cd73) Signed-off-by: Peter Korsgaard --- package/libcoap/libcoap.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk index 8a85ff3a2e..edcc1bbef8 100644 --- a/package/libcoap/libcoap.mk +++ b/package/libcoap/libcoap.mk @@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y) LIBCOAP_DEPENDENCIES += gnutls LIBCOAP_CONF_OPTS += \ --enable-dtls --with-gnutls --without-mbedtls --without-openssl -else ifeq ($(BR2_PACKAGE_OPENSSL),y) +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBCOAP_DEPENDENCIES += openssl LIBCOAP_CONF_OPTS += \ --enable-dtls --without-gnutls --without-mbedtls --with-openssl From peter at korsgaard.com Sun Apr 10 15:36:52 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 17:36:52 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/runc: bump to version v1.1.1 Message-ID: <20220410152900.C61A78388A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a2876878c4f26ddd5c9f8303ddb91bd5358ab9df branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Bugfix release, fixing a number of issues: https://github.com/opencontainers/runc/releases/tag/v1.1.1 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard (cherry picked from commit 91c056f0d598ed0d5b94ec4d4cebb9bd203efb50) Signed-off-by: Peter Korsgaard --- package/runc/runc.hash | 2 +- package/runc/runc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/runc/runc.hash b/package/runc/runc.hash index 38d9f52510..fe3c4cc488 100644 --- a/package/runc/runc.hash +++ b/package/runc/runc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a8de57edbf0ff741ea798ccdd99ac0e1b79914f552871bd7cd92b0569f200964 runc-1.1.0.tar.gz +sha256 11a34535c108b36fd59de58e7bef3a130444c9ea41e4b8bb8f8d4654c8ad654c runc-1.1.1.tar.gz sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE diff --git a/package/runc/runc.mk b/package/runc/runc.mk index a40075544e..2618b71f63 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUNC_VERSION = 1.1.0 +RUNC_VERSION = 1.1.1 RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0, LGPL-2.1 (libseccomp) RUNC_LICENSE_FILES = LICENSE From fontaine.fabrice at gmail.com Sun Apr 10 15:43:29 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 17:43:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/trousers: fix build with libressl >= 2.7.0 Message-ID: <20220410154329.294878-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl >= 2.7.0: crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 Signed-off-by: Fabrice Fontaine --- .../0003-Fix-build-with-LibreSSL-2-7.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch diff --git a/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch new file mode 100644 index 0000000000..65da979f22 --- /dev/null +++ b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch @@ -0,0 +1,24 @@ +Fix build with LibreSSL 2.7 + +LibreSSL 2.7 implemented OpenSSL 1.1 API + +See also: https://reviews.freebsd.org/D14849#change-KhYbRXBMIBod + +Cheers, +Bernard Spil (brnrd at FreeBSD.org) + +[Retrieved (and backported) from: +https://sourceforge.net/p/trousers/bugs/234] +Signed-off-by: Fabrice Fontaine + +--- ./src/trspi/crypto/openssl/rsa.c.orig 2016-11-23 12:26:19 UTC ++++ ./src/trspi/crypto/openssl/rsa.c +@@ -38,7 +38,7 @@ + #define DEBUG_print_openssl_errors() + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + static int + RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { -- 2.35.1 From peter at korsgaard.com Sun Apr 10 17:02:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 19:02:12 +0200 Subject: [Buildroot] [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config In-Reply-To: <20220329205136.32435-1-vincent.stehle@laposte.net> ("Vincent =?utf-8?Q?Stehl=C3=A9?= via buildroot"'s message of "Tue, 29 Mar 2022 22:51:36 +0200") References: <20220329205136.32435-1-vincent.stehle@laposte.net> Message-ID: <87fsmkq3cb.fsf@dell.be.48ers.dk> >>>>> "Vincent" == Vincent Stehl? via buildroot writes: > Update the qemu_xtensa_lx60_nommu_defconfig to use the > busybox-minimal.config, to make it more consistent with the other no-MMU > defconfigs. > After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal > config"), this has the benefit of fixing the following network > initialization failure: > udhcpc: invalid option -- b > Signed-off-by: Vincent Stehl? > Cc: Romain Naour > Cc: Gerome Burlats Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 17:00:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 19:00:13 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] configs/qemu_xtensa_lx60_nommu: use busybox minimal config Message-ID: <20220410165242.B415983897@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e0819662eab8db5f2fdc4999011945d840df7081 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Update the qemu_xtensa_lx60_nommu_defconfig to use the busybox-minimal.config. After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal config"), this has the benefit of fixing the following network initialization failure: udhcpc: invalid option -- b With the full busybox config, the -b option would still be passed and udhcpc would fail to start for the reason above. Note that on NOMMU, udhcpc backgrounds unconditionally (unless the -f option is given), so it still behaves properly. The -b option in fact only backgrounds after the lease is obtained; on NOMMU, backgrounding is done before the lease is even requested. So the behaviour is more or less the same, except that on MMU systems, networking can be considered either up or not available after S20network, but on NOMMU there is no such guarantee. Signed-off-by: Vincent Stehl?? Cc: Romain Naour Cc: Gerome Burlats Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 8f3cfe41961d83a9c01630f241bf045e3aa59b40) Signed-off-by: Peter Korsgaard --- configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig index c4473fb32a..44fb81bd74 100644 --- a/configs/qemu_xtensa_lx60_nommu_defconfig +++ b/configs/qemu_xtensa_lx60_nommu_defconfig @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ BR2_PACKAGE_HOST_ELF2FLT=y # BR2_USE_MMU is not set +# Use minimal busybox with hush and networking tools +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + # System BR2_SYSTEM_DHCP="eth0" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" From fontaine.fabrice at gmail.com Sun Apr 10 17:24:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 19:24:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/belr: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220410172403.590419-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_SHARED_STATIC_LIBS: CMake Error at src/CMakeLists.txt:56 (add_library): add_library cannot create target "belr" because another target with the same name already exists. The existing target is a static library created in source directory Fixes: - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb Signed-off-by: Fabrice Fontaine --- package/belr/belr.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/belr/belr.mk b/package/belr/belr.mk index f243830a85..1a849328ec 100644 --- a/package/belr/belr.mk +++ b/package/belr/belr.mk @@ -18,7 +18,7 @@ BELR_CONF_OPTS = \ ifeq ($(BR2_STATIC_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON +BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF else ifeq ($(BR2_SHARED_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF endif -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 10 17:32:59 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 19:32:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/haproxy: security bump to version 2.4.15 Message-ID: <20220410173259.604817-1-fontaine.fabrice@gmail.com> Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP responses containing the "Set-Cookie2" header. This flaw could allow an attacker to send crafted HTTP response packets which lead to an infinite loop, eventually resulting in a denial of service condition. The highest threat from this vulnerability is availability. https://www.mail-archive.com/haproxy at formilux.org/msg41963.html https://www.mail-archive.com/haproxy at formilux.org/msg41873.html Signed-off-by: Fabrice Fontaine --- package/haproxy/haproxy.hash | 4 ++-- package/haproxy/haproxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/haproxy/haproxy.hash b/package/haproxy/haproxy.hash index e3120b521f..18834c29b1 100644 --- a/package/haproxy/haproxy.hash +++ b/package/haproxy/haproxy.hash @@ -1,5 +1,5 @@ -# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.13.tar.gz.sha256 -sha256 4788fe975fe7e521746f826c25e80bc95cd15983e2bafa33e43bff23a3fe5ba1 haproxy-2.4.13.tar.gz +# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.15.tar.gz.sha256 +sha256 3958b17b7ee80eb79712aaf24f0d83e753683104b36e282a8b3dcd2418e30082 haproxy-2.4.15.tar.gz # Locally computed: sha256 0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28 LICENSE sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a doc/lgpl.txt diff --git a/package/haproxy/haproxy.mk b/package/haproxy/haproxy.mk index c162a4c3f4..d50821d8c9 100644 --- a/package/haproxy/haproxy.mk +++ b/package/haproxy/haproxy.mk @@ -5,7 +5,7 @@ ################################################################################ HAPROXY_VERSION_MAJOR = 2.4 -HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).13 +HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).15 HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 10 17:39:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 19:39:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4732 Message-ID: <20220410173903.624901-1-fontaine.fabrice@gmail.com> Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646. Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647. Signed-off-by: Fabrice Fontaine --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d2c91dcfa5..d55b1ea355 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 acca7330e41d01b53d4455ff98fafbf13282ba6461cd92eb1188836f6b03ec0f vim-8.2.4632.tar.gz +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 71aa735eff..4eb659fd6e 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4632 +VIM_VERSION = 8.2.4732 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src -- 2.35.1 From peter at korsgaard.com Sun Apr 10 19:54:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:54:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: needs C++ In-Reply-To: <20220404203135.340172-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 22:31:35 +0200") References: <20220404203135.340172-1-fontaine.fabrice@gmail.com> Message-ID: <87mtgsogsm.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > python-ujson needs C++ since bump to version 4.1.0 in commit > a47f332a20bf3f79ef4903c8ddd2b7917217e354 and > https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: > powerpc-buildroot-linux-gnu-gcc.br_real: error: > ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ > compiler not installed on this system > Fixes: > - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 19:56:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:56:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/trace-cmd: needs NPTL In-Reply-To: <20220404205015.341053-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 22:50:15 +0200") References: <20220404205015.341053-1-fontaine.fabrice@gmail.com> Message-ID: <87ilrgogq1.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > trace-cmd needs NPTL since bump to version 2.9.1 in commit > 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: > /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: > /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): > in function `tracecmd_tsync_with_host': > trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' > Fixes: > - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 19:57:13 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:57:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/libest: fix build with libressl In-Reply-To: <20220404211941.721192-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Apr 2022 23:19:41 +0200") References: <20220404211941.721192-1-fontaine.fabrice@gmail.com> Message-ID: <87ee24ogo6.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl raised since the addition > of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: > In file included from est.c:28: > est.h:27:10: fatal error: openssl/srp.h: No such file or directory > 27 | #include > | ^~~~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 19:58:30 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:58:30 +0200 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set In-Reply-To: <20220405012059.2680327-1-james.hilliard1@gmail.com> (James Hilliard's message of "Mon, 4 Apr 2022 19:20:59 -0600") References: <20220405012059.2680327-1-james.hilliard1@gmail.com> Message-ID: <877d7wogm1.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when > required. > Fixes: > http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 19:54:16 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:54:16 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/python-ujson: needs C++ Message-ID: <20220410194900.4C741838C2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3d399c990533f87f6e39cb33715f5cdbffbf25b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x python-ujson needs C++ since bump to version 4.1.0 in commit a47f332a20bf3f79ef4903c8ddd2b7917217e354 and https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a: powerpc-buildroot-linux-gnu-gcc.br_real: error: ./deps/double-conversion/double-conversion/bignum-dtoa.cc: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/b11600bdba42be9b211163e92afa3173276c3f8f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 9f83216ff1f86c625023bee3037773997fc2987d) Signed-off-by: Peter Korsgaard --- package/python-ujson/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in index 81d1bc457c..7af03e6497 100644 --- a/package/python-ujson/Config.in +++ b/package/python-ujson/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_PYTHON_UJSON bool "python-ujson" + depends on BR2_INSTALL_LIBSTDCPP help UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3. https://pypi.python.org/pypi/ujson + +comment "python-ujson needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From peter at korsgaard.com Sun Apr 10 19:55:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:55:43 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/trace-cmd: needs NPTL Message-ID: <20220410194900.57634838C4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=15c6374a56691addbf718078143a7ff16ecf3e23 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x trace-cmd needs NPTL since bump to version 2.9.1 in commit 0e1231a3c0719269ab3546defe4b1fb0f1f5d7d2 and https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=08b9d5076455c93c997376c8089ee12b9071785b: /nvmedata/autobuild/instance-24/output-1/host/lib/gcc/i586-buildroot-linux-uclibc/10.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-24/output-1/build/trace-cmd-2.9.7/lib/trace-cmd/libtracecmd.a(trace-timesync.o): in function `tracecmd_tsync_with_host': trace-timesync.c:(.text+0x12e1): undefined reference to `pthread_setaffinity_np' Fixes: - http://autobuild.buildroot.org/results/9a88aaf92760b34958ef5b1708de83e46ccdb587 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit df3cc4bb1c91114d29e48d8bc8206adcc35e9b9c) Signed-off-by: Peter Korsgaard --- package/trace-cmd/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 574541c571..2d0accd7ae 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TRACE_CMD bool "trace-cmd" - depends on BR2_TOOLCHAIN_HAS_THREADS + # pthread_setaffinity_np + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() help @@ -13,6 +14,6 @@ config BR2_PACKAGE_TRACE_CMD http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git -comment "trace-cmd needs a toolchain w/ threads, dynamic library" +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From peter at korsgaard.com Sun Apr 10 19:57:07 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 21:57:07 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/libest: doesn't support libressl Message-ID: <20220410194900.60D32838C5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7fb40b1468867d158b7aa497abaad5592f267c5c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl raised since the addition of the package in commit f6f0e1e58168dfa9194db2e073efd20a98c15728: In file included from est.c:28: est.h:27:10: fatal error: openssl/srp.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/0dd755effbdddfa1b578fec9f1b1c9366b6822bc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit c4872446c8c5cd34b2f8e0ed66932cb3ba62556a) Signed-off-by: Peter Korsgaard --- package/libest/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libest/Config.in b/package/libest/Config.in index d8271ad69e..6abe9d2848 100644 --- a/package/libest/Config.in +++ b/package/libest/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBEST depends on !BR2_STATIC_LIBS # libexecinfo or glibc select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help libest is a C implementation of RFC 7030 (Enrollment over Secure Transport). From peter at korsgaard.com Sun Apr 10 20:01:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:01:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-libav: fix build without C++ In-Reply-To: <20220405180944.946684-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 5 Apr 2022 20:09:44 +0200") References: <20220405180944.946684-1-fontaine.fabrice@gmail.com> Message-ID: <8735ikogh6.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure without C++ raised since bump to version > 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: > The following exception(s) were encountered: > Running > "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ > --version" gave "[Errno 2] No such file or directory: > '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" > Fixes: > - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:02:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:02:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ In-Reply-To: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 5 Apr 2022 21:49:16 +0200") References: <20220405194916.1754126-1-fontaine.fabrice@gmail.com> Message-ID: <87y20cn1v5.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > gst1-plugins-bad needs C++ since switch to meson-package in commit > 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: > The following exception(s) were encountered: > Running > "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ > --version" gave "[Errno 2] No such file or directory: > '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" > Fixes: > - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:00:54 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:00:54 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/gstreamer1/gst1-libav: fix build without C++ Message-ID: <20220410195315.AF02C838CE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dadf1635779577d23a7d6b0b754605febc8beafc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure without C++ raised since bump to version 1.18.0 in commit 15dc48ca9becafec6ba11b08af18453bc0e40c9e: The following exception(s) were encountered: Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 80a9e9057daf587242548aa23f8cd7a8d88bfa1f) Signed-off-by: Peter Korsgaard --- ...v-fix-build-on-systems-without-C-compiler.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..6b275220f8 --- /dev/null +++ b/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 4 Apr 2022 23:32:56 +0200 +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-libav/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index fbfa3049afe..7da94b80d59 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-libav', 'c', 'cpp', ++project('gst-libav', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + From peter at korsgaard.com Sun Apr 10 20:02:15 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:02:15 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/gstreamer1/gst1-plugins-bad: needs C++ Message-ID: <20220410195315.BAA43838D3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1e0fb274cde401417fbade86add3651da1eab1c8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x gst1-plugins-bad needs C++ since switch to meson-package in commit 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'" Rewriting the meson.build so it only requires C++ for the modules that are actually written in C++ is quite complicated, so just let the whole package depend on C++. Hopefully however this is going to be fixed in some future release. Therefore, the dependencies for individual modules are kept as well (even though they're redundant now). Fixes: - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 129922140ed7ed03458398b5ec3bad1423f7e6cf) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-imx/Config.in | 6 ++++-- package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ package/gstreamer1/gst1-vaapi/Config.in | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in index 7b46233b53..41ef8548c5 100644 --- a/package/gstreamer1/gst1-imx/Config.in +++ b/package/gstreamer1/gst1-imx/Config.in @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK bool "imxv4l2videosink" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad select BR2_PACKAGE_GST1_PLUGINS_BAD help Elements for V4L2 output -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ + !BR2_INSTALL_LIBSTDCPP endif diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 234d57636b..669360adb1 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -1,5 +1,6 @@ menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD bool "gst1-plugins-bad" + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_GST1_PLUGINS_BASE help A set of plug-ins for GStreamer that may be of poor quality @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 endif + +comment "gst1-plugins-bad needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in index 91bd4f85dd..ade8b83a5f 100644 --- a/package/gstreamer1/gst1-vaapi/Config.in +++ b/package/gstreamer1/gst1-vaapi/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI bool "gst1-vaapi" depends on !BR2_STATIC_LIBS # dlopen(), libva depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBVA select BR2_PACKAGE_LIBDRM @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS endif -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_PACKAGE_HAS_UDEV + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP From fontaine.fabrice at gmail.com Sun Apr 10 20:02:09 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 22:02:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: fix BR2_OPTIMIZE_FAST build Message-ID: <20220410200209.865391-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_OPTIMIZE_FAST: In file included from crypto/async/arch/../async_local.h:30, from crypto/async/arch/async_null.c:11: crypto/async/arch/../arch/async_posix.h:32:5: error: unknown type name 'ucontext_t' 32 | ucontext_t fibre; | ^~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/3ce202f11a821940ff55eafa1dc7cea54b8c0da2 Signed-off-by: Fabrice Fontaine --- package/libopenssl/libopenssl.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index a22f2714f2..824b10bbb6 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -63,7 +63,7 @@ define HOST_LIBOPENSSL_CONFIGURE_CMDS shared \ zlib-dynamic \ ) - $(SED) "s#-O[0-9sg]#$(HOST_CFLAGS)#" $(@D)/Makefile + $(SED) "s#-O[0-9sg]\|-Ofast#$(HOST_CFLAGS)#" $(@D)/Makefile endef define LIBOPENSSL_CONFIGURE_CMDS @@ -111,7 +111,7 @@ define LIBOPENSSL_CONFIGURE_CMDS $(if $(BR2_STATIC_LIBS),no-dso) \ ) $(SED) "s#-march=[-a-z0-9] ##" -e "s#-mcpu=[-a-z0-9] ##g" $(@D)/Makefile - $(SED) "s#-O[0-9sg]#$(LIBOPENSSL_CFLAGS)#" $(@D)/Makefile + $(SED) "s#-O[0-9sg]\|-Ofast#$(LIBOPENSSL_CFLAGS)#" $(@D)/Makefile $(SED) "s# build_tests##" $(@D)/Makefile endef -- 2.35.1 From peter at korsgaard.com Sun Apr 10 20:04:34 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:04:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/haproxy: security bump to version 2.4.15 In-Reply-To: <20220410173259.604817-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:32:59 +0200") References: <20220410173259.604817-1-fontaine.fabrice@gmail.com> Message-ID: <87tub0n1rh.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP > responses containing the "Set-Cookie2" header. This flaw could allow an > attacker to send crafted HTTP response packets which lead to an infinite > loop, eventually resulting in a denial of service condition. The highest > threat from this vulnerability is availability. > https://www.mail-archive.com/haproxy at formilux.org/msg41963.html > https://www.mail-archive.com/haproxy at formilux.org/msg41873.html > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:04:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:04:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4732 In-Reply-To: <20220410173903.624901-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:39:03 +0200") References: <20220410173903.624901-1-fontaine.fabrice@gmail.com> Message-ID: <87pmlon1rc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository > vim/vim prior to 8.2.4646. > Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub > repository vim/vim prior to 8.2.4647. > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. > --- > package/vim/vim.hash | 2 +- > package/vim/vim.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > diff --git a/package/vim/vim.hash b/package/vim/vim.hash > index d2c91dcfa5..d55b1ea355 100644 > --- a/package/vim/vim.hash > +++ b/package/vim/vim.hash > @@ -1,4 +1,4 @@ > # Locally computed > -sha256 acca7330e41d01b53d4455ff98fafbf13282ba6461cd92eb1188836f6b03ec0f vim-8.2.4632.tar.gz > +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz > sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE > sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt > diff --git a/package/vim/vim.mk b/package/vim/vim.mk > index 71aa735eff..4eb659fd6e 100644 > --- a/package/vim/vim.mk > +++ b/package/vim/vim.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > -VIM_VERSION = 8.2.4632 > +VIM_VERSION = 8.2.4732 > VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) > VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) > VIM_SUBDIR = src > -- > 2.35.1 > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:05:36 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:05:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: add CPE variables In-Reply-To: <20220410134415.137573-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 15:44:15 +0200") References: <20220410134415.137573-1-fontaine.fabrice@gmail.com> Message-ID: <87lewcn1pr.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:intel:threading_building_blocks is a valid CPE identifier for > this package: > https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aintel%3Athreading_building_blocks > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:05:23 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:05:23 +0200 Subject: [Buildroot] [git commit] package/tbb: add CPE variables Message-ID: <20220410195609.AFF84838FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2759c40df782ca4f936c3dc995a27bf6cb9020b4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:intel:threading_building_blocks is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aintel%3Athreading_building_blocks Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/tbb/tbb.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index e5929388a2..87e83551fe 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -9,6 +9,8 @@ TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 TBB_LICENSE_FILES = LICENSE +TBB_CPE_ID_VENDOR = intel +TBB_CPE_ID_PRODUCT = threading_building_blocks TBB_SO_VERSION = 2 TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy From peter at korsgaard.com Sun Apr 10 20:04:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:04:14 +0200 Subject: [Buildroot] [git commit] package/vim: security bump to version 8.2.4732 Message-ID: <20220410195609.A61AE8386F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c96d6925f2e810bddbc8d4a1a98a7d42c66ad339 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646. Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647. Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d2c91dcfa5..d55b1ea355 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 acca7330e41d01b53d4455ff98fafbf13282ba6461cd92eb1188836f6b03ec0f vim-8.2.4632.tar.gz +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 71aa735eff..4eb659fd6e 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4632 +VIM_VERSION = 8.2.4732 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src From peter at korsgaard.com Sun Apr 10 20:04:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:04:08 +0200 Subject: [Buildroot] [git commit] package/haproxy: security bump to version 2.4.15 Message-ID: <20220410195609.9BC26838F5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f09fc6f958bebc742b0b0c2774eafe988807ad50 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP responses containing the "Set-Cookie2" header. This flaw could allow an attacker to send crafted HTTP response packets which lead to an infinite loop, eventually resulting in a denial of service condition. The highest threat from this vulnerability is availability. https://www.mail-archive.com/haproxy at formilux.org/msg41963.html https://www.mail-archive.com/haproxy at formilux.org/msg41873.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/haproxy/haproxy.hash | 4 ++-- package/haproxy/haproxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/haproxy/haproxy.hash b/package/haproxy/haproxy.hash index e3120b521f..18834c29b1 100644 --- a/package/haproxy/haproxy.hash +++ b/package/haproxy/haproxy.hash @@ -1,5 +1,5 @@ -# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.13.tar.gz.sha256 -sha256 4788fe975fe7e521746f826c25e80bc95cd15983e2bafa33e43bff23a3fe5ba1 haproxy-2.4.13.tar.gz +# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.15.tar.gz.sha256 +sha256 3958b17b7ee80eb79712aaf24f0d83e753683104b36e282a8b3dcd2418e30082 haproxy-2.4.15.tar.gz # Locally computed: sha256 0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28 LICENSE sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a doc/lgpl.txt diff --git a/package/haproxy/haproxy.mk b/package/haproxy/haproxy.mk index 83d9cfee37..b498549e20 100644 --- a/package/haproxy/haproxy.mk +++ b/package/haproxy/haproxy.mk @@ -5,7 +5,7 @@ ################################################################################ HAPROXY_VERSION_MAJOR = 2.4 -HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).13 +HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).15 HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt From peter at korsgaard.com Sun Apr 10 20:07:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:07:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/lftp: fix build with libressl In-Reply-To: <20220410141043.144288-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 16:10:43 +0200") References: <20220410141043.144288-1-fontaine.fabrice@gmail.com> Message-ID: <87h770n1mj.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl > 2.7.0: > /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: > /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): > in function `X509_OBJECT_get0_X509_CRL': > (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; > /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): > first defined here > Fixes: > - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:07:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:07:12 +0200 Subject: [Buildroot] [git commit] package/lftp: fix build with libressl Message-ID: <20220410195834.D7317838FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e8394943e80c847793f13555697e0b4c76483322 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl > 2.7.0: /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here Fixes: - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch new file mode 100644 index 0000000000..4251a5e176 --- /dev/null +++ b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch @@ -0,0 +1,36 @@ +From 3ffa0132987bdde986c82c924bc51b13b37f8b54 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 22:56:21 +0200 +Subject: [PATCH] src/lftp_ssl.c: fix build with libressl >= 2.7.0 + +X509_OBJECT_get0_X509_CRL is provided by libressl since version 2.7.0 +and +https://github.com/libressl-portable/openbsd/commit/9866ae34c0af718973475296bd9ef036d3aaa94e +resulting in the following build failure: + +/nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': +(.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here + +Fixes: + - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54] +--- + src/lftp_ssl.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 26e91e4b..a814543d 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -664,7 +664,7 @@ int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int* cert_max + #elif USE_OPENSSL + //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + // for compatibility with older versions + X509_OBJECT *X509_OBJECT_new() + { From fontaine.fabrice at gmail.com Sun Apr 10 20:21:12 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 22:21:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: needs threads Message-ID: <20220410202112.866702-1-fontaine.fabrice@gmail.com> valgrind needs threads since the addition of vgdb in https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: vgdb.c:37:10: fatal error: pthread.h: No such file or directory 37 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 Signed-off-by: Fabrice Fontaine --- package/valgrind/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 56e4af21fa..700849130f 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -7,14 +7,15 @@ config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le depends on !BR2_MIPS_SOFT_FLOAT -comment "valgrind needs a toolchain w/ dynamic library" +comment "valgrind needs a toolchain w/ dynamic library, threads" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_VALGRIND bool "valgrind" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS help Tool for debugging and profiling Linux programs. -- 2.35.1 From peter at korsgaard.com Sun Apr 10 20:24:42 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:24:42 +0200 Subject: [Buildroot] [PATCH] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series Message-ID: <20220410202442.1249348-1-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index f25b662aa5..4b4ea8d92b 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -125,7 +125,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "5.15.30" if BR2_LINUX_KERNEL_LATEST_VERSION + default "5.15.33" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.104-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.104-cip3-rt3" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 87a0f0465b..cf7ccc5cc5 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 cca7d6e053e33f44af1b39f7becec73a387911d81ede5a84ecf671692533138f linux-5.16.16.tar.xz -sha256 254ea2fe08f0aa07e4f7fffe95d12463df7fa6ff8a9ba72f321da15e50fa7132 linux-5.15.30.tar.xz -sha256 c467c3077946370fb26c9277313b601d6c48bb557abc889f4892caf627fcdfea linux-5.10.107.tar.xz -sha256 61f7cd24cb8a38d41891d9066c1dfd14a688a9dff7f485922e385654ea8b39b9 linux-5.4.186.tar.xz +sha256 da6d2cfa8b5b82d8a17b032a627fc1c7885097523c32cc8a4294745697d59b7e linux-5.16.19.tar.xz +sha256 c30a17e6090f9ebf2d8ff58cd6c92c7324b1f4a8b3aa6a7f68850310af05a9c4 linux-5.15.33.tar.xz +sha256 dbef6a06325433481551cb8cfca9254d908d0ae950bc809f3da8ade00c485693 linux-5.10.110.tar.xz +sha256 9fbc8bfdc28c9fce2307bdf7cf1172c9819df673397a411c40a5c3d0a570fdbc linux-5.4.188.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz -sha256 47470f83aa64e0098830a53176c959740742973663fead7ca7cc7b84e1f9d0f7 linux-4.9.307.tar.xz -sha256 9b6178099cf33c534c971f3f065c0debe92788f0f504d54badb2f8c2ee089d69 linux-4.14.272.tar.xz -sha256 530c5ac848111bbf7d1ad407a4ce8173ef8f9a4554477a32c695c5a4eaf02598 linux-4.19.235.tar.xz +sha256 e86a55a89e1e28756b890b2b78f8b582d05cecb3509ff5c353e9534866468614 linux-4.9.309.tar.xz +sha256 100a9960fb2d8e079c9feeef640715a7fb749ed728a57e427f9e2443212e58f9 linux-4.14.275.tar.xz +sha256 bafff35102cc486ec2bf94c6d908be8e24017b2e4a1873f52f24c855eb220cd8 linux-4.19.237.tar.xz # Locally computed sha256 63e6df81c4a747c60eed535ffc2f6f1ddb0c17ec349e860316d9a700c69ab38e linux-cip-5.10.104-cip3.tar.gz sha256 9a45929d91ebaddbf6a0ef29750775e33d3c3f56f42f0a9e95e77e5b4eba3c6e linux-cip-5.10.104-cip3-rt3.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 479f64b72e..decf02d175 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -381,13 +381,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string default "4.4.302" if BR2_KERNEL_HEADERS_4_4 - default "4.9.307" if BR2_KERNEL_HEADERS_4_9 - default "4.14.272" if BR2_KERNEL_HEADERS_4_14 - default "4.19.235" if BR2_KERNEL_HEADERS_4_19 - default "5.4.186" if BR2_KERNEL_HEADERS_5_4 - default "5.10.107" if BR2_KERNEL_HEADERS_5_10 - default "5.15.30" if BR2_KERNEL_HEADERS_5_15 - default "5.16.16" if BR2_KERNEL_HEADERS_5_16 + default "4.9.309" if BR2_KERNEL_HEADERS_4_9 + default "4.14.275" if BR2_KERNEL_HEADERS_4_14 + default "4.19.237" if BR2_KERNEL_HEADERS_4_19 + default "5.4.188" if BR2_KERNEL_HEADERS_5_4 + default "5.10.110" if BR2_KERNEL_HEADERS_5_10 + default "5.15.33" if BR2_KERNEL_HEADERS_5_15 + default "5.16.19" if BR2_KERNEL_HEADERS_5_16 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ -- 2.30.2 From peter at korsgaard.com Sun Apr 10 20:36:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:36:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/netdata: bump to version 1.33.1 In-Reply-To: <20220407212019.1540473-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 7 Apr 2022 23:20:19 +0200") References: <20220407212019.1540473-1-fontaine.fabrice@gmail.com> Message-ID: <87czhon0al.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Use official tarball (and so drop autoreconf) > - Disable ebpf, enabled by default since its addition in version 1.25.0: > https://github.com/netdata/netdata/commit/c857c880f31a89b7857bf01f1f48227c41bf8a93 > - disable ml, enabled by default since its addition in version 1.32.1: > https://github.com/netdata/netdata/commit/9ed4cea59042aa5e5053c4b4b3529e9d70ab83f9 > - lz4 is an optional dependency (enabled by default) since version > 1.33.0 and > https://github.com/netdata/netdata/commit/b003e5fd40c3b42dfacc87db5a7730b76eff0e92 > - This bump will fix a build failure with libressl thanks to > https://github.com/netdata/netdata/commit/6b091fafd9c3b0197325b3ef751dbdb317048e2b > - Update indentation in hash file (two spaces) > https://github.com/netdata/netdata/blob/v1.33.1/CHANGELOG.md > Fixes: > - http://autobuild.buildroot.org/results/897d6f1425a645667b884739b2ee6f588fd06972 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:35:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:35:39 +0200 Subject: [Buildroot] [git commit] package/netdata: bump to version 1.33.1 Message-ID: <20220410202754.4555B83906@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=73dc2eef2dc40b78e732872b26eee0bcea1087d1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Use official tarball (and so drop autoreconf) - Disable ebpf, enabled by default since its addition in version 1.25.0: https://github.com/netdata/netdata/commit/c857c880f31a89b7857bf01f1f48227c41bf8a93 - disable ml, enabled by default since its addition in version 1.32.1: https://github.com/netdata/netdata/commit/9ed4cea59042aa5e5053c4b4b3529e9d70ab83f9 - lz4 is an optional dependency (enabled by default) since version 1.33.0 and https://github.com/netdata/netdata/commit/b003e5fd40c3b42dfacc87db5a7730b76eff0e92 - This bump will fix a build failure with libressl thanks to https://github.com/netdata/netdata/commit/6b091fafd9c3b0197325b3ef751dbdb317048e2b - Update indentation in hash file (two spaces) https://github.com/netdata/netdata/blob/v1.33.1/CHANGELOG.md Fixes: - http://autobuild.buildroot.org/results/897d6f1425a645667b884739b2ee6f588fd06972 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/netdata/netdata.hash | 6 ++++-- package/netdata/netdata.mk | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/package/netdata/netdata.hash b/package/netdata/netdata.hash index 8d5ce51fca..bc33a8b8a1 100644 --- a/package/netdata/netdata.hash +++ b/package/netdata/netdata.hash @@ -1,3 +1,5 @@ +# From https://github.com/netdata/netdata/releases/download/v1.33.1/sha256sums.txt +sha256 20ba8695d87187787b27128ac3aab9b09aa29ca6b508c48542e0f7d50ec9322b netdata-v1.33.1.tar.gz + # Locally calculated -sha256 60cdde3f1f8bd9035fef6a566053c0a7195d1714b5da6814473263e85382b4a8 netdata-1.21.1.tar.gz -sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6 LICENSE +sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6 LICENSE diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index 6def59764a..da6f8eb18b 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -4,15 +4,17 @@ # ################################################################################ -NETDATA_VERSION = 1.21.1 -NETDATA_SITE = $(call github,netdata,netdata,v$(NETDATA_VERSION)) +NETDATA_VERSION = 1.33.1 +NETDATA_SOURCE = netdata-v$(NETDATA_VERSION).tar.gz +NETDATA_SITE = \ + https://github.com/netdata/netdata/releases/download/v$(NETDATA_VERSION) NETDATA_LICENSE = GPL-3.0+ NETDATA_LICENSE_FILES = LICENSE NETDATA_CPE_ID_VENDOR = netdata -# netdata's source code is released without a generated configure script -NETDATA_AUTORECONF = YES NETDATA_CONF_OPTS = \ --disable-dbengine \ + --disable-ebpf \ + --disable-ml \ --disable-unit-tests NETDATA_DEPENDENCIES = libuv util-linux zlib @@ -43,6 +45,13 @@ else NETDATA_CONF_OPTS += --without-libcap endif +ifeq ($(BR2_PACKAGE_LZ4),y) +NETDATA_CONF_OPTS += --enable-compression +NETDATA_DEPENDENCIES += lz4 +else +NETDATA_CONF_OPTS += --disable-compression +endif + ifeq ($(BR2_PACKAGE_NFACCT),y) NETDATA_CONF_OPTS += --enable-plugin-nfacct NETDATA_DEPENDENCIES += nfacct From peter at korsgaard.com Sun Apr 10 20:51:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:51:10 +0200 Subject: [Buildroot] [PATCH] package/bind: security bump to version 9.16.27 Message-ID: <20220410205111.1336415-1-peter@korsgaard.com> Fixes the following security issues: - The rules for acceptance of records into the cache have been tightened to prevent the possibility of poisoning if forwarders send records outside the configured bailiwick. (CVE-2021-25220) - TCP connections with keep-response-order enabled could leave the TCP sockets in the CLOSE_WAIT state when the client did not properly shut down the connection. (CVE-2022-0396) Signed-off-by: Peter Korsgaard --- package/bind/bind.hash | 4 ++-- package/bind/bind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/bind/bind.hash b/package/bind/bind.hash index 401e389e49..2c10a0429b 100644 --- a/package/bind/bind.hash +++ b/package/bind/bind.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc +# Verified from https://ftp.isc.org/isc/bind9/9.16.27/bind-9.16.27.tar.xz.asc # with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD -sha256 70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45 bind-9.16.26.tar.xz +sha256 90902aaf104c81019d75d6f8b2f7ec40fcd249406f894b44e4a9c6b5e08bf566 bind-9.16.27.tar.xz sha256 daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155 COPYRIGHT diff --git a/package/bind/bind.mk b/package/bind/bind.mk index a595baabc5..5164001ab5 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -4,7 +4,7 @@ # ################################################################################ -BIND_VERSION = 9.16.26 +BIND_VERSION = 9.16.27 BIND_SOURCE= bind-$(BIND_VERSION).tar.xz BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION) # bind does not support parallel builds. -- 2.30.2 From peter at korsgaard.com Sun Apr 10 20:52:31 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:52:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix build with libressl In-Reply-To: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 7 Apr 2022 18:41:14 +0200") References: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> Message-ID: <877d7wmzjk.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' > Fixes: > - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 20:51:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 22:51:56 +0200 Subject: [Buildroot] [git commit] package/tvheadend: fix build with libressl Message-ID: <20220410204351.72B0283914@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=04164b81e76e29fb9482245e808b46af2aa67bc6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' Fixes: - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- .../tvheadend/0002-fix-build-with-libressl.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/package/tvheadend/0002-fix-build-with-libressl.patch b/package/tvheadend/0002-fix-build-with-libressl.patch new file mode 100644 index 0000000000..c99dacdbeb --- /dev/null +++ b/package/tvheadend/0002-fix-build-with-libressl.patch @@ -0,0 +1,47 @@ +From ea65f8025a9124cd7353b21f167968bdb897306f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 21:54:25 +0200 +Subject: [PATCH] fix build with libressl + +Fix the following build failure with libressl raised since +https://github.com/tvheadend/tvheadend/commit/e61acb8ad4a3411f4e7acfd8133d222299f6d47e: + +utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' + +Fixes: + - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/ea65f8025a9124cd7353b21f167968bdb897306f] +--- + src/http.c | 2 +- + src/utils.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/http.c b/src/http.c +index 06d5e76172..72a498317c 100644 +--- a/src/http.c ++++ b/src/http.c +@@ -412,7 +412,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content, + http_auth_header(&hdrs, realm, + config.http_auth_algo == HTTP_AUTH_ALGO_SHA256 ? + "SHA-256" : +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + "SHA-512-256", + #else + "SHA-256", +diff --git a/src/utils.c b/src/utils.c +index d8ffe4ad5c..eecb10e116 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&??!defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; From peter at korsgaard.com Sun Apr 10 21:00:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:00:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/libressl: bump to version 3.5.1 In-Reply-To: (=?utf-8?Q?=22Fran=C3=A7ois?= Perrad"'s message of "Thu, 7 Apr 2022 07:43:48 +0200") References: <20220406194148.39490-1-fontaine.fabrice@gmail.com> Message-ID: <8735ikmz6h.fsf@dell.be.48ers.dk> >>>>> "Fran?ois" == Fran?ois Perrad writes: > This version 3.5.1 (like 3.5.0, 3.4.0) is a development release, not a > stable release. Correct. Maybe we should instead let pure-ftpd select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL? -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:03:32 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:03:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/nbd: needs host-bison In-Reply-To: <20220329184458.289902-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 29 Mar 2022 20:44:58 +0200") References: <20220329184458.289902-1-fontaine.fabrice@gmail.com> Message-ID: <87y20clkgr.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > host-bison is mandatory to avoid the following build failure since bump > to version 3.24 in commit bf2e459bb9fc9fe57147313cda35f7022172e6e8 and > https://github.com/NetworkBlockDevice/nbd/commit/cd099ee7d0602104506bdd5063c0a3db2ec9b550: > configure: error: bison is required > Fixes: > - http://autobuild.buildroot.org/results/05872813c9e9b9f39f960fa9a33ad82dc124c808 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:04:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:04:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/cog: bump to version 0.12.4 In-Reply-To: <20220330071449.4060342-1-james.hilliard1@gmail.com> (James Hilliard's message of "Wed, 30 Mar 2022 01:14:49 -0600") References: <20220330071449.4060342-1-james.hilliard1@gmail.com> Message-ID: <87tub0lkfd.fsf@dell.be.48ers.dk> >>>>> "James" == James Hilliard writes: > Signed-off-by: James Hilliard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:03:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:03:43 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/cog: bump to version 0.12.4 Message-ID: <20220410205517.EE0A6838CD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=38a9dd649f0f559c0f438becb1e506950bc7a99a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: James Hilliard Acked-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 2490cc30525f2249f319b73176d13305be152b86) Signed-off-by: Peter Korsgaard --- package/cog/cog.hash | 8 ++++---- package/cog/cog.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/cog/cog.hash b/package/cog/cog.hash index 839b12e619..00d3a4e191 100644 --- a/package/cog/cog.hash +++ b/package/cog/cog.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/cog-0.12.1.tar.xz.sums -md5 25a80a5a8a52b8873933a128151b8928 cog-0.12.1.tar.xz -sha1 3b9f67bc23cd9e3db2221366d6cde4ca0b06b811 cog-0.12.1.tar.xz -sha256 23caaafa2ef5c2f6a97d467fcce908ea71087ad03b72deb9280225c0dd561c91 cog-0.12.1.tar.xz +# From https://wpewebkit.org/releases/cog-0.12.4.tar.xz.sums +md5 cdb8acdc3acc9b5082e7db9c279155c3 cog-0.12.4.tar.xz +sha1 600b30efadf55bf94ea5062a0a1b2ea0b74053e5 cog-0.12.4.tar.xz +sha256 9983c621c8e14fca3792ff566cb6b86d6a1f17446eb4c083af4a5a749112982f cog-0.12.4.tar.xz # Hashes for license files: sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING diff --git a/package/cog/cog.mk b/package/cog/cog.mk index 2f6ef402fb..f2ca0af93d 100644 --- a/package/cog/cog.mk +++ b/package/cog/cog.mk @@ -4,7 +4,7 @@ # ################################################################################ -COG_VERSION = 0.12.1 +COG_VERSION = 0.12.4 COG_SITE = https://wpewebkit.org/releases COG_SOURCE = cog-$(COG_VERSION).tar.xz COG_INSTALL_STAGING = YES From peter at korsgaard.com Sun Apr 10 21:02:09 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:02:09 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/nbd: needs host-bison Message-ID: <20220410205517.E451D83931@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=892d6562d6ac6d53d29b7719d5bfc2f1687ffa8d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x host-bison is mandatory to avoid the following build failure since bump to version 3.24 in commit bf2e459bb9fc9fe57147313cda35f7022172e6e8 and https://github.com/NetworkBlockDevice/nbd/commit/cd099ee7d0602104506bdd5063c0a3db2ec9b550: configure: error: bison is required Fixes: - http://autobuild.buildroot.org/results/05872813c9e9b9f39f960fa9a33ad82dc124c808 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit a8290f99a7a2f75a8668d4e4f6c42f59862396a2) Signed-off-by: Peter Korsgaard --- package/nbd/nbd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index f0fb23910e..50f698dd24 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -8,7 +8,7 @@ NBD_VERSION = 3.24 NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) NBD_CONF_OPTS = --enable-lfs -NBD_DEPENDENCIES = host-pkgconf libglib2 +NBD_DEPENDENCIES = host-bison host-pkgconf libglib2 NBD_LICENSE = GPL-2.0 NBD_LICENSE_FILES = COPYING NBD_CPE_ID_VENDOR = network_block_device_project From peter at korsgaard.com Sun Apr 10 21:07:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:07:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/woff2: use github helper In-Reply-To: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 20:55:52 +0200") References: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> Message-ID: <87o818lkai.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:08:04 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:08:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/spice: needs C++ In-Reply-To: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 21:14:38 +0200") References: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> Message-ID: <87k0bwlk97.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > spice needs C++ since bump to version 0.15.0 in commit > b784f1bc0fc3ac33a20549069a81ff98260b58e9 and > https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: > configure: error: *** A compiler with support for C++11 language features is required. > Fixes: > - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:09:04 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:09:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/stunnel: doesn't build with libressl In-Reply-To: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 19:25:37 +0200") References: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> Message-ID: <87fsmklk7j.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > In file included from tls.c:39: > prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' > 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; > | ^~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Apr 10 21:07:00 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 10 Apr 2022 23:07:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix openssl build Message-ID: <20220410210700.1175518-1-fontaine.fabrice@gmail.com> Fix the following openssl build failure raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31: /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libssl.so: file not recognized: file format not recognized Fixes: - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a Signed-off-by: Fabrice Fontaine --- ...c-fix-cross-compilation-with-openssl.patch | 56 +++++++++++++++++++ package/fetchmail/fetchmail.mk | 2 + 2 files changed, 58 insertions(+) create mode 100644 package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch diff --git a/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch new file mode 100644 index 0000000000..fff848196a --- /dev/null +++ b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch @@ -0,0 +1,56 @@ +From 262aa59c1a7a7100e1dd4e73a6d0112d9becc701 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 1 Apr 2022 19:23:06 +0200 +Subject: [PATCH] configure.ac: fix cross-compilation with openssl + +Don't call AC_LIB_LINKFLAGS when the libraries are retrieved through +pkg-config to avoid the following build failure when cross-compiling +raised since commit 77503f545d2806d07ab83c59ed9a96f435d281da: + +/home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so +/usr/lib/libssl.so: file not recognized: file format not recognized + +This build failure is raised because AC_LIB_LINKFLAGS will override the +pkg-config target libraries by the host openssl libraries: + +configure: Enabling OpenSSL support in /home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr. +configure: SSL-check: trying pkg-config for openssl +checking for SSL... yes +checking how to link with libssl... /usr/lib/libssl.so /usr/lib/libcrypto.so +configure: From pkg-config: Adding /usr/lib/libssl.so /usr/lib/libcrypto.so to LIBS. LDFLAGS= -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib + +Fixes: + - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.com/fetchmail/fetchmail/-/merge_requests/42] +--- + configure.ac | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index bd042d51..80e5bf91 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -838,15 +838,13 @@ else + PKG_CHECK_MODULES([SSL],[$i],[ + set -- $SSL_LIBS + while test $# -ge 1 ; do +- case $1 in -l*|lib*) : ;; ++ case $1 in -l*|lib*) LIBS="$LIBS $1" ;; + *) LDFLAGS="$LDFLAGS $1" ;; + esac + shift + done + CPPFLAGS="$SSL_CFLAGS $CPPFLAGS" +- AC_LIB_LINKFLAGS([ssl], [crypto]) +- AS_MESSAGE([From pkg-config: Adding $LIBSSL to LIBS. LDFLAGS=$LDFLAGS]) +- LIBS="$LIBS $LIBSSL" ++ AS_MESSAGE([From pkg-config: $SSL_LIBS]) + found=1 + break],[: ignore-error]) + done +-- +2.35.1 + diff --git a/package/fetchmail/fetchmail.mk b/package/fetchmail/fetchmail.mk index b97f01a423..25dfcae87b 100644 --- a/package/fetchmail/fetchmail.mk +++ b/package/fetchmail/fetchmail.mk @@ -12,6 +12,8 @@ FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING FETCHMAIL_LICENSE_FILES = COPYING FETCHMAIL_CPE_ID_VENDOR = fetchmail FETCHMAIL_SELINUX_MODULES = fetchmail mta +# We're patching configure.ac +FETCHMAIL_AUTORECONF = YES FETCHMAIL_CONF_OPTS = \ --with-ssl=$(STAGING_DIR)/usr -- 2.35.1 From peter at korsgaard.com Sun Apr 10 21:10:21 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:10:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-gmmlib: needs C++ In-Reply-To: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:23:44 +0200") References: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> Message-ID: <87bkx8lk5e.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > intel-gmmlib needs C++ since its addition in commit > 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and > https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: > CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > "/usr/bin/clang++" > is not able to compile a simple test program. > Fixes: > - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:11:05 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:11:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/liburing: needs MMU In-Reply-To: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 5 Apr 2022 22:40:04 +0200") References: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> Message-ID: <877d7wlk46.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > liburing needs MMU since its addition in commit > 03ca6f4e39874583060317e7e15e9e360220877e: > setup.c: In function 'io_uring_ring_dontfork': > setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] > 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); > | ^~~~~~~ > | raise > Fixes: > - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:08:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:08:53 +0200 Subject: [Buildroot] [git commit] package/stunnel: doesn't build with libressl Message-ID: <20220410210202.07CC98396D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e4032672736614397c803584ba7bb8a20ae1896e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: In file included from tls.c:39: prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/stunnel/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/stunnel/Config.in b/package/stunnel/Config.in index 087fecd930..a46e2f0316 100644 --- a/package/stunnel/Config.in +++ b/package/stunnel/Config.in @@ -2,7 +2,8 @@ config BR2_PACKAGE_STUNNEL bool "stunnel" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES help Stunnel is a program that wraps any TCP connection with an SSL connection. From peter at korsgaard.com Sun Apr 10 21:09:27 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:09:27 +0200 Subject: [Buildroot] [git commit] package/intel-gmmlib: needs C++ Message-ID: <20220410210202.123AD8396B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c0aaf9cc9e85f63ab4334db8c6deca25e6f8e878 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master intel-gmmlib needs C++ since its addition in commit 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/intel-gmmlib/Config.in | 5 +++-- package/intel-mediadriver/Config.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/intel-gmmlib/Config.in b/package/intel-gmmlib/Config.in index 9d5fbd9cae..b6f93f7416 100644 --- a/package/intel-gmmlib/Config.in +++ b/package/intel-gmmlib/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_INTEL_GMMLIB bool "intel-gmmlib" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP help The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) @@ -10,5 +11,5 @@ config BR2_PACKAGE_INTEL_GMMLIB https://github.com/intel/gmmlib -comment "intel-gmmlib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "intel-gmmlib needs a toolchain w/ dynamic library, C++" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/intel-mediadriver/Config.in b/package/intel-mediadriver/Config.in index c29c2fb6ab..ad56590008 100644 --- a/package/intel-mediadriver/Config.in +++ b/package/intel-mediadriver/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER bool "intel-mediadriver" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS # mesa3d, libva - depends on BR2_INSTALL_LIBSTDCPP # mesa3d + depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d depends on BR2_TOOLCHAIN_HAS_THREADS # libva depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d From peter at korsgaard.com Sun Apr 10 21:10:54 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:10:54 +0200 Subject: [Buildroot] [git commit] package/liburing: needs MMU Message-ID: <20220410210202.1C1E88396C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b5f07f62eb0392c3bddd63ac16d12adec7e98812 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master liburing needs MMU since its addition in commit 03ca6f4e39874583060317e7e15e9e360220877e: setup.c: In function 'io_uring_ring_dontfork': setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); | ^~~~~~~ | raise Fixes: - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/liburing/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/liburing/Config.in b/package/liburing/Config.in index d65a3f1322..fc13f1c17c 100644 --- a/package/liburing/Config.in +++ b/package/liburing/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBURING bool "liburing" + depends on BR2_USE_MMU # madvise() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 help @@ -11,5 +12,6 @@ config BR2_PACKAGE_LIBURING https://git.kernel.dk/cgit/liburing comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 From peter at korsgaard.com Sun Apr 10 21:07:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:07:59 +0200 Subject: [Buildroot] [git commit] package/spice: needs C++ Message-ID: <20220410210201.F2D0B83912@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=35be926c97836989d6cecbc7ecb49f9c9bd46eba branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master spice needs C++ since bump to version 0.15.0 in commit b784f1bc0fc3ac33a20549069a81ff98260b58e9 and https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: configure: error: *** A compiler with support for C++11 language features is required. Fixes: - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/spice/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index 2241b55b3d..ca5c562ca1 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -1,12 +1,14 @@ -comment "spice server needs a toolchain w/ wchar, threads" +comment "spice server needs a toolchain w/ wchar, threads, C++" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_SPICE bool "spice server" depends on BR2_i386 || BR2_x86_64 depends on BR2_USE_WCHAR # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_JPEG select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL From peter at korsgaard.com Sun Apr 10 21:06:57 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:06:57 +0200 Subject: [Buildroot] [git commit] package/woff2: use github helper Message-ID: <20220410210201.E91FE8396B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4b1080d57ae642bd5d4b5783c49d4ba49f13dfe8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro Signed-off-by: Peter Korsgaard --- package/woff2/woff2.hash | 2 +- package/woff2/woff2.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash index 469071e3c2..0812dabcf1 100644 --- a/package/woff2/woff2.hash +++ b/package/woff2/woff2.hash @@ -1,5 +1,5 @@ # Locally generated: -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz # Hash for license files: sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk index b2ff33fe98..937e8cf736 100644 --- a/package/woff2/woff2.mk +++ b/package/woff2/woff2.mk @@ -5,8 +5,7 @@ ################################################################################ WOFF2_VERSION = 1.0.2 -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz -WOFF2_SITE = https://github.com/google/woff2/archive +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) WOFF2_LICENSE = MIT WOFF2_LICENSE_FILES = LICENSE WOFF2_INSTALL_STAGING = YES From havran.jan at email.cz Sun Apr 10 21:22:09 2022 From: havran.jan at email.cz (Jan Havran) Date: Sun, 10 Apr 2022 23:22:09 +0200 Subject: [Buildroot] [PATCH] package/rtl8189es: bump revision to 39c17661 Message-ID: Update out-of-tree driver to make it work with Linux kernel v5.17 (and older kernels not compatible with previous driver version, like v5.15 etc). Signed-off-by: Jan Havran --- package/rtl8189es/rtl8189es.hash | 2 +- package/rtl8189es/rtl8189es.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtl8189es/rtl8189es.hash b/package/rtl8189es/rtl8189es.hash index 624c51ac0d..d897e5e6c2 100644 --- a/package/rtl8189es/rtl8189es.hash +++ b/package/rtl8189es/rtl8189es.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 bf972b6494844c66885dc6846228994fac6075477cf9a7122ffd521e25ac791c rtl8189es-2c8d44ae26485052f39d933a3a132b3ff395803a.tar.gz +sha256 74325014c1a8503b3a7e48ad06997baddad8c1dae86bb79f4368532cc3e75fb2 rtl8189es-39c17661136da48f8e9c644194dce6a7f5076896.tar.gz diff --git a/package/rtl8189es/rtl8189es.mk b/package/rtl8189es/rtl8189es.mk index 9e4053ae83..51477ccc97 100644 --- a/package/rtl8189es/rtl8189es.mk +++ b/package/rtl8189es/rtl8189es.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8189ES_VERSION = 2c8d44ae26485052f39d933a3a132b3ff395803a +RTL8189ES_VERSION = 39c17661136da48f8e9c644194dce6a7f5076896 RTL8189ES_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189ES_VERSION)) RTL8189ES_LICENSE = GPL-2.0 -- 2.35.1 From havran.jan at email.cz Sun Apr 10 21:28:23 2022 From: havran.jan at email.cz (Jan Havran) Date: Sun, 10 Apr 2022 23:28:23 +0200 Subject: [Buildroot] [PATCH] package/rtl8189fs: bump revision to 73f826f0 Message-ID: Update out-of-tree driver to make it work with Linux kernel v5.17. Signed-off-by: Jan Havran --- package/rtl8189fs/rtl8189fs.hash | 2 +- package/rtl8189fs/rtl8189fs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtl8189fs/rtl8189fs.hash b/package/rtl8189fs/rtl8189fs.hash index a7c3641841..f9772f2a89 100644 --- a/package/rtl8189fs/rtl8189fs.hash +++ b/package/rtl8189fs/rtl8189fs.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 2350a15f866ac82a33c11f9505f2deb0f4aa819b9ac1f4809f8d6893412e73fd rtl8189fs-e10294d2ded27586149fedee1f834d75477b8b40.tar.gz +sha256 fd74248b8cc62e54a954502228be221ace6051832a972b8b3005cc05e9c87761 rtl8189fs-73f826f0fa74b2fc1ad67eaf92bf9787947ae673.tar.gz diff --git a/package/rtl8189fs/rtl8189fs.mk b/package/rtl8189fs/rtl8189fs.mk index 83c7f3ee0d..40b735c21b 100644 --- a/package/rtl8189fs/rtl8189fs.mk +++ b/package/rtl8189fs/rtl8189fs.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8189FS_VERSION = e10294d2ded27586149fedee1f834d75477b8b40 +RTL8189FS_VERSION = 73f826f0fa74b2fc1ad67eaf92bf9787947ae673 RTL8189FS_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189FS_VERSION)) RTL8189FS_LICENSE = GPL-2.0 -- 2.35.1 From peter at korsgaard.com Sun Apr 10 21:48:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:48:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/haproxy: security bump to version 2.4.15 In-Reply-To: <20220410173259.604817-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:32:59 +0200") References: <20220410173259.604817-1-fontaine.fabrice@gmail.com> Message-ID: <871qy4lidq.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP > responses containing the "Set-Cookie2" header. This flaw could allow an > attacker to send crafted HTTP response packets which lead to an infinite > loop, eventually resulting in a denial of service condition. The highest > threat from this vulnerability is availability. > https://www.mail-archive.com/haproxy at formilux.org/msg41963.html > https://www.mail-archive.com/haproxy at formilux.org/msg41873.html > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:48:38 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:48:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4732 In-Reply-To: <20220410173903.624901-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:39:03 +0200") References: <20220410173903.624901-1-fontaine.fabrice@gmail.com> Message-ID: <87wnfwk3t5.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository > vim/vim prior to 8.2.4646. > Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub > repository vim/vim prior to 8.2.4647. > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Apr 10 21:48:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:48:12 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/haproxy: security bump to version 2.4.15 Message-ID: <20220410213903.147138397D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=42706456fc912f76a2ec9842f52e7836a69ea0f3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix CVE-2022-0711: A flaw was found in the way HAProxy processed HTTP responses containing the "Set-Cookie2" header. This flaw could allow an attacker to send crafted HTTP response packets which lead to an infinite loop, eventually resulting in a denial of service condition. The highest threat from this vulnerability is availability. https://www.mail-archive.com/haproxy at formilux.org/msg41963.html https://www.mail-archive.com/haproxy at formilux.org/msg41873.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit f09fc6f958bebc742b0b0c2774eafe988807ad50) Signed-off-by: Peter Korsgaard --- package/haproxy/haproxy.hash | 4 ++-- package/haproxy/haproxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/haproxy/haproxy.hash b/package/haproxy/haproxy.hash index e3120b521f..18834c29b1 100644 --- a/package/haproxy/haproxy.hash +++ b/package/haproxy/haproxy.hash @@ -1,5 +1,5 @@ -# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.13.tar.gz.sha256 -sha256 4788fe975fe7e521746f826c25e80bc95cd15983e2bafa33e43bff23a3fe5ba1 haproxy-2.4.13.tar.gz +# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.15.tar.gz.sha256 +sha256 3958b17b7ee80eb79712aaf24f0d83e753683104b36e282a8b3dcd2418e30082 haproxy-2.4.15.tar.gz # Locally computed: sha256 0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28 LICENSE sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a doc/lgpl.txt diff --git a/package/haproxy/haproxy.mk b/package/haproxy/haproxy.mk index 83d9cfee37..b498549e20 100644 --- a/package/haproxy/haproxy.mk +++ b/package/haproxy/haproxy.mk @@ -5,7 +5,7 @@ ################################################################################ HAPROXY_VERSION_MAJOR = 2.4 -HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).13 +HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).15 HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt From peter at korsgaard.com Sun Apr 10 21:48:18 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 10 Apr 2022 23:48:18 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/vim: security bump to version 8.2.4732 Message-ID: <20220410213903.22B808392C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=989c7c8f7b6ed5c845628ba46099591539c302d7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix CVE-2022-1154: Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646. Fix CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647. Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c96d6925f2e810bddbc8d4a1a98a7d42c66ad339) Signed-off-by: Peter Korsgaard --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d2c91dcfa5..d55b1ea355 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 acca7330e41d01b53d4455ff98fafbf13282ba6461cd92eb1188836f6b03ec0f vim-8.2.4632.tar.gz +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 71aa735eff..4eb659fd6e 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4632 +VIM_VERSION = 8.2.4732 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src From james.hilliard1 at gmail.com Sun Apr 10 23:29:30 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 10 Apr 2022 17:29:30 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: migrate to asyncio subprocess calls Message-ID: <20220410232930.153300-1-james.hilliard1@gmail.com> Since genrandconfig no longer appears to support python2 we can migrate the subprocess calls to use asyncio variants. This has the advantage of allowing for runners like autobuild-run to integrate directly into genrandconfig by calling the asyncio gen_config using importlib instead of having to run genrandconfig as a subprocess. Using asyncio is advantageous here as it eliminates the requirement for the runner to deal with blocking subprocess calls(by having to use threading for example). Also cleanup some unused functions/python2 compatibility shims. Signed-off-by: James Hilliard --- utils/genrandconfig | 88 +++++++++++++++++++++++++-------------------- 1 file changed, 49 insertions(+), 39 deletions(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 59fe34e58d..94bf2c158c 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -18,24 +18,14 @@ # This script generates a random configuration for testing Buildroot. -import contextlib +import asyncio import csv import os from random import randint -import subprocess import sys from distutils.version import StrictVersion import platform -if sys.hexversion >= 0x3000000: - import urllib.request as _urllib -else: - import urllib2 as _urllib - - -def urlopen_closing(uri): - return contextlib.closing(_urllib.urlopen(uri)) - class SystemInfo: DEFAULT_NEEDED_PROGS = ["make", "git", "gcc", "timeout"] @@ -63,7 +53,7 @@ class SystemInfo: # -- return None - def has(self, prog): + async def has(self, prog): """Checks whether a program is available. Lazily evaluates missing entries. @@ -78,11 +68,13 @@ class SystemInfo: have_it = self.find_prog(prog) # java[c] needs special care if have_it and prog in ('java', 'javac'): - with open(os.devnull, "w") as devnull: - if subprocess.call("%s -version | grep gcj" % prog, - shell=True, - stdout=devnull, stderr=devnull) != 1: - have_it = False + proc = await asyncio.create_subprocess_shell( + "%s -version | grep gcj" % prog, + stdout=asyncio.subprocess.DEVNULL, + stderr=asyncio.subprocess.DEVNULL) + ret = await proc.wait() + if ret != 1: + have_it = False # -- self.progs[prog] = have_it return have_it @@ -159,7 +151,7 @@ def get_toolchain_configs(toolchains_csv, buildrootdir): return configs -def is_toolchain_usable(configfile, config): +async def is_toolchain_usable(configfile, config): """Check if the toolchain is actually usable.""" with open(configfile) as configf: @@ -179,8 +171,12 @@ def is_toolchain_usable(configfile, config): 'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y\n' in configlines or \ 'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_BE=y\n' in configlines or \ 'BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB=y\n' in configlines: - ldd_version_output = subprocess.check_output(['ldd', '--version']) - glibc_version = ldd_version_output.splitlines()[0].split()[-1] + proc = await asyncio.create_subprocess_exec( + 'ldd', '--version', stdout=asyncio.subprocess.PIPE) + ldd_version_output, _ = await proc.communicate() + if proc.returncode: + return False + glibc_version = ldd_version_output.splitlines()[0].split()[-1].decode('utf-8') if StrictVersion('2.14') > StrictVersion(glibc_version): print("WARN: ignoring the Linaro ARM toolchains because too old host glibc", file=sys.stderr) return False @@ -188,7 +184,7 @@ def is_toolchain_usable(configfile, config): return True -def fixup_config(sysinfo, configfile): +async def fixup_config(sysinfo, configfile): """Finalize the configuration and reject any problematic combinations This function returns 'True' when the configuration has been @@ -202,7 +198,7 @@ def fixup_config(sysinfo, configfile): BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' - if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): + if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not await sysinfo.has("java"): return False # The ctng toolchain is affected by PR58854 if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \ @@ -507,7 +503,7 @@ def fixup_config(sysinfo, configfile): return True -def gen_config(args): +async def gen_config(args): """Generate a new random configuration This function generates the configuration, by choosing a random @@ -565,7 +561,7 @@ def gen_config(args): # Randomly enable BR2_REPRODUCIBLE 10% of times # also enable tar filesystem images for testing - if sysinfo.has("diffoscope") and randint(0, 10) == 0: + if await sysinfo.has("diffoscope") and randint(0, 10) == 0: configlines.append("BR2_REPRODUCIBLE=y\n") configlines.append("BR2_TARGET_ROOTFS_TAR=y\n") @@ -579,10 +575,13 @@ def gen_config(args): with open(configfile, "w+") as configf: configf.writelines(configlines) - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "olddefconfig") + ret = await proc.wait() + if ret: + return ret - if not is_toolchain_usable(configfile, toolchainconfig): + if not await is_toolchain_usable(configfile, toolchainconfig): return 2 # Now, generate the random selection of packages, and fixup @@ -596,21 +595,32 @@ def gen_config(args): file=sys.stderr) return 1 bounded_loop -= 1 - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "KCONFIG_PROBABILITY=%d" % randint(1, 20), - "randpackageconfig" if args.toolchains_csv else "randconfig"]) - - if fixup_config(sysinfo, configfile): + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "KCONFIG_PROBABILITY=%d" % randint(1, 20), + "randpackageconfig" if args.toolchains_csv else "randconfig") + ret = await proc.wait() + if ret: + return ret + + if await fixup_config(sysinfo, configfile): break - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "olddefconfig") + ret = await proc.wait() + if ret: + return ret - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "savedefconfig") + ret = await proc.wait() + if ret: + return ret - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) + proc = await asyncio.create_subprocess_exec( + "make", "O=%s" % args.outputdir, "-C", args.buildrootdir, "dependencies") + return await proc.wait() if __name__ == '__main__': @@ -642,7 +652,7 @@ if __name__ == '__main__': args.outputdir = os.path.abspath(args.outputdir) try: - ret = gen_config(args) + ret = asyncio.run(gen_config(args)) except Exception as e: print(str(e), file=sys.stderr) parser.exit(1) -- 2.25.1 From baruch at tkos.co.il Mon Apr 11 04:08:53 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Mon, 11 Apr 2022 07:08:53 +0300 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set In-Reply-To: <877d7wogm1.fsf@dell.be.48ers.dk> References: <20220405012059.2680327-1-james.hilliard1@gmail.com> <877d7wogm1.fsf@dell.be.48ers.dk> Message-ID: <87pmlodzw4.fsf@tarshish> Hi Peter, On Sun, Apr 10 2022, Peter Korsgaard wrote: >>>>>> "James" == James Hilliard writes: > > > Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when > > required. > > > Fixes: > > http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 > > > Signed-off-by: James Hilliard > > Committed to 2022.02.x, thanks. Not in 2022.02.x as of commit 989c7c8f7b6e ("package/vim: security bump to version 8.2.4732"). baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From peter at korsgaard.com Mon Apr 11 06:29:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 08:29:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] linux/linux.mk: ensure custom kernel version is set Message-ID: <20220411062028.A5CEF8386F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2abfc4ac716578d1584d670988ba66174762b1fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required. Fixes: http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 84b1eacc328baad3ceb63505ac588022620a05f6) Signed-off-by: Peter Korsgaard --- linux/linux.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 102b7a15d4..7ff7b05042 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -566,6 +566,12 @@ endif ifeq ($(BR_BUILDING),y) +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) +ifeq ($(LINUX_VERSION),) +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) +endif +endif + ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) # We must use the user-supplied kconfig value, because # LINUX_KCONFIG_DEFCONFIG will at least contain the From peter at korsgaard.com Mon Apr 11 06:30:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 08:30:03 +0200 Subject: [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set In-Reply-To: <87pmlodzw4.fsf@tarshish> (Baruch Siach's message of "Mon, 11 Apr 2022 07:08:53 +0300") References: <20220405012059.2680327-1-james.hilliard1@gmail.com> <877d7wogm1.fsf@dell.be.48ers.dk> <87pmlodzw4.fsf@tarshish> Message-ID: <87r164jfo4.fsf@dell.be.48ers.dk> >>>>> "Baruch" == Baruch Siach writes: > Hi Peter, > On Sun, Apr 10 2022, Peter Korsgaard wrote: >>>>>>> "James" == James Hilliard writes: >> >> > Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when >> > required. >> >> > Fixes: >> > http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48 >> >> > Signed-off-by: James Hilliard >> >> Committed to 2022.02.x, thanks. > Not in 2022.02.x as of commit 989c7c8f7b6e ("package/vim: security bump > to version 8.2.4732"). Ups, fixed now - Thanks! -- Bye, Peter Korsgaard From ambi at samba.org Mon Apr 11 06:31:39 2022 From: ambi at samba.org (Christian Ambach) Date: Mon, 11 Apr 2022 08:31:39 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 In-Reply-To: References: <20220408070921.1786-1-ambi@samba.org> Message-ID: <296339a6-e188-9549-12c5-c5983eb6a5ef@samba.org> Am 08.04.2022 um 23:18 schrieb James Hilliard: >> --- a/package/openjdk-bin/openjdk-bin.mk >> +++ b/package/openjdk-bin/openjdk-bin.mk >> @@ -11,8 +11,17 @@ else >> HOST_OPENJDK_BIN_VERSION_MAJOR = 11 >> HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 >> endif >> + >> +HOST_OPENJDK_BIN_HOST_ARCH := $(shell uname -m) > Just use HOSTARCH instead like this: > https://github.com/buildroot/buildroot/blob/8f3cfe41961d83a9c01630f241bf045e3aa59b40/package/rustc/rustc.mk#L14 > Thanks for the hint... I am new to buildroot and tried to use BR2_HOSTARCH, but that didn't work. I looked in other Makefiles but couldn't find HOSTARCH, so I went with my own solution. Patch to follow. Cheers Christian From peter at korsgaard.com Mon Apr 11 06:55:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 08:55:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix build with zlib In-Reply-To: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:28:28 +0200") References: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> Message-ID: <87mtgsjei0.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > internal bind is in version 9.11 and so doesn't support pkg-config > like bind 9.16 resulting in the following build failure since commit > 0c8dd6ebd656e06cf99a63eb93343715f4853503: > configure: error: include/zlib.h not found. > Fixes: > - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 06:55:03 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 08:55:03 +0200 Subject: [Buildroot] [git commit] package/dhcp: fix build with zlib Message-ID: <20220411064551.72DFE83912@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master internal bind is in version 9.11 and so doesn't support pkg-config like bind 9.16 resulting in the following build failure since commit 0c8dd6ebd656e06cf99a63eb93343715f4853503: configure: error: include/zlib.h not found. Fixes: - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/dhcp/dhcp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f1e3c22f1c..460e62a81c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -42,7 +42,7 @@ DHCP_CONF_OPTS = \ --with-relay6-pid-file=/var/run/dhcrelay6.pid ifeq ($(BR2_PACKAGE_ZLIB),y) -DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_BIND_EXTRA_CONFIG += --with-zlib=$(STAGING_DIR)/usr DHCP_DEPENDENCIES += zlib else DHCP_BIND_EXTRA_CONFIG += --without-zlib From ambi at samba.org Mon Apr 11 07:01:25 2022 From: ambi at samba.org (ambi at samba.org) Date: Mon, 11 Apr 2022 09:01:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 In-Reply-To: <296339a6-e188-9549-12c5-c5983eb6a5ef@samba.org> References: <296339a6-e188-9549-12c5-c5983eb6a5ef@samba.org> Message-ID: <20220411070125.77424-1-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index bbc939d4e8..58bb646b45 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz +sha256 f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz +sha256 a77013bff10a5e9c59159231dd5c4bd071fc4c24beed42bd49b82803ba9506ef OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.13_8.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 266c93d363..b731058ca1 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,16 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 endif + +ifeq ($(HOSTARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOSTARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -- 2.25.1 From ambi at samba.org Mon Apr 11 07:04:54 2022 From: ambi at samba.org (ambi at samba.org) Date: Mon, 11 Apr 2022 09:04:54 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarc64 In-Reply-To: <20220411070125.77424-1-ambi@samba.org> References: <20220411070125.77424-1-ambi@samba.org> Message-ID: <20220411070454.77482-1-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- New version with removed duplicate Signed-off-by. package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index bbc939d4e8..58bb646b45 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz +sha256 f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz +sha256 a77013bff10a5e9c59159231dd5c4bd071fc4c24beed42bd49b82803ba9506ef OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.13_8.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 266c93d363..b731058ca1 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,16 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 endif + +ifeq ($(HOSTARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOSTARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -- 2.25.1 From peter at korsgaard.com Mon Apr 11 07:09:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:09:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: needs threads In-Reply-To: <20220410202112.866702-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 22:21:12 +0200") References: <20220410202112.866702-1-fontaine.fabrice@gmail.com> Message-ID: <87ilrgjdux.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > valgrind needs threads since the addition of vgdb in > https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: > vgdb.c:37:10: fatal error: pthread.h: No such file or directory > 37 | #include > | ^~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:10:39 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:10:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/trousers: fix build with libressl >= 2.7.0 In-Reply-To: <20220410154329.294878-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 17:43:29 +0200") References: <20220410154329.294878-1-fontaine.fabrice@gmail.com> Message-ID: <87ee24jdsg.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl >= 2.7.0: > crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration > 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) > | ^~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:09:05 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:09:05 +0200 Subject: [Buildroot] [git commit] package/valgrind: needs threads Message-ID: <20220411070158.2975781400@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2364dafa70245a838f6bfbb95dfc2992e0750a01 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master valgrind needs threads since the addition of vgdb in https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: vgdb.c:37:10: fatal error: pthread.h: No such file or directory 37 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/valgrind/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 56e4af21fa..700849130f 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -7,14 +7,15 @@ config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le depends on !BR2_MIPS_SOFT_FLOAT -comment "valgrind needs a toolchain w/ dynamic library" +comment "valgrind needs a toolchain w/ dynamic library, threads" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_VALGRIND bool "valgrind" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS help Tool for debugging and profiling Linux programs. From peter at korsgaard.com Mon Apr 11 07:10:23 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:10:23 +0200 Subject: [Buildroot] [git commit] package/trousers: fix build with libressl >= 2.7.0 Message-ID: <20220411070158.35B7A83931@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2d4a9308d7b16e4fd613a9070a97c9effa055b4b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl >= 2.7.0: crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- .../0003-Fix-build-with-LibreSSL-2-7.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch new file mode 100644 index 0000000000..65da979f22 --- /dev/null +++ b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch @@ -0,0 +1,24 @@ +Fix build with LibreSSL 2.7 + +LibreSSL 2.7 implemented OpenSSL 1.1 API + +See also: https://reviews.freebsd.org/D14849#change-KhYbRXBMIBod + +Cheers, +Bernard Spil (brnrd at FreeBSD.org) + +[Retrieved (and backported) from: +https://sourceforge.net/p/trousers/bugs/234] +Signed-off-by: Fabrice Fontaine + +--- ./src/trspi/crypto/openssl/rsa.c.orig 2016-11-23 12:26:19 UTC ++++ ./src/trspi/crypto/openssl/rsa.c +@@ -38,7 +38,7 @@ + #define DEBUG_print_openssl_errors() + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + static int + RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { From peter at korsgaard.com Mon Apr 11 07:16:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:16:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/belr: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220410172403.590419-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:24:03 +0200") References: <20220410172403.590419-1-fontaine.fabrice@gmail.com> Message-ID: <87a6csjdjh.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with BR2_SHARED_STATIC_LIBS: > CMake Error at src/CMakeLists.txt:56 (add_library): > add_library cannot create target "belr" because another target with the > same name already exists. The existing target is a static library created > in source directory > Fixes: > - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb > Signed-off-by: Fabrice Fontaine > --- > package/belr/belr.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > diff --git a/package/belr/belr.mk b/package/belr/belr.mk > index f243830a85..1a849328ec 100644 > --- a/package/belr/belr.mk > +++ b/package/belr/belr.mk > @@ -18,7 +18,7 @@ BELR_CONF_OPTS = \ > ifeq ($(BR2_STATIC_LIBS),y) > BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON > else ifeq ($(BR2_SHARED_STATIC_LIBS),y) > -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON > +BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF > else ifeq ($(BR2_SHARED_LIBS),y) > BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF > endif This makes the BR2_SHARED_STATIC_LIBS and BR2_SHARED_LIBS conditionals the same, so I just changed it to: ifeq ($(BR2_STATIC_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON else # cannot build static and shared together BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF endif And committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:16:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:16:14 +0200 Subject: [Buildroot] [PATCH] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series In-Reply-To: <20220410202442.1249348-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 10 Apr 2022 22:24:42 +0200") References: <20220410202442.1249348-1-peter@korsgaard.com> Message-ID: <875yngjdj5.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:16:22 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:16:22 +0200 Subject: [Buildroot] [PATCH] package/bind: security bump to version 9.16.27 In-Reply-To: <20220410205111.1336415-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 10 Apr 2022 22:51:10 +0200") References: <20220410205111.1336415-1-peter@korsgaard.com> Message-ID: <871qy4jdix.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issues: > - The rules for acceptance of records into the cache have been tightened to > prevent the possibility of poisoning if forwarders send records outside > the configured bailiwick. (CVE-2021-25220) > - TCP connections with keep-response-order enabled could leave the TCP > sockets in the CLOSE_WAIT state when the client did not properly shut down > the connection. (CVE-2022-0396) > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:15:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:15:19 +0200 Subject: [Buildroot] [git commit] package/belr: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220411070652.14DFB8377B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c9bee083e0baea16eb91af117033d0ff3fd290b1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with BR2_SHARED_STATIC_LIBS: CMake Error at src/CMakeLists.txt:56 (add_library): add_library cannot create target "belr" because another target with the same name already exists. The existing target is a static library created in source directory Fixes: - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb Signed-off-by: Fabrice Fontaine [Peter: simplify/add comment explaining why] Signed-off-by: Peter Korsgaard --- package/belr/belr.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/belr/belr.mk b/package/belr/belr.mk index f243830a85..26b949734f 100644 --- a/package/belr/belr.mk +++ b/package/belr/belr.mk @@ -17,9 +17,8 @@ BELR_CONF_OPTS = \ ifeq ($(BR2_STATIC_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_LIBS),y) +else +# cannot build static and shared together BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF endif From peter at korsgaard.com Mon Apr 11 07:15:50 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:15:50 +0200 Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series Message-ID: <20220411070652.1FA8883912@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c3ac7eb13346789f9a48e8a302fe92181ff5dde3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index f25b662aa5..4b4ea8d92b 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -125,7 +125,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "5.15.30" if BR2_LINUX_KERNEL_LATEST_VERSION + default "5.15.33" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.104-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.104-cip3-rt3" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 87a0f0465b..cf7ccc5cc5 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 cca7d6e053e33f44af1b39f7becec73a387911d81ede5a84ecf671692533138f linux-5.16.16.tar.xz -sha256 254ea2fe08f0aa07e4f7fffe95d12463df7fa6ff8a9ba72f321da15e50fa7132 linux-5.15.30.tar.xz -sha256 c467c3077946370fb26c9277313b601d6c48bb557abc889f4892caf627fcdfea linux-5.10.107.tar.xz -sha256 61f7cd24cb8a38d41891d9066c1dfd14a688a9dff7f485922e385654ea8b39b9 linux-5.4.186.tar.xz +sha256 da6d2cfa8b5b82d8a17b032a627fc1c7885097523c32cc8a4294745697d59b7e linux-5.16.19.tar.xz +sha256 c30a17e6090f9ebf2d8ff58cd6c92c7324b1f4a8b3aa6a7f68850310af05a9c4 linux-5.15.33.tar.xz +sha256 dbef6a06325433481551cb8cfca9254d908d0ae950bc809f3da8ade00c485693 linux-5.10.110.tar.xz +sha256 9fbc8bfdc28c9fce2307bdf7cf1172c9819df673397a411c40a5c3d0a570fdbc linux-5.4.188.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz -sha256 47470f83aa64e0098830a53176c959740742973663fead7ca7cc7b84e1f9d0f7 linux-4.9.307.tar.xz -sha256 9b6178099cf33c534c971f3f065c0debe92788f0f504d54badb2f8c2ee089d69 linux-4.14.272.tar.xz -sha256 530c5ac848111bbf7d1ad407a4ce8173ef8f9a4554477a32c695c5a4eaf02598 linux-4.19.235.tar.xz +sha256 e86a55a89e1e28756b890b2b78f8b582d05cecb3509ff5c353e9534866468614 linux-4.9.309.tar.xz +sha256 100a9960fb2d8e079c9feeef640715a7fb749ed728a57e427f9e2443212e58f9 linux-4.14.275.tar.xz +sha256 bafff35102cc486ec2bf94c6d908be8e24017b2e4a1873f52f24c855eb220cd8 linux-4.19.237.tar.xz # Locally computed sha256 63e6df81c4a747c60eed535ffc2f6f1ddb0c17ec349e860316d9a700c69ab38e linux-cip-5.10.104-cip3.tar.gz sha256 9a45929d91ebaddbf6a0ef29750775e33d3c3f56f42f0a9e95e77e5b4eba3c6e linux-cip-5.10.104-cip3-rt3.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 479f64b72e..decf02d175 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -381,13 +381,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string default "4.4.302" if BR2_KERNEL_HEADERS_4_4 - default "4.9.307" if BR2_KERNEL_HEADERS_4_9 - default "4.14.272" if BR2_KERNEL_HEADERS_4_14 - default "4.19.235" if BR2_KERNEL_HEADERS_4_19 - default "5.4.186" if BR2_KERNEL_HEADERS_5_4 - default "5.10.107" if BR2_KERNEL_HEADERS_5_10 - default "5.15.30" if BR2_KERNEL_HEADERS_5_15 - default "5.16.16" if BR2_KERNEL_HEADERS_5_16 + default "4.9.309" if BR2_KERNEL_HEADERS_4_9 + default "4.14.275" if BR2_KERNEL_HEADERS_4_14 + default "4.19.237" if BR2_KERNEL_HEADERS_4_19 + default "5.4.188" if BR2_KERNEL_HEADERS_5_4 + default "5.10.110" if BR2_KERNEL_HEADERS_5_10 + default "5.15.33" if BR2_KERNEL_HEADERS_5_15 + default "5.16.19" if BR2_KERNEL_HEADERS_5_16 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Mon Apr 11 07:15:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:15:59 +0200 Subject: [Buildroot] [git commit] package/bind: security bump to version 9.16.27 Message-ID: <20220411070652.29DAA8396A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1fe5029122c8d6aba0194d6b9b0ddcd1fde2ee8d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - The rules for acceptance of records into the cache have been tightened to prevent the possibility of poisoning if forwarders send records outside the configured bailiwick. (CVE-2021-25220) - TCP connections with keep-response-order enabled could leave the TCP sockets in the CLOSE_WAIT state when the client did not properly shut down the connection. (CVE-2022-0396) Signed-off-by: Peter Korsgaard --- package/bind/bind.hash | 4 ++-- package/bind/bind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/bind/bind.hash b/package/bind/bind.hash index 401e389e49..2c10a0429b 100644 --- a/package/bind/bind.hash +++ b/package/bind/bind.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc +# Verified from https://ftp.isc.org/isc/bind9/9.16.27/bind-9.16.27.tar.xz.asc # with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD -sha256 70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45 bind-9.16.26.tar.xz +sha256 90902aaf104c81019d75d6f8b2f7ec40fcd249406f894b44e4a9c6b5e08bf566 bind-9.16.27.tar.xz sha256 daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155 COPYRIGHT diff --git a/package/bind/bind.mk b/package/bind/bind.mk index a595baabc5..5164001ab5 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -4,7 +4,7 @@ # ################################################################################ -BIND_VERSION = 9.16.26 +BIND_VERSION = 9.16.27 BIND_SOURCE= bind-$(BIND_VERSION).tar.xz BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION) # bind does not support parallel builds. From peter at korsgaard.com Mon Apr 11 07:46:14 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:46:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/lftp: fix build with libressl In-Reply-To: <20220410141043.144288-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 16:10:43 +0200") References: <20220410141043.144288-1-fontaine.fabrice@gmail.com> Message-ID: <87wnfwhxkp.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl > 2.7.0: > /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: > /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): > in function `X509_OBJECT_get0_X509_CRL': > (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; > /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): > first defined here > Fixes: > - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 08:02:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 10:02:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix build with libressl In-Reply-To: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 7 Apr 2022 18:41:14 +0200") References: <20220407164114.1024718-1-fontaine.fabrice@gmail.com> Message-ID: <87sfqkhwt8.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' > Fixes: > - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 07:45:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:45:56 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/lftp: fix build with libressl Message-ID: <20220411075311.03A6F82A38@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e666b0d743cf55d233e4da04c05f084e8ee59b95 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl > 2.7.0: /nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': (.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here Fixes: - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit e8394943e80c847793f13555697e0b4c76483322) Signed-off-by: Peter Korsgaard --- ...-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch new file mode 100644 index 0000000000..4251a5e176 --- /dev/null +++ b/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch @@ -0,0 +1,36 @@ +From 3ffa0132987bdde986c82c924bc51b13b37f8b54 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 22:56:21 +0200 +Subject: [PATCH] src/lftp_ssl.c: fix build with libressl >= 2.7.0 + +X509_OBJECT_get0_X509_CRL is provided by libressl since version 2.7.0 +and +https://github.com/libressl-portable/openbsd/commit/9866ae34c0af718973475296bd9ef036d3aaa94e +resulting in the following build failure: + +/nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': +(.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here + +Fixes: + - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54] +--- + src/lftp_ssl.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 26e91e4b..a814543d 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -664,7 +664,7 @@ int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int* cert_max + #elif USE_OPENSSL + //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + // for compatibility with older versions + X509_OBJECT *X509_OBJECT_new() + { From peter at korsgaard.com Mon Apr 11 07:46:59 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 09:46:59 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/tvheadend: bump version Message-ID: <20220411075311.0D26F8397D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a52018aba6e9c2f201ababcbefdc1b178aebb608 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Removed patch which was applied upstream: https://github.com/tvheadend/tvheadend/commit/fb7b24114685a7e38d842168dce4c613360cd330 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 0846221426b1cefa9e569f1927bc6fed102acb36) Signed-off-by: Peter Korsgaard --- .../0002-configure-add-execinfo-option.patch | 55 ---------------------- package/tvheadend/tvheadend.hash | 2 +- package/tvheadend/tvheadend.mk | 2 +- 3 files changed, 2 insertions(+), 57 deletions(-) diff --git a/package/tvheadend/0002-configure-add-execinfo-option.patch b/package/tvheadend/0002-configure-add-execinfo-option.patch deleted file mode 100644 index c55d127d58..0000000000 --- a/package/tvheadend/0002-configure-add-execinfo-option.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 04c01e631cb1bf47dd50b1ef92a086308e380eff Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 1 Jan 2022 16:53:29 +0100 -Subject: [PATCH] configure: add execinfo option - -Add execinfo option to allow the user to disable the feature even if -execinfo.h is found on the system - -Signed-off-by: Fabrice Fontaine -[Upsteam status: https://github.com/tvheadend/tvheadend/pull/1431] ---- - configure | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 4dad024c4..c087502bf 100755 ---- a/configure -+++ b/configure -@@ -75,6 +75,7 @@ OPTIONS=( - "ddci:yes" - "cclang_threadsan:no" - "gperftools:no" -+ "execinfo:auto" - ) - - # -@@ -150,11 +151,23 @@ if [ ${PLATFORM} = "freebsd" ]; then - # If we don't have libunwind then fallback to execinfo. - if ! enabled libunwind - then -- check_cc_header execinfo -+ if enabled_or_auto execinfo; then -+ if check_cc_header execinfo; then -+ enable execinfo -+ else -+ die "execinfo.h not found (use --disable-execinfo)" -+ fi -+ fi - fi - - else -- check_cc_header execinfo -+ if enabled_or_auto execinfo; then -+ if check_cc_header execinfo; then -+ enable execinfo -+ else -+ die "execinfo.h not found (use --disable-execinfo)" -+ fi -+ fi - fi - check_cc_option mmx - check_cc_option sse2 --- -2.33.0 - diff --git a/package/tvheadend/tvheadend.hash b/package/tvheadend/tvheadend.hash index db06af53b7..44ff745221 100644 --- a/package/tvheadend/tvheadend.hash +++ b/package/tvheadend/tvheadend.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 11eeca461e74fbe8306916933cab96d35a99fa89d81e26126e194875c41b6fad tvheadend-b8710206eb073c72b142bce95846b77a0ffa34a6.tar.gz +sha256 10b8e8387cf341a8c639b3ecbab17dd245dc109afd6c99ca6b7fc3f2b5efc50e tvheadend-1295dd2be863f5beb764290fce9317b24193dfc0.tar.gz sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index 58ebdcb054..d2547b8746 100644 --- a/package/tvheadend/tvheadend.mk +++ b/package/tvheadend/tvheadend.mk @@ -4,7 +4,7 @@ # ################################################################################ -TVHEADEND_VERSION = b8710206eb073c72b142bce95846b77a0ffa34a6 +TVHEADEND_VERSION = 1295dd2be863f5beb764290fce9317b24193dfc0 TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) TVHEADEND_LICENSE = GPL-3.0+ TVHEADEND_LICENSE_FILES = LICENSE.md From johannes.agricola at work-microwave.com Mon Apr 11 08:23:09 2022 From: johannes.agricola at work-microwave.com (Johannes Agricola) Date: Mon, 11 Apr 2022 10:23:09 +0200 Subject: [Buildroot] [PATCH v2] package/libwebsockets: bump to version 4.3.1 Message-ID: <20220411082308.1528455-1-johannes.agricola@work-microwave.com> This is quite a version jump, so there are a lot of individual changes, see: https://github.com/warmcat/libwebsockets/blob/v4.3.1/changelog LICENSE has also changed: - More items with license "MIT" were added: - lib/misc/base64-decode.c - lib/plat/windows/windows-resolv.c - One more item with a 2-Clause BSD license was added: - lib/misc/ieeehalfprecision.c - Sublicense texts were copied into LICENSE These should still be compatible with "MIT with exceptions" stated in `libwebsockets.mk`. Signed-off-by: Johannes Agricola --- Changes v1 -> v2: - Update LICENSE hash - Add changelog and LICENSE changes to commit message --- package/libwebsockets/libwebsockets.hash | 4 ++-- package/libwebsockets/libwebsockets.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash index 1761a7658a..e39d6e1853 100644 --- a/package/libwebsockets/libwebsockets.hash +++ b/package/libwebsockets/libwebsockets.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 6ece1f422c6d38aabedec2476f2ac12e9aede8691b08137068ad85545ce3ff78 libwebsockets-4.0.21.tar.gz -sha256 5756db345eb9c21cb06dd7cb69c38ec234657a233f9a186b4f5fa453681bd394 LICENSE +sha256 8fdb1454a1b34cd9a6351beaab237a485e6853806101de7e62bd2bc250bb50af libwebsockets-4.3.1.tar.gz +sha256 2b5dd8030691f3d1870a040f085c37e45d9ab9c684a7f1284f5f379c1e829b28 LICENSE diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index c25686d385..152659cee6 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBWEBSOCKETS_VERSION = 4.0.21 +LIBWEBSOCKETS_VERSION = 4.3.1 LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION)) LIBWEBSOCKETS_LICENSE = MIT with exceptions LIBWEBSOCKETS_LICENSE_FILES = LICENSE -- 2.25.1 From yegorslists at googlemail.com Mon Apr 11 09:07:23 2022 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Mon, 11 Apr 2022 11:07:23 +0200 Subject: [Buildroot] [PATCH] package/wpa_supplicant: enable libnl for the WIRED driver Message-ID: <20220411090723.13504-1-yegorslists@googlemail.com> From: Yegor Yefremov BR2_PACKAGE_WPA_SUPPLICANT_WIRED also enables the MACSEC_LINUX driver. This driver requires libnl. Also fix CONFIG_DRIVER_MACSEC option to enable only the generic Linux driver and not QCA extensions. Fixes: http://autobuild.buildroot.net/results/2dea7dee521794b306cc610601fda322987e6cd0 Signed-off-by: Yegor Yefremov --- package/wpa_supplicant/Config.in | 2 ++ package/wpa_supplicant/wpa_supplicant.mk | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index 8f095cdf2d..0094531548 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -41,6 +41,8 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WEXT config BR2_PACKAGE_WPA_SUPPLICANT_WIRED bool "Enable wired support" + depends on BR2_TOOLCHAIN_HAS_THREADS # libnl + select BR2_PACKAGE_LIBNL select BR2_PACKAGE_WPA_SUPPLICANT_EAP help Include the "wired" driver, so the internal IEEE 802.1x diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index a2ca8a0b30..ac66d1f7e0 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -63,11 +63,18 @@ WPA_SUPPLICANT_CONFIG_DISABLE += \ CONFIG_FILS endif -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIRED),) +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIRED),y) +WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf libnl +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_LIBNL32 +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_DRIVER_WIRED \ + CONFIG_MACSEC \ + CONFIG_DRIVER_MACSEC_LINUX +else WPA_SUPPLICANT_CONFIG_DISABLE += \ CONFIG_DRIVER_WIRED \ CONFIG_MACSEC \ - CONFIG_DRIVER_MACSEC + CONFIG_DRIVER_MACSEC_LINUX endif ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT),) -- 2.17.0 From peter at korsgaard.com Mon Apr 11 09:42:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:42:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/woff2: use github helper In-Reply-To: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 20:55:52 +0200") References: <20220406185552.4011357-1-fontaine.fabrice@gmail.com> Message-ID: <87o818hs6j.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:42:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:42:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/spice: needs C++ In-Reply-To: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 21:14:38 +0200") References: <20220406191438.4012422-1-fontaine.fabrice@gmail.com> Message-ID: <87k0bwhs67.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > spice needs C++ since bump to version 0.15.0 in commit > b784f1bc0fc3ac33a20549069a81ff98260b58e9 and > https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: > configure: error: *** A compiler with support for C++11 language features is required. > Fixes: > - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:43:12 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:43:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/stunnel: doesn't build with libressl In-Reply-To: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 19:25:37 +0200") References: <20220406172537.4008580-1-fontaine.fabrice@gmail.com> Message-ID: <87fsmkhs5r.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl: > In file included from tls.c:39: > prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' > 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; > | ^~~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:43:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:43:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/intel-gmmlib: needs C++ In-Reply-To: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:23:44 +0200") References: <20220406162344.4005462-1-fontaine.fabrice@gmail.com> Message-ID: <87bkx8hs4w.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > intel-gmmlib needs C++ since its addition in commit > 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and > https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: > CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > "/usr/bin/clang++" > is not able to compile a simple test program. > Fixes: > - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:44:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:44:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/liburing: needs MMU In-Reply-To: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 5 Apr 2022 22:40:04 +0200") References: <20220405204004.1967462-1-fontaine.fabrice@gmail.com> Message-ID: <877d7whs49.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > liburing needs MMU since its addition in commit > 03ca6f4e39874583060317e7e15e9e360220877e: > setup.c: In function 'io_uring_ring_dontfork': > setup.c:119:8: warning: implicit declaration of function 'madvise'; > did you mean 'raise'? [-Wimplicit-function-declaration] > 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); > | ^~~~~~~ > | raise > Fixes: > - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:44:48 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:44:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix build with zlib In-Reply-To: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:28:28 +0200") References: <20220406162828.4005662-1-fontaine.fabrice@gmail.com> Message-ID: <8735ikhs33.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > internal bind is in version 9.11 and so doesn't support pkg-config > like bind 9.16 resulting in the following build failure since commit > 0c8dd6ebd656e06cf99a63eb93343715f4853503: > configure: error: include/zlib.h not found. > Fixes: > - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:45:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:45:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: needs threads In-Reply-To: <20220410202112.866702-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 22:21:12 +0200") References: <20220410202112.866702-1-fontaine.fabrice@gmail.com> Message-ID: <87y20cgdi3.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > valgrind needs threads since the addition of vgdb in > https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: > vgdb.c:37:10: fatal error: pthread.h: No such file or directory > 37 | #include > | ^~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:45:34 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:45:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/trousers: fix build with libressl >= 2.7.0 In-Reply-To: <20220410154329.294878-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 17:43:29 +0200") References: <20220410154329.294878-1-fontaine.fabrice@gmail.com> Message-ID: <87tub0gdhd.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with libressl >= 2.7.0: > crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration > 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) > | ^~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:46:11 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:46:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/belr: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220410172403.590419-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 19:24:03 +0200") References: <20220410172403.590419-1-fontaine.fabrice@gmail.com> Message-ID: <87pmlogdgc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with BR2_SHARED_STATIC_LIBS: > CMake Error at src/CMakeLists.txt:56 (add_library): > add_library cannot create target "belr" because another target with the > same name already exists. The existing target is a static library created > in source directory > Fixes: > - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 09:41:46 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:41:46 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/woff2: use github helper Message-ID: <20220411093636.DBB2D838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=74399277a5a077973b3b86e5f9dde4b93f056f86 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro Signed-off-by: Peter Korsgaard (cherry picked from commit 4b1080d57ae642bd5d4b5783c49d4ba49f13dfe8) Signed-off-by: Peter Korsgaard --- package/woff2/woff2.hash | 2 +- package/woff2/woff2.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/woff2/woff2.hash b/package/woff2/woff2.hash index 469071e3c2..0812dabcf1 100644 --- a/package/woff2/woff2.hash +++ b/package/woff2/woff2.hash @@ -1,5 +1,5 @@ # Locally generated: -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz # Hash for license files: sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk index b2ff33fe98..937e8cf736 100644 --- a/package/woff2/woff2.mk +++ b/package/woff2/woff2.mk @@ -5,8 +5,7 @@ ################################################################################ WOFF2_VERSION = 1.0.2 -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz -WOFF2_SITE = https://github.com/google/woff2/archive +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) WOFF2_LICENSE = MIT WOFF2_LICENSE_FILES = LICENSE WOFF2_INSTALL_STAGING = YES From peter at korsgaard.com Mon Apr 11 09:42:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:42:02 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/spice: needs C++ Message-ID: <20220411093636.E994883984@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1424a67d0a8279a126f4bd87accbd5de8718be2b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x spice needs C++ since bump to version 0.15.0 in commit b784f1bc0fc3ac33a20549069a81ff98260b58e9 and https://github.com/freedesktop/spice/commit/e6e6ded681ff154f236f260f071389c4c8c0d944: configure: error: *** A compiler with support for C++11 language features is required. Fixes: - http://autobuild.buildroot.org/results/4e0dc43c28d45176cccf573fb56ea9690192f754 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 35be926c97836989d6cecbc7ecb49f9c9bd46eba) Signed-off-by: Peter Korsgaard --- package/spice/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index 2241b55b3d..ca5c562ca1 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -1,12 +1,14 @@ -comment "spice server needs a toolchain w/ wchar, threads" +comment "spice server needs a toolchain w/ wchar, threads, C++" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_SPICE bool "spice server" depends on BR2_i386 || BR2_x86_64 depends on BR2_USE_WCHAR # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_JPEG select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL From peter at korsgaard.com Mon Apr 11 09:43:24 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:43:24 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/intel-gmmlib: needs C++ Message-ID: <20220411093637.1579883984@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5f5d54f0cf7c0619923b853a2009d68c07fbe1cc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x intel-gmmlib needs C++ since its addition in commit 93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3: CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c0aaf9cc9e85f63ab4334db8c6deca25e6f8e878) Signed-off-by: Peter Korsgaard --- package/intel-gmmlib/Config.in | 5 +++-- package/intel-mediadriver/Config.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/intel-gmmlib/Config.in b/package/intel-gmmlib/Config.in index 9d5fbd9cae..b6f93f7416 100644 --- a/package/intel-gmmlib/Config.in +++ b/package/intel-gmmlib/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_INTEL_GMMLIB bool "intel-gmmlib" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP help The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) @@ -10,5 +11,5 @@ config BR2_PACKAGE_INTEL_GMMLIB https://github.com/intel/gmmlib -comment "intel-gmmlib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "intel-gmmlib needs a toolchain w/ dynamic library, C++" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/intel-mediadriver/Config.in b/package/intel-mediadriver/Config.in index c29c2fb6ab..ad56590008 100644 --- a/package/intel-mediadriver/Config.in +++ b/package/intel-mediadriver/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER bool "intel-mediadriver" depends on BR2_x86_64 depends on !BR2_STATIC_LIBS # mesa3d, libva - depends on BR2_INSTALL_LIBSTDCPP # mesa3d + depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d depends on BR2_TOOLCHAIN_HAS_THREADS # libva depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d From peter at korsgaard.com Mon Apr 11 09:44:58 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:44:58 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/valgrind: needs threads Message-ID: <20220411093637.3F8E5838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=117b6c1161ffff1574691bf0ff8b9e79e397c080 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x valgrind needs threads since the addition of vgdb in https://sourceware.org/git/?p=valgrind.git;a=commit;h=2ee9e9048658773ceef3d30eb79f44764a024f3c: vgdb.c:37:10: fatal error: pthread.h: No such file or directory 37 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ffa2dbfd6d5efcc50d447c0e759fb4ffce0b59b9 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 2364dafa70245a838f6bfbb95dfc2992e0750a01) Signed-off-by: Peter Korsgaard --- package/valgrind/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 56e4af21fa..700849130f 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -7,14 +7,15 @@ config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le depends on !BR2_MIPS_SOFT_FLOAT -comment "valgrind needs a toolchain w/ dynamic library" +comment "valgrind needs a toolchain w/ dynamic library, threads" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_VALGRIND bool "valgrind" depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS help Tool for debugging and profiling Linux programs. From peter at korsgaard.com Mon Apr 11 09:43:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:43:55 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/liburing: needs MMU Message-ID: <20220411093637.2562A8026C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=74ebf870111f0f3ea95c7daa13637866de8f59a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x liburing needs MMU since its addition in commit 03ca6f4e39874583060317e7e15e9e360220877e: setup.c: In function 'io_uring_ring_dontfork': setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); | ^~~~~~~ | raise Fixes: - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit b5f07f62eb0392c3bddd63ac16d12adec7e98812) Signed-off-by: Peter Korsgaard --- package/liburing/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/liburing/Config.in b/package/liburing/Config.in index d65a3f1322..fc13f1c17c 100644 --- a/package/liburing/Config.in +++ b/package/liburing/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBURING bool "liburing" + depends on BR2_USE_MMU # madvise() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 help @@ -11,5 +12,6 @@ config BR2_PACKAGE_LIBURING https://git.kernel.dk/cgit/liburing comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 From peter at korsgaard.com Mon Apr 11 09:42:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:42:19 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/stunnel: doesn't build with libressl Message-ID: <20220411093637.03A11838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=26564c4427e3d27cb31f751b3a1b5c7f58e5cbf0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl: In file included from tls.c:39: prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit e4032672736614397c803584ba7bb8a20ae1896e) Signed-off-by: Peter Korsgaard --- package/stunnel/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/stunnel/Config.in b/package/stunnel/Config.in index 087fecd930..a46e2f0316 100644 --- a/package/stunnel/Config.in +++ b/package/stunnel/Config.in @@ -2,7 +2,8 @@ config BR2_PACKAGE_STUNNEL bool "stunnel" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES help Stunnel is a program that wraps any TCP connection with an SSL connection. From peter at korsgaard.com Mon Apr 11 09:46:02 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:46:02 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/belr: fix BR2_SHARED_STATIC_LIBS build Message-ID: <20220411093637.55DD0838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fd87c506cb44dcd9d38800ba5712f2d45ae8069f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with BR2_SHARED_STATIC_LIBS: CMake Error at src/CMakeLists.txt:56 (add_library): add_library cannot create target "belr" because another target with the same name already exists. The existing target is a static library created in source directory Fixes: - http://autobuild.buildroot.org/results/d1ef96c8f370b5a522985c37f1681dd10bbc15bb Signed-off-by: Fabrice Fontaine [Peter: simplify/add comment explaining why] Signed-off-by: Peter Korsgaard (cherry picked from commit c9bee083e0baea16eb91af117033d0ff3fd290b1) Signed-off-by: Peter Korsgaard --- package/belr/belr.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/belr/belr.mk b/package/belr/belr.mk index f243830a85..26b949734f 100644 --- a/package/belr/belr.mk +++ b/package/belr/belr.mk @@ -17,9 +17,8 @@ BELR_CONF_OPTS = \ ifeq ($(BR2_STATIC_LIBS),y) BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_LIBS),y) +else +# cannot build static and shared together BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF endif From peter at korsgaard.com Mon Apr 11 09:44:34 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:44:34 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/dhcp: fix build with zlib Message-ID: <20220411093637.3234483984@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0397064a9a147903e9e0c16b2506319ea4a246fb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x internal bind is in version 9.11 and so doesn't support pkg-config like bind 9.16 resulting in the following build failure since commit 0c8dd6ebd656e06cf99a63eb93343715f4853503: configure: error: include/zlib.h not found. Fixes: - http://autobuild.buildroot.org/results/7a5cdf30881d208807976cf98960c5fe2abfed50 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 789a08dac5808401629d6fc586b7377f54ebb316) Signed-off-by: Peter Korsgaard --- package/dhcp/dhcp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f1e3c22f1c..460e62a81c 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -42,7 +42,7 @@ DHCP_CONF_OPTS = \ --with-relay6-pid-file=/var/run/dhcrelay6.pid ifeq ($(BR2_PACKAGE_ZLIB),y) -DHCP_BIND_EXTRA_CONFIG += --with-zlib +DHCP_BIND_EXTRA_CONFIG += --with-zlib=$(STAGING_DIR)/usr DHCP_DEPENDENCIES += zlib else DHCP_BIND_EXTRA_CONFIG += --without-zlib From peter at korsgaard.com Mon Apr 11 09:45:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 11:45:25 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/trousers: fix build with libressl >= 2.7.0 Message-ID: <20220411093637.4AB4A83984@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c60a3579855b31718e6bd2717754d4aa869ae009 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl >= 2.7.0: crypto/openssl/rsa.c:43:1: error: static declaration of 'RSA_set0_key' follows non-static declaration 43 | RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/607131255453da2dc0dab20a24264b3e74001525 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 2d4a9308d7b16e4fd613a9070a97c9effa055b4b) Signed-off-by: Peter Korsgaard --- .../0003-Fix-build-with-LibreSSL-2-7.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch new file mode 100644 index 0000000000..65da979f22 --- /dev/null +++ b/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch @@ -0,0 +1,24 @@ +Fix build with LibreSSL 2.7 + +LibreSSL 2.7 implemented OpenSSL 1.1 API + +See also: https://reviews.freebsd.org/D14849#change-KhYbRXBMIBod + +Cheers, +Bernard Spil (brnrd at FreeBSD.org) + +[Retrieved (and backported) from: +https://sourceforge.net/p/trousers/bugs/234] +Signed-off-by: Fabrice Fontaine + +--- ./src/trspi/crypto/openssl/rsa.c.orig 2016-11-23 12:26:19 UTC ++++ ./src/trspi/crypto/openssl/rsa.c +@@ -38,7 +38,7 @@ + #define DEBUG_print_openssl_errors() + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + static int + RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { From marcus.hoffmann at othermo.de Mon Apr 11 12:28:51 2022 From: marcus.hoffmann at othermo.de (Marcus Hoffmann) Date: Mon, 11 Apr 2022 14:28:51 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <20220405185320.319C18361B@busybox.osuosl.org> References: <20220405185320.319C18361B@busybox.osuosl.org> Message-ID: <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> Hi Peter, On 05.04.22 19:28, Peter Korsgaard wrote: > commit: https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > > Fixes the following security issues: > > - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes > https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 > > - CVE-2022-24769: Default inheritable capabilities for linux container > should be empty > https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c > > Signed-off-by: Peter Korsgaard > --- > package/containerd/containerd.hash | 2 +- > package/containerd/containerd.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash > index d5aafe2e70..23dacded88 100644 > --- a/package/containerd/containerd.hash > +++ b/package/containerd/containerd.hash > @@ -1,3 +1,3 @@ > # Computed locally > -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz > +sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz I get a different hash for this download, both within buildroot as well as downloading the file manually from github: ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 ERROR: got : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 ERROR: Incomplete download, or man-in-the-middle (MITM) attack Did the file change in the meantime or did something else go wrong here? Should send a patch changing the hash to 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? > [...] Best, Marcus From theo.lebrun at bootlin.com Mon Apr 11 13:01:06 2022 From: theo.lebrun at bootlin.com (=?UTF-8?q?Th=C3=A9o=20Lebrun?=) Date: Mon, 11 Apr 2022 15:01:06 +0200 Subject: [Buildroot] [PATCH] package/wireplumber: make dbus optional Message-ID: <20220411130106.468304-1-theo.lebrun@bootlin.com> Signed-off-by: Th?o Lebrun --- package/wireplumber/wireplumber.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/wireplumber/wireplumber.mk b/package/wireplumber/wireplumber.mk index 327138391d..763e3d7639 100644 --- a/package/wireplumber/wireplumber.mk +++ b/package/wireplumber/wireplumber.mk @@ -9,13 +9,17 @@ WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2 WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION) WIREPLUMBER_LICENSE = MIT WIREPLUMBER_LICENSE_FILES = LICENSE -WIREPLUMBER_DEPENDENCIES = host-pkgconf dbus pipewire libglib2 lua +WIREPLUMBER_DEPENDENCIES = host-pkgconf pipewire libglib2 lua WIREPLUMBER_CONF_OPTS = \ -Ddoc=disabled \ -Dsystem-lua=true \ -Dsystem-lua-version= +ifeq ($(BR2_PACKAGE_DBUS),y) +WIREPLUMBER_DEPENDENCIES += dbus +endif + ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) WIREPLUMBER_DEPENDENCIES += host-doxygen host-python-lxml gobject-introspection WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled -- 2.35.1 From peter at korsgaard.com Mon Apr 11 13:32:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 15:32:40 +0200 Subject: [Buildroot] [PATCH] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series In-Reply-To: <20220410202442.1249348-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 10 Apr 2022 22:24:42 +0200") References: <20220410202442.1249348-1-peter@korsgaard.com> Message-ID: <87lewbhhjb.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Signed-off-by: Peter Korsgaard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 13:32:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 15:32:10 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 16}.x series Message-ID: <20220411132308.494E38349B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2084453706fe5c95117d0acd251dc36c1da3a57a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit c3ac7eb13346789f9a48e8a302fe92181ff5dde3) Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index f25b662aa5..4b4ea8d92b 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -125,7 +125,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "5.15.30" if BR2_LINUX_KERNEL_LATEST_VERSION + default "5.15.33" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.104-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.104-cip3-rt3" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 87a0f0465b..cf7ccc5cc5 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 cca7d6e053e33f44af1b39f7becec73a387911d81ede5a84ecf671692533138f linux-5.16.16.tar.xz -sha256 254ea2fe08f0aa07e4f7fffe95d12463df7fa6ff8a9ba72f321da15e50fa7132 linux-5.15.30.tar.xz -sha256 c467c3077946370fb26c9277313b601d6c48bb557abc889f4892caf627fcdfea linux-5.10.107.tar.xz -sha256 61f7cd24cb8a38d41891d9066c1dfd14a688a9dff7f485922e385654ea8b39b9 linux-5.4.186.tar.xz +sha256 da6d2cfa8b5b82d8a17b032a627fc1c7885097523c32cc8a4294745697d59b7e linux-5.16.19.tar.xz +sha256 c30a17e6090f9ebf2d8ff58cd6c92c7324b1f4a8b3aa6a7f68850310af05a9c4 linux-5.15.33.tar.xz +sha256 dbef6a06325433481551cb8cfca9254d908d0ae950bc809f3da8ade00c485693 linux-5.10.110.tar.xz +sha256 9fbc8bfdc28c9fce2307bdf7cf1172c9819df673397a411c40a5c3d0a570fdbc linux-5.4.188.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz -sha256 47470f83aa64e0098830a53176c959740742973663fead7ca7cc7b84e1f9d0f7 linux-4.9.307.tar.xz -sha256 9b6178099cf33c534c971f3f065c0debe92788f0f504d54badb2f8c2ee089d69 linux-4.14.272.tar.xz -sha256 530c5ac848111bbf7d1ad407a4ce8173ef8f9a4554477a32c695c5a4eaf02598 linux-4.19.235.tar.xz +sha256 e86a55a89e1e28756b890b2b78f8b582d05cecb3509ff5c353e9534866468614 linux-4.9.309.tar.xz +sha256 100a9960fb2d8e079c9feeef640715a7fb749ed728a57e427f9e2443212e58f9 linux-4.14.275.tar.xz +sha256 bafff35102cc486ec2bf94c6d908be8e24017b2e4a1873f52f24c855eb220cd8 linux-4.19.237.tar.xz # Locally computed sha256 63e6df81c4a747c60eed535ffc2f6f1ddb0c17ec349e860316d9a700c69ab38e linux-cip-5.10.104-cip3.tar.gz sha256 9a45929d91ebaddbf6a0ef29750775e33d3c3f56f42f0a9e95e77e5b4eba3c6e linux-cip-5.10.104-cip3-rt3.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 479f64b72e..decf02d175 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -381,13 +381,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string default "4.4.302" if BR2_KERNEL_HEADERS_4_4 - default "4.9.307" if BR2_KERNEL_HEADERS_4_9 - default "4.14.272" if BR2_KERNEL_HEADERS_4_14 - default "4.19.235" if BR2_KERNEL_HEADERS_4_19 - default "5.4.186" if BR2_KERNEL_HEADERS_5_4 - default "5.10.107" if BR2_KERNEL_HEADERS_5_10 - default "5.15.30" if BR2_KERNEL_HEADERS_5_15 - default "5.16.16" if BR2_KERNEL_HEADERS_5_16 + default "4.9.309" if BR2_KERNEL_HEADERS_4_9 + default "4.14.275" if BR2_KERNEL_HEADERS_4_14 + default "4.19.237" if BR2_KERNEL_HEADERS_4_19 + default "5.4.188" if BR2_KERNEL_HEADERS_5_4 + default "5.10.110" if BR2_KERNEL_HEADERS_5_10 + default "5.15.33" if BR2_KERNEL_HEADERS_5_15 + default "5.16.19" if BR2_KERNEL_HEADERS_5_16 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Mon Apr 11 13:32:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 15:32:45 +0200 Subject: [Buildroot] [PATCH] package/bind: security bump to version 9.16.27 In-Reply-To: <20220410205111.1336415-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 10 Apr 2022 22:51:10 +0200") References: <20220410205111.1336415-1-peter@korsgaard.com> Message-ID: <87h76zhhj6.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issues: > - The rules for acceptance of records into the cache have been tightened to > prevent the possibility of poisoning if forwarders send records outside > the configured bailiwick. (CVE-2021-25220) > - TCP connections with keep-response-order enabled could leave the TCP > sockets in the CLOSE_WAIT state when the client did not properly shut down > the connection. (CVE-2022-0396) > Signed-off-by: Peter Korsgaard Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Apr 11 13:32:28 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 15:32:28 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/bind: security bump to version 9.16.27 Message-ID: <20220411132308.58CF581121@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ffe31cfec703c12e3d7c5840a5b63040e374a873 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes the following security issues: - The rules for acceptance of records into the cache have been tightened to prevent the possibility of poisoning if forwarders send records outside the configured bailiwick. (CVE-2021-25220) - TCP connections with keep-response-order enabled could leave the TCP sockets in the CLOSE_WAIT state when the client did not properly shut down the connection. (CVE-2022-0396) Signed-off-by: Peter Korsgaard (cherry picked from commit 1fe5029122c8d6aba0194d6b9b0ddcd1fde2ee8d) Signed-off-by: Peter Korsgaard --- package/bind/bind.hash | 4 ++-- package/bind/bind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/bind/bind.hash b/package/bind/bind.hash index 401e389e49..2c10a0429b 100644 --- a/package/bind/bind.hash +++ b/package/bind/bind.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc +# Verified from https://ftp.isc.org/isc/bind9/9.16.27/bind-9.16.27.tar.xz.asc # with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD -sha256 70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45 bind-9.16.26.tar.xz +sha256 90902aaf104c81019d75d6f8b2f7ec40fcd249406f894b44e4a9c6b5e08bf566 bind-9.16.27.tar.xz sha256 daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155 COPYRIGHT diff --git a/package/bind/bind.mk b/package/bind/bind.mk index a595baabc5..5164001ab5 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -4,7 +4,7 @@ # ################################################################################ -BIND_VERSION = 9.16.26 +BIND_VERSION = 9.16.27 BIND_SOURCE= bind-$(BIND_VERSION).tar.xz BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION) # bind does not support parallel builds. From fontaine.fabrice at gmail.com Mon Apr 11 16:21:07 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 18:21:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/shadowsocks-libev: fix maybe-uninitialized errors Message-ID: <20220411162107.8704-1-fontaine.fabrice@gmail.com> Fix the following build failure: local.c: In function 'create_and_bind': local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] 218 | return listen_sock; | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 Signed-off-by: Fabrice Fontaine --- .../0002-fix-maybe-uninitialized-errors.patch | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch diff --git a/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch new file mode 100644 index 0000000000..5275323e65 --- /dev/null +++ b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch @@ -0,0 +1,93 @@ +From 0c23224e926463b1097414979367655a27fa6d60 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 7 Apr 2022 18:27:58 +0200 +Subject: [PATCH] fix maybe-uninitialized errors + +Set {listen,server}_sock to -1 when needed as already done in +src/manager.c by commit ecf1fcc84594b09ed2d61e3677cd8e62bd897ccb to +avoid the following build failure: + +local.c: In function 'create_and_bind': +local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] + 218 | return listen_sock; + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/shadowsocks/shadowsocks-libev/commit/0c23224e926463b1097414979367655a27fa6d60] +--- + src/local.c | 2 +- + src/redir.c | 2 +- + src/server.c | 2 +- + src/tunnel.c | 2 +- + src/udprelay.c | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/local.c b/src/local.c +index b1ab040bb..47d634ce5 100644 +--- a/src/local.c ++++ b/src/local.c +@@ -168,7 +168,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/redir.c b/src/redir.c +index 4a5a489f0..e60bd4870 100644 +--- a/src/redir.c ++++ b/src/redir.c +@@ -147,7 +147,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/server.c b/src/server.c +index e9cdc2619..073e38b22 100644 +--- a/src/server.c ++++ b/src/server.c +@@ -550,7 +550,7 @@ create_and_bind(const char *host, const char *port, int mptcp) + { + struct addrinfo hints; + struct addrinfo *result, *rp, *ipv4v6bindall; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/tunnel.c b/src/tunnel.c +index e0886bdb9..6641fe62a 100644 +--- a/src/tunnel.c ++++ b/src/tunnel.c +@@ -129,7 +129,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/udprelay.c b/src/udprelay.c +index 23a042497..580ad4bd8 100644 +--- a/src/udprelay.c ++++ b/src/udprelay.c +@@ -446,7 +446,7 @@ create_server_socket(const char *host, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp, *ipv4v6bindall; +- int s, server_sock; ++ int s, server_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ -- 2.35.1 From bugzilla at busybox.net Mon Apr 11 17:02:33 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 11 Apr 2022 17:02:33 +0000 Subject: [Buildroot] [Bug 14751] New: LVM2 Outdated Link Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14751 Bug ID: 14751 Summary: LVM2 Outdated Link Product: buildroot Version: 2022.02 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Outdated package Assignee: unassigned at buildroot.uclibc.org Reporter: olliesharratt34 at gmail.com CC: buildroot at uclibc.org Target Milestone: --- Attempting to build LVM2 fails as http://sources.redhat.com/ is completely down. In my environment, I updated the LVM link to https://sourceware.org/ftp/lvm2/ and updated the hash which fixed the problem and allowed my filesystem to build. -- You are receiving this mail because: You are on the CC list for the bug. From arnout at mind.be Mon Apr 11 17:03:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 11 Apr 2022 19:03:37 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> Message-ID: <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> On 11/04/2022 14:28, Marcus Hoffmann wrote: > Hi Peter, > > On 05.04.22 19:28, Peter Korsgaard wrote: >> commit: >> https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 >> >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master >> >> Fixes the following security issues: >> >> - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes >> >> https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 >> >> - CVE-2022-24769: Default inheritable capabilities for linux container >> ?? should be empty >> >> https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c >> >> Signed-off-by: Peter Korsgaard >> --- >> ? package/containerd/containerd.hash | 2 +- >> ? package/containerd/containerd.mk?? | 2 +- >> ? 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/package/containerd/containerd.hash >> b/package/containerd/containerd.hash >> index d5aafe2e70..23dacded88 100644 >> --- a/package/containerd/containerd.hash >> +++ b/package/containerd/containerd.hash >> @@ -1,3 +1,3 @@ >> ? # Computed locally >> -sha256? 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 >> containerd-1.5.9.tar.gz >> +sha256? 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 >> containerd-1.5.11.tar.gz > > I get a different hash for this download, both within buildroot as well as > downloading the file manually from github: > > ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: > ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > ERROR: got???? : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 > ERROR: Incomplete download, or man-in-the-middle (MITM) attack > > > Did the file change in the meantime or did something else go wrong here? It also goes wrong in the autobuilders (this one on master, before I merged the bump to 1.6.2) [1] > Should send a patch changing the hash to > 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? Let's first allow Peter to check what exactly went wrong. He should have a local download with the hash he pushed so he can compare what changed. I looked at the github repo, and it says that it was tagged on March 24, i.e. before Peter did the bump to 1.5.11. So it doesn't look like they updated the tag. Regards, Arnout 1] http://autobuild.buildroot.net/results/b5d/b5dcd56490e807db9e92e3bbbd6753738132db57/build-end.log > > > [...] > > Best, > Marcus > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From flaniel at linux.microsoft.com Mon Apr 11 18:06:52 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 11 Apr 2022 19:06:52 +0100 Subject: [Buildroot] [RFC PATCH v1 1/2] tbb: new package In-Reply-To: References: <20220407182425.194001-1-flaniel@linux.microsoft.com> <20220407182425.194001-2-flaniel@linux.microsoft.com> Message-ID: <2625093.mvXUDI8C0e@pwmachine> Le samedi 9 avril 2022, 14:42:59 BST Arnout Vandecappelle a ?crit : > Hi Francis, Hi > Thank you for this patch. I applied to master but with quite a few > changes. You are welcome and thank you for the modifications, they made the contribution better and I learnt some few tricks to make better buildroot contribution! > On 07/04/2022 20:24, Francis Laniel wrote: > > From: bradford barr > > > > Intel Threading Building Blocks (TBB), is a C++ library to help developers > > write highly parallelized applications. OpenCV uses it to accelerate some > > of it's more heavy weight procedures. > > > > Signed-off-by: bradford barr > > Signed-off-by: Francis Laniel > > --- > > > > DEVELOPERS | 1 + > > package/Config.in | 1 + > > .../0001-tbb-Enable-cross-compilation.patch | 55 +++++++++++++++++++ > > package/tbb/Config.in | 16 ++++++ > > package/tbb/tbb.hash | 2 + > > package/tbb/tbb.mk | 39 +++++++++++++ > > 6 files changed, 114 insertions(+) > > create mode 100644 package/tbb/0001-tbb-Enable-cross-compilation.patch > > create mode 100644 package/tbb/Config.in > > create mode 100644 package/tbb/tbb.hash > > create mode 100644 package/tbb/tbb.mk > > > > diff --git a/DEVELOPERS b/DEVELOPERS > > index a66b9d7eee..ef4ddcab50 100644 > > --- a/DEVELOPERS > > +++ b/DEVELOPERS > > @@ -970,6 +970,7 @@ F: package/odhcploc/ > > > > N: Francis Laniel > > F: package/pahole/ > > > > +F: package/tbb/ > > > > N: Francisco Gonzalez > > F: package/ser2net/ > > > > diff --git a/package/Config.in b/package/Config.in > > index 0d5d763180..24f7af5ea8 100644 > > --- a/package/Config.in > > +++ b/package/Config.in > > @@ -2044,6 +2044,7 @@ endif > > > > source "package/skalibs/Config.in" > > source "package/sphinxbase/Config.in" > > source "package/startup-notification/Config.in" > > > > + source "package/tbb/Config.in" > > > > source "package/tinycbor/Config.in" > > source "package/tz/Config.in" > > source "package/tzdata/Config.in" > > > > diff --git a/package/tbb/0001-tbb-Enable-cross-compilation.patch > > b/package/tbb/0001-tbb-Enable-cross-compilation.patch new file mode > > 100644 > > index 0000000000..652d59c47b > > --- /dev/null > > +++ b/package/tbb/0001-tbb-Enable-cross-compilation.patch > > @@ -0,0 +1,55 @@ > > +From 42c3faff14917f687aab405d8f571e352ffdf3f5 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Wed, 6 Apr 2022 15:58:02 +0100 > > +Subject: [PATCH] tbb: Enable cross-compilation. > > + > > +This patch replaces hardcoded value for CPLUS and CONLY with $(CXX) and > > $(CC). +So, by defining CC= it is possible to cross compile this library > > using a +cross-compiler. > > + > > +This patch was originally written by: > > +Marcin Juszkiewicz > > +and taken from: > > +https://github.com/intel/luv-yocto/blob/3b0688bc9a5e8d52b6ca461b15fb4abd3 > > eaaf7a8/meta-oe/recipes-support/tbb/tbb/cross-compile.patch + > > +Signed-off-by: Francis Laniel > > +--- > > + build/linux.clang.inc | 5 +++-- > > + build/linux.gcc.inc | 5 +++-- > > + 2 files changed, 6 insertions(+), 4 deletions(-) > > + > > +diff --git a/build/linux.clang.inc b/build/linux.clang.inc > > +index 5a459ef5..a0777db5 100644 > > +--- a/build/linux.clang.inc > > ++++ b/build/linux.clang.inc > > +@@ -31,8 +31,9 @@ DYLIB_KEY = -shared > > + EXPORT_KEY = -Wl,--version-script, > > + LIBDL = -ldl > > + > > +-CPLUS = clang++ > > +-CONLY = clang > > ++CPLUS = $(CXX) > > ++CONLY = $(CC) > > ++CPLUS_FLAGS = $(CXXFLAGS) > > I dropped this patch. Instead, I simply passed CPLUS, CONLY and > CPLUS_FLAGS in the $(MAKE) call. > > > + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) > > + LIBS += -lpthread -lrt > > + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic > > +diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc > > +index 786c4153..30242a82 100644 > > +--- a/build/linux.gcc.inc > > ++++ b/build/linux.gcc.inc > > +@@ -32,8 +32,9 @@ DYLIB_KEY = -shared > > + EXPORT_KEY = -Wl,--version-script, > > + LIBDL = -ldl > > + > > +-CPLUS = g++ > > +-CONLY = gcc > > ++CPLUS = $(CXX) > > ++CONLY = $(CC) > > ++CPLUS_FLAGS = $(CXXFLAGS) > > + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) > > + LIBS += -lpthread -lrt > > + LINK_FLAGS = -Wl,-rpath-link=. -rdynamic > > +-- > > +2.25.1 > > + > > diff --git a/package/tbb/Config.in b/package/tbb/Config.in > > new file mode 100644 > > index 0000000000..0f40b74d31 > > --- /dev/null > > +++ b/package/tbb/Config.in > > @@ -0,0 +1,16 @@ > > +config BR2_PACKAGE_TBB > > + bool "tbb" > > + depends on BR2_TOOLCHAIN_USES_GLIBC > > + depends on !BR2_STATIC_LIBS > > + depends on BR2_TOOLCHAIN_HAS_THREADS > > + depends on BR2_INSTALL_LIBSTDCPP > > + help > > + Intel(R) Threading Building Blocks (Intel(R) TBB) lets you > > + easily write parallel C++ programs that take full advantage > > + of multicore performance, that are portable, composable and > > + have future-proof scalability. > > + > > + https://www.threadingbuildingblocks.org/ > > + > > +comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" > > + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || > > !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git > > a/package/tbb/tbb.hash b/package/tbb/tbb.hash > > new file mode 100644 > > index 0000000000..e9fb7511b8 > > --- /dev/null > > +++ b/package/tbb/tbb.hash > > @@ -0,0 +1,2 @@ > > +# Locally calculated > > +sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 > > tbb-2018_U5.tar.gz > You also need to include a hash for the license file. > > > diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > > new file mode 100644 > > index 0000000000..cf06579b98 > > --- /dev/null > > +++ b/package/tbb/tbb.mk > > @@ -0,0 +1,39 @@ > > +######################################################################### > > ####### +# > > +# tbb > > +# > > +######################################################################### > > ####### + > > +TBB_VERSION = 2018_U5 > > +TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) > > +TBB_INSTALL_STAGING = YES > > +TBB_LICENSE = Apache-2.0 > > +TBB_LICENSE_FILES = LICENSE > > + > > +TBB_SO_VERSION = 2 > > +TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy > > +TBB_BIN_PATH = $(@D)/build/linux_* > > + > > +define TBB_BUILD_CMDS > > + $(MAKE) $(TARGET_CONFIGURE_OPTS) arch=$(BR2_ARCH) -C $(@D) > > The values for arch that are used by tbb are different from the values > that BR2_ARCH has. I studied this in more detail: > > # arch is normally set based on uname -m with some conversions. However, > # it is not really used for much: > # - to decide between 32 or 64-bit files (based on '64' in the name) > # - to decide on some arch-specific CFLAGS like -m32, which we don't > actually want # - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) > # - to include assembler source, but it only exists for ia64 > # The only thing we actually want from the above is the 32/64-bit, and > # DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to > # the tbb build system, and set DO_ITT_NOTIFY explicitly. > > Regards, > Arnout > > > +endef > > + > > +define TBB_INSTALL_LIBS > > + $(foreach lib,$(TBB_LIBS), > > + $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$ (TBB_SO_VERSION) \ > > + $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; > > + ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so > > + ) > > +endef > > + > > +define TBB_INSTALL_STAGING_CMDS > > + mkdir -p $(STAGING_DIR)/usr/include/ > > + cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ > > + $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) > > +endef > > + > > +define TBB_INSTALL_TARGET_CMDS > > + $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) > > +endef > > + > > +$(eval $(generic-package)) From flaniel at linux.microsoft.com Mon Apr 11 18:11:05 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 11 Apr 2022 19:11:05 +0100 Subject: [Buildroot] [RFC PATCH v1 2/2] package/sysdig: bump version to 0.27.1. In-Reply-To: <2b54dc64-98da-5de3-e94e-0fb7bbaaca8b@mind.be> References: <20220407182425.194001-1-flaniel@linux.microsoft.com> <20220407182425.194001-3-flaniel@linux.microsoft.com> <2b54dc64-98da-5de3-e94e-0fb7bbaaca8b@mind.be> Message-ID: <4729294.31r3eYUQgx@pwmachine> Le samedi 9 avril 2022, 15:40:20 BST Arnout Vandecappelle a ?crit : > Hi Francis, Hi. > On 07/04/2022 20:24, Francis Laniel wrote: > > 0.23.1 has compilation errors with recent kernels. > > > > Signed-off-by: Francis Laniel > > I've applied to master, with a number of changes. Thank you for it. > I've noticed that it doesn't build on e.g. aarch64, because it uses > syscalls like open(2) that simply don't exist on aarch64. Fixing that would > be quite a big undertaking, and upstream has simply removed the > syscall-handling code. So a better solution would be to update to 0.29.1. > However, *that* is a fairly big change again because they also got rid of > the kernel driver. It's easy enough to remove the kernel-module part on the > buildroot side, but I wouldn't know if it still behaves correctly at > runtime. So, Francis, would you care to look into updating to 0.29.1? I will try to update sysdig to this version but I sadly cannot give any date of delivery. Indeed, I am bit worried is that after 0.27.1 sysdig depends of falco/libs and I do not really know how to handle this. > If you do that, please also check if it requires a minimum kernel version. > I think it uses all kinds of tracepoint or other kernel features which may > not exist in older kernels. If it does have a minimum kernel version, > please add a BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y dependency (with > explanation in the commit message how you got to that conclusion). > > Also, I added you to DEVELOPERS for this package. It won't have much > effect other than being Cc'ed on patches, because sysdig isn't built in the > autobuilders (since it depends on a kernel to be built and we don't do that > in autobuilders). > > > --- > > > > ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 +++++++++++++++++++ > > ...gainst-libabseil-cpp-which-grpc-uses.patch | 45 ++++++++++ > > package/sysdig/Config.in | 5 ++ > > package/sysdig/sysdig.hash | 1 + > > package/sysdig/sysdig.mk | 7 +- > > 5 files changed, 139 insertions(+), 1 deletion(-) > > create mode 100644 > > package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch create mode 100644 > > package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch> > > diff --git > > a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch > > b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch new file mode 100644 > > index 0000000000..7873210281 > > --- /dev/null > > +++ > > b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch @@ -0,0 +1,82 @@ > > +From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Wed, 6 Apr 2022 16:54:37 +0100 > > +Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and > > function. + > > +Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and > > +luaL_Reg. > > +So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua > > function +call as well. > > +Note that, this PATCH_COMMAND was added in sysdig in: > > +a064440394c9 ("Adding power support to Travis builds (#1566)") > > + > > +This patch is also present in kubernetes/minikube in: > > +f036c279bc59 ("Add patch for compiling sysdig with system luajit") > > + > > +Signed-off-by: Francis Laniel > > Would it be possible to send this patch upstream, so we don't need to > maintain it going forward? Obviously, it's best to first bump to the latest > version (and check if the patch is still needed). > > [snip] > > > diff --git > > a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > new file mode 100644 > > index 0000000000..60c3d31a3e > > --- /dev/null > > +++ b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > @@ -0,0 +1,45 @@ > > +From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Thu, 7 Apr 2022 18:30:23 +0100 > > +Subject: [PATCH 2/2] Link against libabseil-cpp which grpc uses. > > Don't include the 2/2 part (use git format-patch -N). check-package > reports this. > > + > > +This patch was taken from: > > +55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") > > +from hhoffstaette/portage. > > I've changed this to include the full URL of where you've taken it from. I > should have done that for th other patch as well, but I forgot. > > Also please send this patch upstream. For the luajit and abseil patch, I will first check if 0.29.1 still needs them. If so, I will for sure send these patches upstream! > > + > > +Signed-off-by: Francis Laniel > > +--- > > + CMakeLists.txt | 1 + > > + userspace/libsinsp/CMakeLists.txt | 4 ++++ > > + 2 files changed, 5 insertions(+) > > + > > +diff --git a/CMakeLists.txt b/CMakeLists.txt > > +index 1f34f1d6..c0354b29 100644 > > +--- a/CMakeLists.txt > > ++++ b/CMakeLists.txt > > +@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) > > + else() > > + message(FATAL_ERROR "Couldn't find system grpc") > > + endif() > > ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) > > + find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) > > + if(NOT GRPC_CPP_PLUGIN) > > + message(FATAL_ERROR "System grpc_cpp_plugin not found") > > +diff --git a/userspace/libsinsp/CMakeLists.txt > > b/userspace/libsinsp/CMakeLists.txt +index d72f9115..d1b7ea02 100644 > > +--- a/userspace/libsinsp/CMakeLists.txt > > ++++ b/userspace/libsinsp/CMakeLists.txt > > +@@ -214,6 +214,10 @@ if(NOT WIN32) > > + "${JQ_LIB}" > > + "${B64_LIB}") > > + > > ++ if(ABSL_SYNC_LIB) > > ++ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") > > ++ endif() > > ++ > > + if(NOT MUSL_OPTIMIZED_BUILD) > > + target_link_libraries(sinsp > > + rt > > +-- > > +2.25.1 > > + > > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > > index 06d20c7f7b..5a7fbb50e0 100644 > > --- a/package/sysdig/Config.in > > +++ b/package/sysdig/Config.in > > @@ -8,13 +8,18 @@ config BR2_PACKAGE_SYSDIG > > > > depends on BR2_USE_WCHAR # elfutils > > depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # > > elfutils > > depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > > > > + select BR2_PACKAGE_C_ARES > > > > select BR2_PACKAGE_ELFUTILS > > > > + select BR2_PACKAGE_GRPC > > You also need to propagate the dependencies of grpc. For grpc, that's just > a matter of adding grpc to the comments above, but some other packages have > stricter dependencies. > > > + select BR2_PACKAGE_GTEST > > gtest is only required if tests are enabled, so I added the conf opt to > disable tests instead. > > > select BR2_PACKAGE_JQ > > select BR2_PACKAGE_JSONCPP > > select BR2_PACKAGE_LIBB64 > > select BR2_PACKAGE_LIBCURL > > select BR2_PACKAGE_NCURSES > > select BR2_PACKAGE_OPENSSL > > > > + select BR2_PACKAGE_PROTOBUF > > + select BR2_PACKAGE_TBB > > > > select BR2_PACKAGE_ZLIB > > help > > > > Sysdig is open source, system-level exploration: > > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > > index 565b1e9828..4bce674f3e 100644 > > --- a/package/sysdig/sysdig.hash > > +++ b/package/sysdig/sysdig.hash > > @@ -1,3 +1,4 @@ > > > > # sha256 locally computed > > > > +sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda > > sysdig-0.27.1.tar.gz> > > sha256 57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa > > sysdig-0.23.1.tar.gz sha256 > > 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 > > COPYING > The COPYING file has changed, as shown by 'make legal-info'. Turns out > that the license changed to Apache-2.0, except for the driver which is > GPLv2 or MIT. So I updated the license hash and added the new license > files. > > > diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk > > index 08d93750ae..d497c7c381 100644 > > --- a/package/sysdig/sysdig.mk > > +++ b/package/sysdig/sysdig.mk > > @@ -4,7 +4,7 @@ > > > > # > > ######################################################################## > > ########> > > -SYSDIG_VERSION = 0.23.1 > > +SYSDIG_VERSION = 0.27.1 > > > > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > > SYSDIG_LICENSE = GPL-2.0 > > SYSDIG_LICENSE_FILES = COPYING > > This needed to be updated as well for the license change, of course. > > Regards, > Arnout > > > @@ -13,7 +13,10 @@ SYSDIG_CONF_OPTS = -DENABLE_DKMS=OFF > > -DUSE_BUNDLED_DEPS=OFF> > > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > > > SYSDIG_DEPENDENCIES = \ > > > > + c-ares \ > > > > elfutils \ > > > > + gtest \ > > + grpc \ > > > > jq \ > > jsoncpp \ > > libb64 \ > > > > @@ -21,6 +24,8 @@ SYSDIG_DEPENDENCIES = \ > > > > luainterpreter \ > > ncurses \ > > openssl \ > > > > + protobuf \ > > + tbb \ > > > > zlib > > > > # sysdig creates the module Makefile from a template, which contains a From yann.morin.1998 at free.fr Mon Apr 11 18:33:16 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 11 Apr 2022 20:33:16 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> Message-ID: <20220411183316.GB4029883@scaer> Arnout, Marcus, All, On 2022-04-11 19:03 +0200, Arnout Vandecappelle spake thusly: > On 11/04/2022 14:28, Marcus Hoffmann wrote: > >On 05.04.22 19:28, Peter Korsgaard wrote: > >>commit: https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 > >> > >>branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > >> > >>Fixes the following security issues: > >> > >>- CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes > >>https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 > >> > >>- CVE-2022-24769: Default inheritable capabilities for linux container > >>?? should be empty > >>https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c > >> > >>Signed-off-by: Peter Korsgaard > >>--- > >>? package/containerd/containerd.hash | 2 +- > >>? package/containerd/containerd.mk?? | 2 +- > >>? 2 files changed, 2 insertions(+), 2 deletions(-) > >> > >>diff --git a/package/containerd/containerd.hash > >>b/package/containerd/containerd.hash > >>index d5aafe2e70..23dacded88 100644 > >>--- a/package/containerd/containerd.hash > >>+++ b/package/containerd/containerd.hash > >>@@ -1,3 +1,3 @@ > >>? # Computed locally > >>-sha256? > >>40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 > >>containerd-1.5.9.tar.gz > >>+sha256? > >>6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > >>containerd-1.5.11.tar.gz > >I get a different hash for this download, both within buildroot as well as > >downloading the file manually from github: > >ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: > >ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > >ERROR: got???? : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 > >ERROR: Incomplete download, or man-in-the-middle (MITM) attack > >Did the file change in the meantime or did something else go wrong here? > It also goes wrong in the autobuilders (this one on master, before I merged > the bump to 1.6.2) [1] Note that golang packages are susceptible to hash changes ifone of their dependencies is chagned. For example, if a go package depends, directly or transitively, on a package foo at some-tag, but foo got re-tagged, or the repository has moved, then the vendoring will get a different content than previously. For example, docker's "distribution" repository has moved from under "docker" out to its own "distribution" namespace: https://github.com/docker/distribution now redirects to: https://github.com/distribution/distribution > >Should send a patch changing the hash to > >02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? > Let's first allow Peter to check what exactly went wrong. He should have a > local download with the hash he pushed so he can compare what changed. > I looked at the github repo, and it says that it was tagged on March 24, > i.e. before Peter did the bump to 1.5.11. So it doesn't look like they > updated the tag. > > 1] http://autobuild.buildroot.net/results/b5d/b5dcd56490e807db9e92e3bbbd6753738132db57/build-end.log I think the error is soemhing else in this case: tar: stdout: write error Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From peter at korsgaard.com Mon Apr 11 19:02:42 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 21:02:42 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> (Arnout Vandecappelle's message of "Mon, 11 Apr 2022 19:03:37 +0200") References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> Message-ID: <87bkx7h299.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: Hi, > On 11/04/2022 14:28, Marcus Hoffmann wrote: >> Hi Peter, >> On 05.04.22 19:28, Peter Korsgaard wrote: >>> commit: >>> https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 >>> >>> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master >>> >>> Fixes the following security issues: >>> >>> - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes >>> https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 >>> >>> - CVE-2022-24769: Default inheritable capabilities for linux container >>> ?? should be empty >>> https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c >>> >>> Signed-off-by: Peter Korsgaard >>> --- >>> ? package/containerd/containerd.hash | 2 +- >>> ? package/containerd/containerd.mk?? | 2 +- >>> ? 2 files changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/package/containerd/containerd.hash >>> b/package/containerd/containerd.hash >>> index d5aafe2e70..23dacded88 100644 >>> --- a/package/containerd/containerd.hash >>> +++ b/package/containerd/containerd.hash >>> @@ -1,3 +1,3 @@ >>> ? # Computed locally >>> -sha256? >>> 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 >>> containerd-1.5.9.tar.gz >>> +sha256? >>> 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 >>> containerd-1.5.11.tar.gz >> I get a different hash for this download, both within buildroot as >> well as downloading the file manually from github: >> ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: >> ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 >> ERROR: got???? : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 >> ERROR: Incomplete download, or man-in-the-middle (MITM) attack >> >> Did the file change in the meantime or did something else go wrong here? > It also goes wrong in the autobuilders (this one on master, before I > merged the bump to 1.6.2) [1] >> Should send a patch changing the hash to >> 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? > Let's first allow Peter to check what exactly went wrong. He should > have a local download with the hash he pushed so he can compare what > changed. > I looked at the github repo, and it says that it was tagged on March > 24, i.e. before Peter did the bump to 1.5.11. So it doesn't look like > they updated the tag. Funky, I do indeed have the old hash here: sha256sum ~download/containerd/containerd-1.5.11.tar.gz containerd-1.5.11.tar.gz 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 /var/lib/downloads/containerd/containerd-1.5.11.tar.gz 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 containerd-1.5.11.tar.gz Extracting the tarballs, I see the following diff: diff -urpN a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go --- a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 +++ b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 @@ -55,7 +55,7 @@ var ( // NOTE: The $Format strings are replaced during 'git archive' thanks to the // companion .gitattributes file containing 'export-subst' in this same // directory. See also https://git-scm.com/docs/gitattributes - gitVersion string = "v0.0.0-master+3df54a85234" + gitVersion string = "v0.0.0-master+3df54a8523" gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" // sha1 from git, output of $(git rev-parse HEAD) gitTreeState string = "" // state of git tree, either "clean" or "dirty" So the gitVersion field lost a digit. No idea how this could happen. Looking at the file in the git repo I see that this is listed as: gitVersion string = "v0.0.0-master+$Format:%H$" gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go So I guess something in github is wrongly expanding this $Format? -- Bye, Peter Korsgaard From arnout at mind.be Mon Apr 11 20:27:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 11 Apr 2022 22:27:42 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <87bkx7h299.fsf@dell.be.48ers.dk> References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> <87bkx7h299.fsf@dell.be.48ers.dk> Message-ID: On 11/04/2022 21:02, Peter Korsgaard wrote: >>>>>> "Arnout" == Arnout Vandecappelle writes: > > Hi, > > > On 11/04/2022 14:28, Marcus Hoffmann wrote: > >> Hi Peter, > >> On 05.04.22 19:28, Peter Korsgaard wrote: > >>> commit: > >>> https://git.buildroot.net/buildroot/commit/?id=2642edb0af08f04fb98f4cb5f88895faded4b325 > >>> > >>> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > >>> > >>> Fixes the following security issues: > >>> > >>> - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes > >>> https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 > >>> > >>> - CVE-2022-24769: Default inheritable capabilities for linux container > >>> ?? should be empty > >>> https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c > >>> > >>> Signed-off-by: Peter Korsgaard > >>> --- > >>> ? package/containerd/containerd.hash | 2 +- > >>> ? package/containerd/containerd.mk?? | 2 +- > >>> ? 2 files changed, 2 insertions(+), 2 deletions(-) > >>> > >>> diff --git a/package/containerd/containerd.hash > >>> b/package/containerd/containerd.hash > >>> index d5aafe2e70..23dacded88 100644 > >>> --- a/package/containerd/containerd.hash > >>> +++ b/package/containerd/containerd.hash > >>> @@ -1,3 +1,3 @@ > >>> ? # Computed locally > >>> -sha256 > >>> 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 > >>> containerd-1.5.9.tar.gz > >>> +sha256 > >>> 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > >>> containerd-1.5.11.tar.gz > >> I get a different hash for this download, both within buildroot as > >> well as downloading the file manually from github: > >> ERROR: containerd-1.5.11.tar.gz has wrong sha256 hash: > >> ERROR: expected: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 > >> ERROR: got???? : 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 > >> ERROR: Incomplete download, or man-in-the-middle (MITM) attack > >> > >> Did the file change in the meantime or did something else go wrong here? > > > It also goes wrong in the autobuilders (this one on master, before I > > merged the bump to 1.6.2) [1] > > >> Should send a patch changing the hash to > >> 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6? > > > Let's first allow Peter to check what exactly went wrong. He should > > have a local download with the hash he pushed so he can compare what > > changed. > > > I looked at the github repo, and it says that it was tagged on March > > 24, i.e. before Peter did the bump to 1.5.11. So it doesn't look like > > they updated the tag. > > Funky, I do indeed have the old hash here: > > sha256sum ~download/containerd/containerd-1.5.11.tar.gz containerd-1.5.11.tar.gz > 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 /var/lib/downloads/containerd/containerd-1.5.11.tar.gz > 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 containerd-1.5.11.tar.gz > > Extracting the tarballs, I see the following diff: > > diff -urpN a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go > --- a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 > +++ b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 > @@ -55,7 +55,7 @@ var ( > // NOTE: The $Format strings are replaced during 'git archive' thanks to the > // companion .gitattributes file containing 'export-subst' in this same > // directory. See also https://git-scm.com/docs/gitattributes > - gitVersion string = "v0.0.0-master+3df54a85234" > + gitVersion string = "v0.0.0-master+3df54a8523" > gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" // sha1 from git, output of $(git rev-parse HEAD) > gitTreeState string = "" // state of git tree, either "clean" or "dirty" > > So the gitVersion field lost a digit. No idea how this could > happen. Looking at the file in the git repo I see that this is listed > as: > > gitVersion string = "v0.0.0-master+$Format:%H$" > gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) Weird, %H should expand to the full commit hash - like on the gitCommit line... How the hell does git archive expand %H differently in one line and the other? Aah, it was changed from %h to %H in [1]. But that easily explains the issue: the length of the abbreviated commit hash depends on the state of the repo. Thus, some gc on github may have dropped a conflicting ref (somewhere else) so the length of the abbreviated hash is reduced again. There's not much we can do about this I'm afraid, other than using git download instead of tarball download. Or updating to a version that contains [1] of course. Regards, Arnout [1] https://github.com/containerd/containerd/commit/e634f04d8cdb6c2f96eea2e4e66d0e4500a46282 > > https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go > > So I guess something in github is wrongly expanding this $Format? > From peter at korsgaard.com Mon Apr 11 20:21:38 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 22:21:38 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/containerd: correct download hash Message-ID: <20220411202317.90BC3839FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=46a92832cf57fb7fdb5bb67471bc80b1a10d4a99 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Something happened to the tarball logic on github, changing the hash of the 1.5.11 release: 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 old/containerd-1.5.11.tar.gz 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 new/containerd-1.5.11.tar.gz -rw-r--r-- 1 peko peko 7494478 Apr 11 20:53 old/containerd-1.5.11.tar.gz -rw-r--r-- 1 peko peko 7494477 Apr 5 20:39 new/containerd-1.5.11.tar.gz Extracting and comparing them gives: --- a/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 +++ b/containerd-1.5.11/vendor/k8s.io/client-go/pkg/version/base.go 2022-03-24 01:09:42.000000000 +0100 @@ -55,7 +55,7 @@ var ( // NOTE: The $Format strings are replaced during 'git archive' thanks to the // companion .gitattributes file containing 'export-subst' in this same // directory. See also https://git-scm.com/docs/gitattributes - gitVersion string = "v0.0.0-master+3df54a85234" + gitVersion string = "v0.0.0-master+3df54a8523" gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" // sha1 from git, output of $(git rev-parse HEAD) gitTreeState string = "" // state of git tree, either "clean" or "dirty" The file in the repo uses $Format:%H$ and set the export-subst git attribute: gitVersion string = "v0.0.0-master+$Format:%H$" gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go So presumably it is related to that. In any case, update the hash to match what Github is now serving to fix the build. Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 23dacded88..3f5c9865e6 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz +sha256 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 containerd-1.5.11.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE From peter at korsgaard.com Mon Apr 11 20:34:55 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 22:34:55 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <87bkx7h299.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Mon, 11 Apr 2022 21:02:42 +0200") References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> <87bkx7h299.fsf@dell.be.48ers.dk> Message-ID: <874k2zgxzk.fsf@dell.be.48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: Hi, > @@ -55,7 +55,7 @@ var ( > // NOTE: The $Format strings are replaced during 'git archive' thanks to the > // companion .gitattributes file containing 'export-subst' in this same > // directory. See also https://git-scm.com/docs/gitattributes > - gitVersion string = "v0.0.0-master+3df54a85234" > + gitVersion string = "v0.0.0-master+3df54a8523" > gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" > // sha1 from git, output of $(git rev-parse HEAD) > gitTreeState string = "" // state of git tree, either "clean" or "dirty" > So the gitVersion field lost a digit. No idea how this could > happen. Looking at the file in the git repo I see that this is listed > as: > gitVersion string = "v0.0.0-master+$Format:%H$" > gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) > https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go > So I guess something in github is wrongly expanding this $Format? The format logic itself is part of git, as the export-subst attibute has been set for base.go: https://git-scm.com/docs/gitattributes But why the two $Format:%H$ lines expand to different things and why it has changed over time is unclear to me. In any case, I've pushed a commit to 2022.02.x to adjust the hash to what Github is now serving. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Mon Apr 11 21:19:56 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 23:19:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/rsync: fix static build Message-ID: <20220411211956.257449-1-fontaine.fabrice@gmail.com> Fix the following static build failure when using an external zlib: /home/autobuild/autobuild/instance-11/output-1/host/bin/i686-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -static -o rsync flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o util2.o main.o checksum.o match.o syscall.o log.o backup.o delete.o options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o -lz -lpopt -liconv /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/i686-buildroot-linux-uclibc/9.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libz.a(deflate.c.o): in function `read_buf': deflate.c:(.text+0xb93): multiple definition of `read_buf'; io.o:io.c:(.text+0x2bf4): first defined here Fixes: - http://autobuild.buildroot.org/results/488453197da880dda8f47b71ff302192bcbb6679 Signed-off-by: Fabrice Fontaine --- ...g-with-a-zlib-with-external-read_buf.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch diff --git a/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch new file mode 100644 index 0000000000..0af090732c --- /dev/null +++ b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch @@ -0,0 +1,27 @@ +From 60dd42be603a79cd57cec076fe1680e9037be774 Mon Sep 17 00:00:00 2001 +From: Wayne Davison +Date: Mon, 11 Apr 2022 08:29:54 -0700 +Subject: [PATCH] Handle linking with a zlib with external read_buf. + +[Retrieved from: +https://github.com/WayneD/rsync/commit/60dd42be603a79cd57cec076fe1680e9037be774] +Signed-off-by: Fabrice Fontaine +--- + rsync.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/rsync.h b/rsync.h +index 4b30570b..e5aacd25 100644 +--- a/rsync.h ++++ b/rsync.h +@@ -1172,6 +1172,10 @@ struct name_num_obj { + struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */ + }; + ++#ifdef EXTERNAL_ZLIB ++#define read_buf read_buf_ ++#endif ++ + #ifndef __cplusplus + #include "proto.h" + #endif -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 11 21:22:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 23:22:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/startup-notification: bump to version 0.12 Message-ID: <20220411212234.257672-1-fontaine.fabrice@gmail.com> xcb-util is mandatory since https://cgit.freedesktop.org/startup-notification/commit/?id=15c0bae76e0bcd5d2839a791cf51c8b22e615fe2 https://cgit.freedesktop.org/startup-notification/commit/?id=57816a46aa32d0bd667661ce6aaaa187f84ec889 https://cgit.freedesktop.org/startup-notification/tree/NEWS?h=STARTUP_NOTIFICATION_0_12 Signed-off-by: Fabrice Fontaine --- package/startup-notification/Config.in | 1 + package/startup-notification/startup-notification.hash | 2 +- package/startup-notification/startup-notification.mk | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/startup-notification/Config.in b/package/startup-notification/Config.in index 88d18174bc..606276e484 100644 --- a/package/startup-notification/Config.in +++ b/package/startup-notification/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_STARTUP_NOTIFICATION bool "startup-notification" depends on BR2_PACKAGE_XORG7 depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_XCB_UTIL select BR2_PACKAGE_XLIB_LIBX11 help Startup-notification is a library used to monitor diff --git a/package/startup-notification/startup-notification.hash b/package/startup-notification/startup-notification.hash index 474c8bd92c..9c5713213b 100644 --- a/package/startup-notification/startup-notification.hash +++ b/package/startup-notification/startup-notification.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c2fa09f9a49d8b319e79638e49e967c682df8726006e03059b1ffca5ab82099c startup-notification-0.9.tar.gz +sha256 3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a startup-notification-0.12.tar.gz sha256 29935974beae046f50da806b5f4e54532401dd7bcfbc696a0b645f4cbcce9dbb COPYING diff --git a/package/startup-notification/startup-notification.mk b/package/startup-notification/startup-notification.mk index b3314087f5..4a9e33e5ed 100644 --- a/package/startup-notification/startup-notification.mk +++ b/package/startup-notification/startup-notification.mk @@ -4,10 +4,10 @@ # ################################################################################ -STARTUP_NOTIFICATION_VERSION = 0.9 +STARTUP_NOTIFICATION_VERSION = 0.12 STARTUP_NOTIFICATION_SITE = http://freedesktop.org/software/startup-notification/releases STARTUP_NOTIFICATION_INSTALL_STAGING = YES -STARTUP_NOTIFICATION_DEPENDENCIES = xlib_libX11 +STARTUP_NOTIFICATION_DEPENDENCIES = xcb-util xlib_libX11 STARTUP_NOTIFICATION_CONF_ENV = lf_cv_sane_realloc=yes STARTUP_NOTIFICATION_CONF_OPTS = --with-x \ --x-includes="$(STAGING_DIR)/usr/include/X11" \ -- 2.35.1 From peter at korsgaard.com Mon Apr 11 21:39:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 23:39:25 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/tvheadend: fix build with libressl Message-ID: <20220411214018.DC05383A53@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a4c060c95680b7e7f56c2dba8b0442836ed9d08d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure with libressl: utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' Fixes: - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 04164b81e76e29fb9482245e808b46af2aa67bc6) Signed-off-by: Peter Korsgaard --- .../tvheadend/0002-fix-build-with-libressl.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/package/tvheadend/0002-fix-build-with-libressl.patch b/package/tvheadend/0002-fix-build-with-libressl.patch new file mode 100644 index 0000000000..c99dacdbeb --- /dev/null +++ b/package/tvheadend/0002-fix-build-with-libressl.patch @@ -0,0 +1,47 @@ +From ea65f8025a9124cd7353b21f167968bdb897306f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 21:54:25 +0200 +Subject: [PATCH] fix build with libressl + +Fix the following build failure with libressl raised since +https://github.com/tvheadend/tvheadend/commit/e61acb8ad4a3411f4e7acfd8133d222299f6d47e: + +utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' + +Fixes: + - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/ea65f8025a9124cd7353b21f167968bdb897306f] +--- + src/http.c | 2 +- + src/utils.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/http.c b/src/http.c +index 06d5e76172..72a498317c 100644 +--- a/src/http.c ++++ b/src/http.c +@@ -412,7 +412,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content, + http_auth_header(&hdrs, realm, + config.http_auth_algo == HTTP_AUTH_ALGO_SHA256 ? + "SHA-256" : +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + "SHA-512-256", + #else + "SHA-256", +diff --git a/src/utils.c b/src/utils.c +index d8ffe4ad5c..eecb10e116 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&??!defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; From peter at korsgaard.com Mon Apr 11 21:49:53 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 11 Apr 2022 23:49:53 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] Update for 2022.02.1 Message-ID: <20220411214018.EA42383A55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9da87c52934842026918b9eb8511b35cd935c552 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Signed-off-by: Peter Korsgaard --- CHANGES | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ Makefile | 4 ++-- support/misc/Vagrantfile | 2 +- 3 files changed, 57 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 59ae8f15ce..da18142246 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,57 @@ +2022.02.1, released April 11th, 2022 + + Important / security related fixes. + + Graphs: Also generate a build time timeline graph (for top + level parallel builds). + + scripts/pkg-stats: Optimize memory consumption for CPE parsing + + Fix compatibility issue with the fakeroot script logic and + modern versions of dash. + + Change git:// URLs pointing to Github to https://, now that + Github has turned off support for git:// + + Updated/fixed packages: ace, apache, apr, apr-util, belr, + bind, bluez5_utils, boinc, bpftool, busybox, cloop, cog, + containerd, cppcms, dav1d, dhcp, dieharder, dnsmasq, + docker-cli, docker-engine, efl, ell, fakeroot, flac, + fluidsynth, gdk-pixbuf, glib-networking, gnutls, gst-omx, + gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, haproxym htop, intel-gmmlib, + ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, + libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, + libgtk3, libiec61850, libkrb5, libminiupnpc, libodb, + libodb-boost, libopenssl, libp11, libpsl, libressl, librstp, + librtlsdr, liburing, libyang, libzlib, luasec, lxc, matio, + meson, minidlna, minizip, mpd, mtools, netatalk, nbd, odb, + openblas, openssh, openvpn, optee-os, opus, paho-mqtt-c, + pango, php, pipewire, pkcs11-helper, postgresql, ppp, + protozero, python-aioconsole, python-avro, python-brotli, + python-greenlet, python-paramiko, python-pillow, + python-rpi-gpio, python-treq, python-twisted, python-ujson, + python-weasyprint, qt5base, qt5wayland, raptor, rpi-firmware, + rpi-userland, rtl_433, runc, rust, rygel, samba4, + shairport-sync, spice, spidev_test, stunnel, systemd, + timescaledb, trace-cmd, trousers, ts4900-fpga, tvheadend, + udpcast, unbound, upower, urandom-scripts, usbguard, valgrind, + valijson, vim, wavpack, wget, wireplumber, wireshark, woff2, + xmrig, zabbix, zlib-ng, zynaddsubfx, zziplib + + Issues resolved (http://bugs.uclibc.org): + + #13971: ip6tables-nft build does not include MASQUERADE target.. + #14651: OpenSSH 8.9p1 compiler error under ARM + #14656: Adding dependencies from an external tree does not work + #14661: Fakeroot script relies on bash-isms, does not work .. + #14686: genimage.cfg have a hard-coded .ext4 extension which.. + #14701: Multiple unresolved symbols while building kernel .. + #14711: nodjs build problem missing bzip + #14731: BR2_PACKAGE_IOSTAT + 2022.02, released March 8th, 2022 Various fixes. diff --git a/Makefile b/Makefile index db2ac30b10..ee7aedf71c 100644 --- a/Makefile +++ b/Makefile @@ -92,9 +92,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2022.02 +export BR2_VERSION := 2022.02.1 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1646777000 +BR2_VERSION_EPOCH = 1649713000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index a5a0e3f41a..6cf44d9216 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2022.02' +RELEASE='2022.02.1' ### Change here for more memory/cores ### VM_MEMORY=2048 From fontaine.fabrice at gmail.com Mon Apr 11 21:50:02 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 23:50:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix FTBFS Message-ID: <20220411215002.518739-1-fontaine.fabrice@gmail.com> Fix the folloing build failure raised since commit 04164b81e76e29fb9482245e808b46af2aa67bc6: src/utils.c: In function 'sha512sum256': src/utils.c:619:45: error: token " " is not valid in preprocessor expressions 619 | #if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) | ^ Fixes: - http://autobuild.buildroot.org/results/caf0f5e4c6ad0f2764f07d33f594b6121cea87bc Signed-off-by: Fabrice Fontaine --- .../tvheadend/0003-Fix-FTBFS-in-utils-c.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch diff --git a/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch new file mode 100644 index 0000000000..2caa281490 --- /dev/null +++ b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch @@ -0,0 +1,28 @@ +From fd01737270d98c28465c86a688bd7d1c640486c5 Mon Sep 17 00:00:00 2001 +From: Michael Marley +Date: Wed, 6 Apr 2022 21:47:49 -0400 +Subject: [PATCH] Fix FTBFS in utils.c + +U+0020 SPACE and U+00A0 NO-BREAK SPACE look the same, but they +aren't the same. + +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/fd01737270d98c28465c86a688bd7d1c640486c5] +Signed-off-by: Fabrice Fontaine +--- + src/utils.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/utils.c b/src/utils.c +index eecb10e116..bc6401d22f 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&?!defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 11 21:57:40 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 11 Apr 2022 23:57:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/lvm2: update site Message-ID: <20220411215740.521106-1-fontaine.fabrice@gmail.com> Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=14751 Signed-off-by: Fabrice Fontaine --- package/lvm2/lvm2.hash | 2 +- package/lvm2/lvm2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/lvm2/lvm2.hash b/package/lvm2/lvm2.hash index c52eaee1e1..126748d339 100644 --- a/package/lvm2/lvm2.hash +++ b/package/lvm2/lvm2.hash @@ -1,4 +1,4 @@ -# From http://sources.redhat.com/pub/lvm2/sha512.sum +# From https://sourceware.org/ftp/lvm2/sha512.sum sha512 6a93bed1d5cf36f0f48d4d413d028b0e480cd4fc20e25d173770a892f265d2a0cc68d01a720b1513469953649e989532cd0c45f9538f92a4190eb3dc4555857d LVM2.2.03.14.tgz # Locally computed sha256 checksums sha256 e76fbcd2fb97cf202da330301327754d2db5c58b5b4bebd3a8a749393e7603d1 COPYING diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index f875b292f3..781b0c9f3f 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -6,7 +6,7 @@ LVM2_VERSION = 2.03.14 LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz -LVM2_SITE = http://sources.redhat.com/pub/lvm2 +LVM2_SITE = https://sourceware.org/ftp/lvm2 LVM2_INSTALL_STAGING = YES LVM2_LICENSE = GPL-2.0, LGPL-2.1 LVM2_LICENSE_FILES = COPYING COPYING.LIB -- 2.35.1 From fontaine.fabrice at gmail.com Mon Apr 11 22:12:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 00:12:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/avrdude: spi needs headers >= 4.8 Message-ID: <20220411221248.609465-1-fontaine.fabrice@gmail.com> SPI unconditionally uses GPIOHANDLE_SET_LINE_VALUES_IOCTL which is only available since kernel 4.8 and https://github.com/torvalds/linux/commit/d7c51b47ac11e66f547b55640405c1c474642d72 resulting in the following build failure since switch to upstream in commit 03fa36df7e6aca0f4a1c8ae2fe691c0cda6ddc7a: linuxspi.c: In function 'linuxspi_reset_mcu': linuxspi.c:102:28: error: storage size of 'data' isn't known struct gpiohandle_data data; ^~~~ linuxspi.c:110:32: error: 'GPIOHANDLE_SET_LINE_VALUES_IOCTL' undeclared (first use in this function) ret = ioctl(fd_linehandle, GPIOHANDLE_SET_LINE_VALUES_IOCTL, &data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/769021040e5e9293584734e4f461baeaa6dd91cd Signed-off-by: Fabrice Fontaine --- package/avrdude/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/avrdude/Config.in b/package/avrdude/Config.in index 89558a5ff5..cbbd076667 100644 --- a/package/avrdude/Config.in +++ b/package/avrdude/Config.in @@ -20,10 +20,10 @@ if BR2_PACKAGE_AVRDUDE config BR2_PACKAGE_AVRDUDE_SPI bool "SPI support" default y # Backward compatibility - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 -comment "SPI support needs a toolchain w/ linux headers >= 4.6" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 +comment "SPI support needs a toolchain w/ linux headers >= 4.8" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 endif -- 2.35.1 From geomatsi at gmail.com Tue Apr 12 05:58:44 2022 From: geomatsi at gmail.com (Sergey Matyukevich) Date: Tue, 12 Apr 2022 08:58:44 +0300 Subject: [Buildroot] [PATCH] package/wpa_supplicant: enable libnl for the WIRED driver In-Reply-To: <20220411090723.13504-1-yegorslists@googlemail.com> References: <20220411090723.13504-1-yegorslists@googlemail.com> Message-ID: Hi Yegor, > From: Yegor Yefremov > > BR2_PACKAGE_WPA_SUPPLICANT_WIRED also enables the MACSEC_LINUX > driver. This driver requires libnl. > > Also fix CONFIG_DRIVER_MACSEC option to enable only the generic > Linux driver and not QCA extensions. > > Fixes: > http://autobuild.buildroot.net/results/2dea7dee521794b306cc610601fda322987e6cd0 > > Signed-off-by: Yegor Yefremov Thanks for looking into this issue. Reviewed-by: Sergey Matyukevich Regards, Sergey From yegorslists at googlemail.com Tue Apr 12 06:06:24 2022 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Tue, 12 Apr 2022 08:06:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/avrdude: spi needs headers >= 4.8 In-Reply-To: <20220411221248.609465-1-fontaine.fabrice@gmail.com> References: <20220411221248.609465-1-fontaine.fabrice@gmail.com> Message-ID: On Tue, Apr 12, 2022 at 12:14 AM Fabrice Fontaine wrote: > > SPI unconditionally uses GPIOHANDLE_SET_LINE_VALUES_IOCTL which is only > available since kernel 4.8 and > https://github.com/torvalds/linux/commit/d7c51b47ac11e66f547b55640405c1c474642d72 > resulting in the following build failure since switch to upstream in > commit 03fa36df7e6aca0f4a1c8ae2fe691c0cda6ddc7a: > > linuxspi.c: In function 'linuxspi_reset_mcu': > linuxspi.c:102:28: error: storage size of 'data' isn't known > struct gpiohandle_data data; > ^~~~ > linuxspi.c:110:32: error: 'GPIOHANDLE_SET_LINE_VALUES_IOCTL' undeclared (first use in this function) > ret = ioctl(fd_linehandle, GPIOHANDLE_SET_LINE_VALUES_IOCTL, &data); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/769021040e5e9293584734e4f461baeaa6dd91cd > > Signed-off-by: Fabrice Fontaine Reviewed-by: Yegor Yefremov > package/avrdude/Config.in | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/avrdude/Config.in b/package/avrdude/Config.in > index 89558a5ff5..cbbd076667 100644 > --- a/package/avrdude/Config.in > +++ b/package/avrdude/Config.in > @@ -20,10 +20,10 @@ if BR2_PACKAGE_AVRDUDE > config BR2_PACKAGE_AVRDUDE_SPI > bool "SPI support" > default y # Backward compatibility > - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 > + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 > > -comment "SPI support needs a toolchain w/ linux headers >= 4.6" > - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 > +comment "SPI support needs a toolchain w/ linux headers >= 4.8" > + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 > > endif > > -- > 2.35.1 > From jose.pekkarinen at unikie.com Tue Apr 12 06:28:10 2022 From: jose.pekkarinen at unikie.com (=?UTF-8?q?Jos=C3=A9=20Pekkarinen?=) Date: Tue, 12 Apr 2022 09:28:10 +0300 Subject: [Buildroot] [PATCH] Add overrides configuration option Message-ID: <20220412062810.8567-1-jose.pekkarinen@unikie.com> From: Mika Joenpera Overrides configration option enabled through wpa_supplicant configuration file. Signed-off-by: Mika Joenpera Signed-off-by: Jos? Pekkarinen --- package/wpa_supplicant/Config.in | 7 +++++++ package/wpa_supplicant/wpa_supplicant.mk | 10 ++++++++++ 2 files changed, 17 insertions(+) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index 8f095cdf2d..bb4b78433e 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -84,6 +84,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING Enable support for open and secured mesh networking (IEEE 802.11s) +config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES + bool "Enable HT/VHT overrides" + help + Enable wpa_supplicant overrides for HT and VHT (disable + HT/HT40, mask MCS rates, etc.) in wpa_supplicant + configuration file. + config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN bool "Enable autoscan" help diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 3c0b0c1dfc..b9da6c0c6d 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -110,6 +110,16 @@ else WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y) +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_HT_OVERRIDES \ + CONFIG_VHT_OVERRIDES +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_HT_OVERRIDES \ + CONFIG_VHT_OVERRIDES +endif + ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_AUTOSCAN_EXPONENTIAL \ -- 2.25.1 From arnout at mind.be Tue Apr 12 08:28:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 10:28:10 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <874k2zgxzk.fsf@dell.be.48ers.dk> References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> <87bkx7h299.fsf@dell.be.48ers.dk> <874k2zgxzk.fsf@dell.be.48ers.dk> Message-ID: <4fead5f8-95e6-6f88-6a8c-f62a32fcec9f@mind.be> On 11/04/2022 22:34, Peter Korsgaard wrote: >>>>>> "Peter" == Peter Korsgaard writes: > > Hi, > > > @@ -55,7 +55,7 @@ var ( > > // NOTE: The $Format strings are replaced during 'git archive' thanks to the > > // companion .gitattributes file containing 'export-subst' in this same > > // directory. See also https://git-scm.com/docs/gitattributes > > - gitVersion string = "v0.0.0-master+3df54a85234" > > + gitVersion string = "v0.0.0-master+3df54a8523" > > gitCommit string = "3df54a852345ae127d1fa3092b95168e4a88e2f8" > > // sha1 from git, output of $(git rev-parse HEAD) > > gitTreeState string = "" // state of git tree, either "clean" or "dirty" > > > So the gitVersion field lost a digit. No idea how this could > > happen. Looking at the file in the git repo I see that this is listed > > as: > > > gitVersion string = "v0.0.0-master+$Format:%H$" > > gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) > > > https://github.com/containerd/containerd/blob/main/vendor/k8s.io/client-go/pkg/version/base.go > > > So I guess something in github is wrongly expanding this $Format? > > The format logic itself is part of git, as the export-subst attibute has > been set for base.go: > > https://git-scm.com/docs/gitattributes > > But why the two $Format:%H$ lines expand to different things and why it > has changed over time is unclear to me. > > In any case, I've pushed a commit to 2022.02.x to adjust the hash to > what Github is now serving. As I've written in the mail that went concurrently with yours, this may change again at any time. Therefore, please make sure that you update the tarball on sources.buildroot.org so there's a fallback when the hash changes again. Regards, Arnout From peter at korsgaard.com Tue Apr 12 09:26:40 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 12 Apr 2022 11:26:40 +0200 Subject: [Buildroot] [git commit] package/containerd: security bump to version 1.5.11 In-Reply-To: <4fead5f8-95e6-6f88-6a8c-f62a32fcec9f@mind.be> (Arnout Vandecappelle's message of "Tue, 12 Apr 2022 10:28:10 +0200") References: <20220405185320.319C18361B@busybox.osuosl.org> <9ca9a86e-917a-ea5a-04bf-b9cd0e15aff5@othermo.de> <07cb544d-bc42-d774-08aa-67cecc96c1b0@mind.be> <87bkx7h299.fsf@dell.be.48ers.dk> <874k2zgxzk.fsf@dell.be.48ers.dk> <4fead5f8-95e6-6f88-6a8c-f62a32fcec9f@mind.be> Message-ID: <87ilrefy9b.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: Hi, >> In any case, I've pushed a commit to 2022.02.x to adjust the hash to >> what Github is now serving. > As I've written in the mail that went concurrently with yours, this > may change again at any time. Therefore, please make sure that you > update the tarball on sources.buildroot.org so there's a fallback when > the hash changes again. It should happen automatically now that the hash matches, but I have triggered a manual sync for containerd and cleared the negative cache in cloudflare. On a related note, the go/rust vendoring stuff isn't great for the source mirror, where we basically run make foo-source for all packages - And which now builds an internal toolchain and host-go / host-rust before doing the download :/ I guess I'll need to rework the mirroring logic a bit. -- Bye, Peter Korsgaard From nealf at xilinx.com Tue Apr 12 09:44:36 2022 From: nealf at xilinx.com (Neal Frager) Date: Tue, 12 Apr 2022 09:44:36 +0000 Subject: [Buildroot] Xilinx KV260 Support Message-ID: Dear buildroot community, I am working on adding a defconfig for the Xilinx KV260 Starter Kit. It is a low cost zynqmp development kit showcasing the first Xilinx Kria K26 SOM module. https://www.xilinx.com/products/som/kria/kv260-vision-starter-kit.html I have managed to get buildroot up and running on the hardware, but I currently need to implement some manual steps. Here are the issues I need to solve. Both are related to a device tree overlay. 1. Install the zynqmp-sck-kv-g-revB.dtbo to the output/images directory: BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-sm-k26-revA xilinx/zynqmp-sck-kv-g-revB" BR2_LINUX_KERNEL_DTB_OVERLAYS_SUPPORT=y I need the build system to install the zynqmp-sm-k26-revA.dtb and the zynqmp-sck-kv-g-revB.dtbo files to the output/images directory. I have tried the BR2_LINUX_KERNEL_DTB_OVERLAYS_SUPPORT option above, but I do not see how to get the zynqmp-sck-kv-g-revB.dtbo Instead of the zynqmp-sck-kv-g-revB.dtb. 2. Apply the overlay to generate a system.dtb in the post-image.sh: I am currently using the following command to generate the system.dtb that I need for booting: fdtoverlay -o output/images/system.dtb -i output/images/zynqmp-sm-k26-revA.dtb output/images/zynqmp-sck-kv-g-revB.dtbo Does anyone have a good idea for how I could implement this in a generic way in the post-image.sh script? Perhaps someone can help me with a nice way to automate this, so that I can create a proper buildroot defconfig for the KV260? Please let me know if you have any ideas or feedback. Thanks for any support! Best regards, Neal Frager AMD From mf at go-sys.de Tue Apr 12 10:19:19 2022 From: mf at go-sys.de (Michael Fischer) Date: Tue, 12 Apr 2022 12:19:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/openssh: bump to version 9.0p1 Message-ID: <20220412101919.7454-1-mf@go-sys.de> patch 0001: already applied upstream patch 0002: already applied upstream https://www.openssh.com/txt/release-9.0 Signed-off-by: Michael Fischer --- ...llow-ppoll_time64-in-seccomp-sandbox.patch | 32 ---------------- ...n-of-fzero-call-used-regs-all-suppor.patch | 38 ------------------- package/openssh/openssh.hash | 4 +- package/openssh/openssh.mk | 2 +- 4 files changed, 3 insertions(+), 73 deletions(-) delete mode 100644 package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch delete mode 100644 package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch diff --git a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch b/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch deleted file mode 100644 index 16eb6eaba2..0000000000 --- a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 284b6e5394652d519e31782e3b3cdfd7b21d1a81 Mon Sep 17 00:00:00 2001 -From: Darren Tucker -Date: Sat, 26 Feb 2022 14:06:14 +1100 -Subject: [PATCH] Allow ppoll_time64 in seccomp sandbox. - -Should fix sandbox violations on (some? at least i386 and armhf) 32bit -Linux platforms. Patch from chutzpahu at gentoo.org and cjwatson at -debian.org via bz#3396. - -[Upstream: https://github.com/openssh/openssh-portable/commit/284b6e5394652d519e31782e3b3cdfd7b21d1a81.patch] -Signed-off-by: John Keeping ---- - sandbox-seccomp-filter.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c -index 2e065ba3..4ce80cb2 100644 ---- a/sandbox-seccomp-filter.c -+++ b/sandbox-seccomp-filter.c -@@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = { - #ifdef __NR_ppoll - SC_ALLOW(__NR_ppoll), - #endif -+#ifdef __NR_ppoll_time64 -+ SC_ALLOW(__NR_ppoll_time64), -+#endif - #ifdef __NR_poll - SC_ALLOW(__NR_poll), - #endif --- -2.35.1 - diff --git a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch b/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch deleted file mode 100644 index ce5c5539ff..0000000000 --- a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch +++ /dev/null @@ -1,38 +0,0 @@ -From b5fee5fe98f708c1dc61a1564db35eacadbfe8b3 Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Thu, 24 Feb 2022 16:04:18 +0000 -Subject: [PATCH] Improve detection of -fzero-call-used-regs=all support - -GCC doesn't tell us whether this option is supported unless it runs into -the situation where it would need to emit corresponding code. - -[Upstream: https://github.com/openssh/openssh-portable/commit/f107467179428a0e3ea9e4aa9738ac12ff02822d.patch] -Signed-off-by: Peter Seiderer ---- - m4/openssh.m4 | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/m4/openssh.m4 b/m4/openssh.m4 -index 4f9c379..8c33c70 100644 ---- a/m4/openssh.m4 -+++ b/m4/openssh.m4 -@@ -14,6 +14,8 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{ - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - #include - #include -+/* Trivial function to help test for -fzero-call-used-regs */ -+void f(int n) {} - int main(int argc, char **argv) { - (void)argv; - /* Some math to catch -ftrapv problems in the toolchain */ -@@ -21,6 +23,7 @@ int main(int argc, char **argv) { - float l = i * 2.1; - double m = l / 0.5; - long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; -+ f(0); - printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); - /* - * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does --- -2.35.1 - diff --git a/package/openssh/openssh.hash b/package/openssh/openssh.hash index dd123c1bb6..4cfdb91484 100644 --- a/package/openssh/openssh.hash +++ b/package/openssh/openssh.hash @@ -1,4 +1,4 @@ -# From https://www.openssh.com/txt/release-8.9 (base64 encoded) -sha256 fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7 openssh-8.9p1.tar.gz +# From https://www.openssh.com/txt/release-9.0 (base64 encoded) +sha256 03974302161e9ecce32153cfa10012f1e65c8f3750f573a73ab1befd5972a28a openssh-9.0p1.tar.gz # Locally calculated sha256 d6807e99f3d159145c659060f57c3fa74e109faa39326dbfc38674cb550fd104 LICENCE diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index 84add9563d..63a28f3af5 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENSSH_VERSION_MAJOR = 8.9 +OPENSSH_VERSION_MAJOR = 9.0 OPENSSH_VERSION_MINOR = p1 OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR) OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR) -- 2.20.1 From nicolas.tran at smile.fr Tue Apr 12 10:42:48 2022 From: nicolas.tran at smile.fr (Nicolas TRAN) Date: Tue, 12 Apr 2022 12:42:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: bump to version 1.59.0 In-Reply-To: <18863202-0ccb-1714-3d05-6f0e119b613d@mind.be> References: <20220407115952.56219-1-nicolas.tran@smile.fr> <20220407115952.56219-2-nicolas.tran@smile.fr> <18863202-0ccb-1714-3d05-6f0e119b613d@mind.be> Message-ID: Hello Arnout, Thank you for the feedback! The patch implementing Rust 1.60.0 is almost ready and I'm currently trying to figure out how to test the packages relying on Rust you mentioned. Although following the manual section for `utils/test-pkg`, I don't quite understand how to make a toolchain consider the package I'm testing. For example, with a `librsvg.config` containing "BR2_PACKAGE_LIBRSVG=y", I tried the following command to test `package/librsvg`: $ ./utils/test-pkg -c librsvg.config -p librsvg It turns out all the selected toolchains are SKIPPED. Does each toolchain I want to test need to have its config file modified to include the line specified in the output missing.config file? I've tried writing those lines into the `librsvg.config` I created but it does not seem to be taken into consideration and the `missing.config` remains the same... Another question: In the previous command found in the Buildroot manual, `-p` is an option to be able to "test-build" the package afterhand, by typing `make librsvg` in my case. What is the output I am supposed to witness in case of a successful test? Is it intended that running the test-build on the package named libcurl (just like in the manual) it seems to be built then removed, with no success comment? Best regards, Nicolas On Sun, Apr 10, 2022 at 4:45 PM Arnout Vandecappelle wrote: > Hi Nicolas, > > On 07/04/2022 13:59, Nicolas Tran wrote: > > Link to Rust version 1.59.0: > https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html > > Excellent, thanks! Unfortunately, I just applied two patches that add a > bunch > of other tarballs, so these will have to be updated as well now. > > Also, the very day that you posted this patch, rust 1.60 was released. > So > maybe you can update to that? > > Finally, when updating rust, it's a good idea to do a build test (using > the > test-pkg script) of a few packages that rely on rust: rsvg, > python-cryptography, > ripgrep, suricata. > > Oh, also: everything you put in the cover letter would actually be > useful in > the commit message. We just prefer if it's written in passive sense rather > than > first person, i.e. "Source archives were retrieved and ...". But that's > really a > minor thing. > > Regards, > Arnout > > > > > Signed-off-by: Nicolas Tran > > --- > > package/rust-bin/rust-bin.hash | 198 ++++++++++++++++----------------- > > package/rust-bin/rust-bin.mk | 2 +- > > package/rust/rust.hash | 6 +- > > package/rust/rust.mk | 2 +- > > 4 files changed, 104 insertions(+), 104 deletions(-) > > > > diff --git a/package/rust-bin/rust-bin.hash > b/package/rust-bin/rust-bin.hash > > index 9f8788a295..1aa166c45e 100644 > > --- a/package/rust-bin/rust-bin.hash > > +++ b/package/rust-bin/rust-bin.hash > > @@ -1,102 +1,102 @@ > > -# From > https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > > -sha256 > 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e > rust-1.58.1-i686-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > > -sha256 > f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 > rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > > -sha256 > c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 > rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc > > -sha256 > 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 > rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc > > -sha256 > eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d > rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc > > -sha256 > 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 > rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc > > -sha256 > b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff > rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc > > -sha256 > 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 > rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc > > -sha256 > 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 > rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc > > -sha256 > 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 > rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc > > -sha256 > 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 > rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc > > -sha256 > 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f > rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc > > -sha256 > 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc > rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc > > -sha256 > db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 > rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc > > -sha256 > 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 > rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc > > -sha256 > e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa > rust-std-1.58.1-i586-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > > -sha256 > d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 > rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc > > -sha256 > c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 > rust-std-1.58.1-i686-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > > -sha256 > b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 > rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc > > -sha256 > 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 > rust-std-1.58.1-mips-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc > > -sha256 > 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 > rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc > > -sha256 > 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 > rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc > > -sha256 > 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 > rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc > > -sha256 > 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 > rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > > -sha256 > fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 > rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc > > -sha256 > c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e > rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > > -sha256 > 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 > rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > > -sha256 > c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b > rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > > -sha256 > a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 > rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > > -sha256 > 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 > rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc > > -sha256 > 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 > rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > > -sha256 > e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 > rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz > > -# From > https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc > > -sha256 > b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 > rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-1.59.0-i686-unknown-linux-gnu.tar.xz.asc > > +sha256 > b4144c89f9482f3e76ccad09d0a3072c935b7c0abdb9a52edbd641f2e27bb4f0 > rust-1.59.0-i686-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc > > +sha256 > a10c4abcba4891c463612c161246706cd0e8d3ddb1ae75f514d3f02bed235af6 > rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz.asc > > +sha256 > 68e50dee4f6dddeab7330906e46022f57f2c004c847eae3f5b1bc82c59e43fc0 > rust-std-1.59.0-aarch64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz.asc > > +sha256 > 6b8424e9b99da7df3b842b47476fbff4c371414186ae50ca0aff050a532c1d52 > rust-std-1.59.0-aarch64-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz.asc > > +sha256 > b65ffcf5a4b4e4df3893b6da7182e2f91cd174e59fd26a69110809015635708a > rust-std-1.59.0-arm-unknown-linux-gnueabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz.asc > > +sha256 > 382051a04047463430bfb4d16fe2998fcd00f0945cb99b622e94a7564796846a > rust-std-1.59.0-arm-unknown-linux-gnueabihf.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz.asc > > +sha256 > f072103ccbd967ccf06c3e4366a56af1f53af89834f02d0151afc144318d9040 > rust-std-1.59.0-arm-unknown-linux-musleabihf.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz.asc > > +sha256 > e2f4944fb135c508b0c8dff46caf04eca065e5ee5f5de32494b084c667fd20eb > rust-std-1.59.0-arm-unknown-linux-musleabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz.asc > > +sha256 > 2b9042ae8d24f5d8ada3d1903e24c2cdcc464e74a506cb72054a680b1e0433bb > rust-std-1.59.0-armv5te-unknown-linux-gnueabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz.asc > > +sha256 > 1f0726d6b06b7b35de32af45b9f8ac597c89cc5e7236ac6a6dcb91f0412b0e1a > rust-std-1.59.0-armv5te-unknown-linux-musleabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz.asc > > +sha256 > 310ce12c01fa15f46b8f9eee4a086c818118dbd56cd8400aee04432ba96061df > rust-std-1.59.0-armv7-unknown-linux-gnueabihf.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz.asc > > +sha256 > 3695a3bee47cfe0624f7822243000a4ee552bf920b403b16cc633513e95498bd > rust-std-1.59.0-armv7-unknown-linux-gnueabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz.asc > > +sha256 > 6c00582c159524a87b8934a5e4cb513d6032474f9a017bf91697e72885bf70fb > rust-std-1.59.0-armv7-unknown-linux-musleabihf.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz.asc > > +sha256 > dcf0f1ddc6dc5e32a07789408d0a2637d639e00cf214c349921d06d3f73c7b2c > rust-std-1.59.0-armv7-unknown-linux-musleabi.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz.asc > > +sha256 > 415a93bc55da0879335a18e55552a111a23bd9d5e70598080071f6346a9b4a0d > rust-std-1.59.0-i586-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-i586-unknown-linux-musl.tar.xz.asc > > +sha256 > a0a644cb14eec96760b870b585b08a3bf2965844754f8b965b39aded5635ab77 > rust-std-1.59.0-i586-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz.asc > > +sha256 > 26e91818a36184998039aeaabbf0972a8610d0d250e4bc03de6f27a7843971b5 > rust-std-1.59.0-i686-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-i686-unknown-linux-musl.tar.xz.asc > > +sha256 > 5821c1655adc81bc2a347329eab08b651f3312f2eeb972b0a30d93a5c49502f5 > rust-std-1.59.0-i686-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz.asc > > +sha256 > 05bf10c11ff845f006331ddfdd109e12b1377c156e37eb1bb3bc0402e4219d31 > rust-std-1.59.0-mips-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips-unknown-linux-musl.tar.xz.asc > > +sha256 > af5ee07f5d98296435867ef5859ec207c57413bb61b0d656c39b1f451aaeeb38 > rust-std-1.59.0-mips-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz.asc > > +sha256 > 88c6b0dbadfc7bcc2a2eba0f3328ad1ff1714a5a13f07bffe007aecae59fc9b8 > rust-std-1.59.0-mips64-unknown-linux-gnuabi64.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz.asc > > +sha256 > a0533694ed62c9c3f497d94ee51bc9ba08e5f3fb24588e02cf1f1c2efbdb9b43 > rust-std-1.59.0-mips64-unknown-linux-muslabi64.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc > > +sha256 > 6a3462a10da953546412912d04228a63c5d4086a4768163f1bd5ccf81950090d > rust-std-1.59.0-mips64el-unknown-linux-gnuabi64.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz.asc > > +sha256 > 606d037a01cc7666594b7973c6a727c69426d85adaf94128dc9914e893ef8ed9 > rust-std-1.59.0-mips64el-unknown-linux-muslabi64.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz.asc > > +sha256 > fd747f4ef4cee6fe88692dd6e3c7b986870ce8a24eab8920adacc7ab73fb482d > rust-std-1.59.0-mipsel-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz.asc > > +sha256 > 4622aa633ad2d0decca59aa65b24195431e40162804352f5bdd9bafd92ee7b9d > rust-std-1.59.0-mipsel-unknown-linux-musl.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz.asc > > +sha256 > 5ead471b53d290960d49a7cec0ba01a082f5e6cfa18825366990d46797dc7161 > rust-std-1.59.0-powerpc-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz.asc > > +sha256 > 1217290e951ae84998d2d04a88d154b1da205e2638a3449c02c8e9256bff589c > rust-std-1.59.0-powerpc64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz.asc > > +sha256 > 15dee7705967e3351aff11c64ada30c4957b54066c7ee49b87be4b8155bd0a7d > rust-std-1.59.0-powerpc64le-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz.asc > > +sha256 > 74c1f9c94ff4993948c05df2c9c58f76708e6adbacb9b2caca368558dde9590a > rust-std-1.59.0-riscv64gc-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz.asc > > +sha256 > 6bc109f7ff1f501153cc18eebed9a0cc468eebbfed2cc728047d59456e356f9a > rust-std-1.59.0-sparc64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc > > +sha256 > c854a9ee3dd8e5be9522c1581f75838c1cbae6dece3934b0004f138c4a5024a3 > rust-std-1.59.0-x86_64-unknown-linux-gnu.tar.xz > > +# From > https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz.asc > > +sha256 > 473b6ddf598418db49efc21c3d2702cdaf9c78ee4ae00611c7d9e384a2d4dad7 > rust-std-1.59.0-x86_64-unknown-linux-musl.tar.xz > > # Locally generated > > sha256 > 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a > LICENSE-APACHE > > sha256 > 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 > LICENSE-MIT > > diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk > > index d4cb8f50ea..b50465f7a6 100644 > > --- a/package/rust-bin/rust-bin.mk > > +++ b/package/rust-bin/rust-bin.mk > > @@ -4,7 +4,7 @@ > > # > > > ################################################################################ > > > > -RUST_BIN_VERSION = 1.58.1 > > +RUST_BIN_VERSION = 1.59.0 > > RUST_BIN_SITE = https://static.rust-lang.org/dist > > RUST_BIN_LICENSE = Apache-2.0 or MIT > > RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > > diff --git a/package/rust/rust.hash b/package/rust/rust.hash > > index 7eb8f59603..63a5644176 100644 > > --- a/package/rust/rust.hash > > +++ b/package/rust/rust.hash > > @@ -1,6 +1,6 @@ > > -# From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 > > -# Verified using > https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc > > -sha256 > 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 > rustc-1.58.1-src.tar.xz > > +# From https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.sha256 > > +# Verified using > https://static.rust-lang.org/dist/rustc-1.59.0-src.tar.xz.asc > > +sha256 > 375996ead731cab2203ec10a66a3c4568ab6997d7e5d3ae597658164fe27be3d > rustc-1.59.0-src.tar.xz > > # Locally generated > > sha256 > 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a > LICENSE-APACHE > > sha256 > 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 > LICENSE-MIT > > diff --git a/package/rust/rust.mk b/package/rust/rust.mk > > index cd8c87b68d..fd02686082 100644 > > --- a/package/rust/rust.mk > > +++ b/package/rust/rust.mk > > @@ -4,7 +4,7 @@ > > # > > > ################################################################################ > > > > -RUST_VERSION = 1.58.1 > > +RUST_VERSION = 1.59.0 > > RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz > > RUST_SITE = https://static.rust-lang.org/dist > > RUST_LICENSE = Apache-2.0 or MIT > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Eugen.Hristev at microchip.com Tue Apr 12 11:15:01 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Tue, 12 Apr 2022 11:15:01 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <8735ims60b.fsf@dell.be.48ers.dk> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> Message-ID: On 4/9/22 5:09 PM, Peter Korsgaard wrote: >>>>>> "Fabrice" == Fabrice Fontaine writes: > > > Use internal bind as dhcp doesn't build since bump of bind to version > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > doesn't plan to fix it any time soon: > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > In file included from ../includes/dhcpd.h:91, > > from ctrace.c:29: > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > 51 | #include > > | ^~~~~~~~~~~~~~~ > > > Fixes: > > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > > Signed-off-by: Fabrice Fontaine > > Committed to 2022.02.x, thanks. > > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > Hello Peter, Fabrice, While your patch solves the isc/boolean.h problem, now I get several other problems when building an arm926 platform with this package : (sam9x60ek) Could you help please? 2022.01.1 is broken for me atm. Thanks, Eugen >>> dhcp 4.4.2-P1 Building PATH="/home/eugen/buildroot-2022.02/buildroot/output/host/bin:/home/eugen/buildroot-2022.02/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j1 -C /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/ Making all in ./bind /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14 already unpacked... Bind libraries already configured Building BIND libraries - this takes some time. Building isc library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc stats.c: In function ?setcounter?: stats.c:300:29: error: ?val? undeclared (first use in this function); did you mean ?value?? 300 | stats->counters[counter] = val; | ^~~ | value stats.c:300:29: note: each undeclared identifier is reported only once for each function it appears in stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] 286 | const uint64_t value) | ~~~~~~~~~~~~~~~^~~~~ make[4]: *** [Makefile:290: stats.lo] Error 1 Building dns library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns /lib/ld-linux.so.3: No such file or directory make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 make[4]: *** [Makefile:599: include] Error 2 Building isccfg library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg In file included from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24, from aclconf.c:24: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: fatal error: dns/enumtype.h: No such file or directory 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:241: aclconf.lo] Error 1 Building irs library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/irs In file included from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28, from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45, from context.c:28: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: fatal error: dns/enumtype.h: No such file or directory 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:239: context.lo] Error 1 Installing BIND libraries to /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind. stats.c: In function ?setcounter?: stats.c:300:29: error: ?val? undeclared (first use in this function); did you mean ?value?? 300 | stats->counters[counter] = val; | ^~~ | value stats.c:300:29: note: each undeclared identifier is reported only once for each function it appears in stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] 286 | const uint64_t value) | ~~~~~~~~~~~~~~~^~~~~ make[4]: *** [Makefile:290: stats.lo] Error 1 /lib/ld-linux.so.3: No such file or directory make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 make[4]: *** [Makefile:599: include] Error 2 In file included from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24, from aclconf.c:24: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: fatal error: dns/enumtype.h: No such file or directory 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:241: aclconf.lo] Error 1 In file included from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28, from /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45, from context.c:28: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: fatal error: dns/enumtype.h: No such file or directory 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:239: context.lo] Error 1 make[3]: *** [Makefile:76: bind2] Error 2 From fontaine.fabrice at gmail.com Tue Apr 12 11:22:40 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 13:22:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> Message-ID: Hello Eugen, Le mar. 12 avr. 2022 ? 13:15, a ?crit : > > On 4/9/22 5:09 PM, Peter Korsgaard wrote: > >>>>>> "Fabrice" == Fabrice Fontaine writes: > > > > > Use internal bind as dhcp doesn't build since bump of bind to version > > > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream > > > doesn't plan to fix it any time soon: > > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883 > > > > > In file included from ../includes/dhcpd.h:91, > > > from ctrace.c:29: > > > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory > > > 51 | #include > > > | ^~~~~~~~~~~~~~~ > > > > > Fixes: > > > - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939 > > > > > Signed-off-by: Fabrice Fontaine > > > > Committed to 2022.02.x, thanks. > > > > -- > > Bye, Peter Korsgaard > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > > > > Hello Peter, Fabrice, > > While your patch solves the isc/boolean.h problem, now I get several > other problems when building an arm926 platform with this package : > (sam9x60ek) > > Could you help please? 2022.01.1 is broken for me atm. You should apply: https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 as well as https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ Having said that, I fear that dhcp will have to be removed soon due to security concerns: https://gitlab.isc.org/isc-projects/dhcp/-/issues/233 > > Thanks, > Eugen > > > >>> dhcp 4.4.2-P1 Building > PATH="/home/eugen/buildroot-2022.02/buildroot/output/host/bin:/home/eugen/buildroot-2022.02/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" > /usr/bin/make -j1 -C > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/ > Making all in ./bind > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14 > already unpacked... > Bind libraries already configured > Building BIND libraries - this takes some time. > Building isc library in > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc > stats.c: In function ?setcounter?: > stats.c:300:29: error: ?val? undeclared (first use in this function); > did you mean ?value?? > 300 | stats->counters[counter] = val; > | ^~~ > | value > stats.c:300:29: note: each undeclared identifier is reported only once > for each function it appears in > stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] > 286 | const uint64_t value) > | ~~~~~~~~~~~~~~~^~~~~ > make[4]: *** [Makefile:290: stats.lo] Error 1 > > > Building dns library in > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns > > /lib/ld-linux.so.3: No such file or directory > > > make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 > > > make[4]: *** [Makefile:599: include] Error 2 > > > Building isccfg library in > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg > In file included from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24, > from aclconf.c:24: > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: > fatal error: dns/enumtype.h: No such file or directory > 230 | #include /* Provides dns_rdatatype_t. */ > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:241: aclconf.lo] Error 1 > Building irs library in > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/irs > In file included from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28, > from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45, > from context.c:28: > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: > fatal error: dns/enumtype.h: No such file or directory > 230 | #include /* Provides dns_rdatatype_t. */ > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:239: context.lo] Error 1 > Installing BIND libraries to > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind. > stats.c: In function ?setcounter?: > stats.c:300:29: error: ?val? undeclared (first use in this function); > did you mean ?value?? > 300 | stats->counters[counter] = val; > | ^~~ > | value > stats.c:300:29: note: each undeclared identifier is reported only once > for each function it appears in > stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] > 286 | const uint64_t value) > | ~~~~~~~~~~~~~~~^~~~~ > make[4]: *** [Makefile:290: stats.lo] Error 1 > /lib/ld-linux.so.3: No such file or directory > make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 > make[4]: *** [Makefile:599: include] Error 2 > In file included from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24, > from aclconf.c:24: > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: > fatal error: dns/enumtype.h: No such file or directory > 230 | #include /* Provides dns_rdatatype_t. */ > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:241: aclconf.lo] Error 1 > In file included from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28, > from > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45, > from context.c:28: > /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: > fatal error: dns/enumtype.h: No such file or directory > 230 | #include /* Provides dns_rdatatype_t. */ > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:239: context.lo] Error 1 > make[3]: *** [Makefile:76: bind2] Error 2 Best Regards, Fabrice From peter at korsgaard.com Tue Apr 12 11:33:00 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 12 Apr 2022 13:33:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: (Fabrice Fontaine's message of "Tue, 12 Apr 2022 13:22:40 +0200") References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> Message-ID: <8735iifser.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: Hi, >> Hello Peter, Fabrice, >> >> While your patch solves the isc/boolean.h problem, now I get several >> other problems when building an arm926 platform with this package : >> (sam9x60ek) >> >> Could you help please? 2022.01.1 is broken for me atm. > You should apply: > https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 That is already in 202.02.1: https://git.buildroot.net/buildroot/commit/?h=2022.02.x&id=0397064a9a147903e9e0c16b2506319ea4a246fb > as well as > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ Is that an ack? ;) > Having said that, I fear that dhcp will have to be removed soon due to > security concerns: > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233 Yeah. Eugen, is there any specific reason why you use the dhcp package over the other DHCP clients we provide? -- Bye, Peter Korsgaard From Eugen.Hristev at microchip.com Tue Apr 12 11:43:10 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Tue, 12 Apr 2022 11:43:10 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <8735iifser.fsf@dell.be.48ers.dk> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> Message-ID: <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> On 4/12/22 2:33 PM, Peter Korsgaard wrote: >>>>>> "Fabrice" == Fabrice Fontaine writes: > > Hi, > >>> Hello Peter, Fabrice, > >> > >> While your patch solves the isc/boolean.h problem, now I get several > >> other problems when building an arm926 platform with this package : > >> (sam9x60ek) > >> > >> Could you help please? 2022.01.1 is broken for me atm. > > > You should apply: > > https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 > > That is already in 202.02.1: > > https://git.buildroot.net/buildroot/commit/?h=2022.02.x&id=0397064a9a147903e9e0c16b2506319ea4a246fb > >> as well as > > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ > > Is that an ack? ;) I am testing that patch to see if it improves anything, but as you said Peter, the commit above is already in my tree. > > > Having said that, I fear that dhcp will have to be removed soon due to > > security concerns: > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233 > > Yeah. Eugen, is there any specific reason why you use the dhcp package > over the other DHCP clients we provide? Historical reasons, and the fact that people have working configurations using this package... I was unaware that it was due to be removed. We will try to switch to a different package in the future. Thanks for letting me know. However, if the package is still in this buildroot release, it has to work right ? > > -- > Bye, Peter Korsgaard > From Eugen.Hristev at microchip.com Tue Apr 12 12:32:05 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Tue, 12 Apr 2022 12:32:05 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> Message-ID: <1fe3cf8d-3db1-23ea-8fc6-66b1e5ca043c@microchip.com> On 4/12/22 2:43 PM, Eugen Hristev - M18282 wrote: > On 4/12/22 2:33 PM, Peter Korsgaard wrote: >>>>>>> "Fabrice" == Fabrice Fontaine writes: >> >> Hi, >> >>>> Hello Peter, Fabrice, >> >> >> >> While your patch solves the isc/boolean.h problem, now I get several >> >> other problems when building an arm926 platform with this package : >> >> (sam9x60ek) >> >> >> >> Could you help please? 2022.01.1 is broken for me atm. >> >> > You should apply: >> > https://git.buildroot.net/buildroot/commit/?id=789a08dac5808401629d6fc586b7377f54ebb316 >> >> That is already in 202.02.1: >> >> https://git.buildroot.net/buildroot/commit/?h=2022.02.x&id=0397064a9a147903e9e0c16b2506319ea4a246fb >> >>> as well as >> > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ >> >> Is that an ack? ;) > > I am testing that patch to see if it improves anything, but as you said > Peter, the commit above is already in my tree. It appears that with this patch, I am getting both errors : >>> dhcp 4.4.2-P1 Building PATH="/home/eugen/buildroot-2022.02/buildroot/output/host/bin:/home/eugen/buildroot-2022.02/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j1 -C /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/ Making all in ./bind Configuring BIND libraries for DHCP. configure: WARNING: using cross tools not prefixed with host triplet Building BIND libraries - this takes some time. Building isc library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc In file included from /home/eugen/buildroot-2022.02/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/libc-header-start.h:33, from /home/eugen/buildroot-2022.02/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/limits.h:26, from /home/eugen/buildroot-2022.02/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/include-fixed/limits.h:195, from /home/eugen/buildroot-2022.02/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/include-fixed/syslimits.h:7, from /home/eugen/buildroot-2022.02/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/include-fixed/limits.h:34, from ./include/isc/platform.h:218, from ./include/isc/bind9.h:18, from ./include/isc/types.h:19, from ./include/isc/safe.h:20, from ./safe.c:18: /home/eugen/buildroot-2022.02/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ stats.c: In function ?setcounter?: stats.c:300:29: error: ?val? undeclared (first use in this function); did you mean ?value?? 300 | stats->counters[counter] = val; | ^~~ | value stats.c:300:29: note: each undeclared identifier is reported only once for each function it appears in stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] 286 | const uint64_t value) | ~~~~~~~~~~~~~~~^~~~~ make[4]: *** [Makefile:290: stats.lo] Error 1 Building dns library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns libtool: error: cannot find the library '../../lib/isc/libisc.la' or unhandled argument '../../lib/isc/libisc.la' make[4]: *** [Makefile:593: libdns.la] Error 1 Building isccfg library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg libtool: error: cannot find the library '../../lib/dns/libdns.la' or unhandled argument '../../lib/dns/libdns.la' make[4]: *** [Makefile:482: libisccfg.la] Error 1 Building irs library in /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/irs /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') Installing BIND libraries to /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind. stats.c: In function ?setcounter?: stats.c:300:29: error: ?val? undeclared (first use in this function); did you mean ?value?? 300 | stats->counters[counter] = val; | ^~~ | value stats.c:300:29: note: each undeclared identifier is reported only once for each function it appears in stats.c:286:20: warning: unused parameter ?value? [-Wunused-parameter] 286 | const uint64_t value) | ~~~~~~~~~~~~~~~^~~~~ make[4]: *** [Makefile:290: stats.lo] Error 1 libtool: error: cannot find the library '../../lib/isc/libisc.la' or unhandled argument '../../lib/isc/libisc.la' make[4]: *** [Makefile:593: libdns.la] Error 1 libtool: error: cannot find the library '../../lib/dns/libdns.la' or unhandled argument '../../lib/dns/libdns.la' make[4]: *** [Makefile:482: libisccfg.la] Error 1 mkdir /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/include mkdir /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/include/irs mkdir /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/lib Making all in includes /usr/bin/make all-am Making all in tests make[3]: Nothing to be done for 'all'. Making all in common Making all in . /bin/bash ../libtool --tag=CC --mode=compile /home/eugen/buildroot-2022.02/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -DISC_CHECK_NONE=1 -I../includes -I/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/include -c -o alloc.lo alloc.c libtool: compile: /home/eugen/buildroot-2022.02/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR=\"/var\" -D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -DISC_CHECK_NONE=1 -I../includes -I/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/include -c alloc.c -fPIC -DPIC -o .libs/alloc.o In file included from ../includes/dhcpd.h:91, from alloc.c:29: ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:561: alloc.lo] Error 1 make[3]: *** [Makefile:619: all-recursive] Error 1 make[2]: *** [Makefile:495: all-recursive] Error 1 make[1]: *** [package/pkg-generic.mk:292: /home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/.stamp_built] Error 2 make: *** [Makefile:84: _all] Error 2 >> >> > Having said that, I fear that dhcp will have to be removed soon due to >> > security concerns: >> > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233 >> >> Yeah. Eugen, is there any specific reason why you use the dhcp package >> over the other DHCP clients we provide? > > Historical reasons, and the fact that people have working configurations > using this package... I was unaware that it was due to be removed. > We will try to switch to a different package in the future. Thanks for > letting me know. > However, if the package is still in this buildroot release, it has to > work right ? >> >> -- >> Bye, Peter Korsgaard >> > From peter at korsgaard.com Tue Apr 12 12:34:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 12 Apr 2022 14:34:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> (Eugen Hristev's message of "Tue, 12 Apr 2022 11:43:10 +0000") References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> Message-ID: <87y20aeb04.fsf@dell.be.48ers.dk> >>>>> writes: Hi, >> Yeah. Eugen, is there any specific reason why you use the dhcp package >> over the other DHCP clients we provide? > Historical reasons, and the fact that people have working configurations > using this package... I was unaware that it was due to be removed. > We will try to switch to a different package in the future. Thanks for > letting me know. > However, if the package is still in this buildroot release, it has to > work right ? Yes, that is the idea. If it is dead upstream and hard to fix then that naturally makes it harder to do, but the intention is to fix it. -- Bye, Peter Korsgaard From giulio.benetti at benettiengineering.com Tue Apr 12 13:27:52 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 12 Apr 2022 15:27:52 +0200 Subject: [Buildroot] =?utf-8?q?=5BPATCH=5D_DEVELOPERS=3A_add_missing_Miqu?= =?utf-8?q?=C3=A8l_Raynal_e-mail?= Message-ID: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- DEVELOPERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEVELOPERS b/DEVELOPERS index d5035b3239..7a87cceaef 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2067,7 +2067,7 @@ F: package/libfribidi/ N: Min Xu F: package/shadowsocks-libev/ -N: Miqu?l Raynal +N: Miqu?l Raynal F: package/mali-driver/ F: package/rockchip-mali/ -- 2.25.1 From giulio.benetti at benettiengineering.com Tue Apr 12 13:27:53 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 12 Apr 2022 15:27:53 +0200 Subject: [Buildroot] [PATCH] package/mali-driver: fix build failure with archs different from aarch64 and arm In-Reply-To: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> References: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> Message-ID: <20220412132753.89827-2-giulio.benetti@benettiengineering.com> Actually this kernel module can be built by any architecture and this leads to many failures. Sintce it's very unlikely that Mali will be part of architectures other than aarch64 and arm let's depend on BR2_aarch64 and BR2_arm only. Fixes: http://autobuild.buildroot.net/results/f94885ef76865c3888d6cc52b35c93a742f92f3a Signed-off-by: Giulio Benetti --- package/mali-driver/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mali-driver/Config.in b/package/mali-driver/Config.in index fee67096c8..4c1a96d05c 100644 --- a/package/mali-driver/Config.in +++ b/package/mali-driver/Config.in @@ -3,6 +3,7 @@ comment "mali-driver needs a Linux kernel to be built" config BR2_PACKAGE_MALI_DRIVER bool "mali-driver" + depends on BR2_aarch64 || BR2_arm depends on BR2_LINUX_KERNEL help This package builds and installs the Linux kernel driver for -- 2.25.1 From peter at korsgaard.com Tue Apr 12 15:02:36 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 12 Apr 2022 17:02:36 +0200 Subject: [Buildroot] Buildroot 2022.02.1 released Message-ID: <87pmlme44z.fsf@dell.be.48ers.dk> Hi, Buildroot is a simple tool for creating complete embedded Linux systems (http://buildroot.org). Buildroot 2022.02.1 is released - Go download it at: http://buildroot.org/downloads/buildroot-2022.02.1.tar.gz or http://buildroot.org/downloads/buildroot-2022.02.1.tar.xz Or get it from Git: git://git.buildroot.org/buildroot Buildroot 2022.02.1 is a bugfix release on the current long term release, fixing a number of important / security related issues discovered since the 2022.02 release. - Graphs: Also generate a build time timeline graph (for top level parallel builds). - scripts/pkg-stats: Optimize memory consumption for CPE parsing - Fix compatibility issue with the fakeroot script logic and modern versions of dash. - Change git:// URLs pointing to Github to https://, now that Github has turned off support for git:// - Security fixes for apache, apr, bind, containerd, haproxy, libiec61850, libopenssl, libressl, libzlib, matio, minidlna, nbd, netatalk, openvpn, python-paramiko, python-pillow, python-twisted, qt5base, raptor, rtl_433, timescaledb, urandom-scripts, vim, wavpack - Fixes for download/compilation/runtime/license issues in ace, belr, bluez5_utils, boinc, bpftool, busybox, cloop, cog, cppcms, dav1d, dhcp, dieharder, dnsmasq, docker-cli, docker-engine, efl, ell, fakeroot, flac, fluidsynth, gdk-pixbuf, glib-networking, gnutls, gst-omx, gst1-devtools, gst1-libav, gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, gstreamer1-editing-services, htop, intel-gmmlib, ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, libgtk3, libkrb5, libminiupnpc, libodb, libodb-boost, libp11, libpsl, librstp, librtlsdr, liburing, libyang, luasec, lxc, meson, minizip, mpd, mtools, odb, openblas, openssh, optee-os, opus, paho-mqtt-c, pango, php, pipewire, pkcs11-helper, postgresql, pppd, protozero, python-aioconsole, python-brotli, python-greenlet, python-rpi-gpio, python-treq, python-ujson, python-weasyprint, qt5base, qt5wayland, rpi-firmware, rpi-userland, runc, rust, rygel, samba4, shairport-sync, spice, spidev_test, stunnel, systemd, trace-cmd, trousers, ts4900-fpga, tvheadend, udpcast, unbound, upower, usbguard, valgrind, valijson, wget, wireplumber, wireshark, xmrig, zabbix, zlib-ng, zynaddsfx, zziplib For more details, see the CHANGES file: https://git.buildroot.net/buildroot/plain/CHANGES?id=2022.02.1 Users of the affected packages are strongly encouraged to upgrade. Many thanks to all the people contributing to this release: git shortlog -sn 2022.02.. 110 Fabrice Fontaine 28 Peter Seiderer 12 James Hilliard 9 Thomas Petazzoni 8 Bernd Kuhls 8 Peter Korsgaard 5 Francois Perrad 5 Quentin Schulz 5 Romain Naour 3 Angelo Compagnucci 3 Christian Stewart 2 Andreas Ziegler 2 Arnout Vandecappelle (Essensium/Mind) 2 Julien Olivain 2 Kris Bahnsen 2 Neal Frager 2 Vincent Stehl? 1 Cl?ment L?ger 1 Jan Havran 1 Jason A. Donenfeld 1 Joel Stanley 1 John Keeping 1 Kamel Bouhara 1 Kyle Harding 1 Markus Mayer 1 Mathieu Mirmont 1 Mirza Kapetanovic 1 Petr Vorel 1 R?mi Duraffort 1 Sassen, Rutger 1 Thomas Huth 1 Yann E. MORIN 1 Yannick Brosseau 1 Yunhao Tian -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Tue Apr 12 16:36:24 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 18:36:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/netdata: fix uclibc build without wchar Message-ID: <20220412163624.1143941-1-fontaine.fabrice@gmail.com> Fix the following uclibc build failure without wchar raised since bump to version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1: configure: error: Netdata requires a compiler that supports C99 to build Fixes: - http://autobuild.buildroot.org/results/bca4d370ed0553d5f99f1277d0a1e3b49f62b95f Signed-off-by: Fabrice Fontaine --- package/netdata/netdata.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index d29733d8f6..dade6c625b 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -18,6 +18,10 @@ NETDATA_CONF_OPTS = \ --disable-unit-tests NETDATA_DEPENDENCIES = libuv util-linux zlib +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +NETDATA_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 + ifeq ($(BR2_GCC_ENABLE_LTO),y) NETDATA_CONF_OPTS += --enable-lto else -- 2.35.1 From yegorslists at googlemail.com Tue Apr 12 17:02:43 2022 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Tue, 12 Apr 2022 19:02:43 +0200 Subject: [Buildroot] [PATCH] Add overrides configuration option In-Reply-To: <20220412062810.8567-1-jose.pekkarinen@unikie.com> References: <20220412062810.8567-1-jose.pekkarinen@unikie.com> Message-ID: Hi Jos?, please change the patch title to something like this: package/wpa_supplicant: add overrides configuration option On Tue, Apr 12, 2022 at 8:28 AM Jos? Pekkarinen wrote: > > From: Mika Joenpera > > Overrides configration option enabled through s/configration/configuration > wpa_supplicant configuration file. > > Signed-off-by: Mika Joenpera > Signed-off-by: Jos? Pekkarinen > --- > package/wpa_supplicant/Config.in | 7 +++++++ > package/wpa_supplicant/wpa_supplicant.mk | 10 ++++++++++ > 2 files changed, 17 insertions(+) > > diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in > index 8f095cdf2d..bb4b78433e 100644 > --- a/package/wpa_supplicant/Config.in > +++ b/package/wpa_supplicant/Config.in > @@ -84,6 +84,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING > Enable support for open and secured mesh networking > (IEEE 802.11s) > > +config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES > + bool "Enable HT/VHT overrides" > + help > + Enable wpa_supplicant overrides for HT and VHT (disable > + HT/HT40, mask MCS rates, etc.) in wpa_supplicant > + configuration file. > + > config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN > bool "Enable autoscan" > help > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk > index 3c0b0c1dfc..b9da6c0c6d 100644 > --- a/package/wpa_supplicant/wpa_supplicant.mk > +++ b/package/wpa_supplicant/wpa_supplicant.mk > @@ -110,6 +110,16 @@ else > WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH > endif > > +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y) > +WPA_SUPPLICANT_CONFIG_ENABLE += \ > + CONFIG_HT_OVERRIDES \ > + CONFIG_VHT_OVERRIDES Does it make sense to also enable CONFIG_HE_OVERRIDES? Regards, Yegor > +else > +WPA_SUPPLICANT_CONFIG_DISABLE += \ > + CONFIG_HT_OVERRIDES \ > + CONFIG_VHT_OVERRIDES > +endif > + > ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) > WPA_SUPPLICANT_CONFIG_ENABLE += \ > CONFIG_AUTOSCAN_EXPONENTIAL \ > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fperrad at gmail.com Tue Apr 12 18:00:57 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:00:57 +0200 Subject: [Buildroot] [PATCH] package/freetype: bump to version 2.12.0 Message-ID: <20220412180057.2709514-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/freetype/freetype.hash | 6 +++--- package/freetype/freetype.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/freetype/freetype.hash b/package/freetype/freetype.hash index 7abc3d96d..78d0ba20d 100644 --- a/package/freetype/freetype.hash +++ b/package/freetype/freetype.hash @@ -1,8 +1,8 @@ -# From https://sourceforge.net/projects/freetype/files/freetype2/2.11.1/ -sha1 86bdc98b37efe447cf53420bf2c18402ff905112 freetype-2.11.1.tar.xz +# From https://sourceforge.net/projects/freetype/files/freetype2/2.12.0/ +sha1 fd1eb1a27f178808e1d8ccd82c71abfa5d0ebe13 freetype-2.12.0.tar.xz +sha256 ef5c336aacc1a079ff9262d6308d6c2a066dd4d2a905301c4adda9b354399033 freetype-2.12.0.tar.xz # Locally calculated -sha256 3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8 freetype-2.11.1.tar.xz sha256 c85e842b7ff04d95dab7d68e812773de0f8b67940e5449d35b42c66eb0f619fe LICENSE.TXT sha256 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1 docs/FTL.TXT sha256 c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18 docs/GPLv2.TXT diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 912e6c4da..5c6b8c73b 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -4,7 +4,7 @@ # ################################################################################ -FREETYPE_VERSION = 2.11.1 +FREETYPE_VERSION = 2.12.0 FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype FREETYPE_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:01:17 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:01:17 +0200 Subject: [Buildroot] [PATCH] package/gnutls: bump to version 3.7.4 Message-ID: <20220412180117.2709569-1-francois.perrad@gadz.org> remove merged patch Signed-off-by: Francois Perrad --- ...cks-define-lock-functions-as-a-macro.patch | 179 ------------------ package/gnutls/gnutls.hash | 4 +- package/gnutls/gnutls.mk | 2 +- 3 files changed, 3 insertions(+), 182 deletions(-) delete mode 100644 package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch diff --git a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch b/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch deleted file mode 100644 index 52965c051..000000000 --- a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch +++ /dev/null @@ -1,179 +0,0 @@ -From 5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd Mon Sep 17 00:00:00 2001 -From: Daiki Ueno -Date: Wed, 9 Mar 2022 08:07:58 +0100 -Subject: [PATCH] locks: define lock functions as a macro - -When threads are not supported, glthread_* functions are defined as -no-op and thus dereferencing lock variables in inline functions will -cause compilation error. This change fixes it by redefining our lock -functions as a macro so it will also be compiled out. - -Reported by Fabrice Fontaine in: -https://gitlab.com/gnutls/gnutls/-/issues/1330 - -Signed-off-by: Daiki Ueno - -[Retrieved from: -https://gitlab.com/gnutls/gnutls/-/commit/5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd] -Signed-off-by: Fabrice Fontaine ---- - lib/locks.c | 54 ----------------------------------------------- - lib/locks.h | 28 ++++++++++++++++++------ - lib/pkcs11.c | 2 +- - lib/priority.c | 2 +- - lib/verify-tofu.c | 2 +- - 5 files changed, 25 insertions(+), 63 deletions(-) - -diff --git a/lib/locks.c b/lib/locks.c -index d61504e077..8888ed6b12 100644 ---- a/lib/locks.c -+++ b/lib/locks.c -@@ -63,57 +63,3 @@ gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit, - gnutls_mutex_lock = lock; - gnutls_mutex_unlock = unlock; - } -- --int --gnutls_static_mutex_lock(gnutls_static_mutex_t lock) --{ -- if (unlikely(glthread_lock_lock(lock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_static_mutex_unlock(gnutls_static_mutex_t lock) --{ -- if (unlikely(glthread_lock_unlock(lock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_rdlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_wrlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_unlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_unlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_once(gnutls_once_t once, void (*init_func) (void)) --{ -- if (unlikely(glthread_once(once, init_func))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -diff --git a/lib/locks.h b/lib/locks.h -index a1ff0fa9d7..907adfc134 100644 ---- a/lib/locks.h -+++ b/lib/locks.h -@@ -40,8 +40,14 @@ extern mutex_unlock_func gnutls_mutex_unlock; - */ - #define GNUTLS_STATIC_MUTEX(lock) gl_lock_define_initialized(static, lock) - typedef gl_lock_t *gnutls_static_mutex_t; --int gnutls_static_mutex_lock(gnutls_static_mutex_t lock); --int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); -+ -+#define gnutls_static_mutex_lock(LOCK) \ -+ (unlikely(glthread_lock_lock(LOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_static_mutex_unlock(LOCK) \ -+ (unlikely(glthread_lock_unlock(LOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - /* Unlike static mutexes, static rwlocks can be locked/unlocked with - * the functions defined below, because there is no way to replace -@@ -50,13 +56,23 @@ int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); - #define GNUTLS_RWLOCK(rwlock) gl_rwlock_define_initialized(static, rwlock) - typedef gl_rwlock_t *gnutls_rwlock_t; - --int gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock); --int gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock); --int gnutls_rwlock_unlock(gnutls_rwlock_t rwlock); -+#define gnutls_rwlock_rdlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_rdlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_rwlock_wrlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_wrlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_rwlock_unlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_unlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - #define GNUTLS_ONCE(once) gl_once_define(static, once) - typedef gl_once_t *gnutls_once_t; - --int gnutls_once(gnutls_once_t once, void (*init_func) (void)); -+#define gnutls_once(ONCE, INIT_FUNC) \ -+ (unlikely(glthread_once(ONCE, INIT_FUNC)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - #endif /* GNUTLS_LIB_LOCKS_H */ -diff --git a/lib/pkcs11.c b/lib/pkcs11.c -index 8dda0f07c9..ba8ac0c375 100644 ---- a/lib/pkcs11.c -+++ b/lib/pkcs11.c -@@ -351,7 +351,7 @@ int _gnutls_pkcs11_check_init(init_level_t req_level, void *priv, pkcs11_reinit_ - ret = sret; - - cleanup: -- gnutls_static_mutex_unlock(&pkcs11_mutex); -+ (void)gnutls_static_mutex_unlock(&pkcs11_mutex); - - return ret; - } -diff --git a/lib/priority.c b/lib/priority.c -index d17a923318..55ae185c1f 100644 ---- a/lib/priority.c -+++ b/lib/priority.c -@@ -2505,7 +2505,7 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache) - } - - out: -- gnutls_rwlock_unlock(&system_wide_config_rwlock); -+ (void)gnutls_rwlock_unlock(&system_wide_config_rwlock); - return ret; - } - -diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c -index 40b7acdc8a..97f47385e6 100644 ---- a/lib/verify-tofu.c -+++ b/lib/verify-tofu.c -@@ -434,7 +434,7 @@ int store_pubkey(const char *db_name, const char *host, - if (fp != NULL) - fclose(fp); - -- gnutls_static_mutex_unlock(&file_mutex); -+ (void)gnutls_static_mutex_unlock(&file_mutex); - gnutls_free(b64key.data); - - return ret; --- -GitLab - diff --git a/package/gnutls/gnutls.hash b/package/gnutls/gnutls.hash index 2ffc6c1b4..c09e4665e 100644 --- a/package/gnutls/gnutls.hash +++ b/package/gnutls/gnutls.hash @@ -1,6 +1,6 @@ # Locally calculated after checking pgp signature -# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.3.tar.xz.sig -sha256 fc59c43bc31ab20a6977ff083029277a31935b8355ce387b634fa433f8f6c49a gnutls-3.7.3.tar.xz +# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.4.tar.xz.sig +sha256 e6adbebcfbc95867de01060d93c789938cf89cc1d1f6ef9ef661890f6217451f gnutls-3.7.4.tar.xz # Locally calculated sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b doc/COPYING sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 doc/COPYING.LESSER diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk index 7317a3bb1..0e461cd44 100644 --- a/package/gnutls/gnutls.mk +++ b/package/gnutls/gnutls.mk @@ -5,7 +5,7 @@ ################################################################################ GNUTLS_VERSION_MAJOR = 3.7 -GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).3 +GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).4 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) GNUTLS_LICENSE = LGPL-2.1+ (core library) -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:01:39 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:01:39 +0200 Subject: [Buildroot] [PATCH] package/libepoxy: bump to version 1.5.10 Message-ID: <20220412180139.2709625-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libepoxy/libepoxy.hash | 4 ++-- package/libepoxy/libepoxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libepoxy/libepoxy.hash b/package/libepoxy/libepoxy.hash index 376920c3c..bf6c52f99 100644 --- a/package/libepoxy/libepoxy.hash +++ b/package/libepoxy/libepoxy.hash @@ -1,5 +1,5 @@ -# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.9.sha256sum -sha256 d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4 libepoxy-1.5.9.tar.xz +# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.10.sha256sum +sha256 072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623 libepoxy-1.5.10.tar.xz # Hashes for license files: sha256 8d5144666f9c4df9bbd69b8900086d5979259152a1060421cdcc0fb9061a1c12 COPYING diff --git a/package/libepoxy/libepoxy.mk b/package/libepoxy/libepoxy.mk index 5a71fe599..2af2e2f6e 100644 --- a/package/libepoxy/libepoxy.mk +++ b/package/libepoxy/libepoxy.mk @@ -5,7 +5,7 @@ ################################################################################ LIBEPOXY_VERSION_MAJOR = 1.5 -LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).9 +LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).10 LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR) LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz LIBEPOXY_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:01:57 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:01:57 +0200 Subject: [Buildroot] [PATCH] package/libevdev: bump to version 1.12.1 Message-ID: <20220412180157.2709680-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libevdev/libevdev.hash | 6 +++--- package/libevdev/libevdev.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libevdev/libevdev.hash b/package/libevdev/libevdev.hash index 68a5ebdcb..dd76e158e 100644 --- a/package/libevdev/libevdev.hash +++ b/package/libevdev/libevdev.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/input-tools/2021-November/001573.html -sha256 2f729e3480695791f9482e8388bd723402b89f0eaf118057bbdea3cecee9b237 libevdev-1.12.0.tar.xz -sha512 6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c libevdev-1.12.0.tar.xz +# From https://lists.freedesktop.org/archives/input-tools/2022-March/001574.html +sha256 1dbba41bc516d3ca7abc0da5b862efe3ea8a7018fa6e9b97ce9d39401b22426c libevdev-1.12.1.tar.xz +sha512 eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4 libevdev-1.12.1.tar.xz # Hash for license files: sha256 6f13de7ce28e4948ba95170e0723ee1254c1978ce1f127af82aeca597b567cb9 COPYING diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk index cd80154be..726a5afce 100644 --- a/package/libevdev/libevdev.mk +++ b/package/libevdev/libevdev.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBEVDEV_VERSION = 1.12.0 +LIBEVDEV_VERSION = 1.12.1 LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz LIBEVDEV_LICENSE = MIT -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:02:13 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:02:13 +0200 Subject: [Buildroot] [PATCH] package/mc: bump to version 4.8.28 Message-ID: <20220412180213.2709733-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/mc/mc.hash | 4 ++-- package/mc/mc.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mc/mc.hash b/package/mc/mc.hash index 6400f64b9..b0381474f 100644 --- a/package/mc/mc.hash +++ b/package/mc/mc.hash @@ -1,4 +1,4 @@ -# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256 -sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz +# Hash from http://ftp.midnight-commander.org/mc-4.8.28.sha256 +sha256 e994d9be9a7172e9ac4a4ad62107921f6aa312e668b056dfe5b8bcebbaf53803 mc-4.8.28.tar.xz # sha256 locally computed: sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING diff --git a/package/mc/mc.mk b/package/mc/mc.mk index 678d687bc..ac12c2173 100644 --- a/package/mc/mc.mk +++ b/package/mc/mc.mk @@ -4,7 +4,7 @@ # ################################################################################ -MC_VERSION = 4.8.27 +MC_VERSION = 4.8.28 MC_SOURCE = mc-$(MC_VERSION).tar.xz MC_SITE = http://ftp.midnight-commander.org MC_LICENSE = GPL-3.0+ -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:02:33 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:02:33 +0200 Subject: [Buildroot] [PATCH] package/pango: bump to version 1.50.6 Message-ID: <20220412180233.2709789-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/pango/pango.hash | 4 ++-- package/pango/pango.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/pango/pango.hash b/package/pango/pango.hash index 319d9778c..fecf36853 100644 --- a/package/pango/pango.hash +++ b/package/pango/pango.hash @@ -1,5 +1,5 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.5.sha256sum -sha256 6d136872da6207fe88c5cd2c95c36bcaf4ed29402b854663a86cd7efe99b0cf5 pango-1.50.5.tar.xz +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum +sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz # Locally computed sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/package/pango/pango.mk b/package/pango/pango.mk index 69ec5bb49..c264e7674 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -5,7 +5,7 @@ ################################################################################ PANGO_VERSION_MAJOR = 1.50 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).5 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Tue Apr 12 18:02:48 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 12 Apr 2022 20:02:48 +0200 Subject: [Buildroot] [PATCH] package/sqlite: bump to version 3.38.2 Message-ID: <20220412180248.2709842-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/sqlite/sqlite.hash | 2 +- package/sqlite/sqlite.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/sqlite/sqlite.hash b/package/sqlite/sqlite.hash index 1b3dc35cc..882cf8564 100644 --- a/package/sqlite/sqlite.hash +++ b/package/sqlite/sqlite.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8e3a8ceb9794d968399590d2ddf9d5c044a97dd83d38b9613364a245ec8a2fc4 sqlite-autoconf-3380100.tar.gz +sha256 e7974aa1430bad690a5e9f79a6ee5c8492ada8269dc675875ad0fb747d7cada4 sqlite-autoconf-3380200.tar.gz sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk index a0c90b7f6..9f88af7ae 100644 --- a/package/sqlite/sqlite.mk +++ b/package/sqlite/sqlite.mk @@ -4,8 +4,8 @@ # ################################################################################ -SQLITE_VERSION = 3.38.1 -SQLITE_TAR_VERSION = 3380100 +SQLITE_VERSION = 3.38.2 +SQLITE_TAR_VERSION = 3380200 SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_TAR_VERSION).tar.gz SQLITE_SITE = https://www.sqlite.org/2022 SQLITE_LICENSE = Public domain -- 2.32.0 From fontaine.fabrice at gmail.com Tue Apr 12 18:16:07 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 20:16:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: security bump to version 4.4.3 Message-ID: <20220412181607.1451580-1-fontaine.fabrice@gmail.com> - Security vulnerabilies will be fixed by bumping internal bind from 9.11.14 to 9.11.36 - Drop patch (already in version) - This bump will also fix the following build failure on platforms without stdatomic lock free thanks to https://gitlab.isc.org/isc-projects/bind9/-/commit/261c84d91d1b4581df9f7f0ec031908299de7726 stats.c: In function 'setcounter': stats.c:300:29: error: 'val' undeclared (first use in this function); did you mean 'value'? 300 | stats->counters[counter] = val; | ^~~ | value - Update hash of license file (ISC address updated and preamble removed: https://gitlab.isc.org/isc-projects/dhcp/-/commit/429a56d73c0f9f2edf400fd6313850a3ce4fd809 https://gitlab.isc.org/isc-projects/dhcp/-/commit/ee868403d0df934442a438aa6b5832bacabb7b23) https://gitlab.isc.org/isc-projects/dhcp/-/blob/v4_4_3/RELNOTES Fixes: - http://autobuild.buildroot.org/results/e4d027b5bcda852d0b5a54035de5ed37499a4ef0 Signed-off-by: Fabrice Fontaine --- ...e-ISC-DHCP-does-not-build-with-gcc10.patch | 121 ------------------ package/dhcp/dhcp.hash | 6 +- package/dhcp/dhcp.mk | 2 +- 3 files changed, 4 insertions(+), 125 deletions(-) delete mode 100644 package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch diff --git a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch b/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch deleted file mode 100644 index ad244267fe..0000000000 --- a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch +++ /dev/null @@ -1,121 +0,0 @@ -From 129b7e402bd6e7278854e5a8935fce460552b5f4 Mon Sep 17 00:00:00 2001 -From: Thomas Markwalder -Date: Thu, 30 Jul 2020 10:01:36 -0400 -Subject: [PATCH] [#117] Fixed gcc 10 compilation issues - -client/dhclient.c -relay/dhcrelay.c - extern'ed local_port,remote_port - -common/discover.c - init local_port,remote_port to 0 - -server/mdb.c - extern'ed dhcp_type_host - -server/mdb6.c - create_prefix6() - eliminated memcpy string overflow error - -[Retrieved from: -https://gitlab.isc.org/isc-projects/dhcp/-/merge_requests/60/diffs?commit_id=129b7e402bd6e7278854e5a8935fce460552b5f4] -Signed-off-by: Fabrice Fontaine ---- - RELNOTES | 5 +++++ - client/dhclient.c | 5 +++-- - common/discover.c | 4 ++-- - relay/dhcrelay.c | 4 ++-- - server/mdb.c | 2 +- - server/mdb6.c | 2 +- - 6 files changed, 14 insertions(+), 8 deletions(-) - -diff --git a/RELNOTES b/RELNOTES -index 9d0a0414..6919dba7 100644 ---- a/RELNOTES -+++ b/RELNOTES -@@ -103,6 +103,11 @@ ISC DHCP is open source software maintained by Internet Systems - Consortium. This product includes cryptographic software written - by Eric Young (eay at cryptsoft.com). - -+ Changes since 4.4.2 (Bug Fixes) -+ -+- Minor corrections to allow compilation under gcc 10. -+ [Gitlab #117] -+ - Changes since 4.4.2b1 (Bug Fixes) - - - Added a clarification on DHCPINFORMs and server authority to -diff --git a/client/dhclient.c b/client/dhclient.c -index 189e5270..7a7837cb 100644 ---- a/client/dhclient.c -+++ b/client/dhclient.c -@@ -83,8 +83,9 @@ static const char message [] = "Internet Systems Consortium DHCP Client"; - static const char url [] = "For info, please visit https://www.isc.org/software/dhcp/"; - #endif /* UNIT_TEST */ - --u_int16_t local_port = 0; --u_int16_t remote_port = 0; -+extern u_int16_t local_port; -+extern u_int16_t remote_port; -+ - #if defined(DHCPv6) && defined(DHCP4o6) - int dhcp4o6_state = -1; /* -1 = stopped, 0 = polling, 1 = started */ - #endif -diff --git a/common/discover.c b/common/discover.c -index ca4f4d55..22f09767 100644 ---- a/common/discover.c -+++ b/common/discover.c -@@ -45,8 +45,8 @@ struct interface_info *fallback_interface = 0; - - int interfaces_invalidated; - int quiet_interface_discovery; --u_int16_t local_port; --u_int16_t remote_port; -+u_int16_t local_port = 0; -+u_int16_t remote_port = 0; - u_int16_t relay_port = 0; - int dhcpv4_over_dhcpv6 = 0; - int (*dhcp_interface_setup_hook) (struct interface_info *, struct iaddr *); -diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c -index 883d5058..7211e3bb 100644 ---- a/relay/dhcrelay.c -+++ b/relay/dhcrelay.c -@@ -95,8 +95,8 @@ enum { forward_and_append, /* Forward and append our own relay option. */ - forward_untouched, /* Forward without changes. */ - discard } agent_relay_mode = forward_and_replace; - --u_int16_t local_port; --u_int16_t remote_port; -+extern u_int16_t local_port; -+extern u_int16_t remote_port; - - /* Relay agent server list. */ - struct server_list { -diff --git a/server/mdb.c b/server/mdb.c -index ff8a707f..8266d764 100644 ---- a/server/mdb.c -+++ b/server/mdb.c -@@ -67,7 +67,7 @@ static host_id_info_t *host_id_info = NULL; - - int numclasseswritten; - --omapi_object_type_t *dhcp_type_host; -+extern omapi_object_type_t *dhcp_type_host; - - isc_result_t enter_class(cd, dynamicp, commit) - struct class *cd; -diff --git a/server/mdb6.c b/server/mdb6.c -index da7baf6e..ebe01e56 100644 ---- a/server/mdb6.c -+++ b/server/mdb6.c -@@ -1945,7 +1945,7 @@ create_prefix6(struct ipv6_pool *pool, struct iasubopt **pref, - } - new_ds.data = new_ds.buffer->data; - memcpy(new_ds.buffer->data, ds.data, ds.len); -- memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp)); -+ memcpy(&new_ds.buffer->data[0] + ds.len, &tmp, sizeof(tmp)); - data_string_forget(&ds, MDL); - data_string_copy(&ds, &new_ds, MDL); - data_string_forget(&new_ds, MDL); --- -GitLab - diff --git a/package/dhcp/dhcp.hash b/package/dhcp/dhcp.hash index ec7c4fe58d..be03423db8 100644 --- a/package/dhcp/dhcp.hash +++ b/package/dhcp/dhcp.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz.sha256.asc -sha256 b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a dhcp-4.4.2-P1.tar.gz +# Verified from https://ftp.isc.org/isc/dhcp/4.4.3/dhcp-4.4.3.tar.gz.sha256.asc +sha256 0e3ec6b4c2a05ec0148874bcd999a66d05518378d77421f607fb0bc9d0135818 dhcp-4.4.3.tar.gz # Locally calculated -sha256 9961fce0d83a6229b9084cdadedfa723a53274c63af610c9adb61b607e0f5a76 LICENSE +sha256 45a39c430be0920cb9570f34b32d2378fe6048c034f2f3265b9326d64ada73df LICENSE diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 460e62a81c..e2690300c1 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -4,7 +4,7 @@ # ################################################################################ -DHCP_VERSION = 4.4.2-P1 +DHCP_VERSION = 4.4.3 DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 12 18:17:18 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 20:17:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <87y20aeb04.fsf@dell.be.48ers.dk> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> <87y20aeb04.fsf@dell.be.48ers.dk> Message-ID: Le mar. 12 avr. 2022 ? 14:34, Peter Korsgaard a ?crit : > > >>>>> writes: > > Hi, > > >> Yeah. Eugen, is there any specific reason why you use the dhcp package > >> over the other DHCP clients we provide? > > > Historical reasons, and the fact that people have working configurations > > using this package... I was unaware that it was due to be removed. > > We will try to switch to a different package in the future. Thanks for > > letting me know. > > However, if the package is still in this buildroot release, it has to > > work right ? > > Yes, that is the idea. If it is dead upstream and hard to fix then that > naturally makes it harder to do, but the intention is to fix it. The following patch should fix the issue: https://patchwork.ozlabs.org/project/buildroot/patch/20220412181607.1451580-1-fontaine.fabrice at gmail.com/ > > -- > Bye, Peter Korsgaard Best Regards, Fabrice From fontaine.fabrice at gmail.com Tue Apr 12 18:22:42 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 20:22:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/azure-iot-sdk-c: fix build with libressl >= 2.8.0 Message-ID: <20220412182242.1452070-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl >= 2.8.0 raised since https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 961 | bio_method = BIO_s_mem(); | ^ cc1: all warnings being treated as errors Fixes: - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc Signed-off-by: Fabrice Fontaine --- ...apters-fix-build-with-libressl-2.8.0.patch | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch diff --git a/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch new file mode 100644 index 0000000000..e2a241bffe --- /dev/null +++ b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch @@ -0,0 +1,85 @@ +From 43b313988d66de144a528e4cf57827df1e8c692d Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 12 Apr 2022 20:00:36 +0200 +Subject: [PATCH] adapters: fix build with libressl >= 2.8.0 (#589) + +Fix the following build failure with libressl >= 2.8.0 raised since +https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: + +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] + 961 | bio_method = BIO_s_mem(); + | ^ +cc1: all warnings being treated as errors + +Fix #585 + +Fixes: + - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/Azure/azure-c-shared-utility/commit/43b313988d66de144a528e4cf57827df1e8c692d] +--- + adapters/tlsio_openssl.c | 2 +- + adapters/x509_openssl.c | 4 ++-- + tests/x509_openssl_ut/x509_openssl_ut.c | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/c-utility/adapters/tlsio_openssl.c b/c-utility/adapters/tlsio_openssl.c +index 4a3df8496..aa48ce52d 100644 +--- a/c-utility/adapters/tlsio_openssl.c ++++ b/c-utility/adapters/tlsio_openssl.c +@@ -953,7 +953,7 @@ static int add_certificate_to_store(TLS_IO_INSTANCE* tls_io_instance, const char + } + else + { +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + const BIO_METHOD* bio_method; + #else + BIO_METHOD* bio_method; +diff --git a/c-utility/adapters/x509_openssl.c b/c-utility/adapters/x509_openssl.c +index 5a9e5ac29..46195b403 100644 +--- a/c-utility/adapters/x509_openssl.c ++++ b/c-utility/adapters/x509_openssl.c +@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate) + // certificates. + + /* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */ +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + SSL_CTX_clear_extra_chain_certs(ssl_ctx); + #else + if (ssl_ctx->extra_certs != NULL) +@@ -345,7 +345,7 @@ int x509_openssl_add_certificates(SSL_CTX* ssl_ctx, const char* certificates) + else + { + /*Codes_SRS_X509_OPENSSL_02_012: [ x509_openssl_add_certificates shall get the memory BIO method function by calling BIO_s_mem. ]*/ +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + const BIO_METHOD* bio_method; + #else + BIO_METHOD* bio_method; +diff --git a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c +index b3349f6b0..f73191e3f 100644 +--- a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c ++++ b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c +@@ -348,7 +348,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) + STRICT_EXPECTED_CALL(BIO_new_mem_buf((void*)TEST_PUBLIC_CERTIFICATE, -1)); + STRICT_EXPECTED_CALL(PEM_read_bio_X509_AUX(IGNORED_PTR_ARG, NULL, NULL, NULL)); + STRICT_EXPECTED_CALL(SSL_CTX_use_certificate(IGNORED_PTR_ARG, IGNORED_PTR_ARG)); +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + // Actual macro name: SSL_CTX_clear_extra_chain_certs: + STRICT_EXPECTED_CALL(SSL_CTX_ctrl(TEST_SSL_CTX_STRUCTURE, SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS, 0, NULL)); + #endif +@@ -537,7 +537,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) + + umock_c_negative_tests_snapshot(); + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + #ifdef __APPLE__ + size_t calls_cannot_fail_rsa[] = { 4, 5, 6, 10, 12, 13, 14 }; + size_t calls_cannot_fail_ecc[] = { 3, 4, 8, 10, 11, 12} ; -- 2.35.1 From petr.vorel at gmail.com Tue Apr 12 18:29:27 2022 From: petr.vorel at gmail.com (Petr Vorel) Date: Tue, 12 Apr 2022 20:29:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/iproute2: bump version to 5.17.0 Message-ID: <20220412182927.142740-1-petr.vorel@gmail.com> Remove patch from this release. Signed-off-by: Petr Vorel --- Tested: bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK ...0001-lib-fix-ax25-h-include-for-musl.patch | 37 ------------------- package/iproute2/iproute2.hash | 2 +- package/iproute2/iproute2.mk | 2 +- 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch diff --git a/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch b/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch deleted file mode 100644 index 1f8860c5d8..0000000000 --- a/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Thu, 13 Jan 2022 08:14:13 +0000 -Subject: [PATCH] lib: fix ax25.h include for musl - -ax25.h isn't guaranteed to be avilable in netax25/*; -it's dependent on our choice of libc (it's not available -on musl at least) [0]. - -Let's use the version from linux-headers. - -[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers -Bug: https://bugs.gentoo.org/831102 - -Signed-off-by: Sam James -Signed-off-by: Stephen Hemminger - -[Retrieved from: -https://github.com/shemminger/iproute2/commit/8bced38a941a181f1468fa39541e872e51b6022f] -Signed-off-by: Fabrice Fontaine ---- - lib/ax25_ntop.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/ax25_ntop.c b/lib/ax25_ntop.c -index cfd0e04b0..3a72a43e9 100644 ---- a/lib/ax25_ntop.c -+++ b/lib/ax25_ntop.c -@@ -2,7 +2,7 @@ - - #include - #include --#include -+#include - - #include "utils.h" - diff --git a/package/iproute2/iproute2.hash b/package/iproute2/iproute2.hash index f7e7f682a9..eafe7a6c9a 100644 --- a/package/iproute2/iproute2.hash +++ b/package/iproute2/iproute2.hash @@ -1,3 +1,3 @@ # From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc -sha256 c064b66f6b001c2a35aa5224b5b1ac8aa4bee104d7dce30d6f10a84cb8b01e2f iproute2-5.16.0.tar.xz +sha256 6e384f1b42c75e1a9daac57866da37dcff909090ba86eb25a6e764da7893660e iproute2-5.17.0.tar.xz sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index a51b5b2996..8ecde069f5 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -4,7 +4,7 @@ # ################################################################################ -IPROUTE2_VERSION = 5.16.0 +IPROUTE2_VERSION = 5.17.0 IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2 IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf \ -- 2.35.1 From petr.vorel at gmail.com Tue Apr 12 18:30:53 2022 From: petr.vorel at gmail.com (Petr Vorel) Date: Tue, 12 Apr 2022 20:30:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/links: bump version to 2.26 Message-ID: <20220412183053.142926-1-petr.vorel@gmail.com> Signed-off-by: Petr Vorel --- Tested: bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK package/links/links.hash | 2 +- package/links/links.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/links/links.hash b/package/links/links.hash index 0f8cd32937..83b27aeb9d 100644 --- a/package/links/links.hash +++ b/package/links/links.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 2dd78508698e8279ef4f09a3a2a21e9595040113402da6c553974414fb49dd2c links-2.25.tar.bz2 +sha256 f05b3577f25dbe63e491c424f0ecb31f7bfadce9b2bc2f111dfed049c004c9cb links-2.26.tar.bz2 sha256 92deeb70791366630095d4e0714fe37d6e2bd5db0e6ef498ebb8de328f45b253 COPYING diff --git a/package/links/links.mk b/package/links/links.mk index 1f1a7a9189..a861fd657a 100644 --- a/package/links/links.mk +++ b/package/links/links.mk @@ -4,7 +4,7 @@ # ################################################################################ -LINKS_VERSION = 2.25 +LINKS_VERSION = 2.26 LINKS_SOURCE = links-$(LINKS_VERSION).tar.bz2 LINKS_SITE = http://links.twibright.com/download LINKS_DEPENDENCIES = host-pkgconf -- 2.35.1 From arnout at mind.be Tue Apr 12 18:31:24 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:31:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: build internal bind tool gen for host (not target) In-Reply-To: References: Message-ID: On 06/04/2022 16:52, Tim Hammer wrote: > Building gen tool of the internal (bundled) bind needs to be for host, not target > Switch to use internal build in commit 0c8dd6ebd656e06cf99a63eb93343715f4853503 > overlooked this. > > Building dns library in /home/autobuild/autobuild/instance-13/output-1/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns > /bin/sh: line 1: ./gen: cannot execute binary file: Exec format error > > Fixes: > - http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7/ Your signed-off-by is missing here. I took the liberty of adding it and applied to master, thanks. Regards, Arnout > --- > package/dhcp/dhcp.mk | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index f1e3c22f1c..2faea48c46 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -23,7 +23,11 @@ DHCP_CONF_ENV = \ > CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ > -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' > + > +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(HOSTCC)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CFLAGS='$(HOST_CFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' > +DHCP_BIND_EXTRA_CONFIG += BUILD_LDFLAGS='$(HOST_LDFLAGS)' > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > From arnout at mind.be Tue Apr 12 18:31:46 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:31:46 +0200 Subject: [Buildroot] [PATCH] configs/olimex_stmp157: bump kernel version In-Reply-To: <20220406140535.2569899-1-francois.perrad@gadz.org> References: <20220406140535.2569899-1-francois.perrad@gadz.org> Message-ID: <67711ace-1c16-238a-0297-fb236153f474@mind.be> On 06/04/2022 16:05, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > configs/olimex_stmp157_olinuxino_lime_defconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig > index 74e7f9ba6..f9b31bbdc 100644 > --- a/configs/olimex_stmp157_olinuxino_lime_defconfig > +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig > @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_GIT=y > BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" > -# branch release-20210821-v5.10.60 > -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="081be4c4c634cf9345b8bf59fe141a0236383ae4" > +# branch release-20220321-v5.10.105 > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" > BR2_LINUX_KERNEL_DTS_SUPPORT=y From arnout at mind.be Tue Apr 12 18:32:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:32:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: fix build without NPTL In-Reply-To: <20220405215752.2803676-1-fontaine.fabrice@gmail.com> References: <20220405215752.2803676-1-fontaine.fabrice@gmail.com> Message-ID: <7d261d6c-dec0-b8a9-0d98-9d4c2b3bf752@mind.be> On 05/04/2022 23:57, Fabrice Fontaine wrote: > Fix the following build failure without NPTL raised since bump to > version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and > https://github.com/postgres/postgres/commit/44bf3d5083e151d772c5d6f656e3e162f573dced: > > In file included from pthread_barrier_wait.c:16: > ../../src/include/port/pg_pthread.h:31:3: error: conflicting types for 'pthread_barrier_t' > 31 | } pthread_barrier_t; > | ^~~~~~~~~~~~~~~~~ > In file included from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:114, > from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:71, > from ../../src/include/c.h:59, > from pthread_barrier_wait.c:14: > /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:135:3: note: previous declaration of 'pthread_barrier_t' was here > 135 | } pthread_barrier_t; > | ^~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/70acbe121236ef0905c4466d4f7a0839723d2c49 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/postgresql/postgresql.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk > index c389246f80..1dfb20b58d 100644 > --- a/package/postgresql/postgresql.mk > +++ b/package/postgresql/postgresql.mk > @@ -38,7 +38,7 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) > POSTGRESQL_CONF_ENV += pgac_cv_type_locale_t=no > endif > > -ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) > +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) > POSTGRESQL_CONF_OPTS += --disable-thread-safety > endif > From arnout at mind.be Tue Apr 12 18:32:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:32:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/rt-tests: needs __sync_*_4 intrisics In-Reply-To: <20220405215207.2696390-1-fontaine.fabrice@gmail.com> References: <20220405215207.2696390-1-fontaine.fabrice@gmail.com> Message-ID: On 05/04/2022 23:52, Fabrice Fontaine wrote: > rt-tests needs __sync_*_4 intrisics since bump to version 1.9 in commit > 32be34427956a590d07d12e965f97fa9d2110ae9 and > https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/commit/?id=c86dec5765e1ad0bd1d0c429ca7c138c11da2c80: > > oslat.c:(.text+0x1034): undefined reference to `__sync_add_and_fetch_4' > > Fixes: > - http://autobuild.buildroot.org/results/9b065ee7611db3a404863b85161f46a2e9e8ddad > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/rt-tests/Config.in | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in > index 47fa7cd840..8efa3d194e 100644 > --- a/package/rt-tests/Config.in > +++ b/package/rt-tests/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_RT_TESTS > bool "rt-tests" > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics > depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 > depends on BR2_USE_MMU # fork(), numactl > @@ -30,6 +31,7 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain" > depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el > > comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ > || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 > depends on BR2_USE_MMU From arnout at mind.be Tue Apr 12 18:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:32:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/lsof: drop first and second patches In-Reply-To: <20220405205521.2117028-1-fontaine.fabrice@gmail.com> References: <20220405205521.2117028-1-fontaine.fabrice@gmail.com> Message-ID: On 05/04/2022 22:55, Fabrice Fontaine wrote: > Set LSOF_AR and LSOF_CC to be able to drop first patch which is not > upstreamable: https://github.com/lsof-org/lsof/issues/197 > > $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR > and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch > > DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it > is already set in LSOF_CONFIGURE_CMDS > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/lsof/0001-makefile.patch | 14 -------------- > ...cs.patch => 0001-remove-susvlegacy-funcs.patch} | 0 > package/lsof/0003-override-cflags.patch | 13 ------------- > package/lsof/lsof.mk | 5 +++-- > 4 files changed, 3 insertions(+), 29 deletions(-) > delete mode 100644 package/lsof/0001-makefile.patch > rename package/lsof/{0002-remove-susvlegacy-funcs.patch => 0001-remove-susvlegacy-funcs.patch} (100%) > delete mode 100644 package/lsof/0003-override-cflags.patch > > diff --git a/package/lsof/0001-makefile.patch b/package/lsof/0001-makefile.patch > deleted file mode 100644 > index 65b1b2e2a7..0000000000 > --- a/package/lsof/0001-makefile.patch > +++ /dev/null > @@ -1,14 +0,0 @@ > -diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel > ---- a/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100 > -+++ b/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100 > -@@ -21,8 +21,8 @@ > - all: ${LIB} > - > - ${LIB}: ${OBJ} > -- ${AR} > -- ${RANLIB} > -+ ${AR} cr ${LIB} ${OBJ} > -+ ${RANLIB} ${LIB} > - > - clean: FRC > - rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core > diff --git a/package/lsof/0002-remove-susvlegacy-funcs.patch b/package/lsof/0001-remove-susvlegacy-funcs.patch > similarity index 100% > rename from package/lsof/0002-remove-susvlegacy-funcs.patch > rename to package/lsof/0001-remove-susvlegacy-funcs.patch > diff --git a/package/lsof/0003-override-cflags.patch b/package/lsof/0003-override-cflags.patch > deleted file mode 100644 > index 135e599ac9..0000000000 > --- a/package/lsof/0003-override-cflags.patch > +++ /dev/null > @@ -1,13 +0,0 @@ > ---- lsof_4.84/Configure 2008-10-21 18:21:45.000000000 +0200 > -+++ lsof_4.84/Configure 2010-11-03 14:00:00.000000000 +0100 > -@@ -5206,6 +5206,10 @@ > - cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF > - fi # } > - cat ./dialects/$LSOF_DIALECT_DIR/$LSOF_REST >> $LSOF_MKFC > -+if test "X$LSOF_CFLAGS_OVERRIDE" != "X" # { > -+then > -+ sed -i -e 's/^CFLAGS=/override CFLAGS=/' $LSOF_MKFC > -+fi # } > - if test "X$LSOF_LIB_NO" = "X" # { > - then > - > diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk > index ff09d64345..e4e339349a 100644 > --- a/package/lsof/lsof.mk > +++ b/package/lsof/lsof.mk > @@ -33,7 +33,8 @@ endif > define LSOF_CONFIGURE_CMDS > (cd $(@D) ; \ > echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ > - LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ > + LSOF_AR="$(TARGET_AR) cr" LSOF_CC=$(TARGET_CC) \ > + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" \ > LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ > ./Configure linux) > $(LSOF_CONFIGURE_WCHAR_FIXUPS) > @@ -41,7 +42,7 @@ define LSOF_CONFIGURE_CMDS > endef > > define LSOF_BUILD_CMDS > - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D) > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) > endef > > define LSOF_INSTALL_TARGET_CMDS From arnout at mind.be Tue Apr 12 18:16:29 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:16:29 +0200 Subject: [Buildroot] [git commit] package/lsof: drop first and third patches Message-ID: <20220412182311.7613F83AFC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9e9d9b22797de25e5f6e1249a46258544ae6279f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Set LSOF_AR and LSOF_CC to be able to drop first patch which is not upstreamable: https://github.com/lsof-org/lsof/issues/197 $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it is already set in LSOF_CONFIGURE_CMDS Signed-off-by: Fabrice Fontaine [Arnout: add quotes around TARGET_CC] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/lsof/0001-makefile.patch | 14 -------------- ...gacy-funcs.patch => 0001-remove-susvlegacy-funcs.patch} | 0 package/lsof/0003-override-cflags.patch | 13 ------------- package/lsof/lsof.mk | 5 +++-- 4 files changed, 3 insertions(+), 29 deletions(-) diff --git a/package/lsof/0001-makefile.patch b/package/lsof/0001-makefile.patch deleted file mode 100644 index 65b1b2e2a7..0000000000 --- a/package/lsof/0001-makefile.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel ---- a/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100 -+++ b/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100 -@@ -21,8 +21,8 @@ - all: ${LIB} - - ${LIB}: ${OBJ} -- ${AR} -- ${RANLIB} -+ ${AR} cr ${LIB} ${OBJ} -+ ${RANLIB} ${LIB} - - clean: FRC - rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core diff --git a/package/lsof/0002-remove-susvlegacy-funcs.patch b/package/lsof/0001-remove-susvlegacy-funcs.patch similarity index 100% rename from package/lsof/0002-remove-susvlegacy-funcs.patch rename to package/lsof/0001-remove-susvlegacy-funcs.patch diff --git a/package/lsof/0003-override-cflags.patch b/package/lsof/0003-override-cflags.patch deleted file mode 100644 index 135e599ac9..0000000000 --- a/package/lsof/0003-override-cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- lsof_4.84/Configure 2008-10-21 18:21:45.000000000 +0200 -+++ lsof_4.84/Configure 2010-11-03 14:00:00.000000000 +0100 -@@ -5206,6 +5206,10 @@ - cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF - fi # } - cat ./dialects/$LSOF_DIALECT_DIR/$LSOF_REST >> $LSOF_MKFC -+if test "X$LSOF_CFLAGS_OVERRIDE" != "X" # { -+then -+ sed -i -e 's/^CFLAGS=/override CFLAGS=/' $LSOF_MKFC -+fi # } - if test "X$LSOF_LIB_NO" = "X" # { - then - diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk index ff09d64345..feb6a744e0 100644 --- a/package/lsof/lsof.mk +++ b/package/lsof/lsof.mk @@ -33,7 +33,8 @@ endif define LSOF_CONFIGURE_CMDS (cd $(@D) ; \ echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ - LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ + LSOF_AR="$(TARGET_AR) cr" LSOF_CC="$(TARGET_CC)" \ + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" \ LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ ./Configure linux) $(LSOF_CONFIGURE_WCHAR_FIXUPS) @@ -41,7 +42,7 @@ define LSOF_CONFIGURE_CMDS endef define LSOF_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) endef define LSOF_INSTALL_TARGET_CMDS From arnout at mind.be Tue Apr 12 18:17:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:17:11 +0200 Subject: [Buildroot] [git commit] configs/olimex_stmp157: bump kernel version Message-ID: <20220412182311.9619F83B13@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9e4b7386f06b56c15d3c20d30a6c9dacf6ad41d9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/olimex_stmp157_olinuxino_lime_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig index 74e7f9ba67..f9b31bbdc4 100644 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20210821-v5.10.60 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="081be4c4c634cf9345b8bf59fe141a0236383ae4" +# branch release-20220321-v5.10.105 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y From arnout at mind.be Tue Apr 12 18:17:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:17:11 +0200 Subject: [Buildroot] [git commit] package/postgresql: fix build without NPTL Message-ID: <20220412182311.8B67183B14@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6bc346173514c1e1f3c373990c1f48260e66e1a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without NPTL raised since bump to version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and https://github.com/postgres/postgres/commit/44bf3d5083e151d772c5d6f656e3e162f573dced: In file included from pthread_barrier_wait.c:16: ../../src/include/port/pg_pthread.h:31:3: error: conflicting types for 'pthread_barrier_t' 31 | } pthread_barrier_t; | ^~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:114, from /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:71, from ../../src/include/c.h:59, from pthread_barrier_wait.c:14: /home/autobuild/autobuild/instance-11/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:135:3: note: previous declaration of 'pthread_barrier_t' was here 135 | } pthread_barrier_t; | ^~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/70acbe121236ef0905c4466d4f7a0839723d2c49 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/postgresql/postgresql.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index c389246f80..1dfb20b58d 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -38,7 +38,7 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) POSTGRESQL_CONF_ENV += pgac_cv_type_locale_t=no endif -ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) POSTGRESQL_CONF_OPTS += --disable-thread-safety endif From arnout at mind.be Tue Apr 12 18:17:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:17:11 +0200 Subject: [Buildroot] [git commit] package/rt-tests: needs __sync_*_4 intrisics Message-ID: <20220412182311.80BF2822ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=24d2bc3b1c747fbeb100fa79dfcd9f3645b98dd3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master rt-tests needs __sync_*_4 intrisics since bump to version 1.9 in commit 32be34427956a590d07d12e965f97fa9d2110ae9 and https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/commit/?id=c86dec5765e1ad0bd1d0c429ca7c138c11da2c80: oslat.c:(.text+0x1034): undefined reference to `__sync_add_and_fetch_4' Fixes: - http://autobuild.buildroot.org/results/9b065ee7611db3a404863b85161f46a2e9e8ddad Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rt-tests/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in index 47fa7cd840..8efa3d194e 100644 --- a/package/rt-tests/Config.in +++ b/package/rt-tests/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_RT_TESTS bool "rt-tests" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU # fork(), numactl @@ -30,6 +31,7 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain" depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU From arnout at mind.be Tue Apr 12 18:30:42 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 12 Apr 2022 20:30:42 +0200 Subject: [Buildroot] [git commit] package/dhcp: build internal bind tool gen for host (not target) Message-ID: <20220412182311.A0F8183B14@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7c814fe9b2fe84d7e294d511c3d62319bcae3281 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Building gen tool of the internal (bundled) bind needs to be for host, not target Switch to use internal build in commit 0c8dd6ebd656e06cf99a63eb93343715f4853503 overlooked this. Building dns library in /home/autobuild/autobuild/instance-13/output-1/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns /bin/sh: line 1: ./gen: cannot execute binary file: Exec format error Thus, we need to set not just CC, but also CFLAGS etc. otherwise the target CFLAGS etc. will be inherited from top-level configure. Fixes: - http://autobuild.buildroot.org/results/da6fd904d1a6bae73b6ff89dd008de1f459bb7d7/ Signed-off-by: Tim Hammer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dhcp/dhcp.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 460e62a81c..b52bf3a579 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -23,7 +23,12 @@ DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' -DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' + +DHCP_BIND_EXTRA_CONFIG = \ + BUILD_CC='$(HOSTCC)' \ + BUILD_CFLAGS='$(HOST_CFLAGS)' \ + BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ + BUILD_LDFLAGS='$(HOST_LDFLAGS)' DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk From arnout at mind.be Tue Apr 12 18:34:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 12 Apr 2022 20:34:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/lsof: drop first and second patches In-Reply-To: References: <20220405205521.2117028-1-fontaine.fabrice@gmail.com> Message-ID: <19f9d8ec-e34b-b0d5-051d-9568ffc6ec5f@mind.be> ?Pressed send too soon... ?Subject was wrong: it's first and third patches. On 12/04/2022 20:32, Arnout Vandecappelle wrote: > > > On 05/04/2022 22:55, Fabrice Fontaine wrote: >> Set LSOF_AR and LSOF_CC to be able to drop first patch which is not >> upstreamable: https://github.com/lsof-org/lsof/issues/197 >> >> $(TARGET_CONFIGURE_OPTS) must also be removed to avoid overriding AR >> and so we can drop LSOF_CFLAGS_OVERRIDE=1 and third patch >> >> DEBUG="$(TARGET_CFLAGS)" can also be dropped from LSOF_BUILD_CMDS as it >> is already set in LSOF_CONFIGURE_CMDS >> >> Signed-off-by: Fabrice Fontaine [snip] >> diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk >> index ff09d64345..e4e339349a 100644 >> --- a/package/lsof/lsof.mk >> +++ b/package/lsof/lsof.mk >> @@ -33,7 +33,8 @@ endif >> ? define LSOF_CONFIGURE_CMDS >> ????? (cd $(@D) ; \ >> ????????? echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ >> -??????? LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ >> +??????? LSOF_AR="$(TARGET_AR) cr" LSOF_CC=$(TARGET_CC) \ ?You need to put quotes around TARGET_CC, because it may contain ccache. ?Both fixes were applied before pushing. ?Regards, ?Arnout >> + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" \ >> ????????? LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ >> ????????? ./Configure linux) >> ????? $(LSOF_CONFIGURE_WCHAR_FIXUPS) >> @@ -41,7 +42,7 @@ define LSOF_CONFIGURE_CMDS >> ? endef >> ? ? define LSOF_BUILD_CMDS >> -??? $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) >> DEBUG="$(TARGET_CFLAGS)" -C $(@D) >> +??? $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) >> ? endef >> ? ? define LSOF_INSTALL_TARGET_CMDS From yann.morin.1998 at free.fr Tue Apr 12 19:40:09 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:09 +0200 Subject: [Buildroot] [git commit] package/sqlite: bump to version 3.38.2 Message-ID: <20220412193953.A854F83B91@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f239f506cdac9bbe7a1d3395b4dc7544b6cd4367 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/sqlite/sqlite.hash | 2 +- package/sqlite/sqlite.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/sqlite/sqlite.hash b/package/sqlite/sqlite.hash index 1b3dc35ccb..882cf8564b 100644 --- a/package/sqlite/sqlite.hash +++ b/package/sqlite/sqlite.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8e3a8ceb9794d968399590d2ddf9d5c044a97dd83d38b9613364a245ec8a2fc4 sqlite-autoconf-3380100.tar.gz +sha256 e7974aa1430bad690a5e9f79a6ee5c8492ada8269dc675875ad0fb747d7cada4 sqlite-autoconf-3380200.tar.gz sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk index a0c90b7f62..9f88af7ae7 100644 --- a/package/sqlite/sqlite.mk +++ b/package/sqlite/sqlite.mk @@ -4,8 +4,8 @@ # ################################################################################ -SQLITE_VERSION = 3.38.1 -SQLITE_TAR_VERSION = 3380100 +SQLITE_VERSION = 3.38.2 +SQLITE_TAR_VERSION = 3380200 SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_TAR_VERSION).tar.gz SQLITE_SITE = https://www.sqlite.org/2022 SQLITE_LICENSE = Public domain From yann.morin.1998 at free.fr Tue Apr 12 19:39:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:39:53 +0200 Subject: [Buildroot] [git commit] package/libwebsockets: bump to version 4.3.1 Message-ID: <20220412193953.69FDE83B8E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is quite a version jump, so there are a lot of individual changes, see: https://github.com/warmcat/libwebsockets/blob/v4.3.1/changelog LICENSE has also changed: - More items with license "MIT" were added: - lib/misc/base64-decode.c - lib/plat/windows/windows-resolv.c - One more item with a 2-Clause BSD license was added: - lib/misc/ieeehalfprecision.c - Sublicense texts were copied into LICENSE These should still be compatible with "MIT with exceptions" stated in `libwebsockets.mk`. Signed-off-by: Johannes Agricola Signed-off-by: Yann E. MORIN --- package/libwebsockets/libwebsockets.hash | 4 ++-- package/libwebsockets/libwebsockets.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash index 1761a7658a..e39d6e1853 100644 --- a/package/libwebsockets/libwebsockets.hash +++ b/package/libwebsockets/libwebsockets.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 6ece1f422c6d38aabedec2476f2ac12e9aede8691b08137068ad85545ce3ff78 libwebsockets-4.0.21.tar.gz -sha256 5756db345eb9c21cb06dd7cb69c38ec234657a233f9a186b4f5fa453681bd394 LICENSE +sha256 8fdb1454a1b34cd9a6351beaab237a485e6853806101de7e62bd2bc250bb50af libwebsockets-4.3.1.tar.gz +sha256 2b5dd8030691f3d1870a040f085c37e45d9ab9c684a7f1284f5f379c1e829b28 LICENSE diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index c25686d385..152659cee6 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBWEBSOCKETS_VERSION = 4.0.21 +LIBWEBSOCKETS_VERSION = 4.3.1 LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION)) LIBWEBSOCKETS_LICENSE = MIT with exceptions LIBWEBSOCKETS_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Tue Apr 12 19:39:55 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:39:55 +0200 Subject: [Buildroot] [git commit] package/freetype: bump to version 2.12.0 Message-ID: <20220412193953.735F483B91@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99ea9343f2e4ee7f5b7dcccaef8320a9273bc28e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/freetype/freetype.hash | 6 +++--- package/freetype/freetype.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/freetype/freetype.hash b/package/freetype/freetype.hash index 7abc3d96da..78d0ba20d7 100644 --- a/package/freetype/freetype.hash +++ b/package/freetype/freetype.hash @@ -1,8 +1,8 @@ -# From https://sourceforge.net/projects/freetype/files/freetype2/2.11.1/ -sha1 86bdc98b37efe447cf53420bf2c18402ff905112 freetype-2.11.1.tar.xz +# From https://sourceforge.net/projects/freetype/files/freetype2/2.12.0/ +sha1 fd1eb1a27f178808e1d8ccd82c71abfa5d0ebe13 freetype-2.12.0.tar.xz +sha256 ef5c336aacc1a079ff9262d6308d6c2a066dd4d2a905301c4adda9b354399033 freetype-2.12.0.tar.xz # Locally calculated -sha256 3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8 freetype-2.11.1.tar.xz sha256 c85e842b7ff04d95dab7d68e812773de0f8b67940e5449d35b42c66eb0f619fe LICENSE.TXT sha256 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1 docs/FTL.TXT sha256 c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18 docs/GPLv2.TXT diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 912e6c4daa..5c6b8c73be 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -4,7 +4,7 @@ # ################################################################################ -FREETYPE_VERSION = 2.11.1 +FREETYPE_VERSION = 2.12.0 FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype FREETYPE_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Tue Apr 12 19:39:58 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:39:58 +0200 Subject: [Buildroot] [git commit] package/gnutls: bump to version 3.7.4 Message-ID: <20220412193953.7C30E83B93@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c809fa2d0fd8229f2712747f114eb802ed64d780 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master remove merged patch Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- ...01-locks-define-lock-functions-as-a-macro.patch | 179 --------------------- package/gnutls/gnutls.hash | 4 +- package/gnutls/gnutls.mk | 2 +- 3 files changed, 3 insertions(+), 182 deletions(-) diff --git a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch b/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch deleted file mode 100644 index 52965c051d..0000000000 --- a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch +++ /dev/null @@ -1,179 +0,0 @@ -From 5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd Mon Sep 17 00:00:00 2001 -From: Daiki Ueno -Date: Wed, 9 Mar 2022 08:07:58 +0100 -Subject: [PATCH] locks: define lock functions as a macro - -When threads are not supported, glthread_* functions are defined as -no-op and thus dereferencing lock variables in inline functions will -cause compilation error. This change fixes it by redefining our lock -functions as a macro so it will also be compiled out. - -Reported by Fabrice Fontaine in: -https://gitlab.com/gnutls/gnutls/-/issues/1330 - -Signed-off-by: Daiki Ueno - -[Retrieved from: -https://gitlab.com/gnutls/gnutls/-/commit/5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd] -Signed-off-by: Fabrice Fontaine ---- - lib/locks.c | 54 ----------------------------------------------- - lib/locks.h | 28 ++++++++++++++++++------ - lib/pkcs11.c | 2 +- - lib/priority.c | 2 +- - lib/verify-tofu.c | 2 +- - 5 files changed, 25 insertions(+), 63 deletions(-) - -diff --git a/lib/locks.c b/lib/locks.c -index d61504e077..8888ed6b12 100644 ---- a/lib/locks.c -+++ b/lib/locks.c -@@ -63,57 +63,3 @@ gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit, - gnutls_mutex_lock = lock; - gnutls_mutex_unlock = unlock; - } -- --int --gnutls_static_mutex_lock(gnutls_static_mutex_t lock) --{ -- if (unlikely(glthread_lock_lock(lock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_static_mutex_unlock(gnutls_static_mutex_t lock) --{ -- if (unlikely(glthread_lock_unlock(lock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_rdlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_wrlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_rwlock_unlock(gnutls_rwlock_t rwlock) --{ -- if (unlikely(glthread_rwlock_unlock(rwlock))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -- --int --gnutls_once(gnutls_once_t once, void (*init_func) (void)) --{ -- if (unlikely(glthread_once(once, init_func))) { -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); -- } -- return 0; --} -diff --git a/lib/locks.h b/lib/locks.h -index a1ff0fa9d7..907adfc134 100644 ---- a/lib/locks.h -+++ b/lib/locks.h -@@ -40,8 +40,14 @@ extern mutex_unlock_func gnutls_mutex_unlock; - */ - #define GNUTLS_STATIC_MUTEX(lock) gl_lock_define_initialized(static, lock) - typedef gl_lock_t *gnutls_static_mutex_t; --int gnutls_static_mutex_lock(gnutls_static_mutex_t lock); --int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); -+ -+#define gnutls_static_mutex_lock(LOCK) \ -+ (unlikely(glthread_lock_lock(LOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_static_mutex_unlock(LOCK) \ -+ (unlikely(glthread_lock_unlock(LOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - /* Unlike static mutexes, static rwlocks can be locked/unlocked with - * the functions defined below, because there is no way to replace -@@ -50,13 +56,23 @@ int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); - #define GNUTLS_RWLOCK(rwlock) gl_rwlock_define_initialized(static, rwlock) - typedef gl_rwlock_t *gnutls_rwlock_t; - --int gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock); --int gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock); --int gnutls_rwlock_unlock(gnutls_rwlock_t rwlock); -+#define gnutls_rwlock_rdlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_rdlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_rwlock_wrlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_wrlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) -+ -+#define gnutls_rwlock_unlock(RWLOCK) \ -+ (unlikely(glthread_rwlock_unlock(RWLOCK)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - #define GNUTLS_ONCE(once) gl_once_define(static, once) - typedef gl_once_t *gnutls_once_t; - --int gnutls_once(gnutls_once_t once, void (*init_func) (void)); -+#define gnutls_once(ONCE, INIT_FUNC) \ -+ (unlikely(glthread_once(ONCE, INIT_FUNC)) ? \ -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) - - #endif /* GNUTLS_LIB_LOCKS_H */ -diff --git a/lib/pkcs11.c b/lib/pkcs11.c -index 8dda0f07c9..ba8ac0c375 100644 ---- a/lib/pkcs11.c -+++ b/lib/pkcs11.c -@@ -351,7 +351,7 @@ int _gnutls_pkcs11_check_init(init_level_t req_level, void *priv, pkcs11_reinit_ - ret = sret; - - cleanup: -- gnutls_static_mutex_unlock(&pkcs11_mutex); -+ (void)gnutls_static_mutex_unlock(&pkcs11_mutex); - - return ret; - } -diff --git a/lib/priority.c b/lib/priority.c -index d17a923318..55ae185c1f 100644 ---- a/lib/priority.c -+++ b/lib/priority.c -@@ -2505,7 +2505,7 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache) - } - - out: -- gnutls_rwlock_unlock(&system_wide_config_rwlock); -+ (void)gnutls_rwlock_unlock(&system_wide_config_rwlock); - return ret; - } - -diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c -index 40b7acdc8a..97f47385e6 100644 ---- a/lib/verify-tofu.c -+++ b/lib/verify-tofu.c -@@ -434,7 +434,7 @@ int store_pubkey(const char *db_name, const char *host, - if (fp != NULL) - fclose(fp); - -- gnutls_static_mutex_unlock(&file_mutex); -+ (void)gnutls_static_mutex_unlock(&file_mutex); - gnutls_free(b64key.data); - - return ret; --- -GitLab - diff --git a/package/gnutls/gnutls.hash b/package/gnutls/gnutls.hash index 2ffc6c1b4e..c09e4665e5 100644 --- a/package/gnutls/gnutls.hash +++ b/package/gnutls/gnutls.hash @@ -1,6 +1,6 @@ # Locally calculated after checking pgp signature -# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.3.tar.xz.sig -sha256 fc59c43bc31ab20a6977ff083029277a31935b8355ce387b634fa433f8f6c49a gnutls-3.7.3.tar.xz +# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.4.tar.xz.sig +sha256 e6adbebcfbc95867de01060d93c789938cf89cc1d1f6ef9ef661890f6217451f gnutls-3.7.4.tar.xz # Locally calculated sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b doc/COPYING sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 doc/COPYING.LESSER diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk index 7317a3bb1e..0e461cd44c 100644 --- a/package/gnutls/gnutls.mk +++ b/package/gnutls/gnutls.mk @@ -5,7 +5,7 @@ ################################################################################ GNUTLS_VERSION_MAJOR = 3.7 -GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).3 +GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).4 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) GNUTLS_LICENSE = LGPL-2.1+ (core library) From yann.morin.1998 at free.fr Tue Apr 12 19:40:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:05 +0200 Subject: [Buildroot] [git commit] package/mc: bump to version 4.8.28 Message-ID: <20220412193953.96FB883B93@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f17b71d3a8c7971d0f24f4832815f3e77cb7e1d9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/mc/mc.hash | 4 ++-- package/mc/mc.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mc/mc.hash b/package/mc/mc.hash index 6400f64b99..b0381474ff 100644 --- a/package/mc/mc.hash +++ b/package/mc/mc.hash @@ -1,4 +1,4 @@ -# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256 -sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz +# Hash from http://ftp.midnight-commander.org/mc-4.8.28.sha256 +sha256 e994d9be9a7172e9ac4a4ad62107921f6aa312e668b056dfe5b8bcebbaf53803 mc-4.8.28.tar.xz # sha256 locally computed: sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING diff --git a/package/mc/mc.mk b/package/mc/mc.mk index 678d687bcf..ac12c2173a 100644 --- a/package/mc/mc.mk +++ b/package/mc/mc.mk @@ -4,7 +4,7 @@ # ################################################################################ -MC_VERSION = 4.8.27 +MC_VERSION = 4.8.28 MC_SOURCE = mc-$(MC_VERSION).tar.xz MC_SITE = http://ftp.midnight-commander.org MC_LICENSE = GPL-3.0+ From yann.morin.1998 at free.fr Tue Apr 12 19:40:00 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:00 +0200 Subject: [Buildroot] [git commit] package/libepoxy: bump to version 1.5.10 Message-ID: <20220412193953.856B483B8E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0ab10ae245f0ad9d22592e8086132795f3c44600 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/libepoxy/libepoxy.hash | 4 ++-- package/libepoxy/libepoxy.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libepoxy/libepoxy.hash b/package/libepoxy/libepoxy.hash index 376920c3cc..bf6c52f99e 100644 --- a/package/libepoxy/libepoxy.hash +++ b/package/libepoxy/libepoxy.hash @@ -1,5 +1,5 @@ -# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.9.sha256sum -sha256 d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4 libepoxy-1.5.9.tar.xz +# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.10.sha256sum +sha256 072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623 libepoxy-1.5.10.tar.xz # Hashes for license files: sha256 8d5144666f9c4df9bbd69b8900086d5979259152a1060421cdcc0fb9061a1c12 COPYING diff --git a/package/libepoxy/libepoxy.mk b/package/libepoxy/libepoxy.mk index 5a71fe5998..2af2e2f6e8 100644 --- a/package/libepoxy/libepoxy.mk +++ b/package/libepoxy/libepoxy.mk @@ -5,7 +5,7 @@ ################################################################################ LIBEPOXY_VERSION_MAJOR = 1.5 -LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).9 +LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).10 LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR) LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz LIBEPOXY_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Tue Apr 12 19:40:02 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:02 +0200 Subject: [Buildroot] [git commit] package/libevdev: bump to version 1.12.1 Message-ID: <20220412193953.8E3DD83B91@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2d9b33e61c9b450f12bc64e5ac18ec44cfb70668 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/libevdev/libevdev.hash | 6 +++--- package/libevdev/libevdev.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libevdev/libevdev.hash b/package/libevdev/libevdev.hash index 68a5ebdcba..dd76e158ef 100644 --- a/package/libevdev/libevdev.hash +++ b/package/libevdev/libevdev.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/input-tools/2021-November/001573.html -sha256 2f729e3480695791f9482e8388bd723402b89f0eaf118057bbdea3cecee9b237 libevdev-1.12.0.tar.xz -sha512 6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c libevdev-1.12.0.tar.xz +# From https://lists.freedesktop.org/archives/input-tools/2022-March/001574.html +sha256 1dbba41bc516d3ca7abc0da5b862efe3ea8a7018fa6e9b97ce9d39401b22426c libevdev-1.12.1.tar.xz +sha512 eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4 libevdev-1.12.1.tar.xz # Hash for license files: sha256 6f13de7ce28e4948ba95170e0723ee1254c1978ce1f127af82aeca597b567cb9 COPYING diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk index cd80154be2..726a5afcee 100644 --- a/package/libevdev/libevdev.mk +++ b/package/libevdev/libevdev.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBEVDEV_VERSION = 1.12.0 +LIBEVDEV_VERSION = 1.12.1 LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz LIBEVDEV_LICENSE = MIT From yann.morin.1998 at free.fr Tue Apr 12 19:40:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:40:07 +0200 Subject: [Buildroot] [git commit] package/pango: bump to version 1.50.6 Message-ID: <20220412193953.A003683B8E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=69836fbf9cd64a758ca60a55742400f23027b6d6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN --- package/pango/pango.hash | 4 ++-- package/pango/pango.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/pango/pango.hash b/package/pango/pango.hash index 319d9778c1..fecf368535 100644 --- a/package/pango/pango.hash +++ b/package/pango/pango.hash @@ -1,5 +1,5 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.5.sha256sum -sha256 6d136872da6207fe88c5cd2c95c36bcaf4ed29402b854663a86cd7efe99b0cf5 pango-1.50.5.tar.xz +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum +sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz # Locally computed sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/package/pango/pango.mk b/package/pango/pango.mk index 69ec5bb490..c264e76741 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -5,7 +5,7 @@ ################################################################################ PANGO_VERSION_MAJOR = 1.50 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).5 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Tue Apr 12 19:51:01 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:51:01 +0200 Subject: [Buildroot] [PATCH v2] package/libwebsockets: bump to version 4.3.1 In-Reply-To: <20220411082308.1528455-1-johannes.agricola@work-microwave.com> References: <20220411082308.1528455-1-johannes.agricola@work-microwave.com> Message-ID: <20220412195101.GC4029883@scaer> Johannes, All, On 2022-04-11 10:23 +0200, Johannes Agricola spake thusly: > This is quite a version jump, so there are a lot of individual changes, > see: https://github.com/warmcat/libwebsockets/blob/v4.3.1/changelog > > LICENSE has also changed: > > - More items with license "MIT" were added: > - lib/misc/base64-decode.c > - lib/plat/windows/windows-resolv.c > - One more item with a 2-Clause BSD license was added: > - lib/misc/ieeehalfprecision.c > - Sublicense texts were copied into LICENSE > > These should still be compatible with "MIT with exceptions" stated in > `libwebsockets.mk`. > > Signed-off-by: Johannes Agricola Thanks for the detailed analysis of the licensing changes. Applied to master, thanks. Regards, Yann E. MORIN. > --- > Changes v1 -> v2: > - Update LICENSE hash > - Add changelog and LICENSE changes to commit message > --- > package/libwebsockets/libwebsockets.hash | 4 ++-- > package/libwebsockets/libwebsockets.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash > index 1761a7658a..e39d6e1853 100644 > --- a/package/libwebsockets/libwebsockets.hash > +++ b/package/libwebsockets/libwebsockets.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 6ece1f422c6d38aabedec2476f2ac12e9aede8691b08137068ad85545ce3ff78 libwebsockets-4.0.21.tar.gz > -sha256 5756db345eb9c21cb06dd7cb69c38ec234657a233f9a186b4f5fa453681bd394 LICENSE > +sha256 8fdb1454a1b34cd9a6351beaab237a485e6853806101de7e62bd2bc250bb50af libwebsockets-4.3.1.tar.gz > +sha256 2b5dd8030691f3d1870a040f085c37e45d9ab9c684a7f1284f5f379c1e829b28 LICENSE > diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk > index c25686d385..152659cee6 100644 > --- a/package/libwebsockets/libwebsockets.mk > +++ b/package/libwebsockets/libwebsockets.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBWEBSOCKETS_VERSION = 4.0.21 > +LIBWEBSOCKETS_VERSION = 4.3.1 > LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION)) > LIBWEBSOCKETS_LICENSE = MIT with exceptions > LIBWEBSOCKETS_LICENSE_FILES = LICENSE > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:53:54 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:53:54 +0200 Subject: [Buildroot] [PATCH] package/freetype: bump to version 2.12.0 In-Reply-To: <20220412180057.2709514-1-francois.perrad@gadz.org> References: <20220412180057.2709514-1-francois.perrad@gadz.org> Message-ID: <20220412195354.GD4029883@scaer> Fran?ois, All, On 2022-04-12 20:00 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad I just noticed that your From (git commit author) does not match your SoB. Can you please check that they match for future contributions, please? Anyway; applied to master, thanks. Regards, Yann E. MORIN. > --- > package/freetype/freetype.hash | 6 +++--- > package/freetype/freetype.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/freetype/freetype.hash b/package/freetype/freetype.hash > index 7abc3d96d..78d0ba20d 100644 > --- a/package/freetype/freetype.hash > +++ b/package/freetype/freetype.hash > @@ -1,8 +1,8 @@ > -# From https://sourceforge.net/projects/freetype/files/freetype2/2.11.1/ > -sha1 86bdc98b37efe447cf53420bf2c18402ff905112 freetype-2.11.1.tar.xz > +# From https://sourceforge.net/projects/freetype/files/freetype2/2.12.0/ > +sha1 fd1eb1a27f178808e1d8ccd82c71abfa5d0ebe13 freetype-2.12.0.tar.xz > +sha256 ef5c336aacc1a079ff9262d6308d6c2a066dd4d2a905301c4adda9b354399033 freetype-2.12.0.tar.xz > > # Locally calculated > -sha256 3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8 freetype-2.11.1.tar.xz > sha256 c85e842b7ff04d95dab7d68e812773de0f8b67940e5449d35b42c66eb0f619fe LICENSE.TXT > sha256 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1 docs/FTL.TXT > sha256 c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18 docs/GPLv2.TXT > diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk > index 912e6c4da..5c6b8c73b 100644 > --- a/package/freetype/freetype.mk > +++ b/package/freetype/freetype.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FREETYPE_VERSION = 2.11.1 > +FREETYPE_VERSION = 2.12.0 > FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz > FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype > FREETYPE_INSTALL_STAGING = YES > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:54:16 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:54:16 +0200 Subject: [Buildroot] [PATCH] package/gnutls: bump to version 3.7.4 In-Reply-To: <20220412180117.2709569-1-francois.perrad@gadz.org> References: <20220412180117.2709569-1-francois.perrad@gadz.org> Message-ID: <20220412195416.GE4029883@scaer> Fran?ois, All, On 2022-04-12 20:01 +0200, Francois Perrad spake thusly: > remove merged patch > > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > ...cks-define-lock-functions-as-a-macro.patch | 179 ------------------ > package/gnutls/gnutls.hash | 4 +- > package/gnutls/gnutls.mk | 2 +- > 3 files changed, 3 insertions(+), 182 deletions(-) > delete mode 100644 package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch > > diff --git a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch b/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch > deleted file mode 100644 > index 52965c051..000000000 > --- a/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch > +++ /dev/null > @@ -1,179 +0,0 @@ > -From 5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd Mon Sep 17 00:00:00 2001 > -From: Daiki Ueno > -Date: Wed, 9 Mar 2022 08:07:58 +0100 > -Subject: [PATCH] locks: define lock functions as a macro > - > -When threads are not supported, glthread_* functions are defined as > -no-op and thus dereferencing lock variables in inline functions will > -cause compilation error. This change fixes it by redefining our lock > -functions as a macro so it will also be compiled out. > - > -Reported by Fabrice Fontaine in: > -https://gitlab.com/gnutls/gnutls/-/issues/1330 > - > -Signed-off-by: Daiki Ueno > - > -[Retrieved from: > -https://gitlab.com/gnutls/gnutls/-/commit/5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd] > -Signed-off-by: Fabrice Fontaine > ---- > - lib/locks.c | 54 ----------------------------------------------- > - lib/locks.h | 28 ++++++++++++++++++------ > - lib/pkcs11.c | 2 +- > - lib/priority.c | 2 +- > - lib/verify-tofu.c | 2 +- > - 5 files changed, 25 insertions(+), 63 deletions(-) > - > -diff --git a/lib/locks.c b/lib/locks.c > -index d61504e077..8888ed6b12 100644 > ---- a/lib/locks.c > -+++ b/lib/locks.c > -@@ -63,57 +63,3 @@ gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit, > - gnutls_mutex_lock = lock; > - gnutls_mutex_unlock = unlock; > - } > -- > --int > --gnutls_static_mutex_lock(gnutls_static_mutex_t lock) > --{ > -- if (unlikely(glthread_lock_lock(lock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_static_mutex_unlock(gnutls_static_mutex_t lock) > --{ > -- if (unlikely(glthread_lock_unlock(lock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock) > --{ > -- if (unlikely(glthread_rwlock_rdlock(rwlock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock) > --{ > -- if (unlikely(glthread_rwlock_wrlock(rwlock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_rwlock_unlock(gnutls_rwlock_t rwlock) > --{ > -- if (unlikely(glthread_rwlock_unlock(rwlock))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -- > --int > --gnutls_once(gnutls_once_t once, void (*init_func) (void)) > --{ > -- if (unlikely(glthread_once(once, init_func))) { > -- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); > -- } > -- return 0; > --} > -diff --git a/lib/locks.h b/lib/locks.h > -index a1ff0fa9d7..907adfc134 100644 > ---- a/lib/locks.h > -+++ b/lib/locks.h > -@@ -40,8 +40,14 @@ extern mutex_unlock_func gnutls_mutex_unlock; > - */ > - #define GNUTLS_STATIC_MUTEX(lock) gl_lock_define_initialized(static, lock) > - typedef gl_lock_t *gnutls_static_mutex_t; > --int gnutls_static_mutex_lock(gnutls_static_mutex_t lock); > --int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); > -+ > -+#define gnutls_static_mutex_lock(LOCK) \ > -+ (unlikely(glthread_lock_lock(LOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > -+ > -+#define gnutls_static_mutex_unlock(LOCK) \ > -+ (unlikely(glthread_lock_unlock(LOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > - > - /* Unlike static mutexes, static rwlocks can be locked/unlocked with > - * the functions defined below, because there is no way to replace > -@@ -50,13 +56,23 @@ int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); > - #define GNUTLS_RWLOCK(rwlock) gl_rwlock_define_initialized(static, rwlock) > - typedef gl_rwlock_t *gnutls_rwlock_t; > - > --int gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock); > --int gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock); > --int gnutls_rwlock_unlock(gnutls_rwlock_t rwlock); > -+#define gnutls_rwlock_rdlock(RWLOCK) \ > -+ (unlikely(glthread_rwlock_rdlock(RWLOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > -+ > -+#define gnutls_rwlock_wrlock(RWLOCK) \ > -+ (unlikely(glthread_rwlock_wrlock(RWLOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > -+ > -+#define gnutls_rwlock_unlock(RWLOCK) \ > -+ (unlikely(glthread_rwlock_unlock(RWLOCK)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > - > - #define GNUTLS_ONCE(once) gl_once_define(static, once) > - typedef gl_once_t *gnutls_once_t; > - > --int gnutls_once(gnutls_once_t once, void (*init_func) (void)); > -+#define gnutls_once(ONCE, INIT_FUNC) \ > -+ (unlikely(glthread_once(ONCE, INIT_FUNC)) ? \ > -+ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) > - > - #endif /* GNUTLS_LIB_LOCKS_H */ > -diff --git a/lib/pkcs11.c b/lib/pkcs11.c > -index 8dda0f07c9..ba8ac0c375 100644 > ---- a/lib/pkcs11.c > -+++ b/lib/pkcs11.c > -@@ -351,7 +351,7 @@ int _gnutls_pkcs11_check_init(init_level_t req_level, void *priv, pkcs11_reinit_ > - ret = sret; > - > - cleanup: > -- gnutls_static_mutex_unlock(&pkcs11_mutex); > -+ (void)gnutls_static_mutex_unlock(&pkcs11_mutex); > - > - return ret; > - } > -diff --git a/lib/priority.c b/lib/priority.c > -index d17a923318..55ae185c1f 100644 > ---- a/lib/priority.c > -+++ b/lib/priority.c > -@@ -2505,7 +2505,7 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache) > - } > - > - out: > -- gnutls_rwlock_unlock(&system_wide_config_rwlock); > -+ (void)gnutls_rwlock_unlock(&system_wide_config_rwlock); > - return ret; > - } > - > -diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c > -index 40b7acdc8a..97f47385e6 100644 > ---- a/lib/verify-tofu.c > -+++ b/lib/verify-tofu.c > -@@ -434,7 +434,7 @@ int store_pubkey(const char *db_name, const char *host, > - if (fp != NULL) > - fclose(fp); > - > -- gnutls_static_mutex_unlock(&file_mutex); > -+ (void)gnutls_static_mutex_unlock(&file_mutex); > - gnutls_free(b64key.data); > - > - return ret; > --- > -GitLab > - > diff --git a/package/gnutls/gnutls.hash b/package/gnutls/gnutls.hash > index 2ffc6c1b4..c09e4665e 100644 > --- a/package/gnutls/gnutls.hash > +++ b/package/gnutls/gnutls.hash > @@ -1,6 +1,6 @@ > # Locally calculated after checking pgp signature > -# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.3.tar.xz.sig > -sha256 fc59c43bc31ab20a6977ff083029277a31935b8355ce387b634fa433f8f6c49a gnutls-3.7.3.tar.xz > +# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.4.tar.xz.sig > +sha256 e6adbebcfbc95867de01060d93c789938cf89cc1d1f6ef9ef661890f6217451f gnutls-3.7.4.tar.xz > # Locally calculated > sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b doc/COPYING > sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 doc/COPYING.LESSER > diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk > index 7317a3bb1..0e461cd44 100644 > --- a/package/gnutls/gnutls.mk > +++ b/package/gnutls/gnutls.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > GNUTLS_VERSION_MAJOR = 3.7 > -GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).3 > +GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).4 > GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz > GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) > GNUTLS_LICENSE = LGPL-2.1+ (core library) > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:54:30 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:54:30 +0200 Subject: [Buildroot] [PATCH] package/libepoxy: bump to version 1.5.10 In-Reply-To: <20220412180139.2709625-1-francois.perrad@gadz.org> References: <20220412180139.2709625-1-francois.perrad@gadz.org> Message-ID: <20220412195430.GF4029883@scaer> Fran?ois, All, On 2022-04-12 20:01 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libepoxy/libepoxy.hash | 4 ++-- > package/libepoxy/libepoxy.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libepoxy/libepoxy.hash b/package/libepoxy/libepoxy.hash > index 376920c3c..bf6c52f99 100644 > --- a/package/libepoxy/libepoxy.hash > +++ b/package/libepoxy/libepoxy.hash > @@ -1,5 +1,5 @@ > -# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.9.sha256sum > -sha256 d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4 libepoxy-1.5.9.tar.xz > +# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.10.sha256sum > +sha256 072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623 libepoxy-1.5.10.tar.xz > > # Hashes for license files: > sha256 8d5144666f9c4df9bbd69b8900086d5979259152a1060421cdcc0fb9061a1c12 COPYING > diff --git a/package/libepoxy/libepoxy.mk b/package/libepoxy/libepoxy.mk > index 5a71fe599..2af2e2f6e 100644 > --- a/package/libepoxy/libepoxy.mk > +++ b/package/libepoxy/libepoxy.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > LIBEPOXY_VERSION_MAJOR = 1.5 > -LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).9 > +LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).10 > LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR) > LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz > LIBEPOXY_INSTALL_STAGING = YES > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:54:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:54:53 +0200 Subject: [Buildroot] [PATCH] package/libevdev: bump to version 1.12.1 In-Reply-To: <20220412180157.2709680-1-francois.perrad@gadz.org> References: <20220412180157.2709680-1-francois.perrad@gadz.org> Message-ID: <20220412195453.GG4029883@scaer> Fran?ois, All, On 2022-04-12 20:01 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libevdev/libevdev.hash | 6 +++--- > package/libevdev/libevdev.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/libevdev/libevdev.hash b/package/libevdev/libevdev.hash > index 68a5ebdcb..dd76e158e 100644 > --- a/package/libevdev/libevdev.hash > +++ b/package/libevdev/libevdev.hash > @@ -1,6 +1,6 @@ > -# From https://lists.freedesktop.org/archives/input-tools/2021-November/001573.html > -sha256 2f729e3480695791f9482e8388bd723402b89f0eaf118057bbdea3cecee9b237 libevdev-1.12.0.tar.xz > -sha512 6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c libevdev-1.12.0.tar.xz > +# From https://lists.freedesktop.org/archives/input-tools/2022-March/001574.html > +sha256 1dbba41bc516d3ca7abc0da5b862efe3ea8a7018fa6e9b97ce9d39401b22426c libevdev-1.12.1.tar.xz > +sha512 eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4 libevdev-1.12.1.tar.xz > > # Hash for license files: > sha256 6f13de7ce28e4948ba95170e0723ee1254c1978ce1f127af82aeca597b567cb9 COPYING > diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk > index cd80154be..726a5afce 100644 > --- a/package/libevdev/libevdev.mk > +++ b/package/libevdev/libevdev.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBEVDEV_VERSION = 1.12.0 > +LIBEVDEV_VERSION = 1.12.1 > LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev > LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz > LIBEVDEV_LICENSE = MIT > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:55:10 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:55:10 +0200 Subject: [Buildroot] [PATCH] package/mc: bump to version 4.8.28 In-Reply-To: <20220412180213.2709733-1-francois.perrad@gadz.org> References: <20220412180213.2709733-1-francois.perrad@gadz.org> Message-ID: <20220412195510.GH4029883@scaer> Fran?ois, All, On 2022-04-12 20:02 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/mc/mc.hash | 4 ++-- > package/mc/mc.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/mc/mc.hash b/package/mc/mc.hash > index 6400f64b9..b0381474f 100644 > --- a/package/mc/mc.hash > +++ b/package/mc/mc.hash > @@ -1,4 +1,4 @@ > -# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256 > -sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz > +# Hash from http://ftp.midnight-commander.org/mc-4.8.28.sha256 > +sha256 e994d9be9a7172e9ac4a4ad62107921f6aa312e668b056dfe5b8bcebbaf53803 mc-4.8.28.tar.xz > # sha256 locally computed: > sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING > diff --git a/package/mc/mc.mk b/package/mc/mc.mk > index 678d687bc..ac12c2173 100644 > --- a/package/mc/mc.mk > +++ b/package/mc/mc.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MC_VERSION = 4.8.27 > +MC_VERSION = 4.8.28 > MC_SOURCE = mc-$(MC_VERSION).tar.xz > MC_SITE = http://ftp.midnight-commander.org > MC_LICENSE = GPL-3.0+ > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:55:25 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:55:25 +0200 Subject: [Buildroot] [PATCH] package/pango: bump to version 1.50.6 In-Reply-To: <20220412180233.2709789-1-francois.perrad@gadz.org> References: <20220412180233.2709789-1-francois.perrad@gadz.org> Message-ID: <20220412195525.GI4029883@scaer> Fran?ois, All, On 2022-04-12 20:02 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/pango/pango.hash | 4 ++-- > package/pango/pango.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/pango/pango.hash b/package/pango/pango.hash > index 319d9778c..fecf36853 100644 > --- a/package/pango/pango.hash > +++ b/package/pango/pango.hash > @@ -1,5 +1,5 @@ > -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.5.sha256sum > -sha256 6d136872da6207fe88c5cd2c95c36bcaf4ed29402b854663a86cd7efe99b0cf5 pango-1.50.5.tar.xz > +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum > +sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz > > # Locally computed > sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING > diff --git a/package/pango/pango.mk b/package/pango/pango.mk > index 69ec5bb49..c264e7674 100644 > --- a/package/pango/pango.mk > +++ b/package/pango/pango.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > PANGO_VERSION_MAJOR = 1.50 > -PANGO_VERSION = $(PANGO_VERSION_MAJOR).5 > +PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 > PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz > PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) > PANGO_INSTALL_STAGING = YES > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:55:36 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:55:36 +0200 Subject: [Buildroot] [PATCH] package/sqlite: bump to version 3.38.2 In-Reply-To: <20220412180248.2709842-1-francois.perrad@gadz.org> References: <20220412180248.2709842-1-francois.perrad@gadz.org> Message-ID: <20220412195536.GJ4029883@scaer> Fran?ois, All, On 2022-04-12 20:02 +0200, Francois Perrad spake thusly: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/sqlite/sqlite.hash | 2 +- > package/sqlite/sqlite.mk | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/sqlite/sqlite.hash b/package/sqlite/sqlite.hash > index 1b3dc35cc..882cf8564 100644 > --- a/package/sqlite/sqlite.hash > +++ b/package/sqlite/sqlite.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 8e3a8ceb9794d968399590d2ddf9d5c044a97dd83d38b9613364a245ec8a2fc4 sqlite-autoconf-3380100.tar.gz > +sha256 e7974aa1430bad690a5e9f79a6ee5c8492ada8269dc675875ad0fb747d7cada4 sqlite-autoconf-3380200.tar.gz > sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms > diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk > index a0c90b7f6..9f88af7ae 100644 > --- a/package/sqlite/sqlite.mk > +++ b/package/sqlite/sqlite.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -SQLITE_VERSION = 3.38.1 > -SQLITE_TAR_VERSION = 3380100 > +SQLITE_VERSION = 3.38.2 > +SQLITE_TAR_VERSION = 3380200 > SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_TAR_VERSION).tar.gz > SQLITE_SITE = https://www.sqlite.org/2022 > SQLITE_LICENSE = Public domain > -- > 2.32.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:55:52 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:55:52 +0200 Subject: [Buildroot] [git commit] package/dhcp: security bump to version 4.4.3 Message-ID: <20220412194832.EC58583B9F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9d2fc046ed078630b40350dd33e87b7594938534 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Security vulnerabilies will be fixed by bumping internal bind from 9.11.14 to 9.11.36 - Drop patch (already in version) - This bump will also fix the following build failure on platforms without stdatomic lock free thanks to https://gitlab.isc.org/isc-projects/bind9/-/commit/261c84d91d1b4581df9f7f0ec031908299de7726 stats.c: In function 'setcounter': stats.c:300:29: error: 'val' undeclared (first use in this function); did you mean 'value'? 300 | stats->counters[counter] = val; | ^~~ | value - Update hash of license file (ISC address updated and preamble removed: https://gitlab.isc.org/isc-projects/dhcp/-/commit/429a56d73c0f9f2edf400fd6313850a3ce4fd809 https://gitlab.isc.org/isc-projects/dhcp/-/commit/ee868403d0df934442a438aa6b5832bacabb7b23) https://gitlab.isc.org/isc-projects/dhcp/-/blob/v4_4_3/RELNOTES Fixes: - http://autobuild.buildroot.org/results/e4d027b5bcda852d0b5a54035de5ed37499a4ef0 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...esolve-ISC-DHCP-does-not-build-with-gcc10.patch | 121 --------------------- package/dhcp/dhcp.hash | 6 +- package/dhcp/dhcp.mk | 2 +- 3 files changed, 4 insertions(+), 125 deletions(-) diff --git a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch b/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch deleted file mode 100644 index ad244267fe..0000000000 --- a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch +++ /dev/null @@ -1,121 +0,0 @@ -From 129b7e402bd6e7278854e5a8935fce460552b5f4 Mon Sep 17 00:00:00 2001 -From: Thomas Markwalder -Date: Thu, 30 Jul 2020 10:01:36 -0400 -Subject: [PATCH] [#117] Fixed gcc 10 compilation issues - -client/dhclient.c -relay/dhcrelay.c - extern'ed local_port,remote_port - -common/discover.c - init local_port,remote_port to 0 - -server/mdb.c - extern'ed dhcp_type_host - -server/mdb6.c - create_prefix6() - eliminated memcpy string overflow error - -[Retrieved from: -https://gitlab.isc.org/isc-projects/dhcp/-/merge_requests/60/diffs?commit_id=129b7e402bd6e7278854e5a8935fce460552b5f4] -Signed-off-by: Fabrice Fontaine ---- - RELNOTES | 5 +++++ - client/dhclient.c | 5 +++-- - common/discover.c | 4 ++-- - relay/dhcrelay.c | 4 ++-- - server/mdb.c | 2 +- - server/mdb6.c | 2 +- - 6 files changed, 14 insertions(+), 8 deletions(-) - -diff --git a/RELNOTES b/RELNOTES -index 9d0a0414..6919dba7 100644 ---- a/RELNOTES -+++ b/RELNOTES -@@ -103,6 +103,11 @@ ISC DHCP is open source software maintained by Internet Systems - Consortium. This product includes cryptographic software written - by Eric Young (eay at cryptsoft.com). - -+ Changes since 4.4.2 (Bug Fixes) -+ -+- Minor corrections to allow compilation under gcc 10. -+ [Gitlab #117] -+ - Changes since 4.4.2b1 (Bug Fixes) - - - Added a clarification on DHCPINFORMs and server authority to -diff --git a/client/dhclient.c b/client/dhclient.c -index 189e5270..7a7837cb 100644 ---- a/client/dhclient.c -+++ b/client/dhclient.c -@@ -83,8 +83,9 @@ static const char message [] = "Internet Systems Consortium DHCP Client"; - static const char url [] = "For info, please visit https://www.isc.org/software/dhcp/"; - #endif /* UNIT_TEST */ - --u_int16_t local_port = 0; --u_int16_t remote_port = 0; -+extern u_int16_t local_port; -+extern u_int16_t remote_port; -+ - #if defined(DHCPv6) && defined(DHCP4o6) - int dhcp4o6_state = -1; /* -1 = stopped, 0 = polling, 1 = started */ - #endif -diff --git a/common/discover.c b/common/discover.c -index ca4f4d55..22f09767 100644 ---- a/common/discover.c -+++ b/common/discover.c -@@ -45,8 +45,8 @@ struct interface_info *fallback_interface = 0; - - int interfaces_invalidated; - int quiet_interface_discovery; --u_int16_t local_port; --u_int16_t remote_port; -+u_int16_t local_port = 0; -+u_int16_t remote_port = 0; - u_int16_t relay_port = 0; - int dhcpv4_over_dhcpv6 = 0; - int (*dhcp_interface_setup_hook) (struct interface_info *, struct iaddr *); -diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c -index 883d5058..7211e3bb 100644 ---- a/relay/dhcrelay.c -+++ b/relay/dhcrelay.c -@@ -95,8 +95,8 @@ enum { forward_and_append, /* Forward and append our own relay option. */ - forward_untouched, /* Forward without changes. */ - discard } agent_relay_mode = forward_and_replace; - --u_int16_t local_port; --u_int16_t remote_port; -+extern u_int16_t local_port; -+extern u_int16_t remote_port; - - /* Relay agent server list. */ - struct server_list { -diff --git a/server/mdb.c b/server/mdb.c -index ff8a707f..8266d764 100644 ---- a/server/mdb.c -+++ b/server/mdb.c -@@ -67,7 +67,7 @@ static host_id_info_t *host_id_info = NULL; - - int numclasseswritten; - --omapi_object_type_t *dhcp_type_host; -+extern omapi_object_type_t *dhcp_type_host; - - isc_result_t enter_class(cd, dynamicp, commit) - struct class *cd; -diff --git a/server/mdb6.c b/server/mdb6.c -index da7baf6e..ebe01e56 100644 ---- a/server/mdb6.c -+++ b/server/mdb6.c -@@ -1945,7 +1945,7 @@ create_prefix6(struct ipv6_pool *pool, struct iasubopt **pref, - } - new_ds.data = new_ds.buffer->data; - memcpy(new_ds.buffer->data, ds.data, ds.len); -- memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp)); -+ memcpy(&new_ds.buffer->data[0] + ds.len, &tmp, sizeof(tmp)); - data_string_forget(&ds, MDL); - data_string_copy(&ds, &new_ds, MDL); - data_string_forget(&new_ds, MDL); --- -GitLab - diff --git a/package/dhcp/dhcp.hash b/package/dhcp/dhcp.hash index ec7c4fe58d..be03423db8 100644 --- a/package/dhcp/dhcp.hash +++ b/package/dhcp/dhcp.hash @@ -1,4 +1,4 @@ -# Verified from https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz.sha256.asc -sha256 b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a dhcp-4.4.2-P1.tar.gz +# Verified from https://ftp.isc.org/isc/dhcp/4.4.3/dhcp-4.4.3.tar.gz.sha256.asc +sha256 0e3ec6b4c2a05ec0148874bcd999a66d05518378d77421f607fb0bc9d0135818 dhcp-4.4.3.tar.gz # Locally calculated -sha256 9961fce0d83a6229b9084cdadedfa723a53274c63af610c9adb61b607e0f5a76 LICENSE +sha256 45a39c430be0920cb9570f34b32d2378fe6048c034f2f3265b9326d64ada73df LICENSE diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index b52bf3a579..c58592cc45 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -4,7 +4,7 @@ # ################################################################################ -DHCP_VERSION = 4.4.2-P1 +DHCP_VERSION = 4.4.3 DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 From yann.morin.1998 at free.fr Tue Apr 12 19:59:06 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:59:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: security bump to version 4.4.3 In-Reply-To: <20220412181607.1451580-1-fontaine.fabrice@gmail.com> References: <20220412181607.1451580-1-fontaine.fabrice@gmail.com> Message-ID: <20220412195906.GK4029883@scaer> Fabrice, All, +Peter: candidate for backporting On 2022-04-12 20:16 +0200, Fabrice Fontaine spake thusly: > - Security vulnerabilies will be fixed by bumping internal bind from > 9.11.14 to 9.11.36 > - Drop patch (already in version) > - This bump will also fix the following build failure on platforms > without stdatomic lock free thanks to > https://gitlab.isc.org/isc-projects/bind9/-/commit/261c84d91d1b4581df9f7f0ec031908299de7726 > > stats.c: In function 'setcounter': > stats.c:300:29: error: 'val' undeclared (first use in this function); did you mean 'value'? > 300 | stats->counters[counter] = val; > | ^~~ > | value > - Update hash of license file (ISC address updated and preamble removed: > https://gitlab.isc.org/isc-projects/dhcp/-/commit/429a56d73c0f9f2edf400fd6313850a3ce4fd809 > https://gitlab.isc.org/isc-projects/dhcp/-/commit/ee868403d0df934442a438aa6b5832bacabb7b23) > > https://gitlab.isc.org/isc-projects/dhcp/-/blob/v4_4_3/RELNOTES > > Fixes: > - http://autobuild.buildroot.org/results/e4d027b5bcda852d0b5a54035de5ed37499a4ef0 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > ...e-ISC-DHCP-does-not-build-with-gcc10.patch | 121 ------------------ > package/dhcp/dhcp.hash | 6 +- > package/dhcp/dhcp.mk | 2 +- > 3 files changed, 4 insertions(+), 125 deletions(-) > delete mode 100644 package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch > > diff --git a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch b/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch > deleted file mode 100644 > index ad244267fe..0000000000 > --- a/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch > +++ /dev/null > @@ -1,121 +0,0 @@ > -From 129b7e402bd6e7278854e5a8935fce460552b5f4 Mon Sep 17 00:00:00 2001 > -From: Thomas Markwalder > -Date: Thu, 30 Jul 2020 10:01:36 -0400 > -Subject: [PATCH] [#117] Fixed gcc 10 compilation issues > - > -client/dhclient.c > -relay/dhcrelay.c > - extern'ed local_port,remote_port > - > -common/discover.c > - init local_port,remote_port to 0 > - > -server/mdb.c > - extern'ed dhcp_type_host > - > -server/mdb6.c > - create_prefix6() - eliminated memcpy string overflow error > - > -[Retrieved from: > -https://gitlab.isc.org/isc-projects/dhcp/-/merge_requests/60/diffs?commit_id=129b7e402bd6e7278854e5a8935fce460552b5f4] > -Signed-off-by: Fabrice Fontaine > ---- > - RELNOTES | 5 +++++ > - client/dhclient.c | 5 +++-- > - common/discover.c | 4 ++-- > - relay/dhcrelay.c | 4 ++-- > - server/mdb.c | 2 +- > - server/mdb6.c | 2 +- > - 6 files changed, 14 insertions(+), 8 deletions(-) > - > -diff --git a/RELNOTES b/RELNOTES > -index 9d0a0414..6919dba7 100644 > ---- a/RELNOTES > -+++ b/RELNOTES > -@@ -103,6 +103,11 @@ ISC DHCP is open source software maintained by Internet Systems > - Consortium. This product includes cryptographic software written > - by Eric Young (eay at cryptsoft.com). > - > -+ Changes since 4.4.2 (Bug Fixes) > -+ > -+- Minor corrections to allow compilation under gcc 10. > -+ [Gitlab #117] > -+ > - Changes since 4.4.2b1 (Bug Fixes) > - > - - Added a clarification on DHCPINFORMs and server authority to > -diff --git a/client/dhclient.c b/client/dhclient.c > -index 189e5270..7a7837cb 100644 > ---- a/client/dhclient.c > -+++ b/client/dhclient.c > -@@ -83,8 +83,9 @@ static const char message [] = "Internet Systems Consortium DHCP Client"; > - static const char url [] = "For info, please visit https://www.isc.org/software/dhcp/"; > - #endif /* UNIT_TEST */ > - > --u_int16_t local_port = 0; > --u_int16_t remote_port = 0; > -+extern u_int16_t local_port; > -+extern u_int16_t remote_port; > -+ > - #if defined(DHCPv6) && defined(DHCP4o6) > - int dhcp4o6_state = -1; /* -1 = stopped, 0 = polling, 1 = started */ > - #endif > -diff --git a/common/discover.c b/common/discover.c > -index ca4f4d55..22f09767 100644 > ---- a/common/discover.c > -+++ b/common/discover.c > -@@ -45,8 +45,8 @@ struct interface_info *fallback_interface = 0; > - > - int interfaces_invalidated; > - int quiet_interface_discovery; > --u_int16_t local_port; > --u_int16_t remote_port; > -+u_int16_t local_port = 0; > -+u_int16_t remote_port = 0; > - u_int16_t relay_port = 0; > - int dhcpv4_over_dhcpv6 = 0; > - int (*dhcp_interface_setup_hook) (struct interface_info *, struct iaddr *); > -diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c > -index 883d5058..7211e3bb 100644 > ---- a/relay/dhcrelay.c > -+++ b/relay/dhcrelay.c > -@@ -95,8 +95,8 @@ enum { forward_and_append, /* Forward and append our own relay option. */ > - forward_untouched, /* Forward without changes. */ > - discard } agent_relay_mode = forward_and_replace; > - > --u_int16_t local_port; > --u_int16_t remote_port; > -+extern u_int16_t local_port; > -+extern u_int16_t remote_port; > - > - /* Relay agent server list. */ > - struct server_list { > -diff --git a/server/mdb.c b/server/mdb.c > -index ff8a707f..8266d764 100644 > ---- a/server/mdb.c > -+++ b/server/mdb.c > -@@ -67,7 +67,7 @@ static host_id_info_t *host_id_info = NULL; > - > - int numclasseswritten; > - > --omapi_object_type_t *dhcp_type_host; > -+extern omapi_object_type_t *dhcp_type_host; > - > - isc_result_t enter_class(cd, dynamicp, commit) > - struct class *cd; > -diff --git a/server/mdb6.c b/server/mdb6.c > -index da7baf6e..ebe01e56 100644 > ---- a/server/mdb6.c > -+++ b/server/mdb6.c > -@@ -1945,7 +1945,7 @@ create_prefix6(struct ipv6_pool *pool, struct iasubopt **pref, > - } > - new_ds.data = new_ds.buffer->data; > - memcpy(new_ds.buffer->data, ds.data, ds.len); > -- memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp)); > -+ memcpy(&new_ds.buffer->data[0] + ds.len, &tmp, sizeof(tmp)); > - data_string_forget(&ds, MDL); > - data_string_copy(&ds, &new_ds, MDL); > - data_string_forget(&new_ds, MDL); > --- > -GitLab > - > diff --git a/package/dhcp/dhcp.hash b/package/dhcp/dhcp.hash > index ec7c4fe58d..be03423db8 100644 > --- a/package/dhcp/dhcp.hash > +++ b/package/dhcp/dhcp.hash > @@ -1,4 +1,4 @@ > -# Verified from https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz.sha256.asc > -sha256 b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a dhcp-4.4.2-P1.tar.gz > +# Verified from https://ftp.isc.org/isc/dhcp/4.4.3/dhcp-4.4.3.tar.gz.sha256.asc > +sha256 0e3ec6b4c2a05ec0148874bcd999a66d05518378d77421f607fb0bc9d0135818 dhcp-4.4.3.tar.gz > # Locally calculated > -sha256 9961fce0d83a6229b9084cdadedfa723a53274c63af610c9adb61b607e0f5a76 LICENSE > +sha256 45a39c430be0920cb9570f34b32d2378fe6048c034f2f3265b9326d64ada73df LICENSE > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 460e62a81c..e2690300c1 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DHCP_VERSION = 4.4.2-P1 > +DHCP_VERSION = 4.4.3 > DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) > DHCP_INSTALL_STAGING = YES > DHCP_LICENSE = MPL-2.0 > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 19:59:28 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:59:28 +0200 Subject: [git commit] DEVELOPERS: add missing Miquèl Raynal e-mail Message-ID: <20220412194950.2171C83BA7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cc384b9734139a0654718c33f8e67546336750dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- DEVELOPERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEVELOPERS b/DEVELOPERS index d5035b3239..7a87cceaef 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2067,7 +2067,7 @@ F: package/libfribidi/ N: Min Xu F: package/shadowsocks-libev/ -N: Miqu??l Raynal +N: Miqu??l Raynal F: package/mali-driver/ F: package/rockchip-mali/ From yann.morin.1998 at free.fr Tue Apr 12 19:59:52 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 21:59:52 +0200 Subject: [Buildroot] =?utf-8?q?=5BPATCH=5D_DEVELOPERS=3A_add_missing_Miqu?= =?utf-8?q?=C3=A8l_Raynal_e-mail?= In-Reply-To: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> References: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> Message-ID: <20220412195952.GL4029883@scaer> Giulio, All, On 2022-04-12 15:27 +0200, Giulio Benetti spake thusly: > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Yann E. MORIN. > --- > DEVELOPERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/DEVELOPERS b/DEVELOPERS > index d5035b3239..7a87cceaef 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2067,7 +2067,7 @@ F: package/libfribidi/ > N: Min Xu > F: package/shadowsocks-libev/ > > -N: Miqu?l Raynal > +N: Miqu?l Raynal > F: package/mali-driver/ > F: package/rockchip-mali/ > > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Apr 12 20:01:12 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 22:01:12 +0200 Subject: [Buildroot] [git commit] package/mali-driver: only available for arm or AArch64 Message-ID: <20220412195243.CBEEF83BB0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3872457e50ba98dbeea0dc44277a671b7923d03d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Currentlym this kernel module can be built by any architecture and this leads to many failures. Since it's very unlikely that Mali will be part of architectures other than AArch64 and arm let's depend on BR2_aarch64 and BR2_arm only. Fixes: http://autobuild.buildroot.net/results/f94885ef76865c3888d6cc52b35c93a742f92f3a Signed-off-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- package/mali-driver/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mali-driver/Config.in b/package/mali-driver/Config.in index fee67096c8..4c1a96d05c 100644 --- a/package/mali-driver/Config.in +++ b/package/mali-driver/Config.in @@ -3,6 +3,7 @@ comment "mali-driver needs a Linux kernel to be built" config BR2_PACKAGE_MALI_DRIVER bool "mali-driver" + depends on BR2_aarch64 || BR2_arm depends on BR2_LINUX_KERNEL help This package builds and installs the Linux kernel driver for From yann.morin.1998 at free.fr Tue Apr 12 20:02:49 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 12 Apr 2022 22:02:49 +0200 Subject: [Buildroot] [PATCH] package/mali-driver: fix build failure with archs different from aarch64 and arm In-Reply-To: <20220412132753.89827-2-giulio.benetti@benettiengineering.com> References: <20220412132753.89827-1-giulio.benetti@benettiengineering.com> <20220412132753.89827-2-giulio.benetti@benettiengineering.com> Message-ID: <20220412200249.GM4029883@scaer> Giulio, All, On 2022-04-12 15:27 +0200, Giulio Benetti spake thusly: > Actually this kernel module can be built by any architecture and this > leads to many failures. Sintce it's very unlikely that Mali will be part > of architectures other than aarch64 and arm let's depend on BR2_aarch64 > and BR2_arm only. > > Fixes: > http://autobuild.buildroot.net/results/f94885ef76865c3888d6cc52b35c93a742f92f3a > > Signed-off-by: Giulio Benetti Applied to master, after slightly rewording the commit log thanks. Regards, Yann E. MORIN. > --- > package/mali-driver/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/mali-driver/Config.in b/package/mali-driver/Config.in > index fee67096c8..4c1a96d05c 100644 > --- a/package/mali-driver/Config.in > +++ b/package/mali-driver/Config.in > @@ -3,6 +3,7 @@ comment "mali-driver needs a Linux kernel to be built" > > config BR2_PACKAGE_MALI_DRIVER > bool "mali-driver" > + depends on BR2_aarch64 || BR2_arm > depends on BR2_LINUX_KERNEL > help > This package builds and installs the Linux kernel driver for > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Tue Apr 12 20:30:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 22:30:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libudfread: needs __sync_*_4 or threads Message-ID: <20220412203048.23203-1-fontaine.fabrice@gmail.com> libudfread needs __sync_*_4 or threads since its addition in commit c477885e3f3c31d3922af1fc0e47e6f5f35b1645 and https://code.videolan.org/videolan/libudfread/-/commit/06c3cb9223a3cb5ab048e42ab353958f422a8f57 to avoid the following build failure: src/udfread.c:108:3: error: #error no atomic operation support 108 | # error no atomic operation support | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/f76d475f49d525095ac0054224b50b9e612691d6 Signed-off-by: Fabrice Fontaine --- package/libudfread/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libudfread/Config.in b/package/libudfread/Config.in index 8d42570500..c1f3f23af9 100644 --- a/package/libudfread/Config.in +++ b/package/libudfread/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_LIBUDFREAD bool "libudfread" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS help UDF reader https://code.videolan.org/videolan/libudfread + +comment "libudfread needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 12 20:48:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 22:48:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/bpftool: needs __sync_*_4 intrisics Message-ID: <20220412204844.24228-1-fontaine.fabrice@gmail.com> bpftool needs __sync_*_4 intrisics since its addition in commit 3675131e6c654d7536a184db0184fde7a97040e0 and https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97: /nvmedata/autobuild/instance-26/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-26/output-1/build/bpftool-v6.7.0/src/libbpf/libbpf.a(libbpf.o): in function `bpf_program__attach_kprobe_opts': libbpf.c:(.text+0xff88): undefined reference to `__sync_fetch_and_add_4' Fixes: - http://autobuild.buildroot.org/results/919b8351d3783ca30a860df87ae814d5c4b9fd41 Signed-off-by: Fabrice Fontaine --- package/bpftool/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in index a1ef3843e6..461be9e5b4 100644 --- a/package/bpftool/Config.in +++ b/package/bpftool/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS config BR2_PACKAGE_BPFTOOL bool "bpftool" depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_nios2 # binutils depends on BR2_USE_WCHAR # binutils, elfutils depends on !BR2_STATIC_LIBS # elfutils @@ -24,6 +25,7 @@ config BR2_PACKAGE_BPFTOOL comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12" depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_nios2 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS \ -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 12 20:49:26 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 12 Apr 2022 22:49:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/libbpf: needs __sync_*_4 intrisics Message-ID: <20220412204926.24281-1-fontaine.fabrice@gmail.com> libbpf needs __sync_*_4 intrisics since bump to version 0.7.0 in commit 4b1003855b02f6d9c77de634c9d0f636470e7388 and https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97 Fixes: - No autobuilder failures (yet) Signed-off-by: Fabrice Fontaine --- package/libbpf/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libbpf/Config.in b/package/libbpf/Config.in index 3aa6679b3a..b3d6e44c6a 100644 --- a/package/libbpf/Config.in +++ b/package/libbpf/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS config BR2_PACKAGE_LIBBPF bool "libbpf" depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_USE_WCHAR # elfutils depends on !BR2_STATIC_LIBS # elfutils depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils @@ -27,6 +28,7 @@ config BR2_PACKAGE_LIBBPF comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13" depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \ -- 2.35.1 From peter at korsgaard.com Tue Apr 12 22:09:28 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 13 Apr 2022 00:09:28 +0200 Subject: [Buildroot] [git commit] Update for 2022.02.1 Message-ID: <20220412220343.EDA4583BD3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=11b6b65d509c24e41af5ce0da941556fb10354fc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard (cherry picked from commit 9da87c52934842026918b9eb8511b35cd935c552) [Peter: skip Makefile bump] Signed-off-by: Peter Korsgaard --- CHANGES | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ support/misc/Vagrantfile | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index e37c6d0fe7..12df66916c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,57 @@ +2022.02.1, released April 11th, 2022 + + Important / security related fixes. + + Graphs: Also generate a build time timeline graph (for top + level parallel builds). + + scripts/pkg-stats: Optimize memory consumption for CPE parsing + + Fix compatibility issue with the fakeroot script logic and + modern versions of dash. + + Change git:// URLs pointing to Github to https://, now that + Github has turned off support for git:// + + Updated/fixed packages: ace, apache, apr, apr-util, belr, + bind, bluez5_utils, boinc, bpftool, busybox, cloop, cog, + containerd, cppcms, dav1d, dhcp, dieharder, dnsmasq, + docker-cli, docker-engine, efl, ell, fakeroot, flac, + fluidsynth, gdk-pixbuf, glib-networking, gnutls, gst-omx, + gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, haproxym htop, intel-gmmlib, + ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, + libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, + libgtk3, libiec61850, libkrb5, libminiupnpc, libodb, + libodb-boost, libopenssl, libp11, libpsl, libressl, librstp, + librtlsdr, liburing, libyang, libzlib, luasec, lxc, matio, + meson, minidlna, minizip, mpd, mtools, netatalk, nbd, odb, + openblas, openssh, openvpn, optee-os, opus, paho-mqtt-c, + pango, php, pipewire, pkcs11-helper, postgresql, ppp, + protozero, python-aioconsole, python-avro, python-brotli, + python-greenlet, python-paramiko, python-pillow, + python-rpi-gpio, python-treq, python-twisted, python-ujson, + python-weasyprint, qt5base, qt5wayland, raptor, rpi-firmware, + rpi-userland, rtl_433, runc, rust, rygel, samba4, + shairport-sync, spice, spidev_test, stunnel, systemd, + timescaledb, trace-cmd, trousers, ts4900-fpga, tvheadend, + udpcast, unbound, upower, urandom-scripts, usbguard, valgrind, + valijson, vim, wavpack, wget, wireplumber, wireshark, woff2, + xmrig, zabbix, zlib-ng, zynaddsubfx, zziplib + + Issues resolved (http://bugs.uclibc.org): + + #13971: ip6tables-nft build does not include MASQUERADE target.. + #14651: OpenSSH 8.9p1 compiler error under ARM + #14656: Adding dependencies from an external tree does not work + #14661: Fakeroot script relies on bash-isms, does not work .. + #14686: genimage.cfg have a hard-coded .ext4 extension which.. + #14701: Multiple unresolved symbols while building kernel .. + #14711: nodjs build problem missing bzip + #14731: BR2_PACKAGE_IOSTAT + 2022.02, released March 8th, 2022 Various fixes. diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index a5a0e3f41a..6cf44d9216 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2022.02' +RELEASE='2022.02.1' ### Change here for more memory/cores ### VM_MEMORY=2048 From peter at korsgaard.com Tue Apr 12 22:13:08 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 13 Apr 2022 00:13:08 +0200 Subject: [Buildroot] [git commit] docs/website: update for 2022.02.1 Message-ID: <20220412220344.0AD1583BD5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b718adee4bea908a5d810e74e6e3a83379d2ee4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- CHANGES | 2 +- docs/website/download.html | 18 +++++++++--------- docs/website/news.html | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/CHANGES b/CHANGES index 12df66916c..1658db4cce 100644 --- a/CHANGES +++ b/CHANGES @@ -21,7 +21,7 @@ gst1-devtools, gst1-libav, gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, - gstreamer1-editing-services, haproxym htop, intel-gmmlib, + gstreamer1-editing-services, haproxy, htop, intel-gmmlib, ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, libgtk3, libiec61850, libkrb5, libminiupnpc, libodb, diff --git a/docs/website/download.html b/docs/website/download.html index 18a9254cbf..7cbf882f96 100644 --- a/docs/website/download.html +++ b/docs/website/download.html @@ -8,37 +8,37 @@
      Download
      -

      Latest stable / long term support release: 2022.02

      +

      Latest stable / long term support release: 2022.02.1

      https://bugs.busybox.net/attachment.cgi?id=9291&action=edit buildlog dhcp the package dhcp cannot build for buildroot 2022.02.1 the target is a aarch64 processor (NXP LS1046A) /home/Public/BuildRoot/Machine/mdp-ls1046s510/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: schwerwiegender Fehler: dns/enumtype.h: Datei oder Verzeichnis nicht gefunden 230 | #include /* Provides dns_rdatatype_t. */ | ^~~~~~~~~~~~~~~~ Kompilierung beendet. make[4]: *** [Makefile:241: aclconf.lo] Fehler 1 for details see dhcpfailed.txt the buildroot host is Linux 05-johe-pc 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux the config is here BR2_aarch64=y BR2_cortex_a72=y BR2_OPTIMIZE_2=y BR2_SSP_REGULAR=y BR2_RELRO_PARTIAL=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TARGET_GENERIC_HOSTNAME="MDP-LS1046" BR2_TARGET_GENERIC_ISSUE="Welcome to Maritime Data Processor ..." BR2_TARGET_GENERIC_PASSWD_SHA512=y BR2_INIT_SYSTEMD=y BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES=y BR2_TARGET_GENERIC_ROOT_PASSWD="1234" BR2_SYSTEM_BIN_SH_BASH=y BR2_TARGET_GENERIC_GETTY_PORT="tty0" BR2_SYSTEM_DHCP="eth1" BR2_ROOTFS_USERS_TABLES="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/users.txt" BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/ofsd" BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/post_build_s.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/post_image_s.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Freescale/linux-fslc" BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5.10-2.1.x-imx" BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_ISM_PATH)/patches/linux/0001-linux-up510.patch" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/linux-up510.config" BR2_LINUX_KERNEL_IMAGEGZ=y BR2_LINUX_KERNEL_XZ=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1046a-mdp-sdk" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_PACKAGE_LINUX_TOOLS_GPIO=y BR2_PACKAGE_LINUX_TOOLS_PCI=y BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_ISM_PATH)/board/is/MDP-LS1046/busybox.config" BR2_PACKAGE_XZ=y BR2_PACKAGE_LSOF=y BR2_PACKAGE_JQ=y BR2_PACKAGE_E2FSPROGS=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_DBUS_TRIGGERD=y BR2_PACKAGE_GPSD=y BR2_PACKAGE_GPSD_DEVICES="/dev/ttyUSB1" BR2_PACKAGE_GPSD_SQUELCH=y BR2_PACKAGE_HWDATA=y BR2_PACKAGE_HWDATA_IAB_OUI_TXT=y BR2_PACKAGE_HWDATA_PNP_IDS=y BR2_PACKAGE_LM_SENSORS=y BR2_PACKAGE_LM_SENSORS_FANCONTROL=y BR2_PACKAGE_LM_SENSORS_PWMCONFIG=y BR2_PACKAGE_PARTED=y BR2_PACKAGE_PCIUTILS=y BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_SMARTMONTOOLS=y BR2_PACKAGE_UBOOT_TOOLS=y BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON3_SQLITE=y BR2_PACKAGE_PYTHON_GOBJECT=y BR2_PACKAGE_PYTHON_PIP=y BR2_PACKAGE_PYTHON_PYTEST=y BR2_PACKAGE_BEECRYPT=y BR2_PACKAGE_LIBSSH=y BR2_PACKAGE_LIBSSH2=y BR2_PACKAGE_LIBOPENSSL_BIN=y BR2_PACKAGE_LIBOPENSSL_ENGINES=y BR2_PACKAGE_CAIRO_PS=y BR2_PACKAGE_CAIRO_SVG=y BR2_PACKAGE_PANGO=y BR2_PACKAGE_LIBAIO=y BR2_PACKAGE_LIBSERIALPORT=y BR2_PACKAGE_LIBUSB=y BR2_PACKAGE_LIBNETFILTER_ACCT=y BR2_PACKAGE_LIBNETFILTER_LOG=y BR2_PACKAGE_LIBURIPARSER=y BR2_PACKAGE_LIBATOMIC_OPS=y BR2_PACKAGE_LIBDAEMON=y BR2_PACKAGE_LIBICAL=y BR2_PACKAGE_LIBEDIT=y BR2_PACKAGE_NEWT=y BR2_PACKAGE_ONIGURUMA=y BR2_PACKAGE_PCRE2=y BR2_PACKAGE_TCLAP=y BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO=y BR2_PACKAGE_CONNTRACK_TOOLS=y BR2_PACKAGE_DHCP=y BR2_PACKAGE_DHCP_SERVER=y BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK=y BR2_PACKAGE_DHCP_RELAY=y BR2_PACKAGE_DHCP_CLIENT=y # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set BR2_PACKAGE_IPROUTE2=y BR2_PACKAGE_IPSET=y BR2_PACKAGE_MODEM_MANAGER_LIBMBIM=y BR2_PACKAGE_MODEM_MANAGER_LIBQMI=y BR2_PACKAGE_NETWORK_MANAGER=y BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER=y BR2_PACKAGE_NFTABLES=y BR2_PACKAGE_NTP=y # BR2_PACKAGE_NTP_NTPD is not set BR2_PACKAGE_OPENSSH=y BR2_PACKAGE_OPENVPN=y BR2_PACKAGE_OPENVPN_SMALL=y BR2_PACKAGE_PPPD=y BR2_PACKAGE_RPCBIND=y BR2_PACKAGE_TCPDUMP=y BR2_PACKAGE_POLICYCOREUTILS=y BR2_PACKAGE_REFPOLICY=y BR2_PACKAGE_REFPOLICY_POLICY_STATE_DISABLED=y BR2_PACKAGE_AT=y BR2_PACKAGE_BASH_COMPLETION=y BR2_PACKAGE_FILE=y BR2_PACKAGE_SUDO=y BR2_PACKAGE_ACL=y BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE=y BR2_PACKAGE_SYSTEMD_FIRSTBOOT=y # BR2_PACKAGE_SYSTEMD_HWDB is not set BR2_PACKAGE_SYSTEMD_LOGIND=y # BR2_PACKAGE_SYSTEMD_MYHOSTNAME is not set # BR2_PACKAGE_SYSTEMD_NETWORKD is not set BR2_PACKAGE_SYSTEMD_POLKIT=y BR2_PACKAGE_SYSTEMD_RANDOMSEED=y BR2_PACKAGE_SYSTEMD_RFKILL=y BR2_PACKAGE_SYSTEMD_SYSUSERS=y # BR2_PACKAGE_SYSTEMD_VCONSOLE is not set BR2_PACKAGE_UTIL_LINUX_LIBFDISK=y BR2_PACKAGE_UTIL_LINUX_UUIDD=y BR2_PACKAGE_MC=y BR2_TARGET_ROOTFS_CPIO=y BR2_TARGET_ROOTFS_CPIO_XZ=y BR2_TARGET_ROOTFS_CPIO_UIMAGE=y # BR2_TARGET_ROOTFS_TAR is not set BR2_PACKAGE_HOST_E2FSPROGS=y BR2_PACKAGE_HOST_GENEXT2FS=y BR2_PACKAGE_HOST_QORIQ_RCW=y BR2_GENERIC_HW_MDP1046=y BR2_PACKAGE_INTERSCHALT=y BR2_PACKAGE_IS_PLATFORMD=y BR2_PACKAGE_IS_NVRAM=y BR2_PACKAGE_PYADDITIONALS=y BR2_PACKAGE_PYTHON_MENDER=y BR2_PACKAGE_PYTHON_UFW=y BR2_PACKAGE_MCG=y BR2_PACKAGE_MCG_WEBCONFIG=y BR2_PACKAGE_MCG_WEB_BACKEND=y -- You are receiving this mail because: You are on the CC list for the bug. From peter at korsgaard.com Tue Apr 19 11:34:09 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 19 Apr 2022 13:34:09 +0200 Subject: [Buildroot] [PATCH] package/xz: add upstream security fix for CVE-2022-1271 / ZDI-CAN-16587 Message-ID: <20220419113409.1008586-1-peter@korsgaard.com> Fixes the following security issue: - CVE-2022-1271: Malicious filenames can make xzgrep to write to arbitrary files or (with a GNU sed extension) lead to arbitrary code execution. For more details, see the announcement and advisory: https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html https://www.zerodayinitiative.com/advisories/ZDI-22-619/ Signed-off-by: Peter Korsgaard --- package/xz/xz.hash | 1 + package/xz/xz.mk | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/package/xz/xz.hash b/package/xz/xz.hash index 3dd0cbe459..9577e98e80 100644 --- a/package/xz/xz.hash +++ b/package/xz/xz.hash @@ -1,5 +1,6 @@ # Locally calculated after checking pgp signature sha256 5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2 +sha256 98c6cb1042284fe704ec30083f3fc87364ce9ed2ea51f62bbb0ee9d3448717ec xzgrep-ZDI-CAN-16587.patch # Hash for license files sha256 bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c COPYING diff --git a/package/xz/xz.mk b/package/xz/xz.mk index af611975a0..cdb01e06a9 100644 --- a/package/xz/xz.mk +++ b/package/xz/xz.mk @@ -13,6 +13,10 @@ XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 XZ_CPE_ID_VENDOR = tukaani +XZ_PATCH = xzgrep-ZDI-CAN-16587.patch +# xzgrep-ZDI-CAN-16587.patch +XZ_IGNORE_CVES += CVE-2022-1271 + ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) XZ_CONF_OPTS += --enable-threads else -- 2.30.2 From peter at korsgaard.com Tue Apr 19 11:25:44 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 19 Apr 2022 13:25:44 +0200 Subject: [Buildroot] [PATCH] package/gzip: security bump to version 1.12 Message-ID: <20220419112544.993456-1-peter@korsgaard.com> Fixes the following security issues: - CVE-2022-1271: An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's chosen file name (for example, a crafted file name), this can overwrite an attacker's content to an arbitrary attacker-selected file. This flaw occurs due to insufficient validation when processing filenames with two or more newlines where selected content and the target file names are embedded in crafted multi-line file names. This flaw allows a remote, low privileged attacker to force zgrep to write arbitrary files on the system. https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html Signed-off-by: Peter Korsgaard --- package/gzip/gzip.hash | 4 ++-- package/gzip/gzip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gzip/gzip.hash b/package/gzip/gzip.hash index 1cf73ff912..80b86f4797 100644 --- a/package/gzip/gzip.hash +++ b/package/gzip/gzip.hash @@ -1,6 +1,6 @@ # Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig +# https://ftp.gnu.org/gnu/gzip/gzip-1.12.tar.xz.sig # using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE -sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz +sha256 ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956 gzip-1.12.tar.xz # Locally calculated sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index 92588fcdb8..2092df363c 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -4,7 +4,7 @@ # ################################################################################ -GZIP_VERSION = 1.11 +GZIP_VERSION = 1.12 GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz GZIP_SITE = $(BR2_GNU_MIRROR)/gzip # Some other tools expect it to be in /bin -- 2.30.2 From thomas.petazzoni at bootlin.com Tue Apr 19 12:12:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 14:12:44 +0200 Subject: [Buildroot] [PATCH 1/2] package/byacc: add new package In-Reply-To: <20220419092151.91638-2-thomas.perrot@bootlin.com> References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-2-thomas.perrot@bootlin.com> Message-ID: <20220419141244.1ef13dd4@windsurf> Hello Thomas, Thanks for your contribution. Commit title should be just: package/byacc: new package On Tue, 19 Apr 2022 11:21:50 +0200 Thomas Perrot wrote: > This package provides a Berkeley LALR Yacc parser generator that has been use > by i.MX Code Signing tool. > > Signed-off-by: Thomas Perrot > --- > DEVELOPERS | 3 +++ > package/byacc/Config.in.host | 10 ++++++++++ Config.in.host not needed, this package is merely a build dependency of another, so we don't need to see it in menuconfig. > +N: Thomas Perrot > +F: package/byacc Please add a trailing slash, like other entries in this file. > diff --git a/package/byacc/byacc.hash b/package/byacc/byacc.hash > new file mode 100644 > index 000000000000..d2ad441df39f > --- /dev/null > +++ b/package/byacc/byacc.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c byacc-20220128.tgz > +sha256 654a231fe9cd4d36e580214962fa777a1df0771d6889cfc74d19a3d414f14711 LICENSE > diff --git a/package/byacc/byacc.mk b/package/byacc/byacc.mk > new file mode 100644 > index 000000000000..103970aac9d2 > --- /dev/null > +++ b/package/byacc/byacc.mk > @@ -0,0 +1,15 @@ > +################################################################################ > +# > +# byacc > +# > +################################################################################ > + > +BYACC_SITE = https://invisible-mirror.net/archives/byacc > +BYACC_VERSION = 20220128 > +BYACC_SOURCE = byacc-$(BYACC_VERSION).tgz > +BYACC_LICENSE = Public Domain > +BYACC_LICENSE_FILES = LICENSE > + > +HOST_BYACC_CONF_OPTS = --program-transform-name='s,^,b,' Please add a comment above this that explains why this is needed, it looks strange. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Tue Apr 19 12:14:09 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 14:14:09 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: disable on mips64el Message-ID: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> Fix the following build failure on mips64el raised since commit 11b347c03ab0b38389ec11b48f63236a3b4d6547: In file included from shim.h:47, from shim.c:14: /nvmedata/autobuild/instance-17/output-1/build/shim-15.4/include/system/stdarg.h:72:2: error: #error what arch is this 72 | #error what arch is this | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/74f4f1d010cfde6978fd614195ef0006f0acb45a Signed-off-by: Fabrice Fontaine --- boot/shim/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/shim/Config.in b/boot/shim/Config.in index 2f74d6f332..b0e549a51b 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -2,6 +2,7 @@ config BR2_TARGET_SHIM bool "shim" # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS + depends on !BR2_mips64el help Boot loader to chain-load signed boot loaders under Secure Boot. -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 12:26:35 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 14:26:35 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: add new package In-Reply-To: <20220419092151.91638-3-thomas.perrot@bootlin.com> References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-3-thomas.perrot@bootlin.com> Message-ID: <20220419142635.008ac004@windsurf> Hello Thomas, On Tue, 19 Apr 2022 11:21:51 +0200 Thomas Perrot wrote: > N: Thomas Perrot > F: package/byacc > +F: package/imx-cst Trailing slash needed. > diff --git a/package/imx-cst/Config.in.host b/package/imx-cst/Config.in.host > new file mode 100644 > index 000000000000..84cb825e59cf > --- /dev/null > +++ b/package/imx-cst/Config.in.host > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_HOST_IMX_CST > + bool "host imx-cst" > + help > + I.MX code signing tool provides software code signing > + support designed that integrate the HABv4 and AHAB > + library. > + > + https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL When I go to this page, I need to agree to a "SOFTWARE LICENSE AGREEMENT i.MX CODE SIGNING TOOL", but then your .mk is pointing to a non-NXP Git repository, and you state the license is BSD-3-Clause. > +# debian/3.3.1+dfsg-2 > +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git What is this location? Just someone who put the NXP code online? Or a separate implementation? > +IMX_CST_SITE_METHOD = git > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > +IMX_CST_LICENSE = BSD-3-Clause > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 There are two other license files in this Git repo, the hidapi license and the OpenSSL license. You are confident they are not relevant? Would be worth explaining that. > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > + > +define HOST_IMX_CST_BUILD_CMDS > + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > + OSTYPE=linux64 \ Would be useful to explain why linux64 is fine even on 32-bit host platforms. Actually, when I look at https://gitlab.apertis.org/pkg/imx-code-signing-tool/-/blob/apertis/v2023dev2/code/cst/code/obj.linux64/Makefile I believe that using OSTYPE=linux64 on 32-bit host machines will not work, as it adds -m64 to the compiler flags. > + ENCRYPTION=yes \ > + COPTIONS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > + LDFLAGS="$(HOST_LDFLAGS) -lcrypto" \ > + PWD=$(@D)/code/cst \ > + CC="$(CC) -I../../code/common/hdr \ > + -I../../code/back_end/hdr \ > + -I../../code/srktool/hdr \ > + -I../../code/front_end/hdr \ > + -I../../code/convlb/hdr" \ This looks strange. Flags are normally passed using CFLAGS, and $(CC) in Buildroot doesn't exist, it's $(HOSTCC) that should be used. Also, I think the list of header paths is properly set with: CINCLUDES := $(SUBSYS:%=-I$(CST_CODE_PATH)/%/hdr) but it gets overridden by the fact that you override CFLAGS. I believe there's a better way, let me have a look. > + LD=$(CC) \ $(CC) doesn't exist, it should be $(HOSTCC). > + -C $(@D)/code/cst \ > + build Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From marcus.hoffmann at othermo.de Tue Apr 19 12:35:13 2022 From: marcus.hoffmann at othermo.de (Marcus Hoffmann) Date: Tue, 19 Apr 2022 14:35:13 +0200 Subject: [Buildroot] [PATCH] package/xz: add upstream security fix for CVE-2022-1271 / ZDI-CAN-16587 In-Reply-To: <20220419113409.1008586-1-peter@korsgaard.com> References: <20220419113409.1008586-1-peter@korsgaard.com> Message-ID: <8e960e59-65c7-22eb-eccf-7217ec6b09e8@othermo.de> On 19.04.22 13:34, Peter Korsgaard wrote: > Fixes the following security issue: > > - CVE-2022-1271: Malicious filenames can make xzgrep to write to arbitrary > files or (with a GNU sed extension) lead to arbitrary code execution. > > For more details, see the announcement and advisory: > > https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html > https://www.zerodayinitiative.com/advisories/ZDI-22-619/ > > Signed-off-by: Peter Korsgaard Ah, that's better than my attempt :-). Reviewed-by: Marcus Hoffmann > --- > package/xz/xz.hash | 1 + > package/xz/xz.mk | 4 ++++ > 2 files changed, 5 insertions(+) > > diff --git a/package/xz/xz.hash b/package/xz/xz.hash > index 3dd0cbe459..9577e98e80 100644 > --- a/package/xz/xz.hash > +++ b/package/xz/xz.hash > @@ -1,5 +1,6 @@ > # Locally calculated after checking pgp signature > sha256 5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2 > +sha256 98c6cb1042284fe704ec30083f3fc87364ce9ed2ea51f62bbb0ee9d3448717ec xzgrep-ZDI-CAN-16587.patch > > # Hash for license files > sha256 bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c COPYING > diff --git a/package/xz/xz.mk b/package/xz/xz.mk > index af611975a0..cdb01e06a9 100644 > --- a/package/xz/xz.mk > +++ b/package/xz/xz.mk > @@ -13,6 +13,10 @@ XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ > XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 > XZ_CPE_ID_VENDOR = tukaani > > +XZ_PATCH = xzgrep-ZDI-CAN-16587.patch > +# xzgrep-ZDI-CAN-16587.patch > +XZ_IGNORE_CVES += CVE-2022-1271 > + > ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) > XZ_CONF_OPTS += --enable-threads > else From bugzilla at busybox.net Tue Apr 19 13:11:39 2022 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 19 Apr 2022 13:11:39 +0000 Subject: [Buildroot] [Bug 14766] package dhcp on buildroot 2022.02.1 failed In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=14766 J?rg Hering changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker Target| |aarch64 processor (NXP | |LS1046A) CC| |joerg.hering at macgregor.com Host| |5.13.0-39-generic | |#44~20.04.1-Ubuntu SMP Thu | |Mar 24 16:43:35 UTC 2022 | |x86_64 x86_64 x86_64 | |GNU/Linux -- You are receiving this mail because: You are on the CC list for the bug. From fontaine.fabrice at gmail.com Tue Apr 19 13:28:04 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 15:28:04 +0200 Subject: [Buildroot] [PATCH 1/2] package/netsurf: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220419132805.2571073-1-fontaine.fabrice@gmail.com> Disable duktape with BR2_OPTIMIZE_FAST to fix the following build failure: In file included from content/handlers/javascript/duktape/duktape.h:195, from build/Linux-framebuffer/duktape/application_cache.c:21: content/handlers/javascript/duktape/duk_config.h:2861:2: error: #error __FAST_MATH__ defined, refusing to compile 2861 | #error __FAST_MATH__ defined, refusing to compile | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/2f1b42e2be3aa76cbacd84f3d0ad8b13edce6982 Signed-off-by: Fabrice Fontaine --- package/netsurf/netsurf.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 1064698c12..574c1423df 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -14,6 +14,17 @@ NETSURF_CPE_ID_VENDOR = netsurf-browser NETSURF_DEPENDENCIES = expat jpeg libpng \ host-bison host-flex host-gperf host-pkgconf host-vim +# internal duktape doesn't build with BR2_OPTIMIZE_FAST +ifeq ($(BR2_OPTIMIZE_FAST),y) +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := NO" >> $(@D)/netsurf/Makefile.config +endef +else +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := YES" >> $(@D)/netsurf/Makefile.config +endef +endif + ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) NETSURF_DEPENDENCIES += libgtk2 NETSURF_FRONTEND = gtk2 @@ -77,6 +88,7 @@ endef endif define NETSURF_CONFIGURE_CMDS + $(NETSURF_DUKTAPE_CONFIGURE_CMDS) $(NETSURF_ICONV_CONFIGURE_CMDS) $(NETSURF_SVG_CONFIGURE_CMDS) $(NETSURF_FONTLIB_CONFIGURE_CMDS) -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 19 13:28:05 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 15:28:05 +0200 Subject: [Buildroot] [PATCH 2/2] package/netsurf: use HOSTCC_NOCCACHE In-Reply-To: <20220419132805.2571073-1-fontaine.fabrice@gmail.com> References: <20220419132805.2571073-1-fontaine.fabrice@gmail.com> Message-ID: <20220419132805.2571073-2-fontaine.fabrice@gmail.com> Use HOSTCC_NOCCACHE instead of HOSTCC to fix the following build failure: /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. Fixes: - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d Signed-off-by: Fabrice Fontaine --- package/netsurf/netsurf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 574c1423df..b61372bb78 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -106,7 +106,7 @@ NETSURF_MAKE_OPTS = \ BISON="$(HOST_DIR)/bin/bison" \ FLEX="$(HOST_DIR)/bin/flex" \ PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - BUILD_CC="$(HOSTCC)" \ + BUILD_CC="$(HOSTCC_NOCCACHE)" \ CC="$(TARGET_CC)" \ AR="$(TARGET_AR)" \ TMP_PREFIX=$(@D)/tmpusr \ -- 2.35.1 From Tim.Hammer at orolia.com Tue Apr 19 15:33:10 2022 From: Tim.Hammer at orolia.com (Tim Hammer) Date: Tue, 19 Apr 2022 15:33:10 +0000 Subject: [Buildroot] [PATCH] system/skeleton: provide run/lock directory In-Reply-To: References: Message-ID: On Mon, Apr 18, 2022 at 10:47:46PM +0200, Norbert Lange wrote: > Am Montag, 18. April 2022 schrieb Tim Hammer : > > > On Wed, Jan 12, 2022 at 11:10:20AM +0100, Norbert Lange wrote: > > > We changed the skeletons in bf01e51f3c, so that var/lock > > > points to run/lock. This resulted in build failures as > > > some packages want to work with these paths. > > > > > > - Create run/lock, the run directory will be purged > > > later anyway (since 5e78e7e97d). > > > > Yes, run/lock is removed later (see > > https://lore.kernel.org/buildroot/20200605224858. > > 12870-2-nolange79 at gmail.com/ > > and > > https://lore.kernel.org/buildroot/20220319190531. > > 975B183CB8 at busybox.osuosl.org/). > > > > However, the soft link in var/ is not. It ends up in the rootfs for the > > target > > and can cause problems later. > > > > Is there a reason the link created by skeleton was not cleaned up? > > > > > Yeah, it's supposed to be there in the final roots. > The run/lock directory is just *in the skeleton* so you don't have a broken > symlink *during building with buildroot*. > > > I will be honest, I do not understand the full process and why the items > > created by > > the skeleton package are not just left in place... > > > The running system will mount a tmpfs onto /run (and most likely /tmp) and > will create /run/lock anew each bootup > Ah, now it makes sense. Our bootstrap environment is not running the "normal" startup so the lock directory needs to be created by us! Thank you very much for the help! .Tim Tim D. Hammer tim.hammer at orolia.com > Means all content on you image is > > - irrelevant > - prone to leaking info from the system where you built the rootfs. > > Norbert > > > > .Tim > > Tim D. Hammer > > tim.hammer at orolia.com > > > > > > > - for init == systemd, create the var/lock symlink early > > > to prevent packages creating this path as directory. > > > > > > Signed-off-by: Norbert Lange > > > --- > > > package/skeleton-init-systemd/skeleton-init-systemd.mk | 2 ++ > > > system/skeleton/run/{ => lock}/.empty | 0 > > > 2 files changed, 2 insertions(+) > > > rename system/skeleton/run/{ => lock}/.empty (100%) > > > > > > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk > > b/package/skeleton-init-systemd/skeleton-init-sys>> index > > 1e212cc2f7..795a171809 100644 > > > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > > > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > > > @@ -62,6 +62,8 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS > > > mkdir -p $(TARGET_DIR)/srv > > > mkdir -p $(TARGET_DIR)/var > > > ln -s ../run $(TARGET_DIR)/var/run > > > + # prevent install scripts to create var/lock as directory > > > + ln -s ../run/lock $(TARGET_DIR)/var/lock > > > install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf > > $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf > > > $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) > > > endef > > > diff --git a/system/skeleton/run/.empty b/system/skeleton/run/lock/. > > empty > > > similarity index 100% > > > rename from system/skeleton/run/.empty > > > rename to system/skeleton/run/lock/.empty > > > -- > > > 2.34.1 > > > > > > _______________________________________________ > > > buildroot mailing list > > > buildroot at buildroot.org > > > https://lists.buildroot.org/mailman/listinfo/buildroot > > > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Tue Apr 19 15:58:31 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 17:58:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: disable on riscv In-Reply-To: References: <20220413193216.891178-1-fontaine.fabrice@gmail.com> <20220413223407.7e71113f@windsurf> Message-ID: Le mer. 13 avr. 2022 ? 22:43, Fabrice Fontaine a ?crit : > > Le mer. 13 avr. 2022 ? 22:34, Thomas Petazzoni > a ?crit : > > > > On Wed, 13 Apr 2022 21:32:16 +0200 > > Fabrice Fontaine wrote: > > > > > riscv is not supported since switch to internal bind resulting in the > > > following build failure since commit > > > 0c8dd6ebd656e06cf99a63eb93343715f4853503: > > > > > > Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized > > > > This seems odd. What in dhcp is architecture-specific? > > Nothing to my knowledge, but bind-9.11.36/config.sub extracted from > bind.tar.gz doesn't contain any mention of riscv resulting in the > above failure. I found a better solution by untaring internal bind. I'll set this patch as superseded. > > > > > Thomas > > -- > > Thomas Petazzoni, co-owner and CEO, Bootlin > > Embedded Linux and Kernel engineering and training > > https://bootlin.com > > Best Regards, > > Fabrice Best Regards, Fabrice From fontaine.fabrice at gmail.com Tue Apr 19 16:11:30 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 18:11:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind Message-ID: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> Untar internal bind so libtool patches will be applied on bind's libtool. This will fix: - installation of some libraries such as libisccfg. Indeed, if libtool is not patched those libraries will be "relinked" and so not installed. - build failures with riscv and or1k: Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized Fixes: - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e Signed-off-by: Fabrice Fontaine --- package/dhcp/dhcp.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index e6f4c419f4..f815c6c802 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc # internal bind does not support parallel builds. DHCP_MAKE = $(MAKE1) +# untar internal bind so libtool patches will be applied on bind's libtool +define DHCP_UNTAR_INTERNAL_BIND + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ +endef + +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND + # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF cp $(@D)/configure.ac+lt $(@D)/configure.ac -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 19 16:12:23 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 18:12:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: <2a14aebd-8213-0966-b0d4-392ca9ce36e6@microchip.com> References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> <87y20aeb04.fsf@dell.be.48ers.dk> <8d53da79-2a90-8649-6f46-22b33b7bdbe5@microchip.com> <87bkx5crop.fsf@dell.be.48ers.dk> <2a14aebd-8213-0966-b0d4-392ca9ce36e6@microchip.com> Message-ID: Le mar. 19 avr. 2022 ? 12:19, a ?crit : > > On 4/19/22 12:08 PM, Fabrice Fontaine wrote: > > Hello Eugen, > > > > Le mar. 19 avr. 2022 ? 07:21, a ?crit : > >> > >> On 4/14/22 7:44 PM, Fabrice Fontaine wrote: > >>> Le jeu. 14 avr. 2022 ? 11:59, Fabrice Fontaine > >>> a ?crit : > >>>> > >>>> Hello Eugen, > >>>> > >>>> Le jeu. 14 avr. 2022 ? 11:10, a ?crit : > >>>>> > >>>>> On 4/13/22 11:29 AM, Peter Korsgaard wrote: > >>>>>>>>>>> writes: > >>>>>> > >>>>>> > On 4/12/22 9:17 PM, Fabrice Fontaine wrote: > >>>>>> >> Le mar. 12 avr. 2022 ? 14:34, Peter Korsgaard a ?crit : > >>>>>> >>> > >>>>>> >>>>>>>> writes: > >>>>>> >>> > >>>>>> >>> Hi, > >>>>>> >>> > >>>>>> >>> >> Yeah. Eugen, is there any specific reason why you use the dhcp package > >>>>>> >>> >> over the other DHCP clients we provide? > >>>>>> >>> > >>>>>> >>> > Historical reasons, and the fact that people have working configurations > >>>>>> >>> > using this package... I was unaware that it was due to be removed. > >>>>>> >>> > We will try to switch to a different package in the future. Thanks for > >>>>>> >>> > letting me know. > >>>>>> >>> > However, if the package is still in this buildroot release, it has to > >>>>>> >>> > work right ? > >>>>>> >>> > >>>>>> >>> Yes, that is the idea. If it is dead upstream and hard to fix then that > >>>>>> >>> naturally makes it harder to do, but the intention is to fix it. > >>>>>> >> > >>>>>> >> The following patch should fix the issue: > >>>>>> >> https://patchwork.ozlabs.org/project/buildroot/patch/20220412181607.1451580-1-fontaine.fabrice at gmail.com/ > >>>>>> > >>>>>> > Hi, > >>>>>> > >>>>>> > your patch together with the other one ( > >>>>>> > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ > >>>>>> > ), > >>>>>> > >>>>>> > solve the build problem for this package. > >>>>>> > >>>>>> They are now both added to the 2022.02.x branch, thanks. > >>>>>> > >>>>>> -- > >>>>>> Bye, Peter Korsgaard > >>>>>> > >>>>> > >>>>> Hello again Fabrice, > >>>>> > >>>>> After managing to successfully build all our defconfigs now, while > >>>>> testing on another board (sama7g5ek), I noticed this message at boot log : > >>>>> > >>>>> Starting DHCP server: /usr/sbin/dhcpd: error while loading shared > >>>>> libraries: libirs.so.161: cannot open shared object file: No such file > >>>>> or directory > >>>>> > >>>>> Digging yields that libirs is part of bind package. Do you know why this > >>>>> happens and what could be the cause? Could latest patches affect the dhcpd ? > >>>> > >>>> Indeed, the internal bind libraries (including libirs.so.161) are > >>>> correctly installed in staging directory but not in the target > >>>> directory because dhcp.mk is overriding DHCP_INSTALL_TARGET_CMDS. > >>>> I'll send a patch by the end of the day. > >>> > >>> The following patch should fix the issue: > >>> https://patchwork.ozlabs.org/project/buildroot/patch/20220414164109.1724873-1-fontaine.fabrice at gmail.com/ > >>> > >> > >> Hello Fabrice, > >> > >> The libirs problem is gone now, thanks. However, I get a new error: > >> > >> > >> Starting DHCP server: /usr/sbin/dhcpd: error while loading shared > >> libraries: libisccfg.so.163: cannot open shared object file: No such > >> file or directory > >> > >> Looks like there are still problems on my side > > > > libisccfg.so.163 is installed on target rootfs (in /usr/lib). Can you > > check that this is also the case on your side? > > # ls -la /usr/lib/libisc* > lrwxrwxrwx 1 root root 18 Apr 18 2022 > /usr/lib/libisc.so -> libisc.so.1107.0.7 > lrwxrwxrwx 1 root root 18 Apr 18 2022 > /usr/lib/libisc.so.1107 -> libisc.so.1107.0.7 > -rwxr-xr-x 1 root root 317960 Apr 18 2022 > /usr/lib/libisc.so.1107.0.7 > # > > > It looks like it's not. I was able to find and fix the issue: https://patchwork.ozlabs.org/project/buildroot/patch/20220419161130.3431492-1-fontaine.fabrice at gmail.com/ > > > > >> > >> Thanks, > >> Eugen > >> > >>>> > >>>>> > >>>>> Thanks ! > >>>>> Eugen > >>>> > >>>> Best Regards, > >>>> > >>>> Fabrice > >>> > >>> Best Regards, > >>> > >>> Fabrice > >>> > >> > > > > Best Regards, > > > > Fabrice > > > From flaniel at linux.microsoft.com Tue Apr 19 16:32:51 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Tue, 19 Apr 2022 17:32:51 +0100 Subject: [Buildroot] [PATCH 1/2] package/tbb: bump to version 2021.5.0 In-Reply-To: <20220416210750.3065016-1-fontaine.fabrice@gmail.com> References: <20220416210750.3065016-1-fontaine.fabrice@gmail.com> Message-ID: <4391488.LvFx2qVVIh@pwmachine> Hi. Le samedi 16 avril 2022, 22:07:49 BST Fabrice Fontaine a ?crit : > - Switch to cmake-package > - Drop DO_ITT_NOTIFY which is only used in example and test > - license file has been renamed to LICENSE.txt > - Add upstream patches to fix musl build > > https://www.intel.com/content/www/us/en/developer/articles/release-notes/int > el-oneapi-threading-building-blocks-release-notes.html > > Signed-off-by: Fabrice Fontaine > --- > package/sysdig/Config.in | 2 +- > ...Musl-linux-can-not-use-RTLD_DEEPBIND.patch | 33 ++++++++++++ > ...is-only-defined-on-glibc-and-android.patch | 42 ++++++++++++++++ > package/tbb/Config.in | 12 +++-- > package/tbb/tbb.hash | 4 +- > package/tbb/tbb.mk | 50 +++---------------- > 6 files changed, 94 insertions(+), 49 deletions(-) > create mode 100644 > package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch create mode > 100644 package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch > > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > index 3a4c033b2b..c124054105 100644 > --- a/package/sysdig/Config.in > +++ b/package/sysdig/Config.in > @@ -7,7 +7,7 @@ config BR2_PACKAGE_SYSDIG > depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb > depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb > depends on BR2_USE_WCHAR # elfutils > - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils, tbb > + depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils > depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > select BR2_PACKAGE_C_ARES > select BR2_PACKAGE_ELFUTILS > diff --git a/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch > b/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch new file mode > 100644 > index 0000000000..82182ce109 > --- /dev/null > +++ b/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch > @@ -0,0 +1,33 @@ > +From 883c2e5245c39624b3b5d6d56d5b203cf09eac38 Mon Sep 17 00:00:00 2001 > +From: Khem Raj > +Date: Wed, 15 Dec 2021 08:08:07 -0800 > +Subject: [PATCH] Musl/linux can not use RTLD_DEEPBIND (#684) > + > +Exclude non-glibc linux systems along with android > +Fixes > +src/tbb/dynamic_link.cpp:417:29: error: use > + of undeclared identifier 'RTLD_DEEPBIND' > | flags = > flags | RTLD_DEEPBIND; +| ^ > + > +Signed-off-by: Khem Raj > + > +[Retrieved from: > +https://github.com/oneapi-src/oneTBB/commit/883c2e5245c39624b3b5d6d56d5b203 > cf09eac38] +Signed-off-by: Fabrice Fontaine > +--- > + src/tbb/dynamic_link.cpp | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/tbb/dynamic_link.cpp b/src/tbb/dynamic_link.cpp > +index 3f1342503..5330d7107 100644 > +--- a/src/tbb/dynamic_link.cpp > ++++ b/src/tbb/dynamic_link.cpp > +@@ -413,7 +413,7 @@ namespace r1 { > + int flags = RTLD_NOW; > + if (local_binding) { > + flags = flags | RTLD_LOCAL; > +-#if __linux__ && !__ANDROID__ && !__TBB_USE_SANITIZERS > ++#if (__linux__ && __GLIBC__) && !__TBB_USE_SANITIZERS > + flags = flags | RTLD_DEEPBIND; > + #endif > + } else { > diff --git > a/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch > b/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch new > file mode 100644 > index 0000000000..9b397cac41 > --- /dev/null > +++ b/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch > @@ -0,0 +1,42 @@ > +From 3a7f96db56cc9821055cbc769d3065db86b8b4c9 Mon Sep 17 00:00:00 2001 > +From: Julien Voisin > +Date: Mon, 7 Feb 2022 07:56:15 +0100 > +Subject: [PATCH] mallinfo is only defined on glibc and android (#764) > + > +It currently prevents compilation under musl: > + > +``` > +[ 90%] Building CXX object > src/tbbmalloc_proxy/CMakeFiles/tbbmalloc_proxy.dir/proxy.cpp.o > +/__w/mimalloc-bench/mimalloc-bench/extern/tbb/src/tbbmalloc_proxy/proxy.cp > p:263:26: error: return type 'struct mallinfo' is incomplete + 263 | struct > mallinfo mallinfo() __THROW > + | ^ > +compilation terminated due to -Wfatal-errors. > +`` > + > +[Retrieved from: > +https://github.com/oneapi-src/oneTBB/commit/3a7f96db56cc9821055cbc769d3065d > b86b8b4c9] +Signed-off-by: Fabrice Fontaine > +--- > + src/tbbmalloc_proxy/proxy.cpp | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/src/tbbmalloc_proxy/proxy.cpp b/src/tbbmalloc_proxy/proxy.cpp > +index e58e55e0b..23b9c19c1 100644 > +--- a/src/tbbmalloc_proxy/proxy.cpp > ++++ b/src/tbbmalloc_proxy/proxy.cpp > +@@ -260,6 +260,7 @@ int mallopt(int /*param*/, int /*value*/) __THROW > + return 1; > + } > + > ++#if defined(__GLIBC__) || defined(__ANDROID__) > + struct mallinfo mallinfo() __THROW > + { > + struct mallinfo m; > +@@ -267,6 +268,7 @@ struct mallinfo mallinfo() __THROW > + > + return m; > + } > ++#endif > + > + #if __ANDROID__ > + // Android doesn't have malloc_usable_size, provide it to be compatible > diff --git a/package/tbb/Config.in b/package/tbb/Config.in > index 0f40b74d31..b2e97829b5 100644 > --- a/package/tbb/Config.in > +++ b/package/tbb/Config.in > @@ -1,9 +1,11 @@ > config BR2_PACKAGE_TBB > bool "tbb" > - depends on BR2_TOOLCHAIN_USES_GLIBC > + # tbb needs fenv.h which is not provided by uclibc > + depends on !BR2_TOOLCHAIN_USES_UCLIBC > depends on !BR2_STATIC_LIBS > depends on BR2_TOOLCHAIN_HAS_THREADS > depends on BR2_INSTALL_LIBSTDCPP > + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr > help > Intel(R) Threading Building Blocks (Intel(R) TBB) lets you > easily write parallel C++ programs that take full advantage > @@ -12,5 +14,9 @@ config BR2_PACKAGE_TBB > > https://www.threadingbuildingblocks.org/ > > -comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" > - depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || > !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP +comment "tbb needs a > glibc or musl toolchain w/ dynamic library, threads, C++" + depends on > BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ > + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP > + > +comment "tbb needs exception_ptr" > + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > index 81d224b3ca..9992fb3c4f 100644 > --- a/package/tbb/tbb.hash > +++ b/package/tbb/tbb.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 > tbb-2018_U5.tar.gz -sha256 > c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE > +sha256 e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a > tbb-2021.5.0.tar.gz +sha256 > c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 > LICENSE.txt diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > index 87e83551fe..afe756a85a 100644 > --- a/package/tbb/tbb.mk > +++ b/package/tbb/tbb.mk > @@ -4,52 +4,16 @@ > # > ########################################################################### > ##### > > -TBB_VERSION = 2018_U5 > -TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) > +TBB_VERSION = 2021.5.0 > +TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) > TBB_INSTALL_STAGING = YES > TBB_LICENSE = Apache-2.0 > -TBB_LICENSE_FILES = LICENSE > +TBB_LICENSE_FILES = LICENSE.txt > TBB_CPE_ID_VENDOR = intel > TBB_CPE_ID_PRODUCT = threading_building_blocks > > -TBB_SO_VERSION = 2 > -TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy > -TBB_BIN_PATH = $(@D)/build/linux_* > +TBB_CONF_OPTS = \ > + -DTBB_STRICT=OFF \ > + -DTBB_TEST=OFF > > -# arch is normally set based on uname -m with some conversions. However, > -# it is not really used for much: > -# - to decide between 32 or 64-bit files (based on '64' in the name) > -# - to decide on some arch-specific CFLAGS like -m32, which we don't > actually want -# - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) > -# - to include assembler source, but it only exists for ia64 > -# The only thing we actually want from the above is the 32/64-bit, and > -# DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to > -# the tbb build system, and set DO_ITT_NOTIFY explicitly. > -TBB_ARCH = $(if $(BR2_ARCH_IS_64),buildroot64,buildroot32) > -TBB_ITT_NOTIFY = $(if $(BR2_i386)$(BR2_x86_64),-DDO_ITT_NOTIFY) > -TBB_CXXFLAGS = $(TARGET_CXXFLAGS) $(TBB_ITT_NOTIFY) > - > -define TBB_BUILD_CMDS > - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) arch=$(TBB_ARCH) \ > - CPLUS="$(TARGET_CXX)" CONLY="$(TARGET_CC)" CXXFLAGS="$ (TBB_CXXFLAGS)" > -endef > - > -define TBB_INSTALL_LIBS > - $(foreach lib,$(TBB_LIBS), > - $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$ (TBB_SO_VERSION) \ > - $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; > - ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so > - ) > -endef > - > -define TBB_INSTALL_STAGING_CMDS > - mkdir -p $(STAGING_DIR)/usr/include/ > - cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ > - $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) > -endef > - > -define TBB_INSTALL_TARGET_CMDS > - $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) > -endef > - > -$(eval $(generic-package)) > +$(eval $(cmake-package)) I tested your patch and it builds succesfully and sysdig (0.27.1) is still running like a charm. So, thank you for the bumping (I should have do it...) and the simplification of tbb.mk. Best regards. From baruch at tkos.co.il Tue Apr 19 16:47:39 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 19 Apr 2022 19:47:39 +0300 Subject: [Buildroot] [PATCH 2/2] package/xz: backport CVE-2022-1271 security fix In-Reply-To: <20220419111714.1647112-2-marcus.hoffmann@othermo.de> References: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> <20220419111714.1647112-2-marcus.hoffmann@othermo.de> Message-ID: <87tuapqaqw.fsf@tarshish> Hi Marcus, On Tue, Apr 19 2022, Marcus Hoffmann wrote: > Fixes the following security issue: > > CVE-2022-1271/ZDI-22-619/ZDI-CAN-16587: arbitrary-file-write vulnerability > > Malicious filenames can make xzgrep to write to arbitrary files > or (with a GNU sed extension) lead to arbitrary code execution. > > xzgrep from XZ Utils versions up to and including 5.2.5 are > affected. 5.3.1alpha and 5.3.2alpha are affected as well. > This patch works for all of them. > > This bug was inherited from gzip's zgrep. gzip 1.12 includes > a fix for zgrep. > > This vulnerability was discovered by: > cleemy desu wayo working with Trend Micro Zero Day Initiative > > https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html > https://www.zerodayinitiative.com/advisories/ZDI-22-619/ > https://www.openwall.com/lists/oss-security/2022/04/07/8 > Signed-off-by: Marcus Hoffmann > --- > package/xz/0001-xzgrep-ZDI-CAN-16587.patch | 96 ++++++++++++++++++++++ > 1 file changed, 96 insertions(+) > create mode 100644 package/xz/0001-xzgrep-ZDI-CAN-16587.patch This patch should also add XZ_IGNORE_CVES in xz.mk. baruch > > diff --git a/package/xz/0001-xzgrep-ZDI-CAN-16587.patch b/package/xz/0001-xzgrep-ZDI-CAN-16587.patch > new file mode 100644 > index 0000000000..78ee9640f0 > --- /dev/null > +++ b/package/xz/0001-xzgrep-ZDI-CAN-16587.patch > @@ -0,0 +1,96 @@ > +From 69d1b3fc29677af8ade8dc15dba83f0589cb63d6 Mon Sep 17 00:00:00 2001 > +From: Lasse Collin > +Date: Tue, 29 Mar 2022 19:19:12 +0300 > +Subject: [PATCH] xzgrep: Fix escaping of malicious filenames (ZDI-CAN-16587). > + > +Malicious filenames can make xzgrep to write to arbitrary files > +or (with a GNU sed extension) lead to arbitrary code execution. > + > +xzgrep from XZ Utils versions up to and including 5.2.5 are > +affected. 5.3.1alpha and 5.3.2alpha are affected as well. > +This patch works for all of them. > + > +This bug was inherited from gzip's zgrep. gzip 1.12 includes > +a fix for zgrep. > + > +The issue with the old sed script is that with multiple newlines, > +the N-command will read the second line of input, then the > +s-commands will be skipped because it's not the end of the > +file yet, then a new sed cycle starts and the pattern space > +is printed and emptied. So only the last line or two get escaped. > + > +One way to fix this would be to read all lines into the pattern > +space first. However, the included fix is even simpler: All lines > +except the last line get a backslash appended at the end. To ensure > +that shell command substitution doesn't eat a possible trailing > +newline, a colon is appended to the filename before escaping. > +The colon is later used to separate the filename from the grep > +output so it is fine to add it here instead of a few lines later. > + > +The old code also wasn't POSIX compliant as it used \n in the > +replacement section of the s-command. Using \ is the > +POSIX compatible method. > + > +LC_ALL=C was added to the two critical sed commands. POSIX sed > +manual recommends it when using sed to manipulate pathnames > +because in other locales invalid multibyte sequences might > +cause issues with some sed implementations. In case of GNU sed, > +these particular sed scripts wouldn't have such problems but some > +other scripts could have, see: > + > + info '(sed)Locale Considerations' > + > +This vulnerability was discovered by: > +cleemy desu wayo working with Trend Micro Zero Day Initiative > + > +Thanks to Jim Meyering and Paul Eggert discussing the different > +ways to fix this and for coordinating the patch release schedule > +with gzip. > + > +Signed-off-by: Marcus Hoffmann > +--- > + src/scripts/xzgrep.in | 20 ++++++++++++-------- > + 1 file changed, 12 insertions(+), 8 deletions(-) > + > +diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in > +index b180936..e5186ba 100644 > +--- a/src/scripts/xzgrep.in > ++++ b/src/scripts/xzgrep.in > +@@ -180,22 +180,26 @@ for i; do > + { test $# -eq 1 || test $no_filename -eq 1; }; then > + eval "$grep" > + else > ++ # Append a colon so that the last character will never be a newline > ++ # which would otherwise get lost in shell command substitution. > ++ i="$i:" > ++ > ++ # Escape & \ | and newlines only if such characters are present > ++ # (speed optimization). > + case $i in > + (*' > + '* | *'&'* | *'\'* | *'|'*) > +- i=$(printf '%s\n' "$i" | > +- sed ' > +- $!N > +- $s/[&\|]/\\&/g > +- $s/\n/\\n/g > +- ');; > ++ i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/');; > + esac > +- sed_script="s|^|$i:|" > ++ > ++ # $i already ends with a colon so don't add it here. > ++ sed_script="s|^|$i|" > + > + # Fail if grep or sed fails. > + r=$( > + exec 4>&1 > +- (eval "$grep" 4>&-; echo $? >&4) 3>&- | sed "$sed_script" >&3 4>&- > ++ (eval "$grep" 4>&-; echo $? >&4) 3>&- | > ++ LC_ALL=C sed "$sed_script" >&3 4>&- > + ) || r=2 > + exit $r > + fi >&3 5>&- > +-- > +2.35.1 > + -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From marcus.hoffmann at othermo.de Tue Apr 19 17:27:06 2022 From: marcus.hoffmann at othermo.de (Marcus Hoffmann) Date: Tue, 19 Apr 2022 19:27:06 +0200 Subject: [Buildroot] [PATCH 2/2] package/xz: backport CVE-2022-1271 security fix In-Reply-To: <87tuapqaqw.fsf@tarshish> References: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> <20220419111714.1647112-2-marcus.hoffmann@othermo.de> <87tuapqaqw.fsf@tarshish> Message-ID: <6b8513cd-399a-ddfe-2587-a933b6cf0fe6@othermo.de> Hi Baruch, On 19.04.22 18:47, Baruch Siach via buildroot wrote: > Hi Marcus, > > On Tue, Apr 19 2022, Marcus Hoffmann wrote: >> Fixes the following security issue: >> >> CVE-2022-1271/ZDI-22-619/ZDI-CAN-16587: arbitrary-file-write vulnerability >> >> Malicious filenames can make xzgrep to write to arbitrary files >> or (with a GNU sed extension) lead to arbitrary code execution. >> >> xzgrep from XZ Utils versions up to and including 5.2.5 are >> affected. 5.3.1alpha and 5.3.2alpha are affected as well. >> This patch works for all of them. >> >> This bug was inherited from gzip's zgrep. gzip 1.12 includes >> a fix for zgrep. >> >> This vulnerability was discovered by: >> cleemy desu wayo working with Trend Micro Zero Day Initiative >> >> https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html >> https://www.zerodayinitiative.com/advisories/ZDI-22-619/ >> https://www.openwall.com/lists/oss-security/2022/04/07/8 >> Signed-off-by: Marcus Hoffmann >> --- >> package/xz/0001-xzgrep-ZDI-CAN-16587.patch | 96 ++++++++++++++++++++++ >> 1 file changed, 96 insertions(+) >> create mode 100644 package/xz/0001-xzgrep-ZDI-CAN-16587.patch > > This patch should also add XZ_IGNORE_CVES in xz.mk. > > baruch Indeed! But Peter already send a better patch that does this: https://patchwork.ozlabs.org/project/buildroot/patch/20220419113409.1008586-1-peter at korsgaard.com/ Marcus > >> >> diff --git a/package/xz/0001-xzgrep-ZDI-CAN-16587.patch b/package/xz/0001-xzgrep-ZDI-CAN-16587.patch >> new file mode 100644 >> index 0000000000..78ee9640f0 >> --- /dev/null >> +++ b/package/xz/0001-xzgrep-ZDI-CAN-16587.patch >> @@ -0,0 +1,96 @@ >> +From 69d1b3fc29677af8ade8dc15dba83f0589cb63d6 Mon Sep 17 00:00:00 2001 >> +From: Lasse Collin >> +Date: Tue, 29 Mar 2022 19:19:12 +0300 >> +Subject: [PATCH] xzgrep: Fix escaping of malicious filenames (ZDI-CAN-16587). >> + >> +Malicious filenames can make xzgrep to write to arbitrary files >> +or (with a GNU sed extension) lead to arbitrary code execution. >> + >> +xzgrep from XZ Utils versions up to and including 5.2.5 are >> +affected. 5.3.1alpha and 5.3.2alpha are affected as well. >> +This patch works for all of them. >> + >> +This bug was inherited from gzip's zgrep. gzip 1.12 includes >> +a fix for zgrep. >> + >> +The issue with the old sed script is that with multiple newlines, >> +the N-command will read the second line of input, then the >> +s-commands will be skipped because it's not the end of the >> +file yet, then a new sed cycle starts and the pattern space >> +is printed and emptied. So only the last line or two get escaped. >> + >> +One way to fix this would be to read all lines into the pattern >> +space first. However, the included fix is even simpler: All lines >> +except the last line get a backslash appended at the end. To ensure >> +that shell command substitution doesn't eat a possible trailing >> +newline, a colon is appended to the filename before escaping. >> +The colon is later used to separate the filename from the grep >> +output so it is fine to add it here instead of a few lines later. >> + >> +The old code also wasn't POSIX compliant as it used \n in the >> +replacement section of the s-command. Using \ is the >> +POSIX compatible method. >> + >> +LC_ALL=C was added to the two critical sed commands. POSIX sed >> +manual recommends it when using sed to manipulate pathnames >> +because in other locales invalid multibyte sequences might >> +cause issues with some sed implementations. In case of GNU sed, >> +these particular sed scripts wouldn't have such problems but some >> +other scripts could have, see: >> + >> + info '(sed)Locale Considerations' >> + >> +This vulnerability was discovered by: >> +cleemy desu wayo working with Trend Micro Zero Day Initiative >> + >> +Thanks to Jim Meyering and Paul Eggert discussing the different >> +ways to fix this and for coordinating the patch release schedule >> +with gzip. >> + >> +Signed-off-by: Marcus Hoffmann >> +--- >> + src/scripts/xzgrep.in | 20 ++++++++++++-------- >> + 1 file changed, 12 insertions(+), 8 deletions(-) >> + >> +diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in >> +index b180936..e5186ba 100644 >> +--- a/src/scripts/xzgrep.in >> ++++ b/src/scripts/xzgrep.in >> +@@ -180,22 +180,26 @@ for i; do >> + { test $# -eq 1 || test $no_filename -eq 1; }; then >> + eval "$grep" >> + else >> ++ # Append a colon so that the last character will never be a newline >> ++ # which would otherwise get lost in shell command substitution. >> ++ i="$i:" >> ++ >> ++ # Escape & \ | and newlines only if such characters are present >> ++ # (speed optimization). >> + case $i in >> + (*' >> + '* | *'&'* | *'\'* | *'|'*) >> +- i=$(printf '%s\n' "$i" | >> +- sed ' >> +- $!N >> +- $s/[&\|]/\\&/g >> +- $s/\n/\\n/g >> +- ');; >> ++ i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/');; >> + esac >> +- sed_script="s|^|$i:|" >> ++ >> ++ # $i already ends with a colon so don't add it here. >> ++ sed_script="s|^|$i|" >> + >> + # Fail if grep or sed fails. >> + r=$( >> + exec 4>&1 >> +- (eval "$grep" 4>&-; echo $? >&4) 3>&- | sed "$sed_script" >&3 4>&- >> ++ (eval "$grep" 4>&-; echo $? >&4) 3>&- | >> ++ LC_ALL=C sed "$sed_script" >&3 4>&- >> + ) || r=2 >> + exit $r >> + fi >&3 5>&- >> +-- >> +2.35.1 >> + > > From marcus.hoffmann at othermo.de Tue Apr 19 17:37:16 2022 From: marcus.hoffmann at othermo.de (Marcus Hoffmann) Date: Tue, 19 Apr 2022 19:37:16 +0200 Subject: [Buildroot] [PATCH 2/2] package/xz: backport CVE-2022-1271 security fix In-Reply-To: <87tuapqaqw.fsf@tarshish> References: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> <20220419111714.1647112-2-marcus.hoffmann@othermo.de> <87tuapqaqw.fsf@tarshish> Message-ID: <22e0669c-6221-0ae8-e8ce-b884cd1726c6@othermo.de> Hi Baruch, On 19.04.22 18:47, Baruch Siach via buildroot wrote: > Hi Marcus, > > On Tue, Apr 19 2022, Marcus Hoffmann wrote: >> Fixes the following security issue: >> >> CVE-2022-1271/ZDI-22-619/ZDI-CAN-16587: arbitrary-file-write vulnerability >> >> Malicious filenames can make xzgrep to write to arbitrary files >> or (with a GNU sed extension) lead to arbitrary code execution. >> >> xzgrep from XZ Utils versions up to and including 5.2.5 are >> affected. 5.3.1alpha and 5.3.2alpha are affected as well. >> This patch works for all of them. >> >> This bug was inherited from gzip's zgrep. gzip 1.12 includes >> a fix for zgrep. >> >> This vulnerability was discovered by: >> cleemy desu wayo working with Trend Micro Zero Day Initiative >> >> https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html >> https://www.zerodayinitiative.com/advisories/ZDI-22-619/ >> https://www.openwall.com/lists/oss-security/2022/04/07/8 >> Signed-off-by: Marcus Hoffmann >> --- >> package/xz/0001-xzgrep-ZDI-CAN-16587.patch | 96 ++++++++++++++++++++++ >> 1 file changed, 96 insertions(+) >> create mode 100644 package/xz/0001-xzgrep-ZDI-CAN-16587.patch > > This patch should also add XZ_IGNORE_CVES in xz.mk. > > baruch Indeed! But Peter already send a better patch that does this: https://patchwork.ozlabs.org/project/buildroot/patch/20220419113409.1008586-1-peter at korsgaard.com/ Marcus From flaniel at linux.microsoft.com Tue Apr 19 17:41:44 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Tue, 19 Apr 2022 18:41:44 +0100 Subject: [Buildroot] [autobuild.buildroot.net] Your daily results for 2022-04-14 In-Reply-To: <20220417104244.6d681b10@windsurf> References: <2098999.irdbgypaU6@pwmachine> <20220417104244.6d681b10@windsurf> Message-ID: <12997361.uLZWGnKmhe@pwmachine> Hi. Le dimanche 17 avril 2022, 09:42:44 BST Thomas Petazzoni a ?crit : > On Fri, 15 Apr 2022 17:42:23 +0100 > > Francis Laniel wrote: > > > arch | reason | > > > > > > url > > > > > > -------------+--------------------------------+------------------------- > > > --- > > > ----------------------------------------------------- xtensa | > > > host-pahole-v1.23 | > > > http://autobuild.buildroot.net/results/fa4fb6ca383e058e89ff8796ac9ae68a0 > > > b16 > > > 81b5 m68k | host-pahole-v1.23 | > > > http://autobuild.buildroot.net/results/b584c57a72e4604112f4b12c0c7b21e1a > > > 4b4 > > > 1dd5 arm | host-pahole-v1.23 | > > > http://autobuild.buildroot.net/results/b43be30cb177066d1b49bf4822790ec0c > > > a01 > > > 9d03 > > > > > > > > > Thanks for your contribution to Buildroot! > > > > I suspect this problem occurs because Ubuntu 14.04 kernel does not know > > the > > problematic symbols. > > Indeed, PERF_COUNT_SW_BPF_OUTPUT was added in : > > a43eec304259 ("bpf: introduce bpf_perf_event_output() helper") > > which was released with kernel 4.4. > > So, can you please give me the uname -r of the host-distro? > > I can't because these build issues (or at least the last one) occurs on > Yann Morin's autobuilder, so I've added yann in Cc. > > > If my suspicion is good, I already wrote a patch to throw an error if host > > kernel is under 4.4 while building host-pahole. > > This is not going to be the solution. Why does host-pahole depend on > the version of the kernel? Why does it need the NR_bpf symbol? > > There is some logic in src/bpf.c to get __NR_bpf if not provided by > kernel headers: > > #ifndef __NR_bpf > # if defined(__i386__) > # define __NR_bpf 357 > # elif defined(__x86_64__) > # define __NR_bpf 321 > # elif defined(__aarch64__) > # define __NR_bpf 280 > # elif defined(__sparc__) > # define __NR_bpf 349 > # elif defined(__s390__) > # define __NR_bpf 351 > # elif defined(__arc__) > # define __NR_bpf 280 > # elif defined(__mips__) && defined(_ABIO32) > # define __NR_bpf 4355 > # elif defined(__mips__) && defined(_ABIN32) > # define __NR_bpf 6319 > # elif defined(__mips__) && defined(_ABI64) > # define __NR_bpf 5315 > # else > # error __NR_bpf not defined. libbpf does not support your arch. > # endif > #endif > > but this logic is only partially duplicated in src/skel_internal.h: > > #ifndef __NR_bpf > # if defined(__mips__) && defined(_ABIO32) > # define __NR_bpf 4355 > # elif defined(__mips__) && defined(_ABIN32) > # define __NR_bpf 6319 > # elif defined(__mips__) && defined(_ABI64) > # define __NR_bpf 5315 > # endif > #endif > > That doesn't make much sense. > > Do we need that BPF support in host-pahole in our use-case of host-pahole? > > BTW, I'm seeing that we can avoid using the internal libbpf, and > therefore avoid using git submodules: > > option(LIBBPF_EMBEDDED "Use the embedded version of libbpf instead of > searching it via pkg-config" ON) if (NOT LIBBPF_EMBEDDED) > find_package(PkgConfig REQUIRED) > if(PKGCONFIG_FOUND) > pkg_check_modules(LIBBPF REQUIRED libbpf>=0.4.0) > endif() > endif() > > So we should definitely do that, and have a separate Buildroot package > for libbpf. I think upstream code has actually a problem buildroot test infrastructure highlighted. So, from my understanding, the best solution would be to patch upstream libbpf. Indeed, I do not think adding a buildroot package will solve this problem. Were you suggesting than by adding a buildroot package we could add a local patch to fix this behavior? > Best regards, > > Thomas Best regards. From thomas.petazzoni at bootlin.com Tue Apr 19 18:43:41 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 20:43:41 +0200 Subject: [Buildroot] [autobuild.buildroot.net] Your daily results for 2022-04-14 In-Reply-To: <12997361.uLZWGnKmhe@pwmachine> References: <2098999.irdbgypaU6@pwmachine> <20220417104244.6d681b10@windsurf> <12997361.uLZWGnKmhe@pwmachine> Message-ID: <20220419204341.0adf3f55@windsurf> On Tue, 19 Apr 2022 18:41:44 +0100 Francis Laniel wrote: > I think upstream code has actually a problem buildroot test infrastructure > highlighted. > So, from my understanding, the best solution would be to patch upstream > libbpf. > Indeed, I do not think adding a buildroot package will solve this problem. > > Were you suggesting than by adding a buildroot package we could add a local > patch to fix this behavior? What I meant is that pahole bundles libbpf as a git submodule, but can also use an external libbpf. In the context of Buildroot, we would very much prefer to have a separate host-libbpf package, with host-pahole depending on it (and not using its own copy of libbpf). Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From b.bilas at grinn-global.com Tue Apr 19 18:47:56 2022 From: b.bilas at grinn-global.com (Bartosz Bilas) Date: Tue, 19 Apr 2022 20:47:56 +0200 Subject: [Buildroot] [PATCH] packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements Message-ID: <20220419184756.255846-1-b.bilas@grinn-global.com> Fixes: CMake Error at /home/buildroot/autobuild/run/instance-2/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/libwebsockets/libwebsockets-config.cmake:35 (include): include could not find load file: LwsCheckRequirements Call Stack (most recent call first): CMakeLists.txt:54 (find_package) Signed-off-by: Bartosz Bilas Signed-off-by: Bartosz Bilas --- ...emove-duplicate-LwsCheckRequirements.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch diff --git a/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch new file mode 100644 index 0000000000..fc76a2b610 --- /dev/null +++ b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch @@ -0,0 +1,26 @@ +From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001 +From: Andy Green +Date: Mon, 7 Feb 2022 14:48:55 +0000 +Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements + +Signed-off-by: Andy Green +Signed-off-by: Bartosz Bilas +Signed-off-by: Bartosz Bilas +--- + cmake/libwebsockets-config.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in +index 6247b2cb..8ba97e6f 100644 +--- a/cmake/libwebsockets-config.cmake.in ++++ b/cmake/libwebsockets-config.cmake.in +@@ -32,6 +32,5 @@ endforeach() + + include(CheckIncludeFile) + include(CheckCSourceCompiles) +-include(LwsCheckRequirements) + set(requirements 1) + +-- +2.35.3 + -- 2.35.3 From b.bilas at grinn-global.com Tue Apr 19 18:50:38 2022 From: b.bilas at grinn-global.com (Bartosz Bilas) Date: Tue, 19 Apr 2022 20:50:38 +0200 Subject: [Buildroot] [autobuild.buildroot.net] Your daily results for 2022-04-18 In-Reply-To: <20220419044315.DADA71BBEDC@server220076.nazwa.pl> References: <20220419044315.DADA71BBEDC@server220076.nazwa.pl> Message-ID: Hello Thomas, On 19.04.2022 06:43, Thomas Petazzoni wrote: > Hello, > > Autobuilder failures > ==================== > > Below is a list of build failures reported by the Buildroot autobuilders > in relation to packages or CPU architectures you are in charge of. > Please help us improving the quality of Buildroot by investigating those > build failures and sending patches to fix them. > > Results for the 'master' branch > ------------------------------- > > Build failures related to your packages: > > arch | reason | url > -------------+--------------------------------+--------------------------------------------------------------------------------- > arm | ttyd-1.6.3 | http://autobuild.buildroot.net/results/0f7952eee8e3dcdd3f5df1b18ce561cca78ba7e0 > arm | ttyd-1.6.3 | http://autobuild.buildroot.net/results/0b6a917b9572574ce8585a7978db86729a8ef8d3 > arc | ttyd-1.6.3 | http://autobuild.buildroot.net/results/e1636589992b8896477ed2229bc7ccfc18847e9a > sh4 | ttyd-1.6.3 | http://autobuild.buildroot.net/results/f28872352d28b1ce67a3c81d524feb0138fe0284 > i686 | ttyd-1.6.3 | http://autobuild.buildroot.net/results/e488a1035c2de3a5d58127c0363390dcb9a0c68f > m68k | ttyd-1.6.3 | http://autobuild.buildroot.net/results/66045099ba830c1527a75c0308bd55d4655df20d > mips64el | ttyd-1.6.3 | http://autobuild.buildroot.net/results/d198d6285847d570329c2d2e1ea86a2f423b2829 https://patchwork.ozlabs.org/project/buildroot/patch/20220419184756.255846-1-b.bilas at grinn-global.com/ Best Bartek > > > Thanks for your contribution to Buildroot! > From fontaine.fabrice at gmail.com Tue Apr 19 18:58:21 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 20:58:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/batman-adv: needs CONFIG_CRC16 Message-ID: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> CONFIG_CRC16 is needed to avoid the following build failure: ERROR: modpost: "crc16" [/nvmedata/autobuild/instance-6/output-1/build/batman-adv-2021.4/net/batman-adv/batman-adv.ko] undefined! Fixes: - http://autobuild.buildroot.org/results/64bf0f89ef444dda4d1277c0e46d189ad2515713 Signed-off-by: Fabrice Fontaine --- package/batman-adv/batman-adv.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk index 838f9b1851..6a1aaa699c 100644 --- a/package/batman-adv/batman-adv.mk +++ b/package/batman-adv/batman-adv.mk @@ -35,6 +35,7 @@ define BATMAN_ADV_CONFIGURE_CMDS endef define BATMAN_ADV_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC16) $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) endef -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 19:36:18 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 21:36:18 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: disable on mips64el In-Reply-To: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> References: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> Message-ID: <20220419213618.58920b81@windsurf> On Tue, 19 Apr 2022 14:14:09 +0200 Fabrice Fontaine wrote: > Fix the following build failure on mips64el raised since commit > 11b347c03ab0b38389ec11b48f63236a3b4d6547: > > In file included from shim.h:47, > from shim.c:14: > /nvmedata/autobuild/instance-17/output-1/build/shim-15.4/include/system/stdarg.h:72:2: error: #error what arch is this > 72 | #error what arch is this > | ^~~~~ As usual, I don't like this kind of fixes that consist in simply "let's disable in the specific case that causes problem". If you look at that include/system/stdarg.h, you see: #if defined(__aarch64__) || defined(__arm__) || defined(__i386__) || \ defined(__i486__) || defined(__i686__) ... #elif defined(__x86_64__) ... #else #error what arch is this #endif So basically, any architecture other than the ones listed above is going to raise this build issue, not just mips64el. Yes, BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS already disables on most CPU architectures, but shim also has its own list of CPU architectures it supports. So we probably want a BR2_TARGET_SHIM_ARCH_SUPPORTS, which depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS and then adds an explicit list of architectures that shim supports. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Tue Apr 19 19:32:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 21:32:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: can't be built with BR2_OPTIMIZE_FAST Message-ID: <20220419193215.4089204-1-fontaine.fabrice@gmail.com> postgresql can't be built with BR2_OPTIMIZE_FAST: configure: error: do not put -ffast-math in CFLAGS Fixes: - http://autobuild.buildroot.org/results/106bb61bcff5d03e44d3e2e9149c76e6705606a5 Signed-off-by: Fabrice Fontaine --- package/bandwidthd/Config.in | 4 ++++ package/collectd/Config.in | 4 ++++ package/lighttpd/Config.in | 4 ++++ package/php/Config.ext | 8 ++++++++ package/poco/Config.in | 4 ++++ package/postgresql/Config.in | 4 ++++ package/python-psycopg2/Config.in | 4 ++++ package/qt5/qt5base/Config.in | 4 ++++ package/zabbix/Config.in | 1 + 9 files changed, 37 insertions(+) diff --git a/package/bandwidthd/Config.in b/package/bandwidthd/Config.in index 5a3529e0c4..7537552390 100644 --- a/package/bandwidthd/Config.in +++ b/package/bandwidthd/Config.in @@ -36,6 +36,7 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL bool "enable postgresql log target support" depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Enable support for logging the bandwidthd data to a remote @@ -46,6 +47,9 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL comment "postgresql support needs a toolchain w/ dynamic library, wchar" depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "postgresql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_BANDWIDTHD_SQLITE3 bool "enable sqlite3 log storage" select BR2_PACKAGE_SQLITE diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 43eef3bf66..da8465beee 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -475,6 +475,7 @@ config BR2_PACKAGE_COLLECTD_PING config BR2_PACKAGE_COLLECTD_POSTGRESQL bool "postgresql" depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Connects to and executes SQL statements on a PostgreSQL @@ -485,6 +486,9 @@ config BR2_PACKAGE_COLLECTD_POSTGRESQL comment "postgresql support needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR +comment "postgresql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_COLLECTD_PROCESSES bool "processes" help diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in index 6f0c927319..9522b80426 100644 --- a/package/lighttpd/Config.in +++ b/package/lighttpd/Config.in @@ -93,6 +93,7 @@ config BR2_PACKAGE_LIGHTTPD_PGSQL bool "pgsql support" depends on BR2_USE_MMU # postgresql depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Enable postgres support for lighttpd mod_vhostdb_pgsql. @@ -101,6 +102,9 @@ comment "pgsql support needs a toolchain w/ wchar" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR +comment "pgsql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_LIGHTTPD_WEBDAV bool "webdav support" select BR2_PACKAGE_LIBXML2 diff --git a/package/php/Config.ext b/package/php/Config.ext index 5da5d8bed9..e4aced66df 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -141,6 +141,7 @@ config BR2_PACKAGE_PHP_EXT_PGSQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help PostgreSQL support @@ -149,6 +150,9 @@ comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL extension can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_PHP_EXT_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE @@ -172,6 +176,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help PDO driver for PostgreSQL @@ -180,6 +185,9 @@ comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL drivers can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_PHP_EXT_PDO_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE diff --git a/package/poco/Config.in b/package/poco/Config.in index 699495a241..d2852ba03e 100644 --- a/package/poco/Config.in +++ b/package/poco/Config.in @@ -52,9 +52,13 @@ config BR2_PACKAGE_POCO_DATA_MYSQL config BR2_PACKAGE_POCO_DATA_PGSQL bool "Data/PostgreSQL" depends on BR2_USE_MMU # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POCO_DATA select BR2_PACKAGE_POSTGRESQL +comment "Data/PostgreSQL can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_POCO_DATA_SQLITE bool "Data/SQLite" select BR2_PACKAGE_POCO_DATA diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in index b42b219558..476427d534 100644 --- a/package/postgresql/Config.in +++ b/package/postgresql/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_POSTGRESQL # postgresql is unlikely to be used in a pure statically # linked environment. depends on !BR2_STATIC_LIBS + depends on !BR2_OPTIMIZE_FAST select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL @@ -34,3 +35,6 @@ endif comment "postgresql needs a toolchain w/ dynamic library, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR + +comment "postgresql can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in index ec27d706de..361c40cfa9 100644 --- a/package/python-psycopg2/Config.in +++ b/package/python-psycopg2/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 bool "python-psycopg2" depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Psycopg is the most popular PostgreSQL database adapter for @@ -24,3 +25,6 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 comment "python-psycopg2 needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR + +comment "python-psycopg2 can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in index 601438d2fe..6f2309dffd 100644 --- a/package/qt5/qt5base/Config.in +++ b/package/qt5/qt5base/Config.in @@ -74,6 +74,7 @@ config BR2_PACKAGE_QT5BASE_PSQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Build PostgreSQL plugin @@ -83,6 +84,9 @@ comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL plugin can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + choice prompt "SQLite 3 support" default BR2_PACKAGE_QT5BASE_SQLITE_NONE diff --git a/package/zabbix/Config.in b/package/zabbix/Config.in index 6f8a952936..0f7a0b0003 100644 --- a/package/zabbix/Config.in +++ b/package/zabbix/Config.in @@ -45,6 +45,7 @@ config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL bool "postgresql" depends on BR2_USE_WCHAR # postgresql depends on !BR2_STATIC_LIBS # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL endchoice -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 19:38:13 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 21:38:13 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: add new package In-Reply-To: <20220419142635.008ac004@windsurf> References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-3-thomas.perrot@bootlin.com> <20220419142635.008ac004@windsurf> Message-ID: <20220419213813.018a7601@windsurf> On Tue, 19 Apr 2022 14:26:35 +0200 Thomas Petazzoni via buildroot wrote: > This looks strange. Flags are normally passed using CFLAGS, and $(CC) > in Buildroot doesn't exist, it's $(HOSTCC) that should be used. > > Also, I think the list of header paths is properly set with: > > CINCLUDES := $(SUBSYS:%=-I$(CST_CODE_PATH)/%/hdr) > > but it gets overridden by the fact that you override CFLAGS. > > I believe there's a better way, let me have a look. Here is what I could come up with: ifneq ($(filter %64,$(HOSTARCH)),) HOST_IMX_CST_OSTYPE = linux64 else HOST_IMX_CST_OSTYPE = linux32 endif # We don't use HOST_CONFIGURE_OPTS when building cst, because we need # to preserve the CFLAGS/LDFLAGS used by their Makefile. define HOST_IMX_CST_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE) \ OSTYPE=$(HOST_IMX_CST_OSTYPE) \ ENCRYPTION=yes \ AR="$(HOSTAR)" \ CC="$(HOSTCC)" \ LD="$(HOSTCC)" \ OBJCOPY="$(HOSTOBJCOPY)" \ RANLIB="$(HOSTRANLIB)" \ EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ EXTRALDFLAGS="$(HOST_LDFLAGS)" \ PWD=$(@D)/code/cst \ -C $(@D)/code/cst \ build $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ -C $(@D)/code/hab_csf_parser endef define HOST_IMX_CST_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.$(HOST_IMX_CST_OSTYPE)/cst $(HOST_DIR)/bin/cst $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.$(HOST_IMX_CST_OSTYPE)/srktool $(HOST_DIR)/bin/srktool $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser endef Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Apr 19 19:42:42 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 21:42:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/binutils: disable 2.32 on unuspported FLAT platforms In-Reply-To: References: <20220409020719.3126086-1-james.hilliard1@gmail.com> <20220413225147.48bd5442@windsurf> Message-ID: <20220419214242.44ee10dd@windsurf> Hello, On Sun, 17 Apr 2022 00:50:19 -0600 James Hilliard wrote: > > I'm not sure that how we want to handle this. Indeed, even with newer > > binutils versions, I really doubt supporting aarch64 with the FLAT > > binary format makes a lot of sense. > > Well our newer binutils versions do already have FLAT disabled > entirely by setting: > depends on !BR2_BINFMT_FLAT Right, but as I state below, this is incorrect: they are disabled because they introduce a regression on ARM noMMU. Other noMMU architectures are (as far as we know), not affected. > > As far as I'm aware, there's currently no practical use-case for Linux > > noMMU on aarch64 and SH4, so I would simply disallow that. So on ARM, I > > would only allow the MMU to be disabled on ARMv7-M, and on SuperH, for > > SH2A. I.e something like the below patch. > > > > Of course, that leaves the case of BR2_sh2a. But if binutils > > 2.35/2.36/2.37 are broken for the FLAT format (which is why they are > > disabled), and 2.32 is disabled for SH2A/FLAT, then there's nothing > > left available for SH2A/FLAT > > Hmm, my assumption was that even though FLAT may not be supported > by the buildroot toolchain it may be possible some external toolchains > could have support for them, so I figured best just disable known invalid > options here for buildroot toolchain binutils. Practically speaking, nobody is using/testing FLAT on aarch64, SH4 or other MMU-capable architectures. We should support reasonable use-cases only IMO. > > Except that > > package/binutils/Config.in.host is wrong in disabling 2.35/2.36/2.37 > > for all FLAT configs: the bug is only related to ARM. > > Hmm, so maybe this set of depends plus an arm exclusion is needed > for newer binutils? I'm not following you here. > > However, I feel strange that sh2a/FLAT was not supported back in > > binutils 2.32. sh2a/FLAT has been around for a very long time. In fact > > what happens is that we have a patch to allow sh2a as an architecture > > name: package/binutils/2.32/0001-sh-conf.patch. But that patch is > > probably no longer sufficient, and some adjustements are also needed in > > bfd/config.bfd. > > So, that patch doesn't seem to add uclinux as a supported target, No, it makes it support sh2a as an architecture name. > which seems to be required for BR2_BINFMT_FLAT builds based on: > https://github.com/buildroot/buildroot/blob/2022.02.1/package/Makefile.in#L44-L45 > https://github.com/buildroot/buildroot/blob/2022.02.1/package/Makefile.in#L40 > https://github.com/buildroot/buildroot/blob/2022.02.1/package/binutils/binutils.mk#L83 > https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/config.bfd;h=0e1ddb659c3ab7160aab0a7c173b85052f870e65;hb=a9d9a104dde6a749f40ce5c4576a0042a7d52d1f#l1243 > > The failures from what I can tell here are due to the lack of a uclinux > target for sh2a in bfd/config.bfd. I need to have a closer look it seems. > > Bottom line: there is more work than just this proposal, which simply > > papers over the problem without really fixing it. > > Yeah, that's probably a bit outside my area of expertise, I was just > adding these dependencies by tracing the configure failure conditions. > > I'm not really familiar with no-mmu builds in general so wouldn't really > know what's correct for the architecture mmu settings. Yeah, that's also why I'm advocating for a broader solution. I'll try to cook some patches. I don't think I'll fix all problems in one go, but we can progressively get there. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From peter at korsgaard.com Tue Apr 19 19:48:10 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 19 Apr 2022 21:48:10 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: disable on mips64el In-Reply-To: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 19 Apr 2022 14:14:09 +0200") References: <20220419121409.2055818-1-fontaine.fabrice@gmail.com> Message-ID: <875yn46eit.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure on mips64el raised since commit > 11b347c03ab0b38389ec11b48f63236a3b4d6547: > In file included from shim.h:47, > from shim.c:14: > /nvmedata/autobuild/instance-17/output-1/build/shim-15.4/include/system/stdarg.h:72:2: error: #error what arch is this > 72 | #error what arch is this > | ^~~~~ > Fixes: > - http://autobuild.buildroot.org/results/74f4f1d010cfde6978fd614195ef0006f0acb45a > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 19 19:47:45 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 19 Apr 2022 21:47:45 +0200 Subject: [Buildroot] [git commit] boot/shim: disable on mips64el Message-ID: <20220419193846.CB6BF83DB0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2fd41e56e0e26fd3f3265f0e0015031211e441cf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure on mips64el raised since commit 11b347c03ab0b38389ec11b48f63236a3b4d6547: In file included from shim.h:47, from shim.c:14: /nvmedata/autobuild/instance-17/output-1/build/shim-15.4/include/system/stdarg.h:72:2: error: #error what arch is this 72 | #error what arch is this | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/74f4f1d010cfde6978fd614195ef0006f0acb45a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- boot/shim/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/shim/Config.in b/boot/shim/Config.in index 2f74d6f332..b0e549a51b 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -2,6 +2,7 @@ config BR2_TARGET_SHIM bool "shim" # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS + depends on !BR2_mips64el help Boot loader to chain-load signed boot loaders under Secure Boot. From fontaine.fabrice at gmail.com Tue Apr 19 20:01:22 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 19 Apr 2022 22:01:22 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS Message-ID: <20220419200122.4095481-1-fontaine.fabrice@gmail.com> Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice at gmail.com Signed-off-by: Fabrice Fontaine --- boot/shim/Config.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/boot/shim/Config.in b/boot/shim/Config.in index b0e549a51b..a762ad9215 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -1,8 +1,15 @@ -config BR2_TARGET_SHIM - bool "shim" +config BR2_PACKAGE_SHIM_ARCH_SUPPORTS + bool # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS - depends on !BR2_mips64el + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_arm || BR2_armeb + default y if BR2_i386 + default y if BR2_x86_64 + +config BR2_TARGET_SHIM + bool "shim" + depends on BR2_PACKAGE_SHIM_ARCH_SUPPORTS help Boot loader to chain-load signed boot loaders under Secure Boot. -- 2.35.1 From arnout at mind.be Tue Apr 19 20:11:12 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:11:12 +0200 Subject: [Buildroot] BR2_TARGET_UBOOT_PATCH setting not working In-Reply-To: <29DC8FE4-8840-4235-B78A-AEA800924338@gmail.com> References: <90f6844e-4ba4-1910-ec2d-bc6606793a5e@mind.be> <29DC8FE4-8840-4235-B78A-AEA800924338@gmail.com> Message-ID: <3fabf76a-bf2c-a0f7-09ea-a78514401d95@mind.be> On 15/04/2022 19:57, Marko Stanisic wrote: > Thank you Arnout for your answer, > > Yes I use a git repository , but I have to build two uboot for different situations , > 1) one uboot with disabled console > (release build ) > 2) and another uboot debug build with enabled console. > 3) depending on which buildroot defconfig I use (release or build) > > I wanted to orchestrate the builds over different defconfigs (buildroot) and in consequence different uboot defconfigs(one enables console, another has silent console) feature enabled. > But it is also necessary to perform a patch on header and c file of a current uboot repo on the fly as preparation for a build. > ( environment setting for silent console ) > > There is another solution for sure , but a patch seems to me more elegant to solve this multi source problem cases: > Case A) console on (uboot defconfig A) > Case B) console off (uboot defconfig B with silent console feature)+changes in source code regarding uboot environment > > Maybe direct use of patches inside uboot would be more correct , but i saw no mechanisms for that. > (Nothing in Readme, no hint to uboot patch directories or using patches before uboot build) > > Is buildroot able to handle such situations? In short, no. However: - you can set BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES to a config fragment that enables or disables the console; - the change in the header you can handle with ifdef using the config symbol set by the above fragment. This is IMHO a much cleaner solution than patching the source - you get to keep one source of truth. Regards, Arnout > > Best regards, > Marko. > > Sent from my iPhone > >> On 14.04.2022, at 21:00, Arnout Vandecappelle wrote: >> >> ? >> >>> On 13/04/2022 12:58, Marko Stanisic wrote: >>> Hello, >>> With buildroot i try to build an uboot which should be patched before, Uboot ist build by buildroot, but there is no reaction on following setting >>> BR2_TARGET_UBOOT_PATCH="$(BR2_EXTERNAL_GINO_PATH)/patches/uboot" >>> Inside /patches/uboot there is a .patch file named according to https://buildroot.org/downloads/manual/manual.html#patch-policy with >>> |-uboot-.patch| >>> |Patches inside directories can be executed according documentation. >>> | >>> |Uboot is used insied a submodul of my repo and buidlroot hass acces to it over UBOOT_OVERRIDE_SRCDIR. >>> | >>> | >>> | >>> |I have no clue why patching is not performed:| >>> 1. |checked with make -s printvars VARS='BR2_TARGET_UBOOT_PATCH'| >>> 2. checked make -s printvars VARS='UBOOT_PATCHES' , UBOOT_PATCHES is set inside >>> boot.mk >>> 3. make -s printvars VARS='UBOOT_POST_PATCH_HOOKS' >>> UBOOT_POST_PATCH_HOOKS=UBOOT_APPLY_LOCAL_PATCHES UBOOT_FIXUP_LIBFDT_INCLUDE >>> 4. BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_GINO_PATH)/patches is also set >>> 5. It seems that everything fine, maybe one thin is not very clear to me >>> I use *UBOOT_OVERRIDE_SRCDIR*and maybe thats make troubles here? because of the comment >>> |When Buildroot finds that for a given package, an +_OVERRIDE_SRCDIR+ has been defined, it will no longer attempt to download, extract and patch the package. Instead, it will directly use the source code available in the specified directory and +make clean+ will not touch this directory.| >> >> Indeed, as this text says: if you use OVERRIDE_SRCDIR, you can't use patches. >> >> >>> 5.1 If Point (5) makes the problem how can i solve it to apply a proper patch over buildroot, or do i have to put it inside the submodul directly and how? >> >> If you have a local directory with the source, it's assumed that you are able to modify that source and apply the patches directly. >> >> If for whatever reason that's not an option, there are a few options: >> >> - make a tarball and point BR2_TARGET_UBOOT_CUSTOM_TARBALL to it; or >> - if it's a git repository, you can point BR2_TARGET_UBOOT_CUSTOM_GIT to it. >> >> >> Regards, >> Arnout >> >> >>> 6. I didn't use the deprecated setting BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR >>> 7. Tried to build uboot package >>> |make uboot-dirclean make uboot-extract make uboot-patch ## nothing worked make uboot-build make uboot-install | >>> Maybe i forgot something? >>> thank you >>> || >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Apr 19 20:31:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:31:19 +0200 Subject: [Buildroot] [PATCH 1/2] package/gzip: security bump to 1.12 In-Reply-To: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> References: <20220419111714.1647112-1-marcus.hoffmann@othermo.de> Message-ID: <087b047b-348d-cd25-8f40-4a551851c38b@mind.be> On 19/04/2022 13:17, Marcus Hoffmann wrote: > Fixes the following security issues: > > CVE-2022-1271: arbitrary-file-write vulnerability > > zgrep applied to a crafted file name with two or more newlines > can no longer overwrite an arbitrary, attacker-selected file. > [bug introduced in gzip-1.3.10] > > https://www.openwall.com/lists/oss-security/2022/04/07/8 > > Other changes: > > ** Changes in behavior > > 'gzip -l' no longer misreports file lengths 4 GiB and larger. > Previously, 'gzip -l' output the 32-bit value stored in the gzip > header even though that is the uncompressed length modulo 2**32. > Now, 'gzip -l' calculates the uncompressed length by decompressing > the data and counting the resulting bytes. Although this can take > much more time, nowadays the correctness pros seem to outweigh the > performance cons. > > 'zless' is no longer installed on platforms lacking 'less'. > > ** Bug fixes > > zgrep now names input file on error instead of mislabeling it as > "(standard input)", if grep supports the GNU -H and --label options. > > 'zdiff -C 5' no longer misbehaves by treating '5' as a file name. > [bug present since the beginning] > > Configure-time options like --program-prefix now work. > > Release Announcement: > https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html > > Signed-off-by: Marcus Hoffmann Applied to master, thanks. Regards, Arnout > --- > package/gzip/gzip.hash | 4 ++-- > package/gzip/gzip.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/gzip/gzip.hash b/package/gzip/gzip.hash > index 1cf73ff912..80b86f4797 100644 > --- a/package/gzip/gzip.hash > +++ b/package/gzip/gzip.hash > @@ -1,6 +1,6 @@ > # Locally calculated after checking pgp signature > -# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig > +# https://ftp.gnu.org/gnu/gzip/gzip-1.12.tar.xz.sig > # using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE > -sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz > +sha256 ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956 gzip-1.12.tar.xz > # Locally calculated > sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk > index 92588fcdb8..2092df363c 100644 > --- a/package/gzip/gzip.mk > +++ b/package/gzip/gzip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GZIP_VERSION = 1.11 > +GZIP_VERSION = 1.12 > GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz > GZIP_SITE = $(BR2_GNU_MIRROR)/gzip > # Some other tools expect it to be in /bin From arnout at mind.be Tue Apr 19 20:30:30 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:30:30 +0200 Subject: [Buildroot] [git commit] package/gzip: security bump to 1.12 Message-ID: <20220419202147.2FF3B83DBE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4bfe7edc4b1b9074385edd03c3ac1e7e6df0889c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: CVE-2022-1271: arbitrary-file-write vulnerability zgrep applied to a crafted file name with two or more newlines can no longer overwrite an arbitrary, attacker-selected file. [bug introduced in gzip-1.3.10] https://www.openwall.com/lists/oss-security/2022/04/07/8 Other changes: ** Changes in behavior 'gzip -l' no longer misreports file lengths 4 GiB and larger. Previously, 'gzip -l' output the 32-bit value stored in the gzip header even though that is the uncompressed length modulo 2**32. Now, 'gzip -l' calculates the uncompressed length by decompressing the data and counting the resulting bytes. Although this can take much more time, nowadays the correctness pros seem to outweigh the performance cons. 'zless' is no longer installed on platforms lacking 'less'. ** Bug fixes zgrep now names input file on error instead of mislabeling it as "(standard input)", if grep supports the GNU -H and --label options. 'zdiff -C 5' no longer misbehaves by treating '5' as a file name. [bug present since the beginning] Configure-time options like --program-prefix now work. Release Announcement: https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html Signed-off-by: Marcus Hoffmann Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gzip/gzip.hash | 4 ++-- package/gzip/gzip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gzip/gzip.hash b/package/gzip/gzip.hash index 1cf73ff912..80b86f4797 100644 --- a/package/gzip/gzip.hash +++ b/package/gzip/gzip.hash @@ -1,6 +1,6 @@ # Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig +# https://ftp.gnu.org/gnu/gzip/gzip-1.12.tar.xz.sig # using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE -sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz +sha256 ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956 gzip-1.12.tar.xz # Locally calculated sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index 92588fcdb8..2092df363c 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -4,7 +4,7 @@ # ################################################################################ -GZIP_VERSION = 1.11 +GZIP_VERSION = 1.12 GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz GZIP_SITE = $(BR2_GNU_MIRROR)/gzip # Some other tools expect it to be in /bin From arnout at mind.be Tue Apr 19 20:29:37 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:29:37 +0200 Subject: [Buildroot] [git commit] package/xz: add upstream security fix for CVE-2022-1271 / ZDI-CAN-16587 Message-ID: <20220419202147.276E983DBC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c1324248d7855b35652ed367ec815429d559a7e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issue: - CVE-2022-1271: Malicious filenames can make xzgrep to write to arbitrary files or (with a GNU sed extension) lead to arbitrary code execution. For more details, see the announcement and advisory: https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html https://www.zerodayinitiative.com/advisories/ZDI-22-619/ Signed-off-by: Peter Korsgaard Reviewed-by: Marcus Hoffmann Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/xz/xz.hash | 1 + package/xz/xz.mk | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/package/xz/xz.hash b/package/xz/xz.hash index 3dd0cbe459..9577e98e80 100644 --- a/package/xz/xz.hash +++ b/package/xz/xz.hash @@ -1,5 +1,6 @@ # Locally calculated after checking pgp signature sha256 5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2 +sha256 98c6cb1042284fe704ec30083f3fc87364ce9ed2ea51f62bbb0ee9d3448717ec xzgrep-ZDI-CAN-16587.patch # Hash for license files sha256 bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c COPYING diff --git a/package/xz/xz.mk b/package/xz/xz.mk index af611975a0..cdb01e06a9 100644 --- a/package/xz/xz.mk +++ b/package/xz/xz.mk @@ -13,6 +13,10 @@ XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 XZ_CPE_ID_VENDOR = tukaani +XZ_PATCH = xzgrep-ZDI-CAN-16587.patch +# xzgrep-ZDI-CAN-16587.patch +XZ_IGNORE_CVES += CVE-2022-1271 + ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) XZ_CONF_OPTS += --enable-threads else From arnout at mind.be Tue Apr 19 20:32:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:32:15 +0200 Subject: [Buildroot] [PATCH] package/xz: add upstream security fix for CVE-2022-1271 / ZDI-CAN-16587 In-Reply-To: <20220419113409.1008586-1-peter@korsgaard.com> References: <20220419113409.1008586-1-peter@korsgaard.com> Message-ID: <50abe40e-e466-7e16-1f11-7b61d1bdfd3e@mind.be> On 19/04/2022 13:34, Peter Korsgaard wrote: > Fixes the following security issue: > > - CVE-2022-1271: Malicious filenames can make xzgrep to write to arbitrary > files or (with a GNU sed extension) lead to arbitrary code execution. > > For more details, see the announcement and advisory: > > https://www.mail-archive.com/xz-devel at tukaani.org/msg00551.html > https://www.zerodayinitiative.com/advisories/ZDI-22-619/ > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Arnout > --- > package/xz/xz.hash | 1 + > package/xz/xz.mk | 4 ++++ > 2 files changed, 5 insertions(+) > > diff --git a/package/xz/xz.hash b/package/xz/xz.hash > index 3dd0cbe459..9577e98e80 100644 > --- a/package/xz/xz.hash > +++ b/package/xz/xz.hash > @@ -1,5 +1,6 @@ > # Locally calculated after checking pgp signature > sha256 5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df xz-5.2.5.tar.bz2 > +sha256 98c6cb1042284fe704ec30083f3fc87364ce9ed2ea51f62bbb0ee9d3448717ec xzgrep-ZDI-CAN-16587.patch > > # Hash for license files > sha256 bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c COPYING > diff --git a/package/xz/xz.mk b/package/xz/xz.mk > index af611975a0..cdb01e06a9 100644 > --- a/package/xz/xz.mk > +++ b/package/xz/xz.mk > @@ -13,6 +13,10 @@ XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ > XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 > XZ_CPE_ID_VENDOR = tukaani > > +XZ_PATCH = xzgrep-ZDI-CAN-16587.patch > +# xzgrep-ZDI-CAN-16587.patch > +XZ_IGNORE_CVES += CVE-2022-1271 > + > ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) > XZ_CONF_OPTS += --enable-threads > else From arnout at mind.be Tue Apr 19 20:32:50 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:32:50 +0200 Subject: [Buildroot] [PATCH] package/gzip: security bump to version 1.12 In-Reply-To: <20220419112544.993456-1-peter@korsgaard.com> References: <20220419112544.993456-1-peter@korsgaard.com> Message-ID: <711e2b71-6bdf-c6c5-8659-a78dc569b3ef@mind.be> On 19/04/2022 13:25, Peter Korsgaard wrote: > Fixes the following security issues: > > - CVE-2022-1271: An arbitrary file write vulnerability was found in GNU > gzip's zgrep utility. When zgrep is applied on the attacker's chosen file > name (for example, a crafted file name), this can overwrite an attacker's > content to an arbitrary attacker-selected file. This flaw occurs due to > insufficient validation when processing filenames with two or more > newlines where selected content and the target file names are embedded in > crafted multi-line file names. This flaw allows a remote, low privileged > attacker to force zgrep to write arbitrary files on the system. > > https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html > > Signed-off-by: Peter Korsgaard I applied the patch that Marcus sent 8 minutes earlier instad. Regards, Arnout > --- > package/gzip/gzip.hash | 4 ++-- > package/gzip/gzip.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/gzip/gzip.hash b/package/gzip/gzip.hash > index 1cf73ff912..80b86f4797 100644 > --- a/package/gzip/gzip.hash > +++ b/package/gzip/gzip.hash > @@ -1,6 +1,6 @@ > # Locally calculated after checking pgp signature > -# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig > +# https://ftp.gnu.org/gnu/gzip/gzip-1.12.tar.xz.sig > # using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE > -sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz > +sha256 ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956 gzip-1.12.tar.xz > # Locally calculated > sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk > index 92588fcdb8..2092df363c 100644 > --- a/package/gzip/gzip.mk > +++ b/package/gzip/gzip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GZIP_VERSION = 1.11 > +GZIP_VERSION = 1.12 > GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz > GZIP_SITE = $(BR2_GNU_MIRROR)/gzip > # Some other tools expect it to be in /bin From arnout at mind.be Tue Apr 19 20:34:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:34:45 +0200 Subject: [Buildroot] [PATCH v3] package/wpa_supplicant: add overrides configuration option In-Reply-To: <20220419043340.5848-1-jose.pekkarinen@unikie.com> References: <20220419043340.5848-1-jose.pekkarinen@unikie.com> Message-ID: On 19/04/2022 06:33, Jos? Pekkarinen wrote: > From: Mika Joenpera > > Overrides configuration possibility enabled through > wpa_supplicant configuration file. > > Signed-off-by: Mika Joenpera > Signed-off-by: Jos? Pekkarinen > Reviewed-by: Yegor Yefremov Applied to master, thanks. Regards, Arnout > --- > [ v1 -> v2 ] > - add HE overrides > - cosmetic changes > > [ v2 -> v3 ] > - add missing HE overrides in Config.in > > package/wpa_supplicant/Config.in | 7 +++++++ > package/wpa_supplicant/wpa_supplicant.mk | 12 ++++++++++++ > 2 files changed, 19 insertions(+) > > diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in > index 8f095cdf2d..ef2557b8b2 100644 > --- a/package/wpa_supplicant/Config.in > +++ b/package/wpa_supplicant/Config.in > @@ -84,6 +84,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING > Enable support for open and secured mesh networking > (IEEE 802.11s) > > +config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES > + bool "Enable HT/VHT/HE overrides" > + help > + Enable wpa_supplicant overrides for HT, VHT and HE (disable > + HT/HT40, mask MCS rates, etc.) in wpa_supplicant > + configuration file. > + > config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN > bool "Enable autoscan" > help > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk > index 3c0b0c1dfc..d857b32b19 100644 > --- a/package/wpa_supplicant/wpa_supplicant.mk > +++ b/package/wpa_supplicant/wpa_supplicant.mk > @@ -110,6 +110,18 @@ else > WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH > endif > > +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y) > +WPA_SUPPLICANT_CONFIG_ENABLE += \ > + CONFIG_HT_OVERRIDES \ > + CONFIG_VHT_OVERRIDES \ > + CONFIG_HE_OVERRIDES > +else > +WPA_SUPPLICANT_CONFIG_DISABLE += \ > + CONFIG_HT_OVERRIDES \ > + CONFIG_VHT_OVERRIDES \ > + CONFIG_HE_OVERRIDES > +endif > + > ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) > WPA_SUPPLICANT_CONFIG_ENABLE += \ > CONFIG_AUTOSCAN_EXPONENTIAL \ From arnout at mind.be Tue Apr 19 20:33:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:33:47 +0200 Subject: [Buildroot] [git commit] package/wpa_supplicant: add overrides configuration option Message-ID: <20220419202453.5441C83DDC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ec4824aa486c3b9fe91b68d224300099cdac0c1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Overrides configuration possibility enabled through wpa_supplicant configuration file. Signed-off-by: Mika Joenpera Signed-off-by: Jos?? Pekkarinen Reviewed-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpa_supplicant/Config.in | 7 +++++++ package/wpa_supplicant/wpa_supplicant.mk | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index f2b0754ee1..7e2432985c 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -89,6 +89,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING Enable support for open and secured mesh networking (IEEE 802.11s) +config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES + bool "Enable HT/VHT/HE overrides" + help + Enable wpa_supplicant overrides for HT, VHT and HE (disable + HT/HT40, mask MCS rates, etc.) in wpa_supplicant + configuration file. + config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN bool "Enable autoscan" help diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 8b807fdfbe..c4cfe03371 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -105,6 +105,18 @@ else WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y) +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_HT_OVERRIDES \ + CONFIG_VHT_OVERRIDES \ + CONFIG_HE_OVERRIDES +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_HT_OVERRIDES \ + CONFIG_VHT_OVERRIDES \ + CONFIG_HE_OVERRIDES +endif + ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_AUTOSCAN_EXPONENTIAL \ From arnout at mind.be Tue Apr 19 20:35:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:35:35 +0200 Subject: [Buildroot] [PATCH] package/rtl8188eu: bump to 903b6fc (v5.2.2.4 branch HEAD) In-Reply-To: <20220418142855.3489541-1-tianyuanhao3@163.com> References: <20220418142855.3489541-1-tianyuanhao3@163.com> Message-ID: On 18/04/2022 16:28, TIAN Yuanhao wrote: > This allows to build against newer kernels (up to 5.18). > Tested on kernel v5.15. > > Signed-off-by: TIAN Yuanhao Applied to master, thanks. Regards, Arnout > --- > package/rtl8188eu/rtl8188eu.hash | 2 +- > package/rtl8188eu/rtl8188eu.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/rtl8188eu/rtl8188eu.hash b/package/rtl8188eu/rtl8188eu.hash > index 37767f5d16..9c7f2de4b6 100644 > --- a/package/rtl8188eu/rtl8188eu.hash > +++ b/package/rtl8188eu/rtl8188eu.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 b2b06c842bccd730d68a26b1c1b5a24f18373401e907147bf5e775fa42a36bbb rtl8188eu-60cb0b5a3cfc95e3f2e6fc294a28d987096b0559.tar.gz > +sha256 6bc46a13b20a2ed121844e51fd690216b2ab3b1faa1af8d9501090026ca9bd22 rtl8188eu-903b6fcb821465fe9c63e83416080df70c1c3c90.tar.gz > sha256 af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7 COPYING > diff --git a/package/rtl8188eu/rtl8188eu.mk b/package/rtl8188eu/rtl8188eu.mk > index b2066080f3..fa420b0d57 100644 > --- a/package/rtl8188eu/rtl8188eu.mk > +++ b/package/rtl8188eu/rtl8188eu.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RTL8188EU_VERSION = 60cb0b5a3cfc95e3f2e6fc294a28d987096b0559 > +RTL8188EU_VERSION = 903b6fcb821465fe9c63e83416080df70c1c3c90 > RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION)) > RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob) > RTL8188EU_LICENSE_FILES = COPYING From arnout at mind.be Tue Apr 19 20:35:02 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:35:02 +0200 Subject: [Buildroot] [git commit] package/rtl8188eu: bump to 903b6fc (v5.2.2.4 branch HEAD) Message-ID: <20220419202542.469D283DEA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f868f7ba9308aeb0e4586d63557d9da253d0da0b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This allows to build against newer kernels (up to 5.18). Tested on kernel v5.15. Signed-off-by: TIAN Yuanhao Reviewed-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rtl8188eu/rtl8188eu.hash | 2 +- package/rtl8188eu/rtl8188eu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtl8188eu/rtl8188eu.hash b/package/rtl8188eu/rtl8188eu.hash index 37767f5d16..9c7f2de4b6 100644 --- a/package/rtl8188eu/rtl8188eu.hash +++ b/package/rtl8188eu/rtl8188eu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 b2b06c842bccd730d68a26b1c1b5a24f18373401e907147bf5e775fa42a36bbb rtl8188eu-60cb0b5a3cfc95e3f2e6fc294a28d987096b0559.tar.gz +sha256 6bc46a13b20a2ed121844e51fd690216b2ab3b1faa1af8d9501090026ca9bd22 rtl8188eu-903b6fcb821465fe9c63e83416080df70c1c3c90.tar.gz sha256 af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7 COPYING diff --git a/package/rtl8188eu/rtl8188eu.mk b/package/rtl8188eu/rtl8188eu.mk index b2066080f3..fa420b0d57 100644 --- a/package/rtl8188eu/rtl8188eu.mk +++ b/package/rtl8188eu/rtl8188eu.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8188EU_VERSION = 60cb0b5a3cfc95e3f2e6fc294a28d987096b0559 +RTL8188EU_VERSION = 903b6fcb821465fe9c63e83416080df70c1c3c90 RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION)) RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob) RTL8188EU_LICENSE_FILES = COPYING From arnout at mind.be Tue Apr 19 20:37:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:37:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/libkrb5: doesn't build with libressl In-Reply-To: <20220418114103.276282-1-fontaine.fabrice@gmail.com> References: <20220418114103.276282-1-fontaine.fabrice@gmail.com> Message-ID: <1cb26340-3d1a-4918-cc59-174b310583bc@mind.be> On 18/04/2022 13:41, Fabrice Fontaine wrote: > libkrb5 does not build with libressl since commit > b7a5b9d06d484700fc4fcbd354f2c15e0422688c and upstream is not interested > in fixing this issue as a PR is opened for more than 4 years > (https://github.com/krb5/krb5/pull/607): > > pkinit_crypto_openssl.c: In function 'cms_signeddata_verify': > pkinit_crypto_openssl.c:1700:22: error: implicit declaration of function 'OBJ_get0_data'; did you mean 'BIO_get_data'? [-Werror=implicit-function-declaration] > 1700 | print_buffer(OBJ_get0_data(etype), OBJ_length(etype)); > | ^~~~~~~~~~~~~ > | BIO_get_data > > Fixes: > - http://autobuild.buildroot.org/results/e623f4e1d6b6004e98815b8b7da3938238890bd8 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libkrb5/libkrb5.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk > index f406cd9e49..bd751d9c77 100644 > --- a/package/libkrb5/libkrb5.mk > +++ b/package/libkrb5/libkrb5.mk > @@ -49,7 +49,7 @@ else > LIBKRB5_CONF_OPTS += --without-ldap > endif > > -ifeq ($(BR2_PACKAGE_OPENSSL),y) > +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > LIBKRB5_CONF_OPTS += \ > --enable-pkinit \ > --with-crypto-impl=openssl \ From arnout at mind.be Tue Apr 19 20:35:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:35:46 +0200 Subject: [Buildroot] [git commit] package/libkrb5: doesn't build with libressl Message-ID: <20220419202742.2C1B183DF3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e77c6e9291ff235309489a3733219c5c32b9187c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libkrb5 does not build with libressl since commit b7a5b9d06d484700fc4fcbd354f2c15e0422688c and upstream is not interested in fixing this issue as a PR is opened for more than 4 years (https://github.com/krb5/krb5/pull/607): pkinit_crypto_openssl.c: In function 'cms_signeddata_verify': pkinit_crypto_openssl.c:1700:22: error: implicit declaration of function 'OBJ_get0_data'; did you mean 'BIO_get_data'? [-Werror=implicit-function-declaration] 1700 | print_buffer(OBJ_get0_data(etype), OBJ_length(etype)); | ^~~~~~~~~~~~~ | BIO_get_data Fixes: - http://autobuild.buildroot.org/results/e623f4e1d6b6004e98815b8b7da3938238890bd8 Signed-off-by: Fabrice Fontaine Reviewed-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libkrb5/libkrb5.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk index f406cd9e49..bd751d9c77 100644 --- a/package/libkrb5/libkrb5.mk +++ b/package/libkrb5/libkrb5.mk @@ -49,7 +49,7 @@ else LIBKRB5_CONF_OPTS += --without-ldap endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBKRB5_CONF_OPTS += \ --enable-pkinit \ --with-crypto-impl=openssl \ From arnout at mind.be Tue Apr 19 20:39:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:39:57 +0200 Subject: [Buildroot] [PATCH] package/network-manager: remove invalid dependencies In-Reply-To: <20220415025224.1876125-1-tianyuanhao3@163.com> References: <20220415025224.1876125-1-tianyuanhao3@163.com> Message-ID: On 15/04/2022 04:52, TIAN Yuanhao wrote: > Dependency on libiw has been removed since 0.9.3.990 [1]. > Dependency on libgcrypt has been removed since 1.2-beta1 [2]. > Dependency on libuuid has been removed since 1.31.4-dev [3]. > > [1]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/7d0761588c2dde8816c109c38c1c94233fd74afe > [2]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/b6f5f030331cc680edbe19ae322e894494d63687 > [3]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/73b9883c6f30320b727a664ff2c84cc772aac94b > > Signed-off-by: TIAN Yuanhao Applied to master, thanks. Thank you for the detailed research on when/why they were removed. Regards, Arnout > --- > package/network-manager/Config.in | 6 ------ > package/network-manager/network-manager.mk | 2 +- > 2 files changed, 1 insertion(+), 7 deletions(-) > > diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in > index a48cb37b15..1370c81c9c 100644 > --- a/package/network-manager/Config.in > +++ b/package/network-manager/Config.in > @@ -1,6 +1,5 @@ > config BR2_PACKAGE_NETWORK_MANAGER > bool "network-manager" > - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt > depends on !BR2_STATIC_LIBS # gnutls > depends on BR2_USE_MMU # dbus > depends on BR2_PACKAGE_HAS_UDEV > @@ -13,11 +12,6 @@ config BR2_PACKAGE_NETWORK_MANAGER > select BR2_PACKAGE_DBUS > select BR2_PACKAGE_GNUTLS > select BR2_PACKAGE_LIBGLIB2 > - select BR2_PACKAGE_LIBGCRYPT > - select BR2_PACKAGE_UTIL_LINUX > - select BR2_PACKAGE_UTIL_LINUX_LIBUUID > - select BR2_PACKAGE_WIRELESS_TOOLS > - select BR2_PACKAGE_WIRELESS_TOOLS_LIB > select BR2_PACKAGE_LIBNDP > help > NetworkManager is a set of co-operative tools that make > diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk > index a90228992c..d979cfc0d7 100644 > --- a/package/network-manager/network-manager.mk > +++ b/package/network-manager/network-manager.mk > @@ -10,7 +10,7 @@ NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz > NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) > NETWORK_MANAGER_INSTALL_STAGING = YES > NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev gnutls libglib2 \ > - libgcrypt wireless_tools util-linux host-intltool libndp > + host-intltool libndp > NETWORK_MANAGER_LICENSE = GPL-2.0+ (app), LGPL-2.1+ (libnm) > NETWORK_MANAGER_LICENSE_FILES = COPYING COPYING.LGPL CONTRIBUTING.md > NETWORK_MANAGER_CPE_ID_VENDOR = gnome From arnout at mind.be Tue Apr 19 20:37:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:37:48 +0200 Subject: [Buildroot] [git commit] package/network-manager: remove invalid dependencies Message-ID: <20220419203004.30CA483E23@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8b47feff2ff8ac37355431cb0414822da2c87ea1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Dependency on libiw has been removed since 0.9.3.990 [1]. Dependency on libgcrypt has been removed since 1.2-beta1 [2]. Dependency on libuuid has been removed since 1.31.4-dev [3]. [1]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/7d0761588c2dde8816c109c38c1c94233fd74afe [2]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/b6f5f030331cc680edbe19ae322e894494d63687 [3]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/73b9883c6f30320b727a664ff2c84cc772aac94b Signed-off-by: TIAN Yuanhao Reviewed-by: Marcus Hoffmann Tested-by: Marcus Hoffmann Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/network-manager/Config.in | 6 ------ package/network-manager/network-manager.mk | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in index a48cb37b15..1370c81c9c 100644 --- a/package/network-manager/Config.in +++ b/package/network-manager/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_NETWORK_MANAGER bool "network-manager" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on !BR2_STATIC_LIBS # gnutls depends on BR2_USE_MMU # dbus depends on BR2_PACKAGE_HAS_UDEV @@ -13,11 +12,6 @@ config BR2_PACKAGE_NETWORK_MANAGER select BR2_PACKAGE_DBUS select BR2_PACKAGE_GNUTLS select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - select BR2_PACKAGE_WIRELESS_TOOLS - select BR2_PACKAGE_WIRELESS_TOOLS_LIB select BR2_PACKAGE_LIBNDP help NetworkManager is a set of co-operative tools that make diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 3479bb3794..81d6eedf0f 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -10,7 +10,7 @@ NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) NETWORK_MANAGER_INSTALL_STAGING = YES NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev gnutls libglib2 \ - libgcrypt wireless_tools util-linux host-intltool libndp + host-intltool libndp NETWORK_MANAGER_LICENSE = GPL-2.0+ (app), LGPL-2.1+ (libnm) NETWORK_MANAGER_LICENSE_FILES = COPYING COPYING.LGPL CONTRIBUTING.md NETWORK_MANAGER_CPE_ID_VENDOR = gnome From arnout at mind.be Tue Apr 19 20:40:13 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:40:13 +0200 Subject: [Buildroot] [git commit] package/php-apcu: needs threads Message-ID: <20220419203045.AD3567FF3B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4bd5fc000bec111820f6caea0c9dc02a3f068c94 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master php-apcu needs threads since its addition in commit 8ddeeffa186d8bce875ac713c1e71483c618842a: In file included from /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.c:20: /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.h:41:11: fatal error: pthread.h: No such file or directory 41 | # include "pthread.h" | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/314405423aeece5ee55d76ec5c4fa1919e7ee853 Signed-off-by: Fabrice Fontaine Acked-by: Herve Codina Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/php-apcu/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/php-apcu/Config.in b/package/php-apcu/Config.in index 6338980222..f8e1eb17bb 100644 --- a/package/php-apcu/Config.in +++ b/package/php-apcu/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_PHP_APCU bool "php-apcu" + depends on BR2_TOOLCHAIN_HAS_THREADS help APCu is an in-memory key-value store for PHP. https://pecl.php.net/package/APCu + +comment "php-apcu needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS From arnout at mind.be Tue Apr 19 20:40:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:40:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/php-apcu: needs threads In-Reply-To: <20220414203059.1818820-1-fontaine.fabrice@gmail.com> References: <20220414203059.1818820-1-fontaine.fabrice@gmail.com> Message-ID: On 14/04/2022 22:30, Fabrice Fontaine wrote: > php-apcu needs threads since its addition in commit > 8ddeeffa186d8bce875ac713c1e71483c618842a: > > In file included from /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.c:20: > /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.h:41:11: fatal error: pthread.h: No such file or directory > 41 | # include "pthread.h" > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/314405423aeece5ee55d76ec5c4fa1919e7ee853 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/php-apcu/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/php-apcu/Config.in b/package/php-apcu/Config.in > index 6338980222..f8e1eb17bb 100644 > --- a/package/php-apcu/Config.in > +++ b/package/php-apcu/Config.in > @@ -1,6 +1,10 @@ > config BR2_PACKAGE_PHP_APCU > bool "php-apcu" > + depends on BR2_TOOLCHAIN_HAS_THREADS > help > APCu is an in-memory key-value store for PHP. > > https://pecl.php.net/package/APCu > + > +comment "php-apcu needs a toolchain w/ threads" > + depends on !BR2_TOOLCHAIN_HAS_THREADS From arnout at mind.be Tue Apr 19 20:48:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:48:03 +0200 Subject: [Buildroot] [PATCH 1/2] package/tbb: bump to version 2021.5.0 In-Reply-To: <4391488.LvFx2qVVIh@pwmachine> References: <20220416210750.3065016-1-fontaine.fabrice@gmail.com> <4391488.LvFx2qVVIh@pwmachine> Message-ID: On 19/04/2022 18:32, Francis Laniel wrote: > Hi. > > Le samedi 16 avril 2022, 22:07:49 BST Fabrice Fontaine a ?crit : >> - Switch to cmake-package >> - Drop DO_ITT_NOTIFY which is only used in example and test >> - license file has been renamed to LICENSE.txt >> - Add upstream patches to fix musl build >> >> https://www.intel.com/content/www/us/en/developer/articles/release-notes/int >> el-oneapi-threading-building-blocks-release-notes.html >> >> Signed-off-by: Fabrice Fontaine Applied to master, thanks. [snip] > > I tested your patch and it builds succesfully and sysdig (0.27.1) is still > running like a charm. Please formally declare when you reviewed or tested a patch, e.g. Reviewed-by: Francis Laniel Tested-by: Francis Laniel This gets picked up by patchwork and tells us it's a patch we should prioritize (since someone else already looked at it, we don't need to review it in detail any more). (Also, if you put text below a very long piece of quoted text, it's nice to remove part of the quoted text so the reader doesn't need to scroll as much.) Regards, Arnout > So, thank you for the bumping (I should have do it...) and the simplification > of tbb.mk. > > > Best regards. > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Apr 19 20:42:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:42:06 +0200 Subject: [Buildroot] [git commit] package/tbb: bump to version 2021.5.0 Message-ID: <20220419203812.D13AC81423@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c66ac07a0783b21f95e699b3762edd15e27bdf9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Switch to cmake-package - Drop DO_ITT_NOTIFY which is only used in example and test - license file has been renamed to LICENSE.txt - Add upstream patches to fix musl build https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-threading-building-blocks-release-notes.html Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/sysdig/Config.in | 2 +- ...0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch | 33 ++++++++++++++ ...info-is-only-defined-on-glibc-and-android.patch | 42 ++++++++++++++++++ package/tbb/Config.in | 12 ++++-- package/tbb/tbb.hash | 4 +- package/tbb/tbb.mk | 50 +++------------------- 6 files changed, 94 insertions(+), 49 deletions(-) diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index 3a4c033b2b..c124054105 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -7,7 +7,7 @@ config BR2_PACKAGE_SYSDIG depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils, tbb + depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 select BR2_PACKAGE_C_ARES select BR2_PACKAGE_ELFUTILS diff --git a/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch b/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch new file mode 100644 index 0000000000..82182ce109 --- /dev/null +++ b/package/tbb/0001-Musl-linux-can-not-use-RTLD_DEEPBIND.patch @@ -0,0 +1,33 @@ +From 883c2e5245c39624b3b5d6d56d5b203cf09eac38 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 15 Dec 2021 08:08:07 -0800 +Subject: [PATCH] Musl/linux can not use RTLD_DEEPBIND (#684) + +Exclude non-glibc linux systems along with android +Fixes +src/tbb/dynamic_link.cpp:417:29: error: use + of undeclared identifier 'RTLD_DEEPBIND' | flags = flags | RTLD_DEEPBIND; +| ^ + +Signed-off-by: Khem Raj + +[Retrieved from: +https://github.com/oneapi-src/oneTBB/commit/883c2e5245c39624b3b5d6d56d5b203cf09eac38] +Signed-off-by: Fabrice Fontaine +--- + src/tbb/dynamic_link.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/tbb/dynamic_link.cpp b/src/tbb/dynamic_link.cpp +index 3f1342503..5330d7107 100644 +--- a/src/tbb/dynamic_link.cpp ++++ b/src/tbb/dynamic_link.cpp +@@ -413,7 +413,7 @@ namespace r1 { + int flags = RTLD_NOW; + if (local_binding) { + flags = flags | RTLD_LOCAL; +-#if __linux__ && !__ANDROID__ && !__TBB_USE_SANITIZERS ++#if (__linux__ && __GLIBC__) && !__TBB_USE_SANITIZERS + flags = flags | RTLD_DEEPBIND; + #endif + } else { diff --git a/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch b/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch new file mode 100644 index 0000000000..9b397cac41 --- /dev/null +++ b/package/tbb/0002-mallinfo-is-only-defined-on-glibc-and-android.patch @@ -0,0 +1,42 @@ +From 3a7f96db56cc9821055cbc769d3065db86b8b4c9 Mon Sep 17 00:00:00 2001 +From: Julien Voisin +Date: Mon, 7 Feb 2022 07:56:15 +0100 +Subject: [PATCH] mallinfo is only defined on glibc and android (#764) + +It currently prevents compilation under musl: + +``` +[ 90%] Building CXX object src/tbbmalloc_proxy/CMakeFiles/tbbmalloc_proxy.dir/proxy.cpp.o +/__w/mimalloc-bench/mimalloc-bench/extern/tbb/src/tbbmalloc_proxy/proxy.cpp:263:26: error: return type 'struct mallinfo' is incomplete + 263 | struct mallinfo mallinfo() __THROW + | ^ +compilation terminated due to -Wfatal-errors. +`` + +[Retrieved from: +https://github.com/oneapi-src/oneTBB/commit/3a7f96db56cc9821055cbc769d3065db86b8b4c9] +Signed-off-by: Fabrice Fontaine +--- + src/tbbmalloc_proxy/proxy.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/tbbmalloc_proxy/proxy.cpp b/src/tbbmalloc_proxy/proxy.cpp +index e58e55e0b..23b9c19c1 100644 +--- a/src/tbbmalloc_proxy/proxy.cpp ++++ b/src/tbbmalloc_proxy/proxy.cpp +@@ -260,6 +260,7 @@ int mallopt(int /*param*/, int /*value*/) __THROW + return 1; + } + ++#if defined(__GLIBC__) || defined(__ANDROID__) + struct mallinfo mallinfo() __THROW + { + struct mallinfo m; +@@ -267,6 +268,7 @@ struct mallinfo mallinfo() __THROW + + return m; + } ++#endif + + #if __ANDROID__ + // Android doesn't have malloc_usable_size, provide it to be compatible diff --git a/package/tbb/Config.in b/package/tbb/Config.in index 0f40b74d31..b2e97829b5 100644 --- a/package/tbb/Config.in +++ b/package/tbb/Config.in @@ -1,9 +1,11 @@ config BR2_PACKAGE_TBB bool "tbb" - depends on BR2_TOOLCHAIN_USES_GLIBC + # tbb needs fenv.h which is not provided by uclibc + depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr help Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily write parallel C++ programs that take full advantage @@ -12,5 +14,9 @@ config BR2_PACKAGE_TBB https://www.threadingbuildingblocks.org/ -comment "tbb needs a glibc toolchain w/ dynamic library, threads, C++" - depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP +comment "tbb needs a glibc or musl toolchain w/ dynamic library, threads, C++" + depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP + +comment "tbb needs exception_ptr" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 81d224b3ca..9992fb3c4f 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 b8dbab5aea2b70cf07844f86fa413e549e099aa3205b6a04059ca92ead93a372 tbb-2018_U5.tar.gz -sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE +sha256 e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a tbb-2021.5.0.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index 87e83551fe..afe756a85a 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -4,52 +4,16 @@ # ################################################################################ -TBB_VERSION = 2018_U5 -TBB_SITE = $(call github,01org,tbb,$(TBB_VERSION)) +TBB_VERSION = 2021.5.0 +TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 -TBB_LICENSE_FILES = LICENSE +TBB_LICENSE_FILES = LICENSE.txt TBB_CPE_ID_VENDOR = intel TBB_CPE_ID_PRODUCT = threading_building_blocks -TBB_SO_VERSION = 2 -TBB_LIBS = libtbb libtbbmalloc libtbbmalloc_proxy -TBB_BIN_PATH = $(@D)/build/linux_* +TBB_CONF_OPTS = \ + -DTBB_STRICT=OFF \ + -DTBB_TEST=OFF -# arch is normally set based on uname -m with some conversions. However, -# it is not really used for much: -# - to decide between 32 or 64-bit files (based on '64' in the name) -# - to decide on some arch-specific CFLAGS like -m32, which we don't actually want -# - to set DO_ITT_NOTIFY if it's x86 (32 or 64 bit) -# - to include assembler source, but it only exists for ia64 -# The only thing we actually want from the above is the 32/64-bit, and -# DO_ITT_NOTIFY. Therefore, set arch to a fixed value which is unknown to -# the tbb build system, and set DO_ITT_NOTIFY explicitly. -TBB_ARCH = $(if $(BR2_ARCH_IS_64),buildroot64,buildroot32) -TBB_ITT_NOTIFY = $(if $(BR2_i386)$(BR2_x86_64),-DDO_ITT_NOTIFY) -TBB_CXXFLAGS = $(TARGET_CXXFLAGS) $(TBB_ITT_NOTIFY) - -define TBB_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) arch=$(TBB_ARCH) \ - CPLUS="$(TARGET_CXX)" CONLY="$(TARGET_CC)" CXXFLAGS="$(TBB_CXXFLAGS)" -endef - -define TBB_INSTALL_LIBS - $(foreach lib,$(TBB_LIBS), - $(INSTALL) -D -m 0755 $(TBB_BIN_PATH)/$(lib).so.$(TBB_SO_VERSION) \ - $(1)/usr/lib/$(lib).so.$(TBB_SO_VERSION) ; - ln -sf $(lib).so.$(TBB_SO_VERSION) $(1)/usr/lib/$(lib).so - ) -endef - -define TBB_INSTALL_STAGING_CMDS - mkdir -p $(STAGING_DIR)/usr/include/ - cp -a $(@D)/include/* $(STAGING_DIR)/usr/include/ - $(call TBB_INSTALL_LIBS,$(STAGING_DIR)) -endef - -define TBB_INSTALL_TARGET_CMDS - $(call TBB_INSTALL_LIBS,$(TARGET_DIR)) -endef - -$(eval $(generic-package)) +$(eval $(cmake-package)) From arnout at mind.be Tue Apr 19 20:54:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 22:54:41 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk{-bin}: security bump 11.x to version 11.0.14.1+1 In-Reply-To: <20220419073954.537319-1-peter@korsgaard.com> References: <20220419073954.537319-1-peter@korsgaard.com> Message-ID: On 19/04/2022 09:39, Peter Korsgaard wrote: > Fixes the following security issues: > > - JDK-8217375: jarsigner breaks old signature with long lines in manifest > - JDK-8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside > - JDK-8264934, CVE-2022-21248: Enhance cross VM serialization > - JDK-8268488: More valuable DerValues > - JDK-8268494: Better inlining of inlined interfaces > - JDK-8268512: More content for ContentInfo > - JDK-8268795: Enhance digests of Jar files > - JDK-8268801: Improve PKCS attribute handling > - JDK-8268813, CVE-2022-21283: Better String matching > - JDK-8269151: Better construction of EncryptedPrivateKeyInfo > - JDK-8269944: Better HTTP transport redux > - JDK-8270386, CVE-2022-21291: Better verification of scan methods > - JDK-8270392, CVE-2022-21293: Improve String constructions > - JDK-8270416, CVE-2022-21294: Enhance construction of Identity maps > - JDK-8270492, CVE-2022-21282: Better resolution of URIs > - JDK-8270498, CVE-2022-21296: Improve SAX Parser configuration management > - JDK-8270646, CVE-2022-21299: Improved scanning of XML entities > - JDK-8270952, CVE-2022-21277: Improve TIFF file handling > - JDK-8271962: Better TrueType font loading > - JDK-8271968: Better canonical naming > - JDK-8271987: Manifest improved manifest entries > - JDK-8272014, CVE-2022-21305: Better array indexing > - JDK-8272026, CVE-2022-21340: Verify Jar Verification > - JDK-8272236, CVE-2022-21341: Improve serial forms for transport > - JDK-8272272: Enhance jcmd communication > - JDK-8272462: Enhance image handling > - JDK-8273290: Enhance sound handling > - JDK-8273756, CVE-2022-21360: Enhance BMP image support > - JDK-8273838, CVE-2022-21365: Enhanced BMP processing > - JDK-8274096, CVE-2022-21366: Improve decoding of image files > - JDK-8279541: Improve HarfBuzz > > For more details, see the announcement: > > https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-January/011643.html > https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-February/012348.html > > Signed-off-by: Peter Korsgaard Applied to master, thanks. This also invalidates [1], care to send an update of it? Regards, Arnout [1] https://patchwork.ozlabs.org/project/buildroot/patch/20220411070454.77482-1-ambi at samba.org/ > --- > package/openjdk-bin/openjdk-bin.hash | 2 +- > package/openjdk-bin/openjdk-bin.mk | 2 +- > package/openjdk/openjdk.hash | 2 +- > package/openjdk/openjdk.mk | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash > index bbc939d4e8..082da7bf87 100644 > --- a/package/openjdk-bin/openjdk-bin.hash > +++ b/package/openjdk-bin/openjdk-bin.hash > @@ -2,7 +2,7 @@ > sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz > > # From https://github.com/adoptium/temurin11-binaries/releases > -sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz > +sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz > > # Locally calculated > sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE > diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk > index 266c93d363..c9ddc9f69f 100644 > --- a/package/openjdk-bin/openjdk-bin.mk > +++ b/package/openjdk-bin/openjdk-bin.mk > @@ -9,7 +9,7 @@ HOST_OPENJDK_BIN_VERSION_MAJOR = 17 > HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 > else > HOST_OPENJDK_BIN_VERSION_MAJOR = 11 > -HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 > +HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 > endif > HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) > HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > diff --git a/package/openjdk/openjdk.hash b/package/openjdk/openjdk.hash > index 2f46b044ad..f8a4f15260 100644 > --- a/package/openjdk/openjdk.hash > +++ b/package/openjdk/openjdk.hash > @@ -1,4 +1,4 @@ > # Locally computed > sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz > -sha256 119c6233fe7ff5670c590e2f9d6686ac4d80c97b17065506998b75c547b54f2c openjdk-11.0.13+8.tar.gz > +sha256 0e859cc03378439023e17ee82aecee5a52265fb38906a8bebf16027aa2b2bcf5 openjdk-11.0.14.1+1.tar.gz > sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE > diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk > index 5fccdaa7ac..94b8cba577 100644 > --- a/package/openjdk/openjdk.mk > +++ b/package/openjdk/openjdk.mk > @@ -9,7 +9,7 @@ OPENJDK_VERSION_MAJOR = 17 > OPENJDK_VERSION_MINOR = 0.1+12 > else > OPENJDK_VERSION_MAJOR = 11 > -OPENJDK_VERSION_MINOR = 0.13+8 > +OPENJDK_VERSION_MINOR = 0.14.1+1 > endif > OPENJDK_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR) > OPENJDK_SITE = $(call github,openjdk,jdk$(OPENJDK_VERSION_MAJOR)u,jdk-$(OPENJDK_VERSION)) From arnout at mind.be Tue Apr 19 20:50:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:50:15 +0200 Subject: [Buildroot] [git commit] package/openjdk{-bin}: security bump 17.x to version 17.0.2+8 Message-ID: <20220419204612.901D1813F1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bbc318be1721990784497821dc4ecc7aea8c848e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - JDK-8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside - JDK-8264934, CVE-2022-21248: Enhance cross VM serialization - JDK-8268488: More valuable DerValues - JDK-8268494: Better inlining of inlined interfaces - JDK-8268512: More content for ContentInfo - JDK-8268813, CVE-2022-21283: Better String matching - JDK-8269151: Better construction of EncryptedPrivateKeyInfo - JDK-8269944: Better HTTP transport redux - JDK-8270386, CVE-2022-21291: Better verification of scan methods - JDK-8270392, CVE-2022-21293: Improve String constructions - JDK-8270416, CVE-2022-21294: Enhance construction of Identity maps - JDK-8270492, CVE-2022-21282: Better resolution of URIs - JDK-8270498, CVE-2022-21296: Improve SAX Parser configuration management - JDK-8270646, CVE-2022-21299: Improved scanning of XML entities - JDK-8270952, CVE-2022-21277: Improve TIFF file handling - JDK-8271962: Better TrueType font loading - JDK-8271968: Better canonical naming - JDK-8271987: Manifest improved manifest entries - JDK-8272014, CVE-2022-21305: Better array indexing - JDK-8272026, CVE-2022-21340: Verify Jar Verification - JDK-8272236, CVE-2022-21341: Improve serial forms for transport - JDK-8272272: Enhance jcmd communication - JDK-8272462: Enhance image handling - JDK-8273290: Enhance sound handling - JDK-8273756, CVE-2022-21360: Enhance BMP image support - JDK-8273838, CVE-2022-21365: Enhanced BMP processing - JDK-8274096, CVE-2022-21366: Improve decoding of image files For more details, see the announcement: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-January/011709.html Signed-off-by: Peter Korsgaard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openjdk-bin/openjdk-bin.hash | 2 +- package/openjdk-bin/openjdk-bin.mk | 2 +- package/openjdk/openjdk.hash | 2 +- package/openjdk/openjdk.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index 082da7bf87..62691ed6f0 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,5 +1,5 @@ # https://github.com/adoptium/temurin17-binaries/releases -sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz +sha256 288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48 OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index c9ddc9f69f..3d1ebd7429 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -6,7 +6,7 @@ ifeq ($(BR2_PACKAGE_OPENJDK_VERSION_17),y) HOST_OPENJDK_BIN_VERSION_MAJOR = 17 -HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 +HOST_OPENJDK_BIN_VERSION_MINOR = 0.2_8 else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 diff --git a/package/openjdk/openjdk.hash b/package/openjdk/openjdk.hash index f8a4f15260..293787792d 100644 --- a/package/openjdk/openjdk.hash +++ b/package/openjdk/openjdk.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz +sha256 2fdd23261526362d4aaf58323441d4c31d29de2e374ba94bbf2727a00adc0ea7 openjdk-17.0.2+8.tar.gz sha256 0e859cc03378439023e17ee82aecee5a52265fb38906a8bebf16027aa2b2bcf5 openjdk-11.0.14.1+1.tar.gz sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk index 94b8cba577..42d52d57c4 100644 --- a/package/openjdk/openjdk.mk +++ b/package/openjdk/openjdk.mk @@ -6,7 +6,7 @@ ifeq ($(BR2_PACKAGE_OPENJDK_VERSION_17),y) OPENJDK_VERSION_MAJOR = 17 -OPENJDK_VERSION_MINOR = 0.1+12 +OPENJDK_VERSION_MINOR = 0.2+8 else OPENJDK_VERSION_MAJOR = 11 OPENJDK_VERSION_MINOR = 0.14.1+1 From arnout at mind.be Tue Apr 19 20:48:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Tue, 19 Apr 2022 22:48:45 +0200 Subject: [Buildroot] [git commit] package/openjdk{-bin}: security bump 11.x to version 11.0.14.1+1 Message-ID: <20220419204612.8618D82830@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30be0473162ff801a38b0ccbe6d8f6c30a282c0c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - JDK-8217375: jarsigner breaks old signature with long lines in manifest - JDK-8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside - JDK-8264934, CVE-2022-21248: Enhance cross VM serialization - JDK-8268488: More valuable DerValues - JDK-8268494: Better inlining of inlined interfaces - JDK-8268512: More content for ContentInfo - JDK-8268795: Enhance digests of Jar files - JDK-8268801: Improve PKCS attribute handling - JDK-8268813, CVE-2022-21283: Better String matching - JDK-8269151: Better construction of EncryptedPrivateKeyInfo - JDK-8269944: Better HTTP transport redux - JDK-8270386, CVE-2022-21291: Better verification of scan methods - JDK-8270392, CVE-2022-21293: Improve String constructions - JDK-8270416, CVE-2022-21294: Enhance construction of Identity maps - JDK-8270492, CVE-2022-21282: Better resolution of URIs - JDK-8270498, CVE-2022-21296: Improve SAX Parser configuration management - JDK-8270646, CVE-2022-21299: Improved scanning of XML entities - JDK-8270952, CVE-2022-21277: Improve TIFF file handling - JDK-8271962: Better TrueType font loading - JDK-8271968: Better canonical naming - JDK-8271987: Manifest improved manifest entries - JDK-8272014, CVE-2022-21305: Better array indexing - JDK-8272026, CVE-2022-21340: Verify Jar Verification - JDK-8272236, CVE-2022-21341: Improve serial forms for transport - JDK-8272272: Enhance jcmd communication - JDK-8272462: Enhance image handling - JDK-8273290: Enhance sound handling - JDK-8273756, CVE-2022-21360: Enhance BMP image support - JDK-8273838, CVE-2022-21365: Enhanced BMP processing - JDK-8274096, CVE-2022-21366: Improve decoding of image files - JDK-8279541: Improve HarfBuzz For more details, see the announcement: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-January/011643.html https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2022-February/012348.html Signed-off-by: Peter Korsgaard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openjdk-bin/openjdk-bin.hash | 2 +- package/openjdk-bin/openjdk-bin.mk | 2 +- package/openjdk/openjdk.hash | 2 +- package/openjdk/openjdk.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index bbc939d4e8..082da7bf87 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -2,7 +2,7 @@ sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases -sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz +sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 266c93d363..c9ddc9f69f 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -9,7 +9,7 @@ HOST_OPENJDK_BIN_VERSION_MAJOR = 17 HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 -HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 +HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 endif HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz diff --git a/package/openjdk/openjdk.hash b/package/openjdk/openjdk.hash index 2f46b044ad..f8a4f15260 100644 --- a/package/openjdk/openjdk.hash +++ b/package/openjdk/openjdk.hash @@ -1,4 +1,4 @@ # Locally computed sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz -sha256 119c6233fe7ff5670c590e2f9d6686ac4d80c97b17065506998b75c547b54f2c openjdk-11.0.13+8.tar.gz +sha256 0e859cc03378439023e17ee82aecee5a52265fb38906a8bebf16027aa2b2bcf5 openjdk-11.0.14.1+1.tar.gz sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk index 5fccdaa7ac..94b8cba577 100644 --- a/package/openjdk/openjdk.mk +++ b/package/openjdk/openjdk.mk @@ -9,7 +9,7 @@ OPENJDK_VERSION_MAJOR = 17 OPENJDK_VERSION_MINOR = 0.1+12 else OPENJDK_VERSION_MAJOR = 11 -OPENJDK_VERSION_MINOR = 0.13+8 +OPENJDK_VERSION_MINOR = 0.14.1+1 endif OPENJDK_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR) OPENJDK_SITE = $(call github,openjdk,jdk$(OPENJDK_VERSION_MAJOR)u,jdk-$(OPENJDK_VERSION)) From arnout at mind.be Tue Apr 19 21:08:11 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 23:08:11 +0200 Subject: [Buildroot] [PATCH] Adds python-orjson support. In-Reply-To: <20220414194011.2044427-1-gsmecher@threespeedlogic.com> References: <20220414194011.2044427-1-gsmecher@threespeedlogic.com> Message-ID: Hi Graeme, I have a few fairly small remarks. Care to fix them up and resend? First of all, the subject line should be: package/python-orjson: new package Also, add a Signed-off-by line for yourself at the end of the commit message. This is a short way for you to assert that you are entitled to contribute the patch under buildroot's GPL license. See [1] for more details. On 14/04/2022 21:40, Graeme Smecher wrote: > --- > package/Config.in | 1 + > package/python-orjson/Config.in | 12 ++++++++++ > package/python-orjson/python-orjson.hash | 3 +++ > package/python-orjson/python-orjson.mk | 28 ++++++++++++++++++++++++ Please add yourself to the DEVELOPERS file [1] for this package. This way, you'll get an e-mail if the package fails in the autobuilders, or when a new version is released if the package is registered on release-monitoring.org. > 4 files changed, 44 insertions(+) > create mode 100644 package/python-orjson/Config.in > create mode 100644 package/python-orjson/python-orjson.hash > create mode 100644 package/python-orjson/python-orjson.mk > > diff --git a/package/Config.in b/package/Config.in > index 86a1c59696..db0e37b7f7 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -1122,6 +1122,7 @@ menu "External python modules" > source "package/python-numpy/Config.in" > source "package/python-oauthlib/Config.in" > source "package/python-opcua-asyncio/Config.in" > + source "package/python-orjson/Config.in" > source "package/python-packaging/Config.in" > source "package/python-paho-mqtt/Config.in" > source "package/python-pam/Config.in" > diff --git a/package/python-orjson/Config.in b/package/python-orjson/Config.in > new file mode 100644 > index 0000000000..fa96eee57d > --- /dev/null > +++ b/package/python-orjson/Config.in > @@ -0,0 +1,12 @@ > +config BR2_PACKAGE_PYTHON_ORJSON > + bool "python-orjson" > + depends on BR2_PACKAGE_PYTHON3 > + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS > + select BR2_PACKAGE_PYTHON_CFFI # runtime > + help > + orjson is a fast, correct JSON library for Python. It benchmarks as > + the fastest Python library for JSON and is more correct than the > + standard json library or other third-party libraries. It serializes > + dataclass, datetime, numpy, and UUID instances natively. > + > + https://github.com/ijl/orjson > diff --git a/package/python-orjson/python-orjson.hash b/package/python-orjson/python-orjson.hash > new file mode 100644 > index 0000000000..158099c174 > --- /dev/null > +++ b/package/python-orjson/python-orjson.hash > @@ -0,0 +1,3 @@ > +sha256 4713b120ad86b1b273f5952cbf9578c13d0f453064bd26d823e04a10c84824e6 3.6.7.tar.gz > +sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 LICENSE-APACHE > +sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/python-orjson/python-orjson.mk b/package/python-orjson/python-orjson.mk > new file mode 100644 > index 0000000000..91ead3b170 > --- /dev/null > +++ b/package/python-orjson/python-orjson.mk > @@ -0,0 +1,28 @@ > +################################################################################ > +# > +# python-orjson > +# > +################################################################################ > + > +PYTHON_ORJSON_VERSION = 3.6.7 > +PYTHON_ORJSON_SOURCE = $(PYTHON_ORJSON_VERSION).tar.gz > +PYTHON_ORJSON_SITE = https://github.com/ijl/orjson/archive/refs/tags Rather than the above two lines, keep the default tarball name (python-orjson-3.6.7.tar.gz) and use the github helper: PYTHON_ORJSON_SITE = $(call github,ijl,orjson,$(PYTHON_ORJSON_VERSION)) > +PYTHON_ORJSON_LICENSE = Apache-2.0 or MIT > +PYTHON_ORJSON_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > +PYTHON_ORJSON_DEPENDENCIES = host-python-cffi host-rustc host-rustc is already added by cargo-package. > +PYTHON_ORJSON_CARGO_ENV = \ > + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" > + > +# Vendor the Cargo crates at download time > +PYTHON_ORJSON_DOWNLOAD_POST_PROCESS = cargo > +PYTHON_ORJSON_DOWNLOAD_DEPENDENCIES = host-rustc These two are (or should be) added automatically already by the cargo infrastructure, so are unneeded. > +PYTHON_ORJSON_DL_ENV = BR_CARGO_MANIFEST_PATH=Cargo.toml This is the default, so unneeded. > + > +# orjson uses "maturin" to generate distribution packages - rather than teach > +# buildroot how to understand this, we reach in and install directly. > +define PYTHON_ORJSON_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 $(@D)/target/$(RUSTC_TARGET_NAME)/release/liborjson.so \ We normally add -D to the INSTALL arguments, so the target directory is created if it doesn't exist yet. > + $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/orjson.so > +endef > + > +$(eval $(cargo-package)) Regards, Arnout [1] http://elinux.org/Developer_Certificate_Of_Origin [2] https://buildroot.org/downloads/manual/manual.html#DEVELOPERS From arnout at mind.be Tue Apr 19 21:16:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 19 Apr 2022 23:16:43 +0200 Subject: [Buildroot] [RFC PATCH v1 0/1] New "docker" ready qemu config In-Reply-To: <20220414172857.35100-1-flaniel@linux.microsoft.com> References: <20220414172857.35100-1-flaniel@linux.microsoft.com> Message-ID: <6813316c-23f9-3521-1eca-df43f9205d34@mind.be> On 14/04/2022 19:28, Francis Laniel wrote: > Hi. > > > First, I hope you are fine and the same for your relatives. > > In this contribution, I added a new qemu config for x86_64. > This configuration is mainly based on qemu_x86_64_defconfig but it adds kernel > CONFIG_ to be able to use docker. > It also adds package related to docker like DOCKER_CLI and CONTAINERD. We don't like adding "demo" defconfigs that are basically another defconfig with some packages enabled. It's true that there is some value to knowing which combination of packages can provide a certain super-feature, but the problem is that the basic config (in this case, qemu_x86_64) is not going to be useful for most people. In this particular case, there isn't even that much "combination". Just docker-engine and docker-cli. The kernel config options do have value, but these should instead be set by containerd (or docker-engine, or docker-proxy, as appropriate), using CONTAINERD_LINUX_CONFIG_FIXUPS. Regards, Arnout > > The CONFIG_ options added were checked with moby check-config script [1]. > > I was able to build and execute the image with start-qemu.sh: > Welcome to Buildroot > buildroot login: root > # docker run --rm hello-world > Unable to find image 'hello-world:latest' locally > latest: Pulling from library/hello-world > 2db29710123e: Pull complete > Digest: sha256:10d7d58d5ebd2a652f4d93fdd86da8f265f5318c6a73cc5b6a9798ff6d2b2e67 > Status: Downloaded newer image for hello-world:latest > > Hello from Docker! > This message shows that your installation appears to be working correctly. > > Sadly, the image has to a bit big (more than 300M) but I think it is fine since > this image will only be used for virtualization. > > If you say any way to improve this contribution, feel free to share it! > > Francis Laniel (1): > qemu_x86_64_docker: add new qemu defconfig > > DEVELOPERS | 2 + > board/qemu/x86_64_docker/linux.config | 112 +++++++++++++++++++++++++ > board/qemu/x86_64_docker/post-build.sh | 11 +++ > board/qemu/x86_64_docker/readme.txt | 7 ++ > configs/qemu_x86_64_docker_defconfig | 49 +++++++++++ > 5 files changed, 181 insertions(+) > create mode 100644 board/qemu/x86_64_docker/linux.config > create mode 100755 board/qemu/x86_64_docker/post-build.sh > create mode 100644 board/qemu/x86_64_docker/readme.txt > create mode 100644 configs/qemu_x86_64_docker_defconfig > > > Best regards and thank you in advance. > --- > [1] https://github.com/moby/moby/blob/master/contrib/check-config.sh From gsmecher at threespeedlogic.com Tue Apr 19 21:24:46 2022 From: gsmecher at threespeedlogic.com (Graeme Smecher) Date: Tue, 19 Apr 2022 14:24:46 -0700 Subject: [Buildroot] package/python-orjson: new package Message-ID: <20220419212447.2441888-1-gsmecher@threespeedlogic.com> The python-orjson package is: [1] "[...] a fast, correct JSON library for Python. It benchmarks as the fastest Python library for JSON and is more correct than the standard json library or other third-party libraries. It serializes dataclass, datetime, numpy, and UUID instances natively." For buildroot (at least for my purposes), the ability to efficiently serialize numpy arrays is the distinguishing feature from other Python JSON libraries (of which, simplejson, json, and ujson are already packaged here.) 1: https://pypi.org/project/orjson/ Signed-off-by: Graeme Smecher From gsmecher at threespeedlogic.com Tue Apr 19 21:24:47 2022 From: gsmecher at threespeedlogic.com (Graeme Smecher) Date: Tue, 19 Apr 2022 14:24:47 -0700 Subject: [Buildroot] [PATCH] Adds python-orjson support. In-Reply-To: <20220419212447.2441888-1-gsmecher@threespeedlogic.com> References: <20220419212447.2441888-1-gsmecher@threespeedlogic.com> Message-ID: <20220419212447.2441888-2-gsmecher@threespeedlogic.com> --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/python-orjson/Config.in | 12 ++++++++++++ package/python-orjson/python-orjson.hash | 3 +++ package/python-orjson/python-orjson.mk | 22 ++++++++++++++++++++++ 5 files changed, 41 insertions(+) create mode 100644 package/python-orjson/Config.in create mode 100644 package/python-orjson/python-orjson.hash create mode 100644 package/python-orjson/python-orjson.mk diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..0846aac835 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -3058,3 +3058,6 @@ F: package/quazip/ F: package/shapelib/ F: package/simple-mail/ F: package/tinc/ + +N: Graeme Smecher +F: package/python-orjson/ diff --git a/package/Config.in b/package/Config.in index c599271c65..1494387c2e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1111,6 +1111,7 @@ menu "External python modules" source "package/python-numpy/Config.in" source "package/python-oauthlib/Config.in" source "package/python-opcua-asyncio/Config.in" + source "package/python-orjson/Config.in" source "package/python-packaging/Config.in" source "package/python-paho-mqtt/Config.in" source "package/python-paramiko/Config.in" diff --git a/package/python-orjson/Config.in b/package/python-orjson/Config.in new file mode 100644 index 0000000000..fa96eee57d --- /dev/null +++ b/package/python-orjson/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_ORJSON + bool "python-orjson" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_CFFI # runtime + help + orjson is a fast, correct JSON library for Python. It benchmarks as + the fastest Python library for JSON and is more correct than the + standard json library or other third-party libraries. It serializes + dataclass, datetime, numpy, and UUID instances natively. + + https://github.com/ijl/orjson diff --git a/package/python-orjson/python-orjson.hash b/package/python-orjson/python-orjson.hash new file mode 100644 index 0000000000..8f9cc2a7c9 --- /dev/null +++ b/package/python-orjson/python-orjson.hash @@ -0,0 +1,3 @@ +sha256 4713b120ad86b1b273f5952cbf9578c13d0f453064bd26d823e04a10c84824e6 python-orjson-3.6.7.tar.gz +sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 LICENSE-APACHE +sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/python-orjson/python-orjson.mk b/package/python-orjson/python-orjson.mk new file mode 100644 index 0000000000..5de4b2c5fa --- /dev/null +++ b/package/python-orjson/python-orjson.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# python-orjson +# +################################################################################ + +PYTHON_ORJSON_VERSION = 3.6.7 +PYTHON_ORJSON_SITE = $(call github,ijl,orjson,$(PYTHON_ORJSON_VERSION)) +PYTHON_ORJSON_LICENSE = Apache-2.0 or MIT +PYTHON_ORJSON_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT +PYTHON_ORJSON_DEPENDENCIES = host-python-cffi +PYTHON_ORJSON_CARGO_ENV = \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +# orjson uses "maturin" to generate distribution packages - rather than teach +# buildroot how to understand this, we reach in and install directly. +define PYTHON_ORJSON_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/target/$(RUSTC_TARGET_NAME)/release/liborjson.so \ + $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/orjson.so +endef + +$(eval $(cargo-package)) -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:46 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:46 +0200 Subject: [Buildroot] [PATCH 2/5] arch/Config.in: remove BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64* In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220419213450.887728-2-thomas.petazzoni@bootlin.com> Selecting BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64 and BR2_aarch64_be doesn't make much sense, because the actual ARM cores described in arch/Config.in.arm then all select BR2_ARCH_HAS_MMU_OPTIONAL. So we end up with both BR2_ARCH_HAS_MMU_OPTIONAL and BR2_ARCH_HAS_MMU_MANDATORY, which doesn't make any sense. To prevent this, we remove the selection of BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64 and BR2_aarch64_be, and let arch/Config.in.arm do its job. What arch/Config.in.arm does is currently incorrect, but it will be fixed in a separate commit. Signed-off-by: Thomas Petazzoni --- arch/Config.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index e51ef60f40..d0d8854c2d 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -60,7 +60,6 @@ config BR2_armeb config BR2_aarch64 bool "AArch64 (little endian)" select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY help Aarch64 is a 64-bit architecture developed by ARM Holdings. http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php @@ -69,7 +68,6 @@ config BR2_aarch64 config BR2_aarch64_be bool "AArch64 (big endian)" select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY help Aarch64 is a 64-bit architecture developed by ARM Holdings. http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:45 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:45 +0200 Subject: [Buildroot] [PATCH 1/5] arch/Config.in.sh: fixup MMU selection Message-ID: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> BR2_sh selects BR2_ARCH_HAS_MMU_OPTIONAL, which means that it's up to the user to decide whether he wants to use MMU or not on SuperH platforms. However: - On SH2A, there is no MMU at all, so being to select "Use MMU" doesn't make any sense. - On SH4, there is no support for *not* using the MMU, so disabling "Use MMU" will cause the build to fail. In order to fix this, we move the MMU selection to arch/Config.in.sh: - BR2_sh2a selects nothing, so that it's always noMMU - BR2_sh4* select BR2_ARCH_HAS_MMU_MANDATORY so that the MMU is always used. Fixes: http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20/ (FLAT selected with sh4aeb) http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9/ (FLAT selected with sh4a) http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06/ (FLAT selected with sh4) Signed-off-by: Thomas Petazzoni --- arch/Config.in | 1 - arch/Config.in.sh | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/Config.in b/arch/Config.in index 98b0e40d51..e51ef60f40 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -228,7 +228,6 @@ config BR2_s390x config BR2_sh bool "SuperH" - select BR2_ARCH_HAS_MMU_OPTIONAL help SuperH (or SH) is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by diff --git a/arch/Config.in.sh b/arch/Config.in.sh index c1ba449dd5..a012cbf491 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -9,12 +9,16 @@ config BR2_sh2a bool "sh2a (SH2A big endian)" config BR2_sh4 bool "sh4 (SH4 little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4eb bool "sh4eb (SH4 big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4a bool "sh4a (SH4A little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY endchoice config BR2_ARCH -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:47 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:47 +0200 Subject: [Buildroot] [PATCH 3/5] arch/Config.in.arm: re-organize MMU selection In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220419213450.887728-3-thomas.petazzoni@bootlin.com> So far, all ARM cores were selecting BR2_ARCH_HAS_MMU_OPTIONAL, except no-MMU cores which were selecting nothing. In practice, MMU-capable ARM cores are always used with their MMU enabled, so it doesn't make sense to support the use case of not using the MMU on such cores. Consequently, to simplify things, we group the MMU handling in the BR2_ARM_CPU_ARM* options: BR2_ARM_CPU_ARMV4, BR2_ARM_CPU_ARMV5, BR2_ARM_CPU_ARMV6, BR2_ARM_CPU_ARMV7A, BR2_ARM_CPU_ARMV8A all select BR2_ARCH_HAS_MMU_MANDATORY, while BR2_ARM_CPU_ARMV7M continues to select nothing, indicating that there is no MMU available at all. Fixes: http://autobuild.buildroot.net/results/33277d4687ca9a04dbfb02c50e5755ff9e55b0b4/ (FLAT selected on AArch64) http://autobuild.buildroot.net/results/5e34d11393e14fc36fd6e72b69679bc4fd1e3798/ (FLAT selected on AArch64 big-endian) Signed-off-by: Thomas Petazzoni --- arch/Config.in.arm | 59 ++++------------------------------------------ 1 file changed, 5 insertions(+), 54 deletions(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 85040ac89f..fa2e882550 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -73,21 +73,26 @@ config BR2_ARM_CPU_HAS_THUMB2 config BR2_ARM_CPU_ARMV4 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV5 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV6 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV7A bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV7M bool config BR2_ARM_CPU_ARMV8A bool + select BR2_ARCH_HAS_MMU_MANDATORY choice prompt "Target Architecture Variant" @@ -103,23 +108,19 @@ config BR2_arm920t select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm922t bool "arm922t" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_fa526 bool "fa526/626" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_strongarm bool "strongarm sa110/sa1100" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv5 cores" config BR2_arm926t @@ -128,18 +129,15 @@ config BR2_arm926t select BR2_ARM_CPU_MAYBE_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_iwmmxt bool "iwmmxt" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_xscale bool "xscale" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv6 cores" config BR2_arm1136j_s @@ -147,34 +145,29 @@ config BR2_arm1136j_s select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1136jf_s bool "arm1136jf-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1176jz_s bool "arm1176jz-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1176jzf_s bool "arm1176jzf-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm11mpcore bool "mpcore" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_MAYBE_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv7a cores" config BR2_cortex_a5 @@ -184,7 +177,6 @@ config BR2_cortex_a5 select BR2_ARM_CPU_MAYBE_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a7 bool "cortex-A7" select BR2_ARM_CPU_HAS_ARM @@ -192,7 +184,6 @@ config BR2_cortex_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a8 bool "cortex-A8" select BR2_ARM_CPU_HAS_ARM @@ -200,7 +191,6 @@ config BR2_cortex_a8 select BR2_ARM_CPU_HAS_VFPV3 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a9 bool "cortex-A9" select BR2_ARM_CPU_HAS_ARM @@ -208,7 +198,6 @@ config BR2_cortex_a9 select BR2_ARM_CPU_MAYBE_HAS_VFPV3 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a12 bool "cortex-A12" select BR2_ARM_CPU_HAS_ARM @@ -216,7 +205,6 @@ config BR2_cortex_a12 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a15 bool "cortex-A15" select BR2_ARM_CPU_HAS_ARM @@ -224,7 +212,6 @@ config BR2_cortex_a15 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a15_a7 bool "cortex-A15/A7 big.LITTLE" select BR2_ARM_CPU_HAS_ARM @@ -232,7 +219,6 @@ config BR2_cortex_a15_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 config BR2_cortex_a17 bool "cortex-A17" @@ -241,7 +227,6 @@ config BR2_cortex_a17 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_cortex_a17_a7 bool "cortex-A17/A7 big.LITTLE" @@ -250,14 +235,12 @@ config BR2_cortex_a17_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_pj4 bool "pj4" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV3 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv7m cores" config BR2_cortex_m3 @@ -286,7 +269,6 @@ config BR2_cortex_a32 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a35 bool "cortex-A35" @@ -295,7 +277,6 @@ config BR2_cortex_a35 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a53 bool "cortex-A53" @@ -304,7 +285,6 @@ config BR2_cortex_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a57 bool "cortex-A57" select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 @@ -312,7 +292,6 @@ config BR2_cortex_a57 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a57_a53 bool "cortex-A57/A53 big.LITTLE" select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 @@ -320,7 +299,6 @@ config BR2_cortex_a57_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a72 bool "cortex-A72" @@ -329,7 +307,6 @@ config BR2_cortex_a72 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_cortex_a72_a53 bool "cortex-A72/A53 big.LITTLE" @@ -338,7 +315,6 @@ config BR2_cortex_a72_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a73 bool "cortex-A73" @@ -347,7 +323,6 @@ config BR2_cortex_a73 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_cortex_a73_a35 bool "cortex-A73/A35 big.LITTLE" @@ -356,7 +331,6 @@ config BR2_cortex_a73_a35 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_cortex_a73_a53 bool "cortex-A73/A53 big.LITTLE" @@ -365,14 +339,12 @@ config BR2_cortex_a73_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_emag bool "emag" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_exynos_m1 bool "exynos-m1" @@ -381,63 +353,54 @@ config BR2_exynos_m1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_falkor bool "falkor" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_phecda bool "phecda" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_qdf24xx bool "qdf24xx" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_thunderx bool "thunderx (aka octeontx)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_thunderxt81 bool "thunderxt81 (aka octeontx81)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt83 bool "thunderxt83 (aka octeontx83)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt88 bool "thunderxt88" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt88p1 bool "thunderxt88p1" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_xgene1 bool "xgene1" @@ -446,7 +409,6 @@ config BR2_xgene1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 comment "armv8.1a cores" @@ -455,21 +417,18 @@ config BR2_thunderx2t99 depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderx2t99p1 bool "thunderx2t99p1" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_vulcan bool "vulcan" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 comment "armv8.2a cores" @@ -478,21 +437,18 @@ config BR2_cortex_a55 depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a75 bool "cortex-A75" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a75_a55 bool "cortex-A75/A55 big.LITTLE" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a76 bool "cortex-A76" @@ -501,7 +457,6 @@ config BR2_cortex_a76 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_cortex_a76_a55 bool "cortex-A76/A55 big.LITTLE" @@ -510,7 +465,6 @@ config BR2_cortex_a76_a55 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_neoverse_n1 bool "neoverse-N1 (aka ares)" @@ -519,14 +473,12 @@ config BR2_neoverse_n1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_tsv110 bool "tsv110" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 comment "armv8.4a cores" @@ -535,7 +487,6 @@ config BR2_saphira depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 endchoice -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:49 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:49 +0200 Subject: [Buildroot] [PATCH 5/5] arch/Config.in.sh: move BR2_ARCH_HAS_MMU_MANDATORY one level up In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220419213450.887728-5-thomas.petazzoni@bootlin.com> Now that all SuperH cores have a MMU, and must use it, move back the select BR2_ARCH_HAS_MMU_MANDATORY one level up. Signed-off-by: Thomas Petazzoni --- arch/Config.in | 1 + arch/Config.in.sh | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index d0d8854c2d..49e16fce38 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -226,6 +226,7 @@ config BR2_s390x config BR2_sh bool "SuperH" + select BR2_ARCH_HAS_MMU_MANDATORY help SuperH (or SH) is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by diff --git a/arch/Config.in.sh b/arch/Config.in.sh index f00954bb5e..d3acc8ccf8 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -7,16 +7,12 @@ choice config BR2_sh4 bool "sh4 (SH4 little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4eb bool "sh4eb (SH4 big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4a bool "sh4a (SH4A little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY endchoice config BR2_ARCH -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 19 21:34:48 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 19 Apr 2022 23:34:48 +0200 Subject: [Buildroot] [PATCH 4/5] arch: drop support for SH2A In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220419213450.887728-4-thomas.petazzoni@bootlin.com> Until commit "arch/Config.in.sh: fixup MMU selection" in this series, SH2A could either be used with BR2_USE_MMU disabled or BR2_USE_MMU enabled. The later made absolutely no sense, since SH2A does not have a MMU: MMU support was introduced starting from SH3 according to https://en.wikipedia.org/wiki/SuperH#SH-3 Also, since commit 22d5501e03b019218b718b5de7ca74824a8eaf42 ("arch: tidy up binary formats config"), which was merged in Buildroot 2015.05, the architecture tuple used when BR2_sh2a=y and BR2_USE_MMU disabled is sh2a-buildroot-uclinux-uclibc, and this was already unsupported back in the days of Buildroot 2015.08 and binutils 2.24, causing the build to fail with: *** BFD does not support target sh2a-buildroot-uclinux-uclibc. just like it fails to build today with recent version of binutils. So, this has been broken since 2015.08, and nobody complained. SH2A is seldomly used, so it's time to kill. It is worth mentioning that there has been an attempt at resurrecting SH2 support around 2015 (see https://lwn.net/Articles/647636/) as part of the J2 core. This effort led to the addition of FDPIC support for SH2A in the musl C library (and therefore proper ELF binaries, with shared libraries), but that was never supported in Buildroot. Now that the J2 project is essentially dead, there is no reason to bother with this. Fixes: http://autobuild.buildroot.net/results/63d01d33ae30f86b63b9f42a9fea116f2f3e9005/ Signed-off-by: Thomas Petazzoni --- Config.in.legacy | 7 +++++++ arch/Config.in.sh | 5 +---- package/uclibc/Config.in | 1 - toolchain/toolchain-buildroot/Config.in | 2 +- utils/genrandconfig | 9 +++------ 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27f19f14e7..1578ffd016 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2022.05" +config BR2_sh2a + bool "sh2a architecture support removed" + select BR2_LEGACY + help + The SuperH 2A (SH2A) architecture was not maintained, and + broken, so its support was dropped. + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/arch/Config.in.sh b/arch/Config.in.sh index a012cbf491..f00954bb5e 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -5,8 +5,6 @@ choice help Specific CPU variant to use -config BR2_sh2a - bool "sh2a (SH2A big endian)" config BR2_sh4 bool "sh4 (SH4 little endian)" select BR2_ARCH_HAS_MMU_MANDATORY @@ -22,7 +20,6 @@ config BR2_sh4aeb endchoice config BR2_ARCH - default "sh2a" if BR2_sh2a default "sh4" if BR2_sh4 default "sh4eb" if BR2_sh4eb default "sh4a" if BR2_sh4a @@ -33,7 +30,7 @@ config BR2_NORMALIZED_ARCH config BR2_ENDIAN default "LITTLE" if BR2_sh4 || BR2_sh4a - default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb + default "BIG" if BR2_sh4eb || BR2_sh4aeb config BR2_READELF_ARCH_NAME default "Renesas / SuperH SH" diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in index 2091166b62..310414bebc 100644 --- a/package/uclibc/Config.in +++ b/package/uclibc/Config.in @@ -124,7 +124,6 @@ config BR2_UCLIBC_MIPS_NAN config BR2_UCLIBC_SH_TYPE string - default "SH2A" if BR2_sh2a default "SH4" if BR2_sh4 || BR2_sh4eb depends on BR2_UCLIBC_TARGET_ARCH = "sh" diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in index 4004c0edf8..be89f68ab5 100644 --- a/toolchain/toolchain-buildroot/Config.in +++ b/toolchain/toolchain-buildroot/Config.in @@ -31,7 +31,7 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC BR2_arm || BR2_armeb || \ BR2_i386 || BR2_m68k || BR2_microblaze || \ BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ - BR2_or1k || BR2_powerpc || BR2_RISCV_64 || BR2_sh2a || \ + BR2_or1k || BR2_powerpc || BR2_RISCV_64 || \ BR2_sh4 || BR2_sh4eb || BR2_sparc || BR2_xtensa || \ BR2_x86_64 select BR2_TOOLCHAIN_USES_UCLIBC diff --git a/utils/genrandconfig b/utils/genrandconfig index 59fe34e58d..adefb8f502 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -237,12 +237,9 @@ def fixup_config(sysinfo, configfile): if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: return False - # libffi not available on sh2a and ARMv7-M, but propagating libffi - # arch dependencies in Buildroot is really too much work, so we - # handle this here. - if 'BR2_sh2a=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False + # libffi not available on ARMv7-M, but propagating libffi arch + # dependencies in Buildroot is really too much work, so we handle + # this here. if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ 'BR2_PACKAGE_LIBFFI=y\n' in configlines: return False -- 2.35.1 From fperrad at gmail.com Wed Apr 20 07:25:30 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:25:30 +0200 Subject: [Buildroot] [PATCH] package/enchant: bump to version 2.3.3 Message-ID: <20220420072530.3422018-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/enchant/enchant.hash | 2 +- package/enchant/enchant.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/enchant/enchant.hash b/package/enchant/enchant.hash index 9df5316aa..36ac4e07b 100644 --- a/package/enchant/enchant.hash +++ b/package/enchant/enchant.hash @@ -1,3 +1,3 @@ # locally computed -sha256 ce9ba47fd4d34031bd69445598a698a6611602b2b0e91d705e91a6f5099ead6e enchant-2.3.2.tar.gz +sha256 3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891 enchant-2.3.3.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/enchant/enchant.mk b/package/enchant/enchant.mk index e00fcb25e..ee6f06195 100644 --- a/package/enchant/enchant.mk +++ b/package/enchant/enchant.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENCHANT_VERSION = 2.3.2 +ENCHANT_VERSION = 2.3.3 ENCHANT_SITE = \ https://github.com/AbiWord/enchant/releases/download/v$(ENCHANT_VERSION) ENCHANT_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:25:48 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:25:48 +0200 Subject: [Buildroot] [PATCH] package/janet: bump to version 1.21.2 Message-ID: <20220420072548.3422167-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/janet/janet.hash | 2 +- package/janet/janet.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/janet/janet.hash b/package/janet/janet.hash index 50e6b1fef..aff8e95bb 100644 --- a/package/janet/janet.hash +++ b/package/janet/janet.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 02ff892f4bfc060a8a37f4a5c3e659bf34ba5f1f1c5eb07d60dc2642c5cf0476 janet-1.19.2.tar.gz +sha256 52db8d18f93351256d0731810e8bea95516db8142f51eeb31664f7884bf63088 janet-1.21.2.tar.gz # Locally calculated sha256 e2d2ae8360d95386af751ac7d1a3da36ea8ceb230e5f0eba7eb762547b1c58c9 LICENSE diff --git a/package/janet/janet.mk b/package/janet/janet.mk index 5b6a9a182..24a0f8603 100644 --- a/package/janet/janet.mk +++ b/package/janet/janet.mk @@ -4,7 +4,7 @@ # ################################################################################ -JANET_VERSION = 1.19.2 +JANET_VERSION = 1.21.2 JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION)) JANET_LICENSE = MIT JANET_LICENSE_FILES = LICENSE -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:26:09 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:26:09 +0200 Subject: [Buildroot] [PATCH] package/libarchive: bump to version 3.6.1 Message-ID: <20220420072609.3422227-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libarchive/libarchive.hash | 2 +- package/libarchive/libarchive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libarchive/libarchive.hash b/package/libarchive/libarchive.hash index 5dd8e5c16..ca580b497 100644 --- a/package/libarchive/libarchive.hash +++ b/package/libarchive/libarchive.hash @@ -1,4 +1,4 @@ # From https://www.libarchive.de/downloads/sha256sums -sha256 5cac725dd4be31c4a10b65d30f29dc957ea29ef3d758df6e46e8ae90a996a19a libarchive-3.5.3.tar.xz +sha256 5a411aceb978f43e626f0c2d1812ddd8807b645ed892453acabd532376c148e6 libarchive-3.6.1.tar.xz # Locally computed: sha256 b2cdf763345de2de34cebf54394df3c61a105c3b71288603c251f2fa638200ba COPYING diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index cf16c27e6..865f605e2 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBARCHIVE_VERSION = 3.5.3 +LIBARCHIVE_VERSION = 3.6.1 LIBARCHIVE_SOURCE = libarchive-$(LIBARCHIVE_VERSION).tar.xz LIBARCHIVE_SITE = https://www.libarchive.de/downloads LIBARCHIVE_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:26:24 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:26:24 +0200 Subject: [Buildroot] [PATCH] package/luajit: bump to version f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 Message-ID: <20220420072624.3422282-1-francois.perrad@gadz.org> diff COPYRIGHT: -Copyright (C) 2005-2021 Mike Pall. All rights reserved. +Copyright (C) 2005-2022 Mike Pall. All rights reserved. Signed-off-by: Francois Perrad --- package/luajit/luajit.hash | 4 ++-- package/luajit/luajit.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/luajit/luajit.hash b/package/luajit/luajit.hash index d92eefb39..cfc00e852 100644 --- a/package/luajit/luajit.hash +++ b/package/luajit/luajit.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 7ea92e2414b6405c7fb3974ab092707c400a5496e8d4936174b5bd3aa6e94477 luajit-a91d0d9d3bba1a936669cfac3244509a0f2ac0e3.tar.gz +sha256 e3f9c04e82d5c776335dfb4e53ec1532914ab010b60bffbb0176a8390f100666 luajit-f2b37f51f69ba7e9f8defd05e5aca648121f0fe6.tar.gz # Locally calculated -sha256 43fc251179d900f9948e51dd3cc93733d1219f2db060faaa0c8100ad054f54d8 COPYRIGHT +sha256 52fc5b15ac968ed81aabb4c1e23ab3bce50f57a5764e9cdca86b463a11072921 COPYRIGHT diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index cca806309..6155cbba8 100644 --- a/package/luajit/luajit.mk +++ b/package/luajit/luajit.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUAJIT_VERSION = a91d0d9d3bba1a936669cfac3244509a0f2ac0e3 +LUAJIT_VERSION = f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 LUAJIT_SITE = $(call github,LuaJIT,LuaJIT,$(LUAJIT_VERSION)) LUAJIT_LICENSE = MIT LUAJIT_LICENSE_FILES = COPYRIGHT -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:26:41 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:26:41 +0200 Subject: [Buildroot] [PATCH] package/pango: bump to version 1.50.7 Message-ID: <20220420072641.3422337-1-francois.perrad@gadz.org> remove merged patch Signed-off-by: Francois Perrad --- ...-utils-viewer-cairo-c-fix-empty-body.patch | 40 ------------------- package/pango/pango.hash | 4 +- package/pango/pango.mk | 2 +- 3 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch deleted file mode 100644 index 4b7b5f9b1..000000000 --- a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 29 Mar 2022 21:39:03 +0000 -Subject: [PATCH] utils/viewer-cairo.c: fix empty-body - -Fix the following build failure raised -since version 1.50.5 and -https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: - -../utils/viewer-cairo.c: In function 'cairo_vector_view_create': -../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] - ; - ^ - -Fixes: - - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] ---- - utils/viewer-cairo.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c -index ca98c1cd..f15b3fb9 100644 ---- a/utils/viewer-cairo.c -+++ b/utils/viewer-cairo.c -@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) - return NULL; - - if (0) -- ; -+ {} - #ifdef CAIRO_HAS_SVG_SURFACE - else if (0 == g_ascii_strcasecmp (extension, "svg")) - constructor = cairo_svg_surface_create; --- -GitLab - diff --git a/package/pango/pango.hash b/package/pango/pango.hash index fecf36853..7864df7a2 100644 --- a/package/pango/pango.hash +++ b/package/pango/pango.hash @@ -1,5 +1,5 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum -sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.7.sha256sum +sha256 0477f369a3d4c695df7299a6989dc004756a7f4de27eecac405c6790b7e3ad33 pango-1.50.7.tar.xz # Locally computed sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/package/pango/pango.mk b/package/pango/pango.mk index c264e7674..c1c7ceeed 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -5,7 +5,7 @@ ################################################################################ PANGO_VERSION_MAJOR = 1.50 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).7 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Wed Apr 20 07:26:55 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 20 Apr 2022 09:26:55 +0200 Subject: [Buildroot] [PATCH] package/pcre2: bump to version 10.40 Message-ID: <20220420072655.3422392-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/pcre2/pcre2.hash | 4 ++-- package/pcre2/pcre2.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash index 3e6299f80..e4f798074 100644 --- a/package/pcre2/pcre2.hash +++ b/package/pcre2/pcre2.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature: -# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.bz2.sig -sha256 0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440 pcre2-10.39.tar.bz2 +# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2.sig +sha256 14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 pcre2-10.40.tar.bz2 # Locally computed sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE diff --git a/package/pcre2/pcre2.mk b/package/pcre2/pcre2.mk index adcfaf1ca..043f6d866 100644 --- a/package/pcre2/pcre2.mk +++ b/package/pcre2/pcre2.mk @@ -4,7 +4,7 @@ # ################################################################################ -PCRE2_VERSION = 10.39 +PCRE2_VERSION = 10.40 PCRE2_SITE = https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$(PCRE2_VERSION) PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2 PCRE2_LICENSE = BSD-3-Clause -- 2.32.0 From yegorslists at googlemail.com Wed Apr 20 08:17:09 2022 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Wed, 20 Apr 2022 10:17:09 +0200 Subject: [Buildroot] config.in: full stop at the end of the help text Message-ID: Hi all, should a full stop at the end of a help text in the Config.in [1] be a requirement? Which term is more preferable: "full stop" or "period"? [1] https://nightly.buildroot.org/manual.html#writing-rules-config-in Regards, Yegor From fontaine.fabrice at gmail.com Wed Apr 20 08:19:39 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 20 Apr 2022 10:19:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/wolfssl: all features needs dynamic library Message-ID: <20220420081939.295448-1-fontaine.fabrice@gmail.com> Add dynamic library dependency to BR2_PACKAGE_WOLFSSL_ALL to fix the following static build failure with ibrdtnd, a "wolfssl all"-enabled libcurl and openssl: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/opt/ext-toolchain/bin/../lib/gcc/sh4aeb-buildroot-linux-musl/11.2.0/../../../../sh4aeb-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/bin/../sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libssl.a(ssl_ciph.o): in function `SSL_COMP_get_compression_methods': ssl_ciph.c:(.text+0x25ac): multiple definition of `SSL_COMP_get_compression_methods'; /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libwolfssl.a(libwolfssl_la-ssl.o):ssl.c:(.text+0x1ca60): first defined here Fixes: - http://autobuild.buildroot.org/results/be1d327ed4c91a6280a88906a399dfe146f0b64e Signed-off-by: Fabrice Fontaine --- package/libcurl/Config.in | 5 +++++ package/libuhttpd/Config.in | 3 ++- package/libuhttpd/libuhttpd.mk | 2 +- package/wolfssl/Config.in | 4 ++++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index f2ddce6e81..84ad18211a 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -78,8 +78,13 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS config BR2_PACKAGE_LIBCURL_WOLFSSL bool "WolfSSL" depends on BR2_PACKAGE_WOLFSSL + depends on !BR2_STATIC_LIBS # wolfssl-all select BR2_PACKAGE_WOLFSSL_ALL +comment "WolfSSL needs a toolchain w/ dynamic library" + depends on BR2_PACKAGE_WOLFSSL + depends on BR2_STATIC_LIBS + endchoice comment "A TLS library is needed for SSL/TLS support" diff --git a/package/libuhttpd/Config.in b/package/libuhttpd/Config.in index 97fc984ea0..a552a88f0c 100644 --- a/package/libuhttpd/Config.in +++ b/package/libuhttpd/Config.in @@ -3,7 +3,8 @@ config BR2_PACKAGE_LIBUHTTPD depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 select BR2_PACKAGE_LIBEV - select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL + select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL && \ + !BR2_STATIC_LIBS help A lightweight and fully asynchronous HTTP server library based on libev diff --git a/package/libuhttpd/libuhttpd.mk b/package/libuhttpd/libuhttpd.mk index b8cf935d01..0d5306c6dd 100644 --- a/package/libuhttpd/libuhttpd.mk +++ b/package/libuhttpd/libuhttpd.mk @@ -18,7 +18,7 @@ LIBUHTTPD_CONF_OPTS += \ -DUSE_MBEDTLS=OFF \ -DUSE_OPENSSL=ON \ -DUSE_WOLFSSL=OFF -else ifeq ($(BR2_PACKAGE_WOLFSSL),y) +else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y) LIBUHTTPD_DEPENDENCIES += wolfssl LIBUHTTPD_CONF_OPTS += \ -DSSL_SUPPORT=ON \ diff --git a/package/wolfssl/Config.in b/package/wolfssl/Config.in index 3c6d68f592..3a97125e8d 100644 --- a/package/wolfssl/Config.in +++ b/package/wolfssl/Config.in @@ -13,9 +13,13 @@ if BR2_PACKAGE_WOLFSSL config BR2_PACKAGE_WOLFSSL_ALL bool "enable all features, except SSLv3" + depends on !BR2_STATIC_LIBS help Enable all wolfSSL features, except SSL version 3.0 support. +comment "all features, except SSLv3 needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_WOLFSSL_SSLV3 bool "enable SSLv3" help -- 2.35.1 From thomas.perrot at bootlin.com Wed Apr 20 08:39:16 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Wed, 20 Apr 2022 10:39:16 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: add new package In-Reply-To: <20220419142635.008ac004@windsurf> References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-3-thomas.perrot@bootlin.com> <20220419142635.008ac004@windsurf> Message-ID: Hello Thomas, On Tue, 2022-04-19 at 14:26 +0200, Thomas Petazzoni via buildroot wrote: > Hello Thomas, > > On Tue, 19 Apr 2022 11:21:51 +0200 > Thomas Perrot wrote: > > > ?N:?????Thomas Perrot > > ?F:?????package/byacc > > +F:?????package/imx-cst > > Trailing slash needed. > > > diff --git a/package/imx-cst/Config.in.host b/package/imx- > > cst/Config.in.host > > new file mode 100644 > > index 000000000000..84cb825e59cf > > --- /dev/null > > +++ b/package/imx-cst/Config.in.host > > @@ -0,0 +1,8 @@ > > +config BR2_PACKAGE_HOST_IMX_CST > > +???????bool "host imx-cst" > > +???????help > > +???????? I.MX code signing tool provides software code signing > > +???????? support designed that integrate the HABv4 and AHAB > > +???????? library. > > + > > +???????? > > https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL > > When I go to this page, I need to agree to a "SOFTWARE LICENSE > AGREEMENT i.MX CODE SIGNING TOOL", but then your .mk is pointing to a > non-NXP Git repository, and you state the license is BSD-3-Clause. > > > +# debian/3.3.1+dfsg-2 > > +IMX_CST_SITE = > > https://gitlab.apertis.org/pkg/imx-code-signing-tool.git > > What is this location? Just someone who put the NXP code online? Or a > separate implementation? NXP code has been put by Debian maintainers. > > > +IMX_CST_SITE_METHOD = git > > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > > +IMX_CST_LICENSE = BSD-3-Clause > > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 > > There are two other license files in this Git repo, the hidapi > license > and the OpenSSL license. You are confident they are not relevant? > Would > be worth explaining that. I think it is correct because from source the file "Software_Content_Register_CST.txt" indicates that the outgoing license is BSD-3-Clause, and Debian also use this BSD license. Kind regards, Thomas Perrot > > > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > > + > > +define HOST_IMX_CST_BUILD_CMDS > > +???????$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > > +???????????????OSTYPE=linux64 \ > > Would be useful to explain why linux64 is fine even on 32-bit host > platforms. Actually, when I look at > https://gitlab.apertis.org/pkg/imx-code-signing-tool/-/blob/apertis/v2023dev2/code/cst/code/obj.linux64/Makefile > I believe that using OSTYPE=linux64 on 32-bit host machines will not > work, as it adds -m64 to the compiler flags. > > > +???????????????ENCRYPTION=yes \ > > +???????????????COPTIONS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > > +???????????????LDFLAGS="$(HOST_LDFLAGS) -lcrypto" \ > > +???????????????PWD=$(@D)/code/cst \ > > +???????????????CC="$(CC) -I../../code/common/hdr \ > > +???????????????????????-I../../code/back_end/hdr \ > > +???????????????????????-I../../code/srktool/hdr \ > > +???????????????????????-I../../code/front_end/hdr \ > > +???????????????????????-I../../code/convlb/hdr" \ > > This looks strange. Flags are normally passed using CFLAGS, and $(CC) > in Buildroot doesn't exist, it's $(HOSTCC) that should be used. > > Also, I think the list of header paths is properly set with: > > CINCLUDES := $(SUBSYS:%=-I$(CST_CODE_PATH)/%/hdr) > > but it gets overridden by the fact that you override CFLAGS. > > I believe there's a better way, let me have a look. > > > +???????????????LD=$(CC) \ > > $(CC) doesn't exist, it should be $(HOSTCC). > > > +???????????????-C $(@D)/code/cst \ > > +???????????????build > > Best regards, > > Thomas -- Thomas Perrot, Bootlin Embedded Linux and kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: This is a digitally signed message part URL: From thomas.perrot at bootlin.com Wed Apr 20 08:39:22 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Wed, 20 Apr 2022 10:39:22 +0200 Subject: [Buildroot] [PATCH v2 1/2] package/byacc: new package Message-ID: <20220420083923.3875405-1-thomas.perrot@bootlin.com> This package provides a Berkeley LALR Yacc parser generator that has been use by i.MX Code Signing tool. Signed-off-by: Thomas Perrot --- Changes v2: - Remove Config.in.host - Add a trailing slash - Add a comment about HOST_BYACC_CONF_OPTS DEVELOPERS | 3 +++ package/byacc/byacc.hash | 3 +++ package/byacc/byacc.mk | 16 ++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/byacc/byacc.hash create mode 100644 package/byacc/byacc.mk diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58fec..6e49334dcc42 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2765,6 +2765,9 @@ F: package/frotz/ F: package/kvm-unit-tests/ F: package/xorcurses/ +N: Thomas Perrot +F: package/byacc/ + N: Thomas Petazzoni F: arch/Config.in.arm F: board/beaglev/ diff --git a/package/byacc/byacc.hash b/package/byacc/byacc.hash new file mode 100644 index 000000000000..d2ad441df39f --- /dev/null +++ b/package/byacc/byacc.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c byacc-20220128.tgz +sha256 654a231fe9cd4d36e580214962fa777a1df0771d6889cfc74d19a3d414f14711 LICENSE diff --git a/package/byacc/byacc.mk b/package/byacc/byacc.mk new file mode 100644 index 000000000000..648dc9a040ca --- /dev/null +++ b/package/byacc/byacc.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# byacc +# +################################################################################ + +BYACC_SITE = https://invisible-mirror.net/archives/byacc +BYACC_VERSION = 20220128 +BYACC_SOURCE = byacc-$(BYACC_VERSION).tgz +BYACC_LICENSE = Public Domain +BYACC_LICENSE_FILES = LICENSE + +# To name byacc instead of yacc the binary built. +HOST_BYACC_CONF_OPTS = --program-transform-name='s,^,b,' + +$(eval $(host-autotools-package)) -- 2.35.1 From thomas.perrot at bootlin.com Wed Apr 20 08:39:23 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Wed, 20 Apr 2022 10:39:23 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <20220420083923.3875405-1-thomas.perrot@bootlin.com> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> Message-ID: <20220420083923.3875405-2-thomas.perrot@bootlin.com> This package provides i.MX Code Signing Tools uses to sign i.MX bootloader to enable secure boot (HABv4 and AHAB). Signed-off-by: Thomas Perrot --- Changes v2: - - Add a trailing slash - Preserve CFLAGS and LDFLAGS DEVELOPERS | 1 + package/Config.in.host | 1 + package/imx-cst/Config.in.host | 8 ++++++ package/imx-cst/imx-cst.hash | 3 +++ package/imx-cst/imx-cst.mk | 49 ++++++++++++++++++++++++++++++++++ 5 files changed, 62 insertions(+) create mode 100644 package/imx-cst/Config.in.host create mode 100644 package/imx-cst/imx-cst.hash create mode 100644 package/imx-cst/imx-cst.mk diff --git a/DEVELOPERS b/DEVELOPERS index 6e49334dcc42..86cb04e54e5d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2767,6 +2767,7 @@ F: package/xorcurses/ N: Thomas Perrot F: package/byacc/ +F: package/imx-cst/ N: Thomas Petazzoni F: arch/Config.in.arm diff --git a/package/Config.in.host b/package/Config.in.host index cd1c34b5a3d9..282594b40b8d 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -40,6 +40,7 @@ menu "Host utilities" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" + source "package/imx-cst/Config.in.host" source "package/imx-mkimage/Config.in.host" source "package/imx-usb-loader/Config.in.host" source "package/jh71xx-tools/Config.in.host" diff --git a/package/imx-cst/Config.in.host b/package/imx-cst/Config.in.host new file mode 100644 index 000000000000..84cb825e59cf --- /dev/null +++ b/package/imx-cst/Config.in.host @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HOST_IMX_CST + bool "host imx-cst" + help + I.MX code signing tool provides software code signing + support designed that integrate the HABv4 and AHAB + library. + + https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL diff --git a/package/imx-cst/imx-cst.hash b/package/imx-cst/imx-cst.hash new file mode 100644 index 000000000000..9c27bfe82038 --- /dev/null +++ b/package/imx-cst/imx-cst.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2bcc03c7cedba58f7207a72a28e75cfe78007988d68c1095c793cce991c2936e imx-cst-e2c687a856e6670e753147aacef42d0a3c07891a-br1.tar.gz +sha256 5dee6f54c636a97b15d7e9dfc8075248c36764b3819828cbc94cbd17c1755fb9 LICENSE.bsd3 diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx-cst.mk new file mode 100644 index 000000000000..c91dfb602cbf --- /dev/null +++ b/package/imx-cst/imx-cst.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# imx-cst +# +################################################################################ + +# debian/3.3.1+dfsg-2 +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git +IMX_CST_SITE_METHOD = git +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a +IMX_CST_LICENSE = BSD-3-Clause +IMX_CST_LICENSE_FILES = LICENSE.bsd3 + +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl + +ifneq ($(filter %64,$(HOSTARCH)),) +HOST_IMX_CST_OSTYPE = linux64 +else +HOST_IMX_CST_OSTYPE = linux32 +endif + +# We don't use HOST_CONFIGURE_OPTS when building cst, because we need +# to preserve the CFLAGS/LDFLAGS used by their Makefile. +define HOST_IMX_CST_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) \ + OSTYPE=$(HOST_IMX_CST_OSTYPE) \ + ENCRYPTION=yes \ + AR="$(HOSTAR)" \ + CC="$(HOSTCC)" \ + LD="$(HOSTCC)" \ + OBJCOPY="$(HOSTOBJCOPY)" \ + RANLIB="$(HOSTRANLIB)" \ + EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ + EXTRALDFLAGS="$(HOST_LDFLAGS)" \ + PWD=$(@D)/code/cst \ + -C $(@D)/code/cst \ + build + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ + COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ + -C $(@D)/code/hab_csf_parser +endef + +define HOST_IMX_CST_INSTALL_CMDS + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst $(HOST_DIR)/bin/cst + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool + $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser +endef + +$(eval $(host-generic-package)) -- 2.35.1 From havran.jan at email.cz Wed Apr 20 09:13:45 2022 From: havran.jan at email.cz (Jan Havran) Date: Wed, 20 Apr 2022 11:13:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind In-Reply-To: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> References: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> Message-ID: V?Tue, Apr 19, 2022 at 06:11:30PM +0200,?Fabrice Fontaine napsal(a): > Untar internal bind so libtool patches will be applied on bind's > libtool. This will fix: > - installation of some libraries such as libisccfg. Indeed, if libtool > is not patched those libraries will be "relinked" and so not > installed. > - build failures with riscv and or1k: > > Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized > > Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized > > Fixes: > - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 > - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e > > Signed-off-by: Fabrice Fontaine With this patch I no longer get following error and dhcp works for me: dhclient: error while loading shared libraries: libisccfg.so.163: cannot open shared object file: No such file or directory Tested on ARM/PineCube. Tested-by: Jan Havran > --- > package/dhcp/dhcp.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index e6f4c419f4..f815c6c802 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc > # internal bind does not support parallel builds. > DHCP_MAKE = $(MAKE1) > > +# untar internal bind so libtool patches will be applied on bind's libtool > +define DHCP_UNTAR_INTERNAL_BIND > + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ > +endef > + > +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND > + > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > cp $(@D)/configure.ac+lt $(@D)/configure.ac > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From nunojpg at gmail.com Wed Apr 20 11:24:30 2022 From: nunojpg at gmail.com (=?UTF-8?Q?Nuno_Gon=C3=A7alves?=) Date: Wed, 20 Apr 2022 12:24:30 +0100 Subject: [Buildroot] [PATCH] package/gcc: don't install libstdc++.so.a.b.c-gdb.py Message-ID: libstdc++.so.a.b.c-gdb.py is not required and in any case it is currently using host paths and so not functional. Signed-off-by: Nuno Gon?alves --- package/gcc/gcc-final/gcc-final.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index aa883beb7b..5018f3a6c1 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -199,6 +199,7 @@ endef ifeq ($(BR2_STATIC_LIBS),) define HOST_GCC_FINAL_INSTALL_SHARED_LIBS + rm -f $(HOST_GCC_FINAL_GCC_LIB_DIR)/libstdc++.so*-gdb.py ; \ for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \ cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/$${i}.so* \ $(STAGING_DIR)/usr/lib/ ; \ -- 2.32.0 From thomas.petazzoni at bootlin.com Wed Apr 20 11:25:47 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 20 Apr 2022 13:25:47 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: add new package In-Reply-To: References: <20220419092151.91638-1-thomas.perrot@bootlin.com> <20220419092151.91638-3-thomas.perrot@bootlin.com> <20220419142635.008ac004@windsurf> Message-ID: <20220420132541.7aad1182@windsurf> Hello, On Wed, 20 Apr 2022 10:39:16 +0200 Thomas Perrot wrote: > > What is this location? Just someone who put the NXP code online? Or a > > separate implementation? > > NXP code has been put by Debian maintainers. OK. > I think it is correct because from source the file > "Software_Content_Register_CST.txt" indicates that the outgoing license > is BSD-3-Clause, and Debian also use this BSD license. Indeed, it seems OK. Maybe it would have been useful to have those details somewhere (in the commit log perhaps)? But it's probably not worth sending another iteration just for this. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Wed Apr 20 12:12:02 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 20 Apr 2022 14:12:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop tagged layout Message-ID: <20220420121202.1074548-1-fontaine.fabrice@gmail.com> Drop boost tagged layout which raises the following build failure with botan or libcpprestsdk: /nvmedata/autobuild/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: cannot find -lboost_system CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost (missing: random system thread filesystem chrono atomic date_time regex) (found version "1.78.0") While at it: - drop BR2_PACKAGE_BOOST_LAYOUT and BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - move --layout=system, --ignore-site-config, --user-config=$(@D)/user-config.jam, -j$(PARALLEL_JOBS), -q and --prefix=$(HOST_DIR) to BOOST_OPTS and HOST_BOOST_OPTS - drop parentheses to avoid spawning a useless sub-shell - use b2 everywhere instead of mixing b2 and tools/build/src/engine/bjam - drop uneeded 'echo "" >> $(@D)/user-config.jam' Fixes: - http://autobuild.buildroot.org/results/f237c9345faf8c28f3c73f7d8acb49271fe61780 - http://autobuild.buildroot.org/results/a73225e40fa29bc3b24f36a86719e80c8e469d1f Signed-off-by: Fabrice Fontaine --- Config.in.legacy | 13 ++++++++++ package/boost/Config.in | 27 --------------------- package/boost/boost.mk | 53 ++++++++++++++--------------------------- 3 files changed, 31 insertions(+), 62 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27f19f14e7..a4811831f3 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,19 @@ endif comment "Legacy options removed in 2022.05" +config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM + bool "boost system layout removed" + select BR2_LEGACY + help + Boost system layout is now the only supported layout. + +config BR2_PACKAGE_BOOST_LAYOUT_TAGGED + bool "boost tagged layout removed" + select BR2_LEGACY + help + Boost tagged layout isn't handled by some packages (e.g. botan + or libcpprestsdk). + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/package/boost/Config.in b/package/boost/Config.in index 9e96be7878..b99b01f22e 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -16,33 +16,6 @@ config BR2_PACKAGE_BOOST if BR2_PACKAGE_BOOST -choice - prompt "Layout" - default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - help - Selects the layout of Boost binary names - -config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - bool "system" - help - Boost binary names do not include the Boost version number - or the name and version number of the compiler. - -config BR2_PACKAGE_BOOST_LAYOUT_TAGGED - bool "tagged" - help - Boost binary names include the encoded build properties such - as variant and threading, but do not include compiler name - and version, or Boost version. This option is useful if you - build several variants of Boost, using the same compiler. - -endchoice - -config BR2_PACKAGE_BOOST_LAYOUT - string - default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED - config BR2_PACKAGE_BOOST_ATOMIC bool "boost-atomic" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 032ba5c820..346d309777 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -76,7 +76,9 @@ BOOST_DEPENDENCIES += python3 endif HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \ - variant=release link=shared runtime-link=shared + variant=release link=shared runtime-link=shared -j$(PARALLEL_JOBS) -q \ + --ignore-site-config --layout=system --prefix=$(HOST_DIR) \ + --user-config=$(@D)/user-config.jam ifeq ($(BR2_MIPS_OABI32),y) BOOST_ABI = o32 @@ -90,7 +92,12 @@ BOOST_OPTS += --no-cmake-config \ toolset=gcc \ threading=multi \ abi=$(BOOST_ABI) \ - variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) + variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) \ + -j$(PARALLEL_JOBS) \ + -q \ + --ignore-site-config \ + --layout=system \ + --user-config=$(@D)/user-config.jam ifeq ($(BR2_sparc64),y) BOOST_OPTS += architecture=sparc instruction-set=ultrasparc @@ -119,43 +126,29 @@ endif BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS))) BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) -BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) # how verbose should the build be? BOOST_OPTS += $(if $(QUIET),-d,-d+1) HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) define BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) + cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS) echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam sed -i "s/: -O.* ;/: $(TARGET_OPTIMIZATION) ;/" $(@D)/tools/build/src/tools/gcc.jam endef define BOOST_BUILD_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT)) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) endef define BOOST_INSTALL_TARGET_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(TARGET_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ + --prefix=$(TARGET_DIR)/usr install endef define BOOST_INSTALL_STAGING_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(STAGING_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ + --prefix=$(STAGING_DIR)/usr install endef # These hooks will help us to detect missing select in Config.in @@ -177,26 +170,16 @@ endef BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES define HOST_BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) + cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS) echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam endef define HOST_BOOST_BUILD_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --ignore-site-config \ - --prefix=$(HOST_DIR) ) + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) endef define HOST_BOOST_INSTALL_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --prefix=$(HOST_DIR) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) install endef $(eval $(generic-package)) -- 2.35.1 From nunojpg at gmail.com Wed Apr 20 12:24:45 2022 From: nunojpg at gmail.com (=?UTF-8?Q?Nuno_Gon=C3=A7alves?=) Date: Wed, 20 Apr 2022 13:24:45 +0100 Subject: [Buildroot] [PATCH] package/google-breakpad: bump to latest Message-ID: Fixes compatibility with GCC-11. Doesn't require any local patches. linux-syscall-support bumped to the verion in DEPS. Signed-off-by: Nuno Gon?alves --- .../0001-add-missing-asm-ptrace-include.patch | 31 --- ...g-references-to-struct-ucontext-with.patch | 257 ------------------ ...-handler-exception_handler.cc-rename.patch | 59 ---- .../0004-Fix-for-non-constant-SIGSTKSZ.patch | 34 --- package/google-breakpad/google-breakpad.hash | 2 +- package/google-breakpad/google-breakpad.mk | 2 +- .../linux-syscall-support.hash | 2 +- .../linux-syscall-support.mk | 2 +- 8 files changed, 4 insertions(+), 385 deletions(-) delete mode 100644 package/google-breakpad/0001-add-missing-asm-ptrace-include.patch delete mode 100644 package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch delete mode 100644 package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch delete mode 100644 package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch diff --git a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch b/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch deleted file mode 100644 index 281c7a042a..0000000000 --- a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch +++ /dev/null @@ -1,31 +0,0 @@ -Include to get necessary definitions on AArch64 - -In glibc commit -https://sourceware.org/git/?p=glibc.git;a=commit;h=7d05a8168b45c0580e1f9a79c2dd26c8f0d31fca, -including from on AArch64 has been -removed. So the Google Breakpad code, which used to build fine on -glibc 2.18 (CodeSourcery toolchain for example), no longer builds with -glibc 2.19 (Linaro toolchain for example). - -To fix this, this patch adds the missing include (for -AArch64 only, to be conservative). - -This patch has not been submitted upstream, since more recent versions -of Google Breakpad have completely changed this part of the code. - -Signed-off-by: Thomas Petazzoni - -Index: b/src/client/linux/minidump_writer/linux_dumper.h -=================================================================== ---- a/src/client/linux/minidump_writer/linux_dumper.h -+++ b/src/client/linux/minidump_writer/linux_dumper.h -@@ -43,6 +43,9 @@ - #include - #include - #include -+#if defined(__aarch64__) -+#include -+#endif - - #include "common/memory.h" - #include "google_breakpad/common/minidump_format.h" diff --git a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch b/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch deleted file mode 100644 index e02ae268b9..0000000000 --- a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch +++ /dev/null @@ -1,257 +0,0 @@ -From 7975a962e1d6dbad5a46792a54e647abd7caf5f1 Mon Sep 17 00:00:00 2001 -From: Mark Mentovai -Date: Tue, 19 Sep 2017 22:48:30 -0400 -Subject: [PATCH] Replace remaining references to 'struct ucontext' with - 'ucontext_t' - -This relands -https://chromium.googlesource.com/breakpad/breakpad/src/+/e3035bc406cee8a4d765e59ad46eb828705f17f4, -which was accidentally committed to breakpad/breakpad/src, the read-only -mirror of src in breakpad/breakpad. (Well, it should have been -read-only.) See https://crbug.com/766164. - -This fixes issues with glibc-2.26. - -See https://bugs.gentoo.org/show_bug.cgi?id=628782 , -https://sourceware.org/git/?p=glibc.git;h=251287734e89a52da3db682a8241eb6bccc050c9 , and -https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html for context. -Change-Id: Id66f474d636dd2afa450bab925c5514a800fdd6f -Reviewed-on: https://chromium-review.googlesource.com/674304 -Reviewed-by: Mark Mentovai - -(cherry picked from commit bddcc58860f522a0d4cbaa7e9d04058caee0db9d) -[Romain: backport from upstream] -Signed-off-by: Romain Naour ---- - .../linux/dump_writer_common/ucontext_reader.cc | 32 +++++++++++----------- - .../linux/dump_writer_common/ucontext_reader.h | 14 +++++----- - src/client/linux/handler/exception_handler.cc | 10 +++---- - src/client/linux/handler/exception_handler.h | 6 ++-- - .../linux/microdump_writer/microdump_writer.cc | 2 +- - .../linux/minidump_writer/minidump_writer.cc | 2 +- - 6 files changed, 33 insertions(+), 33 deletions(-) - -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.cc b/src/client/linux/dump_writer_common/ucontext_reader.cc -index c80724d..052ce37 100644 ---- a/src/client/linux/dump_writer_common/ucontext_reader.cc -+++ b/src/client/linux/dump_writer_common/ucontext_reader.cc -@@ -36,19 +36,19 @@ namespace google_breakpad { - - // Minidump defines register structures which are different from the raw - // structures which we get from the kernel. These are platform specific --// functions to juggle the ucontext and user structures into minidump format. -+// functions to juggle the ucontext_t and user structures into minidump format. - - #if defined(__i386__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_ESP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_EIP]; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fp) { - const greg_t* regs = uc->uc_mcontext.gregs; - -@@ -88,15 +88,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__x86_64) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_RSP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_RIP]; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fpregs) { - const greg_t* regs = uc->uc_mcontext.gregs; - -@@ -145,15 +145,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__ARM_EABI__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.arm_sp; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.arm_pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) { - out->context_flags = MD_CONTEXT_ARM_FULL; - - out->iregs[0] = uc->uc_mcontext.arm_r0; -@@ -184,15 +184,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { - - #elif defined(__aarch64__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.sp; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct fpsimd_context* fpregs) { - out->context_flags = MD_CONTEXT_ARM64_FULL; - -@@ -210,15 +210,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__mips__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) { - #if _MIPS_SIM == _ABI64 - out->context_flags = MD_CONTEXT_MIPS64_FULL; - #elif _MIPS_SIM == _ABIO32 -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.h b/src/client/linux/dump_writer_common/ucontext_reader.h -index b6e77b4..2de80b7 100644 ---- a/src/client/linux/dump_writer_common/ucontext_reader.h -+++ b/src/client/linux/dump_writer_common/ucontext_reader.h -@@ -39,23 +39,23 @@ - - namespace google_breakpad { - --// Wraps platform-dependent implementations of accessors to ucontext structs. -+// Wraps platform-dependent implementations of accessors to ucontext_t structs. - struct UContextReader { -- static uintptr_t GetStackPointer(const struct ucontext* uc); -+ static uintptr_t GetStackPointer(const ucontext_t* uc); - -- static uintptr_t GetInstructionPointer(const struct ucontext* uc); -+ static uintptr_t GetInstructionPointer(const ucontext_t* uc); - -- // Juggle a arch-specific ucontext into a minidump format -+ // Juggle a arch-specific ucontext_t into a minidump format - // out: the minidump structure - // info: the collection of register structures. - #if defined(__i386__) || defined(__x86_64) -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fp); - #elif defined(__aarch64__) -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct fpsimd_context* fpregs); - #else -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc); -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc); - #endif - }; - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index b63f973..3d809b8 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -439,9 +439,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { - // Fill in all the holes in the struct to make Valgrind happy. - memset(&g_crash_context_, 0, sizeof(g_crash_context_)); - memcpy(&g_crash_context_.siginfo, info, sizeof(siginfo_t)); -- memcpy(&g_crash_context_.context, uc, sizeof(struct ucontext)); -+ memcpy(&g_crash_context_.context, uc, sizeof(ucontext_t)); - #if defined(__aarch64__) -- struct ucontext* uc_ptr = (struct ucontext*)uc; -+ ucontext_t* uc_ptr = (ucontext_t*)uc; - struct fpsimd_context* fp_ptr = - (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved; - if (fp_ptr->head.magic == FPSIMD_MAGIC) { -@@ -450,9 +450,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { - } - #elif !defined(__ARM_EABI__) && !defined(__mips__) - // FP state is not part of user ABI on ARM Linux. -- // In case of MIPS Linux FP state is already part of struct ucontext -+ // In case of MIPS Linux FP state is already part of ucontext_t - // and 'float_state' is not a member of CrashContext. -- struct ucontext* uc_ptr = (struct ucontext*)uc; -+ ucontext_t* uc_ptr = (ucontext_t*)uc; - if (uc_ptr->uc_mcontext.fpregs) { - memcpy(&g_crash_context_.float_state, uc_ptr->uc_mcontext.fpregs, - sizeof(g_crash_context_.float_state)); -@@ -476,7 +476,7 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) { - // ExceptionHandler::HandleSignal(). - siginfo.si_code = SI_USER; - siginfo.si_pid = getpid(); -- struct ucontext context; -+ ucontext_t context; - getcontext(&context); - return HandleSignal(sig, &siginfo, &context); - } -diff --git a/src/client/linux/handler/exception_handler.h b/src/client/linux/handler/exception_handler.h -index 591c310..42f4055 100644 ---- a/src/client/linux/handler/exception_handler.h -+++ b/src/client/linux/handler/exception_handler.h -@@ -191,11 +191,11 @@ class ExceptionHandler { - struct CrashContext { - siginfo_t siginfo; - pid_t tid; // the crashing thread. -- struct ucontext context; -+ ucontext_t context; - #if !defined(__ARM_EABI__) && !defined(__mips__) - // #ifdef this out because FP state is not part of user ABI for Linux ARM. -- // In case of MIPS Linux FP state is already part of struct -- // ucontext so 'float_state' is not required. -+ // In case of MIPS Linux FP state is already part of ucontext_t so -+ // 'float_state' is not required. - fpstate_t float_state; - #endif - }; -diff --git a/src/client/linux/microdump_writer/microdump_writer.cc b/src/client/linux/microdump_writer/microdump_writer.cc -index 6f5b435..a508667 100644 ---- a/src/client/linux/microdump_writer/microdump_writer.cc -+++ b/src/client/linux/microdump_writer/microdump_writer.cc -@@ -571,7 +571,7 @@ class MicrodumpWriter { - - void* Alloc(unsigned bytes) { return dumper_->allocator()->Alloc(bytes); } - -- const struct ucontext* const ucontext_; -+ const ucontext_t* const ucontext_; - #if !defined(__ARM_EABI__) && !defined(__mips__) - const google_breakpad::fpstate_t* const float_state_; - #endif -diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc -index 86009b9..f2aec73 100644 ---- a/src/client/linux/minidump_writer/minidump_writer.cc -+++ b/src/client/linux/minidump_writer/minidump_writer.cc -@@ -1248,7 +1248,7 @@ class MinidumpWriter { - const int fd_; // File descriptor where the minidum should be written. - const char* path_; // Path to the file where the minidum should be written. - -- const struct ucontext* const ucontext_; // also from the signal handler -+ const ucontext_t* const ucontext_; // also from the signal handler - #if !defined(__ARM_EABI__) && !defined(__mips__) - const google_breakpad::fpstate_t* const float_state_; // ditto - #endif --- -2.9.5 - diff --git a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch b/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch deleted file mode 100644 index 579e7f3457..0000000000 --- a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 2fa414c8655c421e7eb0bb1719928babb0ecf7c6 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Thu, 26 Dec 2019 22:21:33 +0100 -Subject: [PATCH] src/client/linux/handler/exception_handler.cc: rename tgkill - to BreakpadTgkill() -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since glibc 2.30, a tgkill() function was added in the C library, and -its definition obviously conflicts with the internal definition of -google-breakpad, causing build failures: - -src/client/linux/handler/exception_handler.cc:109:12: error: ?int tgkill(pid_t, pid_t, int)? was declared ?extern? and later ?static? [-fpermissive] - 109 | static int tgkill(pid_t tgid, pid_t tid, int sig) { - | ^~~~~~ -In file included from /usr/include/signal.h:374, - from ./src/client/linux/handler/exception_handler.h:33, - from src/client/linux/handler/exception_handler.cc:66: -/usr/include/bits/signal_ext.h:29:12: note: previous declaration of ?int tgkill(__pid_t, __pid_t, int)? - 29 | extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); - | ^~~~~~ - -Upstream google-breakpad simply dropped the use of the internal -tgkill() in commit -https://chromium.googlesource.com/breakpad/breakpad/+/7e3c165000d44fa153a3270870ed500bc8bbb461. However, -this is not realistic for Buildroot, since we do support old systems -where the system C library will not necessarily provide tgkill(). - -Signed-off-by: Thomas Petazzoni ---- - src/client/linux/handler/exception_handler.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index b63f973b..b4c279b8 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -106,7 +106,7 @@ - #endif - - // A wrapper for the tgkill syscall: send a signal to a specific thread. --static int tgkill(pid_t tgid, pid_t tid, int sig) { -+static int BreakpadTgkill(pid_t tgid, pid_t tid, int sig) { - return syscall(__NR_tgkill, tgid, tid, sig); - return 0; - } -@@ -387,7 +387,7 @@ void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) { - // In order to retrigger it, we have to queue a new signal by calling - // kill() ourselves. The special case (si_pid == 0 && sig == SIGABRT) is - // due to the kernel sending a SIGABRT from a user request via SysRQ. -- if (tgkill(getpid(), syscall(__NR_gettid), sig) < 0) { -+ if (BreakpadTgkill(getpid(), syscall(__NR_gettid), sig) < 0) { - // If we failed to kill ourselves (e.g. because a sandbox disallows us - // to do so), we instead resort to terminating our process. This will - // result in an incorrect exit code. --- -2.24.1 - diff --git a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch b/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch deleted file mode 100644 index 4291216c61..0000000000 --- a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 4a332d01186b09a9d46390b845024d914d9149cb Mon Sep 17 00:00:00 2001 -From: Michel Alexandre Salim -Date: Sun, 21 Mar 2021 13:17:00 -0700 -Subject: [PATCH] Fix for non-constant SIGSTKSZ - -On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case -it expands to a call to `sysconf` which returns a `long int`); see -http://sourceware-org.1504.n7.nabble.com/PATCH-sysconf-Add-SC-MINSIGSTKSZ-SC-SIGSTKSZ-BZ-20305-td650948.html - -Cast the two arguments to `max` to `unsigned`, which is the type of the variable -we're storing the result in anyway, so that it works both with the old-style constant -`SIGSTKSZ` and the new configurable one. - -Signed-off-by: Michel Alexandre Salim -Change-Id: I3d87048561a87c6b9fcdbb14b3d53dd45b0a00f0 - -[Retrieved from: -https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2776379] -Signed-off-by: Fabrice Fontaine ---- - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index ca353c4..3788829 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -138,7 +138,7 @@ - // SIGSTKSZ may be too small to prevent the signal handlers from overrunning - // the alternative stack. Ensure that the size of the alternative stack is - // large enough. -- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); -+ static const unsigned kSigStackSize = std::max((unsigned) 16384, (unsigned) SIGSTKSZ); - - // Only set an alternative stack if there isn't already one, or if the current - // one is too small. diff --git a/package/google-breakpad/google-breakpad.hash b/package/google-breakpad/google-breakpad.hash index 09f9a0cf91..c184da1113 100644 --- a/package/google-breakpad/google-breakpad.hash +++ b/package/google-breakpad/google-breakpad.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3504639ee5d7536e7f7939b80520dfcb98863e9b50673dd577d0ab2a07105acb google-breakpad-7515ab13768c7edc09f0f2ec2354dc6c928239a6-br1.tar.gz +sha256 52716d140ba528d36b40591ae2c7485b18023f6610414bba0057f0cc13caf256 google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf-br1.tar.gz sha256 f9752a0a4ac5215eaa3a4f0ec29cd52563c883de5d7870525cc0bc3a21cb8e15 LICENSE diff --git a/package/google-breakpad/google-breakpad.mk b/package/google-breakpad/google-breakpad.mk index 8ae5f99bc7..20755a1c2a 100644 --- a/package/google-breakpad/google-breakpad.mk +++ b/package/google-breakpad/google-breakpad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GOOGLE_BREAKPAD_VERSION = 7515ab13768c7edc09f0f2ec2354dc6c928239a6 +GOOGLE_BREAKPAD_VERSION = c85eb4a59b618f3beaad5445ceb1f865ffa8efdf GOOGLE_BREAKPAD_SITE = https://chromium.googlesource.com/breakpad/breakpad GOOGLE_BREAKPAD_SITE_METHOD = git GOOGLE_BREAKPAD_CONF_OPTS = --disable-processor --disable-tools diff --git a/package/linux-syscall-support/linux-syscall-support.hash b/package/linux-syscall-support/linux-syscall-support.hash index 3445bf1398..f45f07ac56 100644 --- a/package/linux-syscall-support/linux-syscall-support.hash +++ b/package/linux-syscall-support/linux-syscall-support.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 498efb6915ac6e65c82c712fadd3c30f9472764114c835849e02f2c092bacd2d linux-syscall-support-3f6478ac95edf86cd3da300c2c0d34a438f5dbeb-br1.tar.gz +sha256 2a12703ce59773ec714b603e46c733b03f3fbf9b4763195fae40d0042e5da3f6 linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660-br1.tar.gz sha256 4c1fc9acc9f3867e5c81b5d5f57c52fb9a932662bd4e2e5e43b3fe95390035f5 linux_syscall_support.h diff --git a/package/linux-syscall-support/linux-syscall-support.mk b/package/linux-syscall-support/linux-syscall-support.mk index 050c5058ab..c0c7c4c3b2 100644 --- a/package/linux-syscall-support/linux-syscall-support.mk +++ b/package/linux-syscall-support/linux-syscall-support.mk @@ -5,7 +5,7 @@ ################################################################################ # Use the same version that the one used by Google-breakpad (see DEPS file) -LINUX_SYSCALL_SUPPORT_VERSION = 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb +LINUX_SYSCALL_SUPPORT_VERSION = e1e7b0ad8ee99a875b272c8e33e308472e897660 LINUX_SYSCALL_SUPPORT_SITE = https://chromium.googlesource.com/linux-syscall-support LINUX_SYSCALL_SUPPORT_SITE_METHOD = git LINUX_SYSCALL_SUPPORT_LICENSE = BSD-3-Clause -- 2.32.0 -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-package-google-breakpad-bump-to-latest.patch Type: text/x-patch Size: 23258 bytes Desc: not available URL: From tianyuanhao3 at 163.com Wed Apr 20 13:55:49 2022 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Wed, 20 Apr 2022 06:55:49 -0700 Subject: [Buildroot] [PATCH] package/systemd: add the missing sgx group Message-ID: <20220420135549.3536397-1-tianyuanhao3@163.com> systemd-udevd needs this group: /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring Signed-off-by: TIAN Yuanhao --- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index b07fac27d4..44185a35a0 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -603,6 +603,7 @@ endef define SYSTEMD_USERS # udev user groups + - - sgx -1 * - - - SGX device nodes # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) -- 2.25.1 From fontaine.fabrice at gmail.com Wed Apr 20 16:43:19 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 20 Apr 2022 18:43:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: fix nios2 build Message-ID: <20220420164319.1114520-1-fontaine.fabrice@gmail.com> Fix the following build failure on nios2 raised since bump to version 2021.5.0 in commit 3c66ac07a0783b21f95e699b3762edd15e27bdf9: In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_static.c:17, from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/itt_notify.cpp:43: /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h: In function 'long int __itt_interlocked_increment(volatile long int*)': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h:348:12: error: '__TBB_machine_fetchadd4' was not declared in this scope 348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L; | ^~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/2b55d1d171f21030be8312f984ea02ec8c8348a8 Signed-off-by: Fabrice Fontaine --- ...-Define-ITT_ARCH_IA64-when-undefiend.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch diff --git a/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch new file mode 100644 index 0000000000..5b7f002499 --- /dev/null +++ b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch @@ -0,0 +1,27 @@ +From 6fad69889da67bc4d4baff4afa94f77da45e006d Mon Sep 17 00:00:00 2001 +From: Felix Yan +Date: Thu, 7 Oct 2021 14:16:16 +0800 +Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550) + +[Retrieved from: +https://github.com/oneapi-src/oneTBB/commit/6fad69889da67bc4d4baff4afa94f77da45e006d] +Signed-off-by: Fabrice Fontaine +--- + src/tbb/tools_api/ittnotify_config.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h +index 8ecc23781..f904a8e9d 100644 +--- a/src/tbb/tools_api/ittnotify_config.h ++++ b/src/tbb/tools_api/ittnotify_config.h +@@ -147,6 +147,10 @@ + # define ITT_ARCH_IA32E 2 + #endif /* ITT_ARCH_IA32E */ + ++#ifndef ITT_ARCH_IA64 ++# define ITT_ARCH_IA64 3 ++#endif /* ITT_ARCH_IA64 */ ++ + #ifndef ITT_ARCH_ARM + # define ITT_ARCH_ARM 4 + #endif /* ITT_ARCH_ARM */ -- 2.35.1 From Jason at zx2c4.com Wed Apr 20 17:03:26 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Wed, 20 Apr 2022 19:03:26 +0200 Subject: [Buildroot] [PATCH v5] package/urandom-scripts: actually credit seed files via seedrng Message-ID: <20220420170326.1901572-1-Jason@zx2c4.com> The RNG can't actually be seeded from a shell script, due to the reliance on ioctls. For this reason, Busybox now contains SeedRNG, a tiny program meant to be called at startup and shutdown (and at arbitrary other points in between if desired). Since this is currently in Busybox's git tree, this commit adds it as a patch to the Busybox package. Then, it wires the init script up to call it. This is a significant improvement over the current init script, which doesn't credit entropy and whose hashing in shell scripts is sort of fragile. NOTE NOTE NOTE: While I've added the patch to the Busybox package directory, I don't really know how to wire this up and what to do about the various config entries. I was hoping that a Buildroot maintainer might have a better idea of the best way to do this, and could just take this patch as a starting point for whatever the real commit winds up being. Signed-off-by: Jason A. Donenfeld --- Changes v4->v5: - SeedRNG is now part of Busybox, so we don't need to carry the source in-tree here, which was the primary objection to earlier versions. ...eedRNG-utility-for-kernel-RNG-seed-f.patch | 309 ++++++++++++++++++ package/urandom-scripts/Config.in | 4 - package/urandom-scripts/S20urandom | 78 ++--- 3 files changed, 330 insertions(+), 61 deletions(-) create mode 100644 package/busybox/0003-seedrng-import-SeedRNG-utility-for-kernel-RNG-seed-f.patch diff --git a/package/busybox/0003-seedrng-import-SeedRNG-utility-for-kernel-RNG-seed-f.patch b/package/busybox/0003-seedrng-import-SeedRNG-utility-for-kernel-RNG-seed-f.patch new file mode 100644 index 0000000000..493c31b247 --- /dev/null +++ b/package/busybox/0003-seedrng-import-SeedRNG-utility-for-kernel-RNG-seed-f.patch @@ -0,0 +1,309 @@ +From 47660dc9581e251f555ca9b05b630276f1d487ee Mon Sep 17 00:00:00 2001 +From: "Jason A. Donenfeld" +Date: Mon, 4 Apr 2022 18:21:51 +0200 +Subject: [PATCH] seedrng: import SeedRNG utility for kernel RNG seed files + +The RNG can't actually be seeded from a shell script, due to the +reliance on ioctls and the fact that entropy written into the +unprivileged /dev/urandom device is not immediately mixed in, making +subsequent seed reads dangerous. For this reason, the seedrng project +provides a basic "C script" meant to be copy and pasted into projects +like Busybox and tweaked as needed: . + +The SeedRNG construction has been part of systemd's seeder since +January, and recently was added to Android, OpenRC, and Void's Runit, +with more integrations on their way depending on context. Virtually +every single Busybox-based distro I have seen seeds things in wrong, +incomplete, or otherwise dangerous way. For example, fixing this issue +in Buildroot requires first for Busybox to have this fix. + +This commit imports it into Busybox and wires up the basic config. The +utility itself is tiny, and unlike the example code from the SeedRNG +project, we can re-use libbb's existing hash functions, rather than +having to ship a standalone BLAKE2s, which makes this even smaller. + +Cherry picked from upstream commits: + - 4b407bacd4c1628782d24c3e044e43780bb057a4 + - 453857899616acf1c77d0d02a4c2989b2cf5f1eb + - 31ec481baf106cf9c6d8f34ae6a55ab1738dea6f + - 3c60711f836b151b8f361098475c3b0cd162dd17 + - 398bb3861aa39ae6d3ada7bb54698653b4de370b + - ce9a345632786d5585044ed71ed4c98c305b918f + - 3cb40f89de42aa694d44cb6e896b732fa062ee75 + - 57fea029cc3d6faf5a8b9ad4b17b543359fe7ccb + +Signed-off-by: Jason A. Donenfeld +Signed-off-by: Bernhard Reutner-Fischer +--- + util-linux/seedrng.c | 259 +++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 259 insertions(+) + create mode 100644 util-linux/seedrng.c + +diff --git a/util-linux/seedrng.c b/util-linux/seedrng.c +new file mode 100644 +index 000000000..5a41addf0 +--- /dev/null ++++ b/util-linux/seedrng.c +@@ -0,0 +1,259 @@ ++// SPDX-License-Identifier: GPL-2.0 OR MIT ++/* ++ * Copyright (C) 2022 Jason A. Donenfeld . All Rights Reserved. ++ * ++ * SeedRNG is a simple program made for seeding the Linux kernel random number ++ * generator from seed files. It is is useful in light of the fact that the ++ * Linux kernel RNG cannot be initialized from shell scripts, and new seeds ++ * cannot be safely generated from boot time shell scripts either. It should ++ * be run once at init time and once at shutdown time. It can be run at other ++ * times on a timer as well. Whenever it is run, it writes existing seed files ++ * into the RNG pool, and then creates a new seed file. If the RNG is ++ * initialized at the time of creating a new seed file, then that new seed file ++ * is marked as "creditable", which means it can be used to initialize the RNG. ++ * Otherwise, it is marked as "non-creditable", in which case it is still used ++ * to seed the RNG's pool, but will not initialize the RNG. In order to ensure ++ * that entropy only ever stays the same or increases from one seed file to the ++ * next, old seed values are hashed together with new seed values when writing ++ * new seed files. ++ * ++ * This is based on code from . ++ */ ++ ++//config:config SEEDRNG ++//config: bool "seedrng (2 kb)" ++//config: default y ++//config: help ++//config: Seed the kernel RNG from seed files, meant to be called ++//config: once during startup, once during shutdown, and optionally ++//config: at some periodic interval in between. ++ ++//applet:IF_SEEDRNG(APPLET(seedrng, BB_DIR_USR_SBIN, BB_SUID_DROP)) ++ ++//kbuild:lib-$(CONFIG_SEEDRNG) += seedrng.o ++ ++//usage:#define seedrng_trivial_usage ++//usage: "[-d SEED_DIRECTORY] [-n]" ++//usage:#define seedrng_full_usage "\n\n" ++//usage: "Seed the kernel RNG from seed files." ++//usage: "\n" ++//usage: "\n -d, --seed-dir DIR Use seed files from specified directory (default: /var/lib/seedrng)" ++//usage: "\n -n, --skip-credit Skip crediting seeds, even if creditable" ++ ++#include "libbb.h" ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#ifndef GRND_INSECURE ++#define GRND_INSECURE 0x0004 /* Apparently some headers don't ship with this yet. */ ++#endif ++ ++#define DEFAULT_SEED_DIR "/var/lib/seedrng" ++#define CREDITABLE_SEED_NAME "seed.credit" ++#define NON_CREDITABLE_SEED_NAME "seed.no-credit" ++ ++enum seedrng_lengths { ++ MIN_SEED_LEN = SHA256_OUTSIZE, ++ MAX_SEED_LEN = 512 ++}; ++ ++static size_t determine_optimal_seed_len(void) ++{ ++ char poolsize_str[11] = { 0 }; ++ unsigned long poolsize; ++ ++ if (open_read_close("/proc/sys/kernel/random/poolsize", poolsize_str, sizeof(poolsize_str) - 1) < 0) { ++ bb_perror_msg("unable to determine pool size, assuming %u bits", MIN_SEED_LEN * 8); ++ return MIN_SEED_LEN; ++ } ++ poolsize = (bb_strtoul(poolsize_str, NULL, 10) + 7) / 8; ++ return MAX(MIN(poolsize, MAX_SEED_LEN), MIN_SEED_LEN); ++} ++ ++static int read_new_seed(uint8_t *seed, size_t len, bool *is_creditable) ++{ ++ ssize_t ret; ++ ++ *is_creditable = false; ++ ret = getrandom(seed, len, GRND_NONBLOCK); ++ if (ret == (ssize_t)len) { ++ *is_creditable = true; ++ return 0; ++ } else if (ret < 0 && errno == ENOSYS) { ++ struct pollfd random_fd = { ++ .fd = open("/dev/random", O_RDONLY), ++ .events = POLLIN ++ }; ++ if (random_fd.fd < 0) ++ return -1; ++ *is_creditable = safe_poll(&random_fd, 1, 0) == 1; ++ close(random_fd.fd); ++ } else if (getrandom(seed, len, GRND_INSECURE) == (ssize_t)len) ++ return 0; ++ if (open_read_close("/dev/urandom", seed, len) == (ssize_t)len) ++ return 0; ++ return -1; ++} ++ ++static int seed_rng(uint8_t *seed, size_t len, bool credit) ++{ ++ struct { ++ int entropy_count; ++ int buf_size; ++ uint8_t buffer[MAX_SEED_LEN]; ++ } req = { ++ .entropy_count = credit ? len * 8 : 0, ++ .buf_size = len ++ }; ++ int random_fd, ret; ++ ++ if (len > sizeof(req.buffer)) { ++ errno = EFBIG; ++ return -1; ++ } ++ memcpy(req.buffer, seed, len); ++ ++ random_fd = open("/dev/urandom", O_RDONLY); ++ if (random_fd < 0) ++ return -1; ++ ret = ioctl(random_fd, RNDADDENTROPY, &req); ++ if (ret) ++ ret = -errno ? -errno : -EIO; ++ if (ENABLE_FEATURE_CLEAN_UP) ++ close(random_fd); ++ errno = -ret; ++ return ret ? -1 : 0; ++} ++ ++static int seed_from_file_if_exists(const char *filename, int dfd, bool credit, sha256_ctx_t *hash) ++{ ++ uint8_t seed[MAX_SEED_LEN]; ++ ssize_t seed_len; ++ ++ seed_len = open_read_close(filename, seed, sizeof(seed)); ++ if (seed_len < 0) { ++ if (errno == ENOENT) ++ return 0; ++ bb_perror_msg("unable to%s seed", " read"); ++ return -1; ++ } ++ if ((unlink(filename) < 0 || fsync(dfd) < 0) && seed_len) { ++ bb_perror_msg("unable to%s seed", " remove"); ++ return -1; ++ } else if (!seed_len) ++ return 0; ++ ++ sha256_hash(hash, &seed_len, sizeof(seed_len)); ++ sha256_hash(hash, seed, seed_len); ++ ++ printf("Seeding %zd bits %s crediting\n", seed_len * 8, credit ? "and" : "without"); ++ if (seed_rng(seed, seed_len, credit) < 0) { ++ bb_perror_msg("unable to%s seed", ""); ++ return -1; ++ } ++ return 0; ++} ++ ++int seedrng_main(int argc, char *argv[]) MAIN_EXTERNALLY_VISIBLE; ++int seedrng_main(int argc UNUSED_PARAM, char *argv[]) ++{ ++ const char *seed_dir = DEFAULT_SEED_DIR, *creditable_seed, *non_creditable_seed; ++ int ret, fd = -1, dfd = -1, program_ret = 0; ++ uint8_t new_seed[MAX_SEED_LEN]; ++ size_t new_seed_len; ++ bool new_seed_creditable; ++ bool skip_credit = false; ++ struct timespec timestamp = { 0 }; ++ sha256_ctx_t hash; ++ ++ int opt; ++ enum { ++ OPT_d = (1 << 0), ++ OPT_n = (1 << 1) ++ }; ++#if ENABLE_LONG_OPTS ++ static const char longopts[] ALIGN1 = ++ "seed-dir\0" Required_argument "d" ++ "skip-credit\0" No_argument "n" ++ ; ++#endif ++ ++ opt = getopt32long(argv, "d:n", longopts, &seed_dir); ++ skip_credit = opt & OPT_n; ++ creditable_seed = concat_path_file(seed_dir, CREDITABLE_SEED_NAME); ++ non_creditable_seed = concat_path_file(seed_dir, NON_CREDITABLE_SEED_NAME); ++ ++ umask(0077); ++ if (getuid()) ++ bb_simple_error_msg_and_die(bb_msg_you_must_be_root); ++ ++ if (mkdir(seed_dir, 0700) < 0 && errno != EEXIST) ++ bb_perror_msg_and_die("unable to %s seed directory", "create"); ++ ++ dfd = open(seed_dir, O_DIRECTORY | O_RDONLY); ++ if (dfd < 0 || flock(dfd, LOCK_EX) < 0) { ++ bb_perror_msg("unable to %s seed directory", "lock"); ++ program_ret = 1; ++ goto out; ++ } ++ ++ sha256_begin(&hash); ++ sha256_hash(&hash, "SeedRNG v1 Old+New Prefix", 25); ++ clock_gettime(CLOCK_REALTIME, ×tamp); ++ sha256_hash(&hash, ×tamp, sizeof(timestamp)); ++ clock_gettime(CLOCK_BOOTTIME, ×tamp); ++ sha256_hash(&hash, ×tamp, sizeof(timestamp)); ++ ++ ret = seed_from_file_if_exists(non_creditable_seed, dfd, false, &hash); ++ if (ret < 0) ++ program_ret |= 1 << 1; ++ ret = seed_from_file_if_exists(creditable_seed, dfd, !skip_credit, &hash); ++ if (ret < 0) ++ program_ret |= 1 << 2; ++ ++ new_seed_len = determine_optimal_seed_len(); ++ ret = read_new_seed(new_seed, new_seed_len, &new_seed_creditable); ++ if (ret < 0) { ++ bb_perror_msg("unable to%s seed", " read new"); ++ new_seed_len = SHA256_OUTSIZE; ++ memset(new_seed, 0, SHA256_OUTSIZE); ++ program_ret |= 1 << 3; ++ } ++ sha256_hash(&hash, &new_seed_len, sizeof(new_seed_len)); ++ sha256_hash(&hash, new_seed, new_seed_len); ++ sha256_end(&hash, new_seed + new_seed_len - SHA256_OUTSIZE); ++ ++ printf("Saving %zu bits of %screditable seed for next boot\n", new_seed_len * 8, new_seed_creditable ? "" : "non-"); ++ fd = open(non_creditable_seed, O_WRONLY | O_CREAT | O_TRUNC, 0400); ++ if (fd < 0 || full_write(fd, new_seed, new_seed_len) != (ssize_t)new_seed_len || fsync(fd) < 0) { ++ bb_perror_msg("unable to%s seed", " write"); ++ program_ret |= 1 << 4; ++ goto out; ++ } ++ if (new_seed_creditable && rename(non_creditable_seed, creditable_seed) < 0) { ++ bb_simple_perror_msg("unable to make new seed creditable"); ++ program_ret |= 1 << 5; ++ } ++out: ++ if (ENABLE_FEATURE_CLEAN_UP && fd >= 0) ++ close(fd); ++ if (ENABLE_FEATURE_CLEAN_UP && dfd >= 0) ++ close(dfd); ++ return program_ret; ++} +-- +2.35.1 + diff --git a/package/urandom-scripts/Config.in b/package/urandom-scripts/Config.in index 987e442e22..070ffa5e9a 100644 --- a/package/urandom-scripts/Config.in +++ b/package/urandom-scripts/Config.in @@ -4,7 +4,3 @@ config BR2_PACKAGE_URANDOM_SCRIPTS depends on !BR2_PACKAGE_SYSTEMD help Initscript to preserve the random seed between reboots. - - WARNING: this is a poor fit to try and get high-quality - entropy at boot. There are better ways, like haveged, or - rng-tools. diff --git a/package/urandom-scripts/S20urandom b/package/urandom-scripts/S20urandom index 6c6aea9eee..346bc5b11e 100644 --- a/package/urandom-scripts/S20urandom +++ b/package/urandom-scripts/S20urandom @@ -3,67 +3,31 @@ # Preserve the random seed between reboots. See urandom(4). # -# Quietly do nothing if /dev/urandom does not exist -[ -c /dev/urandom ] || exit 0 - -URANDOM_SEED="/var/lib/random-seed" +# The following knobs can be adjusted by placing uncommented modified lines +# into /etc/default/urandom: +# +# Set these to change where the seed and runtime lock file are stored: +# +# seed_dir=/var/lib/seedrng +# +# Set this to true only if you do not want seed files to actually credit the +# RNG, for example if you plan to replicate this file system image and do not +# have the wherewithal to first delete the contents of /var/lib/seedrng: +# +# skip_credit=false +# -# shellcheck source=/dev/null +unset seed_dir skip_credit [ -r "/etc/default/urandom" ] && . "/etc/default/urandom" -if pool_bits=$(cat /proc/sys/kernel/random/poolsize 2> /dev/null); then - pool_size=$((pool_bits/8)) -else - pool_size=512 -fi - -init_rng() { - [ -f "$URANDOM_SEED" ] || return 0 - printf 'Initializing random number generator: ' - dd if="$URANDOM_SEED" bs="$pool_size" of=/dev/urandom count=1 2> /dev/null - status=$? - if [ "$status" -eq 0 ]; then - echo "OK" - else - echo "FAIL" - fi - return "$status" -} - -save_random_seed() { - printf 'Saving random seed: ' - status=1 - if touch "$URANDOM_SEED.new" 2> /dev/null; then - old_umask=$(umask) - umask 077 - dd if=/dev/urandom of="$URANDOM_SEED.tmp" bs="$pool_size" count=1 2> /dev/null - cat "$URANDOM_SEED" "$URANDOM_SEED.tmp" 2>/dev/null \ - | sha256sum \ - | cut -d ' ' -f 1 > "$URANDOM_SEED.new" && \ - mv "$URANDOM_SEED.new" "$URANDOM_SEED" && status=0 - rm -f "$URANDOM_SEED.tmp" - umask "$old_umask" - if [ "$status" -eq 0 ]; then - echo "OK" - else - echo "FAIL" - fi - - else - echo "SKIP (read-only file system detected)" - fi - return "$status" -} - case "$1" in - start|restart|reload) - # Carry a random seed from start-up to start-up - # Load and then save the whole entropy pool - init_rng && save_random_seed;; - stop) - # Carry a random seed from shut-down to start-up - # Save the whole entropy pool - save_random_seed;; + start|stop|restart|reload) + # Never fail, as this isn't worth making a fuss + # over if it doesn't go as planned. + args="" + [ -n "$seed_dir" ] && args="$args --seed-dir=$seed_dir" + [ "$skip_credit" = "true" ] && args="$args --skip-credit" + seedrng $args || true;; *) echo "Usage: $0 {start|stop|restart|reload}" exit 1 -- 2.35.1 From Jason at zx2c4.com Wed Apr 20 17:11:29 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Wed, 20 Apr 2022 19:11:29 +0200 Subject: [Buildroot] [PATCH v5] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: <20220420170326.1901572-1-Jason@zx2c4.com> References: <20220420170326.1901572-1-Jason@zx2c4.com> Message-ID: And if it's easier to read this not in patch form, Busybox's ittybitty seedrng implementation lives here: https://git.busybox.net/busybox/tree/util-linux/seedrng.c From fontaine.fabrice at gmail.com Wed Apr 20 17:28:16 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 20 Apr 2022 19:28:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/opencv4: fix uclibc build Message-ID: <20220420172816.1160081-1-fontaine.fabrice@gmail.com> Add BR2_PACKAGE_OPENCV4_LIB_DNN to fix the following uclibc build failure raised since bump to version 4.5.5 in commit b6922313937712a89841b58d3b355edd53754bca and https://github.com/opencv/opencv/commit/1feb3838b51c0b27b0f3e64f02358ff5ef3111b8: /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp: In member function 'float cv::dnn::RoundFunctor::calculate(float) const': /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1260:43: error: 'fegetround' is not a member of 'std' 1260 | int old_rounding_direction = std::fegetround(); | ^~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:14: error: 'fesetround' is not a member of 'std' 1261 | std::fesetround(FE_TONEAREST); | ^~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:25: error: 'FE_TONEAREST' was not declared in this scope 1261 | std::fesetround(FE_TONEAREST); | ^~~~~~~~~~~~ Indeed, uclibc pretends to implement fenv but it raises build failures on numerous architectures (or1k, sh4, xtensa, mipsel, arm, arc, riscv64, etc.) Fixes: - http://autobuild.buildroot.org/results/a6dd3c10acfbf6bc1af867d770cf0ce926c6ce84 Signed-off-by: Fabrice Fontaine --- package/opencv4/Config.in | 11 +++++++++++ package/opencv4/opencv4.mk | 1 + 2 files changed, 12 insertions(+) diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in index 23d34a9d22..a61a106952 100644 --- a/package/opencv4/Config.in +++ b/package/opencv4/Config.in @@ -30,6 +30,17 @@ config BR2_PACKAGE_OPENCV4_LIB_CALIB3D Include opencv_calib3d (camera calibration and 3d reconstruction) module into the OpenCV build. +config BR2_PACKAGE_OPENCV4_LIB_DNN + bool "dnn" + # dnn needs fenv.h which is not provided by uclibc + depends on !BR2_TOOLCHAIN_USES_UCLIBC + help + Include opencv_dnn (Deep Neural Networks) module into the + OpenCV build. + +comment "dnn needs a glibc or musl toolchain" + depends on BR2_TOOLCHAIN_USES_UCLIBC + config BR2_PACKAGE_OPENCV4_LIB_FEATURES2D bool "features2d" select BR2_PACKAGE_OPENCV4_LIB_FLANN diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index 0563026b18..84e0487dc4 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -92,6 +92,7 @@ OPENCV4_CONF_OPTS += \ -DBUILD_opencv_apps=OFF \ -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV4_LIB_CALIB3D),ON,OFF) \ -DBUILD_opencv_core=ON \ + -DBUILD_opencv_dnn=$(if $(BR2_PACKAGE_OPENCV4_LIB_DNN),ON,OFF) \ -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV4_LIB_FEATURES2D),ON,OFF) \ -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV4_LIB_FLANN),ON,OFF) \ -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV4_LIB_HIGHGUI),ON,OFF) \ -- 2.35.1 From baruch at tkos.co.il Wed Apr 20 17:28:06 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Wed, 20 Apr 2022 20:28:06 +0300 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <20220420083923.3875405-2-thomas.perrot@bootlin.com> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> <20220420083923.3875405-2-thomas.perrot@bootlin.com> Message-ID: <87pmlbr70w.fsf@tarshish> Hi Thomas, On Wed, Apr 20 2022, Thomas Perrot via buildroot wrote: > This package provides i.MX Code Signing Tools uses to sign i.MX bootloader > to enable secure boot (HABv4 and AHAB). > > Signed-off-by: Thomas Perrot > --- [...] > diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx-cst.mk > new file mode 100644 > index 000000000000..c91dfb602cbf > --- /dev/null > +++ b/package/imx-cst/imx-cst.mk > @@ -0,0 +1,49 @@ > +################################################################################ > +# > +# imx-cst > +# > +################################################################################ > + > +# debian/3.3.1+dfsg-2 > +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git > +IMX_CST_SITE_METHOD = git > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > +IMX_CST_LICENSE = BSD-3-Clause > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 > + > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > + > +ifneq ($(filter %64,$(HOSTARCH)),) > +HOST_IMX_CST_OSTYPE = linux64 > +else > +HOST_IMX_CST_OSTYPE = linux32 > +endif It looks like the only difference between 64 and 32 is in openssl build rule, and for x86 (host) targets only. We don't use this openssl rule since we build host-openssl with our own rules. So maybe we can just arbitrarily choose hard coded 'linux64'. It seems that debian/Makefile does that. baruch > + > +# We don't use HOST_CONFIGURE_OPTS when building cst, because we need > +# to preserve the CFLAGS/LDFLAGS used by their Makefile. > +define HOST_IMX_CST_BUILD_CMDS > + $(HOST_MAKE_ENV) $(MAKE) \ > + OSTYPE=$(HOST_IMX_CST_OSTYPE) \ > + ENCRYPTION=yes \ > + AR="$(HOSTAR)" \ > + CC="$(HOSTCC)" \ > + LD="$(HOSTCC)" \ > + OBJCOPY="$(HOSTOBJCOPY)" \ > + RANLIB="$(HOSTRANLIB)" \ > + EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > + EXTRALDFLAGS="$(HOST_LDFLAGS)" \ > + PWD=$(@D)/code/cst \ > + -C $(@D)/code/cst \ > + build > + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > + COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ > + -C $(@D)/code/hab_csf_parser > +endef > + > +define HOST_IMX_CST_INSTALL_CMDS > + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst $(HOST_DIR)/bin/cst > + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool > + $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser > +endef > + > +$(eval $(host-generic-package)) -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From james.hilliard1 at gmail.com Wed Apr 20 18:16:25 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:16:25 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-bidict: bump to version 0.22.0 Message-ID: <20220420181625.762383-1-james.hilliard1@gmail.com> License hash changed due to adding dates/author name: https://github.com/jab/bidict/commit/b5c9f346ce0e3450a9df41c8740c32ed8b62f7f3 Signed-off-by: James Hilliard --- package/python-bidict/python-bidict.hash | 6 +++--- package/python-bidict/python-bidict.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-bidict/python-bidict.hash b/package/python-bidict/python-bidict.hash index 59229f96d9..fe9a94af53 100644 --- a/package/python-bidict/python-bidict.hash +++ b/package/python-bidict/python-bidict.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/bidict/json -md5 d9342771969dd0d42092a669ed6f3241 bidict-0.21.3.tar.gz -sha256 d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d bidict-0.21.3.tar.gz +md5 da3d37ae93c740c191b5666918c3164f bidict-0.22.0.tar.gz +sha256 5c826b3e15e97cc6e615de295756847c282a79b79c5430d3bfc909b1ac9f5bd8 bidict-0.22.0.tar.gz # Locally computed sha256 checksums -sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE +sha256 be0487398bba08e7772b4077b637787b94973b53c44b3cbdd6c7dab10ed15035 LICENSE diff --git a/package/python-bidict/python-bidict.mk b/package/python-bidict/python-bidict.mk index c6b7b862ea..7ba15db605 100644 --- a/package/python-bidict/python-bidict.mk +++ b/package/python-bidict/python-bidict.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_BIDICT_VERSION = 0.21.3 +PYTHON_BIDICT_VERSION = 0.22.0 PYTHON_BIDICT_SOURCE = bidict-$(PYTHON_BIDICT_VERSION).tar.gz -PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/3f/81/7221b28d692af5c5fc180c4850b8e4a48c7db92b3d529b430488f67db74f +PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/2b/84/159749556b9c49ea4489dadeb94d44f05d6033d1db3af4c83120ecac5b15 PYTHON_BIDICT_SETUP_TYPE = setuptools PYTHON_BIDICT_LICENSE = MPL-2.0 PYTHON_BIDICT_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:20:13 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:20:13 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-charset-normalizer: bump to version 2.0.12 Message-ID: <20220420182013.763567-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- .../python-charset-normalizer/python-charset-normalizer.hash | 4 ++-- .../python-charset-normalizer/python-charset-normalizer.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-charset-normalizer/python-charset-normalizer.hash b/package/python-charset-normalizer/python-charset-normalizer.hash index 3c6e58a616..da540bbb8f 100644 --- a/package/python-charset-normalizer/python-charset-normalizer.hash +++ b/package/python-charset-normalizer/python-charset-normalizer.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/charset-normalizer/json -md5 2abe3754fef25c99799a518cb83a81ae charset-normalizer-2.0.11.tar.gz -sha256 98398a9d69ee80548c762ba991a4728bfc3836768ed226b3945908d1a688371c charset-normalizer-2.0.11.tar.gz +md5 f6664e0e90dbb3cc9cfc154a980f9864 charset-normalizer-2.0.12.tar.gz +sha256 2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 charset-normalizer-2.0.12.tar.gz # Locally computed sha256 checksums sha256 eb31a0c5a4fb09b8a4e32055d25c1e5f9c358a2752fef3cd720213d1ccfee241 LICENSE diff --git a/package/python-charset-normalizer/python-charset-normalizer.mk b/package/python-charset-normalizer/python-charset-normalizer.mk index c37b068b36..0742fac639 100644 --- a/package/python-charset-normalizer/python-charset-normalizer.mk +++ b/package/python-charset-normalizer/python-charset-normalizer.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.11 +PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.12 PYTHON_CHARSET_NORMALIZER_SOURCE = charset-normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz -PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/e8/e8/b6cfd28fb430b2ec9923ad0147025bf8bbdf304b1eb3039b69f1ce44ed6e +PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools PYTHON_CHARSET_NORMALIZER_LICENSE = MIT PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:25:03 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:25:03 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-cssselect2: bump to version 0.6.0 Message-ID: <20220420182503.768753-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-cssselect2/python-cssselect2.hash | 4 ++-- package/python-cssselect2/python-cssselect2.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-cssselect2/python-cssselect2.hash b/package/python-cssselect2/python-cssselect2.hash index fd892e297f..ffbafdfd40 100644 --- a/package/python-cssselect2/python-cssselect2.hash +++ b/package/python-cssselect2/python-cssselect2.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/cssselect2/json -md5 6206ebccfdd9fc02196f60e830fa7b1f cssselect2-0.5.0.tar.gz -sha256 d98a7bbdd8ebc46093279195d669a3359bd5a23f90c19e82c19d9eeef333e617 cssselect2-0.5.0.tar.gz +md5 cb5630e049172f431aeb82a3d504664a cssselect2-0.6.0.tar.gz +sha256 5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325 cssselect2-0.6.0.tar.gz # Locally computed sha256 checksums sha256 6fd97229a1d1b0f6a8b41e109f413426dbc0874b1e03746d66cc33282601c2c2 LICENSE diff --git a/package/python-cssselect2/python-cssselect2.mk b/package/python-cssselect2/python-cssselect2.mk index b3ddf41fef..0e34059e75 100644 --- a/package/python-cssselect2/python-cssselect2.mk +++ b/package/python-cssselect2/python-cssselect2.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CSSSELECT2_VERSION = 0.5.0 +PYTHON_CSSSELECT2_VERSION = 0.6.0 PYTHON_CSSSELECT2_SOURCE = cssselect2-$(PYTHON_CSSSELECT2_VERSION).tar.gz -PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/ce/e7/1333b9042beb33a9bb425900b6d9b59035b98c31c950a323d14ceca1275e +PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/68/62/b6a16d0c32bb088079f344202e3cd0936380a4d8cb23ef9b1f8079ff8612 PYTHON_CSSSELECT2_SETUP_TYPE = flit PYTHON_CSSSELECT2_LICENSE = BSD-3-Clause PYTHON_CSSSELECT2_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:30:09 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:30:09 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-fonttools: bump to version 4.32.0 Message-ID: <20220420183009.771346-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-fonttools/python-fonttools.hash | 4 ++-- package/python-fonttools/python-fonttools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-fonttools/python-fonttools.hash b/package/python-fonttools/python-fonttools.hash index df0bdf980d..077b60a8bd 100644 --- a/package/python-fonttools/python-fonttools.hash +++ b/package/python-fonttools/python-fonttools.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/fonttools/json -md5 7fc490291991da874911fed1e743362d fonttools-4.29.1.zip -sha256 2b18a172120e32128a80efee04cff487d5d140fe7d817deb648b2eee023a40e4 fonttools-4.29.1.zip +md5 be2db6ae923a9b369a3739ed5bdf0fcf fonttools-4.32.0.zip +sha256 59a90de72149893167e3d552ae2402c6874e006b9adc3feaf5f6d706fe20d392 fonttools-4.32.0.zip # Locally computed sha256 checksums sha256 6787208f83f659ccbc2223b2fde952ffa6f7e8aca62f1a8a2bf5bc51bb1b2383 LICENSE diff --git a/package/python-fonttools/python-fonttools.mk b/package/python-fonttools/python-fonttools.mk index c07011daa0..28d4f4b52f 100644 --- a/package/python-fonttools/python-fonttools.mk +++ b/package/python-fonttools/python-fonttools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_FONTTOOLS_VERSION = 4.29.1 +PYTHON_FONTTOOLS_VERSION = 4.32.0 PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip -PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/2d/4c/49ba863863502bb9fea19d8bd04a527da336b4a2698c8a0c7129e9cc2716 +PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/88/27/418ac6f1b85856608df81fe6e72fbb85929d7b904540056f3061e27bba04 PYTHON_FONTTOOLS_SETUP_TYPE = setuptools PYTHON_FONTTOOLS_LICENSE = MIT PYTHON_FONTTOOLS_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:32:41 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:32:41 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-logstash: bump to version 0.4.8 Message-ID: <20220420183241.772415-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-logstash/python-logstash.hash | 6 +++--- package/python-logstash/python-logstash.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-logstash/python-logstash.hash b/package/python-logstash/python-logstash.hash index ba11c7ffaa..297bb16bf2 100644 --- a/package/python-logstash/python-logstash.hash +++ b/package/python-logstash/python-logstash.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/python-logstash/json -md5 26fafa0ea306025fb7644d70cb38982a python-logstash-0.4.6.tar.gz -sha256 10943e5df83f592b4d61b63ad1afff855ccc8c9467f78718f0a59809ba1fe68c python-logstash-0.4.6.tar.gz +md5 e2cbc75dd5417cb55acaa3a12bf3afac python-logstash-0.4.8.tar.gz +sha256 d04e1ce11ecc107e4a4f3b807fc57d96811e964a554081b3bbb44732f74ef5f9 python-logstash-0.4.8.tar.gz # Locally computed sha256 checksums -sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff LICENSE +sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff LICENSE diff --git a/package/python-logstash/python-logstash.mk b/package/python-logstash/python-logstash.mk index 68930bb1f9..a78b6e6590 100644 --- a/package/python-logstash/python-logstash.mk +++ b/package/python-logstash/python-logstash.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_LOGSTASH_VERSION = 0.4.6 -PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/4e/8d/7ff2e8e8e2613e7bb7654790480bb4cf51a55721371adbb631b16cb16dce +PYTHON_LOGSTASH_VERSION = 0.4.8 +PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/f7/3b/c3a957bbdd23859f07905fc3d1adfe89957217a347478c58409f0315cf1d PYTHON_LOGSTASH_SETUP_TYPE = distutils PYTHON_LOGSTASH_LICENSE = MIT PYTHON_LOGSTASH_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:36:46 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:36:46 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-weasyprint: bump to version 54.3 Message-ID: <20220420183646.774923-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-weasyprint/python-weasyprint.hash | 4 ++-- package/python-weasyprint/python-weasyprint.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-weasyprint/python-weasyprint.hash b/package/python-weasyprint/python-weasyprint.hash index 90ccc1d057..3ad59b6abb 100644 --- a/package/python-weasyprint/python-weasyprint.hash +++ b/package/python-weasyprint/python-weasyprint.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/weasyprint/json -md5 3917447c277db6931b8370f1d725db49 weasyprint-54.2.tar.gz -sha256 d5e8aa82e3e2a2477a4543f0646d9fb14080c9ba34a0859751eb23757cc00466 weasyprint-54.2.tar.gz +md5 262af43e54ad89ecd0e304bad799c47c weasyprint-54.3.tar.gz +sha256 e04da040630566c44caa202033f07f858765f536709045a809739f3d048e89d6 weasyprint-54.3.tar.gz # Locally computed sha256 checksums sha256 bfd14eccfa6100575460e685556b183399d4bd335904e3c9521b0116d21c54da LICENSE diff --git a/package/python-weasyprint/python-weasyprint.mk b/package/python-weasyprint/python-weasyprint.mk index 925de855bc..f36e5b51d1 100644 --- a/package/python-weasyprint/python-weasyprint.mk +++ b/package/python-weasyprint/python-weasyprint.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_WEASYPRINT_VERSION = 54.2 +PYTHON_WEASYPRINT_VERSION = 54.3 PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz -PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/f3/dc/d3d6f1d87a0a0b09637a1f5076790e229cc803c3584ed4edb76553844001 +PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/e3/ba/d3453a6024e56a789ec9099a770c08b9998f8a60bf9b6375d9e76d67101a PYTHON_WEASYPRINT_SETUP_TYPE = flit PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:42:16 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:42:16 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-zopfli: bump to version 0.2.1 Message-ID: <20220420184216.777380-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-zopfli/python-zopfli.hash | 4 ++-- package/python-zopfli/python-zopfli.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-zopfli/python-zopfli.hash b/package/python-zopfli/python-zopfli.hash index 92b51bdf18..969ed97992 100644 --- a/package/python-zopfli/python-zopfli.hash +++ b/package/python-zopfli/python-zopfli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/zopfli/json -md5 f66b6f4132533b9b0ab8b0af757237bf zopfli-0.1.9.zip -sha256 78de3cc08a8efaa8013d61528907d91ac4d6cc014ffd8a41cc10ee75e9e60d7b zopfli-0.1.9.zip +md5 505ea595d86b8a7fec55620c839a4859 zopfli-0.2.1.zip +sha256 e5263d2806e2c1ccb23f52b2972a235d31d42f22f3fa3032cc9aded51e9bf2c6 zopfli-0.2.1.zip # Locally computed sha256 checksums sha256 018b1cb87efdf7a04c2fcc13d57ed63f62149113fb207b27ea13430d64f13513 COPYING diff --git a/package/python-zopfli/python-zopfli.mk b/package/python-zopfli/python-zopfli.mk index 95a0067b05..689634fefa 100644 --- a/package/python-zopfli/python-zopfli.mk +++ b/package/python-zopfli/python-zopfli.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ZOPFLI_VERSION = 0.1.9 +PYTHON_ZOPFLI_VERSION = 0.2.1 PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).zip -PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/10/7d/278fd896401b0ef76e06cd42c3ce1541572d83b1c713b6786795c60a1bbe +PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/91/25/ba6f370e18359292f05ca4df93642eb7d1c424721ef61f61b8610a63d0c5 PYTHON_ZOPFLI_SETUP_TYPE = setuptools PYTHON_ZOPFLI_LICENSE = Apache-2.0 PYTHON_ZOPFLI_LICENSE_FILES = COPYING -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 18:56:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 12:56:56 -0600 Subject: [Buildroot] [PATCH 1/1] package/zchunk: bump to version 1.2.2 Message-ID: <20220420185656.794855-1-james.hilliard1@gmail.com> Libcurl is now an optional dependency. Signed-off-by: James Hilliard --- package/zchunk/Config.in | 1 - package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 10 ++++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package/zchunk/Config.in b/package/zchunk/Config.in index 2d2a78a210..11463dd4bd 100644 --- a/package/zchunk/Config.in +++ b/package/zchunk/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_ZCHUNK bool "zchunk" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL - select BR2_PACKAGE_LIBCURL help A file format designed for highly efficient deltas while maintaining good compression. diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index d6b425dc70..fa097d4ae0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c zchunk-1.1.16.tar.gz +sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 6f7ac799a0..5582c21e77 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,15 +4,21 @@ # ################################################################################ -ZCHUNK_VERSION = 1.1.16 +ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_INSTALL_STAGING = YES ZCHUNK_DEPENDENCIES = \ - libcurl \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ZCHUNK_DEPENDENCIES += libcurl +ZCHUNK_CONF_OPTS += -Dwith-curl=enabled +else +ZCHUNK_CONF_OPTS += -Dwith-curl=disabled +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ZCHUNK_DEPENDENCIES += openssl ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 19:34:34 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 13:34:34 -0600 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump to version 0.3.50 Message-ID: <20220420193434.881088-1-james.hilliard1@gmail.com> Disable legacy-rtkit which we don't support. Signed-off-by: James Hilliard --- package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index e6fad56698..6f65a6b143 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 68bbf83b4c12bbcaef5d4bfb0dda86177583cf0abe0026efcfedd837b2e4926e pipewire-0.3.48.tar.bz2 +sha256 68592ab5852c46ee3d743f429f9d6b6c82171fa37b4b3854eb0da62b08b49d14 pipewire-0.3.50.tar.bz2 sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index 80246cc8d0..9d4dc45f02 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,7 +4,7 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.3.48 +PIPEWIRE_VERSION = 0.3.50 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) @@ -29,6 +29,7 @@ PIPEWIRE_CONF_OPTS += \ -Dvideotestsrc=enabled \ -Dvolume=enabled \ -Dsession-managers=[] \ + -Dlegacy-rtkit=false \ -Dlibcanberra=disabled \ -Dlv2=disabled -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 19:43:41 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 13:43:41 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-asn1crypto: bump to version 1.5.1 Message-ID: <20220420194341.882415-1-james.hilliard1@gmail.com> License hash changed due to date update: https://github.com/wbond/asn1crypto/commit/557a90012370d31eefccd92599dc1d9fa2fe99f2 Signed-off-by: James Hilliard --- package/python-asn1crypto/python-asn1crypto.hash | 6 +++--- package/python-asn1crypto/python-asn1crypto.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-asn1crypto/python-asn1crypto.hash b/package/python-asn1crypto/python-asn1crypto.hash index fb2da94ed5..4c9fda4618 100644 --- a/package/python-asn1crypto/python-asn1crypto.hash +++ b/package/python-asn1crypto/python-asn1crypto.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/asn1crypto/json -md5 00bf5b72d37778e62cc73b1d8909ae27 asn1crypto-1.4.0.tar.gz -sha256 f4f6e119474e58e04a2b1af817eb585b4fd72bdd89b998624712b5c99be7641c asn1crypto-1.4.0.tar.gz +md5 f7a5271af9b81246fbdf57d703afce2f asn1crypto-1.5.1.tar.gz +sha256 13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c asn1crypto-1.5.1.tar.gz # Locally computed sha256 checksums -sha256 a88480656ec98943fb04344f6a477ee74062896f3ddb1a6f99e5f05f0109a286 LICENSE +sha256 29c3425e5da53ab842273e5f2f2f068ce2e35df4260f7fa156aa1ac6bed02433 LICENSE diff --git a/package/python-asn1crypto/python-asn1crypto.mk b/package/python-asn1crypto/python-asn1crypto.mk index af4e43b3d0..480b70d17a 100644 --- a/package/python-asn1crypto/python-asn1crypto.mk +++ b/package/python-asn1crypto/python-asn1crypto.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ASN1CRYPTO_VERSION = 1.4.0 +PYTHON_ASN1CRYPTO_VERSION = 1.5.1 PYTHON_ASN1CRYPTO_SOURCE = asn1crypto-$(PYTHON_ASN1CRYPTO_VERSION).tar.gz -PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/6b/b4/42f0e52ac2184a8abb31f0a6f98111ceee1aac0b473cee063882436e0e09 +PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/de/cf/d547feed25b5244fcb9392e288ff9fdc3280b10260362fc45d37a798a6ee PYTHON_ASN1CRYPTO_SETUP_TYPE = setuptools PYTHON_ASN1CRYPTO_LICENSE = MIT PYTHON_ASN1CRYPTO_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 19:50:27 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 13:50:27 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-bsdiff4: bump to version 1.2.2 Message-ID: <20220420195027.883653-1-james.hilliard1@gmail.com> Migrate build system from distutils to setuptools. Signed-off-by: James Hilliard --- package/python-bsdiff4/python-bsdiff4.hash | 6 +++--- package/python-bsdiff4/python-bsdiff4.mk | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/python-bsdiff4/python-bsdiff4.hash b/package/python-bsdiff4/python-bsdiff4.hash index 4fddd137e6..bb84bb09a5 100644 --- a/package/python-bsdiff4/python-bsdiff4.hash +++ b/package/python-bsdiff4/python-bsdiff4.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/bsdiff4/json -md5 58889a1cd439c82c78aa2e4776b1ff38 bsdiff4-1.2.1.tar.gz -sha256 87cffc7522effdda03fd1564b212ad2279c0af50d16c3e65776f80acb6705d4b bsdiff4-1.2.1.tar.gz -# Locally computed sha256 +md5 fc5ea1adfe629a7c7ac6f4bb1a0dca93 bsdiff4-1.2.2.tar.gz +sha256 1880ac3f52a6c46ae6bcc6db117e4fb35f9b0ccd5af75fd4fee6907d00d6983c bsdiff4-1.2.2.tar.gz +# Locally computed sha256 checksums sha256 c6c921c90383f1c43beb53c49a652d28309a410a7c394c729fd8870271451cf0 LICENSE diff --git a/package/python-bsdiff4/python-bsdiff4.mk b/package/python-bsdiff4/python-bsdiff4.mk index e1c3f7765b..7a50e3379a 100644 --- a/package/python-bsdiff4/python-bsdiff4.mk +++ b/package/python-bsdiff4/python-bsdiff4.mk @@ -4,13 +4,13 @@ # ################################################################################ -PYTHON_BSDIFF4_VERSION = 1.2.1 +PYTHON_BSDIFF4_VERSION = 1.2.2 PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz -PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/d8/97/101315b0d8c8d6340ee310484a1af6a2ccf65d7bb4762c3a669cf9457c71 +PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/34/e2/e28dd282974f919a6b9adb3b7e64bb1fa4390046706c3e58a60b94aeb497 PYTHON_BSDIFF4_LICENSE = BSD-2-Clause, BSD-Protection (core.c) PYTHON_BSDIFF4_LICENSE_FILES = LICENSE PYTHON_BSDIFF4_CPE_ID_VENDOR = pypi PYTHON_BSDIFF4_CPE_ID_PRODUCT = bsdiff4 -PYTHON_BSDIFF4_SETUP_TYPE = distutils +PYTHON_BSDIFF4_SETUP_TYPE = setuptools $(eval $(python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 19:58:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 13:58:43 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-lxml: bump to version 4.8.0 Message-ID: <20220420195843.896993-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-lxml/python-lxml.hash | 2 +- package/python-lxml/python-lxml.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-lxml/python-lxml.hash b/package/python-lxml/python-lxml.hash index e33a8f8109..3600d7759a 100644 --- a/package/python-lxml/python-lxml.hash +++ b/package/python-lxml/python-lxml.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 6e84edecc3a82f90d44ddee2ee2a2630d4994b8471816e226d2b771cda7ac4ca lxml-4.6.5.tar.gz +sha256 f63f62fc60e6228a4ca9abae28228f35e1bd3ce675013d1dfb828688d50c6e23 lxml-4.8.0.tar.gz sha256 41d49dd406aa0e1548a6d5f21a30d6bf638b3cd96eb7289dd348d83ed2e40392 LICENSES.txt sha256 69edb445c1335a8312d4c09271847e9956d84f0d9f724d125340cc3fad767b2a doc/licenses/BSD.txt sha256 0497ae8138811ef4466ede653bab7a59feb3d3c14f9ed50fc33a00aeb5bec32e doc/licenses/elementtree.txt diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk index 8c2e965af6..90935a7ee1 100644 --- a/package/python-lxml/python-lxml.mk +++ b/package/python-lxml/python-lxml.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_LXML_VERSION = 4.6.5 -PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/e6/e1/34b3ab08553fe9a30e15b2bb9d1803a49d7d907dd9f245638839190042f0 +PYTHON_LXML_VERSION = 4.8.0 +PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/3b/94/e2b1b3bad91d15526c7e38918795883cee18b93f6785ea8ecf13f8ffa01e PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tar.gz # Not including the GPL, because it is used only for the test scripts. -- 2.25.1 From yann.morin.1998 at free.fr Wed Apr 20 20:01:02 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:01:02 +0200 Subject: [Buildroot] [PATCH] package/wtfutil: new package Message-ID: <20220420200102.2420626-1-yann.morin.1998@free.fr> Some of wtfutils modules (i.e. plugins) can call to external tools, so it needs to fork(), so needs an MMU. Signed-off-by: Yann E. MORIN --- $ ./utils/test-pkg -c wtf.cfg -d $(pwd)/test-pkg -k -p wtfutil -a andes-nds32 [ 1/45]: SKIPPED arm-aarch64 [ 2/45]: OK bootlin-aarch64-glibc [ 3/45]: OK bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED bootlin-armv5-uclibc [ 5/45]: OK bootlin-armv7-glibc [ 6/45]: OK bootlin-armv7m-uclibc [ 7/45]: SKIPPED bootlin-armv7-musl [ 8/45]: OK bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED bootlin-m68k-68040-uclibc [10/45]: SKIPPED bootlin-microblazeel-uclibc [11/45]: SKIPPED bootlin-mipsel32r6-glibc [12/45]: SKIPPED bootlin-mipsel-uclibc [13/45]: SKIPPED bootlin-nios2-glibc [14/45]: SKIPPED bootlin-openrisc-uclibc [15/45]: SKIPPED bootlin-powerpc64le-power8-glibc [16/45]: OK bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED bootlin-riscv32-glibc [18/45]: SKIPPED bootlin-riscv64-glibc [19/45]: SKIPPED bootlin-riscv64-musl [20/45]: SKIPPED bootlin-sh4-uclibc [21/45]: SKIPPED bootlin-sparc64-glibc [22/45]: SKIPPED bootlin-sparc-uclibc [23/45]: SKIPPED bootlin-x86-64-glibc [24/45]: OK bootlin-x86-64-musl [25/45]: OK bootlin-x86-64-uclibc [26/45]: OK bootlin-xtensa-uclibc [27/45]: SKIPPED br-arm-basic [28/45]: OK br-arm-full-nothread [29/45]: OK br-arm-full-static [30/45]: SKIPPED br-i386-pentium4-full [31/45]: OK br-i386-pentium-mmx-musl [32/45]: OK br-mips64-n64-full [33/45]: OK br-mips64r6-el-hf-glibc [34/45]: SKIPPED br-powerpc-603e-basic-cpp [35/45]: SKIPPED br-powerpc64-power7-glibc [36/45]: SKIPPED linaro-aarch64-be [37/45]: SKIPPED linaro-aarch64 [38/45]: OK linaro-arm [39/45]: OK sourcery-arm-armv4t [40/45]: SKIPPED sourcery-arm [41/45]: OK sourcery-arm-thumb2 [42/45]: OK sourcery-mips64 [43/45]: FAILED sourcery-mips [44/45]: SKIPPED sourcery-nios2 [45/45]: SKIPPED 45 builds, 26 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed The failing one is not even a build failure of wtfutil itself, but really just host-go that fails to build, because of some issues because of missing GOMIPS64 setting for soft-float, which when fixed opens another can of worms of itself... --- package/Config.in | 1 + package/wtfutil/Config.in | 8 ++++++++ package/wtfutil/wtfutil.hash | 2 ++ package/wtfutil/wtfutil.mk | 12 ++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 package/wtfutil/Config.in create mode 100644 package/wtfutil/wtfutil.hash create mode 100644 package/wtfutil/wtfutil.mk diff --git a/package/Config.in b/package/Config.in index 20d7156cea..f1e8b64e0d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2500,6 +2500,7 @@ comment "Utilities" source "package/tmux/Config.in" source "package/ttyd/Config.in" source "package/which/Config.in" + source "package/wtfutil/Config.in" source "package/xmlstarlet/Config.in" source "package/xxhash/Config.in" source "package/ytree/Config.in" diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in new file mode 100644 index 0000000000..8c3efcea5d --- /dev/null +++ b/package/wtfutil/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_WTFUTIL + bool "wtfutil" + depends on BR2_USE_MMU # fork() + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + help + WTF is the personal information dashboard for your terminal. + + https://wtfutil.com/ diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash new file mode 100644 index 0000000000..deb162794e --- /dev/null +++ b/package/wtfutil/wtfutil.hash @@ -0,0 +1,2 @@ +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk new file mode 100644 index 0000000000..6e841411a9 --- /dev/null +++ b/package/wtfutil/wtfutil.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# wtfutil +# +################################################################################ + +WTFUTIL_VERSION = 0.41.0 +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) +WTFUTIL_LICENSE = MPL-2.0 +WTFUTIL_LICENSE_FILES = LICENSE.md + +$(eval $(golang-package)) -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 20:05:08 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 14:05:08 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: bump to version 3.14.1 Message-ID: <20220420200508.900163-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-pycryptodomex/python-pycryptodomex.hash | 4 ++-- package/python-pycryptodomex/python-pycryptodomex.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-pycryptodomex/python-pycryptodomex.hash b/package/python-pycryptodomex/python-pycryptodomex.hash index 920cec2518..bb257499af 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.hash +++ b/package/python-pycryptodomex/python-pycryptodomex.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/pycryptodomex/json -md5 18f571832bbfbf0f4516ccef009f2dfb pycryptodomex-3.14.0.tar.gz -sha256 2d8bda8f949b79b78b293706aa7fc1e5c171c62661252bfdd5d12c70acd03282 pycryptodomex-3.14.0.tar.gz +md5 55f8c1121335891c7e972b73c15369ac pycryptodomex-3.14.1.tar.gz +sha256 2ce76ed0081fd6ac8c74edc75b9d14eca2064173af79843c24fa62573263c1f2 pycryptodomex-3.14.1.tar.gz # Locally computed sha256 checksums sha256 4e04660d77c1c64e89d79537919fb8240fa21484a7e3db29f358b2c7f84ea073 LICENSE.rst sha256 8e563c767164faa0831a333b57d23d4311cf566eb1b15d93250f4606be4eb549 Doc/LEGAL/COPYRIGHT.pycrypto diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index e3cc11afda..067516fc84 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYCRYPTODOMEX_VERSION = 3.14.0 +PYTHON_PYCRYPTODOMEX_VERSION = 3.14.1 PYTHON_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON_PYCRYPTODOMEX_VERSION).tar.gz -PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/a6/b3/a5e59cd3ad65d4dc470a3a63381d0495885cf1ac7659c83c6bc9e9e79df6 +PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/24/40/e249ac3845a2333ce50f1bb02299ffb766babdfe80ca9d31e0158ad06afd PYTHON_PYCRYPTODOMEX_SETUP_TYPE = setuptools PYTHON_PYCRYPTODOMEX_LICENSE = \ BSD-2-Clause, \ -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 20 20:37:20 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 20 Apr 2022 14:37:20 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools-rust: bump to version 1.2.0 Message-ID: <20220420203720.1002314-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash index 6bb42d918c..ae3a3463a5 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.hash +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 479fcd267ff48929bec9a7270e1a96d7 setuptools-rust-1.1.2.tar.gz -sha256 a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1 setuptools-rust-1.1.2.tar.gz +md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz +sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz # Locally computed sha256 checksums sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk index 394789b056..c2d8c6d9a7 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.mk +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_RUST_VERSION = 1.1.2 +PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools PYTHON_SETUPTOOLS_RUST_LICENSE = MIT PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE -- 2.25.1 From yann.morin.1998 at free.fr Wed Apr 20 20:37:01 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:01 +0200 Subject: [Buildroot] [git commit] package/python-bidict: bump to version 0.22.0 Message-ID: <20220420203211.6AF4183F54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3f18f7f2d9e44d3d62582d9db32d909cb8074881 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master License hash changed due to adding dates/author name: https://github.com/jab/bidict/commit/b5c9f346ce0e3450a9df41c8740c32ed8b62f7f3 Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-bidict/python-bidict.hash | 6 +++--- package/python-bidict/python-bidict.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-bidict/python-bidict.hash b/package/python-bidict/python-bidict.hash index 59229f96d9..fe9a94af53 100644 --- a/package/python-bidict/python-bidict.hash +++ b/package/python-bidict/python-bidict.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/bidict/json -md5 d9342771969dd0d42092a669ed6f3241 bidict-0.21.3.tar.gz -sha256 d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d bidict-0.21.3.tar.gz +md5 da3d37ae93c740c191b5666918c3164f bidict-0.22.0.tar.gz +sha256 5c826b3e15e97cc6e615de295756847c282a79b79c5430d3bfc909b1ac9f5bd8 bidict-0.22.0.tar.gz # Locally computed sha256 checksums -sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE +sha256 be0487398bba08e7772b4077b637787b94973b53c44b3cbdd6c7dab10ed15035 LICENSE diff --git a/package/python-bidict/python-bidict.mk b/package/python-bidict/python-bidict.mk index c6b7b862ea..7ba15db605 100644 --- a/package/python-bidict/python-bidict.mk +++ b/package/python-bidict/python-bidict.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_BIDICT_VERSION = 0.21.3 +PYTHON_BIDICT_VERSION = 0.22.0 PYTHON_BIDICT_SOURCE = bidict-$(PYTHON_BIDICT_VERSION).tar.gz -PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/3f/81/7221b28d692af5c5fc180c4850b8e4a48c7db92b3d529b430488f67db74f +PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/2b/84/159749556b9c49ea4489dadeb94d44f05d6033d1db3af4c83120ecac5b15 PYTHON_BIDICT_SETUP_TYPE = setuptools PYTHON_BIDICT_LICENSE = MPL-2.0 PYTHON_BIDICT_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:03 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:03 +0200 Subject: [Buildroot] [git commit] package/python-charset-normalizer: bump to version 2.0.12 Message-ID: <20220420203211.757BB83F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4ce665083a2d81f3caf6d48dfc88c76c3fced06d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-charset-normalizer/python-charset-normalizer.hash | 4 ++-- package/python-charset-normalizer/python-charset-normalizer.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-charset-normalizer/python-charset-normalizer.hash b/package/python-charset-normalizer/python-charset-normalizer.hash index 3c6e58a616..da540bbb8f 100644 --- a/package/python-charset-normalizer/python-charset-normalizer.hash +++ b/package/python-charset-normalizer/python-charset-normalizer.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/charset-normalizer/json -md5 2abe3754fef25c99799a518cb83a81ae charset-normalizer-2.0.11.tar.gz -sha256 98398a9d69ee80548c762ba991a4728bfc3836768ed226b3945908d1a688371c charset-normalizer-2.0.11.tar.gz +md5 f6664e0e90dbb3cc9cfc154a980f9864 charset-normalizer-2.0.12.tar.gz +sha256 2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 charset-normalizer-2.0.12.tar.gz # Locally computed sha256 checksums sha256 eb31a0c5a4fb09b8a4e32055d25c1e5f9c358a2752fef3cd720213d1ccfee241 LICENSE diff --git a/package/python-charset-normalizer/python-charset-normalizer.mk b/package/python-charset-normalizer/python-charset-normalizer.mk index c37b068b36..0742fac639 100644 --- a/package/python-charset-normalizer/python-charset-normalizer.mk +++ b/package/python-charset-normalizer/python-charset-normalizer.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.11 +PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.12 PYTHON_CHARSET_NORMALIZER_SOURCE = charset-normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz -PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/e8/e8/b6cfd28fb430b2ec9923ad0147025bf8bbdf304b1eb3039b69f1ce44ed6e +PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools PYTHON_CHARSET_NORMALIZER_LICENSE = MIT PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:29 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:29 +0200 Subject: [Buildroot] [git commit] package/python-weasyprint: bump to version 54.3 Message-ID: <20220420203211.9B65283F5A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0f49ccd3949a2e8fba554e5b27e2b23376d973c0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-weasyprint/python-weasyprint.hash | 4 ++-- package/python-weasyprint/python-weasyprint.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-weasyprint/python-weasyprint.hash b/package/python-weasyprint/python-weasyprint.hash index 90ccc1d057..3ad59b6abb 100644 --- a/package/python-weasyprint/python-weasyprint.hash +++ b/package/python-weasyprint/python-weasyprint.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/weasyprint/json -md5 3917447c277db6931b8370f1d725db49 weasyprint-54.2.tar.gz -sha256 d5e8aa82e3e2a2477a4543f0646d9fb14080c9ba34a0859751eb23757cc00466 weasyprint-54.2.tar.gz +md5 262af43e54ad89ecd0e304bad799c47c weasyprint-54.3.tar.gz +sha256 e04da040630566c44caa202033f07f858765f536709045a809739f3d048e89d6 weasyprint-54.3.tar.gz # Locally computed sha256 checksums sha256 bfd14eccfa6100575460e685556b183399d4bd335904e3c9521b0116d21c54da LICENSE diff --git a/package/python-weasyprint/python-weasyprint.mk b/package/python-weasyprint/python-weasyprint.mk index 925de855bc..f36e5b51d1 100644 --- a/package/python-weasyprint/python-weasyprint.mk +++ b/package/python-weasyprint/python-weasyprint.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_WEASYPRINT_VERSION = 54.2 +PYTHON_WEASYPRINT_VERSION = 54.3 PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz -PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/f3/dc/d3d6f1d87a0a0b09637a1f5076790e229cc803c3584ed4edb76553844001 +PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/e3/ba/d3453a6024e56a789ec9099a770c08b9998f8a60bf9b6375d9e76d67101a PYTHON_WEASYPRINT_SETUP_TYPE = flit PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:24 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:24 +0200 Subject: [Buildroot] [git commit] package/python-fonttools: bump to version 4.32.0 Message-ID: <20220420203211.88DCC83F54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=63814cf5a4bf03dd230c392ef937132c1543a86f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-fonttools/python-fonttools.hash | 4 ++-- package/python-fonttools/python-fonttools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-fonttools/python-fonttools.hash b/package/python-fonttools/python-fonttools.hash index df0bdf980d..077b60a8bd 100644 --- a/package/python-fonttools/python-fonttools.hash +++ b/package/python-fonttools/python-fonttools.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/fonttools/json -md5 7fc490291991da874911fed1e743362d fonttools-4.29.1.zip -sha256 2b18a172120e32128a80efee04cff487d5d140fe7d817deb648b2eee023a40e4 fonttools-4.29.1.zip +md5 be2db6ae923a9b369a3739ed5bdf0fcf fonttools-4.32.0.zip +sha256 59a90de72149893167e3d552ae2402c6874e006b9adc3feaf5f6d706fe20d392 fonttools-4.32.0.zip # Locally computed sha256 checksums sha256 6787208f83f659ccbc2223b2fde952ffa6f7e8aca62f1a8a2bf5bc51bb1b2383 LICENSE diff --git a/package/python-fonttools/python-fonttools.mk b/package/python-fonttools/python-fonttools.mk index c07011daa0..28d4f4b52f 100644 --- a/package/python-fonttools/python-fonttools.mk +++ b/package/python-fonttools/python-fonttools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_FONTTOOLS_VERSION = 4.29.1 +PYTHON_FONTTOOLS_VERSION = 4.32.0 PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip -PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/2d/4c/49ba863863502bb9fea19d8bd04a527da336b4a2698c8a0c7129e9cc2716 +PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/88/27/418ac6f1b85856608df81fe6e72fbb85929d7b904540056f3061e27bba04 PYTHON_FONTTOOLS_SETUP_TYPE = setuptools PYTHON_FONTTOOLS_LICENSE = MIT PYTHON_FONTTOOLS_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:31 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:31 +0200 Subject: [Buildroot] [git commit] package/python-zopfli: bump to version 0.2.1 Message-ID: <20220420203211.A4E2D83F54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b4d9efb434555b7c7ed4fb1ec0ec0b4b23a3cf02 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-zopfli/python-zopfli.hash | 4 ++-- package/python-zopfli/python-zopfli.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-zopfli/python-zopfli.hash b/package/python-zopfli/python-zopfli.hash index 92b51bdf18..969ed97992 100644 --- a/package/python-zopfli/python-zopfli.hash +++ b/package/python-zopfli/python-zopfli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/zopfli/json -md5 f66b6f4132533b9b0ab8b0af757237bf zopfli-0.1.9.zip -sha256 78de3cc08a8efaa8013d61528907d91ac4d6cc014ffd8a41cc10ee75e9e60d7b zopfli-0.1.9.zip +md5 505ea595d86b8a7fec55620c839a4859 zopfli-0.2.1.zip +sha256 e5263d2806e2c1ccb23f52b2972a235d31d42f22f3fa3032cc9aded51e9bf2c6 zopfli-0.2.1.zip # Locally computed sha256 checksums sha256 018b1cb87efdf7a04c2fcc13d57ed63f62149113fb207b27ea13430d64f13513 COPYING diff --git a/package/python-zopfli/python-zopfli.mk b/package/python-zopfli/python-zopfli.mk index 95a0067b05..689634fefa 100644 --- a/package/python-zopfli/python-zopfli.mk +++ b/package/python-zopfli/python-zopfli.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ZOPFLI_VERSION = 0.1.9 +PYTHON_ZOPFLI_VERSION = 0.2.1 PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).zip -PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/10/7d/278fd896401b0ef76e06cd42c3ce1541572d83b1c713b6786795c60a1bbe +PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/91/25/ba6f370e18359292f05ca4df93642eb7d1c424721ef61f61b8610a63d0c5 PYTHON_ZOPFLI_SETUP_TYPE = setuptools PYTHON_ZOPFLI_LICENSE = Apache-2.0 PYTHON_ZOPFLI_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Wed Apr 20 20:37:27 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:27 +0200 Subject: [Buildroot] [git commit] package/python-logstash: bump to version 0.4.8 Message-ID: <20220420203211.9202E83F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=94e21a0d42f57fe34afd2f8e9effd872389cbc4a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-logstash/python-logstash.hash | 6 +++--- package/python-logstash/python-logstash.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-logstash/python-logstash.hash b/package/python-logstash/python-logstash.hash index ba11c7ffaa..297bb16bf2 100644 --- a/package/python-logstash/python-logstash.hash +++ b/package/python-logstash/python-logstash.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/python-logstash/json -md5 26fafa0ea306025fb7644d70cb38982a python-logstash-0.4.6.tar.gz -sha256 10943e5df83f592b4d61b63ad1afff855ccc8c9467f78718f0a59809ba1fe68c python-logstash-0.4.6.tar.gz +md5 e2cbc75dd5417cb55acaa3a12bf3afac python-logstash-0.4.8.tar.gz +sha256 d04e1ce11ecc107e4a4f3b807fc57d96811e964a554081b3bbb44732f74ef5f9 python-logstash-0.4.8.tar.gz # Locally computed sha256 checksums -sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff LICENSE +sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff LICENSE diff --git a/package/python-logstash/python-logstash.mk b/package/python-logstash/python-logstash.mk index 68930bb1f9..a78b6e6590 100644 --- a/package/python-logstash/python-logstash.mk +++ b/package/python-logstash/python-logstash.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_LOGSTASH_VERSION = 0.4.6 -PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/4e/8d/7ff2e8e8e2613e7bb7654790480bb4cf51a55721371adbb631b16cb16dce +PYTHON_LOGSTASH_VERSION = 0.4.8 +PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/f7/3b/c3a957bbdd23859f07905fc3d1adfe89957217a347478c58409f0315cf1d PYTHON_LOGSTASH_SETUP_TYPE = distutils PYTHON_LOGSTASH_LICENSE = MIT PYTHON_LOGSTASH_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:05 +0200 Subject: [Buildroot] [git commit] package/python-cssselect2: bump to version 0.6.0 Message-ID: <20220420203211.7FA9083F5A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c7acb13bc6f5bdf87c088d0504d6962e0c966c4e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-cssselect2/python-cssselect2.hash | 4 ++-- package/python-cssselect2/python-cssselect2.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-cssselect2/python-cssselect2.hash b/package/python-cssselect2/python-cssselect2.hash index fd892e297f..ffbafdfd40 100644 --- a/package/python-cssselect2/python-cssselect2.hash +++ b/package/python-cssselect2/python-cssselect2.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/cssselect2/json -md5 6206ebccfdd9fc02196f60e830fa7b1f cssselect2-0.5.0.tar.gz -sha256 d98a7bbdd8ebc46093279195d669a3359bd5a23f90c19e82c19d9eeef333e617 cssselect2-0.5.0.tar.gz +md5 cb5630e049172f431aeb82a3d504664a cssselect2-0.6.0.tar.gz +sha256 5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325 cssselect2-0.6.0.tar.gz # Locally computed sha256 checksums sha256 6fd97229a1d1b0f6a8b41e109f413426dbc0874b1e03746d66cc33282601c2c2 LICENSE diff --git a/package/python-cssselect2/python-cssselect2.mk b/package/python-cssselect2/python-cssselect2.mk index b3ddf41fef..0e34059e75 100644 --- a/package/python-cssselect2/python-cssselect2.mk +++ b/package/python-cssselect2/python-cssselect2.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CSSSELECT2_VERSION = 0.5.0 +PYTHON_CSSSELECT2_VERSION = 0.6.0 PYTHON_CSSSELECT2_SOURCE = cssselect2-$(PYTHON_CSSSELECT2_VERSION).tar.gz -PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/ce/e7/1333b9042beb33a9bb425900b6d9b59035b98c31c950a323d14ceca1275e +PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/68/62/b6a16d0c32bb088079f344202e3cd0936380a4d8cb23ef9b1f8079ff8612 PYTHON_CSSSELECT2_SETUP_TYPE = flit PYTHON_CSSSELECT2_LICENSE = BSD-3-Clause PYTHON_CSSSELECT2_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:40 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:40 +0200 Subject: [Buildroot] [git commit] package/python-pycryptodomex: bump to version 3.14.1 Message-ID: <20220420203211.C831883F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=adab02c5ac1fd78e7bdd7629ab7983124b24d3ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-pycryptodomex/python-pycryptodomex.hash | 4 ++-- package/python-pycryptodomex/python-pycryptodomex.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-pycryptodomex/python-pycryptodomex.hash b/package/python-pycryptodomex/python-pycryptodomex.hash index 920cec2518..bb257499af 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.hash +++ b/package/python-pycryptodomex/python-pycryptodomex.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/pycryptodomex/json -md5 18f571832bbfbf0f4516ccef009f2dfb pycryptodomex-3.14.0.tar.gz -sha256 2d8bda8f949b79b78b293706aa7fc1e5c171c62661252bfdd5d12c70acd03282 pycryptodomex-3.14.0.tar.gz +md5 55f8c1121335891c7e972b73c15369ac pycryptodomex-3.14.1.tar.gz +sha256 2ce76ed0081fd6ac8c74edc75b9d14eca2064173af79843c24fa62573263c1f2 pycryptodomex-3.14.1.tar.gz # Locally computed sha256 checksums sha256 4e04660d77c1c64e89d79537919fb8240fa21484a7e3db29f358b2c7f84ea073 LICENSE.rst sha256 8e563c767164faa0831a333b57d23d4311cf566eb1b15d93250f4606be4eb549 Doc/LEGAL/COPYRIGHT.pycrypto diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index e3cc11afda..067516fc84 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYCRYPTODOMEX_VERSION = 3.14.0 +PYTHON_PYCRYPTODOMEX_VERSION = 3.14.1 PYTHON_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON_PYCRYPTODOMEX_VERSION).tar.gz -PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/a6/b3/a5e59cd3ad65d4dc470a3a63381d0495885cf1ac7659c83c6bc9e9e79df6 +PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/24/40/e249ac3845a2333ce50f1bb02299ffb766babdfe80ca9d31e0158ad06afd PYTHON_PYCRYPTODOMEX_SETUP_TYPE = setuptools PYTHON_PYCRYPTODOMEX_LICENSE = \ BSD-2-Clause, \ From yann.morin.1998 at free.fr Wed Apr 20 20:37:34 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:34 +0200 Subject: [Buildroot] [git commit] package/python-asn1crypto: bump to version 1.5.1 Message-ID: <20220420203211.AD93383F55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=daf331b3afac908e0d7949e55659182810dbbf1c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master License hash changed due to date update: https://github.com/wbond/asn1crypto/commit/557a90012370d31eefccd92599dc1d9fa2fe99f2 Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-asn1crypto/python-asn1crypto.hash | 6 +++--- package/python-asn1crypto/python-asn1crypto.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-asn1crypto/python-asn1crypto.hash b/package/python-asn1crypto/python-asn1crypto.hash index fb2da94ed5..4c9fda4618 100644 --- a/package/python-asn1crypto/python-asn1crypto.hash +++ b/package/python-asn1crypto/python-asn1crypto.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/asn1crypto/json -md5 00bf5b72d37778e62cc73b1d8909ae27 asn1crypto-1.4.0.tar.gz -sha256 f4f6e119474e58e04a2b1af817eb585b4fd72bdd89b998624712b5c99be7641c asn1crypto-1.4.0.tar.gz +md5 f7a5271af9b81246fbdf57d703afce2f asn1crypto-1.5.1.tar.gz +sha256 13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c asn1crypto-1.5.1.tar.gz # Locally computed sha256 checksums -sha256 a88480656ec98943fb04344f6a477ee74062896f3ddb1a6f99e5f05f0109a286 LICENSE +sha256 29c3425e5da53ab842273e5f2f2f068ce2e35df4260f7fa156aa1ac6bed02433 LICENSE diff --git a/package/python-asn1crypto/python-asn1crypto.mk b/package/python-asn1crypto/python-asn1crypto.mk index af4e43b3d0..480b70d17a 100644 --- a/package/python-asn1crypto/python-asn1crypto.mk +++ b/package/python-asn1crypto/python-asn1crypto.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ASN1CRYPTO_VERSION = 1.4.0 +PYTHON_ASN1CRYPTO_VERSION = 1.5.1 PYTHON_ASN1CRYPTO_SOURCE = asn1crypto-$(PYTHON_ASN1CRYPTO_VERSION).tar.gz -PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/6b/b4/42f0e52ac2184a8abb31f0a6f98111ceee1aac0b473cee063882436e0e09 +PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/de/cf/d547feed25b5244fcb9392e288ff9fdc3280b10260362fc45d37a798a6ee PYTHON_ASN1CRYPTO_SETUP_TYPE = setuptools PYTHON_ASN1CRYPTO_LICENSE = MIT PYTHON_ASN1CRYPTO_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Wed Apr 20 20:37:36 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:36 +0200 Subject: [Buildroot] [git commit] package/python-bsdiff4: bump to version 1.2.2 Message-ID: <20220420203211.B658683F5A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=19e0d88dca22c81fdbb08de405ce80f9e9f69ea0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Migrate build system from distutils to setuptools. Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-bsdiff4/python-bsdiff4.hash | 6 +++--- package/python-bsdiff4/python-bsdiff4.mk | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/python-bsdiff4/python-bsdiff4.hash b/package/python-bsdiff4/python-bsdiff4.hash index 4fddd137e6..bb84bb09a5 100644 --- a/package/python-bsdiff4/python-bsdiff4.hash +++ b/package/python-bsdiff4/python-bsdiff4.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/bsdiff4/json -md5 58889a1cd439c82c78aa2e4776b1ff38 bsdiff4-1.2.1.tar.gz -sha256 87cffc7522effdda03fd1564b212ad2279c0af50d16c3e65776f80acb6705d4b bsdiff4-1.2.1.tar.gz -# Locally computed sha256 +md5 fc5ea1adfe629a7c7ac6f4bb1a0dca93 bsdiff4-1.2.2.tar.gz +sha256 1880ac3f52a6c46ae6bcc6db117e4fb35f9b0ccd5af75fd4fee6907d00d6983c bsdiff4-1.2.2.tar.gz +# Locally computed sha256 checksums sha256 c6c921c90383f1c43beb53c49a652d28309a410a7c394c729fd8870271451cf0 LICENSE diff --git a/package/python-bsdiff4/python-bsdiff4.mk b/package/python-bsdiff4/python-bsdiff4.mk index e1c3f7765b..7a50e3379a 100644 --- a/package/python-bsdiff4/python-bsdiff4.mk +++ b/package/python-bsdiff4/python-bsdiff4.mk @@ -4,13 +4,13 @@ # ################################################################################ -PYTHON_BSDIFF4_VERSION = 1.2.1 +PYTHON_BSDIFF4_VERSION = 1.2.2 PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz -PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/d8/97/101315b0d8c8d6340ee310484a1af6a2ccf65d7bb4762c3a669cf9457c71 +PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/34/e2/e28dd282974f919a6b9adb3b7e64bb1fa4390046706c3e58a60b94aeb497 PYTHON_BSDIFF4_LICENSE = BSD-2-Clause, BSD-Protection (core.c) PYTHON_BSDIFF4_LICENSE_FILES = LICENSE PYTHON_BSDIFF4_CPE_ID_VENDOR = pypi PYTHON_BSDIFF4_CPE_ID_PRODUCT = bsdiff4 -PYTHON_BSDIFF4_SETUP_TYPE = distutils +PYTHON_BSDIFF4_SETUP_TYPE = setuptools $(eval $(python-package)) From yann.morin.1998 at free.fr Wed Apr 20 20:37:38 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:37:38 +0200 Subject: [Buildroot] [git commit] package/python-lxml: bump to version 4.8.0 Message-ID: <20220420203211.BF22B83F54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=94a4e96553b195f3b1c3ec9d047b9b08ccc00a07 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/python-lxml/python-lxml.hash | 2 +- package/python-lxml/python-lxml.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-lxml/python-lxml.hash b/package/python-lxml/python-lxml.hash index e33a8f8109..3600d7759a 100644 --- a/package/python-lxml/python-lxml.hash +++ b/package/python-lxml/python-lxml.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 6e84edecc3a82f90d44ddee2ee2a2630d4994b8471816e226d2b771cda7ac4ca lxml-4.6.5.tar.gz +sha256 f63f62fc60e6228a4ca9abae28228f35e1bd3ce675013d1dfb828688d50c6e23 lxml-4.8.0.tar.gz sha256 41d49dd406aa0e1548a6d5f21a30d6bf638b3cd96eb7289dd348d83ed2e40392 LICENSES.txt sha256 69edb445c1335a8312d4c09271847e9956d84f0d9f724d125340cc3fad767b2a doc/licenses/BSD.txt sha256 0497ae8138811ef4466ede653bab7a59feb3d3c14f9ed50fc33a00aeb5bec32e doc/licenses/elementtree.txt diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk index 8c2e965af6..90935a7ee1 100644 --- a/package/python-lxml/python-lxml.mk +++ b/package/python-lxml/python-lxml.mk @@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_LXML_VERSION = 4.6.5 -PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/e6/e1/34b3ab08553fe9a30e15b2bb9d1803a49d7d907dd9f245638839190042f0 +PYTHON_LXML_VERSION = 4.8.0 +PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/3b/94/e2b1b3bad91d15526c7e38918795883cee18b93f6785ea8ecf13f8ffa01e PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tar.gz # Not including the GPL, because it is used only for the test scripts. From yann.morin.1998 at free.fr Wed Apr 20 20:42:39 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:42:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-bidict: bump to version 0.22.0 In-Reply-To: <20220420181625.762383-1-james.hilliard1@gmail.com> References: <20220420181625.762383-1-james.hilliard1@gmail.com> Message-ID: <20220420204239.GG2730@scaer> James, All, On 2022-04-20 12:16 -0600, James Hilliard spake thusly: > License hash changed due to adding dates/author name: > https://github.com/jab/bidict/commit/b5c9f346ce0e3450a9df41c8740c32ed8b62f7f3 > > Signed-off-by: James Hilliard Applied to master, thanks, along with the next 10 bumps. Regards, Yann E. MORIN. > --- > package/python-bidict/python-bidict.hash | 6 +++--- > package/python-bidict/python-bidict.mk | 4 ++-- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/python-bidict/python-bidict.hash b/package/python-bidict/python-bidict.hash > index 59229f96d9..fe9a94af53 100644 > --- a/package/python-bidict/python-bidict.hash > +++ b/package/python-bidict/python-bidict.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/bidict/json > -md5 d9342771969dd0d42092a669ed6f3241 bidict-0.21.3.tar.gz > -sha256 d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d bidict-0.21.3.tar.gz > +md5 da3d37ae93c740c191b5666918c3164f bidict-0.22.0.tar.gz > +sha256 5c826b3e15e97cc6e615de295756847c282a79b79c5430d3bfc909b1ac9f5bd8 bidict-0.22.0.tar.gz > # Locally computed sha256 checksums > -sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE > +sha256 be0487398bba08e7772b4077b637787b94973b53c44b3cbdd6c7dab10ed15035 LICENSE > diff --git a/package/python-bidict/python-bidict.mk b/package/python-bidict/python-bidict.mk > index c6b7b862ea..7ba15db605 100644 > --- a/package/python-bidict/python-bidict.mk > +++ b/package/python-bidict/python-bidict.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -PYTHON_BIDICT_VERSION = 0.21.3 > +PYTHON_BIDICT_VERSION = 0.22.0 > PYTHON_BIDICT_SOURCE = bidict-$(PYTHON_BIDICT_VERSION).tar.gz > -PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/3f/81/7221b28d692af5c5fc180c4850b8e4a48c7db92b3d529b430488f67db74f > +PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/2b/84/159749556b9c49ea4489dadeb94d44f05d6033d1db3af4c83120ecac5b15 > PYTHON_BIDICT_SETUP_TYPE = setuptools > PYTHON_BIDICT_LICENSE = MPL-2.0 > PYTHON_BIDICT_LICENSE_FILES = LICENSE > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 20:43:04 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:43:04 +0200 Subject: [Buildroot] [git commit] package/zchunk: bump to version 1.2.2 Message-ID: <20220420203336.B19CC83F65@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f1130afcdac3c2fb54b7a3d95ca7b4073b9453b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Libcurl is now an optional dependency. Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/zchunk/Config.in | 1 - package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 10 ++++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package/zchunk/Config.in b/package/zchunk/Config.in index 2d2a78a210..11463dd4bd 100644 --- a/package/zchunk/Config.in +++ b/package/zchunk/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_ZCHUNK bool "zchunk" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL - select BR2_PACKAGE_LIBCURL help A file format designed for highly efficient deltas while maintaining good compression. diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index d6b425dc70..fa097d4ae0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c zchunk-1.1.16.tar.gz +sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 6f7ac799a0..5582c21e77 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,15 +4,21 @@ # ################################################################################ -ZCHUNK_VERSION = 1.1.16 +ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_INSTALL_STAGING = YES ZCHUNK_DEPENDENCIES = \ - libcurl \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ZCHUNK_DEPENDENCIES += libcurl +ZCHUNK_CONF_OPTS += -Dwith-curl=enabled +else +ZCHUNK_CONF_OPTS += -Dwith-curl=disabled +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ZCHUNK_DEPENDENCIES += openssl ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled From yann.morin.1998 at free.fr Wed Apr 20 20:43:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:43:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/zchunk: bump to version 1.2.2 In-Reply-To: <20220420185656.794855-1-james.hilliard1@gmail.com> References: <20220420185656.794855-1-james.hilliard1@gmail.com> Message-ID: <20220420204353.GH2730@scaer> James, All, On 2022-04-20 12:56 -0600, James Hilliard spake thusly: > Libcurl is now an optional dependency. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/zchunk/Config.in | 1 - > package/zchunk/zchunk.hash | 2 +- > package/zchunk/zchunk.mk | 10 ++++++++-- > 3 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/package/zchunk/Config.in b/package/zchunk/Config.in > index 2d2a78a210..11463dd4bd 100644 > --- a/package/zchunk/Config.in > +++ b/package/zchunk/Config.in > @@ -2,7 +2,6 @@ config BR2_PACKAGE_ZCHUNK > bool "zchunk" > depends on BR2_USE_MMU # fork() > select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL > - select BR2_PACKAGE_LIBCURL > help > A file format designed for highly efficient deltas while > maintaining good compression. > diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash > index d6b425dc70..fa097d4ae0 100644 > --- a/package/zchunk/zchunk.hash > +++ b/package/zchunk/zchunk.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c zchunk-1.1.16.tar.gz > +sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz > sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE > diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk > index 6f7ac799a0..5582c21e77 100644 > --- a/package/zchunk/zchunk.mk > +++ b/package/zchunk/zchunk.mk > @@ -4,15 +4,21 @@ > # > ################################################################################ > > -ZCHUNK_VERSION = 1.1.16 > +ZCHUNK_VERSION = 1.2.2 > ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) > ZCHUNK_LICENSE = BSD-2-Clause > ZCHUNK_LICENSE_FILES = LICENSE > ZCHUNK_INSTALL_STAGING = YES > ZCHUNK_DEPENDENCIES = \ > - libcurl \ > $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) > > +ifeq ($(BR2_PACKAGE_LIBCURL),y) > +ZCHUNK_DEPENDENCIES += libcurl > +ZCHUNK_CONF_OPTS += -Dwith-curl=enabled > +else > +ZCHUNK_CONF_OPTS += -Dwith-curl=disabled > +endif > + > ifeq ($(BR2_PACKAGE_OPENSSL),y) > ZCHUNK_DEPENDENCIES += openssl > ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 20:55:21 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:55:21 +0200 Subject: [Buildroot] [git commit] package/ragel: new package Message-ID: <20220420204555.EDD7283F6B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=db3e2e4da88a10e8125b8e343c0ece106613b5b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is an host-only package that does preprocessing to .rl files to turn them into .c or .cpp files. Initially added to support package/roc. See https://www.colm.net/open-source/ragel/ for the project's home page: Ragel compiles executable finite state machines from regular languages. Ragel targets C, C++ and ASM. Ragel state machines can not only recognize byte sequences as regular expression machines do, but can also execute code at arbitrary points in the recognition of a regular language. Code embedding is done using inline operators that do not disrupt the regular language syntax. Signed-off-by: Th??o Lebrun [yann.morin.1998 at free.fr: drop empty _DEPENDENCIES] Signed-off-by: Yann E. MORIN --- package/ragel/ragel.hash | 3 +++ package/ragel/ragel.mk | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/package/ragel/ragel.hash b/package/ragel/ragel.hash new file mode 100644 index 0000000000..332f587432 --- /dev/null +++ b/package/ragel/ragel.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f ragel-6.10.tar.gz +sha256 05a87975accb539399d0c8a4f4402ac27a6762fb1e4f31d04d455a8bee3e3693 COPYING diff --git a/package/ragel/ragel.mk b/package/ragel/ragel.mk new file mode 100644 index 0000000000..56afcd7236 --- /dev/null +++ b/package/ragel/ragel.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# ragel +# +################################################################################ + +RAGEL_VERSION = 6.10 +RAGEL_SITE = https://www.colm.net/files/ragel/ +RAGEL_LICENSE = GPL-2.0 +RAGEL_LICENSE_FILES = COPYING +RAGEL_CONF_OPTS = \ + --disable-silent-rules \ + --disable-manual \ + --disable-dependency-tracking + +$(eval $(host-autotools-package)) From yann.morin.1998 at free.fr Wed Apr 20 20:57:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 22:57:08 +0200 Subject: [Buildroot] [PATCH 1/3] package/ragel: new package In-Reply-To: <20220310152048.633340-1-theo.lebrun@bootlin.com> References: <20220310152048.633340-1-theo.lebrun@bootlin.com> Message-ID: <20220420205708.GI2730@scaer> Th?o, All, On 2022-03-10 16:20 +0100, Th?o Lebrun via buildroot spake thusly: > This is an host-only package that does preprocessing to .rl files to > turn them into .c or .cpp files. > > Initially added to support package/roc. > > See https://www.colm.net/open-source/ragel/ for the project's home page: > > Ragel compiles executable finite state machines from regular languages. > Ragel targets C, C++ and ASM. Ragel state machines can not only > recognize byte sequences as regular expression machines do, but can > also execute code at arbitrary points in the recognition of a regular > language. Code embedding is done using inline operators that do not > disrupt the regular language syntax. > > Signed-off-by: Th?o Lebrun > --- > package/ragel/ragel.hash | 3 +++ > package/ragel/ragel.mk | 18 ++++++++++++++++++ > 2 files changed, 21 insertions(+) > create mode 100644 package/ragel/ragel.hash > create mode 100644 package/ragel/ragel.mk > > diff --git a/package/ragel/ragel.hash b/package/ragel/ragel.hash > new file mode 100644 > index 0000000000..332f587432 > --- /dev/null > +++ b/package/ragel/ragel.hash > @@ -0,0 +1,3 @@ > +# Locally computed: > +sha256 5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f ragel-6.10.tar.gz > +sha256 05a87975accb539399d0c8a4f4402ac27a6762fb1e4f31d04d455a8bee3e3693 COPYING > diff --git a/package/ragel/ragel.mk b/package/ragel/ragel.mk > new file mode 100644 > index 0000000000..476aff5da4 > --- /dev/null > +++ b/package/ragel/ragel.mk > @@ -0,0 +1,18 @@ > +################################################################################ > +# > +# ragel > +# > +################################################################################ > + > +RAGEL_VERSION = 6.10 > +RAGEL_SITE = https://www.colm.net/files/ragel/ > +RAGEL_LICENSE = GPL-2.0 > +RAGEL_LICENSE_FILES = COPYING > +RAGEL_CONF_OPTS = \ > + --disable-silent-rules \ > + --disable-manual \ > + --disable-dependency-tracking > +RAGEL_DEPENDENCIES = > +HOST_RAGEL_DEPENDENCIES = Useless setting of empty variables. Besides, RAGEL_DEPENDENCIES is not even needed as this is a host-only package. Applied to master after dropping those two variables, thanks. Regards, Yann E. MORIN. > +$(eval $(host-autotools-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 21:07:14 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:07:14 +0200 Subject: [Buildroot] [PATCH 1/3] package/ragel: new package In-Reply-To: <20220420205708.GI2730@scaer> References: <20220310152048.633340-1-theo.lebrun@bootlin.com> <20220420205708.GI2730@scaer> Message-ID: <20220420210714.GJ2730@scaer> Th?o, All, On 2022-04-20 22:57 +0200, Yann E. MORIN spake thusly: > On 2022-03-10 16:20 +0100, Th?o Lebrun via buildroot spake thusly: > > This is an host-only package that does preprocessing to .rl files to > > turn them into .c or .cpp files. [--SNIP--] > > +RAGEL_VERSION = 6.10 > > +RAGEL_SITE = https://www.colm.net/files/ragel/ > > +RAGEL_LICENSE = GPL-2.0 > > +RAGEL_LICENSE_FILES = COPYING > > +RAGEL_CONF_OPTS = \ > > + --disable-silent-rules \ > > + --disable-manual \ > > + --disable-dependency-tracking Gah, I forgot to comment about those before pushing and sending the previous mail... So, why were --disable-silent-rules and --disable-dependency-tracking needed? Usually, they are not needed, and we do not even set them in our autotools-package infra. If they are really important, could you please send a followup that adds a comment above RAGEL_CONF_OPTS? And if they are not needed, can you send a followup patch that removes them? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 21:28:26 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:28:26 +0200 Subject: [Buildroot] [PATCH 2/3] package/roc: new package In-Reply-To: <20220310152048.633340-2-theo.lebrun@bootlin.com> References: <20220310152048.633340-1-theo.lebrun@bootlin.com> <20220310152048.633340-2-theo.lebrun@bootlin.com> Message-ID: <20220420212826.GK2730@scaer> Th?o, All, On 2022-03-10 16:20 +0100, Th?o Lebrun via buildroot spake thusly: > Roc is a toolkit for real-time audio streaming over the network. > https://roc-streaming.org/ > > Goal: optional dependency to PipeWire. > Requires host-ragel to build. > > Signed-off-by: Th?o Lebrun > --- [--SNIP--] > diff --git a/package/roc/0001-fix-build-that-used-removed-functionality.patch b/package/roc/0001-fix-build-that-used-removed-functionality.patch > new file mode 100644 > index 0000000000..50147905c8 > --- /dev/null > +++ b/package/roc/0001-fix-build-that-used-removed-functionality.patch > @@ -0,0 +1,28 @@ > +build: fix build that used removed functionality > + > +The SConstruct file used the "SourceCode()" method that was removed in > +SCons 4.0.0, after being deprecated in 2.0.0. > + > +This was fixed upstream but is not in the latest release yet. > +https://github.com/roc-streaming/roc-toolkit/commit/abdfbb94df98fe88be4dd92ca587500126558411 Then please just backport that upstream commit (git format-patch, then add your SoB line). [--SNIP--] > diff --git a/package/roc/Config.in b/package/roc/Config.in > new file mode 100644 > index 0000000000..3fd74cab3f > --- /dev/null > +++ b/package/roc/Config.in > @@ -0,0 +1,28 @@ > +comment "ROC needs a toolchain w/ shared libraries, C++, NPTL" > + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ > + !BR2_TOOLCHAIN_HAS_THREADS_NPTL > + depends on BR2_USE_MMU > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > + > +config BR2_PACKAGE_ROC > + bool "roc" > + # depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_1 Drop commented-out dependency. > + depends on !BR2_STATIC_LIBS > + depends on BR2_INSTALL_LIBSTDCPP > + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv > + depends on BR2_USE_MMU # libuv > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv Depenencies order are: - arch dependencies - toolchain dependencies - package dependencies https://buildroot.org/downloads/manual/manual.html#_config_files > + select BR2_PACKAGE_HOST_PYTHON3 > + select BR2_PACKAGE_HOST_PYTHON3_SSL > + select BR2_PACKAGE_LIBUV > + help > + Roc is a toolkit for real-time audio streaming over the > + network. > + > + https://roc-streaming.org/ > + > +if BR2_PACKAGE_ROC Empty line after an if (not a written rule, but it's more readable). > +config BR2_PACKAGE_ROC_TOOLS > + bool "build roc-{conv,recv,send} tools" > + default y We sually shy away from 'default y', unless there is a good reason, which thus needs to be explained in the commit log. Empty line before an endif (ditto). [--SNIP--] > diff --git a/package/roc/roc.mk b/package/roc/roc.mk > new file mode 100644 > index 0000000000..90d226ffbd > --- /dev/null > +++ b/package/roc/roc.mk > @@ -0,0 +1,75 @@ > +################################################################################ > +# > +# roc > +# > +################################################################################ > + > +ROC_VERSION = v0.1.5 > +ROC_SITE = $(call github,roc-streaming,roc-toolkit,$(ROC_VERSION)) > +ROC_LICENSE = MPL-2.0 > +ROC_LICENSE_FILES = LICENSE > +ROC_INSTALL_STAGING = YES > +ROC_DEPENDENCIES = \ > + host-gengetopt \ > + host-pkgconf \ > + host-ragel \ > + host-scons \ > + libuv > + > +ROC_SCONS_OPTS = \ > + --disable-tests \ > + --disable-examples \ > + --disable-doc \ > + --disable-libunwind \ > + --build-3rdparty=openfec > +# We are not building OpenFEC ourselves as they are using a forked version. See > +# the following note in the documentation: > +# https://github.com/roc-streaming/roc-toolkit/blob/c89687330bfce6f4dce79826f7a235b581f2b49d/docs/sphinx/building/dependencies.rst This must be explained in the commit log. But why can't we use openfec as a separate package, using the roc fork? The original OpenFEC has not been updated sine 2014: http://openfec.org/ The fork is not in a much better shape, not having been updated since 2019: https://github.com/roc-streaming/openfec So, I would think it would be OK to package the roc fork of OpenFEC, rather than use the bundled version. Also, using --build-3rdparty means the download is done at configure time (or even at build time), but we try to be able to build without network; the following is expected to work: $ make source [unplug network] $ make but --build-3rdparty will make that faile, AFAICS. > +# The shared library is enabled by default. --enable-lib does not exist. > +ifneq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) Why not use positive logic; ifeq ($(BR2_STATIC_LIBS),y) > +ROC_SCONS_OPTS += --disable-lib > +endif > + > +ifeq ($(BR2_PACKAGE_ROC_TOOLS),y) > + > +# Tools are enabled by default. --enable-tools does not exist. > + > +# SoX and Pulseaudio support is only used for tools or examples, which is why > +# their support is inside the TOOLS condition. Are examples built by default? If yes, can we disable them? If yes, should we do that unconditionally, or add an option (I'd vote against the option)? > +ifeq ($(BR2_PACKAGE_SOX),y) > +ROC_DEPENDENCIES += sox > +else > +ROC_SCONS_OPTS += --disable-sox > +endif > + > +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) > +ROC_DEPENDENCIES += pulseaudio > +else > +ROC_SCONS_OPTS += --disable-pulseaudio > +endif > + > +else > +ROC_SCONS_OPTS += --disable-tools > +endif > + > +define ROC_BUILD_CMDS > + (cd $(@D); \ Enclosing the build commands in parentheses is useless; it just spawns an extra shell for nothing. Ditto for all _CMDS below, of course. > + $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \ > + $(SCONS) $(ROC_SCONS_OPTS)) > +endef > + > +define ROC_INSTALL_STAGING_CMDS > + (cd $(@D); \ > + $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \ > + $(SCONS) $(ROC_SCONS_OPTS) --prefix="$(STAGING_DIR)/usr" install) > +endef > + > +define ROC_INSTALL_TARGET_CMDS > + (cd $(@D); \ > + $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \ > + $(SCONS) $(ROC_SCONS_OPTS) --prefix="$(TARGET_DIR)/usr" install) > +endef > + > +$(eval $(generic-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 21:29:43 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:29:43 +0200 Subject: [Buildroot] [git commit] package/pipewire: bump to version 0.3.50 Message-ID: <20220420212014.A3CAC83F77@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d1d289174eb1e4a34ca70a99e9a655a115b724a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable legacy-rtkit which we don't support. Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index e6fad56698..6f65a6b143 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 68bbf83b4c12bbcaef5d4bfb0dda86177583cf0abe0026efcfedd837b2e4926e pipewire-0.3.48.tar.bz2 +sha256 68592ab5852c46ee3d743f429f9d6b6c82171fa37b4b3854eb0da62b08b49d14 pipewire-0.3.50.tar.bz2 sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index 80246cc8d0..9d4dc45f02 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,7 +4,7 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.3.48 +PIPEWIRE_VERSION = 0.3.50 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) @@ -29,6 +29,7 @@ PIPEWIRE_CONF_OPTS += \ -Dvideotestsrc=enabled \ -Dvolume=enabled \ -Dsession-managers=[] \ + -Dlegacy-rtkit=false \ -Dlibcanberra=disabled \ -Dlv2=disabled From yann.morin.1998 at free.fr Wed Apr 20 21:30:45 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:30:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump to version 0.3.50 In-Reply-To: <20220420193434.881088-1-james.hilliard1@gmail.com> References: <20220420193434.881088-1-james.hilliard1@gmail.com> Message-ID: <20220420213045.GL2730@scaer> James, All, On 2022-04-20 13:34 -0600, James Hilliard spake thusly: > Disable legacy-rtkit which we don't support. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/pipewire/pipewire.hash | 2 +- > package/pipewire/pipewire.mk | 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash > index e6fad56698..6f65a6b143 100644 > --- a/package/pipewire/pipewire.hash > +++ b/package/pipewire/pipewire.hash > @@ -1,4 +1,4 @@ > # Locally calculated > -sha256 68bbf83b4c12bbcaef5d4bfb0dda86177583cf0abe0026efcfedd837b2e4926e pipewire-0.3.48.tar.bz2 > +sha256 68592ab5852c46ee3d743f429f9d6b6c82171fa37b4b3854eb0da62b08b49d14 pipewire-0.3.50.tar.bz2 > sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING > sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE > diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk > index 80246cc8d0..9d4dc45f02 100644 > --- a/package/pipewire/pipewire.mk > +++ b/package/pipewire/pipewire.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PIPEWIRE_VERSION = 0.3.48 > +PIPEWIRE_VERSION = 0.3.50 > PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 > PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) > PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) > @@ -29,6 +29,7 @@ PIPEWIRE_CONF_OPTS += \ > -Dvideotestsrc=enabled \ > -Dvolume=enabled \ > -Dsession-managers=[] \ > + -Dlegacy-rtkit=false \ > -Dlibcanberra=disabled \ > -Dlv2=disabled > > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Wed Apr 20 21:33:51 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:33:51 +0200 Subject: [Buildroot] [git commit] package/pipewire: add optional lv2 support Message-ID: <20220420212447.5CAD683F80@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b38894e348f261898c19985b1a1d2299fe74502 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Pipewire supports lv2 via the lilv dependency. https://github.com/PipeWire/pipewire/blob/0.3.45/meson.build#L451 Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/pipewire/pipewire.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index 9d4dc45f02..64f7d054c1 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -30,8 +30,7 @@ PIPEWIRE_CONF_OPTS += \ -Dvolume=enabled \ -Dsession-managers=[] \ -Dlegacy-rtkit=false \ - -Dlibcanberra=disabled \ - -Dlv2=disabled + -Dlibcanberra=disabled ifeq ($(BR2_PACKAGE_DBUS),y) PIPEWIRE_CONF_OPTS += -Ddbus=enabled @@ -130,6 +129,13 @@ else PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled endif +ifeq ($(BR2_PACKAGE_LILV),y) +PIPEWIRE_CONF_OPTS += -Dlv2=enabled +PIPEWIRE_DEPENDENCIES += lilv +else +PIPEWIRE_CONF_OPTS += -Dlv2=disabled +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) PIPEWIRE_CONF_OPTS += -Dx11=enabled PIPEWIRE_DEPENDENCIES += xlib_libX11 From yann.morin.1998 at free.fr Wed Apr 20 21:35:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 20 Apr 2022 23:35:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: add optional lv2 support In-Reply-To: <20220213014024.1868278-1-james.hilliard1@gmail.com> References: <20220213014024.1868278-1-james.hilliard1@gmail.com> Message-ID: <20220420213550.GM2730@scaer> James, All, On 2022-02-12 18:40 -0700, James Hilliard spake thusly: > Pipewire supports lv2 via the lilv dependency. > https://github.com/PipeWire/pipewire/blob/0.3.45/meson.build#L451 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/pipewire/pipewire.mk | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk > index fc521c86ac..2a38db9977 100644 > --- a/package/pipewire/pipewire.mk > +++ b/package/pipewire/pipewire.mk > @@ -29,8 +29,7 @@ PIPEWIRE_CONF_OPTS += \ > -Dvideotestsrc=enabled \ > -Dvolume=enabled \ > -Dsession-managers=[] \ > - -Dlibcanberra=disabled \ > - -Dlv2=disabled > + -Dlibcanberra=disabled > > ifeq ($(BR2_PACKAGE_DBUS),y) > PIPEWIRE_CONF_OPTS += -Ddbus=enabled > @@ -129,6 +128,13 @@ else > PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled > endif > > +ifeq ($(BR2_PACKAGE_LILV),y) > +PIPEWIRE_CONF_OPTS += -Dlv2=enabled > +PIPEWIRE_DEPENDENCIES += lilv > +else > +PIPEWIRE_CONF_OPTS += -Dlv2=disabled > +endif > + > ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) > PIPEWIRE_CONF_OPTS += -Dx11=enabled > PIPEWIRE_DEPENDENCIES += xlib_libX11 > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From james.hilliard1 at gmail.com Thu Apr 21 06:30:28 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 21 Apr 2022 00:30:28 -0600 Subject: [Buildroot] [PATCH 1/1] package/gstd: fix init file installation Message-ID: <20220421063028.3647447-1-james.hilliard1@gmail.com> Fix a bug where the init subdir was accidentially removed from meson. Signed-off-by: James Hilliard --- ...-meson.build-add-missing-init-subdir.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch diff --git a/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch new file mode 100644 index 0000000000..ed3738e3d4 --- /dev/null +++ b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch @@ -0,0 +1,28 @@ +From 689265cd522c770ad3e0391cae80ee884a8c475c Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Thu, 21 Apr 2022 01:14:52 -0500 +Subject: [PATCH] meson.build: add missing init subdir + +Seems this got accidentially removed in: +9f4490138c8892b1c86008134438b2ab405c9b0f + +Restore it so that init files are properly installed. + +Signed-off-by: James Hilliard +[upstreeam: https://github.com/RidgeRun/gstd-1.x/pull/291] +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index a30f776..7a8690a 100644 +--- a/meson.build ++++ b/meson.build +@@ -300,3 +300,4 @@ subdir('gst_client') + subdir('tests') + subdir('examples') + subdir('docs') ++subdir('init') +-- +2.25.1 + -- 2.25.1 From arnout at mind.be Thu Apr 21 07:22:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 09:22:04 +0200 Subject: [Buildroot] [PATCH] package/wtfutil: new package In-Reply-To: <20220420200102.2420626-1-yann.morin.1998@free.fr> References: <20220420200102.2420626-1-yann.morin.1998@free.fr> Message-ID: <8b28d775-d65a-d6e2-2b50-6bfc6549df0b@mind.be> On 20/04/2022 22:01, Yann E. MORIN wrote: > Some of wtfutils modules (i.e. plugins) can call to external tools, so Modules are not optional? > it needs to fork(), so needs an MMU. > > Signed-off-by: Yann E. MORIN [snip] > diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in > new file mode 100644 > index 0000000000..8c3efcea5d > --- /dev/null > +++ b/package/wtfutil/Config.in > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_WTFUTIL > + bool "wtfutil" > + depends on BR2_USE_MMU # fork() > + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > + help > + WTF is the personal information dashboard for your terminal. > + > + https://wtfutil.com/ > diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash > new file mode 100644 > index 0000000000..deb162794e > --- /dev/null > +++ b/package/wtfutil/wtfutil.hash > @@ -0,0 +1,2 @@ > +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz > +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md > diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk > new file mode 100644 > index 0000000000..6e841411a9 > --- /dev/null > +++ b/package/wtfutil/wtfutil.mk > @@ -0,0 +1,12 @@ > +################################################################################ > +# > +# wtfutil > +# > +################################################################################ > + > +WTFUTIL_VERSION = 0.41.0 > +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) If the upstream repository is called wtf, and the help text says "WTF is ...", why do you call it wtfutil? Regards, Arnout > +WTFUTIL_LICENSE = MPL-2.0 > +WTFUTIL_LICENSE_FILES = LICENSE.md > + > +$(eval $(golang-package)) From fontaine.fabrice at gmail.com Thu Apr 21 07:27:39 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 09:27:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/erofs-utils: fix build with gcc 4.8 Message-ID: <20220421072739.1816817-1-fontaine.fabrice@gmail.com> Add upstream patch to disable -Werror and fix the following build failure with gcc 4.8 raised since bump to version 1.4 in commit c2e32e655802ad917eb240b8c2b7ac343ab55ec1 and https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a5df3b3acf545af289cb47faa6de0: In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, from ../include/erofs/internal.h:242, from ../include/erofs/inode.h:11, from main.c:12: In function 'memset', inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] __warn_memset_zero_len (); ^ Fixes: - http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 Signed-off-by: Fabrice Fontaine --- .../erofs-utils/0005-Add-disable-werror.patch | 136 ++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 package/erofs-utils/0005-Add-disable-werror.patch diff --git a/package/erofs-utils/0005-Add-disable-werror.patch b/package/erofs-utils/0005-Add-disable-werror.patch new file mode 100644 index 0000000000..8b286c3265 --- /dev/null +++ b/package/erofs-utils/0005-Add-disable-werror.patch @@ -0,0 +1,136 @@ +From eb79816f85db164af732a5bcbb42d09214845874 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 21 Apr 2022 00:10:18 +0200 +Subject: erofs-utils: add --disable-werror + +Add an option to disable -Werror to fix the following build failure [1] with +gcc 4.8 raised since version 1.4 and [2] + +In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, + from ../include/erofs/internal.h:242, + from ../include/erofs/inode.h:11, + from main.c:12: +In function 'memset', + inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: +/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] + __warn_memset_zero_len (); + +[1] http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 +[2] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a +Signed-off-by: Fabrice Fontaine +Link: https://lore.kernel.org/r/20220420221018.1396105-1-fontaine.fabrice at gmail.com +Signed-off-by: Gao Xiang +[Retrieved (and backported) from: +https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?h=dev&id=eb79816f85db164af732a5bcbb42d09214845874] +--- + configure.ac | 13 ++++++++++++- + dump/Makefile.am | 2 +- + fsck/Makefile.am | 2 +- + fuse/Makefile.am | 2 +- + lib/Makefile.am | 2 +- + mkfs/Makefile.am | 2 +- + 6 files changed, 17 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index fa917e6..53bf882 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([config.h.in]) + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_AUX_DIR(config) +-AM_INIT_AUTOMAKE([foreign -Wall -Werror]) ++AM_INIT_AUTOMAKE([foreign -Wall]) + + # Checks for programs. + AM_PROG_AR +@@ -65,6 +65,12 @@ AC_ARG_ENABLE([debug], + [enable_debug="$enableval"], + [enable_debug="no"]) + ++AC_ARG_ENABLE([werror], ++ [AS_HELP_STRING([--enable-werror], ++ [enable -Werror @<:@default=no@:>@])], ++ [enable_werror="$enableval"], ++ [enable_werror="no"]) ++ + AC_ARG_ENABLE(lz4, + [AS_HELP_STRING([--disable-lz4], [disable LZ4 compression support @<:@default=enabled@:>@])], + [enable_lz4="$enableval"], [enable_lz4="yes"]) +@@ -197,6 +203,11 @@ AS_IF([test "x$enable_debug" != "xno"], [], [ + CPPFLAGS="$CPPFLAGS -DNDEBUG" + ]) + ++# Configure -Werror ++AS_IF([test "x$enable_werror" != "xyes"], [], [ ++ CPPFLAGS="$CPPFLAGS -Werror" ++]) ++ + # Configure libuuid + AS_IF([test "x$with_uuid" != "xno"], [ + PKG_CHECK_MODULES([libuuid], [uuid]) +diff --git a/dump/Makefile.am b/dump/Makefile.am +index 9f0cd3f..c2bef6d 100644 +--- a/dump/Makefile.am ++++ b/dump/Makefile.am +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = dump.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} + dump_erofs_SOURCES = main.c +-dump_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++dump_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + dump_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} +diff --git a/fsck/Makefile.am b/fsck/Makefile.am +index 55b31ea..e6a1fb6 100644 +--- a/fsck/Makefile.am ++++ b/fsck/Makefile.am +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = fsck.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} + fsck_erofs_SOURCES = main.c +-fsck_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++fsck_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + fsck_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} +diff --git a/fuse/Makefile.am b/fuse/Makefile.am +index 5aa5ac0..3179a2b 100644 +--- a/fuse/Makefile.am ++++ b/fuse/Makefile.am +@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign + noinst_HEADERS = $(top_srcdir)/fuse/macosx.h + bin_PROGRAMS = erofsfuse + erofsfuse_SOURCES = dir.c main.c +-erofsfuse_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++erofsfuse_CFLAGS = -Wall -I$(top_srcdir)/include + erofsfuse_CFLAGS += -DFUSE_USE_VERSION=26 ${libfuse_CFLAGS} ${libselinux_CFLAGS} + erofsfuse_LDADD = $(top_builddir)/lib/liberofs.la ${libfuse_LIBS} ${liblz4_LIBS} \ + ${libselinux_LIBS} ${liblzma_LIBS} +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 4a25013..3fad357 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -28,7 +28,7 @@ noinst_HEADERS += compressor.h + liberofs_la_SOURCES = config.c io.c cache.c super.c inode.c xattr.c exclude.c \ + namei.c data.c compress.c compressor.c zmap.c decompress.c \ + compress_hints.c hashmap.c sha256.c blobchunk.c +-liberofs_la_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++liberofs_la_CFLAGS = -Wall -I$(top_srcdir)/include + if ENABLE_LZ4 + liberofs_la_CFLAGS += ${LZ4_CFLAGS} + liberofs_la_SOURCES += compressor_lz4.c +diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am +index 2a4bc1d..709d9bf 100644 +--- a/mkfs/Makefile.am ++++ b/mkfs/Makefile.am +@@ -4,6 +4,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = mkfs.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} ${libselinux_CFLAGS} + mkfs_erofs_SOURCES = main.c +-mkfs_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++mkfs_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + mkfs_erofs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${liblz4_LIBS} ${liblzma_LIBS} +-- +cgit + -- 2.35.1 From fontaine.fabrice at gmail.com Thu Apr 21 09:19:07 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 11:19:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/vde2: fix build with BR2_OPTIMIZE_0 Message-ID: <20220421091907.2774561-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_OPTIMIZE_0: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': vde_l3.c:(.text+0xb30): undefined reference to `iphead' Fixes: - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d Signed-off-by: Fabrice Fontaine --- ...de_l3-Add-static-to-inline-functions.patch | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch diff --git a/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch new file mode 100644 index 0000000000..7f771dfc7e --- /dev/null +++ b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch @@ -0,0 +1,37 @@ +vde_l3: Add static to inline functions + +Add static to inline functions to avoid the following build failure +with BR2_OPTIMIZE_0: + +/home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': +vde_l3.c:(.text+0xb30): undefined reference to `iphead' + +Fixes: + - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d + +Signed-off-by: Fabrice Fontaine + +diff -Nura vde2-2.3.2.orig/src/vde_l3/vde_l3.c vde2-2.3.2/src/vde_l3/vde_l3.c +--- vde2-2.3.2.orig/src/vde_l3/vde_l3.c 2022-04-21 11:05:17.393452698 +0200 ++++ vde2-2.3.2/src/vde_l3/vde_l3.c 2022-04-21 11:10:36.509804404 +0200 +@@ -100,17 +100,17 @@ + }; + + +-inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) ++static inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) + { + return (struct vde_ethernet_header*)(vdb->data); + } + +-inline struct iphdr *iphead(struct vde_buff *vdb) ++static inline struct iphdr *iphead(struct vde_buff *vdb) + { + return (struct iphdr*)(vdb->data + 14); + } + +-inline void *payload(struct vde_buff *vdb) ++static inline void *payload(struct vde_buff *vdb) + { + return (uint8_t*)(vdb->data + 14 + sizeof(struct iphdr)); + } -- 2.35.1 From Eugen.Hristev at microchip.com Thu Apr 21 09:24:51 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Thu, 21 Apr 2022 09:24:51 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind In-Reply-To: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> References: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> Message-ID: <2507ebbe-3dc4-e2a2-f3e8-f668603b52d8@microchip.com> On 4/19/22 7:11 PM, Fabrice Fontaine wrote: > Untar internal bind so libtool patches will be applied on bind's > libtool. This will fix: > - installation of some libraries such as libisccfg. Indeed, if libtool > is not patched those libraries will be "relinked" and so not > installed. > - build failures with riscv and or1k: > > Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized > > Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized > > Fixes: > - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 > - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e > > Signed-off-by: Fabrice Fontaine Tested-by: Eugen Hristev Tested on AT91 boards > --- > package/dhcp/dhcp.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index e6f4c419f4..f815c6c802 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc > # internal bind does not support parallel builds. > DHCP_MAKE = $(MAKE1) > > +# untar internal bind so libtool patches will be applied on bind's libtool > +define DHCP_UNTAR_INTERNAL_BIND > + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ > +endef > + > +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND > + > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > cp $(@D)/configure.ac+lt $(@D)/configure.ac > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > From Eugen.Hristev at microchip.com Thu Apr 21 09:25:37 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Thu, 21 Apr 2022 09:25:37 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind In-Reply-To: References: <20220403100318.2581647-1-fontaine.fabrice@gmail.com> <8735ims60b.fsf@dell.be.48ers.dk> <8735iifser.fsf@dell.be.48ers.dk> <34fddc8f-8710-65f9-330d-81fefe64354a@microchip.com> <87y20aeb04.fsf@dell.be.48ers.dk> <8d53da79-2a90-8649-6f46-22b33b7bdbe5@microchip.com> <87bkx5crop.fsf@dell.be.48ers.dk> <2a14aebd-8213-0966-b0d4-392ca9ce36e6@microchip.com> Message-ID: <65316bc2-f596-3b3e-71fc-ffafa87e2165@microchip.com> On 4/19/22 7:12 PM, Fabrice Fontaine wrote: > Le mar. 19 avr. 2022 ? 12:19, a ?crit : >> >> On 4/19/22 12:08 PM, Fabrice Fontaine wrote: >>> Hello Eugen, >>> >>> Le mar. 19 avr. 2022 ? 07:21, a ?crit : >>>> >>>> On 4/14/22 7:44 PM, Fabrice Fontaine wrote: >>>>> Le jeu. 14 avr. 2022 ? 11:59, Fabrice Fontaine >>>>> a ?crit : >>>>>> >>>>>> Hello Eugen, >>>>>> >>>>>> Le jeu. 14 avr. 2022 ? 11:10, a ?crit : >>>>>>> >>>>>>> On 4/13/22 11:29 AM, Peter Korsgaard wrote: >>>>>>>>>>>>> writes: >>>>>>>> >>>>>>>> > On 4/12/22 9:17 PM, Fabrice Fontaine wrote: >>>>>>>> >> Le mar. 12 avr. 2022 ? 14:34, Peter Korsgaard a ?crit : >>>>>>>> >>> >>>>>>>> >>>>>>>> writes: >>>>>>>> >>> >>>>>>>> >>> Hi, >>>>>>>> >>> >>>>>>>> >>> >> Yeah. Eugen, is there any specific reason why you use the dhcp package >>>>>>>> >>> >> over the other DHCP clients we provide? >>>>>>>> >>> >>>>>>>> >>> > Historical reasons, and the fact that people have working configurations >>>>>>>> >>> > using this package... I was unaware that it was due to be removed. >>>>>>>> >>> > We will try to switch to a different package in the future. Thanks for >>>>>>>> >>> > letting me know. >>>>>>>> >>> > However, if the package is still in this buildroot release, it has to >>>>>>>> >>> > work right ? >>>>>>>> >>> >>>>>>>> >>> Yes, that is the idea. If it is dead upstream and hard to fix then that >>>>>>>> >>> naturally makes it harder to do, but the intention is to fix it. >>>>>>>> >> >>>>>>>> >> The following patch should fix the issue: >>>>>>>> >> https://patchwork.ozlabs.org/project/buildroot/patch/20220412181607.1451580-1-fontaine.fabrice at gmail.com/ >>>>>>>> >>>>>>>> > Hi, >>>>>>>> >>>>>>>> > your patch together with the other one ( >>>>>>>> > https://patchwork.ozlabs.org/project/buildroot/patch/DU0P251MB07797CAAE80C985DC8976335E3E79 at DU0P251MB0779.EURP251.PROD.OUTLOOK.COM/ >>>>>>>> > ), >>>>>>>> >>>>>>>> > solve the build problem for this package. >>>>>>>> >>>>>>>> They are now both added to the 2022.02.x branch, thanks. >>>>>>>> >>>>>>>> -- >>>>>>>> Bye, Peter Korsgaard >>>>>>>> >>>>>>> >>>>>>> Hello again Fabrice, >>>>>>> >>>>>>> After managing to successfully build all our defconfigs now, while >>>>>>> testing on another board (sama7g5ek), I noticed this message at boot log : >>>>>>> >>>>>>> Starting DHCP server: /usr/sbin/dhcpd: error while loading shared >>>>>>> libraries: libirs.so.161: cannot open shared object file: No such file >>>>>>> or directory >>>>>>> >>>>>>> Digging yields that libirs is part of bind package. Do you know why this >>>>>>> happens and what could be the cause? Could latest patches affect the dhcpd ? >>>>>> >>>>>> Indeed, the internal bind libraries (including libirs.so.161) are >>>>>> correctly installed in staging directory but not in the target >>>>>> directory because dhcp.mk is overriding DHCP_INSTALL_TARGET_CMDS. >>>>>> I'll send a patch by the end of the day. >>>>> >>>>> The following patch should fix the issue: >>>>> https://patchwork.ozlabs.org/project/buildroot/patch/20220414164109.1724873-1-fontaine.fabrice at gmail.com/ >>>>> >>>> >>>> Hello Fabrice, >>>> >>>> The libirs problem is gone now, thanks. However, I get a new error: >>>> >>>> >>>> Starting DHCP server: /usr/sbin/dhcpd: error while loading shared >>>> libraries: libisccfg.so.163: cannot open shared object file: No such >>>> file or directory >>>> >>>> Looks like there are still problems on my side >>> >>> libisccfg.so.163 is installed on target rootfs (in /usr/lib). Can you >>> check that this is also the case on your side? >> >> # ls -la /usr/lib/libisc* >> lrwxrwxrwx 1 root root 18 Apr 18 2022 >> /usr/lib/libisc.so -> libisc.so.1107.0.7 >> lrwxrwxrwx 1 root root 18 Apr 18 2022 >> /usr/lib/libisc.so.1107 -> libisc.so.1107.0.7 >> -rwxr-xr-x 1 root root 317960 Apr 18 2022 >> /usr/lib/libisc.so.1107.0.7 >> # >> >> >> It looks like it's not. > > I was able to find and fix the issue: > https://patchwork.ozlabs.org/project/buildroot/patch/20220419161130.3431492-1-fontaine.fabrice at gmail.com/ > Thank you for your patches ! It looks that it works fine now. Sent a reviewed-by tag on your patch. Eugen >> >>> >>>> >>>> Thanks, >>>> Eugen >>>> >>>>>> >>>>>>> >>>>>>> Thanks ! >>>>>>> Eugen >>>>>> >>>>>> Best Regards, >>>>>> >>>>>> Fabrice >>>>> >>>>> Best Regards, >>>>> >>>>> Fabrice >>>>> >>>> >>> >>> Best Regards, >>> >>> Fabrice >>> >> From fontaine.fabrice at gmail.com Thu Apr 21 10:02:33 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 12:02:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/argp-standalone: bump to version 1.4.1 Message-ID: <20220421100233.3845088-1-fontaine.fabrice@gmail.com> - Switch site to an up-to-date fork - Drop first and second patches (not needed since: https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b https://github.com/ericonr/argp-standalone/commit/80691135993109ec0c8a41327418195fc6d82694 - Drop third patch (not needed since: https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043) - License is LGPL-2.1+ since https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b - README.md can be used as the license file since https://github.com/ericonr/argp-standalone/commit/da0206414df4fe55f70b6dfba86ec232acf5d444 - This bump will also fix the following build failure with BR2_OPTIMIZE_0 thanks to https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: /nvmedata/autobuild/instance-27/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: libargp.a(argp-help.o): in function `indent_to': /nvmedata/autobuild/instance-27/output-1/build/argp-standalone-1.3/argp-help.c:930: undefined reference to `argp_fmtstream_point' Fixes: - http://autobuild.buildroot.org/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791 Signed-off-by: Fabrice Fontaine --- .../0001-throw-in-funcdef.patch | 79 ------------------- package/argp-standalone/0002-isprint.patch | 45 ----------- .../0003-fix_build_with_c99_compilers.patch | 68 ---------------- package/argp-standalone/Config.in | 2 +- package/argp-standalone/argp-standalone.hash | 4 +- package/argp-standalone/argp-standalone.mk | 11 ++- 6 files changed, 10 insertions(+), 199 deletions(-) delete mode 100644 package/argp-standalone/0001-throw-in-funcdef.patch delete mode 100644 package/argp-standalone/0002-isprint.patch delete mode 100644 package/argp-standalone/0003-fix_build_with_c99_compilers.patch diff --git a/package/argp-standalone/0001-throw-in-funcdef.patch b/package/argp-standalone/0001-throw-in-funcdef.patch deleted file mode 100644 index 4a90751e1e..0000000000 --- a/package/argp-standalone/0001-throw-in-funcdef.patch +++ /dev/null @@ -1,79 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone -# Copyright (C) 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - - -No __THROW in function implementation. - --jsaw - ---- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100 -+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100 -@@ -560,17 +560,17 @@ - # endif - - # ifndef ARGP_EI --# define ARGP_EI extern __inline__ -+# define ARGP_EI extern inline - # endif - - ARGP_EI void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - ARGP_EI int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -582,7 +582,7 @@ - } - - ARGP_EI int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } ---- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100 -+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100 -@@ -1290,13 +1290,13 @@ - /* Defined here, in case a user is not inlining the definitions in - * argp.h */ - void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -1310,7 +1310,7 @@ - } - - int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } diff --git a/package/argp-standalone/0002-isprint.patch b/package/argp-standalone/0002-isprint.patch deleted file mode 100644 index 9c08366f68..0000000000 --- a/package/argp-standalone/0002-isprint.patch +++ /dev/null @@ -1,45 +0,0 @@ -Subject: restrict value range passed to isprint function - -According to C standards isprint argument shall be representable as an -unsigned char or be equal to EOF, otherwise the behaviour is undefined. - -Passing arbitrary ints leads to segfault in nm program from elfutils. - -Restrict isprint argument range to values representable by unsigned char. - -Signed-off-by: Max Filippov ---- -Index: b/argp.h -=================================================================== ---- a/argp.h -+++ b/argp.h -@@ -23,6 +23,7 @@ - - #include - #include -+#include - - #define __need_error_t - #include -@@ -577,7 +578,7 @@ - else - { - int __key = __opt->key; -- return __key > 0 && isprint (__key); -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); - } - } - -Index: b/argp-parse.c -=================================================================== ---- a/argp-parse.c -+++ b/argp-parse.c -@@ -1292,7 +1292,7 @@ - int __key = __opt->key; - /* FIXME: whether or not a particular key implies a short option - * ought not to be locale dependent. */ -- return __key > 0 && isprint (__key); -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); - } - } - diff --git a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch b/package/argp-standalone/0003-fix_build_with_c99_compilers.patch deleted file mode 100644 index 56b753b607..0000000000 --- a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch +++ /dev/null @@ -1,68 +0,0 @@ -From b2dfa011a3fdcb7d22764d143517d0fbd1c2a201 Mon Sep 17 00:00:00 2001 -From: Emmanuel Dreyfus -Date: Wed, 22 Jan 2014 14:47:23 +0100 -Subject: [PATCH] Fix build with c99 compilers - -BUG: 764655 -Change-Id: If5dfdc9c7427bd3d39d8da8f79e33ae2da6a3137 -Signed-off-by: Emmanuel Dreyfus -Reviewed-on: http://review.gluster.org/6034 -Reviewed-by: Harshavardhana -Tested-by: Gluster Build System ---- - -diff --git a/argp-fmtstream.c b/argp-fmtstream.c -index 7f79285..494b6b3 100644 ---- a/argp-fmtstream.c -+++ b/argp-fmtstream.c -@@ -389,6 +389,7 @@ - weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf) - #endif - -+#if __STDC_VERSION__ - 199900L < 1 - /* Duplicate the inline definitions in argp-fmtstream.h, for compilers - * that don't do inlining. */ - size_t -@@ -471,5 +472,6 @@ - __argp_fmtstream_update (__fs); - return __fs->point_col >= 0 ? __fs->point_col : 0; - } -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - #endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ -diff --git a/argp-fmtstream.h b/argp-fmtstream.h -index e797b11..828f435 100644 ---- a/argp-fmtstream.h -+++ b/argp-fmtstream.h -@@ -153,6 +153,7 @@ - __const char *__fmt, ...) - PRINTF_STYLE(2,3); - -+#if __STDC_VERSION__ - 199900L < 1 - extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); - extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); - -@@ -163,6 +164,7 @@ - __const char *__str, size_t __len); - extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, - __const char *__str, size_t __len); -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - /* Access macros for various bits of state. */ - #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) -@@ -172,6 +174,7 @@ - #define __argp_fmtstream_rmargin argp_fmtstream_rmargin - #define __argp_fmtstream_wmargin argp_fmtstream_wmargin - -+#if __STDC_VERSION__ - 199900L < 1 - /* Set __FS's left margin to LMARGIN and return the old value. */ - extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, - size_t __lmargin); -@@ -193,6 +196,7 @@ - /* Return the column number of the current output point in __FS. */ - extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); - extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - /* Internal routines. */ - extern void _argp_fmtstream_update (argp_fmtstream_t __fs); diff --git a/package/argp-standalone/Config.in b/package/argp-standalone/Config.in index 3319dd945c..891d4aedaa 100644 --- a/package/argp-standalone/Config.in +++ b/package/argp-standalone/Config.in @@ -5,4 +5,4 @@ config BR2_PACKAGE_ARGP_STANDALONE help Glibc hierarchical argument parsing standalone library. - http://www.lysator.liu.se/~nisse/misc/ + https://github.com/ericonr/argp-standalone/ diff --git a/package/argp-standalone/argp-standalone.hash b/package/argp-standalone/argp-standalone.hash index c780f9e53f..1e56c663d4 100644 --- a/package/argp-standalone/argp-standalone.hash +++ b/package/argp-standalone/argp-standalone.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be argp-standalone-1.3.tar.gz +sha256 879d76374424dce051b812f16f43c6d16de8dbaddd76002f83fd1b6e57d39e0b argp-standalone-1.4.1.tar.gz # License file -sha256 bbb8919aa520069b0234faf5e83a94052d278419ffe97ca8e843ecc9b212d1ab argp.h +sha256 b5db0353a5b1902fc8a2e055d8899dd0c189ce73a31e67af9a0ffc24711b63f0 README.md diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk index 651bc400f4..80ca04046d 100644 --- a/package/argp-standalone/argp-standalone.mk +++ b/package/argp-standalone/argp-standalone.mk @@ -4,11 +4,14 @@ # ################################################################################ -ARGP_STANDALONE_VERSION = 1.3 -ARGP_STANDALONE_SITE = http://www.lysator.liu.se/~nisse/archive +ARGP_STANDALONE_VERSION = 1.4.1 +ARGP_STANDALONE_SITE = \ + $(call github,ericonr,argp-standalone,$(ARGP_STANDALONE_VERSION)) ARGP_STANDALONE_INSTALL_STAGING = YES -ARGP_STANDALONE_LICENSE = LGPL-2.0+ -ARGP_STANDALONE_LICENSE_FILES = argp.h +ARGP_STANDALONE_LICENSE = LGPL-2.1+ +ARGP_STANDALONE_LICENSE_FILES = README.md +# From git +ARGP_STANDALONE_AUTORECONF = YES ARGP_STANDALONE_CONF_ENV = \ CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" -- 2.35.1 From dariobin at libero.it Thu Apr 21 10:24:10 2022 From: dariobin at libero.it (Dario Binacchi) Date: Thu, 21 Apr 2022 12:24:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: fix compilation for uclibc Message-ID: <20220421102410.3794-1-dariobin@libero.it> - Add upstream patch ([1]) to fix compilation for uclibc - Add autoreconf as the patch touches configure.ac [1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=9c9fd9ae24b45f915f0759d32f662835c26d37c3 Signed-off-by: Dario Binacchi Signed-off-by: Dario Binacchi --- ...coregrind-fix-compilation-for-uclibc.patch | 65 +++++++++++++++++++ package/valgrind/valgrind.mk | 1 + 2 files changed, 66 insertions(+) create mode 100644 package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch diff --git a/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch b/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch new file mode 100644 index 0000000000..ff8dc974d8 --- /dev/null +++ b/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch @@ -0,0 +1,65 @@ +From 9c9fd9ae24b45f915f0759d32f662835c26d37c3 Mon Sep 17 00:00:00 2001 +From: Dario Binacchi +Date: Fri, 8 Apr 2022 12:36:33 +0200 +Subject: [PATCH] coregrind: fix compilation for uclibc + +It fixes a known iusse whose details are described at [1] and more +generally it guarantees that Valgrind is properly compiled for ulibc. + +[1] https://www.mail-archive.com/valgrind-users at lists.sourceforge.net/msg05295.html + +Suggested-by Michael Trimarchi +Co-developed-by: Michael Trimarchi +Signed-off-by: Dario Binacchi +--- + configure.ac | 2 ++ + coregrind/m_debuginfo/minilzo-inl.c | 4 ++++ + coregrind/vg_preloaded.c | 4 ++++ + 3 files changed, 10 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 6f51dfd9f8fb..c627a9c17a4a 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -1204,6 +1204,8 @@ AC_SUBST(DEFAULT_SUPP) + AC_CHECK_HEADER([features.h]) + + if test x$ac_cv_header_features_h = xyes; then ++ AC_DEFINE([HAVE_HEADER_FEATURES_H], 1, ++ [Define to 1 if you have the `features.h' header.]) + rm -f conftest.$ac_ext + cat <<_ACEOF >conftest.$ac_ext + #include +diff --git a/coregrind/m_debuginfo/minilzo-inl.c b/coregrind/m_debuginfo/minilzo-inl.c +index 153d008fd44f..b45ec92eaa85 100644 +--- a/coregrind/m_debuginfo/minilzo-inl.c ++++ b/coregrind/m_debuginfo/minilzo-inl.c +@@ -1875,6 +1875,10 @@ extern "C" { + + #endif + ++#ifdef HAVE_HEADER_FEATURES_H ++#include ++#endif ++ + #undef LZO_HAVE_CONFIG_H + #include "minilzo.h" + +diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c +index 5e2098390847..3809811aede7 100644 +--- a/coregrind/vg_preloaded.c ++++ b/coregrind/vg_preloaded.c +@@ -45,6 +45,10 @@ + #include "pub_core_debuginfo.h" // Needed for pub_core_redir.h + #include "pub_core_redir.h" // For VG_NOTIFY_ON_LOAD + ++#ifdef HAVE_HEADER_FEATURES_H ++#include ++#endif ++ + #if defined(VGO_linux) || defined(VGO_solaris) || defined(VGO_freebsd) + + /* --------------------------------------------------------------------- +-- +2.32.0 + diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 52f2a04ffa..a5600a81b8 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -14,6 +14,7 @@ VALGRIND_CONF_OPTS = \ --disable-ubsan \ --without-mpicc VALGRIND_INSTALL_STAGING = YES +VALGRIND_AUTORECONF=YES # Valgrind must be compiled with no stack protection, so forcefully # pass -fno-stack-protector to override what Buildroot may have in -- 2.17.1 From fontaine.fabrice at gmail.com Thu Apr 21 11:55:29 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 13:55:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/arptables: fix build with BR2_OPTIMIZE_0 Message-ID: <20220421115529.2625137-1-fontaine.fabrice@gmail.com> Fix the following build failure with BR2_OPTIMIZE_0 raised since the addition of the package in commit efc10eb6b87884f1f7917462d78af6953fcd99e3 and https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' 48 | #define GET_TARGET arpt_get_target | ^~~~~~~~~~~~~~~ libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' 16 | GET_TARGET(STRUCT_ENTRY *e) | ^~~~~~~~~~ In file included from .//include/libarptc/libarptc.h:7, from libarptc/libarptc.c:26: .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 Signed-off-by: Fabrice Fontaine --- ...tc-libarptc_incl.c-fix-build-with-O0.patch | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch diff --git a/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch new file mode 100644 index 0000000000..29f2d714e2 --- /dev/null +++ b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch @@ -0,0 +1,49 @@ +From 7d8285ae92253017a15282dd25f76d76eed49518 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 21 Apr 2022 13:43:23 +0200 +Subject: [PATCH] libarptc/libarptc_incl.c: fix build with -O0 + +Fix the following build failure with -O0: + +libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' + 48 | #define GET_TARGET arpt_get_target + | ^~~~~~~~~~~~~~~ +libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' + 16 | GET_TARGET(STRUCT_ENTRY *e) + | ^~~~~~~~~~ +In file included from .//include/libarptc/libarptc.h:7, + from libarptc/libarptc.c:26: +.//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here + 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) + | ^~~~~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 + +Signed-off-by: Fabrice Fontaine +--- + libarptc/libarptc_incl.c | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c +index c4d5de3..441f2de 100644 +--- a/libarptc/libarptc_incl.c ++++ b/libarptc/libarptc_incl.c +@@ -11,14 +11,6 @@ + /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See + COPYING for details). */ + +-#ifndef __OPTIMIZE__ +-STRUCT_ENTRY_TARGET * +-GET_TARGET(STRUCT_ENTRY *e) +-{ +- return (void *)e + e->target_offset; +-} +-#endif +- + static int sockfd = -1; + static void *arptc_fn = NULL; + +-- +2.35.1 + -- 2.35.1 From br015 at umbiko.net Thu Apr 21 14:45:35 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Thu, 21 Apr 2022 14:45:35 +0000 Subject: [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] In-Reply-To: <20220409160921.GA3547512@scaer> References: <20220331132230.227424-1-br015@umbiko.net> <9d97e0d4e0d90badb3339638aa7e453d@umbiko.net> <185b80c4-9083-c5f9-a555-f28183160b11@mind.be> <20220409160921.GA3547512@scaer> Message-ID: <501822bdbd2742b7158a919346718827@umbiko.net> Hi Yann, Arnout, *, I would like to postpone this change for the moment; the root cause for the addressed build failures lies within the meson build system (patch coming) and fixing this will make some of the proposed modifications unnecessary. I would still like to implement the selection logic changes, because I started to notice some inconsistencies and also missing features. Kind regards, Andreas On 2022-04-09 16:09, Yann E. MORIN wrote: > Arnout, Andreas, All, > > On 2022-04-09 17:41 +0200, Arnout Vandecappelle spake thusly: >> On 08/04/2022 15:22, Andreas Ziegler wrote: >> >Outline of the proposed next version of this change: >> >[I did not want to make so many changes, but you are right, it makes sense.] >> >Separate logic from implementation: Remove feature dependencies from >> >mpd.mk and put selection logic into Config.in exclusively. >> As you can see from the description above: this is making things >> quite >> complicated. And one of the tenets of Buildroot is to keep things >> simple. > [--SNIP--] >> We don't have a consistent policy for this case, but I believe the >> policy >> should be: >> >> - Add Config.in options only for features that are important, >> meaningful for >> the user (e.g. codec support). >> >> - Add Config.in options only for features that have a size impact >> (usually >> due to the dependencies they pull in). >> >> - In the .mk file, don't use the Config.in options but instead use >> automatic >> dependencies only. > > That would be very confusign from a user perspective: they would not > enable a feature of a package, yet the package would have that feature > enabled if th3e depedency is enabled. > > Besides the technical surprise, this could also lead to licensing > issues > if the combination of the two packages require special handling (e.g. > because the library license propagates top the package). > > So, the settings from Config.in must be abode by. > >> That way, the .mk file is kept simple (no problematic cases like the >> libupnp/expat interaction in this patch). The Config.in is a bit >> complicated, but it doesn't explode. >> >> Bottom line: I think it's actually the reverse that needs to be done. > > Err. I don;'t understand what you meant here... :-( > >> >In the makefile, a feature is responsible only to select or deselect its >> >configure option and, if this feature relies on a library, add a >> >dependency on this. >> >> So I think the .mk file should simply contain things like: >> >> ifeq ($(BR2_PACKAGE_LIBVORBIS),y) >> MPD_DEPENDENCIES += libvorbis >> MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled >> else >> MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled >> endif >> >> and BR2_PACKAGE_MPD_VORBIS only has an indirect effect, by selecting >> BR2_PACKAGE_LIBVORBIS. > > I highly disagree; the conditional should be on the package setting, > not > the dependency. > >> >Duplicated selection logic in mpd.mk will be eliminated. A build >> >dependency will only be added if it is present in the mpd configuration, >> >and not be inherited accidentally from concurrent packages. >> So this is exactly the reverse of what I'd want. I think it makes the >> .mk >> file harder to maintain for no practical gain. > > Yet, the proposal by Andreas is I believe the correct way to handle the > situation. > >> >This impacts the following features: expat, id3tag, yajl. id3tag already >> >is half implemented, but not used consistently (has an option entry in >> >Config.in, but does not select this, but handles dependencies >> >individually). expat and yajl would be created as hidden options without >> >visibility (no user interaction necessary). >> Yes, that would indeed be an alternative to keep the .mk file >> simpler. I >> take it you mean to add a blind option BR2_PACKAGE_MPD_EXPAT that gets >> selected by the other MPD options that rely on expat. This indeed >> simplifies >> things, but it is still a bit more complicated than what I propose. > > But more correct. > >> >Separate vorbis decoder and encoder options; currently the decoder feature >> >BR2_PACKAGE_MPD_VORBIS enables both ogg/vorbis decoding and ogg/vorbis >> >encoding, which is probably not intended. >> I don't see a reason why you would want only one or the other. It has >> virtually no impact on size. > > Indeed here, vorbis support should just enable both the > encoder/decoder. > > The only reason that we might want to be able to chose, is if enabling > one or the other have different requirements: extra size requirements, > extra dependencies, legal issues in your jurisdiction, etc... > >> In summary, I think we have the following three options for packages >> where >> we decide we want user-visible sub-options. >> >> - 1-to-1 mapping with the package configure options. Interaction >> between the >> options is expressed with select/depends in Config.in. The .mk file >> simply >> maps the Config.in options. If it's really not relevant for the user, >> a >> Config.in option can be made blind. This is what Andreas proposes. > > I am OK with that. > >> - Only automatic dependencies in the .mk file, except in cases where >> it has >> an important size or behaviour impact. Add Config.in options only in >> case it >> is relevant. This is what I propose. > > I am OK with the principle, but this does not look like what you > proposed above, as the build-dependencies would be on the dependency > being enabled, not the package option (e.g. BR2_PACKAGE_MPD_VORBIS vs. > BR2_PACKAGE_LIBVORBIS as you showed above). > >> - Add Config.in options for important features. Express >> interdependencies >> between package configure options in the .mk file. This is the current >> situation for mpd. > > I don;t see a difference here: "Add Config.in options only in case it > is > relevant" and "Add Config.in options for important features" are > exactly > the same in mny eyes... > >> So let's see what the other maintainers think. If you (or the other >> maintainers) don't agree, we can compromise and go back to the >> original >> patch (with just the npupnp/expat situation resolved). > > So, I'll summariser my position: > > - add Config.in options when it makes sense: > - important size delta > - legal issues > those options select the appropriate packages > > - in the .mk: > - add conditional blocks based on those options, add build > dependencies as appropriate; > - add conditoinal dependencies on package for automatic > dependencies > >> Ideally I'd like the maintainers (and anybody else, really) to come >> to a >> decision here and eventually formalize it in the manual. Because it's >> not >> the first time this discussion crops up. > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' > conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ > | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There > is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v > conspiracy. | > '------------------------------^-------^------------------^--------------------' From br015 at umbiko.net Thu Apr 21 15:25:30 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Thu, 21 Apr 2022 17:25:30 +0200 Subject: [Buildroot] [PATCH 1/1] meson-package: prevent cmake find_package() picking up host libraries Message-ID: <20220421152530.3900282-1-br015@umbiko.net> The meson build system uses (1) pkg-config and (2) cmake find_package to locate dependencies and stops only if a package is found. Cmake uses a toolchain file that is generated by meson from the existing configuration [1]. The cmake toolchain file misses CMAKE_FIND_ROOT_PATH and CMAKE_FIND_ROOT_PATH_* settings, and find_package() falls back to the default behaviour and looks for dependencies on the build machine (the Buildroot HOST_DIR). Use a feature introduced in meson 0.56.0 [2] to pass the Buildroot toolchain file to cmake instead of using a meson-generated one. Fixes the following build failures: http://autobuild.buildroot.org/results/056/05673ed04c6f044f1b56b9d5342d61653be43a18/ http://autobuild.buildroot.org/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ http://autobuild.buildroot.org/results/527/527ee199813abbacd61c3fa32b517ea60af60659/ [1[ see mesonbuild/cmake/toolchain.py [2] see https://mesonbuild.com/CMake-module.html#cross-compilation Signed-off-by: Andreas Ziegler --- package/pkg-meson.mk | 1 + support/misc/cross-compilation.conf.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk index 9e70d49b60..f1390a18d0 100644 --- a/package/pkg-meson.mk +++ b/package/pkg-meson.mk @@ -81,6 +81,7 @@ define PKG_MESON_CROSSCONFIG_SED -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$($(strip $(2))))%g" \ -e "s%@BR2_CMAKE@%$(BR2_CMAKE)%g" \ -e "s%@PKGCONF_HOST_BINARY@%$(HOST_DIR)/bin/pkgconf%g" \ + -e "s%@HOST_DIR@%$(HOST_DIR)%g" \ -e "s%@STAGING_DIR@%$(STAGING_DIR)%g" \ -e "s%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g" \ $(TOPDIR)/support/misc/cross-compilation.conf.in diff --git a/support/misc/cross-compilation.conf.in b/support/misc/cross-compilation.conf.in index 1977a83501..235e5a8495 100644 --- a/support/misc/cross-compilation.conf.in +++ b/support/misc/cross-compilation.conf.in @@ -26,6 +26,9 @@ needs_exe_wrapper = true sys_root = '@STAGING_DIR@' pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' pkg_config_static = '@STATIC@' +# enable meson build to pass a toolchain file to cmake +cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake' +cmake_defaults = false [host_machine] system = 'linux' -- 2.34.1 From jagan at amarulasolutions.com Thu Apr 21 15:36:58 2022 From: jagan at amarulasolutions.com (Jagan Teki) Date: Thu, 21 Apr 2022 21:06:58 +0530 Subject: [Buildroot] How to connect to Wifi on start-up using Buildroot? In-Reply-To: References: Message-ID: Hi All, On Thu, Mar 10, 2022 at 11:33 PM Jan Havran wrote: > > Hi Sourabh, > > after enabling RPi firmware you must load the Wifi driver - since you are using > systemd, it should by handled by udev on start I think. > > So you probably just need to configure /etc/network/interfaces to start wpa_supplicant > on wlan0 with /etc/wpa_supplicant.conf file, where you can put your credentials. > Or at least that is what I have done, but I am not using systemd. > > I did something similar some time ago, you can check it here: > https://gitlab.com/sonicpp/gnss-pi/-/commit/caf0317c024e51fc7e322deacd09ec9346d47e26 > > (note that to make "my" credentials public in that commit was an intention). > > P.S.: if you want to have any modifications to be part of your image with filesystem, > you can do it by using rootfs overlays for example: > https://buildroot.org/downloads/manual/manual.html#rootfs-custom > > Regards, > > Jan Havran > > V Thu, Mar 10, 2022 at 05:43:27PM +0100, Sourabh Hegde napsal(a): > > Hello All, > > > > I am trying to connect my Raspberry Pi CM4 to Wifi automatically after > > start-up. I am using Buildroot based Linux distribution. I have worked with > > Yocto before and it provides systemd-networkd and wpa_supplicant feature to > > connect to wifi on boot. I am lloking something similar in Buildroot but > > couldn't find any notes online. > > > > So far, I think I have enabled the necessary config/driver using "make > > menuconfig" : > > [image: wpa_supplicant.png] > > [image: firmware.png] > > > > But now, how can I set-up wpa_supplicant.conf? Any link to notes or > > suggestion would be helpful. Did anyone find the fix for it? I did see master is failing still. # cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ap_scan=1 network={ key_mgmt=NONE } network={ ssid="ARJ" #psk="Ind123#" psk=8078b7e8da96488dcd3561466208348e028cafa46172882cbe3329d6c7caf4a7 } # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B Successfully initialized wpa_supplicant Line 1: unknown global field 'ctrl_interface=/var/run/wpa_supplicant'. Line 1: Invalid configuration line 'ctrl_interface=/var/run/wpa_supplicant'. Failed to read or parse configuration '/etc/wpa_supplicant.conf'. : CTRL-EVENT-DSCP-POLICY clear_all Jagan. From yann.morin.1998 at free.fr Thu Apr 21 15:39:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 17:39:08 +0200 Subject: [Buildroot] [PATCH] package/wtfutil: new package In-Reply-To: <8b28d775-d65a-d6e2-2b50-6bfc6549df0b@mind.be> References: <20220420200102.2420626-1-yann.morin.1998@free.fr> <8b28d775-d65a-d6e2-2b50-6bfc6549df0b@mind.be> Message-ID: <20220421153908.GN2730@scaer> On 2022-04-21 09:22 +0200, Arnout Vandecappelle spake thusly: > On 20/04/2022 22:01, Yann E. MORIN wrote: > >Some of wtfutils modules (i.e. plugins) can call to external tools, so > Modules are not optional? As far as I can see, no. All modules are builtin into the wtfutil executable, and there is no way to provide out-of-tree modules loaded at runtime. And indeed, using the word 'plugins' was wrong (well, they can only be plugged in at build time). Also this is go, everything is static in that world. Upstream would however like to go for an actual, real plugin mechanism, but it seems the go ecosystem is not making that easy: https://github.com/wtfutil/wtf/issues/1092#issuecomment-892312321 [--SNIP--] > >+WTFUTIL_VERSION = 0.41.0 > >+WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) > If the upstream repository is called wtf, and the help text says "WTF is > ...", why do you call it wtfutil? The website is wtfutil.com. The utility is named wtfutil. It is packaged as wtfutil in some distro repositories already (Homebrew, macports, Arch...). The README.md also states: WTF (aka 'wtfutil') is the personal information dashboard for your terminal, providing at-a-glance access to your very important but infrequently-needed stats and data. Finally, wtf on its own is a bit on the tendentious side; using the longer name tones the term down a bit. Yeah, that is not all entirely convincing, but I believe wtfutil to be a better name overall... Regards, Yann E. MORIN. > Regards, > Arnout > > >+WTFUTIL_LICENSE = MPL-2.0 > >+WTFUTIL_LICENSE_FILES = LICENSE.md > >+ > >+$(eval $(golang-package)) -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From flaniel at linux.microsoft.com Thu Apr 21 16:30:06 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 21 Apr 2022 17:30:06 +0100 Subject: [Buildroot] [RFC PATCH v1 0/1] New "docker" ready qemu config In-Reply-To: <6813316c-23f9-3521-1eca-df43f9205d34@mind.be> References: <20220414172857.35100-1-flaniel@linux.microsoft.com> <6813316c-23f9-3521-1eca-df43f9205d34@mind.be> Message-ID: <2626500.mvXUDI8C0e@pwmachine> Hi. Le mardi 19 avril 2022, 22:16:43 BST Arnout Vandecappelle a ?crit : > On 14/04/2022 19:28, Francis Laniel wrote: > > Hi. > > > > > > First, I hope you are fine and the same for your relatives. > > > > In this contribution, I added a new qemu config for x86_64. > > This configuration is mainly based on qemu_x86_64_defconfig but it adds > > kernel CONFIG_ to be able to use docker. > > It also adds package related to docker like DOCKER_CLI and CONTAINERD. > > We don't like adding "demo" defconfigs that are basically another > defconfig with some packages enabled. It's true that there is some value to > knowing which combination of packages can provide a certain super-feature, > but the problem is that the basic config (in this case, qemu_x86_64) is not > going to be useful for most people. > > In this particular case, there isn't even that much "combination". Just > docker-engine and docker-cli. > > The kernel config options do have value, but these should instead be set > by containerd (or docker-engine, or docker-proxy, as appropriate), using > CONTAINERD_LINUX_CONFIG_FIXUPS. Sorry, I did not check docker-engine.mk before writing this contribution. I was not aware of PACKAGE_NAME_LINUX_CONFIG_FIXUPS and will rework my sysdig 0.29.1 contribution to make use ot it! > > Regards, > Arnout > > > The CONFIG_ options added were checked with moby check-config script [1]. > > > > I was able to build and execute the image with start-qemu.sh: > > Welcome to Buildroot > > buildroot login: root > > # docker run --rm hello-world > > Unable to find image 'hello-world:latest' locally > > latest: Pulling from library/hello-world > > 2db29710123e: Pull complete > > Digest: > > sha256:10d7d58d5ebd2a652f4d93fdd86da8f265f5318c6a73cc5b6a9798ff6d2b2e67 > > Status: Downloaded newer image for hello-world:latest > > > > Hello from Docker! > > This message shows that your installation appears to be working correctly. > > > > Sadly, the image has to a bit big (more than 300M) but I think it is fine > > since this image will only be used for virtualization. > > > > If you say any way to improve this contribution, feel free to share it! > > > > Francis Laniel (1): > > qemu_x86_64_docker: add new qemu defconfig > > > > DEVELOPERS | 2 + > > board/qemu/x86_64_docker/linux.config | 112 +++++++++++++++++++++++++ > > board/qemu/x86_64_docker/post-build.sh | 11 +++ > > board/qemu/x86_64_docker/readme.txt | 7 ++ > > configs/qemu_x86_64_docker_defconfig | 49 +++++++++++ > > 5 files changed, 181 insertions(+) > > create mode 100644 board/qemu/x86_64_docker/linux.config > > create mode 100755 board/qemu/x86_64_docker/post-build.sh > > create mode 100644 board/qemu/x86_64_docker/readme.txt > > create mode 100644 configs/qemu_x86_64_docker_defconfig > > > > Best regards and thank you in advance. > > --- > > [1] https://github.com/moby/moby/blob/master/contrib/check-config.sh Best regards. From bernd.kuhls at t-online.de Thu Apr 21 17:12:57 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 21 Apr 2022 19:12:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-zattoo: bump version to 19.7.13-Matrix Message-ID: <20220421171257.2675041-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash index 0b88d5c747..4f9a60e942 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 07d96b1b0c3b464c0bf02279fa8cab9ccdf675344129f3a970b14bafce225fb4 kodi-pvr-zattoo-19.7.11-Matrix.tar.gz +sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk index 95c5de0925..f2badeaa05 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 19.7.11-Matrix +KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md -- 2.30.2 From bernd.kuhls at t-online.de Thu Apr 21 17:24:07 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 21 Apr 2022 19:24:07 +0200 Subject: [Buildroot] [PATCH 2/2] package/intel-mediasdk: bump version to 22.4.0 In-Reply-To: <20220421172407.2759939-1-bernd.kuhls@t-online.de> References: <20220421172407.2759939-1-bernd.kuhls@t-online.de> Message-ID: <20220421172407.2759939-2-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/intel-mediasdk/intel-mediasdk.hash | 2 +- package/intel-mediasdk/intel-mediasdk.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediasdk/intel-mediasdk.hash b/package/intel-mediasdk/intel-mediasdk.hash index 802131a772..3ca50d629e 100644 --- a/package/intel-mediasdk/intel-mediasdk.hash +++ b/package/intel-mediasdk/intel-mediasdk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 e1e74229f409e969b70c2b35b1955068de3d40db85ecc42bd6ff501468bc76d7 intel-mediasdk-22.3.0.tar.gz +sha256 c1ebabf4c9a32de4349d9a9c707116b230cbf8a9c4655eec9ee844fd67dab6e8 intel-mediasdk-22.4.0.tar.gz sha256 dfd67773578903698f9ff4a61eb8f2d84810cbecd56f3f3cee8c649f813b6ea6 LICENSE diff --git a/package/intel-mediasdk/intel-mediasdk.mk b/package/intel-mediasdk/intel-mediasdk.mk index b90d252b4f..06b7aa87d0 100644 --- a/package/intel-mediasdk/intel-mediasdk.mk +++ b/package/intel-mediasdk/intel-mediasdk.mk @@ -4,7 +4,7 @@ # ################################################################################ -INTEL_MEDIASDK_VERSION = 22.3.0 +INTEL_MEDIASDK_VERSION = 22.4.0 INTEL_MEDIASDK_SITE = https://github.com/Intel-Media-SDK/MediaSDK/archive INTEL_MEDIASDK_LICENSE = MIT INTEL_MEDIASDK_LICENSE_FILES = LICENSE -- 2.30.2 From bernd.kuhls at t-online.de Thu Apr 21 17:24:06 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 21 Apr 2022 19:24:06 +0200 Subject: [Buildroot] [PATCH 1/2] package/intel-mediadriver: bump version to 22.4.0 Message-ID: <20220421172407.2759939-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/intel-mediadriver/intel-mediadriver.hash | 2 +- package/intel-mediadriver/intel-mediadriver.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash index 5c3d25eed8..e6cd7a1cd3 100644 --- a/package/intel-mediadriver/intel-mediadriver.hash +++ b/package/intel-mediadriver/intel-mediadriver.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz +sha256 f070527b141174970a17195d0225ed43693c39fec83cd5e6d0effaa88e2a5553 intel-media-22.4.0.tar.gz sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk index 4280f7fd29..f3833fcc45 100644 --- a/package/intel-mediadriver/intel-mediadriver.mk +++ b/package/intel-mediadriver/intel-mediadriver.mk @@ -6,7 +6,7 @@ # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack -INTEL_MEDIADRIVER_VERSION = 22.3.1 +INTEL_MEDIADRIVER_VERSION = 22.4.0 INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause -- 2.30.2 From arnout at mind.be Thu Apr 21 17:54:52 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:54:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/shadowsocks-libev: fix maybe-uninitialized errors In-Reply-To: <20220411162107.8704-1-fontaine.fabrice@gmail.com> References: <20220411162107.8704-1-fontaine.fabrice@gmail.com> Message-ID: <4988200c-3844-33b7-642e-ec5b3a0f4ce0@mind.be> On 11/04/2022 18:21, Fabrice Fontaine wrote: > Fix the following build failure: > > local.c: In function 'create_and_bind': > local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] > 218 | return listen_sock; > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0002-fix-maybe-uninitialized-errors.patch | 93 +++++++++++++++++++ > 1 file changed, 93 insertions(+) > create mode 100644 package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch > > diff --git a/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch > new file mode 100644 > index 0000000000..5275323e65 > --- /dev/null > +++ b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch > @@ -0,0 +1,93 @@ > +From 0c23224e926463b1097414979367655a27fa6d60 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Thu, 7 Apr 2022 18:27:58 +0200 > +Subject: [PATCH] fix maybe-uninitialized errors > + > +Set {listen,server}_sock to -1 when needed as already done in > +src/manager.c by commit ecf1fcc84594b09ed2d61e3677cd8e62bd897ccb to > +avoid the following build failure: > + > +local.c: In function 'create_and_bind': > +local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] > + 218 | return listen_sock; > + | ^~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/shadowsocks/shadowsocks-libev/commit/0c23224e926463b1097414979367655a27fa6d60] > +--- > + src/local.c | 2 +- > + src/redir.c | 2 +- > + src/server.c | 2 +- > + src/tunnel.c | 2 +- > + src/udprelay.c | 2 +- > + 5 files changed, 5 insertions(+), 5 deletions(-) > + > +diff --git a/src/local.c b/src/local.c > +index b1ab040bb..47d634ce5 100644 > +--- a/src/local.c > ++++ b/src/local.c > +@@ -168,7 +168,7 @@ create_and_bind(const char *addr, const char *port) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp; > +- int s, listen_sock; > ++ int s, listen_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ > +diff --git a/src/redir.c b/src/redir.c > +index 4a5a489f0..e60bd4870 100644 > +--- a/src/redir.c > ++++ b/src/redir.c > +@@ -147,7 +147,7 @@ create_and_bind(const char *addr, const char *port) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp; > +- int s, listen_sock; > ++ int s, listen_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ > +diff --git a/src/server.c b/src/server.c > +index e9cdc2619..073e38b22 100644 > +--- a/src/server.c > ++++ b/src/server.c > +@@ -550,7 +550,7 @@ create_and_bind(const char *host, const char *port, int mptcp) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp, *ipv4v6bindall; > +- int s, listen_sock; > ++ int s, listen_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ > +diff --git a/src/tunnel.c b/src/tunnel.c > +index e0886bdb9..6641fe62a 100644 > +--- a/src/tunnel.c > ++++ b/src/tunnel.c > +@@ -129,7 +129,7 @@ create_and_bind(const char *addr, const char *port) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp; > +- int s, listen_sock; > ++ int s, listen_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ > +diff --git a/src/udprelay.c b/src/udprelay.c > +index 23a042497..580ad4bd8 100644 > +--- a/src/udprelay.c > ++++ b/src/udprelay.c > +@@ -446,7 +446,7 @@ create_server_socket(const char *host, const char *port) > + { > + struct addrinfo hints; > + struct addrinfo *result, *rp, *ipv4v6bindall; > +- int s, server_sock; > ++ int s, server_sock = -1; > + > + memset(&hints, 0, sizeof(struct addrinfo)); > + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ From arnout at mind.be Thu Apr 21 17:55:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:55:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/rsync: fix static build In-Reply-To: <20220411211956.257449-1-fontaine.fabrice@gmail.com> References: <20220411211956.257449-1-fontaine.fabrice@gmail.com> Message-ID: <7bdb1a8a-fea6-62be-9e64-c71ea23cdf67@mind.be> On 11/04/2022 23:19, Fabrice Fontaine wrote: > Fix the following static build failure when using an external zlib: > > /home/autobuild/autobuild/instance-11/output-1/host/bin/i686-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -static -o rsync flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o util2.o main.o checksum.o match.o syscall.o log.o backup.o delete.o options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o -lz -lpopt -liconv > /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/i686-buildroot-linux-uclibc/9.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libz.a(deflate.c.o): in function `read_buf': > deflate.c:(.text+0xb93): multiple definition of `read_buf'; io.o:io.c:(.text+0x2bf4): first defined here > > Fixes: > - http://autobuild.buildroot.org/results/488453197da880dda8f47b71ff302192bcbb6679 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...g-with-a-zlib-with-external-read_buf.patch | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch > > diff --git a/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch > new file mode 100644 > index 0000000000..0af090732c > --- /dev/null > +++ b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch > @@ -0,0 +1,27 @@ > +From 60dd42be603a79cd57cec076fe1680e9037be774 Mon Sep 17 00:00:00 2001 > +From: Wayne Davison > +Date: Mon, 11 Apr 2022 08:29:54 -0700 > +Subject: [PATCH] Handle linking with a zlib with external read_buf. > + > +[Retrieved from: > +https://github.com/WayneD/rsync/commit/60dd42be603a79cd57cec076fe1680e9037be774] > +Signed-off-by: Fabrice Fontaine > +--- > + rsync.h | 4 ++++ > + 1 file changed, 4 insertions(+) > + > +diff --git a/rsync.h b/rsync.h > +index 4b30570b..e5aacd25 100644 > +--- a/rsync.h > ++++ b/rsync.h > +@@ -1172,6 +1172,10 @@ struct name_num_obj { > + struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */ > + }; > + > ++#ifdef EXTERNAL_ZLIB > ++#define read_buf read_buf_ > ++#endif > ++ > + #ifndef __cplusplus > + #include "proto.h" > + #endif From arnout at mind.be Thu Apr 21 17:55:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:55:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/startup-notification: bump to version 0.12 In-Reply-To: <20220411212234.257672-1-fontaine.fabrice@gmail.com> References: <20220411212234.257672-1-fontaine.fabrice@gmail.com> Message-ID: <3eb4b64d-f59d-845a-ce26-f49d3fb9dd98@mind.be> On 11/04/2022 23:22, Fabrice Fontaine wrote: > xcb-util is mandatory since > https://cgit.freedesktop.org/startup-notification/commit/?id=15c0bae76e0bcd5d2839a791cf51c8b22e615fe2 > https://cgit.freedesktop.org/startup-notification/commit/?id=57816a46aa32d0bd667661ce6aaaa187f84ec889 > > https://cgit.freedesktop.org/startup-notification/tree/NEWS?h=STARTUP_NOTIFICATION_0_12 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/startup-notification/Config.in | 1 + > package/startup-notification/startup-notification.hash | 2 +- > package/startup-notification/startup-notification.mk | 4 ++-- > 3 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/package/startup-notification/Config.in b/package/startup-notification/Config.in > index 88d18174bc..606276e484 100644 > --- a/package/startup-notification/Config.in > +++ b/package/startup-notification/Config.in > @@ -2,6 +2,7 @@ config BR2_PACKAGE_STARTUP_NOTIFICATION > bool "startup-notification" > depends on BR2_PACKAGE_XORG7 > depends on BR2_USE_MMU # fork() > + select BR2_PACKAGE_XCB_UTIL > select BR2_PACKAGE_XLIB_LIBX11 > help > Startup-notification is a library used to monitor > diff --git a/package/startup-notification/startup-notification.hash b/package/startup-notification/startup-notification.hash > index 474c8bd92c..9c5713213b 100644 > --- a/package/startup-notification/startup-notification.hash > +++ b/package/startup-notification/startup-notification.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 c2fa09f9a49d8b319e79638e49e967c682df8726006e03059b1ffca5ab82099c startup-notification-0.9.tar.gz > +sha256 3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a startup-notification-0.12.tar.gz > sha256 29935974beae046f50da806b5f4e54532401dd7bcfbc696a0b645f4cbcce9dbb COPYING > diff --git a/package/startup-notification/startup-notification.mk b/package/startup-notification/startup-notification.mk > index b3314087f5..4a9e33e5ed 100644 > --- a/package/startup-notification/startup-notification.mk > +++ b/package/startup-notification/startup-notification.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -STARTUP_NOTIFICATION_VERSION = 0.9 > +STARTUP_NOTIFICATION_VERSION = 0.12 > STARTUP_NOTIFICATION_SITE = http://freedesktop.org/software/startup-notification/releases > STARTUP_NOTIFICATION_INSTALL_STAGING = YES > -STARTUP_NOTIFICATION_DEPENDENCIES = xlib_libX11 > +STARTUP_NOTIFICATION_DEPENDENCIES = xcb-util xlib_libX11 > STARTUP_NOTIFICATION_CONF_ENV = lf_cv_sane_realloc=yes > STARTUP_NOTIFICATION_CONF_OPTS = --with-x \ > --x-includes="$(STAGING_DIR)/usr/include/X11" \ From arnout at mind.be Thu Apr 21 17:56:01 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:56:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix FTBFS In-Reply-To: <20220411215002.518739-1-fontaine.fabrice@gmail.com> References: <20220411215002.518739-1-fontaine.fabrice@gmail.com> Message-ID: <2fbd9546-2b4c-f1f1-a71b-1880166d6096@mind.be> On 11/04/2022 23:50, Fabrice Fontaine wrote: > Fix the folloing build failure raised since commit > 04164b81e76e29fb9482245e808b46af2aa67bc6: > > src/utils.c: In function 'sha512sum256': > src/utils.c:619:45: error: token " " is not valid in preprocessor expressions > 619 | #if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) > | ^ > > Fixes: > - http://autobuild.buildroot.org/results/caf0f5e4c6ad0f2764f07d33f594b6121cea87bc > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../tvheadend/0003-Fix-FTBFS-in-utils-c.patch | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch > > diff --git a/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch > new file mode 100644 > index 0000000000..2caa281490 > --- /dev/null > +++ b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch > @@ -0,0 +1,28 @@ > +From fd01737270d98c28465c86a688bd7d1c640486c5 Mon Sep 17 00:00:00 2001 > +From: Michael Marley > +Date: Wed, 6 Apr 2022 21:47:49 -0400 > +Subject: [PATCH] Fix FTBFS in utils.c > + > +U+0020 SPACE and U+00A0 NO-BREAK SPACE look the same, but they > +aren't the same. > + > +[Retrieved from: > +https://github.com/tvheadend/tvheadend/commit/fd01737270d98c28465c86a688bd7d1c640486c5] > +Signed-off-by: Fabrice Fontaine > +--- > + src/utils.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/utils.c b/src/utils.c > +index eecb10e116..bc6401d22f 100644 > +--- a/src/utils.c > ++++ b/src/utils.c > +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) > + char * > + sha512sum256 ( const char *str, int lowercase ) > + { > +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&?!defined(LIBRESSL_VERSION_NUMBER) > ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) > + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); > + #else > + return NULL; From arnout at mind.be Thu Apr 21 17:56:27 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:56:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/openssh: bump to version 9.0p1 In-Reply-To: <20220412101919.7454-1-mf@go-sys.de> References: <20220412101919.7454-1-mf@go-sys.de> Message-ID: <31a7215a-b322-d640-436d-d177aaa6803f@mind.be> On 12/04/2022 12:19, Michael Fischer wrote: > patch 0001: already applied upstream > patch 0002: already applied upstream > > https://www.openssh.com/txt/release-9.0 > > Signed-off-by: Michael Fischer Applied to master, thanks. Regards, Arnout > --- > ...llow-ppoll_time64-in-seccomp-sandbox.patch | 32 ---------------- > ...n-of-fzero-call-used-regs-all-suppor.patch | 38 ------------------- > package/openssh/openssh.hash | 4 +- > package/openssh/openssh.mk | 2 +- > 4 files changed, 3 insertions(+), 73 deletions(-) > delete mode 100644 package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch > delete mode 100644 package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch > > diff --git a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch b/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch > deleted file mode 100644 > index 16eb6eaba2..0000000000 > --- a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch > +++ /dev/null > @@ -1,32 +0,0 @@ > -From 284b6e5394652d519e31782e3b3cdfd7b21d1a81 Mon Sep 17 00:00:00 2001 > -From: Darren Tucker > -Date: Sat, 26 Feb 2022 14:06:14 +1100 > -Subject: [PATCH] Allow ppoll_time64 in seccomp sandbox. > - > -Should fix sandbox violations on (some? at least i386 and armhf) 32bit > -Linux platforms. Patch from chutzpahu at gentoo.org and cjwatson at > -debian.org via bz#3396. > - > -[Upstream: https://github.com/openssh/openssh-portable/commit/284b6e5394652d519e31782e3b3cdfd7b21d1a81.patch] > -Signed-off-by: John Keeping > ---- > - sandbox-seccomp-filter.c | 3 +++ > - 1 file changed, 3 insertions(+) > - > -diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c > -index 2e065ba3..4ce80cb2 100644 > ---- a/sandbox-seccomp-filter.c > -+++ b/sandbox-seccomp-filter.c > -@@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = { > - #ifdef __NR_ppoll > - SC_ALLOW(__NR_ppoll), > - #endif > -+#ifdef __NR_ppoll_time64 > -+ SC_ALLOW(__NR_ppoll_time64), > -+#endif > - #ifdef __NR_poll > - SC_ALLOW(__NR_poll), > - #endif > --- > -2.35.1 > - > diff --git a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch b/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch > deleted file mode 100644 > index ce5c5539ff..0000000000 > --- a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch > +++ /dev/null > @@ -1,38 +0,0 @@ > -From b5fee5fe98f708c1dc61a1564db35eacadbfe8b3 Mon Sep 17 00:00:00 2001 > -From: Colin Watson > -Date: Thu, 24 Feb 2022 16:04:18 +0000 > -Subject: [PATCH] Improve detection of -fzero-call-used-regs=all support > - > -GCC doesn't tell us whether this option is supported unless it runs into > -the situation where it would need to emit corresponding code. > - > -[Upstream: https://github.com/openssh/openssh-portable/commit/f107467179428a0e3ea9e4aa9738ac12ff02822d.patch] > -Signed-off-by: Peter Seiderer > ---- > - m4/openssh.m4 | 3 +++ > - 1 file changed, 3 insertions(+) > - > -diff --git a/m4/openssh.m4 b/m4/openssh.m4 > -index 4f9c379..8c33c70 100644 > ---- a/m4/openssh.m4 > -+++ b/m4/openssh.m4 > -@@ -14,6 +14,8 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{ > - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ > - #include > - #include > -+/* Trivial function to help test for -fzero-call-used-regs */ > -+void f(int n) {} > - int main(int argc, char **argv) { > - (void)argv; > - /* Some math to catch -ftrapv problems in the toolchain */ > -@@ -21,6 +23,7 @@ int main(int argc, char **argv) { > - float l = i * 2.1; > - double m = l / 0.5; > - long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; > -+ f(0); > - printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); > - /* > - * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does > --- > -2.35.1 > - > diff --git a/package/openssh/openssh.hash b/package/openssh/openssh.hash > index dd123c1bb6..4cfdb91484 100644 > --- a/package/openssh/openssh.hash > +++ b/package/openssh/openssh.hash > @@ -1,4 +1,4 @@ > -# From https://www.openssh.com/txt/release-8.9 (base64 encoded) > -sha256 fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7 openssh-8.9p1.tar.gz > +# From https://www.openssh.com/txt/release-9.0 (base64 encoded) > +sha256 03974302161e9ecce32153cfa10012f1e65c8f3750f573a73ab1befd5972a28a openssh-9.0p1.tar.gz > # Locally calculated > sha256 d6807e99f3d159145c659060f57c3fa74e109faa39326dbfc38674cb550fd104 LICENCE > diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk > index 84add9563d..63a28f3af5 100644 > --- a/package/openssh/openssh.mk > +++ b/package/openssh/openssh.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -OPENSSH_VERSION_MAJOR = 8.9 > +OPENSSH_VERSION_MAJOR = 9.0 > OPENSSH_VERSION_MINOR = p1 > OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR) > OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR) From arnout at mind.be Thu Apr 21 17:56:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:56:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/netdata: fix uclibc build without wchar In-Reply-To: <20220412163624.1143941-1-fontaine.fabrice@gmail.com> References: <20220412163624.1143941-1-fontaine.fabrice@gmail.com> Message-ID: <5546c432-bdc0-944d-14c4-32c3648319fb@mind.be> On 12/04/2022 18:36, Fabrice Fontaine wrote: > Fix the following uclibc build failure without wchar raised since bump > to version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1: > > configure: error: Netdata requires a compiler that supports C99 to build > > Fixes: > - http://autobuild.buildroot.org/results/bca4d370ed0553d5f99f1277d0a1e3b49f62b95f > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/netdata/netdata.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk > index d29733d8f6..dade6c625b 100644 > --- a/package/netdata/netdata.mk > +++ b/package/netdata/netdata.mk > @@ -18,6 +18,10 @@ NETDATA_CONF_OPTS = \ > --disable-unit-tests > NETDATA_DEPENDENCIES = libuv util-linux zlib > > +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test > +# provided by autoconf relies on wchar_t. > +NETDATA_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 > + > ifeq ($(BR2_GCC_ENABLE_LTO),y) > NETDATA_CONF_OPTS += --enable-lto > else From arnout at mind.be Thu Apr 21 17:57:24 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:57:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/azure-iot-sdk-c: fix build with libressl >= 2.8.0 In-Reply-To: <20220412182242.1452070-1-fontaine.fabrice@gmail.com> References: <20220412182242.1452070-1-fontaine.fabrice@gmail.com> Message-ID: <7cba12b4-c45f-8c1c-3584-6eed95cd5522@mind.be> On 12/04/2022 20:22, Fabrice Fontaine wrote: > Fix the following build failure with libressl >= 2.8.0 raised since > https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: > > /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': > /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] > 961 | bio_method = BIO_s_mem(); > | ^ > cc1: all warnings being treated as errors > > Fixes: > - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...apters-fix-build-with-libressl-2.8.0.patch | 85 +++++++++++++++++++ > 1 file changed, 85 insertions(+) > create mode 100644 package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch > > diff --git a/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch > new file mode 100644 > index 0000000000..e2a241bffe > --- /dev/null > +++ b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch > @@ -0,0 +1,85 @@ > +From 43b313988d66de144a528e4cf57827df1e8c692d Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 12 Apr 2022 20:00:36 +0200 > +Subject: [PATCH] adapters: fix build with libressl >= 2.8.0 (#589) > + > +Fix the following build failure with libressl >= 2.8.0 raised since > +https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: > + > +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': > +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] > + 961 | bio_method = BIO_s_mem(); > + | ^ > +cc1: all warnings being treated as errors > + > +Fix #585 > + > +Fixes: > + - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/Azure/azure-c-shared-utility/commit/43b313988d66de144a528e4cf57827df1e8c692d] > +--- > + adapters/tlsio_openssl.c | 2 +- > + adapters/x509_openssl.c | 4 ++-- > + tests/x509_openssl_ut/x509_openssl_ut.c | 4 ++-- > + 3 files changed, 5 insertions(+), 5 deletions(-) > + > +diff --git a/c-utility/adapters/tlsio_openssl.c b/c-utility/adapters/tlsio_openssl.c > +index 4a3df8496..aa48ce52d 100644 > +--- a/c-utility/adapters/tlsio_openssl.c > ++++ b/c-utility/adapters/tlsio_openssl.c > +@@ -953,7 +953,7 @@ static int add_certificate_to_store(TLS_IO_INSTANCE* tls_io_instance, const char > + } > + else > + { > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + const BIO_METHOD* bio_method; > + #else > + BIO_METHOD* bio_method; > +diff --git a/c-utility/adapters/x509_openssl.c b/c-utility/adapters/x509_openssl.c > +index 5a9e5ac29..46195b403 100644 > +--- a/c-utility/adapters/x509_openssl.c > ++++ b/c-utility/adapters/x509_openssl.c > +@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate) > + // certificates. > + > + /* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */ > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + SSL_CTX_clear_extra_chain_certs(ssl_ctx); > + #else > + if (ssl_ctx->extra_certs != NULL) > +@@ -345,7 +345,7 @@ int x509_openssl_add_certificates(SSL_CTX* ssl_ctx, const char* certificates) > + else > + { > + /*Codes_SRS_X509_OPENSSL_02_012: [ x509_openssl_add_certificates shall get the memory BIO method function by calling BIO_s_mem. ]*/ > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + const BIO_METHOD* bio_method; > + #else > + BIO_METHOD* bio_method; > +diff --git a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c > +index b3349f6b0..f73191e3f 100644 > +--- a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c > ++++ b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c > +@@ -348,7 +348,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) > + STRICT_EXPECTED_CALL(BIO_new_mem_buf((void*)TEST_PUBLIC_CERTIFICATE, -1)); > + STRICT_EXPECTED_CALL(PEM_read_bio_X509_AUX(IGNORED_PTR_ARG, NULL, NULL, NULL)); > + STRICT_EXPECTED_CALL(SSL_CTX_use_certificate(IGNORED_PTR_ARG, IGNORED_PTR_ARG)); > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + // Actual macro name: SSL_CTX_clear_extra_chain_certs: > + STRICT_EXPECTED_CALL(SSL_CTX_ctrl(TEST_SSL_CTX_STRUCTURE, SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS, 0, NULL)); > + #endif > +@@ -537,7 +537,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) > + > + umock_c_negative_tests_snapshot(); > + > +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) > + #ifdef __APPLE__ > + size_t calls_cannot_fail_rsa[] = { 4, 5, 6, 10, 12, 13, 14 }; > + size_t calls_cannot_fail_ecc[] = { 3, 4, 8, 10, 11, 12} ; From arnout at mind.be Thu Apr 21 17:57:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:57:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/libudfread: needs __sync_*_4 or threads In-Reply-To: <20220412203048.23203-1-fontaine.fabrice@gmail.com> References: <20220412203048.23203-1-fontaine.fabrice@gmail.com> Message-ID: <3df8464a-8780-bb42-0b9d-a0ba85fa2af6@mind.be> On 12/04/2022 22:30, Fabrice Fontaine wrote: > libudfread needs __sync_*_4 or threads since its addition in commit > c477885e3f3c31d3922af1fc0e47e6f5f35b1645 and > https://code.videolan.org/videolan/libudfread/-/commit/06c3cb9223a3cb5ab048e42ab353958f422a8f57 > to avoid the following build failure: > > src/udfread.c:108:3: error: #error no atomic operation support > 108 | # error no atomic operation support > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/f76d475f49d525095ac0054224b50b9e612691d6 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libudfread/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/libudfread/Config.in b/package/libudfread/Config.in > index 8d42570500..c1f3f23af9 100644 > --- a/package/libudfread/Config.in > +++ b/package/libudfread/Config.in > @@ -1,6 +1,10 @@ > config BR2_PACKAGE_LIBUDFREAD > bool "libudfread" > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS > help > UDF reader > > https://code.videolan.org/videolan/libudfread > + > +comment "libudfread needs a toolchain w/ threads" > + depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS From arnout at mind.be Thu Apr 21 17:58:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:58:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/bpftool: needs __sync_*_4 intrisics In-Reply-To: <20220412204844.24228-1-fontaine.fabrice@gmail.com> References: <20220412204844.24228-1-fontaine.fabrice@gmail.com> Message-ID: <021eaeb3-9524-4856-b334-29a01a131f47@mind.be> On 12/04/2022 22:48, Fabrice Fontaine wrote: > bpftool needs __sync_*_4 intrisics since its addition in commit > 3675131e6c654d7536a184db0184fde7a97040e0 and > https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97: > > /nvmedata/autobuild/instance-26/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-26/output-1/build/bpftool-v6.7.0/src/libbpf/libbpf.a(libbpf.o): in function `bpf_program__attach_kprobe_opts': > libbpf.c:(.text+0xff88): undefined reference to `__sync_fetch_and_add_4' > > Fixes: > - http://autobuild.buildroot.org/results/919b8351d3783ca30a860df87ae814d5c4b9fd41 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/bpftool/Config.in | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in > index a1ef3843e6..461be9e5b4 100644 > --- a/package/bpftool/Config.in > +++ b/package/bpftool/Config.in > @@ -10,6 +10,7 @@ config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS > config BR2_PACKAGE_BPFTOOL > bool "bpftool" > depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_nios2 # binutils > depends on BR2_USE_WCHAR # binutils, elfutils > depends on !BR2_STATIC_LIBS # elfutils > @@ -24,6 +25,7 @@ config BR2_PACKAGE_BPFTOOL > > comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12" > depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_nios2 > depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ > || !BR2_TOOLCHAIN_HAS_THREADS \ From arnout at mind.be Thu Apr 21 17:58:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:58:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/libbpf: needs __sync_*_4 intrisics In-Reply-To: <20220412204926.24281-1-fontaine.fabrice@gmail.com> References: <20220412204926.24281-1-fontaine.fabrice@gmail.com> Message-ID: <16a05482-8a31-5323-cc4b-13bdc66945ec@mind.be> On 12/04/2022 22:49, Fabrice Fontaine wrote: > libbpf needs __sync_*_4 intrisics since bump to version 0.7.0 in commit > 4b1003855b02f6d9c77de634c9d0f636470e7388 and > https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97 > > Fixes: > - No autobuilder failures (yet) > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libbpf/Config.in | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/libbpf/Config.in b/package/libbpf/Config.in > index 3aa6679b3a..b3d6e44c6a 100644 > --- a/package/libbpf/Config.in > +++ b/package/libbpf/Config.in > @@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS > config BR2_PACKAGE_LIBBPF > bool "libbpf" > depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on BR2_USE_WCHAR # elfutils > depends on !BR2_STATIC_LIBS # elfutils > depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils > @@ -27,6 +28,7 @@ config BR2_PACKAGE_LIBBPF > > comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13" > depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ > || !BR2_TOOLCHAIN_HAS_THREADS \ > || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \ From arnout at mind.be Thu Apr 21 17:59:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 19:59:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/{rust, rust-bin}: bump to version 1.60.0 In-Reply-To: <20220413095038.1941918-1-nicolas.tran@smile.fr> References: <20220413095038.1941918-1-nicolas.tran@smile.fr> Message-ID: On 13/04/2022 11:50, Nicolas Tran wrote: > Link to Rust 1.60.0: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html > > Packages relying on Rust have been updated to support version 1.60.0: > package/rust > package/rust-bin > > Newest version of the source archives have been retrieved with their hash values, and the signature of the .asc files have been verified as follows: > $ curl -fsSL https://static.rust-lang.org/rust-key.gpg.ascii | gpg --import > $ gpg --verify > > The signatures were recognized but the ownership from https://static.rust-lang.org could not be verified. Because this URL can be trusted, it has been considered to blindly sign the corresponding key: > $ gpg --lsign-key 85AB96E6FA1BE5FE > > There is no typographical error in the packages according to the check-pakage utility: > $ ./utils/check-package package/rust-bin/* > $ ./utils/check-package package/rust/* > > The testsuites for the rust-bin and rust packages to test the Rust toolchain under 1.60.0 were successful: > $ ./support/testing/run-tests -k -d dl/ -o testsuite tests.package.test_rust.TestRustBin > $ ./support/testing/run-tests -k -d dl/ -o testsuite tests.package.test_rust.TestRust > > In order to verify the compatibility of Rust 1.60.0 with packages relying on it, tests using `./utils/test-pkg` were run. > For example, running the following command with `.conf` file enabling the corresponding BR2_PACKAGE: > $ ./utils/test-pkg -d test-pkg -c ripgrep.config -p ripgrep > > Results: > package/ripgrep: OK > package/librsvg : OK > package/suricata: OK > package/bat: OK > > Notes: > - For all the mentionned packages, the successful build was made on the toolchain bootlin-armv7-glibc (except package/bat, for which it was bootlin-x86-64-musl). > - A redundant build fail was witnessed for the bootlin-x86-64-musl toolchain for all the packages tested (except for package/bat). The same tests were redone in the master branch and it was already the case with Rust 1.58.1. > > Signed-off-by: Nicolas Tran Applied to master, thanks. Regards, Arnout > --- > package/rust-bin/rust-bin.hash | 252 ++++++++++++++++----------------- > package/rust-bin/rust-bin.mk | 2 +- > package/rust/rust.hash | 2 +- > package/rust/rust.mk | 2 +- > 4 files changed, 129 insertions(+), 129 deletions(-) > > diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash > index b2a4502cd9..5e1100c671 100644 > --- a/package/rust-bin/rust-bin.hash > +++ b/package/rust-bin/rust-bin.hash > @@ -1,129 +1,129 @@ > -# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > -sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > -sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > -sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > -sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > -sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > -sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > -sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > -sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc > -sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > -sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc > -sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc > -sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc > -sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc > -sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc > -sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc > -sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc > -sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc > -sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc > -sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc > -sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc > -sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc > -sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc > -sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc > -sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc > -sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc > -sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc > -sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc > -sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc > -sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc > -sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc > -sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc > -sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc > -sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc > -sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc > -sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc > -sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc > -sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc > -sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc > -sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc > -sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc > -sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz > -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 > -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc > -sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz.asc > +sha256 5d18bc384273edbd8a4b6d18104685651fb42d5f07bdf518ef2ec3641269c95d rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-i686-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-i686-unknown-linux-gnu.tar.xz.asc > +sha256 94567ff691b46ef3dff64f3866445a278a17b20639e62cdc4b6fcd7aed86cec8 rust-1.60.0-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-mips-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-mips-unknown-linux-gnu.tar.xz.asc > +sha256 d7643bf1c46765600b7f12e95c68c7bf98c720c9483d79d5d54884ea9c7f97be rust-1.60.0-mips-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz.asc > +sha256 7ff0a817d040688235b69c54e42266d5267481900a621012e7f3a4b9f58d0570 rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz.asc > +sha256 9502d2ceff5d0f9963cdb5dea1e5f83f140132f84df1f588be588d5d151d6637 rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.asc > +sha256 3e2914c26a60297d3b08fc30eee4fe919bf0a1bc24abb28a4ceb67b9f580e063 rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.asc > +sha256 2fb5c3cba35f3c1815a24c4f0de1ae34ce6ccfb7fb63cb724070670e8bfceba2 rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.asc > +sha256 cc20c99079d69bd85e5ddb4990415bcc76293513e3b05e8a0ad1d2efa9b968a4 rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-s390x-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-s390x-unknown-linux-gnu.tar.xz.asc > +sha256 1af141aa6ea084f8333cca4973488395414a87c2bdd77c1d58994869cf3cde5d rust-1.60.0-s390x-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz.asc > +sha256 83c3fb8645379ec308192fa713df87044892639495722077e07aa779b310239e rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz.asc > +sha256 fbc39c2ba2eee9bad7305d73d02a63ada651961be8fd9e0dae520bda5d715c6e rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz.asc > +sha256 16e8f0e03e6a025ef1f96cb76890810d4212525de82340d8cbf2f627725f2ec7 rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz.asc > +sha256 0260245f927a38efccf36c7c652e263b7dd69b80383e09426204bd9592990f9f rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz.asc > +sha256 aa40798080243dcdb199a1b7ffd21c056cdc94a76b0a8a339d5a8ad7a64fdc5a rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz.asc > +sha256 4c0722a9fa5cafa3c720bec8ab110147a0ccbe6947a4b98284e61fa01c006045 rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz.asc > +sha256 1429378d662b3bd15b69f426b30678d032ad193d805d7931997943ce8ebe96df rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz.asc > +sha256 48df1c532e23bda5476d287d9280da5cdbd0ed52f4f2e2af5dc088e816a52123 rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz.asc > +sha256 84aaa30d90acd0e633c80d54c368d3fcda2b78cbe547e97aeae944765ad93481 rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz.asc > +sha256 b913c45d85fcc1caf7de684127cf00a51430e0096e7c470e18ec76a8eec0b6d7 rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz.asc > +sha256 3b28be7ae8f669d40fcb01c36e83d9e0107164815c26e080d7cbcf4185b20be2 rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz.asc > +sha256 5499545cb0799a56f9d974e513234acfddac4aa7c40703b4780022069a6b1a69 rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz.asc > +sha256 925db12e7103935e90264890afdafd93e8485893effbd3fcd526ee9404683db1 rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz.asc > +sha256 790288c7060c5dc4aaaf5cc4d2842feeb86a046ce4689023f7def3cf4a091126 rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-musl.tar.xz.asc > +sha256 d583a74a61c8df3e1fdfc0ce86d0275c6922b584205385e94440b4b16278b74e rust-std-1.60.0-i586-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz.asc > +sha256 04a7ed0ab0811e3d4dc86053af1d49a8654bfdd6a1a5c22419e8a2c42c33c382 rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-musl.tar.xz.asc > +sha256 c7f7f87b0c66e68dc939d4fe906ee61d6bf8f4836b6e54eb02eccc07e805e806 rust-std-1.60.0-i686-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz.asc > +sha256 0f5ad9aaf415314308b0c5400b4e8300abe0d31233708902dbed0c5ad5bb70cb rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-musl.tar.xz.asc > +sha256 7b8c08adf5c9c4eae38b8929c58916e15ab7ada2d4e3438c60d1d778ba1ba0d6 rust-std-1.60.0-mips-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz.asc > +sha256 8cfc02116e2c15d96696332b8260a217f30aa21e95fac0b241a6a1b4252787e4 rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz.asc > +sha256 ca6096a4a6366c1faed3b71052bff5a3722bf7a186218f05980c4291d48ef31b rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc > +sha256 636cff37d1fb5474b576d9772d9754aa2d936611363ce658f1b422f444aa1ad7 rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz.asc > +sha256 a7b9428705e1267a22ad778d75f6e9c4ffab31e7f82180585c2bb187548c8ab6 rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz.asc > +sha256 ff963e0a04a5ae8511f75a5e11f42fce4e14942487ce7b6a4615a3b2ef412407 rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz.asc > +sha256 75e0212990727dc31e11bc76ddee87c0a94628427c5f18e5c63a3365ca7bfb38 rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz.asc > +sha256 81138f4b9c8ec6f68fa81f10ec0da5962a7bb433a85009fe970ec3bb6596b1af rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.asc > +sha256 b390bec6ce697a6347fb6c5dd70bb23f562cc9945ed215f10fd08dbc1a38293f rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.asc > +sha256 3bfce36ef03027574f2f1e17d24b172bd086a0a3adbd8944955d18ad9919a78e rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.asc > +sha256 9a1d788ed9d0b456ea6974b6468199455d82e437e56025de2a1d4031e9f67174 rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz.asc > +sha256 3d44442c5dc02fbdc4f71dd4f76dac714fa69a8021a3350b3919439a7ac548ac rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz.asc > +sha256 83039cd55d4ab7606d81f0e199f042e011cbe55b07b252913543c339c6c2f434 rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz.asc > +sha256 6fb8ee3650beb10836ae48a9aaa535473e64eaca20695b88113267aea3c7557f rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz > +# From https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz.sha256 > +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz.asc > +sha256 0801252694e49eca069003f311e23e124a6dee3557e613133dc2e3cab7bed64d rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz > # Locally generated > sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE > sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk > index d4cb8f50ea..7cfe5cd6df 100644 > --- a/package/rust-bin/rust-bin.mk > +++ b/package/rust-bin/rust-bin.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RUST_BIN_VERSION = 1.58.1 > +RUST_BIN_VERSION = 1.60.0 > RUST_BIN_SITE = https://static.rust-lang.org/dist > RUST_BIN_LICENSE = Apache-2.0 or MIT > RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > diff --git a/package/rust/rust.hash b/package/rust/rust.hash > index 7eb8f59603..81f366e564 100644 > --- a/package/rust/rust.hash > +++ b/package/rust/rust.hash > @@ -1,6 +1,6 @@ > # From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 > # Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc > -sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz > +sha256 a025876deccbcb3f288d8e02623ea321f94623f31305d3c5c6f17855bb9685db rustc-1.60.0-src.tar.xz > # Locally generated > sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE > sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT > diff --git a/package/rust/rust.mk b/package/rust/rust.mk > index cd8c87b68d..6ac75f39c4 100644 > --- a/package/rust/rust.mk > +++ b/package/rust/rust.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RUST_VERSION = 1.58.1 > +RUST_VERSION = 1.60.0 > RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz > RUST_SITE = https://static.rust-lang.org/dist > RUST_LICENSE = Apache-2.0 or MIT From arnout at mind.be Thu Apr 21 18:00:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 20:00:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/liboping: fix build with gcc >= 7 In-Reply-To: <20220413162520.594048-1-fontaine.fabrice@gmail.com> References: <20220413162520.594048-1-fontaine.fabrice@gmail.com> Message-ID: <51c1fbc7-459d-c5c1-0e4a-87bc119b0d2e@mind.be> On 13/04/2022 18:25, Fabrice Fontaine wrote: > Replace first patch (which is not in master after nearly 4 years) with > a new set of pending patches to fix the following build failure with > gcc >= 7: > > liboping.c: In function 'ping_set_ttl': > liboping.c:207:9: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Werror=format-truncation=] > 207 | "%s: %s", function, message); > | ^~ > ...... > 829 | sstrerror (ret, errbuf, sizeof (errbuf))); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > liboping.c:206:2: note: 'snprintf' output between 15 and 270 bytes into a destination of size 256 > 206 | snprintf (obj->errmsg, sizeof (obj->errmsg), > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 207 | "%s: %s", function, message); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/31083354e9064b2deef86917d67e92a88af0fa46 > > Signed-off-by: Fabrice Fontaine > --- > ...port.patch => 0001-fix-utf8-support.patch} | 0 > ...to-make-GCC-s-truncation-check-happy.patch | 31 ------------------ > ...when-adding-hosts-not-when-doing-th.patch} | 0 > ...-GCC-7-buffer-overflow-with-snprintf.patch | 28 ++++++++++++++++ > .../0004-Fix-compile-error-on-GCC-7.patch | 32 +++++++++++++++++++ > 5 files changed, 60 insertions(+), 31 deletions(-) > rename package/liboping/{0002-fix-utf8-support.patch => 0001-fix-utf8-support.patch} (100%) > delete mode 100644 package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch > rename package/liboping/{0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch => 0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch} (100%) > create mode 100644 package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch > create mode 100644 package/liboping/0004-Fix-compile-error-on-GCC-7.patch > > diff --git a/package/liboping/0002-fix-utf8-support.patch b/package/liboping/0001-fix-utf8-support.patch > similarity index 100% > rename from package/liboping/0002-fix-utf8-support.patch > rename to package/liboping/0001-fix-utf8-support.patch > diff --git a/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch b/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch > deleted file mode 100644 > index b0aca8a715..0000000000 > --- a/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch > +++ /dev/null > @@ -1,31 +0,0 @@ > -From 18ca43507b351f339ff23062541ee8d58e813a53 Mon Sep 17 00:00:00 2001 > -From: Florian Forster > -Date: Sun, 29 Jul 2018 14:34:19 +0200 > -Subject: [PATCH] ping_host_add: Decrease buffer size to make GCC's truncation > - check happy. > - > -Fixes: #38 > -Signed-off-by: Fabrice Fontaine > -[Retrieved from: > -https://github.com/octo/liboping/commit/18ca43507b351f339ff23062541ee8d58e813a53] > ---- > - src/liboping.c | 6 ++---- > - 1 file changed, 2 insertions(+), 4 deletions(-) > - > -diff --git a/src/liboping.c b/src/liboping.c > -index 5253e8c..2470988 100644 > ---- a/src/liboping.c > -+++ b/src/liboping.c > -@@ -1636,10 +1636,8 @@ int ping_host_add (pingobj_t *obj, const char *host) > - } > - else > - { > -- char errmsg[PING_ERRMSG_LEN]; > -- > -- snprintf (errmsg, PING_ERRMSG_LEN, "Unknown `ai_family': %i", ai_ptr->ai_family); > -- errmsg[PING_ERRMSG_LEN - 1] = '\0'; > -+ char errmsg[64]; > -+ snprintf (errmsg, sizeof(errmsg), "Unknown `ai_family': %d", ai_ptr->ai_family); I don't understand how the new patches can fix this error. But OK, I trust you checked it with GCC 8 :-) Applied to master, thanks. Regards, Arnout > - > - dprintf ("%s", errmsg); > - ping_set_error (obj, "getaddrinfo", errmsg); > diff --git a/package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch b/package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch > similarity index 100% > rename from package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch > rename to package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch > diff --git a/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch b/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch > new file mode 100644 > index 0000000000..546f159187 > --- /dev/null > +++ b/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch > @@ -0,0 +1,28 @@ > +From 0ad9ee080a7cd8037c341067cc67a84e32e69fea Mon Sep 17 00:00:00 2001 > +From: Maurice Smulders > +Date: Thu, 30 Dec 2021 10:45:42 -0700 > +Subject: [PATCH] Fix compile break with GCC 7+ - buffer overflow with snprintf > + > +[Retrieved from: > +https://github.com/octo/liboping/pull/64/commits/0ad9ee080a7cd8037c341067cc67a84e32e69fea] > +Signed-off-by: Fabrice Fontaine > +--- > + src/liboping.c | 3 +++ > + 1 file changed, 3 insertions(+) > + > +diff --git a/src/liboping.c b/src/liboping.c > +index bf9e059..9fd8f53 100644 > +--- a/src/liboping.c > ++++ b/src/liboping.c > +@@ -203,8 +203,11 @@ static char *sstrerror (int errnum, char *buf, size_t buflen) > + static void ping_set_error (pingobj_t *obj, const char *function, > + const char *message) > + { > ++#pragma GCC diagnostic push > ++#pragma GCC diagnostic ignored "-Wformat-truncation" > + snprintf (obj->errmsg, sizeof (obj->errmsg), > + "%s: %s", function, message); > ++#pragma GCC diagnostic pop > + obj->errmsg[sizeof (obj->errmsg) - 1] = 0; > + } > + > diff --git a/package/liboping/0004-Fix-compile-error-on-GCC-7.patch b/package/liboping/0004-Fix-compile-error-on-GCC-7.patch > new file mode 100644 > index 0000000000..38355be40e > --- /dev/null > +++ b/package/liboping/0004-Fix-compile-error-on-GCC-7.patch > @@ -0,0 +1,32 @@ > +From 3d685bdb1a6c655bce6d36cfd96e084be07cd2b1 Mon Sep 17 00:00:00 2001 > +From: Maurice Smulders > +Date: Tue, 4 Jan 2022 12:49:36 -0700 > +Subject: [PATCH] Fix compile error on GCC < 7 > + > +[Retrieved from: > +https://github.com/octo/liboping/pull/64/commits/3d685bdb1a6c655bce6d36cfd96e084be07cd2b1] > +Signed-off-by: Fabrice Fontaine > +--- > + src/liboping.c | 4 ++++ > + 1 file changed, 4 insertions(+) > + > +diff --git a/src/liboping.c b/src/liboping.c > +index 9fd8f53..1ccf609 100644 > +--- a/src/liboping.c > ++++ b/src/liboping.c > +@@ -203,11 +203,15 @@ static char *sstrerror (int errnum, char *buf, size_t buflen) > + static void ping_set_error (pingobj_t *obj, const char *function, > + const char *message) > + { > ++#if __GNUC__ >= 7 > + #pragma GCC diagnostic push > + #pragma GCC diagnostic ignored "-Wformat-truncation" > ++#endif > + snprintf (obj->errmsg, sizeof (obj->errmsg), > + "%s: %s", function, message); > ++#if __GNUC__ >= 7 > + #pragma GCC diagnostic pop > ++#endif > + obj->errmsg[sizeof (obj->errmsg) - 1] = 0; > + } > + From arnout at mind.be Thu Apr 21 17:31:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:47 +0200 Subject: [Buildroot] [git commit] package/netdata: fix uclibc build without wchar Message-ID: <20220421175056.5077B83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=98c22550e208d79ae212d4481a24d355eb509d18 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following uclibc build failure without wchar raised since bump to version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1: configure: error: Netdata requires a compiler that supports C99 to build Fixes: - http://autobuild.buildroot.org/results/bca4d370ed0553d5f99f1277d0a1e3b49f62b95f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/netdata/netdata.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index da6f8eb18b..4287e8406b 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -18,6 +18,10 @@ NETDATA_CONF_OPTS = \ --disable-unit-tests NETDATA_DEPENDENCIES = libuv util-linux zlib +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +NETDATA_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 + ifeq ($(BR2_GCC_ENABLE_LTO),y) NETDATA_CONF_OPTS += --enable-lto else From arnout at mind.be Thu Apr 21 17:31:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:32 +0200 Subject: [Buildroot] [git commit] package/rsync: fix static build Message-ID: <20220421175056.2193483F7D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bd1dfdf69a9939039c0a45ed97fb96a600752db7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following static build failure when using an external zlib: /home/autobuild/autobuild/instance-11/output-1/host/bin/i686-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -static -o rsync flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o util2.o main.o checksum.o match.o syscall.o log.o backup.o delete.o options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o -lz -lpopt -liconv /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/i686-buildroot-linux-uclibc/9.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libz.a(deflate.c.o): in function `read_buf': deflate.c:(.text+0xb93): multiple definition of `read_buf'; io.o:io.c:(.text+0x2bf4): first defined here Fixes: - http://autobuild.buildroot.org/results/488453197da880dda8f47b71ff302192bcbb6679 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...inking-with-a-zlib-with-external-read_buf.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch new file mode 100644 index 0000000000..0af090732c --- /dev/null +++ b/package/rsync/0002-Handle-linking-with-a-zlib-with-external-read_buf.patch @@ -0,0 +1,27 @@ +From 60dd42be603a79cd57cec076fe1680e9037be774 Mon Sep 17 00:00:00 2001 +From: Wayne Davison +Date: Mon, 11 Apr 2022 08:29:54 -0700 +Subject: [PATCH] Handle linking with a zlib with external read_buf. + +[Retrieved from: +https://github.com/WayneD/rsync/commit/60dd42be603a79cd57cec076fe1680e9037be774] +Signed-off-by: Fabrice Fontaine +--- + rsync.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/rsync.h b/rsync.h +index 4b30570b..e5aacd25 100644 +--- a/rsync.h ++++ b/rsync.h +@@ -1172,6 +1172,10 @@ struct name_num_obj { + struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */ + }; + ++#ifdef EXTERNAL_ZLIB ++#define read_buf read_buf_ ++#endif ++ + #ifndef __cplusplus + #include "proto.h" + #endif From arnout at mind.be Thu Apr 21 17:31:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:40 +0200 Subject: [Buildroot] [git commit] package/tvheadend: fix FTBFS Message-ID: <20220421175056.3755683FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bbb3370efbe92132cf4a00fa7bb267f9f4d6bc8a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the folloing build failure raised since commit 04164b81e76e29fb9482245e808b46af2aa67bc6: src/utils.c: In function 'sha512sum256': src/utils.c:619:45: error: token " " is not valid in preprocessor expressions 619 | #if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) | ^ Fixes: - http://autobuild.buildroot.org/results/caf0f5e4c6ad0f2764f07d33f594b6121cea87bc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch new file mode 100644 index 0000000000..2caa281490 --- /dev/null +++ b/package/tvheadend/0003-Fix-FTBFS-in-utils-c.patch @@ -0,0 +1,28 @@ +From fd01737270d98c28465c86a688bd7d1c640486c5 Mon Sep 17 00:00:00 2001 +From: Michael Marley +Date: Wed, 6 Apr 2022 21:47:49 -0400 +Subject: [PATCH] Fix FTBFS in utils.c + +U+0020 SPACE and U+00A0 NO-BREAK SPACE look the same, but they +aren't the same. + +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/fd01737270d98c28465c86a688bd7d1c640486c5] +Signed-off-by: Fabrice Fontaine +--- + src/utils.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/utils.c b/src/utils.c +index eecb10e116..bc6401d22f 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL &&??!defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; From arnout at mind.be Thu Apr 21 17:31:54 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:54 +0200 Subject: [Buildroot] [git commit] package/libudfread: needs __sync_*_4 or threads Message-ID: <20220421175056.6647D83FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=090a6ab0fcd24a20fd51882d8b4ce11c184d29aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libudfread needs __sync_*_4 or threads since its addition in commit c477885e3f3c31d3922af1fc0e47e6f5f35b1645 and https://code.videolan.org/videolan/libudfread/-/commit/06c3cb9223a3cb5ab048e42ab353958f422a8f57 to avoid the following build failure: src/udfread.c:108:3: error: #error no atomic operation support 108 | # error no atomic operation support | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/f76d475f49d525095ac0054224b50b9e612691d6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libudfread/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libudfread/Config.in b/package/libudfread/Config.in index 8d42570500..c1f3f23af9 100644 --- a/package/libudfread/Config.in +++ b/package/libudfread/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_LIBUDFREAD bool "libudfread" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS help UDF reader https://code.videolan.org/videolan/libudfread + +comment "libudfread needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS From arnout at mind.be Thu Apr 21 17:31:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:35 +0200 Subject: [Buildroot] [git commit] package/startup-notification: bump to version 0.12 Message-ID: <20220421175056.2C29183FE8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d1e207f976018e44c964cbe661d5fa315f529527 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master xcb-util is mandatory since https://cgit.freedesktop.org/startup-notification/commit/?id=15c0bae76e0bcd5d2839a791cf51c8b22e615fe2 https://cgit.freedesktop.org/startup-notification/commit/?id=57816a46aa32d0bd667661ce6aaaa187f84ec889 https://cgit.freedesktop.org/startup-notification/tree/NEWS?h=STARTUP_NOTIFICATION_0_12 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/startup-notification/Config.in | 1 + package/startup-notification/startup-notification.hash | 2 +- package/startup-notification/startup-notification.mk | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/startup-notification/Config.in b/package/startup-notification/Config.in index 88d18174bc..606276e484 100644 --- a/package/startup-notification/Config.in +++ b/package/startup-notification/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_STARTUP_NOTIFICATION bool "startup-notification" depends on BR2_PACKAGE_XORG7 depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_XCB_UTIL select BR2_PACKAGE_XLIB_LIBX11 help Startup-notification is a library used to monitor diff --git a/package/startup-notification/startup-notification.hash b/package/startup-notification/startup-notification.hash index 474c8bd92c..9c5713213b 100644 --- a/package/startup-notification/startup-notification.hash +++ b/package/startup-notification/startup-notification.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c2fa09f9a49d8b319e79638e49e967c682df8726006e03059b1ffca5ab82099c startup-notification-0.9.tar.gz +sha256 3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a startup-notification-0.12.tar.gz sha256 29935974beae046f50da806b5f4e54532401dd7bcfbc696a0b645f4cbcce9dbb COPYING diff --git a/package/startup-notification/startup-notification.mk b/package/startup-notification/startup-notification.mk index b3314087f5..4a9e33e5ed 100644 --- a/package/startup-notification/startup-notification.mk +++ b/package/startup-notification/startup-notification.mk @@ -4,10 +4,10 @@ # ################################################################################ -STARTUP_NOTIFICATION_VERSION = 0.9 +STARTUP_NOTIFICATION_VERSION = 0.12 STARTUP_NOTIFICATION_SITE = http://freedesktop.org/software/startup-notification/releases STARTUP_NOTIFICATION_INSTALL_STAGING = YES -STARTUP_NOTIFICATION_DEPENDENCIES = xlib_libX11 +STARTUP_NOTIFICATION_DEPENDENCIES = xcb-util xlib_libX11 STARTUP_NOTIFICATION_CONF_ENV = lf_cv_sane_realloc=yes STARTUP_NOTIFICATION_CONF_OPTS = --with-x \ --x-includes="$(STAGING_DIR)/usr/include/X11" \ From arnout at mind.be Thu Apr 21 17:31:44 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:44 +0200 Subject: [Buildroot] [git commit] package/openssh: bump to version 9.0p1 Message-ID: <20220421175056.443AF83FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b936a95d021d73ed27ddb7c856a2e113bf467670 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master patch 0001: already applied upstream patch 0002: already applied upstream https://www.openssh.com/txt/release-9.0 Signed-off-by: Michael Fischer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...001-Allow-ppoll_time64-in-seccomp-sandbox.patch | 32 ------------------ ...ection-of-fzero-call-used-regs-all-suppor.patch | 38 ---------------------- package/openssh/openssh.hash | 4 +-- package/openssh/openssh.mk | 2 +- 4 files changed, 3 insertions(+), 73 deletions(-) diff --git a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch b/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch deleted file mode 100644 index 16eb6eaba2..0000000000 --- a/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 284b6e5394652d519e31782e3b3cdfd7b21d1a81 Mon Sep 17 00:00:00 2001 -From: Darren Tucker -Date: Sat, 26 Feb 2022 14:06:14 +1100 -Subject: [PATCH] Allow ppoll_time64 in seccomp sandbox. - -Should fix sandbox violations on (some? at least i386 and armhf) 32bit -Linux platforms. Patch from chutzpahu at gentoo.org and cjwatson at -debian.org via bz#3396. - -[Upstream: https://github.com/openssh/openssh-portable/commit/284b6e5394652d519e31782e3b3cdfd7b21d1a81.patch] -Signed-off-by: John Keeping ---- - sandbox-seccomp-filter.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c -index 2e065ba3..4ce80cb2 100644 ---- a/sandbox-seccomp-filter.c -+++ b/sandbox-seccomp-filter.c -@@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = { - #ifdef __NR_ppoll - SC_ALLOW(__NR_ppoll), - #endif -+#ifdef __NR_ppoll_time64 -+ SC_ALLOW(__NR_ppoll_time64), -+#endif - #ifdef __NR_poll - SC_ALLOW(__NR_poll), - #endif --- -2.35.1 - diff --git a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch b/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch deleted file mode 100644 index ce5c5539ff..0000000000 --- a/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch +++ /dev/null @@ -1,38 +0,0 @@ -From b5fee5fe98f708c1dc61a1564db35eacadbfe8b3 Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Thu, 24 Feb 2022 16:04:18 +0000 -Subject: [PATCH] Improve detection of -fzero-call-used-regs=all support - -GCC doesn't tell us whether this option is supported unless it runs into -the situation where it would need to emit corresponding code. - -[Upstream: https://github.com/openssh/openssh-portable/commit/f107467179428a0e3ea9e4aa9738ac12ff02822d.patch] -Signed-off-by: Peter Seiderer ---- - m4/openssh.m4 | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/m4/openssh.m4 b/m4/openssh.m4 -index 4f9c379..8c33c70 100644 ---- a/m4/openssh.m4 -+++ b/m4/openssh.m4 -@@ -14,6 +14,8 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{ - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - #include - #include -+/* Trivial function to help test for -fzero-call-used-regs */ -+void f(int n) {} - int main(int argc, char **argv) { - (void)argv; - /* Some math to catch -ftrapv problems in the toolchain */ -@@ -21,6 +23,7 @@ int main(int argc, char **argv) { - float l = i * 2.1; - double m = l / 0.5; - long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; -+ f(0); - printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); - /* - * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does --- -2.35.1 - diff --git a/package/openssh/openssh.hash b/package/openssh/openssh.hash index dd123c1bb6..4cfdb91484 100644 --- a/package/openssh/openssh.hash +++ b/package/openssh/openssh.hash @@ -1,4 +1,4 @@ -# From https://www.openssh.com/txt/release-8.9 (base64 encoded) -sha256 fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7 openssh-8.9p1.tar.gz +# From https://www.openssh.com/txt/release-9.0 (base64 encoded) +sha256 03974302161e9ecce32153cfa10012f1e65c8f3750f573a73ab1befd5972a28a openssh-9.0p1.tar.gz # Locally calculated sha256 d6807e99f3d159145c659060f57c3fa74e109faa39326dbfc38674cb550fd104 LICENCE diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index 84add9563d..63a28f3af5 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENSSH_VERSION_MAJOR = 8.9 +OPENSSH_VERSION_MAJOR = 9.0 OPENSSH_VERSION_MINOR = p1 OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR) OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR) From arnout at mind.be Thu Apr 21 17:31:57 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:57 +0200 Subject: [Buildroot] [git commit] package/bpftool: needs __sync_*_4 intrisics Message-ID: <20220421175056.719DB83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30cbb1e21716b205d1bbd5fc23d53a3f83773f22 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master bpftool needs __sync_*_4 intrisics since its addition in commit 3675131e6c654d7536a184db0184fde7a97040e0 and https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97: /nvmedata/autobuild/instance-26/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-26/output-1/build/bpftool-v6.7.0/src/libbpf/libbpf.a(libbpf.o): in function `bpf_program__attach_kprobe_opts': libbpf.c:(.text+0xff88): undefined reference to `__sync_fetch_and_add_4' Fixes: - http://autobuild.buildroot.org/results/919b8351d3783ca30a860df87ae814d5c4b9fd41 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/bpftool/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in index a1ef3843e6..461be9e5b4 100644 --- a/package/bpftool/Config.in +++ b/package/bpftool/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS config BR2_PACKAGE_BPFTOOL bool "bpftool" depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_nios2 # binutils depends on BR2_USE_WCHAR # binutils, elfutils depends on !BR2_STATIC_LIBS # elfutils @@ -24,6 +25,7 @@ config BR2_PACKAGE_BPFTOOL comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12" depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_nios2 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS \ From arnout at mind.be Thu Apr 21 17:53:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:53:06 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gst1-python: fix build without C++ Message-ID: <20220421175056.D343183FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33a4b795b23a72a8517afc1ca5ceccaad66d426b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without C++ raised since the addition of the package in commit ba0d78b90705fa6f564e105437be4817caf2ca6c: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" Fixes: - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...n-fix-build-on-systems-without-C-compiler.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..7d3059d61a --- /dev/null +++ b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 26c2385faed0bb997368daabd4c64207b3fc01ca Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 15 Apr 2022 18:58:49 +0200 +Subject: [PATCH] gst-python: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/26c2385faed0bb997368daabd4c64207b3fc01ca] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-python/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 1462604b297..c28df16192a 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-python', 'c', 'cpp', ++project('gst-python', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + From arnout at mind.be Thu Apr 21 17:32:05 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:05 +0200 Subject: [Buildroot] [git commit] package/{rust, rust-bin}: bump to version 1.60.0 Message-ID: <20220421175056.86F2F83FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b77600f5082085fa5e223798510502416fbf8035 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Link to Rust 1.60.0: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html Packages relying on Rust have been updated to support version 1.60.0: package/rust package/rust-bin Newest version of the source archives have been retrieved with their hash values, and the signature of the .asc files have been verified as follows: $ curl -fsSL https://static.rust-lang.org/rust-key.gpg.ascii | gpg --import $ gpg --verify The signatures were recognized but the ownership from https://static.rust-lang.org could not be verified. Because this URL can be trusted, it has been considered to blindly sign the corresponding key: $ gpg --lsign-key 85AB96E6FA1BE5FE There is no typographical error in the packages according to the check-pakage utility: $ ./utils/check-package package/rust-bin/* $ ./utils/check-package package/rust/* The testsuites for the rust-bin and rust packages to test the Rust toolchain under 1.60.0 were successful: $ ./support/testing/run-tests -k -d dl/ -o testsuite tests.package.test_rust.TestRustBin $ ./support/testing/run-tests -k -d dl/ -o testsuite tests.package.test_rust.TestRust In order to verify the compatibility of Rust 1.60.0 with packages relying on it, tests using `./utils/test-pkg` were run. For example, running the following command with `.conf` file enabling the corresponding BR2_PACKAGE: $ ./utils/test-pkg -d test-pkg -c ripgrep.config -p ripgrep Results: package/ripgrep: OK package/librsvg : OK package/suricata: OK package/bat: OK Notes: - For all the mentionned packages, the successful build was made on the toolchain bootlin-armv7-glibc (except package/bat, for which it was bootlin-x86-64-musl). - A redundant build fail was witnessed for the bootlin-x86-64-musl toolchain for all the packages tested (except for package/bat). The same tests were redone in the master branch and it was already the case with Rust 1.58.1. Signed-off-by: Nicolas Tran Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rust-bin/rust-bin.hash | 252 ++++++++++++++++++++--------------------- package/rust-bin/rust-bin.mk | 2 +- package/rust/rust.hash | 2 +- package/rust/rust.mk | 2 +- 4 files changed, 129 insertions(+), 129 deletions(-) diff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash index b2a4502cd9..5e1100c671 100644 --- a/package/rust-bin/rust-bin.hash +++ b/package/rust-bin/rust-bin.hash @@ -1,129 +1,129 @@ -# From https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc -sha256 0a80900aa160de4292b1174e25f183bd88f6c2fbb3056a59fcb4d658c70084cb rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc -sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc -sha256 01d2e69ed06fbc05a779a7d09f99d0b54a0d10fef9a7dcd0ea07866d57900ca2 rust-1.58.1-mips-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc -sha256 0b8fafb75e06ba9d4ca58f2cde3179a677908aed8be64e798fc107135839c480 rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc -sha256 00216feea0a6468e9ce57c7d3ad50e22fe888dfc9aabc34128e1f4b02c5a09b9 rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc -sha256 f6f870875d9adbe5a8b7bb6f61c44b6c54381e5dff50b4d2cdce50d18a8a541e rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc -sha256 45bf988d0337095a4d30bb237d552e3420b4381e208624f0d956e1caf6b90207 rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc -sha256 488e30e926d1835c0140a01bff4d3fe6499be1e89e5c740b2ceace892ab4c2e6 rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc -sha256 48cf31128a54551330f9c094f69d274adaab1ac506869dd65353aaea5bcbf33f rust-1.58.1-s390x-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc -sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc -sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc -sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc -sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc -sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc -sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc -sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc -sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc -sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc -sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc -sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc -sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc -sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc -sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc -sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc -sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc -sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc -sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc -sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc -sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc -sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc -sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc -sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc -sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc -sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc -sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc -sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc -sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc -sha256 e990778d618a213a0825625277505850e222df9ab5b514fec927fbf2d2d21a66 rust-std-1.58.1-s390x-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc -sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc -sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 5d18bc384273edbd8a4b6d18104685651fb42d5f07bdf518ef2ec3641269c95d rust-1.60.0-aarch64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-i686-unknown-linux-gnu.tar.xz.asc +sha256 94567ff691b46ef3dff64f3866445a278a17b20639e62cdc4b6fcd7aed86cec8 rust-1.60.0-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-mips-unknown-linux-gnu.tar.xz.asc +sha256 d7643bf1c46765600b7f12e95c68c7bf98c720c9483d79d5d54884ea9c7f97be rust-1.60.0-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 7ff0a817d040688235b69c54e42266d5267481900a621012e7f3a4b9f58d0570 rust-1.60.0-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 9502d2ceff5d0f9963cdb5dea1e5f83f140132f84df1f588be588d5d151d6637 rust-1.60.0-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 3e2914c26a60297d3b08fc30eee4fe919bf0a1bc24abb28a4ceb67b9f580e063 rust-1.60.0-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 2fb5c3cba35f3c1815a24c4f0de1ae34ce6ccfb7fb63cb724070670e8bfceba2 rust-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 cc20c99079d69bd85e5ddb4990415bcc76293513e3b05e8a0ad1d2efa9b968a4 rust-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-s390x-unknown-linux-gnu.tar.xz.asc +sha256 1af141aa6ea084f8333cca4973488395414a87c2bdd77c1d58994869cf3cde5d rust-1.60.0-s390x-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 83c3fb8645379ec308192fa713df87044892639495722077e07aa779b310239e rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 fbc39c2ba2eee9bad7305d73d02a63ada651961be8fd9e0dae520bda5d715c6e rust-std-1.60.0-aarch64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz.asc +sha256 16e8f0e03e6a025ef1f96cb76890810d4212525de82340d8cbf2f627725f2ec7 rust-std-1.60.0-aarch64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz.asc +sha256 0260245f927a38efccf36c7c652e263b7dd69b80383e09426204bd9592990f9f rust-std-1.60.0-arm-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz.asc +sha256 aa40798080243dcdb199a1b7ffd21c056cdc94a76b0a8a339d5a8ad7a64fdc5a rust-std-1.60.0-arm-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz.asc +sha256 4c0722a9fa5cafa3c720bec8ab110147a0ccbe6947a4b98284e61fa01c006045 rust-std-1.60.0-arm-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz.asc +sha256 1429378d662b3bd15b69f426b30678d032ad193d805d7931997943ce8ebe96df rust-std-1.60.0-arm-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz.asc +sha256 48df1c532e23bda5476d287d9280da5cdbd0ed52f4f2e2af5dc088e816a52123 rust-std-1.60.0-armv5te-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz.asc +sha256 84aaa30d90acd0e633c80d54c368d3fcda2b78cbe547e97aeae944765ad93481 rust-std-1.60.0-armv5te-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz.asc +sha256 b913c45d85fcc1caf7de684127cf00a51430e0096e7c470e18ec76a8eec0b6d7 rust-std-1.60.0-armv7-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz.asc +sha256 3b28be7ae8f669d40fcb01c36e83d9e0107164815c26e080d7cbcf4185b20be2 rust-std-1.60.0-armv7-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz.asc +sha256 5499545cb0799a56f9d974e513234acfddac4aa7c40703b4780022069a6b1a69 rust-std-1.60.0-armv7-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz.asc +sha256 925db12e7103935e90264890afdafd93e8485893effbd3fcd526ee9404683db1 rust-std-1.60.0-armv7-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz.asc +sha256 790288c7060c5dc4aaaf5cc4d2842feeb86a046ce4689023f7def3cf4a091126 rust-std-1.60.0-i586-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i586-unknown-linux-musl.tar.xz.asc +sha256 d583a74a61c8df3e1fdfc0ce86d0275c6922b584205385e94440b4b16278b74e rust-std-1.60.0-i586-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz.asc +sha256 04a7ed0ab0811e3d4dc86053af1d49a8654bfdd6a1a5c22419e8a2c42c33c382 rust-std-1.60.0-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-i686-unknown-linux-musl.tar.xz.asc +sha256 c7f7f87b0c66e68dc939d4fe906ee61d6bf8f4836b6e54eb02eccc07e805e806 rust-std-1.60.0-i686-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz.asc +sha256 0f5ad9aaf415314308b0c5400b4e8300abe0d31233708902dbed0c5ad5bb70cb rust-std-1.60.0-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips-unknown-linux-musl.tar.xz.asc +sha256 7b8c08adf5c9c4eae38b8929c58916e15ab7ada2d4e3438c60d1d778ba1ba0d6 rust-std-1.60.0-mips-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz.asc +sha256 8cfc02116e2c15d96696332b8260a217f30aa21e95fac0b241a6a1b4252787e4 rust-std-1.60.0-mips64-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz.asc +sha256 ca6096a4a6366c1faed3b71052bff5a3722bf7a186218f05980c4291d48ef31b rust-std-1.60.0-mips64-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc +sha256 636cff37d1fb5474b576d9772d9754aa2d936611363ce658f1b422f444aa1ad7 rust-std-1.60.0-mips64el-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz.asc +sha256 a7b9428705e1267a22ad778d75f6e9c4ffab31e7f82180585c2bb187548c8ab6 rust-std-1.60.0-mips64el-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 ff963e0a04a5ae8511f75a5e11f42fce4e14942487ce7b6a4615a3b2ef412407 rust-std-1.60.0-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz.asc +sha256 75e0212990727dc31e11bc76ddee87c0a94628427c5f18e5c63a3365ca7bfb38 rust-std-1.60.0-mipsel-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 81138f4b9c8ec6f68fa81f10ec0da5962a7bb433a85009fe970ec3bb6596b1af rust-std-1.60.0-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 b390bec6ce697a6347fb6c5dd70bb23f562cc9945ed215f10fd08dbc1a38293f rust-std-1.60.0-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 3bfce36ef03027574f2f1e17d24b172bd086a0a3adbd8944955d18ad9919a78e rust-std-1.60.0-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 9a1d788ed9d0b456ea6974b6468199455d82e437e56025de2a1d4031e9f67174 rust-std-1.60.0-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz.asc +sha256 3d44442c5dc02fbdc4f71dd4f76dac714fa69a8021a3350b3919439a7ac548ac rust-std-1.60.0-s390x-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz.asc +sha256 83039cd55d4ab7606d81f0e199f042e011cbe55b07b252913543c339c6c2f434 rust-std-1.60.0-sparc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 6fb8ee3650beb10836ae48a9aaa535473e64eaca20695b88113267aea3c7557f rust-std-1.60.0-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz.asc +sha256 0801252694e49eca069003f311e23e124a6dee3557e613133dc2e3cab7bed64d rust-std-1.60.0-x86_64-unknown-linux-musl.tar.xz # Locally generated sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk index d4cb8f50ea..7cfe5cd6df 100644 --- a/package/rust-bin/rust-bin.mk +++ b/package/rust-bin/rust-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUST_BIN_VERSION = 1.58.1 +RUST_BIN_VERSION = 1.60.0 RUST_BIN_SITE = https://static.rust-lang.org/dist RUST_BIN_LICENSE = Apache-2.0 or MIT RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT diff --git a/package/rust/rust.hash b/package/rust/rust.hash index 7eb8f59603..81f366e564 100644 --- a/package/rust/rust.hash +++ b/package/rust/rust.hash @@ -1,6 +1,6 @@ # From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 # Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc -sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz +sha256 a025876deccbcb3f288d8e02623ea321f94623f31305d3c5c6f17855bb9685db rustc-1.60.0-src.tar.xz # Locally generated sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/package/rust/rust.mk b/package/rust/rust.mk index cd8c87b68d..6ac75f39c4 100644 --- a/package/rust/rust.mk +++ b/package/rust/rust.mk @@ -4,7 +4,7 @@ # ################################################################################ -RUST_VERSION = 1.58.1 +RUST_VERSION = 1.60.0 RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz RUST_SITE = https://static.rust-lang.org/dist RUST_LICENSE = Apache-2.0 or MIT From arnout at mind.be Thu Apr 21 17:32:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:15 +0200 Subject: [Buildroot] [git commit] package/uftrace: needs NPTL Message-ID: <20220421175056.A9C8083FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a3475c5c69b371c4fe8f74b253d868869eee12c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master uftrace needs NPTL since its addition in commit 09c97972d9f90b69cfc36f9ffe9e22c13daf9307 and https://github.com/namhyung/uftrace/commit/543fe53c256ceaef2d4d7cc44925bf1ad5a068a8: buildroot/build/uftrace-0.10/buildroot/build/uftrace-0.10/cmds/record.c:670: undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/8f884efb9d45f9145a4799981157c9226390b423 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/uftrace/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/uftrace/Config.in b/package/uftrace/Config.in index 98ddb7cbfb..8f8c5d25fd 100644 --- a/package/uftrace/Config.in +++ b/package/uftrace/Config.in @@ -8,7 +8,7 @@ config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS config BR2_PACKAGE_UFTRACE bool "uftrace" depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() depends on !BR2_STATIC_LIBS select BR2_PACKAGE_ARGP_STANDALONE if \ BR2_TOOLCHAIN_USES_UCLIBC || \ @@ -23,6 +23,6 @@ config BR2_PACKAGE_UFTRACE https://github.com/namhyung/uftrace -comment "uftrace needs a toolchain w/ threads, dynamic library" +comment "uftrace needs a toolchain w/ NPTL, dynamic library" depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From arnout at mind.be Thu Apr 21 17:32:12 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:12 +0200 Subject: [Buildroot] [git commit] package/libwebsockets: fix build without C++ Message-ID: <20220421175056.9D2AE83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ef58ef062e5c65d28fd1551ec2ab4584a5856928 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without C++ raised since bump to version 4.3.1 in commit 3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 and https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d: CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-CMakeLists.txt-fix-build-without-C.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch new file mode 100644 index 0000000000..c6d6d07dcc --- /dev/null +++ b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch @@ -0,0 +1,44 @@ +From 726b36eca158063d8871c91ad99a29113ea35aea Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 13 Apr 2022 21:03:26 +0200 +Subject: [PATCH] CMakeLists.txt: fix build without C++ + +Fix the following build failure without C++ raised since version 4.2.0 +and +https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d: + +CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): + The C++ compiler + + "/usr/bin/clang++" + + is not able to compile a simple test program. + +Fixes: + - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/warmcat/libwebsockets/pull/2613] +--- + CMakeLists.txt | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 08aaf8c6..96e3ad18 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -71,7 +71,10 @@ if (ESP_PLATFORM) + endif() + + # it's at this point any toolchain file is brought in +-project(libwebsockets C CXX) ++project(libwebsockets C) ++if (LWS_WITH_SECURE_STREAMS_CPP) ++ enable_language(CXX) ++endif() + include(CTest) + + if (PICO_SDK_PATH) +-- +2.35.1 + From arnout at mind.be Thu Apr 21 17:53:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:53:06 +0200 Subject: [Buildroot] [git commit] package/linux-tools: cpupower needs dynamic library Message-ID: <20220421175056.C659883FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c173eb47bfc908be3d3fd204a49c71ce3290f5d5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpupower needs dynamic library since its addition in commit f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build failure: ld (ld-elf2flt): -shared used without passing a shared library ID Fixes: - http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/linux-tools/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in index f459b41762..791f2c085c 100644 --- a/package/linux-tools/Config.in +++ b/package/linux-tools/Config.in @@ -7,12 +7,16 @@ config BR2_PACKAGE_LINUX_TOOLS config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER bool "cpupower" + depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LINUX_TOOLS select BR2_PACKAGE_PCIUTILS help cpupower is a collection of tools to examine and tune power saving related features of your processor. +comment "cpupower needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_LINUX_TOOLS_GPIO bool "gpio" select BR2_PACKAGE_LINUX_TOOLS From arnout at mind.be Thu Apr 21 17:53:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:53:06 +0200 Subject: [Buildroot] [git commit] package/libwebsockets: fix build without threads Message-ID: <20220421175056.EC14483FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c435d4ec60432f96abbc58cd1daf190528fafaa3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure without threads raised since bump to version 4.3.1 in commit 3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 and https://github.com/warmcat/libwebsockets/commit/8eca7e17f27c8588170c5fa5fa3e6b14eb90e35d: In file included from /nvmedata/autobuild/instance-1/output-1/build/libwebsockets-4.3.1/lib/plat/unix/unix-caps.c:28: /nvmedata/autobuild/instance-1/output-1/build/libwebsockets-4.3.1/lib/core/./private-lib-core.h:68:11: fatal error: pthread.h: No such file or directory 68 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/5d011b65e530339eb3f4d06a08caabc6a73b403b Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libwebsockets/libwebsockets.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index f8093b92fa..63d50999a5 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -20,9 +20,13 @@ LIBWEBSOCKETS_CONF_OPTS = \ # in the library. If unset, LWS_MAX_SMP defaults to 32 and a small # amount of pthread mutex code is built into the library. ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) -LIBWEBSOCKETS_CONF_OPTS += -DLWS_MAX_SMP=1 +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_MAX_SMP=1 \ + -DLWS_WITH_SYS_SMD=OFF else -LIBWEBSOCKETS_CONF_OPTS += -DLWS_MAX_SMP= +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_MAX_SMP= \ + -DLWS_WITH_SYS_SMD=ON endif ifeq ($(BR2_PACKAGE_OPENSSL),y) From arnout at mind.be Thu Apr 21 17:32:08 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:08 +0200 Subject: [Buildroot] [git commit] package/liboping: fix build with gcc >= 7 Message-ID: <20220421175056.9206B83FE8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b47bd987f9d549b3dc5d7127d1773275560196d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Replace first patch (which is not in master after nearly 4 years) with a new set of pending patches to fix the following build failure with gcc >= 7: liboping.c: In function 'ping_set_ttl': liboping.c:207:9: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Werror=format-truncation=] 207 | "%s: %s", function, message); | ^~ ...... 829 | sstrerror (ret, errbuf, sizeof (errbuf))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ liboping.c:206:2: note: 'snprintf' output between 15 and 270 bytes into a destination of size 256 206 | snprintf (obj->errmsg, sizeof (obj->errmsg), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | "%s: %s", function, message); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/31083354e9064b2deef86917d67e92a88af0fa46 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...8-support.patch => 0001-fix-utf8-support.patch} | 0 ...size-to-make-GCC-s-truncation-check-happy.patch | 31 --------------------- ...kets-when-adding-hosts-not-when-doing-th.patch} | 0 ...-with-GCC-7-buffer-overflow-with-snprintf.patch | 28 +++++++++++++++++++ .../liboping/0004-Fix-compile-error-on-GCC-7.patch | 32 ++++++++++++++++++++++ 5 files changed, 60 insertions(+), 31 deletions(-) diff --git a/package/liboping/0002-fix-utf8-support.patch b/package/liboping/0001-fix-utf8-support.patch similarity index 100% rename from package/liboping/0002-fix-utf8-support.patch rename to package/liboping/0001-fix-utf8-support.patch diff --git a/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch b/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch deleted file mode 100644 index b0aca8a715..0000000000 --- a/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 18ca43507b351f339ff23062541ee8d58e813a53 Mon Sep 17 00:00:00 2001 -From: Florian Forster -Date: Sun, 29 Jul 2018 14:34:19 +0200 -Subject: [PATCH] ping_host_add: Decrease buffer size to make GCC's truncation - check happy. - -Fixes: #38 -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/octo/liboping/commit/18ca43507b351f339ff23062541ee8d58e813a53] ---- - src/liboping.c | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/src/liboping.c b/src/liboping.c -index 5253e8c..2470988 100644 ---- a/src/liboping.c -+++ b/src/liboping.c -@@ -1636,10 +1636,8 @@ int ping_host_add (pingobj_t *obj, const char *host) - } - else - { -- char errmsg[PING_ERRMSG_LEN]; -- -- snprintf (errmsg, PING_ERRMSG_LEN, "Unknown `ai_family': %i", ai_ptr->ai_family); -- errmsg[PING_ERRMSG_LEN - 1] = '\0'; -+ char errmsg[64]; -+ snprintf (errmsg, sizeof(errmsg), "Unknown `ai_family': %d", ai_ptr->ai_family); - - dprintf ("%s", errmsg); - ping_set_error (obj, "getaddrinfo", errmsg); diff --git a/package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch b/package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch similarity index 100% rename from package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch rename to package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch diff --git a/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch b/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch new file mode 100644 index 0000000000..546f159187 --- /dev/null +++ b/package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch @@ -0,0 +1,28 @@ +From 0ad9ee080a7cd8037c341067cc67a84e32e69fea Mon Sep 17 00:00:00 2001 +From: Maurice Smulders +Date: Thu, 30 Dec 2021 10:45:42 -0700 +Subject: [PATCH] Fix compile break with GCC 7+ - buffer overflow with snprintf + +[Retrieved from: +https://github.com/octo/liboping/pull/64/commits/0ad9ee080a7cd8037c341067cc67a84e32e69fea] +Signed-off-by: Fabrice Fontaine +--- + src/liboping.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/liboping.c b/src/liboping.c +index bf9e059..9fd8f53 100644 +--- a/src/liboping.c ++++ b/src/liboping.c +@@ -203,8 +203,11 @@ static char *sstrerror (int errnum, char *buf, size_t buflen) + static void ping_set_error (pingobj_t *obj, const char *function, + const char *message) + { ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wformat-truncation" + snprintf (obj->errmsg, sizeof (obj->errmsg), + "%s: %s", function, message); ++#pragma GCC diagnostic pop + obj->errmsg[sizeof (obj->errmsg) - 1] = 0; + } + diff --git a/package/liboping/0004-Fix-compile-error-on-GCC-7.patch b/package/liboping/0004-Fix-compile-error-on-GCC-7.patch new file mode 100644 index 0000000000..38355be40e --- /dev/null +++ b/package/liboping/0004-Fix-compile-error-on-GCC-7.patch @@ -0,0 +1,32 @@ +From 3d685bdb1a6c655bce6d36cfd96e084be07cd2b1 Mon Sep 17 00:00:00 2001 +From: Maurice Smulders +Date: Tue, 4 Jan 2022 12:49:36 -0700 +Subject: [PATCH] Fix compile error on GCC < 7 + +[Retrieved from: +https://github.com/octo/liboping/pull/64/commits/3d685bdb1a6c655bce6d36cfd96e084be07cd2b1] +Signed-off-by: Fabrice Fontaine +--- + src/liboping.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/liboping.c b/src/liboping.c +index 9fd8f53..1ccf609 100644 +--- a/src/liboping.c ++++ b/src/liboping.c +@@ -203,11 +203,15 @@ static char *sstrerror (int errnum, char *buf, size_t buflen) + static void ping_set_error (pingobj_t *obj, const char *function, + const char *message) + { ++#if __GNUC__ >= 7 + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wformat-truncation" ++#endif + snprintf (obj->errmsg, sizeof (obj->errmsg), + "%s: %s", function, message); ++#if __GNUC__ >= 7 + #pragma GCC diagnostic pop ++#endif + obj->errmsg[sizeof (obj->errmsg) - 1] = 0; + } + From arnout at mind.be Thu Apr 21 17:32:18 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:18 +0200 Subject: [Buildroot] [git commit] package/libwebsockets: add mbedtls optional dependency Message-ID: <20220421175056.B9A6A83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=702e7254f377501addfbb7c6d53ac6a2636eb076 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master mbedtls is an optional dependency since version 2.4.0 and https://github.com/warmcat/libwebsockets/commit/3aaf38d3d89d0436301fe66d9a5c097ea4fb1064 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libwebsockets/libwebsockets.mk | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index 152659cee6..f8093b92fa 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -27,9 +27,18 @@ endif ifeq ($(BR2_PACKAGE_OPENSSL),y) LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_WITH_SSL=ON \ + -DLWS_WITH_MBEDTLS=OFF +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBWEBSOCKETS_DEPENDENCIES += mbedtls +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_WITH_SSL=ON \ + -DLWS_WITH_MBEDTLS=ON else -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF +LIBWEBSOCKETS_CONF_OPTS += \ + -DLWS_WITH_SSL=OFF \ + -DLWS_WITH_MBEDTLS=OFF endif ifeq ($(BR2_PACKAGE_LIBEV),y) From arnout at mind.be Thu Apr 21 17:31:29 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:29 +0200 Subject: [Buildroot] [git commit] package/shadowsocks-libev: fix maybe-uninitialized errors Message-ID: <20220421175056.15D8D83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=eb952597c373ef11ea396df473c145a41adc742f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure: local.c: In function 'create_and_bind': local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] 218 | return listen_sock; | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0002-fix-maybe-uninitialized-errors.patch | 93 ++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch new file mode 100644 index 0000000000..5275323e65 --- /dev/null +++ b/package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch @@ -0,0 +1,93 @@ +From 0c23224e926463b1097414979367655a27fa6d60 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 7 Apr 2022 18:27:58 +0200 +Subject: [PATCH] fix maybe-uninitialized errors + +Set {listen,server}_sock to -1 when needed as already done in +src/manager.c by commit ecf1fcc84594b09ed2d61e3677cd8e62bd897ccb to +avoid the following build failure: + +local.c: In function 'create_and_bind': +local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized] + 218 | return listen_sock; + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/shadowsocks/shadowsocks-libev/commit/0c23224e926463b1097414979367655a27fa6d60] +--- + src/local.c | 2 +- + src/redir.c | 2 +- + src/server.c | 2 +- + src/tunnel.c | 2 +- + src/udprelay.c | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/local.c b/src/local.c +index b1ab040bb..47d634ce5 100644 +--- a/src/local.c ++++ b/src/local.c +@@ -168,7 +168,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/redir.c b/src/redir.c +index 4a5a489f0..e60bd4870 100644 +--- a/src/redir.c ++++ b/src/redir.c +@@ -147,7 +147,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/server.c b/src/server.c +index e9cdc2619..073e38b22 100644 +--- a/src/server.c ++++ b/src/server.c +@@ -550,7 +550,7 @@ create_and_bind(const char *host, const char *port, int mptcp) + { + struct addrinfo hints; + struct addrinfo *result, *rp, *ipv4v6bindall; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/tunnel.c b/src/tunnel.c +index e0886bdb9..6641fe62a 100644 +--- a/src/tunnel.c ++++ b/src/tunnel.c +@@ -129,7 +129,7 @@ create_and_bind(const char *addr, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp; +- int s, listen_sock; ++ int s, listen_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ +diff --git a/src/udprelay.c b/src/udprelay.c +index 23a042497..580ad4bd8 100644 +--- a/src/udprelay.c ++++ b/src/udprelay.c +@@ -446,7 +446,7 @@ create_server_socket(const char *host, const char *port) + { + struct addrinfo hints; + struct addrinfo *result, *rp, *ipv4v6bindall; +- int s, server_sock; ++ int s, server_sock = -1; + + memset(&hints, 0, sizeof(struct addrinfo)); + hints.ai_family = AF_UNSPEC; /* Return IPv4 and IPv6 choices */ From arnout at mind.be Thu Apr 21 17:53:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:53:06 +0200 Subject: [Buildroot] [git commit] package/diffutils: fix build on arceb Message-ID: <20220421175056.E1C8F83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c44f745c8c2af821a00276141052a4e2e66128ed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 3.8 in commit 1f89c80417ad03127650b22c41ec4e30d42c549f: sigsegv.c: In function 'sigsegv_handler': sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' 979 | : vma.is_near_this (addr, &vma)) | ^ Fixes: - http://autobuild.buildroot.org/results/8c5b8b37eb3c2667c75666079b056df7e0023e05 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...gsegv-Fix-compilation-error-on-arceb-CPUs.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch b/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch new file mode 100644 index 0000000000..20db798f3a --- /dev/null +++ b/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch @@ -0,0 +1,41 @@ +From 1957bb5113a2bf02c7ecf0815125eec04b9476d2 Mon Sep 17 00:00:00 2001 +From: Bruno Haible +Date: Sat, 16 Apr 2022 03:01:51 +0200 +Subject: sigsegv: Fix compilation error on arceb CPUs. + +Reported by Fabrice Fontaine in +. + +* m4/stack-direction.m4 (SV_STACK_DIRECTION): Treat the 'arc' variants +like 'arc'. + +[Retrieved (and backported) from: +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=1957bb5113a2bf02c7ecf0815125eec04b9476d2] +Signed-off-by: Fabrice Fontaine +--- + ChangeLog | 8 ++++++++ + m4/stack-direction.m4 | 4 ++-- + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 +index 1df823e..924c5de 100644 +--- a/m4/stack-direction.m4 ++++ b/m4/stack-direction.m4 +@@ -1,4 +1,4 @@ +-# stack-direction.m4 serial 7 ++# stack-direction.m4 serial 11 + dnl Copyright (C) 2002-2021 Free Software Foundation, Inc. + dnl This file is free software, distributed under the terms of the GNU + dnl General Public License. As a special exception to the GNU General +@@ -18,7 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION], + a29k | \ + aarch64* | \ + alpha* | \ +- arc | \ ++ arc | arceb | arc32 | arc64 | \ + arm* | strongarm* | xscale* | \ + avr | avr32 | \ + bfin | \ +-- +cgit v1.1 + From arnout at mind.be Thu Apr 21 17:32:00 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:32:00 +0200 Subject: [Buildroot] [git commit] package/libbpf: needs __sync_*_4 intrisics Message-ID: <20220421175056.7C47983FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=84fe47d008d44cf0ec22885406d5644cdfbf072c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libbpf needs __sync_*_4 intrisics since bump to version 0.7.0 in commit 4b1003855b02f6d9c77de634c9d0f636470e7388 and https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97 Fixes: - No autobuilder failures (yet) Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libbpf/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libbpf/Config.in b/package/libbpf/Config.in index 3aa6679b3a..b3d6e44c6a 100644 --- a/package/libbpf/Config.in +++ b/package/libbpf/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS config BR2_PACKAGE_LIBBPF bool "libbpf" depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_USE_WCHAR # elfutils depends on !BR2_STATIC_LIBS # elfutils depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils @@ -27,6 +28,7 @@ config BR2_PACKAGE_LIBBPF comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13" depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \ From arnout at mind.be Thu Apr 21 17:31:50 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 19:31:50 +0200 Subject: [Buildroot] [git commit] package/azure-iot-sdk-c: fix build with libressl >= 2.8.0 Message-ID: <20220421175056.5B65F83FB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c2f829a71a728b689f8571187e1ff5b81f48a754 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl >= 2.8.0 raised since https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': /nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 961 | bio_method = BIO_s_mem(); | ^ cc1: all warnings being treated as errors Fixes: - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...01-adapters-fix-build-with-libressl-2.8.0.patch | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch new file mode 100644 index 0000000000..e2a241bffe --- /dev/null +++ b/package/azure-iot-sdk-c/0001-adapters-fix-build-with-libressl-2.8.0.patch @@ -0,0 +1,85 @@ +From 43b313988d66de144a528e4cf57827df1e8c692d Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 12 Apr 2022 20:00:36 +0200 +Subject: [PATCH] adapters: fix build with libressl >= 2.8.0 (#589) + +Fix the following build failure with libressl >= 2.8.0 raised since +https://github.com/libressl-portable/openbsd/commit/703abab3212b397d500bd8c2f5f7ee6b03feb159: + +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': +/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] + 961 | bio_method = BIO_s_mem(); + | ^ +cc1: all warnings being treated as errors + +Fix #585 + +Fixes: + - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/Azure/azure-c-shared-utility/commit/43b313988d66de144a528e4cf57827df1e8c692d] +--- + adapters/tlsio_openssl.c | 2 +- + adapters/x509_openssl.c | 4 ++-- + tests/x509_openssl_ut/x509_openssl_ut.c | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/c-utility/adapters/tlsio_openssl.c b/c-utility/adapters/tlsio_openssl.c +index 4a3df8496..aa48ce52d 100644 +--- a/c-utility/adapters/tlsio_openssl.c ++++ b/c-utility/adapters/tlsio_openssl.c +@@ -953,7 +953,7 @@ static int add_certificate_to_store(TLS_IO_INSTANCE* tls_io_instance, const char + } + else + { +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + const BIO_METHOD* bio_method; + #else + BIO_METHOD* bio_method; +diff --git a/c-utility/adapters/x509_openssl.c b/c-utility/adapters/x509_openssl.c +index 5a9e5ac29..46195b403 100644 +--- a/c-utility/adapters/x509_openssl.c ++++ b/c-utility/adapters/x509_openssl.c +@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate) + // certificates. + + /* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */ +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + SSL_CTX_clear_extra_chain_certs(ssl_ctx); + #else + if (ssl_ctx->extra_certs != NULL) +@@ -345,7 +345,7 @@ int x509_openssl_add_certificates(SSL_CTX* ssl_ctx, const char* certificates) + else + { + /*Codes_SRS_X509_OPENSSL_02_012: [ x509_openssl_add_certificates shall get the memory BIO method function by calling BIO_s_mem. ]*/ +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + const BIO_METHOD* bio_method; + #else + BIO_METHOD* bio_method; +diff --git a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c +index b3349f6b0..f73191e3f 100644 +--- a/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c ++++ b/c-utility/tests/x509_openssl_ut/x509_openssl_ut.c +@@ -348,7 +348,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) + STRICT_EXPECTED_CALL(BIO_new_mem_buf((void*)TEST_PUBLIC_CERTIFICATE, -1)); + STRICT_EXPECTED_CALL(PEM_read_bio_X509_AUX(IGNORED_PTR_ARG, NULL, NULL, NULL)); + STRICT_EXPECTED_CALL(SSL_CTX_use_certificate(IGNORED_PTR_ARG, IGNORED_PTR_ARG)); +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + // Actual macro name: SSL_CTX_clear_extra_chain_certs: + STRICT_EXPECTED_CALL(SSL_CTX_ctrl(TEST_SSL_CTX_STRUCTURE, SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS, 0, NULL)); + #endif +@@ -537,7 +537,7 @@ BEGIN_TEST_SUITE(x509_openssl_unittests) + + umock_c_negative_tests_snapshot(); + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER) + #ifdef __APPLE__ + size_t calls_cannot_fail_rsa[] = { 4, 5, 6, 10, 12, 13, 14 }; + size_t calls_cannot_fail_ecc[] = { 3, 4, 8, 10, 11, 12} ; From arnout at mind.be Thu Apr 21 19:09:33 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:09:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: fix build without C++ In-Reply-To: <20220413190815.888854-1-fontaine.fabrice@gmail.com> References: <20220413190815.888854-1-fontaine.fabrice@gmail.com> Message-ID: On 13/04/2022 21:08, Fabrice Fontaine wrote: > Fix the following build failure without C++ raised since bump to version > 4.3.1 in commit 3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 and > https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d: > > CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > > "/usr/bin/clang++" > > is not able to compile a simple test program. > > Fixes: > - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...1-CMakeLists.txt-fix-build-without-C.patch | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch > > diff --git a/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch > new file mode 100644 > index 0000000000..c6d6d07dcc > --- /dev/null > +++ b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch > @@ -0,0 +1,44 @@ > +From 726b36eca158063d8871c91ad99a29113ea35aea Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Wed, 13 Apr 2022 21:03:26 +0200 > +Subject: [PATCH] CMakeLists.txt: fix build without C++ > + > +Fix the following build failure without C++ raised since version 4.2.0 > +and > +https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d: > + > +CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > + The C++ compiler > + > + "/usr/bin/clang++" > + > + is not able to compile a simple test program. > + > +Fixes: > + - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: https://github.com/warmcat/libwebsockets/pull/2613] > +--- > + CMakeLists.txt | 5 ++++- > + 1 file changed, 4 insertions(+), 1 deletion(-) > + > +diff --git a/CMakeLists.txt b/CMakeLists.txt > +index 08aaf8c6..96e3ad18 100644 > +--- a/CMakeLists.txt > ++++ b/CMakeLists.txt > +@@ -71,7 +71,10 @@ if (ESP_PLATFORM) > + endif() > + > + # it's at this point any toolchain file is brought in > +-project(libwebsockets C CXX) > ++project(libwebsockets C) > ++if (LWS_WITH_SECURE_STREAMS_CPP) > ++ enable_language(CXX) > ++endif() > + include(CTest) > + > + if (PICO_SDK_PATH) > +-- > +2.35.1 > + From arnout at mind.be Thu Apr 21 19:09:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:09:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: add mbedtls optional dependency In-Reply-To: <20220413204838.1172927-1-fontaine.fabrice@gmail.com> References: <20220413204838.1172927-1-fontaine.fabrice@gmail.com> Message-ID: <3c32712a-a150-c4ca-4acf-e84d88bdd2d7@mind.be> On 13/04/2022 22:48, Fabrice Fontaine wrote: > mbedtls is an optional dependency since version 2.4.0 and > https://github.com/warmcat/libwebsockets/commit/3aaf38d3d89d0436301fe66d9a5c097ea4fb1064 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libwebsockets/libwebsockets.mk | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk > index 152659cee6..f8093b92fa 100644 > --- a/package/libwebsockets/libwebsockets.mk > +++ b/package/libwebsockets/libwebsockets.mk > @@ -27,9 +27,18 @@ endif > > ifeq ($(BR2_PACKAGE_OPENSSL),y) > LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl > -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_WITH_SSL=ON \ > + -DLWS_WITH_MBEDTLS=OFF > +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) > +LIBWEBSOCKETS_DEPENDENCIES += mbedtls > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_WITH_SSL=ON \ > + -DLWS_WITH_MBEDTLS=ON > else > -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_WITH_SSL=OFF \ > + -DLWS_WITH_MBEDTLS=OFF > endif > > ifeq ($(BR2_PACKAGE_LIBEV),y) From arnout at mind.be Thu Apr 21 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: fix build without threads In-Reply-To: <20220416145712.1956653-1-fontaine.fabrice@gmail.com> References: <20220416145712.1956653-1-fontaine.fabrice@gmail.com> Message-ID: <93748e61-33c1-20b1-2eb0-7d669962b752@mind.be> On 16/04/2022 16:57, Fabrice Fontaine wrote: > Fix the following build failure without threads raised since bump to > version 4.3.1 in commit 3a9cf51ab38b6a3a095241b8e87eab7e5b5bd617 and > https://github.com/warmcat/libwebsockets/commit/8eca7e17f27c8588170c5fa5fa3e6b14eb90e35d: > > In file included from /nvmedata/autobuild/instance-1/output-1/build/libwebsockets-4.3.1/lib/plat/unix/unix-caps.c:28: > /nvmedata/autobuild/instance-1/output-1/build/libwebsockets-4.3.1/lib/core/./private-lib-core.h:68:11: fatal error: pthread.h: No such file or directory > 68 | #include > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/5d011b65e530339eb3f4d06a08caabc6a73b403b > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libwebsockets/libwebsockets.mk | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk > index ea483bf58b..b05418e86d 100644 > --- a/package/libwebsockets/libwebsockets.mk > +++ b/package/libwebsockets/libwebsockets.mk > @@ -21,9 +21,13 @@ LIBWEBSOCKETS_CONF_OPTS = \ > # in the library. If unset, LWS_MAX_SMP defaults to 32 and a small > # amount of pthread mutex code is built into the library. > ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) > -LIBWEBSOCKETS_CONF_OPTS += -DLWS_MAX_SMP=1 > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_MAX_SMP=1 \ > + -DLWS_WITH_SYS_SMD=OFF > else > -LIBWEBSOCKETS_CONF_OPTS += -DLWS_MAX_SMP= > +LIBWEBSOCKETS_CONF_OPTS += \ > + -DLWS_MAX_SMP= \ > + -DLWS_WITH_SYS_SMD=ON > endif > > ifeq ($(BR2_PACKAGE_OPENSSL),y) From arnout at mind.be Thu Apr 21 19:10:27 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:10:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/uftrace: needs NPTL In-Reply-To: <20220413192104.889800-1-fontaine.fabrice@gmail.com> References: <20220413192104.889800-1-fontaine.fabrice@gmail.com> Message-ID: On 13/04/2022 21:21, Fabrice Fontaine wrote: > uftrace needs NPTL since its addition in commit > 09c97972d9f90b69cfc36f9ffe9e22c13daf9307 and > https://github.com/namhyung/uftrace/commit/543fe53c256ceaef2d4d7cc44925bf1ad5a068a8: > > buildroot/build/uftrace-0.10/buildroot/build/uftrace-0.10/cmds/record.c:670: undefined reference to `pthread_setname_np' > > Fixes: > - http://autobuild.buildroot.org/results/8f884efb9d45f9145a4799981157c9226390b423 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/uftrace/Config.in | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/uftrace/Config.in b/package/uftrace/Config.in > index 98ddb7cbfb..8f8c5d25fd 100644 > --- a/package/uftrace/Config.in > +++ b/package/uftrace/Config.in > @@ -8,7 +8,7 @@ config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS > config BR2_PACKAGE_UFTRACE > bool "uftrace" > depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS > - depends on BR2_TOOLCHAIN_HAS_THREADS > + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() > depends on !BR2_STATIC_LIBS > select BR2_PACKAGE_ARGP_STANDALONE if \ > BR2_TOOLCHAIN_USES_UCLIBC || \ > @@ -23,6 +23,6 @@ config BR2_PACKAGE_UFTRACE > > https://github.com/namhyung/uftrace > > -comment "uftrace needs a toolchain w/ threads, dynamic library" > +comment "uftrace needs a toolchain w/ NPTL, dynamic library" > depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS > - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS > + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS From arnout at mind.be Thu Apr 21 19:11:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:11:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-tools: cpupower needs dynamic library In-Reply-To: <20220415184942.575667-1-fontaine.fabrice@gmail.com> References: <20220415184942.575667-1-fontaine.fabrice@gmail.com> Message-ID: <3caf87e9-ec9d-02b0-c6a3-afefeb1a1763@mind.be> On 15/04/2022 20:49, Fabrice Fontaine wrote: > cpupower needs dynamic library since its addition in commit > f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build > failure: > > ld (ld-elf2flt): -shared used without passing a shared library ID > > Fixes: > - http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/linux-tools/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in > index f459b41762..791f2c085c 100644 > --- a/package/linux-tools/Config.in > +++ b/package/linux-tools/Config.in > @@ -7,12 +7,16 @@ config BR2_PACKAGE_LINUX_TOOLS > > config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER > bool "cpupower" > + depends on !BR2_STATIC_LIBS > select BR2_PACKAGE_LINUX_TOOLS > select BR2_PACKAGE_PCIUTILS > help > cpupower is a collection of tools to examine and tune power > saving related features of your processor. > > +comment "cpupower needs a toolchain w/ dynamic library" > + depends on BR2_STATIC_LIBS > + > config BR2_PACKAGE_LINUX_TOOLS_GPIO > bool "gpio" > select BR2_PACKAGE_LINUX_TOOLS From yann.morin.1998 at free.fr Thu Apr 21 19:11:00 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:11:00 +0200 Subject: [Buildroot] [git commit] package/udev: add the missing sgx group Message-ID: <20220421190206.883DE83FF5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=798a4983eae7217281d84b76057fe61401e0f71d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master systemd-udevd needs this group: /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring Signed-off-by: TIAN Yuanhao [yann.morin.1998 at free.fr: udev users/groups go to udev virtual package] Signed-off-by: Yann E. MORIN --- package/udev/udev.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index 05b35b21f0..ce93d98431 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -9,6 +9,7 @@ define UDEV_USERS - - input -1 * - - - Input device group - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes + - - sgx -1 * - - - SGX device nodes endef $(eval $(virtual-package)) From arnout at mind.be Thu Apr 21 19:12:12 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:12:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-python: fix build without C++ In-Reply-To: <20220416072006.1099281-1-fontaine.fabrice@gmail.com> References: <20220416072006.1099281-1-fontaine.fabrice@gmail.com> Message-ID: <746f43b3-af24-04b2-ae34-b03601d30964@mind.be> On 16/04/2022 09:20, Fabrice Fontaine wrote: > Fix the following build failure without C++ raised since the addition of > the package in commit ba0d78b90705fa6f564e105437be4817caf2ca6c: > > The following exception(s) were encountered: > Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" > > Fixes: > - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...-build-on-systems-without-C-compiler.patch | 35 +++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch > > diff --git a/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch > new file mode 100644 > index 0000000000..7d3059d61a > --- /dev/null > +++ b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch > @@ -0,0 +1,35 @@ > +From 26c2385faed0bb997368daabd4c64207b3fc01ca Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Fri, 15 Apr 2022 18:58:49 +0200 > +Subject: [PATCH] gst-python: fix build on systems without C++ compiler > + > +Fix the following build failure on systems without C++ compiler: > + > +The following exception(s) were encountered: > +Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" > + > +Fixes: > + - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 > + > +Part-of: > + > +[Retrieved (and backported) from: > +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/26c2385faed0bb997368daabd4c64207b3fc01ca] > +Signed-off-by: Fabrice Fontaine > +--- > + subprojects/gst-python/meson.build | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 1462604b297..c28df16192a 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -1,4 +1,4 @@ > +-project('gst-python', 'c', 'cpp', > ++project('gst-python', 'c', > + version : '1.20.1', > + meson_version : '>= 0.60', > + default_options : [ 'warning_level=1', > +-- > +GitLab > + From arnout at mind.be Thu Apr 21 19:12:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:12:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/diffutils: fix build on arceb In-Reply-To: <20220416074458.1361288-1-fontaine.fabrice@gmail.com> References: <20220416074458.1361288-1-fontaine.fabrice@gmail.com> Message-ID: <9edaacaa-4a3d-bf0a-893d-12dfcfe11614@mind.be> On 16/04/2022 09:44, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 3.8 in > commit 1f89c80417ad03127650b22c41ec4e30d42c549f: > > sigsegv.c: In function 'sigsegv_handler': > sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' > 979 | : vma.is_near_this (addr, &vma)) > | ^ > > Fixes: > - http://autobuild.buildroot.org/results/8c5b8b37eb3c2667c75666079b056df7e0023e05 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...-Fix-compilation-error-on-arceb-CPUs.patch | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch > > diff --git a/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch b/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch > new file mode 100644 > index 0000000000..20db798f3a > --- /dev/null > +++ b/package/diffutils/0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch > @@ -0,0 +1,41 @@ > +From 1957bb5113a2bf02c7ecf0815125eec04b9476d2 Mon Sep 17 00:00:00 2001 > +From: Bruno Haible > +Date: Sat, 16 Apr 2022 03:01:51 +0200 > +Subject: sigsegv: Fix compilation error on arceb CPUs. > + > +Reported by Fabrice Fontaine in > +. > + > +* m4/stack-direction.m4 (SV_STACK_DIRECTION): Treat the 'arc' variants > +like 'arc'. > + > +[Retrieved (and backported) from: > +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=1957bb5113a2bf02c7ecf0815125eec04b9476d2] > +Signed-off-by: Fabrice Fontaine > +--- > + ChangeLog | 8 ++++++++ > + m4/stack-direction.m4 | 4 ++-- > + 2 files changed, 10 insertions(+), 2 deletions(-) > + > +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 > +index 1df823e..924c5de 100644 > +--- a/m4/stack-direction.m4 > ++++ b/m4/stack-direction.m4 > +@@ -1,4 +1,4 @@ > +-# stack-direction.m4 serial 7 > ++# stack-direction.m4 serial 11 > + dnl Copyright (C) 2002-2021 Free Software Foundation, Inc. > + dnl This file is free software, distributed under the terms of the GNU > + dnl General Public License. As a special exception to the GNU General > +@@ -18,7 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION], > + a29k | \ > + aarch64* | \ > + alpha* | \ > +- arc | \ > ++ arc | arceb | arc32 | arc64 | \ > + arm* | strongarm* | xscale* | \ > + avr | avr32 | \ > + bfin | \ > +-- > +cgit v1.1 > + From yann.morin.1998 at free.fr Thu Apr 21 19:16:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:16:53 +0200 Subject: [Buildroot] [PATCH] package/systemd: add the missing sgx group In-Reply-To: <20220420135549.3536397-1-tianyuanhao3@163.com> References: <20220420135549.3536397-1-tianyuanhao3@163.com> Message-ID: <20220421191653.GO2730@scaer> Yuanhao, All, On 2022-04-20 06:55 -0700, TIAN Yuanhao spake thusly: > systemd-udevd needs this group: > /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring > > Signed-off-by: TIAN Yuanhao > --- > package/systemd/systemd.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index b07fac27d4..44185a35a0 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -603,6 +603,7 @@ endef > > define SYSTEMD_USERS > # udev user groups > + - - sgx -1 * - - - SGX device nodes This should have been in the udev virtual package, as all the udev-related users and groups have been moved there to be common between systemd-udevd and the stand-alone eudev, in commit d648d81dd581 (packages/{eudev, systemd}: move common users to package/udev). Applied to master with this fixed, thanks. Would you be kind enough to send a follow-up patch that removes the now misleading "# udev user groups" comment, and adds a comment, in systemd and eudev, that directs changes to the udev virtual package instead, please? Regards, Yann E. MORIN. > # systemd user groups > - - systemd-journal -1 * - - - Journal > $(SYSTEMD_REMOTE_USER) > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Apr 21 19:19:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:19:35 +0200 Subject: [Buildroot] [PATCH] package/gnu-efi: fix build on mips64el In-Reply-To: <20220415164947.13025-1-fontaine.fabrice@gmail.com> References: <20220415164947.13025-1-fontaine.fabrice@gmail.com> Message-ID: <414ce8aa-6d93-d64a-e605-7ec0a3e7b350@mind.be> On 15/04/2022 18:49, Fabrice Fontaine wrote: > Drop -Werror to fix the following build failure on mips64el raised since > commit 11b347c03ab0b38389ec11b48f63236a3b4d6547: > > /nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/dpath.c: In function 'FileDevicePath': > /nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/../inc/efilink.h:145:46: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] > 145 | #define EFI_FIELD_OFFSET(TYPE,Field) ((UINTN)(intptr_t)(&(((TYPE *) 0)->Field))) > | ^ > /nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/../inc/efidevp.h:404:38: note: in expansion of macro 'EFI_FIELD_OFFSET' > 404 | #define SIZE_OF_FILEPATH_DEVICE_PATH EFI_FIELD_OFFSET(FILEPATH_DEVICE_PATH,PathName) > | ^~~~~~~~~~~~~~~~ > /nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/dpath.c:250:41: note: in expansion of macro 'SIZE_OF_FILEPATH_DEVICE_PATH' > 250 | FilePath = AllocateZeroPool (Size + SIZE_OF_FILEPATH_DEVICE_PATH + sizeof(EFI_DEVICE_PATH)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/d19e57004c36f2904c5eea988e0c38fbdb557c7e > > Signed-off-by: Fabrice Fontaine > --- > .../0002-Make.defaults-drop-Werror.patch | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 package/gnu-efi/0002-Make.defaults-drop-Werror.patch > > diff --git a/package/gnu-efi/0002-Make.defaults-drop-Werror.patch b/package/gnu-efi/0002-Make.defaults-drop-Werror.patch > new file mode 100644 > index 0000000000..79c847d178 > --- /dev/null > +++ b/package/gnu-efi/0002-Make.defaults-drop-Werror.patch > @@ -0,0 +1,48 @@ > +From 0e43bcb3876d4000790b0a6784453f333c1db701 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Fri, 15 Apr 2022 18:42:36 +0200 > +Subject: [PATCH] Make.defaults: drop -Werror > + > +Drop -Werror to avoid the following build failure on mips64el: > + > +/nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/dpath.c: In function 'FileDevicePath': > +/nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/../inc/efilink.h:145:46: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] > + 145 | #define EFI_FIELD_OFFSET(TYPE,Field) ((UINTN)(intptr_t)(&(((TYPE *) 0)->Field))) Ignoring this warning seems like a dangerous fix. I guess UINTN is 32 bits but intptr_t would be 64 bits on mips64, so the cast is possibly narrowing. My first reaction was: upstream seems pretty dead, let's just disable it on mips64. However, there seems to be a lot of active forks, and you just added mips64 a couple of months ago... So, I think it would be better to look for a better fix. Maybe one of the myriad forks has it. Regards, Arnout > + | ^ > +/nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/../inc/efidevp.h:404:38: note: in expansion of macro 'EFI_FIELD_OFFSET' > + 404 | #define SIZE_OF_FILEPATH_DEVICE_PATH EFI_FIELD_OFFSET(FILEPATH_DEVICE_PATH,PathName) > + | ^~~~~~~~~~~~~~~~ > +/nvmedata/autobuild/instance-9/output-1/build/gnu-efi-3.0.10//lib/dpath.c:250:41: note: in expansion of macro 'SIZE_OF_FILEPATH_DEVICE_PATH' > + 250 | FilePath = AllocateZeroPool (Size + SIZE_OF_FILEPATH_DEVICE_PATH + sizeof(EFI_DEVICE_PATH)); > + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/d19e57004c36f2904c5eea988e0c38fbdb557c7e > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: not sent yet] > +--- > + Make.defaults | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/Make.defaults b/Make.defaults > +index 47ed361..d43c3ff 100755 > +--- a/Make.defaults > ++++ b/Make.defaults > +@@ -168,11 +168,11 @@ ifneq (mingw32,$(findstring mingw32, $(GCCMACHINE))) > + endif > + > + ifeq (FreeBSD, $(findstring FreeBSD, $(OS))) > +-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ > ++CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \ > + -fshort-wchar -fno-strict-aliasing \ > + -ffreestanding -fno-stack-protector > + else > +-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ > ++CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \ > + -fshort-wchar -fno-strict-aliasing \ > + -ffreestanding -fno-stack-protector -fno-stack-check \ > + -fno-stack-check \ > +-- > +2.35.1 > + From yann.morin.1998 at free.fr Thu Apr 21 19:26:28 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:26:28 +0200 Subject: [Buildroot] [git commit] package/dhcp: untar internal bind Message-ID: <20220421192014.45A4D83FFB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fde21979427ffeb4fe9c0068310be195f2dec5ec branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Untar internal bind so libtool patches will be applied on bind's libtool. This will fix: - installation of some libraries such as libisccfg. Indeed, if libtool is not patched those libraries will be "relinked" and so not installed. - build failures with riscv and or1k: Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized Fixes: - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e Signed-off-by: Fabrice Fontaine Tested-by: Jan Havran Tested-by: Eugen Hristev Signed-off-by: Yann E. MORIN --- package/dhcp/dhcp.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 6ac9ed0147..cf8608f15d 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc # internal bind does not support parallel builds. DHCP_MAKE = $(MAKE1) +# untar internal bind so libtool patches will be applied on bind's libtool +define DHCP_UNTAR_INTERNAL_BIND + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ +endef + +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND + # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF cp $(@D)/configure.ac+lt $(@D)/configure.ac From yann.morin.1998 at free.fr Thu Apr 21 19:32:22 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:32:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind In-Reply-To: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> References: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> Message-ID: <20220421193222.GP2730@scaer> Fabrice, All, On 2022-04-19 18:11 +0200, Fabrice Fontaine spake thusly: > Untar internal bind so libtool patches will be applied on bind's > libtool. This will fix: > - installation of some libraries such as libisccfg. Indeed, if libtool > is not patched those libraries will be "relinked" and so not > installed. > - build failures with riscv and or1k: > > Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized > > Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized dhcp, the package that keeps on giving... Jan, Eugen, what keeps you from switching away from dhcp? > Fixes: > - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 > - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/dhcp/dhcp.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index e6f4c419f4..f815c6c802 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc > # internal bind does not support parallel builds. > DHCP_MAKE = $(MAKE1) > > +# untar internal bind so libtool patches will be applied on bind's libtool > +define DHCP_UNTAR_INTERNAL_BIND > + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ > +endef > + > +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND > + > # use libtool-enabled configure.ac > define DHCP_LIBTOOL_AUTORECONF > cp $(@D)/configure.ac+lt $(@D)/configure.ac > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Apr 21 19:32:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:32:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/fetchmail: fix openssl build In-Reply-To: <20220410210700.1175518-1-fontaine.fabrice@gmail.com> References: <20220410210700.1175518-1-fontaine.fabrice@gmail.com> Message-ID: On 10/04/2022 23:07, Fabrice Fontaine wrote: > Fix the following openssl build failure raised since bump to version > 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31: > > /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so > /usr/lib/libssl.so: file not recognized: file format not recognized > > Fixes: > - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...c-fix-cross-compilation-with-openssl.patch | 56 +++++++++++++++++++ > package/fetchmail/fetchmail.mk | 2 + > 2 files changed, 58 insertions(+) > create mode 100644 package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch > > diff --git a/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch > new file mode 100644 > index 0000000000..fff848196a > --- /dev/null > +++ b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch > @@ -0,0 +1,56 @@ > +From 262aa59c1a7a7100e1dd4e73a6d0112d9becc701 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Fri, 1 Apr 2022 19:23:06 +0200 > +Subject: [PATCH] configure.ac: fix cross-compilation with openssl > + > +Don't call AC_LIB_LINKFLAGS when the libraries are retrieved through > +pkg-config to avoid the following build failure when cross-compiling > +raised since commit 77503f545d2806d07ab83c59ed9a96f435d281da: > + > +/home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so > +/usr/lib/libssl.so: file not recognized: file format not recognized > + > +This build failure is raised because AC_LIB_LINKFLAGS will override the > +pkg-config target libraries by the host openssl libraries: > + > +configure: Enabling OpenSSL support in /home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr. > +configure: SSL-check: trying pkg-config for openssl > +checking for SSL... yes > +checking how to link with libssl... /usr/lib/libssl.so /usr/lib/libcrypto.so > +configure: From pkg-config: Adding /usr/lib/libssl.so /usr/lib/libcrypto.so to LIBS. LDFLAGS= -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib > + > +Fixes: > + - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: > +https://gitlab.com/fetchmail/fetchmail/-/merge_requests/42] > +--- > + configure.ac | 6 ++---- > + 1 file changed, 2 insertions(+), 4 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index bd042d51..80e5bf91 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -838,15 +838,13 @@ else > + PKG_CHECK_MODULES([SSL],[$i],[ > + set -- $SSL_LIBS > + while test $# -ge 1 ; do > +- case $1 in -l*|lib*) : ;; > ++ case $1 in -l*|lib*) LIBS="$LIBS $1" ;; > + *) LDFLAGS="$LDFLAGS $1" ;; > + esac > + shift > + done > + CPPFLAGS="$SSL_CFLAGS $CPPFLAGS" > +- AC_LIB_LINKFLAGS([ssl], [crypto]) > +- AS_MESSAGE([From pkg-config: Adding $LIBSSL to LIBS. LDFLAGS=$LDFLAGS]) > +- LIBS="$LIBS $LIBSSL" > ++ AS_MESSAGE([From pkg-config: $SSL_LIBS]) > + found=1 > + break],[: ignore-error]) > + done > +-- > +2.35.1 > + > diff --git a/package/fetchmail/fetchmail.mk b/package/fetchmail/fetchmail.mk > index b97f01a423..25dfcae87b 100644 > --- a/package/fetchmail/fetchmail.mk > +++ b/package/fetchmail/fetchmail.mk > @@ -12,6 +12,8 @@ FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING > FETCHMAIL_LICENSE_FILES = COPYING > FETCHMAIL_CPE_ID_VENDOR = fetchmail > FETCHMAIL_SELINUX_MODULES = fetchmail mta > +# We're patching configure.ac > +FETCHMAIL_AUTORECONF = YES > > FETCHMAIL_CONF_OPTS = \ > --with-ssl=$(STAGING_DIR)/usr From arnout at mind.be Thu Apr 21 19:33:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:33:42 +0200 Subject: [Buildroot] [PATCH v1 1/1] package/go: bump to version 1.18.1 In-Reply-To: <20220414194048.422920-1-christian@paral.in> References: <20220414194048.422920-1-christian@paral.in> Message-ID: <5a73b671-4ed6-38ab-19fc-5fcdb598df0b@mind.be> On 14/04/2022 21:40, Christian Stewart via buildroot wrote: > The latest Go release, version 1.18, is a significant release, including changes > to the language, implementation of the toolchain, runtime, and libraries. > > https://go.dev/doc/go1.18 > > Signed-off-by: Christian Stewart Applied to master, thanks. Regards, Arnout > --- > package/go/go.hash | 2 +- > package/go/go.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/go/go.hash b/package/go/go.hash > index 85e6adfb8c..37c34b8b64 100644 > --- a/package/go/go.hash > +++ b/package/go/go.hash > @@ -1,3 +1,3 @@ > # From https://golang.org/dl/ > -sha256 2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a go1.17.8.src.tar.gz > +sha256 efd43e0f1402e083b73a03d444b7b6576bb4c539ac46208b63a916b69aca4088 go1.18.1.src.tar.gz > sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE > diff --git a/package/go/go.mk b/package/go/go.mk > index 3df16c9a68..cf90ac8765 100644 > --- a/package/go/go.mk > +++ b/package/go/go.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GO_VERSION = 1.17.8 > +GO_VERSION = 1.18.1 > GO_SITE = https://storage.googleapis.com/golang > GO_SOURCE = go$(GO_VERSION).src.tar.gz > From Eugen.Hristev at microchip.com Thu Apr 21 19:34:52 2022 From: Eugen.Hristev at microchip.com (Eugen.Hristev at microchip.com) Date: Thu, 21 Apr 2022 19:34:52 +0000 Subject: [Buildroot] [PATCH 1/1] package/dhcp: untar internal bind In-Reply-To: <20220421193222.GP2730@scaer> References: <20220419161130.3431492-1-fontaine.fabrice@gmail.com> <20220421193222.GP2730@scaer> Message-ID: <5e18565f-206e-a704-8b88-2471096141d6@microchip.com> On 4/21/22 10:32 PM, Yann E. MORIN wrote: > Fabrice, All, > > On 2022-04-19 18:11 +0200, Fabrice Fontaine spake thusly: >> Untar internal bind so libtool patches will be applied on bind's >> libtool. This will fix: >> - installation of some libraries such as libisccfg. Indeed, if libtool >> is not patched those libraries will be "relinked" and so not >> installed. >> - build failures with riscv and or1k: >> >> Invalid configuration `riscv64-buildroot-linux-musl': machine `riscv64-buildroot' not recognized >> >> Invalid configuration `or1k-buildroot-linux-uclibc': machine `or1k-buildroot' not recognized > > dhcp, the package that keeps on giving... > > Jan, Eugen, what keeps you from switching away from dhcp? Actually this time it was the dhcpd that was failing .. not the client. It looks like they share some library. BTW, can you point some more different packets that we can use instead of the client and of the server that are due to be deprecated ? Thanks > >> Fixes: >> - http://autobuild.buildroot.org/results/d25b76e628ffe5293c6bc1fd467a6b8966cb1bc2 >> - http://autobuild.buildroot.org/results/ba3258d8df00a7626784189125f0202fb161c40e >> >> Signed-off-by: Fabrice Fontaine > > Applied to master, thanks. > > Regards, > Yann E. MORIN. > >> --- >> package/dhcp/dhcp.mk | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk >> index e6f4c419f4..f815c6c802 100644 >> --- a/package/dhcp/dhcp.mk >> +++ b/package/dhcp/dhcp.mk >> @@ -14,6 +14,13 @@ DHCP_CPE_ID_VENDOR = isc >> # internal bind does not support parallel builds. >> DHCP_MAKE = $(MAKE1) >> >> +# untar internal bind so libtool patches will be applied on bind's libtool >> +define DHCP_UNTAR_INTERNAL_BIND >> + $(TAR) xf $(@D)/bind/bind.tar.gz -C $(@D)/bind/ >> +endef >> + >> +DHCP_POST_EXTRACT_HOOKS = DHCP_UNTAR_INTERNAL_BIND >> + >> # use libtool-enabled configure.ac >> define DHCP_LIBTOOL_AUTORECONF >> cp $(@D)/configure.ac+lt $(@D)/configure.ac >> -- >> 2.35.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' > From yann.morin.1998 at free.fr Thu Apr 21 19:33:31 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:33:31 +0200 Subject: [Buildroot] [git commit] package/dhcp: disable backtrace on internal bind Message-ID: <20220421192511.64BFF84002@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=53efc185bbd8f777f80b46ba45077c0836844631 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Like was done in 700674b45c86 (package/bind: disable backtrace support) for the up-to-date, official, upstream bind, also disable backtrace on dhcp's internal bind to avoid the following build failure since commit 0c8dd6ebd656 (package/dhcp: use internal bind): /nvmedata/autobuild/instance-15/output-1/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/10.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: /nvmedata/autobuild/instance-15/output-1/build/dhcp-4.4.3/bind/bind-9.11.36/lib/isc/.libs/libisc.so: undefined reference to `_Unwind_GetIP' Fixes: - http://autobuild.buildroot.org/results/074786f3f1e7ffc858dcb1de1855ee138793869e Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/dhcp/dhcp.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index cf8608f15d..f815c6c802 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -36,7 +36,8 @@ DHCP_BIND_EXTRA_CONFIG = \ BUILD_CFLAGS='$(HOST_CFLAGS)' \ BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ BUILD_LDFLAGS='$(HOST_LDFLAGS)' \ - RANLIB='$(TARGET_RANLIB)' + RANLIB='$(TARGET_RANLIB)' \ + --disable-backtrace DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk From yann.morin.1998 at free.fr Thu Apr 21 19:36:04 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:36:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: disable backtrace on internal bind In-Reply-To: <20220418222033.1279730-1-fontaine.fabrice@gmail.com> References: <20220418222033.1279730-1-fontaine.fabrice@gmail.com> Message-ID: <20220421193604.GQ2730@scaer> Fabrice, All, On 2022-04-19 00:20 +0200, Fabrice Fontaine spake thusly: > Disable backtrace on internal bind to avoid the following build failure > since commit 0c8dd6ebd656e06cf99a63eb93343715f4853503: I've expanded that part to also reference commit 700674b45c86 (package/bind: disable backtrace support) where the same was done to the official bind. > /nvmedata/autobuild/instance-15/output-1/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/10.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: /nvmedata/autobuild/instance-15/output-1/build/dhcp-4.4.3/bind/bind-9.11.36/lib/isc/.libs/libisc.so: undefined reference to `_Unwind_GetIP' > > Fixes: > - http://autobuild.buildroot.org/results/074786f3f1e7ffc858dcb1de1855ee138793869e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/dhcp/dhcp.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 6ac9ed0147..e6f4c419f4 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -29,7 +29,8 @@ DHCP_BIND_EXTRA_CONFIG = \ > BUILD_CFLAGS='$(HOST_CFLAGS)' \ > BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ > BUILD_LDFLAGS='$(HOST_LDFLAGS)' \ > - RANLIB='$(TARGET_RANLIB)' > + RANLIB='$(TARGET_RANLIB)' \ > + --disable-backtrace > > DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk > > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Apr 21 19:41:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 21:41:16 +0200 Subject: [Buildroot] [git commit] package/go: bump to version 1.18.1 Message-ID: <20220421193211.DC83F84033@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=add69bdec274192ff571330a37e1549ac20db543 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The latest Go release, version 1.18, is a significant release, including changes to the language, implementation of the toolchain, runtime, and libraries. https://go.dev/doc/go1.18 Signed-off-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 507887eaaa..37c34b8b64 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 763ad4bafb80a9204458c5fa2b8e7327fa971aee454252c0e362c11236156813 go1.17.9.src.tar.gz +sha256 efd43e0f1402e083b73a03d444b7b6576bb4c539ac46208b63a916b69aca4088 go1.18.1.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 41c9a8648f..cf90ac8765 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.17.9 +GO_VERSION = 1.18.1 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From arnout at mind.be Thu Apr 21 19:41:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 21:41:16 +0200 Subject: [Buildroot] [git commit] package/fetchmail: fix openssl build Message-ID: <20220421193211.D052084031@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=786f96627cd6e4b4ee5297782e9abbed9453cfd9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following openssl build failure raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31: /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libssl.so: file not recognized: file format not recognized Fixes: - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ure.ac-fix-cross-compilation-with-openssl.patch | 56 ++++++++++++++++++++++ package/fetchmail/fetchmail.mk | 2 + 2 files changed, 58 insertions(+) diff --git a/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch new file mode 100644 index 0000000000..fff848196a --- /dev/null +++ b/package/fetchmail/0001-configure.ac-fix-cross-compilation-with-openssl.patch @@ -0,0 +1,56 @@ +From 262aa59c1a7a7100e1dd4e73a6d0112d9becc701 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 1 Apr 2022 19:23:06 +0200 +Subject: [PATCH] configure.ac: fix cross-compilation with openssl + +Don't call AC_LIB_LINKFLAGS when the libraries are retrieved through +pkg-config to avoid the following build failure when cross-compiling +raised since commit 77503f545d2806d07ab83c59ed9a96f435d281da: + +/home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -I/usr/kerberos/include -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -o fetchmail socket.o getpass.o fetchmail.o env.o idle.o options.o daemon.o driver.o transact.o sink.o smtp.o idlist.o uid.o mxget.o md5ify.o cram.o gssapi.o opie.o interface.o netrc.o unmime.o conf.o checkalias.o uid_db.o lock.o rcfile_l.o rcfile_y.o ucs/norm_charmap.o fm_realpath.o pop3.o imap.o etrn.o odmr.o libfm.a strlcpy.o strlcat.o /usr/lib/libssl.so /usr/lib/libcrypto.so +/usr/lib/libssl.so: file not recognized: file format not recognized + +This build failure is raised because AC_LIB_LINKFLAGS will override the +pkg-config target libraries by the host openssl libraries: + +configure: Enabling OpenSSL support in /home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr. +configure: SSL-check: trying pkg-config for openssl +checking for SSL... yes +checking how to link with libssl... /usr/lib/libssl.so /usr/lib/libcrypto.so +configure: From pkg-config: Adding /usr/lib/libssl.so /usr/lib/libcrypto.so to LIBS. LDFLAGS= -L/home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib -L/home/autobuild/autobuild/instance-5/output-1/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib + +Fixes: + - http://autobuild.buildroot.org/results/815f18f25017be178d478458c48712d9a8570d5a + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.com/fetchmail/fetchmail/-/merge_requests/42] +--- + configure.ac | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index bd042d51..80e5bf91 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -838,15 +838,13 @@ else + PKG_CHECK_MODULES([SSL],[$i],[ + set -- $SSL_LIBS + while test $# -ge 1 ; do +- case $1 in -l*|lib*) : ;; ++ case $1 in -l*|lib*) LIBS="$LIBS $1" ;; + *) LDFLAGS="$LDFLAGS $1" ;; + esac + shift + done + CPPFLAGS="$SSL_CFLAGS $CPPFLAGS" +- AC_LIB_LINKFLAGS([ssl], [crypto]) +- AS_MESSAGE([From pkg-config: Adding $LIBSSL to LIBS. LDFLAGS=$LDFLAGS]) +- LIBS="$LIBS $LIBSSL" ++ AS_MESSAGE([From pkg-config: $SSL_LIBS]) + found=1 + break],[: ignore-error]) + done +-- +2.35.1 + diff --git a/package/fetchmail/fetchmail.mk b/package/fetchmail/fetchmail.mk index b97f01a423..25dfcae87b 100644 --- a/package/fetchmail/fetchmail.mk +++ b/package/fetchmail/fetchmail.mk @@ -12,6 +12,8 @@ FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING FETCHMAIL_LICENSE_FILES = COPYING FETCHMAIL_CPE_ID_VENDOR = fetchmail FETCHMAIL_SELINUX_MODULES = fetchmail mta +# We're patching configure.ac +FETCHMAIL_AUTORECONF = YES FETCHMAIL_CONF_OPTS = \ --with-ssl=$(STAGING_DIR)/usr From yann.morin.1998 at free.fr Thu Apr 21 19:42:49 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:42:49 +0200 Subject: [Buildroot] [git commit] meson-package: prevent cmake find_package() picking up host libraries Message-ID: <20220421193338.BAF6384044@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ab8b1e26386527659c27d9b194a0915e1ff6c34 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The meson build system uses (1) pkg-config and (2) cmake find_package to locate dependencies and stops only if a package is found. Cmake uses a toolchain file that is generated by meson from the existing configuration [1]. The cmake toolchain file misses CMAKE_FIND_ROOT_PATH and CMAKE_FIND_ROOT_PATH_* settings, and find_package() falls back to the default behaviour and looks for dependencies on the build machine (the Buildroot HOST_DIR). Use a feature introduced in meson 0.56.0 [2] to pass the Buildroot toolchain file to cmake instead of using a meson-generated one. Fixes the following build failures: http://autobuild.buildroot.org/results/056/05673ed04c6f044f1b56b9d5342d61653be43a18/ http://autobuild.buildroot.org/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ http://autobuild.buildroot.org/results/527/527ee199813abbacd61c3fa32b517ea60af60659/ [1[ see mesonbuild/cmake/toolchain.py [2] see https://mesonbuild.com/CMake-module.html#cross-compilation Signed-off-by: Andreas Ziegler Signed-off-by: Yann E. MORIN --- package/pkg-meson.mk | 1 + support/misc/cross-compilation.conf.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk index 9e70d49b60..f1390a18d0 100644 --- a/package/pkg-meson.mk +++ b/package/pkg-meson.mk @@ -81,6 +81,7 @@ define PKG_MESON_CROSSCONFIG_SED -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$($(strip $(2))))%g" \ -e "s%@BR2_CMAKE@%$(BR2_CMAKE)%g" \ -e "s%@PKGCONF_HOST_BINARY@%$(HOST_DIR)/bin/pkgconf%g" \ + -e "s%@HOST_DIR@%$(HOST_DIR)%g" \ -e "s%@STAGING_DIR@%$(STAGING_DIR)%g" \ -e "s%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g" \ $(TOPDIR)/support/misc/cross-compilation.conf.in diff --git a/support/misc/cross-compilation.conf.in b/support/misc/cross-compilation.conf.in index 1977a83501..235e5a8495 100644 --- a/support/misc/cross-compilation.conf.in +++ b/support/misc/cross-compilation.conf.in @@ -26,6 +26,9 @@ needs_exe_wrapper = true sys_root = '@STAGING_DIR@' pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' pkg_config_static = '@STATIC@' +# enable meson build to pass a toolchain file to cmake +cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake' +cmake_defaults = false [host_machine] system = 'linux' From yann.morin.1998 at free.fr Thu Apr 21 19:44:40 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 21 Apr 2022 21:44:40 +0200 Subject: [Buildroot] [PATCH 1/1] meson-package: prevent cmake find_package() picking up host libraries In-Reply-To: <20220421152530.3900282-1-br015@umbiko.net> References: <20220421152530.3900282-1-br015@umbiko.net> Message-ID: <20220421194440.GR2730@scaer> Andreas, All, On 2022-04-21 17:25 +0200, Andreas Ziegler spake thusly: > The meson build system uses (1) pkg-config and (2) cmake find_package to locate > dependencies and stops only if a package is found. Cmake uses a toolchain file > that is generated by meson from the existing configuration [1]. > > The cmake toolchain file misses CMAKE_FIND_ROOT_PATH and CMAKE_FIND_ROOT_PATH_* > settings, and find_package() falls back to the default behaviour and looks for > dependencies on the build machine (the Buildroot HOST_DIR). > > Use a feature introduced in meson 0.56.0 [2] to pass the Buildroot toolchain > file to cmake instead of using a meson-generated one. > > Fixes the following build failures: > http://autobuild.buildroot.org/results/056/05673ed04c6f044f1b56b9d5342d61653be43a18/ > http://autobuild.buildroot.org/results/f0a/f0a9e719114f19dc9d20622ed85dd4f8e968c20f/ > http://autobuild.buildroot.org/results/527/527ee199813abbacd61c3fa32b517ea60af60659/ > > [1[ see mesonbuild/cmake/toolchain.py > [2] see https://mesonbuild.com/CMake-module.html#cross-compilation > > Signed-off-by: Andreas Ziegler Thanks for the detailed commit log. Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/pkg-meson.mk | 1 + > support/misc/cross-compilation.conf.in | 3 +++ > 2 files changed, 4 insertions(+) > > diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk > index 9e70d49b60..f1390a18d0 100644 > --- a/package/pkg-meson.mk > +++ b/package/pkg-meson.mk > @@ -81,6 +81,7 @@ define PKG_MESON_CROSSCONFIG_SED > -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$($(strip $(2))))%g" \ > -e "s%@BR2_CMAKE@%$(BR2_CMAKE)%g" \ > -e "s%@PKGCONF_HOST_BINARY@%$(HOST_DIR)/bin/pkgconf%g" \ > + -e "s%@HOST_DIR@%$(HOST_DIR)%g" \ > -e "s%@STAGING_DIR@%$(STAGING_DIR)%g" \ > -e "s%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g" \ > $(TOPDIR)/support/misc/cross-compilation.conf.in > diff --git a/support/misc/cross-compilation.conf.in b/support/misc/cross-compilation.conf.in > index 1977a83501..235e5a8495 100644 > --- a/support/misc/cross-compilation.conf.in > +++ b/support/misc/cross-compilation.conf.in > @@ -26,6 +26,9 @@ needs_exe_wrapper = true > sys_root = '@STAGING_DIR@' > pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' > pkg_config_static = '@STATIC@' > +# enable meson build to pass a toolchain file to cmake > +cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake' > +cmake_defaults = false > > [host_machine] > system = 'linux' > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Apr 21 19:54:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 21:54:36 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/go: add support for riscv64 architecture In-Reply-To: <20220414204922.866533-1-christian@paral.in> References: <20220414204922.866533-1-christian@paral.in> Message-ID: <55c0f7da-0907-b920-5a9b-33a82dcdb32b@mind.be> On 14/04/2022 22:49, Christian Stewart via buildroot wrote: > Enable the supported "riscv64" GOARCH. > > Add a patch to fix a build failure due to GOARCH leaking into the calls to the > go-bootstrap compiler. Unsets the GOARCH before calling go-bootstrap. > > PR: https://github.com/golang/go/pull/52362 > > Signed-off-by: Christian Stewart > > --- > > v1 -> v2: > > - fixed build error with go-bootstrap > > Signed-off-by: Christian Stewart > --- > ...explicit-option-for-crosscompilation.patch | 8 +- > ...set-environment-before-generating-bu.patch | 111 ++++++++++++++++++ > package/go/Config.in.host | 2 +- > package/go/go.mk | 2 + > 4 files changed, 118 insertions(+), 5 deletions(-) > create mode 100644 package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch > > diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch > index f76c5b1d03..a32a6ee355 100644 > --- a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch > +++ b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch > @@ -1,4 +1,4 @@ > -From e1382a731a726293e30901038c6870fa77ef6095 Mon Sep 17 00:00:00 2001 > +From 86fa3da18b5c73cc84dec91d92db4ae95f288bdc Mon Sep 17 00:00:00 2001 > From: Angelo Compagnucci > Date: Tue, 8 May 2018 16:08:44 +0200 > Subject: [PATCH] build.go: explicit option for crosscompilation > @@ -17,10 +17,10 @@ Signed-off-by: Anisse Astier > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go > -index 99d1db5..eb4097f 100644 > +index d37c3f83ef..d838485bd3 100644 > --- a/src/cmd/dist/build.go > +++ b/src/cmd/dist/build.go > -@@ -252,12 +252,13 @@ func xinit() { > +@@ -273,12 +273,13 @@ func xinit() { > // $CC_FOR_goos_goarch, if set, applies only to goos/goarch. > func compilerEnv(envName, def string) map[string]string { > m := map[string]string{"": def} > @@ -36,5 +36,5 @@ index 99d1db5..eb4097f 100644 > } > m[""] = env > -- > -2.7.4 > +2.35.1 > > diff --git a/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch b/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch > new file mode 100644 > index 0000000000..44b3fbecc2 > --- /dev/null > +++ b/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch > @@ -0,0 +1,111 @@ > +From 00f3f4ee0d477779c87e4e60b08708362670e122 Mon Sep 17 00:00:00 2001 > +From: Christian Stewart > +Date: Thu, 14 Apr 2022 13:34:26 -0700 > +Subject: [PATCH] build: bootstrap: set environment before generating buildcfg > + > +The GOOS and GOARCH environment variables should be unset before calling > +mkbuildcfg. This change fixes a build failure when GOARCH=riscv64. > + > +Building Go toolchain1 using go-1.4-bootstrap-20171003. > +src/cmd/compile/internal/ssa/rewriteRISCV64.go:4814 > +invalid operation: y << x (shift count type int64, must be unsigned integer) > + > +There is a build issue with go1.4 with the riscv64 code: however, why is the > +riscv64 code being compiled at all? > + > +GOARCH is set when calling mkbuildcfg, so go1.4 is trying to compile riscv64. You SoB is missing. Also, the reference to the upstream PR is missing. And you should probably refer to gerrit instead. [snip] > diff --git a/package/go/Config.in.host b/package/go/Config.in.host > index e82ab6e81a..8be86103ea 100644 > --- a/package/go/Config.in.host > +++ b/package/go/Config.in.host > @@ -5,7 +5,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS > depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ > || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ > - || BR2_mips64 || BR2_mips64el || BR2_s390x > + || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x Here you enable it both for riscv32 and riscv64, but below you always set GOARCH to riscv64. Also, are you sure it doesn't need any of the ISA extensions? I can imagine that Go would be using atomics, floating point and integer multiplication/division. Of course, there's almost no chance of finding a riscv64 without these extensions, but better be correct, right? Also, does Go support all three ABI types (integer, single precision and double precision)? Again, we only ever test lp64d in the autobuilders, but better be correct, right? Regards, Arnout > depends on !BR2_ARM_CPU_ARMV4 > # MIPS R6 support in Go has not yet been developed. > depends on !BR2_MIPS_CPU_MIPS64R6 > diff --git a/package/go/go.mk b/package/go/go.mk > index 3df16c9a68..ba0da74b86 100644 > --- a/package/go/go.mk > +++ b/package/go/go.mk > @@ -63,6 +63,8 @@ else ifeq ($(BR2_mips64),y) > GO_GOARCH = mips64 > else ifeq ($(BR2_mips64el),y) > GO_GOARCH = mips64le > +else ifeq ($(BR2_riscv),y) > +GO_GOARCH = riscv64 > else ifeq ($(BR2_s390x),y) > GO_GOARCH = s390x > endif From arnout at mind.be Thu Apr 21 20:17:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:17:59 +0200 Subject: [Buildroot] [PATCH 2/2] package/netsurf: use HOSTCC_NOCCACHE In-Reply-To: <20220419132805.2571073-2-fontaine.fabrice@gmail.com> References: <20220419132805.2571073-1-fontaine.fabrice@gmail.com> <20220419132805.2571073-2-fontaine.fabrice@gmail.com> Message-ID: <8bb8f809-cd50-32ae-f8e8-29ea40116288@mind.be> On 19/04/2022 15:28, Fabrice Fontaine wrote: > Use HOSTCC_NOCCACHE instead of HOSTCC to fix the following build Rather than this workaround, let's fix the real issue. The offending code is (I think, untested): $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) ... in top-level Makefile. Since BUILD_CC may contain spaces, this is going to be parsed incorrectly by the shell. Just adding quotes should be enough. Regards, Arnout > failure: > > /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. > > Fixes: > - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d > > Signed-off-by: Fabrice Fontaine > --- > package/netsurf/netsurf.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk > index 574c1423df..b61372bb78 100644 > --- a/package/netsurf/netsurf.mk > +++ b/package/netsurf/netsurf.mk > @@ -106,7 +106,7 @@ NETSURF_MAKE_OPTS = \ > BISON="$(HOST_DIR)/bin/bison" \ > FLEX="$(HOST_DIR)/bin/flex" \ > PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ > - BUILD_CC="$(HOSTCC)" \ > + BUILD_CC="$(HOSTCC_NOCCACHE)" \ > CC="$(TARGET_CC)" \ > AR="$(TARGET_AR)" \ > TMP_PREFIX=$(@D)/tmpusr \ From arnout at mind.be Thu Apr 21 20:52:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:52:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsigsegv: bump to version 2.14 In-Reply-To: <20220416150604.1965916-1-fontaine.fabrice@gmail.com> References: <20220416150604.1965916-1-fontaine.fabrice@gmail.com> Message-ID: <73382900-8d51-e3ef-483a-7d4390c950b7@mind.be> On 16/04/2022 17:06, Fabrice Fontaine wrote: > This bump will fix the following build failure on or1k and microblazeel: > > In file included from handler.c:20: > handler-unix.c: In function 'sigsegv_handler': > handler-unix.c:194:28: error: 'struct vma_struct' has no member named 'is_near_this' > 194 | : vma.is_near_this (addr, &vma)) > | ^ > > https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=NEWS;h=4d012f8b6cd9b2c1eccbf266a10aae56b0e79978;hb=9ad117adabd223b79e037575e071855c2b8b35c0 > https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=ChangeLog;h=c52b227aae190ba9b161282efaa5f33cb4a127f9;hb=9ad117adabd223b79e037575e071855c2b8b35c0 > > Fixes: > - http://autobuild.buildroot.org/results/c693fafb8f1f68be30a281313fb1f0890cc08b1e > - http://autobuild.buildroot.org/results/ecde11129d102e3321b2aaef407697c29311c705 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libsigsegv/libsigsegv.hash | 4 ++-- > package/libsigsegv/libsigsegv.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libsigsegv/libsigsegv.hash b/package/libsigsegv/libsigsegv.hash > index c827e6b866..13978da398 100644 > --- a/package/libsigsegv/libsigsegv.hash > +++ b/package/libsigsegv/libsigsegv.hash > @@ -1,5 +1,5 @@ > # Locally calculated after checking pgp signature > -# https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.13.tar.gz.sig > -sha256 be78ee4176b05f7c75ff03298d84874db90f4b6c9d5503f0da1226b3a3c48119 libsigsegv-2.13.tar.gz > +# https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.14.tar.gz.sig > +sha256 cdac3941803364cf81a908499beb79c200ead60b6b5b40cad124fd1e06caa295 libsigsegv-2.14.tar.gz > # Locally calculated > sha256 8f2983e9a940367f48999881c14775db725ee643bce1e2f1ba195eb629a33cde COPYING > diff --git a/package/libsigsegv/libsigsegv.mk b/package/libsigsegv/libsigsegv.mk > index 87a5d7a124..98bcd55c8c 100644 > --- a/package/libsigsegv/libsigsegv.mk > +++ b/package/libsigsegv/libsigsegv.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBSIGSEGV_VERSION = 2.13 > +LIBSIGSEGV_VERSION = 2.14 > LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv > LIBSIGSEGV_INSTALL_STAGING = YES > LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes From arnout at mind.be Thu Apr 21 20:53:01 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:53:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/mc: fix build with gcc 4.8 In-Reply-To: <20220416152632.2220173-1-fontaine.fabrice@gmail.com> References: <20220416152632.2220173-1-fontaine.fabrice@gmail.com> Message-ID: <5a45ffce-7ef4-73f9-4ffb-9703d4177154@mind.be> On 16/04/2022 17:26, Fabrice Fontaine wrote: > Fix the following build failure with gcc 4.8 raised since bump to > version 4.8.26 in commit e648dfa6f7078a6fbbc5feb83292c6a98300fe8f and > https://github.com/MidnightCommander/mc/commit/8b4386df83ab5a525f0568113fe1e53d362f433e: > > tty-ncurses.c: In function 'tty_colorize_area': > tty-ncurses.c:575:5: error: 'for' loop initial declarations are only allowed in C99 mode > for (int row = 0; row < rows; row++) > ^ > > Fixes: > - http://autobuild.buildroot.org/results/d9f0a11bde42fe6ae2e9449d3365609d59a6545d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/mc/mc.mk | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/mc/mc.mk b/package/mc/mc.mk > index ac12c2173a..3858d62886 100644 > --- a/package/mc/mc.mk > +++ b/package/mc/mc.mk > @@ -10,7 +10,9 @@ MC_SITE = http://ftp.midnight-commander.org > MC_LICENSE = GPL-3.0+ > MC_LICENSE_FILES = COPYING > MC_DEPENDENCIES = libglib2 host-pkgconf $(TARGET_NLS_DEPENDENCIES) > -MC_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) > +MC_CONF_ENV = \ > + CFLAGS="$(TARGET_CFLAGS) -std=c99" \ > + LIBS=$(TARGET_NLS_LIBS) > > ifeq ($(BR2_PACKAGE_GPM),y) > MC_CONF_OPTS += --with-gpm-mouse From arnout at mind.be Thu Apr 21 20:53:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:53:44 +0200 Subject: [Buildroot] [PATCH 2/2] package/opencv4: add tbb support In-Reply-To: <20220416210750.3065016-2-fontaine.fabrice@gmail.com> References: <20220416210750.3065016-1-fontaine.fabrice@gmail.com> <20220416210750.3065016-2-fontaine.fabrice@gmail.com> Message-ID: On 16/04/2022 23:07, Fabrice Fontaine wrote: > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/opencv4/Config.in | 14 ++++++++++++++ > package/opencv4/opencv4.mk | 10 ++++++++-- > 2 files changed, 22 insertions(+), 2 deletions(-) > > diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in > index 31c32385da..23d34a9d22 100644 > --- a/package/opencv4/Config.in > +++ b/package/opencv4/Config.in > @@ -309,6 +309,20 @@ config BR2_PACKAGE_OPENCV4_WITH_PROTOBUF > help > Use shared protobuf from the target system. > > +config BR2_PACKAGE_OPENCV4_WITH_TBB > + bool "tbb support" > + depends on !BR2_TOOLCHAIN_USES_UCLIBC # tbb > + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # tbb > + select BR2_PACKAGE_TBB > + help > + Use shared tbb from the target system. > + > +comment "tbb needs a glibc or musl toolchain" > + depends on BR2_TOOLCHAIN_USES_UCLIBC > + > +comment "tbb needs exception_ptr" > + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 > + > config BR2_PACKAGE_OPENCV4_WITH_TIFF > bool "tiff support" > select BR2_PACKAGE_TIFF > diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk > index e75f7144de..0563026b18 100644 > --- a/package/opencv4/opencv4.mk > +++ b/package/opencv4/opencv4.mk > @@ -155,8 +155,7 @@ OPENCV4_CONF_OPTS += \ > -DBUILD_WITH_DYNAMIC_IPP=OFF \ > -DWITH_INTELPERC=OFF \ > -DWITH_IPP=OFF \ > - -DWITH_IPP_A=OFF \ > - -DWITH_TBB=OFF > + -DWITH_IPP_A=OFF > > # Smartek stuff > OPENCV4_CONF_OPTS += -DWITH_GIGEAPI=OFF > @@ -313,6 +312,13 @@ else > OPENCV4_CONF_OPTS += -DWITH_QT=OFF > endif > > +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TBB),y) > +OPENCV4_CONF_OPTS += -DWITH_TBB=ON > +OPENCV4_DEPENDENCIES += tbb > +else > +OPENCV4_CONF_OPTS += -DWITH_TBB=OFF > +endif > + > ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TIFF),y) > OPENCV4_CONF_OPTS += -DWITH_TIFF=ON > OPENCV4_DEPENDENCIES += tiff From arnout at mind.be Thu Apr 21 20:54:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:54:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/aircrack-ng: fix sqlite3 build In-Reply-To: <20220416214528.3515227-1-fontaine.fabrice@gmail.com> References: <20220416214528.3515227-1-fontaine.fabrice@gmail.com> Message-ID: On 16/04/2022 23:45, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 1.2 in > commit 242227dd86efaaec7c785b32a14e8133f2e86dec: > > powerpc-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' > In file included from src/aircrack-ng/aircrack-ng.c:54: > /usr/include/math.h:476:21: error: '_Float128' is not supported on this target > 476 | # define _Mdouble_ _Float128 > | ^~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/83a114ce197fb6af53a26ed68184cf3bbb30c8a7 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/aircrack-ng/aircrack-ng.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk > index ff87766d6f..95cda7c5a6 100644 > --- a/package/aircrack-ng/aircrack-ng.mk > +++ b/package/aircrack-ng/aircrack-ng.mk > @@ -69,7 +69,7 @@ endif > > ifeq ($(BR2_PACKAGE_SQLITE),y) > AIRCRACK_NG_DEPENDENCIES += sqlite > -AIRCRACK_NG_CONF_OPTS += --with-sqlite3 > +AIRCRACK_NG_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr > else > AIRCRACK_NG_CONF_OPTS += --without-sqlite3 > endif From arnout at mind.be Thu Apr 21 20:54:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:54:30 +0200 Subject: [Buildroot] [PATCH] package/luarocks: bump to version 3.9.0 In-Reply-To: <20220417082800.2742525-1-francois.perrad@gadz.org> References: <20220417082800.2742525-1-francois.perrad@gadz.org> Message-ID: On 17/04/2022 10:28, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > package/luarocks/luarocks.hash | 2 +- > package/luarocks/luarocks.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/luarocks/luarocks.hash b/package/luarocks/luarocks.hash > index d80e08a20..14809402d 100644 > --- a/package/luarocks/luarocks.hash > +++ b/package/luarocks/luarocks.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923 luarocks-3.8.0.tar.gz > +sha256 5e840f0224891de96be4139e9475d3b1de7af3a32b95c1bdf05394563c60175f luarocks-3.9.0.tar.gz > sha256 542ad0ee9b8ba582437ca7b4d0959c9b9432f25d2067f144d017188a7a84dd2f COPYING > diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk > index 028e144e2..b28a1bd57 100644 > --- a/package/luarocks/luarocks.mk > +++ b/package/luarocks/luarocks.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LUAROCKS_VERSION = 3.8.0 > +LUAROCKS_VERSION = 3.9.0 > LUAROCKS_SITE = https://luarocks.org/releases > LUAROCKS_LICENSE = MIT > LUAROCKS_LICENSE_FILES = COPYING From arnout at mind.be Thu Apr 21 20:55:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:55:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/glorytun: fix aarch64 build with uclibc In-Reply-To: <20220417202746.110249-1-fontaine.fabrice@gmail.com> References: <20220417202746.110249-1-fontaine.fabrice@gmail.com> Message-ID: <3feeb6eb-412d-c7e2-1407-1bd2395491f9@mind.be> On 17/04/2022 22:27, Fabrice Fontaine wrote: > Fix the following aarch64 build failure with uclibc: > > mud/aegis256/aegis256.c:51:10: fatal error: sys/auxv.h: No such file or directory > 51 | #include > | ^~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/4e1bbd72b9b7e0f9963f6693c3d7bc9a1d24fab4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-Add-support-for-Apple-silicon.patch | 51 +++++++++++++++++++ > ...s256.c-fix-aarch64-build-with-uclibc.patch | 43 ++++++++++++++++ > 2 files changed, 94 insertions(+) > create mode 100644 package/glorytun/0001-Add-support-for-Apple-silicon.patch > create mode 100644 package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch > > diff --git a/package/glorytun/0001-Add-support-for-Apple-silicon.patch b/package/glorytun/0001-Add-support-for-Apple-silicon.patch > new file mode 100644 > index 0000000000..6d4b8273f3 > --- /dev/null > +++ b/package/glorytun/0001-Add-support-for-Apple-silicon.patch > @@ -0,0 +1,51 @@ > +From 577ae0352d191fa604f861ea2f0847e7c5eda617 Mon Sep 17 00:00:00 2001 > +From: Frank Denis > +Date: Wed, 1 Jul 2020 22:51:43 +0200 > +Subject: [PATCH] Add support for Apple silicon > + > +[Retrieved from: > +https://github.com/angt/aegis256/commit/577ae0352d191fa604f861ea2f0847e7c5eda617] > +Signed-off-by: Fabrice Fontaine > +--- > + aegis256.c | 8 +++++++- > + 1 file changed, 7 insertions(+), 1 deletion(-) > + > +diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c > +index 9a580bf..75a772c 100644 > +--- a/mud/aegis256/aegis256.c > ++++ b/mud/aegis256/aegis256.c > +@@ -36,7 +36,7 @@ typedef __m128i x128; > + #define store128(X,Y) _mm_storeu_si128((x128 *)(X), (Y)) > + #define set2x64(X,Y) _mm_set_epi64x((long long)(X), (long long)(Y)) > + > +-#elif defined(__linux__) && (defined(__ARM_NEON_FP) || defined(__aarch64__)) > ++#elif (defined(__APPLE__) || defined(__linux__)) && (defined(__ARM_NEON_FP) || defined(__aarch64__)) > + > + #ifdef __clang__ > + #pragma clang attribute push (__attribute__((target("crypto"))),apply_to=function) > +@@ -48,7 +48,9 @@ typedef __m128i x128; > + #endif > + > + #ifdef __ARM_FEATURE_CRYPTO > ++#ifdef __linux__ > + #include > ++#endif > + #include > + > + typedef uint8x16_t x128; > +@@ -62,11 +64,15 @@ typedef uint8x16_t x128; > + int > + aegis256_is_available(void) > + { > ++#ifdef __linux__ > + return (getauxval(AT_HWCAP) & HWCAP_AES) > + #ifdef HWCAP2_AES > + || (getauxval(AT_HWCAP2) & HWCAP2_AES) > + #endif > + ; > ++#else // __APPLE__ > ++ return 1; > ++#endif > + } > + > + #endif // __ARM_FEATURE_CRYPTO > diff --git a/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch b/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch > new file mode 100644 > index 0000000000..37ae8a3301 > --- /dev/null > +++ b/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch > @@ -0,0 +1,43 @@ > +From eb22e270a962d4a2da1972304fd8b1216211c9d1 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sat, 16 Apr 2022 23:32:55 +0200 > +Subject: [PATCH] aegis256.c: fix aarch64 build with uclibc > + > +Fix the following aarch64 build failure with uclibc: > + > +mud/aegis256/aegis256.c:51:10: fatal error: sys/auxv.h: No such file or directory > + 51 | #include > + | ^~~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/4e1bbd72b9b7e0f9963f6693c3d7bc9a1d24fab4 > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/angt/aegis256/commit/eb22e270a962d4a2da1972304fd8b1216211c9d1] > +--- > + aegis256.c | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c > +index 75a772c..4e73fab 100644 > +--- a/mud/aegis256/aegis256.c > ++++ b/mud/aegis256/aegis256.c > +@@ -48,7 +48,7 @@ typedef __m128i x128; > + #endif > + > + #ifdef __ARM_FEATURE_CRYPTO > +-#ifdef __linux__ > ++#if defined(__linux__) && __has_include("sys/auxv.h") > + #include > + #endif > + #include > +@@ -64,7 +64,7 @@ typedef uint8x16_t x128; > + int > + aegis256_is_available(void) > + { > +-#ifdef __linux__ > ++#if defined(__linux__) && __has_include("sys/auxv.h") > + return (getauxval(AT_HWCAP) & HWCAP_AES) > + #ifdef HWCAP2_AES > + || (getauxval(AT_HWCAP2) & HWCAP2_AES) From arnout at mind.be Thu Apr 21 20:55:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:55:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/minizip: fix build without C++ In-Reply-To: <20220417205241.396289-1-fontaine.fabrice@gmail.com> References: <20220417205241.396289-1-fontaine.fabrice@gmail.com> Message-ID: <1270056e-42cc-268e-257a-b9c1e437fdc6@mind.be> On 17/04/2022 22:52, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 2.5.3 in > commit fd03e8192f1b4d5eae9a9458c5a06bebfa95fb7c and > https://github.com/zlib-ng/minizip-ng/commit/d383a5f2fca127d24407ff26adce579d63b85310: > > CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > > "/usr/bin/c++" > > is not able to compile a simple test program. > > Fixes: > - http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...1-CMakeLists.txt-fix-build-without-C.patch | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch > > diff --git a/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch b/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch > new file mode 100644 > index 0000000000..b0cb6a6c1e > --- /dev/null > +++ b/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch > @@ -0,0 +1,41 @@ > +From 4e7899f3d0533f83b7230ffa787087b65ddd45c0 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 5 Apr 2022 18:20:14 +0200 > +Subject: [PATCH] CMakeLists.txt: fix build without C++ > + > +Fix the following build failure without a working C++ compiler raised > +since version 2.0.0 and > +https://github.com/zlib-ng/minizip-ng/commit/d383a5f2fca127d24407ff26adce579d63b85310: > + > +CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > + The C++ compiler > + > + "/usr/bin/c++" > + > + is not able to compile a simple test program. > + > +Fixes: > + - http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: https://github.com/zlib-ng/minizip-ng/pull/621] > +--- > + CMakeLists.txt | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/CMakeLists.txt b/CMakeLists.txt > +index fef46c3..83adaf3 100644 > +--- a/CMakeLists.txt > ++++ b/CMakeLists.txt > +@@ -661,7 +661,7 @@ endif() > + list(APPEND MINIZIP_INC ${CMAKE_CURRENT_SOURCE_DIR}) > + > + # Create minizip library > +-project(minizip${MZ_PROJECT_SUFFIX} VERSION ${VERSION}) > ++project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) > + > + if(NOT ${MZ_PROJECT_SUFFIX} STREQUAL "") > + message(STATUS "Project configured as ${PROJECT_NAME}") > +-- > +2.35.1 > + From arnout at mind.be Thu Apr 21 20:56:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:56:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/quazip: doesn't build with zlib-ng In-Reply-To: <20220417213111.664923-1-fontaine.fabrice@gmail.com> References: <20220417213111.664923-1-fontaine.fabrice@gmail.com> Message-ID: On 17/04/2022 23:31, Fabrice Fontaine wrote: > quazip doesn't build with zlib-ng since bump to version 1.9.9-b1 in > commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of > z_crc_t and FAR: > https://github.com/zlib-ng/zlib-ng/commit/4db4cfdb5badc8860f7410732b12c45216d709b3 > https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: > > /nvmedata/autobuild/instance-16/output-1/build/quazip-1.2/quazip/unzip.c:196:11: error: unknown type name 'z_crc_t' > 196 | const z_crc_t FAR * pcrc_32_tab; > | ^~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/02272c154ce58bacf0518dab5fc1ef0084121e1a > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. > --- > package/quazip/Config.in | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/package/quazip/Config.in b/package/quazip/Config.in > index e980297558..a670ed458c 100644 > --- a/package/quazip/Config.in > +++ b/package/quazip/Config.in > @@ -1,10 +1,13 @@ > config BR2_PACKAGE_QUAZIP > bool "quazip" > + depends on BR2_PACKAGE_LIBZLIB > depends on BR2_PACKAGE_QT5 > - select BR2_PACKAGE_ZLIB > help > QuaZIP is a simple C++ wrapper over Gilles Vollant's > ZIP/UNZIP package that can be used to access ZIP > archives. It uses the Qt toolkit. > > http://quazip.sourceforge.net > + > +comment "quazip needs libzlib" > + depends on !BR2_PACKAGE_LIBZLIB Perhaps we should have something like with force-openssl, to be able to still select zlib. Yann, what do you think? Regards, Arnout From arnout at mind.be Thu Apr 21 20:57:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:57:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/espeak: fix pulseaudio build In-Reply-To: <20220417215822.1070695-1-fontaine.fabrice@gmail.com> References: <20220417215822.1070695-1-fontaine.fabrice@gmail.com> Message-ID: <721a1c20-0994-3ba5-68ed-de085fefeaf4@mind.be> On 17/04/2022 23:58, Fabrice Fontaine wrote: > Pass $(TARGET_CONFIGURE_OPTS) AUDIO="$(ESPEAK_AUDIO_BACKEND)" to > ESPEAK_INSTALL_TARGET_CMDS to avoid the following build failure with > pulseaudio raised since the addition of the package in commit > 10b6d10009c70262cfb492b2abaa3a091a8fb4aa: > >>>> espeak 1.48.04 Installing to target > PATH="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/bin:/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src DESTDIR="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/target" install > make[1]: Entering directory '/nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src' > g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fPIC -fvisibility=hidden -pedantic \ > -I. -D LIBRARY -c -fno-exceptions wave.cpp -o x_wave.o > g++ -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \ > x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o -lstdc++ -lportaudio -lpthread > /usr/bin/ld: cannot find -lportaudio > > Fixes: > - http://autobuild.buildroot.org/results/a4a6e3203ad70cd724da8130ee1648141ab39a6a > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/espeak/espeak.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/espeak/espeak.mk b/package/espeak/espeak.mk > index d592673ac5..44893ac9be 100644 > --- a/package/espeak/espeak.mk > +++ b/package/espeak/espeak.mk > @@ -37,7 +37,8 @@ define ESPEAK_BUILD_CMDS > endef > > define ESPEAK_INSTALL_TARGET_CMDS > - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \ > + AUDIO="$(ESPEAK_AUDIO_BACKEND)" DESTDIR="$(TARGET_DIR)" install > endef > > $(eval $(generic-package)) From arnout at mind.be Thu Apr 21 20:57:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:57:36 +0200 Subject: [Buildroot] [PATCH] package/libnspr: fix build failure on mips with musl libc In-Reply-To: <20220417223514.3080791-1-giulio.benetti@benettiengineering.com> References: <20220417223514.3080791-1-giulio.benetti@benettiengineering.com> Message-ID: On 18/04/2022 00:35, Giulio Benetti wrote: > Add patch that uses Linux instead of libc since > musl doesn't provide it. > > Patch is pending upstream here: > https://bugzilla.mozilla.org/show_bug.cgi?id=1765100 > > Fixes: > http://autobuild.buildroot.net/results/61743bf5ad9ddc69786ae854ed4ab58c59f64dd0/ > > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Arnout > --- > ...-1765100-fix-build-on-mips-musl-libc.patch | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch > > diff --git a/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch b/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch > new file mode 100644 > index 0000000000..10bf74130c > --- /dev/null > +++ b/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch > @@ -0,0 +1,33 @@ > +From 00e5b818f2d9f3264107801fc2fcff33a9355a78 Mon Sep 17 00:00:00 2001 > +From: Giulio Benetti > +Date: Sun, 17 Apr 2022 23:55:26 +0200 > +Subject: [PATCH] Bug 1765100 - fix build on mips+musl libc > + > +This patch fix build failure on mips with musl libc by using Linux > + instead of the one provided by libc since musl doesn't > +provide . > + > +Signed-off-by: Giulio Benetti > +--- > +This patch is pending upstream: > +https://bugzilla.mozilla.org/show_bug.cgi?id=1765100 > +--- > + nspr/pr/include/md/_linux.cfg | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/nspr/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg > +index 23b160fd..dbc0d40e 100644 > +--- a/nspr/pr/include/md/_linux.cfg > ++++ b/nspr/pr/include/md/_linux.cfg > +@@ -499,7 +499,7 @@ > + #elif defined(__mips__) > + > + /* For _ABI64 */ > +-#include > ++#include > + > + #ifdef __MIPSEB__ > + #define IS_BIG_ENDIAN 1 > +-- > +2.25.1 > + From arnout at mind.be Thu Apr 21 20:57:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:57:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/botan: fix mips64 build In-Reply-To: <20220418091909.7449-1-fontaine.fabrice@gmail.com> References: <20220418091909.7449-1-fontaine.fabrice@gmail.com> Message-ID: <0a93268b-16f7-cd7e-a048-89012cd8a2a9@mind.be> On 18/04/2022 11:19, Fabrice Fontaine wrote: > Disable cc-tests to avoid the following build failure on mips64: > > ERROR: Configured target is mips64 but compiler probe indicates mips32 > > Fixes: > - http://autobuild.buildroot.org/results/c44f44f36686268479563afd879db588e15ede7d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/botan/botan.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/botan/botan.mk b/package/botan/botan.mk > index f9ebcf8d0a..6095844b14 100644 > --- a/package/botan/botan.mk > +++ b/package/botan/botan.mk > @@ -15,6 +15,7 @@ BOTAN_INSTALL_STAGING = YES > > BOTAN_CONF_OPTS = \ > --cpu=$(BR2_ARCH) \ > + --disable-cc-tests \ > --os=linux \ > --cc=gcc \ > --cc-bin="$(TARGET_CXX)" \ From arnout at mind.be Thu Apr 21 20:58:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:58:17 +0200 Subject: [Buildroot] [PATCH] package/dropbear: bump to version 2022.82 In-Reply-To: <05c2ec866042ea7dd9a215c76c6382f2096199ab.1650274250.git.baruch@tkos.co.il> References: <05c2ec866042ea7dd9a215c76c6382f2096199ab.1650274250.git.baruch@tkos.co.il> Message-ID: On 18/04/2022 11:30, Baruch Siach via buildroot wrote: > Support for the Twofish algorithm is removed upstream. > > The dh_group1 algorithm is now disabled by default. Enable only when > BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO is enabled. > > Signed-off-by: Baruch Siach Applied to master, thanks. Regards, Arnout > --- > package/dropbear/dropbear.hash | 2 +- > package/dropbear/dropbear.mk | 6 ++---- > 2 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/package/dropbear/dropbear.hash b/package/dropbear/dropbear.hash > index 82ff454f0a56..ff6e312fde24 100644 > --- a/package/dropbear/dropbear.hash > +++ b/package/dropbear/dropbear.hash > @@ -1,5 +1,5 @@ > # From https://matt.ucc.asn.au/dropbear/releases/SHA256SUM.asc > -sha256 48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b dropbear-2020.81.tar.bz2 > +sha256 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1 dropbear-2022.82.tar.bz2 > > # License file, locally computed > sha256 a99ce657d790b761c132ee7e0de18edb437ae6361e536d991c6a12f36e770445 LICENSE > diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk > index 1cbe63682c5b..bfb80345ece7 100644 > --- a/package/dropbear/dropbear.mk > +++ b/package/dropbear/dropbear.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DROPBEAR_VERSION = 2020.81 > +DROPBEAR_VERSION = 2022.82 > DROPBEAR_SITE = https://matt.ucc.asn.au/dropbear/releases > DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.bz2 > DROPBEAR_LICENSE = MIT, BSD-2-Clause, Public domain > @@ -63,12 +63,12 @@ define DROPBEAR_ENABLE_LEGACY_CRYPTO > echo '#define DROPBEAR_3DES 1' >> $(@D)/localoptions.h > echo '#define DROPBEAR_ENABLE_CBC_MODE 1' >> $(@D)/localoptions.h > echo '#define DROPBEAR_SHA1_96_HMAC 1' >> $(@D)/localoptions.h > + echo '#define DROPBEAR_DH_GROUP1 1' >> $(@D)/localoptions.h > endef > DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_ENABLE_LEGACY_CRYPTO > else > define DROPBEAR_DISABLE_LEGACY_CRYPTO > echo '#define DROPBEAR_DSS 0' >> $(@D)/localoptions.h > - echo '#define DROPBEAR_DH_GROUP1 0' >> $(@D)/localoptions.h > endef > DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_LEGACY_CRYPTO > endif > @@ -87,8 +87,6 @@ DROPBEAR_CONF_OPTS += --disable-zlib --enable-bundled-libtom > else > define DROPBEAR_BUILD_FEATURED > echo '#define DROPBEAR_SMALL_CODE 0' >> $(@D)/localoptions.h > - echo '#define DROPBEAR_TWOFISH128 1' >> $(@D)/localoptions.h > - echo '#define DROPBEAR_TWOFISH256 1' >> $(@D)/localoptions.h > endef > DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_FEATURED > DROPBEAR_DEPENDENCIES += zlib libtomcrypt From arnout at mind.be Thu Apr 21 20:58:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:58:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/keepalived: fix build with libressl In-Reply-To: <20220418095919.13738-1-fontaine.fabrice@gmail.com> References: <20220418095919.13738-1-fontaine.fabrice@gmail.com> Message-ID: On 18/04/2022 11:59, Fabrice Fontaine wrote: > Fix the following build failure with libressl: > > /nvmedata/autobuild/instance-9/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/10.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: check/libcheck.a(check_ssl.o): in function `ssl_connect': > check_ssl.c:(.text+0x7da): undefined reference to `SSL_set0_wbio' > > Fixes: > - http://autobuild.buildroot.org/results/76f72a3c7350ea265e2277c89d68e5256410e94c > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0003-fix-build-with-libressl.patch | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 package/keepalived/0003-fix-build-with-libressl.patch > > diff --git a/package/keepalived/0003-fix-build-with-libressl.patch b/package/keepalived/0003-fix-build-with-libressl.patch > new file mode 100644 > index 0000000000..090d35511c > --- /dev/null > +++ b/package/keepalived/0003-fix-build-with-libressl.patch > @@ -0,0 +1,50 @@ > +From bbec15d4781670ac1be5e543cb04543f79200e69 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 12 Apr 2022 20:30:57 +0200 > +Subject: [PATCH] fix build with libressl > + > +SSL_set0_rbio is provided by libressl since version 3.4.0 and > +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc > +but SSL_set0_wbio is not provided resulting in the following build > +failure: > + > +/nvmedata/autobuild/instance-9/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/10.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: check/libcheck.a(check_ssl.o): in function `ssl_connect': > +check_ssl.c:(.text+0x7da): undefined reference to `SSL_set0_wbio' > + > +Fixes: > + - http://autobuild.buildroot.org/results/76f72a3c7350ea265e2277c89d68e5256410e94c > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/acassen/keepalived/commit/bbec15d4781670ac1be5e543cb04543f79200e69] > +--- > + configure.ac | 2 +- > + keepalived/check/check_ssl.c | 2 +- > + 2 files changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index 5a2ea76ec..e8b5ccc41 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -1327,7 +1327,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ > + AC_CHECK_FUNCS([SSL_CTX_set_verify_depth]) > + > + # SSL_set0_rbio(), SSL_set0_wbio() OPENSSL_init_crypto() and TLS_method() introduced OpenSSL v1.1.0 > +-AC_CHECK_FUNCS([SSL_set0_rbio OPENSSL_init_crypto TLS_method]) > ++AC_CHECK_FUNCS([SSL_set0_wbio OPENSSL_init_crypto TLS_method]) > + > + # In OpenSSL v1.1.1 the call to SSL_CTX_new() fails if OPENSSL_init_crypto() has been called with > + # OPENSSL_INIT_NO_LOAD_CONFIG. It does not fail in v1.1.0h and v1.1.1b. > +diff --git a/keepalived/check/check_ssl.c b/keepalived/check/check_ssl.c > +index 0155fce59..2cbedb8d3 100644 > +--- a/keepalived/check/check_ssl.c > ++++ b/keepalived/check/check_ssl.c > +@@ -234,7 +234,7 @@ ssl_connect(thread_ref_t thread, int new_req) > + BIO_get_fd(req->bio, &bio_fd); > + if (fcntl(bio_fd, F_SETFD, fcntl(bio_fd, F_GETFD) | FD_CLOEXEC) == -1) > + log_message(LOG_INFO, "Setting CLOEXEC failed on ssl socket - errno %d", errno); > +-#ifdef HAVE_SSL_SET0_RBIO > ++#ifdef HAVE_SSL_SET0_WBIO > + BIO_up_ref(req->bio); > + SSL_set0_rbio(req->ssl, req->bio); > + SSL_set0_wbio(req->ssl, req->bio); From arnout at mind.be Thu Apr 21 20:59:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 22:59:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/pixman: fix mips build In-Reply-To: <20220418103847.273865-1-fontaine.fabrice@gmail.com> References: <20220418103847.273865-1-fontaine.fabrice@gmail.com> Message-ID: On 18/04/2022 12:38, Fabrice Fontaine wrote: > Disable Loongson MMI fast paths to fix the following mips build failure: > > ./loongson-mmintrin.h:407:2: error: impossible constraint in 'asm' > 407 | asm("pinsrh_%3 %0, %1, %2\n\t" We could maybe find the arch options with which this actually works, but I don't expect this is really important. Applied to master, thanks. Regards, Arnout > | ^~~ > > Fixes: > - http://autobuild.buildroot.org/results/75267aa5b5a631f091d4c8cb6ad9baeb5f72ee11 > - http://autobuild.buildroot.org/results/55b7431a50b85c24406131af1932d6f3f6853de6 > > Signed-off-by: Fabrice Fontaine > --- > package/pixman/pixman.mk | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk > index 6fab539593..64302fa49a 100644 > --- a/package/pixman/pixman.mk > +++ b/package/pixman/pixman.mk > @@ -19,7 +19,9 @@ HOST_PIXMAN_DEPENDENCIES = host-pkgconf > PIXMAN_AUTORECONF = YES > > # don't build gtk based demos > -PIXMAN_CONF_OPTS = --disable-gtk > +PIXMAN_CONF_OPTS = \ > + --disable-gtk \ > + --disable-loongson-mmi > > # The ARM SIMD code from pixman requires a recent enough ARM core, but > # there is a runtime CPU check that makes sure it doesn't get used if From arnout at mind.be Thu Apr 21 21:01:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 23:01:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-pybind: needs C++ In-Reply-To: <20220418113248.275783-1-fontaine.fabrice@gmail.com> References: <20220418113248.275783-1-fontaine.fabrice@gmail.com> Message-ID: On 18/04/2022 13:32, Fabrice Fontaine wrote: > python-pybind needs C++ since its addition in commit > f42f2a63b3c5733dc56a58b18d6ba417a59d8342: > > -- Check for working CXX compiler: /usr/bin/c++ - broken > CMake Error at /nvmedata/autobuild/instance-24/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): > The C++ compiler > > "/usr/bin/c++" > > is not able to compile a simple test program. > > Fixes: > - http://autobuild.buildroot.org/results/90364b752bef3f7b4b1fd9181e21030349e0e529 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/python-pybind/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/python-pybind/Config.in b/package/python-pybind/Config.in > index 604cb9ee67..6e03cc62fc 100644 > --- a/package/python-pybind/Config.in > +++ b/package/python-pybind/Config.in > @@ -1,8 +1,12 @@ > config BR2_PACKAGE_PYTHON_PYBIND > bool "python-pybind" > + depends on BR2_INSTALL_LIBSTDCPP > help > PyBind is a lightweight header-only library that exposes C++ > types in Python and vice versa, mainly to create Python > bindings of existing C++ code. > > http://pybind11.readthedocs.org/en/master > + > +comment "python-pybind needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Thu Apr 21 21:01:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 23:01:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/coreutils: bump version to 9.1 In-Reply-To: <20220418162045.3408-1-petr.vorel@gmail.com> References: <20220418162045.3408-1-petr.vorel@gmail.com> Message-ID: <2504049d-28e8-065d-c59a-87881825fe74@mind.be> On 18/04/2022 18:20, Petr Vorel wrote: > Signed-off-by: Petr Vorel Applied to master, thanks. I also updated the hash file to two spaces (check-package). Regards, Arnout > --- > Tested: > > bootlin-armv5-uclibc [1/6]: OK > bootlin-armv7-glibc [2/6]: OK > bootlin-armv7m-uclibc [3/6]: SKIPPED > bootlin-x86-64-musl [4/6]: OK > br-arm-full-static [5/6]: OK > sourcery-arm [6/6]: OK > > > package/coreutils/coreutils.hash | 2 +- > package/coreutils/coreutils.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/coreutils/coreutils.hash b/package/coreutils/coreutils.hash > index 758a6341a3..9f3434e58f 100644 > --- a/package/coreutils/coreutils.hash > +++ b/package/coreutils/coreutils.hash > @@ -1,4 +1,4 @@ > # Locally calculated after checking pgp signature > -sha256 ce30acdf4a41bc5bb30dd955e9eaa75fa216b4e3deb08889ed32433c7b3b97ce coreutils-9.0.tar.xz > +sha256 61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423 coreutils-9.1.tar.xz > # Locally computed > sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING > diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk > index 438b7910eb..931859b0ac 100644 > --- a/package/coreutils/coreutils.mk > +++ b/package/coreutils/coreutils.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -COREUTILS_VERSION = 9.0 > +COREUTILS_VERSION = 9.1 > COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils > COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz > COREUTILS_LICENSE = GPL-3.0+ From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/glorytun: fix aarch64 build with uclibc Message-ID: <20220421205206.6B10C840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ce6374f8cd8b99ff4dab680406420d0b23fe63b1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following aarch64 build failure with uclibc: mud/aegis256/aegis256.c:51:10: fatal error: sys/auxv.h: No such file or directory 51 | #include | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/4e1bbd72b9b7e0f9963f6693c3d7bc9a1d24fab4 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-Add-support-for-Apple-silicon.patch | 51 ++++++++++++++++++++++ ...-aegis256.c-fix-aarch64-build-with-uclibc.patch | 43 ++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/package/glorytun/0001-Add-support-for-Apple-silicon.patch b/package/glorytun/0001-Add-support-for-Apple-silicon.patch new file mode 100644 index 0000000000..6d4b8273f3 --- /dev/null +++ b/package/glorytun/0001-Add-support-for-Apple-silicon.patch @@ -0,0 +1,51 @@ +From 577ae0352d191fa604f861ea2f0847e7c5eda617 Mon Sep 17 00:00:00 2001 +From: Frank Denis +Date: Wed, 1 Jul 2020 22:51:43 +0200 +Subject: [PATCH] Add support for Apple silicon + +[Retrieved from: +https://github.com/angt/aegis256/commit/577ae0352d191fa604f861ea2f0847e7c5eda617] +Signed-off-by: Fabrice Fontaine +--- + aegis256.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c +index 9a580bf..75a772c 100644 +--- a/mud/aegis256/aegis256.c ++++ b/mud/aegis256/aegis256.c +@@ -36,7 +36,7 @@ typedef __m128i x128; + #define store128(X,Y) _mm_storeu_si128((x128 *)(X), (Y)) + #define set2x64(X,Y) _mm_set_epi64x((long long)(X), (long long)(Y)) + +-#elif defined(__linux__) && (defined(__ARM_NEON_FP) || defined(__aarch64__)) ++#elif (defined(__APPLE__) || defined(__linux__)) && (defined(__ARM_NEON_FP) || defined(__aarch64__)) + + #ifdef __clang__ + #pragma clang attribute push (__attribute__((target("crypto"))),apply_to=function) +@@ -48,7 +48,9 @@ typedef __m128i x128; + #endif + + #ifdef __ARM_FEATURE_CRYPTO ++#ifdef __linux__ + #include ++#endif + #include + + typedef uint8x16_t x128; +@@ -62,11 +64,15 @@ typedef uint8x16_t x128; + int + aegis256_is_available(void) + { ++#ifdef __linux__ + return (getauxval(AT_HWCAP) & HWCAP_AES) + #ifdef HWCAP2_AES + || (getauxval(AT_HWCAP2) & HWCAP2_AES) + #endif + ; ++#else // __APPLE__ ++ return 1; ++#endif + } + + #endif // __ARM_FEATURE_CRYPTO diff --git a/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch b/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch new file mode 100644 index 0000000000..37ae8a3301 --- /dev/null +++ b/package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch @@ -0,0 +1,43 @@ +From eb22e270a962d4a2da1972304fd8b1216211c9d1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 16 Apr 2022 23:32:55 +0200 +Subject: [PATCH] aegis256.c: fix aarch64 build with uclibc + +Fix the following aarch64 build failure with uclibc: + +mud/aegis256/aegis256.c:51:10: fatal error: sys/auxv.h: No such file or directory + 51 | #include + | ^~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/4e1bbd72b9b7e0f9963f6693c3d7bc9a1d24fab4 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/angt/aegis256/commit/eb22e270a962d4a2da1972304fd8b1216211c9d1] +--- + aegis256.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c +index 75a772c..4e73fab 100644 +--- a/mud/aegis256/aegis256.c ++++ b/mud/aegis256/aegis256.c +@@ -48,7 +48,7 @@ typedef __m128i x128; + #endif + + #ifdef __ARM_FEATURE_CRYPTO +-#ifdef __linux__ ++#if defined(__linux__) && __has_include("sys/auxv.h") + #include + #endif + #include +@@ -64,7 +64,7 @@ typedef uint8x16_t x128; + int + aegis256_is_available(void) + { +-#ifdef __linux__ ++#if defined(__linux__) && __has_include("sys/auxv.h") + return (getauxval(AT_HWCAP) & HWCAP_AES) + #ifdef HWCAP2_AES + || (getauxval(AT_HWCAP2) & HWCAP2_AES) From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/libnspr: fix build failure on mips with musl libc Message-ID: <20220421205206.A081184104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=530c72ad7559e0bdafa86eb81dc1ff2444238e2c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add patch that uses Linux instead of libc since musl doesn't provide it. Patch is pending upstream here: https://bugzilla.mozilla.org/show_bug.cgi?id=1765100 Fixes: http://autobuild.buildroot.net/results/61743bf5ad9ddc69786ae854ed4ab58c59f64dd0/ Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...1-Bug-1765100-fix-build-on-mips-musl-libc.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch b/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch new file mode 100644 index 0000000000..10bf74130c --- /dev/null +++ b/package/libnspr/0001-Bug-1765100-fix-build-on-mips-musl-libc.patch @@ -0,0 +1,33 @@ +From 00e5b818f2d9f3264107801fc2fcff33a9355a78 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sun, 17 Apr 2022 23:55:26 +0200 +Subject: [PATCH] Bug 1765100 - fix build on mips+musl libc + +This patch fix build failure on mips with musl libc by using Linux + instead of the one provided by libc since musl doesn't +provide . + +Signed-off-by: Giulio Benetti +--- +This patch is pending upstream: +https://bugzilla.mozilla.org/show_bug.cgi?id=1765100 +--- + nspr/pr/include/md/_linux.cfg | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/nspr/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg +index 23b160fd..dbc0d40e 100644 +--- a/nspr/pr/include/md/_linux.cfg ++++ b/nspr/pr/include/md/_linux.cfg +@@ -499,7 +499,7 @@ + #elif defined(__mips__) + + /* For _ABI64 */ +-#include ++#include + + #ifdef __MIPSEB__ + #define IS_BIG_ENDIAN 1 +-- +2.25.1 + From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/luarocks: bump to version 3.9.0 Message-ID: <20220421205206.5D0A984104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9cd09d9d3763f977b086f15642471c135a76d717 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/luarocks/luarocks.hash | 2 +- package/luarocks/luarocks.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/luarocks/luarocks.hash b/package/luarocks/luarocks.hash index d80e08a200..14809402d2 100644 --- a/package/luarocks/luarocks.hash +++ b/package/luarocks/luarocks.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923 luarocks-3.8.0.tar.gz +sha256 5e840f0224891de96be4139e9475d3b1de7af3a32b95c1bdf05394563c60175f luarocks-3.9.0.tar.gz sha256 542ad0ee9b8ba582437ca7b4d0959c9b9432f25d2067f144d017188a7a84dd2f COPYING diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk index 028e144e25..b28a1bd577 100644 --- a/package/luarocks/luarocks.mk +++ b/package/luarocks/luarocks.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUAROCKS_VERSION = 3.8.0 +LUAROCKS_VERSION = 3.9.0 LUAROCKS_SITE = https://luarocks.org/releases LUAROCKS_LICENSE = MIT LUAROCKS_LICENSE_FILES = COPYING From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/aircrack-ng: fix sqlite3 build Message-ID: <20220421205206.534DA84105@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8e9b796c990d2aaaa17c711cefef2918b69bc9d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 1.2 in commit 242227dd86efaaec7c785b32a14e8133f2e86dec: powerpc-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from src/aircrack-ng/aircrack-ng.c:54: /usr/include/math.h:476:21: error: '_Float128' is not supported on this target 476 | # define _Mdouble_ _Float128 | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/83a114ce197fb6af53a26ed68184cf3bbb30c8a7 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/aircrack-ng/aircrack-ng.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk index ff87766d6f..95cda7c5a6 100644 --- a/package/aircrack-ng/aircrack-ng.mk +++ b/package/aircrack-ng/aircrack-ng.mk @@ -69,7 +69,7 @@ endif ifeq ($(BR2_PACKAGE_SQLITE),y) AIRCRACK_NG_DEPENDENCIES += sqlite -AIRCRACK_NG_CONF_OPTS += --with-sqlite3 +AIRCRACK_NG_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr else AIRCRACK_NG_CONF_OPTS += --without-sqlite3 endif From arnout at mind.be Thu Apr 21 20:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:39 +0200 Subject: [Buildroot] [git commit] package/pixman: fix mips build Message-ID: <20220421205206.CB511840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e0fbf4dcd4cd0cf17cfe89ebf6808fdace8f01f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable Loongson MMI fast paths to fix the following mips build failure: ./loongson-mmintrin.h:407:2: error: impossible constraint in 'asm' 407 | asm("pinsrh_%3 %0, %1, %2\n\t" | ^~~ Fixes: - http://autobuild.buildroot.org/results/75267aa5b5a631f091d4c8cb6ad9baeb5f72ee11 - http://autobuild.buildroot.org/results/55b7431a50b85c24406131af1932d6f3f6853de6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pixman/pixman.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk index 6fab539593..64302fa49a 100644 --- a/package/pixman/pixman.mk +++ b/package/pixman/pixman.mk @@ -19,7 +19,9 @@ HOST_PIXMAN_DEPENDENCIES = host-pkgconf PIXMAN_AUTORECONF = YES # don't build gtk based demos -PIXMAN_CONF_OPTS = --disable-gtk +PIXMAN_CONF_OPTS = \ + --disable-gtk \ + --disable-loongson-mmi # The ARM SIMD code from pixman requires a recent enough ARM core, but # there is a runtime CPU check that makes sure it doesn't get used if From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/botan: fix mips64 build Message-ID: <20220421205206.AAE1D84105@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fb9a422eba604cbdcd78826a6d520146c4fffad2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable cc-tests to avoid the following build failure on mips64: ERROR: Configured target is mips64 but compiler probe indicates mips32 Fixes: - http://autobuild.buildroot.org/results/c44f44f36686268479563afd879db588e15ede7d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/botan/botan.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/botan/botan.mk b/package/botan/botan.mk index f9ebcf8d0a..6095844b14 100644 --- a/package/botan/botan.mk +++ b/package/botan/botan.mk @@ -15,6 +15,7 @@ BOTAN_INSTALL_STAGING = YES BOTAN_CONF_OPTS = \ --cpu=$(BR2_ARCH) \ + --disable-cc-tests \ --os=linux \ --cc=gcc \ --cc-bin="$(TARGET_CXX)" \ From arnout at mind.be Thu Apr 21 20:05:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:05:38 +0200 Subject: [Buildroot] [git commit] package/mc: fix build with gcc 4.8 Message-ID: <20220421205206.3D11F84042@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c99d2d34298ddfed16581ae3405ed70b52640cb5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc 4.8 raised since bump to version 4.8.26 in commit e648dfa6f7078a6fbbc5feb83292c6a98300fe8f and https://github.com/MidnightCommander/mc/commit/8b4386df83ab5a525f0568113fe1e53d362f433e: tty-ncurses.c: In function 'tty_colorize_area': tty-ncurses.c:575:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int row = 0; row < rows; row++) ^ Fixes: - http://autobuild.buildroot.org/results/d9f0a11bde42fe6ae2e9449d3365609d59a6545d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/mc/mc.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/mc/mc.mk b/package/mc/mc.mk index ac12c2173a..3858d62886 100644 --- a/package/mc/mc.mk +++ b/package/mc/mc.mk @@ -10,7 +10,9 @@ MC_SITE = http://ftp.midnight-commander.org MC_LICENSE = GPL-3.0+ MC_LICENSE_FILES = COPYING MC_DEPENDENCIES = libglib2 host-pkgconf $(TARGET_NLS_DEPENDENCIES) -MC_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) +MC_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) -std=c99" \ + LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_GPM),y) MC_CONF_OPTS += --with-gpm-mouse From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/espeak: fix pulseaudio build Message-ID: <20220421205206.93949840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b87bc7d3ad82f637bb8c9a00a1c433ab9135555c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Pass $(TARGET_CONFIGURE_OPTS) AUDIO="$(ESPEAK_AUDIO_BACKEND)" to ESPEAK_INSTALL_TARGET_CMDS to avoid the following build failure with pulseaudio raised since the addition of the package in commit 10b6d10009c70262cfb492b2abaa3a091a8fb4aa: >>> espeak 1.48.04 Installing to target PATH="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/bin:/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src DESTDIR="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/target" install make[1]: Entering directory '/nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src' g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fPIC -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions wave.cpp -o x_wave.o g++ -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \ x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o -lstdc++ -lportaudio -lpthread /usr/bin/ld: cannot find -lportaudio Fixes: - http://autobuild.buildroot.org/results/a4a6e3203ad70cd724da8130ee1648141ab39a6a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/espeak/espeak.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/espeak/espeak.mk b/package/espeak/espeak.mk index d592673ac5..44893ac9be 100644 --- a/package/espeak/espeak.mk +++ b/package/espeak/espeak.mk @@ -37,7 +37,8 @@ define ESPEAK_BUILD_CMDS endef define ESPEAK_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \ + AUDIO="$(ESPEAK_AUDIO_BACKEND)" DESTDIR="$(TARGET_DIR)" install endef $(eval $(generic-package)) From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/dropbear: bump to version 2022.82 Message-ID: <20220421205206.B7B19840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=064ad45d35ba4fa8042d251c642c0f721ad0a2b2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Support for the Twofish algorithm is removed upstream. The dh_group1 algorithm is now disabled by default. Enable only when BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO is enabled. Signed-off-by: Baruch Siach Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dropbear/dropbear.hash | 2 +- package/dropbear/dropbear.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/dropbear/dropbear.hash b/package/dropbear/dropbear.hash index 82ff454f0a..ff6e312fde 100644 --- a/package/dropbear/dropbear.hash +++ b/package/dropbear/dropbear.hash @@ -1,5 +1,5 @@ # From https://matt.ucc.asn.au/dropbear/releases/SHA256SUM.asc -sha256 48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b dropbear-2020.81.tar.bz2 +sha256 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1 dropbear-2022.82.tar.bz2 # License file, locally computed sha256 a99ce657d790b761c132ee7e0de18edb437ae6361e536d991c6a12f36e770445 LICENSE diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index 1cbe63682c..bfb80345ec 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -4,7 +4,7 @@ # ################################################################################ -DROPBEAR_VERSION = 2020.81 +DROPBEAR_VERSION = 2022.82 DROPBEAR_SITE = https://matt.ucc.asn.au/dropbear/releases DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.bz2 DROPBEAR_LICENSE = MIT, BSD-2-Clause, Public domain @@ -63,12 +63,12 @@ define DROPBEAR_ENABLE_LEGACY_CRYPTO echo '#define DROPBEAR_3DES 1' >> $(@D)/localoptions.h echo '#define DROPBEAR_ENABLE_CBC_MODE 1' >> $(@D)/localoptions.h echo '#define DROPBEAR_SHA1_96_HMAC 1' >> $(@D)/localoptions.h + echo '#define DROPBEAR_DH_GROUP1 1' >> $(@D)/localoptions.h endef DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_ENABLE_LEGACY_CRYPTO else define DROPBEAR_DISABLE_LEGACY_CRYPTO echo '#define DROPBEAR_DSS 0' >> $(@D)/localoptions.h - echo '#define DROPBEAR_DH_GROUP1 0' >> $(@D)/localoptions.h endef DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_LEGACY_CRYPTO endif @@ -87,8 +87,6 @@ DROPBEAR_CONF_OPTS += --disable-zlib --enable-bundled-libtom else define DROPBEAR_BUILD_FEATURED echo '#define DROPBEAR_SMALL_CODE 0' >> $(@D)/localoptions.h - echo '#define DROPBEAR_TWOFISH128 1' >> $(@D)/localoptions.h - echo '#define DROPBEAR_TWOFISH256 1' >> $(@D)/localoptions.h endef DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_FEATURED DROPBEAR_DEPENDENCIES += zlib libtomcrypt From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/minizip: fix build without C++ Message-ID: <20220421205206.7810A840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=845f963842766019d3c83a6ab7ea592bc3017f75 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 2.5.3 in commit fd03e8192f1b4d5eae9a9458c5a06bebfa95fb7c and https://github.com/zlib-ng/minizip-ng/commit/d383a5f2fca127d24407ff26adce579d63b85310: CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-CMakeLists.txt-fix-build-without-C.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch b/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch new file mode 100644 index 0000000000..b0cb6a6c1e --- /dev/null +++ b/package/minizip/0001-CMakeLists.txt-fix-build-without-C.patch @@ -0,0 +1,41 @@ +From 4e7899f3d0533f83b7230ffa787087b65ddd45c0 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 18:20:14 +0200 +Subject: [PATCH] CMakeLists.txt: fix build without C++ + +Fix the following build failure without a working C++ compiler raised +since version 2.0.0 and +https://github.com/zlib-ng/minizip-ng/commit/d383a5f2fca127d24407ff26adce579d63b85310: + +CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): + The C++ compiler + + "/usr/bin/c++" + + is not able to compile a simple test program. + +Fixes: + - http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/zlib-ng/minizip-ng/pull/621] +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fef46c3..83adaf3 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -661,7 +661,7 @@ endif() + list(APPEND MINIZIP_INC ${CMAKE_CURRENT_SOURCE_DIR}) + + # Create minizip library +-project(minizip${MZ_PROJECT_SUFFIX} VERSION ${VERSION}) ++project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) + + if(NOT ${MZ_PROJECT_SUFFIX} STREQUAL "") + message(STATUS "Project configured as ${PROJECT_NAME}") +-- +2.35.1 + From arnout at mind.be Thu Apr 21 20:05:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:05:36 +0200 Subject: [Buildroot] [git commit] package/libsigsegv: bump to version 2.14 Message-ID: <20220421205206.2F7B3840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c6addf4606c3a41cdad5c6ac4c6508b298b6e92a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This bump will fix the following build failure on or1k and microblazeel: In file included from handler.c:20: handler-unix.c: In function 'sigsegv_handler': handler-unix.c:194:28: error: 'struct vma_struct' has no member named 'is_near_this' 194 | : vma.is_near_this (addr, &vma)) | ^ https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=NEWS;h=4d012f8b6cd9b2c1eccbf266a10aae56b0e79978;hb=9ad117adabd223b79e037575e071855c2b8b35c0 https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=ChangeLog;h=c52b227aae190ba9b161282efaa5f33cb4a127f9;hb=9ad117adabd223b79e037575e071855c2b8b35c0 Fixes: - http://autobuild.buildroot.org/results/c693fafb8f1f68be30a281313fb1f0890cc08b1e - http://autobuild.buildroot.org/results/ecde11129d102e3321b2aaef407697c29311c705 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libsigsegv/libsigsegv.hash | 4 ++-- package/libsigsegv/libsigsegv.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libsigsegv/libsigsegv.hash b/package/libsigsegv/libsigsegv.hash index c827e6b866..13978da398 100644 --- a/package/libsigsegv/libsigsegv.hash +++ b/package/libsigsegv/libsigsegv.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.13.tar.gz.sig -sha256 be78ee4176b05f7c75ff03298d84874db90f4b6c9d5503f0da1226b3a3c48119 libsigsegv-2.13.tar.gz +# https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.14.tar.gz.sig +sha256 cdac3941803364cf81a908499beb79c200ead60b6b5b40cad124fd1e06caa295 libsigsegv-2.14.tar.gz # Locally calculated sha256 8f2983e9a940367f48999881c14775db725ee643bce1e2f1ba195eb629a33cde COPYING diff --git a/package/libsigsegv/libsigsegv.mk b/package/libsigsegv/libsigsegv.mk index 87a5d7a124..98bcd55c8c 100644 --- a/package/libsigsegv/libsigsegv.mk +++ b/package/libsigsegv/libsigsegv.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSIGSEGV_VERSION = 2.13 +LIBSIGSEGV_VERSION = 2.14 LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv LIBSIGSEGV_INSTALL_STAGING = YES LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes From arnout at mind.be Thu Apr 21 20:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:39 +0200 Subject: [Buildroot] [git commit] package/coreutils: bump version to 9.1 Message-ID: <20220421205206.DE41784104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=908caefa91dbf70e7f40c61113f0f1ae2b83230d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/coreutils/coreutils.hash | 4 ++-- package/coreutils/coreutils.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/coreutils/coreutils.hash b/package/coreutils/coreutils.hash index 758a6341a3..eb9a5744c6 100644 --- a/package/coreutils/coreutils.hash +++ b/package/coreutils/coreutils.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -sha256 ce30acdf4a41bc5bb30dd955e9eaa75fa216b4e3deb08889ed32433c7b3b97ce coreutils-9.0.tar.xz +sha256 61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423 coreutils-9.1.tar.xz # Locally computed -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index 438b7910eb..931859b0ac 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -4,7 +4,7 @@ # ################################################################################ -COREUTILS_VERSION = 9.0 +COREUTILS_VERSION = 9.1 COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz COREUTILS_LICENSE = GPL-3.0+ From arnout at mind.be Thu Apr 21 20:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:39 +0200 Subject: [Buildroot] [git commit] package/python-pybind: needs C++ Message-ID: <20220421205206.D4B7E840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7d81d082aaaa105fa8ac8d06a4bc9d63cef6352c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-pybind needs C++ since its addition in commit f42f2a63b3c5733dc56a58b18d6ba417a59d8342: -- Check for working CXX compiler: /usr/bin/c++ - broken CMake Error at /nvmedata/autobuild/instance-24/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/90364b752bef3f7b4b1fd9181e21030349e0e529 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-pybind/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-pybind/Config.in b/package/python-pybind/Config.in index 604cb9ee67..6e03cc62fc 100644 --- a/package/python-pybind/Config.in +++ b/package/python-pybind/Config.in @@ -1,8 +1,12 @@ config BR2_PACKAGE_PYTHON_PYBIND bool "python-pybind" + depends on BR2_INSTALL_LIBSTDCPP help PyBind is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code. http://pybind11.readthedocs.org/en/master + +comment "python-pybind needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Thu Apr 21 20:32:39 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:39 +0200 Subject: [Buildroot] [git commit] package/keepalived: fix build with libressl Message-ID: <20220421205206.C258184104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=90bdef4f17d46929c2c0e19110a11dbcc4ba851d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: /nvmedata/autobuild/instance-9/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/10.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: check/libcheck.a(check_ssl.o): in function `ssl_connect': check_ssl.c:(.text+0x7da): undefined reference to `SSL_set0_wbio' Fixes: - http://autobuild.buildroot.org/results/76f72a3c7350ea265e2277c89d68e5256410e94c Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../keepalived/0003-fix-build-with-libressl.patch | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/package/keepalived/0003-fix-build-with-libressl.patch b/package/keepalived/0003-fix-build-with-libressl.patch new file mode 100644 index 0000000000..090d35511c --- /dev/null +++ b/package/keepalived/0003-fix-build-with-libressl.patch @@ -0,0 +1,50 @@ +From bbec15d4781670ac1be5e543cb04543f79200e69 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 12 Apr 2022 20:30:57 +0200 +Subject: [PATCH] fix build with libressl + +SSL_set0_rbio is provided by libressl since version 3.4.0 and +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc +but SSL_set0_wbio is not provided resulting in the following build +failure: + +/nvmedata/autobuild/instance-9/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/10.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: check/libcheck.a(check_ssl.o): in function `ssl_connect': +check_ssl.c:(.text+0x7da): undefined reference to `SSL_set0_wbio' + +Fixes: + - http://autobuild.buildroot.org/results/76f72a3c7350ea265e2277c89d68e5256410e94c + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/acassen/keepalived/commit/bbec15d4781670ac1be5e543cb04543f79200e69] +--- + configure.ac | 2 +- + keepalived/check/check_ssl.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 5a2ea76ec..e8b5ccc41 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1327,7 +1327,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ + AC_CHECK_FUNCS([SSL_CTX_set_verify_depth]) + + # SSL_set0_rbio(), SSL_set0_wbio() OPENSSL_init_crypto() and TLS_method() introduced OpenSSL v1.1.0 +-AC_CHECK_FUNCS([SSL_set0_rbio OPENSSL_init_crypto TLS_method]) ++AC_CHECK_FUNCS([SSL_set0_wbio OPENSSL_init_crypto TLS_method]) + + # In OpenSSL v1.1.1 the call to SSL_CTX_new() fails if OPENSSL_init_crypto() has been called with + # OPENSSL_INIT_NO_LOAD_CONFIG. It does not fail in v1.1.0h and v1.1.1b. +diff --git a/keepalived/check/check_ssl.c b/keepalived/check/check_ssl.c +index 0155fce59..2cbedb8d3 100644 +--- a/keepalived/check/check_ssl.c ++++ b/keepalived/check/check_ssl.c +@@ -234,7 +234,7 @@ ssl_connect(thread_ref_t thread, int new_req) + BIO_get_fd(req->bio, &bio_fd); + if (fcntl(bio_fd, F_SETFD, fcntl(bio_fd, F_GETFD) | FD_CLOEXEC) == -1) + log_message(LOG_INFO, "Setting CLOEXEC failed on ssl socket - errno %d", errno); +-#ifdef HAVE_SSL_SET0_RBIO ++#ifdef HAVE_SSL_SET0_WBIO + BIO_up_ref(req->bio); + SSL_set0_rbio(req->ssl, req->bio); + SSL_set0_wbio(req->ssl, req->bio); From arnout at mind.be Thu Apr 21 20:32:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:32:38 +0200 Subject: [Buildroot] [git commit] package/quazip: doesn't build with zlib-ng Message-ID: <20220421205206.8375C84104@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=338009c7ba33fb718d5d0256f6049d9e593f9464 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master quazip doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of z_crc_t and FAR: https://github.com/zlib-ng/zlib-ng/commit/4db4cfdb5badc8860f7410732b12c45216d709b3 https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: /nvmedata/autobuild/instance-16/output-1/build/quazip-1.2/quazip/unzip.c:196:11: error: unknown type name 'z_crc_t' 196 | const z_crc_t FAR * pcrc_32_tab; | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/02272c154ce58bacf0518dab5fc1ef0084121e1a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/quazip/Config.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/quazip/Config.in b/package/quazip/Config.in index e980297558..a670ed458c 100644 --- a/package/quazip/Config.in +++ b/package/quazip/Config.in @@ -1,10 +1,13 @@ config BR2_PACKAGE_QUAZIP bool "quazip" + depends on BR2_PACKAGE_LIBZLIB depends on BR2_PACKAGE_QT5 - select BR2_PACKAGE_ZLIB help QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit. http://quazip.sourceforge.net + +comment "quazip needs libzlib" + depends on !BR2_PACKAGE_LIBZLIB From arnout at mind.be Thu Apr 21 20:28:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Thu, 21 Apr 2022 22:28:09 +0200 Subject: [Buildroot] [git commit] package/opencv4: add tbb support Message-ID: <20220421205206.4A6A8840FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7a441e4cf967094f2e2429a37dd2107bb91d2a81 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/opencv4/Config.in | 14 ++++++++++++++ package/opencv4/opencv4.mk | 10 ++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in index 31c32385da..23d34a9d22 100644 --- a/package/opencv4/Config.in +++ b/package/opencv4/Config.in @@ -309,6 +309,20 @@ config BR2_PACKAGE_OPENCV4_WITH_PROTOBUF help Use shared protobuf from the target system. +config BR2_PACKAGE_OPENCV4_WITH_TBB + bool "tbb support" + depends on !BR2_TOOLCHAIN_USES_UCLIBC # tbb + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # tbb + select BR2_PACKAGE_TBB + help + Use shared tbb from the target system. + +comment "tbb needs a glibc or musl toolchain" + depends on BR2_TOOLCHAIN_USES_UCLIBC + +comment "tbb needs exception_ptr" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + config BR2_PACKAGE_OPENCV4_WITH_TIFF bool "tiff support" select BR2_PACKAGE_TIFF diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index e75f7144de..0563026b18 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -155,8 +155,7 @@ OPENCV4_CONF_OPTS += \ -DBUILD_WITH_DYNAMIC_IPP=OFF \ -DWITH_INTELPERC=OFF \ -DWITH_IPP=OFF \ - -DWITH_IPP_A=OFF \ - -DWITH_TBB=OFF + -DWITH_IPP_A=OFF # Smartek stuff OPENCV4_CONF_OPTS += -DWITH_GIGEAPI=OFF @@ -313,6 +312,13 @@ else OPENCV4_CONF_OPTS += -DWITH_QT=OFF endif +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TBB),y) +OPENCV4_CONF_OPTS += -DWITH_TBB=ON +OPENCV4_DEPENDENCIES += tbb +else +OPENCV4_CONF_OPTS += -DWITH_TBB=OFF +endif + ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TIFF),y) OPENCV4_CONF_OPTS += -DWITH_TIFF=ON OPENCV4_DEPENDENCIES += tiff From arnout at mind.be Thu Apr 21 21:09:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 21 Apr 2022 23:09:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/zfs: bump version to 2.1.4 In-Reply-To: <20220416164850.1276963-1-salvador.joseluis@gmail.com> References: <20220416164850.1276963-1-salvador.joseluis@gmail.com> Message-ID: <24c989ad-5a35-f874-8629-71eac02ca046@mind.be> Hi Jose?, Thank you for your patch. I have a few comment, could you fix and send an updated patch? I also added a few more people in Cc because there's an issue with kernel dependency that comes up again. On 16/04/2022 18:48, Jos? Luis Salvador Rufo wrote: > Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > because is already merged. > > Added libcurl as required dependency, because zfs keylocation now > requires https support. https also requires openssl. But that's already selected by zfs, so OK. > > In order to support uClibc, we have added the patch > bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream. > > As this version brings support for kernel up to 5.17, we update the > test cases to use the 5.17 kernel. Is 5.17 really the minimum required kernel version? That's just a couple of weeks old... Our default kernel version is still 5.15, and it's going to stay like that for a bit since 5.15 is an LTS... > > Signed-off-by: Jos? Luis Salvador Rufo > --- [snip] > diff --git a/package/zfs/Config.in b/package/zfs/Config.in > index c766c370e4..c450a8b515 100644 > --- a/package/zfs/Config.in > +++ b/package/zfs/Config.in > @@ -5,10 +5,16 @@ comment "zfs needs udev /dev management" > depends on BR2_LINUX_KERNEL > depends on !BR2_PACKAGE_HAS_UDEV > > +comment "zfs needs libcurl" > + depends on BR2_LINUX_KERNEL > + depends on BR2_PACKAGE_HAS_UDEV > + depends on !BR2_PACKAGE_LIBCURL > + > config BR2_PACKAGE_ZFS > bool "zfs" > depends on BR2_LINUX_KERNEL > depends on BR2_PACKAGE_HAS_UDEV > + depends on BR2_PACKAGE_LIBCURL For such dependencies, we prefer to select it rather than depends on. depends on is only for architecture and toolchain dependencies, and in cases that select doesn't work for some other reason (usually circular dependencies). You need to propagate its dependencies then, but libcurl doesn't have any. > depends on BR2_USE_MMU # util-linux (libblkid) > depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc > select BR2_PACKAGE_UTIL_LINUX > diff --git a/package/zfs/zfs.hash b/package/zfs/zfs.hash > index 7f4f5a59f8..411af974c6 100644 > --- a/package/zfs/zfs.hash > +++ b/package/zfs/zfs.hash > @@ -1,5 +1,6 @@ > -# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc > -sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz > +# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc > +sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz > +sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch > > # Hash for license files: > sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE > diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk > index dbda8aceb4..07ce3295ec 100644 > --- a/package/zfs/zfs.mk > +++ b/package/zfs/zfs.mk > @@ -4,17 +4,17 @@ > # > ################################################################################ > > -ZFS_VERSION = 2.0.5 > +ZFS_VERSION = 2.1.4 > ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION) > +ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch > ZFS_LICENSE = CDDL > ZFS_LICENSE_FILES = LICENSE COPYRIGHT > ZFS_CPE_ID_VENDOR = openzfs > ZFS_CPE_ID_PRODUCT = openzfs > > -# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > ZFS_AUTORECONF = YES > > -ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib > +ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl > > # sysvinit installs only a commented-out modules-load.d/ config file > ZFS_CONF_OPTS = \ > diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py > index 772a66c1e4..8c1000e1ca 100644 > --- a/support/testing/tests/package/test_zfs.py > +++ b/support/testing/tests/package/test_zfs.py > @@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest): > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" > + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.3" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" > BR2_PACKAGE_ZFS=y > @@ -22,6 +22,7 @@ class TestZfsGlibc(infra.basetest.BRTest): > BR2_PACKAGE_PYTHON_SETUPTOOLS=y > BR2_PACKAGE_ZLIB_NG=y > BR2_PACKAGE_LIBRESSL=y > + BR2_PACKAGE_LIBCURL=y This won't be needed if you use select in Config.in. Regards, Arnout > BR2_TARGET_ROOTFS_CPIO=y > # BR2_TARGET_ROOTFS_TAR is not set > """ > @@ -70,7 +71,7 @@ class TestZfsUclibc(infra.basetest.BRTest): > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" > + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.3" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" > BR2_PACKAGE_ZFS=y > @@ -79,6 +80,7 @@ class TestZfsUclibc(infra.basetest.BRTest): > BR2_PACKAGE_PYTHON_SETUPTOOLS=y > BR2_PACKAGE_ZLIB_NG=y > BR2_PACKAGE_LIBRESSL=y > + BR2_PACKAGE_LIBCURL=y > BR2_TARGET_ROOTFS_CPIO=y > # BR2_TARGET_ROOTFS_TAR is not set > """ From fontaine.fabrice at gmail.com Thu Apr 21 21:40:30 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 23:40:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/coreutils: drop patch Message-ID: <20220421214030.2348966-1-fontaine.fabrice@gmail.com> Drop patch as it is not needed since bump to version 9.1 in commit 908caefa91dbf70e7f40c61113f0f1ae2b83230d because gnulib has been updated with https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4 Signed-off-by: Fabrice Fontaine --- ...andom.c-fix-build-with-uclibc-1.0.35.patch | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch diff --git a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch deleted file mode 100644 index 88390a1124..0000000000 --- a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch +++ /dev/null @@ -1,46 +0,0 @@ -From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 1 Apr 2021 07:49:46 +0200 -Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 - -Fix the following build failure with uclibc < 1.0.35 which is raised -since the addition of getrandom module in -https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: - -In file included from ./sys/random.h:40, - from getrandom.c:22: -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' - 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) - | ^~~~~~ -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? - 7 | #include - +++ |+#include - 8 | - -This patch is not upstreamable as it is only a workaround for -uclibc < 1.0.35, upstream uclibc has been patched with -https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 - -Fixes: - - http://autobuild.buildroot.org/results/c69f5c8b8e53ed3de753f0c6d2cdd99497504b49 - -Signed-off-by: Fabrice Fontaine ---- - lib/getrandom.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/getrandom.c b/lib/getrandom.c -index 41212fb32..0ad3f9648 100644 ---- a/lib/getrandom.c -+++ b/lib/getrandom.c -@@ -19,6 +19,7 @@ - - #include - -+#include - #include - - #include --- -2.30.2 - -- 2.35.1 From festevam at gmail.com Thu Apr 21 21:56:11 2022 From: festevam at gmail.com (Fabio Estevam) Date: Thu, 21 Apr 2022 18:56:11 -0300 Subject: [Buildroot] [PATCH] configs/kontron_bl_imx8mm_defconfig: Bump U-Boot Message-ID: <20220421215611.1362150-1-festevam@gmail.com> Bump U-Boot to version 2022.04 and remove the two patches that have already been upstreamed. Signed-off-by: Fabio Estevam --- Hi Heiko, This is not tested. Did it by inspection. ...m-kontron-n801x-s-convert-options-to.patch | 31 -- ...m-kontron-n801x-s-add-common-board-u.patch | 305 ------------------ configs/kontron_bl_imx8mm_defconfig | 4 +- 3 files changed, 1 insertion(+), 339 deletions(-) delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch diff --git a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch b/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch deleted file mode 100644 index 6d76282defb2..000000000000 --- a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 95a311af81cd47c44d3d6e3f717f06a06d8f3dfd Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Mon, 10 Jan 2022 14:13:02 +0100 -Subject: [PATCH 1/2] imx: imx8mm: imx8mm-kontron-n801x-s: convert options to Kconfig - -CONFIG_SPL_MMC and CONFIG_SPL_SERIAL - -Patch submitted upstream: -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-1-heiko.thiery at gmail.com/ - -Signed-off-by: Heiko Thiery ---- - configs/kontron-sl-mx8mm_defconfig | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig -index 35d12fca32..940bf07a92 100644 ---- a/configs/kontron-sl-mx8mm_defconfig -+++ b/configs/kontron-sl-mx8mm_defconfig -@@ -15,6 +15,8 @@ CONFIG_SPL_DM_SPI=y - CONFIG_DEFAULT_DEVICE_TREE="imx8mm-kontron-n801x-s" - CONFIG_SPL_TEXT_BASE=0x7E1000 - CONFIG_TARGET_KONTRON_MX8MM=y -+CONFIG_SPL_MMC=y -+CONFIG_SPL_SERIAL=y - CONFIG_BOOTCOUNT_BOOTLIMIT=3 - CONFIG_SPL=y - CONFIG_DISTRO_DEFAULTS=y --- -2.30.2 - diff --git a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch b/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch deleted file mode 100644 index a88d7aba870b..000000000000 --- a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch +++ /dev/null @@ -1,305 +0,0 @@ -From ef694c19c074333fd16589ec6ffef3e7ca895186 Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Wed, 12 Jan 2022 08:44:36 +0100 -Subject: [PATCH 2/2] imx: imx8mm: imx8mm-kontron-n801x-s: add common board - u-boot.dtsi - -When using a board variant that selects the lvds specific dtb the -*.u-boot.dtsi file will not be included. To have a lvds dtb specific -u-boot.dtsi file move this part to a common board u-boot.dtsi file and -include this in the board base u-boot.dtsi and create an additional one -for the lvds variant. - -Patch submitted upstream: -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-2-heiko.thiery at gmail.com/ - -Signed-off-by: Heiko Thiery ---- - .../imx8mm-kontron-n801x-s-lvds-u-boot.dtsi | 6 + - .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 124 +---------------- - arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi | 128 ++++++++++++++++++ - 3 files changed, 135 insertions(+), 123 deletions(-) - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi - -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi -new file mode 100644 -index 0000000000..4bf75722bf ---- /dev/null -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi -@@ -0,0 +1,6 @@ -+// SPDX-License-Identifier: GPL-2.0+ -+/* -+ * Copyright (C) 2019 Kontron Electronics GmbH -+ */ -+ -+#include "imx8mm-kontron-n801x-u-boot.dtsi" -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi -index 22d18e6f1c..4bf75722bf 100644 ---- a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi -@@ -3,126 +3,4 @@ - * Copyright (C) 2019 Kontron Electronics GmbH - */ - --#include "imx8mm-u-boot.dtsi" -- --/ { -- aliases { -- usb0 = &usbotg1; -- usb1 = &usbotg2; -- }; -- -- wdt-reboot { -- compatible = "wdt-reboot"; -- wdt = <&wdog1>; -- u-boot,dm-spl; -- }; -- -- firmware { -- optee { -- compatible = "linaro,optee-tz"; -- method = "smc"; -- }; -- }; --}; -- --&fec1 { -- phy-mode = "rgmii-rxid"; --}; -- --&i2c1 { -- u-boot,dm-spl; -- u-boot,dm-pre-reloc; --}; -- --&i2c2 { -- status = "okay"; -- u-boot,dm-spl; -- u-boot,dm-pre-reloc; --}; -- --&pinctrl_ecspi1 { -- u-boot,dm-spl; --}; -- --&pinctrl_i2c1 { -- u-boot,dm-spl; --}; -- --&pinctrl_pmic { -- u-boot,dm-spl; -- fsl,pins = < -- MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 -- /* Disable Pullup for SD_VSEL */ -- MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 -- >; --}; -- --&pinctrl_uart3 { -- u-boot,dm-spl; -- u-boot,dm-pre-reloc; --}; -- --&pinctrl_usdhc1 { -- u-boot,dm-spl; --}; -- --&pinctrl_usdhc1_100mhz { -- u-boot,dm-spl; --}; -- --&pinctrl_usdhc1_200mhz { -- u-boot,dm-spl; --}; -- --&pinctrl_usdhc2 { -- u-boot,dm-spl; --}; -- --&pca9450 { -- u-boot,dm-spl; --}; -- --&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { -- u-boot,dm-spl; --}; -- --&ecspi1 { -- u-boot,dm-spl; --}; -- --&gpio1 { -- u-boot,dm-spl; --}; -- --&gpio2 { -- u-boot,dm-spl; --}; -- --&gpio3 { -- u-boot,dm-spl; --}; -- --&gpio4 { -- u-boot,dm-spl; --}; -- --&gpio5 { -- u-boot,dm-spl; --}; -- --&uart3 { -- u-boot,dm-spl; -- u-boot,dm-pre-reloc; --}; -- --&usdhc1 { -- u-boot,dm-spl; --}; -- --&usdhc2 { -- u-boot,dm-spl; --}; -- --&wdog1 { -- u-boot,dm-spl; --}; -+#include "imx8mm-kontron-n801x-u-boot.dtsi" -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi -new file mode 100644 -index 0000000000..22d18e6f1c ---- /dev/null -+++ b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi -@@ -0,0 +1,128 @@ -+// SPDX-License-Identifier: GPL-2.0+ -+/* -+ * Copyright (C) 2019 Kontron Electronics GmbH -+ */ -+ -+#include "imx8mm-u-boot.dtsi" -+ -+/ { -+ aliases { -+ usb0 = &usbotg1; -+ usb1 = &usbotg2; -+ }; -+ -+ wdt-reboot { -+ compatible = "wdt-reboot"; -+ wdt = <&wdog1>; -+ u-boot,dm-spl; -+ }; -+ -+ firmware { -+ optee { -+ compatible = "linaro,optee-tz"; -+ method = "smc"; -+ }; -+ }; -+}; -+ -+&fec1 { -+ phy-mode = "rgmii-rxid"; -+}; -+ -+&i2c1 { -+ u-boot,dm-spl; -+ u-boot,dm-pre-reloc; -+}; -+ -+&i2c2 { -+ status = "okay"; -+ u-boot,dm-spl; -+ u-boot,dm-pre-reloc; -+}; -+ -+&pinctrl_ecspi1 { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_i2c1 { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_pmic { -+ u-boot,dm-spl; -+ fsl,pins = < -+ MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 -+ /* Disable Pullup for SD_VSEL */ -+ MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 -+ >; -+}; -+ -+&pinctrl_uart3 { -+ u-boot,dm-spl; -+ u-boot,dm-pre-reloc; -+}; -+ -+&pinctrl_usdhc1 { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_usdhc1_100mhz { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_usdhc1_200mhz { -+ u-boot,dm-spl; -+}; -+ -+&pinctrl_usdhc2 { -+ u-boot,dm-spl; -+}; -+ -+&pca9450 { -+ u-boot,dm-spl; -+}; -+ -+&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { -+ u-boot,dm-spl; -+}; -+ -+&ecspi1 { -+ u-boot,dm-spl; -+}; -+ -+&gpio1 { -+ u-boot,dm-spl; -+}; -+ -+&gpio2 { -+ u-boot,dm-spl; -+}; -+ -+&gpio3 { -+ u-boot,dm-spl; -+}; -+ -+&gpio4 { -+ u-boot,dm-spl; -+}; -+ -+&gpio5 { -+ u-boot,dm-spl; -+}; -+ -+&uart3 { -+ u-boot,dm-spl; -+ u-boot,dm-pre-reloc; -+}; -+ -+&usdhc1 { -+ u-boot,dm-spl; -+}; -+ -+&usdhc2 { -+ u-boot,dm-spl; -+}; -+ -+&wdog1 { -+ u-boot,dm-spl; -+}; --- -2.30.2 - diff --git a/configs/kontron_bl_imx8mm_defconfig b/configs/kontron_bl_imx8mm_defconfig index 2b7e121e252e..705222df2833 100644 --- a/configs/kontron_bl_imx8mm_defconfig +++ b/configs/kontron_bl_imx8mm_defconfig @@ -3,8 +3,6 @@ BR2_aarch64=y BR2_cortex_a53=y BR2_ARM_FPU_VFPV3=y -BR2_GLOBAL_PATCH_DIR="board/kontron/bl-imx8mm/patches" - # System BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" @@ -40,7 +38,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30880 BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron-sl-mx8mm" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -- 2.25.1 From fontaine.fabrice at gmail.com Thu Apr 21 21:54:43 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 23:54:43 +0200 Subject: [Buildroot] [PATCH 1/2] package/zlog: add ZLOG_CPE_ID_VENDOR Message-ID: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> cpe:2.3:a:zlog_project:zlog is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azlog_project%3Azlog Signed-off-by: Fabrice Fontaine --- package/zlog/zlog.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk index e2410d3665..c7b7035c1f 100644 --- a/package/zlog/zlog.mk +++ b/package/zlog/zlog.mk @@ -8,6 +8,7 @@ ZLOG_VERSION = 1.2.15 ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION)) ZLOG_LICENSE = LGPL-2.1 ZLOG_LICENSE_FILES = COPYING +ZLOG_CPE_ID_VENDOR = zlog_project ZLOG_INSTALL_STAGING = YES define ZLOG_BUILD_CMDS -- 2.35.1 From fontaine.fabrice at gmail.com Thu Apr 21 21:54:44 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 21 Apr 2022 23:54:44 +0200 Subject: [Buildroot] [PATCH 2/2] package/zlog: fix CVE-2021-43521 In-Reply-To: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> References: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> Message-ID: <20220421215444.3798671-2-fontaine.fabrice@gmail.com> A Buffer Overflow vulnerability exists in zlog 1.2.15 via zlog_conf_build_with_file in src/zlog/src/conf.c. Signed-off-by: Fabrice Fontaine --- ...verflow-at-zlog_conf_build_with_file.patch | 25 +++++++++++++++++++ package/zlog/zlog.mk | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch diff --git a/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch b/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch new file mode 100644 index 0000000000..d5f23e1b26 --- /dev/null +++ b/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch @@ -0,0 +1,25 @@ +From a5be8b3a8ddc498de4ad041757285136a55d97e3 Mon Sep 17 00:00:00 2001 +From: XiangfeiCH +Date: Tue, 12 Apr 2022 00:13:35 +0800 +Subject: [PATCH] Fix stack-buffer-overflow at zlog_conf_build_with_file + +[Retrieved from: +https://github.com/HardySimpson/zlog/commit/a5be8b3a8ddc498de4ad041757285136a55d97e3] +Signed-off-by: Fabrice Fontaine +--- + src/conf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/conf.c b/src/conf.c +index 0f862fa..9a4cb75 100644 +--- a/src/conf.c ++++ b/src/conf.c +@@ -305,7 +305,7 @@ static int zlog_conf_build_with_file(zlog_conf_t * a_conf) + /* Oops the buffer is full - what now? */ + pline = line; + } else { +- for (p--; isspace((int)*p); --p) ++ for (p--; p >= line && isspace((int)*p); --p) + /*EMPTY*/; + p++; + *p = 0; diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk index c7b7035c1f..1929a45a3e 100644 --- a/package/zlog/zlog.mk +++ b/package/zlog/zlog.mk @@ -11,6 +11,9 @@ ZLOG_LICENSE_FILES = COPYING ZLOG_CPE_ID_VENDOR = zlog_project ZLOG_INSTALL_STAGING = YES +# 0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch +ZLOG_IGNORE_CVES += CVE-2021-43521 + define ZLOG_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \ -C $(@D) all -- 2.35.1 From tianyuanhao3 at 163.com Thu Apr 21 23:55:47 2022 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Thu, 21 Apr 2022 16:55:47 -0700 Subject: [Buildroot] [PATCH] package/systemd: add the missing sgx group In-Reply-To: <20220421191653.GO2730@scaer> References: <20220420135549.3536397-1-tianyuanhao3@163.com> <20220421191653.GO2730@scaer> Message-ID: <0fd2d0f7-d067-0f65-23dd-68aff1e61d94@163.com> Hi Yann, On 4/21/22 12:16, Yann E. MORIN wrote: > Yuanhao, All, > > On 2022-04-20 06:55 -0700, TIAN Yuanhao spake thusly: >> systemd-udevd needs this group: >> /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring >> >> Signed-off-by: TIAN Yuanhao >> --- >> package/systemd/systemd.mk | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk >> index b07fac27d4..44185a35a0 100644 >> --- a/package/systemd/systemd.mk >> +++ b/package/systemd/systemd.mk >> @@ -603,6 +603,7 @@ endef >> >> define SYSTEMD_USERS >> # udev user groups >> + - - sgx -1 * - - - SGX device nodes > This should have been in the udev virtual package, as all the > udev-related users and groups have been moved there to be common between > systemd-udevd and the stand-alone eudev, in commit d648d81dd581 > (packages/{eudev, systemd}: move common users to package/udev). > > Applied to master with this fixed, thanks. > > Would you be kind enough to send a follow-up patch that removes the now > misleading "# udev user groups" comment, and adds a comment, in systemd > and eudev, that directs changes to the udev virtual package instead, > please? I did notice the common rules in the udev virtual package. However "sgx" only appears in systemd but not eudev. Besides, I found that the "render" group in systemd should be "video" in eudev. Regards, TIAN Yuanhao > > Regards, > Yann E. MORIN. > >> # systemd user groups >> - - systemd-journal -1 * - - - Journal >> $(SYSTEMD_REMOTE_USER) >> -- >> 2.25.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot From thomas.petazzoni at bootlin.com Fri Apr 22 04:43:23 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 22 Apr 2022 04:43:23 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-21 Message-ID: <20220422044330.5BD8D41B78@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-21 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 25 | 7 | 0 | 32 | master | 126 | 241 | 0 | 367 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 27 host-gcc-final-10.3.0 | 13 host-elf2flt-7e33f28df198c4... | 12 argp-standalone-1.3 | 10 zchunk-1.2.2 | 10 libwebsockets-4.3.1 | 8 toolchain-external-bootlin-... | 8 tvheadend-1295dd2be863f5beb... | 8 fetchmail-6.4.29 | 7 git-2.31.2 | 6 qpid-proton-0.35.0 | 6 uclibc-1.0.40 | 6 linux-headers-5.15.33 | 5 libopenssl-1.1.1n | 4 linux-5.15.33 | 4 ttyd-1.6.3 | 4 arptables-0.0.5 | 3 bat-0.19.0 | 3 host-go-1.17.9 | 3 perl-5.34.1 | 3 uacme-1.7.1 | 3 elfutils-0.186 | 2 freeradius-client-1.1.7 | 2 frr-8.2.2 | 2 host-erofs-utils-1.4 | 2 host-gcc-final-11.2.0 | 2 host-libcap-2.63 | 2 linux-headers-5.10.104-cip3 | 2 linux-headers-5.10.104-cip3... | 2 netdata-1.33.1 | 2 opencv4-4.5.5 | 2 poppler-21.12.0 | 2 pppd-2.4.9 | 2 python-pybind-2.9.0 | 2 unknown | 2 zlib-ng-2.0.6 | 2 acpid-2.0.33 | 1 aircrack-ng-1.6 | 1 apcupsd-3.14.14 | 1 bird-2.0.8 | 1 bitcoin-0.21.2 | 1 botan-2.19.1 | 1 btrfs-progs-5.16.2 | 1 bubblewrap-0.6.1 | 1 dash-0.5.11.5 | 1 dmalloc-5.6.5 | 1 exempi-2.6.1 | 1 expat-2.4.7 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 glibc-2.34-109-gd64b08d5ba7... | 1 gnuradio-3.8.2.0 | 1 gocryptfs-2.2.1 | 1 host-delve-1.8.0 | 1 host-gcc-final-9.4.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-pahole-v1.23 | 1 host-wayland-1.20.0 | 1 igh-ethercat-1.5.2 | 1 libcap-ng-0.8.3 | 1 libgcrypt-1.10.0 | 1 libglib2-2.70.4 | 1 libgpgme-1.16.0 | 1 libnspr-4.33 | 1 libressl-3.4.3 | 1 libuci-4b3db1179747b6a67790... | 1 minizip-3.0.5 | 1 musl-1.2.2 | 1 netsurf-3.10 | 1 ocf-linux-20120127 | 1 pipewire-0.3.50 | 1 pixman-0.40.0 | 1 postgresql-14.2 | 1 python3-3.10.2 | 1 rauc-1.6 | 1 reaver-1.6.6 | 1 refpolicy | 1 sofia-sip-1.13.6-4152840260 | 1 systemd-250.4 | 1 tbb-2021.5.0 | 1 toolchain-external-bootlin | 1 uhd-3.15.0.0 | 1 vde2-2.3.2 | 1 vlc-3.0.16 | 1 zstd-1.5.2 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/f6391c23c49f3074eeaae3c6936bbc8775c6e728 | ORPH microblaze | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/4b3dc55c793c3cc5c9d445df7bb4ba05560eb48b | sparc | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/325ca513aae23d2a0d4157831032a636973b21e4 | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/30428e7be173d6b5148c75585b75ecd2551cb7eb | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/50cfeb45c080daa80c657e2bbd63bcaad06f526b | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/d6c2619f2de1d49430dd41a8dbaa3d0721a08227 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791 | aarch64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/2126b09ef8f5ef55f3b1e799eff6355aa955eaf5 | mipsel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8d6d22d8807f765e00cc743c4358098a32d5299d | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/81b090d7790ac599cc93d8cf50d7599e7fa53cb5 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b745b984f931340cd45f1154304fd40431e9869e | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4a6bece7f8ed72938dc0a25023491197470df563 | i686 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/620809efcb5588435697b43b29cd590a29193d87 | or1k | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/b242d4b15a4a78906306d99594b57515d35d7686 | ORPH or1k | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/730dce4101e7afcee233067e2870603cd64b8a48 | ORPH mips64el | arptables-0.0.5 | NOK | http://autobuild.buildroot.net/results/24f4ba84a80cd656590a4b995276ecadd057367a | ORPH i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/1c802a78273e14437864d01dd413f51ffad859cd | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/7aaab0fb797725b91fdfd679831b14955b98bd1f | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/35e1cfd08d33be69d248b4e22dc18adcee61552e | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/3825f6298c0f2e0884666b8aabcf45a689c71499 | or1k | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/1234d2173ff28202541c96fe4b133f923b115836 | mipsel | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/b72ee940337f54cbd96030f8b43d1c8893d57533 | ORPH or1k | btrfs-progs-5.16.2 | NOK | http://autobuild.buildroot.net/results/e6aac002b498ebc44120c5f011b61ecd8d9588d9 | ORPH mips64 | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/eb2d9804bac8440949f5667f71c335a3495844d3 | mipsel | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/ab6b79926d95153ba4ff72d23c8415ec0f3615c8 | ORPH powerpc | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/ced05b3a0f6095cfe68b4cbc9e4a224afb886947 | ORPH arceb | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/0405d172bfdcb7a4a8611a98da9474c95260feef | ORPH arc | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/80b646481127dbd7874dae547f42127cb4ab850b | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/624be820d155823c8881f2fc5e977ae1c7c0426a | riscv64 | expat-2.4.7 | NOK | http://autobuild.buildroot.net/results/4e961291fdaa9c8980bb80896e371375b5fba105 | m68k | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/749427cecc7d7018bea026b30dbb2af944d6fbc8 | riscv32 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/17ca31d83cb4fcb444506f498869a2c65b9cf4ef | arceb | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/78164c27b626be1e7efb550d3d9cbe865c6f2cdd | sparc | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/c0a1796ae6ccb42b1c809df4dc60dca83a31877c | powerpc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/ed37b9505a43193d76826ab2f7b8eba4194e40fd | mips | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/61effb47768764703037fa351646e789e80e3924 | microblazeel | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/67c92ce9d94c65ea225d44a7949f513036f537e8 | riscv64 | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/17b2037df260b628c3bdb7e8c54f1ec361f0089a | or1k | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/39f28277ae19c5814493ea23d2d0a7be5964754e | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/51320b21adb05a5f93c9058b27212f57d66aaff5 | arceb | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/1d93f4d6155891532f811bfcffa60259b8dd7aef | aarch64_be | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/70fc0a96faf7160d73c29c300c20ea54cbf738d2 | xtensa | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/b97557325e17cf3f6a1efa5fbdb481c4cae4bf47 | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/d47da4777358b01e6df184134cadc192c9f79a8f | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/26f76bfe966b7f9d477dadd5bccde398bdebc05f | arceb | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/bf2f04b6df67722adeebd6ccc3d9ec724989747d | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/8276315091c226c0e417ceb588c935390e190c5e | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/5a54e53cee357644648de7a240950bcb9e773251 | or1k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/47bacfe0c19fe0a2264b8d40592d1745e41a07b4 | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2d2b5467e6d913fa85e842e69ef00aabb261ece5 | or1k | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/cd6904ed58f24765a704cca7ddb1a58dd2c577f5 | powerpc64 | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/7e3e6686cd99fc6f1f1c59216bb905ac2c4c52a2 | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d57ef36b135a77069db6368c0b4f88796eb9048a | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/99427db87e04e91eb762f0f337f533ff81365441 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e75aa74260eb1873151a2fc0eef3607ab9833442 | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/dd7b2bce6d760b729bac43572347ad7bc7e0f982 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b27054b2299fb9fd92a1ef36fa3f27b9e5676de8 | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/fc6d09f5f8f821b84412eaba17b9d9fc86a7b5ed | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/d27e8978f09d19a5c6e4616526020484463a2044 | i686 | gnuradio-3.8.2.0 | NOK | http://autobuild.buildroot.net/results/75985fd17843f562f5f9731432d3a914b210fa04 | aarch64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/df849386446300305f37820415c135bac1be04d0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b7a5b9922272b3fbacaf7c835906b4b169828dfe | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3dd901a310b1ea0cd39bc5037ae382c755917faa | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0105dc0b8f4be961b89a45281a7a633b21f8bdb1 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5a2299ce744ae2c0ce075ec5295d87ab7dcc7135 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/60c04100df1f8f5673f6afa8cc8aab6b000169a9 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f8557cd5e903ce67dafb38cfd7970383b7e6e2af | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/afc785a52cc7e434567b1cda35abf23fcfed59cb | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cc046c6862afc4ae1626f846359db47594a66ee6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5973912f0ef08a0da9b9d70523f38570a356d548 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6c2115003d1be6b546fbd26fed9ef4b9bdf10424 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c917dc28c156c8977d993a77bbd7d37fcd7ce0fc | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/811d4712033d92081fdb0552961eb222b81c8e44 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/cd65dbec9dae1050f5d6fada86ed4291d92eee18 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7839c6b0064289225df3279081626f37718bb39f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3de7edd37a71c5c0566a8ecb4083a577c929e9b5 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/48bcbb4fa7765fedf184049b5a39d44a16b062fe | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9d5bb487193e303c3dd98054b96b87afa30c6cee | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bf7c4d5cc2c951b3936d70bf3d78a9163889215f | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/33cd0b8313f2b046528e81c471dd41b20d6cfc23 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6ed22afeffa022b32d330de9d1a0559f3f1cc6fe | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5a7212aef761add694bea6d756a8a7bcfe0acc4b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e143597fded1d09b0fa368ae7c4b42a8e19c4943 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d9a04e7d42d446a7fe74962b7c4a6e1aff553aa3 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0de2f02214fea96cc768bdbe97f536cb4a532da4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/c72066d34836545831a02b7e6d9f28b711902a03 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/07beb248e0ee34bfb1922bd04d7ef9c3d5865538 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/415194128a980fc8a849719a87c52172ddf82881 | arm | host-delve-1.8.0 | NOK | http://autobuild.buildroot.net/results/9de3b989f6318aea28df67caae790578678b803a | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f84c538c3f931570a703be5bdc5ff58134384857 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8e6f50226bc0562dafde0b3f3248ba2d009600cc | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/a2d8a69da0869bc406f1fd594abea3f9d6424ea1 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/749e88000b8e3238aa91f8bd70fb215e1cfb1fb4 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/bbaf2f737f563473877d87ed96172d77808b59f1 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/6cabe4c606abc81e5a071cf588c9ebf97bae80a2 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/b348b97ad787895e05620aaf2b8256d09657aabf | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/19ac9fba743dfe12f2b76acd87a51d5c442e4fa0 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5911664e3ab29fd58b40a370b97b0fef990835ae | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/e040e6cfb5685bb14126b1f87690f9147191e596 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5d16c8fd2f98a830dc9a75b14e5aa7f23d784258 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/de6cb19d059f76c0f2f2a92301b422641e6a6d3d | ORPH nios2 | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/a5a2604fa77e084ac01eff83fd8718992b9eb2f7 | aarch64 | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/bfe3d091c79e4ac755c6abe04a5b5d9fbc553f6b | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd72c7fe59ae0e88ffd5f62124288da3d1dc4bf1 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/63c98f6b311c4a3fa66f58a33fb4a05066f04364 | arm | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/8a230a02d18ed9de639cffb1fff9cadf5c3aeaf9 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2fc3df243e1217da0ca645e49d5ef35e0a3ab837 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/46769cf520015c804f6a6e94367848baec6465ec | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5ca427a036dbc7db71d2406d0e4d73ae0c5ca125 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a1ad8b483db3f991a3b7e10bdab7277c17ab67f7 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0c75b3401173c1d9faeae669b4fda5ade87f9ab3 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cfdfff59afd49c174215bd77125f1c93fa928b22 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f0a6a206554b5985abfe7d4fefc0bb0a9d8c436c | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/af88a802e8e83c88e32484872a752473bbc2e792 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f3ef3a8f1cea3b0ad24928fd113e776f7b73a834 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/59f2893866609d18eb83285afae15f9367d407d2 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/ff630a49fd61053e3efec7cccbd4824166142bd4 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/f84c4582668582688c59bb3dc60444d226173ca1 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/6c173ab8fb74a8ae06e7f521bef95c3a3d8aa764 | arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/50e71c71ec7556946132d80d4324aa6583751d61 | ORPH mips64el | host-go-1.17.9 | NOK | http://autobuild.buildroot.net/results/ce18fe377eb32b936164cb6a5899461bec26e438 | i686 | host-go-1.17.9 | NOK | http://autobuild.buildroot.net/results/5a3650349808e9a63321fc4dd96a3a18bda91cad | mips64 | host-go-1.17.9 | NOK | http://autobuild.buildroot.net/results/cd3a59e9a4ff13d729feeb85721a81a8c88c5723 | nios2 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/4445860b22c0adbdcd7815c5aa7c4b75f196b4da | arc | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/91128268ab339509198c32943f78de4ec5991e68 | mips | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/0fce55ee9117f688fd796d111ea76c644e7c70cf | sh4 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/d487d4ec69a6eb1316ffb9311d388ec03d64cd9d | sparc64 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/8fabbdd79ecf2b06b2bf08cca77810a7b51365e8 | arm | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/7e24191158617ed29f3a06f58ecedc99d2771aa3 | powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/acc61894f58b86e79388298afafd892ebcef93b7 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/d9daf55051778a32967ea0caa3bb22ea5fb8c562 | or1k | libgpgme-1.16.0 | NOK | http://autobuild.buildroot.net/results/6ca6d4e6272c8ccda0e45ecfe59f2c2a826fb78e | ORPH mips64el | libnspr-4.33 | NOK | http://autobuild.buildroot.net/results/c777f0c4ea54b559f010a0f4505f97b62a3b3dcd | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/efcaa565b3009f0803f66cb652fccebbf870bdf1 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/fcf8f4323d0afe6245689c0859a3b56f99cc67d3 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6e94890f2f9fcc079e973cfa9000e38e1dbb2a4e | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2c1324f02f155b3cf920692f2f1c9e5914b732cc | m68k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/ff7609ce17a03b1872bc8001e515c785ba79530f | ORPH mips64 | libuci-4b3db1179747b6a67790... | NOK | http://autobuild.buildroot.net/results/df6a448830d589708927c25af475b5cb684882ee | arm | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/b0cb70cb0245f10233f744370fd1762daed3bc06 | mips64el | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/23af32a4e4c63612912b60f365ada30553d12c40 | x86_64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/154095562470bf5022e66cf38078366293719e10 | nios2 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/a2d23f6697e1d42f67e6d0ca60ba658f52724394 | sparc64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/0a743faa3911fe9cc6887ae060e13b904a81cee2 | or1k | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/35912d48d37b77df47aaa9876a523660b73ffa23 | mips | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/78becd69cfea323b9b8bbc77ce97a781f30f215a | m68k | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/3bfdb6d46173de4ea96b6fc1db00b1e7dd560125 | nios2 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/478e78db84dced03a546e5c99ab8db0eee44e7ec | ORPH or1k | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/77bf3d849c267ed3c31d083756aac028f323a912 | ORPH powerpc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/021e8b112b93fe91a22fbd33fadba7770ebe26f9 | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/9d11c31bee7804c642f4e27dbe764cd649cc2182 | ORPH or1k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/86649c6c576aa188f0b340cbf9634e074b8b580c | ORPH or1k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/0c76893b595ac8f63ec695d1019e19ef9bb17cf2 | ORPH powerpc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/0ace08dadc0e391b10b8fd2a7d6e97c4cbf9c7a8 | ORPH powerpc64le | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/2a935fc9f7907cd35d704d10d24610bada0fd293 | ORPH microblazeel | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/6ab693868b049b7800a6915840d15431690a5067 | ORPH m68k | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/db7ef5cefdf551b62692205196815ac94c27edd9 | ORPH s390x | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/57bf1b6bb665d2b1f786f0ac2bfc6bfe330b2c14 | ORPH x86_64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/ae666d4c28d29d589250d620fbc645d38201c469 | ORPH sparc | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/660343ef3044d2b29ce969f4007587787225bba6 | ORPH powerpc64le | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/bf78b16c2604b630bcc15034c7fa7d2aed2d6f84 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/ebcf4543f8bf8fc8eff58f1d9fc9f65bc461e21f | microblazeel | netdata-1.33.1 | NOK | http://autobuild.buildroot.net/results/cc35038535437676b077ea720b2e883c591b9222 | mipsel | netdata-1.33.1 | NOK | http://autobuild.buildroot.net/results/c1da901b71af4f700c27dff5af7b74a9539d29dc | mips64 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/370daa3420cb9188a3b20d9eb59865556fb69706 | or1k | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/5c9f773780083970c67e4312f5bcd602eee87834 | ORPH powerpc | opencv4-4.5.5 | NOK | http://autobuild.buildroot.net/results/b312d2f45eb717d334560c4cb76da8fd24ba1223 | xtensa | opencv4-4.5.5 | NOK | http://autobuild.buildroot.net/results/e2e140927c01fa071743988b305fff69f837d031 | i686 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/dfa82a0a0b9d2d52f69a4a042ee810281cda93a9 | mipsel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/7fb6377070fd3a68195b0d8003dddbdac2617846 | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/30814e55489207711f682921d277087f7dbd024b | x86_64 | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/389133072005829738d156530503a699a4ef1912 | mips64el | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/2d4852d56c3ac80b58cc5750139200d809b3817c | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/5213502a4d3fdf487978b4ededd19f1d805f8251 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/28ccd2c58ea6f33bfe8b68f04f4e9a84ae968bea | arceb | postgresql-14.2 | NOK | http://autobuild.buildroot.net/results/0f47a0201fa2f084308d7e2be797f6f054fd7efd | mips64 | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/6f18168a3ebc8aacab72852f1a17186b93ba7f1d | ORPH microblazeel | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/609684a715f37bdc6be55f08b658ef59bab0f6f5 | ORPH nios2 | python-pybind-2.9.0 | NOK | http://autobuild.buildroot.net/results/1869c2d7fecf58bab99af24305a9adc19f9049c3 | mipsel | python-pybind-2.9.0 | NOK | http://autobuild.buildroot.net/results/d0c34b49242f4ca3cafaa4c0137ec8a73c6b1a79 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/8bf990ead76358ca97816835816e03cd8e7dcaf7 | xtensa | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/0ae5372b87fdb2d83fd953d2ad49d0442b14c8ee | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/38273cbc4126fa277b82e617b9d901abb0bbad15 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/abb78942d0222db8b2bf4c1219adf1da71d5f1cb | powerpc64le | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/ef53b037bae080315b93ac850c2858048e607cc3 | powerpc64le | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/b5214696d45d332ac663440cf5ecc23651bd7a06 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/144d18ee1bbf707f13a982ff78df0f1b2a42db7a | powerpc64 | rauc-1.6 | NOK | http://autobuild.buildroot.net/results/9f018520a1c9372aa5b4a59bb1dac2eea48418d3 | arceb | reaver-1.6.6 | NOK | http://autobuild.buildroot.net/results/70a4323c7d91abcd5e2a3bdf4dc35db465d652ac | or1k | refpolicy | NOK | http://autobuild.buildroot.net/results/984dc1f02191324622fcd8c6e1500a5fcd4864eb | nios2 | sofia-sip-1.13.6-4152840260 | NOK | http://autobuild.buildroot.net/results/2bdc3d6828a7e3bbe8bd38b40c72143ca38007ed | s390x | systemd-250.4 | NOK | http://autobuild.buildroot.net/results/7a343cc8db256775bae8a201aaf382f020bcb359 | nios2 | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/4e1b14ec6bf48e631530d8e1faca899f00e31925 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/84fe861b8bcb401d4d1c9ffda2699d73d28255a2 | arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/469ce7e0af0a76e7addd45652a85da2fe2944e86 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/295b573c8f331222f748c72b78d4721b97c271ce | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/f4096660bd80ccd827d8ed84b8cee8160a80b890 | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/20f60d45a650c6f0e18bd8f07fd4041a1c2030cb | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/45972bcf0ae68979ddd71c2598cf8c6d581b6b2a | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/a3150dc86d5ccf97e1bbc57105d7f8bb9fe9a718 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/99ca5ef16e61df61a35b8e3a10324eaf57f14289 | ORPH sh4 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/6c955a0c47c42bd6da5190a10b1a67cc12b5de53 | ORPH nios2 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/5fe6ad01963ea224ac9eb79b1e6672e685389399 | microblazeel | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/ebf5acce4aa1c2ddd44b877b890a9929de14a78d | mips64el | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/6fe585b2c5b48655dc37778c4353675419a66c9b | arm | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/d6650693eb35e895585a44db9ec1066113b7d392 | arc | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/757db07fa7bae1cfbf91764a95dc811cf16b2f43 | mipsel | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/e77252c54e017b6bd80c135948656019d3c139cd | microblaze | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/b9eb73d09c9441d64448a7f0c59e9546b08ce268 | powerpc | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/3ac973e786705bbb72107d7cb66636c1b58aa501 | i686 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/f75d766ecf76560300e32ccece9cac86c4880a0b | sparc64 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/675e99b94232c0d173e65ea559d822f1879cc530 | xtensa | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/2613456458eb32ada0f7e0cd4d5a42ffa9ec9685 | xtensa | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/9ebede76629cc921e4f7c7b2fb60f020e4096fdd | mipsel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/504986a543136b4a555fa672b41c663549b27683 | or1k | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/a465acb15eca31533c50f2410603dc512886d13a | sparc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/614499c6fe282765a976b91954f2df72c9c88aec | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/348b1926a5f9d337889629b85a4e50b279ddf35f | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9b5ac67c1c689f5fd6981146163f7b5dc8f927c2 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/396e6399300be7caaf48a8ec70d5928cecd85dc4 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/634dddc3c9872d0814b412936c540e6e23aa90ca | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6d8e40cbb9e15776d87d5dd6bdf777633a928dab | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bfc34144529ccdad549fa60cf2466cc89e3d3f05 | microblazeel | uhd-3.15.0.0 | NOK | http://autobuild.buildroot.net/results/5a7e87a816589e2675d38986f34ad6ccd4939dfa | arm | unknown | NOK | http://autobuild.buildroot.net/results/277f1969c31c6b66537e0d0ec7edf1818900734b | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/4d78130c69c530ce858bbab004673aef1444e255 | mips64 | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d | i586 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/9a3b7231f02fe1d20b3f2751db66676afdcf83f7 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/d80a856d8fe103ca2abbe0b13dca636d2af2a0cb | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/45577db086d67dfb89970a7ad0783e9f1f832f06 | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1911a19e37c4d0be6f8c9738b0d242604ef99846 | m68k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/2c2a31288171981426cd9b674571184ccc873d74 | riscv64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/fa7f7b18db7a00d0dffb639ce3f4e70c1a732fe3 | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ce3536df2f39bfad1df6780d52cf564ca709fa1e | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9fcadf647d6b208f359d1aaec9d5236f3b0d00d8 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/426ce9fc61bdba844e80cf3b74d46ffe3af6f738 | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/edfc23dc6d81457d035531cc03db03ba59f81c01 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ca6464dcfb2d6b8bb8c33173584f966a14994b04 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/b12533e6ebcf56a5662c59b6f8051447eb3fb8aa | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c0a9c1fa3012b4b09d7f9a03555a66daab95e767 | ORPH microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/d5e5717f0be49bd3e598235e0b0215f1fd844363 | Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 3 dhcp-4.4.3 | 1 kvm-unit-tests-kvm-unit-tes... | 1 sg3_utils-1.47 | 1 vlc-3.0.16 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- riscv64 | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/8cb50af70355787920316c9671c84cca7da085e2 | ORPH powerpc64le | kvm-unit-tests-kvm-unit-tes... | NOK | http://autobuild.buildroot.net/results/2cb402b8494908a8dc69fc4f6a6ed9767a58d79c | m68k | sg3_utils-1.47 | NOK | http://autobuild.buildroot.net/results/d3b1aa5d811042ce1555cdeed02dd5c1f3797eb6 | nios2 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/810d36821f4b6554f2f4b1f9923af2b79234fdd1 | arm | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/6365649b6ab2bcd2fec5b49801f093c6b087eea3 | sh4 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/9ee21189efc00f18cc57e4bd6634b2d6ed73fece | nios2 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/53b64edf2e81f8790a22df762e946910c2e98501 | -- http://autobuild.buildroot.net From heiko.thiery at gmail.com Fri Apr 22 06:02:11 2022 From: heiko.thiery at gmail.com (Heiko Thiery) Date: Fri, 22 Apr 2022 08:02:11 +0200 Subject: [Buildroot] [PATCH] configs/kontron_bl_imx8mm_defconfig: Bump U-Boot In-Reply-To: <20220421215611.1362150-1-festevam@gmail.com> References: <20220421215611.1362150-1-festevam@gmail.com> Message-ID: Hi Fabio, Am Do., 21. Apr. 2022 um 23:56 Uhr schrieb Fabio Estevam : > > Bump U-Boot to version 2022.04 and remove the two patches > that have already been upstreamed. > > Signed-off-by: Fabio Estevam Thanks for doing this. Acked-By: Heiko Thiery > --- > Hi Heiko, > > This is not tested. > > Did it by inspection. > > ...m-kontron-n801x-s-convert-options-to.patch | 31 -- > ...m-kontron-n801x-s-add-common-board-u.patch | 305 ------------------ > configs/kontron_bl_imx8mm_defconfig | 4 +- > 3 files changed, 1 insertion(+), 339 deletions(-) > delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch > delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch > > diff --git a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch b/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch > deleted file mode 100644 > index 6d76282defb2..000000000000 > --- a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch > +++ /dev/null > @@ -1,31 +0,0 @@ > -From 95a311af81cd47c44d3d6e3f717f06a06d8f3dfd Mon Sep 17 00:00:00 2001 > -From: Heiko Thiery > -Date: Mon, 10 Jan 2022 14:13:02 +0100 > -Subject: [PATCH 1/2] imx: imx8mm: imx8mm-kontron-n801x-s: convert options to Kconfig > - > -CONFIG_SPL_MMC and CONFIG_SPL_SERIAL > - > -Patch submitted upstream: > -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-1-heiko.thiery at gmail.com/ > - > -Signed-off-by: Heiko Thiery > ---- > - configs/kontron-sl-mx8mm_defconfig | 2 ++ > - 1 file changed, 2 insertions(+) > - > -diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig > -index 35d12fca32..940bf07a92 100644 > ---- a/configs/kontron-sl-mx8mm_defconfig > -+++ b/configs/kontron-sl-mx8mm_defconfig > -@@ -15,6 +15,8 @@ CONFIG_SPL_DM_SPI=y > - CONFIG_DEFAULT_DEVICE_TREE="imx8mm-kontron-n801x-s" > - CONFIG_SPL_TEXT_BASE=0x7E1000 > - CONFIG_TARGET_KONTRON_MX8MM=y > -+CONFIG_SPL_MMC=y > -+CONFIG_SPL_SERIAL=y > - CONFIG_BOOTCOUNT_BOOTLIMIT=3 > - CONFIG_SPL=y > - CONFIG_DISTRO_DEFAULTS=y > --- > -2.30.2 > - > diff --git a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch b/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch > deleted file mode 100644 > index a88d7aba870b..000000000000 > --- a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch > +++ /dev/null > @@ -1,305 +0,0 @@ > -From ef694c19c074333fd16589ec6ffef3e7ca895186 Mon Sep 17 00:00:00 2001 > -From: Heiko Thiery > -Date: Wed, 12 Jan 2022 08:44:36 +0100 > -Subject: [PATCH 2/2] imx: imx8mm: imx8mm-kontron-n801x-s: add common board > - u-boot.dtsi > - > -When using a board variant that selects the lvds specific dtb the > -*.u-boot.dtsi file will not be included. To have a lvds dtb specific > -u-boot.dtsi file move this part to a common board u-boot.dtsi file and > -include this in the board base u-boot.dtsi and create an additional one > -for the lvds variant. > - > -Patch submitted upstream: > -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-2-heiko.thiery at gmail.com/ > - > -Signed-off-by: Heiko Thiery > ---- > - .../imx8mm-kontron-n801x-s-lvds-u-boot.dtsi | 6 + > - .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 124 +---------------- > - arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi | 128 ++++++++++++++++++ > - 3 files changed, 135 insertions(+), 123 deletions(-) > - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi > - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi > - > -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi > -new file mode 100644 > -index 0000000000..4bf75722bf > ---- /dev/null > -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi > -@@ -0,0 +1,6 @@ > -+// SPDX-License-Identifier: GPL-2.0+ > -+/* > -+ * Copyright (C) 2019 Kontron Electronics GmbH > -+ */ > -+ > -+#include "imx8mm-kontron-n801x-u-boot.dtsi" > -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi > -index 22d18e6f1c..4bf75722bf 100644 > ---- a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi > -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi > -@@ -3,126 +3,4 @@ > - * Copyright (C) 2019 Kontron Electronics GmbH > - */ > - > --#include "imx8mm-u-boot.dtsi" > -- > --/ { > -- aliases { > -- usb0 = &usbotg1; > -- usb1 = &usbotg2; > -- }; > -- > -- wdt-reboot { > -- compatible = "wdt-reboot"; > -- wdt = <&wdog1>; > -- u-boot,dm-spl; > -- }; > -- > -- firmware { > -- optee { > -- compatible = "linaro,optee-tz"; > -- method = "smc"; > -- }; > -- }; > --}; > -- > --&fec1 { > -- phy-mode = "rgmii-rxid"; > --}; > -- > --&i2c1 { > -- u-boot,dm-spl; > -- u-boot,dm-pre-reloc; > --}; > -- > --&i2c2 { > -- status = "okay"; > -- u-boot,dm-spl; > -- u-boot,dm-pre-reloc; > --}; > -- > --&pinctrl_ecspi1 { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_i2c1 { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_pmic { > -- u-boot,dm-spl; > -- fsl,pins = < > -- MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 > -- /* Disable Pullup for SD_VSEL */ > -- MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 > -- >; > --}; > -- > --&pinctrl_uart3 { > -- u-boot,dm-spl; > -- u-boot,dm-pre-reloc; > --}; > -- > --&pinctrl_usdhc1 { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_usdhc1_100mhz { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_usdhc1_200mhz { > -- u-boot,dm-spl; > --}; > -- > --&pinctrl_usdhc2 { > -- u-boot,dm-spl; > --}; > -- > --&pca9450 { > -- u-boot,dm-spl; > --}; > -- > --&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { > -- u-boot,dm-spl; > --}; > -- > --&ecspi1 { > -- u-boot,dm-spl; > --}; > -- > --&gpio1 { > -- u-boot,dm-spl; > --}; > -- > --&gpio2 { > -- u-boot,dm-spl; > --}; > -- > --&gpio3 { > -- u-boot,dm-spl; > --}; > -- > --&gpio4 { > -- u-boot,dm-spl; > --}; > -- > --&gpio5 { > -- u-boot,dm-spl; > --}; > -- > --&uart3 { > -- u-boot,dm-spl; > -- u-boot,dm-pre-reloc; > --}; > -- > --&usdhc1 { > -- u-boot,dm-spl; > --}; > -- > --&usdhc2 { > -- u-boot,dm-spl; > --}; > -- > --&wdog1 { > -- u-boot,dm-spl; > --}; > -+#include "imx8mm-kontron-n801x-u-boot.dtsi" > -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi > -new file mode 100644 > -index 0000000000..22d18e6f1c > ---- /dev/null > -+++ b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi > -@@ -0,0 +1,128 @@ > -+// SPDX-License-Identifier: GPL-2.0+ > -+/* > -+ * Copyright (C) 2019 Kontron Electronics GmbH > -+ */ > -+ > -+#include "imx8mm-u-boot.dtsi" > -+ > -+/ { > -+ aliases { > -+ usb0 = &usbotg1; > -+ usb1 = &usbotg2; > -+ }; > -+ > -+ wdt-reboot { > -+ compatible = "wdt-reboot"; > -+ wdt = <&wdog1>; > -+ u-boot,dm-spl; > -+ }; > -+ > -+ firmware { > -+ optee { > -+ compatible = "linaro,optee-tz"; > -+ method = "smc"; > -+ }; > -+ }; > -+}; > -+ > -+&fec1 { > -+ phy-mode = "rgmii-rxid"; > -+}; > -+ > -+&i2c1 { > -+ u-boot,dm-spl; > -+ u-boot,dm-pre-reloc; > -+}; > -+ > -+&i2c2 { > -+ status = "okay"; > -+ u-boot,dm-spl; > -+ u-boot,dm-pre-reloc; > -+}; > -+ > -+&pinctrl_ecspi1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_i2c1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_pmic { > -+ u-boot,dm-spl; > -+ fsl,pins = < > -+ MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 > -+ /* Disable Pullup for SD_VSEL */ > -+ MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 > -+ >; > -+}; > -+ > -+&pinctrl_uart3 { > -+ u-boot,dm-spl; > -+ u-boot,dm-pre-reloc; > -+}; > -+ > -+&pinctrl_usdhc1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_usdhc1_100mhz { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_usdhc1_200mhz { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pinctrl_usdhc2 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&pca9450 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { > -+ u-boot,dm-spl; > -+}; > -+ > -+&ecspi1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio2 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio3 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio4 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&gpio5 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&uart3 { > -+ u-boot,dm-spl; > -+ u-boot,dm-pre-reloc; > -+}; > -+ > -+&usdhc1 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&usdhc2 { > -+ u-boot,dm-spl; > -+}; > -+ > -+&wdog1 { > -+ u-boot,dm-spl; > -+}; > --- > -2.30.2 > - > diff --git a/configs/kontron_bl_imx8mm_defconfig b/configs/kontron_bl_imx8mm_defconfig > index 2b7e121e252e..705222df2833 100644 > --- a/configs/kontron_bl_imx8mm_defconfig > +++ b/configs/kontron_bl_imx8mm_defconfig > @@ -3,8 +3,6 @@ BR2_aarch64=y > BR2_cortex_a53=y > BR2_ARM_FPU_VFPV3=y > > -BR2_GLOBAL_PATCH_DIR="board/kontron/bl-imx8mm/patches" > - > # System > BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" > > @@ -40,7 +38,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30880 > BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_VERSION=y > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron-sl-mx8mm" > BR2_TARGET_UBOOT_NEEDS_DTC=y > BR2_TARGET_UBOOT_NEEDS_PYTHON3=y > -- > 2.25.1 > From d.lang at abatec.at Fri Apr 22 07:06:48 2022 From: d.lang at abatec.at (Lang Daniel) Date: Fri, 22 Apr 2022 07:06:48 +0000 Subject: [Buildroot] [PATCH 1/1] package/sam-ba: update link Message-ID: The link to at91.com is outdated and redirects to linux4sam.org Signed-off-by: Daniel Lang --- package/sam-ba/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sam-ba/Config.in.host b/package/sam-ba/Config.in.host index b96e377e79..1967f33ab3 100644 --- a/package/sam-ba/Config.in.host +++ b/package/sam-ba/Config.in.host @@ -7,5 +7,5 @@ config BR2_PACKAGE_HOST_SAM_BA programming the Atmel SAM3, SAM7 and SAM9 ARM-based microcontrollers. - http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools + https://www.linux4sam.org/bin/view/Linux4SAM/SoftwareTools https://www.microchip.com/en-us/development-tool/SAM-BA-IN-SYSTEM-PROGRAMMER -- 2.25.1 From bernd.kuhls at t-online.de Fri Apr 22 07:16:43 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 22 Apr 2022 09:16:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: bump version to 6.17.0 Message-ID: <20220422071643.60273-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/xmrig/xmrig.hash | 2 +- package/xmrig/xmrig.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xmrig/xmrig.hash b/package/xmrig/xmrig.hash index ff5f80a67b..7863c0319d 100644 --- a/package/xmrig/xmrig.hash +++ b/package/xmrig/xmrig.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 245ba47a6b8ae8e9a9df1c055e90f22f944a7d1219416cb30268881d0c0d377b xmrig-6.16.4.tar.gz +sha256 748a989390202ba2d1ccbd9d9a6b8cbd6551149cbab63b347fd1ed6df0254faa xmrig-6.17.0.tar.gz sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE diff --git a/package/xmrig/xmrig.mk b/package/xmrig/xmrig.mk index 1feab499fc..6e21e550a4 100644 --- a/package/xmrig/xmrig.mk +++ b/package/xmrig/xmrig.mk @@ -4,7 +4,7 @@ # ################################################################################ -XMRIG_VERSION = 6.16.4 +XMRIG_VERSION = 6.17.0 XMRIG_SITE = $(call github,xmrig,xmrig,v$(XMRIG_VERSION)) XMRIG_LICENSE = GPL-3.0+ XMRIG_LICENSE_FILES = LICENSE -- 2.30.2 From bernd.kuhls at t-online.de Fri Apr 22 07:32:44 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 22 Apr 2022 09:32:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-skin-confluence: bump version Message-ID: <20220422073244.63829-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-skin-confluence/kodi-skin-confluence.hash | 2 +- package/kodi-skin-confluence/kodi-skin-confluence.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.hash b/package/kodi-skin-confluence/kodi-skin-confluence.hash index e3d1ff73f4..c840e5b161 100644 --- a/package/kodi-skin-confluence/kodi-skin-confluence.hash +++ b/package/kodi-skin-confluence/kodi-skin-confluence.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 49ba4dcf4b512ac0a97bd1a4ebf14685d294d89a7a07c26ddda0fe730c8aa047 kodi-skin-confluence-37a196cdb58c0da87b5b22b047a5d44dc447f1ae.tar.gz +sha256 c57b9a303ad1ebf14ad487901e5da15eba7b3a40304046974fad1d64fb7b8b57 kodi-skin-confluence-e6d31bc84eea73a04b2a23358929d5276be832b8.tar.gz sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.txt diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.mk b/package/kodi-skin-confluence/kodi-skin-confluence.mk index fcae506d1e..c32718fd10 100644 --- a/package/kodi-skin-confluence/kodi-skin-confluence.mk +++ b/package/kodi-skin-confluence/kodi-skin-confluence.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_SKIN_CONFLUENCE_VERSION = 37a196cdb58c0da87b5b22b047a5d44dc447f1ae +KODI_SKIN_CONFLUENCE_VERSION = e6d31bc84eea73a04b2a23358929d5276be832b8 KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION)) KODI_SKIN_CONFLUENCE_LICENSE = GPL-2.0 KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt -- 2.30.2 From fontaine.fabrice at gmail.com Fri Apr 22 07:44:56 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 09:44:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/adwaita-icon-theme: needs host gcc >= 4.9 Message-ID: <20220422074456.4104082-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump of harfbuzz to version 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: In file included from ../src/hb.hh:473:0, from ../src/hb-buffer-verify.cc:27: ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' hb_enable_if (std::is_trivially_copy_assignable::value)> ^ Fixes: - http://autobuild.buildroot.org/results/bbc48cb5232c617d4ff1d0bafd63bb3c9c72d556 Signed-off-by: Fabrice Fontaine --- package/adwaita-icon-theme/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/adwaita-icon-theme/Config.in b/package/adwaita-icon-theme/Config.in index d200570e76..71b839d996 100644 --- a/package/adwaita-icon-theme/Config.in +++ b/package/adwaita-icon-theme/Config.in @@ -1,5 +1,10 @@ config BR2_PACKAGE_ADWAITA_ICON_THEME bool "adwaita icon theme" depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 + # host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz + depends on BR2_HOST_GCC_AT_LEAST_4_9 help Adwaita icon theme + +comment "adwaita icon theme needs host gcc >= 4.9" + depends on !BR2_HOST_GCC_AT_LEAST_4_9 -- 2.35.1 From thomas.perrot at bootlin.com Fri Apr 22 10:09:00 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Fri, 22 Apr 2022 12:09:00 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <87pmlbr70w.fsf@tarshish> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> <20220420083923.3875405-2-thomas.perrot@bootlin.com> <87pmlbr70w.fsf@tarshish> Message-ID: <13e22a566019cfbb7f9a6de52a485dad687e1217.camel@bootlin.com> Hello Baruch, On Wed, 2022-04-20 at 20:28 +0300, Baruch Siach wrote: > Hi Thomas, > > On Wed, Apr 20 2022, Thomas Perrot via buildroot wrote: > > This package provides i.MX Code Signing Tools uses to sign i.MX > > bootloader > > to enable secure boot (HABv4 and AHAB). > > > > Signed-off-by: Thomas Perrot > > --- > > [...] > > > diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx- > > cst.mk > > new file mode 100644 > > index 000000000000..c91dfb602cbf > > --- /dev/null > > +++ b/package/imx-cst/imx-cst.mk > > @@ -0,0 +1,49 @@ > > +################################################################## > > ############## > > +# > > +# imx-cst > > +# > > +################################################################## > > ############## > > + > > +# debian/3.3.1+dfsg-2 > > +IMX_CST_SITE = > > https://gitlab.apertis.org/pkg/imx-code-signing-tool.git > > +IMX_CST_SITE_METHOD = git > > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > > +IMX_CST_LICENSE = BSD-3-Clause > > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 > > + > > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > > + > > +ifneq ($(filter %64,$(HOSTARCH)),) > > +HOST_IMX_CST_OSTYPE = linux64 > > +else > > +HOST_IMX_CST_OSTYPE = linux32 > > +endif > > It looks like the only difference between 64 and 32 is in openssl > build > rule, and for x86 (host) targets only. We don't use this openssl rule > since we build host-openssl with our own rules. So maybe we can just > arbitrarily choose hard coded 'linux64'. It seems that > debian/Makefile > does that. Thanks for your review, I?m submitting a v3 with the OSTYPE variable hardcoded to linux64. Kind regards, Thomas > > baruch > > > + > > +# We don't use HOST_CONFIGURE_OPTS when building cst, because we > > need > > +# to preserve the CFLAGS/LDFLAGS used by their Makefile. > > +define HOST_IMX_CST_BUILD_CMDS > > +???????$(HOST_MAKE_ENV) $(MAKE) \ > > +???????????????OSTYPE=$(HOST_IMX_CST_OSTYPE) \ > > +???????????????ENCRYPTION=yes \ > > +???????????????AR="$(HOSTAR)" \ > > +???????????????CC="$(HOSTCC)" \ > > +???????????????LD="$(HOSTCC)" \ > > +???????????????OBJCOPY="$(HOSTOBJCOPY)" \ > > +???????????????RANLIB="$(HOSTRANLIB)" \ > > +???????????????EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > > +???????????????EXTRALDFLAGS="$(HOST_LDFLAGS)" \ > > +???????????????PWD=$(@D)/code/cst \ > > +???????????????-C $(@D)/code/cst \ > > +???????????????build > > +???????$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > > +???????????????COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) > > $(HOST_LDFLAGS)" \ > > +???????????????-C $(@D)/code/hab_csf_parser > > +endef > > + > > +define HOST_IMX_CST_INSTALL_CMDS > > +???????$(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst > > $(HOST_DIR)/bin/cst > > +???????$(INSTALL) -D -m 755 > > $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool > > +???????$(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser > > $(HOST_DIR)/bin/csf_parser > > +endef > > + > > +$(eval $(host-generic-package)) > > -- Thomas Perrot, Bootlin Embedded Linux and kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: This is a digitally signed message part URL: From thomas.perrot at bootlin.com Fri Apr 22 10:09:18 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Fri, 22 Apr 2022 12:09:18 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/imx-cst: new package Message-ID: <20220422100918.2818811-1-thomas.perrot@bootlin.com> This package provides i.MX Code Signing Tools uses to sign i.MX bootloader to enable secure boot (HABv4 and AHAB). Signed-off-by: Thomas Perrot --- Changes v2: - Add a trailing slash - Preserve CFLAGS and LDFLAGS Changes v3: - Hard code the OSTYPE variable to linux64 DEVELOPERS | 1 + package/Config.in.host | 1 + package/imx-cst/Config.in.host | 8 +++++++ package/imx-cst/imx-cst.hash | 3 +++ package/imx-cst/imx-cst.mk | 43 ++++++++++++++++++++++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 package/imx-cst/Config.in.host create mode 100644 package/imx-cst/imx-cst.hash create mode 100644 package/imx-cst/imx-cst.mk diff --git a/DEVELOPERS b/DEVELOPERS index 6e49334dcc42..86cb04e54e5d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2767,6 +2767,7 @@ F: package/xorcurses/ N: Thomas Perrot F: package/byacc/ +F: package/imx-cst/ N: Thomas Petazzoni F: arch/Config.in.arm diff --git a/package/Config.in.host b/package/Config.in.host index cd1c34b5a3d9..282594b40b8d 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -40,6 +40,7 @@ menu "Host utilities" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" + source "package/imx-cst/Config.in.host" source "package/imx-mkimage/Config.in.host" source "package/imx-usb-loader/Config.in.host" source "package/jh71xx-tools/Config.in.host" diff --git a/package/imx-cst/Config.in.host b/package/imx-cst/Config.in.host new file mode 100644 index 000000000000..84cb825e59cf --- /dev/null +++ b/package/imx-cst/Config.in.host @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HOST_IMX_CST + bool "host imx-cst" + help + I.MX code signing tool provides software code signing + support designed that integrate the HABv4 and AHAB + library. + + https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL diff --git a/package/imx-cst/imx-cst.hash b/package/imx-cst/imx-cst.hash new file mode 100644 index 000000000000..9c27bfe82038 --- /dev/null +++ b/package/imx-cst/imx-cst.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2bcc03c7cedba58f7207a72a28e75cfe78007988d68c1095c793cce991c2936e imx-cst-e2c687a856e6670e753147aacef42d0a3c07891a-br1.tar.gz +sha256 5dee6f54c636a97b15d7e9dfc8075248c36764b3819828cbc94cbd17c1755fb9 LICENSE.bsd3 diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx-cst.mk new file mode 100644 index 000000000000..120f9c5575e1 --- /dev/null +++ b/package/imx-cst/imx-cst.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# imx-cst +# +################################################################################ + +# debian/3.3.1+dfsg-2 +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git +IMX_CST_SITE_METHOD = git +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a +IMX_CST_LICENSE = BSD-3-Clause +IMX_CST_LICENSE_FILES = LICENSE.bsd3 + +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl + +# We don't use HOST_CONFIGURE_OPTS when building cst, because we need +# to preserve the CFLAGS/LDFLAGS used by their Makefile. +define HOST_IMX_CST_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) \ + OSTYPE=linux64 \ + ENCRYPTION=yes \ + AR="$(HOSTAR)" \ + CC="$(HOSTCC)" \ + LD="$(HOSTCC)" \ + OBJCOPY="$(HOSTOBJCOPY)" \ + RANLIB="$(HOSTRANLIB)" \ + EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ + EXTRALDFLAGS="$(HOST_LDFLAGS)" \ + PWD=$(@D)/code/cst \ + -C $(@D)/code/cst \ + build + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ + COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ + -C $(@D)/code/hab_csf_parser +endef + +define HOST_IMX_CST_INSTALL_CMDS + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst $(HOST_DIR)/bin/cst + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool + $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser +endef + +$(eval $(host-generic-package)) -- 2.35.1 From thomas.petazzoni at bootlin.com Fri Apr 22 10:16:43 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 22 Apr 2022 12:16:43 +0200 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <13e22a566019cfbb7f9a6de52a485dad687e1217.camel@bootlin.com> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> <20220420083923.3875405-2-thomas.perrot@bootlin.com> <87pmlbr70w.fsf@tarshish> <13e22a566019cfbb7f9a6de52a485dad687e1217.camel@bootlin.com> Message-ID: <20220422121639.5118cd38@windsurf> Hello, On Fri, 22 Apr 2022 12:09:00 +0200 Thomas Perrot wrote: > > It looks like the only difference between 64 and 32 is in openssl > > build > > rule, and for x86 (host) targets only. We don't use this openssl rule > > since we build host-openssl with our own rules. So maybe we can just > > arbitrarily choose hard coded 'linux64'. It seems that > > debian/Makefile > > does that. > > Thanks for your review, I?m submitting a v3 with the OSTYPE variable > hardcoded to linux64. No, please don't. We're doing the build like this: build: $(MAKE) -C $(CST_CODE_PATH)/obj.$(OSTYPE) build And code/cst/code/obj.linux32/Makefile contains: COPTIONS += -m32 LDOPTIONS += -m32 while code/cst/code/obj.linux64/Makefile contains COPTIONS += -m64 LDOPTIONS += -m64 And I can definitely see the -m64 being added in the compiler flags when doing a build on a x86-64 host (run the build with VERBOSE=1, you will see). So if you use linux64 unconditionally, the CST binaries will be built with -m64, even on 32-bit host machines => bad. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From flaniel at linux.microsoft.com Fri Apr 22 14:31:32 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 15:31:32 +0100 Subject: [Buildroot] [RFC PATCH v3 0/2] Bump sysdig to 0.29.1 Message-ID: <20220422143134.28561-1-flaniel@linux.microsoft.com> Hi. In this contribution, I bumped sysdig version to 0.29.1. Indeed, following this discussion [1], Arnout Vandecappelle noted sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses the open() syscall. To fix this, I bumped sysdig to 0.29.1. Sadly, some components of sysdig, like libsinsp, libscap and the kernel modules, were moved to falcosecurity/libs. So, I added the falcosecurity-libs package. A new patch was added to sysdig recipe to avoid compiling again falcosecurity-libs. Nonetheless, this patch is a bit big, so I prefered to keep the RFC tag to gather your opinion about it. I was nonetheless able to build and run sysdig with start-qemu.sh: Welcome to Buildroot buildroot login: root # scap: loading out-of-tree module taints kernel. scap: driver loading, scap 0.1.1dev scap: adding new consumer (____ptrval____) scap: initializing ring buffer for CPU 0 scap: CPU buffer initialized, size=8388608 scap: starting capture 2 14:29:14.500045202 0 (113) > switch next=10 pgft_maj=212 pgft_min=1175 vm_size=45204 vm_rss=18256 vm_swap=0 ... 97 14:29:14.514272929 0 (113) > switch next=114 pgft_maj=213 pgft_min=1180 vm_size=45204 vm_rss=18256 vm_swap= scap: deallocating consumer (____ptrval____) scap: no more consumers, stopping capture So, if you see a particular way to fix the problem I described above or any problem with this contribution, feel free to share it! Changes since: v2: - Add linux CONFIG_ option to execute falcosecurity-libs kernel module. - falcosecurity-libs driver name was set so sysdig automatically loads it. Francis Laniel (2): falcosecurity-libs: add new package package/sysdig: bump to 0.29.1 DEVELOPERS | 1 + package/Config.in | 1 + ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 ++++++++ package/falcosecurity-libs/Config.in | 38 +++++++++ .../falcosecurity-libs.hash | 5 ++ .../falcosecurity-libs/falcosecurity-libs.mk | 75 +++++++++++++++++ ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ package/sysdig/Config.in | 31 ++----- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 55 ++++++------- 13 files changed, 295 insertions(+), 188 deletions(-) create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch create mode 100644 package/falcosecurity-libs/Config.in create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch create mode 100644 package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch Best regards and thank you in advance. --- [1] https://marc.info/?l=buildroot&m=164951521629400 -- 2.25.1 From flaniel at linux.microsoft.com Fri Apr 22 14:31:33 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 15:31:33 +0100 Subject: [Buildroot] [RFC PATCH v3 1/2] falcosecurity-libs: add new package In-Reply-To: <20220422143134.28561-1-flaniel@linux.microsoft.com> References: <20220422143134.28561-1-flaniel@linux.microsoft.com> Message-ID: <20220422143134.28561-2-flaniel@linux.microsoft.com> Signed-off-by: Francis Laniel --- DEVELOPERS | 1 + package/Config.in | 1 + ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 +++++++++ package/falcosecurity-libs/Config.in | 38 ++++++++++ .../falcosecurity-libs.hash | 5 ++ .../falcosecurity-libs/falcosecurity-libs.mk | 75 +++++++++++++++++++ 6 files changed, 154 insertions(+) create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch create mode 100644 package/falcosecurity-libs/Config.in create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..d45d3d2a7b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -969,6 +969,7 @@ F: package/ipmitool/ F: package/odhcploc/ N: Francis Laniel +F: package/falcosecurity-libs F: package/pahole/ F: package/sysdig/ F: package/tbb/ diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..3070094cc0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1935,6 +1935,7 @@ menu "Other" source "package/eigen/Config.in" source "package/elfutils/Config.in" source "package/ell/Config.in" + source "package/falcosecurity-libs/Config.in" source "package/fftw/Config.in" source "package/flann/Config.in" source "package/flatbuffers/Config.in" diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch new file mode 100644 index 0000000000..6141d8ef72 --- /dev/null +++ b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch @@ -0,0 +1,34 @@ +From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Tue, 12 Apr 2022 19:54:11 +0100 +Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN. + +This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with: +cmake -DGRPC_CPP_PLUGIN=/path + +Signed-off-by: Francis Laniel +--- + cmake/modules/grpc.cmake | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake +index e5fd16b8..9d8f5934 100644 +--- a/cmake/modules/grpc.cmake ++++ b/cmake/modules/grpc.cmake +@@ -12,9 +12,11 @@ elseif(NOT USE_BUNDLED_GRPC) + set(GRPCPP_LIB gRPC::grpc++) + + # gRPC C++ plugin +- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) + if(NOT GRPC_CPP_PLUGIN) +- message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) ++ if(NOT GRPC_CPP_PLUGIN) ++ message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ endif() + endif() + + # gRPC include dir + properly handle grpc{++,pp} +-- +2.25.1 + diff --git a/package/falcosecurity-libs/Config.in b/package/falcosecurity-libs/Config.in new file mode 100644 index 0000000000..9dd9221caa --- /dev/null +++ b/package/falcosecurity-libs/Config.in @@ -0,0 +1,38 @@ +config BR2_PACKAGE_FALCOSECURITY_LIBS + bool "sysdig" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_LINUX_KERNEL + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # jq, protobuf, tbb + depends on !BR2_STATIC_LIBS # protobuf, tbb + depends on BR2_TOOLCHAIN_USES_GLIBC # tbb + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC + select BR2_PACKAGE_GTEST + select BR2_PACKAGE_HOST_GRPC + select BR2_PACKAGE_HOST_PROTOBUF + select BR2_PACKAGE_JQ + select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_LIBB64 + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB + select BR2_PACKAGE_VALIJSON + select BR2_PACKAGE_ZLIB + help + falcosecurity/libs provides libsinsp, libscap, the kernel module driver + and the eBPF driver sources. + + https://github.com/falcosecurity/libs + +comment "falcosecurity-libs needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_USES_GLIBC \ + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/falcosecurity-libs/falcosecurity-libs.hash b/package/falcosecurity-libs/falcosecurity-libs.hash new file mode 100644 index 0000000000..7608c67590 --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.hash @@ -0,0 +1,5 @@ +# sha256 locally computed +sha256 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz +sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt +sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/falcosecurity-libs/falcosecurity-libs.mk b/package/falcosecurity-libs/falcosecurity-libs.mk new file mode 100644 index 0000000000..cd5007164c --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.mk @@ -0,0 +1,75 @@ +################################################################################ +# +# falcosecurity-libs +# +################################################################################ + +FALCOSECURITY_LIBS_VERSION = e5c53d648f3c4694385bbe488e7d47eaa36c229a +FALCOSECURITY_LIBS_SITE = $(call github,falcosecurity,libs,$(FALCOSECURITY_LIBS_VERSION)) +FALCOSECURITY_LIBS_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) +FALCOSECURITY_LIBS_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +FALCOSECURITY_LIBS_CPE_ID_VENDOR = falco +FALCOSECURITY_LIBS_CONF_OPTS = \ + -DENABLE_DKMS=OFF \ + -DUSE_BUNDLED_DEPS=OFF \ + -DWITH_CHISEL=ON \ + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson +FALCOSECURITY_LIBS_SUPPORTS_IN_SOURCE_BUILD = NO + +FALCOSECURITY_LIBS_DEPENDENCIES = \ + c-ares \ + elfutils \ + grpc \ + gtest \ + host-grpc \ + host-protobuf \ + jq \ + jsoncpp \ + libb64 \ + libcurl \ + luainterpreter \ + openssl \ + protobuf \ + tbb \ + valijson \ + zlib + +FALCOSECURITY_LIBS_DRIVER_NAME = scap + +# Don't build the driver as part of the 'standard' procedure, we'll +# build it on our own with the kernel-module infra. +# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host +# one there. +FALCOSECURITY_LIBS_CONF_OPTS += -DBUILD_DRIVER=OFF -DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin -DDRIVER_NAME=$(FALCOSECURITY_LIBS_DRIVER_NAME) + +FALCOSECURITY_LIBS_MODULE_SUBDIRS = driver +FALCOSECURITY_LIBS_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) + +# falcosecurity-libs needs these two kernel options to be set: +# CONFIG_TRACEPOINTS +# CONFIG_HAVE_SYSCALL_TRACEPOINTS +# https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-from-the-Source-Code#linux-and-osx +# CONFIG_FTRACE and CONFIG_SCHED_TRACER selects CONFIG_GENERIC_TRACER which in +# turns select CONFIG_TRACING which in turns select CONFIG_TRACEPOINTS +define FALCOSECURITY_LIBS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE) + $(call KCONFIG_ENABLE_OPT,CONFIG_SCHED_TRACER) + $(call KCONFIG_ENABLE_OPT,CONFIG_HAVE_SYSCALL_TRACEPOINTS) +endef + +# falcosecurity-libs creates the module Makefile from a template, which contains +# a single place-holder, KBUILD_FLAGS, wich is only replaced with debug flags, +# which we don't care about here. +# So, just replace the place-holder with the only meaningful value: nothing. +# For the DRIVER_NAME, we set it to FALCOSECURITY_LIBS_DRIVER_NAME. +# So, when sysdig will be run, it will automatically load +# FALCOSECURITY_LIBS_DRIVER_NAME.ko. +define FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile + $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile + $(SED) 's/@DRIVER_NAME@/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/Makefile +endef +FALCOSECURITY_LIBS_POST_PATCH_HOOKS += FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + +$(eval $(kernel-module)) +$(eval $(cmake-package)) -- 2.25.1 From flaniel at linux.microsoft.com Fri Apr 22 14:31:34 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 15:31:34 +0100 Subject: [Buildroot] [RFC PATCH v3 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: <20220422143134.28561-1-flaniel@linux.microsoft.com> References: <20220422143134.28561-1-flaniel@linux.microsoft.com> Message-ID: <20220422143134.28561-3-flaniel@linux.microsoft.com> sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() syscall [1]. This patch bumps its version to enable cross-compilation. By doing so, we can remove the previous patches. But this commit introduces new patches. Indeed, libsinsp (lib system inspection), libscap (lib system capture) and the kernel module were moved to falcosecurity/libs. Sadly, it is not possible to compile sysdig with pre-compiled libs (like we do in buildroot). So, this contribution introduces a new patch to build sysdig with already built falcosecurity/libs. [1] https://marc.info/?l=buildroot&m=164951521629400 Signed-off-by: Francis Laniel --- ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ package/sysdig/Config.in | 31 ++----- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 55 ++++++------- 7 files changed, 141 insertions(+), 188 deletions(-) create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch create mode 100644 package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch diff --git a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch new file mode 100644 index 0000000000..29f03b1b61 --- /dev/null +++ b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch @@ -0,0 +1,51 @@ +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 13 Apr 2022 18:01:11 +0100 +Subject: [PATCH 1/2] cmake: Check USE_BUNDLED_DEPS before getting + nlohmann-json. + +Signed-off-by: Francis Laniel +--- + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- + 1 file changed, 19 insertions(+), 10 deletions(-) + +diff --git a/cmake/modules/nlohmann-json.cmake b/cmake/modules/nlohmann-json.cmake +index bb1279d7..feb0f071 100644 +--- a/cmake/modules/nlohmann-json.cmake ++++ b/cmake/modules/nlohmann-json.cmake +@@ -16,13 +16,22 @@ + # limitations under the License. + # + +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") +-ExternalProject_Add( +- njson +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" +- URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" +- CONFIGURE_COMMAND "" +- BUILD_COMMAND "" +- INSTALL_COMMAND "") ++if(NOT USE_BUNDLED_DEPS) ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) ++ if(NJSON_INCLUDE_DIR) ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") ++ else() ++ message(FATAL_ERROR "Couldn't find system njson") ++ endif() ++else() ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") ++ ExternalProject_Add( ++ njson ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" ++ URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" ++ CONFIGURE_COMMAND "" ++ BUILD_COMMAND "" ++ INSTALL_COMMAND "") ++endif() +-- +2.25.1 + diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch deleted file mode 100644 index 7873210281..0000000000 --- a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch +++ /dev/null @@ -1,82 +0,0 @@ -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Wed, 6 Apr 2022 16:54:37 +0100 -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. - -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and -luaL_Reg. -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function -call as well. -Note that, this PATCH_COMMAND was added in sysdig in: -a064440394c9 ("Adding power support to Travis builds (#1566)") - -This patch is also present in kubernetes/minikube in: -f036c279bc59 ("Add patch for compiling sysdig with system luajit") - -Signed-off-by: Francis Laniel ---- - userspace/libsinsp/chisel.cpp | 6 +++--- - userspace/libsinsp/lua_parser.cpp | 2 +- - userspace/libsinsp/lua_parser_api.cpp | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp -index 0a6e3cf8..0c2e255a 100644 ---- a/userspace/libsinsp/chisel.cpp -+++ b/userspace/libsinsp/chisel.cpp -@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) - // Lua callbacks - /////////////////////////////////////////////////////////////////////////////// - #ifdef HAS_LUA_CHISELS --const static struct luaL_reg ll_sysdig [] = -+const static struct luaL_Reg ll_sysdig [] = - { - {"set_filter", &lua_cbacks::set_global_filter}, - {"set_snaplen", &lua_cbacks::set_snaplen}, -@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_chisel [] = -+const static struct luaL_Reg ll_chisel [] = - { - {"request_field", &lua_cbacks::request_field}, - {"set_filter", &lua_cbacks::set_filter}, -@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_evt [] = -+const static struct luaL_Reg ll_evt [] = - { - {"field", &lua_cbacks::field}, - {"get_num", &lua_cbacks::get_num}, -diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp -index 0e26617d..78810d96 100644 ---- a/userspace/libsinsp/lua_parser.cpp -+++ b/userspace/libsinsp/lua_parser.cpp -@@ -32,7 +32,7 @@ extern "C" { - #include "lauxlib.h" - } - --const static struct luaL_reg ll_filter [] = -+const static struct luaL_Reg ll_filter [] = - { - {"rel_expr", &lua_parser_cbacks::rel_expr}, - {"bool_op", &lua_parser_cbacks::bool_op}, -diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp -index c89e9126..c3d8008a 100644 ---- a/userspace/libsinsp/lua_parser_api.cpp -+++ b/userspace/libsinsp/lua_parser_api.cpp -@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) - string err = "Got non-table as in-expression operand\n"; - throw sinsp_exception("parser API error"); - } -- int n = luaL_getn(ls, 4); /* get size of table */ -+ int n = lua_objlen (ls, 4); /* get size of table */ - for (i=1; i<=n; i++) - { - lua_rawgeti(ls, 4, i); --- -2.25.1 - diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch deleted file mode 100644 index a9155fbb4a..0000000000 --- a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Thu, 7 Apr 2022 18:30:23 +0100 -Subject: [PATCH] Link against libabseil-cpp which grpc uses. - -This patch was taken from: -55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") [1] -from hhoffstaette/portage. - -[1] https://github.com/hhoffstaette/portage/blob/55c96b61f7b91e4d91bed6723e86c00dd91f8d16/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch - -Signed-off-by: Francis Laniel ---- - CMakeLists.txt | 1 + - userspace/libsinsp/CMakeLists.txt | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1f34f1d6..c0354b29 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) - else() - message(FATAL_ERROR "Couldn't find system grpc") - endif() -+ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) - find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) - if(NOT GRPC_CPP_PLUGIN) - message(FATAL_ERROR "System grpc_cpp_plugin not found") -diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt -index d72f9115..d1b7ea02 100644 ---- a/userspace/libsinsp/CMakeLists.txt -+++ b/userspace/libsinsp/CMakeLists.txt -@@ -214,6 +214,10 @@ if(NOT WIN32) - "${JQ_LIB}" - "${B64_LIB}") - -+ if(ABSL_SYNC_LIB) -+ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") -+ endif() -+ - if(NOT MUSL_OPTIMIZED_BUILD) - target_link_libraries(sinsp - rt --- -2.25.1 - diff --git a/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch new file mode 100644 index 0000000000..30601c2430 --- /dev/null +++ b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch @@ -0,0 +1,59 @@ +From e681028c5567582f9c66cf2b11234ab3a1cacc73 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Fri, 15 Apr 2022 14:17:48 +0100 +Subject: [PATCH 2/2] cmake: Add libsinsp.a as IMPORTED library. + +libsinsp.a is created by falcosecurity/libs which is downloaded while building +sysdig. + +In buildroot, we do not want to depend of external download. +This patch adds libsinsp.a as IMPORTER library and links all its dependencies +against it. + +Signed-off-by: Francis Laniel +--- + userspace/sysdig/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ + 1 file changed, 28 insertions(+) + +diff --git a/userspace/sysdig/CMakeLists.txt b/userspace/sysdig/CMakeLists.txt +index 401d65e3..ef339b71 100644 +--- a/userspace/sysdig/CMakeLists.txt ++++ b/userspace/sysdig/CMakeLists.txt +@@ -86,6 +86,34 @@ target_include_directories( + if(NOT WIN32) + include_directories(${PROJECT_BINARY_DIR}/driver/src) + ++ if(SCAP_STATIC_LIBRARY_PATH AND SINSP_STATIC_LIBRARY_PATH) ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) ++ find_library(B64_LIB NAMES b64) ++ find_library(CARES_LIB NAMES cares) ++ find_library(ELF_LIB NAMES elf) ++ find_library(GTEST_LIB NAMES gtest) ++ find_library(JQ_LIB NAMES jq) ++ find_library(JSONCPP_LIB NAMES jsoncpp) ++ find_library(LUAJIT_LIB NAMES luajit luajit-5.1) ++ find_library(PROTOBUF_LIB NAMES protobuf) ++ find_library(TBB_LIB NAMES tbb) ++ find_library(ZLIB_LIB NAMES z) ++ ++ find_package(CURL REQUIRED) ++ find_package(gRPC REQUIRED) ++ find_package(OpenSSL REQUIRED) ++ ++ set(GPR_LIB gRPC::gpr) ++ set(GRPC_LIB gRPC::grpc) ++ set(GRPCPP_LIB gRPC::grpc++) ++ ++ add_library(sinsp STATIC IMPORTED) ++ set_target_properties(sinsp PROPERTIES ++ IMPORTED_LOCATION "${SINSP_STATIC_LIBRARY_PATH}" ++ INTERFACE_LINK_LIBRARIES "${ABSL_SYNC_LIB};${B64_LIB};${CARES_LIB};${CURL_LIBRARIES};${ELF_LIB};${GPR_LIB};${GRPC_LIB};${GRPCPP_LIB};${GTEST_LIB};${JQ_LIB};${JSONCPP_LIB};${LUAJIT_LIB};${OPENSSL_LIBRARIES};${PROTOBUF_LIB};${TBB_LIB};${SCAP_STATIC_LIBRARY_PATH};${ZLIB_LIB}" ++ ) ++ endif() ++ + target_link_libraries(sysdig + sinsp + "${YAMLCPP_LIB}") +-- +2.25.1 + diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index c124054105..e00516a2b5 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -1,26 +1,11 @@ config BR2_PACKAGE_SYSDIG bool "sysdig" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb - depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb - depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_ELFUTILS - select BR2_PACKAGE_GRPC - select BR2_PACKAGE_JQ - select BR2_PACKAGE_JSONCPP - select BR2_PACKAGE_LIBB64 - select BR2_PACKAGE_LIBCURL + depends on BR2_INSTALL_LIBSTDCPP # yaml-cpp + select BR2_PACKAGE_FALCOSECURITY_LIBS select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PROTOBUF - select BR2_PACKAGE_TBB - select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_JSON_FOR_MODERN_CPP + select BR2_PACKAGE_YAML_CPP help Sysdig is open source, system-level exploration: capture system state and activity from a running Linux @@ -30,10 +15,6 @@ config BR2_PACKAGE_SYSDIG https://github.com/draios/sysdig/wiki -comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS +comment "sysdig needs a toolchain w/ C++, a Linux kernel and luajit or lua 5.1 to be built" depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_USES_GLIBC \ - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 4ec46abfc3..380c9dce1e 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,5 +1,3 @@ # sha256 locally computed -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 9a9aaa35c3..c6487c2337 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,10 +4,10 @@ # ################################################################################ -SYSDIG_VERSION = 0.27.1 +SYSDIG_VERSION = 0.29.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +SYSDIG_LICENSE = Apache-2.0 +SYSDIG_LICENSE_FILE = COPYING SYSDIG_CPE_ID_VENDOR = sysdig SYSDIG_CONF_OPTS = \ -DENABLE_DKMS=OFF \ @@ -16,39 +16,32 @@ SYSDIG_CONF_OPTS = \ SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ - c-ares \ - elfutils \ - grpc \ - jq \ - jsoncpp \ - libb64 \ - libcurl \ - luainterpreter \ + falcosecurity-libs \ ncurses \ - openssl \ - protobuf \ - tbb \ - zlib + json-for-modern-cpp \ + yaml-cpp -# sysdig creates the module Makefile from a template, which contains a -# single place-holder, KBUILD_FLAGS, wich is only replaced with two -# things: -# - debug flags, which we don't care about here, -# - 'sysdig-feature' flags, which are never set, so always empty -# So, just replace the place-holder with the only meaningful value: nothing. -define SYSDIG_MODULE_GEN_MAKEFILE - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile -endef -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE +# We need to set all these variables to avoid compiling falcosecurity-libs +# twice. +SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR=$(BUILD_DIR)/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a +SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/driver/src +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/libscap +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/libsinsp +SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/chisel +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/libscap/libscap.a +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/libsinsp/libsinsp.a -# Don't build the driver as part of the 'standard' procedure, we'll -# build it on our own with the kernel-module infra. -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF +# SCAP_STATIC_LIBRARY_PATH and SINSP_STATIC_LIBRARY_PATH were added by patch. +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR) \ + -DHAVE_LIBSCAP=On \ + -DLIBSCAP_INCLUDE_DIRS="$(SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR);$(SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR)" \ + -DHAVE_LIBSINSP=On \ + -DLIBSINSP_INCLUDE_DIRS="$(SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR);$(SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR)" \ + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson \ + -DSCAP_STATIC_LIBRARY_PATH=$(SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH) \ + -DSINSP_STATIC_LIBRARY_PATH=$(SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH) SYSDIG_MODULE_SUBDIRS = driver SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) -$(eval $(kernel-module)) $(eval $(cmake-package)) -- 2.25.1 From Jason at zx2c4.com Fri Apr 22 15:44:02 2022 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 22 Apr 2022 17:44:02 +0200 Subject: [Buildroot] [PATCH v5] package/urandom-scripts: actually credit seed files via seedrng In-Reply-To: References: <20220420170326.1901572-1-Jason@zx2c4.com> Message-ID: Another thought: I noticed the busybox package itself has various init scripts. We could just delete the now-obsolete urandom-scripts package, and simply add the init script to the busybox package. Would this be workable? Jason From fperrad at gmail.com Fri Apr 22 16:15:07 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:07 +0200 Subject: [Buildroot] [PATCH 1/8] package/perl-crypt-openssl-guess: bump to version 0.15 Message-ID: <20220422161514.3449177-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- .../perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash | 4 ++-- package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash index e6d19cb68..b4795ed3d 100644 --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 9e86baf96828a38c967003a5e66f0c39 Crypt-OpenSSL-Guess-0.12.tar.gz -sha256 0a18d18768cf42b49b15c9dea626199dc74346bbbc76acd3d817b9c1d2bd471d Crypt-OpenSSL-Guess-0.12.tar.gz +md5 e07f470dd25023730cf8536e0cefbabd Crypt-OpenSSL-Guess-0.15.tar.gz +sha256 1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d Crypt-OpenSSL-Guess-0.15.tar.gz # computed by scancpan sha256 5c739f181ce7aa31d739277996ff230067dad39332e5597c0dffd36e5d784072 LICENSE diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk index 4f0898cf5..56ff79d84 100644 --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.12 +PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.15 PERL_CRYPT_OPENSSL_GUESS_SOURCE = Crypt-OpenSSL-Guess-$(PERL_CRYPT_OPENSSL_GUESS_VERSION).tar.gz PERL_CRYPT_OPENSSL_GUESS_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AK/AKIYM PERL_CRYPT_OPENSSL_GUESS_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:08 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:08 +0200 Subject: [Buildroot] [PATCH 2/8] package/perl-file-listing: bump to version 6.15 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-2-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-file-listing/perl-file-listing.hash | 6 +++--- package/perl-file-listing/perl-file-listing.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/perl-file-listing/perl-file-listing.hash b/package/perl-file-listing/perl-file-listing.hash index 235896571..cb52c127c 100644 --- a/package/perl-file-listing/perl-file-listing.hash +++ b/package/perl-file-listing/perl-file-listing.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 cf60a79563185391831613178a79b4cd File-Listing-6.14.tar.gz -sha256 15b3a4871e23164a36f226381b74d450af41f12cc94985f592a669fcac7b48ff File-Listing-6.14.tar.gz +md5 8ba34641a6c5a2ec1b0bf7064f68c535 File-Listing-6.15.tar.gz +sha256 46c4fb9f9eb9635805e26b7ea55b54455e47302758a10ed2a0b92f392713770c File-Listing-6.15.tar.gz # computed by scancpan -sha256 7f0ccec295e6d7d2be1439cedd7caf6cc6247191f4c10ac56d91ee9bc265ba02 LICENSE +sha256 287e6f0fdf2db790a24975b492cde64b210c16af7137f44373cbd03fcf844212 LICENSE diff --git a/package/perl-file-listing/perl-file-listing.mk b/package/perl-file-listing/perl-file-listing.mk index 61bbc18eb..c8584ffa8 100644 --- a/package/perl-file-listing/perl-file-listing.mk +++ b/package/perl-file-listing/perl-file-listing.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_FILE_LISTING_VERSION = 6.14 +PERL_FILE_LISTING_VERSION = 6.15 PERL_FILE_LISTING_SOURCE = File-Listing-$(PERL_FILE_LISTING_VERSION).tar.gz PERL_FILE_LISTING_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PL/PLICEASE PERL_FILE_LISTING_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:09 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:09 +0200 Subject: [Buildroot] [PATCH 3/8] package/perl-html-parser: bump to 3.78 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-3-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-html-parser/perl-html-parser.hash | 6 +++--- package/perl-html-parser/perl-html-parser.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/perl-html-parser/perl-html-parser.hash b/package/perl-html-parser/perl-html-parser.hash index 36b094a7c..7393f1e1e 100644 --- a/package/perl-html-parser/perl-html-parser.hash +++ b/package/perl-html-parser/perl-html-parser.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 60e266d5a07fbea671a0383dd8af7b6c HTML-Parser-3.76.tar.gz -sha256 64d9e2eb2b420f1492da01ec0e6976363245b4be9290f03f10b7d2cb63fa2f61 HTML-Parser-3.76.tar.gz +md5 6d7c1ca50623cd2b398d1898e48f1ea6 HTML-Parser-3.78.tar.gz +sha256 22564002f206af94c1dd8535f02b0d9735125d9ebe89dd0ff9cd6c000e29c29d HTML-Parser-3.78.tar.gz # computed by scancpan -sha256 0e57338bc10d5fb8891012ebee65a7b504b247f5bb485e121b8b48d7a118a60b LICENSE +sha256 9081922eb873ec1809c20672a7385a65f3c6b1163166bf69b2bbe986fb5b0159 LICENSE diff --git a/package/perl-html-parser/perl-html-parser.mk b/package/perl-html-parser/perl-html-parser.mk index 097564dbc..190c00d46 100644 --- a/package/perl-html-parser/perl-html-parser.mk +++ b/package/perl-html-parser/perl-html-parser.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_HTML_PARSER_VERSION = 3.76 +PERL_HTML_PARSER_VERSION = 3.78 PERL_HTML_PARSER_SOURCE = HTML-Parser-$(PERL_HTML_PARSER_VERSION).tar.gz PERL_HTML_PARSER_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_HTML_PARSER_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:10 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:10 +0200 Subject: [Buildroot] [PATCH 4/8] package/perl-http-daemon: bump to version 6.14 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-4-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-http-daemon/perl-http-daemon.hash | 6 +++--- package/perl-http-daemon/perl-http-daemon.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/perl-http-daemon/perl-http-daemon.hash b/package/perl-http-daemon/perl-http-daemon.hash index f8272a4fc..c19b3b955 100644 --- a/package/perl-http-daemon/perl-http-daemon.hash +++ b/package/perl-http-daemon/perl-http-daemon.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 63674e3f81760a29075853413eb157d8 HTTP-Daemon-6.12.tar.gz -sha256 df47bed10c38670c780fd0116867d5fd4693604acde31ba63380dce04c4e1fa6 HTTP-Daemon-6.12.tar.gz +md5 3111b0081d08d8b225f52884033de349 HTTP-Daemon-6.14.tar.gz +sha256 f0767e7f3cbb80b21313c761f07ad8ed253bce9fa2d0ba806b3fb72d309b2e1d HTTP-Daemon-6.14.tar.gz # computed by scancpan -sha256 e84ac5ab84ace59952d2640e0ca4522eb0aaa8c2aa696352d1252aa109ea20bc LICENCE +sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENCE diff --git a/package/perl-http-daemon/perl-http-daemon.mk b/package/perl-http-daemon/perl-http-daemon.mk index e47507262..fe50c768b 100644 --- a/package/perl-http-daemon/perl-http-daemon.mk +++ b/package/perl-http-daemon/perl-http-daemon.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_HTTP_DAEMON_VERSION = 6.12 +PERL_HTTP_DAEMON_VERSION = 6.14 PERL_HTTP_DAEMON_SOURCE = HTTP-Daemon-$(PERL_HTTP_DAEMON_VERSION).tar.gz PERL_HTTP_DAEMON_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_HTTP_DAEMON_DEPENDENCIES = host-perl-module-build-tiny -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:11 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:11 +0200 Subject: [Buildroot] [PATCH 5/8] package/perl-libwww-perl: bump to version 6.62 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-5-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-libwww-perl/perl-libwww-perl.hash | 4 ++-- package/perl-libwww-perl/perl-libwww-perl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-libwww-perl/perl-libwww-perl.hash b/package/perl-libwww-perl/perl-libwww-perl.hash index e32258050..25b6675ec 100644 --- a/package/perl-libwww-perl/perl-libwww-perl.hash +++ b/package/perl-libwww-perl/perl-libwww-perl.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 ce5180358d9279b2843a6518bf2de200 libwww-perl-6.60.tar.gz -sha256 cdd28b9237b9c6791725b9099695c7c3c720b33881606fd6cc7635a5495bb07c libwww-perl-6.60.tar.gz +md5 3cc193bbddb1dc9e867e88582b440a92 libwww-perl-6.62.tar.gz +sha256 569ac15eb69d54b2a8d932403610690b89c68d6a987eab2f627c0639bae7de18 libwww-perl-6.62.tar.gz # computed by scancpan sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENSE diff --git a/package/perl-libwww-perl/perl-libwww-perl.mk b/package/perl-libwww-perl/perl-libwww-perl.mk index aa15ebb59..43bd4db78 100644 --- a/package/perl-libwww-perl/perl-libwww-perl.mk +++ b/package/perl-libwww-perl/perl-libwww-perl.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_LIBWWW_PERL_VERSION = 6.60 +PERL_LIBWWW_PERL_VERSION = 6.62 PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_LIBWWW_PERL_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:12 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:12 +0200 Subject: [Buildroot] [PATCH 6/8] package/perl-mojolicious: bump to version 9.24 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-6-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-mojolicious/perl-mojolicious.hash | 4 ++-- package/perl-mojolicious/perl-mojolicious.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-mojolicious/perl-mojolicious.hash b/package/perl-mojolicious/perl-mojolicious.hash index cc29c3553..cd6c8ef7f 100644 --- a/package/perl-mojolicious/perl-mojolicious.hash +++ b/package/perl-mojolicious/perl-mojolicious.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 c7a00b4bd8fa2db991c9b918d34041d3 Mojolicious-9.22.tar.gz -sha256 6b76e024d3d6c077ad984ea3b3d229f093373d5e06438aca248235150d029043 Mojolicious-9.22.tar.gz +md5 fea8c6a9b97b988ee18b1616e20cf3db Mojolicious-9.24.tar.gz +sha256 5a2f2e064fe50ad94ec5ed175403a26ec1ff4150d77742d14ca7b842e17f9168 Mojolicious-9.24.tar.gz # computed by scancpan sha256 19e2e0f2079ea1ce1576eb4ecc0575b33fe45b2b8e71f4aa589d6bedd1da4e0a LICENSE diff --git a/package/perl-mojolicious/perl-mojolicious.mk b/package/perl-mojolicious/perl-mojolicious.mk index 559b995cd..4a05fe48b 100644 --- a/package/perl-mojolicious/perl-mojolicious.mk +++ b/package/perl-mojolicious/perl-mojolicious.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_MOJOLICIOUS_VERSION = 9.22 +PERL_MOJOLICIOUS_VERSION = 9.24 PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI PERL_MOJOLICIOUS_LICENSE = Artistic-2.0 -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:13 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:13 +0200 Subject: [Buildroot] [PATCH 7/8] package/perl-net-http: bump to version 6.22 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-7-francois.perrad@gadz.org> diff LICENSE: -This software is copyright (c) 2001-2017 by Gisle Aas. +This software is copyright (c) 2001 by Gisle Aas. Signed-off-by: Francois Perrad --- package/perl-net-http/perl-net-http.hash | 6 +++--- package/perl-net-http/perl-net-http.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/perl-net-http/perl-net-http.hash b/package/perl-net-http/perl-net-http.hash index 85ddad6ee..f02fd9080 100644 --- a/package/perl-net-http/perl-net-http.hash +++ b/package/perl-net-http/perl-net-http.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 dbe27483034a79a7d43f61cc48540641 Net-HTTP-6.21.tar.gz -sha256 375aa35b76be99f06464089174d66ac76f78ce83a5c92a907bbfab18b099eec4 Net-HTTP-6.21.tar.gz +md5 1d46019fb8559070a5ec1d838b690657 Net-HTTP-6.22.tar.gz +sha256 62faf9a5b84235443fe18f780e69cecf057dea3de271d7d8a0ba72724458a1a2 Net-HTTP-6.22.tar.gz # computed by scancpan -sha256 49fbcc80e17295888b909176a0029f275a8c17b6cbfaf8867fe571ebe9a9ca79 LICENSE +sha256 0ed700a4bfc022e999d83407f71ab62ead96662d8f7bbebfd857376bf3ed6528 LICENSE diff --git a/package/perl-net-http/perl-net-http.mk b/package/perl-net-http/perl-net-http.mk index de0809d0b..b4cef6188 100644 --- a/package/perl-net-http/perl-net-http.mk +++ b/package/perl-net-http/perl-net-http.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_NET_HTTP_VERSION = 6.21 +PERL_NET_HTTP_VERSION = 6.22 PERL_NET_HTTP_SOURCE = Net-HTTP-$(PERL_NET_HTTP_VERSION).tar.gz PERL_NET_HTTP_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_NET_HTTP_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From fperrad at gmail.com Fri Apr 22 16:15:14 2022 From: fperrad at gmail.com (Francois Perrad) Date: Fri, 22 Apr 2022 18:15:14 +0200 Subject: [Buildroot] [PATCH 8/8] package/perl-package-stash: bump to version 0.40 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <20220422161514.3449177-8-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/perl-package-stash/Config.in | 4 ++-- package/perl-package-stash/perl-package-stash.hash | 6 +++--- package/perl-package-stash/perl-package-stash.mk | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/perl-package-stash/Config.in b/package/perl-package-stash/Config.in index 6b7ca2478..05506c242 100644 --- a/package/perl-package-stash/Config.in +++ b/package/perl-package-stash/Config.in @@ -3,6 +3,6 @@ config BR2_PACKAGE_PERL_PACKAGE_STASH select BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS # runtime select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION # runtime help - routines for manipulating stashes. + Routines for manipulating stashes. - http://metacpan.org/release/Package-Stash + https://github.com/moose/Package-Stash diff --git a/package/perl-package-stash/perl-package-stash.hash b/package/perl-package-stash/perl-package-stash.hash index 0bbac515e..85d8e1bde 100644 --- a/package/perl-package-stash/perl-package-stash.hash +++ b/package/perl-package-stash/perl-package-stash.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 287d80c9115c9230912aca684f8ca92e Package-Stash-0.39.tar.gz -sha256 9165f555112e080493ce0e9129de0886da30b2593fb353a2abd1c76b2d2621b5 Package-Stash-0.39.tar.gz +md5 7a2922941cc2aad6a52642e4fb13d07b Package-Stash-0.40.tar.gz +sha256 5a9722c6d9cb29ee133e5f7b08a5362762a0b5633ff5170642a5b0686e95e066 Package-Stash-0.40.tar.gz # computed by scancpan -sha256 810b319a6f4a53c9cbbef513da17b2f0c872accd149bb889f153f4b78cf8cbb8 LICENSE +sha256 5f82745d355b43f451c557642618cbd903251192b89f31ca53eaab90c35aeb7c LICENSE diff --git a/package/perl-package-stash/perl-package-stash.mk b/package/perl-package-stash/perl-package-stash.mk index bc116abca..dd93314d8 100644 --- a/package/perl-package-stash/perl-package-stash.mk +++ b/package/perl-package-stash/perl-package-stash.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_PACKAGE_STASH_VERSION = 0.39 +PERL_PACKAGE_STASH_VERSION = 0.40 PERL_PACKAGE_STASH_SOURCE = Package-Stash-$(PERL_PACKAGE_STASH_VERSION).tar.gz PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/E/ET/ETHER PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+ -- 2.32.0 From bernd.kuhls at t-online.de Fri Apr 22 17:34:15 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 22 Apr 2022 19:34:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-peripheral-xarcade: bump version to 19.0.3-Matrix Message-ID: <20220422173415.662392-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash | 2 +- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash index 5cb774fe26..3ceabd4759 100644 --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 27f592e07c788067c97f7bbcac8a2c6803954730e6f0f66f2047a1d939e6648d kodi-peripheral-xarcade-19.0.1-Matrix.tar.gz +sha256 589b5355bf9b0b5183ecf2d93a4a80ca1ae317a9fdf4efb9c14eb7114b4ec13a kodi-peripheral-xarcade-19.0.3-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk index fd8b1af38c..ef3cc6fef1 100644 --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PERIPHERAL_XARCADE_VERSION = 19.0.1-Matrix +KODI_PERIPHERAL_XARCADE_VERSION = 19.0.3-Matrix KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md -- 2.30.2 From bernd.kuhls at t-online.de Fri Apr 22 17:41:32 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 22 Apr 2022 19:41:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/{mesa3d, mesa3d-headers}: bump version to 22.0.2 Message-ID: <20220422174132.663076-1-bernd.kuhls@t-online.de> Release notes: https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html https://lists.freedesktop.org/archives/mesa-announce/2022-March/000667.html https://lists.freedesktop.org/archives/mesa-announce/2022-March/000665.html https://www.phoronix.com/scan.php?page=news_item&px=Mesa-22.0-Released Upstream removed all DRI-based drivers: https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Classic-Retired Signed-off-by: Bernd Kuhls --- Config.in.legacy | 24 +++++++ package/mesa3d-headers/mesa3d-headers.mk | 12 +--- package/mesa3d/Config.in | 69 ++----------------- package/mesa3d/mesa3d.hash | 8 +-- package/mesa3d/mesa3d.mk | 16 +---- .../x11r7/xdriver_xf86-video-amdgpu/Config.in | 4 +- .../x11r7/xdriver_xf86-video-ati/Config.in | 1 - .../xdriver_xf86-video-imx-viv/Config.in | 1 - .../xdriver_xf86-video-intel.mk | 8 --- .../xdriver_xf86-video-mach64.mk | 4 -- .../xdriver_xf86-video-mga.mk | 4 -- .../xdriver_xf86-video-nouveau/Config.in | 1 - .../xdriver_xf86-video-openchrome/Config.in | 4 -- .../xdriver_xf86-video-r128.mk | 4 -- .../xdriver_xf86-video-savage.mk | 4 -- .../xdriver_xf86-video-sis.mk | 4 -- .../xdriver_xf86-video-tdfx.mk | 4 -- 17 files changed, 36 insertions(+), 136 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27f19f14e7..c10b299f37 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,30 @@ endif comment "Legacy options removed in 2022.05" +config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 + bool "mesa DRI i915 driver removed" + select BR2_LEGACY + help + The DRI i915 driver was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965 + bool "mesa DRI i965 driver removed" + select BR2_LEGACY + help + The DRI i965 driver was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU + bool "mesa DRI nouveau driver removed" + select BR2_LEGACY + help + The DRI radeon nouveau was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON + bool "mesa DRI radeon r100 driver removed" + select BR2_LEGACY + help + The DRI radeon r100 driver was removed upstream. + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/package/mesa3d-headers/mesa3d-headers.mk b/package/mesa3d-headers/mesa3d-headers.mk index 760c5368e5..2fa0370f96 100644 --- a/package/mesa3d-headers/mesa3d-headers.mk +++ b/package/mesa3d-headers/mesa3d-headers.mk @@ -12,7 +12,7 @@ endif # Not possible to directly refer to mesa3d variables, because of # first/second expansion trickery... -MESA3D_HEADERS_VERSION = 21.3.8 +MESA3D_HEADERS_VERSION = 22.0.2 MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz MESA3D_HEADERS_SITE = https://archive.mesa3d.org MESA3D_HEADERS_DL_SUBDIR = mesa3d @@ -33,19 +33,9 @@ MESA3D_HEADERS_DIRS += GL ifeq ($(BR2_PACKAGE_XORG7),y) -# Not using $(SED) because we do not want to work in-place, and $(SED) -# contains -i. -define MESA3D_HEADERS_BUILD_DRI_PC - sed -e 's:@VERSION@:$(MESA3D_HEADERS_VERSION):' \ - package/mesa3d-headers/dri.pc \ - >$(@D)/src/mesa/drivers/dri/dri.pc -endef - define MESA3D_HEADERS_INSTALL_DRI_PC $(INSTALL) -D -m 0644 $(@D)/include/GL/internal/dri_interface.h \ $(STAGING_DIR)/usr/include/GL/internal/dri_interface.h - $(INSTALL) -D -m 0644 $(@D)/src/mesa/drivers/dri/dri.pc \ - $(STAGING_DIR)/usr/lib/pkgconfig/dri.pc endef endif # Xorg diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index e41da562dc..7468c2c804 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -63,16 +63,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER bool select BR2_PACKAGE_MESA3D_DRIVER -config BR2_PACKAGE_MESA3D_DRI_DRIVER - bool - select BR2_PACKAGE_MESA3D_DRI3 if \ - (BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4 && \ - !BR2_RISCV_32) - select BR2_PACKAGE_MESA3D_DRIVER - select BR2_PACKAGE_MESA3D_GBM if \ - !BR2_PACKAGE_MESA3D_OPENGL_GLX && \ - !BR2_PACKAGE_MESA3D_OPENGL_EGL - config BR2_PACKAGE_MESA3D_VULKAN_DRIVER bool select BR2_PACKAGE_MESA3D_DRIVER @@ -134,16 +124,11 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915 bool "Gallium i915 driver" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_LIBDRM_INTEL help Support for i915-based Intel GPUs. -comment "Gallium i915: Only one i915 provider can be built" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 - config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS bool "Gallium iris driver" depends on BR2_i386 || BR2_x86_64 @@ -330,49 +315,6 @@ comment "Gallium XvMC state tracker needs X.org and gallium drivers r600 or nouv !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600) -comment "DRI drivers" - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 - bool "DRI i915 driver" - depends on BR2_i386 || BR2_x86_64 - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_INTEL - help - Support for i915-based Intel GPUs. - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965 - bool "DRI i965 driver" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_INTEL - help - Support for i965-based Intel GPUs. - -comment "DRI i965 driver needs a toolchain w/ headers >= 3.17" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU - bool "DRI nouveau driver" - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_NOUVEAU - help - Support for Nvidia-based GPUs. - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON - bool "DRI radeon r100 driver" - depends on BR2_i386 || BR2_x86_64 - # libdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating - # that dependency here causes a circular dependency that Kconfig - # can't see is just spurious. However, that dependency is about - # the toolchain having sync4 primitives, which is always a given - # for i386 and x86_64. - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_RADEON - help - Legacy Radeon driver for R100 series GPUs. - comment "Vulkan drivers" config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL @@ -406,17 +348,16 @@ comment "OpenGL API Support" config BR2_PACKAGE_MESA3D_GBM bool "gbm" - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER \ - || (BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) + depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && \ + BR2_PACKAGE_MESA3D_OPENGL_EGL select BR2_PACKAGE_HAS_LIBGBM select BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF help Enable Generic Buffer Management (gbm) -comment "gbm support needs a dri driver or a gallium driver w/ EGL support." - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER \ - && !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) +comment "gbm support needs a gallium driver w/ EGL support." + depends on !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) config BR2_PACKAGE_MESA3D_OPENGL_GLX bool "OpenGL GLX" @@ -432,7 +373,7 @@ comment "OpenGL GLX support needs X11" config BR2_PACKAGE_MESA3D_OPENGL_EGL bool "OpenGL EGL" - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_HAS_LIBEGL if !BR2_PACKAGE_LIBGLVND select BR2_PACKAGE_LIBGLVND_DISPATCH_EGL if BR2_PACKAGE_LIBGLVND select BR2_PACKAGE_HAS_LIBEGL_WAYLAND diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash index 5b74e14fef..6f06c85760 100644 --- a/package/mesa3d/mesa3d.hash +++ b/package/mesa3d/mesa3d.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/mesa-announce/2022-March/000666.html -sha256 e70d273bdc53a4e931871bb5550ba3900e6a3deab2fff64184107c33e92d9da7 mesa-21.3.8.tar.xz -sha512 0462c44fa8e358dafd03088411452bc172a365902795b3198df1e6cfbf1d87675ef5b72b572de7f15e5ee87b30ce5b2f217c81ea72b376962f6428c6ff83f2e9 mesa-21.3.8.tar.xz +# From https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html +sha256 df4fa560dcce6680133067cd15b0505fc424ca703244ce9ab247c74d2fab6885 mesa-22.0.2.tar.xz +sha512 939ddf9acd280e1b20b3540349b3ad07bbeee5d821198f1d667e86634449bf5d0a0df5832753b8b3f8816709c2f02959cce25f3d26a33cc758dd8e25d158ddb8 mesa-22.0.2.tar.xz # License -sha256 998437f3f75f0c542046f83c1cb349408122268168fb13eb4ae6967aa18b7d98 docs/license.rst +sha256 4bc15d14dcc134b024cbdca3b5330010136ce8a427b6f8353440ce2ad7aab037 docs/license.rst diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index a1015a7dae..41c8d80daf 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -5,7 +5,7 @@ ################################################################################ # When updating the version, please also update mesa3d-headers -MESA3D_VERSION = 21.3.8 +MESA3D_VERSION = 22.0.2 MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz MESA3D_SITE = https://archive.mesa3d.org MESA3D_LICENSE = MIT, SGI, Khronos @@ -115,11 +115,6 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA) += tegra MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D) += v3d MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) += vc4 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl -# DRI Drivers -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I915) += i915 -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I965) += i965 -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU) += nouveau -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON) += r100 # Vulkan Drivers MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL) += intel @@ -134,15 +129,6 @@ MESA3D_CONF_OPTS += \ -Dgallium-extra-hud=true endif -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -MESA3D_CONF_OPTS += \ - -Ddri-drivers= -else -MESA3D_CONF_OPTS += \ - -Dshared-glapi=enabled \ - -Ddri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y)) -endif - ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),) MESA3D_CONF_OPTS += \ -Dvulkan-drivers= diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in index c42255f55c..14c36930d5 100644 --- a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in +++ b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU bool "xf86-video-amdgpu" depends on BR2_USE_MMU # libdrm - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_AMDGPU @@ -13,5 +12,4 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU comment "xf86-video-amdgpu needs egl/opengl support from mesa3d" depends on BR2_USE_MMU - depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ - !BR2_PACKAGE_MESA3D_DRI_DRIVER + depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in index 1246014dca..090e00dad5 100644 --- a/package/x11r7/xdriver_xf86-video-ati/Config.in +++ b/package/x11r7/xdriver_xf86-video-ati/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI depends on BR2_PACKAGE_MESA3D select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_RADEON - select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON select BR2_PACKAGE_XLIB_LIBXCOMPOSITE select BR2_PACKAGE_XORGPROTO help diff --git a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in index 13cee14deb..5f6e2bdf77 100644 --- a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in +++ b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV depends on BR2_PACKAGE_IMX_GPU_G2D depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d select BR2_PACKAGE_MESA3D # Needed in order to compile xorg with glx/dri - select BR2_PACKAGE_MESA3D_DRI_DRIVER select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_XORGPROTO help diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk index d911234c92..03b4221e57 100644 --- a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk +++ b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk @@ -31,12 +31,4 @@ XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \ xorgproto \ xserver_xorg-server -# X.org server support for DRI depends on a Mesa3D DRI driver -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y) -XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \ - --enable-dri2 \ - --enable-dri3 \ - --enable-uxa -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk b/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk index eee8fec2e8..bc7b347eac 100644 --- a/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk +++ b/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_MACH64_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_MACH64_AUTORECONF = YES XDRIVER_XF86_VIDEO_MACH64_DEPENDENCIES = xserver_xorg-server xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk b/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk index 3c668a5c98..96ca5e0578 100644 --- a/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk +++ b/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_MGA_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_MGA_AUTORECONF = YES XDRIVER_XF86_VIDEO_MGA_DEPENDENCIES = xserver_xorg-server libdrm xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_MGA_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-nouveau/Config.in b/package/x11r7/xdriver_xf86-video-nouveau/Config.in index c9fd2e3d2f..a68f85c781 100644 --- a/package/x11r7/xdriver_xf86-video-nouveau/Config.in +++ b/package/x11r7/xdriver_xf86-video-nouveau/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU bool "xf86-video-nouveau" depends on BR2_PACKAGE_MESA3D - select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_NOUVEAU select BR2_PACKAGE_XORGPROTO diff --git a/package/x11r7/xdriver_xf86-video-openchrome/Config.in b/package/x11r7/xdriver_xf86-video-openchrome/Config.in index a93d14376b..6b2e236f00 100644 --- a/package/x11r7/xdriver_xf86-video-openchrome/Config.in +++ b/package/x11r7/xdriver_xf86-video-openchrome/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME bool "xf86-video-openchrome" - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXCOMPOSITE @@ -11,6 +10,3 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME VIA/S3G UniChrome and UniChrome Pro graphics chipsets. https://www.freedesktop.org/wiki/Openchrome/ - -comment "xf86-video-openchrome needs a DRI driver from mesa3d" - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER diff --git a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk index 690041d4c6..51435c9389 100644 --- a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk +++ b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk @@ -11,8 +11,4 @@ XDRIVER_XF86_VIDEO_R128_LICENSE = MIT XDRIVER_XF86_VIDEO_R128_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_R128_DEPENDENCIES = xserver_xorg-server xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_R128_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk b/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk index 102aa2c48e..2306c14915 100644 --- a/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk +++ b/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk index f96b0a9d0e..e05573de1f 100644 --- a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk +++ b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk @@ -11,8 +11,4 @@ XDRIVER_XF86_VIDEO_SIS_LICENSE = MIT XDRIVER_XF86_VIDEO_SIS_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_SIS_DEPENDENCIES = xserver_xorg-server libdrm xorgproto -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_SIS_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) diff --git a/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk b/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk index 14c40e4d89..b9e57705ae 100644 --- a/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk +++ b/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk @@ -15,8 +15,4 @@ XDRIVER_XF86_VIDEO_TDFX_DEPENDENCIES = \ xorgproto \ xserver_xorg-server -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_TDFX_CONF_OPTS += --disable-dri -endif - $(eval $(autotools-package)) -- 2.30.2 From joseph.kogut at gmail.com Fri Apr 22 18:14:17 2022 From: joseph.kogut at gmail.com (Joseph Kogut) Date: Fri, 22 Apr 2022 11:14:17 -0700 Subject: [Buildroot] [PATCH 1/2] package/nghttp2: add host variant Message-ID: <20220422181418.2411463-1-joseph.kogut@gmail.com> Signed-off-by: Joseph Kogut --- package/nghttp2/nghttp2.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/nghttp2/nghttp2.mk b/package/nghttp2/nghttp2.mk index 9190fa30d6..5f46f24431 100644 --- a/package/nghttp2/nghttp2.mk +++ b/package/nghttp2/nghttp2.mk @@ -21,3 +21,4 @@ endef NGHTTP2_POST_INSTALL_TARGET_HOOKS += NGHTTP2_INSTALL_CLEAN_HOOK $(eval $(autotools-package)) +$(eval $(host-autotools-package)) -- 2.36.0 From joseph.kogut at gmail.com Fri Apr 22 18:14:18 2022 From: joseph.kogut at gmail.com (Joseph Kogut) Date: Fri, 22 Apr 2022 11:14:18 -0700 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: <20220422181418.2411463-1-joseph.kogut@gmail.com> References: <20220422181418.2411463-1-joseph.kogut@gmail.com> Message-ID: <20220422181418.2411463-2-joseph.kogut@gmail.com> This fixes building host-libcurl, which otherwise would fail with undefined references to nghttp2 symbols. /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' collect2: error: ld returned 1 exit status Signed-off-by: Joseph Kogut --- package/libcurl/libcurl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 97857954db..d5805a1d32 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -173,7 +173,7 @@ endef LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP endif -HOST_LIBCURL_DEPENDENCIES = host-openssl +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 HOST_LIBCURL_CONF_OPTS = \ --disable-manual \ --disable-ntlm-wb \ -- 2.36.0 From flaniel at linux.microsoft.com Fri Apr 22 18:16:10 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 19:16:10 +0100 Subject: [Buildroot] [RFC PATCH v1 0/2] Use host-libbpf for host-pahole. Message-ID: <20220422181612.51246-1-flaniel@linux.microsoft.com> Hi. Following a failed build involving libbpf, Thomas Pettazzoni suggested me to remove git submodule from host-pahole to build it the "buildroot way". So, in this contribution, I first added host recipe to libbpf. Then, I removed git submobule used by host-pahole to get libbpf to instead use host-libbpf. I was able to build and run a qemu image: Welcome to Buildroot buildroot login: root # zcat /proc/config.gz | grep BTF CONFIG_DEBUG_INFO_BTF=y CONFIG_PAHOLE_HAS_SPLIT_BTF=y CONFIG_DEBUG_INFO_BTF_MODULES=y Nonetheless, I am not really happy with this contribution as I had to add a bad tweak removing a header file installed by host-libbpf to avoid a kernel build error: So, I marked this contribution as RFC to get your opinions about it. Francis Laniel (2): package/libbpf: build for host package/pahole: use commit 73383b3a39af linux/linux.mk | 11 +++++++++++ package/libbpf/libbpf.mk | 7 +++++++ package/pahole/pahole.hash | 2 +- package/pahole/pahole.mk | 14 +++++++------- 4 files changed, 26 insertions(+), 8 deletions(-) Best regards and thank you in advance. -- 2.25.1 From flaniel at linux.microsoft.com Fri Apr 22 18:16:11 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 19:16:11 +0100 Subject: [Buildroot] [RFC PATCH v1 1/2] package/libbpf: build for host In-Reply-To: <20220422181612.51246-1-flaniel@linux.microsoft.com> References: <20220422181612.51246-1-flaniel@linux.microsoft.com> Message-ID: <20220422181612.51246-2-flaniel@linux.microsoft.com> Signed-off-by: Francis Laniel --- package/libbpf/libbpf.mk | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/package/libbpf/libbpf.mk b/package/libbpf/libbpf.mk index d6914757d7..709277fac4 100644 --- a/package/libbpf/libbpf.mk +++ b/package/libbpf/libbpf.mk @@ -10,6 +10,7 @@ LIBBPF_LICENSE = GPL-2.0, LGPL-2.1, BSD-2-Clause LIBBPF_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1 LIBBPF_CPE_ID_VENDOR = libbpf_project LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf elfutils zlib +HOST_LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf host-elfutils host-zlib LIBBPF_INSTALL_STAGING = YES define LIBBPF_BUILD_CMDS @@ -38,4 +39,28 @@ define LIBBPF_INSTALL_TARGET_CMDS -C $(@D)/src install DESTDIR=$(TARGET_DIR) endef +define HOST_LIBBPF_INSTALL_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install install_uapi_headers DESTDIR=$(HOST_DIR) + + # We need to install_uapi_headers so we have btf.h to compile + # host-pahole. + # Nonetheless, this target adds bpf.h which generates a conflict when + # building the kernel: + # In file included from libbpf_internal.h:17:0, from strset.c:9: + # relo_core.h:10:6: error: nested redefinition of ?enum bpf_core_relo_kind? + # enum bpf_core_relo_kind { + # ^~~~~~~~~~~~~~~~~~ + # relo_core.h:10:6: error: redeclaration of ?enum bpf_core_relo_kind? + # In file included from libbpf_legacy.h:13:0, + # from libbpf_internal.h:16, + # from strset.c:9: + # /home/francis/buildroot/output/host/include/linux/bpf.h:6497:6: note: originally defined here + # enum bpf_core_relo_kind { + # So, better to remove remove it now since we do not need it to build + # host-pahole. + rm $(HOST_DIR)/include/linux/bpf.h +endef + $(eval $(generic-package)) +$(eval $(host-generic-package)) -- 2.25.1 From flaniel at linux.microsoft.com Fri Apr 22 18:16:12 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Fri, 22 Apr 2022 19:16:12 +0100 Subject: [Buildroot] [RFC PATCH v1 2/2] package/pahole: use commit 73383b3a39af In-Reply-To: <20220422181612.51246-1-flaniel@linux.microsoft.com> References: <20220422181612.51246-1-flaniel@linux.microsoft.com> Message-ID: <20220422181612.51246-3-flaniel@linux.microsoft.com> This modification uses buildroot host-libbpf instead of pahole libbpf git submodule. Also, it nows uses commit: 73383b3a39af ("libbpf: Update libbpf to the latest git HEAD") To avoid compile errors due to use of depecrated APIs (like btf__get_nr_types). A build pre hook was also added to Linux to avoid conflicts regarding bpf.h which added to HOST_DIR by host-libbpf. Signed-off-by: Francis Laniel --- package/pahole/pahole.hash | 2 +- package/pahole/pahole.mk | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package/pahole/pahole.hash b/package/pahole/pahole.hash index 420db15e75..8e5560b5e7 100644 --- a/package/pahole/pahole.hash +++ b/package/pahole/pahole.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 cde85af68b368f50a913be387f94f6b43612a04af6c92387b4dcabb712a668fe pahole-v1.23-br1.tar.gz +sha256 3531396c0568793ef8ca1a2fbb44ef2e1e81bdd55496a4487b83ba4d95df9d99 pahole-73383b3a39afe86b22e098773e47b8546c48a649.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index da6d67e6a2..199fa8cc11 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -4,14 +4,14 @@ # ################################################################################ -PAHOLE_VERSION = v1.23 -PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git -PAHOLE_SITE_METHOD = git -# pahole contains git submodule and relies on them to be built. -PAHOLE_GIT_SUBMODULES = YES -HOST_PAHOLE_DEPENDENCIES = host-elfutils +PAHOLE_VERSION = 73383b3a39afe86b22e098773e47b8546c48a649 +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot +HOST_PAHOLE_DEPENDENCIES = \ + host-elfutils \ + host-libbpf # Defining __LIB is needed to build pahole. -HOST_PAHOLE_CONF_OPTS = -D__LIB=lib +# Set LIBBPF_EMBEDDED to OFF to use host-libbpf. +HOST_PAHOLE_CONF_OPTS = -D__LIB=lib -DLIBBPF_EMBEDDED=OFF PAHOLE_LICENSE = GPL-2.0 PAHOLE_LICENSE_FILES = COPYING -- 2.25.1 From aperez at igalia.com Fri Apr 22 18:44:31 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Fri, 22 Apr 2022 21:44:31 +0300 Subject: [Buildroot] [PATCH 1/1] package/webkitgtk: bump to version 2.36.1 Message-ID: <20220422184431.3471788-1-aperez@igalia.com> Bugfix release, with the usual flurry of correctness fixes, and a patch to fix the build with the accessibility support disabled. Release notes: https://webkitgtk.org/2022/04/21/webkitgtk2.36.1-released.html Signed-off-by: Adrian Perez de Castro --- package/webkitgtk/webkitgtk.hash | 8 ++++---- package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 38068745ee..00a342ed7f 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums -md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz -sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz -sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.36.1.tar.xz.sums +md5 e6100df7f82d95a4e65176b10f5ab011 webkitgtk-2.36.1.tar.xz +sha1 36a95b906e54bcf94d2be04e1cbaac3584da7eb1 webkitgtk-2.36.1.tar.xz +sha256 0149ea5fb1d20f2a9981677d45c952a047330001ea24a8dc29035239f12c0c8f webkitgtk-2.36.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index eca175d1bd..9e85c5b78f 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.36.0 +WEBKITGTK_VERSION = 2.36.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES -- 2.36.0 From aperez at igalia.com Fri Apr 22 18:50:15 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Fri, 22 Apr 2022 21:50:15 +0300 Subject: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.1 Message-ID: <20220422185015.3486540-1-aperez@igalia.com> Bugfix release, with the usual flurry of correctness fixes, and a patch to fix the build with the accessibility support disabled. Release notes: https://wpewebkit.org/release/wpewebkit-2.36.1.html Signed-off-by: Adrian Perez de Castro --- package/wpewebkit/wpewebkit.hash | 8 ++++---- package/wpewebkit/wpewebkit.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash index 1e1aa62117..3923c32111 100644 --- a/package/wpewebkit/wpewebkit.hash +++ b/package/wpewebkit/wpewebkit.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums -md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz -sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz -sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz +# From https://wpewebkit.org/releases/wpewebkit-2.36.1.tar.xz.sums +md5 7ba1c7fd0f67891ad137d11cac12f7a9 wpewebkit-2.36.1.tar.xz +sha1 0918a4daded01f42e65ec02a69f21cd6705311db wpewebkit-2.36.1.tar.xz +sha256 ec83d8b2f8c3479ce9950d69440f3b9876ab70200fe6f4e07686054a0cba5723 wpewebkit-2.36.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index df29d6f170..9c9a9a2838 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEWEBKIT_VERSION = 2.36.0 +WPEWEBKIT_VERSION = 2.36.1 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz WPEWEBKIT_INSTALL_STAGING = YES -- 2.36.0 From ariel.dalessandro at collabora.com Fri Apr 22 19:22:36 2022 From: ariel.dalessandro at collabora.com (Ariel D'Alessandro) Date: Fri, 22 Apr 2022 16:22:36 -0300 Subject: [Buildroot] [PATCH V3] board: Add support for iMX8MN BSH SMM S2 PRO In-Reply-To: References: <20220131145555.2819020-1-michael@amarulasolutions.com> Message-ID: On 2/12/22 09:42, Arnout Vandecappelle wrote: > > > On 12/02/2022 13:36, Michael Nazzareno Trimarchi wrote: >> Hi >> >> On Sat, Feb 12, 2022 at 1:10 PM Arnout Vandecappelle >> wrote: >>> >>> >>> >>> On 31/01/2022 15:55, Michael Trimarchi wrote: >>>> Add initial support for iMX8MN BSH SMM S2 PRO board: >>>> >>>> - Linux: v5.17-rc1 >>> >>> ?? I'm a bit uncomfortable to add an -rc version. But I guess it can >>> be updated >>> as soon as 5.17 is released. >> >> Ok, I will then wait > > ?No, what I meant to say is: it's OK to do it with the -rc, just make > sure that you update it to the release version when it comes around > (which will still be another 8-ish weeks). Support is now almost completely merged upstream for kernel and u-boot. We could update the patch to pull from: * linux: v5.17 (audio for this board is enabled in v5.18-rc3) * u-boot: v2022.07-rc1 (released on Mon 25 April 2022, 2 days remaining) We can update later on the linux release to include to whole support and at least we can get rid of the custom u-boot repo/branch. Regards, Ariel From michael at amarulasolutions.com Fri Apr 22 21:17:43 2022 From: michael at amarulasolutions.com (Michael Nazzareno Trimarchi) Date: Fri, 22 Apr 2022 23:17:43 +0200 Subject: [Buildroot] [PATCH V3] board: Add support for iMX8MN BSH SMM S2 PRO In-Reply-To: References: <20220131145555.2819020-1-michael@amarulasolutions.com> Message-ID: Hi Ariel On Fri, Apr 22, 2022 at 9:22 PM Ariel D'Alessandro wrote: > > > > On 2/12/22 09:42, Arnout Vandecappelle wrote: > > > > > > On 12/02/2022 13:36, Michael Nazzareno Trimarchi wrote: > >> Hi > >> > >> On Sat, Feb 12, 2022 at 1:10 PM Arnout Vandecappelle > >> wrote: > >>> > >>> > >>> > >>> On 31/01/2022 15:55, Michael Trimarchi wrote: > >>>> Add initial support for iMX8MN BSH SMM S2 PRO board: > >>>> > >>>> - Linux: v5.17-rc1 > >>> > >>> I'm a bit uncomfortable to add an -rc version. But I guess it can > >>> be updated > >>> as soon as 5.17 is released. > >> > >> Ok, I will then wait > > > > No, what I meant to say is: it's OK to do it with the -rc, just make > > sure that you update it to the release version when it comes around > > (which will still be another 8-ish weeks). > > Support is now almost completely merged upstream for kernel and u-boot. > We could update the patch to pull from: > > * linux: v5.17 (audio for this board is enabled in v5.18-rc3) > * u-boot: v2022.07-rc1 (released on Mon 25 April 2022, 2 days remaining) > > We can update later on the linux release to include to whole support and > at least we can get rid of the custom u-boot repo/branch. > Ok, sorry I was busy. I will resend them with your suggestion Michael > Regards, > Ariel -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 michael at amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 info at amarulasolutions.com www.amarulasolutions.com From fontaine.fabrice at gmail.com Fri Apr 22 21:21:16 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 23:21:16 +0200 Subject: [Buildroot] [PATCH v2, 1/2] package/netsurf: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> Disable duktape with BR2_OPTIMIZE_FAST to fix the following build failure: In file included from content/handlers/javascript/duktape/duktape.h:195, from build/Linux-framebuffer/duktape/application_cache.c:21: content/handlers/javascript/duktape/duk_config.h:2861:2: error: #error __FAST_MATH__ defined, refusing to compile 2861 | #error __FAST_MATH__ defined, refusing to compile | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/2f1b42e2be3aa76cbacd84f3d0ad8b13edce6982 Signed-off-by: Fabrice Fontaine --- package/netsurf/netsurf.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 1064698c12..574c1423df 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -14,6 +14,17 @@ NETSURF_CPE_ID_VENDOR = netsurf-browser NETSURF_DEPENDENCIES = expat jpeg libpng \ host-bison host-flex host-gperf host-pkgconf host-vim +# internal duktape doesn't build with BR2_OPTIMIZE_FAST +ifeq ($(BR2_OPTIMIZE_FAST),y) +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := NO" >> $(@D)/netsurf/Makefile.config +endef +else +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := YES" >> $(@D)/netsurf/Makefile.config +endef +endif + ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) NETSURF_DEPENDENCIES += libgtk2 NETSURF_FRONTEND = gtk2 @@ -77,6 +88,7 @@ endef endif define NETSURF_CONFIGURE_CMDS + $(NETSURF_DUKTAPE_CONFIGURE_CMDS) $(NETSURF_ICONV_CONFIGURE_CMDS) $(NETSURF_SVG_CONFIGURE_CMDS) $(NETSURF_FONTLIB_CONFIGURE_CMDS) -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 22 21:21:17 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 23:21:17 +0200 Subject: [Buildroot] [PATCH v2,2/2] package/netsurf: fix build with ccache In-Reply-To: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> References: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> Message-ID: <20220422212117.1291718-2-fontaine.fabrice@gmail.com> Update second patch to fix the following build failure with ccache: /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. Fixes: - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Arnout Vandecappelle): - Update patch instead of using HOST_NOCCACHE) package/netsurf/0002-do-not-cross-compile-nsgenbind.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch index 2d4637511e..7caad47a20 100644 --- a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch +++ b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch @@ -8,6 +8,8 @@ the build, so it should not be built with the cross-compiler, but with the native compiler. Signed-off-by: Francois Perrad +[Fabrice: add quotes around BUILD_CC to fix build with ccache] +Signed-off-by: Fabrice Fontaine --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) @@ -21,7 +23,7 @@ index f279f01..5698c87 100644 # prefixed install macro for each host sub target define do_build_prefix_install - $(MAKE) install --directory=$1 HOST=$(BUILD) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= -+ $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= ++ $(MAKE) install --directory=$1 HOST=$(BUILD) CC="$(BUILD_CC)" PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= endef -- 2.35.1 From aperez at igalia.com Fri Apr 22 21:49:16 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Sat, 23 Apr 2022 00:49:16 +0300 Subject: [Buildroot] [PATCH 0/3] Update wlroots to the latest release Message-ID: <20220422214919.367067-1-aperez@igalia.com> Hi, This is a small patch set which brings wlroots library to its most recent version, fixing the cage compositor with a backported patch (as there is no newer release yet). I am adding one additional patch that enables the new Vulkan renderer when any of Mesa's Vulkan drivers is selected, too. I don't expect the two first patches of the set to be controversial, but dunno about the Vulkan one. If there are doubts, I suppose the first two could be merged anyway, leaving the other out for further discussion. One more thing: With wlroots 0.15.x it is finally possible to disable building the accelerated renderers (GLESv2, Vulkan) and have only the software based one (Pixman) built into wlroots. Currently I do not have the need for such a configuration, and therefore I am not planning to send a patch to allow that for now. On the other hand, if anyone wanted to try writing the patch, I would be more than happy to review it :-) Cheers, -Adrian Adrian Perez de Castro (3): package/wlroots: bump to version 0.15.1 package/cage: add upstream patch for wlroots 0.15.x package/wlroots: enable vulkan renderer if possible .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ++++++++++++++++++ package/wlroots/Config.in | 2 +- package/wlroots/wlroots.hash | 4 +- package/wlroots/wlroots.mk | 29 +- 4 files changed, 332 insertions(+), 15 deletions(-) create mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch -- 2.36.0 From aperez at igalia.com Fri Apr 22 21:49:17 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Sat, 23 Apr 2022 00:49:17 +0300 Subject: [Buildroot] [PATCH 1/3] package/wlroots: bump to version 0.15.1 In-Reply-To: <20220422214919.367067-1-aperez@igalia.com> References: <20220422214919.367067-1-aperez@igalia.com> Message-ID: <20220422214919.367067-2-aperez@igalia.com> Update to version 0.15.1, and adapt to upstream changes: - Adapted from the old -Dfoo-backend Meson option to the new -Dbackends one, which is an array. The set of always enabled backends matches the previous selection: drm+libinput always enabled, x11 only if selected. - Removed the libpng and ffmpeg dependency, which are no longer needed with examples disabled (which is always the case for Buildroot). - Changed homepage and download site URLs to the FreeDesktop.org GitLab. This release changes the API/ABI, and applications which use wlroots must be adapted and rebuilt. Currently in Buildroot we have only the cage compositor, to be updated in a follow-up patch. Signed-off-by: Adrian Perez de Castro --- package/wlroots/Config.in | 2 +- package/wlroots/wlroots.hash | 4 ++-- package/wlroots/wlroots.mk | 19 ++++++++----------- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/package/wlroots/Config.in b/package/wlroots/Config.in index 8d485992f5..84a4ef846e 100644 --- a/package/wlroots/Config.in +++ b/package/wlroots/Config.in @@ -27,7 +27,7 @@ config BR2_PACKAGE_WLROOTS wlroots is a modular Wayland library for building compositors which implements many of their common features. - https://github.com/swaywm/wlroots + https://gitlab.freedesktop.org/wlroots/wlroots if BR2_PACKAGE_WLROOTS diff --git a/package/wlroots/wlroots.hash b/package/wlroots/wlroots.hash index fdebe1ef68..04bbd65e43 100644 --- a/package/wlroots/wlroots.hash +++ b/package/wlroots/wlroots.hash @@ -1,5 +1,5 @@ -# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.14.1/wlroots-0.14.1.tar.gz.sig -sha256 448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db wlroots-0.14.1.tar.gz +# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.15.1/downloads/wlroots-0.15.1.tar.gz.sig +sha256 5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373 wlroots-0.15.1.tar.gz # Hashes for license files: sha256 ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b LICENSE diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index 89d5024176..baa1edd9e1 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -4,8 +4,8 @@ # ################################################################################ -WLROOTS_VERSION = 0.14.1 -WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION) +WLROOTS_VERSION = 0.15.1 +WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads WLROOTS_LICENSE = MIT WLROOTS_LICENSE_FILES = LICENSE WLROOTS_INSTALL_STAGING = YES @@ -25,19 +25,16 @@ WLROOTS_DEPENDENCIES = \ WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 -ifeq ($(BR2_PACKAGE_FFMPEG),y) -WLROOTS_DEPENDENCIES += ffmpeg -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -WLROOTS_DEPENDENCIES += libpng -endif +WLROOTS_BACKENDS = libinput drm ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) -WLROOTS_CONF_OPTS += -Dx11-backend=enabled -Dxwayland=enabled +WLROOTS_BACKENDS += x11 +WLROOTS_CONF_OPTS += -Dxwayland=enabled WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11 else -WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled +WLROOTS_CONF_OPTS += -Dxwayland=disabled endif +WLROOTS_CONF_OPTS += -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) + $(eval $(meson-package)) -- 2.36.0 From aperez at igalia.com Fri Apr 22 21:49:18 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Sat, 23 Apr 2022 00:49:18 +0300 Subject: [Buildroot] [PATCH 2/3] package/cage: add upstream patch for wlroots 0.15.x In-Reply-To: <20220422214919.367067-1-aperez@igalia.com> References: <20220422214919.367067-1-aperez@igalia.com> Message-ID: <20220422214919.367067-3-aperez@igalia.com> Add a backported patch from the upstream repository which makes cage usable with wlroots 0.15.x. Signed-off-by: Adrian Perez de Castro --- .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ++++++++++++++++++ 1 file changed, 312 insertions(+) create mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch diff --git a/package/cage/0001-Upgrade-to-wlroots-0.15.patch b/package/cage/0001-Upgrade-to-wlroots-0.15.patch new file mode 100644 index 0000000000..a5716ede43 --- /dev/null +++ b/package/cage/0001-Upgrade-to-wlroots-0.15.patch @@ -0,0 +1,312 @@ +From e51bef3fdad649d453276717294cc6177666cf5a Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Wed, 11 Aug 2021 11:31:14 +0200 +Subject: [PATCH] Upgrade to wlroots 0.15 + +- Update wlr_box includes to util/box.h: the wlroots header has + been moved upstream. +- Subsurface fields have been moved +- Create renderer and allocator, stop using wlr_backend_get_renderer +- Initalize output rendering + +Signed-off-by: Adrian Perez de Castro +Upstream status: https://github.com/Hjdskes/cage/commit/395189fb051ed722c7b10b6cb11caa8f6904079c +--- + cage.c | 21 +++++++++++++++++---- + meson.build | 2 +- + output.c | 5 +++++ + render.c | 26 ++++++++------------------ + server.h | 2 ++ + util.c | 2 -- + util.h | 2 +- + view.c | 5 ++--- + view.h | 2 +- + xdg_shell.c | 1 - + xwayland.c | 1 - + 11 files changed, 37 insertions(+), 32 deletions(-) + +diff --git a/cage.c b/cage.c +index 5392535..f9db7a9 100644 +--- a/cage.c ++++ b/cage.c +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -261,7 +262,6 @@ main(int argc, char *argv[]) + struct wl_event_source *sigint_source = NULL; + struct wl_event_source *sigterm_source = NULL; + struct wl_event_source *sigchld_source = NULL; +- struct wlr_renderer *renderer = NULL; + struct wlr_compositor *compositor = NULL; + struct wlr_data_device_manager *data_device_manager = NULL; + struct wlr_server_decoration_manager *server_decoration_manager = NULL; +@@ -316,8 +316,21 @@ main(int argc, char *argv[]) + goto end; + } + +- renderer = wlr_backend_get_renderer(server.backend); +- wlr_renderer_init_wl_display(renderer, server.wl_display); ++ server.renderer = wlr_renderer_autocreate(server.backend); ++ if (!server.renderer) { ++ wlr_log(WLR_ERROR, "Unable to create the wlroots renderer"); ++ ret = 1; ++ goto end; ++ } ++ ++ server.allocator = wlr_allocator_autocreate(server.backend, server.renderer); ++ if (!server.allocator) { ++ wlr_log(WLR_ERROR, "Unable to create the wlroots allocator"); ++ ret = 1; ++ goto end; ++ } ++ ++ wlr_renderer_init_wl_display(server.renderer, server.wl_display); + + wl_list_init(&server.views); + wl_list_init(&server.outputs); +@@ -329,7 +342,7 @@ main(int argc, char *argv[]) + goto end; + } + +- compositor = wlr_compositor_create(server.wl_display, renderer); ++ compositor = wlr_compositor_create(server.wl_display, server.renderer); + if (!compositor) { + wlr_log(WLR_ERROR, "Unable to create the wlroots compositor"); + ret = 1; +diff --git a/meson.build b/meson.build +index 3a84794..f2e5428 100644 +--- a/meson.build ++++ b/meson.build +@@ -34,7 +34,7 @@ if is_freebsd + ) + endif + +-wlroots = dependency('wlroots', version: '>= 0.14.0') ++wlroots = dependency('wlroots', version: '>= 0.15.0') + wayland_protos = dependency('wayland-protocols', version: '>=1.14') + wayland_server = dependency('wayland-server') + pixman = dependency('pixman-1') +diff --git a/output.c b/output.c +index d8da3b9..e8b3a22 100644 +--- a/output.c ++++ b/output.c +@@ -442,6 +442,11 @@ handle_new_output(struct wl_listener *listener, void *data) + struct cg_server *server = wl_container_of(listener, server, new_output); + struct wlr_output *wlr_output = data; + ++ if (!wlr_output_init_render(wlr_output, server->allocator, server->renderer)) { ++ wlr_log(WLR_ERROR, "Failed to initialize output rendering"); ++ return; ++ } ++ + struct cg_output *output = calloc(1, sizeof(struct cg_output)); + if (!output) { + wlr_log(WLR_ERROR, "Failed to allocate output"); +diff --git a/render.c b/render.c +index 166a088..ffa960f 100644 +--- a/render.c ++++ b/render.c +@@ -10,11 +10,11 @@ + #include + #include + #include +-#include + #include + #include + #include + #include ++#include + #include + #include + +@@ -27,8 +27,6 @@ + static void + scissor_output(struct wlr_output *output, pixman_box32_t *rect) + { +- struct wlr_renderer *renderer = wlr_backend_get_renderer(output->backend); +- + struct wlr_box box = { + .x = rect->x1, + .y = rect->y1, +@@ -41,7 +39,7 @@ scissor_output(struct wlr_output *output, pixman_box32_t *rect) + enum wl_output_transform transform = wlr_output_transform_invert(output->transform); + wlr_box_transform(&box, &box, transform, output_width, output_height); + +- wlr_renderer_scissor(renderer, &box); ++ wlr_renderer_scissor(output->renderer, &box); + } + + struct render_data { +@@ -52,8 +50,6 @@ static void + render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, struct wlr_texture *texture, + const struct wlr_box *box, const float matrix[static 9]) + { +- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); +- + pixman_region32_t damage; + pixman_region32_init(&damage); + pixman_region32_union_rect(&damage, &damage, box->x, box->y, box->width, box->height); +@@ -66,7 +62,7 @@ render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, + pixman_box32_t *rects = pixman_region32_rectangles(&damage, &nrects); + for (int i = 0; i < nrects; i++) { + scissor_output(wlr_output, &rects[i]); +- wlr_render_texture_with_matrix(renderer, texture, matrix, 1.0f); ++ wlr_render_texture_with_matrix(wlr_output->renderer, texture, matrix, 1.0f); + } + + damage_finish: +@@ -134,13 +130,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + struct cg_server *server = output->server; + struct wlr_output *wlr_output = output->wlr_output; + +- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); +- if (!renderer) { +- wlr_log(WLR_DEBUG, "Expected the output backend to have a renderer"); +- return; +- } +- +- wlr_renderer_begin(renderer, wlr_output->width, wlr_output->height); ++ wlr_renderer_begin(server->renderer, wlr_output->width, wlr_output->height); + + if (!pixman_region32_not_empty(damage)) { + wlr_log(WLR_DEBUG, "Output isn't damaged but needs a buffer swap"); +@@ -149,7 +139,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + + #ifdef DEBUG + if (server->debug_damage_tracking) { +- wlr_renderer_clear(renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); ++ wlr_renderer_clear(server->renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); + } + #endif + +@@ -158,7 +148,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + pixman_box32_t *rects = pixman_region32_rectangles(damage, &nrects); + for (int i = 0; i < nrects; i++) { + scissor_output(wlr_output, &rects[i]); +- wlr_renderer_clear(renderer, color); ++ wlr_renderer_clear(server->renderer, color); + } + + // TODO: render only top view, possibly use focused view for this, see #35. +@@ -178,8 +168,8 @@ renderer_end: + /* Draw software cursor in case hardware cursors aren't + available. This is a no-op when they are. */ + wlr_output_render_software_cursors(wlr_output, damage); +- wlr_renderer_scissor(renderer, NULL); +- wlr_renderer_end(renderer); ++ wlr_renderer_scissor(server->renderer, NULL); ++ wlr_renderer_end(server->renderer); + + int output_width, output_height; + wlr_output_transformed_resolution(wlr_output, &output_width, &output_height); +diff --git a/server.h b/server.h +index 817637b..74970c5 100644 +--- a/server.h ++++ b/server.h +@@ -25,6 +25,8 @@ struct cg_server { + struct wl_display *wl_display; + struct wl_list views; + struct wlr_backend *backend; ++ struct wlr_renderer *renderer; ++ struct wlr_allocator *allocator; + + struct cg_seat *seat; + struct wlr_idle *idle; +diff --git a/util.c b/util.c +index 95de499..714c7e3 100644 +--- a/util.c ++++ b/util.c +@@ -6,8 +6,6 @@ + * See the LICENSE file accompanying this file. + */ + +-#include +- + #include "util.h" + + int +diff --git a/util.h b/util.h +index db6bc7d..b6281f3 100644 +--- a/util.h ++++ b/util.h +@@ -1,7 +1,7 @@ + #ifndef CG_UTIL_H + #define CG_UTIL_H + +-#include ++#include + + /** Apply scale to a width or height. */ + int scale_length(int length, int offset, float scale); +diff --git a/view.c b/view.c +index 3f3b0ed..33b59b4 100644 +--- a/view.c ++++ b/view.c +@@ -12,7 +12,6 @@ + #include + #include + #include +-#include + #include + #include + +@@ -235,10 +234,10 @@ view_map(struct cg_view *view, struct wlr_surface *surface) + view->wlr_surface = surface; + + struct wlr_subsurface *subsurface; +- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_below, parent_link) { ++ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_below, current.link) { + subsurface_create(view, subsurface); + } +- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_above, parent_link) { ++ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_above, current.link) { + subsurface_create(view, subsurface); + } + +diff --git a/view.h b/view.h +index cd16e42..87477d0 100644 +--- a/view.h ++++ b/view.h +@@ -5,9 +5,9 @@ + + #include + #include +-#include + #include + #include ++#include + #if CAGE_HAS_XWAYLAND + #include + #endif +diff --git a/xdg_shell.c b/xdg_shell.c +index 2e42347..d676552 100644 +--- a/xdg_shell.c ++++ b/xdg_shell.c +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + +diff --git a/xwayland.c b/xwayland.c +index 2aae0f9..ebd8e54 100644 +--- a/xwayland.c ++++ b/xwayland.c +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + +-- +2.36.0 + -- 2.36.0 From aperez at igalia.com Fri Apr 22 21:49:19 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Sat, 23 Apr 2022 00:49:19 +0300 Subject: [Buildroot] [PATCH 3/3] package/wlroots: enable vulkan renderer if possible In-Reply-To: <20220422214919.367067-1-aperez@igalia.com> References: <20220422214919.367067-1-aperez@igalia.com> Message-ID: <20220422214919.367067-4-aperez@igalia.com> Enable the wlroots' Vulkan renderer if a suitable driver is being built. Currently only Mesa provides Vulkan drivers, so gating the feature on BR2_PACKAGE_MESA3D_VULKAN_DRIVER seems reasonable at the moment (and is done at least by one other package already: pipewire). Signed-off-by: Adrian Perez de Castro --- package/wlroots/wlroots.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index baa1edd9e1..4f14d20b11 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -23,8 +23,9 @@ WLROOTS_DEPENDENCIES = \ wayland \ wayland-protocols -WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 +WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled +WLROOTS_RENDERERS = gles2 WLROOTS_BACKENDS = libinput drm ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) @@ -35,6 +36,13 @@ else WLROOTS_CONF_OPTS += -Dxwayland=disabled endif -WLROOTS_CONF_OPTS += -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) +ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),y) +WLROOTS_RENDERERS += vulkan +WLROOTS_DEPENDENCIES += mesa3d +endif + +WLROOTS_CONF_OPTS += \ + -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) \ + -Drenderers=$(subst $(space),$(comma),$(strip $(WLROOTS_RENDERERS))) $(eval $(meson-package)) -- 2.36.0 From arnout at mind.be Fri Apr 22 21:56:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 22 Apr 2022 23:56:26 +0200 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: <20220422181418.2411463-2-joseph.kogut@gmail.com> References: <20220422181418.2411463-1-joseph.kogut@gmail.com> <20220422181418.2411463-2-joseph.kogut@gmail.com> Message-ID: <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> On 22/04/2022 20:14, Joseph Kogut wrote: > This fixes building host-libcurl, which otherwise would fail with > undefined references to nghttp2 symbols. > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' I guess this happens because it somehow finds libnghttp2 installed on the host but then fails to link with it? In any case, we don't actually need host-libcurl to be built with nghttp2 I think. So just pass --without-nghttp2. Regards, Arnout > > collect2: error: ld returned 1 exit status > > Signed-off-by: Joseph Kogut > --- > package/libcurl/libcurl.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > index 97857954db..d5805a1d32 100644 > --- a/package/libcurl/libcurl.mk > +++ b/package/libcurl/libcurl.mk > @@ -173,7 +173,7 @@ endef > LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP > endif > > -HOST_LIBCURL_DEPENDENCIES = host-openssl > +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 > HOST_LIBCURL_CONF_OPTS = \ > --disable-manual \ > --disable-ntlm-wb \ From fontaine.fabrice at gmail.com Fri Apr 22 21:58:13 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 23:58:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: lsfd needs headers >= 3.19 Message-ID: <20220422215813.2528195-1-fontaine.fabrice@gmail.com> lsfd depends on kcmp.h which is only exported since kernel 3.19 and https://github.com/torvalds/linux/commit/3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 resulting in the following build failure since bump to version 2.38 in commit ee978e853a6a4c9bb5ed661c1ae704e79f155a35: configure: error: lsfd selected, but required linux/kcmp.h header file not available Fixes: - http://autobuild.buildroot.org/results/555c272fe0f966f7f46d493236cb6dabeca24d9b Signed-off-by: Fabrice Fontaine --- package/util-linux/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index d3c0070160..917f1bc2b4 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -206,10 +206,15 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP config BR2_PACKAGE_UTIL_LINUX_LSFD bool "lsfd" depends on BR2_USE_MMU # libsmartcols + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS help List file descriptors (modern replacement for lsof) +comment "lsfd needs a toolchain w/ headers >= 3.19" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + config BR2_PACKAGE_UTIL_LINUX_LSLOGINS bool "lslogins" depends on BR2_USE_MMU # libsmartcols -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 22 21:59:31 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 22 Apr 2022 23:59:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-good: fix build with gcc 4.8 Message-ID: <20220422215931.2712013-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc 4.8 raised since bump to version 1.20.0 in commit 34317969278d7b6d923d4889fb4235f112b2b201: ../ext/soup/gstsouploader.c: In function 'gst_soup_load_library': ../ext/soup/gstsouploader.c:219:3: error: 'for' loop initial declarations are only allowed in C99 mode for (guint i = 0; i < len; i++) { ^ Fixes: - http://autobuild.buildroot.org/results/21792a9839d9722815075569123df8747fc450e3 Signed-off-by: Fabrice Fontaine --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 1168feb293..2b6cf769aa 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -10,6 +10,7 @@ GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ +GST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) GST1_PLUGINS_GOOD_CONF_OPTS = \ -- 2.35.1 From fontaine.fabrice at gmail.com Fri Apr 22 22:04:08 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 00:04:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9 Message-ID: <20220422220408.3173274-1-fontaine.fabrice@gmail.com> SVG support needs host gcc >= 4.9 since bump of harfbuzz to version 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: In file included from ../src/hb.hh:473:0, from ../src/hb-buffer-serialize.cc:27: ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' hb_enable_if (std::is_trivially_copy_assignable::value)> ^ Fixes: - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701 Signed-off-by: Fabrice Fontaine --- package/imagemagick/Config.in.host | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host index 671b0995dc..5055101e23 100644 --- a/package/imagemagick/Config.in.host +++ b/package/imagemagick/Config.in.host @@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG bool "SVG support" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz help Say 'y' here is you need ImageMagick tools (like convert) to support SVG. @@ -24,4 +25,8 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG This is not enabled by default, as it brings quite a few extra dependencies, and thus extra build time. +comment "SVG support needs host gcc >= 4.9" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + depends on !BR2_HOST_GCC_AT_LEAST_4_9 + endif -- 2.35.1 From joseph.kogut at gmail.com Fri Apr 22 22:09:34 2022 From: joseph.kogut at gmail.com (Joseph Kogut) Date: Fri, 22 Apr 2022 15:09:34 -0700 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> References: <20220422181418.2411463-1-joseph.kogut@gmail.com> <20220422181418.2411463-2-joseph.kogut@gmail.com> <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> Message-ID: On Fri, Apr 22, 2022 at 2:56 PM Arnout Vandecappelle wrote: > > > > On 22/04/2022 20:14, Joseph Kogut wrote: > > This fixes building host-libcurl, which otherwise would fail with > > undefined references to nghttp2 symbols. > > > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' > > /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' > > I guess this happens because it somehow finds libnghttp2 installed on the host > but then fails to link with it? In any case, we don't actually need host-libcurl > to be built with nghttp2 I think. So just pass --without-nghttp2. > It seems so. I think either providing the library or disabling it will work fine, I just didn't want to assume what other users need here. I'll respin with that config, thanks for the review. > > Regards, > Arnout > > > > > collect2: error: ld returned 1 exit status > > > > Signed-off-by: Joseph Kogut > > --- > > package/libcurl/libcurl.mk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > > index 97857954db..d5805a1d32 100644 > > --- a/package/libcurl/libcurl.mk > > +++ b/package/libcurl/libcurl.mk > > @@ -173,7 +173,7 @@ endef > > LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP > > endif > > > > -HOST_LIBCURL_DEPENDENCIES = host-openssl > > +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 > > HOST_LIBCURL_CONF_OPTS = \ > > --disable-manual \ > > --disable-ntlm-wb \ From arnout at mind.be Fri Apr 22 22:19:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 00:19:28 +0200 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: References: <20220422181418.2411463-1-joseph.kogut@gmail.com> <20220422181418.2411463-2-joseph.kogut@gmail.com> <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> Message-ID: <8f21f80b-07ae-24ce-a84c-94666edb0381@mind.be> On 23/04/2022 00:09, Joseph Kogut wrote: > On Fri, Apr 22, 2022 at 2:56 PM Arnout Vandecappelle wrote: >> >> >> >> On 22/04/2022 20:14, Joseph Kogut wrote: >>> This fixes building host-libcurl, which otherwise would fail with >>> undefined references to nghttp2 symbols. >>> >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' >> >> I guess this happens because it somehow finds libnghttp2 installed on the host >> but then fails to link with it? In any case, we don't actually need host-libcurl >> to be built with nghttp2 I think. So just pass --without-nghttp2. >> > > It seems so. I think either providing the library or disabling it will > work fine, I just didn't want to assume what other users need here. > I'll respin with that config, thanks for the review. Actually, host-libcurl was only added for host-cargo. When host-cargo was removed, we should have removed host-libcurl as well. So the even better solution would be to simply revert commit 736e0fc5d6103300fb5d6b0cde5e22ce978b8a80. How did you even run in to this error? There should be no reason to build host-libcurl... Regards, Arnout > >> >> Regards, >> Arnout >> >>> >>> collect2: error: ld returned 1 exit status >>> >>> Signed-off-by: Joseph Kogut >>> --- >>> package/libcurl/libcurl.mk | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk >>> index 97857954db..d5805a1d32 100644 >>> --- a/package/libcurl/libcurl.mk >>> +++ b/package/libcurl/libcurl.mk >>> @@ -173,7 +173,7 @@ endef >>> LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP >>> endif >>> >>> -HOST_LIBCURL_DEPENDENCIES = host-openssl >>> +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 >>> HOST_LIBCURL_CONF_OPTS = \ >>> --disable-manual \ >>> --disable-ntlm-wb \ From joseph.kogut at gmail.com Fri Apr 22 22:32:51 2022 From: joseph.kogut at gmail.com (Joseph Kogut) Date: Fri, 22 Apr 2022 15:32:51 -0700 Subject: [Buildroot] [PATCH 2/2] package/libcurl: add host-nghttp2 to host deps In-Reply-To: <8f21f80b-07ae-24ce-a84c-94666edb0381@mind.be> References: <20220422181418.2411463-1-joseph.kogut@gmail.com> <20220422181418.2411463-2-joseph.kogut@gmail.com> <5eced090-c6ac-21fb-3206-f3c0ff0f2e74@mind.be> <8f21f80b-07ae-24ce-a84c-94666edb0381@mind.be> Message-ID: On Fri, Apr 22, 2022 at 3:19 PM Arnout Vandecappelle wrote: > > > > On 23/04/2022 00:09, Joseph Kogut wrote: > > On Fri, Apr 22, 2022 at 2:56 PM Arnout Vandecappelle wrote: > >> > >> > >> > >> On 22/04/2022 20:14, Joseph Kogut wrote: > >>> This fixes building host-libcurl, which otherwise would fail with > >>> undefined references to nghttp2 symbols. > >>> > >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_pack_settings_payload' > >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_http2_strerror' > >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_request' > >>> /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `nghttp2_submit_rst_stream' > >> > >> I guess this happens because it somehow finds libnghttp2 installed on the host > >> but then fails to link with it? In any case, we don't actually need host-libcurl > >> to be built with nghttp2 I think. So just pass --without-nghttp2. > >> > > > > It seems so. I think either providing the library or disabling it will > > work fine, I just didn't want to assume what other users need here. > > I'll respin with that config, thanks for the review. > > Actually, host-libcurl was only added for host-cargo. When host-cargo was > removed, we should have removed host-libcurl as well. > > So the even better solution would be to simply revert commit > 736e0fc5d6103300fb5d6b0cde5e22ce978b8a80. > > How did you even run in to this error? There should be no reason to build > host-libcurl... > I have an external package that makes an HTTP query to populate a config file. I'm not sure if there's a better way to do this, if you have any thoughts, I'm all ears. > Regards, > Arnout > > > > >> > >> Regards, > >> Arnout > >> > >>> > >>> collect2: error: ld returned 1 exit status > >>> > >>> Signed-off-by: Joseph Kogut > >>> --- > >>> package/libcurl/libcurl.mk | 2 +- > >>> 1 file changed, 1 insertion(+), 1 deletion(-) > >>> > >>> diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > >>> index 97857954db..d5805a1d32 100644 > >>> --- a/package/libcurl/libcurl.mk > >>> +++ b/package/libcurl/libcurl.mk > >>> @@ -173,7 +173,7 @@ endef > >>> LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP > >>> endif > >>> > >>> -HOST_LIBCURL_DEPENDENCIES = host-openssl > >>> +HOST_LIBCURL_DEPENDENCIES = host-openssl host-nghttp2 > >>> HOST_LIBCURL_CONF_OPTS = \ > >>> --disable-manual \ > >>> --disable-ntlm-wb \ From kris at embeddedTS.com Fri Apr 22 22:36:07 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:07 -0700 Subject: [Buildroot] [PATCH v2 0/4] Pull in WILC Wi-Fi updates Message-ID: <20220422223611.10443-1-kris@embeddedTS.com> This series bumps WILC1000/3000 firmware to the latest available from Microchip, updates existing defconfig files to include both WILC1000 and WILC3000 blobs, and adds a package to build the wilc driver as an external kernel module. The previous wilc1000-firmware package was extremely outdated, no longer available on github, and installed the firmware files to the wrong location for the current upstream kernel wilc1000 driver and Microchip's separately maintained driver. Since the firmware change includes individual WILC1000 and WILC3000 config options, this package is renamed to wilc-firmware. The defconfigs of all platforms that used WILC1000 firmware were touched to also include WILC3000 firmware. They either natively have WILC3000 or can support either WILC1000/WILC3000 being connected to these platforms. I've attempted to test the firmware changes against microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig as this is a board I have in my possession. However, the defconfig appears broken (Microchip now maintains the evk in their own BR2_EXTERNAL repo): ... Kernel command line: console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw ... RAMDISK: Couldn't find valid RAM disk image starting at 0. mmc0: new ultra high speed DDR50 SDHC card at address aaaa List of all partitions: ... Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.80-linux4microchip-2021.10 #1 Hardware name: Atmel SAMA5 Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Exception stack(0xc2c29fb0 to 0xc2c29ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) ]--- The firmware and driver changes have been thoroughly tested, however, on an embeddedTS platform (BR patch for this in the future, waiting on kernel accepting FDT) that includes the WILC3000 device. We have a number of platforms that all use this same device and are starting to push for better upstream support overall. So this patch series is us laying the groundwork for that. Changes v1 -> v2: - Add un-prompted BR2_PACKAGE_WILC_FIRMWARE symbol to ensure that wilc-firmware is built as part of make - Fix check-patch warning in wilc-firmware - Add wilc-firmware license copied Microchip's buildroot-external repo - Bump wilc-driver to linux4microchip-2021.10-1, removes kernel version check that doesn't need to be there yet. Kris Bahnsen (4): package/wilc1000-firmware: bump to 15.6 package/wilc-firmware: rename from wilc1000-firmware configs: add WILC3000_FIRMWARE to compatible devices package/wilc-driver: new package DEVELOPERS | 6 ++- configs/at91sam9x5ek_dev_defconfig | 1 + configs/at91sam9x5ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + .../microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + package/Config.in | 3 +- package/wilc-driver/Config.in | 58 ++++++++++++++++++++++ package/wilc-driver/wilc-driver.hash | 2 + package/wilc-driver/wilc-driver.mk | 29 +++++++++++ package/wilc-firmware/Config.in | 34 +++++++++++++ package/wilc-firmware/wilc-firmware.hash | 2 + package/wilc-firmware/wilc-firmware.mk | 35 +++++++++++++ package/wilc1000-firmware/Config.in | 6 --- package/wilc1000-firmware/wilc1000-firmware.hash | 2 - package/wilc1000-firmware/wilc1000-firmware.mk | 24 --------- 23 files changed, 179 insertions(+), 34 deletions(-) create mode 100644 package/wilc-driver/Config.in create mode 100644 package/wilc-driver/wilc-driver.hash create mode 100644 package/wilc-driver/wilc-driver.mk create mode 100644 package/wilc-firmware/Config.in create mode 100644 package/wilc-firmware/wilc-firmware.hash create mode 100644 package/wilc-firmware/wilc-firmware.mk delete mode 100644 package/wilc1000-firmware/Config.in delete mode 100644 package/wilc1000-firmware/wilc1000-firmware.hash delete mode 100644 package/wilc1000-firmware/wilc1000-firmware.mk -- 2.11.0 From kris at embeddedTS.com Fri Apr 22 22:36:09 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:09 -0700 Subject: [Buildroot] [PATCH v2 2/4] package/wilc-firmware: rename from wilc1000-firmware In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> Message-ID: <20220422223611.10443-3-kris@embeddedTS.com> Separates out WILC1000 and WILC3000 in to individual config options since in reality only one or the other set would be needed. Signed-off-by: Kris Bahnsen --- DEVELOPERS | 5 ++++- package/Config.in | 2 +- .../{wilc1000-firmware => wilc-firmware}/Config.in | 9 +++++++-- .../wilc-firmware.hash} | 2 +- .../wilc-firmware.mk} | 22 +++++++++++----------- 5 files changed, 24 insertions(+), 16 deletions(-) rename package/{wilc1000-firmware => wilc-firmware}/Config.in (82%) rename package/{wilc1000-firmware/wilc1000-firmware.hash => wilc-firmware/wilc-firmware.hash} (62%) rename package/{wilc1000-firmware/wilc1000-firmware.mk => wilc-firmware/wilc-firmware.mk} (51%) diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..fc0f52edf5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1662,6 +1662,9 @@ F: board/octavo/osd32mp1-red/ F: configs/octavo_osd32mp1_brk_defconfig F: configs/octavo_osd32mp1_red_defconfig +N: Kris Bahnsen +F: package/wilc-firmware/ + N: Kurt Van Dijck F: package/bcusdk/ F: package/libpthsem/ @@ -1759,7 +1762,7 @@ F: package/python-json-schema-validator/ F: package/python-keyring/ F: package/python-simplejson/ F: package/python-versiontools/ -F: package/wilc1000-firmware/ +F: package/wilc-firmware/ N: Maeva Manuel F: board/freescale/imx8qmmek/ diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..1ff7f4cc66 100644 --- a/package/Config.in +++ b/package/Config.in @@ -432,7 +432,7 @@ menu "Firmware" source "package/sunxi-boards/Config.in" source "package/ts4900-fpga/Config.in" source "package/ux500-firmware/Config.in" - source "package/wilc1000-firmware/Config.in" + source "package/wilc-firmware/Config.in" source "package/wilink-bt-firmware/Config.in" source "package/zd1211-firmware/Config.in" endmenu diff --git a/package/wilc1000-firmware/Config.in b/package/wilc-firmware/Config.in similarity index 82% rename from package/wilc1000-firmware/Config.in rename to package/wilc-firmware/Config.in index 0734c7ad99..72a9c73206 100644 --- a/package/wilc1000-firmware/Config.in +++ b/package/wilc-firmware/Config.in @@ -1,5 +1,11 @@ +config BR2_PACKAGE_WILC_FIRMWARE + bool + help + Provider package for WILC1000_FIRMWARE & WILC3000_FIRMWARE + config BR2_PACKAGE_WILC1000_FIRMWARE bool "wilc1000-firmware" + select BR2_PACKAGE_WILC_FIRMWARE help Firmware for Microchip WILC1000 wireless device @@ -12,9 +18,9 @@ config BR2_PACKAGE_WILC1000_FIRMWARE https://github.com/linux4wilc/firmware -if BR2_PACKAGE_WILC1000_FIRMWARE config BR2_PACKAGE_WILC3000_FIRMWARE bool "wilc3000-firmware" + select BR2_PACKAGE_WILC_FIRMWARE help Firmware for Microchip WILC3000 wireless device @@ -26,4 +32,3 @@ config BR2_PACKAGE_WILC3000_FIRMWARE These will be installed to /lib/firmware/mchp/ https://github.com/linux4wilc/firmware -endif diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc-firmware/wilc-firmware.hash similarity index 62% rename from package/wilc1000-firmware/wilc1000-firmware.hash rename to package/wilc-firmware/wilc-firmware.hash index 9d55be9edc..2f1fc9964d 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.hash +++ b/package/wilc-firmware/wilc-firmware.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc-firmware-wilc_linux_15_6.tar.gz diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc-firmware/wilc-firmware.mk similarity index 51% rename from package/wilc1000-firmware/wilc1000-firmware.mk rename to package/wilc-firmware/wilc-firmware.mk index 0af81c7110..19185bcb9b 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.mk +++ b/package/wilc-firmware/wilc-firmware.mk @@ -1,35 +1,35 @@ ################################################################################ # -# wilc1000-firmware +# wilc-firmware # ################################################################################ -WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 -WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) +WILC_FIRMWARE_VERSION = wilc_linux_15_6 +WILC_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC_FIRMWARE_VERSION)) -WILC1000_FIRMWARE_LICENSE = Microchip firmware -WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw +WILC_FIRMWARE_LICENSE = Microchip firmware +WILC_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) -WILC1000_FIRMWARE_FILES += \ +WILC_FIRMWARE_FILES += \ wilc1000_wifi_firmware.bin endif ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) -WILC1000_FIRMWARE_FILES += \ +WILC_FIRMWARE_FILES += \ wilc3000_ble_firmware.bin \ wilc3000_wifi_firmware.bin endif -define WILC1000_FIRMWARE_INSTALL_FILES +define WILC_FIRMWARE_INSTALL_FILES cd $(@D) && \ - $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ + $(TAR) cf install.tar $(sort $(WILC_FIRMWARE_FILES)) && \ $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp endef -define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS +define WILC_FIRMWARE_INSTALL_TARGET_CMDS $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ - $(WILC1000_FIRMWARE_INSTALL_FILES) + $(WILC_FIRMWARE_INSTALL_FILES) endef $(eval $(generic-package)) -- 2.11.0 From kris at embeddedTS.com Fri Apr 22 22:36:08 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:08 -0700 Subject: [Buildroot] [PATCH v2 1/4] package/wilc1000-firmware: bump to 15.6 In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> Message-ID: <20220422223611.10443-2-kris@embeddedTS.com> Supports both WILC1000 (Wi-Fi only) and WILC3000 (Wi-Fi/BLE) hardware. To support WILC3000 this commit adds a separate config option, the original config option from this package is still valid. License information copied from Microchip's buildroot-external project. Signed-off-by: Kris Bahnsen --- package/wilc1000-firmware/Config.in | 27 +++++++++++++++++++-- package/wilc1000-firmware/wilc1000-firmware.hash | 2 +- package/wilc1000-firmware/wilc1000-firmware.mk | 31 ++++++++++++++++-------- 3 files changed, 47 insertions(+), 13 deletions(-) diff --git a/package/wilc1000-firmware/Config.in b/package/wilc1000-firmware/Config.in index df8a7a6b60..0734c7ad99 100644 --- a/package/wilc1000-firmware/Config.in +++ b/package/wilc1000-firmware/Config.in @@ -1,6 +1,29 @@ config BR2_PACKAGE_WILC1000_FIRMWARE bool "wilc1000-firmware" help - Firmware for Atmel Wilc1000 wireless device + Firmware for Microchip WILC1000 wireless device - https://github.com/linux4sc/wireless-firmware.git + These binary blobs are provided directly from Microchip. + Ideally, the firmware version should match driver version. + Generally, the latest firmware would be acceptible regardless + of driver version. + + These will be installed to /lib/firmware/mchp/ + + https://github.com/linux4wilc/firmware + +if BR2_PACKAGE_WILC1000_FIRMWARE +config BR2_PACKAGE_WILC3000_FIRMWARE + bool "wilc3000-firmware" + help + Firmware for Microchip WILC3000 wireless device + + These binary blobs are provided directly from Microchip. + Ideally, the firmware version should match driver version. + Generally, the latest firmware would be acceptible regardless + of driver version. + + These will be installed to /lib/firmware/mchp/ + + https://github.com/linux4wilc/firmware +endif diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc1000-firmware/wilc1000-firmware.hash index 5344efe517..9d55be9edc 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.hash +++ b/package/wilc1000-firmware/wilc1000-firmware.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 a2e7a327dd545ba2051946f7613005cbde88fdd952afb8eecdd1dacda7e767d2 v14.1_Firmware.zip +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc1000-firmware/wilc1000-firmware.mk index 6f504d67a0..0af81c7110 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.mk +++ b/package/wilc1000-firmware/wilc1000-firmware.mk @@ -4,21 +4,32 @@ # ################################################################################ -WILC1000_FIRMWARE_VERSION = 14.1 -WILC1000_FIRMWARE_SITE = https://github.com/linux4sc/wireless-firmware/archive -WILC1000_FIRMWARE_SOURCE = v$(WILC1000_FIRMWARE_VERSION)_Firmware.zip +WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 +WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) -WILC1000_FIRMWARE_LICENSE = PROPRIETARY +WILC1000_FIRMWARE_LICENSE = Microchip firmware +WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw -define WILC1000_FIRMWARE_EXTRACT_CMDS - $(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE) - mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D) - rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware +ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) +WILC1000_FIRMWARE_FILES += \ + wilc1000_wifi_firmware.bin +endif + +ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) +WILC1000_FIRMWARE_FILES += \ + wilc3000_ble_firmware.bin \ + wilc3000_wifi_firmware.bin +endif + +define WILC1000_FIRMWARE_INSTALL_FILES + cd $(@D) && \ + $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp endef define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \ - $(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ + $(WILC1000_FIRMWARE_INSTALL_FILES) endef $(eval $(generic-package)) -- 2.11.0 From kris at embeddedTS.com Fri Apr 22 22:36:11 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:11 -0700 Subject: [Buildroot] [PATCH v2 4/4] package/wilc-driver: new package In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> Message-ID: <20220422223611.10443-5-kris@embeddedTS.com> WILC1000/3000 driver pulled from at91-linux tree set-up to be built as an external module. Upstream Linux kernel does not support WILC3000 features at this time. This package is intended to bridge that gap until WILC1000/3000 is fully supported in kernel. Signed-off-by: Kris Bahnsen --- DEVELOPERS | 1 + package/Config.in | 1 + package/wilc-driver/Config.in | 58 ++++++++++++++++++++++++++++++++++++ package/wilc-driver/wilc-driver.hash | 2 ++ package/wilc-driver/wilc-driver.mk | 29 ++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 package/wilc-driver/Config.in create mode 100644 package/wilc-driver/wilc-driver.hash create mode 100644 package/wilc-driver/wilc-driver.mk diff --git a/DEVELOPERS b/DEVELOPERS index fc0f52edf5..1e6b2d0f48 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1664,6 +1664,7 @@ F: configs/octavo_osd32mp1_red_defconfig N: Kris Bahnsen F: package/wilc-firmware/ +F: package/wilc-driver/ N: Kurt Van Dijck F: package/bcusdk/ diff --git a/package/Config.in b/package/Config.in index 1ff7f4cc66..8d5ed427c4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -610,6 +610,7 @@ endmenu source "package/usbutils/Config.in" source "package/w_scan/Config.in" source "package/wf111/Config.in" + source "package/wilc-driver/Config.in" source "package/wipe/Config.in" source "package/xorriso/Config.in" source "package/xr819-xradio/Config.in" diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in new file mode 100644 index 0000000000..caf46ae281 --- /dev/null +++ b/package/wilc-driver/Config.in @@ -0,0 +1,58 @@ +config BR2_PACKAGE_WILC_DRIVER + bool "wilc kernel module" + help + External kernel module for WILC1000/3000 devices. + + wilc kernel driver source as found in Microchip's at91-linux + kernel tree with added Kbuild file to be built as a generic + external module. + + The wilc1000 driver currently maintained in Linux kernel does + not support BLE of the WILC3000 hardware. This package is + meant to bridge that gap until Microchip can get WILC3000 + support upstream. + + Supports both SDIO and SPI modes. + + https://github.com/embeddedTS/wilc3000-external-module + +if BR2_PACKAGE_WILC_DRIVER + +config BR2_PACKAGE_WILC_DRIVER_SPI + bool "SPI" + help + This module adds support for the SPI interface of adapters + using WILC1000/3000 chipset. The WILC1000/3000 has a Serial + Peripheral Interface (SPI) that operates as an SPI slave. + This SPI interface can be used for control and for serial + I/O of 802.11 data. The SPI is a full-duplex slave + synchronous serial interface that is available immediately + following reset when pin 9 (SDIO_SPI_CFG) is tied to VDDIO. + Select this if your platform is using the SPI bus. + +config BR2_PACKAGE_WILC_DRIVER_SDIO + bool "SDIO" + help + This module adds support for the SDIO interface of adapters + using WILC1000/3000 chipset. The WILC1000/3000 SDIO is a full + speed interface. It meets SDIO card specification version 2.0. + The interface supports the 1-bit/4-bit SD transfer mode at the + clock range of 0-50 MHz. The host can use this interface to + read and write from any register within the chip as well as + configure the WILC1000/3000 for data DMA. To use this + interface, pin9 (SDIO_SPI_CFG) must be grounded. Select this + if your platform is using the SDIO bus. + +if BR2_PACKAGE_WILC_DRIVER_SDIO + +config BR2_PACKAGE_WILC_DRIVER_SDIO_OOB + bool "Enable out-of-band interrupt" + help + This option enables out-of-band interrupt support for the + WILC1000/3000 chipset. This OOB interrupt is intended to + provide a faster interrupt mechanism for SDIO host controllers + that don't support SDIO interrupt. Select this option If the + SDIO host controller in your platform doesn't support SDIO + time division interrupt. +endif +endif diff --git a/package/wilc-driver/wilc-driver.hash b/package/wilc-driver/wilc-driver.hash new file mode 100644 index 0000000000..b51591e8d8 --- /dev/null +++ b/package/wilc-driver/wilc-driver.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 4796b1a53781f8702a335b0146d488a9422b71dab39f6f154f955b0ad1711199 wilc-driver-linux4microchip-2021.10-1.tar.gz diff --git a/package/wilc-driver/wilc-driver.mk b/package/wilc-driver/wilc-driver.mk new file mode 100644 index 0000000000..a89af30e29 --- /dev/null +++ b/package/wilc-driver/wilc-driver.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# wilc-driver +# +################################################################################ + +WILC_DRIVER_VERSION = linux4microchip-2021.10-1 +WILC_DRIVER_SITE = $(call github,embeddedTS,wilc3000-external-module,$(WILC_DRIVER_VERSION)) + +WILC_DRIVER_LICENSE = GPL-2.0 +WILC_DRIVER_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SPI),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_SPI=m +endif + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_SDIO=m +endif + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO_OOB),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_HW_OOB_INTR=y +endif + +$(eval $(kernel-module)) +$(eval $(generic-package)) -- 2.11.0 From kris at embeddedTS.com Fri Apr 22 22:36:10 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Fri, 22 Apr 2022 15:36:10 -0700 Subject: [Buildroot] [PATCH v2 3/4] configs: add WILC3000_FIRMWARE to compatible devices In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> Message-ID: <20220422223611.10443-4-kris@embeddedTS.com> The update to wilc-firmware added firmware files for WILC3000 devices as a separate config option. All Atmel/Microchip defconfigs that previously only had WILC1000_FIRMWARE either have WILC3000 Wi-Fi hardware (WILC3000 is the same silicon but with BLE added) or have the capacity to have either WILC1000 or WILC3000 devices added to the system. Install all firmware blobs to these devices by default. Signed-off-by: Kris Bahnsen --- configs/at91sam9x5ek_dev_defconfig | 1 + configs/at91sam9x5ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + 12 files changed, 12 insertions(+) diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig index bfa8e95941..8714463d89 100644 --- a/configs/at91sam9x5ek_dev_defconfig +++ b/configs/at91sam9x5ek_dev_defconfig @@ -47,6 +47,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig index 2e1a5c7f59..9481594716 100644 --- a/configs/at91sam9x5ek_mmc_dev_defconfig +++ b/configs/at91sam9x5ek_mmc_dev_defconfig @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig index ba2fa46790..38618a5732 100644 --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +++ b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_RNG_TOOLS=y diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig index a8b68ca0a2..1654408aa5 100644 --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig index cdfd9de17e..64455cb2e0 100644 --- a/configs/atmel_sama5d3_xplained_dev_defconfig +++ b/configs/atmel_sama5d3_xplained_dev_defconfig @@ -49,6 +49,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig index a2205aeefa..8f5724d631 100644 --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig @@ -52,6 +52,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig index f8783f5652..fab91cf0b3 100644 --- a/configs/atmel_sama5d4_xplained_dev_defconfig +++ b/configs/atmel_sama5d4_xplained_dev_defconfig @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig index b4e99f658a..f9074e9862 100644 --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig index 06e03967c4..2b4e234297 100644 --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig +++ b/configs/microchip_sam9x60ek_mmc_dev_defconfig @@ -36,6 +36,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig index 3bcd5f0200..f9aa6cdc05 100644 --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig +++ b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig index 27d1d3409d..b1b22c1312 100644 --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig +++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig @@ -32,6 +32,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_SETSERIAL=y BR2_PACKAGE_SPI_TOOLS=y diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig index 6eb6c282e0..d68846e553 100644 --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig @@ -30,6 +30,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_RNG_TOOLS=y # BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set -- 2.11.0 From arnout at mind.be Fri Apr 22 22:48:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 00:48:43 +0200 Subject: [Buildroot] [RFC PATCH v3 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: <20220422143134.28561-3-flaniel@linux.microsoft.com> References: <20220422143134.28561-1-flaniel@linux.microsoft.com> <20220422143134.28561-3-flaniel@linux.microsoft.com> Message-ID: Hi Francis, Thanks for continuing to work on this! On 22/04/2022 16:31, Francis Laniel wrote: > sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() > syscall [1]. > This patch bumps its version to enable cross-compilation. > > By doing so, we can remove the previous patches. > But this commit introduces new patches. > Indeed, libsinsp (lib system inspection), libscap (lib system capture) and the > kernel module were moved to falcosecurity/libs. > Sadly, it is not possible to compile sysdig with pre-compiled libs (like we do > in buildroot). > So, this contribution introduces a new patch to build sysdig with already built > falcosecurity/libs. > > [1] https://marc.info/?l=buildroot&m=164951521629400 > > Signed-off-by: Francis Laniel > --- > ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ > ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- > ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- > ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ > package/sysdig/Config.in | 31 ++----- > package/sysdig/sysdig.hash | 4 +- > package/sysdig/sysdig.mk | 55 ++++++------- > 7 files changed, 141 insertions(+), 188 deletions(-) > create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch > delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > create mode 100644 package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > > diff --git a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch > new file mode 100644 > index 0000000000..29f03b1b61 > --- /dev/null > +++ b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch > @@ -0,0 +1,51 @@ > +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Wed, 13 Apr 2022 18:01:11 +0100 > +Subject: [PATCH 1/2] cmake: Check USE_BUNDLED_DEPS before getting There should be no N/M in patches. check-package reports this. > + nlohmann-json. > + > +Signed-off-by: Francis Laniel Please send your patches upstream (i.e. create a merge request on the sysdig project) before even sending it to Buildroot, and add Upstream: https://github.com/... to the patch you submit to Buildroot. This way, it's easier to find if the patch can be removed when the package version is bumped. Also, for reviewing, it allows us to check if upstream has any comments on the patch. Upstream generally has a better idea of how things are supposed to work than we do. And if they end up committing an alternative approach, we can simply pick that one (while committing) instead of the one you submitted. > +--- > + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- > + 1 file changed, 19 insertions(+), 10 deletions(-) > + > +diff --git a/cmake/modules/nlohmann-json.cmake b/cmake/modules/nlohmann-json.cmake > +index bb1279d7..feb0f071 100644 > +--- a/cmake/modules/nlohmann-json.cmake > ++++ b/cmake/modules/nlohmann-json.cmake > +@@ -16,13 +16,22 @@ > + # limitations under the License. > + # > + > +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") > +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") > +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") > +-ExternalProject_Add( > +- njson > +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" > +- URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" > +- CONFIGURE_COMMAND "" > +- BUILD_COMMAND "" > +- INSTALL_COMMAND "") > ++if(NOT USE_BUNDLED_DEPS) > ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) > ++ if(NJSON_INCLUDE_DIR) > ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") > ++ else() > ++ message(FATAL_ERROR "Couldn't find system njson") > ++ endif() > ++else() > ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") > ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") > ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") > ++ ExternalProject_Add( > ++ njson > ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" > ++ URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" > ++ CONFIGURE_COMMAND "" > ++ BUILD_COMMAND "" > ++ INSTALL_COMMAND "") > ++endif() > +-- > +2.25.1 > + > diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > deleted file mode 100644 > index 7873210281..0000000000 > --- a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch > +++ /dev/null > @@ -1,82 +0,0 @@ > -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 > -From: Francis Laniel > -Date: Wed, 6 Apr 2022 16:54:37 +0100 > -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. > - > -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and > -luaL_Reg. > -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function > -call as well. > -Note that, this PATCH_COMMAND was added in sysdig in: > -a064440394c9 ("Adding power support to Travis builds (#1566)") > - > -This patch is also present in kubernetes/minikube in: > -f036c279bc59 ("Add patch for compiling sysdig with system luajit") You didn't apply this patch to falcosecurity-libs. Is it no longer needed there? [snip] > diff --git a/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > new file mode 100644 > index 0000000000..30601c2430 > --- /dev/null > +++ b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > @@ -0,0 +1,59 @@ > +From e681028c5567582f9c66cf2b11234ab3a1cacc73 Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Fri, 15 Apr 2022 14:17:48 +0100 > +Subject: [PATCH 2/2] cmake: Add libsinsp.a as IMPORTED library. > + > +libsinsp.a is created by falcosecurity/libs which is downloaded while building > +sysdig. > + > +In buildroot, we do not want to depend of external download. > +This patch adds libsinsp.a as IMPORTER library and links all its dependencies > +against it. > + > +Signed-off-by: Francis Laniel > +--- > + userspace/sysdig/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ > + 1 file changed, 28 insertions(+) > + > +diff --git a/userspace/sysdig/CMakeLists.txt b/userspace/sysdig/CMakeLists.txt > +index 401d65e3..ef339b71 100644 > +--- a/userspace/sysdig/CMakeLists.txt > ++++ b/userspace/sysdig/CMakeLists.txt > +@@ -86,6 +86,34 @@ target_include_directories( > + if(NOT WIN32) > + include_directories(${PROJECT_BINARY_DIR}/driver/src) > + > ++ if(SCAP_STATIC_LIBRARY_PATH AND SINSP_STATIC_LIBRARY_PATH) If you add new CMake variables, use the SET command to define them and give them a help text. However, is it necessary to set them? Can't you just use find_library to find them in the sysroot? It's basically the same approach as for finding the JSON library in the other patch. Except... Apparently falcosecurity-libs doesn't actually install its stuff. It really is meant to be used as a submodule. OK, it looks like this is really trying to fight upstream too much. So then it's probably better to revert to your earlier proposal: turn falcosecurity-libs into a generic package that just downloads stuff and doesn't install, and do the build from the sysdig build. I think, since it's not using in-tree build, that it doesn't even write anything in the falcosecurity-libs source directory, right? So the ugliness is rather limited... > ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) > ++ find_library(B64_LIB NAMES b64) > ++ find_library(CARES_LIB NAMES cares) > ++ find_library(ELF_LIB NAMES elf) > ++ find_library(GTEST_LIB NAMES gtest) > ++ find_library(JQ_LIB NAMES jq) > ++ find_library(JSONCPP_LIB NAMES jsoncpp) > ++ find_library(LUAJIT_LIB NAMES luajit luajit-5.1) > ++ find_library(PROTOBUF_LIB NAMES protobuf) > ++ find_library(TBB_LIB NAMES tbb) > ++ find_library(ZLIB_LIB NAMES z) > ++ > ++ find_package(CURL REQUIRED) > ++ find_package(gRPC REQUIRED) > ++ find_package(OpenSSL REQUIRED) > ++ > ++ set(GPR_LIB gRPC::gpr) > ++ set(GRPC_LIB gRPC::grpc) > ++ set(GRPCPP_LIB gRPC::grpc++) > ++ > ++ add_library(sinsp STATIC IMPORTED) > ++ set_target_properties(sinsp PROPERTIES > ++ IMPORTED_LOCATION "${SINSP_STATIC_LIBRARY_PATH}" > ++ INTERFACE_LINK_LIBRARIES "${ABSL_SYNC_LIB};${B64_LIB};${CARES_LIB};${CURL_LIBRARIES};${ELF_LIB};${GPR_LIB};${GRPC_LIB};${GRPCPP_LIB};${GTEST_LIB};${JQ_LIB};${JSONCPP_LIB};${LUAJIT_LIB};${OPENSSL_LIBRARIES};${PROTOBUF_LIB};${TBB_LIB};${SCAP_STATIC_LIBRARY_PATH};${ZLIB_LIB}" > ++ ) > ++ endif() > ++ > + target_link_libraries(sysdig > + sinsp > + "${YAMLCPP_LIB}") > +-- > +2.25.1 > + > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > index c124054105..e00516a2b5 100644 > --- a/package/sysdig/Config.in > +++ b/package/sysdig/Config.in > @@ -1,26 +1,11 @@ > config BR2_PACKAGE_SYSDIG > bool "sysdig" > - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf > depends on BR2_LINUX_KERNEL > - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf > - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb > - depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb > - depends on BR2_USE_WCHAR # elfutils > - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils > - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 All these dependencies should still stay, they just become indirect dependencies. Except, if you don't do any actual build of falcosecurity-libs and only do it in sysdig, then all these dependencies and selects should also stay in sysdig. Also, you should not make falcosecurity-libs a user-selectable option in that case. It still would need a Config.in entry, but without prompt. > - select BR2_PACKAGE_C_ARES > - select BR2_PACKAGE_ELFUTILS > - select BR2_PACKAGE_GRPC > - select BR2_PACKAGE_JQ > - select BR2_PACKAGE_JSONCPP > - select BR2_PACKAGE_LIBB64 > - select BR2_PACKAGE_LIBCURL > + depends on BR2_INSTALL_LIBSTDCPP # yaml-cpp > + select BR2_PACKAGE_FALCOSECURITY_LIBS > select BR2_PACKAGE_NCURSES > - select BR2_PACKAGE_OPENSSL > - select BR2_PACKAGE_PROTOBUF > - select BR2_PACKAGE_TBB > - select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_JSON_FOR_MODERN_CPP > + select BR2_PACKAGE_YAML_CPP > help > Sysdig is open source, system-level exploration: > capture system state and activity from a running Linux > @@ -30,10 +15,6 @@ config BR2_PACKAGE_SYSDIG > > https://github.com/draios/sysdig/wiki > > -comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" > - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > +comment "sysdig needs a toolchain w/ C++, a Linux kernel and luajit or lua 5.1 to be built" > depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ > - || !BR2_TOOLCHAIN_HAS_THREADS \ > - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ > - || !BR2_TOOLCHAIN_USES_GLIBC \ > - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > index 4ec46abfc3..380c9dce1e 100644 > --- a/package/sysdig/sysdig.hash > +++ b/package/sysdig/sysdig.hash > @@ -1,5 +1,3 @@ > # sha256 locally computed > -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz > +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz > sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING > -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt > -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt > diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk > index 9a9aaa35c3..c6487c2337 100644 > --- a/package/sysdig/sysdig.mk > +++ b/package/sysdig/sysdig.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -SYSDIG_VERSION = 0.27.1 > +SYSDIG_VERSION = 0.29.1 > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) > -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt > +SYSDIG_LICENSE = Apache-2.0 > +SYSDIG_LICENSE_FILE = COPYING > SYSDIG_CPE_ID_VENDOR = sysdig > SYSDIG_CONF_OPTS = \ > -DENABLE_DKMS=OFF \ > @@ -16,39 +16,32 @@ SYSDIG_CONF_OPTS = \ > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > SYSDIG_DEPENDENCIES = \ > - c-ares \ > - elfutils \ > - grpc \ > - jq \ > - jsoncpp \ > - libb64 \ > - libcurl \ > - luainterpreter \ > + falcosecurity-libs \ > ncurses \ > - openssl \ > - protobuf \ > - tbb \ > - zlib > + json-for-modern-cpp \ > + yaml-cpp > > -# sysdig creates the module Makefile from a template, which contains a > -# single place-holder, KBUILD_FLAGS, wich is only replaced with two > -# things: > -# - debug flags, which we don't care about here, > -# - 'sysdig-feature' flags, which are never set, so always empty > -# So, just replace the place-holder with the only meaningful value: nothing. > -define SYSDIG_MODULE_GEN_MAKEFILE > - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile > - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile > - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile > -endef > -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE > +# We need to set all these variables to avoid compiling falcosecurity-libs > +# twice. > +SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR=$(BUILD_DIR)/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a Put spaces around assignments. Doesn't check-package warn about this? Also, use $(FALCOSECURITY_LIBS_SRCDIR) instead of reconstructing it. And with that, there's actually no need to introduce a variable for it. In fact, I don't see the point for any of the variables defined below, they only obfuscate what is going on. > +SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/driver/src > +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/libscap > +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/libsinsp > +SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/userspace/chisel > +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/libscap/libscap.a > +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR)/buildroot-build/libsinsp/libsinsp.a > > -# Don't build the driver as part of the 'standard' procedure, we'll > -# build it on our own with the kernel-module infra. > -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF > +# SCAP_STATIC_LIBRARY_PATH and SINSP_STATIC_LIBRARY_PATH were added by patch. > +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR) \ Small nit: if you have a multiline assignment, split it like this: SYSDIG_CONF_OPTS += \ -D... Also, there's already a SYSDIG_CONF_OPTS assignment above, and both are unconditional. Merge them. Yes, I know this was already wrong before. > + -DHAVE_LIBSCAP=On \ We use ON and OFF for CMake. Doesn't make a difference, but it's nice if things are consistent. Regards, Arnout > + -DLIBSCAP_INCLUDE_DIRS="$(SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR);$(SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR)" \ > + -DHAVE_LIBSINSP=On \ > + -DLIBSINSP_INCLUDE_DIRS="$(SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR);$(SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR)" \ > + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson \ > + -DSCAP_STATIC_LIBRARY_PATH=$(SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH) \ > + -DSINSP_STATIC_LIBRARY_PATH=$(SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH) > > SYSDIG_MODULE_SUBDIRS = driver > SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) > > -$(eval $(kernel-module)) > $(eval $(cmake-package)) From thomas.petazzoni at bootlin.com Sat Apr 23 04:43:01 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 04:43:01 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-22 Message-ID: <20220423044307.8685460BDB@smtp3.osuosl.org> Hello, Autobuild statistics for 2022-04-22 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 15 | 3 | 0 | 18 | master | 202 | 343 | 0 | 545 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 35 host-gcc-final-10.3.0 | 30 host-elf2flt-7e33f28df198c4... | 14 argp-standalone-1.3 | 12 uclibc-1.0.40 | 12 zchunk-1.2.2 | 12 libopenssl-1.1.1n | 10 ttyd-1.6.3 | 10 git-2.31.2 | 9 libressl-3.4.3 | 7 linux-5.15.33 | 7 qpid-proton-0.35.0 | 6 host-erofs-utils-1.4 | 4 linux-headers-5.15.33 | 4 perl-5.34.1 | 4 python3-3.10.2 | 4 zlib-ng-2.0.6 | 4 aufs-util | 3 exempi-2.6.1 | 3 glibc-2.34-109-gd64b08d5ba7... | 3 host-rust-1.60.0 | 3 linux-headers-5.10.104-cip3... | 3 netsurf-3.10 | 3 toolchain-external-bootlin-... | 3 unknown | 3 botan-2.19.1 | 2 cc-tool-0.27 | 2 fs/ext2/ext2.mk:65: /nvmeda... | 2 gobject-introspection-1.70.0 | 2 gstd-0.14.0 | 2 host-gcc-final-11.2.0 | 2 host-gcc-final-9.4.0 | 2 host-gcc-initial-10.3.0 | 2 host-gdb-arc-2020.09-releas... | 2 host-go-1.18.1 | 2 host-harfbuzz-4.2.0 | 2 host-libcap-2.63 | 2 host-pahole-v1.23 | 2 libcap-ng-0.8.3 | 2 libeXosip2-5.3.0 | 2 libgcrypt-1.10.0 | 2 libtorrent-rasterbar-1.2.15 | 2 libwebsockets-4.3.1 | 2 linux-headers-5.10.104-cip3 | 2 ntp-4.2.8p15 | 2 toolchain-external-bootlin | 2 uacme-1.7.1 | 2 vlc-3.0.16 | 2 wavemon-0.9.4 | 2 zstd-1.5.2 | 2 aircrack-ng-1.6 | 1 arp-scan-1.9.7 | 1 assimp-5.2.1 | 1 augeas-1.12.0 | 1 azmq-1.0.3 | 1 belle-sip-4.4.8 | 1 berkeleydb-5.3.28 | 1 bitcoin-0.21.2 | 1 boinc-7.18.1 | 1 bubblewrap-0.6.1 | 1 cairo-1.16.0 | 1 clamav-0.103.5 | 1 containerd-1.6.2 | 1 coreutils-9.1 | 1 dhcp-4.4.3 | 1 ding-libs-0.6.1 | 1 edk2-edk2-stable202102 | 1 fetchmail-6.4.29 | 1 frr-8.2.2 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/jffs2/jffs2.mk:71: /home... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 gmp-6.2.1 | 1 gnu-efi-3.0.10 | 1 gocryptfs-2.2.1 | 1 gsl-2.6 | 1 gst1-plugins-good-1.20.1 | 1 host-delve-1.8.0 | 1 host-gcc-initial-11.2.0 | 1 host-gcc-initial-9.4.0 | 1 host-wayland-1.20.0 | 1 igh-ethercat-1.5.2 | 1 jack2-1.9.20 | 1 json-c-0.15 | 1 kbd-2.4.0 | 1 libcpprestsdk-2.10.18 | 1 libglvnd-1.3.2 | 1 libnss-3.77 | 1 linux-5.10.104-cip3 | 1 linux-fusion-9.0.3 | 1 linux-pam-1.5.2 | 1 matio-1.5.22 | 1 minizip-3.0.5 | 1 mongodb-4.2.18 | 1 netatalk-3.1.13 | 1 nginx-1.20.1 | 1 ocf-linux-20120127 | 1 openblas-0.3.20 | 1 pipewire-0.3.50 | 1 poke-2.1 | 1 qt5webkit-5.212.0-alpha4 | 1 rauc-1.6 | 1 refpolicy | 1 rtl8188eu-903b6fcb821465fe9... | 1 rtl8189fs-73f826f0fa74b2fc1... | 1 ruby-3.1.0 | 1 s6-portable-utils-2.2.3.2 | 1 shadowsocks-libev-3.3.5 | 1 suricata-6.0.4 | 1 tinifier-3.4.0 | 1 util-linux-2.38 | 1 vde2-2.3.2 | 1 xenomai | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/c5de84a60367e70c1f9ce4cd2bd27b2d5ef9bfae | armeb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/a9c81b689f5ce469e22c45da4b26a367a36fb0c2 | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b9445aa36baee26ef10b65ccce45243ef3465993 | x86_64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/b35e24c9c07f6950b880e00a59d5d49352dd08db | mips64 | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/8e4efae14375ca6a7a6232014a4ca4eddc179634 | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/808edb624f47b3a6119bc9474d18c8b74b9b3bb7 | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/0224dcc27c5ed2726f19c87ea509cbf5b2772598 | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4c375972f50ee61d74ed042e8e8d14bc5cd6cd7d | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/706de5ddad0d45d365951976ac6337d3c6ad0264 | microblaze | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/22160bd14d9d557ee3240f29314367e84881f615 | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/37cef94dab2d7a58e82cd5c1b34c856256eecb15 | xtensa | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/124d28ee7489d2530293478ec80c4b7fc62d6172 | mips | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/63bb39e2201bbac8957a663bba623f9fa7b2754c | arm | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/7ca843410f04c7b644a7ac08c1cc2ec46595e7c7 | or1k | assimp-5.2.1 | NOK | http://autobuild.buildroot.net/results/03417a24c6794d51c1dad9701805545c9329d4b5 | s390x | aufs-util | NOK | http://autobuild.buildroot.net/results/3643b775dba53318bb30b7a671f67ddc4070fe9f | xtensa | aufs-util | NOK | http://autobuild.buildroot.net/results/3deaeabd975929df47f254f25b56f6a6abd6987e | microblaze | aufs-util | NOK | http://autobuild.buildroot.net/results/699db97b7205d4264f93d08c358772637c0e605f | riscv64 | augeas-1.12.0 | NOK | http://autobuild.buildroot.net/results/a0810d59c450535cb40f9e8ce9b93b02af4eb95b | aarch64_be | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/ca5a64d6b3227038f800a63e2ef6fc16fdd91681 | nios2 | belle-sip-4.4.8 | NOK | http://autobuild.buildroot.net/results/161879f9c4d72c6fad2e00aa6c35cda59a058fb1 | sh4eb | berkeleydb-5.3.28 | NOK | http://autobuild.buildroot.net/results/2636ebe77f840f2554e36b5da4849122d13ceb0e | ORPH i686 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/219dfea7526b1d55d65a1e0da8600e12d3ab7f16 | arc | boinc-7.18.1 | NOK | http://autobuild.buildroot.net/results/2271178a36d1a8aaec2f5665b67904466ef18064 | powerpc64 | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/833ef2648af518de95a8c050cf1092387087704c | ORPH mipsel | botan-2.19.1 | NOK | http://autobuild.buildroot.net/results/45d3c33d832c5cf6579447ccf4763a297195b924 | ORPH mipsel | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/ae53dbfec4aead7e4eb188d5693f305d4e474d1a | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/193ec9824bcd08c3e6cb20feab26a733bbde4418 | i686 | cc-tool-0.27 | NOK | http://autobuild.buildroot.net/results/56676886c8d81c5161605f159111beb6f62fcb3f | riscv32 | cc-tool-0.27 | NOK | http://autobuild.buildroot.net/results/2d2acfa4d4efd1fd64c3cbcf615bef7cc8af698e | aarch64 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/5bb3bea6d13ac8d497f6862374d65a59bea7ed09 | x86_64 | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/f40d258a4f4af2cfbdf028e51e35c4d0927471aa | sh4 | coreutils-9.1 | NOK | http://autobuild.buildroot.net/results/f9ffe18c1e5c36cad83fd998c11971fcbe5b7170 | ORPH arc | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/55e062c2c972502f61a49f954a74e2b6feb2a3e1 | ORPH arceb | ding-libs-0.6.1 | NOK | http://autobuild.buildroot.net/results/834e322f345eaa1875a47ca61a6e6b55bd4f1026 | x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/1027ddf4a6df0199171fddab69b149a3596bef6e | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/e9dbd99711266432ce10befd5527c039c07a9b7b | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/338dae2bcbb9223c52eec339dca0e7aecca881f7 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/3987476024b4ae3d2d1e49bdce585d53fa30a06d | powerpc64 | fetchmail-6.4.29 | NOK | http://autobuild.buildroot.net/results/93cbf3461fa2391fd7068413db1d7350caf62b61 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/a6ff2f523c5507a4fe43831d4ebb60a0c3743121 | mips | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/b84c53e72c51d43b890f75e2ee984e657223477d | powerpc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/6e372deb3f6d7aab99a24fa3be68855f980a7c9e | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/f0e27498221fd68a718499ace72917e3c52a3be2 | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/d88f66fd41dfb07688db9216370579993ad56185 | sparc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/9b1b9f0835f297822b109f010661848b8472976a | nios2 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/ea92765acc76971d88720ecd3722dd4069be9982 | m68k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e98ab81bf83747ad4b90ea8c45bfd366d55c4add | or1k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/7303f4c6c6f4909927c8fc3179ef0658bed74159 | powerpc64le | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/b8e0912a6ab0edbd94fac8e042319e810a615a41 | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e6726b3898cd2ff1cf760783eef4d490239aa713 | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/be01f648fe83f178326bc9b56c82e71b57433331 | mipsel | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/843d04e1f26cfde2da33b188acfddf4aa107fe20 | sparc64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/0088f8d5eaa446893e3a30938320d0f37a75eb30 | microblazeel | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/166222c0ee6ed34cc4f3898ae9f2b5b460f8caf0 | i686 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2a2083b3f328d92e0c60f52cbc784b9b2d49e7af | i586 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/b624331e174a56e1c74322f046c860f91efcfe10 | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/9ceb1ead3eb2de446cc59045be84f8f3c44e657f | riscv64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/c286cc68dd84b55459e60aef243fb717b5a9facd | sparc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/58315ca7cc8f156782fe0f765a40452e5457a4d2 | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e1dd5538c9d521325d26cee83fe96d27bc39bc28 | powerpc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/b5e8baac0ce0206d3d38fdbe00cbcc97759aad9e | mips64el | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/7955c06797225b38978c468bbb25938bf80e9645 | sparc | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/52d7325db7439cc52eee1235f56bd9200ba57826 | i586 | fs/jffs2/jffs2.mk:71: /home... | NOK | http://autobuild.buildroot.net/results/ab8fae5a1136197cc9c317c7a1511f89a6dbe574 | powerpc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/4f4eac0f4dcee2bc8dd53f91806a3833237684c2 | x86_64 | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/42e42e04139d33ca47d3d9634eeba360bfe68f84 | or1k | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/a9dad05561782bd9b5c2f6b43d202fdaa076c9f1 | aarch64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8e6e6ebe2997dee5c07754d0293fccfda5a4d604 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e0b4afae94a0fffcbc9989190a473e94a4eeda23 | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/364b4d44023868a93acbdad1a381f1d29daf3084 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/4aeaf84e64a726ac2d7e7f1205712bdadb040583 | aarch64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b8161f161e6fa6b982f1b444334c5abb737b548e | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b17c6409f2c0004ea85963c09c3cdb4b859e3d14 | i686 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/662440b4a816910e7a8c6ab3645a765f070f017a | x86_64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/7849a619d232f600cb3f1e481e88459d2afe83cc | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a94940c05a09927e03226f727d9adc165dd32e58 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/e0c510ba683d7a96d3dc56c032eb650416f52469 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/bdc24e4c312109c415dea59e1bc7e66e3606eeeb | mipsel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a5c3198611af47f3b056a45c0196287c50083f5b | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/0b2d4e9c2df71d1bf1dd0d88fe97797a9967be49 | ORPH mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/008b4fe08054845ce2be108bba62e53d89204d6e | s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/3b8753acbb931443ccd96942f2a533c21d28e538 | ORPH powerpc64 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/c470a00eabdf6d01815b0ffa755e3bf6c97b031a | ORPH x86_64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/8fcdefe378612eace99e80ac16196f52ea3bf9ae | powerpc | gsl-2.6 | NOK | http://autobuild.buildroot.net/results/b7cd5099e5faf7f2490a4cd2d592c702133cb946 | ORPH arm | gst1-plugins-good-1.20.1 | NOK | http://autobuild.buildroot.net/results/21792a9839d9722815075569123df8747fc450e3 | ORPH microblaze | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/026b9d8089bec59c6db6de1fe50e8e852dbb5442 | ORPH i686 | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/0224b4edcb92e99d9ea7d340c388784443a9fa51 | ORPH aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/db2f7635b9c919320df4c67ca5645196085e0bc6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/700f6868e497c0ea485a123b573ef64f6dcf100b | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/64f6c6d5c716cdd5979a06da9d4b5566acc271fc | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/52b50b4247e8321e55c4ef27eba42b50a275fcc4 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a2409a6aec3ba1822de51739406b97ee20d2d56a | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/13533301b6916b535d9c849dbc60db2b8dd58e88 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6b84a23048d7f6e683da88f95879beae5d50425d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d997c62b65f756f2a4bc6573799f92a9df85febc | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f5794fb8c3db27b0f65704b9277cbc9682d6b0a4 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9ceb19b3d458e26c644ca0de79ddb07420bdd7dd | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/4e009f13cc42bd3f4ad4918952f2167b6b343d7f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ee23e534353e888171197ffdca7172e7c3089c96 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8fb81aff1d15492f807a6abe72583efaad9b0438 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/185343339baa561701e90ef80ee390a5eebb3756 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1b26f13d47cfc5a517be32c899fe3c94bd588b91 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/080fbeb3e9653f311a334ee7cf17747d61425328 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/668c871c1a3fa4e5c0e188eb4e92aee9e7ff49d3 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b0835c16841a8962888bdd47ea34a02937fdcf3e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a561dd30bae73ed2aca8a2e8765ea27c368f85e5 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/27b93df68ef96b62965454fdfd61a0ce80b5eb00 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/72b118f1236792bd21913648f5fe227ca1dbd2e4 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6db25e21dd9970bb6543f2e5d9faf3a0d1879781 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b7f53a3b22b572d5dbe071a198895336eb93f225 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2439b83b7b583e9239663af4a6bc40f14724515a | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a9374391c76eda7fbaf701e712e09d7e79ee3f15 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/34624a8ebd0401a1b95c889840db083702c39849 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0d0382ce3c012c644d5829db8319301bd857aea0 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/636c1e1a4c43f3f82ad6310dcccf707100d9e2f5 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1f41b069d130127c392934483d7c9c01dba220d4 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/993d98972cda396b63849fb4259e026c7f61995f | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/98e94f4049692c8673b13fffd8be0213f2152226 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/098783006cd9e52c8ca5821609a1df55d7a2d9be | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5299648e8d7248ea844032179960eb11f9125430 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/0d44483709c1fb39185de720784381049fc6e5e5 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/db492a8ce2c4ef799e8a64127fca928dd61b3bd5 | arm | host-delve-1.8.0 | NOK | http://autobuild.buildroot.net/results/7713e79b2f4031a47fd00a34df26944681955c9b | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/23485f7a642d2cccb0df72d3d59be2f134530f04 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/cd36c0931e7a75e73b000740a7fe3ee00a474458 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f941af946f1b9b8ded20f3de3494882aef6e94bb | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f9f3c084d7abec8765cfdabdca4658dfa9f511e5 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/dfe44fe81c826cb6c2f5761fabc1d82e56a05344 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/84b2a39a1a0edf0086c5da1be6b9e35b9fea8146 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/bf32aea4bf834907db632dd52980d4e9d4463105 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/f3084664f7ed2995ae42775231537d31ca56f40b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/cc9d566ddf9bfeee69c2c6ebf927e53842478010 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/9505d54f89f9bade7bbcc50ba48105943d6b9e19 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/87c65203653bf8d85503945b21030eea13947042 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/5e731d78813962fe45ee325a27362fc5d318446b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8c1c3921d0a033767f26ec6b68b6b6445dfd4926 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ffeabb8fc02f2cf8b5c41a0a9ca36eb13d73fe35 | ORPH sparc64 | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/0147f3401cecbc8b4670c3ef7396b1dfb28fbe00 | arm | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/4ab4f46caa6de4e8f26b4c36694bfe3f4655e559 | m68k | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/d39e9501305979d086f3d31cd9c08a5bc4b9973e | powerpc64 | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/613e7de1ef4af9633ef3a9c003341154158af983 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/51f83c2a9fdf02748ee6199073b6e0fa6bca05be | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a1bf9d30967d28b935e9f767316dce90b3b39ce6 | arceb | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/22b11ce9e6cd9dac4c09721a43ed294cccbd3d4c | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2fb034ca144f62a6b69368e8a257a98fd5c714f4 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e5419ad1fc7a9842116d74de4595c650f7fe32a0 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1a6e4b086d1661ddc665b82ac69d5ef17d6eefaa | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/551be90a38564e17d991147d96e990659b05e0f0 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e7670944126597b185dda24fafcaa448c1ee934f | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cf821ff992da77e8c7b37a27228c8b328d6395d1 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/92a308d79fcbb398e83b6fb6ba299baf28375c7d | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0dbf85913397a20a5b3065cb57742ac4e4d79429 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f58462d83c85aae3301021bdefd8b414173bb5c2 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/608553c45d487b8f212beaea7e5ec5b096edc27b | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/68dad682310dfa8b2060f1e0940c2ab1fe817c93 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6b1f21a9b33263cc86945a551a722e51eec2abde | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2410d6607cdf93516ebd70cebbe1919591faba7e | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fc2a7e4ca3b8e311f1790de42c69ce9ea9765405 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5cee36731c7a090e3b4d13aa7613cf08c3130948 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/44f24958a6a8f1cbe470a2b56528d4166c0d9ebd | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/363d36a4d662b90ab24491a559b41e8b5253f9bc | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/eafc7559af885a0b9a46811646c7c544883fc4a9 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5beab23a87c5119393b3ffad17ef501776029a73 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9d5166adfa4da16904ae4c673ad5926e9f40d03f | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5560a7e8efe1dcd3b5af888bb86019693fd0b122 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dfc1e45057b099fc47d417b220e5c304e7fc45cd | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/751283aebafb0219c62eadfd018b69ab637538ed | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/69020d1550a9d39369151cd0e1caa3c083ab2232 | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/105d0c11a24a3184a567b1d9f502e638ff20d0dc | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2e3040180d17ee62ad2286dd2381bdbc18b842c3 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fef261327a5cbc45217ee078fb643082d3a19998 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/2782739ebe60b7341f282bce2d6cdd3f2e19bbef | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/5db8910d2a05398dc6474297138e586aff65b255 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/726b684342da9cf7148a5f545fbc8534660eba5d | riscv32 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/2c65b17b5db45acac769248902e13db393b4b1dd | sh2a | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/a6eadc8ac47502fdd25410fb9e291a9de4dacfd3 | arm | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/e80debcf4264eeb7b568de4e228ce10cbf8716fd | arceb | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/9694a400f3e7daf0ab1f14332ae83ff77404750c | arc | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/227fdf616e51194f6b961f8d917068765b027312 | arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/20e9d1aefd274308fd8cc67b76cb0a06e05faf79 | ORPH arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/95510746cfead4fd9295e5cd6311593ee682c652 | ORPH i686 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/35943ddc15c689815aa13a746a07c2a4867b5394 | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/1f7baa10f3274a8d792a9ca05373b7eb75e8ba77 | arc | host-harfbuzz-4.2.0 | NOK | http://autobuild.buildroot.net/results/bbc48cb5232c617d4ff1d0bafd63bb3c9c72d556 | powerpc | host-harfbuzz-4.2.0 | NOK | http://autobuild.buildroot.net/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701 | powerpc | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/adaf0718278c7ba84d33a726b0ea3008c9c0d7b3 | arm | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/94141350eb50eb38da2c01342628a87acc5e68b8 | arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/5017edb30136c5b8befb47d2616c512a5847b582 | sparc64 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/ac8d3967ff7f00cf91fe81960a280c3dabeda104 | mips | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/12552b4bfa4d738d1d6f6d93585cf6a87577c005 | mipsel | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/0989e5c4aadcc1c9ab555360f0a81545064dad13 | x86_64 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/9ca0e8d3c7873720981ed8cef93cc89c348a20da | microblazeel | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/43c255c375d0f83042e420bac73302044f217e8b | nios2 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/6d6dc960dd3dfe6397bc6edcdcb20dbe318a3001 | m68k | jack2-1.9.20 | NOK | http://autobuild.buildroot.net/results/86044d15523fd3f5930359be386631cde9183839 | riscv64 | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/37215068e82222a87ceff2036d76aa94e933a156 | mipsel | kbd-2.4.0 | NOK | http://autobuild.buildroot.net/results/7e4c6f5503f55e3e58c447b050a9fbd5d9bc581a | ORPH or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/784824620b1bf90207e1a01f26949de87c386de3 | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a7573e5cfe7c9c9b29618faeba605c18507b4dfc | sparc64 | libcpprestsdk-2.10.18 | NOK | http://autobuild.buildroot.net/results/6fa2054c46a18d7f20d01a90c1b1cc7cbae71d76 | ORPH mips | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/4ad86c6b6be331616cda5feb52e7c8d7779d0f24 | sparc | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/070fd4fcbe150b867f08ad2d64a843c5a2fccad4 | powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/6679d3b238358a47b8f5e9eb0798cf7cac23c5e2 | ORPH i586 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/3075f85fa93b39bb04b387dd80e5da4a54f1acb2 | ORPH i586 | libglvnd-1.3.2 | NOK | http://autobuild.buildroot.net/results/74f5d62045834e0a84c379d1cdedb04983c183fc | ORPH powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/5fc2973ff75fdad8f41538ccbd0291ab853ff2d4 | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/72b203e297a0c05dd4bbbdc705ca51357ce4d63b | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/0eafab722e7470976b898a3f16a74b2e4201783c | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/38abba63804489d7add65457a5d49b1c767beeb2 | sh4 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c5174967671ea8ce3a7f45e117e61f81b380ba1f | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a54e1d38cc331797a864b46820647e4c28b78cf9 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/1c60fb4d9a80757f2e1c9d06262f3db2424c074b | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/955bce0593e31b9e83348998bcc8e61325355734 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e01b137ef43fa4546050d6f5cc14e5ffb83dcd21 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/72f1e42bfb14b36490c094aa022ce65d8555bb22 | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/14a9a004d39dee4313b614812160c0feb496ccd7 | m68k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/08474c0a1fe7ac90bf57dd70e16249eb390e477f | ORPH powerpc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/86ffc2814c697f35839e1af9e4e8144553e5066b | ORPH mips | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/2360828b5969cd65eb18eff05fe4487f208183ff | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/1a1d59765c2092a3353416900d9bb7668573bc1a | ORPH x86_64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/99a2897be548482e1fafaa85923a6e59fdc02958 | ORPH microblaze | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/17399bd403ed63f0c7ae4ba47385d2542b05ad60 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/04bf722d0263720fea8be053543f59a2131fe77e | ORPH microblaze | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/3db84b5a340f7396881a6be45bd698e24969cbad | microblazeel | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/7fa57c2fcdfecf65b1badc4199fa4e4aea0c9181 | sparc64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/8cd97674cb6cc2550323bc063137e936f7c2099f | arm | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/93ef9f6e008e4c82c731ef9c7f9850369ecf1ad8 | i686 | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/61f7194f7008dd37d146816e9216bd9c82b44715 | ORPH powerpc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/4e7a81dcac7b79778c9bbce2429b8ade99302b81 | ORPH s390x | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/f57be73179995fc2e7b99f93b22253ffb5cde803 | ORPH arm | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/2841ad4d97fad13340792974b93b1c3a9bbd1b47 | ORPH mipsel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/e64dd8ef2825c12eecd6d74ae3d6ff636314739e | ORPH arc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/b7a888a1e11315043044628104854201292ff40f | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/4bdd1c16bca62df7bc15b5639d4898ffa038a08a | ORPH sh4a | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/69e22b0d0360ff3205892f8d1dcca78fc042cca3 | ORPH sparc64 | linux-fusion-9.0.3 | NOK | http://autobuild.buildroot.net/results/0d1182acb09f1566ffac9afefcbebcffd22257af | ORPH microblaze | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/919f6f8e6f9923fe70cff0a974868975a14a2ea7 | ORPH mips64el | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/959c0cf697b372e9baa9aff193142a1037877a3f | ORPH arm | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/f16a38fc2721349cddd654a1bcf225b055e90c46 | ORPH powerpc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/3cf1020beb1b00e98285198c738c1e621ee40308 | ORPH i686 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/059ea1945d04a028a760856b51df3de872d955cc | ORPH mips64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/9b9f9b9bbec038d823eb8d82979377a1f91b45cf | ORPH m68k | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/7a9b2e0ec8604b74b4ddf1929b2d16e767671c0f | ORPH mips | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/fd3f825e8a9e747e6ef6ff6d2d2fd8a28a59e05d | ORPH powerpc64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/0750dfeb22ddfbcefa6f29e178fc74124ba08a9b | ORPH sh4 | linux-pam-1.5.2 | NOK | http://autobuild.buildroot.net/results/e3103335855c414b48ad071624bb6f9d9879c0d7 | ORPH nios2 | matio-1.5.22 | NOK | http://autobuild.buildroot.net/results/b049ea50db93684dc4c8b7de937d5d59494a5671 | powerpc64 | minizip-3.0.5 | NOK | http://autobuild.buildroot.net/results/37485f83fbf1ba77dc0487f8622d903ea08bd9f6 | arm | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/b8478797b7ebf3f887f8f61934688d3531c09ac8 | x86_64 | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/fd2dff0e5edd3848cfa44980ac95571cebb991c5 | ORPH sparc64 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/dc4370a95369924b737bb07cc3f497bc87d157e9 | or1k | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/ca409cc21fe834c095e5bcbfdf885db604d88017 | i686 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/9d54e719c5cf59d9bf25a8bece87431c9f187112 | riscv32 | nginx-1.20.1 | NOK | http://autobuild.buildroot.net/results/bb12a8f71b0ea8272fd721c0ec3cd2f3999a4b64 | riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/3c993d0eb7e0114c109479dc933bcee164a655a9 | ORPH riscv64 | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/3e85809645f4b497d34b732444fd7af56e19dd2a | ORPH microblaze | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/87f6e5cd95ef1c82075086c55df20ae56b781eb0 | ORPH mips64 | openblas-0.3.20 | NOK | http://autobuild.buildroot.net/results/2743f7150db304d63f6a89eed431fa6fbc54d647 | ORPH microblaze | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/4a1ba83d6e9c8c336bdfbcb0ff26b40134e2c4e3 | mips | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/c9e514bc19ed1fefd15ad3b618d14ae497b76861 | arceb | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/ba07b822b73e98c0738ef52e848eed1c0389e9e5 | x86_64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b05c2e26c34a3611214ccdd6c642b35a68173873 | x86_64 | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/a01c0b9e93fcc637329c350fe82814b0729d0067 | riscv32 | poke-2.1 | NOK | http://autobuild.buildroot.net/results/748a8ebe2b13d8abdeb45846883724ce0b79dd15 | ORPH sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/ebd3763d63a21519e8f6140012684c36b3562757 | mips64el | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/6b7dd539068a971252940d1f2dde913ef1553134 | riscv32 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/83cbbb52853c5c8cca908a15d2eb5d9d27618a2b | s390x | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/9fd395b86adbb64f8b0f7e46aa26a2b2a78e04fd | mips64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/6a6a2437b08eddec995b37de17e97f5ecd9e48bb | xtensa | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/84deb6406a9279b899aa759544ff339bcd2f7e87 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a0974af5f099d63b5f5cefd02a630b54088250d6 | s390x | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a7b2923e14fc38bfe70fa491f3d32cb3e0ec683e | powerpc | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/2fc07098e390e3c6d13356a50760b332ac07d79c | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/e1e6f1243ef16a7810db06ae0c557a3eff63b599 | arc | qt5webkit-5.212.0-alpha4 | NOK | http://autobuild.buildroot.net/results/547558523701008585142b00fe66e0dcec249fa2 | microblazeel | rauc-1.6 | NOK | http://autobuild.buildroot.net/results/6446fbd07d4b679db1f58e7fcd51927bd022b5f4 | aarch64_be | refpolicy | NOK | http://autobuild.buildroot.net/results/9e2f4b5cb6d531c859c19de9b5f30d3cf72a572b | powerpc64 | rtl8188eu-903b6fcb821465fe9... | NOK | http://autobuild.buildroot.net/results/658c06f8125613b56511d3351cdfd3d8e19d48da | microblaze | rtl8189fs-73f826f0fa74b2fc1... | NOK | http://autobuild.buildroot.net/results/7f0bdd03c41bcc9e567fe722ed271e5dcf210f44 | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/35c5b435f39f9d7be3e3bdc284de96493b13bd8e | microblaze | s6-portable-utils-2.2.3.2 | NOK | http://autobuild.buildroot.net/results/2de4d4aa1b91ad86998bfac7e8598c66a5b0fdea | mips64 | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/14ceb51554268a0c9b498ad2a43c1a779b9d86ed | arm | suricata-6.0.4 | NOK | http://autobuild.buildroot.net/results/8f7d04393986fa9f89fae11d6580a9e2988c7b29 | i686 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/41f72e8ecd828de19534766d973f57c64703cf0c | sh4aeb | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/bff6527f9e6232c7e9a5200fe5f22e2091fe3a4e | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/aec28990ca333004d113ade4c03f4704067a3a22 | aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/942c195b843cb5a9dffd6be51846b37b9efe67a8 | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/32c70a7747efad99cc953e5809cefae2e78ee25c | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/f55aecb120416bd3369033e018d89bf58fe589b6 | ORPH nios2 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/c33c16a7721d7209c22c25b1132a8ffa9fdddb81 | arm | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/84ac58439c377938c1b893b46e0a7892fc41b281 | powerpc | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/684638c1ae44e28a3170e33d4bcbdcbf1f29529c | riscv64 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/e0a30686c6cba1ff6eaab3bb9ac02fe923c0d289 | nios2 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/5c4c47023815c59a734f6f08a19ba10ff96d9d50 | xtensa | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/9224139d62c113db7742e8c60ebbd6401628b021 | arm | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/fc5f66204eb8870d060cf4f6a0595f1953366afa | arm | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/0068ba8f9e53926a2559a758268d71157bee2f54 | microblazeel | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/ac07ce2050b7ae17bf85f0e5d5b75397f7357c3b | powerpc64 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/9605fc965c287e5bd8d8a072bb043311fb3bcb53 | arceb | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/4774f58ac457e321870103062e3d8c9a50a6e40e | sparc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/180a865e03f7f69a264bd0b0dd38f579c0a70ca0 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/08ea8427b6c9dc1d161361c4f1aa8ffe6e2400f9 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ee1c9d9cca93251372e1364610cb57bc245977d7 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a7fdce0af13504961a821dd5bbf6e8851795ad47 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/77014fea8863d023df4f78337ee2c384e65edc21 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0c79e511a735a213a74f271de7da1f3febe56669 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/985bcb6b04905738c1e174ac4cccc354bc536aaa | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/32f520da20e8b019fa524d8e6be5b7d462d2d5fa | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6b534e6a17bd358112618c619eff570d72211e4b | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/771caa7da3e46540fdead654ccb2387d5c011fe1 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cde1b80d31cfba63cff3c64671b01cfa3bfedeac | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b04795fc36d9aed18298d24a546706b8d84678a2 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bf24e5ad903095146396edc8965d9df538b4abfb | arm | unknown | NOK | http://autobuild.buildroot.net/results/048f5ded4556f5e7b322b46053c0eec47b387842 | i586 | unknown | NOK | http://autobuild.buildroot.net/results/efbe82a1b01a821202c279a0468bd4c0946e5d92 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/842bcc1f134c583c8b42e7c41b7e8c97df81ab31 | arm | util-linux-2.38 | NOK | http://autobuild.buildroot.net/results/555c272fe0f966f7f46d493236cb6dabeca24d9b | ORPH sparc64 | vde2-2.3.2 | NOK | http://autobuild.buildroot.net/results/0ebd11226af123de1f4aa6619fae5dd2d0961703 | aarch64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/ca12976952d5e46d00eec3ff5686ba95065e931c | powerpc | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/54afd9249aa672d818f383272c5f1031b24d28e3 | xtensa | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/7d3f07fcf992497ef3caba3a5d081104579ef068 | mips64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/65ce15ec2955d3a978ca601ec3ed91a98f14ff7b | nios2 | xenomai | NOK | http://autobuild.buildroot.net/results/c840f8b3e3e084ea328c6da1f5384219badd5306 | mips64el | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/8ca834ff8045255f768ac227201de7d79aafc322 | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/2ba3e5a6f90486d612ce434175ff6f91ea97b40e | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/66757ca07b782d5b26a760d799d0ab7cb1c23afe | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ba436f03d79598ab5609712db7a9f389e85bd672 | or1k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/054540b80254b4746c4b4102eafbe619505ebb08 | mips64el | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/895d8b427baf8601d3bf4334534325ef324791dd | arceb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/39b099d100b154e569283f7ea151e3ed8f1fa216 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/8e6dd3929892ad03b69c479343985afcd9da20e5 | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/f8a0d8571460dff4d9c72bc442eb0027b24eba09 | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b6777e67bd4aa55d95ae32034f475a3c1fb092c2 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1cb9d9a8dad6b9685b3786656e7f2e7c45e2b5ad | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1f07e77deca088cb6b7cfd6559cac5ac95251fae | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4b20f99bdb3630d76a9e3514ff8c96d04373d4b8 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/7fc908d674957b07e28e7d17c865cde7c162b67c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1efb4e6438806b95324770306e47ef4da449eebd | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/6d535bf9765793b9f459df357374cb2ab2c48cea | ORPH microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/843c92151c9e661366328f079c6e8c11c5da48fb | microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/d57de95b71dffa5d5d9ed2f3955bdc033576b039 | Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 2 uhd-3.15.0.0 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/82925c93a8bddd98238d5d36ff52201b55dc6f88 | microblazeel | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/c1961e680557a3097c5a479b86a47ea205e42b72 | arm | uhd-3.15.0.0 | NOK | http://autobuild.buildroot.net/results/f33c3ba56367d33042fb82e7788347b8b05efd2b | Gitlab CI results for 2022-04-22 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ amarula_a64_relic | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425727 | bananapi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425787 | bananapi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425789 | bananapi_m2_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425807 | bananapro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425832 | csky_gx6605s | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425866 | freescale_imx8mmevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425892 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425895 | friendlyarm_nanopi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425907 | ORPH friendlyarm_nanopi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425909 | ORPH friendlyarm_nanopi_neo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425920 | friendlyarm_nanopi_neo_plus2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425922 | friendlyarm_nanopi_r1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425925 | galileo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425930 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425957 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425958 | licheepi_zero | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425967 | minnowboard_max-graphical | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358425987 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426042 | orangepi_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426046 | ORPH orangepi_rk3399 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426049 | orangepi_win | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426050 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/2358426125 | -- http://autobuild.buildroot.net From christian at paral.in Sat Apr 23 06:45:44 2022 From: christian at paral.in (Christian Stewart) Date: Fri, 22 Apr 2022 23:45:44 -0700 Subject: [Buildroot] [PATCH 1/1] package/batman-adv: needs CONFIG_CRC16 In-Reply-To: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> References: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> Message-ID: Hi, On Tue, Apr 19, 2022 at 12:00 PM Fabrice Fontaine wrote: > > CONFIG_CRC16 is needed to avoid the following build failure: > > ERROR: modpost: "crc16" [/nvmedata/autobuild/instance-6/output-1/build/batman-adv-2021.4/net/batman-adv/batman-adv.ko] undefined! > > Fixes: > - http://autobuild.buildroot.org/results/64bf0f89ef444dda4d1277c0e46d189ad2515713 > > Signed-off-by: Fabrice Fontaine > --- > package/batman-adv/batman-adv.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk > index 838f9b1851..6a1aaa699c 100644 > --- a/package/batman-adv/batman-adv.mk > +++ b/package/batman-adv/batman-adv.mk > @@ -35,6 +35,7 @@ define BATMAN_ADV_CONFIGURE_CMDS > endef > > define BATMAN_ADV_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC16) > $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) > endef Reviewed-by: Christian Stewart Thanks, Christian From thomas.petazzoni at bootlin.com Sat Apr 23 14:00:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:00:39 +0200 Subject: [Buildroot] [git commit] package/util-linux: lsfd needs headers >= 3.19 Message-ID: <20220423135037.D5A8A83D1F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4e6163a1d88a70c647a27a1ba3a4ed29b076eefa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master lsfd depends on kcmp.h which is only exported since kernel 3.19 and https://github.com/torvalds/linux/commit/3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 resulting in the following build failure since bump to version 2.38 in commit ee978e853a6a4c9bb5ed661c1ae704e79f155a35: configure: error: lsfd selected, but required linux/kcmp.h header file not available Fixes: - http://autobuild.buildroot.org/results/555c272fe0f966f7f46d493236cb6dabeca24d9b Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/util-linux/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index d3c0070160..917f1bc2b4 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -206,10 +206,15 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP config BR2_PACKAGE_UTIL_LINUX_LSFD bool "lsfd" depends on BR2_USE_MMU # libsmartcols + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS help List file descriptors (modern replacement for lsof) +comment "lsfd needs a toolchain w/ headers >= 3.19" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + config BR2_PACKAGE_UTIL_LINUX_LSLOGINS bool "lslogins" depends on BR2_USE_MMU # libsmartcols From thomas.petazzoni at bootlin.com Sat Apr 23 14:02:41 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:02:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/util-linux: lsfd needs headers >= 3.19 In-Reply-To: <20220422215813.2528195-1-fontaine.fabrice@gmail.com> References: <20220422215813.2528195-1-fontaine.fabrice@gmail.com> Message-ID: <20220423160241.3246f49b@windsurf> On Fri, 22 Apr 2022 23:58:13 +0200 Fabrice Fontaine wrote: > lsfd depends on kcmp.h which is only exported since kernel 3.19 and > https://github.com/torvalds/linux/commit/3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 > resulting in the following build failure since bump to version 2.38 in > commit ee978e853a6a4c9bb5ed661c1ae704e79f155a35: > > configure: error: lsfd selected, but required linux/kcmp.h header file not available > > Fixes: > - http://autobuild.buildroot.org/results/555c272fe0f966f7f46d493236cb6dabeca24d9b > > Signed-off-by: Fabrice Fontaine > --- > package/util-linux/Config.in | 5 +++++ > 1 file changed, 5 insertions(+) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Sat Apr 23 14:07:20 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:07:20 +0200 Subject: [Buildroot] [git commit] package/binutils: make 2.37 the default Message-ID: <20220423140153.E946C83FA7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5a96dbad7e7f9a049d8d152ab15c056ff468c591 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/binutils/Config.in.host | 2 +- package/binutils/binutils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 21b15b5c36..e639c67149 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -7,7 +7,7 @@ config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI choice prompt "Binutils Version" - default BR2_BINUTILS_VERSION_2_36_X if !BR2_arc && !BR2_csky + default BR2_BINUTILS_VERSION_2_37_X if !BR2_arc && !BR2_csky default BR2_BINUTILS_VERSION_ARC if BR2_arc help Select the version of binutils you wish to use. diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 8c4a1371ca..c94ebe0995 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -11,7 +11,7 @@ ifeq ($(BINUTILS_VERSION),) ifeq ($(BR2_arc),y) BINUTILS_VERSION = arc-2020.09-release else -BINUTILS_VERSION = 2.36.1 +BINUTILS_VERSION = 2.37 endif endif # BINUTILS_VERSION From thomas.petazzoni at bootlin.com Sat Apr 23 14:05:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:05:39 +0200 Subject: [Buildroot] [git commit] package/binutils: add version 2.38 Message-ID: <20220423140153.CAC3E83FA7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e93cec6d3c6bec31ab264812f23da7596f749f0f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master See: https://sourceware.org/pipermail/binutils/2022-February/119721.html i386-Allow-GOT32-relocations-against-ABS-symbols.patch is not required as it is in release. Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/binutils/2.38/0001-sh-conf.patch | 48 ++++ .../2.38/0002-poison-system-directories.patch | 306 +++++++++++++++++++++ ...lf32-or1k-fix-building-with-gcc-version-5.patch | 50 ++++ ...R_OR1K_GOT16-signed-overflow-by-using-spe.patch | 75 +++++ ...0005-binutils-2.38-vs.-ppc32-linux-kernel.patch | 55 ++++ package/binutils/Config.in.host | 7 + package/binutils/binutils.hash | 1 + 7 files changed, 542 insertions(+) diff --git a/package/binutils/2.38/0001-sh-conf.patch b/package/binutils/2.38/0001-sh-conf.patch new file mode 100644 index 0000000000..fcc597e4d9 --- /dev/null +++ b/package/binutils/2.38/0001-sh-conf.patch @@ -0,0 +1,48 @@ +From 33f3c1f804efc2e4f97849081589efb70cda31e5 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 25 Dec 2015 11:38:13 +0100 +Subject: [PATCH] sh-conf + +Likewise, binutils has no idea about any of these new targets either, so we +fix that up too.. now we're able to actually build a real toolchain for +sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more +inept targets than that one, really. Go look, I promise). + +[Romain: rebase on top of 2.32] +Signed-off-by: Romain Naour +[Thomas: rebase on top of 2.29, in which sh64 support was removed.] +Signed-off-by: Thomas Petazzoni +--- + configure | 2 +- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 3dd206525a7..6881ce632f5 100755 +--- a/configure ++++ b/configure +@@ -3892,7 +3892,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +diff --git a/configure.ac b/configure.ac +index 797a624621e..1f9256bbf18 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1175,7 +1175,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +-- +2.31.1 + diff --git a/package/binutils/2.38/0002-poison-system-directories.patch b/package/binutils/2.38/0002-poison-system-directories.patch new file mode 100644 index 0000000000..1a5fe46575 --- /dev/null +++ b/package/binutils/2.38/0002-poison-system-directories.patch @@ -0,0 +1,306 @@ +From 4d8705ddb55897e8a74b617ab95736d520d9e1ea Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 25 Dec 2015 11:45:38 +0100 +Subject: [PATCH] poison-system-directories + +Patch adapted to binutils 2.23.2 and extended to use +BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. + +[Romain: rebase on top of 2.33.1] +Signed-off-by: Romain Naour +[Gustavo: adapt to binutils 2.25] +Signed-off-by: Thomas Petazzoni +Signed-off-by: Gustavo Zacarias + +Upstream-Status: Inappropriate [distribution: codesourcery] + +Patch originally created by Mark Hatle, forward-ported to +binutils 2.21 by Scott Garman. + +purpose: warn for uses of system directories when cross linking + +Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 + +2008-07-02 Joseph Myers + + ld/ + * ld.h (args_type): Add error_poison_system_directories. + * ld.texinfo (--error-poison-system-directories): Document. + * ldfile.c (ldfile_add_library_path): Check + command_line.error_poison_system_directories. + * ldmain.c (main): Initialize + command_line.error_poison_system_directories. + * lexsup.c (enum option_values): Add + OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. + (ld_options): Add --error-poison-system-directories. + (parse_args): Handle new option. + +2007-06-13 Joseph Myers + + ld/ + * config.in: Regenerate. + * ld.h (args_type): Add poison_system_directories. + * ld.texinfo (--no-poison-system-directories): Document. + * ldfile.c (ldfile_add_library_path): Check + command_line.poison_system_directories. + * ldmain.c (main): Initialize + command_line.poison_system_directories. + * lexsup.c (enum option_values): Add + OPTION_NO_POISON_SYSTEM_DIRECTORIES. + (ld_options): Add --no-poison-system-directories. + (parse_args): Handle new option. + +2007-04-20 Joseph Myers + + Merge from Sourcery G++ binutils 2.17: + + 2007-03-20 Joseph Myers + Based on patch by Mark Hatle . + ld/ + * configure.ac (--enable-poison-system-directories): New option. + * configure, config.in: Regenerate. + * ldfile.c (ldfile_add_library_path): If + ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, + /usr/lib, /usr/local/lib or /usr/X11R6/lib. + +Signed-off-by: Mark Hatle +Signed-off-by: Scott Garman +--- + ld/config.in | 3 +++ + ld/configure | 14 ++++++++++++++ + ld/configure.ac | 10 ++++++++++ + ld/ld.h | 8 ++++++++ + ld/ld.texi | 12 ++++++++++++ + ld/ldfile.c | 17 +++++++++++++++++ + ld/ldlex.h | 2 ++ + ld/ldmain.c | 2 ++ + ld/lexsup.c | 21 +++++++++++++++++++++ + 9 files changed, 89 insertions(+) + +diff --git a/ld/config.in b/ld/config.in +index 26d55a00d47..ffad464783c 100644 +--- a/ld/config.in ++++ b/ld/config.in +@@ -43,6 +43,9 @@ + language is requested. */ + #undef ENABLE_NLS + ++/* Define to warn for use of native system library directories */ ++#undef ENABLE_POISON_SYSTEM_DIRECTORIES ++ + /* Additional extension a shared object might have. */ + #undef EXTRA_SHLIB_EXTENSION + +diff --git a/ld/configure b/ld/configure +index c197aaef3cb..882263aa43f 100755 +--- a/ld/configure ++++ b/ld/configure +@@ -829,6 +829,7 @@ with_lib_path + enable_targets + enable_64_bit_bfd + with_sysroot ++enable_poison_system_directories + enable_gold + enable_got + enable_compressed_debug_sections +@@ -1498,6 +1499,8 @@ Optional Features: + --enable-checking enable run-time checks + --enable-targets alternative target configurations + --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) ++ --enable-poison-system-directories ++ warn for use of native system library directories + --enable-gold[=ARG] build gold [ARG={default,yes,no}] + --enable-got= GOT handling scheme (target, single, negative, + multigot) +@@ -15236,7 +15239,18 @@ else + fi + + ++# Check whether --enable-poison-system-directories was given. ++if test "${enable_poison_system_directories+set}" = set; then : ++ enableval=$enable_poison_system_directories; ++else ++ enable_poison_system_directories=no ++fi ++ ++if test "x${enable_poison_system_directories}" = "xyes"; then + ++$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h ++ ++fi + + # Check whether --enable-got was given. + if test "${enable_got+set}" = set; then : +diff --git a/ld/configure.ac b/ld/configure.ac +index 8ea97c43cd4..0f246db67d8 100644 +--- a/ld/configure.ac ++++ b/ld/configure.ac +@@ -106,6 +106,16 @@ AC_SUBST(use_sysroot) + AC_SUBST(TARGET_SYSTEM_ROOT) + AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) + ++AC_ARG_ENABLE([poison-system-directories], ++ AS_HELP_STRING([--enable-poison-system-directories], ++ [warn for use of native system library directories]),, ++ [enable_poison_system_directories=no]) ++if test "x${enable_poison_system_directories}" = "xyes"; then ++ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], ++ [1], ++ [Define to warn for use of native system library directories]) ++fi ++ + dnl Use --enable-gold to decide if this linker should be the default. + dnl "install_as_default" is set to false if gold is the default linker. + dnl "installed_linker" is the installed BFD linker name. +diff --git a/ld/ld.h b/ld/ld.h +index 35fafebfaed..74e66405de6 100644 +--- a/ld/ld.h ++++ b/ld/ld.h +@@ -162,6 +162,14 @@ typedef struct + in the linker script. */ + bool force_group_allocation; + ++ /* If TRUE (the default) warn for uses of system directories when ++ cross linking. */ ++ bool poison_system_directories; ++ ++ /* If TRUE (default FALSE) give an error for uses of system ++ directories when cross linking instead of a warning. */ ++ bool error_poison_system_directories; ++ + /* Big or little endian as set on command line. */ + enum endian_enum endian; + +diff --git a/ld/ld.texi b/ld/ld.texi +index dd8f571d4e4..3ab210b41b9 100644 +--- a/ld/ld.texi ++++ b/ld/ld.texi +@@ -2863,6 +2863,18 @@ string identifying the original linked file does not change. + + Passing @code{none} for @var{style} disables the setting from any + @code{--build-id} options earlier on the command line. ++ ++ at kindex --no-poison-system-directories ++ at item --no-poison-system-directories ++Do not warn for @option{-L} options using system directories such as ++ at file{/usr/lib} when cross linking. This option is intended for use ++in chroot environments when such directories contain the correct ++libraries for the target system rather than the host. ++ ++ at kindex --error-poison-system-directories ++ at item --error-poison-system-directories ++Give an error instead of a warning for @option{-L} options using ++system directories when cross linking. + @end table + + @c man end +diff --git a/ld/ldfile.c b/ld/ldfile.c +index 9d0af06f1f6..7cdd3b1c1b1 100644 +--- a/ld/ldfile.c ++++ b/ld/ldfile.c +@@ -117,6 +117,23 @@ ldfile_add_library_path (const char *name, bool cmdline) + new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); + else + new_dirs->name = xstrdup (name); ++ ++#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES ++ if (command_line.poison_system_directories ++ && ((!strncmp (name, "/lib", 4)) ++ || (!strncmp (name, "/usr/lib", 8)) ++ || (!strncmp (name, "/usr/local/lib", 14)) ++ || (!strncmp (name, "/usr/X11R6/lib", 14)))) ++ { ++ if (command_line.error_poison_system_directories) ++ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " ++ "cross-compilation\n"), name); ++ else ++ einfo (_("%P: warning: library search path \"%s\" is unsafe for " ++ "cross-compilation\n"), name); ++ } ++#endif ++ + } + + /* Try to open a BFD for a lang_input_statement. */ +diff --git a/ld/ldlex.h b/ld/ldlex.h +index 9e8bf5fb835..2f0fadfe0a3 100644 +--- a/ld/ldlex.h ++++ b/ld/ldlex.h +@@ -163,6 +163,8 @@ enum option_values + OPTION_CTF_VARIABLES, + OPTION_NO_CTF_VARIABLES, + OPTION_CTF_SHARE_TYPES, ++ OPTION_NO_POISON_SYSTEM_DIRECTORIES, ++ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, + }; + + /* The initial parser states. */ +diff --git a/ld/ldmain.c b/ld/ldmain.c +index 42660eb9a3c..1aef9387f93 100644 +--- a/ld/ldmain.c ++++ b/ld/ldmain.c +@@ -321,6 +321,8 @@ main (int argc, char **argv) + command_line.warn_mismatch = true; + command_line.warn_search_mismatch = true; + command_line.check_section_addresses = -1; ++ command_line.poison_system_directories = true; ++ command_line.error_poison_system_directories = false; + + /* We initialize DEMANGLING based on the environment variable + COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the +diff --git a/ld/lexsup.c b/ld/lexsup.c +index 00274c500d0..4f23b3a2da2 100644 +--- a/ld/lexsup.c ++++ b/ld/lexsup.c +@@ -595,6 +595,14 @@ static const struct ld_option ld_options[] = + " is: share-unconflicted (default),\n" + " share-duplicated"), + TWO_DASHES }, ++ { {"no-poison-system-directories", no_argument, NULL, ++ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, ++ '\0', NULL, N_("Do not warn for -L options using system directories"), ++ TWO_DASHES }, ++ { {"error-poison-system-directories", no_argument, NULL, ++ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, ++ '\0', NULL, N_("Give an error for -L options using system directories"), ++ TWO_DASHES }, + }; + + #define OPTION_COUNT ARRAY_SIZE (ld_options) +@@ -607,6 +615,7 @@ parse_args (unsigned argc, char **argv) + int ingroup = 0; + char *default_dirlist = NULL; + char *shortopts; ++ char *BR_paranoid_env; + struct option *longopts; + struct option *really_longopts; + int last_optind; +@@ -1643,6 +1652,14 @@ parse_args (unsigned argc, char **argv) + } + break; + ++ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: ++ command_line.poison_system_directories = false; ++ break; ++ ++ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: ++ command_line.error_poison_system_directories = true; ++ break; ++ + case OPTION_PUSH_STATE: + input_flags.pushed = xmemdup (&input_flags, + sizeof (input_flags), +@@ -1788,6 +1805,10 @@ parse_args (unsigned argc, char **argv) + command_line.soname = NULL; + } + ++ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); ++ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) ++ command_line.error_poison_system_directories = true; ++ + while (ingroup) + { + einfo (_("%P: missing --end-group; added as last command line option\n")); +-- +2.31.1 + diff --git a/package/binutils/2.38/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.38/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch new file mode 100644 index 0000000000..bfd531b818 --- /dev/null +++ b/package/binutils/2.38/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch @@ -0,0 +1,50 @@ +From ef4ba1da823e8366ea4f126f50885a44ebf4dcf0 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 9 Jun 2021 17:28:27 +0200 +Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 + +Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use +an old compiler(i.e. gcc 4.9) build fails on: +``` +elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in +C99 or C11 mode + for (size_t i = 0; i < insn_count; i++) + ^ +``` + +So let's declare `size_t i` at the top of the function instead of inside +for loop. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..32063ab0289 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + { + unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; + unsigned output_insns[PLT_MAX_INSN_COUNT]; ++ size_t i; + + /* Copy instructions into the output buffer. */ +- for (size_t i = 0; i < insn_count; i++) ++ for (i = 0; i < insn_count; i++) + output_insns[i] = insns[i]; + + /* Honor the no-delay-slot setting. */ +@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + } + + /* Write out the output buffer. */ +- for (size_t i = 0; i < (insn_count+1); i++) ++ for (i = 0; i < (insn_count+1); i++) + bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); + } + +-- +2.31.1 + diff --git a/package/binutils/2.38/0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.38/0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch new file mode 100644 index 0000000000..8609db95b7 --- /dev/null +++ b/package/binutils/2.38/0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch @@ -0,0 +1,75 @@ +From 362a20108782b87cd780a989c0dbd014fc2def8b Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Sun, 2 Jan 2022 09:03:28 +0900 +Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special + howto + +Previously when fixing PR 21464 we masked out upper bits of the +relocation value in order to avoid overflow complaints when acceptable. +It turns out this does not work when the relocation value ends up being +signed. + +To fix this this patch introduces a special howto with +complain_on_overflow set to complain_overflow_dont. This is used in +place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 +relocations. + +bfd/ChangeLog: + + PR 28735 + * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. + (or1k_elf_relocate_section): Use new howto instead of trying to + mask out relocation bits. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..7fd88d72442 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = + false), /* pcrel_offset */ + }; + ++/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 ++ relocations when we know we can ignore overflows. */ ++static reloc_howto_type or1k_elf_got16_no_overflow_howto = ++ HOWTO (R_OR1K_GOT16, /* type */ ++ 0, /* rightshift */ ++ 2, /* size (0 = byte, 1 = short, 2 = long) */ ++ 16, /* bitsize */ ++ false, /* pc_relative */ ++ 0, /* bitpos */ ++ complain_overflow_dont, /* complain_on_overflow */ ++ bfd_elf_generic_reloc, /* special_function */ ++ "R_OR1K_GOT16", /* name */ ++ false, /* partial_inplace */ ++ 0, /* src_mask */ ++ 0xffff, /* dst_mask */ ++ false); /* pcrel_offset */ ++ + /* Map BFD reloc types to Or1k ELF reloc types. */ + + struct or1k_reloc_map +@@ -1506,12 +1523,11 @@ or1k_elf_relocate_section (bfd *output_bfd, + if (r_type == R_OR1K_GOT_AHI16) + saw_gotha = true; + +- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 ++ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 + relocation we assume the code is doing the right thing to avoid +- overflows. Here we mask the lower 16-bit of the relocation to +- avoid overflow validation failures. */ ++ overflows. */ + if (r_type == R_OR1K_GOT16 && saw_gotha) +- relocation &= 0xffff; ++ howto = &or1k_elf_got16_no_overflow_howto; + + /* Addend should be zero. */ + if (rel->r_addend != 0) +-- +2.25.1 + diff --git a/package/binutils/2.38/0005-binutils-2.38-vs.-ppc32-linux-kernel.patch b/package/binutils/2.38/0005-binutils-2.38-vs.-ppc32-linux-kernel.patch new file mode 100644 index 0000000000..c62652c95f --- /dev/null +++ b/package/binutils/2.38/0005-binutils-2.38-vs.-ppc32-linux-kernel.patch @@ -0,0 +1,55 @@ +From ed9b2e40ebffec835d63473367da8dd8f80d7d5b Mon Sep 17 00:00:00 2001 +From: Alan Modra +Date: Mon, 21 Feb 2022 10:58:57 +1030 +Subject: [PATCH] binutils 2.38 vs. ppc32 linux kernel + +Commit b25f942e18d6 made .machine more strict. Weaken it again. + + * config/tc-ppc.c (ppc_machine): Treat an early .machine specially, + keeping sticky options to work around gcc bugs. + +(cherry picked from commit cebc89b9328eab994f6b0314c263f94e7949a553) +Signed-off-by: Waldemar Brodkorb +--- + gas/config/tc-ppc.c | 25 ++++++++++++++++++++++++- + 1 file changed, 24 insertions(+), 1 deletion(-) + +diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c +index 054f9c72161..89bc7d3f9b9 100644 +--- a/gas/config/tc-ppc.c ++++ b/gas/config/tc-ppc.c +@@ -5965,7 +5965,30 @@ ppc_machine (int ignore ATTRIBUTE_UNUSED) + options do not count as a new machine, instead they add + to currently selected opcodes. */ + ppc_cpu_t machine_sticky = 0; +- new_cpu = ppc_parse_cpu (ppc_cpu, &machine_sticky, cpu_string); ++ /* Unfortunately, some versions of gcc emit a .machine ++ directive very near the start of the compiler's assembly ++ output file. This is bad because it overrides user -Wa ++ cpu selection. Worse, there are versions of gcc that ++ emit the *wrong* cpu, not even respecting the -mcpu given ++ to gcc. See gcc pr101393. And to compound the problem, ++ as of 20220222 gcc doesn't pass the correct cpu option to ++ gas on the command line. See gcc pr59828. Hack around ++ this by keeping sticky options for an early .machine. */ ++ asection *sec; ++ for (sec = stdoutput->sections; sec != NULL; sec = sec->next) ++ { ++ segment_info_type *info = seg_info (sec); ++ /* Are the frags for this section perturbed from their ++ initial state? Even .align will count here. */ ++ if (info != NULL ++ && (info->frchainP->frch_root != info->frchainP->frch_last ++ || info->frchainP->frch_root->fr_type != rs_fill ++ || info->frchainP->frch_root->fr_fix != 0)) ++ break; ++ } ++ new_cpu = ppc_parse_cpu (ppc_cpu, ++ sec == NULL ? &sticky : &machine_sticky, ++ cpu_string); + if (new_cpu != 0) + ppc_cpu = new_cpu; + else +-- +2.30.2 + diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index ea1f020989..17de6e4e41 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -36,6 +36,12 @@ config BR2_BINUTILS_VERSION_2_37_X # https://github.com/uclinux-dev/elf2flt/issues/12 depends on !BR2_BINFMT_FLAT +config BR2_BINUTILS_VERSION_2_38_X + bool "binutils 2.38" + # https://github.com/uclinux-dev/elf2flt/pull/16 + # https://github.com/uclinux-dev/elf2flt/issues/12 + depends on !BR2_BINFMT_FLAT + config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" depends on BR2_arc @@ -49,6 +55,7 @@ config BR2_BINUTILS_VERSION default "2.35.2" if BR2_BINUTILS_VERSION_2_35_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X + default "2.38" if BR2_BINUTILS_VERSION_2_38_X config BR2_BINUTILS_ENABLE_LTO bool diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index d1be6cbce8..fe31b34d40 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -3,6 +3,7 @@ sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724a sha512 9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz +sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz # Locally calculated (fetched from Github) sha512 76a8227a19218435319c660e4983ea17985194b7f496f163e97543e7f6fd3e9249241fdc05a16ba512fba96a1d846c1f7b080983404d821d6215f10e7f11e238 binutils-gdb-arc-2020.09-release.tar.gz From thomas.petazzoni at bootlin.com Sat Apr 23 14:07:11 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:07:11 +0200 Subject: [Buildroot] [git commit] package/binutils: remove 2.35.2 Message-ID: <20220423140153.DDC41812D4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5706080f69402cf2689d8a38cde38c2b9cc01183 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- Config.in.legacy | 6 + package/binutils/2.35.2/0001-sh-conf.patch | 48 -- .../2.35.2/0002-poison-system-directories.patch | 306 ------------- ...sue-with-plt-link-failure-for-local-calls.patch | 59 --- ...ent-relocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 ----------- ...R_OR1K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...t-large-plt_relocs-when-generating-plt-en.patch | 500 --------------------- ...lf32-or1k-fix-building-with-gcc-version-5.patch | 50 --- ...-relative-relocation-against-dynamic-on-P.patch | 59 --- ...R_OR1K_GOT16-signed-overflow-by-using-spe.patch | 75 ---- ...low-GOT32-relocations-against-ABS-symbols.patch | 46 -- package/binutils/Config.in.host | 8 - package/binutils/binutils.hash | 1 - 13 files changed, 6 insertions(+), 1469 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27f19f14e7..27a4fcd33b 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.05" +config BR2_BINUTILS_VERSION_2_35_X + bool "binutils 2.35.x has been removed" + select BR2_LEGACY + help + binutils 2.35 has been removed, use a newer version. + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/package/binutils/2.35.2/0001-sh-conf.patch b/package/binutils/2.35.2/0001-sh-conf.patch deleted file mode 100644 index 44d5f4e89a..0000000000 --- a/package/binutils/2.35.2/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From ae50e875f4292c99b859cded1d036e401b6ddaec Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 54d0339ab9e..c2f51ffcebb 100755 ---- a/configure -+++ b/configure -@@ -3937,7 +3937,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index a910c4fd6ba..a93d93c81c3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1178,7 +1178,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.25.4 - diff --git a/package/binutils/2.35.2/0002-poison-system-directories.patch b/package/binutils/2.35.2/0002-poison-system-directories.patch deleted file mode 100644 index b77a5e1a66..0000000000 --- a/package/binutils/2.35.2/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From db405d1bc5607892ddb25433354b46d78e23b343 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.33.1] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index 2f4e5ea33e3..8fbb29682b2 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -40,6 +40,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index 6be5280621f..d62e7b12382 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -826,6 +826,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1493,6 +1494,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15814,7 +15817,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index 172398ff847..b77f8510ca6 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index 1790dc81a66..73f832eb169 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -166,6 +166,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index 2a93e9456ac..3eeb70607fd 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2655,6 +2655,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+ at kindex --no-poison-system-directories -+ at item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+ at file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+ at kindex --error-poison-system-directories -+ at item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index e39170b5d94..fadc248a140 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -117,6 +117,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 5ea083ebeb3..417f9b858ce 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -155,6 +155,8 @@ enum option_values - OPTION_NON_CONTIGUOUS_REGIONS, - OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS, - OPTION_DEPENDENCY_FILE, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index 08be9030cb5..92dc16399eb 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -321,6 +321,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 6cab41cf5df..c497f36b148 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -572,6 +572,14 @@ static const struct ld_option ld_options[] = - { {"no-print-map-discarded", no_argument, NULL, OPTION_NO_PRINT_MAP_DISCARDED}, - '\0', NULL, N_("Do not show discarded sections in map file output"), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -584,6 +592,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1591,6 +1600,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1681,6 +1698,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - einfo (_("%P: missing --end-group; added as last command line option\n")); --- -2.25.4 - diff --git a/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index 81fb6b8518..0000000000 --- a/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From baf313f84b106a5a29f01796afd857e69abf8b08 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 7c02d004cc7..bbfa2bfe614 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2568,11 +2568,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index a4af57d546..0000000000 --- a/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From c67656e248d6dadaa2729975a17c8dd03afe48d0 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index df6f9f45673..ab861395e93 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5041,6 +5041,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index bbfa2bfe614..8e395827123 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - /* tls_type is a mask used to track how each symbol is accessed, -@@ -1113,6 +1128,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1375,6 +1391,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1466,7 +1483,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1992,6 +2010,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index b97534fc9fe..795c9b9d27f 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2755,6 +2755,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index 9aba84ca81e..1e021febef2 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6175,6 +6175,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index f0adcbb00a5..5d20a1f33a7 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -193,7 +193,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -296,6 +296,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index a215ef5c17e..dff37d875f2 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 5f3c6c74b12..e0c49b3b8cd 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index 82198dd373..0000000000 --- a/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 097b83a1c9c694a14e6081cee034bf24f16875c1 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence of - R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 8e395827123..9f315bfda99 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1280,6 +1280,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1487,6 +1488,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index c884ab874d..0000000000 --- a/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From c87692eb894b4b86eced7b7ba205f9bf27c2c213 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 9f315bfda99..7a14eaa3a46 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -907,6 +911,8 @@ struct elf_or1k_link_hash_entry - { - struct elf_link_hash_entry root; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -934,9 +940,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2224,33 +2241,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2317,7 +2347,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2328,27 +2359,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2391,7 +2422,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2403,6 +2435,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2420,10 +2453,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2435,27 +2471,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. We initialize it to - point to the top of the plt. This is done to lazy lookup the actual -@@ -2779,11 +2845,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *splt = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (splt->size == 0) -- splt->size = PLT_ENTRY_SIZE; -+ splt->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = splt->size; - -@@ -2800,7 +2871,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- splt->size += PLT_ENTRY_SIZE; -+ splt->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 7592e8307c1..8e19ec6c31a 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch deleted file mode 100644 index c3978e22fa..0000000000 --- a/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Wed, 9 Jun 2021 17:28:27 +0200 -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 - -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use -an old compiler(i.e. gcc 4.9) build fails on: -``` -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in -C99 or C11 mode - for (size_t i = 0; i < insn_count; i++) - ^ -``` - -So let's declare `size_t i` at the top of the function instead of inside -for loop. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..32063ab0289 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; - unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ size_t i; - - /* Copy instructions into the output buffer. */ -- for (size_t i = 0; i < insn_count; i++) -+ for (i = 0; i < insn_count; i++) - output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - } - - /* Write out the output buffer. */ -- for (size_t i = 0; i < (insn_count+1); i++) -+ for (i = 0; i < (insn_count+1); i++) - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - --- -2.25.1 - diff --git a/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch deleted file mode 100644 index 585b97b2af..0000000000 --- a/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Sat, 10 Jul 2021 17:57:34 +0200 -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC - relative 26 bit relocation - -When building openal we were seeing the assert failure: - -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePausev -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceStopv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceRewindv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePlayv -collect2: error: ld returned 1 exit status - -This happens because in R_OR1K_INSN_REL_26 case we can't reference local -symbol as previously done but we need to make sure that calls to actual -symbol always call the version of current object. - -bfd/Changelog: - - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry - in switch case R_OR1K_INSN_REL_26 where we need to check for - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..4f9092539f5 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, - break; - - case R_OR1K_INSN_REL_26: -+ /* For a non-shared link, these will reference plt or call the -+ version of actual object. */ -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) -+ { -+ _bfd_error_handler -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), -+ input_bfd, name); -+ ret_val = FALSE; -+ bfd_set_error (bfd_error_bad_value); -+ } -+ break; -+ - case R_OR1K_PCREL_PG21: - case R_OR1K_LO13: - case R_OR1K_SLO13: --- -2.25.1 - diff --git a/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch deleted file mode 100644 index e96d49122a..0000000000 --- a/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch +++ /dev/null @@ -1,75 +0,0 @@ -From fbab8933bca6b7dba2aa19190a71f799a370c3d4 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 Jan 2022 09:03:28 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special - howto - -Previously when fixing PR 21464 we masked out upper bits of the -relocation value in order to avoid overflow complaints when acceptable. -It turns out this does not work when the relocation value ends up being -signed. - -To fix this this patch introduces a special howto with -complain_on_overflow set to complain_overflow_dont. This is used in -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 -relocations. - -bfd/ChangeLog: - - PR 28735 - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. - (or1k_elf_relocate_section): Use new howto instead of trying to - mask out relocation bits. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2ff998066a8..3df31172fcb 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = - FALSE), /* pcrel_offset */ - }; - -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 -+ relocations when we know we can ignore overflows. */ -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = -+ HOWTO (R_OR1K_GOT16, /* type */ -+ 0, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_dont, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE); /* pcrel_offset */ -+ - /* Map BFD reloc types to Or1k ELF reloc types. */ - - struct or1k_reloc_map -@@ -1508,12 +1525,11 @@ or1k_elf_relocate_section (bfd *output_bfd, - if (r_type == R_OR1K_GOT_AHI16) - saw_gotha = TRUE; - -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 - relocation we assume the code is doing the right thing to avoid -- overflows. Here we mask the lower 16-bit of the relocation to -- avoid overflow validation failures. */ -+ overflows. */ - if (r_type == R_OR1K_GOT16 && saw_gotha) -- relocation &= 0xffff; -+ howto = &or1k_elf_got16_no_overflow_howto; - - /* Addend should be zero. */ - if (rel->r_addend != 0) --- -2.25.1 - diff --git a/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch b/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch deleted file mode 100644 index e95eb1e7c5..0000000000 --- a/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 30a954525f4e53a9cd50a1a8a6f201c7cf6595c7 Mon Sep 17 00:00:00 2001 -From: "H.J. Lu" -Date: Mon, 7 Feb 2022 15:22:19 -0800 -Subject: [PATCH] i386: Allow GOT32 relocations against ABS symbols - -GOT32 relocations are allowed since absolute value + addend is stored in -the GOT slot. - -Tested on glibc 2.35 build with GCC 11.2 and -Os. - -bfd/ - - PR ld/28870 - * elfxx-x86.c (_bfd_elf_x86_valid_reloc_p): Also allow GOT32 - relocations. - -Signed-off-by: Waldemar Brodkorb - -diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c -index 7ac2411fc80..d00dc45677b 100644 ---- a/bfd/elfxx-x86.c -+++ b/bfd/elfxx-x86.c -@@ -1942,9 +1942,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, - irel = *rel; - - /* Only allow relocations against absolute symbol, which can be -- resolved as absolute value + addend. GOTPCREL relocations -- are allowed since absolute value + addend is stored in the -- GOT slot. */ -+ resolved as absolute value + addend. GOTPCREL and GOT32 -+ relocations are allowed since absolute value + addend is -+ stored in the GOT slot. */ - if (bed->target_id == X86_64_ELF_DATA) - { - r_type &= ~R_X86_64_converted_reloc_bit; -@@ -1965,7 +1965,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, - else - valid_p = (r_type == R_386_32 - || r_type == R_386_16 -- || r_type == R_386_8); -+ || r_type == R_386_8 -+ || r_type == R_386_GOT32 -+ || r_type == R_386_GOT32X); - - if (valid_p) - *no_dynreloc_p = true; diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 17de6e4e41..21b15b5c36 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -16,13 +16,6 @@ config BR2_BINUTILS_VERSION_2_32_X bool "binutils 2.32" depends on !BR2_csky -config BR2_BINUTILS_VERSION_2_35_X - bool "binutils 2.35.2" - depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT - config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky @@ -52,7 +45,6 @@ config BR2_BINUTILS_VERSION string default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC default "2.32" if BR2_BINUTILS_VERSION_2_32_X - default "2.35.2" if BR2_BINUTILS_VERSION_2_35_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X default "2.38" if BR2_BINUTILS_VERSION_2_38_X diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index fe31b34d40..4141e0c5f2 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -1,6 +1,5 @@ # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz -sha512 9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz From thomas.petazzoni at bootlin.com Sat Apr 23 14:15:58 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 23 Apr 2022 16:15:58 +0200 Subject: [Buildroot] [PATCHv3 1/3] package/binutils: add version 2.38 In-Reply-To: References: Message-ID: <20220423161558.0eb845c8@windsurf> On Wed, 23 Feb 2022 18:55:35 +0100 Waldemar Brodkorb wrote: > See: > https://sourceware.org/pipermail/binutils/2022-February/119721.html > > i386-Allow-GOT32-relocations-against-ABS-symbols.patch is not required > as it is in release. > > Signed-off-by: Waldemar Brodkorb > --- > v1->v2: add a comment about i386 patch > v2->v3: add ppc patch from binutils-2.38 branch fixing kernel > compile > --- > package/binutils/2.38/0001-sh-conf.patch | 48 +++ > .../2.38/0002-poison-system-directories.patch | 306 ++++++++++++++++++ > ...or1k-fix-building-with-gcc-version-5.patch | 50 +++ > ...K_GOT16-signed-overflow-by-using-spe.patch | 75 +++++ > ...binutils-2.38-vs.-ppc32-linux-kernel.patch | 55 ++++ > package/binutils/Config.in.host | 7 + > package/binutils/binutils.hash | 1 + > 7 files changed, 542 insertions(+) > create mode 100644 package/binutils/2.38/0001-sh-conf.patch > create mode 100644 package/binutils/2.38/0002-poison-system-directories.patch > create mode 100644 package/binutils/2.38/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch > create mode 100644 package/binutils/2.38/0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch > create mode 100644 package/binutils/2.38/0005-binutils-2.38-vs.-ppc32-linux-kernel.patch Thanks, series applied. In PATCH 2/3, you had forgotten to update Config.in.legacy with the removed option, so I did that. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From arnout at mind.be Sat Apr 23 14:40:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 16:40:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build In-Reply-To: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> Message-ID: <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> On 16/04/2022 23:13, Fabrice Fontaine wrote: > Add --static when calling pkg-config with BR2_SHARED_STATIC_LIBS to > avoid the following build failure if a package (e.g. dash or zabbix) > decide to use the static library of of its dependency instead of the > shared library (e.g. edit or openssl) resulting in the following build > failures: > > /home/autobuild/autobuild/instance-3/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/10.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: /home/autobuild/autobuild/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libedit.a(terminal.o): in function `terminal_tputs': > terminal.c:(.text+0x1d4): undefined reference to `tputs' > > /nvmedata/autobuild/instance-28/output-1/host/lib/gcc/powerpc64le-buildroot-linux-gnu/10.3.0/../../../../powerpc64le-buildroot-linux-gnu/bin/ld: /nvmedata/autobuild/instance-28/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_globallookup': > dso_dlfcn.c:(.text+0x28): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > > Fixes: > - http://autobuild.buildroot.org/results/2032d6b1233ce5c79a0c9421052ab1b9184c5b89 > - http://autobuild.buildroot.org/results/b0e1bd19f0612a0e90d89ad8fe9e294f57871f6b > > Signed-off-by: Fabrice Fontaine > --- > package/pkgconf/pkgconf.mk | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk > index 5d65f69c10..c40c8b9433 100644 > --- a/package/pkgconf/pkgconf.mk > +++ b/package/pkgconf/pkgconf.mk > @@ -35,10 +35,10 @@ endef > PKGCONF_POST_INSTALL_TARGET_HOOKS += PKGCONF_LINK_PKGCONFIG > HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_INSTALL_WRAPPER > > -ifeq ($(BR2_STATIC_LIBS),y) > -HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > -else > +ifeq ($(BR2_SHARED_LIBS),y) > HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_SHARED > +else > +HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC Err, so this would mean that we almost always link statically in the SHARED_STATIC case? I don't think that that's what we want, really... If a package wants to link statically and is using pkg-config, why is not calling pkg-config with --static? Something seems to be really off here... Regards, Arnout > endif > > $(eval $(autotools-package)) From arnout at mind.be Sat Apr 23 15:04:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:04:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/wayland: fix build with gcc 4.8 In-Reply-To: <20220418213451.845353-1-fontaine.fabrice@gmail.com> References: <20220418213451.845353-1-fontaine.fabrice@gmail.com> Message-ID: <2e3987cb-527f-28c2-cd84-0564ebbb0fd5@mind.be> On 18/04/2022 23:34, Fabrice Fontaine wrote: > Fix the following build failure with gcc 4.8 raised since bump to > version 1.20.0 in commit f94ba5c31cf7f863e6fae996fc042a56e20118f3 and > https://gitlab.freedesktop.org/wayland/wayland/-/commit/80164ef3005e8bb5f785082b97a75cab15444f82: > > ../src/wayland-util.c: In function 'for_each_helper': > ../src/wayland-util.c:373:2: error: 'for' loop initial declarations are only allowed in C99 mode > for (size_t idx = 0; idx < count; idx++) { > ^ > ../src/wayland-util.c:373:2: note: use option -std=c99 or -std=gnu99 to compile your code > > Fixes: > - http://autobuild.buildroot.org/results/3040c9a8cf08415a7f4338185f6dc7245c68c64c > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../wayland/0001-build-set-c_std-c99.patch | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 package/wayland/0001-build-set-c_std-c99.patch > > diff --git a/package/wayland/0001-build-set-c_std-c99.patch b/package/wayland/0001-build-set-c_std-c99.patch > new file mode 100644 > index 0000000000..69f728aa11 > --- /dev/null > +++ b/package/wayland/0001-build-set-c_std-c99.patch > @@ -0,0 +1,34 @@ > +From 40c275f642e3895aeb748403fcdfd92d7d875d65 Mon Sep 17 00:00:00 2001 > +From: Simon Ser > +Date: Mon, 10 Jan 2022 14:54:02 +0100 > +Subject: [PATCH] build: set c_std=c99 > + > +Set explicitly the C standard to use to make sure we don't use > +features not available on our target platforms. > + > +Signed-off-by: Simon Ser > + > +[Retrieved from: > +https://gitlab.freedesktop.org/wayland/wayland/-/commit/40c275f642e3895aeb748403fcdfd92d7d875d65] > +Signed-off-by: Fabrice Fontaine > +--- > + meson.build | 3 ++- > + 1 file changed, 2 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index cab267e9..e9691ffe 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -5,7 +5,8 @@ project( > + meson_version: '>= 0.52.1', > + default_options: [ > + 'warning_level=2', > +- 'buildtype=debugoptimized' > ++ 'buildtype=debugoptimized', > ++ 'c_std=c99', > + ] > + ) > + wayland_version = meson.project_version().split('.') > +-- > +GitLab > + From arnout at mind.be Sat Apr 23 15:04:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:04:21 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/mariadb: fix build with libressl In-Reply-To: <20220418215412.892842-1-fontaine.fabrice@gmail.com> References: <20220418215412.892842-1-fontaine.fabrice@gmail.com> Message-ID: <897db641-965a-9334-21eb-3321cac0d3bf@mind.be> On 18/04/2022 23:54, Fabrice Fontaine wrote: > Fix the following build failure with libressl: > > CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: > LIBRESSL_RESULT (advanced) > LIBRESSL_RESULT__TRYRUN_OUTPUT (advanced) > For details see /nvmedata/autobuild/instance-27/output-1/build/mariadb-10.3.34/TryRunResults.cmake > > Fixes: > - http://autobuild.buildroot.org/results/cbdbfcdae4b89ac678e1bf6bcded96872c7223ab > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - Prepend "LibreSSL " to $(LIBRESSL_VERSION) as > libmariadb/cmake/libressl_version.c prints LIBRESSL_VERSION_TEXT > > package/mariadb/mariadb.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk > index 4eb9c71827..18667e7e70 100644 > --- a/package/mariadb/mariadb.mk > +++ b/package/mariadb/mariadb.mk > @@ -60,6 +60,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 > # Explicitly disable dtrace to avoid detection of a host version > MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 > > +ifeq ($(BR2_PACKAGE_LIBRESSL),y) > +MARIADB_CONF_OPTS += \ > + -DLIBRESSL_RESULT=ON \ > + -DLIBRESSL_RESULT__TRYRUN_OUTPUT="LibreSSL $(LIBRESSL_VERSION)" > +endif > + > ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) > ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) > MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON From arnout at mind.be Sat Apr 23 15:04:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:04:36 +0200 Subject: [Buildroot] [PATCH] package/openlayers: bump to version 6.14.1 In-Reply-To: <20220419085411.125022-1-thomas.claveirole@green-communications.fr> References: <20220419085411.125022-1-thomas.claveirole@green-communications.fr> Message-ID: <36655c3d-bb76-4eb6-c8b0-521fea745984@mind.be> On 19/04/2022 10:54, Thomas Claveirole wrote: > Signed-off-by: Thomas Claveirole Applied to master, thanks. Regards, Arnout > --- > package/openlayers/openlayers.hash | 2 +- > package/openlayers/openlayers.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/openlayers/openlayers.hash b/package/openlayers/openlayers.hash > index 2d6c2fb9d3..1c93b9a729 100644 > --- a/package/openlayers/openlayers.hash > +++ b/package/openlayers/openlayers.hash > @@ -1,2 +1,2 @@ > # Locally computed: > -sha256 aeb8107a23a99d79efb6031c7cf901307b63571c39fd744f771d4a707e06a14f v6.12.0-dist.zip > +sha256 8a9fda6e392688c049ebb88fb2c73b5788b4965b625443de4cca7d4688b1fb82 v6.14.1-dist.zip > diff --git a/package/openlayers/openlayers.mk b/package/openlayers/openlayers.mk > index 7532bb7f68..4626e7545a 100644 > --- a/package/openlayers/openlayers.mk > +++ b/package/openlayers/openlayers.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -OPENLAYERS_VERSION = 6.12.0 > +OPENLAYERS_VERSION = 6.14.1 > OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-dist.zip > OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION) > OPENLAYERS_LICENSE = BSD-2-Clause From arnout at mind.be Sat Apr 23 15:04:56 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:04:56 +0200 Subject: [Buildroot] [PATCH] package/vuejs: bump to version 3.2.33 In-Reply-To: <20220419085411.125022-2-thomas.claveirole@green-communications.fr> References: <20220419085411.125022-1-thomas.claveirole@green-communications.fr> <20220419085411.125022-2-thomas.claveirole@green-communications.fr> Message-ID: <263b91bc-aca7-ccbe-1cd5-11b235c5a162@mind.be> On 19/04/2022 10:54, Thomas Claveirole wrote: > Signed-off-by: Thomas Claveirole Applied both to master, thanks. Regards, Arnout > --- > package/vuejs/vuejs.hash | 2 +- > package/vuejs/vuejs.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/vuejs/vuejs.hash b/package/vuejs/vuejs.hash > index 9dd0fb548b..c53364e97d 100644 > --- a/package/vuejs/vuejs.hash > +++ b/package/vuejs/vuejs.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 770ff74851f7454977f084becd76b05b3fad4d52f048df5405d41849c125956c vue-3.2.22.tgz > +sha256 042033a2a8e6d45f750924953f03c34058d5afd9cc1571fbaf1827eaf04f6943 vue-3.2.33.tgz > sha256 1bb85cc9b13b81ef41c81c51866172fc345e0503c86726a6755b796590b70175 LICENSE > diff --git a/package/vuejs/vuejs.mk b/package/vuejs/vuejs.mk > index b74002e932..d544124bbc 100644 > --- a/package/vuejs/vuejs.mk > +++ b/package/vuejs/vuejs.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -VUEJS_VERSION = 3.2.22 > +VUEJS_VERSION = 3.2.33 > VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz > VUEJS_SITE = https://registry.npmjs.org/vue/- > VUEJS_LICENSE = MIT From arnout at mind.be Sat Apr 23 15:05:11 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:05:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/trinity: fix musl build In-Reply-To: <20220419090055.2029170-1-fontaine.fabrice@gmail.com> References: <20220419090055.2029170-1-fontaine.fabrice@gmail.com> Message-ID: On 19/04/2022 11:00, Fabrice Fontaine wrote: > Fix the following build failure on musl: > > In file included from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/asm/ioctl.h:12, > from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/linux/ioctl.h:5, > from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/linux/fs.h:14, > from ioctls/vfs.c:3: > ioctls/vfs.c:109:35: error: 'loff_t' undeclared here (not in a function); did you mean 'off_t'? > 109 | { .name = "FIOQSIZE", .request = FIOQSIZE, }, > | ^~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/b7f46072751a8d70fa02f1c625c5279f70bec853 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0003-Use-fcntl-h-for-dev_t-mode_t.patch | 46 +++++++++++++++++++ > 1 file changed, 46 insertions(+) > create mode 100644 package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch > > diff --git a/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch b/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch > new file mode 100644 > index 0000000000..c4d9811b8a > --- /dev/null > +++ b/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch > @@ -0,0 +1,46 @@ > +From b1a0aef9978d4a41e7e601c277d4fb1b0cfbed89 Mon Sep 17 00:00:00 2001 > +From: Dave Jones > +Date: Thu, 26 Aug 2021 11:17:34 -0400 > +Subject: [PATCH] Use fcntl.h for dev_t & mode_t > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +Should fix: > + > +In file included from /usr/include/bits/statx.h:31, > + from /usr/include/sys/stat.h:446, > + from include/files.h:3, > + from include/shm.h:6, > + from syscalls/x86/modify_ldt.c:12: > +/usr/include/linux/stat.h:57:2: error: unknown type name ?__s64? > + __s64 tv_sec; > + ^~~~~ > +/usr/include/linux/stat.h:58:2: error: unknown type name ?__u32? > + __u32 tv_nsec; > + ^~~~~ > +/usr/include/linux/stat.h:59:2: error: unknown type name ?__s32? > + __s32 __reserved; > + ^~~~~ > +/usr/include/linux/stat.h:101:2: error: unknown type name ?__u32? > + __u32 stx_mask; /* What results were written [uncond] */ > + > +[Retrieved from: > +https://github.com/kernelslacker/trinity/commit/b1a0aef9978d4a41e7e601c277d4fb1b0cfbed89] > +Signed-off-by: Fabrice Fontaine > +--- > + include/files.h | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/include/files.h b/include/files.h > +index 2a8e0e2d..ba3cc98f 100644 > +--- a/include/files.h > ++++ b/include/files.h > +@@ -1,6 +1,6 @@ > + #pragma once > + > +-#include > ++#include > + #include "fd.h" > + > + unsigned long get_o_flags(void); From arnout at mind.be Sat Apr 23 15:06:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:06:06 +0200 Subject: [Buildroot] [PATCH 1/2] package/expat: disable examples, tests and xmlwf In-Reply-To: <20220419090346.2029839-1-fontaine.fabrice@gmail.com> References: <20220419090346.2029839-1-fontaine.fabrice@gmail.com> Message-ID: <82880b6e-8e85-f9a2-7b98-d00034c49dc9@mind.be> On 19/04/2022 11:03, Fabrice Fontaine wrote: > Disable examples and tests (enabled by default) through > --without-{examples,tests} which are available since version 2.2.7 and > https://github.com/libexpat/libexpat/commit/1fdfd8a1b490f8ac9e7e11896298e41cc210d87d > > Also disable xmlwf (a binary that determines if an XML document is > well-formed) through --without-xmlwf which is available since version > 2.2.4 and > https://github.com/libexpat/libexpat/commit/9d950527a07783c104aada685384edf3f8f23f8a > > This will fix the following build failure on riscv64: > > ERROR: reloc type R_RISCV_SET6 unsupported in this context > > Fixes: > - http://autobuild.buildroot.org/results/99890c9c7ebe3266dd533c81352a3cbcf4d3d738 > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Someone may actually need xmlwf for something, but then they can send a patch to enable it (probably with a Config.in option which depends on !riscv64). Regards, Arnout > --- > package/expat/expat.mk | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/expat/expat.mk b/package/expat/expat.mk > index b29b0e1d26..92a3bfda8e 100644 > --- a/package/expat/expat.mk > +++ b/package/expat/expat.mk > @@ -15,8 +15,9 @@ EXPAT_LICENSE_FILES = COPYING > EXPAT_CPE_ID_VENDOR = libexpat_project > EXPAT_CPE_ID_PRODUCT = libexpat > > -EXPAT_CONF_OPTS = --without-docbook > -HOST_EXPAT_CONF_OPTS = --without-docbook > +EXPAT_CONF_OPTS = \ > + --without-docbook --without-examples --without-tests --without-xmlwf > +HOST_EXPAT_CONF_OPTS = --without-docbook --without-examples --without-tests > > $(eval $(autotools-package)) > $(eval $(host-autotools-package)) From arnout at mind.be Sat Apr 23 15:07:29 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:07:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/multipath-tools: bump to version 0.8.9 In-Reply-To: <20220419104013.23735-1-egorenar-dev@posteo.net> References: <20220419104013.23735-1-egorenar-dev@posteo.net> Message-ID: On 19/04/2022 12:40, Alexander Egorenkov wrote: > Signed-off-by: Alexander Egorenkov > --- > ...ath-use-pkg-config-to-get-path-to-he.patch | 69 ------------------- > package/multipath-tools/multipath-tools.hash | 2 +- > package/multipath-tools/multipath-tools.mk | 2 +- > 3 files changed, 2 insertions(+), 71 deletions(-) > delete mode 100644 package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch > [snip] > diff --git a/package/multipath-tools/multipath-tools.hash b/package/multipath-tools/multipath-tools.hash > index f063848681ea..38558a9633d1 100644 > --- a/package/multipath-tools/multipath-tools.hash > +++ b/package/multipath-tools/multipath-tools.hash > @@ -1,5 +1,5 @@ > # Locally computed: > -sha256 ff45ddb18a1effbfbe5712f513dd3b7146c68141091fc1c2489af8d6197026ef multipath-tools-0.8.8.tar.gz > +sha256 27a426facea0474e6dc48e026a94f7c86890d3f27b439b07ec26b0b9887b0cc4 multipath-tools-0.8.9.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0 > sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSES/GPL-3.0 > sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c LICENSES/LGPL-2.0 Hash of README.md changed as well. In the future, please run make legal-info to verify that the license files haven't change. And if they do change, please make sure to comment on it in the commit message (the important thing is to be sure that the license hasn't changed). Regards, Arnout > diff --git a/package/multipath-tools/multipath-tools.mk b/package/multipath-tools/multipath-tools.mk > index eecfe3900233..c0b7c5721ebe 100644 > --- a/package/multipath-tools/multipath-tools.mk > +++ b/package/multipath-tools/multipath-tools.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MULTIPATH_TOOLS_VERSION = 0.8.8 > +MULTIPATH_TOOLS_VERSION = 0.8.9 > MULTIPATH_TOOLS_SITE = $(call github,opensvc,multipath-tools,$(MULTIPATH_TOOLS_VERSION)) > > MULTIPATH_TOOLS_LICENSE = \ From arnout at mind.be Sat Apr 23 15:08:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:08:06 +0200 Subject: [Buildroot] [PATCH] packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements In-Reply-To: <20220419184756.255846-1-b.bilas@grinn-global.com> References: <20220419184756.255846-1-b.bilas@grinn-global.com> Message-ID: On 19/04/2022 20:47, Bartosz Bilas wrote: > Fixes: > CMake Error at /home/buildroot/autobuild/run/instance-2/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/libwebsockets/libwebsockets-config.cmake:35 (include): > include could not find load file: > > LwsCheckRequirements > Call Stack (most recent call first): > CMakeLists.txt:54 (find_package) > > Signed-off-by: Bartosz Bilas > Signed-off-by: Bartosz Bilas Applied to master, thanks. Regards, Arnout > --- > ...emove-duplicate-LwsCheckRequirements.patch | 26 +++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch > > diff --git a/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch > new file mode 100644 > index 0000000000..fc76a2b610 > --- /dev/null > +++ b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch > @@ -0,0 +1,26 @@ > +From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001 > +From: Andy Green > +Date: Mon, 7 Feb 2022 14:48:55 +0000 > +Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements > + > +Signed-off-by: Andy Green > +Signed-off-by: Bartosz Bilas > +Signed-off-by: Bartosz Bilas > +--- > + cmake/libwebsockets-config.cmake.in | 1 - > + 1 file changed, 1 deletion(-) > + > +diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in > +index 6247b2cb..8ba97e6f 100644 > +--- a/cmake/libwebsockets-config.cmake.in > ++++ b/cmake/libwebsockets-config.cmake.in > +@@ -32,6 +32,5 @@ endforeach() > + > + include(CheckIncludeFile) > + include(CheckCSourceCompiles) > +-include(LwsCheckRequirements) > + set(requirements 1) > + > +-- > +2.35.3 > + From arnout at mind.be Sat Apr 23 15:09:29 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:09:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/batman-adv: needs CONFIG_CRC16 In-Reply-To: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> References: <20220419185821.4087483-1-fontaine.fabrice@gmail.com> Message-ID: On 19/04/2022 20:58, Fabrice Fontaine wrote: > CONFIG_CRC16 is needed to avoid the following build failure: > > ERROR: modpost: "crc16" [/nvmedata/autobuild/instance-6/output-1/build/batman-adv-2021.4/net/batman-adv/batman-adv.ko] undefined! > > Fixes: > - http://autobuild.buildroot.org/results/64bf0f89ef444dda4d1277c0e46d189ad2515713 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/batman-adv/batman-adv.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk > index 838f9b1851..6a1aaa699c 100644 > --- a/package/batman-adv/batman-adv.mk > +++ b/package/batman-adv/batman-adv.mk > @@ -35,6 +35,7 @@ define BATMAN_ADV_CONFIGURE_CMDS > endef > > define BATMAN_ADV_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC16) > $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) > endef > From arnout at mind.be Sat Apr 23 15:09:46 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:09:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgresql: can't be built with BR2_OPTIMIZE_FAST In-Reply-To: <20220419193215.4089204-1-fontaine.fabrice@gmail.com> References: <20220419193215.4089204-1-fontaine.fabrice@gmail.com> Message-ID: <0802760d-78d8-cdfc-cc86-f99a70edd79f@mind.be> On 19/04/2022 21:32, Fabrice Fontaine wrote: > postgresql can't be built with BR2_OPTIMIZE_FAST: > > configure: error: do not put -ffast-math in CFLAGS > > Fixes: > - http://autobuild.buildroot.org/results/106bb61bcff5d03e44d3e2e9149c76e6705606a5 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/bandwidthd/Config.in | 4 ++++ > package/collectd/Config.in | 4 ++++ > package/lighttpd/Config.in | 4 ++++ > package/php/Config.ext | 8 ++++++++ > package/poco/Config.in | 4 ++++ > package/postgresql/Config.in | 4 ++++ > package/python-psycopg2/Config.in | 4 ++++ > package/qt5/qt5base/Config.in | 4 ++++ > package/zabbix/Config.in | 1 + > 9 files changed, 37 insertions(+) > > diff --git a/package/bandwidthd/Config.in b/package/bandwidthd/Config.in > index 5a3529e0c4..7537552390 100644 > --- a/package/bandwidthd/Config.in > +++ b/package/bandwidthd/Config.in > @@ -36,6 +36,7 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL > bool "enable postgresql log target support" > depends on !BR2_STATIC_LIBS > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Enable support for logging the bandwidthd data to a remote > @@ -46,6 +47,9 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL > comment "postgresql support needs a toolchain w/ dynamic library, wchar" > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > > +comment "postgresql support can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_BANDWIDTHD_SQLITE3 > bool "enable sqlite3 log storage" > select BR2_PACKAGE_SQLITE > diff --git a/package/collectd/Config.in b/package/collectd/Config.in > index 43eef3bf66..da8465beee 100644 > --- a/package/collectd/Config.in > +++ b/package/collectd/Config.in > @@ -475,6 +475,7 @@ config BR2_PACKAGE_COLLECTD_PING > config BR2_PACKAGE_COLLECTD_POSTGRESQL > bool "postgresql" > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Connects to and executes SQL statements on a PostgreSQL > @@ -485,6 +486,9 @@ config BR2_PACKAGE_COLLECTD_POSTGRESQL > comment "postgresql support needs a toolchain w/ wchar" > depends on !BR2_USE_WCHAR > > +comment "postgresql support can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_COLLECTD_PROCESSES > bool "processes" > help > diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in > index 6f0c927319..9522b80426 100644 > --- a/package/lighttpd/Config.in > +++ b/package/lighttpd/Config.in > @@ -93,6 +93,7 @@ config BR2_PACKAGE_LIGHTTPD_PGSQL > bool "pgsql support" > depends on BR2_USE_MMU # postgresql > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Enable postgres support for lighttpd mod_vhostdb_pgsql. > @@ -101,6 +102,9 @@ comment "pgsql support needs a toolchain w/ wchar" > depends on BR2_USE_MMU > depends on !BR2_USE_WCHAR > > +comment "pgsql support can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_LIGHTTPD_WEBDAV > bool "webdav support" > select BR2_PACKAGE_LIBXML2 > diff --git a/package/php/Config.ext b/package/php/Config.ext > index 5da5d8bed9..e4aced66df 100644 > --- a/package/php/Config.ext > +++ b/package/php/Config.ext > @@ -141,6 +141,7 @@ config BR2_PACKAGE_PHP_EXT_PGSQL > depends on BR2_USE_MMU # postgresql > depends on !BR2_STATIC_LIBS > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > PostgreSQL support > @@ -149,6 +150,9 @@ comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" > depends on BR2_USE_MMU > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > > +comment "PostgreSQL extension can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_PHP_EXT_SQLITE > bool "SQLite3" > select BR2_PACKAGE_SQLITE > @@ -172,6 +176,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL > depends on BR2_USE_MMU # postgresql > depends on !BR2_STATIC_LIBS > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > PDO driver for PostgreSQL > @@ -180,6 +185,9 @@ comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" > depends on BR2_USE_MMU > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > > +comment "PostgreSQL drivers can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_PHP_EXT_PDO_SQLITE > bool "SQLite3" > select BR2_PACKAGE_SQLITE > diff --git a/package/poco/Config.in b/package/poco/Config.in > index 699495a241..d2852ba03e 100644 > --- a/package/poco/Config.in > +++ b/package/poco/Config.in > @@ -52,9 +52,13 @@ config BR2_PACKAGE_POCO_DATA_MYSQL > config BR2_PACKAGE_POCO_DATA_PGSQL > bool "Data/PostgreSQL" > depends on BR2_USE_MMU # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POCO_DATA > select BR2_PACKAGE_POSTGRESQL > > +comment "Data/PostgreSQL can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > config BR2_PACKAGE_POCO_DATA_SQLITE > bool "Data/SQLite" > select BR2_PACKAGE_POCO_DATA > diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in > index b42b219558..476427d534 100644 > --- a/package/postgresql/Config.in > +++ b/package/postgresql/Config.in > @@ -6,6 +6,7 @@ config BR2_PACKAGE_POSTGRESQL > # postgresql is unlikely to be used in a pure statically > # linked environment. > depends on !BR2_STATIC_LIBS > + depends on !BR2_OPTIMIZE_FAST > select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL > select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL > select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL > @@ -34,3 +35,6 @@ endif > comment "postgresql needs a toolchain w/ dynamic library, wchar" > depends on BR2_USE_MMU > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > + > +comment "postgresql can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in > index ec27d706de..361c40cfa9 100644 > --- a/package/python-psycopg2/Config.in > +++ b/package/python-psycopg2/Config.in > @@ -1,6 +1,7 @@ > config BR2_PACKAGE_PYTHON_PSYCOPG2 > bool "python-psycopg2" > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Psycopg is the most popular PostgreSQL database adapter for > @@ -24,3 +25,6 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 > > comment "python-psycopg2 needs a toolchain w/ wchar" > depends on !BR2_USE_WCHAR > + > +comment "python-psycopg2 can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in > index 601438d2fe..6f2309dffd 100644 > --- a/package/qt5/qt5base/Config.in > +++ b/package/qt5/qt5base/Config.in > @@ -74,6 +74,7 @@ config BR2_PACKAGE_QT5BASE_PSQL > depends on BR2_USE_MMU # postgresql > depends on !BR2_STATIC_LIBS > depends on BR2_USE_WCHAR # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > help > Build PostgreSQL plugin > @@ -83,6 +84,9 @@ comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library" > depends on BR2_USE_MMU > depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR > > +comment "PostgreSQL plugin can't be built with Optimize for fast" > + depends on !BR2_OPTIMIZE_FAST > + > choice > prompt "SQLite 3 support" > default BR2_PACKAGE_QT5BASE_SQLITE_NONE > diff --git a/package/zabbix/Config.in b/package/zabbix/Config.in > index 6f8a952936..0f7a0b0003 100644 > --- a/package/zabbix/Config.in > +++ b/package/zabbix/Config.in > @@ -45,6 +45,7 @@ config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL > bool "postgresql" > depends on BR2_USE_WCHAR # postgresql > depends on !BR2_STATIC_LIBS # postgresql > + depends on !BR2_OPTIMIZE_FAST # postgresql > select BR2_PACKAGE_POSTGRESQL > > endchoice From arnout at mind.be Sat Apr 23 15:10:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:10:30 +0200 Subject: [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS In-Reply-To: <20220419200122.4095481-1-fontaine.fabrice@gmail.com> References: <20220419200122.4095481-1-fontaine.fabrice@gmail.com> Message-ID: On 19/04/2022 22:01, Fabrice Fontaine wrote: > Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in > https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice at gmail.com > > Signed-off-by: Fabrice Fontaine > --- > boot/shim/Config.in | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/boot/shim/Config.in b/boot/shim/Config.in > index b0e549a51b..a762ad9215 100644 > --- a/boot/shim/Config.in > +++ b/boot/shim/Config.in > @@ -1,8 +1,15 @@ > -config BR2_TARGET_SHIM > - bool "shim" > +config BR2_PACKAGE_SHIM_ARCH_SUPPORTS > + bool > # it includes gnu-efi > depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS depends comes after default (as reported by check-package). Applied to master with that fixed, thanks. Regards, Arnout > - depends on !BR2_mips64el > + default y if BR2_aarch64 || BR2_aarch64_be > + default y if BR2_arm || BR2_armeb > + default y if BR2_i386 > + default y if BR2_x86_64 > + > +config BR2_TARGET_SHIM > + bool "shim" > + depends on BR2_PACKAGE_SHIM_ARCH_SUPPORTS > help > Boot loader to chain-load signed boot loaders under Secure > Boot. From arnout at mind.be Sat Apr 23 15:12:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:12:16 +0200 Subject: [Buildroot] [PATCH] package/enchant: bump to version 2.3.3 In-Reply-To: <20220420072530.3422018-1-francois.perrad@gadz.org> References: <20220420072530.3422018-1-francois.perrad@gadz.org> Message-ID: <840c347b-841d-74ef-d4ad-e38b9126bb38@mind.be> On 20/04/2022 09:25, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, as well as your other 5 version bumps, thanks. I also changed the author email on each commit to @gadz.org to match your signoff (I have an apply-hook that checks this). It would be nice if you could configure things so that your mails already have this. Regards, Arnout > --- > package/enchant/enchant.hash | 2 +- > package/enchant/enchant.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/enchant/enchant.hash b/package/enchant/enchant.hash > index 9df5316aa..36ac4e07b 100644 > --- a/package/enchant/enchant.hash > +++ b/package/enchant/enchant.hash > @@ -1,3 +1,3 @@ > # locally computed > -sha256 ce9ba47fd4d34031bd69445598a698a6611602b2b0e91d705e91a6f5099ead6e enchant-2.3.2.tar.gz > +sha256 3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891 enchant-2.3.3.tar.gz > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB > diff --git a/package/enchant/enchant.mk b/package/enchant/enchant.mk > index e00fcb25e..ee6f06195 100644 > --- a/package/enchant/enchant.mk > +++ b/package/enchant/enchant.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -ENCHANT_VERSION = 2.3.2 > +ENCHANT_VERSION = 2.3.3 > ENCHANT_SITE = \ > https://github.com/AbiWord/enchant/releases/download/v$(ENCHANT_VERSION) > ENCHANT_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 23 14:43:37 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:37 +0200 Subject: [Buildroot] [git commit] package/mariadb: fix build with libressl Message-ID: <20220423150245.7C75183FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=174808651947428e68fd5380c8968ce26bb297d5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl: CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: LIBRESSL_RESULT (advanced) LIBRESSL_RESULT__TRYRUN_OUTPUT (advanced) For details see /nvmedata/autobuild/instance-27/output-1/build/mariadb-10.3.34/TryRunResults.cmake Fixes: - http://autobuild.buildroot.org/results/cbdbfcdae4b89ac678e1bf6bcded96872c7223ab Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/mariadb/mariadb.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk index 4eb9c71827..18667e7e70 100644 --- a/package/mariadb/mariadb.mk +++ b/package/mariadb/mariadb.mk @@ -60,6 +60,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 # Explicitly disable dtrace to avoid detection of a host version MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 +ifeq ($(BR2_PACKAGE_LIBRESSL),y) +MARIADB_CONF_OPTS += \ + -DLIBRESSL_RESULT=ON \ + -DLIBRESSL_RESULT__TRYRUN_OUTPUT="LibreSSL $(LIBRESSL_VERSION)" +endif + ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON From arnout at mind.be Sat Apr 23 14:43:34 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:34 +0200 Subject: [Buildroot] [git commit] package/wayland: fix build with gcc 4.8 Message-ID: <20220423150245.738A883FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d0b467436ccbdda862f93a9d0933b0c0dfcf2a2e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc 4.8 raised since bump to version 1.20.0 in commit f94ba5c31cf7f863e6fae996fc042a56e20118f3 and https://gitlab.freedesktop.org/wayland/wayland/-/commit/80164ef3005e8bb5f785082b97a75cab15444f82: ../src/wayland-util.c: In function 'for_each_helper': ../src/wayland-util.c:373:2: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t idx = 0; idx < count; idx++) { ^ ../src/wayland-util.c:373:2: note: use option -std=c99 or -std=gnu99 to compile your code Fixes: - http://autobuild.buildroot.org/results/3040c9a8cf08415a7f4338185f6dc7245c68c64c Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wayland/0001-build-set-c_std-c99.patch | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/package/wayland/0001-build-set-c_std-c99.patch b/package/wayland/0001-build-set-c_std-c99.patch new file mode 100644 index 0000000000..69f728aa11 --- /dev/null +++ b/package/wayland/0001-build-set-c_std-c99.patch @@ -0,0 +1,34 @@ +From 40c275f642e3895aeb748403fcdfd92d7d875d65 Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Mon, 10 Jan 2022 14:54:02 +0100 +Subject: [PATCH] build: set c_std=c99 + +Set explicitly the C standard to use to make sure we don't use +features not available on our target platforms. + +Signed-off-by: Simon Ser + +[Retrieved from: +https://gitlab.freedesktop.org/wayland/wayland/-/commit/40c275f642e3895aeb748403fcdfd92d7d875d65] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index cab267e9..e9691ffe 100644 +--- a/meson.build ++++ b/meson.build +@@ -5,7 +5,8 @@ project( + meson_version: '>= 0.52.1', + default_options: [ + 'warning_level=2', +- 'buildtype=debugoptimized' ++ 'buildtype=debugoptimized', ++ 'c_std=c99', + ] + ) + wayland_version = meson.project_version().split('.') +-- +GitLab + From arnout at mind.be Sat Apr 23 15:01:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:01:43 +0200 Subject: [Buildroot] [git commit] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS Message-ID: <20220423150245.D797483FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fd5842a1dd03642b2ea0844396b2348f7f0f39f3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice at gmail.com Signed-off-by: Fabrice Fontaine [Arnout: reorder options according to check-package] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- boot/shim/Config.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/boot/shim/Config.in b/boot/shim/Config.in index b0e549a51b..c4f1a9f317 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -1,8 +1,15 @@ -config BR2_TARGET_SHIM - bool "shim" +config BR2_PACKAGE_SHIM_ARCH_SUPPORTS + bool + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_arm || BR2_armeb + default y if BR2_i386 + default y if BR2_x86_64 # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS - depends on !BR2_mips64el + +config BR2_TARGET_SHIM + bool "shim" + depends on BR2_PACKAGE_SHIM_ARCH_SUPPORTS help Boot loader to chain-load signed boot loaders under Secure Boot. From arnout at mind.be Sat Apr 23 14:43:43 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:43 +0200 Subject: [Buildroot] [git commit] package/vuejs: bump to version 3.2.33 Message-ID: <20220423150245.8E1A483FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=650c66b1a3c121abf1801b1e450cc4f0c5dfcd51 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Thomas Claveirole Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/vuejs/vuejs.hash | 2 +- package/vuejs/vuejs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vuejs/vuejs.hash b/package/vuejs/vuejs.hash index 9dd0fb548b..c53364e97d 100644 --- a/package/vuejs/vuejs.hash +++ b/package/vuejs/vuejs.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 770ff74851f7454977f084becd76b05b3fad4d52f048df5405d41849c125956c vue-3.2.22.tgz +sha256 042033a2a8e6d45f750924953f03c34058d5afd9cc1571fbaf1827eaf04f6943 vue-3.2.33.tgz sha256 1bb85cc9b13b81ef41c81c51866172fc345e0503c86726a6755b796590b70175 LICENSE diff --git a/package/vuejs/vuejs.mk b/package/vuejs/vuejs.mk index b74002e932..d544124bbc 100644 --- a/package/vuejs/vuejs.mk +++ b/package/vuejs/vuejs.mk @@ -4,7 +4,7 @@ # ################################################################################ -VUEJS_VERSION = 3.2.22 +VUEJS_VERSION = 3.2.33 VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz VUEJS_SITE = https://registry.npmjs.org/vue/- VUEJS_LICENSE = MIT From arnout at mind.be Sat Apr 23 14:43:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:46 +0200 Subject: [Buildroot] [git commit] package/vuejs-router: bump to version 4.0.14 Message-ID: <20220423150245.9644983FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c9954aec7990f01334bf80309fc700ea84b8f103 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Thomas Claveirole Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/vuejs-router/vuejs-router.hash | 2 +- package/vuejs-router/vuejs-router.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vuejs-router/vuejs-router.hash b/package/vuejs-router/vuejs-router.hash index 13ce97d32c..fe270a6062 100644 --- a/package/vuejs-router/vuejs-router.hash +++ b/package/vuejs-router/vuejs-router.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 baf5e9dfb0a1e344f0f460a5cd521e17fd3842386ce36b8e6d53c1053d49cf1e vue-router-4.0.12.tgz +sha256 6adff85db2045a092ba4bf37e95cdc3c661cfe4f3e7f7cbc36082a57c05c6365 vue-router-4.0.14.tgz sha256 9c0015250f592a09d7787efc07152afcf661fff6bda2554359f6d00987828c02 LICENSE diff --git a/package/vuejs-router/vuejs-router.mk b/package/vuejs-router/vuejs-router.mk index 9c7dcc76bf..397a78e1a7 100644 --- a/package/vuejs-router/vuejs-router.mk +++ b/package/vuejs-router/vuejs-router.mk @@ -4,7 +4,7 @@ # ################################################################################ -VUEJS_ROUTER_VERSION = 4.0.12 +VUEJS_ROUTER_VERSION = 4.0.14 VUEJS_ROUTER_SOURCE = vue-router-$(VUEJS_ROUTER_VERSION).tgz VUEJS_ROUTER_SITE = https://registry.npmjs.org/vue-router/- VUEJS_ROUTER_LICENSE = MIT From arnout at mind.be Sat Apr 23 14:43:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:40 +0200 Subject: [Buildroot] [git commit] package/openlayers: bump to version 6.14.1 Message-ID: <20220423150245.84DE183FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7b9b7daf52ad44d334e632b95082d3eed3a5a7fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Thomas Claveirole Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openlayers/openlayers.hash | 2 +- package/openlayers/openlayers.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/openlayers/openlayers.hash b/package/openlayers/openlayers.hash index 2d6c2fb9d3..1c93b9a729 100644 --- a/package/openlayers/openlayers.hash +++ b/package/openlayers/openlayers.hash @@ -1,2 +1,2 @@ # Locally computed: -sha256 aeb8107a23a99d79efb6031c7cf901307b63571c39fd744f771d4a707e06a14f v6.12.0-dist.zip +sha256 8a9fda6e392688c049ebb88fb2c73b5788b4965b625443de4cca7d4688b1fb82 v6.14.1-dist.zip diff --git a/package/openlayers/openlayers.mk b/package/openlayers/openlayers.mk index 7532bb7f68..4626e7545a 100644 --- a/package/openlayers/openlayers.mk +++ b/package/openlayers/openlayers.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENLAYERS_VERSION = 6.12.0 +OPENLAYERS_VERSION = 6.14.1 OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-dist.zip OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION) OPENLAYERS_LICENSE = BSD-2-Clause From arnout at mind.be Sat Apr 23 15:03:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:15 +0200 Subject: [Buildroot] [git commit] package/janet: bump to version 1.21.2 Message-ID: <20220423150245.E720283FF5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fc440e46396bf7942b539a5542a71e5232708379 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/janet/janet.hash | 2 +- package/janet/janet.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/janet/janet.hash b/package/janet/janet.hash index 50e6b1fef0..aff8e95bb5 100644 --- a/package/janet/janet.hash +++ b/package/janet/janet.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 02ff892f4bfc060a8a37f4a5c3e659bf34ba5f1f1c5eb07d60dc2642c5cf0476 janet-1.19.2.tar.gz +sha256 52db8d18f93351256d0731810e8bea95516db8142f51eeb31664f7884bf63088 janet-1.21.2.tar.gz # Locally calculated sha256 e2d2ae8360d95386af751ac7d1a3da36ea8ceb230e5f0eba7eb762547b1c58c9 LICENSE diff --git a/package/janet/janet.mk b/package/janet/janet.mk index 5b6a9a182d..24a0f86032 100644 --- a/package/janet/janet.mk +++ b/package/janet/janet.mk @@ -4,7 +4,7 @@ # ################################################################################ -JANET_VERSION = 1.19.2 +JANET_VERSION = 1.21.2 JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION)) JANET_LICENSE = MIT JANET_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 23 14:43:49 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:49 +0200 Subject: [Buildroot] [git commit] package/trinity: fix musl build Message-ID: <20220423150245.9EBCA83FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8614ffc07993feca1a3094c1488a11913cb4e87 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure on musl: In file included from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/asm/ioctl.h:12, from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/linux/ioctl.h:5, from /nvmedata/autobuild/instance-17/output-1/host/powerpc64-buildroot-linux-musl/sysroot/usr/include/linux/fs.h:14, from ioctls/vfs.c:3: ioctls/vfs.c:109:35: error: 'loff_t' undeclared here (not in a function); did you mean 'off_t'? 109 | { .name = "FIOQSIZE", .request = FIOQSIZE, }, | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/b7f46072751a8d70fa02f1c625c5279f70bec853 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0003-Use-fcntl-h-for-dev_t-mode_t.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch b/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch new file mode 100644 index 0000000000..c4d9811b8a --- /dev/null +++ b/package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch @@ -0,0 +1,46 @@ +From b1a0aef9978d4a41e7e601c277d4fb1b0cfbed89 Mon Sep 17 00:00:00 2001 +From: Dave Jones +Date: Thu, 26 Aug 2021 11:17:34 -0400 +Subject: [PATCH] Use fcntl.h for dev_t & mode_t +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Should fix: + +In file included from /usr/include/bits/statx.h:31, + from /usr/include/sys/stat.h:446, + from include/files.h:3, + from include/shm.h:6, + from syscalls/x86/modify_ldt.c:12: +/usr/include/linux/stat.h:57:2: error: unknown type name ???__s64??? + __s64 tv_sec; + ^~~~~ +/usr/include/linux/stat.h:58:2: error: unknown type name ???__u32??? + __u32 tv_nsec; + ^~~~~ +/usr/include/linux/stat.h:59:2: error: unknown type name ???__s32??? + __s32 __reserved; + ^~~~~ +/usr/include/linux/stat.h:101:2: error: unknown type name ???__u32??? + __u32 stx_mask; /* What results were written [uncond] */ + +[Retrieved from: +https://github.com/kernelslacker/trinity/commit/b1a0aef9978d4a41e7e601c277d4fb1b0cfbed89] +Signed-off-by: Fabrice Fontaine +--- + include/files.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/files.h b/include/files.h +index 2a8e0e2d..ba3cc98f 100644 +--- a/include/files.h ++++ b/include/files.h +@@ -1,6 +1,6 @@ + #pragma once + +-#include ++#include + #include "fd.h" + + unsigned long get_o_flags(void); From arnout at mind.be Sat Apr 23 15:00:14 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:00:14 +0200 Subject: [Buildroot] [git commit] packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements Message-ID: <20220423150245.BE47B83FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2097e1ba3904be8f7cd388fe1d16a099da83ef99 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: CMake Error at /home/buildroot/autobuild/run/instance-2/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/libwebsockets/libwebsockets-config.cmake:35 (include): include could not find load file: LwsCheckRequirements Call Stack (most recent call first): CMakeLists.txt:54 (find_package) Signed-off-by: Bartosz Bilas Signed-off-by: Bartosz Bilas Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ake-remove-duplicate-LwsCheckRequirements.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch new file mode 100644 index 0000000000..fc76a2b610 --- /dev/null +++ b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch @@ -0,0 +1,26 @@ +From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001 +From: Andy Green +Date: Mon, 7 Feb 2022 14:48:55 +0000 +Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements + +Signed-off-by: Andy Green +Signed-off-by: Bartosz Bilas +Signed-off-by: Bartosz Bilas +--- + cmake/libwebsockets-config.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in +index 6247b2cb..8ba97e6f 100644 +--- a/cmake/libwebsockets-config.cmake.in ++++ b/cmake/libwebsockets-config.cmake.in +@@ -32,6 +32,5 @@ endforeach() + + include(CheckIncludeFile) + include(CheckCSourceCompiles) +-include(LwsCheckRequirements) + set(requirements 1) + +-- +2.35.3 + From arnout at mind.be Sat Apr 23 14:43:55 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:55 +0200 Subject: [Buildroot] [git commit] package/expat: drop host-pkgconf dependency Message-ID: <20220423150245.AE71583FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5bc935665bc08d4e144f6aea0786df5aaade248a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop host-pkgconf dependency which has been wrongly added by commit 732d94d25fd10fff65a378b03c3fca9bde403e95. Indeed, expat doesn't use pkgconf to retrieve dependencies Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/expat/expat.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/expat/expat.mk b/package/expat/expat.mk index 92a3bfda8e..a42c77e0fb 100644 --- a/package/expat/expat.mk +++ b/package/expat/expat.mk @@ -8,8 +8,6 @@ EXPAT_VERSION = 2.4.7 EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION) EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz EXPAT_INSTALL_STAGING = YES -EXPAT_DEPENDENCIES = host-pkgconf -HOST_EXPAT_DEPENDENCIES = host-pkgconf EXPAT_LICENSE = MIT EXPAT_LICENSE_FILES = COPYING EXPAT_CPE_ID_VENDOR = libexpat_project From arnout at mind.be Sat Apr 23 15:03:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:32 +0200 Subject: [Buildroot] [git commit] package/pango: bump to version 1.50.7 Message-ID: <20220423150246.0C39283FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c5fa4ae0d6c8dd24268ca2ad6f3a45feedeab6a4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master remove merged patch Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-utils-viewer-cairo-c-fix-empty-body.patch | 40 ---------------------- package/pango/pango.hash | 4 +-- package/pango/pango.mk | 2 +- 3 files changed, 3 insertions(+), 43 deletions(-) diff --git a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch deleted file mode 100644 index 4b7b5f9b19..0000000000 --- a/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 29 Mar 2022 21:39:03 +0000 -Subject: [PATCH] utils/viewer-cairo.c: fix empty-body - -Fix the following build failure raised -since version 1.50.5 and -https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: - -../utils/viewer-cairo.c: In function 'cairo_vector_view_create': -../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] - ; - ^ - -Fixes: - - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] ---- - utils/viewer-cairo.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c -index ca98c1cd..f15b3fb9 100644 ---- a/utils/viewer-cairo.c -+++ b/utils/viewer-cairo.c -@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) - return NULL; - - if (0) -- ; -+ {} - #ifdef CAIRO_HAS_SVG_SURFACE - else if (0 == g_ascii_strcasecmp (extension, "svg")) - constructor = cairo_svg_surface_create; --- -GitLab - diff --git a/package/pango/pango.hash b/package/pango/pango.hash index fecf368535..7864df7a21 100644 --- a/package/pango/pango.hash +++ b/package/pango/pango.hash @@ -1,5 +1,5 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.6.sha256sum -sha256 a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a pango-1.50.6.tar.xz +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.7.sha256sum +sha256 0477f369a3d4c695df7299a6989dc004756a7f4de27eecac405c6790b7e3ad33 pango-1.50.7.tar.xz # Locally computed sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/package/pango/pango.mk b/package/pango/pango.mk index c264e76741..c1c7ceeed6 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -5,7 +5,7 @@ ################################################################################ PANGO_VERSION_MAJOR = 1.50 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).6 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).7 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 23 15:02:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:02:47 +0200 Subject: [Buildroot] [git commit] package/enchant: bump to version 2.3.3 Message-ID: <20220423150245.DFA4383FE2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2a9e9146447df86bf1fffe6352bdc9dc5e056c5f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/enchant/enchant.hash | 2 +- package/enchant/enchant.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/enchant/enchant.hash b/package/enchant/enchant.hash index 9df5316aac..36ac4e07bd 100644 --- a/package/enchant/enchant.hash +++ b/package/enchant/enchant.hash @@ -1,3 +1,3 @@ # locally computed -sha256 ce9ba47fd4d34031bd69445598a698a6611602b2b0e91d705e91a6f5099ead6e enchant-2.3.2.tar.gz +sha256 3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891 enchant-2.3.3.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/enchant/enchant.mk b/package/enchant/enchant.mk index e00fcb25e1..ee6f061956 100644 --- a/package/enchant/enchant.mk +++ b/package/enchant/enchant.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENCHANT_VERSION = 2.3.2 +ENCHANT_VERSION = 2.3.3 ENCHANT_SITE = \ https://github.com/AbiWord/enchant/releases/download/v$(ENCHANT_VERSION) ENCHANT_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 23 14:43:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:43:52 +0200 Subject: [Buildroot] [git commit] package/expat: disable examples, tests and xmlwf Message-ID: <20220423150245.A6C8783FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dac5873314581786630466741074c1e3af61b2b4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable examples and tests (enabled by default) through --without-{examples,tests} which are available since version 2.2.7 and https://github.com/libexpat/libexpat/commit/1fdfd8a1b490f8ac9e7e11896298e41cc210d87d Also disable xmlwf (a binary that determines if an XML document is well-formed) through --without-xmlwf which is available since version 2.2.4 and https://github.com/libexpat/libexpat/commit/9d950527a07783c104aada685384edf3f8f23f8a This will fix the following build failure on riscv64: ERROR: reloc type R_RISCV_SET6 unsupported in this context Fixes: - http://autobuild.buildroot.org/results/99890c9c7ebe3266dd533c81352a3cbcf4d3d738 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/expat/expat.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/expat/expat.mk b/package/expat/expat.mk index b29b0e1d26..92a3bfda8e 100644 --- a/package/expat/expat.mk +++ b/package/expat/expat.mk @@ -15,8 +15,9 @@ EXPAT_LICENSE_FILES = COPYING EXPAT_CPE_ID_VENDOR = libexpat_project EXPAT_CPE_ID_PRODUCT = libexpat -EXPAT_CONF_OPTS = --without-docbook -HOST_EXPAT_CONF_OPTS = --without-docbook +EXPAT_CONF_OPTS = \ + --without-docbook --without-examples --without-tests --without-xmlwf +HOST_EXPAT_CONF_OPTS = --without-docbook --without-examples --without-tests $(eval $(autotools-package)) $(eval $(host-autotools-package)) From arnout at mind.be Sat Apr 23 14:59:31 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 16:59:31 +0200 Subject: [Buildroot] [git commit] package/multipath-tools: bump to version 0.8.9 Message-ID: <20220423150245.B689583FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b790ff27d5461df4de22732611a1eb4beee68f91 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Text has been added to README.md, but the section about licenses hasn't been modified. Unfortunately there are still many files without license info, so the small piece of text in README.md that says files with no license info are LGPL-2.0 is still relevant. Signed-off-by: Alexander Egorenkov [Arnout: update README.md hash] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ultipath-use-pkg-config-to-get-path-to-he.patch | 69 ---------------------- package/multipath-tools/multipath-tools.hash | 4 +- package/multipath-tools/multipath-tools.mk | 2 +- 3 files changed, 3 insertions(+), 72 deletions(-) diff --git a/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch b/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch deleted file mode 100644 index 0d46f12a69..0000000000 --- a/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 922855e245c8bdadc0d24b5b706549b18fb5f079 Mon Sep 17 00:00:00 2001 -From: Alexander Egorenkov -Date: Sat, 21 Nov 2020 11:08:56 +0100 -Subject: [PATCH] kpartx, libmultipath: use pkg-config to get path to - headers - -Use pkg-config in Makefile to find path to devmapper and udev headers -to enable cross-compilation. - -Signed-off-by: Alexander Egorenkov ---- - kpartx/Makefile | 2 +- - libmultipath/Makefile | 12 ++++++------ - 2 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/kpartx/Makefile b/kpartx/Makefile -index 2906a984..29573890 100644 ---- a/kpartx/Makefile -+++ b/kpartx/Makefile -@@ -8,7 +8,7 @@ LDFLAGS += $(BIN_LDFLAGS) - - LIBDEPS += -ldevmapper - --ifneq ($(call check_func,dm_task_set_cookie,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_set_cookie,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_COOKIE - endif - -diff --git a/libmultipath/Makefile b/libmultipath/Makefile -index 62ba16e8..3ad9130c 100644 ---- a/libmultipath/Makefile -+++ b/libmultipath/Makefile -@@ -20,27 +20,27 @@ ifdef SYSTEMD - endif - endif - --ifneq ($(call check_func,dm_task_no_flush,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_no_flush,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_FLUSH -D_GNU_SOURCE - endif - --ifneq ($(call check_func,dm_task_get_errno,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_get_errno,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_GET_ERRNO - endif - --ifneq ($(call check_func,dm_task_set_cookie,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_set_cookie,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_COOKIE - endif - --ifneq ($(call check_func,udev_monitor_set_receive_buffer_size,/usr/include/libudev.h),0) -+ifneq ($(call check_func,udev_monitor_set_receive_buffer_size,$(shell $(PKG_CONFIG) --variable=includedir libudev)/libudev.h),0) - CFLAGS += -DLIBUDEV_API_RECVBUF - endif - --ifneq ($(call check_func,dm_task_deferred_remove,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_task_deferred_remove,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_DEFERRED - endif - --ifneq ($(call check_func,dm_hold_control_dev,/usr/include/libdevmapper.h),0) -+ifneq ($(call check_func,dm_hold_control_dev,$(shell $(PKG_CONFIG) --variable=includedir devmapper)/libdevmapper.h),0) - CFLAGS += -DLIBDM_API_HOLD_CONTROL - endif - --- -2.29.2 - diff --git a/package/multipath-tools/multipath-tools.hash b/package/multipath-tools/multipath-tools.hash index f063848681..58d8de369c 100644 --- a/package/multipath-tools/multipath-tools.hash +++ b/package/multipath-tools/multipath-tools.hash @@ -1,7 +1,7 @@ # Locally computed: -sha256 ff45ddb18a1effbfbe5712f513dd3b7146c68141091fc1c2489af8d6197026ef multipath-tools-0.8.8.tar.gz +sha256 27a426facea0474e6dc48e026a94f7c86890d3f27b439b07ec26b0b9887b0cc4 multipath-tools-0.8.9.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0 sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSES/GPL-3.0 sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c LICENSES/LGPL-2.0 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1 -sha256 b1bd70cc61ab014cc2e744af6b117db481ef4fa5d59cb3a21d86059935c666df README.md +sha256 a3777a6b4433a23246eed8a88ca8466e3d21a2f758c03d060201fe2c44ff5484 README.md diff --git a/package/multipath-tools/multipath-tools.mk b/package/multipath-tools/multipath-tools.mk index eecfe39002..c0b7c5721e 100644 --- a/package/multipath-tools/multipath-tools.mk +++ b/package/multipath-tools/multipath-tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -MULTIPATH_TOOLS_VERSION = 0.8.8 +MULTIPATH_TOOLS_VERSION = 0.8.9 MULTIPATH_TOOLS_SITE = $(call github,opensvc,multipath-tools,$(MULTIPATH_TOOLS_VERSION)) MULTIPATH_TOOLS_LICENSE = \ From arnout at mind.be Sat Apr 23 15:00:14 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:00:14 +0200 Subject: [Buildroot] [git commit] package/batman-adv: needs CONFIG_CRC16 Message-ID: <20220423150245.C666683FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5c7f712c4814c0aacbd11bf71e2f81a3b33365bb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master CONFIG_CRC16 is needed to avoid the following build failure: ERROR: modpost: "crc16" [/nvmedata/autobuild/instance-6/output-1/build/batman-adv-2021.4/net/batman-adv/batman-adv.ko] undefined! Fixes: - http://autobuild.buildroot.org/results/64bf0f89ef444dda4d1277c0e46d189ad2515713 Signed-off-by: Fabrice Fontaine Reviewed-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/batman-adv/batman-adv.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk index 838f9b1851..6a1aaa699c 100644 --- a/package/batman-adv/batman-adv.mk +++ b/package/batman-adv/batman-adv.mk @@ -35,6 +35,7 @@ define BATMAN_ADV_CONFIGURE_CMDS endef define BATMAN_ADV_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC16) $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) endef From arnout at mind.be Sat Apr 23 15:03:30 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:30 +0200 Subject: [Buildroot] [git commit] package/luajit: bump to version f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 Message-ID: <20220423150246.0372783FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bf781cbb639a527525607036a81cbf913be2edb7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master diff COPYRIGHT: -Copyright (C) 2005-2021 Mike Pall. All rights reserved. +Copyright (C) 2005-2022 Mike Pall. All rights reserved. Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/luajit/luajit.hash | 4 ++-- package/luajit/luajit.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/luajit/luajit.hash b/package/luajit/luajit.hash index d92eefb39a..cfc00e852a 100644 --- a/package/luajit/luajit.hash +++ b/package/luajit/luajit.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 7ea92e2414b6405c7fb3974ab092707c400a5496e8d4936174b5bd3aa6e94477 luajit-a91d0d9d3bba1a936669cfac3244509a0f2ac0e3.tar.gz +sha256 e3f9c04e82d5c776335dfb4e53ec1532914ab010b60bffbb0176a8390f100666 luajit-f2b37f51f69ba7e9f8defd05e5aca648121f0fe6.tar.gz # Locally calculated -sha256 43fc251179d900f9948e51dd3cc93733d1219f2db060faaa0c8100ad054f54d8 COPYRIGHT +sha256 52fc5b15ac968ed81aabb4c1e23ab3bce50f57a5764e9cdca86b463a11072921 COPYRIGHT diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index cca806309d..6155cbba87 100644 --- a/package/luajit/luajit.mk +++ b/package/luajit/luajit.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUAJIT_VERSION = a91d0d9d3bba1a936669cfac3244509a0f2ac0e3 +LUAJIT_VERSION = f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 LUAJIT_SITE = $(call github,LuaJIT,LuaJIT,$(LUAJIT_VERSION)) LUAJIT_LICENSE = MIT LUAJIT_LICENSE_FILES = COPYRIGHT From arnout at mind.be Sat Apr 23 15:00:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:00:15 +0200 Subject: [Buildroot] [git commit] package/postgresql: can't be built with BR2_OPTIMIZE_FAST Message-ID: <20220423150245.D02AF83FD4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e702a05d8998a1f2416225eb62b43b6585738fe9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master postgresql can't be built with BR2_OPTIMIZE_FAST: configure: error: do not put -ffast-math in CFLAGS Fixes: - http://autobuild.buildroot.org/results/106bb61bcff5d03e44d3e2e9149c76e6705606a5 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/bandwidthd/Config.in | 4 ++++ package/collectd/Config.in | 4 ++++ package/lighttpd/Config.in | 4 ++++ package/php/Config.ext | 8 ++++++++ package/poco/Config.in | 4 ++++ package/postgresql/Config.in | 4 ++++ package/python-psycopg2/Config.in | 4 ++++ package/qt5/qt5base/Config.in | 4 ++++ package/zabbix/Config.in | 1 + 9 files changed, 37 insertions(+) diff --git a/package/bandwidthd/Config.in b/package/bandwidthd/Config.in index 5a3529e0c4..7537552390 100644 --- a/package/bandwidthd/Config.in +++ b/package/bandwidthd/Config.in @@ -36,6 +36,7 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL bool "enable postgresql log target support" depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Enable support for logging the bandwidthd data to a remote @@ -46,6 +47,9 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL comment "postgresql support needs a toolchain w/ dynamic library, wchar" depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "postgresql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_BANDWIDTHD_SQLITE3 bool "enable sqlite3 log storage" select BR2_PACKAGE_SQLITE diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 43eef3bf66..da8465beee 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -475,6 +475,7 @@ config BR2_PACKAGE_COLLECTD_PING config BR2_PACKAGE_COLLECTD_POSTGRESQL bool "postgresql" depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Connects to and executes SQL statements on a PostgreSQL @@ -485,6 +486,9 @@ config BR2_PACKAGE_COLLECTD_POSTGRESQL comment "postgresql support needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR +comment "postgresql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_COLLECTD_PROCESSES bool "processes" help diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in index 6f0c927319..9522b80426 100644 --- a/package/lighttpd/Config.in +++ b/package/lighttpd/Config.in @@ -93,6 +93,7 @@ config BR2_PACKAGE_LIGHTTPD_PGSQL bool "pgsql support" depends on BR2_USE_MMU # postgresql depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Enable postgres support for lighttpd mod_vhostdb_pgsql. @@ -101,6 +102,9 @@ comment "pgsql support needs a toolchain w/ wchar" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR +comment "pgsql support can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_LIGHTTPD_WEBDAV bool "webdav support" select BR2_PACKAGE_LIBXML2 diff --git a/package/php/Config.ext b/package/php/Config.ext index 5da5d8bed9..e4aced66df 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -141,6 +141,7 @@ config BR2_PACKAGE_PHP_EXT_PGSQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help PostgreSQL support @@ -149,6 +150,9 @@ comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL extension can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_PHP_EXT_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE @@ -172,6 +176,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help PDO driver for PostgreSQL @@ -180,6 +185,9 @@ comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL drivers can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_PHP_EXT_PDO_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE diff --git a/package/poco/Config.in b/package/poco/Config.in index 699495a241..d2852ba03e 100644 --- a/package/poco/Config.in +++ b/package/poco/Config.in @@ -52,9 +52,13 @@ config BR2_PACKAGE_POCO_DATA_MYSQL config BR2_PACKAGE_POCO_DATA_PGSQL bool "Data/PostgreSQL" depends on BR2_USE_MMU # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POCO_DATA select BR2_PACKAGE_POSTGRESQL +comment "Data/PostgreSQL can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + config BR2_PACKAGE_POCO_DATA_SQLITE bool "Data/SQLite" select BR2_PACKAGE_POCO_DATA diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in index b42b219558..476427d534 100644 --- a/package/postgresql/Config.in +++ b/package/postgresql/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_POSTGRESQL # postgresql is unlikely to be used in a pure statically # linked environment. depends on !BR2_STATIC_LIBS + depends on !BR2_OPTIMIZE_FAST select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL @@ -34,3 +35,6 @@ endif comment "postgresql needs a toolchain w/ dynamic library, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR + +comment "postgresql can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in index ec27d706de..361c40cfa9 100644 --- a/package/python-psycopg2/Config.in +++ b/package/python-psycopg2/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 bool "python-psycopg2" depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Psycopg is the most popular PostgreSQL database adapter for @@ -24,3 +25,6 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2 comment "python-psycopg2 needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR + +comment "python-psycopg2 can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in index 601438d2fe..6f2309dffd 100644 --- a/package/qt5/qt5base/Config.in +++ b/package/qt5/qt5base/Config.in @@ -74,6 +74,7 @@ config BR2_PACKAGE_QT5BASE_PSQL depends on BR2_USE_MMU # postgresql depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL help Build PostgreSQL plugin @@ -83,6 +84,9 @@ comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR +comment "PostgreSQL plugin can't be built with Optimize for fast" + depends on !BR2_OPTIMIZE_FAST + choice prompt "SQLite 3 support" default BR2_PACKAGE_QT5BASE_SQLITE_NONE diff --git a/package/zabbix/Config.in b/package/zabbix/Config.in index 6f8a952936..0f7a0b0003 100644 --- a/package/zabbix/Config.in +++ b/package/zabbix/Config.in @@ -45,6 +45,7 @@ config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL bool "postgresql" depends on BR2_USE_WCHAR # postgresql depends on !BR2_STATIC_LIBS # postgresql + depends on !BR2_OPTIMIZE_FAST # postgresql select BR2_PACKAGE_POSTGRESQL endchoice From arnout at mind.be Sat Apr 23 15:03:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:38 +0200 Subject: [Buildroot] [git commit] package/pcre2: bump to version 10.40 Message-ID: <20220423150246.1451E83FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=10648db92bc5c4bfd49b58ce4f1c213defdfc7de branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pcre2/pcre2.hash | 4 ++-- package/pcre2/pcre2.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash index 3e6299f80b..e4f7980749 100644 --- a/package/pcre2/pcre2.hash +++ b/package/pcre2/pcre2.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature: -# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.bz2.sig -sha256 0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440 pcre2-10.39.tar.bz2 +# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2.sig +sha256 14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 pcre2-10.40.tar.bz2 # Locally computed sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE diff --git a/package/pcre2/pcre2.mk b/package/pcre2/pcre2.mk index adcfaf1cae..043f6d866f 100644 --- a/package/pcre2/pcre2.mk +++ b/package/pcre2/pcre2.mk @@ -4,7 +4,7 @@ # ################################################################################ -PCRE2_VERSION = 10.39 +PCRE2_VERSION = 10.40 PCRE2_SITE = https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$(PCRE2_VERSION) PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2 PCRE2_LICENSE = BSD-3-Clause From arnout at mind.be Sat Apr 23 15:03:28 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:03:28 +0200 Subject: [Buildroot] [git commit] package/libarchive: bump to version 3.6.1 Message-ID: <20220423150245.EF2D783FDF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a33130d964af5ca07315f118dca7964c38b13f4d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libarchive/libarchive.hash | 2 +- package/libarchive/libarchive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libarchive/libarchive.hash b/package/libarchive/libarchive.hash index 5dd8e5c167..ca580b4977 100644 --- a/package/libarchive/libarchive.hash +++ b/package/libarchive/libarchive.hash @@ -1,4 +1,4 @@ # From https://www.libarchive.de/downloads/sha256sums -sha256 5cac725dd4be31c4a10b65d30f29dc957ea29ef3d758df6e46e8ae90a996a19a libarchive-3.5.3.tar.xz +sha256 5a411aceb978f43e626f0c2d1812ddd8807b645ed892453acabd532376c148e6 libarchive-3.6.1.tar.xz # Locally computed: sha256 b2cdf763345de2de34cebf54394df3c61a105c3b71288603c251f2fa638200ba COPYING diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index cf16c27e67..865f605e2f 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBARCHIVE_VERSION = 3.5.3 +LIBARCHIVE_VERSION = 3.6.1 LIBARCHIVE_SOURCE = libarchive-$(LIBARCHIVE_VERSION).tar.xz LIBARCHIVE_SITE = https://www.libarchive.de/downloads LIBARCHIVE_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 23 15:24:47 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:24:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/wolfssl: all features needs dynamic library In-Reply-To: <20220420081939.295448-1-fontaine.fabrice@gmail.com> References: <20220420081939.295448-1-fontaine.fabrice@gmail.com> Message-ID: On 20/04/2022 10:19, Fabrice Fontaine wrote: > Add dynamic library dependency to BR2_PACKAGE_WOLFSSL_ALL to fix the > following static build failure with ibrdtnd, a "wolfssl all"-enabled > libcurl and openssl: > > /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/opt/ext-toolchain/bin/../lib/gcc/sh4aeb-buildroot-linux-musl/11.2.0/../../../../sh4aeb-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/bin/../sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libssl.a(ssl_ciph.o): in function `SSL_COMP_get_compression_methods': > ssl_ciph.c:(.text+0x25ac): multiple definition of `SSL_COMP_get_compression_methods'; /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libwolfssl.a(libwolfssl_la-ssl.o):ssl.c:(.text+0x1ca60): first defined here > > Fixes: > - http://autobuild.buildroot.org/results/be1d327ed4c91a6280a88906a399dfe146f0b64e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libcurl/Config.in | 5 +++++ > package/libuhttpd/Config.in | 3 ++- > package/libuhttpd/libuhttpd.mk | 2 +- > package/wolfssl/Config.in | 4 ++++ > 4 files changed, 12 insertions(+), 2 deletions(-) > > diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in > index f2ddce6e81..84ad18211a 100644 > --- a/package/libcurl/Config.in > +++ b/package/libcurl/Config.in > @@ -78,8 +78,13 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS > config BR2_PACKAGE_LIBCURL_WOLFSSL > bool "WolfSSL" > depends on BR2_PACKAGE_WOLFSSL > + depends on !BR2_STATIC_LIBS # wolfssl-all > select BR2_PACKAGE_WOLFSSL_ALL > > +comment "WolfSSL needs a toolchain w/ dynamic library" > + depends on BR2_PACKAGE_WOLFSSL > + depends on BR2_STATIC_LIBS > + > endchoice > > comment "A TLS library is needed for SSL/TLS support" > diff --git a/package/libuhttpd/Config.in b/package/libuhttpd/Config.in > index 97fc984ea0..a552a88f0c 100644 > --- a/package/libuhttpd/Config.in > +++ b/package/libuhttpd/Config.in > @@ -3,7 +3,8 @@ config BR2_PACKAGE_LIBUHTTPD > depends on BR2_USE_MMU # fork() > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 > select BR2_PACKAGE_LIBEV > - select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL > + select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL && \ > + !BR2_STATIC_LIBS > help > A lightweight and fully asynchronous HTTP server > library based on libev > diff --git a/package/libuhttpd/libuhttpd.mk b/package/libuhttpd/libuhttpd.mk > index b8cf935d01..0d5306c6dd 100644 > --- a/package/libuhttpd/libuhttpd.mk > +++ b/package/libuhttpd/libuhttpd.mk > @@ -18,7 +18,7 @@ LIBUHTTPD_CONF_OPTS += \ > -DUSE_MBEDTLS=OFF \ > -DUSE_OPENSSL=ON \ > -DUSE_WOLFSSL=OFF > -else ifeq ($(BR2_PACKAGE_WOLFSSL),y) > +else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y) > LIBUHTTPD_DEPENDENCIES += wolfssl > LIBUHTTPD_CONF_OPTS += \ > -DSSL_SUPPORT=ON \ > diff --git a/package/wolfssl/Config.in b/package/wolfssl/Config.in > index 3c6d68f592..3a97125e8d 100644 > --- a/package/wolfssl/Config.in > +++ b/package/wolfssl/Config.in > @@ -13,9 +13,13 @@ if BR2_PACKAGE_WOLFSSL > > config BR2_PACKAGE_WOLFSSL_ALL > bool "enable all features, except SSLv3" > + depends on !BR2_STATIC_LIBS > help > Enable all wolfSSL features, except SSL version 3.0 support. > > +comment "all features, except SSLv3 needs a toolchain w/ dynamic library" > + depends on BR2_STATIC_LIBS > + > config BR2_PACKAGE_WOLFSSL_SSLV3 > bool "enable SSLv3" > help From arnout at mind.be Sat Apr 23 15:23:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:23:04 +0200 Subject: [Buildroot] [git commit] package/wolfssl: all features needs dynamic library Message-ID: <20220423151445.E10C6840FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7d211f67016446b9e843259b1195be04691fecec branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add dynamic library dependency to BR2_PACKAGE_WOLFSSL_ALL to fix the following static build failure with ibrdtnd, a "wolfssl all"-enabled libcurl and openssl: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/opt/ext-toolchain/bin/../lib/gcc/sh4aeb-buildroot-linux-musl/11.2.0/../../../../sh4aeb-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/bin/../sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libssl.a(ssl_ciph.o): in function `SSL_COMP_get_compression_methods': ssl_ciph.c:(.text+0x25ac): multiple definition of `SSL_COMP_get_compression_methods'; /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libwolfssl.a(libwolfssl_la-ssl.o):ssl.c:(.text+0x1ca60): first defined here Fixes: - http://autobuild.buildroot.org/results/be1d327ed4c91a6280a88906a399dfe146f0b64e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcurl/Config.in | 5 +++++ package/libuhttpd/Config.in | 3 ++- package/libuhttpd/libuhttpd.mk | 2 +- package/wolfssl/Config.in | 4 ++++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index 8c601c3a70..3381decca8 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -68,8 +68,13 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS config BR2_PACKAGE_LIBCURL_WOLFSSL bool "WolfSSL" depends on BR2_PACKAGE_WOLFSSL + depends on !BR2_STATIC_LIBS # wolfssl-all select BR2_PACKAGE_WOLFSSL_ALL +comment "WolfSSL needs a toolchain w/ dynamic library" + depends on BR2_PACKAGE_WOLFSSL + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_LIBCURL_TLS_NONE bool "None" diff --git a/package/libuhttpd/Config.in b/package/libuhttpd/Config.in index 97fc984ea0..a552a88f0c 100644 --- a/package/libuhttpd/Config.in +++ b/package/libuhttpd/Config.in @@ -3,7 +3,8 @@ config BR2_PACKAGE_LIBUHTTPD depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 select BR2_PACKAGE_LIBEV - select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL + select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL && \ + !BR2_STATIC_LIBS help A lightweight and fully asynchronous HTTP server library based on libev diff --git a/package/libuhttpd/libuhttpd.mk b/package/libuhttpd/libuhttpd.mk index b8cf935d01..0d5306c6dd 100644 --- a/package/libuhttpd/libuhttpd.mk +++ b/package/libuhttpd/libuhttpd.mk @@ -18,7 +18,7 @@ LIBUHTTPD_CONF_OPTS += \ -DUSE_MBEDTLS=OFF \ -DUSE_OPENSSL=ON \ -DUSE_WOLFSSL=OFF -else ifeq ($(BR2_PACKAGE_WOLFSSL),y) +else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y) LIBUHTTPD_DEPENDENCIES += wolfssl LIBUHTTPD_CONF_OPTS += \ -DSSL_SUPPORT=ON \ diff --git a/package/wolfssl/Config.in b/package/wolfssl/Config.in index 3c6d68f592..3a97125e8d 100644 --- a/package/wolfssl/Config.in +++ b/package/wolfssl/Config.in @@ -13,9 +13,13 @@ if BR2_PACKAGE_WOLFSSL config BR2_PACKAGE_WOLFSSL_ALL bool "enable all features, except SSLv3" + depends on !BR2_STATIC_LIBS help Enable all wolfSSL features, except SSL version 3.0 support. +comment "all features, except SSLv3 needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_WOLFSSL_SSLV3 bool "enable SSLv3" help From arnout at mind.be Sat Apr 23 15:27:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:27:14 +0200 Subject: [Buildroot] [PATCH] configs/kontron_bl_imx8mm_defconfig: Bump U-Boot In-Reply-To: References: <20220421215611.1362150-1-festevam@gmail.com> Message-ID: <8e04a9c8-5a88-1ebd-4d24-579afb07fbcf@mind.be> Hi Heiko, On 22/04/2022 08:02, Heiko Thiery wrote: > Hi Fabio, > > Am Do., 21. Apr. 2022 um 23:56 Uhr schrieb Fabio Estevam : >> >> Bump U-Boot to version 2022.04 and remove the two patches >> that have already been upstreamed. >> >> Signed-off-by: Fabio Estevam > > Thanks for doing this. > > Acked-By: Heiko Thiery Did you also test it? We don't really want to change board configs in non-trivial ways without testing that they still boot. Regards, Arnout > >> --- >> Hi Heiko, >> >> This is not tested. >> >> Did it by inspection. >> >> ...m-kontron-n801x-s-convert-options-to.patch | 31 -- >> ...m-kontron-n801x-s-add-common-board-u.patch | 305 ------------------ >> configs/kontron_bl_imx8mm_defconfig | 4 +- >> 3 files changed, 1 insertion(+), 339 deletions(-) >> delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch >> delete mode 100644 board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch >> >> diff --git a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch b/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch >> deleted file mode 100644 >> index 6d76282defb2..000000000000 >> --- a/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch >> +++ /dev/null >> @@ -1,31 +0,0 @@ >> -From 95a311af81cd47c44d3d6e3f717f06a06d8f3dfd Mon Sep 17 00:00:00 2001 >> -From: Heiko Thiery >> -Date: Mon, 10 Jan 2022 14:13:02 +0100 >> -Subject: [PATCH 1/2] imx: imx8mm: imx8mm-kontron-n801x-s: convert options to Kconfig >> - >> -CONFIG_SPL_MMC and CONFIG_SPL_SERIAL >> - >> -Patch submitted upstream: >> -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-1-heiko.thiery at gmail.com/ >> - >> -Signed-off-by: Heiko Thiery >> ---- >> - configs/kontron-sl-mx8mm_defconfig | 2 ++ >> - 1 file changed, 2 insertions(+) >> - >> -diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig >> -index 35d12fca32..940bf07a92 100644 >> ---- a/configs/kontron-sl-mx8mm_defconfig >> -+++ b/configs/kontron-sl-mx8mm_defconfig >> -@@ -15,6 +15,8 @@ CONFIG_SPL_DM_SPI=y >> - CONFIG_DEFAULT_DEVICE_TREE="imx8mm-kontron-n801x-s" >> - CONFIG_SPL_TEXT_BASE=0x7E1000 >> - CONFIG_TARGET_KONTRON_MX8MM=y >> -+CONFIG_SPL_MMC=y >> -+CONFIG_SPL_SERIAL=y >> - CONFIG_BOOTCOUNT_BOOTLIMIT=3 >> - CONFIG_SPL=y >> - CONFIG_DISTRO_DEFAULTS=y >> --- >> -2.30.2 >> - >> diff --git a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch b/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch >> deleted file mode 100644 >> index a88d7aba870b..000000000000 >> --- a/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch >> +++ /dev/null >> @@ -1,305 +0,0 @@ >> -From ef694c19c074333fd16589ec6ffef3e7ca895186 Mon Sep 17 00:00:00 2001 >> -From: Heiko Thiery >> -Date: Wed, 12 Jan 2022 08:44:36 +0100 >> -Subject: [PATCH 2/2] imx: imx8mm: imx8mm-kontron-n801x-s: add common board >> - u-boot.dtsi >> - >> -When using a board variant that selects the lvds specific dtb the >> -*.u-boot.dtsi file will not be included. To have a lvds dtb specific >> -u-boot.dtsi file move this part to a common board u-boot.dtsi file and >> -include this in the board base u-boot.dtsi and create an additional one >> -for the lvds variant. >> - >> -Patch submitted upstream: >> -https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-2-heiko.thiery at gmail.com/ >> - >> -Signed-off-by: Heiko Thiery >> ---- >> - .../imx8mm-kontron-n801x-s-lvds-u-boot.dtsi | 6 + >> - .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 124 +---------------- >> - arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi | 128 ++++++++++++++++++ >> - 3 files changed, 135 insertions(+), 123 deletions(-) >> - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi >> - create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi >> - >> -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi >> -new file mode 100644 >> -index 0000000000..4bf75722bf >> ---- /dev/null >> -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi >> -@@ -0,0 +1,6 @@ >> -+// SPDX-License-Identifier: GPL-2.0+ >> -+/* >> -+ * Copyright (C) 2019 Kontron Electronics GmbH >> -+ */ >> -+ >> -+#include "imx8mm-kontron-n801x-u-boot.dtsi" >> -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi >> -index 22d18e6f1c..4bf75722bf 100644 >> ---- a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi >> -+++ b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi >> -@@ -3,126 +3,4 @@ >> - * Copyright (C) 2019 Kontron Electronics GmbH >> - */ >> - >> --#include "imx8mm-u-boot.dtsi" >> -- >> --/ { >> -- aliases { >> -- usb0 = &usbotg1; >> -- usb1 = &usbotg2; >> -- }; >> -- >> -- wdt-reboot { >> -- compatible = "wdt-reboot"; >> -- wdt = <&wdog1>; >> -- u-boot,dm-spl; >> -- }; >> -- >> -- firmware { >> -- optee { >> -- compatible = "linaro,optee-tz"; >> -- method = "smc"; >> -- }; >> -- }; >> --}; >> -- >> --&fec1 { >> -- phy-mode = "rgmii-rxid"; >> --}; >> -- >> --&i2c1 { >> -- u-boot,dm-spl; >> -- u-boot,dm-pre-reloc; >> --}; >> -- >> --&i2c2 { >> -- status = "okay"; >> -- u-boot,dm-spl; >> -- u-boot,dm-pre-reloc; >> --}; >> -- >> --&pinctrl_ecspi1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_i2c1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_pmic { >> -- u-boot,dm-spl; >> -- fsl,pins = < >> -- MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 >> -- /* Disable Pullup for SD_VSEL */ >> -- MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 >> -- >; >> --}; >> -- >> --&pinctrl_uart3 { >> -- u-boot,dm-spl; >> -- u-boot,dm-pre-reloc; >> --}; >> -- >> --&pinctrl_usdhc1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_usdhc1_100mhz { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_usdhc1_200mhz { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pinctrl_usdhc2 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&pca9450 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { >> -- u-boot,dm-spl; >> --}; >> -- >> --&ecspi1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio2 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio3 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio4 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&gpio5 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&uart3 { >> -- u-boot,dm-spl; >> -- u-boot,dm-pre-reloc; >> --}; >> -- >> --&usdhc1 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&usdhc2 { >> -- u-boot,dm-spl; >> --}; >> -- >> --&wdog1 { >> -- u-boot,dm-spl; >> --}; >> -+#include "imx8mm-kontron-n801x-u-boot.dtsi" >> -diff --git a/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi >> -new file mode 100644 >> -index 0000000000..22d18e6f1c >> ---- /dev/null >> -+++ b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi >> -@@ -0,0 +1,128 @@ >> -+// SPDX-License-Identifier: GPL-2.0+ >> -+/* >> -+ * Copyright (C) 2019 Kontron Electronics GmbH >> -+ */ >> -+ >> -+#include "imx8mm-u-boot.dtsi" >> -+ >> -+/ { >> -+ aliases { >> -+ usb0 = &usbotg1; >> -+ usb1 = &usbotg2; >> -+ }; >> -+ >> -+ wdt-reboot { >> -+ compatible = "wdt-reboot"; >> -+ wdt = <&wdog1>; >> -+ u-boot,dm-spl; >> -+ }; >> -+ >> -+ firmware { >> -+ optee { >> -+ compatible = "linaro,optee-tz"; >> -+ method = "smc"; >> -+ }; >> -+ }; >> -+}; >> -+ >> -+&fec1 { >> -+ phy-mode = "rgmii-rxid"; >> -+}; >> -+ >> -+&i2c1 { >> -+ u-boot,dm-spl; >> -+ u-boot,dm-pre-reloc; >> -+}; >> -+ >> -+&i2c2 { >> -+ status = "okay"; >> -+ u-boot,dm-spl; >> -+ u-boot,dm-pre-reloc; >> -+}; >> -+ >> -+&pinctrl_ecspi1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_i2c1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_pmic { >> -+ u-boot,dm-spl; >> -+ fsl,pins = < >> -+ MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 >> -+ /* Disable Pullup for SD_VSEL */ >> -+ MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 >> -+ >; >> -+}; >> -+ >> -+&pinctrl_uart3 { >> -+ u-boot,dm-spl; >> -+ u-boot,dm-pre-reloc; >> -+}; >> -+ >> -+&pinctrl_usdhc1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_usdhc1_100mhz { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_usdhc1_200mhz { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pinctrl_usdhc2 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&pca9450 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&{/soc at 0/bus at 30800000/i2c at 30a20000/pmic at 25/regulators} { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&ecspi1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio2 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio3 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio4 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&gpio5 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&uart3 { >> -+ u-boot,dm-spl; >> -+ u-boot,dm-pre-reloc; >> -+}; >> -+ >> -+&usdhc1 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&usdhc2 { >> -+ u-boot,dm-spl; >> -+}; >> -+ >> -+&wdog1 { >> -+ u-boot,dm-spl; >> -+}; >> --- >> -2.30.2 >> - >> diff --git a/configs/kontron_bl_imx8mm_defconfig b/configs/kontron_bl_imx8mm_defconfig >> index 2b7e121e252e..705222df2833 100644 >> --- a/configs/kontron_bl_imx8mm_defconfig >> +++ b/configs/kontron_bl_imx8mm_defconfig >> @@ -3,8 +3,6 @@ BR2_aarch64=y >> BR2_cortex_a53=y >> BR2_ARM_FPU_VFPV3=y >> >> -BR2_GLOBAL_PATCH_DIR="board/kontron/bl-imx8mm/patches" >> - >> # System >> BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" >> >> @@ -40,7 +38,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30880 >> BR2_TARGET_UBOOT=y >> BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y >> BR2_TARGET_UBOOT_CUSTOM_VERSION=y >> -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" >> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" >> BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron-sl-mx8mm" >> BR2_TARGET_UBOOT_NEEDS_DTC=y >> BR2_TARGET_UBOOT_NEEDS_PYTHON3=y >> -- >> 2.25.1 >> > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fontaine.fabrice at gmail.com Sat Apr 23 15:33:10 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 17:33:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/netatalk: fix build with libressl Message-ID: <20220423153310.2443908-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl >= 2.7.0: In file included from uams_dhx_passwd.c:35: openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) | ^~~~~~~~~~~ In file included from uams_dhx_passwd.c:33: /home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e Signed-off-by: Fabrice Fontaine --- ..._compat.h-fix-build-with-libressl-2..patch | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch diff --git a/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch new file mode 100644 index 0000000000..05913862f6 --- /dev/null +++ b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch @@ -0,0 +1,43 @@ +From 58ddc137021a938f37c3794305a839f8df449d3f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 23:59:15 +0200 +Subject: [PATCH] etc/uams/openssl_compat.h: fix build with libressl >= 2.7.0 + +Fix the following build failure with libressl >= 2.7.0 which added +DH_set0_pqg with +https://github.com/libressl-portable/openbsd/commit/848e2a019c796b685fc8c5848283b86e48fbe0bf: + +In file included from uams_dhx_passwd.c:35: +openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration + 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) + | ^~~~~~~~~~~ +In file included from uams_dhx_passwd.c:33: +/home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here + 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet] +--- + etc/uams/openssl_compat.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/etc/uams/openssl_compat.h b/etc/uams/openssl_compat.h +index ded377bc..5cc8de34 100644 +--- a/etc/uams/openssl_compat.h ++++ b/etc/uams/openssl_compat.h +@@ -11,7 +11,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt + #ifndef OPENSSL_COMPAT_H + #define OPENSSL_COMPAT_H + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) + { + /* If the fields p and g in d are NULL, the corresponding input +-- +2.35.1 + -- 2.35.1 From arnout at mind.be Sat Apr 23 15:38:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 17:38:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop tagged layout In-Reply-To: <20220420121202.1074548-1-fontaine.fabrice@gmail.com> References: <20220420121202.1074548-1-fontaine.fabrice@gmail.com> Message-ID: <79a89879-159c-85b2-46fa-8d59160db6da@mind.be> On 20/04/2022 14:12, Fabrice Fontaine wrote: > Drop boost tagged layout which raises the following build failure with > botan or libcpprestsdk: > > /nvmedata/autobuild/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: cannot find -lboost_system > > CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): > Could NOT find Boost (missing: random system thread filesystem chrono > atomic date_time regex) (found version "1.78.0") > > While at it: > - drop BR2_PACKAGE_BOOST_LAYOUT and BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > - move --layout=system, --ignore-site-config, > --user-config=$(@D)/user-config.jam, -j$(PARALLEL_JOBS), -q and > --prefix=$(HOST_DIR) to BOOST_OPTS and HOST_BOOST_OPTS > - drop parentheses to avoid spawning a useless sub-shell > - use b2 everywhere instead of mixing b2 and > tools/build/src/engine/bjam > - drop uneeded 'echo "" >> $(@D)/user-config.jam' > > Fixes: > - http://autobuild.buildroot.org/results/f237c9345faf8c28f3c73f7d8acb49271fe61780 > - http://autobuild.buildroot.org/results/a73225e40fa29bc3b24f36a86719e80c8e469d1f > > Signed-off-by: Fabrice Fontaine > --- > Config.in.legacy | 13 ++++++++++ > package/boost/Config.in | 27 --------------------- > package/boost/boost.mk | 53 ++++++++++++++--------------------------- > 3 files changed, 31 insertions(+), 62 deletions(-) > > diff --git a/Config.in.legacy b/Config.in.legacy > index 27f19f14e7..a4811831f3 100644 > --- a/Config.in.legacy > +++ b/Config.in.legacy > @@ -146,6 +146,19 @@ endif > > comment "Legacy options removed in 2022.05" > > +config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > + bool "boost system layout removed" > + select BR2_LEGACY > + help > + Boost system layout is now the only supported layout. I didn't include this. Indeed, nothing changes if you already had this selected. The purpose of Config.in.legacy is to make it easier for people to migrate if Config.in options change. If an option is renamed, then we automatically "convert" the old config to the old config. If an option is plain removed, we can warn the user that it no longer applies. But if an option just becomes mandatory and the user already had it selected, than nothing changes for that user - we only want to warn people if they *didn't* have it selected. Forcing people to go through the legacy menu and manually deselect it is just creating extra work without any gains. Applied to master, thanks. Regards, Arnout > + > +config BR2_PACKAGE_BOOST_LAYOUT_TAGGED > + bool "boost tagged layout removed" > + select BR2_LEGACY > + help > + Boost tagged layout isn't handled by some packages (e.g. botan > + or libcpprestsdk). > + > config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED > bool "boost versioned layout removed" > select BR2_LEGACY > diff --git a/package/boost/Config.in b/package/boost/Config.in > index 9e96be7878..b99b01f22e 100644 > --- a/package/boost/Config.in > +++ b/package/boost/Config.in > @@ -16,33 +16,6 @@ config BR2_PACKAGE_BOOST > > if BR2_PACKAGE_BOOST > > -choice > - prompt "Layout" > - default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > - help > - Selects the layout of Boost binary names > - > -config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > - bool "system" > - help > - Boost binary names do not include the Boost version number > - or the name and version number of the compiler. > - > -config BR2_PACKAGE_BOOST_LAYOUT_TAGGED > - bool "tagged" > - help > - Boost binary names include the encoded build properties such > - as variant and threading, but do not include compiler name > - and version, or Boost version. This option is useful if you > - build several variants of Boost, using the same compiler. > - > -endchoice > - > -config BR2_PACKAGE_BOOST_LAYOUT > - string > - default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM > - default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED > - > config BR2_PACKAGE_BOOST_ATOMIC > bool "boost-atomic" > depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS > diff --git a/package/boost/boost.mk b/package/boost/boost.mk > index 032ba5c820..346d309777 100644 > --- a/package/boost/boost.mk > +++ b/package/boost/boost.mk > @@ -76,7 +76,9 @@ BOOST_DEPENDENCIES += python3 > endif > > HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \ > - variant=release link=shared runtime-link=shared > + variant=release link=shared runtime-link=shared -j$(PARALLEL_JOBS) -q \ > + --ignore-site-config --layout=system --prefix=$(HOST_DIR) \ > + --user-config=$(@D)/user-config.jam > > ifeq ($(BR2_MIPS_OABI32),y) > BOOST_ABI = o32 > @@ -90,7 +92,12 @@ BOOST_OPTS += --no-cmake-config \ > toolset=gcc \ > threading=multi \ > abi=$(BOOST_ABI) \ > - variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) > + variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) \ > + -j$(PARALLEL_JOBS) \ > + -q \ > + --ignore-site-config \ > + --layout=system \ > + --user-config=$(@D)/user-config.jam > > ifeq ($(BR2_sparc64),y) > BOOST_OPTS += architecture=sparc instruction-set=ultrasparc > @@ -119,43 +126,29 @@ endif > > BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS))) > BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) > -BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) > > # how verbose should the build be? > BOOST_OPTS += $(if $(QUIET),-d,-d+1) > HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) > > define BOOST_CONFIGURE_CMDS > - (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) > + cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS) > echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam > - echo "" >> $(@D)/user-config.jam > sed -i "s/: -O.* ;/: $(TARGET_OPTIMIZATION) ;/" $(@D)/tools/build/src/tools/gcc.jam > endef > > define BOOST_BUILD_CMDS > - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(BOOST_OPTS) \ > - --ignore-site-config \ > - --layout=$(BOOST_LAYOUT)) > + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) > endef > > define BOOST_INSTALL_TARGET_CMDS > - (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(BOOST_OPTS) \ > - --prefix=$(TARGET_DIR)/usr \ > - --ignore-site-config \ > - --layout=$(BOOST_LAYOUT) install ) > + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ > + --prefix=$(TARGET_DIR)/usr install > endef > > define BOOST_INSTALL_STAGING_CMDS > - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(BOOST_OPTS) \ > - --prefix=$(STAGING_DIR)/usr \ > - --ignore-site-config \ > - --layout=$(BOOST_LAYOUT) install) > + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ > + --prefix=$(STAGING_DIR)/usr install > endef > > # These hooks will help us to detect missing select in Config.in > @@ -177,26 +170,16 @@ endef > BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES > > define HOST_BOOST_CONFIGURE_CMDS > - (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) > + cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS) > echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam > - echo "" >> $(@D)/user-config.jam > endef > > define HOST_BOOST_BUILD_CMDS > - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(HOST_BOOST_OPTS) \ > - --ignore-site-config \ > - --prefix=$(HOST_DIR) ) > + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) > endef > > define HOST_BOOST_INSTALL_CMDS > - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ > - --user-config=$(@D)/user-config.jam \ > - $(HOST_BOOST_OPTS) \ > - --prefix=$(HOST_DIR) \ > - --ignore-site-config \ > - --layout=$(BOOST_LAYOUT) install ) > + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) install > endef > > $(eval $(generic-package)) From arnout at mind.be Sat Apr 23 15:34:40 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 17:34:40 +0200 Subject: [Buildroot] [git commit] package/boost: drop tagged layout Message-ID: <20220423152829.169AB84119@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fc68bcf9b57e9b7324c6b567a766b72522580b8a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop boost tagged layout which raises the following build failure with botan or libcpprestsdk: /nvmedata/autobuild/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/11.2.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: cannot find -lboost_system CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost (missing: random system thread filesystem chrono atomic date_time regex) (found version "1.78.0") While at it: - drop BR2_PACKAGE_BOOST_LAYOUT and BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - move --layout=system, --ignore-site-config, --user-config=$(@D)/user-config.jam, -j$(PARALLEL_JOBS), -q and --prefix=$(HOST_DIR) to BOOST_OPTS and HOST_BOOST_OPTS - drop parentheses to avoid spawning a useless sub-shell - use b2 everywhere instead of mixing b2 and tools/build/src/engine/bjam - drop uneeded 'echo "" >> $(@D)/user-config.jam' BR2_PACKAGE_BOOST_LAYOUT_SYSTEM is not added to Config.in.legacy since nothing changes for configs which already had it selected. Fixes: - http://autobuild.buildroot.org/results/f237c9345faf8c28f3c73f7d8acb49271fe61780 - http://autobuild.buildroot.org/results/a73225e40fa29bc3b24f36a86719e80c8e469d1f Signed-off-by: Fabrice Fontaine [Arnout: don't add BR2_PACKAGE_BOOST_LAYOUT_SYSTEM to Config.in.legacy] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- Config.in.legacy | 7 +++++++ package/boost/Config.in | 27 ------------------------- package/boost/boost.mk | 53 +++++++++++++++++-------------------------------- 3 files changed, 25 insertions(+), 62 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 27a4fcd33b..2b9575fe22 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -152,6 +152,13 @@ config BR2_BINUTILS_VERSION_2_35_X help binutils 2.35 has been removed, use a newer version. +config BR2_PACKAGE_BOOST_LAYOUT_TAGGED + bool "boost tagged layout removed" + select BR2_LEGACY + help + Boost tagged layout isn't handled by some packages (e.g. botan + or libcpprestsdk). + config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED bool "boost versioned layout removed" select BR2_LEGACY diff --git a/package/boost/Config.in b/package/boost/Config.in index 9e96be7878..b99b01f22e 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -16,33 +16,6 @@ config BR2_PACKAGE_BOOST if BR2_PACKAGE_BOOST -choice - prompt "Layout" - default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - help - Selects the layout of Boost binary names - -config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - bool "system" - help - Boost binary names do not include the Boost version number - or the name and version number of the compiler. - -config BR2_PACKAGE_BOOST_LAYOUT_TAGGED - bool "tagged" - help - Boost binary names include the encoded build properties such - as variant and threading, but do not include compiler name - and version, or Boost version. This option is useful if you - build several variants of Boost, using the same compiler. - -endchoice - -config BR2_PACKAGE_BOOST_LAYOUT - string - default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED - config BR2_PACKAGE_BOOST_ATOMIC bool "boost-atomic" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 032ba5c820..346d309777 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -76,7 +76,9 @@ BOOST_DEPENDENCIES += python3 endif HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \ - variant=release link=shared runtime-link=shared + variant=release link=shared runtime-link=shared -j$(PARALLEL_JOBS) -q \ + --ignore-site-config --layout=system --prefix=$(HOST_DIR) \ + --user-config=$(@D)/user-config.jam ifeq ($(BR2_MIPS_OABI32),y) BOOST_ABI = o32 @@ -90,7 +92,12 @@ BOOST_OPTS += --no-cmake-config \ toolset=gcc \ threading=multi \ abi=$(BOOST_ABI) \ - variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) + variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) \ + -j$(PARALLEL_JOBS) \ + -q \ + --ignore-site-config \ + --layout=system \ + --user-config=$(@D)/user-config.jam ifeq ($(BR2_sparc64),y) BOOST_OPTS += architecture=sparc instruction-set=ultrasparc @@ -119,43 +126,29 @@ endif BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS))) BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) -BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) # how verbose should the build be? BOOST_OPTS += $(if $(QUIET),-d,-d+1) HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) define BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) + cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS) echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam sed -i "s/: -O.* ;/: $(TARGET_OPTIMIZATION) ;/" $(@D)/tools/build/src/tools/gcc.jam endef define BOOST_BUILD_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT)) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) endef define BOOST_INSTALL_TARGET_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(TARGET_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ + --prefix=$(TARGET_DIR)/usr install endef define BOOST_INSTALL_STAGING_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(STAGING_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install) + cd $(@D) && $(TARGET_MAKE_ENV) ./b2 $(BOOST_OPTS) \ + --prefix=$(STAGING_DIR)/usr install endef # These hooks will help us to detect missing select in Config.in @@ -177,26 +170,16 @@ endef BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES define HOST_BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) + cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS) echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam endef define HOST_BOOST_BUILD_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --ignore-site-config \ - --prefix=$(HOST_DIR) ) + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) endef define HOST_BOOST_INSTALL_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --prefix=$(HOST_DIR) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) + cd $(@D) && ./b2 $(HOST_BOOST_OPTS) install endef $(eval $(generic-package)) From fontaine.fabrice at gmail.com Sat Apr 23 15:49:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 17:49:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/ding-libs: bump to version 0.6.2 Message-ID: <20220423154903.155257-1-fontaine.fabrice@gmail.com> - Update site to get latest release - Update indentation in hash file (two spaces) https://github.com/SSSD/ding-libs/releases/tag/0.6.2 Signed-off-by: Fabrice Fontaine --- package/ding-libs/Config.in | 2 +- package/ding-libs/ding-libs.hash | 8 +++++--- package/ding-libs/ding-libs.mk | 5 ++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package/ding-libs/Config.in b/package/ding-libs/Config.in index 64b111e6a1..e4f869728a 100644 --- a/package/ding-libs/Config.in +++ b/package/ding-libs/Config.in @@ -14,7 +14,7 @@ config BR2_PACKAGE_DING_LIBS initialization format (INI) into a library collection data structure (libini_config). - https://pagure.io/SSSD/ding-libs + https://github.com/SSSD/ding-libs comment "ding-libs needs NLS enabled" depends on BR2_SYSTEM_ENABLE_NLS diff --git a/package/ding-libs/ding-libs.hash b/package/ding-libs/ding-libs.hash index 2ac5bd8eee..d5d87faccd 100644 --- a/package/ding-libs/ding-libs.hash +++ b/package/ding-libs/ding-libs.hash @@ -1,4 +1,6 @@ +# From https://github.com/SSSD/ding-libs/releases/download/0.6.2/ding-libs-0.6.2.tar.gz.sha256sum +sha256 e5f07f34f5921bcb5ccccfe3751c28497879a6451cd7b395e99e24d9b5728e8d ding-libs-0.6.2.tar.gz + # Locally computed -sha256 ad3c573641701f67d4b6bd8a5a71f0b65d45fd39fe961495ef5f5d3c57fc0963 ding-libs-ding_libs-0_6_1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER diff --git a/package/ding-libs/ding-libs.mk b/package/ding-libs/ding-libs.mk index 1e8fa59d69..a4ee7351b5 100644 --- a/package/ding-libs/ding-libs.mk +++ b/package/ding-libs/ding-libs.mk @@ -4,10 +4,9 @@ # ################################################################################ -DING_LIBS_VERSION = 0.6.1 -DING_LIBS_SOURCE = ding-libs-ding_libs-$(subst .,_,$(DING_LIBS_VERSION)).tar.gz +DING_LIBS_VERSION = 0.6.2 DING_LIBS_SITE = \ - https://pagure.io/SSSD/ding-libs/archive/ding_libs-$(subst .,_,$(DING_LIBS_VERSION)) + https://github.com/SSSD/ding-libs/releases/download/$(DING_LIBS_VERSION) DING_LIBS_DEPENDENCIES = host-pkgconf \ $(TARGET_NLS_DEPENDENCIES) \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) -- 2.35.1 From arnout at mind.be Sat Apr 23 16:12:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:12:28 +0200 Subject: [Buildroot] [PATCH] package/google-breakpad: bump to latest In-Reply-To: References: Message-ID: <04eb7ee9-bf0b-9f6a-370a-c1e03224858c@mind.be> On 20/04/2022 14:24, Nuno Gon?alves wrote: > Fixes compatibility with GCC-11. > Doesn't require any local patches. > > linux-syscall-support bumped to the verion in DEPS. > > Signed-off-by: Nuno Gon?alves Applied to master, thanks. I had to make quite a few changes though: - The patch was very broken. I don't know how exactly, it's not simply line wrapped. There seems to be something wrong with either your git send-email setup or with a mail server somewhere on the way. - The hash of the LICENSE file of googlbe-breakpad has changed, because an additional license has been added. - The hash of the header file in linux-syscall-support has also changed, but fortunately they added a license file so we can use that instead. Regards, Arnout > --- > .../0001-add-missing-asm-ptrace-include.patch | 31 --- > ...g-references-to-struct-ucontext-with.patch | 257 ------------------ > ...-handler-exception_handler.cc-rename.patch | 59 ---- > .../0004-Fix-for-non-constant-SIGSTKSZ.patch | 34 --- > package/google-breakpad/google-breakpad.hash | 2 +- > package/google-breakpad/google-breakpad.mk | 2 +- > .../linux-syscall-support.hash | 2 +- > .../linux-syscall-support.mk | 2 +- > 8 files changed, 4 insertions(+), 385 deletions(-) > delete mode 100644 > package/google-breakpad/0001-add-missing-asm-ptrace-include.patch > delete mode 100644 > package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch > delete mode 100644 > package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch > delete mode 100644 > package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch > > diff --git a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch > b/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch > deleted file mode 100644 > index 281c7a042a..0000000000 > --- a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch > +++ /dev/null > @@ -1,31 +0,0 @@ > -Include to get necessary definitions on AArch64 > - > -In glibc commit > -https://sourceware.org/git/?p=glibc.git;a=commit;h=7d05a8168b45c0580e1f9a79c2dd26c8f0d31fca, > -including from on AArch64 has been > -removed. So the Google Breakpad code, which used to build fine on > -glibc 2.18 (CodeSourcery toolchain for example), no longer builds with > -glibc 2.19 (Linaro toolchain for example). > - > -To fix this, this patch adds the missing include (for > -AArch64 only, to be conservative). > - > -This patch has not been submitted upstream, since more recent versions > -of Google Breakpad have completely changed this part of the code. > - > -Signed-off-by: Thomas Petazzoni > - > -Index: b/src/client/linux/minidump_writer/linux_dumper.h > -=================================================================== > ---- a/src/client/linux/minidump_writer/linux_dumper.h > -+++ b/src/client/linux/minidump_writer/linux_dumper.h > -@@ -43,6 +43,9 @@ > - #include > - #include > - #include > -+#if defined(__aarch64__) > -+#include > -+#endif > - > - #include "common/memory.h" > - #include "google_breakpad/common/minidump_format.h" > diff --git a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch > b/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch > deleted file mode 100644 > index e02ae268b9..0000000000 > --- a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch > +++ /dev/null > @@ -1,257 +0,0 @@ > -From 7975a962e1d6dbad5a46792a54e647abd7caf5f1 Mon Sep 17 00:00:00 2001 > -From: Mark Mentovai > -Date: Tue, 19 Sep 2017 22:48:30 -0400 > -Subject: [PATCH] Replace remaining references to 'struct ucontext' with > - 'ucontext_t' > - > -This relands > -https://chromium.googlesource.com/breakpad/breakpad/src/+/e3035bc406cee8a4d765e59ad46eb828705f17f4, > -which was accidentally committed to breakpad/breakpad/src, the read-only > -mirror of src in breakpad/breakpad. (Well, it should have been > -read-only.) See https://crbug.com/766164. > - > -This fixes issues with glibc-2.26. > - > -See https://bugs.gentoo.org/show_bug.cgi?id=628782 , > -https://sourceware.org/git/?p=glibc.git;h=251287734e89a52da3db682a8241eb6bccc050c9 > , and > -https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html for context. > -Change-Id: Id66f474d636dd2afa450bab925c5514a800fdd6f > -Reviewed-on: https://chromium-review.googlesource.com/674304 > -Reviewed-by: Mark Mentovai > - > -(cherry picked from commit bddcc58860f522a0d4cbaa7e9d04058caee0db9d) > -[Romain: backport from upstream] > -Signed-off-by: Romain Naour > ---- > - .../linux/dump_writer_common/ucontext_reader.cc | 32 +++++++++++----------- > - .../linux/dump_writer_common/ucontext_reader.h | 14 +++++----- > - src/client/linux/handler/exception_handler.cc | 10 +++---- > - src/client/linux/handler/exception_handler.h | 6 ++-- > - .../linux/microdump_writer/microdump_writer.cc | 2 +- > - .../linux/minidump_writer/minidump_writer.cc | 2 +- > - 6 files changed, 33 insertions(+), 33 deletions(-) > - > -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.cc > b/src/client/linux/dump_writer_common/ucontext_reader.cc > -index c80724d..052ce37 100644 > ---- a/src/client/linux/dump_writer_common/ucontext_reader.cc > -+++ b/src/client/linux/dump_writer_common/ucontext_reader.cc > -@@ -36,19 +36,19 @@ namespace google_breakpad { > - > - // Minidump defines register structures which are different from the raw > - // structures which we get from the kernel. These are platform specific > --// functions to juggle the ucontext and user structures into minidump format. > -+// functions to juggle the ucontext_t and user structures into > minidump format. > - > - #if defined(__i386__) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[REG_ESP]; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[REG_EIP]; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct _libc_fpstate* fp) { > - const greg_t* regs = uc->uc_mcontext.gregs; > - > -@@ -88,15 +88,15 @@ void UContextReader::FillCPUContext(RawContextCPU > *out, const ucontext *uc, > - > - #elif defined(__x86_64) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[REG_RSP]; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[REG_RIP]; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct _libc_fpstate* fpregs) { > - const greg_t* regs = uc->uc_mcontext.gregs; > - > -@@ -145,15 +145,15 @@ void > UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > - > - #elif defined(__ARM_EABI__) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.arm_sp; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.arm_pc; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { > -+void UContextReader::FillCPUContext(RawContextCPU *out, const > ucontext_t *uc) { > - out->context_flags = MD_CONTEXT_ARM_FULL; > - > - out->iregs[0] = uc->uc_mcontext.arm_r0; > -@@ -184,15 +184,15 @@ void > UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) > { > - > - #elif defined(__aarch64__) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.sp; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.pc; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct fpsimd_context* fpregs) { > - out->context_flags = MD_CONTEXT_ARM64_FULL; > - > -@@ -210,15 +210,15 @@ void > UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, > - > - #elif defined(__mips__) > - > --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]; > - } > - > --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { > -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { > - return uc->uc_mcontext.pc; > - } > - > --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { > -+void UContextReader::FillCPUContext(RawContextCPU *out, const > ucontext_t *uc) { > - #if _MIPS_SIM == _ABI64 > - out->context_flags = MD_CONTEXT_MIPS64_FULL; > - #elif _MIPS_SIM == _ABIO32 > -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.h > b/src/client/linux/dump_writer_common/ucontext_reader.h > -index b6e77b4..2de80b7 100644 > ---- a/src/client/linux/dump_writer_common/ucontext_reader.h > -+++ b/src/client/linux/dump_writer_common/ucontext_reader.h > -@@ -39,23 +39,23 @@ > - > - namespace google_breakpad { > - > --// Wraps platform-dependent implementations of accessors to ucontext structs. > -+// Wraps platform-dependent implementations of accessors to > ucontext_t structs. > - struct UContextReader { > -- static uintptr_t GetStackPointer(const struct ucontext* uc); > -+ static uintptr_t GetStackPointer(const ucontext_t* uc); > - > -- static uintptr_t GetInstructionPointer(const struct ucontext* uc); > -+ static uintptr_t GetInstructionPointer(const ucontext_t* uc); > - > -- // Juggle a arch-specific ucontext into a minidump format > -+ // Juggle a arch-specific ucontext_t into a minidump format > - // out: the minidump structure > - // info: the collection of register structures. > - #if defined(__i386__) || defined(__x86_64) > -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct _libc_fpstate* fp); > - #elif defined(__aarch64__) > -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, > -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, > - const struct fpsimd_context* fpregs); > - #else > -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc); > -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc); > - #endif > - }; > - > -diff --git a/src/client/linux/handler/exception_handler.cc > b/src/client/linux/handler/exception_handler.cc > -index b63f973..3d809b8 100644 > ---- a/src/client/linux/handler/exception_handler.cc > -+++ b/src/client/linux/handler/exception_handler.cc > -@@ -439,9 +439,9 @@ bool ExceptionHandler::HandleSignal(int sig, > siginfo_t* info, void* uc) { > - // Fill in all the holes in the struct to make Valgrind happy. > - memset(&g_crash_context_, 0, sizeof(g_crash_context_)); > - memcpy(&g_crash_context_.siginfo, info, sizeof(siginfo_t)); > -- memcpy(&g_crash_context_.context, uc, sizeof(struct ucontext)); > -+ memcpy(&g_crash_context_.context, uc, sizeof(ucontext_t)); > - #if defined(__aarch64__) > -- struct ucontext* uc_ptr = (struct ucontext*)uc; > -+ ucontext_t* uc_ptr = (ucontext_t*)uc; > - struct fpsimd_context* fp_ptr = > - (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved; > - if (fp_ptr->head.magic == FPSIMD_MAGIC) { > -@@ -450,9 +450,9 @@ bool ExceptionHandler::HandleSignal(int sig, > siginfo_t* info, void* uc) { > - } > - #elif !defined(__ARM_EABI__) && !defined(__mips__) > - // FP state is not part of user ABI on ARM Linux. > -- // In case of MIPS Linux FP state is already part of struct ucontext > -+ // In case of MIPS Linux FP state is already part of ucontext_t > - // and 'float_state' is not a member of CrashContext. > -- struct ucontext* uc_ptr = (struct ucontext*)uc; > -+ ucontext_t* uc_ptr = (ucontext_t*)uc; > - if (uc_ptr->uc_mcontext.fpregs) { > - memcpy(&g_crash_context_.float_state, uc_ptr->uc_mcontext.fpregs, > - sizeof(g_crash_context_.float_state)); > -@@ -476,7 +476,7 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) { > - // ExceptionHandler::HandleSignal(). > - siginfo.si_code = SI_USER; > - siginfo.si_pid = getpid(); > -- struct ucontext context; > -+ ucontext_t context; > - getcontext(&context); > - return HandleSignal(sig, &siginfo, &context); > - } > -diff --git a/src/client/linux/handler/exception_handler.h > b/src/client/linux/handler/exception_handler.h > -index 591c310..42f4055 100644 > ---- a/src/client/linux/handler/exception_handler.h > -+++ b/src/client/linux/handler/exception_handler.h > -@@ -191,11 +191,11 @@ class ExceptionHandler { > - struct CrashContext { > - siginfo_t siginfo; > - pid_t tid; // the crashing thread. > -- struct ucontext context; > -+ ucontext_t context; > - #if !defined(__ARM_EABI__) && !defined(__mips__) > - // #ifdef this out because FP state is not part of user ABI for Linux ARM. > -- // In case of MIPS Linux FP state is already part of struct > -- // ucontext so 'float_state' is not required. > -+ // In case of MIPS Linux FP state is already part of ucontext_t so > -+ // 'float_state' is not required. > - fpstate_t float_state; > - #endif > - }; > -diff --git a/src/client/linux/microdump_writer/microdump_writer.cc > b/src/client/linux/microdump_writer/microdump_writer.cc > -index 6f5b435..a508667 100644 > ---- a/src/client/linux/microdump_writer/microdump_writer.cc > -+++ b/src/client/linux/microdump_writer/microdump_writer.cc > -@@ -571,7 +571,7 @@ class MicrodumpWriter { > - > - void* Alloc(unsigned bytes) { return dumper_->allocator()->Alloc(bytes); } > - > -- const struct ucontext* const ucontext_; > -+ const ucontext_t* const ucontext_; > - #if !defined(__ARM_EABI__) && !defined(__mips__) > - const google_breakpad::fpstate_t* const float_state_; > - #endif > -diff --git a/src/client/linux/minidump_writer/minidump_writer.cc > b/src/client/linux/minidump_writer/minidump_writer.cc > -index 86009b9..f2aec73 100644 > ---- a/src/client/linux/minidump_writer/minidump_writer.cc > -+++ b/src/client/linux/minidump_writer/minidump_writer.cc > -@@ -1248,7 +1248,7 @@ class MinidumpWriter { > - const int fd_; // File descriptor where the minidum should be written. > - const char* path_; // Path to the file where the minidum should be written. > - > -- const struct ucontext* const ucontext_; // also from the signal handler > -+ const ucontext_t* const ucontext_; // also from the signal handler > - #if !defined(__ARM_EABI__) && !defined(__mips__) > - const google_breakpad::fpstate_t* const float_state_; // ditto > - #endif > --- > -2.9.5 > - > diff --git a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch > b/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch > deleted file mode 100644 > index 579e7f3457..0000000000 > --- a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch > +++ /dev/null > @@ -1,59 +0,0 @@ > -From 2fa414c8655c421e7eb0bb1719928babb0ecf7c6 Mon Sep 17 00:00:00 2001 > -From: Thomas Petazzoni > -Date: Thu, 26 Dec 2019 22:21:33 +0100 > -Subject: [PATCH] src/client/linux/handler/exception_handler.cc: rename tgkill > - to BreakpadTgkill() > -MIME-Version: 1.0 > -Content-Type: text/plain; charset=UTF-8 > -Content-Transfer-Encoding: 8bit > - > -Since glibc 2.30, a tgkill() function was added in the C library, and > -its definition obviously conflicts with the internal definition of > -google-breakpad, causing build failures: > - > -src/client/linux/handler/exception_handler.cc:109:12: error: ?int > tgkill(pid_t, pid_t, int)? was declared ?extern? and later ?static? > [-fpermissive] > - 109 | static int tgkill(pid_t tgid, pid_t tid, int sig) { > - | ^~~~~~ > -In file included from /usr/include/signal.h:374, > - from ./src/client/linux/handler/exception_handler.h:33, > - from src/client/linux/handler/exception_handler.cc:66: > -/usr/include/bits/signal_ext.h:29:12: note: previous declaration of > ?int tgkill(__pid_t, __pid_t, int)? > - 29 | extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); > - | ^~~~~~ > - > -Upstream google-breakpad simply dropped the use of the internal > -tgkill() in commit > -https://chromium.googlesource.com/breakpad/breakpad/+/7e3c165000d44fa153a3270870ed500bc8bbb461. > However, > -this is not realistic for Buildroot, since we do support old systems > -where the system C library will not necessarily provide tgkill(). > - > -Signed-off-by: Thomas Petazzoni > ---- > - src/client/linux/handler/exception_handler.cc | 4 ++-- > - 1 file changed, 2 insertions(+), 2 deletions(-) > - > -diff --git a/src/client/linux/handler/exception_handler.cc > b/src/client/linux/handler/exception_handler.cc > -index b63f973b..b4c279b8 100644 > ---- a/src/client/linux/handler/exception_handler.cc > -+++ b/src/client/linux/handler/exception_handler.cc > -@@ -106,7 +106,7 @@ > - #endif > - > - // A wrapper for the tgkill syscall: send a signal to a specific thread. > --static int tgkill(pid_t tgid, pid_t tid, int sig) { > -+static int BreakpadTgkill(pid_t tgid, pid_t tid, int sig) { > - return syscall(__NR_tgkill, tgid, tid, sig); > - return 0; > - } > -@@ -387,7 +387,7 @@ void ExceptionHandler::SignalHandler(int sig, > siginfo_t* info, void* uc) { > - // In order to retrigger it, we have to queue a new signal by calling > - // kill() ourselves. The special case (si_pid == 0 && sig == SIGABRT) is > - // due to the kernel sending a SIGABRT from a user request via SysRQ. > -- if (tgkill(getpid(), syscall(__NR_gettid), sig) < 0) { > -+ if (BreakpadTgkill(getpid(), syscall(__NR_gettid), sig) < 0) { > - // If we failed to kill ourselves (e.g. because a sandbox disallows us > - // to do so), we instead resort to terminating our process. This will > - // result in an incorrect exit code. > --- > -2.24.1 > - > diff --git a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch > b/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch > deleted file mode 100644 > index 4291216c61..0000000000 > --- a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch > +++ /dev/null > @@ -1,34 +0,0 @@ > -From 4a332d01186b09a9d46390b845024d914d9149cb Mon Sep 17 00:00:00 2001 > -From: Michel Alexandre Salim > -Date: Sun, 21 Mar 2021 13:17:00 -0700 > -Subject: [PATCH] Fix for non-constant SIGSTKSZ > - > -On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case > -it expands to a call to `sysconf` which returns a `long int`); see > -http://sourceware-org.1504.n7.nabble.com/PATCH-sysconf-Add-SC-MINSIGSTKSZ-SC-SIGSTKSZ-BZ-20305-td650948.html > - > -Cast the two arguments to `max` to `unsigned`, which is the type of > the variable > -we're storing the result in anyway, so that it works both with the > old-style constant > -`SIGSTKSZ` and the new configurable one. > - > -Signed-off-by: Michel Alexandre Salim > -Change-Id: I3d87048561a87c6b9fcdbb14b3d53dd45b0a00f0 > - > -[Retrieved from: > -https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2776379] > -Signed-off-by: Fabrice Fontaine > ---- > - > -diff --git a/src/client/linux/handler/exception_handler.cc > b/src/client/linux/handler/exception_handler.cc > -index ca353c4..3788829 100644 > ---- a/src/client/linux/handler/exception_handler.cc > -+++ b/src/client/linux/handler/exception_handler.cc > -@@ -138,7 +138,7 @@ > - // SIGSTKSZ may be too small to prevent the signal handlers from overrunning > - // the alternative stack. Ensure that the size of the alternative stack is > - // large enough. > -- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); > -+ static const unsigned kSigStackSize = std::max((unsigned) 16384, > (unsigned) SIGSTKSZ); > - > - // Only set an alternative stack if there isn't already one, or if > the current > - // one is too small. > diff --git a/package/google-breakpad/google-breakpad.hash > b/package/google-breakpad/google-breakpad.hash > index 09f9a0cf91..c184da1113 100644 > --- a/package/google-breakpad/google-breakpad.hash > +++ b/package/google-breakpad/google-breakpad.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 3504639ee5d7536e7f7939b80520dfcb98863e9b50673dd577d0ab2a07105acb > google-breakpad-7515ab13768c7edc09f0f2ec2354dc6c928239a6-br1.tar.gz > +sha256 52716d140ba528d36b40591ae2c7485b18023f6610414bba0057f0cc13caf256 > google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf-br1.tar.gz > sha256 f9752a0a4ac5215eaa3a4f0ec29cd52563c883de5d7870525cc0bc3a21cb8e15 > LICENSE > diff --git a/package/google-breakpad/google-breakpad.mk > b/package/google-breakpad/google-breakpad.mk > index 8ae5f99bc7..20755a1c2a 100644 > --- a/package/google-breakpad/google-breakpad.mk > +++ b/package/google-breakpad/google-breakpad.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GOOGLE_BREAKPAD_VERSION = 7515ab13768c7edc09f0f2ec2354dc6c928239a6 > +GOOGLE_BREAKPAD_VERSION = c85eb4a59b618f3beaad5445ceb1f865ffa8efdf > GOOGLE_BREAKPAD_SITE = https://chromium.googlesource.com/breakpad/breakpad > GOOGLE_BREAKPAD_SITE_METHOD = git > GOOGLE_BREAKPAD_CONF_OPTS = --disable-processor --disable-tools > diff --git a/package/linux-syscall-support/linux-syscall-support.hash > b/package/linux-syscall-support/linux-syscall-support.hash > index 3445bf1398..f45f07ac56 100644 > --- a/package/linux-syscall-support/linux-syscall-support.hash > +++ b/package/linux-syscall-support/linux-syscall-support.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 498efb6915ac6e65c82c712fadd3c30f9472764114c835849e02f2c092bacd2d > linux-syscall-support-3f6478ac95edf86cd3da300c2c0d34a438f5dbeb-br1.tar.gz > +sha256 2a12703ce59773ec714b603e46c733b03f3fbf9b4763195fae40d0042e5da3f6 > linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660-br1.tar.gz > sha256 4c1fc9acc9f3867e5c81b5d5f57c52fb9a932662bd4e2e5e43b3fe95390035f5 > linux_syscall_support.h > diff --git a/package/linux-syscall-support/linux-syscall-support.mk > b/package/linux-syscall-support/linux-syscall-support.mk > index 050c5058ab..c0c7c4c3b2 100644 > --- a/package/linux-syscall-support/linux-syscall-support.mk > +++ b/package/linux-syscall-support/linux-syscall-support.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > # Use the same version that the one used by Google-breakpad (see DEPS file) > -LINUX_SYSCALL_SUPPORT_VERSION = 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb > +LINUX_SYSCALL_SUPPORT_VERSION = e1e7b0ad8ee99a875b272c8e33e308472e897660 > LINUX_SYSCALL_SUPPORT_SITE = > https://chromium.googlesource.com/linux-syscall-support > LINUX_SYSCALL_SUPPORT_SITE_METHOD = git > LINUX_SYSCALL_SUPPORT_LICENSE = BSD-3-Clause > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Sat Apr 23 16:09:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:09:19 +0200 Subject: [Buildroot] [git commit] package/google-breakpad: bump to latest Message-ID: <20220423160349.43D5084155@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e831353d8f476cefd8320e38f2eb0d9f00359f3a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes compatibility with GCC-11. Doesn't require any local patches (all applied upstream or no longer required). LICENSE adds three new licenses: - MIT for code copied from libunwind; - Apple Public Source License for Mac-specific code; - BSD-4-Clause also for Mac-specific code. Since the latter two are Mac-specific, we don't mention them in _LICENSE. linux-syscall-support bumped to the verion in DEPS. It now has a license file so use that instead of the header file. Signed-off-by: Nuno Gon??alves [Arnout: update licenses, license files and hashes] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-add-missing-asm-ptrace-include.patch | 31 --- ...aining-references-to-struct-ucontext-with.patch | 257 --------------------- ...linux-handler-exception_handler.cc-rename.patch | 59 ----- .../0004-Fix-for-non-constant-SIGSTKSZ.patch | 34 --- package/google-breakpad/google-breakpad.hash | 4 +- package/google-breakpad/google-breakpad.mk | 4 +- .../linux-syscall-support.hash | 4 +- .../linux-syscall-support/linux-syscall-support.mk | 4 +- 8 files changed, 8 insertions(+), 389 deletions(-) diff --git a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch b/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch deleted file mode 100644 index 281c7a042a..0000000000 --- a/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch +++ /dev/null @@ -1,31 +0,0 @@ -Include to get necessary definitions on AArch64 - -In glibc commit -https://sourceware.org/git/?p=glibc.git;a=commit;h=7d05a8168b45c0580e1f9a79c2dd26c8f0d31fca, -including from on AArch64 has been -removed. So the Google Breakpad code, which used to build fine on -glibc 2.18 (CodeSourcery toolchain for example), no longer builds with -glibc 2.19 (Linaro toolchain for example). - -To fix this, this patch adds the missing include (for -AArch64 only, to be conservative). - -This patch has not been submitted upstream, since more recent versions -of Google Breakpad have completely changed this part of the code. - -Signed-off-by: Thomas Petazzoni - -Index: b/src/client/linux/minidump_writer/linux_dumper.h -=================================================================== ---- a/src/client/linux/minidump_writer/linux_dumper.h -+++ b/src/client/linux/minidump_writer/linux_dumper.h -@@ -43,6 +43,9 @@ - #include - #include - #include -+#if defined(__aarch64__) -+#include -+#endif - - #include "common/memory.h" - #include "google_breakpad/common/minidump_format.h" diff --git a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch b/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch deleted file mode 100644 index e02ae268b9..0000000000 --- a/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch +++ /dev/null @@ -1,257 +0,0 @@ -From 7975a962e1d6dbad5a46792a54e647abd7caf5f1 Mon Sep 17 00:00:00 2001 -From: Mark Mentovai -Date: Tue, 19 Sep 2017 22:48:30 -0400 -Subject: [PATCH] Replace remaining references to 'struct ucontext' with - 'ucontext_t' - -This relands -https://chromium.googlesource.com/breakpad/breakpad/src/+/e3035bc406cee8a4d765e59ad46eb828705f17f4, -which was accidentally committed to breakpad/breakpad/src, the read-only -mirror of src in breakpad/breakpad. (Well, it should have been -read-only.) See https://crbug.com/766164. - -This fixes issues with glibc-2.26. - -See https://bugs.gentoo.org/show_bug.cgi?id=628782 , -https://sourceware.org/git/?p=glibc.git;h=251287734e89a52da3db682a8241eb6bccc050c9 , and -https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html for context. -Change-Id: Id66f474d636dd2afa450bab925c5514a800fdd6f -Reviewed-on: https://chromium-review.googlesource.com/674304 -Reviewed-by: Mark Mentovai - -(cherry picked from commit bddcc58860f522a0d4cbaa7e9d04058caee0db9d) -[Romain: backport from upstream] -Signed-off-by: Romain Naour ---- - .../linux/dump_writer_common/ucontext_reader.cc | 32 +++++++++++----------- - .../linux/dump_writer_common/ucontext_reader.h | 14 +++++----- - src/client/linux/handler/exception_handler.cc | 10 +++---- - src/client/linux/handler/exception_handler.h | 6 ++-- - .../linux/microdump_writer/microdump_writer.cc | 2 +- - .../linux/minidump_writer/minidump_writer.cc | 2 +- - 6 files changed, 33 insertions(+), 33 deletions(-) - -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.cc b/src/client/linux/dump_writer_common/ucontext_reader.cc -index c80724d..052ce37 100644 ---- a/src/client/linux/dump_writer_common/ucontext_reader.cc -+++ b/src/client/linux/dump_writer_common/ucontext_reader.cc -@@ -36,19 +36,19 @@ namespace google_breakpad { - - // Minidump defines register structures which are different from the raw - // structures which we get from the kernel. These are platform specific --// functions to juggle the ucontext and user structures into minidump format. -+// functions to juggle the ucontext_t and user structures into minidump format. - - #if defined(__i386__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_ESP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_EIP]; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fp) { - const greg_t* regs = uc->uc_mcontext.gregs; - -@@ -88,15 +88,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__x86_64) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_RSP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[REG_RIP]; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fpregs) { - const greg_t* regs = uc->uc_mcontext.gregs; - -@@ -145,15 +145,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__ARM_EABI__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.arm_sp; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.arm_pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) { - out->context_flags = MD_CONTEXT_ARM_FULL; - - out->iregs[0] = uc->uc_mcontext.arm_r0; -@@ -184,15 +184,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { - - #elif defined(__aarch64__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.sp; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct fpsimd_context* fpregs) { - out->context_flags = MD_CONTEXT_ARM64_FULL; - -@@ -210,15 +210,15 @@ void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, - - #elif defined(__mips__) - --uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { - return uc->uc_mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]; - } - --uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { -+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { - return uc->uc_mcontext.pc; - } - --void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) { -+void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) { - #if _MIPS_SIM == _ABI64 - out->context_flags = MD_CONTEXT_MIPS64_FULL; - #elif _MIPS_SIM == _ABIO32 -diff --git a/src/client/linux/dump_writer_common/ucontext_reader.h b/src/client/linux/dump_writer_common/ucontext_reader.h -index b6e77b4..2de80b7 100644 ---- a/src/client/linux/dump_writer_common/ucontext_reader.h -+++ b/src/client/linux/dump_writer_common/ucontext_reader.h -@@ -39,23 +39,23 @@ - - namespace google_breakpad { - --// Wraps platform-dependent implementations of accessors to ucontext structs. -+// Wraps platform-dependent implementations of accessors to ucontext_t structs. - struct UContextReader { -- static uintptr_t GetStackPointer(const struct ucontext* uc); -+ static uintptr_t GetStackPointer(const ucontext_t* uc); - -- static uintptr_t GetInstructionPointer(const struct ucontext* uc); -+ static uintptr_t GetInstructionPointer(const ucontext_t* uc); - -- // Juggle a arch-specific ucontext into a minidump format -+ // Juggle a arch-specific ucontext_t into a minidump format - // out: the minidump structure - // info: the collection of register structures. - #if defined(__i386__) || defined(__x86_64) -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct _libc_fpstate* fp); - #elif defined(__aarch64__) -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc, -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, - const struct fpsimd_context* fpregs); - #else -- static void FillCPUContext(RawContextCPU *out, const ucontext *uc); -+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc); - #endif - }; - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index b63f973..3d809b8 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -439,9 +439,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { - // Fill in all the holes in the struct to make Valgrind happy. - memset(&g_crash_context_, 0, sizeof(g_crash_context_)); - memcpy(&g_crash_context_.siginfo, info, sizeof(siginfo_t)); -- memcpy(&g_crash_context_.context, uc, sizeof(struct ucontext)); -+ memcpy(&g_crash_context_.context, uc, sizeof(ucontext_t)); - #if defined(__aarch64__) -- struct ucontext* uc_ptr = (struct ucontext*)uc; -+ ucontext_t* uc_ptr = (ucontext_t*)uc; - struct fpsimd_context* fp_ptr = - (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved; - if (fp_ptr->head.magic == FPSIMD_MAGIC) { -@@ -450,9 +450,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { - } - #elif !defined(__ARM_EABI__) && !defined(__mips__) - // FP state is not part of user ABI on ARM Linux. -- // In case of MIPS Linux FP state is already part of struct ucontext -+ // In case of MIPS Linux FP state is already part of ucontext_t - // and 'float_state' is not a member of CrashContext. -- struct ucontext* uc_ptr = (struct ucontext*)uc; -+ ucontext_t* uc_ptr = (ucontext_t*)uc; - if (uc_ptr->uc_mcontext.fpregs) { - memcpy(&g_crash_context_.float_state, uc_ptr->uc_mcontext.fpregs, - sizeof(g_crash_context_.float_state)); -@@ -476,7 +476,7 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) { - // ExceptionHandler::HandleSignal(). - siginfo.si_code = SI_USER; - siginfo.si_pid = getpid(); -- struct ucontext context; -+ ucontext_t context; - getcontext(&context); - return HandleSignal(sig, &siginfo, &context); - } -diff --git a/src/client/linux/handler/exception_handler.h b/src/client/linux/handler/exception_handler.h -index 591c310..42f4055 100644 ---- a/src/client/linux/handler/exception_handler.h -+++ b/src/client/linux/handler/exception_handler.h -@@ -191,11 +191,11 @@ class ExceptionHandler { - struct CrashContext { - siginfo_t siginfo; - pid_t tid; // the crashing thread. -- struct ucontext context; -+ ucontext_t context; - #if !defined(__ARM_EABI__) && !defined(__mips__) - // #ifdef this out because FP state is not part of user ABI for Linux ARM. -- // In case of MIPS Linux FP state is already part of struct -- // ucontext so 'float_state' is not required. -+ // In case of MIPS Linux FP state is already part of ucontext_t so -+ // 'float_state' is not required. - fpstate_t float_state; - #endif - }; -diff --git a/src/client/linux/microdump_writer/microdump_writer.cc b/src/client/linux/microdump_writer/microdump_writer.cc -index 6f5b435..a508667 100644 ---- a/src/client/linux/microdump_writer/microdump_writer.cc -+++ b/src/client/linux/microdump_writer/microdump_writer.cc -@@ -571,7 +571,7 @@ class MicrodumpWriter { - - void* Alloc(unsigned bytes) { return dumper_->allocator()->Alloc(bytes); } - -- const struct ucontext* const ucontext_; -+ const ucontext_t* const ucontext_; - #if !defined(__ARM_EABI__) && !defined(__mips__) - const google_breakpad::fpstate_t* const float_state_; - #endif -diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc -index 86009b9..f2aec73 100644 ---- a/src/client/linux/minidump_writer/minidump_writer.cc -+++ b/src/client/linux/minidump_writer/minidump_writer.cc -@@ -1248,7 +1248,7 @@ class MinidumpWriter { - const int fd_; // File descriptor where the minidum should be written. - const char* path_; // Path to the file where the minidum should be written. - -- const struct ucontext* const ucontext_; // also from the signal handler -+ const ucontext_t* const ucontext_; // also from the signal handler - #if !defined(__ARM_EABI__) && !defined(__mips__) - const google_breakpad::fpstate_t* const float_state_; // ditto - #endif --- -2.9.5 - diff --git a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch b/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch deleted file mode 100644 index 579e7f3457..0000000000 --- a/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 2fa414c8655c421e7eb0bb1719928babb0ecf7c6 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Thu, 26 Dec 2019 22:21:33 +0100 -Subject: [PATCH] src/client/linux/handler/exception_handler.cc: rename tgkill - to BreakpadTgkill() -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since glibc 2.30, a tgkill() function was added in the C library, and -its definition obviously conflicts with the internal definition of -google-breakpad, causing build failures: - -src/client/linux/handler/exception_handler.cc:109:12: error: ???int tgkill(pid_t, pid_t, int)??? was declared ???extern??? and later ???static??? [-fpermissive] - 109 | static int tgkill(pid_t tgid, pid_t tid, int sig) { - | ^~~~~~ -In file included from /usr/include/signal.h:374, - from ./src/client/linux/handler/exception_handler.h:33, - from src/client/linux/handler/exception_handler.cc:66: -/usr/include/bits/signal_ext.h:29:12: note: previous declaration of ???int tgkill(__pid_t, __pid_t, int)??? - 29 | extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); - | ^~~~~~ - -Upstream google-breakpad simply dropped the use of the internal -tgkill() in commit -https://chromium.googlesource.com/breakpad/breakpad/+/7e3c165000d44fa153a3270870ed500bc8bbb461. However, -this is not realistic for Buildroot, since we do support old systems -where the system C library will not necessarily provide tgkill(). - -Signed-off-by: Thomas Petazzoni ---- - src/client/linux/handler/exception_handler.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index b63f973b..b4c279b8 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -106,7 +106,7 @@ - #endif - - // A wrapper for the tgkill syscall: send a signal to a specific thread. --static int tgkill(pid_t tgid, pid_t tid, int sig) { -+static int BreakpadTgkill(pid_t tgid, pid_t tid, int sig) { - return syscall(__NR_tgkill, tgid, tid, sig); - return 0; - } -@@ -387,7 +387,7 @@ void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) { - // In order to retrigger it, we have to queue a new signal by calling - // kill() ourselves. The special case (si_pid == 0 && sig == SIGABRT) is - // due to the kernel sending a SIGABRT from a user request via SysRQ. -- if (tgkill(getpid(), syscall(__NR_gettid), sig) < 0) { -+ if (BreakpadTgkill(getpid(), syscall(__NR_gettid), sig) < 0) { - // If we failed to kill ourselves (e.g. because a sandbox disallows us - // to do so), we instead resort to terminating our process. This will - // result in an incorrect exit code. --- -2.24.1 - diff --git a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch b/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch deleted file mode 100644 index 4291216c61..0000000000 --- a/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 4a332d01186b09a9d46390b845024d914d9149cb Mon Sep 17 00:00:00 2001 -From: Michel Alexandre Salim -Date: Sun, 21 Mar 2021 13:17:00 -0700 -Subject: [PATCH] Fix for non-constant SIGSTKSZ - -On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case -it expands to a call to `sysconf` which returns a `long int`); see -http://sourceware-org.1504.n7.nabble.com/PATCH-sysconf-Add-SC-MINSIGSTKSZ-SC-SIGSTKSZ-BZ-20305-td650948.html - -Cast the two arguments to `max` to `unsigned`, which is the type of the variable -we're storing the result in anyway, so that it works both with the old-style constant -`SIGSTKSZ` and the new configurable one. - -Signed-off-by: Michel Alexandre Salim -Change-Id: I3d87048561a87c6b9fcdbb14b3d53dd45b0a00f0 - -[Retrieved from: -https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2776379] -Signed-off-by: Fabrice Fontaine ---- - -diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc -index ca353c4..3788829 100644 ---- a/src/client/linux/handler/exception_handler.cc -+++ b/src/client/linux/handler/exception_handler.cc -@@ -138,7 +138,7 @@ - // SIGSTKSZ may be too small to prevent the signal handlers from overrunning - // the alternative stack. Ensure that the size of the alternative stack is - // large enough. -- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); -+ static const unsigned kSigStackSize = std::max((unsigned) 16384, (unsigned) SIGSTKSZ); - - // Only set an alternative stack if there isn't already one, or if the current - // one is too small. diff --git a/package/google-breakpad/google-breakpad.hash b/package/google-breakpad/google-breakpad.hash index 09f9a0cf91..03719816b5 100644 --- a/package/google-breakpad/google-breakpad.hash +++ b/package/google-breakpad/google-breakpad.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3504639ee5d7536e7f7939b80520dfcb98863e9b50673dd577d0ab2a07105acb google-breakpad-7515ab13768c7edc09f0f2ec2354dc6c928239a6-br1.tar.gz -sha256 f9752a0a4ac5215eaa3a4f0ec29cd52563c883de5d7870525cc0bc3a21cb8e15 LICENSE +sha256 52716d140ba528d36b40591ae2c7485b18023f6610414bba0057f0cc13caf256 google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf-br1.tar.gz +sha256 8d5d1311342ed55b486d778a6763f54a26002698ac0cbab64026b98033300dfd LICENSE diff --git a/package/google-breakpad/google-breakpad.mk b/package/google-breakpad/google-breakpad.mk index 8ae5f99bc7..cafe1359f3 100644 --- a/package/google-breakpad/google-breakpad.mk +++ b/package/google-breakpad/google-breakpad.mk @@ -4,14 +4,14 @@ # ################################################################################ -GOOGLE_BREAKPAD_VERSION = 7515ab13768c7edc09f0f2ec2354dc6c928239a6 +GOOGLE_BREAKPAD_VERSION = c85eb4a59b618f3beaad5445ceb1f865ffa8efdf GOOGLE_BREAKPAD_SITE = https://chromium.googlesource.com/breakpad/breakpad GOOGLE_BREAKPAD_SITE_METHOD = git GOOGLE_BREAKPAD_CONF_OPTS = --disable-processor --disable-tools # Only a static library is installed GOOGLE_BREAKPAD_INSTALL_TARGET = NO GOOGLE_BREAKPAD_INSTALL_STAGING = YES -GOOGLE_BREAKPAD_LICENSE = BSD-3-Clause +GOOGLE_BREAKPAD_LICENSE = BSD-3-Clause, MIT GOOGLE_BREAKPAD_LICENSE_FILES = LICENSE GOOGLE_BREAKPAD_DEPENDENCIES = host-google-breakpad linux-syscall-support diff --git a/package/linux-syscall-support/linux-syscall-support.hash b/package/linux-syscall-support/linux-syscall-support.hash index 3445bf1398..9d8855cf23 100644 --- a/package/linux-syscall-support/linux-syscall-support.hash +++ b/package/linux-syscall-support/linux-syscall-support.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 498efb6915ac6e65c82c712fadd3c30f9472764114c835849e02f2c092bacd2d linux-syscall-support-3f6478ac95edf86cd3da300c2c0d34a438f5dbeb-br1.tar.gz -sha256 4c1fc9acc9f3867e5c81b5d5f57c52fb9a932662bd4e2e5e43b3fe95390035f5 linux_syscall_support.h +sha256 2a12703ce59773ec714b603e46c733b03f3fbf9b4763195fae40d0042e5da3f6 linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660-br1.tar.gz +sha256 c180f12840c00224cceed7139192018d2c7e6061db4ce4310b8626f7ad10bf26 LICENSE diff --git a/package/linux-syscall-support/linux-syscall-support.mk b/package/linux-syscall-support/linux-syscall-support.mk index 050c5058ab..a4cadf03c3 100644 --- a/package/linux-syscall-support/linux-syscall-support.mk +++ b/package/linux-syscall-support/linux-syscall-support.mk @@ -5,11 +5,11 @@ ################################################################################ # Use the same version that the one used by Google-breakpad (see DEPS file) -LINUX_SYSCALL_SUPPORT_VERSION = 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb +LINUX_SYSCALL_SUPPORT_VERSION = e1e7b0ad8ee99a875b272c8e33e308472e897660 LINUX_SYSCALL_SUPPORT_SITE = https://chromium.googlesource.com/linux-syscall-support LINUX_SYSCALL_SUPPORT_SITE_METHOD = git LINUX_SYSCALL_SUPPORT_LICENSE = BSD-3-Clause -LINUX_SYSCALL_SUPPORT_LICENSE_FILES = linux_syscall_support.h +LINUX_SYSCALL_SUPPORT_LICENSE_FILES = LICENSE # Provide only one header file. LINUX_SYSCALL_SUPPORT_INSTALL_TARGET = NO From arnout at mind.be Sat Apr 23 16:26:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:26:53 +0200 Subject: [Buildroot] [PATCH] package/wtfutil: new package In-Reply-To: <20220420200102.2420626-1-yann.morin.1998@free.fr> References: <20220420200102.2420626-1-yann.morin.1998@free.fr> Message-ID: <7ee46221-720f-0cc0-d2a0-9dcaef44dd7f@mind.be> On 20/04/2022 22:01, Yann E. MORIN wrote: > Some of wtfutils modules (i.e. plugins) can call to external tools, so > it needs to fork(), so needs an MMU. > > Signed-off-by: Yann E. MORIN Applied to master, thanks. Regards, Arnout > > --- > $ ./utils/test-pkg -c wtf.cfg -d $(pwd)/test-pkg -k -p wtfutil -a > andes-nds32 [ 1/45]: SKIPPED > arm-aarch64 [ 2/45]: OK > bootlin-aarch64-glibc [ 3/45]: OK > bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED > bootlin-armv5-uclibc [ 5/45]: OK > bootlin-armv7-glibc [ 6/45]: OK > bootlin-armv7m-uclibc [ 7/45]: SKIPPED > bootlin-armv7-musl [ 8/45]: OK > bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED > bootlin-m68k-68040-uclibc [10/45]: SKIPPED > bootlin-microblazeel-uclibc [11/45]: SKIPPED > bootlin-mipsel32r6-glibc [12/45]: SKIPPED > bootlin-mipsel-uclibc [13/45]: SKIPPED > bootlin-nios2-glibc [14/45]: SKIPPED > bootlin-openrisc-uclibc [15/45]: SKIPPED > bootlin-powerpc64le-power8-glibc [16/45]: OK > bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED > bootlin-riscv32-glibc [18/45]: SKIPPED > bootlin-riscv64-glibc [19/45]: SKIPPED > bootlin-riscv64-musl [20/45]: SKIPPED > bootlin-sh4-uclibc [21/45]: SKIPPED > bootlin-sparc64-glibc [22/45]: SKIPPED > bootlin-sparc-uclibc [23/45]: SKIPPED > bootlin-x86-64-glibc [24/45]: OK > bootlin-x86-64-musl [25/45]: OK > bootlin-x86-64-uclibc [26/45]: OK > bootlin-xtensa-uclibc [27/45]: SKIPPED > br-arm-basic [28/45]: OK > br-arm-full-nothread [29/45]: OK > br-arm-full-static [30/45]: SKIPPED > br-i386-pentium4-full [31/45]: OK > br-i386-pentium-mmx-musl [32/45]: OK > br-mips64-n64-full [33/45]: OK > br-mips64r6-el-hf-glibc [34/45]: SKIPPED > br-powerpc-603e-basic-cpp [35/45]: SKIPPED > br-powerpc64-power7-glibc [36/45]: SKIPPED > linaro-aarch64-be [37/45]: SKIPPED > linaro-aarch64 [38/45]: OK > linaro-arm [39/45]: OK > sourcery-arm-armv4t [40/45]: SKIPPED > sourcery-arm [41/45]: OK > sourcery-arm-thumb2 [42/45]: OK > sourcery-mips64 [43/45]: FAILED > sourcery-mips [44/45]: SKIPPED > sourcery-nios2 [45/45]: SKIPPED > 45 builds, 26 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed > > The failing one is not even a build failure of wtfutil itself, but > really just host-go that fails to build, because of some issues because > of missing GOMIPS64 setting for soft-float, which when fixed opens > another can of worms of itself... > --- > package/Config.in | 1 + > package/wtfutil/Config.in | 8 ++++++++ > package/wtfutil/wtfutil.hash | 2 ++ > package/wtfutil/wtfutil.mk | 12 ++++++++++++ > 4 files changed, 23 insertions(+) > create mode 100644 package/wtfutil/Config.in > create mode 100644 package/wtfutil/wtfutil.hash > create mode 100644 package/wtfutil/wtfutil.mk > > diff --git a/package/Config.in b/package/Config.in > index 20d7156cea..f1e8b64e0d 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2500,6 +2500,7 @@ comment "Utilities" > source "package/tmux/Config.in" > source "package/ttyd/Config.in" > source "package/which/Config.in" > + source "package/wtfutil/Config.in" > source "package/xmlstarlet/Config.in" > source "package/xxhash/Config.in" > source "package/ytree/Config.in" > diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in > new file mode 100644 > index 0000000000..8c3efcea5d > --- /dev/null > +++ b/package/wtfutil/Config.in > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_WTFUTIL > + bool "wtfutil" > + depends on BR2_USE_MMU # fork() > + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > + help > + WTF is the personal information dashboard for your terminal. > + > + https://wtfutil.com/ > diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash > new file mode 100644 > index 0000000000..deb162794e > --- /dev/null > +++ b/package/wtfutil/wtfutil.hash > @@ -0,0 +1,2 @@ > +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz > +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md > diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk > new file mode 100644 > index 0000000000..6e841411a9 > --- /dev/null > +++ b/package/wtfutil/wtfutil.mk > @@ -0,0 +1,12 @@ > +################################################################################ > +# > +# wtfutil > +# > +################################################################################ > + > +WTFUTIL_VERSION = 0.41.0 > +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) > +WTFUTIL_LICENSE = MPL-2.0 > +WTFUTIL_LICENSE_FILES = LICENSE.md > + > +$(eval $(golang-package)) From arnout at mind.be Sat Apr 23 16:27:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:27:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: fix nios2 build In-Reply-To: <20220420164319.1114520-1-fontaine.fabrice@gmail.com> References: <20220420164319.1114520-1-fontaine.fabrice@gmail.com> Message-ID: <8c47e452-91b6-835e-a3b2-8377aa823896@mind.be> On 20/04/2022 18:43, Fabrice Fontaine wrote: > Fix the following build failure on nios2 raised since bump to version > 2021.5.0 in commit 3c66ac07a0783b21f95e699b3762edd15e27bdf9: > > In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_static.c:17, > from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/itt_notify.cpp:43: > /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h: In function 'long int __itt_interlocked_increment(volatile long int*)': > /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h:348:12: error: '__TBB_machine_fetchadd4' was not declared in this scope > 348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L; > | ^~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/2b55d1d171f21030be8312f984ea02ec8c8348a8 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...-Define-ITT_ARCH_IA64-when-undefiend.patch | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch > > diff --git a/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch > new file mode 100644 > index 0000000000..5b7f002499 > --- /dev/null > +++ b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch > @@ -0,0 +1,27 @@ > +From 6fad69889da67bc4d4baff4afa94f77da45e006d Mon Sep 17 00:00:00 2001 > +From: Felix Yan > +Date: Thu, 7 Oct 2021 14:16:16 +0800 > +Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550) > + > +[Retrieved from: > +https://github.com/oneapi-src/oneTBB/commit/6fad69889da67bc4d4baff4afa94f77da45e006d] > +Signed-off-by: Fabrice Fontaine > +--- > + src/tbb/tools_api/ittnotify_config.h | 4 ++++ > + 1 file changed, 4 insertions(+) > + > +diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h > +index 8ecc23781..f904a8e9d 100644 > +--- a/src/tbb/tools_api/ittnotify_config.h > ++++ b/src/tbb/tools_api/ittnotify_config.h > +@@ -147,6 +147,10 @@ > + # define ITT_ARCH_IA32E 2 > + #endif /* ITT_ARCH_IA32E */ > + > ++#ifndef ITT_ARCH_IA64 > ++# define ITT_ARCH_IA64 3 > ++#endif /* ITT_ARCH_IA64 */ > ++ > + #ifndef ITT_ARCH_ARM > + # define ITT_ARCH_ARM 4 > + #endif /* ITT_ARCH_ARM */ From arnout at mind.be Sat Apr 23 16:27:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:27:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/opencv4: fix uclibc build In-Reply-To: <20220420172816.1160081-1-fontaine.fabrice@gmail.com> References: <20220420172816.1160081-1-fontaine.fabrice@gmail.com> Message-ID: <9b7c0ad7-1ab5-aacf-6612-84c9b96ca8e4@mind.be> On 20/04/2022 19:28, Fabrice Fontaine wrote: > Add BR2_PACKAGE_OPENCV4_LIB_DNN to fix the following uclibc build > failure raised since bump to version 4.5.5 in commit > b6922313937712a89841b58d3b355edd53754bca and > https://github.com/opencv/opencv/commit/1feb3838b51c0b27b0f3e64f02358ff5ef3111b8: > > /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp: In member function 'float cv::dnn::RoundFunctor::calculate(float) const': > /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1260:43: error: 'fegetround' is not a member of 'std' > 1260 | int old_rounding_direction = std::fegetround(); > | ^~~~~~~~~~ > /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:14: error: 'fesetround' is not a member of 'std' > 1261 | std::fesetround(FE_TONEAREST); > | ^~~~~~~~~~ > /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:25: error: 'FE_TONEAREST' was not declared in this scope > 1261 | std::fesetround(FE_TONEAREST); > | ^~~~~~~~~~~~ > > Indeed, uclibc pretends to implement fenv but it raises build failures > on numerous architectures (or1k, sh4, xtensa, mipsel, arm, arc, riscv64, > etc.) > > Fixes: > - http://autobuild.buildroot.org/results/a6dd3c10acfbf6bc1af867d770cf0ce926c6ce84 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/opencv4/Config.in | 11 +++++++++++ > package/opencv4/opencv4.mk | 1 + > 2 files changed, 12 insertions(+) > > diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in > index 23d34a9d22..a61a106952 100644 > --- a/package/opencv4/Config.in > +++ b/package/opencv4/Config.in > @@ -30,6 +30,17 @@ config BR2_PACKAGE_OPENCV4_LIB_CALIB3D > Include opencv_calib3d (camera calibration and 3d > reconstruction) module into the OpenCV build. > > +config BR2_PACKAGE_OPENCV4_LIB_DNN > + bool "dnn" > + # dnn needs fenv.h which is not provided by uclibc > + depends on !BR2_TOOLCHAIN_USES_UCLIBC > + help > + Include opencv_dnn (Deep Neural Networks) module into the > + OpenCV build. > + > +comment "dnn needs a glibc or musl toolchain" > + depends on BR2_TOOLCHAIN_USES_UCLIBC > + > config BR2_PACKAGE_OPENCV4_LIB_FEATURES2D > bool "features2d" > select BR2_PACKAGE_OPENCV4_LIB_FLANN > diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk > index 0563026b18..84e0487dc4 100644 > --- a/package/opencv4/opencv4.mk > +++ b/package/opencv4/opencv4.mk > @@ -92,6 +92,7 @@ OPENCV4_CONF_OPTS += \ > -DBUILD_opencv_apps=OFF \ > -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV4_LIB_CALIB3D),ON,OFF) \ > -DBUILD_opencv_core=ON \ > + -DBUILD_opencv_dnn=$(if $(BR2_PACKAGE_OPENCV4_LIB_DNN),ON,OFF) \ > -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV4_LIB_FEATURES2D),ON,OFF) \ > -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV4_LIB_FLANN),ON,OFF) \ > -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV4_LIB_HIGHGUI),ON,OFF) \ From arnout at mind.be Sat Apr 23 16:28:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:28:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools-rust: bump to version 1.2.0 In-Reply-To: <20220420203720.1002314-1-james.hilliard1@gmail.com> References: <20220420203720.1002314-1-james.hilliard1@gmail.com> Message-ID: <430efc4e-c0e5-e2a6-e540-4849d0628cbf@mind.be> On 20/04/2022 22:37, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- > package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash > index 6bb42d918c..ae3a3463a5 100644 > --- a/package/python-setuptools-rust/python-setuptools-rust.hash > +++ b/package/python-setuptools-rust/python-setuptools-rust.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json > -md5 479fcd267ff48929bec9a7270e1a96d7 setuptools-rust-1.1.2.tar.gz > -sha256 a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1 setuptools-rust-1.1.2.tar.gz > +md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz > +sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz > # Locally computed sha256 checksums > sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE > diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk > index 394789b056..c2d8c6d9a7 100644 > --- a/package/python-setuptools-rust/python-setuptools-rust.mk > +++ b/package/python-setuptools-rust/python-setuptools-rust.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -PYTHON_SETUPTOOLS_RUST_VERSION = 1.1.2 > +PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 > PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz > -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a > +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 > PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools > PYTHON_SETUPTOOLS_RUST_LICENSE = MIT > PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 23 16:28:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:28:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstd: fix init file installation In-Reply-To: <20220421063028.3647447-1-james.hilliard1@gmail.com> References: <20220421063028.3647447-1-james.hilliard1@gmail.com> Message-ID: <9b049497-c0c9-3867-dd3b-10d4ff7374db@mind.be> On 21/04/2022 08:30, James Hilliard wrote: > Fix a bug where the init subdir was accidentially removed from meson. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > ...-meson.build-add-missing-init-subdir.patch | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch > > diff --git a/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch > new file mode 100644 > index 0000000000..ed3738e3d4 > --- /dev/null > +++ b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch > @@ -0,0 +1,28 @@ > +From 689265cd522c770ad3e0391cae80ee884a8c475c Mon Sep 17 00:00:00 2001 > +From: James Hilliard > +Date: Thu, 21 Apr 2022 01:14:52 -0500 > +Subject: [PATCH] meson.build: add missing init subdir > + > +Seems this got accidentially removed in: > +9f4490138c8892b1c86008134438b2ab405c9b0f > + > +Restore it so that init files are properly installed. > + > +Signed-off-by: James Hilliard > +[upstreeam: https://github.com/RidgeRun/gstd-1.x/pull/291] > +--- > + meson.build | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/meson.build b/meson.build > +index a30f776..7a8690a 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -300,3 +300,4 @@ subdir('gst_client') > + subdir('tests') > + subdir('examples') > + subdir('docs') > ++subdir('init') > +-- > +2.25.1 > + From arnout at mind.be Sat Apr 23 16:28:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:28:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/erofs-utils: fix build with gcc 4.8 In-Reply-To: <20220421072739.1816817-1-fontaine.fabrice@gmail.com> References: <20220421072739.1816817-1-fontaine.fabrice@gmail.com> Message-ID: <1ad88336-ca06-7b9d-7da4-dae65818731a@mind.be> On 21/04/2022 09:27, Fabrice Fontaine wrote: > Add upstream patch to disable -Werror and fix the following build > failure with gcc 4.8 raised since bump to version 1.4 in commit > c2e32e655802ad917eb240b8c2b7ac343ab55ec1 and > https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a5df3b3acf545af289cb47faa6de0: > > In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, > from ../include/erofs/internal.h:242, > from ../include/erofs/inode.h:11, > from main.c:12: > In function 'memset', > inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: > /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] > __warn_memset_zero_len (); > ^ > > Fixes: > - http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../erofs-utils/0005-Add-disable-werror.patch | 136 ++++++++++++++++++ > 1 file changed, 136 insertions(+) > create mode 100644 package/erofs-utils/0005-Add-disable-werror.patch > > diff --git a/package/erofs-utils/0005-Add-disable-werror.patch b/package/erofs-utils/0005-Add-disable-werror.patch > new file mode 100644 > index 0000000000..8b286c3265 > --- /dev/null > +++ b/package/erofs-utils/0005-Add-disable-werror.patch > @@ -0,0 +1,136 @@ > +From eb79816f85db164af732a5bcbb42d09214845874 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Thu, 21 Apr 2022 00:10:18 +0200 > +Subject: erofs-utils: add --disable-werror > + > +Add an option to disable -Werror to fix the following build failure [1] with > +gcc 4.8 raised since version 1.4 and [2] > + > +In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, > + from ../include/erofs/internal.h:242, > + from ../include/erofs/inode.h:11, > + from main.c:12: > +In function 'memset', > + inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: > +/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] > + __warn_memset_zero_len (); > + > +[1] http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 > +[2] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a > +Signed-off-by: Fabrice Fontaine > +Link: https://lore.kernel.org/r/20220420221018.1396105-1-fontaine.fabrice at gmail.com > +Signed-off-by: Gao Xiang > +[Retrieved (and backported) from: > +https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?h=dev&id=eb79816f85db164af732a5bcbb42d09214845874] > +--- > + configure.ac | 13 ++++++++++++- > + dump/Makefile.am | 2 +- > + fsck/Makefile.am | 2 +- > + fuse/Makefile.am | 2 +- > + lib/Makefile.am | 2 +- > + mkfs/Makefile.am | 2 +- > + 6 files changed, 17 insertions(+), 6 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index fa917e6..53bf882 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([config.h.in]) > + AC_CONFIG_HEADERS([config.h]) > + AC_CONFIG_MACRO_DIR([m4]) > + AC_CONFIG_AUX_DIR(config) > +-AM_INIT_AUTOMAKE([foreign -Wall -Werror]) > ++AM_INIT_AUTOMAKE([foreign -Wall]) > + > + # Checks for programs. > + AM_PROG_AR > +@@ -65,6 +65,12 @@ AC_ARG_ENABLE([debug], > + [enable_debug="$enableval"], > + [enable_debug="no"]) > + > ++AC_ARG_ENABLE([werror], > ++ [AS_HELP_STRING([--enable-werror], > ++ [enable -Werror @<:@default=no@:>@])], > ++ [enable_werror="$enableval"], > ++ [enable_werror="no"]) > ++ > + AC_ARG_ENABLE(lz4, > + [AS_HELP_STRING([--disable-lz4], [disable LZ4 compression support @<:@default=enabled@:>@])], > + [enable_lz4="$enableval"], [enable_lz4="yes"]) > +@@ -197,6 +203,11 @@ AS_IF([test "x$enable_debug" != "xno"], [], [ > + CPPFLAGS="$CPPFLAGS -DNDEBUG" > + ]) > + > ++# Configure -Werror > ++AS_IF([test "x$enable_werror" != "xyes"], [], [ > ++ CPPFLAGS="$CPPFLAGS -Werror" > ++]) > ++ > + # Configure libuuid > + AS_IF([test "x$with_uuid" != "xno"], [ > + PKG_CHECK_MODULES([libuuid], [uuid]) > +diff --git a/dump/Makefile.am b/dump/Makefile.am > +index 9f0cd3f..c2bef6d 100644 > +--- a/dump/Makefile.am > ++++ b/dump/Makefile.am > +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign > + bin_PROGRAMS = dump.erofs > + AM_CPPFLAGS = ${libuuid_CFLAGS} > + dump_erofs_SOURCES = main.c > +-dump_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++dump_erofs_CFLAGS = -Wall -I$(top_srcdir)/include > + dump_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ > + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} > +diff --git a/fsck/Makefile.am b/fsck/Makefile.am > +index 55b31ea..e6a1fb6 100644 > +--- a/fsck/Makefile.am > ++++ b/fsck/Makefile.am > +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign > + bin_PROGRAMS = fsck.erofs > + AM_CPPFLAGS = ${libuuid_CFLAGS} > + fsck_erofs_SOURCES = main.c > +-fsck_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++fsck_erofs_CFLAGS = -Wall -I$(top_srcdir)/include > + fsck_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ > + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} > +diff --git a/fuse/Makefile.am b/fuse/Makefile.am > +index 5aa5ac0..3179a2b 100644 > +--- a/fuse/Makefile.am > ++++ b/fuse/Makefile.am > +@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign > + noinst_HEADERS = $(top_srcdir)/fuse/macosx.h > + bin_PROGRAMS = erofsfuse > + erofsfuse_SOURCES = dir.c main.c > +-erofsfuse_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++erofsfuse_CFLAGS = -Wall -I$(top_srcdir)/include > + erofsfuse_CFLAGS += -DFUSE_USE_VERSION=26 ${libfuse_CFLAGS} ${libselinux_CFLAGS} > + erofsfuse_LDADD = $(top_builddir)/lib/liberofs.la ${libfuse_LIBS} ${liblz4_LIBS} \ > + ${libselinux_LIBS} ${liblzma_LIBS} > +diff --git a/lib/Makefile.am b/lib/Makefile.am > +index 4a25013..3fad357 100644 > +--- a/lib/Makefile.am > ++++ b/lib/Makefile.am > +@@ -28,7 +28,7 @@ noinst_HEADERS += compressor.h > + liberofs_la_SOURCES = config.c io.c cache.c super.c inode.c xattr.c exclude.c \ > + namei.c data.c compress.c compressor.c zmap.c decompress.c \ > + compress_hints.c hashmap.c sha256.c blobchunk.c > +-liberofs_la_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++liberofs_la_CFLAGS = -Wall -I$(top_srcdir)/include > + if ENABLE_LZ4 > + liberofs_la_CFLAGS += ${LZ4_CFLAGS} > + liberofs_la_SOURCES += compressor_lz4.c > +diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am > +index 2a4bc1d..709d9bf 100644 > +--- a/mkfs/Makefile.am > ++++ b/mkfs/Makefile.am > +@@ -4,6 +4,6 @@ AUTOMAKE_OPTIONS = foreign > + bin_PROGRAMS = mkfs.erofs > + AM_CPPFLAGS = ${libuuid_CFLAGS} ${libselinux_CFLAGS} > + mkfs_erofs_SOURCES = main.c > +-mkfs_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include > ++mkfs_erofs_CFLAGS = -Wall -I$(top_srcdir)/include > + mkfs_erofs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ > + ${liblz4_LIBS} ${liblzma_LIBS} > +-- > +cgit > + From arnout at mind.be Sat Apr 23 16:28:54 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:28:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/vde2: fix build with BR2_OPTIMIZE_0 In-Reply-To: <20220421091907.2774561-1-fontaine.fabrice@gmail.com> References: <20220421091907.2774561-1-fontaine.fabrice@gmail.com> Message-ID: <3969c6c8-1f92-e07d-ef4a-eb751a86cac9@mind.be> On 21/04/2022 11:19, Fabrice Fontaine wrote: > Fix the following build failure with BR2_OPTIMIZE_0: > > /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': > vde_l3.c:(.text+0xb30): undefined reference to `iphead' > > Fixes: > - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...de_l3-Add-static-to-inline-functions.patch | 37 +++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch > > diff --git a/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch > new file mode 100644 > index 0000000000..7f771dfc7e > --- /dev/null > +++ b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch > @@ -0,0 +1,37 @@ > +vde_l3: Add static to inline functions > + > +Add static to inline functions to avoid the following build failure > +with BR2_OPTIMIZE_0: > + > +/home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': > +vde_l3.c:(.text+0xb30): undefined reference to `iphead' > + > +Fixes: > + - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d > + > +Signed-off-by: Fabrice Fontaine > + > +diff -Nura vde2-2.3.2.orig/src/vde_l3/vde_l3.c vde2-2.3.2/src/vde_l3/vde_l3.c > +--- vde2-2.3.2.orig/src/vde_l3/vde_l3.c 2022-04-21 11:05:17.393452698 +0200 > ++++ vde2-2.3.2/src/vde_l3/vde_l3.c 2022-04-21 11:10:36.509804404 +0200 > +@@ -100,17 +100,17 @@ > + }; > + > + > +-inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) > ++static inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) > + { > + return (struct vde_ethernet_header*)(vdb->data); > + } > + > +-inline struct iphdr *iphead(struct vde_buff *vdb) > ++static inline struct iphdr *iphead(struct vde_buff *vdb) > + { > + return (struct iphdr*)(vdb->data + 14); > + } > + > +-inline void *payload(struct vde_buff *vdb) > ++static inline void *payload(struct vde_buff *vdb) > + { > + return (uint8_t*)(vdb->data + 14 + sizeof(struct iphdr)); > + } From arnout at mind.be Sat Apr 23 16:29:12 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:29:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/argp-standalone: bump to version 1.4.1 In-Reply-To: <20220421100233.3845088-1-fontaine.fabrice@gmail.com> References: <20220421100233.3845088-1-fontaine.fabrice@gmail.com> Message-ID: <9846bb96-bb58-48fb-6e17-2dc5c1e88166@mind.be> On 21/04/2022 12:02, Fabrice Fontaine wrote: > - Switch site to an up-to-date fork > - Drop first and second patches (not needed since: > https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b > https://github.com/ericonr/argp-standalone/commit/80691135993109ec0c8a41327418195fc6d82694 > - Drop third patch (not needed since: > https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043) > - License is LGPL-2.1+ since > https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b > - README.md can be used as the license file since > https://github.com/ericonr/argp-standalone/commit/da0206414df4fe55f70b6dfba86ec232acf5d444 > - This bump will also fix the following build failure with > BR2_OPTIMIZE_0 thanks to > https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: > > /nvmedata/autobuild/instance-27/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: libargp.a(argp-help.o): in function `indent_to': > /nvmedata/autobuild/instance-27/output-1/build/argp-standalone-1.3/argp-help.c:930: undefined reference to `argp_fmtstream_point' > > Fixes: > - http://autobuild.buildroot.org/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-throw-in-funcdef.patch | 79 ------------------- > package/argp-standalone/0002-isprint.patch | 45 ----------- > .../0003-fix_build_with_c99_compilers.patch | 68 ---------------- > package/argp-standalone/Config.in | 2 +- > package/argp-standalone/argp-standalone.hash | 4 +- > package/argp-standalone/argp-standalone.mk | 11 ++- > 6 files changed, 10 insertions(+), 199 deletions(-) > delete mode 100644 package/argp-standalone/0001-throw-in-funcdef.patch > delete mode 100644 package/argp-standalone/0002-isprint.patch > delete mode 100644 package/argp-standalone/0003-fix_build_with_c99_compilers.patch > > diff --git a/package/argp-standalone/0001-throw-in-funcdef.patch b/package/argp-standalone/0001-throw-in-funcdef.patch > deleted file mode 100644 > index 4a90751e1e..0000000000 > --- a/package/argp-standalone/0001-throw-in-funcdef.patch > +++ /dev/null > @@ -1,79 +0,0 @@ > -# --- T2-COPYRIGHT-NOTE-BEGIN --- > -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. > -# > -# T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone > -# Copyright (C) 2006 The T2 SDE Project > -# > -# More information can be found in the files COPYING and README. > -# > -# This patch file is dual-licensed. It is available under the license the > -# patched project is licensed under, as long as it is an OpenSource license > -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms > -# of the GNU General Public License as published by the Free Software > -# Foundation; either version 2 of the License, or (at your option) any later > -# version. > -# --- T2-COPYRIGHT-NOTE-END --- > - > - > -No __THROW in function implementation. > - --jsaw > - > ---- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100 > -+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100 > -@@ -560,17 +560,17 @@ > - # endif > - > - # ifndef ARGP_EI > --# define ARGP_EI extern __inline__ > -+# define ARGP_EI extern inline > - # endif > - > - ARGP_EI void > --__argp_usage (__const struct argp_state *__state) __THROW > -+__argp_usage (__const struct argp_state *__state) > - { > - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); > - } > - > - ARGP_EI int > --__option_is_short (__const struct argp_option *__opt) __THROW > -+__option_is_short (__const struct argp_option *__opt) > - { > - if (__opt->flags & OPTION_DOC) > - return 0; > -@@ -582,7 +582,7 @@ > - } > - > - ARGP_EI int > --__option_is_end (__const struct argp_option *__opt) __THROW > -+__option_is_end (__const struct argp_option *__opt) > - { > - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; > - } > ---- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100 > -+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100 > -@@ -1290,13 +1290,13 @@ > - /* Defined here, in case a user is not inlining the definitions in > - * argp.h */ > - void > --__argp_usage (__const struct argp_state *__state) __THROW > -+__argp_usage (__const struct argp_state *__state) > - { > - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); > - } > - > - int > --__option_is_short (__const struct argp_option *__opt) __THROW > -+__option_is_short (__const struct argp_option *__opt) > - { > - if (__opt->flags & OPTION_DOC) > - return 0; > -@@ -1310,7 +1310,7 @@ > - } > - > - int > --__option_is_end (__const struct argp_option *__opt) __THROW > -+__option_is_end (__const struct argp_option *__opt) > - { > - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; > - } > diff --git a/package/argp-standalone/0002-isprint.patch b/package/argp-standalone/0002-isprint.patch > deleted file mode 100644 > index 9c08366f68..0000000000 > --- a/package/argp-standalone/0002-isprint.patch > +++ /dev/null > @@ -1,45 +0,0 @@ > -Subject: restrict value range passed to isprint function > - > -According to C standards isprint argument shall be representable as an > -unsigned char or be equal to EOF, otherwise the behaviour is undefined. > - > -Passing arbitrary ints leads to segfault in nm program from elfutils. > - > -Restrict isprint argument range to values representable by unsigned char. > - > -Signed-off-by: Max Filippov > ---- > -Index: b/argp.h > -=================================================================== > ---- a/argp.h > -+++ b/argp.h > -@@ -23,6 +23,7 @@ > - > - #include > - #include > -+#include > - > - #define __need_error_t > - #include > -@@ -577,7 +578,7 @@ > - else > - { > - int __key = __opt->key; > -- return __key > 0 && isprint (__key); > -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); > - } > - } > - > -Index: b/argp-parse.c > -=================================================================== > ---- a/argp-parse.c > -+++ b/argp-parse.c > -@@ -1292,7 +1292,7 @@ > - int __key = __opt->key; > - /* FIXME: whether or not a particular key implies a short option > - * ought not to be locale dependent. */ > -- return __key > 0 && isprint (__key); > -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); > - } > - } > - > diff --git a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch b/package/argp-standalone/0003-fix_build_with_c99_compilers.patch > deleted file mode 100644 > index 56b753b607..0000000000 > --- a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch > +++ /dev/null > @@ -1,68 +0,0 @@ > -From b2dfa011a3fdcb7d22764d143517d0fbd1c2a201 Mon Sep 17 00:00:00 2001 > -From: Emmanuel Dreyfus > -Date: Wed, 22 Jan 2014 14:47:23 +0100 > -Subject: [PATCH] Fix build with c99 compilers > - > -BUG: 764655 > -Change-Id: If5dfdc9c7427bd3d39d8da8f79e33ae2da6a3137 > -Signed-off-by: Emmanuel Dreyfus > -Reviewed-on: http://review.gluster.org/6034 > -Reviewed-by: Harshavardhana > -Tested-by: Gluster Build System > ---- > - > -diff --git a/argp-fmtstream.c b/argp-fmtstream.c > -index 7f79285..494b6b3 100644 > ---- a/argp-fmtstream.c > -+++ b/argp-fmtstream.c > -@@ -389,6 +389,7 @@ > - weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf) > - #endif > - > -+#if __STDC_VERSION__ - 199900L < 1 > - /* Duplicate the inline definitions in argp-fmtstream.h, for compilers > - * that don't do inlining. */ > - size_t > -@@ -471,5 +472,6 @@ > - __argp_fmtstream_update (__fs); > - return __fs->point_col >= 0 ? __fs->point_col : 0; > - } > -+#endif /* __STDC_VERSION__ - 199900L < 1 */ > - > - #endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ > -diff --git a/argp-fmtstream.h b/argp-fmtstream.h > -index e797b11..828f435 100644 > ---- a/argp-fmtstream.h > -+++ b/argp-fmtstream.h > -@@ -153,6 +153,7 @@ > - __const char *__fmt, ...) > - PRINTF_STYLE(2,3); > - > -+#if __STDC_VERSION__ - 199900L < 1 > - extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); > - extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); > - > -@@ -163,6 +164,7 @@ > - __const char *__str, size_t __len); > - extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, > - __const char *__str, size_t __len); > -+#endif /* __STDC_VERSION__ - 199900L < 1 */ > - > - /* Access macros for various bits of state. */ > - #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) > -@@ -172,6 +174,7 @@ > - #define __argp_fmtstream_rmargin argp_fmtstream_rmargin > - #define __argp_fmtstream_wmargin argp_fmtstream_wmargin > - > -+#if __STDC_VERSION__ - 199900L < 1 > - /* Set __FS's left margin to LMARGIN and return the old value. */ > - extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, > - size_t __lmargin); > -@@ -193,6 +196,7 @@ > - /* Return the column number of the current output point in __FS. */ > - extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); > - extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); > -+#endif /* __STDC_VERSION__ - 199900L < 1 */ > - > - /* Internal routines. */ > - extern void _argp_fmtstream_update (argp_fmtstream_t __fs); > diff --git a/package/argp-standalone/Config.in b/package/argp-standalone/Config.in > index 3319dd945c..891d4aedaa 100644 > --- a/package/argp-standalone/Config.in > +++ b/package/argp-standalone/Config.in > @@ -5,4 +5,4 @@ config BR2_PACKAGE_ARGP_STANDALONE > help > Glibc hierarchical argument parsing standalone library. > > - http://www.lysator.liu.se/~nisse/misc/ > + https://github.com/ericonr/argp-standalone/ > diff --git a/package/argp-standalone/argp-standalone.hash b/package/argp-standalone/argp-standalone.hash > index c780f9e53f..1e56c663d4 100644 > --- a/package/argp-standalone/argp-standalone.hash > +++ b/package/argp-standalone/argp-standalone.hash > @@ -1,5 +1,5 @@ > # Locally calculated after checking pgp signature > -sha256 dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be argp-standalone-1.3.tar.gz > +sha256 879d76374424dce051b812f16f43c6d16de8dbaddd76002f83fd1b6e57d39e0b argp-standalone-1.4.1.tar.gz > > # License file > -sha256 bbb8919aa520069b0234faf5e83a94052d278419ffe97ca8e843ecc9b212d1ab argp.h > +sha256 b5db0353a5b1902fc8a2e055d8899dd0c189ce73a31e67af9a0ffc24711b63f0 README.md > diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk > index 651bc400f4..80ca04046d 100644 > --- a/package/argp-standalone/argp-standalone.mk > +++ b/package/argp-standalone/argp-standalone.mk > @@ -4,11 +4,14 @@ > # > ################################################################################ > > -ARGP_STANDALONE_VERSION = 1.3 > -ARGP_STANDALONE_SITE = http://www.lysator.liu.se/~nisse/archive > +ARGP_STANDALONE_VERSION = 1.4.1 > +ARGP_STANDALONE_SITE = \ > + $(call github,ericonr,argp-standalone,$(ARGP_STANDALONE_VERSION)) > ARGP_STANDALONE_INSTALL_STAGING = YES > -ARGP_STANDALONE_LICENSE = LGPL-2.0+ > -ARGP_STANDALONE_LICENSE_FILES = argp.h > +ARGP_STANDALONE_LICENSE = LGPL-2.1+ > +ARGP_STANDALONE_LICENSE_FILES = README.md > +# From git > +ARGP_STANDALONE_AUTORECONF = YES > > ARGP_STANDALONE_CONF_ENV = \ > CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" From arnout at mind.be Sat Apr 23 16:30:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:30:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: fix compilation for uclibc In-Reply-To: <20220421102410.3794-1-dariobin@libero.it> References: <20220421102410.3794-1-dariobin@libero.it> Message-ID: <53e35dcc-6ace-0c5d-bd41-b3efbbd94c41@mind.be> On 21/04/2022 12:24, Dario Binacchi wrote: > - Add upstream patch ([1]) to fix compilation for uclibc > > - Add autoreconf as the patch touches configure.ac > > [1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=9c9fd9ae24b45f915f0759d32f662835c26d37c3 > > Signed-off-by: Dario Binacchi > Signed-off-by: Dario Binacchi [snip] > diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk > index 52f2a04ffa..a5600a81b8 100644 > --- a/package/valgrind/valgrind.mk > +++ b/package/valgrind/valgrind.mk > @@ -14,6 +14,7 @@ VALGRIND_CONF_OPTS = \ > --disable-ubsan \ > --without-mpicc > VALGRIND_INSTALL_STAGING = YES > +VALGRIND_AUTORECONF=YES You should add a comment above to track why autoreconf is needed. Applied to master with that fixed, thanks. Regards, Arnout > > # Valgrind must be compiled with no stack protection, so forcefully > # pass -fno-stack-protector to override what Buildroot may have in From arnout at mind.be Sat Apr 23 16:30:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:30:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/arptables: fix build with BR2_OPTIMIZE_0 In-Reply-To: <20220421115529.2625137-1-fontaine.fabrice@gmail.com> References: <20220421115529.2625137-1-fontaine.fabrice@gmail.com> Message-ID: <79e52372-031a-2836-b2ab-2f78f629d29f@mind.be> On 21/04/2022 13:55, Fabrice Fontaine wrote: > Fix the following build failure with BR2_OPTIMIZE_0 raised since the > addition of the package in commit > efc10eb6b87884f1f7917462d78af6953fcd99e3 and > https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: > > libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' > 48 | #define GET_TARGET arpt_get_target > | ^~~~~~~~~~~~~~~ > libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' > 16 | GET_TARGET(STRUCT_ENTRY *e) > | ^~~~~~~~~~ > In file included from .//include/libarptc/libarptc.h:7, > from libarptc/libarptc.c:26: > .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here > 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) > | ^~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 > > Signed-off-by: Fabrice Fontaine > --- > ...tc-libarptc_incl.c-fix-build-with-O0.patch | 49 +++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > > diff --git a/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > new file mode 100644 > index 0000000000..29f2d714e2 > --- /dev/null > +++ b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > @@ -0,0 +1,49 @@ > +From 7d8285ae92253017a15282dd25f76d76eed49518 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Thu, 21 Apr 2022 13:43:23 +0200 > +Subject: [PATCH] libarptc/libarptc_incl.c: fix build with -O0 > + > +Fix the following build failure with -O0: > + > +libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' > + 48 | #define GET_TARGET arpt_get_target > + | ^~~~~~~~~~~~~~~ > +libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' > + 16 | GET_TARGET(STRUCT_ENTRY *e) > + | ^~~~~~~~~~ > +In file included from .//include/libarptc/libarptc.h:7, > + from libarptc/libarptc.c:26: > +.//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here > + 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) > + | ^~~~~~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 > + > +Signed-off-by: Fabrice Fontaine No upstream reference? Is upstream dead? Applied to master, thanks. Regards, Arnout > +--- > + libarptc/libarptc_incl.c | 8 -------- > + 1 file changed, 8 deletions(-) > + > +diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c > +index c4d5de3..441f2de 100644 > +--- a/libarptc/libarptc_incl.c > ++++ b/libarptc/libarptc_incl.c > +@@ -11,14 +11,6 @@ > + /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See > + COPYING for details). */ > + > +-#ifndef __OPTIMIZE__ > +-STRUCT_ENTRY_TARGET * > +-GET_TARGET(STRUCT_ENTRY *e) > +-{ > +- return (void *)e + e->target_offset; > +-} > +-#endif > +- > + static int sockfd = -1; > + static void *arptc_fn = NULL; > + > +-- > +2.35.1 > + From arnout at mind.be Sat Apr 23 16:31:06 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:31:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-zattoo: bump version to 19.7.13-Matrix In-Reply-To: <20220421171257.2675041-1-bernd.kuhls@t-online.de> References: <20220421171257.2675041-1-bernd.kuhls@t-online.de> Message-ID: <54ceb68b-1dd9-f0d4-a3ef-d6116e26766f@mind.be> On 21/04/2022 19:12, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- > package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash > index 0b88d5c747..4f9a60e942 100644 > --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash > +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 07d96b1b0c3b464c0bf02279fa8cab9ccdf675344129f3a970b14bafce225fb4 kodi-pvr-zattoo-19.7.11-Matrix.tar.gz > +sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz > sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md > diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk > index 95c5de0925..f2badeaa05 100644 > --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk > +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_PVR_ZATTOO_VERSION = 19.7.11-Matrix > +KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix > KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) > KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ > KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md From arnout at mind.be Sat Apr 23 16:31:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:31:37 +0200 Subject: [Buildroot] [PATCH 1/2] package/intel-mediadriver: bump version to 22.4.0 In-Reply-To: <20220421172407.2759939-1-bernd.kuhls@t-online.de> References: <20220421172407.2759939-1-bernd.kuhls@t-online.de> Message-ID: On 21/04/2022 19:24, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied both to master, thanks. Regards, Arnout > --- > package/intel-mediadriver/intel-mediadriver.hash | 2 +- > package/intel-mediadriver/intel-mediadriver.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash > index 5c3d25eed8..e6cd7a1cd3 100644 > --- a/package/intel-mediadriver/intel-mediadriver.hash > +++ b/package/intel-mediadriver/intel-mediadriver.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz > +sha256 f070527b141174970a17195d0225ed43693c39fec83cd5e6d0effaa88e2a5553 intel-media-22.4.0.tar.gz > sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md > diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk > index 4280f7fd29..f3833fcc45 100644 > --- a/package/intel-mediadriver/intel-mediadriver.mk > +++ b/package/intel-mediadriver/intel-mediadriver.mk > @@ -6,7 +6,7 @@ > > # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack > > -INTEL_MEDIADRIVER_VERSION = 22.3.1 > +INTEL_MEDIADRIVER_VERSION = 22.4.0 > INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive > INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz > INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause From arnout at mind.be Sat Apr 23 16:31:52 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:31:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/coreutils: drop patch In-Reply-To: <20220421214030.2348966-1-fontaine.fabrice@gmail.com> References: <20220421214030.2348966-1-fontaine.fabrice@gmail.com> Message-ID: <8cc1278f-4187-8bcd-1879-1ac9db92ca1b@mind.be> On 21/04/2022 23:40, Fabrice Fontaine wrote: > Drop patch as it is not needed since bump to version 9.1 in commit > 908caefa91dbf70e7f40c61113f0f1ae2b83230d because gnulib has been updated > with > https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...andom.c-fix-build-with-uclibc-1.0.35.patch | 46 ------------------- > 1 file changed, 46 deletions(-) > delete mode 100644 package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch > > diff --git a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch > deleted file mode 100644 > index 88390a1124..0000000000 > --- a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch > +++ /dev/null > @@ -1,46 +0,0 @@ > -From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 > -From: Fabrice Fontaine > -Date: Thu, 1 Apr 2021 07:49:46 +0200 > -Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 > - > -Fix the following build failure with uclibc < 1.0.35 which is raised > -since the addition of getrandom module in > -https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: > - > -In file included from ./sys/random.h:40, > - from getrandom.c:22: > -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' > - 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) > - | ^~~~~~ > -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? > - 7 | #include > - +++ |+#include > - 8 | > - > -This patch is not upstreamable as it is only a workaround for > -uclibc < 1.0.35, upstream uclibc has been patched with > -https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 > - > -Fixes: > - - http://autobuild.buildroot.org/results/c69f5c8b8e53ed3de753f0c6d2cdd99497504b49 > - > -Signed-off-by: Fabrice Fontaine > ---- > - lib/getrandom.c | 1 + > - 1 file changed, 1 insertion(+) > - > -diff --git a/lib/getrandom.c b/lib/getrandom.c > -index 41212fb32..0ad3f9648 100644 > ---- a/lib/getrandom.c > -+++ b/lib/getrandom.c > -@@ -19,6 +19,7 @@ > - > - #include > - > -+#include > - #include > - > - #include > --- > -2.30.2 > - From arnout at mind.be Sat Apr 23 16:32:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 23 Apr 2022 18:32:28 +0200 Subject: [Buildroot] [PATCH 1/2] package/zlog: add ZLOG_CPE_ID_VENDOR In-Reply-To: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> References: <20220421215444.3798671-1-fontaine.fabrice@gmail.com> Message-ID: On 21/04/2022 23:54, Fabrice Fontaine wrote: > cpe:2.3:a:zlog_project:zlog is a valid CPE identifier for this package: > > https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azlog_project%3Azlog > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > package/zlog/zlog.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk > index e2410d3665..c7b7035c1f 100644 > --- a/package/zlog/zlog.mk > +++ b/package/zlog/zlog.mk > @@ -8,6 +8,7 @@ ZLOG_VERSION = 1.2.15 > ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION)) > ZLOG_LICENSE = LGPL-2.1 > ZLOG_LICENSE_FILES = COPYING > +ZLOG_CPE_ID_VENDOR = zlog_project > ZLOG_INSTALL_STAGING = YES > > define ZLOG_BUILD_CMDS From arnout at mind.be Sat Apr 23 16:15:07 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:07 +0200 Subject: [Buildroot] [git commit] package/opencv4: fix uclibc build Message-ID: <20220423162249.4F3207FB06@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cc10bd5777af492b786c7d6c7fc917b855c6b7d8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add BR2_PACKAGE_OPENCV4_LIB_DNN to fix the following uclibc build failure raised since bump to version 4.5.5 in commit b6922313937712a89841b58d3b355edd53754bca and https://github.com/opencv/opencv/commit/1feb3838b51c0b27b0f3e64f02358ff5ef3111b8: /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp: In member function 'float cv::dnn::RoundFunctor::calculate(float) const': /home/giuliobenetti/autobuild/run/instance-3/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1260:43: error: 'fegetround' is not a member of 'std' 1260 | int old_rounding_direction = std::fegetround(); | ^~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:14: error: 'fesetround' is not a member of 'std' 1261 | std::fesetround(FE_TONEAREST); | ^~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/opencv4-4.5.5/modules/dnn/src/layers/elementwise_layers.cpp:1261:25: error: 'FE_TONEAREST' was not declared in this scope 1261 | std::fesetround(FE_TONEAREST); | ^~~~~~~~~~~~ Indeed, uclibc pretends to implement fenv but it raises build failures on numerous architectures (or1k, sh4, xtensa, mipsel, arm, arc, riscv64, etc.) Fixes: - http://autobuild.buildroot.org/results/a6dd3c10acfbf6bc1af867d770cf0ce926c6ce84 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/opencv4/Config.in | 11 +++++++++++ package/opencv4/opencv4.mk | 1 + 2 files changed, 12 insertions(+) diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in index 23d34a9d22..a61a106952 100644 --- a/package/opencv4/Config.in +++ b/package/opencv4/Config.in @@ -30,6 +30,17 @@ config BR2_PACKAGE_OPENCV4_LIB_CALIB3D Include opencv_calib3d (camera calibration and 3d reconstruction) module into the OpenCV build. +config BR2_PACKAGE_OPENCV4_LIB_DNN + bool "dnn" + # dnn needs fenv.h which is not provided by uclibc + depends on !BR2_TOOLCHAIN_USES_UCLIBC + help + Include opencv_dnn (Deep Neural Networks) module into the + OpenCV build. + +comment "dnn needs a glibc or musl toolchain" + depends on BR2_TOOLCHAIN_USES_UCLIBC + config BR2_PACKAGE_OPENCV4_LIB_FEATURES2D bool "features2d" select BR2_PACKAGE_OPENCV4_LIB_FLANN diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index 0563026b18..84e0487dc4 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -92,6 +92,7 @@ OPENCV4_CONF_OPTS += \ -DBUILD_opencv_apps=OFF \ -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV4_LIB_CALIB3D),ON,OFF) \ -DBUILD_opencv_core=ON \ + -DBUILD_opencv_dnn=$(if $(BR2_PACKAGE_OPENCV4_LIB_DNN),ON,OFF) \ -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV4_LIB_FEATURES2D),ON,OFF) \ -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV4_LIB_FLANN),ON,OFF) \ -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV4_LIB_HIGHGUI),ON,OFF) \ From arnout at mind.be Sat Apr 23 16:15:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:16 +0200 Subject: [Buildroot] [git commit] package/gstd: fix init file installation Message-ID: <20220423162249.7442B822ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9c6e771475eb9b7a0dec1cb587ae39f807d36c87 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix a bug where the init subdir was accidentially removed from meson. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0004-meson.build-add-missing-init-subdir.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch new file mode 100644 index 0000000000..ed3738e3d4 --- /dev/null +++ b/package/gstreamer1/gstd/0004-meson.build-add-missing-init-subdir.patch @@ -0,0 +1,28 @@ +From 689265cd522c770ad3e0391cae80ee884a8c475c Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Thu, 21 Apr 2022 01:14:52 -0500 +Subject: [PATCH] meson.build: add missing init subdir + +Seems this got accidentially removed in: +9f4490138c8892b1c86008134438b2ab405c9b0f + +Restore it so that init files are properly installed. + +Signed-off-by: James Hilliard +[upstreeam: https://github.com/RidgeRun/gstd-1.x/pull/291] +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index a30f776..7a8690a 100644 +--- a/meson.build ++++ b/meson.build +@@ -300,3 +300,4 @@ subdir('gst_client') + subdir('tests') + subdir('examples') + subdir('docs') ++subdir('init') +-- +2.25.1 + From arnout at mind.be Sat Apr 23 16:15:23 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:23 +0200 Subject: [Buildroot] [git commit] package/vde2: fix build with BR2_OPTIMIZE_0 Message-ID: <20220423162249.8BA4B84202@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=68ef4e546dcdade5fc768fbebf9e064f5240db2d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with BR2_OPTIMIZE_0: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': vde_l3.c:(.text+0xb30): undefined reference to `iphead' Fixes: - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...003-vde_l3-Add-static-to-inline-functions.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch new file mode 100644 index 0000000000..7f771dfc7e --- /dev/null +++ b/package/vde2/0003-vde_l3-Add-static-to-inline-functions.patch @@ -0,0 +1,37 @@ +vde_l3: Add static to inline functions + +Add static to inline functions to avoid the following build failure +with BR2_OPTIMIZE_0: + +/home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: vde_l3.o: in function `ip_output_ready': +vde_l3.c:(.text+0xb30): undefined reference to `iphead' + +Fixes: + - http://autobuild.buildroot.org/results/5eeefcdac0b8974a424a885fdc2e82f7cb4b617d + +Signed-off-by: Fabrice Fontaine + +diff -Nura vde2-2.3.2.orig/src/vde_l3/vde_l3.c vde2-2.3.2/src/vde_l3/vde_l3.c +--- vde2-2.3.2.orig/src/vde_l3/vde_l3.c 2022-04-21 11:05:17.393452698 +0200 ++++ vde2-2.3.2/src/vde_l3/vde_l3.c 2022-04-21 11:10:36.509804404 +0200 +@@ -100,17 +100,17 @@ + }; + + +-inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) ++static inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) + { + return (struct vde_ethernet_header*)(vdb->data); + } + +-inline struct iphdr *iphead(struct vde_buff *vdb) ++static inline struct iphdr *iphead(struct vde_buff *vdb) + { + return (struct iphdr*)(vdb->data + 14); + } + +-inline void *payload(struct vde_buff *vdb) ++static inline void *payload(struct vde_buff *vdb) + { + return (uint8_t*)(vdb->data + 14 + sizeof(struct iphdr)); + } From arnout at mind.be Sat Apr 23 16:15:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:04 +0200 Subject: [Buildroot] [git commit] package/tbb: fix nios2 build Message-ID: <20220423162249.4193884202@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=26470f64109326037f521e2cfa2c2a3c0fe5cedb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure on nios2 raised since bump to version 2021.5.0 in commit 3c66ac07a0783b21f95e699b3762edd15e27bdf9: In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_static.c:17, from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/itt_notify.cpp:43: /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h: In function 'long int __itt_interlocked_increment(volatile long int*)': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/tbb-2021.5.0/src/tbb/tools_api/ittnotify_config.h:348:12: error: '__TBB_machine_fetchadd4' was not declared in this scope 348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L; | ^~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/2b55d1d171f21030be8312f984ea02ec8c8348a8 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0003-Define-ITT_ARCH_IA64-when-undefiend.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch new file mode 100644 index 0000000000..5b7f002499 --- /dev/null +++ b/package/tbb/0003-Define-ITT_ARCH_IA64-when-undefiend.patch @@ -0,0 +1,27 @@ +From 6fad69889da67bc4d4baff4afa94f77da45e006d Mon Sep 17 00:00:00 2001 +From: Felix Yan +Date: Thu, 7 Oct 2021 14:16:16 +0800 +Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550) + +[Retrieved from: +https://github.com/oneapi-src/oneTBB/commit/6fad69889da67bc4d4baff4afa94f77da45e006d] +Signed-off-by: Fabrice Fontaine +--- + src/tbb/tools_api/ittnotify_config.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h +index 8ecc23781..f904a8e9d 100644 +--- a/src/tbb/tools_api/ittnotify_config.h ++++ b/src/tbb/tools_api/ittnotify_config.h +@@ -147,6 +147,10 @@ + # define ITT_ARCH_IA32E 2 + #endif /* ITT_ARCH_IA32E */ + ++#ifndef ITT_ARCH_IA64 ++# define ITT_ARCH_IA64 3 ++#endif /* ITT_ARCH_IA64 */ ++ + #ifndef ITT_ARCH_ARM + # define ITT_ARCH_ARM 4 + #endif /* ITT_ARCH_ARM */ From arnout at mind.be Sat Apr 23 16:15:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:10 +0200 Subject: [Buildroot] [git commit] package/wtfutil: new package Message-ID: <20220423162249.5CD18822ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e940ec95e01c2bc015ba384774bf8428119580a8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Some of wtfutils modules (i.e. plugins) can call to external tools, so it needs to fork(), so needs an MMU. Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 1 + package/wtfutil/Config.in | 8 ++++++++ package/wtfutil/wtfutil.hash | 2 ++ package/wtfutil/wtfutil.mk | 12 ++++++++++++ 4 files changed, 23 insertions(+) diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..bee1590e85 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2499,6 +2499,7 @@ comment "Utilities" source "package/tmux/Config.in" source "package/ttyd/Config.in" source "package/which/Config.in" + source "package/wtfutil/Config.in" source "package/xmlstarlet/Config.in" source "package/xxhash/Config.in" source "package/ytree/Config.in" diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in new file mode 100644 index 0000000000..8c3efcea5d --- /dev/null +++ b/package/wtfutil/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_WTFUTIL + bool "wtfutil" + depends on BR2_USE_MMU # fork() + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + help + WTF is the personal information dashboard for your terminal. + + https://wtfutil.com/ diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash new file mode 100644 index 0000000000..deb162794e --- /dev/null +++ b/package/wtfutil/wtfutil.hash @@ -0,0 +1,2 @@ +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk new file mode 100644 index 0000000000..6e841411a9 --- /dev/null +++ b/package/wtfutil/wtfutil.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# wtfutil +# +################################################################################ + +WTFUTIL_VERSION = 0.41.0 +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) +WTFUTIL_LICENSE = MPL-2.0 +WTFUTIL_LICENSE_FILES = LICENSE.md + +$(eval $(golang-package)) From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/zlog: add ZLOG_CPE_ID_VENDOR Message-ID: <20220423162249.E4BB381008@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=01427de27dbe4062ae1ee4d11114a2b6eda0c26f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:zlog_project:zlog is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azlog_project%3Azlog Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/zlog/zlog.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk index e2410d3665..c7b7035c1f 100644 --- a/package/zlog/zlog.mk +++ b/package/zlog/zlog.mk @@ -8,6 +8,7 @@ ZLOG_VERSION = 1.2.15 ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION)) ZLOG_LICENSE = LGPL-2.1 ZLOG_LICENSE_FILES = COPYING +ZLOG_CPE_ID_VENDOR = zlog_project ZLOG_INSTALL_STAGING = YES define ZLOG_BUILD_CMDS From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-zattoo: bump version to 19.7.13-Matrix Message-ID: <20220423162249.B5B8C84202@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8389e6ea54505263dabf6b439ac4ef64074620f8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash index 0b88d5c747..4f9a60e942 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 07d96b1b0c3b464c0bf02279fa8cab9ccdf675344129f3a970b14bafce225fb4 kodi-pvr-zattoo-19.7.11-Matrix.tar.gz +sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk index 95c5de0925..f2badeaa05 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 19.7.11-Matrix +KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/arptables: fix build with BR2_OPTIMIZE_0 Message-ID: <20220423162249.AB5BF81327@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c5ca1fd7e6e1300c0690ff0823e1d128e9ed32b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with BR2_OPTIMIZE_0 raised since the addition of the package in commit efc10eb6b87884f1f7917462d78af6953fcd99e3 and https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' 48 | #define GET_TARGET arpt_get_target | ^~~~~~~~~~~~~~~ libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' 16 | GET_TARGET(STRUCT_ENTRY *e) | ^~~~~~~~~~ In file included from .//include/libarptc/libarptc.h:7, from libarptc/libarptc.c:26: .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ibarptc-libarptc_incl.c-fix-build-with-O0.patch | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch new file mode 100644 index 0000000000..29f2d714e2 --- /dev/null +++ b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch @@ -0,0 +1,49 @@ +From 7d8285ae92253017a15282dd25f76d76eed49518 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 21 Apr 2022 13:43:23 +0200 +Subject: [PATCH] libarptc/libarptc_incl.c: fix build with -O0 + +Fix the following build failure with -O0: + +libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' + 48 | #define GET_TARGET arpt_get_target + | ^~~~~~~~~~~~~~~ +libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' + 16 | GET_TARGET(STRUCT_ENTRY *e) + | ^~~~~~~~~~ +In file included from .//include/libarptc/libarptc.h:7, + from libarptc/libarptc.c:26: +.//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here + 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) + | ^~~~~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 + +Signed-off-by: Fabrice Fontaine +--- + libarptc/libarptc_incl.c | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c +index c4d5de3..441f2de 100644 +--- a/libarptc/libarptc_incl.c ++++ b/libarptc/libarptc_incl.c +@@ -11,14 +11,6 @@ + /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See + COPYING for details). */ + +-#ifndef __OPTIMIZE__ +-STRUCT_ENTRY_TARGET * +-GET_TARGET(STRUCT_ENTRY *e) +-{ +- return (void *)e + e->target_offset; +-} +-#endif +- + static int sockfd = -1; + static void *arptc_fn = NULL; + +-- +2.35.1 + From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/zlog: fix CVE-2021-43521 Message-ID: <20220423162249.EF7218192E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6eefe2f8f443df4a284717b0dddf33566956e05a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master A Buffer Overflow vulnerability exists in zlog 1.2.15 via zlog_conf_build_with_file in src/zlog/src/conf.c. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...fer-overflow-at-zlog_conf_build_with_file.patch | 25 ++++++++++++++++++++++ package/zlog/zlog.mk | 3 +++ 2 files changed, 28 insertions(+) diff --git a/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch b/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch new file mode 100644 index 0000000000..d5f23e1b26 --- /dev/null +++ b/package/zlog/0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch @@ -0,0 +1,25 @@ +From a5be8b3a8ddc498de4ad041757285136a55d97e3 Mon Sep 17 00:00:00 2001 +From: XiangfeiCH +Date: Tue, 12 Apr 2022 00:13:35 +0800 +Subject: [PATCH] Fix stack-buffer-overflow at zlog_conf_build_with_file + +[Retrieved from: +https://github.com/HardySimpson/zlog/commit/a5be8b3a8ddc498de4ad041757285136a55d97e3] +Signed-off-by: Fabrice Fontaine +--- + src/conf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/conf.c b/src/conf.c +index 0f862fa..9a4cb75 100644 +--- a/src/conf.c ++++ b/src/conf.c +@@ -305,7 +305,7 @@ static int zlog_conf_build_with_file(zlog_conf_t * a_conf) + /* Oops the buffer is full - what now? */ + pline = line; + } else { +- for (p--; isspace((int)*p); --p) ++ for (p--; p >= line && isspace((int)*p); --p) + /*EMPTY*/; + p++; + *p = 0; diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk index c7b7035c1f..1929a45a3e 100644 --- a/package/zlog/zlog.mk +++ b/package/zlog/zlog.mk @@ -11,6 +11,9 @@ ZLOG_LICENSE_FILES = COPYING ZLOG_CPE_ID_VENDOR = zlog_project ZLOG_INSTALL_STAGING = YES +# 0001-Fix-stack-buffer-overflow-at-zlog_conf_build_with_file.patch +ZLOG_IGNORE_CVES += CVE-2021-43521 + define ZLOG_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \ -C $(@D) all From arnout at mind.be Sat Apr 23 16:15:13 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:13 +0200 Subject: [Buildroot] [git commit] package/python-setuptools-rust: bump to version 1.2.0 Message-ID: <20220423162249.6A14C7FB06@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2f1a494f471d00bf60e2ad1cec4478a8a642b826 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash index 6bb42d918c..ae3a3463a5 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.hash +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 479fcd267ff48929bec9a7270e1a96d7 setuptools-rust-1.1.2.tar.gz -sha256 a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1 setuptools-rust-1.1.2.tar.gz +md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz +sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz # Locally computed sha256 checksums sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk index 394789b056..c2d8c6d9a7 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.mk +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_RUST_VERSION = 1.1.2 +PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools PYTHON_SETUPTOOLS_RUST_LICENSE = MIT PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 23 16:15:20 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:20 +0200 Subject: [Buildroot] [git commit] package/erofs-utils: fix build with gcc 4.8 Message-ID: <20220423162249.7F0687FB06@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2945215624ec66b4d691be527561a4a5b64e7028 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add upstream patch to disable -Werror and fix the following build failure with gcc 4.8 raised since bump to version 1.4 in commit c2e32e655802ad917eb240b8c2b7ac343ab55ec1 and https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a5df3b3acf545af289cb47faa6de0: In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, from ../include/erofs/internal.h:242, from ../include/erofs/inode.h:11, from main.c:12: In function 'memset', inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] __warn_memset_zero_len (); ^ Fixes: - http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/erofs-utils/0005-Add-disable-werror.patch | 136 ++++++++++++++++++++++ 1 file changed, 136 insertions(+) diff --git a/package/erofs-utils/0005-Add-disable-werror.patch b/package/erofs-utils/0005-Add-disable-werror.patch new file mode 100644 index 0000000000..8b286c3265 --- /dev/null +++ b/package/erofs-utils/0005-Add-disable-werror.patch @@ -0,0 +1,136 @@ +From eb79816f85db164af732a5bcbb42d09214845874 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 21 Apr 2022 00:10:18 +0200 +Subject: erofs-utils: add --disable-werror + +Add an option to disable -Werror to fix the following build failure [1] with +gcc 4.8 raised since version 1.4 and [2] + +In file included from /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:636:0, + from ../include/erofs/internal.h:242, + from ../include/erofs/inode.h:11, + from main.c:12: +In function 'memset', + inlined from 'erofsdump_filetype_distribution.constprop.2' at main.c:583:9: +/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] + __warn_memset_zero_len (); + +[1] http://autobuild.buildroot.org/results/4c776ec935bbb016231b6701471887a7c9ea79e9 +[2] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=cf8be8a4352a +Signed-off-by: Fabrice Fontaine +Link: https://lore.kernel.org/r/20220420221018.1396105-1-fontaine.fabrice at gmail.com +Signed-off-by: Gao Xiang +[Retrieved (and backported) from: +https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?h=dev&id=eb79816f85db164af732a5bcbb42d09214845874] +--- + configure.ac | 13 ++++++++++++- + dump/Makefile.am | 2 +- + fsck/Makefile.am | 2 +- + fuse/Makefile.am | 2 +- + lib/Makefile.am | 2 +- + mkfs/Makefile.am | 2 +- + 6 files changed, 17 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index fa917e6..53bf882 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([config.h.in]) + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_AUX_DIR(config) +-AM_INIT_AUTOMAKE([foreign -Wall -Werror]) ++AM_INIT_AUTOMAKE([foreign -Wall]) + + # Checks for programs. + AM_PROG_AR +@@ -65,6 +65,12 @@ AC_ARG_ENABLE([debug], + [enable_debug="$enableval"], + [enable_debug="no"]) + ++AC_ARG_ENABLE([werror], ++ [AS_HELP_STRING([--enable-werror], ++ [enable -Werror @<:@default=no@:>@])], ++ [enable_werror="$enableval"], ++ [enable_werror="no"]) ++ + AC_ARG_ENABLE(lz4, + [AS_HELP_STRING([--disable-lz4], [disable LZ4 compression support @<:@default=enabled@:>@])], + [enable_lz4="$enableval"], [enable_lz4="yes"]) +@@ -197,6 +203,11 @@ AS_IF([test "x$enable_debug" != "xno"], [], [ + CPPFLAGS="$CPPFLAGS -DNDEBUG" + ]) + ++# Configure -Werror ++AS_IF([test "x$enable_werror" != "xyes"], [], [ ++ CPPFLAGS="$CPPFLAGS -Werror" ++]) ++ + # Configure libuuid + AS_IF([test "x$with_uuid" != "xno"], [ + PKG_CHECK_MODULES([libuuid], [uuid]) +diff --git a/dump/Makefile.am b/dump/Makefile.am +index 9f0cd3f..c2bef6d 100644 +--- a/dump/Makefile.am ++++ b/dump/Makefile.am +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = dump.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} + dump_erofs_SOURCES = main.c +-dump_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++dump_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + dump_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} +diff --git a/fsck/Makefile.am b/fsck/Makefile.am +index 55b31ea..e6a1fb6 100644 +--- a/fsck/Makefile.am ++++ b/fsck/Makefile.am +@@ -5,6 +5,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = fsck.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} + fsck_erofs_SOURCES = main.c +-fsck_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++fsck_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + fsck_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS} +diff --git a/fuse/Makefile.am b/fuse/Makefile.am +index 5aa5ac0..3179a2b 100644 +--- a/fuse/Makefile.am ++++ b/fuse/Makefile.am +@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign + noinst_HEADERS = $(top_srcdir)/fuse/macosx.h + bin_PROGRAMS = erofsfuse + erofsfuse_SOURCES = dir.c main.c +-erofsfuse_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++erofsfuse_CFLAGS = -Wall -I$(top_srcdir)/include + erofsfuse_CFLAGS += -DFUSE_USE_VERSION=26 ${libfuse_CFLAGS} ${libselinux_CFLAGS} + erofsfuse_LDADD = $(top_builddir)/lib/liberofs.la ${libfuse_LIBS} ${liblz4_LIBS} \ + ${libselinux_LIBS} ${liblzma_LIBS} +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 4a25013..3fad357 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -28,7 +28,7 @@ noinst_HEADERS += compressor.h + liberofs_la_SOURCES = config.c io.c cache.c super.c inode.c xattr.c exclude.c \ + namei.c data.c compress.c compressor.c zmap.c decompress.c \ + compress_hints.c hashmap.c sha256.c blobchunk.c +-liberofs_la_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++liberofs_la_CFLAGS = -Wall -I$(top_srcdir)/include + if ENABLE_LZ4 + liberofs_la_CFLAGS += ${LZ4_CFLAGS} + liberofs_la_SOURCES += compressor_lz4.c +diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am +index 2a4bc1d..709d9bf 100644 +--- a/mkfs/Makefile.am ++++ b/mkfs/Makefile.am +@@ -4,6 +4,6 @@ AUTOMAKE_OPTIONS = foreign + bin_PROGRAMS = mkfs.erofs + AM_CPPFLAGS = ${libuuid_CFLAGS} ${libselinux_CFLAGS} + mkfs_erofs_SOURCES = main.c +-mkfs_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include ++mkfs_erofs_CFLAGS = -Wall -I$(top_srcdir)/include + mkfs_erofs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \ + ${liblz4_LIBS} ${liblzma_LIBS} +-- +cgit + From arnout at mind.be Sat Apr 23 16:25:23 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:23 +0200 Subject: [Buildroot] [git commit] package/valgrind: fix compilation for uclibc Message-ID: <20220423162249.A135981327@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c88d24249d67e3e6b43d56b7052a155bd0150e0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Add upstream patch ([1]) to fix compilation for uclibc - Add autoreconf as the patch touches configure.ac [1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=9c9fd9ae24b45f915f0759d32f662835c26d37c3 Signed-off-by: Dario Binacchi Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...0003-coregrind-fix-compilation-for-uclibc.patch | 65 ++++++++++++++++++++++ package/valgrind/valgrind.mk | 2 + 2 files changed, 67 insertions(+) diff --git a/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch b/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch new file mode 100644 index 0000000000..ff8dc974d8 --- /dev/null +++ b/package/valgrind/0003-coregrind-fix-compilation-for-uclibc.patch @@ -0,0 +1,65 @@ +From 9c9fd9ae24b45f915f0759d32f662835c26d37c3 Mon Sep 17 00:00:00 2001 +From: Dario Binacchi +Date: Fri, 8 Apr 2022 12:36:33 +0200 +Subject: [PATCH] coregrind: fix compilation for uclibc + +It fixes a known iusse whose details are described at [1] and more +generally it guarantees that Valgrind is properly compiled for ulibc. + +[1] https://www.mail-archive.com/valgrind-users at lists.sourceforge.net/msg05295.html + +Suggested-by Michael Trimarchi +Co-developed-by: Michael Trimarchi +Signed-off-by: Dario Binacchi +--- + configure.ac | 2 ++ + coregrind/m_debuginfo/minilzo-inl.c | 4 ++++ + coregrind/vg_preloaded.c | 4 ++++ + 3 files changed, 10 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 6f51dfd9f8fb..c627a9c17a4a 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -1204,6 +1204,8 @@ AC_SUBST(DEFAULT_SUPP) + AC_CHECK_HEADER([features.h]) + + if test x$ac_cv_header_features_h = xyes; then ++ AC_DEFINE([HAVE_HEADER_FEATURES_H], 1, ++ [Define to 1 if you have the `features.h' header.]) + rm -f conftest.$ac_ext + cat <<_ACEOF >conftest.$ac_ext + #include +diff --git a/coregrind/m_debuginfo/minilzo-inl.c b/coregrind/m_debuginfo/minilzo-inl.c +index 153d008fd44f..b45ec92eaa85 100644 +--- a/coregrind/m_debuginfo/minilzo-inl.c ++++ b/coregrind/m_debuginfo/minilzo-inl.c +@@ -1875,6 +1875,10 @@ extern "C" { + + #endif + ++#ifdef HAVE_HEADER_FEATURES_H ++#include ++#endif ++ + #undef LZO_HAVE_CONFIG_H + #include "minilzo.h" + +diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c +index 5e2098390847..3809811aede7 100644 +--- a/coregrind/vg_preloaded.c ++++ b/coregrind/vg_preloaded.c +@@ -45,6 +45,10 @@ + #include "pub_core_debuginfo.h" // Needed for pub_core_redir.h + #include "pub_core_redir.h" // For VG_NOTIFY_ON_LOAD + ++#ifdef HAVE_HEADER_FEATURES_H ++#include ++#endif ++ + #if defined(VGO_linux) || defined(VGO_solaris) || defined(VGO_freebsd) + + /* --------------------------------------------------------------------- +-- +2.32.0 + diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 52f2a04ffa..a3eabec9fe 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -14,6 +14,8 @@ VALGRIND_CONF_OPTS = \ --disable-ubsan \ --without-mpicc VALGRIND_INSTALL_STAGING = YES +# 0003-coregrind-fix-compilation-for-uclibc.patch +VALGRIND_AUTORECONF=YES # Valgrind must be compiled with no stack protection, so forcefully # pass -fno-stack-protector to override what Buildroot may have in From arnout at mind.be Sat Apr 23 16:15:27 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:15:27 +0200 Subject: [Buildroot] [git commit] package/argp-standalone: bump to version 1.4.1 Message-ID: <20220423162249.95B177FB06@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Switch site to an up-to-date fork - Drop first and second patches (not needed since: https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b https://github.com/ericonr/argp-standalone/commit/80691135993109ec0c8a41327418195fc6d82694 - Drop third patch (not needed since: https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043) - License is LGPL-2.1+ since https://github.com/ericonr/argp-standalone/commit/c474ac2af74a8ba336b5480927741c13950ea01b - README.md can be used as the license file since https://github.com/ericonr/argp-standalone/commit/da0206414df4fe55f70b6dfba86ec232acf5d444 - This bump will also fix the following build failure with BR2_OPTIMIZE_0 thanks to https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: /nvmedata/autobuild/instance-27/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: libargp.a(argp-help.o): in function `indent_to': /nvmedata/autobuild/instance-27/output-1/build/argp-standalone-1.3/argp-help.c:930: undefined reference to `argp_fmtstream_point' Fixes: - http://autobuild.buildroot.org/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../argp-standalone/0001-throw-in-funcdef.patch | 79 ---------------------- package/argp-standalone/0002-isprint.patch | 45 ------------ .../0003-fix_build_with_c99_compilers.patch | 68 ------------------- package/argp-standalone/Config.in | 2 +- package/argp-standalone/argp-standalone.hash | 4 +- package/argp-standalone/argp-standalone.mk | 11 +-- 6 files changed, 10 insertions(+), 199 deletions(-) diff --git a/package/argp-standalone/0001-throw-in-funcdef.patch b/package/argp-standalone/0001-throw-in-funcdef.patch deleted file mode 100644 index 4a90751e1e..0000000000 --- a/package/argp-standalone/0001-throw-in-funcdef.patch +++ /dev/null @@ -1,79 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone -# Copyright (C) 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - - -No __THROW in function implementation. - --jsaw - ---- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100 -+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100 -@@ -560,17 +560,17 @@ - # endif - - # ifndef ARGP_EI --# define ARGP_EI extern __inline__ -+# define ARGP_EI extern inline - # endif - - ARGP_EI void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - ARGP_EI int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -582,7 +582,7 @@ - } - - ARGP_EI int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } ---- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100 -+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100 -@@ -1290,13 +1290,13 @@ - /* Defined here, in case a user is not inlining the definitions in - * argp.h */ - void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -1310,7 +1310,7 @@ - } - - int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } diff --git a/package/argp-standalone/0002-isprint.patch b/package/argp-standalone/0002-isprint.patch deleted file mode 100644 index 9c08366f68..0000000000 --- a/package/argp-standalone/0002-isprint.patch +++ /dev/null @@ -1,45 +0,0 @@ -Subject: restrict value range passed to isprint function - -According to C standards isprint argument shall be representable as an -unsigned char or be equal to EOF, otherwise the behaviour is undefined. - -Passing arbitrary ints leads to segfault in nm program from elfutils. - -Restrict isprint argument range to values representable by unsigned char. - -Signed-off-by: Max Filippov ---- -Index: b/argp.h -=================================================================== ---- a/argp.h -+++ b/argp.h -@@ -23,6 +23,7 @@ - - #include - #include -+#include - - #define __need_error_t - #include -@@ -577,7 +578,7 @@ - else - { - int __key = __opt->key; -- return __key > 0 && isprint (__key); -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); - } - } - -Index: b/argp-parse.c -=================================================================== ---- a/argp-parse.c -+++ b/argp-parse.c -@@ -1292,7 +1292,7 @@ - int __key = __opt->key; - /* FIXME: whether or not a particular key implies a short option - * ought not to be locale dependent. */ -- return __key > 0 && isprint (__key); -+ return __key > 0 && __key <= UCHAR_MAX && isprint (__key); - } - } - diff --git a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch b/package/argp-standalone/0003-fix_build_with_c99_compilers.patch deleted file mode 100644 index 56b753b607..0000000000 --- a/package/argp-standalone/0003-fix_build_with_c99_compilers.patch +++ /dev/null @@ -1,68 +0,0 @@ -From b2dfa011a3fdcb7d22764d143517d0fbd1c2a201 Mon Sep 17 00:00:00 2001 -From: Emmanuel Dreyfus -Date: Wed, 22 Jan 2014 14:47:23 +0100 -Subject: [PATCH] Fix build with c99 compilers - -BUG: 764655 -Change-Id: If5dfdc9c7427bd3d39d8da8f79e33ae2da6a3137 -Signed-off-by: Emmanuel Dreyfus -Reviewed-on: http://review.gluster.org/6034 -Reviewed-by: Harshavardhana -Tested-by: Gluster Build System ---- - -diff --git a/argp-fmtstream.c b/argp-fmtstream.c -index 7f79285..494b6b3 100644 ---- a/argp-fmtstream.c -+++ b/argp-fmtstream.c -@@ -389,6 +389,7 @@ - weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf) - #endif - -+#if __STDC_VERSION__ - 199900L < 1 - /* Duplicate the inline definitions in argp-fmtstream.h, for compilers - * that don't do inlining. */ - size_t -@@ -471,5 +472,6 @@ - __argp_fmtstream_update (__fs); - return __fs->point_col >= 0 ? __fs->point_col : 0; - } -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - #endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ -diff --git a/argp-fmtstream.h b/argp-fmtstream.h -index e797b11..828f435 100644 ---- a/argp-fmtstream.h -+++ b/argp-fmtstream.h -@@ -153,6 +153,7 @@ - __const char *__fmt, ...) - PRINTF_STYLE(2,3); - -+#if __STDC_VERSION__ - 199900L < 1 - extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); - extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); - -@@ -163,6 +164,7 @@ - __const char *__str, size_t __len); - extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, - __const char *__str, size_t __len); -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - /* Access macros for various bits of state. */ - #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) -@@ -172,6 +174,7 @@ - #define __argp_fmtstream_rmargin argp_fmtstream_rmargin - #define __argp_fmtstream_wmargin argp_fmtstream_wmargin - -+#if __STDC_VERSION__ - 199900L < 1 - /* Set __FS's left margin to LMARGIN and return the old value. */ - extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, - size_t __lmargin); -@@ -193,6 +196,7 @@ - /* Return the column number of the current output point in __FS. */ - extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); - extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); -+#endif /* __STDC_VERSION__ - 199900L < 1 */ - - /* Internal routines. */ - extern void _argp_fmtstream_update (argp_fmtstream_t __fs); diff --git a/package/argp-standalone/Config.in b/package/argp-standalone/Config.in index 3319dd945c..891d4aedaa 100644 --- a/package/argp-standalone/Config.in +++ b/package/argp-standalone/Config.in @@ -5,4 +5,4 @@ config BR2_PACKAGE_ARGP_STANDALONE help Glibc hierarchical argument parsing standalone library. - http://www.lysator.liu.se/~nisse/misc/ + https://github.com/ericonr/argp-standalone/ diff --git a/package/argp-standalone/argp-standalone.hash b/package/argp-standalone/argp-standalone.hash index c780f9e53f..1e56c663d4 100644 --- a/package/argp-standalone/argp-standalone.hash +++ b/package/argp-standalone/argp-standalone.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be argp-standalone-1.3.tar.gz +sha256 879d76374424dce051b812f16f43c6d16de8dbaddd76002f83fd1b6e57d39e0b argp-standalone-1.4.1.tar.gz # License file -sha256 bbb8919aa520069b0234faf5e83a94052d278419ffe97ca8e843ecc9b212d1ab argp.h +sha256 b5db0353a5b1902fc8a2e055d8899dd0c189ce73a31e67af9a0ffc24711b63f0 README.md diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk index 651bc400f4..80ca04046d 100644 --- a/package/argp-standalone/argp-standalone.mk +++ b/package/argp-standalone/argp-standalone.mk @@ -4,11 +4,14 @@ # ################################################################################ -ARGP_STANDALONE_VERSION = 1.3 -ARGP_STANDALONE_SITE = http://www.lysator.liu.se/~nisse/archive +ARGP_STANDALONE_VERSION = 1.4.1 +ARGP_STANDALONE_SITE = \ + $(call github,ericonr,argp-standalone,$(ARGP_STANDALONE_VERSION)) ARGP_STANDALONE_INSTALL_STAGING = YES -ARGP_STANDALONE_LICENSE = LGPL-2.0+ -ARGP_STANDALONE_LICENSE_FILES = argp.h +ARGP_STANDALONE_LICENSE = LGPL-2.1+ +ARGP_STANDALONE_LICENSE_FILES = README.md +# From git +ARGP_STANDALONE_AUTORECONF = YES ARGP_STANDALONE_CONF_ENV = \ CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/intel-mediadriver: bump version to 22.4.0 Message-ID: <20220423162249.C146581327@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=09087e75c833205410e2caa3ac9347fe53222809 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/intel-mediadriver/intel-mediadriver.hash | 2 +- package/intel-mediadriver/intel-mediadriver.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediadriver/intel-mediadriver.hash b/package/intel-mediadriver/intel-mediadriver.hash index 5c3d25eed8..e6cd7a1cd3 100644 --- a/package/intel-mediadriver/intel-mediadriver.hash +++ b/package/intel-mediadriver/intel-mediadriver.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 intel-media-22.3.1.tar.gz +sha256 f070527b141174970a17195d0225ed43693c39fec83cd5e6d0effaa88e2a5553 intel-media-22.4.0.tar.gz sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk index 1536e60e96..55f1d5507d 100644 --- a/package/intel-mediadriver/intel-mediadriver.mk +++ b/package/intel-mediadriver/intel-mediadriver.mk @@ -6,7 +6,7 @@ # based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack -INTEL_MEDIADRIVER_VERSION = 22.3.1 +INTEL_MEDIADRIVER_VERSION = 22.4.0 INTEL_MEDIADRIVER_SITE = https://github.com/intel/media-driver/archive INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/intel-mediasdk: bump version to 22.4.0 Message-ID: <20220423162249.CD94484202@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cd8c04c6bcdb5d287d570437d798dcb149e61a5e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/intel-mediasdk/intel-mediasdk.hash | 2 +- package/intel-mediasdk/intel-mediasdk.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/intel-mediasdk/intel-mediasdk.hash b/package/intel-mediasdk/intel-mediasdk.hash index 802131a772..3ca50d629e 100644 --- a/package/intel-mediasdk/intel-mediasdk.hash +++ b/package/intel-mediasdk/intel-mediasdk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 e1e74229f409e969b70c2b35b1955068de3d40db85ecc42bd6ff501468bc76d7 intel-mediasdk-22.3.0.tar.gz +sha256 c1ebabf4c9a32de4349d9a9c707116b230cbf8a9c4655eec9ee844fd67dab6e8 intel-mediasdk-22.4.0.tar.gz sha256 dfd67773578903698f9ff4a61eb8f2d84810cbecd56f3f3cee8c649f813b6ea6 LICENSE diff --git a/package/intel-mediasdk/intel-mediasdk.mk b/package/intel-mediasdk/intel-mediasdk.mk index b90d252b4f..06b7aa87d0 100644 --- a/package/intel-mediasdk/intel-mediasdk.mk +++ b/package/intel-mediasdk/intel-mediasdk.mk @@ -4,7 +4,7 @@ # ################################################################################ -INTEL_MEDIASDK_VERSION = 22.3.0 +INTEL_MEDIASDK_VERSION = 22.4.0 INTEL_MEDIASDK_SITE = https://github.com/Intel-Media-SDK/MediaSDK/archive INTEL_MEDIASDK_LICENSE = MIT INTEL_MEDIASDK_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 23 16:25:35 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 23 Apr 2022 18:25:35 +0200 Subject: [Buildroot] [git commit] package/coreutils: drop patch Message-ID: <20220423162249.D9201801E4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d238a94ba714b992b14f47e7e1e7b813a1c3ca91 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop patch as it is not needed since bump to version 9.1 in commit 908caefa91dbf70e7f40c61113f0f1ae2b83230d because gnulib has been updated with https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-getrandom.c-fix-build-with-uclibc-1.0.35.patch | 46 ---------------------- 1 file changed, 46 deletions(-) diff --git a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch deleted file mode 100644 index 88390a1124..0000000000 --- a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch +++ /dev/null @@ -1,46 +0,0 @@ -From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 1 Apr 2021 07:49:46 +0200 -Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 - -Fix the following build failure with uclibc < 1.0.35 which is raised -since the addition of getrandom module in -https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: - -In file included from ./sys/random.h:40, - from getrandom.c:22: -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' - 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) - | ^~~~~~ -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? - 7 | #include - +++ |+#include - 8 | - -This patch is not upstreamable as it is only a workaround for -uclibc < 1.0.35, upstream uclibc has been patched with -https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 - -Fixes: - - http://autobuild.buildroot.org/results/c69f5c8b8e53ed3de753f0c6d2cdd99497504b49 - -Signed-off-by: Fabrice Fontaine ---- - lib/getrandom.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/getrandom.c b/lib/getrandom.c -index 41212fb32..0ad3f9648 100644 ---- a/lib/getrandom.c -+++ b/lib/getrandom.c -@@ -19,6 +19,7 @@ - - #include - -+#include - #include - - #include --- -2.30.2 - From vincent.stehle at laposte.net Sat Apr 23 16:46:41 2022 From: vincent.stehle at laposte.net (=?UTF-8?q?Vincent=20Stehl=C3=A9?=) Date: Sat, 23 Apr 2022 18:46:41 +0200 Subject: [Buildroot] [PATCH] configs/arm_foundationv8: bump to Linux 5.16.20 Message-ID: <20220423164641.28675-1-vincent.stehle@laposte.net> Signed-off-by: Vincent Stehl? Cc: Masahiro Yamada --- Hi, I have tested it successfully with both FVP v8 Foundation Platforms 11.12 build 38 and 11.14 build 21. Best regards, Vincent. configs/arm_foundationv8_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig index 363f288b87..3c63f5dc76 100644 --- a/configs/arm_foundationv8_defconfig +++ b/configs/arm_foundationv8_defconfig @@ -1,10 +1,10 @@ BR2_aarch64=y -# Linux headers same as kernel, a 5.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y +# Linux headers same as kernel, a 5.16 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.11" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.20" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8-gicv3-psci" -- 2.35.1 From salvador.joseluis at gmail.com Sat Apr 23 16:48:55 2022 From: salvador.joseluis at gmail.com (=?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=) Date: Sat, 23 Apr 2022 18:48:55 +0200 Subject: [Buildroot] [PATCH v2] package/zfs: bump version to 2.1.4 In-Reply-To: <24c989ad-5a35-f874-8629-71eac02ca046@mind.be> References: <24c989ad-5a35-f874-8629-71eac02ca046@mind.be> Message-ID: <20220423164855.782309-1-salvador.joseluis@gmail.com> package/zfs: bump version to 2.1.4 Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch because is already merged. Select libcurl as required dependency, because keylocation now supports https. In order to support uClibc, we have added the patch bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream. We update the test cases to use the latest LTS kernel, 5.15.x. Signed-off-by: Jos? Luis Salvador Rufo --- Changes v1 -> v2: - Replace libcurl "depends on" by "select" - Set the tests to the latest kernel LTS, 5.15.x. 5.17 is the maximum supported kernel, 3.10 is the minimum. ...law-in-the-Python-3-version-checking.patch | 106 ------------------ package/zfs/Config.in | 1 + package/zfs/zfs.hash | 5 +- package/zfs/zfs.mk | 6 +- support/testing/tests/package/test_zfs.py | 4 +- 5 files changed, 9 insertions(+), 113 deletions(-) delete mode 100644 package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch deleted file mode 100644 index 70978f9f4d..0000000000 --- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001 -From: Rich Ercolani <214141+rincebrain at users.noreply.github.com> -Date: Tue, 8 Jun 2021 20:20:16 -0400 -Subject: [PATCH] Correct a flaw in the Python 3 version checking - -It turns out the ax_python_devel.m4 version check assumes that -("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1 -is 10 or above and X is not. (Also presumably X+1=100 and ...) - -So let's remake the check to behave consistently, using the -"packaging" or (if absent) the "distlib" modules. - -(Also, update the Github workflows to use the new packages.) - -Reviewed-by: Brian Behlendorf -Reviewed-by: John Kennedy -Signed-off-by: Rich Ercolani -Closes: #12073 -(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48) -[Romain: drop rpm spec and github workflows changes] -Signed-off-by: Romain Naour ---- - config/always-pyzfs.m4 | 15 +++++++++++++++ - config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------ - 2 files changed, 42 insertions(+), 6 deletions(-) - -diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4 -index 76e07b593..fa39fd885 100644 ---- a/config/always-pyzfs.m4 -+++ b/config/always-pyzfs.m4 -@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [ - ]) - AC_SUBST(DEFINE_PYZFS) - -+ dnl # -+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs -+ dnl # -+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [ -+ ZFS_AC_PYTHON_MODULE([packaging], [], [ -+ ZFS_AC_PYTHON_MODULE([distlib], [], [ -+ AS_IF([test "x$enable_pyzfs" = xyes], [ -+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed") -+ ], [test "x$enable_pyzfs" != xno], [ -+ enable_pyzfs=no -+ ]) -+ ]) -+ ]) -+ ]) -+ - dnl # - dnl # Require python-devel libraries - dnl # -diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4 -index c51b45b7d..cdfbbf81f 100644 ---- a/config/ax_python_devel.m4 -+++ b/config/ax_python_devel.m4 -@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ - # Check for a version of Python >= 2.1.0 - # - AC_MSG_CHECKING([for a version of Python >= '2.1.0']) -- ac_supports_python_ver=`$PYTHON -c "import sys; \ -- ver = sys.version.split ()[[0]]; \ -- print (ver >= '2.1.0')"` -+ ac_supports_python_ver=`cat<= '3.11.0' -+ ac_supports_python_ver=`cat< References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> Message-ID: Le sam. 23 avr. 2022 ? 16:40, Arnout Vandecappelle a ?crit : > > > > On 16/04/2022 23:13, Fabrice Fontaine wrote: > > Add --static when calling pkg-config with BR2_SHARED_STATIC_LIBS to > > avoid the following build failure if a package (e.g. dash or zabbix) > > decide to use the static library of of its dependency instead of the > > shared library (e.g. edit or openssl) resulting in the following build > > failures: > > > > /home/autobuild/autobuild/instance-3/output-1/host/lib/gcc/powerpc64-buildroot-linux-gnu/10.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: /home/autobuild/autobuild/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libedit.a(terminal.o): in function `terminal_tputs': > > terminal.c:(.text+0x1d4): undefined reference to `tputs' > > > > /nvmedata/autobuild/instance-28/output-1/host/lib/gcc/powerpc64le-buildroot-linux-gnu/10.3.0/../../../../powerpc64le-buildroot-linux-gnu/bin/ld: /nvmedata/autobuild/instance-28/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.a(dso_dlfcn.o): in function `dlfcn_globallookup': > > dso_dlfcn.c:(.text+0x28): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > > > > Fixes: > > - http://autobuild.buildroot.org/results/2032d6b1233ce5c79a0c9421052ab1b9184c5b89 > > - http://autobuild.buildroot.org/results/b0e1bd19f0612a0e90d89ad8fe9e294f57871f6b > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/pkgconf/pkgconf.mk | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk > > index 5d65f69c10..c40c8b9433 100644 > > --- a/package/pkgconf/pkgconf.mk > > +++ b/package/pkgconf/pkgconf.mk > > @@ -35,10 +35,10 @@ endef > > PKGCONF_POST_INSTALL_TARGET_HOOKS += PKGCONF_LINK_PKGCONFIG > > HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_INSTALL_WRAPPER > > > > -ifeq ($(BR2_STATIC_LIBS),y) > > -HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > > -else > > +ifeq ($(BR2_SHARED_LIBS),y) > > HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_SHARED > > +else > > +HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > > Err, so this would mean that we almost always link statically in the > SHARED_STATIC case? I don't think that that's what we want, really... > > If a package wants to link statically and is using pkg-config, why is not > calling pkg-config with --static? Something seems to be really off here... To my knowledge most packages are not adding --static when calling pkg-config. --static is added by buildroot through HOST_PKGCONF_POST_INSTALL_HOOKS. dash fails to build because -static is passed to gcc. -static is passed to gcc because package/Makefile.in is setting --enable-static (and --enable-shared): /home/fabrice/buildroot/output/host/bin/powerpc64-buildroot-linux-gnu-gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -static -Wl,--fatal-warnings -o dash alias.o arith_yacc.o arith_yylex.o cd.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o parser.o redir.o show.o trap.o output.o bltin/printf.o system.o bltin/test.o bltin/times.o var.o builtins.o init.o nodes.o signames.o syntax.o -ledit /home/fabrice/buildroot/output/host/lib/gcc/powerpc64-buildroot-linux-gnu/10.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: /home/fabrice/buildroot/output/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/libedit.a(terminal.o): in function `terminal_tputs': terminal.c:(.text+0x1d4): undefined reference to `tputs' dash doesn't not handle --enable-shared. It adds -static to gcc call depending on --{en,dis}able-static. So, the 'onlyy' other option would be to add DASH_CONF_OPTS += --disable-static to override what is set by package/Makefile.in I can send a v2 if you think that this solution is better. However, it'll have to be applied to dash and zabbix but perhaps to a large number of "application" packages ... > > Regards, > Arnout > > > > endif > > > > $(eval $(autotools-package)) Best Regards, Fabrice From fontaine.fabrice at gmail.com Sat Apr 23 16:52:45 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 18:52:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/arptables: fix build with BR2_OPTIMIZE_0 In-Reply-To: <79e52372-031a-2836-b2ab-2f78f629d29f@mind.be> References: <20220421115529.2625137-1-fontaine.fabrice@gmail.com> <79e52372-031a-2836-b2ab-2f78f629d29f@mind.be> Message-ID: Le sam. 23 avr. 2022 ? 18:30, Arnout Vandecappelle a ?crit : > > > > On 21/04/2022 13:55, Fabrice Fontaine wrote: > > Fix the following build failure with BR2_OPTIMIZE_0 raised since the > > addition of the package in commit > > efc10eb6b87884f1f7917462d78af6953fcd99e3 and > > https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: > > > > libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' > > 48 | #define GET_TARGET arpt_get_target > > | ^~~~~~~~~~~~~~~ > > libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' > > 16 | GET_TARGET(STRUCT_ENTRY *e) > > | ^~~~~~~~~~ > > In file included from .//include/libarptc/libarptc.h:7, > > from libarptc/libarptc.c:26: > > .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here > > 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) > > | ^~~~~~~~~~~~~~~ > > > > Fixes: > > - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 > > > > Signed-off-by: Fabrice Fontaine > > --- > > ...tc-libarptc_incl.c-fix-build-with-O0.patch | 49 +++++++++++++++++++ > > 1 file changed, 49 insertions(+) > > create mode 100644 package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > > > > diff --git a/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > > new file mode 100644 > > index 0000000000..29f2d714e2 > > --- /dev/null > > +++ b/package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch > > @@ -0,0 +1,49 @@ > > +From 7d8285ae92253017a15282dd25f76d76eed49518 Mon Sep 17 00:00:00 2001 > > +From: Fabrice Fontaine > > +Date: Thu, 21 Apr 2022 13:43:23 +0200 > > +Subject: [PATCH] libarptc/libarptc_incl.c: fix build with -O0 > > + > > +Fix the following build failure with -O0: > > + > > +libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' > > + 48 | #define GET_TARGET arpt_get_target > > + | ^~~~~~~~~~~~~~~ > > +libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' > > + 16 | GET_TARGET(STRUCT_ENTRY *e) > > + | ^~~~~~~~~~ > > +In file included from .//include/libarptc/libarptc.h:7, > > + from libarptc/libarptc.c:26: > > +.//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here > > + 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) > > + | ^~~~~~~~~~~~~~~ > > + > > +Fixes: > > + - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 > > + > > +Signed-off-by: Fabrice Fontaine > > No upstream reference? Is upstream dead? upstream seems dead: no commit since December 2019: https://git.netfilter.org/arptables. > > Applied to master, thanks. > > Regards, > Arnout > > > +--- > > + libarptc/libarptc_incl.c | 8 -------- > > + 1 file changed, 8 deletions(-) > > + > > +diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c > > +index c4d5de3..441f2de 100644 > > +--- a/libarptc/libarptc_incl.c > > ++++ b/libarptc/libarptc_incl.c > > +@@ -11,14 +11,6 @@ > > + /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See > > + COPYING for details). */ > > + > > +-#ifndef __OPTIMIZE__ > > +-STRUCT_ENTRY_TARGET * > > +-GET_TARGET(STRUCT_ENTRY *e) > > +-{ > > +- return (void *)e + e->target_offset; > > +-} > > +-#endif > > +- > > + static int sockfd = -1; > > + static void *arptc_fn = NULL; > > + > > +-- > > +2.35.1 > > + Best Regards, Fabrice From fontaine.fabrice at gmail.com Sat Apr 23 17:06:24 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 19:06:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-zopfli: needs C++ Message-ID: <20220423170624.991570-1-fontaine.fabrice@gmail.com> python-zopfli needs C++ since its addition in commit 53972c82964dd1337dff4ccbcdd484d243aef0ba: nios2-buildroot-linux-gnu-gcc.br_real: error: zopfli/src/zopflipng/lodepng/lodepng.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/442ae4a02e691b4039d1694620f6284906cdc97f Signed-off-by: Fabrice Fontaine --- package/python-weasyprint/Config.in | 2 +- package/python-zopfli/Config.in | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 7fe99c3951..18d72d742e 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" - depends on BR2_INSTALL_LIBSTDCPP # python-brotli + depends on BR2_INSTALL_LIBSTDCPP # python-brotli, python-zopfli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime diff --git a/package/python-zopfli/Config.in b/package/python-zopfli/Config.in index 0b1ebca85c..dc68a2fef0 100644 --- a/package/python-zopfli/Config.in +++ b/package/python-zopfli/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_PYTHON_ZOPFLI bool "python-zopfli" + depends on BR2_INSTALL_LIBSTDCPP help Zopfli module for python. https://github.com/fonttools/py-zopfli + +comment "python-zopfli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.35.1 From yann.morin.1998 at free.fr Sat Apr 23 17:11:55 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 23 Apr 2022 19:11:55 +0200 Subject: [Buildroot] [git commit] DEVELOPERS: add myself for wtfutil Message-ID: <20220423170211.62A4084216@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=664f1fc1c7dce0ab62668f9ec5fe13d9e9faff2d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master I forgot to do so when submitting the package, so let's fix that now. Signed-off-by: Yann E. MORIN --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..1bb90f8f33 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2987,6 +2987,7 @@ F: package/vde2/ F: package/w_scan/ F: package/wayland/ F: package/weston/ +F: package/wtfutil/ F: package/zisofs-tools/ F: support/download/ From fontaine.fabrice at gmail.com Sat Apr 23 17:19:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 19:19:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/clamav: doesn't build with zlib-ng Message-ID: <20220423171915.2459029-1-fontaine.fabrice@gmail.com> clamav doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of FAR: https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: In file included from nsis/nsis_zlib.h:32, from nsis/nulsft.c:38: nsis/nsis_zutil.h:36:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uchf' 36 | typedef uch FAR uchf; | ^~~~ Fixes: - http://autobuild.buildroot.org/results/524ee31face8be6a813829b036c4d6134ee5ca98 Signed-off-by: Fabrice Fontaine --- package/clamav/Config.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/clamav/Config.in b/package/clamav/Config.in index 990a818b5c..1f796e8b91 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_CLAMAV bool "clamav" + depends on BR2_PACKAGE_LIBZLIB depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() @@ -9,7 +10,6 @@ config BR2_PACKAGE_CLAMAV select BR2_PACKAGE_LIBMSPACK select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_ZLIB help ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. @@ -20,3 +20,6 @@ comment "clamav needs a toolchain w/ C++, dynamic library, threads, wchar" depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR depends on BR2_USE_MMU + +comment "clamav needs libzlib" + depends on !BR2_PACKAGE_LIBZLIB -- 2.35.1 From peter at korsgaard.com Fri Apr 22 14:55:29 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 22 Apr 2022 16:55:29 +0200 Subject: [Buildroot] [PATCH] package/libinput: security bump to version 1.20.1 Message-ID: <20220422145530.1963337-1-peter@korsgaard.com> Fixes the following security issues: - CVE-2022-1215: libinput format string vulnerability For details, see the advisory: https://www.openwall.com/lists/oss-security/2022/04/20/2 Signed-off-by: Peter Korsgaard --- package/libinput/libinput.hash | 2 +- package/libinput/libinput.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libinput/libinput.hash b/package/libinput/libinput.hash index d1c7cfb104..d8282ff03b 100644 --- a/package/libinput/libinput.hash +++ b/package/libinput/libinput.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 6c1f97892a7d599f97349e5e7c1239901fe00edcd4f6289f410034d5dc06cc85 libinput-1.20.0.tar.bz2 +sha256 08c003f724f361ed21f4dfbfe755a6c115b85385f1418907bb98f185457273f0 libinput-1.20.1.tar.bz2 # License files sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk index b814e3416d..a66b0afde5 100644 --- a/package/libinput/libinput.mk +++ b/package/libinput/libinput.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBINPUT_VERSION = 1.20.0 +LIBINPUT_VERSION = 1.20.1 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2 LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION) LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev -- 2.30.2 From fontaine.fabrice at gmail.com Sat Apr 23 17:48:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 19:48:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/clamav: fix libxml2 build Message-ID: <20220423174858.2445604-1-fontaine.fabrice@gmail.com> Pass ac_cv_path_xmlconfig to fix the following build failure with libxml2 raised since bump to version 0.102.0 in commit 007f49962a961f96ff87795217758ec3786d03ac and https://github.com/Cisco-Talos/clamav/commit/083ca38727b0ebd3979cf1ebc7b31148f6d5e7f7: aarch64-none-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include/libxml2' In file included from /usr/include/libxml2/libxml/parser.h:810, from others.c:62: /usr/include/libxml2/libxml/encoding.h:31:10: fatal error: unicode/ucnv.h: No such file or directory 31 | #include | ^~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/5bb3bea6d13ac8d497f6862374d65a59bea7ed09 Signed-off-by: Fabrice Fontaine --- package/clamav/clamav.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index cd2d06e6b3..e2ee99d02b 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -69,6 +69,7 @@ CLAMAV_CONF_OPTS += --without-libjson endif ifeq ($(BR2_PACKAGE_LIBXML2),y) +CLAMAV_CONF_ENV += ac_cv_path_xmlconfig=$(STAGING_DIR)/usr/bin/xml2-config CLAMAV_CONF_OPTS += --with-xml=$(STAGING_DIR)/usr CLAMAV_DEPENDENCIES += libxml2 else -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:24:57 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:24:57 +0200 Subject: [Buildroot] [PATCH 1/2] package/libhtp: bump to version 0.5.40 Message-ID: <20220423202458.299067-1-fontaine.fabrice@gmail.com> https://github.com/OISF/libhtp/releases/tag/0.5.40 Signed-off-by: Fabrice Fontaine --- package/libhtp/libhtp.hash | 2 +- package/libhtp/libhtp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash index eae3009c76..8759823e16 100644 --- a/package/libhtp/libhtp.hash +++ b/package/libhtp/libhtp.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d5956b49314fc6a058864130fbcf040a12584ee1e38f3b6ea52aedfa99d4c14a libhtp-0.5.39.tar.gz +sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk index 532eaa340b..bb8aa73b42 100644 --- a/package/libhtp/libhtp.mk +++ b/package/libhtp/libhtp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBHTP_VERSION = 0.5.39 +LIBHTP_VERSION = 0.5.40 LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) LIBHTP_LICENSE = BSD-3-Clause LIBHTP_LICENSE_FILES = LICENSE -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:24:58 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:24:58 +0200 Subject: [Buildroot] [PATCH 2/2] package/suricata: security bump to version 6.0.5 In-Reply-To: <20220423202458.299067-1-fontaine.fabrice@gmail.com> References: <20220423202458.299067-1-fontaine.fabrice@gmail.com> Message-ID: <20220423202458.299067-2-fontaine.fabrice@gmail.com> Various security, performance, accuracy and stability issues have been fixed. https://forum.suricata.io/t/suricata-6-0-5-and-5-0-9-released/2415 Signed-off-by: Fabrice Fontaine --- package/suricata/suricata.hash | 2 +- package/suricata/suricata.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash index 098740e769..032546fd92 100644 --- a/package/suricata/suricata.hash +++ b/package/suricata/suricata.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 a8f197e33d1678689ebbf7bc1abe84934c465d22c504c47c2c7e9b74aa042d0d suricata-6.0.4.tar.gz +sha256 0d4197047c84ba070dfc6b1d9f9ee92f52a71403bfac0e29b2554bb21fe00754 suricata-6.0.5.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk index 86d8970178..36e641bf90 100644 --- a/package/suricata/suricata.mk +++ b/package/suricata/suricata.mk @@ -4,7 +4,7 @@ # ################################################################################ -SURICATA_VERSION = 6.0.4 +SURICATA_VERSION = 6.0.5 SURICATA_SITE = https://www.openinfosecfoundation.org/download SURICATA_LICENSE = GPL-2.0 SURICATA_LICENSE_FILES = COPYING LICENSE -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:39:21 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:39:21 +0200 Subject: [Buildroot] [PATCH v2, 1/4] package/zlib: add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB Message-ID: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB Signed-off-by: Fabrice Fontaine --- package/zlib/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/zlib/Config.in b/package/zlib/Config.in index d6d94889a7..3a486376ac 100644 --- a/package/zlib/Config.in +++ b/package/zlib/Config.in @@ -1,3 +1,6 @@ +config BR2_PACKAGE_ZLIB_FORCE_LIBZLIB + bool + config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS bool default y if BR2_arm @@ -33,6 +36,7 @@ config BR2_PACKAGE_LIBZLIB config BR2_PACKAGE_ZLIB_NG bool "zlib-ng" depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS + depends on !BR2_PACKAGE_ZLIB_FORCE_LIBZLIB select BR2_PACKAGE_HAS_ZLIB help Zlib replacement with optimizations for -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:39:22 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:39:22 +0200 Subject: [Buildroot] [PATCH v2, 2/4] package/clamav: doesn't build with zlib-ng In-Reply-To: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> References: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Message-ID: <20220423203924.1796541-2-fontaine.fabrice@gmail.com> clamav doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of FAR: https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: In file included from nsis/nsis_zlib.h:32, from nsis/nulsft.c:38: nsis/nsis_zutil.h:36:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uchf' 36 | typedef uch FAR uchf; | ^~~~ Fixes: - http://autobuild.buildroot.org/results/524ee31face8be6a813829b036c4d6134ee5ca98 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2: - Force libzlib instead of depending on it to avoid a recursive dependency package/clamav/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/Config.in b/package/clamav/Config.in index 990a818b5c..2857f9cbf4 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_CLAMAV select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:39:23 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:39:23 +0200 Subject: [Buildroot] [PATCH v2,3/4] package/assimp: force libzlib In-Reply-To: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> References: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Message-ID: <20220423203924.1796541-3-fontaine.fabrice@gmail.com> Force libzlib instead of depending on it Signed-off-by: Fabrice Fontaine --- package/assimp/Config.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/assimp/Config.in b/package/assimp/Config.in index 833e559a6f..5ffb50cd79 100644 --- a/package/assimp/Config.in +++ b/package/assimp/Config.in @@ -2,8 +2,9 @@ config BR2_PACKAGE_ASSIMP bool "assimp" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_PACKAGE_LIBZLIB depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help Open Asset Import Library (assimp) is a portable Open Source library to import various well-known 3D model formats in a @@ -14,11 +15,7 @@ config BR2_PACKAGE_ASSIMP http://www.assimp.org comment "assimp needs a toolchain w/ C++, wchar" - depends on BR2_PACKAGE_LIBZLIB depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR -comment "assimp needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB - comment "assimp needs exception_ptr" depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:39:24 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:39:24 +0200 Subject: [Buildroot] [PATCH v2,4/4] package/quazip: force libzlib In-Reply-To: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> References: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Message-ID: <20220423203924.1796541-4-fontaine.fabrice@gmail.com> Force libzlib instead of depending on it Signed-off-by: Fabrice Fontaine --- package/quazip/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/quazip/Config.in b/package/quazip/Config.in index a670ed458c..bba5eddf3d 100644 --- a/package/quazip/Config.in +++ b/package/quazip/Config.in @@ -1,13 +1,11 @@ config BR2_PACKAGE_QUAZIP bool "quazip" - depends on BR2_PACKAGE_LIBZLIB depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit. http://quazip.sourceforge.net - -comment "quazip needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:54:13 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:54:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/argp-standalone: fix NLS build Message-ID: <20220423205413.4083987-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump to version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and https://github.com/ericonr/argp-standalone/commit/e5fe9ad9e83e6765cf8fa787f903d4c6792338b5: /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: libargp.a(argp-parse.o): in function `argp_version_parser': /home/buildroot/autobuild/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' Fixes: - http://autobuild.buildroot.org/results/adb9c4b747352497adbc9df866709b17fe0f9755 Signed-off-by: Fabrice Fontaine --- package/argp-standalone/argp-standalone.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk index 80ca04046d..269239fa5b 100644 --- a/package/argp-standalone/argp-standalone.mk +++ b/package/argp-standalone/argp-standalone.mk @@ -12,9 +12,11 @@ ARGP_STANDALONE_LICENSE = LGPL-2.1+ ARGP_STANDALONE_LICENSE_FILES = README.md # From git ARGP_STANDALONE_AUTORECONF = YES +ARGP_STANDALONE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) ARGP_STANDALONE_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" + CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" \ + LIBS=$(TARGET_NLS_LIBS) define ARGP_STANDALONE_INSTALL_STAGING_CMDS $(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 20:59:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 22:59:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/pcre2: fix legal info Message-ID: <20220423205934.446813-1-fontaine.fabrice@gmail.com> Commit 10648db92bc5c4bfd49b58ce4f1c213defdfc7de forgot to update hash of LICENCE file (update in year: https://github.com/PCRE2Project/pcre2/commit/3103b8f20a3b9944b177e812fde29fbfb8b90558): >>> pcre2 10.40 Collecting legal info ERROR: LICENCE has wrong sha256 hash: ERROR: expected: 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 ERROR: got : 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 Fixes: - http://autobuild.buildroot.org/results/275c5478d63d3d4016d440870e96f04230df69d6 Signed-off-by: Fabrice Fontaine --- package/pcre2/pcre2.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash index e4f7980749..e3fe6b2d53 100644 --- a/package/pcre2/pcre2.hash +++ b/package/pcre2/pcre2.hash @@ -2,4 +2,4 @@ # https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2.sig sha256 14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 pcre2-10.40.tar.bz2 # Locally computed -sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE +sha256 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 LICENCE -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 23 21:11:41 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 23 Apr 2022 23:11:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/aubio: add host-pkgconf dependency Message-ID: <20220423211141.1704835-1-fontaine.fabrice@gmail.com> Add host-pkgconf dependency to fix the following build failure raised since the addition of the package in commit 280bb6807619e2e858836435f44aad0cccd27a40 and https://github.com/aubio/aubio/commit/e57859fd1f2c3c8b18b3f5ede122071c66166a8f: Checking for program 'pkg-config' : not found Could not find the program ['pkg-config'] Fixes: - http://autobuild.buildroot.org/results/e6f0e9b09e4b611daf5bb37091610d8de80f1f4d Signed-off-by: Fabrice Fontaine --- package/aubio/aubio.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index b79beccd97..b2eb2b5e6d 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -11,6 +11,7 @@ AUBIO_LICENSE = GPL-3.0+ AUBIO_LICENSE_FILES = COPYING AUBIO_INSTALL_STAGING = YES +AUBIO_DEPENDENCIES = host-pkgconf AUBIO_CONF_OPTS = \ --disable-docs \ --disable-atlas -- 2.35.1 From thomas.petazzoni at bootlin.com Sun Apr 24 04:39:37 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 24 Apr 2022 04:39:37 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-23 Message-ID: <20220424043944.1B12A81364@smtp1.osuosl.org> Hello, Autobuild statistics for 2022-04-23 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 24 | 5 | 1 | 30 | master | 164 | 338 | 1 | 503 | Classification of failures by reason for master ----------------------------------------------- host-binutils-2.32 | 42 host-gcc-final-10.3.0 | 17 git-2.31.2 | 16 toolchain-external-bootlin-... | 14 libopenssl-1.1.1n | 13 host-elf2flt-7e33f28df198c4... | 11 host-gcc-final-11.2.0 | 11 uclibc-1.0.40 | 11 ttyd-1.6.3 | 10 zchunk-1.2.2 | 9 host-libselinux-3.3 | 8 argp-standalone-1.3 | 7 host-wayland-1.20.0 | 5 linux-5.15.33 | 5 zlib-ng-2.0.6 | 5 host-libcap-2.63 | 4 package/pcre2/pcre2.mk:33: ... | 4 pcre2-legal-info | 4 polkit-a2bf5c9c83b6ae46cbd5... | 4 toolchain-external-bootlin | 4 glibc-2.34-109-gd64b08d5ba7... | 3 gobject-introspection-1.70.0 | 3 libgcrypt-1.10.0 | 3 libressl-3.4.3 | 3 tbb-2021.5.0 | 3 ace-7.0.6 | 2 acpid-2.0.33 | 2 aircrack-ng-1.6 | 2 bat-0.19.0 | 2 bitcoin-0.21.2 | 2 frr-8.2.2 | 2 fs/f2fs/f2fs.mk:64: /home/a... | 2 host-erofs-utils-1.4 | 2 host-gcc-final-9.4.0 | 2 host-gcc-initial-10.3.0 | 2 host-nodejs-14.18.3 | 2 kismet-2022-02-R1 | 2 libcap-ng-0.8.3 | 2 libglib2-2.70.4 | 2 linux-headers-5.10.104-cip3... | 2 linux-headers-5.15.33 | 2 netsniff-ng-0.6.8 | 2 perl-5.34.1 | 2 python3-3.10.2 | 2 qpid-proton-0.35.0 | 2 uacme-1.7.1 | 2 vlc-3.0.16 | 2 zstd-1.5.2 | 2 argp-standalone-1.4.1 | 1 at-3.2.5 | 1 aubio-0.4.9 | 1 azmq-1.0.3 | 1 bcg729-1.0.4 | 1 berkeleydb-5.3.28 | 1 clamav-0.103.5 | 1 containerd-1.6.2 | 1 ctorrent-dnh3.3.2 | 1 dhcp-4.4.3 | 1 docker-cli-20.10.14 | 1 elfutils-0.186 | 1 erofs-utils-1.4 | 1 eudev-3.2.11 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gobject-introspection | 1 gocryptfs-2.2.1 | 1 host-delve-1.8.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-go-1.18.1 | 1 ipmiutil-3.1.8 | 1 libdcadec-0.2.0 | 1 liblo-0.31 | 1 libnss-3.77 | 1 libvorbis-1.3.7 | 1 libwebsockets-4.3.1 | 1 linux-tools | 1 mesa3d-21.3.8 | 1 mongodb-4.2.18 | 1 musl-1.2.2 | 1 mxs-bootlets-10.12.01 | 1 netatalk-3.1.13 | 1 netdata-1.33.1 | 1 netsurf-3.10 | 1 nodejs-14.18.3 | 1 ocf-linux-20120127 | 1 openpgm-5-3-128 | 1 opus-1.3.1 | 1 pamtester-0.1.2 | 1 parted-3.4 | 1 pipewire-0.3.50 | 1 poppler-21.12.0 | 1 pppd-2.4.9 | 1 python-zopfli-0.2.1 | 1 qpdf-10.5.0 | 1 quickjs-2021-03-27 | 1 refpolicy | 1 rtl8189fs-73f826f0fa74b2fc1... | 1 rtl8723bs-11ab92d8ccd71c80f... | 1 ruby-3.1.0 | 1 s390-tools-2.20.0 | 1 scrypt-1.3.1 | 1 sdl2_ttf-2.0.18 | 1 shadowsocks-libev-3.3.5 | 1 syslog-ng-3.35.1 | 1 tinifier-3.4.0 | 1 toolchain-external-bootlin-... | 1 uclibc-ng-test-0844445e7358... | 1 uhd-3.15.0.0 | 1 wavemon-0.9.4 | 1 wtfutil-0.41.0 | 1 xen-4.14.4 | 1 xenomai | 1 xenomai-custom | 1 xfsprogs-5.14.2 | 1 xvisor-0.3.1 | 1 zziplib-0.13.72 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblaze | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/ce1d2b15a403c9adc03af1f50a38ca2322343f55 | microblazeel | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/b278c2e0983fec6a41d2c1a158e9520ecc30d7a6 | mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/3a2852a8d988caf649cd69ce587c1bbdd6ad828e | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/2fefe45d5c77dce95a5cfc9ab35c44bb5cd8425c | ORPH mips | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/26ff8b3eef8c57020f80a6787ceb627058790fd5 | x86_64 | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/c235a45db046c4709933f2cc2ae301ece1f3d87e | mips64el | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/1ff19858b12a325cd0e5fb14bcbdd1f4a53e1efa | arceb | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/f655e5aa1edb6ad6a48bd85a7c826b7343956dbe | arc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/4135ca14c1c0bbcae1052b71e3ff76c0d0b3febc | m68k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/19fb09e70be245ec21e90fc3dee0d2734aac26cc | or1k | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/44765f623704265fe778ebe997992771684b0229 | sparc | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/255f875ede96cce0626deae76eb8e432e2278fa6 | microblazeel | argp-standalone-1.3 | NOK | http://autobuild.buildroot.net/results/25475c8661ba66f0ebefd6c4215142d643075673 | mipsel | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/adb9c4b747352497adbc9df866709b17fe0f9755 | mips64el | at-3.2.5 | NOK | http://autobuild.buildroot.net/results/73dd573b616d1223f2ed7f25bf0af63db0b7b727 | x86_64 | aubio-0.4.9 | NOK | http://autobuild.buildroot.net/results/e6f0e9b09e4b611daf5bb37091610d8de80f1f4d | sparc64 | azmq-1.0.3 | NOK | http://autobuild.buildroot.net/results/85197b3c99b814d82f78e436f0281a705ee39321 | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/40fcd346235ab5868306fb36925f3389c1503c8f | i686 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/ec765d9e9a2d85f061da8bc6ba06fc26415b3e23 | i686 | bcg729-1.0.4 | NOK | http://autobuild.buildroot.net/results/893159eabccb3032827528409c7234c55d72ad3e | sh4eb | berkeleydb-5.3.28 | NOK | http://autobuild.buildroot.net/results/67fb97c6230a4c783277733a8792b1c1ccccc9be | ORPH s390x | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/c03c31509a948b8f64eb45e2e98b5259eb8ff547 | sparc64 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/bec67029988e53ef9fb65bae06397e39ea0906fa | x86_64 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/524ee31face8be6a813829b036c4d6134ee5ca98 | powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/bcd24683913b8cafdba2607997e69095c9ed328b | riscv64 | ctorrent-dnh3.3.2 | NOK | http://autobuild.buildroot.net/results/59272187ece2f6c447de1f2210f1731c514e1c54 | mipsel | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/2b91250a7af9f54def574446015eaa5689d0c46c | ORPH powerpc64le | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/5ac7be9bfd0f6afd01d80d4d36d401923219cb60 | microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/ec20945c3c67ac15e6d871790544da0d93804cc1 | ORPH or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/1fc55821e135d6c16bfa50e30d51d80d8517d491 | or1k | eudev-3.2.11 | NOK | http://autobuild.buildroot.net/results/22b0b5b78ddd6159de717daaa981fc7f48697818 | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/248454819919ec0e62109eed798401d90960dafd | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/9cca142c9fd842073d608b46a919e17ee4f41ff3 | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/aa17a761caf84107dad7fd8e1252bd5784e344e6 | s390x | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/5629675ccd580bbe0caf0dafd41c21904073f2d8 | nios2 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2b0c88f7bb707ff71d86f9798c286af3c4b0e990 | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/a6ec1af12d5be570a9c734128d868f0b448212e4 | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/350ab7164b4b23d91cc88d0961268fb736dc9b79 | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/097c3e3dd4e21a9f059cac4fa4b093939b82e8eb | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/7653b7436762daa4e9ab6a454c769e600f1172b5 | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/8a91b957fbabb7cbb6ee8433b4a87ca6dd0f6608 | mips64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0ce507811a3b980d7632485ed9f21aafd784ec8f | microblazeel | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/96b57bf8889143e3e3a9d9f85fe9e5fa84fd511e | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8bcd5cdb269aaabbb8042e547fd3c1ae413f303a | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a3c9e2d56fd73b54712c08f5e3fe2245d75cfe24 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/510c2ae8aa0042ec410638b9046a45051a4faacc | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8b2810c4b93f7489dc5fd7d184755a0130186231 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/82b1fabd8f24e83663185daa28ca1def2fb0839e | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/388a451f683c682d79059150f568c6db1c063c3c | x86_64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/2c6cf629e3e77cdc92c3744fdf94439bf5c48502 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/42104e462a2476c9ec537a839eed6bab716c4e20 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/4732219bcc7d9e0048cbdcaacfa37ed2e651de98 | mips64el | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/0b7cabd5ac41dc16051ab054b19b7811ced19a96 | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/4ba10d3b1ba332f6567122938bff04a155035afc | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/db6f65f614bbdc9fb9134ed9fc9a5efb34b578fc | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/5e58f95dd1cce0c4ea4d171d56cfd8c7d2be6388 | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/895d15f6214ce970ff2d7f301c8b2a0d485c9a6d | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f03b8828dcac0062f617f15277a0a6965703f17e | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b97423fd568d2f59ddc014a1560d9d14d7c498a0 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/da418774cd942c6a1665f8b5045323fb37a7cc85 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/7b7ac4636e27184c186efe77ad86626a260a9b7b | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/68a334eb445990fcef32374d80bcebd6190a8f1e | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/1d5b225a3c31015b21251ea26817f21880c66724 | powerpc | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/8d5dd2a297ee271ba4465489a88131ff62dbc639 | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/38db813b7a0f132115bc1158f6d6177143cbcc3a | ORPH microblazeel | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/f5cf2e1635f5d2facfef72943b12e51a837e6183 | ORPH powerpc64le | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/7866d6bb3ea841a84950139f5114be2ff9c43cf6 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/150b2754f0e65263384c2f47d8439c76ba34bf7f | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b59da5dfa690a08803f940148385ef862a107296 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5014f248a18b81d1d94a1b1ecf1ebb6dbdc490c7 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/21d86b764acdcd287f8a5fbe514bd2857e99ba06 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ddcc118ce8ac6fc9d724ed191124ff375e4dac9d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/5e1ad44918feff163bc8a2b66f58ec326053dd12 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d861a1c06fc0d4e87a08793967418164b6f383f1 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/93d95659870080082b31914d16afd57d6eb3c669 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f2e1d13b10902bb6849e8fba1b8fd24768d55754 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/86e71b30e256911b033b6391c7f7416398263863 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/fdd3671497fddd8ef62e53341414436e3ed04f4e | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f2137300bf7b248c888341ecb15eea1840159c25 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d101ebe98f178abcab9c2c8e126f6bd58376745f | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2830fbe1df369f9bbd874fe01187743fa2d1721a | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e219ff65d685a56118ae20ad6be8a67c5f45915a | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ba1aeba5e2357e819dbd9158835f0bf3d99cdd30 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/88afd9a03bcc359d227c9adcc707943a67d69be3 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9813eb1651f0e68a0c9a9d554abc95146eb6106a | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1be2749ba105155b25b17c55f95d16c201bb8c63 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9208ab138e5fda0efa22f57f9a588f8695585b49 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/17f1e952a2513ea2286248ab5d87a8871c296fbe | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/89a620c1f0ea34da1c246a1bd6ab13067a58e513 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/708ec49d02715c33594700f10f9ab24a020dc079 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a99529eb6ef8bb8595cc68a33d17509af52686ce | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/9cea0c8369542fe494794d11d492a377db6b0dee | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ee08818d802faa366cb9147217f7e2eeb51ccf8f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/bbf521377738f66c5fae744e144ca4f950fb54ce | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d772402b37344bb7530fb638e3796c59ad993ae6 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/791bee1c384f238b21079b7d545edd84a465fe8d | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d05c9c2a439a22506c2a1f3ee0ec1abbf8117061 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/013be4d821b6b399a1ca7421740219798070fb2d | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/12f5db16955026274442e1a2a5436f88ebd3d4a0 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/d40f4b573f89801557426b52d9a128b10c32dad3 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/ceee8280f4dc11d74040efb2c8356082635bf379 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/48d401f2720d95b5b014d79ba064424104a17a0d | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8ddf1bf5ba685eaaee0d4f44e24dc484fb83dc1c | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8a753605c5ca054060626725068b95fe93db177b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1e4e14113dd429d49bfadcd0e39af24c0b2af83a | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6f3c1fbf4477533fd8d0c3c9860c1bd657dd1059 | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/40485305e900059d2ede37c94e8633f38fcb0e25 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1394b084b5d336ddec9a83b00a45a3923ea49726 | sh2a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/37d285ddfcda952f57fc09b5d76a60bc1bf7fbba | arm | host-delve-1.8.0 | NOK | http://autobuild.buildroot.net/results/1f6a11830dedcfdd6c3780d497ecc82676711b2c | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/908f21753b9aa1ce864febc08348a4e8d945fea2 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/6ffc9efb7a74052e321796bec941e6e36c2a46f4 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/3319aa899a24b4cadff7fa8c86f5038871f76202 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/40bf5f1dda154bc00cd3d1072a5e8bf537e8d4be | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/3808ad4929e3f0335b9a2b208ef90607d9579a40 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/cc8828cf85ef2399fdfd2007d1a42421ee7bb3b5 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1e0764bbcea83b5713a9bdb0be79882669f6b187 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/1605811fec7573d62c65f54fc2361ca4aec08f24 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/33f5af310a2462024bfde2cfc7ad0092ae089cbc | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/aa2258fd211d7cf5d250d72a5d816a56526cdee6 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/8ca9428ee76e9f276428c10eeb6415bb4fc79076 | ORPH powerpc | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/c95a255b5fcd22026f12bea7bc9ea4cc9d7347d5 | powerpc | host-erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/743c87306314692caee8d4089cc265fa516ded25 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/62abe44689ca5e44ab290277b9d0d0c3355ea923 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9e241464b3560058093f31158ac086d5eb9496cd | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/41862c970f935ccb5e85ef148ae14205cf388f70 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/56b6d8d15038aa16ae02ebed7df76b7620108ce8 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b2473895bf83124464ffdc78ddac525cdab3670f | i686 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/aac456ec4187d8dc0f636532d0c6969ba181c135 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/760039a4785665f8f0b06a2d8c31291de4d06ffe | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/87039bc76588617386f752c496b1c7f1af6f63c6 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a7871007e30e581e45766a0610163507747b5096 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/850355365150862c4b3a7397be50f10ebc623a82 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/75aef30ca22eecde37a0023897f8af8137b09c85 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/df3e799c7d7de3bca4df2f3e9439f6f900ef6866 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/33f6b28fe6dd69b732f1f28e931d09fcd355c217 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f035209777f7176796f9f9f6b0ab0870c5e59453 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b4367f8b92b6aa1c3afcb6e265490d549472ac1c | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/377f1de26da08262805c4b1e8625768289a63e8d | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1700fe029d255bc77d6561836d3516526b8176a6 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/094586de0d5f0dc35584f9f857e30190b373a013 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/929906c060a929b9284880c6baa2816d793408d2 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/a876ed81237ef2f439354e9577a84c56be192946 | powerpc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/063a2c1faf2fa83ba94fdf7041bd9c5f702d67b1 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/c15f09d9139e8716728682661efc83f72cc69fca | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/bd0c1f0c58917350bfe9556f67dbb44ac143bab1 | riscv32 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/66d93da37a062f55fe727ba5e891399ee20cbe33 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/f26eb3a56452f74f00964f1c6b5ad346981d5978 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/ac38554c4beb0ae8855d49589db8529c2044cb63 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/6b7144ec0ae016d508bfa9175dd61fc9c3ee43e2 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/7bee04108abedc0d0d6afbd57e177ed1b1c7935c | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/29e4a15b91ef2349a74c6901cc51e76c8d4b23d1 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/a15c0ac69e83a9ca310ddca13887baa8d37c0912 | arceb | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/c2164d7f3559fb36199ef454e190fc641f86fe33 | i686 | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/ae05757b495acab8f04fc978afa1875312229869 | arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/ff17384fb775ef9dadeb0e9d06186310b042261b | ORPH mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/fb19830c41425e09ff6c5dd1551e8d964a72826c | or1k | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/5529e9fc41ec8f15ea049eab4fd9029c1de790c4 | riscv64 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/76ae1a79fca75ee2d02603f0c17753557c31ed0e | xtensa | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/e7393a49d0a2e55b313e10a682e4a16c447d61ec | nios2 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/c083e94b244635f7dc7502290fad9801cedfbfa2 | mips64el | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/a438a322182439b35423d9180bea280f50c17b13 | mips64el | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/0de1eb0b99ba5424d66d06f760a9ed43b47dff33 | sh2a | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/bacc5971ec9b475b2fd1158d34ca0f024b701b93 | powerpc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/6d350465c0d6ea6e66d5a918d481dd82f3b57be2 | or1k | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/8d6e5f1fa8445d3269e92372e935c0c2e626c4c0 | mips64 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/d16995f0decef9c9bf58cab4fa30f7daab6918fb | arc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/fee8f64c8f029bb6ef696c93dcb60fdbd1dc7ea9 | arc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/68e962ae8a8932e41c90748c0d975e06dec1d3f4 | x86_64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/3938e7dc64372834f13431c55a5740558588ec41 | riscv64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/d7b9ec0b771d0e7baaf6b41df4b631f6ea73eb46 | xtensa | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/2665cce484b529b27e859b9949e11bb180759c98 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/9ff7f7d2591e8e4117599b1e869a6b1f08567406 | aarch64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/601036e25b95d5dfab35252d3eb5afc94a760cfe | riscv32 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/877f6a3c21c64ae8373d1e6ef3d7af3c4fa67aa9 | mips64el | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/73c7fbb5c8e655d54c5228629953c9e1618e3627 | x86_64 | ipmiutil-3.1.8 | NOK | http://autobuild.buildroot.net/results/09e29529d8946d092a846f43d3c70caa688e5226 | m68k | kismet-2022-02-R1 | NOK | http://autobuild.buildroot.net/results/570356f958697d4e8dd3fde7618ce9a6c677a2a3 | ORPH mips64el | kismet-2022-02-R1 | NOK | http://autobuild.buildroot.net/results/6dead0f327b18bdeebafff30bf9e28f66676dc73 | ORPH riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/582a5192c1bd023dd9bc262829225b4c93dde04d | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/a4d199d466d55b1fe037c766b134630915a081bd | arm | libdcadec-0.2.0 | NOK | http://autobuild.buildroot.net/results/b977b4b7ced11e8f265516c81f14b3d4170acbcc | powerpc64le | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/1cccb88db1cb4aa0c4ec6c9025b2c1a1abbf83c9 | ORPH i586 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/c194c45d94537917eeaa41806fb0b4b672f0fd91 | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/20b8c796d40fea4f8af259e05b868df2209e4817 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/b2c37779fb3b08ca4aa182c8c74d4692771c72df | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/470a7e419d17298bc368b5e2885f93da388b5343 | s390x | liblo-0.31 | NOK | http://autobuild.buildroot.net/results/82e034d80530b825c4a8b48a6c9f3cb53d9e16c9 | ORPH powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/3e857c00093579aa4d30df2a12541a3c17d908a7 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/eab02bb0e4872ae133e9db73b2802f82ce5b4f27 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/b06bd5c54b82ec1961d70d41a2cbd38458746153 | riscv64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/7e839da76258b3356edc3ecf86646480da1ddb23 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9c173ee09639d175be6cac41e6191bd9e6e4d199 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/b4579e6c2abbbb209e94aa902eee384fad489524 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/556c48f45039d7f9bed3f5ce663c289e9f6a3cc0 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/6ba83db8cdd2c8df98359a07254b905d35ba41b4 | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/92465e21dfeb718745affb282ebe62fe86625d5e | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/2989b84ade80093792804deb8b77882d3464eb65 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a0fc0f5e1dd96b0c9a5a0d566a799f0b7391b11e | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9490fc0cfa00b0fc6bb805c19449d9ffb04fac27 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e2257241834d7cfc8931ae48cc7e51797b45df6a | arm | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/215ab3d526fd3d361dacb09bee6fc4d05e4e4a54 | arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/69a014c15a0728109bdd6c73e322ad1e69bc2398 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/57b744fefee4fce88c58cfae874ad435c75883b9 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/cd396d413a321cdcf722032e163213ec03c54118 | ORPH powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/8d00164d6235157bf2b76613e5cb3c41b7edaa12 | mips64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/7e39128718d07cc045bb9d2980628532368a7929 | nios2 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/dbeb32e14d4fbb0fb28cb45ad38bcd7317f31f61 | ORPH mipsel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/1c8b7e7674767d756cd41272471fd7192f6e3ae2 | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/ef85e0644149b43dee51dfdd09c7b93e759ba88f | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/020a5857059f8393ff3d22f6be2ec435f834d452 | ORPH arc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/6f3456f744c9d24abecbe90caed627461ffc2ec5 | ORPH or1k | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/a7409555962b03ac1617b0a70fa5551d34b61901 | ORPH mips64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/e88984af0fc8e885d0e0e20fdb37cd2dfe154439 | ORPH i686 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/9cc760aaf81bbb5841e18db1c7d0d9f6443f85fa | ORPH aarch64_be | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/5538f258c2b97769e6e22803cbca53b826562564 | ORPH arceb | linux-tools | NOK | http://autobuild.buildroot.net/results/0cf662be054a99a61eaa3654c3da6121b911cba0 | ORPH x86_64 | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/a77ee3aceca41b82b533348cf86d73f16f13e95c | x86_64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/da8ae226842567a144f8b2aa2358885bbe729631 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/6623a24008dbe8a23405dd65760a1262c3d2f379 | arm | mxs-bootlets-10.12.01 | NOK | http://autobuild.buildroot.net/results/8dac04915d8924e055755df56c8c3438dd0c69c6 | ORPH mips64el | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/adb081da4d57aae4a018b278e6eb5093acdf66a3 | ORPH or1k | netdata-1.33.1 | NOK | http://autobuild.buildroot.net/results/41fbffc1d40a2fff2f94562032c6f87ff8da8036 | mips | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/dfc442162b7351866a94f7f49e3c8d06d24b59d9 | mips64el | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/4fd1aaf9658a303b5d26ef3fb8e760d2423c9a03 | mipsel | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/51d1ceedef498cadc031fc6fd427cf2c26758258 | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/789e37fea3fb21cb5f11b6e95b27297b7e625b74 | s390x | ocf-linux-20120127 | NOK | http://autobuild.buildroot.net/results/4f052e8a6d95e234b8fecd241e441bb40859d74f | ORPH sparc64 | openpgm-5-3-128 | NOK | http://autobuild.buildroot.net/results/4be8ef7f9ea976be86bec398cefb4be597c7c181 | armeb | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/41fae0bd6dde3e412f2053e9e11472ed6901516d | ORPH powerpc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/074fa127952e0a688fbb81b914842fec6f212687 | sparc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/236e026b009b6239e04954075edc21d4530383c3 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f3a2f62afb002dfc91f000d10140cfaf9f29c2c5 | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/e8072df64d357db5f063e7fd19da379e0c3cb76f | mipsel | pamtester-0.1.2 | NOK | http://autobuild.buildroot.net/results/7e692465d86e8f36eab8c9d06048c72ddc7dc796 | ORPH arceb | parted-3.4 | NOK | http://autobuild.buildroot.net/results/4100fabc419e4b68be8200660b875b9cb3e424b9 | aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/275c5478d63d3d4016d440870e96f04230df69d6 | ORPH aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/4081ac1861566409f0d3a6138a7509c2703775d4 | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/947d049b551e4eab4476e786fc5d3bad0318e17a | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/596551e6d0359a6e666f9dddd27b7ed7ac85670f | ORPH or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/3992ade25915277d67adde87bf001fb94863ad5c | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/830c2e6949f7aacf52a7216b3439bdc1f556712b | microblazeel | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/b1dea433a458ff4206f0b86366d5c59646c95b6a | mips | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/a410d02bff00f7b92b070f1e97cf269f2099cf99 | s390x | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/85ec983ab31257b52d71e37ce8be452e30e5087b | mips | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/068481edf15c35d4a4f7a931883d7ea420504c24 | powerpc64 | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/a30854c20b47c1a1e368c8c45dae6f90a861f339 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/d2b2f402b9c0fbf0a75667da95be690c6c9984fa | m68k | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/1301e8a740bf0d192914a8d432b8f57acff4a67c | ORPH nios2 | python-zopfli-0.2.1 | NOK | http://autobuild.buildroot.net/results/442ae4a02e691b4039d1694620f6284906cdc97f | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3eb992740b1a943a6f95e09393ca7f307aa8e480 | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/703a225405a3ee0ab77267874ada2540c5b3be23 | sparc | qpdf-10.5.0 | NOK | http://autobuild.buildroot.net/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc | mips | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/8a68832e8b0fdba68b41c39c5149ac1955202eb1 | nios2 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/53778bae83ab2b2fbd1a2e14ae4dfc36893e63c2 | mips64el | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/b6096d84ce3efdaf6303479d33740677a3cc6f00 | mipsel | refpolicy | NOK | http://autobuild.buildroot.net/results/58a606a085873de6b6c4d69608b2de163a84f06c | sparc | rtl8189fs-73f826f0fa74b2fc1... | NOK | http://autobuild.buildroot.net/results/51e95561103e40ae94f38b9bb944bdfcd4ab50ed | riscv32 | rtl8723bs-11ab92d8ccd71c80f... | NOK | http://autobuild.buildroot.net/results/74b8cfc44ddbe72bbb6f0f27ff8eebcc4d091584 | arc | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/7104fb94bed1a5cc30bee3b647d83aa3b1e1867c | s390x | s390-tools-2.20.0 | NOK | http://autobuild.buildroot.net/results/b06efca9b6e0c58792834b16d15c8c2d0f1c3e6b | arceb | scrypt-1.3.1 | NOK | http://autobuild.buildroot.net/results/8eb33d1f552f63a38e7b29c8939ec5076a001ad6 | arm | sdl2_ttf-2.0.18 | NOK | http://autobuild.buildroot.net/results/bff32aec18eed89641e3130d547a1284a196c146 | mips64el | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/42e1c0c0c2b338cfa4afa17dd4c00433bf3ea334 | microblaze | syslog-ng-3.35.1 | NOK | http://autobuild.buildroot.net/results/03cb3f6d826c2f5f02f34f071d97b36b9e370f3a | arc | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/a1fe1a737895ace8fe999361b1e6f16da02a4124 | s390x | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/7c73f311666a463ac0ed410e7dea606c8828f3f2 | s390x | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/f5c3607ac35117dd1a831cc92c534897d985ed1f | s390x | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/5f26c47e9d83738672e1297ecb15b24950538d52 | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/ef1b603904c6d12c2e1ba779f19ea08d50fc95db | sh4aeb | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/d7185ba67e4176cb1d9a8c5d353494abe8fdd1e5 | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/bb573c2fdf53e32301e1ca0e8714cdc9d0d7c7f6 | sh4aeb | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/3665d80bae7f4ec92b4868c5e0515862f456b933 | aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/05b01deaa1bd422b818c24e3453410d1666fff0b | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/eba66342a820e9a81a49d4099b62c0cda058a9f7 | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/7ad00b51c0cbfed3a7c69912822a4f1464ba6abe | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/eec0adba76d51f0f151208767380f8cacf05a874 | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ad58df0343ebb19ecddb1da5c29261b3ee3a37a7 | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/5735dd85e050fc5120a096a8f4e0226fa3485d18 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ee093a81721dd3dc97ebb2895b29d31e8a2303ec | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/71f559374b0487731ea86bca405e479c3d9b91b8 | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/24b1695c19f6d22826b36e1506de6e0ee88a70f1 | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/2c07e2396475b0831417dce92b0a24eba918b8d3 | ORPH sh4 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/99cedd4820357700a82ef24cd4b08204d94b15cf | ORPH arm | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d181b575ed6bf4151890ae1b5e038ebffe8d991d | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/45c44f3520820552616851f0e1197a305d705adf | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/ec68a4600471b09851661379ad70ee5ae0d52cee | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/a7a53846b04ca7c368694880af769b11748904bb | ORPH s390x | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/d7e28fba959a288f9c102e9e580391c2054f23d8 | x86_64 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/3488de6873893b6e5fce886ffdcd3079c7faa7e0 | powerpc64le | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/2a8c253f2813b2f1ce9b8c704f072045296509e9 | riscv32 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/da7982b1b3e43b60bd05f2b9fb75602dbdd9295b | microblaze | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/b25e68328345bb3e3e08e75023a856efc7bd7685 | powerpc64 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/b194175b43912f43aa91bcbe13e38107217683ed | powerpc | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/64b7852cafb66847acce19b4e8e908d348b6a29d | powerpc | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/3e4b6936a03a64489525c86dde47663411c5fe22 | riscv32 | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/6cba134a7802952ff610e3be09d29b4b74d3e048 | arc | ttyd-1.6.3 | NOK | http://autobuild.buildroot.net/results/ff8e03128e94905279caa58cb5b6155060826214 | powerpc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/e11ae53f8ca04547cee844c24f25f546c5279cf7 | arceb | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/592ca93af693636ae2f491b82a428ba60f0f1129 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7b5770169526af9af8df8d9594b55b57bf23188a | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/cc2d52e552dc3f6446411bea7aaa3d36c6582595 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/e3480c8cbbe2fbad7b878c4f54d4c470bf3db5ff | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f721e20428e192421b9295f73d27642d162b8ec2 | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7339f9891c84c2e486b2edc701ad04af71df40b2 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/d5aa4cd9e2c5868b2571c117edf6b4381334bc86 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1007358011be55ccd49290de6b9aa06ea5067668 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/50e0f0f817e2100357c7b84a9a384c9f81bb7ae9 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/7bfa856cf2fd52e739e3f62278976641d805e3c8 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c14748591f374018274bd0eec35db692940722f4 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b82df5c3956e822f343e25bf3fac32d9fc6774c2 | mips64 | uclibc-ng-test-0844445e7358... | NOK | http://autobuild.buildroot.net/results/e4956e8c0f1cbb6441bab17ebae9e414f842e8e4 | riscv32 | uhd-3.15.0.0 | NOK | http://autobuild.buildroot.net/results/0b91bca5fcda9d16c0196fc678e4266c28da8db2 | xtensa | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/05619468a8f1be8676c556ccb646cfb5ebce2955 | m68k | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/bc8e2672592028d09aad3f7e39acf46aef931300 | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/947faae47c5ff605cc94933da10ed4464dc9f916 | x86_64 | wtfutil-0.41.0 | NOK | http://autobuild.buildroot.net/results/3ef9baabddfc1c5d39c978fa9c56afe32d4edd61 | arm | xen-4.14.4 | NOK | http://autobuild.buildroot.net/results/779c95c959ac9f59dfcfb836cf1b84101765e1c9 | xtensa | xenomai | NOK | http://autobuild.buildroot.net/results/8e7e979a8c5017cba28883740e6290cf094a9cc2 | s390x | xenomai-custom | NOK | http://autobuild.buildroot.net/results/82c456a714e413634416c937d4353497e51c7398 | mips64el | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/8b24eedbcc0f446c8ac4912847f997f65e4462ef | ORPH riscv32 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/6615c04510286c8649a2ffe3e865cd3f301e64bb | mips64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/273be05265647e6a4933238c8e51f96ce88f9f18 | mips | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/3d33e5b7544b71897e4fc7ec58de4c62188d41c0 | m68k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/6fbb531acc9810149f36fd4f913ef3c575c9cbf4 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/55c88543f659e6fcebe0cf64346c19f7253003fc | or1k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b5e243be965e7b198648bef198f420f3fd1dc882 | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/51b968d51888ff4efde719a6ccba906e360ccb52 | microblaze | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/3f473e17382e4cd7d0f90a4ce2776258d00e0597 | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/32b5225a3e973a48df940a5a648ed9db550f63b1 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/28f285e412c90185eecbb8905afe412f0fee2816 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0c05f5850ec57fb608354bade37b212269606d49 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f73b5cb5157b478faccb5e3e003c6086047f72f9 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a8629e263e1ea731f1f2bc8ccfeb4982bbd4c4aa | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/41b5b34adac9f2c4b54bbcd7b0f09a41b8c99d09 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/33c8887bdd745af20da34ed54fd347c9e0988715 | ORPH microblaze | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/7d52b523b1b9e5b1aaff8d63d2929d847f6126b2 | microblazeel | zstd-1.5.2 | NOK | http://autobuild.buildroot.net/results/db26d7284cdd4d1d8d3262fd67b9db38e24ceecf | arm | zziplib-0.13.72 | NOK | http://autobuild.buildroot.net/results/46132594ec9e4ea5f69fe567697d8243ed716bb8 | Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 3 host-pahole-v1.23 | 1 libuwsc | 1 poppler-21.12.0 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- riscv32 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/45dcfee26ab78f50fb6f8215041455a17931ab0f | m68k | libuwsc | TIM | http://autobuild.buildroot.net/results/9ab10fb18c26481f99cb50abd1ea778168737568 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/7c1cf4dbaa6d47ef87c29173861c79bd74a51e35 | arm | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/04d591533ec086cfc075e2d9462ea592625597f9 | xtensa | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/59a0377c8c8d39dde7a046c39d1181ffedab3c08 | powerpc64le | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/7aaca34bb51c9ebcd6b2cfb798ab15dba4b8232c | -- http://autobuild.buildroot.net From fperrad at gmail.com Sun Apr 24 07:20:16 2022 From: fperrad at gmail.com (Francois Perrad) Date: Sun, 24 Apr 2022 09:20:16 +0200 Subject: [Buildroot] [PATCH] package/libressl: bump to version 3.5.2 Message-ID: <20220424072016.3459504-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- package/libressl/Config.in | 2 ++ package/libressl/libressl.hash | 2 +- package/libressl/libressl.mk | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch index 98fe250f6..1c59aec72 100644 --- a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch +++ b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch @@ -20,7 +20,7 @@ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 46f24b2ea..4048a6e63 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h -@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, +@@ -408,11 +408,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, #define SSL_OP_NO_TLSv1 0x04000000L #define SSL_OP_NO_TLSv1_2 0x08000000L #define SSL_OP_NO_TLSv1_1 0x10000000L diff --git a/package/libressl/Config.in b/package/libressl/Config.in index 600829cb9..aa42c21a9 100644 --- a/package/libressl/Config.in +++ b/package/libressl/Config.in @@ -6,4 +6,6 @@ config BR2_PACKAGE_LIBRESSL_BIN Install the openssl binary to the target file system. This is a command line tool for doing various cryptographic stuff. + https://www.libressl.org/ + endif diff --git a/package/libressl/libressl.hash b/package/libressl/libressl.hash index e92399871..c3590798d 100644 --- a/package/libressl/libressl.hash +++ b/package/libressl/libressl.hash @@ -1,4 +1,4 @@ # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz +sha256 56feab8e21c3fa6549f8b7d7511658b8e98518162838a795314732654adf3e5f libressl-3.5.2.tar.gz # Locally computed sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk index 0bb468ced..c9c484d5d 100644 --- a/package/libressl/libressl.mk +++ b/package/libressl/libressl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRESSL_VERSION = 3.4.3 +LIBRESSL_VERSION = 3.5.2 LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) LIBRESSL_LICENSE_FILES = COPYING -- 2.32.0 From fontaine.fabrice at gmail.com Sun Apr 24 08:19:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 10:19:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed Message-ID: <20220424081903.3535909-1-fontaine.fabrice@gmail.com> Link with -latomic if needed to avoid the following build failure since bump to version 10.5.0 in commit b5352c2177011ca389cbb7c68e78447549cbdaaa and https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c: /nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()': QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8' Fixes: - http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc Signed-off-by: Fabrice Fontaine --- package/qpdf/qpdf.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk index 8e0769059d..a58781f4f1 100644 --- a/package/qpdf/qpdf.mk +++ b/package/qpdf/qpdf.mk @@ -32,4 +32,8 @@ else QPDF_CONF_OPTS += --disable-crypto-openssl endif +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +QPDF_CONF_ENV += LIBS=-latomic +endif + $(eval $(autotools-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 24 08:45:38 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 10:45:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/omniorb: fix openssl build Message-ID: <20220424084538.2740476-1-fontaine.fabrice@gmail.com> Add host-pkgconf dependency to fix the following build failure with openssl raised since commit 9d519412d65e13e4a7ffbb83edd8d1e4b2dfe4b7: /nvmedata/autobuild/instance-25/output-1/per-package/omniorb/host/bin/m68k-buildroot-linux-uclibc-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -fexceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I./.. -I../../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY -D__OMNIORB4__ -I../../../../../stub -D_REENTRANT -I/usr/include -I. -I. -I../../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__m68k__ -o static/sslActive.o sslActive.cc m68k-buildroot-linux-uclibc-g++: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/stdlib.h:55, from /usr/include/openssl/crypto.h:14, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/ssl.h:18, from ../../../../../include/omniORB4/sslContext.h:48, from sslActive.cc:32: /usr/include/bits/floatn.h:75:70: error: unknown machine mode '__TC__' 75 | typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__))); | Fixes: - http://autobuild.buildroot.org/results/47b1906eb7dd122a81191d14ad663c5931cbfade Signed-off-by: Fabrice Fontaine --- package/omniorb/omniorb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk index b44ec53fd5..d6434735cf 100644 --- a/package/omniorb/omniorb.mk +++ b/package/omniorb/omniorb.mk @@ -25,7 +25,7 @@ HOST_OMNIORB_CONF_OPTS += --disable-longdouble ifeq ($(BR2_PACKAGE_OPENSSL),y) OMNIORB_CONF_OPTS += --with-openssl -OMNIORB_DEPENDENCIES += openssl +OMNIORB_DEPENDENCIES += host-pkgconf openssl else OMNIORB_CONF_OPTS += --without-openssl endif -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 24 08:45:17 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:45:17 +0200 Subject: [Buildroot] [git commit] arch/Config.in.sh: move BR2_ARCH_HAS_MMU_MANDATORY one level up Message-ID: <20220424084158.BCFB284150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ec190481a76b494d348e0e03cfa3c580bb444d03 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Now that all SuperH cores have an MMU, and must use it, move back the select BR2_ARCH_HAS_MMU_MANDATORY one level up. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in | 1 + arch/Config.in.sh | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index e51ef60f40..1ea4e21413 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -228,6 +228,7 @@ config BR2_s390x config BR2_sh bool "SuperH" + select BR2_ARCH_HAS_MMU_MANDATORY help SuperH (or SH) is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by diff --git a/arch/Config.in.sh b/arch/Config.in.sh index f00954bb5e..d3acc8ccf8 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -7,16 +7,12 @@ choice config BR2_sh4 bool "sh4 (SH4 little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4eb bool "sh4eb (SH4 big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4a bool "sh4a (SH4A little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY endchoice config BR2_ARCH From yann.morin.1998 at free.fr Sun Apr 24 08:46:22 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:46:22 +0200 Subject: [Buildroot] [git commit] arch/Config.in: remove BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64* Message-ID: <20220424084158.C55318414E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=42a3300ae5641bf45c4c8f6a1306f4e06dc93034 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Selecting BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64 and BR2_aarch64_be doesn't make much sense, because the actual ARM cores described in arch/Config.in.arm then all select BR2_ARCH_HAS_MMU_OPTIONAL. So we end up with both BR2_ARCH_HAS_MMU_OPTIONAL and BR2_ARCH_HAS_MMU_MANDATORY, which doesn't make any sense. To prevent this, we remove the selection of BR2_ARCH_HAS_MMU_MANDATORY from BR2_aarch64 and BR2_aarch64_be, and let arch/Config.in.arm do its job. What arch/Config.in.arm does is currently incorrect, but it will be fixed in a separate commit. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index 1ea4e21413..49e16fce38 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -60,7 +60,6 @@ config BR2_armeb config BR2_aarch64 bool "AArch64 (little endian)" select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY help Aarch64 is a 64-bit architecture developed by ARM Holdings. http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php @@ -69,7 +68,6 @@ config BR2_aarch64 config BR2_aarch64_be bool "AArch64 (big endian)" select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY help Aarch64 is a 64-bit architecture developed by ARM Holdings. http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php From yann.morin.1998 at free.fr Sun Apr 24 08:28:53 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:28:53 +0200 Subject: [Buildroot] [git commit] arch/Config.in.sh: fixup MMU selection Message-ID: <20220424084158.A86DF8414E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa8a2dacf2ef3081a403a82e93b3815383d8a107 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master BR2_sh selects BR2_ARCH_HAS_MMU_OPTIONAL, which means that it's up to the user to decide whether he wants to use MMU or not on SuperH platforms. However: - On SH2A, there is no MMU at all, so being to select "Use MMU" doesn't make any sense. - On SH4, there is no support for *not* using the MMU, so disabling "Use MMU" will cause the build to fail. In order to fix this, we move the MMU selection to arch/Config.in.sh: - BR2_sh2a selects nothing, so that it's always noMMU - BR2_sh4* select BR2_ARCH_HAS_MMU_MANDATORY so that the MMU is always used. Fixes: http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20/ (FLAT selected with sh4aeb) http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9/ (FLAT selected with sh4a) http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06/ (FLAT selected with sh4) Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in | 1 - arch/Config.in.sh | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/Config.in b/arch/Config.in index 98b0e40d51..e51ef60f40 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -228,7 +228,6 @@ config BR2_s390x config BR2_sh bool "SuperH" - select BR2_ARCH_HAS_MMU_OPTIONAL help SuperH (or SH) is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by diff --git a/arch/Config.in.sh b/arch/Config.in.sh index c1ba449dd5..a012cbf491 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -9,12 +9,16 @@ config BR2_sh2a bool "sh2a (SH2A big endian)" config BR2_sh4 bool "sh4 (SH4 little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4eb bool "sh4eb (SH4 big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4a bool "sh4a (SH4A little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY endchoice config BR2_ARCH From yann.morin.1998 at free.fr Sun Apr 24 08:49:58 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:49:58 +0200 Subject: [Buildroot] [git commit] arch/Config.in.arm: re-organize MMU selection Message-ID: <20220424084158.CDE188414F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c925613dc1d3af6031c9a39bb51b418cfe2b9d8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master So far, all ARM cores were selecting BR2_ARCH_HAS_MMU_OPTIONAL, except no-MMU cores which were selecting nothing. In practice, MMU-capable ARM cores are always used with their MMU enabled, so it doesn't make sense to support the use case of not using the MMU on such cores. Consequently, to simplify things, we group the MMU handling in the BR2_ARM_CPU_ARM* options: BR2_ARM_CPU_ARMV4, BR2_ARM_CPU_ARMV5, BR2_ARM_CPU_ARMV6, BR2_ARM_CPU_ARMV7A, BR2_ARM_CPU_ARMV8A all select BR2_ARCH_HAS_MMU_MANDATORY, while BR2_ARM_CPU_ARMV7M continues to select nothing, indicating that there is no MMU available at all. Fixes: http://autobuild.buildroot.net/results/33277d4687ca9a04dbfb02c50e5755ff9e55b0b4/ (FLAT selected on AArch64) http://autobuild.buildroot.net/results/5e34d11393e14fc36fd6e72b69679bc4fd1e3798/ (FLAT selected on AArch64 big-endian) Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in.arm | 59 +++++------------------------------------------------- 1 file changed, 5 insertions(+), 54 deletions(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 85040ac89f..fa2e882550 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -73,21 +73,26 @@ config BR2_ARM_CPU_HAS_THUMB2 config BR2_ARM_CPU_ARMV4 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV5 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV6 bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV7A bool + select BR2_ARCH_HAS_MMU_MANDATORY config BR2_ARM_CPU_ARMV7M bool config BR2_ARM_CPU_ARMV8A bool + select BR2_ARCH_HAS_MMU_MANDATORY choice prompt "Target Architecture Variant" @@ -103,23 +108,19 @@ config BR2_arm920t select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm922t bool "arm922t" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_fa526 bool "fa526/626" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_strongarm bool "strongarm sa110/sa1100" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv5 cores" config BR2_arm926t @@ -128,18 +129,15 @@ config BR2_arm926t select BR2_ARM_CPU_MAYBE_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_iwmmxt bool "iwmmxt" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_xscale bool "xscale" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv6 cores" config BR2_arm1136j_s @@ -147,34 +145,29 @@ config BR2_arm1136j_s select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1136jf_s bool "arm1136jf-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1176jz_s bool "arm1176jz-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm1176jzf_s bool "arm1176jzf-s" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_arm11mpcore bool "mpcore" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_MAYBE_HAS_VFPV2 select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv7a cores" config BR2_cortex_a5 @@ -184,7 +177,6 @@ config BR2_cortex_a5 select BR2_ARM_CPU_MAYBE_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a7 bool "cortex-A7" select BR2_ARM_CPU_HAS_ARM @@ -192,7 +184,6 @@ config BR2_cortex_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a8 bool "cortex-A8" select BR2_ARM_CPU_HAS_ARM @@ -200,7 +191,6 @@ config BR2_cortex_a8 select BR2_ARM_CPU_HAS_VFPV3 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a9 bool "cortex-A9" select BR2_ARM_CPU_HAS_ARM @@ -208,7 +198,6 @@ config BR2_cortex_a9 select BR2_ARM_CPU_MAYBE_HAS_VFPV3 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a12 bool "cortex-A12" select BR2_ARM_CPU_HAS_ARM @@ -216,7 +205,6 @@ config BR2_cortex_a12 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a15 bool "cortex-A15" select BR2_ARM_CPU_HAS_ARM @@ -224,7 +212,6 @@ config BR2_cortex_a15 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a15_a7 bool "cortex-A15/A7 big.LITTLE" select BR2_ARM_CPU_HAS_ARM @@ -232,7 +219,6 @@ config BR2_cortex_a15_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 config BR2_cortex_a17 bool "cortex-A17" @@ -241,7 +227,6 @@ config BR2_cortex_a17 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_cortex_a17_a7 bool "cortex-A17/A7 big.LITTLE" @@ -250,14 +235,12 @@ config BR2_cortex_a17_a7 select BR2_ARM_CPU_HAS_VFPV4 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_pj4 bool "pj4" select BR2_ARM_CPU_HAS_ARM select BR2_ARM_CPU_HAS_VFPV3 select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL comment "armv7m cores" config BR2_cortex_m3 @@ -286,7 +269,6 @@ config BR2_cortex_a32 select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a35 bool "cortex-A35" @@ -295,7 +277,6 @@ config BR2_cortex_a35 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a53 bool "cortex-A53" @@ -304,7 +285,6 @@ config BR2_cortex_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a57 bool "cortex-A57" select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 @@ -312,7 +292,6 @@ config BR2_cortex_a57 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL config BR2_cortex_a57_a53 bool "cortex-A57/A53 big.LITTLE" select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 @@ -320,7 +299,6 @@ config BR2_cortex_a57_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a72 bool "cortex-A72" @@ -329,7 +307,6 @@ config BR2_cortex_a72 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_cortex_a72_a53 bool "cortex-A72/A53 big.LITTLE" @@ -338,7 +315,6 @@ config BR2_cortex_a72_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_cortex_a73 bool "cortex-A73" @@ -347,7 +323,6 @@ config BR2_cortex_a73 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_cortex_a73_a35 bool "cortex-A73/A35 big.LITTLE" @@ -356,7 +331,6 @@ config BR2_cortex_a73_a35 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_cortex_a73_a53 bool "cortex-A73/A53 big.LITTLE" @@ -365,14 +339,12 @@ config BR2_cortex_a73_a53 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_emag bool "emag" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_exynos_m1 bool "exynos-m1" @@ -381,63 +353,54 @@ config BR2_exynos_m1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_falkor bool "falkor" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_phecda bool "phecda" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_qdf24xx bool "qdf24xx" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 config BR2_thunderx bool "thunderx (aka octeontx)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 config BR2_thunderxt81 bool "thunderxt81 (aka octeontx81)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt83 bool "thunderxt83 (aka octeontx83)" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt88 bool "thunderxt88" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderxt88p1 bool "thunderxt88p1" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_xgene1 bool "xgene1" @@ -446,7 +409,6 @@ config BR2_xgene1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 comment "armv8.1a cores" @@ -455,21 +417,18 @@ config BR2_thunderx2t99 depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_thunderx2t99p1 bool "thunderx2t99p1" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 config BR2_vulcan bool "vulcan" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 comment "armv8.2a cores" @@ -478,21 +437,18 @@ config BR2_cortex_a55 depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a75 bool "cortex-A75" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a75_a55 bool "cortex-A75/A55 big.LITTLE" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 config BR2_cortex_a76 bool "cortex-A76" @@ -501,7 +457,6 @@ config BR2_cortex_a76 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_cortex_a76_a55 bool "cortex-A76/A55 big.LITTLE" @@ -510,7 +465,6 @@ config BR2_cortex_a76_a55 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_neoverse_n1 bool "neoverse-N1 (aka ares)" @@ -519,14 +473,12 @@ config BR2_neoverse_n1 select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 config BR2_tsv110 bool "tsv110" depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 comment "armv8.4a cores" @@ -535,7 +487,6 @@ config BR2_saphira depends on BR2_ARCH_IS_64 select BR2_ARM_CPU_HAS_FP_ARMV8 select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 endchoice From yann.morin.1998 at free.fr Sun Apr 24 08:38:52 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:38:52 +0200 Subject: [Buildroot] [git commit] arch: drop support for SH2A Message-ID: <20220424084158.B42688414F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=04ea3d38dd76f4e96f4961143d674aff59b13d3f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Until commit "arch/Config.in.sh: fixup MMU selection" in this series, SH2A could either be used with BR2_USE_MMU disabled or BR2_USE_MMU enabled. The later made absolutely no sense, since SH2A does not have a MMU: MMU support was introduced starting from SH3 according to https://en.wikipedia.org/wiki/SuperH#SH-3 Also, since commit 22d5501e03b019218b718b5de7ca74824a8eaf42 ("arch: tidy up binary formats config"), which was merged in Buildroot 2015.05, the architecture tuple used when BR2_sh2a=y and BR2_USE_MMU disabled is sh2a-buildroot-uclinux-uclibc, and this was already unsupported back in the days of Buildroot 2015.08 and binutils 2.24, causing the build to fail with: *** BFD does not support target sh2a-buildroot-uclinux-uclibc. just like it fails to build today with recent version of binutils. So, this has been broken since 2015.08, and nobody complained. SH2A is seldom used, so it's time to kill it. It is worth mentioning that there had been an attempt at resurrecting SH2 support around 2015 (see https://lwn.net/Articles/647636/) as part of the J2 core. This effort led to the addition of FDPIC support for SH2A in the musl C library (and therefore proper ELF binaries, with shared libraries), but that was never supported in Buildroot. Now that the J2 project is essentially dead, there is no reason to bother with this. Fixes: http://autobuild.buildroot.net/results/63d01d33ae30f86b63b9f42a9fea116f2f3e9005/ Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- Config.in.legacy | 7 +++++++ arch/Config.in.sh | 5 +---- package/uclibc/Config.in | 1 - toolchain/toolchain-buildroot/Config.in | 2 +- utils/genrandconfig | 9 +++------ 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 2b9575fe22..387653f45d 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2022.05" +config BR2_sh2a + bool "sh2a architecture support removed" + select BR2_LEGACY + help + The SuperH 2A (SH2A) architecture was not maintained, and + broken, so its support was dropped. + config BR2_BINUTILS_VERSION_2_35_X bool "binutils 2.35.x has been removed" select BR2_LEGACY diff --git a/arch/Config.in.sh b/arch/Config.in.sh index a012cbf491..f00954bb5e 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -5,8 +5,6 @@ choice help Specific CPU variant to use -config BR2_sh2a - bool "sh2a (SH2A big endian)" config BR2_sh4 bool "sh4 (SH4 little endian)" select BR2_ARCH_HAS_MMU_MANDATORY @@ -22,7 +20,6 @@ config BR2_sh4aeb endchoice config BR2_ARCH - default "sh2a" if BR2_sh2a default "sh4" if BR2_sh4 default "sh4eb" if BR2_sh4eb default "sh4a" if BR2_sh4a @@ -33,7 +30,7 @@ config BR2_NORMALIZED_ARCH config BR2_ENDIAN default "LITTLE" if BR2_sh4 || BR2_sh4a - default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb + default "BIG" if BR2_sh4eb || BR2_sh4aeb config BR2_READELF_ARCH_NAME default "Renesas / SuperH SH" diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in index 2091166b62..310414bebc 100644 --- a/package/uclibc/Config.in +++ b/package/uclibc/Config.in @@ -124,7 +124,6 @@ config BR2_UCLIBC_MIPS_NAN config BR2_UCLIBC_SH_TYPE string - default "SH2A" if BR2_sh2a default "SH4" if BR2_sh4 || BR2_sh4eb depends on BR2_UCLIBC_TARGET_ARCH = "sh" diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in index 4004c0edf8..be89f68ab5 100644 --- a/toolchain/toolchain-buildroot/Config.in +++ b/toolchain/toolchain-buildroot/Config.in @@ -31,7 +31,7 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC BR2_arm || BR2_armeb || \ BR2_i386 || BR2_m68k || BR2_microblaze || \ BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ - BR2_or1k || BR2_powerpc || BR2_RISCV_64 || BR2_sh2a || \ + BR2_or1k || BR2_powerpc || BR2_RISCV_64 || \ BR2_sh4 || BR2_sh4eb || BR2_sparc || BR2_xtensa || \ BR2_x86_64 select BR2_TOOLCHAIN_USES_UCLIBC diff --git a/utils/genrandconfig b/utils/genrandconfig index 59fe34e58d..adefb8f502 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -237,12 +237,9 @@ def fixup_config(sysinfo, configfile): if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: return False - # libffi not available on sh2a and ARMv7-M, but propagating libffi - # arch dependencies in Buildroot is really too much work, so we - # handle this here. - if 'BR2_sh2a=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False + # libffi not available on ARMv7-M, but propagating libffi arch + # dependencies in Buildroot is really too much work, so we handle + # this here. if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ 'BR2_PACKAGE_LIBFFI=y\n' in configlines: return False From yann.morin.1998 at free.fr Sun Apr 24 08:54:54 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:54:54 +0200 Subject: [Buildroot] [PATCH 4/5] arch: drop support for SH2A In-Reply-To: <20220419213450.887728-4-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> <20220419213450.887728-4-thomas.petazzoni@bootlin.com> Message-ID: <20220424085454.GS2730@scaer> Thomas, All, On 2022-04-19 23:34 +0200, Thomas Petazzoni via buildroot spake thusly: > Until commit "arch/Config.in.sh: fixup MMU selection" in this series, > SH2A could either be used with BR2_USE_MMU disabled or BR2_USE_MMU > enabled. > > The later made absolutely no sense, since SH2A does not have a MMU: > MMU support was introduced starting from SH3 according to > https://en.wikipedia.org/wiki/SuperH#SH-3 > > Also, since commit 22d5501e03b019218b718b5de7ca74824a8eaf42 ("arch: > tidy up binary formats config"), which was merged in Buildroot > 2015.05, the architecture tuple used when BR2_sh2a=y and BR2_USE_MMU > disabled is sh2a-buildroot-uclinux-uclibc, and this was already > unsupported back in the days of Buildroot 2015.08 and binutils 2.24, > causing the build to fail with: > > *** BFD does not support target sh2a-buildroot-uclinux-uclibc. > > just like it fails to build today with recent version of binutils. > > So, this has been broken since 2015.08, and nobody complained. SH2A is > seldomly used, so it's time to kill. seldomly is archaic [0]; seldom is an adverb [1]. ;-) [0] https://www.merriam-webster.com/dictionary/seldomly [1] https://www.merriam-webster.com/dictionary/seldom Applied to master, thanks. Regards, Yann E. MORIN. > It is worth mentioning that there has been an attempt at resurrecting > SH2 support around 2015 (see https://lwn.net/Articles/647636/) as part > of the J2 core. This effort led to the addition of FDPIC support for > SH2A in the musl C library (and therefore proper ELF binaries, with > shared libraries), but that was never supported in Buildroot. Now that > the J2 project is essentially dead, there is no reason to bother with > this. > > Fixes: > > http://autobuild.buildroot.net/results/63d01d33ae30f86b63b9f42a9fea116f2f3e9005/ > > Signed-off-by: Thomas Petazzoni > --- > Config.in.legacy | 7 +++++++ > arch/Config.in.sh | 5 +---- > package/uclibc/Config.in | 1 - > toolchain/toolchain-buildroot/Config.in | 2 +- > utils/genrandconfig | 9 +++------ > 5 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/Config.in.legacy b/Config.in.legacy > index 27f19f14e7..1578ffd016 100644 > --- a/Config.in.legacy > +++ b/Config.in.legacy > @@ -146,6 +146,13 @@ endif > > comment "Legacy options removed in 2022.05" > > +config BR2_sh2a > + bool "sh2a architecture support removed" > + select BR2_LEGACY > + help > + The SuperH 2A (SH2A) architecture was not maintained, and > + broken, so its support was dropped. > + > config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED > bool "boost versioned layout removed" > select BR2_LEGACY > diff --git a/arch/Config.in.sh b/arch/Config.in.sh > index a012cbf491..f00954bb5e 100644 > --- a/arch/Config.in.sh > +++ b/arch/Config.in.sh > @@ -5,8 +5,6 @@ choice > help > Specific CPU variant to use > > -config BR2_sh2a > - bool "sh2a (SH2A big endian)" > config BR2_sh4 > bool "sh4 (SH4 little endian)" > select BR2_ARCH_HAS_MMU_MANDATORY > @@ -22,7 +20,6 @@ config BR2_sh4aeb > endchoice > > config BR2_ARCH > - default "sh2a" if BR2_sh2a > default "sh4" if BR2_sh4 > default "sh4eb" if BR2_sh4eb > default "sh4a" if BR2_sh4a > @@ -33,7 +30,7 @@ config BR2_NORMALIZED_ARCH > > config BR2_ENDIAN > default "LITTLE" if BR2_sh4 || BR2_sh4a > - default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb > + default "BIG" if BR2_sh4eb || BR2_sh4aeb > > config BR2_READELF_ARCH_NAME > default "Renesas / SuperH SH" > diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in > index 2091166b62..310414bebc 100644 > --- a/package/uclibc/Config.in > +++ b/package/uclibc/Config.in > @@ -124,7 +124,6 @@ config BR2_UCLIBC_MIPS_NAN > > config BR2_UCLIBC_SH_TYPE > string > - default "SH2A" if BR2_sh2a > default "SH4" if BR2_sh4 || BR2_sh4eb > depends on BR2_UCLIBC_TARGET_ARCH = "sh" > > diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in > index 4004c0edf8..be89f68ab5 100644 > --- a/toolchain/toolchain-buildroot/Config.in > +++ b/toolchain/toolchain-buildroot/Config.in > @@ -31,7 +31,7 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC > BR2_arm || BR2_armeb || \ > BR2_i386 || BR2_m68k || BR2_microblaze || \ > BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ > - BR2_or1k || BR2_powerpc || BR2_RISCV_64 || BR2_sh2a || \ > + BR2_or1k || BR2_powerpc || BR2_RISCV_64 || \ > BR2_sh4 || BR2_sh4eb || BR2_sparc || BR2_xtensa || \ > BR2_x86_64 > select BR2_TOOLCHAIN_USES_UCLIBC > diff --git a/utils/genrandconfig b/utils/genrandconfig > index 59fe34e58d..adefb8f502 100755 > --- a/utils/genrandconfig > +++ b/utils/genrandconfig > @@ -237,12 +237,9 @@ def fixup_config(sysinfo, configfile): > if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ > BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: > return False > - # libffi not available on sh2a and ARMv7-M, but propagating libffi > - # arch dependencies in Buildroot is really too much work, so we > - # handle this here. > - if 'BR2_sh2a=y\n' in configlines and \ > - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: > - return False > + # libffi not available on ARMv7-M, but propagating libffi arch > + # dependencies in Buildroot is really too much work, so we handle > + # this here. > if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ > 'BR2_PACKAGE_LIBFFI=y\n' in configlines: > return False > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 24 08:56:14 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 10:56:14 +0200 Subject: [Buildroot] [PATCH 1/5] arch/Config.in.sh: fixup MMU selection In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Message-ID: <20220424085614.GT2730@scaer> Thomas, All, On 2022-04-19 23:34 +0200, Thomas Petazzoni via buildroot spake thusly: > BR2_sh selects BR2_ARCH_HAS_MMU_OPTIONAL, which means that it's up to > the user to decide whether he wants to use MMU or not on SuperH > platforms. > > However: > > - On SH2A, there is no MMU at all, so being to select "Use MMU" > doesn't make any sense. > > - On SH4, there is no support for *not* using the MMU, so disabling > "Use MMU" will cause the build to fail. > > In order to fix this, we move the MMU selection to arch/Config.in.sh: > > - BR2_sh2a selects nothing, so that it's always noMMU > > - BR2_sh4* select BR2_ARCH_HAS_MMU_MANDATORY so that the MMU is > always used. > > Fixes: > > http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20/ (FLAT > selected with sh4aeb) > > http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9/ (FLAT > selected with sh4a) > > http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06/ (FLAT > selected with sh4) > > Signed-off-by: Thomas Petazzoni Whole series of 5 patches applied to master. I reorganised them to apply all the Super-H patches together, then the ARM patches, as I thought it made more sense to group by architecture than by "MMU fixup". Regards, Yann E. MORIN. > --- > arch/Config.in | 1 - > arch/Config.in.sh | 4 ++++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/arch/Config.in b/arch/Config.in > index 98b0e40d51..e51ef60f40 100644 > --- a/arch/Config.in > +++ b/arch/Config.in > @@ -228,7 +228,6 @@ config BR2_s390x > > config BR2_sh > bool "SuperH" > - select BR2_ARCH_HAS_MMU_OPTIONAL > help > SuperH (or SH) is a 32-bit reduced instruction set computer > (RISC) instruction set architecture (ISA) developed by > diff --git a/arch/Config.in.sh b/arch/Config.in.sh > index c1ba449dd5..a012cbf491 100644 > --- a/arch/Config.in.sh > +++ b/arch/Config.in.sh > @@ -9,12 +9,16 @@ config BR2_sh2a > bool "sh2a (SH2A big endian)" > config BR2_sh4 > bool "sh4 (SH4 little endian)" > + select BR2_ARCH_HAS_MMU_MANDATORY > config BR2_sh4eb > bool "sh4eb (SH4 big endian)" > + select BR2_ARCH_HAS_MMU_MANDATORY > config BR2_sh4a > bool "sh4a (SH4A little endian)" > + select BR2_ARCH_HAS_MMU_MANDATORY > config BR2_sh4aeb > bool "sh4aeb (SH4A big endian)" > + select BR2_ARCH_HAS_MMU_MANDATORY > endchoice > > config BR2_ARCH > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From br015 at umbiko.net Sun Apr 24 09:09:31 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Sun, 24 Apr 2022 11:09:31 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnpupnp: update version to 4.2.2 Message-ID: <20220424090931.268434-1-br015@umbiko.net> Bugfix release for: http://autobuild.buildroot.net/results/a87/a8754431aad8808ae2d67e32d4a7973b00eda1c1/ Technical discussion: https://github.com/MusicPlayerDaemon/MPD/pull/1513 Signed-off-by: Andreas Ziegler --- package/libnpupnp/libnpupnp.hash | 2 +- package/libnpupnp/libnpupnp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libnpupnp/libnpupnp.hash b/package/libnpupnp/libnpupnp.hash index 276bf93c99..79c2bbdc26 100644 --- a/package/libnpupnp/libnpupnp.hash +++ b/package/libnpupnp/libnpupnp.hash @@ -1,5 +1,5 @@ # Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 -sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz +sha256 cb3968773d30e2bfc765547df514fdc8927b9a37ecccca2e260ee8b612e756bc libnpupnp-4.2.2.tar.gz # Hash for license file: sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/package/libnpupnp/libnpupnp.mk b/package/libnpupnp/libnpupnp.mk index 09bfa34b87..d7192ec3f1 100644 --- a/package/libnpupnp/libnpupnp.mk +++ b/package/libnpupnp/libnpupnp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNPUPNP_VERSION = 4.2.1 +LIBNPUPNP_VERSION = 4.2.2 LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads LIBNPUPNP_LICENSE = BSD-3-Clause LIBNPUPNP_LICENSE_FILES = COPYING -- 2.34.1 From br015 at umbiko.net Sun Apr 24 09:32:08 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Sun, 24 Apr 2022 11:32:08 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/libnpupnp: update version to 4.2.2 In-Reply-To: <20220424090931.268434-1-br015@umbiko.net> References: <20220424090931.268434-1-br015@umbiko.net> Message-ID: <20220424093208.268901-1-br015@umbiko.net> Bugfix release for: http://autobuild.buildroot.net/results/a87/a8754431aad8808ae2d67e32d4a7973b00eda1c1/ Technical discussion: https://github.com/MusicPlayerDaemon/MPD/pull/1513 Signed-off-by: Andreas Ziegler --- Changes v1 -> v2: version number in comment package/libnpupnp/libnpupnp.hash | 4 ++-- package/libnpupnp/libnpupnp.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnpupnp/libnpupnp.hash b/package/libnpupnp/libnpupnp.hash index 276bf93c99..15ee26c6d2 100644 --- a/package/libnpupnp/libnpupnp.hash +++ b/package/libnpupnp/libnpupnp.hash @@ -1,5 +1,5 @@ -# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 -sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz +# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.2.tar.gz.sha256 +sha256 cb3968773d30e2bfc765547df514fdc8927b9a37ecccca2e260ee8b612e756bc libnpupnp-4.2.2.tar.gz # Hash for license file: sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/package/libnpupnp/libnpupnp.mk b/package/libnpupnp/libnpupnp.mk index 09bfa34b87..d7192ec3f1 100644 --- a/package/libnpupnp/libnpupnp.mk +++ b/package/libnpupnp/libnpupnp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNPUPNP_VERSION = 4.2.1 +LIBNPUPNP_VERSION = 4.2.2 LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads LIBNPUPNP_LICENSE = BSD-3-Clause LIBNPUPNP_LICENSE_FILES = COPYING -- 2.34.1 From baruch at tkos.co.il Sun Apr 24 11:19:48 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Sun, 24 Apr 2022 14:19:48 +0300 Subject: [Buildroot] [PATCH 2/2] package/imx-cst: new package In-Reply-To: <20220422121639.5118cd38@windsurf> References: <20220420083923.3875405-1-thomas.perrot@bootlin.com> <20220420083923.3875405-2-thomas.perrot@bootlin.com> <87pmlbr70w.fsf@tarshish> <13e22a566019cfbb7f9a6de52a485dad687e1217.camel@bootlin.com> <20220422121639.5118cd38@windsurf> Message-ID: <875ymy3e9k.fsf@tarshish> Hi Thomas, On Fri, Apr 22 2022, Thomas Petazzoni wrote: > On Fri, 22 Apr 2022 12:09:00 +0200 > Thomas Perrot wrote: > >> > It looks like the only difference between 64 and 32 is in openssl >> > build >> > rule, and for x86 (host) targets only. We don't use this openssl rule >> > since we build host-openssl with our own rules. So maybe we can just >> > arbitrarily choose hard coded 'linux64'. It seems that >> > debian/Makefile >> > does that. >> >> Thanks for your review, I?m submitting a v3 with the OSTYPE variable >> hardcoded to linux64. > > No, please don't. We're doing the build like this: > > build: > $(MAKE) -C $(CST_CODE_PATH)/obj.$(OSTYPE) build > > And code/cst/code/obj.linux32/Makefile contains: > > COPTIONS += -m32 > LDOPTIONS += -m32 > > while code/cst/code/obj.linux64/Makefile contains > > COPTIONS += -m64 > LDOPTIONS += -m64 > > And I can definitely see the -m64 being added in the compiler flags > when doing a build on a x86-64 host (run the build with VERBOSE=1, you > will see). > > So if you use linux64 unconditionally, the CST binaries will be built > with -m64, even on 32-bit host machines => bad. You are right. I didn't notice these -m32/-m64 parameters. But that raises another problem. -m32/-m64 are platform specific options. A quick look at the GCC manual indicates that x86, Sparc, and PowerPC targets support these options. S390 supports -m64, but not -m32. ARM/ARM64 support none. So this package should depend on host architectures that support -m32/-m64. Alternatively we can just patch out the whole 32/64 thing. This is most likely a remnant of previous versions that shipped binary .a files. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From yann.morin.1998 at free.fr Sun Apr 24 14:22:36 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:22:36 +0200 Subject: [Buildroot] [git commit] package/libnpupnp: update version to 4.2.2 Message-ID: <20220424141247.13E9B8374A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a6e7a8511526687d27d45570171bd9e4dda6bd59 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release for: http://autobuild.buildroot.net/results/a87/a8754431aad8808ae2d67e32d4a7973b00eda1c1/ Technical discussion: https://github.com/MusicPlayerDaemon/MPD/pull/1513 Signed-off-by: Andreas Ziegler Signed-off-by: Yann E. MORIN --- package/libnpupnp/libnpupnp.hash | 4 ++-- package/libnpupnp/libnpupnp.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnpupnp/libnpupnp.hash b/package/libnpupnp/libnpupnp.hash index 276bf93c99..15ee26c6d2 100644 --- a/package/libnpupnp/libnpupnp.hash +++ b/package/libnpupnp/libnpupnp.hash @@ -1,5 +1,5 @@ -# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 -sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz +# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.2.tar.gz.sha256 +sha256 cb3968773d30e2bfc765547df514fdc8927b9a37ecccca2e260ee8b612e756bc libnpupnp-4.2.2.tar.gz # Hash for license file: sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/package/libnpupnp/libnpupnp.mk b/package/libnpupnp/libnpupnp.mk index 09bfa34b87..d7192ec3f1 100644 --- a/package/libnpupnp/libnpupnp.mk +++ b/package/libnpupnp/libnpupnp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNPUPNP_VERSION = 4.2.1 +LIBNPUPNP_VERSION = 4.2.2 LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads LIBNPUPNP_LICENSE = BSD-3-Clause LIBNPUPNP_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sun Apr 24 14:24:30 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:24:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnpupnp: update version to 4.2.2 In-Reply-To: <20220424090931.268434-1-br015@umbiko.net> References: <20220424090931.268434-1-br015@umbiko.net> Message-ID: <20220424142430.GU2730@scaer> Andreas, All, On 2022-04-24 11:09 +0200, Andreas Ziegler spake thusly: > Bugfix release for: > http://autobuild.buildroot.net/results/a87/a8754431aad8808ae2d67e32d4a7973b00eda1c1/ > > Technical discussion: > https://github.com/MusicPlayerDaemon/MPD/pull/1513 > > Signed-off-by: Andreas Ziegler Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libnpupnp/libnpupnp.hash | 2 +- > package/libnpupnp/libnpupnp.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libnpupnp/libnpupnp.hash b/package/libnpupnp/libnpupnp.hash > index 276bf93c99..79c2bbdc26 100644 > --- a/package/libnpupnp/libnpupnp.hash > +++ b/package/libnpupnp/libnpupnp.hash > @@ -1,5 +1,5 @@ > # Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 > -sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz > +sha256 cb3968773d30e2bfc765547df514fdc8927b9a37ecccca2e260ee8b612e756bc libnpupnp-4.2.2.tar.gz > > # Hash for license file: > sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING > diff --git a/package/libnpupnp/libnpupnp.mk b/package/libnpupnp/libnpupnp.mk > index 09bfa34b87..d7192ec3f1 100644 > --- a/package/libnpupnp/libnpupnp.mk > +++ b/package/libnpupnp/libnpupnp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBNPUPNP_VERSION = 4.2.1 > +LIBNPUPNP_VERSION = 4.2.2 > LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads > LIBNPUPNP_LICENSE = BSD-3-Clause > LIBNPUPNP_LICENSE_FILES = COPYING > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 24 14:50:21 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:50:21 +0200 Subject: [Buildroot] [PATCH] package/systemd: add the missing sgx group In-Reply-To: <0fd2d0f7-d067-0f65-23dd-68aff1e61d94@163.com> References: <20220420135549.3536397-1-tianyuanhao3@163.com> <20220421191653.GO2730@scaer> <0fd2d0f7-d067-0f65-23dd-68aff1e61d94@163.com> Message-ID: <20220424145021.GV2730@scaer> Yuanhao, All, On 2022-04-21 16:55 -0700, TIAN Yuanhao spake thusly: > On 4/21/22 12:16, Yann E. MORIN wrote: > >On 2022-04-20 06:55 -0700, TIAN Yuanhao spake thusly: > >>systemd-udevd needs this group: > >> /usr/lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring [--SNIP--] > >>diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > >>index b07fac27d4..44185a35a0 100644 > >>--- a/package/systemd/systemd.mk > >>+++ b/package/systemd/systemd.mk > >>@@ -603,6 +603,7 @@ endef > >> define SYSTEMD_USERS > >> # udev user groups > >>+ - - sgx -1 * - - - SGX device nodes > >This should have been in the udev virtual package, as all the > >udev-related users and groups have been moved there to be common between > >systemd-udevd and the stand-alone eudev, in commit d648d81dd581 > >(packages/{eudev, systemd}: move common users to package/udev). > I did notice the common rules in the udev virtual package. However "sgx" > only appears in systemd but not eudev. OK, my bad. Can you send a patch that moves it back to systemd, please? > Besides, I found that the "render" > group in systemd should be "video" in eudev. This is going to be concerning if the same device nodes have different groups assigned to them by the two different udev implementations... In systemd, the renderD* nodes have always been assigned to group 'render', since commit 4e15a7343cb3 (udev-rules: Permission changes for /dev/dri/renderD*), committed 2017-11-08. In eudev, renderD* nodes were also assigned to the 'render' group in commit bb070c154e70 (rules: update), committed 2018-02-20. But then, in eudev, that was changed with commit a8ffcd1b985f (rules/50-udev-default.rules: fix issue 160), where they were then assigned to the 'video' group. There is not much that is interesting in issue 160, except for some people reporting issues on distros where the 'render' group does not exist (along with a bit of the usual whining about systemd). So, I'm not sure how we should go in that case... Indeed, if we have packages which want to declare users that belong to the appropriate group to be able to use the render nodes, then they'd have to know whether running with systemd or eudev, which was initially the reason to have a virtual package to abstract that, and have the groups defined in that virtual package... Sigh... But in the end, then yes, 'render' and 'video' should be moved out of the virtual package and into systemd and eudev, respectively. Can you do that, please? Regards, Yann E. MORIN. > Regards, > TIAN Yuanhao > > > >Regards, > >Yann E. MORIN. > > > >> # systemd user groups > >> - - systemd-journal -1 * - - - Journal > >> $(SYSTEMD_REMOTE_USER) > >>-- > >>2.25.1 > >> > >>_______________________________________________ > >>buildroot mailing list > >>buildroot at buildroot.org > >>https://lists.buildroot.org/mailman/listinfo/buildroot > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Sun Apr 24 15:03:47 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 24 Apr 2022 17:03:47 +0200 Subject: [Buildroot] Removing BR2_SHARED_STATIC_LIBS [was: [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build] In-Reply-To: References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> Message-ID: On 23/04/2022 18:49, Fabrice Fontaine wrote: > Le sam. 23 avr. 2022 ? 16:40, Arnout Vandecappelle a ?crit : >> >> >> >> On 16/04/2022 23:13, Fabrice Fontaine wrote: >>> Add --static when calling pkg-config with BR2_SHARED_STATIC_LIBS to >>> avoid the following build failure if a package (e.g. dash or zabbix) >>> decide to use the static library of of its dependency instead of the >>> shared library (e.g. edit or openssl) resulting in the following build >>> failures: [snip] >>> -ifeq ($(BR2_STATIC_LIBS),y) >>> -HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC >>> -else >>> +ifeq ($(BR2_SHARED_LIBS),y) >>> HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_SHARED >>> +else >>> +HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC >> >> Err, so this would mean that we almost always link statically in the >> SHARED_STATIC case? I don't think that that's what we want, really... >> >> If a package wants to link statically and is using pkg-config, why is not >> calling pkg-config with --static? Something seems to be really off here... > > To my knowledge most packages are not adding --static when calling pkg-config. > --static is added by buildroot through HOST_PKGCONF_POST_INSTALL_HOOKS. > > dash fails to build because -static is passed to gcc. > -static is passed to gcc because package/Makefile.in is setting > --enable-static (and --enable-shared): > > /home/fabrice/buildroot/output/host/bin/powerpc64-buildroot-linux-gnu-gcc > -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 > -O1 -g0 -D_FORTIFY_SOURCE=1 -static -Wl,--fatal-warnings -o dash > alias.o arith_yacc.o arith_yylex.o cd.o error.o eval.o exec.o expand.o > histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o > mystring.o options.o parser.o redir.o show.o trap.o output.o > bltin/printf.o system.o bltin/test.o bltin/times.o var.o builtins.o > init.o nodes.o signames.o syntax.o -ledit > /home/fabrice/buildroot/output/host/lib/gcc/powerpc64-buildroot-linux-gnu/10.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: > /home/fabrice/buildroot/output/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/libedit.a(terminal.o): > in function `terminal_tputs': > terminal.c:(.text+0x1d4): undefined reference to `tputs' > > dash doesn't not handle --enable-shared. > It adds -static to gcc call depending on --{en,dis}able-static. > > So, the 'onlyy' other option would be to add > DASH_CONF_OPTS += --disable-static > to override what is set by package/Makefile.in This is what was done for dropbear 4 years ago in commit c9922a4d2fc79e. > I can send a v2 if you think that this solution is better. > However, it'll have to be applied to dash and zabbix but perhaps to a > large number of "application" packages ... Very good point. I think perhaps we should simply remove BR2_SHARED_STATIC completely. The idea is to build both static and shared libraries, but link with shared libraries by default. However, it turns out not to be working: cmake and meson packages don't support it, for all the non-C languages it's not relevant, and even for autotools packages it doesn't work consistently, as shown by these issues. So I think this option is just creating problems for us without added value. I've put a bunch of other Buildroot contributors in Cc to weigh in in this question. But for me, it is creating problems without adding much value. Regards, Arnout From arnout at mind.be Sun Apr 24 15:05:38 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 24 Apr 2022 17:05:38 +0200 Subject: [Buildroot] [PATCH] package/libressl: bump to version 3.5.2 In-Reply-To: <20220424072016.3459504-1-francois.perrad@gadz.org> References: <20220424072016.3459504-1-francois.perrad@gadz.org> Message-ID: <69a502da-b1f9-b688-092e-59bf594ed6be@mind.be> On 24/04/2022 09:20, Francois Perrad wrote: > Signed-off-by: Francois Perrad > --- > package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- > package/libressl/Config.in | 2 ++ > package/libressl/libressl.hash | 2 +- > package/libressl/libressl.mk | 2 +- > 4 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > index 98fe250f6..1c59aec72 100644 > --- a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > +++ b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > @@ -20,7 +20,7 @@ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h > index 46f24b2ea..4048a6e63 100644 > --- a/include/openssl/ssl.h > +++ b/include/openssl/ssl.h > -@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, > +@@ -408,11 +408,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, > #define SSL_OP_NO_TLSv1 0x04000000L > #define SSL_OP_NO_TLSv1_2 0x08000000L > #define SSL_OP_NO_TLSv1_1 0x10000000L > diff --git a/package/libressl/Config.in b/package/libressl/Config.in > index 600829cb9..aa42c21a9 100644 > --- a/package/libressl/Config.in > +++ b/package/libressl/Config.in > @@ -6,4 +6,6 @@ config BR2_PACKAGE_LIBRESSL_BIN > Install the openssl binary to the target file system. This is > a command line tool for doing various cryptographic stuff. > > + https://www.libressl.org/ Why do you add this? We already have the URL in the top-level choice, in package/openssl/Config.in. Regards, Arnout > + > endif > diff --git a/package/libressl/libressl.hash b/package/libressl/libressl.hash > index e92399871..c3590798d 100644 > --- a/package/libressl/libressl.hash > +++ b/package/libressl/libressl.hash > @@ -1,4 +1,4 @@ > # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 > -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz > +sha256 56feab8e21c3fa6549f8b7d7511658b8e98518162838a795314732654adf3e5f libressl-3.5.2.tar.gz > # Locally computed > sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING > diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk > index 0bb468ced..c9c484d5d 100644 > --- a/package/libressl/libressl.mk > +++ b/package/libressl/libressl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBRESSL_VERSION = 3.4.3 > +LIBRESSL_VERSION = 3.5.2 > LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL > LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) > LIBRESSL_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sun Apr 24 14:53:42 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:53:42 +0200 Subject: [Buildroot] [git commit] package/clamav: doesn't build with zlib-ng Message-ID: <20220424154321.31E988421E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f7744aba7bcc7f4ad38ff4bba3d0c37969544fce branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master clamav doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of FAR: https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: In file included from nsis/nsis_zlib.h:32, from nsis/nulsft.c:38: nsis/nsis_zutil.h:36:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uchf' 36 | typedef uch FAR uchf; | ^~~~ Fixes: - http://autobuild.buildroot.org/results/524ee31face8be6a813829b036c4d6134ee5ca98 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/clamav/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/Config.in b/package/clamav/Config.in index 990a818b5c..2857f9cbf4 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_CLAMAV select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. From yann.morin.1998 at free.fr Sun Apr 24 14:53:46 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:53:46 +0200 Subject: [Buildroot] [git commit] package/quazip: force libzlib Message-ID: <20220424154321.4BF838421A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5a8ad464b328dcff95e89052abfc8196e6ade996 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Force libzlib instead of depending on it Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/quazip/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/quazip/Config.in b/package/quazip/Config.in index a670ed458c..bba5eddf3d 100644 --- a/package/quazip/Config.in +++ b/package/quazip/Config.in @@ -1,13 +1,11 @@ config BR2_PACKAGE_QUAZIP bool "quazip" - depends on BR2_PACKAGE_LIBZLIB depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit. http://quazip.sourceforge.net - -comment "quazip needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB From yann.morin.1998 at free.fr Sun Apr 24 14:53:44 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:53:44 +0200 Subject: [Buildroot] [git commit] package/assimp: force libzlib Message-ID: <20220424154321.3D9388422F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dfb42ab91b7b1f58bc89362403321ed7063dda9f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Force libzlib instead of depending on it Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/assimp/Config.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/assimp/Config.in b/package/assimp/Config.in index 833e559a6f..5ffb50cd79 100644 --- a/package/assimp/Config.in +++ b/package/assimp/Config.in @@ -2,8 +2,9 @@ config BR2_PACKAGE_ASSIMP bool "assimp" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_PACKAGE_LIBZLIB depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help Open Asset Import Library (assimp) is a portable Open Source library to import various well-known 3D model formats in a @@ -14,11 +15,7 @@ config BR2_PACKAGE_ASSIMP http://www.assimp.org comment "assimp needs a toolchain w/ C++, wchar" - depends on BR2_PACKAGE_LIBZLIB depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR -comment "assimp needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB - comment "assimp needs exception_ptr" depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 From yann.morin.1998 at free.fr Sun Apr 24 14:53:39 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 16:53:39 +0200 Subject: [Buildroot] [git commit] package/zlib: add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB Message-ID: <20220424154321.27B958421A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cdfe7d17b395813f66e231ed183a7b75afb14b8f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/zlib/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/zlib/Config.in b/package/zlib/Config.in index d6d94889a7..3a486376ac 100644 --- a/package/zlib/Config.in +++ b/package/zlib/Config.in @@ -1,3 +1,6 @@ +config BR2_PACKAGE_ZLIB_FORCE_LIBZLIB + bool + config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS bool default y if BR2_arm @@ -33,6 +36,7 @@ config BR2_PACKAGE_LIBZLIB config BR2_PACKAGE_ZLIB_NG bool "zlib-ng" depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS + depends on !BR2_PACKAGE_ZLIB_FORCE_LIBZLIB select BR2_PACKAGE_HAS_ZLIB help Zlib replacement with optimizations for From yann.morin.1998 at free.fr Sun Apr 24 15:54:04 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 17:54:04 +0200 Subject: [Buildroot] [PATCH v2, 1/4] package/zlib: add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB In-Reply-To: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> References: <20220423203924.1796541-1-fontaine.fabrice@gmail.com> Message-ID: <20220424155404.GW2730@scaer> Fabrice, All, On 2022-04-23 22:39 +0200, Fabrice Fontaine spake thusly: > Add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB > > Signed-off-by: Fabrice Fontaine Series of 4 patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/zlib/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/zlib/Config.in b/package/zlib/Config.in > index d6d94889a7..3a486376ac 100644 > --- a/package/zlib/Config.in > +++ b/package/zlib/Config.in > @@ -1,3 +1,6 @@ > +config BR2_PACKAGE_ZLIB_FORCE_LIBZLIB > + bool > + > config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS > bool > default y if BR2_arm > @@ -33,6 +36,7 @@ config BR2_PACKAGE_LIBZLIB > config BR2_PACKAGE_ZLIB_NG > bool "zlib-ng" > depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS > + depends on !BR2_PACKAGE_ZLIB_FORCE_LIBZLIB > select BR2_PACKAGE_HAS_ZLIB > help > Zlib replacement with optimizations for > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 24 16:33:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 18:33:50 +0200 Subject: [Buildroot] Removing BR2_SHARED_STATIC_LIBS [was: [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build] In-Reply-To: References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> Message-ID: <20220424163350.GX2730@scaer> Arnout, All, On 2022-04-24 17:03 +0200, Arnout Vandecappelle spake thusly: > On 23/04/2022 18:49, Fabrice Fontaine wrote: > >Le sam. 23 avr. 2022 ? 16:40, Arnout Vandecappelle a ?crit : > >>On 16/04/2022 23:13, Fabrice Fontaine wrote: > >>>Add --static when calling pkg-config with BR2_SHARED_STATIC_LIBS to > >>>avoid the following build failure if a package (e.g. dash or zabbix) > >>>decide to use the static library of of its dependency instead of the > >>>shared library (e.g. edit or openssl) resulting in the following build > >>>failures: > [snip] > >>>-ifeq ($(BR2_STATIC_LIBS),y) > >>>-HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > >>>-else > >>>+ifeq ($(BR2_SHARED_LIBS),y) > >>> HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_SHARED > >>>+else > >>>+HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_STATIC > >> Err, so this would mean that we almost always link statically in the > >>SHARED_STATIC case? I don't think that that's what we want, really... Agreed: in the shared+static case, we want to link dynamically by default. > >> If a package wants to link statically and is using pkg-config, why is not > >>calling pkg-config with --static? Something seems to be really off here... > >To my knowledge most packages are not adding --static when calling pkg-config. > >--static is added by buildroot through HOST_PKGCONF_POST_INSTALL_HOOKS. > >dash fails to build because -static is passed to gcc. > >-static is passed to gcc because package/Makefile.in is setting > >--enable-static (and --enable-shared): [--SNIP--] > >dash doesn't not handle --enable-shared. > >It adds -static to gcc call depending on --{en,dis}able-static. > > > >So, the 'onlyy' other option would be to add > >DASH_CONF_OPTS += --disable-static > >to override what is set by package/Makefile.in > This is what was done for dropbear 4 years ago in commit c9922a4d2fc79e. That was not exactly the same reason. dropbear misuses --enable-static. --enable-{static,shared} is meant for building libraries, not for linking an executable statically or not [0]. [0] https://www.gnu.org/software/libtool/manual/libtool.html#LT_005fINIT Still, I think in that case, and unless the package really needs a static link, we should fix it with ad-hoc warts, like the one for dropbear. So, we should work around the issue in dash and zabbix*. [*] now that we have fixed the a and z packages, what is there left to fix? ;-) > >I can send a v2 if you think that this solution is better. > >However, it'll have to be applied to dash and zabbix but perhaps to a > >large number of "application" packages ... > Very good point. I am not sure there would be so many packages that misbehave in that situation, in fact... > I think perhaps we should simply remove BR2_SHARED_STATIC completely. The > idea is to build both static and shared libraries, but link with shared > libraries by default. However, it turns out not to be working: cmake and > meson packages don't support it, for all the non-C languages it's not > relevant, and even for autotools packages it doesn't work consistently, as > shown by these issues. So I think this option is just creating problems for > us without added value. > > I've put a bunch of other Buildroot contributors in Cc to weigh in in this > question. But for me, it is creating problems without adding much value. I have always been a bit confused on how BR2_SHARED_STATIC_LIBS was supposed to work, to be honest... Sure, it meant we wanted to _build_ both the static and shared libs. But how were we going to tell packages whether they were supposed to link staticially or not? Surely we do not want a per-package option... Then we're left with deciding at the package's .mk level, by hard-coding some heuristic to decide. In upstream, we have no such case where we'd want a package to be statically linked even in the presence of shared libraries (maybe the the exception being busybox, for those who want to cheaply build an initrd before pivoting in the final rootfs, but that can be done with a config fragment or a custom config file in any case). This leaves out-of-tree packages. In that case, there can be tons of reasons to prefer a static link even in the presence of shared libraries. So, the real quesiton is whether we want to support that use-case or not. If we do, then we need to keep BR2_SHARED_STATIC_LIBS and fix those packages that misbehave in its presence, like done for dropbear. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 24 17:13:55 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 19:13:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ Message-ID: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> Run autoreconf to avoid the following build failure without C++: configure: error: C++ preprocessor "/lib/cpp" fails sanity check Fixes: - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 Signed-off-by: Fabrice Fontaine --- package/pamtester/pamtester.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk index b09e4d1cc0..2d8f1317ca 100644 --- a/package/pamtester/pamtester.mk +++ b/package/pamtester/pamtester.mk @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$( PAMTESTER_DEPENDENCIES = linux-pam PAMTESTER_LICENSE = BSD-3-Clause PAMTESTER_LICENSE_FILES = LICENSE +# Fix build failure without C++ +PAMTESTER_AUTORECONF = YES $(eval $(autotools-package)) -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 24 17:39:26 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 19:39:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ In-Reply-To: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> References: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> Message-ID: <20220424173926.GY2730@scaer> Fabrice, All, On 2022-04-24 19:13 +0200, Fabrice Fontaine spake thusly: > Run autoreconf to avoid the following build failure without C++: > > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > > Fixes: > - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 > > Signed-off-by: Fabrice Fontaine > --- > package/pamtester/pamtester.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk > index b09e4d1cc0..2d8f1317ca 100644 > --- a/package/pamtester/pamtester.mk > +++ b/package/pamtester/pamtester.mk > @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$( > PAMTESTER_DEPENDENCIES = linux-pam > PAMTESTER_LICENSE = BSD-3-Clause > PAMTESTER_LICENSE_FILES = LICENSE > +# Fix build failure without C++ > +PAMTESTER_AUTORECONF = YES Why does autoreconfiguring fix the issue? Regards, Yann E. MORIN. > $(eval $(autotools-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Apr 24 17:44:15 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 19:44:15 +0200 Subject: [Buildroot] [git commit] package/omniorb: fix openssl build Message-ID: <20220424173413.798B284239@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa0aeb4bfa2de530cf108dc3043766896c09d3e1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add host-pkgconf dependency to fix the following build failure with openssl raised since commit 9d519412d65e13e4a7ffbb83edd8d1e4b2dfe4b7: /nvmedata/autobuild/instance-25/output-1/per-package/omniorb/host/bin/m68k-buildroot-linux-uclibc-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -fexceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I./.. -I../../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY -D__OMNIORB4__ -I../../../../../stub -D_REENTRANT -I/usr/include -I. -I. -I../../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__m68k__ -o static/sslActive.o sslActive.cc m68k-buildroot-linux-uclibc-g++: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/stdlib.h:55, from /usr/include/openssl/crypto.h:14, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/ssl.h:18, from ../../../../../include/omniORB4/sslContext.h:48, from sslActive.cc:32: /usr/include/bits/floatn.h:75:70: error: unknown machine mode '__TC__' 75 | typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__))); | Fixes: - http://autobuild.buildroot.org/results/47b1906eb7dd122a81191d14ad663c5931cbfade Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/omniorb/omniorb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk index b44ec53fd5..d6434735cf 100644 --- a/package/omniorb/omniorb.mk +++ b/package/omniorb/omniorb.mk @@ -25,7 +25,7 @@ HOST_OMNIORB_CONF_OPTS += --disable-longdouble ifeq ($(BR2_PACKAGE_OPENSSL),y) OMNIORB_CONF_OPTS += --with-openssl -OMNIORB_DEPENDENCIES += openssl +OMNIORB_DEPENDENCIES += host-pkgconf openssl else OMNIORB_CONF_OPTS += --without-openssl endif From yann.morin.1998 at free.fr Sun Apr 24 17:44:41 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 19:44:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/omniorb: fix openssl build In-Reply-To: <20220424084538.2740476-1-fontaine.fabrice@gmail.com> References: <20220424084538.2740476-1-fontaine.fabrice@gmail.com> Message-ID: <20220424174441.GZ2730@scaer> Fabrice, All, On 2022-04-24 10:45 +0200, Fabrice Fontaine spake thusly: > Add host-pkgconf dependency to fix the following build failure with > openssl raised since commit 9d519412d65e13e4a7ffbb83edd8d1e4b2dfe4b7: > > /nvmedata/autobuild/instance-25/output-1/per-package/omniorb/host/bin/m68k-buildroot-linux-uclibc-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall -Wno-unused -fexceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I./.. -I../../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY -D__OMNIORB4__ -I../../../../../stub -D_REENTRANT -I/usr/include -I. -I. -I../../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__m68k__ -o static/sslActive.o sslActive.cc > m68k-buildroot-linux-uclibc-g++: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' > In file included from /usr/include/stdlib.h:55, > from /usr/include/openssl/crypto.h:14, > from /usr/include/openssl/bio.h:20, > from /usr/include/openssl/ssl.h:18, > from ../../../../../include/omniORB4/sslContext.h:48, > from sslActive.cc:32: > /usr/include/bits/floatn.h:75:70: error: unknown machine mode '__TC__' > 75 | typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__))); > | > > Fixes: > - http://autobuild.buildroot.org/results/47b1906eb7dd122a81191d14ad663c5931cbfade > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/omniorb/omniorb.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk > index b44ec53fd5..d6434735cf 100644 > --- a/package/omniorb/omniorb.mk > +++ b/package/omniorb/omniorb.mk > @@ -25,7 +25,7 @@ HOST_OMNIORB_CONF_OPTS += --disable-longdouble > > ifeq ($(BR2_PACKAGE_OPENSSL),y) > OMNIORB_CONF_OPTS += --with-openssl > -OMNIORB_DEPENDENCIES += openssl > +OMNIORB_DEPENDENCIES += host-pkgconf openssl > else > OMNIORB_CONF_OPTS += --without-openssl > endif > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 24 18:08:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 20:08:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ In-Reply-To: <20220424173926.GY2730@scaer> References: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> <20220424173926.GY2730@scaer> Message-ID: Yann, Le dim. 24 avr. 2022 ? 19:39, Yann E. MORIN a ?crit : > > Fabrice, All, > > On 2022-04-24 19:13 +0200, Fabrice Fontaine spake thusly: > > Run autoreconf to avoid the following build failure without C++: > > > > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > > > > Fixes: > > - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 > > > > Signed-off-by: Fabrice Fontaine > > --- > > package/pamtester/pamtester.mk | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk > > index b09e4d1cc0..2d8f1317ca 100644 > > --- a/package/pamtester/pamtester.mk > > +++ b/package/pamtester/pamtester.mk > > @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$( > > PAMTESTER_DEPENDENCIES = linux-pam > > PAMTESTER_LICENSE = BSD-3-Clause > > PAMTESTER_LICENSE_FILES = LICENSE > > +# Fix build failure without C++ > > +PAMTESTER_AUTORECONF = YES > > Why does autoreconfiguring fix the issue? I didn't dig too much into it but it removes those wrong CXXCPP tests from the configure file. > > Regards, > Yann E. MORIN. > > > $(eval $(autotools-package)) > > -- > > 2.35.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' Best Regards, Fabrice From fontaine.fabrice at gmail.com Sun Apr 24 19:10:32 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 21:10:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptsetup: fix build with argp-standalone Message-ID: <20220424191032.3222587-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump of argp-standalone to version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' Fixes: - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 Signed-off-by: Fabrice Fontaine --- ...onfigure.ac-replace-argp_usage-check.patch | 40 +++++++++++++++++++ package/cryptsetup/cryptsetup.mk | 1 + 2 files changed, 41 insertions(+) create mode 100644 package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch diff --git a/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch new file mode 100644 index 0000000000..66e3be350c --- /dev/null +++ b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch @@ -0,0 +1,40 @@ +From 21515ad7a3b000ee6038f82bbb428ab527002bbd Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 24 Apr 2022 19:47:53 +0200 +Subject: [PATCH] configure.ac: replace argp_usage check + +Replace check for argp_usage by argp_parse as argp_usage is not used by +cryptsetup. Moreover, this will fix the following build failure raised +with argp-standalone in version 1.4.0 and +https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: + +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': +cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': +cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' + +Fixes: + - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://gitlab.com/cryptsetup/cryptsetup/-/issues/737] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index d31fb0a7..e47179f2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -413,7 +413,7 @@ if test "x$enable_ssh_token" = "xyes"; then + AC_CHECK_DECLS([ssh_session_is_known_server], [], [], [#include ]) + AC_CHECK_HEADER([argp.h], [], AC_MSG_ERROR([You need argp library.])) + saved_LIBS=$LIBS +- AC_SEARCH_LIBS([argp_usage],[argp]) ++ AC_SEARCH_LIBS([argp_parse],[argp]) + AC_SUBST(ARGP_LIBS, $LIBS) + LIBS=$saved_LIBS + fi +-- +2.35.1 + diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk index ddb10f1da3..20cf5d6346 100644 --- a/package/cryptsetup/cryptsetup.mk +++ b/package/cryptsetup/cryptsetup.mk @@ -19,6 +19,7 @@ CRYPTSETUP_CPE_ID_VENDOR = cryptsetup_project CRYPTSETUP_INSTALL_STAGING = YES # 0001-Add-check-program-for-symver-attribute.patch +# 0002-configure.ac-replace-argp_usage-check.patch CRYPTSETUP_AUTORECONF = YES CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 24 19:19:57 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 21:19:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/libeXosip2: fix build with libressl Message-ID: <20220424191957.435337-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl >= 3.4.1 raised since commit 25ef2c26dabaf1553f1724214a4fa5e3ce48dfc8: In file included from eXtl_dtls.c:82: /home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); | ^~~~~~~~~~~~~ eXtl_dtls.c: In function 'SSL_set0_rbio': eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 108 | BIO_free_all(s->rbio); | ^~ Fixes: - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 Signed-off-by: Fabrice Fontaine --- ...dtls.c-fix-build-with-libressl-3.4.1.patch | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch diff --git a/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch new file mode 100644 index 0000000000..0b4be43b6c --- /dev/null +++ b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch @@ -0,0 +1,43 @@ +From 4201c0ff3fd75e09025d515c427f85f9fec89621 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 22:27:35 +0200 +Subject: [PATCH] src/eXtl_dtls.c: fix build with libressl >= 3.4.1 + +Fix the following build failure with libressl >= 3.4.1 which provides +SSL_set0_rbio() since +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc: + +In file included from eXtl_dtls.c:82: +/home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here + 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); + | ^~~~~~~~~~~~~ +eXtl_dtls.c: In function 'SSL_set0_rbio': +eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} + 108 | BIO_free_all(s->rbio); + | ^~ + +Fixes: + - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 + +Signed-off-by: Fabrice Fontaine +[Upstream status: sent to amoizard at antisip.com] +--- + src/eXtl_dtls.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/eXtl_dtls.c b/src/eXtl_dtls.c +index 07c0dc2..d0bd7dc 100644 +--- a/src/eXtl_dtls.c ++++ b/src/eXtl_dtls.c +@@ -102,7 +102,7 @@ + #define RANDOM "random.pem" + #define DHFILE "dh1024.pem" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3040100L) + + static void SSL_set0_rbio(SSL *s, BIO *rbio) { + BIO_free_all(s->rbio); +-- +2.35.1 + -- 2.35.1 From francois.perrad at gadz.org Sun Apr 24 19:50:08 2022 From: francois.perrad at gadz.org (=?UTF-8?Q?Fran=C3=A7ois_Perrad?=) Date: Sun, 24 Apr 2022 21:50:08 +0200 Subject: [Buildroot] [PATCH] package/libressl: bump to version 3.5.2 In-Reply-To: <69a502da-b1f9-b688-092e-59bf594ed6be@mind.be> References: <20220424072016.3459504-1-francois.perrad@gadz.org> <69a502da-b1f9-b688-092e-59bf594ed6be@mind.be> Message-ID: Le dim. 24 avr. 2022 ? 17:05, Arnout Vandecappelle a ?crit : > > > On 24/04/2022 09:20, Francois Perrad wrote: > > Signed-off-by: Francois Perrad > > --- > > package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- > > package/libressl/Config.in | 2 ++ > > package/libressl/libressl.hash | 2 +- > > package/libressl/libressl.mk | 2 +- > > 4 files changed, 5 insertions(+), 3 deletions(-) > > > > diff --git a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > > index 98fe250f6..1c59aec72 100644 > > --- a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > > +++ b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch > > @@ -20,7 +20,7 @@ diff --git a/include/openssl/ssl.h > b/include/openssl/ssl.h > > index 46f24b2ea..4048a6e63 100644 > > --- a/include/openssl/ssl.h > > +++ b/include/openssl/ssl.h > > -@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, > void *secret, int *secret_len, > > +@@ -408,11 +408,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, > void *secret, int *secret_len, > > #define SSL_OP_NO_TLSv1 0x04000000L > > #define SSL_OP_NO_TLSv1_2 0x08000000L > > #define SSL_OP_NO_TLSv1_1 0x10000000L > > diff --git a/package/libressl/Config.in b/package/libressl/Config.in > > index 600829cb9..aa42c21a9 100644 > > --- a/package/libressl/Config.in > > +++ b/package/libressl/Config.in > > @@ -6,4 +6,6 @@ config BR2_PACKAGE_LIBRESSL_BIN > > Install the openssl binary to the target file system. This is > > a command line tool for doing various cryptographic stuff. > > > > + https://www.libressl.org/ > > Why do you add this? We already have the URL in the top-level choice, in > package/openssl/Config.in. > > You are right, it is a mistake. Fran?ois > Regards, > Arnout > > > + > > endif > > diff --git a/package/libressl/libressl.hash > b/package/libressl/libressl.hash > > index e92399871..c3590798d 100644 > > --- a/package/libressl/libressl.hash > > +++ b/package/libressl/libressl.hash > > @@ -1,4 +1,4 @@ > > # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 > > -sha256 > ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d > libressl-3.4.3.tar.gz > > +sha256 > 56feab8e21c3fa6549f8b7d7511658b8e98518162838a795314732654adf3e5f > libressl-3.5.2.tar.gz > > # Locally computed > > sha256 > 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING > > diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk > > index 0bb468ced..c9c484d5d 100644 > > --- a/package/libressl/libressl.mk > > +++ b/package/libressl/libressl.mk > > @@ -4,7 +4,7 @@ > > # > > > ################################################################################ > > > > -LIBRESSL_VERSION = 3.4.3 > > +LIBRESSL_VERSION = 3.5.2 > > LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL > > LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original > OpenSSL code) > > LIBRESSL_LICENSE_FILES = COPYING > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontaine.fabrice at gmail.com Sun Apr 24 20:00:13 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 22:00:13 +0200 Subject: [Buildroot] [PATCH 1/2] package/libselinux: fix host build Message-ID: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> The following build failure is raised since commit 1745fcde740057951dcc5429f3bfabd103b764a1 because $(HOST_PKG_PYTHON_DISTUTILS_ENV) contains $(HOST_CONFIGURE_OPTS) and so will override LDFLAGS passed by libselinux.mk: /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -L/nvmedata/autobuild/instance-11/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-11/output-1/host/lib -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.lo selinux_config.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro /usr/bin/ld: regex.lo: in function `regex_writef': regex.c:(.text+0x7c): undefined reference to `pcre_fullinfo' To fix this build failure, instead of moving LDFLAGS after $(HOST_PKG_PYTHON_DISTUTILS_ENV), drop LDFLAGS and add host-pkgconf dependency to retrieve pcre dependencies as pkg-config is supported since version 3.2 and https://github.com/SELinuxProject/selinux/commit/74093beab0c605641ec413be81e31e6b2f55d8d4 Dropping LDFLAGS will also drop -lpthread which doesn't seem to raise any build failures with test-pkg: bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: SKIPPED sourcery-arm [6/6]: SKIPPED Apply the same update to the target variant for consistancy. Fixes: - http://autobuild.buildroot.org/results/d16995f0decef9c9bf58cab4fa30f7daab6918fb Signed-off-by: Fabrice Fontaine --- package/libselinux/libselinux.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 5790e79040..c6be8e638a 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -10,7 +10,8 @@ LIBSELINUX_LICENSE = Public Domain LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject -LIBSELINUX_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) libsepol pcre +LIBSELINUX_DEPENDENCIES = \ + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre LIBSELINUX_INSTALL_STAGING = YES @@ -52,8 +53,7 @@ endif # python3 # when the python binding is enabled. LIBSELINUX_MAKE_OPTS += \ CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \ - CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ - LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" + CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" define LIBSELINUX_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ @@ -76,13 +76,12 @@ define LIBSELINUX_INSTALL_TARGET_CMDS endef HOST_LIBSELINUX_DEPENDENCIES = \ - host-libsepol host-pcre host-swig host-python3 + host-pkgconf host-libsepol host-pcre host-swig host-python3 HOST_LIBSELINUX_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ PREFIX=$(HOST_DIR) \ SHLIBDIR=$(HOST_DIR)/lib \ - LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \ $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ PYTHON=python$(PYTHON3_VERSION_MAJOR) -- 2.35.1 From fontaine.fabrice at gmail.com Sun Apr 24 20:00:14 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 22:00:14 +0200 Subject: [Buildroot] [PATCH 2/2] package/libselinux: switch to pcre2 In-Reply-To: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> References: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> Message-ID: <20220424200014.1336771-2-fontaine.fabrice@gmail.com> Switch to pcre2 which is available since version 3.2 and https://github.com/SELinuxProject/selinux/commit/50f0910cf05bdc1d10710c7c3fb748a178473387 as pcre is EOL pcre2 is used by default since version 3.4 and https://github.com/SELinuxProject/selinux/commit/e0da140d82c0ebebf1060ce87d0f11276c7fc59a Signed-off-by: Fabrice Fontaine --- package/libselinux/Config.in | 2 +- package/libselinux/libselinux.mk | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package/libselinux/Config.in b/package/libselinux/Config.in index 348757abce..3098fe3ea4 100644 --- a/package/libselinux/Config.in +++ b/package/libselinux/Config.in @@ -4,7 +4,7 @@ config BR2_PACKAGE_LIBSELINUX depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol select BR2_PACKAGE_LIBSEPOL - select BR2_PACKAGE_PCRE + select BR2_PACKAGE_PCRE2 select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC help libselinux is the runtime SELinux library that provides diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index c6be8e638a..db35da130f 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -11,7 +11,7 @@ LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject LIBSELINUX_DEPENDENCIES = \ - $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre2 LIBSELINUX_INSTALL_STAGING = YES @@ -20,7 +20,8 @@ LIBSELINUX_INSTALL_STAGING = YES LIBSELINUX_MAKE_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ ARCH=$(NORMALIZED_ARCH) \ - SHLIBDIR=/usr/lib + SHLIBDIR=/usr/lib \ + USE_PCRE2=y LIBSELINUX_MAKE_INSTALL_TARGETS = install @@ -76,14 +77,15 @@ define LIBSELINUX_INSTALL_TARGET_CMDS endef HOST_LIBSELINUX_DEPENDENCIES = \ - host-pkgconf host-libsepol host-pcre host-swig host-python3 + host-pkgconf host-libsepol host-pcre2 host-swig host-python3 HOST_LIBSELINUX_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ PREFIX=$(HOST_DIR) \ SHLIBDIR=$(HOST_DIR)/lib \ $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ - PYTHON=python$(PYTHON3_VERSION_MAJOR) + PYTHON=python$(PYTHON3_VERSION_MAJOR) \ + USE_PCRE2=y define HOST_LIBSELINUX_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) \ -- 2.35.1 From james.hilliard1 at gmail.com Sun Apr 24 20:06:20 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:06:20 -0600 Subject: [Buildroot] [PATCH 1/1] package/python3: bump to version 3.10.4 Message-ID: <20220424200620.1413743-1-james.hilliard1@gmail.com> Drop override system locale patch which is now upstream. Signed-off-by: James Hilliard --- ...dd-importlib-fix-for-PEP-3147-issue.patch} | 0 ...locale-and-set-to-default-when-addin.patch | 39 ------------------- ...0012-Add-an-option-to-disable-pydoc.patch} | 0 ...13-Add-an-option-to-disable-lib2to3.patch} | 0 ...ption-to-disable-the-sqlite3-module.patch} | 0 ...-an-option-to-disable-the-tk-module.patch} | 0 ...option-to-disable-the-curses-module.patch} | 0 ...0017-Add-an-option-to-disable-expat.patch} | 0 ...Add-an-option-to-disable-CJK-codecs.patch} | 0 ...> 0019-Add-an-option-to-disable-NIS.patch} | 0 ...dd-an-option-to-disable-unicodedata.patch} | 0 ... 0021-Add-an-option-to-disable-IDLE.patch} | 0 ...22-Add-an-option-to-disable-decimal.patch} | 0 ...n-to-disable-the-ossaudiodev-module.patch} | 0 ...n-option-to-disable-openssl-support.patch} | 0 ...tion-to-disable-the-readline-module.patch} | 0 ...o-disable-zlib-bzip2-and-xz-modules.patch} | 0 ...hon-config.sh-don-t-reassign-prefix.patch} | 0 ...Fix-cross-compiling-the-uuid-module.patch} | 0 ...dd-an-option-to-disable-uuid-module.patch} | 0 ...fix-building-on-older-distributions.patch} | 0 ...p-CC-print-multiarch-output-for-mus.patch} | 0 ...on-to-disable-the-berkeleydb-module.patch} | 0 ...ng-doesn-t-set-errno-when-encryptio.patch} | 0 package/python3/python3.hash | 6 +-- package/python3/python3.mk | 2 +- 26 files changed, 4 insertions(+), 43 deletions(-) rename package/python3/{0012-Add-importlib-fix-for-PEP-3147-issue.patch => 0011-Add-importlib-fix-for-PEP-3147-issue.patch} (100%) delete mode 100644 package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch rename package/python3/{0013-Add-an-option-to-disable-pydoc.patch => 0012-Add-an-option-to-disable-pydoc.patch} (100%) rename package/python3/{0014-Add-an-option-to-disable-lib2to3.patch => 0013-Add-an-option-to-disable-lib2to3.patch} (100%) rename package/python3/{0015-Add-option-to-disable-the-sqlite3-module.patch => 0014-Add-option-to-disable-the-sqlite3-module.patch} (100%) rename package/python3/{0016-Add-an-option-to-disable-the-tk-module.patch => 0015-Add-an-option-to-disable-the-tk-module.patch} (100%) rename package/python3/{0017-Add-an-option-to-disable-the-curses-module.patch => 0016-Add-an-option-to-disable-the-curses-module.patch} (100%) rename package/python3/{0018-Add-an-option-to-disable-expat.patch => 0017-Add-an-option-to-disable-expat.patch} (100%) rename package/python3/{0019-Add-an-option-to-disable-CJK-codecs.patch => 0018-Add-an-option-to-disable-CJK-codecs.patch} (100%) rename package/python3/{0020-Add-an-option-to-disable-NIS.patch => 0019-Add-an-option-to-disable-NIS.patch} (100%) rename package/python3/{0021-Add-an-option-to-disable-unicodedata.patch => 0020-Add-an-option-to-disable-unicodedata.patch} (100%) rename package/python3/{0022-Add-an-option-to-disable-IDLE.patch => 0021-Add-an-option-to-disable-IDLE.patch} (100%) rename package/python3/{0023-Add-an-option-to-disable-decimal.patch => 0022-Add-an-option-to-disable-decimal.patch} (100%) rename package/python3/{0024-Add-an-option-to-disable-the-ossaudiodev-module.patch => 0023-Add-an-option-to-disable-the-ossaudiodev-module.patch} (100%) rename package/python3/{0025-Add-an-option-to-disable-openssl-support.patch => 0024-Add-an-option-to-disable-openssl-support.patch} (100%) rename package/python3/{0026-Add-an-option-to-disable-the-readline-module.patch => 0025-Add-an-option-to-disable-the-readline-module.patch} (100%) rename package/python3/{0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch => 0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (100%) rename package/python3/{0028-python-config.sh-don-t-reassign-prefix.patch => 0027-python-config.sh-don-t-reassign-prefix.patch} (100%) rename package/python3/{0029-Fix-cross-compiling-the-uuid-module.patch => 0028-Fix-cross-compiling-the-uuid-module.patch} (100%) rename package/python3/{0030-Add-an-option-to-disable-uuid-module.patch => 0029-Add-an-option-to-disable-uuid-module.patch} (100%) rename package/python3/{0031-fix-building-on-older-distributions.patch => 0030-fix-building-on-older-distributions.patch} (100%) rename package/python3/{0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch => 0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (100%) rename package/python3/{0033-Add-an-option-to-disable-the-berkeleydb-module.patch => 0032-Add-an-option-to-disable-the-berkeleydb-module.patch} (100%) rename package/python3/{0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch => 0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch} (100%) diff --git a/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch similarity index 100% rename from package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch rename to package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch diff --git a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch deleted file mode 100644 index 4d021d86a4..0000000000 --- a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch +++ /dev/null @@ -1,39 +0,0 @@ -From e4ae670e3489544a49dabd1618c32fe73504a7ba Mon Sep 17 00:00:00 2001 -From: Samuel Cabrero -Date: Wed, 23 Dec 2015 11:45:48 +0100 -Subject: [PATCH] Override system locale and set to default when adding gcc - paths - -Forces the use of the default locale in the function -add_gcc_paths, which is called when cross compiling to add the -include and library paths. This is necessary because otherwise -the gcc output is localized and the output parsing fails, which -results in no paths added and detect_modules not able to find -any system library (eg. libz, libssl, etc.) - -[Thomas: patch taken from https://bugs.python.org/issue23767.] - -Signed-off-by: Samuel Cabrero -Signed-off-by: Thomas Petazzoni -[james.hilliard1 at gmail.com: adapt to python 3.9] -Signed-off-by: James Hilliard ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index d3f0e663f2..926c16f58f 100644 ---- a/setup.py -+++ b/setup.py -@@ -761,7 +761,7 @@ class PyBuildExt(build_ext): - tmpfile = os.path.join(self.build_temp, 'ccpaths') - if not os.path.exists(self.build_temp): - os.makedirs(self.build_temp) -- ret = run_command('%s -E -v - %s 1>/dev/null' % (CC, tmpfile)) -+ ret = run_command('LC_ALL=C %s -E -v - %s 1>/dev/null' % (CC, tmpfile)) - is_gcc = False - is_clang = False - in_incdirs = False --- -2.25.1 - diff --git a/package/python3/0013-Add-an-option-to-disable-pydoc.patch b/package/python3/0012-Add-an-option-to-disable-pydoc.patch similarity index 100% rename from package/python3/0013-Add-an-option-to-disable-pydoc.patch rename to package/python3/0012-Add-an-option-to-disable-pydoc.patch diff --git a/package/python3/0014-Add-an-option-to-disable-lib2to3.patch b/package/python3/0013-Add-an-option-to-disable-lib2to3.patch similarity index 100% rename from package/python3/0014-Add-an-option-to-disable-lib2to3.patch rename to package/python3/0013-Add-an-option-to-disable-lib2to3.patch diff --git a/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch b/package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch similarity index 100% rename from package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch rename to package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch diff --git a/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch b/package/python3/0015-Add-an-option-to-disable-the-tk-module.patch similarity index 100% rename from package/python3/0016-Add-an-option-to-disable-the-tk-module.patch rename to package/python3/0015-Add-an-option-to-disable-the-tk-module.patch diff --git a/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch b/package/python3/0016-Add-an-option-to-disable-the-curses-module.patch similarity index 100% rename from package/python3/0017-Add-an-option-to-disable-the-curses-module.patch rename to package/python3/0016-Add-an-option-to-disable-the-curses-module.patch diff --git a/package/python3/0018-Add-an-option-to-disable-expat.patch b/package/python3/0017-Add-an-option-to-disable-expat.patch similarity index 100% rename from package/python3/0018-Add-an-option-to-disable-expat.patch rename to package/python3/0017-Add-an-option-to-disable-expat.patch diff --git a/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch b/package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch similarity index 100% rename from package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch rename to package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch diff --git a/package/python3/0020-Add-an-option-to-disable-NIS.patch b/package/python3/0019-Add-an-option-to-disable-NIS.patch similarity index 100% rename from package/python3/0020-Add-an-option-to-disable-NIS.patch rename to package/python3/0019-Add-an-option-to-disable-NIS.patch diff --git a/package/python3/0021-Add-an-option-to-disable-unicodedata.patch b/package/python3/0020-Add-an-option-to-disable-unicodedata.patch similarity index 100% rename from package/python3/0021-Add-an-option-to-disable-unicodedata.patch rename to package/python3/0020-Add-an-option-to-disable-unicodedata.patch diff --git a/package/python3/0022-Add-an-option-to-disable-IDLE.patch b/package/python3/0021-Add-an-option-to-disable-IDLE.patch similarity index 100% rename from package/python3/0022-Add-an-option-to-disable-IDLE.patch rename to package/python3/0021-Add-an-option-to-disable-IDLE.patch diff --git a/package/python3/0023-Add-an-option-to-disable-decimal.patch b/package/python3/0022-Add-an-option-to-disable-decimal.patch similarity index 100% rename from package/python3/0023-Add-an-option-to-disable-decimal.patch rename to package/python3/0022-Add-an-option-to-disable-decimal.patch diff --git a/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch b/package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch similarity index 100% rename from package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch rename to package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch diff --git a/package/python3/0025-Add-an-option-to-disable-openssl-support.patch b/package/python3/0024-Add-an-option-to-disable-openssl-support.patch similarity index 100% rename from package/python3/0025-Add-an-option-to-disable-openssl-support.patch rename to package/python3/0024-Add-an-option-to-disable-openssl-support.patch diff --git a/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch b/package/python3/0025-Add-an-option-to-disable-the-readline-module.patch similarity index 100% rename from package/python3/0026-Add-an-option-to-disable-the-readline-module.patch rename to package/python3/0025-Add-an-option-to-disable-the-readline-module.patch diff --git a/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch similarity index 100% rename from package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch rename to package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch diff --git a/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch b/package/python3/0027-python-config.sh-don-t-reassign-prefix.patch similarity index 100% rename from package/python3/0028-python-config.sh-don-t-reassign-prefix.patch rename to package/python3/0027-python-config.sh-don-t-reassign-prefix.patch diff --git a/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch b/package/python3/0028-Fix-cross-compiling-the-uuid-module.patch similarity index 100% rename from package/python3/0029-Fix-cross-compiling-the-uuid-module.patch rename to package/python3/0028-Fix-cross-compiling-the-uuid-module.patch diff --git a/package/python3/0030-Add-an-option-to-disable-uuid-module.patch b/package/python3/0029-Add-an-option-to-disable-uuid-module.patch similarity index 100% rename from package/python3/0030-Add-an-option-to-disable-uuid-module.patch rename to package/python3/0029-Add-an-option-to-disable-uuid-module.patch diff --git a/package/python3/0031-fix-building-on-older-distributions.patch b/package/python3/0030-fix-building-on-older-distributions.patch similarity index 100% rename from package/python3/0031-fix-building-on-older-distributions.patch rename to package/python3/0030-fix-building-on-older-distributions.patch diff --git a/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch b/package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch similarity index 100% rename from package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch rename to package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch diff --git a/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch b/package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch similarity index 100% rename from package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch rename to package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch diff --git a/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch b/package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch similarity index 100% rename from package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch rename to package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 97f4653490..5ae0add789 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3102/ -md5 14e8c22458ed7779a1957b26cde01db9 Python-3.10.2.tar.xz +# From https://www.python.org/downloads/release/python-3104/ +md5 21f2e113e087083a1e8cf10553d93599 Python-3.10.4.tar.xz # Locally computed -sha256 17de3ac7da9f2519aa9d64378c603a73a0e9ad58dffa8812e45160c086de64c7 Python-3.10.2.tar.xz +sha256 80bf925f571da436b35210886cf79f6eb5fa5d6c571316b73568343451f77a19 Python-3.10.4.tar.xz sha256 f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 3a334fb28d..cffb34e264 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.10 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).4 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others -- 2.25.1 From fontaine.fabrice at gmail.com Sun Apr 24 20:16:15 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 22:16:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/rtl_433: fix CVE-2022-27419 Message-ID: <20220424201615.3421463-1-fontaine.fabrice@gmail.com> rtl_433 21.12 was discovered to contain a stack overflow in the function acurite_00275rm_decode at /devices/acurite.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted file. Signed-off-by: Fabrice Fontaine --- ...0004-Fix-overflow-in-Acurite-00275rm.patch | 35 +++++++++++++++++++ package/rtl_433/rtl_433.mk | 3 ++ 2 files changed, 38 insertions(+) create mode 100644 package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch diff --git a/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch new file mode 100644 index 0000000000..057bf9cf64 --- /dev/null +++ b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch @@ -0,0 +1,35 @@ +From 37455483889bd1c641bdaafc493d1cc236b74904 Mon Sep 17 00:00:00 2001 +From: "Christian W. Zuckschwerdt" +Date: Fri, 18 Mar 2022 08:09:15 +0100 +Subject: [PATCH] Fix overflow in Acurite-00275rm (closes #2012) + +[Retrieved from: +https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904] +Signed-off-by: Fabrice Fontaine +--- + src/devices/acurite.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/devices/acurite.c b/src/devices/acurite.c +index 6879e52da..4f3e83eb3 100644 +--- a/src/devices/acurite.c ++++ b/src/devices/acurite.c +@@ -1318,15 +1318,15 @@ static int acurite_00275rm_decode(r_device *decoder, bitbuffer_t *bitbuffer) + + // Combine signal if exactly three repeats were found + if (n_rows == 3) { +- uint8_t *b = bitbuffer->bb[bitbuffer->num_rows]; ++ bitbuffer_add_row(bitbuffer); ++ uint8_t *b = bitbuffer->bb[bitbuffer->num_rows - 1]; + for (int i = 0; i < 11; ++i) { + // The majority bit count wins + b[i] = (b_rows[0][i] & b_rows[1][i]) | + (b_rows[1][i] & b_rows[2][i]) | + (b_rows[2][i] & b_rows[0][i]); + } +- bitbuffer->bits_per_row[bitbuffer->num_rows] = 88; +- bitbuffer->num_rows += 1; ++ bitbuffer->bits_per_row[bitbuffer->num_rows - 1] = 88; + } + + // Output the first valid row diff --git a/package/rtl_433/rtl_433.mk b/package/rtl_433/rtl_433.mk index d1c28adbf5..8326caedb2 100644 --- a/package/rtl_433/rtl_433.mk +++ b/package/rtl_433/rtl_433.mk @@ -20,6 +20,9 @@ RTL_433_CONF_OPTS = \ # 0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch RTL_433_IGNORE_CVES += CVE-2022-25051 +# 0004-Fix-overflow-in-Acurite-00275rm.patch +RTL_433_IGNORE_CVES += CVE-2022-27419 + ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) RTL_433_DEPENDENCIES += librtlsdr RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON -- 2.35.1 From yann.morin.1998 at free.fr Sun Apr 24 20:41:06 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:41:06 +0200 Subject: [Buildroot] [git commit] package/pamtester: fix build without C++ Message-ID: <20220424203155.D232584258@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9993a36f5e1296e86f00376f795de485386bd913 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master pamtester uses an archaic configure.in with archaic constructs. This had generated a configure script that incorrectly tries to look for and validate a C++ compiler: checking for powerpc64le-buildroot-linux-gnu-g++... no checking whether we are using the GNU C++ compiler... no checking whether no accepts -g... no checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check Callin gautoreconf fixes the issue, as the generated configure no longer trie to look for a C++ compiler at all anymore. Fixes: - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: expand commit log; add big-fat comment] Signed-off-by: Yann E. MORIN --- package/pamtester/pamtester.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk index b09e4d1cc0..77867403c3 100644 --- a/package/pamtester/pamtester.mk +++ b/package/pamtester/pamtester.mk @@ -10,4 +10,9 @@ PAMTESTER_DEPENDENCIES = linux-pam PAMTESTER_LICENSE = BSD-3-Clause PAMTESTER_LICENSE_FILES = LICENSE +# Obsolete constructs in the archaic configure.in generated an outworn +# configure script that incorrectly searches a C++ compiler. Regenerate +# the autoconf machinery to avoid failures without a C++ compiler. +PAMTESTER_AUTORECONF = YES + $(eval $(autotools-package)) From yann.morin.1998 at free.fr Sun Apr 24 20:43:23 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:43:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ In-Reply-To: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> References: <20220424171355.3174629-1-fontaine.fabrice@gmail.com> Message-ID: <20220424204323.GA3624965@scaer> Fabrice, All, On 2022-04-24 19:13 +0200, Fabrice Fontaine spake thusly: > Run autoreconf to avoid the following build failure without C++: > > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > > Fixes: > - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2 > > Signed-off-by: Fabrice Fontaine Applied to master, after adding an explanatory comment above the autoreconf line, and expanding the commit log. Thanks. Regards, Yann E. MORIN. > --- > package/pamtester/pamtester.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk > index b09e4d1cc0..2d8f1317ca 100644 > --- a/package/pamtester/pamtester.mk > +++ b/package/pamtester/pamtester.mk > @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$( > PAMTESTER_DEPENDENCIES = linux-pam > PAMTESTER_LICENSE = BSD-3-Clause > PAMTESTER_LICENSE_FILES = LICENSE > +# Fix build failure without C++ > +PAMTESTER_AUTORECONF = YES > > $(eval $(autotools-package)) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Apr 24 20:46:56 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 24 Apr 2022 22:46:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/cairo: fix build with libexecinfo Message-ID: <20220424204656.3352319-1-fontaine.fabrice@gmail.com> Fix the following build failure raised on uclibc and musl since the addition of libexecinfo package in commit eea8ba446c10701a273432552108d80fb2224ef4: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace_symbols' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace' Fixes: - http://autobuild.buildroot.org/results/836348270d564a46cc9ee840cf87b2494cc82cec Signed-off-by: Fabrice Fontaine --- package/cairo/cairo.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 98f270442a..f479aa252a 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -15,6 +15,8 @@ CAIRO_INSTALL_STAGING = YES # 0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch CAIRO_IGNORE_CVES += CVE-2018-19876 +CAIRO_CONF_ENV = LIBS="$(CAIRO_LIBS)" + # relocation truncated to fit: R_68K_GOT16O ifeq ($(BR2_m68k_cf),y) CAIRO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" @@ -27,7 +29,7 @@ endif # cairo can use C++11 atomics when available, so we need to link with # libatomic for the architectures who need libatomic. ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -CAIRO_CONF_ENV += LIBS="-latomic" +CAIRO_LIBS += -latomic endif CAIRO_CONF_OPTS = \ @@ -81,6 +83,11 @@ else CAIRO_CONF_OPTS += --disable-ft endif +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +CAIRO_DEPENDENCIES += libexecinfo +CAIRO_LIBS += -lexecinfo +endif + ifeq ($(BR2_PACKAGE_LIBGLIB2),y) CAIRO_CONF_OPTS += --enable-gobject CAIRO_DEPENDENCIES += libglib2 -- 2.35.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:35 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:35 -0600 Subject: [Buildroot] [PATCH v6 1/5] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220424205639.1618386-1-james.hilliard1@gmail.com> There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. We need to special case dependency exclusions for host-python-flit-core and host-python-installer to avoid circular dependencies in the flit-bootstrap SETUP_TYPE. We also need to special case the installation command for host-python-flit-core since it can not depend on host-python-installer due to host-python-installer requiring host-python-flit-core. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle --- Changes v3 -> v4: - rebase Changes v2 -> v3: - add special flit-bootstrap SETUP_TYPE - don't change package SETUP_TYPE's yet Changes v1 -> v2: - formatting/cleanup - add comments --- package/pkg-python.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..2e7704a0a9 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +# Use flit built in wheel builder for packages that are flit-bootstrap packages. +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. +# +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +ifeq ($(1),host-python-flit-core) +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) +else +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif +else $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) +else +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:36 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:36 -0600 Subject: [Buildroot] [PATCH v6 2/5] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220424205639.1618386-1-james.hilliard1@gmail.com> References: <20220424205639.1618386-1-james.hilliard1@gmail.com> Message-ID: <20220424205639.1618386-2-james.hilliard1@gmail.com> From: ????? ???????? When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ????? ???????? Signed-off-by: James Hilliard --- Changes v4 -> v5: - add rebased remove hardcoded paths patch --- package/pkg-python.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 2e7704a0a9..154810e1cc 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages @@ -225,11 +217,11 @@ ifeq ($(1),host-python-flit-core) # $(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) else -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif endif else -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:37 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:37 -0600 Subject: [Buildroot] [PATCH v6 3/5] package/python-flit-core: migrate setup type to flit bootstrap In-Reply-To: <20220424205639.1618386-1-james.hilliard1@gmail.com> References: <20220424205639.1618386-1-james.hilliard1@gmail.com> Message-ID: <20220424205639.1618386-3-james.hilliard1@gmail.com> This package needs to use flit-bootstrap since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- package/python-flit-core/python-flit-core.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk index 0e058a1f17..aaf4c77c6a 100644 --- a/package/python-flit-core/python-flit-core.mk +++ b/package/python-flit-core/python-flit-core.mk @@ -8,6 +8,6 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:38 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:38 -0600 Subject: [Buildroot] [PATCH v6 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: <20220424205639.1618386-1-james.hilliard1@gmail.com> References: <20220424205639.1618386-1-james.hilliard1@gmail.com> Message-ID: <20220424205639.1618386-4-james.hilliard1@gmail.com> This package now requires flit and must use the flit-bootstrap setup type since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- package/python-tomli/python-tomli.hash | 4 ++-- package/python-tomli/python-tomli.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash index 1a274c8a40..8368f9ee13 100644 --- a/package/python-tomli/python-tomli.hash +++ b/package/python-tomli/python-tomli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/tomli/json -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz # Locally computed sha256 checksums sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk index b8c20ca736..ce7495d6f0 100644 --- a/package/python-tomli/python-tomli.mk +++ b/package/python-tomli/python-tomli.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_TOMLI_VERSION = 1.2.0 +PYTHON_TOMLI_VERSION = 2.0.1 PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa -PYTHON_TOMLI_SETUP_TYPE = distutils +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 +PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap PYTHON_TOMLI_LICENSE = MIT PYTHON_TOMLI_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 20:56:39 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 14:56:39 -0600 Subject: [Buildroot] [PATCH v6 5/5] package/python-pyparsing: bump to version 3.0.8 In-Reply-To: <20220424205639.1618386-1-james.hilliard1@gmail.com> References: <20220424205639.1618386-1-james.hilliard1@gmail.com> Message-ID: <20220424205639.1618386-5-james.hilliard1@gmail.com> This package now requires flit and must use the flit-bootstrap setup type since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- package/python-pyparsing/python-pyparsing.hash | 4 ++-- package/python-pyparsing/python-pyparsing.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-pyparsing/python-pyparsing.hash b/package/python-pyparsing/python-pyparsing.hash index 1e56e878a1..e7137d55c9 100644 --- a/package/python-pyparsing/python-pyparsing.hash +++ b/package/python-pyparsing/python-pyparsing.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pyparsing/json -md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz -sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz +md5 971252e99e1e02a4c27f001894e0422d pyparsing-3.0.8.tar.gz +sha256 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954 pyparsing-3.0.8.tar.gz # Locally computed sha256 checksums sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE diff --git a/package/python-pyparsing/python-pyparsing.mk b/package/python-pyparsing/python-pyparsing.mk index 2fb705bc7a..f3e2caf21e 100644 --- a/package/python-pyparsing/python-pyparsing.mk +++ b/package/python-pyparsing/python-pyparsing.mk @@ -4,12 +4,12 @@ # ################################################################################ -PYTHON_PYPARSING_VERSION = 3.0.7 +PYTHON_PYPARSING_VERSION = 3.0.8 PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/31/df/789bd0556e65cf931a5b87b603fcf02f79ff04d5379f3063588faaf9c1e4 PYTHON_PYPARSING_LICENSE = MIT PYTHON_PYPARSING_LICENSE_FILES = LICENSE -PYTHON_PYPARSING_SETUP_TYPE = setuptools +PYTHON_PYPARSING_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From yann.morin.1998 at free.fr Sun Apr 24 20:56:50 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:56:50 +0200 Subject: [Buildroot] [git commit] package/libselinux: switch to pcre2 Message-ID: <20220424204706.873C68426E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=663b2edcd2be99638842edaf0406f4c984f32918 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Switch to pcre2 which is available since version 3.2 and https://github.com/SELinuxProject/selinux/commit/50f0910cf05bdc1d10710c7c3fb748a178473387 as pcre is EOL pcre2 is used by default since version 3.4 and https://github.com/SELinuxProject/selinux/commit/e0da140d82c0ebebf1060ce87d0f11276c7fc59a Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libselinux/Config.in | 2 +- package/libselinux/libselinux.mk | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package/libselinux/Config.in b/package/libselinux/Config.in index 348757abce..3098fe3ea4 100644 --- a/package/libselinux/Config.in +++ b/package/libselinux/Config.in @@ -4,7 +4,7 @@ config BR2_PACKAGE_LIBSELINUX depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol select BR2_PACKAGE_LIBSEPOL - select BR2_PACKAGE_PCRE + select BR2_PACKAGE_PCRE2 select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC help libselinux is the runtime SELinux library that provides diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index c6be8e638a..db35da130f 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -11,7 +11,7 @@ LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject LIBSELINUX_DEPENDENCIES = \ - $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre2 LIBSELINUX_INSTALL_STAGING = YES @@ -20,7 +20,8 @@ LIBSELINUX_INSTALL_STAGING = YES LIBSELINUX_MAKE_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ ARCH=$(NORMALIZED_ARCH) \ - SHLIBDIR=/usr/lib + SHLIBDIR=/usr/lib \ + USE_PCRE2=y LIBSELINUX_MAKE_INSTALL_TARGETS = install @@ -76,14 +77,15 @@ define LIBSELINUX_INSTALL_TARGET_CMDS endef HOST_LIBSELINUX_DEPENDENCIES = \ - host-pkgconf host-libsepol host-pcre host-swig host-python3 + host-pkgconf host-libsepol host-pcre2 host-swig host-python3 HOST_LIBSELINUX_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ PREFIX=$(HOST_DIR) \ SHLIBDIR=$(HOST_DIR)/lib \ $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ - PYTHON=python$(PYTHON3_VERSION_MAJOR) + PYTHON=python$(PYTHON3_VERSION_MAJOR) \ + USE_PCRE2=y define HOST_LIBSELINUX_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) \ From yann.morin.1998 at free.fr Sun Apr 24 20:55:18 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:55:18 +0200 Subject: [Buildroot] [git commit] package/libselinux: fix host build Message-ID: <20220424204706.7D8658426B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3bdfb5f5ad2d43cca491a7bc621800eaa0064c38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The following build failure is raised since commit 1745fcde740057951dcc5429f3bfabd103b764a1 because $(HOST_PKG_PYTHON_DISTUTILS_ENV) contains $(HOST_CONFIGURE_OPTS) and so will override LDFLAGS passed by libselinux.mk: /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -L/nvmedata/autobuild/instance-11/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-11/output-1/host/lib -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.l o selinux_config.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro /usr/bin/ld: regex.lo: in function `regex_writef': regex.c:(.text+0x7c): undefined reference to `pcre_fullinfo' To fix this build failure, instead of moving LDFLAGS after $(HOST_PKG_PYTHON_DISTUTILS_ENV), drop LDFLAGS and add host-pkgconf dependency to retrieve pcre dependencies as pkg-config is supported since version 3.2 and https://github.com/SELinuxProject/selinux/commit/74093beab0c605641ec413be81e31e6b2f55d8d4 Dropping LDFLAGS will also drop -lpthread which doesn't seem to raise any build failures with test-pkg: bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: SKIPPED sourcery-arm [6/6]: SKIPPED Apply the same update to the target variant for consistency. Fixes: - http://autobuild.buildroot.org/results/d16995f0decef9c9bf58cab4fa30f7daab6918fb Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libselinux/libselinux.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 5790e79040..c6be8e638a 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -10,7 +10,8 @@ LIBSELINUX_LICENSE = Public Domain LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject -LIBSELINUX_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) libsepol pcre +LIBSELINUX_DEPENDENCIES = \ + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre LIBSELINUX_INSTALL_STAGING = YES @@ -52,8 +53,7 @@ endif # python3 # when the python binding is enabled. LIBSELINUX_MAKE_OPTS += \ CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \ - CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ - LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" + CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" define LIBSELINUX_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ @@ -76,13 +76,12 @@ define LIBSELINUX_INSTALL_TARGET_CMDS endef HOST_LIBSELINUX_DEPENDENCIES = \ - host-libsepol host-pcre host-swig host-python3 + host-pkgconf host-libsepol host-pcre host-swig host-python3 HOST_LIBSELINUX_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ PREFIX=$(HOST_DIR) \ SHLIBDIR=$(HOST_DIR)/lib \ - LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \ $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ PYTHON=python$(PYTHON3_VERSION_MAJOR) From yann.morin.1998 at free.fr Sun Apr 24 20:57:38 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 24 Apr 2022 22:57:38 +0200 Subject: [Buildroot] [PATCH 1/2] package/libselinux: fix host build In-Reply-To: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> References: <20220424200014.1336771-1-fontaine.fabrice@gmail.com> Message-ID: <20220424205738.GB3624965@scaer> Fabrice, All, On 2022-04-24 22:00 +0200, Fabrice Fontaine spake thusly: > The following build failure is raised since commit > 1745fcde740057951dcc5429f3bfabd103b764a1 because > $(HOST_PKG_PYTHON_DISTUTILS_ENV) contains $(HOST_CONFIGURE_OPTS) and so > will override LDFLAGS passed by libselinux.mk: > > /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -L/nvmedata/autobuild/instance-11/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-11/output-1/host/lib -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.l > o selinux_config.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro > /usr/bin/ld: regex.lo: in function `regex_writef': > regex.c:(.text+0x7c): undefined reference to `pcre_fullinfo' > > To fix this build failure, instead of moving LDFLAGS after > $(HOST_PKG_PYTHON_DISTUTILS_ENV), drop LDFLAGS and add host-pkgconf > dependency to retrieve pcre dependencies as pkg-config is supported > since version 3.2 and > https://github.com/SELinuxProject/selinux/commit/74093beab0c605641ec413be81e31e6b2f55d8d4 > > Dropping LDFLAGS will also drop -lpthread which doesn't seem to raise > any build failures with test-pkg: > > bootlin-armv5-uclibc [1/6]: OK > bootlin-armv7-glibc [2/6]: OK > bootlin-armv7m-uclibc [3/6]: SKIPPED > bootlin-x86-64-musl [4/6]: OK > br-arm-full-static [5/6]: SKIPPED > sourcery-arm [6/6]: SKIPPED > > Apply the same update to the target variant for consistancy. > > Fixes: > - http://autobuild.buildroot.org/results/d16995f0decef9c9bf58cab4fa30f7daab6918fb > > Signed-off-by: Fabrice Fontaine Series of two patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libselinux/libselinux.mk | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk > index 5790e79040..c6be8e638a 100644 > --- a/package/libselinux/libselinux.mk > +++ b/package/libselinux/libselinux.mk > @@ -10,7 +10,8 @@ LIBSELINUX_LICENSE = Public Domain > LIBSELINUX_LICENSE_FILES = LICENSE > LIBSELINUX_CPE_ID_VENDOR = selinuxproject > > -LIBSELINUX_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) libsepol pcre > +LIBSELINUX_DEPENDENCIES = \ > + $(BR2_COREUTILS_HOST_DEPENDENCY) host-pkgconf libsepol pcre > > LIBSELINUX_INSTALL_STAGING = YES > > @@ -52,8 +53,7 @@ endif # python3 > # when the python binding is enabled. > LIBSELINUX_MAKE_OPTS += \ > CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \ > - CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ > - LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" > + CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" > > define LIBSELINUX_BUILD_CMDS > $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ > @@ -76,13 +76,12 @@ define LIBSELINUX_INSTALL_TARGET_CMDS > endef > > HOST_LIBSELINUX_DEPENDENCIES = \ > - host-libsepol host-pcre host-swig host-python3 > + host-pkgconf host-libsepol host-pcre host-swig host-python3 > > HOST_LIBSELINUX_MAKE_OPTS = \ > $(HOST_CONFIGURE_OPTS) \ > PREFIX=$(HOST_DIR) \ > SHLIBDIR=$(HOST_DIR)/lib \ > - LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \ > $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ > PYTHON=python$(PYTHON3_VERSION_MAJOR) > > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From james.hilliard1 at gmail.com Sun Apr 24 21:39:55 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:55 -0600 Subject: [Buildroot] [PATCH v7 2/5] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <20220424213958.1747120-2-james.hilliard1@gmail.com> From: ????? ???????? When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ????? ???????? Signed-off-by: James Hilliard --- Changes v4 -> v5: - add rebased remove hardcoded paths patch --- package/pkg-python.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 2e7704a0a9..154810e1cc 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages @@ -225,11 +217,11 @@ ifeq ($(1),host-python-flit-core) # $(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) else -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif endif else -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 21:39:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:56 -0600 Subject: [Buildroot] [PATCH v7 3/5] package/python-flit-core: migrate setup type to flit bootstrap In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <20220424213958.1747120-3-james.hilliard1@gmail.com> This package needs to use flit-bootstrap since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- package/python-flit-core/python-flit-core.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk index 0e058a1f17..aaf4c77c6a 100644 --- a/package/python-flit-core/python-flit-core.mk +++ b/package/python-flit-core/python-flit-core.mk @@ -8,6 +8,6 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 21:39:54 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:54 -0600 Subject: [Buildroot] [PATCH v7 1/5] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220424213958.1747120-1-james.hilliard1@gmail.com> There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. We need to special case dependency exclusions for host-python-flit-core and host-python-installer to avoid circular dependencies in the flit-bootstrap SETUP_TYPE. We also need to special case the installation command for host-python-flit-core since it can not depend on host-python-installer due to host-python-installer requiring host-python-flit-core. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle --- Changes v3 -> v4: - rebase Changes v2 -> v3: - add special flit-bootstrap SETUP_TYPE - don't change package SETUP_TYPE's yet Changes v1 -> v2: - formatting/cleanup - add comments --- package/pkg-python.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..2e7704a0a9 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +# Use flit built in wheel builder for packages that are flit-bootstrap packages. +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. +# +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +ifeq ($(1),host-python-flit-core) +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) +else +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif +else $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) +else +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 21:39:57 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:57 -0600 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <20220424213958.1747120-4-james.hilliard1@gmail.com> This package now requires flit and must use the flit-bootstrap setup type for the host build since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- Changes v6 -> v7: - only use flit-boostrap for host-python-tomli --- package/python-tomli/python-tomli.hash | 4 ++-- package/python-tomli/python-tomli.mk | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash index 1a274c8a40..8368f9ee13 100644 --- a/package/python-tomli/python-tomli.hash +++ b/package/python-tomli/python-tomli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/tomli/json -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz # Locally computed sha256 checksums sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk index b8c20ca736..b803d67466 100644 --- a/package/python-tomli/python-tomli.mk +++ b/package/python-tomli/python-tomli.mk @@ -4,12 +4,13 @@ # ################################################################################ -PYTHON_TOMLI_VERSION = 1.2.0 +PYTHON_TOMLI_VERSION = 2.0.1 PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa -PYTHON_TOMLI_SETUP_TYPE = distutils +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 PYTHON_TOMLI_LICENSE = MIT PYTHON_TOMLI_LICENSE_FILES = LICENSE +PYTHON_TOMLI_SETUP_TYPE = flit +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Sun Apr 24 21:39:58 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 24 Apr 2022 15:39:58 -0600 Subject: [Buildroot] [PATCH v7 5/5] package/python-pyparsing: bump to version 3.0.8 In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <20220424213958.1747120-5-james.hilliard1@gmail.com> This package now requires flit and must use the flit-bootstrap setup type for the host build since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard --- Changes v6 -> v7: - only use flit-boostrap for host-python-pyparsing --- package/python-pyparsing/python-pyparsing.hash | 4 ++-- package/python-pyparsing/python-pyparsing.mk | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-pyparsing/python-pyparsing.hash b/package/python-pyparsing/python-pyparsing.hash index 1e56e878a1..e7137d55c9 100644 --- a/package/python-pyparsing/python-pyparsing.hash +++ b/package/python-pyparsing/python-pyparsing.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pyparsing/json -md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz -sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz +md5 971252e99e1e02a4c27f001894e0422d pyparsing-3.0.8.tar.gz +sha256 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954 pyparsing-3.0.8.tar.gz # Locally computed sha256 checksums sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE diff --git a/package/python-pyparsing/python-pyparsing.mk b/package/python-pyparsing/python-pyparsing.mk index 2fb705bc7a..7e458042f5 100644 --- a/package/python-pyparsing/python-pyparsing.mk +++ b/package/python-pyparsing/python-pyparsing.mk @@ -4,12 +4,13 @@ # ################################################################################ -PYTHON_PYPARSING_VERSION = 3.0.7 +PYTHON_PYPARSING_VERSION = 3.0.8 PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/31/df/789bd0556e65cf931a5b87b603fcf02f79ff04d5379f3063588faaf9c1e4 PYTHON_PYPARSING_LICENSE = MIT PYTHON_PYPARSING_LICENSE_FILES = LICENSE -PYTHON_PYPARSING_SETUP_TYPE = setuptools +PYTHON_PYPARSING_SETUP_TYPE = flit +HOST_PYTHON_PYPARSING_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From leo at yuriev.ru Sun Apr 24 23:56:15 2022 From: leo at yuriev.ru (=?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?=) Date: Mon, 25 Apr 2022 02:56:15 +0300 Subject: [Buildroot] [PATCH 1/1] package/libmdbx: bump version to 0.11.7 Message-ID: <20220424235618.471682-1-leo@yuriev.ru> This is stable bugfix release of libmdbx. So it is reasonable to backport this patch to all applicable releases/branches of buildroot. Release notes for v0.11.7 https://gitflic.ru/project/erthink/libmdbx/release/90ec9985-cd60-4d9a-8c98-8417506fd26d The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md Signed-off-by: ?????? ????? (Leonid Yuriev) --- package/libmdbx/Config.in | 2 +- package/libmdbx/libmdbx.hash | 4 ++-- package/libmdbx/libmdbx.mk | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/libmdbx/Config.in b/package/libmdbx/Config.in index d13f73938f..2cde7ed5e9 100644 --- a/package/libmdbx/Config.in +++ b/package/libmdbx/Config.in @@ -13,7 +13,7 @@ config BR2_PACKAGE_LIBMDBX libmdbx surpasses the legendary LMDB in terms of reliability, features and performance. - https://github.com/erthink/libmdbx + https://gitflic.ru/project/erthink/libmdbx if BR2_PACKAGE_LIBMDBX diff --git a/package/libmdbx/libmdbx.hash b/package/libmdbx/libmdbx.hash index 2483d14dd1..7d663b3da0 100644 --- a/package/libmdbx/libmdbx.hash +++ b/package/libmdbx/libmdbx.hash @@ -1,5 +1,5 @@ -# Hashes from: https://github.com/erthink/libmdbx/releases/ -sha256 884de528f5c2abab2187b7c4c84b769d2551e1a748cbfdf0ae4c0f5c9f8dbd27 libmdbx-amalgamated-0.11.4.tar.gz +# Hashes from: https://libmdbx.website.yandexcloud.net/release/SHA256SUMS +sha256 3a9fb6a4cd941e646597235518714373fda1ca6d4c5e23669afe70ea87c20940 libmdbx-amalgamated-0.11.7.tar.xz # Locally calculated sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/package/libmdbx/libmdbx.mk b/package/libmdbx/libmdbx.mk index 1aff8fbb4d..a7056b2850 100644 --- a/package/libmdbx/libmdbx.mk +++ b/package/libmdbx/libmdbx.mk @@ -4,9 +4,9 @@ # ################################################################################ -LIBMDBX_VERSION = 0.11.4 -LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.gz -LIBMDBX_SITE = https://github.com/erthink/libmdbx/releases/download/v$(LIBMDBX_VERSION) +LIBMDBX_VERSION = 0.11.7 +LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz +LIBMDBX_SITE = https://libmdbx.website.yandexcloud.net/release LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO LIBMDBX_LICENSE = OLDAP-2.8 LIBMDBX_LICENSE_FILES = LICENSE -- 2.36.0 From thomas.petazzoni at bootlin.com Mon Apr 25 04:40:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 04:40:44 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-24 Message-ID: <20220425044052.A7A5540866@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-24 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 20 | 6 | 0 | 26 | master | 129 | 464 | 0 | 593 | Classification of failures by reason for master ----------------------------------------------- package/pcre2/pcre2.mk:33: ... | 57 pcre2-legal-info | 29 host-binutils-2.32 | 19 host-gcc-final-10.3.0 | 19 git-2.31.2 | 17 uclibc-1.0.40 | 17 libopenssl-1.1.1n | 13 host-libselinux-3.3 | 12 host-wayland-1.20.0 | 12 linux-5.15.33 | 12 host-elf2flt-7e33f28df198c4... | 11 argp-standalone-1.4.1 | 10 zchunk-1.2.2 | 10 python3-3.10.2 | 9 toolchain-external-bootlin-... | 9 zlib-ng-2.0.6 | 9 toolchain-external-bootlin | 7 libressl-3.4.3 | 6 glibc-2.34-109-gd64b08d5ba7... | 5 host-gcc-final-9.4.0 | 4 host-go-1.18.1 | 4 host-libcap-2.63 | 4 libgcrypt-1.10.0 | 4 perl-5.34.1 | 4 refpolicy | 4 unknown | 4 aufs-util | 3 cryptsetup-2.4.3 | 3 exempi-2.6.1 | 3 host-gcc-final-11.2.0 | 3 host-gdb-arc-2020.09-releas... | 3 libeXosip2-5.3.0 | 3 linux-headers-5.15.33 | 3 pipewire-0.3.50 | 3 polkit-a2bf5c9c83b6ae46cbd5... | 3 qpid-proton-0.35.0 | 3 uacme-1.7.1 | 3 brltty-6.4 | 2 bubblewrap-0.6.1 | 2 clamav-0.103.5 | 2 coreutils-9.1 | 2 elfutils-0.186 | 2 fontconfig-2.13.1 | 2 fs/ext2/ext2.mk:65: /home/a... | 2 fs/ubifs/ubifs.mk:49: /home... | 2 fs/ubifs/ubifs.mk:49: /nvme... | 2 gummiboot-2bcd919c681c952eb... | 2 jpeg-turbo-2.1.3 | 2 libglib2-2.70.4 | 2 libnss-3.77 | 2 linux-headers-5.10.104-cip3 | 2 linux-headers-5.10.104-cip3... | 2 netsurf-3.10 | 2 python-zopfli-0.2.1 | 2 toolchain-external-codescap... | 2 ulog-0389d243352255f6182326... | 2 vlc-3.0.16 | 2 wavemon-0.9.4 | 2 xenomai | 2 ace-7.0.6 | 1 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 aubio-0.4.9 | 1 bat-0.19.0 | 1 bitcoin-0.21.2 | 1 boost-1.78.0 | 1 cairo-1.16.0 | 1 containerd-1.6.2 | 1 dash-0.5.11.5 | 1 dhcp-4.4.3 | 1 dieharder-3.31.1 | 1 docker-proxy-339b972b464ee3... | 1 flannel-0.14.0 | 1 frr-8.2.2 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/jffs2/jffs2.mk:71: /home... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 glorytun-0.3.4 | 1 gmp-6.2.1 | 1 gnu-efi-3.0.10 | 1 host-gcc-final-8.4.0 | 1 host-gcc-initial-10.3.0 | 1 host-gcc-initial-9.4.0 | 1 host-nodejs-14.18.3 | 1 host-rust-1.60.0 | 1 igh-ethercat-1.5.2 | 1 libcap-ng-0.8.3 | 1 libcpprestsdk-2.10.18 | 1 libgpg-error-1.42 | 1 libks-1.8.0 | 1 libtorrent-rasterbar-1.2.15 | 1 libuhttpd-3.14.1 | 1 libusb-1.0.25 | 1 libvorbis-1.3.7 | 1 libwebsockets-4.3.1 | 1 linphone-4.4.8 | 1 ltp-testsuite-20220121 | 1 ncurses-6.1 | 1 netatalk-3.1.13 | 1 omniorb-4.3.0 | 1 pamtester-0.1.2 | 1 perl-net-ssleay-1.85 | 1 poco-1.11.1 | 1 poppler-21.12.0 | 1 python-cryptography-36.0.1 | 1 rauc-1.6 | 1 ruby-3.1.0 | 1 suricata-6.0.4 | 1 tbb-2021.5.0 | 1 tcf-agent-1.7.0 | 1 toolchain-external-bootlin-... | 1 wtfutil-0.41.0 | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblazeel | ace-7.0.6 | NOK | http://autobuild.buildroot.net/results/c38ddcd1f181da8332838e149990691f0566ffdc | s390x | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/2278e9df7d06fcf031cdc4fd2160aa1304d586c0 | or1k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/5087434422df419116c0e4590d831d6e3990cd43 | x86_64 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/73b9ea08f1c138ab9da2959a857478c43b76b9ec | x86_64 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/244101b1c414ec6584d91e3c1793e603e7f17209 | arceb | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/3340851909546a69f8632cf490e3ff4a368007ae | arm | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/e43443580d234aef7a54ba0cb0b7d107af56ccac | or1k | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/0e27891e709cfdb5165c64bef38ab788042c98af | arm | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/21fed655a52a917d6197b64bdbdbed20cdb9ed9a | microblaze | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/99d8ac3c876c044ea213034334c8fa9ae6de9fb1 | i686 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/5b248e94ccb412d2b4e68f7381c6e971c768f788 | aarch64 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/eb6b7579eef98d04af79ae1caa29afa505f9e9a6 | riscv64 | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/40640c07f9ce9e9d083049cb21cdaab67481a79f | x86_64 | aubio-0.4.9 | NOK | http://autobuild.buildroot.net/results/368ffe90a01f2eb23651e2974ea20090dc534b4b | arc | aufs-util | NOK | http://autobuild.buildroot.net/results/eaf71dba8d6bfc67acfe1f1b3c58de334fe791d3 | sparc64 | aufs-util | NOK | http://autobuild.buildroot.net/results/30198b99e6885bc75b95c743875927ee06c5b735 | s390x | aufs-util | NOK | http://autobuild.buildroot.net/results/41fbdc46c682a104dd356c3bd9c8d5faed68c509 | mipsel | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/aa7fdb4a1b849aa76bfe46026b8ce11c4a31fe97 | x86_64 | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/0c0586a77fb96ddbce7369d0bd708d17c2b3577b | arc | boost-1.78.0 | NOK | http://autobuild.buildroot.net/results/a515c7b70829359475bfa77f061f61d1e17c9f44 | microblazeel | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/28da4ad3f73804b0e1456ee9b2aae190842b4678 | microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/50d22c92d69b976b2e2fa325ff5c4447742208a0 | arceb | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/879f9b43044f3d07d8fac52ca23453cafce08fc2 | mipsel | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/e5011d5dfbca7e9cb69ebdb7093dcad110f085eb | arm | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/836348270d564a46cc9ee840cf87b2494cc82cec | m68k | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/d61396a62a4247b35a76775a35e192dd995180fa | sparc64 | clamav-0.103.5 | NOK | http://autobuild.buildroot.net/results/e7f6cc633b35a8687824b142731a6024e4729cd5 | powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/add6044bb872d618808a4fa72662567a993d335d | mips64 | coreutils-9.1 | NOK | http://autobuild.buildroot.net/results/ab440926091a24dce5460a7ad1a0583d07aac811 | ORPH sh4aeb | coreutils-9.1 | NOK | http://autobuild.buildroot.net/results/f70079ce974d3939f324cc629b79da7bfc436494 | ORPH or1k | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/6c516b82c646c35e115019e06b9f13bdc210d7e2 | i686 | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/cb3fdae4e0da603f304501f65127800346cb3915 | arm | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/f8832b410c499ccdaa7e4fabe57296f02ee6e2fb | mips | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/4c87149bc22400e11212a37381e1fd989c0d3e7b | ORPH or1k | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/37ecc6a8629ade029f32d75ef3e698fd5eb95601 | ORPH microblaze | dieharder-3.31.1 | NOK | http://autobuild.buildroot.net/results/b9470c87fbbc3c7fa2cda3077306f101b9371495 | i686 | docker-proxy-339b972b464ee3... | NOK | http://autobuild.buildroot.net/results/b2f214e2915b82d0e6784dd87fcd6eb31bb872d3 | microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/a360d0278cb263ee3a5c830f0b122793cd45a628 | ORPH arceb | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/4aaee9036180761b5e6f0c03c06c22be49945d3d | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/e4402659af9432df3c37958048e1d5b12b3d5338 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/79709333295abfe2ed9f4b49a04fd2a07cc1f39e | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/49e818aca77c823a50ea0c04adfe36575bc09db7 | aarch64 | flannel-0.14.0 | NOK | http://autobuild.buildroot.net/results/911b21ebc39024b911b0f1f42794c254efa393de | riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/15ca5c123e7212c01c4c801195af2ed38c484848 | ORPH riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/2e1536acbfad01091890165f3804d2e2701d6306 | ORPH mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/2e9919ce5ef68d0cc3c0649123b399d08b617108 | mips | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/e2ab17e4c930a7237874719ada231837590e1a8f | mips64 | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/989d5aeacbeac83d863b3bc81400dd9094141fe0 | powerpc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/feb87dda6dc6c04f6c9816da087543af4c15240a | arc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/c6cc83abcac89df41b5b99d465fee39f8a0d835f | mipsel | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/d74befc14c499b24516e68bed7a1c41b3669eec0 | aarch64_be | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/9bf58db7ef26cbc614b3934241ca16b1cbdca154 | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/fe78238e147d1aad14cfa60ddcfbada32b749530 | s390x | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/075779d14b7b5bea25f0651d04c367c66964247d | powerpc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2ec7c6be7d0cfae962363e8bc7234068ec7f480a | mips | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/f716da39fd9b34e29f68e1f71ac2f5cdcaf0e5d3 | sparc | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2dd5633bbe34888a2becffed4477dc298e8343f4 | m68k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/614b8bfb19dbf2fb2b664cbe930e7420ccd42a58 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/23f79344e964ccbcb6850899ddb4dc7b668237b1 | or1k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/bf387fba38ead78fbf1d3cd99fdf638249d31d55 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/4c885c66c51e86a2e79534faddbdf6c9f67043ff | i686 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0c8a53ddf9033fea25c9bfd949cdc1e86f54b859 | powerpc | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/215a84a6c634dcbc6f4efde938136bac13da6ac9 | m68k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/5610c5b3157f5ea2eb9021c63f080de288482c28 | mips | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/30b202cdd6494735ad9afd93b33f930f0be14a7e | arceb | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/c05de87789dc928b04bf2bcd393bfef7ee75707d | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/8adac5021964e4ae7f866e605be38ab449430f72 | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/ec03f53e6d603d10d83a30099b377ebcaaac473e | xtensa | fs/jffs2/jffs2.mk:71: /home... | NOK | http://autobuild.buildroot.net/results/4389891dec247c5ee486f46c18202ad23d48e4e9 | microblazeel | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/0523755165acde09f1785f5c2e0c09ceca37fc6d | sparc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/53e7d0444782449ad3a900e109d5bc3ceab58843 | aarch64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/09e7d5d10096e9100bc1bd88ecc24c2f123bf060 | powerpc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/ed1800c05cc492c287f55a27131c35ff4876c867 | mips | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/700ec9f2da98e33a37cc1fba4ad5b1bec9a3c12c | mips | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/d1291ed2ea34148cc26ecdd13390a5cbd9534fc0 | microblazeel | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/c4a9febf05f700bfc67a8d52a63cf461145b964a | armeb | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/49b402cc941e58dd6e218561289354782743b304 | m68k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/7458dcd397747eead7999baa9a5d9cc8118b7b46 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/248472054a6941b878181d75d4bf93fdcc8ea7df | mips64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/60078349d660955763ca4a6be99b258bac04e306 | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/017003995874520264bd59442816247079842ff5 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/cb1b5489bdd8d93757194eb269dd306683b3dba4 | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/1baf7baac791d50ad001d59cd6a5785a6cc8ae1c | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/02e1d09d554f8a430a95b5c7e0dc74130d6f14bf | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/43c62f0cd970dbef3a969ec1c89795b3134f2769 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/1ebbd482ec8bbb27d4cb1bc4f680ce49d38ee341 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/38aa62016cc8505b86c29a3d5e02115e473fd1ad | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/6c79965dad7528b8b4156ab5308e42901fba7705 | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/0ae8937eaf3da54f4f28554765a3456e32d58fe1 | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/31765c98fdc11079350e2cf48eac0c33434487b0 | sh4eb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f3235b8741e8d904b8df4d1e9626b7953d59c48a | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/202263d4fd0792213dc4d140a62b9969738d0b74 | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/de91794e7268ee5062cd072abfc2519e15c659d2 | arm | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a0f13124213f350c24e9b8ba168aa5d7ce4f9419 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/6f756b7a2e71b799228da62ed803d40a85a93f2d | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/7bbd9e92cface0a741b8fa111c104514a076cbbe | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/521f94793ef8a257b1543e4e9d5cb11c085fceb1 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/48adfd26531c63d598d49a16edc66940ede8ce7b | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a7441aefe1d309fc70d62cf23750484157f220c6 | arm | glorytun-0.3.4 | NOK | http://autobuild.buildroot.net/results/da8297b4998ba9c744caf09df4d7c79d4a2dd329 | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/de19393d14e79c3329ced199113d380768372a21 | ORPH mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/0ef9fe710d4aa3097242a28a03b41b3f8a93cc1f | x86_64 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/e517c8a5ded5b251ae198f0f3339053d8189aaa7 | x86_64 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/6fd6797a35c77c17014982e9f6f06699a33a3011 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/b87aa9deb9f496c9ae4fa0c93346090297b73639 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6a5bf9a0a4c07d22b80c9bb1dd381ed322e8e462 | sh4 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/1672eb688d85f7f9c1565c9f09dfe7c5ce4928a4 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/8960a31cac24dcc84e445c05c972211ee1e4d54a | sh4aeb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/00afcc00f08c057ca70d1c92755bb8762c054164 | sh4eb | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/407c11f8f2d18cb832a2a0d38d4510a00a40571b | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a2aaf0468177689d0ab39071a27116387e5323cd | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/754cb3505ec1625ea89c742da6bd148dc2a3395d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/f2a0fc7feb31ff6a3a1d6409462da013602f3d21 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/7a2a88cce3c6fbb931c661caa042bdf5f14f1c7f | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/78dab41d53924cffdd7920490861a3d35d0cdb7d | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/a07dcc62f1378824d183c820caaa2ff6bf68a149 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/e3046932c1ab1b10236348fe544272f807f99394 | aarch64_be | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/74b14903be7046c48fac73cb7afc56913c2f209d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/6b6746dfc11092c5b64684ab49eeb88af55d1fe9 | sh4a | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/3689978db642de9a88340fb41e38ae2315a79085 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/38e1e44385264cacb350a8b2d27c2e84c5f7309d | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/2ab896c2ca98a0f0dcba30bcc9529a65b6e3d8b2 | aarch64 | host-binutils-2.32 | NOK | http://autobuild.buildroot.net/results/87233232d17d85af9a39627b4b1391db747a92c7 | armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c28ea27cc21a6844f23d82f7d8c2f10514926f0b | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/ae6cd4350a9995c99b80190cd6caaeb8a4a81ece | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/27d55fce716107371c6f04cfd8e4e51169da4d6d | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/0fb2a66155e9d82bd793aa776dad4648af05f95a | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/b498bc603189a7fc5993e7d33ec77b72be80d996 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/93811a6eac00e285af470abcf06f66507f5a5cd7 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/d9a730de035b5c3e0d17a328f55c8f7504dccc48 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/627f4bf8fa4bc723be7d9fa49c6adc3d3bc7ff85 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/c0294b7fe629cf2040aeae157d7acc61e5a507f3 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/43082679156691b37a87cb391f99b8409faed226 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/2a61a69212743f278e46f0492effb33501119c01 | ORPH sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/aa74d37e4206ed106afc5754241eaf735836fdf8 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/148de976e9d8d231493e766776aaaf9ed46b2249 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3383ad7a5d5a5f292c1ba39924c112d177eae98b | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/215cc72b578329043a0c6167b48d749551e3ad69 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cf15062ea11949e158ef08fbd327d0e8e6a6107a | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d708b7a53fb6f4a0a97830414d2a0cce9d008d2e | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d6dddaf47569a78322d0a07a13642800bb2b761b | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b898588abcaa75d621dd1dcc11083148db936b2f | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/80d56a29b85ec55d6ab2bf73be018c204b941110 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1543f3148fec42d09be2af3999deafe0e9447f21 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/442ea779d562f7a99e53533da460e4b838b70709 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/15b58a454bae217d4891beda91c1e1ac446a84b8 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2624d9c7385fc25f64519cec07fd9f934835613d | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/9dbea30059515dbba6382bb4b2464793f6f9a4a6 | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3995d56e94173200180da41e0cdb4fe4250e74f8 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a840956d9995a07f768ac4c62938ba9a9d98c913 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/762acfbb3287ffb8d54cf77fa7d8eb6b4a4b02c8 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d2cc3884383f7604fa577d8f1710a67d32f7f36d | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2c0d8c32a69216055e349d21b51fd003637142e9 | x86_64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/543f0f5583c76639eab0106bf3a41a6a3111e51e | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/692317ad09590284d952b7723fc6427c07c61912 | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/a3f016d520ddf7eaf546ce19c2b8b9e0368baa8d | powerpc | host-gcc-final-8.4.0 | NOK | http://autobuild.buildroot.net/results/acf3c31574e34391057cb13e4a8e522af60e5413 | microblazeel | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/fad075d80bd554a4a1577e5ec2ff35b5d870863e | powerpc | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/ea856a0badcd419aca79a59cfb8445de084e8310 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/50cdbc56e568c868f830a2e4e0172a6ab336ba6c | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b6053530d57fbbb07a0a164ab13a0e2898c97306 | arc | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/a3d05851c4179bf76e78fd57e76b789b04c704a7 | x86_64 | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/5eb0ce342fe20f73ec7ad52a4adbfc3f77e27ea1 | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/f0fc8d5959ef7459bf5966eacc1322688696c3cf | ORPH arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/e52fe6a09b202ccdd4db21282dea99ff7853547f | ORPH arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/b583a1e2a8d6a9847802f3734dba637407acf5c3 | ORPH mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/44b1d54c2cdf211b4058d072d54999dcae3ffe0d | mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/6a46953bc01409aa354e060202461f5894d82960 | i686 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/eb8d68ec5bd8efb5eefb088c62eb0963441bcc25 | mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/333fd5c24d1a85646dbf322c4d5ab057fe5a65aa | microblazeel | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/1cddd6381a9478f16acae7a00ee1b0970146bcb8 | aarch64 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/83b505a22d7894ff5250d68ae1ff1ac6ecf2ac34 | powerpc | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/15656873963d8d5152687fb88c56fabf83a38eac | sparc64 | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/af5a001c83ad664d93b4911e993200ffc406b03c | arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/6ae9a38d9b4dcefefe02b29faf6c790f47a4b553 | i686 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/76067c447749383cbb3b77288bbb32501723a475 | mips64el | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/2371cc85f4733448350325d8aef0ebb8dc825ef8 | microblaze | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/756d068fe4cd355dd2c1a0226726e960b3c5f4bb | arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/afaca46542c7e7a1e4eb0f5e4a090c436b41d497 | sparc64 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/d9b7a08f3da1ac94d61ae7117ac33d7fb12649f1 | sparc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/42cbad6308c92af221f4c01e97e7f06b81fd1efe | armeb | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/7f96b33ef47a74c9aadab1f7c2efd8e798e78eae | i686 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/0a6496a6c9f6c90e22274f30139e9358df664561 | arc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/633c0631b448ce400aa4e2fa47d2682b2786dccd | arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/39f0e46d9ffec00bf67c3188c17685f5c40f2521 | arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/e146d972050bcc190f65dbf8ed01cbf642ea1c5a | microblaze | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/4b9f6582d41db9b4f10884459b7d0410349f4f4d | x86_64 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/d90eb421b15dd4bf7fe1ef5bed72e9a3cb3413f4 | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/6a47913a104b5c588f4d41c1db8b6d9b4dfa47db | xtensa | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/98435680a904d57040d16a0dfee782fc2ee8e393 | arceb | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/c0c9c2fc27a4d1bf9cece2e0e606bbd32ba58967 | riscv32 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/704b423c627c89d58873ea74d48f92a78a97716c | x86_64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/2ce6b9aa77e2da9c5a958e05096a52189170db6c | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/8592e3c5f7c4b465553eb95f3f9d08bc75bc4fec | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/b733616ecb2daec131a96f4a917530fcd1a79173 | mips64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/92a60fd0747a943355e4aca882c43cb6b35d6d87 | riscv64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/f22636f5fde38e995d1ef4f9279f301e4ce0f9f2 | xtensa | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/ff53522e4d5b93b9327a32051be3a10429544595 | or1k | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/3a892c3b271df716f25adc7ad0e7c40e8be17e45 | aarch64_be | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/283d7f2bc386438e8fcde717b46d93cd698e43ce | x86_64 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/91a81f3bccb109b3da41761d4bc4a7eaa1451638 | or1k | jpeg-turbo-2.1.3 | NOK | http://autobuild.buildroot.net/results/d2ed3fe6d2539d4f2113862452da323852cf08d0 | or1k | jpeg-turbo-2.1.3 | NOK | http://autobuild.buildroot.net/results/90c754923dd3fdea7a55172fd128146333f525d7 | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/0c6d6312b6ad561981fc5282e399806c7db82a84 | arceb | libcpprestsdk-2.10.18 | NOK | http://autobuild.buildroot.net/results/844a29d1f9b505c26a5ad4a769ab6a69adbd3e72 | ORPH nios2 | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/512f07ee7457eb3ace086db0fa712d19781bfba8 | sparc64 | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/5e88d3bdd367d3ff7540802ce7b85f40d9242420 | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/144dddb1e09f2febc481a234054e4248a179191e | i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/9c3cc84f909384eb4a2b68b1cfdbb243b47c11d2 | ORPH powerpc64le | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/dd85bfab3d256aaa222965e62e5da6edfa18a33d | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/4670ecc45ac63dab6577bbedfebc12a31a9e24fe | ORPH armeb | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/69db2e36c670ddcc4b37ee91bd84833f2a61ad9c | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/244e6b30ade8987d630b9998b677a8fa97e431bb | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/04ca9148b38530bfdefe22a1e50baefb6ed380c6 | aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/bd35da9c9ee1664c3a8952aacf4b2ef3dac70228 | ORPH arc | libks-1.8.0 | NOK | http://autobuild.buildroot.net/results/8a93b75ee51e005383eac17aa7577b43eda4cd92 | powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/460cd775b50e0b50b7a44b780d5ea8335f3e0119 | powerpc64le | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/417690ddcc9050c0d4f2e0b83db496c31ad524f0 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/86d67e605e6f4b83300e70246cdfd7fab23ce4cf | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/df713e1afd410cbe4362a5b76a30de8c97ca72f7 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/69df98340294395cf9bb98a80b7bfb81aa19f56f | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a3a24fc0cf38acd5059332094257767612e1aeed | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/4d192a6dac7dac278c0b1a6720d2d03f123baa76 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/61f0f96e544fa59677e6483662c74314b4ff9877 | xtensa | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c43bd4a413356592f74e48e25e7a57bb6428720f | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/ded19f7376f9a13c6ec4873b3d812da1806ac04c | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/d009443313a6561129d1f46b187e46567c5fc713 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/f3056c8be3f3952830bfb4f2489ded51c7995393 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cbdb831935690c5358cfe41e8883826b95065149 | aarch64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/5af6a12af642a0fcfaae94bc7a7a785a3a433cb0 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e5aa28d5af7324ba50cecdb97fdb0b6f42d653e0 | xtensa | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/bf01daee5117cb96be62ba9b7e55c0ee9333d0c9 | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/3dcb114dbc1e8ede70dd34977c6610592f4d84a9 | ORPH arc | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/7e8ff783eb669d4fca40cad2f9acf29dd7840652 | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/1a53e6268a328c939071945a33692b58b755f24f | ORPH arceb | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/78fa9fa529cb07046b63cfed0a35ecc3f7a1e24e | ORPH or1k | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/958c58f20105ff254fa807059f22028dc2bfe6c8 | ORPH x86_64 | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/2f901c8576d1c741b0f81dc0deb926da721ed440 | mips64 | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/a8c7375962c62955c648ccbf0063361aa77eadfa | or1k | libusb-1.0.25 | NOK | http://autobuild.buildroot.net/results/030a5d32a8c6f571da7c809283dfa909e8b94b0a | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/fe96338dae1d58e59ccecded0b2a0288b62acde1 | aarch64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/65ad184858252fd23efb7a601e9a817c536b7c5a | nios2 | linphone-4.4.8 | NOK | http://autobuild.buildroot.net/results/e4d27116a52044730a6d58865dac4e07ddbc257b | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/df31a99089e79222f7b6cd505597ae66dbe7eb4b | ORPH mips | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/302619bdecd176684f74ff95fd011f8921abfea9 | ORPH or1k | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/a7ddf3924b5b9491d7c2f2d78f5154601881bde8 | ORPH powerpc64le | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/aba6a9a7a8ae22c022c0152698f48cfc2c72313e | ORPH powerpc64le | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/f8211e7f2fd9a09ec4106e5cd1b2b909f96c2d6c | ORPH powerpc64le | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/806be10849eaf5c2ebd307414bb18e715aefffd7 | ORPH sh4aeb | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/3eb36286d6ac3d8948245258f84077c4627ccecf | ORPH s390x | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/dc25823bfce86c7199a76749202ce68ac52848e1 | ORPH powerpc64 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/af73823ae1dc695e956ee2356850b6d8d5720019 | ORPH or1k | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/35a9527e128120d6f335c416829c71332a35d06d | ORPH microblaze | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/dbcf7c1676a6262ccdab3ed874e72784c6fedfd0 | ORPH sh4aeb | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/59b60720101c486fdbf7168d80e277953ffc44d7 | ORPH powerpc64le | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/8642c114567c58daba6359edd920cfc99dffb63c | ORPH m68k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/a6a751529525366f82227af6bbb31b2ccf812dd7 | ORPH riscv64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/c23fbf68c766be12536eaaed257ca04fb1b2e8a7 | ORPH xtensa | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/42cfad8a7934c9e169eeeb59a0ec8437e26cb0d7 | ORPH riscv32 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/8cfbe6da0bad1a9ac8b25efd31d04478bc4a6b62 | ORPH sparc | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/cae9721c000daabd50c53de9b0c751f4d4d9731f | ORPH arc | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/77318ad084f9061227e98752745a14d63f1061a3 | ORPH mipsel | ltp-testsuite-20220121 | NOK | http://autobuild.buildroot.net/results/bfd0d906a05564a4f323db604f3b908abf552b20 | arc | ncurses-6.1 | NOK | http://autobuild.buildroot.net/results/8e14d93c5bad7540399839860c91c2e8447d9a64 | ORPH sparc | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/9e23f09586f4582a0f875d0b8ded9cfcfdf6ed04 | ORPH microblaze | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/07240d8470c8b8a029a96fb5dccfdcd51ddfd0f0 | m68k | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/dff4972fcfd7904b6a5154aed55183f6e8ec03eb | m68k | omniorb-4.3.0 | NOK | http://autobuild.buildroot.net/results/47b1906eb7dd122a81191d14ad663c5931cbfade | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/b03eae6cce0b7ac3ac127e0a83d0eeaf6c6033ac | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4f3f15c780ded0ce1c9bc8c06ff7cd56bd834611 | mips | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/c9cc1d42ffb244900cf0d21b9c57306ed2f77f26 | or1k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/cd027bbc9fba580624551e7f08971854be749326 | s390x | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/e0a875e9acc564b8c6c5a32d25cd5a7604b41c79 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/794e3b4e36ac2fc88a700c04f95bda6af65d86de | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/326fafd6584dc4f989c17ff51e9ffd1badd01c9d | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/471a0a0071ba8bfae2f33766b2fd6ba8494e1413 | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/52a22cf6091c2125815e6e33824f5461ed58e43b | powerpc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/a62d6d39fe6a365b8cdc675c7ee64ca5f5fff337 | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3fd56eae791f691b521257abbed6b607922f7688 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/93299acc7b91e2523f60e1d082817681178488db | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/85f2a0474fb661a588db33dbca6563e8ceada38a | or1k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3434d682d91ed63f9e35b023d1e075a85a88ff00 | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/856281dab3cd0694635aaee8a62660ffffc21622 | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1d0e2ac64735e74759813dc29d957248e65362ad | xtensa | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/29b91c7f7a5334c30478afa733c9b08f03d0549d | mips | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/28113725235c8a1fe080987222e1ea7c9774b8cc | xtensa | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4434b49af60580f9c81493bcb9dc497c748216c9 | i686 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/d874ce73c25725c67c6200f49d40687851eb1d6f | powerpc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1f3281461b333dffc3a60062a9b467e2b91acb27 | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/42e95c514a772410672d18e49028711e5a80e18d | powerpc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/84fa00c1a9854032eefbbcba478989f76a23bad4 | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/55869ad326201156c970d8b0327e161350ab3d99 | mips | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4a655c5bf6d381c9239d8e8cd39c8ad14edf86c1 | s390x | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/c5b98487738869de098cfc21309c6674c81216e7 | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/7ca8b973112d1d1422aa885509b632f58e31fe3b | i586 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/b6ee69bb05ef3f160a51a87c76eb569f72982991 | aarch64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/955426a2556661a66c6e27e535eba90a1559182e | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3176a1ea11d4ce01aab8f14fc7cf1b73b55d5113 | mips64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/dffa28583b087456c9f4e4c54ba8449c57a1cbd5 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/64a92783b663a838ec59f3fa2de37308f3912f0e | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6b5045ef8208b364a1106686723e738d5780318e | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/678d4f5702bf9229b0af331e0a8835ae387273c4 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/0ea4393cb4b268fb418524d45cbd5f5e78ec4f53 | armeb | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1951e769f9e06b4ecd897f782b35a32fa415b89c | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f17b0ce7c3d0e828c04a8fdf51468385c781fdfe | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/254f33f368bfb586dab0138d8d89844508bb6880 | mips64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6892bb71e856054da8e5ba73cfdee89f149ce895 | nios2 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/5e409cf4bcc8e0bb47b953447ce24d37362596f1 | mipsel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/335fe2105fc3e586224c3bd0a3b9a124b60f4b87 | sh4 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f82dc39de0c71f9e3dc1e1acf892708f64464326 | powerpc64le | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/af1d1bfd082b99948e5c7307158dd71efc3dc34c | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/2241280d97a6f24f5353dd8028cab22aa0d65444 | powerpc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/76e8b4434dd96811576d76a149b35f73d9d52e67 | s390x | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/7a6ca9f7d6a63cd78f8afccd254ccee97fd230dc | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/a91bce3f0cdced955f57213a8c0cd78845eb7827 | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/78e1433b8b16728259f118c21f3f64e28bea0e6d | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/0048298df11303f668c0b0f3496ab41aaa2c64a7 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/145550a1b7761d417e4a37145e525dd44f5751a0 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/bf776a95a76774816c5a2e1aa6b8165b5ba5a959 | sparc64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6e41fcd6cebe8f38c27e74ba98370292cec7d3c2 | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/0166e0b7dd2e4c18fe96818f802728dd274de975 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1af379393364ee0836de2bdd72cd00df3d44dc3b | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/0770d7c270d3c91eb1143c8358882c9e616d2236 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/eb70526166b0455815be7e5c0db3d76be5b75a2e | sh4 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3f4b1abe3b2e1cdf4ac99131eeb5d7a2cfbb83ae | powerpc64le | pamtester-0.1.2 | NOK | http://autobuild.buildroot.net/results/c000aff659da024b6eef42bca824bdea7b5541c2 | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/136448f6dd714d946290515598a90c2687fcb5ea | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/e3017606f60c841f6eb68f4094505b464c28049f | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/34f72326659abd11474bb554de5921357301591c | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/58ef5dc4373a8882ba778fb2ec78e702f92637e7 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/f47d45ba33cf62641d348e6b0b9aae92d1193d16 | ORPH or1k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/144b075bd090ac3ae71061a7146191447bb1ef0d | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/ac2998e3403aad6fbc952a2c91160f346f65ca64 | ORPH powerpc64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/f1edbb0ce9a91ada75b7005c95d15a9f70624d7e | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/2672fa7db2e865086e72b4f1bbd131f989bac203 | ORPH aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/780128187de00194499c628e41f3aceec095d7cc | ORPH m68k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/3c3a0cbf3697e14024f3b5c034611546d37e089c | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/0b8e57948d3c07df18627505b6ce1b9f81de7a32 | ORPH m68k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/227db0a5d33f92ab55bcb8817a4f987fda4abe69 | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/9b2adb14e0125e034bd2dce68f7090a5a7e90345 | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/cefd4d91e31480f2c5a883ea6fe1a80f92e52b88 | ORPH sparc64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/ed1adcfa0805c648b5e3f88fea53df5825f12f97 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/7ceaaa57770879bebf6a2d99dfa60f1ba569e101 | ORPH riscv64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/b4a5c069271a604b61aea40d1f632f0419d36b59 | ORPH sparc64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/3fe2e499aff02ab3519726ae650158ebf8cc5b4e | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/2cadbba3ce3c67f7428435c6688d3e2560965ed0 | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/30363c1fbd2bc9ffc9c434811719c43e92ed84cc | ORPH riscv64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/e949f0b2b3dbd4e2c910449012ea001302be4972 | ORPH powerpc64le | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/f6bb4f2cfecf0202af9ba7c8207e92a5cbd4c658 | ORPH xtensa | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/4a62655f3ab757d2a8ac0e1514bb7b96b0844fcf | ORPH mips64el | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/3ec71e72d38c9ea4094976c94734dfd8319643a0 | ORPH mips64el | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/49293a15e78e3dbddb2b060fad6ac7ebb0f862db | ORPH microblazeel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/8853dfb017a515a9f90c3981e747d5c283cb60ff | ORPH mips | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/d1d0785d073b10900776260e675e665d525d23f6 | ORPH microblazeel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/64878921ce597048256407fb86201a49e5f56750 | ORPH arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/88faf7490b1f30aee3116724fa9ec1e9d0a078f7 | mipsel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/d5a0443d7d6f9af7fdc2dae2789008a1f9edc8eb | microblaze | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/4f94d84966a53e60ec5096897f99af22948bb494 | microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/7dfbb13ea0ac233c543371524691642faddf59a8 | armeb | perl-net-ssleay-1.85 | NOK | http://autobuild.buildroot.net/results/71337cc496727f2b1173c055d706c5bfc2f5d2bc | mips64 | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/06a5233931ef842f910e589d07622b586cd7f852 | microblazeel | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/c3107d61393999b13f94b409857d2cf1edb72191 | xtensa | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/ec2b4deafd9fb01d64f7c9e7b155f09cdba8f541 | sparc | poco-1.11.1 | NOK | http://autobuild.buildroot.net/results/21a3bf006150086b898bfe0f31e365df2053ca74 | mips | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/dd745f43315c4583edbe0e4503fc62831e12a674 | mips64el | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/a0ba38970ddfaeb340f241e55f07fecc75542552 | powerpc64le | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/9926fc231b39cc9bca0433db097c402b610ba5ba | riscv32 | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/f643ce2e08bb5ea0e950870c270f55d0aff02131 | mipsel | python-cryptography-36.0.1 | NOK | http://autobuild.buildroot.net/results/37201da0e99923c82563ecf0f2ee39737031fd79 | s390x | python-zopfli-0.2.1 | NOK | http://autobuild.buildroot.net/results/d0e78baacea179bb05cae53f76f0a7b83b9f4493 | sparc64 | python-zopfli-0.2.1 | NOK | http://autobuild.buildroot.net/results/c7d1d2dff1efe50d6bf64e67e4f1bdee6f6789a7 | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3add10bc3e6b50f61bec74969b7dbbcf049a5884 | sparc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3ed166f7a301bce421fee1c577816908b6ded322 | powerpc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/641723419fac3a0cf67ef018b904969d832175d8 | mips | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d1f60b3034e486e7a37fe789714f6aff809cba4f | microblaze | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/56f75e8d8af22c6194ff0d90786373d2417d344f | mipsel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/7cd937c054ea6905e82a3ab22a21a0ace9cc4b35 | sh4aeb | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/9568529c2dc301681e8d070e8aafe64eb27c12d8 | i686 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/2384a753c95c812ad524f6e49791ebca3e99b74f | powerpc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3054e13810c59f913cab88b610adc62aaaf16615 | sparc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/6375e1efdb60cc65b46eee6ffed2099e69506bca | powerpc64le | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/b32d48853015e67c1754253b9af4df4e787d4e6d | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/c96bc6a8ea651dfb1955c05b756ee16abfd6ed68 | microblaze | rauc-1.6 | NOK | http://autobuild.buildroot.net/results/1f37bdf72dc35e99178932b39a1d07812039672f | x86_64 | refpolicy | NOK | http://autobuild.buildroot.net/results/fa3db33eda7e71991c1fb07544b14a31392ef2ad | sparc | refpolicy | NOK | http://autobuild.buildroot.net/results/49d33cdca0e0f845b5c5a269bdda813f70c48c91 | xtensa | refpolicy | NOK | http://autobuild.buildroot.net/results/34abb5688984e70791e6e51c36c9cd9a2caf2f7f | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/848591927338b1268d438fdb1af5149cb06f250d | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/30502ccce6c7e78abc562215044cf65a41c70793 | arm | suricata-6.0.4 | NOK | http://autobuild.buildroot.net/results/5e888afb6027bb488cf1aa2bdf8a0c1b25f8ec59 | arm | tbb-2021.5.0 | NOK | http://autobuild.buildroot.net/results/0b2671ef1de3a06b70686c1f0923aca256894d37 | microblazeel | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/e0a77cef46940fe9540548bd729501d3e11fa04f | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/3b199ef7f4e217401986e62d69362d03d743a633 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/bdc860c65c35a5145e7d85082cbc77d9ccc5fca2 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/9a90f599a59859f4a35a02aeff2ab919c704e6e9 | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c31a668b16b607080350f432f83c55c1c275e6ee | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c82127b787c66cc4e0321e9e55e771e401937835 | riscv32 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/36683c918a4810b3b8cdb83f784917054823793a | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c3025f21906f530a2d0f2a15cecdc99ef2d0af20 | armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/eb3c70a75e74d755f9cf390454cd89ae77a6e34c | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d43ddb97ea8bd89318b4d98eb41604ddb7f8f7bd | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/05677cfdf5bd12789844ad5e5d6c799d46b0a4b1 | ORPH aarch64_be | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/7da40dc7b1e2c3690e061f24d2122ee380698a28 | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d85f10e9bdb2249474bfea0f8840ea6e3ea0856a | ORPH aarch64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/c8acecf3bb3b43cfdffdbe7d2ddfe07098c6f0da | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/3aecf45c5dc6fbd8e19a6d471cb6e17d3ee5b0ef | ORPH i586 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/bd03060fb4c706ad86b6a9d51906a081438d1b41 | ORPH i586 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/9e1efc4240c8c18751ec3532fee3d9100fba478f | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/be71e57e9a9fe9f8fd2b6c292bf5bfe555402e86 | ORPH mipsel | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/7e86685c73e4ed7f629e058cfe4358e3b4fafb1d | ORPH mips64 | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/dd23cb90679aed5b0590f74181a23978cbac6a06 | ORPH microblazeel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/38cd95ae8f2fbf844d9ac7889c7d220844e6076c | microblaze | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/9433266645da8bc2d67c2c6c6d06082bef6fbe92 | powerpc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/8d492fe283ad639fa5fbb8c0045f67f432bb3d70 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a228c25671c8cbc588e44266f874dc6793acbf7c | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6f2c6545a958bcebaa5385a35770130e0f25e0ee | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a3a58c7798245bd5bec9b0e6fcfe22d98dc8a88f | arm | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/014a068e7d54d0843cf49fe213a7b0d3d1caaa3e | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/45be9a1bab42cb5048fe66e78366c09f882fba82 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/034c114fcddb64bd7d078dd1645177d2e82df984 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/e3ee376da38e6a3ddccfc9e12168579da3a3571a | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bdb793c48bff2bb17c4fcb80ef3b705a91701b6c | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c45d7d32e81ac36da358ffbfa93479957af7ea8b | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/aeeb2db9711e8aa1fb39f015f31f547c6e1ce11f | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f772740354606a2b6405f1b445efa41a7bc72970 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b1c9e1d6a9a5be7511a9f50a5b38c5c96f685037 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/01c7e86e25819a340a33f250b47fe031dd16337f | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/2445a8fcecb257e6849c472e93a3efac29368d67 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/674da45163a78d5492607a12601252218f69f963 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/76152a44711d21763f2e62e10aac35bfd13559bd | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/8986b0d8fbe5523ed6f6d2729ee6656af0336eb1 | sparc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/4e83404d7f1cbf72362db79a317dc0a0ae2ae6d1 | nios2 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/65861b4e8aa14385b987eec201c3b0918af288d9 | arm | unknown | NOK | http://autobuild.buildroot.net/results/ff2fb762142b13bfe22c4d591f50d8b9b9a643f9 | arm | unknown | NOK | http://autobuild.buildroot.net/results/9993194d8b493883b1920ee51176b12a92484c95 | arm | unknown | NOK | http://autobuild.buildroot.net/results/fd28dc94bae78f50d2eaf8f8ddb9722ad6542dcc | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/eac66f374439e66e899a05e88092d454b1de7c72 | or1k | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/2439836e8a753df0e83c347bc2d9fb89dc9f3872 | sparc64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/e8ea4e3510e11df4ca55c8abfd4447a2f66c6d2a | i686 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/535b35dcb2641ee977104f66f5b41f1b72484028 | powerpc64le | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/b86d8aa7fc3dca792f26143c6b336e998ce9d120 | x86_64 | wtfutil-0.41.0 | NOK | http://autobuild.buildroot.net/results/937a12b35bcdd5b93f2e9a599ea4dd5126268880 | powerpc64le | xenomai | NOK | http://autobuild.buildroot.net/results/5a702a08472aac89cde44eb0c6940d78ea7f99d7 | sparc64 | xenomai | NOK | http://autobuild.buildroot.net/results/0ccd15c355981d7eca8244e224d4a54f26bcd949 | sparc64 | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/3cf453f7b238962d20513125ba8323470f6729e9 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/814924c5f9d9fd83ba3afda11d3969e21129b727 | i586 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1887cfc896fa9d58598ecb7d4c93582a47ba328f | sh4 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/73d1bf03e010a550eed0169032fd6e6ad1ada219 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/8ac3f7fbaa4d4d4d2f2d6f410e17fbbd9f0176ce | mips64el | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/49a9b9b27ab59a5d23f1a6235291dae4c329f235 | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ac092a43d57ebf70c8981956fced973b4cf3386b | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/bec52df4be1358dc8072a61379ccebce43801e9d | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/5ff3f6309ae215c7ede91b1ccb11a2401c8c02ec | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/7dfc8e3d6d140c529a196e220c3b0d4592b7faea | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b10e411457feb2af89c0171a51a00f0593c0f2fe | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/3f456b564271de6205d28d0de86d5ccf44d7b3f8 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a5c6cd7b0061753c74a089dad72dd11346a9450f | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/fdd8862c434660a5fa7ac5dc01a189e9e55d85b3 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/8913388adbdf86dbadda9a0ea0cf0cfb40bbd271 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/806f943afb0f439243edd4bd279a06045cbd71d8 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/48cb6a8fd28b78a07d57d08d5164ac68098a381a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/936f445f1bffd3650d5df048344b6054facb19dc | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/40800405910995e638450cdce89719926326c60c | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/017aefe7b71d7152b8907831373785a0d2fe8bfa | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 2 host-harfbuzz-3.3.2 | 1 host-pahole-v1.23 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 tinifier-3.4.0 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- sparc64 | host-harfbuzz-3.3.2 | NOK | http://autobuild.buildroot.net/results/186ba7c1355f81fbf1dd76a6abbe5c350e2f4aae | arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/53e08d0dd589714be0b6eeeb52992d47563d5135 | x86_64 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/8beda6c3282d157a425865f694881413ca2132ad | aarch64 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/55e6dde45e14d43976ba24ac5c1a40392c194150 | aarch64 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/a40448db1f856019723d5792ea1413158e457f33 | arc | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/f0671ac127a37042fdcdfb3713c22586b9c7e895 | Packages having a newer version =============================== name | found by | link to release-monitoring.org | version | upstream | orph? -------------------------------+----------+----------------------------------------------+--------------+--------------+------- acpica | DISTRO | https://release-monitoring.org/project/00018 | 20200717 | 20220331 | adwaita-icon-theme | DISTRO | https://release-monitoring.org/project/13117 | 3.37.2 | 42.0 | agentpp | DISTRO | https://release-monitoring.org/project/21316 | 4.5.3 | 4.5.4 | alsa-lib | DISTRO | https://release-monitoring.org/project/00038 | 1.2.6 | 1.2.6.1 | android-tools | GUESS | https://release-monitoring.org/project/13989 | 4.2.2+git... | 12.1.0_r4 | angularjs | DISTRO | https://release-monitoring.org/project/21321 | 1.8.2 | 1.8.3 | armadillo | DISTRO | https://release-monitoring.org/project/07006 | 9.900.2 | 11.0.1 | assimp | DISTRO | https://release-monitoring.org/project/06988 | 5.2.1 | 5.2.3 | asterisk | DISTRO | https://release-monitoring.org/project/09838 | 16.25.2 | 19.3.2 | at-spi2-atk | DISTRO | https://release-monitoring.org/project/07840 | 2.34.2 | 2.38.0 | at-spi2-core | DISTRO | https://release-monitoring.org/project/07841 | 2.36.0 | 2.44.1 | audit | DISTRO | https://release-monitoring.org/project/15225 | 3.0.7 | 3.0.8 | autoconf-archive | DISTRO | https://release-monitoring.org/project/00142 | 2021.02.19 | 2022.02.11 | azure-iot-sdk-c | DISTRO | https://release-monitoring.org/project/21322 | LTS_01_20... | 3033-01-05 | babeld | DISTRO | https://release-monitoring.org/project/00154 | 1.9.2 | 1.11 | ORPH balena-engine | DISTRO | https://release-monitoring.org/project/141616 | 20.10.12 | 20.10.16 | ORPH bat | DISTRO | https://release-monitoring.org/project/241901 | 0.19.0 | 0.20.0 | batctl | DISTRO | https://release-monitoring.org/project/14740 | 2021.0 | 2022.0 | batman-adv | DISTRO | https://release-monitoring.org/project/19529 | 2021.4 | 2022.0 | bats-core | DISTRO | https://release-monitoring.org/project/10587 | 1.4.1 | 1.6.0 | bcg729 | DISTRO | https://release-monitoring.org/project/14743 | 1.0.4 | 1.1.1 | bctoolbox | DISTRO | https://release-monitoring.org/project/14746 | 4.4.8 | 5.1.17 | ORPH bdwgc | DISTRO | https://release-monitoring.org/project/17108 | 8.0.6 | 8.2.0 | belle-sip | DISTRO | https://release-monitoring.org/project/14378 | 4.4.8 | 5.1.12 | belr | DISTRO | https://release-monitoring.org/project/80042 | 4.4.8 | 5.1.12 | berkeleydb | GUESS | https://release-monitoring.org/project/138386 | 5.3.28 | 18.1.5 | ORPH bind | DISTRO | https://release-monitoring.org/project/14923 | 9.16.27 | 9.18.2 | ORPH binutils | DISTRO | https://release-monitoring.org/project/07981 | 2.37 | 2.38 | bird | DISTRO | https://release-monitoring.org/project/00192 | 2.0.8 | 2.0.9 | bitcoin | DISTRO | https://release-monitoring.org/project/13618 | 0.21.2 | 22.0 | bonnie | DISTRO | https://release-monitoring.org/project/00212 | 1.03e | 2.00a | ORPH boost | DISTRO | https://release-monitoring.org/project/06845 | 1.78.0 | 1.79.0 | bootstrap | DISTRO | https://release-monitoring.org/project/21578 | 4.3.1 | 5.1.3 | bullet | DISTRO | https://release-monitoring.org/project/07669 | 3.21 | 3.22b | c-icap | DISTRO | https://release-monitoring.org/project/21325 | 0.5.7 | 0.5.9 | ORPH c-icap-modules | DISTRO | https://release-monitoring.org/project/21326 | 0.5.4 | 0.5.5 | ORPH cairo | DISTRO | https://release-monitoring.org/project/00247 | 1.16.0 | 1.17.6 | cantarell | DISTRO | https://release-monitoring.org/project/10888 | 0.0.25 | 0.303.1 | ORPH ccache | DISTRO | https://release-monitoring.org/project/00257 | 3.7.12 | 4.6 | ORPH ccid | DISTRO | https://release-monitoring.org/project/02612 | 1.4.34 | 1.5.0 | ORPH cereal | DISTRO | https://release-monitoring.org/project/11606 | 1.3.1 | 1.3.2 | chartjs | DISTRO | https://release-monitoring.org/project/85785 | 2.9.4 | 3.7.1 | checkpolicy | DISTRO | https://release-monitoring.org/project/00276 | 3.3 | 20200710 | cifs-utils | DISTRO | https://release-monitoring.org/project/00287 | 6.13 | 6.14 | circus | DISTRO | https://release-monitoring.org/project/21726 | 0.16.1 | 0.17.1 | clamav | DISTRO | https://release-monitoring.org/project/00291 | 0.103.5 | 0.104.2 | clang | DISTRO | https://release-monitoring.org/project/11811 | 9.0.1 | 14.0.1 | cmake | DISTRO | https://release-monitoring.org/project/00306 | 3.18.6 | 3.23.1 | cog | DISTRO | https://release-monitoring.org/project/21333 | 0.12.4 | 0.13.3 | collectl | DISTRO | https://release-monitoring.org/project/00330 | 4.3.2 | 4.3.3 | cups-filters | DISTRO | https://release-monitoring.org/project/05541 | 1.28.12 | 1.28.15 | cutelyst | DISTRO | https://release-monitoring.org/project/21335 | 2.11.0 | 3.4.0 | dacapo | DISTRO | https://release-monitoring.org/project/20546 | 9.12-MR1-... | 9.12-vbump | daq3 | DISTRO | https://release-monitoring.org/project/212345 | 3.0.5 | 3.0.6 | datatables | DISTRO | https://release-monitoring.org/project/141588 | 1.10.20 | 1.11.5 | datatables-buttons | DISTRO | https://release-monitoring.org/project/141589 | 1.6.1 | 2.2.2 | datatables-fixedcolumns | DISTRO | https://release-monitoring.org/project/141590 | 3.3.0 | 4.0.2 | datatables-responsive | DISTRO | https://release-monitoring.org/project/141591 | 2.2.3 | 2.2.9 | dbus | DISTRO | https://release-monitoring.org/project/05356 | 1.12.22 | 1.14.0 | ORPH dc3dd | DISTRO | https://release-monitoring.org/project/15086 | 7.2.641 | 7.2.646 | ORPH debianutils | DISTRO | https://release-monitoring.org/project/21341 | 4.11 | 5.7 | ORPH delve | DISTRO | https://release-monitoring.org/project/40149 | 1.8.0 | 1.8.2 | dialog | DISTRO | https://release-monitoring.org/project/00431 | 1.3-20220117 | 1.3-20220414 | ORPH ding-libs | DISTRO | https://release-monitoring.org/project/13710 | 0.6.1 | 0.6.2 | docker-compose | DISTRO | https://release-monitoring.org/project/06185 | 1.24.1 | 2.4.1 | drbd-utils | DISTRO | https://release-monitoring.org/project/00462 | 9.19.0 | 9.20.2 | dropwatch | DISTRO | https://release-monitoring.org/project/21344 | 1.5.3 | 1.5.4 | dt | DISTRO | https://release-monitoring.org/project/21844 | 18.32 | 21.27 | ORPH earlyoom | DISTRO | https://release-monitoring.org/project/17392 | 1.6.2 | 1.7 | edk2 | DISTRO | https://release-monitoring.org/project/125953 | edk2-stab... | 202202 | efivar | DISTRO | https://release-monitoring.org/project/00664 | 37 | 38 | efl | DISTRO | https://release-monitoring.org/project/06128 | 1.26.1 | 1.26.2 | eigen | DISTRO | https://release-monitoring.org/project/00666 | 3.3.7 | 3.4.0 | ejabberd | DISTRO | https://release-monitoring.org/project/00667 | 20.07 | 21.12 | elixir | DISTRO | https://release-monitoring.org/project/00673 | 1.9.4 | 1.13.4 | ell | DISTRO | https://release-monitoring.org/project/17781 | 0.49 | 0.50 | enlightenment | DISTRO | https://release-monitoring.org/project/00698 | 0.25.1 | 0.25.3 | erlang | DISTRO | https://release-monitoring.org/project/00707 | 22.3.4.22 | 24.3.3 | erlang-eimp | DISTRO | https://release-monitoring.org/project/17060 | 1.0.17 | 1.0.21 | erlang-goldrush | DISTRO | https://release-monitoring.org/project/09692 | 0.1.9 | 0.2.0 | erlang-idna | DISTRO | https://release-monitoring.org/project/45374 | 6.0.0 | 6.1.1 | erlang-jose | DISTRO | https://release-monitoring.org/project/16913 | 1.9.0 | 1.11.2 | erlang-lager | DISTRO | https://release-monitoring.org/project/00727 | 3.6.10 | 3.9.2 | erlang-p1-acme | DISTRO | https://release-monitoring.org/project/45375 | 1.0.9 | 1.0.18 | erlang-p1-cache-tab | DISTRO | https://release-monitoring.org/project/08757 | 1.0.25 | 1.0.29 | erlang-p1-mqtree | DISTRO | https://release-monitoring.org/project/20220 | 1.0.10 | 1.0.14 | erlang-p1-oauth2 | DISTRO | https://release-monitoring.org/project/09302 | 0.6.7 | 0.8.0 | erlang-p1-pkix | DISTRO | https://release-monitoring.org/project/20539 | 1.0.6 | 1.0.8 | erlang-p1-sip | DISTRO | https://release-monitoring.org/project/10576 | 1.0.38 | 1.0.45 | erlang-p1-stringprep | DISTRO | https://release-monitoring.org/project/09222 | 1.0.23 | 1.0.27 | erlang-p1-stun | DISTRO | https://release-monitoring.org/project/09151 | 1.0.39 | 1.2.0 | erlang-p1-tls | DISTRO | https://release-monitoring.org/project/10455 | 1.1.9 | 1.1.13 | erlang-p1-utils | DISTRO | https://release-monitoring.org/project/08643 | 1.0.20 | 1.0.24 | erlang-p1-xml | DISTRO | https://release-monitoring.org/project/10464 | 1.1.44 | 1.1.48 | erlang-p1-xmpp | DISTRO | https://release-monitoring.org/project/12752 | 1.4.10 | 1.5.6 | erlang-p1-yaml | DISTRO | https://release-monitoring.org/project/10243 | 1.0.28 | 1.0.32 | erlang-p1-yconf | DISTRO | https://release-monitoring.org/project/45378 | 1.0.8 | 1.0.12 | erlang-p1-zlib | DISTRO | https://release-monitoring.org/project/09283 | 1.0.9 | 1.0.10 | ethtool | DISTRO | https://release-monitoring.org/project/00763 | 5.15 | 5.17 | execline | DISTRO | https://release-monitoring.org/project/05482 | 2.8.0.1 | 2.8.3.0 | expat | DISTRO | https://release-monitoring.org/project/00770 | 2.4.7 | 2.4.8 | fakeroot | DISTRO | https://release-monitoring.org/project/12048 | 1.26 | 1.28 | ORPH feh | DISTRO | https://release-monitoring.org/project/00790 | 3.7.1 | 3.8 | ffmpeg | DISTRO | https://release-monitoring.org/project/05405 | 4.4.1 | 5.0.1 | fftw-double | DISTRO | https://release-monitoring.org/project/00803 | 3.3.8 | 3.3.10 | ORPH fftw-long-double | DISTRO | https://release-monitoring.org/project/00803 | 3.3.8 | 3.3.10 | ORPH fftw-quad | DISTRO | https://release-monitoring.org/project/00803 | 3.3.8 | 3.3.10 | ORPH fftw-single | DISTRO | https://release-monitoring.org/project/00803 | 3.3.8 | 3.3.10 | ORPH fio | DISTRO | https://release-monitoring.org/project/00806 | 3.28 | 3.30 | flannel | DISTRO | https://release-monitoring.org/project/07421 | 0.14.0 | 0.17.0 | flare-engine | DISTRO | https://release-monitoring.org/project/21433 | 1.12 | 1.13.04 | flare-game | DISTRO | https://release-monitoring.org/project/21434 | 1.12 | 1.13.04 | flot | DISTRO | https://release-monitoring.org/project/07184 | 0.8.3 | 4.2.2 | ORPH fltk | DISTRO | https://release-monitoring.org/project/00823 | 1.3.7 | 1.3.8 | ORPH fmc | GUESS | https://release-monitoring.org/project/145761 | fsl-sdk-v2.0 | 0.2.0 | font-awesome | DISTRO | https://release-monitoring.org/project/00826 | 4.7.0 | 6.1.1 | ORPH fontconfig | DISTRO | https://release-monitoring.org/project/00827 | 2.13.1 | 2.14.0 | ORPH frotz | DISTRO | https://release-monitoring.org/project/36391 | 2.53 | 2.54 | fuse-overlayfs | DISTRO | https://release-monitoring.org/project/101220 | 1.5.0 | 1.8.2 | fwts | DISTRO | https://release-monitoring.org/project/17383 | 21.11.00 | 22.03.00 | gauche | DISTRO | https://release-monitoring.org/project/00873 | 0.9.9 | 0.9.11 | gcr | DISTRO | https://release-monitoring.org/project/11801 | 3.40.0 | 3.41.0 | ORPH gdbm | DISTRO | https://release-monitoring.org/project/00882 | 1.22 | 1.23 | ORPH gdk-pixbuf | DISTRO | https://release-monitoring.org/project/09533 | 2.42.4 | 2.42.8 | ORPH gensio | DISTRO | https://release-monitoring.org/project/67634 | 2.2.9 | 2.4.0 | gettext-gnu | DISTRO | https://release-monitoring.org/project/00898 | 0.20.1 | 0.21 | ORPH ghostscript | DISTRO | https://release-monitoring.org/project/01157 | 9.55.0 | 9.56.1 | git | DISTRO | https://release-monitoring.org/project/05350 | 2.31.2 | 2.36.0 | git-crypt | DISTRO | https://release-monitoring.org/project/17093 | 0.6.0 | 0.7.0 | ORPH glib-networking | DISTRO | https://release-monitoring.org/project/21353 | 2.70.1 | 2.72.0 | ORPH glibmm | DISTRO | https://release-monitoring.org/project/07960 | 2.68.2 | 2.72.0 | glm | DISTRO | https://release-monitoring.org/project/01181 | 0.9.9.5 | 0.9.9.8 | ORPH glog | DISTRO | https://release-monitoring.org/project/08732 | 0.5.0 | 0.6.0 | gnu-efi | DISTRO | https://release-monitoring.org/project/01202 | 3.0.10 | 3.0.14 | gnupg2 | DISTRO | https://release-monitoring.org/project/01215 | 2.2.32 | 2.3.5 | ORPH gnuradio | DISTRO | https://release-monitoring.org/project/01217 | 3.8.2.0 | 3.10.2.0 | gobject-introspection | DISTRO | https://release-monitoring.org/project/01223 | 1.70.0 | 1.72.0 | ORPH gptfdisk | DISTRO | https://release-monitoring.org/project/00885 | 1.0.8 | 1.0.9 | gqrx | DISTRO | https://release-monitoring.org/project/09771 | 2.14.4 | 2.15.9 | granite | DISTRO | https://release-monitoring.org/project/05410 | 6.0.0 | 6.2.0 | ORPH graphicsmagick | DISTRO | https://release-monitoring.org/project/01248 | 1.3.37 | 1.3.38 | grpc | DISTRO | https://release-monitoring.org/project/19117 | 1.44.0 | 1.45.2 | grub2 | DISTRO | https://release-monitoring.org/project/01257 | 2.04 | 2.06 | gsettings-desktop-schemas | DISTRO | https://release-monitoring.org/project/13139 | 3.36.1 | 42.0 | ORPH gsl | DISTRO | https://release-monitoring.org/project/01267 | 2.6 | 2.7.1 | ORPH gssdp | DISTRO | https://release-monitoring.org/project/01262 | 1.4.0.1 | 1.5.0 | gst1-imx | DISTRO | https://release-monitoring.org/project/21846 | 0.13.1 | 2.0.0 | gtkmm3 | DISTRO | https://release-monitoring.org/project/07963 | 3.22.0 | 4.6.1 | gtksourceview | DISTRO | https://release-monitoring.org/project/07724 | 3.24.7 | 5.4.1 | gupnp | DISTRO | https://release-monitoring.org/project/01281 | 1.4.3 | 1.5.0 | gutenprint | DISTRO | https://release-monitoring.org/project/01285 | 5.2.14 | 5.3.4 | ORPH gvfs | DISTRO | https://release-monitoring.org/project/05496 | 1.48.1 | 1.50.1 | ORPH hackrf | DISTRO | https://release-monitoring.org/project/06136 | 2018.01.1 | 2021.03.1 | ORPH haproxy | DISTRO | https://release-monitoring.org/project/01298 | 2.4.15 | 2.5.5 | harfbuzz | DISTRO | https://release-monitoring.org/project/01299 | 4.2.0 | 4.2.1 | haveged | DISTRO | https://release-monitoring.org/project/11695 | 1.9.15 | 1.9.18 | hidapi | DISTRO | https://release-monitoring.org/project/05594 | 0.11.0 | 0.11.2 | ORPH hplip | DISTRO | https://release-monitoring.org/project/01327 | 3.17.10 | 3.22.2 | ORPH htpdate | DISTRO | https://release-monitoring.org/project/132187 | 1.3.3 | 1.3.4 | hwdata | DISTRO | https://release-monitoring.org/project/05387 | 0.355 | 0.358 | ORPH hwloc | DISTRO | https://release-monitoring.org/project/13501 | 2.7.0 | 2.7.1 | i2pd | DISTRO | https://release-monitoring.org/project/21355 | 2.40.0 | 2.41.0 | icu | DISTRO | https://release-monitoring.org/project/16134 | 70-1 | 71-1 | ORPH ifenslave | DISTRO | https://release-monitoring.org/project/21670 | 2.9 | 2.13 | ORPH ifupdown | DISTRO | https://release-monitoring.org/project/21673 | 0.8.16 | 0.8.37 | ORPH imagemagick | DISTRO | https://release-monitoring.org/project/01372 | 7.1.0-19 | 7.1.0-31 | ORPH imlib2 | DISTRO | https://release-monitoring.org/project/21676 | 1.7.3 | 1.9.0 | inih | DISTRO | https://release-monitoring.org/project/11600 | 53 | 55 | inotify-tools | DISTRO | https://release-monitoring.org/project/08864 | 3.20.2.2 | 3.22.1.0 | ORPH intel-microcode | DISTRO | https://release-monitoring.org/project/20614 | 20210608 | 20220419 | ORPH iperf | DISTRO | https://release-monitoring.org/project/01388 | 2.1.6 | 2.1.7 | iperf3 | DISTRO | https://release-monitoring.org/project/01389 | 3.10.1 | 3.11 | irrlicht | DISTRO | https://release-monitoring.org/project/01403 | 1.8.4 | 1.8.5 | isl | DISTRO | https://release-monitoring.org/project/13286 | 0.23 | 0.24 | ORPH iwd | DISTRO | https://release-monitoring.org/project/18380 | 1.25 | 1.27 | jack2 | DISTRO | https://release-monitoring.org/project/21358 | 1.9.20 | 1.9.21 | janus-gateway | DISTRO | https://release-monitoring.org/project/15715 | 0.11.6 | 1.0.0 | jasper | DISTRO | https://release-monitoring.org/project/01421 | 2.0.33 | 3.0.3 | jitterentropy-library | DISTRO | https://release-monitoring.org/project/29701 | 3.3.1 | 3.4.0 | jquery-datetimepicker | DISTRO | https://release-monitoring.org/project/13910 | 2.4.5 | 2.5.20 | jquery-keyboard | DISTRO | https://release-monitoring.org/project/21681 | 1.18.12 | 1.30.4 | ORPH jquery-mobile | DISTRO | https://release-monitoring.org/project/59395 | 1.4.3 | 1.4.5 | ORPH jquery-ui | DISTRO | https://release-monitoring.org/project/21815 | 1.10.4 | 1.13.1 | jquery-ui-themes | DISTRO | https://release-monitoring.org/project/21816 | 1.10.4 | 1.13.1 | json-c | DISTRO | https://release-monitoring.org/project/01477 | 0.15 | 0.16 | jszip | DISTRO | https://release-monitoring.org/project/141558 | 3.2.2 | 3.9.1 | kexec | DISTRO | https://release-monitoring.org/project/12689 | 2.0.23 | 2.0.24 | ORPH kf5-extra-cmake-modules | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.93.0 | kf5-kcoreaddons | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.93.0 | kf5-modemmanager-qt | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.93.0 | kf5-networkmanager-qt | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.93.0 | kodi-audiodecoder-modplug | DISTRO | https://release-monitoring.org/project/21818 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-audiodecoder-nosefart | DISTRO | https://release-monitoring.org/project/21819 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-audiodecoder-sidplay | DISTRO | https://release-monitoring.org/project/21820 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-audiodecoder-snesapu | DISTRO | https://release-monitoring.org/project/21802 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-audiodecoder-stsound | DISTRO | https://release-monitoring.org/project/21801 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-audiodecoder-timidity | DISTRO | https://release-monitoring.org/project/21800 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-audiodecoder-vgmstream | DISTRO | https://release-monitoring.org/project/21799 | 19.0.0-Ma... | 20.2.0-Nexus | kodi-audioencoder-flac | DISTRO | https://release-monitoring.org/project/17755 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-audioencoder-lame | DISTRO | https://release-monitoring.org/project/21798 | 19.1.2-Ma... | 20.3.0-Nexus | kodi-audioencoder-vorbis | DISTRO | https://release-monitoring.org/project/21797 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-audioencoder-wav | DISTRO | https://release-monitoring.org/project/21796 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-inputstream-adaptive | DISTRO | https://release-monitoring.org/project/21795 | 19.0.3-Ma... | 20.1.2-Nexus | kodi-inputstream-ffmpegdirect | DISTRO | https://release-monitoring.org/project/177174 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-inputstream-rtmp | DISTRO | https://release-monitoring.org/project/21794 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-peripheral-joystick | DISTRO | https://release-monitoring.org/project/21793 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-peripheral-xarcade | DISTRO | https://release-monitoring.org/project/21791 | 19.0.1-Ma... | 20.1.1-Nexus | kodi-pvr-argustv | DISTRO | https://release-monitoring.org/project/21788 | 19.2.1-Ma... | 20.4.1-Nexus | kodi-pvr-dvblink | DISTRO | https://release-monitoring.org/project/21787 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-pvr-dvbviewer | DISTRO | https://release-monitoring.org/project/21786 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-pvr-filmon | DISTRO | https://release-monitoring.org/project/21785 | 19.0.1-Ma... | 20.2.1-Nexus | kodi-pvr-hdhomerun | DISTRO | https://release-monitoring.org/project/21784 | 19.1.0-Ma... | 20.3.0-Nexus | kodi-pvr-hts | DISTRO | https://release-monitoring.org/project/21783 | 19.0.6-Ma... | 20.2.2-Nexus | kodi-pvr-iptvsimple | DISTRO | https://release-monitoring.org/project/21782 | 19.1.0-Ma... | 20.3.0-Nexus | kodi-pvr-mediaportal-tvserver | DISTRO | https://release-monitoring.org/project/21781 | 19.0.2-Ma... | 20.2.0-Nexus | kodi-pvr-mythtv | DISTRO | https://release-monitoring.org/project/21780 | 19.0.8-Ma... | 20.2.5-Nexus | kodi-pvr-nextpvr | DISTRO | https://release-monitoring.org/project/21779 | 19.0.3-Ma... | 20.2.3-Nexus | kodi-pvr-njoy | DISTRO | https://release-monitoring.org/project/21778 | 19.0.1-Ma... | 20.2.0-Nexus | kodi-pvr-octonet | DISTRO | https://release-monitoring.org/project/100437 | 19.0.0-Ma... | 20.2.0-Nexus | kodi-pvr-pctv | DISTRO | https://release-monitoring.org/project/21777 | 19.0.1-Ma... | 20.3.0-Nexus | kodi-pvr-plutotv | DISTRO | https://release-monitoring.org/project/241527 | 19.0.3-Ma... | 20.1.0-Nexus | kodi-pvr-stalker | DISTRO | https://release-monitoring.org/project/21776 | 19.0.2-Ma... | 20.2.1-Nexus | kodi-pvr-vbox | DISTRO | https://release-monitoring.org/project/21775 | 19.0.0-Ma... | 20.2.0-Nexus | kodi-pvr-vdr-vnsi | DISTRO | https://release-monitoring.org/project/21774 | 19.0.3-Ma... | 20.2.2-Nexus | kodi-pvr-vuplus | DISTRO | https://release-monitoring.org/project/21773 | 19.0.0-Ma... | 20.3.0-Nexus | kodi-pvr-waipu | DISTRO | https://release-monitoring.org/project/241529 | 19.2.1-Ma... | 20.4.2-Nexus | kodi-pvr-wmc | DISTRO | https://release-monitoring.org/project/21772 | 19.0.2-Ma... | 20.2.1-Nexus | kodi-pvr-zattoo | DISTRO | https://release-monitoring.org/project/100438 | 19.7.13-M... | 20.2.1-Nexus | kodi-screensaver-asteroids | DISTRO | https://release-monitoring.org/project/21771 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-asterwave | DISTRO | https://release-monitoring.org/project/21770 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-biogenesis | DISTRO | https://release-monitoring.org/project/21768 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-cpblobs | DISTRO | https://release-monitoring.org/project/21767 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-greynetic | DISTRO | https://release-monitoring.org/project/21765 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-matrixtrails | DISTRO | https://release-monitoring.org/project/21764 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-pingpong | DISTRO | https://release-monitoring.org/project/21763 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-pyro | DISTRO | https://release-monitoring.org/project/21761 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-screensaver-rsxs | DISTRO | https://release-monitoring.org/project/21760 | 19.0.2-Ma... | 20.1.0-Nexus | kodi-screensaver-stars | DISTRO | https://release-monitoring.org/project/21759 | 19.0.0-Ma... | 20.1.0-Nexus | kodi-vfs-libarchive | DISTRO | https://release-monitoring.org/project/177173 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-vfs-rar | DISTRO | https://release-monitoring.org/project/21900 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-vfs-sftp | DISTRO | https://release-monitoring.org/project/21899 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-fishbmc | DISTRO | https://release-monitoring.org/project/21758 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-goom | DISTRO | https://release-monitoring.org/project/21757 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-matrix | DISTRO | https://release-monitoring.org/project/177172 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-shadertoy | DISTRO | https://release-monitoring.org/project/21756 | 19.1.2-Ma... | 20.2.0-Nexus | kodi-visualisation-spectrum | DISTRO | https://release-monitoring.org/project/21755 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-starburst | DISTRO | https://release-monitoring.org/project/85703 | 19.0.1-Ma... | 20.1.0-Nexus | kodi-visualisation-waveform | DISTRO | https://release-monitoring.org/project/21753 | 19.0.2-Ma... | 20.1.0-Nexus | kvazaar | DISTRO | https://release-monitoring.org/project/12418 | 1.2.0 | 2.1.0 | lapack | DISTRO | https://release-monitoring.org/project/01534 | 3.10.0 | 3.10.1 | lcms2 | DISTRO | https://release-monitoring.org/project/09815 | 2.13 | 2.13.1 | lensfun | DISTRO | https://release-monitoring.org/project/01548 | 0.3.2 | 0.3.95 | libaio | DISTRO | https://release-monitoring.org/project/01557 | 0.3.112 | 0.3.113 | ORPH libao | DISTRO | https://release-monitoring.org/project/07629 | 1.2.0 | 1.2.2 | ORPH libblockdev | DISTRO | https://release-monitoring.org/project/09397 | 2.26 | 2.26-1 | ORPH libbsd | DISTRO | https://release-monitoring.org/project/01567 | 0.11.3 | 0.11.6 | libcap | DISTRO | https://release-monitoring.org/project/01569 | 2.63 | 2.64 | libcgroup | DISTRO | https://release-monitoring.org/project/01575 | 0.42.2 | 2.0.1 | libcodec2 | DISTRO | https://release-monitoring.org/project/14605 | 1.0.1 | 1.03 | libfribidi | DISTRO | https://release-monitoring.org/project/00857 | 1.0.11 | 1.0.12 | libfuse | GUESS | https://release-monitoring.org/project/00861 | 2.9.9 | 3.10.5 | ORPH libgcrypt | DISTRO | https://release-monitoring.org/project/01623 | 1.10.0 | 1.10.1 | ORPH libgdiplus | DISTRO | https://release-monitoring.org/project/06440 | 6.0.5 | 6.1 | libgit2 | DISTRO | https://release-monitoring.org/project/01627 | 1.4.2 | 1.4.3 | libglade | DISTRO | https://release-monitoring.org/project/01174 | 2.6.4 | 3.38.2 | ORPH libglfw | DISTRO | https://release-monitoring.org/project/01180 | 3.3.6 | 3.3.7 | libglib2 | DISTRO | https://release-monitoring.org/project/10024 | 2.70.4 | 2.72.1 | libglvnd | DISTRO | https://release-monitoring.org/project/12098 | 1.3.2 | 1.4.0 | ORPH libgpg-error | DISTRO | https://release-monitoring.org/project/01628 | 1.42 | 1.45 | ORPH libgpgme | DISTRO | https://release-monitoring.org/project/01239 | 1.16.0 | 1.17.1 | ORPH libgphoto2 | DISTRO | https://release-monitoring.org/project/12558 | 2.5.27 | 2.5.29 | ORPH libgtk2 | DISTRO | https://release-monitoring.org/project/13942 | 2.24.33 | 4.6.3 | libgudev | DISTRO | https://release-monitoring.org/project/07735 | 236 | 237 | libhtp | DISTRO | https://release-monitoring.org/project/01632 | 0.5.39 | 0.5.40 | libiberty | DISTRO | https://release-monitoring.org/project/07981 | 2.32 | 2.38 | libical | DISTRO | https://release-monitoring.org/project/01637 | 1.0.1 | 3.0.14 | libiconv | DISTRO | https://release-monitoring.org/project/10656 | 1.15 | 1.16 | ORPH libimxvpuapi | DISTRO | https://release-monitoring.org/project/21479 | 0.10.3 | 2.2.0 | libinput | DISTRO | https://release-monitoring.org/project/05781 | 1.20.0 | 1.20.1 | libite | DISTRO | https://release-monitoring.org/project/17367 | 2.5.1 | 2.5.2 | libkcapi | DISTRO | https://release-monitoring.org/project/16828 | 1.1.5 | 1.4.0 | ORPH libmdbx | DISTRO | https://release-monitoring.org/project/141559 | 0.11.4 | 0.11.6 | libmhash | DISTRO | https://release-monitoring.org/project/21488 | 0.9.9.9 | 1.4 | ORPH libminiupnpc | DISTRO | https://release-monitoring.org/project/01986 | 2.1.20201016 | 2.2.3 | libmnl | DISTRO | https://release-monitoring.org/project/01663 | 1.0.4 | 1.0.5 | ORPH libmspack | DISTRO | https://release-monitoring.org/project/16827 | 0.10.1alpha | 1.9.1 | libnetconf2 | DISTRO | https://release-monitoring.org/project/31639 | 2.0.24 | 2.1.7 | libnfnetlink | DISTRO | https://release-monitoring.org/project/01682 | 1.0.1 | 1.0.2 | ORPH libnfs | DISTRO | https://release-monitoring.org/project/07325 | 4.0.0 | 5.0.1 | ORPH libolm | DISTRO | https://release-monitoring.org/project/29706 | 3.2.9 | 3.2.11 | libopenssl | DISTRO | https://release-monitoring.org/project/02566 | 1.1.1n | 3.0.2 | libosmium | DISTRO | https://release-monitoring.org/project/07023 | 2.17.3 | 2.18.0 | libpagekite | DISTRO | https://release-monitoring.org/project/21366 | 0.91.190530 | 0.91.201110 | libpam-radius-auth | DISTRO | https://release-monitoring.org/project/57834 | 1.4.0 | 2.0.0 | ORPH libpeas | DISTRO | https://release-monitoring.org/project/06871 | 1.30.0 | 1.32.0 | ORPH libpqxx | DISTRO | https://release-monitoring.org/project/21367 | 6.4.5 | 7.7.3 | libpri | DISTRO | https://release-monitoring.org/project/11042 | 1.5.0 | 1.6.0 | libqb | DISTRO | https://release-monitoring.org/project/09399 | 2.0.3 | 2.0.6 | libressl | DISTRO | https://release-monitoring.org/project/12102 | 3.4.3 | 3.5.2 | ORPH librsvg | DISTRO | https://release-monitoring.org/project/05420 | 2.50.7 | 2.54.1 | librtas | DISTRO | https://release-monitoring.org/project/10717 | 2.0.2 | 2.0.3 | ORPH libseccomp | DISTRO | https://release-monitoring.org/project/13823 | 2.5.3 | 2.5.4 | libsemanage | DISTRO | https://release-monitoring.org/project/01718 | 3.3 | 20200710 | libsepol | DISTRO | https://release-monitoring.org/project/01719 | 3.3 | 20200710 | libshout | DISTRO | https://release-monitoring.org/project/11084 | 2.4.5 | 2.4.6 | ORPH libsigc | DISTRO | https://release-monitoring.org/project/07961 | 3.0.7 | 3.2.0 | ORPH libsndfile | DISTRO | https://release-monitoring.org/project/13277 | 1.0.31 | 1.1.0 | libsoup | DISTRO | https://release-monitoring.org/project/11483 | 2.74.0 | 3.0.6 | libtextstyle | DISTRO | https://release-monitoring.org/project/00898 | 0.20.1 | 0.21 | ORPH libtool | DISTRO | https://release-monitoring.org/project/01741 | 2.4.6 | 2.4.7 | ORPH libtorrent-rasterbar | DISTRO | https://release-monitoring.org/project/04166 | 1.2.15 | 2.0.6 | libunwind | DISTRO | https://release-monitoring.org/project/01748 | 1.5.0 | 1.6.2 | ORPH libusb | DISTRO | https://release-monitoring.org/project/01749 | 1.0.25 | 1.0.26 | libuv | DISTRO | https://release-monitoring.org/project/10784 | 1.43.0 | 1.44.1 | libvdpau | DISTRO | https://release-monitoring.org/project/01755 | 1.4 | 1.5 | libvips | DISTRO | https://release-monitoring.org/project/05097 | 8.10.6 | 8.12.2 | libvirt | DISTRO | https://release-monitoring.org/project/224041 | 7.10.0 | 8.2.0 | libxmlrpc | DISTRO | https://release-monitoring.org/project/09024 | r3119 | 1.54.05 | libyang | DISTRO | https://release-monitoring.org/project/18554 | 2.0.112 | 2.0.164 | linphone | DISTRO | https://release-monitoring.org/project/01823 | 4.4.8 | 5.1.24 | ORPH linux-firmware | DISTRO | https://release-monitoring.org/project/141464 | 20220310 | 20220411 | live555 | DISTRO | https://release-monitoring.org/project/12414 | 2021.05.03 | 2022.04.15 | ORPH lld | DISTRO | https://release-monitoring.org/project/01830 | 9.0.1 | 14.0.1 | lldpd | DISTRO | https://release-monitoring.org/project/14019 | 1.0.9 | 1.0.13 | ORPH llvm | DISTRO | https://release-monitoring.org/project/01830 | 9.0.1 | 14.0.1 | logrotate | DISTRO | https://release-monitoring.org/project/10567 | 3.18.0 | 3.19.0 | lpty | DISTRO | https://release-monitoring.org/project/11671 | 1.0.1-1 | 1.2.2 | lrzip | DISTRO | https://release-monitoring.org/project/01842 | 0.641 | 0.651 | ltris | DISTRO | https://release-monitoring.org/project/21503 | 1.2 | 1.2.4 | lttng-babeltrace | DISTRO | https://release-monitoring.org/project/00155 | 1.5.7 | 1.5.8 | lttng-libust | DISTRO | https://release-monitoring.org/project/07135 | 2.13.1 | 2.13.2 | lttng-modules | DISTRO | https://release-monitoring.org/project/07141 | 2.13.1 | 2.13.3 | lttng-tools | DISTRO | https://release-monitoring.org/project/07136 | 2.13.2 | 2.13.7 | lua | DISTRO | https://release-monitoring.org/project/01847 | 5.1.5 | 5.4.4 | lua-resty-http | DISTRO | https://release-monitoring.org/project/13887 | 0.15-0 | 0.16.1 | lvm2 | DISTRO | https://release-monitoring.org/project/05354 | 2.03.14 | 2.03.15 | ORPH lynx | DISTRO | https://release-monitoring.org/project/01863 | 2.8.9rel.1 | 2.9.0 | lzma-alone | DISTRO | https://release-monitoring.org/project/242840 | 9.22 | 2107 | ORPH lzop | DISTRO | https://release-monitoring.org/project/07486 | 1.03 | 1.04 | make | DISTRO | https://release-monitoring.org/project/01877 | 4.2.1 | 4.3 | ORPH makedumpfile | DISTRO | https://release-monitoring.org/project/131396 | 1.7.0 | 1.7.1 | mariadb | DISTRO | https://release-monitoring.org/project/01887 | 10.3.34 | 10.8.2 | ORPH matchbox-keyboard | DISTRO | https://release-monitoring.org/project/230595 | 0.1 | 0.1.1 | matio | DISTRO | https://release-monitoring.org/project/01893 | 1.5.22 | 1.5.23 | mbedtls | DISTRO | https://release-monitoring.org/project/13824 | 2.28.0 | 3.1.0 | mbpfan | DISTRO | https://release-monitoring.org/project/115980 | 2.2.1 | 2.3.0 | mbuffer | DISTRO | https://release-monitoring.org/project/15518 | 20211018 | 20220418 | mcelog | DISTRO | https://release-monitoring.org/project/08093 | 180 | 181 | mdevd | DISTRO | https://release-monitoring.org/project/16553 | 0.1.4.0 | 0.1.5.1 | mediastreamer | DISTRO | https://release-monitoring.org/project/21746 | 4.4.8 | 5.1.20 | ORPH memcached | DISTRO | https://release-monitoring.org/project/01965 | 1.6.12 | 1.6.15 | ORPH memtest86 | DISTRO | https://release-monitoring.org/project/01966 | 5.01 | 5.31b | memtester | DISTRO | https://release-monitoring.org/project/01967 | 4.5.0 | 4.5.1 | mender | DISTRO | https://release-monitoring.org/project/20629 | 3.1.0 | 3.2.1 | mesa3d | DISTRO | https://release-monitoring.org/project/01970 | 21.3.8 | 22.0.2 | mesa3d-headers | DISTRO | https://release-monitoring.org/project/01970 | 21.3.8 | 22.0.2 | meson | DISTRO | https://release-monitoring.org/project/06472 | 0.62.0 | 0.62.1 | metacity | DISTRO | https://release-monitoring.org/project/15392 | 2.25.1 | 3.44.0 | ORPH mfgtools | DISTRO | https://release-monitoring.org/project/21519 | 0.02 | 2.8.0 | mimic | DISTRO | https://release-monitoring.org/project/21521 | 1.1.0 | 1.3.0.1 | minetest | DISTRO | https://release-monitoring.org/project/01978 | 5.4.1 | 5.5.0 | minetest-game | DISTRO | https://release-monitoring.org/project/21522 | 5.4.1 | 5.5.0 | moarvm | DISTRO | https://release-monitoring.org/project/21100 | 2022.02 | 2022.04 | mobile-broadband-provider-info | DISTRO | https://release-monitoring.org/project/10267 | 20190618 | 20220315 | ORPH moby-buildkit | DISTRO | https://release-monitoring.org/project/20836 | 0.10.0 | 0.10.1 | mongodb | DISTRO | https://release-monitoring.org/project/02008 | 4.2.18 | 5.3.1 | mongoose | DISTRO | https://release-monitoring.org/project/07603 | 7.2 | 7.6 | monit | DISTRO | https://release-monitoring.org/project/05483 | 5.26.0 | 5.32.0 | mono | DISTRO | https://release-monitoring.org/project/06360 | 6.12.0.122 | 6.12.0.177 | mpg123 | DISTRO | https://release-monitoring.org/project/12413 | 1.25.15 | 1.29.3 | ORPH mpv | DISTRO | https://release-monitoring.org/project/05348 | 0.33.1 | 0.34.1 | msgpack | DISTRO | https://release-monitoring.org/project/12278 | 3.3.0 | 4.1.1 | msmtp | DISTRO | https://release-monitoring.org/project/02024 | 1.8.14 | 1.8.20 | mstpd | DISTRO | https://release-monitoring.org/project/235098 | 0.1.0 | 0.05 | mtd | DISTRO | https://release-monitoring.org/project/02026 | 2.1.3 | 2.1.4 | mtools | DISTRO | https://release-monitoring.org/project/02028 | 4.0.38 | 4.0.39 | mtr | DISTRO | https://release-monitoring.org/project/02029 | 0.94 | 0.95 | ORPH mupdf | DISTRO | https://release-monitoring.org/project/02034 | 1.18.0 | 1.19.0 | musl | DISTRO | https://release-monitoring.org/project/11688 | 1.2.2 | 1.2.3 | ncdu | DISTRO | https://release-monitoring.org/project/06045 | 1.16 | 2.1.1 | ncurses | DISTRO | https://release-monitoring.org/project/02057 | 6.1 | 6.3-20220423 | ORPH netcat | DISTRO | https://release-monitoring.org/project/21534 | 0.7.1 | 1.218 | ORPH netdata | DISTRO | https://release-monitoring.org/project/11046 | 1.33.1 | 1.34.1 | netifrc | DISTRO | https://release-monitoring.org/project/21917 | 0.6.1 | 0.7.3 | netopeer2 | DISTRO | https://release-monitoring.org/project/114978 | 2.0.35 | 2.1.16 | netsnmp | DISTRO | https://release-monitoring.org/project/02062 | 5.9 | 5.9.1 | ORPH network-manager-openvpn | DISTRO | https://release-monitoring.org/project/69977 | 1.8.14 | 1.8.18 | nftables | DISTRO | https://release-monitoring.org/project/02082 | 1.0.1 | 1.0.2 | nghttp2 | DISTRO | https://release-monitoring.org/project/08651 | 1.41.0 | 1.47.0 | nginx | DISTRO | https://release-monitoring.org/project/05413 | 1.20.1 | 1.21.6 | nodejs | DISTRO | https://release-monitoring.org/project/08251 | 14.18.3 | 18.0.0 | nss-mdns | DISTRO | https://release-monitoring.org/project/05491 | 0.14.1 | 0.15.1 | ORPH nuttcp | DISTRO | https://release-monitoring.org/project/02511 | 6.1.2 | 8.2.2 | nvidia-driver | DISTRO | https://release-monitoring.org/project/21843 | 390.132 | 390.147 | nvidia-modprobe | DISTRO | https://release-monitoring.org/project/141657 | 450.57 | 510.60.02 | ORPH nvme | DISTRO | https://release-monitoring.org/project/09074 | 1.12 | 2.0 | ORPH ocf-linux | DISTRO | https://release-monitoring.org/project/21541 | 20120127 | 20171122 | ORPH ocrad | DISTRO | https://release-monitoring.org/project/02526 | 0.27 | 0.28 | ogre | DISTRO | https://release-monitoring.org/project/33334 | v1.12.12 | 13.3.4 | open62541 | DISTRO | https://release-monitoring.org/project/16896 | v1.2.2 | 1.3 | ORPH openal | DISTRO | https://release-monitoring.org/project/08172 | 1.21.1 | 1.22.0 | opencv3 | DISTRO | https://release-monitoring.org/project/06615 | 3.4.17 | 4.5.5 | openfpgaloader | DISTRO | https://release-monitoring.org/project/241709 | 0.6.1 | 0.8.0 | openjdk | GUESS | https://release-monitoring.org/project/176098 | 11.0.14.1+1 | 19+19 | openmpi | DISTRO | https://release-monitoring.org/project/02554 | 4.0.0 | 4.1.3 | ORPH openpowerlink | DISTRO | https://release-monitoring.org/project/21550 | 2.7.1 | 2.7.2 | openrc | DISTRO | https://release-monitoring.org/project/11687 | 0.43.3 | 0.44.10 | openvmtools | DISTRO | https://release-monitoring.org/project/10998 | 10.3.5-10... | 12.0.0 | opkg | DISTRO | https://release-monitoring.org/project/59397 | 0.4.5 | 0.5.0 | ORPH opkg-utils | DISTRO | https://release-monitoring.org/project/59396 | 0.4.5 | 0.5.0 | optee-benchmark | DISTRO | https://release-monitoring.org/project/21555 | 3.16.0 | 3.17.0 | optee-client | DISTRO | https://release-monitoring.org/project/21556 | 3.16.0 | 3.17.0 | optee-examples | DISTRO | https://release-monitoring.org/project/21557 | 3.16.0 | 3.17.0 | optee-test | DISTRO | https://release-monitoring.org/project/21558 | 3.16.0 | 3.17.0 | oracle-mysql | DISTRO | https://release-monitoring.org/project/00334 | 5.1.73 | 8.0.28 | ORPH ortp | DISTRO | https://release-monitoring.org/project/21691 | 4.4.8 | 5.1.12 | ORPH pangomm | DISTRO | https://release-monitoring.org/project/07958 | 2.48.2 | 2.50.0 | parprouted | DISTRO | https://release-monitoring.org/project/10309 | 0.7 | 0.65 | ORPH parted | DISTRO | https://release-monitoring.org/project/02596 | 3.4 | 3.5 | patchelf | DISTRO | https://release-monitoring.org/project/02598 | 0.9 | 0.14.5 | ORPH pax-utils | DISTRO | https://release-monitoring.org/project/02601 | 1.2.6 | 1.3.4 | ORPH pciutils | DISTRO | https://release-monitoring.org/project/02605 | 3.7.0 | 3.8.0 | ORPH pcm-tools | DISTRO | https://release-monitoring.org/project/21377 | 202110 | 202203 | ORPH perl-crypt-cbc | DISTRO | https://release-monitoring.org/project/11930 | 2.33 | 3.04 | perl-crypt-openssl-guess | DISTRO | https://release-monitoring.org/project/17375 | 0.12 | 0.15 | perl-crypt-openssl-rsa | DISTRO | https://release-monitoring.org/project/02748 | 0.31 | 0.32 | perl-dbd-mysql | DISTRO | https://release-monitoring.org/project/02807 | 4.046 | 4.050 | perl-file-listing | DISTRO | https://release-monitoring.org/project/02892 | 6.14 | 6.15 | perl-html-parser | DISTRO | https://release-monitoring.org/project/02967 | 3.76 | 3.78 | perl-http-daemon | DISTRO | https://release-monitoring.org/project/02975 | 6.12 | 6.14 | perl-libwww-perl | DISTRO | https://release-monitoring.org/project/03024 | 6.60 | 6.62 | perl-mail-dkim | DISTRO | https://release-monitoring.org/project/11868 | 1.20200824 | 1.20220408 | perl-mojolicious | DISTRO | https://release-monitoring.org/project/05966 | 9.22 | 9.24 | perl-net-http | DISTRO | https://release-monitoring.org/project/03152 | 6.21 | 6.22 | perl-net-ssleay | DISTRO | https://release-monitoring.org/project/06575 | 1.85 | 1.92 | perl-package-stash | DISTRO | https://release-monitoring.org/project/11885 | 0.39 | 0.40 | perl-sys-cpu | DISTRO | https://release-monitoring.org/project/14338 | 0.52 | 0.61 | perl-xml-libxml | DISTRO | https://release-monitoring.org/project/03527 | 2.0134 | 2.0207 | php | DISTRO | https://release-monitoring.org/project/03627 | 8.0.17 | 8.1.5 | php-amqp | DISTRO | https://release-monitoring.org/project/15603 | 1.10.2 | 1.11.0 | php-apcu | DISTRO | https://release-monitoring.org/project/11010 | 5.1.20 | 5.1.21 | php-gnupg | DISTRO | https://release-monitoring.org/project/21743 | 1.5.0 | 1.5.1 | ORPH php-imagick | DISTRO | https://release-monitoring.org/project/17401 | 3.5.0 | 3.7.0 | ORPH php-memcached | DISTRO | https://release-monitoring.org/project/17400 | 3.1.5 | 3.2.0 | ORPH php-pam | DISTRO | https://release-monitoring.org/project/241707 | 2.2.3 | 2.2.4 | php-xdebug | DISTRO | https://release-monitoring.org/project/13302 | 3.0.4 | 3.1.4 | php-yaml | DISTRO | https://release-monitoring.org/project/12515 | 2.2.1 | 2.2.2 | ORPH pigpio | DISTRO | https://release-monitoring.org/project/21577 | 79 | 7301 | pigz | DISTRO | https://release-monitoring.org/project/03642 | 2.6 | 2.7 | pinentry | DISTRO | https://release-monitoring.org/project/03643 | 1.1.1 | 1.2.0 | ORPH pkcs11-helper | DISTRO | https://release-monitoring.org/project/91990 | 1.28 | 1.29.0 | ORPH pkgconf | DISTRO | https://release-monitoring.org/project/12753 | 1.6.3 | 1.8.0 | ORPH poco | DISTRO | https://release-monitoring.org/project/05418 | 1.11.1 | 1.11.2 | poke | DISTRO | https://release-monitoring.org/project/179926 | 2.1 | 2.3 | ORPH policycoreutils | DISTRO | https://release-monitoring.org/project/03680 | 3.2 | 20200710 | poppler | DISTRO | https://release-monitoring.org/project/03686 | 21.12.0 | 22.04.0 | postgis | DISTRO | https://release-monitoring.org/project/03694 | 3.2.0 | 3.2.1 | powerpc-utils | DISTRO | https://release-monitoring.org/project/10715 | 1.3.8 | 1.3.9 | ORPH powertop | DISTRO | https://release-monitoring.org/project/03702 | 2.13 | 2.14 | procps-ng | DISTRO | https://release-monitoring.org/project/03708 | 3.3.17 | 4.0.0 | ORPH proftpd | DISTRO | https://release-monitoring.org/project/07609 | 1.3.6e | 1.3.7d | proj | DISTRO | https://release-monitoring.org/project/21570 | 8.1.1 | 9.0.0 | prosody | DISTRO | https://release-monitoring.org/project/03709 | 0.11.13 | 0.12.0 | protobuf | DISTRO | https://release-monitoring.org/project/03715 | 3.19.1 | 3.20.1 | proxychains-ng | DISTRO | https://release-monitoring.org/project/06499 | 4.14 | 4.16 | ORPH pru-software-support | DISTRO | https://release-monitoring.org/project/21825 | 6.0.1 | 6.1.0 | ptpd | GUESS | https://release-monitoring.org/project/03726 | 1.1.0 | 2.3.1 | ORPH pulseaudio | DISTRO | https://release-monitoring.org/project/03729 | 14.2 | 15.0 | python-aenum | DISTRO | https://release-monitoring.org/project/34074 | 3.1.0 | 3.1.11 | python-aioblescan | DISTRO | https://release-monitoring.org/project/21242 | 0.2.8 | 0.2.12 | python-aiocoap | DISTRO | https://release-monitoring.org/project/21243 | 0.4.1 | 0.4.3 | python-aiohttp-remotes | DISTRO | https://release-monitoring.org/project/21248 | 1.1.0 | 1.2.0 | python-aiojobs | DISTRO | https://release-monitoring.org/project/21252 | 0.3.0 | 1.0.0 | python-alsaaudio | DISTRO | https://release-monitoring.org/project/10072 | 0.8.4 | 0.9.0 | python-arrow | DISTRO | https://release-monitoring.org/project/05314 | 1.2.0 | 1.2.2 | python-asgiref | DISTRO | https://release-monitoring.org/project/18462 | 3.3.4 | 3.5.0 | python-autobahn | DISTRO | https://release-monitoring.org/project/07015 | 22.1.1 | 22.3.2 | python-babel | DISTRO | https://release-monitoring.org/project/11984 | 2.9.1 | 2.10.1 | python-beautifulsoup4 | DISTRO | https://release-monitoring.org/project/03779 | 4.10.0 | 4.11.1 | python-bleak | DISTRO | https://release-monitoring.org/project/26271 | 0.12.1 | 0.14.2 | python-boto3 | DISTRO | https://release-monitoring.org/project/08778 | 1.19.2 | 1.21.46 | python-botocore | DISTRO | https://release-monitoring.org/project/08748 | 1.22.2 | 1.24.46 | python-canopen | DISTRO | https://release-monitoring.org/project/23230 | 1.0.0 | 2.0.0b1 | python-channels | DISTRO | https://release-monitoring.org/project/21937 | 2.3.1 | 3.0.4 | python-channels-redis | DISTRO | https://release-monitoring.org/project/21936 | 2.4.1 | 3.4.0 | python-cheroot | DISTRO | https://release-monitoring.org/project/20163 | 8.2.1 | 8.6.0 | python-cherrypy | DISTRO | https://release-monitoring.org/project/03799 | 12.0.1 | 18.6.1 | python-click | DISTRO | https://release-monitoring.org/project/03802 | 7.1.2 | 8.1.2 | python-colorlog | DISTRO | https://release-monitoring.org/project/12509 | 6.4.1 | 6.6.0 | python-configshell-fb | DISTRO | https://release-monitoring.org/project/19734 | 1.1.29 | 1.5 | python-crossbar | DISTRO | https://release-monitoring.org/project/21696 | 21.3.1 | 22.3.1 | python-cryptography | DISTRO | https://release-monitoring.org/project/05532 | 36.0.1 | 36.0.2 | python-cssutils | DISTRO | https://release-monitoring.org/project/13259 | 2.3.0 | 2.4.0 | python-cython | DISTRO | https://release-monitoring.org/project/12679 | 0.29.27 | 3.0.0a10 | python-daemon | DISTRO | https://release-monitoring.org/project/03816 | 2.2.3 | 2.3.0 | python-daphne | DISTRO | https://release-monitoring.org/project/21939 | 2.4.1 | 3.0.2 | python-dataproperty | DISTRO | https://release-monitoring.org/project/21697 | 0.54.2 | 0.55.0 | python-decorator | DISTRO | https://release-monitoring.org/project/03819 | 5.1.0 | 5.1.1 | python-dialog3 | DISTRO | https://release-monitoring.org/project/03823 | 3.5.1 | 3.5.3 | python-dnspython | DISTRO | https://release-monitoring.org/project/13190 | 2.1.0 | 2.2.1 | python-docker | DISTRO | https://release-monitoring.org/project/03847 | 4.1.0 | 5.0.3 | python-ecdsa | DISTRO | https://release-monitoring.org/project/08370 | 0.17.0 | 0.18.0b2 | python-engineio | DISTRO | https://release-monitoring.org/project/15064 | 4.2.1 | 4.3.1 | python-entrypoints | DISTRO | https://release-monitoring.org/project/12081 | 0.3 | 0.4 | python-esptool | DISTRO | https://release-monitoring.org/project/11619 | 3.2 | 3.3 | python-falcon | DISTRO | https://release-monitoring.org/project/03860 | 3.0.1 | 3.1.0 | python-filelock | DISTRO | https://release-monitoring.org/project/11739 | 3.3.0 | 3.6.0 | python-flask | DISTRO | https://release-monitoring.org/project/03867 | 1.1.2 | 2.1.1 | python-flask-expects-json | DISTRO | https://release-monitoring.org/project/127659 | 1.5.0 | 1.7.0 | python-flask-jsonrpc | DISTRO | https://release-monitoring.org/project/21698 | 0.3.1 | 2.1.0 | python-flask-login | DISTRO | https://release-monitoring.org/project/03868 | 0.5.0 | 0.6.0 | python-flask-sqlalchemy | DISTRO | https://release-monitoring.org/project/05701 | 2.4.1 | 2.5.1 | python-flask-wtf | DISTRO | https://release-monitoring.org/project/05702 | 0.15.1 | 1.0.1 | python-fonttools | DISTRO | https://release-monitoring.org/project/07388 | 4.32.0 | 4.33.2 | python-git | DISTRO | https://release-monitoring.org/project/06459 | 3.1.24 | 3.1.27 | python-gitdb2 | DISTRO | https://release-monitoring.org/project/12730 | 4.0.7 | 4.0.9 | python-gobject | DISTRO | https://release-monitoring.org/project/13158 | 3.42.0 | 3.42.1 | python-httplib2 | DISTRO | https://release-monitoring.org/project/03887 | 0.19.1 | 0.20.4 | python-humanize | DISTRO | https://release-monitoring.org/project/19799 | 3.11.0 | 4.0.0 | python-ipython | DISTRO | https://release-monitoring.org/project/01399 | 7.31.1 | 8.2.0 | python-iso8601 | DISTRO | https://release-monitoring.org/project/17228 | 0.1.14 | 1.0.2 | python-itsdangerous | DISTRO | https://release-monitoring.org/project/03892 | 2.0.1 | 2.1.2 | python-iwlib | DISTRO | https://release-monitoring.org/project/51611 | 1.5 | 1.7.0 | python-jaraco-classes | DISTRO | https://release-monitoring.org/project/20150 | 2.0 | 3.2.1 | python-jaraco-functools | DISTRO | https://release-monitoring.org/project/20165 | 2.0 | 3.5.0 | python-jinja2 | DISTRO | https://release-monitoring.org/project/03894 | 3.0.3 | 3.1.1 | python-jmespath | DISTRO | https://release-monitoring.org/project/08749 | 0.10.0 | 1.0.0 | python-jsonschema | DISTRO | https://release-monitoring.org/project/03898 | 2.5.1 | 4.4.0 | python-keyring | DISTRO | https://release-monitoring.org/project/03901 | 19.2.0 | 23.5.0 | python-kiwisolver | DISTRO | https://release-monitoring.org/project/16910 | 1.1.0 | 1.4.2 | python-libusb1 | DISTRO | https://release-monitoring.org/project/12301 | 2.0.1 | 3.0.0 | python-mako | DISTRO | https://release-monitoring.org/project/03915 | 1.1.5 | 1.2.0 | python-markdown | DISTRO | https://release-monitoring.org/project/03916 | 3.3.4 | 3.3.6 | python-markdown2 | DISTRO | https://release-monitoring.org/project/03917 | 2.4.1 | 2.4.2 | python-markupsafe | DISTRO | https://release-monitoring.org/project/03918 | 2.0.1 | 2.1.1 | python-matplotlib | DISTRO | https://release-monitoring.org/project/03919 | 3.4.3 | 3.5.1 | python-memory-profiler | DISTRO | https://release-monitoring.org/project/38508 | 0.58.0 | 0.60.0 | python-mistune | DISTRO | https://release-monitoring.org/project/06189 | 0.8.4 | 2.0.2 | python-more-itertools | DISTRO | https://release-monitoring.org/project/12201 | 8.10.0 | 8.12.0 | python-msgfy | DISTRO | https://release-monitoring.org/project/29716 | 0.1.0 | 0.2.0 | python-networkmanager | DISTRO | https://release-monitoring.org/project/12909 | 2.1 | 2.2 | python-networkx | DISTRO | https://release-monitoring.org/project/07791 | 2.6.3 | 2.8 | python-numpy | DISTRO | https://release-monitoring.org/project/02509 | 1.21.2 | 1.22.3 | python-oauthlib | DISTRO | https://release-monitoring.org/project/05377 | 3.1.1 | 3.2.0 | python-opcua-asyncio | DISTRO | https://release-monitoring.org/project/131612 | 0.8.4 | 0.98.9 | python-paho-mqtt | DISTRO | https://release-monitoring.org/project/06084 | 1.4.0 | 1.6.1 | python-pathpy | DISTRO | https://release-monitoring.org/project/21703 | 12.0.1 | 12.5.0 | python-pbr | DISTRO | https://release-monitoring.org/project/03960 | 5.6.0 | 5.8.1 | python-pillow | DISTRO | https://release-monitoring.org/project/07974 | 9.0.1 | 9.1.0 | python-pip | DISTRO | https://release-monitoring.org/project/06529 | 21.2.4 | 22.0.4 | python-portend | DISTRO | https://release-monitoring.org/project/20203 | 2.5 | 3.1.0 | python-prompt-toolkit | DISTRO | https://release-monitoring.org/project/08742 | 3.0.20 | 3.0.29 | python-protobuf | DISTRO | https://release-monitoring.org/project/03715 | 3.19.1 | 3.20.1 | python-psutil | DISTRO | https://release-monitoring.org/project/03978 | 5.8.0 | 5.9.0 | python-psycopg2 | DISTRO | https://release-monitoring.org/project/03979 | 2.9.1 | 2.9.3 | python-pudb | DISTRO | https://release-monitoring.org/project/03980 | 2021.1 | 2022.1.1 | python-py | DISTRO | https://release-monitoring.org/project/03981 | 1.10.0 | 1.11.0 | python-pybind | DISTRO | https://release-monitoring.org/project/13384 | 2.9.0 | 2.9.2 | python-pycairo | DISTRO | https://release-monitoring.org/project/13166 | 1.19.1 | 1.21.0 | python-pydantic | DISTRO | https://release-monitoring.org/project/29768 | 1.8.2 | 1.9.0 | python-pyelftools | DISTRO | https://release-monitoring.org/project/16219 | 0.27 | 0.28 | python-pygame | DISTRO | https://release-monitoring.org/project/17480 | d61ea8eabd56 | 2.1.2 | python-pygments | DISTRO | https://release-monitoring.org/project/03986 | 2.7.4 | 2.12.0 | python-pyhamcrest | DISTRO | https://release-monitoring.org/project/11633 | 2.0.2 | 2.0.3 | python-pyicu | DISTRO | https://release-monitoring.org/project/12004 | 1.9.7 | 2.9 | python-pylibftdi | DISTRO | https://release-monitoring.org/project/21583 | 0.18.1 | 0.20.0 | python-pylru | DISTRO | https://release-monitoring.org/project/21584 | 1.2.0 | 1.2.1 | python-pymodbus | DISTRO | https://release-monitoring.org/project/15600 | 2.2.0 | 2.5.3 | python-pymupdf | DISTRO | https://release-monitoring.org/project/17320 | 1.18.14 | 1.19.6 | python-pyopenssl | DISTRO | https://release-monitoring.org/project/05535 | 21.0.0 | 22.0.0 | python-pyparsing | DISTRO | https://release-monitoring.org/project/03756 | 3.0.7 | 3.0.8 | python-pyparted | DISTRO | https://release-monitoring.org/project/15558 | 3.11.6 | 3.12.0 | python-pyqt5 | DISTRO | https://release-monitoring.org/project/20104 | 5.7 | 5.15.6 | python-pyroute2 | DISTRO | https://release-monitoring.org/project/20081 | 0.5.7 | 0.6.9 | python-pytablereader | DISTRO | https://release-monitoring.org/project/21592 | 0.26.1 | 0.31.3 | python-pytablewriter | DISTRO | https://release-monitoring.org/project/21593 | 0.46.1 | 0.64.2 | python-pytest | DISTRO | https://release-monitoring.org/project/03765 | 6.2.5 | 7.1.2 | python-pytest-asyncio | DISTRO | https://release-monitoring.org/project/07273 | 0.15.1 | 0.18.3 | python-pytz | DISTRO | https://release-monitoring.org/project/06537 | 2021.3 | 2022.1 | python-pyudev | DISTRO | https://release-monitoring.org/project/08485 | 0.22.0 | 0.23.2 | python-pyzmq | DISTRO | https://release-monitoring.org/project/04104 | 19.0.2 | 23.0.0b1 | python-redis | DISTRO | https://release-monitoring.org/project/03992 | 3.5.3 | 4.2.2 | python-reentry | DISTRO | https://release-monitoring.org/project/21596 | 1.3.2 | 1.3.3 | python-regex | DISTRO | https://release-monitoring.org/project/05548 | 2021.4.4 | 2022.4.24 | python-remi | DISTRO | https://release-monitoring.org/project/21597 | 2021.3.2 | 2022.3.7 | python-requests-oauthlib | DISTRO | https://release-monitoring.org/project/11803 | 1.3.0 | 1.3.1 | python-rpi-gpio | DISTRO | https://release-monitoring.org/project/12026 | 0.7.0 | 0.7.1 | python-rpi-ws281x | DISTRO | https://release-monitoring.org/project/21898 | 4.3.0 | 4.3.4 | python-rsa | DISTRO | https://release-monitoring.org/project/08808 | 4.7.2 | 4.8 | python-rtslib-fb | DISTRO | https://release-monitoring.org/project/19641 | 2.1.74 | 2.2 | python-s3transfer | DISTRO | https://release-monitoring.org/project/10428 | 0.5.0 | 0.5.2 | python-secretstorage | DISTRO | https://release-monitoring.org/project/04020 | 3.1.2 | 3.3.2 | python-semantic-version | DISTRO | https://release-monitoring.org/project/06514 | 2.8.5 | 2.9.0 | python-sentry-sdk | DISTRO | https://release-monitoring.org/project/21603 | 1.4.3 | 1.5.10 | python-service-identity | DISTRO | https://release-monitoring.org/project/07917 | 18.1.0 | 21.1.0 | python-setproctitle | DISTRO | https://release-monitoring.org/project/11699 | 1.2.2 | 1.2.3 | python-setuptools | DISTRO | https://release-monitoring.org/project/04021 | 60.9.3 | 62.1.0 | python-simplejson | DISTRO | https://release-monitoring.org/project/04026 | 3.17.5 | 3.17.6 | python-simplesqlite | DISTRO | https://release-monitoring.org/project/21608 | 0.45.2 | 1.3.0 | python-sip | DISTRO | https://release-monitoring.org/project/13626 | 4.18 | 5.0.0 | python-smmap2 | DISTRO | https://release-monitoring.org/project/12729 | 4.0.0 | 5.0.0 | python-socketio | DISTRO | https://release-monitoring.org/project/21611 | 5.4.0 | 5.6.0 | python-soupsieve | DISTRO | https://release-monitoring.org/project/27570 | 2.2.1 | 2.3.2.post1 | python-sqlalchemy | DISTRO | https://release-monitoring.org/project/04034 | 1.3.10 | 1.4.35 | python-sqliteschema | DISTRO | https://release-monitoring.org/project/29718 | 1.2.1 | 1.3.0 | python-sqlparse | DISTRO | https://release-monitoring.org/project/04038 | 0.3.0 | 0.4.2 | python-tempora | DISTRO | https://release-monitoring.org/project/21225 | 1.14.1 | 5.0.1 | python-thrift | DISTRO | https://release-monitoring.org/project/21614 | 0.13.0 | 0.16.0 | python-tomli | DISTRO | https://release-monitoring.org/project/207408 | 1.2.0 | 2.0.1 | python-tornado | DISTRO | https://release-monitoring.org/project/07498 | 6.0.4 | 6.1 | python-tqdm | DISTRO | https://release-monitoring.org/project/11524 | 4.40.1 | 4.64.0 | python-traitlets | DISTRO | https://release-monitoring.org/project/12211 | 5.1.0 | 5.1.1 | python-twisted | DISTRO | https://release-monitoring.org/project/04071 | 22.2.0 | 22.4.0 | python-txtorcon | DISTRO | https://release-monitoring.org/project/19661 | 21.1.0 | 22.0.0 | python-typing-extensions | DISTRO | https://release-monitoring.org/project/19755 | 3.10.0.2 | 4.2.0 | python-ujson | DISTRO | https://release-monitoring.org/project/04076 | 4.2.0 | 5.2.0 | python-unittest-xml-reporting | DISTRO | https://release-monitoring.org/project/72281 | 3.0.4 | 3.2.0 | python-urllib3 | DISTRO | https://release-monitoring.org/project/04078 | 1.26.8 | 1.26.9 | python-validators | DISTRO | https://release-monitoring.org/project/19818 | 0.15.0 | 0.18.2 | python-watchdog | DISTRO | https://release-monitoring.org/project/05341 | 2.1.6 | 2.1.7 | python-wcwidth | DISTRO | https://release-monitoring.org/project/08743 | 0.1.9 | 0.2.5 | python-weasyprint | DISTRO | https://release-monitoring.org/project/11057 | 54.3 | 55.0b1 | python-webpy | DISTRO | https://release-monitoring.org/project/04090 | 0.40 | 0.62 | python-websocket-client | DISTRO | https://release-monitoring.org/project/07288 | 0.58.0 | 1.3.2 | python-websockets | DISTRO | https://release-monitoring.org/project/08100 | 10.0 | 10.3 | python-werkzeug | DISTRO | https://release-monitoring.org/project/04092 | 1.0.1 | 2.1.1 | python-wrapt | DISTRO | https://release-monitoring.org/project/06108 | 1.12.1 | 1.14.0 | python-wtforms | DISTRO | https://release-monitoring.org/project/11805 | 2.3.3 | 3.0.1 | python-xlib | DISTRO | https://release-monitoring.org/project/12180 | 0.27 | 0.31 | python-xlsxwriter | DISTRO | https://release-monitoring.org/project/12031 | 3.0.1 | 3.0.3 | python-yarl | DISTRO | https://release-monitoring.org/project/12895 | 1.7.2 | 1.8.0 | python-zeroconf | DISTRO | https://release-monitoring.org/project/12681 | 0.29.0 | 0.38.4 | python3 | DISTRO | https://release-monitoring.org/project/13254 | 3.10.2 | 3.10.4 | qcom-db410c-firmware | DISTRO | https://release-monitoring.org/project/235382 | 1034.2.1 | 1036.1 | qemu | DISTRO | https://release-monitoring.org/project/13607 | 6.2.0 | 7.0.0 | qpdf | DISTRO | https://release-monitoring.org/project/05542 | 10.5.0 | 10.6.3 | qpid-proton | DISTRO | https://release-monitoring.org/project/15198 | 0.35.0 | 0.37.0 | qt5coap | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | qt5knx | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | qt5mqtt | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | qt5opcua | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | qt5webengine | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.3.0 | quazip | DISTRO | https://release-monitoring.org/project/04141 | 1.2 | 1.3 | qwt | DISTRO | https://release-monitoring.org/project/04147 | 6.1.6 | 6.2.0 | ORPH rabbitmq-server | DISTRO | https://release-monitoring.org/project/05585 | 3.8.2 | 3.9.15 | ragel | DISTRO | https://release-monitoring.org/project/12105 | 6.10 | 7.0.4 | ORPH ranger | DISTRO | https://release-monitoring.org/project/07426 | 1.7.2 | 1.9.3 | re2 | DISTRO | https://release-monitoring.org/project/10500 | 2022-02-01 | 2022-04-01 | restorecond | DISTRO | https://release-monitoring.org/project/16520 | 3.3 | 20200710 | ORPH riemann-c-client | DISTRO | https://release-monitoring.org/project/21389 | 1.10.5 | 2.0.0 | ORPH rocksdb | DISTRO | https://release-monitoring.org/project/15560 | 6.20.3 | 7.1.2 | rsync | DISTRO | https://release-monitoring.org/project/04217 | 3.2.3 | 3.2.4 | ORPH rsyslog | DISTRO | https://release-monitoring.org/project/04218 | 8.2010.0 | 8.2204.0 | rtai | DISTRO | https://release-monitoring.org/project/21658 | 4.0.1 | 5.3 | ORPH rtty | DISTRO | https://release-monitoring.org/project/87994 | 7.4.0 | 8.0.0 | ruby | DISTRO | https://release-monitoring.org/project/04223 | 3.1.0 | 3.1.2 | rygel | DISTRO | https://release-monitoring.org/project/04751 | 0.40.2 | 0.40.3 | s390-tools | DISTRO | https://release-monitoring.org/project/10714 | 2.20.0 | 2.21.0 | s6 | DISTRO | https://release-monitoring.org/project/05485 | 2.10.0.3 | 2.11.1.0 | s6-dns | DISTRO | https://release-monitoring.org/project/16547 | 2.3.5.1 | 2.3.5.3 | s6-linux-init | DISTRO | https://release-monitoring.org/project/16552 | 1.0.6.3 | 1.0.7.3 | s6-linux-utils | DISTRO | https://release-monitoring.org/project/16551 | 2.5.1.5 | 2.5.1.7 | s6-networking | DISTRO | https://release-monitoring.org/project/16550 | 2.4.1.1 | 2.5.1.0 | s6-portable-utils | DISTRO | https://release-monitoring.org/project/16549 | 2.2.3.2 | 2.2.4.0 | s6-rc | DISTRO | https://release-monitoring.org/project/16548 | 0.5.2.2 | 0.5.3.1 | safeclib | DISTRO | https://release-monitoring.org/project/21385 | 3.7.1 | 01022022 | samba4 | DISTRO | https://release-monitoring.org/project/04758 | 4.15.6 | 4.16.0 | sane-backends | DISTRO | https://release-monitoring.org/project/04760 | 1.0.32 | 1.1.1 | scons | DISTRO | https://release-monitoring.org/project/04770 | 3.1.2 | 4.3.0 | sdl_gfx | DISTRO | https://release-monitoring.org/project/04778 | 2.0.23 | 2.0.25 | ORPH sdl_sound | DISTRO | https://release-monitoring.org/project/10262 | 1.0.3 | 2.0.1 | ORPH sdparm | DISTRO | https://release-monitoring.org/project/04787 | 1.10 | 1.12 | sedutil | DISTRO | https://release-monitoring.org/project/15203 | 1.15.1 | 1.20.0 | sentry-cli | DISTRO | https://release-monitoring.org/project/135642 | 1.59.0 | 2.0.3 | sentry-native | DISTRO | https://release-monitoring.org/project/135639 | 0.4.1 | 0.4.17 | ser2net | DISTRO | https://release-monitoring.org/project/21655 | 4.3.4 | 4.3.5 | shared-mime-info | DISTRO | https://release-monitoring.org/project/05524 | 1.12 | 2.2 | ORPH shim | DISTRO | https://release-monitoring.org/project/10719 | 15.4 | 15.5 | skalibs | DISTRO | https://release-monitoring.org/project/05486 | 2.10.0.3 | 2.11.2.0 | smartmontools | DISTRO | https://release-monitoring.org/project/04835 | 7.2 | 7.3 | ORPH sngrep | DISTRO | https://release-monitoring.org/project/17075 | 1.4.7 | 1.4.10 | ORPH snmppp | DISTRO | https://release-monitoring.org/project/21318 | 3.4.9 | 3.4.10 | snort3 | DISTRO | https://release-monitoring.org/project/13263 | 3.1.18.0 | 3.1.27.0 | sofia-sip | DISTRO | https://release-monitoring.org/project/10509 | 1.13.6-41... | 1.13.7 | softether | DISTRO | https://release-monitoring.org/project/21383 | 4.30-9700... | 4.38-9760... | sound-theme-freedesktop | DISTRO | https://release-monitoring.org/project/10152 | 0.7 | 0.8 | spandsp | DISTRO | https://release-monitoring.org/project/12600 | 3.0.0-6ec... | 3.0.0 | sphinxbase | DISTRO | https://release-monitoring.org/project/20548 | 5prealpha | 0.8 | spice-protocol | DISTRO | https://release-monitoring.org/project/14892 | 0.14.3 | 0.14.4 | sqlcipher | DISTRO | https://release-monitoring.org/project/11213 | 4.5.0 | 4.5.1 | squashfs | DISTRO | https://release-monitoring.org/project/04879 | 4.5 | 4.5.1 | squid | DISTRO | https://release-monitoring.org/project/04880 | 5.3 | 5.5 | ORPH sshfs | DISTRO | https://release-monitoring.org/project/11058 | 3.7.1 | 3.7.2 | ORPH start-stop-daemon | DISTRO | https://release-monitoring.org/project/08127 | 1.20.7.1 | 1.21.7 | ORPH stellarium | DISTRO | https://release-monitoring.org/project/04891 | 0.22.0 | 0.22.1 | stm32flash | DISTRO | https://release-monitoring.org/project/227276 | 0.6 | 0.7 | strace | DISTRO | https://release-monitoring.org/project/04897 | 5.16 | 5.17 | stress | DISTRO | https://release-monitoring.org/project/08048 | 1.0.4 | 1.0.5 | stunnel | DISTRO | https://release-monitoring.org/project/04901 | 5.60 | 5.63 | sudo | DISTRO | https://release-monitoring.org/project/04906 | 1.9.8p2 | 1.9.10 | ORPH supervisor | DISTRO | https://release-monitoring.org/project/16289 | 4.2.2 | 4.2.4 | ORPH suricata | DISTRO | https://release-monitoring.org/project/10925 | 6.0.4 | 6.0.5 | synergy | DISTRO | https://release-monitoring.org/project/05718 | 2.0.12-beta | 2.3.2 | sysdig | DISTRO | https://release-monitoring.org/project/16898 | 0.27.1 | 0.29.1 | syslog-ng | DISTRO | https://release-monitoring.org/project/04930 | 3.35.1 | 3.36.1 | sysprof | DISTRO | https://release-monitoring.org/project/21649 | 1.2.0 | 3.44.0 | sysrepo | DISTRO | https://release-monitoring.org/project/34820 | 2.0.53 | 2.1.42 | sysstat | DISTRO | https://release-monitoring.org/project/04931 | 12.4.2 | 12.5.6 | ORPH system-config-printer | DISTRO | https://release-monitoring.org/project/08855 | 1.5.15 | 1.5.16 | ORPH systemd-bootchart | DISTRO | https://release-monitoring.org/project/11774 | 233 | 234 | sysvinit | DISTRO | https://release-monitoring.org/project/21648 | 2.99 | 3.03 | ORPH tclap | DISTRO | https://release-monitoring.org/project/04942 | 1.2.4 | 1.2.5 | tcpreplay | DISTRO | https://release-monitoring.org/project/13716 | 4.3.4 | 4.4.1 | ORPH tesseract-ocr | DISTRO | https://release-monitoring.org/project/04954 | 5.0.1 | 5.1.0 | thermald | DISTRO | https://release-monitoring.org/project/14500 | 2.4.8 | 2.4.9 | thrift | DISTRO | https://release-monitoring.org/project/05581 | 0.14.1 | 0.16.0 | ORPH timescaledb | DISTRO | https://release-monitoring.org/project/17545 | 2.5.2 | 2.6.1 | tinifier | DISTRO | https://release-monitoring.org/project/241900 | 3.4.0 | 3.5.0 | tinyssh | DISTRO | https://release-monitoring.org/project/14678 | 20210601 | 20220311 | tinyxml | DISTRO | https://release-monitoring.org/project/10162 | 2.6.2_2 | 2.6.2 | ORPH tio | DISTRO | https://release-monitoring.org/project/20587 | 1.32 | 1.37 | tmux | DISTRO | https://release-monitoring.org/project/04980 | 3.1c | 3.2a | tpm-tools | DISTRO | https://release-monitoring.org/project/21640 | 1.3.9.1 | 1.3.9.2 | tpm2-abrmd | DISTRO | https://release-monitoring.org/project/16819 | 2.3.3 | 2.4.1 | ORPH tpm2-pkcs11 | DISTRO | https://release-monitoring.org/project/18777 | 1.7.0 | 1.8.0 | tpm2-totp | DISTRO | https://release-monitoring.org/project/18790 | 0.2.1 | 0.3.0 | tpm2-tss | DISTRO | https://release-monitoring.org/project/12683 | 3.1.0 | 3.2.0 | ORPH trace-cmd | DISTRO | https://release-monitoring.org/project/07873 | 2.9.7 | 3.0.3 | tzdata | DISTRO | https://release-monitoring.org/project/05021 | 2021e | 2022a | uboot-tools | DISTRO | https://release-monitoring.org/project/05022 | 2021.07 | 2022.04 | udpcast | DISTRO | https://release-monitoring.org/project/10206 | 20200328 | 20211207 | ORPH uftrace | DISTRO | https://release-monitoring.org/project/195039 | 0.10 | 0.11 | uhd | DISTRO | https://release-monitoring.org/project/12572 | 3.15.0.0 | 4.2.0.0 | unionfs | DISTRO | https://release-monitoring.org/project/17617 | 2.1 | 2.2 | unrar | DISTRO | https://release-monitoring.org/project/13306 | 6.1.3 | 6.1.6 | ORPH upmpdcli | DISTRO | https://release-monitoring.org/project/15848 | 1.5.12 | 1.5.16 | upower | DISTRO | https://release-monitoring.org/project/05056 | 0.99.11 | 0.99.17 | uvw | DISTRO | https://release-monitoring.org/project/33083 | 2.11.0_li... | 2.12.1_li... | vala | DISTRO | https://release-monitoring.org/project/05065 | 0.52.4 | 0.56.1 | ORPH valgrind | DISTRO | https://release-monitoring.org/project/13639 | 3.18.1 | 3.19.0 | ORPH vim | DISTRO | https://release-monitoring.org/project/05092 | 8.2.4732 | 8.2.4815 | ORPH vlc | DISTRO | https://release-monitoring.org/project/06504 | 3.0.16 | 3.0.17.4 | vnstat | DISTRO | https://release-monitoring.org/project/07283 | 2.8 | 2.9 | vpnc | DISTRO | https://release-monitoring.org/project/15955 | 0.5.3r550... | 0.5.3 | ORPH vte | DISTRO | https://release-monitoring.org/project/10895 | 0.66.2 | 0.68.0 | ORPH vulkan-headers | DISTRO | https://release-monitoring.org/project/88835 | 1.2.203 | 1.3.212 | ORPH waffle | DISTRO | https://release-monitoring.org/project/21633 | 1.6.1 | 1.7.0 | waylandpp | DISTRO | https://release-monitoring.org/project/16969 | 0.2.8 | 0.2.10 | webkitgtk | DISTRO | https://release-monitoring.org/project/05355 | 2.36.0 | 2.36.1 | webrtc-audio-processing | DISTRO | https://release-monitoring.org/project/15929 | 0.3.1 | 1.0 | ORPH whois | DISTRO | https://release-monitoring.org/project/05128 | 5.5.11 | 5.5.13 | wilc1000-firmware | DISTRO | https://release-monitoring.org/project/65598 | 14.1 | 15.7 | wine | DISTRO | https://release-monitoring.org/project/05134 | 6.0 | 7.7 | wireguard-linux-compat | DISTRO | https://release-monitoring.org/project/62379 | 1.0.20210606 | 1.0.20211208 | wireless-regdb | DISTRO | https://release-monitoring.org/project/15257 | 2022.02.18 | 2022.04.08 | wireplumber | DISTRO | https://release-monitoring.org/project/235056 | 0.4.8 | 0.4.9 | ORPH wireshark | DISTRO | https://release-monitoring.org/project/05137 | 3.4.12 | 3.6.3 | ORPH wlroots | DISTRO | https://release-monitoring.org/project/18357 | 0.14.1 | 0.15.1 | wpewebkit | DISTRO | https://release-monitoring.org/project/17557 | 2.36.0 | 2.36.1 | xapp_appres | DISTRO | https://release-monitoring.org/project/15053 | 1.0.5 | 1.0.6 | xapp_editres | DISTRO | https://release-monitoring.org/project/17160 | 1.0.7 | 1.0.8 | xapp_iceauth | DISTRO | https://release-monitoring.org/project/15048 | 1.0.8 | 1.0.9 | xapp_listres | DISTRO | https://release-monitoring.org/project/17161 | 1.0.4 | 1.0.5 | xapp_luit | DISTRO | https://release-monitoring.org/project/15047 | 1.1.1 | 20220111 | xapp_mkfontscale | DISTRO | https://release-monitoring.org/project/15043 | 1.2.1 | 1.2.2 | xapp_rstart | DISTRO | https://release-monitoring.org/project/21256 | 1.0.5 | 1.0.6 | xapp_setxkbmap | DISTRO | https://release-monitoring.org/project/12314 | 1.3.2 | 1.3.3 | xapp_twm | DISTRO | https://release-monitoring.org/project/15038 | 1.0.11 | 1.0.12 | xapp_xauth | DISTRO | https://release-monitoring.org/project/05253 | 1.1.1 | 1.1.2 | xapp_xcalc | DISTRO | https://release-monitoring.org/project/05164 | 1.1.0 | 1.1.1 | xapp_xclock | DISTRO | https://release-monitoring.org/project/15032 | 1.0.9 | 1.1.1 | xapp_xdm | DISTRO | https://release-monitoring.org/project/05255 | 1.1.12 | 1.1.13 | xapp_xdpyinfo | DISTRO | https://release-monitoring.org/project/15028 | 1.3.2 | 1.3.3 | xapp_xedit | DISTRO | https://release-monitoring.org/project/05180 | 1.2.2 | 1.2.3 | xapp_xload | DISTRO | https://release-monitoring.org/project/14992 | 1.1.3 | 1.1.4 | xapp_xlsfonts | DISTRO | https://release-monitoring.org/project/14964 | 1.0.6 | 1.0.7 | xapp_xsm | DISTRO | https://release-monitoring.org/project/05259 | 1.0.4 | 1.0.5 | xdriver_xf86-input-libinput | DISTRO | https://release-monitoring.org/project/05782 | 1.2.0 | 1.2.1 | xdriver_xf86-video-amdgpu | DISTRO | https://release-monitoring.org/project/15900 | 19.1.0 | 22.0.0 | xdriver_xf86-video-dummy | DISTRO | https://release-monitoring.org/project/05216 | 0.3.8 | 0.4.0 | xen | DISTRO | https://release-monitoring.org/project/05181 | 4.14.4 | 4.16.1 | xfsprogs | DISTRO | https://release-monitoring.org/project/05188 | 5.14.2 | 5.15.0 | ORPH xinetd | DISTRO | https://release-monitoring.org/project/06382 | 2.3.15 | 2.3.15.4 | xkeyboard-config | DISTRO | https://release-monitoring.org/project/05191 | 2.34 | 2.35.1 | xlib_libX11 | DISTRO | https://release-monitoring.org/project/01764 | 1.7.3.1 | 1.7.5 | xlib_libXcursor | DISTRO | https://release-monitoring.org/project/01770 | 1.2.0 | 1.2.1 | xlib_libXvMC | DISTRO | https://release-monitoring.org/project/01796 | 1.0.12 | 1.0.13 | xmrig | DISTRO | https://release-monitoring.org/project/17499 | 6.16.4 | 6.17.0 | xorgproto | DISTRO | https://release-monitoring.org/project/17190 | 2021.5 | 2022.1 | xserver_xorg-server | DISTRO | https://release-monitoring.org/project/05250 | 21.1.2 | 21.1.3 | xtables-addons | DISTRO | https://release-monitoring.org/project/07736 | 3.17 | 3.20 | ORPH xterm | DISTRO | https://release-monitoring.org/project/05272 | 371 | 372 | ORPH yad | DISTRO | https://release-monitoring.org/project/05280 | 0.40.0 | 11.1 | yaml-cpp | DISTRO | https://release-monitoring.org/project/05284 | 0.6.3 | 0.7.0 | ORPH zabbix | DISTRO | https://release-monitoring.org/project/05492 | 5.4.9 | 6.0.3 | zfs | DISTRO | https://release-monitoring.org/project/11706 | 2.0.5 | 2.1.4 | zic | DISTRO | https://release-monitoring.org/project/16905 | 2021e | 2022a | Packages having CVEs ==================== CVEs for the 'master' branch ---------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-5000 | https://security-tracker.debian.org/tracker/CVE-2007-5000 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-0455 | https://security-tracker.debian.org/tracker/CVE-2008-0455 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2009-1890 | https://security-tracker.debian.org/tracker/CVE-2009-1890 apache | CVE-2009-1891 | https://security-tracker.debian.org/tracker/CVE-2009-1891 apache | CVE-2009-2699 | https://security-tracker.debian.org/tracker/CVE-2009-2699 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-0434 | https://security-tracker.debian.org/tracker/CVE-2010-0434 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-27607 | https://security-tracker.debian.org/tracker/CVE-2022-27607 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2021-45078 | https://security-tracker.debian.org/tracker/CVE-2021-45078 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bluez5_utils | CVE-2020-12352 | https://security-tracker.debian.org/tracker/CVE-2020-12352 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-12352 | https://security-tracker.debian.org/tracker/CVE-2020-12352 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 busybox | CVE-2022-28391 | https://security-tracker.debian.org/tracker/CVE-2022-28391 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 cairo | CVE-2019-6462 | https://security-tracker.debian.org/tracker/CVE-2019-6462 cairo | CVE-2020-35492 | https://security-tracker.debian.org/tracker/CVE-2020-35492 clamav | CVE-2016-1405 | https://security-tracker.debian.org/tracker/CVE-2016-1405 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2018-6553 | https://security-tracker.debian.org/tracker/CVE-2018-6553 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 darkhttpd | CVE-2020-25691 | https://security-tracker.debian.org/tracker/CVE-2020-25691 dnsmasq | CVE-2021-45951 | https://security-tracker.debian.org/tracker/CVE-2021-45951 dnsmasq | CVE-2021-45952 | https://security-tracker.debian.org/tracker/CVE-2021-45952 dnsmasq | CVE-2021-45953 | https://security-tracker.debian.org/tracker/CVE-2021-45953 dnsmasq | CVE-2021-45954 | https://security-tracker.debian.org/tracker/CVE-2021-45954 dnsmasq | CVE-2021-45955 | https://security-tracker.debian.org/tracker/CVE-2021-45955 dnsmasq | CVE-2021-45956 | https://security-tracker.debian.org/tracker/CVE-2021-45956 dnsmasq | CVE-2021-45957 | https://security-tracker.debian.org/tracker/CVE-2021-45957 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 e2fsprogs | CVE-2022-1304 | https://security-tracker.debian.org/tracker/CVE-2022-1304 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 erlang | CVE-2020-35733 | https://security-tracker.debian.org/tracker/CVE-2020-35733 exim | CVE-2020-28017 | https://security-tracker.debian.org/tracker/CVE-2020-28017 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2021-38291 | https://security-tracker.debian.org/tracker/CVE-2021-38291 git | CVE-2022-24765 | https://security-tracker.debian.org/tracker/CVE-2022-24765 git | CVE-2022-24975 | https://security-tracker.debian.org/tracker/CVE-2022-24975 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 go | CVE-2020-29509 | https://security-tracker.debian.org/tracker/CVE-2020-29509 go | CVE-2020-29511 | https://security-tracker.debian.org/tracker/CVE-2020-29511 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grub2 | CVE-2021-3981 | https://security-tracker.debian.org/tracker/CVE-2021-3981 grub2 | CVE-2021-46705 | https://security-tracker.debian.org/tracker/CVE-2021-46705 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2022-0711 | https://security-tracker.debian.org/tracker/CVE-2022-0711 heirloom-mailx | CVE-2004-2771 | https://security-tracker.debian.org/tracker/CVE-2004-2771 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libpjsip | CVE-2022-24754 | https://security-tracker.debian.org/tracker/CVE-2022-24754 libpjsip | CVE-2022-24764 | https://security-tracker.debian.org/tracker/CVE-2022-24764 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2020-15888 | https://security-tracker.debian.org/tracker/CVE-2020-15888 lua | CVE-2020-15945 | https://security-tracker.debian.org/tracker/CVE-2020-15945 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 lua | CVE-2022-28805 | https://security-tracker.debian.org/tracker/CVE-2022-28805 mariadb | CVE-2021-46669 | https://security-tracker.debian.org/tracker/CVE-2021-46669 mariadb | CVE-2022-27376 | https://security-tracker.debian.org/tracker/CVE-2022-27376 mariadb | CVE-2022-27377 | https://security-tracker.debian.org/tracker/CVE-2022-27377 mariadb | CVE-2022-27378 | https://security-tracker.debian.org/tracker/CVE-2022-27378 mariadb | CVE-2022-27379 | https://security-tracker.debian.org/tracker/CVE-2022-27379 mariadb | CVE-2022-27380 | https://security-tracker.debian.org/tracker/CVE-2022-27380 mariadb | CVE-2022-27381 | https://security-tracker.debian.org/tracker/CVE-2022-27381 mariadb | CVE-2022-27382 | https://security-tracker.debian.org/tracker/CVE-2022-27382 mariadb | CVE-2022-27383 | https://security-tracker.debian.org/tracker/CVE-2022-27383 mariadb | CVE-2022-27384 | https://security-tracker.debian.org/tracker/CVE-2022-27384 mariadb | CVE-2022-27385 | https://security-tracker.debian.org/tracker/CVE-2022-27385 mariadb | CVE-2022-27386 | https://security-tracker.debian.org/tracker/CVE-2022-27386 mariadb | CVE-2022-27387 | https://security-tracker.debian.org/tracker/CVE-2022-27387 mariadb | CVE-2022-27444 | https://security-tracker.debian.org/tracker/CVE-2022-27444 mariadb | CVE-2022-27445 | https://security-tracker.debian.org/tracker/CVE-2022-27445 mariadb | CVE-2022-27446 | https://security-tracker.debian.org/tracker/CVE-2022-27446 mariadb | CVE-2022-27447 | https://security-tracker.debian.org/tracker/CVE-2022-27447 mariadb | CVE-2022-27448 | https://security-tracker.debian.org/tracker/CVE-2022-27448 mariadb | CVE-2022-27449 | https://security-tracker.debian.org/tracker/CVE-2022-27449 mariadb | CVE-2022-27451 | https://security-tracker.debian.org/tracker/CVE-2022-27451 mariadb | CVE-2022-27452 | https://security-tracker.debian.org/tracker/CVE-2022-27452 mariadb | CVE-2022-27455 | https://security-tracker.debian.org/tracker/CVE-2022-27455 mariadb | CVE-2022-27456 | https://security-tracker.debian.org/tracker/CVE-2022-27456 mariadb | CVE-2022-27457 | https://security-tracker.debian.org/tracker/CVE-2022-27457 mariadb | CVE-2022-27458 | https://security-tracker.debian.org/tracker/CVE-2022-27458 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-18381 | https://security-tracker.debian.org/tracker/CVE-2017-18381 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 nasm | CVE-2020-18974 | https://security-tracker.debian.org/tracker/CVE-2020-18974 ncurses | CVE-2021-39537 | https://security-tracker.debian.org/tracker/CVE-2021-39537 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjdk | CVE-2013-0169 | https://security-tracker.debian.org/tracker/CVE-2013-0169 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openjpeg | CVE-2016-9675 | https://security-tracker.debian.org/tracker/CVE-2016-9675 openjpeg | CVE-2021-29338 | https://security-tracker.debian.org/tracker/CVE-2021-29338 openjpeg | CVE-2021-3575 | https://security-tracker.debian.org/tracker/CVE-2021-3575 openjpeg | CVE-2022-1122 | https://security-tracker.debian.org/tracker/CVE-2022-1122 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 polkit | CVE-2021-4034 | https://security-tracker.debian.org/tracker/CVE-2021-4034 postgresql | CVE-2017-8806 | https://security-tracker.debian.org/tracker/CVE-2017-8806 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 pppd | CVE-2018-11574 | https://security-tracker.debian.org/tracker/CVE-2018-11574 python-m2crypto | CVE-2020-25657 | https://security-tracker.debian.org/tracker/CVE-2020-25657 python-pip | CVE-2018-20225 | https://security-tracker.debian.org/tracker/CVE-2018-20225 python-twisted | CVE-2022-24801 | https://security-tracker.debian.org/tracker/CVE-2022-24801 python3 | CVE-2015-20107 | https://security-tracker.debian.org/tracker/CVE-2015-20107 python3 | CVE-2022-26488 | https://security-tracker.debian.org/tracker/CVE-2022-26488 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2021-3947 | https://security-tracker.debian.org/tracker/CVE-2021-3947 qemu | CVE-2022-1050 | https://security-tracker.debian.org/tracker/CVE-2022-1050 qemu | CVE-2022-26353 | https://security-tracker.debian.org/tracker/CVE-2022-26353 qemu | CVE-2022-26354 | https://security-tracker.debian.org/tracker/CVE-2022-26354 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-server | CVE-2018-11087 | https://security-tracker.debian.org/tracker/CVE-2018-11087 rabbitmq-server | CVE-2018-1279 | https://security-tracker.debian.org/tracker/CVE-2018-1279 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rtl_433 | CVE-2022-27419 | https://security-tracker.debian.org/tracker/CVE-2022-27419 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-1050 | https://security-tracker.debian.org/tracker/CVE-2018-1050 samba4 | CVE-2018-1057 | https://security-tracker.debian.org/tracker/CVE-2018-1057 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tiff | CVE-2022-0561 | https://security-tracker.debian.org/tracker/CVE-2022-0561 tiff | CVE-2022-0562 | https://security-tracker.debian.org/tracker/CVE-2022-0562 tiff | CVE-2022-0865 | https://security-tracker.debian.org/tracker/CVE-2022-0865 tiff | CVE-2022-0891 | https://security-tracker.debian.org/tracker/CVE-2022-0891 tiff | CVE-2022-0907 | https://security-tracker.debian.org/tracker/CVE-2022-0907 tiff | CVE-2022-0908 | https://security-tracker.debian.org/tracker/CVE-2022-0908 tiff | CVE-2022-0909 | https://security-tracker.debian.org/tracker/CVE-2022-0909 tiff | CVE-2022-0924 | https://security-tracker.debian.org/tracker/CVE-2022-0924 tiff | CVE-2022-1056 | https://security-tracker.debian.org/tracker/CVE-2022-1056 tiff | CVE-2022-1210 | https://security-tracker.debian.org/tracker/CVE-2022-1210 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 unzip | CVE-2022-0529 | https://security-tracker.debian.org/tracker/CVE-2022-0529 unzip | CVE-2022-0530 | https://security-tracker.debian.org/tracker/CVE-2022-0530 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28038 | https://security-tracker.debian.org/tracker/CVE-2021-28038 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 CVEs for the '2022.02.x' branch ------------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-5000 | https://security-tracker.debian.org/tracker/CVE-2007-5000 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-0455 | https://security-tracker.debian.org/tracker/CVE-2008-0455 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2009-1890 | https://security-tracker.debian.org/tracker/CVE-2009-1890 apache | CVE-2009-1891 | https://security-tracker.debian.org/tracker/CVE-2009-1891 apache | CVE-2009-2699 | https://security-tracker.debian.org/tracker/CVE-2009-2699 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-0434 | https://security-tracker.debian.org/tracker/CVE-2010-0434 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-27607 | https://security-tracker.debian.org/tracker/CVE-2022-27607 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2021-45078 | https://security-tracker.debian.org/tracker/CVE-2021-45078 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bluez5_utils | CVE-2020-12352 | https://security-tracker.debian.org/tracker/CVE-2020-12352 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-12352 | https://security-tracker.debian.org/tracker/CVE-2020-12352 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 busybox | CVE-2022-28391 | https://security-tracker.debian.org/tracker/CVE-2022-28391 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 cairo | CVE-2019-6462 | https://security-tracker.debian.org/tracker/CVE-2019-6462 cairo | CVE-2020-35492 | https://security-tracker.debian.org/tracker/CVE-2020-35492 clamav | CVE-2016-1405 | https://security-tracker.debian.org/tracker/CVE-2016-1405 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2018-6553 | https://security-tracker.debian.org/tracker/CVE-2018-6553 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 darkhttpd | CVE-2020-25691 | https://security-tracker.debian.org/tracker/CVE-2020-25691 dnsmasq | CVE-2021-45951 | https://security-tracker.debian.org/tracker/CVE-2021-45951 dnsmasq | CVE-2021-45952 | https://security-tracker.debian.org/tracker/CVE-2021-45952 dnsmasq | CVE-2021-45953 | https://security-tracker.debian.org/tracker/CVE-2021-45953 dnsmasq | CVE-2021-45954 | https://security-tracker.debian.org/tracker/CVE-2021-45954 dnsmasq | CVE-2021-45955 | https://security-tracker.debian.org/tracker/CVE-2021-45955 dnsmasq | CVE-2021-45956 | https://security-tracker.debian.org/tracker/CVE-2021-45956 dnsmasq | CVE-2021-45957 | https://security-tracker.debian.org/tracker/CVE-2021-45957 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 e2fsprogs | CVE-2022-1304 | https://security-tracker.debian.org/tracker/CVE-2022-1304 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 erlang | CVE-2020-35733 | https://security-tracker.debian.org/tracker/CVE-2020-35733 exim | CVE-2020-28017 | https://security-tracker.debian.org/tracker/CVE-2020-28017 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2021-38291 | https://security-tracker.debian.org/tracker/CVE-2021-38291 git | CVE-2022-24765 | https://security-tracker.debian.org/tracker/CVE-2022-24765 git | CVE-2022-24975 | https://security-tracker.debian.org/tracker/CVE-2022-24975 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 go | CVE-2020-29509 | https://security-tracker.debian.org/tracker/CVE-2020-29509 go | CVE-2020-29511 | https://security-tracker.debian.org/tracker/CVE-2020-29511 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grub2 | CVE-2021-3981 | https://security-tracker.debian.org/tracker/CVE-2021-3981 grub2 | CVE-2021-46705 | https://security-tracker.debian.org/tracker/CVE-2021-46705 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2022-0711 | https://security-tracker.debian.org/tracker/CVE-2022-0711 heirloom-mailx | CVE-2004-2771 | https://security-tracker.debian.org/tracker/CVE-2004-2771 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libbpf | CVE-2021-45940 | https://security-tracker.debian.org/tracker/CVE-2021-45940 libbpf | CVE-2021-45941 | https://security-tracker.debian.org/tracker/CVE-2021-45941 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libpjsip | CVE-2022-24754 | https://security-tracker.debian.org/tracker/CVE-2022-24754 libpjsip | CVE-2022-24764 | https://security-tracker.debian.org/tracker/CVE-2022-24764 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2020-15888 | https://security-tracker.debian.org/tracker/CVE-2020-15888 lua | CVE-2020-15945 | https://security-tracker.debian.org/tracker/CVE-2020-15945 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 lua | CVE-2022-28805 | https://security-tracker.debian.org/tracker/CVE-2022-28805 mariadb | CVE-2021-46669 | https://security-tracker.debian.org/tracker/CVE-2021-46669 mariadb | CVE-2022-27376 | https://security-tracker.debian.org/tracker/CVE-2022-27376 mariadb | CVE-2022-27377 | https://security-tracker.debian.org/tracker/CVE-2022-27377 mariadb | CVE-2022-27378 | https://security-tracker.debian.org/tracker/CVE-2022-27378 mariadb | CVE-2022-27379 | https://security-tracker.debian.org/tracker/CVE-2022-27379 mariadb | CVE-2022-27380 | https://security-tracker.debian.org/tracker/CVE-2022-27380 mariadb | CVE-2022-27381 | https://security-tracker.debian.org/tracker/CVE-2022-27381 mariadb | CVE-2022-27382 | https://security-tracker.debian.org/tracker/CVE-2022-27382 mariadb | CVE-2022-27383 | https://security-tracker.debian.org/tracker/CVE-2022-27383 mariadb | CVE-2022-27384 | https://security-tracker.debian.org/tracker/CVE-2022-27384 mariadb | CVE-2022-27385 | https://security-tracker.debian.org/tracker/CVE-2022-27385 mariadb | CVE-2022-27386 | https://security-tracker.debian.org/tracker/CVE-2022-27386 mariadb | CVE-2022-27387 | https://security-tracker.debian.org/tracker/CVE-2022-27387 mariadb | CVE-2022-27444 | https://security-tracker.debian.org/tracker/CVE-2022-27444 mariadb | CVE-2022-27445 | https://security-tracker.debian.org/tracker/CVE-2022-27445 mariadb | CVE-2022-27446 | https://security-tracker.debian.org/tracker/CVE-2022-27446 mariadb | CVE-2022-27447 | https://security-tracker.debian.org/tracker/CVE-2022-27447 mariadb | CVE-2022-27448 | https://security-tracker.debian.org/tracker/CVE-2022-27448 mariadb | CVE-2022-27449 | https://security-tracker.debian.org/tracker/CVE-2022-27449 mariadb | CVE-2022-27451 | https://security-tracker.debian.org/tracker/CVE-2022-27451 mariadb | CVE-2022-27452 | https://security-tracker.debian.org/tracker/CVE-2022-27452 mariadb | CVE-2022-27455 | https://security-tracker.debian.org/tracker/CVE-2022-27455 mariadb | CVE-2022-27456 | https://security-tracker.debian.org/tracker/CVE-2022-27456 mariadb | CVE-2022-27457 | https://security-tracker.debian.org/tracker/CVE-2022-27457 mariadb | CVE-2022-27458 | https://security-tracker.debian.org/tracker/CVE-2022-27458 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-18381 | https://security-tracker.debian.org/tracker/CVE-2017-18381 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 mutt | CVE-2022-1328 | https://security-tracker.debian.org/tracker/CVE-2022-1328 nasm | CVE-2020-18974 | https://security-tracker.debian.org/tracker/CVE-2020-18974 ncurses | CVE-2021-39537 | https://security-tracker.debian.org/tracker/CVE-2021-39537 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjdk | CVE-2013-0169 | https://security-tracker.debian.org/tracker/CVE-2013-0169 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openjpeg | CVE-2016-9675 | https://security-tracker.debian.org/tracker/CVE-2016-9675 openjpeg | CVE-2021-29338 | https://security-tracker.debian.org/tracker/CVE-2021-29338 openjpeg | CVE-2021-3575 | https://security-tracker.debian.org/tracker/CVE-2021-3575 openjpeg | CVE-2022-1122 | https://security-tracker.debian.org/tracker/CVE-2022-1122 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 polkit | CVE-2021-4034 | https://security-tracker.debian.org/tracker/CVE-2021-4034 postgresql | CVE-2017-8806 | https://security-tracker.debian.org/tracker/CVE-2017-8806 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 pppd | CVE-2018-11574 | https://security-tracker.debian.org/tracker/CVE-2018-11574 python-django | CVE-2022-28346 | https://security-tracker.debian.org/tracker/CVE-2022-28346 python-django | CVE-2022-28347 | https://security-tracker.debian.org/tracker/CVE-2022-28347 python-m2crypto | CVE-2020-25657 | https://security-tracker.debian.org/tracker/CVE-2020-25657 python-pip | CVE-2018-20225 | https://security-tracker.debian.org/tracker/CVE-2018-20225 python-twisted | CVE-2022-24801 | https://security-tracker.debian.org/tracker/CVE-2022-24801 python3 | CVE-2015-20107 | https://security-tracker.debian.org/tracker/CVE-2015-20107 python3 | CVE-2022-26488 | https://security-tracker.debian.org/tracker/CVE-2022-26488 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2021-3947 | https://security-tracker.debian.org/tracker/CVE-2021-3947 qemu | CVE-2022-1050 | https://security-tracker.debian.org/tracker/CVE-2022-1050 qemu | CVE-2022-26353 | https://security-tracker.debian.org/tracker/CVE-2022-26353 qemu | CVE-2022-26354 | https://security-tracker.debian.org/tracker/CVE-2022-26354 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-server | CVE-2018-11087 | https://security-tracker.debian.org/tracker/CVE-2018-11087 rabbitmq-server | CVE-2018-1279 | https://security-tracker.debian.org/tracker/CVE-2018-1279 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rtl_433 | CVE-2022-27419 | https://security-tracker.debian.org/tracker/CVE-2022-27419 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-1050 | https://security-tracker.debian.org/tracker/CVE-2018-1050 samba4 | CVE-2018-1057 | https://security-tracker.debian.org/tracker/CVE-2018-1057 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 subversion | CVE-2021-28544 | https://security-tracker.debian.org/tracker/CVE-2021-28544 subversion | CVE-2022-24070 | https://security-tracker.debian.org/tracker/CVE-2022-24070 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tiff | CVE-2022-0561 | https://security-tracker.debian.org/tracker/CVE-2022-0561 tiff | CVE-2022-0562 | https://security-tracker.debian.org/tracker/CVE-2022-0562 tiff | CVE-2022-0865 | https://security-tracker.debian.org/tracker/CVE-2022-0865 tiff | CVE-2022-0891 | https://security-tracker.debian.org/tracker/CVE-2022-0891 tiff | CVE-2022-0907 | https://security-tracker.debian.org/tracker/CVE-2022-0907 tiff | CVE-2022-0908 | https://security-tracker.debian.org/tracker/CVE-2022-0908 tiff | CVE-2022-0909 | https://security-tracker.debian.org/tracker/CVE-2022-0909 tiff | CVE-2022-0924 | https://security-tracker.debian.org/tracker/CVE-2022-0924 tiff | CVE-2022-1056 | https://security-tracker.debian.org/tracker/CVE-2022-1056 tiff | CVE-2022-1210 | https://security-tracker.debian.org/tracker/CVE-2022-1210 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 unzip | CVE-2022-0529 | https://security-tracker.debian.org/tracker/CVE-2022-0529 unzip | CVE-2022-0530 | https://security-tracker.debian.org/tracker/CVE-2022-0530 usbguard | CVE-2019-25058 | https://security-tracker.debian.org/tracker/CVE-2019-25058 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28038 | https://security-tracker.debian.org/tracker/CVE-2021-28038 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 xscreensaver | CVE-2021-34557 | https://security-tracker.debian.org/tracker/CVE-2021-34557 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 zlog | CVE-2021-43521 | https://security-tracker.debian.org/tracker/CVE-2021-43521 -- http://autobuild.buildroot.net From arnout at mind.be Mon Apr 25 05:42:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 07:42:48 +0200 Subject: [Buildroot] Removing BR2_SHARED_STATIC_LIBS [was: [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build] In-Reply-To: <20220424163350.GX2730@scaer> References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> <20220424163350.GX2730@scaer> Message-ID: <56cf3cb2-d00b-b957-8b0b-2a095e5797a0@mind.be> On 24/04/2022 18:33, Yann E. MORIN wrote: [snip] > I have always been a bit confused on how BR2_SHARED_STATIC_LIBS was > supposed to work, to be honest... Sure, it meant we wanted to _build_ > both the static and shared libs. The problem is that it only actually works for autotools packages. They are still dominant (more than 1/3 of all packages), but diminishing fast and many "headline" packages are no longer autotools. I don't really like to have an option that doesn't even work for most packages. Regards, Arnout > But how were we going to tell packages > whether they were supposed to link staticially or not? > > Surely we do not want a per-package option... Then we're left with > deciding at the package's .mk level, by hard-coding some heuristic to > decide. > > In upstream, we have no such case where we'd want a package to be > statically linked even in the presence of shared libraries (maybe the > the exception being busybox, for those who want to cheaply build an > initrd before pivoting in the final rootfs, but that can be done with > a config fragment or a custom config file in any case). > > This leaves out-of-tree packages. > > In that case, there can be tons of reasons to prefer a static link even > in the presence of shared libraries. > > So, the real quesiton is whether we want to support that use-case or > not. > > If we do, then we need to keep BR2_SHARED_STATIC_LIBS and fix those > packages that misbehave in its presence, like done for dropbear. > > Regards, > Yann E. MORIN. > > From buildroot at heine.tech Mon Apr 25 08:04:13 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Mon, 25 Apr 2022 10:04:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/re2: bump to version 2022-04-01 Message-ID: <20220425080413.769861-1-buildroot@heine.tech> Signed-off-by: Michael Nosthoff --- package/re2/re2.hash | 2 +- package/re2/re2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/re2/re2.hash b/package/re2/re2.hash index 7cfece5d5e..28f407cc32 100644 --- a/package/re2/re2.hash +++ b/package/re2/re2.hash @@ -1,3 +1,3 @@ # locally calculated -sha256 9c1e6acfd0fed71f40b025a7a1dabaf3ee2ebb74d64ced1f9ee1b0b01d22fd27 re2-2022-02-01.tar.gz +sha256 1ae8ccfdb1066a731bba6ee0881baad5efd2cd661acd9569b689f2586e1a50e9 re2-2022-04-01.tar.gz sha256 6040cda75d90b1738292a631d89934c411ef7ffd543c4d6a1b7edfc8edf29449 LICENSE diff --git a/package/re2/re2.mk b/package/re2/re2.mk index 30791a68e5..b6d29c3caf 100644 --- a/package/re2/re2.mk +++ b/package/re2/re2.mk @@ -4,7 +4,7 @@ # ################################################################################ -RE2_VERSION = 2022-02-01 +RE2_VERSION = 2022-04-01 RE2_SITE = $(call github,google,re2,$(RE2_VERSION)) RE2_LICENSE = BSD-3-Clause RE2_LICENSE_FILES = LICENSE -- 2.25.1 From buildroot at heine.tech Mon Apr 25 08:05:03 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Mon, 25 Apr 2022 10:05:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 3.20.1 Message-ID: <20220425080503.769954-1-buildroot@heine.tech> Signed-off-by: Michael Nosthoff --- package/protobuf/protobuf.hash | 2 +- package/protobuf/protobuf.mk | 2 +- package/python-protobuf/python-protobuf.hash | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash index 60e64f54d4..f37b2dee40 100644 --- a/package/protobuf/protobuf.hash +++ b/package/protobuf/protobuf.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk index 80764f0216..c4c33ba7da 100644 --- a/package/protobuf/protobuf.mk +++ b/package/protobuf/protobuf.mk @@ -7,7 +7,7 @@ # When bumping this package, make sure to also verify if the # python-protobuf package still works and to update its hash, # as they share the same version/site variables. -PROTOBUF_VERSION = 3.19.1 +PROTOBUF_VERSION = 3.20.1 PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) PROTOBUF_LICENSE = BSD-3-Clause diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash index 2bfef96676..ddfa48b491 100644 --- a/package/python-protobuf/python-protobuf.hash +++ b/package/python-protobuf/python-protobuf.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -- 2.25.1 From baruch at tkos.co.il Mon Apr 25 08:14:28 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Mon, 25 Apr 2022 11:14:28 +0300 Subject: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 3.20.1 In-Reply-To: <20220425080503.769954-1-buildroot@heine.tech> References: <20220425080503.769954-1-buildroot@heine.tech> Message-ID: <87o80p1sv8.fsf@tarshish> Hi Michael, On Mon, Apr 25 2022, Michael Nosthoff via buildroot wrote: > Signed-off-by: Michael Nosthoff > --- > package/protobuf/protobuf.hash | 2 +- > package/protobuf/protobuf.mk | 2 +- > package/python-protobuf/python-protobuf.hash | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash > index 60e64f54d4..f37b2dee40 100644 > --- a/package/protobuf/protobuf.hash > +++ b/package/protobuf/protobuf.hash > @@ -1,3 +1,3 @@ > # Locally calculated > sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE > -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz > +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz > diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk > index 80764f0216..c4c33ba7da 100644 > --- a/package/protobuf/protobuf.mk > +++ b/package/protobuf/protobuf.mk > @@ -7,7 +7,7 @@ > # When bumping this package, make sure to also verify if the > # python-protobuf package still works and to update its hash, > # as they share the same version/site variables. > -PROTOBUF_VERSION = 3.19.1 > +PROTOBUF_VERSION = 3.20.1 > PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz > PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) > PROTOBUF_LICENSE = BSD-3-Clause > diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash > index 2bfef96676..ddfa48b491 100644 > --- a/package/python-protobuf/python-protobuf.hash > +++ b/package/python-protobuf/python-protobuf.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz > +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz The version update in python-protobuf.mk is missing. baruch > sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From buildroot at heine.tech Mon Apr 25 08:05:44 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Mon, 25 Apr 2022 10:05:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/grpc: bump to version 1.45.2 Message-ID: <20220425080544.770047-1-buildroot@heine.tech> grpc now requires gcc >= 5.1 see https://groups.google.com/g/grpc-io/c/Plvp29818BE Signed-off-by: Michael Nosthoff --- package/grpc/Config.in | 6 +++--- package/grpc/grpc.hash | 2 +- package/grpc/grpc.mk | 10 +--------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/package/grpc/Config.in b/package/grpc/Config.in index ad3ddbcf19..adba1cea52 100644 --- a/package/grpc/Config.in +++ b/package/grpc/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_GRPC depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5_1 depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS @@ -19,9 +19,9 @@ config BR2_PACKAGE_GRPC http://github.com/grpc/grpc -comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9" +comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 5.1" depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_5_1 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS diff --git a/package/grpc/grpc.hash b/package/grpc/grpc.hash index 6db2acd759..9e3a225a51 100644 --- a/package/grpc/grpc.hash +++ b/package/grpc/grpc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8c05641b9f91cbc92f51cc4a5b3a226788d7a63f20af4ca7aaca50d92cc94a0d grpc-1.44.0.tar.gz +sha256 e18b16f7976aab9a36c14c38180f042bb0fd196b75c9fd6a20a2b5f934876ad6 grpc-1.45.2.tar.gz sha256 277adcc1dcef8359b1efb48e628635f88b40be8fbd64e82fd0169930d135d7a5 LICENSE diff --git a/package/grpc/grpc.mk b/package/grpc/grpc.mk index 9138b4ea59..2f037b5d59 100644 --- a/package/grpc/grpc.mk +++ b/package/grpc/grpc.mk @@ -4,7 +4,7 @@ # ################################################################################ -GRPC_VERSION = 1.44.0 +GRPC_VERSION = 1.45.2 GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) GRPC_LICENSE = Apache-2.0, BSD-3-Clause (third_party code), MPL-2.0 (etc/roots.pem) GRPC_LICENSE_FILES = LICENSE @@ -63,14 +63,6 @@ GRPC_CFLAGS += -O0 GRPC_CXXFLAGS += -O0 endif -# Toolchains older than gcc5 will fail to compile with -0s due to: -# error: failure memory model cannot be stronger than success memory model for -# '__atomic_compare_exchange', so we use -O2 in these cases -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5):$(BR2_OPTIMIZE_S),:y) -GRPC_CFLAGS += -O2 -GRPC_CXXFLAGS += -O2 -endif - GRPC_CONF_OPTS += \ -DCMAKE_C_FLAGS="$(GRPC_CFLAGS)" \ -DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)" -- 2.25.1 From ambi at samba.org Mon Apr 25 08:16:26 2022 From: ambi at samba.org (ambi at samba.org) Date: Mon, 25 Apr 2022 10:16:26 +0200 Subject: [Buildroot] [PATCH 2/2] package/openjdk: enable for host architecture aarch64 In-Reply-To: <20220425081626.80691-1-ambi@samba.org> References: <20220425081626.80691-1-ambi@samba.org> Message-ID: <20220425081626.80691-2-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in index 8b7fd4653e..8fbe51a27f 100644 --- a/package/openjdk/Config.in +++ b/package/openjdk/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS bool default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "aarch64" # Taken from make/autoconf/platform.m4 config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS -- 2.25.1 From ambi at samba.org Mon Apr 25 08:16:25 2022 From: ambi at samba.org (ambi at samba.org) Date: Mon, 25 Apr 2022 10:16:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarch64 In-Reply-To: References: Message-ID: <20220425081626.80691-1-ambi@samba.org> From: Christian Ambach Signed-off-by: Christian Ambach --- package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index 62691ed6f0..4d3942125f 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48 OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz +sha256 302caf29f73481b2b914ba2b89705036010c65eb9bc8d7712b27d6e9bedf6200 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.2_8.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz +sha256 79572f5172c6a040591d34632f98a20ed148702bbce2f57649e8ac01c0d2e3db OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.14.1_1.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 3d1ebd7429..5cb6e3ba6a 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,16 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 endif + +ifeq ($(HOSTARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOSTARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -- 2.25.1 From baruch at tkos.co.il Mon Apr 25 08:16:38 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Mon, 25 Apr 2022 11:16:38 +0300 Subject: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 3.20.1 In-Reply-To: <87o80p1sv8.fsf@tarshish> References: <20220425080503.769954-1-buildroot@heine.tech> <87o80p1sv8.fsf@tarshish> Message-ID: <87k0bd1sq4.fsf@tarshish> Hi Michael, On Mon, Apr 25 2022, Baruch Siach via buildroot wrote: > On Mon, Apr 25 2022, Michael Nosthoff via buildroot wrote: > >> Signed-off-by: Michael Nosthoff >> --- >> package/protobuf/protobuf.hash | 2 +- >> package/protobuf/protobuf.mk | 2 +- >> package/python-protobuf/python-protobuf.hash | 2 +- >> 3 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash >> index 60e64f54d4..f37b2dee40 100644 >> --- a/package/protobuf/protobuf.hash >> +++ b/package/protobuf/protobuf.hash >> @@ -1,3 +1,3 @@ >> # Locally calculated >> sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE >> -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz >> +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz >> diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk >> index 80764f0216..c4c33ba7da 100644 >> --- a/package/protobuf/protobuf.mk >> +++ b/package/protobuf/protobuf.mk >> @@ -7,7 +7,7 @@ >> # When bumping this package, make sure to also verify if the >> # python-protobuf package still works and to update its hash, >> # as they share the same version/site variables. >> -PROTOBUF_VERSION = 3.19.1 >> +PROTOBUF_VERSION = 3.20.1 >> PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz >> PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) >> PROTOBUF_LICENSE = BSD-3-Clause >> diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash >> index 2bfef96676..ddfa48b491 100644 >> --- a/package/python-protobuf/python-protobuf.hash >> +++ b/package/python-protobuf/python-protobuf.hash >> @@ -1,3 +1,3 @@ >> # Locally calculated >> -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz >> +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz > > The version update in python-protobuf.mk is missing. I misread the commit in protobuf.mk. Sorry for the noise. Something went wrong with the Cc list. I hope it's fixed now. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From buildroot at heine.tech Mon Apr 25 08:39:01 2022 From: buildroot at heine.tech (Michael Nosthoff) Date: Mon, 25 Apr 2022 10:39:01 +0200 Subject: [Buildroot] =?utf-8?q?=5BPATCH_1/1=5D_package/=7Bpython-=7Dproto?= =?utf-8?q?buf=3A_bump_to_version_3=2E20=2E1?= In-Reply-To: <87k0bd1sq4.fsf@tarshish> Message-ID: On Monday, April 25, 2022 10:16 CEST, Baruch Siach wrote: Hi, > Hi Michael, > > On Mon, Apr 25 2022, Baruch Siach via buildroot wrote: > > > > The version update in python-protobuf.mk is missing. > > I misread the commit in protobuf.mk. Sorry for the noise. The package for python-protobuf is a bit uncommon. So the usual patch checking patterns fail ;) > > Something went wrong with the Cc list. I hope it's fixed now. My fault. I messed up the CC List while reviewing the patch in git send-email. But I think the patch came through anyways. Michael From tianyuanhao3 at 163.com Mon Apr 25 11:11:48 2022 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Mon, 25 Apr 2022 04:11:48 -0700 Subject: [Buildroot] [PATCH] package/udev: move render and sgx out of UDEV_USERS Message-ID: <20220425111148.87319-1-tianyuanhao3@163.com> Moved group render and group sgx into UDEV_USERS_SYSTEMD as they currently only appear in systemd's udev rules. In systemd, group render was introduced since commit 4e15a73, and group sgx was introduced since commit c9c4899. In eudev, group render was introduced since commit bb070c1, but was removed since commit a8ffcd1 [1]. [1]: https://github.com/eudev-project/eudev/issues/160 Signed-off-by: TIAN Yuanhao Cc: Yann E. MORIN --- package/systemd/systemd.mk | 2 -- package/udev/udev.mk | 7 +++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..1f2bc108bf 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -602,8 +602,6 @@ define SYSTEMD_PERMISSIONS endef define SYSTEMD_USERS - # udev user groups - # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) $(SYSTEMD_COREDUMP_USER) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index ce93d98431..40d12ad469 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -4,11 +4,14 @@ # ################################################################################ -# Required by default rules for input devices define UDEV_USERS - - input -1 * - - - Input device group - - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes + $(UDEV_USERS_$(call UPPERCASE,$(call qstrip,$(BR2_PACKAGE_PROVIDES_UDEV)))) +endef + +define UDEV_USERS_SYSTEMD + - - render -1 * - - - DRI rendering nodes - - sgx -1 * - - - SGX device nodes endef -- 2.35.1 From dariobin at libero.it Mon Apr 25 14:42:13 2022 From: dariobin at libero.it (Dario Binacchi) Date: Mon, 25 Apr 2022 16:42:13 +0200 Subject: [Buildroot] [PATCH 2/2] package/libmnl: add myself to DEVELOPERS In-Reply-To: <20220425144213.3937-1-dariobin@libero.it> References: <20220425144213.3937-1-dariobin@libero.it> Message-ID: <20220425144213.3937-2-dariobin@libero.it> Add myself to DEVELOPERS as maintainer of libmnl. Signed-off-by: Dario Binacchi --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index 1bb90f8f33..4ddbf5d533 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -654,6 +654,7 @@ F: package/xinetd/ N: Dario Binacchi F: package/davinci-bootcount/ +F: package/libmnl/ N: David Bachelart F: package/ccrypt/ -- 2.17.1 From dariobin at libero.it Mon Apr 25 14:42:12 2022 From: dariobin at libero.it (Dario Binacchi) Date: Mon, 25 Apr 2022 16:42:12 +0200 Subject: [Buildroot] [PATCH 1/2] package/libmnl: bump to version 1.0.5 Message-ID: <20220425144213.3937-1-dariobin@libero.it> Signed-off-by: Dario Binacchi --- package/libmnl/libmnl.hash | 6 +++--- package/libmnl/libmnl.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libmnl/libmnl.hash b/package/libmnl/libmnl.hash index e5bb2fa603..b3665767f7 100644 --- a/package/libmnl/libmnl.hash +++ b/package/libmnl/libmnl.hash @@ -1,6 +1,6 @@ -# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.4.tar.bz2.{md5sum,sha1sum} -md5 be9b4b5328c6da1bda565ac5dffadb2d libmnl-1.0.4.tar.bz2 -sha1 2db40dea612e88c62fd321906be40ab5f8f1685a libmnl-1.0.4.tar.bz2 +# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.5.tar.bz2.{md5sum,sha1sum} +md5 0bbb70573119ec5d49435114583e7a49 libmnl-1.0.5.tar.bz2 +sha1 63c6456b77f7978a7b37e62c1b38346b2ef2d91c libmnl-1.0.5.tar.bz2 # Hash for license file: sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libmnl/libmnl.mk b/package/libmnl/libmnl.mk index d3b33db2e0..3361d05248 100644 --- a/package/libmnl/libmnl.mk +++ b/package/libmnl/libmnl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMNL_VERSION = 1.0.4 +LIBMNL_VERSION = 1.0.5 LIBMNL_SOURCE = libmnl-$(LIBMNL_VERSION).tar.bz2 LIBMNL_SITE = http://netfilter.org/projects/libmnl/files LIBMNL_INSTALL_STAGING = YES -- 2.17.1 From universeiii at gmx.de Mon Apr 25 15:40:59 2022 From: universeiii at gmx.de (Andreas Ehmanns) Date: Mon, 25 Apr 2022 17:40:59 +0200 Subject: [Buildroot] Enable missing security options for ISC dhcp server In-Reply-To: <20220128145103.3422-1-universeiii@gmx.de> References: <20220128145103.3422-1-universeiii@gmx.de> Message-ID: Dear all, I was trying to make the ISC dhcp daemon more secure by using the -user and -group option to let dhcp server run as non-root user. Unfortunately these options are not available when building ISC dhcp server with buildroot. The reason is, that the configure script must be called with the additional option --enable-paranoia to activate these options. But this option is not set in the dhcp.mk file. To be backward compatible I added a new option to the dhcp's Config.in to enable this feature when desired. If you are interested in this feature and can create a patch and send it this list to make the change available to all buildroot users. Let me know what you think. Below are some details. Regards, Andreas 1) Add this to Config.in: config BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA ??????? bool "Enable paranoia options" ??????? depends on BR2_PACKAGE_DHCP_SERVER ??????? help ????????? Add option --enable-paranoia to configure script. This activates ????????? additional server options (-user, -group and -chroot) to make dhcp server more secure. 2) And to dhcp.mk: ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) DHCP_CONF_OPTS += --enable-paranoia endif -------------- next part -------------- An HTML attachment was scrubbed... URL: From flaniel at linux.microsoft.com Mon Apr 25 16:43:17 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 25 Apr 2022 17:43:17 +0100 Subject: [Buildroot] [RFC PATCH v4 0/2] Bump sysdig to 0.29.1 Message-ID: <20220425164319.24788-1-flaniel@linux.microsoft.com> Hi. In this contribution, I bumped sysdig version to 0.29.1. Indeed, following this discussion [1], Arnout Vandecappelle noted sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses the open() syscall. To fix this, I bumped sysdig to 0.29.1. Sadly, some components of sysdig, like libsinsp, libscap and the kernel modules, were moved to falcosecurity/libs. So, I added the falcosecurity-libs package. A new patch was added to sysdig recipe to avoid compiling again falcosecurity-libs. Nonetheless, this patch is a bit big, so I prefered to keep the RFC tag to gather your opinion about it. I was nonetheless able to build and run sysdig with start-qemu.sh: Welcome to Buildroot buildroot login: root # scap: loading out-of-tree module taints kernel. scap: driver loading, scap 0.1.1dev scap: adding new consumer (____ptrval____) scap: initializing ring buffer for CPU 0 scap: CPU buffer initialized, size=8388608 scap: starting capture 2 14:29:14.500045202 0 (113) > switch next=10 pgft_maj=212 pgft_min=1175 vm_size=45204 vm_rss=18256 vm_swap=0 ... 97 14:29:14.514272929 0 (113) > switch next=114 pgft_maj=213 pgft_min=1180 vm_size=45204 vm_rss=18256 vm_swap= scap: deallocating consumer (____ptrval____) scap: no more consumers, stopping capture So, if you see a particular way to fix the problem I described above or any problem with this contribution, feel free to share it! Changes since: v3: - Make falcosecurity-libs a generic-package and a kernel-package. The generic-package will download us the libraries (libscap and libsinsp) which will be built by sysdig.mk. The kernel-package will build the kernel module. This permitted to simplify the overall contribution architecture by removing some patches. v2: - Add linux CONFIG_ option to execute falcosecurity-libs kernel module. - falcosecurity-libs driver name was set so sysdig automatically loads it. Francis Laniel (2): falcosecurity-libs: add new package package/sysdig: bump to 0.29.1 DEVELOPERS | 1 + package/Config.in | 1 + ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 ++++++++ package/falcosecurity-libs/Config.in | 38 +++++++++ .../falcosecurity-libs.hash | 5 ++ .../falcosecurity-libs/falcosecurity-libs.mk | 75 +++++++++++++++++ ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ package/sysdig/Config.in | 31 ++----- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 55 ++++++------- 13 files changed, 295 insertions(+), 188 deletions(-) create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch create mode 100644 package/falcosecurity-libs/Config.in create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch create mode 100644 package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch Best regards and thank you in advance. --- [1] https://marc.info/?l=buildroot&m=164951521629400 -- 2.25.1 From flaniel at linux.microsoft.com Mon Apr 25 16:43:18 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 25 Apr 2022 17:43:18 +0100 Subject: [Buildroot] [RFC PATCH v4 1/2] falcosecurity-libs: add new package In-Reply-To: <20220425164319.24788-1-flaniel@linux.microsoft.com> References: <20220425164319.24788-1-flaniel@linux.microsoft.com> Message-ID: <20220425164319.24788-2-flaniel@linux.microsoft.com> Signed-off-by: Francis Laniel --- DEVELOPERS | 1 + package/Config.in | 1 + ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 ++++++++ package/falcosecurity-libs/Config.in | 30 +++++++ .../falcosecurity-libs.hash | 5 ++ .../falcosecurity-libs/falcosecurity-libs.mk | 80 +++++++++++++++++++ 6 files changed, 151 insertions(+) create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch create mode 100644 package/falcosecurity-libs/Config.in create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk diff --git a/DEVELOPERS b/DEVELOPERS index ca9decb58f..d45d3d2a7b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -969,6 +969,7 @@ F: package/ipmitool/ F: package/odhcploc/ N: Francis Laniel +F: package/falcosecurity-libs F: package/pahole/ F: package/sysdig/ F: package/tbb/ diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..3070094cc0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1935,6 +1935,7 @@ menu "Other" source "package/eigen/Config.in" source "package/elfutils/Config.in" source "package/ell/Config.in" + source "package/falcosecurity-libs/Config.in" source "package/fftw/Config.in" source "package/flann/Config.in" source "package/flatbuffers/Config.in" diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch new file mode 100644 index 0000000000..6141d8ef72 --- /dev/null +++ b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch @@ -0,0 +1,34 @@ +From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Tue, 12 Apr 2022 19:54:11 +0100 +Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN. + +This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with: +cmake -DGRPC_CPP_PLUGIN=/path + +Signed-off-by: Francis Laniel +--- + cmake/modules/grpc.cmake | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake +index e5fd16b8..9d8f5934 100644 +--- a/cmake/modules/grpc.cmake ++++ b/cmake/modules/grpc.cmake +@@ -12,9 +12,11 @@ elseif(NOT USE_BUNDLED_GRPC) + set(GRPCPP_LIB gRPC::grpc++) + + # gRPC C++ plugin +- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) + if(NOT GRPC_CPP_PLUGIN) +- message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) ++ if(NOT GRPC_CPP_PLUGIN) ++ message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ endif() + endif() + + # gRPC include dir + properly handle grpc{++,pp} +-- +2.25.1 + diff --git a/package/falcosecurity-libs/Config.in b/package/falcosecurity-libs/Config.in new file mode 100644 index 0000000000..e0b5a3d134 --- /dev/null +++ b/package/falcosecurity-libs/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_FALCOSECURITY_LIBS + bool + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_LINUX_KERNEL + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # jq, protobuf, tbb + depends on !BR2_STATIC_LIBS # protobuf, tbb + depends on BR2_TOOLCHAIN_USES_GLIBC # tbb + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC + select BR2_PACKAGE_GTEST + select BR2_PACKAGE_HOST_GRPC + select BR2_PACKAGE_HOST_PROTOBUF + select BR2_PACKAGE_JQ + select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_LIBB64 + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB + select BR2_PACKAGE_VALIJSON + select BR2_PACKAGE_ZLIB + help + falcosecurity/libs provides libsinsp, libscap, the kernel + module driver and the eBPF driver sources. + + https://github.com/falcosecurity/libs diff --git a/package/falcosecurity-libs/falcosecurity-libs.hash b/package/falcosecurity-libs/falcosecurity-libs.hash new file mode 100644 index 0000000000..7608c67590 --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.hash @@ -0,0 +1,5 @@ +# sha256 locally computed +sha256 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz +sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt +sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/falcosecurity-libs/falcosecurity-libs.mk b/package/falcosecurity-libs/falcosecurity-libs.mk new file mode 100644 index 0000000000..96c762f336 --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.mk @@ -0,0 +1,80 @@ +################################################################################ +# +# falcosecurity-libs +# +################################################################################ + +FALCOSECURITY_LIBS_VERSION = e5c53d648f3c4694385bbe488e7d47eaa36c229a +FALCOSECURITY_LIBS_SITE = $(call github,falcosecurity,libs,$(FALCOSECURITY_LIBS_VERSION)) +FALCOSECURITY_LIBS_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) +FALCOSECURITY_LIBS_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +FALCOSECURITY_LIBS_CPE_ID_VENDOR = falco +FALCOSECURITY_LIBS_SUPPORTS_IN_SOURCE_BUILD = NO + +FALCOSECURITY_LIBS_DEPENDENCIES = \ + c-ares \ + elfutils \ + grpc \ + gtest \ + host-grpc \ + host-protobuf \ + jq \ + jsoncpp \ + libb64 \ + libcurl \ + luainterpreter \ + openssl \ + protobuf \ + tbb \ + valijson \ + zlib + +FALCOSECURITY_LIBS_DRIVER_NAME = scap +FALCOSECURITY_LIBS_MODULE_SUBDIRS = driver +FALCOSECURITY_LIBS_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) + +# falcosecurity-libs module needs these two kernel options to be set: +# CONFIG_TRACEPOINTS +# CONFIG_HAVE_SYSCALL_TRACEPOINTS +# https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-from-the-Source-Code#linux-and-osx +# CONFIG_FTRACE and CONFIG_SCHED_TRACER selects CONFIG_GENERIC_TRACER which in +# turns select CONFIG_TRACING which in turns select CONFIG_TRACEPOINTS +define FALCOSECURITY_LIBS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE) + $(call KCONFIG_ENABLE_OPT,CONFIG_SCHED_TRACER) + $(call KCONFIG_ENABLE_OPT,CONFIG_HAVE_SYSCALL_TRACEPOINTS) +endef + +# falcosecurity-libs creates the module Makefile from a template, which contains +# a single place-holder, KBUILD_FLAGS, wich is only replaced with debug flags, +# which we don't care about here. +# So, just replace the place-holder with the only meaningful value: nothing. +# For the DRIVER_NAME, we set it to FALCOSECURITY_LIBS_DRIVER_NAME. +# So, when sysdig will be run, it will automatically load +# FALCOSECURITY_LIBS_DRIVER_NAME.ko. +# We also need to do the same process for driver_config.h.in. +# PPM_API_CURRENT_VERSION_* were take from driver/API_VERSION and +# PPM_SCHEMA_CURRENT_VERSION_* from driver/SCHEMA_VERSION. +# For the others, it was taken by inspecting +# falcosecurity-libs/*/CMakeLists.txt. +define FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile + $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile + $(SED) 's/@DRIVER_NAME@/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/Makefile + + $(INSTALL) -m 0644 $(@D)/driver/driver_config.h.in $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_VERSION}//;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_DEVICE_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${GIT_COMMIT}/0.1.1dev/;' $(@D)/driver/driver_config.h +endef +FALCOSECURITY_LIBS_POST_PATCH_HOOKS += FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + +$(eval $(kernel-module)) +$(eval $(generic-package)) -- 2.25.1 From flaniel at linux.microsoft.com Mon Apr 25 16:43:19 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 25 Apr 2022 17:43:19 +0100 Subject: [Buildroot] [RFC PATCH v4 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: <20220425164319.24788-1-flaniel@linux.microsoft.com> References: <20220425164319.24788-1-flaniel@linux.microsoft.com> Message-ID: <20220425164319.24788-3-flaniel@linux.microsoft.com> sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() syscall [1]. This patch bumps its version to enable cross-compilation. By doing so, we can remove the previous patches. But this commit introduces new patches. Indeed, libsinsp (lib system inspection), libscap (lib system capture) and the kernel module were moved to falcosecurity/libs. Sadly, it is not possible to compile sysdig with pre-compiled libs (like we do in buildroot). So, this contribution introduces a new patch to build sysdig with already built falcosecurity/libs. [1] https://marc.info/?l=buildroot&m=164951521629400 Signed-off-by: Francis Laniel --- ...BUNDLED_DEPS-before-getting-nlohmann.patch | 52 ++++++++++++ ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- package/sysdig/Config.in | 18 ++-- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 55 +++++-------- 6 files changed, 79 insertions(+), 179 deletions(-) create mode 100644 package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch delete mode 100644 package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch delete mode 100644 package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch diff --git a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch new file mode 100644 index 0000000000..3521bd3f8d --- /dev/null +++ b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch @@ -0,0 +1,52 @@ +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 13 Apr 2022 18:01:11 +0100 +Subject: [PATCH] cmake: Check USE_BUNDLED_DEPS before getting + nlohmann-json. + +Upstream: https://github.com/draios/sysdig/pull/1869 +Signed-off-by: Francis Laniel +--- + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- + 1 file changed, 19 insertions(+), 10 deletions(-) + +diff --git a/cmake/modules/nlohmann-json.cmake b/cmake/modules/nlohmann-json.cmake +index bb1279d7..feb0f071 100644 +--- a/cmake/modules/nlohmann-json.cmake ++++ b/cmake/modules/nlohmann-json.cmake +@@ -16,13 +16,22 @@ + # limitations under the License. + # + +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") +-ExternalProject_Add( +- njson +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" +- URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" +- CONFIGURE_COMMAND "" +- BUILD_COMMAND "" +- INSTALL_COMMAND "") ++if(NOT USE_BUNDLED_DEPS) ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) ++ if(NJSON_INCLUDE_DIR) ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") ++ else() ++ message(FATAL_ERROR "Couldn't find system njson") ++ endif() ++else() ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") ++ ExternalProject_Add( ++ njson ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" ++ URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" ++ CONFIGURE_COMMAND "" ++ BUILD_COMMAND "" ++ INSTALL_COMMAND "") ++endif() +-- +2.25.1 + diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch deleted file mode 100644 index 7873210281..0000000000 --- a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch +++ /dev/null @@ -1,82 +0,0 @@ -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Wed, 6 Apr 2022 16:54:37 +0100 -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. - -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and -luaL_Reg. -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function -call as well. -Note that, this PATCH_COMMAND was added in sysdig in: -a064440394c9 ("Adding power support to Travis builds (#1566)") - -This patch is also present in kubernetes/minikube in: -f036c279bc59 ("Add patch for compiling sysdig with system luajit") - -Signed-off-by: Francis Laniel ---- - userspace/libsinsp/chisel.cpp | 6 +++--- - userspace/libsinsp/lua_parser.cpp | 2 +- - userspace/libsinsp/lua_parser_api.cpp | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp -index 0a6e3cf8..0c2e255a 100644 ---- a/userspace/libsinsp/chisel.cpp -+++ b/userspace/libsinsp/chisel.cpp -@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) - // Lua callbacks - /////////////////////////////////////////////////////////////////////////////// - #ifdef HAS_LUA_CHISELS --const static struct luaL_reg ll_sysdig [] = -+const static struct luaL_Reg ll_sysdig [] = - { - {"set_filter", &lua_cbacks::set_global_filter}, - {"set_snaplen", &lua_cbacks::set_snaplen}, -@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_chisel [] = -+const static struct luaL_Reg ll_chisel [] = - { - {"request_field", &lua_cbacks::request_field}, - {"set_filter", &lua_cbacks::set_filter}, -@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_evt [] = -+const static struct luaL_Reg ll_evt [] = - { - {"field", &lua_cbacks::field}, - {"get_num", &lua_cbacks::get_num}, -diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp -index 0e26617d..78810d96 100644 ---- a/userspace/libsinsp/lua_parser.cpp -+++ b/userspace/libsinsp/lua_parser.cpp -@@ -32,7 +32,7 @@ extern "C" { - #include "lauxlib.h" - } - --const static struct luaL_reg ll_filter [] = -+const static struct luaL_Reg ll_filter [] = - { - {"rel_expr", &lua_parser_cbacks::rel_expr}, - {"bool_op", &lua_parser_cbacks::bool_op}, -diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp -index c89e9126..c3d8008a 100644 ---- a/userspace/libsinsp/lua_parser_api.cpp -+++ b/userspace/libsinsp/lua_parser_api.cpp -@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) - string err = "Got non-table as in-expression operand\n"; - throw sinsp_exception("parser API error"); - } -- int n = luaL_getn(ls, 4); /* get size of table */ -+ int n = lua_objlen (ls, 4); /* get size of table */ - for (i=1; i<=n; i++) - { - lua_rawgeti(ls, 4, i); --- -2.25.1 - diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch deleted file mode 100644 index a9155fbb4a..0000000000 --- a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Thu, 7 Apr 2022 18:30:23 +0100 -Subject: [PATCH] Link against libabseil-cpp which grpc uses. - -This patch was taken from: -55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") [1] -from hhoffstaette/portage. - -[1] https://github.com/hhoffstaette/portage/blob/55c96b61f7b91e4d91bed6723e86c00dd91f8d16/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch - -Signed-off-by: Francis Laniel ---- - CMakeLists.txt | 1 + - userspace/libsinsp/CMakeLists.txt | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1f34f1d6..c0354b29 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) - else() - message(FATAL_ERROR "Couldn't find system grpc") - endif() -+ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) - find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) - if(NOT GRPC_CPP_PLUGIN) - message(FATAL_ERROR "System grpc_cpp_plugin not found") -diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt -index d72f9115..d1b7ea02 100644 ---- a/userspace/libsinsp/CMakeLists.txt -+++ b/userspace/libsinsp/CMakeLists.txt -@@ -214,6 +214,10 @@ if(NOT WIN32) - "${JQ_LIB}" - "${B64_LIB}") - -+ if(ABSL_SYNC_LIB) -+ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") -+ endif() -+ - if(NOT MUSL_OPTIMIZED_BUILD) - target_link_libraries(sinsp - rt --- -2.25.1 - diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index c124054105..392d858ac6 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -2,25 +2,17 @@ config BR2_PACKAGE_SYSDIG bool "sysdig" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb, yaml-cpp depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb depends on BR2_USE_WCHAR # elfutils depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_ELFUTILS - select BR2_PACKAGE_GRPC - select BR2_PACKAGE_JQ - select BR2_PACKAGE_JSONCPP - select BR2_PACKAGE_LIBB64 - select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_FALCOSECURITY_LIBS select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PROTOBUF - select BR2_PACKAGE_TBB - select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_JSON_FOR_MODERN_CPP + select BR2_PACKAGE_YAML_CPP help Sysdig is open source, system-level exploration: capture system state and activity from a running Linux @@ -36,4 +28,4 @@ comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic lib || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_USES_GLIBC \ - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 4ec46abfc3..380c9dce1e 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,5 +1,3 @@ # sha256 locally computed -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 9a9aaa35c3..3ce5d0bb79 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,10 +4,10 @@ # ################################################################################ -SYSDIG_VERSION = 0.27.1 +SYSDIG_VERSION = 0.29.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +SYSDIG_LICENSE = Apache-2.0 +SYSDIG_LICENSE_FILE = COPYING SYSDIG_CPE_ID_VENDOR = sysdig SYSDIG_CONF_OPTS = \ -DENABLE_DKMS=OFF \ @@ -16,39 +16,26 @@ SYSDIG_CONF_OPTS = \ SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ - c-ares \ - elfutils \ - grpc \ - jq \ - jsoncpp \ - libb64 \ - libcurl \ - luainterpreter \ + falcosecurity-libs \ ncurses \ - openssl \ - protobuf \ - tbb \ - zlib + json-for-modern-cpp \ + yaml-cpp -# sysdig creates the module Makefile from a template, which contains a -# single place-holder, KBUILD_FLAGS, wich is only replaced with two -# things: -# - debug flags, which we don't care about here, -# - 'sysdig-feature' flags, which are never set, so always empty -# So, just replace the place-holder with the only meaningful value: nothing. -define SYSDIG_MODULE_GEN_MAKEFILE - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile -endef -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE +# For sysdig to automatically loads the driver, SYSDIG_DRIVER_NAME should be +# the same than FALCOSECURITY_LIBS_DRIVER_NAME. +SYSDIG_DRIVER_NAME = scap -# Don't build the driver as part of the 'standard' procedure, we'll -# build it on our own with the kernel-module infra. -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF - -SYSDIG_MODULE_SUBDIRS = driver -SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) +# Don't build the driver as part of the 'standard' procedure, it has been built +# by falcosecurity-libs.mk. +# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host +# one there. +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(FALCOSECURITY_LIBS_SRCDIR) \ + -DBUILD_DRIVER=OFF \ + -DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin \ + -DDRIVER_NAME=$(SYSDIG_DRIVER_NAME) \ + -DENABLE_DKMS=OFF \ + -DUSE_BUNDLED_DEPS=OFF \ + -DWITH_CHISEL=ON \ + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson -$(eval $(kernel-module)) $(eval $(cmake-package)) -- 2.25.1 From flaniel at linux.microsoft.com Mon Apr 25 16:46:26 2022 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 25 Apr 2022 17:46:26 +0100 Subject: [Buildroot] [RFC PATCH v3 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: References: <20220422143134.28561-1-flaniel@linux.microsoft.com> <20220422143134.28561-3-flaniel@linux.microsoft.com> Message-ID: <5815204.lOV4Wx5bFT@pwmachine> Le vendredi 22 avril 2022, 23:48:43 BST Arnout Vandecappelle a ?crit : > Hi Francis, Hi! > Thanks for continuing to work on this! You are welcome! > On 22/04/2022 16:31, Francis Laniel wrote: > > sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses > > open() syscall [1]. > > This patch bumps its version to enable cross-compilation. > > > > By doing so, we can remove the previous patches. > > But this commit introduces new patches. > > Indeed, libsinsp (lib system inspection), libscap (lib system capture) and > > the kernel module were moved to falcosecurity/libs. > > Sadly, it is not possible to compile sysdig with pre-compiled libs (like > > we do in buildroot). > > So, this contribution introduces a new patch to build sysdig with already > > built falcosecurity/libs. > > > > [1] https://marc.info/?l=buildroot&m=164951521629400 > > > > Signed-off-by: Francis Laniel > > --- > > > > ...BUNDLED_DEPS-before-getting-nlohmann.patch | 51 ++++++++++++ > > ...ATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ------------------- > > ...gainst-libabseil-cpp-which-grpc-uses.patch | 47 ----------- > > ...e-Add-libsinsp.a-as-IMPORTED-library.patch | 59 +++++++++++++ > > package/sysdig/Config.in | 31 ++----- > > package/sysdig/sysdig.hash | 4 +- > > package/sysdig/sysdig.mk | 55 ++++++------- > > 7 files changed, 141 insertions(+), 188 deletions(-) > > create mode 100644 > > package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohman > > n.patch delete mode 100644 > > package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch delete mode 100644 > > package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch > > create mode 100644 > > package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch> > > diff --git > > a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohman > > n.patch > > b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohman > > n.patch new file mode 100644 > > index 0000000000..29f03b1b61 > > --- /dev/null > > +++ > > b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohman > > n.patch @@ -0,0 +1,51 @@ > > +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Wed, 13 Apr 2022 18:01:11 +0100 > > +Subject: [PATCH 1/2] cmake: Check USE_BUNDLED_DEPS before getting > > There should be no N/M in patches. check-package reports this. > > > + nlohmann-json. > > + > > +Signed-off-by: Francis Laniel > > Please send your patches upstream (i.e. create a merge request on the > sysdig project) before even sending it to Buildroot, and add > > Upstream: https://github.com/... > > to the patch you submit to Buildroot. > > This way, it's easier to find if the patch can be removed when the package > version is bumped. > > Also, for reviewing, it allows us to check if upstream has any comments on > the patch. Upstream generally has a better idea of how things are supposed > to work than we do. And if they end up committing an alternative approach, > we can simply pick that one (while committing) instead of the one you > submitted. > > +--- > > + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- > > + 1 file changed, 19 insertions(+), 10 deletions(-) > > + > > +diff --git a/cmake/modules/nlohmann-json.cmake > > b/cmake/modules/nlohmann-json.cmake +index bb1279d7..feb0f071 100644 > > +--- a/cmake/modules/nlohmann-json.cmake > > ++++ b/cmake/modules/nlohmann-json.cmake > > +@@ -16,13 +16,22 @@ > > + # limitations under the License. > > + # > > + > > +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") > > +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") > > +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") > > +-ExternalProject_Add( > > +- njson > > +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" > > +- URL_HASH > > "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" > > +- CONFIGURE_COMMAND "" > > +- BUILD_COMMAND "" > > +- INSTALL_COMMAND "") > > ++if(NOT USE_BUNDLED_DEPS) > > ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) > > ++ if(NJSON_INCLUDE_DIR) > > ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") > > ++ else() > > ++ message(FATAL_ERROR "Couldn't find system njson") > > ++ endif() > > ++else() > > ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") > > ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") > > ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") > > ++ ExternalProject_Add( > > ++ njson > > ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" > > ++ URL_HASH > > "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" > > ++ CONFIGURE_COMMAND "" > > ++ BUILD_COMMAND "" > > ++ INSTALL_COMMAND "") > > ++endif() > > +-- > > +2.25.1 > > + > > diff --git > > a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch > > b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch deleted file mode 100644 > > index 7873210281..0000000000 > > --- > > a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-f > > u.patch +++ /dev/null > > @@ -1,82 +0,0 @@ > > -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 > > -From: Francis Laniel > > -Date: Wed, 6 Apr 2022 16:54:37 +0100 > > -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and > > function. - > > -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and > > -luaL_Reg. > > -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua > > function -call as well. > > -Note that, this PATCH_COMMAND was added in sysdig in: > > -a064440394c9 ("Adding power support to Travis builds (#1566)") > > - > > -This patch is also present in kubernetes/minikube in: > > -f036c279bc59 ("Add patch for compiling sysdig with system luajit") > > You didn't apply this patch to falcosecurity-libs. Is it no longer needed > there? I normally took into account all your comments in v4 I just sent. I just wanted to precise here that the patch regarding luajit is indeed no more needed in falcosecurity-libs because they use luaL_Reg. > [snip] > > > diff --git > > a/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > > b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch new > > file mode 100644 > > index 0000000000..30601c2430 > > --- /dev/null > > +++ b/package/sysdig/0002-cmake-Add-libsinsp.a-as-IMPORTED-library.patch > > @@ -0,0 +1,59 @@ > > +From e681028c5567582f9c66cf2b11234ab3a1cacc73 Mon Sep 17 00:00:00 2001 > > +From: Francis Laniel > > +Date: Fri, 15 Apr 2022 14:17:48 +0100 > > +Subject: [PATCH 2/2] cmake: Add libsinsp.a as IMPORTED library. > > + > > +libsinsp.a is created by falcosecurity/libs which is downloaded while > > building +sysdig. > > + > > +In buildroot, we do not want to depend of external download. > > +This patch adds libsinsp.a as IMPORTER library and links all its > > dependencies +against it. > > + > > +Signed-off-by: Francis Laniel > > +--- > > + userspace/sysdig/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ > > + 1 file changed, 28 insertions(+) > > + > > +diff --git a/userspace/sysdig/CMakeLists.txt > > b/userspace/sysdig/CMakeLists.txt +index 401d65e3..ef339b71 100644 > > +--- a/userspace/sysdig/CMakeLists.txt > > ++++ b/userspace/sysdig/CMakeLists.txt > > +@@ -86,6 +86,34 @@ target_include_directories( > > + if(NOT WIN32) > > + include_directories(${PROJECT_BINARY_DIR}/driver/src) > > + > > ++ if(SCAP_STATIC_LIBRARY_PATH AND SINSP_STATIC_LIBRARY_PATH) > > If you add new CMake variables, use the SET command to define them and > give them a help text. > > However, is it necessary to set them? Can't you just use find_library to > find them in the sysroot? It's basically the same approach as for finding > the JSON library in the other patch. > > Except... Apparently falcosecurity-libs doesn't actually install its > stuff. It really is meant to be used as a submodule. > > OK, it looks like this is really trying to fight upstream too much. So > then it's probably better to revert to your earlier proposal: turn > falcosecurity-libs into a generic package that just downloads stuff and > doesn't install, and do the build from the sysdig build. I think, since > it's not using in-tree build, that it doesn't even write anything in the > falcosecurity-libs source directory, right? So the ugliness is rather > limited... > > > ++ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) > > ++ find_library(B64_LIB NAMES b64) > > ++ find_library(CARES_LIB NAMES cares) > > ++ find_library(ELF_LIB NAMES elf) > > ++ find_library(GTEST_LIB NAMES gtest) > > ++ find_library(JQ_LIB NAMES jq) > > ++ find_library(JSONCPP_LIB NAMES jsoncpp) > > ++ find_library(LUAJIT_LIB NAMES luajit luajit-5.1) > > ++ find_library(PROTOBUF_LIB NAMES protobuf) > > ++ find_library(TBB_LIB NAMES tbb) > > ++ find_library(ZLIB_LIB NAMES z) > > ++ > > ++ find_package(CURL REQUIRED) > > ++ find_package(gRPC REQUIRED) > > ++ find_package(OpenSSL REQUIRED) > > ++ > > ++ set(GPR_LIB gRPC::gpr) > > ++ set(GRPC_LIB gRPC::grpc) > > ++ set(GRPCPP_LIB gRPC::grpc++) > > ++ > > ++ add_library(sinsp STATIC IMPORTED) > > ++ set_target_properties(sinsp PROPERTIES > > ++ IMPORTED_LOCATION "${SINSP_STATIC_LIBRARY_PATH}" > > ++ INTERFACE_LINK_LIBRARIES > > "${ABSL_SYNC_LIB};${B64_LIB};${CARES_LIB};${CURL_LIBRARIES};${ELF_LIB};${ > > GPR_LIB};${GRPC_LIB};${GRPCPP_LIB};${GTEST_LIB};${JQ_LIB};${JSONCPP_LIB};$ > > {LUAJIT_LIB};${OPENSSL_LIBRARIES};${PROTOBUF_LIB};${TBB_LIB};${SCAP_STATIC > > _LIBRARY_PATH};${ZLIB_LIB}" ++ ) > > ++ endif() > > ++ > > + target_link_libraries(sysdig > > + sinsp > > + "${YAMLCPP_LIB}") > > +-- > > +2.25.1 > > + > > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > > index c124054105..e00516a2b5 100644 > > --- a/package/sysdig/Config.in > > +++ b/package/sysdig/Config.in > > @@ -1,26 +1,11 @@ > > > > config BR2_PACKAGE_SYSDIG > > > > bool "sysdig" > > > > - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf > > > > depends on BR2_LINUX_KERNEL > > > > - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb > > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf > > - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb > > - depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb > > - depends on BR2_USE_WCHAR # elfutils > > - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils > > - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > > All these dependencies should still stay, they just become indirect > dependencies. > > Except, if you don't do any actual build of falcosecurity-libs and only do > it in sysdig, then all these dependencies and selects should also stay in > sysdig. > > Also, you should not make falcosecurity-libs a user-selectable option in > that case. It still would need a Config.in entry, but without prompt. > > > - select BR2_PACKAGE_C_ARES > - select BR2_PACKAGE_ELFUTILS > > - select BR2_PACKAGE_GRPC > > - select BR2_PACKAGE_JQ > > - select BR2_PACKAGE_JSONCPP > > - select BR2_PACKAGE_LIBB64 > > - select BR2_PACKAGE_LIBCURL > > + depends on BR2_INSTALL_LIBSTDCPP # yaml-cpp > > + select BR2_PACKAGE_FALCOSECURITY_LIBS > > > > select BR2_PACKAGE_NCURSES > > > > - select BR2_PACKAGE_OPENSSL > > - select BR2_PACKAGE_PROTOBUF > > - select BR2_PACKAGE_TBB > > - select BR2_PACKAGE_ZLIB > > + select BR2_PACKAGE_JSON_FOR_MODERN_CPP > > + select BR2_PACKAGE_YAML_CPP > > > > help > > > > Sysdig is open source, system-level exploration: > > capture system state and activity from a running Linux > > > > @@ -30,10 +15,6 @@ config BR2_PACKAGE_SYSDIG > > > > https://github.com/draios/sysdig/wiki > > > > -comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, > > dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" > > - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > > +comment "sysdig needs a toolchain w/ C++, a Linux kernel and luajit or > > lua 5.1 to be built"> > > depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ > > > > - || !BR2_TOOLCHAIN_HAS_THREADS \ > > - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ > > - || !BR2_TOOLCHAIN_USES_GLIBC \ > > - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > > + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > > index 4ec46abfc3..380c9dce1e 100644 > > --- a/package/sysdig/sysdig.hash > > +++ b/package/sysdig/sysdig.hash > > @@ -1,5 +1,3 @@ > > > > # sha256 locally computed > > > > -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda > > sysdig-0.27.1.tar.gz +sha256 > > 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e > > sysdig-0.29.1.tar.gz> > > sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 > > COPYING> > > -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 > > driver/GPL2.txt -sha256 > > e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed > > driver/MIT.txt diff --git a/package/sysdig/sysdig.mk > > b/package/sysdig/sysdig.mk > > index 9a9aaa35c3..c6487c2337 100644 > > --- a/package/sysdig/sysdig.mk > > +++ b/package/sysdig/sysdig.mk > > @@ -4,10 +4,10 @@ > > > > # > > ######################################################################## > > ########> > > -SYSDIG_VERSION = 0.27.1 > > +SYSDIG_VERSION = 0.29.1 > > > > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > > > > -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) > > -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt > > +SYSDIG_LICENSE = Apache-2.0 > > +SYSDIG_LICENSE_FILE = COPYING > > > > SYSDIG_CPE_ID_VENDOR = sysdig > > SYSDIG_CONF_OPTS = \ > > > > -DENABLE_DKMS=OFF \ > > > > @@ -16,39 +16,32 @@ SYSDIG_CONF_OPTS = \ > > > > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > > > SYSDIG_DEPENDENCIES = \ > > > > - c-ares \ > > - elfutils \ > > - grpc \ > > - jq \ > > - jsoncpp \ > > - libb64 \ > > - libcurl \ > > - luainterpreter \ > > + falcosecurity-libs \ > > > > ncurses \ > > > > - openssl \ > > - protobuf \ > > - tbb \ > > - zlib > > + json-for-modern-cpp \ > > + yaml-cpp > > > > -# sysdig creates the module Makefile from a template, which contains a > > -# single place-holder, KBUILD_FLAGS, wich is only replaced with two > > -# things: > > -# - debug flags, which we don't care about here, > > -# - 'sysdig-feature' flags, which are never set, so always empty > > -# So, just replace the place-holder with the only meaningful value: > > nothing. -define SYSDIG_MODULE_GEN_MAKEFILE > > - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile > > - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile > > - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile > > -endef > > -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE > > +# We need to set all these variables to avoid compiling > > falcosecurity-libs > > +# twice. > > +SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR=$(BUILD_DIR)/falcosecurity-libs-e5c5 > > 3d648f3c4694385bbe488e7d47eaa36c229a > Put spaces around assignments. Doesn't check-package warn about this? > > Also, use $(FALCOSECURITY_LIBS_SRCDIR) instead of reconstructing it. And > with that, there's actually no need to introduce a variable for it. In > fact, I don't see the point for any of the variables defined below, they > only obfuscate what is going on. > > > +SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR=$(SYSDIG_FALCOSECURITY_LIBS_S > > OURCE_DIR)/buildroot-build/driver/src > > +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS > > _SOURCE_DIR)/userspace/libscap > > +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIB > > S_SOURCE_DIR)/userspace/libsinsp > > +SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_ > > SOURCE_DIR)/userspace/chisel > > +SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURITY > > _LIBS_SOURCE_DIR)/buildroot-build/libscap/libscap.a > > +SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC_LIB_PATH=$(SYSDIG_FALCOSECURIT > > Y_LIBS_SOURCE_DIR)/buildroot-build/libsinsp/libsinsp.a > > > > -# Don't build the driver as part of the 'standard' procedure, we'll > > -# build it on our own with the kernel-module infra. > > -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF > > +# SCAP_STATIC_LIBRARY_PATH and SINSP_STATIC_LIBRARY_PATH were added by > > patch. +SYSDIG_CONF_OPTS += > > -DFALCOSECURITY_LIBS_SOURCE_DIR=$(SYSDIG_FALCOSECURITY_LIBS_SOURCE_DIR) \ > Small nit: if you have a multiline assignment, split it like this: > > SYSDIG_CONF_OPTS += \ > -D... > > Also, there's already a SYSDIG_CONF_OPTS assignment above, and both are > unconditional. Merge them. Yes, I know this was already wrong before. > > > + -DHAVE_LIBSCAP=On \ > > We use ON and OFF for CMake. Doesn't make a difference, but it's nice if > things are consistent. > > Regards, > Arnout > > > + -DLIBSCAP_INCLUDE_DIRS="$ (SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_SOURCE_DIR); > > $(SYSDIG_FALCOSECURITY_LIBS_DRIVER_CONFIG_DIR)" \ + -DHAVE_LIBSINSP=On \ > > + -DLIBSINSP_INCLUDE_DIRS="$ (SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_SOURCE_DIR > > );$(SYSDIG_FALCOSECURITY_LIBS_CHISEL_SOURCE_DIR)" \ > > + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson \ > > + -DSCAP_STATIC_LIBRARY_PATH=$ (SYSDIG_FALCOSECURITY_LIBS_LIBSCAP_STATIC_LI > > B_PATH) \ > > + -DSINSP_STATIC_LIBRARY_PATH=$ (SYSDIG_FALCOSECURITY_LIBS_LIBSINSP_STATIC > > _LIB_PATH)> > > SYSDIG_MODULE_SUBDIRS = driver > > SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) > > > > -$(eval $(kernel-module)) > > > > $(eval $(cmake-package)) Best regards. From arnout at mind.be Mon Apr 25 18:41:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 20:41:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/{mesa3d, mesa3d-headers}: bump version to 22.0.2 In-Reply-To: <20220422174132.663076-1-bernd.kuhls@t-online.de> References: <20220422174132.663076-1-bernd.kuhls@t-online.de> Message-ID: On 22/04/2022 19:41, Bernd Kuhls wrote: > Release notes: > https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html > https://lists.freedesktop.org/archives/mesa-announce/2022-March/000667.html > https://lists.freedesktop.org/archives/mesa-announce/2022-March/000665.html > https://www.phoronix.com/scan.php?page=news_item&px=Mesa-22.0-Released > > Upstream removed all DRI-based drivers: > https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Classic-Retired Oh, nice, this simplifies the Config.in quite a lot! [snip] > diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash > index 5b74e14fef..6f06c85760 100644 > --- a/package/mesa3d/mesa3d.hash > +++ b/package/mesa3d/mesa3d.hash > @@ -1,6 +1,6 @@ > -# From https://lists.freedesktop.org/archives/mesa-announce/2022-March/000666.html > -sha256 e70d273bdc53a4e931871bb5550ba3900e6a3deab2fff64184107c33e92d9da7 mesa-21.3.8.tar.xz > -sha512 0462c44fa8e358dafd03088411452bc172a365902795b3198df1e6cfbf1d87675ef5b72b572de7f15e5ee87b30ce5b2f217c81ea72b376962f6428c6ff83f2e9 mesa-21.3.8.tar.xz > +# From https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html > +sha256 df4fa560dcce6680133067cd15b0505fc424ca703244ce9ab247c74d2fab6885 mesa-22.0.2.tar.xz > +sha512 939ddf9acd280e1b20b3540349b3ad07bbeee5d821198f1d667e86634449bf5d0a0df5832753b8b3f8816709c2f02959cce25f3d26a33cc758dd8e25d158ddb8 mesa-22.0.2.tar.xz > > # License > -sha256 998437f3f75f0c542046f83c1cb349408122268168fb13eb4ae6967aa18b7d98 docs/license.rst > +sha256 4bc15d14dcc134b024cbdca3b5330010136ce8a427b6f8353440ce2ad7aab037 docs/license.rst If the license file hash changes, you must explain in the commit message what changed about it (in particular, if any additional licenses have been added or removed, or if it's just a copyright year update). [snip] > diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in > index c42255f55c..14c36930d5 100644 > --- a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in > +++ b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in > @@ -1,7 +1,6 @@ > config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU > bool "xf86-video-amdgpu" > depends on BR2_USE_MMU # libdrm > - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER > depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm So this used to require a DRI driver, now it only requires GBM? BTW the dependency was probably already wrong (should have been on MESA3D_GBM). Please explain why this is correct in the commit message. Or remove the package entirely if it doesn't actually work. Same with a bunch of other legacy X video drivers below. > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_LIBDRM_AMDGPU > @@ -13,5 +12,4 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU > > comment "xf86-video-amdgpu needs egl/opengl support from mesa3d" > depends on BR2_USE_MMU > - depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ > - !BR2_PACKAGE_MESA3D_DRI_DRIVER > + depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL > diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in > index 1246014dca..090e00dad5 100644 > --- a/package/x11r7/xdriver_xf86-video-ati/Config.in > +++ b/package/x11r7/xdriver_xf86-video-ati/Config.in > @@ -4,7 +4,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI > depends on BR2_PACKAGE_MESA3D > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_LIBDRM_RADEON > - select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON > select BR2_PACKAGE_XLIB_LIBXCOMPOSITE > select BR2_PACKAGE_XORGPROTO > help > diff --git a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in > index 13cee14deb..5f6e2bdf77 100644 > --- a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in > +++ b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in > @@ -4,7 +4,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV > depends on BR2_PACKAGE_IMX_GPU_G2D > depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d > select BR2_PACKAGE_MESA3D # Needed in order to compile xorg with glx/dri > - select BR2_PACKAGE_MESA3D_DRI_DRIVER > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_XORGPROTO > help > diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk > index d911234c92..03b4221e57 100644 > --- a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk > +++ b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk > @@ -31,12 +31,4 @@ XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \ > xorgproto \ > xserver_xorg-server > > -# X.org server support for DRI depends on a Mesa3D DRI driver > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y) > -XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \ > - --enable-dri2 \ > - --enable-dri3 \ > - --enable-uxa > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk b/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk > index eee8fec2e8..bc7b347eac 100644 > --- a/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk > +++ b/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk > @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_MACH64_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_MACH64_AUTORECONF = YES > XDRIVER_XF86_VIDEO_MACH64_DEPENDENCIES = xserver_xorg-server xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS += --disable-dri Shouldn't this just be an unconditional --disable-dri? Please explain why not. Same below. Marked as Changes Requested. Regards, Arnout > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk b/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk > index 3c668a5c98..96ca5e0578 100644 > --- a/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk > +++ b/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk > @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_MGA_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_MGA_AUTORECONF = YES > XDRIVER_XF86_VIDEO_MGA_DEPENDENCIES = xserver_xorg-server libdrm xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_MGA_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-nouveau/Config.in b/package/x11r7/xdriver_xf86-video-nouveau/Config.in > index c9fd2e3d2f..a68f85c781 100644 > --- a/package/x11r7/xdriver_xf86-video-nouveau/Config.in > +++ b/package/x11r7/xdriver_xf86-video-nouveau/Config.in > @@ -1,7 +1,6 @@ > config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU > bool "xf86-video-nouveau" > depends on BR2_PACKAGE_MESA3D > - select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_LIBDRM_NOUVEAU > select BR2_PACKAGE_XORGPROTO > diff --git a/package/x11r7/xdriver_xf86-video-openchrome/Config.in b/package/x11r7/xdriver_xf86-video-openchrome/Config.in > index a93d14376b..6b2e236f00 100644 > --- a/package/x11r7/xdriver_xf86-video-openchrome/Config.in > +++ b/package/x11r7/xdriver_xf86-video-openchrome/Config.in > @@ -1,6 +1,5 @@ > config BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME > bool "xf86-video-openchrome" > - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER > select BR2_PACKAGE_LIBDRM > select BR2_PACKAGE_XLIB_LIBX11 > select BR2_PACKAGE_XLIB_LIBXCOMPOSITE > @@ -11,6 +10,3 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME > VIA/S3G UniChrome and UniChrome Pro graphics chipsets. > > https://www.freedesktop.org/wiki/Openchrome/ > - > -comment "xf86-video-openchrome needs a DRI driver from mesa3d" > - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER > diff --git a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk > index 690041d4c6..51435c9389 100644 > --- a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk > +++ b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk > @@ -11,8 +11,4 @@ XDRIVER_XF86_VIDEO_R128_LICENSE = MIT > XDRIVER_XF86_VIDEO_R128_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_R128_DEPENDENCIES = xserver_xorg-server xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_R128_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk b/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk > index 102aa2c48e..2306c14915 100644 > --- a/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk > +++ b/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk > @@ -12,8 +12,4 @@ XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES > XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk > index f96b0a9d0e..e05573de1f 100644 > --- a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk > +++ b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk > @@ -11,8 +11,4 @@ XDRIVER_XF86_VIDEO_SIS_LICENSE = MIT > XDRIVER_XF86_VIDEO_SIS_LICENSE_FILES = COPYING > XDRIVER_XF86_VIDEO_SIS_DEPENDENCIES = xserver_xorg-server libdrm xorgproto > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_SIS_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) > diff --git a/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk b/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk > index 14c40e4d89..b9e57705ae 100644 > --- a/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk > +++ b/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk > @@ -15,8 +15,4 @@ XDRIVER_XF86_VIDEO_TDFX_DEPENDENCIES = \ > xorgproto \ > xserver_xorg-server > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) > -XDRIVER_XF86_VIDEO_TDFX_CONF_OPTS += --disable-dri > -endif > - > $(eval $(autotools-package)) From arnout at mind.be Mon Apr 25 19:02:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:02:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/sam-ba: update link In-Reply-To: References: Message-ID: <6d0814d7-69a9-e16a-8087-faa0d85b6a51@mind.be> On 22/04/2022 09:06, Lang Daniel via buildroot wrote: > The link to at91.com is outdated and redirects to linux4sam.org > > Signed-off-by: Daniel Lang Applied to master, thanks. Regards, Arnout > --- > package/sam-ba/Config.in.host | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/sam-ba/Config.in.host b/package/sam-ba/Config.in.host > index b96e377e79..1967f33ab3 100644 > --- a/package/sam-ba/Config.in.host > +++ b/package/sam-ba/Config.in.host > @@ -7,5 +7,5 @@ config BR2_PACKAGE_HOST_SAM_BA > programming the Atmel SAM3, SAM7 and SAM9 ARM-based > microcontrollers. > > - http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools > + https://www.linux4sam.org/bin/view/Linux4SAM/SoftwareTools > https://www.microchip.com/en-us/development-tool/SAM-BA-IN-SYSTEM-PROGRAMMER From arnout at mind.be Mon Apr 25 19:03:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:03:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/xmrig: bump version to 6.17.0 In-Reply-To: <20220422071643.60273-1-bernd.kuhls@t-online.de> References: <20220422071643.60273-1-bernd.kuhls@t-online.de> Message-ID: <0fe99444-c94e-0fec-ac3f-4ade3d7035b8@mind.be> On 22/04/2022 09:16, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/xmrig/xmrig.hash | 2 +- > package/xmrig/xmrig.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/xmrig/xmrig.hash b/package/xmrig/xmrig.hash > index ff5f80a67b..7863c0319d 100644 > --- a/package/xmrig/xmrig.hash > +++ b/package/xmrig/xmrig.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 245ba47a6b8ae8e9a9df1c055e90f22f944a7d1219416cb30268881d0c0d377b xmrig-6.16.4.tar.gz > +sha256 748a989390202ba2d1ccbd9d9a6b8cbd6551149cbab63b347fd1ed6df0254faa xmrig-6.17.0.tar.gz > sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE > diff --git a/package/xmrig/xmrig.mk b/package/xmrig/xmrig.mk > index 1feab499fc..6e21e550a4 100644 > --- a/package/xmrig/xmrig.mk > +++ b/package/xmrig/xmrig.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -XMRIG_VERSION = 6.16.4 > +XMRIG_VERSION = 6.17.0 > XMRIG_SITE = $(call github,xmrig,xmrig,v$(XMRIG_VERSION)) > XMRIG_LICENSE = GPL-3.0+ > XMRIG_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 25 19:03:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:03:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-peripheral-xarcade: bump version to 19.0.3-Matrix In-Reply-To: <20220422173415.662392-1-bernd.kuhls@t-online.de> References: <20220422173415.662392-1-bernd.kuhls@t-online.de> Message-ID: <8d52be71-ea3b-e704-7e50-cc2434160758@mind.be> On 22/04/2022 19:34, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash | 2 +- > package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash > index 5cb774fe26..3ceabd4759 100644 > --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash > +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 27f592e07c788067c97f7bbcac8a2c6803954730e6f0f66f2047a1d939e6648d kodi-peripheral-xarcade-19.0.1-Matrix.tar.gz > +sha256 589b5355bf9b0b5183ecf2d93a4a80ca1ae317a9fdf4efb9c14eb7114b4ec13a kodi-peripheral-xarcade-19.0.3-Matrix.tar.gz > sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md > diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk > index fd8b1af38c..ef3cc6fef1 100644 > --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk > +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_PERIPHERAL_XARCADE_VERSION = 19.0.1-Matrix > +KODI_PERIPHERAL_XARCADE_VERSION = 19.0.3-Matrix > KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) > KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ > KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md From arnout at mind.be Mon Apr 25 19:04:08 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:04:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-skin-confluence: bump version In-Reply-To: <20220422073244.63829-1-bernd.kuhls@t-online.de> References: <20220422073244.63829-1-bernd.kuhls@t-online.de> Message-ID: <64215008-0628-0a54-5110-efcab8831d98@mind.be> On 22/04/2022 09:32, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/kodi-skin-confluence/kodi-skin-confluence.hash | 2 +- > package/kodi-skin-confluence/kodi-skin-confluence.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.hash b/package/kodi-skin-confluence/kodi-skin-confluence.hash > index e3d1ff73f4..c840e5b161 100644 > --- a/package/kodi-skin-confluence/kodi-skin-confluence.hash > +++ b/package/kodi-skin-confluence/kodi-skin-confluence.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 49ba4dcf4b512ac0a97bd1a4ebf14685d294d89a7a07c26ddda0fe730c8aa047 kodi-skin-confluence-37a196cdb58c0da87b5b22b047a5d44dc447f1ae.tar.gz > +sha256 c57b9a303ad1ebf14ad487901e5da15eba7b3a40304046974fad1d64fb7b8b57 kodi-skin-confluence-e6d31bc84eea73a04b2a23358929d5276be832b8.tar.gz > sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.txt > diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.mk b/package/kodi-skin-confluence/kodi-skin-confluence.mk > index fcae506d1e..c32718fd10 100644 > --- a/package/kodi-skin-confluence/kodi-skin-confluence.mk > +++ b/package/kodi-skin-confluence/kodi-skin-confluence.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_SKIN_CONFLUENCE_VERSION = 37a196cdb58c0da87b5b22b047a5d44dc447f1ae > +KODI_SKIN_CONFLUENCE_VERSION = e6d31bc84eea73a04b2a23358929d5276be832b8 > KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION)) > KODI_SKIN_CONFLUENCE_LICENSE = GPL-2.0 > KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt From arnout at mind.be Mon Apr 25 19:04:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:04:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/adwaita-icon-theme: needs host gcc >= 4.9 In-Reply-To: <20220422074456.4104082-1-fontaine.fabrice@gmail.com> References: <20220422074456.4104082-1-fontaine.fabrice@gmail.com> Message-ID: <54846226-f77f-c135-a8f3-0975a9ec7ec5@mind.be> On 22/04/2022 09:44, Fabrice Fontaine wrote: > Fix the following build failure raised since bump of harfbuzz to version > 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: > > In file included from ../src/hb.hh:473:0, > from ../src/hb-buffer-verify.cc:27: > ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' > hb_enable_if (std::is_trivially_copy_assignable::value)> > ^ > > Fixes: > - http://autobuild.buildroot.org/results/bbc48cb5232c617d4ff1d0bafd63bb3c9c72d556 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Note: you already sent this patch in December but somehow it got lost. Regards, Arnout > --- > package/adwaita-icon-theme/Config.in | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/adwaita-icon-theme/Config.in b/package/adwaita-icon-theme/Config.in > index d200570e76..71b839d996 100644 > --- a/package/adwaita-icon-theme/Config.in > +++ b/package/adwaita-icon-theme/Config.in > @@ -1,5 +1,10 @@ > config BR2_PACKAGE_ADWAITA_ICON_THEME > bool "adwaita icon theme" > depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 > + # host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz > + depends on BR2_HOST_GCC_AT_LEAST_4_9 > help > Adwaita icon theme > + > +comment "adwaita icon theme needs host gcc >= 4.9" > + depends on !BR2_HOST_GCC_AT_LEAST_4_9 From b.bilas at grinn-global.com Mon Apr 25 19:04:55 2022 From: b.bilas at grinn-global.com (Bartosz Bilas) Date: Mon, 25 Apr 2022 21:04:55 +0200 Subject: [Buildroot] [PATCH] package/python-esptool: bump version to 3.3 Message-ID: <20220425190455.543451-1-b.bilas@grinn-global.com> Signed-off-by: Bartosz Bilas --- package/python-esptool/python-esptool.hash | 4 ++-- package/python-esptool/python-esptool.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-esptool/python-esptool.hash b/package/python-esptool/python-esptool.hash index a916f9a09a..3ca5b211ee 100644 --- a/package/python-esptool/python-esptool.hash +++ b/package/python-esptool/python-esptool.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/esptool/json -md5 84aa6ffb4723b1f59a2c83244a9ad918 esptool-3.2.tar.gz -sha256 9638ff11c68e621e08e7c3335d4fd9d70b2ddcf7caae778073cd8cc27be1216f esptool-3.2.tar.gz +md5 ac499eaa99df9b536a98a6f99644f8f6 esptool-3.3.tar.gz +sha256 39b92e1848e352183188f149f3e876cde4b8a1c095551e7e545a28e5c11eea13 esptool-3.3.tar.gz # Locally computed sha256 checksums sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/python-esptool/python-esptool.mk b/package/python-esptool/python-esptool.mk index 77291e252b..28b5075e72 100644 --- a/package/python-esptool/python-esptool.mk +++ b/package/python-esptool/python-esptool.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ESPTOOL_VERSION = 3.2 +PYTHON_ESPTOOL_VERSION = 3.3 PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz -PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/60/a4/33907f5b735f9179061bd6b6cae7123d4a2d0cdf46c879fa55e66edef24f +PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/63/85/1a7f65d3f89c112c721c6ec013ecd948112df17640e453ddeb1921b05aab PYTHON_ESPTOOL_SETUP_TYPE = setuptools PYTHON_ESPTOOL_LICENSE = GPL-2.0+ PYTHON_ESPTOOL_LICENSE_FILES = LICENSE -- 2.36.0 From b.bilas at grinn-global.com Mon Apr 25 19:05:06 2022 From: b.bilas at grinn-global.com (Bartosz Bilas) Date: Mon, 25 Apr 2022 21:05:06 +0200 Subject: [Buildroot] [PATCH] boot/barebox: bump version to 2022.04.0 Message-ID: <20220425190506.543507-1-b.bilas@grinn-global.com> Signed-off-by: Bartosz Bilas --- boot/barebox/Config.in | 4 ++-- boot/barebox/barebox.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in index c16fea3cea..726f0f980b 100644 --- a/boot/barebox/Config.in +++ b/boot/barebox/Config.in @@ -12,7 +12,7 @@ choice Select the specific Barebox version you want to use config BR2_TARGET_BAREBOX_LATEST_VERSION - bool "2022.01.0" + bool "2022.04.0" config BR2_TARGET_BAREBOX_CUSTOM_VERSION bool "Custom version" @@ -40,7 +40,7 @@ endif config BR2_TARGET_BAREBOX_VERSION string - default "2022.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION + default "2022.04.0" if BR2_TARGET_BAREBOX_LATEST_VERSION default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT diff --git a/boot/barebox/barebox.hash b/boot/barebox/barebox.hash index 3d52d40beb..3a92f7fd82 100644 --- a/boot/barebox/barebox.hash +++ b/boot/barebox/barebox.hash @@ -1,8 +1,8 @@ # From https://www.barebox.org/download/barebox-2021.12.0.tar.bz2.md5 -md5 753ba533ced54f4113f9e97846c13fc1 barebox-2022.01.0.tar.bz2 +md5 e4970687cf7943eadf71b1ae6d344ff7 barebox-2022.04.0.tar.bz2 # Locally calculated -sha256 ddf7898075bec05e4865ce0f7a2ac19c2b1efaaa0d066eba1939494e25711d28 barebox-2022.01.0.tar.bz2 +sha256 f751b506deb0a5d82682a85cf65e329dd562e48ea057533dc5c8876120a09ebc barebox-2022.04.0.tar.bz2 # License files, locally computed sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING -- 2.36.0 From arnout at mind.be Mon Apr 25 19:05:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:05:31 +0200 Subject: [Buildroot] [PATCH 1/8] package/perl-crypt-openssl-guess: bump to version 0.15 In-Reply-To: <20220422161514.3449177-1-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> Message-ID: <850b8014-9dcf-9625-28ac-df51e3823986@mind.be> On 22/04/2022 18:15, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > .../perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash | 4 ++-- > package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash > index e6d19cb68..b4795ed3d 100644 > --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash > +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash > @@ -1,6 +1,6 @@ > # retrieved by scancpan from http://cpan.metacpan.org/ > -md5 9e86baf96828a38c967003a5e66f0c39 Crypt-OpenSSL-Guess-0.12.tar.gz > -sha256 0a18d18768cf42b49b15c9dea626199dc74346bbbc76acd3d817b9c1d2bd471d Crypt-OpenSSL-Guess-0.12.tar.gz > +md5 e07f470dd25023730cf8536e0cefbabd Crypt-OpenSSL-Guess-0.15.tar.gz > +sha256 1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d Crypt-OpenSSL-Guess-0.15.tar.gz > > # computed by scancpan > sha256 5c739f181ce7aa31d739277996ff230067dad39332e5597c0dffd36e5d784072 LICENSE > diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk > index 4f0898cf5..56ff79d84 100644 > --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk > +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.12 > +PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.15 > PERL_CRYPT_OPENSSL_GUESS_SOURCE = Crypt-OpenSSL-Guess-$(PERL_CRYPT_OPENSSL_GUESS_VERSION).tar.gz > PERL_CRYPT_OPENSSL_GUESS_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AK/AKIYM > PERL_CRYPT_OPENSSL_GUESS_LICENSE = Artistic or GPL-1.0+ From arnout at mind.be Mon Apr 25 19:06:18 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:06:18 +0200 Subject: [Buildroot] [PATCH 2/8] package/perl-file-listing: bump to version 6.15 In-Reply-To: <20220422161514.3449177-2-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> <20220422161514.3449177-2-francois.perrad@gadz.org> Message-ID: <20aad077-fbbb-3412-7688-616e20b8e5ef@mind.be> On 22/04/2022 18:15, Francois Perrad wrote: > Signed-off-by: Francois Perrad > --- > package/perl-file-listing/perl-file-listing.hash | 6 +++--- > package/perl-file-listing/perl-file-listing.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/perl-file-listing/perl-file-listing.hash b/package/perl-file-listing/perl-file-listing.hash > index 235896571..cb52c127c 100644 > --- a/package/perl-file-listing/perl-file-listing.hash > +++ b/package/perl-file-listing/perl-file-listing.hash > @@ -1,6 +1,6 @@ > # retrieved by scancpan from http://cpan.metacpan.org/ > -md5 cf60a79563185391831613178a79b4cd File-Listing-6.14.tar.gz > -sha256 15b3a4871e23164a36f226381b74d450af41f12cc94985f592a669fcac7b48ff File-Listing-6.14.tar.gz > +md5 8ba34641a6c5a2ec1b0bf7064f68c535 File-Listing-6.15.tar.gz > +sha256 46c4fb9f9eb9635805e26b7ea55b54455e47302758a10ed2a0b92f392713770c File-Listing-6.15.tar.gz > > # computed by scancpan > -sha256 7f0ccec295e6d7d2be1439cedd7caf6cc6247191f4c10ac56d91ee9bc265ba02 LICENSE > +sha256 287e6f0fdf2db790a24975b492cde64b210c16af7137f44373cbd03fcf844212 LICENSE You didn't explain in the commit message why the license hash changed, so I haven't applied this. Marked as Changes Requested. Same for the other ones where the license file was updated. Regards, Arnout > diff --git a/package/perl-file-listing/perl-file-listing.mk b/package/perl-file-listing/perl-file-listing.mk > index 61bbc18eb..c8584ffa8 100644 > --- a/package/perl-file-listing/perl-file-listing.mk > +++ b/package/perl-file-listing/perl-file-listing.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PERL_FILE_LISTING_VERSION = 6.14 > +PERL_FILE_LISTING_VERSION = 6.15 > PERL_FILE_LISTING_SOURCE = File-Listing-$(PERL_FILE_LISTING_VERSION).tar.gz > PERL_FILE_LISTING_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PL/PLICEASE > PERL_FILE_LISTING_LICENSE = Artistic or GPL-1.0+ From arnout at mind.be Mon Apr 25 19:06:33 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:06:33 +0200 Subject: [Buildroot] [PATCH 5/8] package/perl-libwww-perl: bump to version 6.62 In-Reply-To: <20220422161514.3449177-5-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> <20220422161514.3449177-5-francois.perrad@gadz.org> Message-ID: On 22/04/2022 18:15, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > package/perl-libwww-perl/perl-libwww-perl.hash | 4 ++-- > package/perl-libwww-perl/perl-libwww-perl.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/perl-libwww-perl/perl-libwww-perl.hash b/package/perl-libwww-perl/perl-libwww-perl.hash > index e32258050..25b6675ec 100644 > --- a/package/perl-libwww-perl/perl-libwww-perl.hash > +++ b/package/perl-libwww-perl/perl-libwww-perl.hash > @@ -1,6 +1,6 @@ > # retrieved by scancpan from http://cpan.metacpan.org/ > -md5 ce5180358d9279b2843a6518bf2de200 libwww-perl-6.60.tar.gz > -sha256 cdd28b9237b9c6791725b9099695c7c3c720b33881606fd6cc7635a5495bb07c libwww-perl-6.60.tar.gz > +md5 3cc193bbddb1dc9e867e88582b440a92 libwww-perl-6.62.tar.gz > +sha256 569ac15eb69d54b2a8d932403610690b89c68d6a987eab2f627c0639bae7de18 libwww-perl-6.62.tar.gz > > # computed by scancpan > sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENSE > diff --git a/package/perl-libwww-perl/perl-libwww-perl.mk b/package/perl-libwww-perl/perl-libwww-perl.mk > index aa15ebb59..43bd4db78 100644 > --- a/package/perl-libwww-perl/perl-libwww-perl.mk > +++ b/package/perl-libwww-perl/perl-libwww-perl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PERL_LIBWWW_PERL_VERSION = 6.60 > +PERL_LIBWWW_PERL_VERSION = 6.62 > PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz > PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS > PERL_LIBWWW_PERL_LICENSE = Artistic or GPL-1.0+ From arnout at mind.be Mon Apr 25 19:06:51 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:06:51 +0200 Subject: [Buildroot] [PATCH 6/8] package/perl-mojolicious: bump to version 9.24 In-Reply-To: <20220422161514.3449177-6-francois.perrad@gadz.org> References: <20220422161514.3449177-1-francois.perrad@gadz.org> <20220422161514.3449177-6-francois.perrad@gadz.org> Message-ID: On 22/04/2022 18:15, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > package/perl-mojolicious/perl-mojolicious.hash | 4 ++-- > package/perl-mojolicious/perl-mojolicious.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/perl-mojolicious/perl-mojolicious.hash b/package/perl-mojolicious/perl-mojolicious.hash > index cc29c3553..cd6c8ef7f 100644 > --- a/package/perl-mojolicious/perl-mojolicious.hash > +++ b/package/perl-mojolicious/perl-mojolicious.hash > @@ -1,6 +1,6 @@ > # retrieved by scancpan from http://cpan.metacpan.org/ > -md5 c7a00b4bd8fa2db991c9b918d34041d3 Mojolicious-9.22.tar.gz > -sha256 6b76e024d3d6c077ad984ea3b3d229f093373d5e06438aca248235150d029043 Mojolicious-9.22.tar.gz > +md5 fea8c6a9b97b988ee18b1616e20cf3db Mojolicious-9.24.tar.gz > +sha256 5a2f2e064fe50ad94ec5ed175403a26ec1ff4150d77742d14ca7b842e17f9168 Mojolicious-9.24.tar.gz > > # computed by scancpan > sha256 19e2e0f2079ea1ce1576eb4ecc0575b33fe45b2b8e71f4aa589d6bedd1da4e0a LICENSE > diff --git a/package/perl-mojolicious/perl-mojolicious.mk b/package/perl-mojolicious/perl-mojolicious.mk > index 559b995cd..4a05fe48b 100644 > --- a/package/perl-mojolicious/perl-mojolicious.mk > +++ b/package/perl-mojolicious/perl-mojolicious.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PERL_MOJOLICIOUS_VERSION = 9.22 > +PERL_MOJOLICIOUS_VERSION = 9.24 > PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz > PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI > PERL_MOJOLICIOUS_LICENSE = Artistic-2.0 From arnout at mind.be Mon Apr 25 18:25:08 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:25:08 +0200 Subject: [Buildroot] [git commit] package/kodi-skin-confluence: bump version Message-ID: <20220425185654.2A6E0842EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0b1a58f9a68440fa87596f8ad7ba09b9afaf13f7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-skin-confluence/kodi-skin-confluence.hash | 2 +- package/kodi-skin-confluence/kodi-skin-confluence.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.hash b/package/kodi-skin-confluence/kodi-skin-confluence.hash index e3d1ff73f4..c840e5b161 100644 --- a/package/kodi-skin-confluence/kodi-skin-confluence.hash +++ b/package/kodi-skin-confluence/kodi-skin-confluence.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 49ba4dcf4b512ac0a97bd1a4ebf14685d294d89a7a07c26ddda0fe730c8aa047 kodi-skin-confluence-37a196cdb58c0da87b5b22b047a5d44dc447f1ae.tar.gz +sha256 c57b9a303ad1ebf14ad487901e5da15eba7b3a40304046974fad1d64fb7b8b57 kodi-skin-confluence-e6d31bc84eea73a04b2a23358929d5276be832b8.tar.gz sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.txt diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.mk b/package/kodi-skin-confluence/kodi-skin-confluence.mk index fcae506d1e..c32718fd10 100644 --- a/package/kodi-skin-confluence/kodi-skin-confluence.mk +++ b/package/kodi-skin-confluence/kodi-skin-confluence.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_SKIN_CONFLUENCE_VERSION = 37a196cdb58c0da87b5b22b047a5d44dc447f1ae +KODI_SKIN_CONFLUENCE_VERSION = e6d31bc84eea73a04b2a23358929d5276be832b8 KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION)) KODI_SKIN_CONFLUENCE_LICENSE = GPL-2.0 KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt From arnout at mind.be Mon Apr 25 18:25:07 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:25:07 +0200 Subject: [Buildroot] [git commit] package/xmrig: bump version to 6.17.0 Message-ID: <20220425185654.1BEC78426A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f8e1b912697731c216688b3d3002f4ab00ad9835 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/xmrig/xmrig.hash | 2 +- package/xmrig/xmrig.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xmrig/xmrig.hash b/package/xmrig/xmrig.hash index ff5f80a67b..7863c0319d 100644 --- a/package/xmrig/xmrig.hash +++ b/package/xmrig/xmrig.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 245ba47a6b8ae8e9a9df1c055e90f22f944a7d1219416cb30268881d0c0d377b xmrig-6.16.4.tar.gz +sha256 748a989390202ba2d1ccbd9d9a6b8cbd6551149cbab63b347fd1ed6df0254faa xmrig-6.17.0.tar.gz sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE diff --git a/package/xmrig/xmrig.mk b/package/xmrig/xmrig.mk index 1feab499fc..6e21e550a4 100644 --- a/package/xmrig/xmrig.mk +++ b/package/xmrig/xmrig.mk @@ -4,7 +4,7 @@ # ################################################################################ -XMRIG_VERSION = 6.16.4 +XMRIG_VERSION = 6.17.0 XMRIG_SITE = $(call github,xmrig,xmrig,v$(XMRIG_VERSION)) XMRIG_LICENSE = GPL-3.0+ XMRIG_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 25 18:33:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:33:04 +0200 Subject: [Buildroot] [git commit] package/kodi-peripheral-xarcade: bump version to 19.0.3-Matrix Message-ID: <20220425185654.660F7842E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a2b04d4e096b912cf9a5165d2a35651e82a87e89 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash | 2 +- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash index 5cb774fe26..3ceabd4759 100644 --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 27f592e07c788067c97f7bbcac8a2c6803954730e6f0f66f2047a1d939e6648d kodi-peripheral-xarcade-19.0.1-Matrix.tar.gz +sha256 589b5355bf9b0b5183ecf2d93a4a80ca1ae317a9fdf4efb9c14eb7114b4ec13a kodi-peripheral-xarcade-19.0.3-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk index fd8b1af38c..ef3cc6fef1 100644 --- a/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk +++ b/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PERIPHERAL_XARCADE_VERSION = 19.0.1-Matrix +KODI_PERIPHERAL_XARCADE_VERSION = 19.0.3-Matrix KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md From arnout at mind.be Mon Apr 25 18:24:19 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:24:19 +0200 Subject: [Buildroot] [git commit] package/sam-ba: update link Message-ID: <20220425185654.105DF842E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0d6b874d94576f8b46153398c859f7831c08bb5f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The link to at91.com is outdated and redirects to linux4sam.org Signed-off-by: Daniel Lang Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/sam-ba/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sam-ba/Config.in.host b/package/sam-ba/Config.in.host index b96e377e79..1967f33ab3 100644 --- a/package/sam-ba/Config.in.host +++ b/package/sam-ba/Config.in.host @@ -7,5 +7,5 @@ config BR2_PACKAGE_HOST_SAM_BA programming the Atmel SAM3, SAM7 and SAM9 ARM-based microcontrollers. - http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools + https://www.linux4sam.org/bin/view/Linux4SAM/SoftwareTools https://www.microchip.com/en-us/development-tool/SAM-BA-IN-SYSTEM-PROGRAMMER From arnout at mind.be Mon Apr 25 18:25:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:25:10 +0200 Subject: [Buildroot] [git commit] package/perl-crypt-openssl-guess: bump to version 0.15 Message-ID: <20220425185654.445F9842EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b2fa94b093517b147c04be2660d6f1310ecefa54 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash | 4 ++-- package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash index e6d19cb681..b4795ed3dd 100644 --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 9e86baf96828a38c967003a5e66f0c39 Crypt-OpenSSL-Guess-0.12.tar.gz -sha256 0a18d18768cf42b49b15c9dea626199dc74346bbbc76acd3d817b9c1d2bd471d Crypt-OpenSSL-Guess-0.12.tar.gz +md5 e07f470dd25023730cf8536e0cefbabd Crypt-OpenSSL-Guess-0.15.tar.gz +sha256 1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d Crypt-OpenSSL-Guess-0.15.tar.gz # computed by scancpan sha256 5c739f181ce7aa31d739277996ff230067dad39332e5597c0dffd36e5d784072 LICENSE diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk index 4f0898cf53..56ff79d845 100644 --- a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk +++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.12 +PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.15 PERL_CRYPT_OPENSSL_GUESS_SOURCE = Crypt-OpenSSL-Guess-$(PERL_CRYPT_OPENSSL_GUESS_VERSION).tar.gz PERL_CRYPT_OPENSSL_GUESS_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AK/AKIYM PERL_CRYPT_OPENSSL_GUESS_LICENSE = Artistic or GPL-1.0+ From arnout at mind.be Mon Apr 25 18:25:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:25:09 +0200 Subject: [Buildroot] [git commit] package/adwaita-icon-theme: needs host gcc >= 4.9 Message-ID: <20220425185654.370D98426A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9f0c67179e55d967ae54d000d8d58dbc52cb1de3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump of harfbuzz to version 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: In file included from ../src/hb.hh:473:0, from ../src/hb-buffer-verify.cc:27: ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' hb_enable_if (std::is_trivially_copy_assignable::value)> ^ Fixes: - http://autobuild.buildroot.org/results/bbc48cb5232c617d4ff1d0bafd63bb3c9c72d556 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/adwaita-icon-theme/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/adwaita-icon-theme/Config.in b/package/adwaita-icon-theme/Config.in index d200570e76..71b839d996 100644 --- a/package/adwaita-icon-theme/Config.in +++ b/package/adwaita-icon-theme/Config.in @@ -1,5 +1,10 @@ config BR2_PACKAGE_ADWAITA_ICON_THEME bool "adwaita icon theme" depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 + # host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz + depends on BR2_HOST_GCC_AT_LEAST_4_9 help Adwaita icon theme + +comment "adwaita icon theme needs host gcc >= 4.9" + depends on !BR2_HOST_GCC_AT_LEAST_4_9 From arnout at mind.be Mon Apr 25 18:33:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:33:04 +0200 Subject: [Buildroot] [git commit] package/perl-mojolicious: bump to version 9.24 Message-ID: <20220425185654.5A119842EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a96f893ed6683e31bf691b69ee007eddeeacfcae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/perl-mojolicious/perl-mojolicious.hash | 4 ++-- package/perl-mojolicious/perl-mojolicious.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-mojolicious/perl-mojolicious.hash b/package/perl-mojolicious/perl-mojolicious.hash index cc29c35535..cd6c8ef7f1 100644 --- a/package/perl-mojolicious/perl-mojolicious.hash +++ b/package/perl-mojolicious/perl-mojolicious.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 c7a00b4bd8fa2db991c9b918d34041d3 Mojolicious-9.22.tar.gz -sha256 6b76e024d3d6c077ad984ea3b3d229f093373d5e06438aca248235150d029043 Mojolicious-9.22.tar.gz +md5 fea8c6a9b97b988ee18b1616e20cf3db Mojolicious-9.24.tar.gz +sha256 5a2f2e064fe50ad94ec5ed175403a26ec1ff4150d77742d14ca7b842e17f9168 Mojolicious-9.24.tar.gz # computed by scancpan sha256 19e2e0f2079ea1ce1576eb4ecc0575b33fe45b2b8e71f4aa589d6bedd1da4e0a LICENSE diff --git a/package/perl-mojolicious/perl-mojolicious.mk b/package/perl-mojolicious/perl-mojolicious.mk index 559b995cdc..4a05fe48ba 100644 --- a/package/perl-mojolicious/perl-mojolicious.mk +++ b/package/perl-mojolicious/perl-mojolicious.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_MOJOLICIOUS_VERSION = 9.22 +PERL_MOJOLICIOUS_VERSION = 9.24 PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI PERL_MOJOLICIOUS_LICENSE = Artistic-2.0 From arnout at mind.be Mon Apr 25 18:33:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 20:33:04 +0200 Subject: [Buildroot] [git commit] package/perl-libwww-perl: bump to version 6.62 Message-ID: <20220425185654.4F3238426A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30641fd54ca387f814078fbc0c17f45bb1fce315 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/perl-libwww-perl/perl-libwww-perl.hash | 4 ++-- package/perl-libwww-perl/perl-libwww-perl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/perl-libwww-perl/perl-libwww-perl.hash b/package/perl-libwww-perl/perl-libwww-perl.hash index e32258050c..25b6675ec7 100644 --- a/package/perl-libwww-perl/perl-libwww-perl.hash +++ b/package/perl-libwww-perl/perl-libwww-perl.hash @@ -1,6 +1,6 @@ # retrieved by scancpan from http://cpan.metacpan.org/ -md5 ce5180358d9279b2843a6518bf2de200 libwww-perl-6.60.tar.gz -sha256 cdd28b9237b9c6791725b9099695c7c3c720b33881606fd6cc7635a5495bb07c libwww-perl-6.60.tar.gz +md5 3cc193bbddb1dc9e867e88582b440a92 libwww-perl-6.62.tar.gz +sha256 569ac15eb69d54b2a8d932403610690b89c68d6a987eab2f627c0639bae7de18 libwww-perl-6.62.tar.gz # computed by scancpan sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENSE diff --git a/package/perl-libwww-perl/perl-libwww-perl.mk b/package/perl-libwww-perl/perl-libwww-perl.mk index aa15ebb594..43bd4db783 100644 --- a/package/perl-libwww-perl/perl-libwww-perl.mk +++ b/package/perl-libwww-perl/perl-libwww-perl.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_LIBWWW_PERL_VERSION = 6.60 +PERL_LIBWWW_PERL_VERSION = 6.62 PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS PERL_LIBWWW_PERL_LICENSE = Artistic or GPL-1.0+ From thomas.petazzoni at bootlin.com Mon Apr 25 19:07:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 21:07:44 +0200 Subject: [Buildroot] [git commit] package/pcre2: fix legal info Message-ID: <20220425185738.26A05842F5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9315eb7ede87e072c121985d2ab67ccb973f20ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 10648db92bc5c4bfd49b58ce4f1c213defdfc7de forgot to update hash of LICENCE file (update in year: https://github.com/PCRE2Project/pcre2/commit/3103b8f20a3b9944b177e812fde29fbfb8b90558): >>> pcre2 10.40 Collecting legal info ERROR: LICENCE has wrong sha256 hash: ERROR: expected: 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 ERROR: got : 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 Fixes: - http://autobuild.buildroot.org/results/275c5478d63d3d4016d440870e96f04230df69d6 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/pcre2/pcre2.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash index e4f7980749..e3fe6b2d53 100644 --- a/package/pcre2/pcre2.hash +++ b/package/pcre2/pcre2.hash @@ -2,4 +2,4 @@ # https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2.sig sha256 14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 pcre2-10.40.tar.bz2 # Locally computed -sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE +sha256 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 LICENCE From thomas.petazzoni at bootlin.com Mon Apr 25 19:07:54 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 21:07:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/pcre2: fix legal info In-Reply-To: <20220423205934.446813-1-fontaine.fabrice@gmail.com> References: <20220423205934.446813-1-fontaine.fabrice@gmail.com> Message-ID: <20220425210754.7714d850@windsurf> On Sat, 23 Apr 2022 22:59:34 +0200 Fabrice Fontaine wrote: > Commit 10648db92bc5c4bfd49b58ce4f1c213defdfc7de forgot to update hash of > LICENCE file (update in year: > https://github.com/PCRE2Project/pcre2/commit/3103b8f20a3b9944b177e812fde29fbfb8b90558): > > >>> pcre2 10.40 Collecting legal info > ERROR: LICENCE has wrong sha256 hash: > ERROR: expected: 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 > ERROR: got : 87d884eceb7fc54611470ce9f74280d28612b0c877adfc767e9676892a638987 > > Fixes: > - http://autobuild.buildroot.org/results/275c5478d63d3d4016d440870e96f04230df69d6 > > Signed-off-by: Fabrice Fontaine > --- > package/pcre2/pcre2.hash | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Mon Apr 25 19:08:31 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 21:08:31 +0200 Subject: [Buildroot] [git commit] package/libressl: bump to version 3.5.2 Message-ID: <20220425185900.151B88430C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8b216927db080b38fdbf1f8b025b6f90a89d4bc2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- package/libressl/libressl.hash | 2 +- package/libressl/libressl.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch index 98fe250f65..1c59aec723 100644 --- a/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch +++ b/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch @@ -20,7 +20,7 @@ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 46f24b2ea..4048a6e63 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h -@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, +@@ -408,11 +408,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, #define SSL_OP_NO_TLSv1 0x04000000L #define SSL_OP_NO_TLSv1_2 0x08000000L #define SSL_OP_NO_TLSv1_1 0x10000000L diff --git a/package/libressl/libressl.hash b/package/libressl/libressl.hash index e923998713..c3590798db 100644 --- a/package/libressl/libressl.hash +++ b/package/libressl/libressl.hash @@ -1,4 +1,4 @@ # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 -sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz +sha256 56feab8e21c3fa6549f8b7d7511658b8e98518162838a795314732654adf3e5f libressl-3.5.2.tar.gz # Locally computed sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk index 0bb468cedb..c9c484d5d8 100644 --- a/package/libressl/libressl.mk +++ b/package/libressl/libressl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRESSL_VERSION = 3.4.3 +LIBRESSL_VERSION = 3.5.2 LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) LIBRESSL_LICENSE_FILES = COPYING From thomas.petazzoni at bootlin.com Mon Apr 25 19:09:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 25 Apr 2022 21:09:39 +0200 Subject: [Buildroot] [PATCH] package/libressl: bump to version 3.5.2 In-Reply-To: <20220424072016.3459504-1-francois.perrad@gadz.org> References: <20220424072016.3459504-1-francois.perrad@gadz.org> Message-ID: <20220425210939.52c89b70@windsurf> On Sun, 24 Apr 2022 09:20:16 +0200 Francois Perrad wrote: > Signed-off-by: Francois Perrad > --- > package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch | 2 +- > package/libressl/Config.in | 2 ++ > package/libressl/libressl.hash | 2 +- > package/libressl/libressl.mk | 2 +- > 4 files changed, 5 insertions(+), 3 deletions(-) Applied to master without the unnecessary change in the Config.in file. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From arnout at mind.be Mon Apr 25 19:31:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:31:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.1 In-Reply-To: <20220422185015.3486540-1-aperez@igalia.com> References: <20220422185015.3486540-1-aperez@igalia.com> Message-ID: <1d3f65e2-4de6-0268-dec5-467307a11290@mind.be> On 22/04/2022 20:50, Adrian Perez de Castro wrote: > Bugfix release, with the usual flurry of correctness fixes, and a patch > to fix the build with the accessibility support disabled. Release notes: > > https://wpewebkit.org/release/wpewebkit-2.36.1.html > > Signed-off-by: Adrian Perez de Castro Applied to master, thanks. Regards, Arnout > --- > package/wpewebkit/wpewebkit.hash | 8 ++++---- > package/wpewebkit/wpewebkit.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash > index 1e1aa62117..3923c32111 100644 > --- a/package/wpewebkit/wpewebkit.hash > +++ b/package/wpewebkit/wpewebkit.hash > @@ -1,7 +1,7 @@ > -# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums > -md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz > -sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz > -sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz > +# From https://wpewebkit.org/releases/wpewebkit-2.36.1.tar.xz.sums > +md5 7ba1c7fd0f67891ad137d11cac12f7a9 wpewebkit-2.36.1.tar.xz > +sha1 0918a4daded01f42e65ec02a69f21cd6705311db wpewebkit-2.36.1.tar.xz > +sha256 ec83d8b2f8c3479ce9950d69440f3b9876ab70200fe6f4e07686054a0cba5723 wpewebkit-2.36.1.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk > index df29d6f170..9c9a9a2838 100644 > --- a/package/wpewebkit/wpewebkit.mk > +++ b/package/wpewebkit/wpewebkit.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WPEWEBKIT_VERSION = 2.36.0 > +WPEWEBKIT_VERSION = 2.36.1 > WPEWEBKIT_SITE = http://www.wpewebkit.org/releases > WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz > WPEWEBKIT_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 25 19:31:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:31:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/webkitgtk: bump to version 2.36.1 In-Reply-To: <20220422184431.3471788-1-aperez@igalia.com> References: <20220422184431.3471788-1-aperez@igalia.com> Message-ID: <67f429aa-725f-2641-6e0e-70bb1f11e6cb@mind.be> On 22/04/2022 20:44, Adrian Perez de Castro wrote: > Bugfix release, with the usual flurry of correctness fixes, and a patch > to fix the build with the accessibility support disabled. Release notes: > > https://webkitgtk.org/2022/04/21/webkitgtk2.36.1-released.html > > Signed-off-by: Adrian Perez de Castro Applied to master, thanks. Regards, Arnout > --- > package/webkitgtk/webkitgtk.hash | 8 ++++---- > package/webkitgtk/webkitgtk.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 38068745ee..00a342ed7f 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,7 +1,7 @@ > -# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums > -md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz > -sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz > -sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz > +# From https://webkitgtk.org/releases/webkitgtk-2.36.1.tar.xz.sums > +md5 e6100df7f82d95a4e65176b10f5ab011 webkitgtk-2.36.1.tar.xz > +sha1 36a95b906e54bcf94d2be04e1cbaac3584da7eb1 webkitgtk-2.36.1.tar.xz > +sha256 0149ea5fb1d20f2a9981677d45c952a047330001ea24a8dc29035239f12c0c8f webkitgtk-2.36.1.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index eca175d1bd..9e85c5b78f 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.36.0 > +WEBKITGTK_VERSION = 2.36.1 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 25 19:33:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:33:40 +0200 Subject: [Buildroot] [PATCH v2, 1/2] package/netsurf: fix build with BR2_OPTIMIZE_FAST In-Reply-To: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> References: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> Message-ID: <5d9780b7-3579-c9b8-f2ce-ec5efc9f187f@mind.be> On 22/04/2022 23:21, Fabrice Fontaine wrote: > Disable duktape with BR2_OPTIMIZE_FAST to fix the following build > failure: > > In file included from content/handlers/javascript/duktape/duktape.h:195, > from build/Linux-framebuffer/duktape/application_cache.c:21: > content/handlers/javascript/duktape/duk_config.h:2861:2: error: #error __FAST_MATH__ defined, refusing to compile > 2861 | #error __FAST_MATH__ defined, refusing to compile > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/2f1b42e2be3aa76cbacd84f3d0ad8b13edce6982 > > Signed-off-by: Fabrice Fontaine > --- > package/netsurf/netsurf.mk | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk > index 1064698c12..574c1423df 100644 > --- a/package/netsurf/netsurf.mk > +++ b/package/netsurf/netsurf.mk > @@ -14,6 +14,17 @@ NETSURF_CPE_ID_VENDOR = netsurf-browser > NETSURF_DEPENDENCIES = expat jpeg libpng \ > host-bison host-flex host-gperf host-pkgconf host-vim > > +# internal duktape doesn't build with BR2_OPTIMIZE_FAST > +ifeq ($(BR2_OPTIMIZE_FAST),y) > +define NETSURF_DUKTAPE_CONFIGURE_CMDS > + echo "override NETSURF_USE_DUKTAPE := NO" >> $(@D)/netsurf/Makefile.config > +endef > +else > +define NETSURF_DUKTAPE_CONFIGURE_CMDS > + echo "override NETSURF_USE_DUKTAPE := YES" >> $(@D)/netsurf/Makefile.config > +endef > +endif Ideally we'd unbundle duktape of course. I took a look, doesn't look doable. Thing is, with this, based on optimisation option, you have netsurf with or without javascript support. Not exactly ideal. I think this should be a user-visible option then. Anyway, for now, applied to master, thanks. Regards, Arnout > + > ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) > NETSURF_DEPENDENCIES += libgtk2 > NETSURF_FRONTEND = gtk2 > @@ -77,6 +88,7 @@ endef > endif > > define NETSURF_CONFIGURE_CMDS > + $(NETSURF_DUKTAPE_CONFIGURE_CMDS) > $(NETSURF_ICONV_CONFIGURE_CMDS) > $(NETSURF_SVG_CONFIGURE_CMDS) > $(NETSURF_FONTLIB_CONFIGURE_CMDS) From arnout at mind.be Mon Apr 25 19:34:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:34:07 +0200 Subject: [Buildroot] [PATCH v2, 2/2] package/netsurf: fix build with ccache In-Reply-To: <20220422212117.1291718-2-fontaine.fabrice@gmail.com> References: <20220422212117.1291718-1-fontaine.fabrice@gmail.com> <20220422212117.1291718-2-fontaine.fabrice@gmail.com> Message-ID: <3f3dfe0e-0086-0f47-ce50-2d1085a24272@mind.be> On 22/04/2022 23:21, Fabrice Fontaine wrote: > Update second patch to fix the following build failure with ccache: > > /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. > > Fixes: > - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2 (after review of Arnout Vandecappelle): > - Update patch instead of using HOST_NOCCACHE) > > package/netsurf/0002-do-not-cross-compile-nsgenbind.patch | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch > index 2d4637511e..7caad47a20 100644 > --- a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch > +++ b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch > @@ -8,6 +8,8 @@ the build, so it should not be built with the cross-compiler, but with > the native compiler. > > Signed-off-by: Francois Perrad > +[Fabrice: add quotes around BUILD_CC to fix build with ccache] > +Signed-off-by: Fabrice Fontaine > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > @@ -21,7 +23,7 @@ index f279f01..5698c87 100644 > # prefixed install macro for each host sub target > define do_build_prefix_install > - $(MAKE) install --directory=$1 HOST=$(BUILD) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= > -+ $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= > ++ $(MAKE) install --directory=$1 HOST=$(BUILD) CC="$(BUILD_CC)" PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= > > endef > From arnout at mind.be Mon Apr 25 19:34:30 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:34:30 +0200 Subject: [Buildroot] [PATCH 0/3] Update wlroots to the latest release In-Reply-To: <20220422214919.367067-1-aperez@igalia.com> References: <20220422214919.367067-1-aperez@igalia.com> Message-ID: On 22/04/2022 23:49, Adrian Perez de Castro wrote: > Hi, > > This is a small patch set which brings wlroots library to its most recent > version, fixing the cage compositor with a backported patch (as there is > no newer release yet). I am adding one additional patch that enables the > new Vulkan renderer when any of Mesa's Vulkan drivers is selected, too. > > I don't expect the two first patches of the set to be controversial, but > dunno about the Vulkan one. If there are doubts, I suppose the first two > could be merged anyway, leaving the other out for further discussion. > > One more thing: With wlroots 0.15.x it is finally possible to disable building > the accelerated renderers (GLESv2, Vulkan) and have only the software based > one (Pixman) built into wlroots. Currently I do not have the need for such a > configuration, and therefore I am not planning to send a patch to allow that > for now. On the other hand, if anyone wanted to try writing the patch, I would > be more than happy to review it :-) > > Cheers, > -Adrian > > > Adrian Perez de Castro (3): > package/wlroots: bump to version 0.15.1 > package/cage: add upstream patch for wlroots 0.15.x > package/wlroots: enable vulkan renderer if possible Series applied to master, thanks. Regards, Arnout > > .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ++++++++++++++++++ > package/wlroots/Config.in | 2 +- > package/wlroots/wlroots.hash | 4 +- > package/wlroots/wlroots.mk | 29 +- > 4 files changed, 332 insertions(+), 15 deletions(-) > create mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch > From arnout at mind.be Mon Apr 25 19:34:50 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:34:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-good: fix build with gcc 4.8 In-Reply-To: <20220422215931.2712013-1-fontaine.fabrice@gmail.com> References: <20220422215931.2712013-1-fontaine.fabrice@gmail.com> Message-ID: On 22/04/2022 23:59, Fabrice Fontaine wrote: > Fix the following build failure with gcc 4.8 raised since bump to > version 1.20.0 in commit 34317969278d7b6d923d4889fb4235f112b2b201: > > ../ext/soup/gstsouploader.c: In function 'gst_soup_load_library': > ../ext/soup/gstsouploader.c:219:3: error: 'for' loop initial declarations are only allowed in C99 mode > for (guint i = 0; i < len; i++) { > ^ > > Fixes: > - http://autobuild.buildroot.org/results/21792a9839d9722815075569123df8747fc450e3 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk > index 1168feb293..2b6cf769aa 100644 > --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk > +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk > @@ -10,6 +10,7 @@ GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good > GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING > GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ > > +GST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 > GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) > > GST1_PLUGINS_GOOD_CONF_OPTS = \ From arnout at mind.be Mon Apr 25 19:35:10 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 21:35:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9 In-Reply-To: <20220422220408.3173274-1-fontaine.fabrice@gmail.com> References: <20220422220408.3173274-1-fontaine.fabrice@gmail.com> Message-ID: On 23/04/2022 00:04, Fabrice Fontaine wrote: > SVG support needs host gcc >= 4.9 since bump of harfbuzz to version > 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: > > In file included from ../src/hb.hh:473:0, > from ../src/hb-buffer-serialize.cc:27: > ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' > hb_enable_if (std::is_trivially_copy_assignable::value)> > ^ > > Fixes: > - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/imagemagick/Config.in.host | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host > index 671b0995dc..5055101e23 100644 > --- a/package/imagemagick/Config.in.host > +++ b/package/imagemagick/Config.in.host > @@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK > config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG > bool "SVG support" > depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg > + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz > help > Say 'y' here is you need ImageMagick tools (like convert) > to support SVG. > @@ -24,4 +25,8 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG > This is not enabled by default, as it brings quite a few > extra dependencies, and thus extra build time. > > +comment "SVG support needs host gcc >= 4.9" > + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS > + depends on !BR2_HOST_GCC_AT_LEAST_4_9 > + > endif From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/netsurf: fix build with BR2_OPTIMIZE_FAST Message-ID: <20220425192517.BEA4D8437F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa2a017ba911419bc5b54821888007fb3587a495 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable duktape with BR2_OPTIMIZE_FAST to fix the following build failure: In file included from content/handlers/javascript/duktape/duktape.h:195, from build/Linux-framebuffer/duktape/application_cache.c:21: content/handlers/javascript/duktape/duk_config.h:2861:2: error: #error __FAST_MATH__ defined, refusing to compile 2861 | #error __FAST_MATH__ defined, refusing to compile | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/2f1b42e2be3aa76cbacd84f3d0ad8b13edce6982 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/netsurf/netsurf.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 1064698c12..574c1423df 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -14,6 +14,17 @@ NETSURF_CPE_ID_VENDOR = netsurf-browser NETSURF_DEPENDENCIES = expat jpeg libpng \ host-bison host-flex host-gperf host-pkgconf host-vim +# internal duktape doesn't build with BR2_OPTIMIZE_FAST +ifeq ($(BR2_OPTIMIZE_FAST),y) +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := NO" >> $(@D)/netsurf/Makefile.config +endef +else +define NETSURF_DUKTAPE_CONFIGURE_CMDS + echo "override NETSURF_USE_DUKTAPE := YES" >> $(@D)/netsurf/Makefile.config +endef +endif + ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) NETSURF_DEPENDENCIES += libgtk2 NETSURF_FRONTEND = gtk2 @@ -77,6 +88,7 @@ endef endif define NETSURF_CONFIGURE_CMDS + $(NETSURF_DUKTAPE_CONFIGURE_CMDS) $(NETSURF_ICONV_CONFIGURE_CMDS) $(NETSURF_SVG_CONFIGURE_CMDS) $(NETSURF_FONTLIB_CONFIGURE_CMDS) From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/wpewebkit: bump to version 2.36.1 Message-ID: <20220425192517.B25438430B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b7a0e39b608ef864ae1f2b198b2557b0dc164b39 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release, with the usual flurry of correctness fixes, and a patch to fix the build with the accessibility support disabled. Release notes: https://wpewebkit.org/release/wpewebkit-2.36.1.html Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpewebkit/wpewebkit.hash | 8 ++++---- package/wpewebkit/wpewebkit.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash index 1e1aa62117..3923c32111 100644 --- a/package/wpewebkit/wpewebkit.hash +++ b/package/wpewebkit/wpewebkit.hash @@ -1,7 +1,7 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.36.0.tar.xz.sums -md5 b7b951cd7f6eb4a8585338505ce71234 wpewebkit-2.36.0.tar.xz -sha1 904629a9ce3a4ab67d47315b008dc3152d504205 wpewebkit-2.36.0.tar.xz -sha256 096aa9f87d9bfbfc80f558388a86721cdcc508b42ddef10bd270aec9aee96d5a wpewebkit-2.36.0.tar.xz +# From https://wpewebkit.org/releases/wpewebkit-2.36.1.tar.xz.sums +md5 7ba1c7fd0f67891ad137d11cac12f7a9 wpewebkit-2.36.1.tar.xz +sha1 0918a4daded01f42e65ec02a69f21cd6705311db wpewebkit-2.36.1.tar.xz +sha256 ec83d8b2f8c3479ce9950d69440f3b9876ab70200fe6f4e07686054a0cba5723 wpewebkit-2.36.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index 3ce38d8c27..aac9173566 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEWEBKIT_VERSION = 2.36.0 +WPEWEBKIT_VERSION = 2.36.1 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz WPEWEBKIT_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 25 19:10:05 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:05 +0200 Subject: [Buildroot] [git commit] package/webkitgtk: bump to version 2.36.1 Message-ID: <20220425192517.A54598437C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ab1157bbe4d31d76241d8922a995474b85c768ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release, with the usual flurry of correctness fixes, and a patch to fix the build with the accessibility support disabled. Release notes: https://webkitgtk.org/2022/04/21/webkitgtk2.36.1-released.html Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/webkitgtk/webkitgtk.hash | 8 ++++---- package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 38068745ee..00a342ed7f 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.36.0.tar.xz.sums -md5 1e3fe866ab6e41e7ec3deb80bd5b3a85 webkitgtk-2.36.0.tar.xz -sha1 5b90bc59c2f442223de1a4d9dc8ff604888abb3c webkitgtk-2.36.0.tar.xz -sha256 b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d webkitgtk-2.36.0.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.36.1.tar.xz.sums +md5 e6100df7f82d95a4e65176b10f5ab011 webkitgtk-2.36.1.tar.xz +sha1 36a95b906e54bcf94d2be04e1cbaac3584da7eb1 webkitgtk-2.36.1.tar.xz +sha256 0149ea5fb1d20f2a9981677d45c952a047330001ea24a8dc29035239f12c0c8f webkitgtk-2.36.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index eca175d1bd..9e85c5b78f 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.36.0 +WEBKITGTK_VERSION = 2.36.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/gstreamer1/gst1-plugins-good: fix build with gcc 4.8 Message-ID: <20220425192518.0959A8437E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=288353ec746d91dd84e6abe76bf424909db82d1b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc 4.8 raised since bump to version 1.20.0 in commit 34317969278d7b6d923d4889fb4235f112b2b201: ../ext/soup/gstsouploader.c: In function 'gst_soup_load_library': ../ext/soup/gstsouploader.c:219:3: error: 'for' loop initial declarations are only allowed in C99 mode for (guint i = 0; i < len; i++) { ^ Fixes: - http://autobuild.buildroot.org/results/21792a9839d9722815075569123df8747fc450e3 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 1168feb293..2b6cf769aa 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -10,6 +10,7 @@ GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ +GST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) GST1_PLUGINS_GOOD_CONF_OPTS = \ From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/wlroots: bump to version 0.15.1 Message-ID: <20220425192517.D7E278437E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b02b8ee3bb99cf453675d216701dec7ae6313e38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update to version 0.15.1, and adapt to upstream changes: - Adapted from the old -Dfoo-backend Meson option to the new -Dbackends one, which is an array. The set of always enabled backends matches the previous selection: drm+libinput always enabled, x11 only if selected. - Removed the libpng and ffmpeg dependency, which are no longer needed with examples disabled (which is always the case for Buildroot). - Changed homepage and download site URLs to the FreeDesktop.org GitLab. This release changes the API/ABI, and applications which use wlroots must be adapted and rebuilt. Currently in Buildroot we have only the cage compositor, to be updated in a follow-up patch. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wlroots/Config.in | 2 +- package/wlroots/wlroots.hash | 4 ++-- package/wlroots/wlroots.mk | 19 ++++++++----------- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/package/wlroots/Config.in b/package/wlroots/Config.in index 8d485992f5..84a4ef846e 100644 --- a/package/wlroots/Config.in +++ b/package/wlroots/Config.in @@ -27,7 +27,7 @@ config BR2_PACKAGE_WLROOTS wlroots is a modular Wayland library for building compositors which implements many of their common features. - https://github.com/swaywm/wlroots + https://gitlab.freedesktop.org/wlroots/wlroots if BR2_PACKAGE_WLROOTS diff --git a/package/wlroots/wlroots.hash b/package/wlroots/wlroots.hash index fdebe1ef68..04bbd65e43 100644 --- a/package/wlroots/wlroots.hash +++ b/package/wlroots/wlroots.hash @@ -1,5 +1,5 @@ -# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.14.1/wlroots-0.14.1.tar.gz.sig -sha256 448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db wlroots-0.14.1.tar.gz +# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.15.1/downloads/wlroots-0.15.1.tar.gz.sig +sha256 5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373 wlroots-0.15.1.tar.gz # Hashes for license files: sha256 ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b LICENSE diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index 89d5024176..baa1edd9e1 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -4,8 +4,8 @@ # ################################################################################ -WLROOTS_VERSION = 0.14.1 -WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION) +WLROOTS_VERSION = 0.15.1 +WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads WLROOTS_LICENSE = MIT WLROOTS_LICENSE_FILES = LICENSE WLROOTS_INSTALL_STAGING = YES @@ -25,19 +25,16 @@ WLROOTS_DEPENDENCIES = \ WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 -ifeq ($(BR2_PACKAGE_FFMPEG),y) -WLROOTS_DEPENDENCIES += ffmpeg -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -WLROOTS_DEPENDENCIES += libpng -endif +WLROOTS_BACKENDS = libinput drm ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) -WLROOTS_CONF_OPTS += -Dx11-backend=enabled -Dxwayland=enabled +WLROOTS_BACKENDS += x11 +WLROOTS_CONF_OPTS += -Dxwayland=enabled WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11 else -WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled +WLROOTS_CONF_OPTS += -Dxwayland=disabled endif +WLROOTS_CONF_OPTS += -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) + $(eval $(meson-package)) From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/netsurf: fix build with ccache Message-ID: <20220425192517.CB9AB8430B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9a890e68b6c19b273fc001fa0b2b7eac9bf3b19d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update second patch to fix the following build failure with ccache: /home/autobuild/autobuild/instance-11/output-1/build/netsurf-3.10/tmpusr/share/netsurf-buildsystem/makefiles/Makefile.tools:413: *** Unable to detect toolchain. Stop. Fixes: - http://autobuild.buildroot.org/results/b4ba19d7dcff1b0ee2b1546598b5ae6e9257a16d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/netsurf/0002-do-not-cross-compile-nsgenbind.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch index 2d4637511e..7caad47a20 100644 --- a/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch +++ b/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch @@ -8,6 +8,8 @@ the build, so it should not be built with the cross-compiler, but with the native compiler. Signed-off-by: Francois Perrad +[Fabrice: add quotes around BUILD_CC to fix build with ccache] +Signed-off-by: Fabrice Fontaine --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) @@ -21,7 +23,7 @@ index f279f01..5698c87 100644 # prefixed install macro for each host sub target define do_build_prefix_install - $(MAKE) install --directory=$1 HOST=$(BUILD) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= -+ $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= ++ $(MAKE) install --directory=$1 HOST=$(BUILD) CC="$(BUILD_CC)" PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR= endef From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/wlroots: enable vulkan renderer if possible Message-ID: <20220425192517.EF9328437C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d7f72651254ba24efc5faea743f1ce34d9ef6ed5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Enable the wlroots' Vulkan renderer if a suitable driver is being built. Currently only Mesa provides Vulkan drivers, so gating the feature on BR2_PACKAGE_MESA3D_VULKAN_DRIVER seems reasonable at the moment (and is done at least by one other package already: pipewire). Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wlroots/wlroots.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index baa1edd9e1..4f14d20b11 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -23,8 +23,9 @@ WLROOTS_DEPENDENCIES = \ wayland \ wayland-protocols -WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 +WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled +WLROOTS_RENDERERS = gles2 WLROOTS_BACKENDS = libinput drm ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) @@ -35,6 +36,13 @@ else WLROOTS_CONF_OPTS += -Dxwayland=disabled endif -WLROOTS_CONF_OPTS += -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) +ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),y) +WLROOTS_RENDERERS += vulkan +WLROOTS_DEPENDENCIES += mesa3d +endif + +WLROOTS_CONF_OPTS += \ + -Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) \ + -Drenderers=$(subst $(space),$(comma),$(strip $(WLROOTS_RENDERERS))) $(eval $(meson-package)) From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/imagemagick: SVG support needs host gcc >= 4.9 Message-ID: <20220425192518.16C478437C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e83eca44966a4fa3111407eea09273d71f20ac38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master SVG support needs host gcc >= 4.9 since bump of harfbuzz to version 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33: In file included from ../src/hb.hh:473:0, from ../src/hb-buffer-serialize.cc:27: ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std' hb_enable_if (std::is_trivially_copy_assignable::value)> ^ Fixes: - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/imagemagick/Config.in.host | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host index 671b0995dc..5055101e23 100644 --- a/package/imagemagick/Config.in.host +++ b/package/imagemagick/Config.in.host @@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG bool "SVG support" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz help Say 'y' here is you need ImageMagick tools (like convert) to support SVG. @@ -24,4 +25,8 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG This is not enabled by default, as it brings quite a few extra dependencies, and thus extra build time. +comment "SVG support needs host gcc >= 4.9" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + depends on !BR2_HOST_GCC_AT_LEAST_4_9 + endif From arnout at mind.be Mon Apr 25 19:10:06 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:10:06 +0200 Subject: [Buildroot] [git commit] package/cage: add upstream patch for wlroots 0.15.x Message-ID: <20220425192517.E45208430B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4bb391014c1de216a77024263b5b53ee499ee779 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add a backported patch from the upstream repository which makes cage usable with wlroots 0.15.x. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ++++++++++++++++++++++++ 1 file changed, 312 insertions(+) diff --git a/package/cage/0001-Upgrade-to-wlroots-0.15.patch b/package/cage/0001-Upgrade-to-wlroots-0.15.patch new file mode 100644 index 0000000000..a5716ede43 --- /dev/null +++ b/package/cage/0001-Upgrade-to-wlroots-0.15.patch @@ -0,0 +1,312 @@ +From e51bef3fdad649d453276717294cc6177666cf5a Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Wed, 11 Aug 2021 11:31:14 +0200 +Subject: [PATCH] Upgrade to wlroots 0.15 + +- Update wlr_box includes to util/box.h: the wlroots header has + been moved upstream. +- Subsurface fields have been moved +- Create renderer and allocator, stop using wlr_backend_get_renderer +- Initalize output rendering + +Signed-off-by: Adrian Perez de Castro +Upstream status: https://github.com/Hjdskes/cage/commit/395189fb051ed722c7b10b6cb11caa8f6904079c +--- + cage.c | 21 +++++++++++++++++---- + meson.build | 2 +- + output.c | 5 +++++ + render.c | 26 ++++++++------------------ + server.h | 2 ++ + util.c | 2 -- + util.h | 2 +- + view.c | 5 ++--- + view.h | 2 +- + xdg_shell.c | 1 - + xwayland.c | 1 - + 11 files changed, 37 insertions(+), 32 deletions(-) + +diff --git a/cage.c b/cage.c +index 5392535..f9db7a9 100644 +--- a/cage.c ++++ b/cage.c +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -261,7 +262,6 @@ main(int argc, char *argv[]) + struct wl_event_source *sigint_source = NULL; + struct wl_event_source *sigterm_source = NULL; + struct wl_event_source *sigchld_source = NULL; +- struct wlr_renderer *renderer = NULL; + struct wlr_compositor *compositor = NULL; + struct wlr_data_device_manager *data_device_manager = NULL; + struct wlr_server_decoration_manager *server_decoration_manager = NULL; +@@ -316,8 +316,21 @@ main(int argc, char *argv[]) + goto end; + } + +- renderer = wlr_backend_get_renderer(server.backend); +- wlr_renderer_init_wl_display(renderer, server.wl_display); ++ server.renderer = wlr_renderer_autocreate(server.backend); ++ if (!server.renderer) { ++ wlr_log(WLR_ERROR, "Unable to create the wlroots renderer"); ++ ret = 1; ++ goto end; ++ } ++ ++ server.allocator = wlr_allocator_autocreate(server.backend, server.renderer); ++ if (!server.allocator) { ++ wlr_log(WLR_ERROR, "Unable to create the wlroots allocator"); ++ ret = 1; ++ goto end; ++ } ++ ++ wlr_renderer_init_wl_display(server.renderer, server.wl_display); + + wl_list_init(&server.views); + wl_list_init(&server.outputs); +@@ -329,7 +342,7 @@ main(int argc, char *argv[]) + goto end; + } + +- compositor = wlr_compositor_create(server.wl_display, renderer); ++ compositor = wlr_compositor_create(server.wl_display, server.renderer); + if (!compositor) { + wlr_log(WLR_ERROR, "Unable to create the wlroots compositor"); + ret = 1; +diff --git a/meson.build b/meson.build +index 3a84794..f2e5428 100644 +--- a/meson.build ++++ b/meson.build +@@ -34,7 +34,7 @@ if is_freebsd + ) + endif + +-wlroots = dependency('wlroots', version: '>= 0.14.0') ++wlroots = dependency('wlroots', version: '>= 0.15.0') + wayland_protos = dependency('wayland-protocols', version: '>=1.14') + wayland_server = dependency('wayland-server') + pixman = dependency('pixman-1') +diff --git a/output.c b/output.c +index d8da3b9..e8b3a22 100644 +--- a/output.c ++++ b/output.c +@@ -442,6 +442,11 @@ handle_new_output(struct wl_listener *listener, void *data) + struct cg_server *server = wl_container_of(listener, server, new_output); + struct wlr_output *wlr_output = data; + ++ if (!wlr_output_init_render(wlr_output, server->allocator, server->renderer)) { ++ wlr_log(WLR_ERROR, "Failed to initialize output rendering"); ++ return; ++ } ++ + struct cg_output *output = calloc(1, sizeof(struct cg_output)); + if (!output) { + wlr_log(WLR_ERROR, "Failed to allocate output"); +diff --git a/render.c b/render.c +index 166a088..ffa960f 100644 +--- a/render.c ++++ b/render.c +@@ -10,11 +10,11 @@ + #include + #include + #include +-#include + #include + #include + #include + #include ++#include + #include + #include + +@@ -27,8 +27,6 @@ + static void + scissor_output(struct wlr_output *output, pixman_box32_t *rect) + { +- struct wlr_renderer *renderer = wlr_backend_get_renderer(output->backend); +- + struct wlr_box box = { + .x = rect->x1, + .y = rect->y1, +@@ -41,7 +39,7 @@ scissor_output(struct wlr_output *output, pixman_box32_t *rect) + enum wl_output_transform transform = wlr_output_transform_invert(output->transform); + wlr_box_transform(&box, &box, transform, output_width, output_height); + +- wlr_renderer_scissor(renderer, &box); ++ wlr_renderer_scissor(output->renderer, &box); + } + + struct render_data { +@@ -52,8 +50,6 @@ static void + render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, struct wlr_texture *texture, + const struct wlr_box *box, const float matrix[static 9]) + { +- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); +- + pixman_region32_t damage; + pixman_region32_init(&damage); + pixman_region32_union_rect(&damage, &damage, box->x, box->y, box->width, box->height); +@@ -66,7 +62,7 @@ render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, + pixman_box32_t *rects = pixman_region32_rectangles(&damage, &nrects); + for (int i = 0; i < nrects; i++) { + scissor_output(wlr_output, &rects[i]); +- wlr_render_texture_with_matrix(renderer, texture, matrix, 1.0f); ++ wlr_render_texture_with_matrix(wlr_output->renderer, texture, matrix, 1.0f); + } + + damage_finish: +@@ -134,13 +130,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + struct cg_server *server = output->server; + struct wlr_output *wlr_output = output->wlr_output; + +- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); +- if (!renderer) { +- wlr_log(WLR_DEBUG, "Expected the output backend to have a renderer"); +- return; +- } +- +- wlr_renderer_begin(renderer, wlr_output->width, wlr_output->height); ++ wlr_renderer_begin(server->renderer, wlr_output->width, wlr_output->height); + + if (!pixman_region32_not_empty(damage)) { + wlr_log(WLR_DEBUG, "Output isn't damaged but needs a buffer swap"); +@@ -149,7 +139,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + + #ifdef DEBUG + if (server->debug_damage_tracking) { +- wlr_renderer_clear(renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); ++ wlr_renderer_clear(server->renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); + } + #endif + +@@ -158,7 +148,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) + pixman_box32_t *rects = pixman_region32_rectangles(damage, &nrects); + for (int i = 0; i < nrects; i++) { + scissor_output(wlr_output, &rects[i]); +- wlr_renderer_clear(renderer, color); ++ wlr_renderer_clear(server->renderer, color); + } + + // TODO: render only top view, possibly use focused view for this, see #35. +@@ -178,8 +168,8 @@ renderer_end: + /* Draw software cursor in case hardware cursors aren't + available. This is a no-op when they are. */ + wlr_output_render_software_cursors(wlr_output, damage); +- wlr_renderer_scissor(renderer, NULL); +- wlr_renderer_end(renderer); ++ wlr_renderer_scissor(server->renderer, NULL); ++ wlr_renderer_end(server->renderer); + + int output_width, output_height; + wlr_output_transformed_resolution(wlr_output, &output_width, &output_height); +diff --git a/server.h b/server.h +index 817637b..74970c5 100644 +--- a/server.h ++++ b/server.h +@@ -25,6 +25,8 @@ struct cg_server { + struct wl_display *wl_display; + struct wl_list views; + struct wlr_backend *backend; ++ struct wlr_renderer *renderer; ++ struct wlr_allocator *allocator; + + struct cg_seat *seat; + struct wlr_idle *idle; +diff --git a/util.c b/util.c +index 95de499..714c7e3 100644 +--- a/util.c ++++ b/util.c +@@ -6,8 +6,6 @@ + * See the LICENSE file accompanying this file. + */ + +-#include +- + #include "util.h" + + int +diff --git a/util.h b/util.h +index db6bc7d..b6281f3 100644 +--- a/util.h ++++ b/util.h +@@ -1,7 +1,7 @@ + #ifndef CG_UTIL_H + #define CG_UTIL_H + +-#include ++#include + + /** Apply scale to a width or height. */ + int scale_length(int length, int offset, float scale); +diff --git a/view.c b/view.c +index 3f3b0ed..33b59b4 100644 +--- a/view.c ++++ b/view.c +@@ -12,7 +12,6 @@ + #include + #include + #include +-#include + #include + #include + +@@ -235,10 +234,10 @@ view_map(struct cg_view *view, struct wlr_surface *surface) + view->wlr_surface = surface; + + struct wlr_subsurface *subsurface; +- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_below, parent_link) { ++ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_below, current.link) { + subsurface_create(view, subsurface); + } +- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_above, parent_link) { ++ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_above, current.link) { + subsurface_create(view, subsurface); + } + +diff --git a/view.h b/view.h +index cd16e42..87477d0 100644 +--- a/view.h ++++ b/view.h +@@ -5,9 +5,9 @@ + + #include + #include +-#include + #include + #include ++#include + #if CAGE_HAS_XWAYLAND + #include + #endif +diff --git a/xdg_shell.c b/xdg_shell.c +index 2e42347..d676552 100644 +--- a/xdg_shell.c ++++ b/xdg_shell.c +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + +diff --git a/xwayland.c b/xwayland.c +index 2aae0f9..ebd8e54 100644 +--- a/xwayland.c ++++ b/xwayland.c +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + +-- +2.36.0 + From arnout at mind.be Mon Apr 25 20:04:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:04:48 +0200 Subject: [Buildroot] [PATCH v2 1/4] package/wilc1000-firmware: bump to 15.6 In-Reply-To: <20220422223611.10443-2-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-2-kris@embeddedTS.com> Message-ID: <9223c80f-61a0-985f-7aba-fa6128286fa9@mind.be> On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > Supports both WILC1000 (Wi-Fi only) and WILC3000 (Wi-Fi/BLE) hardware. > > To support WILC3000 this commit adds a separate config option, > the original config option from this package is still valid. > > License information copied from Microchip's buildroot-external > project. > > Signed-off-by: Kris Bahnsen Applied to master, thanks, but with a few changes, see below. [snip] > diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc1000-firmware/wilc1000-firmware.hash > index 5344efe517..9d55be9edc 100644 > --- a/package/wilc1000-firmware/wilc1000-firmware.hash > +++ b/package/wilc1000-firmware/wilc1000-firmware.hash > @@ -1,2 +1,2 @@ > # Locally calculated > -sha256 a2e7a327dd545ba2051946f7613005cbde88fdd952afb8eecdd1dacda7e767d2 v14.1_Firmware.zip > +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz Hash for the license file you added was missing. > diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc1000-firmware/wilc1000-firmware.mk > index 6f504d67a0..0af81c7110 100644 > --- a/package/wilc1000-firmware/wilc1000-firmware.mk > +++ b/package/wilc1000-firmware/wilc1000-firmware.mk > @@ -4,21 +4,32 @@ > # > ################################################################################ > > -WILC1000_FIRMWARE_VERSION = 14.1 > -WILC1000_FIRMWARE_SITE = https://github.com/linux4sc/wireless-firmware/archive > -WILC1000_FIRMWARE_SOURCE = v$(WILC1000_FIRMWARE_VERSION)_Firmware.zip > +WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 > +WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) > > -WILC1000_FIRMWARE_LICENSE = PROPRIETARY > +WILC1000_FIRMWARE_LICENSE = Microchip firmware We actually use proprietary to mark any non-open-source license. The idea is that SPDX is uses for the LICENSE variable (with an exception: adding + instead of -or-later, and no -only). This is not done consistently, but I don't want to go in the wrong direction :-). And maybe there's something to be said for using a more descriptive license name than proprietary, but this shouldn't be snuck in with a version bump. Regards, Arnout > +WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw > > -define WILC1000_FIRMWARE_EXTRACT_CMDS > - $(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE) > - mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D) > - rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware > +ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) > +WILC1000_FIRMWARE_FILES += \ > + wilc1000_wifi_firmware.bin > +endif > + > +ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) > +WILC1000_FIRMWARE_FILES += \ > + wilc3000_ble_firmware.bin \ > + wilc3000_wifi_firmware.bin > +endif > + > +define WILC1000_FIRMWARE_INSTALL_FILES > + cd $(@D) && \ > + $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ > + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp > endef > > define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS > - $(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \ > - $(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin > + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ > + $(WILC1000_FIRMWARE_INSTALL_FILES) > endef > > $(eval $(generic-package)) From arnout at mind.be Mon Apr 25 20:06:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:06:39 +0200 Subject: [Buildroot] [PATCH v2 2/4] package/wilc-firmware: rename from wilc1000-firmware In-Reply-To: <20220422223611.10443-3-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-3-kris@embeddedTS.com> Message-ID: On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > Separates out WILC1000 and WILC3000 in to individual config options > since in reality only one or the other set would be needed. > > Signed-off-by: Kris Bahnsen > --- > DEVELOPERS | 5 ++++- > package/Config.in | 2 +- > .../{wilc1000-firmware => wilc-firmware}/Config.in | 9 +++++++-- > .../wilc-firmware.hash} | 2 +- > .../wilc-firmware.mk} | 22 +++++++++++----------- > 5 files changed, 24 insertions(+), 16 deletions(-) > rename package/{wilc1000-firmware => wilc-firmware}/Config.in (82%) > rename package/{wilc1000-firmware/wilc1000-firmware.hash => wilc-firmware/wilc-firmware.hash} (62%) > rename package/{wilc1000-firmware/wilc1000-firmware.mk => wilc-firmware/wilc-firmware.mk} (51%) > > diff --git a/DEVELOPERS b/DEVELOPERS > index ca9decb58f..fc0f52edf5 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -1662,6 +1662,9 @@ F: board/octavo/osd32mp1-red/ > F: configs/octavo_osd32mp1_brk_defconfig > F: configs/octavo_osd32mp1_red_defconfig > > +N: Kris Bahnsen > +F: package/wilc-firmware/ > + > N: Kurt Van Dijck > F: package/bcusdk/ > F: package/libpthsem/ > @@ -1759,7 +1762,7 @@ F: package/python-json-schema-validator/ > F: package/python-keyring/ > F: package/python-simplejson/ > F: package/python-versiontools/ > -F: package/wilc1000-firmware/ > +F: package/wilc-firmware/ > > N: Maeva Manuel > F: board/freescale/imx8qmmek/ > diff --git a/package/Config.in b/package/Config.in > index 24f7af5ea8..1ff7f4cc66 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -432,7 +432,7 @@ menu "Firmware" > source "package/sunxi-boards/Config.in" > source "package/ts4900-fpga/Config.in" > source "package/ux500-firmware/Config.in" > - source "package/wilc1000-firmware/Config.in" > + source "package/wilc-firmware/Config.in" > source "package/wilink-bt-firmware/Config.in" > source "package/zd1211-firmware/Config.in" > endmenu > diff --git a/package/wilc1000-firmware/Config.in b/package/wilc-firmware/Config.in > similarity index 82% > rename from package/wilc1000-firmware/Config.in > rename to package/wilc-firmware/Config.in > index 0734c7ad99..72a9c73206 100644 > --- a/package/wilc1000-firmware/Config.in > +++ b/package/wilc-firmware/Config.in > @@ -1,5 +1,11 @@ > +config BR2_PACKAGE_WILC_FIRMWARE > + bool > + help > + Provider package for WILC1000_FIRMWARE & WILC3000_FIRMWARE > + > config BR2_PACKAGE_WILC1000_FIRMWARE > bool "wilc1000-firmware" > + select BR2_PACKAGE_WILC_FIRMWARE This is not how we normally do thing. We normally have a package with sub-options: config BR2_PACKAGE_FOO ... if BR2_PACKAGE_FOO config BR2_PACKAGE_FOO_WLC1000 config BR2_PACKAGE_FOO_WLC3000 endif However, the approach you took is pretty elegant, and I don't see anything wrong with it. So in the end I applied as is. Regards, Arnout > help > Firmware for Microchip WILC1000 wireless device > > @@ -12,9 +18,9 @@ config BR2_PACKAGE_WILC1000_FIRMWARE > > https://github.com/linux4wilc/firmware > > -if BR2_PACKAGE_WILC1000_FIRMWARE > config BR2_PACKAGE_WILC3000_FIRMWARE > bool "wilc3000-firmware" > + select BR2_PACKAGE_WILC_FIRMWARE > help > Firmware for Microchip WILC3000 wireless device > > @@ -26,4 +32,3 @@ config BR2_PACKAGE_WILC3000_FIRMWARE > These will be installed to /lib/firmware/mchp/ > > https://github.com/linux4wilc/firmware > -endif > diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc-firmware/wilc-firmware.hash > similarity index 62% > rename from package/wilc1000-firmware/wilc1000-firmware.hash > rename to package/wilc-firmware/wilc-firmware.hash > index 9d55be9edc..2f1fc9964d 100644 > --- a/package/wilc1000-firmware/wilc1000-firmware.hash > +++ b/package/wilc-firmware/wilc-firmware.hash > @@ -1,2 +1,2 @@ > # Locally calculated > -sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz > +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc-firmware-wilc_linux_15_6.tar.gz > diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc-firmware/wilc-firmware.mk > similarity index 51% > rename from package/wilc1000-firmware/wilc1000-firmware.mk > rename to package/wilc-firmware/wilc-firmware.mk > index 0af81c7110..19185bcb9b 100644 > --- a/package/wilc1000-firmware/wilc1000-firmware.mk > +++ b/package/wilc-firmware/wilc-firmware.mk > @@ -1,35 +1,35 @@ > ################################################################################ > # > -# wilc1000-firmware > +# wilc-firmware > # > ################################################################################ > > -WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 > -WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) > +WILC_FIRMWARE_VERSION = wilc_linux_15_6 > +WILC_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC_FIRMWARE_VERSION)) > > -WILC1000_FIRMWARE_LICENSE = Microchip firmware > -WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw > +WILC_FIRMWARE_LICENSE = Microchip firmware > +WILC_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw > > ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) > -WILC1000_FIRMWARE_FILES += \ > +WILC_FIRMWARE_FILES += \ > wilc1000_wifi_firmware.bin > endif > > ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) > -WILC1000_FIRMWARE_FILES += \ > +WILC_FIRMWARE_FILES += \ > wilc3000_ble_firmware.bin \ > wilc3000_wifi_firmware.bin > endif > > -define WILC1000_FIRMWARE_INSTALL_FILES > +define WILC_FIRMWARE_INSTALL_FILES > cd $(@D) && \ > - $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ > + $(TAR) cf install.tar $(sort $(WILC_FIRMWARE_FILES)) && \ > $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp > endef > > -define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS > +define WILC_FIRMWARE_INSTALL_TARGET_CMDS > $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ > - $(WILC1000_FIRMWARE_INSTALL_FILES) > + $(WILC_FIRMWARE_INSTALL_FILES) > endef > > $(eval $(generic-package)) From arnout at mind.be Mon Apr 25 20:07:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:07:31 +0200 Subject: [Buildroot] [PATCH v2 3/4] configs: add WILC3000_FIRMWARE to compatible devices In-Reply-To: <20220422223611.10443-4-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-4-kris@embeddedTS.com> Message-ID: <81c16e83-25d8-d047-4752-b33daa2e91f4@mind.be> On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > The update to wilc-firmware added firmware files for WILC3000 > devices as a separate config option. All Atmel/Microchip defconfigs > that previously only had WILC1000_FIRMWARE either have WILC3000 > Wi-Fi hardware (WILC3000 is the same silicon but with BLE added) For the ones which have a WILC3000, there's no point to include the WILC1000 firmware, right? Anyway, applied to master as is, thanks. Can be fixed up later. Regards, Arnout > or have the capacity to have either WILC1000 or WILC3000 devices > added to the system. Install all firmware blobs to these devices > by default. > > Signed-off-by: Kris Bahnsen > --- > configs/at91sam9x5ek_dev_defconfig | 1 + > configs/at91sam9x5ek_mmc_dev_defconfig | 1 + > configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + > configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + > configs/atmel_sama5d3_xplained_dev_defconfig | 1 + > configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + > configs/atmel_sama5d4_xplained_dev_defconfig | 1 + > configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + > configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + > configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + > configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + > configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + > 12 files changed, 12 insertions(+) > > diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig > index bfa8e95941..8714463d89 100644 > --- a/configs/at91sam9x5ek_dev_defconfig > +++ b/configs/at91sam9x5ek_dev_defconfig > @@ -47,6 +47,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig > index 2e1a5c7f59..9481594716 100644 > --- a/configs/at91sam9x5ek_mmc_dev_defconfig > +++ b/configs/at91sam9x5ek_mmc_dev_defconfig > @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > index ba2fa46790..38618a5732 100644 > --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > +++ b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_RNG_TOOLS=y > diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > index a8b68ca0a2..1654408aa5 100644 > --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > +++ b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig > index cdfd9de17e..64455cb2e0 100644 > --- a/configs/atmel_sama5d3_xplained_dev_defconfig > +++ b/configs/atmel_sama5d3_xplained_dev_defconfig > @@ -49,6 +49,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > index a2205aeefa..8f5724d631 100644 > --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > +++ b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > @@ -52,6 +52,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig > index f8783f5652..fab91cf0b3 100644 > --- a/configs/atmel_sama5d4_xplained_dev_defconfig > +++ b/configs/atmel_sama5d4_xplained_dev_defconfig > @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > index b4e99f658a..f9074e9862 100644 > --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > +++ b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig > index 06e03967c4..2b4e234297 100644 > --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig > +++ b/configs/microchip_sam9x60ek_mmc_dev_defconfig > @@ -36,6 +36,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > index 3bcd5f0200..f9aa6cdc05 100644 > --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > +++ b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_I2C_TOOLS=y > BR2_PACKAGE_SETSERIAL=y > diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig > index 27d1d3409d..b1b22c1312 100644 > --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig > +++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig > @@ -32,6 +32,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_SETSERIAL=y > BR2_PACKAGE_SPI_TOOLS=y > diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig > index 6eb6c282e0..d68846e553 100644 > --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig > +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig > @@ -30,6 +30,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > BR2_PACKAGE_MMC_UTILS=y > BR2_PACKAGE_MTD=y > BR2_PACKAGE_WILC1000_FIRMWARE=y > +BR2_PACKAGE_WILC3000_FIRMWARE=y > BR2_PACKAGE_EVTEST=y > BR2_PACKAGE_RNG_TOOLS=y > # BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set From arnout at mind.be Mon Apr 25 20:08:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:08:14 +0200 Subject: [Buildroot] [PATCH v2 4/4] package/wilc-driver: new package In-Reply-To: <20220422223611.10443-5-kris@embeddedTS.com> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-5-kris@embeddedTS.com> Message-ID: On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > WILC1000/3000 driver pulled from at91-linux tree set-up to be built > as an external module. Upstream Linux kernel does not support > WILC3000 features at this time. This package is intended to bridge > that gap until WILC1000/3000 is fully supported in kernel. > > Signed-off-by: Kris Bahnsen [snip] > diff --git a/package/wilc-driver/wilc-driver.hash b/package/wilc-driver/wilc-driver.hash > new file mode 100644 > index 0000000000..b51591e8d8 > --- /dev/null > +++ b/package/wilc-driver/wilc-driver.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 4796b1a53781f8702a335b0146d488a9422b71dab39f6f154f955b0ad1711199 wilc-driver-linux4microchip-2021.10-1.tar.gz Hash for license file missing again. Applied to master with that fixed, thanks. Regards, Arnout > diff --git a/package/wilc-driver/wilc-driver.mk b/package/wilc-driver/wilc-driver.mk > new file mode 100644 > index 0000000000..a89af30e29 > --- /dev/null > +++ b/package/wilc-driver/wilc-driver.mk > @@ -0,0 +1,29 @@ > +################################################################################ > +# > +# wilc-driver > +# > +################################################################################ > + > +WILC_DRIVER_VERSION = linux4microchip-2021.10-1 > +WILC_DRIVER_SITE = $(call github,embeddedTS,wilc3000-external-module,$(WILC_DRIVER_VERSION)) > + > +WILC_DRIVER_LICENSE = GPL-2.0 > +WILC_DRIVER_LICENSE_FILES = LICENSE > + > +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SPI),y) > +WILC_DRIVER_MODULE_MAKE_OPTS += \ > + CONFIG_WILC_SPI=m > +endif > + > +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO),y) > +WILC_DRIVER_MODULE_MAKE_OPTS += \ > + CONFIG_WILC_SDIO=m > +endif > + > +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO_OOB),y) > +WILC_DRIVER_MODULE_MAKE_OPTS += \ > + CONFIG_WILC_HW_OOB_INTR=y > +endif > + > +$(eval $(kernel-module)) > +$(eval $(generic-package)) From arnout at mind.be Mon Apr 25 19:53:03 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:53:03 +0200 Subject: [Buildroot] [git commit] package/wilc-firmware: rename from wilc1000-firmware Message-ID: <20220425195846.F1509843C9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=244f607f4c4a2e0609d1fb8e8b62c4ae751b8136 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Separates out WILC1000 and WILC3000 in to individual config options since in reality only one or the other set would be needed. Signed-off-by: Kris Bahnsen Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 5 ++++- package/Config.in | 2 +- .../{wilc1000-firmware => wilc-firmware}/Config.in | 9 +++++++-- .../wilc-firmware.hash} | 2 +- .../wilc-firmware.mk} | 22 +++++++++++----------- 5 files changed, 24 insertions(+), 16 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 1bb90f8f33..ff9f787e9c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1662,6 +1662,9 @@ F: board/octavo/osd32mp1-red/ F: configs/octavo_osd32mp1_brk_defconfig F: configs/octavo_osd32mp1_red_defconfig +N: Kris Bahnsen +F: package/wilc-firmware/ + N: Kurt Van Dijck F: package/bcusdk/ F: package/libpthsem/ @@ -1759,7 +1762,7 @@ F: package/python-json-schema-validator/ F: package/python-keyring/ F: package/python-simplejson/ F: package/python-versiontools/ -F: package/wilc1000-firmware/ +F: package/wilc-firmware/ N: Maeva Manuel F: board/freescale/imx8qmmek/ diff --git a/package/Config.in b/package/Config.in index bee1590e85..7d03bc51d7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -432,7 +432,7 @@ menu "Firmware" source "package/sunxi-boards/Config.in" source "package/ts4900-fpga/Config.in" source "package/ux500-firmware/Config.in" - source "package/wilc1000-firmware/Config.in" + source "package/wilc-firmware/Config.in" source "package/wilink-bt-firmware/Config.in" source "package/zd1211-firmware/Config.in" endmenu diff --git a/package/wilc1000-firmware/Config.in b/package/wilc-firmware/Config.in similarity index 82% rename from package/wilc1000-firmware/Config.in rename to package/wilc-firmware/Config.in index 0734c7ad99..72a9c73206 100644 --- a/package/wilc1000-firmware/Config.in +++ b/package/wilc-firmware/Config.in @@ -1,5 +1,11 @@ +config BR2_PACKAGE_WILC_FIRMWARE + bool + help + Provider package for WILC1000_FIRMWARE & WILC3000_FIRMWARE + config BR2_PACKAGE_WILC1000_FIRMWARE bool "wilc1000-firmware" + select BR2_PACKAGE_WILC_FIRMWARE help Firmware for Microchip WILC1000 wireless device @@ -12,9 +18,9 @@ config BR2_PACKAGE_WILC1000_FIRMWARE https://github.com/linux4wilc/firmware -if BR2_PACKAGE_WILC1000_FIRMWARE config BR2_PACKAGE_WILC3000_FIRMWARE bool "wilc3000-firmware" + select BR2_PACKAGE_WILC_FIRMWARE help Firmware for Microchip WILC3000 wireless device @@ -26,4 +32,3 @@ config BR2_PACKAGE_WILC3000_FIRMWARE These will be installed to /lib/firmware/mchp/ https://github.com/linux4wilc/firmware -endif diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc-firmware/wilc-firmware.hash similarity index 77% rename from package/wilc1000-firmware/wilc1000-firmware.hash rename to package/wilc-firmware/wilc-firmware.hash index ef82dcdc45..874766aec0 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.hash +++ b/package/wilc-firmware/wilc-firmware.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc-firmware-wilc_linux_15_6.tar.gz sha256 71355eee947a312594dbdaac039827544f93d23949b65c356b7b0ce09e2600fb LICENSE.wilc_fw diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc-firmware/wilc-firmware.mk similarity index 51% rename from package/wilc1000-firmware/wilc1000-firmware.mk rename to package/wilc-firmware/wilc-firmware.mk index a071272129..1a7ceca18e 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.mk +++ b/package/wilc-firmware/wilc-firmware.mk @@ -1,35 +1,35 @@ ################################################################################ # -# wilc1000-firmware +# wilc-firmware # ################################################################################ -WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 -WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) +WILC_FIRMWARE_VERSION = wilc_linux_15_6 +WILC_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC_FIRMWARE_VERSION)) -WILC1000_FIRMWARE_LICENSE = PROPRIETARY -WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw +WILC_FIRMWARE_LICENSE = PROPRIETARY +WILC_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) -WILC1000_FIRMWARE_FILES += \ +WILC_FIRMWARE_FILES += \ wilc1000_wifi_firmware.bin endif ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) -WILC1000_FIRMWARE_FILES += \ +WILC_FIRMWARE_FILES += \ wilc3000_ble_firmware.bin \ wilc3000_wifi_firmware.bin endif -define WILC1000_FIRMWARE_INSTALL_FILES +define WILC_FIRMWARE_INSTALL_FILES cd $(@D) && \ - $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ + $(TAR) cf install.tar $(sort $(WILC_FIRMWARE_FILES)) && \ $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp endef -define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS +define WILC_FIRMWARE_INSTALL_TARGET_CMDS $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ - $(WILC1000_FIRMWARE_INSTALL_FILES) + $(WILC_FIRMWARE_INSTALL_FILES) endef $(eval $(generic-package)) From arnout at mind.be Mon Apr 25 19:54:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:54:52 +0200 Subject: [Buildroot] [git commit] configs: add WILC3000_FIRMWARE to compatible devices Message-ID: <20220425195847.08E18843C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=93a80ea44609cde6dc51ca3ca93d0dd095734d90 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The update to wilc-firmware added firmware files for WILC3000 devices as a separate config option. All Atmel/Microchip defconfigs that previously only had WILC1000_FIRMWARE either have WILC3000 Wi-Fi hardware (WILC3000 is the same silicon but with BLE added) or have the capacity to have either WILC1000 or WILC3000 devices added to the system. Install all firmware blobs to these devices by default. Signed-off-by: Kris Bahnsen Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/at91sam9x5ek_dev_defconfig | 1 + configs/at91sam9x5ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + 12 files changed, 12 insertions(+) diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig index bfa8e95941..8714463d89 100644 --- a/configs/at91sam9x5ek_dev_defconfig +++ b/configs/at91sam9x5ek_dev_defconfig @@ -47,6 +47,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig index 2e1a5c7f59..9481594716 100644 --- a/configs/at91sam9x5ek_mmc_dev_defconfig +++ b/configs/at91sam9x5ek_mmc_dev_defconfig @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig index ba2fa46790..38618a5732 100644 --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +++ b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_RNG_TOOLS=y diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig index a8b68ca0a2..1654408aa5 100644 --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig index cdfd9de17e..64455cb2e0 100644 --- a/configs/atmel_sama5d3_xplained_dev_defconfig +++ b/configs/atmel_sama5d3_xplained_dev_defconfig @@ -49,6 +49,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig index a2205aeefa..8f5724d631 100644 --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig @@ -52,6 +52,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig index f8783f5652..fab91cf0b3 100644 --- a/configs/atmel_sama5d4_xplained_dev_defconfig +++ b/configs/atmel_sama5d4_xplained_dev_defconfig @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig index b4e99f658a..f9074e9862 100644 --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig +++ b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig index 06e03967c4..2b4e234297 100644 --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig +++ b/configs/microchip_sam9x60ek_mmc_dev_defconfig @@ -36,6 +36,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig index 3bcd5f0200..f9aa6cdc05 100644 --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig +++ b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_I2C_TOOLS=y BR2_PACKAGE_SETSERIAL=y diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig index 27d1d3409d..b1b22c1312 100644 --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig +++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig @@ -32,6 +32,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_SETSERIAL=y BR2_PACKAGE_SPI_TOOLS=y diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig index 6eb6c282e0..d68846e553 100644 --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig @@ -30,6 +30,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y BR2_PACKAGE_MMC_UTILS=y BR2_PACKAGE_MTD=y BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_WILC3000_FIRMWARE=y BR2_PACKAGE_EVTEST=y BR2_PACKAGE_RNG_TOOLS=y # BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set From arnout at mind.be Mon Apr 25 19:51:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 21:51:46 +0200 Subject: [Buildroot] [git commit] package/wilc1000-firmware: bump to 15.6 Message-ID: <20220425195846.E1635843C6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7663482d22d1fc69ede0617845085420143bbad0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Supports both WILC1000 (Wi-Fi only) and WILC3000 (Wi-Fi/BLE) hardware. To support WILC3000 this commit adds a separate config option, the original config option from this package is still valid. This will be refactored in a follow-up commit. There is now a license file. Signed-off-by: Kris Bahnsen [Arnout: keep license as PROPRIETARY and add license file hash] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wilc1000-firmware/Config.in | 27 ++++++++++++++++++++-- package/wilc1000-firmware/wilc1000-firmware.hash | 3 ++- package/wilc1000-firmware/wilc1000-firmware.mk | 29 ++++++++++++++++-------- 3 files changed, 47 insertions(+), 12 deletions(-) diff --git a/package/wilc1000-firmware/Config.in b/package/wilc1000-firmware/Config.in index df8a7a6b60..0734c7ad99 100644 --- a/package/wilc1000-firmware/Config.in +++ b/package/wilc1000-firmware/Config.in @@ -1,6 +1,29 @@ config BR2_PACKAGE_WILC1000_FIRMWARE bool "wilc1000-firmware" help - Firmware for Atmel Wilc1000 wireless device + Firmware for Microchip WILC1000 wireless device - https://github.com/linux4sc/wireless-firmware.git + These binary blobs are provided directly from Microchip. + Ideally, the firmware version should match driver version. + Generally, the latest firmware would be acceptible regardless + of driver version. + + These will be installed to /lib/firmware/mchp/ + + https://github.com/linux4wilc/firmware + +if BR2_PACKAGE_WILC1000_FIRMWARE +config BR2_PACKAGE_WILC3000_FIRMWARE + bool "wilc3000-firmware" + help + Firmware for Microchip WILC3000 wireless device + + These binary blobs are provided directly from Microchip. + Ideally, the firmware version should match driver version. + Generally, the latest firmware would be acceptible regardless + of driver version. + + These will be installed to /lib/firmware/mchp/ + + https://github.com/linux4wilc/firmware +endif diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc1000-firmware/wilc1000-firmware.hash index 5344efe517..ef82dcdc45 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.hash +++ b/package/wilc1000-firmware/wilc1000-firmware.hash @@ -1,2 +1,3 @@ # Locally calculated -sha256 a2e7a327dd545ba2051946f7613005cbde88fdd952afb8eecdd1dacda7e767d2 v14.1_Firmware.zip +sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz +sha256 71355eee947a312594dbdaac039827544f93d23949b65c356b7b0ce09e2600fb LICENSE.wilc_fw diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc1000-firmware/wilc1000-firmware.mk index 6f504d67a0..a071272129 100644 --- a/package/wilc1000-firmware/wilc1000-firmware.mk +++ b/package/wilc1000-firmware/wilc1000-firmware.mk @@ -4,21 +4,32 @@ # ################################################################################ -WILC1000_FIRMWARE_VERSION = 14.1 -WILC1000_FIRMWARE_SITE = https://github.com/linux4sc/wireless-firmware/archive -WILC1000_FIRMWARE_SOURCE = v$(WILC1000_FIRMWARE_VERSION)_Firmware.zip +WILC1000_FIRMWARE_VERSION = wilc_linux_15_6 +WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION)) WILC1000_FIRMWARE_LICENSE = PROPRIETARY +WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw -define WILC1000_FIRMWARE_EXTRACT_CMDS - $(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE) - mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D) - rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware +ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) +WILC1000_FIRMWARE_FILES += \ + wilc1000_wifi_firmware.bin +endif + +ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) +WILC1000_FIRMWARE_FILES += \ + wilc3000_ble_firmware.bin \ + wilc3000_wifi_firmware.bin +endif + +define WILC1000_FIRMWARE_INSTALL_FILES + cd $(@D) && \ + $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp endef define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \ - $(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ + $(WILC1000_FIRMWARE_INSTALL_FILES) endef $(eval $(generic-package)) From arnout at mind.be Mon Apr 25 20:08:41 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:08:41 +0200 Subject: [Buildroot] [git commit] package/wilc-driver: new package Message-ID: <20220425195847.16AA3843C9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f2832d0dfccc931f75c37bb9017749d2e411c872 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master WILC1000/3000 driver pulled from at91-linux tree set-up to be built as an external module. Upstream Linux kernel does not support WILC3000 features at this time. This package is intended to bridge that gap until WILC1000/3000 is fully supported in kernel. Signed-off-by: Kris Bahnsen Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + package/Config.in | 1 + package/wilc-driver/Config.in | 58 ++++++++++++++++++++++++++++++++++++ package/wilc-driver/wilc-driver.hash | 3 ++ package/wilc-driver/wilc-driver.mk | 29 ++++++++++++++++++ 5 files changed, 92 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index ff9f787e9c..2a400fd679 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1664,6 +1664,7 @@ F: configs/octavo_osd32mp1_red_defconfig N: Kris Bahnsen F: package/wilc-firmware/ +F: package/wilc-driver/ N: Kurt Van Dijck F: package/bcusdk/ diff --git a/package/Config.in b/package/Config.in index 7d03bc51d7..1bf458348b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -610,6 +610,7 @@ endmenu source "package/usbutils/Config.in" source "package/w_scan/Config.in" source "package/wf111/Config.in" + source "package/wilc-driver/Config.in" source "package/wipe/Config.in" source "package/xorriso/Config.in" source "package/xr819-xradio/Config.in" diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in new file mode 100644 index 0000000000..caf46ae281 --- /dev/null +++ b/package/wilc-driver/Config.in @@ -0,0 +1,58 @@ +config BR2_PACKAGE_WILC_DRIVER + bool "wilc kernel module" + help + External kernel module for WILC1000/3000 devices. + + wilc kernel driver source as found in Microchip's at91-linux + kernel tree with added Kbuild file to be built as a generic + external module. + + The wilc1000 driver currently maintained in Linux kernel does + not support BLE of the WILC3000 hardware. This package is + meant to bridge that gap until Microchip can get WILC3000 + support upstream. + + Supports both SDIO and SPI modes. + + https://github.com/embeddedTS/wilc3000-external-module + +if BR2_PACKAGE_WILC_DRIVER + +config BR2_PACKAGE_WILC_DRIVER_SPI + bool "SPI" + help + This module adds support for the SPI interface of adapters + using WILC1000/3000 chipset. The WILC1000/3000 has a Serial + Peripheral Interface (SPI) that operates as an SPI slave. + This SPI interface can be used for control and for serial + I/O of 802.11 data. The SPI is a full-duplex slave + synchronous serial interface that is available immediately + following reset when pin 9 (SDIO_SPI_CFG) is tied to VDDIO. + Select this if your platform is using the SPI bus. + +config BR2_PACKAGE_WILC_DRIVER_SDIO + bool "SDIO" + help + This module adds support for the SDIO interface of adapters + using WILC1000/3000 chipset. The WILC1000/3000 SDIO is a full + speed interface. It meets SDIO card specification version 2.0. + The interface supports the 1-bit/4-bit SD transfer mode at the + clock range of 0-50 MHz. The host can use this interface to + read and write from any register within the chip as well as + configure the WILC1000/3000 for data DMA. To use this + interface, pin9 (SDIO_SPI_CFG) must be grounded. Select this + if your platform is using the SDIO bus. + +if BR2_PACKAGE_WILC_DRIVER_SDIO + +config BR2_PACKAGE_WILC_DRIVER_SDIO_OOB + bool "Enable out-of-band interrupt" + help + This option enables out-of-band interrupt support for the + WILC1000/3000 chipset. This OOB interrupt is intended to + provide a faster interrupt mechanism for SDIO host controllers + that don't support SDIO interrupt. Select this option If the + SDIO host controller in your platform doesn't support SDIO + time division interrupt. +endif +endif diff --git a/package/wilc-driver/wilc-driver.hash b/package/wilc-driver/wilc-driver.hash new file mode 100644 index 0000000000..4ada813ed8 --- /dev/null +++ b/package/wilc-driver/wilc-driver.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 4796b1a53781f8702a335b0146d488a9422b71dab39f6f154f955b0ad1711199 wilc-driver-linux4microchip-2021.10-1.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSE diff --git a/package/wilc-driver/wilc-driver.mk b/package/wilc-driver/wilc-driver.mk new file mode 100644 index 0000000000..a89af30e29 --- /dev/null +++ b/package/wilc-driver/wilc-driver.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# wilc-driver +# +################################################################################ + +WILC_DRIVER_VERSION = linux4microchip-2021.10-1 +WILC_DRIVER_SITE = $(call github,embeddedTS,wilc3000-external-module,$(WILC_DRIVER_VERSION)) + +WILC_DRIVER_LICENSE = GPL-2.0 +WILC_DRIVER_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SPI),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_SPI=m +endif + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_SDIO=m +endif + +ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO_OOB),y) +WILC_DRIVER_MODULE_MAKE_OPTS += \ + CONFIG_WILC_HW_OOB_INTR=y +endif + +$(eval $(kernel-module)) +$(eval $(generic-package)) From kris at embeddedTS.com Mon Apr 25 20:16:29 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Mon, 25 Apr 2022 13:16:29 -0700 Subject: [Buildroot] [PATCH v2 1/4] package/wilc1000-firmware: bump to 15.6 In-Reply-To: <9223c80f-61a0-985f-7aba-fa6128286fa9@mind.be> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-2-kris@embeddedTS.com> <9223c80f-61a0-985f-7aba-fa6128286fa9@mind.be> Message-ID: <1650917789.6000.2.camel@embeddedTS.com> On Mon, 2022-04-25 at 22:04 +0200, Arnout Vandecappelle wrote: [snip] > Hash for the license file you added was missing. [snip] > We actually use proprietary to mark any non-open-source license. The idea is > that SPDX is uses for the LICENSE variable (with an exception: adding + instead > of -or-later, and no -only). This is not done consistently, but I don't want to > go in the wrong direction :-). And maybe there's something to be said for using > a more descriptive license name than proprietary, but this shouldn't be snuck in > with a version bump. I was not aware of either of these details. Thanks for the clarification, I'll keep them in mind for the future! -Kris > > > Regards, > Arnout > > > +WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw > > > > -define WILC1000_FIRMWARE_EXTRACT_CMDS > > - $(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE) > > - mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D) > > - rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware > > +ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y) > > +WILC1000_FIRMWARE_FILES += \ > > + wilc1000_wifi_firmware.bin > > +endif > > + > > +ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y) > > +WILC1000_FIRMWARE_FILES += \ > > + wilc3000_ble_firmware.bin \ > > + wilc3000_wifi_firmware.bin > > +endif > > + > > +define WILC1000_FIRMWARE_INSTALL_FILES > > + cd $(@D) && \ > > + $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \ > > + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp > > endef > > > > define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS > > - $(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \ > > - $(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin > > + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/ > > + $(WILC1000_FIRMWARE_INSTALL_FILES) > > endef > > > > $(eval $(generic-package)) > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > From arnout at mind.be Mon Apr 25 20:21:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:21:37 +0200 Subject: [Buildroot] [PATCH v2] package/zfs: bump version to 2.1.4 In-Reply-To: <20220423164855.782309-1-salvador.joseluis@gmail.com> References: <24c989ad-5a35-f874-8629-71eac02ca046@mind.be> <20220423164855.782309-1-salvador.joseluis@gmail.com> Message-ID: <71d41b24-a530-5235-8c4f-4441527cba65@mind.be> On 23/04/2022 18:48, Jos? Luis Salvador Rufo wrote: > package/zfs: bump version to 2.1.4 > > Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > because is already merged. > > Select libcurl as required dependency, because keylocation now > supports https. > > In order to support uClibc, we have added the patch > bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream. > > We update the test cases to use the latest LTS kernel, 5.15.x. > > Signed-off-by: Jos? Luis Salvador Rufo Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - Replace libcurl "depends on" by "select" > - Set the tests to the latest kernel LTS, 5.15.x. 5.17 is the > maximum supported kernel, 3.10 is the minimum. > > ...law-in-the-Python-3-version-checking.patch | 106 ------------------ > package/zfs/Config.in | 1 + > package/zfs/zfs.hash | 5 +- > package/zfs/zfs.mk | 6 +- > support/testing/tests/package/test_zfs.py | 4 +- > 5 files changed, 9 insertions(+), 113 deletions(-) > delete mode 100644 package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > > diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > deleted file mode 100644 > index 70978f9f4d..0000000000 > --- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > +++ /dev/null > @@ -1,106 +0,0 @@ > -From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001 > -From: Rich Ercolani <214141+rincebrain at users.noreply.github.com> > -Date: Tue, 8 Jun 2021 20:20:16 -0400 > -Subject: [PATCH] Correct a flaw in the Python 3 version checking > - > -It turns out the ax_python_devel.m4 version check assumes that > -("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1 > -is 10 or above and X is not. (Also presumably X+1=100 and ...) > - > -So let's remake the check to behave consistently, using the > -"packaging" or (if absent) the "distlib" modules. > - > -(Also, update the Github workflows to use the new packages.) > - > -Reviewed-by: Brian Behlendorf > -Reviewed-by: John Kennedy > -Signed-off-by: Rich Ercolani > -Closes: #12073 > -(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48) > -[Romain: drop rpm spec and github workflows changes] > -Signed-off-by: Romain Naour > ---- > - config/always-pyzfs.m4 | 15 +++++++++++++++ > - config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------ > - 2 files changed, 42 insertions(+), 6 deletions(-) > - > -diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4 > -index 76e07b593..fa39fd885 100644 > ---- a/config/always-pyzfs.m4 > -+++ b/config/always-pyzfs.m4 > -@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [ > - ]) > - AC_SUBST(DEFINE_PYZFS) > - > -+ dnl # > -+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs > -+ dnl # > -+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [ > -+ ZFS_AC_PYTHON_MODULE([packaging], [], [ > -+ ZFS_AC_PYTHON_MODULE([distlib], [], [ > -+ AS_IF([test "x$enable_pyzfs" = xyes], [ > -+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed") > -+ ], [test "x$enable_pyzfs" != xno], [ > -+ enable_pyzfs=no > -+ ]) > -+ ]) > -+ ]) > -+ ]) > -+ > - dnl # > - dnl # Require python-devel libraries > - dnl # > -diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4 > -index c51b45b7d..cdfbbf81f 100644 > ---- a/config/ax_python_devel.m4 > -+++ b/config/ax_python_devel.m4 > -@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ > - # Check for a version of Python >= 2.1.0 > - # > - AC_MSG_CHECKING([for a version of Python >= '2.1.0']) > -- ac_supports_python_ver=`$PYTHON -c "import sys; \ > -- ver = sys.version.split ()[[0]]; \ > -- print (ver >= '2.1.0')"` > -+ ac_supports_python_ver=`cat< -+from __future__ import print_function; > -+import sys; > -+try: > -+ from packaging import version; > -+except ImportError: > -+ from distlib import version; > -+ver = sys.version.split ()[[0]]; > -+(tst_cmp, tst_ver) = ">= '2.1.0'".split (); > -+tst_ver = tst_ver.strip ("'"); > -+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))") > -+EOD` > - if test "$ac_supports_python_ver" != "True"; then > - if test -z "$PYTHON_NOVERSIONCHECK"; then > - AC_MSG_RESULT([no]) > -@@ -126,9 +135,21 @@ to something else than an empty string. > - # > - if test -n "$1"; then > - AC_MSG_CHECKING([for a version of Python $1]) > -- ac_supports_python_ver=`$PYTHON -c "import sys; \ > -- ver = sys.version.split ()[[0]]; \ > -- print (ver $1)"` > -+ # Why the strip ()? Because if we don't, version.parse > -+ # will, for example, report 3.10.0 >= '3.11.0' > -+ ac_supports_python_ver=`cat< -+ > -+from __future__ import print_function; > -+import sys; > -+try: > -+ from packaging import version; > -+except ImportError: > -+ from distlib import version; > -+ver = sys.version.split ()[[0]]; > -+(tst_cmp, tst_ver) = "$1".split (); > -+tst_ver = tst_ver.strip ("'"); > -+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))") > -+EOD` > - if test "$ac_supports_python_ver" = "True"; then > - AC_MSG_RESULT([yes]) > - else > --- > -2.31.1 > - > diff --git a/package/zfs/Config.in b/package/zfs/Config.in > index c766c370e4..6209c5865b 100644 > --- a/package/zfs/Config.in > +++ b/package/zfs/Config.in > @@ -18,6 +18,7 @@ config BR2_PACKAGE_ZFS > select BR2_PACKAGE_LIBAIO > select BR2_PACKAGE_OPENSSL > select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_LIBCURL > help > OpenZFS on Linux and FreeBSD > > diff --git a/package/zfs/zfs.hash b/package/zfs/zfs.hash > index 7f4f5a59f8..411af974c6 100644 > --- a/package/zfs/zfs.hash > +++ b/package/zfs/zfs.hash > @@ -1,5 +1,6 @@ > -# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc > -sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz > +# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc > +sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz > +sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch > > # Hash for license files: > sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE > diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk > index dbda8aceb4..07ce3295ec 100644 > --- a/package/zfs/zfs.mk > +++ b/package/zfs/zfs.mk > @@ -4,17 +4,17 @@ > # > ################################################################################ > > -ZFS_VERSION = 2.0.5 > +ZFS_VERSION = 2.1.4 > ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION) > +ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch > ZFS_LICENSE = CDDL > ZFS_LICENSE_FILES = LICENSE COPYRIGHT > ZFS_CPE_ID_VENDOR = openzfs > ZFS_CPE_ID_PRODUCT = openzfs > > -# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch > ZFS_AUTORECONF = YES > > -ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib > +ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl > > # sysvinit installs only a commented-out modules-load.d/ config file > ZFS_CONF_OPTS = \ > diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py > index 772a66c1e4..706934ca65 100644 > --- a/support/testing/tests/package/test_zfs.py > +++ b/support/testing/tests/package/test_zfs.py > @@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest): > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" > + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" > BR2_PACKAGE_ZFS=y > @@ -70,7 +70,7 @@ class TestZfsUclibc(infra.basetest.BRTest): > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" > + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" > BR2_PACKAGE_ZFS=y From arnout at mind.be Mon Apr 25 20:21:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:21:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/netatalk: fix build with libressl In-Reply-To: <20220423153310.2443908-1-fontaine.fabrice@gmail.com> References: <20220423153310.2443908-1-fontaine.fabrice@gmail.com> Message-ID: <5429fafa-4b40-5559-ce6d-bd8adb18f315@mind.be> On 23/04/2022 17:33, Fabrice Fontaine wrote: > Fix the following build failure with libressl >= 2.7.0: > > In file included from uams_dhx_passwd.c:35: > openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration > 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) > | ^~~~~~~~~~~ > In file included from uams_dhx_passwd.c:33: > /home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here > 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ..._compat.h-fix-build-with-libressl-2..patch | 43 +++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch > > diff --git a/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch > new file mode 100644 > index 0000000000..05913862f6 > --- /dev/null > +++ b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch > @@ -0,0 +1,43 @@ > +From 58ddc137021a938f37c3794305a839f8df449d3f Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 5 Apr 2022 23:59:15 +0200 > +Subject: [PATCH] etc/uams/openssl_compat.h: fix build with libressl >= 2.7.0 > + > +Fix the following build failure with libressl >= 2.7.0 which added > +DH_set0_pqg with > +https://github.com/libressl-portable/openbsd/commit/848e2a019c796b685fc8c5848283b86e48fbe0bf: > + > +In file included from uams_dhx_passwd.c:35: > +openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration > + 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) > + | ^~~~~~~~~~~ > +In file included from uams_dhx_passwd.c:33: > +/home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here > + 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); > + | ^~~~~~~~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: not sent yet] > +--- > + etc/uams/openssl_compat.h | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/etc/uams/openssl_compat.h b/etc/uams/openssl_compat.h > +index ded377bc..5cc8de34 100644 > +--- a/etc/uams/openssl_compat.h > ++++ b/etc/uams/openssl_compat.h > +@@ -11,7 +11,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt > + #ifndef OPENSSL_COMPAT_H > + #define OPENSSL_COMPAT_H > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) > + inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) > + { > + /* If the fields p and g in d are NULL, the corresponding input > +-- > +2.35.1 > + From bernd.kuhls at t-online.de Mon Apr 25 20:22:05 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Mon, 25 Apr 2022 22:22:05 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-inputstream-adaptive: bump version to 19.0.4-Matrix Message-ID: <20220425202205.17362-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- .../kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash | 2 +- package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash index 74aefe2138..36294274f2 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 1549422ac1386929dfc1a479898d6311440d1f8bfd1bc94e1fe5da9cc2db805c kodi-inputstream-adaptive-19.0.3-Matrix.tar.gz +sha256 eef7660e9306854282ccc8b994ffc38b2fe1e62e155d883cfa346bddc84b595b kodi-inputstream-adaptive-19.0.4-Matrix.tar.gz sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk index 83ac897037..ed85d21684 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.3-Matrix +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.4-Matrix KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPL-2.0+ KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = LICENSE.GPL -- 2.30.2 From arnout at mind.be Mon Apr 25 20:22:19 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:22:19 +0200 Subject: [Buildroot] [PATCH] configs/arm_foundationv8: bump to Linux 5.16.20 In-Reply-To: <20220423164641.28675-1-vincent.stehle@laposte.net> References: <20220423164641.28675-1-vincent.stehle@laposte.net> Message-ID: <41194648-11ba-c12f-ab86-f748025c4b49@mind.be> On 23/04/2022 18:46, Vincent Stehl? via buildroot wrote: > Signed-off-by: Vincent Stehl? > Cc: Masahiro Yamada Applied to master, thanks. Regards, Arnout > --- > > Hi, > > I have tested it successfully with both FVP v8 Foundation Platforms 11.12 build > 38 and 11.14 build 21. > > Best regards, > Vincent. > > configs/arm_foundationv8_defconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig > index 363f288b87..3c63f5dc76 100644 > --- a/configs/arm_foundationv8_defconfig > +++ b/configs/arm_foundationv8_defconfig > @@ -1,10 +1,10 @@ > BR2_aarch64=y > -# Linux headers same as kernel, a 5.9 series > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y > +# Linux headers same as kernel, a 5.16 series > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y > BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.11" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.20" > BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y > BR2_LINUX_KERNEL_DTS_SUPPORT=y > BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8-gicv3-psci" From arnout at mind.be Mon Apr 25 20:23:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:23:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-zopfli: needs C++ In-Reply-To: <20220423170624.991570-1-fontaine.fabrice@gmail.com> References: <20220423170624.991570-1-fontaine.fabrice@gmail.com> Message-ID: <27a8a8ed-5422-77ac-3e56-e0a5c8be92ca@mind.be> On 23/04/2022 19:06, Fabrice Fontaine wrote: > python-zopfli needs C++ since its addition in commit > 53972c82964dd1337dff4ccbcdd484d243aef0ba: > > nios2-buildroot-linux-gnu-gcc.br_real: error: zopfli/src/zopflipng/lodepng/lodepng.cpp: C++ compiler not installed on this system > > Fixes: > - http://autobuild.buildroot.org/results/442ae4a02e691b4039d1694620f6284906cdc97f > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/python-weasyprint/Config.in | 2 +- > package/python-zopfli/Config.in | 4 ++++ > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in > index 7fe99c3951..18d72d742e 100644 > --- a/package/python-weasyprint/Config.in > +++ b/package/python-weasyprint/Config.in > @@ -1,6 +1,6 @@ > config BR2_PACKAGE_PYTHON_WEASYPRINT > bool "python-weasyprint" > - depends on BR2_INSTALL_LIBSTDCPP # python-brotli > + depends on BR2_INSTALL_LIBSTDCPP # python-brotli, python-zopfli > select BR2_PACKAGE_PYTHON_BROTLI # runtime > select BR2_PACKAGE_PYTHON_CFFI # runtime > select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime > diff --git a/package/python-zopfli/Config.in b/package/python-zopfli/Config.in > index 0b1ebca85c..dc68a2fef0 100644 > --- a/package/python-zopfli/Config.in > +++ b/package/python-zopfli/Config.in > @@ -1,6 +1,10 @@ > config BR2_PACKAGE_PYTHON_ZOPFLI > bool "python-zopfli" > + depends on BR2_INSTALL_LIBSTDCPP > help > Zopfli module for python. > > https://github.com/fonttools/py-zopfli > + > +comment "python-zopfli needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 25 20:23:47 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:23:47 +0200 Subject: [Buildroot] [PATCH] package/libinput: security bump to version 1.20.1 In-Reply-To: <20220422145530.1963337-1-peter@korsgaard.com> References: <20220422145530.1963337-1-peter@korsgaard.com> Message-ID: On 22/04/2022 16:55, Peter Korsgaard wrote: > Fixes the following security issues: > > - CVE-2022-1215: libinput format string vulnerability > > For details, see the advisory: > https://www.openwall.com/lists/oss-security/2022/04/20/2 > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Arnout > --- > package/libinput/libinput.hash | 2 +- > package/libinput/libinput.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libinput/libinput.hash b/package/libinput/libinput.hash > index d1c7cfb104..d8282ff03b 100644 > --- a/package/libinput/libinput.hash > +++ b/package/libinput/libinput.hash > @@ -1,5 +1,5 @@ > # Locally computed > -sha256 6c1f97892a7d599f97349e5e7c1239901fe00edcd4f6289f410034d5dc06cc85 libinput-1.20.0.tar.bz2 > +sha256 08c003f724f361ed21f4dfbfe755a6c115b85385f1418907bb98f185457273f0 libinput-1.20.1.tar.bz2 > > # License files > sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING > diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk > index b814e3416d..a66b0afde5 100644 > --- a/package/libinput/libinput.mk > +++ b/package/libinput/libinput.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBINPUT_VERSION = 1.20.0 > +LIBINPUT_VERSION = 1.20.1 > LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2 > LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION) > LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev From arnout at mind.be Mon Apr 25 20:24:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:24:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/clamav: fix libxml2 build In-Reply-To: <20220423174858.2445604-1-fontaine.fabrice@gmail.com> References: <20220423174858.2445604-1-fontaine.fabrice@gmail.com> Message-ID: On 23/04/2022 19:48, Fabrice Fontaine wrote: > Pass ac_cv_path_xmlconfig to fix the following build failure with > libxml2 raised since bump to version 0.102.0 in commit > 007f49962a961f96ff87795217758ec3786d03ac and > https://github.com/Cisco-Talos/clamav/commit/083ca38727b0ebd3979cf1ebc7b31148f6d5e7f7: > > aarch64-none-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include/libxml2' > In file included from /usr/include/libxml2/libxml/parser.h:810, > from others.c:62: > /usr/include/libxml2/libxml/encoding.h:31:10: fatal error: unicode/ucnv.h: No such file or directory > 31 | #include > | ^~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/5bb3bea6d13ac8d497f6862374d65a59bea7ed09 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/clamav/clamav.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk > index cd2d06e6b3..e2ee99d02b 100644 > --- a/package/clamav/clamav.mk > +++ b/package/clamav/clamav.mk > @@ -69,6 +69,7 @@ CLAMAV_CONF_OPTS += --without-libjson > endif > > ifeq ($(BR2_PACKAGE_LIBXML2),y) > +CLAMAV_CONF_ENV += ac_cv_path_xmlconfig=$(STAGING_DIR)/usr/bin/xml2-config > CLAMAV_CONF_OPTS += --with-xml=$(STAGING_DIR)/usr > CLAMAV_DEPENDENCIES += libxml2 > else From arnout at mind.be Mon Apr 25 20:24:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:24:28 +0200 Subject: [Buildroot] [PATCH 1/2] package/libhtp: bump to version 0.5.40 In-Reply-To: <20220423202458.299067-1-fontaine.fabrice@gmail.com> References: <20220423202458.299067-1-fontaine.fabrice@gmail.com> Message-ID: <8baa31f4-f273-6d03-3436-8cfc8bc3a5a7@mind.be> On 23/04/2022 22:24, Fabrice Fontaine wrote: > https://github.com/OISF/libhtp/releases/tag/0.5.40 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/libhtp/libhtp.hash | 2 +- > package/libhtp/libhtp.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash > index eae3009c76..8759823e16 100644 > --- a/package/libhtp/libhtp.hash > +++ b/package/libhtp/libhtp.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 d5956b49314fc6a058864130fbcf040a12584ee1e38f3b6ea52aedfa99d4c14a libhtp-0.5.39.tar.gz > +sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz > sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE > diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk > index 532eaa340b..bb8aa73b42 100644 > --- a/package/libhtp/libhtp.mk > +++ b/package/libhtp/libhtp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBHTP_VERSION = 0.5.39 > +LIBHTP_VERSION = 0.5.40 > LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) > LIBHTP_LICENSE = BSD-3-Clause > LIBHTP_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 25 20:24:47 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:24:47 +0200 Subject: [Buildroot] [PATCH 2/2] package/suricata: security bump to version 6.0.5 In-Reply-To: <20220423202458.299067-2-fontaine.fabrice@gmail.com> References: <20220423202458.299067-1-fontaine.fabrice@gmail.com> <20220423202458.299067-2-fontaine.fabrice@gmail.com> Message-ID: <82d546c7-683f-b283-f580-cd6ca063331f@mind.be> On 23/04/2022 22:24, Fabrice Fontaine wrote: > Various security, performance, accuracy and stability issues have been > fixed. > > https://forum.suricata.io/t/suricata-6-0-5-and-5-0-9-released/2415 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/suricata/suricata.hash | 2 +- > package/suricata/suricata.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash > index 098740e769..032546fd92 100644 > --- a/package/suricata/suricata.hash > +++ b/package/suricata/suricata.hash > @@ -1,5 +1,5 @@ > # Locally computed: > -sha256 a8f197e33d1678689ebbf7bc1abe84934c465d22c504c47c2c7e9b74aa042d0d suricata-6.0.4.tar.gz > +sha256 0d4197047c84ba070dfc6b1d9f9ee92f52a71403bfac0e29b2554bb21fe00754 suricata-6.0.5.tar.gz > > # Hash for license files: > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk > index 86d8970178..36e641bf90 100644 > --- a/package/suricata/suricata.mk > +++ b/package/suricata/suricata.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SURICATA_VERSION = 6.0.4 > +SURICATA_VERSION = 6.0.5 > SURICATA_SITE = https://www.openinfosecfoundation.org/download > SURICATA_LICENSE = GPL-2.0 > SURICATA_LICENSE_FILES = COPYING LICENSE From arnout at mind.be Mon Apr 25 20:25:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:25:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/argp-standalone: fix NLS build In-Reply-To: <20220423205413.4083987-1-fontaine.fabrice@gmail.com> References: <20220423205413.4083987-1-fontaine.fabrice@gmail.com> Message-ID: <30d904b3-df65-afc6-1562-490684eb4406@mind.be> On 23/04/2022 22:54, Fabrice Fontaine wrote: > Fix the following build failure raised since bump to version 1.4.1 in > commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and > https://github.com/ericonr/argp-standalone/commit/e5fe9ad9e83e6765cf8fa787f903d4c6792338b5: > > /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: libargp.a(argp-parse.o): in function `argp_version_parser': > /home/buildroot/autobuild/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' > > Fixes: > - http://autobuild.buildroot.org/results/adb9c4b747352497adbc9df866709b17fe0f9755 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/argp-standalone/argp-standalone.mk | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk > index 80ca04046d..269239fa5b 100644 > --- a/package/argp-standalone/argp-standalone.mk > +++ b/package/argp-standalone/argp-standalone.mk > @@ -12,9 +12,11 @@ ARGP_STANDALONE_LICENSE = LGPL-2.1+ > ARGP_STANDALONE_LICENSE_FILES = README.md > # From git > ARGP_STANDALONE_AUTORECONF = YES > +ARGP_STANDALONE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) > > ARGP_STANDALONE_CONF_ENV = \ > - CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" > + CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" \ > + LIBS=$(TARGET_NLS_LIBS) > > define ARGP_STANDALONE_INSTALL_STAGING_CMDS > $(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a From arnout at mind.be Mon Apr 25 20:25:21 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:25:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/aubio: add host-pkgconf dependency In-Reply-To: <20220423211141.1704835-1-fontaine.fabrice@gmail.com> References: <20220423211141.1704835-1-fontaine.fabrice@gmail.com> Message-ID: On 23/04/2022 23:11, Fabrice Fontaine wrote: > Add host-pkgconf dependency to fix the following build failure raised > since the addition of the package in commit > 280bb6807619e2e858836435f44aad0cccd27a40 and > https://github.com/aubio/aubio/commit/e57859fd1f2c3c8b18b3f5ede122071c66166a8f: > > Checking for program 'pkg-config' : not found > Could not find the program ['pkg-config'] > > Fixes: > - http://autobuild.buildroot.org/results/e6f0e9b09e4b611daf5bb37091610d8de80f1f4d > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/aubio/aubio.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk > index b79beccd97..b2eb2b5e6d 100644 > --- a/package/aubio/aubio.mk > +++ b/package/aubio/aubio.mk > @@ -11,6 +11,7 @@ AUBIO_LICENSE = GPL-3.0+ > AUBIO_LICENSE_FILES = COPYING > AUBIO_INSTALL_STAGING = YES > > +AUBIO_DEPENDENCIES = host-pkgconf > AUBIO_CONF_OPTS = \ > --disable-docs \ > --disable-atlas From arnout at mind.be Mon Apr 25 20:11:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:11:45 +0200 Subject: [Buildroot] [git commit] configs/arm_foundationv8: bump to Linux 5.16.20 Message-ID: <20220425201531.DD57D8448C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2b71d2eb60bb3759d2583d54b04d70ecc64c6318 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Vincent Stehl?? Cc: Masahiro Yamada Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/arm_foundationv8_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig index 363f288b87..3c63f5dc76 100644 --- a/configs/arm_foundationv8_defconfig +++ b/configs/arm_foundationv8_defconfig @@ -1,10 +1,10 @@ BR2_aarch64=y -# Linux headers same as kernel, a 5.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y +# Linux headers same as kernel, a 5.16 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.11" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.20" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8-gicv3-psci" From arnout at mind.be Mon Apr 25 20:09:34 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:09:34 +0200 Subject: [Buildroot] [git commit] package/netatalk: fix build with libressl Message-ID: <20220425201531.D4ABF8448B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2e8218f6aa20cb7521c29849f58b43d535989bf1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl >= 2.7.0: In file included from uams_dhx_passwd.c:35: openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) | ^~~~~~~~~~~ In file included from uams_dhx_passwd.c:33: /home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...enssl_compat.h-fix-build-with-libressl-2..patch | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch new file mode 100644 index 0000000000..05913862f6 --- /dev/null +++ b/package/netatalk/0002-etc-uams-openssl_compat.h-fix-build-with-libressl-2..patch @@ -0,0 +1,43 @@ +From 58ddc137021a938f37c3794305a839f8df449d3f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 23:59:15 +0200 +Subject: [PATCH] etc/uams/openssl_compat.h: fix build with libressl >= 2.7.0 + +Fix the following build failure with libressl >= 2.7.0 which added +DH_set0_pqg with +https://github.com/libressl-portable/openbsd/commit/848e2a019c796b685fc8c5848283b86e48fbe0bf: + +In file included from uams_dhx_passwd.c:35: +openssl_compat.h:15:19: error: static declaration of 'DH_set0_pqg' follows non-static declaration + 15 | inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) + | ^~~~~~~~~~~ +In file included from uams_dhx_passwd.c:33: +/home/autobuild/autobuild/instance-2/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/dh.h:195:5: note: previous declaration of 'DH_set0_pqg' was here + 195 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/fc6e308f346570f8198542602bc8c1bdd0a4869e + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet] +--- + etc/uams/openssl_compat.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/etc/uams/openssl_compat.h b/etc/uams/openssl_compat.h +index ded377bc..5cc8de34 100644 +--- a/etc/uams/openssl_compat.h ++++ b/etc/uams/openssl_compat.h +@@ -11,7 +11,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt + #ifndef OPENSSL_COMPAT_H + #define OPENSSL_COMPAT_H + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) + { + /* If the fields p and g in d are NULL, the corresponding input +-- +2.35.1 + From arnout at mind.be Mon Apr 25 20:19:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:11 +0200 Subject: [Buildroot] [git commit] package/argp-standalone: fix NLS build Message-ID: <20220425201532.325908448E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5430c8fedd0392e79e0c011825b056fea129980a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump to version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and https://github.com/ericonr/argp-standalone/commit/e5fe9ad9e83e6765cf8fa787f903d4c6792338b5: /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: libargp.a(argp-parse.o): in function `argp_version_parser': /home/buildroot/autobuild/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' Fixes: - http://autobuild.buildroot.org/results/adb9c4b747352497adbc9df866709b17fe0f9755 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/argp-standalone/argp-standalone.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk index 80ca04046d..269239fa5b 100644 --- a/package/argp-standalone/argp-standalone.mk +++ b/package/argp-standalone/argp-standalone.mk @@ -12,9 +12,11 @@ ARGP_STANDALONE_LICENSE = LGPL-2.1+ ARGP_STANDALONE_LICENSE_FILES = README.md # From git ARGP_STANDALONE_AUTORECONF = YES +ARGP_STANDALONE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) ARGP_STANDALONE_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" + CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline" \ + LIBS=$(TARGET_NLS_LIBS) define ARGP_STANDALONE_INSTALL_STAGING_CMDS $(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a From arnout at mind.be Mon Apr 25 20:19:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:10 +0200 Subject: [Buildroot] [git commit] package/libinput: security bump to version 1.20.1 Message-ID: <20220425201532.082158448C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e21a7931c7afc6f8740775c03c29a8bc03afa16b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: - CVE-2022-1215: libinput format string vulnerability For details, see the advisory: https://www.openwall.com/lists/oss-security/2022/04/20/2 Signed-off-by: Peter Korsgaard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libinput/libinput.hash | 2 +- package/libinput/libinput.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libinput/libinput.hash b/package/libinput/libinput.hash index d1c7cfb104..d8282ff03b 100644 --- a/package/libinput/libinput.hash +++ b/package/libinput/libinput.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 6c1f97892a7d599f97349e5e7c1239901fe00edcd4f6289f410034d5dc06cc85 libinput-1.20.0.tar.bz2 +sha256 08c003f724f361ed21f4dfbfe755a6c115b85385f1418907bb98f185457273f0 libinput-1.20.1.tar.bz2 # License files sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk index b814e3416d..a66b0afde5 100644 --- a/package/libinput/libinput.mk +++ b/package/libinput/libinput.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBINPUT_VERSION = 1.20.0 +LIBINPUT_VERSION = 1.20.1 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2 LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION) LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev From arnout at mind.be Mon Apr 25 20:19:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:10 +0200 Subject: [Buildroot] [git commit] package/python-zopfli: needs C++ Message-ID: <20220425201531.F20B28448B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b8152158f8381a7d59c6d33851df9997a3cc0101 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-zopfli needs C++ since its addition in commit 53972c82964dd1337dff4ccbcdd484d243aef0ba: nios2-buildroot-linux-gnu-gcc.br_real: error: zopfli/src/zopflipng/lodepng/lodepng.cpp: C++ compiler not installed on this system Fixes: - http://autobuild.buildroot.org/results/442ae4a02e691b4039d1694620f6284906cdc97f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-weasyprint/Config.in | 2 +- package/python-zopfli/Config.in | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in index 7fe99c3951..18d72d742e 100644 --- a/package/python-weasyprint/Config.in +++ b/package/python-weasyprint/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" - depends on BR2_INSTALL_LIBSTDCPP # python-brotli + depends on BR2_INSTALL_LIBSTDCPP # python-brotli, python-zopfli select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime diff --git a/package/python-zopfli/Config.in b/package/python-zopfli/Config.in index 0b1ebca85c..dc68a2fef0 100644 --- a/package/python-zopfli/Config.in +++ b/package/python-zopfli/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_PYTHON_ZOPFLI bool "python-zopfli" + depends on BR2_INSTALL_LIBSTDCPP help Zopfli module for python. https://github.com/fonttools/py-zopfli + +comment "python-zopfli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From arnout at mind.be Mon Apr 25 20:19:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:10 +0200 Subject: [Buildroot] [git commit] package/suricata: security bump to version 6.0.5 Message-ID: <20220425201532.28F928448C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=deb2f747a6e54e47fed00f1deab5efa0e5d2aede branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Various security, performance, accuracy and stability issues have been fixed. https://forum.suricata.io/t/suricata-6-0-5-and-5-0-9-released/2415 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/suricata/suricata.hash | 2 +- package/suricata/suricata.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash index 098740e769..032546fd92 100644 --- a/package/suricata/suricata.hash +++ b/package/suricata/suricata.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 a8f197e33d1678689ebbf7bc1abe84934c465d22c504c47c2c7e9b74aa042d0d suricata-6.0.4.tar.gz +sha256 0d4197047c84ba070dfc6b1d9f9ee92f52a71403bfac0e29b2554bb21fe00754 suricata-6.0.5.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk index 86d8970178..36e641bf90 100644 --- a/package/suricata/suricata.mk +++ b/package/suricata/suricata.mk @@ -4,7 +4,7 @@ # ################################################################################ -SURICATA_VERSION = 6.0.4 +SURICATA_VERSION = 6.0.5 SURICATA_SITE = https://www.openinfosecfoundation.org/download SURICATA_LICENSE = GPL-2.0 SURICATA_LICENSE_FILES = COPYING LICENSE From arnout at mind.be Mon Apr 25 20:16:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:16:45 +0200 Subject: [Buildroot] [git commit] package/zfs: bump version to 2.1.4 Message-ID: <20220425201531.E76818448E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=68dfd09708c66f1aeca3bf5725eb83c7ea5b35c8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch because is already merged. Select libcurl as required dependency, because keylocation now supports https. OpenSSL was already a dependency, so libcurl will be built with https support. Add upstream patch to support uClibc. We update the test cases to use the latest LTS kernel, 5.15.x. Signed-off-by: Jos?? Luis Salvador Rufo Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...t-a-flaw-in-the-Python-3-version-checking.patch | 106 --------------------- package/zfs/Config.in | 1 + package/zfs/zfs.hash | 5 +- package/zfs/zfs.mk | 6 +- support/testing/tests/package/test_zfs.py | 4 +- 5 files changed, 9 insertions(+), 113 deletions(-) diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch deleted file mode 100644 index 70978f9f4d..0000000000 --- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001 -From: Rich Ercolani <214141+rincebrain at users.noreply.github.com> -Date: Tue, 8 Jun 2021 20:20:16 -0400 -Subject: [PATCH] Correct a flaw in the Python 3 version checking - -It turns out the ax_python_devel.m4 version check assumes that -("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1 -is 10 or above and X is not. (Also presumably X+1=100 and ...) - -So let's remake the check to behave consistently, using the -"packaging" or (if absent) the "distlib" modules. - -(Also, update the Github workflows to use the new packages.) - -Reviewed-by: Brian Behlendorf -Reviewed-by: John Kennedy -Signed-off-by: Rich Ercolani -Closes: #12073 -(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48) -[Romain: drop rpm spec and github workflows changes] -Signed-off-by: Romain Naour ---- - config/always-pyzfs.m4 | 15 +++++++++++++++ - config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------ - 2 files changed, 42 insertions(+), 6 deletions(-) - -diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4 -index 76e07b593..fa39fd885 100644 ---- a/config/always-pyzfs.m4 -+++ b/config/always-pyzfs.m4 -@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [ - ]) - AC_SUBST(DEFINE_PYZFS) - -+ dnl # -+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs -+ dnl # -+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [ -+ ZFS_AC_PYTHON_MODULE([packaging], [], [ -+ ZFS_AC_PYTHON_MODULE([distlib], [], [ -+ AS_IF([test "x$enable_pyzfs" = xyes], [ -+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed") -+ ], [test "x$enable_pyzfs" != xno], [ -+ enable_pyzfs=no -+ ]) -+ ]) -+ ]) -+ ]) -+ - dnl # - dnl # Require python-devel libraries - dnl # -diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4 -index c51b45b7d..cdfbbf81f 100644 ---- a/config/ax_python_devel.m4 -+++ b/config/ax_python_devel.m4 -@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ - # Check for a version of Python >= 2.1.0 - # - AC_MSG_CHECKING([for a version of Python >= '2.1.0']) -- ac_supports_python_ver=`$PYTHON -c "import sys; \ -- ver = sys.version.split ()[[0]]; \ -- print (ver >= '2.1.0')"` -+ ac_supports_python_ver=`cat<= '3.11.0' -+ ac_supports_python_ver=`cat< commit: https://git.buildroot.net/buildroot/commit/?id=f5e4bb185a2694c180ba1c51efab4e5a6c8b3975 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Pass ac_cv_path_xmlconfig to fix the following build failure with libxml2 raised since bump to version 0.102.0 in commit 007f49962a961f96ff87795217758ec3786d03ac and https://github.com/Cisco-Talos/clamav/commit/083ca38727b0ebd3979cf1ebc7b31148f6d5e7f7: aarch64-none-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include/libxml2' In file included from /usr/include/libxml2/libxml/parser.h:810, from others.c:62: /usr/include/libxml2/libxml/encoding.h:31:10: fatal error: unicode/ucnv.h: No such file or directory 31 | #include | ^~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/5bb3bea6d13ac8d497f6862374d65a59bea7ed09 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/clamav/clamav.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index cd2d06e6b3..e2ee99d02b 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -69,6 +69,7 @@ CLAMAV_CONF_OPTS += --without-libjson endif ifeq ($(BR2_PACKAGE_LIBXML2),y) +CLAMAV_CONF_ENV += ac_cv_path_xmlconfig=$(STAGING_DIR)/usr/bin/xml2-config CLAMAV_CONF_OPTS += --with-xml=$(STAGING_DIR)/usr CLAMAV_DEPENDENCIES += libxml2 else From arnout at mind.be Mon Apr 25 20:19:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:10 +0200 Subject: [Buildroot] [git commit] package/libhtp: bump to version 0.5.40 Message-ID: <20220425201532.1C64F8448B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4e9d17a929a418d5e798869b61c72c8903ca8671 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/OISF/libhtp/releases/tag/0.5.40 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libhtp/libhtp.hash | 2 +- package/libhtp/libhtp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash index eae3009c76..8759823e16 100644 --- a/package/libhtp/libhtp.hash +++ b/package/libhtp/libhtp.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d5956b49314fc6a058864130fbcf040a12584ee1e38f3b6ea52aedfa99d4c14a libhtp-0.5.39.tar.gz +sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk index 532eaa340b..bb8aa73b42 100644 --- a/package/libhtp/libhtp.mk +++ b/package/libhtp/libhtp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBHTP_VERSION = 0.5.39 +LIBHTP_VERSION = 0.5.40 LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) LIBHTP_LICENSE = BSD-3-Clause LIBHTP_LICENSE_FILES = LICENSE From arnout at mind.be Mon Apr 25 20:19:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:19:11 +0200 Subject: [Buildroot] [git commit] package/aubio: add host-pkgconf dependency Message-ID: <20220425201532.3B2A18448B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8a24b80533c0e04857e728c630b5863447dcbce1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add host-pkgconf dependency to fix the following build failure raised since the addition of the package in commit 280bb6807619e2e858836435f44aad0cccd27a40 and https://github.com/aubio/aubio/commit/e57859fd1f2c3c8b18b3f5ede122071c66166a8f: Checking for program 'pkg-config' : not found Could not find the program ['pkg-config'] Fixes: - http://autobuild.buildroot.org/results/e6f0e9b09e4b611daf5bb37091610d8de80f1f4d Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/aubio/aubio.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index b79beccd97..b2eb2b5e6d 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -11,6 +11,7 @@ AUBIO_LICENSE = GPL-3.0+ AUBIO_LICENSE_FILES = COPYING AUBIO_INSTALL_STAGING = YES +AUBIO_DEPENDENCIES = host-pkgconf AUBIO_CONF_OPTS = \ --disable-docs \ --disable-atlas From arnout at mind.be Mon Apr 25 20:26:37 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 22:26:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/rtl_433: fix CVE-2022-27419 In-Reply-To: <20220424201615.3421463-1-fontaine.fabrice@gmail.com> References: <20220424201615.3421463-1-fontaine.fabrice@gmail.com> Message-ID: On 24/04/2022 22:16, Fabrice Fontaine wrote: > rtl_433 21.12 was discovered to contain a stack overflow in the function > acurite_00275rm_decode at /devices/acurite.c. This vulnerability allows > attackers to cause a Denial of Service (DoS) via a crafted file. > > Signed-off-by: Fabrice Fontaine This package is racking up CVEs :-) Applied to master, thanks. Regards, Arnout > --- > ...0004-Fix-overflow-in-Acurite-00275rm.patch | 35 +++++++++++++++++++ > package/rtl_433/rtl_433.mk | 3 ++ > 2 files changed, 38 insertions(+) > create mode 100644 package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch > > diff --git a/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch > new file mode 100644 > index 0000000000..057bf9cf64 > --- /dev/null > +++ b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch > @@ -0,0 +1,35 @@ > +From 37455483889bd1c641bdaafc493d1cc236b74904 Mon Sep 17 00:00:00 2001 > +From: "Christian W. Zuckschwerdt" > +Date: Fri, 18 Mar 2022 08:09:15 +0100 > +Subject: [PATCH] Fix overflow in Acurite-00275rm (closes #2012) > + > +[Retrieved from: > +https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904] > +Signed-off-by: Fabrice Fontaine > +--- > + src/devices/acurite.c | 6 +++--- > + 1 file changed, 3 insertions(+), 3 deletions(-) > + > +diff --git a/src/devices/acurite.c b/src/devices/acurite.c > +index 6879e52da..4f3e83eb3 100644 > +--- a/src/devices/acurite.c > ++++ b/src/devices/acurite.c > +@@ -1318,15 +1318,15 @@ static int acurite_00275rm_decode(r_device *decoder, bitbuffer_t *bitbuffer) > + > + // Combine signal if exactly three repeats were found > + if (n_rows == 3) { > +- uint8_t *b = bitbuffer->bb[bitbuffer->num_rows]; > ++ bitbuffer_add_row(bitbuffer); > ++ uint8_t *b = bitbuffer->bb[bitbuffer->num_rows - 1]; > + for (int i = 0; i < 11; ++i) { > + // The majority bit count wins > + b[i] = (b_rows[0][i] & b_rows[1][i]) | > + (b_rows[1][i] & b_rows[2][i]) | > + (b_rows[2][i] & b_rows[0][i]); > + } > +- bitbuffer->bits_per_row[bitbuffer->num_rows] = 88; > +- bitbuffer->num_rows += 1; > ++ bitbuffer->bits_per_row[bitbuffer->num_rows - 1] = 88; > + } > + > + // Output the first valid row > diff --git a/package/rtl_433/rtl_433.mk b/package/rtl_433/rtl_433.mk > index d1c28adbf5..8326caedb2 100644 > --- a/package/rtl_433/rtl_433.mk > +++ b/package/rtl_433/rtl_433.mk > @@ -20,6 +20,9 @@ RTL_433_CONF_OPTS = \ > # 0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch > RTL_433_IGNORE_CVES += CVE-2022-25051 > > +# 0004-Fix-overflow-in-Acurite-00275rm.patch > +RTL_433_IGNORE_CVES += CVE-2022-27419 > + > ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) > RTL_433_DEPENDENCIES += librtlsdr > RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON From arnout at mind.be Mon Apr 25 20:25:53 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 22:25:53 +0200 Subject: [Buildroot] [git commit] package/rtl_433: fix CVE-2022-27419 Message-ID: <20220425201632.40B5784493@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ba317308439cec343d1c4844c802e17843808162 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master rtl_433 21.12 was discovered to contain a stack overflow in the function acurite_00275rm_decode at /devices/acurite.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted file. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0004-Fix-overflow-in-Acurite-00275rm.patch | 35 ++++++++++++++++++++++ package/rtl_433/rtl_433.mk | 3 ++ 2 files changed, 38 insertions(+) diff --git a/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch new file mode 100644 index 0000000000..057bf9cf64 --- /dev/null +++ b/package/rtl_433/0004-Fix-overflow-in-Acurite-00275rm.patch @@ -0,0 +1,35 @@ +From 37455483889bd1c641bdaafc493d1cc236b74904 Mon Sep 17 00:00:00 2001 +From: "Christian W. Zuckschwerdt" +Date: Fri, 18 Mar 2022 08:09:15 +0100 +Subject: [PATCH] Fix overflow in Acurite-00275rm (closes #2012) + +[Retrieved from: +https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904] +Signed-off-by: Fabrice Fontaine +--- + src/devices/acurite.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/devices/acurite.c b/src/devices/acurite.c +index 6879e52da..4f3e83eb3 100644 +--- a/src/devices/acurite.c ++++ b/src/devices/acurite.c +@@ -1318,15 +1318,15 @@ static int acurite_00275rm_decode(r_device *decoder, bitbuffer_t *bitbuffer) + + // Combine signal if exactly three repeats were found + if (n_rows == 3) { +- uint8_t *b = bitbuffer->bb[bitbuffer->num_rows]; ++ bitbuffer_add_row(bitbuffer); ++ uint8_t *b = bitbuffer->bb[bitbuffer->num_rows - 1]; + for (int i = 0; i < 11; ++i) { + // The majority bit count wins + b[i] = (b_rows[0][i] & b_rows[1][i]) | + (b_rows[1][i] & b_rows[2][i]) | + (b_rows[2][i] & b_rows[0][i]); + } +- bitbuffer->bits_per_row[bitbuffer->num_rows] = 88; +- bitbuffer->num_rows += 1; ++ bitbuffer->bits_per_row[bitbuffer->num_rows - 1] = 88; + } + + // Output the first valid row diff --git a/package/rtl_433/rtl_433.mk b/package/rtl_433/rtl_433.mk index d1c28adbf5..8326caedb2 100644 --- a/package/rtl_433/rtl_433.mk +++ b/package/rtl_433/rtl_433.mk @@ -20,6 +20,9 @@ RTL_433_CONF_OPTS = \ # 0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch RTL_433_IGNORE_CVES += CVE-2022-25051 +# 0004-Fix-overflow-in-Acurite-00275rm.patch +RTL_433_IGNORE_CVES += CVE-2022-27419 + ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) RTL_433_DEPENDENCIES += librtlsdr RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON From kris at embeddedTS.com Mon Apr 25 20:28:18 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Mon, 25 Apr 2022 13:28:18 -0700 Subject: [Buildroot] [PATCH v2 3/4] configs: add WILC3000_FIRMWARE to compatible devices In-Reply-To: <81c16e83-25d8-d047-4752-b33daa2e91f4@mind.be> References: <20220422223611.10443-1-kris@embeddedTS.com> <20220422223611.10443-4-kris@embeddedTS.com> <81c16e83-25d8-d047-4752-b33daa2e91f4@mind.be> Message-ID: <1650918498.6000.6.camel@embeddedTS.com> On Mon, 2022-04-25 at 22:07 +0200, Arnout Vandecappelle wrote: > > On 23/04/2022 00:36, Kris Bahnsen via buildroot wrote: > > The update to wilc-firmware added firmware files for WILC3000 > > devices as a separate config option. All Atmel/Microchip defconfigs > > that previously only had WILC1000_FIRMWARE either have WILC3000 > > Wi-Fi hardware (WILC3000 is the same silicon but with BLE added) > > For the ones which have a WILC3000, there's no point to include the WILC1000 > firmware, right? I'm not familiar with the full Microchip lineup. Some have these modules soldered down, others, however, can accept either module via some expansion/interconnect system. I thought it safer to install both. In Microchip's externally maintained tree, they just install all .bin files together with their wilc-firmware package. These defconfigs definitely need some maintenance though, as I said in the series cover letter, the defconfig I tried failed to boot when built from master. -Kris > > Anyway, applied to master as is, thanks. Can be fixed up later. > > Regards, > Arnout > > > or have the capacity to have either WILC1000 or WILC3000 devices > > added to the system. Install all firmware blobs to these devices > > by default. > > > > Signed-off-by: Kris Bahnsen > > --- > > configs/at91sam9x5ek_dev_defconfig | 1 + > > configs/at91sam9x5ek_mmc_dev_defconfig | 1 + > > configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + > > configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + > > configs/atmel_sama5d3_xplained_dev_defconfig | 1 + > > configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + > > configs/atmel_sama5d4_xplained_dev_defconfig | 1 + > > configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + > > configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + > > configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + > > configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + > > configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + > > 12 files changed, 12 insertions(+) > > > > diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig > > index bfa8e95941..8714463d89 100644 > > --- a/configs/at91sam9x5ek_dev_defconfig > > +++ b/configs/at91sam9x5ek_dev_defconfig > > @@ -47,6 +47,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig > > index 2e1a5c7f59..9481594716 100644 > > --- a/configs/at91sam9x5ek_mmc_dev_defconfig > > +++ b/configs/at91sam9x5ek_mmc_dev_defconfig > > @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > > index ba2fa46790..38618a5732 100644 > > --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > > +++ b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig > > @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_RNG_TOOLS=y > > diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > > index a8b68ca0a2..1654408aa5 100644 > > --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > > +++ b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig > > @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig > > index cdfd9de17e..64455cb2e0 100644 > > --- a/configs/atmel_sama5d3_xplained_dev_defconfig > > +++ b/configs/atmel_sama5d3_xplained_dev_defconfig > > @@ -49,6 +49,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > > index a2205aeefa..8f5724d631 100644 > > --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > > +++ b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig > > @@ -52,6 +52,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig > > index f8783f5652..fab91cf0b3 100644 > > --- a/configs/atmel_sama5d4_xplained_dev_defconfig > > +++ b/configs/atmel_sama5d4_xplained_dev_defconfig > > @@ -50,6 +50,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > > index b4e99f658a..f9074e9862 100644 > > --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > > +++ b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig > > @@ -53,6 +53,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig > > index 06e03967c4..2b4e234297 100644 > > --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig > > +++ b/configs/microchip_sam9x60ek_mmc_dev_defconfig > > @@ -36,6 +36,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > > index 3bcd5f0200..f9aa6cdc05 100644 > > --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > > +++ b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig > > @@ -39,6 +39,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_I2C_TOOLS=y > > BR2_PACKAGE_SETSERIAL=y > > diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig > > index 27d1d3409d..b1b22c1312 100644 > > --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig > > +++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig > > @@ -32,6 +32,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_SETSERIAL=y > > BR2_PACKAGE_SPI_TOOLS=y > > diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig > > index 6eb6c282e0..d68846e553 100644 > > --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig > > +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig > > @@ -30,6 +30,7 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y > > BR2_PACKAGE_MMC_UTILS=y > > BR2_PACKAGE_MTD=y > > BR2_PACKAGE_WILC1000_FIRMWARE=y > > +BR2_PACKAGE_WILC3000_FIRMWARE=y > > BR2_PACKAGE_EVTEST=y > > BR2_PACKAGE_RNG_TOOLS=y > > # BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set > > From arnout at mind.be Mon Apr 25 21:21:31 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:21:31 +0200 Subject: [Buildroot] [git commit] package/pkg-python.mk: remove hardcoded paths for host Python Message-ID: <20220425211512.DC37A844C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=03d19696c752939aa46ac826df34ad9c2e4e6258 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master When installer is used to install packages for host Python, it can figure out by itself which paths to use. We just need to use the installer CLI instead of our wrapper script. Signed-off-by: ?????????? ???????????????? Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-python.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 464578a35c..e9de5cb8d3 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages @@ -215,7 +207,7 @@ $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD = -m installer dist/* endif else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) ifeq ($(4),target) @@ -223,7 +215,7 @@ $$(error flit-bootstrap setup type only supported for host packages) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m flit_core.wheel -$(2)_BASE_INSTALL_CMD ?= $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +$(2)_BASE_INSTALL_CMD ?= -m installer dist/* endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") From arnout at mind.be Mon Apr 25 21:21:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:21:36 +0200 Subject: [Buildroot] [git commit] package/python-flit-core: migrate setup type to flit-bootstrap Message-ID: <20220425211512.E66A1844C2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=37439adf81d0245d2bcb778ff4ff1c5e9ee49d8c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package needs to use flit-bootstrap since it is a dependency of host-python-pypa-build. It cannot use the normal install command because that relies on host-python-installer, and host-python-installer itself will depend on host-python-flit-core once it is bumped and migrated to flit-bootstrap setup type. Therefore, use the special bootstrap_install module. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-flit-core/python-flit-core.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk index 0e058a1f17..2dc67bd517 100644 --- a/package/python-flit-core/python-flit-core.mk +++ b/package/python-flit-core/python-flit-core.mk @@ -8,6 +8,11 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap + +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +HOST_PYTHON_FLIT_CORE_BASE_INSTALL_CMD = -m bootstrap_install dist/* $(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) $(eval $(host-python-package)) From arnout at mind.be Mon Apr 25 21:21:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:21:36 +0200 Subject: [Buildroot] [git commit] package/python-tomli: bump to version 2.0.1 Message-ID: <20220425211512.F004E844C0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e22dca48c9d8d677bea11c6dbee8e027681ee5b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package now requires flit and must use the flit-bootstrap setup type for the host build since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-tomli/python-tomli.hash | 4 ++-- package/python-tomli/python-tomli.mk | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash index 1a274c8a40..8368f9ee13 100644 --- a/package/python-tomli/python-tomli.hash +++ b/package/python-tomli/python-tomli.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/tomli/json -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz # Locally computed sha256 checksums sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk index b8c20ca736..b803d67466 100644 --- a/package/python-tomli/python-tomli.mk +++ b/package/python-tomli/python-tomli.mk @@ -4,12 +4,13 @@ # ################################################################################ -PYTHON_TOMLI_VERSION = 1.2.0 +PYTHON_TOMLI_VERSION = 2.0.1 PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa -PYTHON_TOMLI_SETUP_TYPE = distutils +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 PYTHON_TOMLI_LICENSE = MIT PYTHON_TOMLI_LICENSE_FILES = LICENSE +PYTHON_TOMLI_SETUP_TYPE = flit +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) From arnout at mind.be Mon Apr 25 21:19:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:19:32 +0200 Subject: [Buildroot] [git commit] package/pkg-python: migrate flit to new bootstrapping sequence Message-ID: <20220425211512.D0972844C0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8b4f831f36cd653504f38023f909f76912730534 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master There are a number of flit toolchain dependencies currently in the process of deprecating distutils based fallbacks. This will be needed in order to update tomli. We need to migrate these to use a new bootstrap based build+install sequence which relies on flit's bootstrap wheel build+install features to build and install host-python-pypa-build and host-python-installer which gives us a full pep517 toolchain. Note that one can run host-python-flit-core commands for building and installing itself since the package build directory is the cwd. We need to add a special flit-bootstrap SETUP_TYPE for dependencies of host-python-pypa-build and host-python-installer which can not use the normal flit SETUP_TYPE which would cause a circular dependency issue. To avoid further special casing for host-python-flit-core and host-python-installer, we add two additional changes: - _BASE_INSTALL_CMD is set with ?=, so it can be overridden by the package; - No _DEPENDENCIES are added for host-python-flit-core and host-python-installer, to avoid circular dependencies. These two are responsible for their own dependencies. Although flit-bootstrap _BASE_ variables are almost identical to the flit/pep517 variables, only _BASE_ENV is really identical. To make things easier to understand, treat flit-bootstrap as a completely separate SETUP_TYPE. This also allows us to check that it is only used for host packages. Signed-off-by: James Hilliard Cc: "Yann E. MORIN" Cc: Arnout Vandecappelle [Arnout: simplify things by delegating some special casing to the packages themselves; add check that it's only for host.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-python.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 867341fc7b..464578a35c 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ --scripts=$(HOST_DIR)/bin \ --data=$(HOST_DIR) +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + ################################################################################ # inner-python-package -- defines how the configuration, compilation # and installation of a Python package should be done, implements a @@ -214,6 +217,14 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifeq ($(4),target) +$$(error flit-bootstrap setup type only supported for host packages) +else +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) +$(2)_BASE_BUILD_CMD = -m flit_core.wheel +$(2)_BASE_INSTALL_CMD ?= $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) +endif else $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") endif @@ -239,6 +250,10 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifeq ($$(filter host-python-flit-core host-python-installer,$(1)),) +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +endif endif # SETUP_TYPE # Python interpreter to use for building the package. From arnout at mind.be Mon Apr 25 21:23:57 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Mon, 25 Apr 2022 23:23:57 +0200 Subject: [Buildroot] [git commit] package/python-pyparsing: bump to version 3.0.8 Message-ID: <20220425211513.0530B844C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2e49ff10202e28a8dc942bfe11d7a623aca0bf6c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package now requires flit and must use the flit-bootstrap setup type for the host build since it is a dependency of host-python-pypa-build. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-pyparsing/python-pyparsing.hash | 4 ++-- package/python-pyparsing/python-pyparsing.mk | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-pyparsing/python-pyparsing.hash b/package/python-pyparsing/python-pyparsing.hash index 1e56e878a1..e7137d55c9 100644 --- a/package/python-pyparsing/python-pyparsing.hash +++ b/package/python-pyparsing/python-pyparsing.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pyparsing/json -md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz -sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz +md5 971252e99e1e02a4c27f001894e0422d pyparsing-3.0.8.tar.gz +sha256 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954 pyparsing-3.0.8.tar.gz # Locally computed sha256 checksums sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE diff --git a/package/python-pyparsing/python-pyparsing.mk b/package/python-pyparsing/python-pyparsing.mk index 2fb705bc7a..7e458042f5 100644 --- a/package/python-pyparsing/python-pyparsing.mk +++ b/package/python-pyparsing/python-pyparsing.mk @@ -4,12 +4,13 @@ # ################################################################################ -PYTHON_PYPARSING_VERSION = 3.0.7 +PYTHON_PYPARSING_VERSION = 3.0.8 PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/31/df/789bd0556e65cf931a5b87b603fcf02f79ff04d5379f3063588faaf9c1e4 PYTHON_PYPARSING_LICENSE = MIT PYTHON_PYPARSING_LICENSE_FILES = LICENSE -PYTHON_PYPARSING_SETUP_TYPE = setuptools +PYTHON_PYPARSING_SETUP_TYPE = flit +HOST_PYTHON_PYPARSING_SETUP_TYPE = flit-bootstrap $(eval $(python-package)) $(eval $(host-python-package)) From fontaine.fabrice at gmail.com Mon Apr 25 21:23:38 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 25 Apr 2022 23:23:38 +0200 Subject: [Buildroot] [PATCH 1/1] Revert "package/pure-ftpd: doesn't build with libressl" Message-ID: <20220425212338.1105933-1-fontaine.fabrice@gmail.com> This reverts commit e87e6fd085b8a4965b9dc84635fd36e380da4dde as pure-ftpd can be built with libressl since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2 and https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8. Signed-off-by: Fabrice Fontaine --- package/pure-ftpd/pure-ftpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk index 0354949e28..f3cbef84b9 100644 --- a/package/pure-ftpd/pure-ftpd.mk +++ b/package/pure-ftpd/pure-ftpd.mk @@ -45,7 +45,7 @@ else PURE_FTPD_CONF_OPTS += --without-ldap endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +ifeq ($(BR2_PACKAGE_OPENSSL),y) PURE_FTPD_CONF_OPTS += --with-tls PURE_FTPD_DEPENDENCIES += host-pkgconf openssl PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -- 2.35.1 From arnout at mind.be Mon Apr 25 21:32:08 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:32:08 +0200 Subject: [Buildroot] [PATCH v7 1/5] package/pkg-python: migrate flit to new bootstrapping sequence In-Reply-To: <20220424213958.1747120-1-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> Message-ID: <9e61fbdb-aeb1-d493-afc2-87372d479fb7@mind.be> On 24/04/2022 23:39, James Hilliard wrote: > There are a number of flit toolchain dependencies currently in the > process of deprecating distutils based fallbacks. > > This will be needed in order to update tomli. > > We need to migrate these to use a new bootstrap based build+install > sequence which relies on flit's bootstrap wheel build+install > features to build and install host-python-pypa-build and > host-python-installer which gives us a full pep517 toolchain. > > Note that one can run host-python-flit-core commands for building > and installing itself since the package build directory is the cwd. > > We need to add a special flit-bootstrap SETUP_TYPE for dependencies > of host-python-pypa-build and host-python-installer which can not > use the normal flit SETUP_TYPE which would cause a circular dependency > issue. > > We need to special case dependency exclusions for > host-python-flit-core and host-python-installer to avoid circular > dependencies in the flit-bootstrap SETUP_TYPE. > > We also need to special case the installation command for > host-python-flit-core since it can not depend on host-python-installer > due to host-python-installer requiring host-python-flit-core. > > Signed-off-by: James Hilliard > Cc: "Yann E. MORIN" > Cc: Arnout Vandecappelle > --- > Changes v3 -> v4: > - rebase > Changes v2 -> v3: > - add special flit-bootstrap SETUP_TYPE > - don't change package SETUP_TYPE's yet > Changes v1 -> v2: > - formatting/cleanup > - add comments > --- > package/pkg-python.mk | 26 +++++++++++++++++++++++++- > 1 file changed, 25 insertions(+), 1 deletion(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 867341fc7b..2e7704a0a9 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -154,6 +154,9 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > --scripts=$(HOST_DIR)/bin \ > --data=$(HOST_DIR) > > +HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ > + --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages > + > ################################################################################ > # inner-python-package -- defines how the configuration, compilation > # and installation of a Python package should be done, implements a > @@ -203,7 +206,7 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) > $(2)_BASE_BUILD_CMD = setup.py build > $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) > endif > -else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) > +else ifneq ($$(filter flit flit-bootstrap pep517,$$($(2)_SETUP_TYPE)),) > ifeq ($(4),target) > $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) > $(2)_BASE_BUILD_CMD = -m build -n -w > @@ -211,9 +214,24 @@ $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $ > $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) > else > $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) > +# Use flit built in wheel builder for packages that are flit-bootstrap packages. > +# This is needed to avoid a circular with host-python-pypa-build and those dependencies. > +# > +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) > +$(2)_BASE_BUILD_CMD = -m flit_core.wheel > +ifeq ($(1),host-python-flit-core) > +# Use flit built in bootstrap_install for installing host-python-flit-core. > +# This is due to host-python-installer depending on host-python-flit-core. > +# > +$(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) > +else > +$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > +endif I still think this is too complicated. And I'm stubborn, so I changed it and committed to master [1]. I've basically done two things: - Treat flit-bootstrap as a completely separate setup type. Only the _BASE_ENV is exactly the same as in the other cases; the conditional flow becomes a lot easier to understand by making it explicit. This also allows an $(error ...) when it's used for a target package. The special-casing for flit-core I solved by using ?= and overriding it in python-flit-core.mk > +else > $(2)_BASE_BUILD_CMD = -m build -n -w > $(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > endif > +endif > else > $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") > endif > @@ -239,6 +257,12 @@ $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > ifeq ($$($(2)_SETUP_TYPE),flit) > $(2)_DEPENDENCIES += host-python-flit-core > endif > +else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) > +ifneq ($$(filter host-python-flit-core host-python-installer,$(1)),) > +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) Again, too complicated for me. I just removed this conditional branch. So for host-python-flit-core and host-python-installer, no dependencies are added. host-python-flit-core in fact doesn't need any. host-python-installer has to add it manually. Regards, Arnout [1] https://git.buildroot.org/buildroot/commit/?id=8b4f831f36cd653504f38023f909f76912730534 > +else > +$(2)_DEPENDENCIES += host-python-flit-core host-python-installer > +endif > endif # SETUP_TYPE > > # Python interpreter to use for building the package. From arnout at mind.be Mon Apr 25 21:32:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:32:25 +0200 Subject: [Buildroot] [PATCH v7 2/5] package/pkg-python.mk: remove hardcoded paths for host Python In-Reply-To: <20220424213958.1747120-2-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-2-james.hilliard1@gmail.com> Message-ID: <7e1c1baa-0f41-57e2-6260-51bd565b7029@mind.be> On 24/04/2022 23:39, James Hilliard wrote: > From: ????? ???????? > > When installer is used to install packages for host Python, it can figure > out by itself which paths to use. We just need to use the installer CLI > instead of our wrapper script. > > Signed-off-by: ????? ???????? > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > Changes v4 -> v5: > - add rebased remove hardcoded paths patch > --- > package/pkg-python.mk | 12 ++---------- > 1 file changed, 2 insertions(+), 10 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 2e7704a0a9..154810e1cc 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -146,14 +146,6 @@ HOST_PKG_PYTHON_PEP517_ENV = \ > PYTHONNOUSERSITE=1 \ > $(HOST_CONFIGURE_OPTS) > > -HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > - --interpreter=/bin/python \ > - --script-kind=posix \ > - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ > - --scripts=$(HOST_DIR)/bin \ > - --data=$(HOST_DIR) > - > HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ > --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages > > @@ -225,11 +217,11 @@ ifeq ($(1),host-python-flit-core) > # > $(2)_BASE_INSTALL_CMD = -m bootstrap_install dist/* $$(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) > else > -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > +$(2)_BASE_INSTALL_CMD = -m installer dist/* > endif > else > $(2)_BASE_BUILD_CMD = -m build -n -w > -$(2)_BASE_INSTALL_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(HOST_PKG_PYTHON_PEP517_INSTALL_OPTS) > +$(2)_BASE_INSTALL_CMD = -m installer dist/* > endif > endif > else From arnout at mind.be Mon Apr 25 21:34:39 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:34:39 +0200 Subject: [Buildroot] [PATCH v7 3/5] package/python-flit-core: migrate setup type to flit bootstrap In-Reply-To: <20220424213958.1747120-3-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-3-james.hilliard1@gmail.com> Message-ID: <3641180a-8321-a68d-8931-c1de5f90b4bb@mind.be> On 24/04/2022 23:39, James Hilliard wrote: > This package needs to use flit-bootstrap since it is a dependency > of host-python-pypa-build. > > Signed-off-by: James Hilliard > --- > package/python-flit-core/python-flit-core.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk > index 0e058a1f17..aaf4c77c6a 100644 > --- a/package/python-flit-core/python-flit-core.mk > +++ b/package/python-flit-core/python-flit-core.mk > @@ -8,6 +8,6 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 > PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz > PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 > PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause > -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 > +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap So here I added HOST_PYTHON_FLIT_CORE_BASE_INSTALL_CMD = -m bootstrap_install dist/* $(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) Applied to master, thanks. Regards, Arnout > > $(eval $(host-python-package)) From arnout at mind.be Mon Apr 25 21:37:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:37:48 +0200 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: <20220424213958.1747120-4-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> Message-ID: On 24/04/2022 23:39, James Hilliard wrote: > This package now requires flit and must use the flit-bootstrap setup > type for the host build since it is a dependency of > host-python-pypa-build. > > Signed-off-by: James Hilliard Applied to master, thanks. While testing this series, I noticed that the following gives an error (this was already the case in the original series; I haven't checked how it was before your series was applied - for tomli, it certainly wouldn't happen because it would still be using setuptools, but maybe for other flit packages, I don't know). make python-tomli make python-tomli-dirclean make python-tomli ... FileExistsError: File already exists: /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py Would be nice to get that fixed... Regards, Arnout > --- > Changes v6 -> v7: > - only use flit-boostrap for host-python-tomli > --- > package/python-tomli/python-tomli.hash | 4 ++-- > package/python-tomli/python-tomli.mk | 7 ++++--- > 2 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > index 1a274c8a40..8368f9ee13 100644 > --- a/package/python-tomli/python-tomli.hash > +++ b/package/python-tomli/python-tomli.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/tomli/json > -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > # Locally computed sha256 checksums > sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > index b8c20ca736..b803d67466 100644 > --- a/package/python-tomli/python-tomli.mk > +++ b/package/python-tomli/python-tomli.mk > @@ -4,12 +4,13 @@ > # > ################################################################################ > > -PYTHON_TOMLI_VERSION = 1.2.0 > +PYTHON_TOMLI_VERSION = 2.0.1 > PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > -PYTHON_TOMLI_SETUP_TYPE = distutils > +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > PYTHON_TOMLI_LICENSE = MIT > PYTHON_TOMLI_LICENSE_FILES = LICENSE > +PYTHON_TOMLI_SETUP_TYPE = flit > +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > > $(eval $(python-package)) > $(eval $(host-python-package)) From arnout at mind.be Mon Apr 25 21:38:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 25 Apr 2022 23:38:03 +0200 Subject: [Buildroot] [PATCH v7 5/5] package/python-pyparsing: bump to version 3.0.8 In-Reply-To: <20220424213958.1747120-5-james.hilliard1@gmail.com> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-5-james.hilliard1@gmail.com> Message-ID: <07ebcbc5-8bd4-b209-4dfb-971c0917a380@mind.be> On 24/04/2022 23:39, James Hilliard wrote: > This package now requires flit and must use the flit-bootstrap setup > type for the host build since it is a dependency of > host-python-pypa-build. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > Changes v6 -> v7: > - only use flit-boostrap for host-python-pyparsing > --- > package/python-pyparsing/python-pyparsing.hash | 4 ++-- > package/python-pyparsing/python-pyparsing.mk | 7 ++++--- > 2 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/package/python-pyparsing/python-pyparsing.hash b/package/python-pyparsing/python-pyparsing.hash > index 1e56e878a1..e7137d55c9 100644 > --- a/package/python-pyparsing/python-pyparsing.hash > +++ b/package/python-pyparsing/python-pyparsing.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/pyparsing/json > -md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz > -sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz > +md5 971252e99e1e02a4c27f001894e0422d pyparsing-3.0.8.tar.gz > +sha256 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954 pyparsing-3.0.8.tar.gz > # Locally computed sha256 checksums > sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE > diff --git a/package/python-pyparsing/python-pyparsing.mk b/package/python-pyparsing/python-pyparsing.mk > index 2fb705bc7a..7e458042f5 100644 > --- a/package/python-pyparsing/python-pyparsing.mk > +++ b/package/python-pyparsing/python-pyparsing.mk > @@ -4,12 +4,13 @@ > # > ################################################################################ > > -PYTHON_PYPARSING_VERSION = 3.0.7 > +PYTHON_PYPARSING_VERSION = 3.0.8 > PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz > -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b > +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/31/df/789bd0556e65cf931a5b87b603fcf02f79ff04d5379f3063588faaf9c1e4 > PYTHON_PYPARSING_LICENSE = MIT > PYTHON_PYPARSING_LICENSE_FILES = LICENSE > -PYTHON_PYPARSING_SETUP_TYPE = setuptools > +PYTHON_PYPARSING_SETUP_TYPE = flit > +HOST_PYTHON_PYPARSING_SETUP_TYPE = flit-bootstrap > > $(eval $(python-package)) > $(eval $(host-python-package)) From fontaine.fabrice at gmail.com Mon Apr 25 22:06:02 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 00:06:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/wtfutil: add CPE variables Message-ID: <20220425220602.1077854-1-fontaine.fabrice@gmail.com> cpe:2.3:a:wtfutil:wtf is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Awtfutil%3Awtf Signed-off-by: Fabrice Fontaine --- package/wtfutil/wtfutil.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk index 6e841411a9..54fea09574 100644 --- a/package/wtfutil/wtfutil.mk +++ b/package/wtfutil/wtfutil.mk @@ -8,5 +8,7 @@ WTFUTIL_VERSION = 0.41.0 WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) WTFUTIL_LICENSE = MPL-2.0 WTFUTIL_LICENSE_FILES = LICENSE.md +WTFUTIL_CPE_ID_VENDOR = wtfutil +WTFUTIL_CPE_ID_PRODUCT = wtf $(eval $(golang-package)) -- 2.35.1 From james.hilliard1 at gmail.com Tue Apr 26 01:23:11 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 25 Apr 2022 19:23:11 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pep517: migrate setup type to flit Message-ID: <20220426012311.1738027-1-james.hilliard1@gmail.com> This package is moving to flit, we need to use flit-bootstrap since host-python-pypa-build depends on host-python-pep517. Signed-off-by: James Hilliard --- package/python-pep517/python-pep517.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-pep517/python-pep517.mk b/package/python-pep517/python-pep517.mk index 99aa62d51d..45c4f8dd39 100644 --- a/package/python-pep517/python-pep517.mk +++ b/package/python-pep517/python-pep517.mk @@ -9,7 +9,7 @@ PYTHON_PEP517_SOURCE = pep517-$(PYTHON_PEP517_VERSION).tar.gz PYTHON_PEP517_SITE = https://files.pythonhosted.org/packages/0a/65/6e656d49c679136edfba25f25791f45ffe1ea4ae2ec1c59fe9c35e061cd1 PYTHON_PEP517_LICENSE = MIT PYTHON_PEP517_LICENSE_FILES = LICENSE -PYTHON_PEP517_SETUP_TYPE = distutils +PYTHON_PEP517_SETUP_TYPE = flit-bootstrap HOST_PYTHON_PEP517_DEPENDENCIES = host-python-tomli $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 26 01:35:08 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 25 Apr 2022 20:35:08 -0500 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> Message-ID: On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: > > > > On 24/04/2022 23:39, James Hilliard wrote: > > This package now requires flit and must use the flit-bootstrap setup > > type for the host build since it is a dependency of > > host-python-pypa-build. > > > > Signed-off-by: James Hilliard > > > Applied to master, thanks. > > While testing this series, I noticed that the following gives an error (this > was already the case in the original series; I haven't checked how it was before > your series was applied - for tomli, it certainly wouldn't happen because it > would still be using setuptools, but maybe for other flit packages, I don't know). > > make python-tomli > make python-tomli-dirclean > make python-tomli > ... > FileExistsError: File already exists: > /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py I think it happens only when building across version bumps, probably a bug with installer(https://github.com/pypa/installer) upstream. > > Would be nice to get that fixed... Yeah, I'll see if I can track that issue down. > > Regards, > Arnout > > > --- > > Changes v6 -> v7: > > - only use flit-boostrap for host-python-tomli > > --- > > package/python-tomli/python-tomli.hash | 4 ++-- > > package/python-tomli/python-tomli.mk | 7 ++++--- > > 2 files changed, 6 insertions(+), 5 deletions(-) > > > > diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > > index 1a274c8a40..8368f9ee13 100644 > > --- a/package/python-tomli/python-tomli.hash > > +++ b/package/python-tomli/python-tomli.hash > > @@ -1,5 +1,5 @@ > > # md5, sha256 from https://pypi.org/pypi/tomli/json > > -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > > -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > > +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > > +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > > # Locally computed sha256 checksums > > sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > > diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > > index b8c20ca736..b803d67466 100644 > > --- a/package/python-tomli/python-tomli.mk > > +++ b/package/python-tomli/python-tomli.mk > > @@ -4,12 +4,13 @@ > > # > > ################################################################################ > > > > -PYTHON_TOMLI_VERSION = 1.2.0 > > +PYTHON_TOMLI_VERSION = 2.0.1 > > PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > > -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > > -PYTHON_TOMLI_SETUP_TYPE = distutils > > +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > > PYTHON_TOMLI_LICENSE = MIT > > PYTHON_TOMLI_LICENSE_FILES = LICENSE > > +PYTHON_TOMLI_SETUP_TYPE = flit > > +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > > > > $(eval $(python-package)) > > $(eval $(host-python-package)) From thomas.petazzoni at bootlin.com Tue Apr 26 04:45:09 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 04:45:09 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-25 Message-ID: <20220426044514.5009160888@smtp3.osuosl.org> Hello, Autobuild statistics for 2022-04-25 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 18 | 2 | 1 | 21 | master | 93 | 249 | 0 | 342 | Classification of failures by reason for master ----------------------------------------------- package/pcre2/pcre2.mk:33: ... | 38 pcre2-legal-info | 30 host-wayland-1.20.0 | 14 host-gcc-final-10.3.0 | 12 zchunk-1.2.2 | 9 git-2.31.2 | 8 libopenssl-1.1.1n | 8 uclibc-1.0.40 | 8 argp-standalone-1.4.1 | 6 python3-3.10.2 | 6 zlib-ng-2.0.6 | 6 host-gcc-final-11.2.0 | 4 package/pcre2/pcre2.mk:34: ... | 4 refpolicy | 4 unknown | 4 host-pahole-v1.23 | 3 libressl-3.5.2 | 3 linux-5.15.33 | 3 linux-headers-5.15.33 | 3 perl-5.34.1 | 3 containerd-1.6.2 | 2 cryptsetup-2.4.3 | 2 fs/ubifs/ubifs.mk:49: /home... | 2 host-gcc-final-9.4.0 | 2 host-pcre2-legal-info | 2 libnss-3.77 | 2 libressl-3.4.3 | 2 pipewire-0.3.50 | 2 sudo-1.9.8p2 | 2 uacme-1.7.1 | 2 ulog-0389d243352255f6182326... | 2 wavemon-0.9.4 | 2 aubio-0.4.9 | 1 aufs-util | 1 bat-0.19.0 | 1 bird-2.0.8 | 1 bitcoin-0.21.2 | 1 btrfs-progs-5.16.2 | 1 cryptodev-linux-1.12 | 1 dash-0.5.11.5 | 1 exempi-2.6.1 | 1 frr-8.2.2 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/ubi/ubi.mk:51: /home/aut... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fwts-21.11.00 | 1 glibc-2.34-109-gd64b08d5ba7... | 1 gmp-6.2.1 | 1 google-breakpad-c85eb4a59b6... | 1 gummiboot-2bcd919c681c952eb... | 1 host-gdb-arc-2020.09-releas... | 1 host-google-breakpad-c85eb4... | 1 host-gtest-1.11.0 | 1 host-nodejs-14.18.3 | 1 host-rust-1.60.0 | 1 httping-2.5 | 1 igh-ethercat-1.5.2 | 1 jack2-1.9.20 | 1 libeXosip2-5.3.0 | 1 libgcrypt-1.10.0 | 1 libglib2-2.70.4 | 1 libgpg-error-1.42 | 1 libpri-1.5.0 | 1 libwebsockets-4.3.1 | 1 linux-headers-5.10.104-cip3 | 1 linux-headers-5.10.104-cip3... | 1 linux-pam-1.5.2 | 1 lttng-tools-2.13.2 | 1 neon-0.32.2 | 1 netatalk-3.1.13 | 1 netsurf-3.10 | 1 pixman-0.40.0 | 1 poppler-21.12.0 | 1 rtl8189es-39c17661136da48f8... | 1 sg3_utils-1.47 | 1 valgrind-3.18.1 | 1 wtfutil-0.41.0 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- xtensa | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/07ef6b7c5fab04314712d7ad91e98afa904ec396 | arm | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/0a0fd092a8a0047eabfb3d0da730f3f9dcf7f378 | mipsel | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/f772c691e05d25883447a5859fdbfb01c91cf88f | microblazeel | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/e53a49d046ddfc394353e56c4b0fd7a96b0cb591 | xtensa | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/dfdef9d530aa8b0bada83ded3a39d6e54c3808fd | sparc | argp-standalone-1.4.1 | NOK | http://autobuild.buildroot.net/results/268093a8be35ebdaaa7efc8ae3002b36162defbf | sparc | aubio-0.4.9 | NOK | http://autobuild.buildroot.net/results/0fb63dc574f19855b967634aab8af46c49f943f2 | microblazeel | aufs-util | NOK | http://autobuild.buildroot.net/results/0d375d5a6c5f83138eeb84ca8bc4ace8bb0361d2 | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/e153335f05d00f59b33a8fb963307c9776cf418a | nds32le | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/108b625b2121368efd536ec06976423a1b16ca85 | mips64el | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/aa6524c859927bfacfd9eebac9c4d1957153a1e6 | or1k | btrfs-progs-5.16.2 | NOK | http://autobuild.buildroot.net/results/f95d35b314dc2b84ce9aec0a2a3ed464780e2aa4 | ORPH powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/d09ca343a704cb1d42ed68b05f804f73615f0a37 | powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/b4643b5848f7eb81639db8efbf09b7b02c112e9e | arc | cryptodev-linux-1.12 | NOK | http://autobuild.buildroot.net/results/b6af70618ee63952d88dc92e2e1535ec3752b3a9 | ORPH sh4 | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/bffebe32305d483e7841566dc6b47fc88f1dd029 | sh4 | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/911c358e87c61bdd42cdd14f49c9ae7894ad644f | microblazeel | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/c005f28284bbb1c5f5048b3c9d37cbafba5444b2 | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/e453907e7ff0e9b7e32829ac9149b399eaa9ba02 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/260270dfef157d1eb2b279a304e03aec43f7b66e | mips64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/da7837ba4f7f53bb35e640be8ac30f88687a2ea4 | powerpc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/ea6e1929dba212c8baf45eaf781cb4760b4e03d2 | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/9152a9cb44b199f3edc72819db529e2d53a118a9 | mips | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/afda363adf329db2fe557e199fc294154e532b4e | mips | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/390aac508042a748effdbec4038b68722f43d6a5 | m68k | fs/ubi/ubi.mk:51: /home/aut... | NOK | http://autobuild.buildroot.net/results/a3899855cdc23cec6e0ff415376e6298df65c73c | riscv32 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/c1dbb939ca9811e8ee8e3451916261d457db8886 | mips | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/de70d8edc54e6cd5e6a156917525c1a1b0cf7e17 | mips64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/c5be2082a4c7339b01412b2be54b604daab60115 | x86_64 | fwts-21.11.00 | NOK | http://autobuild.buildroot.net/results/64e320ebd19b271a6b73f6bb264749cc4974f2a4 | mips64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/03ff9587a4415e0ce8a79190cca5314102b01895 | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/293d863bbac9e77522330b831ed07c022ddb646e | x86_64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/c0d68fe00cc5977a4afc0fb06eab49071feb6326 | mips64el | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/59bb0ddeebb8500005477d3ad7e72b28090aff89 | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/cdc16241fb1f554601ad68a14e6e5bb0d8d71a44 | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f45895044c8e2c9b335deabc7ffd1dbff4f5a1d6 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/b0a3f616dcbed263bd68efdd32fd2caf4dcdfbf8 | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/985aa3fbb57c83655a71e8f7b7bcc74feaf7e33b | mipsel | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/c42717fc074f334ac4c39f2f84b5965ab9c5e461 | riscv64 | gmp-6.2.1 | NOK | http://autobuild.buildroot.net/results/43f1a9cf60d5dd3e25178642ec6b04a5f3c04aec | ORPH mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/d1ba0fa3865a67e1665d3a35ce6166e377c8ddbd | i686 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/60bdf0a9a1ee013074bb088bbf1f6d150a9f95d6 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a1573c614b29abcdbb775c283f42a18cc9349670 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6c62a4056d1cbfcae224f6f4cf4b34a32df9c720 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/741ba76114581d7a24444faca9b2521aac0df7fc | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/03a5eac3f585325a2a6cc5684c42922b92508cdb | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/914defca96a82b7c91775d13a3eb1061e21c03a4 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1f506e4b37cec40323826569f8cf67289f2d26d3 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd593101034b581bb0e81402303cb56513d1b97e | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5577055ca471d156b89ddaf8756f819d1839c3af | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/63ad9b869953b90ea2aeaca342b4c832b2ca0b00 | i586 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/79471e93f1647d52043b369c51b7af41bb58014c | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b02b1446b3ed997c3239b60005d49d23cca44ffc | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0717c5d58537779ae68ac63044b355678577e52d | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/12c75b40228403f319d3abc6040dc0807a4e7bfa | nios2 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/9cf3ba8fbab3d00f05a6095ff8f72b40f6696237 | s390x | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/c8f395d3755fae9fd3de9c67ad8780124ad1c38c | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/637caccff42c4ffead15d589e5330f1be9ae2d49 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b020a345b9f3170b09a8fea8e194edfe4d1cb6ef | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/e22838db6690f3e832ba397829c3093bb0d8d03e | arc | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/ff4a1e07be0b440c404d965f97d796bb2d2de06e | ORPH x86_64 | host-google-breakpad-c85eb4... | NOK | http://autobuild.buildroot.net/results/0c2c7171d40647daa15c563747525dadec75217c | mipsel | host-gtest-1.11.0 | NOK | http://autobuild.buildroot.net/results/e2f12226b77976db6ff15a9a3833a9e2d69ac281 | riscv64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/4dc577d90fd3dfde94d119dc80c51cb14a61f794 | i586 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/1c6027d9f5542578f1a668e0d2fa6fe55e8a26e0 | mips64el | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/282d447e093ab1f8cbe6efd55402c39fc6ee39a1 | microblazeel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/4e7b0b133683e8332bfa011e0444a4bf175a545b | arm | host-pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/ecf790b334c73dad6d485cacf9509a02528b2296 | ORPH arm | host-pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/a02540e899eb42ade9d8ce0919f559e5239d1b89 | ORPH powerpc64le | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/5ee1bfb03acfd68817a19ac04e7a6d46af3d519c | mips64el | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/bb19152276576b333d362020e8cd55553d1c3f55 | arc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/5677827bd429f5af09246dc4f544fa9312d3191a | aarch64_be | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/0952a091ac8b91c337f8ea1c6c88377cb10a0f5f | s390x | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/c0257ee04c2e209afad38e106580717f256628aa | mipsel | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/3f1bfdcb2d0a14660bc99338e07fd9d8043b0e14 | mipsel | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/2e62797e46426500717ce3fe864ec5e9dfcecf10 | mips | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/5c3f9d62c1b6c7824881be0c0bd9446ada3675c3 | powerpc64le | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/97a5aa5f9e7b3e42bb3a4341cd623975ab569c23 | powerpc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/0160cb9efc599b5c2f88f60b3fa86c80a0121461 | aarch64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/67652ebdd13199d60778d5361f6223e3398cb575 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/a99bb6ff7b007045705ed5b0de8ec1682a8de745 | powerpc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/1e0a71fbff63ad22eb3cbc97a95554b547ec7e1a | or1k | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/774be482a06f409f077d07427350a5edb715fd32 | or1k | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/e4120bb2b984fac4dafc4ed21a1adaf1b6e0ad2b | arc | httping-2.5 | NOK | http://autobuild.buildroot.net/results/6dd47b475e371abd656f950bb0b9f71990f02a36 | armeb | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/7a7f3bc7c1015da317d3dd904cb227713299d1a1 | m68k | jack2-1.9.20 | NOK | http://autobuild.buildroot.net/results/632ee71fff53355142e083d3772777a03a299713 | microblaze | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/4638dd1c09326b608e24b3a2d2a52b89103ec7fa | powerpc64le | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/9f576f172f7f28edad4ec0f24d33c38a69aed28a | ORPH arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/e44a087e05b06e5da05a19af95ce5682227ee9ba | aarch64 | libgpg-error-1.42 | NOK | http://autobuild.buildroot.net/results/ad061b82ca92ec540b55d357151dd0ec4a316d38 | ORPH powerpc64le | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/f4204755540e2b2a4e9422fe98def76fff306d5a | powerpc64le | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/d865100c1abdb1e4ac22320b8ac23c11b9a73674 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/8beaf34b961a3c80ffdf11cd6b44a7195e16a4ab | sh4eb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e8c17a8aa9641b0ea29b29f765a334231ad94309 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/90d8f7be3ab3039aab71a9338368bdb7bbf764cd | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cb935aca4895a3dbc85994551d06e2a717c07a8a | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/dd5ffe61543756dae26b991900e17d7dd9b13b1f | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e3224643a0c183a808e987886ae3e3041295d38c | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/b6a0fc1c9fa69154d13974acd8ba6d1a1b3bfe4b | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/271bd295b8815e576e74e5e6432375bbe7ff76dc | aarch64_be | libpri-1.5.0 | NOK | http://autobuild.buildroot.net/results/1217922af3a72646ae242c2c4dec22ead7883b91 | mipsel | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/82b4702b7e0a721e8b592c1603271fa1e05ed4c9 | ORPH x86_64 | libressl-3.4.3 | NOK | http://autobuild.buildroot.net/results/fe3a2600299afc76a58fb8b11285e4fd7e9045a2 | ORPH m68k | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/c598aafdf3acf219d973e4680d0da3fc3b4a79db | ORPH mips64 | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/3125f7bae5666d3ca483dd388dcc9e83ea18af80 | ORPH arceb | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/c8a0d87dca957db07393c8400a4cc919cb7da324 | ORPH sparc64 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/f3d1535590bf26292a9256f985542cfa82c5bc06 | arm | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/e46cab5d9638324d9976095fdf31d39e53c8d5be | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/a421edda89a7411263bb04384566abc3e2e88d56 | ORPH m68k | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/f454f964f0820a8d75d1783e4e0fbb63ec0526e1 | ORPH aarch64_be | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/f6397350c604f373b97c58bc427f35c773c2dfc9 | ORPH sparc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/4ee90f59ef4518aca1b1d9418238e1ddff0dc78b | ORPH xtensa | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/6ce51e4b30b38cf3cb4b96fafabc235230a0a1a7 | ORPH mips | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/292f04c650e28e568627cf1eae94c5e44dc827c4 | ORPH powerpc64le | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/b793b07c85b61448cf61700e28c45ae3c9d598f4 | ORPH arm | linux-pam-1.5.2 | NOK | http://autobuild.buildroot.net/results/d951bb7218e95b2d66b0d10137f471e424075b82 | ORPH powerpc | lttng-tools-2.13.2 | NOK | http://autobuild.buildroot.net/results/ee62a6670360cd0e5bf107d8017d0e22f5530f9b | riscv64 | neon-0.32.2 | NOK | http://autobuild.buildroot.net/results/b763022d7625d950a04599f4fc7e06a2774ebb0f | ORPH s390x | netatalk-3.1.13 | NOK | http://autobuild.buildroot.net/results/45bcc9538467678aef245b6a7e0e4c1901cb076b | ORPH mips64 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/bcbe8b4cc1de94e2743c178433b4da9cb4385cb2 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f4c7a3820a6dc7ad2100c11275516511eb8b0764 | nios2 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4d6e169159ebf3c4851369dcac26b7f0b57b8ea6 | mipsel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/99a8a0e590893cbc82c5c7dd4b01a4825620e70e | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/ff84f6fd90e784fdbdc5e49438bb4058d1ce2738 | mips64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6d79a74ef127b17310a77235c990ce451ba0159e | mipsel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/66ab96490d9f0cc604e3fb3de741176193d5109e | xtensa | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/abe1e67618747e832e94e60efbf382e58b65ca81 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/54b7ad24c126d83c2679cdc6686ceb951cd13a40 | arceb | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/86216f69a0b23895fb178abdd8945a2e0d3573a9 | powerpc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/c1362dad4fc1ff5808feeed9fa6d0162f4a1d3f4 | nios2 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/5d2f364877f9441dc4aab0b3780c4ec0d0d43be4 | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/73cda570a4c935574f648dd69dff4f19efedf498 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/baa986beb3a48e4f6869e2e6a3e3b6ea57ea06a8 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/3b4a92d957052169213c6dcfd0526f2cabd7559e | aarch64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/dfa8b3d197a87812fcd405fe8942f03fffbf96bd | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1522897dba362acae306d1773fef3d5783d17718 | arm | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/28659c0c4d6bac86b4bbce8d54b139ca4147615d | microblaze | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/a72f89b420d8f72f971f43807c3fec030f32c357 | or1k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/587cd7fd56ec22021320b46278532ace1cc229f3 | powerpc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/28d9a918d9d5fd3d07372fc8123ff0ca5d1232fb | arm | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/1a0a90d73804fc2a655756696b3b2c0f2dc5979d | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/6ed2f767f792bfb968a84a528ab30895a664387a | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/2367687ac354e3ac82d06b43821b49224f4f96cd | sh4 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/2d64d06ede6a3b00c289e023745fb7e64315edce | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/af74b8487a09493563340fad4519828147f04f7d | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f7956830b4ebce6363f395561533d0a460581330 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/173d77c725f2407a1ffa7f83289ca9a6d4c53897 | aarch64_be | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/311667f70b280d4a81df13732bcfbab0f5208904 | s390x | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/63bdf41acfa4d92a966f1f288a7dcb0a221706d6 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f46cf8c6010c4f8abdd06b02da5eb85fcd6aa0d6 | mips64el | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/b90da3a761d9ab2a554075cd5767534638e48347 | riscv32 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/e88b0945fd58ed38f3d30b2631a4d78396b3fda5 | sparc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/4b0dba7ccbbeaa7d5de21a40332ae9a75958b9b6 | arceb | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/d58da5099a0ba89c272bf1c5484254e0c0ebf81a | arc | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/e983182fefa7e7a5efdfa9b87d81938e50a99820 | m68k | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/f5ef307c896c1161d99a4b868e0fa948ba3fe79f | microblazeel | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/de923181db32aef2f0b1d88abfd728df92479fc2 | riscv64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/bc305ba2e913c7b3bf9c39466cf2ef2b4425fa97 | sh4 | package/pcre2/pcre2.mk:34: ... | NOK | http://autobuild.buildroot.net/results/7e5a264c32cf3a5b0e3e3219efcc62b5fb92d1b1 | armeb | package/pcre2/pcre2.mk:34: ... | NOK | http://autobuild.buildroot.net/results/0b85e8d3044af00083146b427d31881efaa229e6 | microblazeel | package/pcre2/pcre2.mk:34: ... | NOK | http://autobuild.buildroot.net/results/3bfc8109b7e73028027f6b4303ed97e78fd6b4ea | mipsel | package/pcre2/pcre2.mk:34: ... | NOK | http://autobuild.buildroot.net/results/ab19c2c24429eedb0f20d4eeae87bd87d74c5da0 | arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/fb8e8c43e6522f1da75304c8c514f19722b4a720 | ORPH riscv32 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/0845ddd8aec8d006a32874547d3b9a6c6510f96b | ORPH aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/75076640ed780ad04b757389ac77257dbce075de | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/92d03eee9c66932535f5420ef3488eadca013e81 | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/974bcd3e339b298127792df8447c8c2eb5fd4da5 | ORPH m68k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/4e372b6a01ba17c91124cdea40921e16b5af3b7a | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/85c5df647517000ff57168310e9cf3c18057ec95 | ORPH arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/c55c2d386229c2a34d5c76353e7a520b19a861f3 | ORPH arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/33a8a85dfcf0d152bc83fcf3b4475f0051c553fe | ORPH riscv32 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/b38bc5051072a0366d700415905931089e2e5eae | ORPH arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/0ec247bb2298408d6df118ef7fa4c5fb758608c6 | ORPH i586 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/359bb2256d90ddb6e40691a12f3fc3b707c111ab | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/270ab01bdc1c039f9d9dd375ab5d40fc5f3ed9f9 | ORPH nios2 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/a3e6f778340088b87f087403566a32b5b61b18ef | ORPH mips64el | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/3d7ae528d4212e47c9933f92e65dcc7d75302998 | ORPH or1k | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/5610577acdd698810aaaf6d9bb8b89c799426c36 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/b31a8d340f2712f591574b6ecba3dce3c39747e2 | ORPH riscv64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/8a663aea42a282c83955afb9ee407f01d6da17a0 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/da0384077d96307d0f71c24aa998ec2c71abf8a9 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/703ab60bc1aa79cdf2b509d3d90b728673dd00e7 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/7a2731e59377110817c69f6935fef0aa2150ef95 | ORPH powerpc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/fb8433544d658010cc3fff4f43cd29f9d6270a66 | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/6f46ad1019d0520dfe044840e5121ad403d37426 | ORPH x86_64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/14953e61e6e2a2c8f3e00d3194609beb8f889cb5 | ORPH riscv64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/14475c3c6e039b563445752d365b9b46041cb37a | ORPH arm | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/f187febf0687f5136c06c58bcb90371c1afbfead | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/aebe40cab7b86927c8fcd2f839145a60ab6aafaa | ORPH mipsel | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/a8fd8098f267cb3f2a5f80be5a6365e7fc393324 | ORPH arc | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/d3250a0a65ff8f40e7825d8219764c6a4b2334be | ORPH x86_64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/0453c9572b7f46105ea4877cc43bfa43e6160be3 | ORPH arm | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/a0f72a5da469c4042deab3eb83538ba065bdd303 | x86_64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/7759525f16cc280222034ef808e8799834f8be87 | aarch64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/ca4d3aa3a16d65f51bb9d55e4a5b740006574fd3 | microblazeel | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/332b1358eaa06e4796ee72051563856f0542e13d | powerpc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/c2e0efa9d50aa0b801b5ee1251fbb75c768f32d7 | sh4aeb | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/9254f76969d40eb5ae3e2dcc402ae5a718ab39b4 | xtensa | poppler-21.12.0 | NOK | http://autobuild.buildroot.net/results/1e8b3f2db95a8019e09f71de14318fac643ef6a5 | mipsel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/239a77711594efef66734d61f00dfed22204c282 | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/3f73457070f9eb6ee8beecc9fbd5a3a7463679b3 | microblazeel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d07fad36875ef9cfcb34c68ff04f3db81af39eb1 | powerpc64le | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/c926e9f419ebcb17cfcf21aedad35ed22d6b6f3a | aarch64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/dbaca9603b44373e1b59606e5d03fac6e3db3148 | s390x | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/42161ec3c355e9aaa645059d9b6b2f651fab0954 | s390x | refpolicy | NOK | http://autobuild.buildroot.net/results/6fd6c1c1d007cb78c3763d5e5bc185140042671d | sparc64 | refpolicy | NOK | http://autobuild.buildroot.net/results/6bc9a8b5428b0f73c57ce462faee38d38cd6babe | sparc64 | refpolicy | NOK | http://autobuild.buildroot.net/results/50e29f614140d07a8190aaf2d038de1adbd71ad9 | mips64 | refpolicy | NOK | http://autobuild.buildroot.net/results/4aaa3b28a320c775a0e37b764bcc9b9b27ed2c3e | arceb | rtl8189es-39c17661136da48f8... | NOK | http://autobuild.buildroot.net/results/415ae1934091833b23d5d342ad815c6d927da0e0 | m68k | sg3_utils-1.47 | NOK | http://autobuild.buildroot.net/results/3699a2457b7a2565fd8452b1e2a13c727b0aeecb | mips64el | sudo-1.9.8p2 | NOK | http://autobuild.buildroot.net/results/b13630c860e1df3e1bdd0712c4b232f6ed7a17b1 | ORPH mips64el | sudo-1.9.8p2 | NOK | http://autobuild.buildroot.net/results/fcf85b3838c6c58d2cdaa8a8dbbac5d495e3597d | ORPH xtensa | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/c63137c11589a18ee2df8a77b9bcfbce05732f68 | mipsel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/b09f3be064349f971af8c35cc5926066e512a8d6 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/08cf3bb9a969275df0c694a4a42fcdeed714b7e0 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/26f306f1efcaf9a8f617e83d2bbd263eaf9702e3 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/aad0984d6feac9a63ee4d4dcab359f27ee0a79c7 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1c0ef90c5247255a553ccad278fdb1a31b9392ba | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a716cfa1795d83e4e1298feff3edba40b75b1c81 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0cc1df1963441222a47175a1c6c2dd15c6fb8603 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/66ed3d2144bff57bcfb1b3ee1309eab2775593b5 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/ad452abb4d30c2969a26cc0be3a972490f007faf | s390x | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/12f9b7d1c58db5872d23565bfb9c2306ef05c7dc | riscv32 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/933a7b70b6b70bea726de24c935a2f6d1702643c | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/9520854ef3eff56918030d9db7e92366bf4ddf4a | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/8b2249f21093249d9bb949ec4ee4d77d2b9af087 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/78811dc782777e27542c6528adb9d62abbbae114 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/1302db080c8b994e56d42606097b4139d6a933aa | powerpc | valgrind-3.18.1 | NOK | http://autobuild.buildroot.net/results/792a32456c53fd8b546655db4dee35ce73fc7e81 | ORPH s390x | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/ed67d4a73de0d9860d711785c1f5ad4211bd960e | riscv64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/e430c18de6aad077bea29516bb266ee6cae38371 | x86_64 | wtfutil-0.41.0 | NOK | http://autobuild.buildroot.net/results/bc8fd1ce9c345d3edb83010950bb1ce9734591ec | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b45018863e87da560bf2cf81884ed52ee1f6ae0e | riscv64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9bdaa579cc583fe8572b63bf6c26491b17221a2c | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9e16adb42cefc10132b1fea2423e218492b023ec | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b15dd571fe61a83f3a2780b2352904446b1f223c | armeb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/e884c3c46cdb57c5c18a75f16828d0c11418b599 | mips | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/26aa8eebc4264d24d8dfd36214f3fa021b614e30 | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/7121387555767f32f18a51633cdc2916aeaf7a70 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/b46ce4ffca38e59ede32f40bf3dd33e00031dfc7 | riscv64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9b0b3d7616f14a5985f0db4626ff8d730d66c184 | arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/8d1f4e0042e9302fd187b84147a4a21ba2b2135a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/b7e774d88af5baf8b98de6a7931abfab03ae68db | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1f4b0cdf8ca7eedd2683f9b67e82a8224ba49862 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e41df7b9c1728f487e21672a1218a624c063e173 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/d1785889736a7630b17f5e28b60709080e5da6d2 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/537d2aba0263a15e63b0398fe6e9a8dba196a02d | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- host-harfbuzz-3.3.2 | 1 libuwsc | 1 tvheadend-1295dd2be863f5beb... | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | host-harfbuzz-3.3.2 | NOK | http://autobuild.buildroot.net/results/d6b04acc98b596a0f591e0dbd7fc7d068072cad1 | arc | libuwsc | TIM | http://autobuild.buildroot.net/results/e1680bc985f318ef03203b55e97fc2ea1b0e4340 | x86_64 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/b7a1f04c641469020e77231736984cda76ded126 | Gitlab CI results for 2022-04-25 ================================ Detail of runtime-test failures for master ------------------------------------------ runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestInitSystemNone | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370858810 | ORPH TestIso9660Grub2Hybrid | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370858749 | ORPH TestLibshdata | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370858944 | ORPH TestLxc | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859087 | ORPH TestPythonAvro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859192 | ORPH TestPythonPy3Boto3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859200 | ORPH TestPythonPy3Botocore | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859204 | ORPH TestPythonPy3Can | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859207 | ORPH TestPythonPy3Flask | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859230 | ORPH TestPythonPy3Txtorcon | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859293 | ORPH TestRust | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859311 | ORPH TestTmux | https://gitlab.com/buildroot.org/buildroot/-/jobs/2370859330 | ORPH -- http://autobuild.buildroot.net From salvador.joseluis at gmail.com Tue Apr 26 11:30:09 2022 From: salvador.joseluis at gmail.com (=?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=) Date: Tue, 26 Apr 2022 13:30:09 +0200 Subject: [Buildroot] [PATCH 1/2] package/zfs: refactor test cases Message-ID: <20220426113010.1463133-1-salvador.joseluis@gmail.com> Patch title: package/zfs: refactor test cases Signed-off-by: Jos? Luis Salvador Rufo --- These patch series refactor the test case and add musl toolchain. Here is the first one, that only refactor the current zfs test cases. support/testing/tests/package/test_zfs.py | 62 ++++------------------- 1 file changed, 10 insertions(+), 52 deletions(-) diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py index 706934ca65..1cc030e78c 100644 --- a/support/testing/tests/package/test_zfs.py +++ b/support/testing/tests/package/test_zfs.py @@ -3,13 +3,12 @@ import os import infra.basetest -class TestZfsGlibc(infra.basetest.BRTest): +class TestZfsBase(infra.basetest.BRTest): config = \ """ BR2_x86_64=y BR2_x86_corei7=y BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y @@ -60,58 +59,17 @@ class TestZfsGlibc(infra.basetest.BRTest): self.assertRunOk(cmd) -class TestZfsUclibc(infra.basetest.BRTest): - config = \ +class TestZfsGlibc(TestZfsBase): + config = TestZfsBase.config + \ + """ + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y + """ + + +class TestZfsUclibc(TestZfsBase): + config = TestZfsBase.config + \ """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y - BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35" - BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y - BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" - BR2_PACKAGE_ZFS=y - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CFFI=y - BR2_PACKAGE_PYTHON_SETUPTOOLS=y - BR2_PACKAGE_ZLIB_NG=y - BR2_PACKAGE_LIBRESSL=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set """ - def test_run(self): - kernel = os.path.join(self.builddir, "images", "bzImage") - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot( - arch="x86_64", - kernel=kernel, - kernel_cmdline=["console=ttyS0"], - options=["-cpu", "Nehalem", "-m", "320", "-initrd", cpio_file], - ) - self.emulator.login() - cmds = [ - # Init - "modprobe zfs", - "mount -o remount,size=132M /tmp", - "fallocate -l 64M /tmp/container1.raw", - "fallocate -l 64M /tmp/container2.raw", - "zpool create -m /pool pool raidz /tmp/container1.raw /tmp/container2.raw", - "dd if=/dev/urandom bs=1M count=8 of=/pool/urandom", - "sha256sum /pool/urandom > /tmp/urandom.sha256", - # Check ZFS - "zpool export pool", - "zpool import pool -d /tmp/container1.raw -d /tmp/container2.raw", - "dd conv=notrunc bs=1M count=32 seek=16 if=/dev/urandom of=/tmp/container1.raw", - "zpool scrub -w pool", - "sha256sum -c /tmp/urandom.sha256", - "zpool status -v", - # Check PyZFS - "arc_summary", - ] - for cmd in cmds: - self.assertRunOk(cmd) -- 2.36.0 From salvador.joseluis at gmail.com Tue Apr 26 11:30:10 2022 From: salvador.joseluis at gmail.com (=?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=) Date: Tue, 26 Apr 2022 13:30:10 +0200 Subject: [Buildroot] [PATCH 2/2] package/zfs: add test case for musl toolchain In-Reply-To: <20220426113010.1463133-1-salvador.joseluis@gmail.com> References: <20220426113010.1463133-1-salvador.joseluis@gmail.com> Message-ID: <20220426113010.1463133-2-salvador.joseluis@gmail.com> Patch title: package/zfs: add test case for musl toolchain Signed-off-by: Jos? Luis Salvador Rufo --- These patch series refactor the test case and add musl toolchain. Here is second one, that add the musl toolchain test case. support/testing/tests/package/test_zfs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py index 1cc030e78c..8911dcfd9e 100644 --- a/support/testing/tests/package/test_zfs.py +++ b/support/testing/tests/package/test_zfs.py @@ -73,3 +73,8 @@ class TestZfsUclibc(TestZfsBase): """ +class TestZfsMusl(TestZfsBase): + config = TestZfsBase.config + \ + """ + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE=y + """ -- 2.36.0 From salvador.joseluis at gmail.com Tue Apr 26 13:28:34 2022 From: salvador.joseluis at gmail.com (=?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=) Date: Tue, 26 Apr 2022 15:28:34 +0200 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils Message-ID: <20220426132833.1579873-1-salvador.joseluis@gmail.com> Patch title: docs/manual/prerequisite.txt: add diffutils The command `cmp` is used by `package/pkg-generic.mk` at commit 8623cc5deb5. This command is provided by `diffutils`. Signed-off-by: Jos? Luis Salvador Rufo --- docs/manual/prerequisite.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/manual/prerequisite.txt b/docs/manual/prerequisite.txt index 40071491f8..763fe79041 100644 --- a/docs/manual/prerequisite.txt +++ b/docs/manual/prerequisite.txt @@ -23,6 +23,7 @@ between distributions). ** +make+ (version 3.81 or any later) ** +binutils+ ** +build-essential+ (only for Debian based systems) +** +diffutils+ ** +gcc+ (version 4.8 or any later) ** `g++` (version 4.8 or any later) ** +bash+ -- 2.36.0 From thomas.perrot at bootlin.com Tue Apr 26 14:00:08 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Tue, 26 Apr 2022 16:00:08 +0200 Subject: [Buildroot] [PATCH] package/imx-mkimage: install print_fit_hab.sh Message-ID: <20220426140008.281259-1-thomas.perrot@bootlin.com> This script gives the address, the offset and the size of binaries have been stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. Signed-off-by: Thomas Perrot --- ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 +++++++++++++++++++ package/imx-mkimage/imx-mkimage.mk | 1 + 2 files changed, 62 insertions(+) create mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch new file mode 100644 index 000000000000..7ad9573b6441 --- /dev/null +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch @@ -0,0 +1,61 @@ +From ff3204addcf737b7285a0c44eb0a34c9ca82be4e Mon Sep 17 00:00:00 2001 +From: Thomas Perrot +Date: Tue, 26 Apr 2022 15:10:04 +0200 +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 + +Signed-off-by: Thomas Perrot +--- + iMX8M/print_fit_hab.sh | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh +index b915115d1ecc..9e025b78c04d 100755 +--- a/iMX8M/print_fit_hab.sh ++++ b/iMX8M/print_fit_hab.sh +@@ -1,12 +1,16 @@ + #!/bin/bash + +-BL32="tee.bin" +- + let fit_off=$1 + + # keep backward compatibility + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" + ++[ -z "$BL31" ] && BL33="bl31.bin" ++ ++[ -z "$BL32" ] && BL32="tee.bin" ++ ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" ++ + if [ -z "$ATF_LOAD_ADDR" ]; then + echo "ERROR: BL31 load address is not set" >&2 + exit 0 +@@ -26,7 +30,7 @@ else + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) + fi + +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') + let uboot_load_addr=0x40200000 + + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) +@@ -64,13 +68,13 @@ done + + let atf_sign_off=$((last_sign_off)) + let atf_load_addr=$ATF_LOAD_ADDR +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') + + if [ ! -f $BL32 ]; then + let tee_size=0x0 + let tee_sign_off=$((atf_sign_off + atf_size)) + else +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') + + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) + let tee_load_addr=$TEE_LOAD_ADDR +-- +2.35.1 + diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 17ba3596f752..b88be0ca6441 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -21,6 +21,7 @@ endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else # i.MX8 and i.MX8X -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 15:37:24 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 17:37:24 +0200 Subject: [Buildroot] [PATCH 2/3] package/binutils: re-enable recent versions of binutils for FLAT binaries In-Reply-To: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> References: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> Message-ID: <20220426153726.312870-2-thomas.petazzoni@bootlin.com> Thanks to the bump of elf2flt to version 2021.08, the issue with recent versions of binutils has been fixed, so we can re-enable using the recent binutils versions. Signed-off-by: Thomas Petazzoni --- package/binutils/Config.in.host | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index e639c67149..4382b32237 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,21 +19,12 @@ config BR2_BINUTILS_VERSION_2_32_X config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_37_X bool "binutils 2.37" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_38_X bool "binutils 2.38" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 15:37:23 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 17:37:23 +0200 Subject: [Buildroot] [PATCH 1/3] package/elf2flt: update to version 2021.08 Message-ID: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> It contains several fixes and improvements compared to our current version, and two of our patches have been accepted upstream. Most notably, it fixes the issue we had in using elf2flt with recent versions of binutils (upstream commit ba379d08bb78c9300e84351c11080c26ddcc36b3). Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d The other two patches are refreshed to apply properly on 2021.08. Signed-off-by: Thomas Petazzoni --- ...> 0001-elf2flt-handle-binutils-2.34.patch} | 80 ++++---- ...e-properly-when-called-with-a-name-d.patch | 79 -------- ...2-elf2flt-add-riscv-64-bits-support.patch} | 40 ++-- ...-add-new-relocation-types-for-xtensa.patch | 188 ------------------ package/elf2flt/elf2flt.hash | 2 +- package/elf2flt/elf2flt.mk | 4 +- 6 files changed, 59 insertions(+), 334 deletions(-) rename package/elf2flt/{0003-elf2flt-handle-binutils-2.34.patch => 0001-elf2flt-handle-binutils-2.34.patch} (88%) delete mode 100644 package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch rename package/elf2flt/{0004-elf2flt-add-riscv-64-bits-support.patch => 0002-elf2flt-add-riscv-64-bits-support.patch} (82%) delete mode 100644 package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch similarity index 88% rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch index 16d5633385..ba72afa85c 100644 --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch @@ -1,7 +1,7 @@ -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 5 Feb 2020 10:31:32 +0100 -Subject: [PATCH] elf2flt: handle binutils >= 2.34 +Subject: [PATCH 1/2] elf2flt: handle binutils >= 2.34 The latest Binutils release (2.34) is not compatible with elf2flt due to a change in bfd_section_* macros [1]. The issue has been reported @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/configure.ac b/configure.ac -index e82eb1d..cf7dea8 100644 +index b7db2cb..fdc0876 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 CFLAGS="-Wall $CFLAGS" if test "$werror" = 1 ; then diff --git a/elf2flt.c b/elf2flt.c -index b93aecd..3bcf4fe 100644 +index 7ac0617..ea6b5a1 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -149,6 +149,17 @@ const char *elf2flt_progname; @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 if (verbose) printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", -@@ -442,7 +451,7 @@ output_relocs ( +@@ -443,7 +452,7 @@ output_relocs ( continue; if (verbose) printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 if ((r->flags & SEC_RELOC) == 0) continue; relsize = bfd_get_reloc_upper_bound(rel_bfd, r); -@@ -694,7 +703,7 @@ output_relocs ( +@@ -695,7 +704,7 @@ output_relocs ( case R_BFIN_RIMM16: case R_BFIN_LUIMM16: case R_BFIN_HUIMM16: @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -727,7 +736,7 @@ output_relocs ( +@@ -728,7 +737,7 @@ output_relocs ( break; case R_BFIN_BYTE4_DATA: @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -885,7 +894,7 @@ output_relocs ( +@@ -886,7 +895,7 @@ output_relocs ( #if defined(TARGET_m68k) case R_68K_32: relocation_needed = 1; @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_68K_PC16: -@@ -910,7 +919,7 @@ output_relocs ( +@@ -911,7 +920,7 @@ output_relocs ( q->address, sym_addr, (*p)->howto->rightshift, *(uint32_t *)r_mem); @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_ARM_GOT32: -@@ -938,7 +947,7 @@ output_relocs ( +@@ -939,7 +948,7 @@ output_relocs ( #ifdef TARGET_v850 case R_V850_ABS32: relocation_needed = 1; @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_V850_ZDA_16_16_OFFSET: -@@ -960,7 +969,7 @@ output_relocs ( +@@ -961,7 +970,7 @@ output_relocs ( sym_addr = (*(q->sym_ptr_ptr))->value; q->address -= 1; r_mem -= 1; /* tracks q->address */ @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= (*(unsigned char *)r_mem<<24); break; -@@ -973,7 +982,7 @@ output_relocs ( +@@ -974,7 +983,7 @@ output_relocs ( /* Absolute symbol done not relocation */ relocation_needed = !bfd_is_abs_section(sym_section); sym_addr = (*(q->sym_ptr_ptr))->value; @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_DIR32: -@@ -986,7 +995,7 @@ output_relocs ( +@@ -987,7 +996,7 @@ output_relocs ( } relocation_needed = 1; sym_addr = (*(q->sym_ptr_ptr))->value; @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_PCREL16: -@@ -1012,7 +1021,7 @@ output_relocs ( +@@ -1013,7 +1022,7 @@ output_relocs ( #ifdef TARGET_microblaze case R_MICROBLAZE_64: /* work out the relocation */ @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* Write relocated pointer back */ r_mem[2] = (sym_addr >> 24) & 0xff; -@@ -1026,7 +1035,7 @@ output_relocs ( +@@ -1027,7 +1036,7 @@ output_relocs ( pflags = 0x80000000; break; case R_MICROBLAZE_32: @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; relocation_needed = 1; break; -@@ -1058,7 +1067,7 @@ output_relocs ( +@@ -1059,7 +1068,7 @@ output_relocs ( case R_NIOS2_BFD_RELOC_32: relocation_needed = 1; pflags = (FLAT_NIOS2_R_32 << 28); @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* modify target, in target order */ *(unsigned long *)r_mem = htoniosl(sym_addr); -@@ -1068,7 +1077,7 @@ output_relocs ( +@@ -1069,7 +1078,7 @@ output_relocs ( unsigned long exist_val; relocation_needed = 1; pflags = (FLAT_NIOS2_R_CALL26 << 28); - sym_vma = bfd_section_vma(abs_bfd, sym_section); + sym_vma = elf2flt_bfd_section_vma(sym_section); sym_addr += sym_vma + q->addend; - + /* modify target, in target order */ -@@ -1099,7 +1108,7 @@ output_relocs ( +@@ -1100,7 +1109,7 @@ output_relocs ( ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; pflags <<= 28; - + - sym_vma = bfd_section_vma(abs_bfd, sym_section); -+ sym_vma = elf2flt_bfd_section_vma(sym_section); ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); sym_addr += sym_vma + q->addend; /* modify high 16 bits, in target order */ -@@ -1132,7 +1141,7 @@ output_relocs ( +@@ -1133,7 +1142,7 @@ output_relocs ( goto NIOS2_RELOC_ERR; } /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); sym_addr += sym_vma + q->addend; sym_addr -= gp; -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: case R_SPARC_32: case R_SPARC_UA32: relocation_needed = 1; @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SPARC_PC22: -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: case R_SPARC_HI22: relocation_needed = 1; pflags = 0x80000000; @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= ( htonl(*(uint32_t *)r_mem) -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: case R_SPARC_LO10: relocation_needed = 1; pflags = 0x40000000; @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr &= 0x000003ff; sym_addr |= ( -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: #ifdef TARGET_sh case R_SH_DIR32: relocation_needed = 1; @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SH_REL32: -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: case R_E1_CONST31: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: DBG_E1("Handling Reloc \n"); DIS29_RELOCATION: relocation_needed = 1; @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: case R_E1_IMM32: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: case R_E1_WORD: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: } sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 /* -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) } else continue; @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 if (sec_vma < *vma) { if (*len > 0) -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_CODE) +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) + (SEC_DATA | SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, text + (s->vma - text_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 { fatal("read error section %s", s->name); } -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_DATA) +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) + (SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, data + (s->vma - data_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 fatal("read error section %s", s->name); } -- -2.25.4 +2.35.1 diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch deleted file mode 100644 index a27c4913fb..0000000000 --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 13 Aug 2017 16:03:20 +0200 -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different - from TARGET_ALIAS - -ld-elf2flt currently handles two cases: - - 1 It is called as the wrapper for -ld, generally - installed in the bin/ directory of a toolchain. - - 2 It is called as the wrapper for "ld", generally installed in the - TARGET_ALIAS/bin/ directory of a toolchain. - -Unfortunately, if for some reason it gets called using a FOOBAR-ld -name that is different from -ld, it assumes it is in -case (2), while it really is in case (1). Due to this, the path -mangling logic doesn't work, and it doesn't find ld.real. - -This happens for example when the binary program in bin/ is named -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink -named arm-linux-ld. In this case, -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as -containing TARGET_ALIAS, and therefore the proper logic to find -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt -doesn't find TARGET_ALIAS, and therefore assumes we're being called as -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in -bin/, which doesn't exist. - -See: - -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -$ ./output/host/bin/arm-linux-ld -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory - -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -This commit fixes that by inverting the logic: if we're being called -as just "ld", then we assume it's the program in -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of -TARGET-ld. - -Signed-off-by: Thomas Petazzoni -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 ---- - ld-elf2flt.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index de39fe0..c187c2e 100644 ---- a/ld-elf2flt.c -+++ b/ld-elf2flt.c -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) - the host while those in /lib are for the target. - Make bindir point to the bin dir for bin/-foo. - Make tooldir point to the bin dir for /bin/foo. */ -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); -+ if (streqn(elf2flt_progname, "ld")) { -+ tmp = concat(argv0_dir, "../../bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- tooldir = concat(tmp, "/", NULL); -+ bindir = concat(tmp, "/", NULL); - } - } else { -- tmp = concat(argv0_dir, "../../bin", NULL); -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- bindir = concat(tmp, "/", NULL); -+ tooldir = concat(tmp, "/", NULL); - } - } - --- -2.9.4 - diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch similarity index 82% rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch index 4b00758446..e81c33a5b0 100644 --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch @@ -1,7 +1,7 @@ -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Wed, 9 Sep 2020 17:31:33 +0900 -Subject: [PATCH] elf2flt: add riscv 64-bits support +Subject: [PATCH 2/2] elf2flt: add riscv 64-bits support Add support for riscv 64bits ISA by defining the relocation types R_RISCV_32_PCREL, R_RISCV_ADD32, R_RISCV_SUB32, R_RISCV_32 and @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . Signed-off-by: Damien Le Moal --- elf2flt.c | 23 +++++++++++++++++++++++ - elf2flt.ld.in | 9 +++++---- + elf2flt.ld.in | 1 + ld-elf2flt.c | 16 ++++++++++++++++ - 3 files changed, 44 insertions(+), 4 deletions(-) + 3 files changed, 40 insertions(+) diff --git a/elf2flt.c b/elf2flt.c -index f87f1fc..dbce467 100644 +index ea6b5a1..7100c20 100644 --- a/elf2flt.c +++ b/elf2flt.c -@@ -80,6 +80,8 @@ const char *elf2flt_progname; +@@ -81,6 +81,8 @@ const char *elf2flt_progname; #include #elif defined(TARGET_xtensa) #include @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 #endif #if defined(__MINGW32__) -@@ -122,6 +124,8 @@ const char *elf2flt_progname; +@@ -123,6 +125,8 @@ const char *elf2flt_progname; #define ARCH "nios2" #elif defined(TARGET_xtensa) #define ARCH "xtensa" @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 #else #error "Don't know how to support your CPU architecture??" #endif -@@ -797,6 +801,16 @@ output_relocs ( +@@ -821,6 +825,16 @@ output_relocs ( goto good_32bit_resolved_reloc; default: goto bad_resolved_reloc; @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 #else default: /* The default is to assume that the -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) if (!load_to_ram && !pfile) load_to_ram = 1; @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 if (pfile) { diff --git a/elf2flt.ld.in b/elf2flt.ld.in -index ec1fe6f..c0c44b8 100644 +index 0df999d..f1eed1f 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) . = ALIGN(0x20) ; LONG(-1) . = ALIGN(0x20) ; --R_RODAT *(.rodata) --R_RODAT *(.rodata1) --R_RODAT *(.rodata.*) --R_RODAT *(.gnu.linkonce.r*) +RISCV_GP: __global_pointer$ = . + 0x800 ; -+R_RODAT *(.rodata) -+R_RODAT *(.rodata1) -+R_RODAT *(.rodata.*) -+R_RODAT *(.gnu.linkonce.r*) - *(.data) - *(.data1) - *(.data.*) + R_RODAT: *(.rodata) + R_RODAT: *(.rodata1) + R_RODAT: *(.rodata.*) diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index e5de506..31b565f 100644 +index 7cb02d5..1a503dd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -324,6 +324,22 @@ static int do_final_link(void) @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 if (!linker_script) linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); -- -2.31.1 +2.35.1 diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch deleted file mode 100644 index 953bd79ccf..0000000000 --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch +++ /dev/null @@ -1,188 +0,0 @@ -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 7 May 2020 21:11:43 -0700 -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa - -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. -Add them to the list of ignored relocation types. - -This fixes the following error when invoking elf2flt on xtensa binaries -built with the recent binutils: - - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context - -Reported-by: Romain Naour -Signed-off-by: Max Filippov -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d ---- - Makefile.in | 3 ++- - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 14 ++++++++++++ - elf2flt.c | 8 +++++++ - 4 files changed, 88 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 52b3347d7f43..0529c7f0a25a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ - -DNO_GOT_CHECK=@got_check@ \ - -DUSE_EMIT_RELOCS=@emit_relocs@ \ - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ - EXEEXT = @EXEEXT@ - OBJEXT = @OBJEXT@ - -diff --git a/configure b/configure -index bb8e33f9cb28..bca38c34247e 100755 ---- a/configure -+++ b/configure -@@ -621,6 +621,7 @@ ac_includes_default="\ - - ac_subst_vars='LTLIBOBJS - LIBOBJS -+HAVE_BFD_XTENSA_PDIFF_RELOCS - SYMBOL_PREFIX - always_reloc_text - emit_ctor_dtor -@@ -1729,6 +1730,52 @@ fi - - } # ac_fn_c_try_link - -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+ - # ac_fn_c_check_func LINENO FUNC VAR - # ---------------------------------- - # Tests whether FUNC exists, setting the cache variable VAR accordingly -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h - fi - - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ OLD_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" -+ #include \"elf/xtensa.h\" -+" -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 -+fi -+ -+ CPPFLAGS=$OLD_CPPFLAGS -+ ;; -+esac -+ - for ac_func in vprintf - do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -@@ -4333,6 +4396,7 @@ fi - - - -+ - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" - - cat >confcache <<\_ACEOF -diff --git a/configure.ac b/configure.ac -index d6b4119eb18a..19969b1045f6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, -+ [#include "bfd.h" -+ #include "elf/xtensa.h"]) -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) -+ ;; -+esac -+ - dnl Checks for library functions. - AC_FUNC_VPRINTF - -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) - AC_SUBST(emit_ctor_dtor) - AC_SUBST(always_reloc_text) - AC_SUBST(SYMBOL_PREFIX) -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) - - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) - -diff --git a/elf2flt.c b/elf2flt.c -index b7c4a490df02..961534973f56 100644 ---- a/elf2flt.c -+++ b/elf2flt.c -@@ -776,6 +776,14 @@ output_relocs ( - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: -+#endif - case R_XTENSA_32_PCREL: - continue; - case R_XTENSA_32: --- -2.20.1 - diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash index c4b0697fcd..c576f65cdb 100644 --- a/package/elf2flt/elf2flt.hash +++ b/package/elf2flt/elf2flt.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk index 3239af1b9a..11cacaf9e0 100644 --- a/package/elf2flt/elf2flt.mk +++ b/package/elf2flt/elf2flt.mk @@ -4,8 +4,8 @@ # ################################################################################ -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) +ELF2FLT_VERSION = 2021.08 +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) ELF2FLT_LICENSE = GPL-2.0+ ELF2FLT_LICENSE_FILES = LICENSE.TXT -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 15:37:25 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 17:37:25 +0200 Subject: [Buildroot] [PATCH 3/3] package/binutils: drop version 2.32 In-Reply-To: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> References: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> Message-ID: <20220426153726.312870-3-thomas.petazzoni@bootlin.com> Now that recent versions of binutils work with FLAT binaries, we can drop the old 2.32 version, which was kept only to keep support FLAT binaries. Signed-off-by: Thomas Petazzoni --- Config.in.legacy | 6 + package/binutils/2.32/0001-sh-conf.patch | 48 -- .../2.32/0002-poison-system-directories.patch | 306 ----------- ...hrink_dynamic_reloc_sections-for-exp.patch | 41 -- ...s-const16-for-xtensa-loop-relaxation.patch | 294 ---------- ...t-.literal_position-at-section-start.patch | 96 ---- ...ct-value-in-PLT-GOT-entries-causing-.patch | 46 -- .../0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 --------------- ...TENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ----- ...ith-plt-link-failure-for-local-calls.patch | 59 --- ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 --------- ...K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...ge-plt_relocs-when-generating-plt-en.patch | 500 ------------------ ...or1k-fix-building-with-gcc-version-5.patch | 50 -- ...tive-relocation-against-dynamic-on-P.patch | 59 --- ...K_GOT16-signed-overflow-by-using-spe.patch | 75 --- package/binutils/Config.in.host | 5 - 18 files changed, 6 insertions(+), 2493 deletions(-) delete mode 100644 package/binutils/2.32/0001-sh-conf.patch delete mode 100644 package/binutils/2.32/0002-poison-system-directories.patch delete mode 100644 package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch delete mode 100644 package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch delete mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch delete mode 100644 package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch delete mode 100644 package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch delete mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch delete mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch delete mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch delete mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch delete mode 100644 package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch delete mode 100644 package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch delete mode 100644 package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch diff --git a/Config.in.legacy b/Config.in.legacy index 387653f45d..6d2c82ab7f 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.05" +config BR2_BINUTILS_VERSION_2_32_X + bool "binutils 2.32.x has been removed" + select BR2_LEGACY + help + binutils 2.32 has been removed, use a newer version. + config BR2_sh2a bool "sh2a architecture support removed" select BR2_LEGACY diff --git a/package/binutils/2.32/0001-sh-conf.patch b/package/binutils/2.32/0001-sh-conf.patch deleted file mode 100644 index fff91ae35c..0000000000 --- a/package/binutils/2.32/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 98b2acf2bd3a527d114a9f8931083c2617a2daa9 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 37476459612..66fbc19f9ff 100755 ---- a/configure -+++ b/configure -@@ -3861,7 +3861,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index 46501c28826..6c731930884 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1158,7 +1158,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.14.5 - diff --git a/package/binutils/2.32/0002-poison-system-directories.patch b/package/binutils/2.32/0002-poison-system-directories.patch deleted file mode 100644 index 98f41e87f3..0000000000 --- a/package/binutils/2.32/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From f559402ea868d370ddf25089c68cda2600db3bfa Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index d93c9b08300..5da2742beac 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -31,6 +31,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index 18ada7808f5..7e7d2f97809 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -822,6 +822,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1486,6 +1487,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15803,7 +15806,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index d335f210917..7f692d93873 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index b97d977f37b..f3bbd2d55d4 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -180,6 +180,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index 5179af3e0e1..f78bf746822 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2524,6 +2524,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+ at kindex --no-poison-system-directories -+ at item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+ at file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+ at kindex --error-poison-system-directories -+ at item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index fcadc08c73f..63e295ce8ae 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 32853debe45..8135361c498 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -148,6 +148,8 @@ enum option_values - OPTION_REQUIRE_DEFINED_SYMBOL, - OPTION_ORPHAN_HANDLING, - OPTION_FORCE_GROUP_ALLOCATION, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index 77cdbd0dd29..725512f1260 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -269,6 +269,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 88e85c73f49..be4cd492d14 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = - { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, - '\0', N_("=MODE"), N_("Control how orphan sections are handled."), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -555,6 +563,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1543,6 +1552,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1586,6 +1603,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - lang_leave_group (); --- -2.14.5 - diff --git a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch deleted file mode 100644 index b80e1fa7ce..0000000000 --- a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 278989f23735aa501be1052e085540c75c126dbb Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 28 Mar 2019 17:03:57 -0700 -Subject: [PATCH] bfd: xtensa: fix shrink_dynamic_reloc_sections for - export-dynamic - -shrink_dynamic_reloc_sections must remove PLT entry that was created for -an undefined weak symbol in the presence of --export-dynamic option when -relaxation coalesces literals pointing to that symbol. This fixes the -following assertion: - - ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at - elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections - -2019-03-28 Max Filippov -bfd/ - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add - info->export_dynamic to the conditional. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index c3df3d6db756..37ea200eea74 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10083,7 +10083,8 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - && (input_section->flags & SEC_ALLOC) != 0 - && (dynamic_symbol || bfd_link_pic (info)) - && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol && bfd_link_dll (info)))) -+ || (dynamic_symbol -+ && (bfd_link_dll (info) || info->export_dynamic)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.11.0 - diff --git a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch deleted file mode 100644 index ed617bcaf7..0000000000 --- a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch +++ /dev/null @@ -1,294 +0,0 @@ -From 0dbdfb7918d0b0cfcb8883b24c1291574bf5bb7c Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Tue, 2 Apr 2019 14:32:42 -0700 -Subject: [PATCH] gas: use literals/const16 for xtensa loop relaxation - -Loop opcode relaxation that uses addi/addmi doesn't work well with other -relaxations that may cause code movement. Instead of encoding fixed loop -end offset in the relaxed sequence use l32r or a pair of const16 to load -loop end address. This way the address of the loop end gets a relocation -record and it gets updated appropriately. - -gas/ -2019-04-02 Max Filippov - - * config/tc-xtensa.c (convert_frag_immed): Drop - convert_frag_immed_finish_loop invocation. - (convert_frag_immed_finish_loop): Drop declaration and - definition. - * config/xtensa-relax.c (widen_spec_list): Replace loop - widening that uses addi/addmi with widening that uses l32r - and const16. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 120 ---------------------------------------------- - gas/config/xtensa-relax.c | 77 ++++++++++++++++++++--------- - 2 files changed, 55 insertions(+), 142 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 3bdbbc931cfc..0cc06361cf6f 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -10668,7 +10668,6 @@ convert_frag_fill_nop (fragS *fragP) - static fixS *fix_new_exp_in_seg - (segT, subsegT, fragS *, int, int, expressionS *, int, - bfd_reloc_code_real_type); --static void convert_frag_immed_finish_loop (segT, fragS *, TInsn *); - - static void - convert_frag_immed (segT segP, -@@ -10910,9 +10909,6 @@ convert_frag_immed (segT segP, - } - } - -- if (expanded && xtensa_opcode_is_loop (isa, orig_tinsn.opcode) == 1) -- convert_frag_immed_finish_loop (segP, fragP, &orig_tinsn); -- - if (expanded && is_direct_call_opcode (orig_tinsn.opcode)) - { - /* Add an expansion note on the expanded instruction. */ -@@ -10949,122 +10945,6 @@ fix_new_exp_in_seg (segT new_seg, - } - - --/* Relax a loop instruction so that it can span loop >256 bytes. -- -- loop as, .L1 -- .L0: -- rsr as, LEND -- wsr as, LBEG -- addi as, as, lo8 (label-.L1) -- addmi as, as, mid8 (label-.L1) -- wsr as, LEND -- isync -- rsr as, LCOUNT -- addi as, as, 1 -- .L1: -- <> -- label: --*/ -- --static void --convert_frag_immed_finish_loop (segT segP, fragS *fragP, TInsn *tinsn) --{ -- TInsn loop_insn; -- TInsn addi_insn; -- TInsn addmi_insn; -- unsigned long target; -- static xtensa_insnbuf insnbuf = NULL; -- unsigned int loop_length, loop_length_hi, loop_length_lo; -- xtensa_isa isa = xtensa_default_isa; -- addressT loop_offset; -- addressT addi_offset = 9; -- addressT addmi_offset = 12; -- fragS *next_fragP; -- int target_count; -- -- if (!insnbuf) -- insnbuf = xtensa_insnbuf_alloc (isa); -- -- /* Get the loop offset. */ -- loop_offset = get_expanded_loop_offset (tinsn->opcode); -- -- /* Validate that there really is a LOOP at the loop_offset. Because -- loops are not bundleable, we can assume that the instruction will be -- in slot 0. */ -- tinsn_from_chars (&loop_insn, fragP->fr_opcode + loop_offset, 0); -- tinsn_immed_from_frag (&loop_insn, fragP, 0); -- -- gas_assert (xtensa_opcode_is_loop (isa, loop_insn.opcode) == 1); -- addi_offset += loop_offset; -- addmi_offset += loop_offset; -- -- gas_assert (tinsn->ntok == 2); -- if (tinsn->tok[1].X_op == O_constant) -- target = tinsn->tok[1].X_add_number; -- else if (tinsn->tok[1].X_op == O_symbol) -- { -- /* Find the fragment. */ -- symbolS *sym = tinsn->tok[1].X_add_symbol; -- gas_assert (S_GET_SEGMENT (sym) == segP -- || S_GET_SEGMENT (sym) == absolute_section); -- target = (S_GET_VALUE (sym) + tinsn->tok[1].X_add_number); -- } -- else -- { -- as_bad (_("invalid expression evaluation type %d"), tinsn->tok[1].X_op); -- target = 0; -- } -- -- loop_length = target - (fragP->fr_address + fragP->fr_fix); -- loop_length_hi = loop_length & ~0x0ff; -- loop_length_lo = loop_length & 0x0ff; -- if (loop_length_lo >= 128) -- { -- loop_length_lo -= 256; -- loop_length_hi += 256; -- } -- -- /* Because addmi sign-extends the immediate, 'loop_length_hi' can be at most -- 32512. If the loop is larger than that, then we just fail. */ -- if (loop_length_hi > 32512) -- as_bad_where (fragP->fr_file, fragP->fr_line, -- _("loop too long for LOOP instruction")); -- -- tinsn_from_chars (&addi_insn, fragP->fr_opcode + addi_offset, 0); -- gas_assert (addi_insn.opcode == xtensa_addi_opcode); -- -- tinsn_from_chars (&addmi_insn, fragP->fr_opcode + addmi_offset, 0); -- gas_assert (addmi_insn.opcode == xtensa_addmi_opcode); -- -- set_expr_const (&addi_insn.tok[2], loop_length_lo); -- tinsn_to_insnbuf (&addi_insn, insnbuf); -- -- fragP->tc_frag_data.is_insn = TRUE; -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addi_offset, 0); -- -- set_expr_const (&addmi_insn.tok[2], loop_length_hi); -- tinsn_to_insnbuf (&addmi_insn, insnbuf); -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addmi_offset, 0); -- -- /* Walk through all of the frags from here to the loop end -- and mark them as no_transform to keep them from being modified -- by the linker. If we ever have a relocation for the -- addi/addmi of the difference of two symbols we can remove this. */ -- -- target_count = 0; -- for (next_fragP = fragP; next_fragP != NULL; -- next_fragP = next_fragP->fr_next) -- { -- next_fragP->tc_frag_data.is_no_transform = TRUE; -- if (next_fragP->tc_frag_data.is_loop_target) -- target_count++; -- if (target_count == 2) -- break; -- } --} -- - - /* A map that keeps information on a per-subsegment basis. This is - maintained during initial assembly, but is invalid once the -diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c -index cb296ed85ed2..daf15d52c259 100644 ---- a/gas/config/xtensa-relax.c -+++ b/gas/config/xtensa-relax.c -@@ -87,13 +87,7 @@ - when the first and second operands are not the same as specified - by the "| %at!=%as" precondition clause. - {"l32i %at,%as,%imm | %at!=%as", -- "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} -- -- There is special case for loop instructions here, but because we do -- not currently have the ability to represent the difference of two -- symbols, the conversion requires special code in the assembler to -- write the operands of the addi/addmi pair representing the -- difference of the old and new loop end label. */ -+ "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} */ - - #include "as.h" - #include "xtensa-isa.h" -@@ -306,44 +300,83 @@ static string_pattern_pair widen_spec_list[] = - {"l32i %at,%as,%imm | %at!=%as ? IsaUseConst16", - "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm); add %at,%at,%as; l32i %at,%at,0"}, - -- /* This is only PART of the loop instruction. In addition, -- hardcoded into its use is a modification of the final operand in -- the instruction in bytes 9 and 12. */ -- {"loop %as,%label | %as!=1 ? IsaUseLoops", -+ /* Widening loops with literals. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "loop %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "bltz %as,%label;" -+ "loopgtz %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "loopnez %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ -+ /* Widening loops with const16. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "loop %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopgtz %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "bltz %as,%label;" - "loopgtz %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopnez %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "loopnez %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, - - /* Relaxing to wide branches. Order is important here. With wide --- -2.11.0 - diff --git a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch deleted file mode 100644 index b4bbc27b37..0000000000 --- a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 471702ac4a57878a06e8167f063274cf413e548d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Mon, 8 Apr 2019 13:47:18 -0700 -Subject: [PATCH] xtensa: gas: put .literal_position at section start - -Provide literal position at the beginning of each section for literal -space reserved by relaxations when text-section-literals or -auto-litpools options are used. Remove code that adds fill frag to the -literal section for every .literal_position directive to avoid creation -of empty literal sections. - -Fix auto-litpools tests that got literal pool address changes. - -gas/ -2019-04-11 Max Filippov - - * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. - (xtensa_mark_literal_pool_location): Don't add fill frag to literal - section that records literal pool location. - (md_begin): Call xtensa_mark_literal_pool_location when text - section literals or auto litpools are used. - (xtensa_elf_section_change_hook): Call - xtensa_mark_literal_pool_location when text section literals or - auto litpools are used, there's no literal pool location defined - for the current section and it's not .init or .fini. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 22 +++++++++------------- - 1 file changed, 9 insertions(+), 13 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 0cc06361cf6f..6a80e76fed8c 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -497,6 +497,7 @@ static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset); - static void xtensa_maybe_create_literal_pool_frag (bfd_boolean, bfd_boolean); - static bfd_boolean auto_litpools = FALSE; - static int auto_litpool_limit = 0; -+static bfd_boolean xtensa_is_init_fini (segT seg); - - /* Alignment Functions. */ - -@@ -4797,7 +4798,6 @@ xtensa_mark_literal_pool_location (void) - { - /* Any labels pointing to the current location need - to be adjusted to after the literal pool. */ -- emit_state s; - fragS *pool_location; - - if (use_literal_section) -@@ -4818,19 +4818,7 @@ xtensa_mark_literal_pool_location (void) - RELAX_LITERAL_POOL_END, NULL, 0, NULL); - xtensa_set_frag_assembly_state (frag_now); - -- /* Now put a frag into the literal pool that points to this location. */ - set_literal_pool_location (now_seg, pool_location); -- xtensa_switch_to_non_abs_literal_fragment (&s); -- frag_align (2, 0, 0); -- record_alignment (now_seg, 2); -- -- /* Close whatever frag is there. */ -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_set_frag_assembly_state (frag_now); -- frag_now->tc_frag_data.literal_frag = pool_location; -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_restore_emit_state (&s); -- xtensa_set_frag_assembly_state (frag_now); - } - - -@@ -5334,6 +5322,9 @@ md_begin (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section) -+ xtensa_mark_literal_pool_location (); - } - - -@@ -5933,6 +5924,11 @@ xtensa_elf_section_change_hook (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section -+ && seg_info (now_seg)->tc_segment_info_data.literal_pool_loc == NULL -+ && !xtensa_is_init_fini (now_seg)) -+ xtensa_mark_literal_pool_location (); - } - - --- -2.11.0 - diff --git a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch deleted file mode 100644 index 8527b66733..0000000000 --- a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch +++ /dev/null @@ -1,46 +0,0 @@ -From b17678f639f953d687d96cd52690e7cbfae50f91 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Fri, 23 Aug 2019 22:25:55 +0900 -Subject: [PATCH] or1k: Fix incorrect value in PLT GOT entries, causing - infinite loop - -The PLT GOT entry should point to the first PLT entry which contains the -runtime linker function. It was pointing back to the symbol PLT entry -causing an infinite loop. - -I found this when testing the OpenRISC glibc port which uses the runtime -dynamic linker. It seems other libc's we use so far have not been -making use of the initial PLT GOT entries. - -bfd/ChangeLog: - - * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for - PLT GOT entries. - -(cherry picked from commit 09f7b0de537d465fc8ed9f9433e348c1bc78aab2) -Signed-off-by: Romain Naour ---- - bfd/elf32-or1k.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..32839cfa7b6 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2379,8 +2379,11 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, - plt0, plt1, plt2, OR1K_JR(12)); - -- /* Fill in the entry in the global offset table. */ -- bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -+ /* Fill in the entry in the global offset table. We initialize it to -+ point to the top of the plt. This is done to lazy lookup the actual -+ symbol as the first plt entry will be setup by libc to call the -+ runtime dynamic linker. */ -+ bfd_put_32 (output_bfd, plt_base_addr, sgot->contents + got_offset); - - /* Fill in the entry in the .rela.plt section. */ - rela.r_offset = got_addr; --- -2.23.0 - diff --git a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch deleted file mode 100644 index f499426b70..0000000000 --- a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 85dcca5997cf3822d6456a5c9c59c46b56adfbb8 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Wed, 4 Mar 2020 14:54:27 -0800 -Subject: [PATCH] bfd: xtensa: fix PR ld/25630 - -bfd/ -2020-03-05 Max Filippov - - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic - relocation sections for any removed reference to a dynamic symbol. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 12ff9f772aaf..65e14d87940c 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - - if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) - && (input_section->flags & SEC_ALLOC) != 0 -- && (dynamic_symbol || bfd_link_pic (info)) -- && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol -- && (bfd_link_dll (info) || info->export_dynamic)))) -+ && (dynamic_symbol -+ || (bfd_link_pic (info) -+ && (!h || h->root.type != bfd_link_hash_undefweak)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.20.1 - diff --git a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch deleted file mode 100644 index 2df46c6526..0000000000 --- a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch +++ /dev/null @@ -1,432 +0,0 @@ -From c7a1d1f656c717394937a92cb970f0f4cecce128 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sun, 19 Apr 2020 19:04:41 -0700 -Subject: [PATCH] xtensa: fix PR ld/25861 - -Introduce new relaxations XTENSA_PDIFF{8,16,32} for positive differences -(subtracted symbol precedes diminished symbol) and XTENSA_NDIFF{8,16,32} -for negative differences (subtracted symbol follows diminished symbol). -Don't generate XTENSA_DIFF relocations in the assembler, generate -XTENSA_PDIFF or XTENSA_NDIFF based on relative symbol position. - -Handle XTENSA_DIFF in BFD for compatibility with old object files. -Handle XTENSA_PDIFF and XTENSA_NDIFF in BFD, treating difference value -as unsigned. - -2020-04-22 Max Filippov -bfd/ - * bfd-in2.h: Regenerated. - * elf32-xtensa.c (elf_howto_table): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - (elf_xtensa_reloc_type_lookup, elf_xtensa_do_reloc) - (relax_section): Add cases for R_XTENSA_PDIFF{8,16,32} and - R_XTENSA_NDIFF{8,16,32}. - * libbfd.h (bfd_reloc_code_real_names): Add names for - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - * reloc.c: Add documentation for BFD_RELOC_XTENSA_PDIFF{8,16,32} - and BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -binutils/ - * readelf.c (is_none_reloc): Recognize - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -gas/ - * config/tc-xtensa.c (md_apply_fix): Replace - BFD_RELOC_XTENSA_DIFF{8,16,32} generation with - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. - * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 - with BFD_RELOC_XTENSA_PDIFF16 in the expected output. - -include/ - * elf/xtensa.h (elf_xtensa_reloc_type): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - -ld/ - * testsuite/ld-xtensa/relax-loc.d: New test definition. - * testsuite/ld-xtensa/relax-loc.s: New test source. - * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test. - -Signed-off-by: Max Filippov ---- -Backported from: 30ce8e47fad9b057b6d7af9e1d43061126d34d20 - - bfd/bfd-in2.h | 20 ++++++- - bfd/elf32-xtensa.c | 89 +++++++++++++++++++++++++++++- - bfd/libbfd.h | 6 ++ - bfd/reloc.c | 24 ++++++++ - binutils/readelf.c | 8 ++- - gas/config/tc-xtensa.c | 12 +++- - gas/testsuite/gas/xtensa/loc.d | 2 +- - include/elf/xtensa.h | 6 ++ - ld/testsuite/ld-xtensa/relax-loc.d | 7 +++ - ld/testsuite/ld-xtensa/relax-loc.s | 15 +++++ - ld/testsuite/ld-xtensa/xtensa.exp | 1 + - 11 files changed, 183 insertions(+), 7 deletions(-) - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.d - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.s - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index 37114607b515..be6a30f57955 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5217,7 +5217,9 @@ to one of its own internal functions or data structures. */ - PLT entries. Otherwise, this is just a generic 32-bit relocation. */ - BFD_RELOC_XTENSA_PLT, - --/* Xtensa relocations to mark the difference of two local symbols. -+/* Xtensa relocations for backward compatibility. These have been replaced -+by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. -+Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference - assuming no relaxation. The relocation encodes the position of the -@@ -5291,6 +5293,22 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ - BFD_RELOC_XTENSA_TLS_ARG, - BFD_RELOC_XTENSA_TLS_CALL, - -+/* Xtensa relocations to mark the difference of two local symbols. -+These are only needed to support linker relaxation and can be ignored -+when not relaxing. The field is set to the value of the difference -+assuming no relaxation. The relocation encodes the position of the -+subtracted symbol so the linker can determine whether to adjust the field -+value. PDIFF relocations are used for positive differences, NDIFF -+relocations are used for negative differences. The difference value -+is treated as unsigned with these relocation types, giving full -+8/16 value ranges. */ -+ BFD_RELOC_XTENSA_PDIFF8, -+ BFD_RELOC_XTENSA_PDIFF16, -+ BFD_RELOC_XTENSA_PDIFF32, -+ BFD_RELOC_XTENSA_NDIFF8, -+ BFD_RELOC_XTENSA_NDIFF16, -+ BFD_RELOC_XTENSA_NDIFF32, -+ - /* 8 bit signed offset in (ix+d) or (iy+d). */ - BFD_RELOC_Z80_DISP8, - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 473a9d76f289..fded42d52a9a 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -325,6 +325,20 @@ static reloc_howto_type elf_howto_table[] = - HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, FALSE, 0, complain_overflow_dont, - bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", - FALSE, 0, 0, FALSE), -+ -+ HOWTO (R_XTENSA_PDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_PDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_PDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF32", FALSE, 0, 0xffffffff, FALSE), -+ -+ HOWTO (R_XTENSA_NDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_NDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_NDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF32", FALSE, 0, 0xffffffff, FALSE), - }; - - #if DEBUG_GEN_RELOC -@@ -364,6 +378,30 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, - TRACE ("BFD_RELOC_XTENSA_DIFF32"); - return &elf_howto_table[(unsigned) R_XTENSA_DIFF32 ]; - -+ case BFD_RELOC_XTENSA_PDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF32 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF32 ]; -+ - case BFD_RELOC_XTENSA_RTLD: - TRACE ("BFD_RELOC_XTENSA_RTLD"); - return &elf_howto_table[(unsigned) R_XTENSA_RTLD ]; -@@ -1851,6 +1889,12 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: - case R_XTENSA_TLS_FUNC: - case R_XTENSA_TLS_ARG: - case R_XTENSA_TLS_CALL: -@@ -9604,7 +9648,13 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - - if (r_type == R_XTENSA_DIFF8 - || r_type == R_XTENSA_DIFF16 -- || r_type == R_XTENSA_DIFF32) -+ || r_type == R_XTENSA_DIFF32 -+ || r_type == R_XTENSA_PDIFF8 -+ || r_type == R_XTENSA_PDIFF16 -+ || r_type == R_XTENSA_PDIFF32 -+ || r_type == R_XTENSA_NDIFF8 -+ || r_type == R_XTENSA_NDIFF16 -+ || r_type == R_XTENSA_NDIFF32) - { - bfd_signed_vma diff_value = 0; - bfd_vma new_end_offset, diff_mask = 0; -@@ -9631,8 +9681,27 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_value = -+ bfd_get_8 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_value = -+ bfd_get_16 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_value = -+ bfd_get_32 (abfd, &contents[old_source_offset]); -+ break; - } - -+ if (r_type >= R_XTENSA_NDIFF8 -+ && r_type <= R_XTENSA_NDIFF32) -+ diff_value = -diff_value; -+ - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, - r_rel.target_offset + diff_value); -@@ -9655,6 +9724,24 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; -+ bfd_put_8 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; -+ bfd_put_16 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; -+ bfd_put_32 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; - } - - /* Check for overflow. Sign bits must be all zeroes or all ones */ -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 3c184fcadadf..989f4bc0b595 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2919,6 +2919,12 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_XTENSA_TLS_FUNC", - "BFD_RELOC_XTENSA_TLS_ARG", - "BFD_RELOC_XTENSA_TLS_CALL", -+ "BFD_RELOC_XTENSA_PDIFF8", -+ "BFD_RELOC_XTENSA_PDIFF16", -+ "BFD_RELOC_XTENSA_PDIFF32", -+ "BFD_RELOC_XTENSA_NDIFF8", -+ "BFD_RELOC_XTENSA_NDIFF16", -+ "BFD_RELOC_XTENSA_NDIFF32", - "BFD_RELOC_Z80_DISP8", - "BFD_RELOC_Z80_BYTE0", - "BFD_RELOC_Z80_BYTE1", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index c4dec86d1d46..f5df8e2ab3eb 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6556,6 +6556,8 @@ ENUMX - ENUMX - BFD_RELOC_XTENSA_DIFF32 - ENUMDOC -+ Xtensa relocations for backward compatibility. These have been replaced -+ by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. - Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference -@@ -6668,6 +6670,28 @@ ENUMX - BFD_RELOC_XTENSA_TLS_CALL - ENUMDOC - Xtensa TLS relocations. -+ENUM -+ BFD_RELOC_XTENSA_PDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF32 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF32 -+ENUMDOC -+ Xtensa relocations to mark the difference of two local symbols. -+ These are only needed to support linker relaxation and can be ignored -+ when not relaxing. The field is set to the value of the difference -+ assuming no relaxation. The relocation encodes the position of the -+ subtracted symbol so the linker can determine whether to adjust the field -+ value. PDIFF relocations are used for positive differences, NDIFF -+ relocations are used for negative differences. The difference value -+ is treated as unsigned with these relocation types, giving full -+ 8/16 value ranges. - - ENUM - BFD_RELOC_Z80_DISP8 -diff --git a/binutils/readelf.c b/binutils/readelf.c -index d4756c93b345..800918f901c8 100644 ---- a/binutils/readelf.c -+++ b/binutils/readelf.c -@@ -13262,7 +13262,13 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type) - return (reloc_type == 0 /* R_XTENSA_NONE. */ - || reloc_type == 17 /* R_XTENSA_DIFF8. */ - || reloc_type == 18 /* R_XTENSA_DIFF16. */ -- || reloc_type == 19 /* R_XTENSA_DIFF32. */); -+ || reloc_type == 19 /* R_XTENSA_DIFF32. */ -+ || reloc_type == 57 /* R_XTENSA_PDIFF8. */ -+ || reloc_type == 58 /* R_XTENSA_PDIFF16. */ -+ || reloc_type == 59 /* R_XTENSA_PDIFF32. */ -+ || reloc_type == 60 /* R_XTENSA_NDIFF8. */ -+ || reloc_type == 61 /* R_XTENSA_NDIFF16. */ -+ || reloc_type == 62 /* R_XTENSA_NDIFF32. */); - } - return FALSE; - } -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 71d4d94a8d7d..ee75c13548ff 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -5974,18 +5974,24 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) - case BFD_RELOC_8: - if (fixP->fx_subsy) - { -+ bfd_boolean neg = S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset -+ < S_GET_VALUE (fixP->fx_subsy); -+ - switch (fixP->fx_r_type) - { - case BFD_RELOC_8: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF8; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF8 : BFD_RELOC_XTENSA_PDIFF8; - fixP->fx_signed = 0; - break; - case BFD_RELOC_16: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF16; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF16 : BFD_RELOC_XTENSA_PDIFF16; - fixP->fx_signed = 0; - break; - case BFD_RELOC_32: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF32; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF32 : BFD_RELOC_XTENSA_PDIFF32; - fixP->fx_signed = 0; - break; - default: -diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d -index 71983cc90055..8fb3425999d5 100644 ---- a/gas/testsuite/gas/xtensa/loc.d -+++ b/gas/testsuite/gas/xtensa/loc.d -@@ -6,5 +6,5 @@ - - RELOCATION RECORDS FOR \[\.debug_line\]: - #... --.*R_XTENSA_DIFF16.*\.text\+0x00009c42 -+.*R_XTENSA_PDIFF16.*\.text\+0x00009c42 - #... -diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h -index 2eb5e4e52941..bd5c80d13777 100644 ---- a/include/elf/xtensa.h -+++ b/include/elf/xtensa.h -@@ -87,6 +87,12 @@ START_RELOC_NUMBERS (elf_xtensa_reloc_type) - RELOC_NUMBER (R_XTENSA_TLS_FUNC, 54) - RELOC_NUMBER (R_XTENSA_TLS_ARG, 55) - RELOC_NUMBER (R_XTENSA_TLS_CALL, 56) -+ RELOC_NUMBER (R_XTENSA_PDIFF8, 57) -+ RELOC_NUMBER (R_XTENSA_PDIFF16, 58) -+ RELOC_NUMBER (R_XTENSA_PDIFF32, 59) -+ RELOC_NUMBER (R_XTENSA_NDIFF8, 60) -+ RELOC_NUMBER (R_XTENSA_NDIFF16, 61) -+ RELOC_NUMBER (R_XTENSA_NDIFF32, 62) - END_RELOC_NUMBERS (R_XTENSA_max) - - /* Processor-specific flags for the ELF header e_flags field. */ -diff --git a/ld/testsuite/ld-xtensa/relax-loc.d b/ld/testsuite/ld-xtensa/relax-loc.d -new file mode 100644 -index 000000000000..3c8d673732ff ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.d -@@ -0,0 +1,7 @@ -+#as: --text-section-literals -+#ld: -+#objdump: --dwarf=decodedline -+#... -+relax-loc.s[ ]+1[ ]+0x400054[ ]+.* -+relax-loc.s[ ]+2[ ]+0x40005c[ ]+.* -+#... -diff --git a/ld/testsuite/ld-xtensa/relax-loc.s b/ld/testsuite/ld-xtensa/relax-loc.s -new file mode 100644 -index 000000000000..d768470e287a ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.s -@@ -0,0 +1,15 @@ -+ .file 1 "relax-loc.s" -+ .globl _start -+ .globl _ResetVector -+ .text -+_ResetVector: -+_start: -+ .loc 1 1 -+ j 1f -+ .literal_position -+1: -+ .loc 1 2 -+ -+ .rep 10000 -+ movi a2, 0x12345678 -+ .endr -diff --git a/ld/testsuite/ld-xtensa/xtensa.exp b/ld/testsuite/ld-xtensa/xtensa.exp -index 9b2235b2151b..de39887936ad 100644 ---- a/ld/testsuite/ld-xtensa/xtensa.exp -+++ b/ld/testsuite/ld-xtensa/xtensa.exp -@@ -27,6 +27,7 @@ run_dump_test "call_overflow" - run_dump_test "coalesce" - run_dump_test "diff_overflow" - run_dump_test "lcall" -+run_dump_test "relax-loc" - - run_dump_test "relax-static-pie" - run_dump_test "relax-static-local-pie" --- -2.20.1 - diff --git a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch deleted file mode 100644 index 28f17d7c56..0000000000 --- a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch +++ /dev/null @@ -1,128 +0,0 @@ -From 735321812435ae278d3766a3371f55937dc776d6 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sat, 25 Apr 2020 00:40:25 -0700 -Subject: [PATCH] xtensa: fix XTENSA_NDIFF handling for PR ld/25861 - -Fields marked with XTENSA_NDIFF relocations are not negated, they only -have sign bits removed. Don't negate their values when relaxation is -performed. Don't add sign bits when the value is zero. Report overflow -when the result has negative sign but all significant bits are zero. - -2020-04-29 Max Filippov -bfd/ - * elf32-xtensa.c (relax_section): Don't negate diff_value for - XTENSA_NDIFF relocations. Don't add sign bits whe diff_value - equals 0. Report overflow when the result has negative sign but - all significant bits are zero. - -Signed-off-by: Max Filippov -Backported from: d548f47df4d2e3d117d504a4c9977982c78a0556 ---- - - bfd/elf32-xtensa.c | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index fded42d52a9a..4327b027911f 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -9670,37 +9670,44 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -+ diff_mask = 0x7f; - diff_value = - bfd_get_signed_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -+ diff_mask = 0x7fff; - diff_value = - bfd_get_signed_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -+ diff_mask = 0x7fffffff; - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; - diff_value = - bfd_get_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; - diff_value = - bfd_get_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; - diff_value = - bfd_get_32 (abfd, &contents[old_source_offset]); - break; - } - - if (r_type >= R_XTENSA_NDIFF8 -- && r_type <= R_XTENSA_NDIFF32) -- diff_value = -diff_value; -+ && r_type <= R_XTENSA_NDIFF32 -+ && diff_value) -+ diff_value |= ~diff_mask; - - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, -@@ -9710,43 +9717,40 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -- diff_mask = 0x7f; - bfd_put_signed_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -- diff_mask = 0x7fff; - bfd_put_signed_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -- diff_mask = 0x7fffffff; - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -- diff_mask = 0xff; - bfd_put_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -- diff_mask = 0xffff; - bfd_put_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -- diff_mask = 0xffffffff; - bfd_put_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - } - -- /* Check for overflow. Sign bits must be all zeroes or all ones */ -- if ((diff_value & ~diff_mask) != 0 && -- (diff_value & ~diff_mask) != (-1 & ~diff_mask)) -+ /* Check for overflow. Sign bits must be all zeroes or -+ all ones. When sign bits are all ones diff_value -+ may not be zero. */ -+ if (((diff_value & ~diff_mask) != 0 -+ && (diff_value & ~diff_mask) != ~diff_mask) -+ || (diff_value && (bfd_vma) diff_value == ~diff_mask)) - { - (*link_info->callbacks->reloc_dangerous) - (link_info, _("overflow after relaxation"), --- -2.20.1 - diff --git a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index a67d12789e..0000000000 --- a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 788cda9f9447e0fe67e582e8fb5adafd678d08b2 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..1f2c88b0b3a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index 5a2b91fe8e..0000000000 --- a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From b10e6230dea0015bf3b7748580b82c551f9a3a4a Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index e25da50aafb..530a41fca43 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5517,6 +5517,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 1f2c88b0b3a..a4a64f73b7c 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - #define TLS_UNKNOWN 0 -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1945,6 +1963,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 36284d71a9b..6e9e3190bb8 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2702,6 +2702,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index e6446a78098..b0003ab1175 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6164,6 +6164,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index 5082a30cee1..85163fc96c9 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -173,7 +173,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -276,6 +276,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index 0abef046202..7db3cad18eb 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 7d058d03f5f..332f4b7a9b5 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index adc6f5f8b9..0000000000 --- a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0f61f76454a9420f158f626cb09a4fbc08c3709e Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence - of R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index a4a64f73b7c..07fff3602a3 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index dc0431e0af..0000000000 --- a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From 36c7de7ef77ab0c30cb33e2c7ea7a6f4e3052c73 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 07fff3602a3..fcebbe5f23a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry - /* Track dynamic relocs copied for this symbol. */ - struct elf_dyn_relocs *dyn_relocs; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2176,33 +2193,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2269,7 +2299,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2280,27 +2311,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2343,7 +2374,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2355,6 +2387,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2372,10 +2405,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2387,27 +2423,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. */ - bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *s = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (s->size == 0) -- s->size = PLT_ENTRY_SIZE; -+ s->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = s->size; - -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- s->size += PLT_ENTRY_SIZE; -+ s->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 24cdbe5fbf3..9cebc49b946 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch deleted file mode 100644 index c3978e22fa..0000000000 --- a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Wed, 9 Jun 2021 17:28:27 +0200 -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 - -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use -an old compiler(i.e. gcc 4.9) build fails on: -``` -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in -C99 or C11 mode - for (size_t i = 0; i < insn_count; i++) - ^ -``` - -So let's declare `size_t i` at the top of the function instead of inside -for loop. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..32063ab0289 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; - unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ size_t i; - - /* Copy instructions into the output buffer. */ -- for (size_t i = 0; i < insn_count; i++) -+ for (i = 0; i < insn_count; i++) - output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - } - - /* Write out the output buffer. */ -- for (size_t i = 0; i < (insn_count+1); i++) -+ for (i = 0; i < (insn_count+1); i++) - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - --- -2.25.1 - diff --git a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch deleted file mode 100644 index 585b97b2af..0000000000 --- a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Sat, 10 Jul 2021 17:57:34 +0200 -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC - relative 26 bit relocation - -When building openal we were seeing the assert failure: - -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePausev -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceStopv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceRewindv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePlayv -collect2: error: ld returned 1 exit status - -This happens because in R_OR1K_INSN_REL_26 case we can't reference local -symbol as previously done but we need to make sure that calls to actual -symbol always call the version of current object. - -bfd/Changelog: - - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry - in switch case R_OR1K_INSN_REL_26 where we need to check for - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..4f9092539f5 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, - break; - - case R_OR1K_INSN_REL_26: -+ /* For a non-shared link, these will reference plt or call the -+ version of actual object. */ -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) -+ { -+ _bfd_error_handler -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), -+ input_bfd, name); -+ ret_val = FALSE; -+ bfd_set_error (bfd_error_bad_value); -+ } -+ break; -+ - case R_OR1K_PCREL_PG21: - case R_OR1K_LO13: - case R_OR1K_SLO13: --- -2.25.1 - diff --git a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch deleted file mode 100644 index 7e92e2bfd8..0000000000 --- a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 Jan 2022 09:03:28 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special - howto - -Previously when fixing PR 21464 we masked out upper bits of the -relocation value in order to avoid overflow complaints when acceptable. -It turns out this does not work when the relocation value ends up being -signed. - -To fix this this patch introduces a special howto with -complain_on_overflow set to complain_overflow_dont. This is used in -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 -relocations. - -bfd/ChangeLog: - - PR 28735 - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. - (or1k_elf_relocate_section): Use new howto instead of trying to - mask out relocation bits. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index cfa292f0032..ecb70753b6a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = - FALSE), /* pcrel_offset */ - }; - -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 -+ relocations when we know we can ignore overflows. */ -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = -+ HOWTO (R_OR1K_GOT16, /* type */ -+ 0, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_dont, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE); /* pcrel_offset */ -+ - /* Map BFD reloc types to Or1k ELF reloc types. */ - - struct or1k_reloc_map -@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, - if (r_type == R_OR1K_GOT_AHI16) - saw_gotha = TRUE; - -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 - relocation we assume the code is doing the right thing to avoid -- overflows. Here we mask the lower 16-bit of the relocation to -- avoid overflow validation failures. */ -+ overflows. */ - if (r_type == R_OR1K_GOT16 && saw_gotha) -- relocation &= 0xffff; -+ howto = &or1k_elf_got16_no_overflow_howto; - - /* Addend should be zero. */ - if (rel->r_addend != 0) --- -2.25.1 - diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 4382b32237..ef1b2a94db 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -12,10 +12,6 @@ choice help Select the version of binutils you wish to use. -config BR2_BINUTILS_VERSION_2_32_X - bool "binutils 2.32" - depends on !BR2_csky - config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky @@ -35,7 +31,6 @@ endchoice config BR2_BINUTILS_VERSION string default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC - default "2.32" if BR2_BINUTILS_VERSION_2_32_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X default "2.38" if BR2_BINUTILS_VERSION_2_38_X -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 15:44:05 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 17:44:05 +0200 Subject: [Buildroot] [PATCH 3/3] package/binutils: drop version 2.32 In-Reply-To: <20220426153726.312870-3-thomas.petazzoni@bootlin.com> References: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> <20220426153726.312870-3-thomas.petazzoni@bootlin.com> Message-ID: <20220426174405.09a8825a@windsurf> On Tue, 26 Apr 2022 17:37:25 +0200 Thomas Petazzoni wrote: > Now that recent versions of binutils work with FLAT binaries, we can > drop the old 2.32 version, which was kept only to keep support FLAT > binaries. > > Signed-off-by: Thomas Petazzoni Sorry, I forgot to drop the hash in binutils.hash on this one. I can resend a v2 if needed. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From fperrad at gmail.com Tue Apr 26 11:37:24 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:37:24 +0200 Subject: [Buildroot] [PATCH] package/ethtool: bump to version 5.17 Message-ID: <20220426113724.3544523-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/ethtool/ethtool.hash | 2 +- package/ethtool/ethtool.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 59c657e86..f317a1fb1 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d ethtool-5.15.tar.xz +sha256 64ab914b9c6b45047245d91f40b8760b2728992a9e5af22717c644238e889133 ethtool-5.17.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index c4bb9bdd9..10f0c802a 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,7 @@ # ################################################################################ -ETHTOOL_VERSION = 5.15 +ETHTOOL_VERSION = 5.17 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool ETHTOOL_LICENSE = GPL-2.0 -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:37:45 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:37:45 +0200 Subject: [Buildroot] [PATCH] package/harfbuzz: bump to version 4.2.1 Message-ID: <20220426113745.3544578-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/harfbuzz/0001-meson.build-check-for-pthread.h.patch | 2 +- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch b/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch index 9fa09863c..102f9ff49 100644 --- a/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch +++ b/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch @@ -26,7 +26,7 @@ diff --git a/meson.build b/meson.build index bf3925db..6d263d48 100644 --- a/meson.build +++ b/meson.build -@@ -281,7 +281,9 @@ endif +@@ -270,7 +270,9 @@ endif # threads thread_dep = null_dep if host_machine.system() != 'windows' diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash index 1576824a5..f3ba22835 100644 --- a/package/harfbuzz/harfbuzz.hash +++ b/package/harfbuzz/harfbuzz.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz +sha256 bd17916513829aeff961359a5ccebba6de2f4bf37a91faee3ac29c120e3d7ee1 harfbuzz-4.2.1.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 551277a78..38ed34ab7 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 4.2.0 +HARFBUZZ_VERSION = 4.2.1 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library) -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:38:00 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:38:00 +0200 Subject: [Buildroot] [PATCH] package/hwdata: bump to version 0.358 Message-ID: <20220426113800.3544633-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/hwdata/hwdata.hash | 2 +- package/hwdata/hwdata.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/hwdata/hwdata.hash b/package/hwdata/hwdata.hash index 786110685..6c5a091a0 100644 --- a/package/hwdata/hwdata.hash +++ b/package/hwdata/hwdata.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 0d3d21af57822f35141b524808fd9e4823dbb413df338606195010dc0aa1c935 hwdata-0.355.tar.gz +sha256 f0bb38588b9fcb43e15dac4ce8461b7580ef38ac20ecab83cef638413646decb hwdata-0.358.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f LICENSE diff --git a/package/hwdata/hwdata.mk b/package/hwdata/hwdata.mk index 4dd9c9e28..b2e183807 100644 --- a/package/hwdata/hwdata.mk +++ b/package/hwdata/hwdata.mk @@ -4,7 +4,7 @@ # ################################################################################ -HWDATA_VERSION = 0.355 +HWDATA_VERSION = 0.358 HWDATA_SITE = $(call github,vcrhonek,hwdata,v$(HWDATA_VERSION)) HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0 HWDATA_LICENSE_FILES = COPYING LICENSE -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:38:21 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:38:21 +0200 Subject: [Buildroot] [PATCH] package/libfribidi: bump to version 1.0.12 Message-ID: <20220426113821.3544689-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libfribidi/libfribidi.hash | 2 +- package/libfribidi/libfribidi.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfribidi/libfribidi.hash b/package/libfribidi/libfribidi.hash index da25b2d24..7e5df9811 100644 --- a/package/libfribidi/libfribidi.hash +++ b/package/libfribidi/libfribidi.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d fribidi-1.0.11.tar.xz +sha256 0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495 fribidi-1.0.12.tar.xz sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/package/libfribidi/libfribidi.mk b/package/libfribidi/libfribidi.mk index adbd786db..ec86f468a 100644 --- a/package/libfribidi/libfribidi.mk +++ b/package/libfribidi/libfribidi.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFRIBIDI_VERSION = 1.0.11 +LIBFRIBIDI_VERSION = 1.0.12 LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.xz LIBFRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(LIBFRIBIDI_VERSION) LIBFRIBIDI_LICENSE = LGPL-2.1+ -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:38:35 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:38:35 +0200 Subject: [Buildroot] [PATCH] package/libgcrypt: bump to version 1.10.1 Message-ID: <20220426113835.3544757-1-francois.perrad@gadz.org> remove upstream patch Signed-off-by: Francois Perrad --- ...re.ac-add-an-option-to-disable-tests.patch | 2 +- ...entropy-Include-fcntl-h-and-limits-h.patch | 38 ------------------- package/libgcrypt/libgcrypt.hash | 4 +- package/libgcrypt/libgcrypt.mk | 2 +- 4 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch diff --git a/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch b/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch index e32f93863..5ddde9df1 100644 --- a/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch +++ b/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch @@ -44,7 +44,7 @@ diff --git a/configure.ac b/configure.ac index e8c8cd39..1a6b61e5 100644 --- a/configure.ac +++ b/configure.ac -@@ -3230,6 +3230,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], +@@ -3231,6 +3231,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno]) diff --git a/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch b/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch deleted file mode 100644 index 8f76f24c6..000000000 --- a/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch +++ /dev/null @@ -1,38 +0,0 @@ -From ffaef0be613121d3ee37867d82932a7a30c2bc6d Mon Sep 17 00:00:00 2001 -From: Heiko Becker -Date: Thu, 3 Feb 2022 22:46:41 +0000 -Subject: [PATCH] jitterentropy: Include and - -* random/jitterentropy-base-user.h: Include for O_RDONLY -* random/jitterentropy-base-user.h: Include for LONG_MAX - --- - -Fixes the build with musl libc. - -Signed-off-by: Heiko Becker - -[Retrieved from: -https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=ffaef0be613121d3ee37867d82932a7a30c2bc6d] -Signed-off-by: Fabrice Fontaine ---- - random/jitterentropy-base-user.h | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/random/jitterentropy-base-user.h b/random/jitterentropy-base-user.h -index 326dfbed..389106ff 100644 ---- a/random/jitterentropy-base-user.h -+++ b/random/jitterentropy-base-user.h -@@ -39,6 +39,9 @@ - * DAMAGE. - */ - -+#include -+#include -+ - #ifndef GCRYPT_JITTERENTROPY_BASE_USER_H - #define GCRYPT_JITTERENTROPY_BASE_USER_H - --- -2.11.0 - diff --git a/package/libgcrypt/libgcrypt.hash b/package/libgcrypt/libgcrypt.hash index 2ea4d74c2..96f5e6b76 100644 --- a/package/libgcrypt/libgcrypt.hash +++ b/package/libgcrypt/libgcrypt.hash @@ -1,5 +1,5 @@ # Locally calculated after checking signature -# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.0.tar.bz2.sig +# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.1.tar.bz2.sig # using key 6DAA6E64A76D2840571B4902528897B826403ADA -sha256 6a00f5c05caa4c4acc120c46b63857da0d4ff61dc4b4b03933fa8d46013fae81 libgcrypt-1.10.0.tar.bz2 +sha256 ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de libgcrypt-1.10.1.tar.bz2 sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index c6c88f607..f28552c6e 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBGCRYPT_VERSION = 1.10.0 +LIBGCRYPT_VERSION = 1.10.1 LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 LIBGCRYPT_LICENSE = LGPL-2.1+ LIBGCRYPT_LICENSE_FILES = COPYING.LIB -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:38:49 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:38:49 +0200 Subject: [Buildroot] [PATCH] package/moarvm: bump to version 2022.04 Message-ID: <20220426113849.3544812-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/moarvm/moarvm.hash | 2 +- package/moarvm/moarvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/moarvm/moarvm.hash b/package/moarvm/moarvm.hash index 58e3ce8ac..31d91457e 100644 --- a/package/moarvm/moarvm.hash +++ b/package/moarvm/moarvm.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 4f93cdce6b8a565a32282bb38cc971cefeb71f5d022c850c338ee8145574ee96 MoarVM-2022.02.tar.gz +sha256 ae06f50ba5562721a4e5eb6457e2fea2d07eda63e2abaa8c939c9daf70774804 MoarVM-2022.04.tar.gz sha256 c53c6b96081b0a5b9b2fb4d0133d55c20e5e00e4c127ade62f03434ee7b3d2de Artistic2.txt diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk index db336bfe4..1408f161f 100644 --- a/package/moarvm/moarvm.mk +++ b/package/moarvm/moarvm.mk @@ -4,7 +4,7 @@ # ################################################################################ -MOARVM_VERSION = 2022.02 +MOARVM_VERSION = 2022.04 MOARVM_SITE = http://moarvm.com/releases MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz MOARVM_LICENSE = Artistic-2.0 -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:39:05 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:39:05 +0200 Subject: [Buildroot] [PATCH] package/pciutils: bump to version 3.8.0 Message-ID: <20220426113905.3544867-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/pciutils/pciutils.hash | 2 +- package/pciutils/pciutils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pciutils/pciutils.hash b/package/pciutils/pciutils.hash index 4b13c7484..0b66b8258 100644 --- a/package/pciutils/pciutils.hash +++ b/package/pciutils/pciutils.hash @@ -1,3 +1,3 @@ # From https://www.kernel.org/pub/software/utils/pciutils/sha256sums.asc -sha256 9d40b97be8b6a2cdf96aead5a61881d1f7e4e0da9544a9bac4fba1ae9dcd40eb pciutils-3.7.0.tar.xz +sha256 91edbd0429a84705c9ad156d4ff38ccc724d41ea54c4c5b88e38e996f8a34f05 pciutils-3.8.0.tar.xz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index 67defcc74..c1445968b 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -4,7 +4,7 @@ # ################################################################################ -PCIUTILS_VERSION = 3.7.0 +PCIUTILS_VERSION = 3.8.0 PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz PCIUTILS_INSTALL_STAGING = YES -- 2.32.0 From fperrad at gmail.com Tue Apr 26 11:39:20 2022 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 26 Apr 2022 13:39:20 +0200 Subject: [Buildroot] [PATCH] package/strace: bump to version 5.17 Message-ID: <20220426113920.3544925-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/strace/strace.hash | 4 ++-- package/strace/strace.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/strace/strace.hash b/package/strace/strace.hash index 30c90e8e3..f3567db63 100644 --- a/package/strace/strace.hash +++ b/package/strace/strace.hash @@ -1,5 +1,5 @@ # Locally calculated after checking signature with RSA key 0xA8041FA839E16E36 -# https://strace.io/files/5.16/strace-5.16.tar.xz.asc -sha256 dc7db230ff3e57c249830ba94acab2b862da1fcaac55417e9b85041a833ca285 strace-5.16.tar.xz +# https://strace.io/files/5.17/strace-5.17.tar.xz.asc +sha256 5fb298dbd1331fd1e1bc94c5c32395860d376101b87c6cd3d1ba9f9aa15c161f strace-5.17.tar.xz sha256 d92f973d08c8466993efff1e500453add0c038c20b4d2cbce3297938a296aea9 COPYING sha256 7c379436436a562834aa7d2f5dcae1f80a25230fa74201046ca1fba4367d39aa LGPL-2.1-or-later diff --git a/package/strace/strace.mk b/package/strace/strace.mk index c8c3590f6..cbd737e12 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -4,7 +4,7 @@ # ################################################################################ -STRACE_VERSION = 5.16 +STRACE_VERSION = 5.17 STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz STRACE_SITE = https://strace.io/files/$(STRACE_VERSION) STRACE_LICENSE = LGPL-2.1+ -- 2.32.0 From baruch at tkos.co.il Tue Apr 26 17:14:17 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 26 Apr 2022 20:14:17 +0300 Subject: [Buildroot] [PATCH 1/3] package/elf2flt: update to version 2021.08 In-Reply-To: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> References: <20220426153726.312870-1-thomas.petazzoni@bootlin.com> Message-ID: <87fslz22br.fsf@tarshish> Hi Thomas, On Tue, Apr 26 2022, Thomas Petazzoni via buildroot wrote: > diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > similarity index 88% > rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch > rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > index 16d5633385..ba72afa85c 100644 > --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch > +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > @@ -1,7 +1,7 @@ > -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 > +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 > From: Romain Naour > Date: Wed, 5 Feb 2020 10:31:32 +0100 > -Subject: [PATCH] elf2flt: handle binutils >= 2.34 > +Subject: [PATCH 1/2] elf2flt: handle binutils >= 2.34 We usually don't like in-patch numbering. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From fontaine.fabrice at gmail.com Tue Apr 26 17:15:59 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 19:15:59 +0200 Subject: [Buildroot] [PATCH 1/2] package/libpri: fix static build Message-ID: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> pritest, rosetest and testprilib needs a static library and pridump needs a dynamic library resulting in the following static build failure since the addition of the package in commit a77f356b78f9134227f9702a1eb09c3203c42d88: /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -fPIC -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -static -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o /home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/aarch64_be-buildroot-linux-uclibc/10.3.0/../../../../aarch64_be-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-15/output-1/host/aarch64_be-buildroot-linux-uclibc/sysroot/lib/../lib64/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0xd0): undefined reference to `__fini_array_start' Fixes: - http://autobuild.buildroot.org/results/1217922af3a72646ae242c2c4dec22ead7883b91 Signed-off-by: Fabrice Fontaine --- package/libpri/libpri.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index e1fa2abcf5..34d84393c4 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -17,6 +17,7 @@ LIBPRI_INSTALL_STAGING = YES # So we need to explicitly build only what we can. ifneq ($(BR2_SHARED_LIBS),y) LIBPRI_LIBS = libpri.a +LIBPRI_UTILS += pritest rosetest testprilib define LIBPRI_INSTALL_A $(INSTALL) -D -m 0644 $(@D)/libpri.a $(1)/usr/lib/libpri.a endef @@ -24,14 +25,13 @@ endif ifneq ($(BR2_STATIC_LIBS),y) LIBPRI_LIBS += libpri.so.1.4 +LIBPRI_UTILS += pridump define LIBPRI_INSTALL_SO $(INSTALL) -D -m 0644 $(@D)/libpri.so.1.4 $(1)/usr/lib/libpri.so.1.4 ln -sf libpri.so.1.4 $(1)/usr/lib/libpri.so endef endif -LIBPRI_UTILS = pridump pritest rosetest testprilib - define LIBPRI_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \ -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 26 17:16:00 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 19:16:00 +0200 Subject: [Buildroot] [PATCH 2/2] package/libpri: bump to version 1.6.0 In-Reply-To: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> References: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> Message-ID: <20220426171600.2552919-2-fontaine.fabrice@gmail.com> Update indentation in hash file (two spaces) http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.6.0-summary.html Signed-off-by: Fabrice Fontaine --- package/libpri/libpri.hash | 4 ++-- package/libpri/libpri.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libpri/libpri.hash b/package/libpri/libpri.hash index 47c4a00307..77985df96a 100644 --- a/package/libpri/libpri.hash +++ b/package/libpri/libpri.hash @@ -1,6 +1,6 @@ # sha1 and sha256 from http://downloads.asterisk.org/pub/telephony/libpri/releases/ -sha1 63536f3300fb007dfd5fe8064406992ca938bd9a libpri-1.5.0.tar.gz -sha256 ee224bc4aa65c54546bd09675c3f0b71817ce9e277332bce86989d8dcd556a24 libpri-1.5.0.tar.gz +sha1 8440007477ebf131020afb00f57672b108b4db2c libpri-1.6.0.tar.gz +sha256 7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6 libpri-1.6.0.tar.gz # License files, locally calculated sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index 34d84393c4..48a1019210 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBPRI_VERSION = 1.5.0 +LIBPRI_VERSION = 1.6.0 LIBPRI_SITE = http://downloads.asterisk.org/pub/telephony/libpri/releases LIBPRI_LICENSE = GPL-2.0 with OpenH323 exception -- 2.35.1 From fontaine.fabrice at gmail.com Tue Apr 26 17:21:29 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 19:21:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: fix static build Message-ID: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> Fix the following static build failure: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here Fixes: - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 Signed-off-by: Fabrice Fontaine --- ...nel-fs-declare-int-openlog-as-static.patch | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch diff --git a/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch new file mode 100644 index 0000000000..ae10bfcfdd --- /dev/null +++ b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch @@ -0,0 +1,77 @@ +From 002ca0320cd2c5e1515bf202f470d4becdf01532 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 24 Apr 2022 21:56:36 +0200 +Subject: [PATCH] testcases/kernel/fs: declare int openlog as static + +Declare int openlog as static to avoid the following build failure when +building statically (e.g. on buildroot): + +/nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': +syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here + +Fixes: + - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 + +Signed-off-by: Fabrice Fontaine +Reviewed-by: Cyril Hrubis +[Retrieved from: +https://github.com/linux-test-project/ltp/commit/002ca0320cd2c5e1515bf202f470d4becdf01532] +--- + testcases/kernel/fs/fs-bench/random-access-del-create.c | 2 -- + testcases/kernel/fs/fs-bench/random-access.c | 2 +- + testcases/kernel/fs/fs-bench/random-del-create.c | 2 +- + testcases/kernel/fs/scsi/ltpfs/main.c | 2 +- + 4 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/testcases/kernel/fs/fs-bench/random-access-del-create.c b/testcases/kernel/fs/fs-bench/random-access-del-create.c +index 1f62a76b5e..1878fd78b5 100644 +--- a/testcases/kernel/fs/fs-bench/random-access-del-create.c ++++ b/testcases/kernel/fs/fs-bench/random-access-del-create.c +@@ -11,8 +11,6 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; +- + #define MAXNUM 0x100000 + + #define MAXERROR 1024 +diff --git a/testcases/kernel/fs/fs-bench/random-access.c b/testcases/kernel/fs/fs-bench/random-access.c +index cf41d6e81c..c2f32b86e7 100644 +--- a/testcases/kernel/fs/fs-bench/random-access.c ++++ b/testcases/kernel/fs/fs-bench/random-access.c +@@ -11,7 +11,7 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + #define MAXNUM 0x100000 + +diff --git a/testcases/kernel/fs/fs-bench/random-del-create.c b/testcases/kernel/fs/fs-bench/random-del-create.c +index 0a86f976f3..345031f283 100644 +--- a/testcases/kernel/fs/fs-bench/random-del-create.c ++++ b/testcases/kernel/fs/fs-bench/random-del-create.c +@@ -11,7 +11,7 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + #define MAXNUM 0x100000 + +diff --git a/testcases/kernel/fs/scsi/ltpfs/main.c b/testcases/kernel/fs/scsi/ltpfs/main.c +index 2c67c7a478..90a5531ac3 100644 +--- a/testcases/kernel/fs/scsi/ltpfs/main.c ++++ b/testcases/kernel/fs/scsi/ltpfs/main.c +@@ -38,7 +38,7 @@ int startc = 0; + int showchar[] = { 124, 47, 45, 92, 124, 47, 45, 92 }; + + int nullFileHandle; +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + int cFileCount, dFileCount, errorCount; + static int disk_space_pool = 0; -- 2.35.1 From baruch at tkos.co.il Tue Apr 26 17:16:12 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 26 Apr 2022 20:16:12 +0300 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils In-Reply-To: <20220426132833.1579873-1-salvador.joseluis@gmail.com> References: <20220426132833.1579873-1-salvador.joseluis@gmail.com> Message-ID: <87bkwn21vp.fsf@tarshish> Hi Jos?, On Tue, Apr 26 2022, Jos? Luis Salvador Rufo wrote: > Patch title: docs/manual/prerequisite.txt: add diffutils No need for this line in the commit log body. The email subject line appears as head line of the git commit once applied. > The command `cmp` is used by `package/pkg-generic.mk` at commit > 8623cc5deb5. This command is provided by `diffutils`. Actually, we have host-diffutils, so we can build cmp if the host does not have it installed. All we need is support added under support/dependencies/ like a few other utilities. We also don't list findutils as prerequisite, even though we rely heavily on the 'find' utility. baruch > Signed-off-by: Jos? Luis Salvador Rufo > --- > docs/manual/prerequisite.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/docs/manual/prerequisite.txt b/docs/manual/prerequisite.txt > index 40071491f8..763fe79041 100644 > --- a/docs/manual/prerequisite.txt > +++ b/docs/manual/prerequisite.txt > @@ -23,6 +23,7 @@ between distributions). > ** +make+ (version 3.81 or any later) > ** +binutils+ > ** +build-essential+ (only for Debian based systems) > +** +diffutils+ > ** +gcc+ (version 4.8 or any later) > ** `g++` (version 4.8 or any later) > ** +bash+ -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From f.fainelli at gmail.com Tue Apr 26 17:32:09 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Tue, 26 Apr 2022 10:32:09 -0700 Subject: [Buildroot] [PATCH v2 0/2] External GCC12 toolchain support Message-ID: <20220426173211.64840-1-f.fainelli@gmail.com> This patch series allows us to use Linaro's GCC12 snapshot that can be downloaded from here: https://snapshots.linaro.org/gnu-toolchain/12.0-2021.10-1/aarch64-linux-gnu/ Changes in v2: - rebased against master Florian Fainelli (2): toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option toolchain/toolchain-external/toolchain-external-custom: add gcc 12 version selection toolchain/Config.in | 11 +++++++++-- .../toolchain-external-custom/Config.in.options | 4 ++++ 2 files changed, 13 insertions(+), 2 deletions(-) -- 2.25.1 From f.fainelli at gmail.com Tue Apr 26 17:32:10 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Tue, 26 Apr 2022 10:32:10 -0700 Subject: [Buildroot] [PATCH v2 1/2] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option In-Reply-To: <20220426173211.64840-1-f.fainelli@gmail.com> References: <20220426173211.64840-1-f.fainelli@gmail.com> Message-ID: <20220426173211.64840-2-f.fainelli@gmail.com> In order to add gcc 12 support for internal and external toolchain in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_12 symbol. Signed-off-by: Florian Fainelli --- toolchain/Config.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index d2c81217c84a..b572a89f2f85 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -117,7 +117,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ - BR2_TOOLCHAIN_GCC_AT_LEAST_11 + BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no # longer exists in gcc 8.x. @@ -150,7 +151,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 bool default y if BR2_sh - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no # longer exists in gcc 8.x. @@ -698,10 +700,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_11 bool select BR2_TOOLCHAIN_GCC_AT_LEAST_10 +config BR2_TOOLCHAIN_GCC_AT_LEAST_12 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_GCC_AT_LEAST string + default "12" if BR2_TOOLCHAIN_GCC_AT_LEAST_12 default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11 default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10 default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9 -- 2.25.1 From f.fainelli at gmail.com Tue Apr 26 17:32:11 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Tue, 26 Apr 2022 10:32:11 -0700 Subject: [Buildroot] [PATCH v2 2/2] toolchain/toolchain-external/toolchain-external-custom: add gcc 12 version selection In-Reply-To: <20220426173211.64840-1-f.fainelli@gmail.com> References: <20220426173211.64840-1-f.fainelli@gmail.com> Message-ID: <20220426173211.64840-3-f.fainelli@gmail.com> This patch allows to use an external toolchain based on gcc 12. Signed-off-by: Florian Fainelli --- .../toolchain-external-custom/Config.in.options | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 9346fa3feb75..683204e56ebd 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -31,6 +31,10 @@ choice Set to the gcc version that is used by your external toolchain. +config BR2_TOOLCHAIN_EXTERNAL_GCC_12 + bool "12.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_12 + config BR2_TOOLCHAIN_EXTERNAL_GCC_11 bool "11.x" select BR2_TOOLCHAIN_GCC_AT_LEAST_11 -- 2.25.1 From fontaine.fabrice at gmail.com Tue Apr 26 17:34:03 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 19:34:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/libevent: fix build with libressl >= 3.5.0 Message-ID: <20220426173403.545488-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: In file included from bufferevent_openssl.c:68: bufferevent_openssl.c: In function 'bio_bufferevent_free': openssl-compat.h:44:28: error: invalid use of incomplete typedef 'BIO' {aka 'struct bio_st'} 44 | #define BIO_get_init(b) (b)->init | ^~ bufferevent_openssl.c:124:7: note: in expansion of macro 'BIO_get_init' 124 | if (BIO_get_init(b) && BIO_get_data(b)) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/273f9aa354a08ef3af6140b8dec086408bf5d574 Signed-off-by: Fabrice Fontaine --- ...define-BIO_get_init-for-LibreSSL-3-5.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch diff --git a/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch new file mode 100644 index 0000000000..33c349b11d --- /dev/null +++ b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch @@ -0,0 +1,29 @@ +From 883630f76cbf512003b81de25cd96cb75c6cf0f9 Mon Sep 17 00:00:00 2001 +From: Theo Buehler +Date: Sun, 21 Nov 2021 21:38:20 +0100 +Subject: [PATCH] Don't define BIO_get_init() for LibreSSL 3.5+ + +BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type +will become opaque, so the existing macro will break the build. + +[Retrieved from: +https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9] +Signed-off-by: Fabrice Fontaine +--- + openssl-compat.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/openssl-compat.h b/openssl-compat.h +index a23e34251b..f5de25539f 100644 +--- a/openssl-compat.h ++++ b/openssl-compat.h +@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name) + #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */ + +-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && \ ++ LIBRESSL_VERSION_NUMBER < 0x30500000L + #define BIO_get_init(b) (b)->init + #endif + -- 2.35.1 From james.hilliard1 at gmail.com Tue Apr 26 17:41:37 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 11:41:37 -0600 Subject: [Buildroot] [PATCH 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency Message-ID: <20220426174137.3014322-1-james.hilliard1@gmail.com> Fixes: - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 Signed-off-by: James Hilliard --- package/wilc-driver/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in index caf46ae281..6b93a23a47 100644 --- a/package/wilc-driver/Config.in +++ b/package/wilc-driver/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_WILC_DRIVER bool "wilc kernel module" + depends on BR2_LINUX_KERNEL help External kernel module for WILC1000/3000 devices. -- 2.25.1 From kris at embeddedTS.com Tue Apr 26 17:47:56 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Tue, 26 Apr 2022 10:47:56 -0700 Subject: [Buildroot] [PATCH 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency In-Reply-To: <20220426174137.3014322-1-james.hilliard1@gmail.com> References: <20220426174137.3014322-1-james.hilliard1@gmail.com> Message-ID: <1650995276.4452.1.camel@embeddedTS.com> On Tue, 2022-04-26 at 11:41 -0600, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 > > Signed-off-by: James Hilliard > --- > package/wilc-driver/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in > index caf46ae281..6b93a23a47 100644 > --- a/package/wilc-driver/Config.in > +++ b/package/wilc-driver/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_WILC_DRIVER > bool "wilc kernel module" > + depends on BR2_LINUX_KERNEL > help > External kernel module for WILC1000/3000 devices. > Reviewed-by: Kris Bahnsen From thomas.petazzoni at bootlin.com Tue Apr 26 18:42:33 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 20:42:33 +0200 Subject: [Buildroot] [PATCH v2 1/2] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option In-Reply-To: <20220426173211.64840-2-f.fainelli@gmail.com> References: <20220426173211.64840-1-f.fainelli@gmail.com> <20220426173211.64840-2-f.fainelli@gmail.com> Message-ID: <20220426204233.77ed8bc5@windsurf> Hello Florian, Thanks for the patch! I hope you're doing well :-) On Tue, 26 Apr 2022 10:32:10 -0700 Florian Fainelli wrote: > In order to add gcc 12 support for internal and external toolchain > in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_12 symbol. > > Signed-off-by: Florian Fainelli > --- > toolchain/Config.in | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/toolchain/Config.in b/toolchain/Config.in > index d2c81217c84a..b572a89f2f85 100644 > --- a/toolchain/Config.in > +++ b/toolchain/Config.in > @@ -117,7 +117,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 > depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ > BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ > BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ > - BR2_TOOLCHAIN_GCC_AT_LEAST_11 > + BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ > + BR2_TOOLCHAIN_GCC_AT_LEAST_12 > > # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no > # longer exists in gcc 8.x. > @@ -150,7 +151,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 > config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 > bool > default y if BR2_sh > - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 > + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ > + BR2_TOOLCHAIN_GCC_AT_LEAST_12 Did you verify that these two bugs still affected gcc 12.x ? Thanks, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Tue Apr 26 19:19:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 21:19:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/linknx: fix build with argp-standalone and NLS Message-ID: <20220426191934.2738310-1-fontaine.fabrice@gmail.com> Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:7799: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xtensa-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:179: undefined reference to `libintl_dgettext' [...] checking for library containing argp_parse... no configure: error: argp_parse not found Fixes: - http://autobuild.buildroot.org/results/ce5753193ec4518c75ee0ab9270b577397ca1c02 Signed-off-by: Fabrice Fontaine --- package/linknx/linknx.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk index dbee0742fe..dcfcd5e3f5 100644 --- a/package/linknx/linknx.mk +++ b/package/linknx/linknx.mk @@ -23,7 +23,10 @@ LINKNX_DEPENDENCIES = \ host-pkgconf \ libpthsem \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ + $(TARGET_NLS_DEPENDENCIES) + +LINKNX_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_LIBCURL),y) LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr -- 2.35.1 From petr.vorel at gmail.com Tue Apr 26 19:54:19 2022 From: petr.vorel at gmail.com (Petr Vorel) Date: Tue, 26 Apr 2022 21:54:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: fix static build In-Reply-To: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> References: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> Message-ID: Hi Fabrice, Reviewed-by: Petr Vorel Thanks for backporting your fix! Kind regards, Petr From petr.vorel at gmail.com Tue Apr 26 20:22:16 2022 From: petr.vorel at gmail.com (Petr Vorel) Date: Tue, 26 Apr 2022 22:22:16 +0200 Subject: [Buildroot] Removing BR2_SHARED_STATIC_LIBS [was: [PATCH 1/1] package/pkgconf: fix BR2_SHARED_STATIC_LIBS build] In-Reply-To: <56cf3cb2-d00b-b957-8b0b-2a095e5797a0@mind.be> References: <20220416211323.3200669-1-fontaine.fabrice@gmail.com> <8e85d9ce-f8d9-6f76-37f2-664b9c0db08a@mind.be> <20220424163350.GX2730@scaer> <56cf3cb2-d00b-b957-8b0b-2a095e5797a0@mind.be> Message-ID: > On 24/04/2022 18:33, Yann E. MORIN wrote: > [snip] > > I have always been a bit confused on how BR2_SHARED_STATIC_LIBS was > > supposed to work, to be honest... Sure, it meant we wanted to _build_ > > both the static and shared libs. > The problem is that it only actually works for autotools packages. They are > still dominant (more than 1/3 of all packages), but diminishing fast and > many "headline" packages are no longer autotools. I don't really like to > have an option that doesn't even work for most packages. That IMHO justifies removing this option. Kind regards, Petr > Regards, > Arnout > > But how were we going to tell packages > > whether they were supposed to link staticially or not? > > Surely we do not want a per-package option... Then we're left with > > deciding at the package's .mk level, by hard-coding some heuristic to > > decide. > > In upstream, we have no such case where we'd want a package to be > > statically linked even in the presence of shared libraries (maybe the > > the exception being busybox, for those who want to cheaply build an > > initrd before pivoting in the final rootfs, but that can be done with > > a config fragment or a custom config file in any case). > > This leaves out-of-tree packages. > > In that case, there can be tons of reasons to prefer a static link even > > in the presence of shared libraries. > > So, the real quesiton is whether we want to support that use-case or > > not. > > If we do, then we need to keep BR2_SHARED_STATIC_LIBS and fix those > > packages that misbehave in its presence, like done for dropbear. > > Regards, > > Yann E. MORIN. From fontaine.fabrice at gmail.com Tue Apr 26 20:30:36 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 22:30:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/openobex: fix static with libusb and libatomic Message-ID: <20220426203036.2446167-1-fontaine.fabrice@gmail.com> Force LibUSB_VERSION_1.0 to ON to fix the following static build failure with libusb and libatomic: -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a - not found [...] /nvmedata/autobuild/instance-4/output-1/build/openobex-1.7.2/lib/transport/usbobex.h:30:10: fatal error: usb.h: No such file or directory 30 | #include | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/52b0edc4278f65fb4a9671b65c655cc4544a3103 Signed-off-by: Fabrice Fontaine --- package/openobex/openobex.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk index bc4a47e3d7..7109bffa8d 100644 --- a/package/openobex/openobex.mk +++ b/package/openobex/openobex.mk @@ -20,6 +20,7 @@ OPENOBEX_DEPENDENCIES += bluez5_utils endif ifeq ($(BR2_PACKAGE_LIBUSB),y) +OPENOBEX_CONF_OPTS += -DLibUSB_VERSION_1.0=ON OPENOBEX_DEPENDENCIES += libusb endif -- 2.35.1 From peter at korsgaard.com Tue Apr 26 20:35:05 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:35:05 +0200 Subject: [Buildroot] =?utf-8?q?=5Bgit_commit=5D_DEVELOPERS=3A_drop_Myl?= =?utf-8?q?=C3=A8ne_Josserand?= In-Reply-To: <20220413120023.7233583C28@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Wed, 13 Apr 2022 14:09:07 +0200") References: <20220413120023.7233583C28@busybox.osuosl.org> Message-ID: <87o80nk2h2.fsf@dell.be.48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: > https://git.buildroot.net/buildroot/commit/?id=4a9157705a5fec20a5a3aa47f7ea6bf4c95942ae > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Her e-mail address at Collabora is bouncing: > host bhuna.collabora.co.uk[/private/dovecot-lmtp] said: 550 5.1.1 > User doesn't exist: mylene.josserand at collabora.com > Signed-off-by: Thomas Petazzoni Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:45:25 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:45:25 +0200 Subject: [Buildroot] [PATCH] package/wireplumber: make dbus optional In-Reply-To: <20220411130106.468304-1-theo.lebrun@bootlin.com> (=?utf-8?Q?=22Th=C3=A9o?= Lebrun via buildroot"'s message of "Mon, 11 Apr 2022 15:01:06 +0200") References: <20220411130106.468304-1-theo.lebrun@bootlin.com> Message-ID: <87k0bbk1zu.fsf@dell.be.48ers.dk> >>>>> "Th?o" == Th?o Lebrun via buildroot writes: > Signed-off-by: Th?o Lebrun Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:46:19 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:46:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/polkit: fix build without C++ In-Reply-To: <20220406163300.4006892-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 6 Apr 2022 18:33:00 +0200") References: <20220406163300.4006892-1-fontaine.fabrice@gmail.com> Message-ID: <87fslzk1yc.fsf@dell.be.48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure raised since switch to meson-package in > commit 1db13226394ff7e6f5e7ca643e275f35d6c633bb and > https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: > The following exception(s) were encountered: > Running > "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ > --version" gave "[Errno 2] No such file or directory: > '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" > Fixes: > - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a > Signed-off-by: Fabrice Fontaine Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:49:06 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:49:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop versioned layout In-Reply-To: <9406710d-ed6f-d0cd-4a7a-60480a4d4872@mind.be> (Arnout Vandecappelle's message of "Thu, 14 Apr 2022 21:27:24 +0200") References: <20220406172934.4009018-1-fontaine.fabrice@gmail.com> <9406710d-ed6f-d0cd-4a7a-60480a4d4872@mind.be> Message-ID: <87bkwnk1tp.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: > On 06/04/2022 19:29, Fabrice Fontaine wrote: >> boost.m4 embedded by cc-tool is not able to find boost libraries when >> they are versionned (e.g. libboost_program_options-gcc9-mt-sd-1_78.a): >> configure: error: cannot find the flags to link with Boost >> program_options >> azmq and i2pd also have the same issue: >> CMake Error at >> /nvmedata/autobuild/instance-8/output-1/host/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 >> (message): >> Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time thread >> chrono random) (Required is at least version "1.48") >> So drop versioned layout option > This is probably going to cause problems for some custom packages > that have a simple build system that assumes the versioned layout. Oh > well, bad luck. So what do we do for 2022.02.x? We presumably have the same issue there. Drop it as well? -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:49:56 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:49:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/qemu: fix host-qemu compilation with recent GCC In-Reply-To: <20220406211034.3672-1-dariobin@libero.it> (Dario Binacchi via buildroot's message of "Wed, 6 Apr 2022 23:10:34 +0200") References: <20220406211034.3672-1-dariobin@libero.it> Message-ID: <877d7bk1sb.fsf@dell.be.48ers.dk> >>>>> "Dario" == Dario Binacchi via buildroot writes: > Fixes: > cc1: error: ?-fcf-protection? is not compatible with this target > The new Ubuntu GCC packages (e.g. Ubuntu 11.2.0-7ubuntu2, 11.2.0) turn > on ?-fcf-protection? globally, which causes a build failure in the x86 > realmode code. Turn it off explicitly on compilers that understand this > option. > Signed-off-by: Dario Binacchi > Signed-off-by: Dario Binacchi Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Apr 26 20:49:33 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:49:33 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/qemu: fix host-qemu compilation with Ubuntu GCC 11 Message-ID: <20220426203953.D5496844EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dfb3203bb81f1a7f0b562c12dae77f2b9a7635de branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fixes: cc1: error: ???-fcf-protection??? is not compatible with this target The new Ubuntu GCC packages (e.g. Ubuntu 11.2.0-7ubuntu2, 11.2.0) turn on ???-fcf-protection??? globally, which causes a build failure in the x86 realmode code. Turn it off explicitly on compilers that understand this option. Signed-off-by: Dario Binacchi Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 213629f2d3050465d2a6cb6842d056f71648fe55) Signed-off-by: Peter Korsgaard --- ...d-disable-fcf-protection-on-march-486-m16.patch | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch b/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch new file mode 100644 index 0000000000..7595d31c8d --- /dev/null +++ b/package/qemu/0002-build-disable-fcf-protection-on-march-486-m16.patch @@ -0,0 +1,50 @@ +From 9584d3d00a454f47b0341465142bcf0735d734ae Mon Sep 17 00:00:00 2001 +From: Christian Ehrhardt +Date: Wed, 23 Mar 2022 10:07:13 +0100 +Subject: [PATCH] build: disable fcf-protection on -march=486 -m16 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Some of the roms build with -march=i486 -m16 which is incompatible +with -fcf-protection. That in turn is can be set by default, for +example in Ubuntu [1]. +That causes: + cc1: error: ???-fcf-protection??? is not compatible with this target + +This won't work on -march=i486 -m16 and no matter if set or not we can +override it to "none" if the option is known to the compiler to be +able to build reliably. + +Fixes: https://gitlab.com/qemu-project/qemu/-/issues/889 + +[1]: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection + +Signed-off-by: Christian Ehrhardt +Reviewed-by: Philippe Mathieu-Daud?? +Reviewed-by: Thomas Huth +Message-Id: <20220323090713.1002588-1-christian.ehrhardt at canonical.com> +Signed-off-by: Paolo Bonzini +Signed-off-by: Dario Binacchi +--- + pc-bios/optionrom/Makefile | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile +index 5d55d25acca2..f1ef89807355 100644 +--- a/pc-bios/optionrom/Makefile ++++ b/pc-bios/optionrom/Makefile +@@ -14,6 +14,10 @@ cc-option = $(if $(shell $(CC) $1 -c -o /dev/null -xc /dev/null >/dev/null 2>&1 + + override CFLAGS += -march=i486 -Wall + ++# If -fcf-protection is enabled in flags or compiler defaults that will ++# conflict with -march=i486 ++override CFLAGS += $(call cc-option, -fcf-protection=none) ++ + # Flags for dependency generation + override CPPFLAGS += -MMD -MP -MT $@ -MF $(@D)/$(*F).d + +-- +2.32.0 + From peter at korsgaard.com Tue Apr 26 20:41:42 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:41:42 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/wireplumber: fix package by making the dbus dependency optional Message-ID: <20220426203953.BBF2A844EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=76c8a1ca741bbb005d1522fcdbb7976576cdb729 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x The wireplumber currently as "dbus" in its DEPENDENCIES, but it does not select/depend on it at the Kconfig level. A simple configuration such as: BR2_PACKAGE_LUA=y BR2_PACKAGE_PIPEWIRE=y BR2_PACKAGE_WIREPLUMBER=y Therefore fails to build with: Makefile:576: *** dbus is in the dependency chain of wireplumber that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop. Since dbus is actually an optional dependency of wireplumber, this commit fixes the issue by really handling it as an optional dependency. Fixes: c9a3c10417aadce9ee4922e30235776409ce8eb3 ("package/wireplumber: new package") Signed-off-by: Th??o Lebrun Signed-off-by: Thomas Petazzoni (cherry picked from commit 2699eb563156f6e9282342534122cf08ed7a0c25) Signed-off-by: Peter Korsgaard --- package/wireplumber/wireplumber.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/wireplumber/wireplumber.mk b/package/wireplumber/wireplumber.mk index 37a8de5364..674af3d392 100644 --- a/package/wireplumber/wireplumber.mk +++ b/package/wireplumber/wireplumber.mk @@ -9,13 +9,17 @@ WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2 WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION) WIREPLUMBER_LICENSE = MIT WIREPLUMBER_LICENSE_FILES = LICENSE -WIREPLUMBER_DEPENDENCIES = host-pkgconf dbus pipewire libglib2 lua +WIREPLUMBER_DEPENDENCIES = host-pkgconf pipewire libglib2 lua WIREPLUMBER_CONF_OPTS = \ -Ddoc=disabled \ -Dsystem-lua=true \ -Dsystem-lua-version= +ifeq ($(BR2_PACKAGE_DBUS),y) +WIREPLUMBER_DEPENDENCIES += dbus +endif + ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) WIREPLUMBER_DEPENDENCIES += host-doxygen host-python-lxml gobject-introspection WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled From peter at korsgaard.com Tue Apr 26 20:40:43 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:40:43 +0200 Subject: [git commit branch/2022.02.x] DEVELOPERS: drop Mylène Josserand Message-ID: <20220426203953.AE65E844EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5d58fb7df673637199ec10070080e0d8d9978f50 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Her e-mail address at Collabora is bouncing: host bhuna.collabora.co.uk[/private/dovecot-lmtp] said: 550 5.1.1 User doesn't exist: mylene.josserand at collabora.com Signed-off-by: Thomas Petazzoni (cherry picked from commit 4a9157705a5fec20a5a3aa47f7ea6bf4c95942ae) Signed-off-by: Peter Korsgaard --- DEVELOPERS | 3 --- 1 file changed, 3 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 26719370bd..175340cd99 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2069,9 +2069,6 @@ N: Murat Demirten F: package/jpeg-turbo/ F: package/libgeotiff/ -N: Myl??ne Josserand -F: package/rtl8723bu/ - N: Nathaniel Roach F: package/bandwidthd/ F: package/libgudev/ From peter at korsgaard.com Tue Apr 26 20:45:58 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 26 Apr 2022 22:45:58 +0200 Subject: [Buildroot] [git commit branch/2022.02.x] package/polkit: fix build without C++ Message-ID: <20220426203953.C826E844EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f7b3a8bf07413b05724eb043eebb1169214061d8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Fix the following build failure raised since switch to meson-package in commit 1db13226394ff7e6f5e7ca643e275f35d6c633bb and https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Fixes: - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 2a92509f50bb3eae972cf2f32cf3af38b2736413) Signed-off-by: Peter Korsgaard --- package/polkit/0003-fix-build-without-C.patch | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/package/polkit/0003-fix-build-without-C.patch b/package/polkit/0003-fix-build-without-C.patch new file mode 100644 index 0000000000..8e16de256c --- /dev/null +++ b/package/polkit/0003-fix-build-without-C.patch @@ -0,0 +1,50 @@ +From abbc04f6f3acfc2dfa34b1c07decaa658786e142 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 18:33:08 +0200 +Subject: [PATCH] fix build without C++ + +Fix the following build failure without C++ raised since +https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: + +The following exception(s) were encountered: +Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Indeed, C++ is only required with mozjs engine + +Fixes: + - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.freedesktop.org/polkit/polkit/-/commit/abbc04f6f3acfc2dfa34b1c07decaa658786e142] +--- + meson.build | 2 +- + src/polkitbackend/meson.build | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index c6765fd..da60930 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,5 +1,5 @@ + project( +- 'polkit', ['c', 'cpp'], ++ 'polkit', ['c'], + version: '0.120', + license: 'LGPL2+', + default_options: [ +diff --git a/src/polkitbackend/meson.build b/src/polkitbackend/meson.build +index 266f280..7c5d443 100644 +--- a/src/polkitbackend/meson.build ++++ b/src/polkitbackend/meson.build +@@ -38,6 +38,7 @@ if js_engine == 'duktape' + deps += libm_dep + deps += thread_dep + elif js_engine == 'mozjs' ++ add_languages('cpp') + sources += files('polkitbackendjsauthority.cpp') + endif + +-- +GitLab + From fontaine.fabrice at gmail.com Tue Apr 26 20:56:37 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 22:56:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop versioned layout In-Reply-To: <87bkwnk1tp.fsf@dell.be.48ers.dk> References: <20220406172934.4009018-1-fontaine.fabrice@gmail.com> <9406710d-ed6f-d0cd-4a7a-60480a4d4872@mind.be> <87bkwnk1tp.fsf@dell.be.48ers.dk> Message-ID: Le mar. 26 avr. 2022 ? 22:49, Peter Korsgaard a ?crit : > > >>>>> "Arnout" == Arnout Vandecappelle writes: > > > On 06/04/2022 19:29, Fabrice Fontaine wrote: > >> boost.m4 embedded by cc-tool is not able to find boost libraries when > >> they are versionned (e.g. libboost_program_options-gcc9-mt-sd-1_78.a): > >> configure: error: cannot find the flags to link with Boost > >> program_options > >> azmq and i2pd also have the same issue: > >> CMake Error at > >> /nvmedata/autobuild/instance-8/output-1/host/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 > >> (message): > >> Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time thread > >> chrono random) (Required is at least version "1.48") > >> So drop versioned layout option > > > This is probably going to cause problems for some custom packages > > that have a simple build system that assumes the versioned layout. Oh > > well, bad luck. > > So what do we do for 2022.02.x? We presumably have the same issue > there. Drop it as well? IMHO we should drop it as well as the tagged layout. > > -- > Bye, Peter Korsgaard Best Regards, Fabrice From angelo at amarulasolutions.com Tue Apr 26 21:01:28 2022 From: angelo at amarulasolutions.com (Angelo Compagnucci) Date: Tue, 26 Apr 2022 23:01:28 +0200 Subject: [Buildroot] [PATCH] package/htpdate: bump to version 1.3.4 Message-ID: <20220426210128.127336-1-angelo@amarulasolutions.com> Removing also the upstreamed patch. Signed-off-by: Angelo Compagnucci --- ...BS-to-be-configured-from-environment.patch | 37 ------------------- package/htpdate/htpdate.hash | 2 +- package/htpdate/htpdate.mk | 2 +- 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch diff --git a/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch b/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch deleted file mode 100644 index 6dca2babab..0000000000 --- a/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 4ba90fedd553c3b06c925fb6ff5245a5dcabace9 Mon Sep 17 00:00:00 2001 -From: Eddy Vervest -Date: Sat, 29 Jan 2022 10:58:13 +0100 -Subject: [PATCH] Allow SSL_LIBS to be configured from environment - -[Retrieved from: -https://github.com/twekkel/htpdate/commit/4ba90fedd553c3b06c925fb6ff5245a5dcabace9] -Signed-off-by: Fabrice Fontaine ---- - Makefile | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/Makefile b/Makefile -index 4796efa..cf077e6 100644 ---- a/Makefile -+++ b/Makefile -@@ -2,8 +2,9 @@ prefix = $(DESTDIR)/usr - bindir = ${prefix}/sbin - mandir = ${prefix}/share/man - --CC ?= gcc --CFLAGS += -Wall -std=c11 -pedantic -O2 -+CC ?= gcc -+CFLAGS += -Wall -std=c11 -pedantic -O2 -+SSL_LIBS ?= -lssl - - INSTALL ?= install -c - STRIP ?= strip -s -@@ -14,7 +15,7 @@ htpdate: htpdate.c - $(CC) $(CFLAGS) -o htpdate htpdate.c - - https: htpdate.c -- $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c -lssl -+ $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c $(SSL_LIBS) - - install: all - $(STRIP) htpdate diff --git a/package/htpdate/htpdate.hash b/package/htpdate/htpdate.hash index b56522ea99..11e743c569 100644 --- a/package/htpdate/htpdate.hash +++ b/package/htpdate/htpdate.hash @@ -1,3 +1,3 @@ # Locally calculated: -sha256 74f34b013eba6f99369819fa4b3d48e9ab5e531ad04f6af59cc04e8777c76ed7 htpdate-1.3.3.tar.gz +sha256 744f9200cfd3b008a5516c5eb6da727af532255a329126a7b8f49a5623985642 htpdate-1.3.4.tar.gz sha256 7989949df09a0489434723c571541604cd3f2e0418c6a6aa9179bfaf8ec807cc LICENSE diff --git a/package/htpdate/htpdate.mk b/package/htpdate/htpdate.mk index e32480fc85..35ae25929c 100644 --- a/package/htpdate/htpdate.mk +++ b/package/htpdate/htpdate.mk @@ -4,7 +4,7 @@ # ################################################################################ -HTPDATE_VERSION = 1.3.3 +HTPDATE_VERSION = 1.3.4 HTPDATE_SITE = $(call github,twekkel,htpdate,v$(HTPDATE_VERSION)) HTPDATE_LICENSE = GPL-2.0+ HTPDATE_LICENSE_FILES = LICENSE -- 2.34.1 From fontaine.fabrice at gmail.com Tue Apr 26 21:20:26 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 23:20:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptodev-linux: needs CONFIG_CRYPTO_USER_API_AEAD Message-ID: <20220426212026.712081-1-fontaine.fabrice@gmail.com> CONFIG_CRYPTO_USER_API_AEAD is needed to fix the following build failure: ERROR: modpost: "crypto_alloc_skcipher" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "scatterwalk_map_and_copy" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_ahash_final" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_aead_encrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_aead_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_skcipher_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_destroy_tfm" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_skcipher_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_aead_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! ERROR: modpost: "crypto_aead_setauthsize" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! Fixes: - http://autobuild.buildroot.org/results/a06708369c233f6e60a1a3ffd7a77a4edd932c9a Signed-off-by: Fabrice Fontaine --- package/cryptodev-linux/cryptodev-linux.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/cryptodev-linux/cryptodev-linux.mk b/package/cryptodev-linux/cryptodev-linux.mk index f9026053c8..d0c3bc5218 100644 --- a/package/cryptodev-linux/cryptodev-linux.mk +++ b/package/cryptodev-linux/cryptodev-linux.mk @@ -23,5 +23,10 @@ define CRYPTODEV_LINUX_INSTALL_STAGING_CMDS $(STAGING_DIR)/usr/include/crypto/cryptodev.h endef +define CRYPTODEV_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_AEAD) +endef + $(eval $(kernel-module)) $(eval $(generic-package)) -- 2.35.1 From sen at phobosdpl.com Tue Apr 26 21:43:12 2022 From: sen at phobosdpl.com (Sen Hastings) Date: Tue, 26 Apr 2022 16:43:12 -0500 Subject: [Buildroot] [PATCH 1/1] package/systemd: add setting for systemd default.target Message-ID: <6e9f3387-0127-9da0-59d0-2e4123b6be68@phobosdpl.com> This adds the option to set systemd's default.target in the System Configuration subheading if systemd is specified as the init system. The argument for default.target is specified pre-build as opposed to overriding the hardcoded "multi-user.target" symlink with post-build scripts or a rootfs overlay Signed-off-by: Sen Hastings --- package/systemd/systemd.mk | 2 +- system/Config.in | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..2ab5fe47ce 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -571,7 +571,7 @@ SYSTEMD_CONF_OPTS += -Dfallback-hostname=$(SYSTEMD_FALLBACK_HOSTNAME) endif define SYSTEMD_INSTALL_INIT_HOOK - ln -fs multi-user.target \ + ln -fs $(BR2_PACKAGE_SYSTEMD_DEFAULT_TARGET) \ $(TARGET_DIR)/usr/lib/systemd/system/default.target endef diff --git a/system/Config.in b/system/Config.in index a4ffbfa18c..888c24ce81 100644 --- a/system/Config.in +++ b/system/Config.in @@ -154,6 +154,17 @@ source "$BR2_BASE_DIR/.br2-external.in.init" endchoice +config BR2_PACKAGE_SYSTEMD_DEFAULT_TARGET + string "The default unit systemd starts at bootup" + default "multi-user.target" + depends on BR2_INIT_SYSTEMD + help + Specify the name of the unit configuration file to be started + at bootup by systemd. Should end in ".target". + ex: multi-user.target + + https://www.freedesktop.org/software/systemd/man/systemd.special.html#default.target + choice prompt "/dev management" if !BR2_INIT_SYSTEMD default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 21:53:13 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:53:13 +0200 Subject: [Buildroot] [PATCH v2 2/3] package/binutils: re-enable recent versions of binutils for FLAT binaries In-Reply-To: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> References: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> Message-ID: <20220426215315.381964-2-thomas.petazzoni@bootlin.com> Thanks to the bump of elf2flt to version 2021.08, the issue with recent versions of binutils has been fixed, so we can re-enable using the recent binutils versions. Signed-off-by: Thomas Petazzoni --- package/binutils/Config.in.host | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index e639c67149..4382b32237 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,21 +19,12 @@ config BR2_BINUTILS_VERSION_2_32_X config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_37_X bool "binutils 2.37" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_38_X bool "binutils 2.38" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 21:53:12 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:53:12 +0200 Subject: [Buildroot] [PATCH v2 1/3] package/elf2flt: update to version 2021.08 Message-ID: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> It contains several fixes and improvements compared to our current version, and two of our patches have been accepted upstream. Most notably, it fixes the issue we had in using elf2flt with recent versions of binutils (upstream commit ba379d08bb78c9300e84351c11080c26ddcc36b3). Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d The other two patches are refreshed to apply properly on 2021.08. Signed-off-by: Thomas Petazzoni --- Changes since v1: - Drop patch numbering, as pointed by Baruch --- ...> 0001-elf2flt-handle-binutils-2.34.patch} | 78 ++++---- ...e-properly-when-called-with-a-name-d.patch | 79 -------- ...2-elf2flt-add-riscv-64-bits-support.patch} | 38 ++-- ...-add-new-relocation-types-for-xtensa.patch | 188 ------------------ package/elf2flt/elf2flt.hash | 2 +- package/elf2flt/elf2flt.mk | 4 +- 6 files changed, 57 insertions(+), 332 deletions(-) rename package/elf2flt/{0003-elf2flt-handle-binutils-2.34.patch => 0001-elf2flt-handle-binutils-2.34.patch} (89%) delete mode 100644 package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch rename package/elf2flt/{0004-elf2flt-add-riscv-64-bits-support.patch => 0002-elf2flt-add-riscv-64-bits-support.patch} (83%) delete mode 100644 package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch similarity index 89% rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch index 16d5633385..4aa473c244 100644 --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch @@ -1,4 +1,4 @@ -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 5 Feb 2020 10:31:32 +0100 Subject: [PATCH] elf2flt: handle binutils >= 2.34 @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/configure.ac b/configure.ac -index e82eb1d..cf7dea8 100644 +index b7db2cb..fdc0876 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 CFLAGS="-Wall $CFLAGS" if test "$werror" = 1 ; then diff --git a/elf2flt.c b/elf2flt.c -index b93aecd..3bcf4fe 100644 +index 7ac0617..ea6b5a1 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -149,6 +149,17 @@ const char *elf2flt_progname; @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 if (verbose) printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", -@@ -442,7 +451,7 @@ output_relocs ( +@@ -443,7 +452,7 @@ output_relocs ( continue; if (verbose) printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 if ((r->flags & SEC_RELOC) == 0) continue; relsize = bfd_get_reloc_upper_bound(rel_bfd, r); -@@ -694,7 +703,7 @@ output_relocs ( +@@ -695,7 +704,7 @@ output_relocs ( case R_BFIN_RIMM16: case R_BFIN_LUIMM16: case R_BFIN_HUIMM16: @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -727,7 +736,7 @@ output_relocs ( +@@ -728,7 +737,7 @@ output_relocs ( break; case R_BFIN_BYTE4_DATA: @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -885,7 +894,7 @@ output_relocs ( +@@ -886,7 +895,7 @@ output_relocs ( #if defined(TARGET_m68k) case R_68K_32: relocation_needed = 1; @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_68K_PC16: -@@ -910,7 +919,7 @@ output_relocs ( +@@ -911,7 +920,7 @@ output_relocs ( q->address, sym_addr, (*p)->howto->rightshift, *(uint32_t *)r_mem); @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_ARM_GOT32: -@@ -938,7 +947,7 @@ output_relocs ( +@@ -939,7 +948,7 @@ output_relocs ( #ifdef TARGET_v850 case R_V850_ABS32: relocation_needed = 1; @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_V850_ZDA_16_16_OFFSET: -@@ -960,7 +969,7 @@ output_relocs ( +@@ -961,7 +970,7 @@ output_relocs ( sym_addr = (*(q->sym_ptr_ptr))->value; q->address -= 1; r_mem -= 1; /* tracks q->address */ @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= (*(unsigned char *)r_mem<<24); break; -@@ -973,7 +982,7 @@ output_relocs ( +@@ -974,7 +983,7 @@ output_relocs ( /* Absolute symbol done not relocation */ relocation_needed = !bfd_is_abs_section(sym_section); sym_addr = (*(q->sym_ptr_ptr))->value; @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_DIR32: -@@ -986,7 +995,7 @@ output_relocs ( +@@ -987,7 +996,7 @@ output_relocs ( } relocation_needed = 1; sym_addr = (*(q->sym_ptr_ptr))->value; @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_PCREL16: -@@ -1012,7 +1021,7 @@ output_relocs ( +@@ -1013,7 +1022,7 @@ output_relocs ( #ifdef TARGET_microblaze case R_MICROBLAZE_64: /* work out the relocation */ @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* Write relocated pointer back */ r_mem[2] = (sym_addr >> 24) & 0xff; -@@ -1026,7 +1035,7 @@ output_relocs ( +@@ -1027,7 +1036,7 @@ output_relocs ( pflags = 0x80000000; break; case R_MICROBLAZE_32: @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; relocation_needed = 1; break; -@@ -1058,7 +1067,7 @@ output_relocs ( +@@ -1059,7 +1068,7 @@ output_relocs ( case R_NIOS2_BFD_RELOC_32: relocation_needed = 1; pflags = (FLAT_NIOS2_R_32 << 28); @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* modify target, in target order */ *(unsigned long *)r_mem = htoniosl(sym_addr); -@@ -1068,7 +1077,7 @@ output_relocs ( +@@ -1069,7 +1078,7 @@ output_relocs ( unsigned long exist_val; relocation_needed = 1; pflags = (FLAT_NIOS2_R_CALL26 << 28); - sym_vma = bfd_section_vma(abs_bfd, sym_section); + sym_vma = elf2flt_bfd_section_vma(sym_section); sym_addr += sym_vma + q->addend; - + /* modify target, in target order */ -@@ -1099,7 +1108,7 @@ output_relocs ( +@@ -1100,7 +1109,7 @@ output_relocs ( ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; pflags <<= 28; - + - sym_vma = bfd_section_vma(abs_bfd, sym_section); -+ sym_vma = elf2flt_bfd_section_vma(sym_section); ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); sym_addr += sym_vma + q->addend; /* modify high 16 bits, in target order */ -@@ -1132,7 +1141,7 @@ output_relocs ( +@@ -1133,7 +1142,7 @@ output_relocs ( goto NIOS2_RELOC_ERR; } /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); sym_addr += sym_vma + q->addend; sym_addr -= gp; -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: case R_SPARC_32: case R_SPARC_UA32: relocation_needed = 1; @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SPARC_PC22: -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: case R_SPARC_HI22: relocation_needed = 1; pflags = 0x80000000; @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= ( htonl(*(uint32_t *)r_mem) -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: case R_SPARC_LO10: relocation_needed = 1; pflags = 0x40000000; @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr &= 0x000003ff; sym_addr |= ( -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: #ifdef TARGET_sh case R_SH_DIR32: relocation_needed = 1; @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SH_REL32: -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: case R_E1_CONST31: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: DBG_E1("Handling Reloc \n"); DIS29_RELOCATION: relocation_needed = 1; @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: case R_E1_IMM32: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: case R_E1_WORD: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: } sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 /* -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) } else continue; @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 if (sec_vma < *vma) { if (*len > 0) -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_CODE) +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) + (SEC_DATA | SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, text + (s->vma - text_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 { fatal("read error section %s", s->name); } -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_DATA) +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) + (SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, data + (s->vma - data_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 fatal("read error section %s", s->name); } -- -2.25.4 +2.35.1 diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch deleted file mode 100644 index a27c4913fb..0000000000 --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 13 Aug 2017 16:03:20 +0200 -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different - from TARGET_ALIAS - -ld-elf2flt currently handles two cases: - - 1 It is called as the wrapper for -ld, generally - installed in the bin/ directory of a toolchain. - - 2 It is called as the wrapper for "ld", generally installed in the - TARGET_ALIAS/bin/ directory of a toolchain. - -Unfortunately, if for some reason it gets called using a FOOBAR-ld -name that is different from -ld, it assumes it is in -case (2), while it really is in case (1). Due to this, the path -mangling logic doesn't work, and it doesn't find ld.real. - -This happens for example when the binary program in bin/ is named -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink -named arm-linux-ld. In this case, -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as -containing TARGET_ALIAS, and therefore the proper logic to find -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt -doesn't find TARGET_ALIAS, and therefore assumes we're being called as -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in -bin/, which doesn't exist. - -See: - -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -$ ./output/host/bin/arm-linux-ld -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory - -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -This commit fixes that by inverting the logic: if we're being called -as just "ld", then we assume it's the program in -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of -TARGET-ld. - -Signed-off-by: Thomas Petazzoni -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 ---- - ld-elf2flt.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index de39fe0..c187c2e 100644 ---- a/ld-elf2flt.c -+++ b/ld-elf2flt.c -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) - the host while those in /lib are for the target. - Make bindir point to the bin dir for bin/-foo. - Make tooldir point to the bin dir for /bin/foo. */ -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); -+ if (streqn(elf2flt_progname, "ld")) { -+ tmp = concat(argv0_dir, "../../bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- tooldir = concat(tmp, "/", NULL); -+ bindir = concat(tmp, "/", NULL); - } - } else { -- tmp = concat(argv0_dir, "../../bin", NULL); -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- bindir = concat(tmp, "/", NULL); -+ tooldir = concat(tmp, "/", NULL); - } - } - --- -2.9.4 - diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch similarity index 83% rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch index 4b00758446..c530bc020d 100644 --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch @@ -1,4 +1,4 @@ -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Wed, 9 Sep 2020 17:31:33 +0900 Subject: [PATCH] elf2flt: add riscv 64-bits support @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . Signed-off-by: Damien Le Moal --- elf2flt.c | 23 +++++++++++++++++++++++ - elf2flt.ld.in | 9 +++++---- + elf2flt.ld.in | 1 + ld-elf2flt.c | 16 ++++++++++++++++ - 3 files changed, 44 insertions(+), 4 deletions(-) + 3 files changed, 40 insertions(+) diff --git a/elf2flt.c b/elf2flt.c -index f87f1fc..dbce467 100644 +index ea6b5a1..7100c20 100644 --- a/elf2flt.c +++ b/elf2flt.c -@@ -80,6 +80,8 @@ const char *elf2flt_progname; +@@ -81,6 +81,8 @@ const char *elf2flt_progname; #include #elif defined(TARGET_xtensa) #include @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 #endif #if defined(__MINGW32__) -@@ -122,6 +124,8 @@ const char *elf2flt_progname; +@@ -123,6 +125,8 @@ const char *elf2flt_progname; #define ARCH "nios2" #elif defined(TARGET_xtensa) #define ARCH "xtensa" @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 #else #error "Don't know how to support your CPU architecture??" #endif -@@ -797,6 +801,16 @@ output_relocs ( +@@ -821,6 +825,16 @@ output_relocs ( goto good_32bit_resolved_reloc; default: goto bad_resolved_reloc; @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 #else default: /* The default is to assume that the -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) if (!load_to_ram && !pfile) load_to_ram = 1; @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 if (pfile) { diff --git a/elf2flt.ld.in b/elf2flt.ld.in -index ec1fe6f..c0c44b8 100644 +index 0df999d..f1eed1f 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) . = ALIGN(0x20) ; LONG(-1) . = ALIGN(0x20) ; --R_RODAT *(.rodata) --R_RODAT *(.rodata1) --R_RODAT *(.rodata.*) --R_RODAT *(.gnu.linkonce.r*) +RISCV_GP: __global_pointer$ = . + 0x800 ; -+R_RODAT *(.rodata) -+R_RODAT *(.rodata1) -+R_RODAT *(.rodata.*) -+R_RODAT *(.gnu.linkonce.r*) - *(.data) - *(.data1) - *(.data.*) + R_RODAT: *(.rodata) + R_RODAT: *(.rodata1) + R_RODAT: *(.rodata.*) diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index e5de506..31b565f 100644 +index 7cb02d5..1a503dd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -324,6 +324,22 @@ static int do_final_link(void) @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 if (!linker_script) linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); -- -2.31.1 +2.35.1 diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch deleted file mode 100644 index 953bd79ccf..0000000000 --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch +++ /dev/null @@ -1,188 +0,0 @@ -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 7 May 2020 21:11:43 -0700 -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa - -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. -Add them to the list of ignored relocation types. - -This fixes the following error when invoking elf2flt on xtensa binaries -built with the recent binutils: - - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context - -Reported-by: Romain Naour -Signed-off-by: Max Filippov -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d ---- - Makefile.in | 3 ++- - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 14 ++++++++++++ - elf2flt.c | 8 +++++++ - 4 files changed, 88 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 52b3347d7f43..0529c7f0a25a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ - -DNO_GOT_CHECK=@got_check@ \ - -DUSE_EMIT_RELOCS=@emit_relocs@ \ - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ - EXEEXT = @EXEEXT@ - OBJEXT = @OBJEXT@ - -diff --git a/configure b/configure -index bb8e33f9cb28..bca38c34247e 100755 ---- a/configure -+++ b/configure -@@ -621,6 +621,7 @@ ac_includes_default="\ - - ac_subst_vars='LTLIBOBJS - LIBOBJS -+HAVE_BFD_XTENSA_PDIFF_RELOCS - SYMBOL_PREFIX - always_reloc_text - emit_ctor_dtor -@@ -1729,6 +1730,52 @@ fi - - } # ac_fn_c_try_link - -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+ - # ac_fn_c_check_func LINENO FUNC VAR - # ---------------------------------- - # Tests whether FUNC exists, setting the cache variable VAR accordingly -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h - fi - - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ OLD_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" -+ #include \"elf/xtensa.h\" -+" -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 -+fi -+ -+ CPPFLAGS=$OLD_CPPFLAGS -+ ;; -+esac -+ - for ac_func in vprintf - do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -@@ -4333,6 +4396,7 @@ fi - - - -+ - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" - - cat >confcache <<\_ACEOF -diff --git a/configure.ac b/configure.ac -index d6b4119eb18a..19969b1045f6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, -+ [#include "bfd.h" -+ #include "elf/xtensa.h"]) -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) -+ ;; -+esac -+ - dnl Checks for library functions. - AC_FUNC_VPRINTF - -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) - AC_SUBST(emit_ctor_dtor) - AC_SUBST(always_reloc_text) - AC_SUBST(SYMBOL_PREFIX) -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) - - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) - -diff --git a/elf2flt.c b/elf2flt.c -index b7c4a490df02..961534973f56 100644 ---- a/elf2flt.c -+++ b/elf2flt.c -@@ -776,6 +776,14 @@ output_relocs ( - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: -+#endif - case R_XTENSA_32_PCREL: - continue; - case R_XTENSA_32: --- -2.20.1 - diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash index c4b0697fcd..c576f65cdb 100644 --- a/package/elf2flt/elf2flt.hash +++ b/package/elf2flt/elf2flt.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk index 3239af1b9a..11cacaf9e0 100644 --- a/package/elf2flt/elf2flt.mk +++ b/package/elf2flt/elf2flt.mk @@ -4,8 +4,8 @@ # ################################################################################ -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) +ELF2FLT_VERSION = 2021.08 +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) ELF2FLT_LICENSE = GPL-2.0+ ELF2FLT_LICENSE_FILES = LICENSE.TXT -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 21:53:14 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:53:14 +0200 Subject: [Buildroot] [PATCH v2 3/3] package/binutils: drop version 2.32 In-Reply-To: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> References: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> Message-ID: <20220426215315.381964-3-thomas.petazzoni@bootlin.com> Now that recent versions of binutils work with FLAT binaries, we can drop the old 2.32 version, which was kept only to keep support FLAT binaries. Signed-off-by: Thomas Petazzoni --- Changes since v1: - Drop binutils 2.32 hash in binutils.hash --- Config.in.legacy | 6 + package/binutils/2.32/0001-sh-conf.patch | 48 -- .../2.32/0002-poison-system-directories.patch | 306 ----------- ...hrink_dynamic_reloc_sections-for-exp.patch | 41 -- ...s-const16-for-xtensa-loop-relaxation.patch | 294 ---------- ...t-.literal_position-at-section-start.patch | 96 ---- ...ct-value-in-PLT-GOT-entries-causing-.patch | 46 -- .../0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 --------------- ...TENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ----- ...ith-plt-link-failure-for-local-calls.patch | 59 --- ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 --------- ...K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...ge-plt_relocs-when-generating-plt-en.patch | 500 ------------------ ...or1k-fix-building-with-gcc-version-5.patch | 50 -- ...tive-relocation-against-dynamic-on-P.patch | 59 --- ...K_GOT16-signed-overflow-by-using-spe.patch | 75 --- package/binutils/Config.in.host | 5 - package/binutils/binutils.hash | 1 - 19 files changed, 6 insertions(+), 2494 deletions(-) delete mode 100644 package/binutils/2.32/0001-sh-conf.patch delete mode 100644 package/binutils/2.32/0002-poison-system-directories.patch delete mode 100644 package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch delete mode 100644 package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch delete mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch delete mode 100644 package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch delete mode 100644 package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch delete mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch delete mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch delete mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch delete mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch delete mode 100644 package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch delete mode 100644 package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch delete mode 100644 package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch diff --git a/Config.in.legacy b/Config.in.legacy index 387653f45d..6d2c82ab7f 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.05" +config BR2_BINUTILS_VERSION_2_32_X + bool "binutils 2.32.x has been removed" + select BR2_LEGACY + help + binutils 2.32 has been removed, use a newer version. + config BR2_sh2a bool "sh2a architecture support removed" select BR2_LEGACY diff --git a/package/binutils/2.32/0001-sh-conf.patch b/package/binutils/2.32/0001-sh-conf.patch deleted file mode 100644 index fff91ae35c..0000000000 --- a/package/binutils/2.32/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 98b2acf2bd3a527d114a9f8931083c2617a2daa9 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 37476459612..66fbc19f9ff 100755 ---- a/configure -+++ b/configure -@@ -3861,7 +3861,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index 46501c28826..6c731930884 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1158,7 +1158,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.14.5 - diff --git a/package/binutils/2.32/0002-poison-system-directories.patch b/package/binutils/2.32/0002-poison-system-directories.patch deleted file mode 100644 index 98f41e87f3..0000000000 --- a/package/binutils/2.32/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From f559402ea868d370ddf25089c68cda2600db3bfa Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index d93c9b08300..5da2742beac 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -31,6 +31,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index 18ada7808f5..7e7d2f97809 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -822,6 +822,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1486,6 +1487,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15803,7 +15806,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index d335f210917..7f692d93873 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index b97d977f37b..f3bbd2d55d4 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -180,6 +180,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index 5179af3e0e1..f78bf746822 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2524,6 +2524,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+ at kindex --no-poison-system-directories -+ at item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+ at file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+ at kindex --error-poison-system-directories -+ at item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index fcadc08c73f..63e295ce8ae 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 32853debe45..8135361c498 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -148,6 +148,8 @@ enum option_values - OPTION_REQUIRE_DEFINED_SYMBOL, - OPTION_ORPHAN_HANDLING, - OPTION_FORCE_GROUP_ALLOCATION, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index 77cdbd0dd29..725512f1260 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -269,6 +269,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 88e85c73f49..be4cd492d14 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = - { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, - '\0', N_("=MODE"), N_("Control how orphan sections are handled."), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -555,6 +563,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1543,6 +1552,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1586,6 +1603,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - lang_leave_group (); --- -2.14.5 - diff --git a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch deleted file mode 100644 index b80e1fa7ce..0000000000 --- a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 278989f23735aa501be1052e085540c75c126dbb Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 28 Mar 2019 17:03:57 -0700 -Subject: [PATCH] bfd: xtensa: fix shrink_dynamic_reloc_sections for - export-dynamic - -shrink_dynamic_reloc_sections must remove PLT entry that was created for -an undefined weak symbol in the presence of --export-dynamic option when -relaxation coalesces literals pointing to that symbol. This fixes the -following assertion: - - ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at - elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections - -2019-03-28 Max Filippov -bfd/ - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add - info->export_dynamic to the conditional. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index c3df3d6db756..37ea200eea74 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10083,7 +10083,8 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - && (input_section->flags & SEC_ALLOC) != 0 - && (dynamic_symbol || bfd_link_pic (info)) - && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol && bfd_link_dll (info)))) -+ || (dynamic_symbol -+ && (bfd_link_dll (info) || info->export_dynamic)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.11.0 - diff --git a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch deleted file mode 100644 index ed617bcaf7..0000000000 --- a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch +++ /dev/null @@ -1,294 +0,0 @@ -From 0dbdfb7918d0b0cfcb8883b24c1291574bf5bb7c Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Tue, 2 Apr 2019 14:32:42 -0700 -Subject: [PATCH] gas: use literals/const16 for xtensa loop relaxation - -Loop opcode relaxation that uses addi/addmi doesn't work well with other -relaxations that may cause code movement. Instead of encoding fixed loop -end offset in the relaxed sequence use l32r or a pair of const16 to load -loop end address. This way the address of the loop end gets a relocation -record and it gets updated appropriately. - -gas/ -2019-04-02 Max Filippov - - * config/tc-xtensa.c (convert_frag_immed): Drop - convert_frag_immed_finish_loop invocation. - (convert_frag_immed_finish_loop): Drop declaration and - definition. - * config/xtensa-relax.c (widen_spec_list): Replace loop - widening that uses addi/addmi with widening that uses l32r - and const16. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 120 ---------------------------------------------- - gas/config/xtensa-relax.c | 77 ++++++++++++++++++++--------- - 2 files changed, 55 insertions(+), 142 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 3bdbbc931cfc..0cc06361cf6f 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -10668,7 +10668,6 @@ convert_frag_fill_nop (fragS *fragP) - static fixS *fix_new_exp_in_seg - (segT, subsegT, fragS *, int, int, expressionS *, int, - bfd_reloc_code_real_type); --static void convert_frag_immed_finish_loop (segT, fragS *, TInsn *); - - static void - convert_frag_immed (segT segP, -@@ -10910,9 +10909,6 @@ convert_frag_immed (segT segP, - } - } - -- if (expanded && xtensa_opcode_is_loop (isa, orig_tinsn.opcode) == 1) -- convert_frag_immed_finish_loop (segP, fragP, &orig_tinsn); -- - if (expanded && is_direct_call_opcode (orig_tinsn.opcode)) - { - /* Add an expansion note on the expanded instruction. */ -@@ -10949,122 +10945,6 @@ fix_new_exp_in_seg (segT new_seg, - } - - --/* Relax a loop instruction so that it can span loop >256 bytes. -- -- loop as, .L1 -- .L0: -- rsr as, LEND -- wsr as, LBEG -- addi as, as, lo8 (label-.L1) -- addmi as, as, mid8 (label-.L1) -- wsr as, LEND -- isync -- rsr as, LCOUNT -- addi as, as, 1 -- .L1: -- <> -- label: --*/ -- --static void --convert_frag_immed_finish_loop (segT segP, fragS *fragP, TInsn *tinsn) --{ -- TInsn loop_insn; -- TInsn addi_insn; -- TInsn addmi_insn; -- unsigned long target; -- static xtensa_insnbuf insnbuf = NULL; -- unsigned int loop_length, loop_length_hi, loop_length_lo; -- xtensa_isa isa = xtensa_default_isa; -- addressT loop_offset; -- addressT addi_offset = 9; -- addressT addmi_offset = 12; -- fragS *next_fragP; -- int target_count; -- -- if (!insnbuf) -- insnbuf = xtensa_insnbuf_alloc (isa); -- -- /* Get the loop offset. */ -- loop_offset = get_expanded_loop_offset (tinsn->opcode); -- -- /* Validate that there really is a LOOP at the loop_offset. Because -- loops are not bundleable, we can assume that the instruction will be -- in slot 0. */ -- tinsn_from_chars (&loop_insn, fragP->fr_opcode + loop_offset, 0); -- tinsn_immed_from_frag (&loop_insn, fragP, 0); -- -- gas_assert (xtensa_opcode_is_loop (isa, loop_insn.opcode) == 1); -- addi_offset += loop_offset; -- addmi_offset += loop_offset; -- -- gas_assert (tinsn->ntok == 2); -- if (tinsn->tok[1].X_op == O_constant) -- target = tinsn->tok[1].X_add_number; -- else if (tinsn->tok[1].X_op == O_symbol) -- { -- /* Find the fragment. */ -- symbolS *sym = tinsn->tok[1].X_add_symbol; -- gas_assert (S_GET_SEGMENT (sym) == segP -- || S_GET_SEGMENT (sym) == absolute_section); -- target = (S_GET_VALUE (sym) + tinsn->tok[1].X_add_number); -- } -- else -- { -- as_bad (_("invalid expression evaluation type %d"), tinsn->tok[1].X_op); -- target = 0; -- } -- -- loop_length = target - (fragP->fr_address + fragP->fr_fix); -- loop_length_hi = loop_length & ~0x0ff; -- loop_length_lo = loop_length & 0x0ff; -- if (loop_length_lo >= 128) -- { -- loop_length_lo -= 256; -- loop_length_hi += 256; -- } -- -- /* Because addmi sign-extends the immediate, 'loop_length_hi' can be at most -- 32512. If the loop is larger than that, then we just fail. */ -- if (loop_length_hi > 32512) -- as_bad_where (fragP->fr_file, fragP->fr_line, -- _("loop too long for LOOP instruction")); -- -- tinsn_from_chars (&addi_insn, fragP->fr_opcode + addi_offset, 0); -- gas_assert (addi_insn.opcode == xtensa_addi_opcode); -- -- tinsn_from_chars (&addmi_insn, fragP->fr_opcode + addmi_offset, 0); -- gas_assert (addmi_insn.opcode == xtensa_addmi_opcode); -- -- set_expr_const (&addi_insn.tok[2], loop_length_lo); -- tinsn_to_insnbuf (&addi_insn, insnbuf); -- -- fragP->tc_frag_data.is_insn = TRUE; -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addi_offset, 0); -- -- set_expr_const (&addmi_insn.tok[2], loop_length_hi); -- tinsn_to_insnbuf (&addmi_insn, insnbuf); -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addmi_offset, 0); -- -- /* Walk through all of the frags from here to the loop end -- and mark them as no_transform to keep them from being modified -- by the linker. If we ever have a relocation for the -- addi/addmi of the difference of two symbols we can remove this. */ -- -- target_count = 0; -- for (next_fragP = fragP; next_fragP != NULL; -- next_fragP = next_fragP->fr_next) -- { -- next_fragP->tc_frag_data.is_no_transform = TRUE; -- if (next_fragP->tc_frag_data.is_loop_target) -- target_count++; -- if (target_count == 2) -- break; -- } --} -- - - /* A map that keeps information on a per-subsegment basis. This is - maintained during initial assembly, but is invalid once the -diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c -index cb296ed85ed2..daf15d52c259 100644 ---- a/gas/config/xtensa-relax.c -+++ b/gas/config/xtensa-relax.c -@@ -87,13 +87,7 @@ - when the first and second operands are not the same as specified - by the "| %at!=%as" precondition clause. - {"l32i %at,%as,%imm | %at!=%as", -- "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} -- -- There is special case for loop instructions here, but because we do -- not currently have the ability to represent the difference of two -- symbols, the conversion requires special code in the assembler to -- write the operands of the addi/addmi pair representing the -- difference of the old and new loop end label. */ -+ "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} */ - - #include "as.h" - #include "xtensa-isa.h" -@@ -306,44 +300,83 @@ static string_pattern_pair widen_spec_list[] = - {"l32i %at,%as,%imm | %at!=%as ? IsaUseConst16", - "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm); add %at,%at,%as; l32i %at,%at,0"}, - -- /* This is only PART of the loop instruction. In addition, -- hardcoded into its use is a modification of the final operand in -- the instruction in bytes 9 and 12. */ -- {"loop %as,%label | %as!=1 ? IsaUseLoops", -+ /* Widening loops with literals. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "loop %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "bltz %as,%label;" -+ "loopgtz %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "loopnez %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ -+ /* Widening loops with const16. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "loop %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopgtz %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "bltz %as,%label;" - "loopgtz %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopnez %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "loopnez %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, - - /* Relaxing to wide branches. Order is important here. With wide --- -2.11.0 - diff --git a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch deleted file mode 100644 index b4bbc27b37..0000000000 --- a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 471702ac4a57878a06e8167f063274cf413e548d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Mon, 8 Apr 2019 13:47:18 -0700 -Subject: [PATCH] xtensa: gas: put .literal_position at section start - -Provide literal position at the beginning of each section for literal -space reserved by relaxations when text-section-literals or -auto-litpools options are used. Remove code that adds fill frag to the -literal section for every .literal_position directive to avoid creation -of empty literal sections. - -Fix auto-litpools tests that got literal pool address changes. - -gas/ -2019-04-11 Max Filippov - - * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. - (xtensa_mark_literal_pool_location): Don't add fill frag to literal - section that records literal pool location. - (md_begin): Call xtensa_mark_literal_pool_location when text - section literals or auto litpools are used. - (xtensa_elf_section_change_hook): Call - xtensa_mark_literal_pool_location when text section literals or - auto litpools are used, there's no literal pool location defined - for the current section and it's not .init or .fini. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 22 +++++++++------------- - 1 file changed, 9 insertions(+), 13 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 0cc06361cf6f..6a80e76fed8c 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -497,6 +497,7 @@ static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset); - static void xtensa_maybe_create_literal_pool_frag (bfd_boolean, bfd_boolean); - static bfd_boolean auto_litpools = FALSE; - static int auto_litpool_limit = 0; -+static bfd_boolean xtensa_is_init_fini (segT seg); - - /* Alignment Functions. */ - -@@ -4797,7 +4798,6 @@ xtensa_mark_literal_pool_location (void) - { - /* Any labels pointing to the current location need - to be adjusted to after the literal pool. */ -- emit_state s; - fragS *pool_location; - - if (use_literal_section) -@@ -4818,19 +4818,7 @@ xtensa_mark_literal_pool_location (void) - RELAX_LITERAL_POOL_END, NULL, 0, NULL); - xtensa_set_frag_assembly_state (frag_now); - -- /* Now put a frag into the literal pool that points to this location. */ - set_literal_pool_location (now_seg, pool_location); -- xtensa_switch_to_non_abs_literal_fragment (&s); -- frag_align (2, 0, 0); -- record_alignment (now_seg, 2); -- -- /* Close whatever frag is there. */ -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_set_frag_assembly_state (frag_now); -- frag_now->tc_frag_data.literal_frag = pool_location; -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_restore_emit_state (&s); -- xtensa_set_frag_assembly_state (frag_now); - } - - -@@ -5334,6 +5322,9 @@ md_begin (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section) -+ xtensa_mark_literal_pool_location (); - } - - -@@ -5933,6 +5924,11 @@ xtensa_elf_section_change_hook (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section -+ && seg_info (now_seg)->tc_segment_info_data.literal_pool_loc == NULL -+ && !xtensa_is_init_fini (now_seg)) -+ xtensa_mark_literal_pool_location (); - } - - --- -2.11.0 - diff --git a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch deleted file mode 100644 index 8527b66733..0000000000 --- a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch +++ /dev/null @@ -1,46 +0,0 @@ -From b17678f639f953d687d96cd52690e7cbfae50f91 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Fri, 23 Aug 2019 22:25:55 +0900 -Subject: [PATCH] or1k: Fix incorrect value in PLT GOT entries, causing - infinite loop - -The PLT GOT entry should point to the first PLT entry which contains the -runtime linker function. It was pointing back to the symbol PLT entry -causing an infinite loop. - -I found this when testing the OpenRISC glibc port which uses the runtime -dynamic linker. It seems other libc's we use so far have not been -making use of the initial PLT GOT entries. - -bfd/ChangeLog: - - * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for - PLT GOT entries. - -(cherry picked from commit 09f7b0de537d465fc8ed9f9433e348c1bc78aab2) -Signed-off-by: Romain Naour ---- - bfd/elf32-or1k.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..32839cfa7b6 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2379,8 +2379,11 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, - plt0, plt1, plt2, OR1K_JR(12)); - -- /* Fill in the entry in the global offset table. */ -- bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -+ /* Fill in the entry in the global offset table. We initialize it to -+ point to the top of the plt. This is done to lazy lookup the actual -+ symbol as the first plt entry will be setup by libc to call the -+ runtime dynamic linker. */ -+ bfd_put_32 (output_bfd, plt_base_addr, sgot->contents + got_offset); - - /* Fill in the entry in the .rela.plt section. */ - rela.r_offset = got_addr; --- -2.23.0 - diff --git a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch deleted file mode 100644 index f499426b70..0000000000 --- a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 85dcca5997cf3822d6456a5c9c59c46b56adfbb8 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Wed, 4 Mar 2020 14:54:27 -0800 -Subject: [PATCH] bfd: xtensa: fix PR ld/25630 - -bfd/ -2020-03-05 Max Filippov - - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic - relocation sections for any removed reference to a dynamic symbol. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 12ff9f772aaf..65e14d87940c 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - - if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) - && (input_section->flags & SEC_ALLOC) != 0 -- && (dynamic_symbol || bfd_link_pic (info)) -- && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol -- && (bfd_link_dll (info) || info->export_dynamic)))) -+ && (dynamic_symbol -+ || (bfd_link_pic (info) -+ && (!h || h->root.type != bfd_link_hash_undefweak)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.20.1 - diff --git a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch deleted file mode 100644 index 2df46c6526..0000000000 --- a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch +++ /dev/null @@ -1,432 +0,0 @@ -From c7a1d1f656c717394937a92cb970f0f4cecce128 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sun, 19 Apr 2020 19:04:41 -0700 -Subject: [PATCH] xtensa: fix PR ld/25861 - -Introduce new relaxations XTENSA_PDIFF{8,16,32} for positive differences -(subtracted symbol precedes diminished symbol) and XTENSA_NDIFF{8,16,32} -for negative differences (subtracted symbol follows diminished symbol). -Don't generate XTENSA_DIFF relocations in the assembler, generate -XTENSA_PDIFF or XTENSA_NDIFF based on relative symbol position. - -Handle XTENSA_DIFF in BFD for compatibility with old object files. -Handle XTENSA_PDIFF and XTENSA_NDIFF in BFD, treating difference value -as unsigned. - -2020-04-22 Max Filippov -bfd/ - * bfd-in2.h: Regenerated. - * elf32-xtensa.c (elf_howto_table): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - (elf_xtensa_reloc_type_lookup, elf_xtensa_do_reloc) - (relax_section): Add cases for R_XTENSA_PDIFF{8,16,32} and - R_XTENSA_NDIFF{8,16,32}. - * libbfd.h (bfd_reloc_code_real_names): Add names for - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - * reloc.c: Add documentation for BFD_RELOC_XTENSA_PDIFF{8,16,32} - and BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -binutils/ - * readelf.c (is_none_reloc): Recognize - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -gas/ - * config/tc-xtensa.c (md_apply_fix): Replace - BFD_RELOC_XTENSA_DIFF{8,16,32} generation with - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. - * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 - with BFD_RELOC_XTENSA_PDIFF16 in the expected output. - -include/ - * elf/xtensa.h (elf_xtensa_reloc_type): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - -ld/ - * testsuite/ld-xtensa/relax-loc.d: New test definition. - * testsuite/ld-xtensa/relax-loc.s: New test source. - * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test. - -Signed-off-by: Max Filippov ---- -Backported from: 30ce8e47fad9b057b6d7af9e1d43061126d34d20 - - bfd/bfd-in2.h | 20 ++++++- - bfd/elf32-xtensa.c | 89 +++++++++++++++++++++++++++++- - bfd/libbfd.h | 6 ++ - bfd/reloc.c | 24 ++++++++ - binutils/readelf.c | 8 ++- - gas/config/tc-xtensa.c | 12 +++- - gas/testsuite/gas/xtensa/loc.d | 2 +- - include/elf/xtensa.h | 6 ++ - ld/testsuite/ld-xtensa/relax-loc.d | 7 +++ - ld/testsuite/ld-xtensa/relax-loc.s | 15 +++++ - ld/testsuite/ld-xtensa/xtensa.exp | 1 + - 11 files changed, 183 insertions(+), 7 deletions(-) - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.d - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.s - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index 37114607b515..be6a30f57955 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5217,7 +5217,9 @@ to one of its own internal functions or data structures. */ - PLT entries. Otherwise, this is just a generic 32-bit relocation. */ - BFD_RELOC_XTENSA_PLT, - --/* Xtensa relocations to mark the difference of two local symbols. -+/* Xtensa relocations for backward compatibility. These have been replaced -+by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. -+Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference - assuming no relaxation. The relocation encodes the position of the -@@ -5291,6 +5293,22 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ - BFD_RELOC_XTENSA_TLS_ARG, - BFD_RELOC_XTENSA_TLS_CALL, - -+/* Xtensa relocations to mark the difference of two local symbols. -+These are only needed to support linker relaxation and can be ignored -+when not relaxing. The field is set to the value of the difference -+assuming no relaxation. The relocation encodes the position of the -+subtracted symbol so the linker can determine whether to adjust the field -+value. PDIFF relocations are used for positive differences, NDIFF -+relocations are used for negative differences. The difference value -+is treated as unsigned with these relocation types, giving full -+8/16 value ranges. */ -+ BFD_RELOC_XTENSA_PDIFF8, -+ BFD_RELOC_XTENSA_PDIFF16, -+ BFD_RELOC_XTENSA_PDIFF32, -+ BFD_RELOC_XTENSA_NDIFF8, -+ BFD_RELOC_XTENSA_NDIFF16, -+ BFD_RELOC_XTENSA_NDIFF32, -+ - /* 8 bit signed offset in (ix+d) or (iy+d). */ - BFD_RELOC_Z80_DISP8, - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 473a9d76f289..fded42d52a9a 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -325,6 +325,20 @@ static reloc_howto_type elf_howto_table[] = - HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, FALSE, 0, complain_overflow_dont, - bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", - FALSE, 0, 0, FALSE), -+ -+ HOWTO (R_XTENSA_PDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_PDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_PDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF32", FALSE, 0, 0xffffffff, FALSE), -+ -+ HOWTO (R_XTENSA_NDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_NDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_NDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF32", FALSE, 0, 0xffffffff, FALSE), - }; - - #if DEBUG_GEN_RELOC -@@ -364,6 +378,30 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, - TRACE ("BFD_RELOC_XTENSA_DIFF32"); - return &elf_howto_table[(unsigned) R_XTENSA_DIFF32 ]; - -+ case BFD_RELOC_XTENSA_PDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF32 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF32 ]; -+ - case BFD_RELOC_XTENSA_RTLD: - TRACE ("BFD_RELOC_XTENSA_RTLD"); - return &elf_howto_table[(unsigned) R_XTENSA_RTLD ]; -@@ -1851,6 +1889,12 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: - case R_XTENSA_TLS_FUNC: - case R_XTENSA_TLS_ARG: - case R_XTENSA_TLS_CALL: -@@ -9604,7 +9648,13 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - - if (r_type == R_XTENSA_DIFF8 - || r_type == R_XTENSA_DIFF16 -- || r_type == R_XTENSA_DIFF32) -+ || r_type == R_XTENSA_DIFF32 -+ || r_type == R_XTENSA_PDIFF8 -+ || r_type == R_XTENSA_PDIFF16 -+ || r_type == R_XTENSA_PDIFF32 -+ || r_type == R_XTENSA_NDIFF8 -+ || r_type == R_XTENSA_NDIFF16 -+ || r_type == R_XTENSA_NDIFF32) - { - bfd_signed_vma diff_value = 0; - bfd_vma new_end_offset, diff_mask = 0; -@@ -9631,8 +9681,27 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_value = -+ bfd_get_8 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_value = -+ bfd_get_16 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_value = -+ bfd_get_32 (abfd, &contents[old_source_offset]); -+ break; - } - -+ if (r_type >= R_XTENSA_NDIFF8 -+ && r_type <= R_XTENSA_NDIFF32) -+ diff_value = -diff_value; -+ - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, - r_rel.target_offset + diff_value); -@@ -9655,6 +9724,24 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; -+ bfd_put_8 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; -+ bfd_put_16 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; -+ bfd_put_32 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; - } - - /* Check for overflow. Sign bits must be all zeroes or all ones */ -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 3c184fcadadf..989f4bc0b595 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2919,6 +2919,12 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_XTENSA_TLS_FUNC", - "BFD_RELOC_XTENSA_TLS_ARG", - "BFD_RELOC_XTENSA_TLS_CALL", -+ "BFD_RELOC_XTENSA_PDIFF8", -+ "BFD_RELOC_XTENSA_PDIFF16", -+ "BFD_RELOC_XTENSA_PDIFF32", -+ "BFD_RELOC_XTENSA_NDIFF8", -+ "BFD_RELOC_XTENSA_NDIFF16", -+ "BFD_RELOC_XTENSA_NDIFF32", - "BFD_RELOC_Z80_DISP8", - "BFD_RELOC_Z80_BYTE0", - "BFD_RELOC_Z80_BYTE1", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index c4dec86d1d46..f5df8e2ab3eb 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6556,6 +6556,8 @@ ENUMX - ENUMX - BFD_RELOC_XTENSA_DIFF32 - ENUMDOC -+ Xtensa relocations for backward compatibility. These have been replaced -+ by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. - Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference -@@ -6668,6 +6670,28 @@ ENUMX - BFD_RELOC_XTENSA_TLS_CALL - ENUMDOC - Xtensa TLS relocations. -+ENUM -+ BFD_RELOC_XTENSA_PDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF32 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF32 -+ENUMDOC -+ Xtensa relocations to mark the difference of two local symbols. -+ These are only needed to support linker relaxation and can be ignored -+ when not relaxing. The field is set to the value of the difference -+ assuming no relaxation. The relocation encodes the position of the -+ subtracted symbol so the linker can determine whether to adjust the field -+ value. PDIFF relocations are used for positive differences, NDIFF -+ relocations are used for negative differences. The difference value -+ is treated as unsigned with these relocation types, giving full -+ 8/16 value ranges. - - ENUM - BFD_RELOC_Z80_DISP8 -diff --git a/binutils/readelf.c b/binutils/readelf.c -index d4756c93b345..800918f901c8 100644 ---- a/binutils/readelf.c -+++ b/binutils/readelf.c -@@ -13262,7 +13262,13 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type) - return (reloc_type == 0 /* R_XTENSA_NONE. */ - || reloc_type == 17 /* R_XTENSA_DIFF8. */ - || reloc_type == 18 /* R_XTENSA_DIFF16. */ -- || reloc_type == 19 /* R_XTENSA_DIFF32. */); -+ || reloc_type == 19 /* R_XTENSA_DIFF32. */ -+ || reloc_type == 57 /* R_XTENSA_PDIFF8. */ -+ || reloc_type == 58 /* R_XTENSA_PDIFF16. */ -+ || reloc_type == 59 /* R_XTENSA_PDIFF32. */ -+ || reloc_type == 60 /* R_XTENSA_NDIFF8. */ -+ || reloc_type == 61 /* R_XTENSA_NDIFF16. */ -+ || reloc_type == 62 /* R_XTENSA_NDIFF32. */); - } - return FALSE; - } -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 71d4d94a8d7d..ee75c13548ff 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -5974,18 +5974,24 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) - case BFD_RELOC_8: - if (fixP->fx_subsy) - { -+ bfd_boolean neg = S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset -+ < S_GET_VALUE (fixP->fx_subsy); -+ - switch (fixP->fx_r_type) - { - case BFD_RELOC_8: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF8; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF8 : BFD_RELOC_XTENSA_PDIFF8; - fixP->fx_signed = 0; - break; - case BFD_RELOC_16: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF16; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF16 : BFD_RELOC_XTENSA_PDIFF16; - fixP->fx_signed = 0; - break; - case BFD_RELOC_32: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF32; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF32 : BFD_RELOC_XTENSA_PDIFF32; - fixP->fx_signed = 0; - break; - default: -diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d -index 71983cc90055..8fb3425999d5 100644 ---- a/gas/testsuite/gas/xtensa/loc.d -+++ b/gas/testsuite/gas/xtensa/loc.d -@@ -6,5 +6,5 @@ - - RELOCATION RECORDS FOR \[\.debug_line\]: - #... --.*R_XTENSA_DIFF16.*\.text\+0x00009c42 -+.*R_XTENSA_PDIFF16.*\.text\+0x00009c42 - #... -diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h -index 2eb5e4e52941..bd5c80d13777 100644 ---- a/include/elf/xtensa.h -+++ b/include/elf/xtensa.h -@@ -87,6 +87,12 @@ START_RELOC_NUMBERS (elf_xtensa_reloc_type) - RELOC_NUMBER (R_XTENSA_TLS_FUNC, 54) - RELOC_NUMBER (R_XTENSA_TLS_ARG, 55) - RELOC_NUMBER (R_XTENSA_TLS_CALL, 56) -+ RELOC_NUMBER (R_XTENSA_PDIFF8, 57) -+ RELOC_NUMBER (R_XTENSA_PDIFF16, 58) -+ RELOC_NUMBER (R_XTENSA_PDIFF32, 59) -+ RELOC_NUMBER (R_XTENSA_NDIFF8, 60) -+ RELOC_NUMBER (R_XTENSA_NDIFF16, 61) -+ RELOC_NUMBER (R_XTENSA_NDIFF32, 62) - END_RELOC_NUMBERS (R_XTENSA_max) - - /* Processor-specific flags for the ELF header e_flags field. */ -diff --git a/ld/testsuite/ld-xtensa/relax-loc.d b/ld/testsuite/ld-xtensa/relax-loc.d -new file mode 100644 -index 000000000000..3c8d673732ff ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.d -@@ -0,0 +1,7 @@ -+#as: --text-section-literals -+#ld: -+#objdump: --dwarf=decodedline -+#... -+relax-loc.s[ ]+1[ ]+0x400054[ ]+.* -+relax-loc.s[ ]+2[ ]+0x40005c[ ]+.* -+#... -diff --git a/ld/testsuite/ld-xtensa/relax-loc.s b/ld/testsuite/ld-xtensa/relax-loc.s -new file mode 100644 -index 000000000000..d768470e287a ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.s -@@ -0,0 +1,15 @@ -+ .file 1 "relax-loc.s" -+ .globl _start -+ .globl _ResetVector -+ .text -+_ResetVector: -+_start: -+ .loc 1 1 -+ j 1f -+ .literal_position -+1: -+ .loc 1 2 -+ -+ .rep 10000 -+ movi a2, 0x12345678 -+ .endr -diff --git a/ld/testsuite/ld-xtensa/xtensa.exp b/ld/testsuite/ld-xtensa/xtensa.exp -index 9b2235b2151b..de39887936ad 100644 ---- a/ld/testsuite/ld-xtensa/xtensa.exp -+++ b/ld/testsuite/ld-xtensa/xtensa.exp -@@ -27,6 +27,7 @@ run_dump_test "call_overflow" - run_dump_test "coalesce" - run_dump_test "diff_overflow" - run_dump_test "lcall" -+run_dump_test "relax-loc" - - run_dump_test "relax-static-pie" - run_dump_test "relax-static-local-pie" --- -2.20.1 - diff --git a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch deleted file mode 100644 index 28f17d7c56..0000000000 --- a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch +++ /dev/null @@ -1,128 +0,0 @@ -From 735321812435ae278d3766a3371f55937dc776d6 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sat, 25 Apr 2020 00:40:25 -0700 -Subject: [PATCH] xtensa: fix XTENSA_NDIFF handling for PR ld/25861 - -Fields marked with XTENSA_NDIFF relocations are not negated, they only -have sign bits removed. Don't negate their values when relaxation is -performed. Don't add sign bits when the value is zero. Report overflow -when the result has negative sign but all significant bits are zero. - -2020-04-29 Max Filippov -bfd/ - * elf32-xtensa.c (relax_section): Don't negate diff_value for - XTENSA_NDIFF relocations. Don't add sign bits whe diff_value - equals 0. Report overflow when the result has negative sign but - all significant bits are zero. - -Signed-off-by: Max Filippov -Backported from: d548f47df4d2e3d117d504a4c9977982c78a0556 ---- - - bfd/elf32-xtensa.c | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index fded42d52a9a..4327b027911f 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -9670,37 +9670,44 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -+ diff_mask = 0x7f; - diff_value = - bfd_get_signed_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -+ diff_mask = 0x7fff; - diff_value = - bfd_get_signed_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -+ diff_mask = 0x7fffffff; - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; - diff_value = - bfd_get_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; - diff_value = - bfd_get_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; - diff_value = - bfd_get_32 (abfd, &contents[old_source_offset]); - break; - } - - if (r_type >= R_XTENSA_NDIFF8 -- && r_type <= R_XTENSA_NDIFF32) -- diff_value = -diff_value; -+ && r_type <= R_XTENSA_NDIFF32 -+ && diff_value) -+ diff_value |= ~diff_mask; - - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, -@@ -9710,43 +9717,40 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -- diff_mask = 0x7f; - bfd_put_signed_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -- diff_mask = 0x7fff; - bfd_put_signed_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -- diff_mask = 0x7fffffff; - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -- diff_mask = 0xff; - bfd_put_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -- diff_mask = 0xffff; - bfd_put_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -- diff_mask = 0xffffffff; - bfd_put_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - } - -- /* Check for overflow. Sign bits must be all zeroes or all ones */ -- if ((diff_value & ~diff_mask) != 0 && -- (diff_value & ~diff_mask) != (-1 & ~diff_mask)) -+ /* Check for overflow. Sign bits must be all zeroes or -+ all ones. When sign bits are all ones diff_value -+ may not be zero. */ -+ if (((diff_value & ~diff_mask) != 0 -+ && (diff_value & ~diff_mask) != ~diff_mask) -+ || (diff_value && (bfd_vma) diff_value == ~diff_mask)) - { - (*link_info->callbacks->reloc_dangerous) - (link_info, _("overflow after relaxation"), --- -2.20.1 - diff --git a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index a67d12789e..0000000000 --- a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 788cda9f9447e0fe67e582e8fb5adafd678d08b2 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..1f2c88b0b3a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index 5a2b91fe8e..0000000000 --- a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From b10e6230dea0015bf3b7748580b82c551f9a3a4a Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index e25da50aafb..530a41fca43 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5517,6 +5517,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 1f2c88b0b3a..a4a64f73b7c 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - #define TLS_UNKNOWN 0 -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1945,6 +1963,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 36284d71a9b..6e9e3190bb8 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2702,6 +2702,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index e6446a78098..b0003ab1175 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6164,6 +6164,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index 5082a30cee1..85163fc96c9 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -173,7 +173,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -276,6 +276,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index 0abef046202..7db3cad18eb 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 7d058d03f5f..332f4b7a9b5 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index adc6f5f8b9..0000000000 --- a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0f61f76454a9420f158f626cb09a4fbc08c3709e Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence - of R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index a4a64f73b7c..07fff3602a3 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index dc0431e0af..0000000000 --- a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From 36c7de7ef77ab0c30cb33e2c7ea7a6f4e3052c73 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 07fff3602a3..fcebbe5f23a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry - /* Track dynamic relocs copied for this symbol. */ - struct elf_dyn_relocs *dyn_relocs; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2176,33 +2193,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2269,7 +2299,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2280,27 +2311,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2343,7 +2374,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2355,6 +2387,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2372,10 +2405,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2387,27 +2423,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. */ - bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *s = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (s->size == 0) -- s->size = PLT_ENTRY_SIZE; -+ s->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = s->size; - -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- s->size += PLT_ENTRY_SIZE; -+ s->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 24cdbe5fbf3..9cebc49b946 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch deleted file mode 100644 index c3978e22fa..0000000000 --- a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Wed, 9 Jun 2021 17:28:27 +0200 -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 - -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use -an old compiler(i.e. gcc 4.9) build fails on: -``` -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in -C99 or C11 mode - for (size_t i = 0; i < insn_count; i++) - ^ -``` - -So let's declare `size_t i` at the top of the function instead of inside -for loop. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..32063ab0289 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; - unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ size_t i; - - /* Copy instructions into the output buffer. */ -- for (size_t i = 0; i < insn_count; i++) -+ for (i = 0; i < insn_count; i++) - output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - } - - /* Write out the output buffer. */ -- for (size_t i = 0; i < (insn_count+1); i++) -+ for (i = 0; i < (insn_count+1); i++) - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - --- -2.25.1 - diff --git a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch deleted file mode 100644 index 585b97b2af..0000000000 --- a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Sat, 10 Jul 2021 17:57:34 +0200 -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC - relative 26 bit relocation - -When building openal we were seeing the assert failure: - -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePausev -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceStopv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceRewindv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePlayv -collect2: error: ld returned 1 exit status - -This happens because in R_OR1K_INSN_REL_26 case we can't reference local -symbol as previously done but we need to make sure that calls to actual -symbol always call the version of current object. - -bfd/Changelog: - - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry - in switch case R_OR1K_INSN_REL_26 where we need to check for - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..4f9092539f5 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, - break; - - case R_OR1K_INSN_REL_26: -+ /* For a non-shared link, these will reference plt or call the -+ version of actual object. */ -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) -+ { -+ _bfd_error_handler -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), -+ input_bfd, name); -+ ret_val = FALSE; -+ bfd_set_error (bfd_error_bad_value); -+ } -+ break; -+ - case R_OR1K_PCREL_PG21: - case R_OR1K_LO13: - case R_OR1K_SLO13: --- -2.25.1 - diff --git a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch deleted file mode 100644 index 7e92e2bfd8..0000000000 --- a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 Jan 2022 09:03:28 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special - howto - -Previously when fixing PR 21464 we masked out upper bits of the -relocation value in order to avoid overflow complaints when acceptable. -It turns out this does not work when the relocation value ends up being -signed. - -To fix this this patch introduces a special howto with -complain_on_overflow set to complain_overflow_dont. This is used in -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 -relocations. - -bfd/ChangeLog: - - PR 28735 - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. - (or1k_elf_relocate_section): Use new howto instead of trying to - mask out relocation bits. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index cfa292f0032..ecb70753b6a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = - FALSE), /* pcrel_offset */ - }; - -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 -+ relocations when we know we can ignore overflows. */ -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = -+ HOWTO (R_OR1K_GOT16, /* type */ -+ 0, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_dont, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE); /* pcrel_offset */ -+ - /* Map BFD reloc types to Or1k ELF reloc types. */ - - struct or1k_reloc_map -@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, - if (r_type == R_OR1K_GOT_AHI16) - saw_gotha = TRUE; - -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 - relocation we assume the code is doing the right thing to avoid -- overflows. Here we mask the lower 16-bit of the relocation to -- avoid overflow validation failures. */ -+ overflows. */ - if (r_type == R_OR1K_GOT16 && saw_gotha) -- relocation &= 0xffff; -+ howto = &or1k_elf_got16_no_overflow_howto; - - /* Addend should be zero. */ - if (rel->r_addend != 0) --- -2.25.1 - diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 4382b32237..ef1b2a94db 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -12,10 +12,6 @@ choice help Select the version of binutils you wish to use. -config BR2_BINUTILS_VERSION_2_32_X - bool "binutils 2.32" - depends on !BR2_csky - config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky @@ -35,7 +31,6 @@ endchoice config BR2_BINUTILS_VERSION string default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC - default "2.32" if BR2_BINUTILS_VERSION_2_32_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X default "2.38" if BR2_BINUTILS_VERSION_2_38_X diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index 4141e0c5f2..e98cb85275 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -1,5 +1,4 @@ # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum -sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 21:53:57 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:53:57 +0200 Subject: [Buildroot] [git commit] package/htpdate: bump to version 1.3.4 Message-ID: <20220426214347.EA0E9844FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b3f42bf1005e3395f03ac4db0a0583306c9467b0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Removing also the upstreamed patch. Signed-off-by: Angelo Compagnucci Signed-off-by: Thomas Petazzoni --- ...SL_LIBS-to-be-configured-from-environment.patch | 37 ---------------------- package/htpdate/htpdate.hash | 2 +- package/htpdate/htpdate.mk | 2 +- 3 files changed, 2 insertions(+), 39 deletions(-) diff --git a/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch b/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch deleted file mode 100644 index 6dca2babab..0000000000 --- a/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 4ba90fedd553c3b06c925fb6ff5245a5dcabace9 Mon Sep 17 00:00:00 2001 -From: Eddy Vervest -Date: Sat, 29 Jan 2022 10:58:13 +0100 -Subject: [PATCH] Allow SSL_LIBS to be configured from environment - -[Retrieved from: -https://github.com/twekkel/htpdate/commit/4ba90fedd553c3b06c925fb6ff5245a5dcabace9] -Signed-off-by: Fabrice Fontaine ---- - Makefile | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/Makefile b/Makefile -index 4796efa..cf077e6 100644 ---- a/Makefile -+++ b/Makefile -@@ -2,8 +2,9 @@ prefix = $(DESTDIR)/usr - bindir = ${prefix}/sbin - mandir = ${prefix}/share/man - --CC ?= gcc --CFLAGS += -Wall -std=c11 -pedantic -O2 -+CC ?= gcc -+CFLAGS += -Wall -std=c11 -pedantic -O2 -+SSL_LIBS ?= -lssl - - INSTALL ?= install -c - STRIP ?= strip -s -@@ -14,7 +15,7 @@ htpdate: htpdate.c - $(CC) $(CFLAGS) -o htpdate htpdate.c - - https: htpdate.c -- $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c -lssl -+ $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c $(SSL_LIBS) - - install: all - $(STRIP) htpdate diff --git a/package/htpdate/htpdate.hash b/package/htpdate/htpdate.hash index b56522ea99..11e743c569 100644 --- a/package/htpdate/htpdate.hash +++ b/package/htpdate/htpdate.hash @@ -1,3 +1,3 @@ # Locally calculated: -sha256 74f34b013eba6f99369819fa4b3d48e9ab5e531ad04f6af59cc04e8777c76ed7 htpdate-1.3.3.tar.gz +sha256 744f9200cfd3b008a5516c5eb6da727af532255a329126a7b8f49a5623985642 htpdate-1.3.4.tar.gz sha256 7989949df09a0489434723c571541604cd3f2e0418c6a6aa9179bfaf8ec807cc LICENSE diff --git a/package/htpdate/htpdate.mk b/package/htpdate/htpdate.mk index e32480fc85..35ae25929c 100644 --- a/package/htpdate/htpdate.mk +++ b/package/htpdate/htpdate.mk @@ -4,7 +4,7 @@ # ################################################################################ -HTPDATE_VERSION = 1.3.3 +HTPDATE_VERSION = 1.3.4 HTPDATE_SITE = $(call github,twekkel,htpdate,v$(HTPDATE_VERSION)) HTPDATE_LICENSE = GPL-2.0+ HTPDATE_LICENSE_FILES = LICENSE From thomas.petazzoni at bootlin.com Tue Apr 26 21:54:16 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:54:16 +0200 Subject: [Buildroot] [PATCH] package/htpdate: bump to version 1.3.4 In-Reply-To: <20220426210128.127336-1-angelo@amarulasolutions.com> References: <20220426210128.127336-1-angelo@amarulasolutions.com> Message-ID: <20220426235416.3906ebfb@windsurf> On Tue, 26 Apr 2022 23:01:28 +0200 Angelo Compagnucci wrote: > Removing also the upstreamed patch. > > Signed-off-by: Angelo Compagnucci > --- > ...BS-to-be-configured-from-environment.patch | 37 ------------------- > package/htpdate/htpdate.hash | 2 +- > package/htpdate/htpdate.mk | 2 +- > 3 files changed, 2 insertions(+), 39 deletions(-) > delete mode 100644 package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Tue Apr 26 21:57:40 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 26 Apr 2022 23:57:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptodev-linux: needs CONFIG_CRYPTO_USER_API_AEAD In-Reply-To: <20220426212026.712081-1-fontaine.fabrice@gmail.com> References: <20220426212026.712081-1-fontaine.fabrice@gmail.com> Message-ID: <20220426235740.1b2543d1@windsurf> On Tue, 26 Apr 2022 23:20:26 +0200 Fabrice Fontaine wrote: > CONFIG_CRYPTO_USER_API_AEAD is needed to fix the following build > failure: > > ERROR: modpost: "crypto_alloc_skcipher" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "scatterwalk_map_and_copy" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_ahash_final" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_aead_encrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_aead_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_skcipher_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_destroy_tfm" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_skcipher_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_aead_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > ERROR: modpost: "crypto_aead_setauthsize" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! Are you sure of the relationship between these functions and CONFIG_CRYPTO_USER_API_AEAD ? crypto_aead_encrypt() is implemented in crypto/aead.c, which is built when CONFIG_CRYPTO_AEAD2=y. crypto_skcipher_setkey() is implemented in crypto/skcipher.c, which is built when CONFIG_CRYPTO_SKCIPHER2=y. CRYPTO_USER_API_AEAD enables a user-space interface, but here we're talking about a kernel-level interface. Could you clarify? Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Tue Apr 26 21:57:54 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 26 Apr 2022 23:57:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsrtp: fix build with libressl >= 3.5.0 Message-ID: <20220426215755.782961-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: crypto/hash/hmac_ossl.c: In function 'srtp_hmac_alloc': crypto/hash/hmac_ossl.c:88:55: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} 88 | pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c346780ed664c9fe8c7112e4c256cfe8080a7af5 Signed-off-by: Fabrice Fontaine --- ...legacy-OpenSSL-to-fix-LibreSSL-build.patch | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch diff --git a/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch new file mode 100644 index 0000000000..68bfb085f7 --- /dev/null +++ b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch @@ -0,0 +1,86 @@ +From 16483b18a9980575bee23898b2dbfbe2a4675d84 Mon Sep 17 00:00:00 2001 +From: Klemens Nanni +Date: Sat, 15 Jan 2022 23:19:35 +0300 +Subject: [PATCH] Remove compatibility code for legacy OpenSSL to fix LibreSSL + build + +In current LibreSSL, `HMAC_CTX` aka. `struct hmac_ctx_st` is an opaque +structure as of LibreSSL hmac.h revision 1.15 (14.01.2022) [0], thus +`sizeof(HMAC_CTX)` fails to compile. + +The non-legacy code path should compile with LibreSSL versions as old +as 2.7.0 (21.03.2018). + +Found while building https://github.com/desktop-app/tg_owt which bundles +libsrtp 2.2.0 [1] on OpenBSD 7.0 -CURRENT/with latest LibreSSL. + +Suggestion to remove the legacy code from Theo Buehler, thanks. + +0: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libcrypto/hmac/hmac.h?rev=1.15&content-type=text/x-cvsweb-markup +1: https://github.com/desktop-app/tg_owt/blob/6708e0d31a73e64fe12f54829bf4060c41b2658e/src/third_party/libsrtp/crypto/hash/hmac_ossl.c#L85 + +[Retrieved from: +https://github.com/cisco/libsrtp/commit/16483b18a9980575bee23898b2dbfbe2a4675d84] +Signed-off-by: Fabrice Fontaine +--- + crypto/hash/hmac_ossl.c | 29 ----------------------------- + 1 file changed, 29 deletions(-) + +diff --git a/crypto/hash/hmac_ossl.c b/crypto/hash/hmac_ossl.c +index ee6b0b58..c23c7f21 100644 +--- a/crypto/hash/hmac_ossl.c ++++ b/crypto/hash/hmac_ossl.c +@@ -78,26 +78,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, + return srtp_err_status_bad_param; + } + +-/* OpenSSL 1.1.0 made HMAC_CTX an opaque structure, which must be allocated +- using HMAC_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER +- { +- /* allocate memory for auth and HMAC_CTX structures */ +- uint8_t *pointer; +- HMAC_CTX *new_hmac_ctx; +- pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + +- sizeof(srtp_auth_t)); +- if (pointer == NULL) { +- return srtp_err_status_alloc_fail; +- } +- *a = (srtp_auth_t *)pointer; +- (*a)->state = pointer + sizeof(srtp_auth_t); +- new_hmac_ctx = (HMAC_CTX *)((*a)->state); +- +- HMAC_CTX_init(new_hmac_ctx); +- } +- +-#else + *a = (srtp_auth_t *)srtp_crypto_alloc(sizeof(srtp_auth_t)); + if (*a == NULL) { + return srtp_err_status_alloc_fail; +@@ -109,7 +89,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, + *a = NULL; + return srtp_err_status_alloc_fail; + } +-#endif + + /* set pointers */ + (*a)->type = &srtp_hmac; +@@ -126,18 +105,10 @@ static srtp_err_status_t srtp_hmac_dealloc(srtp_auth_t *a) + + hmac_ctx = (HMAC_CTX *)a->state; + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER +- HMAC_CTX_cleanup(hmac_ctx); +- +- /* zeroize entire state*/ +- octet_string_set_to_zero(a, sizeof(HMAC_CTX) + sizeof(srtp_auth_t)); +- +-#else + HMAC_CTX_free(hmac_ctx); + + /* zeroize entire state*/ + octet_string_set_to_zero(a, sizeof(srtp_auth_t)); +-#endif + + /* free memory */ + srtp_crypto_free(a); -- 2.35.1 From thomas.petazzoni at bootlin.com Tue Apr 26 22:01:59 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 27 Apr 2022 00:01:59 +0200 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils In-Reply-To: <87bkwn21vp.fsf@tarshish> References: <20220426132833.1579873-1-salvador.joseluis@gmail.com> <87bkwn21vp.fsf@tarshish> Message-ID: <20220427000159.58749c28@windsurf> Hello, On Tue, 26 Apr 2022 20:16:12 +0300 Baruch Siach via buildroot wrote: > Hi Jos?, > > On Tue, Apr 26 2022, Jos? Luis Salvador Rufo wrote: > > Patch title: docs/manual/prerequisite.txt: add diffutils > > No need for this line in the commit log body. The email subject line > appears as head line of the git commit once applied. Yep. > > The command `cmp` is used by `package/pkg-generic.mk` at commit > > 8623cc5deb5. This command is provided by `diffutils`. > > Actually, we have host-diffutils, so we can build cmp if the host does > not have it installed. All we need is support added under > support/dependencies/ like a few other utilities. Yes, but we're not going to build host-diffutils if cmp is missing. It's not done in our current implementation, and I don't think we want to do that. So it seems like diffutils is indeed a hard requirement. > We also don't list findutils as prerequisite, even though we rely > heavily on the 'find' utility. So perhaps we should list findutils as well in our hard requirements? Jos? Luis: practically speaking, with which distribution have you been able to get a system without diffutils/findutils installed by default? Thanks, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From f.fainelli at gmail.com Tue Apr 26 22:32:44 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Tue, 26 Apr 2022 15:32:44 -0700 Subject: [Buildroot] [PATCH v2 1/2] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option In-Reply-To: <20220426204233.77ed8bc5@windsurf> References: <20220426173211.64840-1-f.fainelli@gmail.com> <20220426173211.64840-2-f.fainelli@gmail.com> <20220426204233.77ed8bc5@windsurf> Message-ID: <6422cb5a-913c-88e4-16b2-aa27bb5a3ddc@gmail.com> Hi Thomas, On 4/26/22 11:42, Thomas Petazzoni wrote: > Hello Florian, > > Thanks for the patch! I hope you're doing well :-) Doing alright thanks for asking. > > On Tue, 26 Apr 2022 10:32:10 -0700 > Florian Fainelli wrote: > >> In order to add gcc 12 support for internal and external toolchain >> in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_12 symbol. >> >> Signed-off-by: Florian Fainelli >> --- >> toolchain/Config.in | 11 +++++++++-- >> 1 file changed, 9 insertions(+), 2 deletions(-) >> >> diff --git a/toolchain/Config.in b/toolchain/Config.in >> index d2c81217c84a..b572a89f2f85 100644 >> --- a/toolchain/Config.in >> +++ b/toolchain/Config.in >> @@ -117,7 +117,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 >> depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ >> BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ >> BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ >> - BR2_TOOLCHAIN_GCC_AT_LEAST_11 >> + BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ >> + BR2_TOOLCHAIN_GCC_AT_LEAST_12 >> >> # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no >> # longer exists in gcc 8.x. >> @@ -150,7 +151,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 >> config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 >> bool >> default y if BR2_sh >> - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 >> + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ >> + BR2_TOOLCHAIN_GCC_AT_LEAST_12 > > Did you verify that these two bugs still affected gcc 12.x ? The bug tracker entry for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744 does not seem to show a resolution for this bug so I am assuming that it is still active since it was not fixed in GCC 11. Similarly it seemed like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143 was still not quite fixed. Do you read the comments differently? -- Florian From james.hilliard1 at gmail.com Tue Apr 26 22:35:17 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 16:35:17 -0600 Subject: [Buildroot] [PATCH 1/1] package/wayland: don't rely on implicit GNU extensions Message-ID: <20220426223517.997019-1-james.hilliard1@gmail.com> Backport a patch so that we don't rely on implicit GNU extensions. Fixes: - http://autobuild.buildroot.net/results/c22/c227166c2825ae4e884936fbe627f3997e0e19b7 Signed-off-by: James Hilliard --- ...on-t-rely-on-implicit-GNU-extensions.patch | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch diff --git a/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch new file mode 100644 index 0000000000..fcafa98f46 --- /dev/null +++ b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch @@ -0,0 +1,108 @@ +From 0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9 Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Mon, 10 Jan 2022 14:51:55 +0100 +Subject: [PATCH] build: don't rely on implicit GNU extensions + +Currently libwayland assumes GNU extensions will be available, but +doesn't define the C standard to use. Instead, let's unconditionally +enable POSIX extensions, and enable GNU extensions on a case-by-case +basis as needed. + +Signed-off-by: Simon Ser +Signed-off-by: James Hilliard +[james.hilliard1 at gmail.com: backport from upstream commit +0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9] +--- + cursor/xcursor.c | 1 + + meson.build | 10 ++++++++-- + tests/display-test.c | 1 + + tests/event-loop-test.c | 1 + + tests/fixed-test.c | 1 + + 5 files changed, 12 insertions(+), 2 deletions(-) + +diff --git a/cursor/xcursor.c b/cursor/xcursor.c +index 0506680..188be7c 100644 +--- a/cursor/xcursor.c ++++ b/cursor/xcursor.c +@@ -23,6 +23,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include "xcursor.h" + #include + #include +diff --git a/meson.build b/meson.build +index 07bbd29..cab267e 100644 +--- a/meson.build ++++ b/meson.build +@@ -14,6 +14,12 @@ config_h = configuration_data() + config_h.set_quoted('PACKAGE', meson.project_name()) + config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) + ++cc_args = [] ++if host_machine.system() != 'freebsd' ++ cc_args += ['-D_POSIX_C_SOURCE=200809L'] ++endif ++add_project_arguments(cc_args, language: 'c') ++ + compiler_flags = [ + '-Wno-unused-parameter', + '-Wstrict-prototypes', +@@ -79,7 +85,7 @@ if get_option('libraries') + ] + + foreach d: decls +- if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep) ++ if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep, args: cc_args) + error('@0@ is needed to compile Wayland libraries'.format(d['symbol'])) + endif + endforeach +@@ -87,7 +93,7 @@ if get_option('libraries') + rt_dep = [] + if not cc.has_function('clock_gettime', prefix: '#include ') + rt_dep = cc.find_library('rt') +- if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep) ++ if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep, args: cc_args) + error('clock_gettime not found') + endif + endif +diff --git a/tests/display-test.c b/tests/display-test.c +index 763adc9..a6f410d 100644 +--- a/tests/display-test.c ++++ b/tests/display-test.c +@@ -24,6 +24,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c +index 9d43c91..a51ba8f 100644 +--- a/tests/event-loop-test.c ++++ b/tests/event-loop-test.c +@@ -24,6 +24,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +diff --git a/tests/fixed-test.c b/tests/fixed-test.c +index 47a4dae..0b58797 100644 +--- a/tests/fixed-test.c ++++ b/tests/fixed-test.c +@@ -23,6 +23,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +-- +2.25.1 + -- 2.25.1 From james.hilliard1 at gmail.com Tue Apr 26 22:42:20 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 16:42:20 -0600 Subject: [Buildroot] [PATCH 1/1] package/valgrind: bump to version 3.19.0 Message-ID: <20220426224220.1940185-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/valgrind/valgrind.hash | 4 ++-- package/valgrind/valgrind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/valgrind/valgrind.hash b/package/valgrind/valgrind.hash index 748fc3eb82..8487c07e42 100644 --- a/package/valgrind/valgrind.hash +++ b/package/valgrind/valgrind.hash @@ -1,7 +1,7 @@ # From https://valgrind.org/downloads/current.html -md5 de56a5532b0c81781db677ca712c585a valgrind-3.18.1.tar.bz2 +md5 4687a4990585a038c52f842448ef4e63 valgrind-3.19.0.tar.bz2 # locally computed -sha256 00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5 valgrind-3.18.1.tar.bz2 +sha256 dd5e34486f1a483ff7be7300cc16b4d6b24690987877c3278d797534d6738f02 valgrind-3.19.0.tar.bz2 # License files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index a3eabec9fe..b4c4b8b5a2 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -4,7 +4,7 @@ # ################################################################################ -VALGRIND_VERSION = 3.18.1 +VALGRIND_VERSION = 3.19.0 VALGRIND_SITE = https://sourceware.org/pub/valgrind VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 -- 2.25.1 From christian at paral.in Wed Apr 27 00:55:43 2022 From: christian at paral.in (Christian Stewart) Date: Tue, 26 Apr 2022 17:55:43 -0700 Subject: [Buildroot] [PATCH v2 1/1] package/go: add support for riscv64 architecture In-Reply-To: <55c0f7da-0907-b920-5a9b-33a82dcdb32b@mind.be> References: <20220414204922.866533-1-christian@paral.in> <55c0f7da-0907-b920-5a9b-33a82dcdb32b@mind.be> Message-ID: Arnout, On Thu, Apr 21, 2022 at 12:54 PM Arnout Vandecappelle wrote: > On 14/04/2022 22:49, Christian Stewart via buildroot wrote: > > +GOARCH is set when calling mkbuildcfg, so go1.4 is trying to compile riscv64. > > You SoB is missing. Go's repository disallows signed-off-by lines. > Also, the reference to the upstream PR is missing. And you should probably > refer to gerrit instead. Same issue: I've format-patch the exact patch sent upstream, without changes. Do I modify it specifically for this patch in Buildroot? > > diff --git a/package/go/Config.in.host b/package/go/Config.in.host > > index e82ab6e81a..8be86103ea 100644 > > --- a/package/go/Config.in.host > > +++ b/package/go/Config.in.host > > @@ -5,7 +5,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS > > depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS > > depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ > > || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ > > - || BR2_mips64 || BR2_mips64el || BR2_s390x > > + || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x > > Here you enable it both for riscv32 and riscv64, but below you always set > GOARCH to riscv64. I'm not sure if it was in this patch revision, but I have in my local version: # Go doesn't support Risc-v 32-bit. depends on !BR2_RISCV_32 > Also, are you sure it doesn't need any of the ISA extensions? I can imagine > that Go would be using atomics, floating point and integer > multiplication/division. Of course, there's almost no chance of finding a > riscv64 without these extensions, but better be correct, right? Probably yes. > Also, does Go support all three ABI types (integer, single precision and > double precision)? Again, we only ever test lp64d in the autobuilders, but > better be correct, right? There's only one riscv64 target for Go so I have to assume it means lp64d. Note: I have now tested this extensively on a Nezha Risc-v CPU as well as a Qemu VM. https://github.com/skiffos/buildroot/blob/e1fc20cf9/package/go/Config.in.host#L12 Best, Christian Stewart From james.hilliard1 at gmail.com Wed Apr 27 03:50:39 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 21:50:39 -0600 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support Message-ID: <20220427035039.1664864-1-james.hilliard1@gmail.com> Libressl is no longer supported as of python 3.10. See: https://peps.python.org/pep-0644/#libressl Fixes: - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 Signed-off-by: James Hilliard --- package/python3/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python3/Config.in b/package/python3/Config.in index 61470c2944..761c38c850 100644 --- a/package/python3/Config.in +++ b/package/python3/Config.in @@ -89,7 +89,8 @@ config BR2_PACKAGE_PYTHON3_READLINE config BR2_PACKAGE_PYTHON3_SSL bool "ssl" select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 help _ssl module for Python3 (required for https in urllib etc). -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 27 03:55:56 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Tue, 26 Apr 2022 21:55:56 -0600 Subject: [Buildroot] [PATCH 1/1] package/python3: fix unsafe openssl header path Message-ID: <20220427035556.1814178-1-james.hilliard1@gmail.com> Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers. Fixes: - http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3 Signed-off-by: James Hilliard --- package/python3/python3.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 3a334fb28d..7f3b7cc8a5 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -103,6 +103,7 @@ endif ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y) PYTHON3_DEPENDENCIES += openssl +PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr else PYTHON3_CONF_OPTS += --disable-openssl endif -- 2.25.1 From baruch at tkos.co.il Wed Apr 27 04:34:16 2022 From: baruch at tkos.co.il (Baruch Siach) Date: Wed, 27 Apr 2022 07:34:16 +0300 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils In-Reply-To: <20220427000159.58749c28@windsurf> References: <20220426132833.1579873-1-salvador.joseluis@gmail.com> <87bkwn21vp.fsf@tarshish> <20220427000159.58749c28@windsurf> Message-ID: <877d7b16mr.fsf@tarshish> Hi Thomas, On Wed, Apr 27 2022, Thomas Petazzoni wrote: > On Tue, 26 Apr 2022 20:16:12 +0300 > Baruch Siach via buildroot wrote: >> On Tue, Apr 26 2022, Jos? Luis Salvador Rufo wrote: >> > The command `cmp` is used by `package/pkg-generic.mk` at commit >> > 8623cc5deb5. This command is provided by `diffutils`. >> >> Actually, we have host-diffutils, so we can build cmp if the host does >> not have it installed. All we need is support added under >> support/dependencies/ like a few other utilities. > > Yes, but we're not going to build host-diffutils if cmp is missing. > It's not done in our current implementation, and I don't think we want > to do that. So it seems like diffutils is indeed a hard requirement. Should we remove host-diffutils? That means reverting commit 819637e0e9774, and part of 9521492bd0706 ("package/opkg-utils: add missing dependencies for host build"). Ryan, have you encountered an issue with missing diffutils on your build host when using opkg-utils? baruch >> We also don't list findutils as prerequisite, even though we rely >> heavily on the 'find' utility. > > So perhaps we should list findutils as well in our hard requirements? > > Jos? Luis: practically speaking, with which distribution have you been > able to get a system without diffutils/findutils installed by default? > > Thanks, > > Thomas -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From thomas.petazzoni at bootlin.com Wed Apr 27 04:40:55 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 27 Apr 2022 04:40:55 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-26 Message-ID: <20220427044100.5EBFF60E53@smtp3.osuosl.org> Hello, Autobuild statistics for 2022-04-26 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 20 | 11 | 0 | 31 | master | 230 | 371 | 0 | 601 | Classification of failures by reason for master ----------------------------------------------- unknown | 64 host-gcc-final-10.3.0 | 22 zchunk-1.2.2 | 14 libopenssl-1.1.1n | 13 uclibc-1.0.40 | 12 libevent-2.1.12 | 11 zlib-ng-2.0.6 | 11 git-2.31.2 | 10 host-wayland-1.20.0 | 8 libressl-3.5.2 | 6 linux-5.15.33 | 6 cryptsetup-2.4.3 | 5 host-gcc-final-9.4.0 | 5 toolchain-external-bootlin | 5 glibc-2.34-109-gd64b08d5ba7... | 4 host-libcap-2.63 | 4 linux-headers-5.15.33 | 4 perl-5.34.1 | 4 python3-3.10.2 | 4 shim-15.4 | 4 acpid-2.0.33 | 3 bat-0.19.0 | 3 gstd-0.14.0 | 3 libgcrypt-1.10.0 | 3 libssh2-1.10.0 | 3 libv4l-1.22.1 | 3 pipewire-0.3.50 | 3 qpid-proton-0.35.0 | 3 refpolicy | 3 ulog-0389d243352255f6182326... | 3 xenomai | 3 apparmor-3.0.4 | 2 aufs-util | 2 dash-0.5.11.5 | 2 elfutils-0.186 | 2 fontconfig-2.13.1 | 2 frr-8.2.2 | 2 fs/ext2/ext2.mk:65: /home/a... | 2 fs/f2fs/f2fs.mk:64: /home/a... | 2 gobject-introspection-1.70.0 | 2 gummiboot-2bcd919c681c952eb... | 2 host-gcc-final-11.2.0 | 2 host-gdb-arc-2020.09-releas... | 2 host-go-1.18.1 | 2 json-c-0.15 | 2 ktap-23bc7a4a94bd9e4e1b8b7c... | 2 libcap-ng-0.8.3 | 2 libeXosip2-5.3.0 | 2 libnss-3.77 | 2 libsrtp-2.4.2 | 2 libtorrent-rasterbar-1.2.15 | 2 libwebsockets-4.3.1 | 2 linux-headers-5.10.104-cip3 | 2 linux-tools | 2 ltp-testsuite-20220121 | 2 nodejs-14.18.3 | 2 quickjs-2021-03-27 | 2 tinifier-3.4.0 | 2 uacme-1.7.1 | 2 acpitool-0.5.1 | 1 brltty-6.4 | 1 brotli-1.0.9 | 1 cryptodev-linux-1.12 | 1 dhcp-4.4.3 | 1 dmalloc-5.6.5 | 1 docker-cli-20.10.14 | 1 edk2-edk2-stable202102 | 1 fbv-1.0b | 1 flannel-0.14.0 | 1 freeipmi-1.6.9 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/ubi/ubi.mk:51: /home/aut... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 fs/ubifs/ubifs.mk:49: /nvme... | 1 host-gcc-initial-9.4.0 | 1 host-google-breakpad-c85eb4... | 1 host-nodejs-14.18.3 | 1 host-pahole-v1.23 | 1 libmad-0.15.1b | 1 libuhttpd-3.14.1 | 1 libvorbis-1.3.7 | 1 linknx-0.0.1.38 | 1 linux-5.10.104-cip3 | 1 linux-fusion-9.0.3 | 1 linux-headers-5.10.104-cip3... | 1 lttng-tools-2.13.2 | 1 mesa3d-21.3.8 | 1 musl-1.2.2 | 1 netsniff-ng-0.6.8 | 1 ntp-4.2.8p15 | 1 numactl-2.0.14 | 1 openobex-1.7.2 | 1 opensbi | 1 package/pcre2/pcre2.mk:33: ... | 1 pcre2-legal-info | 1 python-greenlet-1.1.2 | 1 rtl8188eu-903b6fcb821465fe9... | 1 rtl8723bu-19b4bdc05483a1e79... | 1 rtl8812au-aircrack-ng-3a640... | 1 rtl8821au-4235b0ec7d7220a63... | 1 ruby-3.1.0 | 1 sg3_utils-1.47 | 1 shadowsocks-libev-3.3.5 | 1 skalibs-2.10.0.3 | 1 ti-sgx-km-cf7f48cb30abfd5df... | 1 valgrind-3.18.1 | 1 wavemon-0.9.4 | 1 wolfssl-5.2.0 | 1 wtfutil-0.41.0 | 1 x264-35417dcd65a57321fbadf9... | 1 xenomai-3.0.10 | 1 xenomai-custom | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/c7a4f03b74036d4404eb42868cb0cedde81dc4b9 | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/61adb75ed2b05058c67ec933ecbea32a4e9d9693 | ORPH mips64 | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/cd624b866f48f4d5b7d5a1c85a923fd065eaf57c | ORPH mips64el | acpitool-0.5.1 | NOK | http://autobuild.buildroot.net/results/9561667aa77a9f3eb55ff0ef6b5ff33354b57e7e | x86_64 | apparmor-3.0.4 | NOK | http://autobuild.buildroot.net/results/4b38a4fc42e3160d630b4dbe17b6ec70509debbc | arceb | apparmor-3.0.4 | NOK | http://autobuild.buildroot.net/results/b4676fbffa009f25fcf5789722a4cc3bcc5602f6 | aarch64_be | aufs-util | NOK | http://autobuild.buildroot.net/results/e3a4d9ed56799b01999296a6acc3a6381a8fd8c7 | microblaze | aufs-util | NOK | http://autobuild.buildroot.net/results/892c192a602c2b5ebe4ddba66cfe33314e6db243 | i686 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/6f2c8fdab7c62313ad5b5fd564db23fcfca5389f | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/15a669661649aa3d7b7d9e2b367fec3a19322d8b | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/8759860983cf633365f7a124d76d0f512d449bfb | microblaze | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/7e881d0bc26fce9de91a46bb71b77c16eb91b29c | m68k | brotli-1.0.9 | NOK | http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db | arceb | cryptodev-linux-1.12 | NOK | http://autobuild.buildroot.net/results/237b490de64161a2e9cc873e32b99cf71122d389 | ORPH powerpc | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/631c83ac2471d9dda1778cd136aed5d593f9584f | armeb | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/42c4fd528a54622f28a3673eb38e0b7e9218b563 | m68k | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/42985a30dc9c6ae002b9aebc7123d99baef83c08 | sh4 | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/a30d009c5b67808cabd9cb95f2e2721b8c5adb1f | mips64el | cryptsetup-2.4.3 | NOK | http://autobuild.buildroot.net/results/2a6a7cf8f9f096d62d0a07bc2eb9bd3cc5530267 | s390x | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/b57c0f3e9c80aee1b480b5e90edc7a7a2a8fc10a | ORPH aarch64_be | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/650c5c8dab94faab5750d99f76977769779a2d3d | ORPH sparc | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/6b722d6ead28aef23139a1492e09e8a69f18d753 | ORPH i686 | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/ae93e7a84898b90ce9f91a923e211dfba8b7ab97 | ORPH s390x | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/d7dffda77581742299fc5c02b031029bcce5f845 | i686 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/09ccdfb6d4d78470fdcfac13816712307473e786 | microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/dfaf988b40cc95b1e2a4e1a5f72accc96fe33c90 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/ba2ef25411dff49c1451a6be4c0ecc5d163f2138 | ORPH s390x | fbv-1.0b | NOK | http://autobuild.buildroot.net/results/0ff9a22d85b73a6534aabf5d03be8baefcf87d48 | ORPH powerpc64le | flannel-0.14.0 | NOK | http://autobuild.buildroot.net/results/956bf6c609d5371ee91e0db4fe0e1d5f8eeeebc8 | riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/59390fce0e022f48282656edfdbade0292e3b3ed | ORPH riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/167e7ca3ad25e1d139576a1e5d696c93133c9960 | ORPH arm | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/26090162396b1b8cedfc58e1790ced528fcc35c6 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/2e464ee87558a046a2c892a06141cab4789e2fc2 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/a0869ba045fc49ecc7e687e0502b190db9dcd93c | mips | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/e8f2b1a3adc244ff63cffe523975a3a91947a0bc | mips | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/702a5f9aec7d554516b9c0bbe2e244bfda25162a | mips64el | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/26b47975955e8cf792ad2d06756588e8c1224033 | sh4 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/23005397734a9948a806132fda5e8b35c8ec69dc | sparc64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/d680d008928ac982b2932d3c76302ff9e6b26f3b | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/01f59e2cce3e1f029ccc1416b412475c194b72be | mipsel | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/34b05ca28129b3250d6bf468c9fe3c27aa6f0c47 | xtensa | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/70844c9e77680638131ca8e6564a241f43795173 | mipsel | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/26c1e541efdcda892802d82d48eb46e2cbcb5f4d | mips64 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/b7f9e35e29407a7acb99d6b077d79cf3fc2e16e6 | sparc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/cf5253f9408c4294a09fdb70bcca3628f60b4fea | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/e20537c36a74319b9a2d62725bc16db312af8b04 | powerpc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/2a89642f4273b93d0494c6ac574fa93fc4e34d10 | mips64 | fs/ubi/ubi.mk:51: /home/aut... | NOK | http://autobuild.buildroot.net/results/97ddb884fff339ce1fc247a2337930bc50621511 | arc | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/cd4de3dbc84221df272f4bbdcbd279782e5f7290 | sh4 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/de88869908f745f383a79fd36bd6f2328fc8fab6 | sh4eb | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/a6e45ff3d1f46213517f51303230cb8f05368d80 | sh4a | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/85607f95637cb8829e71cfe6e5289a3e055865d9 | powerpc64le | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/ad3808dfe1d99dfdda90a8695a3074c234fc638d | i686 | fs/ubifs/ubifs.mk:49: /nvme... | NOK | http://autobuild.buildroot.net/results/736cc3a3a4a7e544308e38a3fd93dbce4d365916 | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/af3021af42ffc4612a705ecca573879cbb046225 | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/4d0b5f23874bd55b76b7a904d199c05c4029a491 | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/622d3358ae2d7cc17f56d9b39d39bb0e5fcfc02c | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/210882507bfa1e414f3bda67d14ca1eceae22bc5 | arm | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a421f1afd92bb13560f95b84d34b33792e58840f | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d5c5f68d9ff0e0ab844d79e9086fe166f7c3d5bd | i586 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e5b69260b67ab7c8e6acb3454b5955f502112df4 | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e1eaf3678bc0a34a03f0351f6d5496a092bb374a | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/58dd7b4d56e6a4b7146d0d9c0c7c5aafba116df6 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/2bd0a02941e161d340215a9903d1c452f14348bd | sh4a | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/758c66961d10daee05c1d5ec88fefd77da8fc5f9 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/d224390c8635210313c79cae905a87bb7462c9c0 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/27b66dbf19c679eb08a276c711c8ac541a1ad721 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/0740be3fe941992228a2d36e2a9f6385c6a0f5df | s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/e42084e48d9f8825c836c2a19daea16e1c449c6f | ORPH s390x | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/e03b14fe9daa3698e244bb474d973e339eea79f0 | ORPH mips | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/8cffe37b363c48a52e5db1650887883c3c4ee0ee | ORPH mips | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/c58242b70940db9ddfa5344d4d265b740775e98f | ORPH arm | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/4f7a6322932d0f9775d7ea602cf09a053981a43a | ORPH x86_64 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/e81187a5c20071aa534cd947ec50ea918cf047a2 | i686 | gummiboot-2bcd919c681c952eb... | NOK | http://autobuild.buildroot.net/results/05e87b1365c5d33c337c6ebe9466c095e96a13c6 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3faa4478412557ff2830b065ec26f8e2e6ac7392 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ab0183d0858ccc2cfb5f391fbb30ae0e6a1f21bc | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cac0cbd898af3e1ad736c2e86f32fee9225b5469 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1ae0c628d0edce9f1a379d5ea7d95db77f7d1c2c | microblazeel | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c0a93f37a59891096424e5d89218634be36fea81 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e5d531412e90fa5cff3c8ebc9a8480fd11bd2e42 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/7bc1ee5385b0cfe2ddc95b39a2546315485eb8f3 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ceba157665dedb9d9ca5160a64b6cd2a3e84bacc | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e7c89bea0f5f2bf504dfae84bd102c39e2b7094e | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4a6a5ab2e4b28da768d011ac36f41feb2cac47a1 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4f77aad88cb142f099435eb23ea008f83628d3cc | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/3f3772fb3501ef16bb14ec5fa3cd2b0092c2d79e | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b9833a1830357ac1886eb8b7d91d8077cf1ebb5e | armeb | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/dd31e46d35a04e385e6f9afa02eb9d16b0098654 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5f7b975e3848db37daea01dd3d7f4a518a35be89 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6f87c2ebed76f06230d8d8d08f4be2c643230223 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5820db16d1129d4cb0ac7dcbca6ee8b90a0594fc | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/75fadca40832378cc52307997690cd9bb2d5f578 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d6f25e5f62b9bfece7fd37b2fc7791de9754f9dc | arm | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/78fe3a91737b2532caf80b4763fdaad5933eaa9d | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c1d9ccc49dd3bfca72d8e547b11c8eca50a7e534 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/f08212a63ca560ad8029eb431ffe1780e115bc84 | powerpc64le | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/888d19da1ea61930dfbaf2a80d1af2c09d7f7145 | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/0a6b76819f9962d86f6b62b99e2fa015427c2a25 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/67f24adb69c448f7be2c998bf9aa5dbe3bd50e3e | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/56e5be5f241e04b49433250e59ea73a591bb9318 | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/83556f21a04c062a9340cfcaea4aaa7ac53a8232 | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/0e01d4d28f2ccff057d2009510300104ca387876 | x86_64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/740850df3e1831247386aa47148e530041c0a3ea | arc | host-gcc-initial-9.4.0 | NOK | http://autobuild.buildroot.net/results/8a3f1aa37743cf9ab86a8ebe79ee949db6b373ac | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/20a68a1c7b9c98ff0ab9757162ebc9a04d2485c5 | ORPH arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/8217d1925180f619d4340805305210421f2f359b | ORPH mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/6e12597335b4bf9a7d252e4534a9b8596d6dd128 | i586 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/ca51d035aae0ebd8e3e92f4ea958ba07784381d7 | arm | host-google-breakpad-c85eb4... | NOK | http://autobuild.buildroot.net/results/c0c6640136a0568608fb64daddaf0f27c56acd33 | mips64el | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/10d8ca86d2e4c44ff458b68b637125625c0c9880 | mips64el | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/4d9d8f207535274c26664cd2d78147ab290d186f | mips64el | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/f85e6e007830a87651d9866b76ebf7fa740bf9a7 | arm | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/7c71a78c75a6dc5b117ecbe843d8874b7f07a30f | s390x | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/d1f49b451b56e3cf6a97d27e8db5b85b0cb58ca9 | riscv64 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/fda31e3f41826ba1b6b19b64627fdc09d7b4f401 | powerpc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/83b8944f01d587190c9a1846ce79ae5a5651a989 | x86_64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/c9d58581f8490d8b83ae0e038e63ea8538922ae9 | x86_64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/bc5e00284417c2bb27232602f6b90a37b114953c | powerpc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/0466fa16a1a9e49fbcd4ec5cf9acf323724aa6a3 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/56d52b54401eca07f39b5d03ab351f6a45108333 | arc | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/295fb36876a983a6347f8342a8cc0f4cc7991324 | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/c227166c2825ae4e884936fbe627f3997e0e19b7 | or1k | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/b5fb9089eae0a7d1dc63a21f71bbf4402e52007a | riscv64 | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/0ff7d67dafe4858cbdb6cb521f7b737f6b794d32 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/b232e8b7c5d0b0546ba54c74d5c85619f9d4371f | riscv32 | ktap-23bc7a4a94bd9e4e1b8b7c... | NOK | http://autobuild.buildroot.net/results/c886c60adc2cc57db865e7228b05e3b9222054a3 | sparc | ktap-23bc7a4a94bd9e4e1b8b7c... | NOK | http://autobuild.buildroot.net/results/67cca8d26b266b341b9e37cae6863864c14feb96 | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/2fce65c62b09125213a40e8a6c2668dae5e1f38f | riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/055d10a832db7ed0767162d1afc69075e7ba6ced | mips64el | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/e63c5cb69b85765a6991770ec9b5dbdf622d3339 | mips | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/cdbfef2bb173674ced82588ec39e4b5f0aba5462 | powerpc | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/84f2f41ce048a742aacc41dd6821bb75ffb3cea0 | armeb | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/18084d3080a466e8aa5576a2c7135e9f8a81eea5 | aarch64_be | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/2855a58518691b8ea23670154bfae54b5411efce | mips64el | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/924d8723dbe156aac51c944a99d43c6d1ab077ae | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/dd57608a5573cb74e3d3b2b4978eb28a5975e22b | sparc64 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/bcbae42451d967740bc232b2984233d8be7ea3eb | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/831a405fed2b066999c3278b8af7e5380c8a7aff | s390x | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/e1b9f900a153e211072d2e1599e6a8f049fc0ea8 | sh4a | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/273f9aa354a08ef3af6140b8dec086408bf5d574 | mipsel | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/f1f6384abe816b91307014e440872ac6a32aedcf | powerpc | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/fea8e6397e52562b5af94874ae0c844cb6b9bdd0 | powerpc64 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/43445863f6605c260c34626c89b5d302d6724684 | ORPH i686 | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/2cca15de1f824b577fbe1add62b75a663f99ac6f | ORPH powerpc | libgcrypt-1.10.0 | NOK | http://autobuild.buildroot.net/results/7f37b2970cd9f142a59f7c12ebfdb0c134022931 | ORPH armeb | libmad-0.15.1b | NOK | http://autobuild.buildroot.net/results/f755e19d2d5c8dfe3b777f726b007d4cf98ef220 | ORPH powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/5be2f66f9be8e2d6de3be6e36bcca9f8580f3b61 | aarch64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/4305cea1ae5bf47326fca4fb1e36aa7a553a0c16 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/351129be90462019eabb092280b2055ea33ccbc4 | or1k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/757df9c93e81cfa7a10c4c3659e1fad51717cfa7 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3e13548c911c1d0b238639a62d2d20e4923a89c1 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/eb89dd21ae7251c3103ac538c3e9ff95c84d13e0 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/23c66efd06ce76e128a12e931b178adb2cdb040d | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/ab75af1978a622087aaae83cfad663f9851d7820 | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/532f1596e1b54a8004d71cf59a37de52a29bdad9 | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3c2793ba4474aaba1eb479ae469649e5dcbc8e9b | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/84e2cbfe7e6f6e34138f4bc35dcc23a5ac50d021 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/c2a7b678d0c0882aa52e8e06350e4adfdaab726c | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9ddbbd126d651fe28ce8075e001f3685ddb6aec2 | microblaze | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cc4e5ae89b455798bf2a62dd77426d06954014a3 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/dee788682c3a3435f4748d28383689b798a90218 | mips | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/4a3952f867bb5d521a010aba1d4e4da1ca098f6b | ORPH mipsel | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/14e414ec14d3beda5a964c603113795955bd807b | ORPH arc | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/67dfd2a57cc8238f439e7f56acf158f61ee4b953 | ORPH i586 | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/bca323b09e210c8576ec48b6f6e85d54f7045917 | ORPH mips64 | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/6781efb7aebe2d6f70d844f8e3d02057105e82d8 | ORPH mipsel | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/a84e588408dee4081bb493b81525c55506c9d29d | ORPH x86_64 | libsrtp-2.4.2 | NOK | http://autobuild.buildroot.net/results/cad54a1edf476a31f28d5e7da8c90b29aa6c5578 | mips64el | libsrtp-2.4.2 | NOK | http://autobuild.buildroot.net/results/c346780ed664c9fe8c7112e4c256cfe8080a7af5 | mips64el | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/71586902a58bcd982e1d8e133dbd21a60f34b720 | sparc | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/e306395c86aac6abceefb7ab82d58afae378baa8 | arm | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/a8e257b123dd91391f49c98cbb3496affc019042 | mips | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/d4b0203aab5adc58e4b4b17a85abeae9bd697edd | riscv32 | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/f35efcb86f81d1d82e1928f63a57c972631cac3c | mips64el | libuhttpd-3.14.1 | NOK | http://autobuild.buildroot.net/results/a3d0373e575a02276de0085544e1ff37a0d789dd | powerpc | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/8e258f43a4e7e70f1d08468097990f9965b53207 | arc | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/9e9f2401aaad47a8beff5f537e3a4206472ddb24 | i686 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/b7b2253ac902b441cc6ff12500b56bd15c413d71 | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/e0c0e8b5f32a80f31d09f825d97490aa2772d841 | mips64el | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/4454c38d308dd28ca02a2c3b88624b7bf12e5c8d | aarch64_be | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/a9b95e7b9b5f543071d6ed4ef970a3029d8da9a2 | xtensa | linknx-0.0.1.38 | NOK | http://autobuild.buildroot.net/results/ce5753193ec4518c75ee0ab9270b577397ca1c02 | ORPH sh4a | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/3602b8953af70356f8e475d86c890d7120ed8f9f | ORPH microblazeel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/5d13151bca8dd4d011efb7e4ff87498badefd378 | ORPH mips | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/0682afb06a1616d944890702b2128c9836500460 | ORPH powerpc64 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/00a6fea29039bc9bc3063a1fceeb44e1d7a1a1bc | ORPH microblaze | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/1be4878d2d5f251a31e7c75a10f9a0f9d4eb1c4f | ORPH mips64 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/540684047c70787a2a57c60b7591532cd51aadef | ORPH arc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/33f495d9fca5931bcc768d45ee7f23934788352a | ORPH s390x | linux-fusion-9.0.3 | NOK | http://autobuild.buildroot.net/results/4d4a576f8bf1b710765f48eeab29e72d3dd43cac | ORPH arc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/428140ababedd35ac9cc020bf26652b7984efdd1 | ORPH powerpc | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/f312333571f32873695d7316564b52c4735596d3 | ORPH microblaze | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/6e71fa1b9c1f21445bf6d0c53f8f9667202a8f54 | ORPH xtensa | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/d4c3b24f65befc9197a32e4069286218ac634186 | ORPH microblaze | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/29c973a5bd46939d99c81dfc98b95550aa8c05d9 | ORPH i686 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/23b10d10776290b01a9a8fa67287d08171fa9dee | ORPH arc | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/961f40bca95e3bb1b2b7151fcaedcba53c751dbd | ORPH mips | linux-tools | NOK | http://autobuild.buildroot.net/results/139a2b173da44e6d1ca401a9a4762787933bdaf5 | ORPH sparc64 | linux-tools | NOK | http://autobuild.buildroot.net/results/8432b9176cd0bda05024dbaec18593ab4e1df9e4 | ORPH mips64el | ltp-testsuite-20220121 | NOK | http://autobuild.buildroot.net/results/06758dffb5a0e7cda9ecfc4c38bb22244b553533 | or1k | ltp-testsuite-20220121 | NOK | http://autobuild.buildroot.net/results/8bd637d52cb27fd10fb8e2cd5c023615149c98b9 | mips64el | lttng-tools-2.13.2 | NOK | http://autobuild.buildroot.net/results/940d2a46e588431b7fd8d0dbc8dc55853f52c1d7 | x86_64 | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/e9a0c312e2b2c71fcd0e00cffdde4cd18c544e90 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/ca1e1297f8fc5e682a49f95e55e8d44d25852b69 | x86_64 | netsniff-ng-0.6.8 | NOK | http://autobuild.buildroot.net/results/a33a8616f71e7a525fbcfd151c615c5088d0d23b | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/63102d82ffe91264347b06626991d55c0a4b5eee | mipsel | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/ca105073c74bd37671b74b374f10644838e492f4 | m68k | ntp-4.2.8p15 | NOK | http://autobuild.buildroot.net/results/9c4318301aa13137cbff420053b6eeecc2c7e584 | ORPH microblaze | numactl-2.0.14 | NOK | http://autobuild.buildroot.net/results/266f006bbde67c8f13477eb6973e6de993ab7b67 | sparc | openobex-1.7.2 | NOK | http://autobuild.buildroot.net/results/5724865d2e32a4cfa207930d6f181d417d91fae9 | riscv64 | opensbi | NOK | http://autobuild.buildroot.net/results/c8bbd73f180ab32b32a2acf463a1ba14bbfbd300 | x86_64 | package/pcre2/pcre2.mk:33: ... | NOK | http://autobuild.buildroot.net/results/098c2eb1e19a55ce9965c4aa04f3389f98fa5c6f | aarch64 | pcre2-legal-info | NOK | http://autobuild.buildroot.net/results/40f08c3180ba3a7be34642c704e2391bd35dfac5 | ORPH i686 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/8c14bfa6fc5101d05bfc926a47db2e6f415be967 | microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/76a3dbe5ef56994066a70f3f8c84e2ba044d3476 | arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b6064fb3e967cdd7f7baa5dfb9a6c76afa08dd35 | microblazeel | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/57f4bac20319d3671062b07c2409d1ee4e857d6b | powerpc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/e3077d373f48fab2cc4f767581bf9b16f1c383c3 | sparc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/99d94b7f5ad344a701bc0453875ae38797f16ef8 | mips | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/5d2cc2464c07ba68f12ae271a9a5cae017cea19a | mipsel | python-greenlet-1.1.2 | NOK | http://autobuild.buildroot.net/results/5c33e894e1a8e08392e90361988b40691f97d2d7 | nios2 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/1482acb3eb3af595978ce57e0b8ca7cd12dd8bbf | sparc64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/d15d7d618916eda7bd40eb80f5f4f1e98de62db8 | mips64el | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/a707d8849b2f10242775df74af4bd0bcd358cf85 | powerpc64le | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/a160cfdc9dfc036c4dc41af1c796f8838d91c573 | mips64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a3b9ce5abe59204fb48828fbcc9fc17cb5155315 | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/1d36206d3a52fb0396dad56f050150cedb74b987 | mips64el | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/ab24ee404851ed92ca1270a181c8410c62816c15 | microblazeel | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/025aec1a0b387b257d3abbf9ba349cba34127a9b | or1k | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/6cd51fdced2974fae9e6efa775520b8b25ccda27 | aarch64 | refpolicy | NOK | http://autobuild.buildroot.net/results/6f928378502776fa69e27180385e4e73a9f94cc3 | mips | refpolicy | NOK | http://autobuild.buildroot.net/results/2b917265f5ad590b86ce406264cca4aa391c2ce0 | mips64 | refpolicy | NOK | http://autobuild.buildroot.net/results/d5aa9acc709c7835b948cda7e65f7d8e116eadf2 | riscv64 | rtl8188eu-903b6fcb821465fe9... | NOK | http://autobuild.buildroot.net/results/9ea060cc35e859ebc73c65fe2d1f7478f9b4fa8d | microblaze | rtl8723bu-19b4bdc05483a1e79... | NOK | http://autobuild.buildroot.net/results/64247bb0afc2b6b4c00a257b974fa9a396e43926 | ORPH arceb | rtl8812au-aircrack-ng-3a640... | NOK | http://autobuild.buildroot.net/results/abf8ce5b7f191bb9cbc19e24f9a5eb29b1cea349 | s390x | rtl8821au-4235b0ec7d7220a63... | NOK | http://autobuild.buildroot.net/results/9a55831ed1a99cf1937e6c54d9cf52a0b3b7ae7c | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/dc81c084764d64c28b9abed33aaffe729717b71a | m68k | sg3_utils-1.47 | NOK | http://autobuild.buildroot.net/results/196c0c2f977653306bab72c2ca9b148cb67bc300 | microblaze | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/cb08fa978fcc845953bc2543568af3f1a232388d | aarch64_be | shim-15.4 | NOK | http://autobuild.buildroot.net/results/d64c38a3ce8021bbc8afcba4a2eed8a78d462255 | armeb | shim-15.4 | NOK | http://autobuild.buildroot.net/results/b4b5dfdd51f7bcca158e0423c78f86c3b17d1748 | aarch64_be | shim-15.4 | NOK | http://autobuild.buildroot.net/results/21972d44e3704895eb2948bb74d1df34c29d59c0 | armeb | shim-15.4 | NOK | http://autobuild.buildroot.net/results/a1f65a267233753024c13e95625d613e34d11f0e | or1k | skalibs-2.10.0.3 | NOK | http://autobuild.buildroot.net/results/0e17451e17c7be4e3f867dab39a3b4722da1cb90 | arm | ti-sgx-km-cf7f48cb30abfd5df... | NOK | http://autobuild.buildroot.net/results/17e4da346d062570b9a84ab8eb1ce93c6d7384be | powerpc64le | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/578cffdca995e5bb3edcf1feab28890c85ad7b75 | powerpc64le | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/683d83b46f8051fccd7aed086682037ba43ad48e | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/466a485374e2cc4257edd6cae4e199bf248aa57e | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c74f942740e6f542654b40444b51fb327ed2b73d | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/c1e80861fab29f32ec27a93530cb0dba90b4dd57 | nios2 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/a221fe9707c82e8b34c5c1ae060df5c9b0f78a08 | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/0c032a58ac0bf388499c0f6c3210db822df5e860 | mipsel | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/3702af75bd8d5d74c83e10fe828ef0d2afbd54a6 | arm | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/fe1254c7330ab1e678a1dc25a6e28136aadc3de2 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/74495ff2c0fcffb8859ac61a8604153b120a5107 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/39897ab8df013f276c7313cf29ff5f408ebb049e | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/47bae259ccee3ab71623f32be9e81f3d94aa3e89 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a0482f847f9c8ff82af508ff04768c49d7741e70 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f4777961a3787a31c96bf8b4e1e350226476e6a9 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/3e45653dfedf2ddd90f45db37224c230da8cbad0 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/021668532c7d15ad40c4adc43fa2ab39bd55717d | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/654cd0944cbdb3f5c3c02a9117e4ea0b0996da05 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f6c74882de9d4db38dc8468b31c15111cf789ccf | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/36cbe46e11913deeb3cb9759ab83bb6194b97bf9 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bd456389a937faeb09cb07be7e1249538529e38f | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6a23ba34e8aac821af6fbe9fa041f4e93dd4a089 | mips | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/08ffe36804cf0fb36b3d5b32540303d9342b4129 | powerpc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/5042ee79f47c2d6dd59f692b6620f2c4e572b262 | xtensa | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/87da7cfc7515a19ebf20e6dffaf443d2fabf8901 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/8017528d905fc1aa6105491c9b4957f924bc62ef | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/33192a9c76f8ef60471fc81b804bad8500073775 | arm | unknown | NOK | http://autobuild.buildroot.net/results/6717ad218072977862d927cbb33d5f9a81ba948a | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/10770de992fd348a2ebdee3d8077a02526b5f8dd | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/a5b7e0c3f779283c9a5ff1298ceceeee82e835f4 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/e85a11c98a2de3faa2a9c2f535cc0b5c35e648d8 | sh4 | unknown | NOK | http://autobuild.buildroot.net/results/ca792d99433a8486b12cf696aef0860478f84115 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/115ad43bbe92de15b8ce1ac8b4db5d996e98514d | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/760a4eeb5bdf5a2a3bc7aefa04e7692b7da1a80e | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/1de2759db47eca5abaff5c1d7549d721bc4d5fd8 | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/11513bd817a0c410470ec16afacfc9131340f1f4 | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/557e9e156d98d8cf92f7f4a714ba8fce38ec87df | i686 | unknown | NOK | http://autobuild.buildroot.net/results/509d1e5e9e067ecc7005c303995dcd40a6411ae0 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/f57f140ab51cd4c281139cc2ff871cb13612b301 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/71160c06b0959eb1c7d099127caae087db3c7d37 | powerpc | unknown | NOK | http://autobuild.buildroot.net/results/6f6359bc28fa05592d52b8b738885a83801f58b2 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/1c46106648ee597f2164898a3943c7ca08d50739 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/f774f6409469be90af72ac5dbdd7b2d5e207f03b | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/642441584f0507d100fd293ed4216ed26ef05f20 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/c1927c5d7e7c49d959dc15c38356cd1fee072d91 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/1be930f2a9e19e4c680709be3192c0f934c480b7 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/f16c350ced56beb157b79b2669b158123f907eae | armeb | unknown | NOK | http://autobuild.buildroot.net/results/74a60db3dead40fafbf2455681659632e4029423 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/b665087a9b354d455118395259bee2110137870f | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/e7acc2e6e06bba42598e6b499f3322fb5f93016c | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/8f7b5e50e3c0a98a8c6af4e75090f159b4e7cf08 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/16d000861d6afba00dfb82868653c004fd13ff73 | riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/7430b9376d4f025d080feb11c725512bb1163e59 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/0f7683957623baa33dc072ea88698ef81c051d61 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/eb38fdfa0f91c0f92026f136046ef111c3f0b249 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/649634e589126975f788e9e92345318bbec18f88 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/e0057060ce91e1ef11d6699ead246a5bc34daf7d | arm | unknown | NOK | http://autobuild.buildroot.net/results/5258cc2dc2606203b6c724676f77b5ea40a8ecad | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/c9520ff49ac7321780a3d0b63e719f280affb5ac | i586 | unknown | NOK | http://autobuild.buildroot.net/results/e5ecc7709a91659c4ea81e3fcdef24e19ccc8406 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/ac4df46ef5c5ae27bc071664e95b31010d1d725b | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/6eadd85f52c4d635cacbe72d0a03c33349e267bb | arceb | unknown | NOK | http://autobuild.buildroot.net/results/661868cf556938f8e1e05d33b4f91facac23f858 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/b915c9d91ac6b645dcc4cf4c755c220c72289b6a | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/ff970f481f75e652bf677226d85fc69ee8af6da9 | powerpc | unknown | NOK | http://autobuild.buildroot.net/results/16c6f715d11b00790b9621f883b8447d42bf15fb | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/a915e050ccdc2b1c9c5fde6d17245c0936a731a5 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/d9b980ea2b8a65f58919a018a1fea739db894c93 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/f1c80304f779f026fedf60ef3b1bb46e63b34100 | arc | unknown | NOK | http://autobuild.buildroot.net/results/c74b27364890512242a11068300a121ba631313a | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/b7194b15e7d80e3cad745414118caa926847d06f | arm | unknown | NOK | http://autobuild.buildroot.net/results/92b23c30c653dcd3f30fc4db28c95e49a1689553 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/40b8aa0c19917f64c3f272f5479068e7631ffcc3 | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/6505bc2929c9553730ae4ed4f6c47ccd39a6756a | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/d3e21603790b44c1739fd45ce90fd8cbdccf8be7 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/6eef062b0c84d732dddbf03ca23c840918f5d850 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/03a4b50af55bccfbb235c0452d1503944b501913 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/fc48a39f421aef8bfee7ebccb8fb2be1c3121531 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/9537c79c6d3e7c0b360124e5cd9e9d998f2789b2 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/a8c15481cbbf572d9554f5ae41872a2a9cd8acc1 | sh4aeb | unknown | NOK | http://autobuild.buildroot.net/results/760be94953fe23b54c4512ad3f50952ce3139604 | sh4a | unknown | NOK | http://autobuild.buildroot.net/results/136f2bf461914953f9645c8764f1d5cbf3d0b9c0 | riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/dd281a1e647fef9bb09cc43e4381c480e958c214 | m68k | unknown | NOK | http://autobuild.buildroot.net/results/4b990c9cf0e0b444050e6209fd41010b9db4da4b | arm | unknown | NOK | http://autobuild.buildroot.net/results/85e64bcdd960e28b4c89601b04caa9caff7c095f | sparc | unknown | NOK | http://autobuild.buildroot.net/results/5700219be474d41523740849997f407ffb6776c7 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/f0e1718d7613c5aa186b2e7d025e8d21415e93e4 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/6a4ad39303205caf67cea5c3701ea1c609480eb1 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/b109cbb9fc3037a33eeaadcb9771dcf9c7bc4c15 | mips64 | valgrind-3.18.1 | NOK | http://autobuild.buildroot.net/results/b0a6be0bc69c0c4d142903dbf86dd0868d4ba697 | ORPH arm | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/756a07f6205db3c35089b04551dee41bf38ecc44 | arm | wolfssl-5.2.0 | NOK | http://autobuild.buildroot.net/results/929082b3d3c8efb31eca4091d310dd2ddab396e6 | powerpc64le | wtfutil-0.41.0 | NOK | http://autobuild.buildroot.net/results/2d0943d69a9d662326665b27b8db3efbb577daf3 | i686 | x264-35417dcd65a57321fbadf9... | NOK | http://autobuild.buildroot.net/results/690ca6eec221405bc5b9b7a9a2b44c4d3f4ab541 | microblazeel | xenomai | NOK | http://autobuild.buildroot.net/results/2feed7ef70493353b5317fe4909f03ef0249caac | mips | xenomai | NOK | http://autobuild.buildroot.net/results/1f64caa92576f5d94367896d368c60b294882b0f | s390x | xenomai | NOK | http://autobuild.buildroot.net/results/22e3385b754c63f0ad62c6284e8d125d679a2f08 | i686 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/e2be0820c3e2363bd9650e44e4cbcc54f5c7bc76 | nios2 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/ef06fc2c1b6ed472fc91b78b160f63dfd3a81ab4 | sh4a | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/428919229275bf1a12ac06255537147a9c073d87 | or1k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/ca618dde69bbc1aaddd8ede4512180148777bf8a | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/30e035269c44448fe07ac357ff52bb4fc3ea42c6 | sparc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/2fcd0e23a65e257935bd205ed7a92a00523f4a77 | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/c65be16b7a2e00c65110d30ddd5632548397551e | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/d870b9c171b594fe615c2372174e2b7711152a49 | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/cd1c60e58132e3f0ff98875b3856e76189dac6a4 | sparc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/17309224fca025f8c864452a8dfd42a8251e103b | mips64el | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/9429917baf78d96cf6cc9f82353e5fa4cd49626d | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/cf478381a494783fc9fd6b7155a2733630e3f107 | mips | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/de0fd789c272785e049b0c9b8a33898b0c7f7290 | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/263d55b7dff56d6290e6834238d7bd9ddd273bf5 | armeb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/fc311b31c275338789aceecaafb1658f83e39fc9 | sparc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/eecbe3abd169fda152f3c567de5b39c180ed9f2c | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/0aea4e2009f82c076e1dd734a495c0188abcc160 | aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/a450c451659ddf11dd0bdeeca399613706956cd8 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/348359fbe3dc89f5a15b11a6c473588e0e6ee65a | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f8447d50fe41d5615c98dad1e7a7a4dc7edf80d2 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f5ae0f56fd9c622c7ebdeea24ce9fdfe6592362b | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4854b360c826bc5e5ef6aa72217b69271d4b8c19 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4ca1c83beb954c7074126a329a4a923241e8161d | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/af93bdf451a2aabc7df61e520910bf6a87d70d7a | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/329ae22acba3e88a2b5e5849ed0b70e3f111c8b0 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/1530aa8c136e35049387ab0f28eb93aff811fab8 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/246ed0fdfd4ecce3d42e70cd919593285423fa16 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/fc7f6713ec21dfa96bd8202855ffe0bab4e6e961 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 4 host-pahole-v1.23 | 2 wavemon-0.9.4 | 2 bat-0.19.0 | 1 exempi-2.6.1 | 1 host-nodejs-14.18.3 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/f8653de73738cc4ffb2c68c9ecb90ba67bc31583 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/f1c4ded3dfd972e673cd67b6f289d37cb00a6569 | mipsel | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/1477ca6e8ef7066acecf40fb3d40e153c644532b | sparc | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/d392d94acb4a009f2a40782de83cebe4a3691d3c | mipsel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/f1b790b2cbd045b5425f88cb8acf1b24977164c9 | powerpc | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/711cca66b0dd1d99462269c70b15c262793e3356 | microblazeel | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/edabb37af1736272378b1bc94998e2569e6281d1 | x86_64 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/12d4dae6e8e36b42e2200739ac03a4ee003e5a07 | arm | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/9ac8218c9f438de2718044b1931115134c3ec7e2 | sparc | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/4491ae212e717e2e9052c4b6b5bf285bb55e6d4a | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/43c5e0de7b311eb73713948e7df002c4ca6805a2 | -- http://autobuild.buildroot.net From br015 at umbiko.net Wed Apr 27 05:27:15 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Wed, 27 Apr 2022 07:27:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/mpd: fix iconv detection w/ libiconv installed Message-ID: <20220427052715.7642-1-br015@umbiko.net> Fix build failures caused by meson failing to properly detect iconv() when libiconv is installed and a missing link dependency. Upstream pull request: https://github.com/MusicPlayerDaemon/MPD/pull/1515 Fixes the following build failures: http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ Signed-off-by: Andreas Ziegler --- ...detection-when-libiconv-is-installed.patch | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch diff --git a/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch b/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch new file mode 100644 index 0000000000..6121bc9740 --- /dev/null +++ b/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch @@ -0,0 +1,71 @@ +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 +From: aeolio +Date: Wed, 20 Apr 2022 16:10:39 +0200 +Subject: [PATCH 1/2] src/lib/icu: fix iconv() detection when libiconv is + installed + +--- + src/lib/icu/meson.build | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build +index 59215e704b..972c1fda3f 100644 +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -12,17 +12,23 @@ if is_windows + icu_sources += 'Win32.cxx' + endif + ++iconv_dep = [] + if icu_dep.found() + icu_sources += [ + 'Util.cxx', + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- have_iconv = compiler.has_function('iconv', prefix : '#include ') +- conf.set('HAVE_ICONV', have_iconv) ++ # an installed iconv library will make the builtin iconf() unavailable, ++ # so search for the library first and pass it as (possible) dependency ++ iconv_dep = compiler.find_library('libiconv', required: false) ++ have_iconv = compiler.has_function('iconv', ++ dependencies: iconv_dep, ++ prefix : '#include ') + if not have_iconv and get_option('iconv').enabled() + error('iconv() not available') + endif ++ conf.set('HAVE_ICONV', have_iconv) + endif + + icu = static_library( +@@ -31,6 +37,7 @@ icu = static_library( + include_directories: inc, + dependencies: [ + icu_dep, ++ iconv_dep, + fmt_dep, + ], + ) + +From ee39af34199aa875e109f7002a401d6ebbd66c22 Mon Sep 17 00:00:00 2001 +From: aeolio +Date: Sun, 24 Apr 2022 04:14:17 +0000 +Subject: [PATCH 2/2] fix typo in comment + +--- + src/lib/icu/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build +index 972c1fda3f..6e489876b8 100644 +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -19,7 +19,7 @@ if icu_dep.found() + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- # an installed iconv library will make the builtin iconf() unavailable, ++ # an installed iconv library will make the builtin iconv() unavailable, + # so search for the library first and pass it as (possible) dependency + iconv_dep = compiler.find_library('libiconv', required: false) + have_iconv = compiler.has_function('iconv', -- 2.34.1 From alistair23 at gmail.com Wed Apr 27 05:41:51 2022 From: alistair23 at gmail.com (Alistair Francis) Date: Wed, 27 Apr 2022 15:41:51 +1000 Subject: [Buildroot] [PATCH 1/2] boot/opensbi: Bump to version 1.0 In-Reply-To: <20220401063930.2158692-1-alistair.francis@opensource.wdc.com> References: <20220401063930.2158692-1-alistair.francis@opensource.wdc.com> Message-ID: On Fri, Apr 1, 2022 at 4:39 PM Alistair Francis wrote: > > From: Alistair Francis > > Signed-off-by: Alistair Francis Ping! Alistair > --- > ...Makefile-Don-t-specify-mabi-or-march.patch | 37 ------------- > ...Makefile-unconditionally-disable-SSP.patch | 53 ------------------- > boot/opensbi/Config.in | 4 +- > boot/opensbi/opensbi.hash | 2 +- > 4 files changed, 3 insertions(+), 93 deletions(-) > delete mode 100644 boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch > delete mode 100644 boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch > > diff --git a/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch b/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch > deleted file mode 100644 > index 5f554a6c24..0000000000 > --- a/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch > +++ /dev/null > @@ -1,37 +0,0 @@ > -From f5871e1f3650d6c8a032928cb5d8ca00c275c377 Mon Sep 17 00:00:00 2001 > -From: Alistair Francis > -Date: Fri, 15 Feb 2019 14:57:41 -0800 > -Subject: [PATCH] Makefile: Don't specify mabi or march > - > -To avoid > - can't link double-float modules with soft-float modules > -errors when building 32-bit openSBI don't specify mabi or march. > - > -Signed-off-by: Alistair Francis > ---- > - Makefile | 2 -- > - 1 file changed, 2 deletions(-) > - > -diff --git a/Makefile b/Makefile > -index ae68f55..10851fc 100644 > ---- a/Makefile > -+++ b/Makefile > -@@ -145,7 +145,6 @@ GENFLAGS += $(firmware-genflags-y) > - CFLAGS = -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 > - CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > - CFLAGS += -mno-save-restore -mstrict-align > --CFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) > - CFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL) > - CFLAGS += $(GENFLAGS) > - CFLAGS += $(platform-cflags-y) > -@@ -158,7 +157,6 @@ CPPFLAGS += $(firmware-cppflags-y) > - ASFLAGS = -g -Wall -nostdlib -D__ASSEMBLY__ > - ASFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > - ASFLAGS += -mno-save-restore -mstrict-align > --ASFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) > - ASFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL) > - ASFLAGS += $(GENFLAGS) > - ASFLAGS += $(platform-asflags-y) > --- > -2.20.1 > - > diff --git a/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch b/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch > deleted file mode 100644 > index c4edd37f1a..0000000000 > --- a/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch > +++ /dev/null > @@ -1,53 +0,0 @@ > -From e389d5fbc296e496db15368b2b621e0f178f7f34 Mon Sep 17 00:00:00 2001 > -From: Fabrice Fontaine > -Date: Sat, 8 May 2021 21:28:10 +0200 > -Subject: [PATCH] Makefile: unconditionally disable SSP > - > -Though -nostdlib is passed in {C,+AS,DTSCPP}FLAGS, -fno-stack-protector > -must also be passed to avoid linking errors related to undefined > -references to '__stack_chk_guard' and '__stack_chk_fail' if toolchain > -enforces -fstack-protector. > - > -Fixes: > - - https://gitlab.com/kubu93/buildroot/-/jobs/1247043359 > - > -Signed-off-by: Fabrice Fontaine > -[Upstream status: https://github.com/riscv/opensbi/pull/211] > ---- > - Makefile | 6 +++--- > - 1 file changed, 3 insertions(+), 3 deletions(-) > - > -diff --git a/Makefile b/Makefile > -index eeffe6b..1419360 100644 > ---- a/Makefile > -+++ b/Makefile > -@@ -203,7 +203,7 @@ GENFLAGS += $(libsbiutils-genflags-y) > - GENFLAGS += $(platform-genflags-y) > - GENFLAGS += $(firmware-genflags-y) > - > --CFLAGS = -g -Wall -Werror -ffreestanding -nostdlib -fno-strict-aliasing -O2 > -+CFLAGS = -g -Wall -Werror -ffreestanding -nostdlib -fno-stack-protector -fno-strict-aliasing -O2 > - CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > - CFLAGS += -mno-save-restore -mstrict-align > - CFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) > -@@ -217,7 +217,7 @@ CPPFLAGS += $(GENFLAGS) > - CPPFLAGS += $(platform-cppflags-y) > - CPPFLAGS += $(firmware-cppflags-y) > - > --ASFLAGS = -g -Wall -nostdlib -D__ASSEMBLY__ > -+ASFLAGS = -g -Wall -nostdlib -fno-stack-protector -D__ASSEMBLY__ > - ASFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > - ASFLAGS += -mno-save-restore -mstrict-align > - ASFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) > -@@ -236,7 +236,7 @@ MERGEFLAGS += -r > - MERGEFLAGS += -b elf$(PLATFORM_RISCV_XLEN)-littleriscv > - MERGEFLAGS += -m elf$(PLATFORM_RISCV_XLEN)lriscv > - > --DTSCPPFLAGS = $(CPPFLAGS) -nostdinc -nostdlib -fno-builtin -D__DTS__ -x assembler-with-cpp > -+DTSCPPFLAGS = $(CPPFLAGS) -nostdinc -nostdlib -fno-stack-protector -fno-builtin -D__DTS__ -x assembler-with-cpp > - > - # Setup functions for compilation > - define dynamic_flags > --- > -2.30.2 > - > diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in > index f1443498d9..1e1bdc344b 100644 > --- a/boot/opensbi/Config.in > +++ b/boot/opensbi/Config.in > @@ -19,7 +19,7 @@ choice > Select the specific OpenSBI version you want to use > > config BR2_TARGET_OPENSBI_LATEST_VERSION > - bool "0.9" > + bool "1.0" > > config BR2_TARGET_OPENSBI_CUSTOM_VERSION > bool "Custom version" > @@ -57,7 +57,7 @@ endif > > config BR2_TARGET_OPENSBI_VERSION > string > - default "0.9" if BR2_TARGET_OPENSBI_LATEST_VERSION > + default "1.0" if BR2_TARGET_OPENSBI_LATEST_VERSION > default BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE \ > if BR2_TARGET_OPENSBI_CUSTOM_VERSION > default "custom" if BR2_TARGET_OPENSBI_CUSTOM_TARBALL > diff --git a/boot/opensbi/opensbi.hash b/boot/opensbi/opensbi.hash > index 3b6d97c42d..1a626e6357 100644 > --- a/boot/opensbi/opensbi.hash > +++ b/boot/opensbi/opensbi.hash > @@ -1,3 +1,3 @@ > # locally computed > -sha256 60f995cb3cd03e3cf5e649194d3395d0fe67499fd960a36cf7058a4efde686f0 opensbi-0.9.tar.gz > +sha256 a5efaeb24f5ee88d13d5788e4e00623ff312ee12c0bf736aa75a6ad9a850fb76 opensbi-1.0.tar.gz > sha256 82d13fb1bf6bb162629deeea9eb9c117e74548d3b707e478967691fe79a68e21 COPYING.BSD > -- > 2.35.1 > From salvador.joseluis at gmail.com Wed Apr 27 06:22:26 2022 From: salvador.joseluis at gmail.com (=?UTF-8?Q?Jos=C3=A9_Luis_Salvador_Rufo?=) Date: Wed, 27 Apr 2022 08:22:26 +0200 Subject: [Buildroot] [PATCH 1/1] docs/manual/prerequisite.txt: add diffutils In-Reply-To: <20220427000159.58749c28@windsurf> References: <20220426132833.1579873-1-salvador.joseluis@gmail.com> <87bkwn21vp.fsf@tarshish> <20220427000159.58749c28@windsurf> Message-ID: Hello Thomas, El mi?, 27 abr 2022 a las 0:02, Thomas Petazzoni (< thomas.petazzoni at bootlin.com>) escribi?: > Hello, > > On Tue, 26 Apr 2022 20:16:12 +0300 > Baruch Siach via buildroot wrote: > > > Hi Jos?, > > > > On Tue, Apr 26 2022, Jos? Luis Salvador Rufo wrote: > > > Patch title: docs/manual/prerequisite.txt: add diffutils > > > > No need for this line in the commit log body. The email subject line > > appears as head line of the git commit once applied. > > Yep. > > > > The command `cmp` is used by `package/pkg-generic.mk` at commit > > > 8623cc5deb5. This command is provided by `diffutils`. > > > > Actually, we have host-diffutils, so we can build cmp if the host does > > not have it installed. All we need is support added under > > support/dependencies/ like a few other utilities. > > Yes, but we're not going to build host-diffutils if cmp is missing. > It's not done in our current implementation, and I don't think we want > to do that. So it seems like diffutils is indeed a hard requirement. > > > We also don't list findutils as prerequisite, even though we rely > > heavily on the 'find' utility. > > So perhaps we should list findutils as well in our hard requirements? > Seems fair, IMHO. > > Jos? Luis: practically speaking, with which distribution have you been > able to get a system without diffutils/findutils installed by default? Docker official Archlinux image. On other hand `findutils` is installed by default in this image. ```shell ? docker pull archlinux:latest latest: Pulling from library/archlinux b65db44913f6: Pull complete beb98d5a80d3: Pull complete Digest: sha256:a9a59155d8cfd44d01432a1ef011dc015ff96e970adf787b632229fd637ea98c Status: Downloaded newer image for archlinux:latest docker.io/library/archlinux:latest ? docker run -it --rm archlinux:latest [root at 354a655ce3f9 /]# pacman -Qi diffutils warning: database file for 'core' does not exist (use '-Sy' to download) warning: database file for 'extra' does not exist (use '-Sy' to download) warning: database file for 'community' does not exist (use '-Sy' to download) error: package 'diffutils' was not found [root at 354a655ce3f9 /]# pacman -Qi findutils warning: database file for 'core' does not exist (use '-Sy' to download) warning: database file for 'extra' does not exist (use '-Sy' to download) warning: database file for 'community' does not exist (use '-Sy' to download) Name : findutils Version : 4.9.0-1 Description : GNU utilities to locate files Architecture : x86_64 URL : https://www.gnu.org/software/findutils/ Licenses : GPL3 Groups : base-devel Provides : None Depends On : glibc sh Optional Deps : None Required By : base ca-certificates-utils Optional For : None Conflicts With : None Replaces : None Installed Size : 1416.31 KiB Packager : Tobias Powalowski Build Date : Wed 02 Feb 2022 05:55:26 AM UTC Install Date : Sun 24 Apr 2022 12:04:13 AM UTC Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature ``` > > Thanks, > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnout at mind.be Wed Apr 27 07:07:31 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:07:31 +0200 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> Message-ID: <57660639-2f34-4068-793a-ce82fc881b47@mind.be> On 26/04/2022 03:35, James Hilliard wrote: > On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: >> >> >> >> On 24/04/2022 23:39, James Hilliard wrote: >>> This package now requires flit and must use the flit-bootstrap setup >>> type for the host build since it is a dependency of >>> host-python-pypa-build. >>> >>> Signed-off-by: James Hilliard >> >> >> Applied to master, thanks. >> >> While testing this series, I noticed that the following gives an error (this >> was already the case in the original series; I haven't checked how it was before >> your series was applied - for tomli, it certainly wouldn't happen because it >> would still be using setuptools, but maybe for other flit packages, I don't know). >> >> make python-tomli >> make python-tomli-dirclean >> make python-tomli >> ... >> FileExistsError: File already exists: >> /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py > > I think it happens only when building across version bumps, probably a bug > with installer(https://github.com/pypa/installer) upstream. No, it's exactly the sequence of commands that I wrote above that triggers it. I haven't checked if this is the case for flit/pep517 packages in general, or just for flit-bootstrap. Regards, Arnout > >> >> Would be nice to get that fixed... > > Yeah, I'll see if I can track that issue down. > >> >> Regards, >> Arnout >> >>> --- >>> Changes v6 -> v7: >>> - only use flit-boostrap for host-python-tomli >>> --- >>> package/python-tomli/python-tomli.hash | 4 ++-- >>> package/python-tomli/python-tomli.mk | 7 ++++--- >>> 2 files changed, 6 insertions(+), 5 deletions(-) >>> >>> diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash >>> index 1a274c8a40..8368f9ee13 100644 >>> --- a/package/python-tomli/python-tomli.hash >>> +++ b/package/python-tomli/python-tomli.hash >>> @@ -1,5 +1,5 @@ >>> # md5, sha256 from https://pypi.org/pypi/tomli/json >>> -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz >>> -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz >>> +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz >>> +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz >>> # Locally computed sha256 checksums >>> sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE >>> diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk >>> index b8c20ca736..b803d67466 100644 >>> --- a/package/python-tomli/python-tomli.mk >>> +++ b/package/python-tomli/python-tomli.mk >>> @@ -4,12 +4,13 @@ >>> # >>> ################################################################################ >>> >>> -PYTHON_TOMLI_VERSION = 1.2.0 >>> +PYTHON_TOMLI_VERSION = 2.0.1 >>> PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz >>> -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa >>> -PYTHON_TOMLI_SETUP_TYPE = distutils >>> +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 >>> PYTHON_TOMLI_LICENSE = MIT >>> PYTHON_TOMLI_LICENSE_FILES = LICENSE >>> +PYTHON_TOMLI_SETUP_TYPE = flit >>> +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap >>> >>> $(eval $(python-package)) >>> $(eval $(host-python-package)) From arnout at mind.be Wed Apr 27 07:10:46 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:10:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-pep517: migrate setup type to flit In-Reply-To: <20220426012311.1738027-1-james.hilliard1@gmail.com> References: <20220426012311.1738027-1-james.hilliard1@gmail.com> Message-ID: <69c6a8fb-0d05-0ae9-4c7d-b76e388f2958@mind.be> On 26/04/2022 03:23, James Hilliard wrote: > This package is moving to flit, we need to use flit-bootstrap > since host-python-pypa-build depends on host-python-pep517. But that only becomes relevant when we bump the version to something which drops distutils support, right? Of course, we can merge this patch now already, that's not what I'm saying. But the commit message says "we need to" which is not entirely correct. It's more like "we'll have to". Right? Regards, Arnout > > Signed-off-by: James Hilliard > --- > package/python-pep517/python-pep517.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/python-pep517/python-pep517.mk b/package/python-pep517/python-pep517.mk > index 99aa62d51d..45c4f8dd39 100644 > --- a/package/python-pep517/python-pep517.mk > +++ b/package/python-pep517/python-pep517.mk > @@ -9,7 +9,7 @@ PYTHON_PEP517_SOURCE = pep517-$(PYTHON_PEP517_VERSION).tar.gz > PYTHON_PEP517_SITE = https://files.pythonhosted.org/packages/0a/65/6e656d49c679136edfba25f25791f45ffe1ea4ae2ec1c59fe9c35e061cd1 > PYTHON_PEP517_LICENSE = MIT > PYTHON_PEP517_LICENSE_FILES = LICENSE > -PYTHON_PEP517_SETUP_TYPE = distutils > +PYTHON_PEP517_SETUP_TYPE = flit-bootstrap > HOST_PYTHON_PEP517_DEPENDENCIES = host-python-tomli > > $(eval $(host-python-package)) From jens-christoph.brendel at computec.de Wed Apr 27 07:15:21 2022 From: jens-christoph.brendel at computec.de (Jens-Christoph Brendel) Date: Wed, 27 Apr 2022 07:15:21 +0000 Subject: [Buildroot] press request References: <82d17f75-915d-485f-9353-f091fb3576e8.8d5b84c6-3d2e-4c12-b2dd-1cea205060bd.05b36973-3f8d-47c8-982b-7fde04d5179e@emailsignatures365.codetwo.com> Message-ID: Hello everybody, We, the German Linux magazine, are planning a focus on Linux distributions for the IoT in the 07/22 issue. One of them we have in mind is Buildroot. We are therefore looking for an author who can introduce Buildroot to our readers in an article. Such an article should be four to six pages (about 4000 characters each) and cover questions such as: - What is Buildroot? (main purpose, target audience, compatibility) - Scope of services - Differences and similarities compared to similar operating systems - Advantages and disadvantages - Examples of use We need the text no later than June 1. It would be better if you can manage to deliver a few days earlier, because then we will have more time to discuss details, if necessary.A plain text file (ISO8859-1, aka Latin1) is perfect. Illustrations (at least one per page) should be delivered as separate image files. The target audience consists of IT professionals, developers, administrators and IT managers. So we don't explain the basics. On the other hand, your reader may not know much about Buildroot. Imagine a person looking for an operating system for an IoT project. The author will give her all the details she needs to make an informed decision. Is there anyone out there who would like and have the time to write such an article for us? We would pay 80 Euro per printed page. Please contact me at jens-christoph.brendel at computec.de. Many thanks in advance Jens-Christoph . . . . Disclaimer: The recipient acknowledges that Computec Media GmbH is unable to exercise control over the content of information contained in transmissions made via the Internet. Computec Media GmbH hereby excludes any warranty, written or implied, as to the quality or accuracy of any information contained in this message and any liability of any kind for the information contained, therein, or for its transmission, reception, storage or usage in any way, whatsoever. Sitz der Gesellschaft und Registergericht: F?rth (HRB 14364) Gesch?ftsf?hrer: Christian M?ller, Rainer Rosenbusch Umsatzsteuer-Identifikationsnummer: DE812575276 Informationen zur Datenverarbeitung und Datenschutz: https://www.computec.de/datenschutz . . . . -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnout at mind.be Wed Apr 27 07:15:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:15:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency In-Reply-To: <20220426174137.3014322-1-james.hilliard1@gmail.com> References: <20220426174137.3014322-1-james.hilliard1@gmail.com> Message-ID: On 26/04/2022 19:41, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 > > Signed-off-by: James Hilliard > --- > package/wilc-driver/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in > index caf46ae281..6b93a23a47 100644 > --- a/package/wilc-driver/Config.in > +++ b/package/wilc-driver/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_WILC_DRIVER > bool "wilc kernel module" > + depends on BR2_LINUX_KERNEL > help > External kernel module for WILC1000/3000 devices. > You should also add a comment. Regards, Arnout From james.hilliard1 at gmail.com Wed Apr 27 07:15:34 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 01:15:34 -0600 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: <57660639-2f34-4068-793a-ce82fc881b47@mind.be> References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> <57660639-2f34-4068-793a-ce82fc881b47@mind.be> Message-ID: On Wed, Apr 27, 2022 at 1:07 AM Arnout Vandecappelle wrote: > > > > On 26/04/2022 03:35, James Hilliard wrote: > > On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: > >> > >> > >> > >> On 24/04/2022 23:39, James Hilliard wrote: > >>> This package now requires flit and must use the flit-bootstrap setup > >>> type for the host build since it is a dependency of > >>> host-python-pypa-build. > >>> > >>> Signed-off-by: James Hilliard > >> > >> > >> Applied to master, thanks. > >> > >> While testing this series, I noticed that the following gives an error (this > >> was already the case in the original series; I haven't checked how it was before > >> your series was applied - for tomli, it certainly wouldn't happen because it > >> would still be using setuptools, but maybe for other flit packages, I don't know). > >> > >> make python-tomli > >> make python-tomli-dirclean > >> make python-tomli > >> ... > >> FileExistsError: File already exists: > >> /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py > > > > I think it happens only when building across version bumps, probably a bug > > with installer(https://github.com/pypa/installer) upstream. > > No, it's exactly the sequence of commands that I wrote above that triggers it. Oh, yeah, I see what's happening, I was testing with per-package directories which prevents one from hitting that issue in most cases since it clears out the conflicting/old artifacts with dirclean. > > I haven't checked if this is the case for flit/pep517 packages in general, or > just for flit-bootstrap. Likely affects all flit/flit-bootstrap and pep517 packages if I had to guess, seems due to stale build artifacts lying around combined with installer not wanting to overwrite artifacts in general, might need to upstream some way to enable artifact overwrites, I'll look into that. > > Regards, > Arnout > > > > >> > >> Would be nice to get that fixed... > > > > Yeah, I'll see if I can track that issue down. > > > >> > >> Regards, > >> Arnout > >> > >>> --- > >>> Changes v6 -> v7: > >>> - only use flit-boostrap for host-python-tomli > >>> --- > >>> package/python-tomli/python-tomli.hash | 4 ++-- > >>> package/python-tomli/python-tomli.mk | 7 ++++--- > >>> 2 files changed, 6 insertions(+), 5 deletions(-) > >>> > >>> diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > >>> index 1a274c8a40..8368f9ee13 100644 > >>> --- a/package/python-tomli/python-tomli.hash > >>> +++ b/package/python-tomli/python-tomli.hash > >>> @@ -1,5 +1,5 @@ > >>> # md5, sha256 from https://pypi.org/pypi/tomli/json > >>> -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > >>> -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > >>> +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > >>> +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > >>> # Locally computed sha256 checksums > >>> sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > >>> diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > >>> index b8c20ca736..b803d67466 100644 > >>> --- a/package/python-tomli/python-tomli.mk > >>> +++ b/package/python-tomli/python-tomli.mk > >>> @@ -4,12 +4,13 @@ > >>> # > >>> ################################################################################ > >>> > >>> -PYTHON_TOMLI_VERSION = 1.2.0 > >>> +PYTHON_TOMLI_VERSION = 2.0.1 > >>> PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > >>> -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > >>> -PYTHON_TOMLI_SETUP_TYPE = distutils > >>> +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > >>> PYTHON_TOMLI_LICENSE = MIT > >>> PYTHON_TOMLI_LICENSE_FILES = LICENSE > >>> +PYTHON_TOMLI_SETUP_TYPE = flit > >>> +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > >>> > >>> $(eval $(python-package)) > >>> $(eval $(host-python-package)) From arnout at mind.be Wed Apr 27 07:19:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:19:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/boost: drop versioned layout In-Reply-To: <87bkwnk1tp.fsf@dell.be.48ers.dk> References: <20220406172934.4009018-1-fontaine.fabrice@gmail.com> <9406710d-ed6f-d0cd-4a7a-60480a4d4872@mind.be> <87bkwnk1tp.fsf@dell.be.48ers.dk> Message-ID: <3cb2c8da-dcb7-3898-c73f-b6e919cf857c@mind.be> On 26/04/2022 22:49, Peter Korsgaard wrote: >>>>>> "Arnout" == Arnout Vandecappelle writes: > > > On 06/04/2022 19:29, Fabrice Fontaine wrote: > >> boost.m4 embedded by cc-tool is not able to find boost libraries when > >> they are versionned (e.g. libboost_program_options-gcc9-mt-sd-1_78.a): > >> configure: error: cannot find the flags to link with Boost > >> program_options > >> azmq and i2pd also have the same issue: > >> CMake Error at > >> /nvmedata/autobuild/instance-8/output-1/host/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 > >> (message): > >> Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time thread > >> chrono random) (Required is at least version "1.48") > >> So drop versioned layout option > > > This is probably going to cause problems for some custom packages > > that have a simple build system that assumes the versioned layout. Oh > > well, bad luck. > > So what do we do for 2022.02.x? We presumably have the same issue > there. Drop it as well? I wouldn't do that. People already using the option now apparently don't have a problem with it, so we're not fixing anything for them. People who don't use the option will not run into the problem either. So the only problem is for people who are starting a new project based on the LTS branch. For them, perhaps we can just update the prompt with " (broken, do not use!)" ? Regards, Arnout From james.hilliard1 at gmail.com Wed Apr 27 07:21:05 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 01:21:05 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pep517: migrate setup type to flit In-Reply-To: <69c6a8fb-0d05-0ae9-4c7d-b76e388f2958@mind.be> References: <20220426012311.1738027-1-james.hilliard1@gmail.com> <69c6a8fb-0d05-0ae9-4c7d-b76e388f2958@mind.be> Message-ID: On Wed, Apr 27, 2022 at 1:10 AM Arnout Vandecappelle wrote: > > > > On 26/04/2022 03:23, James Hilliard wrote: > > This package is moving to flit, we need to use flit-bootstrap > > since host-python-pypa-build depends on host-python-pep517. > > But that only becomes relevant when we bump the version to something which > drops distutils support, right? Yeah, it will be required soon though it seems: https://github.com/pypa/pep517/blob/v0.12.0/pyproject.toml#L2 The distutils support in pep517 is coming from the deprecated flit distutils generator compatibility feature. > > Of course, we can merge this patch now already, that's not what I'm saying. > But the commit message says "we need to" which is not entirely correct. It's > more like "we'll have to". Right? The "we need to" part was referring to having to use the special flit-bootstrap setup type instead of the regular flit setup type, not that this is immediately needed by pep517, I may not have worded that clearly I guess. > > Regards, > Arnout > > > > > Signed-off-by: James Hilliard > > --- > > package/python-pep517/python-pep517.mk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/package/python-pep517/python-pep517.mk b/package/python-pep517/python-pep517.mk > > index 99aa62d51d..45c4f8dd39 100644 > > --- a/package/python-pep517/python-pep517.mk > > +++ b/package/python-pep517/python-pep517.mk > > @@ -9,7 +9,7 @@ PYTHON_PEP517_SOURCE = pep517-$(PYTHON_PEP517_VERSION).tar.gz > > PYTHON_PEP517_SITE = https://files.pythonhosted.org/packages/0a/65/6e656d49c679136edfba25f25791f45ffe1ea4ae2ec1c59fe9c35e061cd1 > > PYTHON_PEP517_LICENSE = MIT > > PYTHON_PEP517_LICENSE_FILES = LICENSE > > -PYTHON_PEP517_SETUP_TYPE = distutils > > +PYTHON_PEP517_SETUP_TYPE = flit-bootstrap > > HOST_PYTHON_PEP517_DEPENDENCIES = host-python-tomli > > > > $(eval $(host-python-package)) From james.hilliard1 at gmail.com Wed Apr 27 07:25:41 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 01:25:41 -0600 Subject: [Buildroot] [PATCH v2 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency Message-ID: <20220427072541.4082648-1-james.hilliard1@gmail.com> Fixes: - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 Signed-off-by: James Hilliard --- Changes v1 -> v2: - add comment when !BR2_LINUX_KERNEL --- package/wilc-driver/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in index caf46ae281..24a7b05b17 100644 --- a/package/wilc-driver/Config.in +++ b/package/wilc-driver/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_WILC_DRIVER bool "wilc kernel module" + depends on BR2_LINUX_KERNEL help External kernel module for WILC1000/3000 devices. @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER https://github.com/embeddedTS/wilc3000-external-module +comment "wilc kernel module needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + if BR2_PACKAGE_WILC_DRIVER config BR2_PACKAGE_WILC_DRIVER_SPI -- 2.25.1 From arnout at mind.be Wed Apr 27 07:28:24 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:28:24 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/go: add support for riscv64 architecture In-Reply-To: References: <20220414204922.866533-1-christian@paral.in> <55c0f7da-0907-b920-5a9b-33a82dcdb32b@mind.be> Message-ID: <7bd523ca-a336-d0df-72f8-2b87ffbd9104@mind.be> On 27/04/2022 02:55, Christian Stewart wrote: > Arnout, > > On Thu, Apr 21, 2022 at 12:54 PM Arnout Vandecappelle wrote: >> On 14/04/2022 22:49, Christian Stewart via buildroot wrote: >>> +GOARCH is set when calling mkbuildcfg, so go1.4 is trying to compile riscv64. >> >> You SoB is missing. > > Go's repository disallows signed-off-by lines. > >> Also, the reference to the upstream PR is missing. And you should probably >> refer to gerrit instead. > > Same issue: I've format-patch the exact patch sent upstream, without changes. > > Do I modify it specifically for this patch in Buildroot? Exactly. Alternatively, you can use GO_PATCH = ... to download the upstream patch (cfr. how it's done in zfs). In that case, you also need to add a hash for it. We currently don't use that method very often but I think it's a good one in fact. >>> diff --git a/package/go/Config.in.host b/package/go/Config.in.host >>> index e82ab6e81a..8be86103ea 100644 >>> --- a/package/go/Config.in.host >>> +++ b/package/go/Config.in.host >>> @@ -5,7 +5,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS >>> depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS >>> depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ >>> || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ >>> - || BR2_mips64 || BR2_mips64el || BR2_s390x >>> + || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x >> >> Here you enable it both for riscv32 and riscv64, but below you always set >> GOARCH to riscv64. > > I'm not sure if it was in this patch revision, but I have in my local version: > > # Go doesn't support Risc-v 32-bit. > depends on !BR2_RISCV_32 That is indeed missing from this patch. >> Also, are you sure it doesn't need any of the ISA extensions? I can imagine >> that Go would be using atomics, floating point and integer >> multiplication/division. Of course, there's almost no chance of finding a >> riscv64 without these extensions, but better be correct, right? > > Probably yes. Is there an easy way to find out, or should we just depend on all of them? >> Also, does Go support all three ABI types (integer, single precision and >> double precision)? Again, we only ever test lp64d in the autobuilders, but >> better be correct, right? > > There's only one riscv64 target for Go so I have to assume it means lp64d. Please add that to the BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS dependencies. Regards, Arnout > > Note: I have now tested this extensively on a Nezha Risc-v CPU as well > as a Qemu VM. > > https://github.com/skiffos/buildroot/blob/e1fc20cf9/package/go/Config.in.host#L12 > > Best, > Christian Stewart From nicolas.cavallari at green-communications.fr Wed Apr 27 07:22:45 2022 From: nicolas.cavallari at green-communications.fr (Nicolas Cavallari) Date: Wed, 27 Apr 2022 09:22:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgit2: bump version to 1.4.3 Message-ID: <20220427072245.3610-1-nicolas.cavallari@green-communications.fr> git added restrictions on config files to fix CVE 2022-24765. libgit2 adopted these changes for compatibility reasons, even if the vuln is not exploitable in libgit2. https://github.com/libgit2/libgit2/releases/tag/v1.4.3 Signed-off-by: Nicolas Cavallari --- package/libgit2/libgit2.hash | 2 +- package/libgit2/libgit2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libgit2/libgit2.hash b/package/libgit2/libgit2.hash index ada411ea22..3b5837f789 100644 --- a/package/libgit2/libgit2.hash +++ b/package/libgit2/libgit2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 901c2b4492976b86477569502a41c31b274b69adc177149c02099ea88404ef19 libgit2-1.4.2.tar.gz +sha256 f48b961e463a9e4e7e7e58b21a0fb5a9b2a1d24d9ba4d15870a0c9b8ad965163 libgit2-1.4.3.tar.gz sha256 0092f24acc306ee3287dc05b5e85cb9e0e48cd3f11c60c4625b1a673a5912616 COPYING diff --git a/package/libgit2/libgit2.mk b/package/libgit2/libgit2.mk index e94dd9c370..3f1e6e1593 100644 --- a/package/libgit2/libgit2.mk +++ b/package/libgit2/libgit2.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBGIT2_VERSION = 1.4.2 +LIBGIT2_VERSION = 1.4.3 LIBGIT2_SITE = $(call github,libgit2,libgit2,v$(LIBGIT2_VERSION)) LIBGIT2_LICENSE = GPL-2.0 with linking exception, MIT (sha1), wildmatch license (wildmatch), CC0-1.0 (xoroshiro256) LIBGIT2_LICENSE_FILES = COPYING -- 2.36.0 From arnout at mind.be Wed Apr 27 07:33:17 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 09:33:17 +0200 Subject: [Buildroot] [PATCH 1/2] boot/opensbi: Bump to version 1.0 In-Reply-To: References: <20220401063930.2158692-1-alistair.francis@opensource.wdc.com> Message-ID: <2c4e6c15-2dbb-6945-4348-c9094392eb24@mind.be> On 27/04/2022 07:41, Alistair Francis wrote: > On Fri, Apr 1, 2022 at 4:39 PM Alistair Francis > wrote: >> >> From: Alistair Francis >> >> Signed-off-by: Alistair Francis > > Ping! This patch didn't make it to patchwork, and I also don't find it in my mailbox. Maybe it didn't even make it to the mailing list? Can you resend please? Regards, Arnout > > Alistair > >> --- >> ...Makefile-Don-t-specify-mabi-or-march.patch | 37 ------------- >> ...Makefile-unconditionally-disable-SSP.patch | 53 ------------------- >> boot/opensbi/Config.in | 4 +- >> boot/opensbi/opensbi.hash | 2 +- >> 4 files changed, 3 insertions(+), 93 deletions(-) >> delete mode 100644 boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch >> delete mode 100644 boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch >> >> diff --git a/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch b/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch >> deleted file mode 100644 >> index 5f554a6c24..0000000000 >> --- a/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch >> +++ /dev/null >> @@ -1,37 +0,0 @@ >> -From f5871e1f3650d6c8a032928cb5d8ca00c275c377 Mon Sep 17 00:00:00 2001 >> -From: Alistair Francis >> -Date: Fri, 15 Feb 2019 14:57:41 -0800 >> -Subject: [PATCH] Makefile: Don't specify mabi or march >> - >> -To avoid >> - can't link double-float modules with soft-float modules >> -errors when building 32-bit openSBI don't specify mabi or march. >> - >> -Signed-off-by: Alistair Francis >> ---- >> - Makefile | 2 -- >> - 1 file changed, 2 deletions(-) >> - >> -diff --git a/Makefile b/Makefile >> -index ae68f55..10851fc 100644 >> ---- a/Makefile >> -+++ b/Makefile >> -@@ -145,7 +145,6 @@ GENFLAGS += $(firmware-genflags-y) >> - CFLAGS = -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 >> - CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls >> - CFLAGS += -mno-save-restore -mstrict-align >> --CFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) >> - CFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL) >> - CFLAGS += $(GENFLAGS) >> - CFLAGS += $(platform-cflags-y) >> -@@ -158,7 +157,6 @@ CPPFLAGS += $(firmware-cppflags-y) >> - ASFLAGS = -g -Wall -nostdlib -D__ASSEMBLY__ >> - ASFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls >> - ASFLAGS += -mno-save-restore -mstrict-align >> --ASFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) >> - ASFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL) >> - ASFLAGS += $(GENFLAGS) >> - ASFLAGS += $(platform-asflags-y) >> --- >> -2.20.1 >> - >> diff --git a/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch b/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch >> deleted file mode 100644 >> index c4edd37f1a..0000000000 >> --- a/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch >> +++ /dev/null >> @@ -1,53 +0,0 @@ >> -From e389d5fbc296e496db15368b2b621e0f178f7f34 Mon Sep 17 00:00:00 2001 >> -From: Fabrice Fontaine >> -Date: Sat, 8 May 2021 21:28:10 +0200 >> -Subject: [PATCH] Makefile: unconditionally disable SSP >> - >> -Though -nostdlib is passed in {C,+AS,DTSCPP}FLAGS, -fno-stack-protector >> -must also be passed to avoid linking errors related to undefined >> -references to '__stack_chk_guard' and '__stack_chk_fail' if toolchain >> -enforces -fstack-protector. >> - >> -Fixes: >> - - https://gitlab.com/kubu93/buildroot/-/jobs/1247043359 >> - >> -Signed-off-by: Fabrice Fontaine >> -[Upstream status: https://github.com/riscv/opensbi/pull/211] >> ---- >> - Makefile | 6 +++--- >> - 1 file changed, 3 insertions(+), 3 deletions(-) >> - >> -diff --git a/Makefile b/Makefile >> -index eeffe6b..1419360 100644 >> ---- a/Makefile >> -+++ b/Makefile >> -@@ -203,7 +203,7 @@ GENFLAGS += $(libsbiutils-genflags-y) >> - GENFLAGS += $(platform-genflags-y) >> - GENFLAGS += $(firmware-genflags-y) >> - >> --CFLAGS = -g -Wall -Werror -ffreestanding -nostdlib -fno-strict-aliasing -O2 >> -+CFLAGS = -g -Wall -Werror -ffreestanding -nostdlib -fno-stack-protector -fno-strict-aliasing -O2 >> - CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls >> - CFLAGS += -mno-save-restore -mstrict-align >> - CFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) >> -@@ -217,7 +217,7 @@ CPPFLAGS += $(GENFLAGS) >> - CPPFLAGS += $(platform-cppflags-y) >> - CPPFLAGS += $(firmware-cppflags-y) >> - >> --ASFLAGS = -g -Wall -nostdlib -D__ASSEMBLY__ >> -+ASFLAGS = -g -Wall -nostdlib -fno-stack-protector -D__ASSEMBLY__ >> - ASFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls >> - ASFLAGS += -mno-save-restore -mstrict-align >> - ASFLAGS += -mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA) >> -@@ -236,7 +236,7 @@ MERGEFLAGS += -r >> - MERGEFLAGS += -b elf$(PLATFORM_RISCV_XLEN)-littleriscv >> - MERGEFLAGS += -m elf$(PLATFORM_RISCV_XLEN)lriscv >> - >> --DTSCPPFLAGS = $(CPPFLAGS) -nostdinc -nostdlib -fno-builtin -D__DTS__ -x assembler-with-cpp >> -+DTSCPPFLAGS = $(CPPFLAGS) -nostdinc -nostdlib -fno-stack-protector -fno-builtin -D__DTS__ -x assembler-with-cpp >> - >> - # Setup functions for compilation >> - define dynamic_flags >> --- >> -2.30.2 >> - >> diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in >> index f1443498d9..1e1bdc344b 100644 >> --- a/boot/opensbi/Config.in >> +++ b/boot/opensbi/Config.in >> @@ -19,7 +19,7 @@ choice >> Select the specific OpenSBI version you want to use >> >> config BR2_TARGET_OPENSBI_LATEST_VERSION >> - bool "0.9" >> + bool "1.0" >> >> config BR2_TARGET_OPENSBI_CUSTOM_VERSION >> bool "Custom version" >> @@ -57,7 +57,7 @@ endif >> >> config BR2_TARGET_OPENSBI_VERSION >> string >> - default "0.9" if BR2_TARGET_OPENSBI_LATEST_VERSION >> + default "1.0" if BR2_TARGET_OPENSBI_LATEST_VERSION >> default BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE \ >> if BR2_TARGET_OPENSBI_CUSTOM_VERSION >> default "custom" if BR2_TARGET_OPENSBI_CUSTOM_TARBALL >> diff --git a/boot/opensbi/opensbi.hash b/boot/opensbi/opensbi.hash >> index 3b6d97c42d..1a626e6357 100644 >> --- a/boot/opensbi/opensbi.hash >> +++ b/boot/opensbi/opensbi.hash >> @@ -1,3 +1,3 @@ >> # locally computed >> -sha256 60f995cb3cd03e3cf5e649194d3395d0fe67499fd960a36cf7058a4efde686f0 opensbi-0.9.tar.gz >> +sha256 a5efaeb24f5ee88d13d5788e4e00623ff312ee12c0bf736aa75a6ad9a850fb76 opensbi-1.0.tar.gz >> sha256 82d13fb1bf6bb162629deeea9eb9c117e74548d3b707e478967691fe79a68e21 COPYING.BSD >> -- >> 2.35.1 >> > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From james.hilliard1 at gmail.com Wed Apr 27 07:43:21 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 01:43:21 -0600 Subject: [Buildroot] [PATCH 1/1] package/nodejs: add missing host-pkgconf dependency Message-ID: <20220427074321.37979-1-james.hilliard1@gmail.com> Fixes: - http://autobuild.buildroot.net/results/d1f/d1f49b451b56e3cf6a97d27e8db5b85b0cb58ca9 Signed-off-by: James Hilliard --- package/nodejs/nodejs.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2e41c11dbd..4fe34e0aad 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -7,10 +7,11 @@ NODEJS_VERSION = 14.18.3 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) -NODEJS_DEPENDENCIES = host-qemu host-python3 host-nodejs c-ares \ +NODEJS_DEPENDENCIES = host-qemu host-pkgconf host-python3 host-nodejs c-ares \ libuv zlib nghttp2 \ $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python3 host-zlib +HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-pkgconf host-python3 \ + host-zlib NODEJS_INSTALL_STAGING = YES NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE -- 2.25.1 From aperez at igalia.com Wed Apr 27 08:17:44 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Wed, 27 Apr 2022 11:17:44 +0300 Subject: [Buildroot] [PATCH 1/1] package/brotli: workaround m68k build issues Message-ID: <20220427081744.116766-1-aperez@igalia.com> On m68k building with optimizations results in failures such as: /tmp/cckiMnG5.s: Assembler messages: /tmp/cckiMnG5.s:142572: Error: value -39206 out of range /tmp/cckiMnG5.s:142629: Error: value -40282 out of range /tmp/cckiMnG5.s:146408: Error: value -53294 out of range /tmp/cckiMnG5.s:159014: Error: value -39206 out of range /tmp/cckiMnG5.s:159071: Error: value -40282 out of range /tmp/cckiMnG5.s:162850: Error: value -53294 out of range /tmp/cckiMnG5.s:175456: Error: value -39206 out of range /tmp/cckiMnG5.s:175513: Error: value -40282 out of range /tmp/cckiMnG5.s:179292: Error: value -53294 out of range /tmp/cckiMnG5.s:191898: Error: value -39206 out of range /tmp/cckiMnG5.s:191955: Error: value -40282 out of range /tmp/cckiMnG5.s:195734: Error: value -53294 out of range These only appear when building with -O2, the smaller code generated with -Os does not cause trouble, so workaround by using that. Fixes: http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db/ Signed-off-by: Adrian Perez de Castro --- package/brotli/brotli.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/brotli/brotli.mk b/package/brotli/brotli.mk index 43c8524c0b..ac49fe664f 100644 --- a/package/brotli/brotli.mk +++ b/package/brotli/brotli.mk @@ -21,6 +21,12 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) BROTLI_CFLAGS += -O0 endif +# Workaround "Error: value -1234 out of range" assembler issues +# when building with optimizations. +ifeq ($(BR2_m68k),y) +BROTLI_CFLAGS += -Os +endif + BROTLI_CONF_OPTS += -DCMAKE_C_FLAGS="$(BROTLI_CFLAGS)" $(eval $(cmake-package)) -- 2.36.0 From aperez at igalia.com Wed Apr 27 08:22:01 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Wed, 27 Apr 2022 11:22:01 +0300 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-26 In-Reply-To: <20220427044100.5EBFF60E53@smtp3.osuosl.org> References: <20220427044100.5EBFF60E53@smtp3.osuosl.org> Message-ID: <20220427112201.GB584565@momiji> Hello, On Wed, 27 Apr 2022 04:40:55 +0000 Thomas Petazzoni via buildroot wrote: > Detail of failures for master > ----------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > > [...] > > m68k | brotli-1.0.9 | NOK | http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db | As with previous m68k related fixups, this can be workarounded by switching from -O2 (problematic) to -Os (and generated code still looks reasonably good to me, though I am very far from being an expert with this architecture). Fix submitted here: https://patchwork.ozlabs.org/project/buildroot/patch/20220427081744.116766-1-aperez at igalia.com/ Cheers, ?Adri?n -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From thomas.petazzoni at bootlin.com Wed Apr 27 08:31:02 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 27 Apr 2022 10:31:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <20220427035039.1664864-1-james.hilliard1@gmail.com> References: <20220427035039.1664864-1-james.hilliard1@gmail.com> Message-ID: <20220427103102.7f934c1f@windsurf> Hello James, On Tue, 26 Apr 2022 21:50:39 -0600 James Hilliard wrote: > Libressl is no longer supported as of python 3.10. > > See: https://peps.python.org/pep-0644/#libressl > > Fixes: > - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 > > Signed-off-by: James Hilliard Thanks for your patch. I think it raises one question: is libressl still relevant? Should we still support it? My understanding was that it is not really a successful fork, and in the end, openssl has mostly caught up and remains the de-facto standard implementation. See https://lwn.net/Articles/841664/. I don't have a very well-informed opinion, but perhaps we should think about this? Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From james.hilliard1 at gmail.com Wed Apr 27 08:32:40 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 02:32:40 -0600 Subject: [Buildroot] [PATCH 1/1] package/meson: bump to version 0.62.1 Message-ID: <20220427083240.1081081-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/meson/meson.hash | 4 ++-- package/meson/meson.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/meson/meson.hash b/package/meson/meson.hash index 38fa43f6dc..2037c46bbc 100644 --- a/package/meson/meson.hash +++ b/package/meson/meson.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://github.com/mesonbuild/meson/releases/download/0.62.0/meson-0.62.0.tar.gz.asc -sha256 06f8c1cfa51bfdb533c82623ffa524cacdbea02ace6d709145e33aabdad6adcb meson-0.62.0.tar.gz +# https://github.com/mesonbuild/meson/releases/download/0.62.1/meson-0.62.1.tar.gz.asc +sha256 a0f5caa1e70da12d5e63aa6a9504273759b891af36c8d87de381a4ed1380e845 meson-0.62.1.tar.gz sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING diff --git a/package/meson/meson.mk b/package/meson/meson.mk index 13adc2f2b1..6d55f19402 100644 --- a/package/meson/meson.mk +++ b/package/meson/meson.mk @@ -4,7 +4,7 @@ # ################################################################################ -MESON_VERSION = 0.62.0 +MESON_VERSION = 0.62.1 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) MESON_LICENSE = Apache-2.0 MESON_LICENSE_FILES = COPYING -- 2.25.1 From james.hilliard1 at gmail.com Wed Apr 27 08:42:08 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Wed, 27 Apr 2022 02:42:08 -0600 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <20220427103102.7f934c1f@windsurf> References: <20220427035039.1664864-1-james.hilliard1@gmail.com> <20220427103102.7f934c1f@windsurf> Message-ID: On Wed, Apr 27, 2022 at 2:31 AM Thomas Petazzoni wrote: > > Hello James, > > On Tue, 26 Apr 2022 21:50:39 -0600 > James Hilliard wrote: > > > Libressl is no longer supported as of python 3.10. > > > > See: https://peps.python.org/pep-0644/#libressl > > > > Fixes: > > - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 > > > > Signed-off-by: James Hilliard > > Thanks for your patch. I think it raises one question: is libressl > still relevant? Should we still support it? Well it's still actively maintained at least. > > My understanding was that it is not really a successful fork, and in > the end, openssl has mostly caught up and remains the de-facto standard > implementation. See https://lwn.net/Articles/841664/. We do support a number of other rather uncommon ssl implementations in general, and at least it's easy enough to disable for unsupported configurations. > > I don't have a very well-informed opinion, but perhaps we should think > about this? Yeah, not really sure, it may be useful to keep around, I think it has an alternative updated API to openssl's updated API that may be desirable for some use cases, although probably not the most commonly used. > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com From etienne.carriere at linaro.org Wed Apr 27 09:45:59 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:45:59 +0200 Subject: [Buildroot] [PATCH 1/5] boot/optee-os: bump to version 3.17.0 Message-ID: <20220427094608.16698-1-etienne.carriere@linaro.org> Bump OP-TEE OS package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in index 30b6f62434..fb8a189a75 100644 --- a/boot/optee-os/Config.in +++ b/boot/optee-os/Config.in @@ -18,7 +18,7 @@ choice Select the version of OP-TEE OS you want to use config BR2_TARGET_OPTEE_OS_LATEST - bool "3.16.0" + bool "3.17.0" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY help @@ -52,7 +52,7 @@ endif config BR2_TARGET_OPTEE_OS_VERSION string - default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST + default "3.17.0" if BR2_TARGET_OPTEE_OS_LATEST default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ if BR2_TARGET_OPTEE_OS_CUSTOM_GIT diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash index d3a2637a4e..5c1047bac3 100644 --- a/boot/optee-os/optee-os.hash +++ b/boot/optee-os/optee-os.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_os/archive/3.16.0/optee-os-3.16.0.tar.gz -sha256 ebc8e18ad2039ee97c34f74a7546de9119e26f04c368b6c7fd0c55f93d33d2d6 optee-os-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_os/archive/3.17.0/optee-os-3.16.0.tar.gz +sha256 5d5a3bda83abddfeb5ee765a15525f23adf2709ba2475a05e0c5f25790c1883f optee-os-3.17.0.tar.gz # Locally computed sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE -- 2.17.1 From etienne.carriere at linaro.org Wed Apr 27 09:46:00 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:46:00 +0200 Subject: [Buildroot] [PATCH 2/5] package/optee-client: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: <20220427094608.16698-2-etienne.carriere@linaro.org> Bump OP-TEE Client package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- package/optee-client/optee-client.hash | 4 ++-- package/optee-client/optee-client.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-client/optee-client.hash b/package/optee-client/optee-client.hash index ff90f6d2a8..d2efb1043a 100644 --- a/package/optee-client/optee-client.hash +++ b/package/optee-client/optee-client.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_client/archive/3.16.0/optee-client-3.16.0.tar.gz -sha256 cba92bedc9f8c39c19e50a22259066eaad5ceb248308edee27e221f11f5d8064 optee-client-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_client/archive/3.17.0/optee-client-3.17.0.tar.gz +sha256 bf62ceaac59e8a650abf7632e702b5929335f4974f3173f8c51900cb0f91660f optee-client-3.17.0.tar.gz # Locally computed sha256 fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f LICENSE diff --git a/package/optee-client/optee-client.mk b/package/optee-client/optee-client.mk index 2cadc564f0..aaf072b40f 100644 --- a/package/optee-client/optee-client.mk +++ b/package/optee-client/optee-client.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_CLIENT_VERSION = 3.16.0 +OPTEE_CLIENT_VERSION = 3.17.0 OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION)) OPTEE_CLIENT_LICENSE = BSD-2-Clause OPTEE_CLIENT_LICENSE_FILES = LICENSE -- 2.17.1 From etienne.carriere at linaro.org Wed Apr 27 09:46:01 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:46:01 +0200 Subject: [Buildroot] [PATCH 3/5] package/optee-test: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: <20220427094608.16698-3-etienne.carriere@linaro.org> Bump OP-TEE test package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- package/optee-test/optee-test.hash | 4 ++-- package/optee-test/optee-test.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-test/optee-test.hash b/package/optee-test/optee-test.hash index c42e922d90..7f2c4110db 100644 --- a/package/optee-test/optee-test.hash +++ b/package/optee-test/optee-test.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_test/archive/3.16.0/optee-test-3.16.0.tar.gz -sha256 b24a3871605a341fa87e6d4e111f97001f11a72c025e75d6739ed78841b6acba optee-test-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_test/archive/3.17.0/optee-test-3.17.0.tar.gz +sha256 5b0555b6fef926f8a0a471285cb4c264407c9be32461836240b3c412bf7933bb optee-test-3.17.0.tar.gz # Locally computed sha256 6e6810981f0ddab9e0d44399d0700a15d9f760a3c2843cc866659c2074139ae7 LICENSE.md diff --git a/package/optee-test/optee-test.mk b/package/optee-test/optee-test.mk index 7b27558b36..3a5670d26b 100644 --- a/package/optee-test/optee-test.mk +++ b/package/optee-test/optee-test.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_TEST_VERSION = 3.16.0 +OPTEE_TEST_VERSION = 3.17.0 OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION)) OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause, OPTEE_TEST_LICENSE_FILES = LICENSE.md -- 2.17.1 From etienne.carriere at linaro.org Wed Apr 27 09:46:02 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:46:02 +0200 Subject: [Buildroot] [PATCH 4/5] package/optee-examples: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: <20220427094608.16698-4-etienne.carriere@linaro.org> Bump OP-TEE Examples package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- package/optee-examples/optee-examples.hash | 4 ++-- package/optee-examples/optee-examples.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-examples/optee-examples.hash b/package/optee-examples/optee-examples.hash index 9228fb39d2..0433c72752 100644 --- a/package/optee-examples/optee-examples.hash +++ b/package/optee-examples/optee-examples.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_examples/archive/3.16.0/optee-examples-3.16.0.tar.gz -sha256 45e06dc5520f3097cc124434acafc26b8db28db87df62f3ad2ddff06cacce969 optee-examples-3.16.0.tar.gz +# From https://github.com/linaro-swg/optee_examples/archive/3.17.0/optee-examples-3.17.0.tar.gz +sha256 03d18a0439cfe99ed1ceefc9af000b39b28424c8747e0d92a2701e7fbb6c519a optee-examples-3.17.0.tar.gz # Locally computed sha256 6f1ef8449cb82ae79d2155605f7985bdf0f08e7ab5007de9b4362e8bf28733b9 LICENSE diff --git a/package/optee-examples/optee-examples.mk b/package/optee-examples/optee-examples.mk index 31e5f260df..ebb0688af5 100644 --- a/package/optee-examples/optee-examples.mk +++ b/package/optee-examples/optee-examples.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_EXAMPLES_VERSION = 3.16.0 +OPTEE_EXAMPLES_VERSION = 3.17.0 OPTEE_EXAMPLES_SITE = $(call github,linaro-swg,optee_examples,$(OPTEE_EXAMPLES_VERSION)) OPTEE_EXAMPLES_LICENSE = BSD-2-Clause OPTEE_EXAMPLES_LICENSE_FILES = LICENSE -- 2.17.1 From etienne.carriere at linaro.org Wed Apr 27 09:46:03 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Wed, 27 Apr 2022 11:46:03 +0200 Subject: [Buildroot] [PATCH 5/5] package/optee-benchmark: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: <20220427094608.16698-5-etienne.carriere@linaro.org> Bump OP-TEE Benchmark package version to OP-TEE release 3.17.0. Cc: Cl?ment L?ger Signed-off-by: Etienne Carriere --- package/optee-benchmark/optee-benchmark.hash | 4 ++-- package/optee-benchmark/optee-benchmark.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-benchmark/optee-benchmark.hash b/package/optee-benchmark/optee-benchmark.hash index 2e75b4ff8e..54981c9d2c 100644 --- a/package/optee-benchmark/optee-benchmark.hash +++ b/package/optee-benchmark/optee-benchmark.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_benchmark/archive/3.16.0/optee-benchmark-3.16.0.tar.gz -sha256 55b24525f08ffda6799f90ab7bab2125f1c3f17d5cbd1b34480cd28b5f46fca9 optee-benchmark-3.16.0.tar.gz +# From https://github.com/linaro-swg/optee_benchmark/archive/3.17.0/optee-benchmark-3.17.0.tar.gz +sha256 50a4623a4c34909e722d403381e4077c84d7189ab3a7ed57a402a3461bee13e3 optee-benchmark-3.17.0.tar.gz # Locally computed sha256 0571be5b739142dc3e40e0a4e7e30d4ab8bff0d4d606a3f2db2010745587d383 LICENSE diff --git a/package/optee-benchmark/optee-benchmark.mk b/package/optee-benchmark/optee-benchmark.mk index 493f407a44..1f5e01b868 100644 --- a/package/optee-benchmark/optee-benchmark.mk +++ b/package/optee-benchmark/optee-benchmark.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_BENCHMARK_VERSION = 3.16.0 +OPTEE_BENCHMARK_VERSION = 3.17.0 OPTEE_BENCHMARK_SITE = $(call github,linaro-swg,optee_benchmark,$(OPTEE_BENCHMARK_VERSION)) OPTEE_BENCHMARK_LICENSE = BSD-2-Clause OPTEE_BENCHMARK_LICENSE_FILES = LICENSE -- 2.17.1 From arnout at mind.be Wed Apr 27 11:44:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 13:44:59 +0200 Subject: [Buildroot] press request In-Reply-To: References: <82d17f75-915d-485f-9353-f091fb3576e8.8d5b84c6-3d2e-4c12-b2dd-1cea205060bd.05b36973-3f8d-47c8-982b-7fde04d5179e@emailsignatures365.codetwo.com> Message-ID: Hi Jens-Christoph, On 27/04/2022 09:15, Jens-Christoph Brendel wrote: > Hello everybody, > > We, the German Linux magazine, are planning a focus on Linux distributions for > the IoT in the 07/22 issue. One of them we have in mind is Buildroot. We are > therefore looking for an author who can introduce Buildroot to our readers in an > article. Sounds really interesting! I think Buildroot can use the publicity. I'd be willing to write such an article. > Such an article should be four to six pages (about 4000 characters > each) and cover questions such as: > > - What is Buildroot? (main purpose, target audience, compatibility) > > - Scope of services > > - Differences and similarities compared to similar operating systems For this part, it would be useful to know which other distros etc. you're going to include in that issue. > - Advantages and disadvantages > > - Examples of use > > We need the text no later than June 1. It would be better if you can manage to > deliver a few days earlier, because then we will have more time to discuss > details, if necessary.A plain text file (ISO8859-1, aka Latin1) is perfect. > Illustrations (at least one per page) should be delivered as separate image files. Finding useful/suitable illustrations is always difficult... > The target audience consists of IT professionals, developers, administrators and > IT managers. So we don't explain the basics. On the other hand, your reader may > not know much about Buildroot. Imagine a person looking for an operating system > for an IoT project. The author will give her all the details she needs to make > an informed decision. > > Is there anyone out there who would like and have the time to write such an > article for us? We would pay 80 Euro per printed page. Please contact me at > jens-christoph.brendel at computec.de. I'm answering publicly because I think it's best if the Buildroot community aligns on who will write this article. If there are other candidates, we can decide who is most suited, or collaborate on it. Would it be allowed to publish the text on the mailing list before hand in order to have some review feedback on it from the community? I guess anybody who's subscribed to the mailing list or can find the archives is probably not in the target audience anyway. In a similar vein, would it be allowed to republish the text (no earlier than August, I assume) in another venue, e.g. LWN.net? And on a personal level, would it be OK to include a box text introducing myself and my employer? Regards, Arnout > > Many thanks in advance > > Jens-Christoph > > . . . . > Disclaimer: The recipient acknowledges that Computec Media GmbH is unable to > exercise control over the content of information contained in transmissions made > via the Internet. Computec Media GmbH hereby excludes any warranty, written or > implied, as to the quality or accuracy of any information contained in this > message and any liability of any kind for the information contained, therein, or > for its transmission, reception, storage or usage in any way, whatsoever. > Sitz der Gesellschaft und Registergericht: F?rth (HRB 14364) Gesch?ftsf?hrer: > Christian M?ller, Rainer Rosenbusch Umsatzsteuer-Identifikationsnummer: DE812575276 > Informationen zur Datenverarbeitung und Datenschutz: > https://www.computec.de/datenschutz > . . . . > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From noahhuetter at gmail.com Wed Apr 27 13:14:00 2022 From: noahhuetter at gmail.com (Noah Huetter) Date: Wed, 27 Apr 2022 15:14:00 +0200 Subject: [Buildroot] [PATCH 1/1] boot/opensbi: introduce BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS Message-ID: <20220427131400.223113-1-noahhuetter@gmail.com> Signed-off-by: Noah Huetter --- boot/opensbi/Config.in | 6 ++++++ boot/opensbi/opensbi.mk | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in index f1443498d9..ff095ea800 100644 --- a/boot/opensbi/Config.in +++ b/boot/opensbi/Config.in @@ -119,4 +119,10 @@ config BR2_TARGET_OPENSBI_FW_FDT_PATH must be set in the U-Boot configuration for this file to be produced. +config BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS + string "Custom make options" + help + List of custom make options passed at build time. Can be + used for example to pass a BUILD_INFO= value. + endif diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk index 8e055633a8..d007ae1299 100644 --- a/boot/opensbi/opensbi.mk +++ b/boot/opensbi/opensbi.mk @@ -31,7 +31,8 @@ BR_NO_CHECK_HASH_FOR += $(OPENSBI_SOURCE) endif OPENSBI_MAKE_ENV = \ - CROSS_COMPILE=$(TARGET_CROSS) + CROSS_COMPILE=$(TARGET_CROSS) \ + $(call qstrip,$(BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS)) OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT)) ifneq ($(OPENSBI_PLAT),) -- 2.35.1 From fperrad at gmail.com Wed Apr 27 14:37:12 2022 From: fperrad at gmail.com (Francois Perrad) Date: Wed, 27 Apr 2022 16:37:12 +0200 Subject: [Buildroot] [PATCH] configs/olimex_stmp157: bump Linux and U-Boot Message-ID: <20220427143712.55713-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/olimex_stmp157_olinuxino_lime_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig index f9b31bbdc..a63394fa0 100644 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20220321-v5.10.105 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" +# branch release-20220413-v5.10.105 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d417808c240d55576ee76e5cbb40413ad444ecfd" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -34,8 +34,8 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/OLIMEX/u-boot-olinuxino.git" -# release-20211130, based on 2021.04 -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="1c29714bc643c299e2ed4ba870be8d4538124144" +# release-20220413, based on 2021.04 +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="b39c5a7c93a2d8efaecc9cad4284378af857c3f7" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="STM32-OLinuXino-LIME" # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_IMG=y -- 2.32.0 From arnout at mind.be Wed Apr 27 15:41:53 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 17:41:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: References: <20220427035039.1664864-1-james.hilliard1@gmail.com> <20220427103102.7f934c1f@windsurf> Message-ID: <2c51f9ba-5d02-17f7-98d0-8a4c1b6dcf79@mind.be> On 27/04/2022 10:42, James Hilliard wrote: > On Wed, Apr 27, 2022 at 2:31 AM Thomas Petazzoni > wrote: >> >> Hello James, >> >> On Tue, 26 Apr 2022 21:50:39 -0600 >> James Hilliard wrote: >> >>> Libressl is no longer supported as of python 3.10. >>> >>> See: https://peps.python.org/pep-0644/#libressl >>> >>> Fixes: >>> - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 >>> >>> Signed-off-by: James Hilliard >> >> Thanks for your patch. I think it raises one question: is libressl >> still relevant? Should we still support it? > > Well it's still actively maintained at least. > >> >> My understanding was that it is not really a successful fork, and in >> the end, openssl has mostly caught up and remains the de-facto standard >> implementation. See https://lwn.net/Articles/841664/. > > We do support a number of other rather uncommon ssl implementations > in general, and at least it's easy enough to disable for unsupported > configurations. > >> >> I don't have a very well-informed opinion, but perhaps we should think >> about this? > > Yeah, not really sure, it may be useful to keep around, I think it has an > alternative updated API to openssl's updated API that may be desirable > for some use cases, although probably not the most commonly used. At that point, however, having libressl as a virtual package alternative for openssl becomes less and less realistic. Virtual packages should only be used if the alternatives can be considered drop-in replacements with compatible API. A few exceptions are acceptable, but it's becoming too much. We should also start thinking what to do with openssl 3. It has an API that is somewhat compatible with openssl 1.1.1, but there are almost no packages that can use it without any changes. This could actually be an opportunity to get aout of this mess: most packages that are not compatible with libressl are probably already compatible with openssl 3. So if we introduce an openssl3 package, we can migrate the packages that don't like libressl to that, and leave the choice between openssl 1.1.1 and libressl for legacy and BSD packages. Regards, Arnout From kris at embeddedTS.com Wed Apr 27 16:50:32 2022 From: kris at embeddedTS.com (Kris Bahnsen) Date: Wed, 27 Apr 2022 09:50:32 -0700 Subject: [Buildroot] [PATCH v2 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency In-Reply-To: <20220427072541.4082648-1-james.hilliard1@gmail.com> References: <20220427072541.4082648-1-james.hilliard1@gmail.com> Message-ID: <1651078232.2364.2.camel@embeddedTS.com> On Wed, 2022-04-27 at 01:25 -0600, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 > > Signed-off-by: James Hilliard > --- > Changes v1 -> v2: > - add comment when !BR2_LINUX_KERNEL > --- > package/wilc-driver/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in > index caf46ae281..24a7b05b17 100644 > --- a/package/wilc-driver/Config.in > +++ b/package/wilc-driver/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_WILC_DRIVER > bool "wilc kernel module" > + depends on BR2_LINUX_KERNEL > help > External kernel module for WILC1000/3000 devices. > > @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER > > https://github.com/embeddedTS/wilc3000-external-module > > +comment "wilc kernel module needs a Linux kernel to be built" > + depends on !BR2_LINUX_KERNEL > + > if BR2_PACKAGE_WILC_DRIVER > > config BR2_PACKAGE_WILC_DRIVER_SPI I also just wanted to note that this driver in this form has only ever been tested on AT91 and i.MX6UL ARM platforms. It may work on other architectures, but we've not got any hardware setup for that. I'm not sure if this fact would warrant a depends on ARM architecture for now to limit scope or to leave it open for others to test. As-is, the patch looks good to me though. Reviewed-by: Kris Bahnsen From arnout at mind.be Wed Apr 27 17:11:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:11:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/libmdbx: bump version to 0.11.7 In-Reply-To: <20220424235618.471682-1-leo@yuriev.ru> References: <20220424235618.471682-1-leo@yuriev.ru> Message-ID: Hi Leonid, On 25/04/2022 01:56, ?????? ????? (Leonid Yuriev) wrote: > This is stable bugfix release of libmdbx. So it is reasonable to backport > this patch to all applicable releases/branches of buildroot. > I added to the commit message a note that the project has been removed from github, with a reference to a news site [1]. It helps if you clarify that you yourself are the upstream for this project :-) > Release notes for v0.11.7 https://gitflic.ru/project/erthink/libmdbx/release/90ec9985-cd60-4d9a-8c98-8417506fd26d > > The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md > > Signed-off-by: ?????? ????? (Leonid Yuriev) > --- > package/libmdbx/Config.in | 2 +- > package/libmdbx/libmdbx.hash | 4 ++-- > package/libmdbx/libmdbx.mk | 6 +++--- > 3 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/package/libmdbx/Config.in b/package/libmdbx/Config.in > index d13f73938f..2cde7ed5e9 100644 > --- a/package/libmdbx/Config.in > +++ b/package/libmdbx/Config.in > @@ -13,7 +13,7 @@ config BR2_PACKAGE_LIBMDBX > libmdbx surpasses the legendary LMDB in terms of > reliability, features and performance. > > - https://github.com/erthink/libmdbx > + https://gitflic.ru/project/erthink/libmdbx I've changed this to the project's documentation website [2]. > > if BR2_PACKAGE_LIBMDBX > > diff --git a/package/libmdbx/libmdbx.hash b/package/libmdbx/libmdbx.hash > index 2483d14dd1..7d663b3da0 100644 > --- a/package/libmdbx/libmdbx.hash > +++ b/package/libmdbx/libmdbx.hash > @@ -1,5 +1,5 @@ > -# Hashes from: https://github.com/erthink/libmdbx/releases/ > -sha256 884de528f5c2abab2187b7c4c84b769d2551e1a748cbfdf0ae4c0f5c9f8dbd27 libmdbx-amalgamated-0.11.4.tar.gz > +# Hashes from: https://libmdbx.website.yandexcloud.net/release/SHA256SUMS > +sha256 3a9fb6a4cd941e646597235518714373fda1ca6d4c5e23669afe70ea87c20940 libmdbx-amalgamated-0.11.7.tar.xz > > # Locally calculated > sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE > diff --git a/package/libmdbx/libmdbx.mk b/package/libmdbx/libmdbx.mk > index 1aff8fbb4d..a7056b2850 100644 > --- a/package/libmdbx/libmdbx.mk > +++ b/package/libmdbx/libmdbx.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -LIBMDBX_VERSION = 0.11.4 > -LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.gz > -LIBMDBX_SITE = https://github.com/erthink/libmdbx/releases/download/v$(LIBMDBX_VERSION) > +LIBMDBX_VERSION = 0.11.7 > +LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz > +LIBMDBX_SITE = https://libmdbx.website.yandexcloud.net/release I was wondering why you don't use the URLs from gitflic, but I guess the official website is indeed better. Applied to master with those changes, thanks. Regards, Arnout [1] https://blog.desdelinux.net/en/libmdbx-0-11-7-arrives-with-project-migration-to-gitflic-bug-fixes-and-more/ [2] https://libmdbx.website.yandexcloud.net/ > LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO > LIBMDBX_LICENSE = OLDAP-2.8 > LIBMDBX_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 17:12:11 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:12:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/ding-libs: bump to version 0.6.2 In-Reply-To: <20220423154903.155257-1-fontaine.fabrice@gmail.com> References: <20220423154903.155257-1-fontaine.fabrice@gmail.com> Message-ID: <30726643-c858-3394-a788-b24a50ac1a00@mind.be> On 23/04/2022 17:49, Fabrice Fontaine wrote: > - Update site to get latest release > - Update indentation in hash file (two spaces) > > https://github.com/SSSD/ding-libs/releases/tag/0.6.2 > > Signed-off-by: Fabrice Fontaine > --- > package/ding-libs/Config.in | 2 +- > package/ding-libs/ding-libs.hash | 8 +++++--- > package/ding-libs/ding-libs.mk | 5 ++--- > 3 files changed, 8 insertions(+), 7 deletions(-) > > diff --git a/package/ding-libs/Config.in b/package/ding-libs/Config.in > index 64b111e6a1..e4f869728a 100644 > --- a/package/ding-libs/Config.in > +++ b/package/ding-libs/Config.in > @@ -14,7 +14,7 @@ config BR2_PACKAGE_DING_LIBS > initialization format (INI) into a library collection data > structure (libini_config). > > - https://pagure.io/SSSD/ding-libs > + https://github.com/SSSD/ding-libs > > comment "ding-libs needs NLS enabled" > depends on BR2_SYSTEM_ENABLE_NLS This isn't there in master, and I didn't see any other patch on ding-libs. What's going on here? Anyway, applied to master, thanks. Regards, Arnout > diff --git a/package/ding-libs/ding-libs.hash b/package/ding-libs/ding-libs.hash > index 2ac5bd8eee..d5d87faccd 100644 > --- a/package/ding-libs/ding-libs.hash > +++ b/package/ding-libs/ding-libs.hash > @@ -1,4 +1,6 @@ > +# From https://github.com/SSSD/ding-libs/releases/download/0.6.2/ding-libs-0.6.2.tar.gz.sha256sum > +sha256 e5f07f34f5921bcb5ccccfe3751c28497879a6451cd7b395e99e24d9b5728e8d ding-libs-0.6.2.tar.gz > + > # Locally computed > -sha256 ad3c573641701f67d4b6bd8a5a71f0b65d45fd39fe961495ef5f5d3c57fc0963 ding-libs-ding_libs-0_6_1.tar.gz > -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > -sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER > +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > +sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER > diff --git a/package/ding-libs/ding-libs.mk b/package/ding-libs/ding-libs.mk > index 1e8fa59d69..a4ee7351b5 100644 > --- a/package/ding-libs/ding-libs.mk > +++ b/package/ding-libs/ding-libs.mk > @@ -4,10 +4,9 @@ > # > ################################################################################ > > -DING_LIBS_VERSION = 0.6.1 > -DING_LIBS_SOURCE = ding-libs-ding_libs-$(subst .,_,$(DING_LIBS_VERSION)).tar.gz > +DING_LIBS_VERSION = 0.6.2 > DING_LIBS_SITE = \ > - https://pagure.io/SSSD/ding-libs/archive/ding_libs-$(subst .,_,$(DING_LIBS_VERSION)) > + https://github.com/SSSD/ding-libs/releases/download/$(DING_LIBS_VERSION) > DING_LIBS_DEPENDENCIES = host-pkgconf \ > $(TARGET_NLS_DEPENDENCIES) \ > $(if $(BR2_PACKAGE_LIBICONV),libiconv) From arnout at mind.be Wed Apr 27 17:12:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:12:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed In-Reply-To: <20220424081903.3535909-1-fontaine.fabrice@gmail.com> References: <20220424081903.3535909-1-fontaine.fabrice@gmail.com> Message-ID: <1304a657-da69-7a04-4368-baa16040fedb@mind.be> On 24/04/2022 10:19, Fabrice Fontaine wrote: > Link with -latomic if needed to avoid the following build failure since > bump to version 10.5.0 in commit > b5352c2177011ca389cbb7c68e78447549cbdaaa and > https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c: > > /nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()': > QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8' > > Fixes: > - http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/qpdf/qpdf.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk > index 8e0769059d..a58781f4f1 100644 > --- a/package/qpdf/qpdf.mk > +++ b/package/qpdf/qpdf.mk > @@ -32,4 +32,8 @@ else > QPDF_CONF_OPTS += --disable-crypto-openssl > endif > > +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > +QPDF_CONF_ENV += LIBS=-latomic > +endif > + > $(eval $(autotools-package)) From arnout at mind.be Wed Apr 27 17:12:50 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:12:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptsetup: fix build with argp-standalone In-Reply-To: <20220424191032.3222587-1-fontaine.fabrice@gmail.com> References: <20220424191032.3222587-1-fontaine.fabrice@gmail.com> Message-ID: On 24/04/2022 21:10, Fabrice Fontaine wrote: > Fix the following build failure raised since bump of argp-standalone to > version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and > https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: > > /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': > cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' > /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': > cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' > > Fixes: > - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...onfigure.ac-replace-argp_usage-check.patch | 40 +++++++++++++++++++ > package/cryptsetup/cryptsetup.mk | 1 + > 2 files changed, 41 insertions(+) > create mode 100644 package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch > > diff --git a/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch > new file mode 100644 > index 0000000000..66e3be350c > --- /dev/null > +++ b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch > @@ -0,0 +1,40 @@ > +From 21515ad7a3b000ee6038f82bbb428ab527002bbd Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 24 Apr 2022 19:47:53 +0200 > +Subject: [PATCH] configure.ac: replace argp_usage check > + > +Replace check for argp_usage by argp_parse as argp_usage is not used by > +cryptsetup. Moreover, this will fix the following build failure raised > +with argp-standalone in version 1.4.0 and > +https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: > + > +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': > +cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' > +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': > +cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' > + > +Fixes: > + - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: https://gitlab.com/cryptsetup/cryptsetup/-/issues/737] > +--- > + configure.ac | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/configure.ac b/configure.ac > +index d31fb0a7..e47179f2 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -413,7 +413,7 @@ if test "x$enable_ssh_token" = "xyes"; then > + AC_CHECK_DECLS([ssh_session_is_known_server], [], [], [#include ]) > + AC_CHECK_HEADER([argp.h], [], AC_MSG_ERROR([You need argp library.])) > + saved_LIBS=$LIBS > +- AC_SEARCH_LIBS([argp_usage],[argp]) > ++ AC_SEARCH_LIBS([argp_parse],[argp]) > + AC_SUBST(ARGP_LIBS, $LIBS) > + LIBS=$saved_LIBS > + fi > +-- > +2.35.1 > + > diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk > index ddb10f1da3..20cf5d6346 100644 > --- a/package/cryptsetup/cryptsetup.mk > +++ b/package/cryptsetup/cryptsetup.mk > @@ -19,6 +19,7 @@ CRYPTSETUP_CPE_ID_VENDOR = cryptsetup_project > CRYPTSETUP_INSTALL_STAGING = YES > > # 0001-Add-check-program-for-symver-attribute.patch > +# 0002-configure.ac-replace-argp_usage-check.patch > CRYPTSETUP_AUTORECONF = YES > > CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" From arnout at mind.be Wed Apr 27 17:13:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:13:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/libeXosip2: fix build with libressl In-Reply-To: <20220424191957.435337-1-fontaine.fabrice@gmail.com> References: <20220424191957.435337-1-fontaine.fabrice@gmail.com> Message-ID: <7675691e-a91c-e28f-21b2-d1350e199de3@mind.be> On 24/04/2022 21:19, Fabrice Fontaine wrote: > Fix the following build failure with libressl >= 3.4.1 raised since > commit 25ef2c26dabaf1553f1724214a4fa5e3ce48dfc8: > > In file included from eXtl_dtls.c:82: > /home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here > 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); > | ^~~~~~~~~~~~~ > eXtl_dtls.c: In function 'SSL_set0_rbio': > eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} > 108 | BIO_free_all(s->rbio); > | ^~ > > Fixes: > - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...dtls.c-fix-build-with-libressl-3.4.1.patch | 43 +++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch > > diff --git a/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch > new file mode 100644 > index 0000000000..0b4be43b6c > --- /dev/null > +++ b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch > @@ -0,0 +1,43 @@ > +From 4201c0ff3fd75e09025d515c427f85f9fec89621 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Tue, 5 Apr 2022 22:27:35 +0200 > +Subject: [PATCH] src/eXtl_dtls.c: fix build with libressl >= 3.4.1 > + > +Fix the following build failure with libressl >= 3.4.1 which provides > +SSL_set0_rbio() since > +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc: > + > +In file included from eXtl_dtls.c:82: > +/home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here > + 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); > + | ^~~~~~~~~~~~~ > +eXtl_dtls.c: In function 'SSL_set0_rbio': > +eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} > + 108 | BIO_free_all(s->rbio); > + | ^~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 > + > +Signed-off-by: Fabrice Fontaine > +[Upstream status: sent to amoizard at antisip.com] > +--- > + src/eXtl_dtls.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/eXtl_dtls.c b/src/eXtl_dtls.c > +index 07c0dc2..d0bd7dc 100644 > +--- a/src/eXtl_dtls.c > ++++ b/src/eXtl_dtls.c > +@@ -102,7 +102,7 @@ > + #define RANDOM "random.pem" > + #define DHFILE "dh1024.pem" > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3040100L) > + > + static void SSL_set0_rbio(SSL *s, BIO *rbio) { > + BIO_free_all(s->rbio); > +-- > +2.35.1 > + From arnout at mind.be Wed Apr 27 17:13:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:13:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: bump to version 3.10.4 In-Reply-To: <20220424200620.1413743-1-james.hilliard1@gmail.com> References: <20220424200620.1413743-1-james.hilliard1@gmail.com> Message-ID: On 24/04/2022 22:06, James Hilliard wrote: > Drop override system locale patch which is now upstream. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > ...dd-importlib-fix-for-PEP-3147-issue.patch} | 0 > ...locale-and-set-to-default-when-addin.patch | 39 ------------------- > ...0012-Add-an-option-to-disable-pydoc.patch} | 0 > ...13-Add-an-option-to-disable-lib2to3.patch} | 0 > ...ption-to-disable-the-sqlite3-module.patch} | 0 > ...-an-option-to-disable-the-tk-module.patch} | 0 > ...option-to-disable-the-curses-module.patch} | 0 > ...0017-Add-an-option-to-disable-expat.patch} | 0 > ...Add-an-option-to-disable-CJK-codecs.patch} | 0 > ...> 0019-Add-an-option-to-disable-NIS.patch} | 0 > ...dd-an-option-to-disable-unicodedata.patch} | 0 > ... 0021-Add-an-option-to-disable-IDLE.patch} | 0 > ...22-Add-an-option-to-disable-decimal.patch} | 0 > ...n-to-disable-the-ossaudiodev-module.patch} | 0 > ...n-option-to-disable-openssl-support.patch} | 0 > ...tion-to-disable-the-readline-module.patch} | 0 > ...o-disable-zlib-bzip2-and-xz-modules.patch} | 0 > ...hon-config.sh-don-t-reassign-prefix.patch} | 0 > ...Fix-cross-compiling-the-uuid-module.patch} | 0 > ...dd-an-option-to-disable-uuid-module.patch} | 0 > ...fix-building-on-older-distributions.patch} | 0 > ...p-CC-print-multiarch-output-for-mus.patch} | 0 > ...on-to-disable-the-berkeleydb-module.patch} | 0 > ...ng-doesn-t-set-errno-when-encryptio.patch} | 0 > package/python3/python3.hash | 6 +-- > package/python3/python3.mk | 2 +- > 26 files changed, 4 insertions(+), 43 deletions(-) > rename package/python3/{0012-Add-importlib-fix-for-PEP-3147-issue.patch => 0011-Add-importlib-fix-for-PEP-3147-issue.patch} (100%) > delete mode 100644 package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch > rename package/python3/{0013-Add-an-option-to-disable-pydoc.patch => 0012-Add-an-option-to-disable-pydoc.patch} (100%) > rename package/python3/{0014-Add-an-option-to-disable-lib2to3.patch => 0013-Add-an-option-to-disable-lib2to3.patch} (100%) > rename package/python3/{0015-Add-option-to-disable-the-sqlite3-module.patch => 0014-Add-option-to-disable-the-sqlite3-module.patch} (100%) > rename package/python3/{0016-Add-an-option-to-disable-the-tk-module.patch => 0015-Add-an-option-to-disable-the-tk-module.patch} (100%) > rename package/python3/{0017-Add-an-option-to-disable-the-curses-module.patch => 0016-Add-an-option-to-disable-the-curses-module.patch} (100%) > rename package/python3/{0018-Add-an-option-to-disable-expat.patch => 0017-Add-an-option-to-disable-expat.patch} (100%) > rename package/python3/{0019-Add-an-option-to-disable-CJK-codecs.patch => 0018-Add-an-option-to-disable-CJK-codecs.patch} (100%) > rename package/python3/{0020-Add-an-option-to-disable-NIS.patch => 0019-Add-an-option-to-disable-NIS.patch} (100%) > rename package/python3/{0021-Add-an-option-to-disable-unicodedata.patch => 0020-Add-an-option-to-disable-unicodedata.patch} (100%) > rename package/python3/{0022-Add-an-option-to-disable-IDLE.patch => 0021-Add-an-option-to-disable-IDLE.patch} (100%) > rename package/python3/{0023-Add-an-option-to-disable-decimal.patch => 0022-Add-an-option-to-disable-decimal.patch} (100%) > rename package/python3/{0024-Add-an-option-to-disable-the-ossaudiodev-module.patch => 0023-Add-an-option-to-disable-the-ossaudiodev-module.patch} (100%) > rename package/python3/{0025-Add-an-option-to-disable-openssl-support.patch => 0024-Add-an-option-to-disable-openssl-support.patch} (100%) > rename package/python3/{0026-Add-an-option-to-disable-the-readline-module.patch => 0025-Add-an-option-to-disable-the-readline-module.patch} (100%) > rename package/python3/{0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch => 0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (100%) > rename package/python3/{0028-python-config.sh-don-t-reassign-prefix.patch => 0027-python-config.sh-don-t-reassign-prefix.patch} (100%) > rename package/python3/{0029-Fix-cross-compiling-the-uuid-module.patch => 0028-Fix-cross-compiling-the-uuid-module.patch} (100%) > rename package/python3/{0030-Add-an-option-to-disable-uuid-module.patch => 0029-Add-an-option-to-disable-uuid-module.patch} (100%) > rename package/python3/{0031-fix-building-on-older-distributions.patch => 0030-fix-building-on-older-distributions.patch} (100%) > rename package/python3/{0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch => 0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (100%) > rename package/python3/{0033-Add-an-option-to-disable-the-berkeleydb-module.patch => 0032-Add-an-option-to-disable-the-berkeleydb-module.patch} (100%) > rename package/python3/{0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch => 0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch} (100%) > > diff --git a/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch > similarity index 100% > rename from package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch > rename to package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch > diff --git a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch > deleted file mode 100644 > index 4d021d86a4..0000000000 > --- a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch > +++ /dev/null > @@ -1,39 +0,0 @@ > -From e4ae670e3489544a49dabd1618c32fe73504a7ba Mon Sep 17 00:00:00 2001 > -From: Samuel Cabrero > -Date: Wed, 23 Dec 2015 11:45:48 +0100 > -Subject: [PATCH] Override system locale and set to default when adding gcc > - paths > - > -Forces the use of the default locale in the function > -add_gcc_paths, which is called when cross compiling to add the > -include and library paths. This is necessary because otherwise > -the gcc output is localized and the output parsing fails, which > -results in no paths added and detect_modules not able to find > -any system library (eg. libz, libssl, etc.) > - > -[Thomas: patch taken from https://bugs.python.org/issue23767.] > - > -Signed-off-by: Samuel Cabrero > -Signed-off-by: Thomas Petazzoni > -[james.hilliard1 at gmail.com: adapt to python 3.9] > -Signed-off-by: James Hilliard > ---- > - setup.py | 2 +- > - 1 file changed, 1 insertion(+), 1 deletion(-) > - > -diff --git a/setup.py b/setup.py > -index d3f0e663f2..926c16f58f 100644 > ---- a/setup.py > -+++ b/setup.py > -@@ -761,7 +761,7 @@ class PyBuildExt(build_ext): > - tmpfile = os.path.join(self.build_temp, 'ccpaths') > - if not os.path.exists(self.build_temp): > - os.makedirs(self.build_temp) > -- ret = run_command('%s -E -v - %s 1>/dev/null' % (CC, tmpfile)) > -+ ret = run_command('LC_ALL=C %s -E -v - %s 1>/dev/null' % (CC, tmpfile)) > - is_gcc = False > - is_clang = False > - in_incdirs = False > --- > -2.25.1 > - > diff --git a/package/python3/0013-Add-an-option-to-disable-pydoc.patch b/package/python3/0012-Add-an-option-to-disable-pydoc.patch > similarity index 100% > rename from package/python3/0013-Add-an-option-to-disable-pydoc.patch > rename to package/python3/0012-Add-an-option-to-disable-pydoc.patch > diff --git a/package/python3/0014-Add-an-option-to-disable-lib2to3.patch b/package/python3/0013-Add-an-option-to-disable-lib2to3.patch > similarity index 100% > rename from package/python3/0014-Add-an-option-to-disable-lib2to3.patch > rename to package/python3/0013-Add-an-option-to-disable-lib2to3.patch > diff --git a/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch b/package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch > similarity index 100% > rename from package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch > rename to package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch > diff --git a/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch b/package/python3/0015-Add-an-option-to-disable-the-tk-module.patch > similarity index 100% > rename from package/python3/0016-Add-an-option-to-disable-the-tk-module.patch > rename to package/python3/0015-Add-an-option-to-disable-the-tk-module.patch > diff --git a/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch b/package/python3/0016-Add-an-option-to-disable-the-curses-module.patch > similarity index 100% > rename from package/python3/0017-Add-an-option-to-disable-the-curses-module.patch > rename to package/python3/0016-Add-an-option-to-disable-the-curses-module.patch > diff --git a/package/python3/0018-Add-an-option-to-disable-expat.patch b/package/python3/0017-Add-an-option-to-disable-expat.patch > similarity index 100% > rename from package/python3/0018-Add-an-option-to-disable-expat.patch > rename to package/python3/0017-Add-an-option-to-disable-expat.patch > diff --git a/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch b/package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch > similarity index 100% > rename from package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch > rename to package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch > diff --git a/package/python3/0020-Add-an-option-to-disable-NIS.patch b/package/python3/0019-Add-an-option-to-disable-NIS.patch > similarity index 100% > rename from package/python3/0020-Add-an-option-to-disable-NIS.patch > rename to package/python3/0019-Add-an-option-to-disable-NIS.patch > diff --git a/package/python3/0021-Add-an-option-to-disable-unicodedata.patch b/package/python3/0020-Add-an-option-to-disable-unicodedata.patch > similarity index 100% > rename from package/python3/0021-Add-an-option-to-disable-unicodedata.patch > rename to package/python3/0020-Add-an-option-to-disable-unicodedata.patch > diff --git a/package/python3/0022-Add-an-option-to-disable-IDLE.patch b/package/python3/0021-Add-an-option-to-disable-IDLE.patch > similarity index 100% > rename from package/python3/0022-Add-an-option-to-disable-IDLE.patch > rename to package/python3/0021-Add-an-option-to-disable-IDLE.patch > diff --git a/package/python3/0023-Add-an-option-to-disable-decimal.patch b/package/python3/0022-Add-an-option-to-disable-decimal.patch > similarity index 100% > rename from package/python3/0023-Add-an-option-to-disable-decimal.patch > rename to package/python3/0022-Add-an-option-to-disable-decimal.patch > diff --git a/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch b/package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch > similarity index 100% > rename from package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch > rename to package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch > diff --git a/package/python3/0025-Add-an-option-to-disable-openssl-support.patch b/package/python3/0024-Add-an-option-to-disable-openssl-support.patch > similarity index 100% > rename from package/python3/0025-Add-an-option-to-disable-openssl-support.patch > rename to package/python3/0024-Add-an-option-to-disable-openssl-support.patch > diff --git a/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch b/package/python3/0025-Add-an-option-to-disable-the-readline-module.patch > similarity index 100% > rename from package/python3/0026-Add-an-option-to-disable-the-readline-module.patch > rename to package/python3/0025-Add-an-option-to-disable-the-readline-module.patch > diff --git a/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch > similarity index 100% > rename from package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch > rename to package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch > diff --git a/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch b/package/python3/0027-python-config.sh-don-t-reassign-prefix.patch > similarity index 100% > rename from package/python3/0028-python-config.sh-don-t-reassign-prefix.patch > rename to package/python3/0027-python-config.sh-don-t-reassign-prefix.patch > diff --git a/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch b/package/python3/0028-Fix-cross-compiling-the-uuid-module.patch > similarity index 100% > rename from package/python3/0029-Fix-cross-compiling-the-uuid-module.patch > rename to package/python3/0028-Fix-cross-compiling-the-uuid-module.patch > diff --git a/package/python3/0030-Add-an-option-to-disable-uuid-module.patch b/package/python3/0029-Add-an-option-to-disable-uuid-module.patch > similarity index 100% > rename from package/python3/0030-Add-an-option-to-disable-uuid-module.patch > rename to package/python3/0029-Add-an-option-to-disable-uuid-module.patch > diff --git a/package/python3/0031-fix-building-on-older-distributions.patch b/package/python3/0030-fix-building-on-older-distributions.patch > similarity index 100% > rename from package/python3/0031-fix-building-on-older-distributions.patch > rename to package/python3/0030-fix-building-on-older-distributions.patch > diff --git a/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch b/package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch > similarity index 100% > rename from package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch > rename to package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch > diff --git a/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch b/package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch > similarity index 100% > rename from package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch > rename to package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch > diff --git a/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch b/package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch > similarity index 100% > rename from package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch > rename to package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch > diff --git a/package/python3/python3.hash b/package/python3/python3.hash > index 97f4653490..5ae0add789 100644 > --- a/package/python3/python3.hash > +++ b/package/python3/python3.hash > @@ -1,5 +1,5 @@ > -# From https://www.python.org/downloads/release/python-3102/ > -md5 14e8c22458ed7779a1957b26cde01db9 Python-3.10.2.tar.xz > +# From https://www.python.org/downloads/release/python-3104/ > +md5 21f2e113e087083a1e8cf10553d93599 Python-3.10.4.tar.xz > # Locally computed > -sha256 17de3ac7da9f2519aa9d64378c603a73a0e9ad58dffa8812e45160c086de64c7 Python-3.10.2.tar.xz > +sha256 80bf925f571da436b35210886cf79f6eb5fa5d6c571316b73568343451f77a19 Python-3.10.4.tar.xz > sha256 f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b LICENSE > diff --git a/package/python3/python3.mk b/package/python3/python3.mk > index 3a334fb28d..cffb34e264 100644 > --- a/package/python3/python3.mk > +++ b/package/python3/python3.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > PYTHON3_VERSION_MAJOR = 3.10 > -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2 > +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).4 > PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz > PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) > PYTHON3_LICENSE = Python-2.0, others From arnout at mind.be Wed Apr 27 17:14:03 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:14:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/cairo: fix build with libexecinfo In-Reply-To: <20220424204656.3352319-1-fontaine.fabrice@gmail.com> References: <20220424204656.3352319-1-fontaine.fabrice@gmail.com> Message-ID: <8296cf92-11ec-a2d4-c916-c47d7fbe5066@mind.be> On 24/04/2022 22:46, Fabrice Fontaine wrote: > Fix the following build failure raised on uclibc and musl since the > addition of libexecinfo package in commit > eea8ba446c10701a273432552108d80fb2224ef4: > > /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace_symbols' > /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace' > > Fixes: > - http://autobuild.buildroot.org/results/836348270d564a46cc9ee840cf87b2494cc82cec > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/cairo/cairo.mk | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk > index 98f270442a..f479aa252a 100644 > --- a/package/cairo/cairo.mk > +++ b/package/cairo/cairo.mk > @@ -15,6 +15,8 @@ CAIRO_INSTALL_STAGING = YES > # 0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch > CAIRO_IGNORE_CVES += CVE-2018-19876 > > +CAIRO_CONF_ENV = LIBS="$(CAIRO_LIBS)" > + > # relocation truncated to fit: R_68K_GOT16O > ifeq ($(BR2_m68k_cf),y) > CAIRO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" > @@ -27,7 +29,7 @@ endif > # cairo can use C++11 atomics when available, so we need to link with > # libatomic for the architectures who need libatomic. > ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > -CAIRO_CONF_ENV += LIBS="-latomic" > +CAIRO_LIBS += -latomic > endif > > CAIRO_CONF_OPTS = \ > @@ -81,6 +83,11 @@ else > CAIRO_CONF_OPTS += --disable-ft > endif > > +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) > +CAIRO_DEPENDENCIES += libexecinfo > +CAIRO_LIBS += -lexecinfo > +endif > + > ifeq ($(BR2_PACKAGE_LIBGLIB2),y) > CAIRO_CONF_OPTS += --enable-gobject > CAIRO_DEPENDENCIES += libglib2 From arnout at mind.be Wed Apr 27 17:14:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:14:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/re2: bump to version 2022-04-01 In-Reply-To: <20220425080413.769861-1-buildroot@heine.tech> References: <20220425080413.769861-1-buildroot@heine.tech> Message-ID: <47db2565-7080-a32b-378d-20f4d7cbb710@mind.be> On 25/04/2022 10:04, Michael Nosthoff via buildroot wrote: > Signed-off-by: Michael Nosthoff Applied to master, thanks. Regards, Arnout > --- > package/re2/re2.hash | 2 +- > package/re2/re2.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/re2/re2.hash b/package/re2/re2.hash > index 7cfece5d5e..28f407cc32 100644 > --- a/package/re2/re2.hash > +++ b/package/re2/re2.hash > @@ -1,3 +1,3 @@ > # locally calculated > -sha256 9c1e6acfd0fed71f40b025a7a1dabaf3ee2ebb74d64ced1f9ee1b0b01d22fd27 re2-2022-02-01.tar.gz > +sha256 1ae8ccfdb1066a731bba6ee0881baad5efd2cd661acd9569b689f2586e1a50e9 re2-2022-04-01.tar.gz > sha256 6040cda75d90b1738292a631d89934c411ef7ffd543c4d6a1b7edfc8edf29449 LICENSE > diff --git a/package/re2/re2.mk b/package/re2/re2.mk > index 30791a68e5..b6d29c3caf 100644 > --- a/package/re2/re2.mk > +++ b/package/re2/re2.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RE2_VERSION = 2022-02-01 > +RE2_VERSION = 2022-04-01 > RE2_SITE = $(call github,google,re2,$(RE2_VERSION)) > RE2_LICENSE = BSD-3-Clause > RE2_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 17:15:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:15:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 3.20.1 In-Reply-To: <20220425080503.769954-1-buildroot@heine.tech> References: <20220425080503.769954-1-buildroot@heine.tech> Message-ID: On 25/04/2022 10:05, Michael Nosthoff via buildroot wrote: > Signed-off-by: Michael Nosthoff Applied to master, thanks. Regards, Arnout > --- > package/protobuf/protobuf.hash | 2 +- > package/protobuf/protobuf.mk | 2 +- > package/python-protobuf/python-protobuf.hash | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash > index 60e64f54d4..f37b2dee40 100644 > --- a/package/protobuf/protobuf.hash > +++ b/package/protobuf/protobuf.hash > @@ -1,3 +1,3 @@ > # Locally calculated > sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE > -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz > +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz > diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk > index 80764f0216..c4c33ba7da 100644 > --- a/package/protobuf/protobuf.mk > +++ b/package/protobuf/protobuf.mk > @@ -7,7 +7,7 @@ > # When bumping this package, make sure to also verify if the > # python-protobuf package still works and to update its hash, > # as they share the same version/site variables. > -PROTOBUF_VERSION = 3.19.1 > +PROTOBUF_VERSION = 3.20.1 > PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz > PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) > PROTOBUF_LICENSE = BSD-3-Clause > diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash > index 2bfef96676..ddfa48b491 100644 > --- a/package/python-protobuf/python-protobuf.hash > +++ b/package/python-protobuf/python-protobuf.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz > +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz > sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE From arnout at mind.be Wed Apr 27 17:16:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:16:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/grpc: bump to version 1.45.2 In-Reply-To: <20220425080544.770047-1-buildroot@heine.tech> References: <20220425080544.770047-1-buildroot@heine.tech> Message-ID: On 25/04/2022 10:05, Michael Nosthoff via buildroot wrote: > grpc now requires gcc >= 5.1 > see https://groups.google.com/g/grpc-io/c/Plvp29818BE > > Signed-off-by: Michael Nosthoff Applied to master, thanks. > --- > package/grpc/Config.in | 6 +++--- > package/grpc/grpc.hash | 2 +- > package/grpc/grpc.mk | 10 +--------- > 3 files changed, 5 insertions(+), 13 deletions(-) > > diff --git a/package/grpc/Config.in b/package/grpc/Config.in > index ad3ddbcf19..adba1cea52 100644 > --- a/package/grpc/Config.in > +++ b/package/grpc/Config.in > @@ -3,7 +3,7 @@ config BR2_PACKAGE_GRPC > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2 > depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5_1 This doesn't exist, it's just BR2_TOOLCHAIN_GCC_AT_LEAST_5. GCC 5.1 is the first release in the GCC 5 series, so that's fine. Regards, Arnout > depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC > depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS > @@ -19,9 +19,9 @@ config BR2_PACKAGE_GRPC > > http://github.com/grpc/grpc > > -comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9" > +comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 5.1" > depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC > depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ > - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 > + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_5_1 > depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > diff --git a/package/grpc/grpc.hash b/package/grpc/grpc.hash > index 6db2acd759..9e3a225a51 100644 > --- a/package/grpc/grpc.hash > +++ b/package/grpc/grpc.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 8c05641b9f91cbc92f51cc4a5b3a226788d7a63f20af4ca7aaca50d92cc94a0d grpc-1.44.0.tar.gz > +sha256 e18b16f7976aab9a36c14c38180f042bb0fd196b75c9fd6a20a2b5f934876ad6 grpc-1.45.2.tar.gz > sha256 277adcc1dcef8359b1efb48e628635f88b40be8fbd64e82fd0169930d135d7a5 LICENSE > diff --git a/package/grpc/grpc.mk b/package/grpc/grpc.mk > index 9138b4ea59..2f037b5d59 100644 > --- a/package/grpc/grpc.mk > +++ b/package/grpc/grpc.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GRPC_VERSION = 1.44.0 > +GRPC_VERSION = 1.45.2 > GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) > GRPC_LICENSE = Apache-2.0, BSD-3-Clause (third_party code), MPL-2.0 (etc/roots.pem) > GRPC_LICENSE_FILES = LICENSE > @@ -63,14 +63,6 @@ GRPC_CFLAGS += -O0 > GRPC_CXXFLAGS += -O0 > endif > > -# Toolchains older than gcc5 will fail to compile with -0s due to: > -# error: failure memory model cannot be stronger than success memory model for > -# '__atomic_compare_exchange', so we use -O2 in these cases > -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5):$(BR2_OPTIMIZE_S),:y) > -GRPC_CFLAGS += -O2 > -GRPC_CXXFLAGS += -O2 > -endif > - > GRPC_CONF_OPTS += \ > -DCMAKE_C_FLAGS="$(GRPC_CFLAGS)" \ > -DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)" From arnout at mind.be Wed Apr 27 17:17:55 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 19:17:55 +0200 Subject: [Buildroot] [PATCH 1/2] package/openjdk-bin: add support for host architecture aarch64 In-Reply-To: <20220425081626.80691-1-ambi@samba.org> References: <20220425081626.80691-1-ambi@samba.org> Message-ID: <9ce03303-1b6b-3894-58f2-91318daa7df5@mind.be> On 25/04/2022 10:16, ambi at samba.org wrote: > From: Christian Ambach > > Signed-off-by: Christian Ambach Applied both to master, thanks. Regards, Arnout > --- > package/openjdk-bin/openjdk-bin.hash | 2 ++ > package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- > 2 files changed, 11 insertions(+), 1 deletion(-) > > diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash > index 62691ed6f0..4d3942125f 100644 > --- a/package/openjdk-bin/openjdk-bin.hash > +++ b/package/openjdk-bin/openjdk-bin.hash > @@ -1,8 +1,10 @@ > # https://github.com/adoptium/temurin17-binaries/releases > sha256 288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48 OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz > +sha256 302caf29f73481b2b914ba2b89705036010c65eb9bc8d7712b27d6e9bedf6200 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.2_8.tar.gz > > # From https://github.com/adoptium/temurin11-binaries/releases > sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz > +sha256 79572f5172c6a040591d34632f98a20ed148702bbce2f57649e8ac01c0d2e3db OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.14.1_1.tar.gz > > # Locally calculated > sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE > diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk > index 3d1ebd7429..5cb6e3ba6a 100644 > --- a/package/openjdk-bin/openjdk-bin.mk > +++ b/package/openjdk-bin/openjdk-bin.mk > @@ -11,8 +11,16 @@ else > HOST_OPENJDK_BIN_VERSION_MAJOR = 11 > HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 > endif > + > +ifeq ($(HOSTARCH),x86_64) > +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 > +endif > +ifeq ($(HOSTARCH),aarch64) > +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 > +endif > + > HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) > -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz > HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) > > HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception From arnout at mind.be Wed Apr 27 16:23:53 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:53 +0200 Subject: [Buildroot] [git commit] package/cairo: fix build with libexecinfo Message-ID: <20220427170806.A602F845FD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c97bc9a2e4ded6964f74a5d835dbeb18ea3f33d3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised on uclibc and musl since the addition of libexecinfo package in commit eea8ba446c10701a273432552108d80fb2224ef4: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace_symbols' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libvcos.so: undefined reference to `backtrace' Fixes: - http://autobuild.buildroot.org/results/836348270d564a46cc9ee840cf87b2494cc82cec Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/cairo/cairo.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 98f270442a..f479aa252a 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -15,6 +15,8 @@ CAIRO_INSTALL_STAGING = YES # 0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch CAIRO_IGNORE_CVES += CVE-2018-19876 +CAIRO_CONF_ENV = LIBS="$(CAIRO_LIBS)" + # relocation truncated to fit: R_68K_GOT16O ifeq ($(BR2_m68k_cf),y) CAIRO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" @@ -27,7 +29,7 @@ endif # cairo can use C++11 atomics when available, so we need to link with # libatomic for the architectures who need libatomic. ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -CAIRO_CONF_ENV += LIBS="-latomic" +CAIRO_LIBS += -latomic endif CAIRO_CONF_OPTS = \ @@ -81,6 +83,11 @@ else CAIRO_CONF_OPTS += --disable-ft endif +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +CAIRO_DEPENDENCIES += libexecinfo +CAIRO_LIBS += -lexecinfo +endif + ifeq ($(BR2_PACKAGE_LIBGLIB2),y) CAIRO_CONF_OPTS += --enable-gobject CAIRO_DEPENDENCIES += libglib2 From arnout at mind.be Wed Apr 27 16:23:49 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:49 +0200 Subject: [Buildroot] [git commit] package/qpdf: link with -latomic if needed Message-ID: <20220427170806.7E2EE845FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=25f56c5d602903b2c572fd05ded3be8bee79f981 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Link with -latomic if needed to avoid the following build failure since bump to version 10.5.0 in commit b5352c2177011ca389cbb7c68e78447549cbdaaa and https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c: /nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()': QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8' Fixes: - http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/qpdf/qpdf.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk index 8e0769059d..a58781f4f1 100644 --- a/package/qpdf/qpdf.mk +++ b/package/qpdf/qpdf.mk @@ -32,4 +32,8 @@ else QPDF_CONF_OPTS += --disable-crypto-openssl endif +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +QPDF_CONF_ENV += LIBS=-latomic +endif + $(eval $(autotools-package)) From arnout at mind.be Wed Apr 27 16:23:50 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:50 +0200 Subject: [Buildroot] [git commit] package/cryptsetup: fix build with argp-standalone Message-ID: <20220427170806.880FC845FD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8bbd3e31f1fe906670306bc7224ac3f932219c5c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since bump of argp-standalone to version 1.4.1 in commit 0fe85041bc9e0b4ade4d71dd10b61c3b9ec8945d and https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' Fixes: - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...002-configure.ac-replace-argp_usage-check.patch | 40 ++++++++++++++++++++++ package/cryptsetup/cryptsetup.mk | 1 + 2 files changed, 41 insertions(+) diff --git a/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch new file mode 100644 index 0000000000..66e3be350c --- /dev/null +++ b/package/cryptsetup/0002-configure.ac-replace-argp_usage-check.patch @@ -0,0 +1,40 @@ +From 21515ad7a3b000ee6038f82bbb428ab527002bbd Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 24 Apr 2022 19:47:53 +0200 +Subject: [PATCH] configure.ac: replace argp_usage check + +Replace check for argp_usage by argp_parse as argp_usage is not used by +cryptsetup. Moreover, this will fix the following build failure raised +with argp-standalone in version 1.4.0 and +https://github.com/ericonr/argp-standalone/commit/e7ff8d9787d2641e55f6ac4afb777da60ef98043: + +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `parse_opt': +cryptsetup-ssh.c:(.text+0x14c): undefined reference to `argp_state_help' +/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/i686-buildroot-linux-musl/10.3.0/../../../../i686-buildroot-linux-musl/bin/ld: tokens/ssh/cryptsetup_ssh-cryptsetup-ssh.o: in function `main': +cryptsetup-ssh.c:(.text+0x7db): undefined reference to `argp_parse' + +Fixes: + - http://autobuild.buildroot.org/results/cb3fdae4e0da603f304501f65127800346cb3915 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://gitlab.com/cryptsetup/cryptsetup/-/issues/737] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index d31fb0a7..e47179f2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -413,7 +413,7 @@ if test "x$enable_ssh_token" = "xyes"; then + AC_CHECK_DECLS([ssh_session_is_known_server], [], [], [#include ]) + AC_CHECK_HEADER([argp.h], [], AC_MSG_ERROR([You need argp library.])) + saved_LIBS=$LIBS +- AC_SEARCH_LIBS([argp_usage],[argp]) ++ AC_SEARCH_LIBS([argp_parse],[argp]) + AC_SUBST(ARGP_LIBS, $LIBS) + LIBS=$saved_LIBS + fi +-- +2.35.1 + diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk index 81469c511e..0f5c2dc5ae 100644 --- a/package/cryptsetup/cryptsetup.mk +++ b/package/cryptsetup/cryptsetup.mk @@ -19,6 +19,7 @@ CRYPTSETUP_CPE_ID_VENDOR = cryptsetup_project CRYPTSETUP_INSTALL_STAGING = YES # 0001-Add-check-program-for-symver-attribute.patch +# 0002-configure.ac-replace-argp_usage-check.patch CRYPTSETUP_AUTORECONF = YES CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" From arnout at mind.be Wed Apr 27 16:23:26 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:26 +0200 Subject: [Buildroot] [git commit] package/ding-libs: bump to version 0.6.2 Message-ID: <20220427170806.75E04845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=80bd1002787815295118355f742f79930bf2974d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Update site to get latest release - Update indentation in hash file (two spaces) https://github.com/SSSD/ding-libs/releases/tag/0.6.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ding-libs/Config.in | 2 +- package/ding-libs/ding-libs.hash | 8 +++++--- package/ding-libs/ding-libs.mk | 5 ++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package/ding-libs/Config.in b/package/ding-libs/Config.in index 152dca0426..dc87a01bf2 100644 --- a/package/ding-libs/Config.in +++ b/package/ding-libs/Config.in @@ -13,4 +13,4 @@ config BR2_PACKAGE_DING_LIBS initialization format (INI) into a library collection data structure (libini_config). - https://pagure.io/SSSD/ding-libs + https://github.com/SSSD/ding-libs diff --git a/package/ding-libs/ding-libs.hash b/package/ding-libs/ding-libs.hash index 2ac5bd8eee..d5d87faccd 100644 --- a/package/ding-libs/ding-libs.hash +++ b/package/ding-libs/ding-libs.hash @@ -1,4 +1,6 @@ +# From https://github.com/SSSD/ding-libs/releases/download/0.6.2/ding-libs-0.6.2.tar.gz.sha256sum +sha256 e5f07f34f5921bcb5ccccfe3751c28497879a6451cd7b395e99e24d9b5728e8d ding-libs-0.6.2.tar.gz + # Locally computed -sha256 ad3c573641701f67d4b6bd8a5a71f0b65d45fd39fe961495ef5f5d3c57fc0963 ding-libs-ding_libs-0_6_1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 6c57f43c939054fd4b831f271a14c97a488c38f98cdda5e887c5d396e3b3bc58 COPYING.LESSER diff --git a/package/ding-libs/ding-libs.mk b/package/ding-libs/ding-libs.mk index 1e8fa59d69..a4ee7351b5 100644 --- a/package/ding-libs/ding-libs.mk +++ b/package/ding-libs/ding-libs.mk @@ -4,10 +4,9 @@ # ################################################################################ -DING_LIBS_VERSION = 0.6.1 -DING_LIBS_SOURCE = ding-libs-ding_libs-$(subst .,_,$(DING_LIBS_VERSION)).tar.gz +DING_LIBS_VERSION = 0.6.2 DING_LIBS_SITE = \ - https://pagure.io/SSSD/ding-libs/archive/ding_libs-$(subst .,_,$(DING_LIBS_VERSION)) + https://github.com/SSSD/ding-libs/releases/download/$(DING_LIBS_VERSION) DING_LIBS_DEPENDENCIES = host-pkgconf \ $(TARGET_NLS_DEPENDENCIES) \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) From arnout at mind.be Wed Apr 27 17:16:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 19:16:48 +0200 Subject: [Buildroot] [git commit] package/openjdk: enable for host architecture aarch64 Message-ID: <20220427170806.D69F6845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=78fd43c5924e4c24804027e4bb6722e97fd5d942 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Christian Ambach Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openjdk/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in index 8b7fd4653e..8fbe51a27f 100644 --- a/package/openjdk/Config.in +++ b/package/openjdk/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS bool default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "aarch64" # Taken from make/autoconf/platform.m4 config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS From arnout at mind.be Wed Apr 27 16:55:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:55:11 +0200 Subject: [Buildroot] [git commit] package/{python-}protobuf: bump to version 3.20.1 Message-ID: <20220427170806.B8642845FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9aa90c5bbca7663a2df6155d153468f4641a670d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Michael Nosthoff Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/protobuf/protobuf.hash | 2 +- package/protobuf/protobuf.mk | 2 +- package/python-protobuf/python-protobuf.hash | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash index 60e64f54d4..f37b2dee40 100644 --- a/package/protobuf/protobuf.hash +++ b/package/protobuf/protobuf.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz +sha256 dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9 protobuf-cpp-3.20.1.tar.gz diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk index 80764f0216..c4c33ba7da 100644 --- a/package/protobuf/protobuf.mk +++ b/package/protobuf/protobuf.mk @@ -7,7 +7,7 @@ # When bumping this package, make sure to also verify if the # python-protobuf package still works and to update its hash, # as they share the same version/site variables. -PROTOBUF_VERSION = 3.19.1 +PROTOBUF_VERSION = 3.20.1 PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) PROTOBUF_LICENSE = BSD-3-Clause diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash index 2bfef96676..ddfa48b491 100644 --- a/package/python-protobuf/python-protobuf.hash +++ b/package/python-protobuf/python-protobuf.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz +sha256 d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8 protobuf-python-3.20.1.tar.gz sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE From arnout at mind.be Wed Apr 27 16:55:11 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:55:11 +0200 Subject: [Buildroot] [git commit] package/re2: bump to version 2022-04-01 Message-ID: <20220427170806.AF2BA845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5abc9224262c021301c4e720bf7ef37f34810d44 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Michael Nosthoff Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/re2/re2.hash | 2 +- package/re2/re2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/re2/re2.hash b/package/re2/re2.hash index 7cfece5d5e..28f407cc32 100644 --- a/package/re2/re2.hash +++ b/package/re2/re2.hash @@ -1,3 +1,3 @@ # locally calculated -sha256 9c1e6acfd0fed71f40b025a7a1dabaf3ee2ebb74d64ced1f9ee1b0b01d22fd27 re2-2022-02-01.tar.gz +sha256 1ae8ccfdb1066a731bba6ee0881baad5efd2cd661acd9569b689f2586e1a50e9 re2-2022-04-01.tar.gz sha256 6040cda75d90b1738292a631d89934c411ef7ffd543c4d6a1b7edfc8edf29449 LICENSE diff --git a/package/re2/re2.mk b/package/re2/re2.mk index 30791a68e5..b6d29c3caf 100644 --- a/package/re2/re2.mk +++ b/package/re2/re2.mk @@ -4,7 +4,7 @@ # ################################################################################ -RE2_VERSION = 2022-02-01 +RE2_VERSION = 2022-04-01 RE2_SITE = $(call github,google,re2,$(RE2_VERSION)) RE2_LICENSE = BSD-3-Clause RE2_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 16:23:53 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:53 +0200 Subject: [Buildroot] [git commit] package/python3: bump to version 3.10.4 Message-ID: <20220427170806.9D0B8845FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9cf8f4e13424a79ab2af2945e565e1cfb0dd4bf3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop override system locale patch which is now upstream. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...011-Add-importlib-fix-for-PEP-3147-issue.patch} | 0 ...stem-locale-and-set-to-default-when-addin.patch | 39 ---------------------- ...h => 0012-Add-an-option-to-disable-pydoc.patch} | 0 ...=> 0013-Add-an-option-to-disable-lib2to3.patch} | 0 ...Add-option-to-disable-the-sqlite3-module.patch} | 0 ...5-Add-an-option-to-disable-the-tk-module.patch} | 0 ...d-an-option-to-disable-the-curses-module.patch} | 0 ...h => 0017-Add-an-option-to-disable-expat.patch} | 0 ...0018-Add-an-option-to-disable-CJK-codecs.patch} | 0 ...tch => 0019-Add-an-option-to-disable-NIS.patch} | 0 ...020-Add-an-option-to-disable-unicodedata.patch} | 0 ...ch => 0021-Add-an-option-to-disable-IDLE.patch} | 0 ...=> 0022-Add-an-option-to-disable-decimal.patch} | 0 ...option-to-disable-the-ossaudiodev-module.patch} | 0 ...Add-an-option-to-disable-openssl-support.patch} | 0 ...an-option-to-disable-the-readline-module.patch} | 0 ...ons-to-disable-zlib-bzip2-and-xz-modules.patch} | 0 ...7-python-config.sh-don-t-reassign-prefix.patch} | 0 ...0028-Fix-cross-compiling-the-uuid-module.patch} | 0 ...029-Add-an-option-to-disable-uuid-module.patch} | 0 ...0030-fix-building-on-older-distributions.patch} | 0 ...-fixup-CC-print-multiarch-output-for-mus.patch} | 0 ...-option-to-disable-the-berkeleydb-module.patch} | 0 ...libc-ng-doesn-t-set-errno-when-encryptio.patch} | 0 package/python3/python3.hash | 6 ++-- package/python3/python3.mk | 2 +- 26 files changed, 4 insertions(+), 43 deletions(-) diff --git a/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch similarity index 100% rename from package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch rename to package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch diff --git a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch deleted file mode 100644 index 4d021d86a4..0000000000 --- a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch +++ /dev/null @@ -1,39 +0,0 @@ -From e4ae670e3489544a49dabd1618c32fe73504a7ba Mon Sep 17 00:00:00 2001 -From: Samuel Cabrero -Date: Wed, 23 Dec 2015 11:45:48 +0100 -Subject: [PATCH] Override system locale and set to default when adding gcc - paths - -Forces the use of the default locale in the function -add_gcc_paths, which is called when cross compiling to add the -include and library paths. This is necessary because otherwise -the gcc output is localized and the output parsing fails, which -results in no paths added and detect_modules not able to find -any system library (eg. libz, libssl, etc.) - -[Thomas: patch taken from https://bugs.python.org/issue23767.] - -Signed-off-by: Samuel Cabrero -Signed-off-by: Thomas Petazzoni -[james.hilliard1 at gmail.com: adapt to python 3.9] -Signed-off-by: James Hilliard ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index d3f0e663f2..926c16f58f 100644 ---- a/setup.py -+++ b/setup.py -@@ -761,7 +761,7 @@ class PyBuildExt(build_ext): - tmpfile = os.path.join(self.build_temp, 'ccpaths') - if not os.path.exists(self.build_temp): - os.makedirs(self.build_temp) -- ret = run_command('%s -E -v - %s 1>/dev/null' % (CC, tmpfile)) -+ ret = run_command('LC_ALL=C %s -E -v - %s 1>/dev/null' % (CC, tmpfile)) - is_gcc = False - is_clang = False - in_incdirs = False --- -2.25.1 - diff --git a/package/python3/0013-Add-an-option-to-disable-pydoc.patch b/package/python3/0012-Add-an-option-to-disable-pydoc.patch similarity index 100% rename from package/python3/0013-Add-an-option-to-disable-pydoc.patch rename to package/python3/0012-Add-an-option-to-disable-pydoc.patch diff --git a/package/python3/0014-Add-an-option-to-disable-lib2to3.patch b/package/python3/0013-Add-an-option-to-disable-lib2to3.patch similarity index 100% rename from package/python3/0014-Add-an-option-to-disable-lib2to3.patch rename to package/python3/0013-Add-an-option-to-disable-lib2to3.patch diff --git a/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch b/package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch similarity index 100% rename from package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch rename to package/python3/0014-Add-option-to-disable-the-sqlite3-module.patch diff --git a/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch b/package/python3/0015-Add-an-option-to-disable-the-tk-module.patch similarity index 100% rename from package/python3/0016-Add-an-option-to-disable-the-tk-module.patch rename to package/python3/0015-Add-an-option-to-disable-the-tk-module.patch diff --git a/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch b/package/python3/0016-Add-an-option-to-disable-the-curses-module.patch similarity index 100% rename from package/python3/0017-Add-an-option-to-disable-the-curses-module.patch rename to package/python3/0016-Add-an-option-to-disable-the-curses-module.patch diff --git a/package/python3/0018-Add-an-option-to-disable-expat.patch b/package/python3/0017-Add-an-option-to-disable-expat.patch similarity index 100% rename from package/python3/0018-Add-an-option-to-disable-expat.patch rename to package/python3/0017-Add-an-option-to-disable-expat.patch diff --git a/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch b/package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch similarity index 100% rename from package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch rename to package/python3/0018-Add-an-option-to-disable-CJK-codecs.patch diff --git a/package/python3/0020-Add-an-option-to-disable-NIS.patch b/package/python3/0019-Add-an-option-to-disable-NIS.patch similarity index 100% rename from package/python3/0020-Add-an-option-to-disable-NIS.patch rename to package/python3/0019-Add-an-option-to-disable-NIS.patch diff --git a/package/python3/0021-Add-an-option-to-disable-unicodedata.patch b/package/python3/0020-Add-an-option-to-disable-unicodedata.patch similarity index 100% rename from package/python3/0021-Add-an-option-to-disable-unicodedata.patch rename to package/python3/0020-Add-an-option-to-disable-unicodedata.patch diff --git a/package/python3/0022-Add-an-option-to-disable-IDLE.patch b/package/python3/0021-Add-an-option-to-disable-IDLE.patch similarity index 100% rename from package/python3/0022-Add-an-option-to-disable-IDLE.patch rename to package/python3/0021-Add-an-option-to-disable-IDLE.patch diff --git a/package/python3/0023-Add-an-option-to-disable-decimal.patch b/package/python3/0022-Add-an-option-to-disable-decimal.patch similarity index 100% rename from package/python3/0023-Add-an-option-to-disable-decimal.patch rename to package/python3/0022-Add-an-option-to-disable-decimal.patch diff --git a/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch b/package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch similarity index 100% rename from package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch rename to package/python3/0023-Add-an-option-to-disable-the-ossaudiodev-module.patch diff --git a/package/python3/0025-Add-an-option-to-disable-openssl-support.patch b/package/python3/0024-Add-an-option-to-disable-openssl-support.patch similarity index 100% rename from package/python3/0025-Add-an-option-to-disable-openssl-support.patch rename to package/python3/0024-Add-an-option-to-disable-openssl-support.patch diff --git a/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch b/package/python3/0025-Add-an-option-to-disable-the-readline-module.patch similarity index 100% rename from package/python3/0026-Add-an-option-to-disable-the-readline-module.patch rename to package/python3/0025-Add-an-option-to-disable-the-readline-module.patch diff --git a/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch similarity index 100% rename from package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch rename to package/python3/0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch diff --git a/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch b/package/python3/0027-python-config.sh-don-t-reassign-prefix.patch similarity index 100% rename from package/python3/0028-python-config.sh-don-t-reassign-prefix.patch rename to package/python3/0027-python-config.sh-don-t-reassign-prefix.patch diff --git a/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch b/package/python3/0028-Fix-cross-compiling-the-uuid-module.patch similarity index 100% rename from package/python3/0029-Fix-cross-compiling-the-uuid-module.patch rename to package/python3/0028-Fix-cross-compiling-the-uuid-module.patch diff --git a/package/python3/0030-Add-an-option-to-disable-uuid-module.patch b/package/python3/0029-Add-an-option-to-disable-uuid-module.patch similarity index 100% rename from package/python3/0030-Add-an-option-to-disable-uuid-module.patch rename to package/python3/0029-Add-an-option-to-disable-uuid-module.patch diff --git a/package/python3/0031-fix-building-on-older-distributions.patch b/package/python3/0030-fix-building-on-older-distributions.patch similarity index 100% rename from package/python3/0031-fix-building-on-older-distributions.patch rename to package/python3/0030-fix-building-on-older-distributions.patch diff --git a/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch b/package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch similarity index 100% rename from package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch rename to package/python3/0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch diff --git a/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch b/package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch similarity index 100% rename from package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch rename to package/python3/0032-Add-an-option-to-disable-the-berkeleydb-module.patch diff --git a/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch b/package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch similarity index 100% rename from package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch rename to package/python3/0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 97f4653490..5ae0add789 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3102/ -md5 14e8c22458ed7779a1957b26cde01db9 Python-3.10.2.tar.xz +# From https://www.python.org/downloads/release/python-3104/ +md5 21f2e113e087083a1e8cf10553d93599 Python-3.10.4.tar.xz # Locally computed -sha256 17de3ac7da9f2519aa9d64378c603a73a0e9ad58dffa8812e45160c086de64c7 Python-3.10.2.tar.xz +sha256 80bf925f571da436b35210886cf79f6eb5fa5d6c571316b73568343451f77a19 Python-3.10.4.tar.xz sha256 f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 3a334fb28d..cffb34e264 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.10 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).4 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others From arnout at mind.be Wed Apr 27 17:16:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 19:16:48 +0200 Subject: [Buildroot] [git commit] package/libmdbx: bump version to 0.11.7 Message-ID: <20220427170806.E0395845FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=608d754cebb126745153c0a3d836355e43dc1c54 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is stable bugfix release of libmdbx. So it is reasonable to backport this patch to all applicable releases/branches of buildroot. The project as well as all its forks were removed from Github (see e.g. https://blog.desdelinux.net/en/libmdbx-0-11-7-arrives-with-project-migration-to-gitflic-bug-fixes-and-more/), therefore it moved to gitflic.ru. There is also a website with the documentation and the downloads. Release notes for v0.11.7 https://gitflic.ru/project/erthink/libmdbx/release/90ec9985-cd60-4d9a-8c98-8417506fd26d The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md Signed-off-by: ???????????? ?????????? (Leonid Yuriev) Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libmdbx/Config.in | 2 +- package/libmdbx/libmdbx.hash | 4 ++-- package/libmdbx/libmdbx.mk | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/libmdbx/Config.in b/package/libmdbx/Config.in index d13f73938f..4849d60b92 100644 --- a/package/libmdbx/Config.in +++ b/package/libmdbx/Config.in @@ -13,7 +13,7 @@ config BR2_PACKAGE_LIBMDBX libmdbx surpasses the legendary LMDB in terms of reliability, features and performance. - https://github.com/erthink/libmdbx + https://libmdbx.website.yandexcloud.net/ if BR2_PACKAGE_LIBMDBX diff --git a/package/libmdbx/libmdbx.hash b/package/libmdbx/libmdbx.hash index 2483d14dd1..7d663b3da0 100644 --- a/package/libmdbx/libmdbx.hash +++ b/package/libmdbx/libmdbx.hash @@ -1,5 +1,5 @@ -# Hashes from: https://github.com/erthink/libmdbx/releases/ -sha256 884de528f5c2abab2187b7c4c84b769d2551e1a748cbfdf0ae4c0f5c9f8dbd27 libmdbx-amalgamated-0.11.4.tar.gz +# Hashes from: https://libmdbx.website.yandexcloud.net/release/SHA256SUMS +sha256 3a9fb6a4cd941e646597235518714373fda1ca6d4c5e23669afe70ea87c20940 libmdbx-amalgamated-0.11.7.tar.xz # Locally calculated sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/package/libmdbx/libmdbx.mk b/package/libmdbx/libmdbx.mk index 1aff8fbb4d..a7056b2850 100644 --- a/package/libmdbx/libmdbx.mk +++ b/package/libmdbx/libmdbx.mk @@ -4,9 +4,9 @@ # ################################################################################ -LIBMDBX_VERSION = 0.11.4 -LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.gz -LIBMDBX_SITE = https://github.com/erthink/libmdbx/releases/download/v$(LIBMDBX_VERSION) +LIBMDBX_VERSION = 0.11.7 +LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz +LIBMDBX_SITE = https://libmdbx.website.yandexcloud.net/release LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO LIBMDBX_LICENSE = OLDAP-2.8 LIBMDBX_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 16:23:51 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 18:23:51 +0200 Subject: [Buildroot] [git commit] package/libeXosip2: fix build with libressl Message-ID: <20220427170806.91A0A845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=034928ec5c541b7584424d230deefe699f421ce8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl >= 3.4.1 raised since commit 25ef2c26dabaf1553f1724214a4fa5e3ce48dfc8: In file included from eXtl_dtls.c:82: /home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); | ^~~~~~~~~~~~~ eXtl_dtls.c: In function 'SSL_set0_rbio': eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 108 | BIO_free_all(s->rbio); | ^~ Fixes: - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch new file mode 100644 index 0000000000..0b4be43b6c --- /dev/null +++ b/package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch @@ -0,0 +1,43 @@ +From 4201c0ff3fd75e09025d515c427f85f9fec89621 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Apr 2022 22:27:35 +0200 +Subject: [PATCH] src/eXtl_dtls.c: fix build with libressl >= 3.4.1 + +Fix the following build failure with libressl >= 3.4.1 which provides +SSL_set0_rbio() since +https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc: + +In file included from eXtl_dtls.c:82: +/home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here + 1272 | void SSL_set0_rbio(SSL *s, BIO *rbio); + | ^~~~~~~~~~~~~ +eXtl_dtls.c: In function 'SSL_set0_rbio': +eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} + 108 | BIO_free_all(s->rbio); + | ^~ + +Fixes: + - http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2 + +Signed-off-by: Fabrice Fontaine +[Upstream status: sent to amoizard at antisip.com] +--- + src/eXtl_dtls.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/eXtl_dtls.c b/src/eXtl_dtls.c +index 07c0dc2..d0bd7dc 100644 +--- a/src/eXtl_dtls.c ++++ b/src/eXtl_dtls.c +@@ -102,7 +102,7 @@ + #define RANDOM "random.pem" + #define DHFILE "dh1024.pem" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3040100L) + + static void SSL_set0_rbio(SSL *s, BIO *rbio) { + BIO_free_all(s->rbio); +-- +2.35.1 + From arnout at mind.be Wed Apr 27 17:16:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 19:16:47 +0200 Subject: [Buildroot] [git commit] package/grpc: bump to version 1.45.2 Message-ID: <20220427170806.C2624845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4755c706699dfbdc4f01c6b7b17731c0dcc2d950 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master grpc now requires gcc >= 5.1 see https://groups.google.com/g/grpc-io/c/Plvp29818BE Signed-off-by: Michael Nosthoff Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/grpc/Config.in | 6 +++--- package/grpc/grpc.hash | 2 +- package/grpc/grpc.mk | 10 +--------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/package/grpc/Config.in b/package/grpc/Config.in index ad3ddbcf19..db6425819b 100644 --- a/package/grpc/Config.in +++ b/package/grpc/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_GRPC depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS @@ -19,9 +19,9 @@ config BR2_PACKAGE_GRPC http://github.com/grpc/grpc -comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9" +comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 5" depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS diff --git a/package/grpc/grpc.hash b/package/grpc/grpc.hash index 6db2acd759..9e3a225a51 100644 --- a/package/grpc/grpc.hash +++ b/package/grpc/grpc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8c05641b9f91cbc92f51cc4a5b3a226788d7a63f20af4ca7aaca50d92cc94a0d grpc-1.44.0.tar.gz +sha256 e18b16f7976aab9a36c14c38180f042bb0fd196b75c9fd6a20a2b5f934876ad6 grpc-1.45.2.tar.gz sha256 277adcc1dcef8359b1efb48e628635f88b40be8fbd64e82fd0169930d135d7a5 LICENSE diff --git a/package/grpc/grpc.mk b/package/grpc/grpc.mk index 9138b4ea59..2f037b5d59 100644 --- a/package/grpc/grpc.mk +++ b/package/grpc/grpc.mk @@ -4,7 +4,7 @@ # ################################################################################ -GRPC_VERSION = 1.44.0 +GRPC_VERSION = 1.45.2 GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) GRPC_LICENSE = Apache-2.0, BSD-3-Clause (third_party code), MPL-2.0 (etc/roots.pem) GRPC_LICENSE_FILES = LICENSE @@ -63,14 +63,6 @@ GRPC_CFLAGS += -O0 GRPC_CXXFLAGS += -O0 endif -# Toolchains older than gcc5 will fail to compile with -0s due to: -# error: failure memory model cannot be stronger than success memory model for -# '__atomic_compare_exchange', so we use -O2 in these cases -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5):$(BR2_OPTIMIZE_S),:y) -GRPC_CFLAGS += -O2 -GRPC_CXXFLAGS += -O2 -endif - GRPC_CONF_OPTS += \ -DCMAKE_C_FLAGS="$(GRPC_CFLAGS)" \ -DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)" From arnout at mind.be Wed Apr 27 17:16:47 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 19:16:47 +0200 Subject: [Buildroot] [git commit] package/openjdk-bin: add support for host architecture aarch64 Message-ID: <20220427170806.CC14B845FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e10fefaeab89a3183f4fd7a8bc6c64e6ab6b5d49 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Christian Ambach Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openjdk-bin/openjdk-bin.hash | 2 ++ package/openjdk-bin/openjdk-bin.mk | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index 62691ed6f0..4d3942125f 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,8 +1,10 @@ # https://github.com/adoptium/temurin17-binaries/releases sha256 288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48 OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz +sha256 302caf29f73481b2b914ba2b89705036010c65eb9bc8d7712b27d6e9bedf6200 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.2_8.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 43fb84f8063ad9bf6b6d694a67b8f64c8827552b920ec5ce794dfe5602edffe7 OpenJDK11U-jdk_x64_linux_hotspot_11.0.14.1_1.tar.gz +sha256 79572f5172c6a040591d34632f98a20ed148702bbce2f57649e8ac01c0d2e3db OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.14.1_1.tar.gz # Locally calculated sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 3d1ebd7429..5cb6e3ba6a 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -11,8 +11,16 @@ else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.14.1_1 endif + +ifeq ($(HOSTARCH),x86_64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = x64 +endif +ifeq ($(HOSTARCH),aarch64) +HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME = aarch64 +endif + HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception From arnout at mind.be Wed Apr 27 18:52:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:52:00 +0200 Subject: [Buildroot] [PATCH] package/udev: move render and sgx out of UDEV_USERS In-Reply-To: <20220425111148.87319-1-tianyuanhao3@163.com> References: <20220425111148.87319-1-tianyuanhao3@163.com> Message-ID: <3e31564d-cef4-507b-1b5f-5c4424a5c019@mind.be> On 25/04/2022 13:11, TIAN Yuanhao wrote: > Moved group render and group sgx into UDEV_USERS_SYSTEMD as they > currently only appear in systemd's udev rules. > > In systemd, group render was introduced since commit 4e15a73, and group > sgx was introduced since commit c9c4899. > > In eudev, group render was introduced since commit bb070c1, but was > removed since commit a8ffcd1 [1]. > > [1]: https://github.com/eudev-project/eudev/issues/160 > > Signed-off-by: TIAN Yuanhao > Cc: Yann E. MORIN > --- > package/systemd/systemd.mk | 2 -- > package/udev/udev.mk | 7 +++++-- > 2 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index 58a1376b51..1f2bc108bf 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -602,8 +602,6 @@ define SYSTEMD_PERMISSIONS > endef > > define SYSTEMD_USERS > - # udev user groups > - # systemd user groups > - - systemd-journal -1 * - - - Journal > $(SYSTEMD_REMOTE_USER) > $(SYSTEMD_COREDUMP_USER) > diff --git a/package/udev/udev.mk b/package/udev/udev.mk > index ce93d98431..40d12ad469 100644 > --- a/package/udev/udev.mk > +++ b/package/udev/udev.mk > @@ -4,11 +4,14 @@ > # > ################################################################################ > > -# Required by default rules for input devices > define UDEV_USERS > - - input -1 * - - - Input device group > - - - render -1 * - - - DRI rendering nodes > - - kvm -1 * - - - kvm nodes > + $(UDEV_USERS_$(call UPPERCASE,$(call qstrip,$(BR2_PACKAGE_PROVIDES_UDEV)))) There is really no reason to do it this way. You can simply put it in SYSTEMD_USERS (under the 'udev groups' comment). If we need additional groups for eudev, we can put them in EUDEV_USERS. Regards, Arnout > +endef > + > +define UDEV_USERS_SYSTEMD > + - - render -1 * - - - DRI rendering nodes > - - sgx -1 * - - - SGX device nodes > endef > From arnout at mind.be Wed Apr 27 18:52:52 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:52:52 +0200 Subject: [Buildroot] [PATCH] package/python-esptool: bump version to 3.3 In-Reply-To: <20220425190455.543451-1-b.bilas@grinn-global.com> References: <20220425190455.543451-1-b.bilas@grinn-global.com> Message-ID: <0c74e8da-aa22-257d-9b75-cfa69abd9637@mind.be> On 25/04/2022 21:04, Bartosz Bilas wrote: > Signed-off-by: Bartosz Bilas Applied to master, thanks. > --- > package/python-esptool/python-esptool.hash | 4 ++-- > package/python-esptool/python-esptool.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/python-esptool/python-esptool.hash b/package/python-esptool/python-esptool.hash > index a916f9a09a..3ca5b211ee 100644 > --- a/package/python-esptool/python-esptool.hash > +++ b/package/python-esptool/python-esptool.hash > @@ -1,5 +1,5 @@ > # md5, sha256 from https://pypi.org/pypi/esptool/json > -md5 84aa6ffb4723b1f59a2c83244a9ad918 esptool-3.2.tar.gz > -sha256 9638ff11c68e621e08e7c3335d4fd9d70b2ddcf7caae778073cd8cc27be1216f esptool-3.2.tar.gz > +md5 ac499eaa99df9b536a98a6f99644f8f6 esptool-3.3.tar.gz > +sha256 39b92e1848e352183188f149f3e876cde4b8a1c095551e7e545a28e5c11eea13 esptool-3.3.tar.gz I also updated the hash file to use two spaces instead of tabs (check-package). Regards, Arnout > # Locally computed sha256 checksums > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE > diff --git a/package/python-esptool/python-esptool.mk b/package/python-esptool/python-esptool.mk > index 77291e252b..28b5075e72 100644 > --- a/package/python-esptool/python-esptool.mk > +++ b/package/python-esptool/python-esptool.mk > @@ -4,9 +4,9 @@ > # > ################################################################################ > > -PYTHON_ESPTOOL_VERSION = 3.2 > +PYTHON_ESPTOOL_VERSION = 3.3 > PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz > -PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/60/a4/33907f5b735f9179061bd6b6cae7123d4a2d0cdf46c879fa55e66edef24f > +PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/63/85/1a7f65d3f89c112c721c6ec013ecd948112df17640e453ddeb1921b05aab > PYTHON_ESPTOOL_SETUP_TYPE = setuptools > PYTHON_ESPTOOL_LICENSE = GPL-2.0+ > PYTHON_ESPTOOL_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 18:53:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:53:07 +0200 Subject: [Buildroot] [PATCH] boot/barebox: bump version to 2022.04.0 In-Reply-To: <20220425190506.543507-1-b.bilas@grinn-global.com> References: <20220425190506.543507-1-b.bilas@grinn-global.com> Message-ID: On 25/04/2022 21:05, Bartosz Bilas wrote: > Signed-off-by: Bartosz Bilas Applied to master, thanks. Regards, Arnout > --- > boot/barebox/Config.in | 4 ++-- > boot/barebox/barebox.hash | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in > index c16fea3cea..726f0f980b 100644 > --- a/boot/barebox/Config.in > +++ b/boot/barebox/Config.in > @@ -12,7 +12,7 @@ choice > Select the specific Barebox version you want to use > > config BR2_TARGET_BAREBOX_LATEST_VERSION > - bool "2022.01.0" > + bool "2022.04.0" > > config BR2_TARGET_BAREBOX_CUSTOM_VERSION > bool "Custom version" > @@ -40,7 +40,7 @@ endif > > config BR2_TARGET_BAREBOX_VERSION > string > - default "2022.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION > + default "2022.04.0" if BR2_TARGET_BAREBOX_LATEST_VERSION > default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION > default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL > default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT > diff --git a/boot/barebox/barebox.hash b/boot/barebox/barebox.hash > index 3d52d40beb..3a92f7fd82 100644 > --- a/boot/barebox/barebox.hash > +++ b/boot/barebox/barebox.hash > @@ -1,8 +1,8 @@ > # From https://www.barebox.org/download/barebox-2021.12.0.tar.bz2.md5 > -md5 753ba533ced54f4113f9e97846c13fc1 barebox-2022.01.0.tar.bz2 > +md5 e4970687cf7943eadf71b1ae6d344ff7 barebox-2022.04.0.tar.bz2 > > # Locally calculated > -sha256 ddf7898075bec05e4865ce0f7a2ac19c2b1efaaa0d066eba1939494e25711d28 barebox-2022.01.0.tar.bz2 > +sha256 f751b506deb0a5d82682a85cf65e329dd562e48ea057533dc5c8876120a09ebc barebox-2022.04.0.tar.bz2 > > # License files, locally computed > sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING From arnout at mind.be Wed Apr 27 18:53:25 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:53:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-inputstream-adaptive: bump version to 19.0.4-Matrix In-Reply-To: <20220425202205.17362-1-bernd.kuhls@t-online.de> References: <20220425202205.17362-1-bernd.kuhls@t-online.de> Message-ID: <7e3589fc-7061-a68d-57b4-67beb3587258@mind.be> On 25/04/2022 22:22, Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > .../kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash | 2 +- > package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash > index 74aefe2138..36294274f2 100644 > --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash > +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 1549422ac1386929dfc1a479898d6311440d1f8bfd1bc94e1fe5da9cc2db805c kodi-inputstream-adaptive-19.0.3-Matrix.tar.gz > +sha256 eef7660e9306854282ccc8b994ffc38b2fe1e62e155d883cfa346bddc84b595b kodi-inputstream-adaptive-19.0.4-Matrix.tar.gz > sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL > diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk > index 83ac897037..ed85d21684 100644 > --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk > +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.3-Matrix > +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.4-Matrix > KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) > KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPL-2.0+ > KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = LICENSE.GPL From arnout at mind.be Wed Apr 27 18:53:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:53:43 +0200 Subject: [Buildroot] [PATCH 1/1] Revert "package/pure-ftpd: doesn't build with libressl" In-Reply-To: <20220425212338.1105933-1-fontaine.fabrice@gmail.com> References: <20220425212338.1105933-1-fontaine.fabrice@gmail.com> Message-ID: <061f790e-aff8-8883-44cc-1a9a548b367a@mind.be> On 25/04/2022 23:23, Fabrice Fontaine wrote: > This reverts commit e87e6fd085b8a4965b9dc84635fd36e380da4dde as > pure-ftpd can be built with libressl since bump to version 3.5.2 in > commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2 and > https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8. > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/pure-ftpd/pure-ftpd.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk > index 0354949e28..f3cbef84b9 100644 > --- a/package/pure-ftpd/pure-ftpd.mk > +++ b/package/pure-ftpd/pure-ftpd.mk > @@ -45,7 +45,7 @@ else > PURE_FTPD_CONF_OPTS += --without-ldap > endif > > -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) > +ifeq ($(BR2_PACKAGE_OPENSSL),y) > PURE_FTPD_CONF_OPTS += --with-tls > PURE_FTPD_DEPENDENCIES += host-pkgconf openssl > PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` From arnout at mind.be Wed Apr 27 18:54:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:54:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/wtfutil: add CPE variables In-Reply-To: <20220425220602.1077854-1-fontaine.fabrice@gmail.com> References: <20220425220602.1077854-1-fontaine.fabrice@gmail.com> Message-ID: <6c086cc6-93d6-0c45-83cb-98283fe9976f@mind.be> On 26/04/2022 00:06, Fabrice Fontaine wrote: > cpe:2.3:a:wtfutil:wtf is a valid CPE identifier for this package: > > https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Awtfutil%3Awtf > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/wtfutil/wtfutil.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk > index 6e841411a9..54fea09574 100644 > --- a/package/wtfutil/wtfutil.mk > +++ b/package/wtfutil/wtfutil.mk > @@ -8,5 +8,7 @@ WTFUTIL_VERSION = 0.41.0 > WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) > WTFUTIL_LICENSE = MPL-2.0 > WTFUTIL_LICENSE_FILES = LICENSE.md > +WTFUTIL_CPE_ID_VENDOR = wtfutil > +WTFUTIL_CPE_ID_PRODUCT = wtf > > $(eval $(golang-package)) From arnout at mind.be Wed Apr 27 18:54:56 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:54:56 +0200 Subject: [Buildroot] [PATCH] package/ethtool: bump to version 5.17 In-Reply-To: <20220426113724.3544523-1-francois.perrad@gadz.org> References: <20220426113724.3544523-1-francois.perrad@gadz.org> Message-ID: <60587a76-4edd-574f-29cc-262b328244d0@mind.be> On 26/04/2022 13:37, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks, as well as the 7 other version bumps. Regards, Arnout > --- > package/ethtool/ethtool.hash | 2 +- > package/ethtool/ethtool.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash > index 59c657e86..f317a1fb1 100644 > --- a/package/ethtool/ethtool.hash > +++ b/package/ethtool/ethtool.hash > @@ -1,5 +1,5 @@ > # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc > -sha256 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d ethtool-5.15.tar.xz > +sha256 64ab914b9c6b45047245d91f40b8760b2728992a9e5af22717c644238e889133 ethtool-5.17.tar.xz > # Locally calculated > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE > diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk > index c4bb9bdd9..10f0c802a 100644 > --- a/package/ethtool/ethtool.mk > +++ b/package/ethtool/ethtool.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -ETHTOOL_VERSION = 5.15 > +ETHTOOL_VERSION = 5.17 > ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz > ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool > ETHTOOL_LICENSE = GPL-2.0 From arnout at mind.be Wed Apr 27 18:55:16 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:55:16 +0200 Subject: [Buildroot] [PATCH 1/2] package/libpri: fix static build In-Reply-To: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> References: <20220426171600.2552919-1-fontaine.fabrice@gmail.com> Message-ID: On 26/04/2022 19:15, Fabrice Fontaine wrote: > pritest, rosetest and testprilib needs a static library and pridump > needs a dynamic library resulting in the following static build failure > since the addition of the package in commit > a77f356b78f9134227f9702a1eb09c3203c42d88: > > /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -fPIC -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c > /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -static -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o > /home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/aarch64_be-buildroot-linux-uclibc/10.3.0/../../../../aarch64_be-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-15/output-1/host/aarch64_be-buildroot-linux-uclibc/sysroot/lib/../lib64/libc.a(__uClibc_main.os): in function `__uClibc_fini': > __uClibc_main.c:(.text+0xd0): undefined reference to `__fini_array_start' > > Fixes: > - http://autobuild.buildroot.org/results/1217922af3a72646ae242c2c4dec22ead7883b91 > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > package/libpri/libpri.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk > index e1fa2abcf5..34d84393c4 100644 > --- a/package/libpri/libpri.mk > +++ b/package/libpri/libpri.mk > @@ -17,6 +17,7 @@ LIBPRI_INSTALL_STAGING = YES > # So we need to explicitly build only what we can. > ifneq ($(BR2_SHARED_LIBS),y) > LIBPRI_LIBS = libpri.a > +LIBPRI_UTILS += pritest rosetest testprilib > define LIBPRI_INSTALL_A > $(INSTALL) -D -m 0644 $(@D)/libpri.a $(1)/usr/lib/libpri.a > endef > @@ -24,14 +25,13 @@ endif > > ifneq ($(BR2_STATIC_LIBS),y) > LIBPRI_LIBS += libpri.so.1.4 > +LIBPRI_UTILS += pridump > define LIBPRI_INSTALL_SO > $(INSTALL) -D -m 0644 $(@D)/libpri.so.1.4 $(1)/usr/lib/libpri.so.1.4 > ln -sf libpri.so.1.4 $(1)/usr/lib/libpri.so > endef > endif > > -LIBPRI_UTILS = pridump pritest rosetest testprilib > - > define LIBPRI_BUILD_CMDS > $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ > CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \ From arnout at mind.be Wed Apr 27 18:55:36 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 20:55:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: fix static build In-Reply-To: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> References: <20220426172129.3189250-1-fontaine.fabrice@gmail.com> Message-ID: <644210a2-2745-6490-fb88-9ce133c86a06@mind.be> On 26/04/2022 19:21, Fabrice Fontaine wrote: > Fix the following static build failure: > > /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': > syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here > > Fixes: > - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...nel-fs-declare-int-openlog-as-static.patch | 77 +++++++++++++++++++ > 1 file changed, 77 insertions(+) > create mode 100644 package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch > > diff --git a/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch > new file mode 100644 > index 0000000000..ae10bfcfdd > --- /dev/null > +++ b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch > @@ -0,0 +1,77 @@ > +From 002ca0320cd2c5e1515bf202f470d4becdf01532 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 24 Apr 2022 21:56:36 +0200 > +Subject: [PATCH] testcases/kernel/fs: declare int openlog as static > + > +Declare int openlog as static to avoid the following build failure when > +building statically (e.g. on buildroot): > + > +/nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': > +syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here > + > +Fixes: > + - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 > + > +Signed-off-by: Fabrice Fontaine > +Reviewed-by: Cyril Hrubis > +[Retrieved from: > +https://github.com/linux-test-project/ltp/commit/002ca0320cd2c5e1515bf202f470d4becdf01532] > +--- > + testcases/kernel/fs/fs-bench/random-access-del-create.c | 2 -- > + testcases/kernel/fs/fs-bench/random-access.c | 2 +- > + testcases/kernel/fs/fs-bench/random-del-create.c | 2 +- > + testcases/kernel/fs/scsi/ltpfs/main.c | 2 +- > + 4 files changed, 3 insertions(+), 5 deletions(-) > + > +diff --git a/testcases/kernel/fs/fs-bench/random-access-del-create.c b/testcases/kernel/fs/fs-bench/random-access-del-create.c > +index 1f62a76b5e..1878fd78b5 100644 > +--- a/testcases/kernel/fs/fs-bench/random-access-del-create.c > ++++ b/testcases/kernel/fs/fs-bench/random-access-del-create.c > +@@ -11,8 +11,6 @@ > + #define FAIL 0 > + #define SUCCESS 1 > + > +-int openlog[2] = { 0, 0 }; > +- > + #define MAXNUM 0x100000 > + > + #define MAXERROR 1024 > +diff --git a/testcases/kernel/fs/fs-bench/random-access.c b/testcases/kernel/fs/fs-bench/random-access.c > +index cf41d6e81c..c2f32b86e7 100644 > +--- a/testcases/kernel/fs/fs-bench/random-access.c > ++++ b/testcases/kernel/fs/fs-bench/random-access.c > +@@ -11,7 +11,7 @@ > + #define FAIL 0 > + #define SUCCESS 1 > + > +-int openlog[2] = { 0, 0 }; > ++static int openlog[2] = { 0, 0 }; > + > + #define MAXNUM 0x100000 > + > +diff --git a/testcases/kernel/fs/fs-bench/random-del-create.c b/testcases/kernel/fs/fs-bench/random-del-create.c > +index 0a86f976f3..345031f283 100644 > +--- a/testcases/kernel/fs/fs-bench/random-del-create.c > ++++ b/testcases/kernel/fs/fs-bench/random-del-create.c > +@@ -11,7 +11,7 @@ > + #define FAIL 0 > + #define SUCCESS 1 > + > +-int openlog[2] = { 0, 0 }; > ++static int openlog[2] = { 0, 0 }; > + > + #define MAXNUM 0x100000 > + > +diff --git a/testcases/kernel/fs/scsi/ltpfs/main.c b/testcases/kernel/fs/scsi/ltpfs/main.c > +index 2c67c7a478..90a5531ac3 100644 > +--- a/testcases/kernel/fs/scsi/ltpfs/main.c > ++++ b/testcases/kernel/fs/scsi/ltpfs/main.c > +@@ -38,7 +38,7 @@ int startc = 0; > + int showchar[] = { 124, 47, 45, 92, 124, 47, 45, 92 }; > + > + int nullFileHandle; > +-int openlog[2] = { 0, 0 }; > ++static int openlog[2] = { 0, 0 }; > + > + int cFileCount, dFileCount, errorCount; > + static int disk_space_pool = 0; From arnout at mind.be Wed Apr 27 18:50:05 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:05 +0200 Subject: [Buildroot] [git commit] package/python-esptool: bump version to 3.3 Message-ID: <20220427184726.1C39B845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3cd32e0a57112ecc309092331e9836051f105ec0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bartosz Bilas Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-esptool/python-esptool.hash | 6 +++--- package/python-esptool/python-esptool.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-esptool/python-esptool.hash b/package/python-esptool/python-esptool.hash index a916f9a09a..ac8f6972d7 100644 --- a/package/python-esptool/python-esptool.hash +++ b/package/python-esptool/python-esptool.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/esptool/json -md5 84aa6ffb4723b1f59a2c83244a9ad918 esptool-3.2.tar.gz -sha256 9638ff11c68e621e08e7c3335d4fd9d70b2ddcf7caae778073cd8cc27be1216f esptool-3.2.tar.gz +md5 ac499eaa99df9b536a98a6f99644f8f6 esptool-3.3.tar.gz +sha256 39b92e1848e352183188f149f3e876cde4b8a1c095551e7e545a28e5c11eea13 esptool-3.3.tar.gz # Locally computed sha256 checksums -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/python-esptool/python-esptool.mk b/package/python-esptool/python-esptool.mk index 77291e252b..28b5075e72 100644 --- a/package/python-esptool/python-esptool.mk +++ b/package/python-esptool/python-esptool.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ESPTOOL_VERSION = 3.2 +PYTHON_ESPTOOL_VERSION = 3.3 PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz -PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/60/a4/33907f5b735f9179061bd6b6cae7123d4a2d0cdf46c879fa55e66edef24f +PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/63/85/1a7f65d3f89c112c721c6ec013ecd948112df17640e453ddeb1921b05aab PYTHON_ESPTOOL_SETUP_TYPE = setuptools PYTHON_ESPTOOL_LICENSE = GPL-2.0+ PYTHON_ESPTOOL_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 18:50:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:15 +0200 Subject: [Buildroot] [git commit] boot/barebox: bump version to 2022.04.0 Message-ID: <20220427184726.2773584601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f6ba5e31c27fb0b908fab40c979c0f47fff5fd08 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bartosz Bilas Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- boot/barebox/Config.in | 4 ++-- boot/barebox/barebox.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in index c16fea3cea..726f0f980b 100644 --- a/boot/barebox/Config.in +++ b/boot/barebox/Config.in @@ -12,7 +12,7 @@ choice Select the specific Barebox version you want to use config BR2_TARGET_BAREBOX_LATEST_VERSION - bool "2022.01.0" + bool "2022.04.0" config BR2_TARGET_BAREBOX_CUSTOM_VERSION bool "Custom version" @@ -40,7 +40,7 @@ endif config BR2_TARGET_BAREBOX_VERSION string - default "2022.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION + default "2022.04.0" if BR2_TARGET_BAREBOX_LATEST_VERSION default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT diff --git a/boot/barebox/barebox.hash b/boot/barebox/barebox.hash index 3d52d40beb..3a92f7fd82 100644 --- a/boot/barebox/barebox.hash +++ b/boot/barebox/barebox.hash @@ -1,8 +1,8 @@ # From https://www.barebox.org/download/barebox-2021.12.0.tar.bz2.md5 -md5 753ba533ced54f4113f9e97846c13fc1 barebox-2022.01.0.tar.bz2 +md5 e4970687cf7943eadf71b1ae6d344ff7 barebox-2022.04.0.tar.bz2 # Locally calculated -sha256 ddf7898075bec05e4865ce0f7a2ac19c2b1efaaa0d066eba1939494e25711d28 barebox-2022.01.0.tar.bz2 +sha256 f751b506deb0a5d82682a85cf65e329dd562e48ea057533dc5c8876120a09ebc barebox-2022.04.0.tar.bz2 # License files, locally computed sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/kodi-inputstream-adaptive: bump version to 19.0.4-Matrix Message-ID: <20220427184726.32C9784602@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=abb1286fa02bf89be32e84ccb86a441da10147ea branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash | 2 +- package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash index 74aefe2138..36294274f2 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 1549422ac1386929dfc1a479898d6311440d1f8bfd1bc94e1fe5da9cc2db805c kodi-inputstream-adaptive-19.0.3-Matrix.tar.gz +sha256 eef7660e9306854282ccc8b994ffc38b2fe1e62e155d883cfa346bddc84b595b kodi-inputstream-adaptive-19.0.4-Matrix.tar.gz sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk index 83ac897037..ed85d21684 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.3-Matrix +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.4-Matrix KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPL-2.0+ KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = LICENSE.GPL From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/wtfutil: add CPE variables Message-ID: <20220427184726.4986B84601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cfaee5c49f1ace45adb84be671a49f7a6d1e6079 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:wtfutil:wtf is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Awtfutil%3Awtf Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wtfutil/wtfutil.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk index 6e841411a9..54fea09574 100644 --- a/package/wtfutil/wtfutil.mk +++ b/package/wtfutil/wtfutil.mk @@ -8,5 +8,7 @@ WTFUTIL_VERSION = 0.41.0 WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) WTFUTIL_LICENSE = MPL-2.0 WTFUTIL_LICENSE_FILES = LICENSE.md +WTFUTIL_CPE_ID_VENDOR = wtfutil +WTFUTIL_CPE_ID_PRODUCT = wtf $(eval $(golang-package)) From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/moarvm: bump to version 2022.04 Message-ID: <20220427184726.8C0E384601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c8e842467844cd43ab641979d6e7f85686d451d3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/moarvm/moarvm.hash | 2 +- package/moarvm/moarvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/moarvm/moarvm.hash b/package/moarvm/moarvm.hash index 58e3ce8ac3..31d91457e5 100644 --- a/package/moarvm/moarvm.hash +++ b/package/moarvm/moarvm.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 4f93cdce6b8a565a32282bb38cc971cefeb71f5d022c850c338ee8145574ee96 MoarVM-2022.02.tar.gz +sha256 ae06f50ba5562721a4e5eb6457e2fea2d07eda63e2abaa8c939c9daf70774804 MoarVM-2022.04.tar.gz sha256 c53c6b96081b0a5b9b2fb4d0133d55c20e5e00e4c127ade62f03434ee7b3d2de Artistic2.txt diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk index db336bfe4a..1408f161f7 100644 --- a/package/moarvm/moarvm.mk +++ b/package/moarvm/moarvm.mk @@ -4,7 +4,7 @@ # ################################################################################ -MOARVM_VERSION = 2022.02 +MOARVM_VERSION = 2022.04 MOARVM_SITE = http://moarvm.com/releases MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz MOARVM_LICENSE = Artistic-2.0 From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] Revert "package/pure-ftpd: doesn't build with libressl" Message-ID: <20220427184726.3E8D5845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=915c1d0aa4cee24bf9f8d9c60cafd708fe4e2f19 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This reverts commit e87e6fd085b8a4965b9dc84635fd36e380da4dde as pure-ftpd can be built with libressl since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2 and https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8. Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pure-ftpd/pure-ftpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk index 0354949e28..f3cbef84b9 100644 --- a/package/pure-ftpd/pure-ftpd.mk +++ b/package/pure-ftpd/pure-ftpd.mk @@ -45,7 +45,7 @@ else PURE_FTPD_CONF_OPTS += --without-ldap endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +ifeq ($(BR2_PACKAGE_OPENSSL),y) PURE_FTPD_CONF_OPTS += --with-tls PURE_FTPD_DEPENDENCIES += host-pkgconf openssl PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/hwdata: bump to version 0.358 Message-ID: <20220427184726.696D784601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b5be270f2bb79ad0616cae8d0246b14eb60f9be1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/hwdata/hwdata.hash | 2 +- package/hwdata/hwdata.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/hwdata/hwdata.hash b/package/hwdata/hwdata.hash index 7861106859..6c5a091a06 100644 --- a/package/hwdata/hwdata.hash +++ b/package/hwdata/hwdata.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 0d3d21af57822f35141b524808fd9e4823dbb413df338606195010dc0aa1c935 hwdata-0.355.tar.gz +sha256 f0bb38588b9fcb43e15dac4ce8461b7580ef38ac20ecab83cef638413646decb hwdata-0.358.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f LICENSE diff --git a/package/hwdata/hwdata.mk b/package/hwdata/hwdata.mk index 4dd9c9e28e..b2e1838074 100644 --- a/package/hwdata/hwdata.mk +++ b/package/hwdata/hwdata.mk @@ -4,7 +4,7 @@ # ################################################################################ -HWDATA_VERSION = 0.355 +HWDATA_VERSION = 0.358 HWDATA_SITE = $(call github,vcrhonek,hwdata,v$(HWDATA_VERSION)) HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0 HWDATA_LICENSE_FILES = COPYING LICENSE From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/libgcrypt: bump to version 1.10.1 Message-ID: <20220427184726.812EA845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1e7f5587236831893f25d2147cdc939136c23c7e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master remove upstream patch Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...nfigure.ac-add-an-option-to-disable-tests.patch | 2 +- ...itterentropy-Include-fcntl-h-and-limits-h.patch | 38 ---------------------- package/libgcrypt/libgcrypt.hash | 4 +-- package/libgcrypt/libgcrypt.mk | 2 +- 4 files changed, 4 insertions(+), 42 deletions(-) diff --git a/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch b/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch index e32f938634..5ddde9df1b 100644 --- a/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch +++ b/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch @@ -44,7 +44,7 @@ diff --git a/configure.ac b/configure.ac index e8c8cd39..1a6b61e5 100644 --- a/configure.ac +++ b/configure.ac -@@ -3230,6 +3230,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], +@@ -3231,6 +3231,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno]) diff --git a/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch b/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch deleted file mode 100644 index 8f76f24c64..0000000000 --- a/package/libgcrypt/0002-jitterentropy-Include-fcntl-h-and-limits-h.patch +++ /dev/null @@ -1,38 +0,0 @@ -From ffaef0be613121d3ee37867d82932a7a30c2bc6d Mon Sep 17 00:00:00 2001 -From: Heiko Becker -Date: Thu, 3 Feb 2022 22:46:41 +0000 -Subject: [PATCH] jitterentropy: Include and - -* random/jitterentropy-base-user.h: Include for O_RDONLY -* random/jitterentropy-base-user.h: Include for LONG_MAX - --- - -Fixes the build with musl libc. - -Signed-off-by: Heiko Becker - -[Retrieved from: -https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=ffaef0be613121d3ee37867d82932a7a30c2bc6d] -Signed-off-by: Fabrice Fontaine ---- - random/jitterentropy-base-user.h | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/random/jitterentropy-base-user.h b/random/jitterentropy-base-user.h -index 326dfbed..389106ff 100644 ---- a/random/jitterentropy-base-user.h -+++ b/random/jitterentropy-base-user.h -@@ -39,6 +39,9 @@ - * DAMAGE. - */ - -+#include -+#include -+ - #ifndef GCRYPT_JITTERENTROPY_BASE_USER_H - #define GCRYPT_JITTERENTROPY_BASE_USER_H - --- -2.11.0 - diff --git a/package/libgcrypt/libgcrypt.hash b/package/libgcrypt/libgcrypt.hash index 2ea4d74c2e..96f5e6b76c 100644 --- a/package/libgcrypt/libgcrypt.hash +++ b/package/libgcrypt/libgcrypt.hash @@ -1,5 +1,5 @@ # Locally calculated after checking signature -# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.0.tar.bz2.sig +# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.1.tar.bz2.sig # using key 6DAA6E64A76D2840571B4902528897B826403ADA -sha256 6a00f5c05caa4c4acc120c46b63857da0d4ff61dc4b4b03933fa8d46013fae81 libgcrypt-1.10.0.tar.bz2 +sha256 ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de libgcrypt-1.10.1.tar.bz2 sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index c6c88f6076..f28552c6e7 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBGCRYPT_VERSION = 1.10.0 +LIBGCRYPT_VERSION = 1.10.1 LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 LIBGCRYPT_LICENSE = LGPL-2.1+ LIBGCRYPT_LICENSE_FILES = COPYING.LIB From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/libfribidi: bump to version 1.0.12 Message-ID: <20220427184726.7527984602@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0f42b67077a8f620f66c654c92518cf53efb9a92 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libfribidi/libfribidi.hash | 2 +- package/libfribidi/libfribidi.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfribidi/libfribidi.hash b/package/libfribidi/libfribidi.hash index da25b2d24d..7e5df98112 100644 --- a/package/libfribidi/libfribidi.hash +++ b/package/libfribidi/libfribidi.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d fribidi-1.0.11.tar.xz +sha256 0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495 fribidi-1.0.12.tar.xz sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/package/libfribidi/libfribidi.mk b/package/libfribidi/libfribidi.mk index adbd786db1..ec86f468a4 100644 --- a/package/libfribidi/libfribidi.mk +++ b/package/libfribidi/libfribidi.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFRIBIDI_VERSION = 1.0.11 +LIBFRIBIDI_VERSION = 1.0.12 LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.xz LIBFRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(LIBFRIBIDI_VERSION) LIBFRIBIDI_LICENSE = LGPL-2.1+ From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/ethtool: bump to version 5.17 Message-ID: <20220427184726.54C3D845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4065b6004c278a832389e9ab5311410d8cd0fad7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/ethtool/ethtool.hash | 2 +- package/ethtool/ethtool.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 59c657e868..f317a1fb12 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d ethtool-5.15.tar.xz +sha256 64ab914b9c6b45047245d91f40b8760b2728992a9e5af22717c644238e889133 ethtool-5.17.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index c4bb9bdd90..10f0c802a6 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,7 @@ # ################################################################################ -ETHTOOL_VERSION = 5.15 +ETHTOOL_VERSION = 5.17 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool ETHTOOL_LICENSE = GPL-2.0 From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/pciutils: bump to version 3.8.0 Message-ID: <20220427184726.963F3845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=07c95d3eacecc8fac2f4e816769314a9053774f7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pciutils/pciutils.hash | 2 +- package/pciutils/pciutils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pciutils/pciutils.hash b/package/pciutils/pciutils.hash index 4b13c7484e..0b66b82589 100644 --- a/package/pciutils/pciutils.hash +++ b/package/pciutils/pciutils.hash @@ -1,3 +1,3 @@ # From https://www.kernel.org/pub/software/utils/pciutils/sha256sums.asc -sha256 9d40b97be8b6a2cdf96aead5a61881d1f7e4e0da9544a9bac4fba1ae9dcd40eb pciutils-3.7.0.tar.xz +sha256 91edbd0429a84705c9ad156d4ff38ccc724d41ea54c4c5b88e38e996f8a34f05 pciutils-3.8.0.tar.xz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index 67defcc743..c1445968b9 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -4,7 +4,7 @@ # ################################################################################ -PCIUTILS_VERSION = 3.7.0 +PCIUTILS_VERSION = 3.8.0 PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz PCIUTILS_INSTALL_STAGING = YES From arnout at mind.be Wed Apr 27 18:50:16 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:16 +0200 Subject: [Buildroot] [git commit] package/harfbuzz: bump to version 4.2.1 Message-ID: <20220427184726.5F217845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2dacd52d27b06536f084368ae0f1352aff33915b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/harfbuzz/0001-meson.build-check-for-pthread.h.patch | 2 +- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch b/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch index 9fa09863c6..102f9ff493 100644 --- a/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch +++ b/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch @@ -26,7 +26,7 @@ diff --git a/meson.build b/meson.build index bf3925db..6d263d48 100644 --- a/meson.build +++ b/meson.build -@@ -281,7 +281,9 @@ endif +@@ -270,7 +270,9 @@ endif # threads thread_dep = null_dep if host_machine.system() != 'windows' diff --git a/package/harfbuzz/harfbuzz.hash b/package/harfbuzz/harfbuzz.hash index 1576824a5a..f3ba228353 100644 --- a/package/harfbuzz/harfbuzz.hash +++ b/package/harfbuzz/harfbuzz.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 f2200f177768bdc21445aa09703326f3bbe8114ac083d081fe1a79d305c7ae73 harfbuzz-4.2.0.tar.xz +sha256 bd17916513829aeff961359a5ccebba6de2f4bf37a91faee3ac29c120e3d7ee1 harfbuzz-4.2.1.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 551277a788..38ed34ab70 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 4.2.0 +HARFBUZZ_VERSION = 4.2.1 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library) From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/libpri: fix static build Message-ID: <20220427184726.AA5FD845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=987988cee5aa6e934df7bee0d58ec5a23fffcc5f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master pritest, rosetest and testprilib needs a static library and pridump needs a dynamic library resulting in the following static build failure since the addition of the package in commit a77f356b78f9134227f9702a1eb09c3203c42d88: /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -fPIC -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c /home/autobuild/autobuild/instance-15/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -static -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o /home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/aarch64_be-buildroot-linux-uclibc/10.3.0/../../../../aarch64_be-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-15/output-1/host/aarch64_be-buildroot-linux-uclibc/sysroot/lib/../lib64/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0xd0): undefined reference to `__fini_array_start' Fixes: - http://autobuild.buildroot.org/results/1217922af3a72646ae242c2c4dec22ead7883b91 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libpri/libpri.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index e1fa2abcf5..34d84393c4 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -17,6 +17,7 @@ LIBPRI_INSTALL_STAGING = YES # So we need to explicitly build only what we can. ifneq ($(BR2_SHARED_LIBS),y) LIBPRI_LIBS = libpri.a +LIBPRI_UTILS += pritest rosetest testprilib define LIBPRI_INSTALL_A $(INSTALL) -D -m 0644 $(@D)/libpri.a $(1)/usr/lib/libpri.a endef @@ -24,14 +25,13 @@ endif ifneq ($(BR2_STATIC_LIBS),y) LIBPRI_LIBS += libpri.so.1.4 +LIBPRI_UTILS += pridump define LIBPRI_INSTALL_SO $(INSTALL) -D -m 0644 $(@D)/libpri.so.1.4 $(1)/usr/lib/libpri.so.1.4 ln -sf libpri.so.1.4 $(1)/usr/lib/libpri.so endef endif -LIBPRI_UTILS = pridump pritest rosetest testprilib - define LIBPRI_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \ From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/strace: bump to version 5.17 Message-ID: <20220427184726.A149084601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=32a5cfe553fb72f1d50c7037d268c68ddf1b3087 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/strace/strace.hash | 4 ++-- package/strace/strace.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/strace/strace.hash b/package/strace/strace.hash index 30c90e8e39..f3567db637 100644 --- a/package/strace/strace.hash +++ b/package/strace/strace.hash @@ -1,5 +1,5 @@ # Locally calculated after checking signature with RSA key 0xA8041FA839E16E36 -# https://strace.io/files/5.16/strace-5.16.tar.xz.asc -sha256 dc7db230ff3e57c249830ba94acab2b862da1fcaac55417e9b85041a833ca285 strace-5.16.tar.xz +# https://strace.io/files/5.17/strace-5.17.tar.xz.asc +sha256 5fb298dbd1331fd1e1bc94c5c32395860d376101b87c6cd3d1ba9f9aa15c161f strace-5.17.tar.xz sha256 d92f973d08c8466993efff1e500453add0c038c20b4d2cbce3297938a296aea9 COPYING sha256 7c379436436a562834aa7d2f5dcae1f80a25230fa74201046ca1fba4367d39aa LGPL-2.1-or-later diff --git a/package/strace/strace.mk b/package/strace/strace.mk index c8c3590f6e..cbd737e124 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -4,7 +4,7 @@ # ################################################################################ -STRACE_VERSION = 5.16 +STRACE_VERSION = 5.17 STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz STRACE_SITE = https://strace.io/files/$(STRACE_VERSION) STRACE_LICENSE = LGPL-2.1+ From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] toolchain/toolchain-external/toolchain-external-custom: add gcc 12 version selection Message-ID: <20220427184726.CDFC684602@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6063f2378f8fbab296b7aa56cdc8a774e599708b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This patch allows to use an external toolchain based on gcc 12. Signed-off-by: Florian Fainelli Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../toolchain-external/toolchain-external-custom/Config.in.options | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 9346fa3feb..683204e56e 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -31,6 +31,10 @@ choice Set to the gcc version that is used by your external toolchain. +config BR2_TOOLCHAIN_EXTERNAL_GCC_12 + bool "12.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_12 + config BR2_TOOLCHAIN_EXTERNAL_GCC_11 bool "11.x" select BR2_TOOLCHAIN_GCC_AT_LEAST_11 From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/ltp-testsuite: fix static build Message-ID: <20220427184726.BC69784601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e47efc9b90e8ecfe5b0b21f967001748fc111fbc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following static build failure: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here Fixes: - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 Signed-off-by: Fabrice Fontaine Reviewed-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...s-kernel-fs-declare-int-openlog-as-static.patch | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch new file mode 100644 index 0000000000..ae10bfcfdd --- /dev/null +++ b/package/ltp-testsuite/0002-testcases-kernel-fs-declare-int-openlog-as-static.patch @@ -0,0 +1,77 @@ +From 002ca0320cd2c5e1515bf202f470d4becdf01532 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 24 Apr 2022 21:56:36 +0200 +Subject: [PATCH] testcases/kernel/fs: declare int openlog as static + +Declare int openlog as static to avoid the following build failure when +building statically (e.g. on buildroot): + +/nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-15/output-1/per-package/ltp-testsuite/host/bin/../mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(syslog.os): in function `openlog': +syslog.c:(.text+0x6b8): multiple definition of `openlog'; /tmp/ccvRnqfT.o:/nvmedata/autobuild/instance-15/output-1/build/ltp-testsuite-20220121/testcases/kernel/fs/fs-bench/random-access.c:14: first defined here + +Fixes: + - http://autobuild.buildroot.org/results/bfd0d906a05564a4f323db604f3b908abf552b20 + +Signed-off-by: Fabrice Fontaine +Reviewed-by: Cyril Hrubis +[Retrieved from: +https://github.com/linux-test-project/ltp/commit/002ca0320cd2c5e1515bf202f470d4becdf01532] +--- + testcases/kernel/fs/fs-bench/random-access-del-create.c | 2 -- + testcases/kernel/fs/fs-bench/random-access.c | 2 +- + testcases/kernel/fs/fs-bench/random-del-create.c | 2 +- + testcases/kernel/fs/scsi/ltpfs/main.c | 2 +- + 4 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/testcases/kernel/fs/fs-bench/random-access-del-create.c b/testcases/kernel/fs/fs-bench/random-access-del-create.c +index 1f62a76b5e..1878fd78b5 100644 +--- a/testcases/kernel/fs/fs-bench/random-access-del-create.c ++++ b/testcases/kernel/fs/fs-bench/random-access-del-create.c +@@ -11,8 +11,6 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; +- + #define MAXNUM 0x100000 + + #define MAXERROR 1024 +diff --git a/testcases/kernel/fs/fs-bench/random-access.c b/testcases/kernel/fs/fs-bench/random-access.c +index cf41d6e81c..c2f32b86e7 100644 +--- a/testcases/kernel/fs/fs-bench/random-access.c ++++ b/testcases/kernel/fs/fs-bench/random-access.c +@@ -11,7 +11,7 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + #define MAXNUM 0x100000 + +diff --git a/testcases/kernel/fs/fs-bench/random-del-create.c b/testcases/kernel/fs/fs-bench/random-del-create.c +index 0a86f976f3..345031f283 100644 +--- a/testcases/kernel/fs/fs-bench/random-del-create.c ++++ b/testcases/kernel/fs/fs-bench/random-del-create.c +@@ -11,7 +11,7 @@ + #define FAIL 0 + #define SUCCESS 1 + +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + #define MAXNUM 0x100000 + +diff --git a/testcases/kernel/fs/scsi/ltpfs/main.c b/testcases/kernel/fs/scsi/ltpfs/main.c +index 2c67c7a478..90a5531ac3 100644 +--- a/testcases/kernel/fs/scsi/ltpfs/main.c ++++ b/testcases/kernel/fs/scsi/ltpfs/main.c +@@ -38,7 +38,7 @@ int startc = 0; + int showchar[] = { 124, 47, 45, 92, 124, 47, 45, 92 }; + + int nullFileHandle; +-int openlog[2] = { 0, 0 }; ++static int openlog[2] = { 0, 0 }; + + int cFileCount, dFileCount, errorCount; + static int disk_space_pool = 0; From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] package/libpri: bump to version 1.6.0 Message-ID: <20220427184726.B3A7584602@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c932b7bb9092d6004837a38c6e3562c1b10bba23 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update indentation in hash file (two spaces) http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.6.0-summary.html Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libpri/libpri.hash | 4 ++-- package/libpri/libpri.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libpri/libpri.hash b/package/libpri/libpri.hash index 47c4a00307..77985df96a 100644 --- a/package/libpri/libpri.hash +++ b/package/libpri/libpri.hash @@ -1,6 +1,6 @@ # sha1 and sha256 from http://downloads.asterisk.org/pub/telephony/libpri/releases/ -sha1 63536f3300fb007dfd5fe8064406992ca938bd9a libpri-1.5.0.tar.gz -sha256 ee224bc4aa65c54546bd09675c3f0b71817ce9e277332bce86989d8dcd556a24 libpri-1.5.0.tar.gz +sha1 8440007477ebf131020afb00f57672b108b4db2c libpri-1.6.0.tar.gz +sha256 7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6 libpri-1.6.0.tar.gz # License files, locally calculated sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index 34d84393c4..48a1019210 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBPRI_VERSION = 1.5.0 +LIBPRI_VERSION = 1.6.0 LIBPRI_SITE = http://downloads.asterisk.org/pub/telephony/libpri/releases LIBPRI_LICENSE = GPL-2.0 with OpenH323 exception From arnout at mind.be Wed Apr 27 18:50:17 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 20:50:17 +0200 Subject: [Buildroot] [git commit] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option Message-ID: <20220427184726.C561E845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f698cbc2235a6362399cf76acdf54e0bdb0b4664 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In order to add gcc 12 support for internal and external toolchain in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_12 symbol. Signed-off-by: Florian Fainelli Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- toolchain/Config.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index d2c81217c8..b572a89f2f 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -117,7 +117,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ - BR2_TOOLCHAIN_GCC_AT_LEAST_11 + BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no # longer exists in gcc 8.x. @@ -150,7 +151,8 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 bool default y if BR2_sh - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no # longer exists in gcc 8.x. @@ -698,10 +700,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_11 bool select BR2_TOOLCHAIN_GCC_AT_LEAST_10 +config BR2_TOOLCHAIN_GCC_AT_LEAST_12 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_GCC_AT_LEAST string + default "12" if BR2_TOOLCHAIN_GCC_AT_LEAST_12 default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11 default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10 default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9 From arnout at mind.be Wed Apr 27 19:00:46 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:00:46 +0200 Subject: [Buildroot] [PATCH v2 0/2] External GCC12 toolchain support In-Reply-To: <20220426173211.64840-1-f.fainelli@gmail.com> References: <20220426173211.64840-1-f.fainelli@gmail.com> Message-ID: On 26/04/2022 19:32, Florian Fainelli wrote: > This patch series allows us to use Linaro's GCC12 snapshot that can be > downloaded from here: > > https://snapshots.linaro.org/gnu-toolchain/12.0-2021.10-1/aarch64-linux-gnu/ > > Changes in v2: > > - rebased against master > > Florian Fainelli (2): > toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option > toolchain/toolchain-external/toolchain-external-custom: add gcc 12 > version selection Series applied to master, thanks. I was thinking that it would be useful to add an option BR2_TOOLCHAIN_GCC_NEWER and BR2_TOOLCHAIN_EXTERNAL_GCC_12_PLUS that selects it. That way, you can use newer GCC without changing Buildroot. Same for linux-headers. Note that the blind option can simply be _NEWER, but the user-visible option has to have the version explicit in it, so legacy handling can force the user to use the correct version when Buildroot is updated. Regards, Arnout > > toolchain/Config.in | 11 +++++++++-- > .../toolchain-external-custom/Config.in.options | 4 ++++ > 2 files changed, 13 insertions(+), 2 deletions(-) > From arnout at mind.be Wed Apr 27 19:26:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:26:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/mpd: fix iconv detection w/ libiconv installed In-Reply-To: <20220427052715.7642-1-br015@umbiko.net> References: <20220427052715.7642-1-br015@umbiko.net> Message-ID: On 27/04/2022 07:27, Andreas Ziegler wrote: > Fix build failures caused by meson failing to properly detect iconv() when > libiconv is installed and a missing link dependency. > > Upstream pull request: > https://github.com/MusicPlayerDaemon/MPD/pull/1515 > > Fixes the following build failures: > http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ > > Signed-off-by: Andreas Ziegler > --- > ...detection-when-libiconv-is-installed.patch | 71 +++++++++++++++++++ > 1 file changed, 71 insertions(+) > create mode 100644 package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch > > diff --git a/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch b/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch > new file mode 100644 > index 0000000000..6121bc9740 > --- /dev/null > +++ b/package/mpd/0002-fix-iconv-detection-when-libiconv-is-installed.patch > @@ -0,0 +1,71 @@ > +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 > +From: aeolio > +Date: Wed, 20 Apr 2022 16:10:39 +0200 > +Subject: [PATCH 1/2] src/lib/icu: fix iconv() detection when libiconv is Remove the N/M (git format-patch -N). > + installed > + Add a Signed-off-by line for yourself. This is a short way for you to assert that you are entitled to contribute the patch under the upstream project's license. See http://elinux.org/Developer_Certificate_Of_Origin for more details. > +--- > + src/lib/icu/meson.build | 11 +++++++++-- > + 1 file changed, 9 insertions(+), 2 deletions(-) > + > +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build > +index 59215e704b..972c1fda3f 100644 > +--- a/src/lib/icu/meson.build > ++++ b/src/lib/icu/meson.build > +@@ -12,17 +12,23 @@ if is_windows > + icu_sources += 'Win32.cxx' > + endif > + > ++iconv_dep = [] > + if icu_dep.found() > + icu_sources += [ > + 'Util.cxx', > + 'Init.cxx', > + ] > + elif not get_option('iconv').disabled() > +- have_iconv = compiler.has_function('iconv', prefix : '#include ') > +- conf.set('HAVE_ICONV', have_iconv) > ++ # an installed iconv library will make the builtin iconf() unavailable, > ++ # so search for the library first and pass it as (possible) dependency > ++ iconv_dep = compiler.find_library('libiconv', required: false) > ++ have_iconv = compiler.has_function('iconv', > ++ dependencies: iconv_dep, > ++ prefix : '#include ') > + if not have_iconv and get_option('iconv').enabled() > + error('iconv() not available') > + endif > ++ conf.set('HAVE_ICONV', have_iconv) > + endif > + > + icu = static_library( > +@@ -31,6 +37,7 @@ icu = static_library( > + include_directories: inc, > + dependencies: [ > + icu_dep, > ++ iconv_dep, > + fmt_dep, > + ], > + ) > + > +From ee39af34199aa875e109f7002a401d6ebbd66c22 Mon Sep 17 00:00:00 2001 > +From: aeolio > +Date: Sun, 24 Apr 2022 04:14:17 +0000 > +Subject: [PATCH 2/2] fix typo in comment Only one patch per patch file please. Though I don't see why you even need this patch. Regards, Arnout > + > +--- > + src/lib/icu/meson.build | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build > +index 972c1fda3f..6e489876b8 100644 > +--- a/src/lib/icu/meson.build > ++++ b/src/lib/icu/meson.build > +@@ -19,7 +19,7 @@ if icu_dep.found() > + 'Init.cxx', > + ] > + elif not get_option('iconv').disabled() > +- # an installed iconv library will make the builtin iconf() unavailable, > ++ # an installed iconv library will make the builtin iconv() unavailable, > + # so search for the library first and pass it as (possible) dependency > + iconv_dep = compiler.find_library('libiconv', required: false) > + have_iconv = compiler.has_function('iconv', From arnout at mind.be Wed Apr 27 19:34:51 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:34:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/libevent: fix build with libressl >= 3.5.0 In-Reply-To: <20220426173403.545488-1-fontaine.fabrice@gmail.com> References: <20220426173403.545488-1-fontaine.fabrice@gmail.com> Message-ID: <0aed2ce7-a7bb-38e3-d15c-2637cd6a5cb1@mind.be> On 26/04/2022 19:34, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since bump to > version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: > > In file included from bufferevent_openssl.c:68: > bufferevent_openssl.c: In function 'bio_bufferevent_free': > openssl-compat.h:44:28: error: invalid use of incomplete typedef 'BIO' {aka 'struct bio_st'} > 44 | #define BIO_get_init(b) (b)->init > | ^~ > bufferevent_openssl.c:124:7: note: in expansion of macro 'BIO_get_init' > 124 | if (BIO_get_init(b) && BIO_get_data(b)) > | ^~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/273f9aa354a08ef3af6140b8dec086408bf5d574 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...define-BIO_get_init-for-LibreSSL-3-5.patch | 29 +++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch > > diff --git a/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch > new file mode 100644 > index 0000000000..33c349b11d > --- /dev/null > +++ b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch > @@ -0,0 +1,29 @@ > +From 883630f76cbf512003b81de25cd96cb75c6cf0f9 Mon Sep 17 00:00:00 2001 > +From: Theo Buehler > +Date: Sun, 21 Nov 2021 21:38:20 +0100 > +Subject: [PATCH] Don't define BIO_get_init() for LibreSSL 3.5+ > + > +BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type > +will become opaque, so the existing macro will break the build. > + > +[Retrieved from: > +https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9] > +Signed-off-by: Fabrice Fontaine > +--- > + openssl-compat.h | 3 ++- > + 1 file changed, 2 insertions(+), 1 deletion(-) > + > +diff --git a/openssl-compat.h b/openssl-compat.h > +index a23e34251b..f5de25539f 100644 > +--- a/openssl-compat.h > ++++ b/openssl-compat.h > +@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name) > + #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ > + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */ > + > +-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L > ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && \ > ++ LIBRESSL_VERSION_NUMBER < 0x30500000L > + #define BIO_get_init(b) (b)->init > + #endif > + From arnout at mind.be Wed Apr 27 19:36:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:36:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/linknx: fix build with argp-standalone and NLS In-Reply-To: <20220426191934.2738310-1-fontaine.fabrice@gmail.com> References: <20220426191934.2738310-1-fontaine.fabrice@gmail.com> Message-ID: On 26/04/2022 21:19, Fabrice Fontaine wrote: > Fix the following build failure with argp-standalone and NLS raised > since commit 5430c8fedd0392e79e0c011825b056fea129980a: > > configure:7799: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xtensa-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp >&5 > /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': > /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:179: undefined reference to `libintl_dgettext' > > [...] > > checking for library containing argp_parse... no > configure: error: argp_parse not found > > Fixes: > - http://autobuild.buildroot.org/results/ce5753193ec4518c75ee0ab9270b577397ca1c02 > > Signed-off-by: Fabrice Fontaine > --- > package/linknx/linknx.mk | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk > index dbee0742fe..dcfcd5e3f5 100644 > --- a/package/linknx/linknx.mk > +++ b/package/linknx/linknx.mk > @@ -23,7 +23,10 @@ LINKNX_DEPENDENCIES = \ > host-pkgconf \ > libpthsem \ > $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \ > - $(if $(BR2_PACKAGE_LIBICONV),libiconv) > + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ > + $(TARGET_NLS_DEPENDENCIES) This is only really needed in case argp-standalone is selected... But it doesn't really hurt, so applied to master, thanks. Regards, Arnout > + > +LINKNX_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) > > ifeq ($(BR2_PACKAGE_LIBCURL),y) > LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr From arnout at mind.be Wed Apr 27 19:36:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:36:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/openobex: fix static with libusb and libatomic In-Reply-To: <20220426203036.2446167-1-fontaine.fabrice@gmail.com> References: <20220426203036.2446167-1-fontaine.fabrice@gmail.com> Message-ID: On 26/04/2022 22:30, Fabrice Fontaine wrote: > Force LibUSB_VERSION_1.0 to ON to fix the following static build failure > with libusb and libatomic: > > -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a > -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a - not found > > [...] > > /nvmedata/autobuild/instance-4/output-1/build/openobex-1.7.2/lib/transport/usbobex.h:30:10: fatal error: usb.h: No such file or directory > 30 | #include > | ^~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/52b0edc4278f65fb4a9671b65c655cc4544a3103 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/openobex/openobex.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk > index bc4a47e3d7..7109bffa8d 100644 > --- a/package/openobex/openobex.mk > +++ b/package/openobex/openobex.mk > @@ -20,6 +20,7 @@ OPENOBEX_DEPENDENCIES += bluez5_utils > endif > > ifeq ($(BR2_PACKAGE_LIBUSB),y) > +OPENOBEX_CONF_OPTS += -DLibUSB_VERSION_1.0=ON > OPENOBEX_DEPENDENCIES += libusb > endif > From arnout at mind.be Wed Apr 27 19:36:51 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:36:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsrtp: fix build with libressl >= 3.5.0 In-Reply-To: <20220426215755.782961-1-fontaine.fabrice@gmail.com> References: <20220426215755.782961-1-fontaine.fabrice@gmail.com> Message-ID: On 26/04/2022 23:57, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since bump to > version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: > > crypto/hash/hmac_ossl.c: In function 'srtp_hmac_alloc': > crypto/hash/hmac_ossl.c:88:55: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} > 88 | pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + > | ^~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/c346780ed664c9fe8c7112e4c256cfe8080a7af5 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...legacy-OpenSSL-to-fix-LibreSSL-build.patch | 86 +++++++++++++++++++ > 1 file changed, 86 insertions(+) > create mode 100644 package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch > > diff --git a/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch > new file mode 100644 > index 0000000000..68bfb085f7 > --- /dev/null > +++ b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch > @@ -0,0 +1,86 @@ > +From 16483b18a9980575bee23898b2dbfbe2a4675d84 Mon Sep 17 00:00:00 2001 > +From: Klemens Nanni > +Date: Sat, 15 Jan 2022 23:19:35 +0300 > +Subject: [PATCH] Remove compatibility code for legacy OpenSSL to fix LibreSSL > + build > + > +In current LibreSSL, `HMAC_CTX` aka. `struct hmac_ctx_st` is an opaque > +structure as of LibreSSL hmac.h revision 1.15 (14.01.2022) [0], thus > +`sizeof(HMAC_CTX)` fails to compile. > + > +The non-legacy code path should compile with LibreSSL versions as old > +as 2.7.0 (21.03.2018). > + > +Found while building https://github.com/desktop-app/tg_owt which bundles > +libsrtp 2.2.0 [1] on OpenBSD 7.0 -CURRENT/with latest LibreSSL. > + > +Suggestion to remove the legacy code from Theo Buehler, thanks. > + > +0: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libcrypto/hmac/hmac.h?rev=1.15&content-type=text/x-cvsweb-markup > +1: https://github.com/desktop-app/tg_owt/blob/6708e0d31a73e64fe12f54829bf4060c41b2658e/src/third_party/libsrtp/crypto/hash/hmac_ossl.c#L85 > + > +[Retrieved from: > +https://github.com/cisco/libsrtp/commit/16483b18a9980575bee23898b2dbfbe2a4675d84] > +Signed-off-by: Fabrice Fontaine > +--- > + crypto/hash/hmac_ossl.c | 29 ----------------------------- > + 1 file changed, 29 deletions(-) > + > +diff --git a/crypto/hash/hmac_ossl.c b/crypto/hash/hmac_ossl.c > +index ee6b0b58..c23c7f21 100644 > +--- a/crypto/hash/hmac_ossl.c > ++++ b/crypto/hash/hmac_ossl.c > +@@ -78,26 +78,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, > + return srtp_err_status_bad_param; > + } > + > +-/* OpenSSL 1.1.0 made HMAC_CTX an opaque structure, which must be allocated > +- using HMAC_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */ > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER > +- { > +- /* allocate memory for auth and HMAC_CTX structures */ > +- uint8_t *pointer; > +- HMAC_CTX *new_hmac_ctx; > +- pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + > +- sizeof(srtp_auth_t)); > +- if (pointer == NULL) { > +- return srtp_err_status_alloc_fail; > +- } > +- *a = (srtp_auth_t *)pointer; > +- (*a)->state = pointer + sizeof(srtp_auth_t); > +- new_hmac_ctx = (HMAC_CTX *)((*a)->state); > +- > +- HMAC_CTX_init(new_hmac_ctx); > +- } > +- > +-#else > + *a = (srtp_auth_t *)srtp_crypto_alloc(sizeof(srtp_auth_t)); > + if (*a == NULL) { > + return srtp_err_status_alloc_fail; > +@@ -109,7 +89,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, > + *a = NULL; > + return srtp_err_status_alloc_fail; > + } > +-#endif > + > + /* set pointers */ > + (*a)->type = &srtp_hmac; > +@@ -126,18 +105,10 @@ static srtp_err_status_t srtp_hmac_dealloc(srtp_auth_t *a) > + > + hmac_ctx = (HMAC_CTX *)a->state; > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER > +- HMAC_CTX_cleanup(hmac_ctx); > +- > +- /* zeroize entire state*/ > +- octet_string_set_to_zero(a, sizeof(HMAC_CTX) + sizeof(srtp_auth_t)); > +- > +-#else > + HMAC_CTX_free(hmac_ctx); > + > + /* zeroize entire state*/ > + octet_string_set_to_zero(a, sizeof(srtp_auth_t)); > +-#endif > + > + /* free memory */ > + srtp_crypto_free(a); From arnout at mind.be Wed Apr 27 19:37:09 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:37:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/wayland: don't rely on implicit GNU extensions In-Reply-To: <20220426223517.997019-1-james.hilliard1@gmail.com> References: <20220426223517.997019-1-james.hilliard1@gmail.com> Message-ID: <7d0d7166-68c5-f227-b036-9f4743d1007f@mind.be> On 27/04/2022 00:35, James Hilliard wrote: > Backport a patch so that we don't rely on implicit GNU extensions. > > Fixes: > - http://autobuild.buildroot.net/results/c22/c227166c2825ae4e884936fbe627f3997e0e19b7 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > ...on-t-rely-on-implicit-GNU-extensions.patch | 108 ++++++++++++++++++ > 1 file changed, 108 insertions(+) > create mode 100644 package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch > > diff --git a/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch > new file mode 100644 > index 0000000000..fcafa98f46 > --- /dev/null > +++ b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch > @@ -0,0 +1,108 @@ > +From 0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9 Mon Sep 17 00:00:00 2001 > +From: Simon Ser > +Date: Mon, 10 Jan 2022 14:51:55 +0100 > +Subject: [PATCH] build: don't rely on implicit GNU extensions > + > +Currently libwayland assumes GNU extensions will be available, but > +doesn't define the C standard to use. Instead, let's unconditionally > +enable POSIX extensions, and enable GNU extensions on a case-by-case > +basis as needed. > + > +Signed-off-by: Simon Ser > +Signed-off-by: James Hilliard > +[james.hilliard1 at gmail.com: backport from upstream commit > +0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9] > +--- > + cursor/xcursor.c | 1 + > + meson.build | 10 ++++++++-- > + tests/display-test.c | 1 + > + tests/event-loop-test.c | 1 + > + tests/fixed-test.c | 1 + > + 5 files changed, 12 insertions(+), 2 deletions(-) > + > +diff --git a/cursor/xcursor.c b/cursor/xcursor.c > +index 0506680..188be7c 100644 > +--- a/cursor/xcursor.c > ++++ b/cursor/xcursor.c > +@@ -23,6 +23,7 @@ > + * SOFTWARE. > + */ > + > ++#define _GNU_SOURCE > + #include "xcursor.h" > + #include > + #include > +diff --git a/meson.build b/meson.build > +index 07bbd29..cab267e 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -14,6 +14,12 @@ config_h = configuration_data() > + config_h.set_quoted('PACKAGE', meson.project_name()) > + config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) > + > ++cc_args = [] > ++if host_machine.system() != 'freebsd' > ++ cc_args += ['-D_POSIX_C_SOURCE=200809L'] > ++endif > ++add_project_arguments(cc_args, language: 'c') > ++ > + compiler_flags = [ > + '-Wno-unused-parameter', > + '-Wstrict-prototypes', > +@@ -79,7 +85,7 @@ if get_option('libraries') > + ] > + > + foreach d: decls > +- if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep) > ++ if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep, args: cc_args) > + error('@0@ is needed to compile Wayland libraries'.format(d['symbol'])) > + endif > + endforeach > +@@ -87,7 +93,7 @@ if get_option('libraries') > + rt_dep = [] > + if not cc.has_function('clock_gettime', prefix: '#include ') > + rt_dep = cc.find_library('rt') > +- if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep) > ++ if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep, args: cc_args) > + error('clock_gettime not found') > + endif > + endif > +diff --git a/tests/display-test.c b/tests/display-test.c > +index 763adc9..a6f410d 100644 > +--- a/tests/display-test.c > ++++ b/tests/display-test.c > +@@ -24,6 +24,7 @@ > + * SOFTWARE. > + */ > + > ++#define _GNU_SOURCE > + #include > + #include > + #include > +diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c > +index 9d43c91..a51ba8f 100644 > +--- a/tests/event-loop-test.c > ++++ b/tests/event-loop-test.c > +@@ -24,6 +24,7 @@ > + * SOFTWARE. > + */ > + > ++#define _GNU_SOURCE > + #include > + #include > + #include > +diff --git a/tests/fixed-test.c b/tests/fixed-test.c > +index 47a4dae..0b58797 100644 > +--- a/tests/fixed-test.c > ++++ b/tests/fixed-test.c > +@@ -23,6 +23,7 @@ > + * SOFTWARE. > + */ > + > ++#define _GNU_SOURCE > + #include > + #include > + #include > +-- > +2.25.1 > + From arnout at mind.be Wed Apr 27 19:37:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:37:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/valgrind: bump to version 3.19.0 In-Reply-To: <20220426224220.1940185-1-james.hilliard1@gmail.com> References: <20220426224220.1940185-1-james.hilliard1@gmail.com> Message-ID: <18d4c59c-8e52-20b1-51b5-87d6af969ebf@mind.be> On 27/04/2022 00:42, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/valgrind/valgrind.hash | 4 ++-- > package/valgrind/valgrind.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/valgrind/valgrind.hash b/package/valgrind/valgrind.hash > index 748fc3eb82..8487c07e42 100644 > --- a/package/valgrind/valgrind.hash > +++ b/package/valgrind/valgrind.hash > @@ -1,7 +1,7 @@ > # From https://valgrind.org/downloads/current.html > -md5 de56a5532b0c81781db677ca712c585a valgrind-3.18.1.tar.bz2 > +md5 4687a4990585a038c52f842448ef4e63 valgrind-3.19.0.tar.bz2 > # locally computed > -sha256 00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5 valgrind-3.18.1.tar.bz2 > +sha256 dd5e34486f1a483ff7be7300cc16b4d6b24690987877c3278d797534d6738f02 valgrind-3.19.0.tar.bz2 > > # License files > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk > index a3eabec9fe..b4c4b8b5a2 100644 > --- a/package/valgrind/valgrind.mk > +++ b/package/valgrind/valgrind.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -VALGRIND_VERSION = 3.18.1 > +VALGRIND_VERSION = 3.19.0 > VALGRIND_SITE = https://sourceware.org/pub/valgrind > VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 > VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 From arnout at mind.be Wed Apr 27 19:37:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:37:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: fix unsafe openssl header path In-Reply-To: <20220427035556.1814178-1-james.hilliard1@gmail.com> References: <20220427035556.1814178-1-james.hilliard1@gmail.com> Message-ID: <1e8d6af8-43e0-2c26-e77d-a72a044b24cb@mind.be> On 27/04/2022 05:55, James Hilliard wrote: > Explicitely set the openssl path so that python3 doesn't search host > header paths for target openssl headers. > > Fixes: > - http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/python3/python3.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python3/python3.mk b/package/python3/python3.mk > index 3a334fb28d..7f3b7cc8a5 100644 > --- a/package/python3/python3.mk > +++ b/package/python3/python3.mk > @@ -103,6 +103,7 @@ endif > > ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y) > PYTHON3_DEPENDENCIES += openssl > +PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr > else > PYTHON3_CONF_OPTS += --disable-openssl > endif From arnout at mind.be Wed Apr 27 19:38:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:38:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <20220427035039.1664864-1-james.hilliard1@gmail.com> References: <20220427035039.1664864-1-james.hilliard1@gmail.com> Message-ID: On 27/04/2022 05:50, James Hilliard wrote: > Libressl is no longer supported as of python 3.10. > > See: https://peps.python.org/pep-0644/#libressl > > Fixes: > - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/python3/Config.in | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/python3/Config.in b/package/python3/Config.in > index 61470c2944..761c38c850 100644 > --- a/package/python3/Config.in > +++ b/package/python3/Config.in > @@ -89,7 +89,8 @@ config BR2_PACKAGE_PYTHON3_READLINE > config BR2_PACKAGE_PYTHON3_SSL > bool "ssl" > select BR2_PACKAGE_OPENSSL > - select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL > + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL > + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 > help > _ssl module for Python3 (required for https in urllib etc). > From arnout at mind.be Wed Apr 27 19:38:32 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:38:32 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency In-Reply-To: <20220427072541.4082648-1-james.hilliard1@gmail.com> References: <20220427072541.4082648-1-james.hilliard1@gmail.com> Message-ID: <986d8b1e-202d-e6df-01b0-bb80519805dc@mind.be> On 27/04/2022 09:25, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - add comment when !BR2_LINUX_KERNEL > --- > package/wilc-driver/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in > index caf46ae281..24a7b05b17 100644 > --- a/package/wilc-driver/Config.in > +++ b/package/wilc-driver/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_WILC_DRIVER > bool "wilc kernel module" > + depends on BR2_LINUX_KERNEL > help > External kernel module for WILC1000/3000 devices. > > @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER > > https://github.com/embeddedTS/wilc3000-external-module > > +comment "wilc kernel module needs a Linux kernel to be built" > + depends on !BR2_LINUX_KERNEL > + > if BR2_PACKAGE_WILC_DRIVER > > config BR2_PACKAGE_WILC_DRIVER_SPI From arnout at mind.be Wed Apr 27 19:38:57 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:38:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgit2: bump version to 1.4.3 In-Reply-To: <20220427072245.3610-1-nicolas.cavallari@green-communications.fr> References: <20220427072245.3610-1-nicolas.cavallari@green-communications.fr> Message-ID: <47a0512c-cf8f-a518-cd00-9e6d911efffb@mind.be> On 27/04/2022 09:22, Nicolas Cavallari wrote: > git added restrictions on config files to fix CVE 2022-24765. libgit2 > adopted these changes for compatibility reasons, even if the vuln is > not exploitable in libgit2. > > https://github.com/libgit2/libgit2/releases/tag/v1.4.3 > > Signed-off-by: Nicolas Cavallari Applied to master, thanks. Regards, Arnout > --- > package/libgit2/libgit2.hash | 2 +- > package/libgit2/libgit2.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libgit2/libgit2.hash b/package/libgit2/libgit2.hash > index ada411ea22..3b5837f789 100644 > --- a/package/libgit2/libgit2.hash > +++ b/package/libgit2/libgit2.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 901c2b4492976b86477569502a41c31b274b69adc177149c02099ea88404ef19 libgit2-1.4.2.tar.gz > +sha256 f48b961e463a9e4e7e7e58b21a0fb5a9b2a1d24d9ba4d15870a0c9b8ad965163 libgit2-1.4.3.tar.gz > sha256 0092f24acc306ee3287dc05b5e85cb9e0e48cd3f11c60c4625b1a673a5912616 COPYING > diff --git a/package/libgit2/libgit2.mk b/package/libgit2/libgit2.mk > index e94dd9c370..3f1e6e1593 100644 > --- a/package/libgit2/libgit2.mk > +++ b/package/libgit2/libgit2.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBGIT2_VERSION = 1.4.2 > +LIBGIT2_VERSION = 1.4.3 > LIBGIT2_SITE = $(call github,libgit2,libgit2,v$(LIBGIT2_VERSION)) > LIBGIT2_LICENSE = GPL-2.0 with linking exception, MIT (sha1), wildmatch license (wildmatch), CC0-1.0 (xoroshiro256) > LIBGIT2_LICENSE_FILES = COPYING From arnout at mind.be Wed Apr 27 19:39:22 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:39:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/nodejs: add missing host-pkgconf dependency In-Reply-To: <20220427074321.37979-1-james.hilliard1@gmail.com> References: <20220427074321.37979-1-james.hilliard1@gmail.com> Message-ID: <103854fe-1732-4883-5578-2f68c6ffe0b9@mind.be> On 27/04/2022 09:43, James Hilliard wrote: > Fixes: > - http://autobuild.buildroot.net/results/d1f/d1f49b451b56e3cf6a97d27e8db5b85b0cb58ca9 > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/nodejs/nodejs.mk | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk > index 2e41c11dbd..4fe34e0aad 100644 > --- a/package/nodejs/nodejs.mk > +++ b/package/nodejs/nodejs.mk > @@ -7,10 +7,11 @@ > NODEJS_VERSION = 14.18.3 > NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz > NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) > -NODEJS_DEPENDENCIES = host-qemu host-python3 host-nodejs c-ares \ > +NODEJS_DEPENDENCIES = host-qemu host-pkgconf host-python3 host-nodejs c-ares \ > libuv zlib nghttp2 \ > $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) > -HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python3 host-zlib > +HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-pkgconf host-python3 \ > + host-zlib > NODEJS_INSTALL_STAGING = YES > NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) > NODEJS_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 19:39:40 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:39:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/brotli: workaround m68k build issues In-Reply-To: <20220427081744.116766-1-aperez@igalia.com> References: <20220427081744.116766-1-aperez@igalia.com> Message-ID: On 27/04/2022 10:17, Adrian Perez de Castro wrote: > On m68k building with optimizations results in failures such as: > > /tmp/cckiMnG5.s: Assembler messages: > /tmp/cckiMnG5.s:142572: Error: value -39206 out of range > /tmp/cckiMnG5.s:142629: Error: value -40282 out of range > /tmp/cckiMnG5.s:146408: Error: value -53294 out of range > /tmp/cckiMnG5.s:159014: Error: value -39206 out of range > /tmp/cckiMnG5.s:159071: Error: value -40282 out of range > /tmp/cckiMnG5.s:162850: Error: value -53294 out of range > /tmp/cckiMnG5.s:175456: Error: value -39206 out of range > /tmp/cckiMnG5.s:175513: Error: value -40282 out of range > /tmp/cckiMnG5.s:179292: Error: value -53294 out of range > /tmp/cckiMnG5.s:191898: Error: value -39206 out of range > /tmp/cckiMnG5.s:191955: Error: value -40282 out of range > /tmp/cckiMnG5.s:195734: Error: value -53294 out of range > > These only appear when building with -O2, the smaller code generated > with -Os does not cause trouble, so workaround by using that. > > Fixes: > > http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db/ > > Signed-off-by: Adrian Perez de Castro Applied to master, thanks. Regards, Arnout > --- > package/brotli/brotli.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/brotli/brotli.mk b/package/brotli/brotli.mk > index 43c8524c0b..ac49fe664f 100644 > --- a/package/brotli/brotli.mk > +++ b/package/brotli/brotli.mk > @@ -21,6 +21,12 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) > BROTLI_CFLAGS += -O0 > endif > > +# Workaround "Error: value -1234 out of range" assembler issues > +# when building with optimizations. > +ifeq ($(BR2_m68k),y) > +BROTLI_CFLAGS += -Os > +endif > + > BROTLI_CONF_OPTS += -DCMAKE_C_FLAGS="$(BROTLI_CFLAGS)" > > $(eval $(cmake-package)) From arnout at mind.be Wed Apr 27 19:40:02 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:40:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/meson: bump to version 0.62.1 In-Reply-To: <20220427083240.1081081-1-james.hilliard1@gmail.com> References: <20220427083240.1081081-1-james.hilliard1@gmail.com> Message-ID: On 27/04/2022 10:32, James Hilliard wrote: > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > package/meson/meson.hash | 4 ++-- > package/meson/meson.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/meson/meson.hash b/package/meson/meson.hash > index 38fa43f6dc..2037c46bbc 100644 > --- a/package/meson/meson.hash > +++ b/package/meson/meson.hash > @@ -1,4 +1,4 @@ > # Locally calculated after checking pgp signature > -# https://github.com/mesonbuild/meson/releases/download/0.62.0/meson-0.62.0.tar.gz.asc > -sha256 06f8c1cfa51bfdb533c82623ffa524cacdbea02ace6d709145e33aabdad6adcb meson-0.62.0.tar.gz > +# https://github.com/mesonbuild/meson/releases/download/0.62.1/meson-0.62.1.tar.gz.asc > +sha256 a0f5caa1e70da12d5e63aa6a9504273759b891af36c8d87de381a4ed1380e845 meson-0.62.1.tar.gz > sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING > diff --git a/package/meson/meson.mk b/package/meson/meson.mk > index 13adc2f2b1..6d55f19402 100644 > --- a/package/meson/meson.mk > +++ b/package/meson/meson.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MESON_VERSION = 0.62.0 > +MESON_VERSION = 0.62.1 > MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) > MESON_LICENSE = Apache-2.0 > MESON_LICENSE_FILES = COPYING From arnout at mind.be Wed Apr 27 19:40:26 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:40:26 +0200 Subject: [Buildroot] [PATCH 1/5] boot/optee-os: bump to version 3.17.0 In-Reply-To: <20220427094608.16698-1-etienne.carriere@linaro.org> References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: On 27/04/2022 11:45, Etienne Carriere wrote: > Bump OP-TEE OS package version to OP-TEE release 3.17.0. > > Cc: Cl?ment L?ger > Signed-off-by: Etienne Carriere Applied series to master, thanks. Regards, Arnout > --- > boot/optee-os/Config.in | 4 ++-- > boot/optee-os/optee-os.hash | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in > index 30b6f62434..fb8a189a75 100644 > --- a/boot/optee-os/Config.in > +++ b/boot/optee-os/Config.in > @@ -18,7 +18,7 @@ choice > Select the version of OP-TEE OS you want to use > > config BR2_TARGET_OPTEE_OS_LATEST > - bool "3.16.0" > + bool "3.17.0" > depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS > select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY > help > @@ -52,7 +52,7 @@ endif > > config BR2_TARGET_OPTEE_OS_VERSION > string > - default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST > + default "3.17.0" if BR2_TARGET_OPTEE_OS_LATEST > default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ > if BR2_TARGET_OPTEE_OS_CUSTOM_GIT > > diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash > index d3a2637a4e..5c1047bac3 100644 > --- a/boot/optee-os/optee-os.hash > +++ b/boot/optee-os/optee-os.hash > @@ -1,4 +1,4 @@ > -# From https://github.com/OP-TEE/optee_os/archive/3.16.0/optee-os-3.16.0.tar.gz > -sha256 ebc8e18ad2039ee97c34f74a7546de9119e26f04c368b6c7fd0c55f93d33d2d6 optee-os-3.16.0.tar.gz > +# From https://github.com/OP-TEE/optee_os/archive/3.17.0/optee-os-3.16.0.tar.gz > +sha256 5d5a3bda83abddfeb5ee765a15525f23adf2709ba2475a05e0c5f25790c1883f optee-os-3.17.0.tar.gz > # Locally computed > sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE From arnout at mind.be Wed Apr 27 19:40:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Wed, 27 Apr 2022 21:40:49 +0200 Subject: [Buildroot] [PATCH] configs/olimex_stmp157: bump Linux and U-Boot In-Reply-To: <20220427143712.55713-1-francois.perrad@gadz.org> References: <20220427143712.55713-1-francois.perrad@gadz.org> Message-ID: <1fa2031a-41cd-4b08-35c2-db55b1e4ab2c@mind.be> On 27/04/2022 16:37, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > configs/olimex_stmp157_olinuxino_lime_defconfig | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig > index f9b31bbdc..a63394fa0 100644 > --- a/configs/olimex_stmp157_olinuxino_lime_defconfig > +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig > @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_GIT=y > BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" > -# branch release-20220321-v5.10.105 > -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" > +# branch release-20220413-v5.10.105 > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d417808c240d55576ee76e5cbb40413ad444ecfd" > BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" > BR2_LINUX_KERNEL_DTS_SUPPORT=y > @@ -34,8 +34,8 @@ BR2_TARGET_UBOOT=y > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > BR2_TARGET_UBOOT_CUSTOM_GIT=y > BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/OLIMEX/u-boot-olinuxino.git" > -# release-20211130, based on 2021.04 > -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="1c29714bc643c299e2ed4ba870be8d4538124144" > +# release-20220413, based on 2021.04 > +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="b39c5a7c93a2d8efaecc9cad4284378af857c3f7" > BR2_TARGET_UBOOT_BOARD_DEFCONFIG="STM32-OLinuXino-LIME" > # BR2_TARGET_UBOOT_FORMAT_BIN is not set > BR2_TARGET_UBOOT_FORMAT_IMG=y From arnout at mind.be Wed Apr 27 19:03:36 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:36 +0200 Subject: [Buildroot] [git commit] package/linknx: fix build with argp-standalone and NLS Message-ID: <20220427193053.0B3A884600@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3943a8111b9775eac601d365600af3432877d844 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:7799: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xtensa-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:179: undefined reference to `libintl_dgettext' [...] checking for library containing argp_parse... no configure: error: argp_parse not found Fixes: - http://autobuild.buildroot.org/results/ce5753193ec4518c75ee0ab9270b577397ca1c02 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/linknx/linknx.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk index dbee0742fe..dcfcd5e3f5 100644 --- a/package/linknx/linknx.mk +++ b/package/linknx/linknx.mk @@ -23,7 +23,10 @@ LINKNX_DEPENDENCIES = \ host-pkgconf \ libpthsem \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ + $(TARGET_NLS_DEPENDENCIES) + +LINKNX_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_LIBCURL),y) LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr From arnout at mind.be Wed Apr 27 19:03:32 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:32 +0200 Subject: [Buildroot] [git commit] package/libevent: fix build with libressl >= 3.5.0 Message-ID: <20220427193052.F1BAC84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e01f3fc602e25ae5f336137b91eda9b05a6802ff branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: In file included from bufferevent_openssl.c:68: bufferevent_openssl.c: In function 'bio_bufferevent_free': openssl-compat.h:44:28: error: invalid use of incomplete typedef 'BIO' {aka 'struct bio_st'} 44 | #define BIO_get_init(b) (b)->init | ^~ bufferevent_openssl.c:124:7: note: in expansion of macro 'BIO_get_init' 124 | if (BIO_get_init(b) && BIO_get_data(b)) | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/273f9aa354a08ef3af6140b8dec086408bf5d574 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...on-t-define-BIO_get_init-for-LibreSSL-3-5.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch new file mode 100644 index 0000000000..33c349b11d --- /dev/null +++ b/package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch @@ -0,0 +1,29 @@ +From 883630f76cbf512003b81de25cd96cb75c6cf0f9 Mon Sep 17 00:00:00 2001 +From: Theo Buehler +Date: Sun, 21 Nov 2021 21:38:20 +0100 +Subject: [PATCH] Don't define BIO_get_init() for LibreSSL 3.5+ + +BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type +will become opaque, so the existing macro will break the build. + +[Retrieved from: +https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9] +Signed-off-by: Fabrice Fontaine +--- + openssl-compat.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/openssl-compat.h b/openssl-compat.h +index a23e34251b..f5de25539f 100644 +--- a/openssl-compat.h ++++ b/openssl-compat.h +@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name) + #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */ + +-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && \ ++ LIBRESSL_VERSION_NUMBER < 0x30500000L + #define BIO_get_init(b) (b)->init + #endif + From arnout at mind.be Wed Apr 27 19:03:38 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:38 +0200 Subject: [Buildroot] [git commit] package/openobex: fix static with libusb and libatomic Message-ID: <20220427193053.1579184607@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d608368e1a98dd7f41d51214669149115a8f73aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Force LibUSB_VERSION_1.0 to ON to fix the following static build failure with libusb and libatomic: -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a -- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a - not found [...] /nvmedata/autobuild/instance-4/output-1/build/openobex-1.7.2/lib/transport/usbobex.h:30:10: fatal error: usb.h: No such file or directory 30 | #include | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/52b0edc4278f65fb4a9671b65c655cc4544a3103 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/openobex/openobex.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk index bc4a47e3d7..7109bffa8d 100644 --- a/package/openobex/openobex.mk +++ b/package/openobex/openobex.mk @@ -20,6 +20,7 @@ OPENOBEX_DEPENDENCIES += bluez5_utils endif ifeq ($(BR2_PACKAGE_LIBUSB),y) +OPENOBEX_CONF_OPTS += -DLibUSB_VERSION_1.0=ON OPENOBEX_DEPENDENCIES += libusb endif From arnout at mind.be Wed Apr 27 19:03:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:48 +0200 Subject: [Buildroot] [git commit] package/valgrind: bump to version 3.19.0 Message-ID: <20220427193053.3A46A84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1d0aa4d07580c26a5de744d6eb1715663537be2e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/valgrind/valgrind.hash | 4 ++-- package/valgrind/valgrind.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/valgrind/valgrind.hash b/package/valgrind/valgrind.hash index 748fc3eb82..8487c07e42 100644 --- a/package/valgrind/valgrind.hash +++ b/package/valgrind/valgrind.hash @@ -1,7 +1,7 @@ # From https://valgrind.org/downloads/current.html -md5 de56a5532b0c81781db677ca712c585a valgrind-3.18.1.tar.bz2 +md5 4687a4990585a038c52f842448ef4e63 valgrind-3.19.0.tar.bz2 # locally computed -sha256 00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5 valgrind-3.18.1.tar.bz2 +sha256 dd5e34486f1a483ff7be7300cc16b4d6b24690987877c3278d797534d6738f02 valgrind-3.19.0.tar.bz2 # License files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index a3eabec9fe..b4c4b8b5a2 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -4,7 +4,7 @@ # ################################################################################ -VALGRIND_VERSION = 3.18.1 +VALGRIND_VERSION = 3.19.0 VALGRIND_SITE = https://sourceware.org/pub/valgrind VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 From arnout at mind.be Wed Apr 27 19:03:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:52 +0200 Subject: [Buildroot] [git commit] package/python3: drop libressl support Message-ID: <20220427193053.42D8F84607@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bbf93570426c64499ec9221c5dca1d1cc29db4fc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Libressl is no longer supported as of python 3.10. See: https://peps.python.org/pep-0644/#libressl Fixes: - http://autobuild.buildroot.net/results/a16/a160cfdc9dfc036c4dc41af1c796f8838d91c573 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python3/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python3/Config.in b/package/python3/Config.in index 61470c2944..761c38c850 100644 --- a/package/python3/Config.in +++ b/package/python3/Config.in @@ -89,7 +89,8 @@ config BR2_PACKAGE_PYTHON3_READLINE config BR2_PACKAGE_PYTHON3_SSL bool "ssl" select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 help _ssl module for Python3 (required for https in urllib etc). From arnout at mind.be Wed Apr 27 19:03:42 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:42 +0200 Subject: [Buildroot] [git commit] package/libsrtp: fix build with libressl >= 3.5.0 Message-ID: <20220427193053.2059384600@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=999edde7dfdf574d7a25ad6e69900b2e1f8ceb0b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: crypto/hash/hmac_ossl.c: In function 'srtp_hmac_alloc': crypto/hash/hmac_ossl.c:88:55: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} 88 | pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c346780ed664c9fe8c7112e4c256cfe8080a7af5 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch new file mode 100644 index 0000000000..68bfb085f7 --- /dev/null +++ b/package/libsrtp/0001-Remove-compatibility-code-for-legacy-OpenSSL-to-fix-LibreSSL-build.patch @@ -0,0 +1,86 @@ +From 16483b18a9980575bee23898b2dbfbe2a4675d84 Mon Sep 17 00:00:00 2001 +From: Klemens Nanni +Date: Sat, 15 Jan 2022 23:19:35 +0300 +Subject: [PATCH] Remove compatibility code for legacy OpenSSL to fix LibreSSL + build + +In current LibreSSL, `HMAC_CTX` aka. `struct hmac_ctx_st` is an opaque +structure as of LibreSSL hmac.h revision 1.15 (14.01.2022) [0], thus +`sizeof(HMAC_CTX)` fails to compile. + +The non-legacy code path should compile with LibreSSL versions as old +as 2.7.0 (21.03.2018). + +Found while building https://github.com/desktop-app/tg_owt which bundles +libsrtp 2.2.0 [1] on OpenBSD 7.0 -CURRENT/with latest LibreSSL. + +Suggestion to remove the legacy code from Theo Buehler, thanks. + +0: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libcrypto/hmac/hmac.h?rev=1.15&content-type=text/x-cvsweb-markup +1: https://github.com/desktop-app/tg_owt/blob/6708e0d31a73e64fe12f54829bf4060c41b2658e/src/third_party/libsrtp/crypto/hash/hmac_ossl.c#L85 + +[Retrieved from: +https://github.com/cisco/libsrtp/commit/16483b18a9980575bee23898b2dbfbe2a4675d84] +Signed-off-by: Fabrice Fontaine +--- + crypto/hash/hmac_ossl.c | 29 ----------------------------- + 1 file changed, 29 deletions(-) + +diff --git a/crypto/hash/hmac_ossl.c b/crypto/hash/hmac_ossl.c +index ee6b0b58..c23c7f21 100644 +--- a/crypto/hash/hmac_ossl.c ++++ b/crypto/hash/hmac_ossl.c +@@ -78,26 +78,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, + return srtp_err_status_bad_param; + } + +-/* OpenSSL 1.1.0 made HMAC_CTX an opaque structure, which must be allocated +- using HMAC_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER +- { +- /* allocate memory for auth and HMAC_CTX structures */ +- uint8_t *pointer; +- HMAC_CTX *new_hmac_ctx; +- pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + +- sizeof(srtp_auth_t)); +- if (pointer == NULL) { +- return srtp_err_status_alloc_fail; +- } +- *a = (srtp_auth_t *)pointer; +- (*a)->state = pointer + sizeof(srtp_auth_t); +- new_hmac_ctx = (HMAC_CTX *)((*a)->state); +- +- HMAC_CTX_init(new_hmac_ctx); +- } +- +-#else + *a = (srtp_auth_t *)srtp_crypto_alloc(sizeof(srtp_auth_t)); + if (*a == NULL) { + return srtp_err_status_alloc_fail; +@@ -109,7 +89,6 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t **a, + *a = NULL; + return srtp_err_status_alloc_fail; + } +-#endif + + /* set pointers */ + (*a)->type = &srtp_hmac; +@@ -126,18 +105,10 @@ static srtp_err_status_t srtp_hmac_dealloc(srtp_auth_t *a) + + hmac_ctx = (HMAC_CTX *)a->state; + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER +- HMAC_CTX_cleanup(hmac_ctx); +- +- /* zeroize entire state*/ +- octet_string_set_to_zero(a, sizeof(HMAC_CTX) + sizeof(srtp_auth_t)); +- +-#else + HMAC_CTX_free(hmac_ctx); + + /* zeroize entire state*/ + octet_string_set_to_zero(a, sizeof(srtp_auth_t)); +-#endif + + /* free memory */ + srtp_crypto_free(a); From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/brotli: workaround m68k build issues Message-ID: <20220427193053.71F7784607@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8915f51cc0dcc6977973bd5f1cd12fa4aa87f1e0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master On m68k building with optimizations results in failures such as: /tmp/cckiMnG5.s: Assembler messages: /tmp/cckiMnG5.s:142572: Error: value -39206 out of range /tmp/cckiMnG5.s:142629: Error: value -40282 out of range /tmp/cckiMnG5.s:146408: Error: value -53294 out of range /tmp/cckiMnG5.s:159014: Error: value -39206 out of range /tmp/cckiMnG5.s:159071: Error: value -40282 out of range /tmp/cckiMnG5.s:162850: Error: value -53294 out of range /tmp/cckiMnG5.s:175456: Error: value -39206 out of range /tmp/cckiMnG5.s:175513: Error: value -40282 out of range /tmp/cckiMnG5.s:179292: Error: value -53294 out of range /tmp/cckiMnG5.s:191898: Error: value -39206 out of range /tmp/cckiMnG5.s:191955: Error: value -40282 out of range /tmp/cckiMnG5.s:195734: Error: value -53294 out of range These only appear when building with -O2, the smaller code generated with -Os does not cause trouble, so workaround by using that. Fixes: http://autobuild.buildroot.net/results/2f222d5a86b4237b81ca31dba89f58b0e6e879db/ Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/brotli/brotli.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/brotli/brotli.mk b/package/brotli/brotli.mk index 43c8524c0b..ac49fe664f 100644 --- a/package/brotli/brotli.mk +++ b/package/brotli/brotli.mk @@ -21,6 +21,12 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) BROTLI_CFLAGS += -O0 endif +# Workaround "Error: value -1234 out of range" assembler issues +# when building with optimizations. +ifeq ($(BR2_m68k),y) +BROTLI_CFLAGS += -Os +endif + BROTLI_CONF_OPTS += -DCMAKE_C_FLAGS="$(BROTLI_CFLAGS)" $(eval $(cmake-package)) From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/libgit2: bump version to 1.4.3 Message-ID: <20220427193053.600B084604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=01ee7f84fb9da338d36fbaad3cf8a07391a843d3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master git added restrictions on config files to fix CVE 2022-24765. libgit2 adopted these changes for compatibility reasons, even if the vuln is not exploitable in libgit2. https://github.com/libgit2/libgit2/releases/tag/v1.4.3 Signed-off-by: Nicolas Cavallari Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libgit2/libgit2.hash | 2 +- package/libgit2/libgit2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libgit2/libgit2.hash b/package/libgit2/libgit2.hash index ada411ea22..3b5837f789 100644 --- a/package/libgit2/libgit2.hash +++ b/package/libgit2/libgit2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 901c2b4492976b86477569502a41c31b274b69adc177149c02099ea88404ef19 libgit2-1.4.2.tar.gz +sha256 f48b961e463a9e4e7e7e58b21a0fb5a9b2a1d24d9ba4d15870a0c9b8ad965163 libgit2-1.4.3.tar.gz sha256 0092f24acc306ee3287dc05b5e85cb9e0e48cd3f11c60c4625b1a673a5912616 COPYING diff --git a/package/libgit2/libgit2.mk b/package/libgit2/libgit2.mk index e94dd9c370..3f1e6e1593 100644 --- a/package/libgit2/libgit2.mk +++ b/package/libgit2/libgit2.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBGIT2_VERSION = 1.4.2 +LIBGIT2_VERSION = 1.4.3 LIBGIT2_SITE = $(call github,libgit2,libgit2,v$(LIBGIT2_VERSION)) LIBGIT2_LICENSE = GPL-2.0 with linking exception, MIT (sha1), wildmatch license (wildmatch), CC0-1.0 (xoroshiro256) LIBGIT2_LICENSE_FILES = COPYING From arnout at mind.be Wed Apr 27 19:03:46 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:46 +0200 Subject: [Buildroot] [git commit] package/wayland: don't rely on implicit GNU extensions Message-ID: <20220427193053.2ED6384606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6af4292de79c9110b26fcedee192b27672ad7173 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Backport a patch so that we don't rely on implicit GNU extensions. Fixes: - http://autobuild.buildroot.net/results/c22/c227166c2825ae4e884936fbe627f3997e0e19b7 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ild-don-t-rely-on-implicit-GNU-extensions.patch | 108 +++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch new file mode 100644 index 0000000000..fcafa98f46 --- /dev/null +++ b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch @@ -0,0 +1,108 @@ +From 0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9 Mon Sep 17 00:00:00 2001 +From: Simon Ser +Date: Mon, 10 Jan 2022 14:51:55 +0100 +Subject: [PATCH] build: don't rely on implicit GNU extensions + +Currently libwayland assumes GNU extensions will be available, but +doesn't define the C standard to use. Instead, let's unconditionally +enable POSIX extensions, and enable GNU extensions on a case-by-case +basis as needed. + +Signed-off-by: Simon Ser +Signed-off-by: James Hilliard +[james.hilliard1 at gmail.com: backport from upstream commit +0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9] +--- + cursor/xcursor.c | 1 + + meson.build | 10 ++++++++-- + tests/display-test.c | 1 + + tests/event-loop-test.c | 1 + + tests/fixed-test.c | 1 + + 5 files changed, 12 insertions(+), 2 deletions(-) + +diff --git a/cursor/xcursor.c b/cursor/xcursor.c +index 0506680..188be7c 100644 +--- a/cursor/xcursor.c ++++ b/cursor/xcursor.c +@@ -23,6 +23,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include "xcursor.h" + #include + #include +diff --git a/meson.build b/meson.build +index 07bbd29..cab267e 100644 +--- a/meson.build ++++ b/meson.build +@@ -14,6 +14,12 @@ config_h = configuration_data() + config_h.set_quoted('PACKAGE', meson.project_name()) + config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) + ++cc_args = [] ++if host_machine.system() != 'freebsd' ++ cc_args += ['-D_POSIX_C_SOURCE=200809L'] ++endif ++add_project_arguments(cc_args, language: 'c') ++ + compiler_flags = [ + '-Wno-unused-parameter', + '-Wstrict-prototypes', +@@ -79,7 +85,7 @@ if get_option('libraries') + ] + + foreach d: decls +- if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep) ++ if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep, args: cc_args) + error('@0@ is needed to compile Wayland libraries'.format(d['symbol'])) + endif + endforeach +@@ -87,7 +93,7 @@ if get_option('libraries') + rt_dep = [] + if not cc.has_function('clock_gettime', prefix: '#include ') + rt_dep = cc.find_library('rt') +- if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep) ++ if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep, args: cc_args) + error('clock_gettime not found') + endif + endif +diff --git a/tests/display-test.c b/tests/display-test.c +index 763adc9..a6f410d 100644 +--- a/tests/display-test.c ++++ b/tests/display-test.c +@@ -24,6 +24,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c +index 9d43c91..a51ba8f 100644 +--- a/tests/event-loop-test.c ++++ b/tests/event-loop-test.c +@@ -24,6 +24,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +diff --git a/tests/fixed-test.c b/tests/fixed-test.c +index 47a4dae..0b58797 100644 +--- a/tests/fixed-test.c ++++ b/tests/fixed-test.c +@@ -23,6 +23,7 @@ + * SOFTWARE. + */ + ++#define _GNU_SOURCE + #include + #include + #include +-- +2.25.1 + From arnout at mind.be Wed Apr 27 19:03:55 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:03:55 +0200 Subject: [Buildroot] [git commit] package/python3: fix unsafe openssl header path Message-ID: <20220427193053.4C94184606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fbf78c2a738b1a0413c835201064abfa9a3a03f1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers. Fixes: - http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python3/python3.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cffb34e264..6d03e2c6b1 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -103,6 +103,7 @@ endif ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y) PYTHON3_DEPENDENCIES += openssl +PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr else PYTHON3_CONF_OPTS += --disable-openssl endif From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/nodejs: add missing host-pkgconf dependency Message-ID: <20220427193053.6907984606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bcaf5eb0c19e57b48a15a815d7b466bc06475ea5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: - http://autobuild.buildroot.net/results/d1f/d1f49b451b56e3cf6a97d27e8db5b85b0cb58ca9 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/nodejs/nodejs.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2e41c11dbd..4fe34e0aad 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -7,10 +7,11 @@ NODEJS_VERSION = 14.18.3 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) -NODEJS_DEPENDENCIES = host-qemu host-python3 host-nodejs c-ares \ +NODEJS_DEPENDENCIES = host-qemu host-pkgconf host-python3 host-nodejs c-ares \ libuv zlib nghttp2 \ $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python3 host-zlib +HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-pkgconf host-python3 \ + host-zlib NODEJS_INSTALL_STAGING = YES NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency Message-ID: <20220427193053.56D2C84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1a47c42b33f0426776e29a0df58c08fb654ab4ca branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3 Signed-off-by: James Hilliard Reviewed-by: Kris Bahnsen Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wilc-driver/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in index caf46ae281..24a7b05b17 100644 --- a/package/wilc-driver/Config.in +++ b/package/wilc-driver/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_WILC_DRIVER bool "wilc kernel module" + depends on BR2_LINUX_KERNEL help External kernel module for WILC1000/3000 devices. @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER https://github.com/embeddedTS/wilc3000-external-module +comment "wilc kernel module needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + if BR2_PACKAGE_WILC_DRIVER config BR2_PACKAGE_WILC_DRIVER_SPI From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] package/optee-client: bump to version 3.17.0 Message-ID: <20220427193053.8CE2584604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ffd45b8726d42bb299199d9f1e10ee3d3469c85a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE Client package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/optee-client/optee-client.hash | 4 ++-- package/optee-client/optee-client.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-client/optee-client.hash b/package/optee-client/optee-client.hash index ff90f6d2a8..d2efb1043a 100644 --- a/package/optee-client/optee-client.hash +++ b/package/optee-client/optee-client.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_client/archive/3.16.0/optee-client-3.16.0.tar.gz -sha256 cba92bedc9f8c39c19e50a22259066eaad5ceb248308edee27e221f11f5d8064 optee-client-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_client/archive/3.17.0/optee-client-3.17.0.tar.gz +sha256 bf62ceaac59e8a650abf7632e702b5929335f4974f3173f8c51900cb0f91660f optee-client-3.17.0.tar.gz # Locally computed sha256 fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f LICENSE diff --git a/package/optee-client/optee-client.mk b/package/optee-client/optee-client.mk index 2cadc564f0..aaf072b40f 100644 --- a/package/optee-client/optee-client.mk +++ b/package/optee-client/optee-client.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_CLIENT_VERSION = 3.16.0 +OPTEE_CLIENT_VERSION = 3.17.0 OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION)) OPTEE_CLIENT_LICENSE = BSD-2-Clause OPTEE_CLIENT_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] package/optee-test: bump to version 3.17.0 Message-ID: <20220427193053.99A6084606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=97f09504aac0c558b2a3a3575f35b4ddf6ea1bb4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE test package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/optee-test/optee-test.hash | 4 ++-- package/optee-test/optee-test.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-test/optee-test.hash b/package/optee-test/optee-test.hash index c42e922d90..7f2c4110db 100644 --- a/package/optee-test/optee-test.hash +++ b/package/optee-test/optee-test.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_test/archive/3.16.0/optee-test-3.16.0.tar.gz -sha256 b24a3871605a341fa87e6d4e111f97001f11a72c025e75d6739ed78841b6acba optee-test-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_test/archive/3.17.0/optee-test-3.17.0.tar.gz +sha256 5b0555b6fef926f8a0a471285cb4c264407c9be32461836240b3c412bf7933bb optee-test-3.17.0.tar.gz # Locally computed sha256 6e6810981f0ddab9e0d44399d0700a15d9f760a3c2843cc866659c2074139ae7 LICENSE.md diff --git a/package/optee-test/optee-test.mk b/package/optee-test/optee-test.mk index 7b27558b36..3a5670d26b 100644 --- a/package/optee-test/optee-test.mk +++ b/package/optee-test/optee-test.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_TEST_VERSION = 3.16.0 +OPTEE_TEST_VERSION = 3.17.0 OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION)) OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause, OPTEE_TEST_LICENSE_FILES = LICENSE.md From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] package/meson: bump to version 0.62.1 Message-ID: <20220427193053.7CF0284604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=91eba12881074e5ac51cf7219cab0da5a3fd3f20 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/meson/meson.hash | 4 ++-- package/meson/meson.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/meson/meson.hash b/package/meson/meson.hash index 38fa43f6dc..2037c46bbc 100644 --- a/package/meson/meson.hash +++ b/package/meson/meson.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://github.com/mesonbuild/meson/releases/download/0.62.0/meson-0.62.0.tar.gz.asc -sha256 06f8c1cfa51bfdb533c82623ffa524cacdbea02ace6d709145e33aabdad6adcb meson-0.62.0.tar.gz +# https://github.com/mesonbuild/meson/releases/download/0.62.1/meson-0.62.1.tar.gz.asc +sha256 a0f5caa1e70da12d5e63aa6a9504273759b891af36c8d87de381a4ed1380e845 meson-0.62.1.tar.gz sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING diff --git a/package/meson/meson.mk b/package/meson/meson.mk index 13adc2f2b1..6d55f19402 100644 --- a/package/meson/meson.mk +++ b/package/meson/meson.mk @@ -4,7 +4,7 @@ # ################################################################################ -MESON_VERSION = 0.62.0 +MESON_VERSION = 0.62.1 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) MESON_LICENSE = Apache-2.0 MESON_LICENSE_FILES = COPYING From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] configs/olimex_stmp157: bump Linux and U-Boot Message-ID: <20220427193053.B3B2A84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1a424e9a4b968bb799ac166ec2e14fb6d89c8b35 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/olimex_stmp157_olinuxino_lime_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig index f9b31bbdc4..a63394fa0b 100644 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ b/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -16,8 +16,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20220321-v5.10.105 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="82a1d20f488b895ffe817c5692a631237e257b7d" +# branch release-20220413-v5.10.105 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d417808c240d55576ee76e5cbb40413ad444ecfd" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -34,8 +34,8 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/OLIMEX/u-boot-olinuxino.git" -# release-20211130, based on 2021.04 -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="1c29714bc643c299e2ed4ba870be8d4538124144" +# release-20220413, based on 2021.04 +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="b39c5a7c93a2d8efaecc9cad4284378af857c3f7" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="STM32-OLinuXino-LIME" # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_IMG=y From arnout at mind.be Wed Apr 27 19:27:09 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:09 +0200 Subject: [Buildroot] [git commit] boot/optee-os: bump to version 3.17.0 Message-ID: <20220427193053.848F084606@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ba146579d94e40bb15108b1c1589a776609b0785 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE OS package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in index 30b6f62434..fb8a189a75 100644 --- a/boot/optee-os/Config.in +++ b/boot/optee-os/Config.in @@ -18,7 +18,7 @@ choice Select the version of OP-TEE OS you want to use config BR2_TARGET_OPTEE_OS_LATEST - bool "3.16.0" + bool "3.17.0" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY help @@ -52,7 +52,7 @@ endif config BR2_TARGET_OPTEE_OS_VERSION string - default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST + default "3.17.0" if BR2_TARGET_OPTEE_OS_LATEST default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ if BR2_TARGET_OPTEE_OS_CUSTOM_GIT diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash index d3a2637a4e..5c1047bac3 100644 --- a/boot/optee-os/optee-os.hash +++ b/boot/optee-os/optee-os.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_os/archive/3.16.0/optee-os-3.16.0.tar.gz -sha256 ebc8e18ad2039ee97c34f74a7546de9119e26f04c368b6c7fd0c55f93d33d2d6 optee-os-3.16.0.tar.gz +# From https://github.com/OP-TEE/optee_os/archive/3.17.0/optee-os-3.16.0.tar.gz +sha256 5d5a3bda83abddfeb5ee765a15525f23adf2709ba2475a05e0c5f25790c1883f optee-os-3.17.0.tar.gz # Locally computed sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] package/optee-benchmark: bump to version 3.17.0 Message-ID: <20220427193053.A9FC584607@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=48f839511980b2519542619c150b588221fea821 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE Benchmark package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/optee-benchmark/optee-benchmark.hash | 4 ++-- package/optee-benchmark/optee-benchmark.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-benchmark/optee-benchmark.hash b/package/optee-benchmark/optee-benchmark.hash index 2e75b4ff8e..54981c9d2c 100644 --- a/package/optee-benchmark/optee-benchmark.hash +++ b/package/optee-benchmark/optee-benchmark.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_benchmark/archive/3.16.0/optee-benchmark-3.16.0.tar.gz -sha256 55b24525f08ffda6799f90ab7bab2125f1c3f17d5cbd1b34480cd28b5f46fca9 optee-benchmark-3.16.0.tar.gz +# From https://github.com/linaro-swg/optee_benchmark/archive/3.17.0/optee-benchmark-3.17.0.tar.gz +sha256 50a4623a4c34909e722d403381e4077c84d7189ab3a7ed57a402a3461bee13e3 optee-benchmark-3.17.0.tar.gz # Locally computed sha256 0571be5b739142dc3e40e0a4e7e30d4ab8bff0d4d606a3f2db2010745587d383 LICENSE diff --git a/package/optee-benchmark/optee-benchmark.mk b/package/optee-benchmark/optee-benchmark.mk index 493f407a44..1f5e01b868 100644 --- a/package/optee-benchmark/optee-benchmark.mk +++ b/package/optee-benchmark/optee-benchmark.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_BENCHMARK_VERSION = 3.16.0 +OPTEE_BENCHMARK_VERSION = 3.17.0 OPTEE_BENCHMARK_SITE = $(call github,linaro-swg,optee_benchmark,$(OPTEE_BENCHMARK_VERSION)) OPTEE_BENCHMARK_LICENSE = BSD-2-Clause OPTEE_BENCHMARK_LICENSE_FILES = LICENSE From arnout at mind.be Wed Apr 27 19:27:10 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Wed, 27 Apr 2022 21:27:10 +0200 Subject: [Buildroot] [git commit] package/optee-examples: bump to version 3.17.0 Message-ID: <20220427193053.A1EFF84604@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ffa62a6c81b26b9769a339ed0f9022cf39029601 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bump OP-TEE Examples package version to OP-TEE release 3.17.0. Cc: Cl??ment L??ger Signed-off-by: Etienne Carriere Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/optee-examples/optee-examples.hash | 4 ++-- package/optee-examples/optee-examples.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-examples/optee-examples.hash b/package/optee-examples/optee-examples.hash index 9228fb39d2..0433c72752 100644 --- a/package/optee-examples/optee-examples.hash +++ b/package/optee-examples/optee-examples.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_examples/archive/3.16.0/optee-examples-3.16.0.tar.gz -sha256 45e06dc5520f3097cc124434acafc26b8db28db87df62f3ad2ddff06cacce969 optee-examples-3.16.0.tar.gz +# From https://github.com/linaro-swg/optee_examples/archive/3.17.0/optee-examples-3.17.0.tar.gz +sha256 03d18a0439cfe99ed1ceefc9af000b39b28424c8747e0d92a2701e7fbb6c519a optee-examples-3.17.0.tar.gz # Locally computed sha256 6f1ef8449cb82ae79d2155605f7985bdf0f08e7ab5007de9b4362e8bf28733b9 LICENSE diff --git a/package/optee-examples/optee-examples.mk b/package/optee-examples/optee-examples.mk index 31e5f260df..ebb0688af5 100644 --- a/package/optee-examples/optee-examples.mk +++ b/package/optee-examples/optee-examples.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_EXAMPLES_VERSION = 3.16.0 +OPTEE_EXAMPLES_VERSION = 3.17.0 OPTEE_EXAMPLES_SITE = $(call github,linaro-swg,optee_examples,$(OPTEE_EXAMPLES_VERSION)) OPTEE_EXAMPLES_LICENSE = BSD-2-Clause OPTEE_EXAMPLES_LICENSE_FILES = LICENSE From peter at korsgaard.com Wed Apr 27 20:09:17 2022 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 27 Apr 2022 22:09:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <2c51f9ba-5d02-17f7-98d0-8a4c1b6dcf79@mind.be> (Arnout Vandecappelle's message of "Wed, 27 Apr 2022 17:41:53 +0200") References: <20220427035039.1664864-1-james.hilliard1@gmail.com> <20220427103102.7f934c1f@windsurf> <2c51f9ba-5d02-17f7-98d0-8a4c1b6dcf79@mind.be> Message-ID: <87y1zqi902.fsf@dell.be.48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle writes: Hi, >>> I don't have a very well-informed opinion, but perhaps we should think >>> about this? >> Yeah, not really sure, it may be useful to keep around, I think it >> has an >> alternative updated API to openssl's updated API that may be desirable >> for some use cases, although probably not the most commonly used. > At that point, however, having libressl as a virtual package > alternative for openssl becomes less and less realistic. Virtual > packages should only be used if the alternatives can be considered > drop-in replacements with compatible API. A few exceptions are > acceptable, but it's becoming too much. > We should also start thinking what to do with openssl 3. It has an > API that is somewhat compatible with openssl 1.1.1, but there are > almost no packages that can use it without any changes. This could > actually be an opportunity to get aout of this mess: most packages > that are not compatible with libressl are probably already compatible > with openssl 3. So if we introduce an openssl3 package, we can migrate > the packages that don't like libressl to that, and leave the choice > between openssl 1.1.1 and libressl for legacy and BSD packages. That indeed sounds like a way forward. Do we expect most applications to (already have) move to the v3.x API or do we rather expect to have to keep around openssl 1.1.1 / libressl for a long time? -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Wed Apr 27 20:08:38 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:08:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/bubblewrap: disable tests Message-ID: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> Disable tests to avoid the following build failure on mips32: [9/10] Compiling C object tests/try-syscall.p/try-syscall.c.o FAILED: tests/try-syscall.p/try-syscall.c.o /home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c ../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" 34 | # error "Unknown MIPS ABI" | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee Signed-off-by: Fabrice Fontaine --- .../0001-meson-add-tests-option.patch | 54 +++++++++++++++++++ package/bubblewrap/bubblewrap.mk | 3 +- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 package/bubblewrap/0001-meson-add-tests-option.patch diff --git a/package/bubblewrap/0001-meson-add-tests-option.patch b/package/bubblewrap/0001-meson-add-tests-option.patch new file mode 100644 index 0000000000..32836f925d --- /dev/null +++ b/package/bubblewrap/0001-meson-add-tests-option.patch @@ -0,0 +1,54 @@ +From 34ea0ad841d6f9167db391c08e6cd51471fed6be Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 11:27:06 +0200 +Subject: [PATCH] meson: add tests option + +Allow the user to disable tests, for example to avoid the following +build failure on mips32: + +FAILED: tests/try-syscall.p/try-syscall.c.o +/home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c +../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" + 34 | # error "Unknown MIPS ABI" + | ^~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/containers/bubblewrap/commit/34ea0ad841d6f9167db391c08e6cd51471fed6be] +--- + meson.build | 4 +++- + meson_options.txt | 6 ++++++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b63aa64..9277ac4e 100644 +--- a/meson.build ++++ b/meson.build +@@ -152,4 +152,6 @@ if not meson.is_subproject() + subdir('completions') + endif + +-subdir('tests') ++if get_option('tests') ++ subdir('tests') ++endif +diff --git a/meson_options.txt b/meson_options.txt +index 2fa3a8c3..a136a3c3 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -38,6 +38,12 @@ option( + description : 'enable optional SELINUX support', + value : 'auto', + ) ++option( ++ 'tests', ++ type : 'boolean', ++ description : 'build tests', ++ value : 'true', ++) + option( + 'zsh_completion', + type : 'feature', diff --git a/package/bubblewrap/bubblewrap.mk b/package/bubblewrap/bubblewrap.mk index 5875b0d6e2..81456e9e0d 100644 --- a/package/bubblewrap/bubblewrap.mk +++ b/package/bubblewrap/bubblewrap.mk @@ -17,7 +17,8 @@ BUBBLEWRAP_CONF_OPTS = \ -Dzsh_completion=disabled \ -Dman=disabled \ -Dpython=$(HOST_DIR)/bin/python \ - -Drequire_userns=false + -Drequire_userns=false \ + -Dtests=false ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) BUBBLEWRAP_CONF_OPTS += \ -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 27 20:15:34 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:15:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptodev-linux: needs CONFIG_CRYPTO_USER_API_AEAD In-Reply-To: <20220426235740.1b2543d1@windsurf> References: <20220426212026.712081-1-fontaine.fabrice@gmail.com> <20220426235740.1b2543d1@windsurf> Message-ID: Le mar. 26 avr. 2022 ? 23:57, Thomas Petazzoni a ?crit : > > On Tue, 26 Apr 2022 23:20:26 +0200 > Fabrice Fontaine wrote: > > > CONFIG_CRYPTO_USER_API_AEAD is needed to fix the following build > > failure: > > > > ERROR: modpost: "crypto_alloc_skcipher" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "scatterwalk_map_and_copy" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_ahash_final" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_aead_encrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_aead_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_skcipher_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_destroy_tfm" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_skcipher_setkey" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_aead_decrypt" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > ERROR: modpost: "crypto_aead_setauthsize" [/home/autobuild/autobuild/instance-2/output-1/build/cryptodev-linux-1.12/./cryptodev.ko] undefined! > > Are you sure of the relationship between these functions and > CONFIG_CRYPTO_USER_API_AEAD ? > > crypto_aead_encrypt() is implemented in crypto/aead.c, which is built > when CONFIG_CRYPTO_AEAD2=y. > > crypto_skcipher_setkey() is implemented in crypto/skcipher.c, which is > built when CONFIG_CRYPTO_SKCIPHER2=y. > > CRYPTO_USER_API_AEAD enables a user-space interface, but here we're > talking about a kernel-level interface. > > Could you clarify? I'm far from being a kernel or cryptodev-linux expert but here is was my reasonning: - CONFIG_CRYPTO_AEAD2 and CONFIG_CRYPTO_SKCIPHER2 are hidden options that can't be enabled by KCONFIG_ENABLE_OPT. - From my understanding cryptodev-linux allows "userspace applications to take advantage of hardware accelerators". So, I assumed that cryptodev-linux needed some sort of userspace API on the kernel. However, I didn't find a lot of information about this subject on cryptodev-linux website. It seems that some projects pointed out that CRYPTO_USER_API_AEAD should be enabled (e.g. https://github.com/scaleway/kernel-tools/issues/148). Indeed, CRYPTO_USER_API_AEAD will select CONFIG_CRYPTO_{AEAD,SKCIPHER} (and so CONFIG_CRYPTO_{AEAD,SKCIPHER}2). However, as I said, I could be totally wrong, perhaps selecting CRYPTO_USER_API_AEAD is not correct (even if it fixes the build failure). Hopefully, someone with more knowledge of cryptodev-linux should be able to find the correct fix. > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com Best Regards, Fabrice From fontaine.fabrice at gmail.com Wed Apr 27 20:18:12 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:18:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/freeipmi: fix build with argp-standalone and NLS Message-ID: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:14644: checking for argp_parse in -largp configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' [...] In file included from freeipmi-argp-fmtstream.c:35: freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' 62 | #define __argp_fmtstream_write argp_fmtstream_write | ^~~~~~~~~~~~~~~~~~~~ freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, | ^~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 Signed-off-by: Fabrice Fontaine --- package/freeipmi/freeipmi.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/freeipmi/freeipmi.mk b/package/freeipmi/freeipmi.mk index 9fb59245b9..b26ed0c0bf 100644 --- a/package/freeipmi/freeipmi.mk +++ b/package/freeipmi/freeipmi.mk @@ -20,7 +20,8 @@ FREEIPMI_CONF_OPTS = --without-random-device # Work around for uClibc or musl toolchains which lack argp_*() # functions. ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -FREEIPMI_DEPENDENCIES += argp-standalone +FREEIPMI_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) +FREEIPMI_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) endif ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -- 2.35.1 From bernd.kuhls at t-online.de Wed Apr 27 20:25:24 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Wed, 27 Apr 2022 22:25:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-zattoo: bump version to 19.7.14-Matrix Message-ID: <20220427202524.53586-1-bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash index 4f9a60e942..d7693bdfb0 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz +sha256 ccd27cfbfee58df9acc71df0661bd56ff34fbf7d9afc8de78d3224d33b30ef44 kodi-pvr-zattoo-19.7.14-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk index f2badeaa05..658db25f27 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix +KODI_PVR_ZATTOO_VERSION = 19.7.14-Matrix KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md -- 2.30.2 From fontaine.fabrice at gmail.com Wed Apr 27 20:42:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:42:48 +0200 Subject: [Buildroot] [PATCH 1/2] package/libv4l: drop -largp Message-ID: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> Commit 07ac045655d08255fbc2d17b16a42d0f0017632e added -largp to LIBS but it was not needed since https://git.linuxtv.org/v4l-utils.git/commit/configure.ac?id=b187b94d8e9158973ad17ea1f9c4cb01df117ba3 Signed-off-by: Fabrice Fontaine --- package/libv4l/libv4l.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index 8300f5c970..a781ffcd5d 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -28,7 +28,6 @@ endif ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) LIBV4L_DEPENDENCIES += argp-standalone -LIBV4L_LIBS += -largp endif LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) @@ -85,6 +84,4 @@ ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) LIBV4L_DEPENDENCIES += sdl2_image endif -LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" - $(eval $(autotools-package)) -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 27 20:42:49 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:42:49 +0200 Subject: [Buildroot] [PATCH 2/2] package/libv4l: fix build with argp-standalone and NLS In-Reply-To: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> References: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> Message-ID: <20220427204249.3207448-2-fontaine.fabrice@gmail.com> Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:19923: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/i686-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -largp >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' [...] checking for library containing argp_parse... no configure: error: unable to find the argp_parse() function Fixes: - http://autobuild.buildroot.org/results/b7b2253ac902b441cc6ff12500b56bd15c413d71 Signed-off-by: Fabrice Fontaine --- package/libv4l/libv4l.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index a781ffcd5d..fd69b7ac7a 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -27,7 +27,8 @@ LIBV4L_DEPENDENCIES += alsa-lib endif ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -LIBV4L_DEPENDENCIES += argp-standalone +LIBV4L_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) +LIBV4L_CONF_ENV += LIBS=$(TARGET_NLS_LIBS) endif LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 27 20:50:57 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 22:50:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs atomic Message-ID: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> numactl unconditionally uses __atomic_fetch_and resulting in the following build failure on microblaze since commit 4ed540ddf59bec4b389be44d7f42820d2466904f: /nvmedata/autobuild/instance-5/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: ./.libs/libnuma.a(libnuma.o): in function `numa_node_to_cpus_v1': (.text+0x2a34): undefined reference to `__atomic_fetch_and_1' Fixes: - http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a Signed-off-by: Fabrice Fontaine --- package/numactl/Config.in | 1 + package/rt-tests/Config.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package/numactl/Config.in b/package/numactl/Config.in index 23cf7facb0..325a05d609 100644 --- a/package/numactl/Config.in +++ b/package/numactl/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_NUMACTL bool "numactl" depends on BR2_USE_MMU # madvise() + depends on BR2_TOOLCHAIN_HAS_ATOMIC help numactl allows you to run your application on specific cpus and memory nodes. It does this by supplying a NUMA memory diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in index 8efa3d194e..ccfa040d70 100644 --- a/package/rt-tests/Config.in +++ b/package/rt-tests/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_RT_TESTS bool "rt-tests" depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics + depends on BR2_TOOLCHAIN_HAS_ATOMIC # numactl depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU # fork(), numactl @@ -32,6 +33,7 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain" comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_USE_MMU -- 2.35.1 From fontaine.fabrice at gmail.com Wed Apr 27 21:04:19 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Wed, 27 Apr 2022 23:04:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/libssh2: fix build with libressl >= 3.5.0 Message-ID: <20220427210419.1432804-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: crypt.c:71:25: error: field 'h' has incomplete type 71 | _libssh2_cipher_ctx h; | ^ Fixes: - http://autobuild.buildroot.org/results/47f492ccd4888fe4a150b36e12c88f1e068d46b6 Signed-off-by: Fabrice Fontaine --- .../0001-Opaque-structs-in-LibreSSL-3-5.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch diff --git a/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch new file mode 100644 index 0000000000..2e1fd8871c --- /dev/null +++ b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch @@ -0,0 +1,27 @@ +From 7f55a033e5054529e5e69f06725dd02a573329b6 Mon Sep 17 00:00:00 2001 +From: Charlie Li +Date: Wed, 2 Mar 2022 19:50:56 -0500 +Subject: [PATCH] Opaque structs in LibreSSL 3.5 + +[Retrieved (and backported) from: +https://github.com/libssh2/libssh2/pull/682/commits/7f55a033e5054529e5e69f06725dd02a573329b6] +Signed-off-by: Fabrice Fontaine +--- + src/openssl.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/openssl.h b/src/openssl.h +index 3eef02368..c13542481 100644 +--- a/src/openssl.h ++++ b/src/openssl.h +@@ -94,8 +94,8 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ +- !defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) + # define HAVE_OPAQUE_STRUCTS 1 + #endif + -- 2.35.1 From aperez at igalia.com Wed Apr 27 21:12:03 2022 From: aperez at igalia.com (Adrian Perez de Castro) Date: Thu, 28 Apr 2022 00:12:03 +0300 Subject: [Buildroot] [PATCH 1/1] package/bubblewrap: disable tests In-Reply-To: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> References: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> Message-ID: <20220428001203.GB634665@momiji> Hi Fabrice, all, On Wed, 27 Apr 2022 22:08:38 +0200 Fabrice Fontaine wrote: > Disable tests to avoid the following build failure on mips32: > > [9/10] Compiling C object tests/try-syscall.p/try-syscall.c.o > FAILED: tests/try-syscall.p/try-syscall.c.o > /home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c > ../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" > 34 | # error "Unknown MIPS ABI" > | ^~~~~ You beat me to the submission of this fix, thanks! > Fixes: > - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee ...and a few other autobuilder failures I have seen flying by :) > Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro > --- > .../0001-meson-add-tests-option.patch | 54 +++++++++++++++++++ > package/bubblewrap/bubblewrap.mk | 3 +- > 2 files changed, 56 insertions(+), 1 deletion(-) > create mode 100644 package/bubblewrap/0001-meson-add-tests-option.patch > > diff --git a/package/bubblewrap/0001-meson-add-tests-option.patch b/package/bubblewrap/0001-meson-add-tests-option.patch > new file mode 100644 > index 0000000000..32836f925d > --- /dev/null > +++ b/package/bubblewrap/0001-meson-add-tests-option.patch > @@ -0,0 +1,54 @@ > +From 34ea0ad841d6f9167db391c08e6cd51471fed6be Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 3 Apr 2022 11:27:06 +0200 > +Subject: [PATCH] meson: add tests option > + > +Allow the user to disable tests, for example to avoid the following > +build failure on mips32: > + > +FAILED: tests/try-syscall.p/try-syscall.c.o > +/home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c > +../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" > + 34 | # error "Unknown MIPS ABI" > + | ^~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/containers/bubblewrap/commit/34ea0ad841d6f9167db391c08e6cd51471fed6be] > +--- > + meson.build | 4 +++- > + meson_options.txt | 6 ++++++ > + 2 files changed, 9 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 5b63aa64..9277ac4e 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -152,4 +152,6 @@ if not meson.is_subproject() > + subdir('completions') > + endif > + > +-subdir('tests') > ++if get_option('tests') > ++ subdir('tests') > ++endif > +diff --git a/meson_options.txt b/meson_options.txt > +index 2fa3a8c3..a136a3c3 100644 > +--- a/meson_options.txt > ++++ b/meson_options.txt > +@@ -38,6 +38,12 @@ option( > + description : 'enable optional SELINUX support', > + value : 'auto', > + ) > ++option( > ++ 'tests', > ++ type : 'boolean', > ++ description : 'build tests', > ++ value : 'true', > ++) > + option( > + 'zsh_completion', > + type : 'feature', > diff --git a/package/bubblewrap/bubblewrap.mk b/package/bubblewrap/bubblewrap.mk > index 5875b0d6e2..81456e9e0d 100644 > --- a/package/bubblewrap/bubblewrap.mk > +++ b/package/bubblewrap/bubblewrap.mk > @@ -17,7 +17,8 @@ BUBBLEWRAP_CONF_OPTS = \ > -Dzsh_completion=disabled \ > -Dman=disabled \ > -Dpython=$(HOST_DIR)/bin/python \ > - -Drequire_userns=false > + -Drequire_userns=false \ > + -Dtests=false > > ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) > BUBBLEWRAP_CONF_OPTS += \ > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot Cheers, ?Adri?n -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From yann.morin.1998 at free.fr Wed Apr 27 21:45:29 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Wed, 27 Apr 2022 23:45:29 +0200 Subject: [Buildroot] [PATCH v2 3/3] package/binutils: drop version 2.32 In-Reply-To: <20220426215315.381964-3-thomas.petazzoni@bootlin.com> References: <20220426215315.381964-1-thomas.petazzoni@bootlin.com> <20220426215315.381964-3-thomas.petazzoni@bootlin.com> Message-ID: <20220427214529.GC3624965@scaer> p Thomas, All, On 2022-04-26 23:53 +0200, Thomas Petazzoni via buildroot spake thusly: > Now that recent versions of binutils work with FLAT binaries, we can > drop the old 2.32 version, which was kept only to keep support FLAT > binaries. > > Signed-off-by: Thomas Petazzoni As seen on IRC: binutils-2.32 is the latest version that can still build afboot-stm32. binutils-2.36.1 onward break the build. As you noticed, this is because of: https://github.com/mcoquelin-stm32/afboot-stm32/commit/0f3e61c9dd48fd8b4248ce4672c044c2562e4de1 That change is wrong: -nostartfiles is a gcc option, not an ld option. Older ld version seemed to somehow ignore it, while at least since 2.36.1 it is now an error: ...ld.real: Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?) This is because, starting with binutils 2.36, ld got an improved flag parsing that now generates that error (but that's incorrect too, as --nostartfiles does not exist either). -nostartfiles is a gcc option, but afboot-stm32 directly calls the linker... A similar issue was raised fot at91bootstrap, and fixed by removing -nostarfiles: https://github.com/linux4sam/at91bootstrap/issues/127 https://github.com/linux4sam/at91bootstrap/pull/129 So, as you said on IRC that you'd send a followup eries with a fix to afboot-stm32, I've marked this series as changes requested in the meantime. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From alistair23 at gmail.com Wed Apr 27 22:55:43 2022 From: alistair23 at gmail.com (Alistair Francis) Date: Thu, 28 Apr 2022 08:55:43 +1000 Subject: [Buildroot] [PATCH 1/1] boot/opensbi: introduce BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS In-Reply-To: <20220427131400.223113-1-noahhuetter@gmail.com> References: <20220427131400.223113-1-noahhuetter@gmail.com> Message-ID: On Wed, Apr 27, 2022 at 11:14 PM Noah Huetter wrote: > > Signed-off-by: Noah Huetter Reviewed-by: Alistair Francis Alistair > --- > boot/opensbi/Config.in | 6 ++++++ > boot/opensbi/opensbi.mk | 3 ++- > 2 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in > index f1443498d9..ff095ea800 100644 > --- a/boot/opensbi/Config.in > +++ b/boot/opensbi/Config.in > @@ -119,4 +119,10 @@ config BR2_TARGET_OPENSBI_FW_FDT_PATH > must be set in the U-Boot configuration for this file to be > produced. > > +config BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS > + string "Custom make options" > + help > + List of custom make options passed at build time. Can be > + used for example to pass a BUILD_INFO= value. > + > endif > diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk > index 8e055633a8..d007ae1299 100644 > --- a/boot/opensbi/opensbi.mk > +++ b/boot/opensbi/opensbi.mk > @@ -31,7 +31,8 @@ BR_NO_CHECK_HASH_FOR += $(OPENSBI_SOURCE) > endif > > OPENSBI_MAKE_ENV = \ > - CROSS_COMPILE=$(TARGET_CROSS) > + CROSS_COMPILE=$(TARGET_CROSS) \ > + $(call qstrip,$(BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS)) > > OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT)) > ifneq ($(OPENSBI_PLAT),) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From f.fainelli at gmail.com Wed Apr 27 23:59:38 2022 From: f.fainelli at gmail.com (Florian Fainelli) Date: Wed, 27 Apr 2022 16:59:38 -0700 Subject: [Buildroot] [PATCH v2 0/2] External GCC12 toolchain support In-Reply-To: References: <20220426173211.64840-1-f.fainelli@gmail.com> Message-ID: On 4/27/2022 12:00 PM, Arnout Vandecappelle wrote: > > > On 26/04/2022 19:32, Florian Fainelli wrote: >> This patch series allows us to use Linaro's GCC12 snapshot that can be >> downloaded from here: >> >> https://snapshots.linaro.org/gnu-toolchain/12.0-2021.10-1/aarch64-linux-gnu/ >> >> >> Changes in v2: >> >> - rebased against master >> >> Florian Fainelli (2): >> ?? toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_12 blind option >> ?? toolchain/toolchain-external/toolchain-external-custom: add gcc 12 >> ???? version selection > > ?Series applied to master, thanks. > > ?I was thinking that it would be useful to add an option > BR2_TOOLCHAIN_GCC_NEWER and BR2_TOOLCHAIN_EXTERNAL_GCC_12_PLUS that > selects it. That way, you can use newer GCC without changing Buildroot. > Same for linux-headers. > > ?Note that the blind option can simply be _NEWER, but the user-visible > option has to have the version explicit in it, so legacy handling can > force the user to use the correct version when Buildroot is updated. Yes, that makes sense to me, I will submit a patch series unless you have started something already. -- Florian From thomas.petazzoni at bootlin.com Thu Apr 28 04:40:33 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 04:40:33 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-27 Message-ID: <20220428044039.46F2541754@smtp4.osuosl.org> Hello, Autobuild statistics for 2022-04-27 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 24 | 9 | 0 | 33 | master | 149 | 154 | 1 | 304 | Classification of failures by reason for master ----------------------------------------------- unknown | 35 zchunk-1.2.2 | 6 git-2.31.2 | 5 host-gcc-final-10.3.0 | 5 host-wayland-1.20.0 | 5 uclibc-1.0.40 | 5 libevent-2.1.12 | 4 linux-headers-5.15.33 | 3 python3-3.10.2 | 3 zlib-ng-2.0.6 | 3 exempi-2.6.1 | 2 host-rust-1.60.0 | 2 libglib2-2.70.4 | 2 libopenssl-1.1.1n | 2 libressl-3.5.2 | 2 libv4l-1.22.1 | 2 libwebsockets-4.3.1 | 2 linux-5.15.33 | 2 linux-headers-5.10.104-cip3 | 2 pipewire-0.3.50 | 2 python3-3.10.4 | 2 toolchain-external-bootlin-... | 2 vlc-3.0.16 | 2 wavemon-0.9.4 | 2 afboot-stm32-3566acd582e553... | 1 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 bat-0.19.0 | 1 bitcoin-0.21.2 | 1 brltty-6.4 | 1 bubblewrap-0.6.1 | 1 cfm-0.3 | 1 chartjs-2.9.4 | 1 dash-0.5.11.5 | 1 dhcp-4.4.3 | 1 edk2-edk2-stable202102 | 1 fontconfig-2.13.1 | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 glibc-2.34-109-gd64b08d5ba7... | 1 glslsandbox-player-2021.08.24 | 1 gobject-introspection | 1 gocryptfs-2.2.1 | 1 google-breakpad-c85eb4a59b6... | 1 gstd-0.14.0 | 1 host-elf2flt-7e33f28df198c4... | 1 host-ncurses-6.1 | 1 host-python3-3.10.2 | 1 host-wine-6.0 | 1 igh-ethercat-1.5.2 | 1 jasper-2.0.33 | 1 kexec-2.0.23 | 1 libeXosip2-5.3.0 | 1 libpri-1.5.0 | 1 libssh2-1.10.0 | 1 libvorbis-1.3.7 | 1 linux-headers-5.10.104-cip3... | 1 liquid-dsp-1.4.0 | 1 lpc32xxcdl-2.11 | 1 mpir-3.0.0 | 1 nodejs-14.18.3 | 1 numactl-2.0.14 | 1 opus-1.3.1 | 1 perl-5.34.1 | 1 pkcs11-helper-1.28 | 1 protobuf-3.20.1 | 1 ruby-3.1.0 | 1 s390-tools-2.20.0 | 1 sudo-1.9.8p2 | 1 tcf-agent-1.7.0 | 1 toolchain-external-bootlin-... | 1 xenomai-3.0.10 | 1 xvisor-0.3.1 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | afboot-stm32-3566acd582e553... | NOK | http://autobuild.buildroot.net/results/4a2b19705ecd81f573f0e6647137e4cefcfd6ac9 | powerpc64le | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/1bf10eece2392163842c0061ae29da5e902c00e4 | sh4 | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/4078da39bd314e0cf7362fffc11adfb0112d8d98 | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/e6327e90298686337f3f2d27675d58d0ccce734a | arc | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/aec8c08e564bbe33d74007d59562a26fd068c3d3 | mips | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/e1bf161f4dd9c682a5b9ed04b2d60fde0d7c4546 | mips | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/4ea36203163d878ee50791593f3dabfe5c682351 | x86_64 | cfm-0.3 | NOK | http://autobuild.buildroot.net/results/a3b320f259b3f35455b4263df0fb797493c77580 | nios2 | chartjs-2.9.4 | NOK | http://autobuild.buildroot.net/results/2e63c16c5a0da980ea90e8a42604c006e91a7d2a | arm | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/c25c1b7ebaa7c78c4dd8c697a1bafbc6b82dd7b0 | ORPH xtensa | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/dbfc61781b7bc6e40bf33b6b830bc5b10b55773f | ORPH x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/5fc1044948d0f6df6e105b6872381a931ded1be6 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/47aa0ebe23a86534f8b98caa2a8bfed9a1e4982e | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/e02c9ead5adc4e57ee34507002d4b797605fab6b | riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/e936cf82c73647e36c2e1004c1c36790da5197d8 | ORPH or1k | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/d7bb4e5969160c5858e8a1906a9f5d17e31ce1c2 | sparc64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/f32ceacd37124106859b87e7390a258772d459b1 | riscv32 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/f0e533c053415b6a98b95aa48d6d8f85afc69a42 | microblazeel | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0ec291c5cd510ab573f49bafb2c9b8b64d551bc2 | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/04e232185a5d777dec94b4be6cf2c07b177eed2c | sh4aeb | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/0c1524f9676913515d82c0431c588c69bee30f8f | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/3016ad6683cebd3773de4fe978ffda376a3a0bbf | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/772e1f074884b981afaabb542f5705b189f86a09 | mips64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a2547643090687684bbeb700adaa276c014263d1 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f859d791d7fff24ebc69277de663039471cac682 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d675c52e20c6578d6c7649fb20dd7522fbe10a20 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/5347c7a02d1fc6fe6554377e5bf853de0cea6b63 | arm | glslsandbox-player-2021.08.24 | NOK | http://autobuild.buildroot.net/results/9591ffe5968fe5f20b29799d1c234426cacd549a | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/1e01cd881bf0d96e0e97f8e7fb2457558287ff76 | aarch64 | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/4a3fe5f7153a8853b8c143b553123ea759416610 | arm | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/a501f441c6ab102408140127abec33899e64c4a8 | arm | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/d4d6be1f708fc0b3e32345ab40286be88803c803 | ORPH armeb | host-elf2flt-7e33f28df198c4... | NOK | http://autobuild.buildroot.net/results/cbb56dbe7088ff2bcd85aac7f023be5843b40db8 | ORPH nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/2f7557b647bcdd15fe844e0f554c2a9491cab51e | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/273830dc61189b8f5f91a6b0d8e1066fb1b35bdb | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/fd4a152ecb52df0f481d23554ea169edcd6dc0ed | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/d2997827336ac644f0bf26093a5097ef082bb570 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/ef8fba6735b324620b5c624e60bb71e335f914a5 | aarch64_be | host-ncurses-6.1 | NOK | http://autobuild.buildroot.net/results/3d8a11d5ad75efbd0e4c491403fccaef12173068 | ORPH microblaze | host-python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/f108ce848eaa3dbe4ebc417126a77a4008491465 | i686 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/3eccc5e6124fe9cb96f3e048781089b0e83e36e9 | aarch64 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/d3cdc805c39be6131c1d478b4bb114a628abab1b | aarch64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/11eeca9f6d02471e67cd96658a47b9533e8cc0d2 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/e6a0ca1e07185a1caff272ef4bd3ae99cd123b81 | arm | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/f130369e1d9eb850e96b8c7764a9b6848d06dd74 | sparc64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/b84832cbd0b2fa193e99d77c0ff9ec25c0b94976 | s390x | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/ccd02639baed5c96ce4add8cd888234080d95f63 | i686 | host-wine-6.0 | NOK | http://autobuild.buildroot.net/results/b589164c53a65a22f0d263e861f049f38fdc8046 | sparc64 | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/4053ae3f4d9340d50f5a5d029d8a8f322c90db38 | arceb | jasper-2.0.33 | NOK | http://autobuild.buildroot.net/results/95c09b57e62efced0fac494fd2cf2e94f01a587a | arm | kexec-2.0.23 | NOK | http://autobuild.buildroot.net/results/70feac04be36908dfb5cb178f2c611ce02b6bc79 | ORPH powerpc | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/72068929b31deed40f820d780a77e7400d813fc3 | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/0a70b88844ac5666823f15176b0335176c5610b0 | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/0a64b2ddf51f33c8326520115f59a3d4a0a8c828 | i686 | libevent-2.1.12 | NOK | http://autobuild.buildroot.net/results/3abe90166524bc12a1f95f347fffbec7383188fb | aarch64_be | libeXosip2-5.3.0 | NOK | http://autobuild.buildroot.net/results/4ab9d81aadd6eb05261274236843053746e5c0b6 | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/c4ea67ad68bb3d821dcf52871b54e9d629ae9922 | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/92be66dcf9647e0d55551255ead1d68e0bf0c22a | arc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/cd19df2b36d6c3f3b690b8017465c95d9d543a1e | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/3d2aedccd56c1ced9d03649c69c812d404b255b0 | sparc | libpri-1.5.0 | NOK | http://autobuild.buildroot.net/results/4d0c9e2355d3ef920beccffc7c9394a4d0e43ca8 | sparc | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/0882bc9ba1e926cfc1a8e23b2e1fb235d40711f3 | ORPH microblaze | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/411032fa7f206752d0de6d72b87815ff0663182f | ORPH arm | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/47f492ccd4888fe4a150b36e12c88f1e068d46b6 | riscv64 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/49eed5dff858dcc8510ce88b9efe37779774a9e6 | x86_64 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/b80538ad478bff719e5148441d1d790f89793920 | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/a0c470d98319c4b47d6dd9e15469a8a57e348508 | s390x | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/2d985009b430a8324415dccb326eac6acc1d5757 | nios2 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/818c3f7cfc92e1a1c866e29f0de7075e9cdc8647 | mips | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/685ce57019f45332226ed029d1c14ac455264851 | ORPH microblaze | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/2a1339e384365c91bbef5f96efce11168adef888 | ORPH microblazeel | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/b3848fb1dbba75cb4f0b627daa7f76ef60e35f82 | ORPH sh4a | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/c3f72407c63f50fcb74fe899dc274b08d87c3c2f | ORPH riscv64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/58093a9f2aa5e533e32b9f39ee8cbca8fc991d5d | ORPH microblazeel | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/294f820e3cd86300d821002806786e4648b084ab | ORPH riscv64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/3754bc7ddcfb90083306ddc37e8c6a78ee87eafe | ORPH aarch64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/b34f1722c0257dfb66e7fe17b639c73f8b8985ee | ORPH arm | liquid-dsp-1.4.0 | NOK | http://autobuild.buildroot.net/results/3b68b9810eb04772b634b55c44f39e7fa779586a | armeb | lpc32xxcdl-2.11 | NOK | http://autobuild.buildroot.net/results/c9caa7cb15bb046766dd9eb86d0f2e5e54338711 | ORPH armeb | mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/c0c8f862ad6e66141ab54f8e943c51cc34725611 | i686 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/0ff5eed6c5aa1258ca645c0ed3afd2b5aded8264 | microblaze | numactl-2.0.14 | NOK | http://autobuild.buildroot.net/results/e225cb83dae390d9dc543d4da85c52180efbd40a | armeb | opus-1.3.1 | NOK | http://autobuild.buildroot.net/results/e49528bd8ad383c7c04c34ade566a8d73c5987a5 | ORPH arc | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/a3b041357f04d024405f3996fe4682070176e6b6 | sparc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/82e184df96ae64e2f7302a904bc4eb23f47b8e13 | arm | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/ae81515c6d3c3d323cc190fe40962bdd08154a83 | sparc | pkcs11-helper-1.28 | NOK | http://autobuild.buildroot.net/results/9b0d3bf7d97696c7be6de1724daaba196626b865 | ORPH arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/eb42ddec87ad4c990828f143d6c722044841fabc | microblazeel | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/8779b888e92c454f20827d46941a11f4362214e1 | powerpc | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/c27fe795e079350dd1c9af45be417d41b55e57c3 | x86_64 | python3-3.10.2 | NOK | http://autobuild.buildroot.net/results/06232ab765aaebef2de7516fc7d1757851f4be95 | mips | python3-3.10.4 | NOK | http://autobuild.buildroot.net/results/78b1dcc99a4f5a766ccf97820b7d592bd776acd5 | powerpc64 | python3-3.10.4 | NOK | http://autobuild.buildroot.net/results/72ba0f2263980c51e4de2aaf3d6825c0c0299184 | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/a58f7e31da5dd6103be30b37ff32295c85795e2a | s390x | s390-tools-2.20.0 | NOK | http://autobuild.buildroot.net/results/6fc7cd9e75692e52a7d2af93d81ccece0697d927 | mips64 | sudo-1.9.8p2 | NOK | http://autobuild.buildroot.net/results/4d31dd80e02b593031c4c68baf708b79a70677e4 | ORPH microblaze | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/7ede5c173a84997032afa843374fb4ddade5d873 | armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/b82d466f8c35813bd27be76e2b5cc8963cc232af | ORPH riscv64 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/acee958e098e3c06d9d846e5586040171ef6074c | ORPH or1k | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/d5cfbd8299c190a5780110329c4da2a060ecdc01 | ORPH xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/1f5471c98f2b519ee2425b956be211a24959f8ef | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/24b903d54da1cc5cb1cd70fbed3c8afe2beec95e | armeb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/97745beb32e03214e6910a4905295dfe57b0a880 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/4ae2f376c8a8cc803646caedebfa77f7afc990e9 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/573ece404a4357a49276196c4423d03d0bf45570 | powerpc | unknown | NOK | http://autobuild.buildroot.net/results/1f882d070f8ac4752cfbf2c5c1dc99bf9c6e5456 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/d31a3584593307489d65cdd4cf062f14a430a597 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/4d9a38308d2582165a8000e3b0b85d33ff1d1f60 | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/19926db7c4bf8d60ba3e81180742576b44538001 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/e0044f52c4f96e7ad53c660939f5ded5cdd80fba | arc | unknown | NOK | http://autobuild.buildroot.net/results/b118978ba155f5e540ffc8451699520468f2b85a | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/3b267352657f4593d797540f0b4a648241bd0d75 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/a906a2e54026264f26ad9a31cfd9b98167a03344 | i586 | unknown | NOK | http://autobuild.buildroot.net/results/641d07e5b4a32b5ea11e5480689b44b4e7ebf7db | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/2c20aacf77f1522ca01c2a4bbca9505422eb29f7 | sh4 | unknown | NOK | http://autobuild.buildroot.net/results/399d383222371dc037e1d690ff4639065d2cdbdc | arc | unknown | NOK | http://autobuild.buildroot.net/results/9c7b4b277e4f3b40399409374a06c487252e3273 | arm | unknown | NOK | http://autobuild.buildroot.net/results/4437c87154efcd279cc1911e4edd371ef39de1ff | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/2afd18bd0ade96588e414290dc877899c87cf632 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/487270afa687f7c8c8cde9ad3139690804e5cbf9 | arm | unknown | NOK | http://autobuild.buildroot.net/results/e3d49c339ca7cdf111401438ac1b24a466f5c875 | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/576f4dc183a40c126c33a50629285cb20b043312 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/0b4ff171cc53f5cce1ce68020cda4df582ca969c | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/b7b356068e1480a033b767c365fe4f635c993b9f | arm | unknown | NOK | http://autobuild.buildroot.net/results/ae56d80ecef334bd1f0f528f283742c77d055ac5 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/bf60019dba2d63f28b1c83bef58f10434b536c59 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/01c7fb3e59b6bbbc5bbbb46c67562a2d1eef99a6 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/d37f456c7ec69f859e0637b238b6d7906ddc98e2 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/38b3a30d220f36136e125f73737c84db265a97fa | s390x | unknown | NOK | http://autobuild.buildroot.net/results/8195e9c6c633de257cc8aaab846b43b1081a9243 | arm | unknown | NOK | http://autobuild.buildroot.net/results/b440e94339860c78a264259f8ee6da50ff9a3bee | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/20d2b28cc675b6173118afbee7fe95bde6606160 | arm | unknown | NOK | http://autobuild.buildroot.net/results/9ba1150275f7ebef667effc292247a4b687e2075 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/cc55d77c892397bca6f99a46e883a58b406b740a | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/fadf45449acd313049d960d9b16c8b216f3abe43 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/e8d9612a93b1e5c8f0dc200d85d8dc037f3729f3 | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/18f15e66856163063c6254e088be987564c399b6 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/cc659c681cb53b9c0d870ea35282d1d0bfb267f8 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/af8e50863c70cc219b0311a6e5c33359c2a47622 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/4bb838bf22a660468e4f4cf68c14484b258729a1 | aarch64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/4f4393312e016bbb121b474aae2df29479fc3fe2 | arc | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/ff7f2ad0a8749b4db998c19bf76fb48a845f8e15 | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/b13d0672272885f9b231f46f420c71240410229e | arm | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/ed2276c766cd82732f7b9a62f7abb9b7723250ef | x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/da8d6db84c3c0aab9c79c7dfe8a0fca0d9758176 | riscv32 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/bef15ad1c8afbcdcabb85f5ddac4436a52293f3b | m68k | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/a1c944b680dbff3eb52cdbbf9d6e55588dbbc083 | sparc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/7ac32b4b0b3f285d6c8a32b1d8eda5e9bd10bbc3 | sh4 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/54b057df6bdc2bbb7bf44476cdccf356fedd16ce | microblazeel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/23c4c2d79c30bca85ac40c3a04295cfaa1b02feb | mipsel | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/cc9f17fb8bf01b5024c59305af9477138b33c1f8 | mips64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/c2a76cd84a08873f5b323fb2f8c06b2dc46d9a75 | aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0e64770d9048458c46beb410ef225227c96749b1 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/8d3d22dcefeacc93dcfd54d31313b4cea2070425 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c983f7259b1d22f41cd4b84b00f08366c7fc0a42 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 3 bat-0.19.0 | 1 dhcp-4.4.3 | 1 exempi-2.6.1 | 1 frr-8.1 | 1 unknown | 1 wavemon-0.9.4 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/842392bbffc06f4e96fedb39df5f881892e3777a | riscv32 | dhcp-4.4.3 | NOK | http://autobuild.buildroot.net/results/692db2ca2d65d0f95ead6fd907a86be2431f312c | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/2cd9486db7f9ad7482c6cbfefdd3c92fe758780c | mips64el | frr-8.1 | NOK | http://autobuild.buildroot.net/results/0182f5efea0c1bc4d9cfcdd043c3a68b28721851 | nios2 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/990492f340fd2eace8b867311673c2e33ad87dd2 | nios2 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/99860af9d8fa2542107da05353e9e43535237484 | nios2 | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/b485841fecd32240f47f8c18ef3d63283b319a50 | i586 | unknown | NOK | http://autobuild.buildroot.net/results/96b131f90efa8f6093b2290b78087b40de86d26c | powerpc64le | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/33fa6a0af124a700e3a355b9584a2a1f8f3d797d | -- http://autobuild.buildroot.net From br015 at umbiko.net Thu Apr 28 06:10:31 2022 From: br015 at umbiko.net (Andreas Ziegler) Date: Thu, 28 Apr 2022 08:10:31 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/mpd: fix iconv detection w/ libiconv installed In-Reply-To: References: Message-ID: <20220428061031.3443-1-br015@umbiko.net> Fix build failures caused by meson failing to properly detect iconv() when libiconv is installed and a missing link dependency. Upstream pull request: https://github.com/MusicPlayerDaemon/MPD/pull/1515 Fixes the following build failures: http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ Signed-off-by: Andreas Ziegler --- changes v1->v2: extract patch from git w/o numbering, fix typo, add signed-off-by ...iconv-detection-when-libiconv-is-ins.patch | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch diff --git a/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch new file mode 100644 index 0000000000..63742c0cbe --- /dev/null +++ b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch @@ -0,0 +1,55 @@ +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 +From: aeolio +Date: Wed, 20 Apr 2022 16:10:39 +0200 +Subject: [PATCH] src/lib/icu: fix iconv() detection when libiconv is installed + +Signed-off-by: aeolio + +Fix typo in comment + +Signed-off-by: Andreas Ziegler +--- + src/lib/icu/meson.build | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build +index 59215e704..972c1fda3 100644 +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -12,17 +12,23 @@ if is_windows + icu_sources += 'Win32.cxx' + endif + ++iconv_dep = [] + if icu_dep.found() + icu_sources += [ + 'Util.cxx', + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- have_iconv = compiler.has_function('iconv', prefix : '#include ') +- conf.set('HAVE_ICONV', have_iconv) ++ # an installed iconv library will make the builtin iconv() unavailable, ++ # so search for the library first and pass it as (possible) dependency ++ iconv_dep = compiler.find_library('libiconv', required: false) ++ have_iconv = compiler.has_function('iconv', ++ dependencies: iconv_dep, ++ prefix : '#include ') + if not have_iconv and get_option('iconv').enabled() + error('iconv() not available') + endif ++ conf.set('HAVE_ICONV', have_iconv) + endif + + icu = static_library( +@@ -31,6 +37,7 @@ icu = static_library( + include_directories: inc, + dependencies: [ + icu_dep, ++ iconv_dep, + fmt_dep, + ], + ) +-- +2.34.1 + -- 2.34.1 From thomas.perrot at bootlin.com Thu Apr 28 07:39:14 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Thu, 28 Apr 2022 09:39:14 +0200 Subject: [Buildroot] [PATCH v2] package/imx-mkimage: install print_fit_hab.sh Message-ID: <20220428073915.3991220-1-thomas.perrot@bootlin.com> This script gives the address, the offset and the size of binaries have been stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. Signed-off-by: Thomas Perrot --- Changes v2: - Fix a typo, when the variable BL31 is empty, BL33 was initialized instead of BL31. ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 +++++++++++++++++++ package/imx-mkimage/imx-mkimage.mk | 1 + 2 files changed, 62 insertions(+) create mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch new file mode 100644 index 000000000000..715b0f31d052 --- /dev/null +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch @@ -0,0 +1,61 @@ +From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 +From: Thomas Perrot +Date: Tue, 26 Apr 2022 15:10:04 +0200 +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 + +Signed-off-by: Thomas Perrot +--- + iMX8M/print_fit_hab.sh | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh +index b915115d1ecc..dbc28f2d9af5 100755 +--- a/iMX8M/print_fit_hab.sh ++++ b/iMX8M/print_fit_hab.sh +@@ -1,12 +1,16 @@ + #!/bin/bash + +-BL32="tee.bin" +- + let fit_off=$1 + + # keep backward compatibility + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" + ++[ -z "$BL31" ] && BL31="bl31.bin" ++ ++[ -z "$BL32" ] && BL32="tee.bin" ++ ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" ++ + if [ -z "$ATF_LOAD_ADDR" ]; then + echo "ERROR: BL31 load address is not set" >&2 + exit 0 +@@ -26,7 +30,7 @@ else + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) + fi + +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') + let uboot_load_addr=0x40200000 + + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) +@@ -64,13 +68,13 @@ done + + let atf_sign_off=$((last_sign_off)) + let atf_load_addr=$ATF_LOAD_ADDR +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') + + if [ ! -f $BL32 ]; then + let tee_size=0x0 + let tee_sign_off=$((atf_sign_off + atf_size)) + else +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') + + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) + let tee_load_addr=$TEE_LOAD_ADDR +-- +2.35.1 + diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 17ba3596f752..b88be0ca6441 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -21,6 +21,7 @@ endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else # i.MX8 and i.MX8X -- 2.35.1 From thomas.perrot at bootlin.com Thu Apr 28 07:40:18 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Thu, 28 Apr 2022 09:40:18 +0200 Subject: [Buildroot] [PATCH v2] package/imx-mkimage: install print_fit_hab.sh Message-ID: <20220428074018.3993608-1-thomas.perrot@bootlin.com> This script gives the address, the offset and the size of binaries have been stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. Signed-off-by: Thomas Perrot --- Changes v2: - Fix a typo, when the variable BL31 is empty, BL33 was initialized instead of BL31. ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 +++++++++++++++++++ package/imx-mkimage/imx-mkimage.mk | 1 + 2 files changed, 62 insertions(+) create mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch new file mode 100644 index 000000000000..715b0f31d052 --- /dev/null +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch @@ -0,0 +1,61 @@ +From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 +From: Thomas Perrot +Date: Tue, 26 Apr 2022 15:10:04 +0200 +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 + +Signed-off-by: Thomas Perrot +--- + iMX8M/print_fit_hab.sh | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh +index b915115d1ecc..dbc28f2d9af5 100755 +--- a/iMX8M/print_fit_hab.sh ++++ b/iMX8M/print_fit_hab.sh +@@ -1,12 +1,16 @@ + #!/bin/bash + +-BL32="tee.bin" +- + let fit_off=$1 + + # keep backward compatibility + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" + ++[ -z "$BL31" ] && BL31="bl31.bin" ++ ++[ -z "$BL32" ] && BL32="tee.bin" ++ ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" ++ + if [ -z "$ATF_LOAD_ADDR" ]; then + echo "ERROR: BL31 load address is not set" >&2 + exit 0 +@@ -26,7 +30,7 @@ else + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) + fi + +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') + let uboot_load_addr=0x40200000 + + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) +@@ -64,13 +68,13 @@ done + + let atf_sign_off=$((last_sign_off)) + let atf_load_addr=$ATF_LOAD_ADDR +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') + + if [ ! -f $BL32 ]; then + let tee_size=0x0 + let tee_sign_off=$((atf_sign_off + atf_size)) + else +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') + + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) + let tee_load_addr=$TEE_LOAD_ADDR +-- +2.35.1 + diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 17ba3596f752..b88be0ca6441 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -21,6 +21,7 @@ endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else # i.MX8 and i.MX8X -- 2.35.1 From universeiii at gmx.de Thu Apr 28 07:46:41 2022 From: universeiii at gmx.de (Andreas Ehmanns) Date: Thu, 28 Apr 2022 09:46:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: add security options to DHCP server Message-ID: <20220428074641.5682-1-universeiii@gmx.de> I was trying to make the ISC dhcp daemon more secure by using the -user and -group option to let dhcp server run as non-root user. Unfortunately these options are not available when building ISC dhcp server with buildroot. The reason is, that the configure script must be called with the option --enable-paranoia to activate these options. But this option is not set in the dhcp.mk file. To be backward compatible I added a new option to the dhcp's Config.in file to enable this feature when desired and parse this option in dhcp.mk. Signed-off-by: Andreas Ehmanns --- package/dhcp/Config.in | 8 ++++++++ package/dhcp/dhcp.mk | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index e0706efafb..5cf7af82de 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -25,6 +25,14 @@ config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK help Enable delayed ACK feature in the ISC DHCP server. +config BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA + bool "Enable paranoia options" + depends on BR2_PACKAGE_DHCP_SERVER + help + Add option --enable-paranoia to configure script. This activates + additional server options (-user, -group and -chroot) to make + dhcp server more secure. + config BR2_PACKAGE_DHCP_RELAY bool "dhcp relay" help diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f815c6c802..b73137506d 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -78,6 +78,10 @@ ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack endif +ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) +DHCP_CONF_OPTS += --enable-paranoia +endif + define DHCP_INSTALL_LIBS $(MAKE) -C $(@D)/bind install-bind DESTDIR=$(TARGET_DIR) $(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR) -- 2.26.2 From thomas.petazzoni at bootlin.com Thu Apr 28 08:45:55 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 10:45:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/freeipmi: fix build with argp-standalone and NLS In-Reply-To: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> References: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> Message-ID: <20220428104555.62683882@windsurf> Hello Fabrice, On Wed, 27 Apr 2022 22:18:12 +0200 Fabrice Fontaine wrote: > Fix the following build failure with argp-standalone and NLS raised > since commit 5430c8fedd0392e79e0c011825b056fea129980a: > > configure:14644: checking for argp_parse in -largp > configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 > /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': > /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' > > [...] > > In file included from freeipmi-argp-fmtstream.c:35: > freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' > 62 | #define __argp_fmtstream_write argp_fmtstream_write > | ^~~~~~~~~~~~~~~~~~~~ > freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' > 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, > | ^~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 > > Signed-off-by: Fabrice Fontaine While your patch is indeed the most "immediate" fix, shouldn't we think about providing a pkg-config file for argp-standalone, so that its indirect dependency on libintl when static linking can be properly described, and transparently discovered by users of argp-standalone? Because otherwise here, you'll have to basically propagate this to all users of argp-standalone, and to all users of users of argp-standalone. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From tianyuanhao3 at 163.com Thu Apr 28 11:39:29 2022 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Thu, 28 Apr 2022 04:39:29 -0700 Subject: [Buildroot] [PATCH v2] package/udev: move render and sgx to package/systemd In-Reply-To: <20220425111148.87319-1-tianyuanhao3@163.com> References: <20220425111148.87319-1-tianyuanhao3@163.com> Message-ID: <20220428113929.1018091-1-tianyuanhao3@163.com> Moved groups render and sgx from UDEV_USERS to SYSTEMD_USERS as they currently only appear in systemd's udev rules. In systemd, group render was introduced since commit 4e15a73, and group sgx was introduced since commit c9c4899. In eudev, group render was introduced since commit bb070c1, but was removed since commit a8ffcd1 [1]. [1]: https://github.com/eudev-project/eudev/issues/160 Signed-off-by: TIAN Yuanhao Cc: Arnout Vandecappelle (Essensium/Mind) Cc: Carlos Santos Cc: Yann E. MORIN --- Changes v2: UDEV_USERS_SYSTEMD to SYSTEMD_USERS --- package/systemd/systemd.mk | 2 ++ package/udev/udev.mk | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..7a711319cf 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -603,6 +603,8 @@ endef define SYSTEMD_USERS # udev user groups + - - render -1 * - - - DRI rendering nodes + - - sgx -1 * - - - SGX device nodes # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index ce93d98431..d70d13ebb3 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -4,12 +4,10 @@ # ################################################################################ -# Required by default rules for input devices +# Required by default rules define UDEV_USERS - - input -1 * - - - Input device group - - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes - - - sgx -1 * - - - SGX device nodes endef $(eval $(virtual-package)) -- 2.35.1 From peter.macleod.thompson at gmail.com Thu Apr 28 13:27:51 2022 From: peter.macleod.thompson at gmail.com (Peter Thompson) Date: Thu, 28 Apr 2022 07:27:51 -0600 Subject: [Buildroot] [autobuild.buildroot.net] Your daily results for 2022-04-23 Message-ID: TO: buildroot at buildroot.org I thought this failure was fixed on February 16 by Arnout Vandecappelle with commit e253e41ce2e5: package/sdl2_ttf: add harfbuzz optional dependency I cannot figure out why it is reappearing again now? Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: From universeiii at gmx.de Thu Apr 28 13:42:07 2022 From: universeiii at gmx.de (Andreas Ehmanns) Date: Thu, 28 Apr 2022 15:42:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/tftpd: add include of config file to init script Message-ID: <20220428134207.16521-1-universeiii@gmx.de> HPA's tftp server init script does not support include of a configuration file. So changing daemon parameters would cause a modification of the init script. Similar to NFS, dropbear, DHCP, SNMP and other network services in buildroot, this patch adds an include of /etc/default/tftpd to the init script. So any user can change the default behaviour by adding its own configuration file instead of changing the init script. Signed-off-by: Andreas Ehmanns --- package/tftpd/S80tftpd-hpa | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tftpd/S80tftpd-hpa b/package/tftpd/S80tftpd-hpa index 4e8361faa7..8ae15150a1 100644 --- a/package/tftpd/S80tftpd-hpa +++ b/package/tftpd/S80tftpd-hpa @@ -11,6 +11,8 @@ DAEMON=/usr/sbin/$NAME PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/S80tftpd-hpa +[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" + # # Function that starts the daemon/service. # -- 2.26.2 From yann.morin.1998 at free.fr Thu Apr 28 15:34:05 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:34:05 +0200 Subject: [Buildroot] [git commit] package/udev: move render and sgx to package/systemd Message-ID: <20220428152425.F076284619@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d163e12a47845804f7f979ddc55402e54ae88b3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Moved groups render and sgx from UDEV_USERS to SYSTEMD_USERS as they currently only appear in systemd's udev rules. In systemd, group render was introduced since commit 4e15a73, and group sgx was introduced since commit c9c4899. In eudev, group render was introduced since commit bb070c1, but was removed since commit a8ffcd1 [1]. [1]: https://github.com/eudev-project/eudev/issues/160 Signed-off-by: TIAN Yuanhao Cc: Arnout Vandecappelle (Essensium/Mind) Cc: Carlos Santos Cc: Yann E. MORIN Signed-off-by: Yann E. MORIN --- package/systemd/systemd.mk | 2 ++ package/udev/udev.mk | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..7a711319cf 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -603,6 +603,8 @@ endef define SYSTEMD_USERS # udev user groups + - - render -1 * - - - DRI rendering nodes + - - sgx -1 * - - - SGX device nodes # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index ce93d98431..d70d13ebb3 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -4,12 +4,10 @@ # ################################################################################ -# Required by default rules for input devices +# Required by default rules define UDEV_USERS - - input -1 * - - - Input device group - - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes - - - sgx -1 * - - - SGX device nodes endef $(eval $(virtual-package)) From yann.morin.1998 at free.fr Thu Apr 28 15:35:00 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:35:00 +0200 Subject: [Buildroot] [PATCH v2] package/udev: move render and sgx to package/systemd In-Reply-To: <20220428113929.1018091-1-tianyuanhao3@163.com> References: <20220425111148.87319-1-tianyuanhao3@163.com> <20220428113929.1018091-1-tianyuanhao3@163.com> Message-ID: <20220428153500.GD3624965@scaer> Yuanhao, All, On 2022-04-28 04:39 -0700, TIAN Yuanhao spake thusly: > Moved groups render and sgx from UDEV_USERS to SYSTEMD_USERS as they > currently only appear in systemd's udev rules. > > In systemd, group render was introduced since commit 4e15a73, and group > sgx was introduced since commit c9c4899. > > In eudev, group render was introduced since commit bb070c1, but was > removed since commit a8ffcd1 [1]. > > [1]: https://github.com/eudev-project/eudev/issues/160 > > Signed-off-by: TIAN Yuanhao > Cc: Arnout Vandecappelle (Essensium/Mind) > Cc: Carlos Santos > Cc: Yann E. MORIN Applied to master, thanks. Regards, Yann E. MORIN. > --- > > Changes v2: UDEV_USERS_SYSTEMD to SYSTEMD_USERS > --- > package/systemd/systemd.mk | 2 ++ > package/udev/udev.mk | 4 +--- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index 58a1376b51..7a711319cf 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -603,6 +603,8 @@ endef > > define SYSTEMD_USERS > # udev user groups > + - - render -1 * - - - DRI rendering nodes > + - - sgx -1 * - - - SGX device nodes > # systemd user groups > - - systemd-journal -1 * - - - Journal > $(SYSTEMD_REMOTE_USER) > diff --git a/package/udev/udev.mk b/package/udev/udev.mk > index ce93d98431..d70d13ebb3 100644 > --- a/package/udev/udev.mk > +++ b/package/udev/udev.mk > @@ -4,12 +4,10 @@ > # > ################################################################################ > > -# Required by default rules for input devices > +# Required by default rules > define UDEV_USERS > - - input -1 * - - - Input device group > - - - render -1 * - - - DRI rendering nodes > - - kvm -1 * - - - kvm nodes > - - - sgx -1 * - - - SGX device nodes > endef > > $(eval $(virtual-package)) > -- > 2.35.1 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 15:43:48 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:43:48 +0200 Subject: [Buildroot] [git commit] package/tftpd: add include of config file to init script Message-ID: <20220428153451.3AC9784632@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=61bfaf0354b44ae2d4927c54983eaa4c74cd3e0b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master HPA's tftp server init script does not support include of a configuration file. So changing daemon parameters would cause a modification of the init script. Similar to NFS, dropbear, DHCP, SNMP and other network services in buildroot, this patch adds an include of /etc/default/tftpd to the init script. So any user can change the default behaviour by adding its own configuration file instead of changing the init script. Signed-off-by: Andreas Ehmanns Signed-off-by: Yann E. MORIN --- package/tftpd/S80tftpd-hpa | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tftpd/S80tftpd-hpa b/package/tftpd/S80tftpd-hpa index 4e8361faa7..8ae15150a1 100644 --- a/package/tftpd/S80tftpd-hpa +++ b/package/tftpd/S80tftpd-hpa @@ -11,6 +11,8 @@ DAEMON=/usr/sbin/$NAME PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/S80tftpd-hpa +[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" + # # Function that starts the daemon/service. # From yann.morin.1998 at free.fr Thu Apr 28 15:45:49 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:45:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/tftpd: add include of config file to init script In-Reply-To: <20220428134207.16521-1-universeiii@gmx.de> References: <20220428134207.16521-1-universeiii@gmx.de> Message-ID: <20220428154549.GE3624965@scaer> Andreas, All, On 2022-04-28 15:42 +0200, Andreas Ehmanns spake thusly: > HPA's tftp server init script does not support include of a > configuration file. So changing daemon parameters would cause > a modification of the init script. > Similar to NFS, dropbear, DHCP, SNMP and other network services > in buildroot, this patch adds an include of /etc/default/tftpd > to the init script. So any user can change the default behaviour > by adding its own configuration file instead of changing the init > script. > > Signed-off-by: Andreas Ehmanns Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/tftpd/S80tftpd-hpa | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/tftpd/S80tftpd-hpa b/package/tftpd/S80tftpd-hpa > index 4e8361faa7..8ae15150a1 100644 > --- a/package/tftpd/S80tftpd-hpa > +++ b/package/tftpd/S80tftpd-hpa > @@ -11,6 +11,8 @@ DAEMON=/usr/sbin/$NAME > PIDFILE=/var/run/$NAME.pid > SCRIPTNAME=/etc/init.d/S80tftpd-hpa > > +[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" > + > # > # Function that starts the daemon/service. > # > -- > 2.26.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 15:51:12 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:51:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: add security options to DHCP server In-Reply-To: <20220428074641.5682-1-universeiii@gmx.de> References: <20220428074641.5682-1-universeiii@gmx.de> Message-ID: <20220428155112.GF3624965@scaer> Andreas, All, On 2022-04-28 09:46 +0200, Andreas Ehmanns spake thusly: > I was trying to make the ISC dhcp daemon more secure by using the > -user and -group option to let dhcp server run as non-root user. > Unfortunately these options are not available when building ISC dhcp > server with buildroot. > The reason is, that the configure script must be called with the > option --enable-paranoia to activate these options. But this option > is not set in the dhcp.mk file. > > To be backward compatible I added a new option to the dhcp's Config.in > file to enable this feature when desired and parse this option in > dhcp.mk. > > Signed-off-by: Andreas Ehmanns > --- > package/dhcp/Config.in | 8 ++++++++ > package/dhcp/dhcp.mk | 4 ++++ > 2 files changed, 12 insertions(+) > > diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in > index e0706efafb..5cf7af82de 100644 > --- a/package/dhcp/Config.in > +++ b/package/dhcp/Config.in > @@ -25,6 +25,14 @@ config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK > help > Enable delayed ACK feature in the ISC DHCP server. > > +config BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA > + bool "Enable paranoia options" > + depends on BR2_PACKAGE_DHCP_SERVER > + help > + Add option --enable-paranoia to configure script. This activates > + additional server options (-user, -group and -chroot) to make > + dhcp server more secure. $ make check-package package/dhcp/Config.in:32: help text: <2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in) Applied to master with that fixed, thanks. Regards, Yann E. MORIN. > + > config BR2_PACKAGE_DHCP_RELAY > bool "dhcp relay" > help > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index f815c6c802..b73137506d 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -78,6 +78,10 @@ ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) > DHCP_CONF_OPTS += --enable-delayed-ack > endif > > +ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) > +DHCP_CONF_OPTS += --enable-paranoia > +endif > + > define DHCP_INSTALL_LIBS > $(MAKE) -C $(@D)/bind install-bind DESTDIR=$(TARGET_DIR) > $(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR) > -- > 2.26.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 15:50:15 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 17:50:15 +0200 Subject: [Buildroot] [git commit] package/dhcp: add security options to DHCP server Message-ID: <20220428154058.8BAA58463E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=40f7adae3c036072a05c8d69f7116af1057da301 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master I was trying to make the ISC dhcp daemon more secure by using the -user and -group option to let dhcp server run as non-root user. Unfortunately these options are not available when building ISC dhcp server with buildroot. The reason is, that the configure script must be called with the option --enable-paranoia to activate these options. But this option is not set in the dhcp.mk file. To be backward compatible I added a new option to the dhcp's Config.in file to enable this feature when desired and parse this option in dhcp.mk. Signed-off-by: Andreas Ehmanns [yann.morin.1998 at free.fr: fix check-package] Signed-off-by: Yann E. MORIN --- package/dhcp/Config.in | 8 ++++++++ package/dhcp/dhcp.mk | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index e0706efafb..adc19dec07 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -25,6 +25,14 @@ config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK help Enable delayed ACK feature in the ISC DHCP server. +config BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA + bool "Enable paranoia options" + depends on BR2_PACKAGE_DHCP_SERVER + help + Add option --enable-paranoia to configure script. This + activates additional server options (-user, -group and + -chroot) to make dhcp server more secure. + config BR2_PACKAGE_DHCP_RELAY bool "dhcp relay" help diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index f815c6c802..b73137506d 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -78,6 +78,10 @@ ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack endif +ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) +DHCP_CONF_OPTS += --enable-paranoia +endif + define DHCP_INSTALL_LIBS $(MAKE) -C $(@D)/bind install-bind DESTDIR=$(TARGET_DIR) $(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR) From yann.morin.1998 at free.fr Thu Apr 28 16:27:38 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 18:27:38 +0200 Subject: [Buildroot] [PATCH] package/dhcp: add explicit option disabling Message-ID: <20220428162738.1243794-1-yann.morin.1998@free.fr> Commits 4db37c663cc0 (dhcp: add config option for delayed-ack feature of dhcp server) and 40f7adae3c03 (package/dhcp: add security options to DHCP server) forgot to explicit disable the option when not requested. Fix that now. Signed-off-by: Yann E. MORIN Cc: Andreas Ehmanns Cc: Fabrice Fontaine Cc: Thomas De Schampheleire Cc: Jan Havran Cc: Eugen Hristev --- package/dhcp/dhcp.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index b73137506d..cbc95cb152 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -76,10 +76,14 @@ endif ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack +else +DHCP_CONF_OPTS += --disable-delayed-ack endif ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) DHCP_CONF_OPTS += --enable-paranoia +else +DHCP_CONF_OPTS += --disable-paranoia endif define DHCP_INSTALL_LIBS -- 2.25.1 From havasiefr at gmail.com Thu Apr 28 17:39:11 2022 From: havasiefr at gmail.com (Kristof Havasi) Date: Thu, 28 Apr 2022 19:39:11 +0200 Subject: [Buildroot] Build regression after 2022.02.01 Message-ID: Hi there! I just updated from 2022.02 to 2022.02.01. My build broke due to 8945ba49480a7885d10444 "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" I selected a bootlin toolchain for armv7, which is installed on the build system and is available via PATH. As the help string of BR2_TOOLCHAIN_EXTERNAL_PATH describes, if it is empty, then PATH will be searched. If I revert the above commit the build succeeds like before. I could see the reason behind the check in the commit for the case, where the toolchain is yet to be downloaded, but then the lines ended up in the wrong branch of the if/else statement. In case the toolchain is already available via PATH, I suggest to follow the previous logic and description in the help text: "If empty, the compiler will be searched in $PATH." Best Regards, Krist?f From fontaine.fabrice at gmail.com Thu Apr 28 17:54:47 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 28 Apr 2022 19:54:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/sdl2_ttf: disable builtin harfbuzz Message-ID: <20220428175447.983405-1-fontaine.fabrice@gmail.com> Disable builtin harfbuzz which is enabled by default since bump to version 2.0.18 in commit f4da031a77f200515bcc5b2e0fe665a7b4f2a780 and https://github.com/libsdl-org/SDL_ttf/commit/834ec54127dc9c2a12928f5fe32cf110ec4c7a7f resulting in the following build failure without threads: In file included from external/harfbuzz-2.8.0/src/hb.hh:470, from external/harfbuzz-2.8.0/src/hb-aat-layout.cc:28: external/harfbuzz-2.8.0/src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory 53 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 Signed-off-by: Fabrice Fontaine --- package/sdl2_ttf/sdl2_ttf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sdl2_ttf/sdl2_ttf.mk b/package/sdl2_ttf/sdl2_ttf.mk index 54e76815f1..054e327fac 100644 --- a/package/sdl2_ttf/sdl2_ttf.mk +++ b/package/sdl2_ttf/sdl2_ttf.mk @@ -11,7 +11,7 @@ SDL2_TTF_LICENSE = Zlib SDL2_TTF_LICENSE_FILES = COPYING.txt SDL2_TTF_INSTALL_STAGING = YES SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf -SDL2_TTF_CONF_OPTS = --disable-freetype-builtin +SDL2_TTF_CONF_OPTS = --disable-freetype-builtin --disable-harfbuzz-builtin ifeq ($(BR2_PACKAGE_HARFBUZZ),y) SDL2_TTF_DEPENDENCIES += harfbuzz -- 2.35.1 From james.hilliard1 at gmail.com Thu Apr 28 19:31:14 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:31:14 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-cryptography: bump to version 37.0.1 Message-ID: <20220428193114.759935-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-cryptography/python-cryptography.hash | 2 +- package/python-cryptography/python-cryptography.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-cryptography/python-cryptography.hash b/package/python-cryptography/python-cryptography.hash index 1219fa9b5f..0649207426 100644 --- a/package/python-cryptography/python-cryptography.hash +++ b/package/python-cryptography/python-cryptography.hash @@ -1,5 +1,5 @@ # Locally calculated after vendoring -sha256 196bba703cebc052a19f5353614fcfa9d680471990c10305f110adcc05744eeb cryptography-36.0.1.tar.gz +sha256 d7718568773810e42481f51f810919f5501ad252300f4d1b36bb5127b2f6050d cryptography-37.0.1.tar.gz # Locally computed sha256 checksums sha256 43dad2cc752ab721cd9a9f36ece70fb53ab7713551f2d3d8694d8e8c5a06d6e2 LICENSE sha256 aac73b3148f6d1d7111dbca32099f68d26c644c6813ae1e4f05f6579aa2663fe LICENSE.APACHE diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 872ede9b89..7714b9ad88 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CRYPTOGRAPHY_VERSION = 36.0.1 +PYTHON_CRYPTOGRAPHY_VERSION = 37.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz -PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/f9/4b/1cf8e281f7ae4046a59e5e39dd7471d46db9f61bb564fddbff9084c4334f +PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/3d/5f/addb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3 PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 19:37:38 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:37:38 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools-rust: bump to version 1.3.0 Message-ID: <20220428193738.772448-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash index ae3a3463a5..2375c7528f 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.hash +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz -sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz +md5 9760ac511ebe33c759b76efb0a1299dd setuptools-rust-1.3.0.tar.gz +sha256 958c5bf4ab6483d59dab888538121871cc5006354a42fb0fbd50acf03caad1de setuptools-rust-1.3.0.tar.gz # Locally computed sha256 checksums sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk index c2d8c6d9a7..c342773476 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.mk +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 +PYTHON_SETUPTOOLS_RUST_VERSION = 1.3.0 PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/a9/55/5db4a5b137af2afdc23a6e251d5ebb3b4e04c8deb68fbb5ffdacbd134c0c PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools PYTHON_SETUPTOOLS_RUST_LICENSE = MIT PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 19:42:32 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:42:32 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools: bump to version 62.1.0 Message-ID: <20220428194232.775056-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-setuptools/python-setuptools.hash | 4 ++-- package/python-setuptools/python-setuptools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools/python-setuptools.hash b/package/python-setuptools/python-setuptools.hash index 1a378d1b76..d4a9ba3d88 100644 --- a/package/python-setuptools/python-setuptools.hash +++ b/package/python-setuptools/python-setuptools.hash @@ -1,4 +1,4 @@ # From https://pypi.org/pypi/setuptools/json -md5 6c6a97cf68e1db789a2e5c054f067278 setuptools-60.9.3.tar.gz -sha256 2347b2b432c891a863acadca2da9ac101eae6169b1d3dfee2ec605ecd50dbfe5 setuptools-60.9.3.tar.gz +md5 95f4924aacd634ab579f17fc71f79fb1 setuptools-62.1.0.tar.gz +sha256 47c7b0c0f8fc10eec4cf1e71c6fdadf8decaa74ffa087e68cd1c20db7ad6a592 setuptools-62.1.0.tar.gz sha256 db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE diff --git a/package/python-setuptools/python-setuptools.mk b/package/python-setuptools/python-setuptools.mk index 3309cd9df4..c6a2137e1d 100644 --- a/package/python-setuptools/python-setuptools.mk +++ b/package/python-setuptools/python-setuptools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_VERSION = 60.9.3 +PYTHON_SETUPTOOLS_VERSION = 62.1.0 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz -PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/14/74/54890935244ce053abcc4fa01ef4982a84743a8d128d4cf5eae56e2d156c +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ea/a3/3d3cbbb7150f90c4cf554048e1dceb7c6ab330e4b9138a40e130a4cc79e1 PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 19:45:45 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:45:45 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-simplejson: bump to version 3.17.6 Message-ID: <20220428194545.776652-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-simplejson/python-simplejson.hash | 4 ++-- package/python-simplejson/python-simplejson.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-simplejson/python-simplejson.hash b/package/python-simplejson/python-simplejson.hash index bb44bdfc79..0f56d4c6cc 100644 --- a/package/python-simplejson/python-simplejson.hash +++ b/package/python-simplejson/python-simplejson.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/simplejson/json -md5 1756427859454004e90e028d263cf23e simplejson-3.17.5.tar.gz -sha256 91cfb43fb91ff6d1e4258be04eee84b51a4ef40a28d899679b9ea2556322fb50 simplejson-3.17.5.tar.gz +md5 0b8f47c9451bf101a791f8b5bccf1f33 simplejson-3.17.6.tar.gz +sha256 cf98038d2abf63a1ada5730e91e84c642ba6c225b0198c3684151b1f80c5f8a6 simplejson-3.17.6.tar.gz # Locally computed sha256 checksums sha256 fcaa1e313a99304322e2e0836ea4ee7d839ce9a480438f3922a853edfdde129f LICENSE.txt diff --git a/package/python-simplejson/python-simplejson.mk b/package/python-simplejson/python-simplejson.mk index 5bed8d20a9..52bff7569c 100644 --- a/package/python-simplejson/python-simplejson.mk +++ b/package/python-simplejson/python-simplejson.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SIMPLEJSON_VERSION = 3.17.5 +PYTHON_SIMPLEJSON_VERSION = 3.17.6 PYTHON_SIMPLEJSON_SOURCE = simplejson-$(PYTHON_SIMPLEJSON_VERSION).tar.gz -PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/01/52/41c71718f941c9a5abebfaa24e3c14e3c0229327b7ebd21348989845ed8f +PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/7a/47/c7cc3d4ed15f09917838a2fb4e1759eafb6d2f37ebf7043af984d8b36cf7 PYTHON_SIMPLEJSON_LICENSE = Academic Free License (AFL), MIT PYTHON_SIMPLEJSON_LICENSE_FILES = LICENSE.txt PYTHON_SIMPLEJSON_CPE_ID_VENDOR = simplejson_project -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 19:52:48 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 13:52:48 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-typing-extensions: bump to version 4.2.0 Message-ID: <20220428195248.782790-1-james.hilliard1@gmail.com> This package now requires the flit setup type. Signed-off-by: James Hilliard --- .../python-typing-extensions/python-typing-extensions.hash | 4 ++-- .../python-typing-extensions/python-typing-extensions.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-typing-extensions/python-typing-extensions.hash b/package/python-typing-extensions/python-typing-extensions.hash index abaac77d34..f37a609adc 100644 --- a/package/python-typing-extensions/python-typing-extensions.hash +++ b/package/python-typing-extensions/python-typing-extensions.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/typing_extensions/json -md5 ed80ecc8eac5cb15840535ca54eb43f3 typing_extensions-3.10.0.2.tar.gz -sha256 49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e typing_extensions-3.10.0.2.tar.gz +md5 197fb153e3720a3f6e0c85bb47f9c2b5 typing_extensions-4.2.0.tar.gz +sha256 f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376 typing_extensions-4.2.0.tar.gz # Locally computed sha256 checksums sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE diff --git a/package/python-typing-extensions/python-typing-extensions.mk b/package/python-typing-extensions/python-typing-extensions.mk index 668071e025..a664e5d3e9 100644 --- a/package/python-typing-extensions/python-typing-extensions.mk +++ b/package/python-typing-extensions/python-typing-extensions.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_TYPING_EXTENSIONS_VERSION = 3.10.0.2 +PYTHON_TYPING_EXTENSIONS_VERSION = 4.2.0 PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz -PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/ed/12/c5079a15cf5c01d7f4252b473b00f7e68ee711be605b9f001528f0298b98 -PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = setuptools +PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/fe/71/1df93bd59163c8084d812d166c907639646e8aac72886d563851b966bf18 +PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = flit PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0 PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 20:00:43 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 14:00:43 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: bump to version 5.2.0 Message-ID: <20220428200043.787738-1-james.hilliard1@gmail.com> Drop patches that are now upstream. Signed-off-by: James Hilliard --- ...for-aarch64_be-or1k-and-microblazebe.patch | 30 ------ ...0002-Add-support-of-ARC-architecture.patch | 36 ------- .../0003-Add-support-for-microblaze.patch | 27 ------ ...4-Pseiderer-add-nios2-and-xtensa-001.patch | 95 ------------------- package/python-ujson/python-ujson.hash | 4 +- package/python-ujson/python-ujson.mk | 4 +- 6 files changed, 4 insertions(+), 192 deletions(-) delete mode 100644 package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch delete mode 100644 package/python-ujson/0002-Add-support-of-ARC-architecture.patch delete mode 100644 package/python-ujson/0003-Add-support-for-microblaze.patch delete mode 100644 package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch diff --git a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch b/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch deleted file mode 100644 index b43eb54dcd..0000000000 --- a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 768a445f0c28311bf88685bf0bb990505c12fd4c Mon Sep 17 00:00:00 2001 -From: Florian Loitsch -Date: Sat, 8 Sep 2018 18:18:15 +0200 -Subject: [PATCH] Add support for aarch64_be, or1k and microblazebe. - -Fixes #73. - -[Retrieved from: -https://github.com/google/double-conversion/commit/768a445f0c28311bf88685bf0bb990505c12fd4c] -Signed-off-by: Fabrice Fontaine ---- - double-conversion/utils.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/deps/double-conversion/ouble-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 98a2a11..492bc97 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -76,8 +76,9 @@ inline void abort_noreturn() { abort(); } - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ - defined(__SH4__) || defined(__alpha__) || \ - defined(_MIPS_ARCH_MIPS32R2) || \ -- defined(__AARCH64EL__) || defined(__aarch64__) || \ -- defined(__riscv) -+ defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ -+ defined(__riscv) || \ -+ defined(__or1k__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) || \ - defined(__pnacl__) || defined(__native_client__) diff --git a/package/python-ujson/0002-Add-support-of-ARC-architecture.patch b/package/python-ujson/0002-Add-support-of-ARC-architecture.patch deleted file mode 100644 index d38b24f5fc..0000000000 --- a/package/python-ujson/0002-Add-support-of-ARC-architecture.patch +++ /dev/null @@ -1,36 +0,0 @@ -From eafa625a34fd5d8bec18eddfccbca55ce77b4849 Mon Sep 17 00:00:00 2001 -From: Alexey Brodkin -Date: Thu, 1 Nov 2018 17:36:17 +0200 -Subject: [PATCH] Add support of ARC architecture (#82) - -More info about ARC architecture is here: [1] & [2]. -We need ARC supported here for many things like: - - ICU (see [3]) - - Qt5 etc - -[1] https://www.synopsys.com/designware-ip/processor-solutions/arc-processors.html -[2] https://en.wikipedia.org/wiki/ARC_(processor) -[3] https://unicode-org.atlassian.net/browse/ICU-20155 - -Fixes #81 - -[Retrieved from: -https://github.com/google/double-conversion/commit/eafa625a34fd5d8bec18eddfccbca55ce77b4849] -Signed-off-by: Fabrice Fontaine ---- - double-conversion/utils.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 41c5b02..2e1be0d 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -94,7 +94,7 @@ int main(int argc, char** argv) { - defined(_MIPS_ARCH_MIPS32R2) || \ - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || \ -- defined(__or1k__) -+ defined(__or1k__) || defined(__arc__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) || \ - defined(__pnacl__) || defined(__native_client__) diff --git a/package/python-ujson/0003-Add-support-for-microblaze.patch b/package/python-ujson/0003-Add-support-for-microblaze.patch deleted file mode 100644 index 14fd52eb98..0000000000 --- a/package/python-ujson/0003-Add-support-for-microblaze.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 5cc233e98b74c5c370de888198a2b35200d55468 Mon Sep 17 00:00:00 2001 -From: Florian Loitsch -Date: Sat, 12 Oct 2019 14:35:52 +0200 -Subject: [PATCH] Add support for microblaze. - -Really fixes #73. -[Retrieved (and backported) from: -https://github.com/google/double-conversion/commit/5cc233e98b74c5c370de888198a2b35200d55468] -Signed-off-by: Fabrice Fontaine ---- - Changelog | 4 ++++ - double-conversion/utils.h | 1 + - 2 files changed, 5 insertions(+) - -diff --git a/deps/idouble-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 1a71df0..221467f 100644 ---- a/deps/doyble-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -102,6 +102,7 @@ int main(int argc, char** argv) { - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || \ -- defined(__or1k__) || defined(__arc__) -+ defined(__or1k__) || defined(__arc__) || \ -+ defined(__microblaze__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) - #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch b/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch deleted file mode 100644 index 8648f93c1a..0000000000 --- a/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch +++ /dev/null @@ -1,95 +0,0 @@ -From a54561be5588ac9b16d3c20760b9b554168bb8aa Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 31 Oct 2019 21:26:27 +0100 -Subject: [PATCH] Pseiderer/add nios2 and xtensa 001 (#119) - -* double-conversion: enable for nios2 - -Nios2 supports double conversion, tested using qemu: - -./main || echo "correct" -correct -uname -a -Linux buildroot 4.19.16 #4 Sat Aug 3 14:46:48 CEST 2019 nios2 GNU/Linux - -Solves build error - -In file included from double-conversion.h:42:0, - from number_decimalquantity.cpp:19: -double-conversion-utils.h:119:2: error: #error Target architecture was not detected as supported by Double-Conversion. - #error Target architecture was not detected as supported by Double-Conversion. - -detected by buildroot autobuilders: -http://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/ - -Patch sent upstream: https://github.com/unicode-org/icu/pull/725 -Bug report: https://unicode-org.atlassian.net/browse/ICU-20751 - -[Bernd: Fixed path] -Signed-off-by: Bernd Kuhls -[Added Changelog entry] -Signed-off-by: Peter Seiderer - -* double-conversion: enable for xtensa - -Signed-off-by: Peter Seiderer - -[Retrieved (dand backported) from: -https://github.com/google/double-conversion/commit/a54561be5588ac9b16d3c20760b9b554168bb8aa] -Signed-off-by: Fabrice Fontaine ---- -Note: - -Double-conversion tested with: - - $ cat div.c -double Div_double(double x, double y) { return x / y; } - - $ cat main.c -double Div_double(double x, double y); - -int main(int argc, char** argv) { - double result = Div_double(89255.0, 1e22); - if (result == 89255e-22) { - printf("correct result %e\n", result); - return 1; - } else { - printf("wrong result %e\n", result); - return 0; - } -} - -Tested for xtensa (using qemu_xtensa_lx60_defconfig plus BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE): - - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c div.c - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c main.c - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -o main main.o div.o - - $ ./host/bin/qemu-xtensa -L staging main -correct result 8.925500e-18 ---- - Changelog | 4 ++++ - double-conversion/utils.h | 3 ++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 221467f..98ec28b 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -94,6 +94,7 @@ int main(int argc, char** argv) { - defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \ - defined(__hppa__) || defined(__ia64__) || \ - defined(__mips__) || \ -+ defined(__nios2__) || \ - defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ - defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ -@@ -102,7 +103,7 @@ int main(int argc, char** argv) { - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || defined(__e2k__) || \ - defined(__or1k__) || defined(__arc__) || \ -- defined(__microblaze__) -+ defined(__microblaze__) || defined(__XTENSA__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) - #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/package/python-ujson/python-ujson.hash b/package/python-ujson/python-ujson.hash index fc897c381b..e88e273145 100644 --- a/package/python-ujson/python-ujson.hash +++ b/package/python-ujson/python-ujson.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/ujson/json -md5 9a90e2e9f1d465c2121b8d10f837f53a ujson-4.2.0.tar.gz -sha256 fffe509f556861c7343c6cba57ed05fe7bcf4b48a934a5b946ccb45428cf8883 ujson-4.2.0.tar.gz +md5 2c7ffd2bf23f6f07da3a0cbf5ff5c2f0 ujson-5.2.0.tar.gz +sha256 163191b88842d874e081707d35de2e205e0e396e70fd068d1038879bca8b17ad ujson-5.2.0.tar.gz # Locally computed sha256 checksums sha256 6a00a8f8b4050303368b694147bde1aed9c96bdff869c181dbbf3ccb784a1501 LICENSE.txt diff --git a/package/python-ujson/python-ujson.mk b/package/python-ujson/python-ujson.mk index 68781c6170..8eb5f6a0a7 100644 --- a/package/python-ujson/python-ujson.mk +++ b/package/python-ujson/python-ujson.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_UJSON_VERSION = 4.2.0 +PYTHON_UJSON_VERSION = 5.2.0 PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz -PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/df/69/e8f615e1a779e2d2d23d29d56dc55bbb1db2a828f0ef36d10bc697d63968 +PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/e4/fc/2dee0e78162aa1ad03dadde9a9b5c281d6f8bb0eed6810a270486d8fc041 PYTHON_UJSON_SETUP_TYPE = setuptools PYTHON_UJSON_LICENSE = BSD-3-Clause PYTHON_UJSON_LICENSE_FILES = LICENSE.txt -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 20:03:25 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 14:03:25 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-urllib3: bump to version 1.26.9 Message-ID: <20220428200325.789340-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2415f24199..bab97249b0 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 50831ca7b19bbe2781abb0a4c2d51760 urllib3-1.26.8.tar.gz -sha256 0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c urllib3-1.26.8.tar.gz +md5 d4b58522821a33c5e421191b83e0dbac urllib3-1.26.9.tar.gz +sha256 aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e urllib3-1.26.9.tar.gz # Locally computed sha256 checksums sha256 c37bf186e27cf9dbe9619e55edfe3cea7b30091ceb3da63c7dacbe0e6d77907b LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index d94c97b4ed..cb2f7ffe5d 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 1.26.8 +PYTHON_URLLIB3_VERSION = 1.26.9 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/b0/b1/7bbf5181f8e3258efae31702f5eab87d8a74a72a0aa78bc8c08c1466e243 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 20:09:26 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 14:09:26 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-aenum: bump to version 3.1.11 Message-ID: <20220428200926.790948-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-aenum/python-aenum.hash | 4 ++-- package/python-aenum/python-aenum.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-aenum/python-aenum.hash b/package/python-aenum/python-aenum.hash index d10254f9b1..40c0e55fc5 100644 --- a/package/python-aenum/python-aenum.hash +++ b/package/python-aenum/python-aenum.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/aenum/json -md5 6f30144abd4d156f22f8a49d81c496df aenum-3.1.0.tar.gz -sha256 87f0e9ef4f828578ab06af30e4d7944043bf4ecd3f4b7bd1cbe37e2173cde94a aenum-3.1.0.tar.gz +md5 c0b78a74cdfacc0bf0cbb42785afaed8 aenum-3.1.11.tar.gz +sha256 aed2c273547ae72a0d5ee869719c02a643da16bf507c80958faadc7e038e3f73 aenum-3.1.11.tar.gz # Locally computed sha256 checksums sha256 0db837e38002017b352666c83c8d3216ee5b9b2229375eb2cf4487f8c24e1f8c aenum/LICENSE diff --git a/package/python-aenum/python-aenum.mk b/package/python-aenum/python-aenum.mk index 72eaa1db2b..9a30211bb6 100644 --- a/package/python-aenum/python-aenum.mk +++ b/package/python-aenum/python-aenum.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AENUM_VERSION = 3.1.0 +PYTHON_AENUM_VERSION = 3.1.11 PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz -PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/ae/25/00b2949186e76a4c9732e33221274964fecf5c88178cbe5a14a80cfc04e8 +PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/63/6c/a71e18de7c651f384b328be6bccadbbd472aca62f547c1a307b9388d03ca PYTHON_AENUM_SETUP_TYPE = setuptools PYTHON_AENUM_LICENSE = BSD-3-Clause PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE -- 2.25.1 From bernd.kuhls at t-online.de Thu Apr 28 20:15:38 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 22:15:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/ffmpeg: bump verson to 4.4.2 Message-ID: <20220428201538.3150261-1-bernd.kuhls@t-online.de> Changelog: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=Changelog;hb=refs/heads/release/4.4 Signed-off-by: Bernd Kuhls --- package/ffmpeg/ffmpeg.hash | 2 +- package/ffmpeg/ffmpeg.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ffmpeg/ffmpeg.hash b/package/ffmpeg/ffmpeg.hash index abb397f872..8669a060d0 100644 --- a/package/ffmpeg/ffmpeg.hash +++ b/package/ffmpeg/ffmpeg.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02 ffmpeg-4.4.1.tar.xz +sha256 af419a7f88adbc56c758ab19b4c708afbcae15ef09606b82b855291f6a6faa93 ffmpeg-4.4.2.tar.xz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 sha256 b634ab5640e258563c536e658cad87080553df6f34f62269a21d554844e58bfe COPYING.LGPLv2.1 sha256 cb48bf09a11f5fb576cddb0431c8f5ed0a60157a9ec942adffc13907cbe083f2 LICENSE.md diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 5a79faed47..82d229903f 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -4,7 +4,7 @@ # ################################################################################ -FFMPEG_VERSION = 4.4.1 +FFMPEG_VERSION = 4.4.2 FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz FFMPEG_SITE = http://ffmpeg.org/releases FFMPEG_INSTALL_STAGING = YES -- 2.30.2 From james.hilliard1 at gmail.com Thu Apr 28 20:16:19 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 14:16:19 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-autobahn: bump to version 22.3.2 Message-ID: <20220428201619.792756-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- package/python-autobahn/python-autobahn.hash | 4 ++-- package/python-autobahn/python-autobahn.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-autobahn/python-autobahn.hash b/package/python-autobahn/python-autobahn.hash index 7b963df635..cc68f822a3 100644 --- a/package/python-autobahn/python-autobahn.hash +++ b/package/python-autobahn/python-autobahn.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/autobahn/json -md5 9b0ae4ff164232c952ba01ab3516188e autobahn-22.1.1.tar.gz -sha256 17e1b58b6ae1a63ca7d926b1d71bb9e4fd6b9ac9a1a2277d8ee40e0b61f54746 autobahn-22.1.1.tar.gz +md5 b0b5e10bfea95f32900708be705efcf0 autobahn-22.3.2.tar.gz +sha256 58a887c7a196bb08d8b6624cb3695f493a9e5c9f00fd350d8d6f829b47ff9036 autobahn-22.3.2.tar.gz # Locally computed sha256 checksums sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE diff --git a/package/python-autobahn/python-autobahn.mk b/package/python-autobahn/python-autobahn.mk index df43e9cdf2..37256ec8f6 100644 --- a/package/python-autobahn/python-autobahn.mk +++ b/package/python-autobahn/python-autobahn.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AUTOBAHN_VERSION = 22.1.1 +PYTHON_AUTOBAHN_VERSION = 22.3.2 PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz -PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/0e/2a/0b627ad4adf70437b5753462958b3ba5c6802d7664eb4a680e46423659ba +PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/e9/a7/4dea20063b78eb50a54182494ae634cffc0ed6208bf775771f374a9fb8bc PYTHON_AUTOBAHN_LICENSE = MIT PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE PYTHON_AUTOBAHN_CPE_ID_VENDOR = crossbar -- 2.25.1 From bernd.kuhls at t-online.de Thu Apr 28 20:17:20 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 22:17:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/vlc: bump version to 3.0.17.4 Message-ID: <20220428201720.3150467-1-bernd.kuhls@t-online.de> Release notes: http://www.videolan.org/vlc/releases/3.0.17.html Signed-off-by: Bernd Kuhls --- package/vlc/vlc.hash | 8 ++++---- package/vlc/vlc.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/vlc/vlc.hash b/package/vlc/vlc.hash index 468ec7df35..9060097906 100644 --- a/package/vlc/vlc.hash +++ b/package/vlc/vlc.hash @@ -1,7 +1,7 @@ -# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha256 -sha256 ffae35fc64f625c175571d2346bc5f6207be99762517f15423e74f18399410f6 vlc-3.0.16.tar.xz -# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha1 -sha1 e22ac839a09b5ead8992ae6aa8ea886364283e6a vlc-3.0.16.tar.xz +# From https://get.videolan.org/vlc/3.0.17.4/vlc-3.0.17.4.tar.xz.sha256 +sha256 8c5a62d88a4fb45c1b095cf10befef217dfa87aedcec5184b9e7d590b6dd4133 vlc-3.0.17.4.tar.xz +# From https://get.videolan.org/vlc/3.0.17.4/vlc-3.0.17.4.tar.xz.sha1 +sha1 ebcd9939103fda141267c5a8f1c603df4533218e vlc-3.0.17.4.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index b793e0efe0..aee3b735a9 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -4,7 +4,7 @@ # ################################################################################ -VLC_VERSION = 3.0.16 +VLC_VERSION = 3.0.17.4 VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION) VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz VLC_LICENSE = GPL-2.0+, LGPL-2.1+ -- 2.30.2 From bernd.kuhls at t-online.de Thu Apr 28 20:20:09 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 22:20:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/php: bump version to 8.0.18 Message-ID: <20220428202009.3273602-1-bernd.kuhls@t-online.de> Changelog: https://www.php.net/ChangeLog-8.php#8.0.18 Signed-off-by: Bernd Kuhls --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index 3d73e60f90..76501c0fdd 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 4e7d94bb3d144412cb8b2adeb599fb1c6c1d7b357b0d0d0478dc5ef53532ebc5 php-8.0.17.tar.xz +sha256 db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7 php-8.0.18.tar.xz # License file sha256 a188db807d711536f71e27b7d36879d63480f7994dc18adc08e624b3c5430fff LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index 6454d6fe87..adfbf3cad2 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.0.17 +PHP_VERSION = 8.0.18 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES -- 2.30.2 From bernd.kuhls at t-online.de Thu Apr 28 20:24:16 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 22:24:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.15.7 Message-ID: <20220428202416.3560203-1-bernd.kuhls@t-online.de> Release notes: https://www.samba.org/samba/history/samba-4.15.7.html Signed-off-by: Bernd Kuhls --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index 20e5f00b21..ac28c35614 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.15.6.tar.asc -sha256 0575b999a9048445820428dc540ba8a9527ce596fa66af02ea2ba1ea9578bcb4 samba-4.15.6.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.15.7.tar.asc +sha256 76d0096c16ed0265b337d5731f3c0b32eed3adab6fa8b7585c055b287cd05d6b samba-4.15.7.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 688aaac3eb..df3a7e58c8 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.15.6 +SAMBA4_VERSION = 4.15.7 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES -- 2.30.2 From fontaine.fabrice at gmail.com Thu Apr 28 20:40:48 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 28 Apr 2022 22:40:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/libldns: fix build with libressl >= 3.5.0 Message-ID: <20220428204048.4003582-1-fontaine.fabrice@gmail.com> Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: ./dnssec.c: In function 'ldns_key_buf2dsa_raw': ./dnssec.c:386:5: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'} 386 | dsa->p = P; | ^~ Fixes: - http://autobuild.buildroot.org/results/d754fbaa8f6687597682fbf0b71c16527c8cd603 Signed-off-by: Fabrice Fontaine --- ...se-accessors-for-DSA-and-RSA-objects.patch | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch diff --git a/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch new file mode 100644 index 0000000000..f7ebbbf8b2 --- /dev/null +++ b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch @@ -0,0 +1,96 @@ +From 887d618239312cc8c11e41c45492eee02a8f28a2 Mon Sep 17 00:00:00 2001 +From: Theo Buehler +Date: Tue, 11 Jan 2022 21:14:24 +0100 +Subject: [PATCH] Use accessors for DSA and RSA objects + +In the upcoming LibreSSL version 3.5, the DSA and RSA structs will +become opaque, so we should use the OpenSSL 1.1 setters and getters +to fix the build. The relevant API has been available since +LibreSSL 2.7. The last LibreSSL version (2.6) not having these +accessors was EOL late 2018, so no users should be affected by this +change. + +[Retrieved from: +https://github.com/NLnetLabs/ldns/commit/887d618239312cc8c11e41c45492eee02a8f28a2] +Signed-off-by: Fabrice Fontaine +--- + dnssec.c | 4 ++-- + host2str.c | 4 ++-- + keys.c | 6 +++--- + 3 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/dnssec.c b/dnssec.c +index 63fece52..fbaa518a 100644 +--- a/dnssec.c ++++ b/dnssec.c +@@ -381,7 +381,7 @@ ldns_key_buf2dsa_raw(const unsigned char* key, size_t len) + BN_free(Y); + return NULL; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + dsa->p = P; + dsa->q = Q; +@@ -468,7 +468,7 @@ ldns_key_buf2rsa_raw(const unsigned char* key, size_t len) + BN_free(modulus); + return NULL; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + rsa->n = modulus; + rsa->e = exponent; +diff --git a/host2str.c b/host2str.c +index a207a913..634c5676 100644 +--- a/host2str.c ++++ b/host2str.c +@@ -2451,7 +2451,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) + const BIGNUM *n=NULL, *e=NULL, *d=NULL, + *p=NULL, *q=NULL, *dmp1=NULL, + *dmq1=NULL, *iqmp=NULL; +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + n = rsa->n; + e = rsa->e; + d = rsa->d; +@@ -2504,7 +2504,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) + if(1) { + const BIGNUM *p=NULL, *q=NULL, *g=NULL, + *priv_key=NULL, *pub_key=NULL; +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + p = dsa->p; + q = dsa->q; +diff --git a/keys.c b/keys.c +index 91a3dffd..78bea972 100644 +--- a/keys.c ++++ b/keys.c +@@ -861,7 +861,7 @@ ldns_key_new_frm_fp_rsa_l(FILE *f, int *line_nr) + } + #endif /* splint */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + # ifndef S_SPLINT_S + rsa->n = n; + rsa->e = e; +@@ -982,7 +982,7 @@ ldns_key_new_frm_fp_dsa_l(FILE *f, ATTR_UNUSED(int *line_nr)) + } + #endif /* splint */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + # ifndef S_SPLINT_S + dsa->p = p; + dsa->q = q; +@@ -1660,7 +1660,7 @@ ldns_key_rsa2bin(unsigned char *data, RSA *k, uint16_t *size) + if (!k) { + return false; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + n = k->n; + e = k->e; + #else -- 2.35.1 From fontaine.fabrice at gmail.com Thu Apr 28 20:49:32 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 28 Apr 2022 22:49:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4843 Message-ID: <20220428204932.948797-1-fontaine.fabrice@gmail.com> Fix CVE-2022-1381: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution Signed-off-by: Fabrice Fontaine --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d55b1ea355..1cd0de9991 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz +sha256 f2755fca3b2f47052166dd601a38411b9adbeca0d43885194db8ada4d1a171a3 vim-8.2.4843.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 4eb659fd6e..be96a08d09 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4732 +VIM_VERSION = 8.2.4843 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 20:55:45 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 22:55:45 +0200 Subject: [Buildroot] [PATCH v3 2/4] boot/afboot-stm32: add patch fixing build issue with recent binutils In-Reply-To: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428205548.524402-2-thomas.petazzoni@bootlin.com> The afboot-stm32 build system was initially linking with gcc, but that was changed upstream following a Buildroot contribution to use ld instead. However, the build system was still passing -nostartfiles, which is a gcc option. By luck, this option was simply ignored by older versions of ld (such as binutils 2.32), but newer versions of ld (2.36 and newer, at least) no longer accept/ignore this option. This commit adds a patch that drops the use of this option, since it is useless for ld. The first patch is slightly updated because the upstream pull request has been updated to contain both build fixes. Signed-off-by: Thomas Petazzoni --- Changes since v2: - New patch, fixing a build issue spotted by Yann E. Morin --- ...fno-builtin-to-fix-build-with-gcc-10.patch | 6 +-- .../0002-Makefile-drop-nostartfiles.patch | 40 +++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch diff --git a/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch b/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch index 5ef47b59ff..aef283270e 100644 --- a/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch +++ b/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch @@ -1,4 +1,4 @@ -From 5448f328ff63a6ca4a64519c2f1dfc63a33df4b7 Mon Sep 17 00:00:00 2001 +From 9901603e18524c4c52fd1dd47bda4ab4016628fc Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 10 Sep 2020 11:37:33 +0200 Subject: [PATCH] Pass -fno-builtin to fix build with gcc 10 @@ -23,7 +23,7 @@ stm32f429i-disco.c:(.text.reset+0x1a): undefined reference to `memcpy' /home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: stm32f429i-disco.c:(.text.reset+0x34): undefined reference to `memset' make[1]: *** [Makefile:26: stm32f429i-disco] Error 1 -Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/9 +Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/11 Signed-off-by: Thomas Petazzoni --- Makefile | 1 + @@ -42,5 +42,5 @@ index f699176..1e8557d 100644 obj-y += gpio.o mpu.o qspi.o start_kernel.o -- -2.26.2 +2.35.1 diff --git a/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch b/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch new file mode 100644 index 0000000000..7e5a6430bc --- /dev/null +++ b/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch @@ -0,0 +1,40 @@ +From be760c062c5d05bd2223f3916afafd37120d3318 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Thu, 28 Apr 2022 22:47:09 +0200 +Subject: [PATCH] Makefile: drop -nostartfiles + +In commit 0f3e61c9dd48fd8b4248ce4672c044c2562e4de1 ("Use ld instead of +gcc for linking "), we started using ld instead of gcc for the link +step. This worked fine for a while, but recent versions of ld no +longer accept the -nostartfiles option, causing the build to break: + +Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?) + +In fact, -nostartfiles was passed to gcc prior to +0f3e61c9dd48fd8b4248ce4672c044c2562e4de1, but it is not a ld +option. It is only by luck that it was accepted and ignored by older +ld versions. Since this option is useless when calling ld directly, we +can simply drop it. + +Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/11 +Signed-off-by: Thomas Petazzoni +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 1e8557d..8f42be1 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,7 +14,7 @@ CFLAGS := -mthumb -mcpu=cortex-m4 + CFLAGS += -ffunction-sections -fdata-sections + CFLAGS += -Os -std=gnu99 -Wall + CFLAGS += -fno-builtin +-LINKERFLAGS := -nostartfiles --gc-sections ++LINKERFLAGS := --gc-sections + + obj-y += gpio.o mpu.o qspi.o start_kernel.o + obj-f4 += $(obj-y) usart-f4.o +-- +2.35.1 + -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 20:55:46 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 22:55:46 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/binutils: re-enable recent versions of binutils for FLAT binaries In-Reply-To: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428205548.524402-3-thomas.petazzoni@bootlin.com> Thanks to the bump of elf2flt to version 2021.08, the issue with recent versions of binutils has been fixed, so we can re-enable using the recent binutils versions. Signed-off-by: Thomas Petazzoni --- package/binutils/Config.in.host | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index e639c67149..4382b32237 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,21 +19,12 @@ config BR2_BINUTILS_VERSION_2_32_X config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_37_X bool "binutils 2.37" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_38_X bool "binutils 2.38" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 20:55:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 22:55:44 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/elf2flt: update to version 2021.08 Message-ID: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> It contains several fixes and improvements compared to our current version, and two of our patches have been accepted upstream. Most notably, it fixes the issue we had in using elf2flt with recent versions of binutils (upstream commit ba379d08bb78c9300e84351c11080c26ddcc36b3). Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d The other two patches are refreshed to apply properly on 2021.08. Signed-off-by: Thomas Petazzoni --- Changes since v1: - Drop patch numbering, as pointed by Baruch --- ...> 0001-elf2flt-handle-binutils-2.34.patch} | 78 ++++---- ...e-properly-when-called-with-a-name-d.patch | 79 -------- ...2-elf2flt-add-riscv-64-bits-support.patch} | 38 ++-- ...-add-new-relocation-types-for-xtensa.patch | 188 ------------------ package/elf2flt/elf2flt.hash | 2 +- package/elf2flt/elf2flt.mk | 4 +- 6 files changed, 57 insertions(+), 332 deletions(-) rename package/elf2flt/{0003-elf2flt-handle-binutils-2.34.patch => 0001-elf2flt-handle-binutils-2.34.patch} (89%) delete mode 100644 package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch rename package/elf2flt/{0004-elf2flt-add-riscv-64-bits-support.patch => 0002-elf2flt-add-riscv-64-bits-support.patch} (83%) delete mode 100644 package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch similarity index 89% rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch index 16d5633385..4aa473c244 100644 --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch @@ -1,4 +1,4 @@ -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 5 Feb 2020 10:31:32 +0100 Subject: [PATCH] elf2flt: handle binutils >= 2.34 @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/configure.ac b/configure.ac -index e82eb1d..cf7dea8 100644 +index b7db2cb..fdc0876 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 CFLAGS="-Wall $CFLAGS" if test "$werror" = 1 ; then diff --git a/elf2flt.c b/elf2flt.c -index b93aecd..3bcf4fe 100644 +index 7ac0617..ea6b5a1 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -149,6 +149,17 @@ const char *elf2flt_progname; @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 if (verbose) printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", -@@ -442,7 +451,7 @@ output_relocs ( +@@ -443,7 +452,7 @@ output_relocs ( continue; if (verbose) printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 if ((r->flags & SEC_RELOC) == 0) continue; relsize = bfd_get_reloc_upper_bound(rel_bfd, r); -@@ -694,7 +703,7 @@ output_relocs ( +@@ -695,7 +704,7 @@ output_relocs ( case R_BFIN_RIMM16: case R_BFIN_LUIMM16: case R_BFIN_HUIMM16: @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -727,7 +736,7 @@ output_relocs ( +@@ -728,7 +737,7 @@ output_relocs ( break; case R_BFIN_BYTE4_DATA: @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -885,7 +894,7 @@ output_relocs ( +@@ -886,7 +895,7 @@ output_relocs ( #if defined(TARGET_m68k) case R_68K_32: relocation_needed = 1; @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_68K_PC16: -@@ -910,7 +919,7 @@ output_relocs ( +@@ -911,7 +920,7 @@ output_relocs ( q->address, sym_addr, (*p)->howto->rightshift, *(uint32_t *)r_mem); @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_ARM_GOT32: -@@ -938,7 +947,7 @@ output_relocs ( +@@ -939,7 +948,7 @@ output_relocs ( #ifdef TARGET_v850 case R_V850_ABS32: relocation_needed = 1; @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_V850_ZDA_16_16_OFFSET: -@@ -960,7 +969,7 @@ output_relocs ( +@@ -961,7 +970,7 @@ output_relocs ( sym_addr = (*(q->sym_ptr_ptr))->value; q->address -= 1; r_mem -= 1; /* tracks q->address */ @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= (*(unsigned char *)r_mem<<24); break; -@@ -973,7 +982,7 @@ output_relocs ( +@@ -974,7 +983,7 @@ output_relocs ( /* Absolute symbol done not relocation */ relocation_needed = !bfd_is_abs_section(sym_section); sym_addr = (*(q->sym_ptr_ptr))->value; @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_DIR32: -@@ -986,7 +995,7 @@ output_relocs ( +@@ -987,7 +996,7 @@ output_relocs ( } relocation_needed = 1; sym_addr = (*(q->sym_ptr_ptr))->value; @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_PCREL16: -@@ -1012,7 +1021,7 @@ output_relocs ( +@@ -1013,7 +1022,7 @@ output_relocs ( #ifdef TARGET_microblaze case R_MICROBLAZE_64: /* work out the relocation */ @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* Write relocated pointer back */ r_mem[2] = (sym_addr >> 24) & 0xff; -@@ -1026,7 +1035,7 @@ output_relocs ( +@@ -1027,7 +1036,7 @@ output_relocs ( pflags = 0x80000000; break; case R_MICROBLAZE_32: @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; relocation_needed = 1; break; -@@ -1058,7 +1067,7 @@ output_relocs ( +@@ -1059,7 +1068,7 @@ output_relocs ( case R_NIOS2_BFD_RELOC_32: relocation_needed = 1; pflags = (FLAT_NIOS2_R_32 << 28); @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* modify target, in target order */ *(unsigned long *)r_mem = htoniosl(sym_addr); -@@ -1068,7 +1077,7 @@ output_relocs ( +@@ -1069,7 +1078,7 @@ output_relocs ( unsigned long exist_val; relocation_needed = 1; pflags = (FLAT_NIOS2_R_CALL26 << 28); - sym_vma = bfd_section_vma(abs_bfd, sym_section); + sym_vma = elf2flt_bfd_section_vma(sym_section); sym_addr += sym_vma + q->addend; - + /* modify target, in target order */ -@@ -1099,7 +1108,7 @@ output_relocs ( +@@ -1100,7 +1109,7 @@ output_relocs ( ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; pflags <<= 28; - + - sym_vma = bfd_section_vma(abs_bfd, sym_section); -+ sym_vma = elf2flt_bfd_section_vma(sym_section); ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); sym_addr += sym_vma + q->addend; /* modify high 16 bits, in target order */ -@@ -1132,7 +1141,7 @@ output_relocs ( +@@ -1133,7 +1142,7 @@ output_relocs ( goto NIOS2_RELOC_ERR; } /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); sym_addr += sym_vma + q->addend; sym_addr -= gp; -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: case R_SPARC_32: case R_SPARC_UA32: relocation_needed = 1; @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SPARC_PC22: -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: case R_SPARC_HI22: relocation_needed = 1; pflags = 0x80000000; @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= ( htonl(*(uint32_t *)r_mem) -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: case R_SPARC_LO10: relocation_needed = 1; pflags = 0x40000000; @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr &= 0x000003ff; sym_addr |= ( -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: #ifdef TARGET_sh case R_SH_DIR32: relocation_needed = 1; @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SH_REL32: -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: case R_E1_CONST31: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: DBG_E1("Handling Reloc \n"); DIS29_RELOCATION: relocation_needed = 1; @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: case R_E1_IMM32: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: case R_E1_WORD: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: } sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 /* -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) } else continue; @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 if (sec_vma < *vma) { if (*len > 0) -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_CODE) +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) + (SEC_DATA | SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, text + (s->vma - text_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 { fatal("read error section %s", s->name); } -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_DATA) +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) + (SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, data + (s->vma - data_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 fatal("read error section %s", s->name); } -- -2.25.4 +2.35.1 diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch deleted file mode 100644 index a27c4913fb..0000000000 --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 13 Aug 2017 16:03:20 +0200 -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different - from TARGET_ALIAS - -ld-elf2flt currently handles two cases: - - 1 It is called as the wrapper for -ld, generally - installed in the bin/ directory of a toolchain. - - 2 It is called as the wrapper for "ld", generally installed in the - TARGET_ALIAS/bin/ directory of a toolchain. - -Unfortunately, if for some reason it gets called using a FOOBAR-ld -name that is different from -ld, it assumes it is in -case (2), while it really is in case (1). Due to this, the path -mangling logic doesn't work, and it doesn't find ld.real. - -This happens for example when the binary program in bin/ is named -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink -named arm-linux-ld. In this case, -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as -containing TARGET_ALIAS, and therefore the proper logic to find -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt -doesn't find TARGET_ALIAS, and therefore assumes we're being called as -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in -bin/, which doesn't exist. - -See: - -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -$ ./output/host/bin/arm-linux-ld -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory - -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -This commit fixes that by inverting the logic: if we're being called -as just "ld", then we assume it's the program in -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of -TARGET-ld. - -Signed-off-by: Thomas Petazzoni -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 ---- - ld-elf2flt.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index de39fe0..c187c2e 100644 ---- a/ld-elf2flt.c -+++ b/ld-elf2flt.c -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) - the host while those in /lib are for the target. - Make bindir point to the bin dir for bin/-foo. - Make tooldir point to the bin dir for /bin/foo. */ -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); -+ if (streqn(elf2flt_progname, "ld")) { -+ tmp = concat(argv0_dir, "../../bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- tooldir = concat(tmp, "/", NULL); -+ bindir = concat(tmp, "/", NULL); - } - } else { -- tmp = concat(argv0_dir, "../../bin", NULL); -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- bindir = concat(tmp, "/", NULL); -+ tooldir = concat(tmp, "/", NULL); - } - } - --- -2.9.4 - diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch similarity index 83% rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch index 4b00758446..c530bc020d 100644 --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch @@ -1,4 +1,4 @@ -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Wed, 9 Sep 2020 17:31:33 +0900 Subject: [PATCH] elf2flt: add riscv 64-bits support @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . Signed-off-by: Damien Le Moal --- elf2flt.c | 23 +++++++++++++++++++++++ - elf2flt.ld.in | 9 +++++---- + elf2flt.ld.in | 1 + ld-elf2flt.c | 16 ++++++++++++++++ - 3 files changed, 44 insertions(+), 4 deletions(-) + 3 files changed, 40 insertions(+) diff --git a/elf2flt.c b/elf2flt.c -index f87f1fc..dbce467 100644 +index ea6b5a1..7100c20 100644 --- a/elf2flt.c +++ b/elf2flt.c -@@ -80,6 +80,8 @@ const char *elf2flt_progname; +@@ -81,6 +81,8 @@ const char *elf2flt_progname; #include #elif defined(TARGET_xtensa) #include @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 #endif #if defined(__MINGW32__) -@@ -122,6 +124,8 @@ const char *elf2flt_progname; +@@ -123,6 +125,8 @@ const char *elf2flt_progname; #define ARCH "nios2" #elif defined(TARGET_xtensa) #define ARCH "xtensa" @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 #else #error "Don't know how to support your CPU architecture??" #endif -@@ -797,6 +801,16 @@ output_relocs ( +@@ -821,6 +825,16 @@ output_relocs ( goto good_32bit_resolved_reloc; default: goto bad_resolved_reloc; @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 #else default: /* The default is to assume that the -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) if (!load_to_ram && !pfile) load_to_ram = 1; @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 if (pfile) { diff --git a/elf2flt.ld.in b/elf2flt.ld.in -index ec1fe6f..c0c44b8 100644 +index 0df999d..f1eed1f 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) . = ALIGN(0x20) ; LONG(-1) . = ALIGN(0x20) ; --R_RODAT *(.rodata) --R_RODAT *(.rodata1) --R_RODAT *(.rodata.*) --R_RODAT *(.gnu.linkonce.r*) +RISCV_GP: __global_pointer$ = . + 0x800 ; -+R_RODAT *(.rodata) -+R_RODAT *(.rodata1) -+R_RODAT *(.rodata.*) -+R_RODAT *(.gnu.linkonce.r*) - *(.data) - *(.data1) - *(.data.*) + R_RODAT: *(.rodata) + R_RODAT: *(.rodata1) + R_RODAT: *(.rodata.*) diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index e5de506..31b565f 100644 +index 7cb02d5..1a503dd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -324,6 +324,22 @@ static int do_final_link(void) @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 if (!linker_script) linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); -- -2.31.1 +2.35.1 diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch deleted file mode 100644 index 953bd79ccf..0000000000 --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch +++ /dev/null @@ -1,188 +0,0 @@ -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 7 May 2020 21:11:43 -0700 -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa - -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. -Add them to the list of ignored relocation types. - -This fixes the following error when invoking elf2flt on xtensa binaries -built with the recent binutils: - - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context - -Reported-by: Romain Naour -Signed-off-by: Max Filippov -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d ---- - Makefile.in | 3 ++- - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 14 ++++++++++++ - elf2flt.c | 8 +++++++ - 4 files changed, 88 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 52b3347d7f43..0529c7f0a25a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ - -DNO_GOT_CHECK=@got_check@ \ - -DUSE_EMIT_RELOCS=@emit_relocs@ \ - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ - EXEEXT = @EXEEXT@ - OBJEXT = @OBJEXT@ - -diff --git a/configure b/configure -index bb8e33f9cb28..bca38c34247e 100755 ---- a/configure -+++ b/configure -@@ -621,6 +621,7 @@ ac_includes_default="\ - - ac_subst_vars='LTLIBOBJS - LIBOBJS -+HAVE_BFD_XTENSA_PDIFF_RELOCS - SYMBOL_PREFIX - always_reloc_text - emit_ctor_dtor -@@ -1729,6 +1730,52 @@ fi - - } # ac_fn_c_try_link - -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+ - # ac_fn_c_check_func LINENO FUNC VAR - # ---------------------------------- - # Tests whether FUNC exists, setting the cache variable VAR accordingly -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h - fi - - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ OLD_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" -+ #include \"elf/xtensa.h\" -+" -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 -+fi -+ -+ CPPFLAGS=$OLD_CPPFLAGS -+ ;; -+esac -+ - for ac_func in vprintf - do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -@@ -4333,6 +4396,7 @@ fi - - - -+ - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" - - cat >confcache <<\_ACEOF -diff --git a/configure.ac b/configure.ac -index d6b4119eb18a..19969b1045f6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, -+ [#include "bfd.h" -+ #include "elf/xtensa.h"]) -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) -+ ;; -+esac -+ - dnl Checks for library functions. - AC_FUNC_VPRINTF - -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) - AC_SUBST(emit_ctor_dtor) - AC_SUBST(always_reloc_text) - AC_SUBST(SYMBOL_PREFIX) -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) - - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) - -diff --git a/elf2flt.c b/elf2flt.c -index b7c4a490df02..961534973f56 100644 ---- a/elf2flt.c -+++ b/elf2flt.c -@@ -776,6 +776,14 @@ output_relocs ( - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: -+#endif - case R_XTENSA_32_PCREL: - continue; - case R_XTENSA_32: --- -2.20.1 - diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash index c4b0697fcd..c576f65cdb 100644 --- a/package/elf2flt/elf2flt.hash +++ b/package/elf2flt/elf2flt.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk index 3239af1b9a..11cacaf9e0 100644 --- a/package/elf2flt/elf2flt.mk +++ b/package/elf2flt/elf2flt.mk @@ -4,8 +4,8 @@ # ################################################################################ -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) +ELF2FLT_VERSION = 2021.08 +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) ELF2FLT_LICENSE = GPL-2.0+ ELF2FLT_LICENSE_FILES = LICENSE.TXT -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 20:55:47 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 22:55:47 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/binutils: drop version 2.32 In-Reply-To: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428205548.524402-4-thomas.petazzoni@bootlin.com> Now that recent versions of binutils work with FLAT binaries, we can drop the old 2.32 version, which was kept only to keep support FLAT binaries. Signed-off-by: Thomas Petazzoni --- Changes since v1: - Drop binutils 2.32 hash in binutils.hash --- Config.in.legacy | 6 + package/binutils/2.32/0001-sh-conf.patch | 48 -- .../2.32/0002-poison-system-directories.patch | 306 ----------- ...hrink_dynamic_reloc_sections-for-exp.patch | 41 -- ...s-const16-for-xtensa-loop-relaxation.patch | 294 ---------- ...t-.literal_position-at-section-start.patch | 96 ---- ...ct-value-in-PLT-GOT-entries-causing-.patch | 46 -- .../0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 --------------- ...TENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ----- ...ith-plt-link-failure-for-local-calls.patch | 59 --- ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 --------- ...K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...ge-plt_relocs-when-generating-plt-en.patch | 500 ------------------ ...or1k-fix-building-with-gcc-version-5.patch | 50 -- ...tive-relocation-against-dynamic-on-P.patch | 59 --- ...K_GOT16-signed-overflow-by-using-spe.patch | 75 --- package/binutils/Config.in.host | 5 - package/binutils/binutils.hash | 1 - 19 files changed, 6 insertions(+), 2494 deletions(-) delete mode 100644 package/binutils/2.32/0001-sh-conf.patch delete mode 100644 package/binutils/2.32/0002-poison-system-directories.patch delete mode 100644 package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch delete mode 100644 package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch delete mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch delete mode 100644 package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch delete mode 100644 package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch delete mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch delete mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch delete mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch delete mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch delete mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch delete mode 100644 package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch delete mode 100644 package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch delete mode 100644 package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch diff --git a/Config.in.legacy b/Config.in.legacy index 387653f45d..6d2c82ab7f 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.05" +config BR2_BINUTILS_VERSION_2_32_X + bool "binutils 2.32.x has been removed" + select BR2_LEGACY + help + binutils 2.32 has been removed, use a newer version. + config BR2_sh2a bool "sh2a architecture support removed" select BR2_LEGACY diff --git a/package/binutils/2.32/0001-sh-conf.patch b/package/binutils/2.32/0001-sh-conf.patch deleted file mode 100644 index fff91ae35c..0000000000 --- a/package/binutils/2.32/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 98b2acf2bd3a527d114a9f8931083c2617a2daa9 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 37476459612..66fbc19f9ff 100755 ---- a/configure -+++ b/configure -@@ -3861,7 +3861,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index 46501c28826..6c731930884 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1158,7 +1158,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.14.5 - diff --git a/package/binutils/2.32/0002-poison-system-directories.patch b/package/binutils/2.32/0002-poison-system-directories.patch deleted file mode 100644 index 98f41e87f3..0000000000 --- a/package/binutils/2.32/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From f559402ea868d370ddf25089c68cda2600db3bfa Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index d93c9b08300..5da2742beac 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -31,6 +31,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index 18ada7808f5..7e7d2f97809 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -822,6 +822,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1486,6 +1487,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15803,7 +15806,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index d335f210917..7f692d93873 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index b97d977f37b..f3bbd2d55d4 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -180,6 +180,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index 5179af3e0e1..f78bf746822 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2524,6 +2524,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+ at kindex --no-poison-system-directories -+ at item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+ at file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+ at kindex --error-poison-system-directories -+ at item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index fcadc08c73f..63e295ce8ae 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 32853debe45..8135361c498 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -148,6 +148,8 @@ enum option_values - OPTION_REQUIRE_DEFINED_SYMBOL, - OPTION_ORPHAN_HANDLING, - OPTION_FORCE_GROUP_ALLOCATION, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index 77cdbd0dd29..725512f1260 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -269,6 +269,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 88e85c73f49..be4cd492d14 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = - { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, - '\0', N_("=MODE"), N_("Control how orphan sections are handled."), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -555,6 +563,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1543,6 +1552,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1586,6 +1603,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - lang_leave_group (); --- -2.14.5 - diff --git a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch deleted file mode 100644 index b80e1fa7ce..0000000000 --- a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 278989f23735aa501be1052e085540c75c126dbb Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 28 Mar 2019 17:03:57 -0700 -Subject: [PATCH] bfd: xtensa: fix shrink_dynamic_reloc_sections for - export-dynamic - -shrink_dynamic_reloc_sections must remove PLT entry that was created for -an undefined weak symbol in the presence of --export-dynamic option when -relaxation coalesces literals pointing to that symbol. This fixes the -following assertion: - - ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at - elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections - -2019-03-28 Max Filippov -bfd/ - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add - info->export_dynamic to the conditional. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index c3df3d6db756..37ea200eea74 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10083,7 +10083,8 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - && (input_section->flags & SEC_ALLOC) != 0 - && (dynamic_symbol || bfd_link_pic (info)) - && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol && bfd_link_dll (info)))) -+ || (dynamic_symbol -+ && (bfd_link_dll (info) || info->export_dynamic)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.11.0 - diff --git a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch deleted file mode 100644 index ed617bcaf7..0000000000 --- a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch +++ /dev/null @@ -1,294 +0,0 @@ -From 0dbdfb7918d0b0cfcb8883b24c1291574bf5bb7c Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Tue, 2 Apr 2019 14:32:42 -0700 -Subject: [PATCH] gas: use literals/const16 for xtensa loop relaxation - -Loop opcode relaxation that uses addi/addmi doesn't work well with other -relaxations that may cause code movement. Instead of encoding fixed loop -end offset in the relaxed sequence use l32r or a pair of const16 to load -loop end address. This way the address of the loop end gets a relocation -record and it gets updated appropriately. - -gas/ -2019-04-02 Max Filippov - - * config/tc-xtensa.c (convert_frag_immed): Drop - convert_frag_immed_finish_loop invocation. - (convert_frag_immed_finish_loop): Drop declaration and - definition. - * config/xtensa-relax.c (widen_spec_list): Replace loop - widening that uses addi/addmi with widening that uses l32r - and const16. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 120 ---------------------------------------------- - gas/config/xtensa-relax.c | 77 ++++++++++++++++++++--------- - 2 files changed, 55 insertions(+), 142 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 3bdbbc931cfc..0cc06361cf6f 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -10668,7 +10668,6 @@ convert_frag_fill_nop (fragS *fragP) - static fixS *fix_new_exp_in_seg - (segT, subsegT, fragS *, int, int, expressionS *, int, - bfd_reloc_code_real_type); --static void convert_frag_immed_finish_loop (segT, fragS *, TInsn *); - - static void - convert_frag_immed (segT segP, -@@ -10910,9 +10909,6 @@ convert_frag_immed (segT segP, - } - } - -- if (expanded && xtensa_opcode_is_loop (isa, orig_tinsn.opcode) == 1) -- convert_frag_immed_finish_loop (segP, fragP, &orig_tinsn); -- - if (expanded && is_direct_call_opcode (orig_tinsn.opcode)) - { - /* Add an expansion note on the expanded instruction. */ -@@ -10949,122 +10945,6 @@ fix_new_exp_in_seg (segT new_seg, - } - - --/* Relax a loop instruction so that it can span loop >256 bytes. -- -- loop as, .L1 -- .L0: -- rsr as, LEND -- wsr as, LBEG -- addi as, as, lo8 (label-.L1) -- addmi as, as, mid8 (label-.L1) -- wsr as, LEND -- isync -- rsr as, LCOUNT -- addi as, as, 1 -- .L1: -- <> -- label: --*/ -- --static void --convert_frag_immed_finish_loop (segT segP, fragS *fragP, TInsn *tinsn) --{ -- TInsn loop_insn; -- TInsn addi_insn; -- TInsn addmi_insn; -- unsigned long target; -- static xtensa_insnbuf insnbuf = NULL; -- unsigned int loop_length, loop_length_hi, loop_length_lo; -- xtensa_isa isa = xtensa_default_isa; -- addressT loop_offset; -- addressT addi_offset = 9; -- addressT addmi_offset = 12; -- fragS *next_fragP; -- int target_count; -- -- if (!insnbuf) -- insnbuf = xtensa_insnbuf_alloc (isa); -- -- /* Get the loop offset. */ -- loop_offset = get_expanded_loop_offset (tinsn->opcode); -- -- /* Validate that there really is a LOOP at the loop_offset. Because -- loops are not bundleable, we can assume that the instruction will be -- in slot 0. */ -- tinsn_from_chars (&loop_insn, fragP->fr_opcode + loop_offset, 0); -- tinsn_immed_from_frag (&loop_insn, fragP, 0); -- -- gas_assert (xtensa_opcode_is_loop (isa, loop_insn.opcode) == 1); -- addi_offset += loop_offset; -- addmi_offset += loop_offset; -- -- gas_assert (tinsn->ntok == 2); -- if (tinsn->tok[1].X_op == O_constant) -- target = tinsn->tok[1].X_add_number; -- else if (tinsn->tok[1].X_op == O_symbol) -- { -- /* Find the fragment. */ -- symbolS *sym = tinsn->tok[1].X_add_symbol; -- gas_assert (S_GET_SEGMENT (sym) == segP -- || S_GET_SEGMENT (sym) == absolute_section); -- target = (S_GET_VALUE (sym) + tinsn->tok[1].X_add_number); -- } -- else -- { -- as_bad (_("invalid expression evaluation type %d"), tinsn->tok[1].X_op); -- target = 0; -- } -- -- loop_length = target - (fragP->fr_address + fragP->fr_fix); -- loop_length_hi = loop_length & ~0x0ff; -- loop_length_lo = loop_length & 0x0ff; -- if (loop_length_lo >= 128) -- { -- loop_length_lo -= 256; -- loop_length_hi += 256; -- } -- -- /* Because addmi sign-extends the immediate, 'loop_length_hi' can be at most -- 32512. If the loop is larger than that, then we just fail. */ -- if (loop_length_hi > 32512) -- as_bad_where (fragP->fr_file, fragP->fr_line, -- _("loop too long for LOOP instruction")); -- -- tinsn_from_chars (&addi_insn, fragP->fr_opcode + addi_offset, 0); -- gas_assert (addi_insn.opcode == xtensa_addi_opcode); -- -- tinsn_from_chars (&addmi_insn, fragP->fr_opcode + addmi_offset, 0); -- gas_assert (addmi_insn.opcode == xtensa_addmi_opcode); -- -- set_expr_const (&addi_insn.tok[2], loop_length_lo); -- tinsn_to_insnbuf (&addi_insn, insnbuf); -- -- fragP->tc_frag_data.is_insn = TRUE; -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addi_offset, 0); -- -- set_expr_const (&addmi_insn.tok[2], loop_length_hi); -- tinsn_to_insnbuf (&addmi_insn, insnbuf); -- xtensa_insnbuf_to_chars -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addmi_offset, 0); -- -- /* Walk through all of the frags from here to the loop end -- and mark them as no_transform to keep them from being modified -- by the linker. If we ever have a relocation for the -- addi/addmi of the difference of two symbols we can remove this. */ -- -- target_count = 0; -- for (next_fragP = fragP; next_fragP != NULL; -- next_fragP = next_fragP->fr_next) -- { -- next_fragP->tc_frag_data.is_no_transform = TRUE; -- if (next_fragP->tc_frag_data.is_loop_target) -- target_count++; -- if (target_count == 2) -- break; -- } --} -- - - /* A map that keeps information on a per-subsegment basis. This is - maintained during initial assembly, but is invalid once the -diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c -index cb296ed85ed2..daf15d52c259 100644 ---- a/gas/config/xtensa-relax.c -+++ b/gas/config/xtensa-relax.c -@@ -87,13 +87,7 @@ - when the first and second operands are not the same as specified - by the "| %at!=%as" precondition clause. - {"l32i %at,%as,%imm | %at!=%as", -- "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} -- -- There is special case for loop instructions here, but because we do -- not currently have the ability to represent the difference of two -- symbols, the conversion requires special code in the assembler to -- write the operands of the addi/addmi pair representing the -- difference of the old and new loop end label. */ -+ "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} */ - - #include "as.h" - #include "xtensa-isa.h" -@@ -306,44 +300,83 @@ static string_pattern_pair widen_spec_list[] = - {"l32i %at,%as,%imm | %at!=%as ? IsaUseConst16", - "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm); add %at,%at,%as; l32i %at,%at,0"}, - -- /* This is only PART of the loop instruction. In addition, -- hardcoded into its use is a modification of the final operand in -- the instruction in bytes 9 and 12. */ -- {"loop %as,%label | %as!=1 ? IsaUseLoops", -+ /* Widening loops with literals. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "loop %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "bltz %as,%label;" -+ "loopgtz %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", -+ "beqz %as,%label;" -+ "loopnez %as,%LABEL;" -+ "rsr.lend %as;" /* LEND */ -+ "wsr.lbeg %as;" /* LBEG */ -+ "LITERAL %label;" -+ "l32r %as, %LITERAL;" -+ "nop;" -+ "wsr.lend %as;" -+ "isync;" -+ "rsr.lcount %as;" /* LCOUNT */ -+ "addi %as, %as, 1;" -+ "LABEL"}, -+ -+ /* Widening loops with const16. */ -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "loop %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopgtz %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "bltz %as,%label;" - "loopgtz %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, -- {"loopnez %as,%label | %as!=1 ? IsaUseLoops", -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", - "beqz %as,%label;" - "loopnez %as,%LABEL;" - "rsr.lend %as;" /* LEND */ - "wsr.lbeg %as;" /* LBEG */ -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ -+ "const16 %as,HI16U(%label);" -+ "const16 %as,LOW16U(%label);" - "wsr.lend %as;" - "isync;" - "rsr.lcount %as;" /* LCOUNT */ -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ -+ "addi %as, %as, 1;" - "LABEL"}, - - /* Relaxing to wide branches. Order is important here. With wide --- -2.11.0 - diff --git a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch deleted file mode 100644 index b4bbc27b37..0000000000 --- a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 471702ac4a57878a06e8167f063274cf413e548d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Mon, 8 Apr 2019 13:47:18 -0700 -Subject: [PATCH] xtensa: gas: put .literal_position at section start - -Provide literal position at the beginning of each section for literal -space reserved by relaxations when text-section-literals or -auto-litpools options are used. Remove code that adds fill frag to the -literal section for every .literal_position directive to avoid creation -of empty literal sections. - -Fix auto-litpools tests that got literal pool address changes. - -gas/ -2019-04-11 Max Filippov - - * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. - (xtensa_mark_literal_pool_location): Don't add fill frag to literal - section that records literal pool location. - (md_begin): Call xtensa_mark_literal_pool_location when text - section literals or auto litpools are used. - (xtensa_elf_section_change_hook): Call - xtensa_mark_literal_pool_location when text section literals or - auto litpools are used, there's no literal pool location defined - for the current section and it's not .init or .fini. - -Signed-off-by: Max Filippov ---- - gas/config/tc-xtensa.c | 22 +++++++++------------- - 1 file changed, 9 insertions(+), 13 deletions(-) - -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 0cc06361cf6f..6a80e76fed8c 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -497,6 +497,7 @@ static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset); - static void xtensa_maybe_create_literal_pool_frag (bfd_boolean, bfd_boolean); - static bfd_boolean auto_litpools = FALSE; - static int auto_litpool_limit = 0; -+static bfd_boolean xtensa_is_init_fini (segT seg); - - /* Alignment Functions. */ - -@@ -4797,7 +4798,6 @@ xtensa_mark_literal_pool_location (void) - { - /* Any labels pointing to the current location need - to be adjusted to after the literal pool. */ -- emit_state s; - fragS *pool_location; - - if (use_literal_section) -@@ -4818,19 +4818,7 @@ xtensa_mark_literal_pool_location (void) - RELAX_LITERAL_POOL_END, NULL, 0, NULL); - xtensa_set_frag_assembly_state (frag_now); - -- /* Now put a frag into the literal pool that points to this location. */ - set_literal_pool_location (now_seg, pool_location); -- xtensa_switch_to_non_abs_literal_fragment (&s); -- frag_align (2, 0, 0); -- record_alignment (now_seg, 2); -- -- /* Close whatever frag is there. */ -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_set_frag_assembly_state (frag_now); -- frag_now->tc_frag_data.literal_frag = pool_location; -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); -- xtensa_restore_emit_state (&s); -- xtensa_set_frag_assembly_state (frag_now); - } - - -@@ -5334,6 +5322,9 @@ md_begin (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section) -+ xtensa_mark_literal_pool_location (); - } - - -@@ -5933,6 +5924,11 @@ xtensa_elf_section_change_hook (void) - /* Set up the assembly state. */ - if (!frag_now->tc_frag_data.is_assembly_state_set) - xtensa_set_frag_assembly_state (frag_now); -+ -+ if (!use_literal_section -+ && seg_info (now_seg)->tc_segment_info_data.literal_pool_loc == NULL -+ && !xtensa_is_init_fini (now_seg)) -+ xtensa_mark_literal_pool_location (); - } - - --- -2.11.0 - diff --git a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch deleted file mode 100644 index 8527b66733..0000000000 --- a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch +++ /dev/null @@ -1,46 +0,0 @@ -From b17678f639f953d687d96cd52690e7cbfae50f91 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Fri, 23 Aug 2019 22:25:55 +0900 -Subject: [PATCH] or1k: Fix incorrect value in PLT GOT entries, causing - infinite loop - -The PLT GOT entry should point to the first PLT entry which contains the -runtime linker function. It was pointing back to the symbol PLT entry -causing an infinite loop. - -I found this when testing the OpenRISC glibc port which uses the runtime -dynamic linker. It seems other libc's we use so far have not been -making use of the initial PLT GOT entries. - -bfd/ChangeLog: - - * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for - PLT GOT entries. - -(cherry picked from commit 09f7b0de537d465fc8ed9f9433e348c1bc78aab2) -Signed-off-by: Romain Naour ---- - bfd/elf32-or1k.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..32839cfa7b6 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2379,8 +2379,11 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, - plt0, plt1, plt2, OR1K_JR(12)); - -- /* Fill in the entry in the global offset table. */ -- bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -+ /* Fill in the entry in the global offset table. We initialize it to -+ point to the top of the plt. This is done to lazy lookup the actual -+ symbol as the first plt entry will be setup by libc to call the -+ runtime dynamic linker. */ -+ bfd_put_32 (output_bfd, plt_base_addr, sgot->contents + got_offset); - - /* Fill in the entry in the .rela.plt section. */ - rela.r_offset = got_addr; --- -2.23.0 - diff --git a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch deleted file mode 100644 index f499426b70..0000000000 --- a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 85dcca5997cf3822d6456a5c9c59c46b56adfbb8 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Wed, 4 Mar 2020 14:54:27 -0800 -Subject: [PATCH] bfd: xtensa: fix PR ld/25630 - -bfd/ -2020-03-05 Max Filippov - - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic - relocation sections for any removed reference to a dynamic symbol. - -Signed-off-by: Max Filippov ---- - bfd/elf32-xtensa.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 12ff9f772aaf..65e14d87940c 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, - - if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) - && (input_section->flags & SEC_ALLOC) != 0 -- && (dynamic_symbol || bfd_link_pic (info)) -- && (!h || h->root.type != bfd_link_hash_undefweak -- || (dynamic_symbol -- && (bfd_link_dll (info) || info->export_dynamic)))) -+ && (dynamic_symbol -+ || (bfd_link_pic (info) -+ && (!h || h->root.type != bfd_link_hash_undefweak)))) - { - asection *srel; - bfd_boolean is_plt = FALSE; --- -2.20.1 - diff --git a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch deleted file mode 100644 index 2df46c6526..0000000000 --- a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch +++ /dev/null @@ -1,432 +0,0 @@ -From c7a1d1f656c717394937a92cb970f0f4cecce128 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sun, 19 Apr 2020 19:04:41 -0700 -Subject: [PATCH] xtensa: fix PR ld/25861 - -Introduce new relaxations XTENSA_PDIFF{8,16,32} for positive differences -(subtracted symbol precedes diminished symbol) and XTENSA_NDIFF{8,16,32} -for negative differences (subtracted symbol follows diminished symbol). -Don't generate XTENSA_DIFF relocations in the assembler, generate -XTENSA_PDIFF or XTENSA_NDIFF based on relative symbol position. - -Handle XTENSA_DIFF in BFD for compatibility with old object files. -Handle XTENSA_PDIFF and XTENSA_NDIFF in BFD, treating difference value -as unsigned. - -2020-04-22 Max Filippov -bfd/ - * bfd-in2.h: Regenerated. - * elf32-xtensa.c (elf_howto_table): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - (elf_xtensa_reloc_type_lookup, elf_xtensa_do_reloc) - (relax_section): Add cases for R_XTENSA_PDIFF{8,16,32} and - R_XTENSA_NDIFF{8,16,32}. - * libbfd.h (bfd_reloc_code_real_names): Add names for - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - * reloc.c: Add documentation for BFD_RELOC_XTENSA_PDIFF{8,16,32} - and BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -binutils/ - * readelf.c (is_none_reloc): Recognize - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32}. - -gas/ - * config/tc-xtensa.c (md_apply_fix): Replace - BFD_RELOC_XTENSA_DIFF{8,16,32} generation with - BFD_RELOC_XTENSA_PDIFF{8,16,32} and - BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. - * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 - with BFD_RELOC_XTENSA_PDIFF16 in the expected output. - -include/ - * elf/xtensa.h (elf_xtensa_reloc_type): New entries for - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. - -ld/ - * testsuite/ld-xtensa/relax-loc.d: New test definition. - * testsuite/ld-xtensa/relax-loc.s: New test source. - * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test. - -Signed-off-by: Max Filippov ---- -Backported from: 30ce8e47fad9b057b6d7af9e1d43061126d34d20 - - bfd/bfd-in2.h | 20 ++++++- - bfd/elf32-xtensa.c | 89 +++++++++++++++++++++++++++++- - bfd/libbfd.h | 6 ++ - bfd/reloc.c | 24 ++++++++ - binutils/readelf.c | 8 ++- - gas/config/tc-xtensa.c | 12 +++- - gas/testsuite/gas/xtensa/loc.d | 2 +- - include/elf/xtensa.h | 6 ++ - ld/testsuite/ld-xtensa/relax-loc.d | 7 +++ - ld/testsuite/ld-xtensa/relax-loc.s | 15 +++++ - ld/testsuite/ld-xtensa/xtensa.exp | 1 + - 11 files changed, 183 insertions(+), 7 deletions(-) - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.d - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.s - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index 37114607b515..be6a30f57955 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5217,7 +5217,9 @@ to one of its own internal functions or data structures. */ - PLT entries. Otherwise, this is just a generic 32-bit relocation. */ - BFD_RELOC_XTENSA_PLT, - --/* Xtensa relocations to mark the difference of two local symbols. -+/* Xtensa relocations for backward compatibility. These have been replaced -+by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. -+Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference - assuming no relaxation. The relocation encodes the position of the -@@ -5291,6 +5293,22 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ - BFD_RELOC_XTENSA_TLS_ARG, - BFD_RELOC_XTENSA_TLS_CALL, - -+/* Xtensa relocations to mark the difference of two local symbols. -+These are only needed to support linker relaxation and can be ignored -+when not relaxing. The field is set to the value of the difference -+assuming no relaxation. The relocation encodes the position of the -+subtracted symbol so the linker can determine whether to adjust the field -+value. PDIFF relocations are used for positive differences, NDIFF -+relocations are used for negative differences. The difference value -+is treated as unsigned with these relocation types, giving full -+8/16 value ranges. */ -+ BFD_RELOC_XTENSA_PDIFF8, -+ BFD_RELOC_XTENSA_PDIFF16, -+ BFD_RELOC_XTENSA_PDIFF32, -+ BFD_RELOC_XTENSA_NDIFF8, -+ BFD_RELOC_XTENSA_NDIFF16, -+ BFD_RELOC_XTENSA_NDIFF32, -+ - /* 8 bit signed offset in (ix+d) or (iy+d). */ - BFD_RELOC_Z80_DISP8, - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index 473a9d76f289..fded42d52a9a 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -325,6 +325,20 @@ static reloc_howto_type elf_howto_table[] = - HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, FALSE, 0, complain_overflow_dont, - bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", - FALSE, 0, 0, FALSE), -+ -+ HOWTO (R_XTENSA_PDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_PDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_PDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF32", FALSE, 0, 0xffffffff, FALSE), -+ -+ HOWTO (R_XTENSA_NDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF8", FALSE, 0, 0xff, FALSE), -+ HOWTO (R_XTENSA_NDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF16", FALSE, 0, 0xffff, FALSE), -+ HOWTO (R_XTENSA_NDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF32", FALSE, 0, 0xffffffff, FALSE), - }; - - #if DEBUG_GEN_RELOC -@@ -364,6 +378,30 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, - TRACE ("BFD_RELOC_XTENSA_DIFF32"); - return &elf_howto_table[(unsigned) R_XTENSA_DIFF32 ]; - -+ case BFD_RELOC_XTENSA_PDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_PDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_PDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF32 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF8: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF8"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF8 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF16: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF16"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF16 ]; -+ -+ case BFD_RELOC_XTENSA_NDIFF32: -+ TRACE ("BFD_RELOC_XTENSA_NDIFF32"); -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF32 ]; -+ - case BFD_RELOC_XTENSA_RTLD: - TRACE ("BFD_RELOC_XTENSA_RTLD"); - return &elf_howto_table[(unsigned) R_XTENSA_RTLD ]; -@@ -1851,6 +1889,12 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: - case R_XTENSA_TLS_FUNC: - case R_XTENSA_TLS_ARG: - case R_XTENSA_TLS_CALL: -@@ -9604,7 +9648,13 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - - if (r_type == R_XTENSA_DIFF8 - || r_type == R_XTENSA_DIFF16 -- || r_type == R_XTENSA_DIFF32) -+ || r_type == R_XTENSA_DIFF32 -+ || r_type == R_XTENSA_PDIFF8 -+ || r_type == R_XTENSA_PDIFF16 -+ || r_type == R_XTENSA_PDIFF32 -+ || r_type == R_XTENSA_NDIFF8 -+ || r_type == R_XTENSA_NDIFF16 -+ || r_type == R_XTENSA_NDIFF32) - { - bfd_signed_vma diff_value = 0; - bfd_vma new_end_offset, diff_mask = 0; -@@ -9631,8 +9681,27 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_value = -+ bfd_get_8 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_value = -+ bfd_get_16 (abfd, &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_value = -+ bfd_get_32 (abfd, &contents[old_source_offset]); -+ break; - } - -+ if (r_type >= R_XTENSA_NDIFF8 -+ && r_type <= R_XTENSA_NDIFF32) -+ diff_value = -diff_value; -+ - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, - r_rel.target_offset + diff_value); -@@ -9655,6 +9724,24 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; -+ bfd_put_8 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; -+ bfd_put_16 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; -+ bfd_put_32 (abfd, diff_value, -+ &contents[old_source_offset]); -+ break; - } - - /* Check for overflow. Sign bits must be all zeroes or all ones */ -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 3c184fcadadf..989f4bc0b595 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2919,6 +2919,12 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_XTENSA_TLS_FUNC", - "BFD_RELOC_XTENSA_TLS_ARG", - "BFD_RELOC_XTENSA_TLS_CALL", -+ "BFD_RELOC_XTENSA_PDIFF8", -+ "BFD_RELOC_XTENSA_PDIFF16", -+ "BFD_RELOC_XTENSA_PDIFF32", -+ "BFD_RELOC_XTENSA_NDIFF8", -+ "BFD_RELOC_XTENSA_NDIFF16", -+ "BFD_RELOC_XTENSA_NDIFF32", - "BFD_RELOC_Z80_DISP8", - "BFD_RELOC_Z80_BYTE0", - "BFD_RELOC_Z80_BYTE1", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index c4dec86d1d46..f5df8e2ab3eb 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6556,6 +6556,8 @@ ENUMX - ENUMX - BFD_RELOC_XTENSA_DIFF32 - ENUMDOC -+ Xtensa relocations for backward compatibility. These have been replaced -+ by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. - Xtensa relocations to mark the difference of two local symbols. - These are only needed to support linker relaxation and can be ignored - when not relaxing. The field is set to the value of the difference -@@ -6668,6 +6670,28 @@ ENUMX - BFD_RELOC_XTENSA_TLS_CALL - ENUMDOC - Xtensa TLS relocations. -+ENUM -+ BFD_RELOC_XTENSA_PDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_PDIFF32 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF8 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF16 -+ENUMX -+ BFD_RELOC_XTENSA_NDIFF32 -+ENUMDOC -+ Xtensa relocations to mark the difference of two local symbols. -+ These are only needed to support linker relaxation and can be ignored -+ when not relaxing. The field is set to the value of the difference -+ assuming no relaxation. The relocation encodes the position of the -+ subtracted symbol so the linker can determine whether to adjust the field -+ value. PDIFF relocations are used for positive differences, NDIFF -+ relocations are used for negative differences. The difference value -+ is treated as unsigned with these relocation types, giving full -+ 8/16 value ranges. - - ENUM - BFD_RELOC_Z80_DISP8 -diff --git a/binutils/readelf.c b/binutils/readelf.c -index d4756c93b345..800918f901c8 100644 ---- a/binutils/readelf.c -+++ b/binutils/readelf.c -@@ -13262,7 +13262,13 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type) - return (reloc_type == 0 /* R_XTENSA_NONE. */ - || reloc_type == 17 /* R_XTENSA_DIFF8. */ - || reloc_type == 18 /* R_XTENSA_DIFF16. */ -- || reloc_type == 19 /* R_XTENSA_DIFF32. */); -+ || reloc_type == 19 /* R_XTENSA_DIFF32. */ -+ || reloc_type == 57 /* R_XTENSA_PDIFF8. */ -+ || reloc_type == 58 /* R_XTENSA_PDIFF16. */ -+ || reloc_type == 59 /* R_XTENSA_PDIFF32. */ -+ || reloc_type == 60 /* R_XTENSA_NDIFF8. */ -+ || reloc_type == 61 /* R_XTENSA_NDIFF16. */ -+ || reloc_type == 62 /* R_XTENSA_NDIFF32. */); - } - return FALSE; - } -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c -index 71d4d94a8d7d..ee75c13548ff 100644 ---- a/gas/config/tc-xtensa.c -+++ b/gas/config/tc-xtensa.c -@@ -5974,18 +5974,24 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) - case BFD_RELOC_8: - if (fixP->fx_subsy) - { -+ bfd_boolean neg = S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset -+ < S_GET_VALUE (fixP->fx_subsy); -+ - switch (fixP->fx_r_type) - { - case BFD_RELOC_8: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF8; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF8 : BFD_RELOC_XTENSA_PDIFF8; - fixP->fx_signed = 0; - break; - case BFD_RELOC_16: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF16; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF16 : BFD_RELOC_XTENSA_PDIFF16; - fixP->fx_signed = 0; - break; - case BFD_RELOC_32: -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF32; -+ fixP->fx_r_type = neg -+ ? BFD_RELOC_XTENSA_NDIFF32 : BFD_RELOC_XTENSA_PDIFF32; - fixP->fx_signed = 0; - break; - default: -diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d -index 71983cc90055..8fb3425999d5 100644 ---- a/gas/testsuite/gas/xtensa/loc.d -+++ b/gas/testsuite/gas/xtensa/loc.d -@@ -6,5 +6,5 @@ - - RELOCATION RECORDS FOR \[\.debug_line\]: - #... --.*R_XTENSA_DIFF16.*\.text\+0x00009c42 -+.*R_XTENSA_PDIFF16.*\.text\+0x00009c42 - #... -diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h -index 2eb5e4e52941..bd5c80d13777 100644 ---- a/include/elf/xtensa.h -+++ b/include/elf/xtensa.h -@@ -87,6 +87,12 @@ START_RELOC_NUMBERS (elf_xtensa_reloc_type) - RELOC_NUMBER (R_XTENSA_TLS_FUNC, 54) - RELOC_NUMBER (R_XTENSA_TLS_ARG, 55) - RELOC_NUMBER (R_XTENSA_TLS_CALL, 56) -+ RELOC_NUMBER (R_XTENSA_PDIFF8, 57) -+ RELOC_NUMBER (R_XTENSA_PDIFF16, 58) -+ RELOC_NUMBER (R_XTENSA_PDIFF32, 59) -+ RELOC_NUMBER (R_XTENSA_NDIFF8, 60) -+ RELOC_NUMBER (R_XTENSA_NDIFF16, 61) -+ RELOC_NUMBER (R_XTENSA_NDIFF32, 62) - END_RELOC_NUMBERS (R_XTENSA_max) - - /* Processor-specific flags for the ELF header e_flags field. */ -diff --git a/ld/testsuite/ld-xtensa/relax-loc.d b/ld/testsuite/ld-xtensa/relax-loc.d -new file mode 100644 -index 000000000000..3c8d673732ff ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.d -@@ -0,0 +1,7 @@ -+#as: --text-section-literals -+#ld: -+#objdump: --dwarf=decodedline -+#... -+relax-loc.s[ ]+1[ ]+0x400054[ ]+.* -+relax-loc.s[ ]+2[ ]+0x40005c[ ]+.* -+#... -diff --git a/ld/testsuite/ld-xtensa/relax-loc.s b/ld/testsuite/ld-xtensa/relax-loc.s -new file mode 100644 -index 000000000000..d768470e287a ---- /dev/null -+++ b/ld/testsuite/ld-xtensa/relax-loc.s -@@ -0,0 +1,15 @@ -+ .file 1 "relax-loc.s" -+ .globl _start -+ .globl _ResetVector -+ .text -+_ResetVector: -+_start: -+ .loc 1 1 -+ j 1f -+ .literal_position -+1: -+ .loc 1 2 -+ -+ .rep 10000 -+ movi a2, 0x12345678 -+ .endr -diff --git a/ld/testsuite/ld-xtensa/xtensa.exp b/ld/testsuite/ld-xtensa/xtensa.exp -index 9b2235b2151b..de39887936ad 100644 ---- a/ld/testsuite/ld-xtensa/xtensa.exp -+++ b/ld/testsuite/ld-xtensa/xtensa.exp -@@ -27,6 +27,7 @@ run_dump_test "call_overflow" - run_dump_test "coalesce" - run_dump_test "diff_overflow" - run_dump_test "lcall" -+run_dump_test "relax-loc" - - run_dump_test "relax-static-pie" - run_dump_test "relax-static-local-pie" --- -2.20.1 - diff --git a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch deleted file mode 100644 index 28f17d7c56..0000000000 --- a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch +++ /dev/null @@ -1,128 +0,0 @@ -From 735321812435ae278d3766a3371f55937dc776d6 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Sat, 25 Apr 2020 00:40:25 -0700 -Subject: [PATCH] xtensa: fix XTENSA_NDIFF handling for PR ld/25861 - -Fields marked with XTENSA_NDIFF relocations are not negated, they only -have sign bits removed. Don't negate their values when relaxation is -performed. Don't add sign bits when the value is zero. Report overflow -when the result has negative sign but all significant bits are zero. - -2020-04-29 Max Filippov -bfd/ - * elf32-xtensa.c (relax_section): Don't negate diff_value for - XTENSA_NDIFF relocations. Don't add sign bits whe diff_value - equals 0. Report overflow when the result has negative sign but - all significant bits are zero. - -Signed-off-by: Max Filippov -Backported from: d548f47df4d2e3d117d504a4c9977982c78a0556 ---- - - bfd/elf32-xtensa.c | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c -index fded42d52a9a..4327b027911f 100644 ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -9670,37 +9670,44 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -+ diff_mask = 0x7f; - diff_value = - bfd_get_signed_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -+ diff_mask = 0x7fff; - diff_value = - bfd_get_signed_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -+ diff_mask = 0x7fffffff; - diff_value = - bfd_get_signed_32 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -+ diff_mask = 0xff; - diff_value = - bfd_get_8 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -+ diff_mask = 0xffff; - diff_value = - bfd_get_16 (abfd, &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -+ diff_mask = 0xffffffff; - diff_value = - bfd_get_32 (abfd, &contents[old_source_offset]); - break; - } - - if (r_type >= R_XTENSA_NDIFF8 -- && r_type <= R_XTENSA_NDIFF32) -- diff_value = -diff_value; -+ && r_type <= R_XTENSA_NDIFF32 -+ && diff_value) -+ diff_value |= ~diff_mask; - - new_end_offset = offset_with_removed_text_map - (&target_relax_info->action_list, -@@ -9710,43 +9717,40 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) - switch (r_type) - { - case R_XTENSA_DIFF8: -- diff_mask = 0x7f; - bfd_put_signed_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF16: -- diff_mask = 0x7fff; - bfd_put_signed_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_DIFF32: -- diff_mask = 0x7fffffff; - bfd_put_signed_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF8: - case R_XTENSA_NDIFF8: -- diff_mask = 0xff; - bfd_put_8 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF16: - case R_XTENSA_NDIFF16: -- diff_mask = 0xffff; - bfd_put_16 (abfd, diff_value, - &contents[old_source_offset]); - break; - case R_XTENSA_PDIFF32: - case R_XTENSA_NDIFF32: -- diff_mask = 0xffffffff; - bfd_put_32 (abfd, diff_value, - &contents[old_source_offset]); - break; - } - -- /* Check for overflow. Sign bits must be all zeroes or all ones */ -- if ((diff_value & ~diff_mask) != 0 && -- (diff_value & ~diff_mask) != (-1 & ~diff_mask)) -+ /* Check for overflow. Sign bits must be all zeroes or -+ all ones. When sign bits are all ones diff_value -+ may not be zero. */ -+ if (((diff_value & ~diff_mask) != 0 -+ && (diff_value & ~diff_mask) != ~diff_mask) -+ || (diff_value && (bfd_vma) diff_value == ~diff_mask)) - { - (*link_info->callbacks->reloc_dangerous) - (link_info, _("overflow after relaxation"), --- -2.20.1 - diff --git a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index a67d12789e..0000000000 --- a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 788cda9f9447e0fe67e582e8fb5adafd678d08b2 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 2f200b197b8..1f2c88b0b3a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index 5a2b91fe8e..0000000000 --- a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From b10e6230dea0015bf3b7748580b82c551f9a3a4a Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index e25da50aafb..530a41fca43 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5517,6 +5517,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 1f2c88b0b3a..a4a64f73b7c 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - #define TLS_UNKNOWN 0 -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1945,6 +1963,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index 36284d71a9b..6e9e3190bb8 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2702,6 +2702,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index e6446a78098..b0003ab1175 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6164,6 +6164,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index 5082a30cee1..85163fc96c9 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -173,7 +173,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -276,6 +276,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index 0abef046202..7db3cad18eb 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 7d058d03f5f..332f4b7a9b5 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index adc6f5f8b9..0000000000 --- a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0f61f76454a9420f158f626cb09a4fbc08c3709e Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence - of R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index a4a64f73b7c..07fff3602a3 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index dc0431e0af..0000000000 --- a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From 36c7de7ef77ab0c30cb33e2c7ea7a6f4e3052c73 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 07fff3602a3..fcebbe5f23a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry - /* Track dynamic relocs copied for this symbol. */ - struct elf_dyn_relocs *dyn_relocs; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2176,33 +2193,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2269,7 +2299,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2280,27 +2311,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2343,7 +2374,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2355,6 +2387,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2372,10 +2405,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2387,27 +2423,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. */ - bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *s = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (s->size == 0) -- s->size = PLT_ENTRY_SIZE; -+ s->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = s->size; - -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- s->size += PLT_ENTRY_SIZE; -+ s->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 24cdbe5fbf3..9cebc49b946 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch deleted file mode 100644 index c3978e22fa..0000000000 --- a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Wed, 9 Jun 2021 17:28:27 +0200 -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 - -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use -an old compiler(i.e. gcc 4.9) build fails on: -``` -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in -C99 or C11 mode - for (size_t i = 0; i < insn_count; i++) - ^ -``` - -So let's declare `size_t i` at the top of the function instead of inside -for loop. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..32063ab0289 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; - unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ size_t i; - - /* Copy instructions into the output buffer. */ -- for (size_t i = 0; i < insn_count; i++) -+ for (i = 0; i < insn_count; i++) - output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, - } - - /* Write out the output buffer. */ -- for (size_t i = 0; i < (insn_count+1); i++) -+ for (i = 0; i < (insn_count+1); i++) - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - --- -2.25.1 - diff --git a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch deleted file mode 100644 index 585b97b2af..0000000000 --- a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Sat, 10 Jul 2021 17:57:34 +0200 -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC - relative 26 bit relocation - -When building openal we were seeing the assert failure: - -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePausev -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceStopv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourceRewindv -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: -pc-relative relocation against dynamic symbol alSourcePlayv -collect2: error: ld returned 1 exit status - -This happens because in R_OR1K_INSN_REL_26 case we can't reference local -symbol as previously done but we need to make sure that calls to actual -symbol always call the version of current object. - -bfd/Changelog: - - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry - in switch case R_OR1K_INSN_REL_26 where we need to check for - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 4ae7f324d33..4f9092539f5 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, - break; - - case R_OR1K_INSN_REL_26: -+ /* For a non-shared link, these will reference plt or call the -+ version of actual object. */ -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) -+ { -+ _bfd_error_handler -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), -+ input_bfd, name); -+ ret_val = FALSE; -+ bfd_set_error (bfd_error_bad_value); -+ } -+ break; -+ - case R_OR1K_PCREL_PG21: - case R_OR1K_LO13: - case R_OR1K_SLO13: --- -2.25.1 - diff --git a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch deleted file mode 100644 index 7e92e2bfd8..0000000000 --- a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 Jan 2022 09:03:28 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special - howto - -Previously when fixing PR 21464 we masked out upper bits of the -relocation value in order to avoid overflow complaints when acceptable. -It turns out this does not work when the relocation value ends up being -signed. - -To fix this this patch introduces a special howto with -complain_on_overflow set to complain_overflow_dont. This is used in -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 -relocations. - -bfd/ChangeLog: - - PR 28735 - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. - (or1k_elf_relocate_section): Use new howto instead of trying to - mask out relocation bits. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index cfa292f0032..ecb70753b6a 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = - FALSE), /* pcrel_offset */ - }; - -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 -+ relocations when we know we can ignore overflows. */ -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = -+ HOWTO (R_OR1K_GOT16, /* type */ -+ 0, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_dont, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE); /* pcrel_offset */ -+ - /* Map BFD reloc types to Or1k ELF reloc types. */ - - struct or1k_reloc_map -@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, - if (r_type == R_OR1K_GOT_AHI16) - saw_gotha = TRUE; - -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 - relocation we assume the code is doing the right thing to avoid -- overflows. Here we mask the lower 16-bit of the relocation to -- avoid overflow validation failures. */ -+ overflows. */ - if (r_type == R_OR1K_GOT16 && saw_gotha) -- relocation &= 0xffff; -+ howto = &or1k_elf_got16_no_overflow_howto; - - /* Addend should be zero. */ - if (rel->r_addend != 0) --- -2.25.1 - diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 4382b32237..ef1b2a94db 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -12,10 +12,6 @@ choice help Select the version of binutils you wish to use. -config BR2_BINUTILS_VERSION_2_32_X - bool "binutils 2.32" - depends on !BR2_csky - config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky @@ -35,7 +31,6 @@ endchoice config BR2_BINUTILS_VERSION string default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC - default "2.32" if BR2_BINUTILS_VERSION_2_32_X default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X default "2.37" if BR2_BINUTILS_VERSION_2_37_X default "2.38" if BR2_BINUTILS_VERSION_2_38_X diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index 4141e0c5f2..e98cb85275 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -1,5 +1,4 @@ # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum -sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:26 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:26 +0200 Subject: [Buildroot] [git commit] package/python-ujson: bump to version 5.2.0 Message-ID: <20220428205845.58D878469F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=24d82e69bc045cabee70af30951694a0007eb51f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop patches that are now upstream. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- ...port-for-aarch64_be-or1k-and-microblazebe.patch | 30 ------- .../0002-Add-support-of-ARC-architecture.patch | 36 -------- .../0003-Add-support-for-microblaze.patch | 27 ------ .../0004-Pseiderer-add-nios2-and-xtensa-001.patch | 95 ---------------------- package/python-ujson/python-ujson.hash | 4 +- package/python-ujson/python-ujson.mk | 4 +- 6 files changed, 4 insertions(+), 192 deletions(-) diff --git a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch b/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch deleted file mode 100644 index b43eb54dcd..0000000000 --- a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 768a445f0c28311bf88685bf0bb990505c12fd4c Mon Sep 17 00:00:00 2001 -From: Florian Loitsch -Date: Sat, 8 Sep 2018 18:18:15 +0200 -Subject: [PATCH] Add support for aarch64_be, or1k and microblazebe. - -Fixes #73. - -[Retrieved from: -https://github.com/google/double-conversion/commit/768a445f0c28311bf88685bf0bb990505c12fd4c] -Signed-off-by: Fabrice Fontaine ---- - double-conversion/utils.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/deps/double-conversion/ouble-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 98a2a11..492bc97 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -76,8 +76,9 @@ inline void abort_noreturn() { abort(); } - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ - defined(__SH4__) || defined(__alpha__) || \ - defined(_MIPS_ARCH_MIPS32R2) || \ -- defined(__AARCH64EL__) || defined(__aarch64__) || \ -- defined(__riscv) -+ defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ -+ defined(__riscv) || \ -+ defined(__or1k__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) || \ - defined(__pnacl__) || defined(__native_client__) diff --git a/package/python-ujson/0002-Add-support-of-ARC-architecture.patch b/package/python-ujson/0002-Add-support-of-ARC-architecture.patch deleted file mode 100644 index d38b24f5fc..0000000000 --- a/package/python-ujson/0002-Add-support-of-ARC-architecture.patch +++ /dev/null @@ -1,36 +0,0 @@ -From eafa625a34fd5d8bec18eddfccbca55ce77b4849 Mon Sep 17 00:00:00 2001 -From: Alexey Brodkin -Date: Thu, 1 Nov 2018 17:36:17 +0200 -Subject: [PATCH] Add support of ARC architecture (#82) - -More info about ARC architecture is here: [1] & [2]. -We need ARC supported here for many things like: - - ICU (see [3]) - - Qt5 etc - -[1] https://www.synopsys.com/designware-ip/processor-solutions/arc-processors.html -[2] https://en.wikipedia.org/wiki/ARC_(processor) -[3] https://unicode-org.atlassian.net/browse/ICU-20155 - -Fixes #81 - -[Retrieved from: -https://github.com/google/double-conversion/commit/eafa625a34fd5d8bec18eddfccbca55ce77b4849] -Signed-off-by: Fabrice Fontaine ---- - double-conversion/utils.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 41c5b02..2e1be0d 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -94,7 +94,7 @@ int main(int argc, char** argv) { - defined(_MIPS_ARCH_MIPS32R2) || \ - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || \ -- defined(__or1k__) -+ defined(__or1k__) || defined(__arc__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) || \ - defined(__pnacl__) || defined(__native_client__) diff --git a/package/python-ujson/0003-Add-support-for-microblaze.patch b/package/python-ujson/0003-Add-support-for-microblaze.patch deleted file mode 100644 index 14fd52eb98..0000000000 --- a/package/python-ujson/0003-Add-support-for-microblaze.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 5cc233e98b74c5c370de888198a2b35200d55468 Mon Sep 17 00:00:00 2001 -From: Florian Loitsch -Date: Sat, 12 Oct 2019 14:35:52 +0200 -Subject: [PATCH] Add support for microblaze. - -Really fixes #73. -[Retrieved (and backported) from: -https://github.com/google/double-conversion/commit/5cc233e98b74c5c370de888198a2b35200d55468] -Signed-off-by: Fabrice Fontaine ---- - Changelog | 4 ++++ - double-conversion/utils.h | 1 + - 2 files changed, 5 insertions(+) - -diff --git a/deps/idouble-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 1a71df0..221467f 100644 ---- a/deps/doyble-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -102,6 +102,7 @@ int main(int argc, char** argv) { - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || \ -- defined(__or1k__) || defined(__arc__) -+ defined(__or1k__) || defined(__arc__) || \ -+ defined(__microblaze__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) - #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch b/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch deleted file mode 100644 index 8648f93c1a..0000000000 --- a/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch +++ /dev/null @@ -1,95 +0,0 @@ -From a54561be5588ac9b16d3c20760b9b554168bb8aa Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 31 Oct 2019 21:26:27 +0100 -Subject: [PATCH] Pseiderer/add nios2 and xtensa 001 (#119) - -* double-conversion: enable for nios2 - -Nios2 supports double conversion, tested using qemu: - -./main || echo "correct" -correct -uname -a -Linux buildroot 4.19.16 #4 Sat Aug 3 14:46:48 CEST 2019 nios2 GNU/Linux - -Solves build error - -In file included from double-conversion.h:42:0, - from number_decimalquantity.cpp:19: -double-conversion-utils.h:119:2: error: #error Target architecture was not detected as supported by Double-Conversion. - #error Target architecture was not detected as supported by Double-Conversion. - -detected by buildroot autobuilders: -http://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/ - -Patch sent upstream: https://github.com/unicode-org/icu/pull/725 -Bug report: https://unicode-org.atlassian.net/browse/ICU-20751 - -[Bernd: Fixed path] -Signed-off-by: Bernd Kuhls -[Added Changelog entry] -Signed-off-by: Peter Seiderer - -* double-conversion: enable for xtensa - -Signed-off-by: Peter Seiderer - -[Retrieved (dand backported) from: -https://github.com/google/double-conversion/commit/a54561be5588ac9b16d3c20760b9b554168bb8aa] -Signed-off-by: Fabrice Fontaine ---- -Note: - -Double-conversion tested with: - - $ cat div.c -double Div_double(double x, double y) { return x / y; } - - $ cat main.c -double Div_double(double x, double y); - -int main(int argc, char** argv) { - double result = Div_double(89255.0, 1e22); - if (result == 89255e-22) { - printf("correct result %e\n", result); - return 1; - } else { - printf("wrong result %e\n", result); - return 0; - } -} - -Tested for xtensa (using qemu_xtensa_lx60_defconfig plus BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE): - - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c div.c - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c main.c - $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -o main main.o div.o - - $ ./host/bin/qemu-xtensa -L staging main -correct result 8.925500e-18 ---- - Changelog | 4 ++++ - double-conversion/utils.h | 3 ++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h -index 221467f..98ec28b 100644 ---- a/deps/double-conversion/double-conversion/utils.h -+++ b/deps/double-conversion/double-conversion/utils.h -@@ -94,6 +94,7 @@ int main(int argc, char** argv) { - defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \ - defined(__hppa__) || defined(__ia64__) || \ - defined(__mips__) || \ -+ defined(__nios2__) || \ - defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ - defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ -@@ -102,7 +103,7 @@ int main(int argc, char** argv) { - defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ - defined(__riscv) || defined(__e2k__) || \ - defined(__or1k__) || defined(__arc__) || \ -- defined(__microblaze__) -+ defined(__microblaze__) || defined(__XTENSA__) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(__mc68000__) - #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/package/python-ujson/python-ujson.hash b/package/python-ujson/python-ujson.hash index fc897c381b..e88e273145 100644 --- a/package/python-ujson/python-ujson.hash +++ b/package/python-ujson/python-ujson.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/ujson/json -md5 9a90e2e9f1d465c2121b8d10f837f53a ujson-4.2.0.tar.gz -sha256 fffe509f556861c7343c6cba57ed05fe7bcf4b48a934a5b946ccb45428cf8883 ujson-4.2.0.tar.gz +md5 2c7ffd2bf23f6f07da3a0cbf5ff5c2f0 ujson-5.2.0.tar.gz +sha256 163191b88842d874e081707d35de2e205e0e396e70fd068d1038879bca8b17ad ujson-5.2.0.tar.gz # Locally computed sha256 checksums sha256 6a00a8f8b4050303368b694147bde1aed9c96bdff869c181dbbf3ccb784a1501 LICENSE.txt diff --git a/package/python-ujson/python-ujson.mk b/package/python-ujson/python-ujson.mk index 68781c6170..8eb5f6a0a7 100644 --- a/package/python-ujson/python-ujson.mk +++ b/package/python-ujson/python-ujson.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_UJSON_VERSION = 4.2.0 +PYTHON_UJSON_VERSION = 5.2.0 PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz -PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/df/69/e8f615e1a779e2d2d23d29d56dc55bbb1db2a828f0ef36d10bc697d63968 +PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/e4/fc/2dee0e78162aa1ad03dadde9a9b5c281d6f8bb0eed6810a270486d8fc041 PYTHON_UJSON_SETUP_TYPE = setuptools PYTHON_UJSON_LICENSE = BSD-3-Clause PYTHON_UJSON_LICENSE_FILES = LICENSE.txt From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:21 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:21 +0200 Subject: [Buildroot] [git commit] package/python-setuptools: bump to version 62.1.0 Message-ID: <20220428205845.3392C846A1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f93ce0d1c29649dea3eb0fee5e1da4b577f4d3e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-setuptools/python-setuptools.hash | 4 ++-- package/python-setuptools/python-setuptools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools/python-setuptools.hash b/package/python-setuptools/python-setuptools.hash index 1a378d1b76..d4a9ba3d88 100644 --- a/package/python-setuptools/python-setuptools.hash +++ b/package/python-setuptools/python-setuptools.hash @@ -1,4 +1,4 @@ # From https://pypi.org/pypi/setuptools/json -md5 6c6a97cf68e1db789a2e5c054f067278 setuptools-60.9.3.tar.gz -sha256 2347b2b432c891a863acadca2da9ac101eae6169b1d3dfee2ec605ecd50dbfe5 setuptools-60.9.3.tar.gz +md5 95f4924aacd634ab579f17fc71f79fb1 setuptools-62.1.0.tar.gz +sha256 47c7b0c0f8fc10eec4cf1e71c6fdadf8decaa74ffa087e68cd1c20db7ad6a592 setuptools-62.1.0.tar.gz sha256 db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE diff --git a/package/python-setuptools/python-setuptools.mk b/package/python-setuptools/python-setuptools.mk index 3309cd9df4..c6a2137e1d 100644 --- a/package/python-setuptools/python-setuptools.mk +++ b/package/python-setuptools/python-setuptools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_VERSION = 60.9.3 +PYTHON_SETUPTOOLS_VERSION = 62.1.0 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz -PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/14/74/54890935244ce053abcc4fa01ef4982a84743a8d128d4cf5eae56e2d156c +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ea/a3/3d3cbbb7150f90c4cf554048e1dceb7c6ab330e4b9138a40e130a4cc79e1 PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:27 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:27 +0200 Subject: [Buildroot] [git commit] package/python-urllib3: bump to version 1.26.9 Message-ID: <20220428205845.6AB8F8469F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d18ba93237e1f3f5a1aa87ae95cc535d4c330552 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2415f24199..bab97249b0 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 50831ca7b19bbe2781abb0a4c2d51760 urllib3-1.26.8.tar.gz -sha256 0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c urllib3-1.26.8.tar.gz +md5 d4b58522821a33c5e421191b83e0dbac urllib3-1.26.9.tar.gz +sha256 aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e urllib3-1.26.9.tar.gz # Locally computed sha256 checksums sha256 c37bf186e27cf9dbe9619e55edfe3cea7b30091ceb3da63c7dacbe0e6d77907b LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index d94c97b4ed..cb2f7ffe5d 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 1.26.8 +PYTHON_URLLIB3_VERSION = 1.26.9 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/b0/b1/7bbf5181f8e3258efae31702f5eab87d8a74a72a0aa78bc8c08c1466e243 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:29 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:29 +0200 Subject: [Buildroot] [git commit] package/python-aenum: bump to version 3.1.11 Message-ID: <20220428205845.76B47846A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b492a2671bea67b9af033df2ae0d3aec0ba5ded1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-aenum/python-aenum.hash | 4 ++-- package/python-aenum/python-aenum.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-aenum/python-aenum.hash b/package/python-aenum/python-aenum.hash index d10254f9b1..40c0e55fc5 100644 --- a/package/python-aenum/python-aenum.hash +++ b/package/python-aenum/python-aenum.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/aenum/json -md5 6f30144abd4d156f22f8a49d81c496df aenum-3.1.0.tar.gz -sha256 87f0e9ef4f828578ab06af30e4d7944043bf4ecd3f4b7bd1cbe37e2173cde94a aenum-3.1.0.tar.gz +md5 c0b78a74cdfacc0bf0cbb42785afaed8 aenum-3.1.11.tar.gz +sha256 aed2c273547ae72a0d5ee869719c02a643da16bf507c80958faadc7e038e3f73 aenum-3.1.11.tar.gz # Locally computed sha256 checksums sha256 0db837e38002017b352666c83c8d3216ee5b9b2229375eb2cf4487f8c24e1f8c aenum/LICENSE diff --git a/package/python-aenum/python-aenum.mk b/package/python-aenum/python-aenum.mk index 72eaa1db2b..9a30211bb6 100644 --- a/package/python-aenum/python-aenum.mk +++ b/package/python-aenum/python-aenum.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AENUM_VERSION = 3.1.0 +PYTHON_AENUM_VERSION = 3.1.11 PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz -PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/ae/25/00b2949186e76a4c9732e33221274964fecf5c88178cbe5a14a80cfc04e8 +PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/63/6c/a71e18de7c651f384b328be6bccadbbd472aca62f547c1a307b9388d03ca PYTHON_AENUM_SETUP_TYPE = setuptools PYTHON_AENUM_LICENSE = BSD-3-Clause PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:24 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:24 +0200 Subject: [Buildroot] [git commit] package/python-typing-extensions: bump to version 4.2.0 Message-ID: <20220428205845.4C98D846A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=61e525780d2b684799c48aeb3455c6394d3a7fb6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package now requires the flit setup type. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-typing-extensions/python-typing-extensions.hash | 4 ++-- package/python-typing-extensions/python-typing-extensions.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-typing-extensions/python-typing-extensions.hash b/package/python-typing-extensions/python-typing-extensions.hash index abaac77d34..f37a609adc 100644 --- a/package/python-typing-extensions/python-typing-extensions.hash +++ b/package/python-typing-extensions/python-typing-extensions.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/typing_extensions/json -md5 ed80ecc8eac5cb15840535ca54eb43f3 typing_extensions-3.10.0.2.tar.gz -sha256 49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e typing_extensions-3.10.0.2.tar.gz +md5 197fb153e3720a3f6e0c85bb47f9c2b5 typing_extensions-4.2.0.tar.gz +sha256 f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376 typing_extensions-4.2.0.tar.gz # Locally computed sha256 checksums sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE diff --git a/package/python-typing-extensions/python-typing-extensions.mk b/package/python-typing-extensions/python-typing-extensions.mk index 668071e025..a664e5d3e9 100644 --- a/package/python-typing-extensions/python-typing-extensions.mk +++ b/package/python-typing-extensions/python-typing-extensions.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_TYPING_EXTENSIONS_VERSION = 3.10.0.2 +PYTHON_TYPING_EXTENSIONS_VERSION = 4.2.0 PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz -PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/ed/12/c5079a15cf5c01d7f4252b473b00f7e68ee711be605b9f001528f0298b98 -PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = setuptools +PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/fe/71/1df93bd59163c8084d812d166c907639646e8aac72886d563851b966bf18 +PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = flit PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0 PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:23 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:23 +0200 Subject: [Buildroot] [git commit] package/python-simplejson: bump to version 3.17.6 Message-ID: <20220428205845.418738469F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=678d92b5a7716989b15e963bf2ad0f1f29810262 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-simplejson/python-simplejson.hash | 4 ++-- package/python-simplejson/python-simplejson.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-simplejson/python-simplejson.hash b/package/python-simplejson/python-simplejson.hash index bb44bdfc79..0f56d4c6cc 100644 --- a/package/python-simplejson/python-simplejson.hash +++ b/package/python-simplejson/python-simplejson.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/simplejson/json -md5 1756427859454004e90e028d263cf23e simplejson-3.17.5.tar.gz -sha256 91cfb43fb91ff6d1e4258be04eee84b51a4ef40a28d899679b9ea2556322fb50 simplejson-3.17.5.tar.gz +md5 0b8f47c9451bf101a791f8b5bccf1f33 simplejson-3.17.6.tar.gz +sha256 cf98038d2abf63a1ada5730e91e84c642ba6c225b0198c3684151b1f80c5f8a6 simplejson-3.17.6.tar.gz # Locally computed sha256 checksums sha256 fcaa1e313a99304322e2e0836ea4ee7d839ce9a480438f3922a853edfdde129f LICENSE.txt diff --git a/package/python-simplejson/python-simplejson.mk b/package/python-simplejson/python-simplejson.mk index 5bed8d20a9..52bff7569c 100644 --- a/package/python-simplejson/python-simplejson.mk +++ b/package/python-simplejson/python-simplejson.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SIMPLEJSON_VERSION = 3.17.5 +PYTHON_SIMPLEJSON_VERSION = 3.17.6 PYTHON_SIMPLEJSON_SOURCE = simplejson-$(PYTHON_SIMPLEJSON_VERSION).tar.gz -PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/01/52/41c71718f941c9a5abebfaa24e3c14e3c0229327b7ebd21348989845ed8f +PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/7a/47/c7cc3d4ed15f09917838a2fb4e1759eafb6d2f37ebf7043af984d8b36cf7 PYTHON_SIMPLEJSON_LICENSE = Academic Free License (AFL), MIT PYTHON_SIMPLEJSON_LICENSE_FILES = LICENSE.txt PYTHON_SIMPLEJSON_CPE_ID_VENDOR = simplejson_project From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:20 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:20 +0200 Subject: [Buildroot] [git commit] package/python-setuptools-rust: bump to version 1.3.0 Message-ID: <20220428205845.258F5846A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f8d1631d9255305d80aab8038b0145c195997272 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash index ae3a3463a5..2375c7528f 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.hash +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 50c85a5d19ebb7985dc548c76a3bcc25 setuptools-rust-1.2.0.tar.gz -sha256 0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8 setuptools-rust-1.2.0.tar.gz +md5 9760ac511ebe33c759b76efb0a1299dd setuptools-rust-1.3.0.tar.gz +sha256 958c5bf4ab6483d59dab888538121871cc5006354a42fb0fbd50acf03caad1de setuptools-rust-1.3.0.tar.gz # Locally computed sha256 checksums sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk index c2d8c6d9a7..c342773476 100644 --- a/package/python-setuptools-rust/python-setuptools-rust.mk +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_RUST_VERSION = 1.2.0 +PYTHON_SETUPTOOLS_RUST_VERSION = 1.3.0 PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/4e/02/2fc4c83b4f816fdd30f38c0c4837a322d21967f953bb9a51bce91b4511f6 +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/a9/55/5db4a5b137af2afdc23a6e251d5ebb3b4e04c8deb68fbb5ffdacbd134c0c PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools PYTHON_SETUPTOOLS_RUST_LICENSE = MIT PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE From thomas.petazzoni at bootlin.com Thu Apr 28 21:00:18 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:00:18 +0200 Subject: [Buildroot] [git commit] package/python-cryptography: bump to version 37.0.1 Message-ID: <20220428205845.194438469F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=98f1a06dcd1a8485c5a1f1334bdd45cd7cf3ad8f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-cryptography/python-cryptography.hash | 2 +- package/python-cryptography/python-cryptography.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-cryptography/python-cryptography.hash b/package/python-cryptography/python-cryptography.hash index 1219fa9b5f..0649207426 100644 --- a/package/python-cryptography/python-cryptography.hash +++ b/package/python-cryptography/python-cryptography.hash @@ -1,5 +1,5 @@ # Locally calculated after vendoring -sha256 196bba703cebc052a19f5353614fcfa9d680471990c10305f110adcc05744eeb cryptography-36.0.1.tar.gz +sha256 d7718568773810e42481f51f810919f5501ad252300f4d1b36bb5127b2f6050d cryptography-37.0.1.tar.gz # Locally computed sha256 checksums sha256 43dad2cc752ab721cd9a9f36ece70fb53ab7713551f2d3d8694d8e8c5a06d6e2 LICENSE sha256 aac73b3148f6d1d7111dbca32099f68d26c644c6813ae1e4f05f6579aa2663fe LICENSE.APACHE diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 872ede9b89..7714b9ad88 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CRYPTOGRAPHY_VERSION = 36.0.1 +PYTHON_CRYPTOGRAPHY_VERSION = 37.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz -PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/f9/4b/1cf8e281f7ae4046a59e5e39dd7471d46db9f61bb564fddbff9084c4334f +PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/3d/5f/addb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3 PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:47 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-typing-extensions: bump to version 4.2.0 In-Reply-To: <20220428195248.782790-1-james.hilliard1@gmail.com> References: <20220428195248.782790-1-james.hilliard1@gmail.com> Message-ID: <20220428230947.3e5aa576@windsurf> On Thu, 28 Apr 2022 13:52:48 -0600 James Hilliard wrote: > This package now requires the flit setup type. > > Signed-off-by: James Hilliard > --- > .../python-typing-extensions/python-typing-extensions.hash | 4 ++-- > .../python-typing-extensions/python-typing-extensions.mk | 6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-simplejson: bump to version 3.17.6 In-Reply-To: <20220428194545.776652-1-james.hilliard1@gmail.com> References: <20220428194545.776652-1-james.hilliard1@gmail.com> Message-ID: <20220428230944.1dcb7f6d@windsurf> On Thu, 28 Apr 2022 13:45:45 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-simplejson/python-simplejson.hash | 4 ++-- > package/python-simplejson/python-simplejson.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:41 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools: bump to version 62.1.0 In-Reply-To: <20220428194232.775056-1-james.hilliard1@gmail.com> References: <20220428194232.775056-1-james.hilliard1@gmail.com> Message-ID: <20220428230941.58abe67f@windsurf> On Thu, 28 Apr 2022 13:42:32 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-setuptools/python-setuptools.hash | 4 ++-- > package/python-setuptools/python-setuptools.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:37 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-setuptools-rust: bump to version 1.3.0 In-Reply-To: <20220428193738.772448-1-james.hilliard1@gmail.com> References: <20220428193738.772448-1-james.hilliard1@gmail.com> Message-ID: <20220428230937.2d651c20@windsurf> On Thu, 28 Apr 2022 13:37:38 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-setuptools-rust/python-setuptools-rust.hash | 4 ++-- > package/python-setuptools-rust/python-setuptools-rust.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:58 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-aenum: bump to version 3.1.11 In-Reply-To: <20220428200926.790948-1-james.hilliard1@gmail.com> References: <20220428200926.790948-1-james.hilliard1@gmail.com> Message-ID: <20220428230958.674fe28b@windsurf> On Thu, 28 Apr 2022 14:09:26 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-aenum/python-aenum.hash | 4 ++-- > package/python-aenum/python-aenum.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:35 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-cryptography: bump to version 37.0.1 In-Reply-To: <20220428193114.759935-1-james.hilliard1@gmail.com> References: <20220428193114.759935-1-james.hilliard1@gmail.com> Message-ID: <20220428230935.19ab0684@windsurf> On Thu, 28 Apr 2022 13:31:14 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-cryptography/python-cryptography.hash | 2 +- > package/python-cryptography/python-cryptography.mk | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:54 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-urllib3: bump to version 1.26.9 In-Reply-To: <20220428200325.789340-1-james.hilliard1@gmail.com> References: <20220428200325.789340-1-james.hilliard1@gmail.com> Message-ID: <20220428230954.712e0a86@windsurf> On Thu, 28 Apr 2022 14:03:25 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-urllib3/python-urllib3.hash | 4 ++-- > package/python-urllib3/python-urllib3.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:09:51 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:09:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-ujson: bump to version 5.2.0 In-Reply-To: <20220428200043.787738-1-james.hilliard1@gmail.com> References: <20220428200043.787738-1-james.hilliard1@gmail.com> Message-ID: <20220428230951.5d7b3873@windsurf> On Thu, 28 Apr 2022 14:00:43 -0600 James Hilliard wrote: > Drop patches that are now upstream. > > Signed-off-by: James Hilliard > --- > ...for-aarch64_be-or1k-and-microblazebe.patch | 30 ------ > ...0002-Add-support-of-ARC-architecture.patch | 36 ------- > .../0003-Add-support-for-microblaze.patch | 27 ------ > ...4-Pseiderer-add-nios2-and-xtensa-001.patch | 95 ------------------- > package/python-ujson/python-ujson.hash | 4 +- > package/python-ujson/python-ujson.mk | 4 +- > 6 files changed, 4 insertions(+), 192 deletions(-) > delete mode 100644 package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch > delete mode 100644 package/python-ujson/0002-Add-support-of-ARC-architecture.patch > delete mode 100644 package/python-ujson/0003-Add-support-for-microblaze.patch > delete mode 100644 package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:10:21 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:10:21 +0200 Subject: [Buildroot] [git commit] package/vlc: bump version to 3.0.17.4 Message-ID: <20220428210006.2A553846A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=29bd9004b48e75c84bb83918f40b40ba6ec65ca6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: http://www.videolan.org/vlc/releases/3.0.17.html Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/vlc/vlc.hash | 8 ++++---- package/vlc/vlc.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/vlc/vlc.hash b/package/vlc/vlc.hash index 468ec7df35..9060097906 100644 --- a/package/vlc/vlc.hash +++ b/package/vlc/vlc.hash @@ -1,7 +1,7 @@ -# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha256 -sha256 ffae35fc64f625c175571d2346bc5f6207be99762517f15423e74f18399410f6 vlc-3.0.16.tar.xz -# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha1 -sha1 e22ac839a09b5ead8992ae6aa8ea886364283e6a vlc-3.0.16.tar.xz +# From https://get.videolan.org/vlc/3.0.17.4/vlc-3.0.17.4.tar.xz.sha256 +sha256 8c5a62d88a4fb45c1b095cf10befef217dfa87aedcec5184b9e7d590b6dd4133 vlc-3.0.17.4.tar.xz +# From https://get.videolan.org/vlc/3.0.17.4/vlc-3.0.17.4.tar.xz.sha1 +sha1 ebcd9939103fda141267c5a8f1c603df4533218e vlc-3.0.17.4.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index b793e0efe0..aee3b735a9 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -4,7 +4,7 @@ # ################################################################################ -VLC_VERSION = 3.0.16 +VLC_VERSION = 3.0.17.4 VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION) VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz VLC_LICENSE = GPL-2.0+, LGPL-2.1+ From bernd.kuhls at t-online.de Thu Apr 28 21:13:55 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Thu, 28 Apr 2022 23:13:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/stellarium: bump version to 0.22.1 Message-ID: <20220428211355.3933644-1-bernd.kuhls@t-online.de> Release notes: http://stellarium.org/release/2022/04/16/stellarium-0.22.1.html Removed backported patch. Signed-off-by: Bernd Kuhls --- ...uilding-Stellarium-without-scripting.patch | 49 ------------------- package/stellarium/stellarium.hash | 4 +- package/stellarium/stellarium.mk | 2 +- 3 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch diff --git a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch b/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch deleted file mode 100644 index 57f15a8eff..0000000000 --- a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 710d1c5acd9e962260ce395474819ded2eb6ce12 Mon Sep 17 00:00:00 2001 -From: "Alexander V. Wolf" -Date: Tue, 29 Mar 2022 18:57:06 +0700 -Subject: [PATCH] Fixed building Stellarium without scripting - -Downloaded from upstream commit: -https://github.com/Stellarium/stellarium/commit/710d1c5acd9e962260ce395474819ded2eb6ce12 - -Signed-off-by: Bernd Kuhls ---- - plugins/Calendars/src/Calendars.cpp | 2 ++ - plugins/Calendars/src/Calendars.hpp | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/plugins/Calendars/src/Calendars.cpp b/plugins/Calendars/src/Calendars.cpp -index e5d89a4c063..4df6caee42e 100644 ---- a/plugins/Calendars/src/Calendars.cpp -+++ b/plugins/Calendars/src/Calendars.cpp -@@ -251,6 +251,7 @@ void Calendars::init() - } - } - -+#ifdef ENABLE_SCRIPTING - // Add calendar as scriptable object! Some scripting functions won't work though, as they use object types unknown to the scripting engine. - void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) - { -@@ -260,6 +261,7 @@ void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) - ssm->addObject(cal); - } - } -+#endif - - void Calendars::loadSettings() - { -diff --git a/plugins/Calendars/src/Calendars.hpp b/plugins/Calendars/src/Calendars.hpp -index 461ae1bd9ba..4696183d9d2 100644 ---- a/plugins/Calendars/src/Calendars.hpp -+++ b/plugins/Calendars/src/Calendars.hpp -@@ -145,8 +145,10 @@ class Calendars : public StelModule - //! TODO: ADD HERE: Chinese, NewHinduSolar, NewHinduLunar, ... - Calendar* getCal(QString name); - -+ #ifdef ENABLE_SCRIPTING - //! to be called after program startup, when StelScriptMgr has been set up. - void makeCalendarsScriptable(StelScriptMgr *ssm); -+ #endif - - signals: - //void jdChanged(double jd); diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash index 2c2427bf0e..12cc3c5375 100644 --- a/package/stellarium/stellarium.hash +++ b/package/stellarium/stellarium.hash @@ -1,5 +1,5 @@ # From https://github.com/Stellarium/stellarium/releases -sha1 c4a00fd756c66fb7df633f496dd3be4300bf1d2b stellarium-0.22.0.tar.gz -sha256 0b4dc23cf9054b5e76cd9bc5ad68e172eb221999e90af37e93667d04fe78c885 stellarium-0.22.0.tar.gz +sha1 55b5915dfb616b9748e1c2d2de6150f7159cf36c stellarium-0.22.1.tar.gz +sha256 61a595ecc345dcc7517359573d0dc772e67ecaf6d52fefab142a77c92cf3fa24 stellarium-0.22.0.tar.gz # Locally computed sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index 1226b1190d..9c24263a43 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -4,7 +4,7 @@ # ################################################################################ -STELLARIUM_VERSION = 0.22.0 +STELLARIUM_VERSION = 0.22.1 STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) STELLARIUM_LICENSE = GPL-2.0+ STELLARIUM_LICENSE_FILES = COPYING -- 2.30.2 From sen at phobosdpl.com Thu Apr 28 21:18:55 2022 From: sen at phobosdpl.com (Sen Hastings) Date: Thu, 28 Apr 2022 16:18:55 -0500 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: add kmsro driver Message-ID: Howdy, After Mesa DRI swrast support was removed on 2021.05 I realized that GPU acceleration on my RPi 4 (Raspberry pi 4) had stopped/never actually worked. After transitioning from the deprecated Broadcom EGL library, the RPi 4 (at least) uses the VideoCore IV 3D (v3d) driver for rendering, and the VideoCore IV (vc4) driver for display output. These are "hooked" together with the kmsro driver, which was renamed/extended from the pl111 driver to be more generic in accomplishing this task. https://forums.raspberrypi.com/viewtopic.php?f=67&p=1901014 http://lists.freedesktop.org/archives/mesa-dev/2019-January/214067.html I use the RPi 4 as a specific example, but the kmsro driver is required for the task of attaching "render only" GPUs to any sort of external display controller/manager type deal. This is pretty common AFAIK on lots of SOCs. Mesa supports this in combination with a few drivers, including: Lima: https://docs.mesa3d.org/drivers/lima.html Panfrost: https://docs.mesa3d.org/drivers/panfrost.html#building v3d: https://docs.mesa3d.org/drivers/v3d.html The current patch adds BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO and selects it (along with BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) when BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D is enabled. Perhaps it should also be selected in conjunction with BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA, BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST and others? Again, technically this is not necessary if you don't want display output from your GPU. Seeing that BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D selects BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 I assume the primary goal is to auto-select mesa driver options that yield functioning display output? tldr: The kmsro driver is required to get actual display output from some "render only" GPU drivers. If a "render only" GPU driver is selected, should the kmsro driver be selected by default? Signed-off-by: Sen Hastings --- package/mesa3d/Config.in | 14 +++++++++++++- package/mesa3d/mesa3d.mk | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index e41da562dc..29e6b0d571 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -151,6 +151,17 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS help Mesa driver for iris-based Intel GPUs. +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO + bool "Gallium kmsro driver" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + help + "kernel mode setting render-only" driver + "bridge" driver that hooks up render only GPUs to + external display controllers/engines. + Required for actual display output on some systems. + Must be used in conjunction with a GPU driver. + Supports: Etnaviv,freedreno,lima,panfrost,v3d + config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA bool "Gallium lima driver" depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence @@ -263,9 +274,10 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 # runtime + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO select BR2_PACKAGE_MESA3D_OPENGL_EGL help - Driver for Broadcom VC6 (rpi4) GPUs (needs vc4). + Driver for Broadcom VC6 (rpi4) GPUs (needs vc4 and kmsro). It requires a kernel 4.18+ with DRM V3D support enabled: diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 9f375edc1f..8b9787aa54 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -102,6 +102,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO) += freedreno MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915) += i915 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS) += iris +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU) += nouveau MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST) += panfrost -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 21:20:10 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:20:10 +0200 Subject: [Buildroot] [PATCH] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" Message-ID: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> This reverts commit 8945ba49480a7885d104445ca855ef7681a374ff. This commit is incorrect, as it is perfectly valid for BR2_TOOLCHAIN_EXTERNAL_PATH to be empty. The help text of BR2_TOOLCHAIN_EXTERNAL_PATH even documents it as a supported case: If empty, the compiler will be searched in $PATH. Commit 392b0a26f5fd8d3aedce7e0c15f9762a79312f01 ("toolchain-external: default BR2_TOOLCHAIN_EXTERNAL_PATH to empty") even made that the default saying "In addition, it in fact works correctly when it is empty. In that case, the toolchain will be searched in PATH." A user has reported that commit 8945ba49480a7885d104445ca855ef7681a374ff breaks his use-case: https://lore.kernel.org/buildroot/CADBnMvhgaozAgZgy3njckjL1i0U6bZ0fLrq-kdFF-qpGhFWgmw at mail.gmail.com/ Reported-by: Kristof Havasi Signed-off-by: Thomas Petazzoni --- This should be backported to 2022.02.x --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 ----- 1 file changed, 5 deletions(-) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index c7f4175c9e..299b6008aa 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,12 +69,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) -ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) -$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) -endif endif -endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) -- 2.35.1 From thomas.petazzoni at bootlin.com Thu Apr 28 21:22:37 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:22:37 +0200 Subject: [Buildroot] Build regression after 2022.02.01 In-Reply-To: References: Message-ID: <20220428232237.602ccb13@windsurf> Hello Kristof, On Thu, 28 Apr 2022 19:39:11 +0200 Kristof Havasi wrote: > I just updated from 2022.02 to 2022.02.01. > > My build broke due to 8945ba49480a7885d10444 > "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" > > I selected a bootlin toolchain for armv7, which is installed on the > build system and is available > via PATH. As the help string of BR2_TOOLCHAIN_EXTERNAL_PATH describes, if it is > empty, then PATH will be searched. > > If I revert the above commit the build succeeds like before. > > I could see the reason behind the check in the commit for the case, > where the toolchain is yet to be downloaded, but then the lines ended > up in the wrong > branch of the if/else statement. > > In case the toolchain is already available via PATH, I suggest to > follow the previous logic > and description in the help text: > "If empty, the compiler will be searched in $PATH." Thanks for your report. I believe that commit 8945ba49480a7885d10444 is incorrect, so I sent a patch to propose to revert it: https://patchwork.ozlabs.org/project/buildroot/patch/20220428212011.534725-1-thomas.petazzoni at bootlin.com/ Let's see the feedback from the original author and the other Buildroot maintainers who applied. Maybe I missed something, but my belief is that the patch is incorrect. Again, thanks for your report, much appreciated! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:22:51 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:22:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/vlc: bump version to 3.0.17.4 In-Reply-To: <20220428201720.3150467-1-bernd.kuhls@t-online.de> References: <20220428201720.3150467-1-bernd.kuhls@t-online.de> Message-ID: <20220428232251.223edbe6@windsurf> On Thu, 28 Apr 2022 22:17:20 +0200 Bernd Kuhls wrote: > Release notes: http://www.videolan.org/vlc/releases/3.0.17.html > > Signed-off-by: Bernd Kuhls > --- > package/vlc/vlc.hash | 8 ++++---- > package/vlc/vlc.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:24:13 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:24:13 +0200 Subject: [Buildroot] [git commit] package/stellarium: bump version to 0.22.1 Message-ID: <20220428212330.9CE1E846AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5de73f0b685d7c2d096e3d28a50f2e89ed68c52c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: http://stellarium.org/release/2022/04/16/stellarium-0.22.1.html Removed backported patch. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- ...xed-building-Stellarium-without-scripting.patch | 49 ---------------------- package/stellarium/stellarium.hash | 4 +- package/stellarium/stellarium.mk | 2 +- 3 files changed, 3 insertions(+), 52 deletions(-) diff --git a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch b/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch deleted file mode 100644 index 57f15a8eff..0000000000 --- a/package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 710d1c5acd9e962260ce395474819ded2eb6ce12 Mon Sep 17 00:00:00 2001 -From: "Alexander V. Wolf" -Date: Tue, 29 Mar 2022 18:57:06 +0700 -Subject: [PATCH] Fixed building Stellarium without scripting - -Downloaded from upstream commit: -https://github.com/Stellarium/stellarium/commit/710d1c5acd9e962260ce395474819ded2eb6ce12 - -Signed-off-by: Bernd Kuhls ---- - plugins/Calendars/src/Calendars.cpp | 2 ++ - plugins/Calendars/src/Calendars.hpp | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/plugins/Calendars/src/Calendars.cpp b/plugins/Calendars/src/Calendars.cpp -index e5d89a4c063..4df6caee42e 100644 ---- a/plugins/Calendars/src/Calendars.cpp -+++ b/plugins/Calendars/src/Calendars.cpp -@@ -251,6 +251,7 @@ void Calendars::init() - } - } - -+#ifdef ENABLE_SCRIPTING - // Add calendar as scriptable object! Some scripting functions won't work though, as they use object types unknown to the scripting engine. - void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) - { -@@ -260,6 +261,7 @@ void Calendars::makeCalendarsScriptable(StelScriptMgr *ssm) - ssm->addObject(cal); - } - } -+#endif - - void Calendars::loadSettings() - { -diff --git a/plugins/Calendars/src/Calendars.hpp b/plugins/Calendars/src/Calendars.hpp -index 461ae1bd9ba..4696183d9d2 100644 ---- a/plugins/Calendars/src/Calendars.hpp -+++ b/plugins/Calendars/src/Calendars.hpp -@@ -145,8 +145,10 @@ class Calendars : public StelModule - //! TODO: ADD HERE: Chinese, NewHinduSolar, NewHinduLunar, ... - Calendar* getCal(QString name); - -+ #ifdef ENABLE_SCRIPTING - //! to be called after program startup, when StelScriptMgr has been set up. - void makeCalendarsScriptable(StelScriptMgr *ssm); -+ #endif - - signals: - //void jdChanged(double jd); diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash index 2c2427bf0e..64238ad163 100644 --- a/package/stellarium/stellarium.hash +++ b/package/stellarium/stellarium.hash @@ -1,5 +1,5 @@ # From https://github.com/Stellarium/stellarium/releases -sha1 c4a00fd756c66fb7df633f496dd3be4300bf1d2b stellarium-0.22.0.tar.gz -sha256 0b4dc23cf9054b5e76cd9bc5ad68e172eb221999e90af37e93667d04fe78c885 stellarium-0.22.0.tar.gz +sha1 55b5915dfb616b9748e1c2d2de6150f7159cf36c stellarium-0.22.1.tar.gz +sha256 61a595ecc345dcc7517359573d0dc772e67ecaf6d52fefab142a77c92cf3fa24 stellarium-0.22.0.tar.gz # Locally computed sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index 1226b1190d..9c24263a43 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -4,7 +4,7 @@ # ################################################################################ -STELLARIUM_VERSION = 0.22.0 +STELLARIUM_VERSION = 0.22.1 STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) STELLARIUM_LICENSE = GPL-2.0+ STELLARIUM_LICENSE_FILES = COPYING From thomas.petazzoni at bootlin.com Thu Apr 28 21:35:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:35:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/stellarium: bump version to 0.22.1 In-Reply-To: <20220428211355.3933644-1-bernd.kuhls@t-online.de> References: <20220428211355.3933644-1-bernd.kuhls@t-online.de> Message-ID: <20220428233544.58ad8a57@windsurf> On Thu, 28 Apr 2022 23:13:55 +0200 Bernd Kuhls wrote: > Release notes: > http://stellarium.org/release/2022/04/16/stellarium-0.22.1.html > > Removed backported patch. > > Signed-off-by: Bernd Kuhls > --- > ...uilding-Stellarium-without-scripting.patch | 49 ------------------- > package/stellarium/stellarium.hash | 4 +- > package/stellarium/stellarium.mk | 2 +- > 3 files changed, 3 insertions(+), 52 deletions(-) > delete mode 100644 package/stellarium/0001-Fixed-building-Stellarium-without-scripting.patch Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:11 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:11 +0200 Subject: [Buildroot] [git commit] package/php: bump version to 8.0.18 Message-ID: <20220428212755.D454A846E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d97f3e2e64707d9d4589fdf5dae8252143dc31f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://www.php.net/ChangeLog-8.php#8.0.18 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index 3d73e60f90..76501c0fdd 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 4e7d94bb3d144412cb8b2adeb599fb1c6c1d7b357b0d0d0478dc5ef53532ebc5 php-8.0.17.tar.xz +sha256 db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7 php-8.0.18.tar.xz # License file sha256 a188db807d711536f71e27b7d36879d63480f7994dc18adc08e624b3c5430fff LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index 6454d6fe87..adfbf3cad2 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.0.17 +PHP_VERSION = 8.0.18 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:20 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:20 +0200 Subject: [Buildroot] [git commit] package/vim: security bump to version 8.2.4843 Message-ID: <20220428212755.E78DB846EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c76fc9d1ccf623a8dad4d845a371bb5936e38d4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2022-1381: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/vim/vim.hash | 2 +- package/vim/vim.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vim/vim.hash b/package/vim/vim.hash index d55b1ea355..1cd0de9991 100644 --- a/package/vim/vim.hash +++ b/package/vim/vim.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz +sha256 f2755fca3b2f47052166dd601a38411b9adbeca0d43885194db8ada4d1a171a3 vim-8.2.4843.tar.gz sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/package/vim/vim.mk b/package/vim/vim.mk index 4eb659fd6e..be96a08d09 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -4,7 +4,7 @@ # ################################################################################ -VIM_VERSION = 8.2.4732 +VIM_VERSION = 8.2.4843 VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) VIM_SUBDIR = src From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:08 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:08 +0200 Subject: [Buildroot] [git commit] package/python-autobahn: bump to version 22.3.2 Message-ID: <20220428212755.C8C16846EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2b985fb8a0ddeb2e3c8351bd7c1a5a5326ac6dfd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-autobahn/python-autobahn.hash | 4 ++-- package/python-autobahn/python-autobahn.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-autobahn/python-autobahn.hash b/package/python-autobahn/python-autobahn.hash index 7b963df635..cc68f822a3 100644 --- a/package/python-autobahn/python-autobahn.hash +++ b/package/python-autobahn/python-autobahn.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/autobahn/json -md5 9b0ae4ff164232c952ba01ab3516188e autobahn-22.1.1.tar.gz -sha256 17e1b58b6ae1a63ca7d926b1d71bb9e4fd6b9ac9a1a2277d8ee40e0b61f54746 autobahn-22.1.1.tar.gz +md5 b0b5e10bfea95f32900708be705efcf0 autobahn-22.3.2.tar.gz +sha256 58a887c7a196bb08d8b6624cb3695f493a9e5c9f00fd350d8d6f829b47ff9036 autobahn-22.3.2.tar.gz # Locally computed sha256 checksums sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE diff --git a/package/python-autobahn/python-autobahn.mk b/package/python-autobahn/python-autobahn.mk index df43e9cdf2..37256ec8f6 100644 --- a/package/python-autobahn/python-autobahn.mk +++ b/package/python-autobahn/python-autobahn.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AUTOBAHN_VERSION = 22.1.1 +PYTHON_AUTOBAHN_VERSION = 22.3.2 PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz -PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/0e/2a/0b627ad4adf70437b5753462958b3ba5c6802d7664eb4a680e46423659ba +PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/e9/a7/4dea20063b78eb50a54182494ae634cffc0ed6208bf775771f374a9fb8bc PYTHON_AUTOBAHN_LICENSE = MIT PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE PYTHON_AUTOBAHN_CPE_ID_VENDOR = crossbar From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:03 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:03 +0200 Subject: [Buildroot] [git commit] package/ffmpeg: bump verson to 4.4.2 Message-ID: <20220428212755.BC0D3846E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8cb49dee480f23cc2eb2169bcda62cb84b7673ab branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=Changelog;hb=refs/heads/release/4.4 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/ffmpeg/ffmpeg.hash | 2 +- package/ffmpeg/ffmpeg.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ffmpeg/ffmpeg.hash b/package/ffmpeg/ffmpeg.hash index abb397f872..8669a060d0 100644 --- a/package/ffmpeg/ffmpeg.hash +++ b/package/ffmpeg/ffmpeg.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02 ffmpeg-4.4.1.tar.xz +sha256 af419a7f88adbc56c758ab19b4c708afbcae15ef09606b82b855291f6a6faa93 ffmpeg-4.4.2.tar.xz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 sha256 b634ab5640e258563c536e658cad87080553df6f34f62269a21d554844e58bfe COPYING.LGPLv2.1 sha256 cb48bf09a11f5fb576cddb0431c8f5ed0a60157a9ec942adffc13907cbe083f2 LICENSE.md diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 5a79faed47..82d229903f 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -4,7 +4,7 @@ # ################################################################################ -FFMPEG_VERSION = 4.4.1 +FFMPEG_VERSION = 4.4.2 FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz FFMPEG_SITE = http://ffmpeg.org/releases FFMPEG_INSTALL_STAGING = YES From thomas.petazzoni at bootlin.com Thu Apr 28 21:36:17 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:36:17 +0200 Subject: [Buildroot] [git commit] package/samba4: bump version to 4.15.7 Message-ID: <20220428212755.DD4E5846AD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e57a4e0c75e6127addf62652ba57e52b2df2a83e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://www.samba.org/samba/history/samba-4.15.7.html Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index 20e5f00b21..ac28c35614 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.15.6.tar.asc -sha256 0575b999a9048445820428dc540ba8a9527ce596fa66af02ea2ba1ea9578bcb4 samba-4.15.6.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.15.7.tar.asc +sha256 76d0096c16ed0265b337d5731f3c0b32eed3adab6fa8b7585c055b287cd05d6b samba-4.15.7.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 688aaac3eb..df3a7e58c8 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.15.6 +SAMBA4_VERSION = 4.15.7 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:23 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/ffmpeg: bump verson to 4.4.2 In-Reply-To: <20220428201538.3150261-1-bernd.kuhls@t-online.de> References: <20220428201538.3150261-1-bernd.kuhls@t-online.de> Message-ID: <20220428233823.1937b0ef@windsurf> On Thu, 28 Apr 2022 22:15:38 +0200 Bernd Kuhls wrote: > Changelog: > http://git.videolan.org/?p=ffmpeg.git;a=blob;f=Changelog;hb=refs/heads/release/4.4 > > Signed-off-by: Bernd Kuhls > --- > package/ffmpeg/ffmpeg.hash | 2 +- > package/ffmpeg/ffmpeg.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:28 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-autobahn: bump to version 22.3.2 In-Reply-To: <20220428201619.792756-1-james.hilliard1@gmail.com> References: <20220428201619.792756-1-james.hilliard1@gmail.com> Message-ID: <20220428233828.52ccf8c8@windsurf> On Thu, 28 Apr 2022 14:16:19 -0600 James Hilliard wrote: > Signed-off-by: James Hilliard > --- > package/python-autobahn/python-autobahn.hash | 4 ++-- > package/python-autobahn/python-autobahn.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:34 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/php: bump version to 8.0.18 In-Reply-To: <20220428202009.3273602-1-bernd.kuhls@t-online.de> References: <20220428202009.3273602-1-bernd.kuhls@t-online.de> Message-ID: <20220428233834.5294a5c3@windsurf> On Thu, 28 Apr 2022 22:20:09 +0200 Bernd Kuhls wrote: > Changelog: https://www.php.net/ChangeLog-8.php#8.0.18 > > Signed-off-by: Bernd Kuhls > --- > package/php/php.hash | 2 +- > package/php/php.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.15.7 In-Reply-To: <20220428202416.3560203-1-bernd.kuhls@t-online.de> References: <20220428202416.3560203-1-bernd.kuhls@t-online.de> Message-ID: <20220428233839.1c12dfb4@windsurf> On Thu, 28 Apr 2022 22:24:16 +0200 Bernd Kuhls wrote: > Release notes: https://www.samba.org/samba/history/samba-4.15.7.html > > Signed-off-by: Bernd Kuhls > --- > package/samba4/samba4.hash | 4 ++-- > package/samba4/samba4.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:38:45 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:38:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/vim: security bump to version 8.2.4843 In-Reply-To: <20220428204932.948797-1-fontaine.fabrice@gmail.com> References: <20220428204932.948797-1-fontaine.fabrice@gmail.com> Message-ID: <20220428233845.6a62a2a2@windsurf> On Thu, 28 Apr 2022 22:49:32 +0200 Fabrice Fontaine wrote: > Fix CVE-2022-1381: global heap buffer overflow in skip_range in GitHub > repository vim/vim prior to 8.2.4763. This vulnerability is capable of > crashing software, Bypass Protection Mechanism, Modify Memory, and > possible remote execution > > Signed-off-by: Fabrice Fontaine > --- > package/vim/vim.hash | 2 +- > package/vim/vim.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:39:44 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:39:44 +0200 Subject: [Buildroot] [git commit] package/sdl2_ttf: disable builtin harfbuzz Message-ID: <20220428212928.92059846EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2449d9c9dd69f5d291997560c4d48cbd5c5b0fe9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable builtin harfbuzz which is enabled by default since bump to version 2.0.18 in commit f4da031a77f200515bcc5b2e0fe665a7b4f2a780 and https://github.com/libsdl-org/SDL_ttf/commit/834ec54127dc9c2a12928f5fe32cf110ec4c7a7f resulting in the following build failure without threads: In file included from external/harfbuzz-2.8.0/src/hb.hh:470, from external/harfbuzz-2.8.0/src/hb-aat-layout.cc:28: external/harfbuzz-2.8.0/src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory 53 | #include | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/sdl2_ttf/sdl2_ttf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sdl2_ttf/sdl2_ttf.mk b/package/sdl2_ttf/sdl2_ttf.mk index 54e76815f1..054e327fac 100644 --- a/package/sdl2_ttf/sdl2_ttf.mk +++ b/package/sdl2_ttf/sdl2_ttf.mk @@ -11,7 +11,7 @@ SDL2_TTF_LICENSE = Zlib SDL2_TTF_LICENSE_FILES = COPYING.txt SDL2_TTF_INSTALL_STAGING = YES SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf -SDL2_TTF_CONF_OPTS = --disable-freetype-builtin +SDL2_TTF_CONF_OPTS = --disable-freetype-builtin --disable-harfbuzz-builtin ifeq ($(BR2_PACKAGE_HARFBUZZ),y) SDL2_TTF_DEPENDENCIES += harfbuzz From thomas.petazzoni at bootlin.com Thu Apr 28 21:39:51 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:39:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/sdl2_ttf: disable builtin harfbuzz In-Reply-To: <20220428175447.983405-1-fontaine.fabrice@gmail.com> References: <20220428175447.983405-1-fontaine.fabrice@gmail.com> Message-ID: <20220428233951.5d87b016@windsurf> On Thu, 28 Apr 2022 19:54:47 +0200 Fabrice Fontaine wrote: > Disable builtin harfbuzz which is enabled by default since bump to > version 2.0.18 in commit f4da031a77f200515bcc5b2e0fe665a7b4f2a780 and > https://github.com/libsdl-org/SDL_ttf/commit/834ec54127dc9c2a12928f5fe32cf110ec4c7a7f > resulting in the following build failure without threads: > > In file included from external/harfbuzz-2.8.0/src/hb.hh:470, > from external/harfbuzz-2.8.0/src/hb-aat-layout.cc:28: > external/harfbuzz-2.8.0/src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory > 53 | #include > | ^~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 > > Signed-off-by: Fabrice Fontaine > --- > package/sdl2_ttf/sdl2_ttf.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:45:27 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:45:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs atomic In-Reply-To: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> References: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> Message-ID: <20220428234527.3c5bb3b9@windsurf> On Wed, 27 Apr 2022 22:50:57 +0200 Fabrice Fontaine wrote: > numactl unconditionally uses __atomic_fetch_and resulting in the > following build failure on microblaze since commit > 4ed540ddf59bec4b389be44d7f42820d2466904f: This explanation is unfortunately incorrect. It has nothing to do with microblaze, because BR2_TOOLCHAIN_HAS_ATOMIC is true on microblaze: config BR2_TOOLCHAIN_HAS_LIBATOMIC bool default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 && \ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 && \ BR2_TOOLCHAIN_HAS_THREADS && \ !BR2_BINFMT_FLAT config BR2_TOOLCHAIN_HAS_ATOMIC bool default y if BR2_TOOLCHAIN_HAS_LIBATOMIC default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_arm default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64 However, the key thing is that the build failure http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a has thread support disabled, and when threads are disabled, libatomic is not built, and therefore BR2_TOOLCHAIN_HAS_LIBATOMIC is false. However, I don't see anywhere in the numactl build system where -latomic is passed. Does it build on architectures that need to link against libatomic to get atomic intrinsics? Could you double check this, and rework the commit message? Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Thu Apr 28 21:45:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:45:07 +0200 Subject: [Buildroot] [git commit] package/binutils: re-enable recent versions of binutils for FLAT binaries Message-ID: <20220428213639.2BA0784717@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=44b9361a2ee0741e1307831e3a66c7a03cafec17 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Thanks to the bump of elf2flt to version 2021.08, the issue with recent versions of binutils has been fixed, so we can re-enable using the recent binutils versions. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- package/binutils/Config.in.host | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index e639c67149..4382b32237 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,21 +19,12 @@ config BR2_BINUTILS_VERSION_2_32_X config BR2_BINUTILS_VERSION_2_36_X bool "binutils 2.36.1" depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_37_X bool "binutils 2.37" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_2_38_X bool "binutils 2.38" - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.34.50)" From yann.morin.1998 at free.fr Thu Apr 28 21:45:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:45:08 +0200 Subject: [Buildroot] [git commit] package/binutils: drop version 2.32 Message-ID: <20220428213639.3C12084719@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6030cea9e99d93b361e9ee42ce57859792d575cb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Now that recent versions of binutils work with FLAT binaries, we can drop the old 2.32 version, which was kept only to keep support FLAT binaries. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- Config.in.legacy | 6 + package/binutils/2.32/0001-sh-conf.patch | 48 -- .../2.32/0002-poison-system-directories.patch | 306 ------------- ...fix-shrink_dynamic_reloc_sections-for-exp.patch | 41 -- ...terals-const16-for-xtensa-loop-relaxation.patch | 294 ------------ ...as-put-.literal_position-at-section-start.patch | 96 ---- ...correct-value-in-PLT-GOT-entries-causing-.patch | 46 -- .../2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 ------------------ ...fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ------ ...sue-with-plt-link-failure-for-local-calls.patch | 59 --- ...ent-relocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 ----------- ...R_OR1K_GOT16-overflow-failures-in-presenc.patch | 61 --- ...t-large-plt_relocs-when-generating-plt-en.patch | 500 --------------------- ...lf32-or1k-fix-building-with-gcc-version-5.patch | 50 --- ...-relative-relocation-against-dynamic-on-P.patch | 59 --- ...R_OR1K_GOT16-signed-overflow-by-using-spe.patch | 75 ---- package/binutils/Config.in.host | 5 - package/binutils/binutils.hash | 1 - 19 files changed, 6 insertions(+), 2494 deletions(-) Patch is too large, so refusing to show it From yann.morin.1998 at free.fr Thu Apr 28 21:45:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:45:07 +0200 Subject: [Buildroot] [git commit] boot/afboot-stm32: add patch fixing build issue with recent binutils Message-ID: <20220428213639.1431C84717@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf5206ea981162bec3479298164cb4650ec31cdc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The afboot-stm32 build system was initially linking with gcc, but that was changed upstream following a Buildroot contribution to use ld instead. However, the build system was still passing -nostartfiles, which is a gcc option. By luck, this option was simply ignored by older versions of ld (such as binutils 2.32), but newer versions of ld (2.36 and newer, at least) no longer accept/ignore this option. This commit adds a patch that drops the use of this option, since it is useless for ld. The first patch is slightly updated because the upstream pull request has been updated to contain both build fixes. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- ...Pass-fno-builtin-to-fix-build-with-gcc-10.patch | 6 ++-- .../0002-Makefile-drop-nostartfiles.patch | 40 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch b/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch index 5ef47b59ff..aef283270e 100644 --- a/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch +++ b/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch @@ -1,4 +1,4 @@ -From 5448f328ff63a6ca4a64519c2f1dfc63a33df4b7 Mon Sep 17 00:00:00 2001 +From 9901603e18524c4c52fd1dd47bda4ab4016628fc Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 10 Sep 2020 11:37:33 +0200 Subject: [PATCH] Pass -fno-builtin to fix build with gcc 10 @@ -23,7 +23,7 @@ stm32f429i-disco.c:(.text.reset+0x1a): undefined reference to `memcpy' /home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: stm32f429i-disco.c:(.text.reset+0x34): undefined reference to `memset' make[1]: *** [Makefile:26: stm32f429i-disco] Error 1 -Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/9 +Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/11 Signed-off-by: Thomas Petazzoni --- Makefile | 1 + @@ -42,5 +42,5 @@ index f699176..1e8557d 100644 obj-y += gpio.o mpu.o qspi.o start_kernel.o -- -2.26.2 +2.35.1 diff --git a/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch b/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch new file mode 100644 index 0000000000..7e5a6430bc --- /dev/null +++ b/boot/afboot-stm32/0002-Makefile-drop-nostartfiles.patch @@ -0,0 +1,40 @@ +From be760c062c5d05bd2223f3916afafd37120d3318 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Thu, 28 Apr 2022 22:47:09 +0200 +Subject: [PATCH] Makefile: drop -nostartfiles + +In commit 0f3e61c9dd48fd8b4248ce4672c044c2562e4de1 ("Use ld instead of +gcc for linking "), we started using ld instead of gcc for the link +step. This worked fine for a while, but recent versions of ld no +longer accept the -nostartfiles option, causing the build to break: + +Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?) + +In fact, -nostartfiles was passed to gcc prior to +0f3e61c9dd48fd8b4248ce4672c044c2562e4de1, but it is not a ld +option. It is only by luck that it was accepted and ignored by older +ld versions. Since this option is useless when calling ld directly, we +can simply drop it. + +Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/11 +Signed-off-by: Thomas Petazzoni +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 1e8557d..8f42be1 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,7 +14,7 @@ CFLAGS := -mthumb -mcpu=cortex-m4 + CFLAGS += -ffunction-sections -fdata-sections + CFLAGS += -Os -std=gnu99 -Wall + CFLAGS += -fno-builtin +-LINKERFLAGS := -nostartfiles --gc-sections ++LINKERFLAGS := --gc-sections + + obj-y += gpio.o mpu.o qspi.o start_kernel.o + obj-f4 += $(obj-y) usart-f4.o +-- +2.35.1 + From yann.morin.1998 at free.fr Thu Apr 28 21:45:07 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:45:07 +0200 Subject: [Buildroot] [git commit] package/elf2flt: update to version 2021.08 Message-ID: <20220428213639.21B9184719@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=65d78dcfeb8b2eafaebe2d0c3c8c42e7e85f46ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master It contains several fixes and improvements compared to our current version, and two of our patches have been accepted upstream. Most notably, it fixes the issue we had in using elf2flt with recent versions of binutils (upstream commit ba379d08bb78c9300e84351c11080c26ddcc36b3). Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d The other two patches are refreshed to apply properly on 2021.08. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- ...tch => 0001-elf2flt-handle-binutils-2.34.patch} | 78 ++++----- ...behave-properly-when-called-with-a-name-d.patch | 79 --------- ...> 0002-elf2flt-add-riscv-64-bits-support.patch} | 38 ++--- ...flt.c-add-new-relocation-types-for-xtensa.patch | 188 --------------------- package/elf2flt/elf2flt.hash | 2 +- package/elf2flt/elf2flt.mk | 4 +- 6 files changed, 57 insertions(+), 332 deletions(-) diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch similarity index 89% rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch index 16d5633385..4aa473c244 100644 --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch @@ -1,4 +1,4 @@ -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 5 Feb 2020 10:31:32 +0100 Subject: [PATCH] elf2flt: handle binutils >= 2.34 @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/configure.ac b/configure.ac -index e82eb1d..cf7dea8 100644 +index b7db2cb..fdc0876 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 CFLAGS="-Wall $CFLAGS" if test "$werror" = 1 ; then diff --git a/elf2flt.c b/elf2flt.c -index b93aecd..3bcf4fe 100644 +index 7ac0617..ea6b5a1 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -149,6 +149,17 @@ const char *elf2flt_progname; @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 if (verbose) printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", -@@ -442,7 +451,7 @@ output_relocs ( +@@ -443,7 +452,7 @@ output_relocs ( continue; if (verbose) printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 if ((r->flags & SEC_RELOC) == 0) continue; relsize = bfd_get_reloc_upper_bound(rel_bfd, r); -@@ -694,7 +703,7 @@ output_relocs ( +@@ -695,7 +704,7 @@ output_relocs ( case R_BFIN_RIMM16: case R_BFIN_LUIMM16: case R_BFIN_HUIMM16: @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -727,7 +736,7 @@ output_relocs ( +@@ -728,7 +737,7 @@ output_relocs ( break; case R_BFIN_BYTE4_DATA: @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) -@@ -885,7 +894,7 @@ output_relocs ( +@@ -886,7 +895,7 @@ output_relocs ( #if defined(TARGET_m68k) case R_68K_32: relocation_needed = 1; @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_68K_PC16: -@@ -910,7 +919,7 @@ output_relocs ( +@@ -911,7 +920,7 @@ output_relocs ( q->address, sym_addr, (*p)->howto->rightshift, *(uint32_t *)r_mem); @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_ARM_GOT32: -@@ -938,7 +947,7 @@ output_relocs ( +@@ -939,7 +948,7 @@ output_relocs ( #ifdef TARGET_v850 case R_V850_ABS32: relocation_needed = 1; @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_V850_ZDA_16_16_OFFSET: -@@ -960,7 +969,7 @@ output_relocs ( +@@ -961,7 +970,7 @@ output_relocs ( sym_addr = (*(q->sym_ptr_ptr))->value; q->address -= 1; r_mem -= 1; /* tracks q->address */ @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= (*(unsigned char *)r_mem<<24); break; -@@ -973,7 +982,7 @@ output_relocs ( +@@ -974,7 +983,7 @@ output_relocs ( /* Absolute symbol done not relocation */ relocation_needed = !bfd_is_abs_section(sym_section); sym_addr = (*(q->sym_ptr_ptr))->value; @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_DIR32: -@@ -986,7 +995,7 @@ output_relocs ( +@@ -987,7 +996,7 @@ output_relocs ( } relocation_needed = 1; sym_addr = (*(q->sym_ptr_ptr))->value; @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_H8_PCREL16: -@@ -1012,7 +1021,7 @@ output_relocs ( +@@ -1013,7 +1022,7 @@ output_relocs ( #ifdef TARGET_microblaze case R_MICROBLAZE_64: /* work out the relocation */ @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* Write relocated pointer back */ r_mem[2] = (sym_addr >> 24) & 0xff; -@@ -1026,7 +1035,7 @@ output_relocs ( +@@ -1027,7 +1036,7 @@ output_relocs ( pflags = 0x80000000; break; case R_MICROBLAZE_32: @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; relocation_needed = 1; break; -@@ -1058,7 +1067,7 @@ output_relocs ( +@@ -1059,7 +1068,7 @@ output_relocs ( case R_NIOS2_BFD_RELOC_32: relocation_needed = 1; pflags = (FLAT_NIOS2_R_32 << 28); @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; /* modify target, in target order */ *(unsigned long *)r_mem = htoniosl(sym_addr); -@@ -1068,7 +1077,7 @@ output_relocs ( +@@ -1069,7 +1078,7 @@ output_relocs ( unsigned long exist_val; relocation_needed = 1; pflags = (FLAT_NIOS2_R_CALL26 << 28); - sym_vma = bfd_section_vma(abs_bfd, sym_section); + sym_vma = elf2flt_bfd_section_vma(sym_section); sym_addr += sym_vma + q->addend; - + /* modify target, in target order */ -@@ -1099,7 +1108,7 @@ output_relocs ( +@@ -1100,7 +1109,7 @@ output_relocs ( ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; pflags <<= 28; - + - sym_vma = bfd_section_vma(abs_bfd, sym_section); -+ sym_vma = elf2flt_bfd_section_vma(sym_section); ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); sym_addr += sym_vma + q->addend; /* modify high 16 bits, in target order */ -@@ -1132,7 +1141,7 @@ output_relocs ( +@@ -1133,7 +1142,7 @@ output_relocs ( goto NIOS2_RELOC_ERR; } /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); sym_addr += sym_vma + q->addend; sym_addr -= gp; -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: case R_SPARC_32: case R_SPARC_UA32: relocation_needed = 1; @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SPARC_PC22: -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: case R_SPARC_HI22: relocation_needed = 1; pflags = 0x80000000; @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr |= ( htonl(*(uint32_t *)r_mem) -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: case R_SPARC_LO10: relocation_needed = 1; pflags = 0x40000000; @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; sym_addr &= 0x000003ff; sym_addr |= ( -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: #ifdef TARGET_sh case R_SH_DIR32: relocation_needed = 1; @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 sym_addr += sym_vma + q->addend; break; case R_SH_REL32: -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: case R_E1_CONST31: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", sec_vma, sym_addr, q->address); sym_addr = sec_vma + sym_addr; -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: DBG_E1("Handling Reloc \n"); DIS29_RELOCATION: relocation_needed = 1; @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: relocation_needed = 0; DBG_E1("Handling Reloc \n"); DBG_E1("DONT RELOCATE AT LOADING\n"); @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: case R_E1_IMM32: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: case R_E1_WORD: relocation_needed = 1; DBG_E1("Handling Reloc \n"); @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", sec_vma, sym_addr); sym_addr = sec_vma + sym_addr; -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: } sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 /* -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) } else continue; @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 if (sec_vma < *vma) { if (*len > 0) -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_CODE) +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) + (SEC_DATA | SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, text + (s->vma - text_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 { fatal("read error section %s", s->name); } -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) - if (s->flags & SEC_DATA) +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) + (SEC_READONLY | SEC_RELOC))) if (!bfd_get_section_contents(abs_bfd, s, data + (s->vma - data_vma), 0, - bfd_section_size(abs_bfd, s))) @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 fatal("read error section %s", s->name); } -- -2.25.4 +2.35.1 diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch deleted file mode 100644 index a27c4913fb..0000000000 --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 13 Aug 2017 16:03:20 +0200 -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different - from TARGET_ALIAS - -ld-elf2flt currently handles two cases: - - 1 It is called as the wrapper for -ld, generally - installed in the bin/ directory of a toolchain. - - 2 It is called as the wrapper for "ld", generally installed in the - TARGET_ALIAS/bin/ directory of a toolchain. - -Unfortunately, if for some reason it gets called using a FOOBAR-ld -name that is different from -ld, it assumes it is in -case (2), while it really is in case (1). Due to this, the path -mangling logic doesn't work, and it doesn't find ld.real. - -This happens for example when the binary program in bin/ is named -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink -named arm-linux-ld. In this case, -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as -containing TARGET_ALIAS, and therefore the proper logic to find -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt -doesn't find TARGET_ALIAS, and therefore assumes we're being called as -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in -bin/, which doesn't exist. - -See: - -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -$ ./output/host/bin/arm-linux-ld -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory - -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files - -This commit fixes that by inverting the logic: if we're being called -as just "ld", then we assume it's the program in -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of -TARGET-ld. - -Signed-off-by: Thomas Petazzoni -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 ---- - ld-elf2flt.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index de39fe0..c187c2e 100644 ---- a/ld-elf2flt.c -+++ b/ld-elf2flt.c -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) - the host while those in /lib are for the target. - Make bindir point to the bin dir for bin/-foo. - Make tooldir point to the bin dir for /bin/foo. */ -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); -+ if (streqn(elf2flt_progname, "ld")) { -+ tmp = concat(argv0_dir, "../../bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- tooldir = concat(tmp, "/", NULL); -+ bindir = concat(tmp, "/", NULL); - } - } else { -- tmp = concat(argv0_dir, "../../bin", NULL); -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { -- bindir = concat(tmp, "/", NULL); -+ tooldir = concat(tmp, "/", NULL); - } - } - --- -2.9.4 - diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch similarity index 83% rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch index 4b00758446..c530bc020d 100644 --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch @@ -1,4 +1,4 @@ -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Wed, 9 Sep 2020 17:31:33 +0900 Subject: [PATCH] elf2flt: add riscv 64-bits support @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . Signed-off-by: Damien Le Moal --- elf2flt.c | 23 +++++++++++++++++++++++ - elf2flt.ld.in | 9 +++++---- + elf2flt.ld.in | 1 + ld-elf2flt.c | 16 ++++++++++++++++ - 3 files changed, 44 insertions(+), 4 deletions(-) + 3 files changed, 40 insertions(+) diff --git a/elf2flt.c b/elf2flt.c -index f87f1fc..dbce467 100644 +index ea6b5a1..7100c20 100644 --- a/elf2flt.c +++ b/elf2flt.c -@@ -80,6 +80,8 @@ const char *elf2flt_progname; +@@ -81,6 +81,8 @@ const char *elf2flt_progname; #include #elif defined(TARGET_xtensa) #include @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 #endif #if defined(__MINGW32__) -@@ -122,6 +124,8 @@ const char *elf2flt_progname; +@@ -123,6 +125,8 @@ const char *elf2flt_progname; #define ARCH "nios2" #elif defined(TARGET_xtensa) #define ARCH "xtensa" @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 #else #error "Don't know how to support your CPU architecture??" #endif -@@ -797,6 +801,16 @@ output_relocs ( +@@ -821,6 +825,16 @@ output_relocs ( goto good_32bit_resolved_reloc; default: goto bad_resolved_reloc; @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 #else default: /* The default is to assume that the -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) if (!load_to_ram && !pfile) load_to_ram = 1; @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 if (pfile) { diff --git a/elf2flt.ld.in b/elf2flt.ld.in -index ec1fe6f..c0c44b8 100644 +index 0df999d..f1eed1f 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) . = ALIGN(0x20) ; LONG(-1) . = ALIGN(0x20) ; --R_RODAT *(.rodata) --R_RODAT *(.rodata1) --R_RODAT *(.rodata.*) --R_RODAT *(.gnu.linkonce.r*) +RISCV_GP: __global_pointer$ = . + 0x800 ; -+R_RODAT *(.rodata) -+R_RODAT *(.rodata1) -+R_RODAT *(.rodata.*) -+R_RODAT *(.gnu.linkonce.r*) - *(.data) - *(.data1) - *(.data.*) + R_RODAT: *(.rodata) + R_RODAT: *(.rodata1) + R_RODAT: *(.rodata.*) diff --git a/ld-elf2flt.c b/ld-elf2flt.c -index e5de506..31b565f 100644 +index 7cb02d5..1a503dd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -324,6 +324,22 @@ static int do_final_link(void) @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 if (!linker_script) linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); -- -2.31.1 +2.35.1 diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch deleted file mode 100644 index 953bd79ccf..0000000000 --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch +++ /dev/null @@ -1,188 +0,0 @@ -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Thu, 7 May 2020 21:11:43 -0700 -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa - -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. -Add them to the list of ignored relocation types. - -This fixes the following error when invoking elf2flt on xtensa binaries -built with the recent binutils: - - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context - -Reported-by: Romain Naour -Signed-off-by: Max Filippov -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d ---- - Makefile.in | 3 ++- - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 14 ++++++++++++ - elf2flt.c | 8 +++++++ - 4 files changed, 88 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 52b3347d7f43..0529c7f0a25a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ - -DNO_GOT_CHECK=@got_check@ \ - -DUSE_EMIT_RELOCS=@emit_relocs@ \ - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ - EXEEXT = @EXEEXT@ - OBJEXT = @OBJEXT@ - -diff --git a/configure b/configure -index bb8e33f9cb28..bca38c34247e 100755 ---- a/configure -+++ b/configure -@@ -621,6 +621,7 @@ ac_includes_default="\ - - ac_subst_vars='LTLIBOBJS - LIBOBJS -+HAVE_BFD_XTENSA_PDIFF_RELOCS - SYMBOL_PREFIX - always_reloc_text - emit_ctor_dtor -@@ -1729,6 +1730,52 @@ fi - - } # ac_fn_c_try_link - -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+ - # ac_fn_c_check_func LINENO FUNC VAR - # ---------------------------------- - # Tests whether FUNC exists, setting the cache variable VAR accordingly -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h - fi - - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ OLD_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" -+ #include \"elf/xtensa.h\" -+" -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 -+fi -+ -+ CPPFLAGS=$OLD_CPPFLAGS -+ ;; -+esac -+ - for ac_func in vprintf - do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -@@ -4333,6 +4396,7 @@ fi - - - -+ - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" - - cat >confcache <<\_ACEOF -diff --git a/configure.ac b/configure.ac -index d6b4119eb18a..19969b1045f6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 -+case $target in -+ xtensa*) -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, -+ [#include "bfd.h" -+ #include "elf/xtensa.h"]) -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) -+ ;; -+esac -+ - dnl Checks for library functions. - AC_FUNC_VPRINTF - -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) - AC_SUBST(emit_ctor_dtor) - AC_SUBST(always_reloc_text) - AC_SUBST(SYMBOL_PREFIX) -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) - - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) - -diff --git a/elf2flt.c b/elf2flt.c -index b7c4a490df02..961534973f56 100644 ---- a/elf2flt.c -+++ b/elf2flt.c -@@ -776,6 +776,14 @@ output_relocs ( - case R_XTENSA_DIFF8: - case R_XTENSA_DIFF16: - case R_XTENSA_DIFF32: -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS -+ case R_XTENSA_PDIFF8: -+ case R_XTENSA_PDIFF16: -+ case R_XTENSA_PDIFF32: -+ case R_XTENSA_NDIFF8: -+ case R_XTENSA_NDIFF16: -+ case R_XTENSA_NDIFF32: -+#endif - case R_XTENSA_32_PCREL: - continue; - case R_XTENSA_32: --- -2.20.1 - diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash index c4b0697fcd..c576f65cdb 100644 --- a/package/elf2flt/elf2flt.hash +++ b/package/elf2flt/elf2flt.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk index 3239af1b9a..11cacaf9e0 100644 --- a/package/elf2flt/elf2flt.mk +++ b/package/elf2flt/elf2flt.mk @@ -4,8 +4,8 @@ # ################################################################################ -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) +ELF2FLT_VERSION = 2021.08 +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) ELF2FLT_LICENSE = GPL-2.0+ ELF2FLT_LICENSE_FILES = LICENSE.TXT From yann.morin.1998 at free.fr Thu Apr 28 21:50:03 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:50:03 +0200 Subject: [Buildroot] [PATCH] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" In-Reply-To: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> References: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428215003.GG3624965@scaer> Thomas, All, On 2022-04-28 23:20 +0200, Thomas Petazzoni via buildroot spake thusly: > This reverts commit 8945ba49480a7885d104445ca855ef7681a374ff. This is a commit on the 2022.02.x branch; it is a backport of 8e91385a2cb81c5f8114354f4494230e2aebb93a on master. Did you meant this patch to be applied only to 2022.02.x? I would believe it should be applied to master and backported to 2022.02 instead, no? Regards, Yann E. MORIN. > This commit is incorrect, as it is perfectly valid for > BR2_TOOLCHAIN_EXTERNAL_PATH to be empty. The help text of > BR2_TOOLCHAIN_EXTERNAL_PATH even documents it as a supported case: > > If empty, the compiler will be searched in $PATH. > > Commit 392b0a26f5fd8d3aedce7e0c15f9762a79312f01 ("toolchain-external: > default BR2_TOOLCHAIN_EXTERNAL_PATH to empty") even made that the > default saying "In addition, it in fact works correctly when it is > empty. In that case, the toolchain will be searched in PATH." > > A user has reported that commit > 8945ba49480a7885d104445ca855ef7681a374ff breaks his use-case: > > https://lore.kernel.org/buildroot/CADBnMvhgaozAgZgy3njckjL1i0U6bZ0fLrq-kdFF-qpGhFWgmw at mail.gmail.com/ > > Reported-by: Kristof Havasi > Signed-off-by: Thomas Petazzoni > --- > This should be backported to 2022.02.x > --- > toolchain/toolchain-external/pkg-toolchain-external.mk | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk > index c7f4175c9e..299b6008aa 100644 > --- a/toolchain/toolchain-external/pkg-toolchain-external.mk > +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk > @@ -69,12 +69,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) > else > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) > -ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) > -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) > -$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) > -endif > endif > -endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD > > ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) > ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 21:50:39 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:50:39 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/elf2flt: update to version 2021.08 In-Reply-To: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428215039.GH3624965@scaer> Thomas, All, On 2022-04-28 22:55 +0200, Thomas Petazzoni via buildroot spake thusly: > It contains several fixes and improvements compared to our current > version, and two of our patches have been accepted upstream. Most > notably, it fixes the issue we had in using elf2flt with recent > versions of binutils (upstream commit > ba379d08bb78c9300e84351c11080c26ddcc36b3). > > Patch 0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch > is upstream as of commit 1c9b454336eaf38f7d037917a3120fae04193fbe > > Patch 0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch is > upstream as of commit d7eb73163bcea31168c438fc132a0967ac172e3d > > The other two patches are refreshed to apply properly on 2021.08. > > Signed-off-by: Thomas Petazzoni Series of four patches applied to master, thanks. Regards, Yann E. MORIN. > --- > Changes since v1: > - Drop patch numbering, as pointed by Baruch > --- > ...> 0001-elf2flt-handle-binutils-2.34.patch} | 78 ++++---- > ...e-properly-when-called-with-a-name-d.patch | 79 -------- > ...2-elf2flt-add-riscv-64-bits-support.patch} | 38 ++-- > ...-add-new-relocation-types-for-xtensa.patch | 188 ------------------ > package/elf2flt/elf2flt.hash | 2 +- > package/elf2flt/elf2flt.mk | 4 +- > 6 files changed, 57 insertions(+), 332 deletions(-) > rename package/elf2flt/{0003-elf2flt-handle-binutils-2.34.patch => 0001-elf2flt-handle-binutils-2.34.patch} (89%) > delete mode 100644 package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch > rename package/elf2flt/{0004-elf2flt-add-riscv-64-bits-support.patch => 0002-elf2flt-add-riscv-64-bits-support.patch} (83%) > delete mode 100644 package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch > > diff --git a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > similarity index 89% > rename from package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch > rename to package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > index 16d5633385..4aa473c244 100644 > --- a/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch > +++ b/package/elf2flt/0001-elf2flt-handle-binutils-2.34.patch > @@ -1,4 +1,4 @@ > -From 26165906f85d82f0a4456f34b5c60fcaaef48535 Mon Sep 17 00:00:00 2001 > +From d78acba6510527aaa01a41eaf4c931f7a57e5f44 Mon Sep 17 00:00:00 2001 > From: Romain Naour > Date: Wed, 5 Feb 2020 10:31:32 +0100 > Subject: [PATCH] elf2flt: handle binutils >= 2.34 > @@ -30,7 +30,7 @@ Signed-off-by: Romain Naour > 2 files changed, 61 insertions(+), 36 deletions(-) > > diff --git a/configure.ac b/configure.ac > -index e82eb1d..cf7dea8 100644 > +index b7db2cb..fdc0876 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -229,6 +229,22 @@ AC_CHECK_FUNCS([ \ > @@ -57,7 +57,7 @@ index e82eb1d..cf7dea8 100644 > CFLAGS="-Wall $CFLAGS" > if test "$werror" = 1 ; then > diff --git a/elf2flt.c b/elf2flt.c > -index b93aecd..3bcf4fe 100644 > +index 7ac0617..ea6b5a1 100644 > --- a/elf2flt.c > +++ b/elf2flt.c > @@ -149,6 +149,17 @@ const char *elf2flt_progname; > @@ -100,7 +100,7 @@ index b93aecd..3bcf4fe 100644 > > if (verbose) > printf("SECTION: %s [%p]: flags=0x%x vma=0x%"PRIx32"\n", > -@@ -442,7 +451,7 @@ output_relocs ( > +@@ -443,7 +452,7 @@ output_relocs ( > continue; > if (verbose) > printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", > @@ -109,7 +109,7 @@ index b93aecd..3bcf4fe 100644 > if ((r->flags & SEC_RELOC) == 0) > continue; > relsize = bfd_get_reloc_upper_bound(rel_bfd, r); > -@@ -694,7 +703,7 @@ output_relocs ( > +@@ -695,7 +704,7 @@ output_relocs ( > case R_BFIN_RIMM16: > case R_BFIN_LUIMM16: > case R_BFIN_HUIMM16: > @@ -118,7 +118,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > > if (weak_und_symbol(sym_section->name, (*(q->sym_ptr_ptr)))) > -@@ -727,7 +736,7 @@ output_relocs ( > +@@ -728,7 +737,7 @@ output_relocs ( > break; > > case R_BFIN_BYTE4_DATA: > @@ -127,7 +127,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > > if (weak_und_symbol (sym_section->name, (*(q->sym_ptr_ptr)))) > -@@ -885,7 +894,7 @@ output_relocs ( > +@@ -886,7 +895,7 @@ output_relocs ( > #if defined(TARGET_m68k) > case R_68K_32: > relocation_needed = 1; > @@ -136,7 +136,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_68K_PC16: > -@@ -910,7 +919,7 @@ output_relocs ( > +@@ -911,7 +920,7 @@ output_relocs ( > q->address, sym_addr, > (*p)->howto->rightshift, > *(uint32_t *)r_mem); > @@ -145,7 +145,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_ARM_GOT32: > -@@ -938,7 +947,7 @@ output_relocs ( > +@@ -939,7 +948,7 @@ output_relocs ( > #ifdef TARGET_v850 > case R_V850_ABS32: > relocation_needed = 1; > @@ -154,7 +154,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_V850_ZDA_16_16_OFFSET: > -@@ -960,7 +969,7 @@ output_relocs ( > +@@ -961,7 +970,7 @@ output_relocs ( > sym_addr = (*(q->sym_ptr_ptr))->value; > q->address -= 1; > r_mem -= 1; /* tracks q->address */ > @@ -163,7 +163,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > sym_addr |= (*(unsigned char *)r_mem<<24); > break; > -@@ -973,7 +982,7 @@ output_relocs ( > +@@ -974,7 +983,7 @@ output_relocs ( > /* Absolute symbol done not relocation */ > relocation_needed = !bfd_is_abs_section(sym_section); > sym_addr = (*(q->sym_ptr_ptr))->value; > @@ -172,7 +172,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_H8_DIR32: > -@@ -986,7 +995,7 @@ output_relocs ( > +@@ -987,7 +996,7 @@ output_relocs ( > } > relocation_needed = 1; > sym_addr = (*(q->sym_ptr_ptr))->value; > @@ -181,7 +181,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_H8_PCREL16: > -@@ -1012,7 +1021,7 @@ output_relocs ( > +@@ -1013,7 +1022,7 @@ output_relocs ( > #ifdef TARGET_microblaze > case R_MICROBLAZE_64: > /* work out the relocation */ > @@ -190,7 +190,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > /* Write relocated pointer back */ > r_mem[2] = (sym_addr >> 24) & 0xff; > -@@ -1026,7 +1035,7 @@ output_relocs ( > +@@ -1027,7 +1036,7 @@ output_relocs ( > pflags = 0x80000000; > break; > case R_MICROBLAZE_32: > @@ -199,7 +199,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > relocation_needed = 1; > break; > -@@ -1058,7 +1067,7 @@ output_relocs ( > +@@ -1059,7 +1068,7 @@ output_relocs ( > case R_NIOS2_BFD_RELOC_32: > relocation_needed = 1; > pflags = (FLAT_NIOS2_R_32 << 28); > @@ -208,25 +208,25 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > /* modify target, in target order */ > *(unsigned long *)r_mem = htoniosl(sym_addr); > -@@ -1068,7 +1077,7 @@ output_relocs ( > +@@ -1069,7 +1078,7 @@ output_relocs ( > unsigned long exist_val; > relocation_needed = 1; > pflags = (FLAT_NIOS2_R_CALL26 << 28); > - sym_vma = bfd_section_vma(abs_bfd, sym_section); > + sym_vma = elf2flt_bfd_section_vma(sym_section); > sym_addr += sym_vma + q->addend; > - > + > /* modify target, in target order */ > -@@ -1099,7 +1108,7 @@ output_relocs ( > +@@ -1100,7 +1109,7 @@ output_relocs ( > ? FLAT_NIOS2_R_HIADJ_LO : FLAT_NIOS2_R_HI_LO; > pflags <<= 28; > - > + > - sym_vma = bfd_section_vma(abs_bfd, sym_section); > -+ sym_vma = elf2flt_bfd_section_vma(sym_section); > ++ sym_vma = elf2flt_bfd_section_vma(abs_bfd, sym_section); > sym_addr += sym_vma + q->addend; > > /* modify high 16 bits, in target order */ > -@@ -1132,7 +1141,7 @@ output_relocs ( > +@@ -1133,7 +1142,7 @@ output_relocs ( > goto NIOS2_RELOC_ERR; > } > /* _gp holds a absolute value, otherwise the ld cannot generate correct code */ > @@ -235,7 +235,7 @@ index b93aecd..3bcf4fe 100644 > //printf("sym=%x, %d, _gp=%x, %d\n", sym_addr+sym_vma, sym_addr+sym_vma, gp, gp); > sym_addr += sym_vma + q->addend; > sym_addr -= gp; > -@@ -1213,7 +1222,7 @@ NIOS2_RELOC_ERR: > +@@ -1214,7 +1223,7 @@ NIOS2_RELOC_ERR: > case R_SPARC_32: > case R_SPARC_UA32: > relocation_needed = 1; > @@ -244,7 +244,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_SPARC_PC22: > -@@ -1232,7 +1241,7 @@ NIOS2_RELOC_ERR: > +@@ -1233,7 +1242,7 @@ NIOS2_RELOC_ERR: > case R_SPARC_HI22: > relocation_needed = 1; > pflags = 0x80000000; > @@ -253,7 +253,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > sym_addr |= ( > htonl(*(uint32_t *)r_mem) > -@@ -1242,7 +1251,7 @@ NIOS2_RELOC_ERR: > +@@ -1243,7 +1252,7 @@ NIOS2_RELOC_ERR: > case R_SPARC_LO10: > relocation_needed = 1; > pflags = 0x40000000; > @@ -262,7 +262,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > sym_addr &= 0x000003ff; > sym_addr |= ( > -@@ -1256,7 +1265,7 @@ NIOS2_RELOC_ERR: > +@@ -1257,7 +1266,7 @@ NIOS2_RELOC_ERR: > #ifdef TARGET_sh > case R_SH_DIR32: > relocation_needed = 1; > @@ -271,7 +271,7 @@ index b93aecd..3bcf4fe 100644 > sym_addr += sym_vma + q->addend; > break; > case R_SH_REL32: > -@@ -1288,7 +1297,7 @@ NIOS2_RELOC_ERR: > +@@ -1289,7 +1298,7 @@ NIOS2_RELOC_ERR: > case R_E1_CONST31: > relocation_needed = 1; > DBG_E1("Handling Reloc \n"); > @@ -280,7 +280,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", > sec_vma, sym_addr, q->address); > sym_addr = sec_vma + sym_addr; > -@@ -1303,7 +1312,7 @@ NIOS2_RELOC_ERR: > +@@ -1304,7 +1313,7 @@ NIOS2_RELOC_ERR: > relocation_needed = 0; > DBG_E1("Handling Reloc \n"); > DBG_E1("DONT RELOCATE AT LOADING\n"); > @@ -289,7 +289,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", > sec_vma, sym_addr, q->address); > sym_addr = sec_vma + sym_addr; > -@@ -1330,7 +1339,7 @@ NIOS2_RELOC_ERR: > +@@ -1331,7 +1340,7 @@ NIOS2_RELOC_ERR: > relocation_needed = 0; > DBG_E1("Handling Reloc \n"); > DBG_E1("DONT RELOCATE AT LOADING\n"); > @@ -298,7 +298,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x], q->address : [0x%x]\n", > sec_vma, sym_addr, q->address); > sym_addr = sec_vma + sym_addr; > -@@ -1363,7 +1372,7 @@ NIOS2_RELOC_ERR: > +@@ -1364,7 +1373,7 @@ NIOS2_RELOC_ERR: > DBG_E1("Handling Reloc \n"); > DIS29_RELOCATION: > relocation_needed = 1; > @@ -307,7 +307,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%08x]\n", > sec_vma, sym_addr); > sym_addr = sec_vma + sym_addr; > -@@ -1380,7 +1389,7 @@ DIS29_RELOCATION: > +@@ -1381,7 +1390,7 @@ DIS29_RELOCATION: > relocation_needed = 0; > DBG_E1("Handling Reloc \n"); > DBG_E1("DONT RELOCATE AT LOADING\n"); > @@ -316,7 +316,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", > sec_vma, sym_addr); > sym_addr = sec_vma + sym_addr; > -@@ -1406,7 +1415,7 @@ DIS29_RELOCATION: > +@@ -1407,7 +1416,7 @@ DIS29_RELOCATION: > case R_E1_IMM32: > relocation_needed = 1; > DBG_E1("Handling Reloc \n"); > @@ -325,7 +325,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", > sec_vma, sym_addr); > sym_addr = sec_vma + sym_addr; > -@@ -1422,7 +1431,7 @@ DIS29_RELOCATION: > +@@ -1423,7 +1432,7 @@ DIS29_RELOCATION: > case R_E1_WORD: > relocation_needed = 1; > DBG_E1("Handling Reloc \n"); > @@ -334,7 +334,7 @@ index b93aecd..3bcf4fe 100644 > DBG_E1("sec_vma : [0x%x], sym_addr : [0x%x]\n", > sec_vma, sym_addr); > sym_addr = sec_vma + sym_addr; > -@@ -1449,7 +1458,7 @@ DIS29_RELOCATION: > +@@ -1450,7 +1459,7 @@ DIS29_RELOCATION: > } > > sprintf(&addstr[0], "+0x%lx", sym_addr - (*(q->sym_ptr_ptr))->value - > @@ -343,7 +343,7 @@ index b93aecd..3bcf4fe 100644 > > > /* > -@@ -1887,8 +1896,8 @@ int main(int argc, char *argv[]) > +@@ -1890,8 +1899,8 @@ int main(int argc, char *argv[]) > } else > continue; > > @@ -354,8 +354,8 @@ index b93aecd..3bcf4fe 100644 > > if (sec_vma < *vma) { > if (*len > 0) > -@@ -1913,7 +1922,7 @@ int main(int argc, char *argv[]) > - if (s->flags & SEC_CODE) > +@@ -1920,7 +1929,7 @@ int main(int argc, char *argv[]) > + (SEC_DATA | SEC_READONLY | SEC_RELOC))) > if (!bfd_get_section_contents(abs_bfd, s, > text + (s->vma - text_vma), 0, > - bfd_section_size(abs_bfd, s))) > @@ -363,8 +363,8 @@ index b93aecd..3bcf4fe 100644 > { > fatal("read error section %s", s->name); > } > -@@ -1939,7 +1948,7 @@ int main(int argc, char *argv[]) > - if (s->flags & SEC_DATA) > +@@ -1950,7 +1959,7 @@ int main(int argc, char *argv[]) > + (SEC_READONLY | SEC_RELOC))) > if (!bfd_get_section_contents(abs_bfd, s, > data + (s->vma - data_vma), 0, > - bfd_section_size(abs_bfd, s))) > @@ -373,5 +373,5 @@ index b93aecd..3bcf4fe 100644 > fatal("read error section %s", s->name); > } > -- > -2.25.4 > +2.35.1 > > diff --git a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch > deleted file mode 100644 > index a27c4913fb..0000000000 > --- a/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch > +++ /dev/null > @@ -1,79 +0,0 @@ > -From b31e9b1bff6832063816b972395179859d1d4619 Mon Sep 17 00:00:00 2001 > -From: Thomas Petazzoni > -Date: Sun, 13 Aug 2017 16:03:20 +0200 > -Subject: [PATCH] ld-elf2flt: behave properly when called with a name different > - from TARGET_ALIAS > - > -ld-elf2flt currently handles two cases: > - > - 1 It is called as the wrapper for -ld, generally > - installed in the bin/ directory of a toolchain. > - > - 2 It is called as the wrapper for "ld", generally installed in the > - TARGET_ALIAS/bin/ directory of a toolchain. > - > -Unfortunately, if for some reason it gets called using a FOOBAR-ld > -name that is different from -ld, it assumes it is in > -case (2), while it really is in case (1). Due to this, the path > -mangling logic doesn't work, and it doesn't find ld.real. > - > -This happens for example when the binary program in bin/ is named > -arm-buildroot-uclinux-uclibcgnueabi-ld, but also has a simpler symlink > -named arm-linux-ld. In this case, > -arm-buildroot-uclinux-uclibcgnueabi-ld is recognized by ld-elf2flt as > -containing TARGET_ALIAS, and therefore the proper logic to find > -ld.real is applied. However, when arm-linux-ld is used, ld-elf2flt > -doesn't find TARGET_ALIAS, and therefore assumes we're being called as > -TARGET_ALIAS/bin/ld.. and searches for a program called ld.real in > -bin/, which doesn't exist. > - > -See: > - > -$ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld > -/home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files > - > -$ ./output/host/bin/arm-linux-ld > -arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory > - > -$ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld > -/home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files > - > -This commit fixes that by inverting the logic: if we're being called > -as just "ld", then we assume it's the program in > -TARGET_ALIAS/bin/. Otherwise, we're called through some variant of > -TARGET-ld. > - > -Signed-off-by: Thomas Petazzoni > -Submitted-upstream: https://github.com/uclinux-dev/elf2flt/pull/8 > ---- > - ld-elf2flt.c | 10 +++++----- > - 1 file changed, 5 insertions(+), 5 deletions(-) > - > -diff --git a/ld-elf2flt.c b/ld-elf2flt.c > -index de39fe0..c187c2e 100644 > ---- a/ld-elf2flt.c > -+++ b/ld-elf2flt.c > -@@ -506,15 +506,15 @@ int main(int argc, char *argv[]) > - the host while those in /lib are for the target. > - Make bindir point to the bin dir for bin/-foo. > - Make tooldir point to the bin dir for /bin/foo. */ > -- if (streqn(elf2flt_progname, TARGET_ALIAS)) { > -- tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); > -+ if (streqn(elf2flt_progname, "ld")) { > -+ tmp = concat(argv0_dir, "../../bin", NULL); > - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { > -- tooldir = concat(tmp, "/", NULL); > -+ bindir = concat(tmp, "/", NULL); > - } > - } else { > -- tmp = concat(argv0_dir, "../../bin", NULL); > -+ tmp = concat(argv0_dir, "../" TARGET_ALIAS "/bin", NULL); > - if (stat(tmp, &buf) == 0 && S_ISDIR(buf.st_mode)) { > -- bindir = concat(tmp, "/", NULL); > -+ tooldir = concat(tmp, "/", NULL); > - } > - } > - > --- > -2.9.4 > - > diff --git a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch > similarity index 83% > rename from package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch > rename to package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch > index 4b00758446..c530bc020d 100644 > --- a/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch > +++ b/package/elf2flt/0002-elf2flt-add-riscv-64-bits-support.patch > @@ -1,4 +1,4 @@ > -From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 > +From 3879965dfda08a24e7d44ed76bbcc2f4a41df1fa Mon Sep 17 00:00:00 2001 > From: Damien Le Moal > Date: Wed, 9 Sep 2020 17:31:33 +0900 > Subject: [PATCH] elf2flt: add riscv 64-bits support > @@ -26,15 +26,15 @@ This patch is based on earlier work by Christoph Hellwig . > Signed-off-by: Damien Le Moal > --- > elf2flt.c | 23 +++++++++++++++++++++++ > - elf2flt.ld.in | 9 +++++---- > + elf2flt.ld.in | 1 + > ld-elf2flt.c | 16 ++++++++++++++++ > - 3 files changed, 44 insertions(+), 4 deletions(-) > + 3 files changed, 40 insertions(+) > > diff --git a/elf2flt.c b/elf2flt.c > -index f87f1fc..dbce467 100644 > +index ea6b5a1..7100c20 100644 > --- a/elf2flt.c > +++ b/elf2flt.c > -@@ -80,6 +80,8 @@ const char *elf2flt_progname; > +@@ -81,6 +81,8 @@ const char *elf2flt_progname; > #include > #elif defined(TARGET_xtensa) > #include > @@ -43,7 +43,7 @@ index f87f1fc..dbce467 100644 > #endif > > #if defined(__MINGW32__) > -@@ -122,6 +124,8 @@ const char *elf2flt_progname; > +@@ -123,6 +125,8 @@ const char *elf2flt_progname; > #define ARCH "nios2" > #elif defined(TARGET_xtensa) > #define ARCH "xtensa" > @@ -52,7 +52,7 @@ index f87f1fc..dbce467 100644 > #else > #error "Don't know how to support your CPU architecture??" > #endif > -@@ -797,6 +801,16 @@ output_relocs ( > +@@ -821,6 +825,16 @@ output_relocs ( > goto good_32bit_resolved_reloc; > default: > goto bad_resolved_reloc; > @@ -69,7 +69,7 @@ index f87f1fc..dbce467 100644 > #else > default: > /* The default is to assume that the > -@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) > +@@ -1841,6 +1855,15 @@ int main(int argc, char *argv[]) > if (!load_to_ram && !pfile) > load_to_ram = 1; > > @@ -86,27 +86,19 @@ index f87f1fc..dbce467 100644 > > if (pfile) { > diff --git a/elf2flt.ld.in b/elf2flt.ld.in > -index ec1fe6f..c0c44b8 100644 > +index 0df999d..f1eed1f 100644 > --- a/elf2flt.ld.in > +++ b/elf2flt.ld.in > -@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) > +@@ -109,6 +109,7 @@ W_RODAT: *(.gnu.linkonce.r*) > . = ALIGN(0x20) ; > LONG(-1) > . = ALIGN(0x20) ; > --R_RODAT *(.rodata) > --R_RODAT *(.rodata1) > --R_RODAT *(.rodata.*) > --R_RODAT *(.gnu.linkonce.r*) > +RISCV_GP: __global_pointer$ = . + 0x800 ; > -+R_RODAT *(.rodata) > -+R_RODAT *(.rodata1) > -+R_RODAT *(.rodata.*) > -+R_RODAT *(.gnu.linkonce.r*) > - *(.data) > - *(.data1) > - *(.data.*) > + R_RODAT: *(.rodata) > + R_RODAT: *(.rodata1) > + R_RODAT: *(.rodata.*) > diff --git a/ld-elf2flt.c b/ld-elf2flt.c > -index e5de506..31b565f 100644 > +index 7cb02d5..1a503dd 100644 > --- a/ld-elf2flt.c > +++ b/ld-elf2flt.c > @@ -324,6 +324,22 @@ static int do_final_link(void) > @@ -133,5 +125,5 @@ index e5de506..31b565f 100644 > if (!linker_script) > linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); > -- > -2.31.1 > +2.35.1 > > diff --git a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch > deleted file mode 100644 > index 953bd79ccf..0000000000 > --- a/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch > +++ /dev/null > @@ -1,188 +0,0 @@ > -From d7eb73163bcea31168c438fc132a0967ac172e3d Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Thu, 7 May 2020 21:11:43 -0700 > -Subject: [PATCH] elf2flt.c: add new relocation types for xtensa > - > -Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with > -the same properties as the existing types R_XTENSA_DIFF{8,16,32}. > -Add them to the list of ignored relocation types. > - > -This fixes the following error when invoking elf2flt on xtensa binaries > -built with the recent binutils: > - > - ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context > - > -Reported-by: Romain Naour > -Signed-off-by: Max Filippov > -Backported from: d7eb73163bcea31168c438fc132a0967ac172e3d > ---- > - Makefile.in | 3 ++- > - configure | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > - configure.ac | 14 ++++++++++++ > - elf2flt.c | 8 +++++++ > - 4 files changed, 88 insertions(+), 1 deletion(-) > - > -diff --git a/Makefile.in b/Makefile.in > -index 52b3347d7f43..0529c7f0a25a 100644 > ---- a/Makefile.in > -+++ b/Makefile.in > -@@ -30,7 +30,8 @@ DEFS = @DEFS@ \ > - -DNO_GOT_CHECK=@got_check@ \ > - -DUSE_EMIT_RELOCS=@emit_relocs@ \ > - -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \ > -- -DALWAYS_RELOC_TEXT=@always_reloc_text@ > -+ -DALWAYS_RELOC_TEXT=@always_reloc_text@ \ > -+ -DHAVE_BFD_XTENSA_PDIFF_RELOCS=@HAVE_BFD_XTENSA_PDIFF_RELOCS@ > - EXEEXT = @EXEEXT@ > - OBJEXT = @OBJEXT@ > - > -diff --git a/configure b/configure > -index bb8e33f9cb28..bca38c34247e 100755 > ---- a/configure > -+++ b/configure > -@@ -621,6 +621,7 @@ ac_includes_default="\ > - > - ac_subst_vars='LTLIBOBJS > - LIBOBJS > -+HAVE_BFD_XTENSA_PDIFF_RELOCS > - SYMBOL_PREFIX > - always_reloc_text > - emit_ctor_dtor > -@@ -1729,6 +1730,52 @@ fi > - > - } # ac_fn_c_try_link > - > -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES > -+# --------------------------------------------- > -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR > -+# accordingly. > -+ac_fn_c_check_decl () > -+{ > -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack > -+ as_decl_name=`echo $2|sed 's/ *(.*//'` > -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` > -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 > -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } > -+if eval \${$3+:} false; then : > -+ $as_echo_n "(cached) " >&6 > -+else > -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext > -+/* end confdefs.h. */ > -+$4 > -+int > -+main () > -+{ > -+#ifndef $as_decl_name > -+#ifdef __cplusplus > -+ (void) $as_decl_use; > -+#else > -+ (void) $as_decl_name; > -+#endif > -+#endif > -+ > -+ ; > -+ return 0; > -+} > -+_ACEOF > -+if ac_fn_c_try_compile "$LINENO"; then : > -+ eval "$3=yes" > -+else > -+ eval "$3=no" > -+fi > -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext > -+fi > -+eval ac_res=\$$3 > -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 > -+$as_echo "$ac_res" >&6; } > -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno > -+ > -+} # ac_fn_c_check_decl > -+ > - # ac_fn_c_check_func LINENO FUNC VAR > - # ---------------------------------- > - # Tests whether FUNC exists, setting the cache variable VAR accordingly > -@@ -4272,6 +4319,22 @@ $as_echo "#define const /**/" >>confdefs.h > - fi > - > - > -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 > -+case $target in > -+ xtensa*) > -+ OLD_CPPFLAGS=$CPPFLAGS > -+ CPPFLAGS="-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS" > -+ ac_fn_c_check_decl "$LINENO" "R_XTENSA_PDIFF8" "ac_cv_have_decl_R_XTENSA_PDIFF8" "#include \"bfd.h\" > -+ #include \"elf/xtensa.h\" > -+" > -+if test "x$ac_cv_have_decl_R_XTENSA_PDIFF8" = xyes; then : > -+ HAVE_BFD_XTENSA_PDIFF_RELOCS=1 > -+fi > -+ > -+ CPPFLAGS=$OLD_CPPFLAGS > -+ ;; > -+esac > -+ > - for ac_func in vprintf > - do : > - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" > -@@ -4333,6 +4396,7 @@ fi > - > - > - > -+ > - ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld" > - > - cat >confcache <<\_ACEOF > -diff --git a/configure.ac b/configure.ac > -index d6b4119eb18a..19969b1045f6 100644 > ---- a/configure.ac > -+++ b/configure.ac > -@@ -202,6 +202,19 @@ AC_CHECK_HEADERS(fcntl.h unistd.h bfd.h) > - dnl Checks for typedefs, structures, and compiler characteristics. > - AC_C_CONST > - > -+HAVE_BFD_XTENSA_PDIFF_RELOCS=0 > -+case $target in > -+ xtensa*) > -+ AS_VAR_COPY([OLD_CPPFLAGS], [CPPFLAGS]) > -+ AS_VAR_SET([CPPFLAGS], ["-I$bfd_include_dir -I$binutils_include_dir $CPPFLAGS"]) > -+ AC_CHECK_DECL([R_XTENSA_PDIFF8], > -+ [HAVE_BFD_XTENSA_PDIFF_RELOCS=1],, > -+ [#include "bfd.h" > -+ #include "elf/xtensa.h"]) > -+ AS_VAR_COPY([CPPFLAGS], [OLD_CPPFLAGS]) > -+ ;; > -+esac > -+ > - dnl Checks for library functions. > - AC_FUNC_VPRINTF > - > -@@ -235,6 +248,7 @@ AC_SUBST(emit_relocs) > - AC_SUBST(emit_ctor_dtor) > - AC_SUBST(always_reloc_text) > - AC_SUBST(SYMBOL_PREFIX) > -+AC_SUBST(HAVE_BFD_XTENSA_PDIFF_RELOCS) > - > - AC_OUTPUT(ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld) > - > -diff --git a/elf2flt.c b/elf2flt.c > -index b7c4a490df02..961534973f56 100644 > ---- a/elf2flt.c > -+++ b/elf2flt.c > -@@ -776,6 +776,14 @@ output_relocs ( > - case R_XTENSA_DIFF8: > - case R_XTENSA_DIFF16: > - case R_XTENSA_DIFF32: > -+#if HAVE_BFD_XTENSA_PDIFF_RELOCS > -+ case R_XTENSA_PDIFF8: > -+ case R_XTENSA_PDIFF16: > -+ case R_XTENSA_PDIFF32: > -+ case R_XTENSA_NDIFF8: > -+ case R_XTENSA_NDIFF16: > -+ case R_XTENSA_NDIFF32: > -+#endif > - case R_XTENSA_32_PCREL: > - continue; > - case R_XTENSA_32: > --- > -2.20.1 > - > diff --git a/package/elf2flt/elf2flt.hash b/package/elf2flt/elf2flt.hash > index c4b0697fcd..c576f65cdb 100644 > --- a/package/elf2flt/elf2flt.hash > +++ b/package/elf2flt/elf2flt.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 d63baae6fe0d7fcc50a635be151a6f9e1e83dba30568046a869a395c15bf6284 elf2flt-7e33f28df198c46764021ed14408bd262751e148.tar.gz > +sha256 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9 elf2flt-2021.08.tar.gz > sha256 f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6 LICENSE.TXT > diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk > index 3239af1b9a..11cacaf9e0 100644 > --- a/package/elf2flt/elf2flt.mk > +++ b/package/elf2flt/elf2flt.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -ELF2FLT_VERSION = 7e33f28df198c46764021ed14408bd262751e148 > -ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION)) > +ELF2FLT_VERSION = 2021.08 > +ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION)) > ELF2FLT_LICENSE = GPL-2.0+ > ELF2FLT_LICENSE_FILES = LICENSE.TXT > > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Apr 28 21:52:20 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 28 Apr 2022 23:52:20 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/binutils: drop version 2.32 In-Reply-To: <20220428205548.524402-4-thomas.petazzoni@bootlin.com> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> <20220428205548.524402-4-thomas.petazzoni@bootlin.com> Message-ID: <20220428215220.GI3624965@scaer> Thomas, All, On 2022-04-28 22:55 +0200, Thomas Petazzoni via buildroot spake thusly: > Now that recent versions of binutils work with FLAT binaries, we can > drop the old 2.32 version, which was kept only to keep support FLAT > binaries. I was considering on not applying that one, so we could have a fallback in case there were runtime issues reported with newer binutils (I could only build-test your series, I lack a noMMU target). But if that happens to be the case, we can revert this patch quite easily. so, applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Thomas Petazzoni > --- > Changes since v1: > - Drop binutils 2.32 hash in binutils.hash > --- > Config.in.legacy | 6 + > package/binutils/2.32/0001-sh-conf.patch | 48 -- > .../2.32/0002-poison-system-directories.patch | 306 ----------- > ...hrink_dynamic_reloc_sections-for-exp.patch | 41 -- > ...s-const16-for-xtensa-loop-relaxation.patch | 294 ---------- > ...t-.literal_position-at-section-start.patch | 96 ---- > ...ct-value-in-PLT-GOT-entries-causing-.patch | 46 -- > .../0007-bfd-xtensa-fix-PR-ld-25630.patch | 37 -- > .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 --------------- > ...TENSA_NDIFF-handling-for-PR-ld-25861.patch | 128 ----- > ...ith-plt-link-failure-for-local-calls.patch | 59 --- > ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 --------- > ...K_GOT16-overflow-failures-in-presenc.patch | 61 --- > ...ge-plt_relocs-when-generating-plt-en.patch | 500 ------------------ > ...or1k-fix-building-with-gcc-version-5.patch | 50 -- > ...tive-relocation-against-dynamic-on-P.patch | 59 --- > ...K_GOT16-signed-overflow-by-using-spe.patch | 75 --- > package/binutils/Config.in.host | 5 - > package/binutils/binutils.hash | 1 - > 19 files changed, 6 insertions(+), 2494 deletions(-) > delete mode 100644 package/binutils/2.32/0001-sh-conf.patch > delete mode 100644 package/binutils/2.32/0002-poison-system-directories.patch > delete mode 100644 package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch > delete mode 100644 package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch > delete mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch > delete mode 100644 package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch > delete mode 100644 package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch > delete mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch > delete mode 100644 package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch > delete mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch > delete mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch > delete mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch > delete mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch > delete mode 100644 package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch > delete mode 100644 package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch > delete mode 100644 package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch > > diff --git a/Config.in.legacy b/Config.in.legacy > index 387653f45d..6d2c82ab7f 100644 > --- a/Config.in.legacy > +++ b/Config.in.legacy > @@ -146,6 +146,12 @@ endif > > comment "Legacy options removed in 2022.05" > > +config BR2_BINUTILS_VERSION_2_32_X > + bool "binutils 2.32.x has been removed" > + select BR2_LEGACY > + help > + binutils 2.32 has been removed, use a newer version. > + > config BR2_sh2a > bool "sh2a architecture support removed" > select BR2_LEGACY > diff --git a/package/binutils/2.32/0001-sh-conf.patch b/package/binutils/2.32/0001-sh-conf.patch > deleted file mode 100644 > index fff91ae35c..0000000000 > --- a/package/binutils/2.32/0001-sh-conf.patch > +++ /dev/null > @@ -1,48 +0,0 @@ > -From 98b2acf2bd3a527d114a9f8931083c2617a2daa9 Mon Sep 17 00:00:00 2001 > -From: Romain Naour > -Date: Fri, 25 Dec 2015 11:38:13 +0100 > -Subject: [PATCH] sh-conf > - > -Likewise, binutils has no idea about any of these new targets either, so we > -fix that up too.. now we're able to actually build a real toolchain for > -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more > -inept targets than that one, really. Go look, I promise). > - > -[Romain: rebase on top of 2.32] > -Signed-off-by: Romain Naour > -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] > -Signed-off-by: Thomas Petazzoni > ---- > - configure | 2 +- > - configure.ac | 2 +- > - 2 files changed, 2 insertions(+), 2 deletions(-) > - > -diff --git a/configure b/configure > -index 37476459612..66fbc19f9ff 100755 > ---- a/configure > -+++ b/configure > -@@ -3861,7 +3861,7 @@ case "${target}" in > - nvptx*-*-*) > - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" > - ;; > -- sh-*-*) > -+ sh*-*-*) > - case "${target}" in > - sh*-*-elf) > - ;; > -diff --git a/configure.ac b/configure.ac > -index 46501c28826..6c731930884 100644 > ---- a/configure.ac > -+++ b/configure.ac > -@@ -1158,7 +1158,7 @@ case "${target}" in > - nvptx*-*-*) > - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" > - ;; > -- sh-*-*) > -+ sh*-*-*) > - case "${target}" in > - sh*-*-elf) > - ;; > --- > -2.14.5 > - > diff --git a/package/binutils/2.32/0002-poison-system-directories.patch b/package/binutils/2.32/0002-poison-system-directories.patch > deleted file mode 100644 > index 98f41e87f3..0000000000 > --- a/package/binutils/2.32/0002-poison-system-directories.patch > +++ /dev/null > @@ -1,306 +0,0 @@ > -From f559402ea868d370ddf25089c68cda2600db3bfa Mon Sep 17 00:00:00 2001 > -From: Romain Naour > -Date: Fri, 25 Dec 2015 11:45:38 +0100 > -Subject: [PATCH] poison-system-directories > - > -Patch adapted to binutils 2.23.2 and extended to use > -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. > - > -[Romain: rebase on top of 2.32] > -Signed-off-by: Romain Naour > -[Gustavo: adapt to binutils 2.25] > -Signed-off-by: Thomas Petazzoni > -Signed-off-by: Gustavo Zacarias > - > -Upstream-Status: Inappropriate [distribution: codesourcery] > - > -Patch originally created by Mark Hatle, forward-ported to > -binutils 2.21 by Scott Garman. > - > -purpose: warn for uses of system directories when cross linking > - > -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 > - > -2008-07-02 Joseph Myers > - > - ld/ > - * ld.h (args_type): Add error_poison_system_directories. > - * ld.texinfo (--error-poison-system-directories): Document. > - * ldfile.c (ldfile_add_library_path): Check > - command_line.error_poison_system_directories. > - * ldmain.c (main): Initialize > - command_line.error_poison_system_directories. > - * lexsup.c (enum option_values): Add > - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. > - (ld_options): Add --error-poison-system-directories. > - (parse_args): Handle new option. > - > -2007-06-13 Joseph Myers > - > - ld/ > - * config.in: Regenerate. > - * ld.h (args_type): Add poison_system_directories. > - * ld.texinfo (--no-poison-system-directories): Document. > - * ldfile.c (ldfile_add_library_path): Check > - command_line.poison_system_directories. > - * ldmain.c (main): Initialize > - command_line.poison_system_directories. > - * lexsup.c (enum option_values): Add > - OPTION_NO_POISON_SYSTEM_DIRECTORIES. > - (ld_options): Add --no-poison-system-directories. > - (parse_args): Handle new option. > - > -2007-04-20 Joseph Myers > - > - Merge from Sourcery G++ binutils 2.17: > - > - 2007-03-20 Joseph Myers > - Based on patch by Mark Hatle . > - ld/ > - * configure.ac (--enable-poison-system-directories): New option. > - * configure, config.in: Regenerate. > - * ldfile.c (ldfile_add_library_path): If > - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, > - /usr/lib, /usr/local/lib or /usr/X11R6/lib. > - > -Signed-off-by: Mark Hatle > -Signed-off-by: Scott Garman > ---- > - ld/config.in | 3 +++ > - ld/configure | 14 ++++++++++++++ > - ld/configure.ac | 10 ++++++++++ > - ld/ld.h | 8 ++++++++ > - ld/ld.texi | 12 ++++++++++++ > - ld/ldfile.c | 17 +++++++++++++++++ > - ld/ldlex.h | 2 ++ > - ld/ldmain.c | 2 ++ > - ld/lexsup.c | 21 +++++++++++++++++++++ > - 9 files changed, 89 insertions(+) > - > -diff --git a/ld/config.in b/ld/config.in > -index d93c9b08300..5da2742beac 100644 > ---- a/ld/config.in > -+++ b/ld/config.in > -@@ -31,6 +31,9 @@ > - language is requested. */ > - #undef ENABLE_NLS > - > -+/* Define to warn for use of native system library directories */ > -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES > -+ > - /* Additional extension a shared object might have. */ > - #undef EXTRA_SHLIB_EXTENSION > - > -diff --git a/ld/configure b/ld/configure > -index 18ada7808f5..7e7d2f97809 100755 > ---- a/ld/configure > -+++ b/ld/configure > -@@ -822,6 +822,7 @@ with_lib_path > - enable_targets > - enable_64_bit_bfd > - with_sysroot > -+enable_poison_system_directories > - enable_gold > - enable_got > - enable_compressed_debug_sections > -@@ -1486,6 +1487,8 @@ Optional Features: > - --disable-largefile omit support for large files > - --enable-targets alternative target configurations > - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) > -+ --enable-poison-system-directories > -+ warn for use of native system library directories > - --enable-gold[=ARG] build gold [ARG={default,yes,no}] > - --enable-got= GOT handling scheme (target, single, negative, > - multigot) > -@@ -15803,7 +15806,18 @@ else > - fi > - > - > -+# Check whether --enable-poison-system-directories was given. > -+if test "${enable_poison_system_directories+set}" = set; then : > -+ enableval=$enable_poison_system_directories; > -+else > -+ enable_poison_system_directories=no > -+fi > -+ > -+if test "x${enable_poison_system_directories}" = "xyes"; then > - > -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h > -+ > -+fi > - > - # Check whether --enable-got was given. > - if test "${enable_got+set}" = set; then : > -diff --git a/ld/configure.ac b/ld/configure.ac > -index d335f210917..7f692d93873 100644 > ---- a/ld/configure.ac > -+++ b/ld/configure.ac > -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) > - AC_SUBST(TARGET_SYSTEM_ROOT) > - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) > - > -+AC_ARG_ENABLE([poison-system-directories], > -+ AS_HELP_STRING([--enable-poison-system-directories], > -+ [warn for use of native system library directories]),, > -+ [enable_poison_system_directories=no]) > -+if test "x${enable_poison_system_directories}" = "xyes"; then > -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], > -+ [1], > -+ [Define to warn for use of native system library directories]) > -+fi > -+ > - dnl Use --enable-gold to decide if this linker should be the default. > - dnl "install_as_default" is set to false if gold is the default linker. > - dnl "installed_linker" is the installed BFD linker name. > -diff --git a/ld/ld.h b/ld/ld.h > -index b97d977f37b..f3bbd2d55d4 100644 > ---- a/ld/ld.h > -+++ b/ld/ld.h > -@@ -180,6 +180,14 @@ typedef struct > - in the linker script. */ > - bfd_boolean force_group_allocation; > - > -+ /* If TRUE (the default) warn for uses of system directories when > -+ cross linking. */ > -+ bfd_boolean poison_system_directories; > -+ > -+ /* If TRUE (default FALSE) give an error for uses of system > -+ directories when cross linking instead of a warning. */ > -+ bfd_boolean error_poison_system_directories; > -+ > - /* Big or little endian as set on command line. */ > - enum endian_enum endian; > - > -diff --git a/ld/ld.texi b/ld/ld.texi > -index 5179af3e0e1..f78bf746822 100644 > ---- a/ld/ld.texi > -+++ b/ld/ld.texi > -@@ -2524,6 +2524,18 @@ string identifying the original linked file does not change. > - > - Passing @code{none} for @var{style} disables the setting from any > - @code{--build-id} options earlier on the command line. > -+ > -+ at kindex --no-poison-system-directories > -+ at item --no-poison-system-directories > -+Do not warn for @option{-L} options using system directories such as > -+ at file{/usr/lib} when cross linking. This option is intended for use > -+in chroot environments when such directories contain the correct > -+libraries for the target system rather than the host. > -+ > -+ at kindex --error-poison-system-directories > -+ at item --error-poison-system-directories > -+Give an error instead of a warning for @option{-L} options using > -+system directories when cross linking. > - @end table > - > - @c man end > -diff --git a/ld/ldfile.c b/ld/ldfile.c > -index fcadc08c73f..63e295ce8ae 100644 > ---- a/ld/ldfile.c > -+++ b/ld/ldfile.c > -@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) > - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); > - else > - new_dirs->name = xstrdup (name); > -+ > -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES > -+ if (command_line.poison_system_directories > -+ && ((!strncmp (name, "/lib", 4)) > -+ || (!strncmp (name, "/usr/lib", 8)) > -+ || (!strncmp (name, "/usr/local/lib", 14)) > -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) > -+ { > -+ if (command_line.error_poison_system_directories) > -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " > -+ "cross-compilation\n"), name); > -+ else > -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " > -+ "cross-compilation\n"), name); > -+ } > -+#endif > -+ > - } > - > - /* Try to open a BFD for a lang_input_statement. */ > -diff --git a/ld/ldlex.h b/ld/ldlex.h > -index 32853debe45..8135361c498 100644 > ---- a/ld/ldlex.h > -+++ b/ld/ldlex.h > -@@ -148,6 +148,8 @@ enum option_values > - OPTION_REQUIRE_DEFINED_SYMBOL, > - OPTION_ORPHAN_HANDLING, > - OPTION_FORCE_GROUP_ALLOCATION, > -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, > -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, > - }; > - > - /* The initial parser states. */ > -diff --git a/ld/ldmain.c b/ld/ldmain.c > -index 77cdbd0dd29..725512f1260 100644 > ---- a/ld/ldmain.c > -+++ b/ld/ldmain.c > -@@ -269,6 +269,8 @@ main (int argc, char **argv) > - command_line.warn_mismatch = TRUE; > - command_line.warn_search_mismatch = TRUE; > - command_line.check_section_addresses = -1; > -+ command_line.poison_system_directories = TRUE; > -+ command_line.error_poison_system_directories = FALSE; > - > - /* We initialize DEMANGLING based on the environment variable > - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the > -diff --git a/ld/lexsup.c b/ld/lexsup.c > -index 88e85c73f49..be4cd492d14 100644 > ---- a/ld/lexsup.c > -+++ b/ld/lexsup.c > -@@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = > - { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, > - '\0', N_("=MODE"), N_("Control how orphan sections are handled."), > - TWO_DASHES }, > -+ { {"no-poison-system-directories", no_argument, NULL, > -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, > -+ '\0', NULL, N_("Do not warn for -L options using system directories"), > -+ TWO_DASHES }, > -+ { {"error-poison-system-directories", no_argument, NULL, > -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, > -+ '\0', NULL, N_("Give an error for -L options using system directories"), > -+ TWO_DASHES }, > - }; > - > - #define OPTION_COUNT ARRAY_SIZE (ld_options) > -@@ -555,6 +563,7 @@ parse_args (unsigned argc, char **argv) > - int ingroup = 0; > - char *default_dirlist = NULL; > - char *shortopts; > -+ char *BR_paranoid_env; > - struct option *longopts; > - struct option *really_longopts; > - int last_optind; > -@@ -1543,6 +1552,14 @@ parse_args (unsigned argc, char **argv) > - } > - break; > - > -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: > -+ command_line.poison_system_directories = FALSE; > -+ break; > -+ > -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: > -+ command_line.error_poison_system_directories = TRUE; > -+ break; > -+ > - case OPTION_PUSH_STATE: > - input_flags.pushed = xmemdup (&input_flags, > - sizeof (input_flags), > -@@ -1586,6 +1603,10 @@ parse_args (unsigned argc, char **argv) > - command_line.soname = NULL; > - } > - > -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); > -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) > -+ command_line.error_poison_system_directories = TRUE; > -+ > - while (ingroup) > - { > - lang_leave_group (); > --- > -2.14.5 > - > diff --git a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch > deleted file mode 100644 > index b80e1fa7ce..0000000000 > --- a/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch > +++ /dev/null > @@ -1,41 +0,0 @@ > -From 278989f23735aa501be1052e085540c75c126dbb Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Thu, 28 Mar 2019 17:03:57 -0700 > -Subject: [PATCH] bfd: xtensa: fix shrink_dynamic_reloc_sections for > - export-dynamic > - > -shrink_dynamic_reloc_sections must remove PLT entry that was created for > -an undefined weak symbol in the presence of --export-dynamic option when > -relaxation coalesces literals pointing to that symbol. This fixes the > -following assertion: > - > - ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at > - elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections > - > -2019-03-28 Max Filippov > -bfd/ > - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add > - info->export_dynamic to the conditional. > - > -Signed-off-by: Max Filippov > ---- > - bfd/elf32-xtensa.c | 3 ++- > - 1 file changed, 2 insertions(+), 1 deletion(-) > - > -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c > -index c3df3d6db756..37ea200eea74 100644 > ---- a/bfd/elf32-xtensa.c > -+++ b/bfd/elf32-xtensa.c > -@@ -10083,7 +10083,8 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, > - && (input_section->flags & SEC_ALLOC) != 0 > - && (dynamic_symbol || bfd_link_pic (info)) > - && (!h || h->root.type != bfd_link_hash_undefweak > -- || (dynamic_symbol && bfd_link_dll (info)))) > -+ || (dynamic_symbol > -+ && (bfd_link_dll (info) || info->export_dynamic)))) > - { > - asection *srel; > - bfd_boolean is_plt = FALSE; > --- > -2.11.0 > - > diff --git a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch > deleted file mode 100644 > index ed617bcaf7..0000000000 > --- a/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch > +++ /dev/null > @@ -1,294 +0,0 @@ > -From 0dbdfb7918d0b0cfcb8883b24c1291574bf5bb7c Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Tue, 2 Apr 2019 14:32:42 -0700 > -Subject: [PATCH] gas: use literals/const16 for xtensa loop relaxation > - > -Loop opcode relaxation that uses addi/addmi doesn't work well with other > -relaxations that may cause code movement. Instead of encoding fixed loop > -end offset in the relaxed sequence use l32r or a pair of const16 to load > -loop end address. This way the address of the loop end gets a relocation > -record and it gets updated appropriately. > - > -gas/ > -2019-04-02 Max Filippov > - > - * config/tc-xtensa.c (convert_frag_immed): Drop > - convert_frag_immed_finish_loop invocation. > - (convert_frag_immed_finish_loop): Drop declaration and > - definition. > - * config/xtensa-relax.c (widen_spec_list): Replace loop > - widening that uses addi/addmi with widening that uses l32r > - and const16. > - > -Signed-off-by: Max Filippov > ---- > - gas/config/tc-xtensa.c | 120 ---------------------------------------------- > - gas/config/xtensa-relax.c | 77 ++++++++++++++++++++--------- > - 2 files changed, 55 insertions(+), 142 deletions(-) > - > -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c > -index 3bdbbc931cfc..0cc06361cf6f 100644 > ---- a/gas/config/tc-xtensa.c > -+++ b/gas/config/tc-xtensa.c > -@@ -10668,7 +10668,6 @@ convert_frag_fill_nop (fragS *fragP) > - static fixS *fix_new_exp_in_seg > - (segT, subsegT, fragS *, int, int, expressionS *, int, > - bfd_reloc_code_real_type); > --static void convert_frag_immed_finish_loop (segT, fragS *, TInsn *); > - > - static void > - convert_frag_immed (segT segP, > -@@ -10910,9 +10909,6 @@ convert_frag_immed (segT segP, > - } > - } > - > -- if (expanded && xtensa_opcode_is_loop (isa, orig_tinsn.opcode) == 1) > -- convert_frag_immed_finish_loop (segP, fragP, &orig_tinsn); > -- > - if (expanded && is_direct_call_opcode (orig_tinsn.opcode)) > - { > - /* Add an expansion note on the expanded instruction. */ > -@@ -10949,122 +10945,6 @@ fix_new_exp_in_seg (segT new_seg, > - } > - > - > --/* Relax a loop instruction so that it can span loop >256 bytes. > -- > -- loop as, .L1 > -- .L0: > -- rsr as, LEND > -- wsr as, LBEG > -- addi as, as, lo8 (label-.L1) > -- addmi as, as, mid8 (label-.L1) > -- wsr as, LEND > -- isync > -- rsr as, LCOUNT > -- addi as, as, 1 > -- .L1: > -- <> > -- label: > --*/ > -- > --static void > --convert_frag_immed_finish_loop (segT segP, fragS *fragP, TInsn *tinsn) > --{ > -- TInsn loop_insn; > -- TInsn addi_insn; > -- TInsn addmi_insn; > -- unsigned long target; > -- static xtensa_insnbuf insnbuf = NULL; > -- unsigned int loop_length, loop_length_hi, loop_length_lo; > -- xtensa_isa isa = xtensa_default_isa; > -- addressT loop_offset; > -- addressT addi_offset = 9; > -- addressT addmi_offset = 12; > -- fragS *next_fragP; > -- int target_count; > -- > -- if (!insnbuf) > -- insnbuf = xtensa_insnbuf_alloc (isa); > -- > -- /* Get the loop offset. */ > -- loop_offset = get_expanded_loop_offset (tinsn->opcode); > -- > -- /* Validate that there really is a LOOP at the loop_offset. Because > -- loops are not bundleable, we can assume that the instruction will be > -- in slot 0. */ > -- tinsn_from_chars (&loop_insn, fragP->fr_opcode + loop_offset, 0); > -- tinsn_immed_from_frag (&loop_insn, fragP, 0); > -- > -- gas_assert (xtensa_opcode_is_loop (isa, loop_insn.opcode) == 1); > -- addi_offset += loop_offset; > -- addmi_offset += loop_offset; > -- > -- gas_assert (tinsn->ntok == 2); > -- if (tinsn->tok[1].X_op == O_constant) > -- target = tinsn->tok[1].X_add_number; > -- else if (tinsn->tok[1].X_op == O_symbol) > -- { > -- /* Find the fragment. */ > -- symbolS *sym = tinsn->tok[1].X_add_symbol; > -- gas_assert (S_GET_SEGMENT (sym) == segP > -- || S_GET_SEGMENT (sym) == absolute_section); > -- target = (S_GET_VALUE (sym) + tinsn->tok[1].X_add_number); > -- } > -- else > -- { > -- as_bad (_("invalid expression evaluation type %d"), tinsn->tok[1].X_op); > -- target = 0; > -- } > -- > -- loop_length = target - (fragP->fr_address + fragP->fr_fix); > -- loop_length_hi = loop_length & ~0x0ff; > -- loop_length_lo = loop_length & 0x0ff; > -- if (loop_length_lo >= 128) > -- { > -- loop_length_lo -= 256; > -- loop_length_hi += 256; > -- } > -- > -- /* Because addmi sign-extends the immediate, 'loop_length_hi' can be at most > -- 32512. If the loop is larger than that, then we just fail. */ > -- if (loop_length_hi > 32512) > -- as_bad_where (fragP->fr_file, fragP->fr_line, > -- _("loop too long for LOOP instruction")); > -- > -- tinsn_from_chars (&addi_insn, fragP->fr_opcode + addi_offset, 0); > -- gas_assert (addi_insn.opcode == xtensa_addi_opcode); > -- > -- tinsn_from_chars (&addmi_insn, fragP->fr_opcode + addmi_offset, 0); > -- gas_assert (addmi_insn.opcode == xtensa_addmi_opcode); > -- > -- set_expr_const (&addi_insn.tok[2], loop_length_lo); > -- tinsn_to_insnbuf (&addi_insn, insnbuf); > -- > -- fragP->tc_frag_data.is_insn = TRUE; > -- xtensa_insnbuf_to_chars > -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addi_offset, 0); > -- > -- set_expr_const (&addmi_insn.tok[2], loop_length_hi); > -- tinsn_to_insnbuf (&addmi_insn, insnbuf); > -- xtensa_insnbuf_to_chars > -- (isa, insnbuf, (unsigned char *) fragP->fr_opcode + addmi_offset, 0); > -- > -- /* Walk through all of the frags from here to the loop end > -- and mark them as no_transform to keep them from being modified > -- by the linker. If we ever have a relocation for the > -- addi/addmi of the difference of two symbols we can remove this. */ > -- > -- target_count = 0; > -- for (next_fragP = fragP; next_fragP != NULL; > -- next_fragP = next_fragP->fr_next) > -- { > -- next_fragP->tc_frag_data.is_no_transform = TRUE; > -- if (next_fragP->tc_frag_data.is_loop_target) > -- target_count++; > -- if (target_count == 2) > -- break; > -- } > --} > -- > - > - /* A map that keeps information on a per-subsegment basis. This is > - maintained during initial assembly, but is invalid once the > -diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c > -index cb296ed85ed2..daf15d52c259 100644 > ---- a/gas/config/xtensa-relax.c > -+++ b/gas/config/xtensa-relax.c > -@@ -87,13 +87,7 @@ > - when the first and second operands are not the same as specified > - by the "| %at!=%as" precondition clause. > - {"l32i %at,%as,%imm | %at!=%as", > -- "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} > -- > -- There is special case for loop instructions here, but because we do > -- not currently have the ability to represent the difference of two > -- symbols, the conversion requires special code in the assembler to > -- write the operands of the addi/addmi pair representing the > -- difference of the old and new loop end label. */ > -+ "LITERAL %imm; l32r %at,%LITERAL; add %at,%at,%as; l32i %at,%at,0"} */ > - > - #include "as.h" > - #include "xtensa-isa.h" > -@@ -306,44 +300,83 @@ static string_pattern_pair widen_spec_list[] = > - {"l32i %at,%as,%imm | %at!=%as ? IsaUseConst16", > - "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm); add %at,%at,%as; l32i %at,%at,0"}, > - > -- /* This is only PART of the loop instruction. In addition, > -- hardcoded into its use is a modification of the final operand in > -- the instruction in bytes 9 and 12. */ > -- {"loop %as,%label | %as!=1 ? IsaUseLoops", > -+ /* Widening loops with literals. */ > -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", > -+ "loop %as,%LABEL;" > -+ "rsr.lend %as;" /* LEND */ > -+ "wsr.lbeg %as;" /* LBEG */ > -+ "LITERAL %label;" > -+ "l32r %as, %LITERAL;" > -+ "nop;" > -+ "wsr.lend %as;" > -+ "isync;" > -+ "rsr.lcount %as;" /* LCOUNT */ > -+ "addi %as, %as, 1;" > -+ "LABEL"}, > -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", > -+ "beqz %as,%label;" > -+ "bltz %as,%label;" > -+ "loopgtz %as,%LABEL;" > -+ "rsr.lend %as;" /* LEND */ > -+ "wsr.lbeg %as;" /* LBEG */ > -+ "LITERAL %label;" > -+ "l32r %as, %LITERAL;" > -+ "nop;" > -+ "wsr.lend %as;" > -+ "isync;" > -+ "rsr.lcount %as;" /* LCOUNT */ > -+ "addi %as, %as, 1;" > -+ "LABEL"}, > -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseL32R", > -+ "beqz %as,%label;" > -+ "loopnez %as,%LABEL;" > -+ "rsr.lend %as;" /* LEND */ > -+ "wsr.lbeg %as;" /* LBEG */ > -+ "LITERAL %label;" > -+ "l32r %as, %LITERAL;" > -+ "nop;" > -+ "wsr.lend %as;" > -+ "isync;" > -+ "rsr.lcount %as;" /* LCOUNT */ > -+ "addi %as, %as, 1;" > -+ "LABEL"}, > -+ > -+ /* Widening loops with const16. */ > -+ {"loop %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", > - "loop %as,%LABEL;" > - "rsr.lend %as;" /* LEND */ > - "wsr.lbeg %as;" /* LBEG */ > -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ > -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ > -+ "const16 %as,HI16U(%label);" > -+ "const16 %as,LOW16U(%label);" > - "wsr.lend %as;" > - "isync;" > - "rsr.lcount %as;" /* LCOUNT */ > -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ > -+ "addi %as, %as, 1;" > - "LABEL"}, > -- {"loopgtz %as,%label | %as!=1 ? IsaUseLoops", > -+ {"loopgtz %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", > - "beqz %as,%label;" > - "bltz %as,%label;" > - "loopgtz %as,%LABEL;" > - "rsr.lend %as;" /* LEND */ > - "wsr.lbeg %as;" /* LBEG */ > -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ > -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ > -+ "const16 %as,HI16U(%label);" > -+ "const16 %as,LOW16U(%label);" > - "wsr.lend %as;" > - "isync;" > - "rsr.lcount %as;" /* LCOUNT */ > -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ > -+ "addi %as, %as, 1;" > - "LABEL"}, > -- {"loopnez %as,%label | %as!=1 ? IsaUseLoops", > -+ {"loopnez %as,%label | %as!=1 ? IsaUseLoops ? IsaUseConst16", > - "beqz %as,%label;" > - "loopnez %as,%LABEL;" > - "rsr.lend %as;" /* LEND */ > - "wsr.lbeg %as;" /* LBEG */ > -- "addi %as, %as, 0;" /* lo8(%label-%LABEL1) */ > -- "addmi %as, %as, 0;" /* mid8(%label-%LABEL1) */ > -+ "const16 %as,HI16U(%label);" > -+ "const16 %as,LOW16U(%label);" > - "wsr.lend %as;" > - "isync;" > - "rsr.lcount %as;" /* LCOUNT */ > -- "addi %as, %as, 1;" /* density -> addi.n %as, %as, 1 */ > -+ "addi %as, %as, 1;" > - "LABEL"}, > - > - /* Relaxing to wide branches. Order is important here. With wide > --- > -2.11.0 > - > diff --git a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch > deleted file mode 100644 > index b4bbc27b37..0000000000 > --- a/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch > +++ /dev/null > @@ -1,96 +0,0 @@ > -From 471702ac4a57878a06e8167f063274cf413e548d Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Mon, 8 Apr 2019 13:47:18 -0700 > -Subject: [PATCH] xtensa: gas: put .literal_position at section start > - > -Provide literal position at the beginning of each section for literal > -space reserved by relaxations when text-section-literals or > -auto-litpools options are used. Remove code that adds fill frag to the > -literal section for every .literal_position directive to avoid creation > -of empty literal sections. > - > -Fix auto-litpools tests that got literal pool address changes. > - > -gas/ > -2019-04-11 Max Filippov > - > - * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. > - (xtensa_mark_literal_pool_location): Don't add fill frag to literal > - section that records literal pool location. > - (md_begin): Call xtensa_mark_literal_pool_location when text > - section literals or auto litpools are used. > - (xtensa_elf_section_change_hook): Call > - xtensa_mark_literal_pool_location when text section literals or > - auto litpools are used, there's no literal pool location defined > - for the current section and it's not .init or .fini. > - > -Signed-off-by: Max Filippov > ---- > - gas/config/tc-xtensa.c | 22 +++++++++------------- > - 1 file changed, 9 insertions(+), 13 deletions(-) > - > -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c > -index 0cc06361cf6f..6a80e76fed8c 100644 > ---- a/gas/config/tc-xtensa.c > -+++ b/gas/config/tc-xtensa.c > -@@ -497,6 +497,7 @@ static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset); > - static void xtensa_maybe_create_literal_pool_frag (bfd_boolean, bfd_boolean); > - static bfd_boolean auto_litpools = FALSE; > - static int auto_litpool_limit = 0; > -+static bfd_boolean xtensa_is_init_fini (segT seg); > - > - /* Alignment Functions. */ > - > -@@ -4797,7 +4798,6 @@ xtensa_mark_literal_pool_location (void) > - { > - /* Any labels pointing to the current location need > - to be adjusted to after the literal pool. */ > -- emit_state s; > - fragS *pool_location; > - > - if (use_literal_section) > -@@ -4818,19 +4818,7 @@ xtensa_mark_literal_pool_location (void) > - RELAX_LITERAL_POOL_END, NULL, 0, NULL); > - xtensa_set_frag_assembly_state (frag_now); > - > -- /* Now put a frag into the literal pool that points to this location. */ > - set_literal_pool_location (now_seg, pool_location); > -- xtensa_switch_to_non_abs_literal_fragment (&s); > -- frag_align (2, 0, 0); > -- record_alignment (now_seg, 2); > -- > -- /* Close whatever frag is there. */ > -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); > -- xtensa_set_frag_assembly_state (frag_now); > -- frag_now->tc_frag_data.literal_frag = pool_location; > -- frag_variant (rs_fill, 0, 0, 0, NULL, 0, NULL); > -- xtensa_restore_emit_state (&s); > -- xtensa_set_frag_assembly_state (frag_now); > - } > - > - > -@@ -5334,6 +5322,9 @@ md_begin (void) > - /* Set up the assembly state. */ > - if (!frag_now->tc_frag_data.is_assembly_state_set) > - xtensa_set_frag_assembly_state (frag_now); > -+ > -+ if (!use_literal_section) > -+ xtensa_mark_literal_pool_location (); > - } > - > - > -@@ -5933,6 +5924,11 @@ xtensa_elf_section_change_hook (void) > - /* Set up the assembly state. */ > - if (!frag_now->tc_frag_data.is_assembly_state_set) > - xtensa_set_frag_assembly_state (frag_now); > -+ > -+ if (!use_literal_section > -+ && seg_info (now_seg)->tc_segment_info_data.literal_pool_loc == NULL > -+ && !xtensa_is_init_fini (now_seg)) > -+ xtensa_mark_literal_pool_location (); > - } > - > - > --- > -2.11.0 > - > diff --git a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch > deleted file mode 100644 > index 8527b66733..0000000000 > --- a/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch > +++ /dev/null > @@ -1,46 +0,0 @@ > -From b17678f639f953d687d96cd52690e7cbfae50f91 Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Fri, 23 Aug 2019 22:25:55 +0900 > -Subject: [PATCH] or1k: Fix incorrect value in PLT GOT entries, causing > - infinite loop > - > -The PLT GOT entry should point to the first PLT entry which contains the > -runtime linker function. It was pointing back to the symbol PLT entry > -causing an infinite loop. > - > -I found this when testing the OpenRISC glibc port which uses the runtime > -dynamic linker. It seems other libc's we use so far have not been > -making use of the initial PLT GOT entries. > - > -bfd/ChangeLog: > - > - * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for > - PLT GOT entries. > - > -(cherry picked from commit 09f7b0de537d465fc8ed9f9433e348c1bc78aab2) > -Signed-off-by: Romain Naour > ---- > - bfd/elf32-or1k.c | 7 +++++-- > - 1 file changed, 5 insertions(+), 2 deletions(-) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 2f200b197b8..32839cfa7b6 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -2379,8 +2379,11 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, > - plt0, plt1, plt2, OR1K_JR(12)); > - > -- /* Fill in the entry in the global offset table. */ > -- bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); > -+ /* Fill in the entry in the global offset table. We initialize it to > -+ point to the top of the plt. This is done to lazy lookup the actual > -+ symbol as the first plt entry will be setup by libc to call the > -+ runtime dynamic linker. */ > -+ bfd_put_32 (output_bfd, plt_base_addr, sgot->contents + got_offset); > - > - /* Fill in the entry in the .rela.plt section. */ > - rela.r_offset = got_addr; > --- > -2.23.0 > - > diff --git a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch > deleted file mode 100644 > index f499426b70..0000000000 > --- a/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch > +++ /dev/null > @@ -1,37 +0,0 @@ > -From 85dcca5997cf3822d6456a5c9c59c46b56adfbb8 Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Wed, 4 Mar 2020 14:54:27 -0800 > -Subject: [PATCH] bfd: xtensa: fix PR ld/25630 > - > -bfd/ > -2020-03-05 Max Filippov > - > - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic > - relocation sections for any removed reference to a dynamic symbol. > - > -Signed-off-by: Max Filippov > ---- > - bfd/elf32-xtensa.c | 7 +++---- > - 1 file changed, 3 insertions(+), 4 deletions(-) > - > -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c > -index 12ff9f772aaf..65e14d87940c 100644 > ---- a/bfd/elf32-xtensa.c > -+++ b/bfd/elf32-xtensa.c > -@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, > - > - if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) > - && (input_section->flags & SEC_ALLOC) != 0 > -- && (dynamic_symbol || bfd_link_pic (info)) > -- && (!h || h->root.type != bfd_link_hash_undefweak > -- || (dynamic_symbol > -- && (bfd_link_dll (info) || info->export_dynamic)))) > -+ && (dynamic_symbol > -+ || (bfd_link_pic (info) > -+ && (!h || h->root.type != bfd_link_hash_undefweak)))) > - { > - asection *srel; > - bfd_boolean is_plt = FALSE; > --- > -2.20.1 > - > diff --git a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch > deleted file mode 100644 > index 2df46c6526..0000000000 > --- a/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch > +++ /dev/null > @@ -1,432 +0,0 @@ > -From c7a1d1f656c717394937a92cb970f0f4cecce128 Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Sun, 19 Apr 2020 19:04:41 -0700 > -Subject: [PATCH] xtensa: fix PR ld/25861 > - > -Introduce new relaxations XTENSA_PDIFF{8,16,32} for positive differences > -(subtracted symbol precedes diminished symbol) and XTENSA_NDIFF{8,16,32} > -for negative differences (subtracted symbol follows diminished symbol). > -Don't generate XTENSA_DIFF relocations in the assembler, generate > -XTENSA_PDIFF or XTENSA_NDIFF based on relative symbol position. > - > -Handle XTENSA_DIFF in BFD for compatibility with old object files. > -Handle XTENSA_PDIFF and XTENSA_NDIFF in BFD, treating difference value > -as unsigned. > - > -2020-04-22 Max Filippov > -bfd/ > - * bfd-in2.h: Regenerated. > - * elf32-xtensa.c (elf_howto_table): New entries for > - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. > - (elf_xtensa_reloc_type_lookup, elf_xtensa_do_reloc) > - (relax_section): Add cases for R_XTENSA_PDIFF{8,16,32} and > - R_XTENSA_NDIFF{8,16,32}. > - * libbfd.h (bfd_reloc_code_real_names): Add names for > - BFD_RELOC_XTENSA_PDIFF{8,16,32} and > - BFD_RELOC_XTENSA_NDIFF{8,16,32}. > - * reloc.c: Add documentation for BFD_RELOC_XTENSA_PDIFF{8,16,32} > - and BFD_RELOC_XTENSA_NDIFF{8,16,32}. > - > -binutils/ > - * readelf.c (is_none_reloc): Recognize > - BFD_RELOC_XTENSA_PDIFF{8,16,32} and > - BFD_RELOC_XTENSA_NDIFF{8,16,32}. > - > -gas/ > - * config/tc-xtensa.c (md_apply_fix): Replace > - BFD_RELOC_XTENSA_DIFF{8,16,32} generation with > - BFD_RELOC_XTENSA_PDIFF{8,16,32} and > - BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. > - * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 > - with BFD_RELOC_XTENSA_PDIFF16 in the expected output. > - > -include/ > - * elf/xtensa.h (elf_xtensa_reloc_type): New entries for > - R_XTENSA_PDIFF{8,16,32} and R_XTENSA_NDIFF{8,16,32}. > - > -ld/ > - * testsuite/ld-xtensa/relax-loc.d: New test definition. > - * testsuite/ld-xtensa/relax-loc.s: New test source. > - * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test. > - > -Signed-off-by: Max Filippov > ---- > -Backported from: 30ce8e47fad9b057b6d7af9e1d43061126d34d20 > - > - bfd/bfd-in2.h | 20 ++++++- > - bfd/elf32-xtensa.c | 89 +++++++++++++++++++++++++++++- > - bfd/libbfd.h | 6 ++ > - bfd/reloc.c | 24 ++++++++ > - binutils/readelf.c | 8 ++- > - gas/config/tc-xtensa.c | 12 +++- > - gas/testsuite/gas/xtensa/loc.d | 2 +- > - include/elf/xtensa.h | 6 ++ > - ld/testsuite/ld-xtensa/relax-loc.d | 7 +++ > - ld/testsuite/ld-xtensa/relax-loc.s | 15 +++++ > - ld/testsuite/ld-xtensa/xtensa.exp | 1 + > - 11 files changed, 183 insertions(+), 7 deletions(-) > - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.d > - create mode 100644 ld/testsuite/ld-xtensa/relax-loc.s > - > -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h > -index 37114607b515..be6a30f57955 100644 > ---- a/bfd/bfd-in2.h > -+++ b/bfd/bfd-in2.h > -@@ -5217,7 +5217,9 @@ to one of its own internal functions or data structures. */ > - PLT entries. Otherwise, this is just a generic 32-bit relocation. */ > - BFD_RELOC_XTENSA_PLT, > - > --/* Xtensa relocations to mark the difference of two local symbols. > -+/* Xtensa relocations for backward compatibility. These have been replaced > -+by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. > -+Xtensa relocations to mark the difference of two local symbols. > - These are only needed to support linker relaxation and can be ignored > - when not relaxing. The field is set to the value of the difference > - assuming no relaxation. The relocation encodes the position of the > -@@ -5291,6 +5293,22 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ > - BFD_RELOC_XTENSA_TLS_ARG, > - BFD_RELOC_XTENSA_TLS_CALL, > - > -+/* Xtensa relocations to mark the difference of two local symbols. > -+These are only needed to support linker relaxation and can be ignored > -+when not relaxing. The field is set to the value of the difference > -+assuming no relaxation. The relocation encodes the position of the > -+subtracted symbol so the linker can determine whether to adjust the field > -+value. PDIFF relocations are used for positive differences, NDIFF > -+relocations are used for negative differences. The difference value > -+is treated as unsigned with these relocation types, giving full > -+8/16 value ranges. */ > -+ BFD_RELOC_XTENSA_PDIFF8, > -+ BFD_RELOC_XTENSA_PDIFF16, > -+ BFD_RELOC_XTENSA_PDIFF32, > -+ BFD_RELOC_XTENSA_NDIFF8, > -+ BFD_RELOC_XTENSA_NDIFF16, > -+ BFD_RELOC_XTENSA_NDIFF32, > -+ > - /* 8 bit signed offset in (ix+d) or (iy+d). */ > - BFD_RELOC_Z80_DISP8, > - > -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c > -index 473a9d76f289..fded42d52a9a 100644 > ---- a/bfd/elf32-xtensa.c > -+++ b/bfd/elf32-xtensa.c > -@@ -325,6 +325,20 @@ static reloc_howto_type elf_howto_table[] = > - HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, FALSE, 0, complain_overflow_dont, > - bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", > - FALSE, 0, 0, FALSE), > -+ > -+ HOWTO (R_XTENSA_PDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF8", FALSE, 0, 0xff, FALSE), > -+ HOWTO (R_XTENSA_PDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF16", FALSE, 0, 0xffff, FALSE), > -+ HOWTO (R_XTENSA_PDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_PDIFF32", FALSE, 0, 0xffffffff, FALSE), > -+ > -+ HOWTO (R_XTENSA_NDIFF8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF8", FALSE, 0, 0xff, FALSE), > -+ HOWTO (R_XTENSA_NDIFF16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF16", FALSE, 0, 0xffff, FALSE), > -+ HOWTO (R_XTENSA_NDIFF32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, > -+ bfd_elf_xtensa_reloc, "R_XTENSA_NDIFF32", FALSE, 0, 0xffffffff, FALSE), > - }; > - > - #if DEBUG_GEN_RELOC > -@@ -364,6 +378,30 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, > - TRACE ("BFD_RELOC_XTENSA_DIFF32"); > - return &elf_howto_table[(unsigned) R_XTENSA_DIFF32 ]; > - > -+ case BFD_RELOC_XTENSA_PDIFF8: > -+ TRACE ("BFD_RELOC_XTENSA_PDIFF8"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF8 ]; > -+ > -+ case BFD_RELOC_XTENSA_PDIFF16: > -+ TRACE ("BFD_RELOC_XTENSA_PDIFF16"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF16 ]; > -+ > -+ case BFD_RELOC_XTENSA_PDIFF32: > -+ TRACE ("BFD_RELOC_XTENSA_PDIFF32"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_PDIFF32 ]; > -+ > -+ case BFD_RELOC_XTENSA_NDIFF8: > -+ TRACE ("BFD_RELOC_XTENSA_NDIFF8"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF8 ]; > -+ > -+ case BFD_RELOC_XTENSA_NDIFF16: > -+ TRACE ("BFD_RELOC_XTENSA_NDIFF16"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF16 ]; > -+ > -+ case BFD_RELOC_XTENSA_NDIFF32: > -+ TRACE ("BFD_RELOC_XTENSA_NDIFF32"); > -+ return &elf_howto_table[(unsigned) R_XTENSA_NDIFF32 ]; > -+ > - case BFD_RELOC_XTENSA_RTLD: > - TRACE ("BFD_RELOC_XTENSA_RTLD"); > - return &elf_howto_table[(unsigned) R_XTENSA_RTLD ]; > -@@ -1851,6 +1889,12 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, > - case R_XTENSA_DIFF8: > - case R_XTENSA_DIFF16: > - case R_XTENSA_DIFF32: > -+ case R_XTENSA_PDIFF8: > -+ case R_XTENSA_PDIFF16: > -+ case R_XTENSA_PDIFF32: > -+ case R_XTENSA_NDIFF8: > -+ case R_XTENSA_NDIFF16: > -+ case R_XTENSA_NDIFF32: > - case R_XTENSA_TLS_FUNC: > - case R_XTENSA_TLS_ARG: > - case R_XTENSA_TLS_CALL: > -@@ -9604,7 +9648,13 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - > - if (r_type == R_XTENSA_DIFF8 > - || r_type == R_XTENSA_DIFF16 > -- || r_type == R_XTENSA_DIFF32) > -+ || r_type == R_XTENSA_DIFF32 > -+ || r_type == R_XTENSA_PDIFF8 > -+ || r_type == R_XTENSA_PDIFF16 > -+ || r_type == R_XTENSA_PDIFF32 > -+ || r_type == R_XTENSA_NDIFF8 > -+ || r_type == R_XTENSA_NDIFF16 > -+ || r_type == R_XTENSA_NDIFF32) > - { > - bfd_signed_vma diff_value = 0; > - bfd_vma new_end_offset, diff_mask = 0; > -@@ -9631,8 +9681,27 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - diff_value = > - bfd_get_signed_32 (abfd, &contents[old_source_offset]); > - break; > -+ case R_XTENSA_PDIFF8: > -+ case R_XTENSA_NDIFF8: > -+ diff_value = > -+ bfd_get_8 (abfd, &contents[old_source_offset]); > -+ break; > -+ case R_XTENSA_PDIFF16: > -+ case R_XTENSA_NDIFF16: > -+ diff_value = > -+ bfd_get_16 (abfd, &contents[old_source_offset]); > -+ break; > -+ case R_XTENSA_PDIFF32: > -+ case R_XTENSA_NDIFF32: > -+ diff_value = > -+ bfd_get_32 (abfd, &contents[old_source_offset]); > -+ break; > - } > - > -+ if (r_type >= R_XTENSA_NDIFF8 > -+ && r_type <= R_XTENSA_NDIFF32) > -+ diff_value = -diff_value; > -+ > - new_end_offset = offset_with_removed_text_map > - (&target_relax_info->action_list, > - r_rel.target_offset + diff_value); > -@@ -9655,6 +9724,24 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - bfd_put_signed_32 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > -+ case R_XTENSA_PDIFF8: > -+ case R_XTENSA_NDIFF8: > -+ diff_mask = 0xff; > -+ bfd_put_8 (abfd, diff_value, > -+ &contents[old_source_offset]); > -+ break; > -+ case R_XTENSA_PDIFF16: > -+ case R_XTENSA_NDIFF16: > -+ diff_mask = 0xffff; > -+ bfd_put_16 (abfd, diff_value, > -+ &contents[old_source_offset]); > -+ break; > -+ case R_XTENSA_PDIFF32: > -+ case R_XTENSA_NDIFF32: > -+ diff_mask = 0xffffffff; > -+ bfd_put_32 (abfd, diff_value, > -+ &contents[old_source_offset]); > -+ break; > - } > - > - /* Check for overflow. Sign bits must be all zeroes or all ones */ > -diff --git a/bfd/libbfd.h b/bfd/libbfd.h > -index 3c184fcadadf..989f4bc0b595 100644 > ---- a/bfd/libbfd.h > -+++ b/bfd/libbfd.h > -@@ -2919,6 +2919,12 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", > - "BFD_RELOC_XTENSA_TLS_FUNC", > - "BFD_RELOC_XTENSA_TLS_ARG", > - "BFD_RELOC_XTENSA_TLS_CALL", > -+ "BFD_RELOC_XTENSA_PDIFF8", > -+ "BFD_RELOC_XTENSA_PDIFF16", > -+ "BFD_RELOC_XTENSA_PDIFF32", > -+ "BFD_RELOC_XTENSA_NDIFF8", > -+ "BFD_RELOC_XTENSA_NDIFF16", > -+ "BFD_RELOC_XTENSA_NDIFF32", > - "BFD_RELOC_Z80_DISP8", > - "BFD_RELOC_Z80_BYTE0", > - "BFD_RELOC_Z80_BYTE1", > -diff --git a/bfd/reloc.c b/bfd/reloc.c > -index c4dec86d1d46..f5df8e2ab3eb 100644 > ---- a/bfd/reloc.c > -+++ b/bfd/reloc.c > -@@ -6556,6 +6556,8 @@ ENUMX > - ENUMX > - BFD_RELOC_XTENSA_DIFF32 > - ENUMDOC > -+ Xtensa relocations for backward compatibility. These have been replaced > -+ by BFD_RELOC_XTENSA_PDIFF and BFD_RELOC_XTENSA_NDIFF. > - Xtensa relocations to mark the difference of two local symbols. > - These are only needed to support linker relaxation and can be ignored > - when not relaxing. The field is set to the value of the difference > -@@ -6668,6 +6670,28 @@ ENUMX > - BFD_RELOC_XTENSA_TLS_CALL > - ENUMDOC > - Xtensa TLS relocations. > -+ENUM > -+ BFD_RELOC_XTENSA_PDIFF8 > -+ENUMX > -+ BFD_RELOC_XTENSA_PDIFF16 > -+ENUMX > -+ BFD_RELOC_XTENSA_PDIFF32 > -+ENUMX > -+ BFD_RELOC_XTENSA_NDIFF8 > -+ENUMX > -+ BFD_RELOC_XTENSA_NDIFF16 > -+ENUMX > -+ BFD_RELOC_XTENSA_NDIFF32 > -+ENUMDOC > -+ Xtensa relocations to mark the difference of two local symbols. > -+ These are only needed to support linker relaxation and can be ignored > -+ when not relaxing. The field is set to the value of the difference > -+ assuming no relaxation. The relocation encodes the position of the > -+ subtracted symbol so the linker can determine whether to adjust the field > -+ value. PDIFF relocations are used for positive differences, NDIFF > -+ relocations are used for negative differences. The difference value > -+ is treated as unsigned with these relocation types, giving full > -+ 8/16 value ranges. > - > - ENUM > - BFD_RELOC_Z80_DISP8 > -diff --git a/binutils/readelf.c b/binutils/readelf.c > -index d4756c93b345..800918f901c8 100644 > ---- a/binutils/readelf.c > -+++ b/binutils/readelf.c > -@@ -13262,7 +13262,13 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type) > - return (reloc_type == 0 /* R_XTENSA_NONE. */ > - || reloc_type == 17 /* R_XTENSA_DIFF8. */ > - || reloc_type == 18 /* R_XTENSA_DIFF16. */ > -- || reloc_type == 19 /* R_XTENSA_DIFF32. */); > -+ || reloc_type == 19 /* R_XTENSA_DIFF32. */ > -+ || reloc_type == 57 /* R_XTENSA_PDIFF8. */ > -+ || reloc_type == 58 /* R_XTENSA_PDIFF16. */ > -+ || reloc_type == 59 /* R_XTENSA_PDIFF32. */ > -+ || reloc_type == 60 /* R_XTENSA_NDIFF8. */ > -+ || reloc_type == 61 /* R_XTENSA_NDIFF16. */ > -+ || reloc_type == 62 /* R_XTENSA_NDIFF32. */); > - } > - return FALSE; > - } > -diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c > -index 71d4d94a8d7d..ee75c13548ff 100644 > ---- a/gas/config/tc-xtensa.c > -+++ b/gas/config/tc-xtensa.c > -@@ -5974,18 +5974,24 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) > - case BFD_RELOC_8: > - if (fixP->fx_subsy) > - { > -+ bfd_boolean neg = S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset > -+ < S_GET_VALUE (fixP->fx_subsy); > -+ > - switch (fixP->fx_r_type) > - { > - case BFD_RELOC_8: > -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF8; > -+ fixP->fx_r_type = neg > -+ ? BFD_RELOC_XTENSA_NDIFF8 : BFD_RELOC_XTENSA_PDIFF8; > - fixP->fx_signed = 0; > - break; > - case BFD_RELOC_16: > -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF16; > -+ fixP->fx_r_type = neg > -+ ? BFD_RELOC_XTENSA_NDIFF16 : BFD_RELOC_XTENSA_PDIFF16; > - fixP->fx_signed = 0; > - break; > - case BFD_RELOC_32: > -- fixP->fx_r_type = BFD_RELOC_XTENSA_DIFF32; > -+ fixP->fx_r_type = neg > -+ ? BFD_RELOC_XTENSA_NDIFF32 : BFD_RELOC_XTENSA_PDIFF32; > - fixP->fx_signed = 0; > - break; > - default: > -diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d > -index 71983cc90055..8fb3425999d5 100644 > ---- a/gas/testsuite/gas/xtensa/loc.d > -+++ b/gas/testsuite/gas/xtensa/loc.d > -@@ -6,5 +6,5 @@ > - > - RELOCATION RECORDS FOR \[\.debug_line\]: > - #... > --.*R_XTENSA_DIFF16.*\.text\+0x00009c42 > -+.*R_XTENSA_PDIFF16.*\.text\+0x00009c42 > - #... > -diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h > -index 2eb5e4e52941..bd5c80d13777 100644 > ---- a/include/elf/xtensa.h > -+++ b/include/elf/xtensa.h > -@@ -87,6 +87,12 @@ START_RELOC_NUMBERS (elf_xtensa_reloc_type) > - RELOC_NUMBER (R_XTENSA_TLS_FUNC, 54) > - RELOC_NUMBER (R_XTENSA_TLS_ARG, 55) > - RELOC_NUMBER (R_XTENSA_TLS_CALL, 56) > -+ RELOC_NUMBER (R_XTENSA_PDIFF8, 57) > -+ RELOC_NUMBER (R_XTENSA_PDIFF16, 58) > -+ RELOC_NUMBER (R_XTENSA_PDIFF32, 59) > -+ RELOC_NUMBER (R_XTENSA_NDIFF8, 60) > -+ RELOC_NUMBER (R_XTENSA_NDIFF16, 61) > -+ RELOC_NUMBER (R_XTENSA_NDIFF32, 62) > - END_RELOC_NUMBERS (R_XTENSA_max) > - > - /* Processor-specific flags for the ELF header e_flags field. */ > -diff --git a/ld/testsuite/ld-xtensa/relax-loc.d b/ld/testsuite/ld-xtensa/relax-loc.d > -new file mode 100644 > -index 000000000000..3c8d673732ff > ---- /dev/null > -+++ b/ld/testsuite/ld-xtensa/relax-loc.d > -@@ -0,0 +1,7 @@ > -+#as: --text-section-literals > -+#ld: > -+#objdump: --dwarf=decodedline > -+#... > -+relax-loc.s[ ]+1[ ]+0x400054[ ]+.* > -+relax-loc.s[ ]+2[ ]+0x40005c[ ]+.* > -+#... > -diff --git a/ld/testsuite/ld-xtensa/relax-loc.s b/ld/testsuite/ld-xtensa/relax-loc.s > -new file mode 100644 > -index 000000000000..d768470e287a > ---- /dev/null > -+++ b/ld/testsuite/ld-xtensa/relax-loc.s > -@@ -0,0 +1,15 @@ > -+ .file 1 "relax-loc.s" > -+ .globl _start > -+ .globl _ResetVector > -+ .text > -+_ResetVector: > -+_start: > -+ .loc 1 1 > -+ j 1f > -+ .literal_position > -+1: > -+ .loc 1 2 > -+ > -+ .rep 10000 > -+ movi a2, 0x12345678 > -+ .endr > -diff --git a/ld/testsuite/ld-xtensa/xtensa.exp b/ld/testsuite/ld-xtensa/xtensa.exp > -index 9b2235b2151b..de39887936ad 100644 > ---- a/ld/testsuite/ld-xtensa/xtensa.exp > -+++ b/ld/testsuite/ld-xtensa/xtensa.exp > -@@ -27,6 +27,7 @@ run_dump_test "call_overflow" > - run_dump_test "coalesce" > - run_dump_test "diff_overflow" > - run_dump_test "lcall" > -+run_dump_test "relax-loc" > - > - run_dump_test "relax-static-pie" > - run_dump_test "relax-static-local-pie" > --- > -2.20.1 > - > diff --git a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch > deleted file mode 100644 > index 28f17d7c56..0000000000 > --- a/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch > +++ /dev/null > @@ -1,128 +0,0 @@ > -From 735321812435ae278d3766a3371f55937dc776d6 Mon Sep 17 00:00:00 2001 > -From: Max Filippov > -Date: Sat, 25 Apr 2020 00:40:25 -0700 > -Subject: [PATCH] xtensa: fix XTENSA_NDIFF handling for PR ld/25861 > - > -Fields marked with XTENSA_NDIFF relocations are not negated, they only > -have sign bits removed. Don't negate their values when relaxation is > -performed. Don't add sign bits when the value is zero. Report overflow > -when the result has negative sign but all significant bits are zero. > - > -2020-04-29 Max Filippov > -bfd/ > - * elf32-xtensa.c (relax_section): Don't negate diff_value for > - XTENSA_NDIFF relocations. Don't add sign bits whe diff_value > - equals 0. Report overflow when the result has negative sign but > - all significant bits are zero. > - > -Signed-off-by: Max Filippov > -Backported from: d548f47df4d2e3d117d504a4c9977982c78a0556 > ---- > - > - bfd/elf32-xtensa.c | 26 +++++++++++++++----------- > - 1 file changed, 15 insertions(+), 11 deletions(-) > - > -diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c > -index fded42d52a9a..4327b027911f 100644 > ---- a/bfd/elf32-xtensa.c > -+++ b/bfd/elf32-xtensa.c > -@@ -9670,37 +9670,44 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - switch (r_type) > - { > - case R_XTENSA_DIFF8: > -+ diff_mask = 0x7f; > - diff_value = > - bfd_get_signed_8 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_DIFF16: > -+ diff_mask = 0x7fff; > - diff_value = > - bfd_get_signed_16 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_DIFF32: > -+ diff_mask = 0x7fffffff; > - diff_value = > - bfd_get_signed_32 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF8: > - case R_XTENSA_NDIFF8: > -+ diff_mask = 0xff; > - diff_value = > - bfd_get_8 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF16: > - case R_XTENSA_NDIFF16: > -+ diff_mask = 0xffff; > - diff_value = > - bfd_get_16 (abfd, &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF32: > - case R_XTENSA_NDIFF32: > -+ diff_mask = 0xffffffff; > - diff_value = > - bfd_get_32 (abfd, &contents[old_source_offset]); > - break; > - } > - > - if (r_type >= R_XTENSA_NDIFF8 > -- && r_type <= R_XTENSA_NDIFF32) > -- diff_value = -diff_value; > -+ && r_type <= R_XTENSA_NDIFF32 > -+ && diff_value) > -+ diff_value |= ~diff_mask; > - > - new_end_offset = offset_with_removed_text_map > - (&target_relax_info->action_list, > -@@ -9710,43 +9717,40 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info) > - switch (r_type) > - { > - case R_XTENSA_DIFF8: > -- diff_mask = 0x7f; > - bfd_put_signed_8 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_DIFF16: > -- diff_mask = 0x7fff; > - bfd_put_signed_16 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_DIFF32: > -- diff_mask = 0x7fffffff; > - bfd_put_signed_32 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF8: > - case R_XTENSA_NDIFF8: > -- diff_mask = 0xff; > - bfd_put_8 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF16: > - case R_XTENSA_NDIFF16: > -- diff_mask = 0xffff; > - bfd_put_16 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - case R_XTENSA_PDIFF32: > - case R_XTENSA_NDIFF32: > -- diff_mask = 0xffffffff; > - bfd_put_32 (abfd, diff_value, > - &contents[old_source_offset]); > - break; > - } > - > -- /* Check for overflow. Sign bits must be all zeroes or all ones */ > -- if ((diff_value & ~diff_mask) != 0 && > -- (diff_value & ~diff_mask) != (-1 & ~diff_mask)) > -+ /* Check for overflow. Sign bits must be all zeroes or > -+ all ones. When sign bits are all ones diff_value > -+ may not be zero. */ > -+ if (((diff_value & ~diff_mask) != 0 > -+ && (diff_value & ~diff_mask) != ~diff_mask) > -+ || (diff_value && (bfd_vma) diff_value == ~diff_mask)) > - { > - (*link_info->callbacks->reloc_dangerous) > - (link_info, _("overflow after relaxation"), > --- > -2.20.1 > - > diff --git a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch > deleted file mode 100644 > index a67d12789e..0000000000 > --- a/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch > +++ /dev/null > @@ -1,59 +0,0 @@ > -From 788cda9f9447e0fe67e582e8fb5adafd678d08b2 Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 May 2021 06:02:14 +0900 > -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls > - > -When building protobuf we were seeing the assert failure: > - > - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: > - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 > - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: > - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 > - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: > - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 > - collect2: error: ld returned 1 exit status > - > -This failure happens while writing out PLT entries, there is a check > -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic > -symbol attributes. This was failing for symbols that were > -"forced_local" in previous linking code. > - > -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify > -"forced_local" symbols and exclude them from the the PLT. > - > -bfd/ChangeLog: > - > - PR 27624 > - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change > - condition used to cleanup plt entries to cleanup forced local > - entries. > - > -Cc: Giulio Benetti > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 9 ++++----- > - 1 file changed, 4 insertions(+), 5 deletions(-) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 2f200b197b8..1f2c88b0b3a 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, > - if (h->type == STT_FUNC > - || h->needs_plt) > - { > -- if (! bfd_link_pic (info) > -- && !h->def_dynamic > -- && !h->ref_dynamic > -- && h->root.type != bfd_link_hash_undefweak > -- && h->root.type != bfd_link_hash_undefined) > -+ if (h->plt.refcount <= 0 > -+ || (SYMBOL_CALLS_LOCAL (info, h) > -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT > -+ && h->root.type == bfd_link_hash_undefweak))) > - { > - /* This case can occur if we saw a PLT reloc in an input > - file, but the symbol was never referred to by a dynamic > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch > deleted file mode 100644 > index 5a2b91fe8e..0000000000 > --- a/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch > +++ /dev/null > @@ -1,256 +0,0 @@ > -From b10e6230dea0015bf3b7748580b82c551f9a3a4a Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 May 2021 06:02:15 +0900 > -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() > - > -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when > -using the -mcmodel=large option. This relocation is used along with > -got() to generate 32-bit GOT offsets. This increases the previous GOT > -offset limit from the previous 16-bit (64K) limit. > - > -This is needed on large binaries where the GOT grows larger than 64k. > - > -bfd/ChangeLog: > - > - PR 21464 > - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. > - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. > - (or1k_final_link_relocate, or1k_elf_relocate_section, > - or1k_elf_check_relocs): Likewise. > - * libbfd.h (bfd_reloc_code_real_names): Likewise. > - * reloc.c: Likewise. > - > -cpu/ChangeLog: > - > - PR 21464 > - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic > - for gotha() relocation. > - > -include/ChangeLog: > - > - PR 21464 > - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. > - > -opcodes/ChangeLog: > - > - PR 21464 > - * or1k-asm.c: Regenerate. > - > -gas/ChangeLog: > - > - PR 21464 > - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. > - * testsuite/gas/or1k/reloc-1.d: Add test result for new > - relocation. > - > -Cc: Giulio Benetti > - > -fixup reloc, add tests > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/bfd-in2.h | 1 + > - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- > - bfd/libbfd.h | 1 + > - bfd/reloc.c | 2 ++ > - cpu/or1k.opc | 7 ++++++- > - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- > - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ > - include/elf/or1k.h | 1 + > - opcodes/or1k-asm.c | 7 ++++++- > - 9 files changed, 44 insertions(+), 4 deletions(-) > - > -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h > -index e25da50aafb..530a41fca43 100644 > ---- a/bfd/bfd-in2.h > -+++ b/bfd/bfd-in2.h > -@@ -5517,6 +5517,7 @@ then it may be truncated to 8 bits. */ > - BFD_RELOC_OR1K_TLS_TPOFF, > - BFD_RELOC_OR1K_TLS_DTPOFF, > - BFD_RELOC_OR1K_TLS_DTPMOD, > -+ BFD_RELOC_OR1K_GOT_AHI16, > - > - /* H8 elf Relocations. */ > - BFD_RELOC_H8_DIR16A8, > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 1f2c88b0b3a..a4a64f73b7c 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = > - 0, /* Source Mask. */ > - 0x03ffffff, /* Dest Mask. */ > - TRUE), /* PC relative offset? */ > -+ > -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ > -+ 16, /* rightshift */ > -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ > -+ 16, /* bitsize */ > -+ FALSE, /* pc_relative */ > -+ 0, /* bitpos */ > -+ complain_overflow_signed, /* complain_on_overflow */ > -+ bfd_elf_generic_reloc, /* special_function */ > -+ "R_OR1K_GOT_AHI16", /* name */ > -+ FALSE, /* partial_inplace */ > -+ 0, /* src_mask */ > -+ 0xffff, /* dst_mask */ > -+ FALSE), /* pcrel_offset */ > - }; > - > - /* Map BFD reloc types to Or1k ELF reloc types. */ > -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = > - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, > - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, > - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, > -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, > - }; > - > - #define TLS_UNKNOWN 0 > -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, > - switch (howto->type) > - { > - case R_OR1K_AHI16: > -+ case R_OR1K_GOT_AHI16: > - case R_OR1K_GOTOFF_AHI16: > - case R_OR1K_TLS_IE_AHI16: > - case R_OR1K_TLS_LE_AHI16: > -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, > - } > - break; > - > -+ case R_OR1K_GOT_AHI16: > - case R_OR1K_GOT16: > - case R_OR1K_GOT_PG21: > - case R_OR1K_GOT_LO13: > -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, > - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, > - while the GOT16 reloc is GOT relative. */ > - relocation = got_base + off; > -- if (r_type == R_OR1K_GOT16) > -+ if (r_type == R_OR1K_GOT16 > -+ || r_type == R_OR1K_GOT_AHI16) > - relocation -= got_sym_value; > - > - /* Addend should be zero. */ > -@@ -1945,6 +1963,7 @@ or1k_elf_check_relocs (bfd *abfd, > - } > - break; > - > -+ case R_OR1K_GOT_AHI16: > - case R_OR1K_GOT16: > - case R_OR1K_GOT_PG21: > - case R_OR1K_GOT_LO13: > -diff --git a/bfd/libbfd.h b/bfd/libbfd.h > -index 36284d71a9b..6e9e3190bb8 100644 > ---- a/bfd/libbfd.h > -+++ b/bfd/libbfd.h > -@@ -2702,6 +2702,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", > - "BFD_RELOC_OR1K_TLS_TPOFF", > - "BFD_RELOC_OR1K_TLS_DTPOFF", > - "BFD_RELOC_OR1K_TLS_DTPMOD", > -+ "BFD_RELOC_OR1K_GOT_AHI16", > - "BFD_RELOC_H8_DIR16A8", > - "BFD_RELOC_H8_DIR16R8", > - "BFD_RELOC_H8_DIR24A8", > -diff --git a/bfd/reloc.c b/bfd/reloc.c > -index e6446a78098..b0003ab1175 100644 > ---- a/bfd/reloc.c > -+++ b/bfd/reloc.c > -@@ -6164,6 +6164,8 @@ ENUMX > - BFD_RELOC_OR1K_GOTPC_HI16 > - ENUMX > - BFD_RELOC_OR1K_GOTPC_LO16 > -+ENUMX > -+ BFD_RELOC_OR1K_GOT_AHI16 > - ENUMX > - BFD_RELOC_OR1K_GOT16 > - ENUMX > -diff --git a/cpu/or1k.opc b/cpu/or1k.opc > -index 5082a30cee1..85163fc96c9 100644 > ---- a/cpu/or1k.opc > -+++ b/cpu/or1k.opc > -@@ -173,7 +173,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { > - BFD_RELOC_OR1K_GOT_LO13, > - BFD_RELOC_UNUSED, > - BFD_RELOC_UNUSED, > -- BFD_RELOC_UNUSED }, > -+ BFD_RELOC_OR1K_GOT_AHI16 }, > - { BFD_RELOC_OR1K_GOTPC_LO16, > - BFD_RELOC_UNUSED, > - BFD_RELOC_UNUSED, > -@@ -276,6 +276,11 @@ parse_reloc (const char **strp) > - str += 5; > - cls = RCLASS_TPOFF; > - } > -+ else if (strncasecmp (str, "got", 3) == 0) > -+ { > -+ str += 3; > -+ cls = RCLASS_GOT; > -+ } > - > - if (strncasecmp (str, "hi(", 3) == 0) > - { > -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d > -index d1bcf5608bb..3a001c4ed99 100644 > ---- a/gas/testsuite/gas/or1k/reloc-1.d > -+++ b/gas/testsuite/gas/or1k/reloc-1.d > -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE > - 000000ec R_OR1K_LO13 x > - 000000f0 R_OR1K_GOT_LO13 x > - 000000f4 R_OR1K_SLO13 x > -- > -+000000f8 R_OR1K_GOT_AHI16 x > -+000000fc R_OR1K_GOT_AHI16 x > -+00000100 R_OR1K_GOT_AHI16 x > - > -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s > -index e76abef6532..562609aa869 100644 > ---- a/gas/testsuite/gas/or1k/reloc-1.s > -+++ b/gas/testsuite/gas/or1k/reloc-1.s > -@@ -74,3 +74,7 @@ > - l.lbz r5,po(x)(r3) > - l.lbz r5,gotpo(x)(r3) > - l.sb po(x)(r3),r6 > -+ > -+ l.movhi r4,gotha(x) > -+ l.ori r3,r4,gotha(x) > -+ l.addi r3,r4,gotha(x) > -diff --git a/include/elf/or1k.h b/include/elf/or1k.h > -index 0abef046202..7db3cad18eb 100644 > ---- a/include/elf/or1k.h > -+++ b/include/elf/or1k.h > -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) > - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) > - RELOC_NUMBER (R_OR1K_SLO13, 52) > - RELOC_NUMBER (R_OR1K_PLTA26, 53) > -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) > - END_RELOC_NUMBERS (R_OR1K_max) > - > - #define EF_OR1K_NODELAY (1UL << 0) > -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c > -index 7d058d03f5f..332f4b7a9b5 100644 > ---- a/opcodes/or1k-asm.c > -+++ b/opcodes/or1k-asm.c > -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { > - BFD_RELOC_OR1K_GOT_LO13, > - BFD_RELOC_UNUSED, > - BFD_RELOC_UNUSED, > -- BFD_RELOC_UNUSED }, > -+ BFD_RELOC_OR1K_GOT_AHI16 }, > - { BFD_RELOC_OR1K_GOTPC_LO16, > - BFD_RELOC_UNUSED, > - BFD_RELOC_UNUSED, > -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) > - str += 5; > - cls = RCLASS_TPOFF; > - } > -+ else if (strncasecmp (str, "got", 3) == 0) > -+ { > -+ str += 3; > -+ cls = RCLASS_GOT; > -+ } > - > - if (strncasecmp (str, "hi(", 3) == 0) > - { > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch > deleted file mode 100644 > index adc6f5f8b9..0000000000 > --- a/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch > +++ /dev/null > @@ -1,61 +0,0 @@ > -From 0f61f76454a9420f158f626cb09a4fbc08c3709e Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 May 2021 06:02:16 +0900 > -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence > - of R_OR1K_GOT_AHI16 > - > -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 > -overflow validation check if the section has R_OR1K_GOT_AHI16. > - > -We cannot simple disable R_OR1K_GOT16 overflow validation as there will > -still be binaries that will have only R_OR1K_GOT16. The > -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with > -the option -mcmodel=large. > - > -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which > -is the code pattern that will be emitted by GCC. > - > -bfd/ChangeLog: > - > - PR 21464 > - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 > - overflow check if we have R_OR1K_GOT_AHI16 followed by > - R_OR1K_GOT16. > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 11 +++++++++++ > - 1 file changed, 11 insertions(+) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index a4a64f73b7c..07fff3602a3 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, > - asection *sgot, *splt; > - bfd_vma plt_base, got_base, got_sym_value; > - bfd_boolean ret_val = TRUE; > -+ bfd_boolean saw_gotha = FALSE; > - > - if (htab == NULL) > - return FALSE; > -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, > - || r_type == R_OR1K_GOT_AHI16) > - relocation -= got_sym_value; > - > -+ if (r_type == R_OR1K_GOT_AHI16) > -+ saw_gotha = TRUE; > -+ > -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 > -+ relocation we assume the code is doing the right thing to avoid > -+ overflows. Here we mask the lower 16-bit of the relocation to > -+ avoid overflow validation failures. */ > -+ if (r_type == R_OR1K_GOT16 && saw_gotha) > -+ relocation &= 0xffff; > -+ > - /* Addend should be zero. */ > - if (rel->r_addend != 0) > - { > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch > deleted file mode 100644 > index dc0431e0af..0000000000 > --- a/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch > +++ /dev/null > @@ -1,500 +0,0 @@ > -From 36c7de7ef77ab0c30cb33e2c7ea7a6f4e3052c73 Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 May 2021 06:02:17 +0900 > -Subject: [PATCH] or1k: Support large plt_relocs when generating plt > - entries > - > -The current PLT generation code will generate invalid code when the PLT > -relocation offset exceeds 64k. This fixes the issue by detecting large > -plt_reloc offsets and generare code sequences to create larger plt > -relocations. > - > -The "large" plt code needs 2 extra instructions to create 32-bit offsets. > - > -bfd/ChangeLog: > - > - PR 27746 > - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, > - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. > - (elf_or1k_link_hash_table): New field plt_count. > - (elf_or1k_link_hash_entry): New field plt_index. > - (elf_or1k_plt_entry_size): New function. > - (or1k_write_plt_entry): Update to support variable size PLTs. > - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry > - API. > - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs > - when needed. > - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for > - PLT size. > - > -ld/ChangeLog: > - > - PR 27746 > - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking > - along with gotha() relocations. > - testsuite/ld-or1k/gotha1.dd: New file. > - testsuite/ld-or1k/gotha1.s: New file. > - testsuite/ld-or1k/gotha2.dd: New file. > - testsuite/ld-or1k/gotha2.s: New file > - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link > - failure. > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- > - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ > - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ > - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ > - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ > - ld/testsuite/ld-or1k/or1k.exp | 8 ++ > - ld/testsuite/ld-or1k/pltlib.s | 1 + > - 7 files changed, 220 insertions(+), 39 deletions(-) > - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd > - create mode 100644 ld/testsuite/ld-or1k/gotha1.s > - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd > - create mode 100644 ld/testsuite/ld-or1k/gotha2.s > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 07fff3602a3..fcebbe5f23a 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -30,10 +30,14 @@ > - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) > - > - #define PLT_ENTRY_SIZE 16 > -+#define PLT_ENTRY_SIZE_LARGE (6*4) > -+#define PLT_MAX_INSN_COUNT 6 > - > - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) > - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) > - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) > -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) > -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) > - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) > - #define OR1K_JR(B) (0x44000000 | (B << 11)) > - #define OR1K_NOP 0x15000000 > -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry > - /* Track dynamic relocs copied for this symbol. */ > - struct elf_dyn_relocs *dyn_relocs; > - > -+ /* For calculating PLT size. */ > -+ bfd_vma plt_index; > - /* Track type of TLS access. */ > - unsigned char tls_type; > - }; > -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table > - /* Small local sym to section mapping cache. */ > - struct sym_cache sym_sec; > - > -+ bfd_vma plt_count; > - bfd_boolean saw_plta; > - }; > - > -+static size_t > -+elf_or1k_plt_entry_size (bfd_vma plt_index) > -+{ > -+ bfd_vma plt_reloc; > -+ > -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); > -+ > -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; > -+} > -+ > - /* Get the ELF linker hash table from a link_info structure. */ > - #define or1k_elf_hash_table(p) \ > - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ > -@@ -2176,33 +2193,46 @@ or1k_elf_check_relocs (bfd *abfd, > - } > - > - static void > --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, > -- unsigned insn2, unsigned insn3, unsigned insnj) > -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, > -+ unsigned insns[], size_t insn_count) > - { > - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; > -- unsigned insn4; > -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; > -+ > -+ /* Copy instructions into the output buffer. */ > -+ for (size_t i = 0; i < insn_count; i++) > -+ output_insns[i] = insns[i]; > - > - /* Honor the no-delay-slot setting. */ > -- if (insn3 == OR1K_NOP) > -+ if (insns[insn_count-1] == OR1K_NOP) > - { > -- insn4 = insn3; > -+ unsigned slot1, slot2; > -+ > - if (nodelay) > -- insn3 = insnj; > -+ slot1 = insns[insn_count-2], slot2 = insnj; > - else > -- insn3 = insn2, insn2 = insnj; > -+ slot1 = insnj, slot2 = insns[insn_count-2]; > -+ > -+ output_insns[insn_count-2] = slot1; > -+ output_insns[insn_count-1] = slot2; > -+ output_insns[insn_count] = OR1K_NOP; > - } > - else > - { > -+ unsigned slot1, slot2; > -+ > - if (nodelay) > -- insn4 = insnj; > -+ slot1 = insns[insn_count-1], slot2 = insnj; > - else > -- insn4 = insn3, insn3 = insnj; > -+ slot1 = insnj, slot2 = insns[insn_count-1]; > -+ > -+ output_insns[insn_count-1] = slot1; > -+ output_insns[insn_count] = slot2; > - } > - > -- bfd_put_32 (output_bfd, insn1, contents); > -- bfd_put_32 (output_bfd, insn2, contents + 4); > -- bfd_put_32 (output_bfd, insn3, contents + 8); > -- bfd_put_32 (output_bfd, insn4, contents + 12); > -+ /* Write out the output buffer. */ > -+ for (size_t i = 0; i < (insn_count+1); i++) > -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); > - } > - > - /* Finish up the dynamic sections. */ > -@@ -2269,7 +2299,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, > - splt = htab->root.splt; > - if (splt && splt->size > 0) > - { > -- unsigned plt0, plt1, plt2; > -+ unsigned plt[PLT_MAX_INSN_COUNT]; > -+ size_t plt_insn_count = 3; > - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; > - > - /* Note we force 16 byte alignment on the .got, so that > -@@ -2280,27 +2311,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, > - bfd_vma pc = splt->output_section->vma + splt->output_offset; > - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; > - unsigned po = got_addr & 0x1fff; > -- plt0 = OR1K_ADRP(12) | pa; > -- plt1 = OR1K_LWZ(15,12) | (po + 8); > -- plt2 = OR1K_LWZ(12,12) | (po + 4); > -+ plt[0] = OR1K_ADRP(12) | pa; > -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); > -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); > - } > - else if (bfd_link_pic (info)) > - { > -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ > -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ > -- plt2 = OR1K_NOP; > -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ > -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ > -+ plt[2] = OR1K_NOP; > - } > - else > - { > - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; > - unsigned lo = got_addr & 0xffff; > -- plt0 = OR1K_MOVHI(12) | ha; > -- plt1 = OR1K_LWZ(15,12) | (lo + 8); > -- plt2 = OR1K_LWZ(12,12) | (lo + 4); > -+ plt[0] = OR1K_MOVHI(12) | ha; > -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); > -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); > - } > - > -- or1k_write_plt_entry (output_bfd, splt->contents, > -- plt0, plt1, plt2, OR1K_JR(15)); > -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), > -+ plt, plt_insn_count); > - > - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; > - } > -@@ -2343,7 +2374,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - > - if (h->plt.offset != (bfd_vma) -1) > - { > -- unsigned int plt0, plt1, plt2; > -+ unsigned int plt[PLT_MAX_INSN_COUNT]; > -+ size_t plt_insn_count = 3; > - asection *splt; > - asection *sgot; > - asection *srela; > -@@ -2355,6 +2387,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - bfd_vma got_offset; > - bfd_vma got_addr; > - Elf_Internal_Rela rela; > -+ bfd_boolean large_plt_entry; > - > - /* This symbol has an entry in the procedure linkage table. Set > - it up. */ > -@@ -2372,10 +2405,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - corresponds to this symbol. This is the index of this symbol > - in all the symbols for which we are making plt entries. The > - first entry in the procedure linkage table is reserved. */ > -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; > -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; > - plt_addr = plt_base_addr + h->plt.offset; > - plt_reloc = plt_index * sizeof (Elf32_External_Rela); > - > -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) > -+ == PLT_ENTRY_SIZE_LARGE); > -+ > - /* Get the offset into the .got table of the entry that > - corresponds to this function. Each .got entry is 4 bytes. > - The first three are reserved. */ > -@@ -2387,27 +2423,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, > - { > - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; > - unsigned po = (got_addr & 0x1fff); > -- plt0 = OR1K_ADRP(12) | pa; > -- plt1 = OR1K_LWZ(12,12) | po; > -- plt2 = OR1K_ORI0(11) | plt_reloc; > -+ plt[0] = OR1K_ADRP(12) | pa; > -+ plt[1] = OR1K_LWZ(12,12) | po; > -+ plt[2] = OR1K_ORI0(11) | plt_reloc; > - } > - else if (bfd_link_pic (info)) > - { > -- plt0 = OR1K_LWZ(12,16) | got_offset; > -- plt1 = OR1K_ORI0(11) | plt_reloc; > -- plt2 = OR1K_NOP; > -+ if (large_plt_entry) > -+ { > -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; > -+ unsigned got = got_offset & 0xffff; > -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; > -+ unsigned pltrello = plt_reloc & 0xffff; > -+ > -+ plt[0] = OR1K_MOVHI(12) | gotha; > -+ plt[1] = OR1K_ADD(12,12,16); > -+ plt[2] = OR1K_LWZ(12,12) | got; > -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; > -+ plt[4] = OR1K_ORI(11,11) | pltrello; > -+ plt_insn_count = 5; > -+ } > -+ else > -+ { > -+ plt[0] = OR1K_LWZ(12,16) | got_offset; > -+ plt[1] = OR1K_ORI0(11) | plt_reloc; > -+ plt[2] = OR1K_NOP; > -+ } > - } > - else > - { > - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; > - unsigned lo = got_addr & 0xffff; > -- plt0 = OR1K_MOVHI(12) | ha; > -- plt1 = OR1K_LWZ(12,12) | lo; > -- plt2 = OR1K_ORI0(11) | plt_reloc; > -+ plt[0] = OR1K_MOVHI(12) | ha; > -+ plt[1] = OR1K_LWZ(12,12) | lo; > -+ plt[2] = OR1K_ORI0(11) | plt_reloc; > -+ } > -+ > -+ /* For large code model we fixup the non-PIC PLT relocation instructions > -+ here. */ > -+ if (large_plt_entry && !bfd_link_pic (info)) > -+ { > -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; > -+ unsigned pltrello = plt_reloc & 0xffff; > -+ > -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; > -+ plt[3] = OR1K_ORI(11,11) | pltrello; > -+ plt[4] = OR1K_NOP; > -+ plt_insn_count = 5; > - } > - > - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, > -- plt0, plt1, plt2, OR1K_JR(12)); > -+ OR1K_JR(12), plt, plt_insn_count); > - > - /* Fill in the entry in the global offset table. */ > - bfd_put_32 (output_bfd, plt_addr, sgot->contents + got_offset); > -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) > - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) > - { > - asection *s = htab->root.splt; > -+ bfd_vma plt_index; > -+ > -+ /* Track the index of our plt entry for use in calculating size. */ > -+ plt_index = htab->plt_count++; > -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; > - > - /* If this is the first .plt entry, make room for the special > - first entry. */ > - if (s->size == 0) > -- s->size = PLT_ENTRY_SIZE; > -+ s->size = elf_or1k_plt_entry_size (plt_index); > - > - h->plt.offset = s->size; > - > -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) > - } > - > - /* Make room for this entry. */ > -- s->size += PLT_ENTRY_SIZE; > -+ s->size += elf_or1k_plt_entry_size (plt_index); > - > - /* We also need to make an entry in the .got.plt section, which > - will be placed in the .got section by the linker script. */ > -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd > -new file mode 100644 > -index 00000000000..0ad1f8f5399 > ---- /dev/null > -+++ b/ld/testsuite/ld-or1k/gotha1.dd > -@@ -0,0 +1,34 @@ > -+ > -+.*\.x: file format elf32-or1k > -+ > -+ > -+Disassembly of section \.plt: > -+ > -+[0-9a-f]+ <\.plt>: > -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 > -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) > -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 > -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) > -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 > -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) > -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 > -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 > -+ > -+Disassembly of section \.text: > -+ > -+[0-9a-f]+ <_start>: > -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 > -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 > -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> > -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 > -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ > -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 > -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 > -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 > -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) > -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) > -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> > -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 > -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) > -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 > -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 > -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s > -new file mode 100644 > -index 00000000000..42b16db425c > ---- /dev/null > -+++ b/ld/testsuite/ld-or1k/gotha1.s > -@@ -0,0 +1,24 @@ > -+ .data > -+ .p2align 16 > -+ > -+ .text > -+ .globl _start > -+_start: > -+ l.addi r1, r1, -4 > -+ l.sw 0(r1), r9 > -+ > -+ l.jal 8 > -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) > -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) > -+ l.add r19, r19, r9 > -+ > -+ l.movhi r17, gotha(x) > -+ l.add r17, r17, r19 > -+ l.lwz r17, got(x)(r17) > -+ l.lwz r3, 0(r17) > -+ > -+ l.jal plt(func) > -+ l.nop > -+ l.lwz r9, 0(r1) > -+ l.jr r9 > -+ l.addi r1, r1, 4 > -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd > -new file mode 100644 > -index 00000000000..fe09da5466b > ---- /dev/null > -+++ b/ld/testsuite/ld-or1k/gotha2.dd > -@@ -0,0 +1,21 @@ > -+ > -+.*\.x: file format elf32-or1k > -+ > -+ > -+Disassembly of section \.text: > -+ > -+[0-9a-f]+ : > -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 > -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 > -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 > -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ > -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 > -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ > -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 > -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 > -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 > -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) > -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) > -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) > -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 > -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 > -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s > -new file mode 100644 > -index 00000000000..164b282f2dd > ---- /dev/null > -+++ b/ld/testsuite/ld-or1k/gotha2.s > -@@ -0,0 +1,22 @@ > -+ .section .text > -+ .align 4 > -+ .global test > -+ .type test, @function > -+test: > -+ l.addi r1, r1, -8 > -+ l.sw 0(r1), r16 > -+ l.sw 4(r1), r9 > -+ > -+ l.jal 8 > -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) > -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) > -+ l.add r16, r16, r9 > -+ > -+ l.movhi r17, gotha(i) > -+ l.add r17, r17, r16 > -+ l.lwz r17, got(i)(r17) > -+ > -+ l.lwz r9, 4(r1) > -+ l.lwz r16, 0(r1) > -+ l.jr r9 > -+ l.addi r1, r1, 8 > -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp > -index 24cdbe5fbf3..9cebc49b946 100644 > ---- a/ld/testsuite/ld-or1k/or1k.exp > -+++ b/ld/testsuite/ld-or1k/or1k.exp > -@@ -53,6 +53,14 @@ set or1kplttests { > - "" {plt1.s} > - {{objdump -dr plt1.x.dd}} > - "plt1.x"} > -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" > -+ "" {gotha1.s} > -+ {{objdump -dr gotha1.dd}} > -+ "gotha1.x"} > -+ {"gotha -fpic -shared" "-fpic -shared" "" > -+ "" {gotha2.s} > -+ {{objdump -dr gotha2.dd}} > -+ "gotha2.x"} > - } > - > - # Not implemented yet > -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s > -index baf76ca1af7..8b4d7ba48fd 100644 > ---- a/ld/testsuite/ld-or1k/pltlib.s > -+++ b/ld/testsuite/ld-or1k/pltlib.s > -@@ -1,5 +1,6 @@ > - .section .data > - .globl x, y > -+ .size x, 4 > - x: .long 33 > - y: .long 44 > - > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch > deleted file mode 100644 > index c3978e22fa..0000000000 > --- a/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch > +++ /dev/null > @@ -1,50 +0,0 @@ > -From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 > -From: Giulio Benetti > -Date: Wed, 9 Jun 2021 17:28:27 +0200 > -Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 > - > -Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use > -an old compiler(i.e. gcc 4.9) build fails on: > -``` > -elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in > -C99 or C11 mode > - for (size_t i = 0; i < insn_count; i++) > - ^ > -``` > - > -So let's declare `size_t i` at the top of the function instead of inside > -for loop. > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 5 +++-- > - 1 file changed, 3 insertions(+), 2 deletions(-) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 4ae7f324d33..32063ab0289 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, > - { > - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; > - unsigned output_insns[PLT_MAX_INSN_COUNT]; > -+ size_t i; > - > - /* Copy instructions into the output buffer. */ > -- for (size_t i = 0; i < insn_count; i++) > -+ for (i = 0; i < insn_count; i++) > - output_insns[i] = insns[i]; > - > - /* Honor the no-delay-slot setting. */ > -@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, > - } > - > - /* Write out the output buffer. */ > -- for (size_t i = 0; i < (insn_count+1); i++) > -+ for (i = 0; i < (insn_count+1); i++) > - bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); > - } > - > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch > deleted file mode 100644 > index 585b97b2af..0000000000 > --- a/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch > +++ /dev/null > @@ -1,59 +0,0 @@ > -From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 > -From: Giulio Benetti > -Date: Sat, 10 Jul 2021 17:57:34 +0200 > -Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC > - relative 26 bit relocation > - > -When building openal we were seeing the assert failure: > - > -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: > -pc-relative relocation against dynamic symbol alSourcePausev > -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: > -pc-relative relocation against dynamic symbol alSourceStopv > -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: > -pc-relative relocation against dynamic symbol alSourceRewindv > -/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: > -pc-relative relocation against dynamic symbol alSourcePlayv > -collect2: error: ld returned 1 exit status > - > -This happens because in R_OR1K_INSN_REL_26 case we can't reference local > -symbol as previously done but we need to make sure that calls to actual > -symbol always call the version of current object. > - > -bfd/Changelog: > - > - * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry > - in switch case R_OR1K_INSN_REL_26 where we need to check for > - !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 12 ++++++++++++ > - 1 file changed, 12 insertions(+) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index 4ae7f324d33..4f9092539f5 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, > - break; > - > - case R_OR1K_INSN_REL_26: > -+ /* For a non-shared link, these will reference plt or call the > -+ version of actual object. */ > -+ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) > -+ { > -+ _bfd_error_handler > -+ (_("%pB: pc-relative relocation against dynamic symbol %s"), > -+ input_bfd, name); > -+ ret_val = FALSE; > -+ bfd_set_error (bfd_error_bad_value); > -+ } > -+ break; > -+ > - case R_OR1K_PCREL_PG21: > - case R_OR1K_LO13: > - case R_OR1K_SLO13: > --- > -2.25.1 > - > diff --git a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch > deleted file mode 100644 > index 7e92e2bfd8..0000000000 > --- a/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch > +++ /dev/null > @@ -1,75 +0,0 @@ > -From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 > -From: Stafford Horne > -Date: Sun, 2 Jan 2022 09:03:28 +0900 > -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special > - howto > - > -Previously when fixing PR 21464 we masked out upper bits of the > -relocation value in order to avoid overflow complaints when acceptable. > -It turns out this does not work when the relocation value ends up being > -signed. > - > -To fix this this patch introduces a special howto with > -complain_on_overflow set to complain_overflow_dont. This is used in > -place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 > -relocations. > - > -bfd/ChangeLog: > - > - PR 28735 > - * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. > - (or1k_elf_relocate_section): Use new howto instead of trying to > - mask out relocation bits. > - > -Signed-off-by: Giulio Benetti > ---- > - bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- > - 1 file changed, 20 insertions(+), 4 deletions(-) > - > -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c > -index cfa292f0032..ecb70753b6a 100644 > ---- a/bfd/elf32-or1k.c > -+++ b/bfd/elf32-or1k.c > -@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = > - FALSE), /* pcrel_offset */ > - }; > - > -+/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 > -+ relocations when we know we can ignore overflows. */ > -+static reloc_howto_type or1k_elf_got16_no_overflow_howto = > -+ HOWTO (R_OR1K_GOT16, /* type */ > -+ 0, /* rightshift */ > -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ > -+ 16, /* bitsize */ > -+ FALSE, /* pc_relative */ > -+ 0, /* bitpos */ > -+ complain_overflow_dont, /* complain_on_overflow */ > -+ bfd_elf_generic_reloc, /* special_function */ > -+ "R_OR1K_GOT16", /* name */ > -+ FALSE, /* partial_inplace */ > -+ 0, /* src_mask */ > -+ 0xffff, /* dst_mask */ > -+ FALSE); /* pcrel_offset */ > -+ > - /* Map BFD reloc types to Or1k ELF reloc types. */ > - > - struct or1k_reloc_map > -@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, > - if (r_type == R_OR1K_GOT_AHI16) > - saw_gotha = TRUE; > - > -- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 > -+ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 > - relocation we assume the code is doing the right thing to avoid > -- overflows. Here we mask the lower 16-bit of the relocation to > -- avoid overflow validation failures. */ > -+ overflows. */ > - if (r_type == R_OR1K_GOT16 && saw_gotha) > -- relocation &= 0xffff; > -+ howto = &or1k_elf_got16_no_overflow_howto; > - > - /* Addend should be zero. */ > - if (rel->r_addend != 0) > --- > -2.25.1 > - > diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host > index 4382b32237..ef1b2a94db 100644 > --- a/package/binutils/Config.in.host > +++ b/package/binutils/Config.in.host > @@ -12,10 +12,6 @@ choice > help > Select the version of binutils you wish to use. > > -config BR2_BINUTILS_VERSION_2_32_X > - bool "binutils 2.32" > - depends on !BR2_csky > - > config BR2_BINUTILS_VERSION_2_36_X > bool "binutils 2.36.1" > depends on !BR2_csky > @@ -35,7 +31,6 @@ endchoice > config BR2_BINUTILS_VERSION > string > default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC > - default "2.32" if BR2_BINUTILS_VERSION_2_32_X > default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X > default "2.37" if BR2_BINUTILS_VERSION_2_37_X > default "2.38" if BR2_BINUTILS_VERSION_2_38_X > diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash > index 4141e0c5f2..e98cb85275 100644 > --- a/package/binutils/binutils.hash > +++ b/package/binutils/binutils.hash > @@ -1,5 +1,4 @@ > # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum > -sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz > sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz > sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz > sha512 8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From thomas.petazzoni at bootlin.com Thu Apr 28 21:53:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:53:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-zattoo: bump version to 19.7.14-Matrix In-Reply-To: <20220427202524.53586-1-bernd.kuhls@t-online.de> References: <20220427202524.53586-1-bernd.kuhls@t-online.de> Message-ID: <20220428235339.51dedc2c@windsurf> On Wed, 27 Apr 2022 22:25:24 +0200 Bernd Kuhls wrote: > Signed-off-by: Bernd Kuhls > --- > package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- > package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 21:53:45 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:53:45 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-zattoo: bump version to 19.7.14-Matrix Message-ID: <20220428214335.A018484729@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7badb943a8b2495cdd5034a9ca95ea73e01afab0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash index 4f9a60e942..d7693bdfb0 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 64fbbb6c816993b39d35fa000e76b9cb1846ae8ae580e807da943f51e4a3afd7 kodi-pvr-zattoo-19.7.13-Matrix.tar.gz +sha256 ccd27cfbfee58df9acc71df0661bd56ff34fbf7d9afc8de78d3224d33b30ef44 kodi-pvr-zattoo-19.7.14-Matrix.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk index f2badeaa05..658db25f27 100644 --- a/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ b/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 19.7.13-Matrix +KODI_PVR_ZATTOO_VERSION = 19.7.14-Matrix KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md From thomas.petazzoni at bootlin.com Thu Apr 28 21:55:36 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 28 Apr 2022 23:55:36 +0200 Subject: [Buildroot] [PATCH] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" In-Reply-To: <20220428215003.GG3624965@scaer> References: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> <20220428215003.GG3624965@scaer> Message-ID: <20220428235536.73948423@windsurf> On Thu, 28 Apr 2022 23:50:03 +0200 "Yann E. MORIN" wrote: > On 2022-04-28 23:20 +0200, Thomas Petazzoni via buildroot spake thusly: > > This reverts commit 8945ba49480a7885d104445ca855ef7681a374ff. > > This is a commit on the 2022.02.x branch; it is a backport of > 8e91385a2cb81c5f8114354f4494230e2aebb93a on master. > > Did you meant this patch to be applied only to 2022.02.x? No. > I would believe it should be applied to master and backported to 2022.02 > instead, no? Yes, absolutely. I referred to 8e91385a2cb81c5f8114354f4494230e2aebb93a because that's what the bug reporter pointed to as the offending commit, as the bug report is on the 2022.02.x branch. Though I agree the commit log should probably refer to the commit in master. I can send a v2 if needed. Thanks for the review! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Thu Apr 28 22:00:39 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 29 Apr 2022 00:00:39 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/binutils: drop version 2.32 In-Reply-To: <20220428215220.GI3624965@scaer> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> <20220428205548.524402-4-thomas.petazzoni@bootlin.com> <20220428215220.GI3624965@scaer> Message-ID: <20220429000039.23e1a1fe@windsurf> On Thu, 28 Apr 2022 23:52:20 +0200 "Yann E. MORIN" wrote: > I was considering on not applying that one, so we could have a fallback > in case there were runtime issues reported with newer binutils (I could > only build-test your series, I lack a noMMU target). > > But if that happens to be the case, we can revert this patch quite > easily. > > so, applied to master, thanks. Really if people still need to use binutils 2.32 and none of the newer binutils version work for FLAT, I would call FLAT an unmaintained use-case, which should lead us to drop support for it rather than keeping an old binutils version around. I don't know if there's an easy way to test an ARM noMMU build in Qemu. https://xpack.github.io/qemu-arm/ which is a fork of Qemu, seems to emulate STM32F429I-Discovery, which we have support for in Buildroot. Not clear if the source is available, but since Qemu is GPLv2, I guess the source code for this fork should be available somewhere. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Thu Apr 28 22:03:01 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 00:03:01 +0200 Subject: [Buildroot] [git commit] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" Message-ID: <20220428215252.3084384736@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=77fc4580254997c1f9f83efabd061e81de0b022e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This reverts commit 8e91385a2cb81c5f8114354f4494230e2aebb93a. This commit is incorrect, as it is perfectly valid for BR2_TOOLCHAIN_EXTERNAL_PATH to be empty. The help text of BR2_TOOLCHAIN_EXTERNAL_PATH even documents it as a supported case: If empty, the compiler will be searched in $PATH. Commit 392b0a26f5fd8d3aedce7e0c15f9762a79312f01 ("toolchain-external: default BR2_TOOLCHAIN_EXTERNAL_PATH to empty") even made that the default saying "In addition, it in fact works correctly when it is empty. In that case, the toolchain will be searched in PATH." A user has reported that commit 8945ba49480a7885d104445ca855ef7681a374ff (the backport of 8e91385a2c to the 2022.02.x LTS branch) breaks his use-case: https://lore.kernel.org/buildroot/CADBnMvhgaozAgZgy3njckjL1i0U6bZ0fLrq-kdFF-qpGhFWgmw at mail.gmail.com/ Reported-by: Kristof Havasi Signed-off-by: Thomas Petazzoni [yann.morin.1998 at free.fr: reference 8e91385a2c on master] Signed-off-by: Yann E. MORIN --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 ----- 1 file changed, 5 deletions(-) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index c7f4175c9e..299b6008aa 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -69,12 +69,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) -ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) -$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) -endif endif -endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) From yann.morin.1998 at free.fr Thu Apr 28 22:04:45 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 00:04:45 +0200 Subject: [Buildroot] [PATCH] Revert "toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set" In-Reply-To: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> References: <20220428212011.534725-1-thomas.petazzoni@bootlin.com> Message-ID: <20220428220445.GJ3624965@scaer> Thomas, All, On 2022-04-28 23:20 +0200, Thomas Petazzoni via buildroot spake thusly: > This reverts commit 8945ba49480a7885d104445ca855ef7681a374ff. I've changes this to the corresponding sha1 on master. > This commit is incorrect, as it is perfectly valid for > BR2_TOOLCHAIN_EXTERNAL_PATH to be empty. The help text of > BR2_TOOLCHAIN_EXTERNAL_PATH even documents it as a supported case: > > If empty, the compiler will be searched in $PATH. > > Commit 392b0a26f5fd8d3aedce7e0c15f9762a79312f01 ("toolchain-external: > default BR2_TOOLCHAIN_EXTERNAL_PATH to empty") even made that the > default saying "In addition, it in fact works correctly when it is > empty. In that case, the toolchain will be searched in PATH." > > A user has reported that commit > 8945ba49480a7885d104445ca855ef7681a374ff breaks his use-case: And here I kept that hash and added a comment that it's a backpor of the commit on master. > https://lore.kernel.org/buildroot/CADBnMvhgaozAgZgy3njckjL1i0U6bZ0fLrq-kdFF-qpGhFWgmw at mail.gmail.com/ > > Reported-by: Kristof Havasi > Signed-off-by: Thomas Petazzoni Applied to master, thanks. > --- > This should be backported to 2022.02.x Ah, I missed that post-cpmmit-log mesage earlier. Regards, Yann E. MORIN. > --- > toolchain/toolchain-external/pkg-toolchain-external.mk | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk > index c7f4175c9e..299b6008aa 100644 > --- a/toolchain/toolchain-external/pkg-toolchain-external.mk > +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk > @@ -69,12 +69,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) > else > TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) > -ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) > -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) > -$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) > -endif > endif > -endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD > > ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) > ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From james.hilliard1 at gmail.com Thu Apr 28 22:05:57 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:05:57 -0600 Subject: [Buildroot] [PATCH 1/3] package/pkg-python: deduplicate common env/opts variables Message-ID: <20220428220559.1236052-1-james.hilliard1@gmail.com> There are many varibles shared via setuptools, distutils and pep517, combine those common env/opts variables to make them easier to maintain. Signed-off-by: James Hilliard --- package/pkg-python.mk | 95 +++++++++++++++++++------------------------ 1 file changed, 42 insertions(+), 53 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e9de5cb8d3..852ab25619 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -33,78 +33,76 @@ PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` -# Target distutils-based packages -PKG_PYTHON_DISTUTILS_ENV = \ +# Target python packages +PKG_PYTHON_ENV = \ + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ PATH=$(BR_PATH) \ $(TARGET_CONFIGURE_OPTS) \ - LDSHARED="$(TARGET_CROSS)gcc -shared" \ PYTHONPATH="$(PYTHON3_PATH)" \ PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ _python_sysroot=$(STAGING_DIR) \ _python_prefix=/usr \ _python_exec_prefix=/usr +# Host python packages +HOST_PKG_PYTHON_ENV = \ + PATH=$(BR_PATH) \ + PYTHONNOUSERSITE=1 \ + $(HOST_CONFIGURE_OPTS) + +# Target distutils-based packages +PKG_PYTHON_DISTUTILS_ENV = \ + $(PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ --executable=/usr/bin/python -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + --prefix=/usr + +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host distutils-based packages HOST_PKG_PYTHON_DISTUTILS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) # Target setuptools-based packages PKG_PYTHON_SETUPTOOLS_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --prefix=/usr \ --executable=/usr/bin/python \ - --single-version-externally-managed \ + --single-version-externally-managed + +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host setuptools-based packages HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) \ @@ -113,28 +111,21 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) -PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_PEP517_INSTALL_OPTS = \ --interpreter=/usr/bin/python \ - --script-kind=posix \ + --script-kind=posix + +PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(TARGET_DIR)/usr/bin \ --data=$(TARGET_DIR)/usr PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ - --interpreter=/usr/bin/python \ - --script-kind=posix \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(STAGING_DIR)/usr/bin \ @@ -142,9 +133,7 @@ PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ # Host pep517-based packages HOST_PKG_PYTHON_PEP517_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:05:58 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:05:58 -0600 Subject: [Buildroot] [PATCH 2/3] package/pkg-python: add setuptools-rust infrastructure In-Reply-To: <20220428220559.1236052-1-james.hilliard1@gmail.com> References: <20220428220559.1236052-1-james.hilliard1@gmail.com> Message-ID: <20220428220559.1236052-2-james.hilliard1@gmail.com> The setuptools-rust package infrastructure is essentially a variant of the setuptools package infrastructure which sets up the env and download hooks required for building setuptools-rust packages. Signed-off-by: James Hilliard --- package/pkg-python.mk | 46 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 852ab25619..deecaa6e8e 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -109,6 +109,24 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --root=/ \ --single-version-externally-managed +# Target setuptools-rust-based packages +PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ + $(PKG_PYTHON_SETUPTOOLS_ENV) \ + $(PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV = \ + $(PKG_CARGO_ENV) + +# Host setuptools-rust-based packages +HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ + $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ + $(HOST_PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +HOST_PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV = \ + $(HOST_PKG_CARGO_ENV) + # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ $(PKG_PYTHON_ENV) @@ -176,14 +194,30 @@ $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) endif # Setuptools -else ifeq ($$($(2)_SETUP_TYPE),setuptools) +else ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_ENV) +$(2)_DL_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV) +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_CARGO_MANIFEST_PATH) +else $(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) +endif $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_TARGET_CMD = setup.py install --no-compile $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) $(2)_BASE_INSTALL_STAGING_CMD = setup.py install $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) else +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV) +$(2)_DL_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV) +ifndef $(2)_CARGO_MANIFEST_PATH +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(3)_CARGO_MANIFEST_PATH) +else +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_CARGO_MANIFEST_PATH) +endif +else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) +endif $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif @@ -207,7 +241,7 @@ $(2)_BASE_BUILD_CMD = -m flit_core.wheel $(2)_BASE_INSTALL_CMD ?= -m installer dist/* endif else -$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") +$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'setuptools-rust', 'pep517' or 'flit'.") endif # Target packages need both the python interpreter on the target (for @@ -224,8 +258,14 @@ endif # ($(4),target) # Setuptools based packages will need setuptools for the host Python # interpreter (both host and target). # -ifeq ($$($(2)_SETUP_TYPE),setuptools) +ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_DEPENDENCIES += host-python-setuptools-rust host-rustc +# We need to vendor the Cargo crates at download time +$(2)_DOWNLOAD_POST_PROCESS = cargo +$(2)_DOWNLOAD_DEPENDENCIES = host-rustc +endif else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:05:59 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:05:59 -0600 Subject: [Buildroot] [PATCH 3/3] package/python-cryptography: migrate to setuptools-rust infrastructure In-Reply-To: <20220428220559.1236052-1-james.hilliard1@gmail.com> References: <20220428220559.1236052-1-james.hilliard1@gmail.com> Message-ID: <20220428220559.1236052-3-james.hilliard1@gmail.com> We can now significantly simplify the python-cryptography build using the new setuptools-rust setup type introduced in the python package infrastructure. Signed-off-by: James Hilliard --- .../python-cryptography.mk | 30 +++---------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 7714b9ad88..e3fde91c5b 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -7,36 +7,14 @@ PYTHON_CRYPTOGRAPHY_VERSION = 37.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/3d/5f/addb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3 -PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools +PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools-rust PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography -PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python-setuptools-rust \ - host-python-cffi \ - host-rustc \ - openssl -HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python-setuptools-rust \ - host-python-cffi \ - host-rustc \ - host-openssl -PYTHON_CRYPTOGRAPHY_ENV = \ - $(PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -HOST_PYTHON_CRYPTOGRAPHY_ENV = \ - $(HOST_PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -# We need to vendor the Cargo crates at download time -PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo -PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc -PYTHON_CRYPTOGRAPHY_DL_ENV = \ - $(PKG_CARGO_ENV) \ - BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml -HOST_PYTHON_CRYPTOGRAPHY_DL_ENV = \ - $(HOST_PKG_CARGO_ENV) \ - BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml +PYTHON_CRYPTOGRAPHY_CARGO_MANIFEST_PATH = src/rust/Cargo.toml +PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl +HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi host-openssl $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:17:25 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:17:25 -0600 Subject: [Buildroot] [PATCH v2 1/3] package/pkg-python: deduplicate common env/opts variables Message-ID: <20220428221727.1680234-1-james.hilliard1@gmail.com> There are many varibles shared via setuptools, distutils and pep517, combine those common env/opts variables to make them easier to maintain. Signed-off-by: James Hilliard --- Changes v1 -> v2: - restore accidentially dropped LDSHARED in distutils env --- package/pkg-python.mk | 96 +++++++++++++++++++------------------------ 1 file changed, 43 insertions(+), 53 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e9de5cb8d3..b86e12423f 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -33,78 +33,77 @@ PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` -# Target distutils-based packages -PKG_PYTHON_DISTUTILS_ENV = \ +# Target python packages +PKG_PYTHON_ENV = \ + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ PATH=$(BR_PATH) \ $(TARGET_CONFIGURE_OPTS) \ - LDSHARED="$(TARGET_CROSS)gcc -shared" \ PYTHONPATH="$(PYTHON3_PATH)" \ PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ _python_sysroot=$(STAGING_DIR) \ _python_prefix=/usr \ _python_exec_prefix=/usr +# Host python packages +HOST_PKG_PYTHON_ENV = \ + PATH=$(BR_PATH) \ + PYTHONNOUSERSITE=1 \ + $(HOST_CONFIGURE_OPTS) + +# Target distutils-based packages +PKG_PYTHON_DISTUTILS_ENV = \ + $(PKG_PYTHON_ENV) \ + LDSHARED="$(TARGET_CROSS)gcc -shared" \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ --executable=/usr/bin/python -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + --prefix=/usr + +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host distutils-based packages HOST_PKG_PYTHON_DISTUTILS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) # Target setuptools-based packages PKG_PYTHON_SETUPTOOLS_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --prefix=/usr \ --executable=/usr/bin/python \ - --single-version-externally-managed \ + --single-version-externally-managed + +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host setuptools-based packages HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) \ @@ -113,28 +112,21 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) -PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_PEP517_INSTALL_OPTS = \ --interpreter=/usr/bin/python \ - --script-kind=posix \ + --script-kind=posix + +PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(TARGET_DIR)/usr/bin \ --data=$(TARGET_DIR)/usr PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ - --interpreter=/usr/bin/python \ - --script-kind=posix \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(STAGING_DIR)/usr/bin \ @@ -142,9 +134,7 @@ PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ # Host pep517-based packages HOST_PKG_PYTHON_PEP517_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:17:27 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:17:27 -0600 Subject: [Buildroot] [PATCH v2 3/3] package/python-cryptography: migrate to setuptools-rust infrastructure In-Reply-To: <20220428221727.1680234-1-james.hilliard1@gmail.com> References: <20220428221727.1680234-1-james.hilliard1@gmail.com> Message-ID: <20220428221727.1680234-3-james.hilliard1@gmail.com> We can now significantly simplify the python-cryptography build using the new setuptools-rust setup type introduced in the python package infrastructure. Signed-off-by: James Hilliard --- .../python-cryptography.mk | 30 +++---------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 7714b9ad88..e3fde91c5b 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -7,36 +7,14 @@ PYTHON_CRYPTOGRAPHY_VERSION = 37.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/3d/5f/addb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3 -PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools +PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools-rust PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography -PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python-setuptools-rust \ - host-python-cffi \ - host-rustc \ - openssl -HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python-setuptools-rust \ - host-python-cffi \ - host-rustc \ - host-openssl -PYTHON_CRYPTOGRAPHY_ENV = \ - $(PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -HOST_PYTHON_CRYPTOGRAPHY_ENV = \ - $(HOST_PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -# We need to vendor the Cargo crates at download time -PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo -PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc -PYTHON_CRYPTOGRAPHY_DL_ENV = \ - $(PKG_CARGO_ENV) \ - BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml -HOST_PYTHON_CRYPTOGRAPHY_DL_ENV = \ - $(HOST_PKG_CARGO_ENV) \ - BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml +PYTHON_CRYPTOGRAPHY_CARGO_MANIFEST_PATH = src/rust/Cargo.toml +PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl +HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi host-openssl $(eval $(python-package)) $(eval $(host-python-package)) -- 2.25.1 From james.hilliard1 at gmail.com Thu Apr 28 22:17:26 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Thu, 28 Apr 2022 16:17:26 -0600 Subject: [Buildroot] [PATCH v2 2/3] package/pkg-python: add setuptools-rust infrastructure In-Reply-To: <20220428221727.1680234-1-james.hilliard1@gmail.com> References: <20220428221727.1680234-1-james.hilliard1@gmail.com> Message-ID: <20220428221727.1680234-2-james.hilliard1@gmail.com> The setuptools-rust package infrastructure is essentially a variant of the setuptools package infrastructure which sets up the env and download hooks required for building setuptools-rust packages. Signed-off-by: James Hilliard --- package/pkg-python.mk | 46 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index b86e12423f..a9bb12550c 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -110,6 +110,24 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --root=/ \ --single-version-externally-managed +# Target setuptools-rust-based packages +PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ + $(PKG_PYTHON_SETUPTOOLS_ENV) \ + $(PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV = \ + $(PKG_CARGO_ENV) + +# Host setuptools-rust-based packages +HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ + $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ + $(HOST_PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +HOST_PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV = \ + $(HOST_PKG_CARGO_ENV) + # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ $(PKG_PYTHON_ENV) @@ -177,14 +195,30 @@ $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) endif # Setuptools -else ifeq ($$($(2)_SETUP_TYPE),setuptools) +else ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_ENV) +$(2)_DL_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV) +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_CARGO_MANIFEST_PATH) +else $(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) +endif $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_TARGET_CMD = setup.py install --no-compile $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) $(2)_BASE_INSTALL_STAGING_CMD = setup.py install $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) else +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV) +$(2)_DL_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_DL_ENV) +ifndef $(2)_CARGO_MANIFEST_PATH +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(3)_CARGO_MANIFEST_PATH) +else +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_CARGO_MANIFEST_PATH) +endif +else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) +endif $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) endif @@ -208,7 +242,7 @@ $(2)_BASE_BUILD_CMD = -m flit_core.wheel $(2)_BASE_INSTALL_CMD ?= -m installer dist/* endif else -$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'pep517' or 'flit'.") +$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils', 'setuptools', 'setuptools-rust', 'pep517' or 'flit'.") endif # Target packages need both the python interpreter on the target (for @@ -225,8 +259,14 @@ endif # ($(4),target) # Setuptools based packages will need setuptools for the host Python # interpreter (both host and target). # -ifeq ($$($(2)_SETUP_TYPE),setuptools) +ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) +ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) +$(2)_DEPENDENCIES += host-python-setuptools-rust host-rustc +# We need to vendor the Cargo crates at download time +$(2)_DOWNLOAD_POST_PROCESS = cargo +$(2)_DOWNLOAD_DEPENDENCIES = host-rustc +endif else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) -- 2.25.1 From yann.morin.1998 at free.fr Thu Apr 28 23:02:10 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 01:02:10 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/binutils: drop version 2.32 In-Reply-To: <20220429000039.23e1a1fe@windsurf> References: <20220428205548.524402-1-thomas.petazzoni@bootlin.com> <20220428205548.524402-4-thomas.petazzoni@bootlin.com> <20220428215220.GI3624965@scaer> <20220429000039.23e1a1fe@windsurf> Message-ID: <20220428230210.GL3624965@scaer> Thomas, All, On 2022-04-29 00:00 +0200, Thomas Petazzoni spake thusly: > On Thu, 28 Apr 2022 23:52:20 +0200 > "Yann E. MORIN" wrote: > > > I was considering on not applying that one, so we could have a fallback > > in case there were runtime issues reported with newer binutils (I could > > only build-test your series, I lack a noMMU target). > > > > But if that happens to be the case, we can revert this patch quite > > easily. > > > > so, applied to master, thanks. > > Really if people still need to use binutils 2.32 and none of the newer > binutils version work for FLAT, I would call FLAT an unmaintained > use-case, which should lead us to drop support for it rather than > keeping an old binutils version around. True. > I don't know if there's an easy way to test an ARM noMMU build in Qemu. > https://xpack.github.io/qemu-arm/ which is a fork of Qemu, seems to > emulate STM32F429I-Discovery, which we have support for in Buildroot. > Not clear if the source is available, but since Qemu is GPLv2, I guess > the source code for this fork should be available somewhere. https://github.com/xpack-dev-tools/qemu-arm-xpack >From the README: Easy install The easiest way to install QEMU Arm is using the binary xPack, available as @xpack-dev-tools/qemu-arm from the npmjs.com registry. WTF? The qemu fork seems to be there: https://github.com/xpack-dev-tools/qemu Regards, Yann E. MORIN. > Best regards, > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From thomas.petazzoni at bootlin.com Fri Apr 29 04:46:16 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 29 Apr 2022 04:46:16 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-28 Message-ID: <20220429044622.7F11060B96@smtp3.osuosl.org> Hello, Autobuild statistics for 2022-04-28 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 23 | 8 | 1 | 32 | master | 159 | 270 | 2 | 431 | Classification of failures by reason for master ----------------------------------------------- optee-client-3.17.0 | 24 git-2.31.2 | 12 uclibc-1.0.40 | 11 zchunk-1.2.2 | 10 glibc-2.34-109-gd64b08d5ba7... | 8 host-gcc-final-10.3.0 | 8 libopenssl-1.1.1n | 8 protobuf-3.20.1 | 8 perl-5.34.1 | 7 refpolicy | 7 pciutils-3.8.0 | 6 zlib-ng-2.0.6 | 6 frr-8.2.2 | 5 gobject-introspection-1.70.0 | 5 host-gcc-final-9.4.0 | 5 libressl-3.5.2 | 5 linux-headers-5.10.104-cip3 | 5 qpid-proton-0.35.0 | 5 host-pahole-v1.23 | 4 libldns-1.8.1 | 4 unknown | 4 dash-0.5.11.5 | 3 libv4l-1.22.1 | 3 pipewire-0.3.50 | 3 tinifier-3.4.0 | 3 tor-0.4.6.10 | 3 wavemon-0.9.4 | 3 bat-0.19.0 | 2 bird-2.0.8 | 2 fs/f2fs/f2fs.mk:64: /home/a... | 2 fs/f2fs/f2fs.mk:64: /home/a... | 2 host-gcc-final-11.2.0 | 2 host-libcap-2.63 | 2 libglib2-2.70.4 | 2 libnss-3.77 | 2 linux-5.10.104-cip3-rt3 | 2 linux-5.15.33 | 2 linux-headers-5.15.33 | 2 perl-net-ssleay-1.85 | 2 python-cryptography-36.0.1 | 2 shadowsocks-libev-3.3.5 | 2 uacme-1.7.1 | 2 assimp-5.2.1 | 1 audit-3.0.7 | 1 aufs-util | 1 bcusdk-0.0.5 | 1 boinc-7.18.1 | 1 boost-1.78.0 | 1 containerd-1.6.2 | 1 coremark-1.01 | 1 dmalloc-5.6.5 | 1 docker-proxy-339b972b464ee3... | 1 dropbear-2022.82 | 1 ecryptfs-utils-111 | 1 erofs-utils-1.4 | 1 exempi-2.6.1 | 1 ffmpeg-4.4.1 | 1 ficl-4.1.0 | 1 freeipmi-1.6.9 | 1 freeradius-client-1.1.7 | 1 fs/axfs/axfs.mk:32: /nvmeda... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/ubi/ubi.mk:51: /home/aut... | 1 fs/ubi/ubi.mk:51: /nvmedata... | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gensio-2.2.9 | 1 gnu-efi-3.0.10 | 1 gobject-introspection | 1 gocryptfs-2.2.1 | 1 google-breakpad-c85eb4a59b6... | 1 host-gcc-initial-10.3.0 | 1 host-go-1.18.1 | 1 host-rust-1.60.0 | 1 host-wayland-1.20.0 | 1 igh-ethercat-1.5.2 | 1 json-c-0.15 | 1 kexec-2.0.23 | 1 libcap-ng-0.8.3 | 1 libgcrypt-1.10.1 | 1 liblog4c-localtime-1.0 | 1 libp11-0.4.11 | 1 libwebsockets-4.3.1 | 1 linux-5.10.104-cip3 | 1 linux-fusion-9.0.3 | 1 linux-headers-5.10.104-cip3... | 1 matio-1.5.22 | 1 mongodb | 1 musl-1.2.2 | 1 netsurf-3.10 | 1 nodejs-14.18.3 | 1 openssh-9.0p1 | 1 pixman-0.40.0 | 1 quickjs-2021-03-27 | 1 rtl8189es-39c17661136da48f8... | 1 rtl8189fs-73f826f0fa74b2fc1... | 1 sdl2_ttf-2.0.18 | 1 shim-15.4 | 1 toolchain-external-bootlin | 1 toolchain-external-codescap... | 1 ulog-0389d243352255f6182326... | 1 vlc-3.0.16 | 1 wolfssl-5.2.0 | 1 xenomai-3.0.10 | 1 xenomai-custom | 1 xfsprogs-5.14.2 | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips | assimp-5.2.1 | NOK | http://autobuild.buildroot.net/results/cf0f5662858f57c0b750c2f15e7dc9c168290f36 | armeb | audit-3.0.7 | NOK | http://autobuild.buildroot.net/results/fbd2874a79d0638eae9d6c80486319e3b32bee4d | aarch64_be | aufs-util | NOK | http://autobuild.buildroot.net/results/d5dfd8bb0cad54c8236655c5b01999a5a88c6dbc | i586 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/70c22db3939cba100dd14b3411bf53fd96b2ad5f | arm | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/b6f17643bfd4de3bd31f76f2dddf15f08bac988e | arc | bcusdk-0.0.5 | NOK | http://autobuild.buildroot.net/results/f8ebe5aabf5212e9bcf9ab774c5b130de054924d | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/d3d5edca08c311a6bd9e11e6fd9ae832e7e8b466 | mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/d543cb89df3d8d5aa34f516681479e08d0b7c989 | x86_64 | boinc-7.18.1 | NOK | http://autobuild.buildroot.net/results/15cb79d1597940a82362f21014188ef83620e8c9 | arceb | boost-1.78.0 | NOK | http://autobuild.buildroot.net/results/c68c186049e85d509665a3bf887d581b6534c3b4 | powerpc64le | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/2d7a8d1ef723a21d1274819de80f9e36ab17dc64 | mips64 | coremark-1.01 | NOK | http://autobuild.buildroot.net/results/3c487b47241ea1293b6e893944a2e8c6967faeb0 | or1k | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/6426640af280b6bae6579e2b9cec2b3c9b7b8a8b | ORPH sh4aeb | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/62674b52e072dfc8713e20a8f3bcdcca8bff402d | ORPH microblazeel | dash-0.5.11.5 | NOK | http://autobuild.buildroot.net/results/e9efa01d9952ffe010944d3b3b5d4d5696122bb2 | ORPH mips64 | dmalloc-5.6.5 | NOK | http://autobuild.buildroot.net/results/d2ed6554bcfdc29047d5931dc613d93b6e33ec39 | ORPH x86_64 | docker-proxy-339b972b464ee3... | NOK | http://autobuild.buildroot.net/results/3c2830173693bbfff2f7aef794ca3f6f5bc5fd9f | riscv64 | dropbear-2022.82 | NOK | http://autobuild.buildroot.net/results/18dbba78ae663c316c989f1272ab82fdbb8fc6b6 | nios2 | ecryptfs-utils-111 | NOK | http://autobuild.buildroot.net/results/7c79e43d32f695fa15e4d2f26fc7ed07cbd79f70 | or1k | erofs-utils-1.4 | NOK | http://autobuild.buildroot.net/results/44f14d5bea3cec8aba2687c808e5de1775ab3330 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/afe24bb0afcfb9ee50125d74e66b0dfb84c86c6e | arm | ffmpeg-4.4.1 | NOK | http://autobuild.buildroot.net/results/ffde126dd81c98d71c8a48ec87d5753cce8939cb | mips64el | ficl-4.1.0 | NOK | http://autobuild.buildroot.net/results/c28987eeea367ab55b52f42d34fd40125add3df9 | sparc | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/019a6616e1b79fb5c2ebccf31f972b0cd74c4023 | or1k | freeradius-client-1.1.7 | NOK | http://autobuild.buildroot.net/results/18fb82f08aeeb0cbc5eb26edbc6209217830ce32 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/483f1bfe8e1acec1fb39c7cb212655dadecc586e | mips64el | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/991f3c17c45211ac6ffa3d1a0eb52cf594a4e25d | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/f95d7a3eb05df86dff3f8360cf6e5389ff99609f | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/5a68a5f48f5c91b861d492285e5a6a35736c1702 | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/921f6608fb321c3ecce330f1e511da5b6ff2ddda | nios2 | fs/axfs/axfs.mk:32: /nvmeda... | NOK | http://autobuild.buildroot.net/results/e54e64b872a7989c2e8e05e7e5319eebf5a52647 | arc | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/a3c68cdc515353c0d2650ee743aa3bd8ab99a418 | powerpc64le | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/1ea1982428e5b2b9883f829e657fe676508a99ab | mips64 | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/04aa29fefd1355fcd8ed26b950c7a2b3b339b625 | sparc | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/ad426ff903d78a92de8f0208876e2196136a09a8 | nios2 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/b3e43dafa2f3d7dbcbb84eac26f9c85af8f19fea | xtensa | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/9a0ab0b3925a7d61cb1fd1ff47573041147d43d6 | armeb | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/5fbc34d6277a6dfa93553da2569bffd5d6310c97 | riscv32 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/7169578883e2668979bc6d14b3cbab872c5aee81 | m68k | fs/ubi/ubi.mk:51: /home/aut... | NOK | http://autobuild.buildroot.net/results/1944288658bba48671db970c6a311a8ecbf44cb7 | powerpc | fs/ubi/ubi.mk:51: /nvmedata... | NOK | http://autobuild.buildroot.net/results/9988e2b4c3eb5177eb25a0441d243c304a932bb8 | s390x | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/c351c5ada413fbca9c746d3f2e83f96471b820d1 | arceb | gensio-2.2.9 | NOK | http://autobuild.buildroot.net/results/17f2f52559a5ed5edd36d22680ec506e0b72859b | powerpc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f0bfc96671b28b0093432f654d8498eca54db823 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/3b3d72414291d0688d31afee586313d9aa783c9c | arceb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/6d637aa043496c16908cc05507aa7ed246c31351 | mips | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/ac34c6fe98af04d3640d061d4fb1343ad6d62c96 | i686 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/1cf92d3e542093bc69840c4989d82d267e58e2c4 | sh4 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8a7c1615d498c511e297f02181ee6300e8cde21d | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/9684af6f89fa6ec083059df29aa1d359123c8c42 | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d18905a7c845ee93ec8a493c60a948fc23c5dad2 | microblaze | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/a4770fbdea9b9c5a9e35c3145610584111d986df | microblazeel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/648ef7664c8db3b87013524d6eeb72239db566bb | i686 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/1875c5728f16624322154d441a22289758f8ebac | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/97b2eae0634966dc05b71fe5befcb8694f6be723 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/84be207fc06e0a10adbe7068a4b69d5e443d5211 | microblaze | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/5796f8704dd9f37f548a55dbdfcbbc2f164b7f68 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/b91ea26c92b010d129e2793f84b8ab2bdf9eb8cd | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/a905fb65121945ff6b359b12b76f30671c4618e1 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/1c4cf21ca8d14795e09f0e1c4bdc33392f482e96 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/9ae0ab8e95b835714aafd90f6c09745da6fa55bb | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/f49de588bd6ec7d9ceafa551908ab86071d350c1 | powerpc | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/2b1818987c6594dc0a4daf7ba9d8a38a96a3d685 | mips64el | gnu-efi-3.0.10 | NOK | http://autobuild.buildroot.net/results/db21242af314b10d845ec29a1efe55df11bbee02 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/584493c8cf9d81bbec0482d4190f302b32a39818 | i686 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/4672763c884fa3334818b5fcaa01cf360b76ae17 | ORPH i686 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/55db77ff2842b7ea3275ed1fbf20f8f82c0bbec2 | ORPH i686 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/1958f1b88cd1cc10f829947ac4a90e723cf342a5 | ORPH microblaze | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/241fb150833a23f691c88a5203814b1e0e5f337b | ORPH powerpc64 | gobject-introspection-1.70.0 | NOK | http://autobuild.buildroot.net/results/3e3410bc138e83f4becf5082059a6ffa1bb048a6 | ORPH arm | gocryptfs-2.2.1 | NOK | http://autobuild.buildroot.net/results/12c492c7f621cf3c02dae8b22859f750c0b86e66 | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/e6045fec66bd36c46bcd7341e7718b5ca8ec6095 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b8fa87b86c00572f5544f108ae8020aa2ec70c21 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/612411e2739450e8d472ce5e93bc447e0b57d8d4 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bdbef6174d90a8025ef247b98d1e79c172f0bfcd | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/454c1f9872e6f7efdbf7f71d40be404c6d492588 | microblazeel | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/cb03b6b8dc863e8b022851ce9f553f2077153ce0 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bc708f31d00f66b788c7d9ee23e109f3df19cbe2 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/6289399a4b7f69804081a1e01378d6a759b0ae1b | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/a3fecb59bbf5ecf66a41cba6c65fa1b91179a50a | microblaze | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/6735e280a33bd7ecf8a7c640eebdddfde93a9f67 | sparc64 | host-gcc-final-11.2.0 | NOK | http://autobuild.buildroot.net/results/3da68ce9a584b3a8172d5cc4d099596e2a38e880 | sparc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/0bf88a05483e9831b593e757a7ff8239b2dcba55 | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b15d90d734cbd349e451af95cec4857bf33ebe81 | powerpc64 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/47fd5c8bba5ce64e36eb76136fc523927952b63e | nios2 | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/2d529a08b657af042f46fc78795cfbf70a787e1a | powerpc64le | host-gcc-final-9.4.0 | NOK | http://autobuild.buildroot.net/results/b7f1038cde27ca4bc2796b24a7041791c4d1acc4 | arc | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/8a5a9c48349a6752284ee8c2a44b869d69a66f83 | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/a4a769fa9f1aa3d186ae50ebf52a492f9c8ad714 | arm | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/48e3a9822bf1c49d8e7bb182293f8b5cc98d38c6 | mips | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/0abba8cd16ee2b7f48ee026c4d11a0c35908b11f | arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/1f96ca373e736f87029a75aa0959a558eab4195f | mipsel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/4717d37729014a8e80fa5a362111a6d90ca53b0f | powerpc64le | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/0b2c97f9b5aa2f807d5de2de5a509629aaa929bc | microblazeel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/22ca044ecbc3656ed0cb4be8089f2b9e5620e593 | x86_64 | host-rust-1.60.0 | NOK | http://autobuild.buildroot.net/results/6e8972e22e80db8d92710a0e5791b746cef54276 | aarch64 | host-wayland-1.20.0 | NOK | http://autobuild.buildroot.net/results/8fab0cdec6297d1a969e24e96b1ecdb8a9f15faf | armeb | igh-ethercat-1.5.2 | NOK | http://autobuild.buildroot.net/results/5e734e202bc4fa08d57675823f55633c8040cd71 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/27a6ba133c58bed046c2ef7254382f643fe39217 | armeb | kexec-2.0.23 | NOK | http://autobuild.buildroot.net/results/d7071499060a82e4422ad5f8f7e820969567e3eb | ORPH riscv64 | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/3774309092d7f0e0556de1f957b789ab21b5c367 | powerpc64 | libgcrypt-1.10.1 | NOK | http://autobuild.buildroot.net/results/9e1b9d4fe25579069b37d749ad1ef85631881590 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/792aa42ddd2754453314fc1927feba7058abff8f | arceb | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/fa8c5262a628b8524d530b0ccaea78ca90891f56 | microblazeel | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/76e52a573738d5491a84f7f5aa7472a7759467c1 | powerpc64le | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/751dd5f71c8611f3382b5b52d6bd117d14398ce5 | xtensa | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/d754fbaa8f6687597682fbf0b71c16527c8cd603 | xtensa | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/6d52b4962c7974a16c358d5ef5431841cd9af9bb | riscv64 | liblog4c-localtime-1.0 | NOK | http://autobuild.buildroot.net/results/283ecfe37e56df7b1f5205271fa5c50f769ed48d | powerpc64 | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/857afe10cd3abfc192d6867d9e62f5ed5eabf900 | mipsel | libnss-3.77 | NOK | http://autobuild.buildroot.net/results/0d891ce79dcf5a0587075b41ad838fa2562a1010 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/ec9cae469386578563c33292cfe0f687aad176c2 | sparc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/558de5842fa64fc317f6e28fcfce7ea39dc57e6e | aarch64 | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/650bf4e30f0685d768d019000fe9e7f49029bb74 | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/495fd7acfd7ddd744db8001890b5ada43e8d1e0c | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/896c84f5ae3905e35e44171d025b33142bb1bb5e | microblazeel | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/9ea46a56b85dcbc11f6004db33c5097110b721b6 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/a5b0e33e3bfe71dfa256554d04a1bb85dc587481 | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/aff0a8ee45728a448f10b5d115e1c081ff1bc905 | s390x | libp11-0.4.11 | NOK | http://autobuild.buildroot.net/results/fd32bd48e0e1a41cfb58e3f637a72e6cf95834ea | ORPH arceb | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/ce7c4a5b1a5be0a0b84d725cfc257daf698eb4ea | ORPH sparc | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/953a42bd91bee010b0736de6fd7d125703cc5d69 | ORPH m68k | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/a2a71b592a3b754eafdbc9eb2006d3d5429e3651 | ORPH x86_64 | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/4a237a3bae851507b919e909f48a0dbffebc2f26 | ORPH m68k | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/52f15a47f6d144d2946664f91765bdc6ede0d867 | ORPH riscv64 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/f4513c4626b2af315dfafc57c04d679cde428b3a | x86_64 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/fe403a46158380bad5683d32a16e27b9c73aeedf | powerpc | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/b26515b553d8a54777fd5eb27dc891efa26ec821 | nios2 | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/ea3061f74d646703ea40058a4edac8840d14c0f0 | mips64 | linux-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/290059ae014bfc3fed92953571be8ee5e6028737 | ORPH arc | linux-5.10.104-cip3-rt3 | NOK | http://autobuild.buildroot.net/results/a8b19b7452fd3322a6db9f036f68693cd30c5561 | ORPH m68k | linux-5.10.104-cip3-rt3 | NOK | http://autobuild.buildroot.net/results/fde83a3dbec846e798c612f5802403839a68499d | ORPH mips64el | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/83b311d6621e916e8d28243e79c42e69940c4550 | ORPH powerpc64 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/2365fd50cc3edb4f83963c4679fc9f0d346d6a2a | ORPH microblaze | linux-fusion-9.0.3 | NOK | http://autobuild.buildroot.net/results/2cdfdfeaab9cd11dd18c0507e7584fffdaa7c05a | ORPH arm | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/58d89f3041880a99afed8e3999f930d232dd6521 | ORPH aarch64_be | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/c88e63c01b5ee8ddb6e2638d731f870928cdc2fe | ORPH mipsel | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/84b2a75daeba172fa354db7d34088564c08a7619 | ORPH m68k | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/44528482a2b3ea013c72db6ac8156e5305c4e946 | ORPH s390x | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/a6be1b615f74d28086fc824fadb6bb6747c0d57e | ORPH armeb | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/b435c4dd6b298e6bdf3e219f61d777d78f712b38 | ORPH arceb | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/95b93b600531a435391e7c000eca72f4dd405a71 | ORPH mipsel | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/52b73f44452061f8f28585ffa0ac700cbf624edd | ORPH nios2 | matio-1.5.22 | NOK | http://autobuild.buildroot.net/results/ba6010f2a6bf5325a290f8afaf400f2ca432b6d3 | aarch64 | mongodb | TIM | http://autobuild.buildroot.net/results/835ff147eda3e87b424105ff431323df5d5db357 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/ef5f11cf2c5cb7f34599c6de3bff28eb691155e5 | i686 | netsurf-3.10 | NOK | http://autobuild.buildroot.net/results/18c4b31d7b479434b8a3f2332e41f5c7d620c4b1 | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/4ec45e60011323727f352aa6ca582b17f7a3a024 | sparc64 | openssh-9.0p1 | NOK | http://autobuild.buildroot.net/results/ac23163d1c32c6ab26919bb180e62160cc389c24 | ORPH x86_64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/b72dcea2bb13d4b113afc9ee4237bce76539814c | microblazeel | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d00a6049766e9e303c7d87da2fba99d2ae56ce4b | arm | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/7fb6f2296647706d231400f5ec244da0132ec009 | or1k | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d140b65814703c934e3364e7b928ea7bef862425 | arm | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/14fa9c2631b1215946477c2cf1a5a57a42d7fbc0 | i686 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/cf4026d7c471de319e9858288958cd4c0bdc6d88 | s390x | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/b3ee5b49674adf4d69da0535f9a924f79d8a140e | aarch64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/c17a68fa708e7afe303fbb5bd68158690e02330b | aarch64_be | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/0e07e390874c3ef072797cd8640f084a10ed13ee | mips64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/23f0a2d47615aa8c790ff94cfcd278d9fc757df9 | xtensa | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/66689125d1f6105e8fba2e4bc01168eaf10f39ed | arc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/dbc2f4925030d32004565dc6c121d8d21fee262b | mips64el | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/a3bde310c27f4b31f494942bb0b9d2f3877e9018 | s390x | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/dfbc360f36191844854c02ee0ba4173dcda8b2d8 | microblazeel | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/0e08ed757637283fa44a6f053c03949ca2e26686 | microblaze | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/62002ad2f4d166c8ac244fa5a0f40022b0b7d182 | powerpc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/21384cbbe6695faeff77daa91424b5ffb44ebd09 | mipsel | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/99b6b92dc717037736889c3542b5fb21320ef9b8 | microblaze | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/bb70f07dc49c6dda7e92b70cc45fe086807fdd58 | mips | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/2f3f99d102f171826827ff82e757db969ba13b0b | i686 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d7d044fd7d5dc9b28aeb1577c92152652937481f | aarch64_be | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/23155cec0e18fa4bcf1f2d0ee2835a6a2ce0774a | mips | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/3e11332c4571777c4b9a78f7c406e68f36186a43 | sparc64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/35097ec6c0c99647c34617d999242fc3e5ad30ad | mips64el | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/88a23c385f5a21b11bd816f2e0ad1212e4803a30 | ORPH powerpc | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/a5de6de2206ad6909c28f72bf323c2980a2db594 | ORPH i686 | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/1bfa5ab365fccf4a7bbe58e64471bf1af5577e5d | ORPH mips64el | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/452f4397e26ceec8b76a371e5511e071513093a1 | ORPH armeb | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/de1221e98bb2300a1df9f3af1f6d5ff7b5762145 | ORPH microblazeel | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/a4b4fc40d261e56af9d69dd83e573f951d761edd | ORPH armeb | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b05b818679466a77a4a81696546be6564b373062 | mips64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/01170a8c7a932cb6f58ecfabca5156c31429dbaa | microblaze | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/eeaedf83dad52f477a9160614b18627d7e5f2938 | mips | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/e4471aa07b315a6324687e38d194980f5e498f57 | mips64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/ed5026ed98b7ad59b4be988ef0ce062825821cce | or1k | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/b26d6733309dc64f2b3ee62bda0b7ecfaf6590ef | x86_64 | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/e84ba0bd106cc84c8ecd21df352df811330582a5 | x86_64 | perl-net-ssleay-1.85 | NOK | http://autobuild.buildroot.net/results/2397c4ae7a3392c6859b296eb3312cb9f0b0e286 | arc | perl-net-ssleay-1.85 | NOK | http://autobuild.buildroot.net/results/9db9839386a0b27cf006d1c0981747ab4cd2fb0f | x86_64 | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/1367a5eb3dd2842309f138f2b878e913bc8a5290 | sparc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/7c9b1e15f75135670a974d501e7cc2e496bffc1b | sparc | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/8d168ed5b3056f28ec69a1f76e12bb922aeade6a | sh4a | pixman-0.40.0 | NOK | http://autobuild.buildroot.net/results/09ded6a85ab82ee181d28bb1002d1945ab961649 | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/1ad5ea447d74293ba586aeab336e476cb2e4fb20 | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/b92dd7507ada955ea6eb8422cae4a5e9aef1c1fb | nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/bc9633d2949ea8c44b5584e1b6082f3f2fd6233b | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/10f590bbbffed2660696aeb45c8eb03cb3c597a6 | sh4 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/392a1602821405b8e65f5d67860d75831253fa13 | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/08066a499e977288a29fb7f8a495101ea406a5cb | microblazeel | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/73cd4bdea01e3f30219a3eaefa20b5e0c6ccbfe8 | nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/6a26224c1de6303705c02615a554376312c7e8ad | armeb | python-cryptography-36.0.1 | NOK | http://autobuild.buildroot.net/results/56a5bfb221ee6c59c073cc164a13d04fead7b32e | armeb | python-cryptography-36.0.1 | NOK | http://autobuild.buildroot.net/results/3e95e3c5d633cd90bc435ec425e0903aa7e5d5e5 | nios2 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/2170bd8390060b991ecc8c7a44eaf981489e5e18 | arceb | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/27d02540d6b1ac50acf36fc2da5af27ffb81c532 | powerpc64le | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/6d4713aaae4c20c89c0d245aa468725d58662541 | mips | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/4a7c09d8ad56c0a3221f11edf55dd1a77f716daa | sparc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/c98c5d9878cbc1db2df59fae3b7337f5be217b45 | or1k | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/d1d02135fe2d272f931bee1958db67d225218ecf | sparc | refpolicy | NOK | http://autobuild.buildroot.net/results/d912e55fec8e1fcca00658f81787b6904f3bd6fe | microblaze | refpolicy | NOK | http://autobuild.buildroot.net/results/b7303e296b502ab4a9650a7b7930f172cb4c7e18 | sh4eb | refpolicy | NOK | http://autobuild.buildroot.net/results/cefa32387b245b1d455ddae52bca5a8ccad4db78 | mips64 | refpolicy | NOK | http://autobuild.buildroot.net/results/9e243908f4309aed208d2bdb7db245722f8d23d0 | aarch64_be | refpolicy | NOK | http://autobuild.buildroot.net/results/80bd99e9b7a1404afc9c41a76892b53f0516a403 | powerpc64 | refpolicy | NOK | http://autobuild.buildroot.net/results/52f7d95c0a7be64ec91953fdeba59d73e3888629 | i686 | refpolicy | NOK | http://autobuild.buildroot.net/results/543d70eb26d907133702d7a7902f884660a17d55 | s390x | rtl8189es-39c17661136da48f8... | NOK | http://autobuild.buildroot.net/results/031df8e5b9b4da5c16d0efc2d3a8df8d86a495ec | sparc | rtl8189fs-73f826f0fa74b2fc1... | NOK | http://autobuild.buildroot.net/results/896ebd3684205731f04c7622f650071b26e0584c | m68k | sdl2_ttf-2.0.18 | NOK | http://autobuild.buildroot.net/results/ac8b366558bec61ada84ec15cf27652fde2b63b2 | aarch64_be | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/33c08e487dc6888a3900712295522341aee5804e | mipsel | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/d0ae71775342a0a0b36fa40ccf36394c389932a5 | aarch64_be | shim-15.4 | NOK | http://autobuild.buildroot.net/results/fd91064cc26e0ba4f965f112d859e41483c2ec10 | powerpc64le | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/60851716be3644db245999d36f041c3c967e9612 | i586 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/5dbf4d178b69b8e1ffab9193f492ffe90db10dd8 | x86_64 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/ed1ca90f062d2f1f7be116ce06e073f10370c96e | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/2ef5a1a8ff6ee44c672ec40fd53148938a27d99e | mips64 | toolchain-external-codescap... | NOK | http://autobuild.buildroot.net/results/37c98b47bb51e6a030caf512795ecac3386c3b45 | ORPH mips64el | tor-0.4.6.10 | NOK | http://autobuild.buildroot.net/results/65fef646f8db401e6e14ade758aece06f93d2c29 | arceb | tor-0.4.6.10 | NOK | http://autobuild.buildroot.net/results/459a2cc9837d4d5e797c2a99c241e6c923dce6ee | aarch64_be | tor-0.4.6.10 | NOK | http://autobuild.buildroot.net/results/bf307b3d64d7dc69be894b963b45a8fb0524495f | mips | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/459c643c81f0889a691417a725b334d2f441e1c1 | xtensa | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/01a5d9b367b7d2d342d391bac9ba7fd769005186 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/afa4db648a48ce82a2b752442971c7776763f849 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9852d9499c91fd01fcc084f84a71a887fc4d9401 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0114f52b4f43ae8485b3887daca9f2fe66d99ab7 | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/6580bbf24b4068021ec03e49b0adddcf8b1cb20b | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/fe1611f1e36895524666b32c857f7c6f35afc27c | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b66b07abca4dd86fdd3dee81aeea687b98a15930 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/21c5e15560e5ecd8a6eb8c9405906c269d9c0810 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/b927ddb1d7295f914871a26568159c03f533ccb0 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/bc60c467db2778313ecd7f16bf190e6d04171ae5 | arceb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/a647710b05e6941bf007965ee04c671abfedffa5 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/21bb0dace6ad8a9214261ba9d3353ce17daaed29 | x86_64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/8017d19d5392df860367b8e20ea8ac0241eac503 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/8530036775572c54db8677c75821049a665174f3 | arm | unknown | NOK | http://autobuild.buildroot.net/results/7120a2020d4d59c05da980044a783b7c50e01c66 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/90b878d8c879160d2bc7ee44bd822495bda6aea9 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/99b69763fd7357b520f7a146595cc44b769ea692 | aarch64 | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/2def98c0caea3dc9e1d75bdb5ed7752071150563 | mips64el | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/b5e971612153522f4ffcea6f606fad6d7b8e4f0e | riscv32 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/222bd23aa3dd1797823d1d57b75f5b51faed5b12 | powerpc64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/63f0013c369096387c81fc4304b6be526f7f5760 | armeb | wolfssl-5.2.0 | NOK | http://autobuild.buildroot.net/results/e8afb38dad829d391ae09396451bb0e15c3985bc | nios2 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/f25f0c32f06f200aefd7703c2db7cadbf9fc7191 | mips64el | xenomai-custom | NOK | http://autobuild.buildroot.net/results/a277c3af713c4926d8697852d6abef82a1d29693 | arm | xfsprogs-5.14.2 | NOK | http://autobuild.buildroot.net/results/ad3af73f69b973de75f92ec0dcfd6b0172edd1bf | ORPH i586 | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/adf8faf642108b8af85744e46efcdd02a39061ba | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/58bc2d482baf8c77a5517bf6da52e9e7d33497b2 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/74c6117b5ecca072cbe8a7b0955bb3d626c1da87 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/3e6fca97ee67ef6ff8fd5b1571b204bf6efe9574 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/eb3a7e2de8d65f07700c399d8d1f0c9e70def8d6 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/d514660495ad91f261aa663bfd9a13dae647812f | x86_64 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/e5b67f6905cec387d01d594e5f6f112ed01f62b4 | i686 | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/f27edbde7b0913eded78f479e0504020f3ce2729 | powerpc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/fe49bd4dfebe4006c257c772b34ba20d85ed60e8 | arm | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/0dae5432183abbc775149ef926a30caf983dc0cf | sh4aeb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/7cd2753461a6b8495859ee6180cd57c935fa582b | aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/aa2165a7dd37b1467737376a46194de859e33283 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/f77a4fd1c37278ceef75449c39bde518257de355 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/2ad46d70d515e7b536ae2e9825fc6f34d93cd528 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/0b60fed9e046b8e1100a9413f29e78461bb54092 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/c05d3c0a3eda4a93c5388b50e8281758530e8240 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/da392bb8bb42fb97bbaa0175979f8503f88373f1 | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- tvheadend-1295dd2be863f5beb... | 3 wavemon-0.9.4 | 2 host-pahole-v1.23 | 1 libuwsc | 1 ulog-0389d243352255f6182326... | 1 xdriver_xf86-video-tga-1.2.2 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/c029728faa38779ee885275f5d18a266d91bde8f | powerpc | libuwsc | TIM | http://autobuild.buildroot.net/results/bd3be3c00213c4c021c465517f746f5d65d19776 | arm | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/253d4638bb26eab57d44c8271516fea84ce4e521 | xtensa | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/0dc0ded89276e9f9de7762dbe8ea40b9e07f5219 | mips64el | tvheadend-1295dd2be863f5beb... | NOK | http://autobuild.buildroot.net/results/736a84930743cf60ee6c832c36c2dc3628be7946 | riscv64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/d44bec876105bd56a774645a53d7376b88dec5bc | nios2 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/256340d6f690c709bbf7061d9241370101185579 | aarch64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/41e4e761e05ccdf261d8de774d91a15b86a10d5d | powerpc | xdriver_xf86-video-tga-1.2.2 | NOK | http://autobuild.buildroot.net/results/a81960d4a0f3280162cfe28fec843edaad03c5a2 | Gitlab CI results for 2022-04-28 ================================ -- http://autobuild.buildroot.net From bernd.kuhls at t-online.de Fri Apr 29 05:12:06 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 29 Apr 2022 07:12:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcurl: security bump version to 7.83.0 Message-ID: <20220429051206.38141-1-bernd.kuhls@t-online.de> Changelog: https://curl.se/changes.html#7_83_0 Release notes: https://curl.se/news.html Fixes the following CVEs: CVE-2022-22576: OAUTH2 bearer bypass in connection re-use CVE-2022-27774: Credential leak on redirect CVE-2022-27775: Bad local IPv6 connection reuse CVE-2022-27776: Auth/cookie leak on redirect Signed-off-by: Bernd Kuhls --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 4be245041c..64a1129a90 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-7.82.0.tar.xz.asc +# https://curl.se/download/curl-7.83.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c curl-7.82.0.tar.xz +sha256 bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a curl-7.83.0.tar.xz sha256 321b1a09ebc30410f2e837c072e5521cf7095b757193af4a7dae1086e36ed31a COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 97857954db..ea8529c914 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 7.82.0 +LIBCURL_VERSION = 7.83.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ -- 2.30.2 From fontaine.fabrice at gmail.com Fri Apr 29 07:05:21 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 29 Apr 2022 09:05:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs atomic In-Reply-To: <20220428234527.3c5bb3b9@windsurf> References: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> <20220428234527.3c5bb3b9@windsurf> Message-ID: Le jeu. 28 avr. 2022 ? 23:45, Thomas Petazzoni a ?crit : > > On Wed, 27 Apr 2022 22:50:57 +0200 > Fabrice Fontaine wrote: > > > numactl unconditionally uses __atomic_fetch_and resulting in the > > following build failure on microblaze since commit > > 4ed540ddf59bec4b389be44d7f42820d2466904f: > > This explanation is unfortunately incorrect. It has nothing to do with > microblaze, because BR2_TOOLCHAIN_HAS_ATOMIC is true on microblaze: > > config BR2_TOOLCHAIN_HAS_LIBATOMIC > bool > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 && \ > !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 && \ > BR2_TOOLCHAIN_HAS_THREADS && \ > !BR2_BINFMT_FLAT > > config BR2_TOOLCHAIN_HAS_ATOMIC > bool > default y if BR2_TOOLCHAIN_HAS_LIBATOMIC > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_arm > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa > default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64 > > However, the key thing is that the build failure > http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a > has thread support disabled, and when threads are disabled, libatomic > is not built, and therefore BR2_TOOLCHAIN_HAS_LIBATOMIC is false. > > However, I don't see anywhere in the numactl build system where > -latomic is passed. Does it build on architectures that need to link > against libatomic to get atomic intrinsics? Linking with -latomic is done thanks to 0002-link-with-latomic-if-needed.patch. This patch was added to fix the build on architectures such as sparcv8. However, I don't understand why the build fails on microblaze without libatomic. Are we sure that microblaze really supports atomic without libatomic? > > Could you double check this, and rework the commit message? > > Thanks! > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com Best Regards, Fabrice From thomas.petazzoni at bootlin.com Fri Apr 29 07:33:58 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 29 Apr 2022 09:33:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs atomic In-Reply-To: References: <20220427205057.4044072-1-fontaine.fabrice@gmail.com> <20220428234527.3c5bb3b9@windsurf> Message-ID: <20220429093358.55e406a5@windsurf> Hello Fabrice, On Fri, 29 Apr 2022 09:05:21 +0200 Fabrice Fontaine wrote: > > However, the key thing is that the build failure > > http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a > > has thread support disabled, and when threads are disabled, libatomic > > is not built, and therefore BR2_TOOLCHAIN_HAS_LIBATOMIC is false. > > > > However, I don't see anywhere in the numactl build system where > > -latomic is passed. Does it build on architectures that need to link > > against libatomic to get atomic intrinsics? > > Linking with -latomic is done thanks to 0002-link-with-latomic-if-needed.patch. > This patch was added to fix the build on architectures such as sparcv8. Ah, I missed that patch, thanks for pointing it out! > However, I don't understand why the build fails on microblaze without libatomic. > Are we sure that microblaze really supports atomic without libatomic? I explained it in my previous e-mail I think :-) It fails because the configuration you're pointing to has threads disabled, and when threads are disabled, libatomic is not built/provided by gcc. This is properly handled by BR2_TOOLCHAIN_HAS_LIBATOMIC being false in such configurations. So basically, your patch is correct (IMO), but the commit log isn't: the problem isn't Microblaze specific, but would happen on any architecture that needs libatomic to provide atomic intrinsics. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Fri Apr 29 08:09:08 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 10:09:08 +0200 Subject: [Buildroot] [git commit] package/libcurl: security bump version to 7.83.0 Message-ID: <20220429075918.6986A846E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b0b25f145469a14e3d85becf19aaca0a40fd4e25 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://curl.se/changes.html#7_83_0 Release notes: https://curl.se/news.html Fixes the following CVEs: CVE-2022-22576: OAUTH2 bearer bypass in connection re-use CVE-2022-27774: Credential leak on redirect CVE-2022-27775: Bad local IPv6 connection reuse CVE-2022-27776: Auth/cookie leak on redirect Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 4be245041c..64a1129a90 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-7.82.0.tar.xz.asc +# https://curl.se/download/curl-7.83.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c curl-7.82.0.tar.xz +sha256 bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a curl-7.83.0.tar.xz sha256 321b1a09ebc30410f2e837c072e5521cf7095b757193af4a7dae1086e36ed31a COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 97857954db..ea8529c914 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 7.82.0 +LIBCURL_VERSION = 7.83.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ From yann.morin.1998 at free.fr Fri Apr 29 08:09:57 2022 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Fri, 29 Apr 2022 10:09:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcurl: security bump version to 7.83.0 In-Reply-To: <20220429051206.38141-1-bernd.kuhls@t-online.de> References: <20220429051206.38141-1-bernd.kuhls@t-online.de> Message-ID: <20220429080957.GM3624965@scaer> Bernd, All, On 2022-04-29 07:12 +0200, Bernd Kuhls spake thusly: > Changelog: https://curl.se/changes.html#7_83_0 > Release notes: https://curl.se/news.html > > Fixes the following CVEs: > CVE-2022-22576: OAUTH2 bearer bypass in connection re-use > CVE-2022-27774: Credential leak on redirect > CVE-2022-27775: Bad local IPv6 connection reuse > CVE-2022-27776: Auth/cookie leak on redirect > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libcurl/libcurl.hash | 4 ++-- > package/libcurl/libcurl.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash > index 4be245041c..64a1129a90 100644 > --- a/package/libcurl/libcurl.hash > +++ b/package/libcurl/libcurl.hash > @@ -1,5 +1,5 @@ > # Locally calculated after checking pgp signature > -# https://curl.se/download/curl-7.82.0.tar.xz.asc > +# https://curl.se/download/curl-7.83.0.tar.xz.asc > # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 > -sha256 0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c curl-7.82.0.tar.xz > +sha256 bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a curl-7.83.0.tar.xz > sha256 321b1a09ebc30410f2e837c072e5521cf7095b757193af4a7dae1086e36ed31a COPYING > diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > index 97857954db..ea8529c914 100644 > --- a/package/libcurl/libcurl.mk > +++ b/package/libcurl/libcurl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBCURL_VERSION = 7.82.0 > +LIBCURL_VERSION = 7.83.0 > LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz > LIBCURL_SITE = https://curl.se/download > LIBCURL_DEPENDENCIES = host-pkgconf \ > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From etienne.carriere at linaro.org Fri Apr 29 08:41:00 2022 From: etienne.carriere at linaro.org (Etienne Carriere) Date: Fri, 29 Apr 2022 10:41:00 +0200 Subject: [Buildroot] [PATCH 1/5] boot/optee-os: bump to version 3.17.0 In-Reply-To: References: <20220427094608.16698-1-etienne.carriere@linaro.org> Message-ID: Hello Arnout, By the way, people have faced issues build OP-TEE with recent OpenSSL version 3.0 (i think). There seems a path needs to be provided due to API changes between 2.x and 3.x. # export OPENSSL_MODULES=/path/to/sdk/usr/lib/oss-modules Maybe related to an issue seem in a u-boot, elsewhere: https://github.com/pyca/cryptography/issues/6895 Did one face such issues with OpenSSL 3.0? Best regards, Etienne On Wed, 27 Apr 2022 at 21:40, Arnout Vandecappelle wrote: > > > > On 27/04/2022 11:45, Etienne Carriere wrote: > > Bump OP-TEE OS package version to OP-TEE release 3.17.0. > > > > Cc: Cl?ment L?ger > > Signed-off-by: Etienne Carriere > > Applied series to master, thanks. > > Regards, > Arnout > > > --- > > boot/optee-os/Config.in | 4 ++-- > > boot/optee-os/optee-os.hash | 4 ++-- > > 2 files changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in > > index 30b6f62434..fb8a189a75 100644 > > --- a/boot/optee-os/Config.in > > +++ b/boot/optee-os/Config.in > > @@ -18,7 +18,7 @@ choice > > Select the version of OP-TEE OS you want to use > > > > config BR2_TARGET_OPTEE_OS_LATEST > > - bool "3.16.0" > > + bool "3.17.0" > > depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS > > select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY > > help > > @@ -52,7 +52,7 @@ endif > > > > config BR2_TARGET_OPTEE_OS_VERSION > > string > > - default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST > > + default "3.17.0" if BR2_TARGET_OPTEE_OS_LATEST > > default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ > > if BR2_TARGET_OPTEE_OS_CUSTOM_GIT > > > > diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash > > index d3a2637a4e..5c1047bac3 100644 > > --- a/boot/optee-os/optee-os.hash > > +++ b/boot/optee-os/optee-os.hash > > @@ -1,4 +1,4 @@ > > -# From https://github.com/OP-TEE/optee_os/archive/3.16.0/optee-os-3.16.0.tar.gz > > -sha256 ebc8e18ad2039ee97c34f74a7546de9119e26f04c368b6c7fd0c55f93d33d2d6 optee-os-3.16.0.tar.gz > > +# From https://github.com/OP-TEE/optee_os/archive/3.17.0/optee-os-3.16.0.tar.gz > > +sha256 5d5a3bda83abddfeb5ee765a15525f23adf2709ba2475a05e0c5f25790c1883f optee-os-3.17.0.tar.gz > > # Locally computed > > sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE From arnout at mind.be Fri Apr 29 09:53:07 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 29 Apr 2022 11:53:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: drop libressl support In-Reply-To: <87y1zqi902.fsf@dell.be.48ers.dk> References: <20220427035039.1664864-1-james.hilliard1@gmail.com> <20220427103102.7f934c1f@windsurf> <2c51f9ba-5d02-17f7-98d0-8a4c1b6dcf79@mind.be> <87y1zqi902.fsf@dell.be.48ers.dk> Message-ID: <3ec51ca9-f5d5-bdcd-49a0-5a44729bb65d@mind.be> On 27/04/2022 22:09, Peter Korsgaard wrote: >>>>>> "Arnout" == Arnout Vandecappelle writes: > > Hi, > > >>> I don't have a very well-informed opinion, but perhaps we should think > >>> about this? > >> Yeah, not really sure, it may be useful to keep around, I think it > >> has an > >> alternative updated API to openssl's updated API that may be desirable > >> for some use cases, although probably not the most commonly used. > > > At that point, however, having libressl as a virtual package > > alternative for openssl becomes less and less realistic. Virtual > > packages should only be used if the alternatives can be considered > > drop-in replacements with compatible API. A few exceptions are > > acceptable, but it's becoming too much. > > > We should also start thinking what to do with openssl 3. It has an > > API that is somewhat compatible with openssl 1.1.1, but there are > > almost no packages that can use it without any changes. This could > > actually be an opportunity to get aout of this mess: most packages > > that are not compatible with libressl are probably already compatible > > with openssl 3. So if we introduce an openssl3 package, we can migrate > > the packages that don't like libressl to that, and leave the choice > > between openssl 1.1.1 and libressl for legacy and BSD packages. > > That indeed sounds like a way forward. Do we expect most applications to > (already have) move to the v3.x API or do we rather expect to have to > keep around openssl 1.1.1 / libressl for a long time? Fedora 36 has openssl3 as default and openssl1.1 as compat. So I expect that the flagship packages will support openssl3 by now, and it will take years for all almost-unmaintained packages to get updated. Unfortunately I know of no easy way of querying reverse dependencies, so it's hard to evaluate how many packages currently still need openssl1.1. Regards, Arnout From earthquake.de at freenet.de Fri Apr 29 14:02:30 2022 From: earthquake.de at freenet.de (Earthquake) Date: Fri, 29 Apr 2022 16:02:30 +0200 Subject: [Buildroot] ACE + TAO with buildroot - GLIBC_2.28 not found Message-ID: <8043273d-730b-c378-fd91-21e6902081fa@freenet.de> Hi, intergrating ACE was successfull with https://patchwork.ozlabs.org/project/buildroot/patch/20210413134139.13281-1-matthew.weber at rockwellcollins.com/ ACE lib is built. When I integrate TAO in the ace.mk TAO_LIBRARIES += TAO_IDL TAO_LIBRARIEs += tao/PortableServer $(foreach lib,$(TAO_LIBRARIES), ACE_ROOT="$(@D)" $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/TAO/$(lib) ACE_ROOT="$(@D)" TAO_ROOT="$(@D)/TAO"? all ) The tao_idl complier will be built. The PortableServer uses the created tao_idl complier but exit with: ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ../../../lib/libACE.so.7.0.2) ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ../../../lib/libACE.so.7.0.2) Wrong way to call? Thanks for support, Alex From stefan at agner.ch Fri Apr 29 14:47:42 2022 From: stefan at agner.ch (Stefan Agner) Date: Fri, 29 Apr 2022 16:47:42 +0200 Subject: [Buildroot] GRUB2 2.04 (buildroot 2022.02.1) failure reading sector errors Message-ID: <1f0d993a5097ca6e94a4ded0b7e0c5cb@agner.ch> Hi, On Home Assistant OS we are moving from Barebox to GRUB2 as the bootloader for UEFI based systems. The switch is currently on our beta channel with several hundert of users. I have now 4 independent reports where the system stopped booting after upgrading to the new OS version with GRUB2. The systems show the same error: "error: failure reading sector 0x9c900 from `hd0`." The sector number is not always the same, but it seems to be always within the partition holding the kernel. We are using compressed squashfs which might be a factor influencing the problem. Despite testing on several actual and virtual x86-64 systems I am unable to reproduce so far. At least one of the systems has been successfully tested with Debian 11 bullseye (which is using GRUB2 2.04 as well). That boot flow doesn't make use of squashfs of course. Anyone seen similar issues? Ideas how to get to the bottom of this? I am considering moving to 2.06 to see if that fixes the problem, is anyone working on 2.06 already? I see that buildroot is carring 150 patches on-top of vanilla GRUB2, so that requires some work. Best regards, Stefan From bernd.kuhls at t-online.de Fri Apr 29 18:37:08 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 29 Apr 2022 20:37:08 +0200 Subject: [Buildroot] [PATCH 2/2] package/tor: bump version to 0.4.7.7 In-Reply-To: <20220429183708.3819668-1-bernd.kuhls@t-online.de> References: <20220429183708.3819668-1-bernd.kuhls@t-online.de> Message-ID: <20220429183708.3819668-2-bernd.kuhls@t-online.de> Release notes: https://forum.torproject.net/t/stable-release-0-4-7-7/3108 Added sha256 hash provided by upstream. Signed-off-by: Bernd Kuhls --- package/tor/tor.hash | 3 ++- package/tor/tor.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/tor/tor.hash b/package/tor/tor.hash index 16e01c80a9..8f37dd6219 100644 --- a/package/tor/tor.hash +++ b/package/tor/tor.hash @@ -1,3 +1,4 @@ +# From https://dist.torproject.org/tor-0.4.7.7.tar.gz.sha256sum +sha256 3e131158b52b9435d7e43d1c47ef288b96d005342cc44b8c950bb403851a5b44 tor-0.4.7.7.tar.gz # Locally computed -sha256 94ccd60e04e558f33be73032bc84ea241660f92f58cfb88789bda6893739e31c tor-0.4.6.10.tar.gz sha256 47b54ed17e8fdcab3c44729a1789a09b208f9a63a845a7e50def9df729eebad0 LICENSE diff --git a/package/tor/tor.mk b/package/tor/tor.mk index 78a6de66dc..3b470a80d8 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -4,7 +4,7 @@ # ################################################################################ -TOR_VERSION = 0.4.6.10 +TOR_VERSION = 0.4.7.7 TOR_SITE = https://dist.torproject.org TOR_LICENSE = BSD-3-Clause TOR_LICENSE_FILES = LICENSE -- 2.30.2 From bernd.kuhls at t-online.de Fri Apr 29 18:37:07 2022 From: bernd.kuhls at t-online.de (Bernd Kuhls) Date: Fri, 29 Apr 2022 20:37:07 +0200 Subject: [Buildroot] [PATCH 1/2] package/tor: add -lz to fix static builds Message-ID: <20220429183708.3819668-1-bernd.kuhls@t-online.de> In order to remove a patch which needs frequent updates on major version bumps and to get rid of autoreconf we just add -lz when creating a static build. This make sure that static linking occurs in the right order. Signed-off-by: Bernd Kuhls --- Tested using this defconfig BR2_PACKAGE_XZ=y BR2_PACKAGE_ZSTD=y BR2_PACKAGE_TOR=y andes-nds32 [ 1/45]: OK arm-aarch64 [ 2/45]: OK bootlin-aarch64-glibc [ 3/45]: OK bootlin-arcle-hs38-uclibc [ 4/45]: OK bootlin-armv5-uclibc [ 5/45]: OK bootlin-armv7-glibc [ 6/45]: OK bootlin-armv7m-uclibc [ 7/45]: SKIPPED bootlin-armv7-musl [ 8/45]: OK bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED bootlin-m68k-68040-uclibc [10/45]: OK bootlin-microblazeel-uclibc [11/45]: OK bootlin-mipsel32r6-glibc [12/45]: OK bootlin-mipsel-uclibc [13/45]: OK bootlin-nios2-glibc [14/45]: OK bootlin-openrisc-uclibc [15/45]: OK bootlin-powerpc64le-power8-glibc [16/45]: OK bootlin-powerpc-e500mc-uclibc [17/45]: OK bootlin-riscv32-glibc [18/45]: OK bootlin-riscv64-glibc [19/45]: OK bootlin-riscv64-musl [20/45]: OK bootlin-sh4-uclibc [21/45]: OK bootlin-sparc64-glibc [22/45]: OK bootlin-sparc-uclibc [23/45]: OK bootlin-x86-64-glibc [24/45]: OK bootlin-x86-64-musl [25/45]: OK bootlin-x86-64-uclibc [26/45]: OK bootlin-xtensa-uclibc [27/45]: OK br-arm-basic [28/45]: OK br-arm-full-nothread [29/45]: SKIPPED br-arm-full-static [30/45]: OK br-i386-pentium4-full [31/45]: OK br-i386-pentium-mmx-musl [32/45]: OK br-mips64-n64-full [33/45]: OK br-mips64r6-el-hf-glibc [34/45]: OK br-powerpc-603e-basic-cpp [35/45]: OK br-powerpc64-power7-glibc [36/45]: OK linaro-aarch64-be [37/45]: OK linaro-aarch64 [38/45]: OK linaro-arm [39/45]: OK sourcery-arm-armv4t [40/45]: OK sourcery-arm [41/45]: OK sourcery-arm-thumb2 [42/45]: OK sourcery-mips64 [43/45]: OK sourcery-mips [44/45]: OK sourcery-nios2 [45/45]: OK 45 builds, 3 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ...0001-Fix-static-linking-with-OpenSSL.patch | 94 ------------------- package/tor/tor.mk | 7 +- 2 files changed, 5 insertions(+), 96 deletions(-) delete mode 100644 package/tor/0001-Fix-static-linking-with-OpenSSL.patch diff --git a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch b/package/tor/0001-Fix-static-linking-with-OpenSSL.patch deleted file mode 100644 index 26ed6fe819..0000000000 --- a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch +++ /dev/null @@ -1,94 +0,0 @@ -From ba6b8ee5b6dee19493a150c3715b0e202440d206 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Thu, 24 Jan 2019 18:19:51 +0100 -Subject: [PATCH] Fix static linking with OpenSSL - -Adjust link order of libz to solve bug with static linking -and remove host paths when looking for openssl. - -[Vincent: - - Adapt the patch to make it apply on the new version.] -[Bernd: rebased for tor-0.2.7.6, 0.2.8.10, 0.2.9.9, 0.3.1.7, 0.3.2.10, - 0.3.4.8, 0.3.5.7, 0.4.4.5, 0.4.5.6 & 0.4.6.7] -[Fabrice: fix detection of openssl functions in 0.3.5.8] -Signed-off-by: Vicente Olivert Riera -Signed-off-by: Bernd Kuhls -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 4 ++-- - src/test/include.am | 8 ++++---- - src/tools/include.am | 4 ++-- - 4 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 05e1392cf..580befa6b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1074,7 +1074,7 @@ AC_ARG_WITH(ssl-dir, - ]) - - AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1]) --TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], -+TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto -lz $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], - [#include - char *getenv(const char *);], - [struct ssl_cipher_st; -@@ -1104,7 +1104,7 @@ dnl Now check for particular openssl functions. - save_LIBS="$LIBS" - save_LDFLAGS="$LDFLAGS" - save_CPPFLAGS="$CPPFLAGS" --LIBS="$TOR_OPENSSL_LIBS $LIBS" -+LIBS="$TOR_OPENSSL_LIBS -lz $LIBS" - LDFLAGS="$TOR_LDFLAGS_openssl $LDFLAGS" - CPPFLAGS="$TOR_CPPFLAGS_openssl $CPPFLAGS" - -diff --git a/src/test/include.am b/src/test/include.am -index ecb768957..39a622e88 100644 ---- a/src/test/include.am -+++ b/src/test/include.am -@@ -399,8 +399,8 @@ src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_ntor_cl_LDADD = \ - libtor.a \ - $(rust_ldadd) \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ - @CURVE25519_LIBS@ @TOR_LZMA_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -@@ -409,8 +409,8 @@ - src_test_test_hs_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_hs_ntor_cl_LDADD = \ - libtor.a \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ - @CURVE25519_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_hs_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -diff --git a/src/tools/include.am b/src/tools/include.am -index f7aa7e0d1..4c4e8aa7a 100644 ---- a/src/tools/include.am -+++ b/src/tools/include.am -@@ -35,7 +35,7 @@ src_tools_tor_gencert_LDADD = \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ - $(rust_ldadd) \ -- @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@ - endif - -@@ -45,7 +45,7 @@ src_tools_tor_print_ed_signing_cert_LDADD = \ - src/trunnel/libor-trunnel.a \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ -- @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ - - if USE_NSS --- -2.20.1 diff --git a/package/tor/tor.mk b/package/tor/tor.mk index d16b3541eb..78a6de66dc 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -11,7 +11,6 @@ TOR_LICENSE_FILES = LICENSE TOR_CPE_ID_VENDOR = torproject TOR_SELINUX_MODULES = tor TOR_DEPENDENCIES = libevent openssl zlib -TOR_AUTORECONF = YES TOR_CONF_OPTS = \ --disable-gcc-hardening \ @@ -64,8 +63,12 @@ endif TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -TOR_CONF_ENV += LIBS=-latomic +TOR_LIBS += -latomic endif +ifeq ($(BR2_STATIC_LIBS),y) +TOR_LIBS += -lz +endif +TOR_CONF_ENV += LIBS="$(TOR_LIBS)" define TOR_INSTALL_CONF $(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \ -- 2.30.2 From james.hilliard1 at gmail.com Fri Apr 29 19:15:31 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 29 Apr 2022 13:15:31 -0600 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target rootfs size to 5G Message-ID: <20220429191531.4173116-1-james.hilliard1@gmail.com> Since there isn't a way to reliably compute the required size lets just set it to what should be a high enough value to not run out of space. Fixes: - http://autobuild.buildroot.net/results/a3c68cdc515353c0d2650ee743aa3bd8ab99a418 - http://autobuild.buildroot.net/results/ad426ff903d78a92de8f0208876e2196136a09a8 Signed-off-by: James Hilliard --- utils/genrandconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/utils/genrandconfig b/utils/genrandconfig index adefb8f502..ab1f6f43b1 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -200,6 +200,8 @@ def fixup_config(sysinfo, configfile): with open(configfile) as configf: configlines = configf.readlines() + ROOTFS_SIZE = '5G' + BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): @@ -441,6 +443,16 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_TARGET_OPTEE_OS=y\n') configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') + if 'BR2_TARGET_ROOTFS_EXT2_GEN=y\n' in configlines and \ + 'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines: + configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n') + configlines.append('BR2_TARGET_ROOTFS_EXT2_SIZE="%s"\n' % ROOTFS_SIZE) + + if 'BR2_TARGET_ROOTFS_F2FS=y\n' in configlines and \ + 'BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n' in configlines: + configlines.remove('BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n') + configlines.append('BR2_TARGET_ROOTFS_F2FS_SIZE="%s"\n' % ROOTFS_SIZE) + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') -- 2.25.1 From james.hilliard1 at gmail.com Fri Apr 29 20:04:17 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 29 Apr 2022 14:04:17 -0600 Subject: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 In-Reply-To: References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> <57660639-2f34-4068-793a-ce82fc881b47@mind.be> Message-ID: On Wed, Apr 27, 2022 at 1:15 AM James Hilliard wrote: > > On Wed, Apr 27, 2022 at 1:07 AM Arnout Vandecappelle wrote: > > > > > > > > On 26/04/2022 03:35, James Hilliard wrote: > > > On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: > > >> > > >> > > >> > > >> On 24/04/2022 23:39, James Hilliard wrote: > > >>> This package now requires flit and must use the flit-bootstrap setup > > >>> type for the host build since it is a dependency of > > >>> host-python-pypa-build. > > >>> > > >>> Signed-off-by: James Hilliard > > >> > > >> > > >> Applied to master, thanks. > > >> > > >> While testing this series, I noticed that the following gives an error (this > > >> was already the case in the original series; I haven't checked how it was before > > >> your series was applied - for tomli, it certainly wouldn't happen because it > > >> would still be using setuptools, but maybe for other flit packages, I don't know). > > >> > > >> make python-tomli > > >> make python-tomli-dirclean > > >> make python-tomli > > >> ... > > >> FileExistsError: File already exists: > > >> /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py > > > > > > I think it happens only when building across version bumps, probably a bug > > > with installer(https://github.com/pypa/installer) upstream. > > > > No, it's exactly the sequence of commands that I wrote above that triggers it. > > Oh, yeah, I see what's happening, I was testing with per-package directories > which prevents one from hitting that issue in most cases since it clears out > the conflicting/old artifacts with dirclean. > > > > > I haven't checked if this is the case for flit/pep517 packages in general, or > > just for flit-bootstrap. > > Likely affects all flit/flit-bootstrap and pep517 packages if I had to > guess, seems > due to stale build artifacts lying around combined with installer not wanting to > overwrite artifacts in general, might need to upstream some way to enable > artifact overwrites, I'll look into that. Issue opened upstream: https://github.com/pypa/installer/issues/121 > > > > > Regards, > > Arnout > > > > > > > >> > > >> Would be nice to get that fixed... > > > > > > Yeah, I'll see if I can track that issue down. > > > > > >> > > >> Regards, > > >> Arnout > > >> > > >>> --- > > >>> Changes v6 -> v7: > > >>> - only use flit-boostrap for host-python-tomli > > >>> --- > > >>> package/python-tomli/python-tomli.hash | 4 ++-- > > >>> package/python-tomli/python-tomli.mk | 7 ++++--- > > >>> 2 files changed, 6 insertions(+), 5 deletions(-) > > >>> > > >>> diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > > >>> index 1a274c8a40..8368f9ee13 100644 > > >>> --- a/package/python-tomli/python-tomli.hash > > >>> +++ b/package/python-tomli/python-tomli.hash > > >>> @@ -1,5 +1,5 @@ > > >>> # md5, sha256 from https://pypi.org/pypi/tomli/json > > >>> -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > > >>> -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > > >>> +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > > >>> +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > > >>> # Locally computed sha256 checksums > > >>> sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > > >>> diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > > >>> index b8c20ca736..b803d67466 100644 > > >>> --- a/package/python-tomli/python-tomli.mk > > >>> +++ b/package/python-tomli/python-tomli.mk > > >>> @@ -4,12 +4,13 @@ > > >>> # > > >>> ################################################################################ > > >>> > > >>> -PYTHON_TOMLI_VERSION = 1.2.0 > > >>> +PYTHON_TOMLI_VERSION = 2.0.1 > > >>> PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > > >>> -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > > >>> -PYTHON_TOMLI_SETUP_TYPE = distutils > > >>> +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > > >>> PYTHON_TOMLI_LICENSE = MIT > > >>> PYTHON_TOMLI_LICENSE_FILES = LICENSE > > >>> +PYTHON_TOMLI_SETUP_TYPE = flit > > >>> +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > > >>> > > >>> $(eval $(python-package)) > > >>> $(eval $(host-python-package)) From james.hilliard1 at gmail.com Fri Apr 29 23:04:11 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 29 Apr 2022 17:04:11 -0600 Subject: [Buildroot] [PATCH 1/2] package/pkg-python: fix flit-bootstrap python-installer dependencies Message-ID: <20220429230412.788645-1-james.hilliard1@gmail.com> We should not exclude the host-python-flit-core dependency when building host-python-installer as it will be needed when migrating host-python-installer to use flit-bootstrap. Signed-off-by: James Hilliard --- package/pkg-python.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e9de5cb8d3..7aff3b745c 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -243,8 +243,9 @@ ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-flit-core,$(1)),,host-python-flit-core) ifeq ($$(filter host-python-flit-core host-python-installer,$(1)),) -$(2)_DEPENDENCIES += host-python-flit-core host-python-installer +$(2)_DEPENDENCIES += host-python-installer endif endif # SETUP_TYPE -- 2.25.1 From james.hilliard1 at gmail.com Fri Apr 29 23:04:12 2022 From: james.hilliard1 at gmail.com (James Hilliard) Date: Fri, 29 Apr 2022 17:04:12 -0600 Subject: [Buildroot] [PATCH 2/2] package/python-installer: migrate setup type to flit In-Reply-To: <20220429230412.788645-1-james.hilliard1@gmail.com> References: <20220429230412.788645-1-james.hilliard1@gmail.com> Message-ID: <20220429230412.788645-2-james.hilliard1@gmail.com> This package is moving to flit and will soon be dropping distutils compatibility support. We need to use flit-bootstrap as opposed to the normal flit setup type since host-python-pypa-build depends on host-python-installer. We need to add the src directory to the PYTHONPATH so that installer can run from the src directory when installing itself. Signed-off-by: James Hilliard --- package/python-installer/python-installer.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-installer/python-installer.mk b/package/python-installer/python-installer.mk index 862a251415..5bb14e315e 100644 --- a/package/python-installer/python-installer.mk +++ b/package/python-installer/python-installer.mk @@ -9,6 +9,7 @@ PYTHON_INSTALLER_SOURCE = installer-$(PYTHON_INSTALLER_VERSION).tar.gz PYTHON_INSTALLER_SITE = https://files.pythonhosted.org/packages/74/b7/9187323cd732840f1cddd6a9f05961406636b50c799eef37c920b63110c0 PYTHON_INSTALLER_LICENSE = MIT PYTHON_INSTALLER_LICENSE_FILES = LICENSE -PYTHON_INSTALLER_SETUP_TYPE = distutils +PYTHON_INSTALLER_SETUP_TYPE = flit-bootstrap +HOST_PYTHON_INSTALLER_ENV = PYTHONPATH="$(@D)/src" $(eval $(host-python-package)) -- 2.25.1 From thomas.petazzoni at bootlin.com Sat Apr 30 04:39:22 2022 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 30 Apr 2022 04:39:22 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-04-29 Message-ID: <20220430043928.44CDD4016B@smtp2.osuosl.org> Hello, Autobuild statistics for 2022-04-29 =================================== branch | OK | NOK | TIM | TOT | 2022.02.x | 16 | 4 | 0 | 20 | master | 142 | 259 | 0 | 401 | Classification of failures by reason for master ----------------------------------------------- optee-client-3.17.0 | 20 host-gcc-final-10.3.0 | 13 git-2.31.2 | 12 python-cryptography-37.0.1 | 11 protobuf-3.20.1 | 7 zlib-ng-2.0.6 | 7 glibc-2.34-109-gd64b08d5ba7... | 6 linux-5.15.33 | 6 uclibc-1.0.40 | 6 host-go-1.18.1 | 5 libopenssl-1.1.1n | 5 linux-headers-5.10.104-cip3... | 5 pciutils-3.8.0 | 5 qpid-proton-0.35.0 | 5 toolchain-external-bootlin-... | 5 busybox-1.35.0 | 4 libssh2-1.10.0 | 4 linux-headers-5.15.33 | 4 zchunk-1.2.2 | 4 bitcoin-0.21.2 | 3 elfutils-0.186 | 3 freeipmi-1.6.9 | 3 host-pahole-v1.23 | 3 target-finalize | 3 toolchain-external-bootlin | 3 unknown | 3 vlc-3.0.17.4 | 3 containerd-1.6.2 | 2 frr-8.2.2 | 2 google-breakpad-c85eb4a59b6... | 2 host-gcc-initial-10.3.0 | 2 host-google-breakpad-c85eb4... | 2 host-nodejs-14.18.3 | 2 libldns-1.8.1 | 2 libressl-3.5.2 | 2 linux-headers-5.10.104-cip3 | 2 mesa3d-21.3.8 | 2 nginx-1.20.1 | 2 open62541-v1.2.2 | 2 pipewire-0.3.50 | 2 rng-tools-6.15 | 2 sngrep-1.4.7 | 2 uacme-1.7.1 | 2 xenomai | 2 18xx-ti-utils-8.8 | 1 acpid-2.0.33 | 1 aespipe-2.4f | 1 aircrack-ng-1.6 | 1 alsa-lib-1.2.6 | 1 arp-scan-1.9.7 | 1 bat-0.19.0 | 1 bcusdk-0.0.5 | 1 berkeleydb-5.3.28 | 1 bind-9.16.27 | 1 brltty-6.4 | 1 bubblewrap-0.6.1 | 1 docker-cli-20.10.14 | 1 dropbear-2022.82 | 1 ecryptfs-utils-111 | 1 edk2-edk2-stable202102 | 1 exempi-2.6.1 | 1 ffmpeg-4.4.2 | 1 fs/cramfs/cramfs.mk:46: /nv... | 1 fs/ext2/ext2.mk:65: /home/a... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/ext2/ext2.mk:65: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /home/a... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 fs/f2fs/f2fs.mk:64: /nvmeda... | 1 gstd-0.14.0 | 1 heirloom-mailx-12.5 | 1 host-gcc-initial-11.2.0 | 1 host-gdb-arc-2020.09-releas... | 1 host-libcap-2.63 | 1 ipmiutil-3.1.8 | 1 jailhouse-0.12 | 1 json-c-0.15 | 1 kismet-2022-02-R1 | 1 ktap-23bc7a4a94bd9e4e1b8b7c... | 1 libbsd-0.11.3 | 1 libcap-ng-0.8.3 | 1 libgcrypt-1.10.1 | 1 libglib2-2.70.4 | 1 libp11-0.4.11 | 1 libv4l-1.22.1 | 1 libwebsockets-4.3.1 | 1 libzlib-1.2.12 | 1 lttng-babeltrace-1.5.7 | 1 Makefile:732: target-finalize | 1 moby-buildkit-0.10.0 | 1 musl-1.2.2 | 1 ncurses-6.1 | 1 ne10-1.2.1 | 1 nodejs-14.18.3 | 1 openpgm-5-3-128 | 1 openssh-9.0p1 | 1 perl-5.34.1 | 1 polkit-a2bf5c9c83b6ae46cbd5... | 1 pppd-2.4.9 | 1 qt-webkit-kiosk-a7720e50f2b... | 1 ruby-3.1.0 | 1 shadowsocks-libev-3.3.5 | 1 shim-15.4 | 1 tinifier-3.4.0 | 1 uclibc-ng-test-0844445e7358... | 1 xenomai-custom | 1 xvisor-0.3.1 | 1 zabbix-5.4.9 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | 18xx-ti-utils-8.8 | NOK | http://autobuild.buildroot.net/results/ffd723e2f1d0c8787bca20b5b85aa2ff73fcec37 | mips64el | acpid-2.0.33 | NOK | http://autobuild.buildroot.net/results/f7a6c74c9d4493e4cf4e3634a4ea7705943d3343 | ORPH mips64el | aespipe-2.4f | NOK | http://autobuild.buildroot.net/results/a2be6a7e9202d3f376487efb6cd8f68c9b77552b | ORPH microblaze | aircrack-ng-1.6 | NOK | http://autobuild.buildroot.net/results/06cf71dc15dbbcda6f87d3d1ee35b5b98d72ab80 | m68k | alsa-lib-1.2.6 | NOK | http://autobuild.buildroot.net/results/c35d9649711450fb28a9b78e8fbcc57004486381 | riscv64 | arp-scan-1.9.7 | NOK | http://autobuild.buildroot.net/results/e42fc2a60bfb8122f33d0754550aba5f161d479e | i686 | bat-0.19.0 | NOK | http://autobuild.buildroot.net/results/88e546ac3017852784268638d24a34802be1dd50 | arc | bcusdk-0.0.5 | NOK | http://autobuild.buildroot.net/results/d47f6e47540929e5947ea7fdbb810992453801f3 | sh4eb | berkeleydb-5.3.28 | NOK | http://autobuild.buildroot.net/results/749cd95a011ed1047884d7217325ed506bdbe733 | ORPH sh4aeb | bind-9.16.27 | NOK | http://autobuild.buildroot.net/results/a1df2ee28df39afecee8e4b964aafb0172bb0d07 | ORPH mips64el | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/ac29885022b1bef0837d8d411059a36c9661e3dd | aarch64_be | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/ab41034370ec1d823687d173ed8d56ca584310a3 | microblazeel | bitcoin-0.21.2 | NOK | http://autobuild.buildroot.net/results/73b4884c754a5f92cfa420f59a480335f56607fd | mips | brltty-6.4 | NOK | http://autobuild.buildroot.net/results/4e1fc0ed9e328657f26fb8b82aa46633a0d517cc | mips64 | bubblewrap-0.6.1 | NOK | http://autobuild.buildroot.net/results/369ed6f3a4fa798bbdb58f39c1397949b52deb9c | m68k | busybox-1.35.0 | NOK | http://autobuild.buildroot.net/results/173b6e309ce9c50805ac039ac992f3a36177af74 | ORPH riscv64 | busybox-1.35.0 | NOK | http://autobuild.buildroot.net/results/4748d244c30693144ac2a28c64cabe8dd4f7fc35 | ORPH riscv64 | busybox-1.35.0 | NOK | http://autobuild.buildroot.net/results/74e5cebf5519b6c2679789b21d136588656ea7a8 | ORPH m68k | busybox-1.35.0 | NOK | http://autobuild.buildroot.net/results/91938addae647e447716dff51971fe7dc5a2a91c | ORPH x86_64 | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/93c4aed5ff2ff1d36a6d402c1643ee21c8648806 | aarch64 | containerd-1.6.2 | NOK | http://autobuild.buildroot.net/results/34f0e5bbffcdc1cb5a92688b4f00236f4cd5b1f4 | powerpc64le | docker-cli-20.10.14 | NOK | http://autobuild.buildroot.net/results/ac9b60515999ca5044645e67b66eb666e7f69969 | riscv64 | dropbear-2022.82 | NOK | http://autobuild.buildroot.net/results/20d86536a273adc371c065c2e1af66028e83929c | arc | ecryptfs-utils-111 | NOK | http://autobuild.buildroot.net/results/e3e54ae1fe0c84090a749b9490005aac30a99a34 | x86_64 | edk2-edk2-stable202102 | NOK | http://autobuild.buildroot.net/results/0d3559d5013ec2f9297cfaf36a5e3984ab6dadad | microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/dffbc4010bfb1c62f215d6ac6358b57689ae5a4e | ORPH microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/bbca0cc7d421cadb1182888edc59179ac605b1c2 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/77733f035ad01f0b7f9a8de3608f482e3af0e72c | ORPH arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/7f6bba97e7343597f45ffdecf1212565e1c6974f | arm | ffmpeg-4.4.2 | NOK | http://autobuild.buildroot.net/results/a7325e21cf404b9f30348326ec1ecbfb0f831123 | arm | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/6b3b0b5241ffd78cd53012904edae70e2f362414 | sh4 | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/de7d9040fc35e4407f57a5c2a6346263cb4aed8d | powerpc | freeipmi-1.6.9 | NOK | http://autobuild.buildroot.net/results/6569e549724b886f844c4daea764c243518c988b | xtensa | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/41a6a8a4f6b3bcb750b07bff9b1d0dc2d6579023 | arc | frr-8.2.2 | NOK | http://autobuild.buildroot.net/results/57fe1cb226d3b84704a3838cad48ec06e3adeb7a | s390x | fs/cramfs/cramfs.mk:46: /nv... | NOK | http://autobuild.buildroot.net/results/b795050fd41831576c33303d86a16602a69db5ff | aarch64 | fs/ext2/ext2.mk:65: /home/a... | NOK | http://autobuild.buildroot.net/results/065bb060342908c1c302957be7379b5f8ca54796 | m68k | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/22cd50b51a6319a73ca7a025fdf42cb6b4dcd77f | powerpc | fs/ext2/ext2.mk:65: /nvmeda... | NOK | http://autobuild.buildroot.net/results/f8ec920b35ecb13a964f2447aa678d23b5737a0b | or1k | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/ad588d5f57d7e4ddaa342633d8e932b7a2d3acf3 | i686 | fs/f2fs/f2fs.mk:64: /home/a... | NOK | http://autobuild.buildroot.net/results/a5be4902394339a862571d32345572f17e6b2da8 | microblaze | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/4959d26ada080c092893aa657bdfbf33ecc76cb3 | powerpc64 | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/16092bcc70553afe1cd25bcc56c7d002c051959c | armeb | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/68bbc5d48cc3ec31d333cbd110db2caeb3ac0a95 | xtensa | fs/f2fs/f2fs.mk:64: /nvmeda... | NOK | http://autobuild.buildroot.net/results/b627348add06b13ea0b43b324ebd6dd3c98e4d77 | mipsel | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/ecaf75f9bc3de9aa8241f123972faff8988f6f81 | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/df7ba82891e3b22f6b66f2d912f533f316e66da1 | armeb | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d39b6ac4efdcce98814c5d9acee81f64a88b875a | or1k | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/001131b584dfcd28ed1350743c25bb0257193f3f | sparc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e9fb95290e9eafa6dfe339577909e42ca466b037 | mips64el | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/d5e7080fe8ab8b983c39f83c0db4373862b3451e | arc | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f249ff35583abdc99e675bc55520e3abccb5888c | microblaze | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/e95ebac7843eabcbfca7c7304a09e5761c8ed652 | mips64 | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/49d838baa8582420870b849551adbae3659e6f79 | xtensa | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/8d8cc0cc9eec5bf398b3ecbc907e254600d4aea9 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/3dd55131cc954f4feb6cb8192845c723ed63eaa1 | aarch64_be | git-2.31.2 | NOK | http://autobuild.buildroot.net/results/f771f757389534170ca0387cf60760eebf0766f6 | powerpc64le | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/97e7da514a881639f3f6a66214ce6630cd783587 | sh4a | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/d134811c74fc2886ce7756abc3169cfa11f14db4 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/409ccd0c6bc60249e9fd405328bb614c287eacd3 | nios2 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/ea2060bede6f9057dd04981d8117ae7384fa60d0 | riscv32 | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/3f3e4da6643cc4bef1f86f0527013900610f1dfa | sh4a | glibc-2.34-109-gd64b08d5ba7... | NOK | http://autobuild.buildroot.net/results/fa7fafbb1ee7a905ee17372006bf649284f4d3dd | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/5080debddd0eb6cbab2c3ae9c2e15f293134629e | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/f8a7689f2c02bdc50f3127c9a3d2cbb4514437e5 | microblazeel | gstd-0.14.0 | NOK | http://autobuild.buildroot.net/results/0bb4abb806a2de7fc4b3df99750ef0c489070450 | ORPH sh4a | heirloom-mailx-12.5 | NOK | http://autobuild.buildroot.net/results/9e236aa3461701fb1fd0e7d929f1c49d47d7beec | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/11570e3454c02e9dbcb104593b91e0bd1919ff65 | x86_64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/bc2593ec19eb206808df377b1dfac40b138c1641 | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/734ad09932b0b52e28e6c771b8de017ad427890d | riscv32 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1b32624f4523b83f234bebb3c073ea3c9ac04155 | powerpc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/b13c73101e087912a65b3a052a9fd5123d9175b0 | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/af7bf6fd6c6d6cf964c3927e554a2781231ada3c | nios2 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/5e94a96dd70ecf02af777f380ca9609728d474c4 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/c02db5fe6d7633232a4b170e3d29ad524b37fdc2 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/959d272ea2931dc07176af7c67f0a3a11ae96ab8 | powerpc64le | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/1a99be6405e39b17e635835e07e68644c40fd2fc | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/0f02339e37de299b827db9c6e73ca0fff89bb8b1 | s390x | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/e724306873fcb7809e7053732eb44cc8e6a22a00 | sparc64 | host-gcc-final-10.3.0 | NOK | http://autobuild.buildroot.net/results/4fe1b5b462e8450da86a29b1492427d23230b5b2 | arceb | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/09063f611d64287a9274f76809cc5d3952b43d50 | armeb | host-gcc-initial-10.3.0 | NOK | http://autobuild.buildroot.net/results/7eb2dff577111996adee8bf998c10a4d1d07f3ee | arc | host-gcc-initial-11.2.0 | NOK | http://autobuild.buildroot.net/results/8bd312760ac84d1f00800f7fafd1f5fd3c3605da | arceb | host-gdb-arc-2020.09-releas... | NOK | http://autobuild.buildroot.net/results/3915e1d1764236b179048867bec0b3f962dd8d3c | ORPH mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/e9ff17ea1e06bbb39f5a871b4f6286244f2c9bff | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/add0fb2f6ceac3b05221128bd969b9ba3a41e5a1 | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/a199c4183747aa0266bfedd714614eaeda0714e4 | mips64el | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/b4f825a83504100aff8366858495dd55596d5760 | mips64 | host-go-1.18.1 | NOK | http://autobuild.buildroot.net/results/9d904bc1d8197a61c193c06259a7c448f40cd8d9 | mipsel | host-google-breakpad-c85eb4... | NOK | http://autobuild.buildroot.net/results/67696ad50793046a3f7d74f3ef50b77b01e95c5a | x86_64 | host-google-breakpad-c85eb4... | NOK | http://autobuild.buildroot.net/results/a3d4e395b45a20eb565aca1f8252b4edab13a683 | powerpc | host-libcap-2.63 | NOK | http://autobuild.buildroot.net/results/f033b56fb3376c28dbc0d82856776d09d41af3df | aarch64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/1ffa9fbcbf365eed0d278a94cda4702eb833c9d5 | aarch64 | host-nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/361cef449e2e38613fd8dcd2da85cfcb754f32d6 | i686 | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/0d5bb0f33130d36745fc8ac75e0a4a03a95b6b58 | arm | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/745e9ed9ee5da00da5292c6a2245a82726491fa8 | microblazeel | host-pahole-v1.23 | NOK | http://autobuild.buildroot.net/results/89d6812922e776c4301764cacf01b227587b328c | x86_64 | ipmiutil-3.1.8 | NOK | http://autobuild.buildroot.net/results/7f4c27c0dfa008aee5deefe176229eb7dc48a44b | x86_64 | jailhouse-0.12 | NOK | http://autobuild.buildroot.net/results/d01f4a307868c48e5cb45ad6be40f5d0593bf331 | or1k | json-c-0.15 | NOK | http://autobuild.buildroot.net/results/5da78c28f57bbaaa3a85d0a5f02138bdf865408b | mipsel | kismet-2022-02-R1 | NOK | http://autobuild.buildroot.net/results/0d62ab8ab659f31811cbce3fa9c2e2cc2901b707 | ORPH sparc | ktap-23bc7a4a94bd9e4e1b8b7c... | NOK | http://autobuild.buildroot.net/results/0924f6e46f6e2213938256db1011f21d909695ac | sh4aeb | libbsd-0.11.3 | NOK | http://autobuild.buildroot.net/results/6f09542e16c2fabc34b58431fa13170f7b7535de | or1k | libcap-ng-0.8.3 | NOK | http://autobuild.buildroot.net/results/da183e5148efaff35746434604ac31799a965367 | powerpc64le | libgcrypt-1.10.1 | NOK | http://autobuild.buildroot.net/results/815946bf7e45601e3d0c97c3f93312f1bbf4d724 | ORPH arc | libglib2-2.70.4 | NOK | http://autobuild.buildroot.net/results/fb802c355f30f17ab60f65078ef3ae9bea1efe72 | i686 | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/ad119fef9705d2eda3ade89e801b37b695af8ec4 | arm | libldns-1.8.1 | NOK | http://autobuild.buildroot.net/results/9bc57882099a445d67244ab862235ce977760d36 | powerpc | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/e44f3d27f6039e8c7be03559eb14eaee12677f0b | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/da5e467d581cb1e323a2e11bd718a6992bef6860 | sh4eb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/11185ae71fe8b21a568a980d6c186d59fda9be5c | arceb | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/d4f2b6bc554bc2deb76d13317b3377c6f8cc82aa | m68k | libopenssl-1.1.1n | NOK | http://autobuild.buildroot.net/results/890243e1459f60fbceec9418a4e3c82d522ea7f3 | aarch64_be | libp11-0.4.11 | NOK | http://autobuild.buildroot.net/results/95e3c334c7979f3ef47a11ba30e13f83c82770ab | ORPH m68k | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/7cdef987884345060aa55b9b2b65128a16cc67dc | ORPH mips | libressl-3.5.2 | NOK | http://autobuild.buildroot.net/results/4042b852d5e32e6fca872f1eb6219fa5f2c9d36a | ORPH powerpc | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/64ff7d873bbfec37df83c6f389d603608ae93834 | or1k | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/3ff7aa6607b285e7f101e48a4024f3e30d1ec237 | sh4a | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/8c52ad3b1455dce5d905c4b44f752c8a7c032777 | i586 | libssh2-1.10.0 | NOK | http://autobuild.buildroot.net/results/e03096a66a814ebfde6e7d468e5fb37fdc571d6f | i686 | libv4l-1.22.1 | NOK | http://autobuild.buildroot.net/results/575090b9c1d397093f4ba2a447c0ee6939a29ccd | xtensa | libwebsockets-4.3.1 | NOK | http://autobuild.buildroot.net/results/504bb2674f5b37c622d21c9b58bff531ca47bb17 | m68k | libzlib-1.2.12 | NOK | http://autobuild.buildroot.net/results/7ec3d746e96225c4982957ce1a8a96dc0c070fe5 | ORPH mipsel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/b16fb6d44f27a4a514337c6ae90234c13f17ede4 | ORPH sh4a | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/6826e4abcf18f63ba7354585ec7644394b0453dc | ORPH mipsel | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/443fd1753ca75e4287caf3049317e73aa6a898b5 | ORPH nios2 | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/55a762e1f3de4460d3fe2e7598be99cc60098005 | ORPH arc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/ed601efe1496647bbafc877a7dfca83c68355566 | ORPH powerpc | linux-5.15.33 | NOK | http://autobuild.buildroot.net/results/cb4ad18cb90ae5e6b84b36ad33d1e68c214bb5a1 | ORPH aarch64 | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/963dc5121351eab486f71705f8dd6757f8042d86 | ORPH microblaze | linux-headers-5.10.104-cip3 | NOK | http://autobuild.buildroot.net/results/60d9aa94b02005570ffef1f9afdf8bb34317fd8e | ORPH mips | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/32831f951baa5e3cde4f5927f4be57400f232f10 | ORPH arc | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/f9229ab971da5ec4b548756aeeb08233f5e40da5 | ORPH m68k | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/ee0f22d41e4d5b0d6e22dd8516d3579a95f13ac7 | ORPH powerpc64 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/4ff5f1cd1bf70b63af15902ee919054170c6ff96 | ORPH nios2 | linux-headers-5.10.104-cip3... | NOK | http://autobuild.buildroot.net/results/f98e52e7387f0c96816a525cd10e1eb8590ceec6 | ORPH powerpc64le | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/c987cdf2d61197c5578b60201ddac4f5b70f44ff | ORPH aarch64_be | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/2e63a0fe7e96beed5df596cc67d1306a77c2ce1e | ORPH riscv32 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/bb23e932a1430aef4037c36d4055a49d82e634f3 | ORPH aarch64 | linux-headers-5.15.33 | NOK | http://autobuild.buildroot.net/results/f42fe5458792d8b0093f864e14aadc976fe91a6e | ORPH or1k | lttng-babeltrace-1.5.7 | NOK | http://autobuild.buildroot.net/results/5a91c9b3b0a09bce6cd18dedb1be9dbb953bed2b | mipsel | Makefile:732: target-finalize | NOK | http://autobuild.buildroot.net/results/226d7906eeeada005ff7805ea2d07ba4f41b783b | mips64el | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/bbdaff4de4c1a6f09b60f000046f5760dc4a12d4 | arm | mesa3d-21.3.8 | NOK | http://autobuild.buildroot.net/results/68e6106171cc0b4ad1750b31f529ef1554cafb9d | powerpc64le | moby-buildkit-0.10.0 | NOK | http://autobuild.buildroot.net/results/1741a788c5170608f50442a601896cfbffb061b8 | powerpc | musl-1.2.2 | NOK | http://autobuild.buildroot.net/results/e7f807d6858b4dfe6b8e54b051559e3104d4afc8 | arceb | ncurses-6.1 | NOK | http://autobuild.buildroot.net/results/8e481cc926bfeec67111e85d29762824c411eeca | ORPH aarch64 | ne10-1.2.1 | NOK | http://autobuild.buildroot.net/results/f30234a17089559d26f173683778db4944781b51 | arc | nginx-1.20.1 | NOK | http://autobuild.buildroot.net/results/27c8be23c0539617d55849b49060678cb1765066 | riscv32 | nginx-1.20.1 | NOK | http://autobuild.buildroot.net/results/680c3814579c5e94cd4f842fc09351d28c469e5f | x86_64 | nodejs-14.18.3 | NOK | http://autobuild.buildroot.net/results/4ec21e17b6dd7936b43ffc23951931ea33df7a09 | riscv32 | open62541-v1.2.2 | NOK | http://autobuild.buildroot.net/results/3091dcbdab7b1f0b92488b808f5cdf2bef0bacc8 | ORPH nios2 | open62541-v1.2.2 | NOK | http://autobuild.buildroot.net/results/38ed2e71e5b0a639402a029e255987d2e24a76ee | ORPH mips64 | openpgm-5-3-128 | NOK | http://autobuild.buildroot.net/results/f3b70c49adb0e9c9f29d6dc6532c2df6d93d480a | m68k | openssh-9.0p1 | NOK | http://autobuild.buildroot.net/results/ca065b3a44ba9f1919e3cc2bef583133fb0aa012 | ORPH arc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/9fb7c4cf8c7aa13ab8eec3ecd76c7627aa7b33ad | x86_64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/f55cddf92bbaa04b468931c83bedfd627ec9e37e | nios2 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/66c219f6a69412fe9ec4cddaf9cc8dc8c4242870 | mips | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/ae5fc2e12f321d8daf97d2d9b6fe4562043afccb | aarch64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/19162d8f240684b35714a53ac8bd9d4d33c4d75c | s390x | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/c5e21e45fc9180f9d9152ee2d2734fe4a9bb1ff4 | sparc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/b45c724542eb725dd8888c75ccd8e926a7a00611 | mips64el | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d9ec0b17c5ecd67cc098abc0594e5df190577d29 | sparc64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/f80686fa4c7900960565e2723376b3f5f03f6b35 | s390x | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/52ba0115fff8318e10076d06ad586c0082d2b3d1 | sparc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/2ef07887513e2248495ebf448ded254d2e344b97 | mipsel | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/fc2af7b8b2075b0772789278bedff9e51e99cea0 | m68k | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/eab10b6ac5bac5d83d99662bc38a2b7b1c273e91 | xtensa | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/e7d7dbacd049d9cba2428bdb99ea79183639ae9a | nios2 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/f83e51d8720528d66e9978acb3475324dc7155f8 | microblaze | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/fa017e7f98fc8d0db4cd3b1604afb34521a1a8f9 | aarch64 | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/b8ac1d46abd24b273f8375b7365eb547edeff6b4 | sparc | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/e6fe357a7565331ed7c3712ae22b849424de5b8e | m68k | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/d3c17c10ca4560b5e075ab1b69e511a7123d674b | aarch64_be | optee-client-3.17.0 | NOK | http://autobuild.buildroot.net/results/594d7651b5d0eaef35e3765bf8cdc6d28b629907 | arc | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/075bfe80fc288e81cf504e8af2dd1b76e85f240f | ORPH arm | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/058b2bf1cc5ad631968345e642142ebc90667daa | ORPH i586 | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/5d8c556cfa6dfb45b0da3e4cfca5c05e142d14cb | ORPH mipsel | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/f76f06363d7efe43b709648fb4b23d394000753e | ORPH mips64el | pciutils-3.8.0 | NOK | http://autobuild.buildroot.net/results/ba755f0a73099df247677cf427ad0ed9ab87be82 | ORPH armeb | perl-5.34.1 | NOK | http://autobuild.buildroot.net/results/1e768f41031784941cb17ae20084fbb2d6880b4f | aarch64_be | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/95f16971de95db2f61062daa3f2a0b599e9aef35 | mips | pipewire-0.3.50 | NOK | http://autobuild.buildroot.net/results/e33e97055c3b568bf270570c80f08e7e12875384 | aarch64_be | polkit-a2bf5c9c83b6ae46cbd5... | NOK | http://autobuild.buildroot.net/results/5b3e9c8e3fa373f93f585bcdac4e72279258cdcb | sparc64 | pppd-2.4.9 | NOK | http://autobuild.buildroot.net/results/19d92ffc48a169323c0a2b6d2bd10fa95acd1494 | ORPH nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/d99e3c85812f3a0cbbc2adef7a6aaa39f6b6ab5f | or1k | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/018c52039021356bb21de74da59a15ede8c7b854 | microblazeel | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/7b85fd39c8191ff33cb47abb55f67fc500f019fc | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/707c181b3e0549116251f1cc2c5c13327b8c7ffa | nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/8436f184288b30f05ec9eef677990a7de7c6507c | arc | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/864581b35ba46d54c4a9281cc743e668e711b2fa | nios2 | protobuf-3.20.1 | NOK | http://autobuild.buildroot.net/results/6883255bcc3cce5c81d0eb38fc9a24d969e14f52 | aarch64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/3b331f232df68a2c6ed7b213b7892949ec538eb9 | sparc64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/e1dc3b5b7b782368161571ad22779e2e6e5a0f89 | powerpc64le | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/592e6919f0acdc3a4c034110b7588720e83145af | powerpc64le | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/4add89f1ed4dc6684a4c4391164279d4e7e61024 | x86_64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/6e182c736cff18b751b5adc62b6976656b84fdad | mipsel | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/cdedc7d4ef2627f5e4546244e589559b4149ab01 | sparc64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/bf03b292a1e1b1e5241001b8f006030328345779 | sparc64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/f9d44f4d5ef3457ccc00baebb603dc6d9e3eef9a | aarch64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/2a11f2e2bf28d64c1b84c1276e182449ee5f98f9 | arm | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/91831695207c0a0ab796d0d74de95a341d564e76 | aarch64 | python-cryptography-37.0.1 | NOK | http://autobuild.buildroot.net/results/1d4d53b27f839591eb9fc2ed1b1c2c82be0eb7b3 | m68k | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/6f1a4fecaf3c6d26c0bf6fed45a9d5268f179e83 | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/27ff9586d9d7d4e15d2b0272421b0d200a2d9e4e | powerpc64 | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/c9eb90dbea0c8fe7eb17256b58a22e419f5a95e0 | m68k | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/cf4d368aa340d39f44d05a1c0ea7ce81560304ec | or1k | qpid-proton-0.35.0 | NOK | http://autobuild.buildroot.net/results/a91d4af3291d62534d18abf99b6860031aa7313d | aarch64 | qt-webkit-kiosk-a7720e50f2b... | NOK | http://autobuild.buildroot.net/results/5dbd80a5dc58a76c19783923b005c4e9e854b7e7 | xtensa | rng-tools-6.15 | NOK | http://autobuild.buildroot.net/results/1f53a4481d4734b424bd957335b8c9d8129c4693 | mips64el | rng-tools-6.15 | NOK | http://autobuild.buildroot.net/results/338ff87d39abd0e3093133fff7e7d629abcf4b0b | riscv64 | ruby-3.1.0 | NOK | http://autobuild.buildroot.net/results/127e280b658d3ccabd538cc5310c3663f83f688a | nios2 | shadowsocks-libev-3.3.5 | NOK | http://autobuild.buildroot.net/results/994139e46c0b33fc2a923c304730b69d37ce4ba9 | aarch64_be | shim-15.4 | NOK | http://autobuild.buildroot.net/results/a9463163663365759b853a5fecb4a021ad9863d3 | armeb | sngrep-1.4.7 | NOK | http://autobuild.buildroot.net/results/8dcbbf79fa4ad66fb512421451d9dd8e80fbf99f | ORPH armeb | sngrep-1.4.7 | NOK | http://autobuild.buildroot.net/results/f1e8cdb3ac35a30055ab79d41e6cc038e5339c37 | ORPH riscv64 | target-finalize | NOK | http://autobuild.buildroot.net/results/3308e1fcf5e5b7accd9b13c221ff4468564ab4a6 | x86_64 | target-finalize | NOK | http://autobuild.buildroot.net/results/9e2da8a10f3e39af7f04edcae98d06b46b2f37e1 | riscv32 | target-finalize | NOK | http://autobuild.buildroot.net/results/2f453af76547757567a8dde78135e88aacfb70cc | powerpc64le | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/3b4a996f40f2d7a2d683f8b448888188e73f747b | mips64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/f0d0746345eaa19b0ca3e07876318527fa7bcb8a | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/05d880626ec8ec188a2b6fe4c728e665653a4fef | sparc64 | toolchain-external-bootlin | NOK | http://autobuild.buildroot.net/results/818ba5a36d9f38d3fe8630523ff091456d540ecd | i586 | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/54c3951dba235ceb4943986791c4cf206876df80 | ORPH armeb | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/9fcae7a03f0f494138e3f54c18acc33dcb3cb1d5 | ORPH microblaze | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/e2bfb412d1462ab8c59e4694543d0da1d0cba6e8 | ORPH microblaze | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/1474b5cc41f33e12ea1abb71d494ece88225a47e | ORPH microblazeel | toolchain-external-bootlin-... | NOK | http://autobuild.buildroot.net/results/cfec475c530370665912348a3aee98c0bae25e53 | ORPH mips64el | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/d141f9b8fa682cdad062b56ac8fd4fb01ca178af | powerpc64 | uacme-1.7.1 | NOK | http://autobuild.buildroot.net/results/c9c71a7c25cc98c2cccb8ff514d8742dcae17931 | riscv64 | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/0cfed9c1ce02700048411dae0fbb2d9b0da6210f | xtensa | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/fd4bcd10244a9e0d8689c49b1271a7775fd885b6 | armeb | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/c97924ca515bb7541a6e1ad25ee8296d142d6041 | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/9293be18c48ae316fcb7a26a770ac9d75ad3c7b6 | arc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/f1d8f7a10289f6c26ad7ef25aea74b830d54e85d | powerpc | uclibc-1.0.40 | NOK | http://autobuild.buildroot.net/results/66f70ca12ee0a2bc1f94ee2097aee703618771eb | i586 | uclibc-ng-test-0844445e7358... | NOK | http://autobuild.buildroot.net/results/9d121e5ed5e38179be4f09e367affcfb793c10a4 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/4da15e554bf816b0b662841a6f09c0e7bc9f69d7 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/2ae4c1009670baad44886f2e0188c73fc5483635 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/908065917ffd9f6811c75fc8867c620302704ebd | arm | vlc-3.0.17.4 | NOK | http://autobuild.buildroot.net/results/3376748606f51250019401db3aa2ff2db0dcc1eb | s390x | vlc-3.0.17.4 | NOK | http://autobuild.buildroot.net/results/3632c0fe695f2e89382a04e52e324a813c53ac1d | s390x | vlc-3.0.17.4 | NOK | http://autobuild.buildroot.net/results/596d457d3f3168d9a82d749b2213124402afaf6e | sh4 | xenomai | NOK | http://autobuild.buildroot.net/results/19d53bbeef7128dc9016b17a68364b1b70dbed5b | i586 | xenomai | NOK | http://autobuild.buildroot.net/results/be3f4f06375295b94fb731c250138a69dcd66e94 | x86_64 | xenomai-custom | NOK | http://autobuild.buildroot.net/results/28417b9f63bd335f7e98d5623cf69c6fffe6a143 | riscv32 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/8ff9e5e0b21f9706529b1a9bb45fc6d151ec3e17 | mips64 | zabbix-5.4.9 | NOK | http://autobuild.buildroot.net/results/784eaceea6993311085eff00dc5f1e79f83e5521 | mips | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/d2b4adcfb4d2fafa8b323612d3dd5ff960d1f926 | xtensa | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/1cdbbb4c0db3e29b9e9dfce0ff7ee1b361809ae6 | armeb | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/367378f9ea5b72e872606f6ac33731aea82b6c2d | arc | zchunk-1.2.2 | NOK | http://autobuild.buildroot.net/results/f4ae227356af03b84129257b0c2f114e3a227c1a | aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/b773c877f6e46b536656a972b7cd58c43fd27ad3 | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/ae3189d2509a74c6419d131b1d28afea8d5d751d | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/e1dc0e5b9d9dd06d1d0484538fb9266b1de9bc4b | ORPH arm | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/67ff3895630a6b194ed5f2c0099cf2a296d470c0 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/4122d2dfcaea21c5363b64b84688a05b22d9f66b | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/230fb5a7b5970d71d985c2efd36d1b90fdc12d07 | ORPH aarch64 | zlib-ng-2.0.6 | NOK | http://autobuild.buildroot.net/results/bcfcca82e2083cfe2d3ccaf323959b195e73bc1d | ORPH Classification of failures by reason for 2022.02.x -------------------------------------------------- frr-8.1 | 2 bird-2.0.8 | 1 exempi-2.6.1 | 1 Detail of failures for 2022.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | bird-2.0.8 | NOK | http://autobuild.buildroot.net/results/0fdaf7e857460f1d87f3025fc27e43a4d0b2aa57 | arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/8d2424fb671f88f46cb35e5a92e301f0a8fb3bee | xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/13eaee784ae6202e85e18dda8f97fc6445744382 | xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/d65a0446336324eabfd064f34007c78ce08f99a3 | Gitlab CI results for 2022-04-29 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ amarula_a64_relic | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777723 | atmel_sama5d27_som1_ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777767 | bananapi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777793 | bananapi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777795 | bananapi_m2_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777798 | bananapro | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777805 | csky_gx6605s | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777827 | freescale_imx6dlsabreauto | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777841 | freescale_imx6dlsabresd | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777842 | freescale_imx6qsabreauto | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777844 | freescale_imx6qsabresd | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777845 | freescale_imx6sxsabresd | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777847 | freescale_imx6ullevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777849 | freescale_imx7dsabresd | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777850 | freescale_imx8mmevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777851 | freescale_imx8mnevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777852 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777853 | freescale_imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777854 | freescale_imx8qmmek | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777855 | freescale_imx8qxpmek | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777856 | friendlyarm_nanopi_m1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777863 | ORPH friendlyarm_nanopi_m1_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777865 | ORPH friendlyarm_nanopi_neo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777873 | friendlyarm_nanopi_neo_plus2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777876 | friendlyarm_nanopi_r1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777879 | galileo | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777886 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777912 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777913 | imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777914 | licheepi_zero | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777926 | minnowboard_max-graphical | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777950 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387777998 | orangepi_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778003 | ORPH orangepi_win | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778008 | qemu_arm_versatile_nommu | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778030 | qemu_arm_vexpress_tz | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778034 | qemu_ppc64_pseries | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778075 | qemu_ppc64le_powernv8 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778079 | qemu_ppc64le_pseries | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778081 | qemu_riscv64_virt | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778100 | qemu_s390x | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778102 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778132 | raspberrypi4_64 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778134 | rock_pi_n10 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778160 | zynqmp_zcu102 | https://gitlab.com/buildroot.org/buildroot/-/jobs/2387778235 | -- http://autobuild.buildroot.net From thomas.perrot at bootlin.com Sat Apr 30 08:08:21 2022 From: thomas.perrot at bootlin.com (Thomas Perrot) Date: Sat, 30 Apr 2022 10:08:21 +0200 Subject: [Buildroot] [PATCH] board/freescale/common/imx: add TEE support in imx8-bootloader-prepare Message-ID: <20220430080821.3524816-1-thomas.perrot@bootlin.com> When BR2_TARGET_OPTEE_OS=y, mkimage_fit_atf.sh is executed with two additional variables so that the ITS file contains an additional node for the TEE binary. Then the TEE binary will be packaged into the ITB in addition to TF-A and U-Boot. Signed-off-by: Thomas Perrot --- .../common/imx/imx8-bootloader-prepare.sh | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/board/freescale/common/imx/imx8-bootloader-prepare.sh b/board/freescale/common/imx/imx8-bootloader-prepare.sh index 56f65e312628..9025fb132d49 100755 --- a/board/freescale/common/imx/imx8-bootloader-prepare.sh +++ b/board/freescale/common/imx/imx8-bootloader-prepare.sh @@ -10,28 +10,44 @@ main () if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + else + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + fi ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb rm -f ${BINARIES_DIR}/u-boot.its ${HOST_DIR}/bin/mkimage_imx8 -fit -signed_hdmi ${BINARIES_DIR}/signed_hdmi_imx8m.bin -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" ${BR2_CONFIG}; then cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0xbe000000 ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + else + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + fi ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb rm -f ${BINARIES_DIR}/u-boot.its ${HOST_DIR}/bin/mkimage_imx8 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y$" ${BR2_CONFIG}; then cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00960000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00960000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + else + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00960000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + fi ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb rm -f ${BINARIES_DIR}/u-boot.its ${HOST_DIR}/bin/mkimage_imx8 -v v2 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x912000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y$" ${BR2_CONFIG}; then cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + else + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its + fi ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb rm -f ${BINARIES_DIR}/u-boot.its -- 2.35.1 From huth at tuxfamily.org Sat Apr 30 08:47:42 2022 From: huth at tuxfamily.org (Thomas Huth) Date: Sat, 30 Apr 2022 10:47:42 +0200 Subject: [Buildroot] [PATCH] package/frotz: Update to version 2.54 Message-ID: <20220430084742.522833-1-huth@tuxfamily.org> A simple update by bumping the version number and sha256 sum to the current version. Signed-off-by: Thomas Huth --- package/frotz/frotz.hash | 2 +- package/frotz/frotz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/frotz/frotz.hash b/package/frotz/frotz.hash index e5024aa2cd..145aa3800f 100644 --- a/package/frotz/frotz.hash +++ b/package/frotz/frotz.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 8da558828dd74d6d6ee30483bb32276ef918b8b72b7f6e89b4f7cb27e7abf58b frotz-2.53.tar.bz2 +sha256 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395 frotz-2.54.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/frotz/frotz.mk b/package/frotz/frotz.mk index c1362b2ac6..5af235137c 100644 --- a/package/frotz/frotz.mk +++ b/package/frotz/frotz.mk @@ -4,7 +4,7 @@ # ################################################################################ -FROTZ_VERSION = 2.53 +FROTZ_VERSION = 2.54 FROTZ_SOURCE = frotz-$(FROTZ_VERSION).tar.bz2 FROTZ_SITE = $(call gitlab,DavidGriffith,frotz,$(FROTZ_VERSION)) FROTZ_DEPENDENCIES = host-pkgconf ncurses -- 2.34.1 From arnout at mind.be Sat Apr 30 10:31:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 12:31:15 +0200 Subject: [Buildroot] ACE + TAO with buildroot - GLIBC_2.28 not found In-Reply-To: <8043273d-730b-c378-fd91-21e6902081fa@freenet.de> References: <8043273d-730b-c378-fd91-21e6902081fa@freenet.de> Message-ID: <3bcef05e-2ddd-2929-8bc7-f16c7ef33cd1@mind.be> On 29/04/2022 16:02, Earthquake wrote: > Hi, > > intergrating ACE was successfull with > > https://patchwork.ozlabs.org/project/buildroot/patch/20210413134139.13281-1-matthew.weber at rockwellcollins.com/ > > > ACE lib is built. > > When I integrate TAO in the ace.mk > > TAO_LIBRARIES += TAO_IDL > TAO_LIBRARIEs += tao/PortableServer > $(foreach lib,$(TAO_LIBRARIES), ACE_ROOT="$(@D)" $(TARGET_CONFIGURE_OPTS) > $(MAKE) -C $(@D)/TAO/$(lib) ACE_ROOT="$(@D)" TAO_ROOT="$(@D)/TAO"? all ) > > The tao_idl complier will be built. > > The PortableServer uses the created tao_idl complier but exit with: > > ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not > found (required by ../../../lib/libACE.so.7.0.2) > ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not > found (required by ../../../lib/libACE.so.7.0.2) You created tao_idl for the target, but are trying to run it on the host. The libc versions on target and host are not compatible. This probably means that the tao build system is not cross-compilation friendly. Perhaps it does support cross-compilation but you need some other option to pass the host compiler (we pass CC_FOR_BUILD="$(HOSTCC)" because CC_FOR_BUILD is the variable used by autotools, but with a custom Makefile they may expect a different variable). If it really doesn't support cross-compilation, then you should make a host-ace package that builds tao_idl and installs it in $(HOST_DIR)/bin, and then call that one. Regards, Arnout > > Wrong way to call? > > > Thanks for support, > > Alex > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Sat Apr 30 10:46:48 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 12:46:48 +0200 Subject: [Buildroot] GRUB2 2.04 (buildroot 2022.02.1) failure reading sector errors In-Reply-To: <1f0d993a5097ca6e94a4ded0b7e0c5cb@agner.ch> References: <1f0d993a5097ca6e94a4ded0b7e0c5cb@agner.ch> Message-ID: On 29/04/2022 16:47, Stefan Agner wrote: > Hi, > > On Home Assistant OS we are moving from Barebox to GRUB2 as the > bootloader for UEFI based systems. The switch is currently on our beta > channel with several hundert of users. I have now 4 independent reports > where the system stopped booting after upgrading to the new OS version > with GRUB2. The systems show the same error: "error: failure reading > sector 0x9c900 from `hd0`." The sector number is not always the same, > but it seems to be always within the partition holding the kernel. We > are using compressed squashfs which might be a factor influencing the > problem. > > Despite testing on several actual and virtual x86-64 systems I am unable > to reproduce so far. > > At least one of the systems has been successfully tested with Debian 11 > bullseye (which is using GRUB2 2.04 as well). That boot flow doesn't > make use of squashfs of course. > > Anyone seen similar issues? Ideas how to get to the bottom of this? > > I am considering moving to 2.06 to see if that fixes the problem, is > anyone working on 2.06 already? I see that buildroot is carring 150 > patches on-top of vanilla GRUB2, so that requires some work. (Almost?) all of those patches are backports of upstream, because there were a large number of CVEs beginning of 2021 and there was no release which included fixes for them. So updating grub shouldn't be that much of a problem. Regards, Arnout > > Best regards, > Stefan > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From stefan at agner.ch Sat Apr 30 10:59:38 2022 From: stefan at agner.ch (Stefan Agner) Date: Sat, 30 Apr 2022 12:59:38 +0200 Subject: [Buildroot] GRUB2 2.04 (buildroot 2022.02.1) failure reading sector errors In-Reply-To: References: <1f0d993a5097ca6e94a4ded0b7e0c5cb@agner.ch> Message-ID: <2e6a24d9176e2beaaf5108195183406a@agner.ch> On 2022-04-30 12:46, Arnout Vandecappelle wrote: > On 29/04/2022 16:47, Stefan Agner wrote: >> I am considering moving to 2.06 to see if that fixes the problem, is >> anyone working on 2.06 already? I see that buildroot is carring 150 >> patches on-top of vanilla GRUB2, so that requires some work. > > (Almost?) all of those patches are backports of upstream, because > there were a large number of CVEs beginning of 2021 and there was no > release which included fixes for them. So updating grub shouldn't be > that much of a problem. I've noticed that some of the patches patch files only available in the tarball release (where autoconf is already run). Not sure how those have been generated? In an experiment we used Debian sid 2.06 GRUB2 build on an affected system, and it seems to suffer the same issue. Which would mean that its not related to one of the patches, and the issue is also not fixed in GRUB 2.06. Debian booted fine otherwise on that system, so it must be related to the squashfs we are using. It probably still makes sense to move GRUB 2.06, just to be on a release closer to the current state of development. Best regards, Stefan > > Regards, > Arnout > > >> >> Best regards, >> Stefan >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot From fido_max at inbox.ru Sat Apr 30 11:23:33 2022 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Sat, 30 Apr 2022 14:23:33 +0300 Subject: [Buildroot] [PATCH 1/1] package/libosmium: bump version to 2.18.0 Message-ID: <20220430112333.414925-1-fido_max@inbox.ru> Release-notes: https://github.com/osmcode/libosmium/releases/tag/v2.18.0 Signed-off-by: Maxim Kochetkov --- package/libosmium/libosmium.hash | 2 +- package/libosmium/libosmium.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libosmium/libosmium.hash b/package/libosmium/libosmium.hash index ccfd3b09b0..cb53a91c67 100644 --- a/package/libosmium/libosmium.hash +++ b/package/libosmium/libosmium.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 ff85d55ca83d77fc41f6b7ae77f3d8d4337d299cbb4cc60c00e1f9d90d94e71b libosmium-2.17.3.tar.gz +sha256 c05a3e95c9c811521ebad8637e90f43ab8fb053b310875acce741cc4c17d6f59 libosmium-2.18.0.tar.gz sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE diff --git a/package/libosmium/libosmium.mk b/package/libosmium/libosmium.mk index 6510af4e77..f7ced04de3 100644 --- a/package/libosmium/libosmium.mk +++ b/package/libosmium/libosmium.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOSMIUM_VERSION = 2.17.3 +LIBOSMIUM_VERSION = 2.18.0 LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION)) LIBOSMIUM_LICENSE = BSL-1.0 LIBOSMIUM_LICENSE_FILES = LICENSE -- 2.34.1 From fido_max at inbox.ru Sat Apr 30 11:35:48 2022 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Sat, 30 Apr 2022 14:35:48 +0300 Subject: [Buildroot] [PATCH 1/1] package/timescaledb: bump version to 2.6.1 Message-ID: <20220430113548.461720-1-fido_max@inbox.ru> Release notes: https://github.com/timescale/timescaledb/releases/tag/2.6.1 Signed-off-by: Maxim Kochetkov --- package/timescaledb/timescaledb.hash | 2 +- package/timescaledb/timescaledb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/timescaledb/timescaledb.hash b/package/timescaledb/timescaledb.hash index 556cdaf329..f186684339 100644 --- a/package/timescaledb/timescaledb.hash +++ b/package/timescaledb/timescaledb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 b1a20832189c22ce378f009f9a24ef1db61d7131f7f79bde74fdcde87bcf2d7c timescaledb-2.5.2.tar.gz +sha256 226af207105cc9e2d1744b303e475204a947047103f0e5697de4e8949e4dde75 timescaledb-2.6.1.tar.gz sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE diff --git a/package/timescaledb/timescaledb.mk b/package/timescaledb/timescaledb.mk index 1d8b2a69a7..16fba11e21 100644 --- a/package/timescaledb/timescaledb.mk +++ b/package/timescaledb/timescaledb.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIMESCALEDB_VERSION = 2.5.2 +TIMESCALEDB_VERSION = 2.6.1 TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) TIMESCALEDB_LICENSE = Apache-2.0 TIMESCALEDB_LICENSE_FILES = LICENSE -- 2.34.1 From fido_max at inbox.ru Sat Apr 30 11:44:06 2022 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Sat, 30 Apr 2022 14:44:06 +0300 Subject: [Buildroot] [PATCH 1/1] package/postgis: bump version to 3.2.1 Message-ID: <20220430114406.545127-1-fido_max@inbox.ru> Release-notes: https://git.osgeo.org/gitea/postgis/postgis/src/tag/3.2.1/NEWS Signed-off-by: Maxim Kochetkov --- package/postgis/postgis.hash | 2 +- package/postgis/postgis.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/postgis/postgis.hash b/package/postgis/postgis.hash index 12ca18f84f..018e6523f3 100644 --- a/package/postgis/postgis.hash +++ b/package/postgis/postgis.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 7ab9e154c6947c0cffb8fa12d70806add9aa060e62b6c86a2e206f9d4b507cfd postgis-3.2.0.tar.gz +sha256 fbab68dde6ca3934b24ba08c8ab0cff2594f57f93deab41a15c82ae1bb69893e postgis-3.2.1.tar.gz sha256 55b69f22e1752830dd565852dc7ff242daf289dbd3a6bfede5db43f90d2e28c9 LICENSE.TXT diff --git a/package/postgis/postgis.mk b/package/postgis/postgis.mk index d9cda64730..b77071d03b 100644 --- a/package/postgis/postgis.mk +++ b/package/postgis/postgis.mk @@ -4,7 +4,7 @@ # ################################################################################ -POSTGIS_VERSION = 3.2.0 +POSTGIS_VERSION = 3.2.1 POSTGIS_SITE = https://download.osgeo.org/postgis/source # parallel build issues POSTGIS_MAKE = $(MAKE1) -- 2.34.1 From heiko.thiery at gmail.com Sat Apr 30 12:26:24 2022 From: heiko.thiery at gmail.com (Heiko Thiery) Date: Sat, 30 Apr 2022 14:26:24 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/imx-cst: new package In-Reply-To: <20220422100918.2818811-1-thomas.perrot@bootlin.com> References: <20220422100918.2818811-1-thomas.perrot@bootlin.com> Message-ID: Hi Thomas, Am Fr., 22. Apr. 2022 um 12:16 Uhr schrieb Thomas Perrot via buildroot : > > This package provides i.MX Code Signing Tools uses to sign i.MX bootloader > to enable secure boot (HABv4 and AHAB). > > Signed-off-by: Thomas Perrot > --- > > Changes v2: > - Add a trailing slash > - Preserve CFLAGS and LDFLAGS > > Changes v3: > - Hard code the OSTYPE variable to linux64 > > DEVELOPERS | 1 + > package/Config.in.host | 1 + > package/imx-cst/Config.in.host | 8 +++++++ > package/imx-cst/imx-cst.hash | 3 +++ > package/imx-cst/imx-cst.mk | 43 ++++++++++++++++++++++++++++++++++ > 5 files changed, 56 insertions(+) > create mode 100644 package/imx-cst/Config.in.host > create mode 100644 package/imx-cst/imx-cst.hash > create mode 100644 package/imx-cst/imx-cst.mk > What about having the package located in package/freescale-imx/ like the most other packages for the imx family? > diff --git a/DEVELOPERS b/DEVELOPERS > index 6e49334dcc42..86cb04e54e5d 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2767,6 +2767,7 @@ F: package/xorcurses/ > > N: Thomas Perrot > F: package/byacc/ > +F: package/imx-cst/ > > N: Thomas Petazzoni > F: arch/Config.in.arm > diff --git a/package/Config.in.host b/package/Config.in.host > index cd1c34b5a3d9..282594b40b8d 100644 > --- a/package/Config.in.host > +++ b/package/Config.in.host > @@ -40,6 +40,7 @@ menu "Host utilities" > source "package/google-breakpad/Config.in.host" > source "package/gptfdisk/Config.in.host" > source "package/imagemagick/Config.in.host" > + source "package/imx-cst/Config.in.host" > source "package/imx-mkimage/Config.in.host" > source "package/imx-usb-loader/Config.in.host" > source "package/jh71xx-tools/Config.in.host" > diff --git a/package/imx-cst/Config.in.host b/package/imx-cst/Config.in.host > new file mode 100644 > index 000000000000..84cb825e59cf > --- /dev/null > +++ b/package/imx-cst/Config.in.host > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_HOST_IMX_CST > + bool "host imx-cst" > + help > + I.MX code signing tool provides software code signing > + support designed that integrate the HABv4 and AHAB > + library. > + > + https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL > diff --git a/package/imx-cst/imx-cst.hash b/package/imx-cst/imx-cst.hash > new file mode 100644 > index 000000000000..9c27bfe82038 > --- /dev/null > +++ b/package/imx-cst/imx-cst.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 2bcc03c7cedba58f7207a72a28e75cfe78007988d68c1095c793cce991c2936e imx-cst-e2c687a856e6670e753147aacef42d0a3c07891a-br1.tar.gz > +sha256 5dee6f54c636a97b15d7e9dfc8075248c36764b3819828cbc94cbd17c1755fb9 LICENSE.bsd3 > diff --git a/package/imx-cst/imx-cst.mk b/package/imx-cst/imx-cst.mk > new file mode 100644 > index 000000000000..120f9c5575e1 > --- /dev/null > +++ b/package/imx-cst/imx-cst.mk > @@ -0,0 +1,43 @@ > +################################################################################ > +# > +# imx-cst > +# > +################################################################################ > + > +# debian/3.3.1+dfsg-2 > +IMX_CST_SITE = https://gitlab.apertis.org/pkg/imx-code-signing-tool.git > +IMX_CST_SITE_METHOD = git > +IMX_CST_VERSION = e2c687a856e6670e753147aacef42d0a3c07891a > +IMX_CST_LICENSE = BSD-3-Clause > +IMX_CST_LICENSE_FILES = LICENSE.bsd3 > + > +HOST_IMX_CST_DEPENDENCIES = host-byacc host-flex host-openssl > + > +# We don't use HOST_CONFIGURE_OPTS when building cst, because we need > +# to preserve the CFLAGS/LDFLAGS used by their Makefile. > +define HOST_IMX_CST_BUILD_CMDS > + $(HOST_MAKE_ENV) $(MAKE) \ > + OSTYPE=linux64 \ > + ENCRYPTION=yes \ > + AR="$(HOSTAR)" \ > + CC="$(HOSTCC)" \ > + LD="$(HOSTCC)" \ > + OBJCOPY="$(HOSTOBJCOPY)" \ > + RANLIB="$(HOSTRANLIB)" \ > + EXTRACFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \ > + EXTRALDFLAGS="$(HOST_LDFLAGS)" \ > + PWD=$(@D)/code/cst \ > + -C $(@D)/code/cst \ > + build > + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ > + COPTS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" \ > + -C $(@D)/code/hab_csf_parser > +endef > + > +define HOST_IMX_CST_INSTALL_CMDS > + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/cst $(HOST_DIR)/bin/cst > + $(INSTALL) -D -m 755 $(@D)/code/cst/code/obj.linux64/srktool $(HOST_DIR)/bin/srktool > + $(INSTALL) -D -m 755 $(@D)/code/hab_csf_parser/csf_parser $(HOST_DIR)/bin/csf_parser > +endef > + > +$(eval $(host-generic-package)) > -- > 2.35.1 > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From raphael.pavlidis at googlemail.com Sat Apr 30 13:30:50 2022 From: raphael.pavlidis at googlemail.com (Raphael Pavlidis) Date: Sat, 30 Apr 2022 15:30:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap: bump to version 2.64 Message-ID: <20220430133050.19519-1-raphael.pavlidis@gmail.com> https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.e8k97s2ae0nc Signed-off-by: Raphael Pavlidis --- package/libcap/libcap.hash | 2 +- package/libcap/libcap.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash index 2cdf92bbc1..7c48cd950b 100644 --- a/package/libcap/libcap.hash +++ b/package/libcap/libcap.hash @@ -1,5 +1,5 @@ # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz +sha256 c8465e1f0b068d5fc06199231135ccac7adb56d662b1de93589252e8cd071e13 libcap-2.64.tar.xz # Hash for license file: sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index ed689ce503..91e02638e2 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_VERSION = 2.63 +LIBCAP_VERSION = 2.64 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause -- 2.35.1 From arnout at mind.be Sat Apr 30 15:42:13 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 17:42:13 +0200 Subject: [Buildroot] [git commit] package/pahole: bump to commit 73383b3a39af Message-ID: <20220430153553.F0D1C846FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fdee03647f9ada725d739e3980d092c6f12d9d3b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The main goal is to use buildroot host-libbpf instead of pahole libbpf git submodule (which ends up being the same thing anyway). However, this creates compilation errors due to the use of deprecated APIs (like btf__get_nr_types). Bump pahole to a commit that is compatible with current libbpf: 73383b3a39af ("libbpf: Update libbpf to the latest git HEAD") Signed-off-by: Francis Laniel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pahole/pahole.hash | 2 +- package/pahole/pahole.mk | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package/pahole/pahole.hash b/package/pahole/pahole.hash index 420db15e75..8e5560b5e7 100644 --- a/package/pahole/pahole.hash +++ b/package/pahole/pahole.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 cde85af68b368f50a913be387f94f6b43612a04af6c92387b4dcabb712a668fe pahole-v1.23-br1.tar.gz +sha256 3531396c0568793ef8ca1a2fbb44ef2e1e81bdd55496a4487b83ba4d95df9d99 pahole-73383b3a39afe86b22e098773e47b8546c48a649.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk index da6d67e6a2..199fa8cc11 100644 --- a/package/pahole/pahole.mk +++ b/package/pahole/pahole.mk @@ -4,14 +4,14 @@ # ################################################################################ -PAHOLE_VERSION = v1.23 -PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git -PAHOLE_SITE_METHOD = git -# pahole contains git submodule and relies on them to be built. -PAHOLE_GIT_SUBMODULES = YES -HOST_PAHOLE_DEPENDENCIES = host-elfutils +PAHOLE_VERSION = 73383b3a39afe86b22e098773e47b8546c48a649 +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot +HOST_PAHOLE_DEPENDENCIES = \ + host-elfutils \ + host-libbpf # Defining __LIB is needed to build pahole. -HOST_PAHOLE_CONF_OPTS = -D__LIB=lib +# Set LIBBPF_EMBEDDED to OFF to use host-libbpf. +HOST_PAHOLE_CONF_OPTS = -D__LIB=lib -DLIBBPF_EMBEDDED=OFF PAHOLE_LICENSE = GPL-2.0 PAHOLE_LICENSE_FILES = COPYING From arnout at mind.be Sat Apr 30 15:46:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 17:46:14 +0200 Subject: [Buildroot] [RFC PATCH v1 1/2] package/libbpf: build for host In-Reply-To: <20220422181612.51246-2-flaniel@linux.microsoft.com> References: <20220422181612.51246-1-flaniel@linux.microsoft.com> <20220422181612.51246-2-flaniel@linux.microsoft.com> Message-ID: <4284a369-c87f-ae6c-af32-d338da99feb3@mind.be> On 22/04/2022 20:16, Francis Laniel wrote: > Signed-off-by: Francis Laniel > --- > package/libbpf/libbpf.mk | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/package/libbpf/libbpf.mk b/package/libbpf/libbpf.mk > index d6914757d7..709277fac4 100644 > --- a/package/libbpf/libbpf.mk > +++ b/package/libbpf/libbpf.mk > @@ -10,6 +10,7 @@ LIBBPF_LICENSE = GPL-2.0, LGPL-2.1, BSD-2-Clause > LIBBPF_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1 > LIBBPF_CPE_ID_VENDOR = libbpf_project > LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf elfutils zlib > +HOST_LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf host-elfutils host-zlib > LIBBPF_INSTALL_STAGING = YES > > define LIBBPF_BUILD_CMDS > @@ -38,4 +39,28 @@ define LIBBPF_INSTALL_TARGET_CMDS > -C $(@D)/src install DESTDIR=$(TARGET_DIR) > endef > > +define HOST_LIBBPF_INSTALL_CMDS > + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ > + -C $(@D)/src install install_uapi_headers DESTDIR=$(HOST_DIR) > + > + # We need to install_uapi_headers so we have btf.h to compile > + # host-pahole. > + # Nonetheless, this target adds bpf.h which generates a conflict when > + # building the kernel: > + # In file included from libbpf_internal.h:17:0, from strset.c:9: > + # relo_core.h:10:6: error: nested redefinition of ?enum bpf_core_relo_kind? > + # enum bpf_core_relo_kind { > + # ^~~~~~~~~~~~~~~~~~ > + # relo_core.h:10:6: error: redeclaration of ?enum bpf_core_relo_kind? > + # In file included from libbpf_legacy.h:13:0, > + # from libbpf_internal.h:16, > + # from strset.c:9: > + # /home/francis/buildroot/output/host/include/linux/bpf.h:6497:6: note: originally defined here > + # enum bpf_core_relo_kind { > + # So, better to remove remove it now since we do not need it to build > + # host-pahole. This entire comment shows up in the build log because make echoes commands and these are commands. So I moved it outside of the define. Applied both to master, thanks. In the second commit, I also reworded the commit message a bit. Regards, Arnout > + rm $(HOST_DIR)/include/linux/bpf.h > +endef > + > $(eval $(generic-package)) > +$(eval $(host-generic-package)) From arnout at mind.be Sat Apr 30 15:41:45 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 17:41:45 +0200 Subject: [Buildroot] [git commit] package/libbpf: build for host Message-ID: <20220430153553.E5915846F0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43b4017ba7c5f2636e6a3f674c63c50050956ea4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francis Laniel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libbpf/libbpf.mk | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/package/libbpf/libbpf.mk b/package/libbpf/libbpf.mk index d6914757d7..f50a82b581 100644 --- a/package/libbpf/libbpf.mk +++ b/package/libbpf/libbpf.mk @@ -10,6 +10,7 @@ LIBBPF_LICENSE = GPL-2.0, LGPL-2.1, BSD-2-Clause LIBBPF_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1 LIBBPF_CPE_ID_VENDOR = libbpf_project LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf elfutils zlib +HOST_LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf host-elfutils host-zlib LIBBPF_INSTALL_STAGING = YES define LIBBPF_BUILD_CMDS @@ -38,4 +39,27 @@ define LIBBPF_INSTALL_TARGET_CMDS -C $(@D)/src install DESTDIR=$(TARGET_DIR) endef +# We need to install_uapi_headers so we have btf.h to compile +# host-pahole. +# Nonetheless, this target adds bpf.h which generates a conflict when +# building the kernel: +# In file included from libbpf_internal.h:17:0, from strset.c:9: +# relo_core.h:10:6: error: nested redefinition of 'enum bpf_core_relo_kind' +# enum bpf_core_relo_kind { +# ^~~~~~~~~~~~~~~~~~ +# relo_core.h:10:6: error: redeclaration of 'enum bpf_core_relo_kind' +# In file included from libbpf_legacy.h:13:0, +# from libbpf_internal.h:16, +# from strset.c:9: +# /home/francis/buildroot/output/host/include/linux/bpf.h:6497:6: note: originally defined here +# enum bpf_core_relo_kind { +# So, better to remove remove it now since we do not need it to build +# host-pahole, the only user of host-libbpf. +define HOST_LIBBPF_INSTALL_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install install_uapi_headers DESTDIR=$(HOST_DIR) + rm $(HOST_DIR)/include/linux/bpf.h +endef + $(eval $(generic-package)) +$(eval $(host-generic-package)) From arnout at mind.be Sat Apr 30 15:50:42 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 17:50:42 +0200 Subject: [Buildroot] [PATCH 1/2] package/libmnl: bump to version 1.0.5 In-Reply-To: <20220425144213.3937-1-dariobin@libero.it> References: <20220425144213.3937-1-dariobin@libero.it> Message-ID: <58b13027-d230-b416-a5c4-2037675983df@mind.be> On 25/04/2022 16:42, Dario Binacchi wrote: > Signed-off-by: Dario Binacchi > --- > package/libmnl/libmnl.hash | 6 +++--- > package/libmnl/libmnl.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/libmnl/libmnl.hash b/package/libmnl/libmnl.hash > index e5bb2fa603..b3665767f7 100644 > --- a/package/libmnl/libmnl.hash > +++ b/package/libmnl/libmnl.hash > @@ -1,6 +1,6 @@ > -# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.4.tar.bz2.{md5sum,sha1sum} > -md5 be9b4b5328c6da1bda565ac5dffadb2d libmnl-1.0.4.tar.bz2 > -sha1 2db40dea612e88c62fd321906be40ab5f8f1685a libmnl-1.0.4.tar.bz2 > +# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.5.tar.bz2.{md5sum,sha1sum} > +md5 0bbb70573119ec5d49435114583e7a49 libmnl-1.0.5.tar.bz2 > +sha1 63c6456b77f7978a7b37e62c1b38346b2ef2d91c libmnl-1.0.5.tar.bz2 I've added a sha256sum, and updated the formatting to our current standard (two spaces) as reported by check-package. Applied to master, thanks. Regards, Arnout > > # Hash for license file: > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING > diff --git a/package/libmnl/libmnl.mk b/package/libmnl/libmnl.mk > index d3b33db2e0..3361d05248 100644 > --- a/package/libmnl/libmnl.mk > +++ b/package/libmnl/libmnl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBMNL_VERSION = 1.0.4 > +LIBMNL_VERSION = 1.0.5 > LIBMNL_SOURCE = libmnl-$(LIBMNL_VERSION).tar.bz2 > LIBMNL_SITE = http://netfilter.org/projects/libmnl/files > LIBMNL_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 30 15:51:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 17:51:59 +0200 Subject: [Buildroot] [PATCH 2/2] package/libmnl: add myself to DEVELOPERS In-Reply-To: <20220425144213.3937-2-dariobin@libero.it> References: <20220425144213.3937-1-dariobin@libero.it> <20220425144213.3937-2-dariobin@libero.it> Message-ID: <103621e3-e9ad-d6fa-c35f-a96e615f2153@mind.be> On 25/04/2022 16:42, Dario Binacchi wrote: > Add myself to DEVELOPERS as maintainer of libmnl. I've changed the subject to "DEVELOPERS: add Dario Binacchi for libmnl" (because 'git log --oneline' doesn't show authors, which make the 'myself' look strange) and removed the body (which wasn't adding anything). Regards, Arnout > > Signed-off-by: Dario Binacchi > --- > DEVELOPERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/DEVELOPERS b/DEVELOPERS > index 1bb90f8f33..4ddbf5d533 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -654,6 +654,7 @@ F: package/xinetd/ > > N: Dario Binacchi > F: package/davinci-bootcount/ > +F: package/libmnl/ > > N: David Bachelart > F: package/ccrypt/ From arnout at mind.be Sat Apr 30 15:49:48 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 17:49:48 +0200 Subject: [Buildroot] [git commit] DEVELOPERS: add Dario Binacchi for libmnl Message-ID: <20220430154149.0CBDB84778@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa3ec4f4abd6cbf3d037e17632aaa5232fb9b5aa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index 2a400fd679..127abb853f 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -654,6 +654,7 @@ F: package/xinetd/ N: Dario Binacchi F: package/davinci-bootcount/ +F: package/libmnl/ N: David Bachelart F: package/ccrypt/ From arnout at mind.be Sat Apr 30 15:48:04 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 17:48:04 +0200 Subject: [Buildroot] [git commit] package/libmnl: bump to version 1.0.5 Message-ID: <20220430154148.EB6EE84777@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=660b2379db1eec500191102dc94beda39ff0ebbe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Also add sha256 hash and update hash file formatting. Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libmnl/libmnl.hash | 11 ++++++----- package/libmnl/libmnl.mk | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package/libmnl/libmnl.hash b/package/libmnl/libmnl.hash index e5bb2fa603..4b592333cb 100644 --- a/package/libmnl/libmnl.hash +++ b/package/libmnl/libmnl.hash @@ -1,6 +1,7 @@ -# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.4.tar.bz2.{md5sum,sha1sum} -md5 be9b4b5328c6da1bda565ac5dffadb2d libmnl-1.0.4.tar.bz2 -sha1 2db40dea612e88c62fd321906be40ab5f8f1685a libmnl-1.0.4.tar.bz2 +# From ftp://ftp.netfilter.org/pub/libmnl/libmnl-1.0.5.tar.bz2.{md5sum,sha1sum} +md5 0bbb70573119ec5d49435114583e7a49 libmnl-1.0.5.tar.bz2 +sha1 63c6456b77f7978a7b37e62c1b38346b2ef2d91c libmnl-1.0.5.tar.bz2 -# Hash for license file: -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING +# Locally calculated +sha256 274b9b919ef3152bfb3da3a13c950dd60d6e2bcd54230ffeca298d03b40d0525 libmnl-1.0.5.tar.bz2 +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libmnl/libmnl.mk b/package/libmnl/libmnl.mk index d3b33db2e0..3361d05248 100644 --- a/package/libmnl/libmnl.mk +++ b/package/libmnl/libmnl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMNL_VERSION = 1.0.4 +LIBMNL_VERSION = 1.0.5 LIBMNL_SOURCE = libmnl-$(LIBMNL_VERSION).tar.bz2 LIBMNL_SITE = http://netfilter.org/projects/libmnl/files LIBMNL_INSTALL_STAGING = YES From arnout at mind.be Sat Apr 30 17:57:04 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 19:57:04 +0200 Subject: [Buildroot] [RFC PATCH v4 1/2] falcosecurity-libs: add new package In-Reply-To: <20220425164319.24788-2-flaniel@linux.microsoft.com> References: <20220425164319.24788-1-flaniel@linux.microsoft.com> <20220425164319.24788-2-flaniel@linux.microsoft.com> Message-ID: On 25/04/2022 18:43, Francis Laniel wrote: > Signed-off-by: Francis Laniel I've added a bit of explanation both in the commit message and in the .mk file itself that we're not building the userspace components and why. > --- > DEVELOPERS | 1 + > package/Config.in | 1 + > ...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 ++++++++ > package/falcosecurity-libs/Config.in | 30 +++++++ > .../falcosecurity-libs.hash | 5 ++ > .../falcosecurity-libs/falcosecurity-libs.mk | 80 +++++++++++++++++++ > 6 files changed, 151 insertions(+) > create mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch > create mode 100644 package/falcosecurity-libs/Config.in > create mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash > create mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index ca9decb58f..d45d3d2a7b 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -969,6 +969,7 @@ F: package/ipmitool/ > F: package/odhcploc/ > > N: Francis Laniel > +F: package/falcosecurity-libs > F: package/pahole/ > F: package/sysdig/ > F: package/tbb/ > diff --git a/package/Config.in b/package/Config.in > index 24f7af5ea8..3070094cc0 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -1935,6 +1935,7 @@ menu "Other" > source "package/eigen/Config.in" > source "package/elfutils/Config.in" > source "package/ell/Config.in" > + source "package/falcosecurity-libs/Config.in" > source "package/fftw/Config.in" > source "package/flann/Config.in" > source "package/flatbuffers/Config.in" > diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch > new file mode 100644 > index 0000000000..6141d8ef72 > --- /dev/null > +++ b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch > @@ -0,0 +1,34 @@ > +From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001 > +From: Francis Laniel > +Date: Tue, 12 Apr 2022 19:54:11 +0100 > +Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN. > + > +This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with: > +cmake -DGRPC_CPP_PLUGIN=/path > + > +Signed-off-by: Francis Laniel Could you send this patch upstream? Applied to master, thanks. Regards, Arnout [snip] From arnout at mind.be Sat Apr 30 18:07:41 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:07:41 +0200 Subject: [Buildroot] [RFC PATCH v4 2/2] package/sysdig: bump to 0.29.1 In-Reply-To: <20220425164319.24788-3-flaniel@linux.microsoft.com> References: <20220425164319.24788-1-flaniel@linux.microsoft.com> <20220425164319.24788-3-flaniel@linux.microsoft.com> Message-ID: On 25/04/2022 18:43, Francis Laniel wrote: > sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() > syscall [1]. > This patch bumps its version to enable cross-compilation. > > By doing so, we can remove the previous patches. > But this commit introduces new patches. > Indeed, libsinsp (lib system inspection), libscap (lib system capture) and the > kernel module were moved to falcosecurity/libs. > Sadly, it is not possible to compile sysdig with pre-compiled libs (like we do > in buildroot). > So, this contribution introduces a new patch to build sysdig with already built > falcosecurity/libs. > > [1] https://marc.info/?l=buildroot&m=164951521629400 > > Signed-off-by: Francis Laniel [snip] > diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in > index c124054105..392d858ac6 100644 > --- a/package/sysdig/Config.in > +++ b/package/sysdig/Config.in > @@ -2,25 +2,17 @@ config BR2_PACKAGE_SYSDIG > bool "sysdig" > depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf > depends on BR2_LINUX_KERNEL > - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb > + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb, yaml-cpp > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf > depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb This is now an indirect dependency. We normally show that as ... # falcosecurity-libs -> elfutils, jq, protobuf, tbb but that would get really long, so I changed all of them to just mention falcosecurity-libs. > depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb > depends on BR2_USE_WCHAR # elfutils This one is not present in falcosecurity-libs (anyway implied by glibc), so I removed it. > depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils > depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > - select BR2_PACKAGE_C_ARES > - select BR2_PACKAGE_ELFUTILS > - select BR2_PACKAGE_GRPC > - select BR2_PACKAGE_JQ > - select BR2_PACKAGE_JSONCPP > - select BR2_PACKAGE_LIBB64 > - select BR2_PACKAGE_LIBCURL > + select BR2_PACKAGE_FALCOSECURITY_LIBS > select BR2_PACKAGE_NCURSES > - select BR2_PACKAGE_OPENSSL > - select BR2_PACKAGE_PROTOBUF > - select BR2_PACKAGE_TBB > - select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_JSON_FOR_MODERN_CPP > + select BR2_PACKAGE_YAML_CPP > help > Sysdig is open source, system-level exploration: > capture system state and activity from a running Linux > @@ -36,4 +28,4 @@ comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic lib > || !BR2_TOOLCHAIN_HAS_THREADS \ > || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ > || !BR2_TOOLCHAIN_USES_GLIBC \ > - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 > diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash > index 4ec46abfc3..380c9dce1e 100644 > --- a/package/sysdig/sysdig.hash > +++ b/package/sysdig/sysdig.hash > @@ -1,5 +1,3 @@ > # sha256 locally computed > -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz > +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz > sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING > -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt > -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt > diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk > index 9a9aaa35c3..3ce5d0bb79 100644 > --- a/package/sysdig/sysdig.mk > +++ b/package/sysdig/sysdig.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -SYSDIG_VERSION = 0.27.1 > +SYSDIG_VERSION = 0.29.1 > SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) > -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) > -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt > +SYSDIG_LICENSE = Apache-2.0 > +SYSDIG_LICENSE_FILE = COPYING > SYSDIG_CPE_ID_VENDOR = sysdig > SYSDIG_CONF_OPTS = \ > -DENABLE_DKMS=OFF \ > @@ -16,39 +16,26 @@ SYSDIG_CONF_OPTS = \ > SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO > > SYSDIG_DEPENDENCIES = \ > - c-ares \ > - elfutils \ > - grpc \ > - jq \ > - jsoncpp \ > - libb64 \ > - libcurl \ > - luainterpreter \ > + falcosecurity-libs \ > ncurses \ > - openssl \ > - protobuf \ > - tbb \ > - zlib > + json-for-modern-cpp \ > + yaml-cpp > > -# sysdig creates the module Makefile from a template, which contains a > -# single place-holder, KBUILD_FLAGS, wich is only replaced with two > -# things: > -# - debug flags, which we don't care about here, > -# - 'sysdig-feature' flags, which are never set, so always empty > -# So, just replace the place-holder with the only meaningful value: nothing. > -define SYSDIG_MODULE_GEN_MAKEFILE > - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile > - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile > - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile > -endef > -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE > +# For sysdig to automatically loads the driver, SYSDIG_DRIVER_NAME should be > +# the same than FALCOSECURITY_LIBS_DRIVER_NAME. > +SYSDIG_DRIVER_NAME = scap It's a bit silly to have this huge comment and then define a variable that is used only once. So I removed all that and directly used FALCOSECURITY_LIBS_DRIVER_NAME below. Applied to master, thanks. Regards, Arnout > > -# Don't build the driver as part of the 'standard' procedure, we'll > -# build it on our own with the kernel-module infra. > -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF > - > -SYSDIG_MODULE_SUBDIRS = driver > -SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) > +# Don't build the driver as part of the 'standard' procedure, it has been built > +# by falcosecurity-libs.mk. > +# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host > +# one there. > +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(FALCOSECURITY_LIBS_SRCDIR) \ > + -DBUILD_DRIVER=OFF \ > + -DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin \ > + -DDRIVER_NAME=$(SYSDIG_DRIVER_NAME) \ > + -DENABLE_DKMS=OFF \ > + -DUSE_BUNDLED_DEPS=OFF \ > + -DWITH_CHISEL=ON \ > + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson > > -$(eval $(kernel-module)) > $(eval $(cmake-package)) From arnout at mind.be Sat Apr 30 18:01:23 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:01:23 +0200 Subject: [Buildroot] [git commit] falcosecurity-libs: add new package Message-ID: <20220430175731.26D59847F4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a15e35c4ebc52f29f65372c8e86cefa874aa4aaf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is a dependency of newer sysdig. It contains the driver, and also a few userspace components. The latter however are not meant to be installed in the sysroot; instead, the whole thing is meant to be included directly in the build of the project using it. Changing things so it does work in the normal way of installing to the sysroot turns out to be pretty complicated. Basically, falcosecurity-libs is just a component of sysdig. It's defined as a separate package only because that's an easier way to download it than defining extra download and extract commands in sysdig itself. For this reason, it's defined as a blind option in Config.in. Signed-off-by: Francis Laniel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + package/Config.in | 1 + ...0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 +++++++++ package/falcosecurity-libs/Config.in | 30 ++++++++ package/falcosecurity-libs/falcosecurity-libs.hash | 5 ++ package/falcosecurity-libs/falcosecurity-libs.mk | 84 ++++++++++++++++++++++ 6 files changed, 155 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index 127abb853f..b08253d6ef 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -970,6 +970,7 @@ F: package/ipmitool/ F: package/odhcploc/ N: Francis Laniel +F: package/falcosecurity-libs F: package/pahole/ F: package/sysdig/ F: package/tbb/ diff --git a/package/Config.in b/package/Config.in index 1bf458348b..4687dd4426 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1936,6 +1936,7 @@ menu "Other" source "package/eigen/Config.in" source "package/elfutils/Config.in" source "package/ell/Config.in" + source "package/falcosecurity-libs/Config.in" source "package/fftw/Config.in" source "package/flann/Config.in" source "package/flatbuffers/Config.in" diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch new file mode 100644 index 0000000000..6141d8ef72 --- /dev/null +++ b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch @@ -0,0 +1,34 @@ +From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Tue, 12 Apr 2022 19:54:11 +0100 +Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN. + +This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with: +cmake -DGRPC_CPP_PLUGIN=/path + +Signed-off-by: Francis Laniel +--- + cmake/modules/grpc.cmake | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake +index e5fd16b8..9d8f5934 100644 +--- a/cmake/modules/grpc.cmake ++++ b/cmake/modules/grpc.cmake +@@ -12,9 +12,11 @@ elseif(NOT USE_BUNDLED_GRPC) + set(GRPCPP_LIB gRPC::grpc++) + + # gRPC C++ plugin +- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) + if(NOT GRPC_CPP_PLUGIN) +- message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION) ++ if(NOT GRPC_CPP_PLUGIN) ++ message(FATAL_ERROR "System grpc_cpp_plugin not found") ++ endif() + endif() + + # gRPC include dir + properly handle grpc{++,pp} +-- +2.25.1 + diff --git a/package/falcosecurity-libs/Config.in b/package/falcosecurity-libs/Config.in new file mode 100644 index 0000000000..e0b5a3d134 --- /dev/null +++ b/package/falcosecurity-libs/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_FALCOSECURITY_LIBS + bool + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_LINUX_KERNEL + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # jq, protobuf, tbb + depends on !BR2_STATIC_LIBS # protobuf, tbb + depends on BR2_TOOLCHAIN_USES_GLIBC # tbb + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_GRPC + select BR2_PACKAGE_GTEST + select BR2_PACKAGE_HOST_GRPC + select BR2_PACKAGE_HOST_PROTOBUF + select BR2_PACKAGE_JQ + select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_LIBB64 + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_TBB + select BR2_PACKAGE_VALIJSON + select BR2_PACKAGE_ZLIB + help + falcosecurity/libs provides libsinsp, libscap, the kernel + module driver and the eBPF driver sources. + + https://github.com/falcosecurity/libs diff --git a/package/falcosecurity-libs/falcosecurity-libs.hash b/package/falcosecurity-libs/falcosecurity-libs.hash new file mode 100644 index 0000000000..2e239ca2fe --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.hash @@ -0,0 +1,5 @@ +# sha256 locally computed +sha256 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz +sha256 21ec9433a87459b3477faf542bacec419dc03af841309eac35edeffe481cf10b COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt +sha256 f17d3f2c2d565a74a7d5bf96f880c43701e141897e8dff0c8aa13e5d07aaf226 driver/MIT.txt diff --git a/package/falcosecurity-libs/falcosecurity-libs.mk b/package/falcosecurity-libs/falcosecurity-libs.mk new file mode 100644 index 0000000000..f2c389948f --- /dev/null +++ b/package/falcosecurity-libs/falcosecurity-libs.mk @@ -0,0 +1,84 @@ +################################################################################ +# +# falcosecurity-libs +# +################################################################################ + +FALCOSECURITY_LIBS_VERSION = e5c53d648f3c4694385bbe488e7d47eaa36c229a +FALCOSECURITY_LIBS_SITE = $(call github,falcosecurity,libs,$(FALCOSECURITY_LIBS_VERSION)) +FALCOSECURITY_LIBS_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) +FALCOSECURITY_LIBS_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +FALCOSECURITY_LIBS_CPE_ID_VENDOR = falco +FALCOSECURITY_LIBS_SUPPORTS_IN_SOURCE_BUILD = NO + +FALCOSECURITY_LIBS_DEPENDENCIES = \ + c-ares \ + elfutils \ + grpc \ + gtest \ + host-grpc \ + host-protobuf \ + jq \ + jsoncpp \ + libb64 \ + libcurl \ + luainterpreter \ + openssl \ + protobuf \ + tbb \ + valijson \ + zlib + +FALCOSECURITY_LIBS_DRIVER_NAME = scap +FALCOSECURITY_LIBS_MODULE_SUBDIRS = driver +FALCOSECURITY_LIBS_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) + +# falcosecurity-libs module needs these two kernel options to be set: +# CONFIG_TRACEPOINTS +# CONFIG_HAVE_SYSCALL_TRACEPOINTS +# https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-from-the-Source-Code#linux-and-osx +# CONFIG_FTRACE and CONFIG_SCHED_TRACER selects CONFIG_GENERIC_TRACER which in +# turns select CONFIG_TRACING which in turns select CONFIG_TRACEPOINTS +define FALCOSECURITY_LIBS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE) + $(call KCONFIG_ENABLE_OPT,CONFIG_SCHED_TRACER) + $(call KCONFIG_ENABLE_OPT,CONFIG_HAVE_SYSCALL_TRACEPOINTS) +endef + +# falcosecurity-libs creates the module Makefile from a template, which contains +# a single place-holder, KBUILD_FLAGS, wich is only replaced with debug flags, +# which we don't care about here. +# So, just replace the place-holder with the only meaningful value: nothing. +# For the DRIVER_NAME, we set it to FALCOSECURITY_LIBS_DRIVER_NAME. +# So, when sysdig will be run, it will automatically load +# FALCOSECURITY_LIBS_DRIVER_NAME.ko. +# We also need to do the same process for driver_config.h.in. +# PPM_API_CURRENT_VERSION_* were take from driver/API_VERSION and +# PPM_SCHEMA_CURRENT_VERSION_* from driver/SCHEMA_VERSION. +# For the others, it was taken by inspecting +# falcosecurity-libs/*/CMakeLists.txt, which normally creates these +# files, but doesn't work well with the kernel-module infrastructure. +define FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile + $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile + $(SED) 's/@DRIVER_NAME@/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/Makefile + + $(INSTALL) -m 0644 $(@D)/driver/driver_config.h.in $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_API_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_VERSION}//;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${DRIVER_DEVICE_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h + $(SED) 's/\$${GIT_COMMIT}/0.1.1dev/;' $(@D)/driver/driver_config.h +endef +FALCOSECURITY_LIBS_POST_PATCH_HOOKS += FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE + +# Userspace components are not built and installed, because it this +# package is intended to be included as source in another build. + +$(eval $(kernel-module)) +$(eval $(generic-package)) From arnout at mind.be Sat Apr 30 18:02:54 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:02:54 +0200 Subject: [Buildroot] [git commit] package/sysdig: bump to 0.29.1 Message-ID: <20220430175731.349EE84773@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ea86757e51cf424566f79896335d31d15b89d0d9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master sysdig 0.27.1 cannot be cross-compiled to, e.g., aarch64 because it uses open() syscall [1]. This patch bumps its version to enable cross-compilation. Existing patches have been upstream, but a new patch (merged upstream) has to be added to avoid downloading json-for-modern-cpp during the build. [1] https://marc.info/?l=buildroot&m=164951521629400 Signed-off-by: Francis Laniel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-USE_BUNDLED_DEPS-before-getting-nlohmann.patch | 52 ++++++++++++++ ...ply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch | 82 ---------------------- ...ink-against-libabseil-cpp-which-grpc-uses.patch | 47 ------------- package/sysdig/Config.in | 33 ++++----- package/sysdig/sysdig.hash | 4 +- package/sysdig/sysdig.mk | 53 +++++--------- 6 files changed, 83 insertions(+), 188 deletions(-) diff --git a/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch new file mode 100644 index 0000000000..3521bd3f8d --- /dev/null +++ b/package/sysdig/0001-cmake-Check-USE_BUNDLED_DEPS-before-getting-nlohmann.patch @@ -0,0 +1,52 @@ +From 0dbebd008c04d266dc41c4bec8280a0744fd5130 Mon Sep 17 00:00:00 2001 +From: Francis Laniel +Date: Wed, 13 Apr 2022 18:01:11 +0100 +Subject: [PATCH] cmake: Check USE_BUNDLED_DEPS before getting + nlohmann-json. + +Upstream: https://github.com/draios/sysdig/pull/1869 +Signed-off-by: Francis Laniel +--- + cmake/modules/nlohmann-json.cmake | 29 +++++++++++++++++++---------- + 1 file changed, 19 insertions(+), 10 deletions(-) + +diff --git a/cmake/modules/nlohmann-json.cmake b/cmake/modules/nlohmann-json.cmake +index bb1279d7..feb0f071 100644 +--- a/cmake/modules/nlohmann-json.cmake ++++ b/cmake/modules/nlohmann-json.cmake +@@ -16,13 +16,22 @@ + # limitations under the License. + # + +-set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") +-message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") +-set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") +-ExternalProject_Add( +- njson +- URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" +- URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" +- CONFIGURE_COMMAND "" +- BUILD_COMMAND "" +- INSTALL_COMMAND "") ++if(NOT USE_BUNDLED_DEPS) ++ find_path(NJSON_INCLUDE_DIR NAMES nlohmann/json.hpp) ++ if(NJSON_INCLUDE_DIR) ++ message(STATUS "Found njson: include: ${NJSON_INCLUDE_DIR}") ++ else() ++ message(FATAL_ERROR "Couldn't find system njson") ++ endif() ++else() ++ set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") ++ message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") ++ set(NJSON_INCLUDE_DIR "${NJSON_SRC}/single_include") ++ ExternalProject_Add( ++ njson ++ URL "https://github.com/nlohmann/json/archive/v3.3.0.tar.gz" ++ URL_HASH "SHA256=2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801" ++ CONFIGURE_COMMAND "" ++ BUILD_COMMAND "" ++ INSTALL_COMMAND "") ++endif() +-- +2.25.1 + diff --git a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch b/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch deleted file mode 100644 index 7873210281..0000000000 --- a/package/sysdig/0001-libsinsp-Apply-PATCH_COMMAND-to-fix-lua-types-and-fu.patch +++ /dev/null @@ -1,82 +0,0 @@ -From cc8bccc3ebb90103900a7f0f2b085ddb723b8792 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Wed, 6 Apr 2022 16:54:37 +0100 -Subject: [PATCH] libsinsp: Apply PATCH_COMMAND to fix lua types and function. - -Buildroot luajit 5.1 seems to not have compatibility between luaL_reg and -luaL_Reg. -So, we apply sysdig CMakeLists.txt PATCH_COMMAND to fix this and lua function -call as well. -Note that, this PATCH_COMMAND was added in sysdig in: -a064440394c9 ("Adding power support to Travis builds (#1566)") - -This patch is also present in kubernetes/minikube in: -f036c279bc59 ("Add patch for compiling sysdig with system luajit") - -Signed-off-by: Francis Laniel ---- - userspace/libsinsp/chisel.cpp | 6 +++--- - userspace/libsinsp/lua_parser.cpp | 2 +- - userspace/libsinsp/lua_parser_api.cpp | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp -index 0a6e3cf8..0c2e255a 100644 ---- a/userspace/libsinsp/chisel.cpp -+++ b/userspace/libsinsp/chisel.cpp -@@ -98,7 +98,7 @@ void lua_stackdump(lua_State *L) - // Lua callbacks - /////////////////////////////////////////////////////////////////////////////// - #ifdef HAS_LUA_CHISELS --const static struct luaL_reg ll_sysdig [] = -+const static struct luaL_Reg ll_sysdig [] = - { - {"set_filter", &lua_cbacks::set_global_filter}, - {"set_snaplen", &lua_cbacks::set_snaplen}, -@@ -134,7 +134,7 @@ const static struct luaL_reg ll_sysdig [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_chisel [] = -+const static struct luaL_Reg ll_chisel [] = - { - {"request_field", &lua_cbacks::request_field}, - {"set_filter", &lua_cbacks::set_filter}, -@@ -146,7 +146,7 @@ const static struct luaL_reg ll_chisel [] = - {NULL,NULL} - }; - --const static struct luaL_reg ll_evt [] = -+const static struct luaL_Reg ll_evt [] = - { - {"field", &lua_cbacks::field}, - {"get_num", &lua_cbacks::get_num}, -diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp -index 0e26617d..78810d96 100644 ---- a/userspace/libsinsp/lua_parser.cpp -+++ b/userspace/libsinsp/lua_parser.cpp -@@ -32,7 +32,7 @@ extern "C" { - #include "lauxlib.h" - } - --const static struct luaL_reg ll_filter [] = -+const static struct luaL_Reg ll_filter [] = - { - {"rel_expr", &lua_parser_cbacks::rel_expr}, - {"bool_op", &lua_parser_cbacks::bool_op}, -diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp -index c89e9126..c3d8008a 100644 ---- a/userspace/libsinsp/lua_parser_api.cpp -+++ b/userspace/libsinsp/lua_parser_api.cpp -@@ -266,7 +266,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls) - string err = "Got non-table as in-expression operand\n"; - throw sinsp_exception("parser API error"); - } -- int n = luaL_getn(ls, 4); /* get size of table */ -+ int n = lua_objlen (ls, 4); /* get size of table */ - for (i=1; i<=n; i++) - { - lua_rawgeti(ls, 4, i); --- -2.25.1 - diff --git a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch b/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch deleted file mode 100644 index a9155fbb4a..0000000000 --- a/package/sysdig/0002-Link-against-libabseil-cpp-which-grpc-uses.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a7fb3b863c3574470c45fdf6084dcc40931ca017 Mon Sep 17 00:00:00 2001 -From: Francis Laniel -Date: Thu, 7 Apr 2022 18:30:23 +0100 -Subject: [PATCH] Link against libabseil-cpp which grpc uses. - -This patch was taken from: -55c96b61f7b9 ("sysdig: make extra linking against abseil conditional") [1] -from hhoffstaette/portage. - -[1] https://github.com/hhoffstaette/portage/blob/55c96b61f7b91e4d91bed6723e86c00dd91f8d16/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch - -Signed-off-by: Francis Laniel ---- - CMakeLists.txt | 1 + - userspace/libsinsp/CMakeLists.txt | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1f34f1d6..c0354b29 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE) - else() - message(FATAL_ERROR "Couldn't find system grpc") - endif() -+ find_library(ABSL_SYNC_LIB NAMES absl_synchronization) - find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin) - if(NOT GRPC_CPP_PLUGIN) - message(FATAL_ERROR "System grpc_cpp_plugin not found") -diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt -index d72f9115..d1b7ea02 100644 ---- a/userspace/libsinsp/CMakeLists.txt -+++ b/userspace/libsinsp/CMakeLists.txt -@@ -214,6 +214,10 @@ if(NOT WIN32) - "${JQ_LIB}" - "${B64_LIB}") - -+ if(ABSL_SYNC_LIB) -+ target_link_libraries(sinsp "${ABSL_SYNC_LIB}") -+ endif() -+ - if(NOT MUSL_OPTIMIZED_BUILD) - target_link_libraries(sinsp - rt --- -2.25.1 - diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in index c124054105..3a21f51725 100644 --- a/package/sysdig/Config.in +++ b/package/sysdig/Config.in @@ -1,26 +1,17 @@ config BR2_PACKAGE_SYSDIG bool "sysdig" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq, protobuf, tbb - depends on !BR2_STATIC_LIBS # elfutils, protobuf, tbb - depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_GLIBC # elfutils - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_ELFUTILS - select BR2_PACKAGE_GRPC - select BR2_PACKAGE_JQ - select BR2_PACKAGE_JSONCPP - select BR2_PACKAGE_LIBB64 - select BR2_PACKAGE_LIBCURL + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # falcosecurity-libs + depends on BR2_LINUX_KERNEL # falcosecurity-libs + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # falcosecurity-libs + depends on BR2_TOOLCHAIN_HAS_THREADS # falcosecurity-libs + depends on !BR2_STATIC_LIBS # falcosecurity-libs + depends on BR2_TOOLCHAIN_USES_GLIBC # falcosecurity-libs + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # falcosecurity-libs + select BR2_PACKAGE_FALCOSECURITY_LIBS select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PROTOBUF - select BR2_PACKAGE_TBB - select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_JSON_FOR_MODERN_CPP + select BR2_PACKAGE_YAML_CPP help Sysdig is open source, system-level exploration: capture system state and activity from a running Linux @@ -36,4 +27,4 @@ comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 4.8, dynamic lib || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ || !BR2_TOOLCHAIN_USES_GLIBC \ - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash index 4ec46abfc3..380c9dce1e 100644 --- a/package/sysdig/sysdig.hash +++ b/package/sysdig/sysdig.hash @@ -1,5 +1,3 @@ # sha256 locally computed -sha256 b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda sysdig-0.27.1.tar.gz +sha256 3721c97f0da43c1a68d2962d30363525d8532ab5f2534dfefc86d175e17e423e sysdig-0.29.1.tar.gz sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt -sha256 e3f6a43d097ed68176e9738de925d98b938e1bccf6d6bd1bcd79395eca8f76ed driver/MIT.txt diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk index 9a9aaa35c3..76cabcaeca 100644 --- a/package/sysdig/sysdig.mk +++ b/package/sysdig/sysdig.mk @@ -4,10 +4,10 @@ # ################################################################################ -SYSDIG_VERSION = 0.27.1 +SYSDIG_VERSION = 0.29.1 SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION)) -SYSDIG_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver) -SYSDIG_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt +SYSDIG_LICENSE = Apache-2.0 +SYSDIG_LICENSE_FILE = COPYING SYSDIG_CPE_ID_VENDOR = sysdig SYSDIG_CONF_OPTS = \ -DENABLE_DKMS=OFF \ @@ -16,39 +16,22 @@ SYSDIG_CONF_OPTS = \ SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO SYSDIG_DEPENDENCIES = \ - c-ares \ - elfutils \ - grpc \ - jq \ - jsoncpp \ - libb64 \ - libcurl \ - luainterpreter \ + falcosecurity-libs \ ncurses \ - openssl \ - protobuf \ - tbb \ - zlib + json-for-modern-cpp \ + yaml-cpp -# sysdig creates the module Makefile from a template, which contains a -# single place-holder, KBUILD_FLAGS, wich is only replaced with two -# things: -# - debug flags, which we don't care about here, -# - 'sysdig-feature' flags, which are never set, so always empty -# So, just replace the place-holder with the only meaningful value: nothing. -define SYSDIG_MODULE_GEN_MAKEFILE - $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile - $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile - $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile -endef -SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE - -# Don't build the driver as part of the 'standard' procedure, we'll -# build it on our own with the kernel-module infra. -SYSDIG_CONF_OPTS += -DBUILD_DRIVER=OFF - -SYSDIG_MODULE_SUBDIRS = driver -SYSDIG_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) +# Don't build the driver as part of the 'standard' procedure, it has been built +# by falcosecurity-libs.mk. +# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host +# one there. +SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(FALCOSECURITY_LIBS_SRCDIR) \ + -DBUILD_DRIVER=OFF \ + -DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin \ + -DDRIVER_NAME=$(FALCOSECURITY_LIBS_DRIVER_NAME.) \ + -DENABLE_DKMS=OFF \ + -DUSE_BUNDLED_DEPS=OFF \ + -DWITH_CHISEL=ON \ + -DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson -$(eval $(kernel-module)) $(eval $(cmake-package)) From arnout at mind.be Sat Apr 30 18:43:49 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:43:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/bubblewrap: disable tests In-Reply-To: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> References: <20220427200838.2896323-1-fontaine.fabrice@gmail.com> Message-ID: <9cf624c2-6e87-f664-08ae-6920968fe152@mind.be> On 27/04/2022 22:08, Fabrice Fontaine wrote: > Disable tests to avoid the following build failure on mips32: > > [9/10] Compiling C object tests/try-syscall.p/try-syscall.c.o > FAILED: tests/try-syscall.p/try-syscall.c.o > /home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c > ../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" > 34 | # error "Unknown MIPS ABI" > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-meson-add-tests-option.patch | 54 +++++++++++++++++++ > package/bubblewrap/bubblewrap.mk | 3 +- > 2 files changed, 56 insertions(+), 1 deletion(-) > create mode 100644 package/bubblewrap/0001-meson-add-tests-option.patch > > diff --git a/package/bubblewrap/0001-meson-add-tests-option.patch b/package/bubblewrap/0001-meson-add-tests-option.patch > new file mode 100644 > index 0000000000..32836f925d > --- /dev/null > +++ b/package/bubblewrap/0001-meson-add-tests-option.patch > @@ -0,0 +1,54 @@ > +From 34ea0ad841d6f9167db391c08e6cd51471fed6be Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 3 Apr 2022 11:27:06 +0200 > +Subject: [PATCH] meson: add tests option > + > +Allow the user to disable tests, for example to avoid the following > +build failure on mips32: > + > +FAILED: tests/try-syscall.p/try-syscall.c.o > +/home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c > +../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" > + 34 | # error "Unknown MIPS ABI" > + | ^~~~~ > + > +Fixes: > + - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee > + > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/containers/bubblewrap/commit/34ea0ad841d6f9167db391c08e6cd51471fed6be] > +--- > + meson.build | 4 +++- > + meson_options.txt | 6 ++++++ > + 2 files changed, 9 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 5b63aa64..9277ac4e 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -152,4 +152,6 @@ if not meson.is_subproject() > + subdir('completions') > + endif > + > +-subdir('tests') > ++if get_option('tests') > ++ subdir('tests') > ++endif > +diff --git a/meson_options.txt b/meson_options.txt > +index 2fa3a8c3..a136a3c3 100644 > +--- a/meson_options.txt > ++++ b/meson_options.txt > +@@ -38,6 +38,12 @@ option( > + description : 'enable optional SELINUX support', > + value : 'auto', > + ) > ++option( > ++ 'tests', > ++ type : 'boolean', > ++ description : 'build tests', > ++ value : 'true', > ++) > + option( > + 'zsh_completion', > + type : 'feature', > diff --git a/package/bubblewrap/bubblewrap.mk b/package/bubblewrap/bubblewrap.mk > index 5875b0d6e2..81456e9e0d 100644 > --- a/package/bubblewrap/bubblewrap.mk > +++ b/package/bubblewrap/bubblewrap.mk > @@ -17,7 +17,8 @@ BUBBLEWRAP_CONF_OPTS = \ > -Dzsh_completion=disabled \ > -Dman=disabled \ > -Dpython=$(HOST_DIR)/bin/python \ > - -Drequire_userns=false > + -Drequire_userns=false \ > + -Dtests=false > > ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) > BUBBLEWRAP_CONF_OPTS += \ From arnout at mind.be Sat Apr 30 18:44:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:44:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/freeipmi: fix build with argp-standalone and NLS In-Reply-To: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> References: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> Message-ID: <6fe43d11-ade1-0d85-b5df-5070a9ca8e1f@mind.be> On 27/04/2022 22:18, Fabrice Fontaine wrote: > Fix the following build failure with argp-standalone and NLS raised > since commit 5430c8fedd0392e79e0c011825b056fea129980a: > > configure:14644: checking for argp_parse in -largp > configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 > /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': > /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' > > [...] > > In file included from freeipmi-argp-fmtstream.c:35: > freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' > 62 | #define __argp_fmtstream_write argp_fmtstream_write > | ^~~~~~~~~~~~~~~~~~~~ > freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' > 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, > | ^~~~~~~~~~~~~~~~~~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 > > Signed-off-by: Fabrice Fontaine > --- > package/freeipmi/freeipmi.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/freeipmi/freeipmi.mk b/package/freeipmi/freeipmi.mk > index 9fb59245b9..b26ed0c0bf 100644 > --- a/package/freeipmi/freeipmi.mk > +++ b/package/freeipmi/freeipmi.mk > @@ -20,7 +20,8 @@ FREEIPMI_CONF_OPTS = --without-random-device > # Work around for uClibc or musl toolchains which lack argp_*() > # functions. > ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) > -FREEIPMI_DEPENDENCIES += argp-standalone > +FREEIPMI_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) I've applied as is, however are these TARGET_NLS_DEPENDENCIES actually needed? argp-standalone itself will already pull them in, right? Regards, Arnout > +FREEIPMI_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) > endif > > ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) From arnout at mind.be Sat Apr 30 18:46:13 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:46:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/freeipmi: fix build with argp-standalone and NLS In-Reply-To: <20220428104555.62683882@windsurf> References: <20220427201812.4037832-1-fontaine.fabrice@gmail.com> <20220428104555.62683882@windsurf> Message-ID: On 28/04/2022 10:45, Thomas Petazzoni via buildroot wrote: > Hello Fabrice, > > On Wed, 27 Apr 2022 22:18:12 +0200 > Fabrice Fontaine wrote: > >> Fix the following build failure with argp-standalone and NLS raised >> since commit 5430c8fedd0392e79e0c011825b056fea129980a: >> >> configure:14644: checking for argp_parse in -largp >> configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 >> /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': >> /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' >> >> [...] >> >> In file included from freeipmi-argp-fmtstream.c:35: >> freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' >> 62 | #define __argp_fmtstream_write argp_fmtstream_write >> | ^~~~~~~~~~~~~~~~~~~~ >> freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' >> 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, >> | ^~~~~~~~~~~~~~~~~~~~~~ >> >> Fixes: >> - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 >> >> Signed-off-by: Fabrice Fontaine > > While your patch is indeed the most "immediate" fix, shouldn't we think > about providing a pkg-config file for argp-standalone, so that its > indirect dependency on libintl when static linking can be properly > described, and transparently discovered by users of argp-standalone? As usual, that only works if we upstream the pkg-config file to arp-standalone and downstream projects start to adopt it. Until then, we still need to do something like this patch (except more complicated). Regards, Arnout > > Because otherwise here, you'll have to basically propagate this to all > users of argp-standalone, and to all users of users of argp-standalone. > > Thomas From arnout at mind.be Sat Apr 30 18:46:43 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:46:43 +0200 Subject: [Buildroot] [PATCH 1/2] package/libv4l: drop -largp In-Reply-To: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> References: <20220427204249.3207448-1-fontaine.fabrice@gmail.com> Message-ID: On 27/04/2022 22:42, Fabrice Fontaine wrote: > Commit 07ac045655d08255fbc2d17b16a42d0f0017632e added -largp to LIBS but > it was not needed since > https://git.linuxtv.org/v4l-utils.git/commit/configure.ac?id=b187b94d8e9158973ad17ea1f9c4cb01df117ba3 > > Signed-off-by: Fabrice Fontaine Applied both to master, thanks. Regards, Arnout > --- > package/libv4l/libv4l.mk | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk > index 8300f5c970..a781ffcd5d 100644 > --- a/package/libv4l/libv4l.mk > +++ b/package/libv4l/libv4l.mk > @@ -28,7 +28,6 @@ endif > > ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) > LIBV4L_DEPENDENCIES += argp-standalone > -LIBV4L_LIBS += -largp > endif > > LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) > @@ -85,6 +84,4 @@ ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) > LIBV4L_DEPENDENCIES += sdl2_image > endif > > -LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" > - > $(eval $(autotools-package)) From arnout at mind.be Sat Apr 30 18:47:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:47:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/libssh2: fix build with libressl >= 3.5.0 In-Reply-To: <20220427210419.1432804-1-fontaine.fabrice@gmail.com> References: <20220427210419.1432804-1-fontaine.fabrice@gmail.com> Message-ID: On 27/04/2022 23:04, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since bump to > version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: > > crypt.c:71:25: error: field 'h' has incomplete type > 71 | _libssh2_cipher_ctx h; > | ^ > > Fixes: > - http://autobuild.buildroot.org/results/47f492ccd4888fe4a150b36e12c88f1e068d46b6 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-Opaque-structs-in-LibreSSL-3-5.patch | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch > > diff --git a/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch > new file mode 100644 > index 0000000000..2e1fd8871c > --- /dev/null > +++ b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch > @@ -0,0 +1,27 @@ > +From 7f55a033e5054529e5e69f06725dd02a573329b6 Mon Sep 17 00:00:00 2001 > +From: Charlie Li > +Date: Wed, 2 Mar 2022 19:50:56 -0500 > +Subject: [PATCH] Opaque structs in LibreSSL 3.5 > + > +[Retrieved (and backported) from: > +https://github.com/libssh2/libssh2/pull/682/commits/7f55a033e5054529e5e69f06725dd02a573329b6] > +Signed-off-by: Fabrice Fontaine > +--- > + src/openssl.h | 5 +++-- > + 1 file changed, 3 insertions(+), 2 deletions(-) > + > +diff --git a/src/openssl.h b/src/openssl.h > +index 3eef02368..c13542481 100644 > +--- a/src/openssl.h > ++++ b/src/openssl.h > +@@ -94,8 +94,8 @@ > + #include > + #include > + > +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ > +- !defined(LIBRESSL_VERSION_NUMBER) > ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || \ > ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) > + # define HAVE_OPAQUE_STRUCTS 1 > + #endif > + From arnout at mind.be Sat Apr 30 18:49:00 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:49:00 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/mpd: fix iconv detection w/ libiconv installed In-Reply-To: <20220428061031.3443-1-br015@umbiko.net> References: <20220428061031.3443-1-br015@umbiko.net> Message-ID: On 28/04/2022 08:10, Andreas Ziegler wrote: > Fix build failures caused by meson failing to properly detect iconv() when > libiconv is installed and a missing link dependency. > > Upstream pull request: > https://github.com/MusicPlayerDaemon/MPD/pull/1515 > > Fixes the following build failures: > http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ > > Signed-off-by: Andreas Ziegler > --- > changes v1->v2: > extract patch from git w/o numbering, fix typo, add signed-off-by > > ...iconv-detection-when-libiconv-is-ins.patch | 55 +++++++++++++++++++ > 1 file changed, 55 insertions(+) > create mode 100644 package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch > > diff --git a/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch > new file mode 100644 > index 0000000000..63742c0cbe > --- /dev/null > +++ b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch > @@ -0,0 +1,55 @@ > +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 > +From: aeolio > +Date: Wed, 20 Apr 2022 16:10:39 +0200 > +Subject: [PATCH] src/lib/icu: fix iconv() detection when libiconv is installed > + > +Signed-off-by: aeolio > + > +Fix typo in comment I've also put the upstream link in the patch itself, and applied to master, thanks. Regards, Arnout > + > +Signed-off-by: Andreas Ziegler > +--- > + src/lib/icu/meson.build | 11 +++++++++-- > + 1 file changed, 9 insertions(+), 2 deletions(-) > + > +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build > +index 59215e704..972c1fda3 100644 > +--- a/src/lib/icu/meson.build > ++++ b/src/lib/icu/meson.build > +@@ -12,17 +12,23 @@ if is_windows > + icu_sources += 'Win32.cxx' > + endif > + > ++iconv_dep = [] > + if icu_dep.found() > + icu_sources += [ > + 'Util.cxx', > + 'Init.cxx', > + ] > + elif not get_option('iconv').disabled() > +- have_iconv = compiler.has_function('iconv', prefix : '#include ') > +- conf.set('HAVE_ICONV', have_iconv) > ++ # an installed iconv library will make the builtin iconv() unavailable, > ++ # so search for the library first and pass it as (possible) dependency > ++ iconv_dep = compiler.find_library('libiconv', required: false) > ++ have_iconv = compiler.has_function('iconv', > ++ dependencies: iconv_dep, > ++ prefix : '#include ') > + if not have_iconv and get_option('iconv').enabled() > + error('iconv() not available') > + endif > ++ conf.set('HAVE_ICONV', have_iconv) > + endif > + > + icu = static_library( > +@@ -31,6 +37,7 @@ icu = static_library( > + include_directories: inc, > + dependencies: [ > + icu_dep, > ++ iconv_dep, > + fmt_dep, > + ], > + ) > +-- > +2.34.1 > + From arnout at mind.be Sat Apr 30 18:49:58 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:49:58 +0200 Subject: [Buildroot] [PATCH v2] package/imx-mkimage: install print_fit_hab.sh In-Reply-To: <20220428074018.3993608-1-thomas.perrot@bootlin.com> References: <20220428074018.3993608-1-thomas.perrot@bootlin.com> Message-ID: <01e81165-8207-9041-61c6-f04b5db76266@mind.be> On 28/04/2022 09:40, Thomas Perrot via buildroot wrote: > This script gives the address, the offset and the size of binaries have been > stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. > > Signed-off-by: Thomas Perrot Applied to master, thanks. Regards, Arnout > --- > > Changes v2: > - Fix a typo, when the variable BL31 is empty, BL33 was initialized instead of > BL31. > > ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 +++++++++++++++++++ > package/imx-mkimage/imx-mkimage.mk | 1 + > 2 files changed, 62 insertions(+) > create mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch > > diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch > new file mode 100644 > index 000000000000..715b0f31d052 > --- /dev/null > +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch > @@ -0,0 +1,61 @@ > +From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 > +From: Thomas Perrot > +Date: Tue, 26 Apr 2022 15:10:04 +0200 > +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 > + > +Signed-off-by: Thomas Perrot > +--- > + iMX8M/print_fit_hab.sh | 14 +++++++++----- > + 1 file changed, 9 insertions(+), 5 deletions(-) > + > +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh > +index b915115d1ecc..dbc28f2d9af5 100755 > +--- a/iMX8M/print_fit_hab.sh > ++++ b/iMX8M/print_fit_hab.sh > +@@ -1,12 +1,16 @@ > + #!/bin/bash > + > +-BL32="tee.bin" > +- > + let fit_off=$1 > + > + # keep backward compatibility > + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" > + > ++[ -z "$BL31" ] && BL31="bl31.bin" > ++ > ++[ -z "$BL32" ] && BL32="tee.bin" > ++ > ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" > ++ > + if [ -z "$ATF_LOAD_ADDR" ]; then > + echo "ERROR: BL31 load address is not set" >&2 > + exit 0 > +@@ -26,7 +30,7 @@ else > + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) > + fi > + > +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') > ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') > + let uboot_load_addr=0x40200000 > + > + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) > +@@ -64,13 +68,13 @@ done > + > + let atf_sign_off=$((last_sign_off)) > + let atf_load_addr=$ATF_LOAD_ADDR > +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') > ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') > + > + if [ ! -f $BL32 ]; then > + let tee_size=0x0 > + let tee_sign_off=$((atf_sign_off + atf_size)) > + else > +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') > ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') > + > + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) > + let tee_load_addr=$TEE_LOAD_ADDR > +-- > +2.35.1 > + > diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk > index 17ba3596f752..b88be0ca6441 100644 > --- a/package/imx-mkimage/imx-mkimage.mk > +++ b/package/imx-mkimage/imx-mkimage.mk > @@ -21,6 +21,7 @@ endef > define HOST_IMX_MKIMAGE_INSTALL_CMDS > $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 > $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh > + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh > endef > else > # i.MX8 and i.MX8X > -- > 2.35.1 > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Sat Apr 30 18:50:15 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:50:15 +0200 Subject: [Buildroot] [PATCH] package/dhcp: add explicit option disabling In-Reply-To: <20220428162738.1243794-1-yann.morin.1998@free.fr> References: <20220428162738.1243794-1-yann.morin.1998@free.fr> Message-ID: On 28/04/2022 18:27, Yann E. MORIN wrote: > Commits 4db37c663cc0 (dhcp: add config option for delayed-ack feature > of dhcp server) and 40f7adae3c03 (package/dhcp: add security options to > DHCP server) forgot to explicit disable the option when not requested. > > Fix that now. > > Signed-off-by: Yann E. MORIN > Cc: Andreas Ehmanns > Cc: Fabrice Fontaine > Cc: Thomas De Schampheleire > Cc: Jan Havran > Cc: Eugen Hristev Applied to master, thanks. Regards, Arnout > --- > package/dhcp/dhcp.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index b73137506d..cbc95cb152 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -76,10 +76,14 @@ endif > > ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) > DHCP_CONF_OPTS += --enable-delayed-ack > +else > +DHCP_CONF_OPTS += --disable-delayed-ack > endif > > ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) > DHCP_CONF_OPTS += --enable-paranoia > +else > +DHCP_CONF_OPTS += --disable-paranoia > endif > > define DHCP_INSTALL_LIBS From arnout at mind.be Sat Apr 30 18:50:33 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:50:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/libldns: fix build with libressl >= 3.5.0 In-Reply-To: <20220428204048.4003582-1-fontaine.fabrice@gmail.com> References: <20220428204048.4003582-1-fontaine.fabrice@gmail.com> Message-ID: <740d615d-29c0-565e-b502-7ad4be5d6d13@mind.be> On 28/04/2022 22:40, Fabrice Fontaine wrote: > Fix the following build failure with libressl raised since bump to > version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: > > ./dnssec.c: In function 'ldns_key_buf2dsa_raw': > ./dnssec.c:386:5: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'} > 386 | dsa->p = P; > | ^~ > > Fixes: > - http://autobuild.buildroot.org/results/d754fbaa8f6687597682fbf0b71c16527c8cd603 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...se-accessors-for-DSA-and-RSA-objects.patch | 96 +++++++++++++++++++ > 1 file changed, 96 insertions(+) > create mode 100644 package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch > > diff --git a/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch > new file mode 100644 > index 0000000000..f7ebbbf8b2 > --- /dev/null > +++ b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch > @@ -0,0 +1,96 @@ > +From 887d618239312cc8c11e41c45492eee02a8f28a2 Mon Sep 17 00:00:00 2001 > +From: Theo Buehler > +Date: Tue, 11 Jan 2022 21:14:24 +0100 > +Subject: [PATCH] Use accessors for DSA and RSA objects > + > +In the upcoming LibreSSL version 3.5, the DSA and RSA structs will > +become opaque, so we should use the OpenSSL 1.1 setters and getters > +to fix the build. The relevant API has been available since > +LibreSSL 2.7. The last LibreSSL version (2.6) not having these > +accessors was EOL late 2018, so no users should be affected by this > +change. > + > +[Retrieved from: > +https://github.com/NLnetLabs/ldns/commit/887d618239312cc8c11e41c45492eee02a8f28a2] > +Signed-off-by: Fabrice Fontaine > +--- > + dnssec.c | 4 ++-- > + host2str.c | 4 ++-- > + keys.c | 6 +++--- > + 3 files changed, 7 insertions(+), 7 deletions(-) > + > +diff --git a/dnssec.c b/dnssec.c > +index 63fece52..fbaa518a 100644 > +--- a/dnssec.c > ++++ b/dnssec.c > +@@ -381,7 +381,7 @@ ldns_key_buf2dsa_raw(const unsigned char* key, size_t len) > + BN_free(Y); > + return NULL; > + } > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + #ifndef S_SPLINT_S > + dsa->p = P; > + dsa->q = Q; > +@@ -468,7 +468,7 @@ ldns_key_buf2rsa_raw(const unsigned char* key, size_t len) > + BN_free(modulus); > + return NULL; > + } > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + #ifndef S_SPLINT_S > + rsa->n = modulus; > + rsa->e = exponent; > +diff --git a/host2str.c b/host2str.c > +index a207a913..634c5676 100644 > +--- a/host2str.c > ++++ b/host2str.c > +@@ -2451,7 +2451,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) > + const BIGNUM *n=NULL, *e=NULL, *d=NULL, > + *p=NULL, *q=NULL, *dmp1=NULL, > + *dmq1=NULL, *iqmp=NULL; > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + n = rsa->n; > + e = rsa->e; > + d = rsa->d; > +@@ -2504,7 +2504,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) > + if(1) { > + const BIGNUM *p=NULL, *q=NULL, *g=NULL, > + *priv_key=NULL, *pub_key=NULL; > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + #ifndef S_SPLINT_S > + p = dsa->p; > + q = dsa->q; > +diff --git a/keys.c b/keys.c > +index 91a3dffd..78bea972 100644 > +--- a/keys.c > ++++ b/keys.c > +@@ -861,7 +861,7 @@ ldns_key_new_frm_fp_rsa_l(FILE *f, int *line_nr) > + } > + #endif /* splint */ > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + # ifndef S_SPLINT_S > + rsa->n = n; > + rsa->e = e; > +@@ -982,7 +982,7 @@ ldns_key_new_frm_fp_dsa_l(FILE *f, ATTR_UNUSED(int *line_nr)) > + } > + #endif /* splint */ > + > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + # ifndef S_SPLINT_S > + dsa->p = p; > + dsa->q = q; > +@@ -1660,7 +1660,7 @@ ldns_key_rsa2bin(unsigned char *data, RSA *k, uint16_t *size) > + if (!k) { > + return false; > + } > +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) > ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) > + n = k->n; > + e = k->e; > + #else From arnout at mind.be Sat Apr 30 18:50:59 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:50:59 +0200 Subject: [Buildroot] [PATCH v2 1/3] package/pkg-python: deduplicate common env/opts variables In-Reply-To: <20220428221727.1680234-1-james.hilliard1@gmail.com> References: <20220428221727.1680234-1-james.hilliard1@gmail.com> Message-ID: On 29/04/2022 00:17, James Hilliard wrote: > There are many varibles shared via setuptools, distutils and pep517, > combine those common env/opts variables to make them easier to > maintain. > > Signed-off-by: James Hilliard Applied to master, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - restore accidentially dropped LDSHARED in distutils env > --- > package/pkg-python.mk | 96 +++++++++++++++++++------------------------ > 1 file changed, 43 insertions(+), 53 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index e9de5cb8d3..b86e12423f 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -33,78 +33,77 @@ PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) > PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py > PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` > > -# Target distutils-based packages > -PKG_PYTHON_DISTUTILS_ENV = \ > +# Target python packages > +PKG_PYTHON_ENV = \ > + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ > + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ > + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ > PATH=$(BR_PATH) \ > $(TARGET_CONFIGURE_OPTS) \ > - LDSHARED="$(TARGET_CROSS)gcc -shared" \ > PYTHONPATH="$(PYTHON3_PATH)" \ > PYTHONNOUSERSITE=1 \ > - SETUPTOOLS_USE_DISTUTILS=stdlib \ > - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ > - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ > - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ > _python_sysroot=$(STAGING_DIR) \ > _python_prefix=/usr \ > _python_exec_prefix=/usr > > +# Host python packages > +HOST_PKG_PYTHON_ENV = \ > + PATH=$(BR_PATH) \ > + PYTHONNOUSERSITE=1 \ > + $(HOST_CONFIGURE_OPTS) > + > +# Target distutils-based packages > +PKG_PYTHON_DISTUTILS_ENV = \ > + $(PKG_PYTHON_ENV) \ > + LDSHARED="$(TARGET_CROSS)gcc -shared" \ > + SETUPTOOLS_USE_DISTUTILS=stdlib \ > + > PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ > --executable=/usr/bin/python > > -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ > +PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ > --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --prefix=/usr \ > + --prefix=/usr > + > +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ > + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ > --root=$(TARGET_DIR) > > PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ > - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --prefix=/usr \ > + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ > --root=$(STAGING_DIR) > > # Host distutils-based packages > HOST_PKG_PYTHON_DISTUTILS_ENV = \ > - PATH=$(BR_PATH) \ > - PYTHONNOUSERSITE=1 \ > - SETUPTOOLS_USE_DISTUTILS=stdlib \ > - $(HOST_CONFIGURE_OPTS) > + $(HOST_PKG_PYTHON_ENV) \ > + SETUPTOOLS_USE_DISTUTILS=stdlib > > HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ > --prefix=$(HOST_DIR) > > # Target setuptools-based packages > PKG_PYTHON_SETUPTOOLS_ENV = \ > - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ > - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ > - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ > - PATH=$(BR_PATH) \ > - $(TARGET_CONFIGURE_OPTS) \ > - PYTHONPATH="$(PYTHON3_PATH)" \ > - PYTHONNOUSERSITE=1 \ > - SETUPTOOLS_USE_DISTUTILS=stdlib \ > - _python_sysroot=$(STAGING_DIR) \ > - _python_prefix=/usr \ > - _python_exec_prefix=/usr > + $(PKG_PYTHON_ENV) \ > + SETUPTOOLS_USE_DISTUTILS=stdlib > > -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ > +PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --prefix=/usr \ > --executable=/usr/bin/python \ > - --single-version-externally-managed \ > + --single-version-externally-managed > + > +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ > + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ > --root=$(TARGET_DIR) > > PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ > - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --prefix=/usr \ > - --executable=/usr/bin/python \ > - --single-version-externally-managed \ > + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ > --root=$(STAGING_DIR) > > # Host setuptools-based packages > HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ > - PATH=$(BR_PATH) \ > - PYTHONNOUSERSITE=1 \ > - SETUPTOOLS_USE_DISTUTILS=stdlib \ > - $(HOST_CONFIGURE_OPTS) > + $(HOST_PKG_PYTHON_ENV) \ > + SETUPTOOLS_USE_DISTUTILS=stdlib > > HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > --prefix=$(HOST_DIR) \ > @@ -113,28 +112,21 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > > # Target pep517-based packages > PKG_PYTHON_PEP517_ENV = \ > - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ > - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ > - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ > - PATH=$(BR_PATH) \ > - $(TARGET_CONFIGURE_OPTS) \ > - PYTHONPATH="$(PYTHON3_PATH)" \ > - PYTHONNOUSERSITE=1 \ > - _python_sysroot=$(STAGING_DIR) \ > - _python_prefix=/usr \ > - _python_exec_prefix=/usr > + $(PKG_PYTHON_ENV) > > -PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ > +PKG_PYTHON_PEP517_INSTALL_OPTS = \ > --interpreter=/usr/bin/python \ > - --script-kind=posix \ > + --script-kind=posix > + > +PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ > + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ > --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --scripts=$(TARGET_DIR)/usr/bin \ > --data=$(TARGET_DIR)/usr > > PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ > - --interpreter=/usr/bin/python \ > - --script-kind=posix \ > + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ > --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ > --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > --scripts=$(STAGING_DIR)/usr/bin \ > @@ -142,9 +134,7 @@ PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ > > # Host pep517-based packages > HOST_PKG_PYTHON_PEP517_ENV = \ > - PATH=$(BR_PATH) \ > - PYTHONNOUSERSITE=1 \ > - $(HOST_CONFIGURE_OPTS) > + $(HOST_PKG_PYTHON_ENV) > > HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ > --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages From arnout at mind.be Sat Apr 30 18:51:18 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:51:18 +0200 Subject: [Buildroot] [PATCH 1/2] package/tor: add -lz to fix static builds In-Reply-To: <20220429183708.3819668-1-bernd.kuhls@t-online.de> References: <20220429183708.3819668-1-bernd.kuhls@t-online.de> Message-ID: On 29/04/2022 20:37, Bernd Kuhls wrote: > In order to remove a patch which needs frequent updates on major version > bumps and to get rid of autoreconf we just add -lz when creating a static > build. This make sure that static linking occurs in the right order. > > Signed-off-by: Bernd Kuhls Applied both to master, thanks. Regards, Arnout > --- > Tested using this defconfig > > BR2_PACKAGE_XZ=y > BR2_PACKAGE_ZSTD=y > BR2_PACKAGE_TOR=y > > andes-nds32 [ 1/45]: OK > arm-aarch64 [ 2/45]: OK > bootlin-aarch64-glibc [ 3/45]: OK > bootlin-arcle-hs38-uclibc [ 4/45]: OK > bootlin-armv5-uclibc [ 5/45]: OK > bootlin-armv7-glibc [ 6/45]: OK > bootlin-armv7m-uclibc [ 7/45]: SKIPPED > bootlin-armv7-musl [ 8/45]: OK > bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED > bootlin-m68k-68040-uclibc [10/45]: OK > bootlin-microblazeel-uclibc [11/45]: OK > bootlin-mipsel32r6-glibc [12/45]: OK > bootlin-mipsel-uclibc [13/45]: OK > bootlin-nios2-glibc [14/45]: OK > bootlin-openrisc-uclibc [15/45]: OK > bootlin-powerpc64le-power8-glibc [16/45]: OK > bootlin-powerpc-e500mc-uclibc [17/45]: OK > bootlin-riscv32-glibc [18/45]: OK > bootlin-riscv64-glibc [19/45]: OK > bootlin-riscv64-musl [20/45]: OK > bootlin-sh4-uclibc [21/45]: OK > bootlin-sparc64-glibc [22/45]: OK > bootlin-sparc-uclibc [23/45]: OK > bootlin-x86-64-glibc [24/45]: OK > bootlin-x86-64-musl [25/45]: OK > bootlin-x86-64-uclibc [26/45]: OK > bootlin-xtensa-uclibc [27/45]: OK > br-arm-basic [28/45]: OK > br-arm-full-nothread [29/45]: SKIPPED > br-arm-full-static [30/45]: OK > br-i386-pentium4-full [31/45]: OK > br-i386-pentium-mmx-musl [32/45]: OK > br-mips64-n64-full [33/45]: OK > br-mips64r6-el-hf-glibc [34/45]: OK > br-powerpc-603e-basic-cpp [35/45]: OK > br-powerpc64-power7-glibc [36/45]: OK > linaro-aarch64-be [37/45]: OK > linaro-aarch64 [38/45]: OK > linaro-arm [39/45]: OK > sourcery-arm-armv4t [40/45]: OK > sourcery-arm [41/45]: OK > sourcery-arm-thumb2 [42/45]: OK > sourcery-mips64 [43/45]: OK > sourcery-mips [44/45]: OK > sourcery-nios2 [45/45]: OK > 45 builds, 3 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed > > ...0001-Fix-static-linking-with-OpenSSL.patch | 94 ------------------- > package/tor/tor.mk | 7 +- > 2 files changed, 5 insertions(+), 96 deletions(-) > delete mode 100644 package/tor/0001-Fix-static-linking-with-OpenSSL.patch > > diff --git a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch b/package/tor/0001-Fix-static-linking-with-OpenSSL.patch > deleted file mode 100644 > index 26ed6fe819..0000000000 > --- a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch > +++ /dev/null > @@ -1,94 +0,0 @@ > -From ba6b8ee5b6dee19493a150c3715b0e202440d206 Mon Sep 17 00:00:00 2001 > -From: Bernd Kuhls > -Date: Thu, 24 Jan 2019 18:19:51 +0100 > -Subject: [PATCH] Fix static linking with OpenSSL > - > -Adjust link order of libz to solve bug with static linking > -and remove host paths when looking for openssl. > - > -[Vincent: > - - Adapt the patch to make it apply on the new version.] > -[Bernd: rebased for tor-0.2.7.6, 0.2.8.10, 0.2.9.9, 0.3.1.7, 0.3.2.10, > - 0.3.4.8, 0.3.5.7, 0.4.4.5, 0.4.5.6 & 0.4.6.7] > -[Fabrice: fix detection of openssl functions in 0.3.5.8] > -Signed-off-by: Vicente Olivert Riera > -Signed-off-by: Bernd Kuhls > -Signed-off-by: Fabrice Fontaine > ---- > - configure.ac | 4 ++-- > - src/test/include.am | 8 ++++---- > - src/tools/include.am | 4 ++-- > - 4 files changed, 9 insertions(+), 9 deletions(-) > - > -diff --git a/configure.ac b/configure.ac > -index 05e1392cf..580befa6b 100644 > ---- a/configure.ac > -+++ b/configure.ac > -@@ -1074,7 +1074,7 @@ AC_ARG_WITH(ssl-dir, > - ]) > - > - AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1]) > --TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], > -+TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto -lz $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], > - [#include > - char *getenv(const char *);], > - [struct ssl_cipher_st; > -@@ -1104,7 +1104,7 @@ dnl Now check for particular openssl functions. > - save_LIBS="$LIBS" > - save_LDFLAGS="$LDFLAGS" > - save_CPPFLAGS="$CPPFLAGS" > --LIBS="$TOR_OPENSSL_LIBS $LIBS" > -+LIBS="$TOR_OPENSSL_LIBS -lz $LIBS" > - LDFLAGS="$TOR_LDFLAGS_openssl $LDFLAGS" > - CPPFLAGS="$TOR_CPPFLAGS_openssl $CPPFLAGS" > - > -diff --git a/src/test/include.am b/src/test/include.am > -index ecb768957..39a622e88 100644 > ---- a/src/test/include.am > -+++ b/src/test/include.am > -@@ -399,8 +399,8 @@ src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) > - src_test_test_ntor_cl_LDADD = \ > - libtor.a \ > - $(rust_ldadd) \ > -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ > -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ > -+ @TOR_LIB_MATH@ \ > -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ > - @CURVE25519_LIBS@ @TOR_LZMA_LIBS@ @TOR_TRACE_LIBS@ > - src_test_test_ntor_cl_AM_CPPFLAGS = \ > - $(AM_CPPFLAGS) > -@@ -409,8 +409,8 @@ > - src_test_test_hs_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) > - src_test_test_hs_ntor_cl_LDADD = \ > - libtor.a \ > -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ > -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ > -+ @TOR_LIB_MATH@ \ > -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ > - @CURVE25519_LIBS@ @TOR_TRACE_LIBS@ > - src_test_test_hs_ntor_cl_AM_CPPFLAGS = \ > - $(AM_CPPFLAGS) > -diff --git a/src/tools/include.am b/src/tools/include.am > -index f7aa7e0d1..4c4e8aa7a 100644 > ---- a/src/tools/include.am > -+++ b/src/tools/include.am > -@@ -35,7 +35,7 @@ src_tools_tor_gencert_LDADD = \ > - $(TOR_CRYPTO_LIBS) \ > - $(TOR_UTIL_LIBS) \ > - $(rust_ldadd) \ > -- @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \ > -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ > - @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@ > - endif > - > -@@ -45,7 +45,7 @@ src_tools_tor_print_ed_signing_cert_LDADD = \ > - src/trunnel/libor-trunnel.a \ > - $(TOR_CRYPTO_LIBS) \ > - $(TOR_UTIL_LIBS) \ > -- @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \ > -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ > - @TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ > - > - if USE_NSS > --- > -2.20.1 > diff --git a/package/tor/tor.mk b/package/tor/tor.mk > index d16b3541eb..78a6de66dc 100644 > --- a/package/tor/tor.mk > +++ b/package/tor/tor.mk > @@ -11,7 +11,6 @@ TOR_LICENSE_FILES = LICENSE > TOR_CPE_ID_VENDOR = torproject > TOR_SELINUX_MODULES = tor > TOR_DEPENDENCIES = libevent openssl zlib > -TOR_AUTORECONF = YES > > TOR_CONF_OPTS = \ > --disable-gcc-hardening \ > @@ -64,8 +63,12 @@ endif > TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' > > ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > -TOR_CONF_ENV += LIBS=-latomic > +TOR_LIBS += -latomic > endif > +ifeq ($(BR2_STATIC_LIBS),y) > +TOR_LIBS += -lz > +endif > +TOR_CONF_ENV += LIBS="$(TOR_LIBS)" > > define TOR_INSTALL_CONF > $(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \ From arnout at mind.be Sat Apr 30 18:52:14 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:52:14 +0200 Subject: [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target rootfs size to 5G In-Reply-To: <20220429191531.4173116-1-james.hilliard1@gmail.com> References: <20220429191531.4173116-1-james.hilliard1@gmail.com> Message-ID: On 29/04/2022 21:15, James Hilliard wrote: > Since there isn't a way to reliably compute the required size lets > just set it to what should be a high enough value to not run out > of space. > > Fixes: > - http://autobuild.buildroot.net/results/a3c68cdc515353c0d2650ee743aa3bd8ab99a418 > - http://autobuild.buildroot.net/results/ad426ff903d78a92de8f0208876e2196136a09a8 > > Signed-off-by: James Hilliard I verified that both create sparse files (they do), mentioned this in the commit message, and applied to master, thanks. What about btrfs? Not needed? Regards, Arnout > --- > utils/genrandconfig | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/utils/genrandconfig b/utils/genrandconfig > index adefb8f502..ab1f6f43b1 100755 > --- a/utils/genrandconfig > +++ b/utils/genrandconfig > @@ -200,6 +200,8 @@ def fixup_config(sysinfo, configfile): > with open(configfile) as configf: > configlines = configf.readlines() > > + ROOTFS_SIZE = '5G' > + > BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' > > if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): > @@ -441,6 +443,16 @@ def fixup_config(sysinfo, configfile): > configlines.remove('BR2_TARGET_OPTEE_OS=y\n') > configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') > > + if 'BR2_TARGET_ROOTFS_EXT2_GEN=y\n' in configlines and \ > + 'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines: > + configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n') > + configlines.append('BR2_TARGET_ROOTFS_EXT2_SIZE="%s"\n' % ROOTFS_SIZE) > + > + if 'BR2_TARGET_ROOTFS_F2FS=y\n' in configlines and \ > + 'BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n' in configlines: > + configlines.remove('BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n') > + configlines.append('BR2_TARGET_ROOTFS_F2FS_SIZE="%s"\n' % ROOTFS_SIZE) > + > if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ > 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: > configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') From arnout at mind.be Sat Apr 30 18:52:28 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:52:28 +0200 Subject: [Buildroot] [PATCH] package/frotz: Update to version 2.54 In-Reply-To: <20220430084742.522833-1-huth@tuxfamily.org> References: <20220430084742.522833-1-huth@tuxfamily.org> Message-ID: On 30/04/2022 10:47, Thomas Huth wrote: > A simple update by bumping the version number and sha256 sum > to the current version. > > Signed-off-by: Thomas Huth Applied to master, thanks. Regards, Arnout > --- > package/frotz/frotz.hash | 2 +- > package/frotz/frotz.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/frotz/frotz.hash b/package/frotz/frotz.hash > index e5024aa2cd..145aa3800f 100644 > --- a/package/frotz/frotz.hash > +++ b/package/frotz/frotz.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 8da558828dd74d6d6ee30483bb32276ef918b8b72b7f6e89b4f7cb27e7abf58b frotz-2.53.tar.bz2 > +sha256 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395 frotz-2.54.tar.bz2 > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/frotz/frotz.mk b/package/frotz/frotz.mk > index c1362b2ac6..5af235137c 100644 > --- a/package/frotz/frotz.mk > +++ b/package/frotz/frotz.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FROTZ_VERSION = 2.53 > +FROTZ_VERSION = 2.54 > FROTZ_SOURCE = frotz-$(FROTZ_VERSION).tar.bz2 > FROTZ_SITE = $(call gitlab,DavidGriffith,frotz,$(FROTZ_VERSION)) > FROTZ_DEPENDENCIES = host-pkgconf ncurses From arnout at mind.be Sat Apr 30 18:52:45 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:52:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/libosmium: bump version to 2.18.0 In-Reply-To: <20220430112333.414925-1-fido_max@inbox.ru> References: <20220430112333.414925-1-fido_max@inbox.ru> Message-ID: <35fa6666-418c-404a-0804-d46e3131d2b0@mind.be> On 30/04/2022 13:23, Maxim Kochetkov via buildroot wrote: > Release-notes: https://github.com/osmcode/libosmium/releases/tag/v2.18.0 > > Signed-off-by: Maxim Kochetkov Applied to master, thanks. Regards, Arnout > --- > package/libosmium/libosmium.hash | 2 +- > package/libosmium/libosmium.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libosmium/libosmium.hash b/package/libosmium/libosmium.hash > index ccfd3b09b0..cb53a91c67 100644 > --- a/package/libosmium/libosmium.hash > +++ b/package/libosmium/libosmium.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 ff85d55ca83d77fc41f6b7ae77f3d8d4337d299cbb4cc60c00e1f9d90d94e71b libosmium-2.17.3.tar.gz > +sha256 c05a3e95c9c811521ebad8637e90f43ab8fb053b310875acce741cc4c17d6f59 libosmium-2.18.0.tar.gz > sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE > diff --git a/package/libosmium/libosmium.mk b/package/libosmium/libosmium.mk > index 6510af4e77..f7ced04de3 100644 > --- a/package/libosmium/libosmium.mk > +++ b/package/libosmium/libosmium.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBOSMIUM_VERSION = 2.17.3 > +LIBOSMIUM_VERSION = 2.18.0 > LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION)) > LIBOSMIUM_LICENSE = BSL-1.0 > LIBOSMIUM_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:53:35 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:53:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/timescaledb: bump version to 2.6.1 In-Reply-To: <20220430113548.461720-1-fido_max@inbox.ru> References: <20220430113548.461720-1-fido_max@inbox.ru> Message-ID: On 30/04/2022 13:35, Maxim Kochetkov wrote: > Release notes: https://github.com/timescale/timescaledb/releases/tag/2.6.1 > > Signed-off-by: Maxim Kochetkov Applied to master, thanks. Regards, Arnout > --- > package/timescaledb/timescaledb.hash | 2 +- > package/timescaledb/timescaledb.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/timescaledb/timescaledb.hash b/package/timescaledb/timescaledb.hash > index 556cdaf329..f186684339 100644 > --- a/package/timescaledb/timescaledb.hash > +++ b/package/timescaledb/timescaledb.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 b1a20832189c22ce378f009f9a24ef1db61d7131f7f79bde74fdcde87bcf2d7c timescaledb-2.5.2.tar.gz > +sha256 226af207105cc9e2d1744b303e475204a947047103f0e5697de4e8949e4dde75 timescaledb-2.6.1.tar.gz > sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE > diff --git a/package/timescaledb/timescaledb.mk b/package/timescaledb/timescaledb.mk > index 1d8b2a69a7..16fba11e21 100644 > --- a/package/timescaledb/timescaledb.mk > +++ b/package/timescaledb/timescaledb.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TIMESCALEDB_VERSION = 2.5.2 > +TIMESCALEDB_VERSION = 2.6.1 > TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) > TIMESCALEDB_LICENSE = Apache-2.0 > TIMESCALEDB_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:53:44 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:53:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/postgis: bump version to 3.2.1 In-Reply-To: <20220430114406.545127-1-fido_max@inbox.ru> References: <20220430114406.545127-1-fido_max@inbox.ru> Message-ID: On 30/04/2022 13:44, Maxim Kochetkov wrote: > Release-notes: https://git.osgeo.org/gitea/postgis/postgis/src/tag/3.2.1/NEWS > > Signed-off-by: Maxim Kochetkov Applied to master, thanks. Regards, Arnout > --- > package/postgis/postgis.hash | 2 +- > package/postgis/postgis.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/postgis/postgis.hash b/package/postgis/postgis.hash > index 12ca18f84f..018e6523f3 100644 > --- a/package/postgis/postgis.hash > +++ b/package/postgis/postgis.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 7ab9e154c6947c0cffb8fa12d70806add9aa060e62b6c86a2e206f9d4b507cfd postgis-3.2.0.tar.gz > +sha256 fbab68dde6ca3934b24ba08c8ab0cff2594f57f93deab41a15c82ae1bb69893e postgis-3.2.1.tar.gz > sha256 55b69f22e1752830dd565852dc7ff242daf289dbd3a6bfede5db43f90d2e28c9 LICENSE.TXT > diff --git a/package/postgis/postgis.mk b/package/postgis/postgis.mk > index d9cda64730..b77071d03b 100644 > --- a/package/postgis/postgis.mk > +++ b/package/postgis/postgis.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -POSTGIS_VERSION = 3.2.0 > +POSTGIS_VERSION = 3.2.1 > POSTGIS_SITE = https://download.osgeo.org/postgis/source > # parallel build issues > POSTGIS_MAKE = $(MAKE1) From arnout at mind.be Sat Apr 30 18:54:01 2022 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 30 Apr 2022 20:54:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcap: bump to version 2.64 In-Reply-To: <20220430133050.19519-1-raphael.pavlidis@gmail.com> References: <20220430133050.19519-1-raphael.pavlidis@gmail.com> Message-ID: <99c84381-4b3d-aa48-d3b6-3efc6141ba55@mind.be> On 30/04/2022 15:30, Raphael Pavlidis via buildroot wrote: > https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.e8k97s2ae0nc > > Signed-off-by: Raphael Pavlidis Applied to master, thanks. Regards, Arnout > --- > package/libcap/libcap.hash | 2 +- > package/libcap/libcap.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash > index 2cdf92bbc1..7c48cd950b 100644 > --- a/package/libcap/libcap.hash > +++ b/package/libcap/libcap.hash > @@ -1,5 +1,5 @@ > # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc > -sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz > +sha256 c8465e1f0b068d5fc06199231135ccac7adb56d662b1de93589252e8cd071e13 libcap-2.64.tar.xz > > # Hash for license file: > sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License > diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk > index ed689ce503..91e02638e2 100644 > --- a/package/libcap/libcap.mk > +++ b/package/libcap/libcap.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBCAP_VERSION = 2.63 > +LIBCAP_VERSION = 2.64 > LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 > LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz > LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause From arnout at mind.be Sat Apr 30 18:20:55 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:20:55 +0200 Subject: [Buildroot] [git commit] package/libv4l: drop -largp Message-ID: <20220430184417.88FDC84B62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=29a38e7941ada87c344e2edad49a904e1084110b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 07ac045655d08255fbc2d17b16a42d0f0017632e added -largp to LIBS but it was not needed since https://git.linuxtv.org/v4l-utils.git/commit/configure.ac?id=b187b94d8e9158973ad17ea1f9c4cb01df117ba3 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libv4l/libv4l.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index 8300f5c970..a781ffcd5d 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -28,7 +28,6 @@ endif ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) LIBV4L_DEPENDENCIES += argp-standalone -LIBV4L_LIBS += -largp endif LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) @@ -85,6 +84,4 @@ ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) LIBV4L_DEPENDENCIES += sdl2_image endif -LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" - $(eval $(autotools-package)) From arnout at mind.be Sat Apr 30 18:20:58 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:20:58 +0200 Subject: [Buildroot] [git commit] package/libv4l: fix build with argp-standalone and NLS Message-ID: <20220430184417.95024847F3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8622331e17545cb5badd226ec8727439f7e7a451 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:19923: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/i686-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -largp >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' [...] checking for library containing argp_parse... no configure: error: unable to find the argp_parse() function Fixes: - http://autobuild.buildroot.org/results/b7b2253ac902b441cc6ff12500b56bd15c413d71 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libv4l/libv4l.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index a781ffcd5d..fd69b7ac7a 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -27,7 +27,8 @@ LIBV4L_DEPENDENCIES += alsa-lib endif ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -LIBV4L_DEPENDENCIES += argp-standalone +LIBV4L_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) +LIBV4L_CONF_ENV += LIBS=$(TARGET_NLS_LIBS) endif LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) From arnout at mind.be Sat Apr 30 18:21:02 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:21:02 +0200 Subject: [Buildroot] [git commit] package/libssh2: fix build with libressl >= 3.5.0 Message-ID: <20220430184417.9F10C84B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5dc0bfdb3b21ed5dfd4a33e5d709477986939a5b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: crypt.c:71:25: error: field 'h' has incomplete type 71 | _libssh2_cipher_ctx h; | ^ Fixes: - http://autobuild.buildroot.org/results/47f492ccd4888fe4a150b36e12c88f1e068d46b6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-Opaque-structs-in-LibreSSL-3-5.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch new file mode 100644 index 0000000000..2e1fd8871c --- /dev/null +++ b/package/libssh2/0001-Opaque-structs-in-LibreSSL-3-5.patch @@ -0,0 +1,27 @@ +From 7f55a033e5054529e5e69f06725dd02a573329b6 Mon Sep 17 00:00:00 2001 +From: Charlie Li +Date: Wed, 2 Mar 2022 19:50:56 -0500 +Subject: [PATCH] Opaque structs in LibreSSL 3.5 + +[Retrieved (and backported) from: +https://github.com/libssh2/libssh2/pull/682/commits/7f55a033e5054529e5e69f06725dd02a573329b6] +Signed-off-by: Fabrice Fontaine +--- + src/openssl.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/openssl.h b/src/openssl.h +index 3eef02368..c13542481 100644 +--- a/src/openssl.h ++++ b/src/openssl.h +@@ -94,8 +94,8 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ +- !defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) + # define HAVE_OPAQUE_STRUCTS 1 + #endif + From arnout at mind.be Sat Apr 30 18:20:52 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:20:52 +0200 Subject: [Buildroot] [git commit] package/freeipmi: fix build with argp-standalone and NLS Message-ID: <20220430184417.7EF7F847F3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7280c202f8a29310fa801e5322dad00308c9c4c7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with argp-standalone and NLS raised since commit 5430c8fedd0392e79e0c011825b056fea129980a: configure:14644: checking for argp_parse in -largp configure:14669: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -largp -lm -lm -lm >&5 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libargp.a(argp-parse.o): in function `argp_version_parser': /home/giuliobenetti/autobuild/run/instance-1/output-1/build/argp-standalone-1.4.1/argp-parse.c:181: undefined reference to `libintl_dgettext' [...] In file included from freeipmi-argp-fmtstream.c:35: freeipmi-argp-namefrob.h:62:32: error: redefinition of 'argp_fmtstream_write' 62 | #define __argp_fmtstream_write argp_fmtstream_write | ^~~~~~~~~~~~~~~~~~~~ freeipmi-argp-fmtstream.c:395:1: note: in expansion of macro '__argp_fmtstream_write' 395 | __argp_fmtstream_write (argp_fmtstream_t __fs, | ^~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/26090162396b1b8cedfc58e1790ced528fcc35c6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/freeipmi/freeipmi.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/freeipmi/freeipmi.mk b/package/freeipmi/freeipmi.mk index 9fb59245b9..b26ed0c0bf 100644 --- a/package/freeipmi/freeipmi.mk +++ b/package/freeipmi/freeipmi.mk @@ -20,7 +20,8 @@ FREEIPMI_CONF_OPTS = --without-random-device # Work around for uClibc or musl toolchains which lack argp_*() # functions. ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -FREEIPMI_DEPENDENCIES += argp-standalone +FREEIPMI_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) +FREEIPMI_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) endif ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/pkg-python: deduplicate common env/opts variables Message-ID: <20220430184417.D72E884B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=60aa067d74e41a7a598eb7ac44978f84d77a0eae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master There are many varibles shared via setuptools, distutils and pep517, combine those common env/opts variables to make them easier to maintain. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-python.mk | 96 +++++++++++++++++++++++---------------------------- 1 file changed, 43 insertions(+), 53 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e9de5cb8d3..b86e12423f 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -33,78 +33,77 @@ PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` -# Target distutils-based packages -PKG_PYTHON_DISTUTILS_ENV = \ +# Target python packages +PKG_PYTHON_ENV = \ + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ PATH=$(BR_PATH) \ $(TARGET_CONFIGURE_OPTS) \ - LDSHARED="$(TARGET_CROSS)gcc -shared" \ PYTHONPATH="$(PYTHON3_PATH)" \ PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ _python_sysroot=$(STAGING_DIR) \ _python_prefix=/usr \ _python_exec_prefix=/usr +# Host python packages +HOST_PKG_PYTHON_ENV = \ + PATH=$(BR_PATH) \ + PYTHONNOUSERSITE=1 \ + $(HOST_CONFIGURE_OPTS) + +# Target distutils-based packages +PKG_PYTHON_DISTUTILS_ENV = \ + $(PKG_PYTHON_ENV) \ + LDSHARED="$(TARGET_CROSS)gcc -shared" \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ --executable=/usr/bin/python -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + --prefix=/usr + +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ + $(PKG_PYTHON_DISTUTILS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host distutils-based packages HOST_PKG_PYTHON_DISTUTILS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) # Target setuptools-based packages PKG_PYTHON_SETUPTOOLS_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --prefix=/usr \ --executable=/usr/bin/python \ - --single-version-externally-managed \ + --single-version-externally-managed + +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(TARGET_DIR) PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed \ + $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ --root=$(STAGING_DIR) # Host setuptools-based packages HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - SETUPTOOLS_USE_DISTUTILS=stdlib \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) \ + SETUPTOOLS_USE_DISTUTILS=stdlib HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) \ @@ -113,28 +112,21 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ - _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ - _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(PYTHON3_PATH)" \ - PYTHONNOUSERSITE=1 \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr + $(PKG_PYTHON_ENV) -PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ +PKG_PYTHON_PEP517_INSTALL_OPTS = \ --interpreter=/usr/bin/python \ - --script-kind=posix \ + --script-kind=posix + +PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(TARGET_DIR)/usr/bin \ --data=$(TARGET_DIR)/usr PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ - --interpreter=/usr/bin/python \ - --script-kind=posix \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --scripts=$(STAGING_DIR)/usr/bin \ @@ -142,9 +134,7 @@ PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \ # Host pep517-based packages HOST_PKG_PYTHON_PEP517_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - $(HOST_CONFIGURE_OPTS) + $(HOST_PKG_PYTHON_ENV) HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages From arnout at mind.be Sat Apr 30 18:40:20 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:20 +0200 Subject: [Buildroot] [git commit] package/mpd: fix iconv detection w/ libiconv installed Message-ID: <20220430184417.A905984B62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9b715b549c5b156704b2f413cf97f39c500fc73d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix build failures caused by meson failing to properly detect iconv() when libiconv is installed and a missing link dependency. Upstream pull request: https://github.com/MusicPlayerDaemon/MPD/pull/1515 Fixes the following build failures: http://autobuild.buildroot.net/results/7a0/7a0fe4e9248ed96a5c4934361de16e0b59a51d50/ Signed-off-by: Andreas Ziegler Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-fix-iconv-detection-when-libiconv-is-ins.patch | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch new file mode 100644 index 0000000000..162999dc5f --- /dev/null +++ b/package/mpd/0002-src-lib-icu-fix-iconv-detection-when-libiconv-is-ins.patch @@ -0,0 +1,53 @@ +From 3882a5a263caa681778a21b1f5f13a1b64536796 Mon Sep 17 00:00:00 2001 +From: aeolio +Date: Wed, 20 Apr 2022 16:10:39 +0200 +Subject: [PATCH] src/lib/icu: fix iconv() detection when libiconv is installed + +Signed-off-by: aeolio +Upstream: https://github.com/MusicPlayerDaemon/MPD/pull/1515 +Signed-off-by: Andreas Ziegler +--- + src/lib/icu/meson.build | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build +index 59215e704..972c1fda3 100644 +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -12,17 +12,23 @@ if is_windows + icu_sources += 'Win32.cxx' + endif + ++iconv_dep = [] + if icu_dep.found() + icu_sources += [ + 'Util.cxx', + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- have_iconv = compiler.has_function('iconv', prefix : '#include ') +- conf.set('HAVE_ICONV', have_iconv) ++ # an installed iconv library will make the builtin iconv() unavailable, ++ # so search for the library first and pass it as (possible) dependency ++ iconv_dep = compiler.find_library('libiconv', required: false) ++ have_iconv = compiler.has_function('iconv', ++ dependencies: iconv_dep, ++ prefix : '#include ') + if not have_iconv and get_option('iconv').enabled() + error('iconv() not available') + endif ++ conf.set('HAVE_ICONV', have_iconv) + endif + + icu = static_library( +@@ -31,6 +37,7 @@ icu = static_library( + include_directories: inc, + dependencies: [ + icu_dep, ++ iconv_dep, + fmt_dep, + ], + ) +-- +2.34.1 + From arnout at mind.be Sat Apr 30 18:40:20 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:20 +0200 Subject: [Buildroot] [git commit] package/imx-mkimage: install print_fit_hab.sh Message-ID: <20220430184417.B3DE984B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5cb1bbc6276c64815e299ed698d6d42f012634db branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This script gives the address, the offset and the size of binaries have been stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE. Signed-off-by: Thomas Perrot Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...support-for-overriding-BL31-BL32-and-BL33.patch | 61 ++++++++++++++++++++++ package/imx-mkimage/imx-mkimage.mk | 1 + 2 files changed, 62 insertions(+) diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch new file mode 100644 index 0000000000..4154b1c4a9 --- /dev/null +++ b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch @@ -0,0 +1,61 @@ +From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 +From: Thomas Perrot +Date: Tue, 26 Apr 2022 15:10:04 +0200 +Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 + +Signed-off-by: Thomas Perrot +--- + iMX8M/print_fit_hab.sh | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh +index b915115d1ecc..dbc28f2d9af5 100755 +--- a/iMX8M/print_fit_hab.sh ++++ b/iMX8M/print_fit_hab.sh +@@ -1,12 +1,16 @@ + #!/bin/bash + +-BL32="tee.bin" +- + let fit_off=$1 + + # keep backward compatibility + [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" + ++[ -z "$BL31" ] && BL31="bl31.bin" ++ ++[ -z "$BL32" ] && BL32="tee.bin" ++ ++[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" ++ + if [ -z "$ATF_LOAD_ADDR" ]; then + echo "ERROR: BL31 load address is not set" >&2 + exit 0 +@@ -26,7 +30,7 @@ else + let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) + fi + +-let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') ++let uboot_size=$(ls -lct $BL33 | awk '{print $5}') + let uboot_load_addr=0x40200000 + + let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) +@@ -64,13 +68,13 @@ done + + let atf_sign_off=$((last_sign_off)) + let atf_load_addr=$ATF_LOAD_ADDR +-let atf_size=$(ls -lct bl31.bin | awk '{print $5}') ++let atf_size=$(ls -lct $BL31 | awk '{print $5}') + + if [ ! -f $BL32 ]; then + let tee_size=0x0 + let tee_sign_off=$((atf_sign_off + atf_size)) + else +- let tee_size=$(ls -lct tee.bin | awk '{print $5}') ++ let tee_size=$(ls -lct $BL32 | awk '{print $5}') + + let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) + let tee_load_addr=$TEE_LOAD_ADDR +-- +2.35.1 + diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 17ba3596f7..b88be0ca64 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -21,6 +21,7 @@ endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh + $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else # i.MX8 and i.MX8X From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/postgis: bump version to 3.2.1 Message-ID: <20220430184418.292F984B62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e0e268d61d3995f1096fdac4c3cd9ebb74deb57b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release-notes: https://git.osgeo.org/gitea/postgis/postgis/src/tag/3.2.1/NEWS Signed-off-by: Maxim Kochetkov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/postgis/postgis.hash | 2 +- package/postgis/postgis.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/postgis/postgis.hash b/package/postgis/postgis.hash index 12ca18f84f..018e6523f3 100644 --- a/package/postgis/postgis.hash +++ b/package/postgis/postgis.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 7ab9e154c6947c0cffb8fa12d70806add9aa060e62b6c86a2e206f9d4b507cfd postgis-3.2.0.tar.gz +sha256 fbab68dde6ca3934b24ba08c8ab0cff2594f57f93deab41a15c82ae1bb69893e postgis-3.2.1.tar.gz sha256 55b69f22e1752830dd565852dc7ff242daf289dbd3a6bfede5db43f90d2e28c9 LICENSE.TXT diff --git a/package/postgis/postgis.mk b/package/postgis/postgis.mk index d9cda64730..b77071d03b 100644 --- a/package/postgis/postgis.mk +++ b/package/postgis/postgis.mk @@ -4,7 +4,7 @@ # ################################################################################ -POSTGIS_VERSION = 3.2.0 +POSTGIS_VERSION = 3.2.1 POSTGIS_SITE = https://download.osgeo.org/postgis/source # parallel build issues POSTGIS_MAKE = $(MAKE1) From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/libldns: fix build with libressl >= 3.5.0 Message-ID: <20220430184417.C8A8884B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=94831ab236ca336109a4f2b78b30129c8dcdf1b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with libressl raised since bump to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: ./dnssec.c: In function 'ldns_key_buf2dsa_raw': ./dnssec.c:386:5: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'} 386 | dsa->p = P; | ^~ Fixes: - http://autobuild.buildroot.org/results/d754fbaa8f6687597682fbf0b71c16527c8cd603 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...001-Use-accessors-for-DSA-and-RSA-objects.patch | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch new file mode 100644 index 0000000000..f7ebbbf8b2 --- /dev/null +++ b/package/libldns/0001-Use-accessors-for-DSA-and-RSA-objects.patch @@ -0,0 +1,96 @@ +From 887d618239312cc8c11e41c45492eee02a8f28a2 Mon Sep 17 00:00:00 2001 +From: Theo Buehler +Date: Tue, 11 Jan 2022 21:14:24 +0100 +Subject: [PATCH] Use accessors for DSA and RSA objects + +In the upcoming LibreSSL version 3.5, the DSA and RSA structs will +become opaque, so we should use the OpenSSL 1.1 setters and getters +to fix the build. The relevant API has been available since +LibreSSL 2.7. The last LibreSSL version (2.6) not having these +accessors was EOL late 2018, so no users should be affected by this +change. + +[Retrieved from: +https://github.com/NLnetLabs/ldns/commit/887d618239312cc8c11e41c45492eee02a8f28a2] +Signed-off-by: Fabrice Fontaine +--- + dnssec.c | 4 ++-- + host2str.c | 4 ++-- + keys.c | 6 +++--- + 3 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/dnssec.c b/dnssec.c +index 63fece52..fbaa518a 100644 +--- a/dnssec.c ++++ b/dnssec.c +@@ -381,7 +381,7 @@ ldns_key_buf2dsa_raw(const unsigned char* key, size_t len) + BN_free(Y); + return NULL; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + dsa->p = P; + dsa->q = Q; +@@ -468,7 +468,7 @@ ldns_key_buf2rsa_raw(const unsigned char* key, size_t len) + BN_free(modulus); + return NULL; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + rsa->n = modulus; + rsa->e = exponent; +diff --git a/host2str.c b/host2str.c +index a207a913..634c5676 100644 +--- a/host2str.c ++++ b/host2str.c +@@ -2451,7 +2451,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) + const BIGNUM *n=NULL, *e=NULL, *d=NULL, + *p=NULL, *q=NULL, *dmp1=NULL, + *dmq1=NULL, *iqmp=NULL; +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + n = rsa->n; + e = rsa->e; + d = rsa->d; +@@ -2504,7 +2504,7 @@ ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k) + if(1) { + const BIGNUM *p=NULL, *q=NULL, *g=NULL, + *priv_key=NULL, *pub_key=NULL; +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + #ifndef S_SPLINT_S + p = dsa->p; + q = dsa->q; +diff --git a/keys.c b/keys.c +index 91a3dffd..78bea972 100644 +--- a/keys.c ++++ b/keys.c +@@ -861,7 +861,7 @@ ldns_key_new_frm_fp_rsa_l(FILE *f, int *line_nr) + } + #endif /* splint */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + # ifndef S_SPLINT_S + rsa->n = n; + rsa->e = e; +@@ -982,7 +982,7 @@ ldns_key_new_frm_fp_dsa_l(FILE *f, ATTR_UNUSED(int *line_nr)) + } + #endif /* splint */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + # ifndef S_SPLINT_S + dsa->p = p; + dsa->q = q; +@@ -1660,7 +1660,7 @@ ldns_key_rsa2bin(unsigned char *data, RSA *k, uint16_t *size) + if (!k) { + return false; + } +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(HAVE_LIBRESSL) && LIBRESSL_VERSION_NUMBER < 0x20700000) + n = k->n; + e = k->e; + #else From arnout at mind.be Sat Apr 30 18:20:49 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:20:49 +0200 Subject: [Buildroot] [git commit] package/bubblewrap: disable tests Message-ID: <20220430184417.763A484B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ebf745b6768689a088a1e51bdb4e7b941dfd15c5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Disable tests to avoid the following build failure on mips32: [9/10] Compiling C object tests/try-syscall.p/try-syscall.c.o FAILED: tests/try-syscall.p/try-syscall.c.o /home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c ../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" 34 | # error "Unknown MIPS ABI" | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee Signed-off-by: Fabrice Fontaine Acked-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../bubblewrap/0001-meson-add-tests-option.patch | 54 ++++++++++++++++++++++ package/bubblewrap/bubblewrap.mk | 3 +- 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/package/bubblewrap/0001-meson-add-tests-option.patch b/package/bubblewrap/0001-meson-add-tests-option.patch new file mode 100644 index 0000000000..32836f925d --- /dev/null +++ b/package/bubblewrap/0001-meson-add-tests-option.patch @@ -0,0 +1,54 @@ +From 34ea0ad841d6f9167db391c08e6cd51471fed6be Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 11:27:06 +0200 +Subject: [PATCH] meson: add tests option + +Allow the user to disable tests, for example to avoid the following +build failure on mips32: + +FAILED: tests/try-syscall.p/try-syscall.c.o +/home/autobuild/autobuild/instance-11/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -Itests/try-syscall.p -Itests -I../tests -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O3 -D_GNU_SOURCE -Werror=shadow -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=switch-default -Wswitch-enum -Wno-sign-compare -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -MD -MQ tests/try-syscall.p/try-syscall.c.o -MF tests/try-syscall.p/try-syscall.c.o.d -o tests/try-syscall.p/try-syscall.c.o -c ../tests/try-syscall.c +../tests/try-syscall.c:34:5: error: #error "Unknown MIPS ABI" + 34 | # error "Unknown MIPS ABI" + | ^~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/cf0365354fc8c16e5871d561daae0fa5039d0bee + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/containers/bubblewrap/commit/34ea0ad841d6f9167db391c08e6cd51471fed6be] +--- + meson.build | 4 +++- + meson_options.txt | 6 ++++++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b63aa64..9277ac4e 100644 +--- a/meson.build ++++ b/meson.build +@@ -152,4 +152,6 @@ if not meson.is_subproject() + subdir('completions') + endif + +-subdir('tests') ++if get_option('tests') ++ subdir('tests') ++endif +diff --git a/meson_options.txt b/meson_options.txt +index 2fa3a8c3..a136a3c3 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -38,6 +38,12 @@ option( + description : 'enable optional SELINUX support', + value : 'auto', + ) ++option( ++ 'tests', ++ type : 'boolean', ++ description : 'build tests', ++ value : 'true', ++) + option( + 'zsh_completion', + type : 'feature', diff --git a/package/bubblewrap/bubblewrap.mk b/package/bubblewrap/bubblewrap.mk index 5875b0d6e2..81456e9e0d 100644 --- a/package/bubblewrap/bubblewrap.mk +++ b/package/bubblewrap/bubblewrap.mk @@ -17,7 +17,8 @@ BUBBLEWRAP_CONF_OPTS = \ -Dzsh_completion=disabled \ -Dman=disabled \ -Dpython=$(HOST_DIR)/bin/python \ - -Drequire_userns=false + -Drequire_userns=false \ + -Dtests=false ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) BUBBLEWRAP_CONF_OPTS += \ From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] utils/genrandconfig: increase default target rootfs size to 5G Message-ID: <20220430184418.018CF84B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c98eb26db6501a373cc405c80505ba72fde9e96 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Since there isn't a way to reliably compute the required size lets just set it to what should be a high enough value to not run out of space. Both ext2 and fsfs create sparse files, so this is not a waste of disk space. Fixes: - http://autobuild.buildroot.net/results/a3c68cdc515353c0d2650ee743aa3bd8ab99a418 - http://autobuild.buildroot.net/results/ad426ff903d78a92de8f0208876e2196136a09a8 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- utils/genrandconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/utils/genrandconfig b/utils/genrandconfig index adefb8f502..ab1f6f43b1 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -200,6 +200,8 @@ def fixup_config(sysinfo, configfile): with open(configfile) as configf: configlines = configf.readlines() + ROOTFS_SIZE = '5G' + BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): @@ -441,6 +443,16 @@ def fixup_config(sysinfo, configfile): configlines.remove('BR2_TARGET_OPTEE_OS=y\n') configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n') + if 'BR2_TARGET_ROOTFS_EXT2_GEN=y\n' in configlines and \ + 'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines: + configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n') + configlines.append('BR2_TARGET_ROOTFS_EXT2_SIZE="%s"\n' % ROOTFS_SIZE) + + if 'BR2_TARGET_ROOTFS_F2FS=y\n' in configlines and \ + 'BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n' in configlines: + configlines.remove('BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n') + configlines.append('BR2_TARGET_ROOTFS_F2FS_SIZE="%s"\n' % ROOTFS_SIZE) + if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \ 'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines: configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n') From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/frotz: Update to version 2.54 Message-ID: <20220430184418.0B40584B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=53b9e2e168cc2359640b635b607f9786da9b54ba branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master A simple update by bumping the version number and sha256 sum to the current version. Signed-off-by: Thomas Huth Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/frotz/frotz.hash | 2 +- package/frotz/frotz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/frotz/frotz.hash b/package/frotz/frotz.hash index e5024aa2cd..145aa3800f 100644 --- a/package/frotz/frotz.hash +++ b/package/frotz/frotz.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 8da558828dd74d6d6ee30483bb32276ef918b8b72b7f6e89b4f7cb27e7abf58b frotz-2.53.tar.bz2 +sha256 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395 frotz-2.54.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/frotz/frotz.mk b/package/frotz/frotz.mk index c1362b2ac6..5af235137c 100644 --- a/package/frotz/frotz.mk +++ b/package/frotz/frotz.mk @@ -4,7 +4,7 @@ # ################################################################################ -FROTZ_VERSION = 2.53 +FROTZ_VERSION = 2.54 FROTZ_SOURCE = frotz-$(FROTZ_VERSION).tar.bz2 FROTZ_SITE = $(call gitlab,DavidGriffith,frotz,$(FROTZ_VERSION)) FROTZ_DEPENDENCIES = host-pkgconf ncurses From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/dhcp: add explicit option disabling Message-ID: <20220430184417.BDF4F84B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f4b19927cc12d35a74eca0016ada06b21cf32e5e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commits 4db37c663cc0 (dhcp: add config option for delayed-ack feature of dhcp server) and 40f7adae3c03 (package/dhcp: add security options to DHCP server) forgot to explicit disable the option when not requested. Fix that now. Signed-off-by: Yann E. MORIN Cc: Andreas Ehmanns Cc: Fabrice Fontaine Cc: Thomas De Schampheleire Cc: Jan Havran Cc: Eugen Hristev Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/dhcp/dhcp.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index b73137506d..cbc95cb152 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -76,10 +76,14 @@ endif ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack +else +DHCP_CONF_OPTS += --disable-delayed-ack endif ifeq ($(BR2_PACKAGE_DHCP_SERVER_ENABLE_PARANOIA),y) DHCP_CONF_OPTS += --enable-paranoia +else +DHCP_CONF_OPTS += --disable-paranoia endif define DHCP_INSTALL_LIBS From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/timescaledb: bump version to 2.6.1 Message-ID: <20220430184418.1F55084B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dded1e52c06100cba6c974825342582ee6504008 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://github.com/timescale/timescaledb/releases/tag/2.6.1 Signed-off-by: Maxim Kochetkov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/timescaledb/timescaledb.hash | 2 +- package/timescaledb/timescaledb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/timescaledb/timescaledb.hash b/package/timescaledb/timescaledb.hash index 556cdaf329..f186684339 100644 --- a/package/timescaledb/timescaledb.hash +++ b/package/timescaledb/timescaledb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 b1a20832189c22ce378f009f9a24ef1db61d7131f7f79bde74fdcde87bcf2d7c timescaledb-2.5.2.tar.gz +sha256 226af207105cc9e2d1744b303e475204a947047103f0e5697de4e8949e4dde75 timescaledb-2.6.1.tar.gz sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE diff --git a/package/timescaledb/timescaledb.mk b/package/timescaledb/timescaledb.mk index 1d8b2a69a7..16fba11e21 100644 --- a/package/timescaledb/timescaledb.mk +++ b/package/timescaledb/timescaledb.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIMESCALEDB_VERSION = 2.5.2 +TIMESCALEDB_VERSION = 2.6.1 TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) TIMESCALEDB_LICENSE = Apache-2.0 TIMESCALEDB_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/tor: add -lz to fix static builds Message-ID: <20220430184417.E213F84B55@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b03e8e693a62256289adb8db715622c3447d34ad branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In order to remove a patch which needs frequent updates on major version bumps and to get rid of autoreconf we just add -lz when creating a static build. This make sure that static linking occurs in the right order. Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../tor/0001-Fix-static-linking-with-OpenSSL.patch | 94 ---------------------- package/tor/tor.mk | 7 +- 2 files changed, 5 insertions(+), 96 deletions(-) diff --git a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch b/package/tor/0001-Fix-static-linking-with-OpenSSL.patch deleted file mode 100644 index 26ed6fe819..0000000000 --- a/package/tor/0001-Fix-static-linking-with-OpenSSL.patch +++ /dev/null @@ -1,94 +0,0 @@ -From ba6b8ee5b6dee19493a150c3715b0e202440d206 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Thu, 24 Jan 2019 18:19:51 +0100 -Subject: [PATCH] Fix static linking with OpenSSL - -Adjust link order of libz to solve bug with static linking -and remove host paths when looking for openssl. - -[Vincent: - - Adapt the patch to make it apply on the new version.] -[Bernd: rebased for tor-0.2.7.6, 0.2.8.10, 0.2.9.9, 0.3.1.7, 0.3.2.10, - 0.3.4.8, 0.3.5.7, 0.4.4.5, 0.4.5.6 & 0.4.6.7] -[Fabrice: fix detection of openssl functions in 0.3.5.8] -Signed-off-by: Vicente Olivert Riera -Signed-off-by: Bernd Kuhls -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 4 ++-- - src/test/include.am | 8 ++++---- - src/tools/include.am | 4 ++-- - 4 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 05e1392cf..580befa6b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1074,7 +1074,7 @@ AC_ARG_WITH(ssl-dir, - ]) - - AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1]) --TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], -+TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto -lz $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], - [#include - char *getenv(const char *);], - [struct ssl_cipher_st; -@@ -1104,7 +1104,7 @@ dnl Now check for particular openssl functions. - save_LIBS="$LIBS" - save_LDFLAGS="$LDFLAGS" - save_CPPFLAGS="$CPPFLAGS" --LIBS="$TOR_OPENSSL_LIBS $LIBS" -+LIBS="$TOR_OPENSSL_LIBS -lz $LIBS" - LDFLAGS="$TOR_LDFLAGS_openssl $LDFLAGS" - CPPFLAGS="$TOR_CPPFLAGS_openssl $CPPFLAGS" - -diff --git a/src/test/include.am b/src/test/include.am -index ecb768957..39a622e88 100644 ---- a/src/test/include.am -+++ b/src/test/include.am -@@ -399,8 +399,8 @@ src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_ntor_cl_LDADD = \ - libtor.a \ - $(rust_ldadd) \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ - @CURVE25519_LIBS@ @TOR_LZMA_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -@@ -409,8 +409,8 @@ - src_test_test_hs_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_hs_ntor_cl_LDADD = \ - libtor.a \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ - @CURVE25519_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_hs_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -diff --git a/src/tools/include.am b/src/tools/include.am -index f7aa7e0d1..4c4e8aa7a 100644 ---- a/src/tools/include.am -+++ b/src/tools/include.am -@@ -35,7 +35,7 @@ src_tools_tor_gencert_LDADD = \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ - $(rust_ldadd) \ -- @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@ - endif - -@@ -45,7 +45,7 @@ src_tools_tor_print_ed_signing_cert_LDADD = \ - src/trunnel/libor-trunnel.a \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ -- @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ - - if USE_NSS --- -2.20.1 diff --git a/package/tor/tor.mk b/package/tor/tor.mk index d16b3541eb..78a6de66dc 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -11,7 +11,6 @@ TOR_LICENSE_FILES = LICENSE TOR_CPE_ID_VENDOR = torproject TOR_SELINUX_MODULES = tor TOR_DEPENDENCIES = libevent openssl zlib -TOR_AUTORECONF = YES TOR_CONF_OPTS = \ --disable-gcc-hardening \ @@ -64,8 +63,12 @@ endif TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -TOR_CONF_ENV += LIBS=-latomic +TOR_LIBS += -latomic endif +ifeq ($(BR2_STATIC_LIBS),y) +TOR_LIBS += -lz +endif +TOR_CONF_ENV += LIBS="$(TOR_LIBS)" define TOR_INSTALL_CONF $(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \ From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/libosmium: bump version to 2.18.0 Message-ID: <20220430184418.1594784B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fbe825eb6a7401a0b71daa7bece6a3e348f7371e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release-notes: https://github.com/osmcode/libosmium/releases/tag/v2.18.0 Signed-off-by: Maxim Kochetkov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libosmium/libosmium.hash | 2 +- package/libosmium/libosmium.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libosmium/libosmium.hash b/package/libosmium/libosmium.hash index ccfd3b09b0..cb53a91c67 100644 --- a/package/libosmium/libosmium.hash +++ b/package/libosmium/libosmium.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 ff85d55ca83d77fc41f6b7ae77f3d8d4337d299cbb4cc60c00e1f9d90d94e71b libosmium-2.17.3.tar.gz +sha256 c05a3e95c9c811521ebad8637e90f43ab8fb053b310875acce741cc4c17d6f59 libosmium-2.18.0.tar.gz sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE diff --git a/package/libosmium/libosmium.mk b/package/libosmium/libosmium.mk index 6510af4e77..f7ced04de3 100644 --- a/package/libosmium/libosmium.mk +++ b/package/libosmium/libosmium.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOSMIUM_VERSION = 2.17.3 +LIBOSMIUM_VERSION = 2.18.0 LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION)) LIBOSMIUM_LICENSE = BSL-1.0 LIBOSMIUM_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:42:15 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:42:15 +0200 Subject: [Buildroot] [git commit] package/libcap: bump to version 2.64 Message-ID: <20220430184418.332AD84B54@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f33c1fc87f5923213c1629c9c3ca779db48c5878 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.e8k97s2ae0nc Signed-off-by: Raphael Pavlidis Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcap/libcap.hash | 2 +- package/libcap/libcap.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcap/libcap.hash b/package/libcap/libcap.hash index 2cdf92bbc1..7c48cd950b 100644 --- a/package/libcap/libcap.hash +++ b/package/libcap/libcap.hash @@ -1,5 +1,5 @@ # https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f libcap-2.63.tar.xz +sha256 c8465e1f0b068d5fc06199231135ccac7adb56d662b1de93589252e8cd071e13 libcap-2.64.tar.xz # Hash for license file: sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index ed689ce503..91e02638e2 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCAP_VERSION = 2.63 +LIBCAP_VERSION = 2.64 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause From arnout at mind.be Sat Apr 30 18:40:21 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:40:21 +0200 Subject: [Buildroot] [git commit] package/tor: bump version to 0.4.7.7 Message-ID: <20220430184417.EBEBE84B62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=854e18cc2579f21a53617667055bfe49192a3908 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://forum.torproject.net/t/stable-release-0-4-7-7/3108 Added sha256 hash provided by upstream. Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tor/tor.hash | 3 ++- package/tor/tor.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/tor/tor.hash b/package/tor/tor.hash index 16e01c80a9..8f37dd6219 100644 --- a/package/tor/tor.hash +++ b/package/tor/tor.hash @@ -1,3 +1,4 @@ +# From https://dist.torproject.org/tor-0.4.7.7.tar.gz.sha256sum +sha256 3e131158b52b9435d7e43d1c47ef288b96d005342cc44b8c950bb403851a5b44 tor-0.4.7.7.tar.gz # Locally computed -sha256 94ccd60e04e558f33be73032bc84ea241660f92f58cfb88789bda6893739e31c tor-0.4.6.10.tar.gz sha256 47b54ed17e8fdcab3c44729a1789a09b208f9a63a845a7e50def9df729eebad0 LICENSE diff --git a/package/tor/tor.mk b/package/tor/tor.mk index 78a6de66dc..3b470a80d8 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -4,7 +4,7 @@ # ################################################################################ -TOR_VERSION = 0.4.6.10 +TOR_VERSION = 0.4.7.7 TOR_SITE = https://dist.torproject.org TOR_LICENSE = BSD-3-Clause TOR_LICENSE_FILES = LICENSE From arnout at mind.be Sat Apr 30 18:57:01 2022 From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind)) Date: Sat, 30 Apr 2022 20:57:01 +0200 Subject: [Buildroot] [PATCH] package/tbb: always build Release Message-ID: <20220430185701.606071-1-arnout@mind.be> When tbb is built in Debug mode, it installs libtbb_debug.so instead of libtbb.so. This confuses downstream packages that want to link with it (e.g. sysdig). Always build in Release mode. This means that BR2_ENABLE_RUNTIME_DEBUG has no effect for this package, but that shouldn't be a bi issue. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tbb/tbb.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index afe756a85a..fc720fd2f5 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -13,6 +13,7 @@ TBB_CPE_ID_VENDOR = intel TBB_CPE_ID_PRODUCT = threading_building_blocks TBB_CONF_OPTS = \ + -DCMAKE_BUILD_TYPE=Release \ -DTBB_STRICT=OFF \ -DTBB_TEST=OFF -- 2.35.1 From fontaine.fabrice at gmail.com Sat Apr 30 19:29:20 2022 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 30 Apr 2022 21:29:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/oniguruma: bump to version 6.9.8 Message-ID: <20220430192920.2367644-1-fontaine.fabrice@gmail.com> https://github.com/kkos/oniguruma/releases/tag/v6.9.8 Signed-off-by: Fabrice Fontaine --- package/oniguruma/oniguruma.hash | 4 ++-- package/oniguruma/oniguruma.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/oniguruma/oniguruma.hash b/package/oniguruma/oniguruma.hash index 3a6112e832..89befe7dbf 100644 --- a/package/oniguruma/oniguruma.hash +++ b/package/oniguruma/oniguruma.hash @@ -1,4 +1,4 @@ -# From https://github.com/kkos/oniguruma/releases/download/v6.9.7/onig-6.9.7.1.tar.gz.sha256 -sha256 6444204b9c34e6eb6c0b23021ce89a0370dad2b2f5c00cd44c342753e0b204d9 onig-6.9.7.1.tar.gz +# From https://github.com/kkos/oniguruma/releases/download/v6.9.8/onig-6.9.8.tar.gz.sha256 +sha256 28cd62c1464623c7910565fb1ccaaa0104b2fe8b12bcd646e81f73b47535213e onig-6.9.8.tar.gz # Hash for license file sha256 70ba5469ea0bab6e18a32d7009068f996503168d27be57747e08da34337ff26f COPYING diff --git a/package/oniguruma/oniguruma.mk b/package/oniguruma/oniguruma.mk index 31c8d8e512..f5ac810c10 100644 --- a/package/oniguruma/oniguruma.mk +++ b/package/oniguruma/oniguruma.mk @@ -4,7 +4,7 @@ # ################################################################################ -ONIGURUMA_VERSION = 6.9.7.1 +ONIGURUMA_VERSION = 6.9.8 ONIGURUMA_SITE = \ https://github.com/kkos/oniguruma/releases/download/v$(ONIGURUMA_VERSION) ONIGURUMA_SOURCE = onig-$(ONIGURUMA_VERSION).tar.gz -- 2.35.1 From giulio.benetti at benettiengineering.com Sat Apr 30 21:42:24 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 30 Apr 2022 23:42:24 +0200 Subject: [Buildroot] Pantalla tactil - hycon-hy46xx.c In-Reply-To: References: Message-ID: <84cb64cf-fed9-fc33-a811-b6d60a8d49a3@benettiengineering.com> Hi Albert, I add Buildroot ML in Cc since it's in a good part Buildroot related and other people can help too, On 29/04/22 14:28, Albert Jose Silva Tovar wrote: > Good afternoon Julio, > > I am writing to you because of a contribution you made on this website: > https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/hycon-hy46xx.c > > > I would like to ask you a question! I have a builroot OS and I would > like to integrate this drivers to it, the sources that you use, in > principle where would I have to put them or what would be the process of > adapting the driver? I think you're using a Linux version without the hycon driver, so what you can do is to patch the kernel you're using by adding the patch to Buildroot for Linux. So you have to: 1. clone kernel git and checkout the version you're using or directly use your own kernel repository if any 2. clone mainline kernel 3. extract my patches from the cloned mainline kernel with: "git format-patch" command 4. copy the patches to your buildroot/board/company/linux like this: https://github.com/buildroot/buildroot/tree/master/board/seeed/stm32mp157c-odyssey/patches 5. use the BR2_GLOBAL_PATCH_DIR variable in your Buildroot defconfig, like this: https://github.com/buildroot/buildroot/blob/master/configs/stm32mp157c_odyssey_defconfig#L3 6. rebuild Buildroot That is the way I would do it. Which Linux version are you using? Feel free to ask me more help also regarding the driver itself if you encounter problems with back-porting my patches. Best regards -- Giulio Benetti Benetti Engineering sas From giulio.benetti at benettiengineering.com Sat Apr 30 23:36:29 2022 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 May 2022 01:36:29 +0200 Subject: [Buildroot] [PATCH] package/rockchip-mali: fix build failure due to missing URL Message-ID: <20220430233629.1376415-1-giulio.benetti@benettiengineering.com> Github rockchip-linux doesn't provide libmali repository anymore and the only up-to-date and maintained repository I've found is JeffyCN/mirrors branch libmali that provide the identical situtation we were at with previous repository, so let's switch to JeffyCN repository. This fixes a build failure while trying to install rockchip-mali. Signed-off-by: Giulio Benetti --- package/rockchip-mali/rockchip-mali.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/rockchip-mali/rockchip-mali.mk b/package/rockchip-mali/rockchip-mali.mk index 6200191a73..848682229d 100644 --- a/package/rockchip-mali/rockchip-mali.mk +++ b/package/rockchip-mali/rockchip-mali.mk @@ -5,7 +5,7 @@ ################################################################################ ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e60427 -ROCKCHIP_MALI_SITE = $(call github,rockchip-linux,libmali,$(ROCKCHIP_MALI_VERSION)) +ROCKCHIP_MALI_SITE = $(call github,JeffyCN,mirrors,$(ROCKCHIP_MALI_VERSION)) ROCKCHIP_MALI_LICENSE = Proprietary ROCKCHIP_MALI_LICENSE_FILES = END_USER_LICENCE_AGREEMENT.txt ROCKCHIP_MALI_INSTALL_STAGING = YES -- 2.25.1